@realsee/dnalogel 2.6.7-dev.1 → 2.6.7-dev.11

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 (339) hide show
  1. package/README.md +0 -20
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +4 -3
  3. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  5. package/dist/index.cjs.js +55 -52
  6. package/dist/index.js +6793 -6068
  7. package/dist/index.umd.js +45 -42
  8. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
  9. package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/CSS3DRender.html +31 -31
  12. package/docs/classes/CruisePluginController.html +24 -24
  13. package/docs/classes/Magnifier.html +20 -20
  14. package/docs/classes/ModelRoomLabelController.html +11 -11
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +15 -15
  17. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  18. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  19. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +197 -51
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.FivePointSelector.html +12 -12
  24. package/docs/classes/Util.Interval.html +12 -12
  25. package/docs/classes/Util.Magnifier.html +17 -17
  26. package/docs/classes/Util.PointDomHelper.html +11 -11
  27. package/docs/classes/Util.PointHelper.html +11 -11
  28. package/docs/classes/Util.Rectangle.html +13 -13
  29. package/docs/enums/CameraMovementEffect.html +7 -7
  30. package/docs/enums/ContentType.html +18 -18
  31. package/docs/enums/DIRECTION.html +9 -9
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  33. package/docs/enums/DimensionType.html +7 -7
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  36. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  37. package/docs/enums/PointType.html +7 -7
  38. package/docs/enums/Rotation.html +8 -8
  39. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  40. package/docs/functions/CameraMovementPlugin.html +5 -5
  41. package/docs/functions/CruisePlugin.html +5 -5
  42. package/docs/functions/GuideLinePlugin.html +5 -5
  43. package/docs/functions/ItemLabelPlugin.html +5 -5
  44. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  45. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  47. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  48. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  49. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  50. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  51. package/docs/functions/ModelViewPlugin.html +5 -5
  52. package/docs/functions/Object3DHelperPlugin.html +5 -5
  53. package/docs/functions/PanoCompassPlugin.html +5 -5
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  55. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  57. package/docs/functions/PanoMeasurePlugin.html +5 -5
  58. package/docs/functions/PanoRulerPlugin.html +5 -5
  59. package/docs/functions/PanoRulerProPlugin.html +5 -5
  60. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  61. package/docs/functions/PanoTagPlugin.html +5 -5
  62. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  63. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  64. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  65. package/docs/functions/Util.getFrameTime.html +5 -5
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  68. package/docs/functions/Util.isNil.html +5 -5
  69. package/docs/functions/Util.nextFrame.html +5 -5
  70. package/docs/functions/Util.notNil.html +5 -5
  71. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  72. package/docs/functions/Util.tweenProgress.html +5 -5
  73. package/docs/functions/pluginFlag.html +5 -5
  74. package/docs/index.html +4 -12
  75. package/docs/interfaces/AddTagConfig.html +6 -6
  76. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  77. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  78. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  79. package/docs/interfaces/EventMap.html +15 -15
  80. package/docs/interfaces/FloorplanBounding.html +8 -8
  81. package/docs/interfaces/FloorplanData.html +10 -10
  82. package/docs/interfaces/FloorplanEntrance.html +11 -11
  83. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  84. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  85. package/docs/interfaces/FloorplanFloorData.html +9 -9
  86. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  87. package/docs/interfaces/FloorplanObserver.html +9 -9
  88. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  89. package/docs/interfaces/FloorplanPosition.html +7 -7
  90. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  91. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  92. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  93. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  94. package/docs/interfaces/FloorplanServerData.html +7 -7
  95. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  96. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  97. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  98. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  99. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  100. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  101. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  102. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  103. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  104. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  105. package/docs/interfaces/HelperOffset.html +8 -8
  106. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  107. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  108. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  109. package/docs/interfaces/MinMax.html +7 -7
  110. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  111. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  112. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  113. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  114. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  115. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  116. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  117. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  118. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  119. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  120. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  121. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  122. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  123. package/docs/interfaces/Object3DHelperState.html +8 -8
  124. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  125. package/docs/interfaces/PaintBrushAction.html +12 -12
  126. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  127. package/docs/interfaces/PaintBrushState.html +10 -10
  128. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  129. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  130. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  131. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  132. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  133. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  134. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  135. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  136. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  137. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  138. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  139. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  140. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  141. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  142. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  143. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  144. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  146. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  147. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  148. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  149. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  150. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  151. package/docs/interfaces/Point.html +8 -8
  152. package/docs/interfaces/Room.html +9 -9
  153. package/docs/interfaces/RoomInfo.html +7 -7
  154. package/docs/interfaces/RoomLabel.html +14 -14
  155. package/docs/interfaces/RoomRules.html +5 -5
  156. package/docs/interfaces/Rooms.html +5 -5
  157. package/docs/interfaces/Scissor.html +9 -9
  158. package/docs/interfaces/State.html +8 -8
  159. package/docs/interfaces/TagCache.html +12 -12
  160. package/docs/interfaces/TagConfig.html +10 -10
  161. package/docs/interfaces/TagIconUrl.html +9 -9
  162. package/docs/interfaces/Tags.html +9 -9
  163. package/docs/interfaces/TemporaryState.html +6 -6
  164. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  165. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  166. package/docs/modules/Util.html +5 -5
  167. package/docs/modules.html +4 -4
  168. package/docs/types/ArrayPosition.html +5 -5
  169. package/docs/types/AudioAppearance.html +5 -5
  170. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  171. package/docs/types/CSS3DRenderExportType.html +5 -5
  172. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  173. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  174. package/docs/types/ClassFunctionParameters.html +5 -5
  175. package/docs/types/Color.html +5 -5
  176. package/docs/types/ContentTypeConfigKey.html +5 -5
  177. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  178. package/docs/types/ContentTypeMap.html +5 -5
  179. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  180. package/docs/types/Create3DElementReturnType.html +5 -5
  181. package/docs/types/CruisePluginExportType.html +5 -5
  182. package/docs/types/Direction-1.html +5 -5
  183. package/docs/types/Direction4.html +5 -5
  184. package/docs/types/FloorplanRuleLabels.html +5 -5
  185. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  186. package/docs/types/GuideLinePluginExportType.html +5 -5
  187. package/docs/types/HelperEventMap.html +5 -5
  188. package/docs/types/LoadTagConfig.html +5 -5
  189. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  190. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  191. package/docs/types/MediaData.html +5 -5
  192. package/docs/types/MediaStore.html +5 -5
  193. package/docs/types/ModelElement.html +5 -5
  194. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  195. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  196. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  197. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  198. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  199. package/docs/types/MoveArgs.html +5 -5
  200. package/docs/types/MoveOpts.html +5 -5
  201. package/docs/types/Object3DHelperEventMap.html +5 -5
  202. package/docs/types/ObjectFit.html +5 -5
  203. package/docs/types/PaintBrushEventMap.html +5 -5
  204. package/docs/types/PanoCompassPluginData.html +5 -5
  205. package/docs/types/PanoCompassPluginExportType.html +5 -5
  206. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  207. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  208. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  209. package/docs/types/PanoIndex.html +5 -5
  210. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  211. package/docs/types/PanoMeasureReturnType.html +5 -5
  212. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  213. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  214. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  215. package/docs/types/PlaneTag.html +5 -5
  216. package/docs/types/PlaneTagElement.html +5 -5
  217. package/docs/types/Point2DElement.html +5 -5
  218. package/docs/types/Point2DTag.html +5 -5
  219. package/docs/types/Point3DElement.html +5 -5
  220. package/docs/types/Point3DTag.html +5 -5
  221. package/docs/types/PointTag.html +5 -5
  222. package/docs/types/PointTagElement.html +5 -5
  223. package/docs/types/Position.html +5 -5
  224. package/docs/types/RotateArgs.html +5 -5
  225. package/docs/types/RotateOpts.html +5 -5
  226. package/docs/types/RuleLabelsKey.html +5 -5
  227. package/docs/types/RuleLabelsValue.html +5 -5
  228. package/docs/types/StickType.html +5 -5
  229. package/docs/types/Tag.html +5 -5
  230. package/docs/types/Tag2D.html +5 -5
  231. package/docs/types/Tag3D.html +5 -5
  232. package/docs/types/TagContentType.html +5 -5
  233. package/docs/types/TagDimensionType.html +5 -5
  234. package/docs/types/TagElement.html +5 -5
  235. package/docs/types/TagEvents.html +5 -5
  236. package/docs/types/TagGLTFObject.html +5 -5
  237. package/docs/types/TagHooks.html +5 -5
  238. package/docs/types/TagIconSize.html +5 -5
  239. package/docs/types/TagId.html +5 -5
  240. package/docs/types/TagPointType.html +5 -5
  241. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  242. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  243. package/docs/types/WorkCode.html +5 -5
  244. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  245. package/docs/variables/PLUGIN.html +5 -5
  246. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  247. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  248. package/docs/variables/VERSION.html +5 -5
  249. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  250. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  251. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  252. package/libs/CruisePlugin/Controller.js +26 -26
  253. package/libs/GuideLinePlugin/Controller.js +43 -43
  254. package/libs/PanoMeasurePlugin/Controller/MixedController.js +10 -10
  255. package/libs/PanoTagPlugin/Components/Common/Media.js +240 -318
  256. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +137 -123
  257. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +89 -72
  258. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +86 -72
  259. package/libs/PanoTagPlugin/Components/Tag/index.js +110 -92
  260. package/libs/PanoTagPlugin/Components/TagContainer.js +98 -80
  261. package/libs/PanoTagPlugin/Components/TagItem.js +69 -51
  262. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +4 -3
  263. package/libs/PanoTagPlugin/controller/TagComputer.js +70 -65
  264. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  265. package/libs/PanoTagPlugin/controller/index.js +160 -136
  266. package/libs/PanoTagPlugin/index.js +41 -24
  267. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  268. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  269. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  270. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  271. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  272. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  273. package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
  274. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  275. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  276. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  277. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  278. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  279. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  280. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  281. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  282. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  283. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  284. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  285. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  286. package/libs/PanoTagPlugin/tag.config.js +1 -0
  287. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  288. package/libs/index.js +130 -113
  289. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +38 -38
  290. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
  291. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +26 -23
  292. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
  293. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +28 -22
  294. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +12 -12
  295. package/libs/vendor/simply-reactive/main.js +3 -0
  296. package/libs/vendor/simply-reactive/src/simply-reactive.js +44 -0
  297. package/libs/vendor/simply-reactive/src/utils/object.js +12 -0
  298. package/libs/vendor/simply-reactive/src/utils/subscription.js +28 -0
  299. package/libs/vendor/simply-reactive/src/utils/watcher.js +17 -0
  300. package/libs/vendor/svelte/internal/index.js +267 -274
  301. package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +18 -0
  302. package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +19 -0
  303. package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +1 -0
  304. package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +26 -0
  305. package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +1 -0
  306. package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +51 -0
  307. package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +18 -0
  308. package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +1 -0
  309. package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +36 -0
  310. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -0
  311. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +522 -0
  312. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +255 -0
  313. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +42 -0
  314. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +104 -0
  315. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +40 -0
  316. package/libs/vendor/svelte-carousel/src/direction.js +5 -0
  317. package/libs/vendor/svelte-carousel/src/main.js +1 -0
  318. package/libs/vendor/svelte-carousel/src/units.js +7 -0
  319. package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +52 -0
  320. package/libs/vendor/svelte-carousel/src/utils/clones.js +59 -0
  321. package/libs/vendor/svelte-carousel/src/utils/event.js +12 -0
  322. package/libs/vendor/svelte-carousel/src/utils/interval.js +4 -0
  323. package/libs/vendor/svelte-carousel/src/utils/lazy.js +45 -0
  324. package/libs/vendor/svelte-carousel/src/utils/math.js +11 -0
  325. package/libs/vendor/svelte-carousel/src/utils/object.js +13 -0
  326. package/libs/vendor/svelte-carousel/src/utils/page.js +154 -0
  327. package/package.json +5 -2
  328. package/dist/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  329. package/libs/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  330. package/libs/PanoTagPlugin/utils/tag/index.js +0 -11
  331. package/libs/vendor/swiper/components-shared/get-changed-params.js +0 -29
  332. package/libs/vendor/swiper/components-shared/get-params.js +0 -23
  333. package/libs/vendor/swiper/components-shared/mount-swiper.js +0 -14
  334. package/libs/vendor/swiper/components-shared/params-list.js +0 -120
  335. package/libs/vendor/swiper/components-shared/update-swiper.js +0 -36
  336. package/libs/vendor/swiper/components-shared/utils.js +0 -32
  337. package/libs/vendor/swiper/svelte/swiper-slide.js +0 -181
  338. package/libs/vendor/swiper/svelte/swiper-svelte.js +0 -2
  339. package/libs/vendor/swiper/svelte/swiper.js +0 -253
