@realsee/dnalogel 3.67.7-alpha.2 → 3.67.7-alpha.3

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 (459) hide show
  1. package/components/index.js +3 -3
  2. package/dist/MeasurePlugin/Controller.d.ts +4 -0
  3. package/dist/index.cjs.js +35 -35
  4. package/dist/index.js +637 -624
  5. package/dist/index.umd.js +35 -35
  6. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  7. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  8. package/docs/classes/CSS3DRender.html +2 -2
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  11. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  12. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  13. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  15. package/docs/classes/ModelRoomLabelController.html +2 -2
  16. package/docs/classes/MoveController.html +2 -2
  17. package/docs/classes/Object3DHelperController.html +2 -2
  18. package/docs/classes/PaintBrush.html +2 -2
  19. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  20. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  22. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  23. package/docs/classes/PanoTagPluginController.html +2 -2
  24. package/docs/classes/Sculpt.html +2 -2
  25. package/docs/classes/Util.BetterTween.html +2 -2
  26. package/docs/classes/Util.FiveDomEvents.html +2 -2
  27. package/docs/classes/Util.FivePuppet.html +2 -2
  28. package/docs/classes/Util.Interval.html +2 -2
  29. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  30. package/docs/classes/Util.LightTag.html +3 -3
  31. package/docs/classes/Util.LineSegments.html +2 -2
  32. package/docs/classes/Util.Magnifier.html +2 -2
  33. package/docs/classes/Util.Object3D.html +2 -2
  34. package/docs/classes/Util.PointDomHelper.html +2 -2
  35. package/docs/classes/Util.PointHelper.html +2 -2
  36. package/docs/classes/Util.PointSelector.html +2 -2
  37. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  38. package/docs/classes/Util.Rectangle.html +2 -2
  39. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  54. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  55. package/docs/classes/WalkController.html +2 -2
  56. package/docs/enums/CameraMovementEffect.html +2 -2
  57. package/docs/enums/ContentType.html +2 -2
  58. package/docs/enums/DIRECTION.html +2 -2
  59. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  60. package/docs/enums/DimensionType.html +2 -2
  61. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  62. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  64. package/docs/enums/PointType.html +2 -2
  65. package/docs/enums/Rotation.html +2 -2
  66. package/docs/functions/AreaMakerPlugin.html +1 -1
  67. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  68. package/docs/functions/CameraMovementPlugin.html +2 -2
  69. package/docs/functions/CruisePlugin.html +1 -1
  70. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  71. package/docs/functions/GuideLinePlugin.html +1 -1
  72. package/docs/functions/ItemLabelPlugin.html +1 -1
  73. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  74. package/docs/functions/MeasurePlugin.html +1 -1
  75. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  76. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  77. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  78. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  79. package/docs/functions/ModelMakerPlugin.html +1 -1
  80. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  81. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  82. package/docs/functions/ModelViewPlugin.html +2 -2
  83. package/docs/functions/MovePlugin.html +1 -1
  84. package/docs/functions/Object3DHelperPlugin.html +1 -1
  85. package/docs/functions/PanoCompassPlugin.html +1 -1
  86. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  87. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  88. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  89. package/docs/functions/PanoMeasurePlugin.html +1 -1
  90. package/docs/functions/PanoRulerPlugin.html +2 -2
  91. package/docs/functions/PanoRulerProPlugin.html +2 -2
  92. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  93. package/docs/functions/PanoTagPlugin.html +1 -1
  94. package/docs/functions/PanoVideoPlugin.html +2 -2
  95. package/docs/functions/PipelinePlugin.html +1 -1
  96. package/docs/functions/SculptPlugin.html +2 -2
  97. package/docs/functions/SculptPluginForFive.html +2 -2
  98. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  99. package/docs/functions/Util.absoluteUrl.html +2 -2
  100. package/docs/functions/Util.awaitNextFrame.html +1 -1
  101. package/docs/functions/Util.blink.html +2 -2
  102. package/docs/functions/Util.bounding.html +1 -1
  103. package/docs/functions/Util.boundingBox.html +1 -1
  104. package/docs/functions/Util.boundingSphere.html +1 -1
  105. package/docs/functions/Util.boxVertex.html +2 -2
  106. package/docs/functions/Util.boxVertexes.html +1 -1
  107. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  108. package/docs/functions/Util.convexHull.html +2 -2
  109. package/docs/functions/Util.equal.html +2 -2
  110. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  111. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  112. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  113. package/docs/functions/Util.getFrameTime.html +2 -2
  114. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  115. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  116. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  117. package/docs/functions/Util.inside.html +1 -1
  118. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  119. package/docs/functions/Util.isModelLike.html +1 -1
  120. package/docs/functions/Util.isNil.html +2 -2
  121. package/docs/functions/Util.isPanoramaLike.html +1 -1
  122. package/docs/functions/Util.lookObject.html +2 -2
  123. package/docs/functions/Util.lookPoint.html +2 -2
  124. package/docs/functions/Util.nextFrame.html +1 -1
  125. package/docs/functions/Util.notNil.html +2 -2
  126. package/docs/functions/Util.reblink.html +2 -2
  127. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  128. package/docs/functions/Util.sculpt.createBox.html +1 -1
  129. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  130. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  131. package/docs/functions/Util.sculpt.createLine.html +2 -2
  132. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  133. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  134. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  135. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  136. package/docs/functions/Util.tag.html +1 -1
  137. package/docs/functions/Util.tweenProgress.html +1 -1
  138. package/docs/functions/Util.uuid.html +2 -2
  139. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  140. package/docs/functions/Util.worldBounding.html +1 -1
  141. package/docs/functions/Util.worldBoundingBox.html +1 -1
  142. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  143. package/docs/functions/createPolyline.html +2 -2
  144. package/docs/functions/pluginFlag.html +1 -1
  145. package/docs/hierarchy.html +1 -1
  146. package/docs/index.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  157. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  158. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  159. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  160. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  171. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  172. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  173. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  174. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  175. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  176. package/docs/interfaces/FloorplanBounding.html +2 -2
  177. package/docs/interfaces/FloorplanData.html +2 -2
  178. package/docs/interfaces/FloorplanEntrance.html +2 -2
  179. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  180. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  181. package/docs/interfaces/FloorplanFloorData.html +2 -2
  182. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  183. package/docs/interfaces/FloorplanObserver.html +2 -2
  184. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  185. package/docs/interfaces/FloorplanPosition.html +2 -2
  186. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  187. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  188. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  189. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  190. package/docs/interfaces/FloorplanServerData.html +2 -2
  191. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  192. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  193. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  194. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  195. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  196. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  197. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  198. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  199. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  200. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  201. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  213. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  214. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  217. package/docs/interfaces/HelperOffset.html +2 -2
  218. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  219. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  220. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  221. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  222. package/docs/interfaces/MinMax.html +2 -2
  223. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  224. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  225. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  226. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  227. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  228. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  229. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  230. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  241. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  242. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  243. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  244. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  245. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  246. package/docs/interfaces/Object3DHelperState.html +2 -2
  247. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  248. package/docs/interfaces/PaintBrushAction.html +2 -2
  249. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  250. package/docs/interfaces/PaintBrushState.html +2 -2
  251. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  252. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  253. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  254. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  255. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  256. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  258. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  259. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  260. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  261. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  265. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  266. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  267. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  274. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  275. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  281. package/docs/interfaces/PluginEventMap.html +2 -2
  282. package/docs/interfaces/Point.html +2 -2
  283. package/docs/interfaces/Room.html +2 -2
  284. package/docs/interfaces/RoomInfo.html +2 -2
  285. package/docs/interfaces/RoomLabel.html +2 -2
  286. package/docs/interfaces/RoomRules.html +1 -1
  287. package/docs/interfaces/Rooms.html +1 -1
  288. package/docs/interfaces/Scissor.html +2 -2
  289. package/docs/interfaces/SculptConfig.html +2 -2
  290. package/docs/interfaces/State.html +2 -2
  291. package/docs/interfaces/TagCacheInterface.html +2 -2
  292. package/docs/interfaces/TagConfig.html +3 -3
  293. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  294. package/docs/interfaces/TagIconUrl.html +2 -2
  295. package/docs/interfaces/TagObjectGroup.html +2 -2
  296. package/docs/interfaces/TagState.html +2 -2
  297. package/docs/interfaces/TagStyle.html +2 -2
  298. package/docs/interfaces/Tags.html +2 -2
  299. package/docs/interfaces/TemporaryState.html +2 -2
  300. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  301. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  302. package/docs/interfaces/Util.EventHandlerConfig.html +3 -3
  303. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  304. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  305. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  306. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  307. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  308. package/docs/interfaces/Util.PointIntersection.html +2 -2
  309. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  310. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  311. package/docs/modules/AreaMakerPluginType.html +2 -2
  312. package/docs/modules/CruisePluginTypes.html +2 -2
  313. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  314. package/docs/modules/GuideLineItem.html +2 -2
  315. package/docs/modules/GuideLineModeItem.html +2 -2
  316. package/docs/modules/GuideLinePluginType.html +2 -2
  317. package/docs/modules/ModelMakerPluginType.html +2 -2
  318. package/docs/modules/PanoVideoPluginType.html +2 -2
  319. package/docs/modules/SculptData.html +2 -2
  320. package/docs/modules/SculptType.html +2 -2
  321. package/docs/modules/Util.html +2 -2
  322. package/docs/modules/Util.sculpt.html +2 -2
  323. package/docs/modules.html +2 -2
  324. package/docs/types/AddObject3DHelperConfig.html +2 -2
  325. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  326. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  327. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  328. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  329. package/docs/types/ArrayPosition.html +1 -1
  330. package/docs/types/AudioAppearance.html +1 -1
  331. package/docs/types/CSS3DRenderExportType.html +1 -1
  332. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  333. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  334. package/docs/types/ClassFunctionParameters.html +1 -1
  335. package/docs/types/Color.html +1 -1
  336. package/docs/types/ContentTypeConfigKey.html +1 -1
  337. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  338. package/docs/types/ContentTypeMap.html +1 -1
  339. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  340. package/docs/types/Create3DElementReturnType.html +1 -1
  341. package/docs/types/CruisePluginExportType.html +1 -1
  342. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  343. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  344. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  345. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  346. package/docs/types/DeprecatedTagProperty.html +2 -2
  347. package/docs/types/Direction-1.html +1 -1
  348. package/docs/types/Direction4.html +1 -1
  349. package/docs/types/ElementRenderer.html +2 -2
  350. package/docs/types/FloorplanRuleLabels.html +2 -2
  351. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  352. package/docs/types/GuideLinePluginExportType.html +1 -1
  353. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  354. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  355. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  356. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  357. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  358. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  359. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  360. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  361. package/docs/types/HelperEventMap.html +1 -1
  362. package/docs/types/InternalHelperEventMap.html +1 -1
  363. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  364. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  365. package/docs/types/MeasurePluginConfig.html +1 -1
  366. package/docs/types/MediaData.html +2 -2
  367. package/docs/types/MediaStore.html +1 -1
  368. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  369. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  370. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  371. package/docs/types/ModelId.html +1 -1
  372. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  373. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  374. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  375. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  376. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  377. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  378. package/docs/types/MoveArgs.html +2 -2
  379. package/docs/types/MoveOpts.html +2 -2
  380. package/docs/types/Object3DHelperEventMap.html +1 -1
  381. package/docs/types/ObjectFit.html +1 -1
  382. package/docs/types/PaintBrushEventMap.html +1 -1
  383. package/docs/types/PanoCompassPluginData.html +1 -1
  384. package/docs/types/PanoCompassPluginExportType.html +1 -1
  385. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  386. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  387. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  388. package/docs/types/PanoIndex.html +1 -1
  389. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  390. package/docs/types/PanoMeasureReturnType.html +1 -1
  391. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  392. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  393. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  394. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  395. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  396. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  397. package/docs/types/PipelinePluginParameterType.html +1 -1
  398. package/docs/types/PipelinePluginReturnType.html +1 -1
  399. package/docs/types/PlaneTag.html +2 -2
  400. package/docs/types/Point2DTag.html +2 -2
  401. package/docs/types/Point3DTag.html +2 -2
  402. package/docs/types/PointTagInstance.html +1 -1
  403. package/docs/types/Position.html +1 -1
  404. package/docs/types/PositionFrom.html +1 -1
  405. package/docs/types/RotateArgs.html +2 -2
  406. package/docs/types/RotateOpts.html +2 -2
  407. package/docs/types/RuleLabelsKey.html +1 -1
  408. package/docs/types/RuleLabelsValue.html +1 -1
  409. package/docs/types/ScaleCallback.html +1 -1
  410. package/docs/types/ScalePosition.html +2 -2
  411. package/docs/types/SculptData.BoxData.html +1 -1
  412. package/docs/types/SculptData.CircleData.html +1 -1
  413. package/docs/types/SculptData.CylinderData.html +1 -1
  414. package/docs/types/SculptData.PointData.html +1 -1
  415. package/docs/types/SculptData.PolygonData.html +1 -1
  416. package/docs/types/SculptData.PolylineData.html +1 -1
  417. package/docs/types/SculptData.PrismData.html +1 -1
  418. package/docs/types/SculptData.RectangleData.html +1 -1
  419. package/docs/types/SculptType.Theme.html +2 -2
  420. package/docs/types/StickType.html +1 -1
  421. package/docs/types/Tag.html +2 -2
  422. package/docs/types/Tag2D.html +2 -2
  423. package/docs/types/Tag3D.html +2 -2
  424. package/docs/types/TagClickParams.html +1 -1
  425. package/docs/types/TagConfigByKey.html +1 -1
  426. package/docs/types/TagContentType.html +1 -1
  427. package/docs/types/TagContentTypeMapping.html +1 -1
  428. package/docs/types/TagDimensionType.html +1 -1
  429. package/docs/types/TagElement.html +2 -2
  430. package/docs/types/TagEvents.html +1 -1
  431. package/docs/types/TagGLTFObject.html +1 -1
  432. package/docs/types/TagHooks.html +1 -1
  433. package/docs/types/TagId.html +1 -1
  434. package/docs/types/TagInstance.html +1 -1
  435. package/docs/types/TagPlacement.html +3 -3
  436. package/docs/types/TagPointType.html +2 -2
  437. package/docs/types/TagRendererMap.html +1 -1
  438. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  439. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  440. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  441. package/docs/types/Util.AdherePoint.html +2 -2
  442. package/docs/types/Util.PointSelectorConfig.html +1 -1
  443. package/docs/types/WorkCode.html +1 -1
  444. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  445. package/docs/variables/PLUGIN.html +1 -1
  446. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  447. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  448. package/docs/variables/Util.animeMap.html +1 -1
  449. package/docs/variables/defaultGlobalConfig.html +1 -1
  450. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  451. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  452. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  453. package/libs/MeasurePlugin/Controller.d.ts +4 -0
  454. package/libs/MeasurePlugin/Controller.js +211 -198
  455. package/libs/base/BasePlugin.js +1 -1
  456. package/libs/shared-utils/logger.js +1 -1
  457. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +4 -4
  458. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
  459. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,12 +2,12 @@ var Iv = Object.defineProperty, Ev = Object.defineProperties;
2
2
  var Mv = Object.getOwnPropertyDescriptors;
3
3
  var sa = Object.getOwnPropertySymbols;
4
4
  var Su = Object.prototype.hasOwnProperty, Du = Object.prototype.propertyIsEnumerable;
5
- var oa = Math.pow, Bl = (n, t, e) => t in n ? Iv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, H = (n, t) => {
5
+ var oa = Math.pow, Vl = (n, t, e) => t in n ? Iv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, H = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
- Su.call(t, e) && Bl(n, e, t[e]);
7
+ Su.call(t, e) && Vl(n, e, t[e]);
8
8
  if (sa)
9
9
  for (var e of sa(t))
10
- Du.call(t, e) && Bl(n, e, t[e]);
10
+ Du.call(t, e) && Vl(n, e, t[e]);
11
11
  return n;
12
12
  }, he = (n, t) => Ev(n, Mv(t));
