@realsee/dnalogel 2.2.5 → 2.2.7

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 (337) hide show
  1. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  2. package/dist/index.cjs.js +17 -17
  3. package/dist/index.js +849 -887
  4. package/dist/index.umd.js +17 -17
  5. package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  6. package/docs/assets/main.js +1 -1
  7. package/docs/classes/CruisePluginController.html +24 -24
  8. package/docs/classes/Magnifier.html +16 -16
  9. package/docs/classes/ModelRoomLabelController.html +11 -11
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +15 -15
  12. package/docs/classes/PanoTagPluginController.html +39 -39
  13. package/docs/classes/Util.BetterTween.html +8 -8
  14. package/docs/classes/Util.FivePointSelector.html +12 -12
  15. package/docs/classes/Util.Interval.html +12 -12
  16. package/docs/classes/Util.Magnifier.html +17 -17
  17. package/docs/classes/Util.PointDomHelper.html +11 -11
  18. package/docs/classes/Util.PointHelper.html +11 -11
  19. package/docs/classes/Util.Rectangle.html +13 -13
  20. package/docs/enums/CameraMovementEffect.html +7 -7
  21. package/docs/enums/ContentType.html +12 -12
  22. package/docs/enums/DIRECTION.html +9 -9
  23. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  24. package/docs/enums/DimensionType.html +7 -7
  25. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  26. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/LinkType.html +7 -7
  28. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  29. package/docs/enums/PointType.html +7 -7
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  32. package/docs/functions/CameraMovementPlugin.html +4 -4
  33. package/docs/functions/CruisePlugin.html +4 -4
  34. package/docs/functions/GuideLinePlugin.html +5 -5
  35. package/docs/functions/ItemLabelPlugin.html +4 -4
  36. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  39. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  41. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  42. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  43. package/docs/functions/ModelViewPlugin.html +4 -4
  44. package/docs/functions/Object3DHelperPlugin.html +4 -4
  45. package/docs/functions/PanoCompassPlugin.html +4 -4
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  47. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  49. package/docs/functions/PanoMeasurePlugin.html +4 -4
  50. package/docs/functions/PanoRulerPlugin.html +4 -4
  51. package/docs/functions/PanoRulerProPlugin.html +4 -4
  52. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  53. package/docs/functions/PanoTagPlugin.html +4 -4
  54. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  55. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  56. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  57. package/docs/functions/Util.getFrameTime.html +5 -5
  58. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  59. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  60. package/docs/functions/Util.isNil.html +5 -5
  61. package/docs/functions/Util.nextFrame.html +5 -5
  62. package/docs/functions/Util.notNil.html +5 -5
  63. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  64. package/docs/functions/Util.tweenProgress.html +5 -5
  65. package/docs/functions/pluginFlag.html +5 -5
  66. package/docs/index.html +4 -4
  67. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  68. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  69. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  70. package/docs/interfaces/ContentTypeMap.html +12 -12
  71. package/docs/interfaces/FloorplanBounding.html +8 -8
  72. package/docs/interfaces/FloorplanData.html +10 -10
  73. package/docs/interfaces/FloorplanEntrance.html +11 -11
  74. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  75. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  76. package/docs/interfaces/FloorplanFloorData.html +9 -9
  77. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  78. package/docs/interfaces/FloorplanObserver.html +9 -9
  79. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  80. package/docs/interfaces/FloorplanPosition.html +7 -7
  81. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  82. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  83. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  84. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  85. package/docs/interfaces/FloorplanServerData.html +7 -7
  86. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  87. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  88. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  89. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  90. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  91. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  92. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  93. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  95. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  96. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  97. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  98. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  99. package/docs/interfaces/LineJson.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  101. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  102. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  103. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  104. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  105. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  108. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  110. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  112. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  113. package/docs/interfaces/Object3DHelperState.html +8 -8
  114. package/docs/interfaces/OpenParameter.html +7 -7
  115. package/docs/interfaces/PaintBrushAction.html +12 -12
  116. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  117. package/docs/interfaces/PaintBrushState.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  119. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  120. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  121. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  123. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  124. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  125. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  127. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  128. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  130. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  131. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  132. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  133. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  136. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  137. package/docs/interfaces/Point.html +8 -8
  138. package/docs/interfaces/PointJson.html +8 -8
  139. package/docs/interfaces/Room.html +9 -9
  140. package/docs/interfaces/RoomInfo.html +7 -7
  141. package/docs/interfaces/RoomLabel.html +14 -14
  142. package/docs/interfaces/RoomRules.html +5 -5
  143. package/docs/interfaces/Rooms.html +5 -5
  144. package/docs/interfaces/Scissor.html +9 -9
  145. package/docs/interfaces/TagConfig.html +10 -10
  146. package/docs/interfaces/Tags.html +9 -9
  147. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  148. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  149. package/docs/modules/Util.html +5 -5
  150. package/docs/modules.html +4 -4
  151. package/docs/types/ArrayPosition.html +5 -5
  152. package/docs/types/CSS3DRenderExportType.html +5 -5
  153. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  154. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  155. package/docs/types/Color.html +5 -5
  156. package/docs/types/ContentTypeConfigKey.html +5 -5
  157. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  158. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  159. package/docs/types/Create3DElementReturnType.html +5 -5
  160. package/docs/types/CruisePluginExportType.html +5 -5
  161. package/docs/types/Direction-1.html +5 -5
  162. package/docs/types/Direction4.html +5 -5
  163. package/docs/types/FloorplanRuleLabels.html +5 -5
  164. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  165. package/docs/types/GuideLinePluginExportType.html +5 -5
  166. package/docs/types/HelperEventMap.html +5 -5
  167. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  168. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  169. package/docs/types/MediaData.html +5 -5
  170. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  171. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  172. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  173. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  174. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  175. package/docs/types/MoveArgs.html +5 -5
  176. package/docs/types/MoveOpts.html +5 -5
  177. package/docs/types/Object3DHelperEventMap.html +5 -5
  178. package/docs/types/ObjectFit.html +5 -5
  179. package/docs/types/PaintBrushEventMap.html +5 -5
  180. package/docs/types/PanoCompassPluginData.html +5 -5
  181. package/docs/types/PanoCompassPluginExportType.html +5 -5
  182. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  183. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  184. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  185. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  186. package/docs/types/PanoMeasureReturnType.html +5 -5
  187. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  188. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  189. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  190. package/docs/types/PlaneTag.html +5 -5
  191. package/docs/types/PointTag.html +5 -5
  192. package/docs/types/Position.html +5 -5
  193. package/docs/types/RotateArgs.html +5 -5
  194. package/docs/types/RotateOpts.html +5 -5
  195. package/docs/types/RuleLabelsKey.html +5 -5
  196. package/docs/types/RuleLabelsValue.html +5 -5
  197. package/docs/types/Tag.html +5 -5
  198. package/docs/types/Tag2D.html +5 -5
  199. package/docs/types/Tag3D.html +5 -5
  200. package/docs/types/TagId.html +5 -5
  201. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  202. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  203. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  204. package/docs/variables/PLUGIN.html +5 -5
  205. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  206. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  207. package/docs/variables/VERSION.html +5 -5
  208. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  209. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  210. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  211. package/libs/CSS3DRenderPlugin/CSS3DRender.js +39 -33
  212. package/libs/CSS3DRenderPlugin/Controller.js +30 -22
  213. package/libs/CSS3DRenderPlugin/index.js +12 -3
  214. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
  215. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  216. package/libs/CameraMovementPlugin/index.js +13 -0
  217. package/libs/CruisePlugin/Controller.js +52 -41
  218. package/libs/CruisePlugin/index.js +26 -3
  219. package/libs/CruisePlugin/typing.js +1 -0
  220. package/libs/GuideLinePlugin/Controller.js +14 -9
  221. package/libs/GuideLinePlugin/index.js +14 -3
  222. package/libs/GuideLinePlugin/typing.js +1 -0
  223. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  224. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  225. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  226. package/libs/ItemLabelPlugin/events.type.js +1 -0
  227. package/libs/ItemLabelPlugin/index.js +16 -2
  228. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -2
  229. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  230. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  231. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +52 -44
  232. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  233. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  234. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  235. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  236. package/libs/ModelItemLabelPlugin/index.js +12 -2
  237. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  238. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  239. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  240. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  241. package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
  242. package/libs/ModelTVVideoPlugin/index.js +17 -0
  243. package/libs/ModelViewPlugin/Plugin.js +2 -1
  244. package/libs/ModelViewPlugin/index.js +6 -0
  245. package/libs/Object3DHelperPlugin/Controller.js +48 -27
  246. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  247. package/libs/Object3DHelperPlugin/index.js +40 -3
  248. package/libs/Object3DHelperPlugin/typings.js +1 -0
  249. package/libs/PanoCompassPlugin/Controller.js +25 -13
  250. package/libs/PanoCompassPlugin/index.js +23 -3
  251. package/libs/PanoCompassPlugin/typings.js +1 -0
  252. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  253. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  254. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  255. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  256. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  257. package/libs/PanoMeasurePlugin/index.js +56 -5
  258. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  259. package/libs/PanoRulerPlugin/index.js +9 -0
  260. package/libs/PanoRulerPlugin/style.js +1 -1
  261. package/libs/PanoRulerPlugin/typings.js +1 -0
  262. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  263. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  264. package/libs/PanoRulerProPlugin/index.js +16 -3
  265. package/libs/PanoRulerProPlugin/typings.js +1 -0
  266. package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -42
  267. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  268. package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
  269. package/libs/PanoSpatialTagPlugin/index.js +20 -0
  270. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  271. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  272. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  273. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  274. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  275. package/libs/PanoTagPlugin/Components/Common/Media.js +92 -100
  276. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  277. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  278. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +13 -15
  279. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +26 -28
  280. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  281. package/libs/PanoTagPlugin/Components/Common/Shadow.js +12 -13
  282. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  283. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +24 -32
  284. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  285. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  286. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  287. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -83
  288. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  289. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +48 -59
  290. package/libs/PanoTagPlugin/Components/Tag/index.js +75 -104
  291. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  292. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  293. package/libs/PanoTagPlugin/controller/index.js +2 -2
  294. package/libs/PanoTagPlugin/index.js +82 -3
  295. package/libs/PanoTagPlugin/tag.config.js +2 -1
  296. package/libs/floorplan/Components/BaseImage.js +7 -7
  297. package/libs/floorplan/Components/Camera.js +24 -24
  298. package/libs/floorplan/Components/Compass.js +3 -3
  299. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  300. package/libs/floorplan/Components/Main.js +80 -99
  301. package/libs/floorplan/Components/Normalmage.js +5 -5
  302. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  303. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  304. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +32 -32
  305. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  306. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  307. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  308. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  309. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  310. package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -54
  311. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +15 -15
  312. package/libs/floorplan/Components/SvgImage.js +12 -12
  313. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  314. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  315. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  316. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  317. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  318. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  319. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -3
  320. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  321. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +38 -38
  322. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +71 -80
  323. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  324. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  325. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  326. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  327. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  328. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  329. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  330. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  331. package/libs/floorplan/typings/index.js +1 -0
  332. package/libs/index.js +34 -34
  333. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  334. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  335. package/libs/vendor/svelte/internal/index.js +151 -152
  336. package/package.json +17 -18
  337. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
