@realsee/dnalogel 2.6.7-dev.6 → 2.6.7-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
- package/dist/index.cjs.js +55 -56
- package/dist/index.js +5573 -6431
- package/dist/index.umd.js +48 -49
- 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 +46 -46
- 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 -4
- 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/PanoTagPlugin/Components/Common/Media.js +299 -254
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +122 -132
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +67 -84
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +64 -80
- package/libs/PanoTagPlugin/Components/Tag/index.js +62 -79
- package/libs/PanoTagPlugin/Components/TagContainer.js +75 -92
- package/libs/PanoTagPlugin/Components/TagItem.js +47 -64
- package/libs/PanoTagPlugin/controller/TagComputer.js +49 -48
- package/libs/PanoTagPlugin/controller/index.js +37 -54
- package/libs/PanoTagPlugin/index.js +18 -35
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
- package/libs/index.js +107 -124
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +12 -12
- package/libs/vendor/svelte/internal/index.js +162 -176
- package/libs/vendor/swiper/components-shared/get-changed-params.js +29 -1
- package/libs/vendor/swiper/components-shared/get-params.js +23 -1
- package/libs/vendor/swiper/components-shared/mount-swiper.js +14 -1
- package/libs/vendor/swiper/components-shared/params-list.js +120 -1
- package/libs/vendor/swiper/components-shared/update-swiper.js +36 -1
- package/libs/vendor/swiper/components-shared/utils.js +28 -5
- package/libs/vendor/swiper/svelte/swiper.js +253 -2
- package/package.json +1 -3
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
- package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +0 -18
- package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +0 -19
- package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +0 -1
- package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +0 -26
- package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +0 -1
- package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +0 -51
- package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +0 -18
- package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +0 -1
- package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +0 -36
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +0 -41
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +0 -522
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +0 -255
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +0 -42
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +0 -104
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +0 -40
- package/libs/vendor/svelte-carousel/src/direction.js +0 -5
- package/libs/vendor/svelte-carousel/src/main.js +0 -1
- package/libs/vendor/svelte-carousel/src/units.js +0 -7
- package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +0 -52
- package/libs/vendor/svelte-carousel/src/utils/clones.js +0 -59
- package/libs/vendor/svelte-carousel/src/utils/event.js +0 -12
- package/libs/vendor/svelte-carousel/src/utils/interval.js +0 -4
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +0 -45
- package/libs/vendor/svelte-carousel/src/utils/math.js +0 -11
- package/libs/vendor/svelte-carousel/src/utils/object.js +0 -13
- package/libs/vendor/svelte-carousel/src/utils/page.js +0 -154
|
@@ -1,357 +1,402 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var G = (l, t, n) => new Promise((e, i) => {
|
|
2
|
+
var o = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
s(n.next(r));
|
|
5
|
+
} catch (m) {
|
|
6
|
+
i(m);
|
|
7
|
+
}
|
|
8
|
+
}, a = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
s(n.throw(r));
|
|
11
|
+
} catch (m) {
|
|
12
|
+
i(m);
|
|
13
|
+
}
|
|
14
|
+
}, s = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, a);
|
|
15
|
+
s((n = n.apply(l, t)).next());
|
|
16
|
+
});
|
|
17
|
+
import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as Y, insert as E, transition_in as _, transition_out as g, check_outros as N, detach as I, getContext as J, element as se, attr as ue, toggle_class as K, group_outros as O, add_render_callback as fe, create_in_transition as de, identity as Q, create_out_transition as ce, assign as Z, create_component as L, mount_component as S, get_spread_update as x, get_spread_object as $, destroy_component as D, destroy_each as me, space as _e } from "../../../vendor/svelte/internal/index.js";
|
|
18
|
+
import { fly as R } from "../../../vendor/svelte/transition/index.js";
|
|
19
|
+
import { Swiper_1 as pe } from "../../../vendor/swiper/svelte/swiper.js";
|
|
20
|
+
import { Swiper_slide as ge } from "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
21
|
+
import { Autoplay as ye } from "swiper";
|
|
6
22
|
import "swiper/css";
|
|
7
23
|
import "swiper/css/autoplay";
|
|
8
24
|
import "three";
|
|
9
|
-
import { noTypecheck as
|
|
25
|
+
import { noTypecheck as M } from "../../utils/noTypecheck.js";
|
|
10
26
|
import "@realsee/five/gltf-loader";
|
|
11
|
-
import
|
|
12
|
-
import "../../../
|
|
13
|
-
import "../../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
14
|
-
import "../../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
15
|
-
import "../../../vendor/svelte-carousel/src/direction.js";
|
|
16
|
-
import "../../../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
17
|
-
import "../../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
18
|
-
import "../../../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
19
|
-
import "../../../vendor/svelte-carousel/src/utils/event.js";
|
|
20
|
-
import "../../../vendor/svelte-carousel/src/units.js";
|
|
21
|
-
import "../../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
22
|
-
import "../../../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
23
|
-
import "../../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
24
|
-
import "../../../vendor/svelte-carousel/src/utils/math.js";
|
|
25
|
-
import "../../../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
26
|
-
import "../../../vendor/svelte-carousel/src/utils/page.js";
|
|
27
|
-
import "../../../vendor/svelte-carousel/src/utils/clones.js";
|
|
28
|
-
import "../../../vendor/svelte-carousel/src/utils/object.js";
|
|
29
|
-
import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
30
|
-
import "simply-reactive";
|
|
31
|
-
import "../../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
32
|
-
import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
33
|
-
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
27
|
+
import ee from "./MediaItem.js";
|
|
28
|
+
import { notNil as he } from "../../../shared-utils/isNil.js";
|
|
34
29
|
import "../../../vendor/svelte/easing/index.js";
|
|
30
|
+
import "../../../vendor/swiper/components-shared/get-params.js";
|
|
35
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
36
|
import "../../Assets/Icon.js";
|
|
37
|
-
function
|
|
38
|
-
|
|
37
|
+
function be(l) {
|
|
38
|
+
re(l, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const
|
|
42
|
-
return
|
|
40
|
+
function U(l, t, n) {
|
|
41
|
+
const e = l.slice();
|
|
42
|
+
return e[22] = t[n], e;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
let t,
|
|
46
|
-
const
|
|
47
|
-
function
|
|
48
|
-
return
|
|
44
|
+
function W(l) {
|
|
45
|
+
let t, n, e, i, o, a;
|
|
46
|
+
const s = [ke, ve], r = [];
|
|
47
|
+
function m(d, y) {
|
|
48
|
+
return d[12] ? 0 : 1;
|
|
49
49
|
}
|
|
50
|
-
return
|
|
50
|
+
return n = m(l), e = r[n] = s[n](l), {
|
|
51
51
|
c() {
|
|
52
|
-
t =
|
|
52
|
+
t = se("div"), e.c(), ue(t, "class", "media svelte-ai0lv9"), K(t, "unfolded", l[5]);
|
|
53
53
|
},
|
|
54
|
-
m(
|
|
55
|
-
|
|
54
|
+
m(d, y) {
|
|
55
|
+
E(d, t, y), r[n].m(t, null), a = !0;
|
|
56
56
|
},
|
|
57
|
-
p(
|
|
58
|
-
|
|
59
|
-
let
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}),
|
|
57
|
+
p(d, y) {
|
|
58
|
+
l = d;
|
|
59
|
+
let b = n;
|
|
60
|
+
n = m(l), n === b ? r[n].p(l, y) : (O(), g(r[b], 1, 1, () => {
|
|
61
|
+
r[b] = null;
|
|
62
|
+
}), N(), e = r[n], e ? e.p(l, y) : (e = r[n] = s[n](l), e.c()), _(e, 1), e.m(t, null)), (!a || y & 32) && K(t, "unfolded", l[5]);
|
|
63
63
|
},
|
|
64
|
-
i(
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
i(d) {
|
|
65
|
+
a || (_(e), d && fe(() => {
|
|
66
|
+
o && o.end(1), i = de(t, R, l[6] ? {
|
|
67
67
|
y: 4,
|
|
68
|
-
duration:
|
|
69
|
-
delay:
|
|
70
|
-
easing:
|
|
71
|
-
} : void 0),
|
|
72
|
-
}),
|
|
73
|
-
},
|
|
74
|
-
o(
|
|
75
|
-
|
|
68
|
+
duration: l[4],
|
|
69
|
+
delay: l[2],
|
|
70
|
+
easing: Q
|
|
71
|
+
} : void 0), i.start();
|
|
72
|
+
}), a = !0);
|
|
73
|
+
},
|
|
74
|
+
o(d) {
|
|
75
|
+
g(e), i && i.invalidate(), d && (o = ce(t, R, l[6] ? {
|
|
76
76
|
y: 4,
|
|
77
|
-
duration:
|
|
78
|
-
delay:
|
|
79
|
-
easing:
|
|
80
|
-
} : void 0)),
|
|
77
|
+
duration: l[4],
|
|
78
|
+
delay: l[3],
|
|
79
|
+
easing: Q
|
|
80
|
+
} : void 0)), a = !1;
|
|
81
81
|
},
|
|
82
|
-
d(
|
|
83
|
-
|
|
82
|
+
d(d) {
|
|
83
|
+
d && I(t), r[n].d(), d && o && o.end();
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
let t,
|
|
89
|
-
const
|
|
90
|
-
{ media:
|
|
91
|
-
|
|
92
|
-
{ tag:
|
|
87
|
+
function ve(l) {
|
|
88
|
+
let t, n;
|
|
89
|
+
const e = [
|
|
90
|
+
{ media: l[1][0] },
|
|
91
|
+
l[7],
|
|
92
|
+
{ tag: l[0] }
|
|
93
93
|
];
|
|
94
|
-
let
|
|
95
|
-
for (let
|
|
96
|
-
|
|
97
|
-
return t = new
|
|
94
|
+
let i = {};
|
|
95
|
+
for (let o = 0; o < e.length; o += 1)
|
|
96
|
+
i = Z(i, e[o]);
|
|
97
|
+
return t = new ee({ props: i }), {
|
|
98
98
|
c() {
|
|
99
|
-
|
|
99
|
+
L(t.$$.fragment);
|
|
100
100
|
},
|
|
101
|
-
m(
|
|
102
|
-
|
|
101
|
+
m(o, a) {
|
|
102
|
+
S(t, o, a), n = !0;
|
|
103
103
|
},
|
|
104
|
-
p(
|
|
105
|
-
const
|
|
106
|
-
a & 2 && { media:
|
|
107
|
-
a & 128 &&
|
|
108
|
-
a & 1 && { tag:
|
|
104
|
+
p(o, a) {
|
|
105
|
+
const s = a & 131 ? x(e, [
|
|
106
|
+
a & 2 && { media: o[1][0] },
|
|
107
|
+
a & 128 && $(o[7]),
|
|
108
|
+
a & 1 && { tag: o[0] }
|
|
109
109
|
]) : {};
|
|
110
|
-
t.$set(
|
|
110
|
+
t.$set(s);
|
|
111
111
|
},
|
|
112
|
-
i(
|
|
113
|
-
|
|
112
|
+
i(o) {
|
|
113
|
+
n || (_(t.$$.fragment, o), n = !0);
|
|
114
114
|
},
|
|
115
|
-
o(
|
|
116
|
-
|
|
115
|
+
o(o) {
|
|
116
|
+
g(t.$$.fragment, o), n = !1;
|
|
117
117
|
},
|
|
118
|
-
d(
|
|
119
|
-
D(t,
|
|
118
|
+
d(o) {
|
|
119
|
+
D(t, o);
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
let t,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
123
|
+
function ke(l) {
|
|
124
|
+
let t, n;
|
|
125
|
+
return t = new pe({
|
|
126
|
+
props: {
|
|
127
|
+
style: "height: 100%",
|
|
128
|
+
modules: [ye],
|
|
129
|
+
spaceBetween: 30,
|
|
130
|
+
autoplay: l[13] ? M({
|
|
131
|
+
delay: 4e3,
|
|
132
|
+
stopOnLastSlide: !1,
|
|
133
|
+
disableOnInteraction: !1
|
|
134
|
+
}) : !1,
|
|
135
|
+
loop: !0,
|
|
136
|
+
$$slots: { default: [Ce] },
|
|
137
|
+
$$scope: { ctx: l }
|
|
138
|
+
}
|
|
139
|
+
}), t.$on("init", l[20]), t.$on("slideChange", l[21]), {
|
|
131
140
|
c() {
|
|
132
|
-
|
|
141
|
+
L(t.$$.fragment);
|
|
133
142
|
},
|
|
134
|
-
m(e,
|
|
135
|
-
|
|
143
|
+
m(e, i) {
|
|
144
|
+
S(t, e, i), n = !0;
|
|
136
145
|
},
|
|
137
|
-
p(e,
|
|
138
|
-
const
|
|
139
|
-
|
|
146
|
+
p(e, i) {
|
|
147
|
+
const o = {};
|
|
148
|
+
i & 8192 && (o.autoplay = e[13] ? M({
|
|
149
|
+
delay: 4e3,
|
|
150
|
+
stopOnLastSlide: !1,
|
|
151
|
+
disableOnInteraction: !1
|
|
152
|
+
}) : !1), i & 33555585 && (o.$$scope = { dirty: i, ctx: e }), t.$set(o);
|
|
140
153
|
},
|
|
141
154
|
i(e) {
|
|
142
|
-
|
|
155
|
+
n || (_(t.$$.fragment, e), n = !0);
|
|
143
156
|
},
|
|
144
157
|
o(e) {
|
|
145
|
-
|
|
158
|
+
g(t.$$.fragment, e), n = !1;
|
|
146
159
|
},
|
|
147
160
|
d(e) {
|
|
148
|
-
|
|
161
|
+
D(t, e);
|
|
149
162
|
}
|
|
150
163
|
};
|
|
151
164
|
}
|
|
152
|
-
function
|
|
153
|
-
let t,
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
{ media:
|
|
157
|
-
{ tag:
|
|
165
|
+
function we(l) {
|
|
166
|
+
let t, n, e;
|
|
167
|
+
const i = [
|
|
168
|
+
l[7],
|
|
169
|
+
{ media: l[22] },
|
|
170
|
+
{ tag: l[0] }
|
|
158
171
|
];
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
for (let o = 0; o < r.length; o += 1)
|
|
164
|
-
u = J(u, r[o]);
|
|
165
|
-
return n[8] !== void 0 && (u.paused = n[8]), t = new P({ props: u }), H.push(() => ae(t, "paused", a)), {
|
|
172
|
+
let o = {};
|
|
173
|
+
for (let a = 0; a < i.length; a += 1)
|
|
174
|
+
o = Z(o, i[a]);
|
|
175
|
+
return t = new ee({ props: o }), {
|
|
166
176
|
c() {
|
|
167
|
-
|
|
177
|
+
L(t.$$.fragment), n = _e();
|
|
168
178
|
},
|
|
169
|
-
m(
|
|
170
|
-
|
|
179
|
+
m(a, s) {
|
|
180
|
+
S(t, a, s), E(a, n, s), e = !0;
|
|
171
181
|
},
|
|
172
|
-
p(
|
|
173
|
-
const
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
182
|
+
p(a, s) {
|
|
183
|
+
const r = s & 1153 ? x(i, [
|
|
184
|
+
s & 128 && $(a[7]),
|
|
185
|
+
s & 1024 && { media: a[22] },
|
|
186
|
+
s & 1 && { tag: a[0] }
|
|
177
187
|
]) : {};
|
|
178
|
-
|
|
188
|
+
t.$set(r);
|
|
179
189
|
},
|
|
180
|
-
i(
|
|
181
|
-
e || (
|
|
190
|
+
i(a) {
|
|
191
|
+
e || (_(t.$$.fragment, a), e = !0);
|
|
182
192
|
},
|
|
183
|
-
o(
|
|
184
|
-
|
|
193
|
+
o(a) {
|
|
194
|
+
g(t.$$.fragment, a), e = !1;
|
|
185
195
|
},
|
|
186
|
-
d(
|
|
187
|
-
D(t,
|
|
196
|
+
d(a) {
|
|
197
|
+
D(t, a), a && I(n);
|
|
188
198
|
}
|
|
189
199
|
};
|
|
190
200
|
}
|
|
191
|
-
function
|
|
192
|
-
let t,
|
|
193
|
-
return t = new
|
|
201
|
+
function X(l) {
|
|
202
|
+
let t, n;
|
|
203
|
+
return t = new l[14]({
|
|
194
204
|
props: {
|
|
195
|
-
$$slots: { default: [
|
|
196
|
-
$$scope: { ctx:
|
|
205
|
+
$$slots: { default: [we] },
|
|
206
|
+
$$scope: { ctx: l }
|
|
197
207
|
}
|
|
198
208
|
}), {
|
|
199
209
|
c() {
|
|
200
|
-
|
|
210
|
+
L(t.$$.fragment);
|
|
201
211
|
},
|
|
202
|
-
m(
|
|
203
|
-
|
|
212
|
+
m(e, i) {
|
|
213
|
+
S(t, e, i), n = !0;
|
|
204
214
|
},
|
|
205
|
-
p(
|
|
206
|
-
const
|
|
207
|
-
|
|
215
|
+
p(e, i) {
|
|
216
|
+
const o = {};
|
|
217
|
+
i & 33555585 && (o.$$scope = { dirty: i, ctx: e }), t.$set(o);
|
|
208
218
|
},
|
|
209
|
-
i(
|
|
210
|
-
|
|
219
|
+
i(e) {
|
|
220
|
+
n || (_(t.$$.fragment, e), n = !0);
|
|
211
221
|
},
|
|
212
|
-
o(
|
|
213
|
-
|
|
222
|
+
o(e) {
|
|
223
|
+
g(t.$$.fragment, e), n = !1;
|
|
214
224
|
},
|
|
215
|
-
d(
|
|
216
|
-
D(t,
|
|
225
|
+
d(e) {
|
|
226
|
+
D(t, e);
|
|
217
227
|
}
|
|
218
228
|
};
|
|
219
229
|
}
|
|
220
|
-
function
|
|
221
|
-
let t,
|
|
222
|
-
for (let a = 0; a <
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
|
|
230
|
+
function Ce(l) {
|
|
231
|
+
let t, n, e = l[10], i = [];
|
|
232
|
+
for (let a = 0; a < e.length; a += 1)
|
|
233
|
+
i[a] = X(U(l, e, a));
|
|
234
|
+
const o = (a) => g(i[a], 1, 1, () => {
|
|
235
|
+
i[a] = null;
|
|
226
236
|
});
|
|
227
237
|
return {
|
|
228
238
|
c() {
|
|
229
|
-
for (let a = 0; a <
|
|
230
|
-
|
|
231
|
-
t =
|
|
232
|
-
},
|
|
233
|
-
m(a,
|
|
234
|
-
for (let
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
},
|
|
238
|
-
p(a,
|
|
239
|
-
if (
|
|
240
|
-
|
|
241
|
-
let
|
|
242
|
-
for (
|
|
243
|
-
const m =
|
|
244
|
-
|
|
239
|
+
for (let a = 0; a < i.length; a += 1)
|
|
240
|
+
i[a].c();
|
|
241
|
+
t = Y();
|
|
242
|
+
},
|
|
243
|
+
m(a, s) {
|
|
244
|
+
for (let r = 0; r < i.length; r += 1)
|
|
245
|
+
i[r].m(a, s);
|
|
246
|
+
E(a, t, s), n = !0;
|
|
247
|
+
},
|
|
248
|
+
p(a, s) {
|
|
249
|
+
if (s & 1153) {
|
|
250
|
+
e = a[10];
|
|
251
|
+
let r;
|
|
252
|
+
for (r = 0; r < e.length; r += 1) {
|
|
253
|
+
const m = U(a, e, r);
|
|
254
|
+
i[r] ? (i[r].p(m, s), _(i[r], 1)) : (i[r] = X(m), i[r].c(), _(i[r], 1), i[r].m(t.parentNode, t));
|
|
245
255
|
}
|
|
246
|
-
for (
|
|
247
|
-
r
|
|
248
|
-
|
|
256
|
+
for (O(), r = e.length; r < i.length; r += 1)
|
|
257
|
+
o(r);
|
|
258
|
+
N();
|
|
249
259
|
}
|
|
250
260
|
},
|
|
251
261
|
i(a) {
|
|
252
|
-
if (!
|
|
253
|
-
for (let
|
|
254
|
-
|
|
255
|
-
|
|
262
|
+
if (!n) {
|
|
263
|
+
for (let s = 0; s < e.length; s += 1)
|
|
264
|
+
_(i[s]);
|
|
265
|
+
n = !0;
|
|
256
266
|
}
|
|
257
267
|
},
|
|
258
268
|
o(a) {
|
|
259
|
-
|
|
260
|
-
for (let
|
|
261
|
-
|
|
262
|
-
|
|
269
|
+
i = i.filter(Boolean);
|
|
270
|
+
for (let s = 0; s < i.length; s += 1)
|
|
271
|
+
g(i[s]);
|
|
272
|
+
n = !1;
|
|
263
273
|
},
|
|
264
274
|
d(a) {
|
|
265
|
-
|
|
275
|
+
me(i, a), a && I(t);
|
|
266
276
|
}
|
|
267
277
|
};
|
|
268
278
|
}
|
|
269
|
-
function
|
|
270
|
-
let t,
|
|
279
|
+
function Ee(l) {
|
|
280
|
+
let t, n, e = l[5] && W(l);
|
|
271
281
|
return {
|
|
272
282
|
c() {
|
|
273
|
-
|
|
283
|
+
e && e.c(), t = Y();
|
|
274
284
|
},
|
|
275
|
-
m(
|
|
276
|
-
|
|
285
|
+
m(i, o) {
|
|
286
|
+
e && e.m(i, o), E(i, t, o), n = !0;
|
|
277
287
|
},
|
|
278
|
-
p(
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}),
|
|
288
|
+
p(i, [o]) {
|
|
289
|
+
i[5] ? e ? (e.p(i, o), o & 32 && _(e, 1)) : (e = W(i), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (O(), g(e, 1, 1, () => {
|
|
290
|
+
e = null;
|
|
291
|
+
}), N());
|
|
282
292
|
},
|
|
283
|
-
i(
|
|
284
|
-
|
|
293
|
+
i(i) {
|
|
294
|
+
n || (_(e), n = !0);
|
|
285
295
|
},
|
|
286
|
-
o(
|
|
287
|
-
|
|
296
|
+
o(i) {
|
|
297
|
+
g(e), n = !1;
|
|
288
298
|
},
|
|
289
|
-
d(
|
|
290
|
-
|
|
299
|
+
d(i) {
|
|
300
|
+
e && e.d(i), i && I(t);
|
|
291
301
|
}
|
|
292
302
|
};
|
|
293
303
|
}
|
|
294
|
-
function
|
|
295
|
-
let
|
|
296
|
-
const a =
|
|
297
|
-
let { tag:
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
clearInterval(M);
|
|
308
|
-
});
|
|
309
|
-
function Q(f) {
|
|
310
|
-
y = f, l(8, y);
|
|
304
|
+
function Ie(l, t, n) {
|
|
305
|
+
let e, i, o;
|
|
306
|
+
const a = M(ge);
|
|
307
|
+
let { tag: s } = t, { mediaData: r } = t, { inDelay: m = 0 } = t, { outDelay: d = 0 } = t, { duration: y = 0 } = t, { unfolded: b = !0 } = t, { animation: A = !0 } = t, { mediaItemConfig: H } = t, { enableCarousel: P = !0 } = t, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = t;
|
|
308
|
+
const w = J("mediaStore"), C = J("hooks");
|
|
309
|
+
let h;
|
|
310
|
+
function V(u) {
|
|
311
|
+
!e || !h || (w.set({ currentMediaElement: this }), C.emit("playStateChange", {
|
|
312
|
+
event: u,
|
|
313
|
+
state: "playing",
|
|
314
|
+
tag: s,
|
|
315
|
+
mediaInstance: this
|
|
316
|
+
}), h.autoplay.stop());
|
|
311
317
|
}
|
|
312
|
-
function
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
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());
|
|
316
325
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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
|
+
}
|
|
357
|
+
});
|
|
358
|
+
return l.$$set = (u) => {
|
|
359
|
+
"tag" in u && n(0, s = u.tag), "mediaData" in u && n(1, r = u.mediaData), "inDelay" in u && n(2, m = u.inDelay), "outDelay" in u && n(3, d = u.outDelay), "duration" in u && n(4, y = u.duration), "unfolded" in u && n(5, b = u.unfolded), "animation" in u && n(6, A = u.animation), "mediaItemConfig" in u && n(7, H = u.mediaItemConfig), "enableCarousel" in u && n(19, P = u.enableCarousel), "autoplayConfig" in u && n(8, k = u.autoplayConfig);
|
|
360
|
+
}, l.$$.update = () => {
|
|
361
|
+
l.$$.dirty & 524290 && n(12, e = P && (r == null ? void 0 : r.length) > 1), l.$$.dirty & 2 && n(10, i = r), l.$$.dirty & 1280 && n(13, o = i.length > 1 && k.autoplay), l.$$.dirty & 512 && h && h.slides.forEach((u) => {
|
|
362
|
+
const p = u.querySelector("video");
|
|
363
|
+
p && w.subscribe(({ currentMediaElement: v }) => {
|
|
364
|
+
v !== p && p.pause();
|
|
365
|
+
});
|
|
366
|
+
});
|
|
325
367
|
}, [
|
|
326
|
-
u,
|
|
327
|
-
o,
|
|
328
|
-
m,
|
|
329
|
-
p,
|
|
330
368
|
s,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
369
|
+
r,
|
|
370
|
+
m,
|
|
371
|
+
d,
|
|
334
372
|
y,
|
|
335
|
-
|
|
373
|
+
b,
|
|
374
|
+
A,
|
|
375
|
+
H,
|
|
376
|
+
k,
|
|
336
377
|
h,
|
|
337
378
|
i,
|
|
379
|
+
B,
|
|
380
|
+
e,
|
|
381
|
+
o,
|
|
338
382
|
a,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
383
|
+
w,
|
|
384
|
+
C,
|
|
385
|
+
V,
|
|
386
|
+
q,
|
|
387
|
+
P,
|
|
388
|
+
te,
|
|
389
|
+
ie
|
|
345
390
|
];
|
|
346
391
|
}
|
|
347
|
-
class
|
|
392
|
+
class We extends ae {
|
|
348
393
|
constructor(t) {
|
|
349
|
-
super(),
|
|
394
|
+
super(), le(
|
|
350
395
|
this,
|
|
351
396
|
t,
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
397
|
+
Ie,
|
|
398
|
+
Ee,
|
|
399
|
+
oe,
|
|
355
400
|
{
|
|
356
401
|
tag: 0,
|
|
357
402
|
mediaData: 1,
|
|
@@ -361,13 +406,13 @@ class it extends X {
|
|
|
361
406
|
unfolded: 5,
|
|
362
407
|
animation: 6,
|
|
363
408
|
mediaItemConfig: 7,
|
|
364
|
-
enableCarousel:
|
|
365
|
-
autoplayConfig:
|
|
409
|
+
enableCarousel: 19,
|
|
410
|
+
autoplayConfig: 8
|
|
366
411
|
},
|
|
367
|
-
|
|
412
|
+
be
|
|
368
413
|
);
|
|
369
414
|
}
|
|
370
415
|
}
|
|
371
416
|
export {
|
|
372
|
-
|
|
417
|
+
We as default
|
|
373
418
|
};
|