@realsee/dnalogel 3.67.2 → 3.67.3-alpha.1

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 (465) hide show
  1. package/dist/Sculpt/index.d.ts +37 -9
  2. package/dist/Sculpt/utils/Modules/Global.d.ts +3 -1
  3. package/dist/index.cjs.js +37 -37
  4. package/dist/index.js +231 -138
  5. package/dist/index.umd.js +42 -42
  6. package/dist/shared-utils/three/Magnifier.d.ts +4 -0
  7. package/docs/assets/navigation.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  11. package/docs/classes/CSS3DRender.html +2 -2
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  15. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  16. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  17. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  18. package/docs/classes/ModelRoomLabelController.html +2 -2
  19. package/docs/classes/MoveController.html +2 -2
  20. package/docs/classes/Object3DHelperController.html +2 -2
  21. package/docs/classes/PaintBrush.html +2 -2
  22. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  23. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  24. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  25. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  26. package/docs/classes/PanoTagPluginController.html +2 -2
  27. package/docs/classes/Sculpt.html +20 -19
  28. package/docs/classes/Util.BetterTween.html +2 -2
  29. package/docs/classes/Util.FiveDomEvents.html +2 -2
  30. package/docs/classes/Util.FivePuppet.html +2 -2
  31. package/docs/classes/Util.Interval.html +2 -2
  32. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  33. package/docs/classes/Util.LightTag.html +2 -2
  34. package/docs/classes/Util.LineSegments.html +2 -2
  35. package/docs/classes/Util.Magnifier.html +7 -3
  36. package/docs/classes/Util.Object3D.html +2 -2
  37. package/docs/classes/Util.PointDomHelper.html +2 -2
  38. package/docs/classes/Util.PointHelper.html +2 -2
  39. package/docs/classes/Util.PointSelector.html +2 -2
  40. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  41. package/docs/classes/Util.Rectangle.html +2 -2
  42. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  43. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  54. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  55. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  56. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  57. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  58. package/docs/classes/WalkController.html +2 -2
  59. package/docs/enums/CameraMovementEffect.html +2 -2
  60. package/docs/enums/ContentType.html +2 -2
  61. package/docs/enums/DIRECTION.html +2 -2
  62. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/DimensionType.html +2 -2
  64. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  65. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  66. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  67. package/docs/enums/PointType.html +2 -2
  68. package/docs/enums/Rotation.html +2 -2
  69. package/docs/functions/AreaMakerPlugin.html +1 -1
  70. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  71. package/docs/functions/CameraMovementPlugin.html +2 -2
  72. package/docs/functions/CruisePlugin.html +1 -1
  73. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  74. package/docs/functions/GuideLinePlugin.html +1 -1
  75. package/docs/functions/ItemLabelPlugin.html +1 -1
  76. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  77. package/docs/functions/MeasurePlugin.html +1 -1
  78. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  79. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  80. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  81. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  82. package/docs/functions/ModelMakerPlugin.html +1 -1
  83. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  84. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  85. package/docs/functions/ModelViewPlugin.html +2 -2
  86. package/docs/functions/MovePlugin.html +1 -1
  87. package/docs/functions/Object3DHelperPlugin.html +1 -1
  88. package/docs/functions/PanoCompassPlugin.html +1 -1
  89. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  90. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  91. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  92. package/docs/functions/PanoMeasurePlugin.html +1 -1
  93. package/docs/functions/PanoRulerPlugin.html +2 -2
  94. package/docs/functions/PanoRulerProPlugin.html +2 -2
  95. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  96. package/docs/functions/PanoTagPlugin.html +1 -1
  97. package/docs/functions/PanoVideoPlugin.html +2 -2
  98. package/docs/functions/PipelinePlugin.html +1 -1
  99. package/docs/functions/SculptPlugin.html +2 -2
  100. package/docs/functions/SculptPluginForFive.html +2 -0
  101. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  102. package/docs/functions/Util.absoluteUrl.html +2 -2
  103. package/docs/functions/Util.awaitNextFrame.html +1 -1
  104. package/docs/functions/Util.blink.html +2 -2
  105. package/docs/functions/Util.bounding.html +1 -1
  106. package/docs/functions/Util.boundingBox.html +1 -1
  107. package/docs/functions/Util.boundingSphere.html +1 -1
  108. package/docs/functions/Util.boxVertex.html +2 -2
  109. package/docs/functions/Util.boxVertexes.html +1 -1
  110. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  111. package/docs/functions/Util.convexHull.html +2 -2
  112. package/docs/functions/Util.equal.html +2 -2
  113. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  114. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  115. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  116. package/docs/functions/Util.getFrameTime.html +2 -2
  117. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  118. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  119. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  120. package/docs/functions/Util.inside.html +1 -1
  121. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  122. package/docs/functions/Util.isModelLike.html +1 -1
  123. package/docs/functions/Util.isNil.html +2 -2
  124. package/docs/functions/Util.isPanoramaLike.html +1 -1
  125. package/docs/functions/Util.lookObject.html +2 -2
  126. package/docs/functions/Util.lookPoint.html +2 -2
  127. package/docs/functions/Util.nextFrame.html +1 -1
  128. package/docs/functions/Util.notNil.html +2 -2
  129. package/docs/functions/Util.reblink.html +2 -2
  130. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  131. package/docs/functions/Util.sculpt.createBox.html +1 -1
  132. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  133. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  134. package/docs/functions/Util.sculpt.createLine.html +2 -2
  135. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  136. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  137. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  138. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  139. package/docs/functions/Util.tag.html +1 -1
  140. package/docs/functions/Util.tweenProgress.html +1 -1
  141. package/docs/functions/Util.uuid.html +2 -2
  142. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  143. package/docs/functions/Util.worldBounding.html +1 -1
  144. package/docs/functions/Util.worldBoundingBox.html +1 -1
  145. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  146. package/docs/functions/createPolyline.html +2 -2
  147. package/docs/functions/pluginFlag.html +1 -1
  148. package/docs/hierarchy.html +1 -1
  149. package/docs/index.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  159. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  160. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  161. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  162. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  163. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  173. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  174. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  175. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  178. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  179. package/docs/interfaces/FloorplanBounding.html +2 -2
  180. package/docs/interfaces/FloorplanData.html +2 -2
  181. package/docs/interfaces/FloorplanEntrance.html +2 -2
  182. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  183. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  184. package/docs/interfaces/FloorplanFloorData.html +2 -2
  185. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  186. package/docs/interfaces/FloorplanObserver.html +2 -2
  187. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  188. package/docs/interfaces/FloorplanPosition.html +2 -2
  189. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  190. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  191. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  192. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  193. package/docs/interfaces/FloorplanServerData.html +2 -2
  194. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  196. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  197. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  198. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  199. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  200. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  201. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  202. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  203. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  204. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  217. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  220. package/docs/interfaces/HelperOffset.html +2 -2
  221. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  222. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  223. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  225. package/docs/interfaces/MinMax.html +2 -2
  226. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  227. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  229. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  230. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  231. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  232. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  243. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  244. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  248. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  249. package/docs/interfaces/Object3DHelperState.html +2 -2
  250. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  251. package/docs/interfaces/PaintBrushAction.html +2 -2
  252. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  253. package/docs/interfaces/PaintBrushState.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  255. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  256. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  261. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  270. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  283. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  284. package/docs/interfaces/PluginEventMap.html +2 -2
  285. package/docs/interfaces/Point.html +2 -2
  286. package/docs/interfaces/Room.html +2 -2
  287. package/docs/interfaces/RoomInfo.html +2 -2
  288. package/docs/interfaces/RoomLabel.html +2 -2
  289. package/docs/interfaces/RoomRules.html +1 -1
  290. package/docs/interfaces/Rooms.html +1 -1
  291. package/docs/interfaces/Scissor.html +2 -2
  292. package/docs/interfaces/SculptConfig.html +8 -0
  293. package/docs/interfaces/State.html +2 -2
  294. package/docs/interfaces/TagCacheInterface.html +2 -2
  295. package/docs/interfaces/TagConfig.html +2 -2
  296. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  297. package/docs/interfaces/TagIconUrl.html +2 -2
  298. package/docs/interfaces/TagObjectGroup.html +2 -2
  299. package/docs/interfaces/TagState.html +2 -2
  300. package/docs/interfaces/TagStyle.html +2 -2
  301. package/docs/interfaces/Tags.html +2 -2
  302. package/docs/interfaces/TemporaryState.html +2 -2
  303. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  304. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  305. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  306. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  307. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  308. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  309. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  310. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  311. package/docs/interfaces/Util.PointIntersection.html +2 -2
  312. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  313. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  314. package/docs/modules/AreaMakerPluginType.html +2 -2
  315. package/docs/modules/CruisePluginTypes.html +2 -2
  316. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  317. package/docs/modules/GuideLineItem.html +2 -2
  318. package/docs/modules/GuideLineModeItem.html +2 -2
  319. package/docs/modules/GuideLinePluginType.html +2 -2
  320. package/docs/modules/ModelMakerPluginType.html +2 -2
  321. package/docs/modules/PanoVideoPluginType.html +2 -2
  322. package/docs/modules/SculptData.html +2 -2
  323. package/docs/modules/SculptType.html +2 -2
  324. package/docs/modules/Util.html +2 -2
  325. package/docs/modules/Util.sculpt.html +2 -2
  326. package/docs/modules.html +4 -2
  327. package/docs/types/AddObject3DHelperConfig.html +2 -2
  328. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  329. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  330. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  331. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  332. package/docs/types/ArrayPosition.html +1 -1
  333. package/docs/types/AudioAppearance.html +1 -1
  334. package/docs/types/CSS3DRenderExportType.html +1 -1
  335. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  336. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  337. package/docs/types/ClassFunctionParameters.html +1 -1
  338. package/docs/types/Color.html +1 -1
  339. package/docs/types/ContentTypeConfigKey.html +1 -1
  340. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  341. package/docs/types/ContentTypeMap.html +1 -1
  342. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  343. package/docs/types/Create3DElementReturnType.html +1 -1
  344. package/docs/types/CruisePluginExportType.html +1 -1
  345. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  346. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  347. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  348. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  349. package/docs/types/DeprecatedTagProperty.html +2 -2
  350. package/docs/types/Direction-1.html +1 -1
  351. package/docs/types/Direction4.html +1 -1
  352. package/docs/types/ElementRenderer.html +2 -2
  353. package/docs/types/FloorplanRuleLabels.html +2 -2
  354. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  355. package/docs/types/GuideLinePluginExportType.html +1 -1
  356. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  357. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  358. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  359. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  360. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  361. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  362. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  363. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  364. package/docs/types/HelperEventMap.html +1 -1
  365. package/docs/types/InternalHelperEventMap.html +1 -1
  366. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  367. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  368. package/docs/types/MeasurePluginConfig.html +1 -1
  369. package/docs/types/MediaData.html +2 -2
  370. package/docs/types/MediaStore.html +1 -1
  371. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  372. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  373. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  374. package/docs/types/ModelId.html +1 -1
  375. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  376. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  377. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  378. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  379. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  380. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  381. package/docs/types/MoveArgs.html +2 -2
  382. package/docs/types/MoveOpts.html +2 -2
  383. package/docs/types/Object3DHelperEventMap.html +1 -1
  384. package/docs/types/ObjectFit.html +1 -1
  385. package/docs/types/PaintBrushEventMap.html +1 -1
  386. package/docs/types/PanoCompassPluginData.html +1 -1
  387. package/docs/types/PanoCompassPluginExportType.html +1 -1
  388. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  389. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  390. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  391. package/docs/types/PanoIndex.html +1 -1
  392. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  393. package/docs/types/PanoMeasureReturnType.html +1 -1
  394. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  395. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  396. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  397. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  398. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  399. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  400. package/docs/types/PipelinePluginParameterType.html +1 -1
  401. package/docs/types/PipelinePluginReturnType.html +1 -1
  402. package/docs/types/PlaneTag.html +2 -2
  403. package/docs/types/Point2DTag.html +2 -2
  404. package/docs/types/Point3DTag.html +2 -2
  405. package/docs/types/PointTagInstance.html +1 -1
  406. package/docs/types/Position.html +1 -1
  407. package/docs/types/PositionFrom.html +1 -1
  408. package/docs/types/RotateArgs.html +2 -2
  409. package/docs/types/RotateOpts.html +2 -2
  410. package/docs/types/RuleLabelsKey.html +1 -1
  411. package/docs/types/RuleLabelsValue.html +1 -1
  412. package/docs/types/ScaleCallback.html +1 -1
  413. package/docs/types/ScalePosition.html +2 -2
  414. package/docs/types/SculptData.BoxData.html +1 -1
  415. package/docs/types/SculptData.CircleData.html +1 -1
  416. package/docs/types/SculptData.CylinderData.html +1 -1
  417. package/docs/types/SculptData.PointData.html +1 -1
  418. package/docs/types/SculptData.PolygonData.html +1 -1
  419. package/docs/types/SculptData.PolylineData.html +1 -1
  420. package/docs/types/SculptData.PrismData.html +1 -1
  421. package/docs/types/SculptData.RectangleData.html +1 -1
  422. package/docs/types/SculptType.Theme.html +2 -2
  423. package/docs/types/StickType.html +1 -1
  424. package/docs/types/Tag.html +2 -2
  425. package/docs/types/Tag2D.html +2 -2
  426. package/docs/types/Tag3D.html +2 -2
  427. package/docs/types/TagClickParams.html +1 -1
  428. package/docs/types/TagConfigByKey.html +1 -1
  429. package/docs/types/TagContentType.html +1 -1
  430. package/docs/types/TagContentTypeMapping.html +1 -1
  431. package/docs/types/TagDimensionType.html +1 -1
  432. package/docs/types/TagElement.html +2 -2
  433. package/docs/types/TagEvents.html +1 -1
  434. package/docs/types/TagGLTFObject.html +1 -1
  435. package/docs/types/TagHooks.html +1 -1
  436. package/docs/types/TagId.html +1 -1
  437. package/docs/types/TagInstance.html +1 -1
  438. package/docs/types/TagPlacement.html +2 -2
  439. package/docs/types/TagPointType.html +2 -2
  440. package/docs/types/TagRendererMap.html +1 -1
  441. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  442. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  443. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  444. package/docs/types/Util.AdherePoint.html +2 -2
  445. package/docs/types/Util.PointSelectorConfig.html +1 -1
  446. package/docs/types/WorkCode.html +1 -1
  447. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  448. package/docs/variables/PLUGIN.html +1 -1
  449. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  450. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  451. package/docs/variables/Util.animeMap.html +1 -1
  452. package/docs/variables/defaultGlobalConfig.html +1 -1
  453. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  454. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  455. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  456. package/libs/Sculpt/index.d.ts +37 -9
  457. package/libs/Sculpt/index.js +91 -81
  458. package/libs/Sculpt/utils/Modules/Global.d.ts +3 -1
  459. package/libs/Sculpt/utils/Modules/Global.js +30 -22
  460. package/libs/base/BasePlugin.js +1 -1
  461. package/libs/index.js +75 -74
  462. package/libs/shared-utils/logger.js +1 -1
  463. package/libs/shared-utils/three/Magnifier.d.ts +4 -0
  464. package/libs/shared-utils/three/Magnifier.js +140 -65
  465. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import { LineGeometry as tA, LineMaterial as iA, THREE_Line2 as nA, Line as sA }
