@realsee/dnalogel 3.81.29 → 3.81.30

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 (633) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +2 -0
  3. package/dist/index.cjs.js +41 -41
  4. package/dist/index.js +620 -614
  5. package/dist/index.umd.js +41 -41
  6. package/docs/classes/AnimationScriptAdapterSafetyError.html +2 -2
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  9. package/docs/classes/CSS3DRender.html +2 -2
  10. package/docs/classes/DigitalHuman.html +2 -2
  11. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +2 -2
  12. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +2 -2
  13. package/docs/classes/DigitalPlayground.html +2 -2
  14. package/docs/classes/DigitalStateMachine.html +2 -2
  15. package/docs/classes/FireControl.html +2 -2
  16. package/docs/classes/FireScenePlayer.html +2 -2
  17. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  18. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  19. package/docs/classes/MeasureV2.EdgeSnapCache.html +2 -2
  20. package/docs/classes/MeasureV2.MeasureControllerV2.html +2 -2
  21. package/docs/classes/MeasureV2.MeasureMagnifier.html +2 -2
  22. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  23. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  24. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  25. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  26. package/docs/classes/ModelRoomLabelController.html +2 -2
  27. package/docs/classes/MoveController.html +2 -2
  28. package/docs/classes/Object3DHelperController.html +2 -2
  29. package/docs/classes/PaintBrush.html +2 -2
  30. package/docs/classes/PanoMeasureControllerV2.html +2 -2
  31. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  32. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  33. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  34. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  35. package/docs/classes/PanoPatchPluginController.html +2 -2
  36. package/docs/classes/PanoTagPluginController.html +2 -2
  37. package/docs/classes/Sculpt.html +2 -2
  38. package/docs/classes/Util.BetterTween.html +2 -2
  39. package/docs/classes/Util.FiveDomEvents.html +2 -2
  40. package/docs/classes/Util.FivePuppet.html +2 -2
  41. package/docs/classes/Util.Interval.html +2 -2
  42. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  43. package/docs/classes/Util.LightTag.html +2 -2
  44. package/docs/classes/Util.LineSegments.html +2 -2
  45. package/docs/classes/Util.Magnifier.html +2 -2
  46. package/docs/classes/Util.Object3D.html +2 -2
  47. package/docs/classes/Util.PointDomHelper.html +2 -2
  48. package/docs/classes/Util.PointHelper.html +2 -2
  49. package/docs/classes/Util.PointSelector.html +2 -2
  50. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  51. package/docs/classes/Util.Rectangle.html +2 -2
  52. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  53. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  54. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  55. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  56. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  57. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  58. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  59. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  60. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  61. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  62. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  63. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  64. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  65. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  66. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  67. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  68. package/docs/classes/WalkController.html +2 -2
  69. package/docs/enums/CameraMovementEffect.html +2 -2
  70. package/docs/enums/ContentType.html +2 -2
  71. package/docs/enums/DIRECTION.html +2 -2
  72. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  73. package/docs/enums/DimensionType.html +2 -2
  74. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  75. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  76. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  77. package/docs/enums/PointType.html +2 -2
  78. package/docs/enums/Rotation.html +2 -2
  79. package/docs/functions/AreaMakerPlugin.html +1 -1
  80. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  81. package/docs/functions/CameraMovementPlugin.html +2 -2
  82. package/docs/functions/CruisePlugin.html +1 -1
  83. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  84. package/docs/functions/DigitalPerformancePlugin.html +1 -1
  85. package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
  86. package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -2
  87. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  88. package/docs/functions/GuideLinePlugin.html +1 -1
  89. package/docs/functions/ItemLabelPlugin.html +1 -1
  90. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  91. package/docs/functions/MeasurePlugin.html +1 -1
  92. package/docs/functions/MeasureV2.MeasurePluginV2.html +1 -1
  93. package/docs/functions/MeasureV2.collectNearbyEdges.html +2 -2
  94. package/docs/functions/MeasureV2.drawMeasureOverlay.html +2 -2
  95. package/docs/functions/MeasureV2.getWorldNormal.html +2 -2
  96. package/docs/functions/MeasureV2.validatePolygon.html +1 -1
  97. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  98. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  99. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  100. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  101. package/docs/functions/ModelMakerPlugin.html +1 -1
  102. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  103. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  104. package/docs/functions/ModelViewPlugin.html +2 -2
  105. package/docs/functions/MovePlugin.html +1 -1
  106. package/docs/functions/Object3DHelperPlugin.html +1 -1
  107. package/docs/functions/PanoCompassPlugin.html +1 -1
  108. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  109. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  110. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  111. package/docs/functions/PanoMeasurePlugin.html +1 -1
  112. package/docs/functions/PanoMeasurePluginV2.html +1 -1
  113. package/docs/functions/PanoRulerPlugin.html +2 -2
  114. package/docs/functions/PanoRulerProPlugin.html +2 -2
  115. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  116. package/docs/functions/PanoTagPlugin.html +1 -1
  117. package/docs/functions/PanoVideoPlugin.html +2 -2
  118. package/docs/functions/PipelinePlugin.html +1 -1
  119. package/docs/functions/SculptPlugin.html +2 -2
  120. package/docs/functions/SculptPluginForFive.html +2 -2
  121. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  122. package/docs/functions/Util.awaitNextFrame.html +1 -1
  123. package/docs/functions/Util.blink.html +2 -2
  124. package/docs/functions/Util.blinkWithPreset.html +2 -2
  125. package/docs/functions/Util.bounding.html +1 -1
  126. package/docs/functions/Util.boundingBox.html +1 -1
  127. package/docs/functions/Util.boundingSphere.html +1 -1
  128. package/docs/functions/Util.boxVertex.html +2 -2
  129. package/docs/functions/Util.boxVertexes.html +1 -1
  130. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  131. package/docs/functions/Util.cleanup.html +2 -2
  132. package/docs/functions/Util.convexHull.html +2 -2
  133. package/docs/functions/Util.equal.html +2 -2
  134. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  135. package/docs/functions/Util.generatePolygonGeometry.html +2 -2
  136. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  137. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  138. package/docs/functions/Util.getFrameTime.html +2 -2
  139. package/docs/functions/Util.getGeometryArea.html +1 -1
  140. package/docs/functions/Util.getGeometryInfo.html +1 -1
  141. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  142. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  143. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  144. package/docs/functions/Util.inside.html +1 -1
  145. package/docs/functions/Util.isModelLike.html +1 -1
  146. package/docs/functions/Util.isNil.html +2 -2
  147. package/docs/functions/Util.isPanoramaLike.html +1 -1
  148. package/docs/functions/Util.lookObject.html +2 -2
  149. package/docs/functions/Util.lookPoint.html +2 -2
  150. package/docs/functions/Util.nextFrame.html +1 -1
  151. package/docs/functions/Util.notNil.html +2 -2
  152. package/docs/functions/Util.reblink.html +2 -2
  153. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  154. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  155. package/docs/functions/Util.sculpt.createBox.html +1 -1
  156. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  157. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  158. package/docs/functions/Util.sculpt.createLine.html +2 -2
  159. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  160. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  161. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  162. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  163. package/docs/functions/Util.sculpt.transformUnit.html +2 -2
  164. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
  165. package/docs/functions/Util.tag.html +1 -1
  166. package/docs/functions/Util.triangleArea.html +2 -2
  167. package/docs/functions/Util.triangleCenter.html +2 -2
  168. package/docs/functions/Util.tweenProgress.html +1 -1
  169. package/docs/functions/Util.uuid.html +2 -2
  170. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  171. package/docs/functions/Util.worldBounding.html +1 -1
  172. package/docs/functions/Util.worldBoundingBox.html +1 -1
  173. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  174. package/docs/functions/classifyMovementTrack.html +1 -1
  175. package/docs/functions/createPolyline.html +2 -2
  176. package/docs/functions/getAreaBox3.html +2 -2
  177. package/docs/functions/getAreaVertices.html +2 -2
  178. package/docs/functions/getEffectivePointActionDuration.html +1 -1
  179. package/docs/functions/getEntryArea.html +2 -2
  180. package/docs/functions/getMovementActionDuration.html +1 -1
  181. package/docs/functions/hasMovementV2Signal.html +1 -1
  182. package/docs/functions/isConverterSafeMovementMatrix.html +1 -1
  183. package/docs/functions/pluginFlag.html +1 -1
  184. package/docs/functions/transformAnimationDetailToDigitalScript.html +2 -2
  185. package/docs/functions/transformScriptData.html +2 -2
  186. package/docs/hierarchy.html +1 -1
  187. package/docs/index.html +2 -2
  188. package/docs/interfaces/AnimationScriptAdapterOptions.html +2 -2
  189. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  190. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  191. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  192. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  193. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  194. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  195. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  196. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  197. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  198. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  199. package/docs/interfaces/BoxAnimationConfig.html +2 -2
  200. package/docs/interfaces/BoxPosition.html +2 -2
  201. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  202. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  203. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  204. package/docs/interfaces/ChapterLocation.html +2 -2
  205. package/docs/interfaces/ChapterTimeInfo.html +2 -2
  206. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  207. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  208. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  209. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  210. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  211. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  212. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  213. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  214. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  215. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  216. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  217. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  218. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  219. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  220. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  221. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  222. package/docs/interfaces/DigitalCameraKeyframe.html +2 -2
  223. package/docs/interfaces/DigitalCameraPlayer.html +2 -2
  224. package/docs/interfaces/DigitalCameraState.html +2 -2
  225. package/docs/interfaces/DigitalChapter.html +2 -2
  226. package/docs/interfaces/DigitalDataPlayer.html +2 -2
  227. package/docs/interfaces/DigitalDataState.html +2 -2
  228. package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
  229. package/docs/interfaces/DigitalEffectState.html +2 -2
  230. package/docs/interfaces/DigitalItemKeyframe.html +2 -2
  231. package/docs/interfaces/DigitalItemState.html +2 -2
  232. package/docs/interfaces/DigitalModelKeyframe.html +2 -2
  233. package/docs/interfaces/DigitalModelPlayer.html +2 -2
  234. package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
  235. package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
  236. package/docs/interfaces/DigitalModelState.html +2 -2
  237. package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
  238. package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
  239. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
  240. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
  241. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +2 -2
  242. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +2 -2
  243. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +2 -2
  244. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
  245. package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
  246. package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
  247. package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +2 -2
  248. package/docs/interfaces/DigitalScript.html +2 -2
  249. package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
  250. package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
  251. package/docs/interfaces/DigitalSubTitleState.html +2 -2
  252. package/docs/interfaces/ExtendedAnimationConfig.html +2 -2
  253. package/docs/interfaces/FireArea.html +2 -2
  254. package/docs/interfaces/FireModel.html +2 -2
  255. package/docs/interfaces/FireSceneConfig.html +2 -2
  256. package/docs/interfaces/FireSequencePlayerOptions.html +2 -2
  257. package/docs/interfaces/FireSequenceStep.html +2 -2
  258. package/docs/interfaces/FireVector3.html +2 -2
  259. package/docs/interfaces/FloorplanBounding.html +2 -2
  260. package/docs/interfaces/FloorplanData.html +2 -2
  261. package/docs/interfaces/FloorplanEntrance.html +2 -2
  262. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  263. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  264. package/docs/interfaces/FloorplanFloorData.html +2 -2
  265. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  266. package/docs/interfaces/FloorplanObserver.html +2 -2
  267. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  268. package/docs/interfaces/FloorplanPosition.html +2 -2
  269. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  270. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  271. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  272. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  273. package/docs/interfaces/FloorplanServerData.html +2 -2
  274. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  275. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  276. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  277. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  278. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  279. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  280. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  281. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  282. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  283. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  284. package/docs/interfaces/FloorplanServerStyledFloorplan.html +2 -2
  285. package/docs/interfaces/FloorplanServerStyledImage.html +2 -2
  286. package/docs/interfaces/GlobalProgress.html +2 -2
  287. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  288. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  289. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  290. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  291. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  292. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  293. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  294. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  295. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  296. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  297. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  298. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  299. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  300. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  301. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  302. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  303. package/docs/interfaces/HelperOffset.html +2 -2
  304. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  305. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  306. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  307. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  308. package/docs/interfaces/LegacyScriptTransformer.html +2 -2
  309. package/docs/interfaces/MeasureV2.EdgeSnapOptions.html +2 -2
  310. package/docs/interfaces/MeasureV2.MagnifierViewport.html +2 -2
  311. package/docs/interfaces/MeasureV2.MeasureMagnifierOptions.html +2 -2
  312. package/docs/interfaces/MeasureV2.ResolvedEdgeSnapOptions.html +2 -2
  313. package/docs/interfaces/MinMax.html +2 -2
  314. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  315. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  316. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  317. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  318. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  319. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  320. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  321. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  322. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  323. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  324. package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +2 -2
  325. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  326. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  327. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  328. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  329. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  330. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  331. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  332. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  333. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  334. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  335. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  336. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  337. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  338. package/docs/interfaces/Object3DHelperState.html +2 -2
  339. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  340. package/docs/interfaces/PaintBrushAction.html +2 -2
  341. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  342. package/docs/interfaces/PaintBrushState.html +2 -2
  343. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  344. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  345. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  346. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  347. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  348. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  349. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  350. package/docs/interfaces/PanoMeasurePluginV2Data.html +2 -2
  351. package/docs/interfaces/PanoMeasurePluginV2ServerData.html +2 -2
  352. package/docs/interfaces/PanoPatch.html +2 -2
  353. package/docs/interfaces/PanoPatchCandidate.html +2 -2
  354. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  355. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  356. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  357. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  358. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  359. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  360. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  361. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  362. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  363. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  364. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  365. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  366. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  367. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  368. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  369. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  370. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  371. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  372. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  373. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  374. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  375. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  376. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  377. package/docs/interfaces/PlaybackController.html +2 -2
  378. package/docs/interfaces/PlaybackManager.html +2 -2
  379. package/docs/interfaces/PlaybackSession.html +2 -2
  380. package/docs/interfaces/PluginEventMap.html +2 -2
  381. package/docs/interfaces/Point.html +2 -2
  382. package/docs/interfaces/ProgressBarEvents.html +2 -2
  383. package/docs/interfaces/Room.html +2 -2
  384. package/docs/interfaces/RoomInfo.html +2 -2
  385. package/docs/interfaces/RoomLabel.html +2 -2
  386. package/docs/interfaces/RoomRules.html +1 -1
  387. package/docs/interfaces/Rooms.html +1 -1
  388. package/docs/interfaces/Scissor.html +2 -2
  389. package/docs/interfaces/SculptConfig.html +2 -2
  390. package/docs/interfaces/State.html +2 -2
  391. package/docs/interfaces/StyledFloorplan.html +2 -2
  392. package/docs/interfaces/StyledFloorplanImage.html +2 -2
  393. package/docs/interfaces/StyledFloorplanRoomLabel.html +2 -2
  394. package/docs/interfaces/TagCacheInterface.html +2 -2
  395. package/docs/interfaces/TagConfig.html +2 -2
  396. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  397. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  398. package/docs/interfaces/TagIconUrl.html +2 -2
  399. package/docs/interfaces/TagObjectGroup.html +2 -2
  400. package/docs/interfaces/TagState.html +2 -2
  401. package/docs/interfaces/TagStyle.html +2 -2
  402. package/docs/interfaces/Tags.html +2 -2
  403. package/docs/interfaces/TemporaryState.html +2 -2
  404. package/docs/interfaces/TraceManager.html +2 -2
  405. package/docs/interfaces/TracePoint.html +2 -2
  406. package/docs/interfaces/Util.AdaptiveReadWindowOptions.html +2 -2
  407. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  408. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  409. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  410. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  411. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  412. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  413. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  414. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  415. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  416. package/docs/interfaces/Util.PointIntersection.html +2 -2
  417. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  418. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  419. package/docs/modules/AreaMakerPluginType.html +2 -2
  420. package/docs/modules/CruisePluginTypes.html +2 -2
  421. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  422. package/docs/modules/DigitalPerformanceV2.html +2 -2
  423. package/docs/modules/GuideLineItem.html +2 -2
  424. package/docs/modules/GuideLineModeItem.html +2 -2
  425. package/docs/modules/GuideLinePluginType.html +2 -2
  426. package/docs/modules/MeasureV2.html +2 -2
  427. package/docs/modules/ModelMakerPluginType.html +2 -2
  428. package/docs/modules/PanoVideoPluginType.html +2 -2
  429. package/docs/modules/SculptData.html +2 -2
  430. package/docs/modules/SculptType.html +2 -2
  431. package/docs/modules/Util.html +2 -2
  432. package/docs/modules/Util.sculpt.html +2 -2
  433. package/docs/modules.html +2 -2
  434. package/docs/types/AddObject3DHelperConfig.html +2 -2
  435. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  436. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  437. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  438. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  439. package/docs/types/ArrayPosition.html +1 -1
  440. package/docs/types/AudioAppearance.html +1 -1
  441. package/docs/types/BoxTag.html +2 -2
  442. package/docs/types/CSS3DRenderExportType.html +1 -1
  443. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  444. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  445. package/docs/types/CanonicalMovementTrackPlan.html +1 -1
  446. package/docs/types/ClassFunctionParameters.html +1 -1
  447. package/docs/types/Color.html +1 -1
  448. package/docs/types/ContentTypeConfigKey.html +1 -1
  449. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  450. package/docs/types/ContentTypeMap.html +1 -1
  451. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  452. package/docs/types/Create3DElementReturnType.html +1 -1
  453. package/docs/types/CruisePluginExportType.html +1 -1
  454. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  455. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  456. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  457. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  458. package/docs/types/DeprecatedTagProperty.html +2 -2
  459. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -1
  460. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
  461. package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
  462. package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
  463. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
  464. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
  465. package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
  466. package/docs/types/Direction-1.html +1 -1
  467. package/docs/types/Direction4.html +1 -1
  468. package/docs/types/ElementRenderer.html +2 -2
  469. package/docs/types/FireModelType.html +2 -2
  470. package/docs/types/FireSequenceKind.html +2 -2
  471. package/docs/types/FireSpreadBounds.html +2 -2
  472. package/docs/types/FloorplanAffineTransform.html +1 -1
  473. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  474. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  475. package/docs/types/FloorplanRuleLabels.html +2 -2
  476. package/docs/types/FloorplanServerAffineTransform.html +1 -1
  477. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  478. package/docs/types/GuideLinePluginExportType.html +1 -1
  479. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  480. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  481. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  482. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  483. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  484. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  485. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  486. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  487. package/docs/types/HelperEventMap.html +1 -1
  488. package/docs/types/InternalHelperEventMap.html +1 -1
  489. package/docs/types/KeyframeType.html +1 -1
  490. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  491. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  492. package/docs/types/MaskPosition.html +2 -2
  493. package/docs/types/MaskTag.html +2 -2
  494. package/docs/types/MeasureInteractionState.html +2 -2
  495. package/docs/types/MeasureV2.MeasureControllerV2Interface.html +1 -1
  496. package/docs/types/MeasureV2.MeasureEndReason.html +1 -1
  497. package/docs/types/MeasureV2.MeasurePluginConfig.html +2 -2
  498. package/docs/types/MeasureV2.MeasurePluginEventMap.html +1 -1
  499. package/docs/types/MeasureV2.MeasurePluginV2Config.html +2 -2
  500. package/docs/types/MeasureV2.MeasurePluginV2ParamsInterface.html +1 -1
  501. package/docs/types/MediaData.html +2 -2
  502. package/docs/types/MediaOperations.html +1 -1
  503. package/docs/types/MediaStore.html +1 -1
  504. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  505. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  506. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  507. package/docs/types/ModelId.html +1 -1
  508. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  509. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  510. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  511. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  512. package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +2 -2
  513. package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +2 -2
  514. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  515. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  516. package/docs/types/MoveArgs.html +2 -2
  517. package/docs/types/MoveOpts.html +2 -2
  518. package/docs/types/MovementConfig.html +1 -1
  519. package/docs/types/MovementPosition.html +1 -1
  520. package/docs/types/MovementTrackClassification.html +1 -1
  521. package/docs/types/MovementTrackConflictReason.html +1 -1
  522. package/docs/types/MovementTrackProjection.html +1 -1
  523. package/docs/types/Object3DHelperEventMap.html +1 -1
  524. package/docs/types/ObjectFit.html +1 -1
  525. package/docs/types/PaintBrushEventMap.html +1 -1
  526. package/docs/types/PanoCompassPluginData.html +1 -1
  527. package/docs/types/PanoCompassPluginExportType.html +1 -1
  528. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  529. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  530. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  531. package/docs/types/PanoIndex.html +1 -1
  532. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  533. package/docs/types/PanoMeasurePluginV2Config.html +2 -2
  534. package/docs/types/PanoMeasurePluginV2Instance.html +1 -1
  535. package/docs/types/PanoMeasureReturnType.html +1 -1
  536. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  537. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  538. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  539. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  540. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  541. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  542. package/docs/types/PipelinePluginParameterType.html +1 -1
  543. package/docs/types/PipelinePluginReturnType.html +1 -1
  544. package/docs/types/PlaneTag.html +2 -2
  545. package/docs/types/Point2DTag.html +2 -2
  546. package/docs/types/Point3DTag.html +2 -2
  547. package/docs/types/PointAction.html +1 -1
  548. package/docs/types/PointTagInstance.html +1 -1
  549. package/docs/types/PolygonPosition.html +2 -2
  550. package/docs/types/PolygonTag.html +2 -2
  551. package/docs/types/Position.html +1 -1
  552. package/docs/types/PositionFrom.html +1 -1
  553. package/docs/types/ProgressListener.html +1 -1
  554. package/docs/types/RotateArgs.html +2 -2
  555. package/docs/types/RotateOpts.html +2 -2
  556. package/docs/types/RuleLabelsKey.html +1 -1
  557. package/docs/types/RuleLabelsValue.html +1 -1
  558. package/docs/types/ScaleCallback.html +1 -1
  559. package/docs/types/ScalePosition.html +2 -2
  560. package/docs/types/SculptData.BoxData.html +1 -1
  561. package/docs/types/SculptData.CircleData.html +1 -1
  562. package/docs/types/SculptData.CylinderData.html +1 -1
  563. package/docs/types/SculptData.PointData.html +1 -1
  564. package/docs/types/SculptData.PolygonData.html +1 -1
  565. package/docs/types/SculptData.PolylineData.html +1 -1
  566. package/docs/types/SculptData.PrismData.html +1 -1
  567. package/docs/types/SculptData.RectangleData.html +1 -1
  568. package/docs/types/SculptType.Theme.html +2 -2
  569. package/docs/types/StateType.html +1 -1
  570. package/docs/types/StickType.html +1 -1
  571. package/docs/types/Tag.html +2 -2
  572. package/docs/types/Tag2D.html +2 -2
  573. package/docs/types/Tag3D.html +2 -2
  574. package/docs/types/TagClickParams.html +1 -1
  575. package/docs/types/TagConfigByKey.html +1 -1
  576. package/docs/types/TagContentType.html +1 -1
  577. package/docs/types/TagContentTypeMapping.html +1 -1
  578. package/docs/types/TagDimensionType.html +1 -1
  579. package/docs/types/TagElement.html +2 -2
  580. package/docs/types/TagEvents.html +1 -1
  581. package/docs/types/TagGLTFObject.html +1 -1
  582. package/docs/types/TagHooks.html +1 -1
  583. package/docs/types/TagId.html +1 -1
  584. package/docs/types/TagInstance.html +1 -1
  585. package/docs/types/TagPlacement.html +2 -2
  586. package/docs/types/TagPointType.html +2 -2
  587. package/docs/types/TagRendererMap.html +1 -1
  588. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  589. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  590. package/docs/types/TrackPoint.html +1 -1
  591. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  592. package/docs/types/Util.AdherePoint.html +2 -2
  593. package/docs/types/Util.PointSelectorConfig.html +1 -1
  594. package/docs/types/Util.SupportedTarget.html +2 -2
  595. package/docs/types/Util.Target.html +2 -2
  596. package/docs/types/Util.ThreeObject.html +2 -2
  597. package/docs/types/WorkCode.html +1 -1
  598. package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -1
  599. package/docs/variables/FIRE_ACTION_DURATION_MS.html +2 -2
  600. package/docs/variables/FIRE_SPREAD_SPEED.html +2 -2
  601. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  602. package/docs/variables/MODEL_SCALE_RANGE.html +2 -2
  603. package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +1 -1
  604. package/docs/variables/MOVEMENT_POSITION_EPSILON.html +1 -1
  605. package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +1 -1
  606. package/docs/variables/MeasureV2.DEFAULT_EDGE_SNAP_OPTIONS.html +1 -1
  607. package/docs/variables/MeasureV2.OVERLAY_STYLE.html +2 -2
  608. package/docs/variables/PLUGIN.html +1 -1
  609. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  610. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  611. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  612. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  613. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  614. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  615. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  616. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  617. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  618. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  619. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  620. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  621. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  622. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  623. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  624. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  625. package/docs/variables/defaultGlobalConfig.html +1 -1
  626. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  627. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  628. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  629. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +2 -0
  630. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +42 -36
  631. package/libs/base/BasePlugin.js +1 -1
  632. package/libs/shared-utils/logger.js +1 -1
  633. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var zw = Object.defineProperty, Ow = Object.defineProperties;
2
2
  var Rw = Object.getOwnPropertyDescriptors;
3
3
  var nl = Object.getOwnPropertySymbols;
4
4
  var Gf = Object.prototype.hasOwnProperty, Wf = Object.prototype.propertyIsEnumerable;
5
- var vi = Math.pow, sh = (n, t, e) => t in n ? zw(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, _ = (n, t) => {
5
+ var vi = Math.pow, sh = (n, t, e) => t in n ? zw(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, j = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  Gf.call(t, e) && sh(n, e, t[e]);
8
8
  if (nl)
@@ -43,7 +43,7 @@ import { LineGeometry as v2, LineMaterial as y2, THREE_Line2 as b2, Line as O1 }
43
43
  import { GLTFLoader as A2 } from "@realsee/five/gltf-loader";
44
44
  function w2() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.81.29",
46
+ "%c %c@realsee/dnalogel %cv3.81.30",
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",
@@ -1729,7 +1729,7 @@ var Ni = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1729
1729
  }
1730
1730
  return !1;
1731
1731
  }
1732
- function j(H, U) {
1732
+ function _(H, U) {
1733
1733
  return H.indexOf(U) > -1;
1734
1734
  }
1735
1735
  function A(H) {
@@ -2102,7 +2102,7 @@ var Ni = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2102
2102
  U.preventDefault();
2103
2103
  return;
2104
2104
  }
2105
- var le = this.actions, Me = j(le, Ui) && !es[Ui], _e = j(le, Mn) && !es[Mn], Ye = j(le, Cn) && !es[Cn];
2105
+ var le = this.actions, Me = _(le, Ui) && !es[Ui], _e = _(le, Mn) && !es[Mn], Ye = _(le, Cn) && !es[Cn];
2106
2106
  if (Me) {
2107
2107
  var Et = H.pointers.length === 1, St = H.distance < 2, Nt = H.deltaTime < 250;
2108
2108
  if (Et && St && Nt)
@@ -2120,10 +2120,10 @@ var Ni = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2120
2120
  }
2121
2121
  };
2122
2122
  function Do(H) {
2123
- if (j(H, Ui))
2123
+ if (_(H, Ui))
2124
2124
  return Ui;
2125
- var U = j(H, Cn), ee = j(H, Mn);
2126
- return U && ee ? Ui : U || ee ? U ? Cn : Mn : j(H, js) ? js : Vt;
2125
+ var U = _(H, Cn), ee = _(H, Mn);
2126
+ return U && ee ? Ui : U || ee ? U ? Cn : Mn : _(H, js) ? js : Vt;
2127
2127
  }
2128
2128
  function Lo() {
2129
2129
  if (!Er)
@@ -3264,8 +3264,8 @@ let q2 = function(n) {
3264
3264
  g.onBeforeRender(t, v, b);
3265
3265
  let z;
3266
3266
  g.isCSS3DSprite ? (o.copy(b.matrixWorldInverse), o.transpose(), o.copyPosition(g.matrixWorld), o.scale(g.scale), o.elements[3] = 0, o.elements[7] = 0, o.elements[11] = 0, o.elements[15] = 1, z = d(o)) : z = d(g.matrixWorld);
3267
- let j = a.objects.get(g);
3268
- if (j === void 0 || j.style !== z) {
3267
+ let _ = a.objects.get(g);
3268
+ if (_ === void 0 || _.style !== z) {
3269
3269
  O.style.WebkitTransform = z, O.style.transform = z;
3270
3270
  let A = { style: z };
3271
3271
  a.objects.set(g, A);
@@ -4117,7 +4117,7 @@ class Ci extends Ii {
4117
4117
  f(this, "onPanoArrived", () => {
4118
4118
  setTimeout(() => this.updateDomItems({ force: !0 }), 100);
4119
4119
  });
4120
- this.paramsStyle = _({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new zl();
4120
+ this.paramsStyle = j({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new zl();
4121
4121
  const i = {
4122
4122
  color: new y.Color((o = e == null ? void 0 : e.lineColor) != null ? o : r3),
4123
4123
  linewidth: (a = e == null ? void 0 : e.lineWidth) != null ? a : o3,
@@ -4127,7 +4127,7 @@ class Ci extends Ii {
4127
4127
  opacity: (l = e == null ? void 0 : e.lineOpacity) != null ? l : 1,
4128
4128
  depthWrite: !1,
4129
4129
  transparent: !0
4130
- }, s = new h3(oe(_({}, i), { dashed: !1, depthTest: !0 })), r = new u3(oe(_({}, i), { dashed: !0, depthTest: !1 }));
4130
+ }, s = new h3(oe(j({}, i), { dashed: !1, depthTest: !0 })), r = new u3(oe(j({}, i), { dashed: !0, depthTest: !1 }));
4131
4131
  this.line1 = new rp(this.geometry, s), this.line2 = new rp(this.geometry, r), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.initFiveListeners(), e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
4132
4132
  this.removeFiveListeners(), si.cacheObject.delete(this), si.checkDom(this);
4133
4133
  }), this.addEventListener("added", () => {
@@ -4221,7 +4221,7 @@ class Ci extends Ii {
4221
4221
  }
4222
4222
  setStyle(e) {
4223
4223
  var r, o, a, l;
4224
- if (this.paramsStyle = _(_({}, this.paramsStyle), e), Ge(e.lineColor)) {
4224
+ if (this.paramsStyle = j(j({}, this.paramsStyle), e), Ge(e.lineColor)) {
4225
4225
  const c = new y.Color(e.lineColor);
4226
4226
  this.line1.material.three_color = c, this.line2.material.three_color = c;
4227
4227
  }
@@ -4289,8 +4289,8 @@ class Ci extends Ii {
4289
4289
  return document.body.removeChild(C), x;
4290
4290
  };
4291
4291
  let z = 0;
4292
- const j = O(u);
4293
- b > 0 && j > b && (z = -20), this.doms[a].container.innerHTML = cd(u, {
4292
+ const _ = O(u);
4293
+ b > 0 && _ > b && (z = -20), this.doms[a].container.innerHTML = cd(u, {
4294
4294
  style: `${L} ${this.paramsStyle.cssStyle || ""}`,
4295
4295
  offsetY: z
4296
4296
  });
@@ -4379,7 +4379,7 @@ function v3() {
4379
4379
  lineColor: 3407837,
4380
4380
  lineOpacity: 0.7,
4381
4381
  occlusionVisibility: !0
4382
- }, i = new Ci(oe(_({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Ci(oe(_({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4382
+ }, i = new Ci(oe(j({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Ci(oe(j({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4383
4383
  return t.add(i, s), t;
4384
4384
  }
4385
4385
  function y3(n) {
@@ -4481,7 +4481,7 @@ class X1 {
4481
4481
  f(this, "abortUpdateMagnifier", () => {
4482
4482
  });
4483
4483
  var s, r, o, a, l;
4484
- this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new kc(t, oe(_({ dragEnabled: !0 }, e == null ? void 0 : e.magnifierParams), { skipPanorama: (s = e == null ? void 0 : e.skipPanorama) != null ? s : !1 }));
4484
+ this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new kc(t, oe(j({ dragEnabled: !0 }, e == null ? void 0 : e.magnifierParams), { skipPanorama: (s = e == null ? void 0 : e.skipPanorama) != null ? s : !1 }));
4485
4485
  let i = null;
4486
4486
  (e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? i = new ty(t) : (e == null ? void 0 : e.pointHelper) === "highlight" ? i = new Q1(t) : (e == null ? void 0 : e.pointHelper) === null ? i = null : i = e.pointHelper, this.pointHelper = i, this.group.name = "five-point-selector", this.five.scene.add(this.group), (l = this.magnifier) == null || l.appendTo((a = (o = e.container) != null ? o : (r = t.getElement()) == null ? void 0 : r.parentElement) != null ? a : document.body);
4487
4487
  }
@@ -4532,7 +4532,7 @@ function q1(n, t = 3) {
4532
4532
  function P3(n, t) {
4533
4533
  const s = zi(n).intersectRaycaster(t)[0];
4534
4534
  if (s)
4535
- return oe(_({}, s), { raycaster: t, isVirtual: !1 });
4535
+ return oe(j({}, s), { raycaster: t, isVirtual: !1 });
4536
4536
  }
4537
4537
  const cu = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, C3 = new y.Vector3();
4538
4538
  function Vn(n) {
@@ -4715,7 +4715,7 @@ class Fa extends Tt {
4715
4715
  this.config.hitFilter && (i.hitFilter = this.config.hitFilter);
4716
4716
  let s = ja(this.five, i);
4717
4717
  if (s) {
4718
- if (this.plane && this.planeMode === "vertical" && (s = oe(_({}, s), {
4718
+ if (this.plane && this.planeMode === "vertical" && (s = oe(j({}, s), {
4719
4719
  point: this.plane.projectPoint(s.point, new y.Vector3()),
4720
4720
  face: new y.Face3(0, 0, 0, this.plane.normal.clone()),
4721
4721
  originalPoint: s.point.clone()
@@ -4767,7 +4767,7 @@ class Fa extends Tt {
4767
4767
  return;
4768
4768
  }
4769
4769
  this.onEnter(), this.cursorError || (this.five.getElement().style.cursor = "");
4770
- const i = _({}, e);
4770
+ const i = j({}, e);
4771
4771
  if (this.adhereEnabled && this.mouseNdcPosition && this.five.renderer) {
4772
4772
  const d = {
4773
4773
  x: this.mouseNdcPosition.x,
@@ -4827,8 +4827,8 @@ class Fa extends Tt {
4827
4827
  else {
4828
4828
  const L = new y.Raycaster();
4829
4829
  L.setFromCamera(g.clone(), this.five.camera);
4830
- const O = this.five.model.intersectRaycaster(L)[0], z = 0.1, j = this.five.camera.position.distanceTo(g);
4831
- O && O.distance < j + z && (T = !0);
4830
+ const O = this.five.model.intersectRaycaster(L)[0], z = 0.1, _ = this.five.camera.position.distanceTo(g);
4831
+ O && O.distance < _ + z && (T = !0);
4832
4832
  }
4833
4833
  if (T) {
4834
4834
  i.point = g.clone(), !this.plane && m instanceof y.Face3 && (i.face = m), i.isAdsorbed = !0;
@@ -4861,15 +4861,15 @@ class Fa extends Tt {
4861
4861
  f(this, "emitIntersectionUpdate", (e) => {
4862
4862
  this.emit("intersectionUpdate", e);
4863
4863
  });
4864
- this.five = e, this.config = _(_({}, this.config), i), this.actionIfNoIntersection = (a = (o = i == null ? void 0 : i.actionIfNoIntersection) != null ? o : i == null ? void 0 : i.actionIfNoModelUnderMouse) != null ? a : "virtualPoint";
4864
+ this.five = e, this.config = j(j({}, this.config), i), this.actionIfNoIntersection = (a = (o = i == null ? void 0 : i.actionIfNoIntersection) != null ? o : i == null ? void 0 : i.actionIfNoModelUnderMouse) != null ? a : "virtualPoint";
4865
4865
  const s = (l = i == null ? void 0 : i.mode) != null ? l : "auto";
4866
4866
  s === "auto" ? this.mode = Tc ? "fixed" : "cursor" : this.mode = s;
4867
4867
  const r = {
4868
4868
  autoFixPCPosition: this.mode === "cursor",
4869
4869
  initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
4870
4870
  };
4871
- this.pointSelectorHelper = new X1(this.five, oe(_({}, i == null ? void 0 : i.helper), {
4872
- magnifierParams: _(_({}, r), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams),
4871
+ this.pointSelectorHelper = new X1(this.five, oe(j({}, i == null ? void 0 : i.helper), {
4872
+ magnifierParams: j(j({}, r), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams),
4873
4873
  skipPanorama: (h = i == null ? void 0 : i.skipPanorama) != null ? h : !1
4874
4874
  })), this.pointSelectorHelper.hide();
4875
4875
  }
@@ -4939,7 +4939,7 @@ class J1 extends y.Mesh {
4939
4939
  const K1 = 1, ap = `CSS3DObjectPlus@${K1}`, M3 = 216e-5, E3 = 3e-3;
4940
4940
  let $1 = class extends Wn {
4941
4941
  constructor(e) {
4942
- var T, L, O, z, j;
4942
+ var T, L, O, z, _;
4943
4943
  if (Ei(e.cornerPoints) && Ei(e.width))
4944
4944
  throw new Error("cornerPoints and width cannot be both empty");
4945
4945
  const i = (T = e.container) != null ? T : document.createElement("div"), s = (L = e.cornerPoints) != null ? L : (() => {
@@ -4950,7 +4950,7 @@ let $1 = class extends Wn {
4950
4950
  new pe(A, -A, 0),
4951
4951
  new pe(A, A, 0)
4952
4952
  ];
4953
- })(), r = (O = e.ratio) != null ? O : E3, o = (z = e.dpr) != null ? z : 1, a = (j = e.pointerEvents) != null ? j : "auto", l = Math.max(M3, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = no(c / r * o), d = no(h / r * o), p = kt(...s);
4953
+ })(), r = (O = e.ratio) != null ? O : E3, o = (z = e.dpr) != null ? z : 1, a = (_ = e.pointerEvents) != null ? _ : "auto", l = Math.max(M3, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = no(c / r * o), d = no(h / r * o), p = kt(...s);
4954
4954
  let m;
4955
4955
  if (l === r)
4956
4956
  i.style.width = `${u}px`, i.style.height = `${d}px`, m = i;
@@ -6025,8 +6025,8 @@ function ut(n) {
6025
6025
  }
6026
6026
  function m(w) {
6027
6027
  for (var M = 0, I = l.animations, T = I.length; M < T; ) {
6028
- var L = I[M], O = L.animatable, z = L.tweens, j = z.length - 1, A = z[j];
6029
- j && (A = Lc(z, function(me) {
6028
+ var L = I[M], O = L.animatable, z = L.tweens, _ = z.length - 1, A = z[_];
6029
+ _ && (A = Lc(z, function(me) {
6030
6030
  return w < me.end;
6031
6031
  })[0] || A);
6032
6032
  for (var C = hn(w - A.start - A.delay, 0, A.duration) / A.duration, x = isNaN(C) ? 1 : A.easing(C), E = A.to.strings, S = A.round, k = [], R = A.to.numbers.length, B = void 0, Z = 0; Z < R; Z++) {
@@ -6110,8 +6110,8 @@ function cP(n, t) {
6110
6110
  if (!s)
6111
6111
  g.push(Math.abs(o - I));
6112
6112
  else {
6113
- var T = l ? (s[0] - 1) / 2 : o % s[0], L = l ? (s[1] - 1) / 2 : Math.floor(o / s[0]), O = I % s[0], z = Math.floor(I / s[0]), j = T - O, A = L - z, C = Math.sqrt(j * j + A * A);
6114
- r === "x" && (C = -j), r === "y" && (C = -A), g.push(C);
6113
+ var T = l ? (s[0] - 1) / 2 : o % s[0], L = l ? (s[1] - 1) / 2 : Math.floor(o / s[0]), O = I % s[0], z = Math.floor(I / s[0]), _ = T - O, A = L - z, C = Math.sqrt(_ * _ + A * A);
6114
+ r === "x" && (C = -_), r === "y" && (C = -A), g.push(C);
6115
6115
  }
6116
6116
  v = Math.max.apply(Math, g);
6117
6117
  }
@@ -6414,7 +6414,7 @@ function Rc(n, t) {
6414
6414
  if (r.length === 0)
6415
6415
  return va("No valid targets found"), Kl();
6416
6416
  Hn.storeState(r);
6417
- const o = oe(_(_({}, Pd), t), {
6417
+ const o = oe(j(j({}, Pd), t), {
6418
6418
  targets: r,
6419
6419
  update: mP(r, t || {})
6420
6420
  }), a = ut(o);
@@ -6449,7 +6449,7 @@ function Sy(n, t) {
6449
6449
  if (r.length === 0)
6450
6450
  return va("No valid targets found"), Kl();
6451
6451
  Hn.storeState(r);
6452
- const o = oe(_(_({}, Pd), t), {
6452
+ const o = oe(j(j({}, Pd), t), {
6453
6453
  targets: r,
6454
6454
  update: gP(r, t || {})
6455
6455
  }), a = ut(o);
@@ -6478,7 +6478,7 @@ function Sy(n, t) {
6478
6478
  }
6479
6479
  function vP(n, t, e) {
6480
6480
  const i = Ey[t];
6481
- return Rc(n, _(_({}, i), e));
6481
+ return Rc(n, j(j({}, i), e));
6482
6482
  }
6483
6483
  function yP() {
6484
6484
  Hn.clear();
@@ -6488,7 +6488,7 @@ function bP(n, t) {
6488
6488
  a.setFromCamera({ x: r, y: o }, n.camera);
6489
6489
  const c = e.intersectRaycaster(a)[0];
6490
6490
  if (c)
6491
- return oe(_({}, c), { raycaster: a, isVirtual: !1 });
6491
+ return oe(j({}, c), { raycaster: a, isVirtual: !1 });
6492
6492
  }
6493
6493
  function AP(n, t) {
6494
6494
  const e = n.getElement();
@@ -6703,7 +6703,7 @@ class ya {
6703
6703
  s && (e ? s.add(i) : s.remove(i));
6704
6704
  });
6705
6705
  f(this, "createObject", (t, e) => {
6706
- const i = new $1(oe(_({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6706
+ const i = new $1(oe(j({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6707
6707
  return i.element.classList.add(`${du}__container`), i.element.id = `${du}__container--${i.uuid}`, i;
6708
6708
  });
6709
6709
  t && this.setScene(t);
@@ -6732,7 +6732,7 @@ class ya {
6732
6732
  setState(t, e = { userAction: !0 }) {
6733
6733
  if (this.state.disposed)
6734
6734
  return Or();
6735
- const i = _({}, this.state);
6735
+ const i = j({}, this.state);
6736
6736
  this.state = Object.assign(this.state, t), i.visible !== this.state.visible && (t.visible ? this.handleShow() : this.handleHide()), i.enabled !== this.state.enabled && (t.enabled ? this.handleEnable() : this.handleDisable()), i.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e.userAction });
6737
6737
  }
6738
6738
  dispose() {
@@ -6907,7 +6907,7 @@ let kP = class extends ya {
6907
6907
  return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
6908
6908
  })(), { autoRender: r } = s;
6909
6909
  s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
6910
- const o = this.create3DElement(this.five.camera, e, oe(_({}, s), { autoRender: !1 }));
6910
+ const o = this.create3DElement(this.five.camera, e, oe(j({}, s), { autoRender: !1 }));
6911
6911
  if (!o)
6912
6912
  return;
6913
6913
  const a = o.dispose;
@@ -6921,7 +6921,7 @@ let kP = class extends ya {
6921
6921
  }, c = () => {
6922
6922
  Oi(this.five).then(() => l());
6923
6923
  };
6924
- return r && c(), oe(_({}, o), { render: r ? void 0 : c });
6924
+ return r && c(), oe(j({}, o), { render: r ? void 0 : c });
6925
6925
  });
6926
6926
  this.five = e;
6927
6927
  }
@@ -7483,8 +7483,8 @@ function yu(n, t, e) {
7483
7483
  const O = m(d), z = (C) => {
7484
7484
  const x = C.distanceTo(O), E = new y.Raycaster(C, O.clone().sub(C).normalize()), S = s.model.intersectRaycaster(E)[0], k = S == null ? void 0 : S.distance;
7485
7485
  Ge(k) ? k > x && (L += 1) : L += 1;
7486
- }, j = i.clampPoint(O, new y.Vector3());
7487
- z(j);
7486
+ }, _ = i.clampPoint(O, new y.Vector3());
7487
+ z(_);
7488
7488
  const A = new y.Vector3(o.x, O.y, o.z);
7489
7489
  if (z(A), Ge(p[L]) && d > p[L] || (p[L] = d), L === 2)
7490
7490
  break;
@@ -7502,13 +7502,13 @@ function yu(n, t, e) {
7502
7502
  }
7503
7503
  if (n.state.mode === "Mapview")
7504
7504
  return n.updateCamera(
7505
- _({
7505
+ j({
7506
7506
  offset: o,
7507
7507
  distance: b
7508
7508
  }, w),
7509
7509
  800
7510
7510
  );
7511
- n.setState(_({
7511
+ n.setState(j({
7512
7512
  mode: "Mapview",
7513
7513
  offset: o,
7514
7514
  distance: b
@@ -7539,13 +7539,13 @@ function _y(n, t, e) {
7539
7539
  const p = d((v = u[1]) != null ? v : 0), m = tr(t.clone().sub(p).normalize());
7540
7540
  if (n.state.mode === "Mapview")
7541
7541
  return n.updateCamera(
7542
- _({
7542
+ j({
7543
7543
  offset: t,
7544
7544
  distance: i
7545
7545
  }, m),
7546
7546
  800
7547
7547
  );
7548
- n.setState(_({
7548
+ n.setState(j({
7549
7549
  mode: "Mapview",
7550
7550
  offset: t,
7551
7551
  distance: i
@@ -7664,7 +7664,7 @@ class oo {
7664
7664
  if (!o)
7665
7665
  return !1;
7666
7666
  const L = o.slice(1);
7667
- return L[0] ? this.notify(oe(_({}, t), { object: L[0].object, intersects: L })) : !1;
7667
+ return L[0] ? this.notify(oe(j({}, t), { object: L[0].object, intersects: L })) : !1;
7668
7668
  };
7669
7669
  let d = i;
7670
7670
  for (h.push(d); d.parent; )
@@ -7682,7 +7682,7 @@ class oo {
7682
7682
  continue;
7683
7683
  const z = O[`${e}Handler`];
7684
7684
  if (z)
7685
- for (const [j, A] of z) {
7685
+ for (const [_, A] of z) {
7686
7686
  if (A != null && A.noEmitWhenNotInScene && p.type !== "Scene")
7687
7687
  continue;
7688
7688
  if (A.skipPano && a) {
@@ -7711,7 +7711,7 @@ class oo {
7711
7711
  continue;
7712
7712
  L._hovered = !1;
7713
7713
  }
7714
- const C = j({
7714
+ const C = _({
7715
7715
  type: e,
7716
7716
  target: L,
7717
7717
  origDomEvent: s,
@@ -7764,7 +7764,7 @@ class oo {
7764
7764
  * @return {void}
7765
7765
  */
7766
7766
  addEventListener(t, e, i, s) {
7767
- t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), this.boundObject[e].includes(t) || this.boundObject[e].push(t), t._domEvent[`${e}Handler`].push([i, _({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, s)]);
7767
+ t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), this.boundObject[e].includes(t) || this.boundObject[e].push(t), t._domEvent[`${e}Handler`].push([i, j({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, s)]);
7768
7768
  }
7769
7769
  removeEventListener(t, e, i, ...s) {
7770
7770
  var o, a;
@@ -8035,7 +8035,7 @@ const G_ = (n, t) => {
8035
8035
  var C, x;
8036
8036
  const e = new Tt();
8037
8037
  let i = (x = (C = t == null ? void 0 : t.initialState) == null ? void 0 : C.enabled) != null ? x : !0, s = !1, r = !0, o = null;
8038
- const l = _(_({}, {
8038
+ const l = j(j({}, {
8039
8039
  lookAtCurrentCamera: !1,
8040
8040
  lockedPanoIndex: null,
8041
8041
  lockedLatitude: null,
@@ -8120,12 +8120,12 @@ const G_ = (n, t) => {
8120
8120
  !i || r !== !0 || !o || !o.domElement.parentNode || o.domElement.parentNode.offsetWidth === 0 || (o.render(c, h), r = !1);
8121
8121
  }, z = () => {
8122
8122
  o && o.dispose(), o = null;
8123
- }, j = (E) => {
8123
+ }, _ = (E) => {
8124
8124
  Object.assign(l, E), L();
8125
8125
  }, A = () => ({
8126
8126
  enabled: i
8127
8127
  });
8128
- return n.on("loaded", b), n.on("willLoad", v), n.on("cameraDirectionUpdate", L), n.on("dispose", z), n.on("renderFrame", O), n.on("cameraPositionUpdate", L), { appendTo: I, refresh: T, changeConfigs: j, enable: w, disable: M, getCurrentState: A, hooks: e };
8128
+ return n.on("loaded", b), n.on("willLoad", v), n.on("cameraDirectionUpdate", L), n.on("dispose", z), n.on("renderFrame", O), n.on("cameraPositionUpdate", L), { appendTo: I, refresh: T, changeConfigs: _, enable: w, disable: M, getCurrentState: A, hooks: e };
8129
8129
  };
8130
8130
  class Fy extends O1 {
8131
8131
  constructor(...t) {
@@ -8759,16 +8759,16 @@ function fi(n, t, e, i, s, r, o, a, l, c, h, u) {
8759
8759
  const v = [], b = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), M = [];
8760
8760
  for (m = p; m--; ) {
8761
8761
  const O = u(s, r, m), z = e(O);
8762
- let j = o.get(z);
8763
- j ? i && M.push(() => j.p(O, t)) : (j = c(z, O), j.c()), b.set(z, v[m] = j), z in g && w.set(z, Math.abs(m - g[z]));
8762
+ let _ = o.get(z);
8763
+ _ ? i && M.push(() => _.p(O, t)) : (_ = c(z, O), _.c()), b.set(z, v[m] = _), z in g && w.set(z, Math.abs(m - g[z]));
8764
8764
  }
8765
8765
  const I = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
8766
8766
  function L(O) {
8767
8767
  N(O, 1), O.m(a, h), o.set(O.key, O), h = O.first, p--;
8768
8768
  }
8769
8769
  for (; d && p; ) {
8770
- const O = v[p - 1], z = n[d - 1], j = O.key, A = z.key;
8771
- O === z ? (h = O.first, d--, p--) : b.has(A) ? !o.has(j) || I.has(j) ? L(O) : T.has(A) ? d-- : w.get(j) > w.get(A) ? (T.add(j), L(O)) : (I.add(A), d--) : (l(z, o), d--);
8770
+ const O = v[p - 1], z = n[d - 1], _ = O.key, A = z.key;
8771
+ O === z ? (h = O.first, d--, p--) : b.has(A) ? !o.has(_) || I.has(_) ? L(O) : T.has(A) ? d-- : w.get(_) > w.get(A) ? (T.add(_), L(O)) : (I.add(A), d--) : (l(z, o), d--);
8772
8772
  }
8773
8773
  for (; d--; ) {
8774
8774
  const O = n[d];
@@ -9554,8 +9554,8 @@ function iM(n, t, e) {
9554
9554
  return !1;
9555
9555
  const T = new xs(), L = s.camera.position.clone(), O = new pe(M.position.x, M.position.y, M.position.z), z = O.distanceTo(L);
9556
9556
  T.set(L.clone(), O.clone().sub(L).normalize());
9557
- const [j] = s.model.intersectRaycaster(T);
9558
- return !(j && j.distance + 1 < z);
9557
+ const [_] = s.model.intersectRaycaster(T);
9558
+ return !(_ && _.distance + 1 < z);
9559
9559
  }
9560
9560
  function d(M, I) {
9561
9561
  const L = new pe(M.position.x, M.position.y, M.position.z).clone().project(s.camera), O = Math.ceil((L.x + 1) / 2 * I.x), z = Math.ceil((-L.y + 1) / 2 * I.y);
@@ -9564,15 +9564,15 @@ function iM(n, t, e) {
9564
9564
  function p(M) {
9565
9565
  const { rendererSize: I } = M, T = /* @__PURE__ */ new Map();
9566
9566
  function L(z) {
9567
- const j = T.get(z.id);
9568
- if (j)
9569
- return j;
9567
+ const _ = T.get(z.id);
9568
+ if (_)
9569
+ return _;
9570
9570
  const { x: A, y: C, z: x } = z.position, E = new pe(A, C, x).clone().distanceTo(s.camera.position);
9571
9571
  return T.set(z.id, E), E;
9572
9572
  }
9573
9573
  return r.map((z) => {
9574
- const j = u(z), A = j ? d(z, I) : z.transform, C = L(z), E = r.filter((S) => S.visible && L(S) < C).length * 10;
9575
- return oe(_({}, z), { visible: j, transform: A, zIndex: E });
9574
+ const _ = u(z), A = _ ? d(z, I) : z.transform, C = L(z), E = r.filter((S) => S.visible && L(S) < C).length * 10;
9575
+ return oe(j({}, z), { visible: _, transform: A, zIndex: E });
9576
9576
  });
9577
9577
  }
9578
9578
  function m() {
@@ -10524,7 +10524,7 @@ function DM(n, t) {
10524
10524
  return s;
10525
10525
  }
10526
10526
  function LM(n, t, e) {
10527
- let i, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, { pxmm: M } = t, { roomAreaEnable: I } = t, { roomNameEnable: T } = t, { roomNameOtherTypeEnable: L } = t, { roomDimensionEnable: O } = t, { room: z } = t, { hoveredRoom: j } = t, { getRoomAreaText: A } = t, { getRoomDimensionText: C } = t, { getLabelElement: x } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { fontSize: S } = t;
10527
+ let i, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, { pxmm: M } = t, { roomAreaEnable: I } = t, { roomNameEnable: T } = t, { roomNameOtherTypeEnable: L } = t, { roomDimensionEnable: O } = t, { room: z } = t, { hoveredRoom: _ } = t, { getRoomAreaText: A } = t, { getRoomDimensionText: C } = t, { getLabelElement: x } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { fontSize: S } = t;
10528
10528
  function k(ce, we) {
10529
10529
  if (we.width === 0 || we.height === 0)
10530
10530
  return () => !1;
@@ -10541,7 +10541,7 @@ function LM(n, t, e) {
10541
10541
  }
10542
10542
  const R = z.roomLabel, B = R.positionInImage.x * 100 + "%", Z = R.positionInImage.y * 100 + "%";
10543
10543
  let te = 0, Y = 0, J = 0, se = 0, re = !1;
10544
- j.subscribe(function(we) {
10544
+ _.subscribe(function(we) {
10545
10545
  e(27, re = !!we && we.id === z.id);
10546
10546
  });
10547
10547
  const Se = (ce) => {
@@ -10554,7 +10554,7 @@ function LM(n, t, e) {
10554
10554
  e(7, Y = ce.detail);
10555
10555
  };
10556
10556
  return n.$$set = (ce) => {
10557
- "pxmm" in ce && e(21, M = ce.pxmm), "roomAreaEnable" in ce && e(0, I = ce.roomAreaEnable), "roomNameEnable" in ce && e(1, T = ce.roomNameEnable), "roomNameOtherTypeEnable" in ce && e(2, L = ce.roomNameOtherTypeEnable), "roomDimensionEnable" in ce && e(3, O = ce.roomDimensionEnable), "room" in ce && e(4, z = ce.room), "hoveredRoom" in ce && e(22, j = ce.hoveredRoom), "getRoomAreaText" in ce && e(23, A = ce.getRoomAreaText), "getRoomDimensionText" in ce && e(24, C = ce.getRoomDimensionText), "getLabelElement" in ce && e(5, x = ce.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ce && e(25, E = ce.adaptiveRoomLabelVisibleEnable), "fontSize" in ce && e(26, S = ce.fontSize);
10557
+ "pxmm" in ce && e(21, M = ce.pxmm), "roomAreaEnable" in ce && e(0, I = ce.roomAreaEnable), "roomNameEnable" in ce && e(1, T = ce.roomNameEnable), "roomNameOtherTypeEnable" in ce && e(2, L = ce.roomNameOtherTypeEnable), "roomDimensionEnable" in ce && e(3, O = ce.roomDimensionEnable), "room" in ce && e(4, z = ce.room), "hoveredRoom" in ce && e(22, _ = ce.hoveredRoom), "getRoomAreaText" in ce && e(23, A = ce.getRoomAreaText), "getRoomDimensionText" in ce && e(24, C = ce.getRoomDimensionText), "getLabelElement" in ce && e(5, x = ce.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ce && e(25, E = ce.adaptiveRoomLabelVisibleEnable), "fontSize" in ce && e(26, S = ce.fontSize);
10558
10558
  }, n.$$.update = () => {
10559
10559
  var ce, we;
10560
10560
  n.$$.dirty[0] & /*fontSize*/
@@ -10604,7 +10604,7 @@ function LM(n, t, e) {
10604
10604
  B,
10605
10605
  Z,
10606
10606
  M,
10607
- j,
10607
+ _,
10608
10608
  A,
10609
10609
  C,
10610
10610
  E,
@@ -11909,7 +11909,7 @@ function dE(n, t, e) {
11909
11909
  "roomLabelsEnable" in u && e(4, s = u.roomLabelsEnable), "roomDimensionEnable" in u && e(5, r = u.roomDimensionEnable), "floorIndex" in u && e(6, o = u.floorIndex), "floorplanData" in u && e(7, a = u.floorplanData);
11910
11910
  }, n.$$.update = () => {
11911
11911
  n.$$.dirty & /*floorplanData, floorIndex*/
11912
- 192 && e(0, i = a.floorDatas[o].rooms.map((u) => oe(_({}, u), {
11912
+ 192 && e(0, i = a.floorDatas[o].rooms.map((u) => oe(j({}, u), {
11913
11913
  path: u.path.map((d) => nb(d, a.bounding))
11914
11914
  })));
11915
11915
  }, [
@@ -12576,11 +12576,11 @@ function OE(n) {
12576
12576
  c() {
12577
12577
  Ae(t.$$.fragment), e = ue(), g && g.c(), i = ue(), Ae(s.$$.fragment), r = ue(), Ae(o.$$.fragment), a = ue(), I && I.c(), l = ue(), T && T.c(), c = ue(), L && L.c(), h = ue(), O && O.c(), u = Ve();
12578
12578
  },
12579
- m(z, j) {
12580
- ve(t, z, j), X(z, e, j), g && g.m(z, j), X(z, i, j), ve(s, z, j), X(z, r, j), ve(o, z, j), X(z, a, j), I && I.m(z, j), X(z, l, j), T && T.m(z, j), X(z, c, j), L && L.m(z, j), X(z, h, j), O && O.m(z, j), X(z, u, j), d = !0;
12579
+ m(z, _) {
12580
+ ve(t, z, _), X(z, e, _), g && g.m(z, _), X(z, i, _), ve(s, z, _), X(z, r, _), ve(o, z, _), X(z, a, _), I && I.m(z, _), X(z, l, _), T && T.m(z, _), X(z, c, _), L && L.m(z, _), X(z, h, _), O && O.m(z, _), X(z, u, _), d = !0;
12581
12581
  },
12582
- p(z, j) {
12583
- const A = j & /*floorIndex, floorplanData, roomLabelsEnable, roomDimensionEnable*/
12582
+ p(z, _) {
12583
+ const A = _ & /*floorIndex, floorplanData, roomLabelsEnable, roomDimensionEnable*/
12584
12584
  5188 ? yt(p, [
12585
12585
  {
12586
12586
  floorIndex: (
@@ -12603,11 +12603,11 @@ function OE(n) {
12603
12603
  ]) : {};
12604
12604
  t.$set(A), /*highlightEnable*/
12605
12605
  z[3] || /*hoverEnable*/
12606
- z[5] ? g ? (g.p(z, j), j & /*highlightEnable, hoverEnable*/
12606
+ z[5] ? g ? (g.p(z, _), _ & /*highlightEnable, hoverEnable*/
12607
12607
  40 && N(g, 1)) : (g = Qp(z), g.c(), N(g, 1), g.m(i.parentNode, i)) : g && (ke(), q(g, 1, 1, () => {
12608
12608
  g = null;
12609
12609
  }), Te());
12610
- const C = j & /*floorplanData, floorIndex*/
12610
+ const C = _ & /*floorplanData, floorIndex*/
12611
12611
  4100 ? yt(v, [
12612
12612
  {
12613
12613
  floorplanData: (
@@ -12621,7 +12621,7 @@ function OE(n) {
12621
12621
  }
12622
12622
  ]) : {};
12623
12623
  s.$set(C);
12624
- const x = j & /*floorplanData, floorIndex*/
12624
+ const x = _ & /*floorplanData, floorIndex*/
12625
12625
  4100 ? yt(w, [
12626
12626
  {
12627
12627
  floorplanData: (
@@ -12635,19 +12635,19 @@ function OE(n) {
12635
12635
  }
12636
12636
  ]) : {};
12637
12637
  o.$set(x), /*roomLabelsEnable*/
12638
- z[6] ? I ? (I.p(z, j), j & /*roomLabelsEnable*/
12638
+ z[6] ? I ? (I.p(z, _), _ & /*roomLabelsEnable*/
12639
12639
  64 && N(I, 1)) : (I = Xp(z), I.c(), N(I, 1), I.m(l.parentNode, l)) : I && (ke(), q(I, 1, 1, () => {
12640
12640
  I = null;
12641
12641
  }), Te()), /*ruleLabelsEnable*/
12642
- z[11] ? T ? (T.p(z, j), j & /*ruleLabelsEnable*/
12642
+ z[11] ? T ? (T.p(z, _), _ & /*ruleLabelsEnable*/
12643
12643
  2048 && N(T, 1)) : (T = Yp(z), T.c(), N(T, 1), T.m(c.parentNode, c)) : T && (ke(), q(T, 1, 1, () => {
12644
12644
  T = null;
12645
12645
  }), Te()), /*cameraEnable*/
12646
- z[4] ? L ? (L.p(z, j), j & /*cameraEnable*/
12646
+ z[4] ? L ? (L.p(z, _), _ & /*cameraEnable*/
12647
12647
  16 && N(L, 1)) : (L = qp(z), L.c(), N(L, 1), L.m(h.parentNode, h)) : L && (ke(), q(L, 1, 1, () => {
12648
12648
  L = null;
12649
12649
  }), Te()), /*compassEnable*/
12650
- z[23] ? O ? (O.p(z, j), j & /*compassEnable*/
12650
+ z[23] ? O ? (O.p(z, _), _ & /*compassEnable*/
12651
12651
  8388608 && N(O, 1)) : (O = Zp(z), O.c(), N(O, 1), O.m(u.parentNode, u)) : O && (ke(), q(O, 1, 1, () => {
12652
12652
  O = null;
12653
12653
  }), Te());
@@ -13088,12 +13088,12 @@ function _E(n) {
13088
13088
  };
13089
13089
  }
13090
13090
  function jE(n, t, e) {
13091
- let i, s, { panoIndex: r } = t, { isCurrent: o } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: d } = t, { roomNameEnable: p } = t, { roomNameOtherTypeEnable: m } = t, { roomDimensionEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: b } = t, { getRoomAreaText: w } = t, { getRoomDimensionText: M } = t, { getLabelElement: I } = t, { getRuleDistanceText: T } = t, { adaptiveRoomLabelVisibleEnable: L } = t, { highlightData: O } = t, { missingFloorConfig: z } = t, { lastPanoramaLongitude: j } = t, { cameraImageUrl: A } = t, { northDesc: C } = t, { compassEnable: x } = t, { store: E = void 0 } = t;
13091
+ let i, s, { panoIndex: r } = t, { isCurrent: o } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: d } = t, { roomNameEnable: p } = t, { roomNameOtherTypeEnable: m } = t, { roomDimensionEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: b } = t, { getRoomAreaText: w } = t, { getRoomDimensionText: M } = t, { getLabelElement: I } = t, { getRuleDistanceText: T } = t, { adaptiveRoomLabelVisibleEnable: L } = t, { highlightData: O } = t, { missingFloorConfig: z } = t, { lastPanoramaLongitude: _ } = t, { cameraImageUrl: A } = t, { northDesc: C } = t, { compassEnable: x } = t, { store: E = void 0 } = t;
13092
13092
  const S = Ud(void 0);
13093
13093
  return S.subscribe((k) => {
13094
13094
  E && e(26, E.roomOnMouse = k, E);
13095
13095
  }), n.$$set = (k) => {
13096
- "panoIndex" in k && e(0, r = k.panoIndex), "isCurrent" in k && e(1, o = k.isCurrent), "floorIndex" in k && e(2, a = k.floorIndex), "highlightEnable" in k && e(3, l = k.highlightEnable), "cameraEnable" in k && e(4, c = k.cameraEnable), "hoverEnable" in k && e(5, h = k.hoverEnable), "roomLabelsEnable" in k && e(6, u = k.roomLabelsEnable), "roomAreaEnable" in k && e(7, d = k.roomAreaEnable), "roomNameEnable" in k && e(8, p = k.roomNameEnable), "roomNameOtherTypeEnable" in k && e(9, m = k.roomNameOtherTypeEnable), "roomDimensionEnable" in k && e(10, g = k.roomDimensionEnable), "ruleLabelsEnable" in k && e(11, v = k.ruleLabelsEnable), "floorplanData" in k && e(12, b = k.floorplanData), "getRoomAreaText" in k && e(13, w = k.getRoomAreaText), "getRoomDimensionText" in k && e(14, M = k.getRoomDimensionText), "getLabelElement" in k && e(15, I = k.getLabelElement), "getRuleDistanceText" in k && e(16, T = k.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in k && e(17, L = k.adaptiveRoomLabelVisibleEnable), "highlightData" in k && e(18, O = k.highlightData), "missingFloorConfig" in k && e(19, z = k.missingFloorConfig), "lastPanoramaLongitude" in k && e(20, j = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(21, A = k.cameraImageUrl), "northDesc" in k && e(22, C = k.northDesc), "compassEnable" in k && e(23, x = k.compassEnable), "store" in k && e(26, E = k.store);
13096
+ "panoIndex" in k && e(0, r = k.panoIndex), "isCurrent" in k && e(1, o = k.isCurrent), "floorIndex" in k && e(2, a = k.floorIndex), "highlightEnable" in k && e(3, l = k.highlightEnable), "cameraEnable" in k && e(4, c = k.cameraEnable), "hoverEnable" in k && e(5, h = k.hoverEnable), "roomLabelsEnable" in k && e(6, u = k.roomLabelsEnable), "roomAreaEnable" in k && e(7, d = k.roomAreaEnable), "roomNameEnable" in k && e(8, p = k.roomNameEnable), "roomNameOtherTypeEnable" in k && e(9, m = k.roomNameOtherTypeEnable), "roomDimensionEnable" in k && e(10, g = k.roomDimensionEnable), "ruleLabelsEnable" in k && e(11, v = k.ruleLabelsEnable), "floorplanData" in k && e(12, b = k.floorplanData), "getRoomAreaText" in k && e(13, w = k.getRoomAreaText), "getRoomDimensionText" in k && e(14, M = k.getRoomDimensionText), "getLabelElement" in k && e(15, I = k.getLabelElement), "getRuleDistanceText" in k && e(16, T = k.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in k && e(17, L = k.adaptiveRoomLabelVisibleEnable), "highlightData" in k && e(18, O = k.highlightData), "missingFloorConfig" in k && e(19, z = k.missingFloorConfig), "lastPanoramaLongitude" in k && e(20, _ = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(21, A = k.cameraImageUrl), "northDesc" in k && e(22, C = k.northDesc), "compassEnable" in k && e(23, x = k.compassEnable), "store" in k && e(26, E = k.store);
13097
13097
  }, n.$$.update = () => {
13098
13098
  n.$$.dirty & /*floorplanData, floorIndex*/
13099
13099
  4100 && e(27, i = b.floorDatas[a]), n.$$.dirty & /*floorData*/
@@ -13119,7 +13119,7 @@ function jE(n, t, e) {
13119
13119
  L,
13120
13120
  O,
13121
13121
  z,
13122
- j,
13122
+ _,
13123
13123
  A,
13124
13124
  C,
13125
13125
  x,
@@ -13527,9 +13527,9 @@ function VE(n) {
13527
13527
  };
13528
13528
  }
13529
13529
  function NE(n, t, e) {
13530
- let { duration: i = 0 } = t, { visible: s } = t, { northDesc: r } = t, { panoIndex: o } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: d } = t, { roomAreaEnable: p } = t, { roomNameEnable: m } = t, { roomNameOtherTypeEnable: g } = t, { roomDimensionEnable: v } = t, { ruleLabelsEnable: b } = t, { floorplanData: w } = t, { lastPanoramaLongitude: M } = t, { cameraImageUrl: I } = t, { getRoomAreaText: T } = t, { getRoomDimensionText: L } = t, { getLabelElement: O } = t, { getRuleDistanceText: z } = t, { adaptiveRoomLabelVisibleEnable: j } = t, { highlightData: A } = t, { missingFloorConfig: C } = t, { store: x = void 0 } = t;
13530
+ let { duration: i = 0 } = t, { visible: s } = t, { northDesc: r } = t, { panoIndex: o } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: d } = t, { roomAreaEnable: p } = t, { roomNameEnable: m } = t, { roomNameOtherTypeEnable: g } = t, { roomDimensionEnable: v } = t, { ruleLabelsEnable: b } = t, { floorplanData: w } = t, { lastPanoramaLongitude: M } = t, { cameraImageUrl: I } = t, { getRoomAreaText: T } = t, { getRoomDimensionText: L } = t, { getLabelElement: O } = t, { getRuleDistanceText: z } = t, { adaptiveRoomLabelVisibleEnable: _ } = t, { highlightData: A } = t, { missingFloorConfig: C } = t, { store: x = void 0 } = t;
13531
13531
  return n.$$set = (E) => {
13532
- "duration" in E && e(0, i = E.duration), "visible" in E && e(1, s = E.visible), "northDesc" in E && e(2, r = E.northDesc), "panoIndex" in E && e(3, o = E.panoIndex), "floorIndex" in E && e(4, a = E.floorIndex), "cameraEnable" in E && e(5, l = E.cameraEnable), "hoverEnable" in E && e(6, c = E.hoverEnable), "highlightEnable" in E && e(7, h = E.highlightEnable), "compassEnable" in E && e(8, u = E.compassEnable), "roomLabelsEnable" in E && e(9, d = E.roomLabelsEnable), "roomAreaEnable" in E && e(10, p = E.roomAreaEnable), "roomNameEnable" in E && e(11, m = E.roomNameEnable), "roomNameOtherTypeEnable" in E && e(12, g = E.roomNameOtherTypeEnable), "roomDimensionEnable" in E && e(13, v = E.roomDimensionEnable), "ruleLabelsEnable" in E && e(14, b = E.ruleLabelsEnable), "floorplanData" in E && e(15, w = E.floorplanData), "lastPanoramaLongitude" in E && e(16, M = E.lastPanoramaLongitude), "cameraImageUrl" in E && e(17, I = E.cameraImageUrl), "getRoomAreaText" in E && e(18, T = E.getRoomAreaText), "getRoomDimensionText" in E && e(19, L = E.getRoomDimensionText), "getLabelElement" in E && e(20, O = E.getLabelElement), "getRuleDistanceText" in E && e(21, z = E.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in E && e(22, j = E.adaptiveRoomLabelVisibleEnable), "highlightData" in E && e(23, A = E.highlightData), "missingFloorConfig" in E && e(24, C = E.missingFloorConfig), "store" in E && e(25, x = E.store);
13532
+ "duration" in E && e(0, i = E.duration), "visible" in E && e(1, s = E.visible), "northDesc" in E && e(2, r = E.northDesc), "panoIndex" in E && e(3, o = E.panoIndex), "floorIndex" in E && e(4, a = E.floorIndex), "cameraEnable" in E && e(5, l = E.cameraEnable), "hoverEnable" in E && e(6, c = E.hoverEnable), "highlightEnable" in E && e(7, h = E.highlightEnable), "compassEnable" in E && e(8, u = E.compassEnable), "roomLabelsEnable" in E && e(9, d = E.roomLabelsEnable), "roomAreaEnable" in E && e(10, p = E.roomAreaEnable), "roomNameEnable" in E && e(11, m = E.roomNameEnable), "roomNameOtherTypeEnable" in E && e(12, g = E.roomNameOtherTypeEnable), "roomDimensionEnable" in E && e(13, v = E.roomDimensionEnable), "ruleLabelsEnable" in E && e(14, b = E.ruleLabelsEnable), "floorplanData" in E && e(15, w = E.floorplanData), "lastPanoramaLongitude" in E && e(16, M = E.lastPanoramaLongitude), "cameraImageUrl" in E && e(17, I = E.cameraImageUrl), "getRoomAreaText" in E && e(18, T = E.getRoomAreaText), "getRoomDimensionText" in E && e(19, L = E.getRoomDimensionText), "getLabelElement" in E && e(20, O = E.getLabelElement), "getRuleDistanceText" in E && e(21, z = E.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in E && e(22, _ = E.adaptiveRoomLabelVisibleEnable), "highlightData" in E && e(23, A = E.highlightData), "missingFloorConfig" in E && e(24, C = E.missingFloorConfig), "store" in E && e(25, x = E.store);
13533
13533
  }, [
13534
13534
  i,
13535
13535
  s,
@@ -13553,7 +13553,7 @@ function NE(n, t, e) {
13553
13553
  L,
13554
13554
  O,
13555
13555
  z,
13556
- j,
13556
+ _,
13557
13557
  A,
13558
13558
  C,
13559
13559
  x
@@ -13695,7 +13695,7 @@ function gn(n) {
13695
13695
  height: a.mini_map_fill.height,
13696
13696
  floorplanToImage: a.mini_map_fill.floorplan_to_image
13697
13697
  },
13698
- roomLabels: a.room_labels.map((l) => oe(_({
13698
+ roomLabels: a.room_labels.map((l) => oe(j({
13699
13699
  roomId: l.room_id
13700
13700
  }, l.names ? { names: l.names } : {}), {
13701
13701
  position: l.position,
@@ -13741,7 +13741,7 @@ let Ds = class {
13741
13741
  /**
13742
13742
  * @realsee/dnalogel 版本号
13743
13743
  */
13744
- f(this, "VERSION", "3.81.29");
13744
+ f(this, "VERSION", "3.81.30");
13745
13745
  f(this, "NAME");
13746
13746
  f(this, "five");
13747
13747
  f(this, "workUtil");
@@ -13960,7 +13960,7 @@ let t5 = class extends bn {
13960
13960
  * plugin.updateShowState({ longitude: Math.PI / 2 })
13961
13961
  */
13962
13962
  f(this, "updateShowState", (e) => {
13963
- this.showState = _(_({}, this.showState), e);
13963
+ this.showState = j(j({}, this.showState), e);
13964
13964
  });
13965
13965
  f(this, "_disable", (e) => {
13966
13966
  var s, r, o;
@@ -13987,7 +13987,7 @@ let t5 = class extends bn {
13987
13987
  immediately: !1,
13988
13988
  isAutoShow: !1,
13989
13989
  userAction: !0
13990
- }, s = _(_({}, i), e), r = () => K(this, null, function* () {
13990
+ }, s = j(j({}, i), e), r = () => K(this, null, function* () {
13991
13991
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
13992
13992
  let a = !1, l;
13993
13993
  this.showRejection = (u) => {
@@ -14017,7 +14017,7 @@ let t5 = class extends bn {
14017
14017
  f(this, "_hide", (e) => {
14018
14018
  var r;
14019
14019
  (r = this.showRejection) == null || r.call(this, bi.BreakOffByHide), this.showPromise = void 0;
14020
- const s = _(_({}, {
14020
+ const s = j(j({}, {
14021
14021
  userAction: !0,
14022
14022
  isAutoHide: !1
14023
14023
  }), e);
@@ -14088,7 +14088,7 @@ let t5 = class extends bn {
14088
14088
  this.floorIndex = e, this.updateSize(), this.render();
14089
14089
  }
14090
14090
  });
14091
- i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = _({
14091
+ i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = j({
14092
14092
  mode: "Floorplan",
14093
14093
  longitude: 0,
14094
14094
  latitude: Math.PI / 2,
@@ -14118,12 +14118,12 @@ let t5 = class extends bn {
14118
14118
  cameraImageUrl: mn,
14119
14119
  attachedTo: nr.BOUNDING_CENTER,
14120
14120
  getLabelElement: void 0,
14121
- missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
14121
+ missingFloorConfig: j(j({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
14122
14122
  i18n: (u) => u,
14123
14123
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
14124
14124
  getRoomDimensionText: (u, d) => (u / 1e3).toFixed(1) + "m × " + (d / 1e3).toFixed(1) + "m",
14125
14125
  getRuleDistanceText: (u) => u.toString()
14126
- }, r = i ? fo(i, ["selector", "scale"]) : {}, o = _(_({}, s.missingFloorConfig), r.missingFloorConfig), a = oe(_(_({}, s), r), { missingFloorConfig: o });
14126
+ }, r = i ? fo(i, ["selector", "scale"]) : {}, o = j(j({}, s.missingFloorConfig), r.missingFloorConfig), a = oe(j(j({}, s), r), { missingFloorConfig: o });
14127
14127
  this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
14128
14128
  }
14129
14129
  load(e, i, s = !0) {
@@ -14193,8 +14193,8 @@ let t5 = class extends bn {
14193
14193
  }
14194
14194
  updateState(e, i) {
14195
14195
  var a;
14196
- const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(_(_({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
14197
- this.state = oe(_(_({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
14196
+ const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? j(j({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(j(j({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
14197
+ this.state = oe(j(j({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
14198
14198
  }
14199
14199
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
14200
14200
  *
@@ -14223,7 +14223,7 @@ let t5 = class extends bn {
14223
14223
  render(e) {
14224
14224
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
14225
14225
  return;
14226
- const i = oe(_({}, this.state.config), {
14226
+ const i = oe(j({}, this.state.config), {
14227
14227
  visible: this.state.visible,
14228
14228
  duration: e != null ? e : 0,
14229
14229
  panoIndex: this.panoIndex,
@@ -16999,7 +16999,7 @@ let r5 = class extends bn {
16999
16999
  * plugin.updateShowState({ longitude: Math.PI / 2 })
17000
17000
  */
17001
17001
  f(this, "updateShowState", (e) => {
17002
- this.showState = _(_({}, this.showState), e);
17002
+ this.showState = j(j({}, this.showState), e);
17003
17003
  });
17004
17004
  f(this, "_disable", (e) => {
17005
17005
  var s, r, o;
@@ -17026,7 +17026,7 @@ let r5 = class extends bn {
17026
17026
  immediately: !1,
17027
17027
  isAutoShow: !1,
17028
17028
  userAction: !0
17029
- }, s = _(_({}, i), e), r = () => K(this, null, function* () {
17029
+ }, s = j(j({}, i), e), r = () => K(this, null, function* () {
17030
17030
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
17031
17031
  let a = !1, l;
17032
17032
  this.showRejection = (u) => {
@@ -17056,7 +17056,7 @@ let r5 = class extends bn {
17056
17056
  f(this, "_hide", (e) => {
17057
17057
  var r;
17058
17058
  (r = this.showRejection) == null || r.call(this, bi.BreakOffByHide), this.showPromise = void 0;
17059
- const s = _(_({}, {
17059
+ const s = j(j({}, {
17060
17060
  userAction: !0,
17061
17061
  isAutoHide: !1
17062
17062
  }), e);
@@ -17128,7 +17128,7 @@ let r5 = class extends bn {
17128
17128
  this.floorIndex = e, this.updateSize(), this.render();
17129
17129
  }
17130
17130
  });
17131
- i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = _({
17131
+ i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = j({
17132
17132
  mode: "Mapview",
17133
17133
  longitude: 0,
17134
17134
  latitude: Math.PI / 2,
@@ -17160,12 +17160,12 @@ let r5 = class extends bn {
17160
17160
  attachedTo: nr.BOUNDING_CENTER,
17161
17161
  getLabelElement: void 0,
17162
17162
  adaptiveRoomLabelVisibleEnable: !0,
17163
- missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
17163
+ missingFloorConfig: j(j({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
17164
17164
  i18n: (u) => u,
17165
17165
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
17166
17166
  getRoomDimensionText: (u, d) => (u / 1e3).toFixed(1) + "m × " + (d / 1e3).toFixed(1) + "m",
17167
17167
  getRuleDistanceText: (u) => u.toString()
17168
- }, r = i ? fo(i, ["selector", "scale"]) : {}, o = _(_({}, s.missingFloorConfig), r.missingFloorConfig), a = oe(_(_({}, s), r), { missingFloorConfig: o });
17168
+ }, r = i ? fo(i, ["selector", "scale"]) : {}, o = j(j({}, s.missingFloorConfig), r.missingFloorConfig), a = oe(j(j({}, s), r), { missingFloorConfig: o });
17169
17169
  this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(), Oi(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
17170
17170
  }
17171
17171
  load(e, i, s = !0) {
@@ -17262,8 +17262,8 @@ let r5 = class extends bn {
17262
17262
  }
17263
17263
  updateState(e, i) {
17264
17264
  var a;
17265
- const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(_(_({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
17266
- this.state = oe(_(_({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17265
+ const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? j(j({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(j(j({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
17266
+ this.state = oe(j(j({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17267
17267
  }
17268
17268
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
17269
17269
  *
@@ -17295,12 +17295,12 @@ let r5 = class extends bn {
17295
17295
  */
17296
17296
  getRelativePose(e) {
17297
17297
  const i = this.showState.longitude || 0, r = ((e.longitude - i) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
17298
- return oe(_({}, e), { longitude: r });
17298
+ return oe(j({}, e), { longitude: r });
17299
17299
  }
17300
17300
  render(e) {
17301
17301
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
17302
17302
  return;
17303
- const i = oe(_({}, this.state.config), {
17303
+ const i = oe(j({}, this.state.config), {
17304
17304
  visible: this.state.visible,
17305
17305
  duration: e != null ? e : 0,
17306
17306
  panoIndex: this.panoIndex,
@@ -17436,13 +17436,13 @@ let o5 = class extends bn {
17436
17436
  cameraImageUrl: mn,
17437
17437
  attachedTo: nr.BOUNDING_CENTER,
17438
17438
  getLabelElement: void 0,
17439
- missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
17439
+ missingFloorConfig: j(j({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
17440
17440
  i18n: (h) => h,
17441
17441
  adaptiveRoomLabelVisibleEnable: !0,
17442
17442
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
17443
17443
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
17444
17444
  getRuleDistanceText: (h) => h.toString()
17445
- }, r = i ? fo(i, ["selector", "scale"]) : {}, o = _(_({}, s.missingFloorConfig), r.missingFloorConfig), a = oe(_(_({}, s), r), { missingFloorConfig: o });
17445
+ }, r = i ? fo(i, ["selector", "scale"]) : {}, o = j(j({}, s.missingFloorConfig), r.missingFloorConfig), a = oe(j(j({}, s), r), { missingFloorConfig: o });
17446
17446
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
17447
17447
  }
17448
17448
  load(e, i, s = !0) {
@@ -17545,8 +17545,8 @@ let o5 = class extends bn {
17545
17545
  }
17546
17546
  updateState(e, i) {
17547
17547
  var a;
17548
- const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(_(_({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
17549
- this.state = oe(_(_({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17548
+ const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? j(j({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(j(j({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
17549
+ this.state = oe(j(j({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17550
17550
  }
17551
17551
  addEventListener() {
17552
17552
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -17576,7 +17576,7 @@ let o5 = class extends bn {
17576
17576
  render(e) {
17577
17577
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
17578
17578
  return;
17579
- const i = oe(_({}, this.state.config), {
17579
+ const i = oe(j({}, this.state.config), {
17580
17580
  visible: this.state.visible,
17581
17581
  duration: e != null ? e : 0,
17582
17582
  panoIndex: this.panoIndex,
@@ -17660,7 +17660,7 @@ function h5(n, t, e) {
17660
17660
  const L = I.bounding, O = I.observers[T];
17661
17661
  if (!O)
17662
17662
  return "";
17663
- const z = (L.max.x - L.min.x) * l, j = (L.max.y - L.min.y) * l, A = Math.floor(O.positionInImage.x * z), C = Math.floor(O.positionInImage.y * j);
17663
+ const z = (L.max.x - L.min.x) * l, _ = (L.max.y - L.min.y) * l, A = Math.floor(O.positionInImage.x * z), C = Math.floor(O.positionInImage.y * _);
17664
17664
  return `translate(${A}px, ${C}px)`;
17665
17665
  }
17666
17666
  function g(I) {
@@ -18514,10 +18514,10 @@ function D5(n, t, e) {
18514
18514
  }, n.$$.update = () => {
18515
18515
  var z;
18516
18516
  if (n.$$.dirty & /*styledFloorplanEnable, floorplanData, floorIndex*/
18517
- 776 && e(15, i = d ? (z = a.styledFloorplan) == null ? void 0 : z.floors.find((j) => j.floorIndex === m) : void 0), n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
18517
+ 776 && e(15, i = d ? (z = a.styledFloorplan) == null ? void 0 : z.floors.find((_) => _.floorIndex === m) : void 0), n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
18518
18518
  7176) {
18519
- const j = Math.min(g, v), { max: A, min: C } = a.bounding, x = A.x - C.x, E = A.y - C.y, S = function() {
18520
- return x > E ? [j, j / x * E] : [j / E * x, j];
18519
+ const _ = Math.min(g, v), { max: A, min: C } = a.bounding, x = A.x - C.x, E = A.y - C.y, S = function() {
18520
+ return x > E ? [_, _ / x * E] : [_ / E * x, _];
18521
18521
  }();
18522
18522
  e(12, b = S[0]), e(14, w = S[1]), e(13, p = b / x);
18523
18523
  }
@@ -18601,7 +18601,7 @@ let L5 = class extends xe {
18601
18601
  highlightEnable: !1,
18602
18602
  cameraImageUrl: mn,
18603
18603
  missingFloorImageUrl: Zi(i == null ? void 0 : i.staticPrefix, ws)
18604
- }, r = _(_({}, s), i == null ? void 0 : i.configs);
18604
+ }, r = j(j({}, s), i == null ? void 0 : i.configs);
18605
18605
  this.state = { enabled: !0, visible: !0, config: r }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
18606
18606
  }
18607
18607
  load(e, i, s = !0) {
@@ -18685,8 +18685,8 @@ let L5 = class extends xe {
18685
18685
  this.hooks.emit("hide", { userAction: i }), this.render();
18686
18686
  }
18687
18687
  updateState(e, i) {
18688
- const s = this.state, r = e.config ? _(_({}, s.config), e.config) : s.config;
18689
- this.state = oe(_(_({}, this.state), e), { config: r }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
18688
+ const s = this.state, r = e.config ? j(j({}, s.config), e.config) : s.config;
18689
+ this.state = oe(j(j({}, this.state), e), { config: r }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
18690
18690
  }
18691
18691
  render() {
18692
18692
  if (this.disposed || !this.state.enabled)
@@ -18697,7 +18697,7 @@ let L5 = class extends xe {
18697
18697
  }
18698
18698
  if (!this.data || !this.wrapper)
18699
18699
  return;
18700
- const e = oe(_({}, this.state.config), {
18700
+ const e = oe(j({}, this.state.config), {
18701
18701
  five: this.five,
18702
18702
  floorplanData: this.data,
18703
18703
  visible: this.state.visible,
@@ -18831,8 +18831,8 @@ function j5(n, t, e) {
18831
18831
  if (!T)
18832
18832
  e(3, g = "");
18833
18833
  else {
18834
- const L = (l.bounding.max.x - l.bounding.min.x) * a, O = (l.bounding.max.y - l.bounding.min.y) * a, z = Math.floor(T.positionInImage.x * L), j = Math.floor(T.positionInImage.y * O);
18835
- e(3, g = `translate(${z}px, ${j}px)`);
18834
+ const L = (l.bounding.max.x - l.bounding.min.x) * a, O = (l.bounding.max.y - l.bounding.min.y) * a, z = Math.floor(T.positionInImage.x * L), _ = Math.floor(T.positionInImage.y * O);
18835
+ e(3, g = `translate(${z}px, ${_}px)`);
18836
18836
  }
18837
18837
  }
18838
18838
  n.$$.dirty & /*longitude*/
@@ -19654,13 +19654,13 @@ function rI(n, t, e) {
19654
19654
  let i, s, r, { room: o } = t, { roomName: a } = t, { isHovered: l } = t, { roomNameEnable: c } = t, { roomAreaEnable: h } = t, { roomAreaSize: u } = t, { userConfigElement: d } = t, { adaptiveRoomLabelVisibleEnable: p } = t, { pxmm: m } = t, { left: g } = t, { top: v } = t, { createLabelInRoomChecker: b } = t;
19655
19655
  const w = Xn();
19656
19656
  let M = 0, I = 0;
19657
- const T = () => w("mouseenter"), L = () => w("mouseleave"), O = (j) => {
19658
- e(8, M = j.detail);
19659
- }, z = (j) => {
19660
- e(9, I = j.detail);
19657
+ const T = () => w("mouseenter"), L = () => w("mouseleave"), O = (_) => {
19658
+ e(8, M = _.detail);
19659
+ }, z = (_) => {
19660
+ e(9, I = _.detail);
19661
19661
  };
19662
- return n.$$set = (j) => {
19663
- "room" in j && e(12, o = j.room), "roomName" in j && e(0, a = j.roomName), "isHovered" in j && e(1, l = j.isHovered), "roomNameEnable" in j && e(2, c = j.roomNameEnable), "roomAreaEnable" in j && e(3, h = j.roomAreaEnable), "roomAreaSize" in j && e(4, u = j.roomAreaSize), "userConfigElement" in j && e(5, d = j.userConfigElement), "adaptiveRoomLabelVisibleEnable" in j && e(13, p = j.adaptiveRoomLabelVisibleEnable), "pxmm" in j && e(14, m = j.pxmm), "left" in j && e(6, g = j.left), "top" in j && e(7, v = j.top), "createLabelInRoomChecker" in j && e(15, b = j.createLabelInRoomChecker);
19662
+ return n.$$set = (_) => {
19663
+ "room" in _ && e(12, o = _.room), "roomName" in _ && e(0, a = _.roomName), "isHovered" in _ && e(1, l = _.isHovered), "roomNameEnable" in _ && e(2, c = _.roomNameEnable), "roomAreaEnable" in _ && e(3, h = _.roomAreaEnable), "roomAreaSize" in _ && e(4, u = _.roomAreaSize), "userConfigElement" in _ && e(5, d = _.userConfigElement), "adaptiveRoomLabelVisibleEnable" in _ && e(13, p = _.adaptiveRoomLabelVisibleEnable), "pxmm" in _ && e(14, m = _.pxmm), "left" in _ && e(6, g = _.left), "top" in _ && e(7, v = _.top), "createLabelInRoomChecker" in _ && e(15, b = _.createLabelInRoomChecker);
19664
19664
  }, n.$$.update = () => {
19665
19665
  n.$$.dirty & /*labelWidth, labelHeight*/
19666
19666
  768 && e(17, i = { width: M, height: I }), n.$$.dirty & /*labelElementSize, createLabelInRoomChecker, room*/
@@ -19962,7 +19962,7 @@ function dI(n, t, e) {
19962
19962
  function L() {
19963
19963
  e(7, I = null);
19964
19964
  }
19965
- const O = (A, C, x) => uI(C, x, A.position), z = (A) => T(A), j = (A) => {
19965
+ const O = (A, C, x) => uI(C, x, A.position), z = (A) => T(A), _ = (A) => {
19966
19966
  e(5, w = A.detail);
19967
19967
  };
19968
19968
  return n.$$set = (A) => {
@@ -20011,7 +20011,7 @@ function dI(n, t, e) {
20011
20011
  i,
20012
20012
  O,
20013
20013
  z,
20014
- j
20014
+ _
20015
20015
  ];
20016
20016
  }
20017
20017
  class fI extends xe {
@@ -20753,7 +20753,7 @@ function AI(n) {
20753
20753
  };
20754
20754
  }
20755
20755
  function wI(n, t, e) {
20756
- let i, s, { five: r } = t, { visible: o } = t, { hoverEnable: a } = t, { floorplanData: l } = t, { cameraImageUrl: c } = t, { extraObjects: h = [] } = t, { highlightData: u } = t, { missingFloorImageUrl: d } = t, { missingFloorConfig: p } = t, { clickEnable: m = !0 } = t, { roomLabelsEnable: g = !1 } = t, { roomNameEnable: v = !0 } = t, { roomNameOtherTypeEnable: b = !0 } = t, { roomAreaEnable: w = !0 } = t, { adaptiveRoomLabelVisibleEnable: M = !0 } = t, { getRoomAreaText: I = ($) => ($ / 1e6).toFixed(1) + "㎡" } = t, { getLabelElement: T = void 0 } = t, { compassEnable: L = !1 } = t, { northDesc: O = "北" } = t, { compassHeight: z = 50 } = t, { observerDotSize: j = 12 } = t, { displayedFloorIndex: A } = t, { shouldShowRadar: C = !0 } = t, { cameraSize: x = 36 } = t, { cameraOffset: E = 28.5 } = t, { onFloorplanClick: S = void 0 } = t, { locale: k } = t, { styledFloorplanEnable: R = !1 } = t, B = 0, Z = 0, te = 0, Y = 0, J = 0;
20756
+ let i, s, { five: r } = t, { visible: o } = t, { hoverEnable: a } = t, { floorplanData: l } = t, { cameraImageUrl: c } = t, { extraObjects: h = [] } = t, { highlightData: u } = t, { missingFloorImageUrl: d } = t, { missingFloorConfig: p } = t, { clickEnable: m = !0 } = t, { roomLabelsEnable: g = !1 } = t, { roomNameEnable: v = !0 } = t, { roomNameOtherTypeEnable: b = !0 } = t, { roomAreaEnable: w = !0 } = t, { adaptiveRoomLabelVisibleEnable: M = !0 } = t, { getRoomAreaText: I = ($) => ($ / 1e6).toFixed(1) + "㎡" } = t, { getLabelElement: T = void 0 } = t, { compassEnable: L = !1 } = t, { northDesc: O = "北" } = t, { compassHeight: z = 50 } = t, { observerDotSize: _ = 12 } = t, { displayedFloorIndex: A } = t, { shouldShowRadar: C = !0 } = t, { cameraSize: x = 36 } = t, { cameraOffset: E = 28.5 } = t, { onFloorplanClick: S = void 0 } = t, { locale: k } = t, { styledFloorplanEnable: R = !1 } = t, B = 0, Z = 0, te = 0, Y = 0, J = 0;
20757
20757
  function se($) {
20758
20758
  if (!m || !S)
20759
20759
  return;
@@ -20771,7 +20771,7 @@ function wI(n, t, e) {
20771
20771
  e(28, te = $.detail);
20772
20772
  };
20773
20773
  return n.$$set = ($) => {
20774
- "five" in $ && e(0, r = $.five), "visible" in $ && e(1, o = $.visible), "hoverEnable" in $ && e(2, a = $.hoverEnable), "floorplanData" in $ && e(3, l = $.floorplanData), "cameraImageUrl" in $ && e(4, c = $.cameraImageUrl), "extraObjects" in $ && e(5, h = $.extraObjects), "highlightData" in $ && e(6, u = $.highlightData), "missingFloorImageUrl" in $ && e(7, d = $.missingFloorImageUrl), "missingFloorConfig" in $ && e(8, p = $.missingFloorConfig), "clickEnable" in $ && e(9, m = $.clickEnable), "roomLabelsEnable" in $ && e(10, g = $.roomLabelsEnable), "roomNameEnable" in $ && e(11, v = $.roomNameEnable), "roomNameOtherTypeEnable" in $ && e(12, b = $.roomNameOtherTypeEnable), "roomAreaEnable" in $ && e(13, w = $.roomAreaEnable), "adaptiveRoomLabelVisibleEnable" in $ && e(14, M = $.adaptiveRoomLabelVisibleEnable), "getRoomAreaText" in $ && e(15, I = $.getRoomAreaText), "getLabelElement" in $ && e(16, T = $.getLabelElement), "compassEnable" in $ && e(17, L = $.compassEnable), "northDesc" in $ && e(18, O = $.northDesc), "compassHeight" in $ && e(19, z = $.compassHeight), "observerDotSize" in $ && e(20, j = $.observerDotSize), "displayedFloorIndex" in $ && e(21, A = $.displayedFloorIndex), "shouldShowRadar" in $ && e(22, C = $.shouldShowRadar), "cameraSize" in $ && e(23, x = $.cameraSize), "cameraOffset" in $ && e(24, E = $.cameraOffset), "onFloorplanClick" in $ && e(35, S = $.onFloorplanClick), "locale" in $ && e(25, k = $.locale), "styledFloorplanEnable" in $ && e(26, R = $.styledFloorplanEnable);
20774
+ "five" in $ && e(0, r = $.five), "visible" in $ && e(1, o = $.visible), "hoverEnable" in $ && e(2, a = $.hoverEnable), "floorplanData" in $ && e(3, l = $.floorplanData), "cameraImageUrl" in $ && e(4, c = $.cameraImageUrl), "extraObjects" in $ && e(5, h = $.extraObjects), "highlightData" in $ && e(6, u = $.highlightData), "missingFloorImageUrl" in $ && e(7, d = $.missingFloorImageUrl), "missingFloorConfig" in $ && e(8, p = $.missingFloorConfig), "clickEnable" in $ && e(9, m = $.clickEnable), "roomLabelsEnable" in $ && e(10, g = $.roomLabelsEnable), "roomNameEnable" in $ && e(11, v = $.roomNameEnable), "roomNameOtherTypeEnable" in $ && e(12, b = $.roomNameOtherTypeEnable), "roomAreaEnable" in $ && e(13, w = $.roomAreaEnable), "adaptiveRoomLabelVisibleEnable" in $ && e(14, M = $.adaptiveRoomLabelVisibleEnable), "getRoomAreaText" in $ && e(15, I = $.getRoomAreaText), "getLabelElement" in $ && e(16, T = $.getLabelElement), "compassEnable" in $ && e(17, L = $.compassEnable), "northDesc" in $ && e(18, O = $.northDesc), "compassHeight" in $ && e(19, z = $.compassHeight), "observerDotSize" in $ && e(20, _ = $.observerDotSize), "displayedFloorIndex" in $ && e(21, A = $.displayedFloorIndex), "shouldShowRadar" in $ && e(22, C = $.shouldShowRadar), "cameraSize" in $ && e(23, x = $.cameraSize), "cameraOffset" in $ && e(24, E = $.cameraOffset), "onFloorplanClick" in $ && e(35, S = $.onFloorplanClick), "locale" in $ && e(25, k = $.locale), "styledFloorplanEnable" in $ && e(26, R = $.styledFloorplanEnable);
20775
20775
  }, n.$$.update = () => {
20776
20776
  var $, me;
20777
20777
  if (n.$$.dirty[0] & /*styledFloorplanEnable, floorplanData, displayedFloorIndex*/
@@ -20805,7 +20805,7 @@ function wI(n, t, e) {
20805
20805
  L,
20806
20806
  O,
20807
20807
  z,
20808
- j,
20808
+ _,
20809
20809
  A,
20810
20810
  C,
20811
20811
  x,
@@ -20947,7 +20947,7 @@ let CI = class extends bn {
20947
20947
  highlightEnable: !1,
20948
20948
  cameraImageUrl: Pu,
20949
20949
  missingFloorImageUrl: Zi(i == null ? void 0 : i.staticPrefix, ws),
20950
- missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i == null ? void 0 : i.missingFloorConfig),
20950
+ missingFloorConfig: j(j({}, this.defaultMissingFloorConfig), i == null ? void 0 : i.missingFloorConfig),
20951
20951
  clickEnable: !0,
20952
20952
  roomLabelsEnable: !1,
20953
20953
  roomNameEnable: !0,
@@ -20963,7 +20963,7 @@ let CI = class extends bn {
20963
20963
  cameraSize: 36,
20964
20964
  cameraOffset: 28.5,
20965
20965
  i18n: (i == null ? void 0 : i.i18n) || ((c) => c)
20966
- }, r = _(_({}, s), i == null ? void 0 : i.configs);
20966
+ }, r = j(j({}, s), i == null ? void 0 : i.configs);
20967
20967
  this.state = { enabled: !0, visible: !0, config: r }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose), e.on("panoArrived", this.handlePanoArrived);
20968
20968
  }
20969
20969
  load(e, i, s = !0) {
@@ -21063,8 +21063,8 @@ let CI = class extends bn {
21063
21063
  }
21064
21064
  updateState(e, i) {
21065
21065
  var a;
21066
- const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(_(_({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
21067
- this.state = oe(_(_({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
21066
+ const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? j(j({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? oe(j(j({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
21067
+ this.state = oe(j(j({}, this.state), e), { config: o }), !Jt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
21068
21068
  }
21069
21069
  render() {
21070
21070
  var o, a;
@@ -21076,7 +21076,7 @@ let CI = class extends bn {
21076
21076
  }
21077
21077
  if (!this.data || !this.wrapper)
21078
21078
  return;
21079
- const e = (a = (o = this.five.work.observers[this.five.getCurrentState().panoIndex]) == null ? void 0 : o.floorIndex) != null ? a : 0, i = this.state.displayedFloorIndex !== void 0 ? this.state.displayedFloorIndex : e, s = i === e, r = oe(_({}, this.state.config), {
21079
+ const e = (a = (o = this.five.work.observers[this.five.getCurrentState().panoIndex]) == null ? void 0 : o.floorIndex) != null ? a : 0, i = this.state.displayedFloorIndex !== void 0 ? this.state.displayedFloorIndex : e, s = i === e, r = oe(j({}, this.state.config), {
21080
21080
  five: this.five,
21081
21081
  floorplanData: this.data,
21082
21082
  visible: this.state.visible,
@@ -21204,7 +21204,7 @@ function db(n, t) {
21204
21204
  n.traverse((e) => {
21205
21205
  var i;
21206
21206
  if (e.type === "Mesh") {
21207
- const s = e, r = _({ map: s.material.map || {} }, t);
21207
+ const s = e, r = j({ map: s.material.map || {} }, t);
21208
21208
  s.material = new fa(r), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
21209
21209
  }
21210
21210
  });
@@ -21568,34 +21568,34 @@ var zm = fb.Zlib, gb = {
21568
21568
  l[0][0] = 1;
21569
21569
  for (var c = r.slice(0), h = r.slice(0), u = 1; u <= e; ++u) {
21570
21570
  c[u] = t - s[n + 1 - u], h[u] = s[n + u] - t;
21571
- for (var d = 0, j = 0; j < u; ++j) {
21572
- var p = h[j + 1], m = c[u - j];
21573
- l[u][j] = p + m;
21574
- var g = l[j][u - 1] / l[u][j];
21575
- l[j][u] = d + p * g, d = m * g;
21571
+ for (var d = 0, _ = 0; _ < u; ++_) {
21572
+ var p = h[_ + 1], m = c[u - _];
21573
+ l[u][_] = p + m;
21574
+ var g = l[_][u - 1] / l[u][_];
21575
+ l[_][u] = d + p * g, d = m * g;
21576
21576
  }
21577
21577
  l[u][u] = d;
21578
21578
  }
21579
21579
  for (var u = 0; u <= e; ++u)
21580
21580
  a[0][u] = l[u][e];
21581
- for (var j = 0; j <= e; ++j) {
21581
+ for (var _ = 0; _ <= e; ++_) {
21582
21582
  for (var v = 0, b = 1, w = [], o = 0; o <= e; ++o)
21583
21583
  w[o] = r.slice(0);
21584
21584
  w[0][0] = 1;
21585
21585
  for (var M = 1; M <= i; ++M) {
21586
- var I = 0, T = j - M, L = e - M;
21587
- j >= M && (w[b][0] = w[v][0] / l[L + 1][T], I = w[b][0] * l[T][L]);
21588
- for (var O = T >= -1 ? 1 : -T, z = j - 1 <= L ? M - 1 : e - j, u = O; u <= z; ++u)
21586
+ var I = 0, T = _ - M, L = e - M;
21587
+ _ >= M && (w[b][0] = w[v][0] / l[L + 1][T], I = w[b][0] * l[T][L]);
21588
+ for (var O = T >= -1 ? 1 : -T, z = _ - 1 <= L ? M - 1 : e - _, u = O; u <= z; ++u)
21589
21589
  w[b][u] = (w[v][u] - w[v][u - 1]) / l[L + 1][T + u], I += w[b][u] * l[T + u][L];
21590
- j <= L && (w[b][M] = -w[v][M - 1] / l[L + 1][j], I += w[b][M] * l[j][L]), a[M][j] = I;
21590
+ _ <= L && (w[b][M] = -w[v][M - 1] / l[L + 1][_], I += w[b][M] * l[_][L]), a[M][_] = I;
21591
21591
  var u = v;
21592
21592
  v = b, b = u;
21593
21593
  }
21594
21594
  }
21595
- for (var j = e, M = 1; M <= i; ++M) {
21595
+ for (var _ = e, M = 1; M <= i; ++M) {
21596
21596
  for (var u = 0; u <= e; ++u)
21597
- a[M][u] *= j;
21598
- j *= e - M;
21597
+ a[M][u] *= _;
21598
+ _ *= e - M;
21599
21599
  }
21600
21600
  return a;
21601
21601
  },
@@ -22741,7 +22741,7 @@ var vb = function() {
22741
22741
  if (S >= 180) {
22742
22742
  for (var k = S / 180, R = E / k, B = x + R, Z = A.times[C - 1], te = A.times[C] - Z, Y = te / k, J = Z + Y, se = [], re = []; J < A.times[C]; )
22743
22743
  se.push(J), J += Y, re.push(B), B += R;
22744
- A.times = j(A.times, C, se), A.values = j(A.values, C, re);
22744
+ A.times = _(A.times, C, se), A.values = _(A.values, C, re);
22745
22745
  }
22746
22746
  }
22747
22747
  }
@@ -23193,7 +23193,7 @@ var vb = function() {
23193
23193
  A[k] = C[S];
23194
23194
  return A;
23195
23195
  }
23196
- function j(A, C, x) {
23196
+ function _(A, C, x) {
23197
23197
  return A.slice(0, C).concat(x).concat(A.slice(C));
23198
23198
  }
23199
23199
  return i;
@@ -23245,9 +23245,9 @@ const vj = (n, t) => {
23245
23245
  return;
23246
23246
  const b = n.model.bounding, w = b.max.x - b.min.x, M = b.max.z - b.min.z, I = Math.max(w, M), {
23247
23247
  max: { x: T, z: L },
23248
- min: { x: O, y: z, z: j }
23248
+ min: { x: O, y: z, z: _ }
23249
23249
  } = b;
23250
- s.yBase = z, r = { x: (T + O) / 2, y: z - 1.6, z: (L + j) / 2 }, o = [0, l - Math.PI / 2, 0], a = 45e-4 * I, MI(v, { position: r, rotation: o, scale: a });
23250
+ s.yBase = z, r = { x: (T + O) / 2, y: z - 1.6, z: (L + _) / 2 }, o = [0, l - Math.PI / 2, 0], a = 45e-4 * I, MI(v, { position: r, rotation: o, scale: a });
23251
23251
  }
23252
23252
  return { load: c, disable: p, enable: d };
23253
23253
  };
@@ -23273,8 +23273,8 @@ const kI = ({ x: n, y: t, z: e }) => new pe(n, t, e), yj = (n, t) => {
23273
23273
  const z = (R = (k = (S = (E = O.children) == null ? void 0 : E[0]) == null ? void 0 : S.children) == null ? void 0 : k[3]) == null ? void 0 : R.clone();
23274
23274
  if (!z)
23275
23275
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${z}`));
23276
- const j = (B = t.name) != null ? B : "入户门";
23277
- return z.material = new fa({ transparent: !0, map: SI(j) }), z.renderOrder = 3, O.children[0].add(z), e.object = O, !0;
23276
+ const _ = (B = t.name) != null ? B : "入户门";
23277
+ return z.material = new fa({ transparent: !0, map: SI(_) }), z.renderOrder = 3, O.children[0].add(z), e.object = O, !0;
23278
23278
  }), c = () => {
23279
23279
  if (e.animation)
23280
23280
  return;
@@ -23295,14 +23295,14 @@ const kI = ({ x: n, y: t, z: e }) => new pe(n, t, e), yj = (n, t) => {
23295
23295
  return A = requestAnimationFrame(E), () => {
23296
23296
  cancelAnimationFrame(A);
23297
23297
  };
23298
- }, j = { play: () => {
23298
+ }, _ = { play: () => {
23299
23299
  T || (I.play(), T = L(), requestAnimationFrame(() => {
23300
23300
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
23301
23301
  }));
23302
23302
  }, stop: () => {
23303
23303
  I.stop(), T == null || T(), T = void 0;
23304
23304
  } };
23305
- e.animation = j;
23305
+ e.animation = _;
23306
23306
  }, h = (w) => {
23307
23307
  var I;
23308
23308
  if (!e.object)
@@ -23354,7 +23354,7 @@ const Iu = (n, t, e) => {
23354
23354
  const t = {}, e = (l, c, ...h) => K(void 0, [l, c, ...h], function* (r, o, a = { preload: !0 }) {
23355
23355
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), r.mode && r.mode !== n.currentMode && (yield n.changeMode(r.mode)), a.preload && r.panoIndex !== void 0 && r.panoIndex !== n.panoIndex && (yield n.preloadPano(r.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), r.panoIndex === void 0 && r.fov === void 0 && r.latitude === void 0 && r.longitude === void 0 ? !0 : yield new Promise((u, d) => {
23356
23356
  const p = r.panoIndex !== void 0 ? r.panoIndex : n.panoIndex;
23357
- p !== void 0 ? n.moveToPano(p, _({
23357
+ p !== void 0 ? n.moveToPano(p, j({
23358
23358
  duration: o,
23359
23359
  // 移动耗时
23360
23360
  moveEndCallback: () => u(!0),
@@ -23596,7 +23596,7 @@ const _I = `<style type="text/css">
23596
23596
  const T = v[I], L = (M = w.observers[0]) == null ? void 0 : M.standingPosition;
23597
23597
  if (!L)
23598
23598
  return;
23599
- const O = T.map(({ x: z, z: j, observers: A }) => {
23599
+ const O = T.map(({ x: z, z: _, observers: A }) => {
23600
23600
  const C = A.length > 0 ? g.rooms[g.observers[A[0]]].name : "", x = b[C] ? b[C].floor : null;
23601
23601
  let E = 1 / 0, S = {
23602
23602
  index: 0,
@@ -23612,28 +23612,28 @@ const _I = `<style type="text/css">
23612
23612
  x: J.x,
23613
23613
  y: J.y,
23614
23614
  z: J.z
23615
- }, re = jI({ x: z, z: j }, se);
23615
+ }, re = jI({ x: z, z: _ }, se);
23616
23616
  x ? re < E && Math.abs(se.y - x) < 0.3 && (E = re, S = se) : re < E && (E = re, S = se);
23617
23617
  });
23618
- const k = new pe(z, S.y, j);
23618
+ const k = new pe(z, S.y, _);
23619
23619
  Object.assign(k, { observers: A });
23620
- const R = b[C] ? b[C].roof : null, B = R ? new pe(z, R, j) : null;
23620
+ const R = b[C] ? b[C].roof : null, B = R ? new pe(z, R, _) : null;
23621
23621
  return B && Object.assign(B, { observers: A }), { origin: k, vertical: B };
23622
23622
  });
23623
23623
  o[I] = {
23624
23624
  origins: O.map((z) => z.origin),
23625
23625
  rules: []
23626
23626
  };
23627
- for (const { origin: z, vertical: j } of O) {
23628
- if (!j)
23627
+ for (const { origin: z, vertical: _ } of O) {
23628
+ if (!_)
23629
23629
  continue;
23630
- const A = i(I, z.distanceTo(j));
23631
- s.append(A), o[I].rules.push({ vertical: !0, rule: [z, j], $element: A });
23630
+ const A = i(I, z.distanceTo(_));
23631
+ s.append(A), o[I].rules.push({ vertical: !0, rule: [z, _], $element: A });
23632
23632
  }
23633
23633
  for (let z = 0; z < O.length; z++) {
23634
- let j = z + 1;
23635
- j >= O.length && (j = 0);
23636
- const { origin: A } = O[z], { origin: C } = O[j], x = i(I, A.distanceTo(C));
23634
+ let _ = z + 1;
23635
+ _ >= O.length && (_ = 0);
23636
+ const { origin: A } = O[z], { origin: C } = O[_], x = i(I, A.distanceTo(C));
23637
23637
  s.append(x), o[I].rules.push({ vertical: !1, rule: [A, C], $element: x });
23638
23638
  }
23639
23639
  }
@@ -23642,7 +23642,7 @@ const _I = `<style type="text/css">
23642
23642
  const w = g || t.roomInfo, M = v || t.roomRules;
23643
23643
  if (!w || !M)
23644
23644
  throw new Error("标尺数据依赖不齐全!");
23645
- return e.loaded = !1, e.options = _(_({}, e.options), b || {}), n.model.loaded ? a(w, M) : yield new Promise((I) => n.once("modelLoaded", () => I(a(w, M))));
23645
+ return e.loaded = !1, e.options = j(j({}, e.options), b || {}), n.model.loaded ? a(w, M) : yield new Promise((I) => n.once("modelLoaded", () => I(a(w, M))));
23646
23646
  });
23647
23647
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
23648
23648
  const c = (g, v, b, w) => {
@@ -23670,8 +23670,8 @@ const _I = `<style type="text/css">
23670
23670
  }
23671
23671
  return I.length === 0 ? !1 : I;
23672
23672
  }, h = () => {
23673
- var j;
23674
- const g = (j = n.getElement()) == null ? void 0 : j.parentElement;
23673
+ var _;
23674
+ const g = (_ = n.getElement()) == null ? void 0 : _.parentElement;
23675
23675
  if (!g || !e.loaded || Object.keys(o).length <= 0)
23676
23676
  return;
23677
23677
  const { panoIndex: v, camera: b, currentMode: w } = n;
@@ -24088,18 +24088,18 @@ function QI(n, t, e) {
24088
24088
  }
24089
24089
  return L.length === 0 ? !1 : L;
24090
24090
  }, h = (M, I) => {
24091
- const T = M.clone().project(i.camera), L = (T.x + 1) / 2 * a, O = (-T.y + 1) / 2 * l, z = I.clone().project(i.camera), j = (z.x + 1) / 2 * a, A = (-z.y + 1) / 2 * l, C = Math.sqrt(Math.pow(j - L, 2) + Math.pow(A - O, 2));
24091
+ const T = M.clone().project(i.camera), L = (T.x + 1) / 2 * a, O = (-T.y + 1) / 2 * l, z = I.clone().project(i.camera), _ = (z.x + 1) / 2 * a, A = (-z.y + 1) / 2 * l, C = Math.sqrt(Math.pow(_ - L, 2) + Math.pow(A - O, 2));
24092
24092
  return {
24093
24093
  startLeft: L,
24094
24094
  startTop: O,
24095
- endLeft: j,
24095
+ endLeft: _,
24096
24096
  endTop: A,
24097
24097
  distance: C
24098
24098
  };
24099
24099
  }, u = (M, I, T) => {
24100
- const L = i.camera.position, O = i.camera.getWorldDirection(new pe()), z = M.clone().sub(L).normalize().angleTo(O), j = I.clone().sub(L).normalize().angleTo(O), A = M.distanceTo(I), x = I.clone().sub(I.clone().sub(M).divide(new pe(2, 2, 2))).distanceTo(L), { startLeft: E, startTop: S, endLeft: k, endTop: R, distance: B } = h(M, I), te = -((Math.PI / 2 - Math.atan2(k - E, S - R)) / Math.PI) * 180;
24100
+ const L = i.camera.position, O = i.camera.getWorldDirection(new pe()), z = M.clone().sub(L).normalize().angleTo(O), _ = I.clone().sub(L).normalize().angleTo(O), A = M.distanceTo(I), x = I.clone().sub(I.clone().sub(M).divide(new pe(2, 2, 2))).distanceTo(L), { startLeft: E, startTop: S, endLeft: k, endTop: R, distance: B } = h(M, I), te = -((Math.PI / 2 - Math.atan2(k - E, S - R)) / Math.PI) * 180;
24101
24101
  let Y = !0;
24102
- T || (Y = !1), !Jt(M, T) && !Jt(I, T) && (Y = !1), A < 0.3 && (Y = !1), z > Math.PI / 2 && (Y = !1), j > Math.PI / 2 && (Y = !1), x / A > 8 && (Y = !1);
24102
+ T || (Y = !1), !Jt(M, T) && !Jt(I, T) && (Y = !1), A < 0.3 && (Y = !1), z > Math.PI / 2 && (Y = !1), _ > Math.PI / 2 && (Y = !1), x / A > 8 && (Y = !1);
24103
24103
  let J = 50, se = B;
24104
24104
  const re = c({ x: ~~E, y: ~~S }, { x: ~~k, y: ~~R });
24105
24105
  if (re && re.length === 1 && (Jt(M, T) ? (se = Math.sqrt(Math.pow(re[0].x - E, 2) + Math.pow(re[0].y - S, 2)), J = se / B * 50) : Jt(I, T) && (se = Math.sqrt(Math.pow(re[0].x - k, 2) + Math.pow(re[0].y - R, 2)), J = 100 - se / B * 50)), re && re.length === 2) {
@@ -24124,12 +24124,12 @@ function QI(n, t, e) {
24124
24124
  return e(0, o = []);
24125
24125
  if (i.currentMode !== Zt.Mode.Panorama)
24126
24126
  return e(0, o = []);
24127
- const T = i.camera.position, L = i.camera.getWorldDirection(new pe()), O = I.lines.map((C) => new pe(C.start[0], -C.start[1], -C.start[2])), z = I.lines.map((C) => new pe(C.end[0], -C.end[1], -C.end[2])), [j] = O.concat(z).sort((C, x) => {
24127
+ const T = i.camera.position, L = i.camera.getWorldDirection(new pe()), O = I.lines.map((C) => new pe(C.start[0], -C.start[1], -C.start[2])), z = I.lines.map((C) => new pe(C.end[0], -C.end[1], -C.end[2])), [_] = O.concat(z).sort((C, x) => {
24128
24128
  const E = C.clone().setY(0).sub(T).normalize().angleTo(L.clone().setY(0)), S = x.clone().setY(0).sub(T).normalize().angleTo(L.clone().setY(0));
24129
24129
  return E - S;
24130
24130
  }), A = I.lines.map((C) => {
24131
24131
  var se, re;
24132
- const x = C.start, E = C.end, { startLeft: S, startTop: k, distance: R, deg: B, visible: Z, labelOffset: te, ruleLength: Y } = u(new pe(x[0], -x[1], -x[2]), new pe(E[0], -E[1], -E[2]), j), J = [];
24132
+ const x = C.start, E = C.end, { startLeft: S, startTop: k, distance: R, deg: B, visible: Z, labelOffset: te, ruleLength: Y } = u(new pe(x[0], -x[1], -x[2]), new pe(E[0], -E[1], -E[2]), _), J = [];
24133
24133
  return C.children && ((se = C.children) == null ? void 0 : se.length) > 0 && ((re = C.children) == null || re.forEach((Se) => {
24134
24134
  const $ = Se.start, me = Se.end, { distance: ae } = h(new pe($[0], -$[1], -$[2]), new pe(me[0], -me[1], -me[2]));
24135
24135
  J.push({ width: ae, state: Se.state });
@@ -24178,7 +24178,7 @@ let YI = class {
24178
24178
  this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
24179
24179
  "style",
24180
24180
  "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
24181
- ), e && (e.data && this.load(e.data), this.state.options = _(_({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => K(this, null, function* () {
24181
+ ), e && (e.data && this.load(e.data), this.state.options = j(j({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => K(this, null, function* () {
24182
24182
  var r, o;
24183
24183
  (o = (r = this.five.getElement()) == null ? void 0 : r.parentNode) == null || o.append(this.container);
24184
24184
  })), this.five.once("dispose", () => this.dispose());
@@ -24375,7 +24375,7 @@ class KI extends bn {
24375
24375
  this.five.scene.add(this.group), this.five.once("dispose", this.dispose), this.setState({
24376
24376
  visible: !0,
24377
24377
  enabled: !0,
24378
- config: _(_({}, this.state.config), i || {})
24378
+ config: j(j({}, this.state.config), i || {})
24379
24379
  });
24380
24380
  }
24381
24381
  /**
@@ -24438,7 +24438,7 @@ class KI extends bn {
24438
24438
  this.state = {
24439
24439
  visible: (r = e.visible) != null ? r : s.visible,
24440
24440
  enabled: (o = e.enabled) != null ? o : s.enabled,
24441
- config: _(_({}, s.config), e.config || {})
24441
+ config: j(j({}, s.config), e.config || {})
24442
24442
  }, this.hooks.emit("stateChange", {
24443
24443
  state: this.state,
24444
24444
  prevState: s,
@@ -24448,7 +24448,7 @@ class KI extends bn {
24448
24448
  load(e, i, s = !0) {
24449
24449
  return K(this, null, function* () {
24450
24450
  const r = yield this.formatData(e);
24451
- JSON.stringify(this.data) !== JSON.stringify(r) && (this.hooks.emit("dataChange", r, this.data), this.data = _({}, r), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
24451
+ JSON.stringify(this.data) !== JSON.stringify(r) && (this.hooks.emit("dataChange", r, this.data), this.data = j({}, r), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
24452
24452
  });
24453
24453
  }
24454
24454
  formatData(e) {
@@ -24624,7 +24624,7 @@ class Cb {
24624
24624
  class fx extends Cb {
24625
24625
  constructor(e) {
24626
24626
  var i;
24627
- e.contentStyle = oe(_({}, e.contentStyle), {
24627
+ e.contentStyle = oe(j({}, e.contentStyle), {
24628
24628
  background: "#FFFFFF",
24629
24629
  color: "#041066",
24630
24630
  fontFamily: "Arial-BoldMT",
@@ -24643,6 +24643,7 @@ class fx extends Cb {
24643
24643
  f(this, "modelOcclusion", !1);
24644
24644
  f(this, "raycaster", new xs());
24645
24645
  f(this, "line");
24646
+ f(this, "lastVisibleAngle");
24646
24647
  f(this, "lastFOV");
24647
24648
  f(this, "cameraUpdateHandler", null);
24648
24649
  f(this, "onPanoChange", () => {
@@ -24702,8 +24703,11 @@ class fx extends Cb {
24702
24703
  }
24703
24704
  return this;
24704
24705
  }
24706
+ hide() {
24707
+ this.lastVisibleAngle = void 0, super.hide();
24708
+ }
24705
24709
  remove() {
24706
- if (this.cameraUpdateHandler) {
24710
+ if (this.lastVisibleAngle = void 0, this.cameraUpdateHandler) {
24707
24711
  const e = this.getFiveInstance();
24708
24712
  e && (e.off("cameraUpdate", this.cameraUpdateHandler), e.off("cameraFovUpdate", this.cameraUpdateHandler), e.off("panoArrived", this.onPanoChange)), this.cameraUpdateHandler = null;
24709
24713
  }
@@ -24718,7 +24722,7 @@ class fx extends Cb {
24718
24722
  return a != null ? a : s.toFixed(2) + "m";
24719
24723
  }
24720
24724
  update(e) {
24721
- var x;
24725
+ var S, k;
24722
24726
  if (this.line.mesh.visible === !1) {
24723
24727
  this.hide();
24724
24728
  return;
@@ -24729,17 +24733,19 @@ class fx extends Cb {
24729
24733
  const s = i.clientWidth, r = i.clientHeight, o = s / 2, a = r / 2;
24730
24734
  if (this.line.points.length < 2)
24731
24735
  return;
24732
- const [l, c] = this.line.points.map((E) => E.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), d = kt(l, c), p = d.clone().project(e.camera), m = new Ut(h.x * o, h.y * a), g = new Ut(u.x * o, u.y * a), v = m.distanceTo(g);
24736
+ const [l, c] = this.line.points.map((R) => R.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), d = kt(l, c), p = d.clone().project(e.camera), m = new Ut(h.x * o, h.y * a), g = new Ut(u.x * o, u.y * a), v = m.distanceTo(g);
24733
24737
  if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !jl(h) && !jl(u) || !jl(p) || v === 0))() === !1 || this.modelOcclusion && this.isOccluded(e, d)) {
24734
24738
  this.hide();
24735
24739
  return;
24736
24740
  }
24737
24741
  const w = d.distanceTo(e.camera.position), M = e.camera.fov || 60, I = 2 * Math.tan(0.5 * M / 180 * Math.PI), T = Math.max(Math.min(1 - I * w / 40, 1), 0);
24738
24742
  this.contentDom.style.setProperty("--distance-scale", T.toString());
24739
- const L = (p.x + 1) / 2 * s, O = -(p.y - 1) / 2 * r, j = -(Math.atan((m.y - g.y) / (m.x - g.x)) * 180) / Math.PI, A = this.containerDom.parentElement && this.contentDom.clientWidth > v ? -20 : 0;
24740
- this.containerDom.style.transform = `translate(${L}px, ${O}px) rotate(${j}deg) translateY(${A}px)`, this.show(), (x = this.params.userDistanceItem) == null || x.update({ line: this.line, polyline: this.line.getPolyline() });
24741
- const C = this.getCurrentContent();
24742
- this.contentDom.innerText = C;
24743
+ const L = (p.x + 1) / 2 * s, O = -(p.y - 1) / 2 * r, _ = -(Math.atan((m.y - g.y) / (m.x - g.x)) * 180) / Math.PI, A = Math.round((((S = this.lastVisibleAngle) != null ? S : _) - _) / 180), C = _ + A * 180;
24744
+ this.lastVisibleAngle = C;
24745
+ const x = this.containerDom.parentElement && this.contentDom.clientWidth > v ? -20 : 0;
24746
+ this.containerDom.style.transform = `translate(${L}px, ${O}px) rotate(${C}deg) translateY(${x}px)`, this.show(), (k = this.params.userDistanceItem) == null || k.update({ line: this.line, polyline: this.line.getPolyline() });
24747
+ const E = this.getCurrentContent();
24748
+ this.contentDom.innerText = E;
24743
24749
  }
24744
24750
  isOccluded(e, i) {
24745
24751
  if (!e.model.loaded)
@@ -24882,8 +24888,8 @@ let Uc = class {
24882
24888
  });
24883
24889
  });
24884
24890
  var i, s, r;
24885
- this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = oe(_({}, t.pointSelectorConfig), {
24886
- helper: _({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
24891
+ this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = oe(j({}, t.pointSelectorConfig), {
24892
+ helper: j({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
24887
24893
  }), this.container = t.container, this.isMobile = (r = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? r : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new pr(new Pi([0, 0, 0]), new Pi([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new pr(new Pi([0, 0, 0]), new Pi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new _t(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
24888
24894
  const e = this.five.getElement();
24889
24895
  e && (e.addEventListener("touchstart", gl), e.addEventListener("contextmenu", gl));
@@ -25062,9 +25068,9 @@ let Ib = class extends Ii {
25062
25068
  };
25063
25069
  class mx extends Cb {
25064
25070
  constructor(e) {
25065
- e.containerStyle = oe(_({}, e.containerStyle), {
25071
+ e.containerStyle = oe(j({}, e.containerStyle), {
25066
25072
  zIndex: "1"
25067
- }), e.contentStyle = oe(_({}, e.contentStyle), {
25073
+ }), e.contentStyle = oe(j({}, e.contentStyle), {
25068
25074
  background: "#6386FF",
25069
25075
  borderRadius: "2px"
25070
25076
  });
@@ -25527,9 +25533,9 @@ class Vi extends Uc {
25527
25533
  this.currentMeasureType === "area" ? (this.deleteArea(this.area), this.area = new Fl(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : (this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), this.polyline.lines.forEach((e) => this.removeLine(e)), this.model.removePolyline(this.polyline), this.polyline = new rr({ model: this.model }), this.model.addPolyline(this.polyline), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged)), this.lastPoint = null, this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.hook.emit("pointsChange", []), this.five.needsRender = !0;
25528
25534
  }
25529
25535
  createPointSelector(e) {
25530
- return new Fa(this.five, oe(_({}, this.pointSelectorConfig), {
25536
+ return new Fa(this.five, oe(j({}, this.pointSelectorConfig), {
25531
25537
  mode: this.editParams.pointSelectorMode,
25532
- helper: _({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
25538
+ helper: j({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
25533
25539
  }));
25534
25540
  }
25535
25541
  setMagnifierEnabled(e) {
@@ -25980,7 +25986,7 @@ class kb {
25980
25986
  const { left: e, top: i, width: s, height: r } = t.getBoundingClientRect(), o = Math.round(e + s / 2), a = Math.round(i + r / 2), c = jy({ x: o, y: a }, this.five.getElement());
25981
25987
  this.centerMouseXY = c;
25982
25988
  });
25983
- this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = Sb(_({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = x3, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new Zr(
25989
+ this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = Sb(j({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = x3, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new Zr(
25984
25990
  new d2(0.04, 0.08, 32),
25985
25991
  new fa({ color: 1245179, opacity: 0, side: z1, transparent: !0 })
25986
25992
  ), this.container.addEventListener("animationend", this.computedCenterMouseXY), this.five.on("cameraUpdate", this.onCameraDirectionUpdate), this.hook.on("willChangeState", this.onWillChangeState);
@@ -27690,7 +27696,7 @@ function aS(n, t, e) {
27690
27696
  }), Xt(() => {
27691
27697
  i.hook.off("measureTypeChange", L), i.hook.off("modeChange", I), i.hook.off("allowAddPointStateChange", T), i.hook.off("readyComplete", b), i.hook.off("pointsChange", M), i.hook.off("notReadyComplete", w), i.hook.off("complete", I);
27692
27698
  });
27693
- const z = () => i.revoke(), j = () => {
27699
+ const z = () => i.revoke(), _ = () => {
27694
27700
  h === "start" ? d() : h === "add" ? p() : (h === "end" || h === "complete") && v();
27695
27701
  };
27696
27702
  return n.$$set = (A) => {
@@ -27713,7 +27719,7 @@ function aS(n, t, e) {
27713
27719
  v,
27714
27720
  u,
27715
27721
  z,
27716
- j
27722
+ _
27717
27723
  ];
27718
27724
  }
27719
27725
  class lS extends xe {
@@ -28111,7 +28117,7 @@ class jb extends Ds {
28111
28117
  ), this.allowMeasureType = Array.from(new Set((p = (d = i.editParams) == null ? void 0 : d.allowMeasureType) != null ? p : ["line"])), this.currentMeasureType = (m = this.allowMeasureType[0]) != null ? m : "line", this.group = new Fn(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0", this.container.style.zIndex = "1";
28112
28118
  const s = (v = (g = i.editParams) == null ? void 0 : g.pointSelectorMode) != null ? v : Tc ? "fixed" : "cursor", r = (b = this.params.openParams) != null ? b : {};
28113
28119
  if (this.params.useUIController !== !1) {
28114
- const w = _({
28120
+ const w = j({
28115
28121
  container: this.container,
28116
28122
  openParams: r,
28117
28123
  i18n: i.i18n,
@@ -28121,7 +28127,7 @@ class jb extends Ds {
28121
28127
  this.useUIController = new cS(this, w);
28122
28128
  }
28123
28129
  if (this.params.useGuideController !== !1) {
28124
- const w = _({
28130
+ const w = j({
28125
28131
  container: this.container,
28126
28132
  pointSelectorMode: s,
28127
28133
  i18n: i.i18n
@@ -28169,7 +28175,7 @@ class jb extends Ds {
28169
28175
  e.list && (i = {
28170
28176
  polylines: e.list.map((r) => r.polyline).map((r) => {
28171
28177
  var o;
28172
- return oe(_({}, r), {
28178
+ return oe(j({}, r), {
28173
28179
  visibleFiveMode: (o = r.visibleFiveMode) != null ? o : ["Panorama"]
28174
28180
  });
28175
28181
  })
@@ -28283,7 +28289,7 @@ class jb extends Ds {
28283
28289
  pointSelectorConfig: this.params.pointSelectorConfig,
28284
28290
  magnifierParams: this.params.magnifierParams,
28285
28291
  getMeasureType: () => this.currentMeasureType,
28286
- mouseGroup: Sb(_({}, e.crossHairParameter)),
28292
+ mouseGroup: Sb(j({}, e.crossHairParameter)),
28287
28293
  userDistanceItemCreator: this.params.userDistanceItemCreator
28288
28294
  };
28289
28295
  }
@@ -28328,11 +28334,11 @@ class vn extends Ii {
28328
28334
  size: (d = e == null ? void 0 : e.size) != null ? d : 8,
28329
28335
  map: hg || (hg = new y.TextureLoader().load(yS)),
28330
28336
  sizeAttenuation: !1
28331
- }, a = new y.PointsMaterial(oe(_({}, o), {
28337
+ }, a = new y.PointsMaterial(oe(j({}, o), {
28332
28338
  color: (p = e == null ? void 0 : e.color) != null ? p : 16777215,
28333
28339
  depthTest: !0,
28334
28340
  opacity: (m = e == null ? void 0 : e.opacity) != null ? m : 1
28335
- })), l = new y.PointsMaterial(oe(_({}, o), {
28341
+ })), l = new y.PointsMaterial(oe(j({}, o), {
28336
28342
  size: a.size,
28337
28343
  color: a.color,
28338
28344
  depthWrite: !1,
@@ -28397,10 +28403,10 @@ class xa extends Ci {
28397
28403
  f(this, "pointGroup", new Ii());
28398
28404
  f(this, "_paramsStyle");
28399
28405
  f(this, "setStyle", (e) => {
28400
- super.setStyle(e), this._paramsStyle = _(_({}, this._paramsStyle), e), this.pointMeshes.forEach(
28406
+ super.setStyle(e), this._paramsStyle = j(j({}, this._paramsStyle), e), this.pointMeshes.forEach(
28401
28407
  (i) => {
28402
28408
  var s, r, o;
28403
- return i.setStyle(oe(_({}, this._paramsStyle), { color: (o = (s = this._paramsStyle) == null ? void 0 : s.pointColor) != null ? o : (r = this._paramsStyle) == null ? void 0 : r.lineColor, tip: void 0 }));
28409
+ return i.setStyle(oe(j({}, this._paramsStyle), { color: (o = (s = this._paramsStyle) == null ? void 0 : s.pointColor) != null ? o : (r = this._paramsStyle) == null ? void 0 : r.lineColor, tip: void 0 }));
28404
28410
  }
28405
28411
  ), this.updateEdgePointsVisibility(), this.needsRender = !0;
28406
28412
  });
@@ -28433,7 +28439,7 @@ class xa extends Ci {
28433
28439
  const i = e.map(Fe).filter(Ge);
28434
28440
  this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
28435
28441
  var o, a, l;
28436
- const r = new vn(oe(_({}, this.style), {
28442
+ const r = new vn(oe(j({}, this.style), {
28437
28443
  color: (l = (o = this._paramsStyle) == null ? void 0 : o.pointColor) != null ? l : (a = this._paramsStyle) == null ? void 0 : a.lineColor,
28438
28444
  tip: void 0
28439
28445
  }));
@@ -28499,7 +28505,7 @@ class Xc extends Ii {
28499
28505
  return this._geometry;
28500
28506
  }
28501
28507
  setStyle(e) {
28502
- this.paramsStyle = _(_({}, this.paramsStyle), e), Ge(e.color) && (this.meshFont.material.color.set(new y.Color(e.color).convertSRGBToLinear()), this.needsRender = !0), Ge(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
28508
+ this.paramsStyle = j(j({}, this.paramsStyle), e), Ge(e.color) && (this.meshFont.material.color.set(new y.Color(e.color).convertSRGBToLinear()), this.needsRender = !0), Ge(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
28503
28509
  }
28504
28510
  highlight(e) {
28505
28511
  var i, s;
@@ -28552,7 +28558,7 @@ class Co extends Xc {
28552
28558
  return this.points.length >= 3 ? new y.Vector3().crossVectors(this.points[1].clone().sub(this.points[0]), this.points[2].clone().sub(this.points[0])).normalize() : new y.Vector3(0, 0, 1);
28553
28559
  }
28554
28560
  get style() {
28555
- return oe(_({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
28561
+ return oe(j({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
28556
28562
  }
28557
28563
  get isBlank() {
28558
28564
  return !!this.geometry.isBlank;
@@ -28575,7 +28581,7 @@ class Co extends Xc {
28575
28581
  }
28576
28582
  setStyle(e) {
28577
28583
  var s;
28578
- this._paramsStyle = _(_({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
28584
+ this._paramsStyle = j(j({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
28579
28585
  const i = (s = this._paramsStyle.occlusionVisibility) != null ? s : !0;
28580
28586
  this.areaDom && (this.areaDom.intersectCheck = !i), this.updateAreaItems();
28581
28587
  }
@@ -29270,12 +29276,12 @@ class qb extends Tt {
29270
29276
  polygonStyle: this.polygonStyle
29271
29277
  });
29272
29278
  this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
29273
- const i = new vn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new xa(oe(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), r = new Co(this.polygonStyle), o = new Ci(oe(_({}, this.lineStyle), {
29279
+ const i = new vn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new xa(oe(j({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), r = new Co(this.polygonStyle), o = new Ci(oe(j({}, this.lineStyle), {
29274
29280
  lineOpacity: 0.5,
29275
29281
  lineColor: 3407837,
29276
29282
  dashed: !0,
29277
29283
  cssStyle: "pointer-events: none; opacity: 0.5;"
29278
- })), a = new Ci(oe(_({}, this.lineStyle), {
29284
+ })), a = new Ci(oe(j({}, this.lineStyle), {
29279
29285
  lineOpacity: 0.5,
29280
29286
  lineColor: 3407837,
29281
29287
  dashed: !0,
@@ -29298,42 +29304,42 @@ class qb extends Tt {
29298
29304
  return;
29299
29305
  }
29300
29306
  if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(i), i.position.copy(L.point), c = null, h = !1), e.points.length >= 1)
29301
- if (this.pointSelector.actionIfNoIntersection = "virtualPoint", i.removeFromParent(), this.group.addIfNotExists(s), s.setStyle(oe(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), s.setPoints([e.points.at(-1), L.point]), L.isAdsorbed)
29307
+ if (this.pointSelector.actionIfNoIntersection = "virtualPoint", i.removeFromParent(), this.group.addIfNotExists(s), s.setStyle(oe(j({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), s.setPoints([e.points.at(-1), L.point]), L.isAdsorbed)
29302
29308
  o.removeFromParent(), a.removeFromParent(), l.removeFromParent(), c = null, h = !1;
29303
29309
  else {
29304
29310
  const O = e.points.at(-1);
29305
29311
  if (Math.abs(L.point.y - O.y) > 0.2) {
29306
- const j = vc(O, L.point);
29307
- o.setStyle(oe(_({}, this.lineStyle), {
29312
+ const _ = vc(O, L.point);
29313
+ o.setStyle(oe(j({}, this.lineStyle), {
29308
29314
  lineOpacity: 0.5,
29309
29315
  lineColor: 3407837,
29310
29316
  dashed: !0,
29311
29317
  cssStyle: "pointer-events: none; opacity: 0.5;"
29312
- })), a.setStyle(oe(_({}, this.lineStyle), {
29318
+ })), a.setStyle(oe(j({}, this.lineStyle), {
29313
29319
  lineOpacity: 0.5,
29314
29320
  lineColor: 3407837,
29315
29321
  dashed: !0,
29316
29322
  cssStyle: "pointer-events: none; opacity: 0.5;"
29317
- })), o.setPoints([O, j]), a.setPoints([j, L.point]), l.position.copy(j), c = j.clone(), h = !0;
29323
+ })), o.setPoints([O, _]), a.setPoints([_, L.point]), l.position.copy(_), c = _.clone(), h = !0;
29318
29324
  } else {
29319
- const j = vc(O, L.point);
29320
- o.setStyle(oe(_({}, this.lineStyle), {
29325
+ const _ = vc(O, L.point);
29326
+ o.setStyle(oe(j({}, this.lineStyle), {
29321
29327
  lineOpacity: 0.5,
29322
29328
  lineColor: 3407837,
29323
29329
  dashed: !0,
29324
29330
  cssStyle: "pointer-events: none; opacity: 0.5;"
29325
- })), a.setStyle(oe(_({}, this.lineStyle), {
29331
+ })), a.setStyle(oe(j({}, this.lineStyle), {
29326
29332
  lineOpacity: 0.5,
29327
29333
  lineColor: 3407837,
29328
29334
  dashed: !0,
29329
29335
  cssStyle: "pointer-events: none; opacity: 0.5;"
29330
- })), o.setPoints([O, j]), a.setPoints([j, L.point]), l.position.copy(j), c = j.clone(), h = !0;
29336
+ })), o.setPoints([O, _]), a.setPoints([_, L.point]), l.position.copy(_), c = _.clone(), h = !0;
29331
29337
  }
29332
29338
  this.group.addIfNotExists(o, a, l);
29333
29339
  }
29334
29340
  if (e.points.length >= 2) {
29335
29341
  const O = [...e.points, L.point];
29336
- of(O) ? (r.setStyle(_({}, this.polygonStyle)), r.setPoints(O), this.group.addIfNotExists(r)) : r.removeFromParent();
29342
+ of(O) ? (r.setStyle(j({}, this.polygonStyle)), r.setPoints(O), this.group.addIfNotExists(r)) : r.removeFromParent();
29337
29343
  }
29338
29344
  }, b = (L) => {
29339
29345
  if (!L)
@@ -29393,12 +29399,12 @@ class qb extends Tt {
29393
29399
  f(this, "setLengthEnable", (e) => {
29394
29400
  this.lineStyle.lengthEnable = e, this.polygonStyle.lengthEnable = e, this.group.children.forEach((i) => {
29395
29401
  Vs(i) && (i.changeConfig({
29396
- lineStyle: _({}, this.lineStyle),
29397
- polygonStyle: _({}, this.polygonStyle)
29402
+ lineStyle: j({}, this.lineStyle),
29403
+ polygonStyle: j({}, this.polygonStyle)
29398
29404
  }), this.addMeshEventListeners(i));
29399
29405
  }), this.currentMeasureMesh && this.currentMeasureMesh.changeConfig({
29400
- lineStyle: _({}, this.lineStyle),
29401
- polygonStyle: _({}, this.polygonStyle)
29406
+ lineStyle: j({}, this.lineStyle),
29407
+ polygonStyle: j({}, this.polygonStyle)
29402
29408
  }), this.five.needsRender = !0;
29403
29409
  });
29404
29410
  /**
@@ -29409,16 +29415,16 @@ class qb extends Tt {
29409
29415
  if (this._config && (this._config.unit = e), this.lineStyle.lengthUnit = e, this.polygonStyle.lengthUnit = e, this.group.children.forEach((i) => {
29410
29416
  try {
29411
29417
  i.changeConfig({
29412
- lineStyle: _({}, this.lineStyle),
29413
- polygonStyle: _({}, this.polygonStyle)
29418
+ lineStyle: j({}, this.lineStyle),
29419
+ polygonStyle: j({}, this.polygonStyle)
29414
29420
  }), this.addMeshEventListeners(i);
29415
29421
  } catch (s) {
29416
29422
  }
29417
29423
  }), this.currentMeasureMesh)
29418
29424
  try {
29419
29425
  this.currentMeasureMesh.changeConfig({
29420
- lineStyle: _({}, this.lineStyle),
29421
- polygonStyle: _({}, this.polygonStyle)
29426
+ lineStyle: j({}, this.lineStyle),
29427
+ polygonStyle: j({}, this.polygonStyle)
29422
29428
  });
29423
29429
  } catch (i) {
29424
29430
  }
@@ -29433,16 +29439,16 @@ class qb extends Tt {
29433
29439
  if (this._config && (this._config.precision = e), this.lineStyle.precision = e, this.group.children.forEach((i) => {
29434
29440
  try {
29435
29441
  i.changeConfig({
29436
- lineStyle: _({}, this.lineStyle),
29437
- polygonStyle: _({}, this.polygonStyle)
29442
+ lineStyle: j({}, this.lineStyle),
29443
+ polygonStyle: j({}, this.polygonStyle)
29438
29444
  }), this.addMeshEventListeners(i);
29439
29445
  } catch (s) {
29440
29446
  }
29441
29447
  }), this.currentMeasureMesh)
29442
29448
  try {
29443
29449
  this.currentMeasureMesh.changeConfig({
29444
- lineStyle: _({}, this.lineStyle),
29445
- polygonStyle: _({}, this.polygonStyle)
29450
+ lineStyle: j({}, this.lineStyle),
29451
+ polygonStyle: j({}, this.polygonStyle)
29446
29452
  });
29447
29453
  } catch (i) {
29448
29454
  }
@@ -29798,7 +29804,7 @@ class qb extends Tt {
29798
29804
  -((l.clientY - c.top) / c.height) * 2 + 1
29799
29805
  ), this.five.camera);
29800
29806
  const u = this.five.model.intersectRaycaster(h)[0];
29801
- this.onRepositioningMove(u ? oe(_({}, u), { raycaster: h }) : {
29807
+ this.onRepositioningMove(u ? oe(j({}, u), { raycaster: h }) : {
29802
29808
  point: h.ray.at(5, new y.Vector3()),
29803
29809
  distance: 5,
29804
29810
  raycaster: h,
@@ -29864,7 +29870,7 @@ class qb extends Tt {
29864
29870
  });
29865
29871
  this.five = e;
29866
29872
  const s = { unit: "m", lengthEnable: !0, precision: 2 };
29867
- this.config = i ? _(_({}, s), i) : s, this.group = new Ii(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ht("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29873
+ this.config = i ? j(j({}, s), i) : s, this.group = new Ii(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ht("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29868
29874
  }
29869
29875
  get interactionState() {
29870
29876
  var e, i;
@@ -29960,7 +29966,7 @@ class Zb extends Fa {
29960
29966
  return;
29961
29967
  }
29962
29968
  this.onEnter(), this.cursorError || (this.five.getElement().style.cursor = "");
29963
- const i = _({}, e);
29969
+ const i = j({}, e);
29964
29970
  if (this.adhereEnabled && this.mouseNdcPosition && this.five.renderer && typeof this.adhereRadius == "number") {
29965
29971
  const d = {
29966
29972
  x: this.mouseNdcPosition.x,
@@ -30012,9 +30018,9 @@ class Zb extends Fa {
30012
30018
  if (w.IsAlwaysVisible)
30013
30019
  z = !0;
30014
30020
  else {
30015
- const j = new y.Raycaster();
30016
- j.setFromCamera(w.clone(), this.five.camera);
30017
- const A = this.five.model.intersectRaycaster(j)[0], C = 0.1, x = this.five.camera.position.distanceTo(w);
30021
+ const _ = new y.Raycaster();
30022
+ _.setFromCamera(w.clone(), this.five.camera);
30023
+ const A = this.five.model.intersectRaycaster(_)[0], C = 0.1, x = this.five.camera.position.distanceTo(w);
30018
30024
  A && A.distance < x + C && (z = !0);
30019
30025
  }
30020
30026
  if (z) {
@@ -30143,7 +30149,7 @@ function HS(n) {
30143
30149
  if (d && xh(d) && d.lengthSq() > 1e-12) {
30144
30150
  const T = d.clone().normalize();
30145
30151
  h = GS(T, s, (b = c == null ? void 0 : c.normalSign) != null ? b : null);
30146
- const L = T.clone().multiplyScalar(-h), O = o.angleTo(L), z = pg((w = n.blend) != null ? w : VS, 0, 1), j = pg((M = n.maxDeviation) != null ? M : Jb, 0, Math.PI), A = Math.min(O * z, j);
30152
+ const L = T.clone().multiplyScalar(-h), O = o.angleTo(L), z = pg((w = n.blend) != null ? w : VS, 0, 1), _ = pg((M = n.maxDeviation) != null ? M : Jb, 0, Math.PI), A = Math.min(O * z, _);
30147
30153
  if (A > 1e-6 && O > 1e-6) {
30148
30154
  const C = new y.Vector3().crossVectors(o, L);
30149
30155
  C.lengthSq() > 1e-12 && (u = o.clone().applyAxisAngle(C.normalize(), A));
@@ -30548,7 +30554,7 @@ const Vl = {
30548
30554
  cacheStep: 0.12
30549
30555
  };
30550
30556
  function nA(n) {
30551
- return n === !1 ? oe(_({}, Vl), { enabled: !1 }) : n === !0 || n === void 0 ? _({}, Vl) : _(_({}, Vl), n);
30557
+ return n === !1 ? oe(j({}, Vl), { enabled: !1 }) : n === !0 || n === void 0 ? j({}, Vl) : j(j({}, Vl), n);
30552
30558
  }
30553
30559
  const gg = new y.Vector3();
30554
30560
  function $S(n, t) {
@@ -30726,7 +30732,7 @@ class oA extends qb {
30726
30732
  return this.v2Magnifier;
30727
30733
  }
30728
30734
  createPointSelector() {
30729
- return new Zb(this.v2Five, { mode: "cursor", helper: _({ pointHelper: "highlight" }, Tc ? { magnifierParams: { width: 150, height: 150, dragEnabled: !1, autoFixPCPosition: !1, initialPosition: { left: "12px", top: "12px" } } } : {}), skipPanorama: !1 });
30735
+ return new Zb(this.v2Five, { mode: "cursor", helper: j({ pointHelper: "highlight" }, Tc ? { magnifierParams: { width: 150, height: 150, dragEnabled: !1, autoFixPCPosition: !1, initialPosition: { left: "12px", top: "12px" } } } : {}), skipPanorama: !1 });
30730
30736
  }
30731
30737
  get pointSelector() {
30732
30738
  const e = super.pointSelector;
@@ -30743,7 +30749,7 @@ class oA extends qb {
30743
30749
  const i = e.magnifier;
30744
30750
  if (!i)
30745
30751
  return;
30746
- const s = new lf(this.v2Five, _(oe(_({}, i.config), {
30752
+ const s = new lf(this.v2Five, j(oe(j({}, i.config), {
30747
30753
  width: i.width,
30748
30754
  height: i.height,
30749
30755
  scale: i.scale
@@ -31024,20 +31030,20 @@ function m4(n, t, e) {
31024
31030
  );
31025
31031
  const I = (O) => {
31026
31032
  const z = Object.keys(d);
31027
- let j = O.target;
31028
- for (; j; ) {
31029
- const A = j.getAttribute("class");
31033
+ let _ = O.target;
31034
+ for (; _; ) {
31035
+ const A = _.getAttribute("class");
31030
31036
  if (!A) {
31031
- j = j.parentNode;
31037
+ _ = _.parentNode;
31032
31038
  continue;
31033
31039
  }
31034
31040
  if (A.includes("PanoSpatialTagPlugin__tag-content")) {
31035
- j = null;
31041
+ _ = null;
31036
31042
  break;
31037
31043
  }
31038
31044
  z.forEach((C) => {
31039
31045
  A.includes(C) && d[C](i);
31040
- }), j = j.parentNode;
31046
+ }), _ = _.parentNode;
31041
31047
  }
31042
31048
  };
31043
31049
  Ft(() => {
@@ -31046,7 +31052,7 @@ function m4(n, t, e) {
31046
31052
  const T = aA.subscribe((O) => {
31047
31053
  if (O === null)
31048
31054
  return;
31049
- const [z, j] = O.split("-PanoSpatialTagPlugin-");
31055
+ const [z, _] = O.split("-PanoSpatialTagPlugin-");
31050
31056
  i === z && (p.emit("clickOrigin", { id: i, show: w }), M || (e(11, w = h), e(13, h = !h), M = setTimeout(
31051
31057
  () => {
31052
31058
  M = void 0;
@@ -31433,7 +31439,7 @@ const kh = 1e-3, Ig = 0.01, xg = xd, Dj = (n, t) => {
31433
31439
  weight: (ie = ce.weight) != null ? ie : -1
31434
31440
  };
31435
31441
  }), ae.render && (g.render = ae.render), ae.template && (g.template = ae.template), ae.events && (g.events = ae.events), ae.enabled === !1 && (g.enabled = ae.enabled), ae.folded === !0 && (g.folded = ae.folded);
31436
- }, j = (ae) => {
31442
+ }, _ = (ae) => {
31437
31443
  g.intersectObjects = ae, L();
31438
31444
  }, A = () => {
31439
31445
  g.enabled = !0, L();
@@ -31468,7 +31474,7 @@ const kh = 1e-3, Ig = 0.01, xg = xd, Dj = (n, t) => {
31468
31474
  };
31469
31475
  return window.addEventListener("resize", R, !1), (me = n == null ? void 0 : n.model) != null && me.loaded ? B() : n.once("modelLoaded", B), n.on("dispose", Z), {
31470
31476
  load: z,
31471
- setIntersectObjects: j,
31477
+ setIntersectObjects: _,
31472
31478
  unfoldAll: x,
31473
31479
  foldAll: E,
31474
31480
  unfold: S,
@@ -31767,10 +31773,10 @@ function T4(n, t, e) {
31767
31773
  const k = S.map((B) => {
31768
31774
  const Z = b(E, B), te = B.name.length * k4, Y = I(B.modelPosition[1], c), se = (o ? v(E, B) : !0) && !M([Z[0], Z[1] + Y], te);
31769
31775
  if (!se)
31770
- return oe(_({}, B), { visible: se });
31776
+ return oe(j({}, B), { visible: se });
31771
31777
  m.push(Z);
31772
31778
  const re = w(Z);
31773
- return oe(_({}, B), {
31779
+ return oe(j({}, B), {
31774
31780
  visible: se,
31775
31781
  transform: re,
31776
31782
  strokeLength: Y
@@ -31781,7 +31787,7 @@ function T4(n, t, e) {
31781
31787
  })).sort((B, Z) => B.distance - Z.distance);
31782
31788
  return k.map((B) => {
31783
31789
  const Z = R.findIndex((te) => te.itemLabelItem.id === B.id);
31784
- return Z !== void 0 ? oe(_({}, B), { zIndex: Z * 10 }) : B;
31790
+ return Z !== void 0 ? oe(j({}, B), { zIndex: Z * 10 }) : B;
31785
31791
  });
31786
31792
  }, L = () => {
31787
31793
  m = [], e(1, u = T(r, u));
@@ -31793,14 +31799,14 @@ function T4(n, t, e) {
31793
31799
  e(4, g = !1), z();
31794
31800
  };
31795
31801
  Ft(() => {
31796
- e(1, u = a), h = a, L(), j(), r.on("cameraUpdate", O);
31802
+ e(1, u = a), h = a, L(), _(), r.on("cameraUpdate", O);
31797
31803
  });
31798
31804
  const z = lA(
31799
31805
  () => {
31800
31806
  e(4, g = !0), L();
31801
31807
  },
31802
31808
  300
31803
- ), j = () => {
31809
+ ), _ = () => {
31804
31810
  window.addEventListener("resize", C, !1);
31805
31811
  }, A = () => {
31806
31812
  h !== a && (e(1, u = a), h = a, L());
@@ -31848,7 +31854,7 @@ let D4 = class extends xe {
31848
31854
  }
31849
31855
  };
31850
31856
  function L4(n) {
31851
- return n.model_item_labels.map((t) => _({
31857
+ return n.model_item_labels.map((t) => j({
31852
31858
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
31853
31859
  }, t));
31854
31860
  }
@@ -32126,7 +32132,7 @@ const O4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
32126
32132
  });
32127
32133
  (!C || C.length === 0) && m(!0);
32128
32134
  }
32129
- }, j = () => {
32135
+ }, _ = () => {
32130
32136
  var A;
32131
32137
  b(), h(), c == null || c.dispose(), o && URL.revokeObjectURL(o), (A = i.videoTexture) == null || A.dispose(), i.videoTexture = void 0, n.off("modeChange", O), n.off("wantsTapGesture", L), n.off("panoArrived", z), n.off("renderFrame", () => {
32132
32138
  i.videoMeshes.forEach((C) => {
@@ -32138,7 +32144,7 @@ const O4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
32138
32144
  i.videoMeshes.forEach((A) => {
32139
32145
  A && (A.needsRender = !0);
32140
32146
  });
32141
- }), { enable: v, disable: b, load: T, dispose: j, state: i, css3DRenderPlugin: d, setMuted: m, getMuted: g };
32147
+ }), { enable: v, disable: b, load: T, dispose: _, state: i, css3DRenderPlugin: d, setMuted: m, getMuted: g };
32142
32148
  };
32143
32149
  var Ur = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARGE = "large", n.EXTRA_LARGE = "x-large", n))(Ur || {});
32144
32150
  function _4(n) {
@@ -32365,7 +32371,7 @@ const { Raycaster: H4, Vector3: jj } = y, Lg = (n, t, e, i) => {
32365
32371
  }
32366
32372
  }, W4 = (n) => `translate(${n[0]}px, ${n[1]}px)`;
32367
32373
  function zg(n) {
32368
- return n.map((t) => _({
32374
+ return n.map((t) => j({
32369
32375
  observerIndex: void 0,
32370
32376
  visible: !1,
32371
32377
  isFold: !1
@@ -32544,15 +32550,15 @@ function Y4(n, t, e) {
32544
32550
  }, I = (S, k) => {
32545
32551
  const R = k.map((Z) => {
32546
32552
  if (S.state.panoIndex !== Z.panoIndex)
32547
- return oe(_({}, Z), { visible: !1 });
32553
+ return oe(j({}, Z), { visible: !1 });
32548
32554
  const te = M(S, Z);
32549
32555
  Z.name.length * X4;
32550
32556
  const Y = G4(Z.modelPosition[1], l), J = S.currentMode === Zt.Mode.Panorama ? w(new i(Z.position[0], Z.position[1], Z.position[2])) : !0, se = r ? b(S, Z) : !1, re = J && !se;
32551
32557
  if (!re)
32552
- return oe(_({}, Z), { visible: re });
32558
+ return oe(j({}, Z), { visible: re });
32553
32559
  g.push(te);
32554
32560
  const Se = W4(te);
32555
- return oe(_({}, Z), {
32561
+ return oe(j({}, Z), {
32556
32562
  visible: re,
32557
32563
  transform: Se,
32558
32564
  strokeLength: Y
@@ -32563,7 +32569,7 @@ function Y4(n, t, e) {
32563
32569
  })).sort((Z, te) => Z.distance - te.distance);
32564
32570
  return R.map((Z) => {
32565
32571
  const te = B.findIndex((Y) => Y.itemLabelItem.id === Z.id);
32566
- return te !== void 0 ? oe(_({}, Z), { zIndex: te * 10 }) : Z;
32572
+ return te !== void 0 ? oe(j({}, Z), { zIndex: te * 10 }) : Z;
32567
32573
  });
32568
32574
  }, T = () => {
32569
32575
  g = [], e(1, u = I(s, u));
@@ -32576,7 +32582,7 @@ function Y4(n, t, e) {
32576
32582
  300
32577
32583
  ), z = () => {
32578
32584
  s.once("renderFrame", T);
32579
- }, j = () => {
32585
+ }, _ = () => {
32580
32586
  window.addEventListener("resize", z, !1);
32581
32587
  }, A = () => {
32582
32588
  h !== o && (e(1, u = zg(o)), h = o, T());
@@ -32605,14 +32611,14 @@ function Y4(n, t, e) {
32605
32611
  longitude: Math.PI + Math.atan2(te.x, te.z),
32606
32612
  latitude: Math.acos(te.y / te.length()) - Math.PI / 2
32607
32613
  };
32608
- s.setState(oe(_({}, Y), {
32614
+ s.setState(oe(j({}, Y), {
32609
32615
  mode: Zt.Mode.Panorama,
32610
32616
  panoIndex: S.observerIndex
32611
32617
  })), s.once("initAnimationEnded", () => {
32612
- e(1, u = u.map((J) => oe(_({}, J), {
32618
+ e(1, u = u.map((J) => oe(j({}, J), {
32613
32619
  isFold: J.id !== S.id
32614
32620
  }))), s.once("cameraUpdate", () => {
32615
- e(1, u = u.map((J) => oe(_({}, J), { isFold: !1 })));
32621
+ e(1, u = u.map((J) => oe(j({}, J), { isFold: !1 })));
32616
32622
  });
32617
32623
  });
32618
32624
  }
@@ -32620,7 +32626,7 @@ function Y4(n, t, e) {
32620
32626
  Qy(() => {
32621
32627
  A();
32622
32628
  }), Ft(() => {
32623
- e(1, u = zg(o)), h = o, T(), j(), s.on("cameraUpdate", L);
32629
+ e(1, u = zg(o)), h = o, T(), _(), s.on("cameraUpdate", L);
32624
32630
  }), Xt(() => {
32625
32631
  s.off("cameraUpdate", L), window.removeEventListener("resize", z, !1);
32626
32632
  });
@@ -32667,7 +32673,7 @@ class q4 extends xe {
32667
32673
  }
32668
32674
  }
32669
32675
  function Z4(n) {
32670
- return n.item_labels.map((t) => oe(_({}, t), {
32676
+ return n.item_labels.map((t) => oe(j({}, t), {
32671
32677
  modelPosition: [t.position[0], t.position[1], t.position[2]],
32672
32678
  observerIndex: void 0
32673
32679
  }));
@@ -32937,18 +32943,18 @@ class ak extends Ds {
32937
32943
  T.left = R, T.top = B, T.inSight = Z && S < Math.PI / 2, T.cameraToward = nk(this.five), Z ? l.push({ disFromCameraToLabel: C, left: R, top: B, index: L }) : T.transform = "translate(-50%, -50%)";
32938
32944
  } else
32939
32945
  T.inSight = !1;
32940
- const j = T, { svelteApp: O } = j, z = as(j, ["svelteApp"]);
32946
+ const _ = T, { svelteApp: O } = _, z = as(_, ["svelteApp"]);
32941
32947
  (A = T.svelteApp) == null || A.$set({ props: z });
32942
32948
  }), l.length > 1) {
32943
32949
  let T = 0;
32944
32950
  l.sort((L, O) => O.disFromCameraToLabel - L.disFromCameraToLabel);
32945
32951
  for (let L = 1; L < l.length; L++) {
32946
- const { index: O, left: z, top: j } = l[L - 1], { index: A, left: C, top: x } = l[L], E = this.container.children[O], S = this.container.children[A];
32952
+ const { index: O, left: z, top: _ } = l[L - 1], { index: A, left: C, top: x } = l[L], E = this.container.children[O], S = this.container.children[A];
32947
32953
  if (!E || !S)
32948
32954
  return;
32949
32955
  const k = {
32950
32956
  left: r * z / 100,
32951
- top: o * j / 100,
32957
+ top: o * _ / 100,
32952
32958
  width: (u = (h = (c = E.children) == null ? void 0 : c[0]) == null ? void 0 : h.clientWidth) != null ? u : 0,
32953
32959
  height: (m = (p = (d = E.children) == null ? void 0 : d[0]) == null ? void 0 : p.clientHeight) != null ? m : 0
32954
32960
  }, R = {
@@ -33010,7 +33016,7 @@ class ak extends Ds {
33010
33016
  position: u,
33011
33017
  toward: rk(o.rad)
33012
33018
  });
33013
- }), this.labelItems = this.doorLabels.map((o) => oe(_({}, o), {
33019
+ }), this.labelItems = this.doorLabels.map((o) => oe(j({}, o), {
33014
33020
  left: 0,
33015
33021
  top: 0,
33016
33022
  visible: !1,
@@ -33025,7 +33031,7 @@ class ak extends Ds {
33025
33031
  }
33026
33032
  setState(e, i) {
33027
33033
  const s = this.state;
33028
- this.state = _(_({}, s), e);
33034
+ this.state = j(j({}, s), e);
33029
33035
  const r = s.enabled && s.visible, o = this.state.enabled && this.state.visible;
33030
33036
  r !== o && this.applyState();
33031
33037
  }
@@ -33157,8 +33163,8 @@ function xk(n) {
33157
33163
  if (s.length === 0)
33158
33164
  return { geometry: new y.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
33159
33165
  const r = new y.CurvePath();
33160
- s.forEach((j) => {
33161
- const A = Sk(j);
33166
+ s.forEach((_) => {
33167
+ const A = Sk(_);
33162
33168
  A && r.add(A);
33163
33169
  });
33164
33170
  const o = Math.ceil(r.getLength() * 100);
@@ -33166,30 +33172,30 @@ function xk(n) {
33166
33172
  const a = r.getPoints(o), l = a.length;
33167
33173
  if (l <= 2)
33168
33174
  return { geometry: new y.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
33169
- const c = wk(a.map((j) => [j.x, j.z])), u = (l - 1) * Ck * Mk, d = 2 * l, p = d * Ek, m = d * Ik, g = new Uint32Array(u), v = new Float32Array(p), b = new Float32Array(m);
33175
+ const c = wk(a.map((_) => [_.x, _.z])), u = (l - 1) * Ck * Mk, d = 2 * l, p = d * Ek, m = d * Ik, g = new Uint32Array(u), v = new Float32Array(p), b = new Float32Array(m);
33170
33176
  let w = 0, M = 0;
33171
- for (let j = 0; j < l; j++) {
33172
- const [A, C] = c[j][0], x = a[j], { x: E, y: S, z: k } = x, R = new pe(E + A * i, S + 0.05, k + C * i);
33173
- v[j * 6 + 0] = R.x, v[j * 6 + 1] = R.y, v[j * 6 + 2] = R.z;
33177
+ for (let _ = 0; _ < l; _++) {
33178
+ const [A, C] = c[_][0], x = a[_], { x: E, y: S, z: k } = x, R = new pe(E + A * i, S + 0.05, k + C * i);
33179
+ v[_ * 6 + 0] = R.x, v[_ * 6 + 1] = R.y, v[_ * 6 + 2] = R.z;
33174
33180
  const B = new pe(E - A * i, S + 0.05, k - C * i);
33175
- v[j * 6 + 3] = B.x, v[j * 6 + 4] = B.y, v[j * 6 + 5] = B.z, w += j > 0 ? a[j - 1].clone().sub(a[j]).length() : 0;
33181
+ v[_ * 6 + 3] = B.x, v[_ * 6 + 4] = B.y, v[_ * 6 + 5] = B.z, w += _ > 0 ? a[_ - 1].clone().sub(a[_]).length() : 0;
33176
33182
  const Z = w / e;
33177
- M = Z, b[j * 4 + 0] = 0, b[j * 4 + 1] = Z, b[j * 4 + 2] = 1, b[j * 4 + 3] = Z;
33183
+ M = Z, b[_ * 4 + 0] = 0, b[_ * 4 + 1] = Z, b[_ * 4 + 2] = 1, b[_ * 4 + 3] = Z;
33178
33184
  const te = new y.Vector3().lerpVectors(R, B, 0.5);
33179
- n.skipPositions && n.skipPositions.some((J) => J.distanceTo(te) < 0.26) || j !== l - 1 && (g[j * 6 + 0] = j * 2 + 0, g[j * 6 + 1] = j * 2 + 2, g[j * 6 + 2] = j * 2 + 1, g[j * 6 + 3] = j * 2 + 2, g[j * 6 + 4] = j * 2 + 3, g[j * 6 + 5] = j * 2 + 1);
33185
+ n.skipPositions && n.skipPositions.some((J) => J.distanceTo(te) < 0.26) || _ !== l - 1 && (g[_ * 6 + 0] = _ * 2 + 0, g[_ * 6 + 1] = _ * 2 + 2, g[_ * 6 + 2] = _ * 2 + 1, g[_ * 6 + 3] = _ * 2 + 2, g[_ * 6 + 4] = _ * 2 + 3, g[_ * 6 + 5] = _ * 2 + 1);
33180
33186
  }
33181
33187
  const I = [];
33182
33188
  let T;
33183
33189
  const L = [];
33184
- for (let j = 0; j < l - 1; j++) {
33185
- if (T !== void 0 && j <= T)
33190
+ for (let _ = 0; _ < l - 1; _++) {
33191
+ if (T !== void 0 && _ <= T)
33186
33192
  continue;
33187
- const A = j + 1, C = {
33188
- x: v[j * 6 + 0],
33189
- y: v[j * 6 + 2]
33193
+ const A = _ + 1, C = {
33194
+ x: v[_ * 6 + 0],
33195
+ y: v[_ * 6 + 2]
33190
33196
  }, x = {
33191
- x: v[j * 6 + 3],
33192
- y: v[j * 6 + 5]
33197
+ x: v[_ * 6 + 3],
33198
+ y: v[_ * 6 + 5]
33193
33199
  }, E = {
33194
33200
  x: v[A * 6 + 0],
33195
33201
  y: v[A * 6 + 2]
@@ -33197,8 +33203,8 @@ function xk(n) {
33197
33203
  x: v[A * 6 + 3],
33198
33204
  y: v[A * 6 + 5]
33199
33205
  }, k = uA([C, x], [E, S]);
33200
- if (k && I.push(j), !k && I.length) {
33201
- I.push(j);
33206
+ if (k && I.push(_), !k && I.length) {
33207
+ I.push(_);
33202
33208
  const R = new y.Vector2(C.x, C.y).distanceTo(new y.Vector2(E.x, E.y)), B = new y.Vector2(x.x, x.y).distanceTo(new y.Vector2(S.x, S.y)), Z = 300, te = [], Y = [], J = Math.max(0, I[0] - e * Z), se = I[0];
33203
33209
  for (let me = J; me < se; me++)
33204
33210
  R < B ? te.push({ x: v[me * 6 + 0], y: v[me * 6 + 2] }) : te.push({ x: v[me * 6 + 3], y: v[me * 6 + 5] });
@@ -33236,9 +33242,9 @@ function xk(n) {
33236
33242
  }
33237
33243
  }
33238
33244
  const O = new Float32Array(d);
33239
- L.forEach((j) => {
33245
+ L.forEach((_) => {
33240
33246
  for (let A = 0; A < l - 1; A++)
33241
- A >= j.start && A <= j.end ? (O[A * 2 + 0] = 1, O[A * 2 + 1] = 1) : O[A] !== 1 && (O[A * 2 + 0] = 0, O[A * 2 + 1] = 0);
33247
+ A >= _.start && A <= _.end ? (O[A * 2 + 0] = 1, O[A * 2 + 1] = 1) : O[A] !== 1 && (O[A * 2 + 0] = 0, O[A * 2 + 1] = 0);
33242
33248
  });
33243
33249
  const z = new y.BufferGeometry();
33244
33250
  return z.setAttribute("position", new y.BufferAttribute(v, 3)), z.setAttribute("uv", new y.BufferAttribute(b, 2)), z.setIndex(new y.BufferAttribute(g, 1)), { geometry: z, maxV: M, animationWillError: L, curvePath: r, curvePoints: a };
@@ -34244,7 +34250,7 @@ class Ta {
34244
34250
  this.cache_visible.clear(), this.cache_raycasterDistance.clear();
34245
34251
  }
34246
34252
  static generateCameraTagKey(t, e, i = 3) {
34247
- const s = _(_({}, e.five.getCurrentState()), t), r = s.mode === "Panorama" ? e.workUtil.getObserverPosition(s.panoIndex) : e.five.camera.position;
34253
+ const s = j(j({}, e.five.getCurrentState()), t), r = s.mode === "Panorama" ? e.workUtil.getObserverPosition(s.panoIndex) : e.five.camera.position;
34248
34254
  return r ? [
34249
34255
  //
34250
34256
  r.x.toFixed(i),
@@ -34447,18 +34453,18 @@ class i8 extends Ds {
34447
34453
  const r = {}, o = {}, a = {};
34448
34454
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([M, I]) => {
34449
34455
  var C, x;
34450
- const T = M, L = T.split("-"), O = M.startsWith("["), z = O ? L[0].slice(1, -1) : void 0, j = O ? L.slice(1) : L, A = z ? ["PanoramaLike", "ModelLike"].includes(z) ? (C = o[z]) != null ? C : o[z] = {} : (x = a[z]) != null ? x : a[z] = {} : r;
34456
+ const T = M, L = T.split("-"), O = M.startsWith("["), z = O ? L[0].slice(1, -1) : void 0, _ = O ? L.slice(1) : L, A = z ? ["PanoramaLike", "ModelLike"].includes(z) ? (C = o[z]) != null ? C : o[z] = {} : (x = a[z]) != null ? x : a[z] = {} : r;
34451
34457
  if (!A[T]) {
34452
- if (j.length === 0 && (A[T] = I), j.length === 1) {
34453
- const [E] = j;
34458
+ if (_.length === 0 && (A[T] = I), _.length === 1) {
34459
+ const [E] = _;
34454
34460
  (e.contentType === E || E === "Any") && (A[T] = I);
34455
34461
  }
34456
- if (j.length === 2) {
34457
- const [E = "Any", S = "Any"] = j;
34462
+ if (_.length === 2) {
34463
+ const [E = "Any", S = "Any"] = _;
34458
34464
  E === "Mixin" && e.contentType === S && (A[T] = I), (e.stickType === E || E === "Any") && (e.contentType === S || S === "Any") && (A[T] = I);
34459
34465
  }
34460
- if (j.length === 3) {
34461
- const [E = "Any", S, k] = j;
34466
+ if (_.length === 3) {
34467
+ const [E = "Any", S, k] = _;
34462
34468
  if (S === "Audio" && e.contentType === "Audio") {
34463
34469
  const R = e;
34464
34470
  (R.stickType === E || E === "Any") && R.data.appearance === k && (A[T] = I);
@@ -34475,7 +34481,7 @@ class i8 extends Ds {
34475
34481
  const T = u[M];
34476
34482
  u[M] = st({}, c, T, ...Object.values(I), l, { _isMerged: !0 });
34477
34483
  });
34478
- const p = oe(_({}, h), { configWithFiveMode: u });
34484
+ const p = oe(j({}, h), { configWithFiveMode: u });
34479
34485
  return bc(p), Object.values(u).forEach((M) => bc(M)), p._isMerged = !0, p;
34480
34486
  }
34481
34487
  }
@@ -34595,21 +34601,21 @@ function Lh(n, t, e) {
34595
34601
  const s = {}, r = {}, o = {};
34596
34602
  t.contentTypeConfig && Object.entries(t.contentTypeConfig).forEach(([w, M]) => {
34597
34603
  var A, C;
34598
- const I = w, T = I.split("-"), L = w.startsWith("["), O = L ? T[0].slice(1, -1) : void 0, z = L ? T.slice(1) : T, j = O ? ["PanoramaLike", "ModelLike"].includes(O) ? (A = r[O]) != null ? A : r[O] = {} : (C = o[O]) != null ? C : o[O] = {} : s;
34599
- if (!j[I]) {
34600
- if (z.length === 0 && (j[I] = M), z.length === 1) {
34604
+ const I = w, T = I.split("-"), L = w.startsWith("["), O = L ? T[0].slice(1, -1) : void 0, z = L ? T.slice(1) : T, _ = O ? ["PanoramaLike", "ModelLike"].includes(O) ? (A = r[O]) != null ? A : r[O] = {} : (C = o[O]) != null ? C : o[O] = {} : s;
34605
+ if (!_[I]) {
34606
+ if (z.length === 0 && (_[I] = M), z.length === 1) {
34601
34607
  const [x] = z;
34602
- (n.contentType === x || x === "Any") && (j[I] = M);
34608
+ (n.contentType === x || x === "Any") && (_[I] = M);
34603
34609
  }
34604
34610
  if (z.length === 2) {
34605
34611
  const [x = "Any", E = "Any"] = z;
34606
- x === "Mixin" && n.contentType === E && (j[I] = M), (n.stickType === x || x === "Any") && (n.contentType === E || E === "Any") && (j[I] = M);
34612
+ x === "Mixin" && n.contentType === E && (_[I] = M), (n.stickType === x || x === "Any") && (n.contentType === E || E === "Any") && (_[I] = M);
34607
34613
  }
34608
34614
  if (z.length === 3) {
34609
34615
  const [x = "Any", E, S] = z;
34610
34616
  if (E === "Audio" && n.contentType === "Audio") {
34611
34617
  const k = n;
34612
- (k.stickType === x || x === "Any") && k.data.appearance === S && (j[I] = M);
34618
+ (k.stickType === x || x === "Any") && k.data.appearance === S && (_[I] = M);
34613
34619
  }
34614
34620
  }
34615
34621
  }
@@ -34623,7 +34629,7 @@ function Lh(n, t, e) {
34623
34629
  const I = h[w];
34624
34630
  h[w] = st({}, l, I, ...Object.values(M), a, { _isMerged: !0 });
34625
34631
  });
34626
- const d = oe(_({}, c), { configWithFiveMode: h });
34632
+ const d = oe(j({}, c), { configWithFiveMode: h });
34627
34633
  return bc(d), Object.values(h).forEach((w) => bc(w)), d._isMerged = !0, d;
34628
34634
  }
34629
34635
  function Hg(n) {
@@ -34732,7 +34738,7 @@ class Eo {
34732
34738
  const o = Lh(e, t.config), a = this.getConfig(e);
34733
34739
  e.config = a, this.id = (h = e.id) != null ? h : Pt(), this.enabled = (u = e.enabled) != null ? u : !0, this.contentType = e.contentType, this.hoverEnabled = (p = (d = a.popoverConfig) == null ? void 0 : d.enabled) != null ? p : !0, this.data = (m = a.initialData) != null && m.important ? st(e.data, s, a.initialData) : st(e.data, a.initialData, s);
34734
34740
  let l;
34735
- typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? l = !0 : a.unfoldedConfig.keep === "folded" ? l = !1 : l = !this.can("fold") : l = !this.can("fold"), this.state = _({
34741
+ typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? l = !0 : a.unfoldedConfig.keep === "folded" ? l = !1 : l = !this.can("fold") : l = !this.can("fold"), this.state = j({
34736
34742
  visible: void 0,
34737
34743
  unfolded: l
34738
34744
  }, a.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.normalLineLength = (v = (g = e.style) == null ? void 0 : g.point) == null ? void 0 : v.normalLen, this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
@@ -34829,7 +34835,7 @@ class Eo {
34829
34835
  if (Ei(r))
34830
34836
  return this;
34831
34837
  const o = this.workUtil.getObserverPosition(r), a = this.centerPosition.clone().sub(o).normalize();
34832
- this.five.setState(_({
34838
+ this.five.setState(j({
34833
34839
  mode: "Panorama",
34834
34840
  workCode: this.workUtil.workCode,
34835
34841
  panoIndex: r
@@ -34887,7 +34893,7 @@ class Eo {
34887
34893
  return;
34888
34894
  }
34889
34895
  const o = s ? Rc : Sy;
34890
- this._currentBlinkInstance = o(r, _({
34896
+ this._currentBlinkInstance = o(r, j({
34891
34897
  begin: () => {
34892
34898
  s === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
34893
34899
  },
@@ -34950,7 +34956,7 @@ class Eo {
34950
34956
  * @param deepMerge 是否深度合并 data,默认为 true
34951
34957
  */
34952
34958
  setData(t, e = !0) {
34953
- e ? this.data = st(this.data, t) : this.data = _(_({}, this.data), t), this.hooks.emit("dataChanged", this.data);
34959
+ e ? this.data = st(this.data, t) : this.data = j(j({}, this.data), t), this.hooks.emit("dataChanged", this.data);
34954
34960
  }
34955
34961
  /**
34956
34962
  * @description 修改标签位置
@@ -34989,7 +34995,7 @@ class Eo {
34989
34995
  return (l = r != null ? r : i) != null ? l : {};
34990
34996
  }
34991
34997
  getDistance(t, e = 3) {
34992
- const i = _(_({}, this.five.getCurrentState()), t), { panoIndex: s, mode: r } = i, o = r === "Panorama" ? this.workUtil.getObserverPosition(s) : this.five.camera.position, a = this.centerPosition;
34998
+ const i = j(j({}, this.five.getCurrentState()), t), { panoIndex: s, mode: r } = i, o = r === "Panorama" ? this.workUtil.getObserverPosition(s) : this.five.camera.position, a = this.centerPosition;
34993
34999
  return !o || !a ? -1 : o.distanceTo(a);
34994
35000
  }
34995
35001
  /**
@@ -35017,7 +35023,7 @@ class Eo {
35017
35023
  getVisible(t) {
35018
35024
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
35019
35025
  return !1;
35020
- const e = _(_({}, this.five.getCurrentState()), t);
35026
+ const e = j(j({}, this.five.getCurrentState()), t);
35021
35027
  let i = this.cache.getVisible(this, e);
35022
35028
  return Ei(i) && (i = this.computeVisible(e).value, this.cache.setVisible(this, e, i)), i;
35023
35029
  }
@@ -35078,7 +35084,7 @@ class Eo {
35078
35084
  return t != null ? t : "Dom";
35079
35085
  }
35080
35086
  computeVisible(t) {
35081
- const e = _(_({}, this.five.getCurrentState()), t), { panoIndex: i, mode: s } = e, r = [];
35087
+ const e = j(j({}, this.five.getCurrentState()), t), { panoIndex: i, mode: s } = e, r = [];
35082
35088
  return (() => {
35083
35089
  var c, u, d, p;
35084
35090
  const l = (c = this.getConfig().visibleConfig) != null ? c : {};
@@ -35099,7 +35105,7 @@ class Eo {
35099
35105
  if (l.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (s === "Floorplan" || s === "Mapview")) {
35100
35106
  const h = this.computeVisibleByFloorIndex(), { value: g } = h, v = as(h, ["value"]);
35101
35107
  if (g === !1)
35102
- return _({ value: !1, checkedList: r, reason: "followModelVisibility check failed" }, v);
35108
+ return j({ value: !1, checkedList: r, reason: "followModelVisibility check failed" }, v);
35103
35109
  }
35104
35110
  if (bs(s) && l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && i !== void 0) {
35105
35111
  if (r.push("visiblePanoIndex"), Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(i))
@@ -35188,7 +35194,7 @@ class Eo {
35188
35194
  /** 通过射线检测标签可用性 */
35189
35195
  computeVisibleByIntersect(t, e) {
35190
35196
  var c, h, u, d, p;
35191
- const i = _(_({}, mr(mr((c = this.getConfig().visibleConfig) != null ? c : {}).intersectRaycaster)), e), s = t != null ? t : this.five.getCurrentState().panoIndex, r = bs(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(s) : this.five.camera.position;
35197
+ const i = j(j({}, mr(mr((c = this.getConfig().visibleConfig) != null ? c : {}).intersectRaycaster)), e), s = t != null ? t : this.five.getCurrentState().panoIndex, r = bs(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(s) : this.five.camera.position;
35192
35198
  if (r === void 0)
35193
35199
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: s } };
35194
35200
  if (i.hideWhenModelNotLoaded && ((h = this.fiveUtil.model) == null ? void 0 : h.loaded) === !1)
@@ -35213,8 +35219,8 @@ class Eo {
35213
35219
  const z = this.plugin.tags.filter(or).map((A) => {
35214
35220
  var C;
35215
35221
  return (C = A.model) == null ? void 0 : C.object;
35216
- }).filter(Ge), [j] = Bn.intersectObjects(z, !0);
35217
- return j;
35222
+ }).filter(Ge), [_] = Bn.intersectObjects(z, !0);
35223
+ return _;
35218
35224
  })(), I = g.distanceTo(m), T = (u = i.distanceAccuracy) != null ? u : 0.01;
35219
35225
  b = Math.min(b != null ? b : 1 / 0, (d = M == null ? void 0 : M.distance) != null ? d : 1 / 0), b + T >= I ? a++ : l++;
35220
35226
  const O = (p = i.needPassed) != null ? p : 1;
@@ -35292,7 +35298,7 @@ class Eo {
35292
35298
  }).map((l) => ({ tag: l, id: l.id, tagConfig: l.getConfig().unfoldedConfig })).filter(({ tagConfig: l }) => {
35293
35299
  var c, h;
35294
35300
  return !(typeof l == "function" || l.keep || l.autoUnfold === !1 || ((c = l.autoUnfold) == null ? void 0 : c.enable) === !1 || ((h = l.autoUnfold) == null ? void 0 : h.strategy) !== "MinimumDistance");
35295
- }).map((l) => oe(_({}, l), { distance: l.tag.getDistance() })).filter(({ distance: l, tagConfig: c }) => {
35301
+ }).map((l) => oe(j({}, l), { distance: l.tag.getDistance() })).filter(({ distance: l, tagConfig: c }) => {
35296
35302
  const h = c.autoUnfold.distance;
35297
35303
  return !(h && Uo(l, h) === !1);
35298
35304
  }).sort((l, c) => l.distance - c.distance).findIndex((l) => l.id === this.id);
@@ -35360,7 +35366,7 @@ class Eo {
35360
35366
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
35361
35367
  if (!this.enabled)
35362
35368
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
35363
- const t = oe(_({}, this.computeVisible()), {
35369
+ const t = oe(j({}, this.computeVisible()), {
35364
35370
  tagInstance: this
35365
35371
  });
35366
35372
  return t.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: t } : this.state.visible ? { reason: "应该是能看见才对", info: t } : t.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: t } : { reason: (e = t.reason.type) != null ? e : t.reason, info: t };
@@ -35500,7 +35506,7 @@ class a8 extends Eo {
35500
35506
  * 使用屏幕空间反投影方法,确保任意视角下都保持固定像素距离
35501
35507
  */
35502
35508
  updateTagNormalLinePosition(e) {
35503
- var T, L, O, z, j, A, C;
35509
+ var T, L, O, z, _, A, C;
35504
35510
  if (!this.screenPosition || !this.tagNormalLine)
35505
35511
  return;
35506
35512
  const { force: i = !1 } = e != null ? e : {};
@@ -35514,7 +35520,7 @@ class a8 extends Eo {
35514
35520
  if (!x && !E)
35515
35521
  return;
35516
35522
  }
35517
- if (r.position = new y.Vector3().fromArray(this.position).toArray(), r.screenLeft = (z = this.screenPosition.leftPx) != null ? z : 0, r.screenTop = (j = this.screenPosition.topPx) != null ? j : 0, r.scale = (A = this.screenPosition.scale) != null ? A : 1, r.visible = this.visible, !this.five.renderer)
35523
+ if (r.position = new y.Vector3().fromArray(this.position).toArray(), r.screenLeft = (z = this.screenPosition.leftPx) != null ? z : 0, r.screenTop = (_ = this.screenPosition.topPx) != null ? _ : 0, r.scale = (A = this.screenPosition.scale) != null ? A : 1, r.visible = this.visible, !this.five.renderer)
35518
35524
  return;
35519
35525
  const a = this.five.renderer.getSize(zh), l = jt(
35520
35526
  Fe(this.originPosition),
@@ -35607,7 +35613,7 @@ class a8 extends Eo {
35607
35613
  const AA = 1, Gg = `CSS3DObject@${AA}`, l8 = 216e-5, c8 = 3e-3;
35608
35614
  class wA extends Wn {
35609
35615
  constructor(e) {
35610
- var T, L, O, z, j;
35616
+ var T, L, O, z, _;
35611
35617
  if (Ei(e.cornerPoints) && Ei(e.width))
35612
35618
  throw new Error("cornerPoints and width cannot be both empty");
35613
35619
  const i = (T = e.container) != null ? T : document.createElement("div"), s = (L = e.cornerPoints) != null ? L : (() => {
@@ -35618,7 +35624,7 @@ class wA extends Wn {
35618
35624
  new pe(A, -A, 0),
35619
35625
  new pe(A, A, 0)
35620
35626
  ];
35621
- })(), r = (O = e.ratio) != null ? O : c8, o = (z = e.dpr) != null ? z : 1, a = (j = e.pointerEvents) != null ? j : "auto", l = Math.max(l8, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]);
35627
+ })(), r = (O = e.ratio) != null ? O : c8, o = (z = e.dpr) != null ? z : 1, a = (_ = e.pointerEvents) != null ? _ : "auto", l = Math.max(l8, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]);
35622
35628
  let u = no(c / r * o), d = no(h / r * o);
35623
35629
  const p = kt(...s);
35624
35630
  let m;
@@ -35676,7 +35682,7 @@ class wA extends Wn {
35676
35682
  function PA(n) {
35677
35683
  return D1(n, { upAxis: "Y" }).then((t) => {
35678
35684
  const e = t.scene;
35679
- return e.needsRender = !0, e.mixer || (e.mixer = new y.AnimationMixer(e)), oe(_({}, t), { scene: e });
35685
+ return e.needsRender = !0, e.mixer || (e.mixer = new y.AnimationMixer(e)), oe(j({}, t), { scene: e });
35680
35686
  });
35681
35687
  }
35682
35688
  function h8(n) {
@@ -36284,10 +36290,10 @@ function P8(n, t, e) {
36284
36290
  let p, m, g = [];
36285
36291
  function v(L) {
36286
36292
  const O = [], z = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
36287
- return L.slice().replace(z, (j) => `${c}${h}${j}${c}`).split(c).forEach((j) => j.startsWith(h) ? O.push({
36293
+ return L.slice().replace(z, (_) => `${c}${h}${_}${c}`).split(c).forEach((_) => _.startsWith(h) ? O.push({
36288
36294
  id: Pt(),
36289
- content: j.slice(h.length)
36290
- }) : O.push(...j.split("").map((A) => A === " " ? u : A === `
36295
+ content: _.slice(h.length)
36296
+ }) : O.push(..._.split("").map((A) => A === " " ? u : A === `
36291
36297
  ` ? d : A).map((A) => ({ id: Pt(), content: A })))), O;
36292
36298
  }
36293
36299
  function b() {
@@ -36305,7 +36311,7 @@ function P8(n, t, e) {
36305
36311
  }
36306
36312
  function M(L) {
36307
36313
  const O = function() {
36308
- const z = Nk((j) => L[j].getBoundingClientRect().x, [Math.min(L.length - 1, 10), Math.min(L.length - 1, 30)]);
36314
+ const z = Nk((_) => L[_].getBoundingClientRect().x, [Math.min(L.length - 1, 10), Math.min(L.length - 1, 30)]);
36309
36315
  if (z > 0)
36310
36316
  return z;
36311
36317
  }();
@@ -38169,7 +38175,7 @@ function WT({
38169
38175
  head: 0,
38170
38176
  tail: 0
38171
38177
  };
38172
- return oe(_({}, i), {
38178
+ return oe(j({}, i), {
38173
38179
  total: i.head + i.tail
38174
38180
  });
38175
38181
  }
@@ -38422,8 +38428,8 @@ var Cl = V9, Ac = {}, N9 = {
38422
38428
  }
38423
38429
  };
38424
38430
  (function(n, t) {
38425
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, r = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", d = "[object Map]", p = "[object Number]", m = "[object Object]", g = "[object Promise]", v = "[object RegExp]", b = "[object Set]", w = "[object String]", M = "[object Symbol]", I = "[object WeakMap]", T = "[object ArrayBuffer]", L = "[object DataView]", O = "[object Float32Array]", z = "[object Float64Array]", j = "[object Int8Array]", A = "[object Int16Array]", C = "[object Int32Array]", x = "[object Uint8Array]", E = "[object Uint8ClampedArray]", S = "[object Uint16Array]", k = "[object Uint32Array]", R = /[\\^$.*+?()[\]{}|]/g, B = /\w*$/, Z = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, Y = {};
38426
- Y[r] = Y[o] = Y[T] = Y[L] = Y[a] = Y[l] = Y[O] = Y[z] = Y[j] = Y[A] = Y[C] = Y[d] = Y[p] = Y[m] = Y[v] = Y[b] = Y[w] = Y[M] = Y[x] = Y[E] = Y[S] = Y[k] = !0, Y[c] = Y[h] = Y[I] = !1;
38431
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, r = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", d = "[object Map]", p = "[object Number]", m = "[object Object]", g = "[object Promise]", v = "[object RegExp]", b = "[object Set]", w = "[object String]", M = "[object Symbol]", I = "[object WeakMap]", T = "[object ArrayBuffer]", L = "[object DataView]", O = "[object Float32Array]", z = "[object Float64Array]", _ = "[object Int8Array]", A = "[object Int16Array]", C = "[object Int32Array]", x = "[object Uint8Array]", E = "[object Uint8ClampedArray]", S = "[object Uint16Array]", k = "[object Uint32Array]", R = /[\\^$.*+?()[\]{}|]/g, B = /\w*$/, Z = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, Y = {};
38432
+ Y[r] = Y[o] = Y[T] = Y[L] = Y[a] = Y[l] = Y[O] = Y[z] = Y[_] = Y[A] = Y[C] = Y[d] = Y[p] = Y[m] = Y[v] = Y[b] = Y[w] = Y[M] = Y[x] = Y[E] = Y[S] = Y[k] = !0, Y[c] = Y[h] = Y[I] = !1;
38427
38433
  var J = typeof Ni == "object" && Ni && Ni.Object === Object && Ni, se = typeof self == "object" && self && self.Object === Object && self, re = J || se || Function("return this")(), Se = t && !t.nodeType && t, $ = Se && !0 && n && !n.nodeType && n, me = $ && $.exports === Se;
38428
38434
  function ae(D, G) {
38429
38435
  return D.set(G[0], G[1]), D;
@@ -38775,7 +38781,7 @@ var Cl = V9, Ac = {}, N9 = {
38775
38781
  return Qi(D, fe);
38776
38782
  case O:
38777
38783
  case z:
38778
- case j:
38784
+ case _:
38779
38785
  case A:
38780
38786
  case C:
38781
38787
  case x:
@@ -38875,7 +38881,7 @@ var wc = {}, G9 = {
38875
38881
  }
38876
38882
  };
38877
38883
  (function(n, t) {
38878
- var e = 200, i = "__lodash_hash_undefined__", s = 1, r = 2, o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", d = "[object Error]", p = "[object Function]", m = "[object GeneratorFunction]", g = "[object Map]", v = "[object Number]", b = "[object Null]", w = "[object Object]", M = "[object Promise]", I = "[object Proxy]", T = "[object RegExp]", L = "[object Set]", O = "[object String]", z = "[object Symbol]", j = "[object Undefined]", A = "[object WeakMap]", C = "[object ArrayBuffer]", x = "[object DataView]", E = "[object Float32Array]", S = "[object Float64Array]", k = "[object Int8Array]", R = "[object Int16Array]", B = "[object Int32Array]", Z = "[object Uint8Array]", te = "[object Uint8ClampedArray]", Y = "[object Uint16Array]", J = "[object Uint32Array]", se = /[\\^$.*+?()[\]{}|]/g, re = /^\[object .+?Constructor\]$/, Se = /^(?:0|[1-9]\d*)$/, $ = {};
38884
+ var e = 200, i = "__lodash_hash_undefined__", s = 1, r = 2, o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", d = "[object Error]", p = "[object Function]", m = "[object GeneratorFunction]", g = "[object Map]", v = "[object Number]", b = "[object Null]", w = "[object Object]", M = "[object Promise]", I = "[object Proxy]", T = "[object RegExp]", L = "[object Set]", O = "[object String]", z = "[object Symbol]", _ = "[object Undefined]", A = "[object WeakMap]", C = "[object ArrayBuffer]", x = "[object DataView]", E = "[object Float32Array]", S = "[object Float64Array]", k = "[object Int8Array]", R = "[object Int16Array]", B = "[object Int32Array]", Z = "[object Uint8Array]", te = "[object Uint8ClampedArray]", Y = "[object Uint16Array]", J = "[object Uint32Array]", se = /[\\^$.*+?()[\]{}|]/g, re = /^\[object .+?Constructor\]$/, Se = /^(?:0|[1-9]\d*)$/, $ = {};
38879
38885
  $[E] = $[S] = $[k] = $[R] = $[B] = $[Z] = $[te] = $[Y] = $[J] = !0, $[a] = $[l] = $[C] = $[h] = $[x] = $[u] = $[d] = $[p] = $[g] = $[v] = $[w] = $[T] = $[L] = $[O] = $[A] = !1;
38880
38886
  var me = typeof Ni == "object" && Ni && Ni.Object === Object && Ni, ae = typeof self == "object" && self && self.Object === Object && self, ce = me || ae || Function("return this")(), we = t && !t.nodeType && t, ie = we && !0 && n && !n.nodeType && n, Ce = ie && ie.exports === we, Re = Ce && me.process, be = function() {
38881
38887
  try {
@@ -39090,7 +39096,7 @@ var wc = {}, G9 = {
39090
39096
  return Tr(D) ? fe : de(fe, ne(D));
39091
39097
  }
39092
39098
  function Qi(D) {
39093
- return D == null ? D === void 0 ? j : b : Si && Si in Object(D) ? le(D) : li(D);
39099
+ return D == null ? D === void 0 ? _ : b : Si && Si in Object(D) ? le(D) : li(D);
39094
39100
  }
39095
39101
  function ss(D) {
39096
39102
  return on(D) && Qi(D) == a;
@@ -40303,7 +40309,7 @@ function d7(n, t, e) {
40303
40309
  loaded: () => e(6, r = de)
40304
40310
  })(ge);
40305
40311
  }), g = Xn();
40306
- let { timingFunction: v = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: M = 0 } = t, { duration: I = 500 } = t, { autoplay: T = !1 } = t, { autoplayDuration: L = 3e3 } = t, { autoplayDirection: O = Is } = t, { pauseOnFocus: z = !1 } = t, { autoplayProgressVisible: j = !1 } = t, { dots: A = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: x = 1 } = t, { particlesToScroll: E = 1 } = t;
40312
+ let { timingFunction: v = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: M = 0 } = t, { duration: I = 500 } = t, { autoplay: T = !1 } = t, { autoplayDuration: L = 3e3 } = t, { autoplayDirection: O = Is } = t, { pauseOnFocus: z = !1 } = t, { autoplayProgressVisible: _ = !1 } = t, { dots: A = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: x = 1 } = t, { particlesToScroll: E = 1 } = t;
40307
40313
  function S(ge, de) {
40308
40314
  return K(this, null, function* () {
40309
40315
  const Oe = ca(de, "animated", !0);
@@ -40399,7 +40405,7 @@ function d7(n, t, e) {
40399
40405
  }
40400
40406
  const De = (ge) => se(ge.detail);
40401
40407
  return n.$$set = (ge) => {
40402
- "timingFunction" in ge && e(0, v = ge.timingFunction), "arrows" in ge && e(1, b = ge.arrows), "infinite" in ge && e(2, w = ge.infinite), "initialPageIndex" in ge && e(24, M = ge.initialPageIndex), "duration" in ge && e(25, I = ge.duration), "autoplay" in ge && e(26, T = ge.autoplay), "autoplayDuration" in ge && e(27, L = ge.autoplayDuration), "autoplayDirection" in ge && e(28, O = ge.autoplayDirection), "pauseOnFocus" in ge && e(29, z = ge.pauseOnFocus), "autoplayProgressVisible" in ge && e(3, j = ge.autoplayProgressVisible), "dots" in ge && e(4, A = ge.dots), "swiping" in ge && e(30, C = ge.swiping), "particlesToShow" in ge && e(31, x = ge.particlesToShow), "particlesToScroll" in ge && e(32, E = ge.particlesToScroll), "$$scope" in ge && e(36, s = ge.$$scope);
40408
+ "timingFunction" in ge && e(0, v = ge.timingFunction), "arrows" in ge && e(1, b = ge.arrows), "infinite" in ge && e(2, w = ge.infinite), "initialPageIndex" in ge && e(24, M = ge.initialPageIndex), "duration" in ge && e(25, I = ge.duration), "autoplay" in ge && e(26, T = ge.autoplay), "autoplayDuration" in ge && e(27, L = ge.autoplayDuration), "autoplayDirection" in ge && e(28, O = ge.autoplayDirection), "pauseOnFocus" in ge && e(29, z = ge.pauseOnFocus), "autoplayProgressVisible" in ge && e(3, _ = ge.autoplayProgressVisible), "dots" in ge && e(4, A = ge.dots), "swiping" in ge && e(30, C = ge.swiping), "particlesToShow" in ge && e(31, x = ge.particlesToShow), "particlesToScroll" in ge && e(32, E = ge.particlesToScroll), "$$scope" in ge && e(36, s = ge.$$scope);
40403
40409
  }, n.$$.update = () => {
40404
40410
  n.$$.dirty[0] & /*currentPageIndex*/
40405
40411
  32 && g("pageChange", o), n.$$.dirty[0] & /*infinite*/
@@ -40415,7 +40421,7 @@ function d7(n, t, e) {
40415
40421
  v,
40416
40422
  b,
40417
40423
  w,
40418
- j,
40424
+ _,
40419
40425
  A,
40420
40426
  o,
40421
40427
  r,
@@ -40831,7 +40837,7 @@ function A7(n, t, e) {
40831
40837
  L(), b == null || b.dispose(), w(), C.off("loadVideoFirstFrame", x), document.removeEventListener("WeixinJSBridgeReady", x), document.removeEventListener("touchstart", x), document.removeEventListener("click", x);
40832
40838
  });
40833
40839
  let z = !1;
40834
- function j() {
40840
+ function _() {
40835
40841
  e(9, z = (a == null ? void 0 : a.type) === "Video" && !!a.videoCoverUrl);
40836
40842
  }
40837
40843
  const A = pn("mediaStore"), C = pn("hooks"), x = () => {
@@ -40885,7 +40891,7 @@ function A7(n, t, e) {
40885
40891
  if (n.$$.dirty[0] & /*mediaInstance*/
40886
40892
  1 && e(10, i = r.videoInstance), n.$$.dirty[0] & /*media*/
40887
40893
  4 && e(17, s = a == null ? void 0 : a.url), n.$$.dirty[0] & /*mediaUrl*/
40888
- 131072 && s && j(), n.$$.dirty[0] & /*videoInstance*/
40894
+ 131072 && s && _(), n.$$.dirty[0] & /*videoInstance*/
40889
40895
  1024 && i && e(11, m = i.paused), n.$$.dirty[0] & /*media, videoPosterLoaded, videoInstance*/
40890
40896
  1540 && (a == null ? void 0 : a.type) === "Video" && !z) {
40891
40897
  const J = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, re = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && J;
@@ -41318,7 +41324,7 @@ function I7(n, t, e) {
41318
41324
  let i, s, r, o, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: h = 0 } = t, { duration: u = 0 } = t, { unfolded: d = !0 } = t, { animation: p = !0 } = t, { mediaItemConfig: m } = t, { enableCarousel: g = !0 } = t, { autoplayConfig: v = {} } = t;
41319
41325
  const { autoplayVideo: b = !1, autoplayCarousel: w = !0, autoplayVideoInCarousel: M = !1 } = v;
41320
41326
  let I = [], T = 0, L, O = null;
41321
- const z = pn("hooks"), j = pn("mediaStore");
41327
+ const z = pn("hooks"), _ = pn("mediaStore");
41322
41328
  function A() {
41323
41329
  var B, Z;
41324
41330
  const k = I[T], R = k == null ? void 0 : k.videoInstance;
@@ -41362,7 +41368,7 @@ function I7(n, t, e) {
41362
41368
  });
41363
41369
  }
41364
41370
  const E = (k) => {
41365
- i || j.set({ currentMediaElement: null }), e(11, T = k.detail);
41371
+ i || _.set({ currentMediaElement: null }), e(11, T = k.detail);
41366
41372
  };
41367
41373
  function S(k) {
41368
41374
  n.$$.not_equal(I[0], k) && (I[0] = k, e(8, I));
@@ -41391,7 +41397,7 @@ function I7(n, t, e) {
41391
41397
  L,
41392
41398
  s,
41393
41399
  b,
41394
- j,
41400
+ _,
41395
41401
  g,
41396
41402
  v,
41397
41403
  C,
@@ -42031,7 +42037,7 @@ function _7(n) {
42031
42037
  ), z = (
42032
42038
  /*hasTags*/
42033
42039
  n[11] && O0(n)
42034
- ), j = (
42040
+ ), _ = (
42035
42041
  /*showMedia*/
42036
42042
  n[15] && /*mediaData*/
42037
42043
  n[16] && /*mediaData*/
@@ -42049,7 +42055,7 @@ function _7(n) {
42049
42055
  );
42050
42056
  return {
42051
42057
  c() {
42052
- t = W("div"), Ae(e.$$.fragment), i = ue(), s = W("div"), r = ue(), o = W("div"), O && O.c(), a = ue(), l = W("div"), c = W("div"), h = W("div"), u = W("div"), p = Be(d), m = ue(), z && z.c(), g = ue(), j && j.c(), v = ue(), A && A.c(), b = ue(), C && C.c(), w = ue(), x && x.c(), P(s, "class", "line svelte-biv7k0"), F(
42058
+ t = W("div"), Ae(e.$$.fragment), i = ue(), s = W("div"), r = ue(), o = W("div"), O && O.c(), a = ue(), l = W("div"), c = W("div"), h = W("div"), u = W("div"), p = Be(d), m = ue(), z && z.c(), g = ue(), _ && _.c(), v = ue(), A && A.c(), b = ue(), C && C.c(), w = ue(), x && x.c(), P(s, "class", "line svelte-biv7k0"), F(
42053
42059
  s,
42054
42060
  "transition-delay",
42055
42061
  /*unfolded*/
@@ -42100,7 +42106,7 @@ function _7(n) {
42100
42106
  );
42101
42107
  },
42102
42108
  m(E, S) {
42103
- X(E, t, S), ve(e, t, null), V(t, i), V(t, s), V(t, r), V(t, o), O && O.m(o, null), V(o, a), V(o, l), V(l, c), V(c, h), V(h, u), V(u, p), V(l, m), z && z.m(l, null), V(l, g), j && j.m(l, null), V(l, v), A && A.m(l, null), V(l, b), C && C.m(l, null), V(l, w), x && x.m(l, null), I = !0, T || (L = je(
42109
+ X(E, t, S), ve(e, t, null), V(t, i), V(t, s), V(t, r), V(t, o), O && O.m(o, null), V(o, a), V(o, l), V(l, c), V(c, h), V(h, u), V(u, p), V(l, m), z && z.m(l, null), V(l, g), _ && _.m(l, null), V(l, v), A && A.m(l, null), V(l, b), C && C.m(l, null), V(l, w), x && x.m(l, null), I = !0, T || (L = je(
42104
42110
  window,
42105
42111
  "resize",
42106
42112
  /*onwindowresize*/
@@ -42130,9 +42136,9 @@ function _7(n) {
42130
42136
  E[11] ? z ? z.p(E, S) : (z = O0(E), z.c(), z.m(l, g)) : z && (z.d(1), z = null), /*showMedia*/
42131
42137
  E[15] && /*mediaData*/
42132
42138
  E[16] && /*mediaData*/
42133
- E[16].length > 0 ? j ? (j.p(E, S), S[0] & /*showMedia, mediaData*/
42134
- 98304 && N(j, 1)) : (j = j0(E), j.c(), N(j, 1), j.m(l, v)) : j && (ke(), q(j, 1, 1, () => {
42135
- j = null;
42139
+ E[16].length > 0 ? _ ? (_.p(E, S), S[0] & /*showMedia, mediaData*/
42140
+ 98304 && N(_, 1)) : (_ = j0(E), _.c(), N(_, 1), _.m(l, v)) : _ && (ke(), q(_, 1, 1, () => {
42141
+ _ = null;
42136
42142
  }), Te()), /*data*/
42137
42143
  E[2].description ? A ? A.p(E, S) : (A = F0(E), A.c(), A.m(l, b)) : A && (A.d(1), A = null), /*havePrice*/
42138
42144
  E[3] || /*data*/
@@ -42185,19 +42191,19 @@ function _7(n) {
42185
42191
  );
42186
42192
  },
42187
42193
  i(E) {
42188
- I || (N(e.$$.fragment, E), N(j), I = !0);
42194
+ I || (N(e.$$.fragment, E), N(_), I = !0);
42189
42195
  },
42190
42196
  o(E) {
42191
- q(e.$$.fragment, E), q(j), I = !1;
42197
+ q(e.$$.fragment, E), q(_), I = !1;
42192
42198
  },
42193
42199
  d(E) {
42194
- E && Q(t), ye(e), O && O.d(), z && z.d(), j && j.d(), A && A.d(), C && C.d(), x && x.d(), T = !1, L();
42200
+ E && Q(t), ye(e), O && O.d(), z && z.d(), _ && _.d(), A && A.d(), C && C.d(), x && x.d(), T = !1, L();
42195
42201
  }
42196
42202
  };
42197
42203
  }
42198
42204
  const j7 = 499, F7 = 238, B7 = 280, wf = 40;
42199
42205
  function V7(n, t, e) {
42200
- let i, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, { tag: L } = t, O = 0, z, j = 0, A = !1;
42206
+ let i, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, { tag: L } = t, O = 0, z, _ = 0, A = !1;
42201
42207
  function C(S) {
42202
42208
  Math.abs(z - S) > 5 && (e(20, z = S), setTimeout(
42203
42209
  () => {
@@ -42232,9 +42238,9 @@ function V7(n, t, e) {
42232
42238
  if (te === !0)
42233
42239
  return u ? F7 : B7;
42234
42240
  })()), n.$$.dirty[0] & /*tagsCalculated, maxWidth, tagsOffsetHeight, maxTagsLength*/
42235
- 7340096 && (!A || d && d > 0) && (e(21, j = Math.max(1, Math.floor(((d || 172) - 20) / wf))), z !== void 0 && z > 40 && e(21, j = Math.max(1, j - 1)), e(22, A = !0)), n.$$.dirty[0] & /*data, maxTagsLength*/
42236
- 2097156 && e(5, p = (r.brandTags || []).filter(Boolean).slice(0, j)), n.$$.dirty[0] & /*maxTagsLength, primaryTags*/
42237
- 2097184 && e(23, m = Math.max(0, j - p.length)), n.$$.dirty[0] & /*data, secondaryTagsLimit*/
42241
+ 7340096 && (!A || d && d > 0) && (e(21, _ = Math.max(1, Math.floor(((d || 172) - 20) / wf))), z !== void 0 && z > 40 && e(21, _ = Math.max(1, _ - 1)), e(22, A = !0)), n.$$.dirty[0] & /*data, maxTagsLength*/
42242
+ 2097156 && e(5, p = (r.brandTags || []).filter(Boolean).slice(0, _)), n.$$.dirty[0] & /*maxTagsLength, primaryTags*/
42243
+ 2097184 && e(23, m = Math.max(0, _ - p.length)), n.$$.dirty[0] & /*data, secondaryTagsLimit*/
42238
42244
  8388612 && e(4, g = (r.tags || []).filter(Boolean).slice(0, m)), n.$$.dirty[0] & /*primaryTags, secondaryTags*/
42239
42245
  48 && e(11, M = p.length > 0 || g.length > 0), n.$$.dirty[0] & /*havePrice, data*/
42240
42246
  12 && (o || r.highlightText), n.$$.dirty[0] & /*tag*/
@@ -42262,7 +42268,7 @@ function V7(n, t, e) {
42262
42268
  s,
42263
42269
  C,
42264
42270
  z,
42265
- j,
42271
+ _,
42266
42272
  A,
42267
42273
  m,
42268
42274
  u,
@@ -42660,7 +42666,7 @@ function U7(n, t, e) {
42660
42666
  e(
42661
42667
  6,
42662
42668
  p.onplay = (w) => {
42663
- h.emit("playStateChange", _({
42669
+ h.emit("playStateChange", j({
42664
42670
  event: w,
42665
42671
  state: "playing",
42666
42672
  mediaInstance: p
@@ -42670,7 +42676,7 @@ function U7(n, t, e) {
42670
42676
  ), e(
42671
42677
  6,
42672
42678
  p.onpause = (w) => {
42673
- h.emit("playStateChange", _({
42679
+ h.emit("playStateChange", j({
42674
42680
  event: w,
42675
42681
  state: "paused",
42676
42682
  mediaInstance: p
@@ -42680,7 +42686,7 @@ function U7(n, t, e) {
42680
42686
  ), e(
42681
42687
  6,
42682
42688
  p.onended = (w) => {
42683
- h.emit("playStateChange", _({
42689
+ h.emit("playStateChange", j({
42684
42690
  event: w,
42685
42691
  state: "paused",
42686
42692
  mediaInstance: p
@@ -42711,7 +42717,7 @@ function U7(n, t, e) {
42711
42717
  w !== p && (m || p == null || p.pause());
42712
42718
  });
42713
42719
  function b(w) {
42714
- p && (h.emit("click", _({
42720
+ p && (h.emit("click", j({
42715
42721
  event: w,
42716
42722
  target: "AudioTagPlayIcon",
42717
42723
  audioInstance: p
@@ -43837,7 +43843,7 @@ function m6(n) {
43837
43843
  const o = jA(t);
43838
43844
  return jh.set(t, o), o;
43839
43845
  })(), { width: s, height: r } = yield i;
43840
- return oe(_({}, n), {
43846
+ return oe(j({}, n), {
43841
43847
  width: s / e,
43842
43848
  height: r / e
43843
43849
  });
@@ -43849,7 +43855,7 @@ function g6(n) {
43849
43855
  if (!t)
43850
43856
  throw new Error("KeyframeIcon requires steps");
43851
43857
  const { width: r, height: o } = yield jA(e), a = r / i, l = o / i, c = a / t, h = l, u = 1 / s * t + "s";
43852
- return oe(_({}, n), {
43858
+ return oe(j({}, n), {
43853
43859
  width: c,
43854
43860
  height: h,
43855
43861
  duration: u
@@ -44620,7 +44626,7 @@ function z6(n) {
44620
44626
  }
44621
44627
  function vs(n) {
44622
44628
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, r = (s != null ? s : t) * i, o = typeof e == "number" ? r * (e / t) : void 0;
44623
- return oe(_({}, n), { width: r, height: o });
44629
+ return oe(j({}, n), { width: r, height: o });
44624
44630
  }
44625
44631
  function ta(n) {
44626
44632
  if (!n)
@@ -44643,7 +44649,7 @@ function O6(n, t, e) {
44643
44649
  function I(S) {
44644
44650
  return K(this, null, function* () {
44645
44651
  if (typeof m == "number")
44646
- return oe(_({}, S), { width: m });
44652
+ return oe(j({}, S), { width: m });
44647
44653
  const k = yield m6(S);
44648
44654
  return w("iconLoaded", k), k;
44649
44655
  });
@@ -44655,19 +44661,19 @@ function O6(n, t, e) {
44655
44661
  T();
44656
44662
  });
44657
44663
  let L = null, O = null, z = null;
44658
- const j = /* @__PURE__ */ new Map();
44664
+ const _ = /* @__PURE__ */ new Map();
44659
44665
  let A = null;
44660
44666
  function C(S) {
44661
44667
  return K(this, null, function* () {
44662
- const k = j.get(S);
44668
+ const k = _.get(S);
44663
44669
  if (k)
44664
44670
  return yield k;
44665
44671
  const R = fetch(S, { cache: "force-cache" }).then((B) => B.text());
44666
- j.set(S, R);
44672
+ _.set(S, R);
44667
44673
  try {
44668
44674
  return yield R;
44669
44675
  } catch (B) {
44670
- throw j.delete(S), B;
44676
+ throw _.delete(S), B;
44671
44677
  }
44672
44678
  });
44673
44679
  }
@@ -45017,7 +45023,7 @@ function N6(n) {
45017
45023
  }
45018
45024
  function H6(n) {
45019
45025
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, r = (s != null ? s : t) * i, o = typeof e == "number" ? r * (e / t) : void 0;
45020
- return oe(_({}, n), { width: r, height: o });
45026
+ return oe(j({}, n), { width: r, height: o });
45021
45027
  }
45022
45028
  function G6(n, t, e) {
45023
45029
  let i, s, r, o, a, { width: l = null } = t, { icon: c = null } = t, { shadow: h = !1 } = t;
@@ -45754,9 +45760,9 @@ function dD(n, t, e) {
45754
45760
  function w(z) {
45755
45761
  z ? h.emit("exposure", { id: o, type: "start" }) : h.emit("exposure", { id: o, type: "end" });
45756
45762
  }
45757
- function M(z, j, A) {
45763
+ function M(z, _, A) {
45758
45764
  var C, x;
45759
- return !(!z.enabled || !j.visible || !j.enabled || !A.visible || !((C = z.state) != null && C.visible) || ((x = z.temporaryState) == null ? void 0 : x.visible) === !1 || z instanceof BA && z.loading);
45765
+ return !(!z.enabled || !_.visible || !_.enabled || !A.visible || !((C = z.state) != null && C.visible) || ((x = z.temporaryState) == null ? void 0 : x.visible) === !1 || z instanceof BA && z.loading);
45760
45766
  }
45761
45767
  function I(z) {
45762
45768
  Je[z ? "unshift" : "push"](() => {
@@ -45775,10 +45781,10 @@ function dD(n, t, e) {
45775
45781
  return n.$$set = (z) => {
45776
45782
  "tag" in z && e(0, c = z.tag), "hooks" in z && e(1, h = z.hooks), "rendererMap" in z && e(2, u = z.rendererMap), "contentTypeMap" in z && e(3, d = z.contentTypeMap), "state" in z && e(6, p = z.state), "mediaStore" in z && e(7, m = z.mediaStore), "temporaryState" in z && e(8, g = z.temporaryState);
45777
45783
  }, n.$$.update = () => {
45778
- var z, j, A, C, x, E, S, k, R, B, Z;
45784
+ var z, _, A, C, x, E, S, k, R, B, Z;
45779
45785
  n.$$.dirty & /*tag*/
45780
45786
  1 && e(12, i = (z = c.state) == null ? void 0 : z.unfolded), n.$$.dirty & /*tag*/
45781
- 1 && e(11, s = (j = c.state) == null ? void 0 : j.visible), n.$$.dirty & /*state, temporaryState, tag*/
45787
+ 1 && e(11, s = (_ = c.state) == null ? void 0 : _.visible), n.$$.dirty & /*state, temporaryState, tag*/
45782
45788
  321 && e(13, r = p.visible && g.visible && ((A = c.state) == null ? void 0 : A.visible)), n.$$.dirty & /*tag*/
45783
45789
  1 && (o = c.id), n.$$.dirty & /*tag, state, temporaryState*/
45784
45790
  321 && e(5, a = !M(c, p, g)), n.$$.dirty & /*isVisible*/
@@ -45868,7 +45874,7 @@ class BA extends Eo {
45868
45874
  c.classList.add("tag-media-container");
45869
45875
  const h = "black";
45870
45876
  c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
45871
- const u = _({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new wA(oe(_({}, u), { mode: d })), m = this.computeNormal();
45877
+ const u = j({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new wA(oe(j({}, u), { mode: d })), m = this.computeNormal();
45872
45878
  p.position.add(m.clone().setLength(cn.Z_FIGHTING_OFFSET)), s.add(p);
45873
45879
  let g;
45874
45880
  p.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, p, (b) => {
@@ -46244,7 +46250,7 @@ function CD(n, t) {
46244
46250
  return n;
46245
46251
  }
46246
46252
  function MD(n) {
46247
- const t = ar(_({
46253
+ const t = ar(j({
46248
46254
  position: "absolute",
46249
46255
  display: "block",
46250
46256
  borderRadius: "4px",
@@ -46480,7 +46486,7 @@ function kD() {
46480
46486
  ] };
46481
46487
  }
46482
46488
  function cs(n) {
46483
- const t = ar(_({
46489
+ const t = ar(j({
46484
46490
  background: "#FFFF00",
46485
46491
  width: "9px",
46486
46492
  height: "9px",
@@ -46990,11 +46996,11 @@ class GA {
46990
46996
  f(this, "camera");
46991
46997
  f(this, "container");
46992
46998
  f(this, "defaults");
46993
- this.camera = t, this.container = e, this.defaults = _({}, i || {});
46999
+ this.camera = t, this.container = e, this.defaults = j({}, i || {});
46994
47000
  }
46995
47001
  /** 创建无限长直线(Line + LineBasicMaterial),穿过整个平面 */
46996
47002
  createSolidLine(t, e, i) {
46997
- const s = _(_({ color: 16777215, renderOrder: Ki.DRAG_GUIDE_LINE }, this.defaults), i || {}), r = e.clone().normalize(), o = this.computeInfiniteLineLength(t), a = t.clone().add(r.clone().multiplyScalar(-o)), l = t.clone().add(r.clone().multiplyScalar(o)), c = new Float32Array([a.x, a.y, a.z, l.x, l.y, l.z]), h = new y.BufferGeometry();
47003
+ const s = j(j({ color: 16777215, renderOrder: Ki.DRAG_GUIDE_LINE }, this.defaults), i || {}), r = e.clone().normalize(), o = this.computeInfiniteLineLength(t), a = t.clone().add(r.clone().multiplyScalar(-o)), l = t.clone().add(r.clone().multiplyScalar(o)), c = new Float32Array([a.x, a.y, a.z, l.x, l.y, l.z]), h = new y.BufferGeometry();
46998
47004
  h.setAttribute("position", new y.BufferAttribute(c, 3));
46999
47005
  const u = new y.LineBasicMaterial({
47000
47006
  color: s.color,
@@ -47024,7 +47030,7 @@ class GA {
47024
47030
  }
47025
47031
  /** 更新默认配置 */
47026
47032
  updateDefaults(t) {
47027
- this.defaults = _(_({}, this.defaults), t);
47033
+ this.defaults = j(j({}, this.defaults), t);
47028
47034
  }
47029
47035
  }
47030
47036
  var x1, S1;
@@ -47326,11 +47332,11 @@ class BD {
47326
47332
  return _D();
47327
47333
  if (!this.state.enabled && t.enabled !== !0 && t.disposed !== !0)
47328
47334
  return FD();
47329
- const i = _({}, this.state);
47330
- this.state = _(_({}, this.state), t), t.disposed !== void 0 && t.disposed !== i.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: i });
47335
+ const i = j({}, this.state);
47336
+ this.state = j(j({}, this.state), t), t.disposed !== void 0 && t.disposed !== i.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: i });
47331
47337
  }
47332
47338
  addControllers(t) {
47333
- this.controllers = _(_({}, this.controllers), t), this.setState(this.state);
47339
+ this.controllers = j(j({}, this.controllers), t), this.setState(this.state);
47334
47340
  }
47335
47341
  /**
47336
47342
  * @description 初始化 helpers 的位置
@@ -47636,7 +47642,7 @@ class ND extends Wa {
47636
47642
  this.scale(i);
47637
47643
  }
47638
47644
  scale(e) {
47639
- var j, A;
47645
+ var _, A;
47640
47646
  if (!this.startInfo)
47641
47647
  return;
47642
47648
  const i = this.originObject3D, { startPoint: s, plane: r } = this.startInfo, o = this.helperObject3D.cornerPositions;
@@ -47689,7 +47695,7 @@ class ND extends Wa {
47689
47695
  const w = new pe().subVectors(o[1], o[0]).length() / u.length(), M = new pe().subVectors(o[3], o[0]).length() / d.length(), I = new pe(w, M, 1), T = new y.Matrix4().scale(I);
47690
47696
  i.isCSS3DObjectPlus && i.applyScaleMatrix4 ? i.applyScaleMatrix4(T) : i.scale.applyMatrix4(T), s.position.copy(a);
47691
47697
  const L = new pe().addVectors(o[0], o[2]).divideScalar(2), O = new pe().subVectors(L, l), z = new y.Matrix4().setPosition(O);
47692
- i.applyMatrix4(z), (j = this.helperObject3D.css3DInstance) == null || j.css3DObject.applyMatrix4(z), (A = this.helperObject3D.plane) == null || A.applyMatrix4(z), this.internalHooks.emit("applyObjectScale", { matrix: T }), this.internalHooks.emit("applyObjectPosition", { matrix: z }), this.render();
47698
+ i.applyMatrix4(z), (_ = this.helperObject3D.css3DInstance) == null || _.css3DObject.applyMatrix4(z), (A = this.helperObject3D.plane) == null || A.applyMatrix4(z), this.internalHooks.emit("applyObjectScale", { matrix: T }), this.internalHooks.emit("applyObjectPosition", { matrix: z }), this.render();
47693
47699
  }
47694
47700
  dragEnd() {
47695
47701
  this.isDragging && (this.startInfo = void 0, this.isDragging = !1, "onScaleEnd" in this.helperObject3D && typeof this.helperObject3D.onScaleEnd == "function" && this.helperObject3D.onScaleEnd(), this.hooks.emit("scaleEnd"), this.render());
@@ -48498,8 +48504,8 @@ class WA extends Ds {
48498
48504
  return YD();
48499
48505
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
48500
48506
  return ZD();
48501
- const s = _({}, this.state);
48502
- this.state = _(_({}, this.state), e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: s });
48507
+ const s = j({}, this.state);
48508
+ this.state = j(j({}, this.state), e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: s });
48503
48509
  }
48504
48510
  getObject3DHelper(e) {
48505
48511
  return this.objectHelperMap.get(e);
@@ -48521,7 +48527,7 @@ class WA extends Ds {
48521
48527
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
48522
48528
  return;
48523
48529
  }
48524
- const s = new BD(), r = [], o = (M = this.five.getElement()) == null ? void 0 : M.parentElement, a = this.five.camera, c = _(_({}, {
48530
+ const s = new BD(), r = [], o = (M = this.five.getElement()) == null ? void 0 : M.parentElement, a = this.five.camera, c = j(j({}, {
48525
48531
  moveHelper: !0,
48526
48532
  rotateHelper: !0,
48527
48533
  scaleHelper: !0,
@@ -48532,7 +48538,7 @@ class WA extends Ds {
48532
48538
  return typeof I == "boolean" ? I : I.enable;
48533
48539
  }, w = {};
48534
48540
  if (b(h)) {
48535
- const I = _(_({}, this.getConfig(c.moveHelper)), c), T = new PD(e, _({}, I)), L = new Qo(
48541
+ const I = j(j({}, this.getConfig(c.moveHelper)), c), T = new PD(e, j({}, I)), L = new Qo(
48536
48542
  this.five,
48537
48543
  v,
48538
48544
  zD,
@@ -48545,7 +48551,7 @@ class WA extends Ds {
48545
48551
  w.moveController = L.helperController, r.push(() => L.dispose());
48546
48552
  }
48547
48553
  if (b(u)) {
48548
- const I = _(_({}, this.getConfig(c.rotateHelper)), c), T = new ED(e, _({ container: o }, I)), L = new Qo(
48554
+ const I = j(j({}, this.getConfig(c.rotateHelper)), c), T = new ED(e, j({ container: o }, I)), L = new Qo(
48549
48555
  this.five,
48550
48556
  v,
48551
48557
  VD,
@@ -48588,13 +48594,13 @@ class WA extends Ds {
48588
48594
  const z = e;
48589
48595
  if (!z || z.mode !== "front")
48590
48596
  return;
48591
- const j = (L = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? L : ad(this.five);
48592
- j && (this.css3DObjectParentMap.set(z, z.parent), z.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(j), (O = this.css3DRender.getBehindCSS3DObjectGroup()) == null || O.add(z), this.css3DRender.render(this.five.camera));
48597
+ const _ = (L = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? L : ad(this.five);
48598
+ _ && (this.css3DObjectParentMap.set(z, z.parent), z.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(_), (O = this.css3DRender.getBehindCSS3DObjectGroup()) == null || O.add(z), this.css3DRender.render(this.five.camera));
48593
48599
  } else
48594
48600
  e.isCSS3DObject && (this.css3DObjectModeMap.set(e, e.mode), e.mode = "behind");
48595
48601
  });
48596
48602
  } else {
48597
- const I = _(_({}, this.getConfig(c.scaleHelper)), c), T = new WD(e, I), L = new Qo(
48603
+ const I = j(j({}, this.getConfig(c.scaleHelper)), c), T = new WD(e, I), L = new Qo(
48598
48604
  this.five,
48599
48605
  v,
48600
48606
  XD,
@@ -48678,7 +48684,7 @@ class JD {
48678
48684
  return this._pointSelector;
48679
48685
  const t = (i = this.config) == null ? void 0 : i.magnifier;
48680
48686
  let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
48681
- return (s = this.config) != null && s.hideCursorCircle && (e = oe(_({}, e), { pointHelper: null })), this._pointSelector = new Fa(this.five, {
48687
+ return (s = this.config) != null && s.hideCursorCircle && (e = oe(j({}, e), { pointHelper: null })), this._pointSelector = new Fa(this.five, {
48682
48688
  mode: "cursor",
48683
48689
  helper: e,
48684
48690
  hitFilter: (r = this.config) == null ? void 0 : r.hitFilter
@@ -48765,7 +48771,7 @@ class QA extends Ii {
48765
48771
  if (o !== 0 && a === void 0)
48766
48772
  return;
48767
48773
  const l = (c = this.lines[o]) != null ? c : (() => {
48768
- const h = new xa(oe(_({}, this.style), {
48774
+ const h = new xa(oe(j({}, this.style), {
48769
48775
  pointVisibility: this.withDots ? { startPoint: o === 0, endPoint: !0 } : !1
48770
48776
  }));
48771
48777
  return this.lines[o] = h, this.add(h), h;
@@ -48774,7 +48780,7 @@ class QA extends Ii {
48774
48780
  }), s.length === 0 ? (this.lines.forEach((r) => r.removeFromParent()), this.lines = []) : s.length === 1 || this.lines.length > s.length - 1 && this.lines.splice(s.length - 1).forEach((r) => r.removeFromParent());
48775
48781
  }
48776
48782
  setStyle(e) {
48777
- this.paramsStyle = _(_({}, this.paramsStyle), e), this.lines.forEach((i) => i.setStyle(this.paramsStyle));
48783
+ this.paramsStyle = j(j({}, this.paramsStyle), e), this.lines.forEach((i) => i.setStyle(this.paramsStyle));
48778
48784
  }
48779
48785
  highlight() {
48780
48786
  this.lines.forEach((e) => e.highlight());
@@ -48785,13 +48791,13 @@ class QA extends Ii {
48785
48791
  }
48786
48792
  class vr extends QA {
48787
48793
  constructor(...e) {
48788
- super(oe(_({}, e[0]), { withDots: !1 }));
48794
+ super(oe(j({}, e[0]), { withDots: !1 }));
48789
48795
  f(this, "name", "PolylineMesh");
48790
48796
  }
48791
48797
  }
48792
48798
  class As extends QA {
48793
48799
  constructor(...e) {
48794
- super(oe(_({}, e[0]), { withDots: !0 }));
48800
+ super(oe(j({}, e[0]), { withDots: !0 }));
48795
48801
  f(this, "name", "PolylineWithDotsMesh");
48796
48802
  }
48797
48803
  }
@@ -48821,7 +48827,7 @@ class en extends Ii {
48821
48827
  const s = i != null ? i : this;
48822
48828
  return s.updateMatrixWorld(), l3(s, e);
48823
48829
  });
48824
- e != null && e.id && (this.uuid = e.id), this.config = _({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Ge((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = oe(_({}, e.style), { occlusionMode: this.config.occlusionMode })), Ge((r = this.config) == null ? void 0 : r.occlusionVisibility) && (e.style = oe(_({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ht("esc", () => {
48830
+ e != null && e.id && (this.uuid = e.id), this.config = j({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Ge((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = oe(j({}, e.style), { occlusionMode: this.config.occlusionMode })), Ge((r = this.config) == null ? void 0 : r.occlusionVisibility) && (e.style = oe(j({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ht("esc", () => {
48825
48831
  this.stopCreating();
48826
48832
  }), this.config.defaultAction && (ht("backspace, delete", () => {
48827
48833
  this.selected && this.delete();
@@ -48976,19 +48982,19 @@ class Ua extends eh {
48976
48982
  });
48977
48983
  // 移动中的处理
48978
48984
  f(this, "onMove", () => {
48979
- this.currentOperation && (this.currentOperation = oe(_({}, this.currentOperation), {
48985
+ this.currentOperation && (this.currentOperation = oe(j({}, this.currentOperation), {
48980
48986
  status: "moving"
48981
48987
  }), this.onObjectUpdate(!1));
48982
48988
  });
48983
48989
  // 旋转中的处理
48984
48990
  f(this, "onRotate", () => {
48985
- this.currentOperation && (this.currentOperation = oe(_({}, this.currentOperation), {
48991
+ this.currentOperation && (this.currentOperation = oe(j({}, this.currentOperation), {
48986
48992
  status: "rotating"
48987
48993
  }), this.onObjectUpdate(!1));
48988
48994
  });
48989
48995
  // 缩放中的处理
48990
48996
  f(this, "onScale", () => {
48991
- this.currentOperation && (this.currentOperation = oe(_({}, this.currentOperation), {
48997
+ this.currentOperation && (this.currentOperation = oe(j({}, this.currentOperation), {
48992
48998
  status: "scaling"
48993
48999
  }), this.onObjectUpdate(!1));
48994
49000
  });
@@ -49008,7 +49014,7 @@ class Ua extends eh {
49008
49014
  this.hooks.emit("objectUpdate");
49009
49015
  return;
49010
49016
  }
49011
- const i = oe(_({}, this.currentOperation), {
49017
+ const i = oe(j({}, this.currentOperation), {
49012
49018
  end_timestamp: e ? Date.now() : void 0,
49013
49019
  // 只在松手时设置结束时间
49014
49020
  is_handle_end: e
@@ -49024,7 +49030,7 @@ class Ua extends eh {
49024
49030
  enable() {
49025
49031
  super.enable();
49026
49032
  const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
49027
- lt.modules.object3DHelper.addObject3DHelper(this.originObject, _({ positionFrom: "boundingBox" }, e));
49033
+ lt.modules.object3DHelper.addObject3DHelper(this.originObject, j({ positionFrom: "boundingBox" }, e));
49028
49034
  const i = lt.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
49029
49035
  i.hooks.on("moveStart", this.onMoveStart), i.hooks.on("rotateStart", this.onRotateStart), i.hooks.on("scaleStart", this.onScaleStart), i.hooks.on("move", this.onMove), i.hooks.on("rotate", this.onRotate), i.hooks.on("scale", this.onScale), i.hooks.on("moveEnd", this.onMoveEnd), i.hooks.on("rotateEnd", this.onRotateEnd), i.hooks.on("scaleEnd", this.onScaleEnd);
49030
49036
  }
@@ -49103,13 +49109,13 @@ class cv extends en {
49103
49109
  f(this, "polyLineMesh");
49104
49110
  f(this, "_editor");
49105
49111
  f(this, "creatingObject");
49106
- e && (this.polyLineMesh = new As(_(_({}, e.style), e)), this.add(this.polyLineMesh));
49112
+ e && (this.polyLineMesh = new As(j(j({}, e.style), e)), this.add(this.polyLineMesh));
49107
49113
  }
49108
49114
  get editor() {
49109
49115
  return this._editor || (this._editor = new eL(this)), this._editor;
49110
49116
  }
49111
49117
  get data() {
49112
- return oe(_({}, this.baseData), {
49118
+ return oe(j({}, this.baseData), {
49113
49119
  points: di(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
49114
49120
  style: {
49115
49121
  lineColor: new y.Color(this.polyLineMesh.lineColor).getHex(),
@@ -49160,7 +49166,7 @@ function tL(n, t, e) {
49160
49166
  return;
49161
49167
  const { promise: s, resolve: r, reject: o } = br(), a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new vr(n.style);
49162
49168
  i.add(l);
49163
- const c = new vr(oe(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
49169
+ const c = new vr(oe(j({}, n.style), { dashed: !0, lengthEnable: !1 }));
49164
49170
  i.add(c), t.enable();
49165
49171
  const h = [];
49166
49172
  let u, d, p;
@@ -49215,13 +49221,13 @@ class hv extends en {
49215
49221
  f(this, "type", "Point");
49216
49222
  f(this, "pointMesh");
49217
49223
  f(this, "_editor");
49218
- e && (this.pointMesh = new vn(_(_({}, e.style), e)), this.add(this.pointMesh));
49224
+ e && (this.pointMesh = new vn(j(j({}, e.style), e)), this.add(this.pointMesh));
49219
49225
  }
49220
49226
  get editor() {
49221
49227
  return this._editor || (this._editor = new iL(this)), this._editor;
49222
49228
  }
49223
49229
  get data() {
49224
- return oe(_({}, this.baseData), {
49230
+ return oe(j({}, this.baseData), {
49225
49231
  point: di(this.applyObjectMatrixWorld(this.pointMesh.position)),
49226
49232
  style: {
49227
49233
  color: this.pointMesh.color.getHex(),
@@ -49281,7 +49287,7 @@ class Fu extends Co {
49281
49287
  i && this.setPoints(i), s && this.setStyle(s);
49282
49288
  }
49283
49289
  get style() {
49284
- return oe(_({}, super.style), {
49290
+ return oe(j({}, super.style), {
49285
49291
  lineWidth: this.lineWidth,
49286
49292
  lineColor: this.lineColor
49287
49293
  });
@@ -49298,10 +49304,10 @@ class Fu extends Co {
49298
49304
  }), !1;
49299
49305
  }
49300
49306
  setPoints(e, i) {
49301
- super.setPoints(e, _({ closed: !0 }, i)), this.points && (this.line.setPoints(this.points, _({ closed: !0 }, i)), this.addIfNotExists(this.line));
49307
+ super.setPoints(e, j({ closed: !0 }, i)), this.points && (this.line.setPoints(this.points, j({ closed: !0 }, i)), this.addIfNotExists(this.line));
49302
49308
  }
49303
49309
  setStyle(e) {
49304
- super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(oe(_({}, e), {
49310
+ super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(oe(j({}, e), {
49305
49311
  // 强制设置line的lineOpacity
49306
49312
  lineOpacity: e.lineOpacity
49307
49313
  })) : this.line.setStyle(e), this.needsRender = !0;
@@ -49469,7 +49475,7 @@ class Vu extends en {
49469
49475
  f(this, "maxHistorySize", 50);
49470
49476
  f(this, "_editor");
49471
49477
  f(this, "creatingObject");
49472
- e && (this.areaMesh = new Bu(_(_({}, e.style), e)), this.areaMesh.userData = (s = this.areaMesh.userData) != null ? s : {}, typeof this.areaMesh.userData.dragSelectPixelDistance != "number" && (this.areaMesh.userData.dragSelectPixelDistance = 10), this.add(this.areaMesh));
49478
+ e && (this.areaMesh = new Bu(j(j({}, e.style), e)), this.areaMesh.userData = (s = this.areaMesh.userData) != null ? s : {}, typeof this.areaMesh.userData.dragSelectPixelDistance != "number" && (this.areaMesh.userData.dragSelectPixelDistance = 10), this.add(this.areaMesh));
49473
49479
  }
49474
49480
  get editor() {
49475
49481
  return this._editor || (this._editor = new nL(this)), this._editor;
@@ -49480,7 +49486,7 @@ class Vu extends en {
49480
49486
  typeof e == "function" && e(), this._editor && this._editor.updatePointMeshes();
49481
49487
  }
49482
49488
  get data() {
49483
- return this.updateMatrixWorld(), oe(_({}, this.baseData), {
49489
+ return this.updateMatrixWorld(), oe(j({}, this.baseData), {
49484
49490
  points: di(this.applyObjectMatrixWorld(this.areaMesh.points)),
49485
49491
  style: {
49486
49492
  color: this.areaMesh.color.getHex(),
@@ -49571,7 +49577,7 @@ function kf(n, t, e) {
49571
49577
  l && c && c.model && c.model.bounding && typeof ((Se = c.model.bounding.max) == null ? void 0 : Se.y) == "number" && (u = c.model.bounding.max.y + 1);
49572
49578
  const d = new vr(n.style);
49573
49579
  o == null || o.add(d);
49574
- const p = new vr(oe(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
49580
+ const p = new vr(oe(j({}, n.style), { dashed: !0, lengthEnable: !1 }));
49575
49581
  o == null || o.add(p);
49576
49582
  let m = [];
49577
49583
  const g = ($ = w) => {
@@ -49589,7 +49595,7 @@ function kf(n, t, e) {
49589
49595
  const $ = (ae = (me = n.line) == null ? void 0 : me.style) != null ? ae : n.style;
49590
49596
  m = w.map((ce, we) => {
49591
49597
  var Ce, Re;
49592
- const ie = new vn(oe(_({}, $), {
49598
+ const ie = new vn(oe(j({}, $), {
49593
49599
  color: (Ce = $.pointColor) != null ? Ce : $.lineColor,
49594
49600
  tip: void 0,
49595
49601
  point: ce
@@ -49606,12 +49612,12 @@ function kf(n, t, e) {
49606
49612
  t.enable(), l && t.setAdherePoints([]);
49607
49613
  const w = [];
49608
49614
  let M, I, T = !1, L;
49609
- const O = [], z = () => w.length > 0, j = () => O.length > 0, A = () => {
49615
+ const O = [], z = () => w.length > 0, _ = () => O.length > 0, A = () => {
49610
49616
  var $;
49611
49617
  z() && (O.push(w.pop()), E(L), v(), ($ = e == null ? void 0 : e.onUndo) == null || $.call(e), t.pointSelectorHelper && t.pointSelectorHelper.magnifier && t.pointSelectorHelper.magnifier.render());
49612
49618
  }, C = () => {
49613
49619
  var $;
49614
- j() && (w.push(O.pop()), E(L), v(), ($ = e == null ? void 0 : e.onRedo) == null || $.call(e), t.pointSelectorHelper && t.pointSelectorHelper.magnifier && t.pointSelectorHelper.magnifier.render());
49620
+ _() && (w.push(O.pop()), E(L), v(), ($ = e == null ? void 0 : e.onRedo) == null || $.call(e), t.pointSelectorHelper && t.pointSelectorHelper.magnifier && t.pointSelectorHelper.magnifier.render());
49615
49621
  }, x = ($) => {
49616
49622
  var ae, ce;
49617
49623
  O.length = 0;
@@ -49663,7 +49669,7 @@ function kf(n, t, e) {
49663
49669
  return t.on("select", x), t.on("intersectionUpdate", E), t.on("disable", k), {
49664
49670
  finished: i,
49665
49671
  canUndo: z,
49666
- canRedo: j,
49672
+ canRedo: _,
49667
49673
  undo: A,
49668
49674
  redo: C
49669
49675
  };
@@ -49947,7 +49953,7 @@ class lr extends Ii {
49947
49953
  return this.edgeMesh.color;
49948
49954
  }
49949
49955
  setStyle(e = {}) {
49950
- this.paramStyle = _(_({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
49956
+ this.paramStyle = j(j({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
49951
49957
  }
49952
49958
  /**
49953
49959
  * Check if the prism is a box (has 4 bottom positions)
@@ -50175,13 +50181,13 @@ class fv extends en {
50175
50181
  f(this, "type", "Prism");
50176
50182
  f(this, "prismMesh");
50177
50183
  f(this, "_editor");
50178
- e && (this.prismMesh = new lr(_(_({}, e.style), e)), this.add(this.prismMesh));
50184
+ e && (this.prismMesh = new lr(j(j({}, e.style), e)), this.add(this.prismMesh));
50179
50185
  }
50180
50186
  get editor() {
50181
50187
  return this._editor || (this._editor = new YA(this.prismMesh)), this._editor;
50182
50188
  }
50183
50189
  get data() {
50184
- return oe(_({}, this.baseData), {
50190
+ return oe(j({}, this.baseData), {
50185
50191
  points: di(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
50186
50192
  heightPoint: di(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
50187
50193
  style: {
@@ -50302,7 +50308,7 @@ class ZA extends Ua {
50302
50308
  const u = h, d = (u + 2) % 4, p = (u + 1) % 4, m = (u + 3) % 4, g = l[u].clone(), v = i.clone(), b = l[p].clone().sub(g), w = l[m].clone().sub(g), M = b.length(), I = w.length();
50303
50309
  if (M < 1e-6 || I < 1e-6)
50304
50310
  return l.map((S) => S.clone());
50305
- const T = b.clone().normalize(), L = w.clone().normalize(), O = v.clone().sub(g), z = O.dot(T), j = O.dot(L), A = g.clone().add(T.clone().multiplyScalar(z)), C = g.clone().add(L.clone().multiplyScalar(j)), x = g.clone().add(T.clone().multiplyScalar(z)).add(L.clone().multiplyScalar(j)), E = l.map((S) => S.clone());
50311
+ const T = b.clone().normalize(), L = w.clone().normalize(), O = v.clone().sub(g), z = O.dot(T), _ = O.dot(L), A = g.clone().add(T.clone().multiplyScalar(z)), C = g.clone().add(L.clone().multiplyScalar(_)), x = g.clone().add(T.clone().multiplyScalar(z)).add(L.clone().multiplyScalar(_)), E = l.map((S) => S.clone());
50306
50312
  return E[u] = g, E[p] = A, E[m] = C, E[d] = x, E;
50307
50313
  };
50308
50314
  r === "top" ? t.setPoints([
@@ -50377,7 +50383,7 @@ class Pc extends Tf {
50377
50383
  i && this.setPoints(i), s && this.setStyle(s);
50378
50384
  }
50379
50385
  get style() {
50380
- return _(_({}, super.style), this.line.style);
50386
+ return j(j({}, super.style), this.line.style);
50381
50387
  }
50382
50388
  get lineWidth() {
50383
50389
  return this.line.lineWidth;
@@ -50408,13 +50414,13 @@ class Gu extends en {
50408
50414
  f(this, "type", "Rectangle");
50409
50415
  f(this, "rectangleMesh");
50410
50416
  f(this, "_editor");
50411
- e && (this.rectangleMesh = new Pc(_(_({}, e.style), e)), this.add(this.rectangleMesh));
50417
+ e && (this.rectangleMesh = new Pc(j(j({}, e.style), e)), this.add(this.rectangleMesh));
50412
50418
  }
50413
50419
  get editor() {
50414
50420
  return this._editor || (this._editor = new ZA(this.rectangleMesh)), this._editor;
50415
50421
  }
50416
50422
  get data() {
50417
- return oe(_({}, this.baseData), {
50423
+ return oe(j({}, this.baseData), {
50418
50424
  points: di(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
50419
50425
  style: {
50420
50426
  color: this.rectangleMesh.color.getHex(),
@@ -50465,7 +50471,7 @@ function pL(n, t, e) {
50465
50471
  const { promise: i, reject: s, resolve: r } = br(), o = n.parent;
50466
50472
  if (!o)
50467
50473
  return s(new Error("No container"));
50468
- const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new As(oe(_({}, n.style), { dashed: !0 })), c = new As(oe(_({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new As(oe(_({}, n.style), { dashed: !1, lengthEnable: !1 }));
50474
+ const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new As(oe(j({}, n.style), { dashed: !0 })), c = new As(oe(j({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new As(oe(j({}, n.style), { dashed: !1, lengthEnable: !1 }));
50469
50475
  o.add(l, h, c), t.enable();
50470
50476
  const u = [];
50471
50477
  let d = new y.Vector3(), p = new y.Vector3();
@@ -50482,13 +50488,13 @@ function pL(n, t, e) {
50482
50488
  return;
50483
50489
  }
50484
50490
  if (u.length === 1 && a === "y") {
50485
- const j = new y.Line3(new y.Vector3(0, 1, 0).add(u[0]), new y.Vector3(0, -1, 0).add(u[0])).closestPointToPoint(I.point, !1, new y.Vector3());
50486
- n.setPoints([u[0], j, I.point]);
50491
+ const _ = new y.Line3(new y.Vector3(0, 1, 0).add(u[0]), new y.Vector3(0, -1, 0).add(u[0])).closestPointToPoint(I.point, !1, new y.Vector3());
50492
+ n.setPoints([u[0], _, I.point]);
50487
50493
  return;
50488
50494
  }
50489
50495
  if (u.length === 1 && a === "xoz") {
50490
- const z = new y.Line3(new y.Vector3(1, 0, 0).add(u[0]), new y.Vector3(-1, 0, 0).add(u[0])), j = I.raycaster.ray.intersectPlane(m, new y.Vector3()), A = z.closestPointToPoint(j, !1, new y.Vector3());
50491
- n.setPoints([u[0], A, j]);
50496
+ const z = new y.Line3(new y.Vector3(1, 0, 0).add(u[0]), new y.Vector3(-1, 0, 0).add(u[0])), _ = I.raycaster.ray.intersectPlane(m, new y.Vector3()), A = z.closestPointToPoint(_, !1, new y.Vector3());
50497
+ n.setPoints([u[0], A, _]);
50492
50498
  return;
50493
50499
  }
50494
50500
  if (u.length === 1 && a === "none") {
@@ -50497,8 +50503,8 @@ function pL(n, t, e) {
50497
50503
  }
50498
50504
  if (u.length === 2 && a === "none") {
50499
50505
  o.remove(l);
50500
- const z = I.raycaster.ray.intersectPlane(m, new y.Vector3()), j = u[0].distanceTo(u[1]) / 2, A = new y.Vector3().lerpVectors(u[0], u[1], 0.5), C = new y.Vector3().subVectors(z, A).normalize();
50501
- d = new y.Vector3().addVectors(A, C.multiplyScalar(j));
50506
+ const z = I.raycaster.ray.intersectPlane(m, new y.Vector3()), _ = u[0].distanceTo(u[1]) / 2, A = new y.Vector3().lerpVectors(u[0], u[1], 0.5), C = new y.Vector3().subVectors(z, A).normalize();
50507
+ d = new y.Vector3().addVectors(A, C.multiplyScalar(_));
50502
50508
  const x = [u[0], d, u[1]], E = JA(x, lt.modules.five.camera.position);
50503
50509
  n.setPoints(E);
50504
50510
  return;
@@ -50515,7 +50521,7 @@ function mL(n, t, e) {
50515
50521
  const { promise: i, reject: s, resolve: r } = br(), o = n.parent;
50516
50522
  if (!o)
50517
50523
  return s(new Error("No container"));
50518
- const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new As(oe(_({}, n.style), { dashed: !0 })), c = new As(oe(_({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new As(oe(_({}, n.style), { dashed: !1, lengthEnable: !1 }));
50524
+ const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new As(oe(j({}, n.style), { dashed: !0 })), c = new As(oe(j({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new As(oe(j({}, n.style), { dashed: !1, lengthEnable: !1 }));
50519
50525
  o.add(l, h, c), t.enable(), t.setAdherePoints(fL(t.five, { excludes: [n] }));
50520
50526
  const u = [];
50521
50527
  let d = new y.Vector3(), p = new y.Vector3();
@@ -50530,7 +50536,7 @@ function mL(n, t, e) {
50530
50536
  } else
50531
50537
  u.length === 3 && (b(), r());
50532
50538
  }, v = (I) => {
50533
- var L, O, z, j;
50539
+ var L, O, z, _;
50534
50540
  if (!I || !(I != null && I.raycaster))
50535
50541
  return;
50536
50542
  const T = (L = u.at(-1)) == null ? void 0 : L.clone();
@@ -50547,7 +50553,7 @@ function mL(n, t, e) {
50547
50553
  const S = wi([u[0], u[1], I.point]);
50548
50554
  m.setFromNormalAndCoplanarPoint(S, u[0]);
50549
50555
  }
50550
- c.setPoints([(j = I.originalPoint) != null ? j : I.point, I.point]);
50556
+ c.setPoints([(_ = I.originalPoint) != null ? _ : I.point, I.point]);
50551
50557
  const A = new y.Vector3().crossVectors(u[0].clone().sub(u[1]), m.normal).normalize();
50552
50558
  d = new y.Line3(u[1].clone().add(A), u[1].clone().sub(A)).closestPointToPoint(I.point, !1, new y.Vector3());
50553
50559
  const x = [u[0], u[1], d], E = JA(x, lt.modules.five.camera.position);
@@ -50627,13 +50633,13 @@ class pv extends en {
50627
50633
  f(this, "type", "Circle");
50628
50634
  f(this, "circleMesh");
50629
50635
  f(this, "_editor");
50630
- e && (this.circleMesh = new La(_(_({}, e.style), e)), this.add(this.circleMesh));
50636
+ e && (this.circleMesh = new La(j(j({}, e.style), e)), this.add(this.circleMesh));
50631
50637
  }
50632
50638
  get editor() {
50633
50639
  return this._editor || (this._editor = new KA(this.circleMesh)), this._editor;
50634
50640
  }
50635
50641
  get data() {
50636
- return oe(_({}, this.baseData), {
50642
+ return oe(j({}, this.baseData), {
50637
50643
  center: di(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
50638
50644
  normal: di(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
50639
50645
  radius: this.circleMesh.radius,
@@ -50747,7 +50753,7 @@ class Wu extends Ii {
50747
50753
  this.addIfNotExists(this.bottomCircle), this.bottomCircle.setPoints({ center: e, normal: this.normal, radius: this.radius }), this.setEdgeMesh();
50748
50754
  }
50749
50755
  setStyle(e) {
50750
- this.params = _(_({}, this.params), e), this.bottomCircle.setStyle(this.params), this.topCircle.setStyle(this.params);
50756
+ this.params = j(j({}, this.params), e), this.bottomCircle.setStyle(this.params), this.topCircle.setStyle(this.params);
50751
50757
  }
50752
50758
  highlight() {
50753
50759
  this.highlighted || (this.highlighted = !0, this.edgeMesh.highlight(), this.bottomCircle.highlight(), this.topCircle.highlight(), this.needsRender = !0);
@@ -50812,13 +50818,13 @@ class mv extends en {
50812
50818
  f(this, "type", "Cylinder");
50813
50819
  f(this, "cylinderMesh");
50814
50820
  f(this, "_editor");
50815
- e && (this.cylinderMesh = new Wu(_(_({}, e.style), e)), this.add(this.cylinderMesh));
50821
+ e && (this.cylinderMesh = new Wu(j(j({}, e.style), e)), this.add(this.cylinderMesh));
50816
50822
  }
50817
50823
  get editor() {
50818
50824
  return this._editor || (this._editor = new tw(this.cylinderMesh)), this._editor;
50819
50825
  }
50820
50826
  get data() {
50821
- return oe(_({}, this.baseData), {
50827
+ return oe(j({}, this.baseData), {
50822
50828
  bottomCenter: di(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
50823
50829
  topCenter: di(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
50824
50830
  radius: this.cylinderMesh.radius,
@@ -50992,13 +50998,13 @@ class Qu extends en {
50992
50998
  f(this, "type", "Box");
50993
50999
  f(this, "boxMesh");
50994
51000
  f(this, "_editor");
50995
- e && (this.boxMesh = new Uu(_(_({}, e.style), e)), this.add(this.boxMesh));
51001
+ e && (this.boxMesh = new Uu(j(j({}, e.style), e)), this.add(this.boxMesh));
50996
51002
  }
50997
51003
  get editor() {
50998
51004
  return this._editor || (this._editor = new nw(this.boxMesh)), this._editor;
50999
51005
  }
51000
51006
  get data() {
51001
- return oe(_({}, this.baseData), {
51007
+ return oe(j({}, this.baseData), {
51002
51008
  points: di(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
51003
51009
  heightPoint: di(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
51004
51010
  style: {
@@ -51059,7 +51065,7 @@ function sw(n, t, e) {
51059
51065
  return;
51060
51066
  }
51061
51067
  const o = new Pc(n.style);
51062
- r.add(o), yield Df(o, t, oe(_({}, e), {
51068
+ r.add(o), yield Df(o, t, oe(j({}, e), {
51063
51069
  onPointPlaced: () => {
51064
51070
  var v;
51065
51071
  (v = e == null ? void 0 : e.onPointPlaced) == null || v.call(e);
@@ -51101,13 +51107,13 @@ class gv extends en {
51101
51107
  f(this, "lineMesh");
51102
51108
  f(this, "_editor");
51103
51109
  f(this, "creatingObject");
51104
- e && (this.lineMesh = new xa(_(_({}, e.style), e)), this.add(this.lineMesh));
51110
+ e && (this.lineMesh = new xa(j(j({}, e.style), e)), this.add(this.lineMesh));
51105
51111
  }
51106
51112
  get editor() {
51107
51113
  return this._editor || (this._editor = new $D(this)), this._editor;
51108
51114
  }
51109
51115
  get data() {
51110
- return oe(_({}, this.baseData), {
51116
+ return oe(j({}, this.baseData), {
51111
51117
  points: di(this.applyObjectMatrixWorld(this.lineMesh.points)),
51112
51118
  style: {
51113
51119
  lineColor: new y.Color(this.lineMesh.color).getHex(),
@@ -51158,7 +51164,7 @@ function rw(n, t, e) {
51158
51164
  return;
51159
51165
  const { promise: s, resolve: r, reject: o } = br(), a = (O = e == null ? void 0 : e.limit) != null ? O : "none", l = new Ci(n.style);
51160
51166
  i.add(l);
51161
- const c = new Ci(oe(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
51167
+ const c = new Ci(oe(j({}, n.style), { dashed: !0, lengthEnable: !1 }));
51162
51168
  i.add(c), t.enable();
51163
51169
  const h = [];
51164
51170
  let u, d, p;
@@ -51170,14 +51176,14 @@ function rw(n, t, e) {
51170
51176
  if (!z)
51171
51177
  return;
51172
51178
  m.length = 0;
51173
- const j = h.length === 0 ? z.point : u.clone();
51174
- h.push(j), n.setPoints(h), h.length === 2 && (T(), r());
51179
+ const _ = h.length === 0 ? z.point : u.clone();
51180
+ h.push(_), n.setPoints(h), h.length === 2 && (T(), r());
51175
51181
  }, I = (z) => {
51176
- const j = () => {
51182
+ const _ = () => {
51177
51183
  l.setPoints([]), c.setPoints([]), t.pointSelectorHelper.magnifier.render();
51178
51184
  };
51179
51185
  if (!(h != null && h.length) || !z)
51180
- return j();
51186
+ return _();
51181
51187
  p = z;
51182
51188
  const A = h.at(-1).clone();
51183
51189
  a === "none" ? (u = z.point, l.setPoints([A, u])) : a === "xoz" ? (t.plane = d, d = d != null ? d : new y.Plane().setFromNormalAndCoplanarPoint(new y.Vector3(0, 1, 0), h[0]), u = d.projectPoint(z.point, new y.Vector3()), l.setPoints([A, u]), c.setPoints([u, z.point])) : a === "y" && (z.isVirtual ? (u = Vn({
@@ -51228,7 +51234,7 @@ const Yr = class extends Tt {
51228
51234
  const e = this.items.find((i) => i.selected && i.type === "Polygon");
51229
51235
  e && typeof e.redo == "function" && (e.redo(), this.five.needsRender = !0);
51230
51236
  });
51231
- this.five = e, this.theme = i, this.config = _({
51237
+ this.five = e, this.theme = i, this.config = j({
51232
51238
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
51233
51239
  }, s), this.group = new Ii(), this.group.name = "Sculpt", this.group.__sculpt__ = this, this.group.__five__ = this.five, e.scene.add(this.group), Yr.modules.init(e, this.config), ht("ctrl+z, command+z", this.undo), ht("ctrl+shift+z, command+shift+z", this.redo), Yr.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: r, origDomEvent: o }) => {
51234
51240
  var l;
@@ -51264,8 +51270,8 @@ const Yr = class extends Tt {
51264
51270
  this.clear();
51265
51271
  const s = (r = e == null ? void 0 : e.items) == null ? void 0 : r.map((o) => {
51266
51272
  var l;
51267
- const a = oe(_({}, o), {
51268
- style: _(_({}, (l = this.theme) == null ? void 0 : l[o.type.toLowerCase()]), o.style)
51273
+ const a = oe(j({}, o), {
51274
+ style: j(j({}, (l = this.theme) == null ? void 0 : l[o.type.toLowerCase()]), o.style)
51269
51275
  });
51270
51276
  return o.type === "Point" ? new hv(a, i) : o.type === "line" ? new gv(a, i) : o.type === "Polyline" ? new cv(a, i) : o.type === "Polygon" ? new Vu(a, i) : o.type === "Prism" ? new fv(a, i) : o.type === "Rectangle" ? new Gu(a, i) : o.type === "Circle" ? new pv(a, i) : o.type === "Cylinder" ? new mv(a, i) : o.type === "Box" ? new Qu(a, i) : null;
51271
51277
  });
@@ -51536,7 +51542,7 @@ class PL extends Eo {
51536
51542
  (l = (a = this.tag3DContentSvelte) == null ? void 0 : a.dispose) == null || l.call(a);
51537
51543
  const h = document.createElement("div");
51538
51544
  h.classList.add("tag-media-container");
51539
- const u = _({ mode: "front", cornerPoints: c, container: h }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new wA(oe(_({}, u), { mode: d })), m = this.computeNormal();
51545
+ const u = j({ mode: "front", cornerPoints: c, container: h }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new wA(oe(j({}, u), { mode: d })), m = this.computeNormal();
51540
51546
  p.position.add(m.clone().setLength(cn.Z_FIGHTING_OFFSET)), this.plugin.group.add(p);
51541
51547
  let g;
51542
51548
  p.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, p, (b) => {
@@ -51773,7 +51779,7 @@ class ML extends Eo {
51773
51779
  * 更新标签数据
51774
51780
  */
51775
51781
  set(e, i = !0) {
51776
- super.set(e, i), e.style && (this.tagStyle = _(_({}, this.tagStyle), e.style)), e.position && (this.boxShape ? this.updateSculptBox() : this.initializeSculptBox()), e.style && this.boxShape && this.updateBoxStyle();
51782
+ super.set(e, i), e.style && (this.tagStyle = j(j({}, this.tagStyle), e.style)), e.position && (this.boxShape ? this.updateSculptBox() : this.initializeSculptBox()), e.style && this.boxShape && this.updateBoxStyle();
51777
51783
  }
51778
51784
  /**
51779
51785
  * 设置标签数据
@@ -52073,7 +52079,7 @@ class EL extends Eo {
52073
52079
  * 更新标签数据
52074
52080
  */
52075
52081
  set(e, i = !0) {
52076
- super.set(e, i), e.style && (this.tagStyle = _(_({}, this.tagStyle), e.style)), e.position && (this.polygonShape ? this.updateSculptPolygon() : this.initializeSculptPolygon()), e.style && this.polygonShape && this.updatePolygonStyle();
52082
+ super.set(e, i), e.style && (this.tagStyle = j(j({}, this.tagStyle), e.style)), e.position && (this.polygonShape ? this.updateSculptPolygon() : this.initializeSculptPolygon()), e.style && this.polygonShape && this.updatePolygonStyle();
52077
52083
  }
52078
52084
  /**
52079
52085
  * 获取多边形的所有角点(世界坐标)
@@ -52642,7 +52648,7 @@ const qe = class extends Eo {
52642
52648
  */
52643
52649
  set(e, i = !0) {
52644
52650
  var r, o;
52645
- super.set(e, i), e.style && (this.tagStyle = _(_({}, this.tagStyle), e.style), (r = e.style) != null && r.mask && this.updateMaskStyle());
52651
+ super.set(e, i), e.style && (this.tagStyle = j(j({}, this.tagStyle), e.style), (r = e.style) != null && r.mask && this.updateMaskStyle());
52646
52652
  const s = (o = e.mask) != null ? o : e.maskUrl;
52647
52653
  s && s !== this.maskUrl && (this.maskUrl = s, this.updateSharedMeshTexture()), e.color !== void 0 && (this.targetColor = El(e.color), this.updateMaskStyle()), this.maskMesh && this.updateMaskStyle();
52648
52654
  }
@@ -52659,7 +52665,7 @@ const qe = class extends Eo {
52659
52665
  try {
52660
52666
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model || !this.maskUrl)
52661
52667
  return !1;
52662
- const s = _(_({}, this.five.getCurrentState()), e), { panoIndex: r } = s;
52668
+ const s = j(j({}, this.five.getCurrentState()), e), { panoIndex: r } = s;
52663
52669
  return r !== ((i = this.fiveState) == null ? void 0 : i.panoIndex) ? !1 : super.getVisible(s);
52664
52670
  } catch (s) {
52665
52671
  return !1;
@@ -52671,7 +52677,7 @@ const qe = class extends Eo {
52671
52677
  */
52672
52678
  computeVisible(e) {
52673
52679
  var r, o, a;
52674
- const i = _(_({}, this.five.getCurrentState()), e), { panoIndex: s } = i;
52680
+ const i = j(j({}, this.five.getCurrentState()), e), { panoIndex: s } = i;
52675
52681
  return s !== ((r = this.fiveState) == null ? void 0 : r.panoIndex) ? {
52676
52682
  value: !1,
52677
52683
  reason: {
@@ -53659,7 +53665,7 @@ function BL(n, t, e) {
53659
53665
  pause: () => c("audioPause"),
53660
53666
  timeupdate: (Y) => c("audioTimeUpdate", Y.detail),
53661
53667
  duration: (Y) => c("audioDuration", Y.detail)
53662
- }, j = (Y) => {
53668
+ }, _ = (Y) => {
53663
53669
  M(Y), m(Y);
53664
53670
  }, A = (Y) => {
53665
53671
  T(h) && b(Y);
@@ -53727,7 +53733,7 @@ function BL(n, t, e) {
53727
53733
  L,
53728
53734
  z,
53729
53735
  O,
53730
- j,
53736
+ _,
53731
53737
  A,
53732
53738
  C,
53733
53739
  x,
@@ -54721,11 +54727,11 @@ function yz(n) {
54721
54727
  /*$$scope*/
54722
54728
  n[37],
54723
54729
  Av
54724
- ), j = (
54730
+ ), _ = (
54725
54731
  /*#slots*/
54726
54732
  n[38].arrow
54727
54733
  ), A = Ps(
54728
- j,
54734
+ _,
54729
54735
  n,
54730
54736
  /*$$scope*/
54731
54737
  n[37],
@@ -54776,12 +54782,12 @@ function yz(n) {
54776
54782
  ), A && A.p && (!m || x[1] & /*$$scope*/
54777
54783
  64) && Ms(
54778
54784
  A,
54779
- j,
54785
+ _,
54780
54786
  C,
54781
54787
  /*$$scope*/
54782
54788
  C[37],
54783
54789
  m ? Cs(
54784
- j,
54790
+ _,
54785
54791
  /*$$scope*/
54786
54792
  C[37],
54787
54793
  x,
@@ -54813,7 +54819,7 @@ function bz(n) {
54813
54819
  return `${t.toString().padStart(2, "0")}:${e.toString().padStart(2, "0")}`;
54814
54820
  }
54815
54821
  function Az(n, t, e) {
54816
- let i, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, L, O, z, j, A, C, x, { $$slots: E = {}, $$scope: S } = t, { tag: k } = t, { config: R = {} } = t, { theme: B = void 0 } = t, { placement: Z = "right-top" } = t, { audioInstance: te = null } = t, { audioPlaying: Y = !1 } = t, { audioCurrentTime: J = 0 } = t, { audioDuration: se = 0 } = t, re = 0, Se = "00:00", $ = null, me = 0, ae = 0;
54822
+ let i, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, L, O, z, _, A, C, x, { $$slots: E = {}, $$scope: S } = t, { tag: k } = t, { config: R = {} } = t, { theme: B = void 0 } = t, { placement: Z = "right-top" } = t, { audioInstance: te = null } = t, { audioPlaying: Y = !1 } = t, { audioCurrentTime: J = 0 } = t, { audioDuration: se = 0 } = t, re = 0, Se = "00:00", $ = null, me = 0, ae = 0;
54817
54823
  function ce() {
54818
54824
  return se > 0 ? J / se * 100 : 0;
54819
54825
  }
@@ -54900,8 +54906,8 @@ function Az(n, t, e) {
54900
54906
  12 && e(30, L = i ? k.data.brandTags || [] : []), n.$$.dirty[0] & /*isMarketingTag, tag*/
54901
54907
  12 && e(29, O = i ? k.data.tags || [] : []), n.$$.dirty[0] & /*marketingBrandTags*/
54902
54908
  1073741824 && e(4, z = L.filter(Boolean).slice(0, 2)), n.$$.dirty[0] & /*primaryTags*/
54903
- 16 && e(28, j = Math.max(0, 2 - z.length)), n.$$.dirty[0] & /*remainingCount, marketingTags*/
54904
- 805306368 && e(13, A = j > 0 ? O.filter(Boolean).slice(0, j) : []), n.$$.dirty[0] & /*isMarketingTag, tag*/
54909
+ 16 && e(28, _ = Math.max(0, 2 - z.length)), n.$$.dirty[0] & /*remainingCount, marketingTags*/
54910
+ 805306368 && e(13, A = _ > 0 ? O.filter(Boolean).slice(0, _) : []), n.$$.dirty[0] & /*isMarketingTag, tag*/
54905
54911
  12 && e(12, C = i && ((Oe = k.data.price) == null ? void 0 : Oe.value) || ""), n.$$.dirty[0] & /*isMarketingTag, tag*/
54906
54912
  12 && e(11, x = i && ((Ue = k.data.price) == null ? void 0 : Ue.unit) || "");
54907
54913
  }, e(14, T = 1), [
@@ -54933,7 +54939,7 @@ function Az(n, t, e) {
54933
54939
  te,
54934
54940
  J,
54935
54941
  se,
54936
- j,
54942
+ _,
54937
54943
  O,
54938
54944
  L,
54939
54945
  v,
@@ -55928,7 +55934,7 @@ function jz(n) {
55928
55934
  function Fz(n, t, e) {
55929
55935
  let i, s, r, o, a, l, c, h, u, d;
55930
55936
  const p = pn("hooks");
55931
- let { tag: m } = t, { config: g = {} } = t, { triggerElement: v } = t, { wrapperElement: b = document.body } = t, { popoverContainer: w = null } = t, { theme: M = void 0 } = t, { visible: I = !0 } = t, { closePopover: T = void 0 } = t, { audioInstance: L = null } = t, { audioPlaying: O = !1 } = t, { audioCurrentTime: z = 0 } = t, { audioDuration: j = 0 } = t;
55937
+ let { tag: m } = t, { config: g = {} } = t, { triggerElement: v } = t, { wrapperElement: b = document.body } = t, { popoverContainer: w = null } = t, { theme: M = void 0 } = t, { visible: I = !0 } = t, { closePopover: T = void 0 } = t, { audioInstance: L = null } = t, { audioPlaying: O = !1 } = t, { audioCurrentTime: z = 0 } = t, { audioDuration: _ = 0 } = t;
55932
55938
  const A = Xn();
55933
55939
  let C, x = { width: 0, height: 0 }, E = null, S = s;
55934
55940
  function k(ie, { duration: Ce = 400, easing: Re = Ma, x: be = 0, y: De = 0 }) {
@@ -56036,7 +56042,7 @@ function Fz(n, t, e) {
56036
56042
  });
56037
56043
  }
56038
56044
  return n.$$set = (ie) => {
56039
- "tag" in ie && e(0, m = ie.tag), "config" in ie && e(1, g = ie.config), "triggerElement" in ie && e(26, v = ie.triggerElement), "wrapperElement" in ie && e(25, b = ie.wrapperElement), "popoverContainer" in ie && e(27, w = ie.popoverContainer), "theme" in ie && e(2, M = ie.theme), "visible" in ie && e(3, I = ie.visible), "closePopover" in ie && e(28, T = ie.closePopover), "audioInstance" in ie && e(4, L = ie.audioInstance), "audioPlaying" in ie && e(5, O = ie.audioPlaying), "audioCurrentTime" in ie && e(6, z = ie.audioCurrentTime), "audioDuration" in ie && e(7, j = ie.audioDuration);
56045
+ "tag" in ie && e(0, m = ie.tag), "config" in ie && e(1, g = ie.config), "triggerElement" in ie && e(26, v = ie.triggerElement), "wrapperElement" in ie && e(25, b = ie.wrapperElement), "popoverContainer" in ie && e(27, w = ie.popoverContainer), "theme" in ie && e(2, M = ie.theme), "visible" in ie && e(3, I = ie.visible), "closePopover" in ie && e(28, T = ie.closePopover), "audioInstance" in ie && e(4, L = ie.audioInstance), "audioPlaying" in ie && e(5, O = ie.audioPlaying), "audioCurrentTime" in ie && e(6, z = ie.audioCurrentTime), "audioDuration" in ie && e(7, _ = ie.audioDuration);
56040
56046
  }, n.$$.update = () => {
56041
56047
  if (n.$$.dirty[0] & /*theme, tag*/
56042
56048
  5 && e(18, i = (() => Ge(M) ? M : Ge(m.data.theme) && ["light", "dark"].includes(m.data.theme) ? m.data.theme : m.contentType === "Marketing" ? "light" : "dark")()), n.$$.dirty[0] & /*config*/
@@ -56084,7 +56090,7 @@ function Fz(n, t, e) {
56084
56090
  L,
56085
56091
  O,
56086
56092
  z,
56087
- j,
56093
+ _,
56088
56094
  S,
56089
56095
  C,
56090
56096
  se,
@@ -56608,7 +56614,7 @@ function Uz(n) {
56608
56614
  function Qz(n, t, e) {
56609
56615
  let i, s, r, o, a, l, c, h, u, d, p, { tag: m } = t, { mediaStore: g } = t, { rendererMap: v = /* @__PURE__ */ new Map() } = t, { contentTypeMap: b = /* @__PURE__ */ new Map() } = t, { state: w } = t, { temporaryState: M } = t, { wrapperElement: I = null } = t, { popoverContainer: T = null } = t;
56610
56616
  const L = pn("hooks");
56611
- let O = !1, z, j, A = null, C = !1, x = !1, E = null, S = null, k = !1, R = 0, B = 0;
56617
+ let O = !1, z, _, A = null, C = !1, x = !1, E = null, S = null, k = !1, R = 0, B = 0;
56612
56618
  const Z = {
56613
56619
  audioInstanceReady: (ie) => {
56614
56620
  e(14, S = ie.detail), e(15, k = !S.paused);
@@ -56628,11 +56634,11 @@ function Qz(n, t, e) {
56628
56634
  };
56629
56635
  let te = !1;
56630
56636
  const Y = (ie) => {
56631
- if (j && clearTimeout(j), ie === !0 && !te) {
56637
+ if (_ && clearTimeout(_), ie === !0 && !te) {
56632
56638
  te = !0, e(11, O = !0);
56633
56639
  return;
56634
56640
  }
56635
- j = setTimeout(
56641
+ _ = setTimeout(
56636
56642
  () => {
56637
56643
  var Ce;
56638
56644
  !C && !x && !((Ce = m.config.popoverConfig) != null && Ce.debug) && (te = !1, e(11, O = !1));
@@ -56640,7 +56646,7 @@ function Qz(n, t, e) {
56640
56646
  300
56641
56647
  );
56642
56648
  }, J = () => {
56643
- C = !0, j && clearTimeout(j);
56649
+ C = !0, _ && clearTimeout(_);
56644
56650
  }, se = () => {
56645
56651
  C = !1, Y(!1);
56646
56652
  }, re = (ie) => {
@@ -56650,7 +56656,7 @@ function Qz(n, t, e) {
56650
56656
  x = !0;
56651
56657
  const Ce = (be = (Re = m.currentConfig) == null ? void 0 : Re.popoverConfig) == null ? void 0 : be.trigger;
56652
56658
  if (m.isPopoverConfigEnabled() && m.isHoverEnabled() && Ce === "hover") {
56653
- if (j && clearTimeout(j), z !== void 0)
56659
+ if (_ && clearTimeout(_), z !== void 0)
56654
56660
  return;
56655
56661
  ((ge = (De = m.currentConfig) == null ? void 0 : De.popoverConfig) == null ? void 0 : ge.triggerDelay) > 0 ? z = setTimeout(
56656
56662
  () => {
@@ -56675,7 +56681,7 @@ function Qz(n, t, e) {
56675
56681
  te = !1, e(11, O = !1);
56676
56682
  }
56677
56683
  Ft(() => () => {
56678
- z && clearTimeout(z), j && clearTimeout(j);
56684
+ z && clearTimeout(z), _ && clearTimeout(_);
56679
56685
  });
56680
56686
  function ae(ie) {
56681
56687
  A = ie, e(12, A);
@@ -57146,7 +57152,7 @@ class Xu extends n8 {
57146
57152
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
57147
57153
  this.TagContainerSvelte = new Kz({
57148
57154
  target: this.container,
57149
- props: oe(_({}, a), { state: oe(_({}, this.state), { enabled: !1 }) })
57155
+ props: oe(j({}, a), { state: oe(j({}, this.state), { enabled: !1 }) })
57150
57156
  }), Va(() => {
57151
57157
  var l;
57152
57158
  (l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
@@ -57155,7 +57161,7 @@ class Xu extends n8 {
57155
57161
  }
57156
57162
  }), this.renderQueue.clear();
57157
57163
  });
57158
- this.mediaManager = i == null ? void 0 : i.mediaManager, this.params = st({}, { debug: !1, config: this.config }, oe(_({}, i), { mediaManager: void 0 })), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), Uk(1, { namespace: df.PlayAudio });
57164
+ this.mediaManager = i == null ? void 0 : i.mediaManager, this.params = st({}, { debug: !1, config: this.config }, oe(j({}, i), { mediaManager: void 0 })), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), Uk(1, { namespace: df.PlayAudio });
57159
57165
  try {
57160
57166
  Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = aw + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
57161
57167
  get: function() {
@@ -57292,7 +57298,7 @@ class Xu extends n8 {
57292
57298
  setState(e, i) {
57293
57299
  if (this.checkDisposed())
57294
57300
  return;
57295
- const { userAction: s = !0 } = i != null ? i : {}, r = _({}, this.state);
57301
+ const { userAction: s = !0 } = i != null ? i : {}, r = j({}, this.state);
57296
57302
  this.state = Object.assign(this.state, e), r.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), r.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: r, userAction: s });
57297
57303
  }
57298
57304
  /**
@@ -57375,9 +57381,9 @@ class Xu extends n8 {
57375
57381
  if (r) {
57376
57382
  if (i.stickType && i.stickType !== r.stickType) {
57377
57383
  console.log(`[PanoTagPlugin] stickType changed from ${r.stickType} to ${i.stickType}, recreating tag`);
57378
- const o = _({}, r);
57384
+ const o = j({}, r);
57379
57385
  this.destroyTagById(e), this.five.ready().then(() => {
57380
- this.addTag(_(_({}, o), i));
57386
+ this.addTag(j(j({}, o), i));
57381
57387
  });
57382
57388
  return;
57383
57389
  }
@@ -57924,7 +57930,7 @@ function sO(n, t, e) {
57924
57930
  }), i.push(l);
57925
57931
  });
57926
57932
  const s = t.transform, r = i.map((o) => jt(new y.Vector3().fromArray(o), s).toArray());
57927
- return [oe(_({}, e), { type: "CatmullRomCurve3", points: r })];
57933
+ return [oe(j({}, e), { type: "CatmullRomCurve3", points: r })];
57928
57934
  }
57929
57935
  const rO = (
57930
57936
  /* glsl */
@@ -58235,7 +58241,7 @@ class Yu {
58235
58241
  unitLength: r * i,
58236
58242
  skipPositions: this.skippedPositions
58237
58243
  });
58238
- this._curvePath = l, this._curvePoints = c, this.mesh.geometry.copy(o), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = a, this.five.needsRender = !0, this.path = t, this.geometryStyle = _(_({}, this.geometryStyle), e);
58244
+ this._curvePath = l, this._curvePoints = c, this.mesh.geometry.copy(o), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = a, this.five.needsRender = !0, this.path = t, this.geometryStyle = j(j({}, this.geometryStyle), e);
58239
58245
  }
58240
58246
  /** 设置线条材质 */
58241
58247
  setMartial(t) {
@@ -58245,7 +58251,7 @@ class Yu {
58245
58251
  this.setDefaultVisible((s = t == null ? void 0 : t.visible) != null ? s : !1), this.setColor((r = t == null ? void 0 : t.color) != null ? r : "#ffffff"), this.setOpacity((o = t == null ? void 0 : t.opacity) != null ? o : 0.5);
58246
58252
  const e = Zi(this.plugin.staticPrefix, Vc);
58247
58253
  this.setTextureUrl((l = (a = t == null ? void 0 : t.texture) == null ? void 0 : a.url) != null ? l : e), (t == null ? void 0 : t.background_color) !== void 0 && this.setBackgroundColor(t.background_color), (t == null ? void 0 : t.background_opacity) !== void 0 && this.setBackgroundOpacity(t.background_opacity), (t == null ? void 0 : t.border_color) !== void 0 && this.setBorderColor(t.border_color), (t == null ? void 0 : t.border_opacity) !== void 0 && this.setBorderOpacity(t.border_opacity), (t == null ? void 0 : t.border_width) !== void 0 && this.setBorderWidth(t.border_width), (t == null ? void 0 : t.background_clip) !== void 0 && this.setBackgroundClip(t.background_clip);
58248
- const i = _(_({}, this.materialStyle), t);
58254
+ const i = j(j({}, this.materialStyle), t);
58249
58255
  this.materialStyle = i;
58250
58256
  }
58251
58257
  /** 设置模型状态 */
@@ -58254,7 +58260,7 @@ class Yu {
58254
58260
  const s = new y.Vector3(), r = new y.Vector3().fromArray(t.translate);
58255
58261
  r.y += this.heightOffset, s.add(r), this.group.position.copy(s), i(this.startTagContainer, r), i(this.endTagContainer, r);
58256
58262
  }
58257
- const e = _(_({}, this.meshStyle), t);
58263
+ const e = j(j({}, this.meshStyle), t);
58258
58264
  this.meshStyle = e;
58259
58265
  function i(s, r) {
58260
58266
  if (!(s != null && s.tag))
@@ -58399,7 +58405,7 @@ class Yu {
58399
58405
  s.tag = o, aO(o) && (s.tag.element = (h) => {
58400
58406
  var v, b, w;
58401
58407
  (v = s.app) == null || v.$destroy();
58402
- const u = (b = i == null ? void 0 : i.getLength()) != null ? b : 0, d = (w = this.plugin.config.i18n) != null ? w : (M) => M, p = this.plugin.config.formatDistance ? this.plugin.config.formatDistance(u) : `${d("全程")}${Math.round(u)}${d("米")}`, m = t === "start" ? oe(_({}, o.data), { name: this.name, distance: p }) : o.data, g = new iO({ target: h, intro: !0, props: _({ fontSize: this.currentFontSize }, m) });
58408
+ const u = (b = i == null ? void 0 : i.getLength()) != null ? b : 0, d = (w = this.plugin.config.i18n) != null ? w : (M) => M, p = this.plugin.config.formatDistance ? this.plugin.config.formatDistance(u) : `${d("全程")}${Math.round(u)}${d("米")}`, m = t === "start" ? oe(j({}, o.data), { name: this.name, distance: p }) : o.data, g = new iO({ target: h, intro: !0, props: j({ fontSize: this.currentFontSize }, m) });
58403
58409
  return s.app = g, () => g.$destroy();
58404
58410
  }), s.plugin.load({ tagList: [s.tag] });
58405
58411
  const a = this.meshStyle.translate;
@@ -58511,7 +58517,7 @@ class cw extends Ds {
58511
58517
  return this.disposedErrorLog();
58512
58518
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
58513
58519
  return this.disableErrorLog();
58514
- const s = _({}, this.state);
58520
+ const s = j({}, this.state);
58515
58521
  this.state = st({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), Jt(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (r = i == null ? void 0 : i.userAction) != null ? r : !0 });
58516
58522
  }
58517
58523
  /**
@@ -58625,7 +58631,7 @@ class hw extends cw {
58625
58631
  this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
58626
58632
  });
58627
58633
  f(this, "moveToStart", () => {
58628
- this.five.setState(oe(_({}, Qh(this.curve, 0, this.curveOffset)), { mode: "Model" }));
58634
+ this.five.setState(oe(j({}, Qh(this.curve, 0, this.curveOffset)), { mode: "Model" }));
58629
58635
  });
58630
58636
  f(this, "playFromStart", () => {
58631
58637
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -58653,7 +58659,7 @@ class hw extends cw {
58653
58659
  }
58654
58660
  load(e, i) {
58655
58661
  var a, l, c, h, u, d, p, m, g;
58656
- this.handlePause(), this.clear(), this.data = _({ id: Pt() }, e);
58662
+ this.handlePause(), this.clear(), this.data = j({ id: Pt() }, e);
58657
58663
  const s = (() => {
58658
58664
  if (this.data.path instanceof y.Curve)
58659
58665
  return this.data.path.curves[0];
@@ -58695,7 +58701,7 @@ class hw extends cw {
58695
58701
  let r = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
58696
58702
  (r < 0 || r >= 1) && (r = 0);
58697
58703
  const o = Qh(this.curve, r, this.curveOffset);
58698
- if (this.hooks.emit("progressChange", r), this.five.setState(oe(_({}, o), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
58704
+ if (this.hooks.emit("progressChange", r), this.five.setState(oe(j({}, o), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
58699
58705
  const c = this.addInterruptListener(() => {
58700
58706
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
58701
58707
  });
@@ -58792,7 +58798,7 @@ class zf extends cw {
58792
58798
  var h, u;
58793
58799
  this.handlePause({ userAction: !1 }), this.clear();
58794
58800
  const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, o = yield this.formatData(e);
58795
- this.data = _({ id: o.keyframesId }, o), this.hooks.emit("dataChange", o, r);
58801
+ this.data = j({ id: o.keyframesId }, o), this.hooks.emit("dataChange", o, r);
58796
58802
  let a = [], l;
58797
58803
  const c = this.data.keyframes.filter((d) => d.data.panoIndex !== void 0);
58798
58804
  c.filter((d, p) => {
@@ -58826,7 +58832,7 @@ class zf extends cw {
58826
58832
  * @description Play from first keyframe
58827
58833
  */
58828
58834
  playFromStart(e) {
58829
- return this.playFrom(oe(_({}, e), { index: 0 }));
58835
+ return this.playFrom(oe(j({}, e), { index: 0 }));
58830
58836
  }
58831
58837
  /**
58832
58838
  * @description Format data
@@ -58844,7 +58850,7 @@ class zf extends cw {
58844
58850
  keyframes: i.keyframes.map((s, r) => {
58845
58851
  var l;
58846
58852
  const o = i.keyframes[r + 1], a = (() => !o || o.start === void 0 || s.end === void 0 ? 0 : o.start - s.end)();
58847
- return oe(_({ id: (l = s.uuid) != null ? l : Pt(), moveIndex: r, stay: a, index: r }, s), { guildPluginOptions: i.guildPluginOptions });
58853
+ return oe(j({ id: (l = s.uuid) != null ? l : Pt(), moveIndex: r, stay: a, index: r }, s), { guildPluginOptions: i.guildPluginOptions });
58848
58854
  })
58849
58855
  };
58850
58856
  if (i.panoIndexList) {
@@ -58865,11 +58871,11 @@ class zf extends cw {
58865
58871
  i.moveType === void 0 || i.moveType === "justMove" ? s.push({
58866
58872
  moveIndex: c,
58867
58873
  stay: i.stay,
58868
- data: _({ effect: "Move", panoIndex: l, moveEffect: r }, h != null ? h : {})
58869
- }) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: r } }), h && s.push({ moveIndex: c, stay: i.stay, data: _({ effect: "Rotate", panoIndex: l }, h) }));
58874
+ data: j({ effect: "Move", panoIndex: l, moveEffect: r }, h != null ? h : {})
58875
+ }) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: r } }), h && s.push({ moveIndex: c, stay: i.stay, data: j({ effect: "Rotate", panoIndex: l }, h) }));
58870
58876
  }), {
58871
58877
  keyframesId: Pt(),
58872
- keyframes: s.map((l, c) => _({ id: Pt(), index: c }, l)),
58878
+ keyframes: s.map((l, c) => j({ id: Pt(), index: c }, l)),
58873
58879
  guildPluginOptions: i.guildPluginOptions,
58874
58880
  useGuildLine: i.useGuildLine
58875
58881
  };
@@ -58907,14 +58913,14 @@ class zf extends cw {
58907
58913
  z.muted = !1;
58908
58914
  try {
58909
58915
  yield z.play();
58910
- } catch (j) {
58916
+ } catch (_) {
58911
58917
  if (l != null && l.signal.aborted)
58912
58918
  return;
58913
- if (j.name === "AbortError") {
58919
+ if (_.name === "AbortError") {
58914
58920
  this.handlePause({ userAction: !1 });
58915
58921
  return;
58916
58922
  }
58917
- throw this.handlePause({ userAction: !1 }), j;
58923
+ throw this.handlePause({ userAction: !1 }), _;
58918
58924
  }
58919
58925
  if (l != null && l.signal.aborted || c !== r.playId)
58920
58926
  return;
@@ -58928,18 +58934,18 @@ class zf extends cw {
58928
58934
  if ((e == null ? void 0 : e.playFromIndex) !== void 0)
58929
58935
  return e.playFromIndex;
58930
58936
  if ((e == null ? void 0 : e.playFromId) !== void 0)
58931
- return (O = this.data) == null ? void 0 : O.keyframes.findIndex((j) => j.id === e.playFromId);
58937
+ return (O = this.data) == null ? void 0 : O.keyframes.findIndex((_) => _.id === e.playFromId);
58932
58938
  if (u != null && u.id) {
58933
- const j = (z = this.data) == null ? void 0 : z.keyframes.find((A) => A.id === u.id);
58939
+ const _ = (z = this.data) == null ? void 0 : z.keyframes.find((A) => A.id === u.id);
58934
58940
  if (u != null && u.fiveState && (yield this.move(u.fiveState, {
58935
58941
  moveEffect: r.moveToFirstPanoEffect,
58936
58942
  duration: r.moveToFirstPanoDuration
58937
- })), j) {
58938
- if (j.data.effect === "Move")
58939
- return j.index;
58940
- if (j.data.effect === "Rotate") {
58943
+ })), _) {
58944
+ if (_.data.effect === "Move")
58945
+ return _.index;
58946
+ if (_.data.effect === "Rotate") {
58941
58947
  const A = u.duration !== void 0 ? u.duration * (1 - u.playedProgress) : void 0;
58942
- return yield this.playKeyframe(j, { duration: A }), d = !0, j.index + 1;
58948
+ return yield this.playKeyframe(_, { duration: A }), d = !0, _.index + 1;
58943
58949
  }
58944
58950
  }
58945
58951
  }
@@ -58951,8 +58957,8 @@ class zf extends cw {
58951
58957
  for (let O = m; O < h.length; O++) {
58952
58958
  const z = h[O];
58953
58959
  if ((T = z == null ? void 0 : z.data) != null && T.audio && !this.privateState.audioCache.has(z.data.audio.url)) {
58954
- const j = new Audio(z.data.audio.url);
58955
- j.preload = "auto", this.privateState.audioCache.set(z.data.audio.url, j);
58960
+ const _ = new Audio(z.data.audio.url);
58961
+ _.preload = "auto", this.privateState.audioCache.set(z.data.audio.url, _);
58956
58962
  }
58957
58963
  }
58958
58964
  }
@@ -59126,7 +59132,7 @@ class zf extends cw {
59126
59132
  })(), c = this.five.getCurrentState(), h = Math.PI * 2;
59127
59133
  let u = e.longitude;
59128
59134
  u !== void 0 && (u = (u % h + h) % h, e.direction === "left" ? u <= c.longitude && (u += h) : e.direction === "right" && u >= c.longitude && (u -= h));
59129
- const d = (() => i.duration ? i.duration : l ? lO(c, oe(_({}, e), { longitude: u })) / l : 800)();
59135
+ const d = (() => i.duration ? i.duration : l ? lO(c, oe(j({}, e), { longitude: u })) / l : 800)();
59130
59136
  o.currentPlayKeyframe && (o.currentPlayKeyframe.originDuration = d);
59131
59137
  const p = this.getSpeededDuration(d);
59132
59138
  return new Promise((m) => {
@@ -59302,9 +59308,9 @@ class dw {
59302
59308
  const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, r = e.path, o = s, a = s, l = s;
59303
59309
  if (e.pano_group) {
59304
59310
  const h = t === "panorama" && e.panorama_style.skip_group === !0;
59305
- i.setGeometryByPanoGroup(e.pano_group, _(oe(_({}, e), { skipPanoGroup: h }), o));
59311
+ i.setGeometryByPanoGroup(e.pano_group, j(oe(j({}, e), { skipPanoGroup: h }), o));
59306
59312
  } else
59307
- e.path && i.setGeometryByPath(r, _({}, o));
59313
+ e.path && i.setGeometryByPath(r, j({}, o));
59308
59314
  i.name = e.name, i.setMeshStyle(l), i.setMartial(a), i.setVisibleFloorIndexes((c = e.visible_floor_indexes) != null ? c : null), i.setStartTag(s == null ? void 0 : s.start_tag), i.setEndTag(s == null ? void 0 : s.end_tag);
59309
59315
  }
59310
59316
  show() {
@@ -59319,7 +59325,7 @@ class dw {
59319
59325
  walk(t) {
59320
59326
  return K(this, null, function* () {
59321
59327
  if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
59322
- const e = _({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield ur(dO(this.five, e));
59328
+ const e = j({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield ur(dO(this.five, e));
59323
59329
  if (i)
59324
59330
  return this.logError(i.message);
59325
59331
  } else {
@@ -59408,7 +59414,7 @@ let fO = class extends bn {
59408
59414
  var m, g, v, b, w, M, I;
59409
59415
  const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, o = yield this.formatData(e);
59410
59416
  this.hooks.emit("dataChange", o, r), this.data = o;
59411
- const a = o.config, l = !o.lines && o.routes, c = (m = a == null ? void 0 : a.arrowTextureUrl) != null ? m : Zi(this.staticPrefix, Id), h = oe(_({}, a), {
59417
+ const a = o.config, l = !o.lines && o.routes, c = (m = a == null ? void 0 : a.arrowTextureUrl) != null ? m : Zi(this.staticPrefix, Id), h = oe(j({}, a), {
59412
59418
  model_style: {
59413
59419
  texture: { url: c }
59414
59420
  },
@@ -59460,8 +59466,8 @@ let fO = class extends bn {
59460
59466
  var r;
59461
59467
  if (this.disposed)
59462
59468
  return this.disposedErrorLog();
59463
- const s = _({}, this.state);
59464
- this.state = _(_({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Jt(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (r = i == null ? void 0 : i.userAction) != null ? r : !0 }), this.five.needsRender = !0);
59469
+ const s = j({}, this.state);
59470
+ this.state = j(j({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Jt(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (r = i == null ? void 0 : i.userAction) != null ? r : !0 }), this.five.needsRender = !0);
59465
59471
  }
59466
59472
  /** 添加一个 GuideLineItem */
59467
59473
  addGuideLineItem(e) {
@@ -59472,19 +59478,19 @@ let fO = class extends bn {
59472
59478
  }
59473
59479
  processItemUrls(e) {
59474
59480
  var r, o, a, l;
59475
- const i = _({}, e), s = Vc;
59481
+ const i = j({}, e), s = Vc;
59476
59482
  if (i.panorama_style) {
59477
59483
  const c = (o = (r = i.panorama_style.texture) == null ? void 0 : r.url) != null ? o : s;
59478
- i.panorama_style = oe(_({}, i.panorama_style), {
59479
- texture: oe(_({}, i.panorama_style.texture), {
59484
+ i.panorama_style = oe(j({}, i.panorama_style), {
59485
+ texture: oe(j({}, i.panorama_style.texture), {
59480
59486
  url: Zi(this.staticPrefix, c)
59481
59487
  })
59482
59488
  });
59483
59489
  }
59484
59490
  if (i.model_style) {
59485
59491
  const c = (l = (a = i.model_style.texture) == null ? void 0 : a.url) != null ? l : s;
59486
- i.model_style = oe(_({}, i.model_style), {
59487
- texture: oe(_({}, i.model_style.texture), {
59492
+ i.model_style = oe(j({}, i.model_style), {
59493
+ texture: oe(j({}, i.model_style.texture), {
59488
59494
  url: Zi(this.staticPrefix, c)
59489
59495
  })
59490
59496
  });
@@ -59960,7 +59966,7 @@ class yO extends Ds {
59960
59966
  var c;
59961
59967
  this.controllerMap.set(
59962
59968
  l.render_id,
59963
- new Xv(this.five, oe(_({
59969
+ new Xv(this.five, oe(j({
59964
59970
  mediaManager: (c = this.options) == null ? void 0 : c.mediaManager
59965
59971
  }, l), {
59966
59972
  fiveUtil: this.fiveUtil,
@@ -60042,7 +60048,7 @@ class yO extends Ds {
60042
60048
  const r = s.render_id;
60043
60049
  this.controllerMap.set(
60044
60050
  s.render_id,
60045
- new Xv(this.five, oe(_({
60051
+ new Xv(this.five, oe(j({
60046
60052
  mediaManager: (o = this.options) == null ? void 0 : o.mediaManager
60047
60053
  }, s), {
60048
60054
  fiveUtil: this.fiveUtil,
@@ -60242,7 +60248,7 @@ class Qr extends y.Mesh {
60242
60248
  f(this, "opacityAnime");
60243
60249
  /** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
60244
60250
  f(this, "uPreMeter", 1);
60245
- e.geometryConfig && (this.geometryConfig = _(_({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = Qr.calculatePath(e.path.map((l) => new y.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = Qr.formatTexture(e.texture);
60251
+ e.geometryConfig && (this.geometryConfig = j(j({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = Qr.calculatePath(e.path.map((l) => new y.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = Qr.formatTexture(e.texture);
60246
60252
  const { radius: s, tubularSegments: r, radialSegments: o } = this.geometryConfig, a = Qr.formatTexture(e.texture);
60247
60253
  this.geometry = Qr.formatGeometryUV(
60248
60254
  new y.TubeBufferGeometry(this.path, r, s, o),
@@ -60528,7 +60534,7 @@ let OO = class extends bn {
60528
60534
  return K(this, arguments, function* (e = {}) {
60529
60535
  if (this.state.visible)
60530
60536
  return;
60531
- const i = _({
60537
+ const i = j({
60532
60538
  userAction: !0,
60533
60539
  anime: { duration: 500 }
60534
60540
  }, e);
@@ -60545,7 +60551,7 @@ let OO = class extends bn {
60545
60551
  return K(this, arguments, function* (e = {}) {
60546
60552
  if (this.state.visible === !1)
60547
60553
  return;
60548
- const i = _({
60554
+ const i = j({
60549
60555
  userAction: !0,
60550
60556
  anime: { duration: 500 }
60551
60557
  }, e);
@@ -60651,7 +60657,7 @@ let OO = class extends bn {
60651
60657
  }
60652
60658
  updateState(e, i) {
60653
60659
  const s = this.state;
60654
- this.state = _(_({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
60660
+ this.state = j(j({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
60655
60661
  }
60656
60662
  /** 加载管道贴图,如果再加载中,复用之前的加载 Promise */
60657
60663
  loadPipeTexture(e) {
@@ -60924,7 +60930,7 @@ function jO(n) {
60924
60930
  }
60925
60931
  function FO(n, t, e) {
60926
60932
  let i, s, r, o, a, l, c, h, u, { content: d } = t, { five: p = void 0 } = t, { visible: m = !0 } = t, { opacity: g = 1 } = t, { zIndex: v = 0 } = t, { transform: b = void 0 } = t, { onClick: w = () => {
60927
- } } = t, { rendererIfNeed: M = void 0 } = t, { rendererData: I = void 0 } = t, { fontSize: T } = t, L, O, z, j;
60933
+ } } = t, { rendererIfNeed: M = void 0 } = t, { rendererData: I = void 0 } = t, { fontSize: T } = t, L, O, z, _;
60928
60934
  const A = (S) => {
60929
60935
  if (p.state.mode !== "Panorama") {
60930
60936
  const B = -(10 + 54 * (1 - yi(S.latitude) / 90)), Z = B + h, te = Z >= 0 ? 0 : -Z / -u;
@@ -60932,9 +60938,9 @@ function FO(n, t, e) {
60932
60938
  }
60933
60939
  };
60934
60940
  Ft(() => {
60935
- L && typeof M == "function" && (j = M(L, I)), p && (A(p.camera.pose), p.on("cameraUpdate", A));
60941
+ L && typeof M == "function" && (_ = M(L, I)), p && (A(p.camera.pose), p.on("cameraUpdate", A));
60936
60942
  }), Xt(() => {
60937
- j == null || j(), p == null || p.off("cameraUpdate", A);
60943
+ _ == null || _(), p == null || p.off("cameraUpdate", A);
60938
60944
  });
60939
60945
  function C(S) {
60940
60946
  Je[S ? "unshift" : "push"](() => {
@@ -61381,14 +61387,14 @@ let HO = class extends bn {
61381
61387
  visible: !0
61382
61388
  };
61383
61389
  this.state = Object.assign(s, i == null ? void 0 : i.initialState);
61384
- const r = _({
61390
+ const r = j({
61385
61391
  modelDepthTest: !0
61386
61392
  }, i == null ? void 0 : i.config);
61387
61393
  this._config = r, this.modelGroup = new y.Group(), this.modelGroup.name = "ModelMakerPluginGroup", this.itemMap = /* @__PURE__ */ new Map(), this.state.enabled && this._enable({ userAction: !1 });
61388
61394
  }
61389
61395
  /** 插件配置项 */
61390
61396
  get config() {
61391
- return _({}, this._config);
61397
+ return j({}, this._config);
61392
61398
  }
61393
61399
  /** 是否已经被销毁 */
61394
61400
  get disposed() {
@@ -61440,7 +61446,7 @@ let HO = class extends bn {
61440
61446
  return Promise.resolve();
61441
61447
  if (this.disposed)
61442
61448
  return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
61443
- const i = _({ userAction: !0 }, e);
61449
+ const i = j({ userAction: !0 }, e);
61444
61450
  this.updateState({ visible: !0 }, i.userAction), yield this._show(i);
61445
61451
  });
61446
61452
  }
@@ -61452,7 +61458,7 @@ let HO = class extends bn {
61452
61458
  return K(this, null, function* () {
61453
61459
  if (this.state.visible === !1)
61454
61460
  return;
61455
- const i = _({ userAction: !0 }, e);
61461
+ const i = j({ userAction: !0 }, e);
61456
61462
  this.updateState({ visible: !1 }, i.userAction), yield this._hide(i);
61457
61463
  });
61458
61464
  }
@@ -61511,7 +61517,7 @@ let HO = class extends bn {
61511
61517
  */
61512
61518
  updateConfig(e, i = {}) {
61513
61519
  var o;
61514
- const s = this.config, r = _(_({}, s), e);
61520
+ const s = this.config, r = j(j({}, s), e);
61515
61521
  this._config = r, this.hooks.emit("configChange", { prevConfig: s, config: r, userAction: (o = i.userAction) != null ? o : !0 });
61516
61522
  }
61517
61523
  /** 根据 ID 获取标注 */
@@ -61525,9 +61531,9 @@ let HO = class extends bn {
61525
61531
  return i(e) ? {
61526
61532
  list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
61527
61533
  const r = new y.Shape(), o = s.object_data.points[0];
61528
- return r.moveTo(o[0], o[2]), s.object_data.points.slice(1).forEach((l) => r.lineTo(l[0], l[2])), r.lineTo(o[0], o[2]), oe(_({}, s), {
61534
+ return r.moveTo(o[0], o[2]), s.object_data.points.slice(1).forEach((l) => r.lineTo(l[0], l[2])), r.lineTo(o[0], o[2]), oe(j({}, s), {
61529
61535
  floor_index: s.object_data.floorIndex,
61530
- object_data: oe(_({}, s.object_data), {
61536
+ object_data: oe(j({}, s.object_data), {
61531
61537
  bottom_y: o[1] + s.object_data.fixedY,
61532
61538
  shape: r.toJSON(),
61533
61539
  height: s.object_data.height + s.object_data.fixedHeight
@@ -61551,7 +61557,7 @@ let HO = class extends bn {
61551
61557
  }
61552
61558
  updateState(e, i) {
61553
61559
  const s = this.state;
61554
- this.state = _(_({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
61560
+ this.state = j(j({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
61555
61561
  }
61556
61562
  _enable(e) {
61557
61563
  this.hooks.emit("enable", { userAction: e.userAction }), this.five.scene.add(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.on("wantsTapGesture", this.onWantsFiveTapGesture), this.five.on("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.on("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.on("modeChange", this.onFiveModeChange), this.five.on("cameraUpdate", this.onFiveCameraUpdate);
@@ -61645,7 +61651,7 @@ class GO extends Ds {
61645
61651
  visible: !0
61646
61652
  };
61647
61653
  this.state = Object.assign(s, i == null ? void 0 : i.initialState);
61648
- const r = _({
61654
+ const r = j({
61649
61655
  width: 1.4,
61650
61656
  yOffset: 0.01,
61651
61657
  yRotate: 0,
@@ -61658,7 +61664,7 @@ class GO extends Ds {
61658
61664
  }
61659
61665
  /** 插件配置项 */
61660
61666
  get config() {
61661
- return _({}, this._config);
61667
+ return j({}, this._config);
61662
61668
  }
61663
61669
  /** 是否已经被销毁 */
61664
61670
  get disposed() {
@@ -61696,7 +61702,7 @@ class GO extends Ds {
61696
61702
  return Promise.resolve();
61697
61703
  if (this.disposed)
61698
61704
  return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
61699
- const i = _({ userAction: !0 }, e);
61705
+ const i = j({ userAction: !0 }, e);
61700
61706
  this.updateState({ visible: !0 }, i.userAction), this.checkMsg.pluginHidden = "", this._show(i);
61701
61707
  });
61702
61708
  }
@@ -61708,7 +61714,7 @@ class GO extends Ds {
61708
61714
  return K(this, null, function* () {
61709
61715
  if (this.state.visible === !1)
61710
61716
  return;
61711
- const i = _({ userAction: !0 }, e);
61717
+ const i = j({ userAction: !0 }, e);
61712
61718
  this.updateState({ visible: !1 }, i.userAction), this.checkMsg.pluginDisabled = "调用 hide 隐藏", this._hide(i);
61713
61719
  });
61714
61720
  }
@@ -61733,7 +61739,7 @@ class GO extends Ds {
61733
61739
  */
61734
61740
  updateConfig(e, i = {}) {
61735
61741
  var o;
61736
- const s = this.config, r = _(_({}, s), e);
61742
+ const s = this.config, r = j(j({}, s), e);
61737
61743
  this._config = r, s.imageURL !== r.imageURL && this.reloadTexture(r.imageURL), s.yOffset !== r.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), s.yRotate !== r.yRotate && this.updateMeshQuaternion(r.yRotate), s.width !== r.width && (this.mesh.geometry = new y.PlaneBufferGeometry(r.width, r.width)), this.hooks.emit("configChange", { prevConfig: s, config: r, userAction: (o = i.userAction) != null ? o : !0 });
61738
61744
  }
61739
61745
  /** 问什么看不到模型 */
@@ -61749,7 +61755,7 @@ class GO extends Ds {
61749
61755
  }
61750
61756
  updateState(e, i) {
61751
61757
  const s = this.state;
61752
- this.state = _(_({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
61758
+ this.state = j(j({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
61753
61759
  }
61754
61760
  /** 根据各种条件更新 Mesh 的可见性 */
61755
61761
  updateMeshVisible() {
@@ -62111,7 +62117,7 @@ const n1 = (n, t) => {
62111
62117
  class Zh extends Of {
62112
62118
  constructor(...e) {
62113
62119
  const i = e[0], s = yr(i.model), r = new y.Vector3().lerpVectors(fs(s, 0), fs(s, 5), 0.5);
62114
- super(oe(_({}, i), { position: r }));
62120
+ super(oe(j({}, i), { position: r }));
62115
62121
  f(this, "onModelShownFloorChange", (e) => {
62116
62122
  this.updateFiveCurrentFloorState(e), this.updateVisible();
62117
62123
  });
@@ -62316,7 +62322,7 @@ class aR extends bn {
62316
62322
  return this.items.find((i) => i.rawData.id === e);
62317
62323
  }
62318
62324
  registerTagRenderer(e) {
62319
- this.tagRendererMap = _(_({}, this.tagRendererMap), e), this.updateTagRenderer();
62325
+ this.tagRendererMap = j(j({}, this.tagRendererMap), e), this.updateTagRenderer();
62320
62326
  }
62321
62327
  hasCustomTagRenderer(e) {
62322
62328
  return !!this.tagRendererMap[e];
@@ -63343,12 +63349,12 @@ class Rf {
63343
63349
  f(this, "offset", new y.Vector3());
63344
63350
  f(this, "debugBoxes", /* @__PURE__ */ new Map());
63345
63351
  f(this, "debugBoxesVisible", !1);
63346
- this.five = t, this.options = _({}, e), this.applyDebugBoundingBoxOption();
63352
+ this.five = t, this.options = j({}, e), this.applyDebugBoundingBoxOption();
63347
63353
  }
63348
63354
  /** 将 overlay 挂到 Five canvas 的父级或业务提供的全屏相对定位容器。 */
63349
63355
  mount(t, e) {
63350
63356
  var i;
63351
- if (e && (this.options = _(_({}, this.options), e)), this.parent === t && this.container) {
63357
+ if (e && (this.options = j(j({}, this.options), e)), this.parent === t && this.container) {
63352
63358
  this.applyContainerStyle(), this.applyDebugBoundingBoxOption(), this.update();
63353
63359
  return;
63354
63360
  }
@@ -63359,7 +63365,7 @@ class Rf {
63359
63365
  * canvas 尚未进入 DOM 时不报错,会在后续 update() 中自动重试挂载。
63360
63366
  */
63361
63367
  enableAutoMount(t) {
63362
- t && (this.options = _(_({}, this.options), t)), this.autoMount = !0, this.applyDebugBoundingBoxOption(), this.tryAutoMount();
63368
+ t && (this.options = j(j({}, this.options), t)), this.autoMount = !0, this.applyDebugBoundingBoxOption(), this.tryAutoMount();
63363
63369
  }
63364
63370
  /** 移除 overlay,但保留 bindings;重新挂载(含换容器)时会复用 bindings。 */
63365
63371
  unmount() {
@@ -63373,7 +63379,7 @@ class Rf {
63373
63379
  const e = new Set(t.map((r) => r.id)), i = this.bindings, s = /* @__PURE__ */ new Map();
63374
63380
  t.forEach((r) => {
63375
63381
  const o = i.get(r.id);
63376
- s.set(r.id, oe(_({}, r), { element: o == null ? void 0 : o.element }));
63382
+ s.set(r.id, oe(j({}, r), { element: o == null ? void 0 : o.element }));
63377
63383
  }), i.forEach((r, o) => {
63378
63384
  var a;
63379
63385
  e.has(o) || ((a = r.element) == null || a.remove(), this.removeDebugBox(o), this.nameOverrides.delete(o));
@@ -63662,7 +63668,7 @@ function MR(n, t) {
63662
63668
  const u = [], d = (p, m) => {
63663
63669
  if (!(c > 1)) {
63664
63670
  for (const g of r[p])
63665
- if (!(p > 0 && g.distance <= m) && (u.push(g), p === r.length - 1 ? (c += 1, c === 1 && (h = u.map((v) => _({}, v)))) : d(p + 1, g.distance), u.pop(), c > 1))
63671
+ if (!(p > 0 && g.distance <= m) && (u.push(g), p === r.length - 1 ? (c += 1, c === 1 && (h = u.map((v) => j({}, v)))) : d(p + 1, g.distance), u.pop(), c > 1))
63666
63672
  return;
63667
63673
  }
63668
63674
  };
@@ -63723,11 +63729,11 @@ function SR(n) {
63723
63729
  return { kind: "conflict-invalid", reason: "invalid-movement" };
63724
63730
  } else if (c.outgoingMovement !== void 0)
63725
63731
  return { kind: "conflict-invalid", reason: "terminal-movement" };
63726
- s.push(oe(_({}, Aw(c)), { actions: h }));
63732
+ s.push(oe(j({}, Aw(c)), { actions: h }));
63727
63733
  }
63728
63734
  if (!xR(n, s))
63729
63735
  return { kind: "conflict-invalid", reason: "legacy-summary-mismatch" };
63730
- const r = e.map((l) => _({}, l)), o = MR(
63736
+ const r = e.map((l) => j({}, l)), o = MR(
63731
63737
  r,
63732
63738
  s.map((l) => l.point)
63733
63739
  );
@@ -64106,7 +64112,7 @@ function OR(n, t = 0, e = 300) {
64106
64112
  }
64107
64113
  }
64108
64114
  l.push(...L), l.sort((k, R) => k.timeStamp - R.timeStamp);
64109
- const O = n.track.duration * 1e3, z = O + b, j = l[l.length - 1], A = l.filter(
64115
+ const O = n.track.duration * 1e3, z = O + b, _ = l[l.length - 1], A = l.filter(
64110
64116
  (k) => k.timeStamp === 0 && Math.abs(k.position[0] - i.position[0]) < 1e-3 && Math.abs(k.position[1] - i.position[1]) < 1e-3 && Math.abs(k.position[2] - i.position[2]) < 1e-3
64111
64117
  );
64112
64118
  return console.log(`动画转换完成:
@@ -64115,10 +64121,10 @@ function OR(n, t = 0, e = 300) {
64115
64121
  - 移动速度: ${g.toFixed(2)} 单位/秒
64116
64122
  - 动作延迟时间: ${b}ms (${(b / 1e3).toFixed(2)}s)
64117
64123
  - 计算总时间: ${z}ms (${(z / 1e3).toFixed(2)}s)
64118
- - 实际最后时间戳: ${j == null ? void 0 : j.timeStamp}ms (${((j == null ? void 0 : j.timeStamp) / 1e3).toFixed(2)}s)
64124
+ - 实际最后时间戳: ${_ == null ? void 0 : _.timeStamp}ms (${((_ == null ? void 0 : _.timeStamp) / 1e3).toFixed(2)}s)
64119
64125
  - 关键帧数量: ${l.length}
64120
64126
  - 初始位置关键帧数量: ${A.length}
64121
- - 速度一致性: ${(((j == null ? void 0 : j.timeStamp) - b) / 1e3 / n.track.duration * 100).toFixed(1)}% (100%为完全一致)`), {
64127
+ - 速度一致性: ${(((_ == null ? void 0 : _.timeStamp) - b) / 1e3 / n.track.duration * 100).toFixed(1)}% (100%为完全一致)`), {
64122
64128
  id: n.id,
64123
64129
  name: n.name || "默认角色",
64124
64130
  type: "model",
@@ -64133,7 +64139,7 @@ function Pw(n, t, e = 0) {
64133
64139
  var a, l;
64134
64140
  if (!n || !n.players || !Array.isArray(n.players))
64135
64141
  return n;
64136
- const i = RR(n), s = (a = i.players[0]) != null && a.fiveState ? _({}, i.players[0].fiveState) : void 0;
64142
+ const i = RR(n), s = (a = i.players[0]) != null && a.fiveState ? j({}, i.players[0].fiveState) : void 0;
64137
64143
  if (s && s.offset && t) {
64138
64144
  const c = new pe(s.offset.x, s.offset.y, s.offset.z), h = jt(c, t == null ? void 0 : t.transform);
64139
64145
  s.offset = { x: h.x, y: h.y, z: h.z };
@@ -64148,7 +64154,7 @@ function Pw(n, t, e = 0) {
64148
64154
  let o = 0;
64149
64155
  return i.players.forEach((c, h) => {
64150
64156
  var p, m, g;
64151
- const u = _({}, c);
64157
+ const u = j({}, c);
64152
64158
  if (t && ((p = u.track) != null && p.path && Array.isArray(u.track.path) && (u.track.path = u.track.path.map((v) => {
64153
64159
  const b = jt(new pe(v.x, v.y, v.z), t == null ? void 0 : t.transform);
64154
64160
  return { x: b.x, y: b.y, z: b.z };
@@ -64156,7 +64162,7 @@ function Pw(n, t, e = 0) {
64156
64162
  if (!v.point)
64157
64163
  return v;
64158
64164
  const b = jt(new pe(v.point.x, v.point.y, v.point.z), t == null ? void 0 : t.transform);
64159
- return oe(_({}, v), {
64165
+ return oe(j({}, v), {
64160
64166
  point: {
64161
64167
  x: b.x,
64162
64168
  y: b.y,
@@ -64194,12 +64200,12 @@ function tu(n, t) {
64194
64200
  return Math.sqrt(e * e + i * i + s * s);
64195
64201
  }
64196
64202
  function _R(n, t) {
64197
- const e = n.points[t].point, i = n.points[t + 1].point, s = n.projections[t], r = n.projections[t + 1], o = [_({}, e)];
64203
+ const e = n.points[t].point, i = n.points[t + 1].point, s = n.projections[t], r = n.projections[t + 1], o = [j({}, e)];
64198
64204
  for (let a = s.segmentIndex + 1; a <= r.segmentIndex; a++) {
64199
64205
  const l = n.path[a];
64200
- tu(o[o.length - 1], l) > eu && tu(l, i) > eu && o.push(_({}, l));
64206
+ tu(o[o.length - 1], l) > eu && tu(l, i) > eu && o.push(j({}, l));
64201
64207
  }
64202
- if (tu(o[o.length - 1], i) > eu && o.push(_({}, i)), !(o.length < 2))
64208
+ if (tu(o[o.length - 1], i) > eu && o.push(j({}, i)), !(o.length < 2))
64203
64209
  return o;
64204
64210
  }
64205
64211
  function jR(n, t, e) {
@@ -64270,25 +64276,25 @@ function NR(n, t, e, i, s, r) {
64270
64276
  return;
64271
64277
  if (!_f(l))
64272
64278
  throw new Js(e.id, "unsafe-canonical-output");
64273
- const v = u === s.points.length - 2, b = us(d.actions), w = v ? us(p.actions) : [], M = l1(b), I = l1(w), T = a + M * 1e3, L = T + m.duration * 1e3 + I * 1e3, O = oe(_({}, us(e.track)), {
64279
+ const v = u === s.points.length - 2, b = us(d.actions), w = v ? us(p.actions) : [], M = l1(b), I = l1(w), T = a + M * 1e3, L = T + m.duration * 1e3 + I * 1e3, O = oe(j({}, us(e.track)), {
64274
64280
  duration: m.duration,
64275
64281
  path: g,
64276
64282
  points: [
64277
- oe(_({}, us(d)), { actions: b, outgoingMovement: void 0 }),
64278
- oe(_({}, us(p)), { actions: w, outgoingMovement: void 0 })
64283
+ oe(j({}, us(d)), { actions: b, outgoingMovement: void 0 }),
64284
+ oe(j({}, us(p)), { actions: w, outgoingMovement: void 0 })
64279
64285
  ]
64280
64286
  });
64281
64287
  delete O.schemaVersion;
64282
- const z = oe(_({}, us(e)), {
64288
+ const z = oe(j({}, us(e)), {
64283
64289
  animationUrl: m.animationUrl.trim(),
64284
64290
  repeat: m.repeat,
64285
64291
  matrix: l,
64286
64292
  track: O
64287
- }), j = {
64293
+ }), _ = {
64288
64294
  id: t == null ? void 0 : t.id,
64289
64295
  name: t == null ? void 0 : t.name,
64290
64296
  players: [z]
64291
- }, A = n.transformScriptData(j, r.work, a), C = BR(A);
64297
+ }, A = n.transformScriptData(_, r.work, a), C = BR(A);
64292
64298
  if (!Mw(C))
64293
64299
  throw new Js(e.id, "unsafe-canonical-output");
64294
64300
  const x = us(C.keyframes).filter(
@@ -64321,7 +64327,7 @@ function NR(n, t, e, i, s, r) {
64321
64327
  if (c.length !== 0) {
64322
64328
  if (!c.every(Cw))
64323
64329
  throw new Js(e.id, "unsafe-canonical-output");
64324
- return oe(_({}, i), { keyframes: c });
64330
+ return oe(j({}, i), { keyframes: c });
64325
64331
  }
64326
64332
  }
64327
64333
  function Ew(n, t = {}) {
@@ -64413,7 +64419,7 @@ class GR {
64413
64419
  f(this, "playingPlayersListeners", /* @__PURE__ */ new Set());
64414
64420
  f(this, "nameplate");
64415
64421
  f(this, "onNameplateRender", () => this.nameplate.update());
64416
- this.five = t, this.config = _({
64422
+ this.five = t, this.config = j({
64417
64423
  autoPlay: !1,
64418
64424
  loop: !1,
64419
64425
  debug: !1
@@ -64756,7 +64762,7 @@ class GR {
64756
64762
  * 获取当前状态
64757
64763
  */
64758
64764
  getState() {
64759
- return _({}, this.state);
64765
+ return j({}, this.state);
64760
64766
  }
64761
64767
  /**
64762
64768
  * 获取可用章节列表
@@ -65789,7 +65795,7 @@ class xw {
65789
65795
  f(this, "chapterFloorModel", null);
65790
65796
  /** five 'modeChange' 楼层重放监听的反订阅句柄(chapterFloorMap 启用时挂载,停用/reset/dispose 时清理) */
65791
65797
  f(this, "unsubFloorModeChange", null);
65792
- this.five = t, this.config = _({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1, showNameplate: !0 }, e), this.playground = new i_(t, this.config.debug), this.nameplate = new Rf(t), this.unsubNameplateRender = this.playground.onRender(() => this.nameplate.update()), this.unsubNameplateCameraUpdate = this.five.on("cameraUpdate", () => this.nameplate.update()), this.unsubClockTick = this.playground.getClock().onTick(() => this.emitProgress()), this.config.showNameplate !== !1 && this.nameplate.enableAutoMount(this.config.nameplateOptions);
65798
+ this.five = t, this.config = j({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1, showNameplate: !0 }, e), this.playground = new i_(t, this.config.debug), this.nameplate = new Rf(t), this.unsubNameplateRender = this.playground.onRender(() => this.nameplate.update()), this.unsubNameplateCameraUpdate = this.five.on("cameraUpdate", () => this.nameplate.update()), this.unsubClockTick = this.playground.getClock().onTick(() => this.emitProgress()), this.config.showNameplate !== !1 && this.nameplate.enableAutoMount(this.config.nameplateOptions);
65793
65799
  }
65794
65800
  /** 加载剧本:预加载资源 + 将模型加入 five 场景;autoPlay 时自动播放首章 */
65795
65801
  loadScript(t) {
@@ -66053,7 +66059,7 @@ class xw {
66053
66059
  return this.rejectKeyframe("index 越界");
66054
66060
  if (e.timeStamp !== void 0 && !(Number.isFinite(e.timeStamp) && e.timeStamp >= 0))
66055
66061
  return this.rejectKeyframe("time 必须为非负有限数");
66056
- const r = _(_({}, s.keyframes[t]), e);
66062
+ const r = j(j({}, s.keyframes[t]), e);
66057
66063
  return s.keyframes[t] = r, s.keyframes.sort((o, a) => o.timeStamp - a.timeStamp), this.afterKeyframesChanged(s);
66058
66064
  }
66059
66065
  /** 移除指定下标关键帧。拒绝(保持序列不变):未加载 script / 无章节 / index 越界。 */
@@ -66067,7 +66073,7 @@ class xw {
66067
66073
  /** 获取当前章节的运镜关键帧(升序副本;无章节/无 camera player 时返回空数组) */
66068
66074
  getCameraKeyframes() {
66069
66075
  const t = this.getCameraPlayer();
66070
- return t ? t.keyframes.map((e) => _({}, e)) : [];
66076
+ return t ? t.keyframes.map((e) => j({}, e)) : [];
66071
66077
  }
66072
66078
  /**
66073
66079
  * 序列化当前章节的运镜 player。
@@ -66516,13 +66522,13 @@ class xw {
66516
66522
  return this.emitKeyframesChanged(e), { success: !0, keyframes: e };
66517
66523
  }
66518
66524
  emitKeyframesChanged(t) {
66519
- this.keyframesChangedListeners.forEach((e) => e(t.map((i) => _({}, i))));
66525
+ this.keyframesChangedListeners.forEach((e) => e(t.map((i) => j({}, i))));
66520
66526
  }
66521
66527
  emitCurrentChapterChanged() {
66522
66528
  if (this.currentChapterChangedListeners.size === 0)
66523
66529
  return;
66524
66530
  const t = this.getCurrentChapterInfo();
66525
- this.currentChapterChangedListeners.forEach((e) => e(_({}, t)));
66531
+ this.currentChapterChangedListeners.forEach((e) => e(j({}, t)));
66526
66532
  }
66527
66533
  /** 当前章节索引(0-based;无当前章节为 -1),按引用或名称匹配 */
66528
66534
  getCurrentChapterIndex() {
@@ -67219,7 +67225,7 @@ void main() {
67219
67225
  function(n) {
67220
67226
  qa(t, n);
67221
67227
  function t(e) {
67222
- var i = this, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, L, O, z, j, A, C, x, E, S, k, R, B, Z, te, Y, J, se, re, Se, $, me = new y.BufferGeometry();
67228
+ var i = this, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, L, O, z, _, A, C, x, E, S, k, R, B, Z, te, Y, J, se, re, Se, $, me = new y.BufferGeometry();
67223
67229
  me.setAttribute("position", new y.BufferAttribute(new Float32Array(), 3)), me.setAttribute("alive", new y.BufferAttribute(new Float32Array(), 1)), me.setAttribute("color", new y.BufferAttribute(new Float32Array(), 3)), me.setAttribute("opacity", new y.BufferAttribute(new Float32Array(), 1)), me.setAttribute("size", new y.BufferAttribute(new Float32Array(), 1)), me.setAttribute("angle", new y.BufferAttribute(new Float32Array(), 1));
67224
67230
  var ae = new y.ShaderMaterial({
67225
67231
  uniforms: {
@@ -67234,7 +67240,7 @@ void main() {
67234
67240
  blending: (r = e.blending) !== null && r !== void 0 ? r : y.NormalBlending,
67235
67241
  depthWrite: !1
67236
67242
  });
67237
- return i = n.call(this, me, ae) || this, i.instances = [], i.needsRender = !0, i.birthTime = Date.now() / 1e3, i.disposed = !1, i.paused = !1, i.positionBase = (a = (o = e.positionBase) === null || o === void 0 ? void 0 : o.clone()) !== null && a !== void 0 ? a : new y.Vector3(), i.positionStyle = (l = e.positionStyle) !== null && l !== void 0 ? l : "CUBE", i.positionCubeSpread = (h = (c = e.positionCubeSpread) === null || c === void 0 ? void 0 : c.clone()) !== null && h !== void 0 ? h : new y.Vector3(), i.positionSphereSpread = (u = e.positionSphereSpread) !== null && u !== void 0 ? u : 0, i.velocityStyle = (d = e.velocityStyle) !== null && d !== void 0 ? d : "CUBE", i.velocityCubeBase = (m = (p = e.velocityCubeBase) === null || p === void 0 ? void 0 : p.clone()) !== null && m !== void 0 ? m : new y.Vector3(), i.velocityCubeSpread = (v = (g = e.velocityCubeSpread) === null || g === void 0 ? void 0 : g.clone()) !== null && v !== void 0 ? v : new y.Vector3(), i.velocitySphereBase = (b = e.velocitySphereBase) !== null && b !== void 0 ? b : 0, i.velocitySphereSpread = (w = e.velocitySphereSpread) !== null && w !== void 0 ? w : 0, i.accelerationBase = (I = (M = e.accelerationBase) === null || M === void 0 ? void 0 : M.clone()) !== null && I !== void 0 ? I : new y.Vector3(), i.accelerationSpread = (L = (T = e.accelerationSpread) === null || T === void 0 ? void 0 : T.clone()) !== null && L !== void 0 ? L : new y.Vector3(), i.angleBase = (O = e.angleBase) !== null && O !== void 0 ? O : 0, i.angleSpread = (z = e.angleSpread) !== null && z !== void 0 ? z : 0, i.angleVelocityBase = (j = e.angleVelocityBase) !== null && j !== void 0 ? j : 0, i.angleVelocitySpread = (A = e.angleVelocitySpread) !== null && A !== void 0 ? A : 0, i.angleAccelerationBase = (C = e.angleAccelerationBase) !== null && C !== void 0 ? C : 0, i.angleAccelerationSpread = (x = e.angleAccelerationSpread) !== null && x !== void 0 ? x : 0, i.sizeBase = (E = e.sizeBase) !== null && E !== void 0 ? E : 0.1, i.sizeSpread = (S = e.sizeSpread) !== null && S !== void 0 ? S : 0, i.sizeTween = (k = e.sizeTween) !== null && k !== void 0 ? k : null, i.colorBase = (B = (R = e.colorBase) === null || R === void 0 ? void 0 : R.clone()) !== null && B !== void 0 ? B : new y.Vector3(), i.colorSpread = (te = (Z = e.colorSpread) === null || Z === void 0 ? void 0 : Z.clone()) !== null && te !== void 0 ? te : new y.Vector3(), i.colorTween = (Y = e.colorTween) !== null && Y !== void 0 ? Y : null, i.opacityBase = ((J = e.opacityBase) !== null && J !== void 0 ? J : e.opacityTween) ? 0 : 1, i.opacitySpread = (se = e.opacitySpread) !== null && se !== void 0 ? se : 0, i.opacityTween = (re = e.opacityTween) !== null && re !== void 0 ? re : null, i.particlesPerSecond = (Se = e.particlesPerSecond) !== null && Se !== void 0 ? Se : 60, i.particleDeathAge = ($ = e.particleDeathAge) !== null && $ !== void 0 ? $ : 1, i;
67243
+ return i = n.call(this, me, ae) || this, i.instances = [], i.needsRender = !0, i.birthTime = Date.now() / 1e3, i.disposed = !1, i.paused = !1, i.positionBase = (a = (o = e.positionBase) === null || o === void 0 ? void 0 : o.clone()) !== null && a !== void 0 ? a : new y.Vector3(), i.positionStyle = (l = e.positionStyle) !== null && l !== void 0 ? l : "CUBE", i.positionCubeSpread = (h = (c = e.positionCubeSpread) === null || c === void 0 ? void 0 : c.clone()) !== null && h !== void 0 ? h : new y.Vector3(), i.positionSphereSpread = (u = e.positionSphereSpread) !== null && u !== void 0 ? u : 0, i.velocityStyle = (d = e.velocityStyle) !== null && d !== void 0 ? d : "CUBE", i.velocityCubeBase = (m = (p = e.velocityCubeBase) === null || p === void 0 ? void 0 : p.clone()) !== null && m !== void 0 ? m : new y.Vector3(), i.velocityCubeSpread = (v = (g = e.velocityCubeSpread) === null || g === void 0 ? void 0 : g.clone()) !== null && v !== void 0 ? v : new y.Vector3(), i.velocitySphereBase = (b = e.velocitySphereBase) !== null && b !== void 0 ? b : 0, i.velocitySphereSpread = (w = e.velocitySphereSpread) !== null && w !== void 0 ? w : 0, i.accelerationBase = (I = (M = e.accelerationBase) === null || M === void 0 ? void 0 : M.clone()) !== null && I !== void 0 ? I : new y.Vector3(), i.accelerationSpread = (L = (T = e.accelerationSpread) === null || T === void 0 ? void 0 : T.clone()) !== null && L !== void 0 ? L : new y.Vector3(), i.angleBase = (O = e.angleBase) !== null && O !== void 0 ? O : 0, i.angleSpread = (z = e.angleSpread) !== null && z !== void 0 ? z : 0, i.angleVelocityBase = (_ = e.angleVelocityBase) !== null && _ !== void 0 ? _ : 0, i.angleVelocitySpread = (A = e.angleVelocitySpread) !== null && A !== void 0 ? A : 0, i.angleAccelerationBase = (C = e.angleAccelerationBase) !== null && C !== void 0 ? C : 0, i.angleAccelerationSpread = (x = e.angleAccelerationSpread) !== null && x !== void 0 ? x : 0, i.sizeBase = (E = e.sizeBase) !== null && E !== void 0 ? E : 0.1, i.sizeSpread = (S = e.sizeSpread) !== null && S !== void 0 ? S : 0, i.sizeTween = (k = e.sizeTween) !== null && k !== void 0 ? k : null, i.colorBase = (B = (R = e.colorBase) === null || R === void 0 ? void 0 : R.clone()) !== null && B !== void 0 ? B : new y.Vector3(), i.colorSpread = (te = (Z = e.colorSpread) === null || Z === void 0 ? void 0 : Z.clone()) !== null && te !== void 0 ? te : new y.Vector3(), i.colorTween = (Y = e.colorTween) !== null && Y !== void 0 ? Y : null, i.opacityBase = ((J = e.opacityBase) !== null && J !== void 0 ? J : e.opacityTween) ? 0 : 1, i.opacitySpread = (se = e.opacitySpread) !== null && se !== void 0 ? se : 0, i.opacityTween = (re = e.opacityTween) !== null && re !== void 0 ? re : null, i.particlesPerSecond = (Se = e.particlesPerSecond) !== null && Se !== void 0 ? Se : 60, i.particleDeathAge = ($ = e.particleDeathAge) !== null && $ !== void 0 ? $ : 1, i;
67238
67244
  }
67239
67245
  return Object.defineProperty(t.prototype, "texture", {
67240
67246
  /** 贴图素材 */
@@ -67469,7 +67475,7 @@ void main() {
67469
67475
  (function(n) {
67470
67476
  qa(t, n);
67471
67477
  function t(e) {
67472
- for (var i = this, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, L, O, z, j, A, C, x, E, S, k, R, B, Z, te, Y, J, se = Math.ceil(((s = e.particlesPerSecond) !== null && s !== void 0 ? s : 60) * ((r = e.particleDeathAge) !== null && r !== void 0 ? r : 1)), re = new y.BufferGeometry(), Se = new Float32Array(se * 3), $ = new Float32Array(se * 3), me = new Float32Array(se * 3), ae = new Float32Array(se), ce = new Float32Array(se), we = new Float32Array(se), ie = new Float32Array(se), Ce = new Float32Array(se * 3), Re = new Float32Array(se), be = new Float32Array(se), De = new Float32Array(se), ge = new Float32Array(se), de = 0; de < se; de++) {
67478
+ for (var i = this, s, r, o, a, l, c, h, u, d, p, m, g, v, b, w, M, I, T, L, O, z, _, A, C, x, E, S, k, R, B, Z, te, Y, J, se = Math.ceil(((s = e.particlesPerSecond) !== null && s !== void 0 ? s : 60) * ((r = e.particleDeathAge) !== null && r !== void 0 ? r : 1)), re = new y.BufferGeometry(), Se = new Float32Array(se * 3), $ = new Float32Array(se * 3), me = new Float32Array(se * 3), ae = new Float32Array(se), ce = new Float32Array(se), we = new Float32Array(se), ie = new Float32Array(se), Ce = new Float32Array(se * 3), Re = new Float32Array(se), be = new Float32Array(se), De = new Float32Array(se), ge = new Float32Array(se), de = 0; de < se; de++) {
67473
67479
  var Oe = ((o = e.particleDeathAge) !== null && o !== void 0 ? o : 1) / se * de;
67474
67480
  ae[de] = Oe, ce[de] = (a = e.particleDeathAge) !== null && a !== void 0 ? a : 1, ge[de] = de;
67475
67481
  var Ue = (c = (l = e.positionBase) === null || l === void 0 ? void 0 : l.clone()) !== null && c !== void 0 ? c : new y.Vector3();
@@ -67499,7 +67505,7 @@ void main() {
67499
67505
  }
67500
67506
  $[de * 3] = et.x, $[de * 3 + 1] = et.y, $[de * 3 + 2] = et.z;
67501
67507
  var pi = Tl((T = e.accelerationBase) !== null && T !== void 0 ? T : new y.Vector3(), (L = e.accelerationSpread) !== null && L !== void 0 ? L : new y.Vector3());
67502
- me[de * 3] = pi.x, me[de * 3 + 1] = pi.y, me[de * 3 + 2] = pi.z, we[de] = Yo((O = e.sizeBase) !== null && O !== void 0 ? O : 0.1, (z = e.sizeSpread) !== null && z !== void 0 ? z : 0), ie[de] = (j = e.sizeGrowth) !== null && j !== void 0 ? j : 0;
67508
+ me[de * 3] = pi.x, me[de * 3 + 1] = pi.y, me[de * 3 + 2] = pi.z, we[de] = Yo((O = e.sizeBase) !== null && O !== void 0 ? O : 0.1, (z = e.sizeSpread) !== null && z !== void 0 ? z : 0), ie[de] = (_ = e.sizeGrowth) !== null && _ !== void 0 ? _ : 0;
67503
67509
  var Lt = Tl((A = e.colorBase) !== null && A !== void 0 ? A : new y.Vector3(), (C = e.colorSpread) !== null && C !== void 0 ? C : new y.Vector3());
67504
67510
  Ce[de * 3] = Lt.x, Ce[de * 3 + 1] = Lt.y, Ce[de * 3 + 2] = Lt.z, Re[de] = Yo((x = e.opacityBase) !== null && x !== void 0 ? x : 1, (E = e.opacitySpread) !== null && E !== void 0 ? E : 0), be[de] = Yo((S = e.angleBase) !== null && S !== void 0 ? S : 0, (k = e.angleSpread) !== null && k !== void 0 ? k : 0), De[de] = Yo((R = e.angleVelocityBase) !== null && R !== void 0 ? R : 0, (B = e.angleVelocitySpread) !== null && B !== void 0 ? B : 0);
67505
67511
  }
@@ -67621,8 +67627,8 @@ class Lw {
67621
67627
  const M = Math.max(Math.abs(m - Math.round(c)), Math.abs(g - Math.round(h)));
67622
67628
  if (M > u || M < this.maxRing)
67623
67629
  continue;
67624
- const I = Math.atan2(b - a.z, v - a.x), T = t * 0.3, L = 0.75 + 0.2 * Math.sin(I * 3 + T), O = Dl(m, g, this.seed), j = this.isCovered(m - 1, g) || this.isCovered(m + 1, g) || this.isCovered(m, g - 1) || this.isCovered(m, g + 1) ? L : Math.max(0.55, L - 0.15);
67625
- if (O > j)
67630
+ const I = Math.atan2(b - a.z, v - a.x), T = t * 0.3, L = 0.75 + 0.2 * Math.sin(I * 3 + T), O = Dl(m, g, this.seed), _ = this.isCovered(m - 1, g) || this.isCovered(m + 1, g) || this.isCovered(m, g - 1) || this.isCovered(m, g + 1) ? L : Math.max(0.55, L - 0.15);
67631
+ if (O > _)
67626
67632
  continue;
67627
67633
  const A = this.cell * 0.35, C = (Dl(m + 13, g + 7, this.seed) - 0.5) * 2 * A, x = (Dl(m + 29, g + 3, this.seed) - 0.5) * 2 * A;
67628
67634
  p.push({
@@ -67671,7 +67677,7 @@ class v_ {
67671
67677
  * 添加火焰
67672
67678
  */
67673
67679
  addFire(t, e, i) {
67674
- const s = _(_({}, p_), i), r = (i == null ? void 0 : i.fireSize) || 1, o = {
67680
+ const s = j(j({}, p_), i), r = (i == null ? void 0 : i.fireSize) || 1, o = {
67675
67681
  id: t,
67676
67682
  positions: e,
67677
67683
  config: s,
@@ -67838,7 +67844,7 @@ class v_ {
67838
67844
  */
67839
67845
  updateFireConfig(t, e) {
67840
67846
  const i = this.fires.get(t);
67841
- i && (i.config = _(_({}, i.config), e), i.growthTimer && (clearInterval(i.growthTimer), i.growthTimer = null), this.startGrowth(i));
67847
+ i && (i.config = j(j({}, i.config), e), i.growthTimer && (clearInterval(i.growthTimer), i.growthTimer = null), this.startGrowth(i));
67842
67848
  }
67843
67849
  /**
67844
67850
  * 移动单个火焰的基础位置
@@ -68251,7 +68257,7 @@ class vF {
68251
68257
  if (!s || !this.fireManager)
68252
68258
  return;
68253
68259
  const r = (a = i == null ? void 0 : i.spreadSpeed) != null ? a : 1, o = this.toWorldBounds(e);
68254
- s.spreadBounds = e, s.spreadSpeed = r, this.fireManager.updateFireConfig(t, oe(_({}, m_(o, s.size, r)), {
68260
+ s.spreadBounds = e, s.spreadSpeed = r, this.fireManager.updateFireConfig(t, oe(j({}, m_(o, s.size, r)), {
68255
68261
  fireSize: s.size
68256
68262
  })), this.five.needsRender = !0;
68257
68263
  }
@@ -68740,7 +68746,7 @@ const S_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
68740
68746
  }, Symbol.toStringTag, { value: "Module" }));
68741
68747
  class id extends lf {
68742
68748
  constructor(t, e) {
68743
- super(t, _(_({}, tA()), e));
68749
+ super(t, j(j({}, tA()), e));
68744
68750
  }
68745
68751
  appendTo(t) {
68746
68752
  return this.containerDom && this.canvas.parentNode !== this.containerDom && (this.containerDom = void 0), super.appendTo(t);
@@ -68772,7 +68778,7 @@ class Nf extends Zb {
68772
68778
  const m = (d = (u = (c = i.helper) == null ? void 0 : c.container) != null ? u : (h = e.getElement()) == null ? void 0 : h.parentElement) != null ? d : document.body;
68773
68779
  r.containerDom !== m && r.appendTo(m), this.overlayMagnifier = r;
68774
68780
  } else if (l) {
68775
- const m = new id(e, oe(_(_({}, l.config), (p = i.helper) == null ? void 0 : p.magnifierParams), { width: l.width, height: l.height, scale: l.scale }));
68781
+ const m = new id(e, oe(j(j({}, l.config), (p = i.helper) == null ? void 0 : p.magnifierParams), { width: l.width, height: l.height, scale: l.scale }));
68776
68782
  l.containerDom && m.appendTo(l.containerDom), l.state.enabled && m.enable(), a.magnifier = m, l.dispose(), this.overlayMagnifier = m;
68777
68783
  }
68778
68784
  a.pointHelper && (a.pointHelper.dispose(), a.pointHelper = new iA(e)), this.on("intersectionUpdate", (m) => {
@@ -68790,7 +68796,7 @@ class Nf extends Zb {
68790
68796
  try {
68791
68797
  this.pointSelectorHelper.enable(), this.updatePointSelectorHelperIntersect(e);
68792
68798
  const s = this.pointSelectorHelper.position;
68793
- return e && s ? _(_({}, e), s) : null;
68799
+ return e && s ? j(j({}, e), s) : null;
68794
68800
  } finally {
68795
68801
  this.suppliedNdc = void 0;
68796
68802
  }
@@ -68853,7 +68859,7 @@ class Ul extends Vi {
68853
68859
  const o = this.pointSelector.position;
68854
68860
  if (!o)
68855
68861
  return !1;
68856
- this.pointSelector.pointSelectorHelper.position = oe(_({}, o), { point: r.clone() });
68862
+ this.pointSelector.pointSelectorHelper.position = oe(j({}, o), { point: r.clone() });
68857
68863
  const a = this.polyline;
68858
68864
  return this.selectPoint(), this.disposed || this.singleSegment || (this.polyline === a && this.complete(), this.disposed) ? !1 : (this.selectPoint(), !0);
68859
68865
  },
@@ -68909,9 +68915,9 @@ class Ul extends Vi {
68909
68915
  }
68910
68916
  createPointSelector(e) {
68911
68917
  var i;
68912
- return new Nf(e.five, oe(_({}, e.pointSelectorConfig), {
68918
+ return new Nf(e.five, oe(j({}, e.pointSelectorConfig), {
68913
68919
  mode: e.editParams.pointSelectorMode,
68914
- helper: _({ magnifierParams: this.magnifierParams, container: e.container }, (i = e.pointSelectorConfig) == null ? void 0 : i.helper)
68920
+ helper: j({ magnifierParams: this.magnifierParams, container: e.container }, (i = e.pointSelectorConfig) == null ? void 0 : i.helper)
68915
68921
  }), e.edgeSnapOptions);
68916
68922
  }
68917
68923
  }
@@ -68920,9 +68926,9 @@ class k_ extends kb {
68920
68926
  var i;
68921
68927
  super(e);
68922
68928
  f(this, "selector");
68923
- this.selector = new Nf(e.five, oe(_({}, e.pointSelectorConfig), {
68929
+ this.selector = new Nf(e.five, oe(j({}, e.pointSelectorConfig), {
68924
68930
  mode: "fixed",
68925
- helper: oe(_({}, (i = e.pointSelectorConfig) == null ? void 0 : i.helper), { container: e.container })
68931
+ helper: oe(j({}, (i = e.pointSelectorConfig) == null ? void 0 : i.helper), { container: e.container })
68926
68932
  }), e.edgeSnapOptions, e.magnifier, () => this.refresh());
68927
68933
  }
68928
68934
  refresh() {
@@ -68967,7 +68973,7 @@ class I1 extends pc {
68967
68973
  var e;
68968
68974
  return (e = this.endpointGesture) == null ? void 0 : e.cancel();
68969
68975
  });
68970
- this.selector = new Nf(e.five, oe(_({}, e.pointSelectorConfig), { helper: oe(_({}, (s = e.pointSelectorConfig) == null ? void 0 : s.helper), { container: e.container }) }), e.edgeSnapOptions, e.magnifier);
68976
+ this.selector = new Nf(e.five, oe(j({}, e.pointSelectorConfig), { helper: oe(j({}, (s = e.pointSelectorConfig) == null ? void 0 : s.helper), { container: e.container }) }), e.edgeSnapOptions, e.magnifier);
68971
68977
  const i = this.five.getElement();
68972
68978
  i && (this.endpointGesture = new RS(i, {
68973
68979
  findTarget: (r) => this.findEndpoint(r),
@@ -69076,17 +69082,17 @@ class T_ extends _b {
69076
69082
  class D_ extends jb {
69077
69083
  constructor(e, i = {}) {
69078
69084
  var o, a, l, c, h, u, d, p, m, g, v, b, w, M;
69079
- const s = (a = (o = i.openParams) == null ? void 0 : o.isMobile) != null ? a : Tc, r = oe(_({}, i), {
69080
- openParams: oe(_({}, i.openParams), { isMobile: s }),
69081
- editParams: oe(_({}, i.editParams), { pointSelectorMode: (c = (l = i.editParams) == null ? void 0 : l.pointSelectorMode) != null ? c : s ? "fixed" : "cursor", autoEndConfig: s ? _({ line: 2 }, (h = i.editParams) == null ? void 0 : h.autoEndConfig) : (u = i.editParams) == null ? void 0 : u.autoEndConfig }),
69082
- useUIController: s && i.useUIController !== !1 ? _({ useNewUI: !0, mode: "mobile" }, typeof i.useUIController == "object" ? i.useUIController : {}) : i.useUIController,
69083
- pointSelectorConfig: oe(_({}, i.pointSelectorConfig), {
69084
- helper: oe(_({}, (d = i.pointSelectorConfig) == null ? void 0 : d.helper), {
69085
- magnifierParams: _(_(_({}, s ? { width: 150, height: 150, dragEnabled: !1, autoFixPCPosition: !1, initialPosition: { left: "12px", top: "12px" } } : {}), i.magnifierParams), (m = (p = i.pointSelectorConfig) == null ? void 0 : p.helper) == null ? void 0 : m.magnifierParams)
69085
+ const s = (a = (o = i.openParams) == null ? void 0 : o.isMobile) != null ? a : Tc, r = oe(j({}, i), {
69086
+ openParams: oe(j({}, i.openParams), { isMobile: s }),
69087
+ editParams: oe(j({}, i.editParams), { pointSelectorMode: (c = (l = i.editParams) == null ? void 0 : l.pointSelectorMode) != null ? c : s ? "fixed" : "cursor", autoEndConfig: s ? j({ line: 2 }, (h = i.editParams) == null ? void 0 : h.autoEndConfig) : (u = i.editParams) == null ? void 0 : u.autoEndConfig }),
69088
+ useUIController: s && i.useUIController !== !1 ? j({ useNewUI: !0, mode: "mobile" }, typeof i.useUIController == "object" ? i.useUIController : {}) : i.useUIController,
69089
+ pointSelectorConfig: oe(j({}, i.pointSelectorConfig), {
69090
+ helper: oe(j({}, (d = i.pointSelectorConfig) == null ? void 0 : d.helper), {
69091
+ magnifierParams: j(j(j({}, s ? { width: 150, height: 150, dragEnabled: !1, autoFixPCPosition: !1, initialPosition: { left: "12px", top: "12px" } } : {}), i.magnifierParams), (m = (p = i.pointSelectorConfig) == null ? void 0 : p.helper) == null ? void 0 : m.magnifierParams)
69086
69092
  })
69087
69093
  })
69088
69094
  });
69089
- i.singleSegment && (r.editParams = oe(_({}, r.editParams), { autoEndConfig: oe(_({}, (g = r.editParams) == null ? void 0 : g.autoEndConfig), { line: void 0 }) }));
69095
+ i.singleSegment && (r.editParams = oe(j({}, r.editParams), { autoEndConfig: oe(j({}, (g = r.editParams) == null ? void 0 : g.autoEndConfig), { line: void 0 }) }));
69090
69096
  super(e, r);
69091
69097
  f(this, "edgeSnapOptions");
69092
69098
  f(this, "quickMeasureEnabled");
@@ -69170,8 +69176,8 @@ class D_ extends jb {
69170
69176
  return new id(e, i);
69171
69177
  }
69172
69178
  createModeController(e, i) {
69173
- this.magnifierReady || (this.magnifier.dispose(), this.magnifier = new id(e.five, this.magnifierOptions), this.magnifier.setUserEnabled(this.magnifierEnabled), this.magnifierReady = !0, e = oe(_({}, e), { magnifier: this.magnifier }));
69174
- const s = oe(_({}, e), { edgeSnapOptions: this.edgeSnapOptions, quickMeasure: this.quickMeasureEnabled, singleSegment: this.singleSegment });
69179
+ this.magnifierReady || (this.magnifier.dispose(), this.magnifier = new id(e.five, this.magnifierOptions), this.magnifier.setUserEnabled(this.magnifierEnabled), this.magnifierReady = !0, e = oe(j({}, e), { magnifier: this.magnifier }));
69180
+ const s = oe(j({}, e), { edgeSnapOptions: this.edgeSnapOptions, quickMeasure: this.quickMeasureEnabled, singleSegment: this.singleSegment });
69175
69181
  return i === Vi ? new Ul(s) : i === ps ? new Hs(s) : i === pc ? new I1(s) : super.createModeController(e, i);
69176
69182
  }
69177
69183
  }