@@ -1,203 +1,217 @@
1
- import { SvelteComponent as V, init as z, safe_not_equal as F, append_styles as O, empty as W, insert as k, noop as w, detach as g, getContext as I, element as _, attr as a, binding_callbacks as H, space as T, set_style as P, toggle_class as m, append as B, listen as S, src_url_equal as y } from "../../../vendor/svelte/internal/index.js";
2
- import { Image_Play_Icon_With_Text as A, Image_Play_Icon as J } from "../../Assets/Icon.js";
3
- function M(o) {
4
- O(o, "svelte-q6hk4f", ".media-item.svelte-q6hk4f.svelte-q6hk4f{height:100%}.media-content.svelte-q6hk4f.svelte-q6hk4f{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-q6hk4f.svelte-q6hk4f{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-q6hk4f.svelte-q6hk4f{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-q6hk4f.svelte-q6hk4f{display:block}.video-icon.large.svelte-q6hk4f.svelte-q6hk4f{width:12.5rem;height:6.25rem}.video-icon.small.svelte-q6hk4f.svelte-q6hk4f{width:1.75rem;height:1.75rem}.video-icon.svelte-q6hk4f .video-icon-img.svelte-q6hk4f{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-q6hk4f .video-icon-img.canPlay.svelte-q6hk4f{cursor:pointer}");
1
+ import { SvelteComponent as T, init as M, safe_not_equal as q, append_styles as A, empty as J, insert as y, noop as C, detach as b, getContext as S, onMount as R, element as k, attr as a, binding_callbacks as X, space as D, set_style as j, toggle_class as _, append as U, listen as w, src_url_equal as h, run_all as G } from "../../../vendor/svelte/internal/index.js";
2
+ import { Image_Play_Icon_With_Text as K, Image_Play_Icon as Q } from "../../Assets/Icon.js";
3
+ function Y(l) {
4
+ A(l, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
5
5
  }
6
- function C(o) {
6
+ function L(l) {
7
7
  let e;
8
- function i(n, r) {
9
- if (n[1].type === "Image")
10
- return X;
11
- if (n[1].type === "Video")
12
- return R;
8
+ function t(s, n) {
9
+ if (s[2].type === "Image")
10
+ return x;
11
+ if (s[2].type === "Video")
12
+ return Z;
13
13
  }
14
- let l = i(o), t = l && l(o);
14
+ let o = t(l), i = o && o(l);
15
15
  return {
16
16
  c() {
17
- e = _("div"), t && t.c(), a(e, "class", "media-item svelte-q6hk4f");
17
+ e = k("div"), i && i.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
18
18
  },
19
- m(n, r) {
20
- k(n, e, r), t && t.m(e, null);
19
+ m(s, n) {
20
+ y(s, e, n), i && i.m(e, null);
21
21
  },
22
- p(n, r) {
23
- l === (l = i(n)) && t ? t.p(n, r) : (t && t.d(1), t = l && l(n), t && (t.c(), t.m(e, null)));
22
+ p(s, n) {
23
+ o === (o = t(s)) && i ? i.p(s, n) : (i && i.d(1), i = o && o(s), i && (i.c(), i.m(e, null)));
24
24
  },
25
- d(n) {
26
- n && g(e), t && t.d();
25
+ d(s) {
26
+ s && b(e), i && i.d();
27
27
  }
28
28
  };
29
29
  }
30
- function R(o) {
31
- let e, i, l, t, n, r;
32
- function v(u, s) {
33
- return u[6] && u[1].videoCoverUrl ? G : D;
30
+ function Z(l) {
31
+ let e, t, o, i, s, n;
32
+ function v(f, m) {
33
+ return f[7] && f[2].videoCoverUrl ? ee : $;
34
34
  }
35
- let c = v(o), d = c(o);
35
+ let c = v(l), d = c(l);
36
36
  return {
37
37
  c() {
38
- d.c(), e = T(), i = _("div"), l = _("div"), t = _("div"), a(t, "class", "video-icon-img svelte-q6hk4f"), P(t, "background-image", "url(" + o[14]() + ")"), m(t, "canPlay", o[4]), a(l, "class", "video-icon svelte-q6hk4f"), m(l, "large", o[3] === "large"), m(l, "small", o[3] === "small"), a(i, "class", "video-play-button-container svelte-q6hk4f"), m(i, "showPlayButton", o[8]);
38
+ d.c(), e = D(), t = k("div"), o = k("div"), i = k("div"), a(i, "class", "video-icon-img svelte-159ski6"), j(i, "background-image", "url(" + l[18]() + ")"), _(i, "canPlay", l[5]), a(o, "class", "video-icon svelte-159ski6"), _(o, "large", l[4] === "large"), _(o, "small", l[4] === "small"), a(t, "class", "video-play-button-container svelte-159ski6"), _(t, "showPlayButton", l[9]);
39
39
  },
40
- m(u, s) {
41
- d.m(u, s), k(u, e, s), k(u, i, s), B(i, l), B(l, t), n || (r = S(t, "click", o[15]), n = !0);
40
+ m(f, m) {
41
+ d.m(f, m), y(f, e, m), y(f, t, m), U(t, o), U(o, i), s || (n = w(i, "click", l[19]), s = !0);
42
42
  },
43
- p(u, s) {
44
- c === (c = v(u)) && d ? d.p(u, s) : (d.d(1), d = c(u), d && (d.c(), d.m(e.parentNode, e))), s & 4 && P(t, "background-image", "url(" + u[14]() + ")"), s & 16 && m(t, "canPlay", u[4]), s & 8 && m(l, "large", u[3] === "large"), s & 8 && m(l, "small", u[3] === "small"), s & 256 && m(i, "showPlayButton", u[8]);
43
+ p(f, m) {
44
+ c === (c = v(f)) && d ? d.p(f, m) : (d.d(1), d = c(f), d && (d.c(), d.m(e.parentNode, e))), m & 8 && j(i, "background-image", "url(" + f[18]() + ")"), m & 32 && _(i, "canPlay", f[5]), m & 16 && _(o, "large", f[4] === "large"), m & 16 && _(o, "small", f[4] === "small"), m & 512 && _(t, "showPlayButton", f[9]);
45
45
  },
46
- d(u) {
47
- d.d(u), u && g(e), u && g(i), n = !1, r();
46
+ d(f) {
47
+ d.d(f), f && b(e), f && b(t), s = !1, n();
48
48
  }
49
49
  };
50
50
  }
51
- function X(o) {
52
- let e, i, l, t;
51
+ function x(l) {
52
+ let e, t, o, i;
53
53
  return {
54
54
  c() {
55
- e = _("img"), a(e, "class", "media-content svelte-q6hk4f"), a(e, "style", i = `object-fit: ${o[5]};`), y(e.src, l = o[1].url) || a(e, "src", l), a(e, "alt", t = o[1].name);
55
+ e = k("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].url) || a(e, "src", o), a(e, "alt", i = l[2].name), a(e, "draggable", !1);
56
56
  },
57
- m(n, r) {
58
- k(n, e, r);
57
+ m(s, n) {
58
+ y(s, e, n);
59
59
  },
60
- p(n, r) {
61
- r & 32 && i !== (i = `object-fit: ${n[5]};`) && a(e, "style", i), r & 2 && !y(e.src, l = n[1].url) && a(e, "src", l), r & 2 && t !== (t = n[1].name) && a(e, "alt", t);
60
+ p(s, n) {
61
+ n & 64 && t !== (t = `object-fit: ${s[6]};`) && a(e, "style", t), n & 4 && !h(e.src, o = s[2].url) && a(e, "src", o), n & 4 && i !== (i = s[2].name) && a(e, "alt", i);
62
62
  },
63
- d(n) {
64
- n && g(e);
63
+ d(s) {
64
+ s && b(e);
65
65
  }
66
66
  };
67
67
  }
68
- function D(o) {
69
- let e, i, l, t, n, r, v;
68
+ function $(l) {
69
+ let e, t, o, i, s, n, v;
70
70
  return {
71
71
  c() {
72
- e = _("video"), a(e, "class", "media-content svelte-q6hk4f"), a(e, "style", i = `object-fit: ${o[5]};`), y(e.src, l = o[1].videoCoverUrl ? o[1].url : o[1].url + "#t=0.1") || a(e, "src", l), a(e, "poster", t = o[1].videoCoverUrl), a(e, "preload", n = o[1].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, m(e, "showPlayButton", o[8]), P(e, "position", "relative");
72
+ e = k("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl ? l[2].url : l[2].url + "#t=0.1") || a(e, "src", o), a(e, "poster", i = l[2].videoCoverUrl), a(e, "preload", s = l[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, _(e, "showPlayButton", l[9]);
73
73
  },
74
74
  m(c, d) {
75
- k(c, e, d), o[13](e), r || (v = S(e, "click", o[12]), r = !0);
75
+ y(c, e, d), l[17](e), n || (v = [
76
+ w(e, "play", l[14]),
77
+ w(e, "pause", l[15]),
78
+ w(e, "click", l[16])
79
+ ], n = !0);
76
80
  },
77
81
  p(c, d) {
78
- d & 32 && i !== (i = `object-fit: ${c[5]};`) && a(e, "style", i), d & 2 && !y(e.src, l = c[1].videoCoverUrl ? c[1].url : c[1].url + "#t=0.1") && a(e, "src", l), d & 2 && t !== (t = c[1].videoCoverUrl) && a(e, "poster", t), d & 2 && n !== (n = c[1].videoCoverUrl ? "none" : "auto") && a(e, "preload", n), d & 256 && m(e, "showPlayButton", c[8]);
82
+ d & 64 && t !== (t = `object-fit: ${c[6]};`) && a(e, "style", t), d & 4 && !h(e.src, o = c[2].videoCoverUrl ? c[2].url : c[2].url + "#t=0.1") && a(e, "src", o), d & 4 && i !== (i = c[2].videoCoverUrl) && a(e, "poster", i), d & 4 && s !== (s = c[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", s), d & 512 && _(e, "showPlayButton", c[9]);
79
83
  },
80
84
  d(c) {
81
- c && g(e), o[13](null), r = !1, v();
85
+ c && b(e), l[17](null), n = !1, G(v);
82
86
  }
83
87
  };
84
88
  }
85
- function G(o) {
86
- let e, i, l, t;
89
+ function ee(l) {
90
+ let e, t, o, i;
87
91
  return {
88
92
  c() {
89
- e = _("img"), a(e, "class", "media-content svelte-q6hk4f"), a(e, "style", i = `object-fit: ${o[5]};`), y(e.src, l = o[1].videoCoverUrl) || a(e, "src", l), a(e, "alt", t = o[1].name);
93
+ e = k("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl) || a(e, "src", o), a(e, "alt", i = l[2].name), a(e, "draggable", !1);
90
94
  },
91
- m(n, r) {
92
- k(n, e, r);
95
+ m(s, n) {
96
+ y(s, e, n);
93
97
  },
94
- p(n, r) {
95
- r & 32 && i !== (i = `object-fit: ${n[5]};`) && a(e, "style", i), r & 2 && !y(e.src, l = n[1].videoCoverUrl) && a(e, "src", l), r & 2 && t !== (t = n[1].name) && a(e, "alt", t);
98
+ p(s, n) {
99
+ n & 64 && t !== (t = `object-fit: ${s[6]};`) && a(e, "style", t), n & 4 && !h(e.src, o = s[2].videoCoverUrl) && a(e, "src", o), n & 4 && i !== (i = s[2].name) && a(e, "alt", i);
96
100
  },
97
- d(n) {
98
- n && g(e);
101
+ d(s) {
102
+ s && b(e);
99
103
  }
100
104
  };
101
105
  }
102
- function K(o) {
103
- let e, i = o[1] && C(o);
106
+ function te(l) {
107
+ let e, t = l[2] && L(l);
104
108
  return {
105
109
  c() {
106
- i && i.c(), e = W();
110
+ t && t.c(), e = J();
107
111
  },
108
- m(l, t) {
109
- i && i.m(l, t), k(l, e, t);
112
+ m(o, i) {
113
+ t && t.m(o, i), y(o, e, i);
110
114
  },
111
- p(l, [t]) {
112
- l[1] ? i ? i.p(l, t) : (i = C(l), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
115
+ p(o, [i]) {
116
+ o[2] ? t ? t.p(o, i) : (t = L(o), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
113
117
  },
114
- i: w,
115
- o: w,
116
- d(l) {
117
- i && i.d(l), l && g(e);
118
+ i: C,
119
+ o: C,
120
+ d(o) {
121
+ t && t.d(o), o && b(e);
118
122
  }
119
123
  };
120
124
  }
121
- function Q(o, e, i) {
122
- let { tag: l } = e, { media: t } = e, { playButtonIfNeed: n = "withoutText" } = e, { playButtonSizeIfNeed: r = "small" } = e, { canPlay: v = !0 } = e, { objectFit: c = "cover" } = e, { disableVideoIfHavePoster: d = !1 } = e, u = (t == null ? void 0 : t.type) === "Video" && Boolean(t == null ? void 0 : t.videoCoverUrl), s, b = !1;
123
- const q = I("mediaStore"), p = I("hooks"), h = () => {
124
- u || (s == null || s.play(), s == null || s.pause(), i(11, u = !0));
125
+ function ie(l, e, t) {
126
+ let o, { mediaInstance: i = { paused: !0 } } = e, { tag: s } = e, { media: n } = e, { playButtonIfNeed: v = "withoutText" } = e, { playButtonSizeIfNeed: c = "small" } = e, { canPlay: d = !0 } = e, { objectFit: f = "fill" } = e, { disableVideoIfHavePoster: m = !1 } = e, u, I = !0, p = !1;
127
+ function N() {
128
+ t(12, p = (n == null ? void 0 : n.type) === "Video" && Boolean(n.videoCoverUrl));
129
+ }
130
+ const B = S("mediaStore"), P = S("hooks"), g = () => {
131
+ p || (u == null || u.play(), u == null || u.pause(), t(12, p = !0));
125
132
  };
126
- p.on("loadVideoFirstFrame", h);
127
- const j = (f) => {
128
- s && (s.pause(), p.emit("playStateChange", {
129
- event: f,
133
+ P.on("loadVideoFirstFrame", g), R(() => {
134
+ B.subscribe(({ currentMediaElement: r }) => {
135
+ r !== u && (u == null || u.pause());
136
+ });
137
+ });
138
+ const V = (r) => {
139
+ t(9, I = !1), t(0, i.paused = !1, i), B.set({ currentMediaElement: u }), P.emit("playStateChange", {
140
+ event: r,
141
+ state: "playing",
142
+ tag: s,
143
+ mediaInstance: u
144
+ });
145
+ }, E = (r) => {
146
+ t(9, I = !0), t(0, i.paused = !0, i), P.emit("playStateChange", {
147
+ event: r,
130
148
  state: "paused",
131
- tag: l,
132
- mediaInstance: s
133
- }));
149
+ tag: s,
150
+ mediaInstance: u
151
+ });
152
+ }, z = (r) => {
153
+ u && u.pause();
134
154
  };
135
- function L(f) {
136
- H[f ? "unshift" : "push"](() => {
137
- s = f, i(7, s);
155
+ function F(r) {
156
+ X[r ? "unshift" : "push"](() => {
157
+ u = r, t(8, u);
138
158
  });
139
159
  }
140
- const N = () => n === "withText" ? A : n === "withoutText" ? J : n, U = (f) => {
141
- !v || s && (i(7, s.muted = !1, s), s.play(), q.set({ currentMediaElement: s }), p.emit("playStateChange", {
142
- event: f,
143
- state: "playing",
144
- tag: l,
145
- mediaInstance: s
146
- }));
160
+ const O = () => v === "withText" ? K : v === "withoutText" ? Q : v, W = (r) => {
161
+ !d || u && (t(8, u.muted = !1, u), u.play());
147
162
  };
148
- return o.$$set = (f) => {
149
- "tag" in f && i(0, l = f.tag), "media" in f && i(1, t = f.media), "playButtonIfNeed" in f && i(2, n = f.playButtonIfNeed), "playButtonSizeIfNeed" in f && i(3, r = f.playButtonSizeIfNeed), "canPlay" in f && i(4, v = f.canPlay), "objectFit" in f && i(5, c = f.objectFit), "disableVideoIfHavePoster" in f && i(6, d = f.disableVideoIfHavePoster);
150
- }, o.$$.update = () => {
151
- if (o.$$.dirty & 128 && s && (i(8, b = s.paused), s.addEventListener("play", () => {
152
- i(8, b = !1);
153
- }), s.addEventListener("pause", () => {
154
- i(8, b = !0);
155
- }), q.subscribe(({ currentMediaElement: f }) => {
156
- f !== s && (s == null || s.pause());
157
- })), o.$$.dirty & 2178 && (t == null ? void 0 : t.type) === "Video" && !u) {
158
- const f = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, E = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && f;
159
- s && E && s.paused && (document.removeEventListener("WeixinJSBridgeReady", h), document.removeEventListener("touchstart", h), document.removeEventListener("click", h), document.addEventListener("WeixinJSBridgeReady", h), document.addEventListener("touchstart", h), document.addEventListener("click", h));
163
+ return l.$$set = (r) => {
164
+ "mediaInstance" in r && t(0, i = r.mediaInstance), "tag" in r && t(1, s = r.tag), "media" in r && t(2, n = r.media), "playButtonIfNeed" in r && t(3, v = r.playButtonIfNeed), "playButtonSizeIfNeed" in r && t(4, c = r.playButtonSizeIfNeed), "canPlay" in r && t(5, d = r.canPlay), "objectFit" in r && t(6, f = r.objectFit), "disableVideoIfHavePoster" in r && t(7, m = r.disableVideoIfHavePoster);
165
+ }, l.$$.update = () => {
166
+ if (l.$$.dirty & 4 && t(13, o = n == null ? void 0 : n.url), l.$$.dirty & 8192 && Boolean(o) && N(), l.$$.dirty & 256 && u && t(9, I = u.paused), l.$$.dirty & 4356 && (n == null ? void 0 : n.type) === "Video" && !p) {
167
+ const r = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, H = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && r;
168
+ u && H && u.paused && (document.removeEventListener("WeixinJSBridgeReady", g), document.removeEventListener("touchstart", g), document.removeEventListener("click", g), document.addEventListener("WeixinJSBridgeReady", g), document.addEventListener("touchstart", g), document.addEventListener("click", g));
160
169
  }
161
170
  }, [
162
- l,
163
- t,
171
+ i,
172
+ s,
164
173
  n,
165
- r,
166
174
  v,
167
175
  c,
168
176
  d,
169
- s,
170
- b,
171
- q,
172
- p,
177
+ f,
178
+ m,
173
179
  u,
174
- j,
175
- L,
176
- N,
177
- U
180
+ I,
181
+ B,
182
+ P,
183
+ p,
184
+ o,
185
+ V,
186
+ E,
187
+ z,
188
+ F,
189
+ O,
190
+ W
178
191
  ];
179
192
  }
180
- class $ extends V {
193
+ class ne extends T {
181
194
  constructor(e) {
182
- super(), z(
195
+ super(), M(
183
196
  this,
184
197
  e,
185
- Q,
186
- K,
187
- F,
198
+ ie,
199
+ te,
200
+ q,
188
201
  {
189
- tag: 0,
190
- media: 1,
191
- playButtonIfNeed: 2,
192
- playButtonSizeIfNeed: 3,
193
- canPlay: 4,
194
- objectFit: 5,
195
- disableVideoIfHavePoster: 6
202
+ mediaInstance: 0,
203
+ tag: 1,
204
+ media: 2,
205
+ playButtonIfNeed: 3,
206
+ playButtonSizeIfNeed: 4,
207
+ canPlay: 5,
208
+ objectFit: 6,
209
+ disableVideoIfHavePoster: 7
196
210
  },
197
- M
211
+ Y
198
212
  );
199
213
  }
200
214
  }
201
215
  export {
202
- $ as default
216
+ ne as default
203
217
  };
@@ -12,28 +12,45 @@ import "../../utils/search.js";
12
12
  import "../../utils/constants.js";
13
13
  import "../../../vendor/svelte/transition/index.js";
14
14
  import "../../../vendor/svelte/easing/index.js";
15
- import "../../../vendor/swiper/svelte/swiper.js";
16
- import "swiper";
17
- import "../../../vendor/swiper/components-shared/get-params.js";
18
- import "../../../vendor/swiper/components-shared/utils.js";
19
- import "../../../vendor/swiper/components-shared/params-list.js";
20
- import "../../../vendor/swiper/components-shared/mount-swiper.js";
21
- import "../../../vendor/swiper/components-shared/get-changed-params.js";
22
- import "../../../vendor/swiper/components-shared/update-swiper.js";
23
- import "../../../vendor/swiper/svelte/swiper-slide.js";
24
- import "swiper/css";
25
- import "swiper/css/autoplay";
26
- import "../../utils/noTypecheck.js";
15
+ import "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
16
+ import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
17
+ import "../../../vendor/svelte-carousel/src/components/Dot/Dot.js";
18
+ import "../../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
19
+ import "../../../vendor/svelte-carousel/src/direction.js";
20
+ import "../../../vendor/svelte-carousel/src/components/Progress/Progress.js";
21
+ import "../../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
22
+ import "../../../vendor/svelte-carousel/src/actions/swipeable/event.js";
23
+ import "../../../vendor/svelte-carousel/src/utils/event.js";
24
+ import "../../../vendor/svelte-carousel/src/units.js";
25
+ import "../../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
26
+ import "../../../vendor/svelte-carousel/src/actions/hoverable/event.js";
27
+ import "../../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
28
+ import "../../../vendor/svelte-carousel/src/utils/math.js";
29
+ import "../../../vendor/svelte-carousel/src/actions/tappable/event.js";
30
+ import "../../../vendor/svelte-carousel/src/utils/page.js";
31
+ import "../../../vendor/svelte-carousel/src/utils/clones.js";
32
+ import "../../../vendor/svelte-carousel/src/utils/object.js";
33
+ import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
34
+ import "../../../vendor/simply-reactive/src/simply-reactive.js";
35
+ import "lodash.get";
36
+ import "lodash.clonedeep";
37
+ import "../../../vendor/simply-reactive/src/utils/subscription.js";
38
+ import "../../../vendor/simply-reactive/src/utils/object.js";
39
+ import "lodash.isequal";
40
+ import "../../../vendor/simply-reactive/src/utils/watcher.js";
41
+ import "../../../vendor/svelte-carousel/src/utils/lazy.js";
42
+ import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
43
+ import "../../../vendor/svelte-carousel/src/utils/interval.js";
27
44
  import "../Common/MediaItem.js";
28
45
  import "../../Assets/Icon.js";
29
- function V(f) {
30
- z(f, "svelte-1f7m1lj", ".line.svelte-1f7m1lj{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%)}.text.svelte-1f7m1lj{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;font-weight:600}.media-wrapper.svelte-1f7m1lj{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;font-weight:600}");
46
+ function V(l) {
47
+ z(l, "svelte-1f7m1lj", ".line.svelte-1f7m1lj{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%)}.text.svelte-1f7m1lj{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;font-weight:600}.media-wrapper.svelte-1f7m1lj{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;font-weight:600}");
31
48
  }
32
- function I(f) {
33
- let l, o, t, e, r, a, p, d;
34
- l = new M({
49
+ function I(l) {
50
+ let r, o, t, e, m, a, s, d;
51
+ r = new M({
35
52
  props: {
36
- visible: f[3],
53
+ visible: l[3],
37
54
  left: 61,
38
55
  bottom: 57,
39
56
  width: 2,
@@ -42,57 +59,57 @@ function I(f) {
42
59
  }
43
60
  }), e = new F({
44
61
  props: {
45
- unfolded: f[3],
62
+ unfolded: l[3],
46
63
  outDelay: 400
47
64
  }
48
65
  });
49
- let n = f[2] && N(f), m = f[1] && P(f);
66
+ let f = l[2] && N(l), n = l[1] && P(l);
50
67
  return {
51
68
  c() {
52
- b(l.$$.fragment), o = v(), t = h("div"), b(e.$$.fragment), r = v(), n && n.c(), a = v(), m && m.c(), p = S(), j(t, "class", "line svelte-1f7m1lj");
69
+ b(r.$$.fragment), o = v(), t = h("div"), b(e.$$.fragment), m = v(), f && f.c(), a = v(), n && n.c(), s = S(), j(t, "class", "line svelte-1f7m1lj");
53
70
  },
54
- m(i, s) {
55
- g(l, i, s), c(i, o, s), c(i, t, s), g(e, t, null), c(i, r, s), n && n.m(i, s), c(i, a, s), m && m.m(i, s), c(i, p, s), d = !0;
71
+ m(i, p) {
72
+ g(r, i, p), c(i, o, p), c(i, t, p), g(e, t, null), c(i, m, p), f && f.m(i, p), c(i, a, p), n && n.m(i, p), c(i, s, p), d = !0;
56
73
  },
57
- p(i, s) {
74
+ p(i, p) {
58
75
  const D = {};
59
- s & 8 && (D.visible = i[3]), l.$set(D);
76
+ p & 8 && (D.visible = i[3]), r.$set(D);
60
77
  const C = {};
61
- s & 8 && (C.unfolded = i[3]), e.$set(C), i[2] ? n ? (n.p(i, s), s & 4 && u(n, 1)) : (n = N(i), n.c(), u(n, 1), n.m(a.parentNode, a)) : n && (y(), _(n, 1, 1, () => {
78
+ p & 8 && (C.unfolded = i[3]), e.$set(C), i[2] ? f ? (f.p(i, p), p & 4 && u(f, 1)) : (f = N(i), f.c(), u(f, 1), f.m(a.parentNode, a)) : f && (y(), _(f, 1, 1, () => {
79
+ f = null;
80
+ }), k()), i[1] ? n ? (n.p(i, p), p & 2 && u(n, 1)) : (n = P(i), n.c(), u(n, 1), n.m(s.parentNode, s)) : n && (y(), _(n, 1, 1, () => {
62
81
  n = null;
63
- }), k()), i[1] ? m ? (m.p(i, s), s & 2 && u(m, 1)) : (m = P(i), m.c(), u(m, 1), m.m(p.parentNode, p)) : m && (y(), _(m, 1, 1, () => {
64
- m = null;
65
82
  }), k());
66
83
  },
67
84
  i(i) {
68
- d || (u(l.$$.fragment, i), u(e.$$.fragment, i), u(n), u(m), d = !0);
85
+ d || (u(r.$$.fragment, i), u(e.$$.fragment, i), u(f), u(n), d = !0);
69
86
  },
70
87
  o(i) {
71
- _(l.$$.fragment, i), _(e.$$.fragment, i), _(n), _(m), d = !1;
88
+ _(r.$$.fragment, i), _(e.$$.fragment, i), _(f), _(n), d = !1;
72
89
  },
73
90
  d(i) {
74
- w(l, i), i && $(o), i && $(t), w(e), i && $(r), n && n.d(i), i && $(a), m && m.d(i), i && $(p);
91
+ w(r, i), i && $(o), i && $(t), w(e), i && $(m), f && f.d(i), i && $(a), n && n.d(i), i && $(s);
75
92
  }
76
93
  };
77
94
  }
78
- function N(f) {
79
- let l, o, t;
95
+ function N(l) {
96
+ let r, o, t;
80
97
  return o = new B({
81
98
  props: {
82
- unfolded: f[3],
83
- content: f[2],
99
+ unfolded: l[3],
100
+ content: l[2],
84
101
  inDelay: 500
85
102
  }
86
103
  }), {
87
104
  c() {
88
- l = h("div"), b(o.$$.fragment), j(l, "class", "text svelte-1f7m1lj");
105
+ r = h("div"), b(o.$$.fragment), j(r, "class", "text svelte-1f7m1lj");
89
106
  },
90
- m(e, r) {
91
- c(e, l, r), g(o, l, null), t = !0;
107
+ m(e, m) {
108
+ c(e, r, m), g(o, r, null), t = !0;
92
109
  },
93
- p(e, r) {
110
+ p(e, m) {
94
111
  const a = {};
95
- r & 8 && (a.unfolded = e[3]), r & 4 && (a.content = e[2]), o.$set(a);
112
+ m & 8 && (a.unfolded = e[3]), m & 4 && (a.content = e[2]), o.$set(a);
96
113
  },
97
114
  i(e) {
98
115
  t || (u(o.$$.fragment, e), t = !0);
@@ -101,18 +118,18 @@ function N(f) {
101
118
  _(o.$$.fragment, e), t = !1;
102
119
  },
103
120
  d(e) {
104
- e && $(l), w(o);
121
+ e && $(r), w(o);
105
122
  }
106
123
  };
107
124
  }
108
- function P(f) {
109
- let l, o, t;
125
+ function P(l) {
126
+ let r, o, t;
110
127
  return o = new H({
111
128
  props: {
112
129
  autoplayConfig: { autoplay: !1 },
113
- unfolded: f[3],
114
- mediaData: f[1],
115
- tag: f[0],
130
+ unfolded: l[3],
131
+ mediaData: l[1],
132
+ tag: l[0],
116
133
  enableCarousel: !1,
117
134
  mediaItemConfig: {
118
135
  canPlay: !1,
@@ -124,14 +141,14 @@ function P(f) {
124
141
  }
125
142
  }), {
126
143
  c() {
127
- l = h("div"), b(o.$$.fragment), j(l, "class", "media-wrapper svelte-1f7m1lj");
144
+ r = h("div"), b(o.$$.fragment), j(r, "class", "media-wrapper svelte-1f7m1lj");
128
145
  },
129
- m(e, r) {
130
- c(e, l, r), g(o, l, null), t = !0;
146
+ m(e, m) {
147
+ c(e, r, m), g(o, r, null), t = !0;
131
148
  },
132
- p(e, r) {
149
+ p(e, m) {
133
150
  const a = {};
134
- r & 8 && (a.unfolded = e[3]), r & 2 && (a.mediaData = e[1]), r & 1 && (a.tag = e[0]), o.$set(a);
151
+ m & 8 && (a.unfolded = e[3]), m & 2 && (a.mediaData = e[1]), m & 1 && (a.tag = e[0]), o.$set(a);
135
152
  },
136
153
  i(e) {
137
154
  t || (u(o.$$.fragment, e), t = !0);
@@ -140,21 +157,21 @@ function P(f) {
140
157
  _(o.$$.fragment, e), t = !1;
141
158
  },
142
159
  d(e) {
143
- e && $(l), w(o);
160
+ e && $(r), w(o);
144
161
  }
145
162
  };
146
163
  }
147
- function Y(f) {
148
- let l, o, t = f[0].state && I(f);
164
+ function Y(l) {
165
+ let r, o, t = l[0].state && I(l);
149
166
  return {
150
167
  c() {
151
- t && t.c(), l = S();
168
+ t && t.c(), r = S();
152
169
  },
153
- m(e, r) {
154
- t && t.m(e, r), c(e, l, r), o = !0;
170
+ m(e, m) {
171
+ t && t.m(e, m), c(e, r, m), o = !0;
155
172
  },
156
- p(e, [r]) {
157
- e[0].state ? t ? (t.p(e, r), r & 1 && u(t, 1)) : (t = I(e), t.c(), u(t, 1), t.m(l.parentNode, l)) : t && (y(), _(t, 1, 1, () => {
173
+ p(e, [m]) {
174
+ e[0].state ? t ? (t.p(e, m), m & 1 && u(t, 1)) : (t = I(e), t.c(), u(t, 1), t.m(r.parentNode, r)) : t && (y(), _(t, 1, 1, () => {
158
175
  t = null;
159
176
  }), k());
160
177
  },
@@ -165,24 +182,24 @@ function Y(f) {
165
182
  _(t), o = !1;
166
183
  },
167
184
  d(e) {
168
- t && t.d(e), e && $(l);
185
+ t && t.d(e), e && $(r);
169
186
  }
170
187
  };
171
188
  }
172
- function A(f, l, o) {
173
- let t, e, r, a, { tag: p } = l;
174
- return f.$$set = (d) => {
175
- "tag" in d && o(0, p = d.tag);
176
- }, f.$$.update = () => {
177
- var d, n, m;
178
- f.$$.dirty & 1 && o(3, t = p.state ? p.state.unfolded : !1), f.$$.dirty & 1 && o(4, e = (n = (d = p.data.title) != null ? d : p.data.text) != null ? n : ""), f.$$.dirty & 16 && o(2, r = ((m = e.length) != null ? m : 0) > 7 ? e.substring(0, 6) + "..." : e), f.$$.dirty & 1 && o(1, a = p.data.mediaData);
179
- }, [p, a, r, t, e];
189
+ function A(l, r, o) {
190
+ let t, e, m, a, { tag: s } = r;
191
+ return l.$$set = (d) => {
192
+ "tag" in d && o(0, s = d.tag);
193
+ }, l.$$.update = () => {
194
+ var d, f, n;
195
+ l.$$.dirty & 1 && o(3, t = s.state ? s.state.unfolded : !1), l.$$.dirty & 1 && o(4, e = (f = (d = s.data.title) != null ? d : s.data.text) != null ? f : ""), l.$$.dirty & 16 && o(2, m = ((n = e.length) != null ? n : 0) > 7 ? e.substring(0, 6) + "..." : e), l.$$.dirty & 1 && o(1, a = s.data.mediaData);
196
+ }, [s, a, m, t, e];
180
197
  }
181
- class $e extends T {
182
- constructor(l) {
183
- super(), R(this, l, A, Y, q, { tag: 0 }, V);
198
+ class qe extends T {
199
+ constructor(r) {
200
+ super(), R(this, r, A, Y, q, { tag: 0 }, V);
184
201
  }
185
202
  }
186
203
  export {
187
- $e as default
204
+ qe as default
188
205
  };