@realsee/dnalogel 3.20.2 → 3.20.4
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/CruisePlugin/Move.d.ts +3 -2
- package/dist/index.cjs.js +33 -33
- package/dist/index.js +1981 -1930
- package/dist/index.umd.js +28 -28
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -32
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +42 -42
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/MoveController.html +27 -27
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +50 -50
- package/docs/classes/Util.BetterTween.html +9 -9
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +8 -8
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/classes/WalkController.html +26 -26
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +20 -20
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/CurrentPanoImagePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +4 -4
- 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/MovePlugin.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/PanoVideoPlugin.html +4 -4
- package/docs/functions/PipelinePlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -14
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -20
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -21
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/InternalHelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagContentTypeMapping.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CruisePlugin/Move.d.ts +3 -2
- package/libs/CruisePlugin/Move.js +44 -35
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +42 -38
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +155 -145
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +215 -186
- package/libs/PanoTagPlugin/controller/TagUtil.js +38 -38
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/classnames/index.js +32 -32
- package/package.json +2 -2
|
@@ -1,370 +1,398 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { Image_Play_Icon_With_Text as
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as A, init as J, safe_not_equal as R, append_styles as X, empty as D, insert as p, noop as V, detach as h, getContext as j, onMount as G, element as k, attr as r, binding_callbacks as K, space as Q, set_style as _, toggle_class as v, append as U, listen as P, src_url_equal as w, run_all as Y } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Image_Play_Icon_With_Text as Z, Image_Play_Icon as x } from "../../Assets/Icon.js";
|
|
3
|
+
function $(n) {
|
|
4
|
+
X(n, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
|
|
5
5
|
}
|
|
6
|
-
function L(
|
|
6
|
+
function L(n) {
|
|
7
7
|
let e;
|
|
8
|
-
function i(l,
|
|
8
|
+
function i(l, f) {
|
|
9
9
|
if (
|
|
10
10
|
/*media*/
|
|
11
11
|
l[2].type === "Image"
|
|
12
12
|
)
|
|
13
|
-
return
|
|
13
|
+
return te;
|
|
14
14
|
if (
|
|
15
15
|
/*media*/
|
|
16
16
|
l[2].type === "Video"
|
|
17
17
|
)
|
|
18
|
-
return
|
|
18
|
+
return ee;
|
|
19
19
|
}
|
|
20
|
-
let t = i(
|
|
20
|
+
let t = i(n), o = t && t(n);
|
|
21
21
|
return {
|
|
22
22
|
c() {
|
|
23
|
-
e =
|
|
23
|
+
e = k("div"), o && o.c(), r(e, "class", "media-item svelte-159ski6"), r(e, "draggable", "false");
|
|
24
24
|
},
|
|
25
|
-
m(l,
|
|
26
|
-
|
|
25
|
+
m(l, f) {
|
|
26
|
+
p(l, e, f), o && o.m(e, null);
|
|
27
27
|
},
|
|
28
|
-
p(l,
|
|
29
|
-
t === (t = i(l)) &&
|
|
28
|
+
p(l, f) {
|
|
29
|
+
t === (t = i(l)) && o ? o.p(l, f) : (o && o.d(1), o = t && t(l), o && (o.c(), o.m(e, null)));
|
|
30
30
|
},
|
|
31
31
|
d(l) {
|
|
32
|
-
l &&
|
|
32
|
+
l && h(e), o && o.d();
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
let e, i, t,
|
|
38
|
-
function
|
|
36
|
+
function ee(n) {
|
|
37
|
+
let e, i, t, o, l, f;
|
|
38
|
+
function a(u, c) {
|
|
39
39
|
return (
|
|
40
40
|
/*disableVideoIfHavePoster*/
|
|
41
|
-
u[
|
|
42
|
-
u[2].videoCoverUrl ?
|
|
41
|
+
u[8] && /*media*/
|
|
42
|
+
u[2].videoCoverUrl ? oe : ie
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
|
-
let d =
|
|
45
|
+
let d = a(n), m = d(n);
|
|
46
46
|
return {
|
|
47
47
|
c() {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
m.c(), e = Q(), i = k("div"), t = k("div"), o = k("div"), r(o, "class", "video-icon-img svelte-159ski6"), _(o, "background-image", "url(" + /*func*/
|
|
49
|
+
n[21]() + ")"), v(
|
|
50
|
+
o,
|
|
51
51
|
"canPlay",
|
|
52
52
|
/*canPlay*/
|
|
53
|
-
|
|
54
|
-
),
|
|
53
|
+
n[5]
|
|
54
|
+
), r(t, "class", "video-icon svelte-159ski6"), v(
|
|
55
55
|
t,
|
|
56
56
|
"large",
|
|
57
57
|
/*playButtonSizeIfNeed*/
|
|
58
|
-
|
|
58
|
+
n[4] === "large"
|
|
59
59
|
), v(
|
|
60
60
|
t,
|
|
61
61
|
"small",
|
|
62
62
|
/*playButtonSizeIfNeed*/
|
|
63
|
-
|
|
64
|
-
),
|
|
63
|
+
n[4] === "small"
|
|
64
|
+
), r(i, "class", "video-play-button-container svelte-159ski6"), v(
|
|
65
65
|
i,
|
|
66
66
|
"showPlayButton",
|
|
67
67
|
/*showPlayButton*/
|
|
68
|
-
|
|
68
|
+
n[11]
|
|
69
69
|
);
|
|
70
70
|
},
|
|
71
|
-
m(u,
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
m(u, c) {
|
|
72
|
+
m.m(u, c), p(u, e, c), p(u, i, c), U(i, t), U(t, o), l || (f = P(
|
|
73
|
+
o,
|
|
74
74
|
"click",
|
|
75
75
|
/*click_handler_1*/
|
|
76
|
-
|
|
76
|
+
n[22]
|
|
77
77
|
), l = !0);
|
|
78
78
|
},
|
|
79
|
-
p(u,
|
|
80
|
-
d === (d =
|
|
81
|
-
8 &&
|
|
82
|
-
u[
|
|
79
|
+
p(u, c) {
|
|
80
|
+
d === (d = a(u)) && m ? m.p(u, c) : (m.d(1), m = d(u), m && (m.c(), m.m(e.parentNode, e))), c & /*playButtonIfNeed*/
|
|
81
|
+
8 && _(o, "background-image", "url(" + /*func*/
|
|
82
|
+
u[21]() + ")"), c & /*canPlay*/
|
|
83
83
|
32 && v(
|
|
84
|
-
|
|
84
|
+
o,
|
|
85
85
|
"canPlay",
|
|
86
86
|
/*canPlay*/
|
|
87
87
|
u[5]
|
|
88
|
-
),
|
|
88
|
+
), c & /*playButtonSizeIfNeed*/
|
|
89
89
|
16 && v(
|
|
90
90
|
t,
|
|
91
91
|
"large",
|
|
92
92
|
/*playButtonSizeIfNeed*/
|
|
93
93
|
u[4] === "large"
|
|
94
|
-
),
|
|
94
|
+
), c & /*playButtonSizeIfNeed*/
|
|
95
95
|
16 && v(
|
|
96
96
|
t,
|
|
97
97
|
"small",
|
|
98
98
|
/*playButtonSizeIfNeed*/
|
|
99
99
|
u[4] === "small"
|
|
100
|
-
),
|
|
101
|
-
|
|
100
|
+
), c & /*showPlayButton*/
|
|
101
|
+
2048 && v(
|
|
102
102
|
i,
|
|
103
103
|
"showPlayButton",
|
|
104
104
|
/*showPlayButton*/
|
|
105
|
-
u[
|
|
105
|
+
u[11]
|
|
106
106
|
);
|
|
107
107
|
},
|
|
108
108
|
d(u) {
|
|
109
|
-
|
|
109
|
+
m.d(u), u && h(e), u && h(i), l = !1, f();
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
let e, i, t
|
|
113
|
+
function te(n) {
|
|
114
|
+
let e, i, t;
|
|
115
115
|
return {
|
|
116
116
|
c() {
|
|
117
|
-
e =
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
e = k("img"), r(e, "class", "media-content svelte-159ski6"), w(e.src, i = /*media*/
|
|
118
|
+
n[2].url) || r(e, "src", i), r(e, "alt", t = /*media*/
|
|
119
|
+
n[2].name), r(e, "draggable", !1), _(
|
|
120
|
+
e,
|
|
121
|
+
"object-fit",
|
|
122
|
+
/*objectFit*/
|
|
123
|
+
n[7]
|
|
124
|
+
);
|
|
121
125
|
},
|
|
122
|
-
m(
|
|
123
|
-
|
|
126
|
+
m(o, l) {
|
|
127
|
+
p(o, e, l);
|
|
124
128
|
},
|
|
125
|
-
p(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
4 &&
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
p(o, l) {
|
|
130
|
+
l & /*media*/
|
|
131
|
+
4 && !w(e.src, i = /*media*/
|
|
132
|
+
o[2].url) && r(e, "src", i), l & /*media*/
|
|
133
|
+
4 && t !== (t = /*media*/
|
|
134
|
+
o[2].name) && r(e, "alt", t), l & /*objectFit*/
|
|
135
|
+
128 && _(
|
|
136
|
+
e,
|
|
137
|
+
"object-fit",
|
|
138
|
+
/*objectFit*/
|
|
139
|
+
o[7]
|
|
140
|
+
);
|
|
133
141
|
},
|
|
134
|
-
d(
|
|
135
|
-
|
|
142
|
+
d(o) {
|
|
143
|
+
o && h(e);
|
|
136
144
|
}
|
|
137
145
|
};
|
|
138
146
|
}
|
|
139
|
-
function
|
|
140
|
-
let e, i, t,
|
|
147
|
+
function ie(n) {
|
|
148
|
+
let e, i, t, o, l, f;
|
|
141
149
|
return {
|
|
142
150
|
c() {
|
|
143
|
-
e =
|
|
144
|
-
|
|
145
|
-
o[2].videoCoverUrl ? (
|
|
151
|
+
e = k("video"), r(e, "class", "media-content svelte-159ski6"), w(e.src, i = /*media*/
|
|
152
|
+
n[2].videoCoverUrl ? (
|
|
146
153
|
/*media*/
|
|
147
|
-
|
|
154
|
+
n[2].url
|
|
148
155
|
) : (
|
|
149
156
|
/*media*/
|
|
150
|
-
|
|
151
|
-
)) ||
|
|
152
|
-
|
|
153
|
-
|
|
157
|
+
n[2].url + "#t=0.1"
|
|
158
|
+
)) || r(e, "src", i), r(e, "poster", t = /*media*/
|
|
159
|
+
n[2].videoCoverUrl), r(e, "preload", o = /*media*/
|
|
160
|
+
n[2].videoCoverUrl ? "none" : "auto"), r(e, "disablepictureinpicture", ""), e.playsInline = !0, r(e, "paused", ""), e.muted = !0, r(e, "draggable", !1), e.loop = !1, r(e, "crossorigin", ""), e.autoplay = /*autoplayVideo*/
|
|
161
|
+
n[6], e.controls = !1, v(
|
|
154
162
|
e,
|
|
155
163
|
"showPlayButton",
|
|
156
164
|
/*showPlayButton*/
|
|
157
|
-
|
|
165
|
+
n[11]
|
|
166
|
+
), _(
|
|
167
|
+
e,
|
|
168
|
+
"object-fit",
|
|
169
|
+
/*objectFit*/
|
|
170
|
+
n[7]
|
|
158
171
|
);
|
|
159
172
|
},
|
|
160
|
-
m(
|
|
161
|
-
|
|
162
|
-
|
|
173
|
+
m(a, d) {
|
|
174
|
+
p(a, e, d), n[20](e), l || (f = [
|
|
175
|
+
P(
|
|
163
176
|
e,
|
|
164
177
|
"play",
|
|
165
178
|
/*play_handler*/
|
|
166
|
-
|
|
179
|
+
n[15]
|
|
167
180
|
),
|
|
168
|
-
|
|
181
|
+
P(
|
|
169
182
|
e,
|
|
170
183
|
"pause",
|
|
171
184
|
/*pause_handler*/
|
|
172
|
-
|
|
185
|
+
n[16]
|
|
173
186
|
),
|
|
174
|
-
|
|
187
|
+
P(
|
|
175
188
|
e,
|
|
176
189
|
"error",
|
|
177
190
|
/*error_handler*/
|
|
178
|
-
|
|
191
|
+
n[17]
|
|
179
192
|
),
|
|
180
|
-
|
|
193
|
+
P(
|
|
181
194
|
e,
|
|
182
195
|
"ended",
|
|
183
196
|
/*ended_handler*/
|
|
184
|
-
|
|
197
|
+
n[18]
|
|
185
198
|
),
|
|
186
|
-
|
|
199
|
+
P(
|
|
187
200
|
e,
|
|
188
201
|
"click",
|
|
189
202
|
/*click_handler*/
|
|
190
|
-
|
|
203
|
+
n[19]
|
|
191
204
|
)
|
|
192
|
-
],
|
|
205
|
+
], l = !0);
|
|
193
206
|
},
|
|
194
|
-
p(
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
4 && !P(e.src, t = /*media*/
|
|
199
|
-
d[2].videoCoverUrl ? (
|
|
207
|
+
p(a, d) {
|
|
208
|
+
d & /*media*/
|
|
209
|
+
4 && !w(e.src, i = /*media*/
|
|
210
|
+
a[2].videoCoverUrl ? (
|
|
200
211
|
/*media*/
|
|
201
|
-
|
|
212
|
+
a[2].url
|
|
202
213
|
) : (
|
|
203
214
|
/*media*/
|
|
204
|
-
|
|
205
|
-
)) &&
|
|
206
|
-
4 &&
|
|
207
|
-
|
|
208
|
-
4 &&
|
|
209
|
-
|
|
210
|
-
|
|
215
|
+
a[2].url + "#t=0.1"
|
|
216
|
+
)) && r(e, "src", i), d & /*media*/
|
|
217
|
+
4 && t !== (t = /*media*/
|
|
218
|
+
a[2].videoCoverUrl) && r(e, "poster", t), d & /*media*/
|
|
219
|
+
4 && o !== (o = /*media*/
|
|
220
|
+
a[2].videoCoverUrl ? "none" : "auto") && r(e, "preload", o), d & /*autoplayVideo*/
|
|
221
|
+
64 && (e.autoplay = /*autoplayVideo*/
|
|
222
|
+
a[6]), d & /*showPlayButton*/
|
|
223
|
+
2048 && v(
|
|
211
224
|
e,
|
|
212
225
|
"showPlayButton",
|
|
213
226
|
/*showPlayButton*/
|
|
214
|
-
|
|
227
|
+
a[11]
|
|
228
|
+
), d & /*objectFit*/
|
|
229
|
+
128 && _(
|
|
230
|
+
e,
|
|
231
|
+
"object-fit",
|
|
232
|
+
/*objectFit*/
|
|
233
|
+
a[7]
|
|
215
234
|
);
|
|
216
235
|
},
|
|
217
|
-
d(
|
|
218
|
-
|
|
236
|
+
d(a) {
|
|
237
|
+
a && h(e), n[20](null), l = !1, Y(f);
|
|
219
238
|
}
|
|
220
239
|
};
|
|
221
240
|
}
|
|
222
|
-
function
|
|
223
|
-
let e, i, t
|
|
241
|
+
function oe(n) {
|
|
242
|
+
let e, i, t;
|
|
224
243
|
return {
|
|
225
244
|
c() {
|
|
226
|
-
e =
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
245
|
+
e = k("img"), r(e, "class", "media-content svelte-159ski6"), w(e.src, i = /*media*/
|
|
246
|
+
n[2].videoCoverUrl) || r(e, "src", i), r(e, "alt", t = /*media*/
|
|
247
|
+
n[2].name), r(e, "draggable", !1), _(
|
|
248
|
+
e,
|
|
249
|
+
"object-fit",
|
|
250
|
+
/*objectFit*/
|
|
251
|
+
n[7]
|
|
252
|
+
);
|
|
230
253
|
},
|
|
231
|
-
m(
|
|
232
|
-
|
|
254
|
+
m(o, l) {
|
|
255
|
+
p(o, e, l);
|
|
233
256
|
},
|
|
234
|
-
p(
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
4 &&
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
257
|
+
p(o, l) {
|
|
258
|
+
l & /*media*/
|
|
259
|
+
4 && !w(e.src, i = /*media*/
|
|
260
|
+
o[2].videoCoverUrl) && r(e, "src", i), l & /*media*/
|
|
261
|
+
4 && t !== (t = /*media*/
|
|
262
|
+
o[2].name) && r(e, "alt", t), l & /*objectFit*/
|
|
263
|
+
128 && _(
|
|
264
|
+
e,
|
|
265
|
+
"object-fit",
|
|
266
|
+
/*objectFit*/
|
|
267
|
+
o[7]
|
|
268
|
+
);
|
|
242
269
|
},
|
|
243
|
-
d(
|
|
244
|
-
|
|
270
|
+
d(o) {
|
|
271
|
+
o && h(e);
|
|
245
272
|
}
|
|
246
273
|
};
|
|
247
274
|
}
|
|
248
|
-
function
|
|
275
|
+
function ne(n) {
|
|
249
276
|
let e, i = (
|
|
250
277
|
/*media*/
|
|
251
|
-
|
|
278
|
+
n[2] && L(n)
|
|
252
279
|
);
|
|
253
280
|
return {
|
|
254
281
|
c() {
|
|
255
|
-
i && i.c(), e =
|
|
282
|
+
i && i.c(), e = D();
|
|
256
283
|
},
|
|
257
|
-
m(t,
|
|
258
|
-
i && i.m(t,
|
|
284
|
+
m(t, o) {
|
|
285
|
+
i && i.m(t, o), p(t, e, o);
|
|
259
286
|
},
|
|
260
|
-
p(t, [
|
|
287
|
+
p(t, [o]) {
|
|
261
288
|
/*media*/
|
|
262
|
-
t[2] ? i ? i.p(t,
|
|
289
|
+
t[2] ? i ? i.p(t, o) : (i = L(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
263
290
|
},
|
|
264
|
-
i:
|
|
265
|
-
o:
|
|
291
|
+
i: V,
|
|
292
|
+
o: V,
|
|
266
293
|
d(t) {
|
|
267
|
-
i && i.d(t), t &&
|
|
294
|
+
i && i.d(t), t && h(e);
|
|
268
295
|
}
|
|
269
296
|
};
|
|
270
297
|
}
|
|
271
|
-
function
|
|
272
|
-
let t,
|
|
298
|
+
function le(n, e, i) {
|
|
299
|
+
let t, o, { mediaInstance: l = { videoInstance: void 0, paused: !0 } } = e, { tag: f } = e, { media: a } = e, { playButtonIfNeed: d = "withoutText" } = e, { playButtonSizeIfNeed: m = "small" } = e, { canPlay: u = !0 } = e, { autoplayVideo: c = !1 } = e, { objectFit: B = "fill" } = e, { disableVideoIfHavePoster: S = !1 } = e, b = !0, y = !1;
|
|
273
300
|
function N() {
|
|
274
|
-
i(
|
|
301
|
+
i(9, y = (a == null ? void 0 : a.type) === "Video" && !!a.videoCoverUrl);
|
|
275
302
|
}
|
|
276
|
-
const
|
|
277
|
-
|
|
303
|
+
const C = j("mediaStore"), I = j("hooks"), g = () => {
|
|
304
|
+
y || t && (i(10, t.muted = !0, t), t.play(), t.pause(), i(10, t.muted = !1, t), i(9, y = !0));
|
|
278
305
|
};
|
|
279
|
-
|
|
280
|
-
|
|
306
|
+
I.on("loadVideoFirstFrame", g), G(() => {
|
|
307
|
+
C.subscribe(({ currentMediaElement: s }) => {
|
|
281
308
|
s !== t && (t == null || t.pause());
|
|
282
309
|
});
|
|
283
310
|
});
|
|
284
|
-
const
|
|
285
|
-
i(
|
|
311
|
+
const E = (s) => {
|
|
312
|
+
i(11, b = !1), i(0, l.paused = !1, l), i(9, y = !0), t && C.set({ currentMediaElement: t }), I.emit("playStateChange", {
|
|
286
313
|
event: s,
|
|
287
314
|
state: "playing",
|
|
288
|
-
tag:
|
|
315
|
+
tag: f,
|
|
289
316
|
mediaInstance: t
|
|
290
317
|
});
|
|
291
|
-
},
|
|
292
|
-
i(
|
|
318
|
+
}, z = (s) => {
|
|
319
|
+
i(11, b = !0), i(0, l.paused = !0, l), I.emit("playStateChange", {
|
|
293
320
|
event: s,
|
|
294
321
|
state: "paused",
|
|
295
|
-
tag:
|
|
322
|
+
tag: f,
|
|
296
323
|
mediaInstance: t
|
|
297
324
|
});
|
|
298
|
-
},
|
|
299
|
-
i(
|
|
325
|
+
}, F = (s) => {
|
|
326
|
+
i(11, b = !0), i(0, l.paused = !0, l), I.emit("playStateChange", {
|
|
300
327
|
event: s,
|
|
301
328
|
state: "paused",
|
|
302
|
-
tag:
|
|
329
|
+
tag: f,
|
|
303
330
|
mediaInstance: t
|
|
304
331
|
});
|
|
305
|
-
},
|
|
306
|
-
i(
|
|
332
|
+
}, O = (s) => {
|
|
333
|
+
i(11, b = !0), i(0, l.paused = !0, l), I.emit("playStateChange", {
|
|
307
334
|
event: s,
|
|
308
335
|
state: "paused",
|
|
309
|
-
tag:
|
|
336
|
+
tag: f,
|
|
310
337
|
mediaInstance: t
|
|
311
338
|
});
|
|
312
|
-
},
|
|
339
|
+
}, W = (s) => {
|
|
313
340
|
t && t.pause();
|
|
314
341
|
};
|
|
315
|
-
function
|
|
316
|
-
|
|
342
|
+
function H(s) {
|
|
343
|
+
K[s ? "unshift" : "push"](() => {
|
|
317
344
|
l.videoInstance = s, i(0, l);
|
|
318
345
|
});
|
|
319
346
|
}
|
|
320
|
-
const
|
|
321
|
-
u && t && (i(
|
|
347
|
+
const T = () => d === "withText" ? Z : d === "withoutText" ? x : d, M = (s) => {
|
|
348
|
+
u && t && (i(10, t.muted = !1, t), t.play());
|
|
322
349
|
};
|
|
323
|
-
return
|
|
324
|
-
"mediaInstance" in s && i(0, l = s.mediaInstance), "tag" in s && i(1,
|
|
325
|
-
},
|
|
326
|
-
if (
|
|
327
|
-
1 && i(
|
|
328
|
-
4 && i(
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1,
|
|
333
|
-
t &&
|
|
350
|
+
return n.$$set = (s) => {
|
|
351
|
+
"mediaInstance" in s && i(0, l = s.mediaInstance), "tag" in s && i(1, f = s.tag), "media" in s && i(2, a = s.media), "playButtonIfNeed" in s && i(3, d = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, m = s.playButtonSizeIfNeed), "canPlay" in s && i(5, u = s.canPlay), "autoplayVideo" in s && i(6, c = s.autoplayVideo), "objectFit" in s && i(7, B = s.objectFit), "disableVideoIfHavePoster" in s && i(8, S = s.disableVideoIfHavePoster);
|
|
352
|
+
}, n.$$.update = () => {
|
|
353
|
+
if (n.$$.dirty & /*mediaInstance*/
|
|
354
|
+
1 && i(10, t = l.videoInstance), n.$$.dirty & /*media*/
|
|
355
|
+
4 && i(14, o = a == null ? void 0 : a.url), n.$$.dirty & /*mediaUrl*/
|
|
356
|
+
16384 && o && N(), n.$$.dirty & /*videoInstance*/
|
|
357
|
+
1024 && t && i(11, b = t.paused), n.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
|
|
358
|
+
1540 && (a == null ? void 0 : a.type) === "Video" && !y) {
|
|
359
|
+
const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, q = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
|
|
360
|
+
t && q && t.paused && (document.removeEventListener("WeixinJSBridgeReady", g), document.removeEventListener("touchstart", g), document.removeEventListener("click", g), document.addEventListener("WeixinJSBridgeReady", g), document.addEventListener("touchstart", g), document.addEventListener("click", g));
|
|
334
361
|
}
|
|
335
362
|
}, [
|
|
336
363
|
l,
|
|
337
|
-
r,
|
|
338
|
-
c,
|
|
339
|
-
d,
|
|
340
364
|
f,
|
|
341
|
-
|
|
365
|
+
a,
|
|
366
|
+
d,
|
|
342
367
|
m,
|
|
343
|
-
|
|
344
|
-
|
|
368
|
+
u,
|
|
369
|
+
c,
|
|
370
|
+
B,
|
|
371
|
+
S,
|
|
372
|
+
y,
|
|
345
373
|
t,
|
|
346
|
-
p,
|
|
347
|
-
w,
|
|
348
374
|
b,
|
|
349
|
-
|
|
350
|
-
|
|
375
|
+
C,
|
|
376
|
+
I,
|
|
377
|
+
o,
|
|
351
378
|
E,
|
|
352
379
|
z,
|
|
353
380
|
F,
|
|
354
381
|
O,
|
|
355
382
|
W,
|
|
356
383
|
H,
|
|
357
|
-
T
|
|
384
|
+
T,
|
|
385
|
+
M
|
|
358
386
|
];
|
|
359
387
|
}
|
|
360
|
-
class
|
|
388
|
+
class ue extends A {
|
|
361
389
|
constructor(e) {
|
|
362
|
-
super(),
|
|
390
|
+
super(), J(
|
|
363
391
|
this,
|
|
364
392
|
e,
|
|
365
|
-
oe,
|
|
366
393
|
le,
|
|
367
|
-
|
|
394
|
+
ne,
|
|
395
|
+
R,
|
|
368
396
|
{
|
|
369
397
|
mediaInstance: 0,
|
|
370
398
|
tag: 1,
|
|
@@ -372,13 +400,14 @@ class re extends q {
|
|
|
372
400
|
playButtonIfNeed: 3,
|
|
373
401
|
playButtonSizeIfNeed: 4,
|
|
374
402
|
canPlay: 5,
|
|
375
|
-
|
|
376
|
-
|
|
403
|
+
autoplayVideo: 6,
|
|
404
|
+
objectFit: 7,
|
|
405
|
+
disableVideoIfHavePoster: 8
|
|
377
406
|
},
|
|
378
|
-
|
|
407
|
+
$
|
|
379
408
|
);
|
|
380
409
|
}
|
|
381
410
|
}
|
|
382
411
|
export {
|
|
383
|
-
|
|
412
|
+
ue as default
|
|
384
413
|
};
|