@realsee/dnalogel 3.12.4 → 3.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -11
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/index.cjs.js +26 -26
- package/dist/index.js +964 -961
- package/dist/index.umd.js +26 -26
- package/docs/assets/custom.css +0 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -32
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -34
- package/docs/classes/CSS3DRender.html +32 -32
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -41
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/MoveController.html +28 -28
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +27 -27
- package/docs/classes/PanoMeasurePluginModel.html +27 -27
- package/docs/classes/PanoMeasurePluginPoint.html +11 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -27
- package/docs/classes/PanoTagPluginController.html +51 -51
- package/docs/classes/Util.BetterTween.html +10 -10
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.LineSegments.html +8 -8
- package/docs/classes/Util.Magnifier.html +20 -20
- package/docs/classes/Util.Object3D.html +9 -9
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +16 -16
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/classes/WalkController.html +27 -27
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +21 -21
- 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/AreaMakerPlugin.html +5 -5
- package/docs/functions/CSS3DRenderPlugin.html +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/CurrentPanoImagePlugin.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/MovePlugin.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/PanoVideoPlugin.html +5 -5
- package/docs/functions/PipelinePlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- package/docs/functions/Util.absoluteUrl.html +5 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +5 -5
- package/docs/functions/Util.equal.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.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.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/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +20 -21
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -11
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -21
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -8
- 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/GuideLineModeItem.GuideLineTagContainer.html +8 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +6 -6
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- 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 +16 -16
- 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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.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/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +30 -30
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- 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/interfaces/Util.PointIntersection.html +8 -8
- package/docs/modules/AreaMakerPluginType.html +5 -5
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/CurrentPanoImagePluginType.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -5
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +5 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +5 -5
- 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/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +5 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
- package/docs/types/DeprecatedTagProperty.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/ElementRenderer.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/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.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/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelId.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/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
- package/docs/types/PipelinePluginParameterType.html +5 -5
- package/docs/types/PipelinePluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagInstance.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/TagConfigByKey.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagContentTypeMapping.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/TagId.html +5 -5
- package/docs/types/TagInstance.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TagRendererMap.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/defaultGlobalConfig.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/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +190 -187
- package/libs/PanoTagPlugin/controller/TagRender.js +14 -12
- 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 +10 -7
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { SvelteComponent as te, init as le, safe_not_equal as ie, append_styles as se, element as p, create_component as re, space as
|
|
1
|
+
import { SvelteComponent as te, init as le, safe_not_equal as ie, append_styles as se, element as p, create_component as re, space as C, text as S, attr as d, set_style as L, null_to_empty as D, toggle_class as H, insert as y, mount_component as ne, append as q, set_data as P, transition_in as oe, transition_out as ae, detach as T, destroy_component as ce, src_url_equal as F, action_destroyer as fe, listen as me, destroy_each as O, run_all as ge } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import "hammerjs";
|
|
3
3
|
import "three";
|
|
4
4
|
import "@realsee/five";
|
|
5
5
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
6
6
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
7
7
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
|
-
import { notNil as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
8
|
+
import { notNil as qe } from "../../../shared-utils/isNil.js";
|
|
9
|
+
import de from "../../utils/px2rem.js";
|
|
10
|
+
import pe from "../Common/Shadow.js";
|
|
11
|
+
import { svelteResizeObserver as ve } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
11
12
|
import "../../../shared-utils/positionToVector3.js";
|
|
12
13
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
13
14
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -24,106 +25,108 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
24
25
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
25
26
|
import "../../../vendor/svelte/transition/index.js";
|
|
26
27
|
import "../../../vendor/svelte/easing/index.js";
|
|
27
|
-
|
|
28
|
+
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
29
|
+
function he(l) {
|
|
28
30
|
se(l, "svelte-sezqcq", '@charset "UTF-8";.svelte-sezqcq.svelte-sezqcq{box-sizing:border-box}.marketing.svelte-sezqcq.svelte-sezqcq{transform:translateY(-100%)}.marketing.svelte-sezqcq .line.svelte-sezqcq{position:absolute;height:1.875rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.marketing.svelte-sezqcq .content.svelte-sezqcq{position:relative;min-width:7.5rem;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-property:opacity, transform;transition-duration:500ms}.marketing.svelte-sezqcq .content .headerImage.svelte-sezqcq{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.title-wrapper.svelte-sezqcq.svelte-sezqcq{position:relative;width:100%;height:1.125rem}.title-wrapper.svelte-sezqcq .title.svelte-sezqcq{border-radius:0.25rem;width:100%;padding-left:0.625rem;padding-right:0.625rem}.title-wrapper.svelte-sezqcq .title .text.svelte-sezqcq{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem}.footer.svelte-sezqcq.svelte-sezqcq{position:relative;padding:0.5rem 0.625rem 0 0;width:100%;display:flex;align-items:center}.footer.svelte-sezqcq .goto-button.svelte-sezqcq{display:flex;align-self:flex-end;flex-wrap:wrap;align-items:center;overflow:hidden;height:0.875rem}.footer.svelte-sezqcq .goto-button .gap.svelte-sezqcq{height:100%;width:0.625rem}.footer.svelte-sezqcq .goto-button .text.svelte-sezqcq{display:block;height:100%;font-size:0.625rem}.footer.svelte-sezqcq .arrow-wrapper.svelte-sezqcq{height:0.875rem;display:flex;align-self:flex-end;flex-grow:0;flex-shrink:0;align-items:center;margin-left:0.25rem}.footer.svelte-sezqcq .arrow-wrapper svg.arrow.svelte-sezqcq{width:0.375rem;height:0.625rem}.footer.svelte-sezqcq .price.svelte-sezqcq{flex-shrink:0;margin-right:auto;white-space:nowrap;display:flex;align-items:baseline;margin-left:0.625rem}.footer.svelte-sezqcq .price .value.svelte-sezqcq{position:relative;font-size:0.875rem;line-height:1rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.footer.svelte-sezqcq .price .unit.svelte-sezqcq{padding-left:0.125rem;font-size:0.625rem}.tags-wrapper.svelte-sezqcq.svelte-sezqcq{position:relative;overflow:hidden;height:1rem;margin-top:0.25rem}.tags-wrapper.svelte-sezqcq .tags.svelte-sezqcq{position:relative;display:inline-flex;max-width:100%;flex-wrap:wrap;padding-left:0.625rem;padding-right:0.375rem}.tags-wrapper.svelte-sezqcq .tags .tag.svelte-sezqcq{display:flex;align-items:center;justify-content:center;flex-shrink:0;flex-grow:0;font-size:0.625rem;height:1rem;margin-right:0.25rem;margin-bottom:0.625rem;padding:0 0.25rem;border-radius:0.125rem;max-width:100%;text-overflow:ellipsis;overflow:hidden}.marketing.light.svelte-sezqcq .content.svelte-sezqcq{background-color:white}.marketing.light.svelte-sezqcq .content .title-wrapper .title .text.svelte-sezqcq{color:rgba(0, 0, 0, 0.8)}.marketing.light.svelte-sezqcq .content .tags-wrapper .tags .primary-tag.svelte-sezqcq{background:rgba(234, 208, 154, 0.5);color:#946700}.marketing.light.svelte-sezqcq .content .tags-wrapper .tags .secondary-tag.svelte-sezqcq{background:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.5)}.marketing.light.svelte-sezqcq .content .footer.svelte-sezqcq{color:#946700;fill:#946700}.marketing.dark.svelte-sezqcq .content.svelte-sezqcq{background-color:rgba(0, 0, 0, 0.5)}.marketing.dark.svelte-sezqcq .content .title-wrapper .title .text.svelte-sezqcq{color:white}.marketing.dark.svelte-sezqcq .content .tags-wrapper .tags .primary-tag.svelte-sezqcq{background:rgba(234, 208, 154, 0.5);color:white}.marketing.dark.svelte-sezqcq .content .tags-wrapper .tags .secondary-tag.svelte-sezqcq{background:rgba(255, 255, 255, 0.15);color:rgba(255, 255, 255, 0.85)}.marketing.dark.svelte-sezqcq .content .footer.svelte-sezqcq{color:#ead09a;fill:#ead09a}.marketing.unfolded.svelte-sezqcq .line.svelte-sezqcq{transform:translateX(-50%) scale(1, 1)}.marketing.folded.svelte-sezqcq .line.svelte-sezqcq{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.marketing.unfolded.svelte-sezqcq .content.svelte-sezqcq{opacity:1}.marketing.folded.svelte-sezqcq .content.svelte-sezqcq{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}');
|
|
29
31
|
}
|
|
30
|
-
function
|
|
32
|
+
function j(l, e, t) {
|
|
31
33
|
const s = l.slice();
|
|
32
34
|
return s[0] = e[t], s;
|
|
33
35
|
}
|
|
34
|
-
function
|
|
36
|
+
function E(l, e, t) {
|
|
35
37
|
const s = l.slice();
|
|
36
38
|
return s[0] = e[t], s;
|
|
37
39
|
}
|
|
38
|
-
function
|
|
40
|
+
function N(l) {
|
|
39
41
|
let e, t;
|
|
40
42
|
return {
|
|
41
43
|
c() {
|
|
42
|
-
e = p("img"),
|
|
43
|
-
l[3].headerPictureUrl) ||
|
|
44
|
+
e = p("img"), d(e, "class", "headerImage svelte-sezqcq"), F(e.src, t = /*data*/
|
|
45
|
+
l[3].headerPictureUrl) || d(e, "src", t), d(e, "alt", "");
|
|
44
46
|
},
|
|
45
|
-
m(s,
|
|
46
|
-
|
|
47
|
+
m(s, i) {
|
|
48
|
+
y(s, e, i);
|
|
47
49
|
},
|
|
48
|
-
p(s,
|
|
49
|
-
|
|
50
|
+
p(s, i) {
|
|
51
|
+
i & /*data*/
|
|
50
52
|
8 && !F(e.src, t = /*data*/
|
|
51
|
-
s[3].headerPictureUrl) &&
|
|
53
|
+
s[3].headerPictureUrl) && d(e, "src", t);
|
|
52
54
|
},
|
|
53
55
|
d(s) {
|
|
54
|
-
s &&
|
|
56
|
+
s && T(e);
|
|
55
57
|
}
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
function Z(l) {
|
|
59
|
-
let e, t, s,
|
|
61
|
+
let e, t, s, i, n, r = (
|
|
60
62
|
/*primaryTags*/
|
|
61
63
|
l[2] || []
|
|
62
|
-
),
|
|
63
|
-
for (let a = 0; a <
|
|
64
|
-
|
|
65
|
-
let
|
|
64
|
+
), c = [];
|
|
65
|
+
for (let a = 0; a < r.length; a += 1)
|
|
66
|
+
c[a] = A(E(l, r, a));
|
|
67
|
+
let m = (
|
|
66
68
|
/*secondaryTags*/
|
|
67
69
|
l[5] || []
|
|
68
|
-
),
|
|
69
|
-
for (let a = 0; a <
|
|
70
|
-
|
|
70
|
+
), f = [];
|
|
71
|
+
for (let a = 0; a < m.length; a += 1)
|
|
72
|
+
f[a] = J(j(l, m, a));
|
|
71
73
|
return {
|
|
72
74
|
c() {
|
|
73
75
|
e = p("div"), t = p("div");
|
|
74
|
-
for (let a = 0; a < i.length; a += 1)
|
|
75
|
-
i[a].c();
|
|
76
|
-
s = T();
|
|
77
76
|
for (let a = 0; a < c.length; a += 1)
|
|
78
77
|
c[a].c();
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
)
|
|
78
|
+
s = C();
|
|
79
|
+
for (let a = 0; a < f.length; a += 1)
|
|
80
|
+
f[a].c();
|
|
81
|
+
d(t, "class", "tags svelte-sezqcq"), d(e, "class", "tags-wrapper svelte-sezqcq");
|
|
83
82
|
},
|
|
84
|
-
m(a,
|
|
85
|
-
|
|
86
|
-
for (let o = 0; o < i.length; o += 1)
|
|
87
|
-
i[o] && i[o].m(t, null);
|
|
88
|
-
d(t, s);
|
|
83
|
+
m(a, v) {
|
|
84
|
+
y(a, e, v), q(e, t);
|
|
89
85
|
for (let o = 0; o < c.length; o += 1)
|
|
90
86
|
c[o] && c[o].m(t, null);
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
87
|
+
q(t, s);
|
|
88
|
+
for (let o = 0; o < f.length; o += 1)
|
|
89
|
+
f[o] && f[o].m(t, null);
|
|
90
|
+
i || (n = [
|
|
91
|
+
fe(ve.call(null, t)),
|
|
92
|
+
me(
|
|
93
|
+
t,
|
|
94
|
+
"clientHeight",
|
|
95
|
+
/*clientHeight_handler*/
|
|
96
|
+
l[11]
|
|
97
|
+
)
|
|
98
|
+
], i = !0);
|
|
96
99
|
},
|
|
97
|
-
p(a,
|
|
98
|
-
if (
|
|
100
|
+
p(a, v) {
|
|
101
|
+
if (v & /*minTagWidth, primaryTags*/
|
|
99
102
|
4) {
|
|
100
|
-
|
|
103
|
+
r = /*primaryTags*/
|
|
101
104
|
a[2] || [];
|
|
102
105
|
let o;
|
|
103
|
-
for (o = 0; o <
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
+
for (o = 0; o < r.length; o += 1) {
|
|
107
|
+
const k = E(a, r, o);
|
|
108
|
+
c[o] ? c[o].p(k, v) : (c[o] = A(k), c[o].c(), c[o].m(t, s));
|
|
106
109
|
}
|
|
107
|
-
for (; o <
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
for (; o < c.length; o += 1)
|
|
111
|
+
c[o].d(1);
|
|
112
|
+
c.length = r.length;
|
|
110
113
|
}
|
|
111
|
-
if (
|
|
114
|
+
if (v & /*minTagWidth, secondaryTags*/
|
|
112
115
|
32) {
|
|
113
|
-
|
|
116
|
+
m = /*secondaryTags*/
|
|
114
117
|
a[5] || [];
|
|
115
118
|
let o;
|
|
116
|
-
for (o = 0; o <
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
+
for (o = 0; o < m.length; o += 1) {
|
|
120
|
+
const k = j(a, m, o);
|
|
121
|
+
f[o] ? f[o].p(k, v) : (f[o] = J(k), f[o].c(), f[o].m(t, null));
|
|
119
122
|
}
|
|
120
|
-
for (; o <
|
|
121
|
-
|
|
122
|
-
|
|
123
|
+
for (; o < f.length; o += 1)
|
|
124
|
+
f[o].d(1);
|
|
125
|
+
f.length = m.length;
|
|
123
126
|
}
|
|
124
127
|
},
|
|
125
128
|
d(a) {
|
|
126
|
-
a &&
|
|
129
|
+
a && T(e), O(c, a), O(f, a), i = !1, ge(n);
|
|
127
130
|
}
|
|
128
131
|
};
|
|
129
132
|
}
|
|
@@ -134,18 +137,18 @@ function A(l) {
|
|
|
134
137
|
), s;
|
|
135
138
|
return {
|
|
136
139
|
c() {
|
|
137
|
-
e = p("div"), s =
|
|
140
|
+
e = p("div"), s = S(t), d(e, "class", "tag primary-tag svelte-sezqcq"), L(e, "min-width", B);
|
|
138
141
|
},
|
|
139
|
-
m(
|
|
140
|
-
|
|
142
|
+
m(i, n) {
|
|
143
|
+
y(i, e, n), q(e, s);
|
|
141
144
|
},
|
|
142
|
-
p(
|
|
145
|
+
p(i, n) {
|
|
143
146
|
n & /*primaryTags*/
|
|
144
147
|
4 && t !== (t = /*tag*/
|
|
145
|
-
|
|
148
|
+
i[0] + "") && P(s, t);
|
|
146
149
|
},
|
|
147
|
-
d(
|
|
148
|
-
|
|
150
|
+
d(i) {
|
|
151
|
+
i && T(e);
|
|
149
152
|
}
|
|
150
153
|
};
|
|
151
154
|
}
|
|
@@ -156,18 +159,18 @@ function J(l) {
|
|
|
156
159
|
), s;
|
|
157
160
|
return {
|
|
158
161
|
c() {
|
|
159
|
-
e = p("div"), s =
|
|
162
|
+
e = p("div"), s = S(t), d(e, "class", "tag secondary-tag svelte-sezqcq"), L(e, "min-width", B);
|
|
160
163
|
},
|
|
161
|
-
m(
|
|
162
|
-
|
|
164
|
+
m(i, n) {
|
|
165
|
+
y(i, e, n), q(e, s);
|
|
163
166
|
},
|
|
164
|
-
p(
|
|
167
|
+
p(i, n) {
|
|
165
168
|
n & /*secondaryTags*/
|
|
166
169
|
32 && t !== (t = /*tag*/
|
|
167
|
-
|
|
170
|
+
i[0] + "") && P(s, t);
|
|
168
171
|
},
|
|
169
|
-
d(
|
|
170
|
-
|
|
172
|
+
d(i) {
|
|
173
|
+
i && T(e);
|
|
171
174
|
}
|
|
172
175
|
};
|
|
173
176
|
}
|
|
@@ -175,24 +178,24 @@ function K(l) {
|
|
|
175
178
|
let e, t, s = (
|
|
176
179
|
/*havePrice*/
|
|
177
180
|
l[7] && Q(l)
|
|
178
|
-
),
|
|
181
|
+
), i = (
|
|
179
182
|
/*data*/
|
|
180
183
|
l[3].highlightText && x(l)
|
|
181
184
|
);
|
|
182
185
|
return {
|
|
183
186
|
c() {
|
|
184
|
-
e = p("div"), s && s.c(), t =
|
|
187
|
+
e = p("div"), s && s.c(), t = C(), i && i.c(), d(e, "class", "footer svelte-sezqcq");
|
|
185
188
|
},
|
|
186
|
-
m(n,
|
|
187
|
-
|
|
189
|
+
m(n, r) {
|
|
190
|
+
y(n, e, r), s && s.m(e, null), q(e, t), i && i.m(e, null);
|
|
188
191
|
},
|
|
189
|
-
p(n,
|
|
192
|
+
p(n, r) {
|
|
190
193
|
/*havePrice*/
|
|
191
|
-
n[7] ? s ? s.p(n,
|
|
192
|
-
n[3].highlightText ?
|
|
194
|
+
n[7] ? s ? s.p(n, r) : (s = Q(n), s.c(), s.m(e, t)) : s && (s.d(1), s = null), /*data*/
|
|
195
|
+
n[3].highlightText ? i ? i.p(n, r) : (i = x(n), i.c(), i.m(e, null)) : i && (i.d(1), i = null);
|
|
193
196
|
},
|
|
194
197
|
d(n) {
|
|
195
|
-
n &&
|
|
198
|
+
n && T(e), s && s.d(), i && i.d();
|
|
196
199
|
}
|
|
197
200
|
};
|
|
198
201
|
}
|
|
@@ -200,25 +203,25 @@ function Q(l) {
|
|
|
200
203
|
let e, t, s = (
|
|
201
204
|
/*data*/
|
|
202
205
|
l[3].price.value + ""
|
|
203
|
-
),
|
|
206
|
+
), i, n, r = (
|
|
204
207
|
/*data*/
|
|
205
208
|
l[3].price.unit && V(l)
|
|
206
209
|
);
|
|
207
210
|
return {
|
|
208
211
|
c() {
|
|
209
|
-
e = p("div"), t = p("span"),
|
|
212
|
+
e = p("div"), t = p("span"), i = S(s), n = C(), r && r.c(), d(t, "class", "value svelte-sezqcq"), d(e, "class", "price svelte-sezqcq");
|
|
210
213
|
},
|
|
211
|
-
m(
|
|
212
|
-
|
|
214
|
+
m(c, m) {
|
|
215
|
+
y(c, e, m), q(e, t), q(t, i), q(e, n), r && r.m(e, null);
|
|
213
216
|
},
|
|
214
|
-
p(
|
|
215
|
-
|
|
217
|
+
p(c, m) {
|
|
218
|
+
m & /*data*/
|
|
216
219
|
8 && s !== (s = /*data*/
|
|
217
|
-
|
|
218
|
-
|
|
220
|
+
c[3].price.value + "") && P(i, s), /*data*/
|
|
221
|
+
c[3].price.unit ? r ? r.p(c, m) : (r = V(c), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
|
|
219
222
|
},
|
|
220
|
-
d(
|
|
221
|
-
|
|
223
|
+
d(c) {
|
|
224
|
+
c && T(e), r && r.d();
|
|
222
225
|
}
|
|
223
226
|
};
|
|
224
227
|
}
|
|
@@ -229,50 +232,50 @@ function V(l) {
|
|
|
229
232
|
), s;
|
|
230
233
|
return {
|
|
231
234
|
c() {
|
|
232
|
-
e = p("span"), s =
|
|
235
|
+
e = p("span"), s = S(t), d(e, "class", "unit svelte-sezqcq");
|
|
233
236
|
},
|
|
234
|
-
m(
|
|
235
|
-
|
|
237
|
+
m(i, n) {
|
|
238
|
+
y(i, e, n), q(e, s);
|
|
236
239
|
},
|
|
237
|
-
p(
|
|
240
|
+
p(i, n) {
|
|
238
241
|
n & /*data*/
|
|
239
242
|
8 && t !== (t = /*data*/
|
|
240
|
-
|
|
243
|
+
i[3].price.unit + "") && P(s, t);
|
|
241
244
|
},
|
|
242
|
-
d(
|
|
243
|
-
|
|
245
|
+
d(i) {
|
|
246
|
+
i && T(e);
|
|
244
247
|
}
|
|
245
248
|
};
|
|
246
249
|
}
|
|
247
250
|
function x(l) {
|
|
248
|
-
let e, t, s,
|
|
251
|
+
let e, t, s, i, n = (
|
|
249
252
|
/*data*/
|
|
250
253
|
l[3].highlightText + ""
|
|
251
|
-
),
|
|
254
|
+
), r, c, m;
|
|
252
255
|
return {
|
|
253
256
|
c() {
|
|
254
|
-
e = p("div"), t = p("div"), s =
|
|
257
|
+
e = p("div"), t = p("div"), s = C(), i = p("span"), r = S(n), c = C(), m = p("div"), m.innerHTML = '<svg class="arrow svelte-sezqcq" viewBox="0 0 6 9"><g transform="translate(-3, -2)" fill-rule="nonzero" class="svelte-sezqcq"><path d="M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z" class="svelte-sezqcq"></path></g></svg>', d(t, "class", "gap svelte-sezqcq"), d(i, "class", "text svelte-sezqcq"), d(e, "class", "goto-button goto-icon svelte-sezqcq"), d(m, "class", "arrow-wrapper svelte-sezqcq");
|
|
255
258
|
},
|
|
256
|
-
m(
|
|
257
|
-
|
|
259
|
+
m(f, a) {
|
|
260
|
+
y(f, e, a), q(e, t), q(e, s), q(e, i), q(i, r), y(f, c, a), y(f, m, a);
|
|
258
261
|
},
|
|
259
|
-
p(
|
|
260
|
-
|
|
262
|
+
p(f, a) {
|
|
263
|
+
a & /*data*/
|
|
261
264
|
8 && n !== (n = /*data*/
|
|
262
|
-
|
|
265
|
+
f[3].highlightText + "") && P(r, n);
|
|
263
266
|
},
|
|
264
|
-
d(
|
|
265
|
-
|
|
267
|
+
d(f) {
|
|
268
|
+
f && T(e), f && T(c), f && T(m);
|
|
266
269
|
}
|
|
267
270
|
};
|
|
268
271
|
}
|
|
269
|
-
function
|
|
270
|
-
var W,
|
|
271
|
-
let e, t, s,
|
|
272
|
+
function ue(l) {
|
|
273
|
+
var W, G;
|
|
274
|
+
let e, t, s, i, n, r, c, m, f, a, v = (
|
|
272
275
|
/*data*/
|
|
273
276
|
l[3].title + ""
|
|
274
|
-
),
|
|
275
|
-
t = new
|
|
277
|
+
), o, k, U, _, w;
|
|
278
|
+
t = new pe({
|
|
276
279
|
props: {
|
|
277
280
|
visible: (
|
|
278
281
|
/*unfolded*/
|
|
@@ -285,146 +288,146 @@ function ve(l) {
|
|
|
285
288
|
spreadRadius: 75
|
|
286
289
|
}
|
|
287
290
|
});
|
|
288
|
-
let
|
|
291
|
+
let h = (
|
|
289
292
|
/*data*/
|
|
290
|
-
l[3].headerPictureUrl &&
|
|
291
|
-
),
|
|
293
|
+
l[3].headerPictureUrl && N(l)
|
|
294
|
+
), u = (
|
|
292
295
|
/*primaryTags*/
|
|
293
296
|
((W = l[2].length) != null ? W : 0) + /*secondaryTags*/
|
|
294
|
-
((
|
|
295
|
-
),
|
|
297
|
+
((G = l[5].length) != null ? G : 0) > 0 && Z(l)
|
|
298
|
+
), z = (
|
|
296
299
|
/*havePrice*/
|
|
297
300
|
(l[7] || /*data*/
|
|
298
301
|
l[3].highlightText) && K(l)
|
|
299
302
|
);
|
|
300
303
|
return {
|
|
301
304
|
c() {
|
|
302
|
-
e = p("div"), re(t.$$.fragment), s =
|
|
303
|
-
|
|
305
|
+
e = p("div"), re(t.$$.fragment), s = C(), i = p("div"), n = C(), r = p("div"), h && h.c(), c = C(), m = p("div"), f = p("div"), a = p("div"), o = S(v), k = C(), u && u.c(), U = C(), z && z.c(), d(i, "class", "line svelte-sezqcq"), L(
|
|
306
|
+
i,
|
|
304
307
|
"transition-delay",
|
|
305
308
|
/*unfolded*/
|
|
306
|
-
l[4] ?
|
|
307
|
-
),
|
|
309
|
+
l[4] ? R + "ms" : Y + ee - $ - 40 + "ms"
|
|
310
|
+
), d(a, "class", "text svelte-sezqcq"), d(f, "class", "title svelte-sezqcq"), d(m, "class", "title-wrapper svelte-sezqcq"), d(r, "class", "content svelte-sezqcq"), L(r, "max-width", de(
|
|
308
311
|
/*maxWidth*/
|
|
309
312
|
l[9]
|
|
310
|
-
)),
|
|
311
|
-
|
|
313
|
+
)), L(
|
|
314
|
+
r,
|
|
312
315
|
"transition-delay",
|
|
313
316
|
/*unfolded*/
|
|
314
|
-
l[4] ?
|
|
315
|
-
),
|
|
316
|
-
l[6]}`) + " svelte-sezqcq"),
|
|
317
|
+
l[4] ? R + Y + "ms" : "0ms"
|
|
318
|
+
), d(e, "class", _ = D(`marketing ${/*theme*/
|
|
319
|
+
l[6]}`) + " svelte-sezqcq"), H(
|
|
317
320
|
e,
|
|
318
321
|
"unfolded",
|
|
319
322
|
/*unfolded*/
|
|
320
323
|
l[4]
|
|
321
|
-
),
|
|
324
|
+
), H(
|
|
322
325
|
e,
|
|
323
326
|
"folded",
|
|
324
327
|
/*folded*/
|
|
325
328
|
l[8]
|
|
326
329
|
);
|
|
327
330
|
},
|
|
328
|
-
m(
|
|
329
|
-
|
|
331
|
+
m(g, b) {
|
|
332
|
+
y(g, e, b), ne(t, e, null), q(e, s), q(e, i), q(e, n), q(e, r), h && h.m(r, null), q(r, c), q(r, m), q(m, f), q(f, a), q(a, o), q(r, k), u && u.m(r, null), q(r, U), z && z.m(r, null), w = !0;
|
|
330
333
|
},
|
|
331
|
-
p(
|
|
332
|
-
var
|
|
333
|
-
const
|
|
334
|
+
p(g, [b]) {
|
|
335
|
+
var M, X;
|
|
336
|
+
const I = {};
|
|
334
337
|
b & /*unfolded*/
|
|
335
|
-
16 && (
|
|
336
|
-
|
|
337
|
-
16 &&
|
|
338
|
-
|
|
338
|
+
16 && (I.visible = /*unfolded*/
|
|
339
|
+
g[4]), t.$set(I), b & /*unfolded*/
|
|
340
|
+
16 && L(
|
|
341
|
+
i,
|
|
339
342
|
"transition-delay",
|
|
340
343
|
/*unfolded*/
|
|
341
|
-
|
|
344
|
+
g[4] ? R + "ms" : Y + ee - $ - 40 + "ms"
|
|
342
345
|
), /*data*/
|
|
343
|
-
|
|
344
|
-
8) &&
|
|
345
|
-
|
|
346
|
-
((
|
|
347
|
-
((X =
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
16 &&
|
|
351
|
-
|
|
346
|
+
g[3].headerPictureUrl ? h ? h.p(g, b) : (h = N(g), h.c(), h.m(r, c)) : h && (h.d(1), h = null), (!w || b & /*data*/
|
|
347
|
+
8) && v !== (v = /*data*/
|
|
348
|
+
g[3].title + "") && P(o, v), /*primaryTags*/
|
|
349
|
+
((M = g[2].length) != null ? M : 0) + /*secondaryTags*/
|
|
350
|
+
((X = g[5].length) != null ? X : 0) > 0 ? u ? u.p(g, b) : (u = Z(g), u.c(), u.m(r, U)) : u && (u.d(1), u = null), /*havePrice*/
|
|
351
|
+
g[7] || /*data*/
|
|
352
|
+
g[3].highlightText ? z ? z.p(g, b) : (z = K(g), z.c(), z.m(r, null)) : z && (z.d(1), z = null), b & /*unfolded*/
|
|
353
|
+
16 && L(
|
|
354
|
+
r,
|
|
352
355
|
"transition-delay",
|
|
353
356
|
/*unfolded*/
|
|
354
|
-
|
|
357
|
+
g[4] ? R + Y + "ms" : "0ms"
|
|
355
358
|
), (!w || b & /*theme*/
|
|
356
359
|
64 && _ !== (_ = D(`marketing ${/*theme*/
|
|
357
|
-
|
|
358
|
-
80) &&
|
|
360
|
+
g[6]}`) + " svelte-sezqcq")) && d(e, "class", _), (!w || b & /*theme, unfolded*/
|
|
361
|
+
80) && H(
|
|
359
362
|
e,
|
|
360
363
|
"unfolded",
|
|
361
364
|
/*unfolded*/
|
|
362
|
-
|
|
365
|
+
g[4]
|
|
363
366
|
), (!w || b & /*theme, folded*/
|
|
364
|
-
320) &&
|
|
367
|
+
320) && H(
|
|
365
368
|
e,
|
|
366
369
|
"folded",
|
|
367
370
|
/*folded*/
|
|
368
|
-
|
|
371
|
+
g[8]
|
|
369
372
|
);
|
|
370
373
|
},
|
|
371
|
-
i(
|
|
372
|
-
w || (
|
|
374
|
+
i(g) {
|
|
375
|
+
w || (oe(t.$$.fragment, g), w = !0);
|
|
373
376
|
},
|
|
374
|
-
o(
|
|
375
|
-
|
|
377
|
+
o(g) {
|
|
378
|
+
ae(t.$$.fragment, g), w = !1;
|
|
376
379
|
},
|
|
377
|
-
d(
|
|
378
|
-
|
|
380
|
+
d(g) {
|
|
381
|
+
g && T(e), ce(t), h && h.d(), u && u.d(), z && z.d();
|
|
379
382
|
}
|
|
380
383
|
};
|
|
381
384
|
}
|
|
382
|
-
const
|
|
383
|
-
function
|
|
384
|
-
let s,
|
|
385
|
+
const B = 40, R = 400, $ = 500, Y = 180, ee = 500;
|
|
386
|
+
function ze(l, e, t) {
|
|
387
|
+
let s, i, n, r, c, m, f, a, { tag: v } = e, o, k = (() => {
|
|
385
388
|
var w;
|
|
386
|
-
const _ = (w =
|
|
389
|
+
const _ = (w = v.data.limitWidth) != null ? w : !0;
|
|
387
390
|
if (typeof _ == "number")
|
|
388
391
|
return _;
|
|
389
392
|
if (_ === !0)
|
|
390
393
|
return 172;
|
|
391
394
|
})();
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
}
|
|
395
|
+
const U = (_) => {
|
|
396
|
+
t(1, o = _.detail);
|
|
397
|
+
};
|
|
395
398
|
return l.$$set = (_) => {
|
|
396
|
-
"tag" in _ && t(0,
|
|
399
|
+
"tag" in _ && t(0, v = _.tag);
|
|
397
400
|
}, l.$$.update = () => {
|
|
398
|
-
var _, w,
|
|
401
|
+
var _, w, h, u, z, W;
|
|
399
402
|
l.$$.dirty & /*tag*/
|
|
400
|
-
1 && t(4, s = (w = (_ =
|
|
401
|
-
16 && t(8,
|
|
402
|
-
1 && t(3, n =
|
|
403
|
-
8 && t(7,
|
|
404
|
-
1 && t(6,
|
|
405
|
-
1026 &&
|
|
406
|
-
1032 && t(2,
|
|
407
|
-
1036 && t(5,
|
|
408
|
-
}, t(10,
|
|
403
|
+
1 && t(4, s = (w = (_ = v.state) == null ? void 0 : _.unfolded) != null ? w : !1), l.$$.dirty & /*unfolded*/
|
|
404
|
+
16 && t(8, i = !s), l.$$.dirty & /*tag*/
|
|
405
|
+
1 && t(3, n = v.data), l.$$.dirty & /*data*/
|
|
406
|
+
8 && t(7, r = qe((h = n.price) == null ? void 0 : h.value) && ((u = n.price) == null ? void 0 : u.value) !== ""), l.$$.dirty & /*tag*/
|
|
407
|
+
1 && t(6, c = v.data.theme || "light"), l.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
|
|
408
|
+
1026 && o > 40 && t(10, m = m - 1), l.$$.dirty & /*data, maxTagsLength*/
|
|
409
|
+
1032 && t(2, f = ((z = n.brandTags) == null ? void 0 : z.slice(0, m).filter(Boolean)) || []), l.$$.dirty & /*data, maxTagsLength, primaryTags*/
|
|
410
|
+
1036 && t(5, a = ((W = n.tags) == null ? void 0 : W.slice(0, m - f.length).filter(Boolean)) || []);
|
|
411
|
+
}, t(10, m = (k - 20) / B), [
|
|
412
|
+
v,
|
|
409
413
|
o,
|
|
410
|
-
|
|
411
|
-
a,
|
|
414
|
+
f,
|
|
412
415
|
n,
|
|
413
416
|
s,
|
|
414
|
-
|
|
415
|
-
f,
|
|
416
|
-
i,
|
|
417
|
-
r,
|
|
418
|
-
P,
|
|
417
|
+
a,
|
|
419
418
|
c,
|
|
419
|
+
r,
|
|
420
|
+
i,
|
|
421
|
+
k,
|
|
422
|
+
m,
|
|
420
423
|
U
|
|
421
424
|
];
|
|
422
425
|
}
|
|
423
|
-
class
|
|
426
|
+
class Je extends te {
|
|
424
427
|
constructor(e) {
|
|
425
|
-
super(), le(this, e,
|
|
428
|
+
super(), le(this, e, ze, ue, ie, { tag: 0 }, he);
|
|
426
429
|
}
|
|
427
430
|
}
|
|
428
431
|
export {
|
|
429
|
-
|
|
432
|
+
Je as default
|
|
430
433
|
};
|