@realsee/dnalogel 2.2.5 → 2.2.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/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/dist/index.cjs.js +17 -17
- package/dist/index.js +849 -887
- package/dist/index.umd.js +17 -17
- package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/docs/assets/main.js +1 -1
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- 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 +12 -12
- 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/LinkType.html +7 -7
- 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 +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- 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/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- 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/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.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 +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- 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 +11 -11
- 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/PointJson.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/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- 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/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.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/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
- 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/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/PointTag.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/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.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/CSS3DRenderPlugin/CSS3DRender.js +39 -33
- package/libs/CSS3DRenderPlugin/Controller.js +30 -22
- package/libs/CSS3DRenderPlugin/index.js +12 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
- package/libs/CameraMovementPlugin/index.js +13 -0
- package/libs/CruisePlugin/Controller.js +52 -41
- package/libs/CruisePlugin/index.js +26 -3
- package/libs/CruisePlugin/typing.js +1 -0
- package/libs/GuideLinePlugin/Controller.js +14 -9
- package/libs/GuideLinePlugin/index.js +14 -3
- package/libs/GuideLinePlugin/typing.js +1 -0
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
- package/libs/ItemLabelPlugin/Plugin.js +33 -23
- package/libs/ItemLabelPlugin/events.type.js +1 -0
- package/libs/ItemLabelPlugin/index.js +16 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +3 -2
- package/libs/ModelChassisCompassPlugin/index.js +8 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +52 -44
- package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
- package/libs/ModelItemLabelPlugin/index.js +12 -2
- package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
- package/libs/ModelRoomLabelPlugin/index.js +10 -3
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
- package/libs/ModelTVVideoPlugin/index.js +17 -0
- package/libs/ModelViewPlugin/Plugin.js +2 -1
- package/libs/ModelViewPlugin/index.js +6 -0
- package/libs/Object3DHelperPlugin/Controller.js +48 -27
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
- package/libs/Object3DHelperPlugin/index.js +40 -3
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoCompassPlugin/Controller.js +25 -13
- package/libs/PanoCompassPlugin/index.js +23 -3
- package/libs/PanoCompassPlugin/typings.js +1 -0
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
- package/libs/PanoDoorLabelPlugin/index.js +12 -2
- package/libs/PanoDoorLabelPlugin/typings.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +56 -5
- package/libs/PanoRulerPlugin/Plugin.js +22 -17
- package/libs/PanoRulerPlugin/index.js +9 -0
- package/libs/PanoRulerPlugin/style.js +1 -1
- package/libs/PanoRulerPlugin/typings.js +1 -0
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
- package/libs/PanoRulerProPlugin/index.js +16 -3
- package/libs/PanoRulerProPlugin/typings.js +1 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -42
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
- package/libs/PanoSpatialTagPlugin/index.js +20 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +92 -100
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +13 -15
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +26 -28
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +12 -13
- package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +24 -32
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -83
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +48 -59
- package/libs/PanoTagPlugin/Components/Tag/index.js +75 -104
- package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
- package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
- package/libs/PanoTagPlugin/controller/index.js +2 -2
- package/libs/PanoTagPlugin/index.js +82 -3
- package/libs/PanoTagPlugin/tag.config.js +2 -1
- package/libs/floorplan/Components/BaseImage.js +7 -7
- package/libs/floorplan/Components/Camera.js +24 -24
- package/libs/floorplan/Components/Compass.js +3 -3
- package/libs/floorplan/Components/CurrentFloor.js +47 -56
- package/libs/floorplan/Components/Main.js +80 -99
- package/libs/floorplan/Components/Normalmage.js +5 -5
- package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +32 -32
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -54
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +15 -15
- package/libs/floorplan/Components/SvgImage.js +12 -12
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
- package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +38 -38
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +71 -80
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/typings/index.js +1 -0
- package/libs/index.js +34 -34
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
- package/libs/vendor/svelte/internal/index.js +151 -152
- package/package.json +17 -18
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { SvelteComponent as fe, init as de, safe_not_equal as ce, append_styles as ge, element as p, create_component as ue, space as
|
|
2
|
-
import ke from "../Common/Shadow.js";
|
|
3
|
-
import "../../../vendor/svelte/transition/index.js";
|
|
4
|
-
import "../../../vendor/svelte/easing/index.js";
|
|
1
|
+
import { SvelteComponent as fe, init as de, safe_not_equal as ce, append_styles as ge, element as p, create_component as ue, space as A, text as D, attr as g, set_style as R, src_url_equal as W, toggle_class as Y, insert as S, mount_component as be, append as f, set_data as E, transition_in as he, transition_out as ve, detach as T, destroy_component as pe, destroy_each as j, empty as me } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Shadow as ke } from "../Common/Shadow.js";
|
|
5
3
|
function ye(i) {
|
|
6
4
|
ge(i, "svelte-8mby9k", ".svelte-8mby9k.svelte-8mby9k{box-sizing:border-box}.marketing.svelte-8mby9k.svelte-8mby9k{transform:translateY(-100%)}.content.svelte-8mby9k .headerImage.svelte-8mby9k{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.line.svelte-8mby9k.svelte-8mby9k{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.content.svelte-8mby9k.svelte-8mby9k{background-color:white;position:relative;display:flex;flex-direction:column;min-width:11.125rem;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;border-radius:0.25rem;top:-1.875rem;left:-1rem;padding:0.5rem 0rem 0.5625rem;transition:all 500ms}.title.svelte-8mby9k.svelte-8mby9k{position:absolute;background-color:white;border-radius:0.25rem;width:100%;top:0.5rem;padding-left:0.75rem;padding-right:0.75rem}.title.svelte-8mby9k .text.svelte-8mby9k{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem;color:#000}.footer.svelte-8mby9k.svelte-8mby9k{position:relative;padding-left:0.75rem;padding-right:0.75rem;width:100%;height:1.375rem;display:flex;align-items:center}.footer.svelte-8mby9k .goto-button.svelte-8mby9k{flex-shrink:0;white-space:nowrap;background-image:linear-gradient(to right, rgba(87, 144, 253, 1) 0, rgba(42, 114, 254, 1) 100%);color:#fff;font-size:0.625rem;border-radius:0.875rem;font-weight:bold;padding-left:0.5rem;padding-right:0.5rem;height:1.25rem;margin-left:auto;display:flex;align-items:center}.footer.svelte-8mby9k .goto-icon.svelte-8mby9k::after{content:'';display:inline-block;width:0.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMAFNO2pYt4bErz8uP6ysawgVtBPDcR5C4s2L6ZmJBzZGJXUyEeDws/0G2zAAAAkklEQVQ4y+3TRw6DMBAF0OAeJ3QCpCe0uf8NwRILLBYfiS1/aT3JoymnI+sERZ5VCH0iVto3QDfBLmeSSMUTogRV9bBEpJAKaYpGijn13aTSLeraeG9D0NZFZv4/rRL5FDHnITlllqjv6tykWsmX4JHr05y7j6oFKq2P8He48B0tAM0EY0EDxquClw6vLz6EI35GmwwSZpe+WOgAAAAASUVORK5CYII=);background-size:100% auto;background-repeat:no-repeat}.price.svelte-8mby9k.svelte-8mby9k{flex-shrink:0;margin-right:0.75rem;white-space:nowrap;color:#ff6600;display:flex;align-items:baseline}.price.svelte-8mby9k .value.svelte-8mby9k{position:relative;top:0.0625rem;font-size:1.125rem;line-height:1.375rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.price.svelte-8mby9k .unit.svelte-8mby9k{padding-left:0.125rem;font-size:0.625rem}.tag.svelte-8mby9k.svelte-8mby9k{position:relative;background-color:white;display:flex;width:-moz-max-content;width:max-content;padding-left:0.75rem;padding-right:0.75rem;min-height:1.75rem}.tag.svelte-8mby9k .base-tag.svelte-8mby9k{height:1rem;margin-top:1.375rem;margin-bottom:0.5rem;margin-right:0.25rem;font-size:0.625rem;line-height:0.875rem;padding:0.0625rem 0.25rem;border-radius:0.125rem;overflow:hidden}.tag.svelte-8mby9k .primary-tag.svelte-8mby9k{background:#e5eefe;color:#0055ff}.tag.svelte-8mby9k .secondary-tag.svelte-8mby9k{background:rgba(255, 102, 0, 0.08);color:rgba(255, 102, 0, 1)}.unfolded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 1)}.folded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.unfolded.svelte-8mby9k .content.svelte-8mby9k{opacity:1}.folded.svelte-8mby9k .content.svelte-8mby9k{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}");
|
|
7
5
|
}
|
|
@@ -20,13 +18,13 @@ function ee(i) {
|
|
|
20
18
|
t = p("div"), l = D(e), g(t, "class", "base-tag primary-tag svelte-8mby9k");
|
|
21
19
|
},
|
|
22
20
|
m(n, s) {
|
|
23
|
-
|
|
21
|
+
S(n, t, s), f(t, l);
|
|
24
22
|
},
|
|
25
23
|
p(n, s) {
|
|
26
24
|
s & 4 && e !== (e = n[0] + "") && E(l, e);
|
|
27
25
|
},
|
|
28
26
|
d(n) {
|
|
29
|
-
n &&
|
|
27
|
+
n && T(t);
|
|
30
28
|
}
|
|
31
29
|
};
|
|
32
30
|
}
|
|
@@ -37,13 +35,13 @@ function te(i) {
|
|
|
37
35
|
e && e.c(), t = me();
|
|
38
36
|
},
|
|
39
37
|
m(l, n) {
|
|
40
|
-
e && e.m(l, n),
|
|
38
|
+
e && e.m(l, n), S(l, t, n);
|
|
41
39
|
},
|
|
42
40
|
p(l, n) {
|
|
43
41
|
l[0] ? e ? e.p(l, n) : (e = ee(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
44
42
|
},
|
|
45
43
|
d(l) {
|
|
46
|
-
e && e.d(l), l &&
|
|
44
|
+
e && e.d(l), l && T(t);
|
|
47
45
|
}
|
|
48
46
|
};
|
|
49
47
|
}
|
|
@@ -54,13 +52,13 @@ function le(i) {
|
|
|
54
52
|
t = p("div"), l = D(e), g(t, "class", "base-tag secondary-tag svelte-8mby9k");
|
|
55
53
|
},
|
|
56
54
|
m(n, s) {
|
|
57
|
-
|
|
55
|
+
S(n, t, s), f(t, l);
|
|
58
56
|
},
|
|
59
57
|
p(n, s) {
|
|
60
58
|
s & 4 && e !== (e = n[0] + "") && E(l, e);
|
|
61
59
|
},
|
|
62
60
|
d(n) {
|
|
63
|
-
n &&
|
|
61
|
+
n && T(t);
|
|
64
62
|
}
|
|
65
63
|
};
|
|
66
64
|
}
|
|
@@ -71,30 +69,30 @@ function ie(i) {
|
|
|
71
69
|
e && e.c(), t = me();
|
|
72
70
|
},
|
|
73
71
|
m(l, n) {
|
|
74
|
-
e && e.m(l, n),
|
|
72
|
+
e && e.m(l, n), S(l, t, n);
|
|
75
73
|
},
|
|
76
74
|
p(l, n) {
|
|
77
75
|
l[0] ? e ? e.p(l, n) : (e = le(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
78
76
|
},
|
|
79
77
|
d(l) {
|
|
80
|
-
e && e.d(l), l &&
|
|
78
|
+
e && e.d(l), l && T(t);
|
|
81
79
|
}
|
|
82
80
|
};
|
|
83
81
|
}
|
|
84
82
|
function ne(i) {
|
|
85
|
-
let t, e, l = i[2].price.value + "", n, s,
|
|
83
|
+
let t, e, l = i[2].price.value + "", n, s, o = i[2].price.unit && re(i);
|
|
86
84
|
return {
|
|
87
85
|
c() {
|
|
88
|
-
t = p("div"), e = p("span"), n = D(l), s =
|
|
86
|
+
t = p("div"), e = p("span"), n = D(l), s = A(), o && o.c(), g(e, "class", "value svelte-8mby9k"), g(t, "class", "price svelte-8mby9k");
|
|
89
87
|
},
|
|
90
88
|
m(m, k) {
|
|
91
|
-
|
|
89
|
+
S(m, t, k), f(t, e), f(e, n), f(t, s), o && o.m(t, null);
|
|
92
90
|
},
|
|
93
91
|
p(m, k) {
|
|
94
|
-
k & 4 && l !== (l = m[2].price.value + "") && E(n, l), m[2].price.unit ?
|
|
92
|
+
k & 4 && l !== (l = m[2].price.value + "") && E(n, l), m[2].price.unit ? o ? o.p(m, k) : (o = re(m), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
95
93
|
},
|
|
96
94
|
d(m) {
|
|
97
|
-
m &&
|
|
95
|
+
m && T(t), o && o.d();
|
|
98
96
|
}
|
|
99
97
|
};
|
|
100
98
|
}
|
|
@@ -105,36 +103,36 @@ function re(i) {
|
|
|
105
103
|
t = p("span"), l = D(e), g(t, "class", "unit svelte-8mby9k");
|
|
106
104
|
},
|
|
107
105
|
m(n, s) {
|
|
108
|
-
|
|
106
|
+
S(n, t, s), f(t, l);
|
|
109
107
|
},
|
|
110
108
|
p(n, s) {
|
|
111
109
|
s & 4 && e !== (e = n[2].price.unit + "") && E(l, e);
|
|
112
110
|
},
|
|
113
111
|
d(n) {
|
|
114
|
-
n &&
|
|
112
|
+
n && T(t);
|
|
115
113
|
}
|
|
116
114
|
};
|
|
117
115
|
}
|
|
118
|
-
function
|
|
116
|
+
function oe(i) {
|
|
119
117
|
let t, e = i[2].highlightText + "", l;
|
|
120
118
|
return {
|
|
121
119
|
c() {
|
|
122
120
|
t = p("div"), l = D(e), g(t, "class", "goto-button goto-icon svelte-8mby9k");
|
|
123
121
|
},
|
|
124
122
|
m(n, s) {
|
|
125
|
-
|
|
123
|
+
S(n, t, s), f(t, l);
|
|
126
124
|
},
|
|
127
125
|
p(n, s) {
|
|
128
126
|
s & 4 && e !== (e = n[2].highlightText + "") && E(l, e);
|
|
129
127
|
},
|
|
130
128
|
d(n) {
|
|
131
|
-
n &&
|
|
129
|
+
n && T(t);
|
|
132
130
|
}
|
|
133
131
|
};
|
|
134
132
|
}
|
|
135
133
|
function _e(i) {
|
|
136
134
|
var O, Z;
|
|
137
|
-
let t, e, l, n, s,
|
|
135
|
+
let t, e, l, n, s, o, m, k, M, _, q, P, B, I, U = i[2].title + "", F, N, y, J, w;
|
|
138
136
|
e = new ke({
|
|
139
137
|
props: {
|
|
140
138
|
visible: i[1],
|
|
@@ -151,110 +149,80 @@ function _e(i) {
|
|
|
151
149
|
let C = i[2].tags || [], b = [];
|
|
152
150
|
for (let r = 0; r < C.length; r += 1)
|
|
153
151
|
b[r] = ie($(i, C, r));
|
|
154
|
-
let h = ((O = i[2].price) == null ? void 0 : O.value) !== void 0 && ((Z = i[2].price) == null ? void 0 : Z.value) !== null && ne(i), v = i[2].highlightText &&
|
|
152
|
+
let h = ((O = i[2].price) == null ? void 0 : O.value) !== void 0 && ((Z = i[2].price) == null ? void 0 : Z.value) !== null && ne(i), v = i[2].highlightText && oe(i);
|
|
155
153
|
return {
|
|
156
154
|
c() {
|
|
157
155
|
var r, d;
|
|
158
|
-
t = p("div"), ue(e.$$.fragment), l =
|
|
156
|
+
t = p("div"), ue(e.$$.fragment), l = A(), n = p("div"), s = A(), o = p("div"), m = p("img"), M = A(), _ = p("div");
|
|
159
157
|
for (let c = 0; c < u.length; c += 1)
|
|
160
158
|
u[c].c();
|
|
161
|
-
q =
|
|
159
|
+
q = A();
|
|
162
160
|
for (let c = 0; c < b.length; c += 1)
|
|
163
161
|
b[c].c();
|
|
164
|
-
P =
|
|
165
|
-
n,
|
|
166
|
-
"transition-delay",
|
|
167
|
-
i[1] ? L + "ms" : V + se - oe - 40 + "ms",
|
|
168
|
-
!1
|
|
169
|
-
), g(m, "class", "headerImage svelte-8mby9k"), W(m.src, k = i[2].headerPictureUrl) || g(m, "src", k), g(m, "alt", ""), g(_, "class", "tag svelte-8mby9k"), g(I, "class", "text svelte-8mby9k"), g(B, "class", "title svelte-8mby9k"), g(y, "class", "footer svelte-8mby9k"), R(
|
|
170
|
-
y,
|
|
171
|
-
"height",
|
|
172
|
-
((r = i[2].price) == null ? void 0 : r.value) !== void 0 && ((d = i[2].price) == null ? void 0 : d.value) !== null && i[2].highlightText ? void 0 : "1rem",
|
|
173
|
-
!1
|
|
174
|
-
), g(a, "class", "content svelte-8mby9k"), R(
|
|
175
|
-
a,
|
|
176
|
-
"transition-delay",
|
|
177
|
-
i[1] ? L + V + "ms" : "0ms",
|
|
178
|
-
!1
|
|
179
|
-
), g(t, "class", "marketing svelte-8mby9k"), Y(t, "unfolded", i[1]), Y(t, "folded", i[3]);
|
|
162
|
+
P = A(), B = p("div"), I = p("div"), F = D(U), N = A(), y = p("div"), h && h.c(), J = A(), v && v.c(), g(n, "class", "line svelte-8mby9k"), R(n, "transition-delay", i[1] ? L + "ms" : V + se - ae - 40 + "ms"), g(m, "class", "headerImage svelte-8mby9k"), W(m.src, k = i[2].headerPictureUrl) || g(m, "src", k), g(m, "alt", ""), g(_, "class", "tag svelte-8mby9k"), g(I, "class", "text svelte-8mby9k"), g(B, "class", "title svelte-8mby9k"), g(y, "class", "footer svelte-8mby9k"), R(y, "height", ((r = i[2].price) == null ? void 0 : r.value) !== void 0 && ((d = i[2].price) == null ? void 0 : d.value) !== null && i[2].highlightText ? void 0 : "1rem"), g(o, "class", "content svelte-8mby9k"), R(o, "transition-delay", i[1] ? L + V + "ms" : "0ms"), g(t, "class", "marketing svelte-8mby9k"), Y(t, "unfolded", i[1]), Y(t, "folded", i[3]);
|
|
180
163
|
},
|
|
181
164
|
m(r, d) {
|
|
182
|
-
|
|
165
|
+
S(r, t, d), be(e, t, null), f(t, l), f(t, n), f(t, s), f(t, o), f(o, m), f(o, M), f(o, _);
|
|
183
166
|
for (let c = 0; c < u.length; c += 1)
|
|
184
167
|
u[c].m(_, null);
|
|
185
168
|
f(_, q);
|
|
186
169
|
for (let c = 0; c < b.length; c += 1)
|
|
187
170
|
b[c].m(_, null);
|
|
188
|
-
f(
|
|
171
|
+
f(o, P), f(o, B), f(B, I), f(I, F), f(o, N), f(o, y), h && h.m(y, null), f(y, J), v && v.m(y, null), w = !0;
|
|
189
172
|
},
|
|
190
173
|
p(r, [d]) {
|
|
191
174
|
var Q, X, H, K;
|
|
192
175
|
const c = {};
|
|
193
|
-
if (d & 2 && (c.visible = r[1]), e.$set(c), d & 2 && R(
|
|
194
|
-
n,
|
|
195
|
-
"transition-delay",
|
|
196
|
-
r[1] ? L + "ms" : V + se - oe - 40 + "ms",
|
|
197
|
-
!1
|
|
198
|
-
), (!T || d & 4 && !W(m.src, k = r[2].headerPictureUrl)) && g(m, "src", k), d & 4) {
|
|
176
|
+
if (d & 2 && (c.visible = r[1]), e.$set(c), d & 2 && R(n, "transition-delay", r[1] ? L + "ms" : V + se - ae - 40 + "ms"), (!w || d & 4 && !W(m.src, k = r[2].headerPictureUrl)) && g(m, "src", k), d & 4) {
|
|
199
177
|
z = r[2].brandTags || [];
|
|
200
|
-
let
|
|
201
|
-
for (
|
|
202
|
-
const G = x(r, z,
|
|
203
|
-
u[
|
|
178
|
+
let a;
|
|
179
|
+
for (a = 0; a < z.length; a += 1) {
|
|
180
|
+
const G = x(r, z, a);
|
|
181
|
+
u[a] ? u[a].p(G, d) : (u[a] = te(G), u[a].c(), u[a].m(_, q));
|
|
204
182
|
}
|
|
205
|
-
for (;
|
|
206
|
-
u[
|
|
183
|
+
for (; a < u.length; a += 1)
|
|
184
|
+
u[a].d(1);
|
|
207
185
|
u.length = z.length;
|
|
208
186
|
}
|
|
209
187
|
if (d & 4) {
|
|
210
188
|
C = r[2].tags || [];
|
|
211
|
-
let
|
|
212
|
-
for (
|
|
213
|
-
const G = $(r, C,
|
|
214
|
-
b[
|
|
189
|
+
let a;
|
|
190
|
+
for (a = 0; a < C.length; a += 1) {
|
|
191
|
+
const G = $(r, C, a);
|
|
192
|
+
b[a] ? b[a].p(G, d) : (b[a] = ie(G), b[a].c(), b[a].m(_, null));
|
|
215
193
|
}
|
|
216
|
-
for (;
|
|
217
|
-
b[
|
|
194
|
+
for (; a < b.length; a += 1)
|
|
195
|
+
b[a].d(1);
|
|
218
196
|
b.length = C.length;
|
|
219
197
|
}
|
|
220
|
-
(!
|
|
221
|
-
y,
|
|
222
|
-
"height",
|
|
223
|
-
((H = r[2].price) == null ? void 0 : H.value) !== void 0 && ((K = r[2].price) == null ? void 0 : K.value) !== null && r[2].highlightText ? void 0 : "1rem",
|
|
224
|
-
!1
|
|
225
|
-
), d & 2 && R(
|
|
226
|
-
a,
|
|
227
|
-
"transition-delay",
|
|
228
|
-
r[1] ? L + V + "ms" : "0ms",
|
|
229
|
-
!1
|
|
230
|
-
), d & 2 && Y(t, "unfolded", r[1]), d & 8 && Y(t, "folded", r[3]);
|
|
198
|
+
(!w || d & 4) && U !== (U = r[2].title + "") && E(F, U), ((Q = r[2].price) == null ? void 0 : Q.value) !== void 0 && ((X = r[2].price) == null ? void 0 : X.value) !== null ? h ? h.p(r, d) : (h = ne(r), h.c(), h.m(y, J)) : h && (h.d(1), h = null), r[2].highlightText ? v ? v.p(r, d) : (v = oe(r), v.c(), v.m(y, null)) : v && (v.d(1), v = null), d & 4 && R(y, "height", ((H = r[2].price) == null ? void 0 : H.value) !== void 0 && ((K = r[2].price) == null ? void 0 : K.value) !== null && r[2].highlightText ? void 0 : "1rem"), d & 2 && R(o, "transition-delay", r[1] ? L + V + "ms" : "0ms"), (!w || d & 2) && Y(t, "unfolded", r[1]), (!w || d & 8) && Y(t, "folded", r[3]);
|
|
231
199
|
},
|
|
232
200
|
i(r) {
|
|
233
|
-
|
|
201
|
+
w || (he(e.$$.fragment, r), w = !0);
|
|
234
202
|
},
|
|
235
203
|
o(r) {
|
|
236
|
-
ve(e.$$.fragment, r),
|
|
204
|
+
ve(e.$$.fragment, r), w = !1;
|
|
237
205
|
},
|
|
238
206
|
d(r) {
|
|
239
|
-
r &&
|
|
207
|
+
r && T(t), pe(e), j(u, r), j(b, r), h && h.d(), v && v.d();
|
|
240
208
|
}
|
|
241
209
|
};
|
|
242
210
|
}
|
|
243
|
-
const L = 400,
|
|
211
|
+
const L = 400, ae = 500, V = 180, se = 500;
|
|
244
212
|
function we(i, t, e) {
|
|
245
|
-
let l, n, s, { tag:
|
|
213
|
+
let l, n, s, { tag: o } = t;
|
|
246
214
|
return i.$$set = (m) => {
|
|
247
|
-
"tag" in m && e(0,
|
|
215
|
+
"tag" in m && e(0, o = m.tag);
|
|
248
216
|
}, i.$$.update = () => {
|
|
249
217
|
var m, k;
|
|
250
|
-
i.$$.dirty & 1 && e(1, l = (k = (m =
|
|
251
|
-
}, [
|
|
218
|
+
i.$$.dirty & 1 && e(1, l = (k = (m = o.state) == null ? void 0 : m.unfolded) != null ? k : !1), i.$$.dirty & 2 && e(3, n = !l), i.$$.dirty & 1 && e(2, s = o.data);
|
|
219
|
+
}, [o, l, s, n];
|
|
252
220
|
}
|
|
253
|
-
class
|
|
221
|
+
class Te extends fe {
|
|
254
222
|
constructor(t) {
|
|
255
223
|
super(), de(this, t, we, _e, ce, { tag: 0 }, ye);
|
|
256
224
|
}
|
|
257
225
|
}
|
|
258
226
|
export {
|
|
259
|
-
|
|
227
|
+
Te as MarketingTag
|
|
260
228
|
};
|
|
@@ -1,36 +1,18 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as y, safe_not_equal as b, append_styles as h, empty as w, insert as
|
|
2
|
-
import N from "../Common/Media.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "../../../vendor/swiper/svelte/swiper.js";
|
|
6
|
-
import "swiper";
|
|
7
|
-
import "../../../vendor/swiper/components-shared/get-params.js";
|
|
8
|
-
import "../../../vendor/swiper/components-shared/utils.js";
|
|
9
|
-
import "../../../vendor/swiper/components-shared/params-list.js";
|
|
10
|
-
import "../../../vendor/swiper/components-shared/mount-swiper.js";
|
|
11
|
-
import "../../../vendor/swiper/components-shared/get-changed-params.js";
|
|
12
|
-
import "../../../vendor/swiper/components-shared/update-swiper.js";
|
|
13
|
-
import "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
14
|
-
import "swiper/css";
|
|
15
|
-
import "swiper/css/autoplay";
|
|
16
|
-
import "three";
|
|
17
|
-
import "../../utils/noTypecheck.js";
|
|
18
|
-
import "../Common/MediaItem.js";
|
|
19
|
-
import "../../Assets/Icon.js";
|
|
20
|
-
import "../../../shared-utils/isNil.js";
|
|
21
|
-
function P(o) {
|
|
22
|
-
h(o, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
1
|
+
import { SvelteComponent as g, init as y, safe_not_equal as b, append_styles as h, empty as w, insert as m, transition_in as f, group_outros as C, transition_out as d, check_outros as D, detach as _, element as j, create_component as k, attr as F, mount_component as M, destroy_component as v } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Media as N } from "../Common/Media.js";
|
|
3
|
+
function P(a) {
|
|
4
|
+
h(a, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
23
5
|
}
|
|
24
|
-
function
|
|
25
|
-
let
|
|
26
|
-
return
|
|
6
|
+
function c(a) {
|
|
7
|
+
let i, n, t;
|
|
8
|
+
return n = new N({
|
|
27
9
|
props: {
|
|
28
|
-
unfolded:
|
|
29
|
-
mediaData:
|
|
30
|
-
objectFit:
|
|
31
|
-
enableCarousel:
|
|
32
|
-
autoplayConfig:
|
|
33
|
-
tag:
|
|
10
|
+
unfolded: a[5],
|
|
11
|
+
mediaData: a[4],
|
|
12
|
+
objectFit: a[2],
|
|
13
|
+
enableCarousel: a[1],
|
|
14
|
+
autoplayConfig: a[3],
|
|
15
|
+
tag: a[0],
|
|
34
16
|
canPlay: !0,
|
|
35
17
|
playButtonIfNeed: "large",
|
|
36
18
|
inDelay: 500,
|
|
@@ -38,68 +20,68 @@ function s(o) {
|
|
|
38
20
|
}
|
|
39
21
|
}), {
|
|
40
22
|
c() {
|
|
41
|
-
|
|
23
|
+
i = j("div"), k(n.$$.fragment), F(i, "class", "media-wrapper svelte-10cw0el");
|
|
42
24
|
},
|
|
43
|
-
m(
|
|
44
|
-
|
|
25
|
+
m(e, o) {
|
|
26
|
+
m(e, i, o), M(n, i, null), t = !0;
|
|
45
27
|
},
|
|
46
|
-
p(
|
|
47
|
-
const
|
|
48
|
-
|
|
28
|
+
p(e, o) {
|
|
29
|
+
const r = {};
|
|
30
|
+
o & 32 && (r.unfolded = e[5]), o & 16 && (r.mediaData = e[4]), o & 4 && (r.objectFit = e[2]), o & 2 && (r.enableCarousel = e[1]), o & 8 && (r.autoplayConfig = e[3]), o & 1 && (r.tag = e[0]), n.$set(r);
|
|
49
31
|
},
|
|
50
|
-
i(
|
|
51
|
-
|
|
32
|
+
i(e) {
|
|
33
|
+
t || (f(n.$$.fragment, e), t = !0);
|
|
52
34
|
},
|
|
53
|
-
o(
|
|
54
|
-
|
|
35
|
+
o(e) {
|
|
36
|
+
d(n.$$.fragment, e), t = !1;
|
|
55
37
|
},
|
|
56
|
-
d(
|
|
57
|
-
|
|
38
|
+
d(e) {
|
|
39
|
+
e && _(i), v(n);
|
|
58
40
|
}
|
|
59
41
|
};
|
|
60
42
|
}
|
|
61
|
-
function q(
|
|
62
|
-
let
|
|
43
|
+
function q(a) {
|
|
44
|
+
let i, n, t = a[0].state && a[4] && c(a);
|
|
63
45
|
return {
|
|
64
46
|
c() {
|
|
65
|
-
|
|
47
|
+
t && t.c(), i = w();
|
|
66
48
|
},
|
|
67
|
-
m(
|
|
68
|
-
|
|
49
|
+
m(e, o) {
|
|
50
|
+
t && t.m(e, o), m(e, i, o), n = !0;
|
|
69
51
|
},
|
|
70
|
-
p(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}),
|
|
52
|
+
p(e, [o]) {
|
|
53
|
+
e[0].state && e[4] ? t ? (t.p(e, o), o & 17 && f(t, 1)) : (t = c(e), t.c(), f(t, 1), t.m(i.parentNode, i)) : t && (C(), d(t, 1, 1, () => {
|
|
54
|
+
t = null;
|
|
55
|
+
}), D());
|
|
74
56
|
},
|
|
75
|
-
i(
|
|
76
|
-
|
|
57
|
+
i(e) {
|
|
58
|
+
n || (f(t), n = !0);
|
|
77
59
|
},
|
|
78
|
-
o(
|
|
79
|
-
|
|
60
|
+
o(e) {
|
|
61
|
+
d(t), n = !1;
|
|
80
62
|
},
|
|
81
|
-
d(
|
|
82
|
-
|
|
63
|
+
d(e) {
|
|
64
|
+
t && t.d(e), e && _(i);
|
|
83
65
|
}
|
|
84
66
|
};
|
|
85
67
|
}
|
|
86
|
-
function B(
|
|
87
|
-
let
|
|
88
|
-
return
|
|
89
|
-
"tag" in
|
|
90
|
-
},
|
|
91
|
-
var
|
|
92
|
-
|
|
93
|
-
autoplay:
|
|
68
|
+
function B(a, i, n) {
|
|
69
|
+
let t, e, o, r, s, { tag: l } = i;
|
|
70
|
+
return a.$$set = (u) => {
|
|
71
|
+
"tag" in u && n(0, l = u.tag);
|
|
72
|
+
}, a.$$.update = () => {
|
|
73
|
+
var u, p;
|
|
74
|
+
a.$$.dirty & 1 && n(5, t = l.state ? l.state.unfolded : !1), a.$$.dirty & 1 && n(4, e = l.data.mediaData), a.$$.dirty & 1 && n(1, o = l.data.enableCarousel), a.$$.dirty & 3 && n(3, r = (u = l.data.autoplayConfig) != null ? u : {
|
|
75
|
+
autoplay: o != null ? o : !0,
|
|
94
76
|
autoplayVideo: !0
|
|
95
|
-
}),
|
|
96
|
-
}, [l,
|
|
77
|
+
}), a.$$.dirty & 1 && n(2, s = (p = l.data.objectFit) != null ? p : (() => l.data.adaptationMode === "stretch" ? "cover" : l.data.adaptationMode === "proportional" ? "contain" : void 0)());
|
|
78
|
+
}, [l, o, s, r, e, t];
|
|
97
79
|
}
|
|
98
|
-
class
|
|
99
|
-
constructor(
|
|
100
|
-
super(), y(this,
|
|
80
|
+
class V extends g {
|
|
81
|
+
constructor(i) {
|
|
82
|
+
super(), y(this, i, B, q, b, { tag: 0 }, P);
|
|
101
83
|
}
|
|
102
84
|
}
|
|
103
85
|
export {
|
|
104
|
-
|
|
86
|
+
V as MediaPlane
|
|
105
87
|
};
|
|
@@ -1,133 +1,122 @@
|
|
|
1
|
-
import { SvelteComponent as W, init as q, safe_not_equal as C, append_styles as L, empty as N, insert as h, transition_in as p, transition_out as g, check_outros as
|
|
2
|
-
import G from "../Common/Line/Straight.js";
|
|
1
|
+
import { SvelteComponent as W, init as q, safe_not_equal as C, append_styles as L, empty as N, insert as h, transition_in as p, group_outros as j, transition_out as g, check_outros as A, detach as c, create_component as x, space as D, element as I, attr as M, set_style as S, add_render_callback as B, mount_component as $, add_resize_listener as E, listen as F, destroy_component as k } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Straight as G } from "../Common/Line/Straight.js";
|
|
3
3
|
import { uuid as H } from "../../../shared-utils/uuid.js";
|
|
4
|
-
import J from "../Common/Shadow.js";
|
|
5
|
-
import K from "../Common/MultiLineText.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "../Common/Text.js";
|
|
9
|
-
import "animejs";
|
|
10
|
-
import "../../../shared-utils/isNil.js";
|
|
11
|
-
import "three";
|
|
12
|
-
import "../../utils/search.js";
|
|
13
|
-
import "../../utils/constants.js";
|
|
14
|
-
import "../Common/Arrow.js";
|
|
15
|
-
import "../../Assets/Icon.js";
|
|
16
|
-
import "../../utils/doUtil.js";
|
|
17
|
-
function O(i) {
|
|
18
|
-
L(i, "svelte-18yy5x8", ".line.svelte-18yy5x8{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-18yy5x8{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
4
|
+
import { Shadow as J } from "../Common/Shadow.js";
|
|
5
|
+
import { MultiLineText as K } from "../Common/MultiLineText.js";
|
|
6
|
+
function O(n) {
|
|
7
|
+
L(n, "svelte-18yy5x8", ".line.svelte-18yy5x8{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-18yy5x8{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
19
8
|
}
|
|
20
|
-
function R(
|
|
9
|
+
function R(n) {
|
|
21
10
|
var u, z;
|
|
22
|
-
let o, l, e,
|
|
11
|
+
let o, l, e, i, f, s, m, d, a, _, b;
|
|
23
12
|
return o = new J({
|
|
24
13
|
props: {
|
|
25
|
-
visible:
|
|
26
|
-
left:
|
|
14
|
+
visible: n[2],
|
|
15
|
+
left: n[3] / 2 + "px",
|
|
27
16
|
bottom: 12,
|
|
28
17
|
width: 2,
|
|
29
18
|
blurRadius: 120,
|
|
30
19
|
spreadRadius: 60
|
|
31
20
|
}
|
|
32
|
-
}),
|
|
21
|
+
}), i = new G({
|
|
33
22
|
props: {
|
|
34
|
-
unfolded:
|
|
23
|
+
unfolded: n[2],
|
|
35
24
|
duration: 1e3,
|
|
36
|
-
outDelay:
|
|
25
|
+
outDelay: n[5] + 40 * Math.min((z = (u = n[4][0]) == null ? void 0 : u.content.length) != null ? z : 10, 15)
|
|
37
26
|
}
|
|
38
27
|
}), m = new K({
|
|
39
28
|
props: {
|
|
40
|
-
visible:
|
|
41
|
-
textUnfolded:
|
|
42
|
-
textItems:
|
|
29
|
+
visible: n[2],
|
|
30
|
+
textUnfolded: n[1],
|
|
31
|
+
textItems: n[4]
|
|
43
32
|
}
|
|
44
33
|
}), {
|
|
45
34
|
c() {
|
|
46
|
-
x(o.$$.fragment), l = D(), e = I("div"), x(
|
|
35
|
+
x(o.$$.fragment), l = D(), e = I("div"), x(i.$$.fragment), f = D(), s = I("div"), x(m.$$.fragment), M(e, "class", "line svelte-18yy5x8"), S(e, "width", n[3] + "px"), M(s, "class", "content svelte-18yy5x8"), B(() => n[8].call(s));
|
|
47
36
|
},
|
|
48
|
-
m(t,
|
|
49
|
-
$(o, t,
|
|
37
|
+
m(t, r) {
|
|
38
|
+
$(o, t, r), h(t, l, r), h(t, e, r), $(i, e, null), h(t, f, r), h(t, s, r), $(m, s, null), d = E(s, n[8].bind(s)), a = !0, _ || (b = F(s, "click", n[6]), _ = !0);
|
|
50
39
|
},
|
|
51
|
-
p(t,
|
|
40
|
+
p(t, r) {
|
|
52
41
|
var T, U;
|
|
53
42
|
const y = {};
|
|
54
|
-
|
|
43
|
+
r & 4 && (y.visible = t[2]), r & 8 && (y.left = t[3] / 2 + "px"), o.$set(y);
|
|
55
44
|
const v = {};
|
|
56
|
-
|
|
45
|
+
r & 4 && (v.unfolded = t[2]), r & 48 && (v.outDelay = t[5] + 40 * Math.min((U = (T = t[4][0]) == null ? void 0 : T.content.length) != null ? U : 10, 15)), i.$set(v), r & 8 && S(e, "width", t[3] + "px");
|
|
57
46
|
const w = {};
|
|
58
|
-
|
|
47
|
+
r & 4 && (w.visible = t[2]), r & 2 && (w.textUnfolded = t[1]), r & 16 && (w.textItems = t[4]), m.$set(w);
|
|
59
48
|
},
|
|
60
49
|
i(t) {
|
|
61
|
-
a || (p(o.$$.fragment, t), p(
|
|
50
|
+
a || (p(o.$$.fragment, t), p(i.$$.fragment, t), p(m.$$.fragment, t), a = !0);
|
|
62
51
|
},
|
|
63
52
|
o(t) {
|
|
64
|
-
g(o.$$.fragment, t), g(
|
|
53
|
+
g(o.$$.fragment, t), g(i.$$.fragment, t), g(m.$$.fragment, t), a = !1;
|
|
65
54
|
},
|
|
66
55
|
d(t) {
|
|
67
|
-
k(o, t), t && c(l), t && c(e), k(
|
|
56
|
+
k(o, t), t && c(l), t && c(e), k(i), t && c(f), t && c(s), k(m), d(), _ = !1, b();
|
|
68
57
|
}
|
|
69
58
|
};
|
|
70
59
|
}
|
|
71
|
-
function P(
|
|
72
|
-
let o, l, e =
|
|
60
|
+
function P(n) {
|
|
61
|
+
let o, l, e = n[0].state && R(n);
|
|
73
62
|
return {
|
|
74
63
|
c() {
|
|
75
64
|
e && e.c(), o = N();
|
|
76
65
|
},
|
|
77
|
-
m(
|
|
78
|
-
e && e.m(
|
|
66
|
+
m(i, f) {
|
|
67
|
+
e && e.m(i, f), h(i, o, f), l = !0;
|
|
79
68
|
},
|
|
80
|
-
p(
|
|
81
|
-
|
|
69
|
+
p(i, [f]) {
|
|
70
|
+
i[0].state ? e ? (e.p(i, f), f & 1 && p(e, 1)) : (e = R(i), e.c(), p(e, 1), e.m(o.parentNode, o)) : e && (j(), g(e, 1, 1, () => {
|
|
82
71
|
e = null;
|
|
83
|
-
}),
|
|
72
|
+
}), A());
|
|
84
73
|
},
|
|
85
|
-
i(
|
|
74
|
+
i(i) {
|
|
86
75
|
l || (p(e), l = !0);
|
|
87
76
|
},
|
|
88
|
-
o(
|
|
77
|
+
o(i) {
|
|
89
78
|
g(e), l = !1;
|
|
90
79
|
},
|
|
91
|
-
d(
|
|
92
|
-
e && e.d(
|
|
80
|
+
d(i) {
|
|
81
|
+
e && e.d(i), i && c(o);
|
|
93
82
|
}
|
|
94
83
|
};
|
|
95
84
|
}
|
|
96
|
-
function Q(
|
|
97
|
-
let e,
|
|
85
|
+
function Q(n, o, l) {
|
|
86
|
+
let e, i, f, { tag: s } = o, m, d = !1, a = [];
|
|
98
87
|
function _() {
|
|
99
88
|
l(1, d = !d);
|
|
100
89
|
}
|
|
101
90
|
function b() {
|
|
102
91
|
m = this.clientWidth, l(3, m);
|
|
103
92
|
}
|
|
104
|
-
return
|
|
105
|
-
"tag" in u && l(0,
|
|
106
|
-
},
|
|
93
|
+
return n.$$set = (u) => {
|
|
94
|
+
"tag" in u && l(0, s = u.tag);
|
|
95
|
+
}, n.$$.update = () => {
|
|
107
96
|
var u;
|
|
108
|
-
|
|
97
|
+
n.$$.dirty & 1 && l(2, e = !!((u = s.state) != null && u.unfolded)), n.$$.dirty & 1 && l(7, i = s.data.text), n.$$.dirty & 128 && l(4, a = [{ id: H(), content: i }]), n.$$.dirty & 4 && (e || setTimeout(
|
|
109
98
|
() => {
|
|
110
99
|
l(1, d = !1);
|
|
111
100
|
},
|
|
112
101
|
20
|
|
113
|
-
)),
|
|
102
|
+
)), n.$$.dirty & 2 && l(5, f = d ? 450 : 0);
|
|
114
103
|
}, [
|
|
115
|
-
|
|
104
|
+
s,
|
|
116
105
|
d,
|
|
117
106
|
e,
|
|
118
107
|
m,
|
|
119
108
|
a,
|
|
120
109
|
f,
|
|
121
110
|
_,
|
|
122
|
-
|
|
111
|
+
i,
|
|
123
112
|
b
|
|
124
113
|
];
|
|
125
114
|
}
|
|
126
|
-
class
|
|
115
|
+
class te extends W {
|
|
127
116
|
constructor(o) {
|
|
128
117
|
super(), q(this, o, Q, P, C, { tag: 0 }, O);
|
|
129
118
|
}
|
|
130
119
|
}
|
|
131
120
|
export {
|
|
132
|
-
|
|
121
|
+
te as TextTag
|
|
133
122
|
};
|