13
13
  var Vn = (n, t) => {
@@ -19,7 +19,7 @@ var Vn = (n, t) => {
19
19
  t.indexOf(i) < 0 && Du.call(n, i) && (e[i] = n[i]);
20
20
  return e;
21
21
  };
22
- var d = (n, t, e) => (Bl(n, typeof t != "symbol" ? t + "" : t, e), e);
22
+ var d = (n, t, e) => (Vl(n, typeof t != "symbol" ? t + "" : t, e), e);
23
23
  var te = (n, t, e) => new Promise((i, s) => {
24
24
  var o = (l) => {
25
25
  try {
@@ -38,12 +38,12 @@ var te = (n, t, e) => new Promise((i, s) => {
38
38
  });
39
39
  import { InternalWebGLRenderer as kv, Camera as xv, loadAt3d as Sv, Five as Vt, Subscribe as _o } from "@realsee/five";
40
40
  import * as P from "three";
41
- import { Vector3 as ge, Vector2 as Ht, Object3D as mo, Matrix4 as nt, LineSegments as Dv, Group as mn, Raycaster as Bo, MeshBasicMaterial as Pr, Vector4 as Ps, Curve as vm, Loader as Tu, LoaderUtils as Vl, FileLoader as Tv, TextureLoader as dh, RepeatWrapping as Lu, ClampToEdgeWrapping as zu, Texture as Ou, MeshPhongMaterial as Hl, MeshLambertMaterial as Lv, Color as Xt, sRGBEncoding as cr, EquirectangularReflectionMapping as zv, Bone as ju, PropertyBinding as ra, OrthographicCamera as Ov, PerspectiveCamera as jv, PointLight as Ru, MathUtils as Yi, SpotLight as Rv, DirectionalLight as _v, SkinnedMesh as Bv, Mesh as vo, LineBasicMaterial as Vv, Line as Hv, Skeleton as Fv, AmbientLight as Nv, BufferGeometry as aa, Float32BufferAttribute as eo, Uint16BufferAttribute as Gv, Matrix3 as Wv, BufferAttribute as Uv, AnimationClip as Qv, Quaternion as Cs, Euler as Wn, VectorKeyframeTrack as Xv, QuaternionKeyframeTrack as Yv, NumberKeyframeTrack as Zv, CanvasTexture as qv, AnimationMixer as Jv, PlaneGeometry as Kv, LinearFilter as Mc, CurvePath as $v, LineCurve3 as eA, TubeGeometry as tA, ShaderMaterial as Am, SphereGeometry as iA, DoubleSide as bm, RingGeometry as nA, VideoTexture as sA, SphereBufferGeometry as oA, Box3 as rA } from "three";
41
+ import { Vector3 as ge, Vector2 as Ht, Object3D as mo, Matrix4 as nt, LineSegments as Dv, Group as mn, Raycaster as Bo, MeshBasicMaterial as Pr, Vector4 as Ps, Curve as vm, Loader as Tu, LoaderUtils as Hl, FileLoader as Tv, TextureLoader as dh, RepeatWrapping as Lu, ClampToEdgeWrapping as zu, Texture as Ou, MeshPhongMaterial as Fl, MeshLambertMaterial as Lv, Color as Xt, sRGBEncoding as cr, EquirectangularReflectionMapping as zv, Bone as ju, PropertyBinding as ra, OrthographicCamera as Ov, PerspectiveCamera as jv, PointLight as Ru, MathUtils as Yi, SpotLight as Rv, DirectionalLight as _v, SkinnedMesh as Bv, Mesh as vo, LineBasicMaterial as Vv, Line as Hv, Skeleton as Fv, AmbientLight as Nv, BufferGeometry as aa, Float32BufferAttribute as eo, Uint16BufferAttribute as Gv, Matrix3 as Wv, BufferAttribute as Uv, AnimationClip as Qv, Quaternion as Cs, Euler as Wn, VectorKeyframeTrack as Xv, QuaternionKeyframeTrack as Yv, NumberKeyframeTrack as Zv, CanvasTexture as qv, AnimationMixer as Jv, PlaneGeometry as Kv, LinearFilter as kc, CurvePath as $v, LineCurve3 as eA, TubeGeometry as tA, ShaderMaterial as Am, SphereGeometry as iA, DoubleSide as bm, RingGeometry as nA, VideoTexture as sA, SphereBufferGeometry as oA, Box3 as rA } from "three";
42
42
  import { LineGeometry as aA, LineMaterial as lA, THREE_Line2 as cA, Line as hA } from "@realsee/five/line";
43
43
  import { GLTFLoader as uA } from "@realsee/five/gltf-loader";
44
44
  function dA() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.67.7-alpha.2",
46
+ "%c %c@realsee/dnalogel %cv3.67.7-alpha.3",
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",
@@ -75,7 +75,7 @@ function la(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
  }
78
- function Fl(n, t, e) {
78
+ function Nl(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
  }
@@ -105,13 +105,13 @@ var Vi = Object.freeze({
105
105
  return n;
106
106
  },
107
107
  In: function(n) {
108
- return this.None(n);
108
+ return n;
109
109
  },
110
110
  Out: function(n) {
111
- return this.None(n);
111
+ return n;
112
112
  },
113
113
  InOut: function(n) {
114
- return this.None(n);
114
+ return n;
115
115
  }
116
116
  }),
117
117
  Quadratic: Object.freeze({
@@ -322,11 +322,11 @@ var Vi = Object.freeze({
322
322
  return n._nextId++;
323
323
  }, n._nextId = 0, n;
324
324
  }()
325
- ), kc = new wm(), ll = (
325
+ ), xc = new wm(), cl = (
326
326
  /** @class */
327
327
  function() {
328
328
  function n(t, e) {
329
- e === void 0 && (e = kc), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Vi.Linear.None, this._interpolationFunction = Is.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = fh.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
329
+ e === void 0 && (e = xc), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Vi.Linear.None, this._interpolationFunction = Is.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = fh.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
330
330
  }
331
331
  return n.prototype.getId = function() {
332
332
  return this._id;
@@ -413,7 +413,7 @@ var Vi = Object.freeze({
413
413
  this._chainedTweens[t].stop();
414
414
  return this;
415
415
  }, n.prototype.group = function(t) {
416
- return t === void 0 && (t = kc), this._group = t, this;
416
+ return t === void 0 && (t = xc), this._group = t, this;
417
417
  }, n.prototype.delay = function(t) {
418
418
  return t === void 0 && (t = 0), this._delayTime = t, this;
419
419
  }, n.prototype.repeat = function(t) {
@@ -490,14 +490,14 @@ var Vi = Object.freeze({
490
490
  typeof i == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(i) : this._valuesStartRepeat[t] = this._valuesEnd[t], this._valuesEnd[t] = e;
491
491
  }, n;
492
492
  }()
493
- ), vA = "23.1.1", AA = fh.nextId, Ki = kc, bA = Ki.getAll.bind(Ki), yA = Ki.removeAll.bind(Ki), wA = Ki.add.bind(Ki), Pm = Ki.remove.bind(Ki), PA = Ki.update.bind(Ki), Hu = {
493
+ ), vA = "23.1.3", AA = fh.nextId, Ki = xc, bA = Ki.getAll.bind(Ki), yA = Ki.removeAll.bind(Ki), wA = Ki.add.bind(Ki), Pm = Ki.remove.bind(Ki), PA = Ki.update.bind(Ki), Hu = {
494
494
  Easing: Vi,
495
495
  Group: wm,
496
496
  Interpolation: Is,
497
497
  now: lo,
498
498
  Sequence: fh,
499
499
  nextId: AA,
500
- Tween: ll,
500
+ Tween: cl,
501
501
  VERSION: vA,
502
502
  getAll: bA,
503
503
  removeAll: yA,
@@ -506,7 +506,7 @@ var Vi = Object.freeze({
506
506
  update: PA
507
507
  };
508
508
  function CA(n, t, e, i = Vi.Linear.None) {
509
- const s = new ll(n).to(t, e).easing(i).start();
509
+ const s = new cl(n).to(t, e).easing(i).start();
510
510
  function o(r) {
511
511
  s.update(r) && requestAnimationFrame(o);
512
512
  }
@@ -957,7 +957,7 @@ let kA = class extends EA {
957
957
  const a = this.canvas[e].getContext("2d");
958
958
  if (!a)
959
959
  return;
960
- const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, f = Fl(i.move || {}, this.clientWidth, this.clientHeight);
960
+ const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, f = Nl(i.move || {}, this.clientWidth, this.clientHeight);
961
961
  let m = [f];
962
962
  if (a.strokeStyle = c, a.beginPath(), a.moveTo(f.x, f.y), h && !s) {
963
963
  let p = [];
@@ -968,7 +968,7 @@ let kA = class extends EA {
968
968
  return a.clearRect(0, 0, g.canvas[u].width, g.canvas[u].height), (w = g.tween) == null ? void 0 : w.stop();
969
969
  const b = Math.floor(v);
970
970
  if (!p.find((M) => M === b)) {
971
- if (p.push(b), m.push(Fl(l[b], g.clientWidth, g.clientHeight)), m.length < 3)
971
+ if (p.push(b), m.push(Nl(l[b], g.clientWidth, g.clientHeight)), m.length < 3)
972
972
  return;
973
973
  const { control: M, end: k } = ca(m);
974
974
  if (!M || !k)
@@ -980,7 +980,7 @@ let kA = class extends EA {
980
980
  });
981
981
  } else {
982
982
  for (let p = 0; p < l.length; p++) {
983
- if (m.push(Fl(l[p], this.clientWidth, this.clientHeight)), m.length < 3)
983
+ if (m.push(Nl(l[p], this.clientWidth, this.clientHeight)), m.length < 3)
984
984
  continue;
985
985
  const { control: g, end: v } = ca(m);
986
986
  !g || !v || a.quadraticCurveTo(g.x, g.y, v.x, v.y);
@@ -1143,7 +1143,7 @@ class Ct {
1143
1143
  return i;
1144
1144
  }
1145
1145
  }
1146
- class xc {
1146
+ class Sc {
1147
1147
  constructor(t = 0, e = 0) {
1148
1148
  d(this, "min");
1149
1149
  d(this, "max");
@@ -1169,7 +1169,7 @@ let DA = class {
1169
1169
  d(this, "xInterval");
1170
1170
  d(this, "yInterval");
1171
1171
  d(this, "isRectangle", !0);
1172
- this.min = t, this.max = e, this.xInterval = new xc(this.min.x, this.max.x), this.yInterval = new xc(this.min.y, this.max.y);
1172
+ this.min = t, this.max = e, this.xInterval = new Sc(this.min.x, this.max.x), this.yInterval = new Sc(this.min.y, this.max.y);
1173
1173
  }
1174
1174
  /** 是否与矩形是否重叠 */
1175
1175
  isOverlapWithRectangle(t) {
@@ -1214,7 +1214,7 @@ function OA(n) {
1214
1214
  if (n)
1215
1215
  return Array.isArray(n) ? typeof n[0] == "number" ? Ue(n) : n.map(Ue) : Ue(n);
1216
1216
  }
1217
- function Nl(n, t, e) {
1217
+ function Gl(n, t, e) {
1218
1218
  const { x: i, y: s, z: o } = t.clone().project(n);
1219
1219
  return o > 1 ? void 0 : {
1220
1220
  leftPx: (i + 1) / 2 * e.x,
@@ -1237,7 +1237,7 @@ const Co = (n, t) => {
1237
1237
  return n;
1238
1238
  const e = new P.Vector3(), i = new P.Quaternion(), s = new P.Vector3();
1239
1239
  return t.decompose(e, i, s), n.clone().multiply(s).applyQuaternion(i).add(e);
1240
- }, Gl = /* @__PURE__ */ new Map();
1240
+ }, Wl = /* @__PURE__ */ new Map();
1241
1241
  class jA extends Cm {
1242
1242
  constructor(e) {
1243
1243
  super(e);
@@ -1246,10 +1246,10 @@ class jA extends Cm {
1246
1246
  get fromType() {
1247
1247
  var s, o;
1248
1248
  const e = this.workCode;
1249
- if (Gl.has(e))
1250
- return Gl.get(e);
1249
+ if (Wl.has(e))
1250
+ return Wl.get(e);
1251
1251
  const i = (o = (s = JSON.parse(this.work.raw.works[0])) == null ? void 0 : s.from_type) != null ? o : "vr";
1252
- return Gl.set(e, i), i;
1252
+ return Wl.set(e, i), i;
1253
1253
  }
1254
1254
  /**
1255
1255
  * @description 设置插件当前的 workCode
@@ -1309,7 +1309,7 @@ class jA extends Cm {
1309
1309
  return (i = this.observers) == null ? void 0 : i[e];
1310
1310
  }
1311
1311
  }
1312
- class cl extends Cm {
1312
+ class hl extends Cm {
1313
1313
  constructor(e) {
1314
1314
  super(e);
1315
1315
  d(this, "workUtil", new jA(this.five));
@@ -1333,23 +1333,23 @@ class cl extends Cm {
1333
1333
  }
1334
1334
  class Cr extends P.Raycaster {
1335
1335
  intersectObject(t, e = !0, i = []) {
1336
- return Sc(t, this, i, e), i.sort(Nu), i;
1336
+ return Dc(t, this, i, e), i.sort(Nu), i;
1337
1337
  }
1338
1338
  intersectObjects(t, e = !0, i = []) {
1339
1339
  for (let s = 0, o = t.length; s < o; s++)
1340
- Sc(t[s], this, i, e);
1340
+ Dc(t[s], this, i, e);
1341
1341
  return i.sort(Nu), i;
1342
1342
  }
1343
1343
  }
1344
1344
  function Nu(n, t) {
1345
1345
  return n.distance - t.distance;
1346
1346
  }
1347
- function Sc(n, t, e, i) {
1347
+ function Dc(n, t, e, i) {
1348
1348
  let s = !0;
1349
1349
  if (n.layers.test(t.layers) && n.raycast(t, e) === !1 && (s = !1), s === !0 && i === !0) {
1350
1350
  const o = n.children;
1351
1351
  for (let r = 0, a = o.length; r < a; r++)
1352
- Sc(o[r], t, e, !0);
1352
+ Dc(o[r], t, e, !0);
1353
1353
  }
1354
1354
  }
1355
1355
  function ph(n, t, e, i) {
@@ -1362,7 +1362,7 @@ function ph(n, t, e, i) {
1362
1362
  }
1363
1363
  const vn = new Cr();
1364
1364
  vn.params.Points.threshold = 0.02;
1365
- function ja(n, t) {
1365
+ function Ra(n, t) {
1366
1366
  if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
1367
1367
  return {
1368
1368
  observe: () => window.addEventListener("resize", n),
@@ -1376,7 +1376,7 @@ function ja(n, t) {
1376
1376
  };
1377
1377
  }
1378
1378
  }
1379
- function hl(n, t = 200) {
1379
+ function ul(n, t = 200) {
1380
1380
  let e;
1381
1381
  return function(...i) {
1382
1382
  e || (n(...i), e = setTimeout(function() {
@@ -1386,7 +1386,7 @@ function hl(n, t = 200) {
1386
1386
  }
1387
1387
  function gh(n, t) {
1388
1388
  let e = !1;
1389
- const i = hl(() => {
1389
+ const i = ul(() => {
1390
1390
  e || (e = !0, n.ready().then(() => {
1391
1391
  t(), e = !1;
1392
1392
  }));
@@ -1484,7 +1484,7 @@ class Hr {
1484
1484
  a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
1485
1485
  });
1486
1486
  var s, o, r;
1487
- this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new cl(t), this.originPosition = e ? Ue(e).clone() : void 0, this.transformedPosition = (o = this.originPosition) == null ? void 0 : o.clone(), this.positionsForRotate = (r = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : r.map((a) => Ue(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
1487
+ this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new hl(t), this.originPosition = e ? Ue(e).clone() : void 0, this.transformedPosition = (o = this.originPosition) == null ? void 0 : o.clone(), this.positionsForRotate = (r = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : r.map((a) => Ue(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
1488
1488
  const a = document.createElement("div");
1489
1489
  return a.classList.add("light-tag"), a.style.width = "0", a.style.height = "0", a.style.position = "absolute", i != null && i.disableOpacityTransition || (a.style.transition = "opacity 0.2s linear"), a;
1490
1490
  })(), this.addResizeListener(), this.show(), this.enable(), setTimeout(() => {
@@ -1574,7 +1574,7 @@ class Hr {
1574
1574
  this.container.style.left = "-100%", this.container.style.top = "-100%";
1575
1575
  return;
1576
1576
  }
1577
- const e = Nl(this.five.camera, this.transformedPosition, t);
1577
+ const e = Gl(this.five.camera, this.transformedPosition, t);
1578
1578
  if (!e) {
1579
1579
  this.container.style.left = "-100%", this.container.style.top = "-100%";
1580
1580
  return;
@@ -1587,7 +1587,7 @@ class Hr {
1587
1587
  })(), s = (() => {
1588
1588
  if (this.positionsForRotate === void 0 || this.positionsForRotate.length !== 2)
1589
1589
  return 0;
1590
- const [r, a] = this.positionsForRotate, l = Nl(this.five.camera, r, t), c = Nl(this.five.camera, a, t);
1590
+ const [r, a] = this.positionsForRotate, l = Gl(this.five.camera, r, t), c = Gl(this.five.camera, a, t);
1591
1591
  if (!l || !c)
1592
1592
  return 0;
1593
1593
  const h = l.leftPx > c.leftPx ? c : l, u = l.leftPx > c.leftPx ? l : c, f = u.leftPx - h.leftPx, m = u.topPx - h.topPx;
@@ -1598,7 +1598,7 @@ class Hr {
1598
1598
  addResizeListener() {
1599
1599
  const t = this.five.getElement();
1600
1600
  if (t) {
1601
- const { observe: e, unobserve: i } = ja(this.onCameraUpdate, t);
1601
+ const { observe: e, unobserve: i } = Ra(this.onCameraUpdate, t);
1602
1602
  e(), this.disposers.push(i);
1603
1603
  }
1604
1604
  }
@@ -3048,11 +3048,11 @@ var bn = function(n) {
3048
3048
  };
3049
3049
  bn.prototype = Object.create(mo.prototype);
3050
3050
  bn.prototype.constructor = bn;
3051
- var Ra = function(n) {
3051
+ var _a = function(n) {
3052
3052
  bn.call(this, n);
3053
3053
  };
3054
- Ra.prototype = Object.create(bn.prototype);
3055
- Ra.prototype.constructor = Ra;
3054
+ _a.prototype = Object.create(bn.prototype);
3055
+ _a.prototype.constructor = _a;
3056
3056
  let HA = function(n) {
3057
3057
  let t = this, e, i, s, o, r = new nt(), a = {
3058
3058
  camera: { fov: 0, style: "" },
@@ -3150,7 +3150,7 @@ function FA(n, t, e = !0) {
3150
3150
  unobserve: () => s.unobserve(n)
3151
3151
  };
3152
3152
  }
3153
- class _a extends HA {
3153
+ class Ba extends HA {
3154
3154
  constructor(e) {
3155
3155
  super(e);
3156
3156
  d(this, "wrapper");
@@ -3222,14 +3222,14 @@ _i.style.height = "100%";
3222
3222
  _i.style.pointerEvents = "none";
3223
3223
  function vh(n) {
3224
3224
  var i, s, o, r, a;
3225
- const t = (a = (s = Wl(n.getElement())) != null ? s : Wl((i = n.getElement()) == null ? void 0 : i.parentElement)) != null ? a : Wl((r = (o = n.getElement()) == null ? void 0 : o.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
3225
+ const t = (a = (s = Ul(n.getElement())) != null ? s : Ul((i = n.getElement()) == null ? void 0 : i.parentElement)) != null ? a : Ul((r = (o = n.getElement()) == null ? void 0 : o.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
3226
3226
  if (e)
3227
3227
  return e.contains(_i) || t.parentElement.insertBefore(_i, t), _i;
3228
3228
  console.error(
3229
3229
  "Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
3230
3230
  );
3231
3231
  }
3232
- function Wl(n) {
3232
+ function Ul(n) {
3233
3233
  var a;
3234
3234
  if (!n)
3235
3235
  return;
@@ -3248,9 +3248,9 @@ function Fr(n) {
3248
3248
  return ir[2];
3249
3249
  (s = ir[1]) == null || s.dispose();
3250
3250
  }
3251
- const t = new _a("front");
3251
+ const t = new Ba("front");
3252
3252
  t.domElementWrapper.style.zIndex = "1";
3253
- const e = new _a("behind");
3253
+ const e = new Ba("behind");
3254
3254
  Ai(n).then(() => {
3255
3255
  var a;
3256
3256
  const o = (a = n.getElement()) == null ? void 0 : a.parentElement, r = vh(n);
@@ -3450,7 +3450,7 @@ class Gu extends cA {
3450
3450
  };
3451
3451
  }
3452
3452
  }
3453
- const Ul = {
3453
+ const Ql = {
3454
3454
  uniforms: P.UniformsUtils.merge([
3455
3455
  P.UniformsLib.common,
3456
3456
  P.UniformsLib.fog,
@@ -3670,9 +3670,9 @@ class km extends P.ShaderMaterial {
3670
3670
  // to be set by renderer
3671
3671
  constructor(e) {
3672
3672
  super({
3673
- uniforms: P.UniformsUtils.clone(Ul.uniforms),
3674
- vertexShader: Ul.vertexShader,
3675
- fragmentShader: Ul.fragmentShader,
3673
+ uniforms: P.UniformsUtils.clone(Ql.uniforms),
3674
+ vertexShader: Ql.vertexShader,
3675
+ fragmentShader: Ql.fragmentShader,
3676
3676
  clipping: !0
3677
3677
  // required for clipping support
3678
3678
  });
@@ -4042,7 +4042,7 @@ class bi extends di {
4042
4042
  }), this.doms.length > s.length && (this.doms.slice(s.length).forEach((o) => o.destroy()), this.doms.length = s.length);
4043
4043
  }
4044
4044
  }
4045
- class JA extends Ra {
4045
+ class JA extends _a {
4046
4046
  constructor() {
4047
4047
  super(...arguments);
4048
4048
  d(this, "isCSS3DSprite", !0);
@@ -4272,7 +4272,7 @@ function Jn(n) {
4272
4272
  }
4273
4273
  }
4274
4274
  const Uu = new P.Vector3(), to = () => !1;
4275
- class ul extends Ct {
4275
+ class dl extends Ct {
4276
4276
  constructor(e, i) {
4277
4277
  var r, a, l, c;
4278
4278
  super();
@@ -4928,16 +4928,16 @@ class Bm extends Dv {
4928
4928
  super(t, e);
4929
4929
  }
4930
4930
  }
4931
- const Ql = new P.Vector3();
4931
+ const Xl = new P.Vector3();
4932
4932
  class yb extends P.Sphere {
4933
4933
  expandByPoint(t) {
4934
4934
  if (this.isEmpty())
4935
4935
  return this.center.copy(t), this.radius = 0, this;
4936
- Ql.subVectors(t, this.center);
4937
- const e = Ql.lengthSq();
4936
+ Xl.subVectors(t, this.center);
4937
+ const e = Xl.lengthSq();
4938
4938
  if (e > this.radius * this.radius) {
4939
4939
  const i = Math.sqrt(e), s = (i - this.radius) * 0.5;
4940
- this.center.addScaledVector(Ql, s / i), this.radius += s;
4940
+ this.center.addScaledVector(Xl, s / i), this.radius += s;
4941
4941
  }
4942
4942
  return this;
4943
4943
  }
@@ -4983,12 +4983,12 @@ function Vm(n) {
4983
4983
  return wh(n, "sphere");
4984
4984
  }
4985
4985
  function Pb(n) {
4986
- return dl(n, "box3");
4986
+ return fl(n, "box3");
4987
4987
  }
4988
4988
  function Hm(n) {
4989
- return dl(n, "sphere");
4989
+ return fl(n, "sphere");
4990
4990
  }
4991
- function dl(n, t) {
4991
+ function fl(n, t) {
4992
4992
  const e = t === "box3" ? new P.Box3() : new yb(), i = new P.Vector3();
4993
4993
  if (n.updateWorldMatrix(!1, !1), n.traverse((s) => {
4994
4994
  var r;
@@ -5010,7 +5010,7 @@ function dl(n, t) {
5010
5010
  return e;
5011
5011
  }
5012
5012
  function wh(n, t) {
5013
- const e = dl(n, t);
5013
+ const e = fl(n, t);
5014
5014
  return e && e.applyMatrix4(Cb(n.matrixWorld.clone())), e;
5015
5015
  }
5016
5016
  const Cb = (n) => {
@@ -5039,7 +5039,7 @@ var Fm = {
5039
5039
  endDelay: 0,
5040
5040
  easing: "easeOutElastic(1, .5)",
5041
5041
  round: 0
5042
- }, Ib = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"], Ba = {
5042
+ }, Ib = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"], Va = {
5043
5043
  CSS: {},
5044
5044
  springs: {}
5045
5045
  };
@@ -5049,7 +5049,7 @@ function Zi(n, t, e) {
5049
5049
  function mr(n, t) {
5050
5050
  return n.indexOf(t) > -1;
5051
5051
  }
5052
- function Xl(n, t) {
5052
+ function Yl(n, t) {
5053
5053
  return n.apply(null, t);
5054
5054
  }
5055
5055
  var He = {
@@ -5112,7 +5112,7 @@ function Gm(n, t) {
5112
5112
  return l < 1 ? g = Math.exp(-g * l * a) * (h * Math.cos(c * g) + u * Math.sin(c * g)) : g = (h + u * g) * Math.exp(-g * a), p === 0 || p === 1 ? p : 1 - g;
5113
5113
  }
5114
5114
  function m() {
5115
- var p = Ba.springs[n];
5115
+ var p = Va.springs[n];
5116
5116
  if (p)
5117
5117
  return p;
5118
5118
  for (var g = 1 / 6, v = 0, b = 0; ; )
@@ -5122,7 +5122,7 @@ function Gm(n, t) {
5122
5122
  } else
5123
5123
  b = 0;
5124
5124
  var w = v * g * 1e3;
5125
- return Ba.springs[n] = w, w;
5125
+ return Va.springs[n] = w, w;
5126
5126
  }
5127
5127
  return t ? f : m;
5128
5128
  }
@@ -5256,11 +5256,11 @@ function Ch(n, t) {
5256
5256
  case "spring":
5257
5257
  return Gm(n, t);
5258
5258
  case "cubicBezier":
5259
- return Xl(Mb, s);
5259
+ return Yl(Mb, s);
5260
5260
  case "steps":
5261
- return Xl(Eb, s);
5261
+ return Yl(Eb, s);
5262
5262
  default:
5263
- return Xl(i, s);
5263
+ return Yl(i, s);
5264
5264
  }
5265
5265
  }
5266
5266
  function Um(n) {
@@ -5271,7 +5271,7 @@ function Um(n) {
5271
5271
  return;
5272
5272
  }
5273
5273
  }
5274
- function fl(n, t) {
5274
+ function pl(n, t) {
5275
5275
  for (var e = n.length, i = arguments.length >= 2 ? arguments[1] : void 0, s = [], o = 0; o < e; o++)
5276
5276
  if (o in n) {
5277
5277
  var r = n[o];
@@ -5279,9 +5279,9 @@ function fl(n, t) {
5279
5279
  }
5280
5280
  return s;
5281
5281
  }
5282
- function pl(n) {
5282
+ function gl(n) {
5283
5283
  return n.reduce(function(t, e) {
5284
- return t.concat(He.arr(e) ? pl(e) : e);
5284
+ return t.concat(He.arr(e) ? gl(e) : e);
5285
5285
  }, []);
5286
5286
  }
5287
5287
  function Xu(n) {
@@ -5298,13 +5298,13 @@ function Eh(n) {
5298
5298
  t[e] = n[e];
5299
5299
  return t;
5300
5300
  }
5301
- function Dc(n, t) {
5301
+ function Tc(n, t) {
5302
5302
  var e = Eh(n);
5303
5303
  for (var i in n)
5304
5304
  e[i] = t.hasOwnProperty(i) ? t[i] : n[i];
5305
5305
  return e;
5306
5306
  }
5307
- function gl(n, t) {
5307
+ function ml(n, t) {
5308
5308
  var e = Eh(n);
5309
5309
  for (var i in t)
5310
5310
  e[i] = He.und(n[i]) ? t[i] : n[i];
@@ -5353,7 +5353,7 @@ function Tb(n) {
5353
5353
  if (mr(n, "rotate") || mr(n, "skew"))
5354
5354
  return "deg";
5355
5355
  }
5356
- function Tc(n, t) {
5356
+ function Lc(n, t) {
5357
5357
  return He.fnc(n) ? n(t.target, t.id, t.total) : n;
5358
5358
  }
5359
5359
  function qi(n, t) {
@@ -5363,7 +5363,7 @@ function Mh(n, t, e) {
5363
5363
  var i = An(t);
5364
5364
  if (Ih([e, "deg", "rad", "turn"], i))
5365
5365
  return t;
5366
- var s = Ba.CSS[t + e];
5366
+ var s = Va.CSS[t + e];
5367
5367
  if (!He.und(s))
5368
5368
  return s;
5369
5369
  var o = 100, r = document.createElement(n.tagName), a = n.parentNode && n.parentNode !== document ? n.parentNode : document.body;
@@ -5371,7 +5371,7 @@ function Mh(n, t, e) {
5371
5371
  var l = o / r.offsetWidth;
5372
5372
  a.removeChild(r);
5373
5373
  var c = l * parseFloat(t);
5374
- return Ba.CSS[t + e] = c, c;
5374
+ return Va.CSS[t + e] = c, c;
5375
5375
  }
5376
5376
  function Qm(n, t, e) {
5377
5377
  if (t in n.style) {
@@ -5534,8 +5534,8 @@ function Yu(n, t) {
5534
5534
  };
5535
5535
  }
5536
5536
  function Th(n) {
5537
- var t = n ? pl(He.arr(n) ? n.map(Xu) : Xu(n)) : [];
5538
- return fl(t, function(e, i, s) {
5537
+ var t = n ? gl(He.arr(n) ? n.map(Xu) : Xu(n)) : [];
5538
+ return pl(t, function(e, i, s) {
5539
5539
  return s.indexOf(e) === i;
5540
5540
  });
5541
5541
  }
@@ -5556,11 +5556,11 @@ function Fb(n, t) {
5556
5556
  var l = He.obj(r) && !He.pth(r) ? r : { value: r };
5557
5557
  return He.und(l.delay) && (l.delay = a ? 0 : t.delay), He.und(l.endDelay) && (l.endDelay = a === o.length - 1 ? t.endDelay : 0), l;
5558
5558
  }).map(function(r) {
5559
- return gl(r, e);
5559
+ return ml(r, e);
5560
5560
  });
5561
5561
  }
5562
5562
  function Nb(n) {
5563
- for (var t = fl(pl(n.map(function(o) {
5563
+ for (var t = pl(gl(n.map(function(o) {
5564
5564
  return Object.keys(o);
5565
5565
  })), function(o) {
5566
5566
  return He.key(o);
@@ -5580,7 +5580,7 @@ function Nb(n) {
5580
5580
  }
5581
5581
  function Gb(n, t) {
5582
5582
  var e = [], i = t.keyframes;
5583
- i && (t = gl(Nb(i), t));
5583
+ i && (t = ml(Nb(i), t));
5584
5584
  for (var s in t)
5585
5585
  He.key(s) && e.push({
5586
5586
  name: s,
@@ -5591,9 +5591,9 @@ function Gb(n, t) {
5591
5591
  function Wb(n, t) {
5592
5592
  var e = {};
5593
5593
  for (var i in n) {
5594
- var s = Tc(n[i], t);
5594
+ var s = Lc(n[i], t);
5595
5595
  He.arr(s) && (s = s.map(function(o) {
5596
- return Tc(o, t);
5596
+ return Lc(o, t);
5597
5597
  }), s.length === 1 && (s = s[0])), e[i] = s;
5598
5598
  }
5599
5599
  return e.duration = parseFloat(e.duration), e.delay = parseFloat(e.delay), e;
@@ -5628,7 +5628,7 @@ function e0(n, t) {
5628
5628
  var e = Km(n);
5629
5629
  e.forEach(function(i) {
5630
5630
  for (var s in t) {
5631
- var o = Tc(t[s], i), r = i.target, a = An(o), l = xh(r, s, a, i), c = a || An(l), h = Sh(Ym(o, c), l), u = kh(r, s);
5631
+ var o = Lc(t[s], i), r = i.target, a = An(o), l = xh(r, s, a, i), c = a || An(l), h = Sh(Ym(o, c), l), u = kh(r, s);
5632
5632
  $m[u](r, s, h, i.transforms, !0);
5633
5633
  }
5634
5634
  });
@@ -5649,7 +5649,7 @@ function Qb(n, t) {
5649
5649
  }
5650
5650
  }
5651
5651
  function Xb(n, t) {
5652
- return fl(pl(n.map(function(e) {
5652
+ return pl(gl(n.map(function(e) {
5653
5653
  return t.map(function(i) {
5654
5654
  return Qb(e, i);
5655
5655
  });
@@ -5671,8 +5671,8 @@ function t0(n, t) {
5671
5671
  }
5672
5672
  var Zu = 0;
5673
5673
  function Yb(n) {
5674
- var t = Dc(Fm, n), e = Dc(Ph, n), i = Gb(e, n), s = Km(n.targets), o = Xb(s, i), r = t0(o, e), a = Zu;
5675
- return Zu++, gl(t, {
5674
+ var t = Tc(Fm, n), e = Tc(Ph, n), i = Gb(e, n), s = Km(n.targets), o = Xb(s, i), r = t0(o, e), a = Zu;
5675
+ return Zu++, ml(t, {
5676
5676
  id: a,
5677
5677
  children: [],
5678
5678
  animatables: s,
@@ -5685,7 +5685,7 @@ function Yb(n) {
5685
5685
  var ji = [], i0 = function() {
5686
5686
  var n;
5687
5687
  function t() {
5688
- !n && (!qu() || !dt.suspendWhenDocumentHidden) && ji.length > 0 && (n = requestAnimationFrame(e));
5688
+ !n && (!qu() || !ut.suspendWhenDocumentHidden) && ji.length > 0 && (n = requestAnimationFrame(e));
5689
5689
  }
5690
5690
  function e(s) {
5691
5691
  for (var o = ji.length, r = 0; r < o; ) {
@@ -5695,7 +5695,7 @@ var ji = [], i0 = function() {
5695
5695
  n = r > 0 ? requestAnimationFrame(e) : void 0;
5696
5696
  }
5697
5697
  function i() {
5698
- dt.suspendWhenDocumentHidden && (qu() ? n = cancelAnimationFrame(n) : (ji.forEach(
5698
+ ut.suspendWhenDocumentHidden && (qu() ? n = cancelAnimationFrame(n) : (ji.forEach(
5699
5699
  function(s) {
5700
5700
  return s._onDocumentVisibility();
5701
5701
  }
@@ -5706,7 +5706,7 @@ var ji = [], i0 = function() {
5706
5706
  function qu() {
5707
5707
  return !!document && document.hidden;
5708
5708
  }
5709
- function dt(n) {
5709
+ function ut(n) {
5710
5710
  n === void 0 && (n = {});
5711
5711
  var t = 0, e = 0, i = 0, s, o = 0, r = null;
5712
5712
  function a(w) {
@@ -5727,7 +5727,7 @@ function dt(n) {
5727
5727
  return l.reversed ? l.duration - w : w;
5728
5728
  }
5729
5729
  function u() {
5730
- t = 0, e = h(l.currentTime) * (1 / dt.speed);
5730
+ t = 0, e = h(l.currentTime) * (1 / ut.speed);
5731
5731
  }
5732
5732
  function f(w, M) {
5733
5733
  M && M.seek(w - M.timelineOffset);
@@ -5743,7 +5743,7 @@ function dt(n) {
5743
5743
  function p(w) {
5744
5744
  for (var M = 0, k = l.animations, L = k.length; M < L; ) {
5745
5745
  var D = k[M], N = D.animatable, z = D.tweens, _ = z.length - 1, A = z[_];
5746
- _ && (A = fl(z, function(ze) {
5746
+ _ && (A = pl(z, function(ze) {
5747
5747
  return w < ze.end;
5748
5748
  })[0] || A);
5749
5749
  for (var C = Zi(w - A.start - A.delay, 0, A.duration) / A.duration, I = isNaN(C) ? 1 : A.easing(C), E = A.to.strings, S = A.round, T = [], F = A.to.numbers.length, R = void 0, q = 0; q < F; q++) {
@@ -5783,7 +5783,7 @@ function dt(n) {
5783
5783
  }, l._onDocumentVisibility = u, l.set = function(w, M) {
5784
5784
  return e0(w, M), l;
5785
5785
  }, l.tick = function(w) {
5786
- i = w, t || (t = i), b((i + (e - t)) * dt.speed);
5786
+ i = w, t || (t = i), b((i + (e - t)) * ut.speed);
5787
5787
  }, l.seek = function(w) {
5788
5788
  b(h(w));
5789
5789
  }, l.pause = function() {
@@ -5844,7 +5844,7 @@ function qb(n, t) {
5844
5844
  }
5845
5845
  function Jb(n) {
5846
5846
  n === void 0 && (n = {});
5847
- var t = dt(n);
5847
+ var t = ut(n);
5848
5848
  return t.duration = 0, t.add = function(e, i) {
5849
5849
  var s = ji.indexOf(t), o = t.children;
5850
5850
  s > -1 && ji.splice(s, 1);
@@ -5853,31 +5853,31 @@ function Jb(n) {
5853
5853
  }
5854
5854
  for (var a = 0; a < o.length; a++)
5855
5855
  r(o[a]);
5856
- var l = gl(e, Dc(Ph, n));
5856
+ var l = ml(e, Tc(Ph, n));
5857
5857
  l.targets = l.targets || n.targets;
5858
5858
  var c = t.duration;
5859
5859
  l.autoplay = !1, l.direction = t.direction, l.timelineOffset = He.und(i) ? c : Sh(i, c), r(t), t.seek(l.timelineOffset);
5860
- var h = dt(l);
5860
+ var h = ut(l);
5861
5861
  r(h), o.push(h);
5862
5862
  var u = t0(o, n);
5863
5863
  return t.delay = u.delay, t.endDelay = u.endDelay, t.duration = u.duration, t.seek(0), t.reset(), t.autoplay && t.play(), t;
5864
5864
  }, t;
5865
5865
  }
5866
- dt.version = "3.2.1";
5867
- dt.speed = 1;
5868
- dt.suspendWhenDocumentHidden = !0;
5869
- dt.running = ji;
5870
- dt.remove = Zb;
5871
- dt.get = xh;
5872
- dt.set = e0;
5873
- dt.convertPx = Mh;
5874
- dt.path = Vb;
5875
- dt.setDashoffset = _b;
5876
- dt.stagger = qb;
5877
- dt.timeline = Jb;
5878
- dt.easing = Ch;
5879
- dt.penner = Wm;
5880
- dt.random = function(n, t) {
5866
+ ut.version = "3.2.1";
5867
+ ut.speed = 1;
5868
+ ut.suspendWhenDocumentHidden = !0;
5869
+ ut.running = ji;
5870
+ ut.remove = Zb;
5871
+ ut.get = xh;
5872
+ ut.set = e0;
5873
+ ut.convertPx = Mh;
5874
+ ut.path = Vb;
5875
+ ut.setDashoffset = _b;
5876
+ ut.stagger = qb;
5877
+ ut.timeline = Jb;
5878
+ ut.easing = Ch;
5879
+ ut.penner = Wm;
5880
+ ut.random = function(n, t) {
5881
5881
  return Math.floor(Math.random() * (t - n + 1)) + n;
5882
5882
  };
5883
5883
  const Ri = /* @__PURE__ */ new Map(), hr = /* @__PURE__ */ new Map();
@@ -5909,7 +5909,7 @@ function Ku(n) {
5909
5909
  i && (e instanceof HTMLElement && (e.style.opacity = i.opacity === void 0 ? "" : i.opacity, e.style.display = i.visible.display, e.style.visibility = i.visible.visibility), e.isObject3D && (e.visible = i.visible, e.material && (e.material instanceof P.ShaderMaterial ? (e.material.uniforms.opacity && (e.material.uniforms.opacity.value = i.opacity), e.material.transparent = i.transparent) : (e.material.opacity = i.opacity, e.material.transparent = i.transparent))), Ri.delete(e));
5910
5910
  });
5911
5911
  }
5912
- function ml(n, t) {
5912
+ function vl(n, t) {
5913
5913
  var a;
5914
5914
  const e = (a = t == null ? void 0 : t.traverseTHREEObject) != null ? a : !0;
5915
5915
  let i = Pn(n);
@@ -5919,7 +5919,7 @@ function ml(n, t) {
5919
5919
  c && s.push(c);
5920
5920
  })) : s.push(l)));
5921
5921
  }), i = [...new Set(s.filter(Boolean))], Kb(i);
5922
- const o = dt(H({
5922
+ const o = ut(H({
5923
5923
  targets: i,
5924
5924
  duration: 300,
5925
5925
  easing: "linear",
@@ -5953,7 +5953,7 @@ function ml(n, t) {
5953
5953
  }), o;
5954
5954
  }
5955
5955
  function s0(n, t) {
5956
- return ml(n, H({
5956
+ return vl(n, H({
5957
5957
  update: (e) => {
5958
5958
  var i;
5959
5959
  e.animatables.forEach((s) => {
@@ -6064,15 +6064,15 @@ class oy extends o0 {
6064
6064
  }), super.add(...e), this;
6065
6065
  }
6066
6066
  }
6067
- const ry = 3, Lc = "CSS3DRenderer", ur = `${Lc}@${ry}`, io = () => {
6067
+ const ry = 3, zc = "CSS3DRenderer", ur = `${zc}@${ry}`, io = () => {
6068
6068
  console.error(`${ur} is disposed`);
6069
6069
  }, Et = {
6070
6070
  css3DObjects: [],
6071
6071
  frontModeStore: {
6072
- css3DRenderer: new _a()
6072
+ css3DRenderer: new Ba()
6073
6073
  },
6074
6074
  behindModeStore: {
6075
- css3DRenderer: new _a()
6075
+ css3DRenderer: new Ba()
6076
6076
  }
6077
6077
  };
6078
6078
  function $u(n) {
@@ -6188,7 +6188,7 @@ class Mr {
6188
6188
  });
6189
6189
  d(this, "createObject", (t, e) => {
6190
6190
  const i = new Om(he(H({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6191
- return i.element.classList.add(`${Lc}__container`), i.element.id = `${Lc}__container--${i.uuid}`, i;
6191
+ return i.element.classList.add(`${zc}__container`), i.element.id = `${zc}__container--${i.uuid}`, i;
6192
6192
  });
6193
6193
  t && this.setScene(t);
6194
6194
  }
@@ -6442,7 +6442,7 @@ let cy = class extends Mr {
6442
6442
  }), this.created3DElementResults = [];
6443
6443
  }
6444
6444
  };
6445
- const vl = (n) => new cy(n);
6445
+ const Al = (n) => new cy(n);
6446
6446
  class hy {
6447
6447
  constructor(t) {
6448
6448
  d(this, "five");
@@ -6453,7 +6453,7 @@ class hy {
6453
6453
  d(this, "disposeCss3DObject");
6454
6454
  d(this, "state", { enabled: !1 });
6455
6455
  this.five = t;
6456
- const i = 0.4 / 2, o = vl(t).create3DDomContainer(
6456
+ const i = 0.4 / 2, o = Al(t).create3DDomContainer(
6457
6457
  [
6458
6458
  [-i, i, 0],
6459
6459
  [-i, -i, 0],
@@ -6556,13 +6556,13 @@ class my extends P.Object3D {
6556
6556
  (e = this.planeMesh.material.map) == null || e.dispose();
6557
6557
  }
6558
6558
  }
6559
- const Yl = Math.PI * 2;
6560
- function zc(n) {
6561
- return (n % Yl + Yl) % Yl;
6559
+ const Zl = Math.PI * 2;
6560
+ function Oc(n) {
6561
+ return (n % Zl + Zl) % Zl;
6562
6562
  }
6563
6563
  function Gr(n) {
6564
6564
  return {
6565
- longitude: zc(-Math.atan2(n.x, -n.z)),
6565
+ longitude: Oc(-Math.atan2(n.x, -n.z)),
6566
6566
  latitude: -Math.asin(n.y / 1)
6567
6567
  };
6568
6568
  }
@@ -6574,7 +6574,7 @@ function vy(n, t, e) {
6574
6574
  const i = Hm(t);
6575
6575
  if (!i)
6576
6576
  return;
6577
- const s = new cl(n), o = (w = e == null ? void 0 : e.scale) != null ? w : 1.4, r = i.center, a = n.camera.position.clone().sub(r).setY(0).normalize(), l = n.state.mode === "Mapview" ? n.state.fov : 60, h = Math.max(1.5, i.radius * o), u = h * (1 / Math.tan(P.MathUtils.degToRad(l / 2)));
6577
+ const s = new hl(n), o = (w = e == null ? void 0 : e.scale) != null ? w : 1.4, r = i.center, a = n.camera.position.clone().sub(r).setY(0).normalize(), l = n.state.mode === "Mapview" ? n.state.fov : 60, h = Math.max(1.5, i.radius * o), u = h * (1 / Math.tan(P.MathUtils.degToRad(l / 2)));
6578
6578
  let f = 0;
6579
6579
  const m = [], p = (L) => {
6580
6580
  const D = P.MathUtils.degToRad(L);
@@ -6613,7 +6613,7 @@ function a0(n, t, e) {
6613
6613
  var g, v;
6614
6614
  if (!t)
6615
6615
  return;
6616
- const i = (g = e == null ? void 0 : e.distance) != null ? g : 3, s = new cl(n), o = n.camera.position.clone().sub(t).setY(0).normalize(), r = n.state.mode === "Mapview" ? n.state.fov : 60, a = i, l = a * Math.cos(P.MathUtils.degToRad(r / 2)), c = a * Math.sin(P.MathUtils.degToRad(r / 2));
6616
+ const i = (g = e == null ? void 0 : e.distance) != null ? g : 3, s = new hl(n), o = n.camera.position.clone().sub(t).setY(0).normalize(), r = n.state.mode === "Mapview" ? n.state.fov : 60, a = i, l = a * Math.cos(P.MathUtils.degToRad(r / 2)), c = a * Math.sin(P.MathUtils.degToRad(r / 2));
6617
6617
  let h = 0;
6618
6618
  const u = [], f = (b) => {
6619
6619
  const w = P.MathUtils.degToRad(b);
@@ -6899,7 +6899,7 @@ function c0(n) {
6899
6899
  function Lh(n, t) {
6900
6900
  return c0(t) ? t : `${n}${t}`;
6901
6901
  }
6902
- class Ls extends ll {
6902
+ class Ls extends cl {
6903
6903
  constructor() {
6904
6904
  super(...arguments);
6905
6905
  d(this, "disposeMethods", []);
@@ -6952,10 +6952,10 @@ function wy() {
6952
6952
  });
6953
6953
  });
6954
6954
  }
6955
- function Va(n) {
6955
+ function Ha(n) {
6956
6956
  return Object.prototype.toString.call(n) === "[object Object]";
6957
6957
  }
6958
- function Al(n, t) {
6958
+ function bl(n, t) {
6959
6959
  return n === t ? !0 : typeof n != typeof t ? !1 : !!(Number.isNaN(n) && Number.isNaN(t));
6960
6960
  }
6961
6961
  function Py(n, t) {
@@ -6964,7 +6964,7 @@ function Py(n, t) {
6964
6964
  return !1;
6965
6965
  for (let s = 0, o = e.length; s < o; s++) {
6966
6966
  const r = e[s];
6967
- if (!Al(n[r], t[r]))
6967
+ if (!bl(n[r], t[r]))
6968
6968
  return !1;
6969
6969
  }
6970
6970
  return !0;
@@ -6973,15 +6973,15 @@ function Cy(n, t) {
6973
6973
  if (n.length !== t.length)
6974
6974
  return !1;
6975
6975
  for (let e = 0, i = n.length; e < i; e++)
6976
- if (!Al(n[e], t[e]))
6976
+ if (!bl(n[e], t[e]))
6977
6977
  return !1;
6978
6978
  return !0;
6979
6979
  }
6980
6980
  function Iy(n, t) {
6981
- return Al(n, t) ? !0 : Va(n) && Va(t) ? Py(n, t) : Array.isArray(n) && Array.isArray(t) ? Cy(n, t) : !1;
6981
+ return bl(n, t) ? !0 : Ha(n) && Ha(t) ? Py(n, t) : Array.isArray(n) && Array.isArray(t) ? Cy(n, t) : !1;
6982
6982
  }
6983
6983
  function zh(n, t) {
6984
- return Al(n, t) ? !0 : Va(n) && Va(t) ? My(n, t) : Array.isArray(n) && Array.isArray(t) ? Ey(n, t) : !1;
6984
+ return bl(n, t) ? !0 : Ha(n) && Ha(t) ? My(n, t) : Array.isArray(n) && Array.isArray(t) ? Ey(n, t) : !1;
6985
6985
  }
6986
6986
  function Ey(n, t) {
6987
6987
  if (n.length !== t.length)
@@ -7147,7 +7147,7 @@ class h0 extends hA {
7147
7147
  };
7148
7148
  }
7149
7149
  }
7150
- function Zl(n, t, e = new ge(1, 1, 1), i = !1) {
7150
+ function ql(n, t, e = new ge(1, 1, 1), i = !1) {
7151
7151
  const s = new h0(n, t);
7152
7152
  return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
7153
7153
  }
@@ -7168,17 +7168,17 @@ const eS = (n) => {
7168
7168
  const s = (h, u = 2, f = 0.1) => {
7169
7169
  const m = u / 2, g = c(h, f), v = new mn();
7170
7170
  v.add(
7171
- Zl(
7171
+ ql(
7172
7172
  new ge(g.x + m, g.y, g.z),
7173
7173
  new ge(g.x - m, g.y, g.z),
7174
7174
  new ge(1, 0, 0)
7175
7175
  ),
7176
- Zl(
7176
+ ql(
7177
7177
  new ge(g.x, g.y + m, g.z),
7178
7178
  new ge(g.x, g.y - m, g.z),
7179
7179
  new ge(0, 1, 0)
7180
7180
  ),
7181
- Zl(
7181
+ ql(
7182
7182
  new ge(g.x, g.y, g.z + m),
7183
7183
  new ge(g.x, g.y, g.z - m),
7184
7184
  new ge(0, 0, 1)
@@ -7406,7 +7406,7 @@ function v0(n, t, { bubbles: e = !1, cancelable: i = !1 } = {}) {
7406
7406
  const s = document.createEvent("CustomEvent");
7407
7407
  return s.initCustomEvent(n, e, i, t), s;
7408
7408
  }
7409
- class Ha {
7409
+ class Fa {
7410
7410
  constructor(t = !1) {
7411
7411
  this.is_svg = !1, this.is_svg = t, this.e = this.n = null;
7412
7412
  }
@@ -7430,8 +7430,8 @@ class Ha {
7430
7430
  this.n.forEach(Q);
7431
7431
  }
7432
7432
  }
7433
- const Fa = /* @__PURE__ */ new Map();
7434
- let Na = 0;
7433
+ const Na = /* @__PURE__ */ new Map();
7434
+ let Ga = 0;
7435
7435
  function Oy(n) {
7436
7436
  let t = 5381, e = n.length;
7437
7437
  for (; e--; )
@@ -7440,9 +7440,9 @@ function Oy(n) {
7440
7440
  }
7441
7441
  function jy(n, t) {
7442
7442
  const e = { stylesheet: Ty(t), rules: {} };
7443
- return Fa.set(n, e), e;
7443
+ return Na.set(n, e), e;
7444
7444
  }
7445
- function Ga(n, t, e, i, s, o, r, a = 0) {
7445
+ function Wa(n, t, e, i, s, o, r, a = 0) {
7446
7446
  const l = 16.666 / i;
7447
7447
  let c = `{
7448
7448
  `;
@@ -7452,24 +7452,24 @@ function Ga(n, t, e, i, s, o, r, a = 0) {
7452
7452
  `;
7453
7453
  }
7454
7454
  const h = c + `100% {${r(e, 1 - e)}}
7455
- }`, u = `__svelte_${Oy(h)}_${a}`, f = _h(n), { stylesheet: m, rules: p } = Fa.get(f) || jy(f, n);
7455
+ }`, u = `__svelte_${Oy(h)}_${a}`, f = _h(n), { stylesheet: m, rules: p } = Na.get(f) || jy(f, n);
7456
7456
  p[u] || (p[u] = !0, m.insertRule(`@keyframes ${u} ${h}`, m.cssRules.length));
7457
7457
  const g = n.style.animation || "";
7458
- return n.style.animation = `${g ? `${g}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`, Na += 1, u;
7458
+ return n.style.animation = `${g ? `${g}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`, Ga += 1, u;
7459
7459
  }
7460
- function Wa(n, t) {
7460
+ function Ua(n, t) {
7461
7461
  const e = (n.style.animation || "").split(", "), i = e.filter(
7462
7462
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
7463
7463
  // remove all Svelte animations
7464
7464
  ), s = e.length - i.length;
7465
- s && (n.style.animation = i.join(", "), Na -= s, Na || Ry());
7465
+ s && (n.style.animation = i.join(", "), Ga -= s, Ga || Ry());
7466
7466
  }
7467
7467
  function Ry() {
7468
7468
  jh(() => {
7469
- Na || (Fa.forEach((n) => {
7469
+ Ga || (Na.forEach((n) => {
7470
7470
  const { ownerNode: t } = n.stylesheet;
7471
7471
  t && Q(t);
7472
- }), Fa.clear());
7472
+ }), Na.clear());
7473
7473
  });
7474
7474
  }
7475
7475
  let xr;
@@ -7506,7 +7506,7 @@ function as() {
7506
7506
  return !0;
7507
7507
  };
7508
7508
  }
7509
- function Ua(n, t) {
7509
+ function Qa(n, t) {
7510
7510
  return rs().$$.context.set(n, t), t;
7511
7511
  }
7512
7512
  function $i(n) {
@@ -7518,10 +7518,10 @@ function wn(n, t) {
7518
7518
  }
7519
7519
  const ao = [], qe = [];
7520
7520
  let bo = [];
7521
- const Oc = [], b0 = /* @__PURE__ */ Promise.resolve();
7522
- let jc = !1;
7521
+ const jc = [], b0 = /* @__PURE__ */ Promise.resolve();
7522
+ let Rc = !1;
7523
7523
  function y0() {
7524
- jc || (jc = !0, b0.then(fn));
7524
+ Rc || (Rc = !0, b0.then(fn));
7525
7525
  }
7526
7526
  function nd() {
7527
7527
  return y0(), b0;
@@ -7529,10 +7529,10 @@ function nd() {
7529
7529
  function At(n) {
7530
7530
  bo.push(n);
7531
7531
  }
7532
- function bl(n) {
7533
- Oc.push(n);
7532
+ function yl(n) {
7533
+ jc.push(n);
7534
7534
  }
7535
- const ql = /* @__PURE__ */ new Set();
7535
+ const Jl = /* @__PURE__ */ new Set();
7536
7536
  let no = 0;
7537
7537
  function fn() {
7538
7538
  if (no !== 0)
@@ -7551,13 +7551,13 @@ function fn() {
7551
7551
  qe.pop()();
7552
7552
  for (let t = 0; t < bo.length; t += 1) {
7553
7553
  const e = bo[t];
7554
- ql.has(e) || (ql.add(e), e());
7554
+ Jl.has(e) || (Jl.add(e), e());
7555
7555
  }
7556
7556
  bo.length = 0;
7557
7557
  } while (ao.length);
7558
- for (; Oc.length; )
7559
- Oc.pop()();
7560
- jc = !1, ql.clear(), gn(n);
7558
+ for (; jc.length; )
7559
+ jc.pop()();
7560
+ Rc = !1, Jl.clear(), gn(n);
7561
7561
  }
7562
7562
  function _y(n) {
7563
7563
  if (n.fragment !== null) {
@@ -7610,11 +7610,11 @@ function ls(n, t, e) {
7610
7610
  const i = { direction: "in" };
7611
7611
  let s = t(n, e, i), o = !1, r, a, l = 0;
7612
7612
  function c() {
7613
- r && Wa(n, r);
7613
+ r && Ua(n, r);
7614
7614
  }
7615
7615
  function h() {
7616
7616
  const { delay: f = 0, duration: m = 300, easing: p = yn, tick: g = oe, css: v } = s || Fh;
7617
- v && (r = Ga(n, 0, 1, m, f, p, v, l++)), g(0, 1);
7617
+ v && (r = Wa(n, 0, 1, m, f, p, v, l++)), g(0, 1);
7618
7618
  const b = Oh() + f, w = b + m;
7619
7619
  a && a.abort(), o = !0, At(() => Es(n, !0, "start")), a = Rh((M) => {
7620
7620
  if (o) {
@@ -7631,7 +7631,7 @@ function ls(n, t, e) {
7631
7631
  let u = !1;
7632
7632
  return {
7633
7633
  start() {
7634
- u || (u = !0, Wa(n), ni(s) ? (s = s(i), Hh().then(h)) : h());
7634
+ u || (u = !0, Ua(n), ni(s) ? (s = s(i), Hh().then(h)) : h());
7635
7635
  },
7636
7636
  invalidate() {
7637
7637
  u = !1;
@@ -7648,7 +7648,7 @@ function Ho(n, t, e) {
7648
7648
  a.r += 1;
7649
7649
  function l() {
7650
7650
  const { delay: c = 0, duration: h = 300, easing: u = yn, tick: f = oe, css: m } = s || Fh;
7651
- m && (r = Ga(n, 1, 0, h, c, u, m));
7651
+ m && (r = Wa(n, 1, 0, h, c, u, m));
7652
7652
  const p = Oh() + c, g = p + h;
7653
7653
  At(() => Es(n, !1, "start")), Rh((v) => {
7654
7654
  if (o) {
@@ -7666,7 +7666,7 @@ function Ho(n, t, e) {
7666
7666
  s = s(i), l();
7667
7667
  }) : l(), {
7668
7668
  end(c) {
7669
- c && s.tick && s.tick(1, 0), o && (r && Wa(n, r), o = !1);
7669
+ c && s.tick && s.tick(1, 0), o && (r && Ua(n, r), o = !1);
7670
7670
  }
7671
7671
  };
7672
7672
  }
@@ -7674,7 +7674,7 @@ function Di(n, t, e, i) {
7674
7674
  const s = { direction: "both" };
7675
7675
  let o = t(n, e, s), r = i ? 0 : 1, a = null, l = null, c = null;
7676
7676
  function h() {
7677
- c && Wa(n, c);
7677
+ c && Ua(n, c);
7678
7678
  }
7679
7679
  function u(m, p) {
7680
7680
  const g = m.b - r;
@@ -7693,8 +7693,8 @@ function Di(n, t, e, i) {
7693
7693
  start: Oh() + p,
7694
7694
  b: m
7695
7695
  };
7696
- m || (M.group = Ji, Ji.r += 1), a || l ? l = M : (w && (h(), c = Ga(n, r, m, g, p, v, w)), m && b(0, 1), a = u(M, g), At(() => Es(n, m, "start")), Rh((k) => {
7697
- if (l && k > l.start && (a = u(l, g), l = null, Es(n, a.b, "start"), w && (h(), c = Ga(n, r, a.b, a.duration, 0, v, o.css))), a) {
7696
+ m || (M.group = Ji, Ji.r += 1), a || l ? l = M : (w && (h(), c = Wa(n, r, m, g, p, v, w)), m && b(0, 1), a = u(M, g), At(() => Es(n, m, "start")), Rh((k) => {
7697
+ if (l && k > l.start && (a = u(l, g), l = null, Es(n, a.b, "start"), w && (h(), c = Wa(n, r, a.b, a.duration, 0, v, o.css))), a) {
7698
7698
  if (k >= a.end)
7699
7699
  b(r = a.b, 1 - r), Es(n, a.b, "end"), l || (a.b ? h() : --a.group.r || pt(a.group.c)), a = null;
7700
7700
  else if (k >= a.start) {
@@ -7716,7 +7716,7 @@ function Di(n, t, e, i) {
7716
7716
  }
7717
7717
  };
7718
7718
  }
7719
- function Qa(n, t) {
7719
+ function Xa(n, t) {
7720
7720
  const e = t.token = {};
7721
7721
  function i(s, o, r, a) {
7722
7722
  if (t.token !== e)
@@ -7809,7 +7809,7 @@ function Ot(n, t) {
7809
7809
  function P0(n) {
7810
7810
  return typeof n == "object" && n !== null ? n : {};
7811
7811
  }
7812
- function yl(n, t, e) {
7812
+ function wl(n, t, e) {
7813
7813
  const i = n.$$.props[t];
7814
7814
  i !== void 0 && (n.$$.bound[i] = e, e(n.$$.ctx[i]));
7815
7815
  }
@@ -7886,7 +7886,7 @@ class Ee {
7886
7886
  this.$$set && !Dy(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
7887
7887
  }
7888
7888
  }
7889
- const Fy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77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 @@ class Ny {
7981
7981
  this.debounceTimer && (clearTimeout(this.debounceTimer), this.debounceTimer = null), typeof window != "undefined" && window.removeEventListener("resize", this.handleResize), this.subscribers = [], this.isInitialized = !1;
7982
7982
  }
7983
7983
  }
7984
- let Jl = null;
7985
- const Gy = () => (Jl || (Jl = new Ny()), Jl), Ur = () => typeof window == "undefined" ? "md" : Gy();
7984
+ let Kl = null;
7985
+ const Gy = () => (Kl || (Kl = new Ny()), Kl), Ur = () => typeof window == "undefined" ? "md" : Gy();
7986
7986
  function Yt(n, t = 16) {
7987
7987
  return (Number(typeof n == "string" ? n.replace(/px/g, "") : n) / t).toFixed(5) + "rem";
7988
7988
  }
@@ -8109,7 +8109,7 @@ function Qy(n, t, e) {
8109
8109
  }, n.$$.update = () => {
8110
8110
  var m;
8111
8111
  n.$$.dirty & /*fontSize*/
8112
- 64 && e(9, i = wl[u]), n.$$.dirty & /*fontConfig*/
8112
+ 64 && e(9, i = Pl[u]), n.$$.dirty & /*fontConfig*/
8113
8113
  512 && e(3, s = Yt((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
8114
8114
  512 && e(8, o = ((m = i == null ? void 0 : i.padding) == null ? void 0 : m.room) || [6, 5]), n.$$.dirty & /*padding*/
8115
8115
  256 && e(2, r = `${Yt(o[1])} ${Yt(o[0])}`), n.$$.dirty & /*fontConfig, padding*/
@@ -8179,10 +8179,10 @@ var I0 = function() {
8179
8179
  }, t;
8180
8180
  }()
8181
8181
  );
8182
- }(), Rc = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Xa = function() {
8182
+ }(), _c = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Ya = function() {
8183
8183
  return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
8184
8184
  }(), Yy = function() {
8185
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Xa) : function(n) {
8185
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ya) : function(n) {
8186
8186
  return setTimeout(function() {
8187
8187
  return n(Date.now());
8188
8188
  }, 1e3 / 60);
@@ -8230,14 +8230,14 @@ var Jy = 20, Ky = ["top", "right", "bottom", "left", "width", "height", "size",
8230
8230
  return e.broadcastActive();
8231
8231
  }), t.length > 0;
8232
8232
  }, n.prototype.connect_ = function() {
8233
- !Rc || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), $y ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
8233
+ !_c || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), $y ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
8234
8234
  attributes: !0,
8235
8235
  childList: !0,
8236
8236
  characterData: !0,
8237
8237
  subtree: !0
8238
8238
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
8239
8239
  }, n.prototype.disconnect_ = function() {
8240
- !Rc || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
8240
+ !_c || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
8241
8241
  }, n.prototype.onTransitionEnd_ = function(t) {
8242
8242
  var e = t.propertyName, i = e === void 0 ? "" : e, s = Ky.some(function(o) {
8243
8243
  return !!~i.indexOf(o);
@@ -8260,9 +8260,9 @@ var Jy = 20, Ky = ["top", "right", "bottom", "left", "width", "height", "size",
8260
8260
  return n;
8261
8261
  }, xo = function(n) {
8262
8262
  var t = n && n.ownerDocument && n.ownerDocument.defaultView;
8263
- return t || Xa;
8264
- }, M0 = Pl(0, 0, 0, 0);
8265
- function Ya(n) {
8263
+ return t || Ya;
8264
+ }, M0 = Cl(0, 0, 0, 0);
8265
+ function Za(n) {
8266
8266
  return parseFloat(n) || 0;
8267
8267
  }
8268
8268
  function sd(n) {
@@ -8270,30 +8270,30 @@ function sd(n) {
8270
8270
  t[e - 1] = arguments[e];
8271
8271
  return t.reduce(function(i, s) {
8272
8272
  var o = n["border-" + s + "-width"];
8273
- return i + Ya(o);
8273
+ return i + Za(o);
8274
8274
  }, 0);
8275
8275
  }
8276
8276
  function tw(n) {
8277
8277
  for (var t = ["top", "right", "bottom", "left"], e = {}, i = 0, s = t; i < s.length; i++) {
8278
8278
  var o = s[i], r = n["padding-" + o];
8279
- e[o] = Ya(r);
8279
+ e[o] = Za(r);
8280
8280
  }
8281
8281
  return e;
8282
8282
  }
8283
8283
  function iw(n) {
8284
8284
  var t = n.getBBox();
8285
- return Pl(0, 0, t.width, t.height);
8285
+ return Cl(0, 0, t.width, t.height);
8286
8286
  }
8287
8287
  function nw(n) {
8288
8288
  var t = n.clientWidth, e = n.clientHeight;
8289
8289
  if (!t && !e)
8290
8290
  return M0;
8291
- var i = xo(n).getComputedStyle(n), s = tw(i), o = s.left + s.right, r = s.top + s.bottom, a = Ya(i.width), l = Ya(i.height);
8291
+ var i = xo(n).getComputedStyle(n), s = tw(i), o = s.left + s.right, r = s.top + s.bottom, a = Za(i.width), l = Za(i.height);
8292
8292
  if (i.boxSizing === "border-box" && (Math.round(a + o) !== t && (a -= sd(i, "left", "right") + o), Math.round(l + r) !== e && (l -= sd(i, "top", "bottom") + r)), !ow(n)) {
8293
8293
  var c = Math.round(a + o) - t, h = Math.round(l + r) - e;
8294
8294
  Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
8295
8295
  }
8296
- return Pl(s.left, s.top, a, l);
8296
+ return Cl(s.left, s.top, a, l);
8297
8297
  }
8298
8298
  var sw = function() {
8299
8299
  return typeof SVGGraphicsElement != "undefined" ? function(n) {
@@ -8306,7 +8306,7 @@ function ow(n) {
8306
8306
  return n === xo(n).document.documentElement;
8307
8307
  }
8308
8308
  function rw(n) {
8309
- return Rc ? sw(n) ? iw(n) : nw(n) : M0;
8309
+ return _c ? sw(n) ? iw(n) : nw(n) : M0;
8310
8310
  }
8311
8311
  function aw(n) {
8312
8312
  var t = n.x, e = n.y, i = n.width, s = n.height, o = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, r = Object.create(o.prototype);
@@ -8321,14 +8321,14 @@ function aw(n) {
8321
8321
  left: t
8322
8322
  }), r;
8323
8323
  }
8324
- function Pl(n, t, e, i) {
8324
+ function Cl(n, t, e, i) {
8325
8325
  return { x: n, y: t, width: e, height: i };
8326
8326
  }
8327
8327
  var lw = (
8328
8328
  /** @class */
8329
8329
  function() {
8330
8330
  function n(t) {
8331
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Pl(0, 0, 0, 0), this.target = t;
8331
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Cl(0, 0, 0, 0), this.target = t;
8332
8332
  }
8333
8333
  return n.prototype.isActive = function() {
8334
8334
  var t = rw(this.target);
@@ -8418,7 +8418,7 @@ var lw = (
8418
8418
  };
8419
8419
  });
8420
8420
  var uw = function() {
8421
- return typeof Xa.ResizeObserver != "undefined" ? Xa.ResizeObserver : x0;
8421
+ return typeof Ya.ResizeObserver != "undefined" ? Ya.ResizeObserver : x0;
8422
8422
  }();
8423
8423
  function In(n) {
8424
8424
  new uw((e, i) => {
@@ -8749,7 +8749,7 @@ function ad(n, { delay: t = 0, duration: e = 400, easing: i = Sr, x: s = 0, y: o
8749
8749
  opacity: ${l - h * v}`
8750
8750
  };
8751
8751
  }
8752
- function Za(n, { delay: t = 0, speed: e, duration: i, easing: s = So } = {}) {
8752
+ function qa(n, { delay: t = 0, speed: e, duration: i, easing: s = So } = {}) {
8753
8753
  let o = n.getTotalLength();
8754
8754
  const r = getComputedStyle(n);
8755
8755
  return r.strokeLinecap !== "butt" && (o += parseInt(r.strokeWidth)), i === void 0 ? e === void 0 ? i = 800 : i = o / e : typeof i == "function" && (i = i(o)), {
@@ -8832,7 +8832,7 @@ function Iw(n) {
8832
8832
  let t, e, i, s;
8833
8833
  return {
8834
8834
  c() {
8835
- t = U("div"), e = new Ha(!1), i = ae(), s = new Ha(!1), e.a = i, s.a = null, y(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
8835
+ t = U("div"), e = new Fa(!1), i = ae(), s = new Fa(!1), e.a = i, s.a = null, y(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
8836
8836
  },
8837
8837
  m(o, r) {
8838
8838
  Y(o, t, r), e.m(
@@ -9225,7 +9225,7 @@ function Fw(n) {
9225
9225
  ), i;
9226
9226
  return {
9227
9227
  c() {
9228
- t = new Ha(!1), i = Ge(), t.a = i;
9228
+ t = new Fa(!1), i = Ge(), t.a = i;
9229
9229
  },
9230
9230
  m(s, o) {
9231
9231
  t.m(e, s, o), Y(s, i, o);
@@ -9567,7 +9567,7 @@ function Uw(n, t, e) {
9567
9567
  }, n.$$.update = () => {
9568
9568
  var ce, Te;
9569
9569
  n.$$.dirty[0] & /*fontSize*/
9570
- 67108864 && e(28, i = wl[S]), n.$$.dirty[0] & /*getLabelElement, room*/
9570
+ 67108864 && e(28, i = Pl[S]), n.$$.dirty[0] & /*getLabelElement, room*/
9571
9571
  48 && e(18, s = I == null ? void 0 : I(z)), n.$$.dirty[0] & /*room, getRoomAreaText*/
9572
9572
  8388624 && e(17, o = z.size ? A(z.size) : ""), n.$$.dirty[0] & /*room, getRoomDimensionText*/
9573
9573
  16777232 && e(16, r = z != null && z.dimension ? C((ce = z.dimension) == null ? void 0 : ce.width, (Te = z.dimension) == null ? void 0 : Te.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
@@ -10482,10 +10482,10 @@ function u2(n) {
10482
10482
  }
10483
10483
  };
10484
10484
  }
10485
- const Kl = 6;
10485
+ const $l = 6;
10486
10486
  function d2(n, t, e) {
10487
10487
  let i, { path: s } = t;
10488
- const o = Kl * 2, r = `M0 ${Kl} h ${o} M${Kl} 0 v ${o}`;
10488
+ const o = $l * 2, r = `M0 ${$l} h ${o} M${$l} 0 v ${o}`;
10489
10489
  return n.$$set = (a) => {
10490
10490
  "path" in a && e(3, s = a.path);
10491
10491
  }, n.$$.update = () => {
@@ -11327,7 +11327,7 @@ class _2 extends Ee {
11327
11327
  }
11328
11328
  }
11329
11329
  const is = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAC2VBMVEUAAACCnP+Dn/+Enf+HqP+Gp/+Fof+Gpf+IrP+Lsf+Dof+Cmv+Lsv+Mtf+Eo/+Bmf+JrP+Hqf+Env+Krv+Fo/+Pu/+Ms/+Qvv+Hqf+RwP+KsP+Fpf+Mtv+Gov+Bnf+Qv/+Nt/+Krv+Ho/+Rwf+Ouv+Emv+Amv+SxP+Sw/+NuP+Mtf/G0f6huP+Ot/+JrP+Jqv+Dnv+crf6Uqv////+QvP+PvP+Ms//J0/3p9/+Ux/+Ouf+Krf+Iqf+Fpv+/zf6WsP+MpP+RqP+Uyf+Jy//V3P6Yuf+Qqf+Rqv/5/f+Sxf+Jy/////+Lx/+Ouf+Nw/+Owv+PwP+Jr/+Jq/+VvP+Vuv/c4v+Fnf+btP+InP+Blf/3+P6Txf+Jzf+Jyf+NxP+Qwf/t8/6Svv+Tvf/O1f7Czv3T2f6cu/+qvP7a4fvo7v77/v/o9//p9//0+v////+Vy//w9//k8/+B1f/v9/+D0/+UyP/u9v+D0v/i8f+F0v/g7/+G0P+KzP+Hz/////+Lx//s8/+Puf/h7P+Mxv/w9f7q8v/q8f2RwP/r8f6JrP/t8v6RvP/l6f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6OO0yDSI1IGdoQ0iY0a6Tt+06fKUDRQzqKw8Qlxr1AXrwNqwDvGBA+BrGUDc3d3Xr5+SQZj0E2ERqXIjPAJYNUbD18FoWEeDbHLPzLyQ4ePjQ5i3x1RCubfmpqkjMMNo6KOJ5uqe+f58C9GoaD29XyVSYS1h4DftKeWDDN4AbACZMZAsExEKghWUNKXWhlPfA2P1qjmUT556a9jmQotWi/VOFael1lR7ep4JfRZy8nhpwtG4wMMB/gdi9/nNH+vhezsmJ+fG5quX12fomHl6J+KFy88uA2RJyJPE4wkL4wIPBfgXxO5HxGN7zNw5W2bNnLZhio+OmaR3LD6tplrLfKeYAwX7/O6Dje/2dpniwuKiwoMHH+bn7723Z8/uHTu2fpg9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";
11330
- function Cl(n) {
11330
+ function Il(n) {
11331
11331
  return n * 180 / Math.PI;
11332
11332
  }
11333
11333
  function B2(n) {
@@ -11400,7 +11400,7 @@ function V2(n) {
11400
11400
  }
11401
11401
  function H2(n, t, e) {
11402
11402
  let { panoIndex: i } = t, { floorplanData: s } = t, { lastPanoramaLongitude: o } = t, { cameraImageUrl: r } = t;
11403
- const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", m = -Cl(o) + 45, p = document.body.clientWidth, g = document.body.clientHeight, b = `${(p < 500 || g < 500 ? 17 : 37) / 16}rem`;
11403
+ const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", m = -Il(o) + 45, p = document.body.clientWidth, g = document.body.clientHeight, b = `${(p < 500 || g < 500 ? 17 : 37) / 16}rem`;
11404
11404
  return n.$$set = (w) => {
11405
11405
  "panoIndex" in w && e(5, i = w.panoIndex), "floorplanData" in w && e(6, s = w.floorplanData), "lastPanoramaLongitude" in w && e(7, o = w.lastPanoramaLongitude), "cameraImageUrl" in w && e(0, r = w.cameraImageUrl);
11406
11406
  }, [
@@ -11492,7 +11492,7 @@ function U2(n) {
11492
11492
  function Q2(n, t, e) {
11493
11493
  var c;
11494
11494
  let { floorplanData: i } = t, { northDesc: s } = t;
11495
- const o = (c = i.entrance) == null ? void 0 : c.northRad, r = typeof o == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(o ? Cl(o) : 0) + 90}deg)`;
11495
+ const o = (c = i.entrance) == null ? void 0 : c.northRad, r = typeof o == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(o ? Il(o) : 0) + 90}deg)`;
11496
11496
  return n.$$set = (h) => {
11497
11497
  "floorplanData" in h && e(3, i = h.floorplanData), "northDesc" in h && e(0, s = h.northDesc);
11498
11498
  }, [s, r, l, i];
@@ -12720,7 +12720,7 @@ let cs = class {
12720
12720
  /**
12721
12721
  * @realsee/dnalogel 版本号
12722
12722
  */
12723
- d(this, "VERSION", "3.67.7-alpha.2");
12723
+ d(this, "VERSION", "3.67.7-alpha.3");
12724
12724
  d(this, "NAME");
12725
12725
  d(this, "five");
12726
12726
  d(this, "workUtil");
@@ -12730,7 +12730,7 @@ let cs = class {
12730
12730
  */
12731
12731
  d(this, "hooks", new Ct());
12732
12732
  d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
12733
- this.five = t, this.fiveUtil = new cl(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
12733
+ this.five = t, this.fiveUtil = new hl(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
12734
12734
  }
12735
12735
  set workCode(t) {
12736
12736
  this.workUtil.workCode = t, this.onWorkCodeChange();
@@ -16572,7 +16572,7 @@ function M3(n, t, e) {
16572
16572
  function v(k) {
16573
16573
  e(9, m = a.work.observers[k].floorIndex);
16574
16574
  }
16575
- const b = hl(
16575
+ const b = ul(
16576
16576
  (k) => {
16577
16577
  e(8, f = k.longitude);
16578
16578
  },
@@ -17501,7 +17501,7 @@ const gS = (n, t) => new N3(n, t), mS = [
17501
17501
  { roomType: "100900000013", description: "衣" },
17502
17502
  { roomType: "100900000015", description: "商铺" },
17503
17503
  { roomType: "100900000016", description: "写字楼" }
17504
- ], $l = (n, t, e) => {
17504
+ ], ec = (n, t, e) => {
17505
17505
  const i = new P.Matrix4(), s = new P.Euler(n, t, e, "YXZ");
17506
17506
  return i.makeRotationFromEuler(s), i;
17507
17507
  }, G3 = (n, {
@@ -17511,7 +17511,7 @@ const gS = (n, t) => new N3(n, t), mS = [
17511
17511
  }) => {
17512
17512
  if (t && n.scale.set(t, t, t), e) {
17513
17513
  const [s, o, r] = e;
17514
- s && n.applyMatrix4($l(s, 0, 0)), o && n.applyMatrix4($l(0, o, 0)), r && n.applyMatrix4($l(0, 0, r));
17514
+ s && n.applyMatrix4(ec(s, 0, 0)), o && n.applyMatrix4(ec(0, o, 0)), r && n.applyMatrix4(ec(0, 0, r));
17515
17515
  }
17516
17516
  return i && n.position.set(i.x, i.y, i.z), n;
17517
17517
  };
@@ -17532,12 +17532,12 @@ function Yh(n, t) {
17532
17532
  for (var s; e.length && (s = e.shift()); )
17533
17533
  !e.length && t !== mi ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
17534
17534
  }
17535
- var ut = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
17535
+ var ht = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
17536
17536
  function ws(n) {
17537
17537
  var t = n.length, e = 0, i = Number.POSITIVE_INFINITY, s, o, r, a, l, c, h, u, f, m;
17538
17538
  for (u = 0; u < t; ++u)
17539
17539
  n[u] > e && (e = n[u]), n[u] < i && (i = n[u]);
17540
- for (s = 1 << e, o = new (ut ? Uint32Array : Array)(s), r = 1, a = 0, l = 2; r <= e; ) {
17540
+ for (s = 1 << e, o = new (ht ? Uint32Array : Array)(s), r = 1, a = 0, l = 2; r <= e; ) {
17541
17541
  for (u = 0; u < t; ++u)
17542
17542
  if (n[u] === r) {
17543
17543
  for (c = 0, h = a, f = 0; f < r; ++f)
@@ -17551,18 +17551,18 @@ function ws(n) {
17551
17551
  return [o, e, i];
17552
17552
  }
17553
17553
  function hs(n, t) {
17554
- switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = ut ? new Uint8Array(n) : n, this.m = !1, this.i = qa, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
17554
+ switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = ht ? new Uint8Array(n) : n, this.m = !1, this.i = Ja, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
17555
17555
  case Zh:
17556
- this.b = 32768, this.c = new (ut ? Uint8Array : Array)(32768 + this.h + 258);
17556
+ this.b = 32768, this.c = new (ht ? Uint8Array : Array)(32768 + this.h + 258);
17557
17557
  break;
17558
- case qa:
17559
- this.b = 0, this.c = new (ut ? Uint8Array : Array)(this.h), this.e = this.z, this.n = this.v, this.j = this.w;
17558
+ case Ja:
17559
+ this.b = 0, this.c = new (ht ? Uint8Array : Array)(this.h), this.e = this.z, this.n = this.v, this.j = this.w;
17560
17560
  break;
17561
17561
  default:
17562
17562
  throw Error("invalid inflate mode");
17563
17563
  }
17564
17564
  }
17565
- var Zh = 0, qa = 1, Xd = { t: Zh, s: qa };
17565
+ var Zh = 0, Ja = 1, Xd = { t: Zh, s: Ja };
17566
17566
  hs.prototype.k = function() {
17567
17567
  for (; !this.m; ) {
17568
17568
  var n = Ei(this, 3);
@@ -17580,7 +17580,7 @@ hs.prototype.k = function() {
17580
17580
  switch (this.i) {
17581
17581
  case Zh:
17582
17582
  for (; s + r > i.length; ) {
17583
- if (c = l - s, r -= c, ut)
17583
+ if (c = l - s, r -= c, ht)
17584
17584
  i.set(t.subarray(e, e + c), s), s += c, e += c;
17585
17585
  else
17586
17586
  for (; c--; )
@@ -17588,14 +17588,14 @@ hs.prototype.k = function() {
17588
17588
  this.b = s, i = this.e(), s = this.b;
17589
17589
  }
17590
17590
  break;
17591
- case qa:
17591
+ case Ja:
17592
17592
  for (; s + r > i.length; )
17593
17593
  i = this.e({ p: 2 });
17594
17594
  break;
17595
17595
  default:
17596
17596
  throw Error("invalid inflate mode");
17597
17597
  }
17598
- if (ut)
17598
+ if (ht)
17599
17599
  i.set(t.subarray(e, e + r), s), s += r, e += r;
17600
17600
  else
17601
17601
  for (; r--; )
@@ -17606,12 +17606,12 @@ hs.prototype.k = function() {
17606
17606
  this.j(U3, Q3);
17607
17607
  break;
17608
17608
  case 2:
17609
- for (var h = Ei(this, 5) + 257, u = Ei(this, 5) + 1, f = Ei(this, 4) + 4, m = new (ut ? Uint8Array : Array)(ec.length), p = mi, g = mi, v = mi, b = mi, w = mi, M = mi, k = mi, D = mi, L = mi, D = 0; D < f; ++D)
17610
- m[ec[D]] = Ei(this, 3);
17611
- if (!ut)
17609
+ for (var h = Ei(this, 5) + 257, u = Ei(this, 5) + 1, f = Ei(this, 4) + 4, m = new (ht ? Uint8Array : Array)(tc.length), p = mi, g = mi, v = mi, b = mi, w = mi, M = mi, k = mi, D = mi, L = mi, D = 0; D < f; ++D)
17610
+ m[tc[D]] = Ei(this, 3);
17611
+ if (!ht)
17612
17612
  for (D = f, f = m.length; D < f; ++D)
17613
- m[ec[D]] = 0;
17614
- for (p = ws(m), b = new (ut ? Uint8Array : Array)(h + u), D = 0, L = h + u; D < L; )
17613
+ m[tc[D]] = 0;
17614
+ for (p = ws(m), b = new (ht ? Uint8Array : Array)(h + u), D = 0, L = h + u; D < L; )
17615
17615
  switch (w = Dr(this, p), w) {
17616
17616
  case 16:
17617
17617
  for (k = 3 + Ei(this, 2); k--; )
@@ -17630,7 +17630,7 @@ hs.prototype.k = function() {
17630
17630
  default:
17631
17631
  M = b[D++] = w;
17632
17632
  }
17633
- g = ws(ut ? b.subarray(0, h) : b.slice(0, h)), v = ws(ut ? b.subarray(h) : b.slice(h)), this.j(g, v);
17633
+ g = ws(ht ? b.subarray(0, h) : b.slice(0, h)), v = ws(ht ? b.subarray(h) : b.slice(h)), this.j(g, v);
17634
17634
  break;
17635
17635
  default:
17636
17636
  throw Error("unknown BTYPE: " + n);
@@ -17638,7 +17638,7 @@ hs.prototype.k = function() {
17638
17638
  }
17639
17639
  return this.n();
17640
17640
  };
17641
- var Yd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], ec = ut ? new Uint16Array(Yd) : Yd, Zd = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], _0 = ut ? new Uint16Array(Zd) : Zd, qd = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], Ja = ut ? new Uint8Array(qd) : qd, Jd = [
17641
+ var Yd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], tc = ht ? new Uint16Array(Yd) : Yd, Zd = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], _0 = ht ? new Uint16Array(Zd) : Zd, qd = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], Ka = ht ? new Uint8Array(qd) : qd, Jd = [
17642
17642
  1,
17643
17643
  2,
17644
17644
  3,
@@ -17669,15 +17669,15 @@ var Yd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], ec
17669
17669
  12289,
17670
17670
  16385,
17671
17671
  24577
17672
- ], B0 = ut ? new Uint16Array(Jd) : Jd, Kd = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], Ka = ut ? new Uint8Array(Kd) : Kd, _c = new (ut ? Uint8Array : Array)(288), ys, $d;
17672
+ ], B0 = ht ? new Uint16Array(Jd) : Jd, Kd = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], $a = ht ? new Uint8Array(Kd) : Kd, Bc = new (ht ? Uint8Array : Array)(288), ys, $d;
17673
17673
  ys = 0;
17674
- for ($d = _c.length; ys < $d; ++ys)
17675
- _c[ys] = 143 >= ys ? 8 : 255 >= ys ? 9 : 279 >= ys ? 7 : 8;
17676
- var U3 = ws(_c), Bc = new (ut ? Uint8Array : Array)(30), Da, ef;
17674
+ for ($d = Bc.length; ys < $d; ++ys)
17675
+ Bc[ys] = 143 >= ys ? 8 : 255 >= ys ? 9 : 279 >= ys ? 7 : 8;
17676
+ var U3 = ws(Bc), Vc = new (ht ? Uint8Array : Array)(30), Da, ef;
17677
17677
  Da = 0;
17678
- for (ef = Bc.length; Da < ef; ++Da)
17679
- Bc[Da] = 5;
17680
- var Q3 = ws(Bc);
17678
+ for (ef = Vc.length; Da < ef; ++Da)
17679
+ Vc[Da] = 5;
17680
+ var Q3 = ws(Vc);
17681
17681
  function Ei(n, t) {
17682
17682
  for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a; i < t; ) {
17683
17683
  if (o >= r)
@@ -17700,7 +17700,7 @@ hs.prototype.j = function(n, t) {
17700
17700
  if (256 > o)
17701
17701
  i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = o;
17702
17702
  else
17703
- for (r = o - 257, l = _0[r], 0 < Ja[r] && (l += Ei(this, Ja[r])), o = Dr(this, t), a = B0[o], 0 < Ka[o] && (a += Ei(this, Ka[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
17703
+ for (r = o - 257, l = _0[r], 0 < Ka[r] && (l += Ei(this, Ka[r])), o = Dr(this, t), a = B0[o], 0 < $a[o] && (a += Ei(this, $a[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
17704
17704
  e[i] = e[i++ - a];
17705
17705
  for (; 8 <= this.d; )
17706
17706
  this.d -= 8, this.a--;
@@ -17713,20 +17713,20 @@ hs.prototype.w = function(n, t) {
17713
17713
  if (256 > o)
17714
17714
  i >= s && (e = this.e(), s = e.length), e[i++] = o;
17715
17715
  else
17716
- for (r = o - 257, l = _0[r], 0 < Ja[r] && (l += Ei(this, Ja[r])), o = Dr(this, t), a = B0[o], 0 < Ka[o] && (a += Ei(this, Ka[o])), i + l > s && (e = this.e(), s = e.length); l--; )
17716
+ for (r = o - 257, l = _0[r], 0 < Ka[r] && (l += Ei(this, Ka[r])), o = Dr(this, t), a = B0[o], 0 < $a[o] && (a += Ei(this, $a[o])), i + l > s && (e = this.e(), s = e.length); l--; )
17717
17717
  e[i] = e[i++ - a];
17718
17718
  for (; 8 <= this.d; )
17719
17719
  this.d -= 8, this.a--;
17720
17720
  this.b = i;
17721
17721
  };
17722
17722
  hs.prototype.e = function() {
17723
- var n = new (ut ? Uint8Array : Array)(this.b - 32768), t = this.b - 32768, e, i, s = this.c;
17724
- if (ut)
17723
+ var n = new (ht ? Uint8Array : Array)(this.b - 32768), t = this.b - 32768, e, i, s = this.c;
17724
+ if (ht)
17725
17725
  n.set(s.subarray(32768, n.length));
17726
17726
  else
17727
17727
  for (e = 0, i = n.length; e < i; ++e)
17728
17728
  n[e] = s[e + 32768];
17729
- if (this.g.push(n), this.l += n.length, ut)
17729
+ if (this.g.push(n), this.l += n.length, ht)
17730
17730
  s.set(s.subarray(t, t + 32768));
17731
17731
  else
17732
17732
  for (e = 0; 32768 > e; ++e)
@@ -17735,12 +17735,12 @@ hs.prototype.e = function() {
17735
17735
  };
17736
17736
  hs.prototype.z = function(n) {
17737
17737
  var t, e = this.input.length / this.a + 1 | 0, i, s, o, r = this.input, a = this.c;
17738
- return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (r.length - this.a) / this.o[2], o = 258 * (i / 2) | 0, s = o < a.length ? a.length + o : a.length << 1) : s = a.length * e, ut ? (t = new Uint8Array(s), t.set(a)) : t = a, this.c = t;
17738
+ return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (r.length - this.a) / this.o[2], o = 258 * (i / 2) | 0, s = o < a.length ? a.length + o : a.length << 1) : s = a.length * e, ht ? (t = new Uint8Array(s), t.set(a)) : t = a, this.c = t;
17739
17739
  };
17740
17740
  hs.prototype.n = function() {
17741
- var n = 0, t = this.c, e = this.g, i, s = new (ut ? Uint8Array : Array)(this.l + (this.b - 32768)), o, r, a, l;
17741
+ var n = 0, t = this.c, e = this.g, i, s = new (ht ? Uint8Array : Array)(this.l + (this.b - 32768)), o, r, a, l;
17742
17742
  if (e.length === 0)
17743
- return ut ? this.c.subarray(32768, this.b) : this.c.slice(32768, this.b);
17743
+ return ht ? this.c.subarray(32768, this.b) : this.c.slice(32768, this.b);
17744
17744
  for (o = 0, r = e.length; o < r; ++o)
17745
17745
  for (i = e[o], a = 0, l = i.length; a < l; ++a)
17746
17746
  s[n++] = i[a];
@@ -17750,7 +17750,7 @@ hs.prototype.n = function() {
17750
17750
  };
17751
17751
  hs.prototype.v = function() {
17752
17752
  var n, t = this.b;
17753
- return ut ? this.r ? (n = new Uint8Array(t), n.set(this.c.subarray(0, t))) : n = this.c.subarray(0, t) : (this.c.length > t && (this.c.length = t), n = this.c), this.buffer = n;
17753
+ return ht ? this.r ? (n = new Uint8Array(t), n.set(this.c.subarray(0, t))) : n = this.c.subarray(0, t) : (this.c.length > t && (this.c.length = t), n = this.c), this.buffer = n;
17754
17754
  };
17755
17755
  function qh(n, t) {
17756
17756
  var e, i;
@@ -17793,15 +17793,15 @@ qh.prototype.k = function() {
17793
17793
  var tf = 8;
17794
17794
  Yh("Zlib.Inflate", qh);
17795
17795
  Yh("Zlib.Inflate.prototype.decompress", qh.prototype.k);
17796
- var Vc = { ADAPTIVE: Xd.s, BLOCK: Xd.t }, vr, Ar, yo, nf;
17796
+ var Hc = { ADAPTIVE: Xd.s, BLOCK: Xd.t }, vr, Ar, yo, nf;
17797
17797
  if (Object.keys)
17798
- vr = Object.keys(Vc);
17798
+ vr = Object.keys(Hc);
17799
17799
  else
17800
- for (Ar in vr = [], yo = 0, Vc)
17800
+ for (Ar in vr = [], yo = 0, Hc)
17801
17801
  vr[yo++] = Ar;
17802
17802
  yo = 0;
17803
17803
  for (nf = vr.length; yo < nf; ++yo)
17804
- Ar = vr[yo], Yh("Zlib.Inflate.BufferType." + Ar, Vc[Ar]);
17804
+ Ar = vr[yo], Yh("Zlib.Inflate.BufferType." + Ar, Hc[Ar]);
17805
17805
  var sf = R0.Zlib, V0 = {
17806
17806
  /*
17807
17807
  Finds knot vector span.
@@ -18034,7 +18034,7 @@ var H0 = function() {
18034
18034
  i.prototype = Object.assign(Object.create(Tu.prototype), {
18035
18035
  constructor: i,
18036
18036
  load: function(A, C, I, E) {
18037
- var S = this, T = S.path === "" ? Vl.extractUrlBase(A) : S.path, F = new Tv(this.manager);
18037
+ var S = this, T = S.path === "" ? Hl.extractUrlBase(A) : S.path, F = new Tv(this.manager);
18038
18038
  F.setPath(S.path), F.setResponseType("arraybuffer"), F.load(
18039
18039
  A,
18040
18040
  function(R) {
@@ -18208,13 +18208,13 @@ var H0 = function() {
18208
18208
  var T = this.parseParameters(A, C, I), F;
18209
18209
  switch (S.toLowerCase()) {
18210
18210
  case "phong":
18211
- F = new Hl();
18211
+ F = new Fl();
18212
18212
  break;
18213
18213
  case "lambert":
18214
18214
  F = new Lv();
18215
18215
  break;
18216
18216
  default:
18217
- console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', S), F = new Hl();
18217
+ console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', S), F = new Fl();
18218
18218
  break;
18219
18219
  }
18220
18220
  return F.setValues(T), F.name = E, F;
@@ -18484,7 +18484,7 @@ var H0 = function() {
18484
18484
  var E, S = null, T = null, F = [];
18485
18485
  return A.children.forEach(function(R) {
18486
18486
  C.has(R.ID) && (S = C.get(R.ID)), I.has(R.ID) && F.push(I.get(R.ID));
18487
- }), F.length > 1 ? T = F : F.length > 0 ? T = F[0] : (T = new Hl({ color: 13421772 }), F.push(T)), "color" in S.attributes && F.forEach(function(R) {
18487
+ }), F.length > 1 ? T = F : F.length > 0 ? T = F[0] : (T = new Fl({ color: 13421772 }), F.push(T)), "color" in S.attributes && F.forEach(function(R) {
18488
18488
  R.vertexColors = !0;
18489
18489
  }), S.FBX_Deformer ? (F.forEach(function(R) {
18490
18490
  R.skinning = !0;
@@ -19373,7 +19373,7 @@ var H0 = function() {
19373
19373
  for (var C = [], I = 0; I < A; I++)
19374
19374
  C[I] = this.getUint8();
19375
19375
  var E = C.indexOf(0);
19376
- return E >= 0 && (C = C.slice(0, E)), Vl.decodeText(new Uint8Array(C));
19376
+ return E >= 0 && (C = C.slice(0, E)), Hl.decodeText(new Uint8Array(C));
19377
19377
  }
19378
19378
  };
19379
19379
  function h() {
@@ -19497,7 +19497,7 @@ var H0 = function() {
19497
19497
  return C;
19498
19498
  }
19499
19499
  function D(A, C, I) {
19500
- return C === void 0 && (C = 0), I === void 0 && (I = A.byteLength), Vl.decodeText(new Uint8Array(A, C, I));
19500
+ return C === void 0 && (C = 0), I === void 0 && (I = A.byteLength), Hl.decodeText(new Uint8Array(A, C, I));
19501
19501
  }
19502
19502
  function N(A, C) {
19503
19503
  for (var I = 0, E = A.length, S = C.length; I < S; I++, E++)
@@ -19625,7 +19625,7 @@ const Y3 = ({ x: n, y: t, z: e }) => new ge(n, t, e), yS = (n, t) => {
19625
19625
  return { load: l, enable: (w) => (e.enabled || (e.enabled = !0, f(n.currentMode), n.on("modeChange", f), h(w)), !0), disable: () => (e.enabled && (e.enabled = !1, u(), n.off("modeChange", f)), !0) };
19626
19626
  }, Z3 = Vi;
19627
19627
  function q3(n, t, e, i = Z3.Linear.None) {
19628
- const s = new ll(n).to(t, e).easing(i);
19628
+ const s = new cl(n).to(t, e).easing(i);
19629
19629
  Wr(() => s.start(0));
19630
19630
  const o = Vo((a) => {
19631
19631
  s.update(a) === !1 && o();
@@ -19654,13 +19654,13 @@ function of(n) {
19654
19654
  function rf(n) {
19655
19655
  return n % Ta;
19656
19656
  }
19657
- function tc(n, t, e) {
19657
+ function ic(n, t, e) {
19658
19658
  return n + (t - n) * e;
19659
19659
  }
19660
- const Hc = (n, t, e) => {
19660
+ const Fc = (n, t, e) => {
19661
19661
  const i = Math.PI, s = i * 2;
19662
19662
  let o = of(n), r = of(t);
19663
- return e === pn.Anticlockwise && o < r && (o += s), e === pn.Clockwise && r < o && (r += s), e === pn.Loop && r - o > i ? Hc(o, r, pn.Anticlockwise) : e === pn.Loop && o - r > i ? Hc(o, r, pn.Clockwise) : { from: o, to: r };
19663
+ return e === pn.Anticlockwise && o < r && (o += s), e === pn.Clockwise && r < o && (r += s), e === pn.Loop && r - o > i ? Fc(o, r, pn.Anticlockwise) : e === pn.Loop && o - r > i ? Fc(o, r, pn.Clockwise) : { from: o, to: r };
19664
19664
  }, wS = (n) => {
19665
19665
  const t = {}, e = (l, c, ...h) => te(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
19666
19666
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), o.mode && o.mode !== n.currentMode && (yield n.changeMode(o.mode)), a.preload && o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (yield n.preloadPano(o.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), o.panoIndex === void 0 && o.fov === void 0 && o.latitude === void 0 && o.longitude === void 0 ? !0 : yield new Promise((u, f) => {
@@ -19674,7 +19674,7 @@ const Hc = (n, t, e) => {
19674
19674
  }, o)) : f(new Error("unexpected error"));
19675
19675
  });
19676
19676
  }), i = (o) => {
19677
- const r = n.state, a = rf(r.latitude), l = rf(o.latitude), { from: c, to: h } = Hc(
19677
+ const r = n.state, a = rf(r.latitude), l = rf(o.latitude), { from: c, to: h } = Fc(
19678
19678
  r.longitude,
19679
19679
  o.longitude,
19680
19680
  o.rotation || pn.Loop
@@ -19703,7 +19703,7 @@ const Hc = (n, t, e) => {
19703
19703
  return yield new Promise((m) => {
19704
19704
  const p = ({ progress: M }) => {
19705
19705
  const k = {};
19706
- k.longitude = tc(u.longitude, f.longitude, M), k.latitude = tc(u.latitude, f.latitude, M), k.fov = tc(u.fov, f.fov, M), n.setState(k, !0);
19706
+ k.longitude = ic(u.longitude, f.longitude, M), k.latitude = ic(u.latitude, f.latitude, M), k.fov = ic(u.fov, f.fov, M), n.setState(k, !0);
19707
19707
  }, g = () => {
19708
19708
  m(!0);
19709
19709
  }, v = () => {
@@ -19724,11 +19724,11 @@ function af(n, t) {
19724
19724
  function F0(n, t) {
19725
19725
  return Math.abs(n) === 1 / 0 && Math.abs(t) === 1 / 0 ? !0 : Math.abs(n - t) < 1e-3;
19726
19726
  }
19727
- function $a(n, t) {
19727
+ function el(n, t) {
19728
19728
  return (t.y - n.y) / (t.x - n.x);
19729
19729
  }
19730
19730
  function N0(n, t, e) {
19731
- const i = $a(n[1], n[0]), s = $a(t[1], t[0]);
19731
+ const i = el(n[1], n[0]), s = el(t[1], t[0]);
19732
19732
  if (isNaN(i) || isNaN(s) || F0(i, s))
19733
19733
  return !1;
19734
19734
  if (ga(n[0], t))
@@ -19750,7 +19750,7 @@ function N0(n, t, e) {
19750
19750
  return { x: a, y: l };
19751
19751
  }
19752
19752
  function ga(n, t) {
19753
- 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 && F0($a(t[0], n), $a(n, t[1]));
19753
+ 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 && F0(el(t[0], n), el(n, t[1]));
19754
19754
  }
19755
19755
  function $3(n) {
19756
19756
  let t = 1 / 0, e = -1 / 0, i = 1 / 0, s = -1 / 0;
@@ -20457,7 +20457,7 @@ function u5(n, t, e) {
20457
20457
  };
20458
20458
  });
20459
20459
  e(0, r = A);
20460
- }, m = () => Wr(f), p = hl(f, 80);
20460
+ }, m = () => Wr(f), p = ul(f, 80);
20461
20461
  return Rt(() => {
20462
20462
  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());
20463
20463
  }), oi(() => {
@@ -20822,7 +20822,7 @@ class v5 extends En {
20822
20822
  new P.Vector3(0.7, 0, 0.7),
20823
20823
  new P.Vector3(-0.7, 0, 0.7)
20824
20824
  ];
20825
- return vl(this.five).create3DDomContainer(e);
20825
+ return Al(this.five).create3DDomContainer(e);
20826
20826
  }
20827
20827
  }
20828
20828
  const ES = (n, t) => new v5(n, t), A5 = 1, b5 = 3, y5 = new Xt(16777215), w5 = new Xt(6522623), P5 = new Xt(16777215), C5 = new Xt(6522623), I5 = 6, E5 = 8, M5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", U0 = new dh().load(M5), k5 = {
@@ -21143,7 +21143,7 @@ let Lo = class X0 {
21143
21143
  }
21144
21144
  };
21145
21145
  const Aa = (n) => n.preventDefault();
21146
- let Il = class {
21146
+ let El = class {
21147
21147
  constructor(t) {
21148
21148
  d(this, "model");
21149
21149
  d(this, "five");
@@ -21315,17 +21315,17 @@ let Il = class {
21315
21315
  this.id = t.id, this.clear(), this.lines.push(...t.lines);
21316
21316
  }
21317
21317
  };
21318
- var el = {}, z5 = {
21318
+ var tl = {}, z5 = {
21319
21319
  get exports() {
21320
- return el;
21320
+ return tl;
21321
21321
  },
21322
21322
  set exports(n) {
21323
- el = n;
21323
+ tl = n;
21324
21324
  }
21325
21325
  };
21326
- z5.exports = El;
21327
- el.default = El;
21328
- function El(n, t, e) {
21326
+ z5.exports = Ml;
21327
+ tl.default = Ml;
21328
+ function Ml(n, t, e) {
21329
21329
  e = e || 2;
21330
21330
  var i = t && t.length, s = i ? t[0] * e : n.length, o = Z0(n, 0, s, e, !0), r = [];
21331
21331
  if (!o || o.next === o.prev)
@@ -21341,13 +21341,13 @@ function El(n, t, e) {
21341
21341
  }
21342
21342
  function Z0(n, t, e, i, s) {
21343
21343
  var o, r;
21344
- if (s === Gc(n, t, e, i) > 0)
21344
+ if (s === Wc(n, t, e, i) > 0)
21345
21345
  for (o = t; o < e; o += i)
21346
21346
  r = ff(o, n[o], n[o + 1], r);
21347
21347
  else
21348
21348
  for (o = e - i; o >= t; o -= i)
21349
21349
  r = ff(o, n[o], n[o + 1], r);
21350
- return r && Ml(r, r.next) && (zr(r), r = r.next), r;
21350
+ return r && kl(r, r.next) && (zr(r), r = r.next), r;
21351
21351
  }
21352
21352
  function Rs(n, t) {
21353
21353
  if (!n)
@@ -21355,7 +21355,7 @@ function Rs(n, t) {
21355
21355
  t || (t = n);
21356
21356
  var e = n, i;
21357
21357
  do
21358
- if (i = !1, !e.steiner && (Ml(e, e.next) || gt(e.prev, e, e.next) === 0)) {
21358
+ if (i = !1, !e.steiner && (kl(e, e.next) || gt(e.prev, e, e.next) === 0)) {
21359
21359
  if (zr(e), e = t = e.prev, e === e.next)
21360
21360
  break;
21361
21361
  i = !0;
@@ -21394,7 +21394,7 @@ function j5(n, t, e, i) {
21394
21394
  var s = n.prev, o = n, r = n.next;
21395
21395
  if (gt(s, o, r) >= 0)
21396
21396
  return !1;
21397
- for (var a = s.x, l = o.x, c = r.x, h = s.y, u = o.y, f = r.y, m = a < l ? a < c ? a : c : l < c ? l : c, p = h < u ? h < f ? h : f : u < f ? u : f, g = a > l ? a > c ? a : c : l > c ? l : c, v = h > u ? h > f ? h : f : u > f ? u : f, b = Fc(m, p, t, e, i), w = Fc(g, v, t, e, i), M = n.prevZ, k = n.nextZ; M && M.z >= b && k && k.z <= w; ) {
21397
+ for (var a = s.x, l = o.x, c = r.x, h = s.y, u = o.y, f = r.y, m = a < l ? a < c ? a : c : l < c ? l : c, p = h < u ? h < f ? h : f : u < f ? u : f, g = a > l ? a > c ? a : c : l > c ? l : c, v = h > u ? h > f ? h : f : u > f ? u : f, b = Nc(m, p, t, e, i), w = Nc(g, v, t, e, i), M = n.prevZ, k = n.nextZ; M && M.z >= b && k && k.z <= w; ) {
21398
21398
  if (M.x >= m && M.x <= g && M.y >= p && M.y <= v && M !== s && M !== r && co(a, h, l, u, c, f, M.x, M.y) && gt(M.prev, M, M.next) >= 0 || (M = M.prevZ, k.x >= m && k.x <= g && k.y >= p && k.y <= v && k !== s && k !== r && co(a, h, l, u, c, f, k.x, k.y) && gt(k.prev, k, k.next) >= 0))
21399
21399
  return !1;
21400
21400
  k = k.nextZ;
@@ -21415,7 +21415,7 @@ function R5(n, t, e) {
21415
21415
  var i = n;
21416
21416
  do {
21417
21417
  var s = i.prev, o = i.next.next;
21418
- !Ml(s, o) && q0(s, i, i.next, o) && Lr(s, o) && Lr(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), zr(i), zr(i.next), i = n = o), i = i.next;
21418
+ !kl(s, o) && q0(s, i, i.next, o) && Lr(s, o) && Lr(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), zr(i), zr(i.next), i = n = o), i = i.next;
21419
21419
  } while (i !== n);
21420
21420
  return Rs(i);
21421
21421
  }
@@ -21476,7 +21476,7 @@ function N5(n, t) {
21476
21476
  function G5(n, t, e, i) {
21477
21477
  var s = n;
21478
21478
  do
21479
- s.z === 0 && (s.z = Fc(s.x, s.y, t, e, i)), s.prevZ = s.prev, s.nextZ = s.next, s = s.next;
21479
+ s.z === 0 && (s.z = Nc(s.x, s.y, t, e, i)), s.prevZ = s.prev, s.nextZ = s.next, s = s.next;
21480
21480
  while (s !== n);
21481
21481
  s.prevZ.nextZ = null, s.prevZ = null, W5(s);
21482
21482
  }
@@ -21494,7 +21494,7 @@ function W5(n) {
21494
21494
  } while (r > 1);
21495
21495
  return n;
21496
21496
  }
21497
- function Fc(n, t, e, i, s) {
21497
+ function Nc(n, t, e, i, s) {
21498
21498
  return n = (n - e) * s | 0, t = (t - i) * s | 0, n = (n | n << 8) & 16711935, n = (n | n << 4) & 252645135, n = (n | n << 2) & 858993459, n = (n | n << 1) & 1431655765, t = (t | t << 8) & 16711935, t = (t | t << 4) & 252645135, t = (t | t << 2) & 858993459, t = (t | t << 1) & 1431655765, n | t << 1;
21499
21499
  }
21500
21500
  function U5(n) {
@@ -21511,12 +21511,12 @@ function Q5(n, t) {
21511
21511
  return n.next.i !== t.i && n.prev.i !== t.i && !X5(n, t) && // dones't intersect other edges
21512
21512
  (Lr(n, t) && Lr(t, n) && Y5(n, t) && // locally visible
21513
21513
  (gt(n.prev, n, t.prev) || gt(n, t.prev, t)) || // does not create opposite-facing sectors
21514
- Ml(n, t) && gt(n.prev, n, n.next) > 0 && gt(t.prev, t, t.next) > 0);
21514
+ kl(n, t) && gt(n.prev, n, n.next) > 0 && gt(t.prev, t, t.next) > 0);
21515
21515
  }
21516
21516
  function gt(n, t, e) {
21517
21517
  return (t.y - n.y) * (e.x - t.x) - (t.x - n.x) * (e.y - t.y);
21518
21518
  }
21519
- function Ml(n, t) {
21519
+ function kl(n, t) {
21520
21520
  return n.x === t.x && n.y === t.y;
21521
21521
  }
21522
21522
  function q0(n, t, e, i) {
@@ -21549,25 +21549,25 @@ function Y5(n, t) {
21549
21549
  return i;
21550
21550
  }
21551
21551
  function J0(n, t) {
21552
- var e = new Nc(n.i, n.x, n.y), i = new Nc(t.i, t.x, t.y), s = n.next, o = t.prev;
21552
+ var e = new Gc(n.i, n.x, n.y), i = new Gc(t.i, t.x, t.y), s = n.next, o = t.prev;
21553
21553
  return n.next = t, t.prev = n, e.next = s, s.prev = e, i.next = e, e.prev = i, o.next = i, i.prev = o, i;
21554
21554
  }
21555
21555
  function ff(n, t, e, i) {
21556
- var s = new Nc(n, t, e);
21556
+ var s = new Gc(n, t, e);
21557
21557
  return i ? (s.next = i.next, s.prev = i, i.next.prev = s, i.next = s) : (s.prev = s, s.next = s), s;
21558
21558
  }
21559
21559
  function zr(n) {
21560
21560
  n.next.prev = n.prev, n.prev.next = n.next, n.prevZ && (n.prevZ.nextZ = n.nextZ), n.nextZ && (n.nextZ.prevZ = n.prevZ);
21561
21561
  }
21562
- function Nc(n, t, e) {
21562
+ function Gc(n, t, e) {
21563
21563
  this.i = n, this.x = t, this.y = e, this.prev = null, this.next = null, this.z = 0, this.prevZ = null, this.nextZ = null, this.steiner = !1;
21564
21564
  }
21565
- El.deviation = function(n, t, e, i) {
21566
- var s = t && t.length, o = s ? t[0] * e : n.length, r = Math.abs(Gc(n, 0, o, e));
21565
+ Ml.deviation = function(n, t, e, i) {
21566
+ var s = t && t.length, o = s ? t[0] * e : n.length, r = Math.abs(Wc(n, 0, o, e));
21567
21567
  if (s)
21568
21568
  for (var a = 0, l = t.length; a < l; a++) {
21569
21569
  var c = t[a] * e, h = a < l - 1 ? t[a + 1] * e : n.length;
21570
- r -= Math.abs(Gc(n, c, h, e));
21570
+ r -= Math.abs(Wc(n, c, h, e));
21571
21571
  }
21572
21572
  var u = 0;
21573
21573
  for (a = 0; a < i.length; a += 3) {
@@ -21578,12 +21578,12 @@ El.deviation = function(n, t, e, i) {
21578
21578
  }
21579
21579
  return r === 0 && u === 0 ? 0 : Math.abs((u - r) / r);
21580
21580
  };
21581
- function Gc(n, t, e, i) {
21581
+ function Wc(n, t, e, i) {
21582
21582
  for (var s = 0, o = t, r = e - i; o < e; o += i)
21583
21583
  s += (n[r] - n[o]) * (n[o + 1] + n[r + 1]), r = o;
21584
21584
  return s;
21585
21585
  }
21586
- El.flatten = function(n) {
21586
+ Ml.flatten = function(n) {
21587
21587
  for (var t = n[0][0].length, e = { vertices: [], holes: [], dimensions: t }, i = 0, s = 0; s < n.length; s++) {
21588
21588
  for (var o = 0; o < n[s].length; o++)
21589
21589
  for (var r = 0; r < t; r++)
@@ -21604,9 +21604,9 @@ function K0(n) {
21604
21604
  if (n.length < 3)
21605
21605
  return [];
21606
21606
  const t = us(n), e = new P.Quaternion().setFromUnitVectors(t, new P.Vector3(0, 1, 0)), s = n.map((r) => r.clone().applyQuaternion(e)).flatMap((r) => [r.x, r.z]);
21607
- return el(s);
21607
+ return tl(s);
21608
21608
  }
21609
- function Wc(n, t) {
21609
+ function Uc(n, t) {
21610
21610
  const e = Array.isArray(t) ? t : [t];
21611
21611
  for (let i = 0; i < e.length; i++) {
21612
21612
  const s = n.start, o = n.end, r = e[i].start, a = e[i].end;
@@ -21658,7 +21658,7 @@ function $0(n, t) {
21658
21658
  if (e.at(-1).equals(e[0]) || e.push(e[0]), t != null && t.checkLinesIntersect && e.length >= 5) {
21659
21659
  const a = e.map((l, c) => c === 0 ? null : { start: e[c - 1], end: e[c] }).filter(Boolean);
21660
21660
  for (let l = 0; l < a.length; l++)
21661
- if (Wc(a[l], a.slice(l)))
21661
+ if (Uc(a[l], a.slice(l)))
21662
21662
  return;
21663
21663
  }
21664
21664
  const i = e.flatMap((a) => [a.x, a.y, a.z]), s = new P.Float32BufferAttribute(i, 3), o = K0(e), r = new P.BufferGeometry();
@@ -21759,7 +21759,7 @@ class iP extends Q0 {
21759
21759
  this.contentDom.innerText = `${ui(o) ? e : e.toFixed(o)}${s}`;
21760
21760
  }
21761
21761
  }
21762
- class Uc {
21762
+ class Qc {
21763
21763
  constructor(t, e) {
21764
21764
  d(this, "id", Dt());
21765
21765
  d(this, "selected", !1);
@@ -21949,7 +21949,7 @@ function oP(n, t) {
21949
21949
  return n.x === t.x && n.y === t.y;
21950
21950
  }
21951
21951
  const mf = () => !1;
21952
- class Qn extends Il {
21952
+ class Qn extends El {
21953
21953
  constructor(e) {
21954
21954
  super(e);
21955
21955
  d(this, "type", "edit");
@@ -21963,7 +21963,7 @@ class Qn extends Il {
21963
21963
  d(this, "pointSelector");
21964
21964
  d(this, "deleteDom");
21965
21965
  /** 根据 intersection 更新放大镜和吸附点 */
21966
- d(this, "onIntersectionUpdate", hl((e) => {
21966
+ d(this, "onIntersectionUpdate", ul((e) => {
21967
21967
  e && (this.currentMeasureType === "area" && typeof e.isAdsorbed == "boolean" && (e.isAdsorbed ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed());
21968
21968
  }, 20));
21969
21969
  /** 撤销编辑 */
@@ -22103,7 +22103,7 @@ class Qn extends Il {
22103
22103
  this.perpendicularDashed.setPoints(h, u), this.perpendicularDashed.show();
22104
22104
  } else
22105
22105
  this.perpendicularDashed.hide();
22106
- const r = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = Wc({ start: e, end: i }, r), l = Wc({ start: i, end: this.area.points[0] }, r);
22106
+ const r = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = Uc({ start: e, end: i }, r), l = Uc({ start: i, end: this.area.points[0] }, r);
22107
22107
  if (a || l)
22108
22108
  this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
22109
22109
  else {
@@ -22178,10 +22178,10 @@ class Qn extends Il {
22178
22178
  const s = i.type === "area", o = Array.isArray(i) && ((r = i[0]) == null ? void 0 : r.type) === "line";
22179
22179
  s && this.unHighlightArea(i), o && this.unHighlightLines(i);
22180
22180
  }
22181
- }).appendTo(this.container), this.pointSelector = new ul(this.five, he(H({}, this.pointSelectorConfig), {
22181
+ }).appendTo(this.container), this.pointSelector = new dl(this.five, he(H({}, this.pointSelectorConfig), {
22182
22182
  mode: this.editParams.pointSelectorMode,
22183
22183
  helper: H({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
22184
- })), this.pointSelector.enable(), this.polyline = new zo({ model: this.model }), this.area = new Uc(void 0, {
22184
+ })), this.pointSelector.enable(), this.polyline = new zo({ model: this.model }), this.area = new Qc(void 0, {
22185
22185
  five: this.five,
22186
22186
  model: this.model,
22187
22187
  meshContainer: this.group,
@@ -22206,7 +22206,7 @@ class Qn extends Il {
22206
22206
  this.onSelect();
22207
22207
  }
22208
22208
  complete() {
22209
- this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new Uc(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
22209
+ this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new Qc(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
22210
22210
  e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
22211
22211
  }), this.polyline = new zo({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
22212
22212
  }
@@ -22228,7 +22228,7 @@ class Qn extends Il {
22228
22228
  this.unHighlightLines(this.model.getAllLines()), !e.selected && (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
22229
22229
  }
22230
22230
  }
22231
- class vf extends Il {
22231
+ class vf extends El {
22232
22232
  constructor(e) {
22233
22233
  super(e);
22234
22234
  d(this, "type", "view");
@@ -22310,7 +22310,7 @@ function Af(n) {
22310
22310
  return { point: r, ndcPoint: a };
22311
22311
  }
22312
22312
  const bf = () => !1;
22313
- class yf extends Il {
22313
+ class yf extends El {
22314
22314
  constructor(e) {
22315
22315
  super(e);
22316
22316
  d(this, "type", "watch");
@@ -22436,7 +22436,7 @@ class yf extends Il {
22436
22436
  this.deleteDom = new Kh(this.five, {
22437
22437
  i18n: this.config.i18n,
22438
22438
  onClick: () => {
22439
- this.choose === "line" ? this.deleteLine() : this.choose instanceof Uc && this.deleteArea(this.choose);
22439
+ this.choose === "line" ? this.deleteLine() : this.choose instanceof Qc && this.deleteArea(this.choose);
22440
22440
  },
22441
22441
  cancel: this.cancelDeleteClickCallback
22442
22442
  }).appendTo(this.container), this.model.getAllLines().forEach((s) => {
@@ -22586,7 +22586,7 @@ function s1(n) {
22586
22586
  let i = 10349931;
22587
22587
  e && n.ballColor >= 0 && (i = n.ballColor);
22588
22588
  const s = new mn(), o = new Kv(0.3, 0.3), r = t ? cP : hP, a = new dh().load(r);
22589
- a.encoding = cr, a.minFilter = Mc;
22589
+ a.encoding = cr, a.minFilter = kc;
22590
22590
  const l = new Pr({
22591
22591
  map: a,
22592
22592
  transparent: !0,
@@ -22716,7 +22716,7 @@ class fP {
22716
22716
  return this.mouseGroup;
22717
22717
  }
22718
22718
  }
22719
- class or extends Il {
22719
+ class or extends El {
22720
22720
  constructor(e) {
22721
22721
  super(e);
22722
22722
  d(this, "state", "watching");
@@ -22829,7 +22829,7 @@ class or extends Il {
22829
22829
  this.clearHighlightLines(), this.highlightedLines = e, this.deleteDom.setLines(e).updatePosition().show(), e.forEach((i) => this.highlightLine(i));
22830
22830
  }
22831
22831
  }
22832
- const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTUuMyUiIHk9Ii01LjMlIiB3aWR0aD0iMTEwLjUlIiBoZWlnaHQ9IjExMC41JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEiIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbXBvc2l0ZSBpbj0ic2hhZG93Qmx1ck91dGVyMSIgaW4yPSJTb3VyY2VBbHBoYSIgb3BlcmF0b3I9Im91dCIgcmVzdWx0PSJzaGFkb3dCbHVyT3V0ZXIxIi8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDEgMCAwIDAgMCAxIDAgMCAwIDAgMSAwIDAgMCAwLjUgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48ZmlsdGVyIHg9Ii0xMS40JSIgeT0iLTExLjQlIiB3aWR0aD0iMTIyLjklIiBoZWlnaHQ9IjEyMi45JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icH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SJub256ZXJvIi8+PC9nPjwvc3ZnPg==", pP = `
22833
22833
  <svg class="fpm__exit-icon width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
22834
22834
  <defs>
22835
22835
  <radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="86.3016741%" id="radialGradient-1">
@@ -22888,7 +22888,7 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
22888
22888
  opacity: 1;
22889
22889
  }
22890
22890
  .fpm__main__start {
22891
- background-image: url(${tl});
22891
+ background-image: url(${il});
22892
22892
  }
22893
22893
  .fpm__main__end {
22894
22894
  background-image: url(${eu});
@@ -23003,7 +23003,7 @@ const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
23003
23003
  opacity: 1;
23004
23004
  }
23005
23005
  .fpm__main__start {
23006
- background-image: url(${tl});
23006
+ background-image: url(${il});
23007
23007
  }
23008
23008
  .fpm__main__end {
23009
23009
  background-image: url(${eu});
@@ -23622,7 +23622,7 @@ function RP(n) {
23622
23622
  return (
23623
23623
  /*setSwitcherActiveIndex*/
23624
23624
  n[4] !== void 0 && (g.setIndex = /*setSwitcherActiveIndex*/
23625
- n[4]), c = new TP({ props: g }), qe.push(() => yl(c, "setIndex", p)), {
23625
+ n[4]), c = new TP({ props: g }), qe.push(() => wl(c, "setIndex", p)), {
23626
23626
  c() {
23627
23627
  t = U("div"), f && f.c(), e = ae(), i = U("div"), s = U("div"), o = ae(), r = U("div"), m && m.c(), a = ae(), l = U("div"), pe(c.$$.fragment), y(s, "class", "mask svelte-468fdd"), y(l, "class", "mode-switcher svelte-468fdd"), y(r, "class", "center svelte-468fdd"), y(i, "class", "bottom svelte-468fdd"), y(t, "class", "Measure-Controller svelte-468fdd");
23628
23628
  },
@@ -23659,7 +23659,7 @@ function RP(n) {
23659
23659
  1 && (w.onChange = /*func*/
23660
23660
  v[8]), !h && b & /*setSwitcherActiveIndex*/
23661
23661
  16 && (h = !0, w.setIndex = /*setSwitcherActiveIndex*/
23662
- v[4], bl(() => h = !1)), c.$set(w);
23662
+ v[4], yl(() => h = !1)), c.$set(w);
23663
23663
  },
23664
23664
  i(v) {
23665
23665
  u || (V(f), V(c.$$.fragment, v), u = !0);
@@ -24016,7 +24016,7 @@ function UP(n, t, e) {
24016
24016
  "text" in a && e(0, s = a.text), "onClick" in a && e(1, o = a.onClick), "color" in a && e(3, r = a.color);
24017
24017
  }, n.$$.update = () => {
24018
24018
  n.$$.dirty & /*color*/
24019
- 8 && e(2, i = (() => r === "white" ? tl : r === "blue" ? eu : tl)());
24019
+ 8 && e(2, i = (() => r === "white" ? il : r === "blue" ? eu : il)());
24020
24020
  }, [s, o, i, r];
24021
24021
  }
24022
24022
  class QP extends Ee {
@@ -24459,22 +24459,22 @@ var et = {}, KP = {
24459
24459
  et = n;
24460
24460
  }
24461
24461
  };
24462
- function il(n) {
24462
+ function nl(n) {
24463
24463
  return n === null ? "null" : typeof n == "undefined" ? "undefined" : typeof n == "object" ? Array.isArray(n) ? "array" : "object" : typeof n;
24464
24464
  }
24465
24465
  function h1(n) {
24466
- return il(n) === "object" ? Xc(n) : il(n) === "array" ? Qc(n) : n;
24466
+ return nl(n) === "object" ? Yc(n) : nl(n) === "array" ? Xc(n) : n;
24467
24467
  }
24468
- function Qc(n) {
24468
+ function Xc(n) {
24469
24469
  return n.map(h1);
24470
24470
  }
24471
- function Xc(n) {
24471
+ function Yc(n) {
24472
24472
  const t = {};
24473
24473
  for (const e in n)
24474
24474
  n.hasOwnProperty(e) && (t[e] = h1(n[e]));
24475
24475
  return t;
24476
24476
  }
24477
- function kl(n, t = [], e = {}) {
24477
+ function xl(n, t = [], e = {}) {
24478
24478
  const i = {
24479
24479
  arrayBehaviour: e.arrayBehaviour || "replace"
24480
24480
  // Can be "merge" or "replace".
@@ -24482,19 +24482,19 @@ function kl(n, t = [], e = {}) {
24482
24482
  for (let r = 0; r < s.length; r++) {
24483
24483
  const a = s[r], l = Object.keys(a);
24484
24484
  for (let c = 0; c < l.length; c++) {
24485
- const h = l[c], u = a[h], f = il(u), m = il(o[h]);
24485
+ const h = l[c], u = a[h], f = nl(u), m = nl(o[h]);
24486
24486
  if (f === "object")
24487
24487
  if (m !== "undefined") {
24488
24488
  const p = m === "object" ? o[h] : {};
24489
- o[h] = kl({}, [p, Xc(u)], i);
24489
+ o[h] = xl({}, [p, Yc(u)], i);
24490
24490
  } else
24491
- o[h] = Xc(u);
24491
+ o[h] = Yc(u);
24492
24492
  else if (f === "array")
24493
24493
  if (m === "array") {
24494
- const p = Qc(u);
24494
+ const p = Xc(u);
24495
24495
  o[h] = i.arrayBehaviour === "merge" ? o[h].concat(p) : p;
24496
24496
  } else
24497
- o[h] = Qc(u);
24497
+ o[h] = Xc(u);
24498
24498
  else
24499
24499
  o[h] = u;
24500
24500
  }
@@ -24502,13 +24502,13 @@ function kl(n, t = [], e = {}) {
24502
24502
  return o;
24503
24503
  }
24504
24504
  KP.exports = function(t, ...e) {
24505
- return kl(t, e);
24505
+ return xl(t, e);
24506
24506
  };
24507
24507
  et.noMutate = function(...t) {
24508
- return kl({}, t);
24508
+ return xl({}, t);
24509
24509
  };
24510
24510
  et.withOptions = function(t, e, i) {
24511
- return kl(t, e, i);
24511
+ return xl(t, e, i);
24512
24512
  };
24513
24513
  function $P(n) {
24514
24514
  xe(n, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
@@ -25077,7 +25077,7 @@ class Or extends bi {
25077
25077
  }), this.updateEdgePointsVisibility(), this.needsRender = !0;
25078
25078
  }
25079
25079
  }
25080
- class xl extends di {
25080
+ class Sl extends di {
25081
25081
  constructor(e) {
25082
25082
  var a, l;
25083
25083
  super();
@@ -25153,7 +25153,7 @@ class xl extends di {
25153
25153
  const tu = new P.BufferGeometry();
25154
25154
  tu.name = "blankGeometry";
25155
25155
  tu.isBlank = !0;
25156
- class No extends xl {
25156
+ class No extends Sl {
25157
25157
  constructor(e) {
25158
25158
  super(e);
25159
25159
  d(this, "name", "PolygonMesh");
@@ -25310,8 +25310,8 @@ class Vf extends di {
25310
25310
  this.line.unhighlight(), this.polygon.unhighlight();
25311
25311
  }
25312
25312
  }
25313
- const ic = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
25314
- function nc(n, t, e, i) {
25313
+ const nc = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
25314
+ function sc(n, t, e, i) {
25315
25315
  n.addEventListener ? n.addEventListener(t, e, i) : n.attachEvent && n.attachEvent("on".concat(t), e);
25316
25316
  }
25317
25317
  function rr(n, t, e, i) {
@@ -25383,9 +25383,9 @@ const jr = {
25383
25383
  ".": 190,
25384
25384
  "/": 191,
25385
25385
  "`": 192,
25386
- "-": ic ? 173 : 189,
25387
- "=": ic ? 61 : 187,
25388
- ";": ic ? 59 : 186,
25386
+ "-": nc ? 173 : 189,
25387
+ "=": nc ? 61 : 187,
25388
+ ";": nc ? 59 : 186,
25389
25389
  "'": 222,
25390
25390
  "[": 219,
25391
25391
  "]": 221,
@@ -25406,7 +25406,7 @@ const jr = {
25406
25406
  "⌘": 91,
25407
25407
  cmd: 91,
25408
25408
  command: 91
25409
- }, Yc = {
25409
+ }, Oa = {
25410
25410
  16: "shiftKey",
25411
25411
  18: "altKey",
25412
25412
  17: "ctrlKey",
@@ -25423,7 +25423,7 @@ const jr = {
25423
25423
  }, mt = {};
25424
25424
  for (let n = 1; n < 20; n++)
25425
25425
  jr["f".concat(n)] = 111 + n;
25426
- let lt = [], br = null, p1 = "all";
25426
+ let ft = [], br = null, p1 = "all";
25427
25427
  const dn = /* @__PURE__ */ new Map(), Qr = (n) => jr[n.toLowerCase()] || en[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), hC = (n) => Object.keys(jr).find((t) => jr[t] === n), uC = (n) => Object.keys(en).find((t) => en[t] === n);
25428
25428
  function g1(n) {
25429
25429
  p1 = n || "all";
@@ -25432,10 +25432,10 @@ function Rr() {
25432
25432
  return p1 || "all";
25433
25433
  }
25434
25434
  function dC() {
25435
- return lt.slice(0);
25435
+ return ft.slice(0);
25436
25436
  }
25437
25437
  function fC() {
25438
- return lt.map((n) => hC(n) || uC(n) || String.fromCharCode(n));
25438
+ return ft.map((n) => hC(n) || uC(n) || String.fromCharCode(n));
25439
25439
  }
25440
25440
  function pC() {
25441
25441
  const n = [];
@@ -25465,7 +25465,7 @@ function gC(n) {
25465
25465
  return (t.isContentEditable || (s || e === "TEXTAREA" || e === "SELECT") && !t.readOnly) && (i = !1), i;
25466
25466
  }
25467
25467
  function mC(n) {
25468
- return typeof n == "string" && (n = Qr(n)), lt.indexOf(n) !== -1;
25468
+ return typeof n == "string" && (n = Qr(n)), ft.indexOf(n) !== -1;
25469
25469
  }
25470
25470
  function vC(n, t) {
25471
25471
  let e, i;
@@ -25483,11 +25483,11 @@ function vC(n, t) {
25483
25483
  }
25484
25484
  function AC(n) {
25485
25485
  let t = n.keyCode || n.which || n.charCode;
25486
- const e = lt.indexOf(t);
25487
- if (e >= 0 && lt.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && lt.splice(0, lt.length), (t === 93 || t === 224) && (t = 91), t in Bt) {
25486
+ const e = ft.indexOf(t);
25487
+ if (e >= 0 && ft.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && ft.splice(0, ft.length), (t === 93 || t === 224) && (t = 91), t in Bt) {
25488
25488
  Bt[t] = !1;
25489
25489
  for (const i in en)
25490
- en[i] === t && (ht[i] = !1);
25490
+ en[i] === t && (ct[i] = !1);
25491
25491
  }
25492
25492
  }
25493
25493
  function m1(n) {
@@ -25540,27 +25540,27 @@ function Hf(n, t, e, i) {
25540
25540
  s = t.mods.length > 0;
25541
25541
  for (const o in Bt)
25542
25542
  Object.prototype.hasOwnProperty.call(Bt, o) && (!Bt[o] && t.mods.indexOf(+o) > -1 || Bt[o] && t.mods.indexOf(+o) === -1) && (s = !1);
25543
- (t.mods.length === 0 && !Bt[16] && !Bt[18] && !Bt[17] && !Bt[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(lt), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
25543
+ (t.mods.length === 0 && !Bt[16] && !Bt[18] && !Bt[17] && !Bt[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(ft), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
25544
25544
  }
25545
25545
  }
25546
25546
  function Ff(n, t) {
25547
25547
  const e = mt["*"];
25548
25548
  let i = n.keyCode || n.which || n.charCode;
25549
- if (!ht.filter.call(this, n))
25549
+ if (!ct.filter.call(this, n))
25550
25550
  return;
25551
- if ((i === 93 || i === 224) && (i = 91), lt.indexOf(i) === -1 && i !== 229 && lt.push(i), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach((a) => {
25552
- const l = Yc[a];
25553
- n[a] && lt.indexOf(l) === -1 ? lt.push(l) : !n[a] && lt.indexOf(l) > -1 ? lt.splice(lt.indexOf(l), 1) : a === "metaKey" && n[a] && lt.length === 3 && (n.ctrlKey || n.shiftKey || n.altKey || (lt = lt.slice(lt.indexOf(l))));
25551
+ if ((i === 93 || i === 224) && (i = 91), ft.indexOf(i) === -1 && i !== 229 && ft.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
25552
+ const l = Oa[a];
25553
+ 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 Oa || c === i));
25554
25554
  }), i in Bt) {
25555
25555
  Bt[i] = !0;
25556
25556
  for (const a in en)
25557
- en[a] === i && (ht[a] = !0);
25557
+ en[a] === i && (ct[a] = !0);
25558
25558
  if (!e)
25559
25559
  return;
25560
25560
  }
25561
25561
  for (const a in Bt)
25562
- Object.prototype.hasOwnProperty.call(Bt, a) && (Bt[a] = n[Yc[a]]);
25563
- n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (lt.indexOf(17) === -1 && lt.push(17), lt.indexOf(18) === -1 && lt.push(18), Bt[17] = !0, Bt[18] = !0);
25562
+ Object.prototype.hasOwnProperty.call(Bt, a) && (Bt[a] = n[Oa[a]]);
25563
+ 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);
25564
25564
  const s = Rr();
25565
25565
  if (e)
25566
25566
  for (let a = 0; a < e.length; a++)
@@ -25575,11 +25575,11 @@ function Ff(n, t) {
25575
25575
  } = l, h = l.key.split(c), u = [];
25576
25576
  for (let f = 0; f < h.length; f++)
25577
25577
  u.push(Qr(h[f]));
25578
- u.sort().join("") === lt.sort().join("") && Hf(n, l, s, t);
25578
+ u.sort().join("") === ft.sort().join("") && Hf(n, l, s, t);
25579
25579
  }
25580
25580
  }
25581
- function ht(n, t, e) {
25582
- lt = [];
25581
+ function ct(n, t, e) {
25582
+ ft = [];
25583
25583
  const i = f1(n);
25584
25584
  let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
25585
25585
  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 && m1(n, o); a < i.length; a++)
@@ -25607,16 +25607,16 @@ function ht(n, t, e) {
25607
25607
  keydownListener: m,
25608
25608
  keyupListenr: p,
25609
25609
  capture: u
25610
- }), nc(r, "keydown", m, u), nc(r, "keyup", p, u);
25610
+ }), sc(r, "keydown", m, u), sc(r, "keyup", p, u);
25611
25611
  }
25612
25612
  if (!br) {
25613
25613
  const m = () => {
25614
- lt = [];
25614
+ ft = [];
25615
25615
  };
25616
25616
  br = {
25617
25617
  listener: m,
25618
25618
  capture: u
25619
- }, nc(window, "focus", m, u);
25619
+ }, sc(window, "focus", m, u);
25620
25620
  }
25621
25621
  }
25622
25622
  }
@@ -25658,7 +25658,7 @@ function iu(n) {
25658
25658
  rr(window, "focus", s, o), br = null;
25659
25659
  }
25660
25660
  }
25661
- const sc = {
25661
+ const oc = {
25662
25662
  getPressedKeyString: fC,
25663
25663
  setScope: g1,
25664
25664
  getScope: Rr,
@@ -25671,13 +25671,13 @@ const sc = {
25671
25671
  unbind: m1,
25672
25672
  keyMap: jr,
25673
25673
  modifier: en,
25674
- modifierMap: Yc
25674
+ modifierMap: Oa
25675
25675
  };
25676
- for (const n in sc)
25677
- Object.prototype.hasOwnProperty.call(sc, n) && (ht[n] = sc[n]);
25676
+ for (const n in oc)
25677
+ Object.prototype.hasOwnProperty.call(oc, n) && (ct[n] = oc[n]);
25678
25678
  if (typeof window != "undefined") {
25679
25679
  const n = window.hotkeys;
25680
- ht.noConflict = (t) => (t && window.hotkeys === ht && (window.hotkeys = n), ht), window.hotkeys = ht;
25680
+ ct.noConflict = (t) => (t && window.hotkeys === ct && (window.hotkeys = n), ct), window.hotkeys = ct;
25681
25681
  }
25682
25682
  const yC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABmC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8Yvdh6U0jvB2WwRNfIKnc0Yhsh0i8BAeexCuyCWD9zqjEKPGWO4hvEES8lB6R41sNbmXXBnhT/CQLCGErMq3Wvo2KRoxZrgazJ23KqVzgAcx9/ZA+kgkDRYaVH6tyDbwwD56W3Ri8BBeX41GiOpKJDoxVnG4I/GePVLAIG5DEo+xa5+J65zeJNws5h2Uyw1CqOX32XrtbVF4E5kZMVnjBAyvR/ESO50EbGJah05CogKn13yk+vAGbgZTrSZk4B2j+LG8URADKogAI9FC0g4pPTqAQ/AmYnxW2cedbWp3Nm2iHJYo4bKo2pV+7IBEnuisvANjijIqYorGhTsbghhdQxJ3usV+rSbgQoyRwtKU4xxD2Af4eCKEGhF2XLvGJaMmpgwqkYXNkIQXsJ71DggwomwJGW/G5A2yx2VeEfgPPUASVA2Hk1IAAAAASUVORK5CYII=", wC = `<?xml version="1.0" encoding="UTF-8"?>
25683
25683
  <svg width="22" height="22" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -25792,7 +25792,7 @@ class EC extends Ct {
25792
25792
  * @description 开始测量
25793
25793
  */
25794
25794
  d(this, "measure", () => {
25795
- this.repositioningState && this.cancelRepositioning(), this.listener.addMeasureListener(), ht.unbind("delete, backspace"), this.group.children.forEach((p) => p.unselect()), this.cursor.removeDeleteButton();
25795
+ this.repositioningState && this.cancelRepositioning(), this.listener.addMeasureListener(), ct.unbind("delete, backspace"), this.group.children.forEach((p) => p.unselect()), this.cursor.removeDeleteButton();
25796
25796
  const e = new Vf({
25797
25797
  lineStyle: this.lineStyle,
25798
25798
  polygonStyle: this.polygonStyle
@@ -25922,7 +25922,7 @@ class EC extends Ct {
25922
25922
  d(this, "listener", {
25923
25923
  // 点击事件
25924
25924
  addClickListener: () => {
25925
- this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ht("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
25925
+ this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ct("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
25926
25926
  },
25927
25927
  removeClickListener: () => {
25928
25928
  this.group.children.forEach((e) => {
@@ -25930,14 +25930,14 @@ class EC extends Ct {
25930
25930
  (i = e.line.doms) == null || i.forEach((o) => {
25931
25931
  o != null && o.container && (o.container.onclick = null, o.container.onmouseenter = null, o.container.onmouseleave = null);
25932
25932
  }), (s = e.polygon.areaDom) != null && s.container && (e.polygon.areaDom.container.onclick = null, e.polygon.areaDom.container.onmouseenter = null, e.polygon.areaDom.container.onmouseleave = null);
25933
- }), this.fiveDomEvents.clear(), this.five.off("panoArrived", this.onMoveToPano), this.five.off("modeChange", this.onModeChange), ht.unbind("delete, backspace");
25933
+ }), this.fiveDomEvents.clear(), this.five.off("panoArrived", this.onMoveToPano), this.five.off("modeChange", this.onModeChange), ct.unbind("delete, backspace");
25934
25934
  },
25935
25935
  // 绘制快捷键
25936
25936
  addMeasureListener: () => {
25937
- ht("ctrl+z, command+z", this.undo), ht("esc", this.cancel), ht("enter", this.endMeasure), this.five.on("mode.change", this.endMeasure), this.five.on("pano.moveTo", this.endMeasure), this.five.on("model.changeShownFloor", this.endMeasure);
25937
+ ct("ctrl+z, command+z", this.undo), ct("esc", this.cancel), ct("enter", this.endMeasure), this.five.on("mode.change", this.endMeasure), this.five.on("pano.moveTo", this.endMeasure), this.five.on("model.changeShownFloor", this.endMeasure);
25938
25938
  },
25939
25939
  removeMeasureListener: () => {
25940
- ht.unbind("ctrl+z, command+z"), ht.unbind("esc"), ht.unbind("enter"), this.five.off("mode.change", this.endMeasure), this.five.off("pano.moveTo", this.endMeasure), this.five.off("model.changeShownFloor", this.endMeasure);
25940
+ ct.unbind("ctrl+z, command+z"), ct.unbind("esc"), ct.unbind("enter"), this.five.off("mode.change", this.endMeasure), this.five.off("pano.moveTo", this.endMeasure), this.five.off("model.changeShownFloor", this.endMeasure);
25941
25941
  }
25942
25942
  });
25943
25943
  d(this, "onMoveToPano", (e) => {
@@ -26050,7 +26050,7 @@ class EC extends Ct {
26050
26050
  d(this, "addEndpointLongPressListeners", (e) => {
26051
26051
  this.setupGlobalTouchHandler(), e.line.pointMeshes.forEach((i, s) => {
26052
26052
  let o, r = !1, a = s;
26053
- e.isPolygon && e.points.length > 3 && s === e.line.pointMeshes.length - 1 && (a = 0);
26053
+ e.isPolygon && e.points.length > 3 && (s === e.line.pointMeshes.length - 1 && (a = 0), s >= e.points.length && (a = 0));
26054
26054
  const l = (u) => {
26055
26055
  if (this.currentMeasureMesh)
26056
26056
  return;
@@ -26130,7 +26130,44 @@ class EC extends Ct {
26130
26130
  isDragMode: s,
26131
26131
  mouseDownPosition: o || void 0,
26132
26132
  hasMoved: !1
26133
- }, this.applyRepositioningStyle(e, !0), this.five.on("wantsGesture", this.preventFiveGestures), s ? this.enableGlobalMouseTracking() : (this.pointSelector.actionIfNoIntersection = "virtualPoint", this.pointSelector.enable(), this.pointSelector.on("intersectionUpdate", this.onRepositioningMove), this.pointSelector.on("select", this.onRepositioningConfirm), this.pointSelector.on("disable", this.cancelRepositioning)), ht("esc", this.cancelRepositioning));
26133
+ }, this.applyRepositioningStyle(e, !0), this.five.on("wantsGesture", this.preventFiveGestures), s ? this.enableGlobalMouseTracking() : (this.pointSelector.actionIfNoIntersection = "virtualPoint", this.pointSelector.enable(), this.pointSelector.on("intersectionUpdate", this.onRepositioningMove), this.pointSelector.on("select", this.onRepositioningConfirm), this.pointSelector.on("disable", this.cancelRepositioning)), ct("esc", this.cancelRepositioning));
26134
+ });
26135
+ /**
26136
+ * Helper method to safely update polygon points while maintaining closure
26137
+ */
26138
+ d(this, "updatePolygonPoints", (e, i, s, o = !1) => {
26139
+ if (e.isPolygon && i.length > 3 && s !== void 0) {
26140
+ const r = i.length - 1;
26141
+ s === 0 ? i[r] = i[0].clone() : s === r && (i[0] = i[r].clone());
26142
+ }
26143
+ if (e.points = i, o && this.repositioningState) {
26144
+ const r = e.line;
26145
+ if (r.points = i, i.length >= 2) {
26146
+ const a = i.flatMap((l) => [l.x, l.y, l.z]);
26147
+ r.line1.geometry.setPositions(a), r.line1.computeLineDistances();
26148
+ }
26149
+ if (s !== void 0 && e.line.pointMeshes) {
26150
+ const a = i[s];
26151
+ if (e.isPolygon && i.length > 3) {
26152
+ const l = i.length - 1;
26153
+ if (s === 0) {
26154
+ const c = e.line.pointMeshes[0], h = e.line.pointMeshes[l];
26155
+ c && c.position.copy(a), h && h.position.copy(a);
26156
+ } else if (s === l) {
26157
+ const c = e.line.pointMeshes[0], h = e.line.pointMeshes[l];
26158
+ c && c.position.copy(a), h && h.position.copy(a);
26159
+ } else {
26160
+ const c = e.line.pointMeshes[s];
26161
+ c && c.position.copy(a);
26162
+ }
26163
+ } else {
26164
+ const l = e.line.pointMeshes[s];
26165
+ l && l.position.copy(a);
26166
+ }
26167
+ }
26168
+ e.isPolygon && e.polygon.setPoints(i);
26169
+ } else
26170
+ e.line.setPoints(i), e.isPolygon && e.polygon.setPoints(i);
26134
26171
  });
26135
26172
  /**
26136
26173
  * Handle mouse movement during repositioning
@@ -26141,31 +26178,7 @@ class EC extends Ct {
26141
26178
  const { measureMesh: i, pointIndex: s } = this.repositioningState;
26142
26179
  this.repositioningState.hasMoved = !0;
26143
26180
  const o = [...i.points];
26144
- if (o[s] = e.point.clone(), i.isPolygon && o.length > 3) {
26145
- const a = o.length - 1;
26146
- if (s === 0) {
26147
- o[a] = e.point.clone();
26148
- const l = i.line.pointMeshes[0], c = i.line.pointMeshes[a];
26149
- l && l.position.copy(e.point), c && c.position.copy(e.point);
26150
- } else if (s === a) {
26151
- o[0] = e.point.clone();
26152
- const l = i.line.pointMeshes[0], c = i.line.pointMeshes[a];
26153
- l && l.position.copy(e.point), c && c.position.copy(e.point);
26154
- } else {
26155
- const l = i.line.pointMeshes[s];
26156
- l && l.position.copy(e.point);
26157
- }
26158
- } else {
26159
- const a = i.line.pointMeshes[s];
26160
- a && a.position.copy(e.point);
26161
- }
26162
- i.points = o;
26163
- const r = i.line;
26164
- if (r.points = o, o.length >= 2) {
26165
- const a = o.flatMap((l) => [l.x, l.y, l.z]);
26166
- r.line1.geometry.setPositions(a), r.line1.computeLineDistances();
26167
- }
26168
- i.isPolygon && i.polygon.setPoints(o), this.five.needsRender = !0;
26181
+ o[s] = e.point.clone(), this.updatePolygonPoints(i, o, s, !0), this.five.needsRender = !0;
26169
26182
  });
26170
26183
  /**
26171
26184
  * Confirm repositioning with click
@@ -26174,7 +26187,7 @@ class EC extends Ct {
26174
26187
  if (!this.repositioningState || !e)
26175
26188
  return;
26176
26189
  const { measureMesh: i, pointIndex: s } = this.repositioningState, o = [...i.points];
26177
- o[s] = e.point.clone(), i.setPoints(o), this.applyRepositioningStyle(i, !1), this.addEndpointLongPressListeners(i), this.cleanupRepositioning();
26190
+ o[s] = e.point.clone(), this.updatePolygonPoints(i, o, s, !1), this.applyRepositioningStyle(i, !1), this.addEndpointLongPressListeners(i), this.cleanupRepositioning();
26178
26191
  });
26179
26192
  /**
26180
26193
  * Confirm repositioning when drag ends (mouse up after long press drag)
@@ -26182,8 +26195,8 @@ class EC extends Ct {
26182
26195
  d(this, "confirmRepositioningOnDragEnd", () => {
26183
26196
  if (!this.repositioningState)
26184
26197
  return;
26185
- const { measureMesh: e } = this.repositioningState;
26186
- this.applyRepositioningStyle(e, !1), this.addEndpointLongPressListeners(e), this.cleanupRepositioning();
26198
+ const { measureMesh: e, pointIndex: i } = this.repositioningState, s = [...e.points];
26199
+ this.updatePolygonPoints(e, s, i, !1), this.applyRepositioningStyle(e, !1), this.addEndpointLongPressListeners(e), this.cleanupRepositioning();
26187
26200
  });
26188
26201
  /**
26189
26202
  * Cancel repositioning (restore original position)
@@ -26192,7 +26205,7 @@ class EC extends Ct {
26192
26205
  if (!this.repositioningState)
26193
26206
  return;
26194
26207
  const { measureMesh: e, originalMeshState: i } = this.repositioningState;
26195
- e.setPoints(i), this.applyRepositioningStyle(e, !1), this.addEndpointLongPressListeners(e), this.cleanupRepositioning();
26208
+ this.updatePolygonPoints(e, i, void 0, !1), this.applyRepositioningStyle(e, !1), this.addEndpointLongPressListeners(e), this.cleanupRepositioning();
26196
26209
  });
26197
26210
  /**
26198
26211
  * Apply or remove repositioning preview styling
@@ -26316,7 +26329,7 @@ class EC extends Ct {
26316
26329
  const e = this.repositioningState.__globalMouseCleanup;
26317
26330
  e && e(), this.repositioningState.isDragMode || (this.pointSelector.off("intersectionUpdate", this.onRepositioningMove), this.pointSelector.off("select", this.onRepositioningConfirm), this.pointSelector.off("disable", this.cancelRepositioning), this.pointSelector.disable());
26318
26331
  }
26319
- this.five.off("wantsGesture", this.preventFiveGestures), ht.unbind("esc", this.cancelRepositioning), this.repositioningState = null, this.five.needsRender = !0;
26332
+ this.five.off("wantsGesture", this.preventFiveGestures), ct.unbind("esc", this.cancelRepositioning), this.repositioningState = null, this.five.needsRender = !0;
26320
26333
  });
26321
26334
  d(this, "setupGlobalTouchHandler", () => {
26322
26335
  var o;
@@ -26407,10 +26420,10 @@ class EC extends Ct {
26407
26420
  });
26408
26421
  this.five = e;
26409
26422
  const s = { unit: "m", lengthEnable: !0 };
26410
- this.config = i ? H(H({}, s), i) : s, this.group = new di(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ht("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
26423
+ this.config = i ? H(H({}, s), i) : s, this.group = new di(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ct("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
26411
26424
  }
26412
26425
  get pointSelector() {
26413
- return this._pointSelector ? this._pointSelector : (this._pointSelector = new ul(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
26426
+ return this._pointSelector ? this._pointSelector : (this._pointSelector = new dl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
26414
26427
  }
26415
26428
  get fiveDomEvents() {
26416
26429
  return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new Mo(this.five, { fiveModels: null }), this._fiveDomEvents);
@@ -26878,10 +26891,10 @@ class BC {
26878
26891
  }
26879
26892
  }
26880
26893
  }
26881
- const oc = 1e-3, Zf = 0.01, VC = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", LS = (n, t) => {
26894
+ const rc = 1e-3, Zf = 0.01, VC = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", LS = (n, t) => {
26882
26895
  var ee, K, se, ne, le, Oe, Ae, ze;
26883
26896
  let e = t == null ? void 0 : t.container, i = 1.4;
26884
- const s = (ee = t == null ? void 0 : t.wait) != null ? ee : 200, o = (K = t == null ? void 0 : t.maxNumberOnScreen) != null ? K : 3, r = (se = t == null ? void 0 : t.minRad) != null ? se : Math.PI / 4, a = (ne = t == null ? void 0 : t.nearTolerance) != null ? ne : 100, l = (le = t == null ? void 0 : t.upsideHeight) != null ? le : 1.6, c = (Oe = t == null ? void 0 : t.minDistance) != null ? Oe : 1.2, h = (Ae = t == null ? void 0 : t.maxDistance) != null ? Ae : 3.5, u = vl(n), f = document.createElement("div");
26897
+ const s = (ee = t == null ? void 0 : t.wait) != null ? ee : 200, o = (K = t == null ? void 0 : t.maxNumberOnScreen) != null ? K : 3, r = (se = t == null ? void 0 : t.minRad) != null ? se : Math.PI / 4, a = (ne = t == null ? void 0 : t.nearTolerance) != null ? ne : 100, l = (le = t == null ? void 0 : t.upsideHeight) != null ? le : 1.6, c = (Oe = t == null ? void 0 : t.minDistance) != null ? Oe : 1.2, h = (Ae = t == null ? void 0 : t.maxDistance) != null ? Ae : 3.5, u = Al(n), f = document.createElement("div");
26885
26898
  f.classList.add("PanoSpatialTagPlugin"), Object.assign(f.style, OC);
26886
26899
  const m = new _o();
26887
26900
  let p = new Image();
@@ -27016,11 +27029,11 @@ const oc = 1e-3, Zf = 0.01, VC = "https://vrlab-image4.ljcdn.com/release/web/Pan
27016
27029
  Xe.distance + Zf
27017
27030
  ), [Je] = g.intersectObjects ? at.intersectObjects(g.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(at) : at.intersectObjects(n.model.children, !0);
27018
27031
  if (Je && Xe.distance - Je.distance < Zf) {
27019
- const { position: Ke, normal: st, id: ot, replacement: Lt } = Xe, Ni = new P.Plane().setFromNormalAndCoplanarPoint(st, Ke), Ft = Ke.clone().sub($.position).cross(new P.Vector3(0, 1, 0)).setLength(oc), ri = [
27032
+ const { position: Ke, normal: st, id: ot, replacement: Lt } = Xe, Ni = new P.Plane().setFromNormalAndCoplanarPoint(st, Ke), Ft = Ke.clone().sub($.position).cross(new P.Vector3(0, 1, 0)).setLength(rc), ri = [
27020
27033
  Ke.clone(),
27021
27034
  Ke.clone().add(Ft),
27022
- Ke.clone().add(new P.Vector3(0, oc, 0)).add(Ft),
27023
- Ke.clone().add(new P.Vector3(0, oc, 0))
27035
+ Ke.clone().add(new P.Vector3(0, rc, 0)).add(Ft),
27036
+ Ke.clone().add(new P.Vector3(0, rc, 0))
27024
27037
  ].map((Gt) => Ni.projectPoint(Gt, new P.Vector3())), { container: fi, dispose: rt } = u.create3DDomContainer(ri) || {}, Nt = new zC({
27025
27038
  target: fi,
27026
27039
  props: {
@@ -27574,7 +27587,7 @@ const KC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
27574
27587
  rectPoints: [],
27575
27588
  enabled: !1,
27576
27589
  videoElement: t
27577
- }, i = vl(n), s = /* @__PURE__ */ new Map(), o = (b) => {
27590
+ }, i = Al(n), s = /* @__PURE__ */ new Map(), o = (b) => {
27578
27591
  e.videoTexture && (e.videoTexture.image.muted = b);
27579
27592
  }, r = () => e.videoTexture ? e.videoTexture.image.muted : !0, a = () => {
27580
27593
  if (e.enabled || !e.videoTexture)
@@ -28640,7 +28653,7 @@ const FS = (n) => new E4(n);
28640
28653
  function y1(n, t) {
28641
28654
  console.warn(`🚫 ==> [${n}]: ${t}`);
28642
28655
  }
28643
- var Sl = {}, M4 = k4;
28656
+ var Dl = {}, M4 = k4;
28644
28657
  function k4(n, t, e) {
28645
28658
  return n[0] = t[0] + e[0], n[1] = t[1] + e[1], n;
28646
28659
  }
@@ -28662,26 +28675,26 @@ function j4(n, t) {
28662
28675
  return n[0] * t[0] + n[1] * t[1];
28663
28676
  }
28664
28677
  var R4 = M4, Jc = x4, w1 = D4, _4 = L4, B4 = O4, op = [0, 0];
28665
- Sl.computeMiter = function(t, e, i, s, o) {
28678
+ Dl.computeMiter = function(t, e, i, s, o) {
28666
28679
  return R4(t, i, s), w1(t, t), Jc(e, -t[1], t[0]), Jc(op, -i[1], i[0]), o / B4(e, op);
28667
28680
  };
28668
- Sl.normal = function(t, e) {
28681
+ Dl.normal = function(t, e) {
28669
28682
  return Jc(t, -e[1], e[0]), t;
28670
28683
  };
28671
- Sl.direction = function(t, e, i) {
28684
+ Dl.direction = function(t, e, i) {
28672
28685
  return _4(t, e, i), w1(t, t), t;
28673
28686
  };
28674
- var hn = Sl, bs = [0, 0], Pa = [0, 0], rp = [0, 0], ar = [0, 0], V4 = function(n, t) {
28687
+ var hn = Dl, bs = [0, 0], Pa = [0, 0], rp = [0, 0], ar = [0, 0], V4 = function(n, t) {
28675
28688
  var e = null, i = [];
28676
28689
  t && (n = n.slice(), n.push(n[0]));
28677
28690
  for (var s = n.length, o = 1; o < s; o++) {
28678
28691
  var r = n[o - 1], a = n[o], l = o < n.length - 1 ? n[o + 1] : null;
28679
- if (hn.direction(bs, a, r), e || (e = [0, 0], hn.normal(e, bs)), o === 1 && rc(i, e, 1), !l)
28680
- hn.normal(e, bs), rc(i, e, 1);
28692
+ if (hn.direction(bs, a, r), e || (e = [0, 0], hn.normal(e, bs)), o === 1 && ac(i, e, 1), !l)
28693
+ hn.normal(e, bs), ac(i, e, 1);
28681
28694
  else {
28682
28695
  hn.direction(Pa, l, a);
28683
28696
  var c = hn.computeMiter(rp, ar, bs, Pa, 1);
28684
- rc(i, ar, c);
28697
+ ac(i, ar, c);
28685
28698
  }
28686
28699
  }
28687
28700
  if (n.length > 2 && t) {
@@ -28692,7 +28705,7 @@ var hn = Sl, bs = [0, 0], Pa = [0, 0], rp = [0, 0], ar = [0, 0], V4 = function(n
28692
28705
  }
28693
28706
  return i;
28694
28707
  };
28695
- function rc(n, t, e) {
28708
+ function ac(n, t, e) {
28696
28709
  n.push([[t[0], t[1]], e]);
28697
28710
  }
28698
28711
  function P1(n, t) {
@@ -28844,7 +28857,7 @@ function Y4(n, t) {
28844
28857
  });
28845
28858
  });
28846
28859
  }
28847
- const ft = (n) => n;
28860
+ const dt = (n) => n;
28848
28861
  function C1(n) {
28849
28862
  if (!n || n.length < 3)
28850
28863
  return;
@@ -29189,14 +29202,14 @@ const h8 = {
29189
29202
  }
29190
29203
  }, u8 = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
29191
29204
  navigator.userAgent.toLowerCase().indexOf("android");
29192
- const Oa = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, d8 = u8 && Oa;
29205
+ const ja = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, d8 = u8 && ja;
29193
29206
  function f8(n) {
29194
29207
  if (n.length !== 4)
29195
29208
  return !1;
29196
29209
  const [t, e, i, s] = n, o = t.distanceTo(e), r = e.distanceTo(i), a = i.distanceTo(s), l = s.distanceTo(t), c = t.distanceTo(i), h = e.distanceTo(s);
29197
29210
  return o === a && r === l && c === h;
29198
29211
  }
29199
- class ac extends P.Mesh {
29212
+ class lc extends P.Mesh {
29200
29213
  /**
29201
29214
  * @description 生成一个四边形的Mesh
29202
29215
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -29252,7 +29265,7 @@ class x1 extends P.BufferGeometry {
29252
29265
  }
29253
29266
  }
29254
29267
  function p8(n, t) {
29255
- let e = !Oa;
29268
+ let e = !ja;
29256
29269
  const i = t != null ? t : document.createElement("video");
29257
29270
  i.preload = "metadata", i.crossOrigin = "anonymous", i.muted = !0, i.loop = !0, i.playsInline = !0, i.autoplay = !0;
29258
29271
  const s = new P.VideoTexture(i);
@@ -29260,9 +29273,9 @@ function p8(n, t) {
29260
29273
  const o = () => {
29261
29274
  s.metadataLoaded || (s.dispatchEvent({ type: "videoLoaded" }), s.metadataLoaded = !0);
29262
29275
  };
29263
- if (Oa || (i.onloadedmetadata = () => {
29276
+ if (ja || (i.onloadedmetadata = () => {
29264
29277
  o();
29265
- }), Oa) {
29278
+ }), ja) {
29266
29279
  const r = () => {
29267
29280
  if (!e) {
29268
29281
  if (!i.paused) {
@@ -29457,7 +29470,7 @@ class D1 extends S1 {
29457
29470
  return this.coverMesh;
29458
29471
  if (!this.videoCoverSrc)
29459
29472
  return;
29460
- const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new P.MeshBasicMaterial({ transparent: !1, map: i }), r = fr(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new ac(r, o);
29473
+ const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new P.MeshBasicMaterial({ transparent: !1, map: i }), r = fr(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new lc(r, o);
29461
29474
  return a.position.copy(new ge(0, 0, 0)), a.name = "videoCoverMesh", a;
29462
29475
  }))();
29463
29476
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -29478,7 +29491,7 @@ class D1 extends S1 {
29478
29491
  "videoLoaded",
29479
29492
  () => c(fr(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
29480
29493
  );
29481
- }), l = new ac(a, r);
29494
+ }), l = new lc(a, r);
29482
29495
  return l.name = "videoMesh", l.position.copy(new ge(0, 0, 0)), l;
29483
29496
  }))();
29484
29497
  if (!e)
@@ -29507,7 +29520,7 @@ class D1 extends S1 {
29507
29520
  var m, p, g, v;
29508
29521
  if (this.buttonMesh)
29509
29522
  return this.buttonMesh;
29510
- 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 = fr("contain", this.cornerPoints, l.image.width / l.image.height), u = new ac(h, new g8(l));
29523
+ 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 = fr("contain", this.cornerPoints, l.image.width / l.image.height), u = new lc(h, new g8(l));
29511
29524
  u.position.copy(new ge(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
29512
29525
  u,
29513
29526
  "click",
@@ -29573,10 +29586,10 @@ class _r {
29573
29586
  o && this.cache_visible.set(o, i);
29574
29587
  }
29575
29588
  }
29576
- function nl(n) {
29589
+ function sl(n) {
29577
29590
  return Object.entries(n);
29578
29591
  }
29579
- function sl(n) {
29592
+ function ol(n) {
29580
29593
  var e, i;
29581
29594
  typeof n.visibleConfig == "object" && n.visibleConfig.keep && (n.visibleConfig.keep === "visible" ? n.visibleConfig = { keep: n.visibleConfig.keep, visibleFiveMode: (e = n.visibleConfig) == null ? void 0 : e.visibleFiveMode } : n.visibleConfig.keep === "hidden" && (n.visibleConfig = { keep: n.visibleConfig.keep })), typeof n.unfoldedConfig == "object" && (n.unfoldedConfig.disableFold && (n.unfoldedConfig = { keep: "unfolded" }), n.unfoldedConfig.disableUnfold && (n.unfoldedConfig = { keep: "folded" }), n.unfoldedConfig.keep && (n.unfoldedConfig = { keep: n.unfoldedConfig.keep }));
29582
29595
  const t = (i = n.initialState) != null ? i : {};
@@ -29775,16 +29788,16 @@ class m8 extends cs {
29775
29788
  }
29776
29789
  });
29777
29790
  const l = (w = e.initialConfig) != null ? w : {}, c = et({}, k1, this.config.globalConfig, ...Object.values(o)), h = et({}, c, l), u = {}, f = Object.values(Vt.Mode);
29778
- nl(r).forEach(([M, k]) => {
29791
+ sl(r).forEach(([M, k]) => {
29779
29792
  f.forEach((L) => {
29780
29793
  (M === "PanoramaLike" && Yn(L) || M === "ModelLike" && vi(L)) && (u[L] = et({}, c, ...Object.values(k), l, { _isMerged: !0 }));
29781
29794
  });
29782
- }), nl(a).forEach(([M, k]) => {
29795
+ }), sl(a).forEach(([M, k]) => {
29783
29796
  const L = u[M];
29784
29797
  u[M] = et({}, c, L, ...Object.values(k), l, { _isMerged: !0 });
29785
29798
  });
29786
29799
  const m = he(H({}, h), { configWithFiveMode: u });
29787
- return sl(m), Object.values(u).forEach((M) => sl(M)), m._isMerged = !0, m;
29800
+ return ol(m), Object.values(u).forEach((M) => ol(M)), m._isMerged = !0, m;
29788
29801
  }
29789
29802
  }
29790
29803
  class v8 extends m8 {
@@ -29889,7 +29902,7 @@ class A8 {
29889
29902
  });
29890
29903
  }
29891
29904
  }
29892
- function lc(n, t, e) {
29905
+ function cc(n, t, e) {
29893
29906
  var m, p, g, v, b;
29894
29907
  const i = (m = e == null ? void 0 : e.useCache) != null ? m : !0;
29895
29908
  if (!n)
@@ -29923,16 +29936,16 @@ function lc(n, t, e) {
29923
29936
  }
29924
29937
  });
29925
29938
  const a = (b = n.initialConfig) != null ? b : {}, l = et({}, k1, t.globalConfig, ...Object.values(s)), c = et({}, l, a), h = {}, u = Object.values(Vt.Mode);
29926
- nl(o).forEach(([w, M]) => {
29939
+ sl(o).forEach(([w, M]) => {
29927
29940
  u.forEach((k) => {
29928
29941
  (w === "PanoramaLike" && Yn(k) || w === "ModelLike" && vi(k)) && (h[k] = et({}, l, ...Object.values(M), a, { _isMerged: !0 }));
29929
29942
  });
29930
- }), nl(r).forEach(([w, M]) => {
29943
+ }), sl(r).forEach(([w, M]) => {
29931
29944
  const k = h[w];
29932
29945
  h[w] = et({}, l, k, ...Object.values(M), a, { _isMerged: !0 });
29933
29946
  });
29934
29947
  const f = he(H({}, c), { configWithFiveMode: h });
29935
- return sl(f), Object.values(h).forEach((w) => sl(w)), f._isMerged = !0, f;
29948
+ return ol(f), Object.values(h).forEach((w) => ol(w)), f._isMerged = !0, f;
29936
29949
  }
29937
29950
  function cp(n) {
29938
29951
  const t = n.split("?")[0].split(".").pop();
@@ -30021,7 +30034,7 @@ class ru {
30021
30034
  e.stickType = i;
30022
30035
  const s = JSON.parse(JSON.stringify(e.data)), o = (c = e.initialConfig) != null ? c : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
30023
30036
  e.initialConfig = o;
30024
- const r = lc(e, t.config), a = this.getConfig(e);
30037
+ const r = cc(e, t.config), a = this.getConfig(e);
30025
30038
  e.config = a, this.id = (h = e.id) != null ? h : Dt(), this.enabled = (u = e.enabled) != null ? u : !0, this.contentType = e.contentType, this.hoverEnabled = (m = (f = a.popoverConfig) == null ? void 0 : f.enabled) != null ? m : !0, this.data = (p = a.initialData) != null && p.important ? et(e.data, s, a.initialData) : et(e.data, a.initialData, s);
30026
30039
  let l;
30027
30040
  typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? l = !0 : a.unfoldedConfig.keep === "folded" ? l = !1 : l = !this.can("fold") : l = !this.can("fold"), this.state = H({
@@ -30059,7 +30072,7 @@ class ru {
30059
30072
  }
30060
30073
  get currentConfig() {
30061
30074
  var s, o;
30062
- const t = lc(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, i = (s = t.configWithFiveMode) == null ? void 0 : s[e];
30075
+ const t = cc(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, i = (s = t.configWithFiveMode) == null ? void 0 : s[e];
30063
30076
  return (o = i != null ? i : t) != null ? o : {};
30064
30077
  }
30065
30078
  get currentVisible() {
@@ -30133,7 +30146,7 @@ class ru {
30133
30146
  console.warn("tagDom is empty");
30134
30147
  return;
30135
30148
  }
30136
- yield (s ? ml : s0)(o, H({
30149
+ yield (s ? vl : s0)(o, H({
30137
30150
  begin: () => {
30138
30151
  s === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
30139
30152
  },
@@ -30222,7 +30235,7 @@ class ru {
30222
30235
  }
30223
30236
  getConfig(t, e) {
30224
30237
  var r, a, l;
30225
- const i = lc(t != null ? t : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), s = (r = e == null ? void 0 : e.fiveMode) != null ? r : this.five.getCurrentState().mode, o = (a = i.configWithFiveMode) == null ? void 0 : a[s];
30238
+ const i = cc(t != null ? t : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), s = (r = e == null ? void 0 : e.fiveMode) != null ? r : this.five.getCurrentState().mode, o = (a = i.configWithFiveMode) == null ? void 0 : a[s];
30226
30239
  return (l = o != null ? o : i) != null ? l : {};
30227
30240
  }
30228
30241
  getDistance(t, e = 3) {
@@ -30901,7 +30914,7 @@ function dp(n) {
30901
30914
  },
30902
30915
  i(r) {
30903
30916
  o || (r && At(() => {
30904
- o && (s && s.end(1), i = ls(t, Za, {
30917
+ o && (s && s.end(1), i = ls(t, qa, {
30905
30918
  duration: (
30906
30919
  /*duration*/
30907
30920
  n[2]
@@ -30915,7 +30928,7 @@ function dp(n) {
30915
30928
  }), o = !0);
30916
30929
  },
30917
30930
  o(r) {
30918
- i && i.invalidate(), r && (s = Ho(t, Za, {
30931
+ i && i.invalidate(), r && (s = Ho(t, qa, {
30919
30932
  duration: (
30920
30933
  /*duration*/
30921
30934
  n[2]
@@ -31389,7 +31402,7 @@ function B8(n, t, e) {
31389
31402
  if (z > 0)
31390
31403
  return z;
31391
31404
  }();
31392
- p = dt({
31405
+ p = ut({
31393
31406
  targets: D.slice(0, N).filter(Fe),
31394
31407
  autoplay: !1,
31395
31408
  duration: 400,
@@ -31398,7 +31411,7 @@ function B8(n, t, e) {
31398
31411
  opacity: [0, 1],
31399
31412
  translateX: [4, 0],
31400
31413
  translateY: [10, 0],
31401
- delay: dt.stagger(50),
31414
+ delay: ut.stagger(50),
31402
31415
  easing: "easeInOutCubic"
31403
31416
  }), a && p.seek(p.duration);
31404
31417
  }
@@ -32529,7 +32542,7 @@ function Ip(n) {
32529
32542
  },
32530
32543
  i(o) {
32531
32544
  s || (o && At(() => {
32532
- s && (i && i.end(1), e = ls(t, Za, {
32545
+ s && (i && i.end(1), e = ls(t, qa, {
32533
32546
  duration: (
32534
32547
  /*duration*/
32535
32548
  n[1]
@@ -32543,7 +32556,7 @@ function Ip(n) {
32543
32556
  }), s = !0);
32544
32557
  },
32545
32558
  o(o) {
32546
- e && e.invalidate(), o && (i = Ho(t, Za, {
32559
+ e && e.invalidate(), o && (i = Ho(t, qa, {
32547
32560
  duration: (
32548
32561
  /*duration*/
32549
32562
  n[1]
@@ -32947,7 +32960,7 @@ function cu(n) {
32947
32960
  };
32948
32961
  }
32949
32962
  const jI = 110, RI = 9, _I = 111, BI = 20;
32950
- function cc(n) {
32963
+ function hc(n) {
32951
32964
  if ("TouchEvent" in window && n instanceof TouchEvent) {
32952
32965
  const t = n.touches[0];
32953
32966
  return {
@@ -32968,13 +32981,13 @@ function VI(n, { thresholdProvider: t }) {
32968
32981
  }
32969
32982
  function c(f) {
32970
32983
  r = Date.now(), o = 0, a = !0;
32971
- const m = cc(f);
32984
+ const m = hc(f);
32972
32985
  i = m.x, s = m.y, e("swipeStart", { x: i, y: s }), OI(window, h), zI(window, u);
32973
32986
  }
32974
32987
  function h(f) {
32975
32988
  if (!a)
32976
32989
  return;
32977
- const m = cc(f), p = m.x - i, g = m.y - s;
32990
+ const m = hc(f), p = m.x - i, g = m.y - s;
32978
32991
  i = m.x, s = m.y, e("swipeMove", { x: i, y: s, dx: p, dy: g }), p !== 0 && Math.sign(p) !== Math.sign(o) && (o = 0), o += p, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? Ro : os }), xp(window, u), Sp(window, h));
32979
32992
  }
32980
32993
  function u(f) {
@@ -32982,7 +32995,7 @@ function VI(n, { thresholdProvider: t }) {
32982
32995
  e("swipeFailed");
32983
32996
  return;
32984
32997
  }
32985
- const m = cc(f);
32998
+ const m = hc(f);
32986
32999
  e("swipeEnd", { x: m.x, y: m.y });
32987
33000
  }
32988
33001
  return TI(n, c), {
@@ -33160,7 +33173,7 @@ function tE({
33160
33173
  e - 1
33161
33174
  );
33162
33175
  }
33163
- function hc({
33176
+ function uc({
33164
33177
  infinite: n,
33165
33178
  pageIndex: t,
33166
33179
  clonesCountHead: e,
@@ -33275,8 +33288,8 @@ function wE(n) {
33275
33288
  }
33276
33289
  return t;
33277
33290
  }
33278
- var PE = Array.prototype, CE = Function.prototype, H1 = Object.prototype, uc = hu["__core-js_shared__"], Lp = function() {
33279
- var n = /[^.]+$/.exec(uc && uc.keys && uc.keys.IE_PROTO || "");
33291
+ var PE = Array.prototype, CE = Function.prototype, H1 = Object.prototype, dc = hu["__core-js_shared__"], Lp = function() {
33292
+ var n = /[^.]+$/.exec(dc && dc.keys && dc.keys.IE_PROTO || "");
33280
33293
  return n ? "Symbol(src)_1." + n : "";
33281
33294
  }(), F1 = CE.toString, uu = H1.hasOwnProperty, N1 = H1.toString, IE = RegExp(
33282
33295
  "^" + F1.call(uu).replace(gE, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -33326,21 +33339,21 @@ function LE() {
33326
33339
  this.__data__ = [];
33327
33340
  }
33328
33341
  function zE(n) {
33329
- var t = this.__data__, e = Dl(t, n);
33342
+ var t = this.__data__, e = Tl(t, n);
33330
33343
  if (e < 0)
33331
33344
  return !1;
33332
33345
  var i = t.length - 1;
33333
33346
  return e == i ? t.pop() : EE.call(t, e, 1), !0;
33334
33347
  }
33335
33348
  function OE(n) {
33336
- var t = this.__data__, e = Dl(t, n);
33349
+ var t = this.__data__, e = Tl(t, n);
33337
33350
  return e < 0 ? void 0 : t[e][1];
33338
33351
  }
33339
33352
  function jE(n) {
33340
- return Dl(this.__data__, n) > -1;
33353
+ return Tl(this.__data__, n) > -1;
33341
33354
  }
33342
33355
  function RE(n, t) {
33343
- var e = this.__data__, i = Dl(e, n);
33356
+ var e = this.__data__, i = Tl(e, n);
33344
33357
  return i < 0 ? e.push([n, t]) : e[i][1] = t, this;
33345
33358
  }
33346
33359
  Go.prototype.clear = LE;
@@ -33363,23 +33376,23 @@ function _E() {
33363
33376
  };
33364
33377
  }
33365
33378
  function BE(n) {
33366
- return Tl(this, n).delete(n);
33379
+ return Ll(this, n).delete(n);
33367
33380
  }
33368
33381
  function VE(n) {
33369
- return Tl(this, n).get(n);
33382
+ return Ll(this, n).get(n);
33370
33383
  }
33371
33384
  function HE(n) {
33372
- return Tl(this, n).has(n);
33385
+ return Ll(this, n).has(n);
33373
33386
  }
33374
33387
  function FE(n, t) {
33375
- return Tl(this, n).set(n, t), this;
33388
+ return Ll(this, n).set(n, t), this;
33376
33389
  }
33377
33390
  Ns.prototype.clear = _E;
33378
33391
  Ns.prototype.delete = BE;
33379
33392
  Ns.prototype.get = VE;
33380
33393
  Ns.prototype.has = HE;
33381
33394
  Ns.prototype.set = FE;
33382
- function Dl(n, t) {
33395
+ function Tl(n, t) {
33383
33396
  for (var e = n.length; e--; )
33384
33397
  if (KE(n[e][0], t))
33385
33398
  return e;
@@ -33408,7 +33421,7 @@ function WE(n) {
33408
33421
  function UE(n) {
33409
33422
  return W1(n) ? n : ZE(n);
33410
33423
  }
33411
- function Tl(n, t) {
33424
+ function Ll(n, t) {
33412
33425
  var e = n.__data__;
33413
33426
  return XE(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
33414
33427
  }
@@ -33493,12 +33506,12 @@ function i9(n, t, e) {
33493
33506
  var i = n == null ? void 0 : NE(n, t);
33494
33507
  return i === void 0 ? e : i;
33495
33508
  }
33496
- var Ea = i9, ol = {}, n9 = {
33509
+ var Ea = i9, rl = {}, n9 = {
33497
33510
  get exports() {
33498
- return ol;
33511
+ return rl;
33499
33512
  },
33500
33513
  set exports(n) {
33501
- ol = n;
33514
+ rl = n;
33502
33515
  }
33503
33516
  };
33504
33517
  (function(n, t) {
@@ -33818,7 +33831,7 @@ var Ea = i9, ol = {}, n9 = {
33818
33831
  var J = be(x, B);
33819
33832
  return $t(J) ? J : void 0;
33820
33833
  }
33821
- var Z = ds ? Ce(ds, Object) : Rl, ie = On;
33834
+ var Z = ds ? Ce(ds, Object) : _l, ie = On;
33822
33835
  (kn && ie(new kn(new ArrayBuffer(1))) != D || Pi && ie(new Pi()) != f || pi && ie(pi.resolve()) != g || xn && ie(new xn()) != b || Sn && ie(new Sn()) != k) && (ie = function(x) {
33823
33836
  var B = Lt.call(x), J = B == p ? x.constructor : void 0, re = J ? ti(J) : void 0;
33824
33837
  if (re)
@@ -33910,16 +33923,16 @@ var Ea = i9, ol = {}, n9 = {
33910
33923
  return x === B || x !== x && B !== B;
33911
33924
  }
33912
33925
  function Ks(x) {
33913
- return jl(x) && ot.call(x, "callee") && (!Gt.call(x, "callee") || Lt.call(x) == o);
33926
+ return Rl(x) && ot.call(x, "callee") && (!Gt.call(x, "callee") || Lt.call(x) == o);
33914
33927
  }
33915
33928
  var $o = Array.isArray;
33916
33929
  function $s(x) {
33917
33930
  return x != null && ea(x.length) && !er(x);
33918
33931
  }
33919
- function jl(x) {
33932
+ function Rl(x) {
33920
33933
  return ta(x) && $s(x);
33921
33934
  }
33922
- var $r = Mn || _l;
33935
+ var $r = Mn || Bl;
33923
33936
  function er(x) {
33924
33937
  var B = Xi(x) ? Lt.call(x) : "";
33925
33938
  return B == h || B == u;
@@ -33937,21 +33950,21 @@ var Ea = i9, ol = {}, n9 = {
33937
33950
  function tr(x) {
33938
33951
  return $s(x) ? Jt(x) : jn(x);
33939
33952
  }
33940
- function Rl() {
33953
+ function _l() {
33941
33954
  return [];
33942
33955
  }
33943
- function _l() {
33956
+ function Bl() {
33944
33957
  return !1;
33945
33958
  }
33946
33959
  n.exports = Jr;
33947
- })(n9, ol);
33948
- const s9 = ol;
33949
- var rl = {}, o9 = {
33960
+ })(n9, rl);
33961
+ const s9 = rl;
33962
+ var al = {}, o9 = {
33950
33963
  get exports() {
33951
- return rl;
33964
+ return al;
33952
33965
  },
33953
33966
  set exports(n) {
33954
- rl = n;
33967
+ al = n;
33955
33968
  }
33956
33969
  };
33957
33970
  (function(n, t) {
@@ -34339,7 +34352,7 @@ var rl = {}, o9 = {
34339
34352
  return x == null ? [] : (x = Object(x), ue(xn(x), function(B) {
34340
34353
  return kn.call(x, B);
34341
34354
  }));
34342
- } : Rl, Se = Oi;
34355
+ } : _l, Se = Oi;
34343
34356
  (tn && Se(new tn(new ArrayBuffer(1))) != I || nn && Se(new nn()) != g || fs && Se(fs.resolve()) != M || ps && Se(new ps()) != D || Dn && Se(new Dn()) != A) && (Se = function(x) {
34344
34357
  var B = Oi(x), J = B == w ? x.constructor : void 0, re = J ? ti(J) : "";
34345
34358
  if (re)
@@ -34398,8 +34411,8 @@ var rl = {}, o9 = {
34398
34411
  function $o(x) {
34399
34412
  return x != null && er(x.length) && !$r(x);
34400
34413
  }
34401
- var $s = Sn || _l;
34402
- function jl(x, B) {
34414
+ var $s = Sn || Bl;
34415
+ function Rl(x, B) {
34403
34416
  return ln(x, B);
34404
34417
  }
34405
34418
  function $r(x) {
@@ -34422,15 +34435,15 @@ var rl = {}, o9 = {
34422
34435
  function tr(x) {
34423
34436
  return $o(x) ? jn(x) : vs(x);
34424
34437
  }
34425
- function Rl() {
34438
+ function _l() {
34426
34439
  return [];
34427
34440
  }
34428
- function _l() {
34441
+ function Bl() {
34429
34442
  return !1;
34430
34443
  }
34431
- n.exports = jl;
34432
- })(o9, rl);
34433
- const r9 = rl, a9 = (n, t) => r9(n, t), l9 = (n) => Object.keys(n || {}), c9 = (n, t) => {
34444
+ n.exports = Rl;
34445
+ })(o9, al);
34446
+ const r9 = al, a9 = (n, t) => r9(n, t), l9 = (n) => Object.keys(n || {}), c9 = (n, t) => {
34434
34447
  const e = {};
34435
34448
  return n.forEach((i) => {
34436
34449
  e[i] = t[i];
@@ -34697,7 +34710,7 @@ function A9(n) {
34697
34710
  },
34698
34711
  methods: {
34699
34712
  _prev({ data: r }) {
34700
- r.currentParticleIndex = hc({
34713
+ r.currentParticleIndex = uc({
34701
34714
  infinite: r.infinite,
34702
34715
  pageIndex: r.currentPageIndex - 1,
34703
34716
  clonesCountHead: r.clonesCountHead,
@@ -34708,7 +34721,7 @@ function A9(n) {
34708
34721
  });
34709
34722
  },
34710
34723
  _next({ data: r }) {
34711
- r.currentParticleIndex = hc({
34724
+ r.currentParticleIndex = uc({
34712
34725
  infinite: r.infinite,
34713
34726
  pageIndex: r.currentPageIndex + 1,
34714
34727
  clonesCountHead: r.clonesCountHead,
@@ -34787,7 +34800,7 @@ function A9(n) {
34787
34800
  });
34788
34801
  },
34789
34802
  _getParticleIndexByPageIndex({ data: r }, a) {
34790
- return hc({
34803
+ return uc({
34791
34804
  infinite: r.infinite,
34792
34805
  pageIndex: a,
34793
34806
  clonesCountHead: r.clonesCountHead,
@@ -36110,7 +36123,7 @@ function B9(n) {
36110
36123
  return (
36111
36124
  /*mediaInstanceList*/
36112
36125
  n[8][0] !== void 0 && (r.mediaInstance = /*mediaInstanceList*/
36113
- n[8][0]), t = new Q1({ props: r }), qe.push(() => yl(t, "mediaInstance", o)), {
36126
+ n[8][0]), t = new Q1({ props: r }), qe.push(() => wl(t, "mediaInstance", o)), {
36114
36127
  c() {
36115
36128
  pe(t.$$.fragment);
36116
36129
  },
@@ -36143,7 +36156,7 @@ function B9(n) {
36143
36156
  ]) : {};
36144
36157
  !e && l[0] & /*mediaInstanceList*/
36145
36158
  256 && (e = !0, c.mediaInstance = /*mediaInstanceList*/
36146
- a[8][0], bl(() => e = !1)), t.$set(c);
36159
+ a[8][0], yl(() => e = !1)), t.$set(c);
36147
36160
  },
36148
36161
  i(a) {
36149
36162
  i || (V(t.$$.fragment, a), i = !0);
@@ -36225,7 +36238,7 @@ function Yp(n) {
36225
36238
  n[8][
36226
36239
  /*index*/
36227
36240
  n[30]
36228
- ]), t = new Q1({ props: r }), qe.push(() => yl(t, "mediaInstance", o)), {
36241
+ ]), t = new Q1({ props: r }), qe.push(() => wl(t, "mediaInstance", o)), {
36229
36242
  c() {
36230
36243
  pe(t.$$.fragment);
36231
36244
  },
@@ -36257,7 +36270,7 @@ function Yp(n) {
36257
36270
  n[8][
36258
36271
  /*index*/
36259
36272
  n[30]
36260
- ], bl(() => e = !1)), t.$set(c);
36273
+ ], yl(() => e = !1)), t.$set(c);
36261
36274
  },
36262
36275
  i(a) {
36263
36276
  i || (V(t.$$.fragment, a), i = !0);
@@ -37706,7 +37719,7 @@ function nM(n, t, e) {
37706
37719
  p
37707
37720
  ];
37708
37721
  }
37709
- class Ll extends Ee {
37722
+ class zl extends Ee {
37710
37723
  constructor(t) {
37711
37724
  super(), Ie(
37712
37725
  this,
@@ -37952,7 +37965,7 @@ function ug(n) {
37952
37965
  }
37953
37966
  function oM(n) {
37954
37967
  let t, e, i;
37955
- return e = new Ll({ props: { playing: (
37968
+ return e = new zl({ props: { playing: (
37956
37969
  /*playing*/
37957
37970
  n[2]
37958
37971
  ) } }), {
@@ -38161,7 +38174,7 @@ function hM(n) {
38161
38174
  }
38162
38175
  function uM(n) {
38163
38176
  let t, e, i, s, o, r, a;
38164
- return i = new Ll({ props: { playing: (
38177
+ return i = new zl({ props: { playing: (
38165
38178
  /*playing*/
38166
38179
  n[3]
38167
38180
  ) } }), r = new lu({
@@ -38534,7 +38547,7 @@ class CM extends Ee {
38534
38547
  super(), Ie(this, t, PM, wM, Pe, { tag: 0 }, yM);
38535
38548
  }
38536
38549
  }
38537
- const dc = /* @__PURE__ */ new Map();
38550
+ const fc = /* @__PURE__ */ new Map();
38538
38551
  function Y1(n) {
38539
38552
  return te(this, null, function* () {
38540
38553
  return new Promise((t, e) => {
@@ -38550,10 +38563,10 @@ function Y1(n) {
38550
38563
  function IM(n) {
38551
38564
  return te(this, null, function* () {
38552
38565
  const { url: t, ratio: e = 3 } = n, i = (() => {
38553
- if (dc.has(t))
38554
- return dc.get(t);
38566
+ if (fc.has(t))
38567
+ return fc.get(t);
38555
38568
  const r = Y1(t);
38556
- return dc.set(t, r), r;
38569
+ return fc.set(t, r), r;
38557
38570
  })(), { width: s, height: o } = yield i;
38558
38571
  return he(H({}, n), {
38559
38572
  width: s / e,
@@ -38668,9 +38681,9 @@ function kM(n) {
38668
38681
  catch: SM,
38669
38682
  value: 21
38670
38683
  };
38671
- return Qa(
38684
+ return Xa(
38672
38685
  e = /*getImage*/
38673
- n[13](ft({
38686
+ n[13](dt({
38674
38687
  url: (
38675
38688
  /*iconUrl*/
38676
38689
  n[7]
@@ -38691,7 +38704,7 @@ function kM(n) {
38691
38704
  p(s, o) {
38692
38705
  n = s, i.ctx = n, o & /*iconUrl, iconRatio*/
38693
38706
  160 && e !== (e = /*getImage*/
38694
- n[13](ft({
38707
+ n[13](dt({
38695
38708
  url: (
38696
38709
  /*iconUrl*/
38697
38710
  n[7]
@@ -38700,7 +38713,7 @@ function kM(n) {
38700
38713
  /*iconRatio*/
38701
38714
  n[5]
38702
38715
  )
38703
- }))) && Qa(e, i) || w0(i, n, o);
38716
+ }))) && Xa(e, i) || w0(i, n, o);
38704
38717
  },
38705
38718
  d(s) {
38706
38719
  s && Q(t), i.block.d(s), i.token = null, i = null;
@@ -38718,9 +38731,9 @@ function xM(n) {
38718
38731
  catch: LM,
38719
38732
  value: 21
38720
38733
  };
38721
- return Qa(
38734
+ return Xa(
38722
38735
  e = /*getKeyframe*/
38723
- n[12](ft({
38736
+ n[12](dt({
38724
38737
  url: (
38725
38738
  /*iconUrl*/
38726
38739
  n[7]
@@ -38749,7 +38762,7 @@ function xM(n) {
38749
38762
  p(s, o) {
38750
38763
  n = s, i.ctx = n, o & /*iconUrl, iconSteps, iconFps, iconRatio*/
38751
38764
  228 && e !== (e = /*getKeyframe*/
38752
- n[12](ft({
38765
+ n[12](dt({
38753
38766
  url: (
38754
38767
  /*iconUrl*/
38755
38768
  n[7]
@@ -38766,7 +38779,7 @@ function xM(n) {
38766
38779
  /*iconRatio*/
38767
38780
  n[5]
38768
38781
  )
38769
- }))) && Qa(e, i) || w0(i, n, o);
38782
+ }))) && Xa(e, i) || w0(i, n, o);
38770
38783
  },
38771
38784
  d(s) {
38772
38785
  s && Q(t), i.block.d(s), i.token = null, i = null;
@@ -39050,7 +39063,7 @@ function RM(n, t, e) {
39050
39063
  16384 && e(5, l = g == null ? void 0 : g.ratio), n.$$.dirty & /*icon*/
39051
39064
  16384 && e(4, c = (N = g == null ? void 0 : g.scale) != null ? N : 1), n.$$.dirty & /*icon*/
39052
39065
  16384 && e(3, h = g == null ? void 0 : g.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
39053
- 252 && e(9, u = ft({
39066
+ 252 && e(9, u = dt({
39054
39067
  url: i,
39055
39068
  steps: r,
39056
39069
  fps: a,
@@ -39441,7 +39454,7 @@ function KM(n) {
39441
39454
  let t, e;
39442
39455
  return {
39443
39456
  c() {
39444
- t = new Ha(!1), e = Ge(), t.a = e;
39457
+ t = new Fa(!1), e = Ge(), t.a = e;
39445
39458
  },
39446
39459
  m(i, s) {
39447
39460
  t.m(
@@ -39743,7 +39756,7 @@ function o7(n) {
39743
39756
  let t, e, i, s, o, r, a;
39744
39757
  return e = new t7({
39745
39758
  props: {
39746
- tag: ft(
39759
+ tag: dt(
39747
39760
  /*tag*/
39748
39761
  n[0]
39749
39762
  ),
@@ -39782,7 +39795,7 @@ function o7(n) {
39782
39795
  p(l, c) {
39783
39796
  const h = {};
39784
39797
  c & /*tag*/
39785
- 1 && (h.tag = ft(
39798
+ 1 && (h.tag = dt(
39786
39799
  /*tag*/
39787
39800
  l[0]
39788
39801
  )), c & /*rendererMap*/
@@ -39822,7 +39835,7 @@ function o7(n) {
39822
39835
  function r7(n) {
39823
39836
  let t, e;
39824
39837
  return t = new qM({
39825
- props: { tag: ft(
39838
+ props: { tag: dt(
39826
39839
  /*tag*/
39827
39840
  n[0]
39828
39841
  ) }
@@ -39836,7 +39849,7 @@ function r7(n) {
39836
39849
  p(i, s) {
39837
39850
  const o = {};
39838
39851
  s & /*tag*/
39839
- 1 && (o.tag = ft(
39852
+ 1 && (o.tag = dt(
39840
39853
  /*tag*/
39841
39854
  i[0]
39842
39855
  )), t.$set(o);
@@ -39855,7 +39868,7 @@ function r7(n) {
39855
39868
  function a7(n) {
39856
39869
  let t, e;
39857
39870
  return t = new CM({
39858
- props: { tag: ft(
39871
+ props: { tag: dt(
39859
39872
  /*tag*/
39860
39873
  n[0]
39861
39874
  ) }
@@ -39869,7 +39882,7 @@ function a7(n) {
39869
39882
  p(i, s) {
39870
39883
  const o = {};
39871
39884
  s & /*tag*/
39872
- 1 && (o.tag = ft(
39885
+ 1 && (o.tag = dt(
39873
39886
  /*tag*/
39874
39887
  i[0]
39875
39888
  )), t.$set(o);
@@ -39888,7 +39901,7 @@ function a7(n) {
39888
39901
  function l7(n) {
39889
39902
  let t, e;
39890
39903
  return t = new FM({
39891
- props: { tag: ft(
39904
+ props: { tag: dt(
39892
39905
  /*tag*/
39893
39906
  n[0]
39894
39907
  ) }
@@ -39902,7 +39915,7 @@ function l7(n) {
39902
39915
  p(i, s) {
39903
39916
  const o = {};
39904
39917
  s & /*tag*/
39905
- 1 && (o.tag = ft(
39918
+ 1 && (o.tag = dt(
39906
39919
  /*tag*/
39907
39920
  i[0]
39908
39921
  )), t.$set(o);
@@ -39921,7 +39934,7 @@ function l7(n) {
39921
39934
  function c7(n) {
39922
39935
  let t, e;
39923
39936
  return t = new q9({
39924
- props: { tag: ft(
39937
+ props: { tag: dt(
39925
39938
  /*tag*/
39926
39939
  n[0]
39927
39940
  ) }
@@ -39935,7 +39948,7 @@ function c7(n) {
39935
39948
  p(i, s) {
39936
39949
  const o = {};
39937
39950
  s & /*tag*/
39938
- 1 && (o.tag = ft(
39951
+ 1 && (o.tag = dt(
39939
39952
  /*tag*/
39940
39953
  i[0]
39941
39954
  )), t.$set(o);
@@ -39954,7 +39967,7 @@ function c7(n) {
39954
39967
  function h7(n) {
39955
39968
  let t, e;
39956
39969
  return t = new bM({
39957
- props: { tag: ft(
39970
+ props: { tag: dt(
39958
39971
  /*tag*/
39959
39972
  n[0]
39960
39973
  ) }
@@ -39968,7 +39981,7 @@ function h7(n) {
39968
39981
  p(i, s) {
39969
39982
  const o = {};
39970
39983
  s & /*tag*/
39971
- 1 && (o.tag = ft(
39984
+ 1 && (o.tag = dt(
39972
39985
  /*tag*/
39973
39986
  i[0]
39974
39987
  )), t.$set(o);
@@ -39987,7 +40000,7 @@ function h7(n) {
39987
40000
  function u7(n) {
39988
40001
  let t, e;
39989
40002
  return t = new Q9({
39990
- props: { tag: ft(
40003
+ props: { tag: dt(
39991
40004
  /*tag*/
39992
40005
  n[0]
39993
40006
  ) }
@@ -40001,7 +40014,7 @@ function u7(n) {
40001
40014
  p(i, s) {
40002
40015
  const o = {};
40003
40016
  s & /*tag*/
40004
- 1 && (o.tag = ft(
40017
+ 1 && (o.tag = dt(
40005
40018
  /*tag*/
40006
40019
  i[0]
40007
40020
  )), t.$set(o);
@@ -40020,7 +40033,7 @@ function u7(n) {
40020
40033
  function d7(n) {
40021
40034
  let t, e;
40022
40035
  return t = new uI({
40023
- props: { tag: ft(
40036
+ props: { tag: dt(
40024
40037
  /*tag*/
40025
40038
  n[0]
40026
40039
  ) }
@@ -40034,7 +40047,7 @@ function d7(n) {
40034
40047
  p(i, s) {
40035
40048
  const o = {};
40036
40049
  s & /*tag*/
40037
- 1 && (o.tag = ft(
40050
+ 1 && (o.tag = dt(
40038
40051
  /*tag*/
40039
40052
  i[0]
40040
40053
  )), t.$set(o);
@@ -40091,7 +40104,7 @@ function f7(n) {
40091
40104
  }
40092
40105
  function p7(n, t, e) {
40093
40106
  let i, s, o, r, a, l, { tag: c } = t, { hooks: h } = t, { rendererMap: u = /* @__PURE__ */ new Map() } = t, { contentTypeMap: f = /* @__PURE__ */ new Map() } = t, { state: m } = t, { mediaStore: p } = t, { temporaryState: g } = t;
40094
- Ua("hooks", h), Ua("mediaStore", p);
40107
+ Qa("hooks", h), Qa("mediaStore", p);
40095
40108
  let v, b;
40096
40109
  function w(z) {
40097
40110
  z ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
@@ -40389,7 +40402,7 @@ function A7(n) {
40389
40402
  }
40390
40403
  function b7(n) {
40391
40404
  let t, e, i, s, o;
40392
- return e = new Ll({
40405
+ return e = new zl({
40393
40406
  props: { playing: (
40394
40407
  /*playing*/
40395
40408
  n[0]
@@ -40663,7 +40676,7 @@ function k7(n) {
40663
40676
  let t, e;
40664
40677
  return t = new P7({
40665
40678
  props: {
40666
- tag: ft(
40679
+ tag: dt(
40667
40680
  /*tag*/
40668
40681
  n[1]
40669
40682
  ),
@@ -40710,7 +40723,7 @@ function k7(n) {
40710
40723
  p(i, s) {
40711
40724
  const o = {};
40712
40725
  s & /*tag*/
40713
- 2 && (o.tag = ft(
40726
+ 2 && (o.tag = dt(
40714
40727
  /*tag*/
40715
40728
  i[1]
40716
40729
  )), s & /*handleTagPointClick*/
@@ -41279,7 +41292,7 @@ function q7(n) {
41279
41292
  }
41280
41293
  function J7(n) {
41281
41294
  let t, e, i, s, o, r, a, l, c, h, u, f;
41282
- return i = new Ll({
41295
+ return i = new zl({
41283
41296
  props: { playing: (
41284
41297
  /*playing*/
41285
41298
  n[0]
@@ -43527,7 +43540,7 @@ function Lk(n) {
43527
43540
  return (
43528
43541
  /*tagPointClickHelper*/
43529
43542
  n[12] !== void 0 && (o.tagPointClickHelper = /*tagPointClickHelper*/
43530
- n[12]), t = new D7({ props: o }), qe.push(() => yl(t, "tagPointClickHelper", s)), n[35](t), t.$on(
43543
+ n[12]), t = new D7({ props: o }), qe.push(() => wl(t, "tagPointClickHelper", s)), n[35](t), t.$on(
43531
43544
  "audioInstanceReady",
43532
43545
  /*audioEventHandlers*/
43533
43546
  n[27].audioInstanceReady
@@ -43560,7 +43573,7 @@ function Lk(n) {
43560
43573
  1 && (l.tag = /*tag*/
43561
43574
  r[0]), !e && a[0] & /*tagPointClickHelper*/
43562
43575
  4096 && (e = !0, l.tagPointClickHelper = /*tagPointClickHelper*/
43563
- r[12], bl(() => e = !1)), t.$set(l);
43576
+ r[12], yl(() => e = !1)), t.$set(l);
43564
43577
  },
43565
43578
  i(r) {
43566
43579
  i || (V(t.$$.fragment, r), i = !0);
@@ -43599,7 +43612,7 @@ function Ok(n) {
43599
43612
  /*mediaStore*/
43600
43613
  n[1]
43601
43614
  ),
43602
- tag: ft(
43615
+ tag: dt(
43603
43616
  /*tag*/
43604
43617
  n[0]
43605
43618
  ),
@@ -43636,7 +43649,7 @@ function Ok(n) {
43636
43649
  s[0] & /*mediaStore*/
43637
43650
  2 && (o.mediaStore = /*mediaStore*/
43638
43651
  i[1]), s[0] & /*tag*/
43639
- 1 && (o.tag = ft(
43652
+ 1 && (o.tag = dt(
43640
43653
  /*tag*/
43641
43654
  i[0]
43642
43655
  )), s[0] & /*state*/
@@ -44184,7 +44197,7 @@ function Hk(n) {
44184
44197
  }
44185
44198
  function Fk(n, t, e) {
44186
44199
  let { tags: i = [] } = t, { hooks: s } = t, { mediaStore: o } = t, { rendererMap: r } = t, { contentTypeMap: a } = t, { state: l } = t, { temporaryState: c } = t, { zIndex: h = void 0 } = t, u = null, f = null, m = 2e3;
44187
- Ua("hooks", s), Ua("mediaStore", o), Rt(() => {
44200
+ Qa("hooks", s), Qa("mediaStore", o), Rt(() => {
44188
44201
  e(8, f = Bk(m));
44189
44202
  });
44190
44203
  function p(g) {
@@ -44610,12 +44623,12 @@ class nh extends v8 {
44610
44623
  this.state.enabled && (this.filterPointTag.forEach((c) => c.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
44611
44624
  }, s = () => {
44612
44625
  this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
44613
- }, { observe: o, unobserve: r } = ja(
44626
+ }, { observe: o, unobserve: r } = Ra(
44614
44627
  e8(() => {
44615
44628
  this.store.resizeObserverDisposer && s();
44616
44629
  }, 500),
44617
44630
  e
44618
- ), { observe: a, unobserve: l } = ja(
44631
+ ), { observe: a, unobserve: l } = Ra(
44619
44632
  lp(() => i(), 400),
44620
44633
  e
44621
44634
  );
@@ -44931,7 +44944,7 @@ function Uk(n, t, e) {
44931
44944
  }, n.$$.update = () => {
44932
44945
  var M, k;
44933
44946
  n.$$.dirty & /*fontSize*/
44934
- 2048 && e(13, i = wl[b]), n.$$.dirty & /*fontConfig*/
44947
+ 2048 && e(13, i = Pl[b]), n.$$.dirty & /*fontConfig*/
44935
44948
  8192 && e(9, s = Yt((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
44936
44949
  8192 && e(15, o = ((M = i == null ? void 0 : i.padding) == null ? void 0 : M.guide) || [8, 2]), n.$$.dirty & /*padding*/
44937
44950
  32768 && e(8, r = `${Yt(o[1])} ${Yt(o[0])}`), n.$$.dirty & /*fontConfig*/
@@ -45418,7 +45431,7 @@ class sh {
45418
45431
  var t, e, i, s, o, r;
45419
45432
  if (this.disposed)
45420
45433
  return this.logError("disposed");
45421
- ml([this.group, (i = (e = (t = this.startTagContainer) == null ? void 0 : t.plugin) == null ? void 0 : e.tags[0]) == null ? void 0 : i.dom, (r = (o = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : o.tags[0]) == null ? void 0 : r.dom], {
45434
+ vl([this.group, (i = (e = (t = this.startTagContainer) == null ? void 0 : t.plugin) == null ? void 0 : e.tags[0]) == null ? void 0 : i.dom, (r = (o = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : o.tags[0]) == null ? void 0 : r.dom], {
45422
45435
  loop: 6,
45423
45436
  updateRender: () => {
45424
45437
  this.five.needsRender = !0;
@@ -45489,7 +45502,7 @@ function Jk(n) {
45489
45502
  const qS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45490
45503
  __proto__: null,
45491
45504
  GuideLineModeItem: sh
45492
- }, Symbol.toStringTag, { value: "Module" })), $1 = "CruisePlugin", fc = `${$1}`;
45505
+ }, Symbol.toStringTag, { value: "Module" })), $1 = "CruisePlugin", pc = `${$1}`;
45493
45506
  class ev extends cs {
45494
45507
  constructor(e, i) {
45495
45508
  super(e, i);
@@ -45510,13 +45523,13 @@ class ev extends cs {
45510
45523
  });
45511
45524
  d(this, "GuideLine");
45512
45525
  d(this, "disposedErrorLog", () => {
45513
- console.error(`${fc} is disposed`);
45526
+ console.error(`${pc} is disposed`);
45514
45527
  });
45515
45528
  d(this, "disableWarnLog", () => {
45516
- console.warn(`${fc} is disabled`);
45529
+ console.warn(`${pc} is disabled`);
45517
45530
  });
45518
45531
  d(this, "disableErrorLog", () => {
45519
- console.error(`${fc} is disabled`);
45532
+ console.error(`${pc} is disabled`);
45520
45533
  });
45521
45534
  this.config = i, Object.assign(window, { [`__${$1}_DEBUG__`]: this });
45522
45535
  }
@@ -45664,7 +45677,7 @@ class ev extends cs {
45664
45677
  i != null && i.warnLog && this.disableWarnLog();
45665
45678
  }
45666
45679
  }
45667
- function pc(n, t, e) {
45680
+ function gc(n, t, e) {
45668
45681
  var l, c, h;
45669
45682
  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 } = Gr(o);
45670
45683
  return { offset: s.clone(), longitude: r, latitude: a, distance: 0 };
@@ -45682,7 +45695,7 @@ let tv = class extends ev {
45682
45695
  this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
45683
45696
  });
45684
45697
  d(this, "moveToStart", () => {
45685
- this.five.setState(he(H({}, pc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
45698
+ this.five.setState(he(H({}, gc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
45686
45699
  });
45687
45700
  d(this, "playFromStart", () => {
45688
45701
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -45751,7 +45764,7 @@ let tv = class extends ev {
45751
45764
  const s = this.getPauseData();
45752
45765
  let o = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
45753
45766
  (o < 0 || o >= 1) && (o = 0);
45754
- const r = pc(this.curve, o, this.curveOffset);
45767
+ const r = gc(this.curve, o, this.curveOffset);
45755
45768
  if (this.hooks.emit("progressChange", o), this.five.setState(he(H({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
45756
45769
  const c = this.addInterruptListener(() => {
45757
45770
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
@@ -45764,7 +45777,7 @@ let tv = class extends ev {
45764
45777
  else if (this.state.playing === !1)
45765
45778
  this.five.off("renderFrame", a);
45766
45779
  else if (c >= 0) {
45767
- const h = pc(this.curve, c, this.curveOffset);
45780
+ const h = gc(this.curve, c, this.curveOffset);
45768
45781
  this.hooks.emit("progressChange", c), this.five.setState(h, !0);
45769
45782
  }
45770
45783
  };
@@ -46567,7 +46580,7 @@ function u6(n, t) {
46567
46580
  y: -(n.y - s) / i * 2 + 1
46568
46581
  });
46569
46582
  }
46570
- function zl(n, t, e) {
46583
+ function Ol(n, t, e) {
46571
46584
  if (!t || !e || !n)
46572
46585
  return;
46573
46586
  const i = u6(t, e);
@@ -46576,7 +46589,7 @@ function zl(n, t, e) {
46576
46589
  const s = new P.Raycaster();
46577
46590
  return s.setFromCamera(i, n), s.params.Points.threshold = 0.1, s;
46578
46591
  }
46579
- class gc extends h6 {
46592
+ class mc extends h6 {
46580
46593
  constructor(e) {
46581
46594
  var h;
46582
46595
  super(e.direction);
@@ -46603,20 +46616,20 @@ class gc extends h6 {
46603
46616
  this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
46604
46617
  }
46605
46618
  }
46606
- const mc = {
46619
+ const vc = {
46607
46620
  X: 15618642,
46608
46621
  Y: 4765519,
46609
46622
  Z: 4227839
46610
46623
  };
46611
46624
  class Po {
46612
46625
  static get X() {
46613
- return new P.Color(mc.X).convertSRGBToLinear().clone();
46626
+ return new P.Color(vc.X).convertSRGBToLinear().clone();
46614
46627
  }
46615
46628
  static get Y() {
46616
- return new P.Color(mc.Y).convertSRGBToLinear().clone();
46629
+ return new P.Color(vc.Y).convertSRGBToLinear().clone();
46617
46630
  }
46618
46631
  static get Z() {
46619
- return new P.Color(mc.Z).convertSRGBToLinear().clone();
46632
+ return new P.Color(vc.Z).convertSRGBToLinear().clone();
46620
46633
  }
46621
46634
  }
46622
46635
  function bu(n, t, e) {
@@ -46630,16 +46643,16 @@ function f6(n) {
46630
46643
  let t = n.pose.latitude, e = n.pose.longitude;
46631
46644
  if (ui(t) || ui(e)) {
46632
46645
  const i = n.matrix.elements;
46633
- t = Math.asin(d6(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = zc(Math.atan2(i[8], i[10])) : e = zc(Math.atan2(-i[2], i[0]));
46646
+ t = Math.asin(d6(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = Oc(Math.atan2(i[8], i[10])) : e = Oc(Math.atan2(-i[2], i[0]));
46634
46647
  }
46635
46648
  return { latitude: t, longitude: e };
46636
46649
  }
46637
46650
  function p6(n) {
46638
46651
  const { latitude: t, longitude: e } = n, i = new P.Vector3();
46639
- return $g - t < 0.03 ? i.set(0, 1, 0) : vc(0, e) ? i.set(0, 0, 1) : vc(Math.PI, e) ? i.set(0, 0, -1) : vc($g, e) ? i.set(1, 0, 0) : i.set(-1, 0, 0), i;
46652
+ return $g - t < 0.03 ? i.set(0, 1, 0) : Ac(0, e) ? i.set(0, 0, 1) : Ac(Math.PI, e) ? i.set(0, 0, -1) : Ac($g, e) ? i.set(1, 0, 0) : i.set(-1, 0, 0), i;
46640
46653
  }
46641
46654
  const $g = Number((Math.PI / 2).toFixed(5));
46642
- function vc(n, t) {
46655
+ function Ac(n, t) {
46643
46656
  return typeof n != "number" || typeof t != "number" ? !1 : Math.abs(n - t) < 1e-3;
46644
46657
  }
46645
46658
  class g6 extends o6 {
@@ -46649,7 +46662,7 @@ class g6 extends o6 {
46649
46662
  d(this, "xArrow");
46650
46663
  d(this, "yArrow");
46651
46664
  d(this, "zArrow");
46652
- i.xArrowEnable !== !1 && (this.xArrow = new gc({ direction: "x", color: Po.X })), i.yArrowEnable !== !1 && (this.yArrow = new gc({ direction: "y", color: Po.Y })), i.zArrowEnable !== !1 && (this.zArrow = new gc({ direction: "z", color: Po.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
46665
+ i.xArrowEnable !== !1 && (this.xArrow = new mc({ direction: "x", color: Po.X })), i.yArrowEnable !== !1 && (this.yArrow = new mc({ direction: "y", color: Po.Y })), i.zArrowEnable !== !1 && (this.zArrow = new mc({ direction: "z", color: Po.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
46653
46666
  }
46654
46667
  update(e) {
46655
46668
  if (this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0), e.type === "OrthographicCamera") {
@@ -46716,7 +46729,7 @@ class A6 extends a6 {
46716
46729
  d(this, "children", []);
46717
46730
  d(this, "angleTips");
46718
46731
  d(this, "container");
46719
- (i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new Ac({ direction: "x", color: Po.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new Ac({ direction: "y", color: Po.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new Ac({ direction: "z", color: Po.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = v6({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
46732
+ (i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new bc({ direction: "x", color: Po.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new bc({ direction: "y", color: Po.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new bc({ direction: "z", color: Po.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = v6({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
46720
46733
  }
46721
46734
  hide() {
46722
46735
  this.children.forEach((e) => e.hide());
@@ -46737,7 +46750,7 @@ class A6 extends a6 {
46737
46750
  this.removeFromParent(), (i = (e = this.angleTips) == null ? void 0 : e.element) == null || i.remove();
46738
46751
  }
46739
46752
  }
46740
- class Ac extends P.Group {
46753
+ class bc extends P.Group {
46741
46754
  constructor(e) {
46742
46755
  super();
46743
46756
  d(this, "direction");
@@ -47349,7 +47362,7 @@ class M6 extends Zr {
47349
47362
  d(this, "dragging", (e) => {
47350
47363
  if (!this.isDragging || !this.startInfo)
47351
47364
  return;
47352
- const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = zl(this.camera, { x: i, y: s }, this.container);
47365
+ const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = Ol(this.camera, { x: i, y: s }, this.container);
47353
47366
  return o ? (this.move(o), !1) : this.dragEnd();
47354
47367
  });
47355
47368
  d(this, "dragEnd", () => {
@@ -47587,10 +47600,10 @@ class L6 {
47587
47600
  e != null && e.warnLog && D6();
47588
47601
  }
47589
47602
  }
47590
- function bc(n) {
47603
+ function yc(n) {
47591
47604
  return n * Math.PI / 180;
47592
47605
  }
47593
- let yc = new P.Quaternion();
47606
+ let wc = new P.Quaternion();
47594
47607
  class z6 extends Zr {
47595
47608
  constructor(...e) {
47596
47609
  var c, h, u;
@@ -47609,7 +47622,7 @@ class z6 extends Zr {
47609
47622
  return this.helperObject3D.position.clone();
47610
47623
  }
47611
47624
  setRotateAngle(e) {
47612
- const { x: i = 0, y: s = 0, z: o = 0 } = e, r = new P.Euler(bc(i), bc(s), bc(o)), a = new P.Quaternion().setFromEuler(r);
47625
+ const { x: i = 0, y: s = 0, z: o = 0 } = e, r = new P.Euler(yc(i), yc(s), yc(o)), a = new P.Quaternion().setFromEuler(r);
47613
47626
  if (this.hooks.emit("wantToRotate", a))
47614
47627
  return;
47615
47628
  const { originObject3D: c, rotateCenter: h } = this;
@@ -47644,12 +47657,12 @@ class z6 extends Zr {
47644
47657
  if (s === "z")
47645
47658
  return new P.Vector3(0, 0, 1).applyQuaternion(l);
47646
47659
  })(), h = new P.Plane().setFromNormalAndCoplanarPoint(c, o), f = h.projectPoint(o.clone(), new P.Vector3()).clone().sub(this.rotateCenter), m = f.angleTo(r.baseAxes.clone().applyQuaternion(l));
47647
- this.setAngleHelperStart(s, m), this.setAngleHelperLength(s, 0), this.startInfo = { direction: s, startVector: f, plane: h, angleHelper: r, angle: 0, helperQuaternion: l.clone() }, yc = new P.Quaternion(), this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("rotateStart"), this.isDragging = !0;
47660
+ this.setAngleHelperStart(s, m), this.setAngleHelperLength(s, 0), this.startInfo = { direction: s, startVector: f, plane: h, angleHelper: r, angle: 0, helperQuaternion: l.clone() }, wc = new P.Quaternion(), this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("rotateStart"), this.isDragging = !0;
47648
47661
  }
47649
47662
  dragging(e) {
47650
47663
  if (!this.isDragging)
47651
47664
  return;
47652
- const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = zl(this.camera, { x: i, y: s }, this.container);
47665
+ const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = Ol(this.camera, { x: i, y: s }, this.container);
47653
47666
  return o ? (this.rotate(o), !1) : this.dragEnd();
47654
47667
  }
47655
47668
  rotate(e) {
@@ -47671,14 +47684,14 @@ class z6 extends Zr {
47671
47684
  ),
47672
47685
  `${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
47673
47686
  )[r] * o.angleDirection;
47674
- if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(Cl(this.startInfo.angle)), h) {
47687
+ if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(Il(this.startInfo.angle)), h) {
47675
47688
  const w = new P.Vector3().subVectors(l.position, h).applyQuaternion(m).add(h);
47676
47689
  l.position.copy(w);
47677
47690
  }
47678
- l.applyQuaternion(m), yc.premultiply(m), this.internalHooks.emit("applyObjectRotate", { quaternion: m, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = f;
47691
+ l.applyQuaternion(m), wc.premultiply(m), this.internalHooks.emit("applyObjectRotate", { quaternion: m, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = f;
47679
47692
  }
47680
47693
  dragEnd() {
47681
- this.isDragging && (this.applyHelperQuaternion(yc, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
47694
+ this.isDragging && (this.applyHelperQuaternion(wc, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
47682
47695
  }
47683
47696
  getAngleHelper(e) {
47684
47697
  var i, s, o;
@@ -47767,7 +47780,7 @@ class O6 extends Zr {
47767
47780
  dragging(e) {
47768
47781
  if (!this.isDragging)
47769
47782
  return;
47770
- const i = zl(this.camera, e, this.container);
47783
+ const i = Ol(this.camera, e, this.container);
47771
47784
  if (!i)
47772
47785
  return this.dragEnd();
47773
47786
  this.scale(i);
@@ -47920,7 +47933,7 @@ class V6 extends Zr {
47920
47933
  d(this, "dragging", (e) => {
47921
47934
  if (!this.isDragging || !this.startInfo)
47922
47935
  return;
47923
- const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = zl(this.camera, { x: i, y: s }, this.container);
47936
+ const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = Ol(this.camera, { x: i, y: s }, this.container);
47924
47937
  return o ? (this.scale(o), !1) : this.dragEnd();
47925
47938
  });
47926
47939
  d(this, "scale", (e) => {
@@ -48528,7 +48541,7 @@ class em {
48528
48541
  const t = {
48529
48542
  value: 0
48530
48543
  };
48531
- dt({
48544
+ ut({
48532
48545
  targets: t,
48533
48546
  value: 1,
48534
48547
  duration: 300,
@@ -48555,7 +48568,7 @@ class em {
48555
48568
  const i = document.createElement("video");
48556
48569
  i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
48557
48570
  const s = new sA(this.video);
48558
- s.minFilter = Mc, s.magFilter = Mc;
48571
+ s.minFilter = kc, s.magFilter = kc;
48559
48572
  const o = new Am({
48560
48573
  vertexShader: G6,
48561
48574
  fragmentShader: W6,
@@ -48862,7 +48875,7 @@ function J6(n, t) {
48862
48875
  function K6(n, t) {
48863
48876
  return n * n * t;
48864
48877
  }
48865
- function wc(n, t, e, i) {
48878
+ function Pc(n, t, e, i) {
48866
48879
  return q6(n, t) + J6(n, e) + K6(n, i);
48867
48880
  }
48868
48881
  function $6(n, t) {
@@ -48879,7 +48892,7 @@ function tx(n, t) {
48879
48892
  function ix(n, t) {
48880
48893
  return n * n * n * t;
48881
48894
  }
48882
- function Pc(n, t, e, i, s) {
48895
+ function Cc(n, t, e, i, s) {
48883
48896
  return $6(n, t) + ex(n, e) + tx(n, i) + ix(n, s);
48884
48897
  }
48885
48898
  function ah(n, t) {
@@ -48888,15 +48901,15 @@ function ah(n, t) {
48888
48901
  throw new Error("length of points must greater than 2");
48889
48902
  if (e === 2)
48890
48903
  return new P.Vector3(
48891
- wc(n, t[0].x, t[1].x, t[2].x),
48892
- wc(n, t[0].y, t[1].y, t[2].y),
48893
- wc(n, t[0].z, t[1].z, t[2].z)
48904
+ Pc(n, t[0].x, t[1].x, t[2].x),
48905
+ Pc(n, t[0].y, t[1].y, t[2].y),
48906
+ Pc(n, t[0].z, t[1].z, t[2].z)
48894
48907
  );
48895
48908
  if (e === 3)
48896
48909
  return new P.Vector3(
48897
- Pc(n, t[0].x, t[1].x, t[2].x, t[3].x),
48898
- Pc(n, t[0].y, t[1].y, t[2].y, t[3].y),
48899
- Pc(n, t[0].z, t[1].z, t[2].z, t[3].z)
48910
+ Cc(n, t[0].x, t[1].x, t[2].x, t[3].x),
48911
+ Cc(n, t[0].y, t[1].y, t[2].y, t[3].y),
48912
+ Cc(n, t[0].z, t[1].z, t[2].z, t[3].z)
48900
48913
  );
48901
48914
  if (e === 1) {
48902
48915
  const [s, o] = t;
@@ -49548,7 +49561,7 @@ function dx(n, t, e) {
49548
49561
  } } = t, { rendererIfNeed: M = void 0 } = t, { rendererData: k = void 0 } = t, { fontSize: L } = t, D, N, z, _;
49549
49562
  const A = (S) => {
49550
49563
  if (m.state.mode !== "Panorama") {
49551
- const R = -(10 + 54 * (1 - Cl(S.latitude) / 90)), q = R + h, ee = q >= 0 ? 0 : -q / -u;
49564
+ const R = -(10 + 54 * (1 - Il(S.latitude) / 90)), q = R + h, ee = q >= 0 ? 0 : -q / -u;
49552
49565
  e(7, N.style.transform = `scaleY(${ee})`, N), e(7, N.style.top = `${q}px`, N), e(8, z.style.top = `${R}px`, z);
49553
49566
  }
49554
49567
  };
@@ -49578,7 +49591,7 @@ function dx(n, t, e) {
49578
49591
  var S;
49579
49592
  n.$$.dirty & /*visible*/
49580
49593
  32768 && e(13, i = p ? "visible" : "hidden"), n.$$.dirty & /*fontSize*/
49581
- 131072 && e(21, s = wl[L]), n.$$.dirty & /*fontConfig*/
49594
+ 131072 && e(21, s = Pl[L]), n.$$.dirty & /*fontConfig*/
49582
49595
  2097152 && e(12, o = Yt((s == null ? void 0 : s.name) || 12)), n.$$.dirty & /*fontConfig*/
49583
49596
  2097152 && e(19, r = ((S = s == null ? void 0 : s.padding) == null ? void 0 : S.room) || [6, 5]), n.$$.dirty & /*padding*/
49584
49597
  524288 && e(11, a = `${Yt(r[1])} ${Yt(r[0])}`), n.$$.dirty & /*fontConfig*/
@@ -49831,10 +49844,10 @@ class px {
49831
49844
  });
49832
49845
  var l, c, h, u;
49833
49846
  const i = e.object_data, s = i.bottom_y, o = i.height, r = new P.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
49834
- this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = o, this.bottomY = s, this.opacity = a, this.shape = new P.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new P.Mesh(nm(this.shape, o), gx(r, a)), Cc(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new Bm(
49847
+ this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = o, this.bottomY = s, this.opacity = a, this.shape = new P.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new P.Mesh(nm(this.shape, o), gx(r, a)), Ic(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new Bm(
49835
49848
  new P.EdgesGeometry(this.makerObject.geometry),
49836
49849
  new P.LineBasicMaterial({ color: r, transparent: !0 })
49837
- ), Cc(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(o), this.modelGroup = new fx(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
49850
+ ), Ic(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(o), this.modelGroup = new fx(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
49838
49851
  }
49839
49852
  /** 挂载标注 */
49840
49853
  mount() {
@@ -49853,7 +49866,7 @@ class px {
49853
49866
  transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
49854
49867
  onClick: (i) => this.hooks.emit("tagClick", { target: this, nativeEvent: i })
49855
49868
  }
49856
- }), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = ja(this.onContainerResize, e), this.resizeObserver.observe(), typeof this.fontSizeManager == "object" && "subscribe" in this.fontSizeManager && (this.unsubscribeFontSize = this.fontSizeManager.subscribe((i) => {
49869
+ }), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = Ra(this.onContainerResize, e), this.resizeObserver.observe(), typeof this.fontSizeManager == "object" && "subscribe" in this.fontSizeManager && (this.unsubscribeFontSize = this.fontSizeManager.subscribe((i) => {
49857
49870
  this.currentFontSize = i, this.updateTagFontSize();
49858
49871
  }));
49859
49872
  }
@@ -49885,7 +49898,7 @@ class px {
49885
49898
  throw new Error("高度必须大于 0");
49886
49899
  this.height = t, this.makerObject.geometry = nm(this.shape, t), this.outline.geometry = new P.EdgesGeometry(this.makerObject.geometry);
49887
49900
  const e = this.shape.extractPoints(10).shape.slice(0, -1), i = $3(e), s = new P.Vector3(i.x, i.y, t);
49888
- Cc(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
49901
+ Ic(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
49889
49902
  }
49890
49903
  /** 更改标注标签的显示层级
49891
49904
  * @description 为什么需要这个方法
@@ -49913,7 +49926,7 @@ function gx(n, t) {
49913
49926
  transparent: !0
49914
49927
  });
49915
49928
  }
49916
- function Cc(n, t) {
49929
+ function Ic(n, t) {
49917
49930
  const e = new P.Matrix4(), i = new P.Matrix4().makeRotationX(Math.PI / 2), s = new P.Matrix4().makeTranslation(0, 0, -t), o = new P.Matrix4().makeScale(1, 1, -1);
49918
49931
  e.multiply(i), e.multiply(s), e.multiply(o), n.applyMatrix4(e);
49919
49932
  }
@@ -50449,7 +50462,7 @@ class Ax {
50449
50462
  return this._pointSelector;
50450
50463
  const t = (i = this.config) == null ? void 0 : i.magnifier;
50451
50464
  let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
50452
- return (s = this.config) != null && s.hideCursorCircle && (e = he(H({}, e), { pointHelper: null })), this._pointSelector = new ul(this.five, {
50465
+ return (s = this.config) != null && s.hideCursorCircle && (e = he(H({}, e), { pointHelper: null })), this._pointSelector = new dl(this.five, {
50453
50466
  mode: "cursor",
50454
50467
  helper: e
50455
50468
  }), this._pointSelector;
@@ -50565,7 +50578,7 @@ class Zn extends hv {
50565
50578
  d(this, "name", "PolylineWithDotsMesh");
50566
50579
  }
50567
50580
  }
50568
- const Ic = /* @__PURE__ */ new Map();
50581
+ const Ec = /* @__PURE__ */ new Map();
50569
50582
  class Fi extends di {
50570
50583
  constructor(e, i) {
50571
50584
  var s, o;
@@ -50581,8 +50594,8 @@ class Fi extends di {
50581
50594
  * @description 配置
50582
50595
  */
50583
50596
  d(this, "config");
50584
- d(this, "on", (e, i, s) => ct.modules.fiveDomEvents.addEventListener(this, e, i, s));
50585
- d(this, "off", (...e) => ct.modules.fiveDomEvents.removeEventListener(this, ...e));
50597
+ d(this, "on", (e, i, s) => lt.modules.fiveDomEvents.addEventListener(this, e, i, s));
50598
+ d(this, "off", (...e) => lt.modules.fiveDomEvents.removeEventListener(this, ...e));
50586
50599
  d(this, "applyObjectMatrixWorld", (e, i) => {
50587
50600
  const s = i != null ? i : this;
50588
50601
  return s.updateMatrixWorld(), Er(s, e);
@@ -50591,9 +50604,9 @@ class Fi extends di {
50591
50604
  const s = i != null ? i : this;
50592
50605
  return s.updateMatrixWorld(), QA(s, e);
50593
50606
  });
50594
- e != null && e.id && (this.uuid = e.id), this.config = H({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Fe((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = he(H({}, e.style), { occlusionMode: this.config.occlusionMode })), Fe((o = this.config) == null ? void 0 : o.occlusionVisibility) && (e.style = he(H({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ht("esc", () => {
50607
+ e != null && e.id && (this.uuid = e.id), this.config = H({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Fe((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = he(H({}, e.style), { occlusionMode: this.config.occlusionMode })), Fe((o = this.config) == null ? void 0 : o.occlusionVisibility) && (e.style = he(H({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ct("esc", () => {
50595
50608
  this.stopCreating();
50596
- }), this.config.defaultAction && (ht("backspace, delete", () => {
50609
+ }), this.config.defaultAction && (ct("backspace, delete", () => {
50597
50610
  this.selected && this.delete();
50598
50611
  }), this.on("click", () => {
50599
50612
  var r;
@@ -50601,7 +50614,7 @@ class Fi extends di {
50601
50614
  var l;
50602
50615
  a instanceof Fi && a !== this && ((l = a._editor) == null || l.disable());
50603
50616
  }));
50604
- }), ht("esc", () => {
50617
+ }), ct("esc", () => {
50605
50618
  this.selected && this.unselect();
50606
50619
  }));
50607
50620
  }
@@ -50615,7 +50628,7 @@ class Fi extends di {
50615
50628
  };
50616
50629
  }
50617
50630
  get pointSelector() {
50618
- return ct.modules.pointSelector;
50631
+ return lt.modules.pointSelector;
50619
50632
  }
50620
50633
  /**
50621
50634
  * @description 撤销
@@ -50645,7 +50658,7 @@ class Fi extends di {
50645
50658
  * @description 停止创建当前物体,等同于`esc`
50646
50659
  */
50647
50660
  stopCreating() {
50648
- ct.modules.pointSelector.disable();
50661
+ lt.modules.pointSelector.disable();
50649
50662
  }
50650
50663
  /**
50651
50664
  * @description 从场景中删除当前物体,并且移除事件监听
@@ -50662,8 +50675,8 @@ class Fi extends di {
50662
50675
  select(e = { only: !1 }) {
50663
50676
  if (this.selected)
50664
50677
  return;
50665
- this.selected = !0, this.highlight(), Ic.has(this.parent.uuid) || Ic.set(this.parent.uuid, []);
50666
- const i = Ic.get(this.parent.uuid);
50678
+ this.selected = !0, this.highlight(), Ec.has(this.parent.uuid) || Ec.set(this.parent.uuid, []);
50679
+ const i = Ec.get(this.parent.uuid);
50667
50680
  i.push(this), e.only && (i == null || i.forEach((s) => {
50668
50681
  s !== this && s.unselect();
50669
50682
  }));
@@ -50689,12 +50702,12 @@ class Fi extends di {
50689
50702
  * @description 显示删除按钮
50690
50703
  */
50691
50704
  showDeleteButton(e, i) {
50692
- ct.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), ct.modules.five.once("cameraUpdate", () => {
50693
- ct.modules.cursor.removeDeleteButton();
50705
+ lt.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), lt.modules.five.once("cameraUpdate", () => {
50706
+ lt.modules.cursor.removeDeleteButton();
50694
50707
  });
50695
50708
  }
50696
50709
  }
50697
- class Ol extends di {
50710
+ class jl extends di {
50698
50711
  constructor(e) {
50699
50712
  super();
50700
50713
  d(this, "hooks", new Ct());
@@ -50714,7 +50727,7 @@ class Ol extends di {
50714
50727
  this.originObject.remove(this);
50715
50728
  }
50716
50729
  }
50717
- class qr extends Ol {
50730
+ class qr extends jl {
50718
50731
  constructor(e, i) {
50719
50732
  super(e);
50720
50733
  d(this, "objectHelperConfig");
@@ -50725,25 +50738,25 @@ class qr extends Ol {
50725
50738
  }
50726
50739
  get helper() {
50727
50740
  var e;
50728
- return (e = ct.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : e.helper;
50741
+ return (e = lt.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : e.helper;
50729
50742
  }
50730
50743
  enable() {
50731
50744
  super.enable();
50732
50745
  const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
50733
- ct.modules.object3DHelper.addObject3DHelper(this.originObject, H({ positionFrom: "boundingBox" }, e));
50734
- const i = ct.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
50746
+ lt.modules.object3DHelper.addObject3DHelper(this.originObject, H({ positionFrom: "boundingBox" }, e));
50747
+ const i = lt.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
50735
50748
  i.hooks.on("move", this.onObjectUpdate), i.hooks.on("rotate", this.onObjectUpdate), i.hooks.on("scale", this.onObjectUpdate);
50736
50749
  }
50737
50750
  disable() {
50738
50751
  var e, i, s;
50739
- super.disable(), (e = this.helper) == null || e.hooks.off("move", this.onObjectUpdate), (i = this.helper) == null || i.hooks.off("rotate", this.onObjectUpdate), (s = this.helper) == null || s.hooks.off("scale", this.onObjectUpdate), ct.modules.object3DHelper.removeObject3DHelper(this.originObject);
50752
+ super.disable(), (e = this.helper) == null || e.hooks.off("move", this.onObjectUpdate), (i = this.helper) == null || i.hooks.off("rotate", this.onObjectUpdate), (s = this.helper) == null || s.hooks.off("scale", this.onObjectUpdate), lt.modules.object3DHelper.removeObject3DHelper(this.originObject);
50740
50753
  }
50741
50754
  initialHelperMatrix() {
50742
50755
  var e;
50743
50756
  (e = this.helper) == null || e.initialHelperMatrix();
50744
50757
  }
50745
50758
  }
50746
- class Pu extends Ol {
50759
+ class Pu extends jl {
50747
50760
  constructor(e) {
50748
50761
  super(e);
50749
50762
  d(this, "draggingPoints", []);
@@ -50764,7 +50777,7 @@ class Pu extends Ol {
50764
50777
  enable() {
50765
50778
  super.enable(), this.points.filter(Fe).forEach((e) => {
50766
50779
  const i = new ss();
50767
- i.visible = !1, i.position.copy(e), i.draggable = !0, ct.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), ct.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), ct.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
50780
+ i.visible = !1, i.position.copy(e), i.draggable = !0, lt.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), lt.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), lt.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
50768
50781
  });
50769
50782
  }
50770
50783
  disable() {
@@ -50777,7 +50790,7 @@ class yx extends Pu {
50777
50790
  d(this, "onDrag", (e) => {
50778
50791
  if (!this.draggingPoints || this.draggingPoints.length === 0)
50779
50792
  return;
50780
- const i = Nr(ct.modules.five, e.raycaster);
50793
+ const i = Nr(lt.modules.five, e.raycaster);
50781
50794
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
50782
50795
  });
50783
50796
  }
@@ -50791,7 +50804,7 @@ class wx extends Pu {
50791
50804
  d(this, "onDrag", (e) => {
50792
50805
  if (!this.draggingPoints || this.draggingPoints.length === 0)
50793
50806
  return;
50794
- const i = Nr(ct.modules.five, e.raycaster);
50807
+ const i = Nr(lt.modules.five, e.raycaster);
50795
50808
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
50796
50809
  });
50797
50810
  }
@@ -50899,12 +50912,12 @@ function Px(n, t, e) {
50899
50912
  redo: w
50900
50913
  };
50901
50914
  }
50902
- class Cx extends Ol {
50915
+ class Cx extends jl {
50903
50916
  constructor(e) {
50904
50917
  super(e);
50905
50918
  d(this, "onDrag", (e) => {
50906
50919
  var s;
50907
- const i = Nr(ct.modules.five, e.raycaster);
50920
+ const i = Nr(lt.modules.five, e.raycaster);
50908
50921
  (s = this.originObject.pointMesh) == null || s.position.copy(i.point);
50909
50922
  });
50910
50923
  }
@@ -51031,7 +51044,7 @@ class Ix extends Pu {
51031
51044
  d(this, "onDrag", (e) => {
51032
51045
  if (!this.draggingPoints || this.draggingPoints.length === 0)
51033
51046
  return;
51034
- const i = Nr(ct.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
51047
+ const i = Nr(lt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
51035
51048
  this.draggingPoints.forEach((o) => o.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((o) => o.position));
51036
51049
  });
51037
51050
  }
@@ -51198,7 +51211,7 @@ class Ts extends di {
51198
51211
  d(this, "_geometryInfoCache");
51199
51212
  d(this, "geometryInfoNeedUpdate", !0);
51200
51213
  d(this, "edgeMesh", new bi());
51201
- d(this, "prismMesh", new xl());
51214
+ d(this, "prismMesh", new Sl());
51202
51215
  d(this, "paramStyle");
51203
51216
  this.prismMesh.name = "PrismMesh", this.prismMesh.geometry = new kx(), this.edgeMesh.name = "EdgeMesh", this.addIfNotExists(this.prismMesh, this.edgeMesh), e && this.setPoints(e), this.setStyle(e);
51204
51217
  }
@@ -51511,7 +51524,7 @@ class Iu extends No {
51511
51524
  this.points = i, this.geometry = new xx(i), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
51512
51525
  }
51513
51526
  }
51514
- class al extends Iu {
51527
+ class ll extends Iu {
51515
51528
  constructor(e) {
51516
51529
  const o = e != null ? e : {}, { points: i } = o, s = Vn(o, ["points"]);
51517
51530
  super();
@@ -51551,7 +51564,7 @@ class lm extends Fi {
51551
51564
  d(this, "type", "Rectangle");
51552
51565
  d(this, "rectangleMesh");
51553
51566
  d(this, "_editor");
51554
- e && (this.rectangleMesh = new al(H(H({}, e.style), e)), this.add(this.rectangleMesh));
51567
+ e && (this.rectangleMesh = new ll(H(H({}, e.style), e)), this.add(this.rectangleMesh));
51555
51568
  }
51556
51569
  get editor() {
51557
51570
  return this._editor || (this._editor = new pv(this.rectangleMesh)), this._editor;
@@ -51581,7 +51594,7 @@ class lm extends Fi {
51581
51594
  create(e) {
51582
51595
  return te(this, null, function* () {
51583
51596
  this.removeChildren();
51584
- const i = new al(e);
51597
+ const i = new ll(e);
51585
51598
  this.rectangleMesh = i, this.add(this.rectangleMesh), yield Eu(this.rectangleMesh, this.pointSelector, e), this.config.defaultAction && this.editor.enable();
51586
51599
  });
51587
51600
  }
@@ -51641,7 +51654,7 @@ function Dx(n, t, e) {
51641
51654
  r.remove(l);
51642
51655
  const z = k.raycaster.ray.intersectPlane(p, new P.Vector3()), _ = u[0].distanceTo(u[1]) / 2, A = new P.Vector3().lerpVectors(u[0], u[1], 0.5), C = new P.Vector3().subVectors(z, A).normalize();
51643
51656
  f = new P.Vector3().addVectors(A, C.multiplyScalar(_));
51644
- const I = [u[0], f, u[1]], E = gv(I, ct.modules.five.camera.position);
51657
+ const I = [u[0], f, u[1]], E = gv(I, lt.modules.five.camera.position);
51645
51658
  n.setPoints(E);
51646
51659
  return;
51647
51660
  }
@@ -51691,7 +51704,7 @@ function Tx(n, t, e) {
51691
51704
  c.setPoints([(_ = k.originalPoint) != null ? _ : k.point, k.point]);
51692
51705
  const A = new P.Vector3().crossVectors(u[0].clone().sub(u[1]), p.normal).normalize();
51693
51706
  f = new P.Line3(u[1].clone().add(A), u[1].clone().sub(A)).closestPointToPoint(k.point, !1, new P.Vector3());
51694
- const I = [u[0], u[1], f], E = gv(I, ct.modules.five.camera.position);
51707
+ const I = [u[0], u[1], f], E = gv(I, lt.modules.five.camera.position);
51695
51708
  n.setPoints(E);
51696
51709
  return;
51697
51710
  }
@@ -51710,7 +51723,7 @@ class mv extends qr {
51710
51723
  function vv(n) {
51711
51724
  return Math.max(32, Math.min(128, Math.floor(n * 40)));
51712
51725
  }
51713
- class Av extends xl {
51726
+ class Av extends Sl {
51714
51727
  constructor(e) {
51715
51728
  super(e);
51716
51729
  d(this, "_normal");
@@ -51856,7 +51869,7 @@ class hh extends di {
51856
51869
  d(this, "_topCenter");
51857
51870
  d(this, "_bottomCenter");
51858
51871
  d(this, "_radius");
51859
- this.params = e, this.bottomCircle = new Vr(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Vr(e), this.topCircle.name = "topCircle", this.edgeMesh = new xl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
51872
+ this.params = e, this.bottomCircle = new Vr(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Vr(e), this.topCircle.name = "topCircle", this.edgeMesh = new Sl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
51860
51873
  }
51861
51874
  get bottomCenter() {
51862
51875
  return this.bottomCircle.center;
@@ -52178,7 +52191,7 @@ function Pv(n, t, e) {
52178
52191
  s(new Error("No container"));
52179
52192
  return;
52180
52193
  }
52181
- const r = new al(n.style);
52194
+ const r = new ll(n.style);
52182
52195
  o.add(r), yield Eu(r, t, e), o.remove(r), n.setPoints({ points: r.points });
52183
52196
  const a = new bi(), l = us(n.bottomPositions), c = si(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
52184
52197
  a.setPoints([h, u]), o.add(a), t.enable();
@@ -52336,7 +52349,7 @@ const go = class extends Ct {
52336
52349
  });
52337
52350
  this.five = e, this.theme = i, this.config = H({
52338
52351
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
52339
- }, s), this.group = new di(), this.group.name = "Sculpt", e.scene.add(this.group), go.modules.init(e, this.config), ht("ctrl+z, command+z", this.undo), ht("ctrl+shift+z, command+shift+z", this.redo), go.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o, origDomEvent: r }) => {
52352
+ }, s), this.group = new di(), this.group.name = "Sculpt", e.scene.add(this.group), go.modules.init(e, this.config), ct("ctrl+z, command+z", this.undo), ct("ctrl+shift+z, command+shift+z", this.redo), go.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o, origDomEvent: r }) => {
52340
52353
  var l;
52341
52354
  const a = cv((l = o == null ? void 0 : o[0]) == null ? void 0 : l.object, (c) => c.isSculptObject);
52342
52355
  return a && !a.editing ? this.emit("click", r, a) : !1;
@@ -52501,15 +52514,15 @@ const go = class extends Ct {
52501
52514
  });
52502
52515
  }
52503
52516
  };
52504
- let ct = go;
52505
- d(ct, "modules", lv);
52517
+ let lt = go;
52518
+ d(lt, "modules", lv);
52506
52519
  const dD = (n, t, e) => {
52507
52520
  if (t && typeof t == "object" && ("theme" in t || "config" in t)) {
52508
52521
  const i = t;
52509
- return new ct(n, i.theme, i.config);
52522
+ return new lt(n, i.theme, i.config);
52510
52523
  }
52511
- return new ct(n, t, e);
52512
- }, fD = (n, t) => new ct(n, t == null ? void 0 : t.theme, t == null ? void 0 : t.config);
52524
+ return new lt(n, t, e);
52525
+ }, fD = (n, t) => new lt(n, t == null ? void 0 : t.theme, t == null ? void 0 : t.config);
52513
52526
  function zx(n, ...t) {
52514
52527
  t.forEach((e) => {
52515
52528
  n.children.includes(e) || e && n.add(e);
@@ -52677,7 +52690,7 @@ const gm = (n, t) => {
52677
52690
  triangles: gm,
52678
52691
  prism: Bx
52679
52692
  };
52680
- class Ec extends ku {
52693
+ class Mc extends ku {
52681
52694
  constructor(...e) {
52682
52695
  const i = e[0], s = Hs(i.model), o = new P.Vector3().lerpVectors(Un(s, 0), Un(s, 5), 0.5);
52683
52696
  super(he(H({}, i), { position: o }));
@@ -52759,7 +52772,7 @@ class Hx extends En {
52759
52772
  d(this, "onFiveEveryReady", () => te(this, null, function* () {
52760
52773
  if (this.five.state.mode === "Panorama")
52761
52774
  return;
52762
- const e = this.items.filter((l) => l instanceof Ec).map((l) => l.tag), i = e.filter((l) => l.position && l.visible && l.enabled);
52775
+ const e = this.items.filter((l) => l instanceof Mc).map((l) => l.tag), i = e.filter((l) => l.position && l.visible && l.enabled);
52763
52776
  yield iv(0);
52764
52777
  const s = this.five.camera.position.clone(), o = i.sort((l, c) => s.distanceTo(l.position) - s.distanceTo(c.position)), r = [], a = (l, c) => !(l.right < c.left || l.left > c.right || l.bottom < c.top || l.top > c.bottom);
52765
52778
  e.forEach((l) => {
@@ -52835,7 +52848,7 @@ class Hx extends En {
52835
52848
  });
52836
52849
  a.push(a[0]);
52837
52850
  const l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c = Ue(a[0]).add(new ge().setY(l));
52838
- return r.setPoints({ points: a, heightPoint: c }), r.setStyle(i(s)), new Ec({
52851
+ return r.setPoints({ points: a, heightPoint: c }), r.setStyle(i(s)), new Mc({
52839
52852
  five: this.five,
52840
52853
  tagWrapper: this.tagWrapper,
52841
52854
  model: r,
@@ -52992,7 +53005,7 @@ class Hx extends En {
52992
53005
  this.group.visible = !1, this.tagWrapper.style.display = "none", this.five.needsRender = !0;
52993
53006
  }
52994
53007
  getPrismItems() {
52995
- return this.items.filter((e) => e instanceof Ec);
53008
+ return this.items.filter((e) => e instanceof Mc);
52996
53009
  }
52997
53010
  getPolygonItems() {
52998
53011
  return this.items.filter((e) => e instanceof mm);
@@ -53003,7 +53016,7 @@ class Hx extends En {
53003
53016
  }
53004
53017
  const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53005
53018
  __proto__: null,
53006
- BaseEditor: Ol,
53019
+ BaseEditor: jl,
53007
53020
  BoxMesh: uh,
53008
53021
  BoxMeshEditor: wv,
53009
53022
  CircleMesh: Av,
@@ -53018,7 +53031,7 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
53018
53031
  PrismMeshEditor: dv,
53019
53032
  RectangleMesh: Iu,
53020
53033
  RectangleMeshEditor: pv,
53021
- RectangleWithEdgeMesh: al,
53034
+ RectangleWithEdgeMesh: ll,
53022
53035
  createBox: Pv,
53023
53036
  createCircle: Mu,
53024
53037
  createCylinder: yv,
@@ -53032,7 +53045,7 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
53032
53045
  BetterTween: Ls,
53033
53046
  FiveDomEvents: Mo,
53034
53047
  FivePuppet: xy,
53035
- Interval: xc,
53048
+ Interval: Sc,
53036
53049
  LegacyPointHelper: my,
53037
53050
  LightTag: Hr,
53038
53051
  LineSegments: Bm,
@@ -53040,13 +53053,13 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
53040
53053
  Object3D: _m,
53041
53054
  PointDomHelper: hy,
53042
53055
  PointHelper: Rm,
53043
- PointSelector: ul,
53056
+ PointSelector: dl,
53044
53057
  PointSelectorHelper: xm,
53045
53058
  Rectangle: DA,
53046
53059
  absoluteUrl: Lh,
53047
53060
  animeMap: hr,
53048
53061
  awaitNextFrame: yy,
53049
- blink: ml,
53062
+ blink: vl,
53050
53063
  bounding: wh,
53051
53064
  boundingBox: Hs,
53052
53065
  boundingSphere: Vm,
@@ -53079,7 +53092,7 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
53079
53092
  tweenProgress: kr,
53080
53093
  uuid: Dt,
53081
53094
  waitFiveModelLoaded: Ai,
53082
- worldBounding: dl,
53095
+ worldBounding: fl,
53083
53096
  worldBoundingBox: Pb,
53084
53097
  worldBoundingSphere: Hm
53085
53098
  }, Symbol.toStringTag, { value: "Module" }));
@@ -53088,7 +53101,7 @@ dA();
53088
53101
  export {
53089
53102
  hD as AreaMakerPlugin,
53090
53103
  Mr as CSS3DRender,
53091
- vl as CSS3DRenderPlugin,
53104
+ Al as CSS3DRenderPlugin,
53092
53105
  K3 as CameraMovementEffect,
53093
53106
  wS as CameraMovementPlugin,
53094
53107
  l8 as ContentType,
@@ -53145,7 +53158,7 @@ export {
53145
53158
  mS as ROOM_FETILE_TYPE_MAP,
53146
53159
  AS as ROOM_TYPE_MAP,
53147
53160
  pn as Rotation,
53148
- ct as Sculpt,
53161
+ lt as Sculpt,
53149
53162
  dD as SculptPlugin,
53150
53163
  fD as SculptPluginForFive,
53151
53164
  fS as TopviewFloorplanPlugin,