@realsee/dnalogel 3.28.8 → 3.28.10
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/CHANGELOG.md +6 -0
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -0
- package/dist/Sculpt/Objects/Box/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Circle/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Point/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Polygon/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Polyline/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Prism/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/dist/Sculpt/typings/utils.type.d.ts +1 -2
- package/dist/index.cjs.js +19 -19
- package/dist/index.js +479 -478
- package/dist/index.umd.js +19 -19
- package/dist/typings/utils.type.d.ts +2 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +13 -13
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/ModelMakerPlugin/Controller.d.ts +1 -0
- package/libs/ModelMakerPlugin/Controller.js +58 -57
- package/libs/Sculpt/Objects/Box/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Circle/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Point/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Polygon/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Polyline/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Prism/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/libs/Sculpt/typings/utils.type.d.ts +1 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/typings/utils.type.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import Qa from "animejs";
|
|
|
48
48
|
import { GLTFLoader as Gm } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Fm() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.28.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.28.10",
|
|
52
52
|
[
|
|
53
53
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -975,10 +975,10 @@ let sp = class extends ip {
|
|
|
975
975
|
if (!A.find((P) => P === v)) {
|
|
976
976
|
if (A.push(v), g.push(ca(l[v], p.clientWidth, p.clientHeight)), g.length < 3)
|
|
977
977
|
return;
|
|
978
|
-
const { control: P, end:
|
|
979
|
-
if (!P || !
|
|
978
|
+
const { control: P, end: I } = po(g);
|
|
979
|
+
if (!P || !I)
|
|
980
980
|
return;
|
|
981
|
-
a.quadraticCurveTo(P.x, P.y,
|
|
981
|
+
a.quadraticCurveTo(P.x, P.y, I.x, I.y), a.stroke();
|
|
982
982
|
}
|
|
983
983
|
}).onComplete((m) => {
|
|
984
984
|
p.tween = void 0, p.tweening = !1, A = [], g = [], o && o(), r();
|
|
@@ -1124,10 +1124,10 @@ const T3 = (n, t) => {
|
|
|
1124
1124
|
const X = A();
|
|
1125
1125
|
if (!X)
|
|
1126
1126
|
return;
|
|
1127
|
-
F.appendChild(X.domElement),
|
|
1127
|
+
F.appendChild(X.domElement), I(U);
|
|
1128
1128
|
const J = window.getComputedStyle(F).position;
|
|
1129
1129
|
J !== "relative" && J !== "absolute" && J !== "fixed" && J !== "sticky" && (F.style.position = "relative");
|
|
1130
|
-
},
|
|
1130
|
+
}, I = (F = {}) => {
|
|
1131
1131
|
if (!o)
|
|
1132
1132
|
return;
|
|
1133
1133
|
const X = o.domElement.parentNode;
|
|
@@ -1145,14 +1145,14 @@ const T3 = (n, t) => {
|
|
|
1145
1145
|
let de = $ / 2 / Math.tan(Math.PI * U / 360);
|
|
1146
1146
|
return X < 1 && (de = de / X), isNaN(de) ? $ : de;
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function E(F) {
|
|
1149
1149
|
return n.work.observers[F].standingPosition.clone();
|
|
1150
1150
|
}
|
|
1151
1151
|
const j = () => {
|
|
1152
1152
|
if (!e || !u || !f)
|
|
1153
1153
|
return;
|
|
1154
1154
|
const F = n.getPose();
|
|
1155
|
-
F.fov = c.fov, F.offset = f, F.distance = u, typeof a.lockedLatitude == "number" && (F.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (F.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (F.offset =
|
|
1155
|
+
F.fov = c.fov, F.offset = f, F.distance = u, typeof a.lockedLatitude == "number" && (F.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (F.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (F.offset = E(a.lockedPanoIndex)), a.lookAtCurrentCamera && (F.offset = n.camera.position.clone().setY(n.camera.position.y + 1)), c.setFromPose(F), s = !0;
|
|
1156
1156
|
}, V = () => {
|
|
1157
1157
|
!e || s !== !0 || !o || !o.domElement.parentNode || o.domElement.parentNode.offsetWidth === 0 || (o.render(l, c), s = !1);
|
|
1158
1158
|
}, W = () => {
|
|
@@ -1162,7 +1162,7 @@ const T3 = (n, t) => {
|
|
|
1162
1162
|
}, N = () => ({
|
|
1163
1163
|
enabled: e
|
|
1164
1164
|
});
|
|
1165
|
-
return Object.assign(window, { camera: c }), n.on("modelLoaded", m), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", j), n.on("dispose", W), n.on("renderFrame", V), n.on("cameraPositionUpdate", j), { appendTo: P, refresh:
|
|
1165
|
+
return Object.assign(window, { camera: c }), n.on("modelLoaded", m), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", j), n.on("dispose", W), n.on("renderFrame", V), n.on("cameraPositionUpdate", j), { appendTo: P, refresh: I, changeConfigs: _, enable: v, disable: y, getCurrentState: N };
|
|
1166
1166
|
}, op = ({ x: n, y: t, z: e }) => new oe(n, t, e), fi = (n) => new oe().fromArray(n), Be = (n) => {
|
|
1167
1167
|
if (n)
|
|
1168
1168
|
return n instanceof oe ? n : Array.isArray(n) ? fi(n) : op(n);
|
|
@@ -1343,8 +1343,8 @@ function Di(...n) {
|
|
|
1343
1343
|
const fl = (n) => n ? n.visible === !1 ? !1 : fl(n.parent) : !0, nf = 1, dp = `CSS3DObjectPlus@${nf}`, up = 216e-5, fp = 3e-3;
|
|
1344
1344
|
class gp extends Na {
|
|
1345
1345
|
constructor(e) {
|
|
1346
|
-
var k,
|
|
1347
|
-
const i = e.container, s = e.cornerPoints, o = (k = e.ratio) != null ? k : fp, r = (
|
|
1346
|
+
var k, E, j;
|
|
1347
|
+
const i = e.container, s = e.cornerPoints, o = (k = e.ratio) != null ? k : fp, r = (E = e.dpr) != null ? E : 1, a = (j = e.pointerEvents) != null ? j : "auto", l = Math.max(up, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = Go(c / o * r), f = Go(h / o * r), g = Di(...s);
|
|
1348
1348
|
let A;
|
|
1349
1349
|
if (l === o)
|
|
1350
1350
|
i.style.width = `${u}px`, i.style.height = `${f}px`, A = i;
|
|
@@ -1391,8 +1391,8 @@ class gp extends Na {
|
|
|
1391
1391
|
i.classList.add(`${dp}__container`);
|
|
1392
1392
|
const p = new oe().subVectors(s[1], s[0]), m = new oe().subVectors(s[3], s[0]), v = new oe().crossVectors(p, m).normalize();
|
|
1393
1393
|
this.lookAt(v);
|
|
1394
|
-
const y = this.up.clone().applyQuaternion(this.quaternion), P = m.clone(),
|
|
1395
|
-
this.rotateOnWorldAxis(
|
|
1394
|
+
const y = this.up.clone().applyQuaternion(this.quaternion), P = m.clone(), I = new oe().crossVectors(y, P).normalize();
|
|
1395
|
+
this.rotateOnWorldAxis(I, y.angleTo(P)), this.position.copy(g), this.addEventListener("added", () => {
|
|
1396
1396
|
var V;
|
|
1397
1397
|
this.mode === "front" && ((V = this.opacityMesh) == null || V.removeFromParent());
|
|
1398
1398
|
}), this.addEventListener("removed", () => {
|
|
@@ -1603,7 +1603,7 @@ class Vs {
|
|
|
1603
1603
|
k && k.add(A);
|
|
1604
1604
|
}, m = () => {
|
|
1605
1605
|
g || (p(), this.render(t), this.hooks.emit("render"));
|
|
1606
|
-
}, v = (k) => this.setVisibleById(A.id, k), y = (k) => this.setEnabledById(A.id, k), P = () => (g = !0, A.removeFromParent(), !0),
|
|
1606
|
+
}, v = (k) => this.setVisibleById(A.id, k), y = (k) => this.setEnabledById(A.id, k), P = () => (g = !0, A.removeFromParent(), !0), I = l === "front" ? Ke.frontModeStore.css3DRenderer : Ke.behindModeStore.css3DRenderer;
|
|
1607
1607
|
return c && m(), {
|
|
1608
1608
|
id: A.uuid,
|
|
1609
1609
|
container: h,
|
|
@@ -1616,7 +1616,7 @@ class Vs {
|
|
|
1616
1616
|
disable: () => y(!1),
|
|
1617
1617
|
setEnabled: y,
|
|
1618
1618
|
dispose: P,
|
|
1619
|
-
appendToElement: (k) =>
|
|
1619
|
+
appendToElement: (k) => I.setWrapper(k)
|
|
1620
1620
|
};
|
|
1621
1621
|
});
|
|
1622
1622
|
d(this, "setVisibleById", (t, e) => {
|
|
@@ -2986,8 +2986,8 @@ function nn(n, t, e) {
|
|
|
2986
2986
|
if (P >= y)
|
|
2987
2987
|
return p(1, 0), _i(n, !0, "end"), c(), o = !1;
|
|
2988
2988
|
if (P >= v) {
|
|
2989
|
-
const
|
|
2990
|
-
p(
|
|
2989
|
+
const I = A((P - v) / g);
|
|
2990
|
+
p(I, 1 - I);
|
|
2991
2991
|
}
|
|
2992
2992
|
}
|
|
2993
2993
|
return o;
|
|
@@ -3058,12 +3058,12 @@ function ni(n, t, e, i) {
|
|
|
3058
3058
|
start: Al() + A,
|
|
3059
3059
|
b: g
|
|
3060
3060
|
};
|
|
3061
|
-
g || (P.group = Kt, Kt.r += 1), a || l ? l = P : (y && (h(), c = Yo(n, r, g, p, A, m, y)), g && v(0, 1), a = u(P, p), Xe(() => _i(n, g, "start")), bl((
|
|
3062
|
-
if (l &&
|
|
3063
|
-
if (
|
|
3061
|
+
g || (P.group = Kt, Kt.r += 1), a || l ? l = P : (y && (h(), c = Yo(n, r, g, p, A, m, y)), g && v(0, 1), a = u(P, p), Xe(() => _i(n, g, "start")), bl((I) => {
|
|
3062
|
+
if (l && I > l.start && (a = u(l, p), l = null, _i(n, a.b, "start"), y && (h(), c = Yo(n, r, a.b, a.duration, 0, m, o.css))), a) {
|
|
3063
|
+
if (I >= a.end)
|
|
3064
3064
|
v(r = a.b, 1 - r), _i(n, a.b, "end"), l || (a.b ? h() : --a.group.r || et(a.group.c)), a = null;
|
|
3065
|
-
else if (
|
|
3066
|
-
const k =
|
|
3065
|
+
else if (I >= a.start) {
|
|
3066
|
+
const k = I - a.start;
|
|
3067
3067
|
r = a.a + a.d * m(k / a.duration), v(r, 1 - r);
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
|
@@ -3136,20 +3136,20 @@ function Ut(n, t, e, i, s, o, r, a, l, c, h, u) {
|
|
|
3136
3136
|
let W = r.get(V);
|
|
3137
3137
|
W ? i && P.push(() => W.p(j, t)) : (W = c(V, j), W.c()), v.set(V, m[A] = W), V in p && y.set(V, Math.abs(A - p[V]));
|
|
3138
3138
|
}
|
|
3139
|
-
const
|
|
3140
|
-
function
|
|
3139
|
+
const I = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set();
|
|
3140
|
+
function E(j) {
|
|
3141
3141
|
x(j, 1), j.m(a, h), r.set(j.key, j), h = j.first, g--;
|
|
3142
3142
|
}
|
|
3143
3143
|
for (; f && g; ) {
|
|
3144
3144
|
const j = m[g - 1], V = n[f - 1], W = j.key, _ = V.key;
|
|
3145
|
-
j === V ? (h = j.first, f--, g--) : v.has(_) ? !r.has(W) ||
|
|
3145
|
+
j === V ? (h = j.first, f--, g--) : v.has(_) ? !r.has(W) || I.has(W) ? E(j) : k.has(_) ? f-- : y.get(W) > y.get(_) ? (k.add(W), E(j)) : (I.add(_), f--) : (l(V, r), f--);
|
|
3146
3146
|
}
|
|
3147
3147
|
for (; f--; ) {
|
|
3148
3148
|
const j = n[f];
|
|
3149
3149
|
v.has(j.key) || l(j, r);
|
|
3150
3150
|
}
|
|
3151
3151
|
for (; g; )
|
|
3152
|
-
|
|
3152
|
+
E(m[g - 1]);
|
|
3153
3153
|
return et(P), m;
|
|
3154
3154
|
}
|
|
3155
3155
|
function wt(n, t) {
|
|
@@ -3763,27 +3763,27 @@ function xA(n, t, e) {
|
|
|
3763
3763
|
function c(v) {
|
|
3764
3764
|
if (!(l === null || v.floorIndex === l))
|
|
3765
3765
|
return !1;
|
|
3766
|
-
const P = new Un(),
|
|
3767
|
-
P.set(
|
|
3766
|
+
const P = new Un(), I = s.camera.position.clone(), k = new oe(v.position.x, v.position.y, v.position.z), E = k.distanceTo(I);
|
|
3767
|
+
P.set(I.clone(), k.clone().sub(I).normalize());
|
|
3768
3768
|
const [j] = s.model.intersectRaycaster(P);
|
|
3769
|
-
return !(j && j.distance + 1 <
|
|
3769
|
+
return !(j && j.distance + 1 < E);
|
|
3770
3770
|
}
|
|
3771
3771
|
function h(v, y) {
|
|
3772
|
-
const
|
|
3773
|
-
return `translate(${k}px, ${
|
|
3772
|
+
const I = new oe(v.position.x, v.position.y, v.position.z).clone().project(s.camera), k = Math.ceil((I.x + 1) / 2 * y.x), E = Math.ceil((-I.y + 1) / 2 * y.y);
|
|
3773
|
+
return `translate(${k}px, ${E}px)`;
|
|
3774
3774
|
}
|
|
3775
3775
|
function u(v) {
|
|
3776
3776
|
const { rendererSize: y } = v, P = /* @__PURE__ */ new Map();
|
|
3777
|
-
function E
|
|
3778
|
-
const j = P.get(
|
|
3777
|
+
function I(E) {
|
|
3778
|
+
const j = P.get(E.id);
|
|
3779
3779
|
if (j)
|
|
3780
3780
|
return j;
|
|
3781
|
-
const { x: V, y: W, z: _ } =
|
|
3782
|
-
return P.set(
|
|
3781
|
+
const { x: V, y: W, z: _ } = E.position, N = new oe(V, W, _).clone().distanceTo(s.camera.position);
|
|
3782
|
+
return P.set(E.id, N), N;
|
|
3783
3783
|
}
|
|
3784
|
-
return o.map((
|
|
3785
|
-
const j = c(
|
|
3786
|
-
return se(D({},
|
|
3784
|
+
return o.map((E) => {
|
|
3785
|
+
const j = c(E), V = j ? h(E, y) : E.transform, W = I(E), N = o.filter((G) => G.visible && I(G) < W).length * 10;
|
|
3786
|
+
return se(D({}, E), { visible: j, transform: V, zIndex: N });
|
|
3787
3787
|
});
|
|
3788
3788
|
}
|
|
3789
3789
|
function f() {
|
|
@@ -4461,7 +4461,7 @@ function ZA(n, t) {
|
|
|
4461
4461
|
return s;
|
|
4462
4462
|
}
|
|
4463
4463
|
function JA(n, t, e) {
|
|
4464
|
-
let i, s, o, r, a, l, c, h, u, f, g, A, p, { pxmm: m } = t, { roomAreaEnable: v } = t, { roomNameEnable: y } = t, { roomDimensionEnable: P } = t, { room:
|
|
4464
|
+
let i, s, o, r, a, l, c, h, u, f, g, A, p, { pxmm: m } = t, { roomAreaEnable: v } = t, { roomNameEnable: y } = t, { roomDimensionEnable: P } = t, { room: I } = t, { hoveredRoom: k } = t, { getRoomAreaText: E } = t, { getRoomDimensionText: j } = t, { getLabelElement: V } = t, { adaptiveRoomLabelVisibleEnable: W } = t;
|
|
4465
4465
|
function _(ee, ve) {
|
|
4466
4466
|
if (ve.width === 0 || ve.height === 0)
|
|
4467
4467
|
return () => !1;
|
|
@@ -4476,10 +4476,10 @@ function JA(n, t, e) {
|
|
|
4476
4476
|
].every((He) => ZA(He, Ct));
|
|
4477
4477
|
};
|
|
4478
4478
|
}
|
|
4479
|
-
const N = document.body.clientWidth, G = document.body.clientHeight, H =
|
|
4479
|
+
const N = document.body.clientWidth, G = document.body.clientHeight, H = I.roomLabel, F = H.positionInImage.x * 100 + "%", U = H.positionInImage.y * 100 + "%", X = (N < 500 || G < 500 ? 10 : 14) + "px", J = (N < 500 || G < 500 ? 8 : 12) + "px";
|
|
4480
4480
|
let $ = 0, de = 0, he = 0, Pe = 0, Ce = !1;
|
|
4481
4481
|
k.subscribe(function(ve) {
|
|
4482
|
-
e(25, Ce = !!ve && ve.id ===
|
|
4482
|
+
e(25, Ce = !!ve && ve.id === I.id);
|
|
4483
4483
|
});
|
|
4484
4484
|
const be = (ee) => {
|
|
4485
4485
|
e(7, he = ee.detail);
|
|
@@ -4491,22 +4491,22 @@ function JA(n, t, e) {
|
|
|
4491
4491
|
e(6, de = ee.detail);
|
|
4492
4492
|
};
|
|
4493
4493
|
return n.$$set = (ee) => {
|
|
4494
|
-
"pxmm" in ee && e(20, m = ee.pxmm), "roomAreaEnable" in ee && e(0, v = ee.roomAreaEnable), "roomNameEnable" in ee && e(1, y = ee.roomNameEnable), "roomDimensionEnable" in ee && e(2, P = ee.roomDimensionEnable), "room" in ee && e(3,
|
|
4494
|
+
"pxmm" in ee && e(20, m = ee.pxmm), "roomAreaEnable" in ee && e(0, v = ee.roomAreaEnable), "roomNameEnable" in ee && e(1, y = ee.roomNameEnable), "roomDimensionEnable" in ee && e(2, P = ee.roomDimensionEnable), "room" in ee && e(3, I = ee.room), "hoveredRoom" in ee && e(21, k = ee.hoveredRoom), "getRoomAreaText" in ee && e(22, E = ee.getRoomAreaText), "getRoomDimensionText" in ee && e(23, j = ee.getRoomDimensionText), "getLabelElement" in ee && e(4, V = ee.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ee && e(24, W = ee.adaptiveRoomLabelVisibleEnable);
|
|
4495
4495
|
}, n.$$.update = () => {
|
|
4496
4496
|
var ee, ve;
|
|
4497
4497
|
n.$$.dirty[0] & /*getLabelElement, room*/
|
|
4498
|
-
24 && e(15, i = V == null ? void 0 : V(
|
|
4499
|
-
4194312 && e(14, s =
|
|
4500
|
-
8388616 && e(13, o =
|
|
4498
|
+
24 && e(15, i = V == null ? void 0 : V(I)), n.$$.dirty[0] & /*room, getRoomAreaText*/
|
|
4499
|
+
4194312 && e(14, s = I.size ? E(I.size) : ""), n.$$.dirty[0] & /*room, getRoomDimensionText*/
|
|
4500
|
+
8388616 && e(13, o = I != null && I.dimension ? j((ee = I.dimension) == null ? void 0 : ee.width, (ve = I.dimension) == null ? void 0 : ve.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
|
|
4501
4501
|
384 && e(31, r = { width: he, height: Pe }), n.$$.dirty[0] & /*room*/
|
|
4502
4502
|
8 | n.$$.dirty[1] & /*labelElementSize*/
|
|
4503
|
-
1 && e(30, a = r ? _(
|
|
4503
|
+
1 && e(30, a = r ? _(I, r) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
|
|
4504
4504
|
1091567616 && e(27, l = W ? !!(a != null && a(m)) : !0), n.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
|
|
4505
4505
|
96 && e(29, c = {
|
|
4506
4506
|
width: $,
|
|
4507
4507
|
height: de
|
|
4508
4508
|
}), n.$$.dirty[0] & /*wrapperLabelElementSize, room*/
|
|
4509
|
-
536870920 && e(28, h = c ? _(
|
|
4509
|
+
536870920 && e(28, h = c ? _(I, c) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
|
|
4510
4510
|
286261248 && e(26, u = W ? !!(h != null && h(m)) : !0), n.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
|
|
4511
4511
|
234881024 && e(12, f = u || l || Ce), n.$$.dirty[0] & /*mainLabelVisible, isHovered*/
|
|
4512
4512
|
167772160 && e(11, g = l || Ce), n.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
|
|
@@ -4516,7 +4516,7 @@ function JA(n, t, e) {
|
|
|
4516
4516
|
v,
|
|
4517
4517
|
y,
|
|
4518
4518
|
P,
|
|
4519
|
-
|
|
4519
|
+
I,
|
|
4520
4520
|
V,
|
|
4521
4521
|
$,
|
|
4522
4522
|
de,
|
|
@@ -4535,7 +4535,7 @@ function JA(n, t, e) {
|
|
|
4535
4535
|
J,
|
|
4536
4536
|
m,
|
|
4537
4537
|
k,
|
|
4538
|
-
|
|
4538
|
+
E,
|
|
4539
4539
|
j,
|
|
4540
4540
|
W,
|
|
4541
4541
|
Ce,
|
|
@@ -5024,8 +5024,8 @@ function sv(n, t, e) {
|
|
|
5024
5024
|
});
|
|
5025
5025
|
u.unshift({ left: 0, bottom: 0 }), u.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
5026
5026
|
const f = h[h.length - 1] - h[0], g = h.map((A, p, m) => {
|
|
5027
|
-
const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x - bn + yn) / l : 0,
|
|
5028
|
-
return { left: P, bottom:
|
|
5027
|
+
const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x - bn + yn) / l : 0, I = a ? 0 : (y - o.min.y - bn + yn) / c;
|
|
5028
|
+
return { left: P, bottom: I, distance: v };
|
|
5029
5029
|
}).filter(({ distance: A }) => A / f > 0.1);
|
|
5030
5030
|
return n.$$set = (A) => {
|
|
5031
5031
|
"type" in A && e(0, i = A.type), "data" in A && e(5, s = A.data), "bounding" in A && e(6, o = A.bounding), "getRuleDistanceText" in A && e(1, r = A.getRuleDistanceText);
|
|
@@ -6235,8 +6235,8 @@ function Kv(n) {
|
|
|
6235
6235
|
}
|
|
6236
6236
|
];
|
|
6237
6237
|
let f = {};
|
|
6238
|
-
for (let
|
|
6239
|
-
f = ft(f, u[
|
|
6238
|
+
for (let I = 0; I < u.length; I += 1)
|
|
6239
|
+
f = ft(f, u[I]);
|
|
6240
6240
|
t = new xv({ props: f });
|
|
6241
6241
|
let g = (
|
|
6242
6242
|
/*highlightEnable*/
|
|
@@ -6256,8 +6256,8 @@ function Kv(n) {
|
|
|
6256
6256
|
}
|
|
6257
6257
|
];
|
|
6258
6258
|
let p = {};
|
|
6259
|
-
for (let
|
|
6260
|
-
p = ft(p, A[
|
|
6259
|
+
for (let I = 0; I < A.length; I += 1)
|
|
6260
|
+
p = ft(p, A[I]);
|
|
6261
6261
|
s = new Rf({ props: p });
|
|
6262
6262
|
let m = (
|
|
6263
6263
|
/*roomLabelsEnable*/
|
|
@@ -6276,27 +6276,27 @@ function Kv(n) {
|
|
|
6276
6276
|
c() {
|
|
6277
6277
|
ne(t.$$.fragment), e = K(), g && g.c(), i = K(), ne(s.$$.fragment), o = K(), m && m.c(), r = K(), v && v.c(), a = K(), y && y.c(), l = K(), P && P.c(), c = we();
|
|
6278
6278
|
},
|
|
6279
|
-
m(
|
|
6280
|
-
te(t,
|
|
6279
|
+
m(I, k) {
|
|
6280
|
+
te(t, I, k), B(I, e, k), g && g.m(I, k), B(I, i, k), te(s, I, k), B(I, o, k), m && m.m(I, k), B(I, r, k), v && v.m(I, k), B(I, a, k), y && y.m(I, k), B(I, l, k), P && P.m(I, k), B(I, c, k), h = !0;
|
|
6281
6281
|
},
|
|
6282
|
-
p(
|
|
6283
|
-
const
|
|
6282
|
+
p(I, k) {
|
|
6283
|
+
const E = k & /*floorIndex, floorplanData*/
|
|
6284
6284
|
2052 ? wt(u, [
|
|
6285
6285
|
{
|
|
6286
6286
|
floorIndex: (
|
|
6287
6287
|
/*floorIndex*/
|
|
6288
|
-
|
|
6288
|
+
I[2]
|
|
6289
6289
|
),
|
|
6290
6290
|
floorplanData: (
|
|
6291
6291
|
/*floorplanData*/
|
|
6292
|
-
|
|
6292
|
+
I[11]
|
|
6293
6293
|
)
|
|
6294
6294
|
}
|
|
6295
6295
|
]) : {};
|
|
6296
|
-
t.$set(
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
40 && x(g, 1)) : (g = Nc(
|
|
6296
|
+
t.$set(E), /*highlightEnable*/
|
|
6297
|
+
I[3] || /*hoverEnable*/
|
|
6298
|
+
I[5] ? g ? (g.p(I, k), k & /*highlightEnable, hoverEnable*/
|
|
6299
|
+
40 && x(g, 1)) : (g = Nc(I), g.c(), x(g, 1), g.m(i.parentNode, i)) : g && (ue(), O(g, 1, 1, () => {
|
|
6300
6300
|
g = null;
|
|
6301
6301
|
}), fe());
|
|
6302
6302
|
const j = k & /*floorplanData, floorIndex*/
|
|
@@ -6304,40 +6304,40 @@ function Kv(n) {
|
|
|
6304
6304
|
{
|
|
6305
6305
|
floorplanData: (
|
|
6306
6306
|
/*floorplanData*/
|
|
6307
|
-
|
|
6307
|
+
I[11]
|
|
6308
6308
|
),
|
|
6309
6309
|
floorIndex: (
|
|
6310
6310
|
/*floorIndex*/
|
|
6311
|
-
|
|
6311
|
+
I[2]
|
|
6312
6312
|
)
|
|
6313
6313
|
}
|
|
6314
6314
|
]) : {};
|
|
6315
6315
|
s.$set(j), /*roomLabelsEnable*/
|
|
6316
|
-
|
|
6317
|
-
64 && x(m, 1)) : (m = Qc(
|
|
6316
|
+
I[6] ? m ? (m.p(I, k), k & /*roomLabelsEnable*/
|
|
6317
|
+
64 && x(m, 1)) : (m = Qc(I), m.c(), x(m, 1), m.m(r.parentNode, r)) : m && (ue(), O(m, 1, 1, () => {
|
|
6318
6318
|
m = null;
|
|
6319
6319
|
}), fe()), /*ruleLabelsEnable*/
|
|
6320
|
-
|
|
6321
|
-
1024 && x(v, 1)) : (v = Gc(
|
|
6320
|
+
I[10] ? v ? (v.p(I, k), k & /*ruleLabelsEnable*/
|
|
6321
|
+
1024 && x(v, 1)) : (v = Gc(I), v.c(), x(v, 1), v.m(a.parentNode, a)) : v && (ue(), O(v, 1, 1, () => {
|
|
6322
6322
|
v = null;
|
|
6323
6323
|
}), fe()), /*cameraEnable*/
|
|
6324
|
-
|
|
6325
|
-
16 && x(y, 1)) : (y = Fc(
|
|
6324
|
+
I[4] ? y ? (y.p(I, k), k & /*cameraEnable*/
|
|
6325
|
+
16 && x(y, 1)) : (y = Fc(I), y.c(), x(y, 1), y.m(l.parentNode, l)) : y && (ue(), O(y, 1, 1, () => {
|
|
6326
6326
|
y = null;
|
|
6327
6327
|
}), fe()), /*compassEnable*/
|
|
6328
|
-
|
|
6329
|
-
4194304 && x(P, 1)) : (P = _c(
|
|
6328
|
+
I[22] ? P ? (P.p(I, k), k & /*compassEnable*/
|
|
6329
|
+
4194304 && x(P, 1)) : (P = _c(I), P.c(), x(P, 1), P.m(c.parentNode, c)) : P && (ue(), O(P, 1, 1, () => {
|
|
6330
6330
|
P = null;
|
|
6331
6331
|
}), fe());
|
|
6332
6332
|
},
|
|
6333
|
-
i(
|
|
6334
|
-
h || (x(t.$$.fragment,
|
|
6333
|
+
i(I) {
|
|
6334
|
+
h || (x(t.$$.fragment, I), x(g), x(s.$$.fragment, I), x(m), x(v), x(y), x(P), h = !0);
|
|
6335
6335
|
},
|
|
6336
|
-
o(
|
|
6337
|
-
O(t.$$.fragment,
|
|
6336
|
+
o(I) {
|
|
6337
|
+
O(t.$$.fragment, I), O(g), O(s.$$.fragment, I), O(m), O(v), O(y), O(P), h = !1;
|
|
6338
6338
|
},
|
|
6339
|
-
d(
|
|
6340
|
-
ie(t,
|
|
6339
|
+
d(I) {
|
|
6340
|
+
ie(t, I), I && z(e), g && g.d(I), I && z(i), ie(s, I), I && z(o), m && m.d(I), I && z(r), v && v.d(I), I && z(a), y && y.d(I), I && z(l), P && P.d(I), I && z(c);
|
|
6341
6341
|
}
|
|
6342
6342
|
};
|
|
6343
6343
|
}
|
|
@@ -6758,10 +6758,10 @@ function e0(n) {
|
|
|
6758
6758
|
};
|
|
6759
6759
|
}
|
|
6760
6760
|
function t0(n, t, e) {
|
|
6761
|
-
let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: g } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: m } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: P } = t, { getRuleDistanceText:
|
|
6761
|
+
let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: g } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: m } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: P } = t, { getRuleDistanceText: I } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { highlightData: E } = t, { missingFloorConfig: j } = t, { lastPanoramaLongitude: V } = t, { cameraImageUrl: W } = t, { northDesc: _ } = t, { compassEnable: N } = t;
|
|
6762
6762
|
const G = xl(void 0);
|
|
6763
6763
|
return n.$$set = (H) => {
|
|
6764
|
-
"panoIndex" in H && e(0, o = H.panoIndex), "isCurrent" in H && e(1, r = H.isCurrent), "floorIndex" in H && e(2, a = H.floorIndex), "highlightEnable" in H && e(3, l = H.highlightEnable), "cameraEnable" in H && e(4, c = H.cameraEnable), "hoverEnable" in H && e(5, h = H.hoverEnable), "roomLabelsEnable" in H && e(6, u = H.roomLabelsEnable), "roomAreaEnable" in H && e(7, f = H.roomAreaEnable), "roomNameEnable" in H && e(8, g = H.roomNameEnable), "roomDimensionEnable" in H && e(9, A = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(10, p = H.ruleLabelsEnable), "floorplanData" in H && e(11, m = H.floorplanData), "getRoomAreaText" in H && e(12, v = H.getRoomAreaText), "getRoomDimensionText" in H && e(13, y = H.getRoomDimensionText), "getLabelElement" in H && e(14, P = H.getLabelElement), "getRuleDistanceText" in H && e(15,
|
|
6764
|
+
"panoIndex" in H && e(0, o = H.panoIndex), "isCurrent" in H && e(1, r = H.isCurrent), "floorIndex" in H && e(2, a = H.floorIndex), "highlightEnable" in H && e(3, l = H.highlightEnable), "cameraEnable" in H && e(4, c = H.cameraEnable), "hoverEnable" in H && e(5, h = H.hoverEnable), "roomLabelsEnable" in H && e(6, u = H.roomLabelsEnable), "roomAreaEnable" in H && e(7, f = H.roomAreaEnable), "roomNameEnable" in H && e(8, g = H.roomNameEnable), "roomDimensionEnable" in H && e(9, A = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(10, p = H.ruleLabelsEnable), "floorplanData" in H && e(11, m = H.floorplanData), "getRoomAreaText" in H && e(12, v = H.getRoomAreaText), "getRoomDimensionText" in H && e(13, y = H.getRoomDimensionText), "getLabelElement" in H && e(14, P = H.getLabelElement), "getRuleDistanceText" in H && e(15, I = H.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in H && e(16, k = H.adaptiveRoomLabelVisibleEnable), "highlightData" in H && e(17, E = H.highlightData), "missingFloorConfig" in H && e(18, j = H.missingFloorConfig), "lastPanoramaLongitude" in H && e(19, V = H.lastPanoramaLongitude), "cameraImageUrl" in H && e(20, W = H.cameraImageUrl), "northDesc" in H && e(21, _ = H.northDesc), "compassEnable" in H && e(22, N = H.compassEnable);
|
|
6765
6765
|
}, n.$$.update = () => {
|
|
6766
6766
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
6767
6767
|
2052 && e(25, i = m.floorDatas[a]), n.$$.dirty & /*floorData*/
|
|
@@ -6782,9 +6782,9 @@ function t0(n, t, e) {
|
|
|
6782
6782
|
v,
|
|
6783
6783
|
y,
|
|
6784
6784
|
P,
|
|
6785
|
-
E,
|
|
6786
|
-
k,
|
|
6787
6785
|
I,
|
|
6786
|
+
k,
|
|
6787
|
+
E,
|
|
6788
6788
|
j,
|
|
6789
6789
|
V,
|
|
6790
6790
|
W,
|
|
@@ -7166,9 +7166,9 @@ function s0(n) {
|
|
|
7166
7166
|
};
|
|
7167
7167
|
}
|
|
7168
7168
|
function o0(n, t, e) {
|
|
7169
|
-
let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: g } = t, { roomNameEnable: A } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: m } = t, { floorplanData: v } = t, { lastPanoramaLongitude: y } = t, { cameraImageUrl: P } = t, { getRoomAreaText:
|
|
7169
|
+
let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: g } = t, { roomNameEnable: A } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: m } = t, { floorplanData: v } = t, { lastPanoramaLongitude: y } = t, { cameraImageUrl: P } = t, { getRoomAreaText: I } = t, { getRoomDimensionText: k } = t, { getLabelElement: E } = t, { getRuleDistanceText: j } = t, { adaptiveRoomLabelVisibleEnable: V } = t, { highlightData: W } = t, { missingFloorConfig: _ } = t;
|
|
7170
7170
|
return n.$$set = (N) => {
|
|
7171
|
-
"duration" in N && e(0, i = N.duration), "visible" in N && e(1, s = N.visible), "northDesc" in N && e(2, o = N.northDesc), "panoIndex" in N && e(3, r = N.panoIndex), "floorIndex" in N && e(4, a = N.floorIndex), "cameraEnable" in N && e(5, l = N.cameraEnable), "hoverEnable" in N && e(6, c = N.hoverEnable), "highlightEnable" in N && e(7, h = N.highlightEnable), "compassEnable" in N && e(8, u = N.compassEnable), "roomLabelsEnable" in N && e(9, f = N.roomLabelsEnable), "roomAreaEnable" in N && e(10, g = N.roomAreaEnable), "roomNameEnable" in N && e(11, A = N.roomNameEnable), "roomDimensionEnable" in N && e(12, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(13, m = N.ruleLabelsEnable), "floorplanData" in N && e(14, v = N.floorplanData), "lastPanoramaLongitude" in N && e(15, y = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(16, P = N.cameraImageUrl), "getRoomAreaText" in N && e(17,
|
|
7171
|
+
"duration" in N && e(0, i = N.duration), "visible" in N && e(1, s = N.visible), "northDesc" in N && e(2, o = N.northDesc), "panoIndex" in N && e(3, r = N.panoIndex), "floorIndex" in N && e(4, a = N.floorIndex), "cameraEnable" in N && e(5, l = N.cameraEnable), "hoverEnable" in N && e(6, c = N.hoverEnable), "highlightEnable" in N && e(7, h = N.highlightEnable), "compassEnable" in N && e(8, u = N.compassEnable), "roomLabelsEnable" in N && e(9, f = N.roomLabelsEnable), "roomAreaEnable" in N && e(10, g = N.roomAreaEnable), "roomNameEnable" in N && e(11, A = N.roomNameEnable), "roomDimensionEnable" in N && e(12, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(13, m = N.ruleLabelsEnable), "floorplanData" in N && e(14, v = N.floorplanData), "lastPanoramaLongitude" in N && e(15, y = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(16, P = N.cameraImageUrl), "getRoomAreaText" in N && e(17, I = N.getRoomAreaText), "getRoomDimensionText" in N && e(18, k = N.getRoomDimensionText), "getLabelElement" in N && e(19, E = N.getLabelElement), "getRuleDistanceText" in N && e(20, j = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(21, V = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(22, W = N.highlightData), "missingFloorConfig" in N && e(23, _ = N.missingFloorConfig);
|
|
7172
7172
|
}, [
|
|
7173
7173
|
i,
|
|
7174
7174
|
s,
|
|
@@ -7187,9 +7187,9 @@ function o0(n, t, e) {
|
|
|
7187
7187
|
v,
|
|
7188
7188
|
y,
|
|
7189
7189
|
P,
|
|
7190
|
-
E,
|
|
7191
|
-
k,
|
|
7192
7190
|
I,
|
|
7191
|
+
k,
|
|
7192
|
+
E,
|
|
7193
7193
|
j,
|
|
7194
7194
|
V,
|
|
7195
7195
|
W,
|
|
@@ -7344,7 +7344,7 @@ let sn = class {
|
|
|
7344
7344
|
/**
|
|
7345
7345
|
* @realsee/dnalogel 版本号
|
|
7346
7346
|
*/
|
|
7347
|
-
d(this, "VERSION", "3.28.
|
|
7347
|
+
d(this, "VERSION", "3.28.10");
|
|
7348
7348
|
d(this, "five");
|
|
7349
7349
|
/**
|
|
7350
7350
|
* @description: 插件事件钩子
|
|
@@ -8473,29 +8473,29 @@ function k0(n) {
|
|
|
8473
8473
|
function x0(n, t, e) {
|
|
8474
8474
|
var y, P;
|
|
8475
8475
|
let i, s, o, r, { five: a } = t, { pxmm: l } = t, { floorplanData: c } = t, { cameraImageUrl: h } = t, u = a.getCurrentState().panoIndex, f = a.getCurrentState().longitude, g = (P = (y = a.work.observers[a.getCurrentState().panoIndex]) == null ? void 0 : y.floorIndex) != null ? P : 0;
|
|
8476
|
-
function A(
|
|
8477
|
-
const
|
|
8476
|
+
function A(I, k) {
|
|
8477
|
+
const E = I.bounding, j = I.observers[k];
|
|
8478
8478
|
if (!j)
|
|
8479
8479
|
return "";
|
|
8480
|
-
const V = (
|
|
8480
|
+
const V = (E.max.x - E.min.x) * l, W = (E.max.y - E.min.y) * l, _ = Math.floor(j.positionInImage.x * V), N = Math.floor(j.positionInImage.y * W);
|
|
8481
8481
|
return `translate(${_}px, ${N}px)`;
|
|
8482
8482
|
}
|
|
8483
|
-
function p(
|
|
8484
|
-
e(7, u =
|
|
8483
|
+
function p(I) {
|
|
8484
|
+
e(7, u = I);
|
|
8485
8485
|
}
|
|
8486
|
-
function m(
|
|
8487
|
-
e(9, g = a.work.observers[
|
|
8486
|
+
function m(I) {
|
|
8487
|
+
e(9, g = a.work.observers[I].floorIndex);
|
|
8488
8488
|
}
|
|
8489
8489
|
const v = jl(
|
|
8490
|
-
(
|
|
8491
|
-
e(8, f =
|
|
8490
|
+
(I) => {
|
|
8491
|
+
e(8, f = I.longitude);
|
|
8492
8492
|
},
|
|
8493
8493
|
1e3 / 60
|
|
8494
8494
|
);
|
|
8495
8495
|
return Et(() => (a.on("panoWillArrive", p), a.on("panoArrived", m), a.on("cameraDirectionUpdate", v), function() {
|
|
8496
8496
|
a.off("panoWillArrive", p), a.off("panoArrived", m), a.off("cameraDirectionUpdate", v);
|
|
8497
|
-
})), n.$$set = (
|
|
8498
|
-
"five" in
|
|
8497
|
+
})), n.$$set = (I) => {
|
|
8498
|
+
"five" in I && e(4, a = I.five), "pxmm" in I && e(5, l = I.pxmm), "floorplanData" in I && e(6, c = I.floorplanData), "cameraImageUrl" in I && e(0, h = I.cameraImageUrl);
|
|
8499
8499
|
}, n.$$.update = () => {
|
|
8500
8500
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
8501
8501
|
576 && e(10, i = c.floorDatas[g]), n.$$.dirty & /*floorData*/
|
|
@@ -9114,26 +9114,26 @@ function Q0(n) {
|
|
|
9114
9114
|
};
|
|
9115
9115
|
}
|
|
9116
9116
|
function G0(n, t, e) {
|
|
9117
|
-
var
|
|
9118
|
-
let { five: i } = t, { visible: s } = t, { hoverEnable: o } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, { highlightData: c } = t, { missingFloorImageUrl: h } = t, u = 0, f = (k = (
|
|
9119
|
-
function v(
|
|
9120
|
-
e(12, f = i.work.observers[
|
|
9117
|
+
var I, k;
|
|
9118
|
+
let { five: i } = t, { visible: s } = t, { hoverEnable: o } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, { highlightData: c } = t, { missingFloorImageUrl: h } = t, u = 0, f = (k = (I = i.work.observers[i.getCurrentState().panoIndex]) == null ? void 0 : I.floorIndex) != null ? k : 0, g = 0, A = 0, p = 0, m = 0;
|
|
9119
|
+
function v(E) {
|
|
9120
|
+
e(12, f = i.work.observers[E].floorIndex);
|
|
9121
9121
|
}
|
|
9122
9122
|
Et(() => (i.on("panoArrived", v), () => {
|
|
9123
9123
|
i.off("panoArrived", v);
|
|
9124
9124
|
}));
|
|
9125
|
-
const y = (
|
|
9126
|
-
e(8, g =
|
|
9127
|
-
}, P = (
|
|
9128
|
-
e(9, A =
|
|
9125
|
+
const y = (E) => {
|
|
9126
|
+
e(8, g = E.detail);
|
|
9127
|
+
}, P = (E) => {
|
|
9128
|
+
e(9, A = E.detail);
|
|
9129
9129
|
};
|
|
9130
|
-
return n.$$set = (
|
|
9131
|
-
"five" in
|
|
9130
|
+
return n.$$set = (E) => {
|
|
9131
|
+
"five" in E && e(0, i = E.five), "visible" in E && e(1, s = E.visible), "hoverEnable" in E && e(2, o = E.hoverEnable), "floorplanData" in E && e(3, r = E.floorplanData), "cameraImageUrl" in E && e(4, a = E.cameraImageUrl), "extraObjects" in E && e(5, l = E.extraObjects), "highlightData" in E && e(6, c = E.highlightData), "missingFloorImageUrl" in E && e(7, h = E.missingFloorImageUrl);
|
|
9132
9132
|
}, n.$$.update = () => {
|
|
9133
9133
|
if (n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
|
|
9134
9134
|
1800) {
|
|
9135
|
-
const
|
|
9136
|
-
return W > _ ? [
|
|
9135
|
+
const E = Math.min(g, A), { max: j, min: V } = r.bounding, W = j.x - V.x, _ = j.y - V.y, N = function() {
|
|
9136
|
+
return W > _ ? [E, E / W * _] : [E / _ * W, E];
|
|
9137
9137
|
}();
|
|
9138
9138
|
e(10, p = N[0]), e(13, m = N[1]), e(11, u = p / W);
|
|
9139
9139
|
}
|
|
@@ -9444,9 +9444,9 @@ const ex = (n, t) => {
|
|
|
9444
9444
|
let o = { x: 0, y: 0, z: 0 }, r = [0, 0, 0], a = 1, l = i;
|
|
9445
9445
|
n.on("modelLoaded", A);
|
|
9446
9446
|
const c = (m) => Q(void 0, null, function* () {
|
|
9447
|
-
var
|
|
9447
|
+
var I;
|
|
9448
9448
|
const v = (m == null ? void 0 : m.fbx_url) || e;
|
|
9449
|
-
if (l = (
|
|
9449
|
+
if (l = (I = m == null ? void 0 : m.north_rad) != null ? I : i, typeof l != "number")
|
|
9450
9450
|
throw new Error('"northRad"配置参数缺失:未配置指南针指向!');
|
|
9451
9451
|
const P = yield new Ku().loadAsync(v);
|
|
9452
9452
|
return _f(P, {
|
|
@@ -9479,11 +9479,11 @@ const ex = (n, t) => {
|
|
|
9479
9479
|
const m = s.object;
|
|
9480
9480
|
if (!m)
|
|
9481
9481
|
return;
|
|
9482
|
-
const v = n.model.bounding, y = v.max.x - v.min.x, P = v.max.z - v.min.z,
|
|
9483
|
-
max: { x: k, z:
|
|
9482
|
+
const v = n.model.bounding, y = v.max.x - v.min.x, P = v.max.z - v.min.z, I = Math.max(y, P), {
|
|
9483
|
+
max: { x: k, z: E },
|
|
9484
9484
|
min: { x: j, y: V, z: W }
|
|
9485
9485
|
} = v;
|
|
9486
|
-
s.yBase = V, o = { x: (k + j) / 2, y: V - 1.6, z: (
|
|
9486
|
+
s.yBase = V, o = { x: (k + j) / 2, y: V - 1.6, z: (E + W) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * I, W0(m, { position: o, rotation: r, scale: a });
|
|
9487
9487
|
}
|
|
9488
9488
|
return { load: c, disable: g, enable: f };
|
|
9489
9489
|
};
|
|
@@ -9501,11 +9501,11 @@ const Y0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9501
9501
|
const P = (_ = y == null ? void 0 : y.position) != null ? _ : s;
|
|
9502
9502
|
if (!P)
|
|
9503
9503
|
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
9504
|
-
const
|
|
9504
|
+
const I = Y0(P), k = (N = y == null ? void 0 : y.rad) != null ? N : o, E = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
|
|
9505
9505
|
if (e.rad = k, k === void 0)
|
|
9506
9506
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${k}`));
|
|
9507
|
-
const j = yield new Ku().loadAsync(
|
|
9508
|
-
j.position.copy(
|
|
9507
|
+
const j = yield new Ku().loadAsync(E);
|
|
9508
|
+
j.position.copy(I), j.rotation.z = k, j.scale.set(0.8, 0.8, 0.8), _f(j, { transparent: !0, side: w.DoubleSide });
|
|
9509
9509
|
const V = (X = (U = (F = (H = j.children) == null ? void 0 : H[0]) == null ? void 0 : F.children) == null ? void 0 : U[3]) == null ? void 0 : X.clone();
|
|
9510
9510
|
if (!V)
|
|
9511
9511
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${V}`));
|
|
@@ -9518,10 +9518,10 @@ const Y0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9518
9518
|
return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
|
|
9519
9519
|
const y = 1, P = new Em(e.object);
|
|
9520
9520
|
a.push(P);
|
|
9521
|
-
const
|
|
9522
|
-
|
|
9521
|
+
const I = P.clipAction(e.object.animations[0]);
|
|
9522
|
+
I.timeScale = y;
|
|
9523
9523
|
let k;
|
|
9524
|
-
const
|
|
9524
|
+
const E = () => {
|
|
9525
9525
|
let _ = 0, N = 0;
|
|
9526
9526
|
const G = 1e3 / 30, H = (F) => {
|
|
9527
9527
|
_ = requestAnimationFrame(H);
|
|
@@ -9532,18 +9532,18 @@ const Y0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9532
9532
|
cancelAnimationFrame(_);
|
|
9533
9533
|
};
|
|
9534
9534
|
}, W = { play: () => {
|
|
9535
|
-
k || (
|
|
9535
|
+
k || (I.play(), k = E(), requestAnimationFrame(() => {
|
|
9536
9536
|
e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
|
|
9537
9537
|
}));
|
|
9538
9538
|
}, stop: () => {
|
|
9539
|
-
|
|
9539
|
+
I.stop(), k == null || k(), k = void 0;
|
|
9540
9540
|
} };
|
|
9541
9541
|
e.animation = W;
|
|
9542
9542
|
}, h = (y) => {
|
|
9543
|
-
var
|
|
9543
|
+
var I;
|
|
9544
9544
|
if (!e.object)
|
|
9545
9545
|
return console.error("ModelEntryDoorGuidePlugin.enable(): object is ", e.object);
|
|
9546
|
-
((
|
|
9546
|
+
((I = y == null ? void 0 : y.animationEnable) != null ? I : i) && (e.animation || c(), e.animation.play()), n.scene.add(e.object), n.needsRender = !0;
|
|
9547
9547
|
}, u = () => {
|
|
9548
9548
|
e.object && (e.animation && e.animation.stop(), n.scene.remove(e.object), n.needsRender = !0);
|
|
9549
9549
|
}, f = (y) => y === "Floorplan" ? h() : u();
|
|
@@ -9627,8 +9627,8 @@ const Za = (n, t, e) => {
|
|
|
9627
9627
|
const { from: u, to: f } = i(o);
|
|
9628
9628
|
return yield new Promise((g) => {
|
|
9629
9629
|
const A = ({ progress: P }) => {
|
|
9630
|
-
const
|
|
9631
|
-
|
|
9630
|
+
const I = {};
|
|
9631
|
+
I.longitude = pa(u.longitude, f.longitude, P), I.latitude = pa(u.latitude, f.latitude, P), I.fov = pa(u.fov, f.fov, P), n.setState(I, !0);
|
|
9632
9632
|
}, p = () => {
|
|
9633
9633
|
g(!0);
|
|
9634
9634
|
}, m = () => {
|
|
@@ -9831,7 +9831,7 @@ const eb = `<style type="text/css">
|
|
|
9831
9831
|
if (!y)
|
|
9832
9832
|
return !1;
|
|
9833
9833
|
for (const P in m) {
|
|
9834
|
-
const
|
|
9834
|
+
const I = m[P], { standingPosition: k } = y.observers[0], E = I.map(({ x: j, z: V, observers: W }) => {
|
|
9835
9835
|
const _ = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", N = v[_] ? v[_].floor : null;
|
|
9836
9836
|
let G = 1 / 0, H = {
|
|
9837
9837
|
index: 0,
|
|
@@ -9856,19 +9856,19 @@ const eb = `<style type="text/css">
|
|
|
9856
9856
|
return X && Object.assign(X, { observers: W }), { origin: F, vertical: X };
|
|
9857
9857
|
});
|
|
9858
9858
|
r[P] = {
|
|
9859
|
-
origins:
|
|
9859
|
+
origins: E.map((j) => j.origin),
|
|
9860
9860
|
rules: []
|
|
9861
9861
|
};
|
|
9862
|
-
for (const { origin: j, vertical: V } of
|
|
9862
|
+
for (const { origin: j, vertical: V } of E) {
|
|
9863
9863
|
if (!V)
|
|
9864
9864
|
continue;
|
|
9865
9865
|
const W = i(P, j.distanceTo(V));
|
|
9866
9866
|
s.append(W), r[P].rules.push({ vertical: !0, rule: [j, V], $element: W });
|
|
9867
9867
|
}
|
|
9868
|
-
for (let j = 0; j <
|
|
9868
|
+
for (let j = 0; j < E.length; j++) {
|
|
9869
9869
|
let V = j + 1;
|
|
9870
|
-
V >=
|
|
9871
|
-
const { origin: W } =
|
|
9870
|
+
V >= E.length && (V = 0);
|
|
9871
|
+
const { origin: W } = E[j], { origin: _ } = E[V], N = i(P, W.distanceTo(_));
|
|
9872
9872
|
s.append(N), r[P].rules.push({ vertical: !1, rule: [W, _], $element: N });
|
|
9873
9873
|
}
|
|
9874
9874
|
}
|
|
@@ -9878,7 +9878,7 @@ const eb = `<style type="text/css">
|
|
|
9878
9878
|
if (!y || !P)
|
|
9879
9879
|
throw new Error("标尺数据依赖不齐全!");
|
|
9880
9880
|
return e.loaded = !1, e.options = D(D({}, e.options), v || {}), n.model.loaded ? a(y, P) : yield new Promise(
|
|
9881
|
-
(
|
|
9881
|
+
(I) => n.once("modelLoaded", () => I(a(y, P)))
|
|
9882
9882
|
);
|
|
9883
9883
|
});
|
|
9884
9884
|
t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
|
|
@@ -9900,12 +9900,12 @@ const eb = `<style type="text/css">
|
|
|
9900
9900
|
{ x: 0, y },
|
|
9901
9901
|
{ x: v, y }
|
|
9902
9902
|
]
|
|
9903
|
-
],
|
|
9903
|
+
], I = [];
|
|
9904
9904
|
for (let k = 0; k < P.length; k++) {
|
|
9905
|
-
const
|
|
9906
|
-
|
|
9905
|
+
const E = Uf([p, m], [P[k][0], P[k][1]], !0);
|
|
9906
|
+
E && I.push(E);
|
|
9907
9907
|
}
|
|
9908
|
-
return
|
|
9908
|
+
return I.length === 0 ? !1 : I;
|
|
9909
9909
|
}, h = () => {
|
|
9910
9910
|
var W;
|
|
9911
9911
|
const p = (W = n.getElement()) == null ? void 0 : W.parentElement;
|
|
@@ -9923,7 +9923,7 @@ const eb = `<style type="text/css">
|
|
|
9923
9923
|
N.style.display = "none";
|
|
9924
9924
|
return;
|
|
9925
9925
|
}
|
|
9926
|
-
const
|
|
9926
|
+
const I = v.position, k = v.getWorldDirection(new oe()), E = p.clientWidth, j = p.clientHeight;
|
|
9927
9927
|
if (y !== dt.Mode.Panorama) {
|
|
9928
9928
|
for (const _ in r)
|
|
9929
9929
|
for (const { $element: N } of r[_].rules)
|
|
@@ -9934,7 +9934,7 @@ const eb = `<style type="text/css">
|
|
|
9934
9934
|
for (const { $element: N } of r[_].rules)
|
|
9935
9935
|
N.style.display = _ === P ? "block" : "none";
|
|
9936
9936
|
const [V] = r[P].origins.slice().filter((_) => _.observers.indexOf(m) >= 0).sort((_, N) => {
|
|
9937
|
-
const G = _.clone().setY(0).sub(
|
|
9937
|
+
const G = _.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0)), H = N.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0));
|
|
9938
9938
|
return G - H;
|
|
9939
9939
|
});
|
|
9940
9940
|
for (const { rule: _, vertical: N, $element: G } of r[P].rules) {
|
|
@@ -9957,25 +9957,25 @@ const eb = `<style type="text/css">
|
|
|
9957
9957
|
G.style.display = "none";
|
|
9958
9958
|
continue;
|
|
9959
9959
|
}
|
|
9960
|
-
if (H.clone().sub(
|
|
9960
|
+
if (H.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
|
|
9961
9961
|
G.style.display = "none";
|
|
9962
9962
|
continue;
|
|
9963
9963
|
}
|
|
9964
|
-
if (F.clone().sub(
|
|
9964
|
+
if (F.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
|
|
9965
9965
|
G.style.display = "none";
|
|
9966
9966
|
continue;
|
|
9967
9967
|
}
|
|
9968
9968
|
const $ = H.distanceTo(F);
|
|
9969
|
-
if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(
|
|
9969
|
+
if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(I) / $ > 8) {
|
|
9970
9970
|
G.style.display = "none";
|
|
9971
9971
|
continue;
|
|
9972
9972
|
}
|
|
9973
|
-
const Pe = H.clone().project(v), Ce = (Pe.x + 1) / 2 *
|
|
9973
|
+
const Pe = H.clone().project(v), Ce = (Pe.x + 1) / 2 * E, be = (-Pe.y + 1) / 2 * j, Qe = F.clone().project(v), ye = (Qe.x + 1) / 2 * E, Ze = (-Qe.y + 1) / 2 * j, ee = Math.sqrt(Math.pow(ye - Ce, 2) + Math.pow(Ze - be, 2));
|
|
9974
9974
|
let ve = ee, je = 50;
|
|
9975
9975
|
const me = c({ x: ~~Ce, y: ~~be }, {
|
|
9976
9976
|
x: ~~ye,
|
|
9977
9977
|
y: ~~Ze
|
|
9978
|
-
},
|
|
9978
|
+
}, E, j);
|
|
9979
9979
|
if (me && me.length === 1 && (V === H ? (ve = Math.sqrt(Math.pow(me[0].x - Ce, 2) + Math.pow(me[0].y - be, 2)), je = ve / ee * 50) : V === F && (ve = Math.sqrt(Math.pow(me[0].x - ye, 2) + Math.pow(me[0].y - Ze, 2)), je = 100 - ve / ee * 50)), me && me.length === 2) {
|
|
9980
9980
|
const re = {
|
|
9981
9981
|
x: (me[0].x + me[1].x) / 2,
|
|
@@ -9997,8 +9997,8 @@ const eb = `<style type="text/css">
|
|
|
9997
9997
|
const m = p.distanceText;
|
|
9998
9998
|
e.options.distanceText = m, Object.values(r).forEach((v) => {
|
|
9999
9999
|
v.rules.forEach((y) => {
|
|
10000
|
-
const [P,
|
|
10001
|
-
|
|
10000
|
+
const [P, I] = y.rule, k = P.distanceTo(I), E = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
|
|
10001
|
+
E && (E.innerText = m(k));
|
|
10002
10002
|
});
|
|
10003
10003
|
});
|
|
10004
10004
|
}
|
|
@@ -10307,34 +10307,34 @@ function cb(n) {
|
|
|
10307
10307
|
function hb(n, t, e) {
|
|
10308
10308
|
var p, m, v, y;
|
|
10309
10309
|
let { five: i } = t, { rulerDatas: s } = t, { options: o } = t, r = [];
|
|
10310
|
-
const a = ((m = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : m.clientWidth) || 0, l = ((y = (v = i.getElement()) == null ? void 0 : v.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (P,
|
|
10310
|
+
const a = ((m = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : m.clientWidth) || 0, l = ((y = (v = i.getElement()) == null ? void 0 : v.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (P, I) => {
|
|
10311
10311
|
const k = [
|
|
10312
10312
|
[{ x: 0, y: 0 }, { x: a, y: 0 }],
|
|
10313
10313
|
[{ x: 0, y: 0 }, { x: 0, y: l }],
|
|
10314
10314
|
[{ x: a, y: 0 }, { x: a, y: l }],
|
|
10315
10315
|
[{ x: 0, y: l }, { x: a, y: l }]
|
|
10316
|
-
],
|
|
10316
|
+
], E = [];
|
|
10317
10317
|
for (let j = 0; j < k.length; j++) {
|
|
10318
|
-
const V = Uf([P,
|
|
10319
|
-
V &&
|
|
10318
|
+
const V = Uf([P, I], [k[j][0], k[j][1]], !0);
|
|
10319
|
+
V && E.push(V);
|
|
10320
10320
|
}
|
|
10321
|
-
return
|
|
10322
|
-
}, h = (P,
|
|
10323
|
-
const k = P.clone().project(i.camera),
|
|
10321
|
+
return E.length === 0 ? !1 : E;
|
|
10322
|
+
}, h = (P, I) => {
|
|
10323
|
+
const k = P.clone().project(i.camera), E = (k.x + 1) / 2 * a, j = (-k.y + 1) / 2 * l, V = I.clone().project(i.camera), W = (V.x + 1) / 2 * a, _ = (-V.y + 1) / 2 * l, N = Math.sqrt(Math.pow(W - E, 2) + Math.pow(_ - j, 2));
|
|
10324
10324
|
return {
|
|
10325
|
-
startLeft:
|
|
10325
|
+
startLeft: E,
|
|
10326
10326
|
startTop: j,
|
|
10327
10327
|
endLeft: W,
|
|
10328
10328
|
endTop: _,
|
|
10329
10329
|
distance: N
|
|
10330
10330
|
};
|
|
10331
|
-
}, u = (P,
|
|
10332
|
-
const
|
|
10331
|
+
}, u = (P, I, k) => {
|
|
10332
|
+
const E = i.camera.position, j = i.camera.getWorldDirection(new oe()), V = P.clone().sub(E).normalize().angleTo(j), W = I.clone().sub(E).normalize().angleTo(j), _ = P.distanceTo(I), G = I.clone().sub(I.clone().sub(P).divide(new oe(2, 2, 2))).distanceTo(E), { startLeft: H, startTop: F, endLeft: U, endTop: X, distance: J } = h(P, I), de = -((Math.PI / 2 - Math.atan2(U - H, F - X)) / Math.PI) * 180;
|
|
10333
10333
|
let he = !0;
|
|
10334
|
-
k || (he = !1), !bt(P, k) && !bt(
|
|
10334
|
+
k || (he = !1), !bt(P, k) && !bt(I, k) && (he = !1), _ < 0.3 && (he = !1), V > Math.PI / 2 && (he = !1), W > Math.PI / 2 && (he = !1), G / _ > 8 && (he = !1);
|
|
10335
10335
|
let Pe = 50, Ce = J;
|
|
10336
10336
|
const be = c({ x: ~~H, y: ~~F }, { x: ~~U, y: ~~X });
|
|
10337
|
-
if (be && be.length === 1 && (bt(P, k) ? (Ce = Math.sqrt(Math.pow(be[0].x - H, 2) + Math.pow(be[0].y - F, 2)), Pe = Ce / J * 50) : bt(
|
|
10337
|
+
if (be && be.length === 1 && (bt(P, k) ? (Ce = Math.sqrt(Math.pow(be[0].x - H, 2) + Math.pow(be[0].y - F, 2)), Pe = Ce / J * 50) : bt(I, k) && (Ce = Math.sqrt(Math.pow(be[0].x - U, 2) + Math.pow(be[0].y - X, 2)), Pe = 100 - Ce / J * 50)), be && be.length === 2) {
|
|
10338
10338
|
const Qe = {
|
|
10339
10339
|
x: (be[0].x + be[1].x) / 2,
|
|
10340
10340
|
y: (be[0].y + be[1].y) / 2
|
|
@@ -10351,15 +10351,15 @@ function hb(n, t, e) {
|
|
|
10351
10351
|
ruleLength: _
|
|
10352
10352
|
};
|
|
10353
10353
|
}, f = () => {
|
|
10354
|
-
const P = i.panoIndex,
|
|
10355
|
-
if (!
|
|
10354
|
+
const P = i.panoIndex, I = s.find((N) => N.panoIndex === P);
|
|
10355
|
+
if (!I)
|
|
10356
10356
|
return e(0, r = []);
|
|
10357
10357
|
if (i.currentMode !== dt.Mode.Panorama)
|
|
10358
10358
|
return e(0, r = []);
|
|
10359
|
-
const k = i.camera.position,
|
|
10360
|
-
const H = N.clone().setY(0).sub(k).normalize().angleTo(
|
|
10359
|
+
const k = i.camera.position, E = i.camera.getWorldDirection(new oe()), j = I.lines.map((N) => new oe(N.start[0], -N.start[1], -N.start[2])), V = I.lines.map((N) => new oe(N.end[0], -N.end[1], -N.end[2])), [W] = j.concat(V).sort((N, G) => {
|
|
10360
|
+
const H = N.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0)), F = G.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0));
|
|
10361
10361
|
return H - F;
|
|
10362
|
-
}), _ =
|
|
10362
|
+
}), _ = I.lines.map((N) => {
|
|
10363
10363
|
var Ce, be;
|
|
10364
10364
|
const G = N.start, H = N.end, { startLeft: F, startTop: U, distance: X, deg: J, visible: $, labelOffset: de, ruleLength: he } = u(new oe(G[0], -G[1], -G[2]), new oe(H[0], -H[1], -H[2]), W), Pe = [];
|
|
10365
10365
|
return N.children && ((Ce = N.children) == null ? void 0 : Ce.length) > 0 && ((be = N.children) == null || be.forEach((Qe) => {
|
|
@@ -10882,10 +10882,10 @@ class Tb extends Jf {
|
|
|
10882
10882
|
this.hide();
|
|
10883
10883
|
return;
|
|
10884
10884
|
}
|
|
10885
|
-
const v = (f.x + 1) / 2 * s, y = -(f.y - 1) / 2 * o,
|
|
10886
|
-
this.containerDom.style.transform = `translate(${v}px, ${y}px) rotate(${
|
|
10887
|
-
const
|
|
10888
|
-
this.contentDom.innerText =
|
|
10885
|
+
const v = (f.x + 1) / 2 * s, y = -(f.y - 1) / 2 * o, I = -(Math.atan((g.y - A.y) / (g.x - A.x)) * 180) / Math.PI, k = this.containerDom.parentElement && this.contentDom.clientWidth > p ? -20 : 0;
|
|
10886
|
+
this.containerDom.style.transform = `translate(${v}px, ${y}px) rotate(${I}deg) translateY(${k}px)`, this.show(), (j = this.params.userDistanceItem) == null || j.update({ line: this.line, polyline: this.line.getPolyline() });
|
|
10887
|
+
const E = this.getCurrentContent();
|
|
10888
|
+
this.contentDom.innerText = E;
|
|
10889
10889
|
}
|
|
10890
10890
|
/** 获取内容文本 */
|
|
10891
10891
|
getCurrentContent() {
|
|
@@ -11865,19 +11865,19 @@ class Pi extends Ar {
|
|
|
11865
11865
|
if (s != null && s.isPolygonMesh) {
|
|
11866
11866
|
const v = this.model.areas.find((y) => y.polygon === s);
|
|
11867
11867
|
if (v) {
|
|
11868
|
-
const { x: y, y: P } = i[0].point.clone().project(this.five.camera),
|
|
11869
|
-
return this.chooseArea(v, { left:
|
|
11868
|
+
const { x: y, y: P } = i[0].point.clone().project(this.five.camera), I = `${(y + 1) / 2 * 100}%`, k = `${(-P + 1) / 2 * 100}%`;
|
|
11869
|
+
return this.chooseArea(v, { left: I, top: k }), !1;
|
|
11870
11870
|
}
|
|
11871
11871
|
}
|
|
11872
11872
|
const [o] = this.five.model.intersectRaycaster(e);
|
|
11873
11873
|
if (!o)
|
|
11874
11874
|
return;
|
|
11875
11875
|
const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((v) => {
|
|
11876
|
-
const [y, P] = v.points,
|
|
11877
|
-
if (!Ki(
|
|
11876
|
+
const [y, P] = v.points, I = y.position.clone().project(r), k = P.position.clone().project(r);
|
|
11877
|
+
if (!Ki(I) && !Ki(k))
|
|
11878
11878
|
return null;
|
|
11879
|
-
const
|
|
11880
|
-
return { id: v.id, points: [
|
|
11879
|
+
const E = new yt(I.x * l, I.y * c), j = new yt(k.x * l, k.y * c);
|
|
11880
|
+
return { id: v.id, points: [E, j] };
|
|
11881
11881
|
}).filter((v) => !!v);
|
|
11882
11882
|
if (u.length === 0)
|
|
11883
11883
|
return;
|
|
@@ -12104,19 +12104,19 @@ class mh extends Ar {
|
|
|
12104
12104
|
if (s instanceof $f) {
|
|
12105
12105
|
const m = this.model.areas.find((v) => v.polygon === s);
|
|
12106
12106
|
if (m) {
|
|
12107
|
-
const { x: v, y } = i[0].point.clone().project(this.five.camera), P = `${(v + 1) / 2 * 100}%`,
|
|
12108
|
-
return this.chooseArea(m, { left: P, top:
|
|
12107
|
+
const { x: v, y } = i[0].point.clone().project(this.five.camera), P = `${(v + 1) / 2 * 100}%`, I = `${(-y + 1) / 2 * 100}%`;
|
|
12108
|
+
return this.chooseArea(m, { left: P, top: I }), !1;
|
|
12109
12109
|
}
|
|
12110
12110
|
}
|
|
12111
12111
|
const [o] = this.five.model.intersectRaycaster(e);
|
|
12112
12112
|
if (!o)
|
|
12113
12113
|
return;
|
|
12114
12114
|
const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((m) => {
|
|
12115
|
-
const [v, y] = m.points, P = v.position.clone().project(r),
|
|
12116
|
-
if (!Ki(P) && !Ki(
|
|
12115
|
+
const [v, y] = m.points, P = v.position.clone().project(r), I = y.position.clone().project(r);
|
|
12116
|
+
if (!Ki(P) && !Ki(I))
|
|
12117
12117
|
return null;
|
|
12118
|
-
const k = new yt(P.x * l, P.y * c),
|
|
12119
|
-
return { id: m.id, points: [k,
|
|
12118
|
+
const k = new yt(P.x * l, P.y * c), E = new yt(I.x * l, I.y * c);
|
|
12119
|
+
return { id: m.id, points: [k, E] };
|
|
12120
12120
|
}).filter((m) => !!m);
|
|
12121
12121
|
if (u.length === 0)
|
|
12122
12122
|
return;
|
|
@@ -14007,20 +14007,20 @@ function T1(n) {
|
|
|
14007
14007
|
16 && x(m, 1)) : (m = Sh(y), m.c(), x(m, 1), m.m(l, c)) : m && (ue(), O(m, 1, 1, () => {
|
|
14008
14008
|
m = null;
|
|
14009
14009
|
}), fe());
|
|
14010
|
-
const
|
|
14010
|
+
const I = {};
|
|
14011
14011
|
P & /*buttonState*/
|
|
14012
|
-
8 && (
|
|
14012
|
+
8 && (I.onClick = /*func*/
|
|
14013
14013
|
y[14]), P & /*buttonState*/
|
|
14014
|
-
8 && (
|
|
14014
|
+
8 && (I.text = /*buttonTextMap*/
|
|
14015
14015
|
y[6][
|
|
14016
14016
|
/*buttonState*/
|
|
14017
14017
|
y[3]
|
|
14018
14018
|
]), P & /*buttonState*/
|
|
14019
|
-
8 && (
|
|
14019
|
+
8 && (I.color = /*buttonColorMap*/
|
|
14020
14020
|
y[7][
|
|
14021
14021
|
/*buttonState*/
|
|
14022
14022
|
y[3]
|
|
14023
|
-
]), u.$set(
|
|
14023
|
+
]), u.$set(I), (!g || P & /*allowAddPoint*/
|
|
14024
14024
|
32) && q(h, "forbid", !/*allowAddPoint*/
|
|
14025
14025
|
y[5]), /*showButton*/
|
|
14026
14026
|
y[4] ? v ? (v.p(y, P), P & /*showButton*/
|
|
@@ -14070,19 +14070,19 @@ function L1(n, t, e) {
|
|
|
14070
14070
|
i.currentMeasureType === "area" && h === "complete" && p("add");
|
|
14071
14071
|
}, P = (_) => {
|
|
14072
14072
|
_.length;
|
|
14073
|
-
},
|
|
14073
|
+
}, I = () => {
|
|
14074
14074
|
p("start"), k("allow");
|
|
14075
14075
|
}, k = (_) => {
|
|
14076
14076
|
e(5, c = _ === "allow");
|
|
14077
|
-
},
|
|
14077
|
+
}, E = (_) => {
|
|
14078
14078
|
e(12, u = _);
|
|
14079
14079
|
}, j = (_) => {
|
|
14080
14080
|
_.isEmpty && p("start");
|
|
14081
14081
|
};
|
|
14082
14082
|
Et(() => {
|
|
14083
|
-
i.hook.on("revoke", j), i.hook.on("measureTypeChange",
|
|
14083
|
+
i.hook.on("revoke", j), i.hook.on("measureTypeChange", E), i.hook.on("modeChange", I), i.hook.on("pointsChange", P), i.hook.on("allowAddPointStateChange", k), i.hook.on("readyComplete", v), i.hook.on("notReadyComplete", y), i.hook.on("complete", I);
|
|
14084
14084
|
}), Bt(() => {
|
|
14085
|
-
i.hook.off("measureTypeChange",
|
|
14085
|
+
i.hook.off("measureTypeChange", E), i.hook.off("modeChange", I), i.hook.off("allowAddPointStateChange", k), i.hook.off("readyComplete", v), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", I);
|
|
14086
14086
|
});
|
|
14087
14087
|
const V = () => i.revoke(), W = () => {
|
|
14088
14088
|
h === "start" ? f() : h === "add" ? g() : (h === "end" || h === "complete") && m();
|
|
@@ -14309,8 +14309,8 @@ function V1(n, t, e) {
|
|
|
14309
14309
|
let { measureController: i } = t, { i18n: s = (y) => y } = t, { tips: o } = t, { tipStyle: r = {} } = t, { visible: a = !0 } = t, l = null;
|
|
14310
14310
|
const c = (y) => {
|
|
14311
14311
|
const P = i.currentMeasureType;
|
|
14312
|
-
let
|
|
14313
|
-
return
|
|
14312
|
+
let I = "";
|
|
14313
|
+
return I = o[y], I === void 0 && (I = o[P][y]), I;
|
|
14314
14314
|
}, h = (y) => {
|
|
14315
14315
|
e(2, f = s(c(y)));
|
|
14316
14316
|
}, u = () => {
|
|
@@ -14863,9 +14863,9 @@ function q1(n, t, e) {
|
|
|
14863
14863
|
},
|
|
14864
14864
|
100
|
|
14865
14865
|
);
|
|
14866
|
-
const P = (
|
|
14866
|
+
const P = (E) => {
|
|
14867
14867
|
const j = Object.keys(f);
|
|
14868
|
-
let V =
|
|
14868
|
+
let V = E.target;
|
|
14869
14869
|
for (; V; ) {
|
|
14870
14870
|
const W = V.getAttribute("class");
|
|
14871
14871
|
if (!W) {
|
|
@@ -14884,10 +14884,10 @@ function q1(n, t, e) {
|
|
|
14884
14884
|
Et(() => {
|
|
14885
14885
|
g.emit("initTag", { id: i });
|
|
14886
14886
|
});
|
|
14887
|
-
const
|
|
14888
|
-
if (
|
|
14887
|
+
const I = fg.subscribe((E) => {
|
|
14888
|
+
if (E === null)
|
|
14889
14889
|
return;
|
|
14890
|
-
const [j, V] =
|
|
14890
|
+
const [j, V] = E.split("-PanoSpatialTagPlugin-");
|
|
14891
14891
|
i === j && (g.emit("clickOrigin", { id: i, show: v }), y || (e(10, v = h), e(12, h = !h), y = setTimeout(
|
|
14892
14892
|
() => {
|
|
14893
14893
|
y = void 0;
|
|
@@ -14898,15 +14898,15 @@ function q1(n, t, e) {
|
|
|
14898
14898
|
Mf(() => {
|
|
14899
14899
|
e(7, A = m.offsetWidth), e(8, p = m.offsetHeight), !y && e(10, v = !h);
|
|
14900
14900
|
}), Bt(() => {
|
|
14901
|
-
g.emit("destroyTag", { id: i }),
|
|
14901
|
+
g.emit("destroyTag", { id: i }), I(), u();
|
|
14902
14902
|
});
|
|
14903
|
-
function k(
|
|
14904
|
-
_e[
|
|
14905
|
-
m =
|
|
14903
|
+
function k(E) {
|
|
14904
|
+
_e[E ? "unshift" : "push"](() => {
|
|
14905
|
+
m = E, e(9, m);
|
|
14906
14906
|
});
|
|
14907
14907
|
}
|
|
14908
|
-
return n.$$set = (
|
|
14909
|
-
"id" in
|
|
14908
|
+
return n.$$set = (E) => {
|
|
14909
|
+
"id" in E && e(0, i = E.id), "upsideDown" in E && e(1, s = E.upsideDown), "content" in E && e(2, o = E.content), "contentZoom" in E && e(3, r = E.contentZoom), "lineWidthZoom" in E && e(4, a = E.lineWidthZoom), "lineHeightZoom" in E && e(5, l = E.lineHeightZoom), "destroying" in E && e(6, c = E.destroying), "folded" in E && e(12, h = E.folded), "dispose" in E && e(13, u = E.dispose), "events" in E && e(14, f = E.events), "hooks" in E && e(15, g = E.hooks);
|
|
14910
14910
|
}, [
|
|
14911
14911
|
i,
|
|
14912
14912
|
s,
|
|
@@ -15115,9 +15115,9 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15115
15115
|
target: f,
|
|
15116
15116
|
props: { origins: p.origins }
|
|
15117
15117
|
}), v = (ee, ve) => {
|
|
15118
|
-
k(), ve &&
|
|
15118
|
+
k(), ve && E();
|
|
15119
15119
|
}, y = () => {
|
|
15120
|
-
p.forbidden && (p.forbidden = !1,
|
|
15120
|
+
p.forbidden && (p.forbidden = !1, E());
|
|
15121
15121
|
}, P = (ee, ve) => {
|
|
15122
15122
|
if (p.tags.length === 0)
|
|
15123
15123
|
return;
|
|
@@ -15146,7 +15146,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15146
15146
|
xe.destroying && (xe.app.$destroy(), xe = null);
|
|
15147
15147
|
}), p.tags = p.tags.filter((xe) => !xe.destroying), k();
|
|
15148
15148
|
}, 1900);
|
|
15149
|
-
},
|
|
15149
|
+
}, I = (ee) => {
|
|
15150
15150
|
ee !== dt.Mode.Panorama && !p.forbidden && (m.$set({ origins: [] }), p.tags.forEach((ve) => {
|
|
15151
15151
|
ve.app.$destroy(), ve = null;
|
|
15152
15152
|
}), p.origins = [], p.tags = [], p.forbidden = !0);
|
|
@@ -15164,7 +15164,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15164
15164
|
destroying: je.destroying
|
|
15165
15165
|
};
|
|
15166
15166
|
}), m.$set({ origins: p.origins });
|
|
15167
|
-
},
|
|
15167
|
+
}, E = () => {
|
|
15168
15168
|
p.forbidden || !p.enabled || (p.timeoutId && clearTimeout(p.timeoutId), p.timeoutId = setTimeout(() => {
|
|
15169
15169
|
p.timeoutId = void 0;
|
|
15170
15170
|
const ee = j();
|
|
@@ -15272,9 +15272,9 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15272
15272
|
};
|
|
15273
15273
|
}), ee.render && (p.render = ee.render), ee.template && (p.template = ee.template), ee.events && (p.events = ee.events), ee.enabled === !1 && (p.enabled = ee.enabled), ee.folded === !0 && (p.folded = ee.folded);
|
|
15274
15274
|
}, W = (ee) => {
|
|
15275
|
-
p.intersectObjects = ee,
|
|
15275
|
+
p.intersectObjects = ee, E();
|
|
15276
15276
|
}, _ = () => {
|
|
15277
|
-
p.enabled = !0,
|
|
15277
|
+
p.enabled = !0, E();
|
|
15278
15278
|
}, N = () => {
|
|
15279
15279
|
p.enabled = !1, m.$set({ origins: [] }), p.tags.forEach((ee) => {
|
|
15280
15280
|
ee.app.$destroy(), ee = null;
|
|
@@ -15298,11 +15298,11 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15298
15298
|
}, X = () => {
|
|
15299
15299
|
n.once("renderFrame", k);
|
|
15300
15300
|
}, J = () => {
|
|
15301
|
-
e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new w.Vector3()).y,
|
|
15301
|
+
e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new w.Vector3()).y, E(), n.on("panoWillArrive", P), n.on("panoArrived", y), n.on("modeChange", I), n.on("cameraUpdate", v);
|
|
15302
15302
|
}, $ = () => {
|
|
15303
15303
|
A = null, u.disposeAll(), m.$destroy(), p.tags.forEach((ee) => {
|
|
15304
15304
|
ee.app.$destroy(), ee = null;
|
|
15305
|
-
}), p.origins = [], p.tags = [], n.off("modelLoaded", J), n.off("renderFrame", k), n.off("panoWillArrive", P), n.off("panoArrived", y), n.off("modeChange",
|
|
15305
|
+
}), p.origins = [], p.tags = [], n.off("modelLoaded", J), n.off("renderFrame", k), n.off("panoWillArrive", P), n.off("panoArrived", y), n.off("modeChange", I), n.off("cameraUpdate", v), n.off("dispose", $), window.removeEventListener("resize", X, !1);
|
|
15306
15306
|
};
|
|
15307
15307
|
return window.addEventListener("resize", X, !1), (Ze = n == null ? void 0 : n.model) != null && Ze.loaded ? J() : n.once("modelLoaded", J), n.on("dispose", $), {
|
|
15308
15308
|
load: V,
|
|
@@ -15589,7 +15589,7 @@ function fy(n, t, e) {
|
|
|
15589
15589
|
const U = new s(F.modelPosition[0], F.modelPosition[1], F.modelPosition[2]), X = H.project2d(U), J = X == null ? void 0 : X.x, $ = X == null ? void 0 : X.y;
|
|
15590
15590
|
return [J, $];
|
|
15591
15591
|
}, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, P = (H, F) => A.length === 0 ? !1 : !!A.find((X) => H[0] >= X[0] - F && H[0] <= X[0] + F || H[1] >= X[1] - Fh && H[1] <= X[1] + Fh);
|
|
15592
|
-
function
|
|
15592
|
+
function I(H, F) {
|
|
15593
15593
|
switch (F) {
|
|
15594
15594
|
case In.SMALL:
|
|
15595
15595
|
return Math.ceil(-27.78 * H + 85);
|
|
@@ -15603,7 +15603,7 @@ function fy(n, t, e) {
|
|
|
15603
15603
|
}
|
|
15604
15604
|
const k = (H, F) => {
|
|
15605
15605
|
const U = F.map((J) => {
|
|
15606
|
-
const $ = v(H, J), de = J.name.length * uy, he =
|
|
15606
|
+
const $ = v(H, J), de = J.name.length * uy, he = I(J.modelPosition[1], c), Ce = (r ? m(H, J) : !0) && !P([$[0], $[1] + he], de);
|
|
15607
15607
|
if (!Ce)
|
|
15608
15608
|
return se(D({}, J), { visible: Ce });
|
|
15609
15609
|
A.push($);
|
|
@@ -15621,7 +15621,7 @@ function fy(n, t, e) {
|
|
|
15621
15621
|
const $ = X.findIndex((de) => de.itemLabelItem.id === J.id);
|
|
15622
15622
|
return $ !== void 0 ? se(D({}, J), { zIndex: $ * 10 }) : J;
|
|
15623
15623
|
});
|
|
15624
|
-
},
|
|
15624
|
+
}, E = () => {
|
|
15625
15625
|
A = [], e(1, u = k(o, u));
|
|
15626
15626
|
};
|
|
15627
15627
|
Ef(() => {
|
|
@@ -15631,19 +15631,19 @@ function fy(n, t, e) {
|
|
|
15631
15631
|
e(4, p = !1), V();
|
|
15632
15632
|
};
|
|
15633
15633
|
Et(() => {
|
|
15634
|
-
e(1, u = a), h = a,
|
|
15634
|
+
e(1, u = a), h = a, E(), W(), o.on("cameraUpdate", j);
|
|
15635
15635
|
});
|
|
15636
15636
|
const V = gg(
|
|
15637
15637
|
() => {
|
|
15638
|
-
e(4, p = !0),
|
|
15638
|
+
e(4, p = !0), E();
|
|
15639
15639
|
},
|
|
15640
15640
|
300
|
|
15641
15641
|
), W = () => {
|
|
15642
15642
|
window.addEventListener("resize", N, !1);
|
|
15643
15643
|
}, _ = () => {
|
|
15644
|
-
h !== a && (e(1, u = a), h = a,
|
|
15644
|
+
h !== a && (e(1, u = a), h = a, E());
|
|
15645
15645
|
}, N = () => {
|
|
15646
|
-
o.once("renderFrame",
|
|
15646
|
+
o.once("renderFrame", E);
|
|
15647
15647
|
};
|
|
15648
15648
|
Bt(() => {
|
|
15649
15649
|
o.off("cameraUpdate", j), window.removeEventListener("resize", N, !1);
|
|
@@ -15800,8 +15800,8 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15800
15800
|
return;
|
|
15801
15801
|
const y = () => {
|
|
15802
15802
|
var P;
|
|
15803
|
-
e.videoTexture && ((P = e.videoTexture) == null || P.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((
|
|
15804
|
-
|
|
15803
|
+
e.videoTexture && ((P = e.videoTexture) == null || P.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((I) => {
|
|
15804
|
+
I.material.map !== e.videoTexture && (I.material.map = e.videoTexture);
|
|
15805
15805
|
}), n.needsRender = !0);
|
|
15806
15806
|
};
|
|
15807
15807
|
e.videoTexture.image.addEventListener("timeupdate", y), e.videoTexture && e.videoMeshes.length && (e.videoTexture.image.play(), e.videoTexture.image.onplay = () => {
|
|
@@ -15821,34 +15821,34 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15821
15821
|
v.geometry.dispose(), v.material.dispose(), n.scene.remove(v), e.videoTexture && e.videoTexture.image.pause();
|
|
15822
15822
|
}), e.videoMeshes = [], n.needsRender = !0);
|
|
15823
15823
|
}, c = () => e.rectPoints.map((v, y) => {
|
|
15824
|
-
const P = new w.BufferGeometry(),
|
|
15824
|
+
const P = new w.BufferGeometry(), I = 128, k = [];
|
|
15825
15825
|
k.push(...v[0].toArray());
|
|
15826
|
-
for (let G = 1; G <
|
|
15826
|
+
for (let G = 1; G < I; G++)
|
|
15827
15827
|
k.push(
|
|
15828
|
-
v[0].x + (v[1].x - v[0].x) * G /
|
|
15829
|
-
v[0].y + (v[1].y - v[0].y) * G /
|
|
15830
|
-
v[0].z + (v[1].z - v[0].z) * G /
|
|
15828
|
+
v[0].x + (v[1].x - v[0].x) * G / I,
|
|
15829
|
+
v[0].y + (v[1].y - v[0].y) * G / I,
|
|
15830
|
+
v[0].z + (v[1].z - v[0].z) * G / I
|
|
15831
15831
|
);
|
|
15832
15832
|
k.push(...v[1].toArray()), k.push(...v[2].toArray());
|
|
15833
|
-
for (let G = 1; G <
|
|
15833
|
+
for (let G = 1; G < I; G++)
|
|
15834
15834
|
k.push(
|
|
15835
|
-
v[2].x + (v[3].x - v[2].x) * G /
|
|
15836
|
-
v[2].y + (v[3].y - v[2].y) * G /
|
|
15837
|
-
v[2].z + (v[3].z - v[2].z) * G /
|
|
15835
|
+
v[2].x + (v[3].x - v[2].x) * G / I,
|
|
15836
|
+
v[2].y + (v[3].y - v[2].y) * G / I,
|
|
15837
|
+
v[2].z + (v[3].z - v[2].z) * G / I
|
|
15838
15838
|
);
|
|
15839
15839
|
k.push(...v[3].toArray());
|
|
15840
|
-
const
|
|
15841
|
-
|
|
15842
|
-
for (let G = 1; G <
|
|
15843
|
-
|
|
15844
|
-
|
|
15845
|
-
for (let G = 1; G <
|
|
15846
|
-
|
|
15847
|
-
|
|
15840
|
+
const E = [];
|
|
15841
|
+
E.push(0, 1);
|
|
15842
|
+
for (let G = 1; G < I; G++)
|
|
15843
|
+
E.push(0, 1 - G / I);
|
|
15844
|
+
E.push(0, 0), E.push(1, 0);
|
|
15845
|
+
for (let G = 1; G < I; G++)
|
|
15846
|
+
E.push(1, G / I);
|
|
15847
|
+
E.push(1, 1);
|
|
15848
15848
|
const j = [];
|
|
15849
|
-
for (let G = 0; G <
|
|
15850
|
-
j.push(G, G + 1,
|
|
15851
|
-
P.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), P.setAttribute("uv", new w.BufferAttribute(new Float32Array(
|
|
15849
|
+
for (let G = 0; G < I; G++)
|
|
15850
|
+
j.push(G, G + 1, I * 2 - G, G, I * 2 - G, I * 2 + 1 - G);
|
|
15851
|
+
P.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), P.setAttribute("uv", new w.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new w.BufferAttribute(new Uint32Array(j), 1));
|
|
15852
15852
|
const V = new w.MeshBasicMaterial({
|
|
15853
15853
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
15854
15854
|
side: w.DoubleSide
|
|
@@ -15869,22 +15869,22 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15869
15869
|
return y.minFilter = w.LinearFilter, y.magFilter = w.LinearFilter, y.format = w.RGBFormat, y;
|
|
15870
15870
|
}, u = (v, y) => {
|
|
15871
15871
|
let P = y;
|
|
15872
|
-
return new Promise((
|
|
15873
|
-
const
|
|
15874
|
-
|
|
15875
|
-
if (
|
|
15876
|
-
if (
|
|
15872
|
+
return new Promise((I, k) => {
|
|
15873
|
+
const E = new XMLHttpRequest();
|
|
15874
|
+
E.onreadystatechange = () => {
|
|
15875
|
+
if (E.readyState === 4)
|
|
15876
|
+
if (E.status === 200) {
|
|
15877
15877
|
const j = window.URL || window.webkitURL;
|
|
15878
|
-
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = j.createObjectURL(
|
|
15878
|
+
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = j.createObjectURL(E.response);
|
|
15879
15879
|
const V = new w.VideoTexture(P);
|
|
15880
|
-
V.minFilter = w.LinearFilter, V.magFilter = w.LinearFilter, V.format = w.RGBFormat,
|
|
15880
|
+
V.minFilter = w.LinearFilter, V.magFilter = w.LinearFilter, V.format = w.RGBFormat, I(Object.assign(V, { videoSource: v }));
|
|
15881
15881
|
} else
|
|
15882
|
-
k(new Error("Video download Error: " +
|
|
15883
|
-
},
|
|
15882
|
+
k(new Error("Video download Error: " + E.status));
|
|
15883
|
+
}, E.onerror = (j) => k(j), E.open("GET", v), E.responseType = "blob", E.send();
|
|
15884
15884
|
});
|
|
15885
15885
|
}, f = (v, y) => Q(void 0, null, function* () {
|
|
15886
|
-
const { video_src: P, video_poster_src:
|
|
15887
|
-
e.videoSource = P, e.rectPoints = py(k).map((
|
|
15886
|
+
const { video_src: P, video_poster_src: I, points: k } = v;
|
|
15887
|
+
e.videoSource = P, e.rectPoints = py(k).map((E) => E.map(({ x: j, y: V, z: W }) => new w.Vector3(j, V, W))), e.imageTexture = h(I), y && (e.videoElement = y), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
|
|
15888
15888
|
}), g = (v) => {
|
|
15889
15889
|
if (!e.enabled)
|
|
15890
15890
|
return;
|
|
@@ -15898,14 +15898,14 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15898
15898
|
return;
|
|
15899
15899
|
const v = n.camera.position;
|
|
15900
15900
|
if (s.forEach((y, P) => {
|
|
15901
|
-
const
|
|
15901
|
+
const I = y.css3DObject.position.clone(), k = I.clone().sub(v).normalize(), E = new w.Raycaster(v, k), j = n.model.intersectRaycaster(E)[0], V = I.distanceTo(v), W = 0.01;
|
|
15902
15902
|
j && j.distance + W < V ? y.hide() : y.show();
|
|
15903
15903
|
}), !r()) {
|
|
15904
15904
|
const y = e.rectPoints.find((P) => {
|
|
15905
|
-
const
|
|
15906
|
-
return P.map((k) => k.clone().add(
|
|
15907
|
-
const
|
|
15908
|
-
return !(V && V.distance + W <
|
|
15905
|
+
const I = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
|
|
15906
|
+
return P.map((k) => k.clone().add(I).divideScalar(2)).filter((k) => {
|
|
15907
|
+
const E = k.distanceTo(v), j = new w.Raycaster(v, k.clone().sub(v).normalize()), V = n.model.intersectRaycaster(j)[0], W = 0.01;
|
|
15908
|
+
return !(V && V.distance + W < E);
|
|
15909
15909
|
}).length >= 2;
|
|
15910
15910
|
});
|
|
15911
15911
|
(!y || y.length === 0) && o(!0);
|
|
@@ -16324,7 +16324,7 @@ function Ty(n, t, e) {
|
|
|
16324
16324
|
}, P = (F, U) => {
|
|
16325
16325
|
const X = new i(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), J = F.project2d(X), $ = J == null ? void 0 : J.x, de = J == null ? void 0 : J.y;
|
|
16326
16326
|
return [$, de];
|
|
16327
|
-
},
|
|
16327
|
+
}, I = (F, U) => {
|
|
16328
16328
|
const X = U.map(($) => {
|
|
16329
16329
|
if (F.state.panoIndex !== $.panoIndex)
|
|
16330
16330
|
return se(D({}, $), { visible: !1 });
|
|
@@ -16349,8 +16349,8 @@ function Ty(n, t, e) {
|
|
|
16349
16349
|
return de !== void 0 ? se(D({}, $), { zIndex: de * 10 }) : $;
|
|
16350
16350
|
});
|
|
16351
16351
|
}, k = () => {
|
|
16352
|
-
p = [], e(1, u =
|
|
16353
|
-
},
|
|
16352
|
+
p = [], e(1, u = I(s, u));
|
|
16353
|
+
}, E = () => {
|
|
16354
16354
|
e(5, m = !1), j();
|
|
16355
16355
|
}, j = gg(
|
|
16356
16356
|
() => {
|
|
@@ -16403,9 +16403,9 @@ function Ty(n, t, e) {
|
|
|
16403
16403
|
Ef(() => {
|
|
16404
16404
|
_();
|
|
16405
16405
|
}), Et(() => {
|
|
16406
|
-
e(1, u = Uh(r)), h = r, k(), W(), s.on("cameraUpdate",
|
|
16406
|
+
e(1, u = Uh(r)), h = r, k(), W(), s.on("cameraUpdate", E);
|
|
16407
16407
|
}), Bt(() => {
|
|
16408
|
-
s.off("cameraUpdate",
|
|
16408
|
+
s.off("cameraUpdate", E), window.removeEventListener("resize", V, !1);
|
|
16409
16409
|
});
|
|
16410
16410
|
function H() {
|
|
16411
16411
|
g = this.clientWidth, A = this.clientHeight, e(3, g), e(4, A);
|
|
@@ -16769,21 +16769,21 @@ class Wy extends Oy {
|
|
|
16769
16769
|
}), this.fixDoorPosition();
|
|
16770
16770
|
});
|
|
16771
16771
|
d(this, "fixDoorPosition", () => {
|
|
16772
|
-
var h, u, f, g, A, p, m, v, y, P,
|
|
16772
|
+
var h, u, f, g, A, p, m, v, y, P, I, k;
|
|
16773
16773
|
const { panoIndex: e, camera: i } = this.five;
|
|
16774
16774
|
if (e === null)
|
|
16775
16775
|
return;
|
|
16776
16776
|
if (this.five.currentMode !== "Panorama")
|
|
16777
16777
|
return this.hideAllLabels();
|
|
16778
16778
|
const s = this.five.getElement(), o = s.clientWidth, r = s.clientHeight, a = i.getWorldDirection(new oe()), l = [], c = [...this.labelItems];
|
|
16779
|
-
if (c.forEach((
|
|
16780
|
-
if (
|
|
16781
|
-
const V = i.position.distanceTo(
|
|
16782
|
-
|
|
16779
|
+
if (c.forEach((E, j) => {
|
|
16780
|
+
if (E.visible) {
|
|
16781
|
+
const V = i.position.distanceTo(E.position), W = E.position.clone().add(new oe(0, this.OffsetHeight, 0)), N = W.clone().sub(i.position).normalize().angleTo(a), G = W.clone().project(i), H = (G.x + 1) / 2.2 * 100, F = (-G.y + 1) / 2.2 * 100, U = H >= 0 && H <= 100 && F >= 0 && F <= 100 && V > this.MinVisibledistance && V <= this.MaxVisibledistance;
|
|
16782
|
+
E.left = H, E.top = F, E.inSight = U && N < Math.PI / 2, E.cameraToward = Qy(this.five), U ? l.push({ disFromCameraToLabel: V, left: H, top: F, index: j }) : E.transform = "translate(-50%, -50%)";
|
|
16783
16783
|
} else
|
|
16784
|
-
|
|
16784
|
+
E.inSight = !1;
|
|
16785
16785
|
}), l.length > 1) {
|
|
16786
|
-
let
|
|
16786
|
+
let E = 0;
|
|
16787
16787
|
l.sort((j, V) => V.disFromCameraToLabel - j.disFromCameraToLabel);
|
|
16788
16788
|
for (let j = 1; j < l.length; j++) {
|
|
16789
16789
|
const { index: V, left: W, top: _ } = l[j - 1], { index: N, left: G, top: H } = l[j], F = this.container.children[V], U = this.container.children[N];
|
|
@@ -16798,9 +16798,9 @@ class Wy extends Oy {
|
|
|
16798
16798
|
left: o * G / 100,
|
|
16799
16799
|
top: r * H / 100,
|
|
16800
16800
|
width: (y = (v = (m = U.children) == null ? void 0 : m[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
|
|
16801
|
-
height: (k = (
|
|
16801
|
+
height: (k = (I = (P = U.children) == null ? void 0 : P[0]) == null ? void 0 : I.clientHeight) != null ? k : 0
|
|
16802
16802
|
};
|
|
16803
|
-
Ny(X, J) && (
|
|
16803
|
+
Ny(X, J) && (E++, c[V].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, c[N].transform = `translate(-50%, ${E * 100 - 50}%)`);
|
|
16804
16804
|
}
|
|
16805
16805
|
}
|
|
16806
16806
|
this.labelItems = c, this.render();
|
|
@@ -16970,29 +16970,29 @@ function dw(n) {
|
|
|
16970
16970
|
if (o.length === 0)
|
|
16971
16971
|
return { geometry: new w.BufferGeometry(), maxU: 0, curvePath: null, curvePoints: null };
|
|
16972
16972
|
const r = new w.CurvePath();
|
|
16973
|
-
o.forEach((
|
|
16974
|
-
const j = uw(
|
|
16973
|
+
o.forEach((E) => {
|
|
16974
|
+
const j = uw(E);
|
|
16975
16975
|
j && r.add(j);
|
|
16976
16976
|
});
|
|
16977
16977
|
const a = Math.ceil(r.getLength() * 100);
|
|
16978
16978
|
r.arcLengthDivisions = a;
|
|
16979
|
-
const l = r.getPoints(a), c = l.length, h = rw(l.map((
|
|
16980
|
-
let P = 0,
|
|
16981
|
-
for (let
|
|
16982
|
-
const [j, V] = h[
|
|
16983
|
-
v[
|
|
16979
|
+
const l = r.getPoints(a), c = l.length, h = rw(l.map((E) => [E.x, E.z])), f = (c - 1) * aw * lw, g = 2 * c, A = g * cw, p = g * hw, m = new Uint32Array(f), v = new Float32Array(A), y = new Float32Array(p);
|
|
16980
|
+
let P = 0, I = 0;
|
|
16981
|
+
for (let E = 0; E < l.length; E++) {
|
|
16982
|
+
const [j, V] = h[E][0], W = l[E], { x: _, y: N, z: G } = W, H = new oe(_ + j * s, N + 0.05, G + V * s);
|
|
16983
|
+
v[E * 6 + 0] = H.x, v[E * 6 + 1] = H.y, v[E * 6 + 2] = H.z;
|
|
16984
16984
|
const F = new oe(_ - j * s, N + 0.05, G - V * s);
|
|
16985
|
-
v[
|
|
16985
|
+
v[E * 6 + 3] = F.x, v[E * 6 + 4] = F.y, v[E * 6 + 5] = F.z, P += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
|
|
16986
16986
|
const U = P / t / i;
|
|
16987
|
-
if (
|
|
16987
|
+
if (I = U, y[E * 4 + 0] = 0, y[E * 4 + 1] = U, y[E * 4 + 2] = 1, y[E * 4 + 3] = U, n.skipPositions) {
|
|
16988
16988
|
const X = new w.Vector3().lerpVectors(H, F, 0.5);
|
|
16989
16989
|
if (n.skipPositions.some(($) => $.distanceTo(X) < 0.26))
|
|
16990
16990
|
continue;
|
|
16991
16991
|
}
|
|
16992
|
-
|
|
16992
|
+
E !== l.length - 1 && (m[E * 6 + 0] = E * 2 + 0, m[E * 6 + 1] = E * 2 + 2, m[E * 6 + 2] = E * 2 + 1, m[E * 6 + 3] = E * 2 + 2, m[E * 6 + 4] = E * 2 + 3, m[E * 6 + 5] = E * 2 + 1);
|
|
16993
16993
|
}
|
|
16994
16994
|
const k = new w.BufferGeometry();
|
|
16995
|
-
return k.setAttribute("position", new w.BufferAttribute(v, 3)), k.setAttribute("uv", new w.BufferAttribute(y, 2)), k.setIndex(new w.BufferAttribute(m, 1)), { geometry: k, maxU:
|
|
16995
|
+
return k.setAttribute("position", new w.BufferAttribute(v, 3)), k.setAttribute("uv", new w.BufferAttribute(y, 2)), k.setIndex(new w.BufferAttribute(m, 1)), { geometry: k, maxU: I, curvePath: r, curvePoints: l };
|
|
16996
16996
|
}
|
|
16997
16997
|
function uw(n) {
|
|
16998
16998
|
if (fw(n)) {
|
|
@@ -17802,7 +17802,7 @@ class Hl {
|
|
|
17802
17802
|
continue;
|
|
17803
17803
|
p._hovered = !1;
|
|
17804
17804
|
}
|
|
17805
|
-
const
|
|
17805
|
+
const I = y({
|
|
17806
17806
|
type: e,
|
|
17807
17807
|
target: p,
|
|
17808
17808
|
origDomEvent: s,
|
|
@@ -17812,7 +17812,7 @@ class Hl {
|
|
|
17812
17812
|
a = !0;
|
|
17813
17813
|
}
|
|
17814
17814
|
});
|
|
17815
|
-
l.push(
|
|
17815
|
+
l.push(I != null ? I : !0);
|
|
17816
17816
|
}
|
|
17817
17817
|
}
|
|
17818
17818
|
if (e === "click" || e === "wantDblclick")
|
|
@@ -18211,35 +18211,35 @@ class Hw extends jw {
|
|
|
18211
18211
|
return e.config;
|
|
18212
18212
|
}
|
|
18213
18213
|
const o = {}, r = {}, a = {};
|
|
18214
|
-
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P,
|
|
18214
|
+
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P, I]) => {
|
|
18215
18215
|
var N, G;
|
|
18216
|
-
const k = P,
|
|
18216
|
+
const k = P, E = k.split("-"), j = P.startsWith("["), V = j ? E[0].slice(1, -1) : void 0, W = j ? E.slice(1) : E, _ = V ? ["PanoramaLike", "ModelLike"].includes(V) ? (N = r[V]) != null ? N : r[V] = {} : (G = a[V]) != null ? G : a[V] = {} : o;
|
|
18217
18217
|
if (!_[k]) {
|
|
18218
|
-
if (W.length === 0 && (_[k] =
|
|
18218
|
+
if (W.length === 0 && (_[k] = I), W.length === 1) {
|
|
18219
18219
|
const [H] = W;
|
|
18220
|
-
(e.contentType === H || H === "Any") && (_[k] =
|
|
18220
|
+
(e.contentType === H || H === "Any") && (_[k] = I);
|
|
18221
18221
|
}
|
|
18222
18222
|
if (W.length === 2) {
|
|
18223
18223
|
const [H = "Any", F = "Any"] = W;
|
|
18224
|
-
H === "Mixin" && e.contentType === F && (_[k] =
|
|
18224
|
+
H === "Mixin" && e.contentType === F && (_[k] = I), (e.stickType === H || H === "Any") && (e.contentType === F || F === "Any") && (_[k] = I);
|
|
18225
18225
|
}
|
|
18226
18226
|
if (W.length === 3) {
|
|
18227
18227
|
const [H = "Any", F, U] = W;
|
|
18228
18228
|
if (F === "Audio" && e.contentType === "Audio") {
|
|
18229
18229
|
const X = e;
|
|
18230
|
-
(X.stickType === H || H === "Any") && X.data.appearance === U && (_[k] =
|
|
18230
|
+
(X.stickType === H || H === "Any") && X.data.appearance === U && (_[k] = I);
|
|
18231
18231
|
}
|
|
18232
18232
|
}
|
|
18233
18233
|
}
|
|
18234
18234
|
});
|
|
18235
18235
|
const l = (y = e.initialConfig) != null ? y : {}, c = Re({}, xw, this.config.globalConfig, ...Object.values(o)), h = Re({}, c, l), u = {}, f = Object.values(dt.Mode);
|
|
18236
|
-
td(r).forEach(([P,
|
|
18236
|
+
td(r).forEach(([P, I]) => {
|
|
18237
18237
|
f.forEach((k) => {
|
|
18238
|
-
(P === "PanoramaLike" && Nt(k) || P === "ModelLike" && jn(k)) && (u[k] = Re({}, c, ...Object.values(
|
|
18238
|
+
(P === "PanoramaLike" && Nt(k) || P === "ModelLike" && jn(k)) && (u[k] = Re({}, c, ...Object.values(I), l, { _isMerged: !0 }));
|
|
18239
18239
|
});
|
|
18240
|
-
}), td(a).forEach(([P,
|
|
18240
|
+
}), td(a).forEach(([P, I]) => {
|
|
18241
18241
|
const k = u[P];
|
|
18242
|
-
u[P] = Re({}, c, k, ...Object.values(
|
|
18242
|
+
u[P] = Re({}, c, k, ...Object.values(I), l, { _isMerged: !0 });
|
|
18243
18243
|
});
|
|
18244
18244
|
const g = se(D({}, h), { configWithFiveMode: u });
|
|
18245
18245
|
return ed(g), Object.values(u).forEach((P) => ed(P)), g._isMerged = !0, g;
|
|
@@ -18494,8 +18494,8 @@ class Qw extends Hw {
|
|
|
18494
18494
|
return V;
|
|
18495
18495
|
})(), P = (h = i.distanceAccuracy) != null ? h : 0.01;
|
|
18496
18496
|
Math.min((u = v == null ? void 0 : v.distance) != null ? u : 1 / 0, (f = y == null ? void 0 : y.distance) != null ? f : 1 / 0) + P >= m ? a++ : l++;
|
|
18497
|
-
const
|
|
18498
|
-
if (a >=
|
|
18497
|
+
const E = (g = i.needPassed) != null ? g : 1;
|
|
18498
|
+
if (a >= E)
|
|
18499
18499
|
return { value: !0 };
|
|
18500
18500
|
}
|
|
18501
18501
|
return l === 0 ? { value: !0 } : {
|
|
@@ -19120,9 +19120,9 @@ function eC(n, t, e) {
|
|
|
19120
19120
|
let i, { inDelay: s = 0 } = t, { outDelay: o = 0 } = t, { content: r } = t, { unfolded: a } = t, { isFistUnfoldedUpdate: l = !0 } = t;
|
|
19121
19121
|
const c = `__EMOJI_SPLIT_${So}__`, h = `__EMOJI_${So}__`, u = `__SPACE_${So}__`, f = `__NEW_LINE_${So}__`;
|
|
19122
19122
|
let g, A, p = [];
|
|
19123
|
-
function m(
|
|
19123
|
+
function m(E) {
|
|
19124
19124
|
const j = [], V = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
19125
|
-
return
|
|
19125
|
+
return E.slice().replace(V, (W) => `${c}${h}${W}${c}`).split(c).forEach((W) => W.startsWith(h) ? j.push({
|
|
19126
19126
|
id: nt(),
|
|
19127
19127
|
content: W.slice(h.length)
|
|
19128
19128
|
}) : j.push(...W.split("").map((_) => _ === " " ? u : _ === `
|
|
@@ -19131,24 +19131,24 @@ function eC(n, t, e) {
|
|
|
19131
19131
|
function v() {
|
|
19132
19132
|
if (!A)
|
|
19133
19133
|
return;
|
|
19134
|
-
const
|
|
19135
|
-
A.reversed !==
|
|
19134
|
+
const E = !a;
|
|
19135
|
+
A.reversed !== E && A.reverse(), A.play();
|
|
19136
19136
|
}
|
|
19137
|
-
function y(
|
|
19137
|
+
function y(E) {
|
|
19138
19138
|
if (l) {
|
|
19139
19139
|
e(5, l = !1);
|
|
19140
19140
|
return;
|
|
19141
19141
|
}
|
|
19142
|
-
clearTimeout(g), g = setTimeout(v,
|
|
19142
|
+
clearTimeout(g), g = setTimeout(v, E ? s : o);
|
|
19143
19143
|
}
|
|
19144
|
-
function P(
|
|
19144
|
+
function P(E) {
|
|
19145
19145
|
const j = function() {
|
|
19146
|
-
const V = Pw((W) =>
|
|
19146
|
+
const V = Pw((W) => E[W].getBoundingClientRect().x, [Math.min(E.length - 1, 10), Math.min(E.length - 1, 30)]);
|
|
19147
19147
|
if (V > 0)
|
|
19148
19148
|
return V;
|
|
19149
19149
|
}();
|
|
19150
19150
|
A = Qa({
|
|
19151
|
-
targets:
|
|
19151
|
+
targets: E.slice(0, j).filter(Me),
|
|
19152
19152
|
autoplay: !1,
|
|
19153
19153
|
duration: 400,
|
|
19154
19154
|
scale: [0.7, 1],
|
|
@@ -19160,23 +19160,23 @@ function eC(n, t, e) {
|
|
|
19160
19160
|
easing: "easeInOutCubic"
|
|
19161
19161
|
}), a && A.seek(A.duration);
|
|
19162
19162
|
}
|
|
19163
|
-
function E
|
|
19164
|
-
_e[
|
|
19165
|
-
p[j] =
|
|
19163
|
+
function I(E, j) {
|
|
19164
|
+
_e[E ? "unshift" : "push"](() => {
|
|
19165
|
+
p[j] = E, e(1, p);
|
|
19166
19166
|
});
|
|
19167
19167
|
}
|
|
19168
|
-
function k(
|
|
19169
|
-
_e[
|
|
19170
|
-
p[j] =
|
|
19168
|
+
function k(E, j) {
|
|
19169
|
+
_e[E ? "unshift" : "push"](() => {
|
|
19170
|
+
p[j] = E, e(1, p);
|
|
19171
19171
|
});
|
|
19172
19172
|
}
|
|
19173
|
-
return n.$$set = (
|
|
19174
|
-
"inDelay" in
|
|
19173
|
+
return n.$$set = (E) => {
|
|
19174
|
+
"inDelay" in E && e(6, s = E.inDelay), "outDelay" in E && e(7, o = E.outDelay), "content" in E && e(0, r = E.content), "unfolded" in E && e(8, a = E.unfolded), "isFistUnfoldedUpdate" in E && e(5, l = E.isFistUnfoldedUpdate);
|
|
19175
19175
|
}, n.$$.update = () => {
|
|
19176
19176
|
n.$$.dirty & /*content*/
|
|
19177
19177
|
1 && e(2, i = m(r)), n.$$.dirty & /*unfolded*/
|
|
19178
19178
|
256 && y(a), n.$$.dirty & /*spanEleList*/
|
|
19179
|
-
2 && P(p.filter((
|
|
19179
|
+
2 && P(p.filter((E) => !!E));
|
|
19180
19180
|
}, [
|
|
19181
19181
|
r,
|
|
19182
19182
|
p,
|
|
@@ -19187,7 +19187,7 @@ function eC(n, t, e) {
|
|
|
19187
19187
|
s,
|
|
19188
19188
|
o,
|
|
19189
19189
|
a,
|
|
19190
|
-
|
|
19190
|
+
I,
|
|
19191
19191
|
k
|
|
19192
19192
|
];
|
|
19193
19193
|
}
|
|
@@ -21260,8 +21260,8 @@ var To = vI, ir = {}, bI = {
|
|
|
21260
21260
|
}
|
|
21261
21261
|
};
|
|
21262
21262
|
(function(n, t) {
|
|
21263
|
-
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", A = "[object Object]", p = "[object Promise]", m = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]",
|
|
21264
|
-
he[o] = he[r] = he[k] = he[
|
|
21263
|
+
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", A = "[object Object]", p = "[object Promise]", m = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", I = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", j = "[object Float32Array]", V = "[object Float64Array]", W = "[object Int8Array]", _ = "[object Int16Array]", N = "[object Int32Array]", G = "[object Uint8Array]", H = "[object Uint8ClampedArray]", F = "[object Uint16Array]", U = "[object Uint32Array]", X = /[\\^$.*+?()[\]{}|]/g, J = /\w*$/, $ = /^\[object .+?Constructor\]$/, de = /^(?:0|[1-9]\d*)$/, he = {};
|
|
21264
|
+
he[o] = he[r] = he[k] = he[E] = he[a] = he[l] = he[j] = he[V] = he[W] = he[_] = he[N] = he[f] = he[g] = he[A] = he[m] = he[v] = he[y] = he[P] = he[G] = he[H] = he[F] = he[U] = !0, he[c] = he[h] = he[I] = !1;
|
|
21265
21265
|
var Pe = typeof Ot == "object" && Ot && Ot.Object === Object && Ot, Ce = typeof self == "object" && self && self.Object === Object && self, be = Pe || Ce || Function("return this")(), Qe = t && !t.nodeType && t, ye = Qe && !0 && n && !n.nodeType && n, Ze = ye && ye.exports === Qe;
|
|
21266
21266
|
function ee(b, M) {
|
|
21267
21267
|
return b.set(M[0], M[1]), b;
|
|
@@ -21577,12 +21577,12 @@ var To = vI, ir = {}, bI = {
|
|
|
21577
21577
|
return Ur(R) ? R : void 0;
|
|
21578
21578
|
}
|
|
21579
21579
|
var ai = ns ? Ie(ns, Object) : ra, li = Wr;
|
|
21580
|
-
(cn && li(new cn(new ArrayBuffer(1))) !=
|
|
21580
|
+
(cn && li(new cn(new ArrayBuffer(1))) != E || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || hn && li(new hn()) != v || ss && li(new ss()) != I) && (li = function(b) {
|
|
21581
21581
|
var M = Rt.call(b), R = M == A ? b.constructor : void 0, Y = R ? Pt(R) : void 0;
|
|
21582
21582
|
if (Y)
|
|
21583
21583
|
switch (Y) {
|
|
21584
21584
|
case os:
|
|
21585
|
-
return
|
|
21585
|
+
return E;
|
|
21586
21586
|
case Ri:
|
|
21587
21587
|
return f;
|
|
21588
21588
|
case rs:
|
|
@@ -21590,7 +21590,7 @@ var To = vI, ir = {}, bI = {
|
|
|
21590
21590
|
case as:
|
|
21591
21591
|
return v;
|
|
21592
21592
|
case ls:
|
|
21593
|
-
return
|
|
21593
|
+
return I;
|
|
21594
21594
|
}
|
|
21595
21595
|
return M;
|
|
21596
21596
|
});
|
|
@@ -21609,7 +21609,7 @@ var To = vI, ir = {}, bI = {
|
|
|
21609
21609
|
case a:
|
|
21610
21610
|
case l:
|
|
21611
21611
|
return new Ee(+b);
|
|
21612
|
-
case
|
|
21612
|
+
case E:
|
|
21613
21613
|
return Vi(b, Y);
|
|
21614
21614
|
case j:
|
|
21615
21615
|
case V:
|
|
@@ -21713,8 +21713,8 @@ var nr = {}, wI = {
|
|
|
21713
21713
|
}
|
|
21714
21714
|
};
|
|
21715
21715
|
(function(n, t) {
|
|
21716
|
-
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", g = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", m = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]",
|
|
21717
|
-
ye[H] = ye[F] = ye[U] = ye[X] = ye[J] = ye[$] = ye[de] = ye[he] = ye[Pe] = !0, ye[a] = ye[l] = ye[N] = ye[h] = ye[G] = ye[u] = ye[f] = ye[g] = ye[p] = ye[m] = ye[y] = ye[k] = ye[
|
|
21716
|
+
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", g = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", m = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", I = "[object Proxy]", k = "[object RegExp]", E = "[object Set]", j = "[object String]", V = "[object Symbol]", W = "[object Undefined]", _ = "[object WeakMap]", N = "[object ArrayBuffer]", G = "[object DataView]", H = "[object Float32Array]", F = "[object Float64Array]", U = "[object Int8Array]", X = "[object Int16Array]", J = "[object Int32Array]", $ = "[object Uint8Array]", de = "[object Uint8ClampedArray]", he = "[object Uint16Array]", Pe = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, Qe = /^(?:0|[1-9]\d*)$/, ye = {};
|
|
21717
|
+
ye[H] = ye[F] = ye[U] = ye[X] = ye[J] = ye[$] = ye[de] = ye[he] = ye[Pe] = !0, ye[a] = ye[l] = ye[N] = ye[h] = ye[G] = ye[u] = ye[f] = ye[g] = ye[p] = ye[m] = ye[y] = ye[k] = ye[E] = ye[j] = ye[_] = !1;
|
|
21718
21718
|
var Ze = typeof Ot == "object" && Ot && Ot.Object === Object && Ot, ee = typeof self == "object" && self && self.Object === Object && self, ve = Ze || ee || Function("return this")(), je = t && !t.nodeType && t, me = je && !0 && n && !n.nodeType && n, tt = me && me.exports === je, at = tt && Ze.process, xe = function() {
|
|
21719
21719
|
try {
|
|
21720
21720
|
return at && at.binding && at.binding("util");
|
|
@@ -22025,7 +22025,7 @@ var nr = {}, wI = {
|
|
|
22025
22025
|
return b == M + "";
|
|
22026
22026
|
case p:
|
|
22027
22027
|
var Te = Ve;
|
|
22028
|
-
case
|
|
22028
|
+
case E:
|
|
22029
22029
|
var qe = Y & s;
|
|
22030
22030
|
if (Te || (Te = Je), b.size != M.size && !qe)
|
|
22031
22031
|
return !1;
|
|
@@ -22098,7 +22098,7 @@ var nr = {}, wI = {
|
|
|
22098
22098
|
return cn.call(b, M);
|
|
22099
22099
|
}));
|
|
22100
22100
|
} : ra, Jt = Vi;
|
|
22101
|
-
(os && Jt(new os(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || rs && Jt(rs.resolve()) != P || as && Jt(new as()) !=
|
|
22101
|
+
(os && Jt(new os(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || rs && Jt(rs.resolve()) != P || as && Jt(new as()) != E || ls && Jt(new ls()) != _) && (Jt = function(b) {
|
|
22102
22102
|
var M = Vi(b), R = M == y ? b.constructor : void 0, Y = R ? Pt(R) : "";
|
|
22103
22103
|
if (Y)
|
|
22104
22104
|
switch (Y) {
|
|
@@ -22109,7 +22109,7 @@ var nr = {}, wI = {
|
|
|
22109
22109
|
case Er:
|
|
22110
22110
|
return P;
|
|
22111
22111
|
case Mr:
|
|
22112
|
-
return
|
|
22112
|
+
return E;
|
|
22113
22113
|
case kr:
|
|
22114
22114
|
return _;
|
|
22115
22115
|
}
|
|
@@ -22164,7 +22164,7 @@ var nr = {}, wI = {
|
|
|
22164
22164
|
if (!co(b))
|
|
22165
22165
|
return !1;
|
|
22166
22166
|
var M = Vi(b);
|
|
22167
|
-
return M == g || M == A || M == c || M ==
|
|
22167
|
+
return M == g || M == A || M == c || M == I;
|
|
22168
22168
|
}
|
|
22169
22169
|
function gs(b) {
|
|
22170
22170
|
return typeof b == "number" && b > -1 && b % 1 == 0 && b <= r;
|
|
@@ -23006,8 +23006,8 @@ function FI(n) {
|
|
|
23006
23006
|
n[0]
|
|
23007
23007
|
), C(s, "class", "sc-carousel__pages-window svelte-sme1z4"), C(e, "class", "sc-carousel__content-container svelte-sme1z4"), C(t, "class", "sc-carousel__carousel-container svelte-sme1z4");
|
|
23008
23008
|
},
|
|
23009
|
-
m(P,
|
|
23010
|
-
B(P, t,
|
|
23009
|
+
m(P, I) {
|
|
23010
|
+
B(P, t, I), L(t, e), g && g.m(e, null), L(e, i), L(e, s), L(s, o), p && p.m(o, null), n[39](o), L(s, a), m && m.m(s, null), n[40](s), L(e, l), v && v.m(e, null), L(t, c), y && y.m(t, null), h = !0, u || (f = [
|
|
23011
23011
|
Ft(r = tP.call(null, o, {
|
|
23012
23012
|
thresholdProvider: (
|
|
23013
23013
|
/*swipeable_function*/
|
|
@@ -23060,13 +23060,13 @@ function FI(n) {
|
|
|
23060
23060
|
)
|
|
23061
23061
|
], u = !0);
|
|
23062
23062
|
},
|
|
23063
|
-
p(P,
|
|
23063
|
+
p(P, I) {
|
|
23064
23064
|
/*arrows*/
|
|
23065
|
-
P[1] ? g ? (g.p(P,
|
|
23065
|
+
P[1] ? g ? (g.p(P, I), I[0] & /*arrows*/
|
|
23066
23066
|
2 && x(g, 1)) : (g = jd(P), g.c(), x(g, 1), g.m(e, i)) : g && (ue(), O(g, 1, 1, () => {
|
|
23067
23067
|
g = null;
|
|
23068
|
-
}), fe()), p && p.p && (!h ||
|
|
23069
|
-
96 |
|
|
23068
|
+
}), fe()), p && p.p && (!h || I[0] & /*loaded, currentPageIndex*/
|
|
23069
|
+
96 | I[1] & /*$$scope*/
|
|
23070
23070
|
32) && qn(
|
|
23071
23071
|
p,
|
|
23072
23072
|
A,
|
|
@@ -23077,43 +23077,43 @@ function FI(n) {
|
|
|
23077
23077
|
A,
|
|
23078
23078
|
/*$$scope*/
|
|
23079
23079
|
P[36],
|
|
23080
|
-
|
|
23080
|
+
I,
|
|
23081
23081
|
VI
|
|
23082
23082
|
) : Kn(
|
|
23083
23083
|
/*$$scope*/
|
|
23084
23084
|
P[36]
|
|
23085
23085
|
),
|
|
23086
23086
|
Td
|
|
23087
|
-
), (!h ||
|
|
23087
|
+
), (!h || I[0] & /*offset*/
|
|
23088
23088
|
256) && T(o, "transform", "translateX(" + /*offset*/
|
|
23089
|
-
P[8] + "px)"), (!h ||
|
|
23089
|
+
P[8] + "px)"), (!h || I[0] & /*durationMs*/
|
|
23090
23090
|
512) && T(
|
|
23091
23091
|
o,
|
|
23092
23092
|
"transition-duration",
|
|
23093
23093
|
/*durationMs*/
|
|
23094
23094
|
P[9] + "ms"
|
|
23095
|
-
), (!h ||
|
|
23095
|
+
), (!h || I[0] & /*timingFunction*/
|
|
23096
23096
|
1) && T(
|
|
23097
23097
|
o,
|
|
23098
23098
|
"transition-timing-function",
|
|
23099
23099
|
/*timingFunction*/
|
|
23100
23100
|
P[0]
|
|
23101
|
-
), r && oi(r.update) &&
|
|
23101
|
+
), r && oi(r.update) && I[0] & /*pageWindowWidth*/
|
|
23102
23102
|
2048 && r.update.call(null, {
|
|
23103
23103
|
thresholdProvider: (
|
|
23104
23104
|
/*swipeable_function*/
|
|
23105
23105
|
P[38]
|
|
23106
23106
|
)
|
|
23107
23107
|
}), /*autoplayProgressVisible*/
|
|
23108
|
-
P[3] ? m ? (m.p(P,
|
|
23108
|
+
P[3] ? m ? (m.p(P, I), I[0] & /*autoplayProgressVisible*/
|
|
23109
23109
|
8 && x(m, 1)) : (m = zd(P), m.c(), x(m, 1), m.m(s, null)) : m && (ue(), O(m, 1, 1, () => {
|
|
23110
23110
|
m = null;
|
|
23111
23111
|
}), fe()), /*arrows*/
|
|
23112
|
-
P[1] ? v ? (v.p(P,
|
|
23112
|
+
P[1] ? v ? (v.p(P, I), I[0] & /*arrows*/
|
|
23113
23113
|
2 && x(v, 1)) : (v = Od(P), v.c(), x(v, 1), v.m(e, null)) : v && (ue(), O(v, 1, 1, () => {
|
|
23114
23114
|
v = null;
|
|
23115
23115
|
}), fe()), /*dots*/
|
|
23116
|
-
P[4] ? y ? (y.p(P,
|
|
23116
|
+
P[4] ? y ? (y.p(P, I), I[0] & /*dots*/
|
|
23117
23117
|
16 && x(y, 1)) : (y = Bd(P), y.c(), x(y, 1), y.m(t, null)) : y && (ue(), O(y, 1, 1, () => {
|
|
23118
23118
|
y = null;
|
|
23119
23119
|
}), fe());
|
|
@@ -23141,7 +23141,7 @@ function _I(n, t, e) {
|
|
|
23141
23141
|
loaded: () => e(6, o = Ie)
|
|
23142
23142
|
})(re);
|
|
23143
23143
|
}), p = gr();
|
|
23144
|
-
let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration:
|
|
23144
|
+
let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: j = xi } = t, { pauseOnFocus: V = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots: _ = !0 } = t, { swiping: N = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: H = 1 } = t;
|
|
23145
23145
|
function F(re, Ie) {
|
|
23146
23146
|
return Q(this, null, function* () {
|
|
23147
23147
|
const Ge = js(Ie, "animated", !0);
|
|
@@ -23237,14 +23237,14 @@ function _I(n, t, e) {
|
|
|
23237
23237
|
}
|
|
23238
23238
|
const st = (re) => Ce(re.detail);
|
|
23239
23239
|
return n.$$set = (re) => {
|
|
23240
|
-
"timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, P = re.initialPageIndex), "duration" in re && e(25,
|
|
23240
|
+
"timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, P = re.initialPageIndex), "duration" in re && e(25, I = re.duration), "autoplay" in re && e(26, k = re.autoplay), "autoplayDuration" in re && e(27, E = re.autoplayDuration), "autoplayDirection" in re && e(28, j = re.autoplayDirection), "pauseOnFocus" in re && e(29, V = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, W = re.autoplayProgressVisible), "dots" in re && e(4, _ = re.dots), "swiping" in re && e(30, N = re.swiping), "particlesToShow" in re && e(31, G = re.particlesToShow), "particlesToScroll" in re && e(32, H = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
|
|
23241
23241
|
}, n.$$.update = () => {
|
|
23242
23242
|
n.$$.dirty[0] & /*currentPageIndex*/
|
|
23243
23243
|
32 && p("pageChange", r), n.$$.dirty[0] & /*infinite*/
|
|
23244
23244
|
4 && (u.infinite = y), n.$$.dirty[0] & /*duration*/
|
|
23245
|
-
33554432 && (u.durationMsInit =
|
|
23245
|
+
33554432 && (u.durationMsInit = I), n.$$.dirty[0] & /*autoplay*/
|
|
23246
23246
|
67108864 && (u.autoplay = k), n.$$.dirty[0] & /*autoplayDuration*/
|
|
23247
|
-
134217728 && (u.autoplayDuration =
|
|
23247
|
+
134217728 && (u.autoplayDuration = E), n.$$.dirty[0] & /*autoplayDirection*/
|
|
23248
23248
|
268435456 && (u.autoplayDirection = j), n.$$.dirty[0] & /*pauseOnFocus*/
|
|
23249
23249
|
536870912 && (u.pauseOnFocus = V), n.$$.dirty[1] & /*particlesToShow*/
|
|
23250
23250
|
1 && (u.particlesToShowInit = G), n.$$.dirty[1] & /*particlesToScroll*/
|
|
@@ -23275,9 +23275,9 @@ function _I(n, t, e) {
|
|
|
23275
23275
|
je,
|
|
23276
23276
|
me,
|
|
23277
23277
|
P,
|
|
23278
|
-
E,
|
|
23279
|
-
k,
|
|
23280
23278
|
I,
|
|
23279
|
+
k,
|
|
23280
|
+
E,
|
|
23281
23281
|
j,
|
|
23282
23282
|
V,
|
|
23283
23283
|
N,
|
|
@@ -23643,7 +23643,7 @@ function KI(n, t, e) {
|
|
|
23643
23643
|
G !== i && (i == null || i.pause());
|
|
23644
23644
|
});
|
|
23645
23645
|
});
|
|
23646
|
-
const
|
|
23646
|
+
const I = (G) => {
|
|
23647
23647
|
e(11, A = !1), e(0, o.paused = !1, o), e(9, p = !0), i && v.set({ currentMediaElement: i }), y.emit("playStateChange", {
|
|
23648
23648
|
event: G,
|
|
23649
23649
|
state: "playing",
|
|
@@ -23657,7 +23657,7 @@ function KI(n, t, e) {
|
|
|
23657
23657
|
tag: r,
|
|
23658
23658
|
mediaInstance: i
|
|
23659
23659
|
});
|
|
23660
|
-
},
|
|
23660
|
+
}, E = (G) => {
|
|
23661
23661
|
e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
|
|
23662
23662
|
event: G,
|
|
23663
23663
|
state: "paused",
|
|
@@ -23710,9 +23710,9 @@ function KI(n, t, e) {
|
|
|
23710
23710
|
v,
|
|
23711
23711
|
y,
|
|
23712
23712
|
s,
|
|
23713
|
-
E,
|
|
23714
|
-
k,
|
|
23715
23713
|
I,
|
|
23714
|
+
k,
|
|
23715
|
+
E,
|
|
23716
23716
|
j,
|
|
23717
23717
|
V,
|
|
23718
23718
|
W,
|
|
@@ -24116,10 +24116,10 @@ function nE(n) {
|
|
|
24116
24116
|
function sE(n, t, e) {
|
|
24117
24117
|
let i, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: h = 0 } = t, { duration: u = 0 } = t, { unfolded: f = !0 } = t, { animation: g = !0 } = t, { mediaItemConfig: A } = t, { enableCarousel: p = !0 } = t, { autoplayConfig: m = {} } = t;
|
|
24118
24118
|
const { autoplayVideo: v = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = m;
|
|
24119
|
-
let
|
|
24119
|
+
let I = [], k = 0, E, j = null;
|
|
24120
24120
|
const V = Ii("hooks"), W = Ii("mediaStore");
|
|
24121
24121
|
function _() {
|
|
24122
|
-
const U =
|
|
24122
|
+
const U = I[k], X = U == null ? void 0 : U.videoInstance;
|
|
24123
24123
|
X && (X.paused ? (X.muted = !1, X.play()) : X.pause());
|
|
24124
24124
|
}
|
|
24125
24125
|
Et(() => {
|
|
@@ -24128,7 +24128,7 @@ function sE(n, t, e) {
|
|
|
24128
24128
|
($ = (J = (X = a.tag3DContentSvelte) == null ? void 0 : X.css3DInstance) == null ? void 0 : J.css3DObject) != null && $.opacityMesh && U.tag.id === a.id && _();
|
|
24129
24129
|
}), j = setInterval(
|
|
24130
24130
|
() => {
|
|
24131
|
-
r && (
|
|
24131
|
+
r && (E == null || E.goToNext());
|
|
24132
24132
|
},
|
|
24133
24133
|
3e3
|
|
24134
24134
|
);
|
|
@@ -24136,24 +24136,24 @@ function sE(n, t, e) {
|
|
|
24136
24136
|
clearInterval(j), V.off("click", _);
|
|
24137
24137
|
});
|
|
24138
24138
|
function N(U, X) {
|
|
24139
|
-
n.$$.not_equal(
|
|
24139
|
+
n.$$.not_equal(I[X], U) && (I[X] = U, e(8, I));
|
|
24140
24140
|
}
|
|
24141
24141
|
function G(U) {
|
|
24142
24142
|
_e[U ? "unshift" : "push"](() => {
|
|
24143
|
-
|
|
24143
|
+
E = U, e(12, E);
|
|
24144
24144
|
});
|
|
24145
24145
|
}
|
|
24146
24146
|
const H = (U) => {
|
|
24147
24147
|
i || W.set({ currentMediaElement: null }), e(11, k = U.detail);
|
|
24148
24148
|
};
|
|
24149
24149
|
function F(U) {
|
|
24150
|
-
n.$$.not_equal(
|
|
24150
|
+
n.$$.not_equal(I[0], U) && (I[0] = U, e(8, I));
|
|
24151
24151
|
}
|
|
24152
24152
|
return n.$$set = (U) => {
|
|
24153
24153
|
"tag" in U && e(0, a = U.tag), "mediaData" in U && e(1, l = U.mediaData), "inDelay" in U && e(2, c = U.inDelay), "outDelay" in U && e(3, h = U.outDelay), "duration" in U && e(4, u = U.duration), "unfolded" in U && e(5, f = U.unfolded), "animation" in U && e(6, g = U.animation), "mediaItemConfig" in U && e(7, A = U.mediaItemConfig), "enableCarousel" in U && e(16, p = U.enableCarousel), "autoplayConfig" in U && e(17, m = U.autoplayConfig);
|
|
24154
24154
|
}, n.$$.update = () => {
|
|
24155
24155
|
n.$$.dirty[0] & /*mediaInstanceList*/
|
|
24156
|
-
256 && e(9, i =
|
|
24156
|
+
256 && e(9, i = I.every((U) => U.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
|
|
24157
24157
|
65538 && e(13, s = p && (l == null ? void 0 : l.length) > 1), n.$$.dirty[0] & /*mediaData*/
|
|
24158
24158
|
2 && e(10, o = l), n.$$.dirty[0] & /*mediaDataList, paused*/
|
|
24159
24159
|
1536 && (r = o.length > 1 && y && i);
|
|
@@ -24166,11 +24166,11 @@ function sE(n, t, e) {
|
|
|
24166
24166
|
f,
|
|
24167
24167
|
g,
|
|
24168
24168
|
A,
|
|
24169
|
-
|
|
24169
|
+
I,
|
|
24170
24170
|
i,
|
|
24171
24171
|
o,
|
|
24172
24172
|
k,
|
|
24173
|
-
|
|
24173
|
+
E,
|
|
24174
24174
|
s,
|
|
24175
24175
|
v,
|
|
24176
24176
|
W,
|
|
@@ -24662,7 +24662,7 @@ function $d(n) {
|
|
|
24662
24662
|
};
|
|
24663
24663
|
}
|
|
24664
24664
|
function hE(n) {
|
|
24665
|
-
var
|
|
24665
|
+
var I, k;
|
|
24666
24666
|
let t, e, i, s, o, r, a, l, c, h, u = (
|
|
24667
24667
|
/*data*/
|
|
24668
24668
|
n[3].title + ""
|
|
@@ -24685,7 +24685,7 @@ function hE(n) {
|
|
|
24685
24685
|
n[3].headerPictureUrl && Ud(n)
|
|
24686
24686
|
), y = (
|
|
24687
24687
|
/*primaryTags*/
|
|
24688
|
-
((
|
|
24688
|
+
((I = n[2].length) != null ? I : 0) + /*secondaryTags*/
|
|
24689
24689
|
((k = n[5].length) != null ? k : 0) > 0 && Yd(n)
|
|
24690
24690
|
), P = (
|
|
24691
24691
|
/*havePrice*/
|
|
@@ -24720,57 +24720,57 @@ function hE(n) {
|
|
|
24720
24720
|
n[8]
|
|
24721
24721
|
);
|
|
24722
24722
|
},
|
|
24723
|
-
m(
|
|
24724
|
-
B(
|
|
24723
|
+
m(E, j) {
|
|
24724
|
+
B(E, t, j), te(e, t, null), L(t, i), L(t, s), L(t, o), L(t, r), v && v.m(r, null), L(r, a), L(r, l), L(l, c), L(c, h), L(h, f), L(r, g), y && y.m(r, null), L(r, A), P && P.m(r, null), m = !0;
|
|
24725
24725
|
},
|
|
24726
|
-
p(
|
|
24726
|
+
p(E, [j]) {
|
|
24727
24727
|
var W, _;
|
|
24728
24728
|
const V = {};
|
|
24729
24729
|
j & /*unfolded*/
|
|
24730
24730
|
16 && (V.visible = /*unfolded*/
|
|
24731
|
-
|
|
24731
|
+
E[4]), e.$set(V), j & /*unfolded*/
|
|
24732
24732
|
16 && T(
|
|
24733
24733
|
s,
|
|
24734
24734
|
"transition-delay",
|
|
24735
24735
|
/*unfolded*/
|
|
24736
|
-
|
|
24736
|
+
E[4] ? Lo + "ms" : jo + tu - eu - 40 + "ms"
|
|
24737
24737
|
), /*data*/
|
|
24738
|
-
|
|
24738
|
+
E[3].headerPictureUrl ? v ? v.p(E, j) : (v = Ud(E), v.c(), v.m(r, a)) : v && (v.d(1), v = null), (!m || j & /*data*/
|
|
24739
24739
|
8) && u !== (u = /*data*/
|
|
24740
|
-
|
|
24741
|
-
((W =
|
|
24742
|
-
((_ =
|
|
24743
|
-
|
|
24744
|
-
|
|
24740
|
+
E[3].title + "") && De(f, u), /*primaryTags*/
|
|
24741
|
+
((W = E[2].length) != null ? W : 0) + /*secondaryTags*/
|
|
24742
|
+
((_ = E[5].length) != null ? _ : 0) > 0 ? y ? y.p(E, j) : (y = Yd(E), y.c(), y.m(r, A)) : y && (y.d(1), y = null), /*havePrice*/
|
|
24743
|
+
E[7] || /*data*/
|
|
24744
|
+
E[3].highlightText ? P ? P.p(E, j) : (P = Jd(E), P.c(), P.m(r, null)) : P && (P.d(1), P = null), j & /*unfolded*/
|
|
24745
24745
|
16 && T(
|
|
24746
24746
|
r,
|
|
24747
24747
|
"transition-delay",
|
|
24748
24748
|
/*unfolded*/
|
|
24749
|
-
|
|
24749
|
+
E[4] ? Lo + jo + "ms" : "0ms"
|
|
24750
24750
|
), (!m || j & /*theme*/
|
|
24751
24751
|
64 && p !== (p = Fe(`marketing ${/*theme*/
|
|
24752
|
-
|
|
24752
|
+
E[6]}`) + " svelte-sezqcq")) && C(t, "class", p), (!m || j & /*theme, unfolded*/
|
|
24753
24753
|
80) && q(
|
|
24754
24754
|
t,
|
|
24755
24755
|
"unfolded",
|
|
24756
24756
|
/*unfolded*/
|
|
24757
|
-
|
|
24757
|
+
E[4]
|
|
24758
24758
|
), (!m || j & /*theme, folded*/
|
|
24759
24759
|
320) && q(
|
|
24760
24760
|
t,
|
|
24761
24761
|
"folded",
|
|
24762
24762
|
/*folded*/
|
|
24763
|
-
|
|
24763
|
+
E[8]
|
|
24764
24764
|
);
|
|
24765
24765
|
},
|
|
24766
|
-
i(
|
|
24767
|
-
m || (x(e.$$.fragment,
|
|
24766
|
+
i(E) {
|
|
24767
|
+
m || (x(e.$$.fragment, E), m = !0);
|
|
24768
24768
|
},
|
|
24769
|
-
o(
|
|
24770
|
-
O(e.$$.fragment,
|
|
24769
|
+
o(E) {
|
|
24770
|
+
O(e.$$.fragment, E), m = !1;
|
|
24771
24771
|
},
|
|
24772
|
-
d(
|
|
24773
|
-
|
|
24772
|
+
d(E) {
|
|
24773
|
+
E && z(t), ie(e), v && v.d(), y && y.d(), P && P.d();
|
|
24774
24774
|
}
|
|
24775
24775
|
};
|
|
24776
24776
|
}
|
|
@@ -24790,7 +24790,7 @@ function dE(n, t, e) {
|
|
|
24790
24790
|
return n.$$set = (p) => {
|
|
24791
24791
|
"tag" in p && e(0, u = p.tag);
|
|
24792
24792
|
}, n.$$.update = () => {
|
|
24793
|
-
var p, m, v, y, P,
|
|
24793
|
+
var p, m, v, y, P, I;
|
|
24794
24794
|
n.$$.dirty & /*tag*/
|
|
24795
24795
|
1 && e(4, i = (m = (p = u.state) == null ? void 0 : p.unfolded) != null ? m : !1), n.$$.dirty & /*unfolded*/
|
|
24796
24796
|
16 && e(8, s = !i), n.$$.dirty & /*tag*/
|
|
@@ -24799,7 +24799,7 @@ function dE(n, t, e) {
|
|
|
24799
24799
|
1 && e(6, a = u.data.theme || "light"), n.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
|
|
24800
24800
|
1026 && f > 40 && e(10, l = l - 1), n.$$.dirty & /*data, maxTagsLength*/
|
|
24801
24801
|
1032 && e(2, c = ((P = o.brandTags) == null ? void 0 : P.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
|
|
24802
|
-
1036 && e(5, h = ((
|
|
24802
|
+
1036 && e(5, h = ((I = o.tags) == null ? void 0 : I.slice(0, l - c.length).filter(Boolean)) || []);
|
|
24803
24803
|
}, e(10, l = (g - 20) / Xl), [
|
|
24804
24804
|
u,
|
|
24805
24805
|
f,
|
|
@@ -25320,12 +25320,12 @@ function nu(n) {
|
|
|
25320
25320
|
},
|
|
25321
25321
|
p(y, P) {
|
|
25322
25322
|
var j, V;
|
|
25323
|
-
const
|
|
25323
|
+
const I = {};
|
|
25324
25324
|
P & /*unfolded*/
|
|
25325
|
-
64 && (
|
|
25325
|
+
64 && (I.visible = /*unfolded*/
|
|
25326
25326
|
y[6]), P & /*contentWidth*/
|
|
25327
|
-
8 && (
|
|
25328
|
-
y[3] / 2 + "px"), e.$set(
|
|
25327
|
+
8 && (I.left = /*contentWidth*/
|
|
25328
|
+
y[3] / 2 + "px"), e.$set(I), /*unfolded*/
|
|
25329
25329
|
y[6] ? p ? (p.p(y, P), P & /*unfolded*/
|
|
25330
25330
|
64 && x(p, 1)) : (p = su(y), p.c(), x(p, 1), p.m(r, null)) : p && (ue(), O(p, 1, 1, () => {
|
|
25331
25331
|
p = null;
|
|
@@ -25338,18 +25338,18 @@ function nu(n) {
|
|
|
25338
25338
|
y[1]), P & /*content*/
|
|
25339
25339
|
32 && (k.content = /*content*/
|
|
25340
25340
|
y[5]), c.$set(k);
|
|
25341
|
-
const
|
|
25341
|
+
const E = {};
|
|
25342
25342
|
P & /*unfolded*/
|
|
25343
|
-
64 && (
|
|
25343
|
+
64 && (E.unfolded = /*unfolded*/
|
|
25344
25344
|
y[6]), P & /*contentWidth*/
|
|
25345
|
-
8 && (
|
|
25345
|
+
8 && (E.length = /*contentWidth*/
|
|
25346
25346
|
y[3]), P & /*foldTextDelay, content*/
|
|
25347
|
-
48 && (
|
|
25347
|
+
48 && (E.outDelay = /*foldTextDelay*/
|
|
25348
25348
|
y[4] + 20 * Math.min(
|
|
25349
25349
|
/*content*/
|
|
25350
25350
|
(V = (j = y[5]) == null ? void 0 : j.length) != null ? V : 10,
|
|
25351
25351
|
15
|
|
25352
|
-
)), u.$set(
|
|
25352
|
+
)), u.$set(E), (!f || P & /*unfolded*/
|
|
25353
25353
|
64) && q(
|
|
25354
25354
|
t,
|
|
25355
25355
|
"unfolded",
|
|
@@ -26514,16 +26514,16 @@ function KE(n, t, e) {
|
|
|
26514
26514
|
const p = gr();
|
|
26515
26515
|
function m(P) {
|
|
26516
26516
|
return Q(this, null, function* () {
|
|
26517
|
-
const
|
|
26518
|
-
return p("iconLoaded",
|
|
26517
|
+
const I = yield QE(P);
|
|
26518
|
+
return p("iconLoaded", I), I;
|
|
26519
26519
|
});
|
|
26520
26520
|
}
|
|
26521
26521
|
function v(P) {
|
|
26522
26522
|
return Q(this, null, function* () {
|
|
26523
26523
|
if (typeof u == "number")
|
|
26524
26524
|
return se(D({}, P), { width: u });
|
|
26525
|
-
const
|
|
26526
|
-
return p("iconLoaded",
|
|
26525
|
+
const I = yield NE(P);
|
|
26526
|
+
return p("iconLoaded", I), I;
|
|
26527
26527
|
});
|
|
26528
26528
|
}
|
|
26529
26529
|
function y() {
|
|
@@ -26534,13 +26534,13 @@ function KE(n, t, e) {
|
|
|
26534
26534
|
}), n.$$set = (P) => {
|
|
26535
26535
|
"width" in P && e(1, f = P.width), "icon" in P && e(12, g = P.icon), "shadow" in P && e(0, A = P.shadow);
|
|
26536
26536
|
}, n.$$.update = () => {
|
|
26537
|
-
var P,
|
|
26537
|
+
var P, I;
|
|
26538
26538
|
n.$$.dirty & /*icon*/
|
|
26539
26539
|
4096 && e(7, i = g == null ? void 0 : g.url), n.$$.dirty & /*icon*/
|
|
26540
26540
|
4096 && e(2, s = (P = g == null ? void 0 : g.steps) != null ? P : 1), n.$$.dirty & /*icon*/
|
|
26541
26541
|
4096 && e(6, o = g == null ? void 0 : g.fps), n.$$.dirty & /*icon*/
|
|
26542
26542
|
4096 && e(5, r = g == null ? void 0 : g.ratio), n.$$.dirty & /*icon*/
|
|
26543
|
-
4096 && e(4, a = (
|
|
26543
|
+
4096 && e(4, a = (I = g == null ? void 0 : g.scale) != null ? I : 1), n.$$.dirty & /*icon*/
|
|
26544
26544
|
4096 && e(3, l = g == null ? void 0 : g.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26545
26545
|
252 && e(9, c = Ue({
|
|
26546
26546
|
url: i,
|
|
@@ -26923,14 +26923,14 @@ function g2(n) {
|
|
|
26923
26923
|
A2,
|
|
26924
26924
|
p2
|
|
26925
26925
|
], P = [];
|
|
26926
|
-
function
|
|
26927
|
-
return
|
|
26928
|
-
18 && (s = null),
|
|
26929
|
-
18 && (o = null),
|
|
26930
|
-
18 && (r = null),
|
|
26931
|
-
18 && (a = null),
|
|
26932
|
-
18 && (l = null),
|
|
26933
|
-
18 && (c = null),
|
|
26926
|
+
function I(k, E) {
|
|
26927
|
+
return E & /*tag, contentTypeMap*/
|
|
26928
|
+
18 && (s = null), E & /*tag, contentTypeMap*/
|
|
26929
|
+
18 && (o = null), E & /*tag, contentTypeMap*/
|
|
26930
|
+
18 && (r = null), E & /*tag, contentTypeMap*/
|
|
26931
|
+
18 && (a = null), E & /*tag, contentTypeMap*/
|
|
26932
|
+
18 && (l = null), E & /*tag, contentTypeMap*/
|
|
26933
|
+
18 && (c = null), E & /*tag, contentTypeMap*/
|
|
26934
26934
|
18 && (h = null), s == null && (s = !!(["Text"].includes(
|
|
26935
26935
|
/*tag*/
|
|
26936
26936
|
k[1].contentType
|
|
@@ -26996,7 +26996,7 @@ function g2(n) {
|
|
|
26996
26996
|
)
|
|
26997
26997
|
))), h ? 6 : -1))))));
|
|
26998
26998
|
}
|
|
26999
|
-
return ~(u =
|
|
26999
|
+
return ~(u = I(n, -1)) && (f = P[u] = y[u](n)), {
|
|
27000
27000
|
c() {
|
|
27001
27001
|
var k;
|
|
27002
27002
|
t = S("div"), e = S("div"), i = S("div"), f && f.c(), C(i, "class", "content svelte-qz1wo5"), q(
|
|
@@ -27043,62 +27043,62 @@ function g2(n) {
|
|
|
27043
27043
|
n[1].contentType === "MediaModel" ? "100%" : 0
|
|
27044
27044
|
);
|
|
27045
27045
|
},
|
|
27046
|
-
m(k,
|
|
27047
|
-
B(k, t,
|
|
27046
|
+
m(k, E) {
|
|
27047
|
+
B(k, t, E), L(t, e), L(e, i), ~u && P[u].m(i, null), p = !0, m || (v = Ae(t, "click", Pf(
|
|
27048
27048
|
/*click_handler_1*/
|
|
27049
27049
|
n[16]
|
|
27050
27050
|
)), m = !0);
|
|
27051
27051
|
},
|
|
27052
|
-
p(k,
|
|
27052
|
+
p(k, E) {
|
|
27053
27053
|
var V;
|
|
27054
27054
|
let j = u;
|
|
27055
|
-
u =
|
|
27055
|
+
u = I(k, E), u === j ? ~u && P[u].p(k, E) : (f && (ue(), O(P[j], 1, 1, () => {
|
|
27056
27056
|
P[j] = null;
|
|
27057
|
-
}), fe()), ~u ? (f = P[u], f ? f.p(k,
|
|
27057
|
+
}), fe()), ~u ? (f = P[u], f ? f.p(k, E) : (f = P[u] = y[u](k), f.c()), x(f, 1), f.m(i, null)) : f = null), (!p || E & /*tag*/
|
|
27058
27058
|
2) && q(
|
|
27059
27059
|
i,
|
|
27060
27060
|
"unfolded",
|
|
27061
27061
|
/*tag*/
|
|
27062
27062
|
(V = k[1].state) == null ? void 0 : V.unfolded
|
|
27063
|
-
), (!p ||
|
|
27063
|
+
), (!p || E & /*tag*/
|
|
27064
27064
|
2 && g !== (g = Fe(vt(
|
|
27065
27065
|
"content__container",
|
|
27066
27066
|
/*tag*/
|
|
27067
27067
|
k[1].className
|
|
27068
|
-
)) + " svelte-qz1wo5")) && C(t, "class", g), (!p ||
|
|
27068
|
+
)) + " svelte-qz1wo5")) && C(t, "class", g), (!p || E & /*tag*/
|
|
27069
27069
|
2 && A !== (A = /*tag*/
|
|
27070
|
-
k[1].id)) && C(t, "data-id", A), (!p ||
|
|
27070
|
+
k[1].id)) && C(t, "data-id", A), (!p || E & /*tag, tag*/
|
|
27071
27071
|
2) && q(
|
|
27072
27072
|
t,
|
|
27073
27073
|
"disable",
|
|
27074
27074
|
/*tag*/
|
|
27075
27075
|
k[1].enabled === !1
|
|
27076
|
-
), (!p ||
|
|
27076
|
+
), (!p || E & /*tag, isHide*/
|
|
27077
27077
|
66) && q(
|
|
27078
27078
|
t,
|
|
27079
27079
|
"hide",
|
|
27080
27080
|
/*isHide*/
|
|
27081
27081
|
k[6]
|
|
27082
|
-
), (!p ||
|
|
27082
|
+
), (!p || E & /*tag, withAnimation*/
|
|
27083
27083
|
3) && q(
|
|
27084
27084
|
t,
|
|
27085
27085
|
"withAnimation",
|
|
27086
27086
|
/*withAnimation*/
|
|
27087
27087
|
k[0]
|
|
27088
|
-
), (!p ||
|
|
27088
|
+
), (!p || E & /*tag, tag*/
|
|
27089
27089
|
2) && q(
|
|
27090
27090
|
t,
|
|
27091
27091
|
"unClickable",
|
|
27092
27092
|
/*tag*/
|
|
27093
27093
|
k[1].config.clickable === !1
|
|
27094
|
-
),
|
|
27094
|
+
), E & /*tag*/
|
|
27095
27095
|
2 && T(
|
|
27096
27096
|
t,
|
|
27097
27097
|
"width",
|
|
27098
27098
|
/*tag*/
|
|
27099
27099
|
k[1].stickType === "Plane" || /*tag*/
|
|
27100
27100
|
k[1].contentType === "MediaModel" ? "100%" : 0
|
|
27101
|
-
),
|
|
27101
|
+
), E & /*tag*/
|
|
27102
27102
|
2 && T(
|
|
27103
27103
|
t,
|
|
27104
27104
|
"height",
|
|
@@ -27476,16 +27476,16 @@ function E2(n, t, e) {
|
|
|
27476
27476
|
let i, s, o, r, a, l, { withAnimation: c = !1 } = t, { tag: h } = t, { hooks: u } = t, { rendererMap: f = /* @__PURE__ */ new Map() } = t, { contentTypeMap: g = /* @__PURE__ */ new Map() } = t, { state: A } = t, { mediaStore: p } = t, { temporaryState: m } = t;
|
|
27477
27477
|
Wa("hooks", u), Wa("mediaStore", p);
|
|
27478
27478
|
let v, y;
|
|
27479
|
-
function P(
|
|
27480
|
-
|
|
27479
|
+
function P(E) {
|
|
27480
|
+
E ? u.emit("exposure", { id: r, type: "start" }) : u.emit("exposure", { id: r, type: "end" });
|
|
27481
27481
|
}
|
|
27482
|
-
const
|
|
27483
|
-
return n.$$set = (
|
|
27484
|
-
"withAnimation" in
|
|
27482
|
+
const I = (E) => u.emit("click", { event: E, target: "TagContent", tag: h }), k = (E) => u.emit("click", { event: E, target: "TagContent", tag: h });
|
|
27483
|
+
return n.$$set = (E) => {
|
|
27484
|
+
"withAnimation" in E && e(0, c = E.withAnimation), "tag" in E && e(1, h = E.tag), "hooks" in E && e(2, u = E.hooks), "rendererMap" in E && e(3, f = E.rendererMap), "contentTypeMap" in E && e(4, g = E.contentTypeMap), "state" in E && e(7, A = E.state), "mediaStore" in E && e(8, p = E.mediaStore), "temporaryState" in E && e(9, m = E.temporaryState);
|
|
27485
27485
|
}, n.$$.update = () => {
|
|
27486
|
-
var
|
|
27486
|
+
var E, j, V, W, _, N, G, H, F, U, X;
|
|
27487
27487
|
n.$$.dirty & /*tag*/
|
|
27488
|
-
2 && e(13, i = (
|
|
27488
|
+
2 && e(13, i = (E = h.state) == null ? void 0 : E.unfolded), n.$$.dirty & /*tag*/
|
|
27489
27489
|
2 && e(12, s = (j = h.state) == null ? void 0 : j.visible), n.$$.dirty & /*state, temporaryState, tag*/
|
|
27490
27490
|
642 && e(14, o = A.visible && m.visible && ((V = h.state) == null ? void 0 : V.visible)), n.$$.dirty & /*tag*/
|
|
27491
27491
|
2 && (r = h.id), n.$$.dirty & /*tag, state, temporaryState*/
|
|
@@ -27509,7 +27509,7 @@ function E2(n, t, e) {
|
|
|
27509
27509
|
s,
|
|
27510
27510
|
i,
|
|
27511
27511
|
o,
|
|
27512
|
-
|
|
27512
|
+
I,
|
|
27513
27513
|
k
|
|
27514
27514
|
];
|
|
27515
27515
|
}
|
|
@@ -27676,20 +27676,20 @@ function x2(n, t, e) {
|
|
|
27676
27676
|
1 && e(3, s = !i), n.$$.dirty & /*tag*/
|
|
27677
27677
|
64 && e(2, o = (v = (m = l.style) == null ? void 0 : m.point) != null && v.url ? (y = l.style) == null ? void 0 : y.point : { url: vy }), n.$$.dirty & /*tag*/
|
|
27678
27678
|
64 && e(1, r = (() => {
|
|
27679
|
-
var k,
|
|
27680
|
-
const P = (
|
|
27679
|
+
var k, E, j, V;
|
|
27680
|
+
const P = (E = (k = l.style) == null ? void 0 : k.point) == null ? void 0 : E.width;
|
|
27681
27681
|
if (typeof P == "number")
|
|
27682
27682
|
return P;
|
|
27683
|
-
const
|
|
27684
|
-
if (typeof
|
|
27685
|
-
return
|
|
27686
|
-
if (
|
|
27683
|
+
const I = (V = (j = l.style) == null ? void 0 : j.point) == null ? void 0 : V.size;
|
|
27684
|
+
if (typeof I == "number")
|
|
27685
|
+
return I;
|
|
27686
|
+
if (I === "S")
|
|
27687
27687
|
return 18;
|
|
27688
|
-
if (
|
|
27688
|
+
if (I === "M")
|
|
27689
27689
|
return 20;
|
|
27690
|
-
if (
|
|
27690
|
+
if (I === "L")
|
|
27691
27691
|
return 24;
|
|
27692
|
-
if (
|
|
27692
|
+
if (I === "XL")
|
|
27693
27693
|
return 28;
|
|
27694
27694
|
})());
|
|
27695
27695
|
}, u(), [
|
|
@@ -27801,9 +27801,9 @@ function gu(n) {
|
|
|
27801
27801
|
i = g(v), i === P ? f[i].p(v, y) : (ue(), O(f[P], 1, 1, () => {
|
|
27802
27802
|
f[P] = null;
|
|
27803
27803
|
}), fe(), s = f[i], s ? s.p(v, y) : (s = f[i] = u[i](v), s.c()), x(s, 1), s.m(e, o));
|
|
27804
|
-
let
|
|
27805
|
-
r = m(v), r ===
|
|
27806
|
-
p[
|
|
27804
|
+
let I = r;
|
|
27805
|
+
r = m(v), r === I ? p[r].p(v, y) : (ue(), O(p[I], 1, 1, () => {
|
|
27806
|
+
p[I] = null;
|
|
27807
27807
|
}), fe(), a = p[r], a ? a.p(v, y) : (a = p[r] = A[r](v), a.c()), x(a, 1), a.m(e, null)), (!h || y & /*tag*/
|
|
27808
27808
|
2 && l !== (l = Fe(vt(
|
|
27809
27809
|
"wrapper",
|
|
@@ -28061,11 +28061,11 @@ function O2(n) {
|
|
|
28061
28061
|
}
|
|
28062
28062
|
function B2(n, t, e) {
|
|
28063
28063
|
let i, s, o, r, a, l, c, h, u, f, { withAnimation: g = !1 } = t, { tag: A } = t, { mediaStore: p } = t, { rendererMap: m = /* @__PURE__ */ new Map() } = t, { contentTypeMap: v = /* @__PURE__ */ new Map() } = t, { state: y } = t, { temporaryState: P } = t;
|
|
28064
|
-
const
|
|
28064
|
+
const I = Ii("hooks");
|
|
28065
28065
|
return n.$$set = (k) => {
|
|
28066
28066
|
"withAnimation" in k && e(0, g = k.withAnimation), "tag" in k && e(1, A = k.tag), "mediaStore" in k && e(2, p = k.mediaStore), "rendererMap" in k && e(3, m = k.rendererMap), "contentTypeMap" in k && e(4, v = k.contentTypeMap), "state" in k && e(5, y = k.state), "temporaryState" in k && e(6, P = k.temporaryState);
|
|
28067
28067
|
}, n.$$.update = () => {
|
|
28068
|
-
var k,
|
|
28068
|
+
var k, E, j, V;
|
|
28069
28069
|
n.$$.dirty & /*tag, rendererMap*/
|
|
28070
28070
|
10 && e(16, i = (() => {
|
|
28071
28071
|
var W, _, N;
|
|
@@ -28074,7 +28074,7 @@ function B2(n, t, e) {
|
|
|
28074
28074
|
2 && e(15, s = (() => A.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
|
|
28075
28075
|
2 && e(14, o = A.id), n.$$.dirty & /*tag*/
|
|
28076
28076
|
2 && e(13, r = A.enabled === !1 || !A.state), n.$$.dirty & /*tag*/
|
|
28077
|
-
2 && e(12, a = !((k = A.state) != null && k.visible) || ((
|
|
28077
|
+
2 && e(12, a = !((k = A.state) != null && k.visible) || ((E = A.temporaryState) == null ? void 0 : E.visible) === !1 || !A.screenPosition), n.$$.dirty & /*tag*/
|
|
28078
28078
|
2 && e(7, l = (j = A.state) == null ? void 0 : j.unfolded), n.$$.dirty & /*tag*/
|
|
28079
28079
|
2 && e(8, c = A.screenPosition), n.$$.dirty & /*screenPosition*/
|
|
28080
28080
|
256 && e(11, h = (c == null ? void 0 : c.leftPercent) + "%"), n.$$.dirty & /*screenPosition*/
|
|
@@ -28098,7 +28098,7 @@ function B2(n, t, e) {
|
|
|
28098
28098
|
o,
|
|
28099
28099
|
s,
|
|
28100
28100
|
i,
|
|
28101
|
-
|
|
28101
|
+
I
|
|
28102
28102
|
];
|
|
28103
28103
|
}
|
|
28104
28104
|
class R2 extends ce {
|
|
@@ -30654,12 +30654,12 @@ let hM = class extends pi {
|
|
|
30654
30654
|
width: (A = a == null ? void 0 : a.unitWidth) != null ? A : 0.6,
|
|
30655
30655
|
texture: { url: (p = a == null ? void 0 : a.arrowTextureUrl) != null ? p : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
|
|
30656
30656
|
}
|
|
30657
|
-
}, h = (v = (m = r.routes) == null ? void 0 : m.map((
|
|
30657
|
+
}, h = (v = (m = r.routes) == null ? void 0 : m.map((I) => {
|
|
30658
30658
|
var k;
|
|
30659
|
-
return Re({}, c, { id: (k =
|
|
30660
|
-
})) != null ? v : [], u = (P = (y = r.lines) == null ? void 0 : y.map((
|
|
30661
|
-
yield Zg(this.five), this.clear(), f.forEach((
|
|
30662
|
-
this.addGuideLineItem(
|
|
30659
|
+
return Re({}, c, { id: (k = I.id) != null ? k : nt(), pano_group: I.panoIndexList });
|
|
30660
|
+
})) != null ? v : [], u = (P = (y = r.lines) == null ? void 0 : y.map((I) => Re({}, c, I))) != null ? P : [], f = [...h, ...u];
|
|
30661
|
+
yield Zg(this.five), this.clear(), f.forEach((I) => {
|
|
30662
|
+
this.addGuideLineItem(I);
|
|
30663
30663
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", r), console.debug(`${Cu} loaded`, r);
|
|
30664
30664
|
});
|
|
30665
30665
|
}
|
|
@@ -30807,11 +30807,11 @@ function Xs(n) {
|
|
|
30807
30807
|
return t.applyMatrix4(uM(n.matrixWorld.clone())), t;
|
|
30808
30808
|
}
|
|
30809
30809
|
const uM = (n) => {
|
|
30810
|
-
const t = n.elements, e = t[0], i = t[1], s = t[2], o = t[3], r = t[4], a = t[5], l = t[6], c = t[7], h = t[8], u = t[9], f = t[10], g = t[11], A = t[12], p = t[13], m = t[14], v = t[15], y = u * m * c - p * f * c + p * l * g - a * m * g - u * l * v + a * f * v, P = A * f * c - h * m * c - A * l * g + r * m * g + h * l * v - r * f * v,
|
|
30811
|
-
if (
|
|
30810
|
+
const t = n.elements, e = t[0], i = t[1], s = t[2], o = t[3], r = t[4], a = t[5], l = t[6], c = t[7], h = t[8], u = t[9], f = t[10], g = t[11], A = t[12], p = t[13], m = t[14], v = t[15], y = u * m * c - p * f * c + p * l * g - a * m * g - u * l * v + a * f * v, P = A * f * c - h * m * c - A * l * g + r * m * g + h * l * v - r * f * v, I = h * p * c - A * u * c + A * a * g - r * p * g - h * a * v + r * u * v, k = A * u * l - h * p * l - A * a * f + r * p * f + h * a * m - r * u * m, E = e * y + i * P + s * I + o * k;
|
|
30811
|
+
if (E === 0)
|
|
30812
30812
|
return n.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
30813
|
-
const j = 1 /
|
|
30814
|
-
return t[0] = y * j, t[1] = (p * f * o - u * m * o - p * s * g + i * m * g + u * s * v - i * f * v) * j, t[2] = (a * m * o - p * l * o + p * s * c - i * m * c - a * s * v + i * l * v) * j, t[3] = (u * l * o - a * f * o - u * s * c + i * f * c + a * s * g - i * l * g) * j, t[4] = P * j, t[5] = (h * m * o - A * f * o + A * s * g - e * m * g - h * s * v + e * f * v) * j, t[6] = (A * l * o - r * m * o - A * s * c + e * m * c + r * s * v - e * l * v) * j, t[7] = (r * f * o - h * l * o + h * s * c - e * f * c - r * s * g + e * l * g) * j, t[8] =
|
|
30813
|
+
const j = 1 / E;
|
|
30814
|
+
return t[0] = y * j, t[1] = (p * f * o - u * m * o - p * s * g + i * m * g + u * s * v - i * f * v) * j, t[2] = (a * m * o - p * l * o + p * s * c - i * m * c - a * s * v + i * l * v) * j, t[3] = (u * l * o - a * f * o - u * s * c + i * f * c + a * s * g - i * l * g) * j, t[4] = P * j, t[5] = (h * m * o - A * f * o + A * s * g - e * m * g - h * s * v + e * f * v) * j, t[6] = (A * l * o - r * m * o - A * s * c + e * m * c + r * s * v - e * l * v) * j, t[7] = (r * f * o - h * l * o + h * s * c - e * f * c - r * s * g + e * l * g) * j, t[8] = I * j, t[9] = (A * u * o - h * p * o - A * i * g + e * p * g + h * i * v - e * u * v) * j, t[10] = (r * p * o - A * a * o + A * i * c - e * p * c - r * i * v + e * a * v) * j, t[11] = (h * a * o - r * u * o - h * i * c + e * u * c + r * i * g - e * a * g) * j, t[12] = k * j, t[13] = (h * p * s - A * u * s + A * i * f - e * p * f - h * i * m + e * u * m) * j, t[14] = (A * a * s - r * p * s - A * i * l + e * p * l + r * i * m - e * a * m) * j, t[15] = (r * u * s - h * a * s + h * i * l - e * u * l - r * i * f + e * a * f) * j, n;
|
|
30815
30815
|
};
|
|
30816
30816
|
class Zs extends Lt {
|
|
30817
30817
|
constructor(e, i) {
|
|
@@ -32309,9 +32309,9 @@ class HM extends Js {
|
|
|
32309
32309
|
case "nwse":
|
|
32310
32310
|
m(), v();
|
|
32311
32311
|
}
|
|
32312
|
-
const y = new oe().subVectors(r[1], r[0]).length() / u.length(), P = new oe().subVectors(r[3], r[0]).length() / f.length(),
|
|
32312
|
+
const y = new oe().subVectors(r[1], r[0]).length() / u.length(), P = new oe().subVectors(r[3], r[0]).length() / f.length(), I = new oe(y, P, 1), k = new w.Matrix4().scale(I);
|
|
32313
32313
|
i.isCSS3DObjectPlus ? i.applyScaleMatrix4(k) : i.scale.applyMatrix4(k), s.position.copy(a);
|
|
32314
|
-
const
|
|
32314
|
+
const E = new oe().addVectors(r[0], r[2]).divideScalar(2), j = new oe().subVectors(E, l), V = new w.Matrix4().setPosition(j);
|
|
32315
32315
|
i.applyMatrix4(V), (W = this.helperObject3D.css3DInstance) == null || W.css3DObject.applyMatrix4(V), (_ = this.helperObject3D.plane) == null || _.applyMatrix4(V), this.internalHooks.emit("applyObjectScale", { matrix: k }), this.internalHooks.emit("applyObjectPosition", { matrix: V }), this.render();
|
|
32316
32316
|
}
|
|
32317
32317
|
dragEnd() {
|
|
@@ -32518,15 +32518,15 @@ class $g extends sn {
|
|
|
32518
32518
|
return typeof P == "boolean" ? P : P.enable;
|
|
32519
32519
|
};
|
|
32520
32520
|
if (v(h)) {
|
|
32521
|
-
const P = D(D({}, this.getConfig(c.moveHelper)), c),
|
|
32521
|
+
const P = D(D({}, this.getConfig(c.moveHelper)), c), I = new wM(e, D({}, P)), k = new Cs(this.five, TM, e, I, P, p, m);
|
|
32522
32522
|
s.addControllers({ moveController: k.helperController }), o.push(() => k.dispose());
|
|
32523
32523
|
}
|
|
32524
32524
|
if (v(u)) {
|
|
32525
|
-
const P = D(D({}, this.getConfig(c.rotateHelper)), c),
|
|
32525
|
+
const P = D(D({}, this.getConfig(c.rotateHelper)), c), I = new IM(e, D({ container: r }, P)), k = new Cs(this.five, VM, e, I, P, p, m);
|
|
32526
32526
|
s.addControllers({ rotateController: k.helperController }), o.push(() => k.dispose());
|
|
32527
32527
|
}
|
|
32528
32528
|
if (v(g)) {
|
|
32529
|
-
const P = new SM(e),
|
|
32529
|
+
const P = new SM(e), I = new Cs(
|
|
32530
32530
|
this.five,
|
|
32531
32531
|
QM,
|
|
32532
32532
|
e,
|
|
@@ -32535,11 +32535,11 @@ class $g extends sn {
|
|
|
32535
32535
|
p,
|
|
32536
32536
|
m
|
|
32537
32537
|
);
|
|
32538
|
-
s.addControllers({ boundingBoxController:
|
|
32538
|
+
s.addControllers({ boundingBoxController: I.helperController });
|
|
32539
32539
|
}
|
|
32540
32540
|
if (v(f))
|
|
32541
32541
|
if (e.isCSS3DObjectPlus && r) {
|
|
32542
|
-
const P = new DM(e, r, a, this.five.scene),
|
|
32542
|
+
const P = new DM(e, r, a, this.five.scene), I = new Cs(
|
|
32543
32543
|
this.five,
|
|
32544
32544
|
NM,
|
|
32545
32545
|
e,
|
|
@@ -32548,18 +32548,18 @@ class $g extends sn {
|
|
|
32548
32548
|
p,
|
|
32549
32549
|
m
|
|
32550
32550
|
);
|
|
32551
|
-
s.addControllers({ scaleController:
|
|
32552
|
-
var k,
|
|
32551
|
+
s.addControllers({ scaleController: I.helperController }), o.push(() => I.dispose()), of(this.five).then(() => {
|
|
32552
|
+
var k, E;
|
|
32553
32553
|
if (e.isCSS3DObjectPlus) {
|
|
32554
32554
|
const j = e;
|
|
32555
32555
|
if (!j || j.mode !== "front")
|
|
32556
32556
|
return;
|
|
32557
32557
|
const V = (k = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? k : rf(this.five);
|
|
32558
|
-
V && (this.css3DObjectParentMap.set(j, j.parent), j.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(V), (
|
|
32558
|
+
V && (this.css3DObjectParentMap.set(j, j.parent), j.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(V), (E = this.css3DRender.getBehindCSS3DObjectGroup()) == null || E.add(j), this.css3DRender.render(this.five.camera));
|
|
32559
32559
|
}
|
|
32560
32560
|
});
|
|
32561
32561
|
} else {
|
|
32562
|
-
const P = D(D({}, this.getConfig(c.scaleHelper)), c),
|
|
32562
|
+
const P = D(D({}, this.getConfig(c.scaleHelper)), c), I = new GM(e, P), k = new Cs(this.five, _M, e, I, P, p, m);
|
|
32563
32563
|
s.addControllers({ scaleController: k.helperController }), o.push(() => k.dispose());
|
|
32564
32564
|
}
|
|
32565
32565
|
return this.objectHelperMap.set(e, { helper: s, disposers: o }), s.controllers;
|
|
@@ -36063,7 +36063,7 @@ function fm(n, t) {
|
|
|
36063
36063
|
else if (a.length === 1)
|
|
36064
36064
|
m.raycaster.ray.intersectPlane(c, l), o.setPoints([a.at(-1), l]);
|
|
36065
36065
|
else if (a.length === 2) {
|
|
36066
|
-
const v = m.raycaster.ray.intersectPlane(c, new w.Vector3()), y = a[0].distanceTo(a[1]) / 2, P = new w.Vector3().lerpVectors(a[0], a[1], 0.5),
|
|
36066
|
+
const v = m.raycaster.ray.intersectPlane(c, new w.Vector3()), y = a[0].distanceTo(a[1]) / 2, P = new w.Vector3().lerpVectors(a[0], a[1], 0.5), I = new w.Vector3().subVectors(v, P).normalize(), k = new w.Vector3().addVectors(P, I.multiplyScalar(y));
|
|
36067
36067
|
l.copy(k), s.remove(o), n.setPoints([...a, l]);
|
|
36068
36068
|
}
|
|
36069
36069
|
}
|
|
@@ -36938,6 +36938,7 @@ class A3 extends pi {
|
|
|
36938
36938
|
d(this, "items", []);
|
|
36939
36939
|
d(this, "tagRendererMap", {});
|
|
36940
36940
|
d(this, "fiveDomEvents");
|
|
36941
|
+
d(this, "zFightingOffset", 0);
|
|
36941
36942
|
d(this, "handleEnable", () => {
|
|
36942
36943
|
this.items.forEach((e) => e.enable());
|
|
36943
36944
|
});
|
|
@@ -36976,14 +36977,14 @@ class A3 extends pi {
|
|
|
36976
36977
|
this.items.push(a);
|
|
36977
36978
|
} else if (s.type === "prism") {
|
|
36978
36979
|
const r = new ar();
|
|
36979
|
-
r.setPoints({
|
|
36980
|
+
this.zFightingOffset += 1e-4, r.setPoints({
|
|
36980
36981
|
points: s.object_data.points.map((l) => {
|
|
36981
36982
|
var c;
|
|
36982
36983
|
return [l[0], l[1] + ((c = s.object_data.fixedY) != null ? c : 0), l[2]];
|
|
36983
36984
|
}),
|
|
36984
36985
|
heightPoint: Be(s.object_data.points[0]).add(
|
|
36985
36986
|
new w.Vector3().setY(s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0))
|
|
36986
|
-
)
|
|
36987
|
+
).add(new w.Vector3().setY(this.zFightingOffset))
|
|
36987
36988
|
}), r.setStyle({
|
|
36988
36989
|
color: s.object_data.color,
|
|
36989
36990
|
opacity: s.object_data.opacity,
|
|
@@ -36999,13 +37000,13 @@ class A3 extends pi {
|
|
|
36999
37000
|
});
|
|
37000
37001
|
this.items.push(a);
|
|
37001
37002
|
} else if (s.type === "box") {
|
|
37002
|
-
const r = new ar(), { start: a, end: l, rotation: c, opacity: h, color: u } = s.object_data, f = new w.Vector3().fromArray(a), g = new w.Vector3().fromArray(l), A = new w.Euler().fromArray(c), p = new w.Quaternion().setFromEuler(A), m = new w.Box3();
|
|
37003
|
-
|
|
37004
|
-
points: [Gi(
|
|
37005
|
-
heightPoint: Gi(
|
|
37006
|
-
}), r.
|
|
37007
|
-
const
|
|
37008
|
-
this.items.push(
|
|
37003
|
+
const r = new ar(), { start: a, end: l, rotation: c, opacity: h, color: u } = s.object_data, f = new w.Vector3().fromArray(a), g = new w.Vector3().fromArray(l), A = new w.Euler().fromArray(c), p = new w.Quaternion().setFromEuler(A), m = p.clone().inverse(), v = new w.Vector3().lerpVectors(f, g, 0.5), y = v.clone().negate(), P = f.clone().add(y).applyQuaternion(m), I = g.clone().add(y).applyQuaternion(m), k = new w.Box3(P.clone().max(I), P.clone().min(I));
|
|
37004
|
+
r.setPoints({
|
|
37005
|
+
points: [Gi(k, 2), Gi(k, 3), Gi(k, 7), Gi(k, 6)],
|
|
37006
|
+
heightPoint: Gi(k, 0)
|
|
37007
|
+
}), r.position.copy(v), r.quaternion.copy(p), r.setStyle({ color: u, opacity: h, lineColor: u, occlusionVisibility: !1 });
|
|
37008
|
+
const E = new c3({ five: this.five, model: r, group: this.group, type: s.type, rawData: s });
|
|
37009
|
+
this.items.push(E);
|
|
37009
37010
|
}
|
|
37010
37011
|
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer();
|
|
37011
37012
|
});
|
|
@@ -37032,7 +37033,7 @@ class A3 extends pi {
|
|
|
37032
37033
|
this.setState({ visible: !1 });
|
|
37033
37034
|
}
|
|
37034
37035
|
clear() {
|
|
37035
|
-
this.handleDisable(), this.items = [];
|
|
37036
|
+
this.zFightingOffset, this.handleDisable(), this.items = [];
|
|
37036
37037
|
}
|
|
37037
37038
|
dispose() {
|
|
37038
37039
|
this.handleDisable();
|