@realsee/dnalogel 2.6.7-dev.0 → 2.6.7-dev.10

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 (341) hide show
  1. package/README.md +0 -20
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +5 -4
  3. package/dist/PanoTagPlugin/controller/index.d.ts +2 -0
  4. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
  5. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  6. package/dist/index.cjs.js +55 -52
  7. package/dist/index.js +6760 -6030
  8. package/dist/index.umd.js +51 -48
  9. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
  10. package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/CSS3DRender.html +31 -31
  13. package/docs/classes/CruisePluginController.html +24 -24
  14. package/docs/classes/Magnifier.html +20 -20
  15. package/docs/classes/ModelRoomLabelController.html +11 -11
  16. package/docs/classes/Object3DHelperController.html +24 -24
  17. package/docs/classes/PaintBrush.html +15 -15
  18. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  19. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  20. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  21. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  22. package/docs/classes/PanoTagPluginController.html +264 -44
  23. package/docs/classes/Util.BetterTween.html +8 -8
  24. package/docs/classes/Util.FivePointSelector.html +12 -12
  25. package/docs/classes/Util.Interval.html +12 -12
  26. package/docs/classes/Util.Magnifier.html +17 -17
  27. package/docs/classes/Util.PointDomHelper.html +11 -11
  28. package/docs/classes/Util.PointHelper.html +11 -11
  29. package/docs/classes/Util.Rectangle.html +13 -13
  30. package/docs/enums/CameraMovementEffect.html +7 -7
  31. package/docs/enums/ContentType.html +18 -18
  32. package/docs/enums/DIRECTION.html +9 -9
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  34. package/docs/enums/DimensionType.html +7 -7
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  37. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  38. package/docs/enums/PointType.html +7 -7
  39. package/docs/enums/Rotation.html +8 -8
  40. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  41. package/docs/functions/CameraMovementPlugin.html +4 -4
  42. package/docs/functions/CruisePlugin.html +4 -4
  43. package/docs/functions/GuideLinePlugin.html +5 -5
  44. package/docs/functions/ItemLabelPlugin.html +4 -4
  45. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  46. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  48. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  49. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  50. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  51. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  52. package/docs/functions/ModelViewPlugin.html +4 -4
  53. package/docs/functions/Object3DHelperPlugin.html +4 -4
  54. package/docs/functions/PanoCompassPlugin.html +4 -4
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  56. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  58. package/docs/functions/PanoMeasurePlugin.html +4 -4
  59. package/docs/functions/PanoRulerPlugin.html +4 -4
  60. package/docs/functions/PanoRulerProPlugin.html +4 -4
  61. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  62. package/docs/functions/PanoTagPlugin.html +4 -4
  63. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  64. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  65. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  66. package/docs/functions/Util.getFrameTime.html +5 -5
  67. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  68. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  69. package/docs/functions/Util.isNil.html +5 -5
  70. package/docs/functions/Util.nextFrame.html +5 -5
  71. package/docs/functions/Util.notNil.html +5 -5
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  73. package/docs/functions/Util.tweenProgress.html +5 -5
  74. package/docs/functions/pluginFlag.html +5 -5
  75. package/docs/index.html +4 -12
  76. package/docs/interfaces/AddTagConfig.html +6 -6
  77. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  78. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  79. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  80. package/docs/interfaces/EventMap.html +15 -15
  81. package/docs/interfaces/FloorplanBounding.html +8 -8
  82. package/docs/interfaces/FloorplanData.html +10 -10
  83. package/docs/interfaces/FloorplanEntrance.html +11 -11
  84. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  85. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  86. package/docs/interfaces/FloorplanFloorData.html +9 -9
  87. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  88. package/docs/interfaces/FloorplanObserver.html +9 -9
  89. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  90. package/docs/interfaces/FloorplanPosition.html +7 -7
  91. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  92. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  93. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  94. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  95. package/docs/interfaces/FloorplanServerData.html +7 -7
  96. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  97. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  98. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  99. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  100. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  101. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  102. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  103. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  104. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  105. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  106. package/docs/interfaces/HelperOffset.html +8 -8
  107. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  108. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  109. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  110. package/docs/interfaces/MinMax.html +7 -7
  111. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  112. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  113. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  114. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  115. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  116. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  117. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  118. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  119. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  120. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  121. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  122. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  123. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  124. package/docs/interfaces/Object3DHelperState.html +8 -8
  125. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  126. package/docs/interfaces/PaintBrushAction.html +12 -12
  127. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  128. package/docs/interfaces/PaintBrushState.html +10 -10
  129. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  130. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  131. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  132. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  133. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  134. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  135. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  136. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  137. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  138. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  139. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  140. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  141. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  142. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  143. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  144. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  145. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  146. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  147. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  148. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  149. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  150. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  151. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  152. package/docs/interfaces/Point.html +8 -8
  153. package/docs/interfaces/Room.html +9 -9
  154. package/docs/interfaces/RoomInfo.html +7 -7
  155. package/docs/interfaces/RoomLabel.html +14 -14
  156. package/docs/interfaces/RoomRules.html +5 -5
  157. package/docs/interfaces/Rooms.html +5 -5
  158. package/docs/interfaces/Scissor.html +9 -9
  159. package/docs/interfaces/State.html +8 -8
  160. package/docs/interfaces/TagCache.html +12 -12
  161. package/docs/interfaces/TagConfig.html +11 -11
  162. package/docs/interfaces/TagIconUrl.html +9 -9
  163. package/docs/interfaces/Tags.html +9 -9
  164. package/docs/interfaces/TemporaryState.html +6 -6
  165. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  166. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  167. package/docs/modules/Util.html +5 -5
  168. package/docs/modules.html +4 -4
  169. package/docs/types/ArrayPosition.html +5 -5
  170. package/docs/types/AudioAppearance.html +5 -5
  171. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  172. package/docs/types/CSS3DRenderExportType.html +5 -5
  173. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  174. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  175. package/docs/types/ClassFunctionParameters.html +5 -5
  176. package/docs/types/Color.html +5 -5
  177. package/docs/types/ContentTypeConfigKey.html +5 -5
  178. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  179. package/docs/types/ContentTypeMap.html +5 -5
  180. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  181. package/docs/types/Create3DElementReturnType.html +5 -5
  182. package/docs/types/CruisePluginExportType.html +5 -5
  183. package/docs/types/Direction-1.html +5 -5
  184. package/docs/types/Direction4.html +5 -5
  185. package/docs/types/FloorplanRuleLabels.html +5 -5
  186. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  187. package/docs/types/GuideLinePluginExportType.html +5 -5
  188. package/docs/types/HelperEventMap.html +5 -5
  189. package/docs/types/LoadTagConfig.html +5 -5
  190. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  191. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  192. package/docs/types/MediaData.html +5 -5
  193. package/docs/types/MediaStore.html +5 -5
  194. package/docs/types/ModelElement.html +5 -5
  195. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  196. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  197. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  198. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  199. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  200. package/docs/types/MoveArgs.html +5 -5
  201. package/docs/types/MoveOpts.html +5 -5
  202. package/docs/types/Object3DHelperEventMap.html +5 -5
  203. package/docs/types/ObjectFit.html +5 -5
  204. package/docs/types/PaintBrushEventMap.html +5 -5
  205. package/docs/types/PanoCompassPluginData.html +5 -5
  206. package/docs/types/PanoCompassPluginExportType.html +5 -5
  207. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  208. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  209. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  210. package/docs/types/PanoIndex.html +5 -5
  211. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  212. package/docs/types/PanoMeasureReturnType.html +5 -5
  213. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  214. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  215. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  216. package/docs/types/PlaneTag.html +5 -5
  217. package/docs/types/PlaneTagElement.html +5 -5
  218. package/docs/types/Point2DElement.html +5 -5
  219. package/docs/types/Point2DTag.html +5 -5
  220. package/docs/types/Point3DElement.html +5 -5
  221. package/docs/types/Point3DTag.html +5 -5
  222. package/docs/types/PointTag.html +5 -5
  223. package/docs/types/PointTagElement.html +5 -5
  224. package/docs/types/Position.html +5 -5
  225. package/docs/types/RotateArgs.html +5 -5
  226. package/docs/types/RotateOpts.html +5 -5
  227. package/docs/types/RuleLabelsKey.html +5 -5
  228. package/docs/types/RuleLabelsValue.html +5 -5
  229. package/docs/types/StickType.html +5 -5
  230. package/docs/types/Tag.html +5 -5
  231. package/docs/types/Tag2D.html +5 -5
  232. package/docs/types/Tag3D.html +5 -5
  233. package/docs/types/TagContentType.html +5 -5
  234. package/docs/types/TagDimensionType.html +5 -5
  235. package/docs/types/TagElement.html +5 -5
  236. package/docs/types/TagEvents.html +5 -5
  237. package/docs/types/TagGLTFObject.html +5 -5
  238. package/docs/types/TagHooks.html +5 -5
  239. package/docs/types/TagIconSize.html +5 -5
  240. package/docs/types/TagId.html +5 -5
  241. package/docs/types/TagPointType.html +5 -5
  242. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  243. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  244. package/docs/types/WorkCode.html +5 -5
  245. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  246. package/docs/variables/PLUGIN.html +5 -5
  247. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  248. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  249. package/docs/variables/VERSION.html +5 -5
  250. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  251. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  252. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  253. package/libs/CSS3DRenderPlugin/CSS3DRender.js +60 -56
  254. package/libs/CruisePlugin/Controller.js +26 -26
  255. package/libs/GuideLinePlugin/Controller.js +43 -43
  256. package/libs/PanoTagPlugin/Components/Common/Media.js +235 -313
  257. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  258. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +89 -72
  259. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +86 -72
  260. package/libs/PanoTagPlugin/Components/Tag/index.js +84 -66
  261. package/libs/PanoTagPlugin/Components/TagContainer.js +98 -80
  262. package/libs/PanoTagPlugin/Components/TagItem.js +69 -51
  263. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -4
  264. package/libs/PanoTagPlugin/controller/TagComputer.js +111 -102
  265. package/libs/PanoTagPlugin/controller/index.d.ts +2 -0
  266. package/libs/PanoTagPlugin/controller/index.js +185 -160
  267. package/libs/PanoTagPlugin/index.js +41 -24
  268. package/libs/PanoTagPlugin/tag.config.js +1 -0
  269. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
  270. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  271. package/libs/index.js +130 -113
  272. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +38 -38
  273. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
  274. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +26 -23
  275. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
  276. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +28 -22
  277. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +12 -12
  278. package/libs/vendor/simply-reactive/main.js +3 -0
  279. package/libs/vendor/simply-reactive/src/simply-reactive.js +44 -0
  280. package/libs/vendor/simply-reactive/src/utils/object.js +12 -0
  281. package/libs/vendor/simply-reactive/src/utils/subscription.js +28 -0
  282. package/libs/vendor/simply-reactive/src/utils/watcher.js +17 -0
  283. package/libs/vendor/svelte/internal/index.js +267 -274
  284. package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +18 -0
  285. package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +19 -0
  286. package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +1 -0
  287. package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +26 -0
  288. package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +1 -0
  289. package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +51 -0
  290. package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +18 -0
  291. package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +1 -0
  292. package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +36 -0
  293. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -0
  294. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +522 -0
  295. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +255 -0
  296. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +42 -0
  297. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +104 -0
  298. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +40 -0
  299. package/libs/vendor/svelte-carousel/src/direction.js +5 -0
  300. package/libs/vendor/svelte-carousel/src/main.js +1 -0
  301. package/libs/vendor/svelte-carousel/src/units.js +7 -0
  302. package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +52 -0
  303. package/libs/vendor/svelte-carousel/src/utils/clones.js +59 -0
  304. package/libs/vendor/svelte-carousel/src/utils/event.js +12 -0
  305. package/libs/vendor/svelte-carousel/src/utils/interval.js +4 -0
  306. package/libs/vendor/svelte-carousel/src/utils/lazy.js +45 -0
  307. package/libs/vendor/svelte-carousel/src/utils/math.js +11 -0
  308. package/libs/vendor/svelte-carousel/src/utils/object.js +13 -0
  309. package/libs/vendor/svelte-carousel/src/utils/page.js +154 -0
  310. package/package.json +5 -2
  311. package/dist/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  312. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  313. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  314. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  315. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  316. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  317. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  318. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  319. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  320. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  321. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  322. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  323. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  324. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  325. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  326. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  327. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  328. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  329. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  330. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
  331. package/libs/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  332. package/libs/PanoTagPlugin/utils/tag/index.js +0 -11
  333. package/libs/vendor/swiper/components-shared/get-changed-params.js +0 -29
  334. package/libs/vendor/swiper/components-shared/get-params.js +0 -23
  335. package/libs/vendor/swiper/components-shared/mount-swiper.js +0 -14
  336. package/libs/vendor/swiper/components-shared/params-list.js +0 -120
  337. package/libs/vendor/swiper/components-shared/update-swiper.js +0 -36
  338. package/libs/vendor/swiper/components-shared/utils.js +0 -32
  339. package/libs/vendor/swiper/svelte/swiper-slide.js +0 -181
  340. package/libs/vendor/swiper/svelte/swiper-svelte.js +0 -2
  341. package/libs/vendor/swiper/svelte/swiper.js +0 -253
