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