@realsee/dnalogel 3.69.5-dev.2 → 3.69.5-dev.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 (466) hide show
  1. package/dist/index.cjs.js +27 -27
  2. package/dist/index.js +355 -358
  3. package/dist/index.umd.js +29 -29
  4. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  5. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  6. package/docs/classes/CSS3DRender.html +2 -2
  7. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  8. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  9. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  10. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  11. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  12. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  13. package/docs/classes/ModelRoomLabelController.html +2 -2
  14. package/docs/classes/MoveController.html +2 -2
  15. package/docs/classes/Object3DHelperController.html +2 -2
  16. package/docs/classes/PaintBrush.html +2 -2
  17. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  18. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  19. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  20. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  21. package/docs/classes/PanoTagPluginController.html +2 -2
  22. package/docs/classes/Sculpt.html +2 -2
  23. package/docs/classes/Util.BetterTween.html +2 -2
  24. package/docs/classes/Util.FiveDomEvents.html +2 -2
  25. package/docs/classes/Util.FivePuppet.html +2 -2
  26. package/docs/classes/Util.Interval.html +2 -2
  27. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  28. package/docs/classes/Util.LightTag.html +2 -2
  29. package/docs/classes/Util.LineSegments.html +2 -2
  30. package/docs/classes/Util.Magnifier.html +2 -2
  31. package/docs/classes/Util.Object3D.html +2 -2
  32. package/docs/classes/Util.PointDomHelper.html +2 -2
  33. package/docs/classes/Util.PointHelper.html +2 -2
  34. package/docs/classes/Util.PointSelector.html +2 -2
  35. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  36. package/docs/classes/Util.Rectangle.html +2 -2
  37. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  38. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  39. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  53. package/docs/classes/WalkController.html +2 -2
  54. package/docs/enums/CameraMovementEffect.html +2 -2
  55. package/docs/enums/ContentType.html +2 -2
  56. package/docs/enums/DIRECTION.html +2 -2
  57. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  58. package/docs/enums/DimensionType.html +2 -2
  59. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  60. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  61. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  62. package/docs/enums/PointType.html +2 -2
  63. package/docs/enums/Rotation.html +2 -2
  64. package/docs/functions/AreaMakerPlugin.html +1 -1
  65. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  66. package/docs/functions/CameraMovementPlugin.html +2 -2
  67. package/docs/functions/CruisePlugin.html +1 -1
  68. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  69. package/docs/functions/GuideLinePlugin.html +1 -1
  70. package/docs/functions/ItemLabelPlugin.html +1 -1
  71. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  72. package/docs/functions/MeasurePlugin.html +1 -1
  73. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  74. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  75. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  76. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  77. package/docs/functions/ModelMakerPlugin.html +1 -1
  78. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  79. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  80. package/docs/functions/ModelViewPlugin.html +2 -2
  81. package/docs/functions/MovePlugin.html +1 -1
  82. package/docs/functions/Object3DHelperPlugin.html +1 -1
  83. package/docs/functions/PanoCompassPlugin.html +1 -1
  84. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  85. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  86. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  87. package/docs/functions/PanoMeasurePlugin.html +1 -1
  88. package/docs/functions/PanoRulerPlugin.html +2 -2
  89. package/docs/functions/PanoRulerProPlugin.html +2 -2
  90. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  91. package/docs/functions/PanoTagPlugin.html +1 -1
  92. package/docs/functions/PanoVideoPlugin.html +2 -2
  93. package/docs/functions/PipelinePlugin.html +1 -1
  94. package/docs/functions/SculptPlugin.html +2 -2
  95. package/docs/functions/SculptPluginForFive.html +2 -2
  96. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  97. package/docs/functions/Util.awaitNextFrame.html +1 -1
  98. package/docs/functions/Util.blink.html +2 -2
  99. package/docs/functions/Util.bounding.html +1 -1
  100. package/docs/functions/Util.boundingBox.html +1 -1
  101. package/docs/functions/Util.boundingSphere.html +1 -1
  102. package/docs/functions/Util.boxVertex.html +2 -2
  103. package/docs/functions/Util.boxVertexes.html +1 -1
  104. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  105. package/docs/functions/Util.convexHull.html +2 -2
  106. package/docs/functions/Util.equal.html +2 -2
  107. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  108. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  109. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  110. package/docs/functions/Util.getFrameTime.html +2 -2
  111. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  112. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  113. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  114. package/docs/functions/Util.inside.html +1 -1
  115. package/docs/functions/Util.isModelLike.html +1 -1
  116. package/docs/functions/Util.isNil.html +2 -2
  117. package/docs/functions/Util.isPanoramaLike.html +1 -1
  118. package/docs/functions/Util.lookObject.html +2 -2
  119. package/docs/functions/Util.lookPoint.html +2 -2
  120. package/docs/functions/Util.nextFrame.html +1 -1
  121. package/docs/functions/Util.notNil.html +2 -2
  122. package/docs/functions/Util.reblink.html +2 -2
  123. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  124. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  125. package/docs/functions/Util.sculpt.createBox.html +1 -1
  126. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  127. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  128. package/docs/functions/Util.sculpt.createLine.html +2 -2
  129. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  130. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  131. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  132. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  133. package/docs/functions/Util.tag.html +1 -1
  134. package/docs/functions/Util.tweenProgress.html +1 -1
  135. package/docs/functions/Util.uuid.html +2 -2
  136. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  137. package/docs/functions/Util.worldBounding.html +1 -1
  138. package/docs/functions/Util.worldBoundingBox.html +1 -1
  139. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  140. package/docs/functions/createPolyline.html +2 -2
  141. package/docs/functions/pluginFlag.html +1 -1
  142. package/docs/hierarchy.html +1 -1
  143. package/docs/index.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  154. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  155. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  156. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  157. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  168. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  169. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  170. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  171. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  172. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  173. package/docs/interfaces/FloorplanBounding.html +2 -2
  174. package/docs/interfaces/FloorplanData.html +2 -2
  175. package/docs/interfaces/FloorplanEntrance.html +2 -2
  176. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  177. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  178. package/docs/interfaces/FloorplanFloorData.html +2 -2
  179. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  180. package/docs/interfaces/FloorplanObserver.html +2 -2
  181. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  182. package/docs/interfaces/FloorplanPosition.html +2 -2
  183. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  184. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  185. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  186. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  187. package/docs/interfaces/FloorplanServerData.html +2 -2
  188. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  189. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  190. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  191. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  192. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  193. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  194. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  196. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  198. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  211. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  214. package/docs/interfaces/HelperOffset.html +2 -2
  215. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  216. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  217. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  218. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  219. package/docs/interfaces/MinMax.html +2 -2
  220. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  221. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  222. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  223. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  224. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  225. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  226. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  227. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  238. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  239. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  240. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  241. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  242. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  243. package/docs/interfaces/Object3DHelperState.html +2 -2
  244. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  245. package/docs/interfaces/PaintBrushAction.html +2 -2
  246. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  247. package/docs/interfaces/PaintBrushState.html +2 -2
  248. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  249. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  250. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  251. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  252. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  253. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  254. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  255. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  256. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  257. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  258. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  259. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  260. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  261. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  263. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  264. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  265. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  266. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  272. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  274. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  275. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  278. package/docs/interfaces/PluginEventMap.html +2 -2
  279. package/docs/interfaces/Point.html +2 -2
  280. package/docs/interfaces/Room.html +2 -2
  281. package/docs/interfaces/RoomInfo.html +2 -2
  282. package/docs/interfaces/RoomLabel.html +2 -2
  283. package/docs/interfaces/RoomRules.html +1 -1
  284. package/docs/interfaces/Rooms.html +1 -1
  285. package/docs/interfaces/Scissor.html +2 -2
  286. package/docs/interfaces/SculptConfig.html +2 -2
  287. package/docs/interfaces/State.html +2 -2
  288. package/docs/interfaces/TagCacheInterface.html +2 -2
  289. package/docs/interfaces/TagConfig.html +2 -2
  290. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  291. package/docs/interfaces/TagIconUrl.html +2 -2
  292. package/docs/interfaces/TagObjectGroup.html +2 -2
  293. package/docs/interfaces/TagState.html +2 -2
  294. package/docs/interfaces/TagStyle.html +2 -2
  295. package/docs/interfaces/Tags.html +2 -2
  296. package/docs/interfaces/TemporaryState.html +2 -2
  297. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  298. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  299. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  300. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  301. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  302. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  303. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  304. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  305. package/docs/interfaces/Util.PointIntersection.html +2 -2
  306. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  307. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  308. package/docs/modules/AreaMakerPluginType.html +2 -2
  309. package/docs/modules/CruisePluginTypes.html +2 -2
  310. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  311. package/docs/modules/GuideLineItem.html +2 -2
  312. package/docs/modules/GuideLineModeItem.html +2 -2
  313. package/docs/modules/GuideLinePluginType.html +2 -2
  314. package/docs/modules/ModelMakerPluginType.html +2 -2
  315. package/docs/modules/PanoVideoPluginType.html +2 -2
  316. package/docs/modules/SculptData.html +2 -2
  317. package/docs/modules/SculptType.html +2 -2
  318. package/docs/modules/Util.html +2 -2
  319. package/docs/modules/Util.sculpt.html +2 -2
  320. package/docs/modules.html +2 -2
  321. package/docs/types/AddObject3DHelperConfig.html +2 -2
  322. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  323. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  324. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  325. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  326. package/docs/types/ArrayPosition.html +1 -1
  327. package/docs/types/AudioAppearance.html +1 -1
  328. package/docs/types/CSS3DRenderExportType.html +1 -1
  329. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  330. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  331. package/docs/types/ClassFunctionParameters.html +1 -1
  332. package/docs/types/Color.html +1 -1
  333. package/docs/types/ContentTypeConfigKey.html +1 -1
  334. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  335. package/docs/types/ContentTypeMap.html +1 -1
  336. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  337. package/docs/types/Create3DElementReturnType.html +1 -1
  338. package/docs/types/CruisePluginExportType.html +1 -1
  339. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  340. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  341. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  342. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  343. package/docs/types/DeprecatedTagProperty.html +2 -2
  344. package/docs/types/Direction-1.html +1 -1
  345. package/docs/types/Direction4.html +1 -1
  346. package/docs/types/ElementRenderer.html +2 -2
  347. package/docs/types/FloorplanRuleLabels.html +2 -2
  348. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  349. package/docs/types/GuideLinePluginExportType.html +1 -1
  350. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  351. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  352. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  353. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  354. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  355. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  356. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  357. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  358. package/docs/types/HelperEventMap.html +1 -1
  359. package/docs/types/InternalHelperEventMap.html +1 -1
  360. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  361. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  362. package/docs/types/MeasureEndReason.html +1 -1
  363. package/docs/types/MeasurePluginConfig.html +2 -2
  364. package/docs/types/MediaData.html +2 -2
  365. package/docs/types/MediaStore.html +1 -1
  366. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  367. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  368. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  369. package/docs/types/ModelId.html +1 -1
  370. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  371. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  372. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  373. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  374. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  375. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  376. package/docs/types/MoveArgs.html +2 -2
  377. package/docs/types/MoveOpts.html +2 -2
  378. package/docs/types/Object3DHelperEventMap.html +1 -1
  379. package/docs/types/ObjectFit.html +1 -1
  380. package/docs/types/PaintBrushEventMap.html +1 -1
  381. package/docs/types/PanoCompassPluginData.html +1 -1
  382. package/docs/types/PanoCompassPluginExportType.html +1 -1
  383. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  384. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  385. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  386. package/docs/types/PanoIndex.html +1 -1
  387. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  388. package/docs/types/PanoMeasureReturnType.html +1 -1
  389. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  390. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  391. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  392. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  393. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  394. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  395. package/docs/types/PipelinePluginParameterType.html +1 -1
  396. package/docs/types/PipelinePluginReturnType.html +1 -1
  397. package/docs/types/PlaneTag.html +2 -2
  398. package/docs/types/Point2DTag.html +2 -2
  399. package/docs/types/Point3DTag.html +2 -2
  400. package/docs/types/PointTagInstance.html +1 -1
  401. package/docs/types/Position.html +1 -1
  402. package/docs/types/PositionFrom.html +1 -1
  403. package/docs/types/RotateArgs.html +2 -2
  404. package/docs/types/RotateOpts.html +2 -2
  405. package/docs/types/RuleLabelsKey.html +1 -1
  406. package/docs/types/RuleLabelsValue.html +1 -1
  407. package/docs/types/ScaleCallback.html +1 -1
  408. package/docs/types/ScalePosition.html +2 -2
  409. package/docs/types/SculptData.BoxData.html +1 -1
  410. package/docs/types/SculptData.CircleData.html +1 -1
  411. package/docs/types/SculptData.CylinderData.html +1 -1
  412. package/docs/types/SculptData.PointData.html +1 -1
  413. package/docs/types/SculptData.PolygonData.html +1 -1
  414. package/docs/types/SculptData.PolylineData.html +1 -1
  415. package/docs/types/SculptData.PrismData.html +1 -1
  416. package/docs/types/SculptData.RectangleData.html +1 -1
  417. package/docs/types/SculptType.Theme.html +2 -2
  418. package/docs/types/StickType.html +1 -1
  419. package/docs/types/Tag.html +2 -2
  420. package/docs/types/Tag2D.html +2 -2
  421. package/docs/types/Tag3D.html +2 -2
  422. package/docs/types/TagClickParams.html +1 -1
  423. package/docs/types/TagConfigByKey.html +1 -1
  424. package/docs/types/TagContentType.html +1 -1
  425. package/docs/types/TagContentTypeMapping.html +1 -1
  426. package/docs/types/TagDimensionType.html +1 -1
  427. package/docs/types/TagElement.html +2 -2
  428. package/docs/types/TagEvents.html +1 -1
  429. package/docs/types/TagGLTFObject.html +1 -1
  430. package/docs/types/TagHooks.html +1 -1
  431. package/docs/types/TagId.html +1 -1
  432. package/docs/types/TagInstance.html +1 -1
  433. package/docs/types/TagPlacement.html +2 -2
  434. package/docs/types/TagPointType.html +2 -2
  435. package/docs/types/TagRendererMap.html +1 -1
  436. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  437. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  438. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  439. package/docs/types/Util.AdherePoint.html +2 -2
  440. package/docs/types/Util.PointSelectorConfig.html +1 -1
  441. package/docs/types/WorkCode.html +1 -1
  442. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  443. package/docs/variables/PLUGIN.html +1 -1
  444. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  445. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  446. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  447. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  448. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  449. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  450. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  451. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  452. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  453. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  454. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  455. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  456. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  457. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  458. package/docs/variables/Util.animeMap.html +1 -1
  459. package/docs/variables/defaultGlobalConfig.html +1 -1
  460. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  461. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  462. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  463. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +55 -58
  464. package/libs/base/BasePlugin.js +1 -1
  465. package/libs/shared-utils/logger.js +1 -1
  466. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var jv = Object.defineProperty, Rv = Object.defineProperties;
2
2
  var _v = Object.getOwnPropertyDescriptors;
3
- var aa = Object.getOwnPropertySymbols;
3
+ var ra = Object.getOwnPropertySymbols;
4
4
  var Hu = Object.prototype.hasOwnProperty, Fu = Object.prototype.propertyIsEnumerable;
5
5
  var Fn = Math.pow, Gl = (n, t, e) => t in n ? jv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, B = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  Hu.call(t, e) && Gl(n, e, t[e]);
8
- if (aa)
9
- for (var e of aa(t))
8
+ if (ra)
9
+ for (var e of ra(t))
10
10
  Fu.call(t, e) && Gl(n, e, t[e]);
11
11
  return n;
12
12
  }, ce = (n, t) => Rv(n, _v(t));
@@ -14,8 +14,8 @@ var Nn = (n, t) => {
14
14
  var e = {};
15
15
  for (var i in n)
16
16
  Hu.call(n, i) && t.indexOf(i) < 0 && (e[i] = n[i]);
17
- if (n != null && aa)
18
- for (var i of aa(n))
17
+ if (n != null && ra)
18
+ for (var i of ra(n))
19
19
  t.indexOf(i) < 0 && Fu.call(n, i) && (e[i] = n[i]);
20
20
  return e;
21
21
  };
@@ -38,12 +38,12 @@ var te = (n, t, e) => new Promise((i, s) => {
38
38
  });
39
39
  import { InternalWebGLRenderer as Bv, Camera as Vv, loadAt3d as Hv, Five as Vt, Subscribe as Vo, AnimationFrameLoop as Fv } from "@realsee/five";
40
40
  import * as P from "three";
41
- import { Vector3 as Ae, Vector2 as Ht, Object3D as Ao, Matrix4 as nt, LineSegments as Nv, Group as vn, Raycaster as Ho, MeshBasicMaterial as Er, Vector4 as Is, Curve as Sm, Loader as Nu, LoaderUtils as Wl, FileLoader as Gv, TextureLoader as mh, RepeatWrapping as Gu, ClampToEdgeWrapping as Wu, Texture as Uu, MeshPhongMaterial as Ul, MeshLambertMaterial as Wv, Color as Xt, sRGBEncoding as dr, EquirectangularReflectionMapping as Uv, Bone as Qu, PropertyBinding as la, OrthographicCamera as Qv, PerspectiveCamera as Xv, PointLight as Xu, MathUtils as Yi, SpotLight as Yv, DirectionalLight as Zv, SkinnedMesh as qv, Mesh as bo, LineBasicMaterial as Jv, Line as Kv, Skeleton as $v, AmbientLight as eA, BufferGeometry as ca, Float32BufferAttribute as io, Uint16BufferAttribute as tA, Matrix3 as iA, BufferAttribute as nA, AnimationClip as sA, Quaternion as Es, Euler as Xn, VectorKeyframeTrack as oA, QuaternionKeyframeTrack as rA, NumberKeyframeTrack as aA, CanvasTexture as lA, AnimationMixer as cA, PlaneGeometry as hA, LinearFilter as Tc, CurvePath as uA, LineCurve3 as dA, TubeGeometry as fA, ShaderMaterial as Dm, SphereGeometry as pA, DoubleSide as Tm, RingGeometry as gA, VideoTexture as mA, SphereBufferGeometry as vA, Box3 as AA } from "three";
41
+ import { Vector3 as Ae, Vector2 as Ht, Object3D as Ao, Matrix4 as nt, LineSegments as Nv, Group as vn, Raycaster as Ho, MeshBasicMaterial as Ir, Vector4 as Is, Curve as Sm, Loader as Nu, LoaderUtils as Wl, FileLoader as Gv, TextureLoader as mh, RepeatWrapping as Gu, ClampToEdgeWrapping as Wu, Texture as Uu, MeshPhongMaterial as Ul, MeshLambertMaterial as Wv, Color as Xt, sRGBEncoding as dr, EquirectangularReflectionMapping as Uv, Bone as Qu, PropertyBinding as aa, OrthographicCamera as Qv, PerspectiveCamera as Xv, PointLight as Xu, MathUtils as Yi, SpotLight as Yv, DirectionalLight as Zv, SkinnedMesh as qv, Mesh as bo, LineBasicMaterial as Jv, Line as Kv, Skeleton as $v, AmbientLight as eA, BufferGeometry as la, Float32BufferAttribute as io, Uint16BufferAttribute as tA, Matrix3 as iA, BufferAttribute as nA, AnimationClip as sA, Quaternion as Es, Euler as Xn, VectorKeyframeTrack as oA, QuaternionKeyframeTrack as rA, NumberKeyframeTrack as aA, CanvasTexture as lA, AnimationMixer as cA, PlaneGeometry as hA, LinearFilter as Tc, CurvePath as uA, LineCurve3 as dA, TubeGeometry as fA, ShaderMaterial as Dm, SphereGeometry as pA, DoubleSide as Tm, RingGeometry as gA, VideoTexture as mA, SphereBufferGeometry as vA, Box3 as AA } from "three";
42
42
  import { LineGeometry as bA, LineMaterial as yA, THREE_Line2 as wA, Line as PA } from "@realsee/five/line";
43
43
  import { GLTFLoader as CA } from "@realsee/five/gltf-loader";
44
44
  function IA() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.69.5-dev.2",
46
+ "%c %c@realsee/dnalogel %cv3.69.5-dev.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 Yu = () => Promise.resolve(), Zu = {
71
71
  function MA(n = Yu) {
72
72
  Zu.__queue = Zu.__queue.then(n).catch(Yu);
73
73
  }