@@ -1,402 +1,324 @@
1
- var G = (l, t, n) => new Promise((e, i) => {
2
- var o = (r) => {
3
- try {
4
- s(n.next(r));
5
- } catch (m) {
6
- i(m);
7
- }
8
- }, a = (r) => {
9
- try {
10
- s(n.throw(r));
11
- } catch (m) {
12
- i(m);
13
- }
14
- }, s = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, a);
15
- s((n = n.apply(l, t)).next());
16
- });
17
- import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as Y, insert as E, transition_in as _, transition_out as g, check_outros as N, detach as I, getContext as J, element as se, attr as ue, toggle_class as K, group_outros as O, add_render_callback as fe, create_in_transition as de, identity as Q, create_out_transition as ce, assign as Z, create_component as L, mount_component as S, get_spread_update as x, get_spread_object as $, destroy_component as D, destroy_each as me, space as _e } from "../../../vendor/svelte/internal/index.js";
18
- import { fly as R } from "../../../vendor/svelte/transition/index.js";
19
- import { Swiper_1 as pe } from "../../../vendor/swiper/svelte/swiper.js";
20
- import { Swiper_slide as ge } from "../../../vendor/swiper/svelte/swiper-slide.js";
21
- import { Autoplay as ye } from "swiper";
22
- import "swiper/css";
23
- import "swiper/css/autoplay";
24
- import "three";
25
- import { noTypecheck as M } from "../../utils/noTypecheck.js";
26
- import "@realsee/five/gltf-loader";
27
- import ee from "./MediaItem.js";
28
- import { notNil as he } from "../../../shared-utils/isNil.js";
1
+ import { SvelteComponent as X, init as Y, safe_not_equal as Z, append_styles as x, empty as H, insert as C, transition_in as s, transition_out as _, check_outros as I, detach as w, getContext as $, onMount as ee, onDestroy as te, element as j, attr as B, toggle_class as T, append as ie, group_outros as D, add_render_callback as ne, create_in_transition as oe, identity as V, create_out_transition as ae, binding_callbacks as J, assign as K, create_component as v, mount_component as M, get_spread_update as O, get_spread_object as P, destroy_component as N, destroy_each as le, bind as re, add_flush_callback as ue } from "../../../vendor/svelte/internal/index.js";
2
+ import { Carousel as me } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
3
+ import { fly as z } from "../../../vendor/svelte/transition/index.js";
4
+ import Q from "./MediaItem.js";
5
+ import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
6
+ import "../../../vendor/svelte-carousel/src/components/Dot/Dot.js";
7
+ import "../../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
8
+ import "../../../vendor/svelte-carousel/src/direction.js";
9
+ import "../../../vendor/svelte-carousel/src/components/Progress/Progress.js";
10
+ import "../../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
11
+ import "../../../vendor/svelte-carousel/src/actions/swipeable/event.js";
12
+ import "../../../vendor/svelte-carousel/src/utils/event.js";
13
+ import "../../../vendor/svelte-carousel/src/units.js";
14
+ import "../../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
15
+ import "../../../vendor/svelte-carousel/src/actions/hoverable/event.js";
16
+ import "../../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
17
+ import "../../../vendor/svelte-carousel/src/utils/math.js";
18
+ import "../../../vendor/svelte-carousel/src/actions/tappable/event.js";
19
+ import "../../../vendor/svelte-carousel/src/utils/page.js";
20
+ import "../../../vendor/svelte-carousel/src/utils/clones.js";
21
+ import "../../../vendor/svelte-carousel/src/utils/object.js";
22
+ import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
23
+ import "../../../vendor/simply-reactive/src/simply-reactive.js";
24
+ import "lodash.get";
25
+ import "lodash.clonedeep";
26
+ import "../../../vendor/simply-reactive/src/utils/subscription.js";
27
+ import "../../../vendor/simply-reactive/src/utils/object.js";
28
+ import "lodash.isequal";
29
+ import "../../../vendor/simply-reactive/src/utils/watcher.js";
30
+ import "../../../vendor/svelte-carousel/src/utils/lazy.js";
31
+ import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
32
+ import "../../../vendor/svelte-carousel/src/utils/interval.js";
29
33
  import "../../../vendor/svelte/easing/index.js";
