@realsee/dnalogel 3.80.4 → 3.80.6

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 (540) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/index.cjs.js +55 -55
  3. package/dist/index.js +4393 -4385
  4. package/dist/index.umd.js +56 -56
  5. package/docs/.nojekyll +1 -0
  6. package/docs/assets/custom.css +0 -0
  7. package/docs/assets/highlight.css +127 -0
  8. package/docs/assets/icons.js +18 -0
  9. package/docs/assets/icons.svg +1 -0
  10. package/docs/assets/main.js +60 -0
  11. package/docs/assets/navigation.js +1 -0
  12. package/docs/assets/search.js +1 -0
  13. package/docs/assets/style.css +1493 -0
  14. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
  15. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  16. package/docs/classes/CSS3DRender.html +100 -0
  17. package/docs/classes/DigitalHuman.html +25 -0
  18. package/docs/classes/DigitalPlayground.html +22 -0
  19. package/docs/classes/DigitalStateMachine.html +3 -0
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +72 -0
  22. package/docs/classes/ModelMakerPluginInstance.html +116 -0
  23. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
  24. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
  25. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
  26. package/docs/classes/ModelRoomLabelController.html +19 -0
  27. package/docs/classes/MoveController.html +45 -0
  28. package/docs/classes/Object3DHelperController.html +45 -0
  29. package/docs/classes/PaintBrush.html +15 -0
  30. package/docs/classes/PanoMeasurePluginLine.html +24 -0
  31. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  32. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  33. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  34. package/docs/classes/PanoTagPluginController.html +128 -0
  35. package/docs/classes/Sculpt.html +77 -0
  36. package/docs/classes/Util.BetterTween.html +6 -0
  37. package/docs/classes/Util.FiveDomEvents.html +13 -0
  38. package/docs/classes/Util.FivePuppet.html +20 -0
  39. package/docs/classes/Util.Interval.html +11 -0
  40. package/docs/classes/Util.LegacyPointHelper.html +7 -0
  41. package/docs/classes/Util.LightTag.html +47 -0
  42. package/docs/classes/Util.LineSegments.html +4 -0
  43. package/docs/classes/Util.Magnifier.html +26 -0
  44. package/docs/classes/Util.Object3D.html +8 -0
  45. package/docs/classes/Util.PointDomHelper.html +8 -0
  46. package/docs/classes/Util.PointHelper.html +10 -0
  47. package/docs/classes/Util.PointSelector.html +66 -0
  48. package/docs/classes/Util.PointSelectorHelper.html +14 -0
  49. package/docs/classes/Util.Rectangle.html +12 -0
  50. package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
  51. package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
  52. package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
  53. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  54. package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
  55. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  56. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  57. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
  58. package/docs/classes/Util.sculpt.LineMesh.html +34 -0
  59. package/docs/classes/Util.sculpt.PointMesh.html +24 -0
  60. package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
  61. package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
  62. package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
  63. package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
  64. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
  65. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
  66. package/docs/classes/WalkController.html +42 -0
  67. package/docs/enums/CameraMovementEffect.html +4 -0
  68. package/docs/enums/ContentType.html +34 -0
  69. package/docs/enums/DIRECTION.html +5 -0
  70. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  71. package/docs/enums/DimensionType.html +4 -0
  72. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  73. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  74. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  75. package/docs/enums/PointType.html +4 -0
  76. package/docs/enums/Rotation.html +5 -0
  77. package/docs/functions/AreaMakerPlugin.html +1 -0
  78. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  79. package/docs/functions/CameraMovementPlugin.html +2 -0
  80. package/docs/functions/CruisePlugin.html +1 -0
  81. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  82. package/docs/functions/DigitalPerformancePlugin.html +1 -0
  83. package/docs/functions/FloorplanGuidePlugin.html +1 -0
  84. package/docs/functions/GuideLinePlugin.html +1 -0
  85. package/docs/functions/ItemLabelPlugin.html +1 -0
  86. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  87. package/docs/functions/MeasurePlugin.html +1 -0
  88. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  89. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  90. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  91. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  92. package/docs/functions/ModelMakerPlugin.html +1 -0
  93. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  94. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  95. package/docs/functions/ModelViewPlugin.html +2 -0
  96. package/docs/functions/MovePlugin.html +1 -0
  97. package/docs/functions/Object3DHelperPlugin.html +1 -0
  98. package/docs/functions/PanoCompassPlugin.html +1 -0
  99. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  100. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  101. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  102. package/docs/functions/PanoMeasurePlugin.html +1 -0
  103. package/docs/functions/PanoRulerPlugin.html +2 -0
  104. package/docs/functions/PanoRulerProPlugin.html +2 -0
  105. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  106. package/docs/functions/PanoTagPlugin.html +1 -0
  107. package/docs/functions/PanoVideoPlugin.html +10 -0
  108. package/docs/functions/PipelinePlugin.html +1 -0
  109. package/docs/functions/SculptPlugin.html +2 -0
  110. package/docs/functions/SculptPluginForFive.html +2 -0
  111. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  112. package/docs/functions/Util.awaitNextFrame.html +1 -0
  113. package/docs/functions/Util.blink.html +13 -0
  114. package/docs/functions/Util.blinkWithPreset.html +6 -0
  115. package/docs/functions/Util.bounding.html +1 -0
  116. package/docs/functions/Util.boundingBox.html +1 -0
  117. package/docs/functions/Util.boundingSphere.html +1 -0
  118. package/docs/functions/Util.boxVertex.html +7 -0
  119. package/docs/functions/Util.boxVertexes.html +1 -0
  120. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  121. package/docs/functions/Util.cleanup.html +3 -0
  122. package/docs/functions/Util.convexHull.html +2 -0
  123. package/docs/functions/Util.equal.html +5 -0
  124. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  125. package/docs/functions/Util.generatePolygonGeometry.html +2 -0
  126. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  127. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  128. package/docs/functions/Util.getFrameTime.html +3 -0
  129. package/docs/functions/Util.getGeometryArea.html +1 -0
  130. package/docs/functions/Util.getGeometryInfo.html +1 -0
  131. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
  132. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
  133. package/docs/functions/Util.initialCSS3DRender.html +1 -0
  134. package/docs/functions/Util.inside.html +1 -0
  135. package/docs/functions/Util.isModelLike.html +1 -0
  136. package/docs/functions/Util.isNil.html +2 -0
  137. package/docs/functions/Util.isPanoramaLike.html +1 -0
  138. package/docs/functions/Util.lookObject.html +7 -0
  139. package/docs/functions/Util.lookPoint.html +5 -0
  140. package/docs/functions/Util.nextFrame.html +1 -0
  141. package/docs/functions/Util.notNil.html +2 -0
  142. package/docs/functions/Util.reblink.html +13 -0
  143. package/docs/functions/Util.replaceStaticPrefix.html +8 -0
  144. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  145. package/docs/functions/Util.sculpt.createBox.html +1 -0
  146. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  147. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  148. package/docs/functions/Util.sculpt.createLine.html +2 -0
  149. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  150. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  151. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  152. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  153. package/docs/functions/Util.sculpt.transformUnit.html +1 -0
  154. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
  155. package/docs/functions/Util.tag.html +1 -0
  156. package/docs/functions/Util.triangleArea.html +2 -0
  157. package/docs/functions/Util.triangleCenter.html +2 -0
  158. package/docs/functions/Util.tweenProgress.html +1 -0
  159. package/docs/functions/Util.uuid.html +2 -0
  160. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  161. package/docs/functions/Util.worldBounding.html +1 -0
  162. package/docs/functions/Util.worldBoundingBox.html +1 -0
  163. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  164. package/docs/functions/createPolyline.html +2 -0
  165. package/docs/functions/pluginFlag.html +1 -0
  166. package/docs/functions/validatePolygon.html +1 -0
  167. package/docs/hierarchy.html +1 -0
  168. package/docs/index.html +67 -0
  169. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  170. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  171. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  172. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  173. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  174. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  175. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  176. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  177. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  178. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  179. package/docs/interfaces/BoxAnimationConfig.html +6 -0
  180. package/docs/interfaces/BoxPosition.html +8 -0
  181. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  182. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  183. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  184. package/docs/interfaces/ChapterLocation.html +4 -0
  185. package/docs/interfaces/ChapterTimeInfo.html +7 -0
  186. package/docs/interfaces/ContentTypeMapInterface.html +74 -0
  187. package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
  188. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  189. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  190. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  191. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  192. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  193. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  194. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  195. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  196. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  197. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
  198. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  199. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  200. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  201. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  202. package/docs/interfaces/DigitalCameraKeyframe.html +4 -0
  203. package/docs/interfaces/DigitalCameraPlayer.html +4 -0
  204. package/docs/interfaces/DigitalCameraState.html +4 -0
  205. package/docs/interfaces/DigitalChapter.html +3 -0
  206. package/docs/interfaces/DigitalDataPlayer.html +4 -0
  207. package/docs/interfaces/DigitalDataState.html +4 -0
  208. package/docs/interfaces/DigitalEffectKeyframe.html +4 -0
  209. package/docs/interfaces/DigitalEffectState.html +8 -0
  210. package/docs/interfaces/DigitalItemKeyframe.html +6 -0
  211. package/docs/interfaces/DigitalItemState.html +7 -0
  212. package/docs/interfaces/DigitalModelKeyframe.html +9 -0
  213. package/docs/interfaces/DigitalModelPlayer.html +8 -0
  214. package/docs/interfaces/DigitalModelPlayerEffect.html +4 -0
  215. package/docs/interfaces/DigitalModelPlayerItem.html +6 -0
  216. package/docs/interfaces/DigitalModelState.html +8 -0
  217. package/docs/interfaces/DigitalPerformancePluginConfig.html +4 -0
  218. package/docs/interfaces/DigitalScript.html +5 -0
  219. package/docs/interfaces/DigitalSubTitleKeyframe.html +7 -0
  220. package/docs/interfaces/DigitalSubTitlePlayer.html +4 -0
  221. package/docs/interfaces/DigitalSubTitleState.html +6 -0
  222. package/docs/interfaces/ExtendedAnimationConfig.html +5 -0
  223. package/docs/interfaces/FloorplanBounding.html +9 -0
  224. package/docs/interfaces/FloorplanData.html +7 -0
  225. package/docs/interfaces/FloorplanEntrance.html +14 -0
  226. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  227. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  228. package/docs/interfaces/FloorplanFloorData.html +9 -0
  229. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  230. package/docs/interfaces/FloorplanObserver.html +8 -0
  231. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  232. package/docs/interfaces/FloorplanPosition.html +4 -0
  233. package/docs/interfaces/FloorplanRoomItem.html +24 -0
  234. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  235. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  236. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  237. package/docs/interfaces/FloorplanServerData.html +4 -0
  238. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  239. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  240. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  241. package/docs/interfaces/FloorplanServerFloorData.html +8 -0
  242. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  243. package/docs/interfaces/FloorplanServerObserver.html +8 -0
  244. package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
  245. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  246. package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
  247. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  248. package/docs/interfaces/GlobalProgress.html +7 -0
  249. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  250. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
  251. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  252. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  253. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  254. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  255. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  256. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  257. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  258. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  259. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  260. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  261. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  262. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  263. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  264. package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
  265. package/docs/interfaces/HelperOffset.html +4 -0
  266. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  267. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  268. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  269. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  270. package/docs/interfaces/MinMax.html +3 -0
  271. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  272. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  273. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  274. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  275. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  276. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  277. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  278. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  279. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
  280. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  281. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
  282. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
  283. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
  284. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
  285. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
  286. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  287. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  288. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
  289. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  290. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  291. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  292. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
  293. package/docs/interfaces/ModelViewPluginExportType.html +8 -0
  294. package/docs/interfaces/Object3DHelperState.html +4 -0
  295. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  296. package/docs/interfaces/PaintBrushAction.html +14 -0
  297. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  298. package/docs/interfaces/PaintBrushState.html +6 -0
  299. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  300. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  301. package/docs/interfaces/PanoMeasureParameterType.html +20 -0
  302. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  303. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  304. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  305. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  306. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  307. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  308. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  309. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  310. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  311. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  312. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  313. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  314. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  315. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  316. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  317. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  318. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  319. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  320. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  321. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  322. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  323. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  324. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  325. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  326. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  327. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  328. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  329. package/docs/interfaces/PluginEventMap.html +16 -0
  330. package/docs/interfaces/Point.html +4 -0
  331. package/docs/interfaces/ProgressBarEvents.html +7 -0
  332. package/docs/interfaces/Room.html +5 -0
  333. package/docs/interfaces/RoomInfo.html +3 -0
  334. package/docs/interfaces/RoomLabel.html +16 -0
  335. package/docs/interfaces/RoomRules.html +1 -0
  336. package/docs/interfaces/Rooms.html +1 -0
  337. package/docs/interfaces/Scissor.html +13 -0
  338. package/docs/interfaces/SculptConfig.html +19 -0
  339. package/docs/interfaces/State.html +7 -0
  340. package/docs/interfaces/TagCacheInterface.html +9 -0
  341. package/docs/interfaces/TagConfig.html +189 -0
  342. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  343. package/docs/interfaces/TagIconAnimationConfig.html +7 -0
  344. package/docs/interfaces/TagIconUrl.html +22 -0
  345. package/docs/interfaces/TagObjectGroup.html +3 -0
  346. package/docs/interfaces/TagState.html +3 -0
  347. package/docs/interfaces/TagStyle.html +17 -0
  348. package/docs/interfaces/Tags.html +8 -0
  349. package/docs/interfaces/TemporaryState.html +2 -0
  350. package/docs/interfaces/TraceManager.html +6 -0
  351. package/docs/interfaces/TracePoint.html +3 -0
  352. package/docs/interfaces/Util.AnimeInstance.html +14 -0
  353. package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
  354. package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
  355. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  356. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  357. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
  358. package/docs/interfaces/Util.MagnifierParameter.html +13 -0
  359. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  360. package/docs/interfaces/Util.ObjectInitialState.html +9 -0
  361. package/docs/interfaces/Util.PointIntersection.html +21 -0
  362. package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
  363. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
  364. package/docs/modules/AreaMakerPluginType.html +17 -0
  365. package/docs/modules/CruisePluginTypes.html +14 -0
  366. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  367. package/docs/modules/GuideLineItem.html +2 -0
  368. package/docs/modules/GuideLineModeItem.html +3 -0
  369. package/docs/modules/GuideLinePluginType.html +25 -0
  370. package/docs/modules/ModelMakerPluginType.html +19 -0
  371. package/docs/modules/PanoVideoPluginType.html +8 -0
  372. package/docs/modules/SculptData.html +9 -0
  373. package/docs/modules/SculptType.html +2 -0
  374. package/docs/modules/Util.html +91 -0
  375. package/docs/modules/Util.sculpt.html +27 -0
  376. package/docs/modules.html +323 -0
  377. package/docs/types/AddObject3DHelperConfig.html +19 -0
  378. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  379. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  380. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  381. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  382. package/docs/types/ArrayPosition.html +1 -0
  383. package/docs/types/AudioAppearance.html +1 -0
  384. package/docs/types/BoxTag.html +2 -0
  385. package/docs/types/CSS3DRenderExportType.html +1 -0
  386. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  387. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  388. package/docs/types/ClassFunctionParameters.html +1 -0
  389. package/docs/types/Color.html +1 -0
  390. package/docs/types/ContentTypeConfigKey.html +1 -0
  391. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  392. package/docs/types/ContentTypeMap.html +1 -0
  393. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  394. package/docs/types/Create3DElementReturnType.html +1 -0
  395. package/docs/types/CruisePluginExportType.html +1 -0
  396. package/docs/types/CruisePluginTypes.CruiseData.html +6 -0
  397. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  398. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  399. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  400. package/docs/types/DeprecatedTagProperty.html +3 -0
  401. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -0
  402. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -0
  403. package/docs/types/Direction-1.html +1 -0
  404. package/docs/types/Direction4.html +1 -0
  405. package/docs/types/ElementRenderer.html +2 -0
  406. package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
  407. package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
  408. package/docs/types/FloorplanRuleLabels.html +2 -0
  409. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  410. package/docs/types/GuideLinePluginExportType.html +1 -0
  411. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
  412. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  413. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  414. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  415. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  416. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  417. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  418. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  419. package/docs/types/HelperEventMap.html +1 -0
  420. package/docs/types/InternalHelperEventMap.html +1 -0
  421. package/docs/types/KeyframeType.html +1 -0
  422. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  423. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  424. package/docs/types/MaskPosition.html +3 -0
  425. package/docs/types/MaskTag.html +2 -0
  426. package/docs/types/MeasureEndReason.html +1 -0
  427. package/docs/types/MeasurePluginConfig.html +5 -0
  428. package/docs/types/MeasurePluginEventMap.html +1 -0
  429. package/docs/types/MediaData.html +2 -0
  430. package/docs/types/MediaStore.html +1 -0
  431. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  432. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  433. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  434. package/docs/types/ModelId.html +1 -0
  435. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  436. package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
  437. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
  438. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
  439. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  440. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  441. package/docs/types/MoveArgs.html +2 -0
  442. package/docs/types/MoveOpts.html +2 -0
  443. package/docs/types/Object3DHelperEventMap.html +1 -0
  444. package/docs/types/ObjectFit.html +1 -0
  445. package/docs/types/PaintBrushEventMap.html +1 -0
  446. package/docs/types/PanoCompassPluginData.html +1 -0
  447. package/docs/types/PanoCompassPluginExportType.html +1 -0
  448. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  449. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  450. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  451. package/docs/types/PanoIndex.html +1 -0
  452. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  453. package/docs/types/PanoMeasureReturnType.html +1 -0
  454. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  455. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  456. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  457. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  458. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  459. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  460. package/docs/types/PipelinePluginParameterType.html +1 -0
  461. package/docs/types/PipelinePluginReturnType.html +1 -0
  462. package/docs/types/PlaneTag.html +2 -0
  463. package/docs/types/Point2DTag.html +2 -0
  464. package/docs/types/Point3DTag.html +2 -0
  465. package/docs/types/PointTagInstance.html +1 -0
  466. package/docs/types/PolygonPosition.html +3 -0
  467. package/docs/types/PolygonTag.html +2 -0
  468. package/docs/types/Position.html +1 -0
  469. package/docs/types/PositionFrom.html +1 -0
  470. package/docs/types/ProgressListener.html +1 -0
  471. package/docs/types/RotateArgs.html +2 -0
  472. package/docs/types/RotateOpts.html +2 -0
  473. package/docs/types/RuleLabelsKey.html +1 -0
  474. package/docs/types/RuleLabelsValue.html +1 -0
  475. package/docs/types/ScaleCallback.html +1 -0
  476. package/docs/types/ScalePosition.html +3 -0
  477. package/docs/types/SculptData.BoxData.html +1 -0
  478. package/docs/types/SculptData.CircleData.html +1 -0
  479. package/docs/types/SculptData.CylinderData.html +1 -0
  480. package/docs/types/SculptData.PointData.html +1 -0
  481. package/docs/types/SculptData.PolygonData.html +1 -0
  482. package/docs/types/SculptData.PolylineData.html +1 -0
  483. package/docs/types/SculptData.PrismData.html +1 -0
  484. package/docs/types/SculptData.RectangleData.html +1 -0
  485. package/docs/types/SculptType.Theme.html +10 -0
  486. package/docs/types/StateType.html +1 -0
  487. package/docs/types/StickType.html +1 -0
  488. package/docs/types/Tag.html +17 -0
  489. package/docs/types/Tag2D.html +2 -0
  490. package/docs/types/Tag3D.html +2 -0
  491. package/docs/types/TagClickParams.html +1 -0
  492. package/docs/types/TagConfigByKey.html +1 -0
  493. package/docs/types/TagContentType.html +1 -0
  494. package/docs/types/TagContentTypeMapping.html +1 -0
  495. package/docs/types/TagDimensionType.html +1 -0
  496. package/docs/types/TagElement.html +2 -0
  497. package/docs/types/TagEvents.html +1 -0
  498. package/docs/types/TagGLTFObject.html +1 -0
  499. package/docs/types/TagHooks.html +1 -0
  500. package/docs/types/TagId.html +1 -0
  501. package/docs/types/TagInstance.html +1 -0
  502. package/docs/types/TagPlacement.html +5 -0
  503. package/docs/types/TagPointType.html +2 -0
  504. package/docs/types/TagRendererMap.html +1 -0
  505. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  506. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  507. package/docs/types/Util.ActionIfNoIntersection.html +1 -0
  508. package/docs/types/Util.AdherePoint.html +2 -0
  509. package/docs/types/Util.PointSelectorConfig.html +1 -0
  510. package/docs/types/Util.SupportedTarget.html +2 -0
  511. package/docs/types/Util.Target.html +2 -0
  512. package/docs/types/Util.ThreeObject.html +2 -0
  513. package/docs/types/WorkCode.html +1 -0
  514. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  515. package/docs/variables/PLUGIN.html +1 -0
  516. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  517. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  518. package/docs/variables/Util.ANIME_PRESETS.html +2 -0
  519. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
  520. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
  521. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
  522. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
  523. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
  524. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
  525. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
  526. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
  527. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
  528. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
  529. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
  530. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
  531. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
  532. package/docs/variables/defaultGlobalConfig.html +1 -0
  533. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  534. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  535. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  536. package/libs/DigitalPerformancePlugin/index.js +2 -2
  537. package/libs/DigitalPerformancePlugin/mock.js +201 -193
  538. package/libs/base/BasePlugin.js +1 -1
  539. package/libs/shared-utils/logger.js +1 -1
  540. package/package.json +1 -1
