@realsee/dnalogel 2.6.7-dev.7 → 2.6.7-dev.9

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 (321) hide show
  1. package/README.md +0 -20
  2. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  3. package/dist/index.cjs.js +55 -53
  4. package/dist/index.js +6645 -5940
  5. package/dist/index.umd.js +45 -43
  6. package/docs/classes/CSS3DRender.html +31 -31
  7. package/docs/classes/CruisePluginController.html +24 -24
  8. package/docs/classes/Magnifier.html +20 -20
  9. package/docs/classes/ModelRoomLabelController.html +11 -11
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +15 -15
  12. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  13. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  14. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  15. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  16. package/docs/classes/PanoTagPluginController.html +46 -46
  17. package/docs/classes/Util.BetterTween.html +8 -8
  18. package/docs/classes/Util.FivePointSelector.html +12 -12
  19. package/docs/classes/Util.Interval.html +12 -12
  20. package/docs/classes/Util.Magnifier.html +17 -17
  21. package/docs/classes/Util.PointDomHelper.html +11 -11
  22. package/docs/classes/Util.PointHelper.html +11 -11
  23. package/docs/classes/Util.Rectangle.html +13 -13
  24. package/docs/enums/CameraMovementEffect.html +7 -7
  25. package/docs/enums/ContentType.html +18 -18
  26. package/docs/enums/DIRECTION.html +9 -9
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  28. package/docs/enums/DimensionType.html +7 -7
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  31. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  32. package/docs/enums/PointType.html +7 -7
  33. package/docs/enums/Rotation.html +8 -8
  34. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  35. package/docs/functions/CameraMovementPlugin.html +5 -5
  36. package/docs/functions/CruisePlugin.html +5 -5
  37. package/docs/functions/GuideLinePlugin.html +5 -5
  38. package/docs/functions/ItemLabelPlugin.html +5 -5
  39. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  40. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  42. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  43. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  44. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  45. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  46. package/docs/functions/ModelViewPlugin.html +5 -5
  47. package/docs/functions/Object3DHelperPlugin.html +5 -5
  48. package/docs/functions/PanoCompassPlugin.html +5 -5
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  50. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  52. package/docs/functions/PanoMeasurePlugin.html +5 -5
  53. package/docs/functions/PanoRulerPlugin.html +5 -5
  54. package/docs/functions/PanoRulerProPlugin.html +5 -5
  55. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  56. package/docs/functions/PanoTagPlugin.html +5 -5
  57. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  58. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  59. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  60. package/docs/functions/Util.getFrameTime.html +5 -5
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  63. package/docs/functions/Util.isNil.html +5 -5
  64. package/docs/functions/Util.nextFrame.html +5 -5
  65. package/docs/functions/Util.notNil.html +5 -5
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  67. package/docs/functions/Util.tweenProgress.html +5 -5
  68. package/docs/functions/pluginFlag.html +5 -5
  69. package/docs/index.html +4 -12
  70. package/docs/interfaces/AddTagConfig.html +6 -6
  71. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  72. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  73. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  74. package/docs/interfaces/EventMap.html +15 -15
  75. package/docs/interfaces/FloorplanBounding.html +8 -8
  76. package/docs/interfaces/FloorplanData.html +10 -10
  77. package/docs/interfaces/FloorplanEntrance.html +11 -11
  78. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  79. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  80. package/docs/interfaces/FloorplanFloorData.html +9 -9
  81. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  82. package/docs/interfaces/FloorplanObserver.html +9 -9
  83. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  84. package/docs/interfaces/FloorplanPosition.html +7 -7
  85. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  86. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  87. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  88. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  89. package/docs/interfaces/FloorplanServerData.html +7 -7
  90. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  91. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  92. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  93. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  96. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  98. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  99. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  100. package/docs/interfaces/HelperOffset.html +8 -8
  101. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  102. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  103. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  104. package/docs/interfaces/MinMax.html +7 -7
  105. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  106. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  107. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  108. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  109. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  110. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  111. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  112. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  113. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  114. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  115. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  116. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  117. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  118. package/docs/interfaces/Object3DHelperState.html +8 -8
  119. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  120. package/docs/interfaces/PaintBrushAction.html +12 -12
  121. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  122. package/docs/interfaces/PaintBrushState.html +10 -10
  123. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  124. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  125. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  126. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  127. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  128. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  129. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  130. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  132. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  133. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  134. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  137. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  138. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  139. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  140. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  141. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  142. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  146. package/docs/interfaces/Point.html +8 -8
  147. package/docs/interfaces/Room.html +9 -9
  148. package/docs/interfaces/RoomInfo.html +7 -7
  149. package/docs/interfaces/RoomLabel.html +14 -14
  150. package/docs/interfaces/RoomRules.html +5 -5
  151. package/docs/interfaces/Rooms.html +5 -5
  152. package/docs/interfaces/Scissor.html +9 -9
  153. package/docs/interfaces/State.html +8 -8
  154. package/docs/interfaces/TagCache.html +12 -12
  155. package/docs/interfaces/TagConfig.html +10 -10
  156. package/docs/interfaces/TagIconUrl.html +9 -9
  157. package/docs/interfaces/Tags.html +9 -9
  158. package/docs/interfaces/TemporaryState.html +6 -6
  159. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  160. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  161. package/docs/modules/Util.html +5 -5
  162. package/docs/modules.html +4 -4
  163. package/docs/types/ArrayPosition.html +5 -5
  164. package/docs/types/AudioAppearance.html +5 -5
  165. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  166. package/docs/types/CSS3DRenderExportType.html +5 -5
  167. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  168. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  169. package/docs/types/ClassFunctionParameters.html +5 -5
  170. package/docs/types/Color.html +5 -5
  171. package/docs/types/ContentTypeConfigKey.html +5 -5
  172. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  173. package/docs/types/ContentTypeMap.html +5 -5
  174. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  175. package/docs/types/Create3DElementReturnType.html +5 -5
  176. package/docs/types/CruisePluginExportType.html +5 -5
  177. package/docs/types/Direction-1.html +5 -5
  178. package/docs/types/Direction4.html +5 -5
  179. package/docs/types/FloorplanRuleLabels.html +5 -5
  180. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  181. package/docs/types/GuideLinePluginExportType.html +5 -5
  182. package/docs/types/HelperEventMap.html +5 -5
  183. package/docs/types/LoadTagConfig.html +5 -5
  184. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  185. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  186. package/docs/types/MediaData.html +5 -5
  187. package/docs/types/MediaStore.html +5 -5
  188. package/docs/types/ModelElement.html +5 -5
  189. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  190. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  191. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  192. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  193. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  194. package/docs/types/MoveArgs.html +5 -5
  195. package/docs/types/MoveOpts.html +5 -5
  196. package/docs/types/Object3DHelperEventMap.html +5 -5
  197. package/docs/types/ObjectFit.html +5 -5
  198. package/docs/types/PaintBrushEventMap.html +5 -5
  199. package/docs/types/PanoCompassPluginData.html +5 -5
  200. package/docs/types/PanoCompassPluginExportType.html +5 -5
  201. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  202. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  203. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  204. package/docs/types/PanoIndex.html +5 -5
  205. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  206. package/docs/types/PanoMeasureReturnType.html +5 -5
  207. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  208. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  209. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  210. package/docs/types/PlaneTag.html +5 -5
  211. package/docs/types/PlaneTagElement.html +5 -5
  212. package/docs/types/Point2DElement.html +5 -5
  213. package/docs/types/Point2DTag.html +5 -5
  214. package/docs/types/Point3DElement.html +5 -5
  215. package/docs/types/Point3DTag.html +5 -5
  216. package/docs/types/PointTag.html +5 -5
  217. package/docs/types/PointTagElement.html +5 -5
  218. package/docs/types/Position.html +5 -5
  219. package/docs/types/RotateArgs.html +5 -5
  220. package/docs/types/RotateOpts.html +5 -5
  221. package/docs/types/RuleLabelsKey.html +5 -5
  222. package/docs/types/RuleLabelsValue.html +5 -5
  223. package/docs/types/StickType.html +5 -5
  224. package/docs/types/Tag.html +5 -5
  225. package/docs/types/Tag2D.html +5 -5
  226. package/docs/types/Tag3D.html +5 -5
  227. package/docs/types/TagContentType.html +5 -5
  228. package/docs/types/TagDimensionType.html +5 -5
  229. package/docs/types/TagElement.html +5 -5
  230. package/docs/types/TagEvents.html +5 -5
  231. package/docs/types/TagGLTFObject.html +5 -5
  232. package/docs/types/TagHooks.html +5 -5
  233. package/docs/types/TagIconSize.html +5 -5
  234. package/docs/types/TagId.html +5 -5
  235. package/docs/types/TagPointType.html +5 -5
  236. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  237. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  238. package/docs/types/WorkCode.html +5 -5
  239. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  240. package/docs/variables/PLUGIN.html +5 -5
  241. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  242. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  243. package/docs/variables/VERSION.html +5 -5
  244. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  245. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  246. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  247. package/libs/CruisePlugin/Controller.js +26 -26
  248. package/libs/GuideLinePlugin/Controller.js +43 -43
  249. package/libs/PanoTagPlugin/Components/Common/Media.js +235 -313
  250. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  251. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +89 -72
  252. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +86 -72
  253. package/libs/PanoTagPlugin/Components/Tag/index.js +84 -66
  254. package/libs/PanoTagPlugin/Components/TagContainer.js +98 -80
  255. package/libs/PanoTagPlugin/Components/TagItem.js +69 -51
  256. package/libs/PanoTagPlugin/controller/index.js +55 -37
  257. package/libs/PanoTagPlugin/index.js +41 -23
  258. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  259. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  260. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  261. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  262. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  263. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  264. package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
  265. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  266. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  267. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  268. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  269. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  270. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  271. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  272. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  273. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  274. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  275. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  276. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  277. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  278. package/libs/index.js +130 -112
  279. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +12 -12
  280. package/libs/vendor/simply-reactive/main.js +3 -0
  281. package/libs/vendor/simply-reactive/src/simply-reactive.js +44 -0
  282. package/libs/vendor/simply-reactive/src/utils/object.js +12 -0
  283. package/libs/vendor/simply-reactive/src/utils/subscription.js +28 -0
  284. package/libs/vendor/simply-reactive/src/utils/watcher.js +17 -0
  285. package/libs/vendor/svelte/internal/index.js +267 -274
  286. package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +18 -0
  287. package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +19 -0
  288. package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +1 -0
  289. package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +26 -0
  290. package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +1 -0
  291. package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +51 -0
  292. package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +18 -0
  293. package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +1 -0
  294. package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +36 -0
  295. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -0
  296. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +522 -0
  297. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +255 -0
  298. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +42 -0
  299. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +104 -0
  300. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +40 -0
  301. package/libs/vendor/svelte-carousel/src/direction.js +5 -0
  302. package/libs/vendor/svelte-carousel/src/main.js +1 -0
  303. package/libs/vendor/svelte-carousel/src/units.js +7 -0
  304. package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +52 -0
  305. package/libs/vendor/svelte-carousel/src/utils/clones.js +59 -0
  306. package/libs/vendor/svelte-carousel/src/utils/event.js +12 -0
  307. package/libs/vendor/svelte-carousel/src/utils/interval.js +4 -0
  308. package/libs/vendor/svelte-carousel/src/utils/lazy.js +45 -0
  309. package/libs/vendor/svelte-carousel/src/utils/math.js +11 -0
  310. package/libs/vendor/svelte-carousel/src/utils/object.js +13 -0
  311. package/libs/vendor/svelte-carousel/src/utils/page.js +154 -0
  312. package/package.json +5 -2
  313. package/libs/vendor/swiper/components-shared/get-changed-params.js +0 -29
  314. package/libs/vendor/swiper/components-shared/get-params.js +0 -23
  315. package/libs/vendor/swiper/components-shared/mount-swiper.js +0 -14
  316. package/libs/vendor/swiper/components-shared/params-list.js +0 -120
  317. package/libs/vendor/swiper/components-shared/update-swiper.js +0 -36
  318. package/libs/vendor/swiper/components-shared/utils.js +0 -32
  319. package/libs/vendor/swiper/svelte/swiper-slide.js +0 -181
  320. package/libs/vendor/swiper/svelte/swiper-svelte.js +0 -2
  321. package/libs/vendor/swiper/svelte/swiper.js +0 -253