43
43
  import { GLTFLoader as rA } from "@realsee/five/gltf-loader";
44
44
  function oA() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.67.2",
46
+ "%c %c@realsee/dnalogel %cv3.67.3-alpha.1",
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",
@@ -2879,25 +2879,78 @@ class uh {
2879
2879
  resetOffset() {
2880
2880
  this.offset = { x: 0, y: 0 }, this.canvas.style.transform = "translate3d(0px, 0px, 100px)";
2881
2881
  }
2882
+ /** 更新放大镜的缩放比例 */
2883
+ updateScale(t) {
2884
+ t > 0 && (this.scale = t);
2885
+ }
2886
+ /** 更新放大镜的尺寸 */
2887
+ updateSize(t, e) {
2888
+ if (t > 0) {
2889
+ this.width = t, this.height = e || t;
2890
+ const i = 1;
2891
+ this.canvas.setAttribute("width", (this.width * i).toString()), this.canvas.setAttribute("height", (this.height * i).toString()), this.canvas.style.width = this.width + "px", this.canvas.style.height = this.height + "px";
2892
+ const s = Math.floor(this.width * i), r = Math.floor(this.height * i);
2893
+ this.imageData = new ImageData(s, r), this.clear();
2894
+ }
2895
+ }
2882
2896
  render() {
2883
2897
  if (!this.five.renderer || !this.containerDom)
2884
2898
  return;
2885
2899
  const { scale: t, context: e, width: i, height: s } = this, r = this.five.renderer.getSize(new P.Vector2()), [o, a] = (() => {
2886
2900
  if (this.renderCenter.isVector3) {
2887
- const v = this.renderCenter.clone().project(this.five.camera);
2888
- return [(v.x + 1) / 2 * r.x, (v.y + 1) / 2 * r.y];
2901
+ const g = this.renderCenter.clone().project(this.five.camera);
2902
+ return [(g.x + 1) / 2 * r.x, (g.y + 1) / 2 * r.y];
2889
2903
  } else
2890
2904
  return [this.renderCenter.x, r.y - this.renderCenter.y];
2891
2905
  })(), l = 1, c = i / t, h = s / t, u = l * t, f = /* @__PURE__ */ new Map();
2892
- this.five.scene.traverse((v) => {
2893
- v.disableGetPixel === !0 && (f.set(v, v.visible), v.visible = !1);
2894
- });
2895
- const g = this.five.getPixels(o - c / 2, a - c / 2, c, h, u);
2896
- f.forEach((v, b) => {
2897
- b.visible = v;
2906
+ this.five.scene.traverse((g) => {
2907
+ g.disableGetPixel === !0 && (f.set(g, g.visible), g.visible = !1);
2898
2908
  });
2899
- const p = Math.floor(i * l), m = Math.floor(s * l);
2900
- LA(g, p, m), (this.imageData.width !== p || this.imageData.height !== m) && (this.imageData = new ImageData(p, m)), this.imageData.data.set(g), e.putImageData(this.imageData, 0, 0), this.canvas.style.visibility = "visible";
2909
+ try {
2910
+ const g = this.five.getPixels(
2911
+ o - c / 2,
2912
+ a - c / 2,
2913
+ c,
2914
+ h,
2915
+ u
2916
+ );
2917
+ f.forEach((b, w) => {
2918
+ w.visible = b;
2919
+ });
2920
+ const p = Math.floor(i * l), m = Math.floor(s * l), v = p * m * 4;
2921
+ if (!g || g.length !== v) {
2922
+ console.warn("Magnifier: Invalid pixel data", {
2923
+ pixelsLength: g == null ? void 0 : g.length,
2924
+ expectedLength: v,
2925
+ imageWidth: p,
2926
+ imageHeight: m
2927
+ });
2928
+ return;
2929
+ }
2930
+ LA(g, p, m), (this.imageData.width !== p || this.imageData.height !== m) && (this.imageData = new ImageData(p, m)), this.imageData.data.length !== g.length && (console.warn("Magnifier: ImageData size mismatch", {
2931
+ imageDataLength: this.imageData.data.length,
2932
+ pixelsLength: g.length,
2933
+ imageWidth: p,
2934
+ imageHeight: m
2935
+ }), this.imageData = new ImageData(p, m));
2936
+ try {
2937
+ this.imageData.data.set(g);
2938
+ } catch (b) {
2939
+ console.error("Magnifier: Failed to set pixel data", {
2940
+ error: b,
2941
+ imageDataLength: this.imageData.data.length,
2942
+ pixelsLength: g.length,
2943
+ imageWidth: p,
2944
+ imageHeight: m
2945
+ });
2946
+ return;
2947
+ }
2948
+ e.putImageData(this.imageData, 0, 0), this.canvas.style.visibility = "visible";
2949
+ } catch (g) {
2950
+ console.error("Magnifier render error:", g), f.forEach((p, m) => {
2951
+ m.visible = p;
2952
+ });
2953
+ }
2901
2954
  }
2902
2955
  getRenderCenter() {
2903
2956
  return this.renderCenter;
@@ -2943,16 +2996,38 @@ class uh {
2943
2996
  }
2944
2997
  }
2945
2998
  function ca(n, t, e) {
2999
+ if (!n || t < 0 || e < 0 || t >= n.length || e >= n.length) {
3000
+ console.warn("exchange: Index out of bounds", {
3001
+ arrayLength: n == null ? void 0 : n.length,
3002
+ index1: t,
3003
+ index2: e
3004
+ });
3005
+ return;
3006
+ }
2946
3007
  const i = n[t], s = n[e];
2947
- i === void 0 || s === void 0 || (n[t] = s, n[e] = i);
3008
+ n[t] = s, n[e] = i;
2948
3009
  }
2949
3010
  function LA(n, t, e) {
2950
- const i = e / 2;
2951
- for (let s = 1; s <= i; s++) {
2952
- const r = e - (s - 1);
2953
- for (let o = 1; o <= t; o++) {
2954
- const a = (s - 1) * t + o - 1, l = (r - 1) * t + o - 1;
2955
- ca(n, a * 4 + 0, l * 4 + 0), ca(n, a * 4 + 1, l * 4 + 1), ca(n, a * 4 + 2, l * 4 + 2), ca(n, a * 4 + 3, l * 4 + 3);
3011
+ if (!n || t <= 0 || e <= 0) {
3012
+ console.warn("flipPixelsY: Invalid parameters", { pixelsLength: n == null ? void 0 : n.length, width: t, height: e });
3013
+ return;
3014
+ }
3015
+ const i = t * e * 4;
3016
+ if (n.length < i) {
3017
+ console.warn("flipPixelsY: Pixel array too small", {
3018
+ actualLength: n.length,
3019
+ expectedLength: i,
3020
+ width: t,
3021
+ height: e
3022
+ });
3023
+ return;
3024
+ }
3025
+ const s = e / 2;
3026
+ for (let r = 1; r <= s; r++) {
3027
+ const o = e - (r - 1);
3028
+ for (let a = 1; a <= t; a++) {
3029
+ const l = (r - 1) * t + a - 1, c = (o - 1) * t + a - 1, h = l * 4, u = c * 4;
3030
+ h + 3 < n.length && u + 3 < n.length && (ca(n, h + 0, u + 0), ca(n, h + 1, u + 1), ca(n, h + 2, u + 2), ca(n, h + 3, u + 3));
2956
3031
  }
2957
3032
  }
2958
3033
  }
@@ -5610,7 +5685,7 @@ function Nb(n) {
5610
5685
  var zi = [], qg = function() {
5611
5686
  var n;
5612
5687
  function t() {
5613
- !n && (!Uu() || !ct.suspendWhenDocumentHidden) && zi.length > 0 && (n = requestAnimationFrame(e));
5688
+ !n && (!Uu() || !ht.suspendWhenDocumentHidden) && zi.length > 0 && (n = requestAnimationFrame(e));
5614
5689
  }
5615
5690
  function e(s) {
5616
5691
  for (var r = zi.length, o = 0; o < r; ) {
@@ -5620,7 +5695,7 @@ var zi = [], qg = function() {
5620
5695
  n = o > 0 ? requestAnimationFrame(e) : void 0;
5621
5696
  }
5622
5697
  function i() {
5623
- ct.suspendWhenDocumentHidden && (Uu() ? n = cancelAnimationFrame(n) : (zi.forEach(
5698
+ ht.suspendWhenDocumentHidden && (Uu() ? n = cancelAnimationFrame(n) : (zi.forEach(
5624
5699
  function(s) {
5625
5700
  return s._onDocumentVisibility();
5626
5701
  }
@@ -5631,7 +5706,7 @@ var zi = [], qg = function() {
5631
5706
  function Uu() {
5632
5707
  return !!document && document.hidden;
5633
5708
  }
5634
- function ct(n) {
5709
+ function ht(n) {
5635
5710
  n === void 0 && (n = {});
5636
5711
  var t = 0, e = 0, i = 0, s, r = 0, o = null;
5637
5712
  function a(w) {
@@ -5652,7 +5727,7 @@ function ct(n) {
5652
5727
  return l.reversed ? l.duration - w : w;
5653
5728
  }
5654
5729
  function u() {
5655
- t = 0, e = h(l.currentTime) * (1 / ct.speed);
5730
+ t = 0, e = h(l.currentTime) * (1 / ht.speed);
5656
5731
  }
5657
5732
  function f(w, x) {
5658
5733
  x && x.seek(w - x.timelineOffset);
@@ -5708,7 +5783,7 @@ function ct(n) {
5708
5783
  }, l._onDocumentVisibility = u, l.set = function(w, x) {
5709
5784
  return Zg(w, x), l;
5710
5785
  }, l.tick = function(w) {
5711
- i = w, t || (t = i), b((i + (e - t)) * ct.speed);
5786
+ i = w, t || (t = i), b((i + (e - t)) * ht.speed);
5712
5787
  }, l.seek = function(w) {
5713
5788
  b(h(w));
5714
5789
  }, l.pause = function() {
@@ -5769,7 +5844,7 @@ function Wb(n, t) {
5769
5844
  }
5770
5845
  function Ub(n) {
5771
5846
  n === void 0 && (n = {});
5772
- var t = ct(n);
5847
+ var t = ht(n);
5773
5848
  return t.duration = 0, t.add = function(e, i) {
5774
5849
  var s = zi.indexOf(t), r = t.children;
5775
5850
  s > -1 && zi.splice(s, 1);
@@ -5782,27 +5857,27 @@ function Ub(n) {
5782
5857
  l.targets = l.targets || n.targets;
5783
5858
  var c = t.duration;
5784
5859
  l.autoplay = !1, l.direction = t.direction, l.timelineOffset = He.und(i) ? c : Ih(i, c), o(t), t.seek(l.timelineOffset);
5785
- var h = ct(l);
5860
+ var h = ht(l);
5786
5861
  o(h), r.push(h);
5787
5862
  var u = Jg(r, n);
5788
5863
  return t.delay = u.delay, t.endDelay = u.endDelay, t.duration = u.duration, t.seek(0), t.reset(), t.autoplay && t.play(), t;
5789
5864
  }, t;
5790
5865
  }
5791
- ct.version = "3.2.1";
5792
- ct.speed = 1;
5793
- ct.suspendWhenDocumentHidden = !0;
5794
- ct.running = zi;
5795
- ct.remove = Gb;
5796
- ct.get = Ch;
5797
- ct.set = Zg;
5798
- ct.convertPx = wh;
5799
- ct.path = Ob;
5800
- ct.setDashoffset = Tb;
5801
- ct.stagger = Wb;
5802
- ct.timeline = Ub;
5803
- ct.easing = Ah;
5804
- ct.penner = Vg;
5805
- ct.random = function(n, t) {
5866
+ ht.version = "3.2.1";
5867
+ ht.speed = 1;
5868
+ ht.suspendWhenDocumentHidden = !0;
5869
+ ht.running = zi;
5870
+ ht.remove = Gb;
5871
+ ht.get = Ch;
5872
+ ht.set = Zg;
5873
+ ht.convertPx = wh;
5874
+ ht.path = Ob;
5875
+ ht.setDashoffset = Tb;
5876
+ ht.stagger = Wb;
5877
+ ht.timeline = Ub;
5878
+ ht.easing = Ah;
5879
+ ht.penner = Vg;
5880
+ ht.random = function(n, t) {
5806
5881
  return Math.floor(Math.random() * (t - n + 1)) + n;
5807
5882
  };
5808
5883
  const ji = /* @__PURE__ */ new Map(), ao = /* @__PURE__ */ new Map();
@@ -5844,7 +5919,7 @@ function pl(n, t) {
5844
5919
  c && s.push(c);
5845
5920
  })) : s.push(l)));
5846
5921
  }), i = [...new Set(s.filter(Boolean))], Qb(i);
5847
- const r = ct(H({
5922
+ const r = ht(H({
5848
5923
  targets: i,
5849
5924
  duration: 300,
5850
5925
  easing: "linear",
@@ -12430,7 +12505,7 @@ let ls = class {
12430
12505
  /**
12431
12506
  * @realsee/dnalogel 版本号
12432
12507
  */
12433
- d(this, "VERSION", "3.67.2");
12508
+ d(this, "VERSION", "3.67.3-alpha.1");
12434
12509
  d(this, "NAME");
12435
12510
  d(this, "five");
12436
12511
  d(this, "workUtil");
@@ -17242,12 +17317,12 @@ function Gh(n, t) {
17242
17317
  for (var s; e.length && (s = e.shift()); )
17243
17318
  !e.length && t !== mi ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
17244
17319
  }
17245
- var lt = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
17320
+ var ct = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
17246
17321
  function ys(n) {
17247
17322
  var t = n.length, e = 0, i = Number.POSITIVE_INFINITY, s, r, o, a, l, c, h, u, f, g;
17248
17323
  for (u = 0; u < t; ++u)
17249
17324
  n[u] > e && (e = n[u]), n[u] < i && (i = n[u]);
17250
- for (s = 1 << e, r = new (lt ? Uint32Array : Array)(s), o = 1, a = 0, l = 2; o <= e; ) {
17325
+ for (s = 1 << e, r = new (ct ? Uint32Array : Array)(s), o = 1, a = 0, l = 2; o <= e; ) {
17251
17326
  for (u = 0; u < t; ++u)
17252
17327
  if (n[u] === o) {
17253
17328
  for (c = 0, h = a, f = 0; f < o; ++f)
@@ -17261,12 +17336,12 @@ function ys(n) {
17261
17336
  return [r, e, i];
17262
17337
  }
17263
17338
  function cs(n, t) {
17264
- switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = lt ? new Uint8Array(n) : n, this.m = !1, this.i = Ya, 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) {
17339
+ switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = ct ? new Uint8Array(n) : n, this.m = !1, this.i = Ya, 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) {
17265
17340
  case Wh:
17266
- this.b = 32768, this.c = new (lt ? Uint8Array : Array)(32768 + this.h + 258);
17341
+ this.b = 32768, this.c = new (ct ? Uint8Array : Array)(32768 + this.h + 258);
17267
17342
  break;
17268
17343
  case Ya:
17269
- this.b = 0, this.c = new (lt ? Uint8Array : Array)(this.h), this.e = this.z, this.n = this.v, this.j = this.w;
17344
+ this.b = 0, this.c = new (ct ? Uint8Array : Array)(this.h), this.e = this.z, this.n = this.v, this.j = this.w;
17270
17345
  break;
17271
17346
  default:
17272
17347
  throw Error("invalid inflate mode");
@@ -17290,7 +17365,7 @@ cs.prototype.k = function() {
17290
17365
  switch (this.i) {
17291
17366
  case Wh:
17292
17367
  for (; s + o > i.length; ) {
17293
- if (c = l - s, o -= c, lt)
17368
+ if (c = l - s, o -= c, ct)
17294
17369
  i.set(t.subarray(e, e + c), s), s += c, e += c;
17295
17370
  else
17296
17371
  for (; c--; )
@@ -17305,7 +17380,7 @@ cs.prototype.k = function() {
17305
17380
  default:
17306
17381
  throw Error("invalid inflate mode");
17307
17382
  }
17308
- if (lt)
17383
+ if (ct)
17309
17384
  i.set(t.subarray(e, e + o), s), s += o, e += o;
17310
17385
  else
17311
17386
  for (; o--; )
@@ -17316,12 +17391,12 @@ cs.prototype.k = function() {
17316
17391
  this.j(B3, _3);
17317
17392
  break;
17318
17393
  case 2:
17319
- for (var h = Ii(this, 5) + 257, u = Ii(this, 5) + 1, f = Ii(this, 4) + 4, g = new (lt ? Uint8Array : Array)(Jl.length), p = mi, m = mi, v = mi, b = mi, w = mi, x = mi, k = mi, D = mi, T = mi, D = 0; D < f; ++D)
17394
+ for (var h = Ii(this, 5) + 257, u = Ii(this, 5) + 1, f = Ii(this, 4) + 4, g = new (ct ? Uint8Array : Array)(Jl.length), p = mi, m = mi, v = mi, b = mi, w = mi, x = mi, k = mi, D = mi, T = mi, D = 0; D < f; ++D)
17320
17395
  g[Jl[D]] = Ii(this, 3);
17321
- if (!lt)
17396
+ if (!ct)
17322
17397
  for (D = f, f = g.length; D < f; ++D)
17323
17398
  g[Jl[D]] = 0;
17324
- for (p = ys(g), b = new (lt ? Uint8Array : Array)(h + u), D = 0, T = h + u; D < T; )
17399
+ for (p = ys(g), b = new (ct ? Uint8Array : Array)(h + u), D = 0, T = h + u; D < T; )
17325
17400
  switch (w = xo(this, p), w) {
17326
17401
  case 16:
17327
17402
  for (k = 3 + Ii(this, 2); k--; )
@@ -17340,7 +17415,7 @@ cs.prototype.k = function() {
17340
17415
  default:
17341
17416
  x = b[D++] = w;
17342
17417
  }
17343
- m = ys(lt ? b.subarray(0, h) : b.slice(0, h)), v = ys(lt ? b.subarray(h) : b.slice(h)), this.j(m, v);
17418
+ m = ys(ct ? b.subarray(0, h) : b.slice(0, h)), v = ys(ct ? b.subarray(h) : b.slice(h)), this.j(m, v);
17344
17419
  break;
17345
17420
  default:
17346
17421
  throw Error("unknown BTYPE: " + n);
@@ -17348,7 +17423,7 @@ cs.prototype.k = function() {
17348
17423
  }
17349
17424
  return this.n();
17350
17425
  };
17351
- var Gd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Jl = lt ? new Uint16Array(Gd) : Gd, Wd = [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], T0 = lt ? new Uint16Array(Wd) : Wd, Ud = [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], Za = lt ? new Uint8Array(Ud) : Ud, Qd = [
17426
+ var Gd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Jl = ct ? new Uint16Array(Gd) : Gd, Wd = [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], T0 = ct ? new Uint16Array(Wd) : Wd, Ud = [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], Za = ct ? new Uint8Array(Ud) : Ud, Qd = [
17352
17427
  1,
17353
17428
  2,
17354
17429
  3,
@@ -17379,11 +17454,11 @@ var Gd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Jl
17379
17454
  12289,
17380
17455
  16385,
17381
17456
  24577
17382
- ], L0 = lt ? new Uint16Array(Qd) : Qd, Xd = [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], Ja = lt ? new Uint8Array(Xd) : Xd, Oc = new (lt ? Uint8Array : Array)(288), bs, Yd;
17457
+ ], L0 = ct ? new Uint16Array(Qd) : Qd, Xd = [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], Ja = ct ? new Uint8Array(Xd) : Xd, Oc = new (ct ? Uint8Array : Array)(288), bs, Yd;
17383
17458
  bs = 0;
17384
17459
  for (Yd = Oc.length; bs < Yd; ++bs)
17385
17460
  Oc[bs] = 143 >= bs ? 8 : 255 >= bs ? 9 : 279 >= bs ? 7 : 8;
17386
- var B3 = ys(Oc), zc = new (lt ? Uint8Array : Array)(30), ka, Zd;
17461
+ var B3 = ys(Oc), zc = new (ct ? Uint8Array : Array)(30), ka, Zd;
17387
17462
  ka = 0;
17388
17463
  for (Zd = zc.length; ka < Zd; ++ka)
17389
17464
  zc[ka] = 5;
@@ -17430,13 +17505,13 @@ cs.prototype.w = function(n, t) {
17430
17505
  this.b = i;
17431
17506
  };
17432
17507
  cs.prototype.e = function() {
17433
- var n = new (lt ? Uint8Array : Array)(this.b - 32768), t = this.b - 32768, e, i, s = this.c;
17434
- if (lt)
17508
+ var n = new (ct ? Uint8Array : Array)(this.b - 32768), t = this.b - 32768, e, i, s = this.c;
17509
+ if (ct)
17435
17510
  n.set(s.subarray(32768, n.length));
17436
17511
  else
17437
17512
  for (e = 0, i = n.length; e < i; ++e)
17438
17513
  n[e] = s[e + 32768];
17439
- if (this.g.push(n), this.l += n.length, lt)
17514
+ if (this.g.push(n), this.l += n.length, ct)
17440
17515
  s.set(s.subarray(t, t + 32768));
17441
17516
  else
17442
17517
  for (e = 0; 32768 > e; ++e)
@@ -17445,12 +17520,12 @@ cs.prototype.e = function() {
17445
17520
  };
17446
17521
  cs.prototype.z = function(n) {
17447
17522
  var t, e = this.input.length / this.a + 1 | 0, i, s, r, o = this.input, a = this.c;
17448
- return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (o.length - this.a) / this.o[2], r = 258 * (i / 2) | 0, s = r < a.length ? a.length + r : a.length << 1) : s = a.length * e, lt ? (t = new Uint8Array(s), t.set(a)) : t = a, this.c = t;
17523
+ return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (o.length - this.a) / this.o[2], r = 258 * (i / 2) | 0, s = r < a.length ? a.length + r : a.length << 1) : s = a.length * e, ct ? (t = new Uint8Array(s), t.set(a)) : t = a, this.c = t;
17449
17524
  };
17450
17525
  cs.prototype.n = function() {
17451
- var n = 0, t = this.c, e = this.g, i, s = new (lt ? Uint8Array : Array)(this.l + (this.b - 32768)), r, o, a, l;
17526
+ var n = 0, t = this.c, e = this.g, i, s = new (ct ? Uint8Array : Array)(this.l + (this.b - 32768)), r, o, a, l;
17452
17527
  if (e.length === 0)
17453
- return lt ? this.c.subarray(32768, this.b) : this.c.slice(32768, this.b);
17528
+ return ct ? this.c.subarray(32768, this.b) : this.c.slice(32768, this.b);
17454
17529
  for (r = 0, o = e.length; r < o; ++r)
17455
17530
  for (i = e[r], a = 0, l = i.length; a < l; ++a)
17456
17531
  s[n++] = i[a];
@@ -17460,7 +17535,7 @@ cs.prototype.n = function() {
17460
17535
  };
17461
17536
  cs.prototype.v = function() {
17462
17537
  var n, t = this.b;
17463
- return lt ? 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;
17538
+ return ct ? 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;
17464
17539
  };
17465
17540
  function Uh(n, t) {
17466
17541
  var e, i;
@@ -25133,7 +25208,7 @@ const Oo = {
25133
25208
  }, gt = {};
25134
25209
  for (let n = 1; n < 20; n++)
25135
25210
  Oo["f".concat(n)] = 111 + n;
25136
- let ut = [], vo = null, l1 = "all";
25211
+ let dt = [], vo = null, l1 = "all";
25137
25212
  const un = /* @__PURE__ */ new Map(), Go = (n) => Oo[n.toLowerCase()] || $i[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), iC = (n) => Object.keys(Oo).find((t) => Oo[t] === n), nC = (n) => Object.keys($i).find((t) => $i[t] === n);
25138
25213
  function c1(n) {
25139
25214
  l1 = n || "all";
@@ -25142,10 +25217,10 @@ function zo() {
25142
25217
  return l1 || "all";
25143
25218
  }
25144
25219
  function sC() {
25145
- return ut.slice(0);
25220
+ return dt.slice(0);
25146
25221
  }
25147
25222
  function rC() {
25148
- return ut.map((n) => iC(n) || nC(n) || String.fromCharCode(n));
25223
+ return dt.map((n) => iC(n) || nC(n) || String.fromCharCode(n));
25149
25224
  }
25150
25225
  function oC() {
25151
25226
  const n = [];
@@ -25175,7 +25250,7 @@ function aC(n) {
25175
25250
  return (t.isContentEditable || (s || e === "TEXTAREA" || e === "SELECT") && !t.readOnly) && (i = !1), i;
25176
25251
  }
25177
25252
  function lC(n) {
25178
- return typeof n == "string" && (n = Go(n)), ut.indexOf(n) !== -1;
25253
+ return typeof n == "string" && (n = Go(n)), dt.indexOf(n) !== -1;
25179
25254
  }
25180
25255
  function cC(n, t) {
25181
25256
  let e, i;
@@ -25193,8 +25268,8 @@ function cC(n, t) {
25193
25268
  }
25194
25269
  function hC(n) {
25195
25270
  let t = n.keyCode || n.which || n.charCode;
25196
- const e = ut.indexOf(t);
25197
- if (e >= 0 && ut.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && ut.splice(0, ut.length), (t === 93 || t === 224) && (t = 91), t in _t) {
25271
+ const e = dt.indexOf(t);
25272
+ if (e >= 0 && dt.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && dt.splice(0, dt.length), (t === 93 || t === 224) && (t = 91), t in _t) {
25198
25273
  _t[t] = !1;
25199
25274
  for (const i in $i)
25200
25275
  $i[i] === t && (pt[i] = !1);
@@ -25250,7 +25325,7 @@ function jf(n, t, e, i) {
25250
25325
  s = t.mods.length > 0;
25251
25326
  for (const r in _t)
25252
25327
  Object.prototype.hasOwnProperty.call(_t, r) && (!_t[r] && t.mods.indexOf(+r) > -1 || _t[r] && t.mods.indexOf(+r) === -1) && (s = !1);
25253
- (t.mods.length === 0 && !_t[16] && !_t[18] && !_t[17] && !_t[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(ut), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
25328
+ (t.mods.length === 0 && !_t[16] && !_t[18] && !_t[17] && !_t[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(dt), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
25254
25329
  }
25255
25330
  }
25256
25331
  function Rf(n, t) {
@@ -25258,9 +25333,9 @@ function Rf(n, t) {
25258
25333
  let i = n.keyCode || n.which || n.charCode;
25259
25334
  if (!pt.filter.call(this, n))
25260
25335
  return;
25261
- if ((i === 93 || i === 224) && (i = 91), ut.indexOf(i) === -1 && i !== 229 && ut.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
25336
+ if ((i === 93 || i === 224) && (i = 91), dt.indexOf(i) === -1 && i !== 229 && dt.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
25262
25337
  const l = Ta[a];
25263
- n[a] && ut.indexOf(l) === -1 ? ut.push(l) : !n[a] && ut.indexOf(l) > -1 ? ut.splice(ut.indexOf(l), 1) : a === "metaKey" && n[a] && (ut = ut.filter((c) => c in Ta || c === i));
25338
+ n[a] && dt.indexOf(l) === -1 ? dt.push(l) : !n[a] && dt.indexOf(l) > -1 ? dt.splice(dt.indexOf(l), 1) : a === "metaKey" && n[a] && (dt = dt.filter((c) => c in Ta || c === i));
25264
25339
  }), i in _t) {
25265
25340
  _t[i] = !0;
25266
25341
  for (const a in $i)
@@ -25270,7 +25345,7 @@ function Rf(n, t) {
25270
25345
  }
25271
25346
  for (const a in _t)
25272
25347
  Object.prototype.hasOwnProperty.call(_t, a) && (_t[a] = n[Ta[a]]);
25273
- n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (ut.indexOf(17) === -1 && ut.push(17), ut.indexOf(18) === -1 && ut.push(18), _t[17] = !0, _t[18] = !0);
25348
+ n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (dt.indexOf(17) === -1 && dt.push(17), dt.indexOf(18) === -1 && dt.push(18), _t[17] = !0, _t[18] = !0);
25274
25349
  const s = zo();
25275
25350
  if (e)
25276
25351
  for (let a = 0; a < e.length; a++)
@@ -25285,11 +25360,11 @@ function Rf(n, t) {
25285
25360
  } = l, h = l.key.split(c), u = [];
25286
25361
  for (let f = 0; f < h.length; f++)
25287
25362
  u.push(Go(h[f]));
25288
- u.sort().join("") === ut.sort().join("") && jf(n, l, s, t);
25363
+ u.sort().join("") === dt.sort().join("") && jf(n, l, s, t);
25289
25364
  }
25290
25365
  }
25291
25366
  function pt(n, t, e) {
25292
- ut = [];
25367
+ dt = [];
25293
25368
  const i = a1(n);
25294
25369
  let s = [], r = "all", o = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
25295
25370
  for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (r = t.scope), t.element && (o = 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" && (r = t), f && h1(n, r); a < i.length; a++)
@@ -25321,7 +25396,7 @@ function pt(n, t, e) {
25321
25396
  }
25322
25397
  if (!vo) {
25323
25398
  const g = () => {
25324
- ut = [];
25399
+ dt = [];
25325
25400
  };
25326
25401
  vo = {
25327
25402
  listener: g,
@@ -28198,7 +28273,7 @@ function H4(n, t) {
28198
28273
  });
28199
28274
  });
28200
28275
  }
28201
- const ht = (n) => n;
28276
+ const ut = (n) => n;
28202
28277
  function v1(n) {
28203
28278
  if (!n || n.length < 3)
28204
28279
  return;
@@ -30743,7 +30818,7 @@ function SI(n, t, e) {
30743
30818
  if (O > 0)
30744
30819
  return O;
30745
30820
  }();
30746
- p = ct({
30821
+ p = ht({
30747
30822
  targets: D.slice(0, G).filter(Fe),
30748
30823
  autoplay: !1,
30749
30824
  duration: 400,
@@ -30752,7 +30827,7 @@ function SI(n, t, e) {
30752
30827
  opacity: [0, 1],
30753
30828
  translateX: [4, 0],
30754
30829
  translateY: [10, 0],
30755
- delay: ct.stagger(50),
30830
+ delay: ht.stagger(50),
30756
30831
  easing: "easeInOutCubic"
30757
30832
  }), a && p.seek(p.duration);
30758
30833
  }
@@ -38024,7 +38099,7 @@ function b7(n) {
38024
38099
  };
38025
38100
  return Wa(
38026
38101
  e = /*getImage*/
38027
- n[13](ht({
38102
+ n[13](ut({
38028
38103
  url: (
38029
38104
  /*iconUrl*/
38030
38105
  n[7]
@@ -38045,7 +38120,7 @@ function b7(n) {
38045
38120
  p(s, r) {
38046
38121
  n = s, i.ctx = n, r & /*iconUrl, iconRatio*/
38047
38122
  160 && e !== (e = /*getImage*/
38048
- n[13](ht({
38123
+ n[13](ut({
38049
38124
  url: (
38050
38125
  /*iconUrl*/
38051
38126
  n[7]
@@ -38074,7 +38149,7 @@ function y7(n) {
38074
38149
  };
38075
38150
  return Wa(
38076
38151
  e = /*getKeyframe*/
38077
- n[12](ht({
38152
+ n[12](ut({
38078
38153
  url: (
38079
38154
  /*iconUrl*/
38080
38155
  n[7]
@@ -38103,7 +38178,7 @@ function y7(n) {
38103
38178
  p(s, r) {
38104
38179
  n = s, i.ctx = n, r & /*iconUrl, iconSteps, iconFps, iconRatio*/
38105
38180
  228 && e !== (e = /*getKeyframe*/
38106
- n[12](ht({
38181
+ n[12](ut({
38107
38182
  url: (
38108
38183
  /*iconUrl*/
38109
38184
  n[7]
@@ -38404,7 +38479,7 @@ function x7(n, t, e) {
38404
38479
  16384 && e(5, l = m == null ? void 0 : m.ratio), n.$$.dirty & /*icon*/
38405
38480
  16384 && e(4, c = (G = m == null ? void 0 : m.scale) != null ? G : 1), n.$$.dirty & /*icon*/
38406
38481
  16384 && e(3, h = m == null ? void 0 : m.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
38407
- 252 && e(9, u = ht({
38482
+ 252 && e(9, u = ut({
38408
38483
  url: i,
38409
38484
  steps: o,
38410
38485
  fps: a,
@@ -39097,7 +39172,7 @@ function q7(n) {
39097
39172
  let t, e, i, s, r, o, a;
39098
39173
  return e = new X7({
39099
39174
  props: {
39100
- tag: ht(
39175
+ tag: ut(
39101
39176
  /*tag*/
39102
39177
  n[0]
39103
39178
  ),
@@ -39136,7 +39211,7 @@ function q7(n) {
39136
39211
  p(l, c) {
39137
39212
  const h = {};
39138
39213
  c & /*tag*/
39139
- 1 && (h.tag = ht(
39214
+ 1 && (h.tag = ut(
39140
39215
  /*tag*/
39141
39216
  l[0]
39142
39217
  )), c & /*rendererMap*/
@@ -39176,7 +39251,7 @@ function q7(n) {
39176
39251
  function K7(n) {
39177
39252
  let t, e;
39178
39253
  return t = new N7({
39179
- props: { tag: ht(
39254
+ props: { tag: ut(
39180
39255
  /*tag*/
39181
39256
  n[0]
39182
39257
  ) }
@@ -39190,7 +39265,7 @@ function K7(n) {
39190
39265
  p(i, s) {
39191
39266
  const r = {};
39192
39267
  s & /*tag*/
39193
- 1 && (r.tag = ht(
39268
+ 1 && (r.tag = ut(
39194
39269
  /*tag*/
39195
39270
  i[0]
39196
39271
  )), t.$set(r);
@@ -39209,7 +39284,7 @@ function K7(n) {
39209
39284
  function $7(n) {
39210
39285
  let t, e;
39211
39286
  return t = new m7({
39212
- props: { tag: ht(
39287
+ props: { tag: ut(
39213
39288
  /*tag*/
39214
39289
  n[0]
39215
39290
  ) }
@@ -39223,7 +39298,7 @@ function $7(n) {
39223
39298
  p(i, s) {
39224
39299
  const r = {};
39225
39300
  s & /*tag*/
39226
- 1 && (r.tag = ht(
39301
+ 1 && (r.tag = ut(
39227
39302
  /*tag*/
39228
39303
  i[0]
39229
39304
  )), t.$set(r);
@@ -39242,7 +39317,7 @@ function $7(n) {
39242
39317
  function e6(n) {
39243
39318
  let t, e;
39244
39319
  return t = new O7({
39245
- props: { tag: ht(
39320
+ props: { tag: ut(
39246
39321
  /*tag*/
39247
39322
  n[0]
39248
39323
  ) }
@@ -39256,7 +39331,7 @@ function e6(n) {
39256
39331
  p(i, s) {
39257
39332
  const r = {};
39258
39333
  s & /*tag*/
39259
- 1 && (r.tag = ht(
39334
+ 1 && (r.tag = ut(
39260
39335
  /*tag*/
39261
39336
  i[0]
39262
39337
  )), t.$set(r);
@@ -39275,7 +39350,7 @@ function e6(n) {
39275
39350
  function t6(n) {
39276
39351
  let t, e;
39277
39352
  return t = new N9({
39278
- props: { tag: ht(
39353
+ props: { tag: ut(
39279
39354
  /*tag*/
39280
39355
  n[0]
39281
39356
  ) }
@@ -39289,7 +39364,7 @@ function t6(n) {
39289
39364
  p(i, s) {
39290
39365
  const r = {};
39291
39366
  s & /*tag*/
39292
- 1 && (r.tag = ht(
39367
+ 1 && (r.tag = ut(
39293
39368
  /*tag*/
39294
39369
  i[0]
39295
39370
  )), t.$set(r);
@@ -39308,7 +39383,7 @@ function t6(n) {
39308
39383
  function i6(n) {
39309
39384
  let t, e;
39310
39385
  return t = new u7({
39311
- props: { tag: ht(
39386
+ props: { tag: ut(
39312
39387
  /*tag*/
39313
39388
  n[0]
39314
39389
  ) }
@@ -39322,7 +39397,7 @@ function i6(n) {
39322
39397
  p(i, s) {
39323
39398
  const r = {};
39324
39399
  s & /*tag*/
39325
- 1 && (r.tag = ht(
39400
+ 1 && (r.tag = ut(
39326
39401
  /*tag*/
39327
39402
  i[0]
39328
39403
  )), t.$set(r);
@@ -39341,7 +39416,7 @@ function i6(n) {
39341
39416
  function n6(n) {
39342
39417
  let t, e;
39343
39418
  return t = new _9({
39344
- props: { tag: ht(
39419
+ props: { tag: ut(
39345
39420
  /*tag*/
39346
39421
  n[0]
39347
39422
  ) }
@@ -39355,7 +39430,7 @@ function n6(n) {
39355
39430
  p(i, s) {
39356
39431
  const r = {};
39357
39432
  s & /*tag*/
39358
- 1 && (r.tag = ht(
39433
+ 1 && (r.tag = ut(
39359
39434
  /*tag*/
39360
39435
  i[0]
39361
39436
  )), t.$set(r);
@@ -39374,7 +39449,7 @@ function n6(n) {
39374
39449
  function s6(n) {
39375
39450
  let t, e;
39376
39451
  return t = new nE({
39377
- props: { tag: ht(
39452
+ props: { tag: ut(
39378
39453
  /*tag*/
39379
39454
  n[0]
39380
39455
  ) }
@@ -39388,7 +39463,7 @@ function s6(n) {
39388
39463
  p(i, s) {
39389
39464
  const r = {};
39390
39465
  s & /*tag*/
39391
- 1 && (r.tag = ht(
39466
+ 1 && (r.tag = ut(
39392
39467
  /*tag*/
39393
39468
  i[0]
39394
39469
  )), t.$set(r);
@@ -40017,7 +40092,7 @@ function b6(n) {
40017
40092
  let t, e;
40018
40093
  return t = new p6({
40019
40094
  props: {
40020
- tag: ht(
40095
+ tag: ut(
40021
40096
  /*tag*/
40022
40097
  n[1]
40023
40098
  ),
@@ -40064,7 +40139,7 @@ function b6(n) {
40064
40139
  p(i, s) {
40065
40140
  const r = {};
40066
40141
  s & /*tag*/
40067
- 2 && (r.tag = ht(
40142
+ 2 && (r.tag = ut(
40068
40143
  /*tag*/
40069
40144
  i[1]
40070
40145
  )), s & /*handleTagPointClick*/
@@ -42953,7 +43028,7 @@ function MM(n) {
42953
43028
  /*mediaStore*/
42954
43029
  n[1]
42955
43030
  ),
42956
- tag: ht(
43031
+ tag: ut(
42957
43032
  /*tag*/
42958
43033
  n[0]
42959
43034
  ),
@@ -42990,7 +43065,7 @@ function MM(n) {
42990
43065
  s[0] & /*mediaStore*/
42991
43066
  2 && (r.mediaStore = /*mediaStore*/
42992
43067
  i[1]), s[0] & /*tag*/
42993
- 1 && (r.tag = ht(
43068
+ 1 && (r.tag = ut(
42994
43069
  /*tag*/
42995
43070
  i[0]
42996
43071
  )), s[0] & /*state*/
@@ -47741,7 +47816,7 @@ class Zm {
47741
47816
  const t = {
47742
47817
  value: 0
47743
47818
  };
47744
- ct({
47819
+ ht({
47745
47820
  targets: t,
47746
47821
  value: 1,
47747
47822
  duration: 300,
@@ -49570,13 +49645,14 @@ const nS = (n, t) => new cx(n, t);
49570
49645
  class hx {
49571
49646
  constructor() {
49572
49647
  d(this, "five");
49648
+ d(this, "config");
49573
49649
  d(this, "_cursor");
49574
49650
  d(this, "_pointSelector");
49575
49651
  d(this, "_fiveDomEvents");
49576
49652
  d(this, "_object3DHelper");
49577
49653
  d(this, "inited", !1);
49578
- d(this, "init", (t) => {
49579
- this.inited = !0, this.five = t, this._cursor = void 0, this._pointSelector = void 0, this._fiveDomEvents = void 0, this._object3DHelper = void 0;
49654
+ d(this, "init", (t, e) => {
49655
+ this.inited = !0, this.five = t, this.config = e, this._cursor = void 0, this._pointSelector = void 0, this._fiveDomEvents = void 0, this._object3DHelper = void 0;
49580
49656
  });
49581
49657
  }
49582
49658
  get cursor() {
@@ -49585,9 +49661,16 @@ class hx {
49585
49661
  return this._cursor ? this._cursor : (this._cursor = new u1(this.five.getElement()), this._cursor);
49586
49662
  }
49587
49663
  get pointSelector() {
49664
+ var i;
49588
49665
  if (!this.inited)
49589
49666
  throw new Error("Global not inited");
49590
- return this._pointSelector ? this._pointSelector : (this._pointSelector = new cl(this.five, { mode: "cursor" }), this._pointSelector);
49667
+ if (this._pointSelector)
49668
+ return this._pointSelector;
49669
+ const t = (i = this.config) == null ? void 0 : i.magnifier, e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
49670
+ return this._pointSelector = new cl(this.five, {
49671
+ mode: "cursor",
49672
+ helper: e
49673
+ }), this._pointSelector;
49591
49674
  }
49592
49675
  get fiveDomEvents() {
49593
49676
  if (!this.inited)
@@ -49716,8 +49799,8 @@ class Hi extends ui {
49716
49799
  * @description 配置
49717
49800
  */
49718
49801
  d(this, "config");
49719
- d(this, "on", (e, i, s) => dt.modules.fiveDomEvents.addEventListener(this, e, i, s));
49720
- d(this, "off", (...e) => dt.modules.fiveDomEvents.removeEventListener(this, ...e));
49802
+ d(this, "on", (e, i, s) => lt.modules.fiveDomEvents.addEventListener(this, e, i, s));
49803
+ d(this, "off", (...e) => lt.modules.fiveDomEvents.removeEventListener(this, ...e));
49721
49804
  d(this, "applyObjectMatrixWorld", (e, i) => {
49722
49805
  const s = i != null ? i : this;
49723
49806
  return s.updateMatrixWorld(), Co(s, e);
@@ -49750,7 +49833,7 @@ class Hi extends ui {
49750
49833
  };
49751
49834
  }
49752
49835
  get pointSelector() {
49753
- return dt.modules.pointSelector;
49836
+ return lt.modules.pointSelector;
49754
49837
  }
49755
49838
  /**
49756
49839
  * @description 撤销
@@ -49780,7 +49863,7 @@ class Hi extends ui {
49780
49863
  * @description 停止创建当前物体,等同于`esc`
49781
49864
  */
49782
49865
  stopCreating() {
49783
- dt.modules.pointSelector.disable();
49866
+ lt.modules.pointSelector.disable();
49784
49867
  }
49785
49868
  /**
49786
49869
  * @description 从场景中删除当前物体,并且移除事件监听
@@ -49824,8 +49907,8 @@ class Hi extends ui {
49824
49907
  * @description 显示删除按钮
49825
49908
  */
49826
49909
  showDeleteButton(e, i) {
49827
- dt.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), dt.modules.five.once("cameraUpdate", () => {
49828
- dt.modules.cursor.removeDeleteButton();
49910
+ lt.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), lt.modules.five.once("cameraUpdate", () => {
49911
+ lt.modules.cursor.removeDeleteButton();
49829
49912
  });
49830
49913
  }
49831
49914
  }
@@ -49860,18 +49943,18 @@ class Xo extends Tl {
49860
49943
  }
49861
49944
  get helper() {
49862
49945
  var e;
49863
- return (e = dt.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : e.helper;
49946
+ return (e = lt.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : e.helper;
49864
49947
  }
49865
49948
  enable() {
49866
49949
  super.enable();
49867
49950
  const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
49868
- dt.modules.object3DHelper.addObject3DHelper(this.originObject, H({ positionFrom: "boundingBox" }, e));
49869
- const i = dt.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
49951
+ lt.modules.object3DHelper.addObject3DHelper(this.originObject, H({ positionFrom: "boundingBox" }, e));
49952
+ const i = lt.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
49870
49953
  i.hooks.on("move", this.onObjectUpdate), i.hooks.on("rotate", this.onObjectUpdate), i.hooks.on("scale", this.onObjectUpdate);
49871
49954
  }
49872
49955
  disable() {
49873
49956
  var e, i, s;
49874
- 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), dt.modules.object3DHelper.removeObject3DHelper(this.originObject);
49957
+ 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);
49875
49958
  }
49876
49959
  initialHelperMatrix() {
49877
49960
  var e;
@@ -49899,7 +49982,7 @@ class vu extends Tl {
49899
49982
  enable() {
49900
49983
  super.enable(), this.points.filter(Fe).forEach((e) => {
49901
49984
  const i = new ns();
49902
- i.visible = !1, i.position.copy(e), i.draggable = !0, dt.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), dt.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), dt.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
49985
+ 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);
49903
49986
  });
49904
49987
  }
49905
49988
  disable() {
@@ -49912,7 +49995,7 @@ class dx extends vu {
49912
49995
  d(this, "onDrag", (e) => {
49913
49996
  if (!this.draggingPoints || this.draggingPoints.length === 0)
49914
49997
  return;
49915
- const i = Ho(dt.modules.five, e.raycaster);
49998
+ const i = Ho(lt.modules.five, e.raycaster);
49916
49999
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
49917
50000
  });
49918
50001
  }
@@ -49926,7 +50009,7 @@ class fx extends vu {
49926
50009
  d(this, "onDrag", (e) => {
49927
50010
  if (!this.draggingPoints || this.draggingPoints.length === 0)
49928
50011
  return;
49929
- const i = Ho(dt.modules.five, e.raycaster);
50012
+ const i = Ho(lt.modules.five, e.raycaster);
49930
50013
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
49931
50014
  });
49932
50015
  }
@@ -50039,7 +50122,7 @@ class mx extends Tl {
50039
50122
  super(e);
50040
50123
  d(this, "onDrag", (e) => {
50041
50124
  var s;
50042
- const i = Ho(dt.modules.five, e.raycaster);
50125
+ const i = Ho(lt.modules.five, e.raycaster);
50043
50126
  (s = this.originObject.pointMesh) == null || s.position.copy(i.point);
50044
50127
  });
50045
50128
  }
@@ -50166,7 +50249,7 @@ class gx extends vu {
50166
50249
  d(this, "onDrag", (e) => {
50167
50250
  if (!this.draggingPoints || this.draggingPoints.length === 0)
50168
50251
  return;
50169
- const i = Ho(dt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
50252
+ const i = Ho(lt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
50170
50253
  this.draggingPoints.forEach((r) => r.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((r) => r.position));
50171
50254
  });
50172
50255
  }
@@ -50776,7 +50859,7 @@ function Px(n, t, e) {
50776
50859
  o.remove(l);
50777
50860
  const O = k.raycaster.ray.intersectPlane(p, new P.Vector3()), B = u[0].distanceTo(u[1]) / 2, A = new P.Vector3().lerpVectors(u[0], u[1], 0.5), C = new P.Vector3().subVectors(O, A).normalize();
50778
50861
  f = new P.Vector3().addVectors(A, C.multiplyScalar(B));
50779
- const I = [u[0], f, u[1]], E = cv(I, dt.modules.five.camera.position);
50862
+ const I = [u[0], f, u[1]], E = cv(I, lt.modules.five.camera.position);
50780
50863
  n.setPoints(E);
50781
50864
  return;
50782
50865
  }
@@ -50826,7 +50909,7 @@ function Cx(n, t, e) {
50826
50909
  c.setPoints([(B = k.originalPoint) != null ? B : k.point, k.point]);
50827
50910
  const A = new P.Vector3().crossVectors(u[0].clone().sub(u[1]), p.normal).normalize();
50828
50911
  f = new P.Line3(u[1].clone().add(A), u[1].clone().sub(A)).closestPointToPoint(k.point, !1, new P.Vector3());
50829
- const I = [u[0], u[1], f], E = cv(I, dt.modules.five.camera.position);
50912
+ const I = [u[0], u[1], f], E = cv(I, lt.modules.five.camera.position);
50830
50913
  n.setPoints(E);
50831
50914
  return;
50832
50915
  }
@@ -51448,10 +51531,11 @@ function vv(n, t, e) {
51448
51531
  };
51449
51532
  }
51450
51533
  const fr = class extends Ct {
51451
- constructor(e, i) {
51534
+ constructor(e, i, s) {
51452
51535
  super();
51453
51536
  d(this, "group");
51454
51537
  d(this, "theme");
51538
+ d(this, "config");
51455
51539
  d(this, "five");
51456
51540
  d(this, "creatingItem", null);
51457
51541
  /**
@@ -51468,10 +51552,12 @@ const fr = class extends Ct {
51468
51552
  var e;
51469
51553
  console.log("redo"), (e = this.creatingItem) == null || e.redo(), this.five.needsRender = !0;
51470
51554
  });
51471
- this.five = e, this.theme = i, this.group = new ui(), this.group.name = "Sculpt", e.scene.add(this.group), fr.modules.init(e), pt("ctrl+z, command+z", this.undo), pt("ctrl+shift+z, command+shift+z", this.redo), fr.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: s, origDomEvent: r }) => {
51472
- var a;
51473
- const o = nv((a = s == null ? void 0 : s[0]) == null ? void 0 : a.object, (l) => l.isSculptObject);
51474
- return o && !o.editing ? this.emit("click", r, o) : !1;
51555
+ this.five = e, this.theme = i, this.config = H({
51556
+ magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
51557
+ }, s), this.group = new ui(), this.group.name = "Sculpt", e.scene.add(this.group), fr.modules.init(e, this.config), pt("ctrl+z, command+z", this.undo), pt("ctrl+shift+z, command+shift+z", this.redo), fr.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: r, origDomEvent: o }) => {
51558
+ var l;
51559
+ const a = nv((l = r == null ? void 0 : r[0]) == null ? void 0 : l.object, (c) => c.isSculptObject);
51560
+ return a && !a.editing ? this.emit("click", o, a) : !1;
51475
51561
  }), window.__SCULPT_DEBUG__ = this, window.__SCULPT_MODULES_DEBUG__ = fr.modules;
51476
51562
  }
51477
51563
  get data() {
@@ -51633,9 +51719,15 @@ const fr = class extends Ct {
51633
51719
  });
51634
51720
  }
51635
51721
  };
51636
- let dt = fr;
51637
- d(dt, "modules", iv);
51638
- const sS = (n, t) => new dt(n, t);
51722
+ let lt = fr;
51723
+ d(lt, "modules", iv);
51724
+ const sS = (n, t, e) => {
51725
+ if (t && typeof t == "object" && ("theme" in t || "config" in t)) {
51726
+ const i = t;
51727
+ return new lt(n, i.theme, i.config);
51728
+ }
51729
+ return new lt(n, t, e);
51730
+ }, rS = (n, t) => new lt(n, t == null ? void 0 : t.theme, t == null ? void 0 : t.config);
51639
51731
  function Ex(n, ...t) {
51640
51732
  t.forEach((e) => {
51641
51733
  n.children.includes(e) || e && n.add(e);
@@ -52121,7 +52213,7 @@ class Lx extends In {
52121
52213
  return this.items.filter((e) => e instanceof lg);
52122
52214
  }
52123
52215
  }
52124
- const rS = (...n) => new Lx(...n), Ox = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52216
+ const oS = (...n) => new Lx(...n), Ox = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52125
52217
  __proto__: null,
52126
52218
  BaseEditor: Tl,
52127
52219
  BoxMesh: oh,
@@ -52147,7 +52239,7 @@ const rS = (...n) => new Lx(...n), Ox = /* @__PURE__ */ Object.freeze(/* @__PURE
52147
52239
  createPolygon: Au,
52148
52240
  createPrism: av,
52149
52241
  createRectangle: yu
52150
- }, Symbol.toStringTag, { value: "Module" })), oS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52242
+ }, Symbol.toStringTag, { value: "Module" })), aS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52151
52243
  __proto__: null,
52152
52244
  BetterTween: Ts,
52153
52245
  FiveDomEvents: Ir,
@@ -52233,7 +52325,7 @@ export {
52233
52325
  dD as ModelEntryDoorGuidePlugin,
52234
52326
  tD as ModelFloorplanPlugin,
52235
52327
  kD as ModelItemLabelPlugin,
52236
- rS as ModelMakerPlugin,
52328
+ oS as ModelMakerPlugin,
52237
52329
  Xx as ModelRoomLabelPlugin,
52238
52330
  DD as ModelTVVideoPlugin,
52239
52331
  Ux as ModelViewPlugin,
@@ -52265,10 +52357,11 @@ export {
52265
52357
  lD as ROOM_FETILE_TYPE_MAP,
52266
52358
  hD as ROOM_TYPE_MAP,
52267
52359
  fn as Rotation,
52268
- dt as Sculpt,
52360
+ lt as Sculpt,
52269
52361
  sS as SculptPlugin,
52362
+ rS as SculptPluginForFive,
52270
52363
  rD as TopviewFloorplanPlugin,
52271
- oS as Util,
52364
+ aS as Util,
52272
52365
  du as WalkController,
52273
52366
  gv as createBox,
52274
52367
  wu as createCircle,