30
- import "../../../vendor/swiper/components-shared/get-params.js";
31
- import "../../../vendor/swiper/components-shared/utils.js";
32
- import "../../../vendor/swiper/components-shared/params-list.js";
33
- import "../../../vendor/swiper/components-shared/mount-swiper.js";
34
- import "../../../vendor/swiper/components-shared/get-changed-params.js";
35
- import "../../../vendor/swiper/components-shared/update-swiper.js";
36
34
  import "../../Assets/Icon.js";
37
- function be(l) {
38
- re(l, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
35
+ function fe(i) {
36
+ x(i, "svelte-nuckwh", ".media-list-wrapper.svelte-nuckwh{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.media-list.svelte-nuckwh{position:relative;height:100%;left:50%;top:50%;transform:translate(-50%, -50%)}");
39
37
  }
40
- function U(l, t, n) {
41
- const e = l.slice();
42
- return e[22] = t[n], e;
38
+ function A(i, t, o) {
39
+ const n = i.slice();
40
+ return n[21] = t[o], n[22] = t, n[23] = o, n;
43
41
  }
44
- function W(l) {
45
- let t, n, e, i, o, a;
46
- const s = [ke, ve], r = [];
47
- function m(d, y) {
42
+ function F(i) {
43
+ let t, o, n, e, r, a, l;
44
+ const u = [se, de], f = [];
45
+ function b(d, c) {
48
46
  return d[12] ? 0 : 1;
49
47
  }
50
- return n = m(l), e = r[n] = s[n](l), {
48
+ return n = b(i), e = f[n] = u[n](i), {
51
49
  c() {
52
- t = se("div"), e.c(), ue(t, "class", "media svelte-ai0lv9"), K(t, "unfolded", l[5]);
50
+ t = j("div"), o = j("div"), e.c(), B(o, "class", "media-list svelte-nuckwh"), B(t, "class", "media-list-wrapper svelte-nuckwh"), T(t, "unfolded", i[5]);
53
51
  },
54
- m(d, y) {
55
- E(d, t, y), r[n].m(t, null), a = !0;
52
+ m(d, c) {
53
+ C(d, t, c), ie(t, o), f[n].m(o, null), l = !0;
56
54
  },
57
- p(d, y) {
58
- l = d;
59
- let b = n;
60
- n = m(l), n === b ? r[n].p(l, y) : (O(), g(r[b], 1, 1, () => {
61
- r[b] = null;
62
- }), N(), e = r[n], e ? e.p(l, y) : (e = r[n] = s[n](l), e.c()), _(e, 1), e.m(t, null)), (!a || y & 32) && K(t, "unfolded", l[5]);
55
+ p(d, c) {
56
+ i = d;
57
+ let g = n;
58
+ n = b(i), n === g ? f[n].p(i, c) : (D(), _(f[g], 1, 1, () => {
59
+ f[g] = null;
60
+ }), I(), e = f[n], e ? e.p(i, c) : (e = f[n] = u[n](i), e.c()), s(e, 1), e.m(o, null)), (!l || c & 32) && T(t, "unfolded", i[5]);
63
61
  },
64
62
  i(d) {
65
- a || (_(e), d && fe(() => {
66
- o && o.end(1), i = de(t, R, l[6] ? {
63
+ l || (s(e), d && ne(() => {
64
+ a && a.end(1), r = oe(t, z, i[6] ? {
67
65
  y: 4,
68
- duration: l[4],
69
- delay: l[2],
70
- easing: Q
71
- } : void 0), i.start();
72
- }), a = !0);
66
+ duration: i[4],
67
+ delay: i[2],
68
+ easing: V
69
+ } : void 0), r.start();
70
+ }), l = !0);
73
71
  },
74
72
  o(d) {
75
- g(e), i && i.invalidate(), d && (o = ce(t, R, l[6] ? {
73
+ _(e), r && r.invalidate(), d && (a = ae(t, z, i[6] ? {
76
74
  y: 4,
77
- duration: l[4],
78
- delay: l[3],
79
- easing: Q
80
- } : void 0)), a = !1;
75
+ duration: i[4],
76
+ delay: i[3],
77
+ easing: V
78
+ } : void 0)), l = !1;
81
79
  },
82
80
  d(d) {
83
- d && I(t), r[n].d(), d && o && o.end();
81
+ d && w(t), f[n].d(), d && a && a.end();
84
82
  }
85
83
  };
86
84
  }
87
- function ve(l) {
88
- let t, n;
89
- const e = [
90
- { media: l[1][0] },
91
- l[7],
92
- { tag: l[0] }
85
+ function de(i) {
86
+ let t, o;
87
+ const n = [
88
+ { media: i[1][0] },
89
+ i[7],
90
+ { tag: i[0] }
93
91
  ];
94
- let i = {};
95
- for (let o = 0; o < e.length; o += 1)
96
- i = Z(i, e[o]);
97
- return t = new ee({ props: i }), {
92
+ let e = {};
93
+ for (let r = 0; r < n.length; r += 1)
94
+ e = K(e, n[r]);
95
+ return t = new Q({ props: e }), {
98
96
  c() {
99
- L(t.$$.fragment);
97
+ v(t.$$.fragment);
100
98
  },
101
- m(o, a) {
102
- S(t, o, a), n = !0;
99
+ m(r, a) {
100
+ M(t, r, a), o = !0;
103
101
  },
104
- p(o, a) {
105
- const s = a & 131 ? x(e, [
106
- a & 2 && { media: o[1][0] },
107
- a & 128 && $(o[7]),
108
- a & 1 && { tag: o[0] }
102
+ p(r, a) {
103
+ const l = a & 131 ? O(n, [
104
+ a & 2 && { media: r[1][0] },
105
+ a & 128 && P(r[7]),
106
+ a & 1 && { tag: r[0] }
109
107
  ]) : {};
110
- t.$set(s);
108
+ t.$set(l);
111
109
  },
112
- i(o) {
113
- n || (_(t.$$.fragment, o), n = !0);
110
+ i(r) {
111
+ o || (s(t.$$.fragment, r), o = !0);
114
112
  },
115
- o(o) {
116
- g(t.$$.fragment, o), n = !1;
113
+ o(r) {
114
+ _(t.$$.fragment, r), o = !1;
117
115
  },
118
- d(o) {
119
- D(t, o);
116
+ d(r) {
117
+ N(t, r);
120
118
  }
121
119
  };
122
120
  }
123
- function ke(l) {
124
- let t, n;
125
- return t = new pe({
126
- props: {
127
- style: "height: 100%",
128
- modules: [ye],
129
- spaceBetween: 30,
130
- autoplay: l[13] ? M({
131
- delay: 4e3,
132
- stopOnLastSlide: !1,
133
- disableOnInteraction: !1
134
- }) : !1,
135
- loop: !0,
136
- $$slots: { default: [Ce] },
137
- $$scope: { ctx: l }
138
- }
139
- }), t.$on("init", l[20]), t.$on("slideChange", l[21]), {
121
+ function se(i) {
122
+ let t, o, n = {
123
+ dots: !1,
124
+ arrows: !1,
125
+ $$slots: { default: [ce] },
126
+ $$scope: { ctx: i }
127
+ };
128
+ return t = new me({ props: n }), i[17](t), t.$on("pageChange", i[18]), {
140
129
  c() {
141
- L(t.$$.fragment);
130
+ v(t.$$.fragment);
142
131
  },
143
- m(e, i) {
144
- S(t, e, i), n = !0;
132
+ m(e, r) {
133
+ M(t, e, r), o = !0;
145
134
  },
146
- p(e, i) {
147
- const o = {};
148
- i & 8192 && (o.autoplay = e[13] ? M({
149
- delay: 4e3,
150
- stopOnLastSlide: !1,
151
- disableOnInteraction: !1
152
- }) : !1), i & 33555585 && (o.$$scope = { dirty: i, ctx: e }), t.$set(o);
135
+ p(e, r) {
136
+ const a = {};
137
+ r & 16778625 && (a.$$scope = { dirty: r, ctx: e }), t.$set(a);
153
138
  },
154
139
  i(e) {
155
- n || (_(t.$$.fragment, e), n = !0);
140
+ o || (s(t.$$.fragment, e), o = !0);
156
141
  },
157
142
  o(e) {
158
- g(t.$$.fragment, e), n = !1;
143
+ _(t.$$.fragment, e), o = !1;
159
144
  },
160
145
  d(e) {
161
- D(t, e);
146
+ i[17](null), N(t, e);
162
147
  }
163
148
  };
164
149
  }
165
- function we(l) {
166
- let t, n, e;
167
- const i = [
168
- l[7],
169
- { media: l[22] },
170
- { tag: l[0] }
150
+ function G(i) {
151
+ let t, o, n;
152
+ const e = [
153
+ i[7],
154
+ { media: i[21] },
155
+ { tag: i[0] }
171
156
  ];
172
- let o = {};
173
- for (let a = 0; a < i.length; a += 1)
174
- o = Z(o, i[a]);
175
- return t = new ee({ props: o }), {
157
+ function r(l) {
158
+ i[16](l, i[23]);
159
+ }
160
+ let a = {};
161
+ for (let l = 0; l < e.length; l += 1)
162
+ a = K(a, e[l]);
163
+ return i[8][i[23]] !== void 0 && (a.mediaInstance = i[8][i[23]]), t = new Q({ props: a }), J.push(() => re(t, "mediaInstance", r)), {
176
164
  c() {
177
- L(t.$$.fragment), n = _e();
165
+ v(t.$$.fragment);
178
166
  },
179
- m(a, s) {
180
- S(t, a, s), E(a, n, s), e = !0;
167
+ m(l, u) {
168
+ M(t, l, u), n = !0;
181
169
  },
182
- p(a, s) {
183
- const r = s & 1153 ? x(i, [
184
- s & 128 && $(a[7]),
185
- s & 1024 && { media: a[22] },
186
- s & 1 && { tag: a[0] }
170
+ p(l, u) {
171
+ i = l;
172
+ const f = u & 1153 ? O(e, [
173
+ u & 128 && P(i[7]),
174
+ u & 1024 && { media: i[21] },
175
+ u & 1 && { tag: i[0] }
187
176
  ]) : {};
188
- t.$set(r);
189
- },
190
- i(a) {
191
- e || (_(t.$$.fragment, a), e = !0);
192
- },
193
- o(a) {
194
- g(t.$$.fragment, a), e = !1;
177
+ !o && u & 256 && (o = !0, f.mediaInstance = i[8][i[23]], ue(() => o = !1)), t.$set(f);
195
178
  },
196
- d(a) {
197
- D(t, a), a && I(n);
198
- }
199
- };
200
- }
201
- function X(l) {
202
- let t, n;
203
- return t = new l[14]({
204
- props: {
205
- $$slots: { default: [we] },
206
- $$scope: { ctx: l }
207
- }
208
- }), {
209
- c() {
210
- L(t.$$.fragment);
179
+ i(l) {
180
+ n || (s(t.$$.fragment, l), n = !0);
211
181
  },
212
- m(e, i) {
213
- S(t, e, i), n = !0;
214
- },
215
- p(e, i) {
216
- const o = {};
217
- i & 33555585 && (o.$$scope = { dirty: i, ctx: e }), t.$set(o);
218
- },
219
- i(e) {
220
- n || (_(t.$$.fragment, e), n = !0);
221
- },
222
- o(e) {
223
- g(t.$$.fragment, e), n = !1;
182
+ o(l) {
183
+ _(t.$$.fragment, l), n = !1;
224
184
  },
225
- d(e) {
226
- D(t, e);
185
+ d(l) {
186
+ N(t, l);
227
187
  }
228
188
  };
229
189
  }
230
- function Ce(l) {
231
- let t, n, e = l[10], i = [];
232
- for (let a = 0; a < e.length; a += 1)
233
- i[a] = X(U(l, e, a));
234
- const o = (a) => g(i[a], 1, 1, () => {
235
- i[a] = null;
190
+ function ce(i) {
191
+ let t, o, n = i[10], e = [];
192
+ for (let a = 0; a < n.length; a += 1)
193
+ e[a] = G(A(i, n, a));
194
+ const r = (a) => _(e[a], 1, 1, () => {
195
+ e[a] = null;
236
196
  });
237
197
  return {
238
198
  c() {
239
- for (let a = 0; a < i.length; a += 1)
240
- i[a].c();
241
- t = Y();
242
- },
243
- m(a, s) {
244
- for (let r = 0; r < i.length; r += 1)
245
- i[r].m(a, s);
246
- E(a, t, s), n = !0;
247
- },
248
- p(a, s) {
249
- if (s & 1153) {
250
- e = a[10];
251
- let r;
252
- for (r = 0; r < e.length; r += 1) {
253
- const m = U(a, e, r);
254
- i[r] ? (i[r].p(m, s), _(i[r], 1)) : (i[r] = X(m), i[r].c(), _(i[r], 1), i[r].m(t.parentNode, t));
199
+ for (let a = 0; a < e.length; a += 1)
200
+ e[a].c();
201
+ t = H();
202
+ },
203
+ m(a, l) {
204
+ for (let u = 0; u < e.length; u += 1)
205
+ e[u].m(a, l);
206
+ C(a, t, l), o = !0;
207
+ },
208
+ p(a, l) {
209
+ if (l & 1409) {
210
+ n = a[10];
211
+ let u;
212
+ for (u = 0; u < n.length; u += 1) {
213
+ const f = A(a, n, u);
214
+ e[u] ? (e[u].p(f, l), s(e[u], 1)) : (e[u] = G(f), e[u].c(), s(e[u], 1), e[u].m(t.parentNode, t));
255
215
  }
256
- for (O(), r = e.length; r < i.length; r += 1)
257
- o(r);
258
- N();
216
+ for (D(), u = n.length; u < e.length; u += 1)
217
+ r(u);
218
+ I();
259
219
  }
260
220
  },
261
221
  i(a) {
262
- if (!n) {
263
- for (let s = 0; s < e.length; s += 1)
264
- _(i[s]);
265
- n = !0;
222
+ if (!o) {
223
+ for (let l = 0; l < n.length; l += 1)
224
+ s(e[l]);
225
+ o = !0;
266
226
  }
267
227
  },
268
228
  o(a) {
269
- i = i.filter(Boolean);
270
- for (let s = 0; s < i.length; s += 1)
271
- g(i[s]);
272
- n = !1;
229
+ e = e.filter(Boolean);
230
+ for (let l = 0; l < e.length; l += 1)
231
+ _(e[l]);
232
+ o = !1;
273
233
  },
274
234
  d(a) {
275
- me(i, a), a && I(t);
235
+ le(e, a), a && w(t);
276
236
  }
277
237
  };
278
238
  }
279
- function Ee(l) {
280
- let t, n, e = l[5] && W(l);
239
+ function _e(i) {
240
+ let t, o, n = i[5] && F(i);
281
241
  return {
282
242
  c() {
283
- e && e.c(), t = Y();
243
+ n && n.c(), t = H();
284
244
  },
285
- m(i, o) {
286
- e && e.m(i, o), E(i, t, o), n = !0;
245
+ m(e, r) {
246
+ n && n.m(e, r), C(e, t, r), o = !0;
287
247
  },
288
- p(i, [o]) {
289
- i[5] ? e ? (e.p(i, o), o & 32 && _(e, 1)) : (e = W(i), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (O(), g(e, 1, 1, () => {
290
- e = null;
291
- }), N());
248
+ p(e, [r]) {
249
+ e[5] ? n ? (n.p(e, r), r & 32 && s(n, 1)) : (n = F(e), n.c(), s(n, 1), n.m(t.parentNode, t)) : n && (D(), _(n, 1, 1, () => {
250
+ n = null;
251
+ }), I());
292
252
  },
293
- i(i) {
294
- n || (_(e), n = !0);
253
+ i(e) {
254
+ o || (s(n), o = !0);
295
255
  },
296
- o(i) {
297
- g(e), n = !1;
256
+ o(e) {
257
+ _(n), o = !1;
298
258
  },
299
- d(i) {
300
- e && e.d(i), i && I(t);
259
+ d(e) {
260
+ n && n.d(e), e && w(t);
301
261
  }
302
262
  };
303
263
  }
304
- function Ie(l, t, n) {
305
- let e, i, o;
306
- const a = M(ge);
307
- let { tag: s } = t, { mediaData: r } = t, { inDelay: m = 0 } = t, { outDelay: d = 0 } = t, { duration: y = 0 } = t, { unfolded: b = !0 } = t, { animation: A = !0 } = t, { mediaItemConfig: H } = t, { enableCarousel: P = !0 } = t, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = t;
308
- const w = J("mediaStore"), C = J("hooks");
309
- let h;
310
- function V(u) {
311
- !e || !h || (w.set({ currentMediaElement: this }), C.emit("playStateChange", {
312
- event: u,
313
- state: "playing",
314
- tag: s,
315
- mediaInstance: this
316
- }), h.autoplay.stop());
317
- }
318
- function q(u) {
319
- !e || !h || (C.emit("playStateChange", {
320
- event: u,
321
- state: "paused",
322
- tag: s,
323
- mediaInstance: this
324
- }), h.autoplay.running || h.autoplay.start());
325
- }
326
- let B = null;
327
- const te = (u) => {
328
- n(9, h = u.detail[0]);
329
- }, ie = (u) => G(this, null, function* () {
330
- var j, z, F;
331
- if (!o || !k.autoplayVideo)
332
- return;
333
- const p = u.detail[0];
334
- if (!p)
335
- return;
336
- const v = p.realIndex;
337
- if (v === B)
338
- return;
339
- n(11, B = v);
340
- const T = i[v];
341
- if (!T || T.type !== "Video")
342
- return;
343
- p.autoplay.stop(), p.slides.map((c) => c.querySelector("video")).filter(he).forEach((c) => c.pause());
344
- const f = (j = p.slides[p.activeIndex]) == null ? void 0 : j.querySelector("video");
345
- if (f && (f.removeEventListener("play", V), f.removeEventListener("pause", q), f.addEventListener("play", V), f.addEventListener("pause", q)), f) {
346
- f.addEventListener("click", () => f.pause());
347
- const c = (F = (z = f.parentElement) == null ? void 0 : z.getElementsByClassName("video-play-button-container")) == null ? void 0 : F[0];
348
- f.addEventListener("play", () => c == null ? void 0 : c.classList.remove("showPlayButton")), f.addEventListener("pause", () => c == null ? void 0 : c.classList.add("showPlayButton")), c && (f.paused ? c.classList.add("showPlayButton") : c.classList.remove("showPlayButton"), c.addEventListener("click", (ne) => {
349
- f.muted = !1, f.play(), w.set({ currentMediaElement: f }), C.emit("playStateChange", {
350
- event: ne,
351
- state: "playing",
352
- tag: s,
353
- mediaInstance: f
354
- });
355
- }));
356
- }
264
+ function ge(i, t, o) {
265
+ let n, e, r, a, { tag: l } = t, { mediaData: u } = t, { inDelay: f = 0 } = t, { outDelay: b = 0 } = t, { duration: d = 0 } = t, { unfolded: c = !0 } = t, { animation: g = !0 } = t, { mediaItemConfig: S } = t, { enableCarousel: y = !0 } = t, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = t, p = [], h, q = null;
266
+ const E = $("mediaStore");
267
+ ee(() => {
268
+ q = setInterval(
269
+ () => {
270
+ a && (h == null || h.goToNext());
271
+ },
272
+ 3e3
273
+ );
274
+ }), te(() => {
275
+ clearInterval(q);
357
276
  });
358
- return l.$$set = (u) => {
359
- "tag" in u && n(0, s = u.tag), "mediaData" in u && n(1, r = u.mediaData), "inDelay" in u && n(2, m = u.inDelay), "outDelay" in u && n(3, d = u.outDelay), "duration" in u && n(4, y = u.duration), "unfolded" in u && n(5, b = u.unfolded), "animation" in u && n(6, A = u.animation), "mediaItemConfig" in u && n(7, H = u.mediaItemConfig), "enableCarousel" in u && n(19, P = u.enableCarousel), "autoplayConfig" in u && n(8, k = u.autoplayConfig);
360
- }, l.$$.update = () => {
361
- l.$$.dirty & 524290 && n(12, e = P && (r == null ? void 0 : r.length) > 1), l.$$.dirty & 2 && n(10, i = r), l.$$.dirty & 1280 && n(13, o = i.length > 1 && k.autoplay), l.$$.dirty & 512 && h && h.slides.forEach((u) => {
362
- const p = u.querySelector("video");
363
- p && w.subscribe(({ currentMediaElement: v }) => {
364
- v !== p && p.pause();
365
- });
277
+ function R(m, L) {
278
+ i.$$.not_equal(p[L], m) && (p[L] = m, o(8, p));
279
+ }
280
+ function U(m) {
281
+ J[m ? "unshift" : "push"](() => {
282
+ h = m, o(11, h);
366
283
  });
284
+ }
285
+ const W = (m) => {
286
+ n || E.set({ currentMediaElement: null });
287
+ };
288
+ return i.$$set = (m) => {
289
+ "tag" in m && o(0, l = m.tag), "mediaData" in m && o(1, u = m.mediaData), "inDelay" in m && o(2, f = m.inDelay), "outDelay" in m && o(3, b = m.outDelay), "duration" in m && o(4, d = m.duration), "unfolded" in m && o(5, c = m.unfolded), "animation" in m && o(6, g = m.animation), "mediaItemConfig" in m && o(7, S = m.mediaItemConfig), "enableCarousel" in m && o(14, y = m.enableCarousel), "autoplayConfig" in m && o(15, k = m.autoplayConfig);
290
+ }, i.$$.update = () => {
291
+ i.$$.dirty & 256 && o(9, n = p.every((m) => m.paused)), i.$$.dirty & 16386 && o(12, e = y && (u == null ? void 0 : u.length) > 1), i.$$.dirty & 2 && o(10, r = u), i.$$.dirty & 34304 && (a = r.length > 1 && k.autoplay && n), i.$$.dirty & 256 && console.log({ mediaInstanceList: p });
367
292
  }, [
368
- s,
369
- r,
370
- m,
371
- d,
372
- y,
293
+ l,
294
+ u,
295
+ f,
373
296
  b,
374
- A,
375
- H,
376
- k,
297
+ d,
298
+ c,
299
+ g,
300
+ S,
301
+ p,
302
+ n,
303
+ r,
377
304
  h,
378
- i,
379
- B,
380
305
  e,
381
- o,
382
- a,
383
- w,
384
- C,
385
- V,
386
- q,
387
- P,
388
- te,
389
- ie
306
+ E,
307
+ y,
308
+ k,
309
+ R,
310
+ U,
311
+ W
390
312
  ];
391
313
  }
392
- class We extends ae {
314
+ class Ye extends X {
393
315
  constructor(t) {
394
- super(), le(
316
+ super(), Y(
395
317
  this,
396
318
  t,
397
- Ie,
398
- Ee,
399
- oe,
319
+ ge,
320
+ _e,
321
+ Z,
400
322
  {
401
323
  tag: 0,
402
324
  mediaData: 1,
@@ -406,13 +328,13 @@ class We extends ae {
406
328
  unfolded: 5,
407
329
  animation: 6,
408
330
  mediaItemConfig: 7,
409
- enableCarousel: 19,
410
- autoplayConfig: 8
331
+ enableCarousel: 14,
332
+ autoplayConfig: 15
411
333
  },
412
- be
334
+ fe
413
335
  );
414
336
  }
415
337
  }
416
338
  export {
417
- We as default
339
+ Ye as default
418
340
  };