@@ -1,253 +0,0 @@
1
- import { SvelteComponent as _e, init as pe, safe_not_equal as ue, create_slot as F, assign as T, element as M, space as C, attr as R, set_attributes as Y, insert as A, append as E, update_slot_base as G, get_all_dirty_from_scope as H, get_slot_changes as J, get_spread_update as de, transition_in as K, transition_out as L, detach as I, compute_rest_props as Z, createEventDispatcher as me, setContext as ce, onMount as we, afterUpdate as ge, onDestroy as ve, exclude_internal_props as he, noop as X, binding_callbacks as Q, tick as be } from "../../svelte/internal/index.js";
2
- import De from "swiper";
3
- import { getParams as Pe } from "../components-shared/get-params.js";
4
- import { mountSwiper as Se } from "../components-shared/mount-swiper.js";
5
- import { needsNavigation as y, needsScrollbar as $, needsPagination as x, uniqueClasses as ee, extend as te } from "../components-shared/utils.js";
6
- import { getChangedParams as ke } from "../components-shared/get-changed-params.js";
7
- import { updateSwiper as Ee } from "../components-shared/update-swiper.js";
8
- const Ce = (e) => ({ virtualData: e & 512 }), se = (e) => ({ virtualData: e[9] }), ze = (e) => ({ virtualData: e & 512 }), ne = (e) => ({ virtualData: e[9] }), Be = (e) => ({ virtualData: e & 512 }), le = (e) => ({ virtualData: e[9] }), qe = (e) => ({ virtualData: e & 512 }), ie = (e) => ({ virtualData: e[9] }), Ne = (e) => ({ virtualData: e & 512 }), re = (e) => ({ virtualData: e[9] });
9
- function ae(e) {
10
- let s, i, o;
11
- return {
12
- c() {
13
- s = M("div"), i = C(), o = M("div"), R(s, "class", "swiper-button-prev"), R(o, "class", "swiper-button-next");
14
- },
15
- m(w, k) {
16
- A(w, s, k), e[13](s), A(w, i, k), A(w, o, k), e[14](o);
17
- },
18
- p: X,
19
- d(w) {
20
- w && I(s), e[13](null), w && I(i), w && I(o), e[14](null);
21
- }
22
- };
23
- }
24
- function oe(e) {
25
- let s;
26
- return {
27
- c() {
28
- s = M("div"), R(s, "class", "swiper-scrollbar");
29
- },
30
- m(i, o) {
31
- A(i, s, o), e[15](s);
32
- },
33
- p: X,
34
- d(i) {
35
- i && I(s), e[15](null);
36
- }
37
- };
38
- }
39
- function fe(e) {
40
- let s;
41
- return {
42
- c() {
43
- s = M("div"), R(s, "class", "swiper-pagination");
44
- },
45
- m(i, o) {
46
- A(i, s, o), e[16](s);
47
- },
48
- p: X,
49
- d(i) {
50
- i && I(s), e[16](null);
51
- }
52
- };
53
- }
54
- function Ue(e) {
55
- let s, i, o, w, k, O, q = y(e[2]), N, U = $(e[2]), z, l = x(e[2]), B, v, r;
56
- const h = e[12]["container-start"], m = F(h, e, e[11], re), b = e[12]["wrapper-start"], f = F(b, e, e[11], ie), D = e[12].default, _ = F(D, e, e[11], le), P = e[12]["wrapper-end"], c = F(P, e, e[11], ne);
57
- let u = q && ae(e), d = U && oe(e), p = l && fe(e);
58
- const V = e[12]["container-end"], g = F(V, e, e[11], se);
59
- let W = [
60
- {
61
- class: v = ee(`${e[1]}${e[0] ? ` ${e[0]}` : ""}`)
62
- },
63
- e[3]
64
- ], j = {};
65
- for (let t = 0; t < W.length; t += 1)
66
- j = T(j, W[t]);
67
- return {
68
- c() {
69
- s = M("div"), m && m.c(), i = C(), o = M("div"), f && f.c(), w = C(), _ && _.c(), k = C(), c && c.c(), O = C(), u && u.c(), N = C(), d && d.c(), z = C(), p && p.c(), B = C(), g && g.c(), R(o, "class", "swiper-wrapper"), Y(s, j);
70
- },
71
- m(t, a) {
72
- A(t, s, a), m && m.m(s, null), E(s, i), E(s, o), f && f.m(o, null), E(o, w), _ && _.m(o, null), E(o, k), c && c.m(o, null), E(s, O), u && u.m(s, null), E(s, N), d && d.m(s, null), E(s, z), p && p.m(s, null), E(s, B), g && g.m(s, null), e[17](s), r = !0;
73
- },
74
- p(t, [a]) {
75
- m && m.p && (!r || a & 2560) && G(
76
- m,
77
- h,
78
- t,
79
- t[11],
80
- r ? J(h, t[11], a, Ne) : H(t[11]),
81
- re
82
- ), f && f.p && (!r || a & 2560) && G(
83
- f,
84
- b,
85
- t,
86
- t[11],
87
- r ? J(b, t[11], a, qe) : H(t[11]),
88
- ie
89
- ), _ && _.p && (!r || a & 2560) && G(
90
- _,
91
- D,
92
- t,
93
- t[11],
94
- r ? J(D, t[11], a, Be) : H(t[11]),
95
- le
96
- ), c && c.p && (!r || a & 2560) && G(
97
- c,
98
- P,
99
- t,
100
- t[11],
101
- r ? J(P, t[11], a, ze) : H(t[11]),
102
- ne
103
- ), a & 4 && (q = y(t[2])), q ? u ? u.p(t, a) : (u = ae(t), u.c(), u.m(s, N)) : u && (u.d(1), u = null), a & 4 && (U = $(t[2])), U ? d ? d.p(t, a) : (d = oe(t), d.c(), d.m(s, z)) : d && (d.d(1), d = null), a & 4 && (l = x(t[2])), l ? p ? p.p(t, a) : (p = fe(t), p.c(), p.m(s, B)) : p && (p.d(1), p = null), g && g.p && (!r || a & 2560) && G(
104
- g,
105
- V,
106
- t,
107
- t[11],
108
- r ? J(V, t[11], a, Ce) : H(t[11]),
109
- se
110
- ), Y(s, j = de(W, [
111
- (!r || a & 3 && v !== (v = ee(`${t[1]}${t[0] ? ` ${t[0]}` : ""}`))) && { class: v },
112
- a & 8 && t[3]
113
- ]));
114
- },
115
- i(t) {
116
- r || (K(m, t), K(f, t), K(_, t), K(c, t), K(g, t), r = !0);
117
- },
118
- o(t) {
119
- L(m, t), L(f, t), L(_, t), L(c, t), L(g, t), r = !1;
120
- },
121
- d(t) {
122
- t && I(s), m && m.d(t), f && f.d(t), _ && _.d(t), c && c.d(t), u && u.d(), d && d.d(), p && p.d(), g && g.d(t), e[17](null);
123
- }
124
- };
125
- }
126
- function je(e, s, i) {
127
- const o = ["class", "swiper"];
128
- let w = Z(s, o), { $$slots: k = {}, $$scope: O } = s;
129
- const q = me();
130
- let { class: N = void 0 } = s, U = "swiper", z = !1, l = null, B = null, v, r, h, m, b = null, f = null, D = null, _ = null, P = null, c = { slides: [] };
131
- function u() {
132
- return l;
133
- }
134
- const d = (n) => {
135
- i(9, c = n), be().then(() => {
136
- l.$wrapperEl.children(".swiper-slide").each((S) => {
137
- S.onSwiper && S.onSwiper(l);
138
- }), l.updateSlides(), l.updateProgress(), l.updateSlidesClasses(), l.lazy && l.params.lazy.enabled && l.lazy.load();
139
- });
140
- }, p = () => {
141
- v = Pe(w), i(2, r = v.params), h = v.passedParams, i(3, m = v.rest);
142
- };
143
- p(), B = h;
144
- const V = () => {
145
- z = !0;
146
- };
147
- if (r.onAny = (n, ...S) => {
148
- q(n, S);
149
- }, Object.assign(r.on, {
150
- _beforeBreakpoint: V,
151
- _containerClasses(n, S) {
152
- i(1, U = S);
153
- }
154
- }), l = new De(r), ce("swiper", l), l.virtual && l.params.virtual.enabled) {
155
- const n = {
156
- cache: !1,
157
- renderExternal: (S) => {
158
- d(S), r.virtual && r.virtual.renderExternal && r.virtual.renderExternal(S);
159
- },
160
- renderExternalUpdate: !1
161
- };
162
- te(l.params.virtual, n), te(l.originalParams.virtual, n);
163
- }
164
- we(() => {
165
- !b || (Se(
166
- {
167
- el: b,
168
- nextEl: D,
169
- prevEl: f,
170
- paginationEl: P,
171
- scrollbarEl: _,
172
- swiper: l
173
- },
174
- r
175
- ), q("swiper", [l]), !r.virtual && l.slides.each((n) => {
176
- n.onSwiper && n.onSwiper(l);
177
- }));
178
- }), ge(() => {
179
- if (!l)
180
- return;
181
- p();
182
- const n = ke(h, B);
183
- (n.length || z) && l && !l.destroyed && Ee({
184
- swiper: l,
185
- passedParams: h,
186
- changedParams: n,
187
- nextEl: D,
188
- prevEl: f,
189
- scrollbarEl: _,
190
- paginationEl: P
191
- }), z = !1, B = h;
192
- }), ve(() => {
193
- typeof window != "undefined" && l && !l.destroyed && l.destroy(!0, !1);
194
- });
195
- function g(n) {
196
- Q[n ? "unshift" : "push"](() => {
197
- f = n, i(5, f);
198
- });
199
- }
200
- function W(n) {
201
- Q[n ? "unshift" : "push"](() => {
202
- D = n, i(6, D);
203
- });
204
- }
205
- function j(n) {
206
- Q[n ? "unshift" : "push"](() => {
207
- _ = n, i(7, _);
208
- });
209
- }
210
- function t(n) {
211
- Q[n ? "unshift" : "push"](() => {
212
- P = n, i(8, P);
213
- });
214
- }
215
- function a(n) {
216
- Q[n ? "unshift" : "push"](() => {
217
- b = n, i(4, b);
218
- });
219
- }
220
- return e.$$set = (n) => {
221
- s = T(T({}, s), he(n)), i(27, w = Z(s, o)), "class" in n && i(0, N = n.class), "$$scope" in n && i(11, O = n.$$scope);
222
- }, [
223
- N,
224
- U,
225
- r,
226
- m,
227
- b,
228
- f,
229
- D,
230
- _,
231
- P,
232
- c,
233
- u,
234
- O,
235
- k,
236
- g,
237
- W,
238
- j,
239
- t,
240
- a
241
- ];
242
- }
243
- class Ge extends _e {
244
- constructor(s) {
245
- super(), pe(this, s, je, Ue, ue, { class: 0, swiper: 10 });
246
- }
247
- get swiper() {
248
- return this.$$.ctx[10];
249
- }
250
- }
251
- export {
252
- Ge as Swiper_1
253
- };