@@ -1,53 +1,54 @@
1
- import * as _ from "three";
2
- function J(t) {
3
- const m = [t[12], t[13], t[14]], r = t[0], o = t[4], l = t[8], p = t[1], x = t[5], h = t[9], e = t[2], u = t[6], z = t[10], w = Math.sqrt(r * r + p * p + e * e), q = Math.sqrt(o * o + x * x + u * u), F = Math.sqrt(l * l + h * h + z * z), E = [w, q, F], N = [r / w, o / q, l / F, p / w, x / q, h / F, e / w, u / q, z / F], S = it(N);
4
- return { position: m, quaternion: S, scale: E };
1
+ import * as N from "three";
2
+ const ot = 300;
3
+ function W(t) {
4
+ const u = [t[12], t[13], t[14]], a = t[0], o = t[4], r = t[8], l = t[1], x = t[5], $ = t[9], e = t[2], h = t[6], m = t[10], S = Math.sqrt(a * a + l * l + e * e), A = Math.sqrt(o * o + x * x + h * h), b = Math.sqrt(r * r + $ * $ + m * m), E = [S, A, b], j = [a / S, o / A, r / b, l / S, x / A, $ / b, e / S, h / A, m / b], O = et(j);
5
+ return { position: u, quaternion: O, scale: E };
5
6
  }
6
- function it(t) {
7
- const m = t[0] + t[4] + t[8];
8
- let r, o = [0, 0, 0, 0];
9
- return m > 0 ? (r = Math.sqrt(m + 1) * 2, o[3] = 0.25 * r, o[0] = (t[7] - t[5]) / r, o[1] = (t[2] - t[6]) / r, o[2] = (t[3] - t[1]) / r) : t[0] > t[4] && t[0] > t[8] ? (r = Math.sqrt(1 + t[0] - t[4] - t[8]) * 2, o[3] = (t[7] - t[5]) / r, o[0] = 0.25 * r, o[1] = (t[1] + t[3]) / r, o[2] = (t[2] + t[6]) / r) : t[4] > t[8] ? (r = Math.sqrt(1 + t[4] - t[0] - t[8]) * 2, o[3] = (t[2] - t[6]) / r, o[0] = (t[1] + t[3]) / r, o[1] = 0.25 * r, o[2] = (t[5] + t[7]) / r) : (r = Math.sqrt(1 + t[8] - t[0] - t[4]) * 2, o[3] = (t[3] - t[1]) / r, o[0] = (t[2] + t[6]) / r, o[1] = (t[5] + t[7]) / r, o[2] = 0.25 * r), o;
7
+ function et(t) {
8
+ const u = t[0] + t[4] + t[8];
9
+ let a, o = [0, 0, 0, 0];
10
+ return u > 0 ? (a = Math.sqrt(u + 1) * 2, o[3] = 0.25 * a, o[0] = (t[7] - t[5]) / a, o[1] = (t[2] - t[6]) / a, o[2] = (t[3] - t[1]) / a) : t[0] > t[4] && t[0] > t[8] ? (a = Math.sqrt(1 + t[0] - t[4] - t[8]) * 2, o[3] = (t[7] - t[5]) / a, o[0] = 0.25 * a, o[1] = (t[1] + t[3]) / a, o[2] = (t[2] + t[6]) / a) : t[4] > t[8] ? (a = Math.sqrt(1 + t[4] - t[0] - t[8]) * 2, o[3] = (t[2] - t[6]) / a, o[0] = (t[1] + t[3]) / a, o[1] = 0.25 * a, o[2] = (t[5] + t[7]) / a) : (a = Math.sqrt(1 + t[8] - t[0] - t[4]) * 2, o[3] = (t[3] - t[1]) / a, o[0] = (t[2] + t[6]) / a, o[1] = (t[5] + t[7]) / a, o[2] = 0.25 * a), o;
10
11
  }
11
- function ot({ x: t, y: m, z: r, order: o = "XYZ" }) {
12
- const l = Math.cos(t / 2), p = Math.cos(m / 2), x = Math.cos(r / 2), h = Math.sin(t / 2), e = Math.sin(m / 2), u = Math.sin(r / 2);
13
- let z, w, q, F;
12
+ function st({ x: t, y: u, z: a, order: o = "XYZ" }) {
13
+ const r = Math.cos(t / 2), l = Math.cos(u / 2), x = Math.cos(a / 2), $ = Math.sin(t / 2), e = Math.sin(u / 2), h = Math.sin(a / 2);
14
+ let m, S, A, b;
14
15
  switch (o) {
15
16
  case "XYZ":
16
- z = h * p * x + l * e * u, w = l * e * x - h * p * u, q = l * p * u + h * e * x, F = l * p * x - h * e * u;
17
+ m = $ * l * x + r * e * h, S = r * e * x - $ * l * h, A = r * l * h + $ * e * x, b = r * l * x - $ * e * h;
17
18
  break;
18
19
  default:
19
- z = h * p * x + l * e * u, w = l * e * x - h * p * u, q = l * p * u + h * e * x, F = l * p * x - h * e * u;
20
+ m = $ * l * x + r * e * h, S = r * e * x - $ * l * h, A = r * l * h + $ * e * x, b = r * l * x - $ * e * h;
20
21
  }
21
- return [z, w, q, F];
22
+ return [m, S, A, b];
22
23
  }
23
- function W(t) {
24
+ function k(t) {
24
25
  if (typeof t == "string" && !isNaN(Number(t)))
25
26
  return [0, -(Number(t) * Math.PI) / 180, 0];
26
27
  if (Array.isArray(t) && t.length === 3)
27
28
  return [t[0], -t[1], t[2]];
28
29
  }
29
- function D(t, m) {
30
- if (!m)
30
+ function D(t, u) {
31
+ if (!u)
31
32
  return t;
32
- const r = ot({ x: m[0], y: m[1], z: m[2] }), [o, l, p, x] = r, [h, e, u, z] = t;
33
+ const a = st({ x: u[0], y: u[1], z: u[2] }), [o, r, l, x] = a, [$, e, h, m] = t;
33
34
  return [
34
- x * h + o * z + l * u - p * e,
35
- x * e - o * u + l * z + p * h,
36
- x * u + o * e - l * h + p * z,
37
- x * z - o * h - l * e - p * u
35
+ x * $ + o * m + r * h - l * e,
36
+ x * e - o * h + r * m + l * $,
37
+ x * h + o * e - r * $ + l * m,
38
+ x * m - o * $ - r * e - l * h
38
39
  ];
39
40
  }
40
- function et(t, m) {
41
- const r = new _.Vector3(m.x - t.x, m.y - t.y, m.z - t.z).normalize(), o = new _.Vector3(0, 0, 1), l = new _.Quaternion();
42
- return l.setFromUnitVectors(o, r), [l.x, l.y, l.z, l.w];
41
+ function at(t, u) {
42
+ const a = new N.Vector3(u.x - t.x, u.y - t.y, u.z - t.z).normalize(), o = new N.Vector3(0, 0, 1), r = new N.Quaternion();
43
+ return r.setFromUnitVectors(o, a), [r.x, r.y, r.z, r.w];
43
44
  }
44
- function st(t, m = 0, r = 300) {
45
- var H, L, O, V;
45
+ function rt(t, u = 0, a = 300) {
46
+ var H, L, V, J;
46
47
  if (!((H = t.track) != null && H.path) || t.track.path.length === 0) {
47
- const i = J(t.matrix), n = [
48
+ const i = W(t.matrix), n = [
48
49
  {
49
50
  visible: !0,
50
- timeStamp: 0 + m,
51
+ timeStamp: 0 + u,
51
52
  position: i.position,
52
53
  quaternion: i.quaternion,
53
54
  scale: i.scale
@@ -60,70 +61,70 @@ function st(t, m = 0, r = 300) {
60
61
  keyframes: n
61
62
  };
62
63
  }
63
- const o = J(t.matrix);
64
- let l = o.quaternion.slice();
65
- const p = t.track.points.find(
64
+ const o = W(t.matrix);
65
+ let r = o.quaternion.slice();
66
+ const l = t.track.points.find(
66
67
  (i) => Math.abs(i.point.x - o.position[0]) < 1e-3 && Math.abs(i.point.y - o.position[1]) < 1e-3 && Math.abs(i.point.z - o.position[2]) < 1e-3
67
68
  );
68
- let x = t.animationUrl, h = t.repeat === "loop";
69
- const e = [];
70
- if (p) {
69
+ let x = t.animationUrl, $ = t.repeat === "loop";
70
+ const e = [], h = [];
71
+ if (l) {
71
72
  let i = 0;
72
- for (const n of p.actions)
73
+ for (const n of l.actions)
73
74
  if (n.duration > 0) {
74
- const a = typeof n.animationUrl == "string" && n.animationUrl && n.animationUrl.trim() && n.animationUrl !== "none" && n.animationUrl !== "x_turn";
75
- u({
75
+ const s = typeof n.animationUrl == "string" && n.animationUrl && n.animationUrl.trim() && n.animationUrl !== "none" && n.animationUrl !== "x_turn";
76
+ m({
76
77
  visible: !0,
77
78
  timeStamp: i,
78
79
  position: o.position,
79
- quaternion: l,
80
+ quaternion: r,
80
81
  scale: o.scale,
81
82
  animation: {
82
- url: a ? n.animationUrl : t.animationUrl,
83
- repeat: !a || (n == null ? void 0 : n.repeat),
84
- needRender: a,
83
+ url: s ? n.animationUrl : t.animationUrl,
84
+ repeat: !s || (n == null ? void 0 : n.repeat),
85
+ needRender: s,
85
86
  item: (L = n.subAction) != null && L.url ? n.subAction : void 0
86
87
  }
87
88
  }), i += n.duration * 1e3;
88
89
  }
89
- if (!p.actions.some((n) => n.duration > 0)) {
90
- const n = p.actions.find((a) => a.duration > 0 && a.animationUrl !== "none");
91
- n ? (x = n.animationUrl, h = !1, console.log(`初始位置与action point重合,使用动作动画: ${x}`)) : console.log("初始位置与action point重合,但没有有效动作,使用默认动画");
90
+ if (!l.actions.some((n) => n.duration > 0)) {
91
+ const n = l.actions.find((s) => s.duration > 0 && s.animationUrl !== "none");
92
+ n ? (x = n.animationUrl, $ = !1, console.log(`初始位置与action point重合,使用动作动画: ${x}`)) : console.log("初始位置与action point重合,但没有有效动作,使用默认动画");
92
93
  }
93
94
  } else
94
95
  console.log("初始位置独立,使用默认移动动画");
95
- function u(i) {
96
- var a, y, f;
97
- i.timeStamp += m, i.animation.url === "none" && delete i.animation;
98
- const n = e.findIndex(($) => $.timeStamp === i.timeStamp);
99
- n !== -1 ? ((a = e[n].animation) == null ? void 0 : a.url) !== ((y = i.animation) == null ? void 0 : y.url) && i.animation && ((f = i.animation) == null ? void 0 : f.url) !== t.animationUrl && (e[n] = i) : e.push(i);
96
+ function m(i) {
97
+ var s, y, d;
98
+ i.timeStamp += u, i.animation.url === "none" && delete i.animation;
99
+ const n = e.findIndex((M) => M.timeStamp === i.timeStamp);
100
+ n !== -1 ? ((s = e[n].animation) == null ? void 0 : s.url) !== ((y = i.animation) == null ? void 0 : y.url) && i.animation && ((d = i.animation) == null ? void 0 : d.url) !== t.animationUrl && (e[n] = i) : e.push(i);
100
101
  }
101
- u({
102
+ m({
102
103
  visible: !0,
103
104
  timeStamp: 0,
104
105
  position: o.position,
105
- quaternion: l,
106
+ quaternion: r,
106
107
  scale: o.scale,
107
108
  animation: {
108
109
  url: x,
109
- repeat: h
110
+ repeat: $
110
111
  }
111
112
  });
112
- let z = 0;
113
- if (p) {
113
+ let S = 0;
114
+ if (l) {
114
115
  let i = 0;
115
- for (const n of p.actions)
116
+ for (const n of l.actions)
116
117
  if (n.duration > 0 || n.animationUrl === "x_turn") {
117
118
  if (n.animationUrl === "x_turn") {
118
119
  n.duration = 1;
119
- const a = W(n.rotation);
120
- a && (l = D(l, a));
120
+ const s = k(n.rotation);
121
+ s && (r = D(r, s));
121
122
  }
122
- i += n.duration * 1e3, z += n.duration * 1e3, u({
123
+ i += n.duration * 1e3, S += n.duration * 1e3, m({
123
124
  visible: !0,
124
125
  timeStamp: i,
125
126
  position: o.position,
126
- quaternion: l,
127
+ quaternion: r,
127
128
  scale: o.scale,
128
129
  animation: {
129
130
  url: t.animationUrl,
@@ -132,48 +133,48 @@ function st(t, m = 0, r = 300) {
132
133
  }
133
134
  });
134
135
  }
135
- console.log(`初始action point处理完成,总延迟: ${z}ms`);
136
+ i > 0 && h.push({ start: 0 + u, end: i + u }), console.log(`初始action point处理完成,总延迟: ${S}ms`);
136
137
  }
137
- function w(i, n) {
138
+ function A(i, n) {
138
139
  return Math.sqrt(Math.pow(n.x - i.x, 2) + Math.pow(n.y - i.y, 2) + Math.pow(n.z - i.z, 2));
139
140
  }
140
- let q = 0;
141
- const F = [];
141
+ let b = 0;
142
+ const E = [];
142
143
  for (let i = 0; i < t.track.path.length - 1; i++) {
143
- const n = w(t.track.path[i], t.track.path[i + 1]);
144
- F.push(n), q += n;
144
+ const n = A(t.track.path[i], t.track.path[i + 1]);
145
+ E.push(n), b += n;
145
146
  }
146
- const E = q / t.track.duration;
147
+ const j = b / t.track.duration;
147
148
  console.log(`路径分析:
148
- - 总距离: ${q.toFixed(2)}
149
+ - 总距离: ${b.toFixed(2)}
149
150
  - 移动时间: ${t.track.duration}s
150
- - 移动速度: ${E.toFixed(2)} 单位/秒
151
- - 路径段距离: [${F.map((i) => i.toFixed(2)).join(", ")}]`);
152
- const N = /* @__PURE__ */ new Map();
151
+ - 移动速度: ${j.toFixed(2)} 单位/秒
152
+ - 路径段距离: [${E.map((i) => i.toFixed(2)).join(", ")}]`);
153
+ const O = /* @__PURE__ */ new Map();
153
154
  for (const i of t.track.points) {
154
155
  const n = `${i.point.x.toFixed(3)}_${i.point.y.toFixed(3)}_${i.point.z.toFixed(3)}`;
155
- let a = 1 / 0, y = 0;
156
- for (let f = 0; f < t.track.path.length - 1; f++) {
157
- const $ = k(i.point, t.track.path[f], t.track.path[f + 1]);
158
- $ < a && (a = $, y = f);
156
+ let s = 1 / 0, y = 0;
157
+ for (let d = 0; d < t.track.path.length - 1; d++) {
158
+ const M = tt(i.point, t.track.path[d], t.track.path[d + 1]);
159
+ M < s && (s = M, y = d);
159
160
  }
160
- N.set(n, y);
161
+ O.set(n, y);
161
162
  }
162
- let S = z, j = 0;
163
- const C = /* @__PURE__ */ new Set();
163
+ let _ = S, B = 0;
164
+ const G = /* @__PURE__ */ new Set();
164
165
  for (let i = 0; i < t.track.path.length - 1; i++) {
165
- const n = t.track.path[i], a = t.track.path[i + 1], y = F[i], f = j / q * t.track.duration * 1e3;
166
- j += y;
167
- const $ = j / q * t.track.duration * 1e3, U = f + S, g = $ + S;
166
+ const n = t.track.path[i], s = t.track.path[i + 1], y = E[i], d = B / b * t.track.duration * 1e3;
167
+ B += y;
168
+ const M = B / b * t.track.duration * 1e3, w = d + _, Q = M + _;
168
169
  console.log(
169
- `路径段${i}: 距离${y.toFixed(2)}, 基础时间${f.toFixed(0)}-${$.toFixed(
170
+ `路径段${i}: 距离${y.toFixed(2)}, 基础时间${d.toFixed(0)}-${M.toFixed(
170
171
  0
171
- )}ms, 实际时间${U.toFixed(0)}-${g.toFixed(0)}ms`
172
- ), u({
172
+ )}ms, 实际时间${w.toFixed(0)}-${Q.toFixed(0)}ms`
173
+ ), m({
173
174
  visible: !0,
174
- timeStamp: U,
175
+ timeStamp: w,
175
176
  position: [n.x, n.y, n.z],
176
- quaternion: l,
177
+ quaternion: r,
177
178
  scale: o.scale,
178
179
  animation: {
179
180
  url: t.animationUrl,
@@ -181,87 +182,87 @@ function st(t, m = 0, r = 300) {
181
182
  repeat: t.repeat === "loop"
182
183
  }
183
184
  });
184
- for (const s of t.track.points) {
185
- if (p && s === p && i === 0) {
185
+ for (const c of t.track.points) {
186
+ if (l && c === l && i === 0) {
186
187
  console.log("跳过初始action point,已在初始关键帧中处理");
187
188
  continue;
188
189
  }
189
- const T = `${s.point.x.toFixed(3)}_${s.point.y.toFixed(3)}_${s.point.z.toFixed(3)}`;
190
- if (C.has(T)) {
191
- console.log(`跳过已处理的点位: [${s.point.x.toFixed(2)}, ${s.point.y.toFixed(2)}, ${s.point.z.toFixed(2)}]`);
190
+ const T = `${c.point.x.toFixed(3)}_${c.point.y.toFixed(3)}_${c.point.z.toFixed(3)}`;
191
+ if (G.has(T)) {
192
+ console.log(`跳过已处理的点位: [${c.point.x.toFixed(2)}, ${c.point.y.toFixed(2)}, ${c.point.z.toFixed(2)}]`);
192
193
  continue;
193
194
  }
194
- if (N.get(T) === i) {
195
- const d = tt(s.point, n, a), M = j - y + y * d, R = M / q * t.track.duration * 1e3 + S;
195
+ if (O.get(T) === i) {
196
+ const z = nt(c.point, n, s), g = B - y + y * z, F = g / b * t.track.duration * 1e3 + _;
196
197
  console.log(
197
- `Action点: 位置[${s.point.x.toFixed(2)}, ${s.point.y.toFixed(2)}, ${s.point.z.toFixed(
198
+ `Action点: 位置[${c.point.x.toFixed(2)}, ${c.point.y.toFixed(2)}, ${c.point.z.toFixed(
198
199
  2
199
- )}], 距离${M.toFixed(2)}, 到达时间${R.toFixed(0)}ms`
200
+ )}], 距离${g.toFixed(2)}, 到达时间${F.toFixed(0)}ms`
200
201
  );
201
- let I = t.animationUrl;
202
- const b = s.actions.find((c) => c.duration > 0 && c.animationUrl !== "none"), A = b == null ? void 0 : b.subAction;
203
- b ? (I = b.animationUrl, b.duration > 2, console.log(`到达动作点,使用该点的动画: ${I}`)) : console.log("动作点没有有效动作,使用默认移动动画"), u({
202
+ let U = t.animationUrl;
203
+ const q = c.actions.find((p) => p.duration > 0 && p.animationUrl !== "none"), P = q == null ? void 0 : q.subAction;
204
+ q ? (U = q.animationUrl, q.duration > 2, console.log(`到达动作点,使用该点的动画: ${U}`)) : console.log("动作点没有有效动作,使用默认移动动画"), m({
204
205
  visible: !0,
205
- timeStamp: R,
206
- position: [s.point.x, s.point.y, s.point.z],
207
- quaternion: l,
206
+ timeStamp: F,
207
+ position: [c.point.x, c.point.y, c.point.z],
208
+ quaternion: r,
208
209
  scale: o.scale,
209
210
  animation: {
210
- url: I,
211
- item: A != null && A.url ? A : void 0,
212
- repeat: b == null ? void 0 : b.repeat,
213
- duration: b == null ? void 0 : b.duration
211
+ url: U,
212
+ item: P != null && P.url ? P : void 0,
213
+ repeat: q == null ? void 0 : q.repeat,
214
+ duration: q == null ? void 0 : q.duration
214
215
  }
215
216
  });
216
- let P = R, K = 0;
217
- for (const c of s.actions)
218
- if (c.duration > 0 || c.animationUrl === "x_turn") {
219
- if (c.animationUrl === "x_turn") {
220
- c.duration = 1;
221
- const G = W(c.rotation);
222
- G && (l = D(l, G));
217
+ let I = F, K = 0;
218
+ for (const p of c.actions)
219
+ if (p.duration > 0 || p.animationUrl === "x_turn") {
220
+ if (p.animationUrl === "x_turn") {
221
+ p.duration = 1;
222
+ const v = k(p.rotation);
223
+ v && (r = D(r, v));
223
224
  }
224
- const B = c.animationUrl !== "none" && c.animationUrl !== "x_turn";
225
- u({
225
+ const C = p.animationUrl !== "none" && p.animationUrl !== "x_turn";
226
+ m({
226
227
  visible: !0,
227
- timeStamp: P,
228
- position: [s.point.x, s.point.y, s.point.z],
229
- quaternion: l,
228
+ timeStamp: I,
229
+ position: [c.point.x, c.point.y, c.point.z],
230
+ quaternion: r,
230
231
  scale: o.scale,
231
232
  animation: {
232
- url: B ? c.animationUrl : t.animationUrl,
233
- repeat: !B || (c == null ? void 0 : c.repeat),
234
- needRender: B,
235
- item: (O = c.subAction) != null && O.url ? c.subAction : void 0,
236
- duration: c == null ? void 0 : c.duration
233
+ url: C ? p.animationUrl : t.animationUrl,
234
+ repeat: !C || (p == null ? void 0 : p.repeat),
235
+ needRender: C,
236
+ item: (V = p.subAction) != null && V.url ? p.subAction : void 0,
237
+ duration: p == null ? void 0 : p.duration
237
238
  }
238
- }), P += c.duration * 1e3, K += c.duration * 1e3, u({
239
+ }), I += p.duration * 1e3, K += p.duration * 1e3, m({
239
240
  visible: !0,
240
- timeStamp: P,
241
- position: [s.point.x, s.point.y, s.point.z],
242
- quaternion: l,
241
+ timeStamp: I,
242
+ position: [c.point.x, c.point.y, c.point.z],
243
+ quaternion: r,
243
244
  scale: o.scale,
244
245
  animation: {
245
246
  url: t.animationUrl,
246
247
  repeat: t.repeat === "loop",
247
- item: (V = c.subAction) != null && V.url ? c.subAction : void 0
248
+ item: (J = p.subAction) != null && J.url ? p.subAction : void 0
248
249
  }
249
250
  });
250
251
  }
251
- S += K, C.add(T), console.log(
252
- `点位处理完成,已标记为已处理: [${s.point.x.toFixed(2)}, ${s.point.y.toFixed(2)}, ${s.point.z.toFixed(
252
+ _ += K, K > 0 && h.push({ start: F + u, end: I + u }), G.add(T), console.log(
253
+ `点位处理完成,已标记为已处理: [${c.point.x.toFixed(2)}, ${c.point.y.toFixed(2)}, ${c.point.z.toFixed(
253
254
  2
254
255
  )}]`
255
256
  );
256
257
  }
257
258
  }
258
259
  if (i === t.track.path.length - 2) {
259
- const s = $ + S;
260
- u({
260
+ const c = M + _;
261
+ m({
261
262
  visible: !0,
262
- timeStamp: s,
263
- position: [a.x, a.y, a.z],
264
- quaternion: l,
263
+ timeStamp: c,
264
+ position: [s.x, s.y, s.z],
265
+ quaternion: r,
265
266
  scale: o.scale,
266
267
  animation: {
267
268
  url: t.animationUrl,
@@ -270,95 +271,102 @@ function st(t, m = 0, r = 300) {
270
271
  });
271
272
  }
272
273
  }
273
- function k(i, n, a) {
274
- const y = i.x - n.x, f = i.y - n.y, $ = i.z - n.z, U = a.x - n.x, g = a.y - n.y, s = a.z - n.z, T = y * U + f * g + $ * s, d = U * U + g * g + s * s;
275
- if (d === 0)
276
- return Math.sqrt(y * y + f * f + $ * $);
277
- let M = T / d;
278
- M < 0 ? M = 0 : M > 1 && (M = 1);
279
- const v = n.x + M * U, R = n.y + M * g, I = n.z + M * s, b = i.x - v, A = i.y - R, P = i.z - I;
280
- return Math.sqrt(b * b + A * A + P * P);
274
+ function tt(i, n, s) {
275
+ const y = i.x - n.x, d = i.y - n.y, M = i.z - n.z, w = s.x - n.x, Q = s.y - n.y, c = s.z - n.z, T = y * w + d * Q + M * c, z = w * w + Q * Q + c * c;
276
+ if (z === 0)
277
+ return Math.sqrt(y * y + d * d + M * M);
278
+ let g = T / z;
279
+ g < 0 ? g = 0 : g > 1 && (g = 1);
280
+ const f = n.x + g * w, F = n.y + g * Q, U = n.z + g * c, q = i.x - f, P = i.y - F, I = i.z - U;
281
+ return Math.sqrt(q * q + P * P + I * I);
281
282
  }
282
- function tt(i, n, a) {
283
- const y = a.x - n.x, f = a.y - n.y, $ = a.z - n.z, U = y * y + f * f + $ * $;
284
- if (U === 0)
283
+ function nt(i, n, s) {
284
+ const y = s.x - n.x, d = s.y - n.y, M = s.z - n.z, w = y * y + d * d + M * M;
285
+ if (w === 0)
285
286
  return 0;
286
- const g = i.x - n.x, s = i.y - n.y, T = i.z - n.z, d = g * y + s * f + T * $;
287
- return Math.max(0, Math.min(1, d / U));
287
+ const Q = i.x - n.x, c = i.y - n.y, T = i.z - n.z, z = Q * y + c * d + T * M;
288
+ return Math.max(0, Math.min(1, z / w));
288
289
  }
289
290
  e.sort((i, n) => i.timeStamp - n.timeStamp);
290
291
  const X = [];
291
292
  for (let i = 0; i < e.length - 1; i++) {
292
- const n = e[i], a = e[i + 1];
293
- if (Math.abs(n.position[0] - a.position[0]) + Math.abs(n.position[1] - a.position[1]) + Math.abs(n.position[2] - a.position[2]) > 1e-3) {
293
+ const n = e[i], s = e[i + 1];
294
+ if (Math.abs(n.position[0] - s.position[0]) + Math.abs(n.position[1] - s.position[1]) + Math.abs(n.position[2] - s.position[2]) > 1e-3) {
295
+ const d = n.timeStamp + a;
296
+ if (h.some(
297
+ (f) => d > f.start - ot && d < f.end
298
+ )) {
299
+ console.log(`旋转帧时刻 ${d}ms 落入动作窗口,跳过插入以保护停顿动作`);
300
+ continue;
301
+ }
294
302
  console.log(`找到连续的不同位置关键帧: ${i} -> ${i + 1}`);
295
- const f = E * (r / 1e3), $ = new _.Vector3(n.position[0], n.position[1], n.position[2]), U = new _.Vector3(
296
- a.position[0] - n.position[0],
297
- a.position[1] - n.position[1],
298
- a.position[2] - n.position[2]
299
- ).normalize(), g = $.clone().add(U.multiplyScalar(f));
300
- let s = et(
303
+ const w = j * (a / 1e3), Q = new N.Vector3(n.position[0], n.position[1], n.position[2]), c = new N.Vector3(
304
+ s.position[0] - n.position[0],
305
+ s.position[1] - n.position[1],
306
+ s.position[2] - n.position[2]
307
+ ).normalize(), T = Q.clone().add(c.multiplyScalar(w));
308
+ let z = at(
301
309
  { x: n.position[0], y: n.position[1], z: n.position[2] },
302
- { x: a.position[0], y: a.position[1], z: a.position[2] }
310
+ { x: s.position[0], y: s.position[1], z: s.position[2] }
303
311
  );
304
- const T = {
312
+ const g = {
305
313
  visible: !0,
306
- timeStamp: n.timeStamp + r,
314
+ timeStamp: n.timeStamp + a,
307
315
  // 加上旋转走路的时间
308
- position: [g.x, g.y, g.z],
316
+ position: [T.x, T.y, T.z],
309
317
  // 使用计算后的位置
310
- quaternion: s,
318
+ quaternion: z,
311
319
  // 使用路径方向的quaternion
312
320
  scale: o.scale
313
321
  };
314
- t.animationUrl !== "none" && (T.animation = {
322
+ t.animationUrl !== "none" && (g.animation = {
315
323
  url: t.animationUrl,
316
324
  repeat: t.repeat === "loop"
317
- }), X.push(T);
318
- for (let d = 0; d < e.length; d++)
319
- if (e[d].timeStamp > n.timeStamp + r)
320
- if (Math.abs(e[d].position[0] - a.position[0]) < 1e-3 && Math.abs(e[d].position[1] - a.position[1]) < 1e-3 && Math.abs(e[d].position[2] - a.position[2]) < 1e-3)
321
- if (d < e.length - 1) {
322
- const M = e[d].quaternion, v = e[d + 1].quaternion;
323
- if (Math.abs(M[0] - v[0]) + Math.abs(M[1] - v[1]) + Math.abs(M[2] - v[2]) + Math.abs(M[3] - v[3]) < 1e-3)
324
- e[d].quaternion = s.slice(), console.log(`关键帧${d}没有旋转,设置为路径方向`);
325
+ }), X.push(g);
326
+ for (let f = 0; f < e.length; f++)
327
+ if (e[f].timeStamp > n.timeStamp + a)
328
+ if (Math.abs(e[f].position[0] - s.position[0]) < 1e-3 && Math.abs(e[f].position[1] - s.position[1]) < 1e-3 && Math.abs(e[f].position[2] - s.position[2]) < 1e-3)
329
+ if (f < e.length - 1) {
330
+ const F = e[f].quaternion, U = e[f + 1].quaternion;
331
+ if (Math.abs(F[0] - U[0]) + Math.abs(F[1] - U[1]) + Math.abs(F[2] - U[2]) + Math.abs(F[3] - U[3]) < 1e-3)
332
+ e[f].quaternion = z.slice(), console.log(`关键帧${f}没有旋转,设置为路径方向`);
325
333
  else {
326
- const I = new _.Quaternion(), b = new _.Quaternion(
327
- M[0],
328
- M[1],
329
- M[2],
330
- M[3]
331
- ), A = new _.Quaternion(v[0], v[1], v[2], v[3]), P = b.clone();
332
- P.conjugate(), I.copy(A).multiply(P), e[d].quaternion = s.slice();
333
- const c = new _.Quaternion(
334
- s[0],
335
- s[1],
336
- s[2],
337
- s[3]
338
- ).clone().multiply(I);
339
- e[d + 1].quaternion = [c.x, c.y, c.z, c.w], s = [c.x, c.y, c.z, c.w], console.log(`关键帧${d}发生旋转,当前帧设置为路径方向,下一帧设置为路径方向+旋转角度,更新路径方向`), d++;
334
+ const P = new N.Quaternion(), I = new N.Quaternion(
335
+ F[0],
336
+ F[1],
337
+ F[2],
338
+ F[3]
339
+ ), K = new N.Quaternion(U[0], U[1], U[2], U[3]), p = I.clone();
340
+ p.conjugate(), P.copy(K).multiply(p), e[f].quaternion = z.slice();
341
+ const v = new N.Quaternion(
342
+ z[0],
343
+ z[1],
344
+ z[2],
345
+ z[3]
346
+ ).clone().multiply(P);
347
+ e[f + 1].quaternion = [v.x, v.y, v.z, v.w], z = [v.x, v.y, v.z, v.w], console.log(`关键帧${f}发生旋转,当前帧设置为路径方向,下一帧设置为路径方向+旋转角度,更新路径方向`), f++;
340
348
  }
341
349
  } else
342
- e[d].quaternion = s.slice(), console.log(`最后一个关键帧${d}设置为路径方向`);
350
+ e[f].quaternion = z.slice(), console.log(`最后一个关键帧${f}设置为路径方向`);
343
351
  else
344
352
  break;
345
- console.log(`添加旋转动作帧,时间戳: ${n.timeStamp + r}ms`);
353
+ console.log(`添加旋转动作帧,时间戳: ${n.timeStamp + a}ms`);
346
354
  }
347
355
  }
348
356
  e.push(...X), e.sort((i, n) => i.timeStamp - n.timeStamp);
349
- const Y = t.track.duration * 1e3, Z = Y + S, Q = e[e.length - 1], nt = e.filter(
357
+ const Y = t.track.duration * 1e3, Z = Y + _, R = e[e.length - 1], it = e.filter(
350
358
  (i) => i.timeStamp === 0 && Math.abs(i.position[0] - o.position[0]) < 1e-3 && Math.abs(i.position[1] - o.position[1]) < 1e-3 && Math.abs(i.position[2] - o.position[2]) < 1e-3
351
359
  );
352
360
  return console.log(`动画转换完成:
353
- - 路径总距离: ${q.toFixed(2)} 单位
361
+ - 路径总距离: ${b.toFixed(2)} 单位
354
362
  - 基础移动时间: ${Y}ms (${t.track.duration}s)
355
- - 移动速度: ${E.toFixed(2)} 单位/秒
356
- - 动作延迟时间: ${S}ms (${(S / 1e3).toFixed(2)}s)
363
+ - 移动速度: ${j.toFixed(2)} 单位/秒
364
+ - 动作延迟时间: ${_}ms (${(_ / 1e3).toFixed(2)}s)
357
365
  - 计算总时间: ${Z}ms (${(Z / 1e3).toFixed(2)}s)
358
- - 实际最后时间戳: ${Q == null ? void 0 : Q.timeStamp}ms (${((Q == null ? void 0 : Q.timeStamp) / 1e3).toFixed(2)}s)
366
+ - 实际最后时间戳: ${R == null ? void 0 : R.timeStamp}ms (${((R == null ? void 0 : R.timeStamp) / 1e3).toFixed(2)}s)
359
367
  - 关键帧数量: ${e.length}
360
- - 初始位置关键帧数量: ${nt.length}
361
- - 速度一致性: ${(((Q == null ? void 0 : Q.timeStamp) - S) / 1e3 / t.track.duration * 100).toFixed(1)}% (100%为完全一致)`), {
368
+ - 初始位置关键帧数量: ${it.length}
369
+ - 速度一致性: ${(((R == null ? void 0 : R.timeStamp) - _) / 1e3 / t.track.duration * 100).toFixed(1)}% (100%为完全一致)`), {
362
370
  id: t.id,
363
371
  name: t.name || "默认角色",
364
372
  type: "model",
@@ -367,5 +375,5 @@ function st(t, m = 0, r = 300) {
367
375
  };
368
376
  }
369
377
  export {
370
- st as convertMockToPlayer
378
+ rt as convertMockToPlayer
371
379
  };
@@ -23,7 +23,7 @@ let I = class {
23
23
  /**
24
24
  * @realsee/dnalogel 版本号
25
25
  */
26
- r(this, "VERSION", "3.80.4");
26
+ r(this, "VERSION", "3.80.6");
27
27
  r(this, "NAME");
28
28
  r(this, "five");
29
29
  r(this, "workUtil");
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.80.4",
3
+ "%c %c@realsee/dnalogel %cv3.80.6",
4
4
  [
5
5
  "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=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.80.4",
3
+ "version": "3.80.6",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",