@realsee/dnalogel 2.1.1 → 2.1.2-alpha.1
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 +3 -12
- package/components/index.js +242 -569
- package/dist/index.cjs.js +58 -73
- package/dist/index.es.js +7842 -12958
- package/dist/index.js +7842 -12958
- package/dist/index.umd.js +46 -61
- package/docs/assets/highlight.css +3 -3
- package/docs/assets/main.js +4 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +462 -619
- package/docs/classes/CruisePluginController.html +397 -23
- package/docs/classes/Magnifier.html +187 -9
- package/docs/classes/ModelRoomLabelController.html +149 -11
- package/docs/classes/Object3DHelperController.html +356 -0
- package/docs/classes/PaintBrush.html +260 -0
- package/docs/classes/PanoTagPluginController.html +940 -0
- package/docs/classes/Util.BetterTween.html +134 -0
- package/docs/classes/Util.FivePointSelector.html +144 -0
- package/docs/classes/Util.Interval.html +158 -0
- package/docs/classes/Util.Magnifier.html +196 -0
- package/docs/classes/Util.PointDomHelper.html +135 -0
- package/docs/classes/Util.PointHelper.html +127 -0
- package/docs/classes/Util.Rectangle.html +181 -0
- package/docs/enums/CameraMovementEffect.html +70 -3
- package/docs/enums/ContentType.html +116 -0
- package/docs/enums/DIRECTION.html +81 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/DimensionType.html +67 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +74 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/LinkType.html +67 -0
- package/docs/enums/PaintBrushTypeEnum.html +74 -0
- package/docs/enums/PointType.html +67 -0
- package/docs/enums/Rotation.html +77 -3
- package/docs/functions/CSS3DRenderPlugin.html +233 -0
- package/docs/functions/CameraMovementPlugin.html +237 -0
- package/docs/functions/CruisePlugin.html +233 -0
- package/docs/functions/GuideLinePlugin.html +235 -0
- package/docs/functions/ItemLabelPlugin.html +235 -0
- package/docs/functions/MapviewFloorplanPlugin.html +235 -0
- package/docs/functions/ModelChassisCompassPlugin.html +237 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +237 -0
- package/docs/functions/ModelFloorplanPlugin.html +235 -0
- package/docs/functions/ModelItemLabelPlugin.html +235 -0
- package/docs/functions/ModelRoomLabelPlugin.html +233 -0
- package/docs/functions/ModelTVVideoPlugin.html +235 -0
- package/docs/functions/ModelViewPlugin.html +237 -0
- package/docs/functions/Object3DHelperPlugin.html +233 -0
- package/docs/functions/PanoCompassPlugin.html +235 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +238 -0
- package/docs/functions/PanoDoorLabelPlugin.html +235 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +235 -0
- package/docs/functions/PanoMeasurePlugin.html +235 -0
- package/docs/functions/PanoRulerPlugin.html +237 -0
- package/docs/functions/PanoRulerProPlugin.html +237 -0
- package/docs/functions/PanoSpatialTagPlugin.html +237 -0
- package/docs/functions/PanoTagPlugin.html +249 -0
- package/docs/functions/TopviewFloorplanPlugin.html +235 -0
- package/docs/functions/Util.getCoordsFromClient.html +78 -0
- package/docs/functions/Util.getCoordsFromElement.html +78 -0
- package/docs/functions/Util.getFrameTime.html +70 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +78 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +78 -0
- package/docs/functions/Util.isNil.html +79 -0
- package/docs/functions/Util.nextFrame.html +73 -0
- package/docs/functions/Util.notNil.html +78 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +98 -0
- package/docs/functions/Util.tweenProgress.html +84 -0
- package/docs/functions/pluginFlag.html +233 -0
- package/docs/index.html +222 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +205 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +85 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +111 -17
- package/docs/interfaces/ContentTypeMap.html +212 -0
- package/docs/interfaces/FloorplanBounding.html +89 -10
- package/docs/interfaces/FloorplanData.html +95 -3
- package/docs/interfaces/FloorplanEntrance.html +114 -15
- package/docs/interfaces/FloorplanExtraObject.html +108 -7
- package/docs/interfaces/FloorplanExtraObject3D.html +99 -3
- package/docs/interfaces/FloorplanFloorData.html +88 -3
- package/docs/interfaces/FloorplanImagePosition.html +74 -3
- package/docs/interfaces/FloorplanObserver.html +92 -5
- package/docs/interfaces/FloorplanOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanPosition.html +74 -3
- package/docs/interfaces/FloorplanRoomItem.html +134 -17
- package/docs/interfaces/FloorplanRoomLabelItem.html +78 -7
- package/docs/interfaces/FloorplanServerBounding.html +89 -10
- package/docs/interfaces/FloorplanServerComputedData.html +92 -1
- package/docs/interfaces/FloorplanServerData.html +74 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +92 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +78 -1
- package/docs/interfaces/FloorplanServerEntrance.html +114 -15
- package/docs/interfaces/FloorplanServerFloorData.html +88 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +74 -3
- package/docs/interfaces/FloorplanServerObserver.html +92 -5
- package/docs/interfaces/FloorplanServerOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanServerPosition.html +74 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +145 -20
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +78 -7
- package/docs/interfaces/ItemLabelPluginData.html +64 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +85 -1
- package/docs/interfaces/LineJson.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +107 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +71 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +78 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +115 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +64 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +71 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +64 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +85 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +109 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +64 -1
- package/docs/interfaces/ModelViewPluginExportType.html +129 -1
- package/docs/interfaces/Object3DHelperState.html +78 -0
- package/docs/interfaces/OpenParameter.html +74 -3
- package/docs/interfaces/PaintBrushAction.html +118 -0
- package/docs/interfaces/PaintBrushConfigs.html +122 -0
- package/docs/interfaces/PaintBrushState.html +99 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +186 -11
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +227 -1
- package/docs/interfaces/PanoMeasureParameterType.html +128 -5
- package/docs/interfaces/PanoRulerPluginExportType.html +138 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +87 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +78 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +114 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +84 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +71 -1
- package/docs/interfaces/PanoRulerProPluginState.html +78 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +241 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +230 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +114 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +96 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +192 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +92 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +113 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +99 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +92 -1
- package/docs/interfaces/Point.html +78 -1
- package/docs/interfaces/PointJson.html +78 -1
- package/docs/interfaces/Room.html +85 -1
- package/docs/interfaces/RoomInfo.html +71 -1
- package/docs/interfaces/RoomLabel.html +141 -13
- package/docs/interfaces/RoomRules.html +230 -1
- package/docs/interfaces/Rooms.html +230 -1
- package/docs/interfaces/Scissor.html +100 -0
- package/docs/interfaces/TagConfig.html +120 -0
- package/docs/interfaces/Tags.html +89 -0
- package/docs/interfaces/Util.MagnifierParameter.html +116 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +79 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules.html +425 -36
- package/docs/types/ArrayPosition.html +224 -0
- package/docs/types/CSS3DRenderExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +224 -0
- package/docs/types/Color.html +224 -0
- package/docs/types/ContentTypeConfigKey.html +224 -0
- package/docs/types/ContentTypeConfigKeyArray.html +224 -0
- package/docs/types/Create3DDomContainerReturnType.html +224 -0
- package/docs/types/Create3DElementReturnType.html +224 -0
- package/docs/types/CruisePluginExportType.html +224 -0
- package/docs/types/Direction-1.html +224 -0
- package/docs/types/Direction4.html +224 -0
- package/docs/types/FloorplanRuleLabels.html +226 -0
- package/docs/types/FloorplanServerRuleLabels.html +224 -0
- package/docs/types/GuideLinePluginExportType.html +224 -0
- package/docs/types/HelperEventMap.html +314 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +224 -0
- package/docs/types/MediaData.html +224 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +224 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +224 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +224 -0
- package/docs/types/MoveArgs.html +226 -0
- package/docs/types/MoveOpts.html +226 -0
- package/docs/types/Object3DHelperEventMap.html +317 -0
- package/docs/types/ObjectFit.html +224 -0
- package/docs/types/PaintBrushEventMap.html +255 -0
- package/docs/types/PanoCompassPluginData.html +224 -0
- package/docs/types/PanoCompassPluginExportType.html +224 -0
- package/docs/types/PanoCompassPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +224 -0
- package/docs/types/PanoMeasurePluginEvent.html +224 -0
- package/docs/types/PanoMeasureReturnType.html +224 -0
- package/docs/types/PanoSpatialTagPluginId.html +224 -0
- package/docs/types/PanoTagPluginExportInterface.html +224 -0
- package/docs/types/PanoTagPluginParamsInterface.html +224 -0
- package/docs/types/PlaneTag.html +233 -0
- package/docs/types/PointTag.html +235 -0
- package/docs/types/Position.html +224 -0
- package/docs/types/RotateArgs.html +226 -0
- package/docs/types/RotateOpts.html +226 -0
- package/docs/types/RuleLabelsKey.html +224 -0
- package/docs/types/RuleLabelsValue.html +224 -0
- package/docs/types/Tag.html +235 -0
- package/docs/types/Tag2D.html +233 -0
- package/docs/types/Tag3D.html +233 -0
- package/docs/types/TagId.html +224 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +224 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +226 -0
- package/docs/variables/PLUGIN.html +224 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +226 -0
- package/docs/variables/ROOM_TYPE_MAP.html +226 -0
- package/docs/variables/VERSION.html +224 -0
- package/docs/variables/itemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +231 -0
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -300
- package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -3
- package/libs/CSS3DRenderPlugin/Controller.js +1 -81
- package/libs/CSS3DRenderPlugin/index.js +1 -14
- package/libs/CSS3DRenderPlugin/typing.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -67
- package/libs/CSS3DRenderPlugin/utils/centerPoint.js +1 -10
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -13
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +1 -71
- package/libs/CameraMovementPlugin/index.js +1 -15
- package/libs/CameraMovementPlugin/typing.js +1 -5
- package/libs/CruisePlugin/Controller.js +1 -440
- package/libs/CruisePlugin/index.js +1 -27
- package/libs/CruisePlugin/utils/coordinatesAngle.js +1 -9
- package/libs/CruisePlugin/utils/coordinatesToVector.js +1 -12
- package/libs/CruisePlugin/utils/formatRad.js +1 -7
- package/libs/CruisePlugin/utils/linerValue.js +1 -7
- package/libs/CruisePlugin/utils/safeCall.js +1 -12
- package/libs/CruisePlugin/utils/sleep.js +1 -10
- package/libs/CruisePlugin/utils/vectorToCoordinates.js +1 -10
- package/libs/GuideLinePlugin/Controller.js +1 -112
- package/libs/GuideLinePlugin/index.js +1 -15
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +1 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -118
- package/libs/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -254
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -133
- package/libs/ItemLabelPlugin/Plugin.js +2 -85
- package/libs/ItemLabelPlugin/index.js +1 -25
- package/libs/ItemLabelPlugin/typings.js +1 -4
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +1 -4
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +1 -16
- package/libs/ItemLabelPlugin/utils/isImpacted.js +1 -10
- package/libs/ItemLabelPlugin/utils/parseData.js +1 -10
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +1 -11
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -55
- package/libs/ModelChassisCompassPlugin/index.js +1 -10
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +1 -66
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -11
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -196
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +2 -42
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +2 -79
- package/libs/ModelItemLabelPlugin/events.type.js +1 -1
- package/libs/ModelItemLabelPlugin/index.js +1 -21
- package/libs/ModelItemLabelPlugin/typings.js +1 -4
- package/libs/ModelItemLabelPlugin/utils/parseData.js +1 -9
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -4
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -64
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -45
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -151
- package/libs/ModelRoomLabelPlugin/index.js +1 -16
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +1 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -157
- package/libs/ModelTVVideoPlugin/index.js +1 -19
- package/libs/ModelTVVideoPlugin/typings.js +1 -4
- package/libs/ModelTVVideoPlugin/utils/parseData.js +1 -20
- package/libs/ModelViewPlugin/Plugin.js +1 -96
- package/libs/ModelViewPlugin/index.js +1 -8
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -137
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +1 -35
- package/libs/Object3DHelperPlugin/index.js +1 -42
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -4
- package/libs/PanoCompassPlugin/Controller.js +1 -205
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -24
- package/libs/PanoCompassPlugin/index.js +1 -24
- package/libs/PanoCursorRaycasterPlugin/index.js +1 -60
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -50
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -215
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -65
- package/libs/PanoDoorLabelPlugin/index.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -15
- package/libs/PanoDoorLabelPlugin/utils.d.ts +2 -2
- package/libs/PanoDoorLabelPlugin/utils.js +1 -23
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +1 -63
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -114
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -138
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -33
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -101
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -169
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -167
- package/libs/PanoMeasurePlugin/Model/index.d.ts +4 -4
- package/libs/PanoMeasurePlugin/Model/index.js +1 -99
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +1 -60
- package/libs/PanoMeasurePlugin/Model/point.js +1 -30
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -47
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +2 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -67
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +1 -28
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +1 -41
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -103
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +8 -12
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +1 -50
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -36
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -48
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +3 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +1 -39
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +1 -70
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +2 -7
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -123
- package/libs/PanoMeasurePlugin/index.js +1 -60
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -12
- package/libs/PanoMeasurePlugin/utils/constants.js +1 -23
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -62
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +1 -13
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +1 -16
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +1 -9
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +1 -8
- package/libs/PanoMeasurePlugin/utils/ironbox.js +1 -4
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +1 -7
- package/libs/PanoMeasurePlugin/utils/line.js +1 -18
- package/libs/PanoMeasurePlugin/utils/math.js +1 -13
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +3 -33
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +1 -8
- package/libs/PanoRulerPlugin/Plugin.js +3 -241
- package/libs/PanoRulerPlugin/index.js +1 -11
- package/libs/PanoRulerPlugin/style.js +2 -5
- package/libs/PanoRulerProPlugin/Controller.js +1 -74
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -118
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -181
- package/libs/PanoRulerProPlugin/index.js +1 -17
- package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -82
- package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -124
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -258
- package/libs/PanoSpatialTagPlugin/index.js +1 -24
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -1
- package/libs/PanoSpatialTagPlugin/store.js +1 -6
- package/libs/PanoSpatialTagPlugin/style.js +1 -11
- package/libs/PanoSpatialTagPlugin/typings.js +1 -1
- package/libs/PanoTagPlugin/Assets/Icon.js +1 -6
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -103
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -163
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -93
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -91
- package/libs/PanoTagPlugin/Components/Common/Media.js +1 -3438
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -139
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +1 -181
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +1 -52
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +1 -52
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +1 -170
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +15 -125
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -984
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +1 -140
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +1 -72
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -202
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -128
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -231
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +1 -95
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +1 -134
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -308
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -187
- package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -183
- package/libs/PanoTagPlugin/controller/TagCacheController.js +1 -32
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -15
- package/libs/PanoTagPlugin/controller/index.js +1 -386
- package/libs/PanoTagPlugin/index.js +1 -71
- package/libs/PanoTagPlugin/tag.config.js +1 -44
- package/libs/PanoTagPlugin/typings/controller.js +1 -1
- package/libs/PanoTagPlugin/typings/index.js +1 -7
- package/libs/PanoTagPlugin/typings/tag.js +1 -7
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -6
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -27
- package/libs/PanoTagPlugin/utils/checkRange.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/checkRange.js +1 -10
- package/libs/PanoTagPlugin/utils/constants.js +1 -8
- package/libs/PanoTagPlugin/utils/debounce.js +1 -12
- package/libs/PanoTagPlugin/utils/doUtil.js +1 -12
- package/libs/PanoTagPlugin/utils/index.js +1 -36
- package/libs/PanoTagPlugin/utils/noTypecheck.js +1 -4
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +1 -13
- package/libs/PanoTagPlugin/utils/planeNormal.js +1 -11
- package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -17
- package/libs/PanoTagPlugin/utils/search.js +1 -33
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -13
- package/libs/PanoTagPlugin/utils/throttle.js +1 -11
- package/libs/base/BasePlugin.js +1 -18
- package/libs/base/BasePluginWithData.js +1 -7
- package/libs/components/PaintBrush/Controller.d.ts +2 -2
- package/libs/components/PaintBrush/Controller.js +1 -309
- package/libs/components/PaintBrush/Subscribe.js +1 -47
- package/libs/components/PaintBrush/index.js +1 -52
- package/libs/components/PaintBrush/style.js +2 -5
- package/libs/components/PaintBrush/tween.js +1 -15
- package/libs/components/PaintBrush/typings.js +1 -4
- package/libs/components/PaintBrush/utils.d.ts +1 -1
- package/libs/components/PaintBrush/utils.js +1 -45
- package/libs/components/index.js +1 -13
- package/libs/env.d.ts +1 -0
- package/libs/floorplan/Assets/camera.js +1 -4
- package/libs/floorplan/Assets/compass.js +1 -4
- package/libs/floorplan/Assets/floorplanExtraObject.js +1 -4
- package/libs/floorplan/Components/BaseImage.js +1 -104
- package/libs/floorplan/Components/Camera.js +1 -62
- package/libs/floorplan/Components/Compass.js +1 -60
- package/libs/floorplan/Components/CurrentFloor.js +1 -255
- package/libs/floorplan/Components/Main.js +1 -282
- package/libs/floorplan/Components/Normalmage.js +1 -37
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -61
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -122
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -152
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -174
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -184
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -39
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -37
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +1 -134
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +1 -139
- package/libs/floorplan/Components/SvgImage.js +2 -39
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -322
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -49
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -318
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -49
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -84
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -133
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -72
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -191
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -146
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -26
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -265
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -46
- package/libs/floorplan/constant.js +1 -4
- package/libs/floorplan/index.js +1 -67
- package/libs/floorplan/typings/floorplanData.js +1 -1
- package/libs/floorplan/typings/floorplanServerData.js +1 -101
- package/libs/floorplan/utils/constant.js +1 -8
- package/libs/floorplan/utils/correctFiveState.js +1 -36
- package/libs/floorplan/utils/formatData.js +1 -82
- package/libs/floorplan/utils/formatPosition.js +1 -35
- package/libs/index.js +1 -330
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -155
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -53
- package/libs/shared-utils/Object3DHelper/Constants/color.js +1 -21
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +1 -29
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -74
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -117
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -142
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -81
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -31
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -31
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +1 -35
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -103
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +1 -143
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -137
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -30
- package/libs/shared-utils/Object3DHelper/index.js +1 -140
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +1 -11
- package/libs/shared-utils/Object3DHelper/utils/direction.js +1 -30
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -18
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +1 -14
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -18
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -29
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -13
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -5
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -191
- package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +1 -6
- package/libs/shared-utils/Subscribe.js +1 -50
- package/libs/shared-utils/animationFrame/BetterTween.js +1 -6
- package/libs/shared-utils/animationFrame/calculateProgress.js +1 -12
- package/libs/shared-utils/animationFrame/formatRad.js +1 -13
- package/libs/shared-utils/animationFrame/index.js +1 -51
- package/libs/shared-utils/animationFrame/tween.js +1 -30
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -12
- package/libs/shared-utils/createCanvasTextTexture.js +1 -11
- package/libs/shared-utils/createLine/index.js +1 -9
- package/libs/shared-utils/debounce.js +1 -11
- package/libs/shared-utils/equal.js +1 -54
- package/libs/shared-utils/filter.js +1 -30
- package/libs/shared-utils/five/changeMode.js +1 -21
- package/libs/shared-utils/getPxmm.js +1 -21
- package/libs/shared-utils/index.js +1 -45
- package/libs/shared-utils/isNil.js +1 -10
- package/libs/shared-utils/isTruelyObject.js +1 -6
- package/libs/shared-utils/math/Interval.js +1 -23
- package/libs/shared-utils/math/Rectangle.js +1 -23
- package/libs/shared-utils/math/index.js +1 -6
- package/libs/shared-utils/math/planimetry.d.ts +5 -5
- package/libs/shared-utils/math/planimetry.js +1 -135
- package/libs/shared-utils/math/rad2Deg.js +1 -6
- package/libs/shared-utils/nearlyEqual.js +1 -6
- package/libs/shared-utils/nextFrame.js +1 -6
- package/libs/shared-utils/noop.js +1 -5
- package/libs/shared-utils/object3d2LocalMatrix.js +1 -19
- package/libs/shared-utils/removeArrayItem.d.ts +1 -1
- package/libs/shared-utils/removeArrayItem.js +1 -8
- package/libs/shared-utils/tap.js +1 -6
- package/libs/shared-utils/three/Assets/index.js +1 -5
- package/libs/shared-utils/three/FivePointSelector.d.ts +1 -1
- package/libs/shared-utils/three/FivePointSelector.js +1 -63
- package/libs/shared-utils/three/Magnifier.d.ts +2 -2
- package/libs/shared-utils/three/Magnifier.js +1 -104
- package/libs/shared-utils/three/PointDomHelper.js +1 -68
- package/libs/shared-utils/three/PointHelper.js +3 -60
- package/libs/shared-utils/three/getCoords.js +1 -13
- package/libs/shared-utils/three/getIntersect.d.ts +1 -1
- package/libs/shared-utils/three/getIntersect.js +1 -8
- package/libs/shared-utils/three/getRaycaster.d.ts +1 -1
- package/libs/shared-utils/three/getRaycaster.js +1 -12
- package/libs/shared-utils/three/index.js +1 -33
- package/libs/shared-utils/three/loadTexture.js +1 -10
- package/libs/shared-utils/three/transformPositionToVector3.js +1 -5
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +1 -13
- package/libs/shared-utils/throttle.js +1 -11
- package/libs/shared-utils/tinyEJSrender.js +14 -138
- package/libs/shared-utils/to.js +1 -11
- package/libs/shared-utils/uuid.js +1 -10
- package/libs/vendor/swiper/components-shared/get-changed-params.js +1 -0
- package/libs/vendor/swiper/components-shared/get-params.js +1 -0
- package/libs/vendor/swiper/components-shared/mount-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/params-list.js +1 -0
- package/libs/vendor/swiper/components-shared/update-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/utils.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -0
- package/libs/vendor/swiper/svelte/swiper.js +1 -0
- package/package.json +218 -31
- package/dist/style.css +0 -1
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/interfaces/CSS3DRenderPluginExportType.html +0 -4
- package/libs/CruisePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
- package/libs/GuideLinePlugin/utils/polyline-normals.d.js +0 -1
- package/libs/ItemLabelPlugin/events.type.js +0 -1
- package/libs/ModelRoomLabelPlugin/typings.js +0 -1
- package/libs/Object3DHelperPlugin/mocks/addObject3D.d.ts +0 -2
- package/libs/Object3DHelperPlugin/mocks/addObject3D.js +0 -1377
- package/libs/Object3DHelperPlugin/mocks/objects.d.ts +0 -7
- package/libs/Object3DHelperPlugin/mocks/objects.js +0 -47
- package/libs/Object3DHelperPlugin/typings.js +0 -1
- package/libs/PanoCompassPlugin/typings.js +0 -1
- package/libs/PanoDoorLabelPlugin/typings.js +0 -1
- package/libs/PanoMeasurePlugin/typings/data.js +0 -1
- package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
- package/libs/PanoMeasurePlugin/typings/index.js +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
- package/libs/PanoRulerPlugin/typings.js +0 -1
- package/libs/PanoRulerProPlugin/typings.js +0 -1
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
- package/libs/TagComputer.2bc444dc.js +0 -315
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +0 -11
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/typings/index.js +0 -1
- package/libs/floorplan/typings/utility.js +0 -1
- package/libs/hammer.b5b6115e.js +0 -882
- package/libs/index.164f1850.js +0 -641
- package/libs/index.5d5d1089.js +0 -34
- package/libs/index.6a0eead1.js +0 -12
- package/libs/index.ad783a2f.js +0 -31
- package/libs/index.dca207cb.js +0 -37
- package/libs/index.f2f85d71.js +0 -40
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +0 -6
- package/libs/shared-utils/Object3DHelper/utils/negateScale.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/utils/negateScale.js +0 -7
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.js +0 -4
- package/libs/shared-utils/Preloader.d.ts +0 -6
- package/libs/shared-utils/Preloader.js +0 -18
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- package/libs/shared-utils/getRandomColor.d.ts +0 -1
- package/libs/shared-utils/getRandomColor.js +0 -6
- package/libs/shared-utils/logger.d.ts +0 -16
- package/libs/shared-utils/logger.js +0 -27
- package/libs/shared-utils/math/evenNumber.d.ts +0 -3
- package/libs/shared-utils/math/evenNumber.js +0 -7
- package/libs/shared-utils/px2rem.d.ts +0 -1
- package/libs/shared-utils/px2rem.js +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.d.ts +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.js +0 -18
- package/libs/shared-utils/three/getNormal.d.ts +0 -2
- package/libs/shared-utils/three/getNormal.js +0 -7
- package/libs/shared-utils/three/getTextureLoader.d.ts +0 -6
- package/libs/shared-utils/three/getTextureLoader.js +0 -16
- package/libs/shared-utils/three/loadFbxObj.d.ts +0 -2
- package/libs/shared-utils/three/loadFbxObj.js +0 -16
- package/libs/shared-utils/vectorTocoordinates.d.ts +0 -7
- package/libs/shared-utils/vectorTocoordinates.js +0 -10
- package/libs/style.css +0 -1
- package/libs/tween.esm.bad2b2b4.js +0 -340
- package/libs/typings/math.type.js +0 -1
- package/libs/typings/utils.type.d.ts +0 -2
- package/libs/typings/utils.type.js +0 -1
|
@@ -1,231 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import ke from "../Common/Shadow.js";
|
|
3
|
-
import "../../../index.dca207cb.js";
|
|
4
|
-
import "../../../index.6a0eead1.js";
|
|
5
|
-
function ye(i) {
|
|
6
|
-
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
|
-
}
|
|
8
|
-
function $(i, t, e) {
|
|
9
|
-
const l = i.slice();
|
|
10
|
-
return l[0] = t[e], l;
|
|
11
|
-
}
|
|
12
|
-
function x(i, t, e) {
|
|
13
|
-
const l = i.slice();
|
|
14
|
-
return l[0] = t[e], l;
|
|
15
|
-
}
|
|
16
|
-
function ee(i) {
|
|
17
|
-
let t, e = i[0] + "", l;
|
|
18
|
-
return {
|
|
19
|
-
c() {
|
|
20
|
-
t = k("div"), l = R(e), g(t, "class", "base-tag primary-tag svelte-8mby9k");
|
|
21
|
-
},
|
|
22
|
-
m(n, o) {
|
|
23
|
-
S(n, t, o), f(t, l);
|
|
24
|
-
},
|
|
25
|
-
p(n, o) {
|
|
26
|
-
o & 4 && e !== (e = n[0] + "") && E(l, e);
|
|
27
|
-
},
|
|
28
|
-
d(n) {
|
|
29
|
-
n && T(t);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function te(i) {
|
|
34
|
-
let t, e = i[0] && ee(i);
|
|
35
|
-
return {
|
|
36
|
-
c() {
|
|
37
|
-
e && e.c(), t = me();
|
|
38
|
-
},
|
|
39
|
-
m(l, n) {
|
|
40
|
-
e && e.m(l, n), S(l, t, n);
|
|
41
|
-
},
|
|
42
|
-
p(l, n) {
|
|
43
|
-
l[0] ? e ? e.p(l, n) : (e = ee(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
44
|
-
},
|
|
45
|
-
d(l) {
|
|
46
|
-
e && e.d(l), l && T(t);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function le(i) {
|
|
51
|
-
let t, e = i[0] + "", l;
|
|
52
|
-
return {
|
|
53
|
-
c() {
|
|
54
|
-
t = k("div"), l = R(e), g(t, "class", "base-tag secondary-tag svelte-8mby9k");
|
|
55
|
-
},
|
|
56
|
-
m(n, o) {
|
|
57
|
-
S(n, t, o), f(t, l);
|
|
58
|
-
},
|
|
59
|
-
p(n, o) {
|
|
60
|
-
o & 4 && e !== (e = n[0] + "") && E(l, e);
|
|
61
|
-
},
|
|
62
|
-
d(n) {
|
|
63
|
-
n && T(t);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function ie(i) {
|
|
68
|
-
let t, e = i[0] && le(i);
|
|
69
|
-
return {
|
|
70
|
-
c() {
|
|
71
|
-
e && e.c(), t = me();
|
|
72
|
-
},
|
|
73
|
-
m(l, n) {
|
|
74
|
-
e && e.m(l, n), S(l, t, n);
|
|
75
|
-
},
|
|
76
|
-
p(l, n) {
|
|
77
|
-
l[0] ? e ? e.p(l, n) : (e = le(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
78
|
-
},
|
|
79
|
-
d(l) {
|
|
80
|
-
e && e.d(l), l && T(t);
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
function ne(i) {
|
|
85
|
-
let t, e, l = i[2].price.value + "", n, o, r = i[2].price.unit && ae(i);
|
|
86
|
-
return {
|
|
87
|
-
c() {
|
|
88
|
-
t = k("div"), e = k("span"), n = R(l), o = A(), r && r.c(), g(e, "class", "value svelte-8mby9k"), g(t, "class", "price svelte-8mby9k");
|
|
89
|
-
},
|
|
90
|
-
m(m, u) {
|
|
91
|
-
S(m, t, u), f(t, e), f(e, n), f(t, o), r && r.m(t, null);
|
|
92
|
-
},
|
|
93
|
-
p(m, u) {
|
|
94
|
-
u & 4 && l !== (l = m[2].price.value + "") && E(n, l), m[2].price.unit ? r ? r.p(m, u) : (r = ae(m), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
95
|
-
},
|
|
96
|
-
d(m) {
|
|
97
|
-
m && T(t), r && r.d();
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
function ae(i) {
|
|
102
|
-
let t, e = i[2].price.unit + "", l;
|
|
103
|
-
return {
|
|
104
|
-
c() {
|
|
105
|
-
t = k("span"), l = R(e), g(t, "class", "unit svelte-8mby9k");
|
|
106
|
-
},
|
|
107
|
-
m(n, o) {
|
|
108
|
-
S(n, t, o), f(t, l);
|
|
109
|
-
},
|
|
110
|
-
p(n, o) {
|
|
111
|
-
o & 4 && e !== (e = n[2].price.unit + "") && E(l, e);
|
|
112
|
-
},
|
|
113
|
-
d(n) {
|
|
114
|
-
n && T(t);
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
function re(i) {
|
|
119
|
-
let t, e = i[2].highlightText + "", l;
|
|
120
|
-
return {
|
|
121
|
-
c() {
|
|
122
|
-
t = k("div"), l = R(e), g(t, "class", "goto-button goto-icon svelte-8mby9k");
|
|
123
|
-
},
|
|
124
|
-
m(n, o) {
|
|
125
|
-
S(n, t, o), f(t, l);
|
|
126
|
-
},
|
|
127
|
-
p(n, o) {
|
|
128
|
-
o & 4 && e !== (e = n[2].highlightText + "") && E(l, e);
|
|
129
|
-
},
|
|
130
|
-
d(n) {
|
|
131
|
-
n && T(t);
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
function _e(i) {
|
|
136
|
-
var O, Z;
|
|
137
|
-
let t, e, l, n, o, r, m, u, G, _, F, P, B, U, Y = i[2].title + "", J, N, y, M, w;
|
|
138
|
-
e = new ke({
|
|
139
|
-
props: {
|
|
140
|
-
visible: i[1],
|
|
141
|
-
outDelay: 500,
|
|
142
|
-
left: 61,
|
|
143
|
-
bottom: 87,
|
|
144
|
-
blurRadius: 150,
|
|
145
|
-
spreadRadius: 75
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
let z = i[2].brandTags || [], b = [];
|
|
149
|
-
for (let a = 0; a < z.length; a += 1)
|
|
150
|
-
b[a] = te(x(i, z, a));
|
|
151
|
-
let C = i[2].tags || [], h = [];
|
|
152
|
-
for (let a = 0; a < C.length; a += 1)
|
|
153
|
-
h[a] = ie($(i, C, a));
|
|
154
|
-
let v = ((O = i[2].price) == null ? void 0 : O.value) !== void 0 && ((Z = i[2].price) == null ? void 0 : Z.value) !== null && ne(i), p = i[2].highlightText && re(i);
|
|
155
|
-
return {
|
|
156
|
-
c() {
|
|
157
|
-
var a, d;
|
|
158
|
-
t = k("div"), ue(e.$$.fragment), l = A(), n = k("div"), o = A(), r = k("div"), m = k("img"), G = A(), _ = k("div");
|
|
159
|
-
for (let c = 0; c < b.length; c += 1)
|
|
160
|
-
b[c].c();
|
|
161
|
-
F = A();
|
|
162
|
-
for (let c = 0; c < h.length; c += 1)
|
|
163
|
-
h[c].c();
|
|
164
|
-
P = A(), B = k("div"), U = k("div"), J = R(Y), N = A(), y = k("div"), v && v.c(), M = A(), p && p.c(), g(n, "class", "line svelte-8mby9k"), D(n, "transition-delay", i[1] ? L + "ms" : V + oe - se - 40 + "ms"), g(m, "class", "headerImage svelte-8mby9k"), K(m.src, u = i[2].headerPictureUrl) || g(m, "src", u), g(m, "alt", ""), g(_, "class", "tag svelte-8mby9k"), g(U, "class", "text svelte-8mby9k"), g(B, "class", "title svelte-8mby9k"), g(y, "class", "footer svelte-8mby9k"), D(y, "height", ((a = i[2].price) == null ? void 0 : a.value) !== void 0 && ((d = i[2].price) == null ? void 0 : d.value) !== null && i[2].highlightText ? void 0 : "1rem"), g(r, "class", "content svelte-8mby9k"), D(r, "transition-delay", i[1] ? L + V + "ms" : "0ms"), g(t, "class", "marketing svelte-8mby9k"), q(t, "unfolded", i[1]), q(t, "folded", i[3]);
|
|
165
|
-
},
|
|
166
|
-
m(a, d) {
|
|
167
|
-
S(a, t, d), be(e, t, null), f(t, l), f(t, n), f(t, o), f(t, r), f(r, m), f(r, G), f(r, _);
|
|
168
|
-
for (let c = 0; c < b.length; c += 1)
|
|
169
|
-
b[c].m(_, null);
|
|
170
|
-
f(_, F);
|
|
171
|
-
for (let c = 0; c < h.length; c += 1)
|
|
172
|
-
h[c].m(_, null);
|
|
173
|
-
f(r, P), f(r, B), f(B, U), f(U, J), f(r, N), f(r, y), v && v.m(y, null), f(y, M), p && p.m(y, null), w = !0;
|
|
174
|
-
},
|
|
175
|
-
p(a, [d]) {
|
|
176
|
-
var Q, X, j, H;
|
|
177
|
-
const c = {};
|
|
178
|
-
if (d & 2 && (c.visible = a[1]), e.$set(c), d & 2 && D(n, "transition-delay", a[1] ? L + "ms" : V + oe - se - 40 + "ms"), (!w || d & 4 && !K(m.src, u = a[2].headerPictureUrl)) && g(m, "src", u), d & 4) {
|
|
179
|
-
z = a[2].brandTags || [];
|
|
180
|
-
let s;
|
|
181
|
-
for (s = 0; s < z.length; s += 1) {
|
|
182
|
-
const I = x(a, z, s);
|
|
183
|
-
b[s] ? b[s].p(I, d) : (b[s] = te(I), b[s].c(), b[s].m(_, F));
|
|
184
|
-
}
|
|
185
|
-
for (; s < b.length; s += 1)
|
|
186
|
-
b[s].d(1);
|
|
187
|
-
b.length = z.length;
|
|
188
|
-
}
|
|
189
|
-
if (d & 4) {
|
|
190
|
-
C = a[2].tags || [];
|
|
191
|
-
let s;
|
|
192
|
-
for (s = 0; s < C.length; s += 1) {
|
|
193
|
-
const I = $(a, C, s);
|
|
194
|
-
h[s] ? h[s].p(I, d) : (h[s] = ie(I), h[s].c(), h[s].m(_, null));
|
|
195
|
-
}
|
|
196
|
-
for (; s < h.length; s += 1)
|
|
197
|
-
h[s].d(1);
|
|
198
|
-
h.length = C.length;
|
|
199
|
-
}
|
|
200
|
-
(!w || d & 4) && Y !== (Y = a[2].title + "") && E(J, Y), ((Q = a[2].price) == null ? void 0 : Q.value) !== void 0 && ((X = a[2].price) == null ? void 0 : X.value) !== null ? v ? v.p(a, d) : (v = ne(a), v.c(), v.m(y, M)) : v && (v.d(1), v = null), a[2].highlightText ? p ? p.p(a, d) : (p = re(a), p.c(), p.m(y, null)) : p && (p.d(1), p = null), d & 4 && D(y, "height", ((j = a[2].price) == null ? void 0 : j.value) !== void 0 && ((H = a[2].price) == null ? void 0 : H.value) !== null && a[2].highlightText ? void 0 : "1rem"), d & 2 && D(r, "transition-delay", a[1] ? L + V + "ms" : "0ms"), (!w || d & 2) && q(t, "unfolded", a[1]), (!w || d & 8) && q(t, "folded", a[3]);
|
|
201
|
-
},
|
|
202
|
-
i(a) {
|
|
203
|
-
w || (he(e.$$.fragment, a), w = !0);
|
|
204
|
-
},
|
|
205
|
-
o(a) {
|
|
206
|
-
ve(e.$$.fragment, a), w = !1;
|
|
207
|
-
},
|
|
208
|
-
d(a) {
|
|
209
|
-
a && T(t), pe(e), W(b, a), W(h, a), v && v.d(), p && p.d();
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
const L = 400, se = 500, V = 180, oe = 500;
|
|
214
|
-
function we(i, t, e) {
|
|
215
|
-
let l, n, o;
|
|
216
|
-
var r, m;
|
|
217
|
-
let { tag: u } = t;
|
|
218
|
-
return i.$$set = (G) => {
|
|
219
|
-
"tag" in G && e(0, u = G.tag);
|
|
220
|
-
}, i.$$.update = () => {
|
|
221
|
-
i.$$.dirty & 49 && e(1, l = e(5, m = e(4, r = u.state) === null || r === void 0 ? void 0 : r.unfolded) !== null && m !== void 0 ? m : !1), i.$$.dirty & 2 && e(3, n = !l), i.$$.dirty & 1 && e(2, o = u.data);
|
|
222
|
-
}, [u, l, o, n, r, m];
|
|
223
|
-
}
|
|
224
|
-
class Ce extends fe {
|
|
225
|
-
constructor(t) {
|
|
226
|
-
super(), de(this, t, we, _e, ce, { tag: 0 }, ye);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
export {
|
|
230
|
-
Ce as default
|
|
231
|
-
};
|
|
1
|
+
"use strict";const e=require("svelte/internal"),$=require("../Common/Shadow.js");function x(n){e.append_styles(n,"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}")}function F(n,l,t){const i=n.slice();return i[0]=l[t],i}function J(n,l,t){const i=n.slice();return i[0]=l[t],i}function N(n){let l,t=n[0]+"",i;return{c(){l=e.element("div"),i=e.text(t),e.attr(l,"class","base-tag primary-tag svelte-8mby9k")},m(a,m){e.insert(a,l,m),e.append(l,i)},p(a,m){m&4&&t!==(t=a[0]+"")&&e.set_data(i,t)},d(a){a&&e.detach(l)}}}function O(n){let l,t=n[0]&&N(n);return{c(){t&&t.c(),l=e.empty()},m(i,a){t&&t.m(i,a),e.insert(i,l,a)},p(i,a){i[0]?t?t.p(i,a):(t=N(i),t.c(),t.m(l.parentNode,l)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&e.detach(l)}}}function Z(n){let l,t=n[0]+"",i;return{c(){l=e.element("div"),i=e.text(t),e.attr(l,"class","base-tag secondary-tag svelte-8mby9k")},m(a,m){e.insert(a,l,m),e.append(l,i)},p(a,m){m&4&&t!==(t=a[0]+"")&&e.set_data(i,t)},d(a){a&&e.detach(l)}}}function Q(n){let l,t=n[0]&&Z(n);return{c(){t&&t.c(),l=e.empty()},m(i,a){t&&t.m(i,a),e.insert(i,l,a)},p(i,a){i[0]?t?t.p(i,a):(t=Z(i),t.c(),t.m(l.parentNode,l)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&e.detach(l)}}}function X(n){let l,t,i=n[2].price.value+"",a,m,s=n[2].price.unit&&j(n);return{c(){l=e.element("div"),t=e.element("span"),a=e.text(i),m=e.space(),s&&s.c(),e.attr(t,"class","value svelte-8mby9k"),e.attr(l,"class","price svelte-8mby9k")},m(d,b){e.insert(d,l,b),e.append(l,t),e.append(t,a),e.append(l,m),s&&s.m(l,null)},p(d,b){b&4&&i!==(i=d[2].price.value+"")&&e.set_data(a,i),d[2].price.unit?s?s.p(d,b):(s=j(d),s.c(),s.m(l,null)):s&&(s.d(1),s=null)},d(d){d&&e.detach(l),s&&s.d()}}}function j(n){let l,t=n[2].price.unit+"",i;return{c(){l=e.element("span"),i=e.text(t),e.attr(l,"class","unit svelte-8mby9k")},m(a,m){e.insert(a,l,m),e.append(l,i)},p(a,m){m&4&&t!==(t=a[2].price.unit+"")&&e.set_data(i,t)},d(a){a&&e.detach(l)}}}function H(n){let l,t=n[2].highlightText+"",i;return{c(){l=e.element("div"),i=e.text(t),e.attr(l,"class","goto-button goto-icon svelte-8mby9k")},m(a,m){e.insert(a,l,m),e.append(l,i)},p(a,m){m&4&&t!==(t=a[2].highlightText+"")&&e.set_data(i,t)},d(a){a&&e.detach(l)}}}function ee(n){var P,U;let l,t,i,a,m,s,d,b,G,k,D,B,S,T,C=n[2].title+"",E,I,v,q,_;t=new $.Shadow({props:{visible:n[1],outDelay:500,left:61,bottom:87,blurRadius:150,spreadRadius:75}});let y=n[2].brandTags||[],p=[];for(let r=0;r<y.length;r+=1)p[r]=O(J(n,y,r));let w=n[2].tags||[],g=[];for(let r=0;r<w.length;r+=1)g[r]=Q(F(n,w,r));let u=((P=n[2].price)==null?void 0:P.value)!==void 0&&((U=n[2].price)==null?void 0:U.value)!==null&&X(n),h=n[2].highlightText&&H(n);return{c(){var r,f;l=e.element("div"),e.create_component(t.$$.fragment),i=e.space(),a=e.element("div"),m=e.space(),s=e.element("div"),d=e.element("img"),G=e.space(),k=e.element("div");for(let c=0;c<p.length;c+=1)p[c].c();D=e.space();for(let c=0;c<g.length;c+=1)g[c].c();B=e.space(),S=e.element("div"),T=e.element("div"),E=e.text(C),I=e.space(),v=e.element("div"),u&&u.c(),q=e.space(),h&&h.c(),e.attr(a,"class","line svelte-8mby9k"),e.set_style(a,"transition-delay",n[1]?z+"ms":R+W-K-40+"ms",!1),e.attr(d,"class","headerImage svelte-8mby9k"),e.src_url_equal(d.src,b=n[2].headerPictureUrl)||e.attr(d,"src",b),e.attr(d,"alt",""),e.attr(k,"class","tag svelte-8mby9k"),e.attr(T,"class","text svelte-8mby9k"),e.attr(S,"class","title svelte-8mby9k"),e.attr(v,"class","footer svelte-8mby9k"),e.set_style(v,"height",((r=n[2].price)==null?void 0:r.value)!==void 0&&((f=n[2].price)==null?void 0:f.value)!==null&&n[2].highlightText?void 0:"1rem",!1),e.attr(s,"class","content svelte-8mby9k"),e.set_style(s,"transition-delay",n[1]?z+R+"ms":"0ms",!1),e.attr(l,"class","marketing svelte-8mby9k"),e.toggle_class(l,"unfolded",n[1]),e.toggle_class(l,"folded",n[3])},m(r,f){e.insert(r,l,f),e.mount_component(t,l,null),e.append(l,i),e.append(l,a),e.append(l,m),e.append(l,s),e.append(s,d),e.append(s,G),e.append(s,k);for(let c=0;c<p.length;c+=1)p[c].m(k,null);e.append(k,D);for(let c=0;c<g.length;c+=1)g[c].m(k,null);e.append(s,B),e.append(s,S),e.append(S,T),e.append(T,E),e.append(s,I),e.append(s,v),u&&u.m(v,null),e.append(v,q),h&&h.m(v,null),_=!0},p(r,[f]){var Y,L,M,V;const c={};if(f&2&&(c.visible=r[1]),t.$set(c),f&2&&e.set_style(a,"transition-delay",r[1]?z+"ms":R+W-K-40+"ms",!1),(!_||f&4&&!e.src_url_equal(d.src,b=r[2].headerPictureUrl))&&e.attr(d,"src",b),f&4){y=r[2].brandTags||[];let o;for(o=0;o<y.length;o+=1){const A=J(r,y,o);p[o]?p[o].p(A,f):(p[o]=O(A),p[o].c(),p[o].m(k,D))}for(;o<p.length;o+=1)p[o].d(1);p.length=y.length}if(f&4){w=r[2].tags||[];let o;for(o=0;o<w.length;o+=1){const A=F(r,w,o);g[o]?g[o].p(A,f):(g[o]=Q(A),g[o].c(),g[o].m(k,null))}for(;o<g.length;o+=1)g[o].d(1);g.length=w.length}(!_||f&4)&&C!==(C=r[2].title+"")&&e.set_data(E,C),((Y=r[2].price)==null?void 0:Y.value)!==void 0&&((L=r[2].price)==null?void 0:L.value)!==null?u?u.p(r,f):(u=X(r),u.c(),u.m(v,q)):u&&(u.d(1),u=null),r[2].highlightText?h?h.p(r,f):(h=H(r),h.c(),h.m(v,null)):h&&(h.d(1),h=null),f&4&&e.set_style(v,"height",((M=r[2].price)==null?void 0:M.value)!==void 0&&((V=r[2].price)==null?void 0:V.value)!==null&&r[2].highlightText?void 0:"1rem",!1),f&2&&e.set_style(s,"transition-delay",r[1]?z+R+"ms":"0ms",!1),f&2&&e.toggle_class(l,"unfolded",r[1]),f&8&&e.toggle_class(l,"folded",r[3])},i(r){_||(e.transition_in(t.$$.fragment,r),_=!0)},o(r){e.transition_out(t.$$.fragment,r),_=!1},d(r){r&&e.detach(l),e.destroy_component(t),e.destroy_each(p,r),e.destroy_each(g,r),u&&u.d(),h&&h.d()}}}const z=400,K=500,R=180,W=500;function te(n,l,t){let i,a,m,{tag:s}=l;return n.$$set=d=>{"tag"in d&&t(0,s=d.tag)},n.$$.update=()=>{var d,b;n.$$.dirty&1&&t(1,i=(b=(d=s.state)==null?void 0:d.unfolded)!=null?b:!1),n.$$.dirty&2&&t(3,a=!i),n.$$.dirty&1&&t(2,m=s.data)},[s,i,m,a]}class le extends e.SvelteComponent{constructor(l){super(),e.init(this,l,te,ee,e.safe_not_equal,{tag:0},x)}}exports.MarketingTag=le;
|
|
@@ -1,95 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import P from "../Common/Media.js";
|
|
3
|
-
import "../../../index.dca207cb.js";
|
|
4
|
-
import "../../../index.6a0eead1.js";
|
|
5
|
-
import "three";
|
|
6
|
-
import "../../utils/noTypecheck.js";
|
|
7
|
-
import "../Common/MediaItem.js";
|
|
8
|
-
import "../../Assets/Icon.js";
|
|
9
|
-
import "../../../shared-utils/isNil.js";
|
|
10
|
-
function S(a) {
|
|
11
|
-
h(a, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
12
|
-
}
|
|
13
|
-
function c(a) {
|
|
14
|
-
let n, o, t;
|
|
15
|
-
return o = new P({
|
|
16
|
-
props: {
|
|
17
|
-
unfolded: a[5],
|
|
18
|
-
mediaData: a[4],
|
|
19
|
-
objectFit: a[2],
|
|
20
|
-
enableCarousel: a[1],
|
|
21
|
-
autoplayConfig: a[3],
|
|
22
|
-
tag: a[0],
|
|
23
|
-
canPlay: !0,
|
|
24
|
-
playButtonIfNeed: "large",
|
|
25
|
-
inDelay: 500,
|
|
26
|
-
duration: 500
|
|
27
|
-
}
|
|
28
|
-
}), {
|
|
29
|
-
c() {
|
|
30
|
-
n = k("div"), D(o.$$.fragment), v(n, "class", "media-wrapper svelte-10cw0el");
|
|
31
|
-
},
|
|
32
|
-
m(e, i) {
|
|
33
|
-
_(e, n, i), F(o, n, null), t = !0;
|
|
34
|
-
},
|
|
35
|
-
p(e, i) {
|
|
36
|
-
const r = {};
|
|
37
|
-
i & 32 && (r.unfolded = e[5]), i & 16 && (r.mediaData = e[4]), i & 4 && (r.objectFit = e[2]), i & 2 && (r.enableCarousel = e[1]), i & 8 && (r.autoplayConfig = e[3]), i & 1 && (r.tag = e[0]), o.$set(r);
|
|
38
|
-
},
|
|
39
|
-
i(e) {
|
|
40
|
-
t || (f(o.$$.fragment, e), t = !0);
|
|
41
|
-
},
|
|
42
|
-
o(e) {
|
|
43
|
-
d(o.$$.fragment, e), t = !1;
|
|
44
|
-
},
|
|
45
|
-
d(e) {
|
|
46
|
-
e && g(n), M(o);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function q(a) {
|
|
51
|
-
let n, o, t = a[0].state && a[4] && c(a);
|
|
52
|
-
return {
|
|
53
|
-
c() {
|
|
54
|
-
t && t.c(), n = w();
|
|
55
|
-
},
|
|
56
|
-
m(e, i) {
|
|
57
|
-
t && t.m(e, i), _(e, n, i), o = !0;
|
|
58
|
-
},
|
|
59
|
-
p(e, [i]) {
|
|
60
|
-
e[0].state && e[4] ? t ? (t.p(e, i), i & 17 && f(t, 1)) : (t = c(e), t.c(), f(t, 1), t.m(n.parentNode, n)) : t && (N(), d(t, 1, 1, () => {
|
|
61
|
-
t = null;
|
|
62
|
-
}), j());
|
|
63
|
-
},
|
|
64
|
-
i(e) {
|
|
65
|
-
o || (f(t), o = !0);
|
|
66
|
-
},
|
|
67
|
-
o(e) {
|
|
68
|
-
d(t), o = !1;
|
|
69
|
-
},
|
|
70
|
-
d(e) {
|
|
71
|
-
t && t.d(e), e && g(n);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
function B(a, n, o) {
|
|
76
|
-
let t, e, i, r, p;
|
|
77
|
-
var s, u;
|
|
78
|
-
let { tag: l } = n;
|
|
79
|
-
return a.$$set = (m) => {
|
|
80
|
-
"tag" in m && o(0, l = m.tag);
|
|
81
|
-
}, a.$$.update = () => {
|
|
82
|
-
a.$$.dirty & 1 && o(5, t = l.state ? l.state.unfolded : !1), a.$$.dirty & 1 && o(4, e = l.data.mediaData), a.$$.dirty & 1 && o(1, i = l.data.enableCarousel), a.$$.dirty & 67 && o(3, r = o(6, s = l.data.autoplayConfig) !== null && s !== void 0 ? s : {
|
|
83
|
-
autoplay: i != null ? i : !0,
|
|
84
|
-
autoplayVideo: !0
|
|
85
|
-
}), a.$$.dirty & 129 && o(2, p = o(7, u = l.data.objectFit) !== null && u !== void 0 ? u : (() => l.data.adaptationMode === "stretch" ? "cover" : l.data.adaptationMode === "proportional" ? "contain" : void 0)());
|
|
86
|
-
}, [l, i, p, r, e, t, s, u];
|
|
87
|
-
}
|
|
88
|
-
class L extends b {
|
|
89
|
-
constructor(n) {
|
|
90
|
-
super(), y(this, n, B, q, C, { tag: 0 }, S);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
export {
|
|
94
|
-
L as default
|
|
95
|
-
};
|
|
1
|
+
"use strict";const a=require("svelte/internal"),p=require("../Common/Media.js");function m(n){a.append_styles(n,"svelte-10cw0el",".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}")}function c(n){let r,o,t;return o=new p.Media({props:{unfolded:n[5],mediaData:n[4],objectFit:n[2],enableCarousel:n[1],autoplayConfig:n[3],tag:n[0],canPlay:!0,playButtonIfNeed:"large",inDelay:500,duration:500}}),{c(){r=a.element("div"),a.create_component(o.$$.fragment),a.attr(r,"class","media-wrapper svelte-10cw0el")},m(e,i){a.insert(e,r,i),a.mount_component(o,r,null),t=!0},p(e,i){const l={};i&32&&(l.unfolded=e[5]),i&16&&(l.mediaData=e[4]),i&4&&(l.objectFit=e[2]),i&2&&(l.enableCarousel=e[1]),i&8&&(l.autoplayConfig=e[3]),i&1&&(l.tag=e[0]),o.$set(l)},i(e){t||(a.transition_in(o.$$.fragment,e),t=!0)},o(e){a.transition_out(o.$$.fragment,e),t=!1},d(e){e&&a.detach(r),a.destroy_component(o)}}}function _(n){let r,o,t=n[0].state&&n[4]&&c(n);return{c(){t&&t.c(),r=a.empty()},m(e,i){t&&t.m(e,i),a.insert(e,r,i),o=!0},p(e,[i]){e[0].state&&e[4]?t?(t.p(e,i),i&17&&a.transition_in(t,1)):(t=c(e),t.c(),a.transition_in(t,1),t.m(r.parentNode,r)):t&&(a.group_outros(),a.transition_out(t,1,1,()=>{t=null}),a.check_outros())},i(e){o||(a.transition_in(t),o=!0)},o(e){a.transition_out(t),o=!1},d(e){t&&t.d(e),e&&a.detach(r)}}}function g(n,r,o){let t,e,i,l,d,{tag:u}=r;return n.$$set=s=>{"tag"in s&&o(0,u=s.tag)},n.$$.update=()=>{var s,f;n.$$.dirty&1&&o(5,t=u.state?u.state.unfolded:!1),n.$$.dirty&1&&o(4,e=u.data.mediaData),n.$$.dirty&1&&o(1,i=u.data.enableCarousel),n.$$.dirty&3&&o(3,l=(s=u.data.autoplayConfig)!=null?s:{autoplay:i!=null?i:!0,autoplayVideo:!0}),n.$$.dirty&1&&o(2,d=(f=u.data.objectFit)!=null?f:(()=>u.data.adaptationMode==="stretch"?"cover":u.data.adaptationMode==="proportional"?"contain":void 0)())},[u,i,d,l,e,t]}class y extends a.SvelteComponent{constructor(r){super(),a.init(this,r,g,_,a.safe_not_equal,{tag:0},m)}}exports.MediaPlane=y;
|
|
@@ -1,134 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import F from "../Common/Line/Straight.js";
|
|
3
|
-
import G from "../../../shared-utils/uuid.js";
|
|
4
|
-
import H from "../Common/Shadow.js";
|
|
5
|
-
import J from "../Common/MultiLineText.js";
|
|
6
|
-
import "../../../index.dca207cb.js";
|
|
7
|
-
import "../../../index.6a0eead1.js";
|
|
8
|
-
import "../Common/Text.js";
|
|
9
|
-
import "../../../shared-utils/isNil.js";
|
|
10
|
-
import "three";
|
|
11
|
-
import "../../utils/search.js";
|
|
12
|
-
import "../../utils/constants.js";
|
|
13
|
-
import "../Common/Arrow.js";
|
|
14
|
-
import "../../Assets/Icon.js";
|
|
15
|
-
import "../../utils/doUtil.js";
|
|
16
|
-
function O(i) {
|
|
17
|
-
A(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}");
|
|
18
|
-
}
|
|
19
|
-
function q(i) {
|
|
20
|
-
var w, _;
|
|
21
|
-
let s, o, e, n, f, r, a, d, m, u, b;
|
|
22
|
-
return s = new H({
|
|
23
|
-
props: {
|
|
24
|
-
visible: i[2],
|
|
25
|
-
left: i[3] / 2 + "px",
|
|
26
|
-
bottom: 12,
|
|
27
|
-
width: 2,
|
|
28
|
-
blurRadius: 120,
|
|
29
|
-
spreadRadius: 60
|
|
30
|
-
}
|
|
31
|
-
}), n = new F({
|
|
32
|
-
props: {
|
|
33
|
-
unfolded: i[2],
|
|
34
|
-
duration: 1e3,
|
|
35
|
-
outDelay: i[5] + 40 * Math.min((_ = (w = i[4][0]) == null ? void 0 : w.content.length) != null ? _ : 10, 15)
|
|
36
|
-
}
|
|
37
|
-
}), a = new J({
|
|
38
|
-
props: {
|
|
39
|
-
visible: i[2],
|
|
40
|
-
textUnfolded: i[1],
|
|
41
|
-
textItems: i[4]
|
|
42
|
-
}
|
|
43
|
-
}), {
|
|
44
|
-
c() {
|
|
45
|
-
x(s.$$.fragment), o = U(), e = D("div"), x(n.$$.fragment), f = U(), r = D("div"), x(a.$$.fragment), I(e, "class", "line svelte-18yy5x8"), M(e, "width", i[3] + "px"), I(r, "class", "content svelte-18yy5x8"), L(() => i[9].call(r));
|
|
46
|
-
},
|
|
47
|
-
m(t, l) {
|
|
48
|
-
z(s, t, l), h(t, o, l), h(t, e, l), z(n, e, null), h(t, f, l), h(t, r, l), z(a, r, null), d = N(r, i[9].bind(r)), m = !0, u || (b = B(r, "click", i[6]), u = !0);
|
|
49
|
-
},
|
|
50
|
-
p(t, l) {
|
|
51
|
-
var $, S;
|
|
52
|
-
const v = {};
|
|
53
|
-
l & 4 && (v.visible = t[2]), l & 8 && (v.left = t[3] / 2 + "px"), s.$set(v);
|
|
54
|
-
const k = {};
|
|
55
|
-
l & 4 && (k.unfolded = t[2]), l & 48 && (k.outDelay = t[5] + 40 * Math.min((S = ($ = t[4][0]) == null ? void 0 : $.content.length) != null ? S : 10, 15)), n.$set(k), l & 8 && M(e, "width", t[3] + "px");
|
|
56
|
-
const y = {};
|
|
57
|
-
l & 4 && (y.visible = t[2]), l & 2 && (y.textUnfolded = t[1]), l & 16 && (y.textItems = t[4]), a.$set(y);
|
|
58
|
-
},
|
|
59
|
-
i(t) {
|
|
60
|
-
m || (p(s.$$.fragment, t), p(n.$$.fragment, t), p(a.$$.fragment, t), m = !0);
|
|
61
|
-
},
|
|
62
|
-
o(t) {
|
|
63
|
-
g(s.$$.fragment, t), g(n.$$.fragment, t), g(a.$$.fragment, t), m = !1;
|
|
64
|
-
},
|
|
65
|
-
d(t) {
|
|
66
|
-
T(s, t), t && c(o), t && c(e), T(n), t && c(f), t && c(r), T(a), d(), u = !1, b();
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function P(i) {
|
|
71
|
-
let s, o, e = i[0].state && q(i);
|
|
72
|
-
return {
|
|
73
|
-
c() {
|
|
74
|
-
e && e.c(), s = C();
|
|
75
|
-
},
|
|
76
|
-
m(n, f) {
|
|
77
|
-
e && e.m(n, f), h(n, s, f), o = !0;
|
|
78
|
-
},
|
|
79
|
-
p(n, [f]) {
|
|
80
|
-
n[0].state ? e ? (e.p(n, f), f & 1 && p(e, 1)) : (e = q(n), e.c(), p(e, 1), e.m(s.parentNode, s)) : e && (E(), g(e, 1, 1, () => {
|
|
81
|
-
e = null;
|
|
82
|
-
}), K());
|
|
83
|
-
},
|
|
84
|
-
i(n) {
|
|
85
|
-
o || (p(e), o = !0);
|
|
86
|
-
},
|
|
87
|
-
o(n) {
|
|
88
|
-
g(e), o = !1;
|
|
89
|
-
},
|
|
90
|
-
d(n) {
|
|
91
|
-
e && e.d(n), n && c(s);
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
function Q(i, s, o) {
|
|
96
|
-
let e, n, f;
|
|
97
|
-
var r;
|
|
98
|
-
let { tag: a } = s, d, m = !1, u = [];
|
|
99
|
-
function b() {
|
|
100
|
-
o(1, m = !m);
|
|
101
|
-
}
|
|
102
|
-
function w() {
|
|
103
|
-
d = this.clientWidth, o(3, d);
|
|
104
|
-
}
|
|
105
|
-
return i.$$set = (_) => {
|
|
106
|
-
"tag" in _ && o(0, a = _.tag);
|
|
107
|
-
}, i.$$.update = () => {
|
|
108
|
-
i.$$.dirty & 129 && o(2, e = !!(!(o(7, r = a.state) === null || r === void 0) && r.unfolded)), i.$$.dirty & 1 && o(8, n = a.data.text), i.$$.dirty & 256 && o(4, u = [{ id: G(), content: n }]), i.$$.dirty & 4 && (e || setTimeout(
|
|
109
|
-
() => {
|
|
110
|
-
o(1, m = !1);
|
|
111
|
-
},
|
|
112
|
-
20
|
|
113
|
-
)), i.$$.dirty & 2 && o(5, f = m ? 450 : 0);
|
|
114
|
-
}, [
|
|
115
|
-
a,
|
|
116
|
-
m,
|
|
117
|
-
e,
|
|
118
|
-
d,
|
|
119
|
-
u,
|
|
120
|
-
f,
|
|
121
|
-
b,
|
|
122
|
-
r,
|
|
123
|
-
n,
|
|
124
|
-
w
|
|
125
|
-
];
|
|
126
|
-
}
|
|
127
|
-
class de extends R {
|
|
128
|
-
constructor(s) {
|
|
129
|
-
super(), W(this, s, Q, P, j, { tag: 0 }, O);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export {
|
|
133
|
-
de as default
|
|
134
|
-
};
|
|
1
|
+
"use strict";const e=require("svelte/internal"),C=require("../Common/Line/Straight.js"),x=require("../../../shared-utils/uuid.js"),S=require("../Common/Shadow.js"),$=require("../Common/MultiLineText.js");function k(i){e.append_styles(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}")}function v(i){var d,b;let s,r,t,o,u,l,f,m,_,p,c;return s=new S.Shadow({props:{visible:i[2],left:i[3]/2+"px",bottom:12,width:2,blurRadius:120,spreadRadius:60}}),o=new C.Straight({props:{unfolded:i[2],duration:1e3,outDelay:i[5]+40*Math.min((b=(d=i[4][0])==null?void 0:d.content.length)!=null?b:10,15)}}),f=new $.MultiLineText({props:{visible:i[2],textUnfolded:i[1],textItems:i[4]}}),{c(){e.create_component(s.$$.fragment),r=e.space(),t=e.element("div"),e.create_component(o.$$.fragment),u=e.space(),l=e.element("div"),e.create_component(f.$$.fragment),e.attr(t,"class","line svelte-18yy5x8"),e.set_style(t,"width",i[3]+"px",!1),e.attr(l,"class","content svelte-18yy5x8"),e.add_render_callback(()=>i[8].call(l))},m(n,a){e.mount_component(s,n,a),e.insert(n,r,a),e.insert(n,t,a),e.mount_component(o,t,null),e.insert(n,u,a),e.insert(n,l,a),e.mount_component(f,l,null),m=e.add_resize_listener(l,i[8].bind(l)),_=!0,p||(c=e.listen(l,"click",i[6]),p=!0)},p(n,a){var y,T;const g={};a&4&&(g.visible=n[2]),a&8&&(g.left=n[3]/2+"px"),s.$set(g);const w={};a&4&&(w.unfolded=n[2]),a&48&&(w.outDelay=n[5]+40*Math.min((T=(y=n[4][0])==null?void 0:y.content.length)!=null?T:10,15)),o.$set(w),a&8&&e.set_style(t,"width",n[3]+"px",!1);const h={};a&4&&(h.visible=n[2]),a&2&&(h.textUnfolded=n[1]),a&16&&(h.textItems=n[4]),f.$set(h)},i(n){_||(e.transition_in(s.$$.fragment,n),e.transition_in(o.$$.fragment,n),e.transition_in(f.$$.fragment,n),_=!0)},o(n){e.transition_out(s.$$.fragment,n),e.transition_out(o.$$.fragment,n),e.transition_out(f.$$.fragment,n),_=!1},d(n){e.destroy_component(s,n),n&&e.detach(r),n&&e.detach(t),e.destroy_component(o),n&&e.detach(u),n&&e.detach(l),e.destroy_component(f),m(),p=!1,c()}}}function q(i){let s,r,t=i[0].state&&v(i);return{c(){t&&t.c(),s=e.empty()},m(o,u){t&&t.m(o,u),e.insert(o,s,u),r=!0},p(o,[u]){o[0].state?t?(t.p(o,u),u&1&&e.transition_in(t,1)):(t=v(o),t.c(),e.transition_in(t,1),t.m(s.parentNode,s)):t&&(e.group_outros(),e.transition_out(t,1,1,()=>{t=null}),e.check_outros())},i(o){r||(e.transition_in(t),r=!0)},o(o){e.transition_out(t),r=!1},d(o){t&&t.d(o),o&&e.detach(s)}}}function z(i,s,r){let t,o,u,{tag:l}=s,f,m=!1,_=[];function p(){r(1,m=!m)}function c(){f=this.clientWidth,r(3,f)}return i.$$set=d=>{"tag"in d&&r(0,l=d.tag)},i.$$.update=()=>{var d;i.$$.dirty&1&&r(2,t=!!((d=l.state)!=null&&d.unfolded)),i.$$.dirty&1&&r(7,o=l.data.text),i.$$.dirty&128&&r(4,_=[{id:x.uuid(),content:o}]),i.$$.dirty&4&&(t||setTimeout(()=>{r(1,m=!1)},20)),i.$$.dirty&2&&r(5,u=m?450:0)},[l,m,t,f,_,u,p,o,c]}class P extends e.SvelteComponent{constructor(s){super(),e.init(this,s,z,q,e.safe_not_equal,{tag:0},k)}}exports.TextTag=P;
|