74
- function ha(n, t, e) {
74
+ function ca(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 Ql(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 ua(n) {
82
+ function ha(n) {
83
83
  if (n.length < 2)
84
84
  return {};
85
85
  const t = n.slice(-2), e = t[0], i = {
@@ -96,8 +96,8 @@ function kA(n, t, e = Lm) {
96
96
  });
97
97
  }
98
98
  const xA = window, qu = window.requestAnimationFrame || xA.webkitRequestAnimationFrame || ((n) => setTimeout(n, 16));
99
- function Sa(n, t = 0) {
100
- t <= 0 ? qu(n) : qu(() => Sa(n, t - 1));
99
+ function xa(n, t = 0) {
100
+ t <= 0 ? qu(n) : qu(() => xa(n, t - 1));
101
101
  }
102
102
  var Vi = Object.freeze({
103
103
  Linear: Object.freeze({
@@ -513,12 +513,12 @@ function jA(n, t, e, i = Vi.Linear.None) {
513
513
  return requestAnimationFrame(o), s;
514
514
  }
515
515
  var Un = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(Un || {});
516
- const vr = Symbol("$$PAINT_BRUSH_EVENT$$");
517
- function da(n) {
518
- return n[vr] || (n[vr] = {}), n[vr];
516
+ const mr = Symbol("$$PAINT_BRUSH_EVENT$$");
517
+ function ua(n) {
518
+ return n[mr] || (n[mr] = {}), n[mr];
519
519
  }
520
520
  function RA(n) {
521
- n[vr] || delete n[vr];
521
+ n[mr] || delete n[mr];
522
522
  }
523
523
  let _A = class {
524
524
  /**
@@ -526,7 +526,7 @@ let _A = class {
526
526
  * @param name 事件类型
527
527
  */
528
528
  hasListener(t) {
529
- const e = da(this);
529
+ const e = ua(this);
530
530
  return e && e[t] && e[t].length > 0;
531
531
  }
532
532
  /**
@@ -539,7 +539,7 @@ let _A = class {
539
539
  * @template C 回调函数函数上下文
540
540
  */
541
541
  on(t, e, i) {
542
- const s = da(this);
542
+ const s = ua(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 _A = class {
567
567
  RA(this);
568
568
  return;
569
569
  }
570
- const i = da(this);
570
+ const i = ua(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 _A = class {
586
586
  */
587
587
  emit(t, ...e) {
588
588
  let i = !1;
589
- const o = da(this)[t] || [];
589
+ const o = ua(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 VA = class extends _A {
832
832
  e.onmousedown = (u) => {
833
833
  u.preventDefault(), c = Date.now();
834
834
  const f = u.clientX, m = u.clientY;
835
- r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a = ha({ x: f, y: m }, this.clientWidth, this.clientHeight), l = [];
835
+ r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a = ca({ x: f, y: m }, this.clientWidth, this.clientHeight), l = [];
836
836
  }, e.onmousemove = (u) => {
837
837
  if (u.preventDefault(), !o)
838
838
  return;
839
839
  const f = Number(u.clientX), m = Number(u.clientY);
840
- if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(ha({ x: f, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
840
+ if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(ca({ x: f, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
841
841
  return;
842
- const { control: p, end: g } = ua(r);
842
+ const { control: p, end: g } = ha(r);
843
843
  !p || !g || (h(o, p, g), o = g);
844
844
  }, e.onmouseup = (u) => {
845
845
  if (u.preventDefault(), o = null, r.length < 3)
@@ -853,7 +853,7 @@ let VA = class extends _A {
853
853
  duration: f < 1280 ? f : f < 2e3 ? 1280 : 0
854
854
  // 单次笔迹时长超过2000ms不加动画
855
855
  };
856
- this.data[this.uuid].push(m), Sa(() => {
856
+ this.data[this.uuid].push(m), xa(() => {
857
857
  this.emitStateChange({
858
858
  type: Un.Drawline,
859
859
  color: this.color,
@@ -865,14 +865,14 @@ let VA = class extends _A {
865
865
  }, e.ontouchstart = (u) => {
866
866
  u.preventDefault(), c = Date.now();
867
867
  const f = u.touches[0].clientX, m = u.touches[0].clientY;
868
- r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a = ha({ x: f, y: m }, this.clientWidth, this.clientHeight), l = [];
868
+ r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a = ca({ x: f, y: m }, this.clientWidth, this.clientHeight), l = [];
869
869
  }, e.ontouchmove = (u) => {
870
870
  if (u.preventDefault(), !o)
871
871
  return;
872
872
  const f = Number(u.touches[0].clientX), m = Number(u.touches[0].clientY);
873
- if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(ha({ x: f, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
873
+ if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(ca({ x: f, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
874
874
  return;
875
- const { control: p, end: g } = ua(r);
875
+ const { control: p, end: g } = ha(r);
876
876
  !p || !g || (h(o, p, g), o = g);
877
877
  }, e.ontouchend = e.ontouchcancel = (u) => {
878
878
  if (u.preventDefault(), o = null, r.length < 3)
@@ -886,7 +886,7 @@ let VA = class extends _A {
886
886
  duration: f < 1280 ? f : f < 2e3 ? 1280 : 0
887
887
  // 单次笔迹时长超过2000ms不加动画
888
888
  };
889
- this.data[this.uuid].push(m), Sa(() => {
889
+ this.data[this.uuid].push(m), xa(() => {
890
890
  this.emitStateChange({
891
891
  type: Un.Drawline,
892
892
  color: this.color,
@@ -970,7 +970,7 @@ let VA = class extends _A {
970
970
  if (!p.find((E) => E === A)) {
971
971
  if (p.push(A), m.push(Ql(l[A], g.clientWidth, g.clientHeight)), m.length < 3)
972
972
  return;
973
- const { control: E, end: k } = ua(m);
973
+ const { control: E, end: k } = ha(m);
974
974
  if (!E || !k)
975
975
  return;
976
976
  a.quadraticCurveTo(E.x, E.y, k.x, k.y), a.stroke();
@@ -982,7 +982,7 @@ let VA = class extends _A {
982
982
  for (let p = 0; p < l.length; p++) {
983
983
  if (m.push(Ql(l[p], this.clientWidth, this.clientHeight)), m.length < 3)
984
984
  continue;
985
- const { control: g, end: v } = ua(m);
985
+ const { control: g, end: v } = ha(m);
986
986
  !g || !v || a.quadraticCurveTo(g.x, g.y, v.x, v.y);
987
987
  }
988
988
  a.stroke(), m = [], o && o(), r();
@@ -999,7 +999,7 @@ let VA = class extends _A {
999
999
  s && s.clearRect(0, 0, this.canvas[e].width, this.canvas[e].height), this.data[e].forEach((r) => this.handleDrawLine(e, r, { withUndo: !0 }));
1000
1000
  };
1001
1001
  if (this.tween && this.tweening) {
1002
- this.tween.stop(), Sa(i, 60);
1002
+ this.tween.stop(), xa(i, 60);
1003
1003
  return;
1004
1004
  }
1005
1005
  i();
@@ -1062,12 +1062,12 @@ class lS {
1062
1062
  function HA(n) {
1063
1063
  return typeof Symbol == "undefined" ? `$Symbol<${n}>$` : Symbol(n);
1064
1064
  }
1065
- const Ar = HA("$$EVENT$$");
1066
- function fa(n) {
1067
- return n[Ar] || (n[Ar] = {}), n[Ar];
1065
+ const vr = HA("$$EVENT$$");
1066
+ function da(n) {
1067
+ return n[vr] || (n[vr] = {}), n[vr];
1068
1068
  }
1069
1069
  function FA(n) {
1070
- n[Ar] && delete n[Ar];
1070
+ n[vr] && delete n[vr];
1071
1071
  }
1072
1072
  class Ct {
1073
1073
  /**
@@ -1075,7 +1075,7 @@ class Ct {
1075
1075
  * @param name - 事件类型
1076
1076
  */
1077
1077
  hasListener(t) {
1078
- const e = fa(this);
1078
+ const e = da(this);
1079
1079
  return !!(e != null && e[t] && e[t].length > 0);
1080
1080
  }
1081
1081
  /**
@@ -1088,7 +1088,7 @@ class Ct {
1088
1088
  * @template C - 回调函数函数上下文
1089
1089
  */
1090
1090
  on(t, e, i) {
1091
- const s = fa(this);
1091
+ const s = da(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 Ct {
1116
1116
  FA(this);
1117
1117
  return;
1118
1118
  }
1119
- const i = fa(this);
1119
+ const i = da(this);
1120
1120
  if (i[t] || (i[t] = []), e === void 0) {
1121
1121
  i[t].length = 0;
1122
1122
  return;
@@ -1135,7 +1135,7 @@ class Ct {
1135
1135
  */
1136
1136
  emit(t, ...e) {
1137
1137
  let i = !1;
1138
- const o = fa(this)[t] || [];
1138
+ const o = da(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);
@@ -1331,7 +1331,7 @@ class dl extends jm {
1331
1331
  return this.five.moveToPano(s, i);
1332
1332
  }
1333
1333
  }
1334
- class Mr extends P.Raycaster {
1334
+ class Er extends P.Raycaster {
1335
1335
  intersectObject(t, e = !0, i = []) {
1336
1336
  return Oc(t, this, i, e), i.sort($u), i;
1337
1337
  }
@@ -1360,7 +1360,7 @@ function Ah(n, t, e, i) {
1360
1360
  o[r].type !== "Line2" && Ah(o[r], t, e, !0);
1361
1361
  }
1362
1362
  }
1363
- const An = new Mr();
1363
+ const An = new Er();
1364
1364
  An.params.Points.threshold = 0.02;
1365
1365
  function Ba(n, t) {
1366
1366
  if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
@@ -1396,7 +1396,7 @@ function bh(n, t) {
1396
1396
  };
1397
1397
  }
1398
1398
  const YA = new Ht();
1399
- class Gr {
1399
+ class Nr {
1400
1400
  constructor(t, e, i) {
1401
1401
  /**
1402
1402
  * @description 单个标签 dom
@@ -1604,7 +1604,7 @@ class Gr {
1604
1604
  }
1605
1605
  }
1606
1606
  function Rm(...n) {
1607
- return new Gr(...n);
1607
+ return new Nr(...n);
1608
1608
  }
1609
1609
  function Jn(n) {
1610
1610
  return n.toLowerCase().includes("panorama");
@@ -1612,12 +1612,12 @@ function Jn(n) {
1612
1612
  function Ai(n) {
1613
1613
  return !Jn(n);
1614
1614
  }
1615
- var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, kr = {}, ZA = {
1615
+ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Mr = {}, ZA = {
1616
1616
  get exports() {
1617
- return kr;
1617
+ return Mr;
1618
1618
  },
1619
1619
  set exports(n) {
1620
- kr = n;
1620
+ Mr = n;
1621
1621
  }
1622
1622
  };
1623
1623
  /*! Hammer.JS - v2.0.7 - 2016-04-22
@@ -2845,7 +2845,7 @@ class yh {
2845
2845
  const i = this.canvas.getContext("2d");
2846
2846
  if (!i)
2847
2847
  throw new Error("CANNOT CREATE CONTEXT2D");
2848
- this.context = i, this.config.dragEnabled && (this.hammer = new kr(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
2848
+ this.context = i, this.config.dragEnabled && (this.hammer = new Mr(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
2849
2849
  }
2850
2850
  enable() {
2851
2851
  if (!this.state.enabled)
@@ -2997,7 +2997,7 @@ class yh {
2997
2997
  return { translateX: c, translateY: h };
2998
2998
  }
2999
2999
  }
3000
- function pa(n, t, e) {
3000
+ function fa(n, t, e) {
3001
3001
  if (!n || t < 0 || e < 0 || t >= n.length || e >= n.length) {
3002
3002
  console.warn("exchange: Index out of bounds", {
3003
3003
  arrayLength: n == null ? void 0 : n.length,
@@ -3029,7 +3029,7 @@ function qA(n, t, e) {
3029
3029
  const r = e - (o - 1);
3030
3030
  for (let a = 1; a <= t; a++) {
3031
3031
  const l = (o - 1) * t + a - 1, c = (r - 1) * t + a - 1, h = l * 4, u = c * 4;
3032
- h + 3 < n.length && u + 3 < n.length && (pa(n, h + 0, u + 0), pa(n, h + 1, u + 1), pa(n, h + 2, u + 2), pa(n, h + 3, u + 3));
3032
+ h + 3 < n.length && u + 3 < n.length && (fa(n, h + 0, u + 0), fa(n, h + 1, u + 1), fa(n, h + 2, u + 2), fa(n, h + 3, u + 3));
3033
3033
  }
3034
3034
  }
3035
3035
  }
@@ -3243,7 +3243,7 @@ function Zl(n) {
3243
3243
  return n;
3244
3244
  }
3245
3245
  let or = [null, null, () => null];
3246
- function Wr(n) {
3246
+ function Gr(n) {
3247
3247
  var s;
3248
3248
  if (or) {
3249
3249
  if (or[0] === n)
@@ -3374,7 +3374,7 @@ function Ch(n, t) {
3374
3374
  function In(n) {
3375
3375
  return arguments.length === 0 ? [] : Array.isArray(n) ? n : [n];
3376
3376
  }
3377
- function xr(n, t) {
3377
+ function kr(n, t) {
3378
3378
  const i = In(t).map((s) => n.localToWorld(s.clone()));
3379
3379
  return Array.isArray(t) ? i : i[0];
3380
3380
  }
@@ -3382,7 +3382,7 @@ function sb(n, t) {
3382
3382
  const i = In(t).map((s) => n.worldToLocal(s.clone()));
3383
3383
  return Array.isArray(t) ? i : i[0];
3384
3384
  }
3385
- class Da extends bA {
3385
+ class Sa extends bA {
3386
3386
  constructor(...t) {
3387
3387
  super(...t), this.setAttribute("instanceStart", new P.BufferAttribute(new Float32Array(), 3)), this.setAttribute("instanceEnd", new P.BufferAttribute(new Float32Array(), 3));
3388
3388
  }
@@ -3861,7 +3861,7 @@ class wi extends fi {
3861
3861
  d(this, "onPanoArrived", () => {
3862
3862
  setTimeout(() => this.updateDomItems({ force: !0 }), 100);
3863
3863
  });
3864
- this.paramsStyle = B({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new Da();
3864
+ this.paramsStyle = B({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new Sa();
3865
3865
  const i = {
3866
3866
  color: new P.Color((r = e == null ? void 0 : e.lineColor) != null ? r : tb),
3867
3867
  linewidth: (a = e == null ? void 0 : e.lineWidth) != null ? a : ib,
@@ -3930,7 +3930,7 @@ class wi extends fi {
3930
3930
  updateMatrixWorld(e) {
3931
3931
  var i;
3932
3932
  if (super.updateMatrixWorld(e), this.points) {
3933
- const s = (i = xr(this, this.points)) == null ? void 0 : i.map((o) => o.toArray().join(",")).join(",");
3933
+ const s = (i = kr(this, this.points)) == null ? void 0 : i.map((o) => o.toArray().join(",")).join(",");
3934
3934
  s !== this.lastRenderDomItem && (this.updateDomItems(), this.lastRenderDomItem = s);
3935
3935
  }
3936
3936
  }
@@ -3939,14 +3939,14 @@ class wi extends fi {
3939
3939
  return;
3940
3940
  const i = e.map(Ue).filter(Fe);
3941
3941
  if (this.points = i, i.length < 2) {
3942
- const o = new Da();
3942
+ const o = new Sa();
3943
3943
  this.line1.geometry = o, this.line2.geometry = o, this.updateDomItems();
3944
3944
  return;
3945
3945
  }
3946
3946
  const s = i.flatMap((o) => [o.x, o.y, o.z]);
3947
3947
  if (s.length > 2) {
3948
3948
  this.line1.geometry.dispose();
3949
- const o = new Da();
3949
+ const o = new Sa();
3950
3950
  this.line1.geometry = o, this.line2.geometry = o;
3951
3951
  }
3952
3952
  this.line1.geometry.setPositions(s), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
@@ -3990,13 +3990,13 @@ class wi extends fi {
3990
3990
  return i();
3991
3991
  if (!this.five)
3992
3992
  return console.error("Five not found");
3993
- const s = this.points.map((o, r) => r !== 0 ? [this.points[r - 1], o] : null).filter(Fe).map((o) => xr(this, o));
3993
+ const s = this.points.map((o, r) => r !== 0 ? [this.points[r - 1], o] : null).filter(Fe).map((o) => kr(this, o));
3994
3994
  s.forEach(([o, r], a) => {
3995
3995
  var h;
3996
3996
  const l = si(o, r);
3997
3997
  this.doms[a] = (h = this.doms[a]) != null ? h : (() => {
3998
3998
  var m;
3999
- const u = new Gr(this.five), f = (m = this.paramsStyle.occlusionVisibility) != null ? m : !0;
3999
+ const u = new Nr(this.five), f = (m = this.paramsStyle.occlusionVisibility) != null ? m : !0;
4000
4000
  return u.intersectCheck = !f, u.simulate3D = !0, u;
4001
4001
  })(), this.doms[a].setPosition(l, [o, r]);
4002
4002
  const c = (u, f) => {
@@ -4167,7 +4167,7 @@ class Ab extends P.Object3D {
4167
4167
  d(this, "ballMesh");
4168
4168
  d(this, "cssBallMesh");
4169
4169
  const i = 0.18;
4170
- this.planeMesh = db(), this.ringMesh = gb(), this.crossline = fb(), this.lineMesh = pb(i), this.ballMesh = mb(), this.cssBallMesh = vb(), 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), Wr(e);
4170
+ this.planeMesh = db(), this.ringMesh = gb(), this.crossline = fb(), this.lineMesh = pb(i), this.ballMesh = mb(), this.cssBallMesh = vb(), 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), Gr(e);
4171
4171
  }
4172
4172
  updateWithIntersect(e) {
4173
4173
  if (!e.face)
@@ -4239,7 +4239,7 @@ function bb(n, t) {
4239
4239
  const { x: e, y: i } = t, s = e * 2 - 1, o = i * 2 - 1, r = new P.Raycaster();
4240
4240
  return r.setFromCamera({ x: s, y: o }, n.camera), r.params.Points.threshold = 0.02, r;
4241
4241
  }
4242
- function Ur(n, t, e) {
4242
+ function Wr(n, t, e) {
4243
4243
  const i = yb(n, t);
4244
4244
  return e != null && e.virtualPoint ? i != null ? i : Nm(t) : i;
4245
4245
  }
@@ -4435,7 +4435,7 @@ class pl extends Ct {
4435
4435
  d(this, "updateByNdcPosition", (e) => {
4436
4436
  var o, r, a;
4437
4437
  const i = bb(this.five, e);
4438
- let s = Ur(this.five, i);
4438
+ let s = Wr(this.five, i);
4439
4439
  if (s) {
4440
4440
  if (this.plane && this.planeMode === "vertical" && (s = ce(B({}, s), {
4441
4441
  point: this.plane.projectPoint(s.point, new P.Vector3()),
@@ -4505,7 +4505,7 @@ class pl extends Ct {
4505
4505
  (!this.plane || this.plane.distanceToPoint(g) < 0.01) && (g = (a = (r = this.plane) == null ? void 0 : r.projectPoint(g, new P.Vector3())) != null ? a : g, i.point = g.clone(), i.adhereLine = p.clone(), i.isAdsorbed = !0);
4506
4506
  else {
4507
4507
  const v = es({
4508
- raycaster: new Mr(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
4508
+ raycaster: new Er(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
4509
4509
  line: p,
4510
4510
  clampToLine: !1
4511
4511
  }), A = v.clone().project(this.five.camera);
@@ -4893,7 +4893,7 @@ class Ym extends P.Object3D {
4893
4893
  this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
4894
4894
  }), this.addEventListener("removed", () => {
4895
4895
  this.remove(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
4896
- }), Wr(e), this.five = e;
4896
+ }), Gr(e), this.five = e;
4897
4897
  }
4898
4898
  updateWithIntersect(e) {
4899
4899
  var s;
@@ -5049,7 +5049,7 @@ var $m = {
5049
5049
  function Zi(n, t, e) {
5050
5050
  return Math.min(Math.max(n, t), e);
5051
5051
  }
5052
- function br(n, t) {
5052
+ function Ar(n, t) {
5053
5053
  return n.indexOf(t) > -1;
5054
5054
  }
5055
5055
  function Kl(n, t) {
@@ -5060,7 +5060,7 @@ var He = {
5060
5060
  return Array.isArray(n);
5061
5061
  },
5062
5062
  obj: function(n) {
5063
- return br(Object.prototype.toString.call(n), "Object");
5063
+ return Ar(Object.prototype.toString.call(n), "Object");
5064
5064
  },
5065
5065
  pth: function(n) {
5066
5066
  return He.obj(n) && n.hasOwnProperty("totalLength");
@@ -5351,9 +5351,9 @@ function bn(n) {
5351
5351
  return t[1];
5352
5352
  }
5353
5353
  function Gb(n) {
5354
- if (br(n, "translate") || n === "perspective")
5354
+ if (Ar(n, "translate") || n === "perspective")
5355
5355
  return "px";
5356
- if (br(n, "rotate") || br(n, "skew"))
5356
+ if (Ar(n, "rotate") || Ar(n, "skew"))
5357
5357
  return "deg";
5358
5358
  }
5359
5359
  function Rc(n, t) {
@@ -5400,7 +5400,7 @@ function o0(n) {
5400
5400
  }
5401
5401
  }
5402
5402
  function Wb(n, t, e, i) {
5403
- var s = br(t, "scale") ? 1 : 0 + Gb(t), o = o0(n).get(t) || s;
5403
+ var s = Ar(t, "scale") ? 1 : 0 + Gb(t), o = o0(n).get(t) || s;
5404
5404
  return e && (e.transforms.list.set(t, o), e.transforms.last = t), i ? Dh(n, o, i) : o;
5405
5405
  }
5406
5406
  function Lh(n, t, e, i) {
@@ -6087,7 +6087,7 @@ function by(n) {
6087
6087
  function yy(n) {
6088
6088
  Et.behindModeStore.css3DRenderer.setWrapper(n);
6089
6089
  }
6090
- class Sr {
6090
+ class xr {
6091
6091
  // eslint-disable-next-line @typescript-eslint/no-useless-constructor
6092
6092
  constructor(t) {
6093
6093
  d(this, "hooks", new Ct());
@@ -6332,9 +6332,9 @@ class Sr {
6332
6332
  this.handleDisable();
6333
6333
  }
6334
6334
  }
6335
- d(Sr, "setFrontModeContainer", by), d(Sr, "setBehindModeContainer", yy);
6335
+ d(xr, "setFrontModeContainer", by), d(xr, "setBehindModeContainer", yy);
6336
6336
  const A0 = "v2.0.1", ud = `CSS3DRenderPlugin@${A0}`;
6337
- let wy = class extends Sr {
6337
+ let wy = class extends xr {
6338
6338
  constructor(e) {
6339
6339
  super();
6340
6340
  d(this, "five");
@@ -6557,7 +6557,7 @@ const $l = Math.PI * 2;
6557
6557
  function Bc(n) {
6558
6558
  return (n % $l + $l) % $l;
6559
6559
  }
6560
- function Qr(n) {
6560
+ function Ur(n) {
6561
6561
  return {
6562
6562
  longitude: Bc(-Math.atan2(n.x, -n.z)),
6563
6563
  latitude: -Math.asin(n.y / 1)
@@ -6589,7 +6589,7 @@ function Sy(n, t, e) {
6589
6589
  break;
6590
6590
  f += 30;
6591
6591
  }
6592
- const g = p((k = (E = m[2]) != null ? E : m[1]) != null ? k : 0), v = g.distanceTo(r), A = Qr(r.clone().sub(g).normalize());
6592
+ const g = p((k = (E = m[2]) != null ? E : m[1]) != null ? k : 0), v = g.distanceTo(r), A = Ur(r.clone().sub(g).normalize());
6593
6593
  if (n.state.mode === "Mapview")
6594
6594
  return n.updateCamera(
6595
6595
  B({
@@ -6626,7 +6626,7 @@ function b0(n, t, e) {
6626
6626
  break;
6627
6627
  h += 30;
6628
6628
  }
6629
- const m = f((v = u[1]) != null ? v : 0), p = Qr(t.clone().sub(m).normalize());
6629
+ const m = f((v = u[1]) != null ? v : 0), p = Ur(t.clone().sub(m).normalize());
6630
6630
  if (n.state.mode === "Mapview")
6631
6631
  return n.updateCamera(
6632
6632
  B({
@@ -6660,7 +6660,7 @@ class xo {
6660
6660
  return;
6661
6661
  const i = e[0];
6662
6662
  if (i.raycaster) {
6663
- const s = new Mr();
6663
+ const s = new Er();
6664
6664
  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;
6665
6665
  }
6666
6666
  if (i) {
@@ -6883,7 +6883,7 @@ class xo {
6883
6883
  const e = this.five.getElement();
6884
6884
  if (!e)
6885
6885
  return;
6886
- const i = y0(t, e), s = new Mr();
6886
+ const i = y0(t, e), s = new Er();
6887
6887
  return s.setFromCamera(i, this.five.camera), s;
6888
6888
  }
6889
6889
  }
@@ -6946,13 +6946,13 @@ class Os extends ul {
6946
6946
  });
6947
6947
  }
6948
6948
  }
6949
- function Dr(n, t = Vi.Linear.None) {
6949
+ function Sr(n, t = Vi.Linear.None) {
6950
6950
  const e = new Os({ progress: 0 }).to({ progress: 1 });
6951
6951
  return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
6952
6952
  }
6953
6953
  const So = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), zy = window.cancelAnimationFrame || clearTimeout;
6954
- function Xr(n, t = 0) {
6955
- t <= 0 ? So(n) : So(() => Xr(n, t - 1));
6954
+ function Qr(n, t = 0) {
6955
+ t <= 0 ? So(n) : So(() => Qr(n, t - 1));
6956
6956
  }
6957
6957
  function Oy() {
6958
6958
  return te(this, null, function* () {
@@ -7258,9 +7258,9 @@ function ni(n) {
7258
7258
  function Ce(n, t) {
7259
7259
  return n != n ? t == t : n !== t || n && typeof n == "object" || typeof n == "function";
7260
7260
  }
7261
- let ga;
7261
+ let pa;
7262
7262
  function vt(n, t) {
7263
- return ga || (ga = document.createElement("a")), ga.href = t, n === ga.href;
7263
+ return pa || (pa = document.createElement("a")), pa.href = t, n === pa.href;
7264
7264
  }
7265
7265
  function Wy(n) {
7266
7266
  return Object.keys(n).length === 0;
@@ -7401,17 +7401,17 @@ function Ne(n, t) {
7401
7401
  function W(n, t, e, i) {
7402
7402
  e === null ? n.style.removeProperty(t) : n.style.setProperty(t, e, i ? "important" : "");
7403
7403
  }
7404
- let ma;
7404
+ let ga;
7405
7405
  function Xy() {
7406
- if (ma === void 0) {
7407
- ma = !1;
7406
+ if (ga === void 0) {
7407
+ ga = !1;
7408
7408
  try {
7409
7409
  typeof window != "undefined" && window.parent && window.parent.document;
7410
7410
  } catch (n) {
7411
- ma = !0;
7411
+ ga = !0;
7412
7412
  }
7413
7413
  }
7414
- return ma;
7414
+ return ga;
7415
7415
  }
7416
7416
  function Zh(n, t) {
7417
7417
  getComputedStyle(n).position === "static" && (n.style.position = "relative");
@@ -7500,14 +7500,14 @@ function qy() {
7500
7500
  }), Wa.clear());
7501
7501
  });
7502
7502
  }
7503
- let Tr;
7503
+ let Dr;
7504
7504
  function mn(n) {
7505
- Tr = n;
7505
+ Dr = n;
7506
7506
  }
7507
7507
  function ls() {
7508
- if (!Tr)
7508
+ if (!Dr)
7509
7509
  throw new Error("Function called outside component initialization");
7510
- return Tr;
7510
+ return Dr;
7511
7511
  }
7512
7512
  function S0(n) {
7513
7513
  ls().$$.before_update.push(n);
@@ -7565,7 +7565,7 @@ let oo = 0;
7565
7565
  function pn() {
7566
7566
  if (oo !== 0)
7567
7567
  return;
7568
- const n = Tr;
7568
+ const n = Dr;
7569
7569
  do {
7570
7570
  try {
7571
7571
  for (; oo < co.length; ) {
@@ -7607,7 +7607,7 @@ function Jh() {
7607
7607
  function ks(n, t, e) {
7608
7608
  n.dispatchEvent(x0(`${t ? "intro" : "outro"}${e}`));
7609
7609
  }
7610
- const Ta = /* @__PURE__ */ new Set();
7610
+ const Da = /* @__PURE__ */ new Set();
7611
7611
  let Ji;
7612
7612
  function ke() {
7613
7613
  Ji = {
@@ -7621,14 +7621,14 @@ function xe() {
7621
7621
  Ji.r || pt(Ji.c), Ji = Ji.p;
7622
7622
  }
7623
7623
  function F(n, t) {
7624
- n && n.i && (Ta.delete(n), n.i(t));
7624
+ n && n.i && (Da.delete(n), n.i(t));
7625
7625
  }
7626
7626
  function X(n, t, e, i) {
7627
7627
  if (n && n.o) {
7628
- if (Ta.has(n))
7628
+ if (Da.has(n))
7629
7629
  return;
7630
- Ta.add(n), Ji.c.push(() => {
7631
- Ta.delete(n), i && (e && n.d(1), i());
7630
+ Da.add(n), Ji.c.push(() => {
7631
+ Da.delete(n), i && (e && n.d(1), i());
7632
7632
  }), n.o(t);
7633
7633
  } else
7634
7634
  i && i();
@@ -7859,7 +7859,7 @@ function ew(n, t) {
7859
7859
  n.$$.dirty[0] === -1 && (co.push(n), T0(), n.$$.dirty.fill(0)), n.$$.dirty[t / 31 | 0] |= 1 << t % 31;
7860
7860
  }
7861
7861
  function Ie(n, t, e, i, s, o, r, a = [-1]) {
7862
- const l = Tr;
7862
+ const l = Dr;
7863
7863
  mn(n);
7864
7864
  const c = n.$$ = {
7865
7865
  fragment: null,
@@ -8010,7 +8010,7 @@ class iw {
8010
8010
  }
8011
8011
  }
8012
8012
  let ic = null;
8013
- const nw = () => (ic || (ic = new iw()), ic), Yr = () => typeof window == "undefined" ? "md" : nw();
8013
+ const nw = () => (ic || (ic = new iw()), ic), Xr = () => typeof window == "undefined" ? "md" : nw();
8014
8014
  function Yt(n, t = 16) {
8015
8015
  return (Number(typeof n == "string" ? n.replace(/px/g, "") : n) / t).toFixed(5) + "rem";
8016
8016
  }
@@ -8581,7 +8581,7 @@ function xw(n) {
8581
8581
  function Sw(n, t, e) {
8582
8582
  var w;
8583
8583
  let i, { five: s } = t, { roomLabels: o } = t, r, a, l = (w = s.model.shownFloor) != null ? w : null;
8584
- const c = Yr();
8584
+ const c = Xr();
8585
8585
  let h = Wo();
8586
8586
  typeof c == "object" && "subscribe" in c && c.subscribe((E) => {
8587
8587
  e(4, h = E);
@@ -8753,7 +8753,7 @@ function js(n) {
8753
8753
  function To(n) {
8754
8754
  return n < 0.5 ? 4 * n * n * n : 0.5 * Math.pow(2 * n - 2, 3) + 1;
8755
8755
  }
8756
- function Lr(n) {
8756
+ function Tr(n) {
8757
8757
  const t = n - 1;
8758
8758
  return t * t * t + 1;
8759
8759
  }
@@ -8766,7 +8766,7 @@ function Rt(n, { delay: t = 0, duration: e = 400, easing: i = wn } = {}) {
8766
8766
  css: (o) => `opacity: ${o * s}`
8767
8767
  };
8768
8768
  }
8769
- function Ad(n, { delay: t = 0, duration: e = 400, easing: i = Lr, x: s = 0, y: o = 0, opacity: r = 0 } = {}) {
8769
+ function Ad(n, { delay: t = 0, duration: e = 400, easing: i = Tr, x: s = 0, y: o = 0, opacity: r = 0 } = {}) {
8770
8770
  const a = getComputedStyle(n), l = +a.opacity, c = a.transform === "none" ? "" : a.transform, h = l * (1 - r), [u, f] = fd(s), [m, p] = fd(o);
8771
8771
  return {
8772
8772
  delay: t,
@@ -9919,7 +9919,7 @@ function l2(n) {
9919
9919
  }
9920
9920
  function c2(n, t, e) {
9921
9921
  let i, { floorIndex: s } = t, { roomAreaEnable: o } = t, { roomNameEnable: r } = t, { roomNameOtherTypeEnable: a } = t, { roomDimensionEnable: l } = t, { floorplanData: c } = t, { hoveredRoom: h } = t, { getRoomAreaText: u } = t, { getRoomDimensionText: f } = t, { getLabelElement: m } = t, { adaptiveRoomLabelVisibleEnable: p } = t, g = 0, v = 0;
9922
- const A = Yr();
9922
+ const A = Xr();
9923
9923
  let w = Wo();
9924
9924
  typeof A == "object" && "subscribe" in A && A.subscribe((k) => {
9925
9925
  e(11, w = k);
@@ -12748,7 +12748,7 @@ let us = class {
12748
12748
  /**
12749
12749
  * @realsee/dnalogel 版本号
12750
12750
  */
12751
- d(this, "VERSION", "3.69.5-dev.2");
12751
+ d(this, "VERSION", "3.69.5-dev.4");
12752
12752
  d(this, "NAME");
12753
12753
  d(this, "five");
12754
12754
  d(this, "workUtil");
@@ -17542,7 +17542,7 @@ function Q0(n, t) {
17542
17542
  var i;
17543
17543
  if (e.type === "Mesh") {
17544
17544
  const s = e, o = B({ map: s.material.map || {} }, t);
17545
- s.material = new Er(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
17545
+ s.material = new Ir(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
17546
17546
  }
17547
17547
  });
17548
17548
  }
@@ -17634,7 +17634,7 @@ ds.prototype.k = function() {
17634
17634
  for (D = f, f = m.length; D < f; ++D)
17635
17635
  m[oc[D]] = 0;
17636
17636
  for (p = Cs(m), A = new (ht ? Uint8Array : Array)(h + u), D = 0, L = h + u; D < L; )
17637
- switch (w = zr(this, p), w) {
17637
+ switch (w = Lr(this, p), w) {
17638
17638
  case 16:
17639
17639
  for (k = 3 + Mi(this, 2); k--; )
17640
17640
  A[D++] = E;
@@ -17695,10 +17695,10 @@ var rf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], oc
17695
17695
  Ps = 0;
17696
17696
  for (uf = Nc.length; Ps < uf; ++Ps)
17697
17697
  Nc[Ps] = 143 >= Ps ? 8 : 255 >= Ps ? 9 : 279 >= Ps ? 7 : 8;
17698
- var o5 = Cs(Nc), Gc = new (ht ? Uint8Array : Array)(30), La, df;
17699
- La = 0;
17700
- for (df = Gc.length; La < df; ++La)
17701
- Gc[La] = 5;
17698
+ var o5 = Cs(Nc), Gc = new (ht ? Uint8Array : Array)(30), Ta, df;
17699
+ Ta = 0;
17700
+ for (df = Gc.length; Ta < df; ++Ta)
17701
+ Gc[Ta] = 5;
17702
17702
  var r5 = Cs(Gc);
17703
17703
  function Mi(n, t) {
17704
17704
  for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a; i < t; ) {
@@ -17708,7 +17708,7 @@ function Mi(n, t) {
17708
17708
  }
17709
17709
  return a = e & (1 << t) - 1, n.f = e >>> t, n.d = i - t, n.a = o, a;
17710
17710
  }
17711
- function zr(n, t) {
17711
+ function Lr(n, t) {
17712
17712
  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); )
17713
17713
  e |= s[o++] << i, i += 8;
17714
17714
  if (c = a[e & (1 << l) - 1], h = c >>> 16, h > i)
@@ -17718,11 +17718,11 @@ function zr(n, t) {
17718
17718
  ds.prototype.j = function(n, t) {
17719
17719
  var e = this.c, i = this.b;
17720
17720
  this.o = n;
17721
- for (var s = e.length - 258, o, r, a, l; (o = zr(this, n)) !== 256; )
17721
+ for (var s = e.length - 258, o, r, a, l; (o = Lr(this, n)) !== 256; )
17722
17722
  if (256 > o)
17723
17723
  i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = o;
17724
17724
  else
17725
- for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o = zr(this, t), a = Z0[o], 0 < tl[o] && (a += Mi(this, tl[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
17725
+ for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o = Lr(this, t), a = Z0[o], 0 < tl[o] && (a += Mi(this, tl[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
17726
17726
  e[i] = e[i++ - a];
17727
17727
  for (; 8 <= this.d; )
17728
17728
  this.d -= 8, this.a--;
@@ -17731,11 +17731,11 @@ ds.prototype.j = function(n, t) {
17731
17731
  ds.prototype.w = function(n, t) {
17732
17732
  var e = this.c, i = this.b;
17733
17733
  this.o = n;
17734
- for (var s = e.length, o, r, a, l; (o = zr(this, n)) !== 256; )
17734
+ for (var s = e.length, o, r, a, l; (o = Lr(this, n)) !== 256; )
17735
17735
  if (256 > o)
17736
17736
  i >= s && (e = this.e(), s = e.length), e[i++] = o;
17737
17737
  else
17738
- for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o = zr(this, t), a = Z0[o], 0 < tl[o] && (a += Mi(this, tl[o])), i + l > s && (e = this.e(), s = e.length); l--; )
17738
+ for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o = Lr(this, t), a = Z0[o], 0 < tl[o] && (a += Mi(this, tl[o])), i + l > s && (e = this.e(), s = e.length); l--; )
17739
17739
  e[i] = e[i++ - a];
17740
17740
  for (; 8 <= this.d; )
17741
17741
  this.d -= 8, this.a--;
@@ -17815,15 +17815,15 @@ au.prototype.k = function() {
17815
17815
  var ff = 8;
17816
17816
  ou("Zlib.Inflate", au);
17817
17817
  ou("Zlib.Inflate.prototype.decompress", au.prototype.k);
17818
- var Wc = { ADAPTIVE: of.s, BLOCK: of.t }, yr, wr, Po, pf;
17818
+ var Wc = { ADAPTIVE: of.s, BLOCK: of.t }, br, yr, Po, pf;
17819
17819
  if (Object.keys)
17820
- yr = Object.keys(Wc);
17820
+ br = Object.keys(Wc);
17821
17821
  else
17822
- for (wr in yr = [], Po = 0, Wc)
17823
- yr[Po++] = wr;
17822
+ for (yr in br = [], Po = 0, Wc)
17823
+ br[Po++] = yr;
17824
17824
  Po = 0;
17825
- for (pf = yr.length; Po < pf; ++Po)
17826
- wr = yr[Po], ou("Zlib.Inflate.BufferType." + wr, Wc[wr]);
17825
+ for (pf = br.length; Po < pf; ++Po)
17826
+ yr = br[Po], ou("Zlib.Inflate.BufferType." + yr, Wc[yr]);
17827
17827
  var gf = X0.Zlib, q0 = {
17828
17828
  /*
17829
17829
  Finds knot vector span.
@@ -18409,7 +18409,7 @@ var J0 = function() {
18409
18409
  ee = new vn();
18410
18410
  break;
18411
18411
  }
18412
- ee.name = _.attrName ? la.sanitizeNodeName(_.attrName) : "", ee.ID = N;
18412
+ ee.name = _.attrName ? aa.sanitizeNodeName(_.attrName) : "", ee.ID = N;
18413
18413
  }
18414
18414
  this.getTransformData(ee, _), M.set(N, ee);
18415
18415
  }
@@ -18423,7 +18423,7 @@ var J0 = function() {
18423
18423
  _.rawBones.forEach(function(q, ee) {
18424
18424
  if (q.ID === T.ID) {
18425
18425
  var K = S;
18426
- S = new Qu(), S.matrixWorld.copy(q.transformLink), S.name = M ? la.sanitizeNodeName(M) : "", S.ID = I, _.bones[ee] = S, K !== null && S.add(K);
18426
+ S = new Qu(), S.matrixWorld.copy(q.transformLink), S.name = M ? aa.sanitizeNodeName(M) : "", S.ID = I, _.bones[ee] = S, K !== null && S.add(K);
18427
18427
  }
18428
18428
  });
18429
18429
  }
@@ -18644,7 +18644,7 @@ var J0 = function() {
18644
18644
  },
18645
18645
  // Generate a BufferGeometry from a node in FBXTree.Objects.Geometry
18646
18646
  genGeometry: function(b, C, I, M) {
18647
- var S = new ca();
18647
+ var S = new la();
18648
18648
  b.attrName && (S.name = b.attrName);
18649
18649
  var T = this.parseGeoNode(b, C), N = this.genBuffers(T), _ = new io(N.vertex, 3);
18650
18650
  if (_.applyMatrix4(M), S.setAttribute("position", _), N.colors.length > 0 && S.setAttribute("color", new io(N.colors, 3)), C && (S.setAttribute("skinIndex", new tA(N.weightsIndices, 4)), S.setAttribute("skinWeight", new io(N.vertexWeights, 4)), S.FBX_Deformer = C), N.normal.length > 0) {
@@ -18838,10 +18838,10 @@ var J0 = function() {
18838
18838
  if (Rs === void 0)
18839
18839
  return console.error(
18840
18840
  "THREE.FBXLoader: The loader relies on NURBSCurve for any nurbs present in the model. Nurbs will show up as empty geometry."
18841
- ), new ca();
18841
+ ), new la();
18842
18842
  var C = parseInt(b.Order);
18843
18843
  if (isNaN(C))
18844
- return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new ca();
18844
+ return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new la();
18845
18845
  for (var I = C - 1, M = b.KnotVector.a, S = [], T = b.Points.a, N = 0, _ = T.length; N < _; N += 4)
18846
18846
  S.push(new Is().fromArray(T, N));
18847
18847
  var q, ee;
@@ -18856,7 +18856,7 @@ var J0 = function() {
18856
18856
  se.forEach(function(Se, ue) {
18857
18857
  Se.toArray(ie, ue * 3);
18858
18858
  });
18859
- var le = new ca();
18859
+ var le = new la();
18860
18860
  return le.setAttribute("position", new nA(ie, 3)), le;
18861
18861
  }
18862
18862
  };
@@ -18941,7 +18941,7 @@ var J0 = function() {
18941
18941
  return;
18942
18942
  }
18943
18943
  var ie = {
18944
- modelName: se.attrName ? la.sanitizeNodeName(se.attrName) : "",
18944
+ modelName: se.attrName ? aa.sanitizeNodeName(se.attrName) : "",
18945
18945
  ID: se.id,
18946
18946
  initialPosition: [0, 0, 0],
18947
18947
  initialRotation: [0, 0, 0],
@@ -18958,7 +18958,7 @@ var J0 = function() {
18958
18958
  var le = t.get(_.ID).parents.filter(function(Le) {
18959
18959
  return Le.relationship !== void 0;
18960
18960
  })[0].ID, Se = t.get(le).parents[0].ID, ue = t.get(Se).parents[0].ID, K = t.get(ue).parents[0].ID, se = n.Objects.Model[K], ie = {
18961
- modelName: se.attrName ? la.sanitizeNodeName(se.attrName) : "",
18961
+ modelName: se.attrName ? aa.sanitizeNodeName(se.attrName) : "",
18962
18962
  morphName: n.Objects.Deformer[le].attrName
18963
18963
  };
18964
18964
  S[q] = ie;
@@ -19607,7 +19607,7 @@ const l5 = ({ x: n, y: t, z: e }) => new Ae(n, t, e), zS = (n, t) => {
19607
19607
  if (!z)
19608
19608
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${z}`));
19609
19609
  const V = (_ = t.name) != null ? _ : "入户门";
19610
- return z.material = new Er({ transparent: !0, map: a5(V) }), z.renderOrder = 3, j.children[0].add(z), e.object = j, !0;
19610
+ return z.material = new Ir({ transparent: !0, map: a5(V) }), z.renderOrder = 3, j.children[0].add(z), e.object = j, !0;
19611
19611
  }), c = () => {
19612
19612
  if (e.animation)
19613
19613
  return;
@@ -19648,7 +19648,7 @@ const l5 = ({ x: n, y: t, z: e }) => new Ae(n, t, e), zS = (n, t) => {
19648
19648
  }, c5 = Vi;
19649
19649
  function h5(n, t, e, i = c5.Linear.None) {
19650
19650
  const s = new ul(n).to(t, e).easing(i);
19651
- Xr(() => s.start(0));
19651
+ Qr(() => s.start(0));
19652
19652
  const o = No((a) => {
19653
19653
  s.update(a) === !1 && o();
19654
19654
  }), r = [];
@@ -19669,12 +19669,12 @@ function u5(n, t) {
19669
19669
  return h5({ progress: 0 }, { progress: 1 }, n, t);
19670
19670
  }
19671
19671
  var d5 = /* @__PURE__ */ ((n) => (n.Move = "Move", n.Rotate = "Rotate", n))(d5 || {}), gn = /* @__PURE__ */ ((n) => (n.Clockwise = "Clockwise", n.Anticlockwise = "Anticlockwise", n.Loop = "Loop", n))(gn || {});
19672
- const za = Math.PI * 2;
19672
+ const La = Math.PI * 2;
19673
19673
  function mf(n) {
19674
- return (n % za + za) % za;
19674
+ return (n % La + La) % La;
19675
19675
  }
19676
19676
  function vf(n) {
19677
- return n % za;
19677
+ return n % La;
19678
19678
  }
19679
19679
  function rc(n, t, e) {
19680
19680
  return n + (t - n) * e;
@@ -19753,13 +19753,13 @@ function $0(n, t, e) {
19753
19753
  const i = il(n[1], n[0]), s = il(t[1], t[0]);
19754
19754
  if (isNaN(i) || isNaN(s) || K0(i, s))
19755
19755
  return !1;
19756
- if (va(n[0], t))
19756
+ if (ma(n[0], t))
19757
19757
  return n[0];
19758
- if (va(n[1], t))
19758
+ if (ma(n[1], t))
19759
19759
  return n[1];
19760
- if (va(t[0], n))
19760
+ if (ma(t[0], n))
19761
19761
  return t[0];
19762
- if (va(t[1], n))
19762
+ if (ma(t[1], n))
19763
19763
  return t[1];
19764
19764
  if (e && !p5(n, t))
19765
19765
  return !1;
@@ -19771,7 +19771,7 @@ function $0(n, t, e) {
19771
19771
  const a = (r.y - o.y + i * o.x - s * r.x) / (i - s), l = i * a - i * o.x + o.y;
19772
19772
  return { x: a, y: l };
19773
19773
  }
19774
- function va(n, t) {
19774
+ function ma(n, t) {
19775
19775
  return Af(n, t[0]) || Af(n, t[1]) ? !0 : (t[0].x - n.x) * (n.x - t[1].x) >= 0 && (t[0].y - n.y) * (n.y - t[1].y) >= 0 && K0(il(t[0], n), il(n, t[1]));
19776
19776
  }
19777
19777
  function f5(n) {
@@ -19780,11 +19780,11 @@ function f5(n) {
19780
19780
  t = Math.min(t, o.x), e = Math.max(e, o.x), i = Math.min(i, o.y), s = Math.max(s, o.y);
19781
19781
  }), { x: (t + e) / 2, y: (i + s) / 2 };
19782
19782
  }
19783
- function Aa(n, t, e) {
19783
+ function va(n, t, e) {
19784
19784
  return (n.x - e.x) * (t.y - e.y) - (t.x - e.x) * (n.y - e.y);
19785
19785
  }
19786
19786
  function p5(n, t) {
19787
- return Math.max(n[0].x, n[1].x) >= Math.min(t[0].x, t[1].x) && Math.max(t[0].x, t[1].x) >= Math.min(n[0].x, n[1].x) && Math.max(n[0].y, n[1].y) >= Math.min(t[0].y, t[1].y) && Aa(t[0], n[1], n[0]) * Aa(n[1], t[1], n[0]) > 0 && Aa(n[0], t[1], t[0]) * Aa(t[1], n[1], t[0]) > 0 ? 1 : 0;
19787
+ return Math.max(n[0].x, n[1].x) >= Math.min(t[0].x, t[1].x) && Math.max(t[0].x, t[1].x) >= Math.min(n[0].x, n[1].x) && Math.max(n[0].y, n[1].y) >= Math.min(t[0].y, t[1].y) && va(t[0], n[1], n[0]) * va(n[1], t[1], n[0]) > 0 && va(n[0], t[1], t[0]) * va(t[1], n[1], t[0]) > 0 ? 1 : 0;
19788
19788
  }
19789
19789
  function e1(n, t = 0) {
19790
19790
  t <= 0 ? requestAnimationFrame(n) : requestAnimationFrame(() => e1(n, t - 1));
@@ -20479,7 +20479,7 @@ function E5(n, t, e) {
20479
20479
  };
20480
20480
  });
20481
20481
  e(0, r = b);
20482
- }, m = () => Xr(f), p = fl(f, 80);
20482
+ }, m = () => Qr(f), p = fl(f, 80);
20483
20483
  return Lt(() => {
20484
20484
  f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", m), i.on("movingToPano", m), i.on("mouseWheel", () => p()), i.on("pinchGesture", () => p());
20485
20485
  }), ri(() => {
@@ -20592,7 +20592,7 @@ function t1(n) {
20592
20592
  });
20593
20593
  });
20594
20594
  }
20595
- const ba = { userAction: !0 };
20595
+ const Aa = { userAction: !0 };
20596
20596
  class T5 extends kn {
20597
20597
  constructor(e, i) {
20598
20598
  super(e, i);
@@ -20676,10 +20676,10 @@ class T5 extends kn {
20676
20676
  d(this, "onFivePanoArrived", (e) => {
20677
20677
  var s, o, r, a, l, c, h, u;
20678
20678
  const i = (r = (o = (s = this.five.work) == null ? void 0 : s.observers) == null ? void 0 : o[e]) == null ? void 0 : r.standingPosition;
20679
- 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 = Dr(1e3).onUpdate(({ progress: f }) => {
20679
+ 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 = Sr(1e3).onUpdate(({ progress: f }) => {
20680
20680
  var m;
20681
20681
  (m = this.compassMesh) == null || m.material.setValues({ opacity: f }), this.five.needsRender = !0;
20682
- }).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 = Dr(1e3).onUpdate(({ progress: f }) => {
20682
+ }).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 = Sr(1e3).onUpdate(({ progress: f }) => {
20683
20683
  var m;
20684
20684
  (m = this.logoMesh) == null || m.material.setValues({ opacity: f }), this.five.needsRender = !0;
20685
20685
  }).play())), this.entryDoorMesh) {
@@ -20715,7 +20715,7 @@ class T5 extends kn {
20715
20715
  * 启用插件,响应用户操作并展示UI
20716
20716
  * @param options
20717
20717
  */
20718
- enable(e = ba) {
20718
+ enable(e = Aa) {
20719
20719
  this.setState(
20720
20720
  {
20721
20721
  enabled: !0
@@ -20727,7 +20727,7 @@ class T5 extends kn {
20727
20727
  * 禁用插件,禁止响应用户操作并隐藏UI
20728
20728
  * @param options
20729
20729
  */
20730
- disable(e = ba) {
20730
+ disable(e = Aa) {
20731
20731
  this.setState(
20732
20732
  {
20733
20733
  enabled: !1
@@ -20741,7 +20741,7 @@ class T5 extends kn {
20741
20741
  * @returns
20742
20742
  * @todo 需要考虑动画
20743
20743
  */
20744
- show(e = ba) {
20744
+ show(e = Aa) {
20745
20745
  if (this.state.enabled)
20746
20746
  return this.setState(
20747
20747
  {
@@ -20756,7 +20756,7 @@ class T5 extends kn {
20756
20756
  * @returns
20757
20757
  * @todo 需要考虑动画
20758
20758
  */
20759
- hide(e = ba) {
20759
+ hide(e = Aa) {
20760
20760
  if (this.state.enabled)
20761
20761
  return this.setState(
20762
20762
  {
@@ -20879,7 +20879,7 @@ function _s(n) {
20879
20879
  const { x: t, y: e, z: i } = n;
20880
20880
  return !(Math.abs(t) > 1 || Math.abs(e) > 1 || Math.abs(i) > 1);
20881
20881
  }
20882
- function Oa(n) {
20882
+ function za(n) {
20883
20883
  const { z: t } = n;
20884
20884
  return !(Math.abs(t) > 1);
20885
20885
  }
@@ -20946,7 +20946,7 @@ class n1 {
20946
20946
  if (!e)
20947
20947
  return;
20948
20948
  const i = e.clientWidth, s = e.clientHeight, o = this.ndcPosition.clone().project(t.camera);
20949
- if (!Oa(o)) {
20949
+ if (!za(o)) {
20950
20950
  this.tempHide();
20951
20951
  return;
20952
20952
  }
@@ -21061,7 +21061,7 @@ class Q5 extends n1 {
21061
21061
  if (this.line.points.length < 2)
21062
21062
  return;
21063
21063
  const [l, c] = this.line.points.map((M) => M.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = si(l, c).clone().project(e.camera), m = new Ht(h.x * r, h.y * a), p = new Ht(u.x * r, u.y * a), g = m.distanceTo(p);
21064
- if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !Oa(h) && !Oa(u) || !Oa(f) || g === 0))() === !1) {
21064
+ if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !za(h) && !za(u) || !za(f) || g === 0))() === !1) {
21065
21065
  this.hide();
21066
21066
  return;
21067
21067
  }
@@ -21164,7 +21164,7 @@ let Oo = class s1 {
21164
21164
  return new o1(this.position);
21165
21165
  }
21166
21166
  };
21167
- const ya = (n) => n.preventDefault();
21167
+ const ba = (n) => n.preventDefault();
21168
21168
  let Sl = class {
21169
21169
  constructor(t) {
21170
21170
  d(this, "model");
@@ -21200,7 +21200,7 @@ let Sl = class {
21200
21200
  helper: B({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
21201
21201
  }), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new Oo(new xi([0, 0, 0]), new xi([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new Oo(new xi([0, 0, 0]), new xi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Xt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
21202
21202
  const e = this.five.getElement();
21203
- e && (e.addEventListener("touchstart", ya), e.addEventListener("contextmenu", ya));
21203
+ e && (e.addEventListener("touchstart", ba), e.addEventListener("contextmenu", ba));
21204
21204
  }
21205
21205
  get currentMeasureType() {
21206
21206
  return this.getMeasureType();
@@ -21223,7 +21223,7 @@ let Sl = class {
21223
21223
  var e;
21224
21224
  this.disposed = !0, (e = this.magnifier) == null || e.disable(), this.model.getAllLines().forEach((i) => this.removeLine(i)), this.model.areas.forEach((i) => i.remove());
21225
21225
  const t = this.five.getElement();
21226
- t && (t.removeEventListener("touchstart", ya), t.removeEventListener("contextmenu", ya));
21226
+ t && (t.removeEventListener("touchstart", ba), t.removeEventListener("contextmenu", ba));
21227
21227
  }
21228
21228
  }, jo = class {
21229
21229
  constructor(t) {
@@ -21359,7 +21359,7 @@ function Dl(n, t, e) {
21359
21359
  u = n[p], f = n[p + 1], u < a && (a = u), f < l && (l = f), u > c && (c = u), f > h && (h = f);
21360
21360
  m = Math.max(c - a, h - l), m = m !== 0 ? 32767 / m : 0;
21361
21361
  }
21362
- return Or(o, r, e, a, l, m, 0), r;
21362
+ return zr(o, r, e, a, l, m, 0), r;
21363
21363
  }
21364
21364
  function r1(n, t, e, i, s) {
21365
21365
  var o, r;
@@ -21369,7 +21369,7 @@ function r1(n, t, e, i, s) {
21369
21369
  else
21370
21370
  for (o = e - i; o >= t; o -= i)
21371
21371
  r = If(o, n[o], n[o + 1], r);
21372
- return r && Tl(r, r.next) && (Rr(r), r = r.next), r;
21372
+ return r && Tl(r, r.next) && (jr(r), r = r.next), r;
21373
21373
  }
21374
21374
  function Bs(n, t) {
21375
21375
  if (!n)
@@ -21378,7 +21378,7 @@ function Bs(n, t) {
21378
21378
  var e = n, i;
21379
21379
  do
21380
21380
  if (i = !1, !e.steiner && (Tl(e, e.next) || gt(e.prev, e, e.next) === 0)) {
21381
- if (Rr(e), e = t = e.prev, e === e.next)
21381
+ if (jr(e), e = t = e.prev, e === e.next)
21382
21382
  break;
21383
21383
  i = !0;
21384
21384
  } else
@@ -21386,16 +21386,16 @@ function Bs(n, t) {
21386
21386
  while (i || e !== t);
21387
21387
  return t;
21388
21388
  }
21389
- function Or(n, t, e, i, s, o, r) {
21389
+ function zr(n, t, e, i, s, o, r) {
21390
21390
  if (n) {
21391
21391
  !r && o && nP(n, i, s, o);
21392
21392
  for (var a = n, l, c; n.prev !== n.next; ) {
21393
21393
  if (l = n.prev, c = n.next, o ? Z5(n, i, s, o) : Y5(n)) {
21394
- t.push(l.i / e | 0), t.push(n.i / e | 0), t.push(c.i / e | 0), Rr(n), n = c.next, a = c.next;
21394
+ 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;
21395
21395
  continue;
21396
21396
  }
21397
21397
  if (n = c, n === a) {
21398
- r ? r === 1 ? (n = q5(Bs(n), t, e), Or(n, t, e, i, s, o, 2)) : r === 2 && J5(n, t, e, i, s, o) : Or(Bs(n), t, e, i, s, o, 1);
21398
+ r ? r === 1 ? (n = q5(Bs(n), t, e), zr(n, t, e, i, s, o, 2)) : r === 2 && J5(n, t, e, i, s, o) : zr(Bs(n), t, e, i, s, o, 1);
21399
21399
  break;
21400
21400
  }
21401
21401
  }
@@ -21437,7 +21437,7 @@ function q5(n, t, e) {
21437
21437
  var i = n;
21438
21438
  do {
21439
21439
  var s = i.prev, o = i.next.next;
21440
- !Tl(s, o) && a1(s, i, i.next, o) && jr(s, o) && jr(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), Rr(i), Rr(i.next), i = n = o), i = i.next;
21440
+ !Tl(s, o) && a1(s, i, i.next, o) && Or(s, o) && Or(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;
21441
21441
  } while (i !== n);
21442
21442
  return Bs(i);
21443
21443
  }
@@ -21447,7 +21447,7 @@ function J5(n, t, e, i, s, o) {
21447
21447
  for (var a = r.next.next; a !== r.prev; ) {
21448
21448
  if (r.i !== a.i && rP(r, a)) {
21449
21449
  var l = l1(r, a);
21450
- r = Bs(r, r.next), l = Bs(l, l.next), Or(r, t, e, i, s, o, 0), Or(l, t, e, i, s, o, 0);
21450
+ r = Bs(r, r.next), l = Bs(l, l.next), zr(r, t, e, i, s, o, 0), zr(l, t, e, i, s, o, 0);
21451
21451
  return;
21452
21452
  }
21453
21453
  a = a.next;
@@ -21488,7 +21488,7 @@ function tP(n, t) {
21488
21488
  var l = r, c = r.x, h = r.y, u = 1 / 0, f;
21489
21489
  e = r;
21490
21490
  do
21491
- i >= e.x && e.x >= c && i !== e.x && uo(s < h ? i : o, s, c, h, s < h ? o : i, s, e.x, e.y) && (f = Math.abs(s - e.y) / (i - e.x), jr(e, n) && (f < u || f === u && (e.x > r.x || e.x === r.x && iP(r, e))) && (r = e, u = f)), e = e.next;
21491
+ i >= e.x && e.x >= c && i !== e.x && uo(s < h ? i : o, s, c, h, s < h ? o : i, s, e.x, e.y) && (f = Math.abs(s - e.y) / (i - e.x), Or(e, n) && (f < u || f === u && (e.x > r.x || e.x === r.x && iP(r, e))) && (r = e, u = f)), e = e.next;
21492
21492
  while (e !== l);
21493
21493
  return r;
21494
21494
  }
@@ -21531,7 +21531,7 @@ function uo(n, t, e, i, s, o, r, a) {
21531
21531
  }
21532
21532
  function rP(n, t) {
21533
21533
  return n.next.i !== t.i && n.prev.i !== t.i && !aP(n, t) && // dones't intersect other edges
21534
- (jr(n, t) && jr(t, n) && lP(n, t) && // locally visible
21534
+ (Or(n, t) && Or(t, n) && lP(n, t) && // locally visible
21535
21535
  (gt(n.prev, n, t.prev) || gt(n, t.prev, t)) || // does not create opposite-facing sectors
21536
21536
  Tl(n, t) && gt(n.prev, n, n.next) > 0 && gt(t.prev, t, t.next) > 0);
21537
21537
  }
@@ -21542,13 +21542,13 @@ function Tl(n, t) {
21542
21542
  return n.x === t.x && n.y === t.y;
21543
21543
  }
21544
21544
  function a1(n, t, e, i) {
21545
- var s = Pa(gt(n, t, e)), o = Pa(gt(n, t, i)), r = Pa(gt(e, i, n)), a = Pa(gt(e, i, t));
21546
- return !!(s !== o && r !== a || s === 0 && wa(n, e, t) || o === 0 && wa(n, i, t) || r === 0 && wa(e, n, i) || a === 0 && wa(e, t, i));
21545
+ var s = wa(gt(n, t, e)), o = wa(gt(n, t, i)), r = wa(gt(e, i, n)), a = wa(gt(e, i, t));
21546
+ return !!(s !== o && r !== a || s === 0 && ya(n, e, t) || o === 0 && ya(n, i, t) || r === 0 && ya(e, n, i) || a === 0 && ya(e, t, i));
21547
21547
  }
21548
- function wa(n, t, e) {
21548
+ function ya(n, t, e) {
21549
21549
  return t.x <= Math.max(n.x, e.x) && t.x >= Math.min(n.x, e.x) && t.y <= Math.max(n.y, e.y) && t.y >= Math.min(n.y, e.y);
21550
21550
  }
21551
- function Pa(n) {
21551
+ function wa(n) {
21552
21552
  return n > 0 ? 1 : n < 0 ? -1 : 0;
21553
21553
  }
21554
21554
  function aP(n, t) {
@@ -21560,7 +21560,7 @@ function aP(n, t) {
21560
21560
  } while (e !== n);
21561
21561
  return !1;
21562
21562
  }
21563
- function jr(n, t) {
21563
+ function Or(n, t) {
21564
21564
  return gt(n.prev, n, n.next) < 0 ? gt(n, t, n.next) >= 0 && gt(n, n.prev, t) >= 0 : gt(n, t, n.prev) < 0 || gt(n, n.next, t) < 0;
21565
21565
  }
21566
21566
  function lP(n, t) {
@@ -21578,7 +21578,7 @@ function If(n, t, e, i) {
21578
21578
  var s = new Xc(n, t, e);
21579
21579
  return i ? (s.next = i.next, s.prev = i, i.next.prev = s, i.next = s) : (s.prev = s, s.next = s), s;
21580
21580
  }
21581
- function Rr(n) {
21581
+ function jr(n) {
21582
21582
  n.next.prev = n.prev, n.prev.next = n.next, n.prevZ && (n.prevZ.nextZ = n.nextZ), n.nextZ && (n.nextZ.prevZ = n.prevZ);
21583
21583
  }
21584
21584
  function Xc(n, t, e) {
@@ -22303,7 +22303,7 @@ class xf extends Sl {
22303
22303
  });
22304
22304
  const i = this.five.getElement();
22305
22305
  if (i) {
22306
- const s = new kr(i);
22306
+ const s = new Mr(i);
22307
22307
  this.hammer = s;
22308
22308
  }
22309
22309
  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);
@@ -22471,7 +22471,7 @@ class Tf extends Sl {
22471
22471
  const i = this.five.getElement();
22472
22472
  if (i) {
22473
22473
  this.fiveElement = i;
22474
- const s = new kr(i);
22474
+ const s = new Mr(i);
22475
22475
  this.hammer = s, s.on("pan", this.onPan), s.on("panstart", this.onPanStart), s.on("panend", this.onPanEnd);
22476
22476
  }
22477
22477
  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", Df), this.model.hook.on("polylineRemoved", this.polylineRemoved);
@@ -22609,7 +22609,7 @@ function g1(n) {
22609
22609
  e && n.ballColor >= 0 && (i = n.ballColor);
22610
22610
  const s = new vn(), o = new hA(0.3, 0.3), r = t ? CP : IP, a = new mh().load(r);
22611
22611
  a.encoding = dr, a.minFilter = Tc;
22612
- const l = new Er({
22612
+ const l = new Ir({
22613
22613
  map: a,
22614
22614
  transparent: !0,
22615
22615
  depthTest: !1
@@ -22620,7 +22620,7 @@ function g1(n) {
22620
22620
  fragmentShader: MP,
22621
22621
  depthTest: !1,
22622
22622
  transparent: !0
22623
- }), m = new bo(u, f), p = new pA(0.01, 20, 20), g = new Er({
22623
+ }), m = new bo(u, f), p = new pA(0.01, 20, 20), g = new Ir({
22624
22624
  color: i,
22625
22625
  depthTest: !1,
22626
22626
  transparent: !0,
@@ -22678,7 +22678,7 @@ class kP {
22678
22678
  });
22679
22679
  this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = g1(B({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = Eb, 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 bo(
22680
22680
  new gA(0.04, 0.08, 32),
22681
- new Er({ color: 1245179, opacity: 0, side: Tm, transparent: !0 })
22681
+ new Ir({ color: 1245179, opacity: 0, side: Tm, transparent: !0 })
22682
22682
  ), this.container.addEventListener("animationend", this.computedCenterMouseXY), this.five.on("cameraUpdate", this.onCameraDirectionUpdate), this.hook.on("willChangeState", this.onWillChangeState);
22683
22683
  }
22684
22684
  dispose() {
@@ -25034,12 +25034,12 @@ class Cn extends fi {
25034
25034
  }
25035
25035
  updateMatrixWorld(e) {
25036
25036
  super.updateMatrixWorld(e);
25037
- const i = xr(this, this.position).toArray().join(",");
25037
+ const i = kr(this, this.position).toArray().join(",");
25038
25038
  i !== this.lastRenderDomItem && (this.updateDom(), this.lastRenderDomItem = i);
25039
25039
  }
25040
25040
  updateDom() {
25041
25041
  const e = this.paramsStyle.tip;
25042
- e && !this.dom && (this.dom = new Gr(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
25042
+ e && !this.dom && (this.dom = new Nr(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
25043
25043
  const i = (s) => {
25044
25044
  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 = Ch(s, {
25045
25045
  style: ""
@@ -25048,7 +25048,7 @@ class Cn extends fi {
25048
25048
  e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
25049
25049
  }
25050
25050
  }
25051
- class _r extends wi {
25051
+ class Rr extends wi {
25052
25052
  constructor(e) {
25053
25053
  super();
25054
25054
  d(this, "name", "LineWithDotsMesh");
@@ -25228,7 +25228,7 @@ class Uo extends zl {
25228
25228
  }
25229
25229
  updateMatrixWorld(e) {
25230
25230
  if (super.updateMatrixWorld(e), this.center) {
25231
- const i = xr(this, this.center).toArray().join(",");
25231
+ const i = kr(this, this.center).toArray().join(",");
25232
25232
  i !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = i);
25233
25233
  }
25234
25234
  }
@@ -25264,7 +25264,7 @@ class Uo extends zl {
25264
25264
  return console.error("Five not found");
25265
25265
  this.areaDom = (s = this.areaDom) != null ? s : (() => {
25266
25266
  var a;
25267
- const o = new Gr(this.five), r = (a = this._paramsStyle.occlusionVisibility) != null ? a : !0;
25267
+ const o = new Nr(this.five), r = (a = this._paramsStyle.occlusionVisibility) != null ? a : !0;
25268
25268
  return o.intersectCheck = !r, o.simulate3D = !0, o;
25269
25269
  })(), this.areaDom.setPosition(this.center);
25270
25270
  const i = lb(this.geometryInfo.area, this._paramsStyle.lengthUnit);
@@ -25273,17 +25273,17 @@ class Uo extends zl {
25273
25273
  }) : this.areaDom.container.innerHTML = "";
25274
25274
  }
25275
25275
  }
25276
- function ja(n, t) {
25276
+ function Oa(n, t) {
25277
25277
  return !(Math.abs(n.x - t.x) > 1e-5 || Math.abs(n.y - t.y) > 1e-5 || Math.abs(n.z - t.z) > 1e-5);
25278
25278
  }
25279
25279
  function P1(n) {
25280
- if (n.length < 3 || !ja(n[0], n.at(-1)))
25280
+ if (n.length < 3 || !Oa(n[0], n.at(-1)))
25281
25281
  return !1;
25282
25282
  let t = !0;
25283
25283
  const e = new P.Vector3().subVectors(n[1], n[0]).normalize();
25284
25284
  for (let o = 2; o < n.length; o++) {
25285
25285
  const r = new P.Vector3().subVectors(n[o], n[0]).normalize();
25286
- if (!ja(r, e) && !ja(r, e.clone().negate())) {
25286
+ if (!Oa(r, e) && !Oa(r, e.clone().negate())) {
25287
25287
  t = !1;
25288
25288
  break;
25289
25289
  }
@@ -25303,7 +25303,7 @@ class qf extends fi {
25303
25303
  d(this, "selected", !1);
25304
25304
  d(this, "line");
25305
25305
  d(this, "polygon");
25306
- this.line = new _r(e == null ? void 0 : e.lineStyle), this.polygon = new Uo(e == null ? void 0 : e.polygonStyle), this.add(this.line);
25306
+ this.line = new Rr(e == null ? void 0 : e.lineStyle), this.polygon = new Uo(e == null ? void 0 : e.polygonStyle), this.add(this.line);
25307
25307
  }
25308
25308
  changeConfig(e) {
25309
25309
  this.line.setStyle(e == null ? void 0 : e.lineStyle), this.polygon.setStyle(e == null ? void 0 : e.polygonStyle);
@@ -25360,7 +25360,7 @@ function CC(n, t) {
25360
25360
  i.indexOf(e[o]) === -1 && (s = !1);
25361
25361
  return s;
25362
25362
  }
25363
- const Br = {
25363
+ const _r = {
25364
25364
  backspace: 8,
25365
25365
  "⌫": 8,
25366
25366
  tab: 9,
@@ -25428,7 +25428,7 @@ const Br = {
25428
25428
  "⌘": 91,
25429
25429
  cmd: 91,
25430
25430
  command: 91
25431
- }, Ra = {
25431
+ }, ja = {
25432
25432
  16: "shiftKey",
25433
25433
  18: "altKey",
25434
25434
  17: "ctrlKey",
@@ -25444,13 +25444,13 @@ const Br = {
25444
25444
  91: !1
25445
25445
  }, mt = {};
25446
25446
  for (let n = 1; n < 20; n++)
25447
- Br["f".concat(n)] = 111 + n;
25448
- let ft = [], Pr = null, E1 = "all";
25449
- const fn = /* @__PURE__ */ new Map(), Zr = (n) => Br[n.toLowerCase()] || tn[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), IC = (n) => Object.keys(Br).find((t) => Br[t] === n), EC = (n) => Object.keys(tn).find((t) => tn[t] === n);
25447
+ _r["f".concat(n)] = 111 + n;
25448
+ let ft = [], wr = null, E1 = "all";
25449
+ const fn = /* @__PURE__ */ new Map(), Yr = (n) => _r[n.toLowerCase()] || tn[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), IC = (n) => Object.keys(_r).find((t) => _r[t] === n), EC = (n) => Object.keys(tn).find((t) => tn[t] === n);
25450
25450
  function M1(n) {
25451
25451
  E1 = n || "all";
25452
25452
  }
25453
- function Vr() {
25453
+ function Br() {
25454
25454
  return E1 || "all";
25455
25455
  }
25456
25456
  function MC() {
@@ -25473,7 +25473,7 @@ function xC() {
25473
25473
  scope: s,
25474
25474
  shortcut: r,
25475
25475
  mods: o,
25476
- keys: i.split("+").map((a) => Zr(a))
25476
+ keys: i.split("+").map((a) => Yr(a))
25477
25477
  });
25478
25478
  });
25479
25479
  }), n;
@@ -25487,11 +25487,11 @@ function SC(n) {
25487
25487
  return (t.isContentEditable || (s || e === "TEXTAREA" || e === "SELECT") && !t.readOnly) && (i = !1), i;
25488
25488
  }
25489
25489
  function DC(n) {
25490
- return typeof n == "string" && (n = Zr(n)), ft.indexOf(n) !== -1;
25490
+ return typeof n == "string" && (n = Yr(n)), ft.indexOf(n) !== -1;
25491
25491
  }
25492
25492
  function TC(n, t) {
25493
25493
  let e, i;
25494
- n || (n = Vr());
25494
+ n || (n = Br());
25495
25495
  for (const s in mt)
25496
25496
  if (Object.prototype.hasOwnProperty.call(mt, s))
25497
25497
  for (e = mt[s], i = 0; i < e.length; )
@@ -25501,7 +25501,7 @@ function TC(n, t) {
25501
25501
  } = r;
25502
25502
  return fu(a);
25503
25503
  }) : i++;
25504
- Vr() === n && M1(t || "all");
25504
+ Br() === n && M1(t || "all");
25505
25505
  }
25506
25506
  function LC(n) {
25507
25507
  let t = n.keyCode || n.which || n.charCode;
@@ -25515,19 +25515,19 @@ function LC(n) {
25515
25515
  function k1(n) {
25516
25516
  if (typeof n == "undefined")
25517
25517
  Object.keys(mt).forEach((s) => {
25518
- Array.isArray(mt[s]) && mt[s].forEach((o) => Ca(o)), delete mt[s];
25518
+ Array.isArray(mt[s]) && mt[s].forEach((o) => Pa(o)), delete mt[s];
25519
25519
  }), fu(null);
25520
25520
  else if (Array.isArray(n))
25521
25521
  n.forEach((s) => {
25522
- s.key && Ca(s);
25522
+ s.key && Pa(s);
25523
25523
  });
25524
25524
  else if (typeof n == "object")
25525
- n.key && Ca(n);
25525
+ n.key && Pa(n);
25526
25526
  else if (typeof n == "string") {
25527
25527
  for (var t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
25528
25528
  e[i - 1] = arguments[i];
25529
25529
  let [s, o] = e;
25530
- typeof s == "function" && (o = s, s = ""), Ca({
25530
+ typeof s == "function" && (o = s, s = ""), Pa({
25531
25531
  key: n,
25532
25532
  scope: s,
25533
25533
  method: o,
@@ -25535,7 +25535,7 @@ function k1(n) {
25535
25535
  });
25536
25536
  }
25537
25537
  }
25538
- const Ca = (n) => {
25538
+ const Pa = (n) => {
25539
25539
  let {
25540
25540
  key: t,
25541
25541
  scope: e,
@@ -25543,10 +25543,10 @@ const Ca = (n) => {
25543
25543
  splitKey: s = "+"
25544
25544
  } = n;
25545
25545
  I1(t).forEach((r) => {
25546
- const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : Zr(c);
25546
+ const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : Yr(c);
25547
25547
  if (!mt[h])
25548
25548
  return;
25549
- e || (e = Vr());
25549
+ e || (e = Br());
25550
25550
  const u = l > 1 ? C1(tn, a) : [], f = [];
25551
25551
  mt[h] = mt[h].filter((m) => {
25552
25552
  const g = (i ? m.method === i : !0) && m.scope === e && CC(m.mods, u);
@@ -25571,8 +25571,8 @@ function Kf(n, t) {
25571
25571
  if (!ct.filter.call(this, n))
25572
25572
  return;
25573
25573
  if ((i === 93 || i === 224) && (i = 91), ft.indexOf(i) === -1 && i !== 229 && ft.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
25574
- const l = Ra[a];
25575
- n[a] && ft.indexOf(l) === -1 ? ft.push(l) : !n[a] && ft.indexOf(l) > -1 ? ft.splice(ft.indexOf(l), 1) : a === "metaKey" && n[a] && (ft = ft.filter((c) => c in Ra || c === i));
25574
+ const l = ja[a];
25575
+ n[a] && ft.indexOf(l) === -1 ? ft.push(l) : !n[a] && ft.indexOf(l) > -1 ? ft.splice(ft.indexOf(l), 1) : a === "metaKey" && n[a] && (ft = ft.filter((c) => c in ja || c === i));
25576
25576
  }), i in Bt) {
25577
25577
  Bt[i] = !0;
25578
25578
  for (const a in tn)
@@ -25581,9 +25581,9 @@ function Kf(n, t) {
25581
25581
  return;
25582
25582
  }
25583
25583
  for (const a in Bt)
25584
- Object.prototype.hasOwnProperty.call(Bt, a) && (Bt[a] = n[Ra[a]]);
25584
+ Object.prototype.hasOwnProperty.call(Bt, a) && (Bt[a] = n[ja[a]]);
25585
25585
  n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (ft.indexOf(17) === -1 && ft.push(17), ft.indexOf(18) === -1 && ft.push(18), Bt[17] = !0, Bt[18] = !0);
25586
- const s = Vr();
25586
+ const s = Br();
25587
25587
  if (e)
25588
25588
  for (let a = 0; a < e.length; a++)
25589
25589
  e[a].scope === s && (n.type === "keydown" && e[a].keydown || n.type === "keyup" && e[a].keyup) && Jf(n, e[a], s, t);
@@ -25596,7 +25596,7 @@ function Kf(n, t) {
25596
25596
  splitKey: c
25597
25597
  } = l, h = l.key.split(c), u = [];
25598
25598
  for (let f = 0; f < h.length; f++)
25599
- u.push(Zr(h[f]));
25599
+ u.push(Yr(h[f]));
25600
25600
  u.sort().join("") === ft.sort().join("") && Jf(n, l, s, t);
25601
25601
  }
25602
25602
  }
@@ -25605,7 +25605,7 @@ function ct(n, t, e) {
25605
25605
  const i = I1(n);
25606
25606
  let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
25607
25607
  for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (o = t.scope), t.element && (r = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (o = t), f && k1(n, o); a < i.length; a++)
25608
- n = i[a].split(h), s = [], n.length > 1 && (s = C1(tn, n)), n = n[n.length - 1], n = n === "*" ? "*" : Zr(n), n in mt || (mt[n] = []), mt[n].push({
25608
+ n = i[a].split(h), s = [], n.length > 1 && (s = C1(tn, n)), n = n[n.length - 1], n = n === "*" ? "*" : Yr(n), n in mt || (mt[n] = []), mt[n].push({
25609
25609
  keyup: l,
25610
25610
  keydown: c,
25611
25611
  scope: o,
@@ -25631,11 +25631,11 @@ function ct(n, t, e) {
25631
25631
  capture: u
25632
25632
  }), lc(r, "keydown", m, u), lc(r, "keyup", p, u);
25633
25633
  }
25634
- if (!Pr) {
25634
+ if (!wr) {
25635
25635
  const m = () => {
25636
25636
  ft = [];
25637
25637
  };
25638
- Pr = {
25638
+ wr = {
25639
25639
  listener: m,
25640
25640
  capture: u
25641
25641
  }, lc(window, "focus", m, u);
@@ -25672,18 +25672,18 @@ function fu(n) {
25672
25672
  capture: a
25673
25673
  } = fn.get(s) || {};
25674
25674
  o && r && (cr(s, "keyup", r, a), cr(s, "keydown", o, a), fn.delete(s));
25675
- }), fn.clear(), Object.keys(mt).forEach((s) => delete mt[s]), Pr)) {
25675
+ }), fn.clear(), Object.keys(mt).forEach((s) => delete mt[s]), wr)) {
25676
25676
  const {
25677
25677
  listener: s,
25678
25678
  capture: o
25679
- } = Pr;
25680
- cr(window, "focus", s, o), Pr = null;
25679
+ } = wr;
25680
+ cr(window, "focus", s, o), wr = null;
25681
25681
  }
25682
25682
  }
25683
25683
  const cc = {
25684
25684
  getPressedKeyString: kC,
25685
25685
  setScope: M1,
25686
- getScope: Vr,
25686
+ getScope: Br,
25687
25687
  deleteScope: TC,
25688
25688
  getPressedKeyCodes: MC,
25689
25689
  getAllKeyCodes: xC,
@@ -25691,9 +25691,9 @@ const cc = {
25691
25691
  filter: SC,
25692
25692
  trigger: zC,
25693
25693
  unbind: k1,
25694
- keyMap: Br,
25694
+ keyMap: _r,
25695
25695
  modifier: tn,
25696
- modifierMap: Ra
25696
+ modifierMap: ja
25697
25697
  };
25698
25698
  for (const n in cc)
25699
25699
  Object.prototype.hasOwnProperty.call(cc, n) && (ct[n] = cc[n]);
@@ -25823,7 +25823,7 @@ class VC extends Ct {
25823
25823
  polygonStyle: this.polygonStyle
25824
25824
  });
25825
25825
  this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
25826
- const i = new Cn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new _r(ce(B({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new Uo(this.polygonStyle), r = new wi(ce(B({}, this.lineStyle), {
25826
+ const i = new Cn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new Rr(ce(B({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new Uo(this.polygonStyle), r = new wi(ce(B({}, this.lineStyle), {
25827
25827
  lineOpacity: 0.5,
25828
25828
  lineColor: 3407837,
25829
25829
  dashed: !0,
@@ -26044,7 +26044,7 @@ class VC extends Ct {
26044
26044
  }
26045
26045
  });
26046
26046
  d(this, "onMoveToPano", (e) => {
26047
- const i = this.group.children.filter((o) => o !== this.currentMeasureMesh), s = new Mr();
26047
+ const i = this.group.children.filter((o) => o !== this.currentMeasureMesh), s = new Er();
26048
26048
  i.forEach((o) => {
26049
26049
  var a;
26050
26050
  if (o.unselect(), o.__five_pano_index === e) {
@@ -28793,7 +28793,7 @@ Ol.normal = function(t, e) {
28793
28793
  Ol.direction = function(t, e, i) {
28794
28794
  return q4(t, e, i), L1(t, t), t;
28795
28795
  };
28796
- var un = Ol, ws = [0, 0], Ia = [0, 0], Ap = [0, 0], hr = [0, 0], K4 = function(n, t) {
28796
+ var un = Ol, ws = [0, 0], Ca = [0, 0], Ap = [0, 0], hr = [0, 0], K4 = function(n, t) {
28797
28797
  var e = null, i = [];
28798
28798
  t && (n = n.slice(), n.push(n[0]));
28799
28799
  for (var s = n.length, o = 1; o < s; o++) {
@@ -28801,15 +28801,15 @@ var un = Ol, ws = [0, 0], Ia = [0, 0], Ap = [0, 0], hr = [0, 0], K4 = function(n
28801
28801
  if (un.direction(ws, a, r), e || (e = [0, 0], un.normal(e, ws)), o === 1 && uc(i, e, 1), !l)
28802
28802
  un.normal(e, ws), uc(i, e, 1);
28803
28803
  else {
28804
- un.direction(Ia, l, a);
28805
- var c = un.computeMiter(Ap, hr, ws, Ia, 1);
28804
+ un.direction(Ca, l, a);
28805
+ var c = un.computeMiter(Ap, hr, ws, Ca, 1);
28806
28806
  uc(i, hr, c);
28807
28807
  }
28808
28808
  }
28809
28809
  if (n.length > 2 && t) {
28810
28810
  var h = n[s - 2], u = n[0], f = n[1];
28811
- un.direction(ws, u, h), un.direction(Ia, f, u), un.normal(e, ws);
28812
- var m = un.computeMiter(Ap, hr, ws, Ia, 1);
28811
+ un.direction(ws, u, h), un.direction(Ca, f, u), un.normal(e, ws);
28812
+ var m = un.computeMiter(Ap, hr, ws, Ca, 1);
28813
28813
  i[0][0] = hr.slice(), i[s - 1][0] = hr.slice(), i[0][1] = m, i[s - 1][1] = m, i.pop();
28814
28814
  }
28815
28815
  return i;
@@ -29002,7 +29002,7 @@ function bp(n) {
29002
29002
  const t = ih(n);
29003
29003
  return si(...Array.isArray(t) ? t : [t]);
29004
29004
  }
29005
- function Ea(n, t) {
29005
+ function Ia(n, t) {
29006
29006
  if (n === void 0)
29007
29007
  return;
29008
29008
  const { min: e, max: i } = t != null ? t : {};
@@ -29129,15 +29129,15 @@ function m8(n) {
29129
29129
  extraData: n.extraData
29130
29130
  }), n;
29131
29131
  }
29132
- const _o = "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=", Cr = {};
29132
+ const _o = "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=", Pr = {};
29133
29133
  var mu = /* @__PURE__ */ ((n) => (n.Default = "default", n.GetAudioDuration = "getAudioDuration", n.PlayAudio = "playAudio", n))(mu || {});
29134
29134
  function v8(n, t) {
29135
- const e = (t == null ? void 0 : t.namespace) || "default", i = Cr[e] || (Cr[e] = []);
29135
+ const e = (t == null ? void 0 : t.namespace) || "default", i = Pr[e] || (Pr[e] = []);
29136
29136
  let s = i.find((o) => !o.realSrc || o.realSrc === _o);
29137
- return s || (console.warn("未找到缓存音频,已新建", Cr), s = new _1(_o), i.push(s)), n && (s.src = n), s;
29137
+ return s || (console.warn("未找到缓存音频,已新建", Pr), s = new _1(_o), i.push(s)), n && (s.src = n), s;
29138
29138
  }
29139
29139
  function A8(n, t) {
29140
- const e = (t == null ? void 0 : t.namespace) || "default", i = Cr[e] || (Cr[e] = []), s = n - i.length;
29140
+ const e = (t == null ? void 0 : t.namespace) || "default", i = Pr[e] || (Pr[e] = []), s = n - i.length;
29141
29141
  if (!(s <= 0))
29142
29142
  for (let o = 0; o < s; o++)
29143
29143
  i.push(new _1(_o));
@@ -29311,7 +29311,7 @@ const C8 = {
29311
29311
  }
29312
29312
  }, I8 = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
29313
29313
  navigator.userAgent.toLowerCase().indexOf("android");
29314
- const _a = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, E8 = I8 && _a;
29314
+ const Ra = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, E8 = I8 && Ra;
29315
29315
  function M8(n) {
29316
29316
  if (n.length !== 4)
29317
29317
  return !1;
@@ -29374,7 +29374,7 @@ class V1 extends P.BufferGeometry {
29374
29374
  }
29375
29375
  }
29376
29376
  function k8(n, t) {
29377
- let e = !_a;
29377
+ let e = !Ra;
29378
29378
  const i = t != null ? t : document.createElement("video");
29379
29379
  i.preload = "metadata", i.crossOrigin = "anonymous", i.muted = !0, i.loop = !0, i.playsInline = !0, i.autoplay = !0;
29380
29380
  const s = new P.VideoTexture(i);
@@ -29382,9 +29382,9 @@ function k8(n, t) {
29382
29382
  const o = () => {
29383
29383
  s.metadataLoaded || (s.dispatchEvent({ type: "videoLoaded" }), s.metadataLoaded = !0);
29384
29384
  };
29385
- if (_a || (i.onloadedmetadata = () => {
29385
+ if (Ra || (i.onloadedmetadata = () => {
29386
29386
  o();
29387
- }), _a) {
29387
+ }), Ra) {
29388
29388
  const r = () => {
29389
29389
  if (!e) {
29390
29390
  if (!i.paused) {
@@ -29402,7 +29402,7 @@ function k8(n, t) {
29402
29402
  }
29403
29403
  return s;
29404
29404
  }
29405
- function mr(n, t, e) {
29405
+ function _a(n, t, e) {
29406
29406
  if (n === "fill")
29407
29407
  return t;
29408
29408
  if (n === "contain") {
@@ -29457,7 +29457,7 @@ class x8 extends P.ShaderMaterial {
29457
29457
  };
29458
29458
  }
29459
29459
  }
29460
- const qr = { Z_FIGHTING_OFFSET: 0.01 };
29460
+ const Zr = { Z_FIGHTING_OFFSET: 0.01 };
29461
29461
  let H1 = class extends P.Mesh {
29462
29462
  constructor() {
29463
29463
  super(...arguments);
@@ -29488,12 +29488,12 @@ class oh extends H1 {
29488
29488
  const o = (a = s == null ? void 0 : s.resolveZFighting) != null ? a : !0;
29489
29489
  let r = i;
29490
29490
  if (o) {
29491
- const l = fs(i).multiplyScalar(qr.Z_FIGHTING_OFFSET);
29491
+ const l = fs(i).multiplyScalar(Zr.Z_FIGHTING_OFFSET);
29492
29492
  r = i.map((c) => c.clone().add(l));
29493
29493
  }
29494
29494
  t1(e).then(({ texture: l, transparent: c }) => {
29495
29495
  var g;
29496
- const h = new P.MeshBasicMaterial({ map: l, transparent: c }), u = mr(
29496
+ const h = new P.MeshBasicMaterial({ map: l, transparent: c }), u = _a(
29497
29497
  (g = s == null ? void 0 : s.objectFit) != null ? g : "contain",
29498
29498
  r,
29499
29499
  l.image.width / l.image.height
@@ -29554,7 +29554,7 @@ class F1 extends H1 {
29554
29554
  }
29555
29555
  play(e = !1) {
29556
29556
  return te(this, null, function* () {
29557
- this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((i) => {
29557
+ this.videoMesh || (yield this.addVideoMesh()), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((i) => {
29558
29558
  this.pause(), console.error("play error", i);
29559
29559
  }), this.videoInstance.muted = e, this.render();
29560
29560
  });
@@ -29590,7 +29590,7 @@ class F1 extends H1 {
29590
29590
  return this.coverMesh;
29591
29591
  if (!this.videoCoverSrc)
29592
29592
  return;
29593
- const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new P.MeshBasicMaterial({ transparent: !1, map: i }), r = mr(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new dc(r, o);
29593
+ const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new P.MeshBasicMaterial({ transparent: !1, map: i }), r = _a(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new dc(r, o);
29594
29594
  return a.position.copy(new Ae(0, 0, 0)), a.name = "videoCoverMesh", o.needsUpdate = !0, i.needsUpdate = !0, a;
29595
29595
  }))();
29596
29596
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -29606,13 +29606,10 @@ class F1 extends H1 {
29606
29606
  return this.videoMesh;
29607
29607
  if (!this.src)
29608
29608
  return;
29609
- const o = this.getVideoTexture(this.src), r = new P.MeshBasicMaterial({ transparent: !1, map: o }), a = yield new Promise((c) => {
29610
- o.metadataLoaded ? c(mr(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight)) : o.addEventListener(
29611
- "videoLoaded",
29612
- () => c(mr(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
29613
- );
29614
- }), l = new dc(a, r);
29615
- return l.name = "videoMesh", l.position.copy(new Ae(0, 0, 0)), l;
29609
+ const o = this.getVideoTexture(this.src), { texture: r } = yield this.getImageTexture(this.videoCoverSrc), a = new P.MeshBasicMaterial({ transparent: !1, map: o }), l = _a(this.objectFit, this.cornerPoints, r.image.width / r.image.height);
29610
+ o.needsUpdate = !0, a.needsUpdate = !0;
29611
+ const c = new dc(l, a);
29612
+ return c.name = "videoMesh", c.position.copy(new Ae(0, 0, 0)), c;
29616
29613
  }))();
29617
29614
  if (!e)
29618
29615
  return;
@@ -29640,7 +29637,7 @@ class F1 extends H1 {
29640
29637
  var m, p, g, v;
29641
29638
  if (this.buttonMesh)
29642
29639
  return this.buttonMesh;
29643
- const i = (p = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, s = (v = (g = this.coverMesh) == null ? void 0 : g.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 = mr("contain", this.cornerPoints, l.image.width / l.image.height), u = new dc(h, new x8(l));
29640
+ const i = (p = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, s = (v = (g = this.coverMesh) == null ? void 0 : g.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 = _a("contain", this.cornerPoints, l.image.width / l.image.height), u = new dc(h, new x8(l));
29644
29641
  u.position.copy(new Ae(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
29645
29642
  u,
29646
29643
  "click",
@@ -29649,7 +29646,7 @@ class F1 extends H1 {
29649
29646
  },
29650
29647
  { noEmitWhenHide: !0 }
29651
29648
  );
29652
- const f = fs(h).multiplyScalar(qr.Z_FIGHTING_OFFSET);
29649
+ const f = fs(h).multiplyScalar(Zr.Z_FIGHTING_OFFSET);
29653
29650
  return u.position.add(f), u;
29654
29651
  }))();
29655
29652
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
@@ -29672,7 +29669,7 @@ class F1 extends H1 {
29672
29669
  return (o = this.videoTextureMap) == null || o.set(e, i), i;
29673
29670
  }
29674
29671
  }
29675
- class Hr {
29672
+ class Vr {
29676
29673
  constructor() {
29677
29674
  /**
29678
29675
  * @description 射线碰撞检测的距离缓存
@@ -29697,12 +29694,12 @@ class Hr {
29697
29694
  ].join(",") : void 0;
29698
29695
  }
29699
29696
  getVisible(t, e, i = 1) {
29700
- const s = Hr.generateCameraTagKey(e, t, i);
29697
+ const s = Vr.generateCameraTagKey(e, t, i);
29701
29698
  if (s)
29702
29699
  return this.cache_visible.get(s);
29703
29700
  }
29704
29701
  setVisible(t, e, i, s = 1) {
29705
- const o = Hr.generateCameraTagKey(e, t, s);
29702
+ const o = Vr.generateCameraTagKey(e, t, s);
29706
29703
  o && this.cache_visible.set(o, i);
29707
29704
  }
29708
29705
  }
@@ -29719,7 +29716,7 @@ class S8 extends us {
29719
29716
  constructor(e) {
29720
29717
  super(e);
29721
29718
  d(this, "tags", []);
29722
- d(this, "cache", new Hr());
29719
+ d(this, "cache", new Vr());
29723
29720
  d(this, "config", C8);
29724
29721
  d(this, "renderQueue", /* @__PURE__ */ new Map());
29725
29722
  /** 插件参数 */
@@ -30169,7 +30166,7 @@ class vu {
30169
30166
  })(), this.matrix = e.matrix ? (() => {
30170
30167
  const g = new P.Matrix4().fromArray(e.matrix);
30171
30168
  return g.premultiply(t.workUtil.transform), g.elements;
30172
- })() : 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 Hr(), this.hooks = new Ct(), Object.keys(e).forEach((g) => {
30169
+ })() : 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 Vr(), this.hooks = new Ct(), Object.keys(e).forEach((g) => {
30173
30170
  this[g] === void 0 && e[g] !== void 0 && (this[g] = e[g]);
30174
30171
  });
30175
30172
  }
@@ -30226,7 +30223,7 @@ class vu {
30226
30223
  mode: "Panorama",
30227
30224
  workCode: this.workUtil.workCode,
30228
30225
  panoIndex: o
30229
- }, Qr(a))), yield this.five.ready();
30226
+ }, Ur(a))), yield this.five.ready();
30230
30227
  } else
30231
30228
  i === "Mapview" && (yield b0(this.five, this.centerPosition, t == null ? void 0 : t.pointConfig));
30232
30229
  return this;
@@ -30471,7 +30468,7 @@ class vu {
30471
30468
  }
30472
30469
  if (l.visibleDistance !== void 0 && (o.push("visibleDistance"), l.visibleDistance !== "unLimited")) {
30473
30470
  const g = this.getDistance(e, 1);
30474
- if (Ea(g, l.visibleDistance) === !1)
30471
+ if (Ia(g, l.visibleDistance) === !1)
30475
30472
  return {
30476
30473
  value: !1,
30477
30474
  checkedList: o,
@@ -30609,7 +30606,7 @@ class vu {
30609
30606
  return !1;
30610
30607
  if (e.keep === "unfolded")
30611
30608
  return !0;
30612
- if (e.unfoldDistance && Ea(this.getDistance({ panoIndex: t }), e.unfoldDistance) === !1)
30609
+ if (e.unfoldDistance && Ia(this.getDistance({ panoIndex: t }), e.unfoldDistance) === !1)
30613
30610
  return !1;
30614
30611
  }
30615
30612
  }
@@ -30629,7 +30626,7 @@ class vu {
30629
30626
  return;
30630
30627
  if (t.autoUnfold.strategy === "ScreenPostion") {
30631
30628
  const i = this.computeTagProject();
30632
- if (i && Ea(i.x, t.autoUnfold.autoUnfoldProjectX) === !1)
30629
+ if (i && Ia(i.x, t.autoUnfold.autoUnfoldProjectX) === !1)
30633
30630
  return !1;
30634
30631
  }
30635
30632
  if (t.autoUnfold.strategy === "MinimumDistance") {
@@ -30644,7 +30641,7 @@ class vu {
30644
30641
  return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((l = a.autoUnfold) == null ? void 0 : l.enable) === !1 || ((c = a.autoUnfold) == null ? void 0 : c.strategy) !== "MinimumDistance");
30645
30642
  }).map((a) => ce(B({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
30646
30643
  const c = l.autoUnfold.distance;
30647
- return !(c && Ea(a, c) === !1);
30644
+ return !(c && Ia(a, c) === !1);
30648
30645
  }).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
30649
30646
  if (o === -1 || o <= ((e = t.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
30650
30647
  return !1;
@@ -31336,7 +31333,7 @@ class Hi extends Ee {
31336
31333
  function U8() {
31337
31334
  return Math.random().toString(36).slice(-6);
31338
31335
  }
31339
- const Ma = U8();
31336
+ const Ea = U8();
31340
31337
  function Q8(n) {
31341
31338
  De(n, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
31342
31339
  }
@@ -31493,7 +31490,7 @@ function q8(n) {
31493
31490
  }
31494
31491
  function J8(n, t, e) {
31495
31492
  let i, { inDelay: s = 0 } = t, { outDelay: o = 0 } = t, { content: r } = t, { unfolded: a } = t, { isFistUnfoldedUpdate: l = !0 } = t;
31496
- const c = `__EMOJI_SPLIT_${Ma}__`, h = `__EMOJI_${Ma}__`, u = `__SPACE_${Ma}__`, f = `__NEW_LINE_${Ma}__`;
31493
+ const c = `__EMOJI_SPLIT_${Ea}__`, h = `__EMOJI_${Ea}__`, u = `__SPACE_${Ea}__`, f = `__NEW_LINE_${Ea}__`;
31497
31494
  let m, p, g = [];
31498
31495
  function v(D) {
31499
31496
  const j = [], z = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
@@ -32671,7 +32668,7 @@ function Rp(n) {
32671
32668
  /*inDelay*/
32672
32669
  n[0]
32673
32670
  ),
32674
- easing: Lr
32671
+ easing: Tr
32675
32672
  }), e.start());
32676
32673
  }), s = !0);
32677
32674
  },
@@ -33386,7 +33383,7 @@ function bE({
33386
33383
  total: i.head + i.tail
33387
33384
  });
33388
33385
  }
33389
- const Ir = (n, t, e) => {
33386
+ const Cr = (n, t, e) => {
33390
33387
  if (n && n.hasOwnProperty(t))
33391
33388
  return n[t];
33392
33389
  if (e === void 0)
@@ -33413,7 +33410,7 @@ var jE = Array.prototype, RE = Function.prototype, J1 = Object.prototype, mc = w
33413
33410
  return n ? "Symbol(src)_1." + n : "";
33414
33411
  }(), K1 = RE.toString, Pu = J1.hasOwnProperty, $1 = J1.toString, _E = RegExp(
33415
33412
  "^" + K1.call(Pu).replace(xE, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
33416
- ), Up = wu.Symbol, BE = jE.splice, VE = ev(wu, "Map"), Fr = ev(Object, "create"), Qp = Up ? Up.prototype : void 0, Xp = Qp ? Qp.toString : void 0;
33413
+ ), Up = wu.Symbol, BE = jE.splice, VE = ev(wu, "Map"), Hr = ev(Object, "create"), Qp = Up ? Up.prototype : void 0, Xp = Qp ? Qp.toString : void 0;
33417
33414
  function Hs(n) {
33418
33415
  var t = -1, e = n ? n.length : 0;
33419
33416
  for (this.clear(); ++t < e; ) {
@@ -33422,14 +33419,14 @@ function Hs(n) {
33422
33419
  }
33423
33420
  }
33424
33421
  function HE() {
33425
- this.__data__ = Fr ? Fr(null) : {};
33422
+ this.__data__ = Hr ? Hr(null) : {};
33426
33423
  }
33427
33424
  function FE(n) {
33428
33425
  return this.has(n) && delete this.__data__[n];
33429
33426
  }
33430
33427
  function NE(n) {
33431
33428
  var t = this.__data__;
33432
- if (Fr) {
33429
+ if (Hr) {
33433
33430
  var e = t[n];
33434
33431
  return e === Z1 ? void 0 : e;
33435
33432
  }
@@ -33437,11 +33434,11 @@ function NE(n) {
33437
33434
  }
33438
33435
  function GE(n) {
33439
33436
  var t = this.__data__;
33440
- return Fr ? t[n] !== void 0 : Pu.call(t, n);
33437
+ return Hr ? t[n] !== void 0 : Pu.call(t, n);
33441
33438
  }
33442
33439
  function WE(n, t) {
33443
33440
  var e = this.__data__;
33444
- return e[n] = Fr && t === void 0 ? Z1 : t, this;
33441
+ return e[n] = Hr && t === void 0 ? Z1 : t, this;
33445
33442
  }
33446
33443
  Hs.prototype.clear = HE;
33447
33444
  Hs.prototype.delete = FE;
@@ -33626,7 +33623,7 @@ function g9(n, t, e) {
33626
33623
  var i = n == null ? void 0 : t9(n, t);
33627
33624
  return i === void 0 ? e : i;
33628
33625
  }
33629
- var ka = g9, ll = {}, m9 = {
33626
+ var Ma = g9, ll = {}, m9 = {
33630
33627
  get exports() {
33631
33628
  return ll;
33632
33629
  },
@@ -33820,11 +33817,11 @@ var ka = g9, ll = {}, m9 = {
33820
33817
  }
33821
33818
  function li(x, H, J) {
33822
33819
  var re = x[H];
33823
- (!(ot.call(x, H) && ta(re, J)) || J === void 0 && !(H in x)) && (x[H] = J);
33820
+ (!(ot.call(x, H) && ea(re, J)) || J === void 0 && !(H in x)) && (x[H] = J);
33824
33821
  }
33825
33822
  function Ii(x, H) {
33826
33823
  for (var J = x.length; J--; )
33827
- if (ta(x[J][0], H))
33824
+ if (ea(x[J][0], H))
33828
33825
  return J;
33829
33826
  return -1;
33830
33827
  }
@@ -33843,7 +33840,7 @@ var ka = g9, ll = {}, m9 = {
33843
33840
  return bs(x, $e);
33844
33841
  } else {
33845
33842
  var it = ne(x), Ut = it == h || it == u;
33846
- if (ia(x))
33843
+ if (ta(x))
33847
33844
  return Qi(x, H);
33848
33845
  if (it == p || it == o || Ut && !Ve) {
33849
33846
  if (Be(x))
@@ -34036,10 +34033,10 @@ var ka = g9, ll = {}, m9 = {
34036
34033
  }
34037
34034
  return "";
34038
34035
  }
34039
- function ea(x) {
34036
+ function $r(x) {
34040
34037
  return Kt(x, !0, !0);
34041
34038
  }
34042
- function ta(x, H) {
34039
+ function ea(x, H) {
34043
34040
  return x === H || x !== x && H !== H;
34044
34041
  }
34045
34042
  function eo(x) {
@@ -34047,24 +34044,24 @@ var ka = g9, ll = {}, m9 = {
34047
34044
  }
34048
34045
  var ir = Array.isArray;
34049
34046
  function to(x) {
34050
- return x != null && na(x.length) && !nr(x);
34047
+ return x != null && ia(x.length) && !nr(x);
34051
34048
  }
34052
34049
  function Hl(x) {
34053
- return sa(x) && to(x);
34050
+ return na(x) && to(x);
34054
34051
  }
34055
- var ia = xn || Nl;
34052
+ var ta = xn || Nl;
34056
34053
  function nr(x) {
34057
34054
  var H = Xi(x) ? zt.call(x) : "";
34058
34055
  return H == h || H == u;
34059
34056
  }
34060
- function na(x) {
34057
+ function ia(x) {
34061
34058
  return typeof x == "number" && x > -1 && x % 1 == 0 && x <= s;
34062
34059
  }
34063
34060
  function Xi(x) {
34064
34061
  var H = typeof x;
34065
34062
  return !!x && (H == "object" || H == "function");
34066
34063
  }
34067
- function sa(x) {
34064
+ function na(x) {
34068
34065
  return !!x && typeof x == "object";
34069
34066
  }
34070
34067
  function sr(x) {
@@ -34076,7 +34073,7 @@ var ka = g9, ll = {}, m9 = {
34076
34073
  function Nl() {
34077
34074
  return !1;
34078
34075
  }
34079
- n.exports = ea;
34076
+ n.exports = $r;
34080
34077
  })(m9, ll);
34081
34078
  const v9 = ll;
34082
34079
  var cl = {}, A9 = {
@@ -34283,7 +34280,7 @@ var cl = {}, A9 = {
34283
34280
  }
34284
34281
  wt.prototype.clear = Kt, wt.prototype.delete = Js, wt.prototype.get = Ks, wt.prototype.has = Rn, wt.prototype.set = $t;
34285
34282
  function _n(x, H) {
34286
- var J = eo(x), re = !J && ta(x), We = !J && !re && to(x), Ve = !J && !re && !We && sa(x), Ze = J || re || We || Ve, $e = Ze ? Xe(x.length, String) : [], It = $e.length;
34283
+ var J = eo(x), re = !J && ea(x), We = !J && !re && to(x), Ve = !J && !re && !We && na(x), Ze = J || re || We || Ve, $e = Ze ? Xe(x.length, String) : [], It = $e.length;
34287
34284
  for (var it in x)
34288
34285
  (H || rt.call(x, it)) && !(Ze && // Safari 9 has enumerable `arguments.length` in strict mode.
34289
34286
  (it == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -34294,7 +34291,7 @@ var cl = {}, A9 = {
34294
34291
  }
34295
34292
  function Qi(x, H) {
34296
34293
  for (var J = x.length; J--; )
34297
- if (ea(x[J][0], H))
34294
+ if ($r(x[J][0], H))
34298
34295
  return J;
34299
34296
  return -1;
34300
34297
  }
@@ -34321,7 +34318,7 @@ var cl = {}, A9 = {
34321
34318
  Ze = !0, Ut = !1;
34322
34319
  }
34323
34320
  if (St && !Ut)
34324
- return Ve || (Ve = new wt()), Ze || sa(x) ? Vn(x, H, J, re, We, Ve) : er(x, H, It, J, re, We, Ve);
34321
+ return Ve || (Ve = new wt()), Ze || na(x) ? Vn(x, H, J, re, We, Ve) : er(x, H, It, J, re, We, Ve);
34325
34322
  if (!(J & s)) {
34326
34323
  var Qt = Ut && rt.call(x, "__wrapped__"), _t = ci && rt.call(H, "__wrapped__");
34327
34324
  if (Qt || _t) {
@@ -34332,9 +34329,9 @@ var cl = {}, A9 = {
34332
34329
  return St ? (Ve || (Ve = new wt()), tr(x, H, J, re, We, Ve)) : !1;
34333
34330
  }
34334
34331
  function $o(x) {
34335
- if (!na(x) || Pt(x))
34332
+ if (!ia(x) || Pt(x))
34336
34333
  return !1;
34337
- var H = ia(x) ? Xo : le;
34334
+ var H = ta(x) ? Xo : le;
34338
34335
  return H.test(ti(x));
34339
34336
  }
34340
34337
  function $s(x) {
@@ -34392,7 +34389,7 @@ var cl = {}, A9 = {
34392
34389
  case h:
34393
34390
  case u:
34394
34391
  case v:
34395
- return ea(+x, +H);
34392
+ return $r(+x, +H);
34396
34393
  case f:
34397
34394
  return x.name == H.name && x.message == H.message;
34398
34395
  case L:
@@ -34442,8 +34439,8 @@ var cl = {}, A9 = {
34442
34439
  Hn || (Hn = St == "constructor");
34443
34440
  }
34444
34441
  if (_t && !Hn) {
34445
- var oa = x.constructor, ra = H.constructor;
34446
- oa != ra && "constructor" in x && "constructor" in H && !(typeof oa == "function" && oa instanceof oa && typeof ra == "function" && ra instanceof ra) && (_t = !1);
34442
+ var sa = x.constructor, oa = H.constructor;
34443
+ sa != oa && "constructor" in x && "constructor" in H && !(typeof sa == "function" && sa instanceof sa && typeof oa == "function" && oa instanceof oa) && (_t = !1);
34447
34444
  }
34448
34445
  return Ve.delete(x), Ve.delete(H), _t;
34449
34446
  }
@@ -34520,23 +34517,23 @@ var cl = {}, A9 = {
34520
34517
  }
34521
34518
  return "";
34522
34519
  }
34523
- function ea(x, H) {
34520
+ function $r(x, H) {
34524
34521
  return x === H || x !== x && H !== H;
34525
34522
  }
34526
- var ta = Bn(function() {
34523
+ var ea = Bn(function() {
34527
34524
  return arguments;
34528
34525
  }()) ? Bn : function(x) {
34529
34526
  return Xi(x) && rt.call(x, "callee") && !Sn.call(x, "callee");
34530
34527
  }, eo = Array.isArray;
34531
34528
  function ir(x) {
34532
- return x != null && nr(x.length) && !ia(x);
34529
+ return x != null && nr(x.length) && !ta(x);
34533
34530
  }
34534
34531
  var to = Tn || Nl;
34535
34532
  function Hl(x, H) {
34536
34533
  return cn(x, H);
34537
34534
  }
34538
- function ia(x) {
34539
- if (!na(x))
34535
+ function ta(x) {
34536
+ if (!ia(x))
34540
34537
  return !1;
34541
34538
  var H = Oi(x);
34542
34539
  return H == m || H == p || H == c || H == k;
@@ -34544,14 +34541,14 @@ var cl = {}, A9 = {
34544
34541
  function nr(x) {
34545
34542
  return typeof x == "number" && x > -1 && x % 1 == 0 && x <= r;
34546
34543
  }
34547
- function na(x) {
34544
+ function ia(x) {
34548
34545
  var H = typeof x;
34549
34546
  return x != null && (H == "object" || H == "function");
34550
34547
  }
34551
34548
  function Xi(x) {
34552
34549
  return x != null && typeof x == "object";
34553
34550
  }
34554
- var sa = Be ? Ye(Be) : $s;
34551
+ var na = Be ? Ye(Be) : $s;
34555
34552
  function sr(x) {
34556
34553
  return ir(x) ? _n(x) : bs(x);
34557
34554
  }
@@ -34606,7 +34603,7 @@ const b9 = cl, y9 = (n, t) => b9(n, t), w9 = (n) => Object.keys(n || {}), P9 = (
34606
34603
  };
34607
34604
  };
34608
34605
  function E9(n, t) {
34609
- const e = ka(n, "data", {}), i = ka(n, "watch", {}), s = ka(n, "methods", {}), o = ka(t, "onChange", () => {
34606
+ const e = Ma(n, "data", {}), i = Ma(n, "watch", {}), s = Ma(n, "methods", {}), o = Ma(t, "onChange", () => {
34610
34607
  }), { subscribe: r, notify: a, subscribers: l } = C9(), { targetWatcher: c, getTarget: h } = I9();
34611
34608
  let u;
34612
34609
  const f = {}, m = () => ({
@@ -34898,7 +34895,7 @@ function T9(n) {
34898
34895
  return te(this, arguments, function* ({ data: r, methods: a }, l, c) {
34899
34896
  if (t.reset(), r.disabled)
34900
34897
  return;
34901
- r.disabled = !0, l(), yield a.offsetPage({ animated: Ir(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
34898
+ r.disabled = !0, l(), yield a.offsetPage({ animated: Cr(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
34902
34899
  });
34903
34900
  },
34904
34901
  showNextPage(c, h) {
@@ -34937,7 +34934,7 @@ function T9(n) {
34937
34934
  });
34938
34935
  },
34939
34936
  offsetPage({ data: r }, a) {
34940
- const l = Ir(a, "animated", !0);
34937
+ const l = Cr(a, "animated", !0);
34941
34938
  return new Promise((c) => {
34942
34939
  r.durationMs = l ? r.durationMsInit : 0, r.offset = -r.currentParticleIndex * r.particleWidth, setTimeout(() => {
34943
34940
  c();
@@ -35519,7 +35516,7 @@ function F9(n, t, e) {
35519
35516
  let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: k = 500 } = t, { autoplay: L = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: j = as } = t, { pauseOnFocus: z = !1 } = t, { autoplayProgressVisible: V = !1 } = t, { dots: b = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: I = 1 } = t, { particlesToScroll: M = 1 } = t;
35520
35517
  function S(de, ye) {
35521
35518
  return te(this, null, function* () {
35522
- const ze = Ir(ye, "animated", !0);
35519
+ const ze = Cr(ye, "animated", !0);
35523
35520
  if (typeof de != "number")
35524
35521
  throw new Error("pageIndex should be a number");
35525
35522
  yield m.showPage(de, { animated: ze });
@@ -35527,13 +35524,13 @@ function F9(n, t, e) {
35527
35524
  }
35528
35525
  function T(de) {
35529
35526
  return te(this, null, function* () {
35530
- const ye = Ir(de, "animated", !0);
35527
+ const ye = Cr(de, "animated", !0);
35531
35528
  yield m.showPrevPage({ animated: ye });
35532
35529
  });
35533
35530
  }
35534
35531
  function N(de) {
35535
35532
  return te(this, null, function* () {
35536
- const ye = Ir(de, "animated", !0);
35533
+ const ye = Cr(de, "animated", !0);
35537
35534
  yield m.showNextPage({ animated: ye });
35538
35535
  });
35539
35536
  }
@@ -40344,7 +40341,7 @@ class av extends vu {
40344
40341
  const h = "black";
40345
40342
  c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
40346
40343
  const u = B({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", m = new G1(ce(B({}, u), { mode: f })), p = this.computeNormal();
40347
- m.position.add(p.clone().setLength(qr.Z_FIGHTING_OFFSET)), s.add(m);
40344
+ m.position.add(p.clone().setLength(Zr.Z_FIGHTING_OFFSET)), s.add(m);
40348
40345
  let g;
40349
40346
  m.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, m, (A) => {
40350
40347
  this.plugin.hooks.emit("click", { event: A, target: "TagContent", tag: this });
@@ -40376,7 +40373,7 @@ class av extends vu {
40376
40373
  }
40377
40374
  return this.plugin.gltfObjectGroup.add(s), s;
40378
40375
  }));
40379
- this.state.unfolded = !0, Wr(this.five), this.loadModel().then(() => this.updateVisible());
40376
+ this.state.unfolded = !0, Gr(this.five), this.loadModel().then(() => this.updateVisible());
40380
40377
  }
40381
40378
  applyVisible() {
40382
40379
  var e, i;
@@ -40419,13 +40416,13 @@ class D7 extends vu {
40419
40416
  if (yield yi(this.five), this.computeRenderType() === "Mesh")
40420
40417
  ((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();
40421
40418
  else {
40422
- Wr(this.five);
40419
+ Gr(this.five);
40423
40420
  const l = this.position.map(Ue);
40424
40421
  (a = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || a.call(r);
40425
40422
  const c = document.createElement("div");
40426
40423
  c.classList.add("tag-media-container");
40427
40424
  const h = B({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new G1(ce(B({}, h), { mode: u })), m = this.computeNormal();
40428
- f.position.add(m.clone().setLength(qr.Z_FIGHTING_OFFSET)), this.plugin.group.add(f);
40425
+ f.position.add(m.clone().setLength(Zr.Z_FIGHTING_OFFSET)), this.plugin.group.add(f);
40429
40426
  let p;
40430
40427
  f.mode === "behind" && this.config.clickable !== !1 && (p = this.addObjectClickHandler(this, f, (v) => {
40431
40428
  this.plugin.hooks.emit("click", { event: v, target: "TagContent", tag: this });
@@ -43186,7 +43183,7 @@ function $g(n) {
43186
43183
  /*transitionDuration*/
43187
43184
  n[15]
43188
43185
  ),
43189
- easing: Lr,
43186
+ easing: Tr,
43190
43187
  y: (
43191
43188
  /*arrowDirection*/
43192
43189
  n[12] === "top" ? -8 : (
@@ -43216,7 +43213,7 @@ function $g(n) {
43216
43213
  /*transitionDuration*/
43217
43214
  n[15]
43218
43215
  ),
43219
- easing: Lr,
43216
+ easing: Tr,
43220
43217
  y: (
43221
43218
  /*arrowDirection*/
43222
43219
  n[12] === "top" ? -8 : (
@@ -43278,7 +43275,7 @@ function Fk(n, t, e) {
43278
43275
  let { tag: p } = t, { config: g = {} } = t, { triggerElement: v } = t, { wrapperElement: A = document.body } = t, { popoverContainer: w = null } = t, { theme: E = void 0 } = t, { visible: k = !0 } = t, { closePopover: L = void 0 } = t, { audioInstance: D = null } = t, { audioPlaying: j = !1 } = t, { audioCurrentTime: z = 0 } = t, { audioDuration: V = 0 } = t;
43279
43276
  const b = cs();
43280
43277
  let C, I = { width: 0, height: 0 }, M = null, S = s;
43281
- function T($, { duration: Me = 400, easing: Re = Lr, x: ve = 0, y: Be = 0 }) {
43278
+ function T($, { duration: Me = 400, easing: Re = Tr, x: ve = 0, y: Be = 0 }) {
43282
43279
  return {
43283
43280
  duration: Me,
43284
43281
  css: (de, ye) => `
@@ -44437,7 +44434,7 @@ class ah extends D8 {
44437
44434
  i.position.copy(s.position), i.quaternion.copy(s.quaternion);
44438
44435
  const o = this.five.camera.position;
44439
44436
  i.lookAt(o.clone().setY(i.position.y));
44440
- const r = s.quaternion.clone(), a = i.quaternion.clone(), l = Dr();
44437
+ const r = s.quaternion.clone(), a = i.quaternion.clone(), l = Sr();
44441
44438
  l.onUpdate(({ progress: h }) => {
44442
44439
  s.quaternion.copy(r.clone().slerp(a, h));
44443
44440
  }), l.play();
@@ -44481,7 +44478,7 @@ class ah extends D8 {
44481
44478
  this.TagContainerSvelte = new t6({
44482
44479
  target: this.container,
44483
44480
  props: ce(B({}, a), { state: ce(B({}, this.state), { enabled: !1 }) })
44484
- }), Xr(() => {
44481
+ }), Qr(() => {
44485
44482
  var l;
44486
44483
  (l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
44487
44484
  });
@@ -45334,7 +45331,7 @@ class lh {
45334
45331
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
45335
45332
  d(this, "heightOffset", 0);
45336
45333
  /** 响应式字体大小管理器 */
45337
- d(this, "fontSizeManager", Yr());
45334
+ d(this, "fontSizeManager", Xr());
45338
45335
  /** 当前字体大小 */
45339
45336
  d(this, "currentFontSize", Wo());
45340
45337
  /** 字体大小订阅取消函数 */
@@ -45827,7 +45824,7 @@ class uv extends us {
45827
45824
  }
45828
45825
  function bc(n, t, e) {
45829
45826
  var l, c, h;
45830
- const i = new P.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), o = n.getTangentAt(t), { longitude: r, latitude: a } = Qr(o);
45827
+ const i = new P.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), o = n.getTangentAt(t), { longitude: r, latitude: a } = Ur(o);
45831
45828
  return { offset: s.clone(), longitude: r, latitude: a, distance: 0 };
45832
45829
  }
45833
45830
  let dv = class extends uv {
@@ -46082,7 +46079,7 @@ class xu extends uv {
46082
46079
  if (!m || !f || ((g = this.workUtil.getObserver(l)) == null ? void 0 : g.floorIndex) !== ((v = this.workUtil.getObserver(u)) == null ? void 0 : v.floorIndex))
46083
46080
  return;
46084
46081
  const p = new P.Vector3().subVectors(m, f);
46085
- return Qr(p.normalize());
46082
+ return Ur(p.normalize());
46086
46083
  })();
46087
46084
  i.moveType === void 0 || i.moveType === "justMove" ? s.push({
46088
46085
  moveIndex: c,
@@ -46641,7 +46638,7 @@ function Su(n, t, e) {
46641
46638
  }
46642
46639
  n.quaternion.copy(t);
46643
46640
  }
46644
- class Jr extends fi {
46641
+ class qr extends fi {
46645
46642
  constructor(e, i) {
46646
46643
  var s, o;
46647
46644
  super();
@@ -46718,15 +46715,15 @@ class Jr extends fi {
46718
46715
  this.removeFromParent();
46719
46716
  }
46720
46717
  }
46721
- class A6 extends Jr {
46718
+ class A6 extends qr {
46722
46719
  }
46723
- class b6 extends Jr {
46720
+ class b6 extends qr {
46724
46721
  }
46725
- class y6 extends Jr {
46722
+ class y6 extends qr {
46726
46723
  }
46727
- class w6 extends Jr {
46724
+ class w6 extends qr {
46728
46725
  }
46729
- class P6 extends Jr {
46726
+ class P6 extends qr {
46730
46727
  }
46731
46728
  class C6 extends P.Group {
46732
46729
  constructor(e) {
@@ -47082,7 +47079,7 @@ class R6 extends P6 {
47082
47079
  d(this, "cornerPositions", []);
47083
47080
  d(this, "css3DInstance");
47084
47081
  d(this, "plane");
47085
- d(this, "css3DRenderer", new Sr());
47082
+ d(this, "css3DRenderer", new xr());
47086
47083
  d(this, "camera");
47087
47084
  d(this, "scene");
47088
47085
  d(this, "container");
@@ -47273,10 +47270,10 @@ class _6 extends b6 {
47273
47270
  return new P.Mesh(i, s);
47274
47271
  }
47275
47272
  }
47276
- const xa = /* @__PURE__ */ new Map();
47273
+ const ka = /* @__PURE__ */ new Map();
47277
47274
  function B6(n) {
47278
- if (xa.has(n))
47279
- return xa.get(n).hooks;
47275
+ if (ka.has(n))
47276
+ return ka.get(n).hooks;
47280
47277
  const t = new Ct();
47281
47278
  let e = null, i;
47282
47279
  const s = () => {
@@ -47286,14 +47283,14 @@ function B6(n) {
47286
47283
  };
47287
47284
  s();
47288
47285
  const o = () => {
47289
- xa.delete(n), cancelAnimationFrame(e);
47286
+ ka.delete(n), cancelAnimationFrame(e);
47290
47287
  };
47291
- return xa.set(n, {
47288
+ return ka.set(n, {
47292
47289
  hooks: t,
47293
47290
  dispose: o
47294
47291
  }), t;
47295
47292
  }
47296
- class Kr {
47293
+ class Jr {
47297
47294
  constructor(t, e) {
47298
47295
  d(this, "originObject3D");
47299
47296
  d(this, "hooks");
@@ -47491,7 +47488,7 @@ class Kr {
47491
47488
  return i;
47492
47489
  }
47493
47490
  }
47494
- class V6 extends Kr {
47491
+ class V6 extends Jr {
47495
47492
  constructor(...e) {
47496
47493
  super(...e);
47497
47494
  d(this, "name", "MoveController");
@@ -47773,7 +47770,7 @@ function Ic(n) {
47773
47770
  return n * Math.PI / 180;
47774
47771
  }
47775
47772
  let Ec = new P.Quaternion();
47776
- class Q6 extends Kr {
47773
+ class Q6 extends Jr {
47777
47774
  constructor(...e) {
47778
47775
  var c, h, u;
47779
47776
  super(...e);
@@ -47909,7 +47906,7 @@ class Q6 extends Kr {
47909
47906
  i.setLeftTop(l, c);
47910
47907
  }
47911
47908
  }
47912
- class X6 extends Kr {
47909
+ class X6 extends Jr {
47913
47910
  constructor(...e) {
47914
47911
  super(...e);
47915
47912
  d(this, "startInfo");
@@ -47962,7 +47959,7 @@ class X6 extends Kr {
47962
47959
  if (r.length < 4)
47963
47960
  return this.dragEnd();
47964
47961
  const a = e.ray.intersectPlane(o, new Ae());
47965
- if (!a || ja(a, this.camera.position))
47962
+ if (!a || Oa(a, this.camera.position))
47966
47963
  return;
47967
47964
  const l = new Ae().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: h } = s, u = new Ae().subVectors(r[1], r[0]), f = new Ae().subVectors(r[3], r[0]), m = (C) => {
47968
47965
  const I = new Ae(0, 0, 0);
@@ -48029,7 +48026,7 @@ class Y6 extends X6 {
48029
48026
  });
48030
48027
  }
48031
48028
  }
48032
- class Z6 extends Kr {
48029
+ class Z6 extends Jr {
48033
48030
  constructor(...e) {
48034
48031
  super(...e);
48035
48032
  d(this, "name", "BoundingBoxController");
@@ -48080,7 +48077,7 @@ function J6() {
48080
48077
  }), o = new P.Mesh(e, i), r = new P.Mesh(e, s);
48081
48078
  return o.name = "ScaleHelperCube-front", r.name = "ScaleHelperCube-behind", o.renderOrder = 11, r.renderOrder = 10, n.add(o, r), n;
48082
48079
  }
48083
- class K6 extends Kr {
48080
+ class K6 extends Jr {
48084
48081
  constructor(...e) {
48085
48082
  super(...e);
48086
48083
  d(this, "name", "ScaleController");
@@ -48345,7 +48342,7 @@ class mv extends us {
48345
48342
  d(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
48346
48343
  d(this, "css3DObjectModeMap", /* @__PURE__ */ new Map());
48347
48344
  d(this, "css3DRender");
48348
- this.five = e, this.css3DRender = new Sr(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${hh.toUpperCase()}_DEBUG__`]: this });
48345
+ this.five = e, this.css3DRender = new xr(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${hh.toUpperCase()}_DEBUG__`]: this });
48349
48346
  }
48350
48347
  /**
48351
48348
  * @description Show guide line
@@ -49892,7 +49889,7 @@ class kx {
49892
49889
  /** 容器大小变化监听器 */
49893
49890
  d(this, "resizeObserver");
49894
49891
  /** 响应式字体大小管理器 */
49895
- d(this, "fontSizeManager", Yr());
49892
+ d(this, "fontSizeManager", Xr());
49896
49893
  /** 当前字体大小 */
49897
49894
  d(this, "currentFontSize", Wo());
49898
49895
  /** 字体大小订阅取消函数 */
@@ -50434,7 +50431,7 @@ class Dx extends us {
50434
50431
  this.mesh.visible = !1;
50435
50432
  return;
50436
50433
  }
50437
- this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = Dr(1e3).onUpdate(({ progress: s }) => {
50434
+ this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = Sr(1e3).onUpdate(({ progress: s }) => {
50438
50435
  var o;
50439
50436
  (o = this.mesh) == null || o.material.setValues({ opacity: s }), this.five.needsRender = !0;
50440
50437
  }).play();
@@ -50717,7 +50714,7 @@ class wv extends fi {
50717
50714
  if (r !== 0 && a === void 0)
50718
50715
  return;
50719
50716
  const l = (c = this.lines[r]) != null ? c : (() => {
50720
- const h = new _r(ce(B({}, this.style), {
50717
+ const h = new Rr(ce(B({}, this.style), {
50721
50718
  pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
50722
50719
  }));
50723
50720
  return this.lines[r] = h, this.add(h), h;
@@ -50767,7 +50764,7 @@ class Fi extends fi {
50767
50764
  d(this, "off", (...e) => lt.modules.fiveDomEvents.removeEventListener(this, ...e));
50768
50765
  d(this, "applyObjectMatrixWorld", (e, i) => {
50769
50766
  const s = i != null ? i : this;
50770
- return s.updateMatrixWorld(), xr(s, e);
50767
+ return s.updateMatrixWorld(), kr(s, e);
50771
50768
  });
50772
50769
  d(this, "applyObjectReversalMatrixWorld", (e, i) => {
50773
50770
  const s = i != null ? i : this;
@@ -50896,7 +50893,7 @@ class Vl extends fi {
50896
50893
  this.originObject.remove(this);
50897
50894
  }
50898
50895
  }
50899
- class $r extends Vl {
50896
+ class Kr extends Vl {
50900
50897
  constructor(e, i) {
50901
50898
  super(e);
50902
50899
  d(this, "objectHelperConfig");
@@ -50959,7 +50956,7 @@ class zx extends zu {
50959
50956
  d(this, "onDrag", (e) => {
50960
50957
  if (!this.draggingPoints || this.draggingPoints.length === 0)
50961
50958
  return;
50962
- const i = Ur(lt.modules.five, e.raycaster);
50959
+ const i = Wr(lt.modules.five, e.raycaster);
50963
50960
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
50964
50961
  });
50965
50962
  }
@@ -50973,7 +50970,7 @@ class Ox extends zu {
50973
50970
  d(this, "onDrag", (e) => {
50974
50971
  if (!this.draggingPoints || this.draggingPoints.length === 0)
50975
50972
  return;
50976
- const i = Ur(lt.modules.five, e.raycaster);
50973
+ const i = Wr(lt.modules.five, e.raycaster);
50977
50974
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
50978
50975
  });
50979
50976
  }
@@ -51083,7 +51080,7 @@ class Rx extends Vl {
51083
51080
  super(e);
51084
51081
  d(this, "onDrag", (e) => {
51085
51082
  var s;
51086
- const i = Ur(lt.modules.five, e.raycaster);
51083
+ const i = Wr(lt.modules.five, e.raycaster);
51087
51084
  (s = this.originObject.pointMesh) == null || s.position.copy(i.point);
51088
51085
  });
51089
51086
  }
@@ -51210,7 +51207,7 @@ class _x extends zu {
51210
51207
  d(this, "onDrag", (e) => {
51211
51208
  if (!this.draggingPoints || this.draggingPoints.length === 0)
51212
51209
  return;
51213
- const i = Ur(lt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
51210
+ const i = Wr(lt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
51214
51211
  this.draggingPoints.forEach((o) => o.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((o) => o.position));
51215
51212
  });
51216
51213
  }
@@ -51529,7 +51526,7 @@ class zs extends fi {
51529
51526
  this.prismMesh.geometry.setPosition({
51530
51527
  bottomPositions: (i = e.points) == null ? void 0 : i.map(Ue).map((s) => s.toArray()),
51531
51528
  topPosition: e.heightPoint ? Ue(e.heightPoint).toArray() : void 0
51532
- }), this.edgeMesh.geometry = new Da().fromEdgesGeometry(new P.EdgesGeometry(this.prismMesh.geometry)), this.geometryInfoNeedUpdate = !0;
51529
+ }), this.edgeMesh.geometry = new Sa().fromEdgesGeometry(new P.EdgesGeometry(this.prismMesh.geometry)), this.geometryInfoNeedUpdate = !0;
51533
51530
  }
51534
51531
  highlight() {
51535
51532
  this.prismMesh.highlight();
@@ -51702,7 +51699,7 @@ class zs extends fi {
51702
51699
  this.prismMesh.visible = !0, this.edgeMesh.visible = !0, this.prismMesh.setStyle({ opacity: this.prismMesh.style.opacity }), this.edgeMesh.setStyle({ lineOpacity: 1 });
51703
51700
  }
51704
51701
  }
51705
- class Cv extends $r {
51702
+ class Cv extends Kr {
51706
51703
  constructor(t) {
51707
51704
  super(t, () => ({
51708
51705
  positionFrom: () => t.worldCenter,
@@ -51809,7 +51806,7 @@ function Iv(n, t) {
51809
51806
  });
51810
51807
  });
51811
51808
  }
51812
- class Ev extends $r {
51809
+ class Ev extends Kr {
51813
51810
  constructor(t) {
51814
51811
  super(t, () => ({
51815
51812
  yAxis: () => {
@@ -52103,7 +52100,7 @@ function Wx(n, t, e) {
52103
52100
  };
52104
52101
  return t.on("select", g), t.on("intersectionUpdate", v), t.on("disable", w), i;
52105
52102
  }
52106
- class kv extends $r {
52103
+ class kv extends Kr {
52107
52104
  constructor(t) {
52108
52105
  super(t, () => ({ yAxis: () => t.normal }));
52109
52106
  }
@@ -52141,7 +52138,7 @@ class Sv extends zl {
52141
52138
  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;
52142
52139
  }
52143
52140
  }
52144
- class Nr extends Sv {
52141
+ class Fr extends Sv {
52145
52142
  constructor(e) {
52146
52143
  const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = Nn(a, ["normal", "radius", "center"]);
52147
52144
  super(r);
@@ -52169,7 +52166,7 @@ class wm extends Fi {
52169
52166
  d(this, "type", "Circle");
52170
52167
  d(this, "circleMesh");
52171
52168
  d(this, "_editor");
52172
- e && (this.circleMesh = new Nr(B(B({}, e.style), e)), this.add(this.circleMesh));
52169
+ e && (this.circleMesh = new Fr(B(B({}, e.style), e)), this.add(this.circleMesh));
52173
52170
  }
52174
52171
  get editor() {
52175
52172
  return this._editor || (this._editor = new kv(this.circleMesh)), this._editor;
@@ -52204,7 +52201,7 @@ class wm extends Fi {
52204
52201
  this.children.forEach((s) => {
52205
52202
  s.parent === this && this.remove(s);
52206
52203
  }), this.children.length = 0;
52207
- const i = new Nr(e);
52204
+ const i = new Fr(e);
52208
52205
  this.circleMesh = i, this.add(this.circleMesh), yield _u(this.circleMesh, this.pointSelector), this.config.defaultAction && this.editor.enable();
52209
52206
  });
52210
52207
  }
@@ -52257,7 +52254,7 @@ class ph extends fi {
52257
52254
  d(this, "_topCenter");
52258
52255
  d(this, "_bottomCenter");
52259
52256
  d(this, "_radius");
52260
- this.params = e, this.bottomCircle = new Nr(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Nr(e), this.topCircle.name = "topCircle", this.edgeMesh = new zl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
52257
+ this.params = e, this.bottomCircle = new Fr(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Fr(e), this.topCircle.name = "topCircle", this.edgeMesh = new zl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
52261
52258
  }
52262
52259
  get bottomCenter() {
52263
52260
  return this.bottomCircle.center;
@@ -52312,7 +52309,7 @@ class ph extends fi {
52312
52309
  this.edgeMesh.position.copy(new P.Vector3().lerpVectors(i, e, 0.5)), this.edgeMesh.quaternion.copy(s);
52313
52310
  }
52314
52311
  }
52315
- class Dv extends $r {
52312
+ class Dv extends Kr {
52316
52313
  constructor(t) {
52317
52314
  super(t, () => {
52318
52315
  const e = () => {
@@ -52416,7 +52413,7 @@ function Tv(n, t) {
52416
52413
  });
52417
52414
  });
52418
52415
  }
52419
- class Lv extends $r {
52416
+ class Lv extends Kr {
52420
52417
  constructor(t) {
52421
52418
  super(t, () => ({
52422
52419
  positionFrom: () => t.worldCenter,
@@ -52616,7 +52613,7 @@ class Im extends Fi {
52616
52613
  d(this, "lineMesh");
52617
52614
  d(this, "_editor");
52618
52615
  d(this, "creatingObject");
52619
- e && (this.lineMesh = new _r(B(B({}, e.style), e)), this.add(this.lineMesh));
52616
+ e && (this.lineMesh = new Rr(B(B({}, e.style), e)), this.add(this.lineMesh));
52620
52617
  }
52621
52618
  get editor() {
52622
52619
  return this._editor || (this._editor = new zx(this)), this._editor;
@@ -52661,7 +52658,7 @@ class Im extends Fi {
52661
52658
  create(e) {
52662
52659
  return te(this, null, function* () {
52663
52660
  this.removeChildren();
52664
- const i = new _r(e);
52661
+ const i = new Rr(e);
52665
52662
  this.lineMesh = i, this.add(this.lineMesh), this.creatingObject = Ov(i, this.pointSelector, e), yield this.creatingObject.finished, this.config.defaultAction && this.editor.enable();
52666
52663
  });
52667
52664
  }
@@ -53066,7 +53063,7 @@ const km = (n, t) => {
53066
53063
  const s = new Av({
53067
53064
  target: n,
53068
53065
  props: { content: (a = t.rawData) == null ? void 0 : a.name, five: e, fontSize: i }
53069
- }), o = Yr();
53066
+ }), o = Xr();
53070
53067
  let r = null;
53071
53068
  return typeof o == "object" && "subscribe" in o && (r = o.subscribe((l) => {
53072
53069
  i = l, s.$set({ fontSize: i });
@@ -53229,7 +53226,7 @@ class $x extends kn {
53229
53226
  }
53230
53227
  case "prism": {
53231
53228
  const r = new zs();
53232
- Fe(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset += qr.Z_FIGHTING_OFFSET;
53229
+ Fe(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset += Zr.Z_FIGHTING_OFFSET;
53233
53230
  const a = s.object_data.points.map((u) => {
53234
53231
  var f;
53235
53232
  return [u[0], u[1] + ((f = s.object_data.fixedY) != null ? f : 0), u[2]];
@@ -53437,7 +53434,7 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
53437
53434
  BoxMeshEditor: Lv,
53438
53435
  CircleMesh: Sv,
53439
53436
  CircleMeshEditor: kv,
53440
- CircleWithEdgeMesh: Nr,
53437
+ CircleWithEdgeMesh: Fr,
53441
53438
  CylinderMesh: ph,
53442
53439
  CylinderMeshEditor: Dv,
53443
53440
  LineMesh: wi,
@@ -53470,7 +53467,7 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
53470
53467
  GUIDELINE_WHITE_ARROW_TEXTURE: Rh,
53471
53468
  Interval: zc,
53472
53469
  LegacyPointHelper: xy,
53473
- LightTag: Gr,
53470
+ LightTag: Nr,
53474
53471
  LineSegments: qm,
53475
53472
  MODEL_CHASSIS_COMPASS_DEFAULT_MODEL: Vh,
53476
53473
  MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL: Fh,
@@ -53501,14 +53498,14 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
53501
53498
  getFrameTime: jy,
53502
53499
  getIntersectFromRelativePosition: uy,
53503
53500
  getRaycasterFromFivePointer: dy,
53504
- initialCSS3DRender: Wr,
53501
+ initialCSS3DRender: Gr,
53505
53502
  inside: Ku,
53506
53503
  isModelLike: Ai,
53507
53504
  isNil: di,
53508
53505
  isPanoramaLike: Jn,
53509
53506
  lookObject: Sy,
53510
53507
  lookPoint: b0,
53511
- nextFrame: Xr,
53508
+ nextFrame: Qr,
53512
53509
  notNil: Fe,
53513
53510
  pointInPolygon: Ku,
53514
53511
  reblink: m0,
@@ -53516,7 +53513,7 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
53516
53513
  requestAnimationFrameInterval: No,
53517
53514
  sculpt: eS,
53518
53515
  tag: Rm,
53519
- tweenProgress: Dr,
53516
+ tweenProgress: Sr,
53520
53517
  uuid: Dt,
53521
53518
  waitFiveModelLoaded: yi,
53522
53519
  worldBounding: gl,
@@ -53527,7 +53524,7 @@ EA();
53527
53524
  IA();
53528
53525
  export {
53529
53526
  CD as AreaMakerPlugin,
53530
- Sr as CSS3DRender,
53527
+ xr as CSS3DRender,
53531
53528
  yl as CSS3DRenderPlugin,
53532
53529
  d5 as CameraMovementEffect,
53533
53530
  OS as CameraMovementPlugin,