@@ -1,54 +1,53 @@
1
- import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, transition_out as _, check_outros as w, detach as p, add_render_callback as b, create_in_transition as z, create_out_transition as S, group_outros as G } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, group_outros as w, transition_out as _, check_outros as b, detach as p, add_render_callback as z, create_in_transition as S, create_out_transition as G } from "../../../../vendor/svelte/internal/index.js";
2
2
  import { draw as h } from "../../../../vendor/svelte/transition/index.js";
3
3
  import { uuid as U } from "../../../../shared-utils/uuid.js";
4
- import "../../../../vendor/svelte/easing/index.js";
5
- function q(o) {
6
- k(o, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
4
+ function q(n) {
5
+ k(n, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
7
6
  }
8
- function m(o) {
9
- let e, a, n, r;
7
+ function m(n) {
8
+ let e, a, o, r;
10
9
  return {
11
10
  c() {
12
- e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + o[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 0.5 L 148 0.5");
11
+ e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + n[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 0.5 L 148 0.5");
13
12
  },
14
13
  m(i, t) {
15
14
  y(i, e, t), r = !0;
16
15
  },
17
16
  p(i, t) {
18
- o = i;
17
+ n = i;
19
18
  },
20
19
  i(i) {
21
- r || (i && b(() => {
22
- n && n.end(1), a = z(e, h, {
23
- duration: o[1],
24
- delay: o[0]
20
+ r || (i && z(() => {
21
+ o && o.end(1), a = S(e, h, {
22
+ duration: n[1],
23
+ delay: n[0]
25
24
  }), a.start();
26
25
  }), r = !0);
27
26
  },
28
27
  o(i) {
29
- a && a.invalidate(), i && (n = S(e, h, {
30
- duration: o[1],
31
- delay: o[2]
28
+ a && a.invalidate(), i && (o = G(e, h, {
29
+ duration: n[1],
30
+ delay: n[2]
32
31
  })), r = !1;
33
32
  },
34
33
  d(i) {
35
- i && p(e), i && n && n.end();
34
+ i && p(e), i && o && o.end();
36
35
  }
37
36
  };
38
37
  }
39
- function A(o) {
40
- let e, a, n, r, i, t = o[3] && m(o);
38
+ function A(n) {
39
+ let e, a, o, r, i, t = n[3] && m(n);
41
40
  return {
42
41
  c() {
43
- e = u("svg"), a = u("defs"), n = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(n, "id", o[4]), l(n, "gradientUnits", "userSpaceOnUse"), l(e, "class", "straight-line svelte-1omzoh4"), l(e, "viewBox", "0 0 148 1"), l(e, "preserveAspectRatio", "none");
42
+ e = u("svg"), a = u("defs"), o = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(o, "id", n[4]), l(o, "gradientUnits", "userSpaceOnUse"), l(e, "class", "straight-line svelte-1omzoh4"), l(e, "viewBox", "0 0 148 1"), l(e, "preserveAspectRatio", "none");
44
43
  },
45
44
  m(f, s) {
46
- y(f, e, s), d(e, a), d(a, n), d(n, r), d(n, i), t && t.m(e, null);
45
+ y(f, e, s), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
47
46
  },
48
47
  p(f, [s]) {
49
- f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (G(), _(t, 1, 1, () => {
48
+ f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (w(), _(t, 1, 1, () => {
50
49
  t = null;
51
- }), w());
50
+ }), b());
52
51
  },
53
52
  i(f) {
54
53
  c(t);
@@ -61,14 +60,14 @@ function A(o) {
61
60
  }
62
61
  };
63
62
  }
64
- function B(o, e, a) {
65
- let { inDelay: n = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
63
+ function B(n, e, a) {
64
+ let { inDelay: o = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
66
65
  const f = U();
67
- return o.$$set = (s) => {
68
- "inDelay" in s && a(0, n = s.inDelay), "duration" in s && a(1, r = s.duration), "outDelay" in s && a(2, i = s.outDelay), "unfolded" in s && a(3, t = s.unfolded);
69
- }, [n, r, i, t, f];
66
+ return n.$$set = (s) => {
67
+ "inDelay" in s && a(0, o = s.inDelay), "duration" in s && a(1, r = s.duration), "outDelay" in s && a(2, i = s.outDelay), "unfolded" in s && a(3, t = s.unfolded);
68
+ }, [o, r, i, t, f];
70
69
  }
71
- class O extends g {
70
+ class M extends g {
72
71
  constructor(e) {
73
72
  super(), v(
74
73
  this,
@@ -87,5 +86,5 @@ class O extends g {
87
86
  }
88
87
  }
89
88
  export {
90
- O as default
89
+ M as Straight
91
90
  };
@@ -1,39 +1,31 @@
1
1
  var z = (a, n, i) => new Promise((e, t) => {
2
- var l = (r) => {
2
+ var o = (r) => {
3
3
  try {
4
4
  u(i.next(r));
5
5
  } catch (m) {
6
6
  t(m);
7
7
  }
8
- }, o = (r) => {
8
+ }, l = (r) => {
9
9
  try {
10
10
  u(i.throw(r));
11
11
  } catch (m) {
12
12
  t(m);
13
13
  }
14
- }, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(l, o);
14
+ }, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, l);
15
15
  u((i = i.apply(a, n)).next());
16
16
  });
17
- import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, transition_out as p, check_outros as D, detach as I, getContext as G, element as le, attr as oe, toggle_class as J, group_outros as j, add_render_callback as re, create_in_transition as fe, identity as K, create_out_transition as ue, create_component as C, mount_component as L, destroy_component as P, destroy_each as se, space as de } from "../../../vendor/svelte/internal/index.js";
17
+ import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, group_outros as D, transition_out as g, check_outros as j, detach as I, getContext as G, element as le, attr as oe, toggle_class as J, add_render_callback as re, create_in_transition as fe, identity as K, create_out_transition as ue, create_component as C, mount_component as L, destroy_component as P, destroy_each as se, space as ce } from "../../../vendor/svelte/internal/index.js";
18
18
  import { fly as Q } from "../../../vendor/svelte/transition/index.js";
19
- import { Swiper_1 as ce } from "../../../vendor/swiper/svelte/swiper.js";
19
+ import { Swiper_1 as de } from "../../../vendor/swiper/svelte/swiper.js";
20
20
  import { Swiper_slide as me } from "../../../vendor/swiper/svelte/swiper-slide.js";
21
21
  import { Autoplay as _e } from "swiper";
22
22
  import "swiper/css";
23
23
  import "swiper/css/autoplay";
24
24
  import "three";
25
25
  import { noTypecheck as R } from "../../utils/noTypecheck.js";
26
- import x from "./MediaItem.js";
26
+ import { MediaItem as x } from "./MediaItem.js";
27
27
  import { notNil as ye } from "../../../shared-utils/isNil.js";
28
- import "../../../vendor/svelte/easing/index.js";
29
- import "../../../vendor/swiper/components-shared/get-params.js";
30
- import "../../../vendor/swiper/components-shared/utils.js";
31
- import "../../../vendor/swiper/components-shared/params-list.js";
32
- import "../../../vendor/swiper/components-shared/mount-swiper.js";
33
- import "../../../vendor/swiper/components-shared/get-changed-params.js";
34
- import "../../../vendor/swiper/components-shared/update-swiper.js";
35
- import "../../Assets/Icon.js";
36
- function pe(a) {
28
+ function ge(a) {
37
29
  ae(a, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
38
30
  }
39
31
  function W(a, n, i) {
@@ -41,49 +33,49 @@ function W(a, n, i) {
41
33
  return e[23] = n[i], e;
42
34
  }
43
35
  function X(a) {
44
- let n, i, e, t, l, o;
45
- const u = [he, ge], r = [];
46
- function m(s, g) {
36
+ let n, i, e, t, o, l;
37
+ const u = [pe, he], r = [];
38
+ function m(s, h) {
47
39
  return s[13] ? 0 : 1;
48
40
  }
49
41
  return i = m(a), e = r[i] = u[i](a), {
50
42
  c() {
51
43
  n = le("div"), e.c(), oe(n, "class", "media svelte-ai0lv9"), J(n, "unfolded", a[4]);
52
44
  },
53
- m(s, g) {
54
- w(s, n, g), r[i].m(n, null), o = !0;
45
+ m(s, h) {
46
+ w(s, n, h), r[i].m(n, null), l = !0;
55
47
  },
56
- p(s, g) {
48
+ p(s, h) {
57
49
  a = s;
58
50
  let b = i;
59
- i = m(a), i === b ? r[i].p(a, g) : (j(), p(r[b], 1, 1, () => {
51
+ i = m(a), i === b ? r[i].p(a, h) : (D(), g(r[b], 1, 1, () => {
60
52
  r[b] = null;
61
- }), D(), e = r[i], e ? e.p(a, g) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), g & 16 && J(n, "unfolded", a[4]);
53
+ }), j(), e = r[i], e ? e.p(a, h) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), (!l || h & 16) && J(n, "unfolded", a[4]);
62
54
  },
63
55
  i(s) {
64
- o || (_(e), s && re(() => {
65
- l && l.end(1), t = fe(n, Q, a[5] ? {
56
+ l || (_(e), s && re(() => {
57
+ o && o.end(1), t = fe(n, Q, a[5] ? {
66
58
  y: 4,
67
59
  duration: a[3],
68
60
  delay: a[1],
69
61
  easing: K
70
62
  } : void 0), t.start();
71
- }), o = !0);
63
+ }), l = !0);
72
64
  },
73
65
  o(s) {
74
- p(e), t && t.invalidate(), s && (l = ue(n, Q, a[5] ? {
66
+ g(e), t && t.invalidate(), s && (o = ue(n, Q, a[5] ? {
75
67
  y: 4,
76
68
  duration: a[3],
77
69
  delay: a[2],
78
70
  easing: K
79
- } : void 0)), o = !1;
71
+ } : void 0)), l = !1;
80
72
  },
81
73
  d(s) {
82
- s && I(n), r[i].d(), s && l && l.end();
74
+ s && I(n), r[i].d(), s && o && o.end();
83
75
  }
84
76
  };
85
77
  }
86
- function ge(a) {
78
+ function he(a) {
87
79
  let n, i;
88
80
  return n = new x({
89
81
  props: {
@@ -100,23 +92,23 @@ function ge(a) {
100
92
  L(n, e, t), i = !0;
101
93
  },
102
94
  p(e, t) {
103
- const l = {};
104
- t & 1 && (l.media = e[0][0]), t & 256 && (l.objectFit = e[8]), t & 64 && (l.playButtonIfNeed = e[6]), t & 128 && (l.canPlay = e[7]), n.$set(l);
95
+ const o = {};
96
+ t & 1 && (o.media = e[0][0]), t & 256 && (o.objectFit = e[8]), t & 64 && (o.playButtonIfNeed = e[6]), t & 128 && (o.canPlay = e[7]), n.$set(o);
105
97
  },
106
98
  i(e) {
107
99
  i || (_(n.$$.fragment, e), i = !0);
108
100
  },
109
101
  o(e) {
110
- p(n.$$.fragment, e), i = !1;
102
+ g(n.$$.fragment, e), i = !1;
111
103
  },
112
104
  d(e) {
113
105
  P(n, e);
114
106
  }
115
107
  };
116
108
  }
117
- function he(a) {
109
+ function pe(a) {
118
110
  let n, i;
119
- return n = new ce({
111
+ return n = new de({
120
112
  props: {
121
113
  style: "height: 100%",
122
114
  modules: [_e],
@@ -138,18 +130,18 @@ function he(a) {
138
130
  L(n, e, t), i = !0;
139
131
  },
140
132
  p(e, t) {
141
- const l = {};
142
- t & 16384 && (l.autoplay = e[14] ? R({
133
+ const o = {};
134
+ t & 16384 && (o.autoplay = e[14] ? R({
143
135
  delay: 4e3,
144
136
  stopOnLastSlide: !1,
145
137
  disableOnInteraction: !1
146
- }) : !1), t & 67111360 && (l.$$scope = { dirty: t, ctx: e }), n.$set(l);
138
+ }) : !1), t & 67111360 && (o.$$scope = { dirty: t, ctx: e }), n.$set(o);
147
139
  },
148
140
  i(e) {
149
141
  i || (_(n.$$.fragment, e), i = !0);
150
142
  },
151
143
  o(e) {
152
- p(n.$$.fragment, e), i = !1;
144
+ g(n.$$.fragment, e), i = !1;
153
145
  },
154
146
  d(e) {
155
147
  P(n, e);
@@ -167,20 +159,20 @@ function be(a) {
167
159
  }
168
160
  }), {
169
161
  c() {
170
- C(n.$$.fragment), i = de();
162
+ C(n.$$.fragment), i = ce();
171
163
  },
172
- m(t, l) {
173
- L(n, t, l), w(t, i, l), e = !0;
164
+ m(t, o) {
165
+ L(n, t, o), w(t, i, o), e = !0;
174
166
  },
175
- p(t, l) {
176
- const o = {};
177
- l & 2048 && (o.media = t[23]), l & 256 && (o.objectFit = t[8]), l & 64 && (o.playButtonIfNeed = t[6]), l & 128 && (o.canPlay = t[7]), n.$set(o);
167
+ p(t, o) {
168
+ const l = {};
169
+ o & 2048 && (l.media = t[23]), o & 256 && (l.objectFit = t[8]), o & 64 && (l.playButtonIfNeed = t[6]), o & 128 && (l.canPlay = t[7]), n.$set(l);
178
170
  },
179
171
  i(t) {
180
172
  e || (_(n.$$.fragment, t), e = !0);
181
173
  },
182
174
  o(t) {
183
- p(n.$$.fragment, t), e = !1;
175
+ g(n.$$.fragment, t), e = !1;
184
176
  },
185
177
  d(t) {
186
178
  P(n, t), t && I(i);
@@ -202,14 +194,14 @@ function Y(a) {
202
194
  L(n, e, t), i = !0;
203
195
  },
204
196
  p(e, t) {
205
- const l = {};
206
- t & 67111360 && (l.$$scope = { dirty: t, ctx: e }), n.$set(l);
197
+ const o = {};
198
+ t & 67111360 && (o.$$scope = { dirty: t, ctx: e }), n.$set(o);
207
199
  },
208
200
  i(e) {
209
201
  i || (_(n.$$.fragment, e), i = !0);
210
202
  },
211
203
  o(e) {
212
- p(n.$$.fragment, e), i = !1;
204
+ g(n.$$.fragment, e), i = !1;
213
205
  },
214
206
  d(e) {
215
207
  P(n, e);
@@ -218,50 +210,50 @@ function Y(a) {
218
210
  }
219
211
  function ve(a) {
220
212
  let n, i, e = a[11], t = [];
221
- for (let o = 0; o < e.length; o += 1)
222
- t[o] = Y(W(a, e, o));
223
- const l = (o) => p(t[o], 1, 1, () => {
224
- t[o] = null;
213
+ for (let l = 0; l < e.length; l += 1)
214
+ t[l] = Y(W(a, e, l));
215
+ const o = (l) => g(t[l], 1, 1, () => {
216
+ t[l] = null;
225
217
  });
226
218
  return {
227
219
  c() {
228
- for (let o = 0; o < t.length; o += 1)
229
- t[o].c();
220
+ for (let l = 0; l < t.length; l += 1)
221
+ t[l].c();
230
222
  n = Z();
231
223
  },
232
- m(o, u) {
224
+ m(l, u) {
233
225
  for (let r = 0; r < t.length; r += 1)
234
- t[r].m(o, u);
235
- w(o, n, u), i = !0;
226
+ t[r].m(l, u);
227
+ w(l, n, u), i = !0;
236
228
  },
237
- p(o, u) {
229
+ p(l, u) {
238
230
  if (u & 2496) {
239
- e = o[11];
231
+ e = l[11];
240
232
  let r;
241
233
  for (r = 0; r < e.length; r += 1) {
242
- const m = W(o, e, r);
234
+ const m = W(l, e, r);
243
235
  t[r] ? (t[r].p(m, u), _(t[r], 1)) : (t[r] = Y(m), t[r].c(), _(t[r], 1), t[r].m(n.parentNode, n));
244
236
  }
245
- for (j(), r = e.length; r < t.length; r += 1)
246
- l(r);
247
- D();
237
+ for (D(), r = e.length; r < t.length; r += 1)
238
+ o(r);
239
+ j();
248
240
  }
249
241
  },
250
- i(o) {
242
+ i(l) {
251
243
  if (!i) {
252
244
  for (let u = 0; u < e.length; u += 1)
253
245
  _(t[u]);
254
246
  i = !0;
255
247
  }
256
248
  },
257
- o(o) {
249
+ o(l) {
258
250
  t = t.filter(Boolean);
259
251
  for (let u = 0; u < t.length; u += 1)
260
- p(t[u]);
252
+ g(t[u]);
261
253
  i = !1;
262
254
  },
263
- d(o) {
264
- se(t, o), o && I(n);
255
+ d(l) {
256
+ se(t, l), l && I(n);
265
257
  }
266
258
  };
267
259
  }
@@ -271,19 +263,19 @@ function ke(a) {
271
263
  c() {
272
264
  e && e.c(), n = Z();
273
265
  },
274
- m(t, l) {
275
- e && e.m(t, l), w(t, n, l), i = !0;
266
+ m(t, o) {
267
+ e && e.m(t, o), w(t, n, o), i = !0;
276
268
  },
277
- p(t, [l]) {
278
- t[4] ? e ? (e.p(t, l), l & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (j(), p(e, 1, 1, () => {
269
+ p(t, [o]) {
270
+ t[4] ? e ? (e.p(t, o), o & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (D(), g(e, 1, 1, () => {
279
271
  e = null;
280
- }), D());
272
+ }), j());
281
273
  },
282
274
  i(t) {
283
275
  i || (_(e), i = !0);
284
276
  },
285
277
  o(t) {
286
- p(e), i = !1;
278
+ g(e), i = !1;
287
279
  },
288
280
  d(t) {
289
281
  e && e.d(t), t && I(n);
@@ -291,31 +283,31 @@ function ke(a) {
291
283
  };
292
284
  }
293
285
  function we(a, n, i) {
294
- let e, t, l, { tag: o } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: g = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
286
+ let e, t, o, { tag: l } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: h = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
295
287
  const O = G("mediaStore"), M = G("hooks");
296
- let h;
288
+ let p;
297
289
  function B(f) {
298
- !e || !h || (O.set({ currentMediaUrl: this.src }), M.emit("playStateChange", {
290
+ !e || !p || (O.set({ currentMediaUrl: this.src }), M.emit("playStateChange", {
299
291
  event: f,
300
292
  state: "playing",
301
- tag: o,
293
+ tag: l,
302
294
  mediaInstance: this
303
- }), h.autoplay.stop());
295
+ }), p.autoplay.stop());
304
296
  }
305
297
  function N(f) {
306
- !e || !h || (M.emit("playStateChange", {
298
+ !e || !p || (M.emit("playStateChange", {
307
299
  event: f,
308
300
  state: "paused",
309
- tag: o,
301
+ tag: l,
310
302
  mediaInstance: this
311
- }), h.autoplay.running || h.autoplay.start());
303
+ }), p.autoplay.running || p.autoplay.start());
312
304
  }
313
305
  let S = null;
314
306
  const $ = (f) => {
315
- i(10, h = f.detail[0]);
307
+ i(10, p = f.detail[0]);
316
308
  }, ee = (f) => z(this, null, function* () {
317
309
  var H, T, U;
318
- if (!l || !k.autoplayVideo)
310
+ if (!o || !k.autoplayVideo)
319
311
  return;
320
312
  const y = f.detail[0];
321
313
  if (!y)
@@ -327,18 +319,18 @@ function we(a, n, i) {
327
319
  const A = t[v];
328
320
  if (!A || A.type !== "Video")
329
321
  return;
330
- y.autoplay.stop(), y.slides.map((d) => d.querySelector("video")).filter(ye).forEach((d) => d.pause());
331
- const c = (H = y.slides[y.activeIndex]) == null ? void 0 : H.querySelector("video");
332
- if (c && (c.removeEventListener("play", B), c.removeEventListener("pause", N), c.addEventListener("play", B), c.addEventListener("pause", N)), c) {
333
- c.addEventListener("click", () => c.pause());
334
- const d = (U = (T = c.parentElement) == null ? void 0 : T.getElementsByClassName("video-play-button-container")) == null ? void 0 : U[0];
335
- c.addEventListener("play", () => d == null ? void 0 : d.classList.remove("showPlayButton")), c.addEventListener("pause", () => d == null ? void 0 : d.classList.add("showPlayButton")), d && (c.paused ? d.classList.add("showPlayButton") : d.classList.remove("showPlayButton"), d.addEventListener("click", () => c.play()));
322
+ y.autoplay.stop(), y.slides.map((c) => c.querySelector("video")).filter(ye).forEach((c) => c.pause());
323
+ const d = (H = y.slides[y.activeIndex]) == null ? void 0 : H.querySelector("video");
324
+ if (d && (d.removeEventListener("play", B), d.removeEventListener("pause", N), d.addEventListener("play", B), d.addEventListener("pause", N)), d) {
325
+ d.addEventListener("click", () => d.pause());
326
+ const c = (U = (T = d.parentElement) == null ? void 0 : T.getElementsByClassName("video-play-button-container")) == null ? void 0 : U[0];
327
+ d.addEventListener("play", () => c == null ? void 0 : c.classList.remove("showPlayButton")), d.addEventListener("pause", () => c == null ? void 0 : c.classList.add("showPlayButton")), c && (d.paused ? c.classList.add("showPlayButton") : c.classList.remove("showPlayButton"), c.addEventListener("click", () => d.play()));
336
328
  }
337
329
  });
338
330
  return a.$$set = (f) => {
339
- "tag" in f && i(17, o = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, g = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
331
+ "tag" in f && i(17, l = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, h = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
340
332
  }, a.$$.update = () => {
341
- a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, l = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && h && h.slides.forEach((f) => {
333
+ a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, o = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && p && p.slides.forEach((f) => {
342
334
  const y = f.querySelector("video");
343
335
  y && O.subscribe(({ currentMediaUrl: v }) => {
344
336
  v !== y.src && y.pause();
@@ -349,26 +341,26 @@ function we(a, n, i) {
349
341
  r,
350
342
  m,
351
343
  s,
352
- g,
344
+ h,
353
345
  b,
354
346
  F,
355
347
  V,
356
348
  q,
357
349
  k,
358
- h,
350
+ p,
359
351
  t,
360
352
  S,
361
353
  e,
362
- l,
354
+ o,
363
355
  B,
364
356
  N,
365
- o,
357
+ l,
366
358
  E,
367
359
  $,
368
360
  ee
369
361
  ];
370
362
  }
371
- class Je extends te {
363
+ class Oe extends te {
372
364
  constructor(n) {
373
365
  super(), ne(
374
366
  this,
@@ -390,10 +382,10 @@ class Je extends te {
390
382
  enableCarousel: 18,
391
383
  autoplayConfig: 9
392
384
  },
393
- pe
385
+ ge
394
386
  );
395
387
  }
396
388
  }
397
389
  export {
398
- Je as default
390
+ Oe as Media
399
391
  };
@@ -135,5 +135,5 @@ class K extends C {
135
135
  }
136
136
  }
137
137
  export {
138
- K as default
138
+ K as MediaItem
139
139
  };