@realsee/dnalogel 3.20.4 → 3.20.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GuideLinePlugin/typing.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +3 -3
- package/dist/PanoMeasurePlugin/Model/index.d.ts +3 -3
- package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +0 -4
- package/dist/PanoMeasurePlugin/typings/data.d.ts +1 -1
- package/dist/index.cjs.js +14 -14
- package/dist/index.js +107 -102
- package/dist/index.umd.js +14 -14
- package/docs/assets/search.js +1 -1
- 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/Magnifier.html +3 -3
- 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 +20 -10
- package/docs/classes/PanoMeasurePluginModel.html +6 -6
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +22 -12
- package/docs/classes/PanoTagPluginController.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/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/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/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.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/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/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- 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/AudioTagTypeConfigKey.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 +5 -5
- 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/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/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/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/GuideLinePlugin/Controller.js +24 -26
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +33 -33
- package/libs/GuideLinePlugin/typing.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +3 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +50 -50
- package/libs/PanoMeasurePlugin/Model/index.d.ts +3 -3
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/line.js +8 -5
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +0 -4
- package/libs/PanoMeasurePlugin/typings/data.d.ts +1 -1
- package/libs/PanoRulerProPlugin/Controller.js +22 -21
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ var _ = (n, t, e) => new Promise((i, s) => {
|
|
|
27
27
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, r);
|
|
28
28
|
a((e = e.apply(n, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import { Camera as Ff, Subscribe as mt, Five as
|
|
30
|
+
import { Camera as Ff, Subscribe as mt, Five as ot } from "@realsee/five";
|
|
31
31
|
import * as E from "three";
|
|
32
32
|
import { Vector3 as se, LineSegments as _f, Group as pn, Raycaster as vi, MeshBasicMaterial as ps, CanvasTexture as Wf, AnimationMixer as Uf, Color as Tn, TextureLoader as Lh, Vector2 as rt, Object3D as jh, Face3 as Yf, PlaneGeometry as Xf, sRGBEncoding as Zf, LinearFilter as Kr, Mesh as ds, CurvePath as Jf, LineCurve3 as qf, TubeGeometry as Kf, ShaderMaterial as zh, SphereGeometry as $f, DoubleSide as Oh, RingGeometry as em, Quaternion as Ia, Euler as ul, Matrix4 as rs, VideoTexture as tm, Vector4 as im, SphereBufferGeometry as nm } from "three";
|
|
33
33
|
import { CSS3DRenderer as sm, CSS3DObject as $r } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -39,7 +39,7 @@ import ea from "animejs";
|
|
|
39
39
|
import { GLTFLoader as rm } from "@realsee/five/gltf-loader";
|
|
40
40
|
function am() {
|
|
41
41
|
console.debug(
|
|
42
|
-
"%c %c@realsee/dnalogel %cv3.20.
|
|
42
|
+
"%c %c@realsee/dnalogel %cv3.20.6",
|
|
43
43
|
[
|
|
44
44
|
"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=')",
|
|
45
45
|
"background-repeat: no-repeat",
|
|
@@ -593,7 +593,7 @@ let ym = class {
|
|
|
593
593
|
function ci() {
|
|
594
594
|
return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function et() {
|
|
597
597
|
return (ci() + ci() + "-" + ci() + "-4" + ci().substr(0, 3) + "-" + ci() + "-" + ci() + ci() + ci()).toLowerCase();
|
|
598
598
|
}
|
|
599
599
|
const wm = `
|
|
@@ -704,7 +704,7 @@ let Cm = class extends ym {
|
|
|
704
704
|
u(this, "clientWidth");
|
|
705
705
|
u(this, "clientHeight");
|
|
706
706
|
u(this, "ready", !1);
|
|
707
|
-
u(this, "uuid",
|
|
707
|
+
u(this, "uuid", et());
|
|
708
708
|
u(this, "tween");
|
|
709
709
|
u(this, "tweening", !1);
|
|
710
710
|
u(this, "container");
|
|
@@ -2345,7 +2345,7 @@ const ak = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2345
2345
|
notNil: Rt,
|
|
2346
2346
|
requestAnimationFrameInterval: Ln,
|
|
2347
2347
|
tweenProgress: Cn,
|
|
2348
|
-
uuid:
|
|
2348
|
+
uuid: et
|
|
2349
2349
|
}, Symbol.toStringTag, { value: "Module" })), iu = "v2.0.1", Mr = `CSS3DRenderPlugin@${iu}`;
|
|
2350
2350
|
let rg = class extends As {
|
|
2351
2351
|
constructor(e) {
|
|
@@ -2528,7 +2528,7 @@ function re(n, t) {
|
|
|
2528
2528
|
return n != n ? t == t : n !== t || n && typeof n == "object" || typeof n == "function";
|
|
2529
2529
|
}
|
|
2530
2530
|
let _s;
|
|
2531
|
-
function
|
|
2531
|
+
function tt(n, t) {
|
|
2532
2532
|
return _s || (_s = document.createElement("a")), _s.href = t, n === _s.href;
|
|
2533
2533
|
}
|
|
2534
2534
|
function lg(n) {
|
|
@@ -3929,7 +3929,7 @@ function Jg(n) {
|
|
|
3929
3929
|
let t, e;
|
|
3930
3930
|
return {
|
|
3931
3931
|
c() {
|
|
3932
|
-
t = D("img"),
|
|
3932
|
+
t = D("img"), tt(t.src, e = /*url*/
|
|
3933
3933
|
n[0]) || w(t, "src", e), w(t, "alt", "floorplan iamge"), w(t, "class", "svelte-1gfoniz");
|
|
3934
3934
|
},
|
|
3935
3935
|
m(i, s) {
|
|
@@ -3937,7 +3937,7 @@ function Jg(n) {
|
|
|
3937
3937
|
},
|
|
3938
3938
|
p(i, [s]) {
|
|
3939
3939
|
s & /*url*/
|
|
3940
|
-
1 && !
|
|
3940
|
+
1 && !tt(t.src, e = /*url*/
|
|
3941
3941
|
i[0]) && w(t, "src", e);
|
|
3942
3942
|
},
|
|
3943
3943
|
i: J,
|
|
@@ -4397,9 +4397,9 @@ function fp(n, t, e) {
|
|
|
4397
4397
|
function F(ee, ve) {
|
|
4398
4398
|
if (ve.width === 0 || ve.height === 0)
|
|
4399
4399
|
return () => !1;
|
|
4400
|
-
const Le = ee.path.map(({ x: Qe, y: Fe }) => [Qe, Fe]), ge = ee.roomLabel.position, { x: Je, y:
|
|
4400
|
+
const Le = ee.path.map(({ x: Qe, y: Fe }) => [Qe, Fe]), ge = ee.roomLabel.position, { x: Je, y: it } = ge, { width: ke, height: Ke } = ve, oe = ke / 2, Pe = Ke / 2;
|
|
4401
4401
|
return function(Fe) {
|
|
4402
|
-
const yt = Je * Fe, $e =
|
|
4402
|
+
const yt = Je * Fe, $e = it * Fe, pt = Le.map(([Re, Ue]) => [Re * Fe, Ue * Fe]);
|
|
4403
4403
|
return [
|
|
4404
4404
|
[yt + oe, $e - Pe],
|
|
4405
4405
|
[yt - oe, $e - Pe],
|
|
@@ -5918,7 +5918,7 @@ function eA(n) {
|
|
|
5918
5918
|
);
|
|
5919
5919
|
return {
|
|
5920
5920
|
c() {
|
|
5921
|
-
t = D("div"), e = D("img"), s = K(), o && o.c(), w(e, "class", "image"), w(e, "alt", "缺省楼层展位图"),
|
|
5921
|
+
t = D("div"), e = D("img"), s = K(), o && o.c(), w(e, "class", "image"), w(e, "alt", "缺省楼层展位图"), tt(e.src, i = /*missingFloorConfig*/
|
|
5922
5922
|
n[0].imageURL) || w(e, "src", i), S(
|
|
5923
5923
|
e,
|
|
5924
5924
|
"width",
|
|
@@ -5936,7 +5936,7 @@ function eA(n) {
|
|
|
5936
5936
|
},
|
|
5937
5937
|
p(r, [a]) {
|
|
5938
5938
|
a & /*missingFloorConfig*/
|
|
5939
|
-
1 && !
|
|
5939
|
+
1 && !tt(e.src, i = /*missingFloorConfig*/
|
|
5940
5940
|
r[0].imageURL) && w(e, "src", i), a & /*missingFloorConfig*/
|
|
5941
5941
|
1 && S(
|
|
5942
5942
|
e,
|
|
@@ -7276,7 +7276,7 @@ let Wi = class {
|
|
|
7276
7276
|
/**
|
|
7277
7277
|
* @realsee/dnalogel 版本号
|
|
7278
7278
|
*/
|
|
7279
|
-
u(this, "VERSION", "3.20.
|
|
7279
|
+
u(this, "VERSION", "3.20.6");
|
|
7280
7280
|
u(this, "five");
|
|
7281
7281
|
/**
|
|
7282
7282
|
* @description: 插件事件钩子
|
|
@@ -8634,7 +8634,7 @@ function $A(n) {
|
|
|
8634
8634
|
let t, e, i;
|
|
8635
8635
|
return {
|
|
8636
8636
|
c() {
|
|
8637
|
-
t = D("div"), e = D("img"), w(e, "class", "missing-floor-image svelte-18287ai"),
|
|
8637
|
+
t = D("div"), e = D("img"), w(e, "class", "missing-floor-image svelte-18287ai"), tt(e.src, i = /*missingFloorImageUrl*/
|
|
8638
8638
|
n[6]) || w(e, "src", i), w(e, "alt", "缺省楼层"), w(t, "class", "missing-floor-wrapper svelte-18287ai");
|
|
8639
8639
|
},
|
|
8640
8640
|
m(s, o) {
|
|
@@ -8642,7 +8642,7 @@ function $A(n) {
|
|
|
8642
8642
|
},
|
|
8643
8643
|
p(s, o) {
|
|
8644
8644
|
o & /*missingFloorImageUrl*/
|
|
8645
|
-
64 && !
|
|
8645
|
+
64 && !tt(e.src, i = /*missingFloorImageUrl*/
|
|
8646
8646
|
s[6]) && w(e, "src", i);
|
|
8647
8647
|
},
|
|
8648
8648
|
i: J,
|
|
@@ -9544,7 +9544,7 @@ const la = (n, t, e) => {
|
|
|
9544
9544
|
return {
|
|
9545
9545
|
move: e,
|
|
9546
9546
|
rotate: (l, c, ...d) => _(void 0, [l, c, ...d], function* (o, r, a = {}) {
|
|
9547
|
-
t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), n.currentMode !==
|
|
9547
|
+
t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), n.currentMode !== ot.Mode.Panorama && (yield n.changeMode(ot.Mode.Panorama)), o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (a.preload && (yield n.preloadPano(o.panoIndex)), yield new Promise((m, A) => {
|
|
9548
9548
|
if (!o.panoIndex) {
|
|
9549
9549
|
m(!0);
|
|
9550
9550
|
return;
|
|
@@ -9856,7 +9856,7 @@ const Av = `<style type="text/css">
|
|
|
9856
9856
|
return;
|
|
9857
9857
|
}
|
|
9858
9858
|
const I = v.position, M = v.getWorldDirection(new se()), C = p.clientWidth, z = p.clientHeight;
|
|
9859
|
-
if (y !==
|
|
9859
|
+
if (y !== ot.Mode.Panorama) {
|
|
9860
9860
|
for (const F in r)
|
|
9861
9861
|
for (const { $element: G } of r[F].rules)
|
|
9862
9862
|
G.style.display = "none";
|
|
@@ -9917,8 +9917,8 @@ const Av = `<style type="text/css">
|
|
|
9917
9917
|
Math.pow(oe.x - we, 2) + Math.pow(oe.y - be, 2)
|
|
9918
9918
|
) / ee * 100;
|
|
9919
9919
|
}
|
|
9920
|
-
const
|
|
9921
|
-
Ke >= ee || Ke / 2 >= Le / 100 * ee || Ke / 2 >= (1 - Le / 100) * ee ? U.style.display = "none" : (U.style.display = "block", U.style.width = ee + "px", U.style.left = we + "px", U.style.top = be + "px", U.style.transform = `rotate(${-
|
|
9920
|
+
const it = (Math.PI / 2 - Math.atan2(ye - we, be - We)) / Math.PI * 180, ke = U.querySelector(".PanoRulerPlugin-rule-label"), Ke = ke.children[0].clientWidth;
|
|
9921
|
+
Ke >= ee || Ke / 2 >= Le / 100 * ee || Ke / 2 >= (1 - Le / 100) * ee ? U.style.display = "none" : (U.style.display = "block", U.style.width = ee + "px", U.style.left = we + "px", U.style.top = be + "px", U.style.transform = `rotate(${-it}deg)`, ke.style.left = `${Le}%`);
|
|
9922
9922
|
}
|
|
9923
9923
|
}, h = () => ju(d), f = () => {
|
|
9924
9924
|
var p, g;
|
|
@@ -10286,7 +10286,7 @@ function Mv(n, t, e) {
|
|
|
10286
10286
|
const P = i.panoIndex, I = s.find((G) => G.panoIndex === P);
|
|
10287
10287
|
if (!I)
|
|
10288
10288
|
return e(0, r = []);
|
|
10289
|
-
if (i.currentMode !==
|
|
10289
|
+
if (i.currentMode !== ot.Mode.Panorama)
|
|
10290
10290
|
return e(0, r = []);
|
|
10291
10291
|
const M = i.camera.position, C = i.camera.getWorldDirection(new se()), z = I.lines.map((G) => new se(G.start[0], -G.start[1], -G.start[2])), V = I.lines.map((G) => new se(G.end[0], -G.end[1], -G.end[2])), [W] = z.concat(V).sort((G, N) => {
|
|
10292
10292
|
const Q = G.clone().setY(0).sub(M).normalize().angleTo(C.clone().setY(0)), H = N.clone().setY(0).sub(M).normalize().angleTo(C.clone().setY(0));
|
|
@@ -10382,7 +10382,8 @@ let Dv = class {
|
|
|
10382
10382
|
});
|
|
10383
10383
|
}
|
|
10384
10384
|
dispose() {
|
|
10385
|
-
|
|
10385
|
+
var t;
|
|
10386
|
+
this.container && ((t = this.rulerItems) == null || t.$destroy(), this.rulerItems = void 0), this.container.remove();
|
|
10386
10387
|
}
|
|
10387
10388
|
};
|
|
10388
10389
|
const jk = (n, t) => new Dv(n, t), Sv = "data:image/png;base64,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";
|
|
@@ -10530,7 +10531,7 @@ class jv extends Ii {
|
|
|
10530
10531
|
u(this, "onFiveModeChange", (e, i, s, o, r) => {
|
|
10531
10532
|
e !== i && this.setState(
|
|
10532
10533
|
{
|
|
10533
|
-
visible: e ===
|
|
10534
|
+
visible: e === ot.Mode.Panorama
|
|
10534
10535
|
},
|
|
10535
10536
|
{ userAction: r }
|
|
10536
10537
|
);
|
|
@@ -10842,7 +10843,7 @@ class pi {
|
|
|
10842
10843
|
u(this, "polyline");
|
|
10843
10844
|
u(this, "visible");
|
|
10844
10845
|
var s;
|
|
10845
|
-
if (this.id =
|
|
10846
|
+
if (this.id = et(), this.model = i, t.id === e.id)
|
|
10846
10847
|
throw new Error("无效的线段, 一个点无法构成线段");
|
|
10847
10848
|
typeof i.config.defaultText == "string" && (this.text = i.config.defaultText), this.hook = new mt(), this.points = [t, e], this.mesh = fc(this, "normal"), this.lightMesh = fc(this, "light"), this.distanceItem = new Xv({
|
|
10848
10849
|
line: this,
|
|
@@ -10881,6 +10882,9 @@ class pi {
|
|
|
10881
10882
|
setText(t) {
|
|
10882
10883
|
this.text = t, this.hook.emit("textChanged", t);
|
|
10883
10884
|
}
|
|
10885
|
+
toJSON() {
|
|
10886
|
+
return this.toJson();
|
|
10887
|
+
}
|
|
10884
10888
|
toJson() {
|
|
10885
10889
|
return { id: this.id, points: this.points.map((t) => t.toJson()), text: this.text };
|
|
10886
10890
|
}
|
|
@@ -10894,7 +10898,7 @@ class Et {
|
|
|
10894
10898
|
u(this, "id");
|
|
10895
10899
|
u(this, "position");
|
|
10896
10900
|
u(this, "type", "point");
|
|
10897
|
-
if (this.id =
|
|
10901
|
+
if (this.id = et(), this.position = new se(), Array.isArray(t))
|
|
10898
10902
|
this.position.fromArray(t);
|
|
10899
10903
|
else if (typeof t == "object" && t.isVector3)
|
|
10900
10904
|
this.position.copy(t);
|
|
@@ -10966,7 +10970,7 @@ let zo = class {
|
|
|
10966
10970
|
}
|
|
10967
10971
|
}, Mn = class {
|
|
10968
10972
|
constructor(t) {
|
|
10969
|
-
u(this, "id",
|
|
10973
|
+
u(this, "id", et());
|
|
10970
10974
|
u(this, "lines", []);
|
|
10971
10975
|
u(this, "visiblePanoIndexes");
|
|
10972
10976
|
u(this, "model");
|
|
@@ -11031,6 +11035,9 @@ let zo = class {
|
|
|
11031
11035
|
getLastPoint() {
|
|
11032
11036
|
return this.points.slice(-1)[0];
|
|
11033
11037
|
}
|
|
11038
|
+
toJSON() {
|
|
11039
|
+
return this.toJson();
|
|
11040
|
+
}
|
|
11034
11041
|
toJson() {
|
|
11035
11042
|
return {
|
|
11036
11043
|
id: this.id,
|
|
@@ -11195,7 +11202,7 @@ class e0 extends Bu {
|
|
|
11195
11202
|
}
|
|
11196
11203
|
class ca {
|
|
11197
11204
|
constructor(t, e) {
|
|
11198
|
-
u(this, "id",
|
|
11205
|
+
u(this, "id", et());
|
|
11199
11206
|
u(this, "selected", !1);
|
|
11200
11207
|
u(this, "text");
|
|
11201
11208
|
u(this, "type", "area");
|
|
@@ -14398,8 +14405,8 @@ class db {
|
|
|
14398
14405
|
* @description 会隐藏当前 VR 内的点位展示
|
|
14399
14406
|
*/
|
|
14400
14407
|
enable(t) {
|
|
14401
|
-
var e;
|
|
14402
|
-
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), this.shortcutKeyController = new cb(this, this.five), this.hook.emit("enable", !0));
|
|
14408
|
+
var e, i;
|
|
14409
|
+
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), (i = this.useGuideController) == null || i.show(), this.shortcutKeyController = new cb(this, this.five), this.hook.emit("enable", !0));
|
|
14403
14410
|
}
|
|
14404
14411
|
/** 进入编辑模式 */
|
|
14405
14412
|
edit(t) {
|
|
@@ -15134,8 +15141,8 @@ const zr = 1e-3, _c = 0.01, Eb = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15134
15141
|
return;
|
|
15135
15142
|
const Le = ve.longitude - n.state.longitude, ge = n.camera.clone();
|
|
15136
15143
|
ge.position.copy(ve.offset), ge.rotateOnWorldAxis(new E.Vector3(0, 1, 0), Le), ge.updateProjectionMatrix(), ge.updateMatrixWorld(!0);
|
|
15137
|
-
const Je = new E.Frustum(),
|
|
15138
|
-
|
|
15144
|
+
const Je = new E.Frustum(), it = new E.Matrix4();
|
|
15145
|
+
it.multiplyMatrices(ge.projectionMatrix, ge.matrixWorldInverse), Je.setFromProjectionMatrix(it), p.tags.forEach((ke) => {
|
|
15139
15146
|
const Ke = ge.position.clone().setY(i).distanceTo(ke.position);
|
|
15140
15147
|
if (Ke < c || Ke > d || !Je.containsPoint(ke.position))
|
|
15141
15148
|
return ke.destroying = !0;
|
|
@@ -15158,7 +15165,7 @@ const zr = 1e-3, _c = 0.01, Eb = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15158
15165
|
}), p.tags = p.tags.filter((ke) => !ke.destroying), M();
|
|
15159
15166
|
}, 1900);
|
|
15160
15167
|
}, I = (ee) => {
|
|
15161
|
-
ee !==
|
|
15168
|
+
ee !== ot.Mode.Panorama && !p.forbidden && (g.$set({ origins: [] }), p.tags.forEach((ve) => {
|
|
15162
15169
|
ve.app.$destroy(), ve = null;
|
|
15163
15170
|
}), p.origins = [], p.tags = [], p.forbidden = !0);
|
|
15164
15171
|
}, M = () => {
|
|
@@ -15182,8 +15189,8 @@ const zr = 1e-3, _c = 0.01, Eb = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15182
15189
|
ee.length && (p.tags = p.tags.concat(ee), M());
|
|
15183
15190
|
}, s));
|
|
15184
15191
|
}, z = () => {
|
|
15185
|
-
const { clientWidth: ee, clientHeight: ve } = n.getElement(), Le = [], ge = n.camera, Je = new E.Frustum(),
|
|
15186
|
-
|
|
15192
|
+
const { clientWidth: ee, clientHeight: ve } = n.getElement(), Le = [], ge = n.camera, Je = new E.Frustum(), it = new E.Matrix4(), ke = ge.getWorldDirection(new E.Vector3());
|
|
15193
|
+
it.multiplyMatrices(ge.projectionMatrix, ge.matrixWorldInverse), Je.setFromProjectionMatrix(it);
|
|
15187
15194
|
const Ke = p.tags.filter((Pe) => Je.containsPoint(Pe.position) && !Pe.destroying).length, oe = p.points.reduce((Pe, Qe) => {
|
|
15188
15195
|
if (p.tags.find((Re) => Qe.id === Re.id && !Re.destroying))
|
|
15189
15196
|
return Pe;
|
|
@@ -15754,12 +15761,12 @@ const Fk = (n, t) => {
|
|
|
15754
15761
|
n.off("modeChange", h);
|
|
15755
15762
|
}, h = (A) => {
|
|
15756
15763
|
if (e.enabled) {
|
|
15757
|
-
if (A !==
|
|
15764
|
+
if (A !== ot.Mode.Floorplan) {
|
|
15758
15765
|
e.fiveModeEnabled = !1, l();
|
|
15759
15766
|
return;
|
|
15760
15767
|
}
|
|
15761
15768
|
n.once("initAnimationEnded", () => {
|
|
15762
|
-
e.fiveModeEnabled = n.currentMode ===
|
|
15769
|
+
e.fiveModeEnabled = n.currentMode === ot.Mode.Floorplan, l();
|
|
15763
15770
|
});
|
|
15764
15771
|
}
|
|
15765
15772
|
};
|
|
@@ -16325,10 +16332,10 @@ function Jb(n) {
|
|
|
16325
16332
|
let qb = 11;
|
|
16326
16333
|
function Kb(n, t, e) {
|
|
16327
16334
|
const { Vector3: i } = E;
|
|
16328
|
-
let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, f = (s == null ? void 0 : s.currentMode) ===
|
|
16335
|
+
let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, f = (s == null ? void 0 : s.currentMode) === ot.Mode.Panorama, m, A, p = [], g = !0;
|
|
16329
16336
|
const v = (H, U) => {
|
|
16330
16337
|
const X = H.camera.position.clone(), Z = new i(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), $ = Z.distanceTo(X);
|
|
16331
|
-
return c !== void 0 && H.state.mode ===
|
|
16338
|
+
return c !== void 0 && H.state.mode === ot.Mode.Panorama && $ > c ? !1 : Zc(H, Z.clone().sub(X).normalize(), X, $);
|
|
16332
16339
|
}, y = (H) => {
|
|
16333
16340
|
const { camera: U, model: X } = s, { x: Z, y: $, z: de } = H.clone().project(U), ce = (Z + 1) / 2, Ie = (2 - ($ + 1)) / 2;
|
|
16334
16341
|
return !!(Math.abs(de) < 1 && [ce, Ie].every((ye) => ye < 1 && ye >= 0));
|
|
@@ -16341,7 +16348,7 @@ function Kb(n, t, e) {
|
|
|
16341
16348
|
return me(R({}, $), { visible: !1 });
|
|
16342
16349
|
const de = P(H, $);
|
|
16343
16350
|
$.name.length * qb;
|
|
16344
|
-
const ce = Yb($.modelPosition[1], l), Ie = H.currentMode ===
|
|
16351
|
+
const ce = Yb($.modelPosition[1], l), Ie = H.currentMode === ot.Mode.Panorama ? y(new i($.position[0], $.position[1], $.position[2])) : !0, we = o ? v(H, $) : !1, be = Ie && !we;
|
|
16345
16352
|
if (!be)
|
|
16346
16353
|
return me(R({}, $), { visible: be });
|
|
16347
16354
|
p.push(de);
|
|
@@ -16378,7 +16385,7 @@ function Kb(n, t, e) {
|
|
|
16378
16385
|
let X = [];
|
|
16379
16386
|
for (const { position: $, panoIndex: de } of U) {
|
|
16380
16387
|
const ce = H.distanceTo($);
|
|
16381
|
-
(c === void 0 || ce <= c || s.state.mode !==
|
|
16388
|
+
(c === void 0 || ce <= c || s.state.mode !== ot.Mode.Panorama) && X.push({ panoIndex: de, obVector: $, distance: ce });
|
|
16382
16389
|
}
|
|
16383
16390
|
X = X.sort(($, de) => $.distance - de.distance);
|
|
16384
16391
|
let Z;
|
|
@@ -16391,7 +16398,7 @@ function Kb(n, t, e) {
|
|
|
16391
16398
|
}
|
|
16392
16399
|
return typeof Z == "number" ? U[Z] : void 0;
|
|
16393
16400
|
}, N = (H) => {
|
|
16394
|
-
if (s.state.mode ===
|
|
16401
|
+
if (s.state.mode === ot.Mode.Panorama)
|
|
16395
16402
|
return;
|
|
16396
16403
|
const U = s.work.observers, X = new i().fromArray(H.position), Z = G(X, U);
|
|
16397
16404
|
if (Z && (H.observerIndex = Z.panoIndex), typeof H.observerIndex == "number") {
|
|
@@ -16400,7 +16407,7 @@ function Kb(n, t, e) {
|
|
|
16400
16407
|
latitude: Math.acos(de.y / de.length()) - Math.PI / 2
|
|
16401
16408
|
};
|
|
16402
16409
|
s.setState(me(R({}, ce), {
|
|
16403
|
-
mode:
|
|
16410
|
+
mode: ot.Mode.Panorama,
|
|
16404
16411
|
panoIndex: H.observerIndex
|
|
16405
16412
|
})), s.once("initAnimationEnded", () => {
|
|
16406
16413
|
e(1, h = h.map((Ie) => me(R({}, Ie), {
|
|
@@ -16521,7 +16528,7 @@ const t1 = void 0, Yk = (n, t) => {
|
|
|
16521
16528
|
}, d = () => {
|
|
16522
16529
|
n.off("modeChange", h);
|
|
16523
16530
|
}, h = (g) => {
|
|
16524
|
-
if (g !==
|
|
16531
|
+
if (g !== ot.Mode.Panorama) {
|
|
16525
16532
|
e.fiveModeEnabled = !1, r();
|
|
16526
16533
|
return;
|
|
16527
16534
|
}
|
|
@@ -16600,7 +16607,7 @@ class i1 extends Wi {
|
|
|
16600
16607
|
this.state = R(R(R({}, this.state), e), i), this.stateChangedCallback(s, i);
|
|
16601
16608
|
}
|
|
16602
16609
|
get visible() {
|
|
16603
|
-
return this.five.state.mode ===
|
|
16610
|
+
return this.five.state.mode === ot.Mode.Panorama;
|
|
16604
16611
|
}
|
|
16605
16612
|
appendTo(e) {
|
|
16606
16613
|
this.enabled && (this.container = e, this.render());
|
|
@@ -18170,7 +18177,7 @@ class ly extends ey {
|
|
|
18170
18177
|
}
|
|
18171
18178
|
}
|
|
18172
18179
|
});
|
|
18173
|
-
const l = (y = e.initialConfig) != null ? y : {}, c = Oe({}, Z1, this.config.globalConfig, ...Object.values(o)), d = Oe({}, c, l), h = {}, f = Object.values(
|
|
18180
|
+
const l = (y = e.initialConfig) != null ? y : {}, c = Oe({}, Z1, this.config.globalConfig, ...Object.values(o)), d = Oe({}, c, l), h = {}, f = Object.values(ot.Mode);
|
|
18174
18181
|
od(r).forEach(([P, I]) => {
|
|
18175
18182
|
f.forEach((M) => {
|
|
18176
18183
|
(P === "PanoramaLike" && jt(M) || P === "ModelLike" && wn(M)) && (h[M] = Oe({}, c, ...Object.values(I), l, { _isMerged: !0 }));
|
|
@@ -18652,7 +18659,7 @@ function uy(n) {
|
|
|
18652
18659
|
}
|
|
18653
18660
|
function fy(n, t, e) {
|
|
18654
18661
|
let i, s, o, r, { inDelay: a = 0 } = t, { outDelay: l = 0 } = t, { duration: c = 1e3 } = t, { unfolded: d } = t, { length: h } = t, { direction: f = "horizontal" } = t, { useLinearColor: m = !1 } = t, { color: A = "white" } = t;
|
|
18655
|
-
const p =
|
|
18662
|
+
const p = et();
|
|
18656
18663
|
return n.$$set = (g) => {
|
|
18657
18664
|
"inDelay" in g && e(0, a = g.inDelay), "outDelay" in g && e(1, l = g.outDelay), "duration" in g && e(2, c = g.duration), "unfolded" in g && e(3, d = g.unfolded), "length" in g && e(11, h = g.length), "direction" in g && e(12, f = g.direction), "useLinearColor" in g && e(4, m = g.useLinearColor), "color" in g && e(5, A = g.color);
|
|
18658
18665
|
}, n.$$.update = () => {
|
|
@@ -19060,10 +19067,10 @@ function Iy(n, t, e) {
|
|
|
19060
19067
|
function g(C) {
|
|
19061
19068
|
const z = [], 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"));
|
|
19062
19069
|
return C.slice().replace(V, (W) => `${c}${d}${W}${c}`).split(c).forEach((W) => W.startsWith(d) ? z.push({
|
|
19063
|
-
id:
|
|
19070
|
+
id: et(),
|
|
19064
19071
|
content: W.slice(d.length)
|
|
19065
19072
|
}) : z.push(...W.split("").map((F) => F === " " ? h : F === `
|
|
19066
|
-
` ? f : F).map((F) => ({ id:
|
|
19073
|
+
` ? f : F).map((F) => ({ id: et(), content: F })))), z;
|
|
19067
19074
|
}
|
|
19068
19075
|
function v() {
|
|
19069
19076
|
if (!A)
|
|
@@ -20292,7 +20299,7 @@ function Ky(n) {
|
|
|
20292
20299
|
}
|
|
20293
20300
|
function $y(n, t, e) {
|
|
20294
20301
|
let { inDelay: i = 0 } = t, { duration: s = 1e3 } = t, { outDelay: o = 0 } = t, { unfolded: r } = t;
|
|
20295
|
-
const a =
|
|
20302
|
+
const a = et();
|
|
20296
20303
|
return n.$$set = (l) => {
|
|
20297
20304
|
"inDelay" in l && e(0, i = l.inDelay), "duration" in l && e(1, s = l.duration), "outDelay" in l && e(2, o = l.outDelay), "unfolded" in l && e(3, r = l.unfolded);
|
|
20298
20305
|
}, [i, s, o, r, a];
|
|
@@ -21222,7 +21229,7 @@ var to = NC, Eo = {}, HC = {
|
|
|
21222
21229
|
B = k(B, b[Ee], Ee, b);
|
|
21223
21230
|
return B;
|
|
21224
21231
|
}
|
|
21225
|
-
function
|
|
21232
|
+
function it(b, k) {
|
|
21226
21233
|
for (var B = -1, Y = Array(b); ++B < b; )
|
|
21227
21234
|
Y[B] = k(B);
|
|
21228
21235
|
return Y;
|
|
@@ -21292,7 +21299,7 @@ var to = NC, Eo = {}, HC = {
|
|
|
21292
21299
|
return B[b] = ki && k === void 0 ? i : k, this;
|
|
21293
21300
|
}
|
|
21294
21301
|
qt.prototype.clear = No, qt.prototype.delete = Ho, qt.prototype.get = Fo, qt.prototype.has = Ms, qt.prototype.set = Yn;
|
|
21295
|
-
function
|
|
21302
|
+
function nt(b) {
|
|
21296
21303
|
var k = -1, B = b ? b.length : 0;
|
|
21297
21304
|
for (this.clear(); ++k < B; ) {
|
|
21298
21305
|
var Y = b[k];
|
|
@@ -21320,7 +21327,7 @@ var to = NC, Eo = {}, HC = {
|
|
|
21320
21327
|
var B = this.__data__, Y = $i(B, b);
|
|
21321
21328
|
return Y < 0 ? B.push([b, k]) : B[Y][1] = k, this;
|
|
21322
21329
|
}
|
|
21323
|
-
|
|
21330
|
+
nt.prototype.clear = _o, nt.prototype.delete = Wo, nt.prototype.get = Uo, nt.prototype.has = Yo, nt.prototype.set = Xo;
|
|
21324
21331
|
function ct(b) {
|
|
21325
21332
|
var k = -1, B = b ? b.length : 0;
|
|
21326
21333
|
for (this.clear(); ++k < B; ) {
|
|
@@ -21331,7 +21338,7 @@ var to = NC, Eo = {}, HC = {
|
|
|
21331
21338
|
function Zo() {
|
|
21332
21339
|
this.__data__ = {
|
|
21333
21340
|
hash: new qt(),
|
|
21334
|
-
map: new (Ei ||
|
|
21341
|
+
map: new (Ei || nt)(),
|
|
21335
21342
|
string: new qt()
|
|
21336
21343
|
};
|
|
21337
21344
|
}
|
|
@@ -21349,10 +21356,10 @@ var to = NC, Eo = {}, HC = {
|
|
|
21349
21356
|
}
|
|
21350
21357
|
ct.prototype.clear = Zo, ct.prototype.delete = Jo, ct.prototype.get = qo, ct.prototype.has = Ko, ct.prototype.set = $o;
|
|
21351
21358
|
function Ct(b) {
|
|
21352
|
-
this.__data__ = new
|
|
21359
|
+
this.__data__ = new nt(b);
|
|
21353
21360
|
}
|
|
21354
21361
|
function er() {
|
|
21355
|
-
this.__data__ = new
|
|
21362
|
+
this.__data__ = new nt();
|
|
21356
21363
|
}
|
|
21357
21364
|
function tr(b) {
|
|
21358
21365
|
return this.__data__.delete(b);
|
|
@@ -21365,7 +21372,7 @@ var to = NC, Eo = {}, HC = {
|
|
|
21365
21372
|
}
|
|
21366
21373
|
function sr(b, k) {
|
|
21367
21374
|
var B = this.__data__;
|
|
21368
|
-
if (B instanceof
|
|
21375
|
+
if (B instanceof nt) {
|
|
21369
21376
|
var Y = B.__data__;
|
|
21370
21377
|
if (!Ei || Y.length < e - 1)
|
|
21371
21378
|
return Y.push([b, k]), this;
|
|
@@ -21375,7 +21382,7 @@ var to = NC, Eo = {}, HC = {
|
|
|
21375
21382
|
}
|
|
21376
21383
|
Ct.prototype.clear = er, Ct.prototype.delete = tr, Ct.prototype.get = ir, Ct.prototype.has = nr, Ct.prototype.set = sr;
|
|
21377
21384
|
function Ki(b, k) {
|
|
21378
|
-
var B = qn(b) || tn(b) ?
|
|
21385
|
+
var B = qn(b) || tn(b) ? it(b.length, String) : [], Y = B.length, Ee = !!Y;
|
|
21379
21386
|
for (var pe in b)
|
|
21380
21387
|
(k || Ue.call(b, pe)) && !(Ee && (pe == "length" || vr(pe, Y))) && B.push(pe);
|
|
21381
21388
|
return B;
|
|
@@ -21424,8 +21431,8 @@ var to = NC, Eo = {}, HC = {
|
|
|
21424
21431
|
return It;
|
|
21425
21432
|
if (De.set(b, Se), !Ye)
|
|
21426
21433
|
var qe = B ? gr(b) : $n(b);
|
|
21427
|
-
return Le(qe || b, function(ht,
|
|
21428
|
-
qe && (
|
|
21434
|
+
return Le(qe || b, function(ht, st) {
|
|
21435
|
+
qe && (st = ht, ht = b[st]), xs(Se, st, Xn(ht, k, B, Y, st, b, De));
|
|
21429
21436
|
}), Se;
|
|
21430
21437
|
}
|
|
21431
21438
|
function or(b) {
|
|
@@ -21652,9 +21659,9 @@ var ko = {}, _C = {
|
|
|
21652
21659
|
(function(n, t) {
|
|
21653
21660
|
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", I = "[object Proxy]", M = "[object RegExp]", C = "[object Set]", z = "[object String]", V = "[object Symbol]", W = "[object Undefined]", F = "[object WeakMap]", G = "[object ArrayBuffer]", N = "[object DataView]", Q = "[object Float32Array]", H = "[object Float64Array]", U = "[object Int8Array]", X = "[object Int16Array]", Z = "[object Int32Array]", $ = "[object Uint8Array]", de = "[object Uint8ClampedArray]", ce = "[object Uint16Array]", Ie = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, Ve = /^(?:0|[1-9]\d*)$/, ye = {};
|
|
21654
21661
|
ye[Q] = ye[H] = ye[U] = ye[X] = ye[Z] = ye[$] = ye[de] = ye[ce] = ye[Ie] = !0, ye[a] = ye[l] = ye[G] = ye[d] = ye[N] = ye[h] = ye[f] = ye[m] = ye[p] = ye[g] = ye[y] = ye[M] = ye[C] = ye[z] = ye[F] = !1;
|
|
21655
|
-
var We = typeof xt == "object" && xt && xt.Object === Object && xt, ee = typeof self == "object" && self && self.Object === Object && self, ve = We || ee || Function("return this")(), Le = t && !t.nodeType && t, ge = Le && !0 && n && !n.nodeType && n, Je = ge && ge.exports === Le,
|
|
21662
|
+
var We = typeof xt == "object" && xt && xt.Object === Object && xt, ee = typeof self == "object" && self && self.Object === Object && self, ve = We || ee || Function("return this")(), Le = t && !t.nodeType && t, ge = Le && !0 && n && !n.nodeType && n, Je = ge && ge.exports === Le, it = Je && We.process, ke = function() {
|
|
21656
21663
|
try {
|
|
21657
|
-
return
|
|
21664
|
+
return it && it.binding && it.binding("util");
|
|
21658
21665
|
} catch (b) {
|
|
21659
21666
|
}
|
|
21660
21667
|
}(), Ke = ke && ke.isTypedArray;
|
|
@@ -21715,7 +21722,7 @@ var ko = {}, _C = {
|
|
|
21715
21722
|
}(), Xi = Nt.toString, Go = RegExp(
|
|
21716
21723
|
"^" + Pi.call(wt).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21717
21724
|
), Nn = Je ? ve.Buffer : void 0, Zi = ve.Symbol, Es = ve.Uint8Array, Ji = Nt.propertyIsEnumerable, Ei = St.splice, Tt = Zi ? Zi.toStringTag : void 0, qi = Object.getOwnPropertySymbols, Hn = Nn ? Nn.isBuffer : void 0, ki = Re(Object.keys, Object), Fn = Kt(ve, "DataView"), Mi = Kt(ve, "Map"), _n = Kt(ve, "Promise"), Wn = Kt(ve, "Set"), Un = Kt(ve, "WeakMap"), ai = Kt(Object, "create"), ks = At(Fn), qt = At(Mi), No = At(_n), Ho = At(Wn), Fo = At(Un), Ms = Zi ? Zi.prototype : void 0, Yn = Ms ? Ms.valueOf : void 0;
|
|
21718
|
-
function
|
|
21725
|
+
function nt(b) {
|
|
21719
21726
|
var k = -1, B = b == null ? 0 : b.length;
|
|
21720
21727
|
for (this.clear(); ++k < B; ) {
|
|
21721
21728
|
var Y = b[k];
|
|
@@ -21745,7 +21752,7 @@ var ko = {}, _C = {
|
|
|
21745
21752
|
var B = this.__data__;
|
|
21746
21753
|
return this.size += this.has(b) ? 0 : 1, B[b] = ai && k === void 0 ? i : k, this;
|
|
21747
21754
|
}
|
|
21748
|
-
|
|
21755
|
+
nt.prototype.clear = _o, nt.prototype.delete = Wo, nt.prototype.get = Uo, nt.prototype.has = Yo, nt.prototype.set = Xo;
|
|
21749
21756
|
function ct(b) {
|
|
21750
21757
|
var k = -1, B = b == null ? 0 : b.length;
|
|
21751
21758
|
for (this.clear(); ++k < B; ) {
|
|
@@ -21784,9 +21791,9 @@ var ko = {}, _C = {
|
|
|
21784
21791
|
}
|
|
21785
21792
|
function er() {
|
|
21786
21793
|
this.size = 0, this.__data__ = {
|
|
21787
|
-
hash: new
|
|
21794
|
+
hash: new nt(),
|
|
21788
21795
|
map: new (Mi || ct)(),
|
|
21789
|
-
string: new
|
|
21796
|
+
string: new nt()
|
|
21790
21797
|
};
|
|
21791
21798
|
}
|
|
21792
21799
|
function tr(b) {
|
|
@@ -21885,9 +21892,9 @@ var ko = {}, _C = {
|
|
|
21885
21892
|
if (qe && !dt)
|
|
21886
21893
|
return pe || (pe = new Ht()), De || Bs(b) ? Jn(b, k, B, Y, Ee, pe) : mr(b, k, Ye, B, Y, Ee, pe);
|
|
21887
21894
|
if (!(B & s)) {
|
|
21888
|
-
var ht = dt && wt.call(b, "__wrapped__"),
|
|
21889
|
-
if (ht ||
|
|
21890
|
-
var li = ht ? b.value() : b, ei =
|
|
21895
|
+
var ht = dt && wt.call(b, "__wrapped__"), st = It && wt.call(k, "__wrapped__");
|
|
21896
|
+
if (ht || st) {
|
|
21897
|
+
var li = ht ? b.value() : b, ei = st ? k.value() : k;
|
|
21891
21898
|
return pe || (pe = new Ht()), Ee(li, ei, B, Y, pe);
|
|
21892
21899
|
}
|
|
21893
21900
|
}
|
|
@@ -21919,9 +21926,9 @@ var ko = {}, _C = {
|
|
|
21919
21926
|
return je == k;
|
|
21920
21927
|
var dt = -1, It = !0, qe = B & o ? new Ki() : void 0;
|
|
21921
21928
|
for (pe.set(b, k), pe.set(k, b); ++dt < Se; ) {
|
|
21922
|
-
var ht = b[dt],
|
|
21929
|
+
var ht = b[dt], st = k[dt];
|
|
21923
21930
|
if (Y)
|
|
21924
|
-
var li = De ? Y(
|
|
21931
|
+
var li = De ? Y(st, ht, dt, k, b, pe) : Y(ht, st, dt, b, k, pe);
|
|
21925
21932
|
if (li !== void 0) {
|
|
21926
21933
|
if (li)
|
|
21927
21934
|
continue;
|
|
@@ -21936,7 +21943,7 @@ var ko = {}, _C = {
|
|
|
21936
21943
|
It = !1;
|
|
21937
21944
|
break;
|
|
21938
21945
|
}
|
|
21939
|
-
} else if (!(ht ===
|
|
21946
|
+
} else if (!(ht === st || Ee(ht, st, B, Y, pe))) {
|
|
21940
21947
|
It = !1;
|
|
21941
21948
|
break;
|
|
21942
21949
|
}
|
|
@@ -21990,7 +21997,7 @@ var ko = {}, _C = {
|
|
|
21990
21997
|
var ht = pe.get(b);
|
|
21991
21998
|
if (ht && pe.get(k))
|
|
21992
21999
|
return ht == k;
|
|
21993
|
-
var
|
|
22000
|
+
var st = !0;
|
|
21994
22001
|
pe.set(b, k), pe.set(k, b);
|
|
21995
22002
|
for (var li = De; ++It < Ye; ) {
|
|
21996
22003
|
qe = Se[It];
|
|
@@ -21998,16 +22005,16 @@ var ko = {}, _C = {
|
|
|
21998
22005
|
if (Y)
|
|
21999
22006
|
var dl = De ? Y(Si, ei, qe, k, b, pe) : Y(ei, Si, qe, b, k, pe);
|
|
22000
22007
|
if (!(dl === void 0 ? ei === Si || Ee(ei, Si, B, Y, pe) : dl)) {
|
|
22001
|
-
|
|
22008
|
+
st = !1;
|
|
22002
22009
|
break;
|
|
22003
22010
|
}
|
|
22004
22011
|
li || (li = qe == "constructor");
|
|
22005
22012
|
}
|
|
22006
|
-
if (
|
|
22013
|
+
if (st && !li) {
|
|
22007
22014
|
var Rs = b.constructor, Vs = k.constructor;
|
|
22008
|
-
Rs != Vs && "constructor" in b && "constructor" in k && !(typeof Rs == "function" && Rs instanceof Rs && typeof Vs == "function" && Vs instanceof Vs) && (
|
|
22015
|
+
Rs != Vs && "constructor" in b && "constructor" in k && !(typeof Rs == "function" && Rs instanceof Rs && typeof Vs == "function" && Vs instanceof Vs) && (st = !1);
|
|
22009
22016
|
}
|
|
22010
|
-
return pe.delete(b), pe.delete(k),
|
|
22017
|
+
return pe.delete(b), pe.delete(k), st;
|
|
22011
22018
|
}
|
|
22012
22019
|
function Di(b) {
|
|
22013
22020
|
return Zn(b, $n, pr);
|
|
@@ -23162,7 +23169,7 @@ function fI(n, t, e) {
|
|
|
23162
23169
|
m.showPrevPage();
|
|
23163
23170
|
}
|
|
23164
23171
|
const Je = () => Z / 3;
|
|
23165
|
-
function
|
|
23172
|
+
function it(oe) {
|
|
23166
23173
|
Ne[oe ? "unshift" : "push"](() => {
|
|
23167
23174
|
de = oe, e(13, de);
|
|
23168
23175
|
});
|
|
@@ -23226,7 +23233,7 @@ function fI(n, t, e) {
|
|
|
23226
23233
|
s,
|
|
23227
23234
|
i,
|
|
23228
23235
|
Je,
|
|
23229
|
-
|
|
23236
|
+
it,
|
|
23230
23237
|
ke,
|
|
23231
23238
|
Ke
|
|
23232
23239
|
];
|
|
@@ -23386,7 +23393,7 @@ function AI(n) {
|
|
|
23386
23393
|
let t, e, i;
|
|
23387
23394
|
return {
|
|
23388
23395
|
c() {
|
|
23389
|
-
t = D("img"), w(t, "class", "media-content svelte-159ski6"),
|
|
23396
|
+
t = D("img"), w(t, "class", "media-content svelte-159ski6"), tt(t.src, e = /*media*/
|
|
23390
23397
|
n[2].url) || w(t, "src", e), w(t, "alt", i = /*media*/
|
|
23391
23398
|
n[2].name), w(t, "draggable", !1), S(
|
|
23392
23399
|
t,
|
|
@@ -23400,7 +23407,7 @@ function AI(n) {
|
|
|
23400
23407
|
},
|
|
23401
23408
|
p(s, o) {
|
|
23402
23409
|
o & /*media*/
|
|
23403
|
-
4 && !
|
|
23410
|
+
4 && !tt(t.src, e = /*media*/
|
|
23404
23411
|
s[2].url) && w(t, "src", e), o & /*media*/
|
|
23405
23412
|
4 && i !== (i = /*media*/
|
|
23406
23413
|
s[2].name) && w(t, "alt", i), o & /*objectFit*/
|
|
@@ -23420,7 +23427,7 @@ function vI(n) {
|
|
|
23420
23427
|
let t, e, i, s, o, r;
|
|
23421
23428
|
return {
|
|
23422
23429
|
c() {
|
|
23423
|
-
t = D("video"), w(t, "class", "media-content svelte-159ski6"),
|
|
23430
|
+
t = D("video"), w(t, "class", "media-content svelte-159ski6"), tt(t.src, e = /*media*/
|
|
23424
23431
|
n[2].videoCoverUrl ? (
|
|
23425
23432
|
/*media*/
|
|
23426
23433
|
n[2].url
|
|
@@ -23478,7 +23485,7 @@ function vI(n) {
|
|
|
23478
23485
|
},
|
|
23479
23486
|
p(a, l) {
|
|
23480
23487
|
l & /*media*/
|
|
23481
|
-
4 && !
|
|
23488
|
+
4 && !tt(t.src, e = /*media*/
|
|
23482
23489
|
a[2].videoCoverUrl ? (
|
|
23483
23490
|
/*media*/
|
|
23484
23491
|
a[2].url
|
|
@@ -23514,7 +23521,7 @@ function bI(n) {
|
|
|
23514
23521
|
let t, e, i;
|
|
23515
23522
|
return {
|
|
23516
23523
|
c() {
|
|
23517
|
-
t = D("img"), w(t, "class", "media-content svelte-159ski6"),
|
|
23524
|
+
t = D("img"), w(t, "class", "media-content svelte-159ski6"), tt(t.src, e = /*media*/
|
|
23518
23525
|
n[2].videoCoverUrl) || w(t, "src", e), w(t, "alt", i = /*media*/
|
|
23519
23526
|
n[2].name), w(t, "draggable", !1), S(
|
|
23520
23527
|
t,
|
|
@@ -23528,7 +23535,7 @@ function bI(n) {
|
|
|
23528
23535
|
},
|
|
23529
23536
|
p(s, o) {
|
|
23530
23537
|
o & /*media*/
|
|
23531
|
-
4 && !
|
|
23538
|
+
4 && !tt(t.src, e = /*media*/
|
|
23532
23539
|
s[2].videoCoverUrl) && w(t, "src", e), o & /*media*/
|
|
23533
23540
|
4 && i !== (i = /*media*/
|
|
23534
23541
|
s[2].name) && w(t, "alt", i), o & /*objectFit*/
|
|
@@ -24370,7 +24377,7 @@ function Jd(n) {
|
|
|
24370
24377
|
let t, e;
|
|
24371
24378
|
return {
|
|
24372
24379
|
c() {
|
|
24373
|
-
t = D("img"), w(t, "class", "headerImage svelte-sezqcq"),
|
|
24380
|
+
t = D("img"), w(t, "class", "headerImage svelte-sezqcq"), tt(t.src, e = /*data*/
|
|
24374
24381
|
n[3].headerPictureUrl) || w(t, "src", e), w(t, "alt", "");
|
|
24375
24382
|
},
|
|
24376
24383
|
m(i, s) {
|
|
@@ -24378,7 +24385,7 @@ function Jd(n) {
|
|
|
24378
24385
|
},
|
|
24379
24386
|
p(i, s) {
|
|
24380
24387
|
s & /*data*/
|
|
24381
|
-
8 && !
|
|
24388
|
+
8 && !tt(t.src, e = /*data*/
|
|
24382
24389
|
i[3].headerPictureUrl) && w(t, "src", e);
|
|
24383
24390
|
},
|
|
24384
24391
|
d(i) {
|
|
@@ -26255,7 +26262,7 @@ function gP(n) {
|
|
|
26255
26262
|
let t, e;
|
|
26256
26263
|
return {
|
|
26257
26264
|
c() {
|
|
26258
|
-
t = D("img"), w(t, "alt", "tag-icon"), w(t, "class", "icon-image svelte-316sq3"),
|
|
26265
|
+
t = D("img"), w(t, "alt", "tag-icon"), w(t, "class", "icon-image svelte-316sq3"), tt(t.src, e = /*iconUrl*/
|
|
26259
26266
|
n[7]) || w(t, "src", e), S(t, "width", Yt(mn({
|
|
26260
26267
|
originWidth: (
|
|
26261
26268
|
/*width*/
|
|
@@ -26276,7 +26283,7 @@ function gP(n) {
|
|
|
26276
26283
|
},
|
|
26277
26284
|
p(i, s) {
|
|
26278
26285
|
hh(i), s & /*iconUrl*/
|
|
26279
|
-
128 && !
|
|
26286
|
+
128 && !tt(t.src, e = /*iconUrl*/
|
|
26280
26287
|
i[7]) && w(t, "src", e), s & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
26281
26288
|
184 && S(t, "width", Yt(mn({
|
|
26282
26289
|
originWidth: (
|
|
@@ -26666,7 +26673,7 @@ function Ah(n) {
|
|
|
26666
26673
|
}), {
|
|
26667
26674
|
c() {
|
|
26668
26675
|
var a;
|
|
26669
|
-
ne(t.$$.fragment), e = K(), i = D("img"), w(i, "class", "media-content svelte-nnvupv"),
|
|
26676
|
+
ne(t.$$.fragment), e = K(), i = D("img"), w(i, "class", "media-content svelte-nnvupv"), tt(i.src, s = /*media*/
|
|
26670
26677
|
(a = n[0].thumbnail) != null ? a : (
|
|
26671
26678
|
/*media*/
|
|
26672
26679
|
n[0].url
|
|
@@ -26679,7 +26686,7 @@ function Ah(n) {
|
|
|
26679
26686
|
p(a, l) {
|
|
26680
26687
|
var c;
|
|
26681
26688
|
(!r || l & /*media*/
|
|
26682
|
-
1 && !
|
|
26689
|
+
1 && !tt(i.src, s = /*media*/
|
|
26683
26690
|
(c = a[0].thumbnail) != null ? c : (
|
|
26684
26691
|
/*media*/
|
|
26685
26692
|
a[0].url
|
|
@@ -28787,7 +28794,7 @@ class va extends g2 {
|
|
|
28787
28794
|
const c = this.calculateTagConfig(r), d = this.getTagConfig(r);
|
|
28788
28795
|
return r.config = d, me(R({}, r), {
|
|
28789
28796
|
enabled: (f = r.enabled) != null ? f : !0,
|
|
28790
|
-
id: (m = r.id) != null ? m :
|
|
28797
|
+
id: (m = r.id) != null ? m : et(),
|
|
28791
28798
|
data: (A = d.initialData) != null && A.important ? Oe(r.data, a, d.initialData) : Oe(r.data, d.initialData, a),
|
|
28792
28799
|
state: R({
|
|
28793
28800
|
visible: void 0,
|
|
@@ -29486,10 +29493,10 @@ class ba {
|
|
|
29486
29493
|
}
|
|
29487
29494
|
/** 设置线条材质 */
|
|
29488
29495
|
setMartial(t) {
|
|
29489
|
-
var i;
|
|
29496
|
+
var i, s;
|
|
29490
29497
|
if (this.disposed)
|
|
29491
29498
|
return this.logError("disposed");
|
|
29492
|
-
(t == null ? void 0 : t.visible) !== void 0 && this.setDefaultVisible(t.visible), (t == null ? void 0 : t.color) !== void 0 && this.setColor(t.color), (t == null ? void 0 : t.opacity) !== void 0 && this.setOpacity(t.opacity), ((i = t == null ? void 0 : t.texture) == null ? void 0 : i.url)
|
|
29499
|
+
(t == null ? void 0 : t.visible) !== void 0 && this.setDefaultVisible(t.visible), (t == null ? void 0 : t.color) !== void 0 && this.setColor(t.color), (t == null ? void 0 : t.opacity) !== void 0 && this.setOpacity(t.opacity), this.setTextureUrl((s = (i = t == null ? void 0 : t.texture) == null ? void 0 : i.url) != null ? s : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (t == null ? void 0 : t.background_color) !== void 0 && this.setBackgroundColor(t.background_color), (t == null ? void 0 : t.background_opacity) !== void 0 && this.setBackgroundOpacity(t.background_opacity), (t == null ? void 0 : t.border_color) !== void 0 && this.setBorderColor(t.border_color), (t == null ? void 0 : t.border_opacity) !== void 0 && this.setBorderOpacity(t.border_opacity), (t == null ? void 0 : t.border_width) !== void 0 && this.setBorderWidth(t.border_width), (t == null ? void 0 : t.background_clip) !== void 0 && this.setBackgroundClip(t.background_clip);
|
|
29493
29500
|
const e = R(R({}, this.materialStyle), t);
|
|
29494
29501
|
this.materialStyle = e;
|
|
29495
29502
|
}
|
|
@@ -29926,7 +29933,7 @@ let Tf = class extends Df {
|
|
|
29926
29933
|
}
|
|
29927
29934
|
load(e, i) {
|
|
29928
29935
|
var a, l, c, d, h, f;
|
|
29929
|
-
this.handlePause(), this.clear(), this.data = R({ id:
|
|
29936
|
+
this.handlePause(), this.clear(), this.data = R({ id: et() }, e);
|
|
29930
29937
|
const s = (() => {
|
|
29931
29938
|
if (this.data.path instanceof E.Curve)
|
|
29932
29939
|
return this.data.path.curves[0];
|
|
@@ -30103,11 +30110,11 @@ class rl extends Df {
|
|
|
30103
30110
|
})();
|
|
30104
30111
|
if (i.keyframes)
|
|
30105
30112
|
return {
|
|
30106
|
-
keyframesId:
|
|
30113
|
+
keyframesId: et(),
|
|
30107
30114
|
keyframes: i.keyframes.map((s, o) => {
|
|
30108
30115
|
var l;
|
|
30109
30116
|
const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
|
|
30110
|
-
return me(R({ id: (l = s.uuid) != null ? l :
|
|
30117
|
+
return me(R({ id: (l = s.uuid) != null ? l : et(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
|
|
30111
30118
|
})
|
|
30112
30119
|
};
|
|
30113
30120
|
if (i.panoIndexList) {
|
|
@@ -30131,8 +30138,8 @@ class rl extends Df {
|
|
|
30131
30138
|
data: R({ effect: "Move", panoIndex: l, moveEffect: o }, d != null ? d : {})
|
|
30132
30139
|
}) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: o } }), d && s.push({ moveIndex: c, stay: i.stay, data: R({ effect: "Rotate", panoIndex: l }, d) }));
|
|
30133
30140
|
}), {
|
|
30134
|
-
keyframesId:
|
|
30135
|
-
keyframes: s.map((l, c) => R({ id:
|
|
30141
|
+
keyframesId: et(),
|
|
30142
|
+
keyframes: s.map((l, c) => R({ id: et(), index: c }, l)),
|
|
30136
30143
|
guildPluginOptions: i.guildPluginOptions,
|
|
30137
30144
|
useGuildLine: i.useGuildLine
|
|
30138
30145
|
};
|
|
@@ -30152,7 +30159,7 @@ class rl extends Df {
|
|
|
30152
30159
|
const { data: i, state: s, privateState: o, hooks: r } = this;
|
|
30153
30160
|
if (o.playing || !(i != null && i.keyframes) || (i == null ? void 0 : i.keyframes.length) === 0)
|
|
30154
30161
|
return;
|
|
30155
|
-
const a =
|
|
30162
|
+
const a = et();
|
|
30156
30163
|
o.playId = a, o.playing = !0, o.broke = !1;
|
|
30157
30164
|
const l = i.keyframes, c = this.getPauseData();
|
|
30158
30165
|
(e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("play", { userAction: (m = e == null ? void 0 : e.userAction) != null ? m : !0 });
|
|
@@ -30543,8 +30550,6 @@ let j2 = class extends Ii {
|
|
|
30543
30550
|
load(e, i, s = !0) {
|
|
30544
30551
|
return _(this, null, function* () {
|
|
30545
30552
|
var m, A, p, g, v, y, P;
|
|
30546
|
-
if (this.disposed)
|
|
30547
|
-
return;
|
|
30548
30553
|
const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
|
|
30549
30554
|
this.hooks.emit("dataChange", r, o), this.data = r;
|
|
30550
30555
|
const a = r.config, c = {
|
|
@@ -30556,7 +30561,7 @@ let j2 = class extends Ii {
|
|
|
30556
30561
|
}
|
|
30557
30562
|
}, d = (v = (g = r.routes) == null ? void 0 : g.map((I) => {
|
|
30558
30563
|
var M;
|
|
30559
|
-
return Oe({}, c, { id: (M = I.id) != null ? M :
|
|
30564
|
+
return Oe({}, c, { id: (M = I.id) != null ? M : et(), pano_group: I.panoIndexList });
|
|
30560
30565
|
})) != null ? v : [], h = (P = (y = r.lines) == null ? void 0 : y.map((I) => Oe({}, c, I))) != null ? P : [], f = [...d, ...h];
|
|
30561
30566
|
yield Lf(this.five), this.clear(), f.forEach((I) => {
|
|
30562
30567
|
this.addGuideLineItem(I);
|
|
@@ -30651,7 +30656,7 @@ let j2 = class extends Ii {
|
|
|
30651
30656
|
this.state.enabled && this.hooks.emit(e ? "show" : "hide", { userAction: i });
|
|
30652
30657
|
}
|
|
30653
30658
|
getDataWithoutVersion(e) {
|
|
30654
|
-
return typeof e == "object" && e !== null && e.
|
|
30659
|
+
return typeof e == "object" && e !== null && e.data ? e.data : e;
|
|
30655
30660
|
}
|
|
30656
30661
|
};
|
|
30657
30662
|
const z2 = (n, t) => new j2(n, t), rM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|