@realsee/dnalogel 3.25.3 → 3.25.5
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/Sculpt/typings/SimplifyDeep.d.ts +3 -0
- package/dist/Sculpt/typings/index.d.ts +2 -2
- package/dist/Sculpt/utils/three/rayOnLine.d.ts +6 -2
- package/dist/index.cjs.js +18 -18
- package/dist/index.js +293 -295
- package/dist/index.umd.js +15 -15
- 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 +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 +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/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/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 +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/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/Sculpt/typings/SimplifyDeep.d.ts +3 -0
- package/libs/Sculpt/typings/index.d.ts +2 -2
- package/libs/Sculpt/utils/three/rayOnLine.d.ts +6 -2
- package/libs/Sculpt/utils/three/rayOnLine.js +11 -5
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +27 -34
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var la = (n, t, e) => t in n ? Am(n, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
oc.call(t, e) && la(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, se = (n, t) => vm(n, bm(t));
|
|
13
|
-
var
|
|
13
|
+
var ms = (n, t) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
16
16
|
sc.call(n, i) && t.indexOf(i) < 0 && (e[i] = n[i]);
|
|
@@ -38,7 +38,7 @@ var Q = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { Camera as ym, Subscribe as Tt, Five as dt } from "@realsee/five";
|
|
40
40
|
import * as w from "three";
|
|
41
|
-
import { Vector3 as oe, LineSegments as wm, Group as kn, Raycaster as
|
|
41
|
+
import { Vector3 as oe, LineSegments as wm, Group as kn, Raycaster as Wn, MeshBasicMaterial as Bs, CanvasTexture as Cm, AnimationMixer as Pm, Color as Un, TextureLoader as Zu, Vector2 as yt, Object3D as Im, PlaneGeometry as Em, sRGBEncoding as Mm, LinearFilter as Ha, Mesh as ks, CurvePath as km, LineCurve3 as xm, TubeGeometry as Dm, ShaderMaterial as Ju, SphereGeometry as Sm, DoubleSide as qu, RingGeometry as Tm, Quaternion as hl, Euler as rc, Matrix4 as Ps, VideoTexture as Lm, Vector4 as jm, SphereBufferGeometry as zm } from "three";
|
|
42
42
|
import { CSS3DRenderer as Om, CSS3DObject as Na } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
43
|
import cr from "hammerjs";
|
|
44
44
|
import { Line as Bm, LineGeometry as ac, LineMaterial as Rm, THREE_Line2 as Vm } from "@realsee/five/line";
|
|
@@ -48,7 +48,7 @@ import Qa from "animejs";
|
|
|
48
48
|
import { GLTFLoader as Nm } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Qm() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.25.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.25.5",
|
|
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",
|
|
@@ -518,12 +518,12 @@ function Km(n, t, e, i = Gt.Linear.None) {
|
|
|
518
518
|
return requestAnimationFrame(o), s;
|
|
519
519
|
}
|
|
520
520
|
var Ci = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(Ci || {});
|
|
521
|
-
const
|
|
521
|
+
const xs = Symbol("$$PAINT_BRUSH_EVENT$$");
|
|
522
522
|
function Ao(n) {
|
|
523
|
-
return n[
|
|
523
|
+
return n[xs] || (n[xs] = {}), n[xs];
|
|
524
524
|
}
|
|
525
525
|
function $m(n) {
|
|
526
|
-
n[
|
|
526
|
+
n[xs] || delete n[xs];
|
|
527
527
|
}
|
|
528
528
|
let ep = class {
|
|
529
529
|
/**
|
|
@@ -1244,12 +1244,12 @@ class uc extends Om {
|
|
|
1244
1244
|
function rp(n) {
|
|
1245
1245
|
return typeof Symbol == "undefined" ? `$Symbol<${n}>$` : Symbol(n);
|
|
1246
1246
|
}
|
|
1247
|
-
const
|
|
1247
|
+
const Ds = rp("$$EVENT$$");
|
|
1248
1248
|
function vo(n) {
|
|
1249
|
-
return n[
|
|
1249
|
+
return n[Ds] || (n[Ds] = {}), n[Ds];
|
|
1250
1250
|
}
|
|
1251
1251
|
function ap(n) {
|
|
1252
|
-
n[
|
|
1252
|
+
n[Ds] && delete n[Ds];
|
|
1253
1253
|
}
|
|
1254
1254
|
class ii {
|
|
1255
1255
|
/**
|
|
@@ -1508,8 +1508,8 @@ class pp extends sf {
|
|
|
1508
1508
|
}), super.add(...e), this;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
|
-
const Ap = 3, Fa = "CSS3DRenderer",
|
|
1512
|
-
console.error(`${
|
|
1511
|
+
const Ap = 3, Fa = "CSS3DRenderer", Is = `${Fa}@${Ap}`, mn = () => {
|
|
1512
|
+
console.error(`${Is} is disposed`);
|
|
1513
1513
|
}, Ke = {
|
|
1514
1514
|
css3DObjects: [],
|
|
1515
1515
|
frontModeStore: {
|
|
@@ -1528,7 +1528,7 @@ function vp(n) {
|
|
|
1528
1528
|
function bp(n) {
|
|
1529
1529
|
Ke.behindModeStore.css3DRenderer.setWrapper(n);
|
|
1530
1530
|
}
|
|
1531
|
-
class
|
|
1531
|
+
class Rs {
|
|
1532
1532
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
1533
1533
|
constructor(t) {
|
|
1534
1534
|
d(this, "hooks", new ii());
|
|
@@ -1591,7 +1591,7 @@ class Bs {
|
|
|
1591
1591
|
return Object.assign(k, i);
|
|
1592
1592
|
})(), o = e.map(Be);
|
|
1593
1593
|
if ((o == null ? void 0 : o.length) < 4)
|
|
1594
|
-
return console.error(`${
|
|
1594
|
+
return console.error(`${Is}: requires 4 point but params may have fewer`);
|
|
1595
1595
|
const { ratio: r, devicePixelRatio: a, mode: l, autoRender: c, container: h, pointerEvents: u, wrapperStyle: f } = s;
|
|
1596
1596
|
let g = !1;
|
|
1597
1597
|
const A = this.createObject(o, { ratio: r, dpr: a, container: h, mode: l, pointerEvents: u, wrapperStyle: f });
|
|
@@ -1709,7 +1709,7 @@ class Bs {
|
|
|
1709
1709
|
if (t) {
|
|
1710
1710
|
const o = (s = Ke.behindModeStore.scene) != null ? s : this.scene;
|
|
1711
1711
|
if (!o) {
|
|
1712
|
-
console.error(`${
|
|
1712
|
+
console.error(`${Is}: scene is required when mode is behind`);
|
|
1713
1713
|
return;
|
|
1714
1714
|
}
|
|
1715
1715
|
const r = new gp(o);
|
|
@@ -1735,13 +1735,13 @@ class Bs {
|
|
|
1735
1735
|
if (this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }).CSS3DObjectLength > 0) {
|
|
1736
1736
|
const s = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
1737
1737
|
if (!s)
|
|
1738
|
-
return console.error(`${
|
|
1738
|
+
return console.error(`${Is}: css3DScene is required when mode is front`);
|
|
1739
1739
|
Ke.frontModeStore.css3DRenderer.renderEveryFrame(s, t);
|
|
1740
1740
|
}
|
|
1741
1741
|
if (((i = (e = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : e.CSS3DObjectLength) != null ? i : 0) > 0) {
|
|
1742
1742
|
const s = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
1743
1743
|
if (!s)
|
|
1744
|
-
return console.error(`${
|
|
1744
|
+
return console.error(`${Is}: css3DScene is required when mode is behind`);
|
|
1745
1745
|
Ke.behindModeStore.css3DRenderer.renderEveryFrame(s, t);
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
@@ -1773,7 +1773,7 @@ class Bs {
|
|
|
1773
1773
|
this.handleDisable();
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
|
-
d(
|
|
1776
|
+
d(Rs, "setFrontModeContainer", vp), d(Rs, "setBehindModeContainer", bp);
|
|
1777
1777
|
function of(n) {
|
|
1778
1778
|
return Q(this, null, function* () {
|
|
1779
1779
|
return new Promise((t) => {
|
|
@@ -2284,7 +2284,7 @@ class Ji extends hr {
|
|
|
2284
2284
|
d(this, "onDispose", (e) => (this.disposeMethods.push(e), this));
|
|
2285
2285
|
d(this, "play", () => {
|
|
2286
2286
|
var e;
|
|
2287
|
-
return this.start(0), (e = this.animationFrameDisposer) == null || e.call(this), this.animationFrameDisposer =
|
|
2287
|
+
return this.start(0), (e = this.animationFrameDisposer) == null || e.call(this), this.animationFrameDisposer = Yn((i) => this.update(i)), this;
|
|
2288
2288
|
});
|
|
2289
2289
|
d(this, "stop", () => {
|
|
2290
2290
|
var e;
|
|
@@ -2300,24 +2300,24 @@ function jn(n, t = Gt.Linear.None) {
|
|
|
2300
2300
|
const e = new Ji({ progress: 0 }).to({ progress: 1 });
|
|
2301
2301
|
return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
|
|
2302
2302
|
}
|
|
2303
|
-
const
|
|
2303
|
+
const Vs = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), zp = window.cancelAnimationFrame || clearTimeout;
|
|
2304
2304
|
function dr(n, t = 0) {
|
|
2305
|
-
t <= 0 ?
|
|
2305
|
+
t <= 0 ? Vs(n) : Vs(() => dr(n, t - 1));
|
|
2306
2306
|
}
|
|
2307
|
-
function
|
|
2307
|
+
function Yn(n, t = 60) {
|
|
2308
2308
|
let e = -1, i = 0, s = -1;
|
|
2309
2309
|
const o = 1e3 / t;
|
|
2310
2310
|
function r(a) {
|
|
2311
|
-
s === -1 && (s = a), e =
|
|
2311
|
+
s === -1 && (s = a), e = Vs(r), !(a - i < o) && (i = a, n == null || n(a - s));
|
|
2312
2312
|
}
|
|
2313
|
-
return e =
|
|
2313
|
+
return e = Vs(r), function() {
|
|
2314
2314
|
zp(e);
|
|
2315
2315
|
};
|
|
2316
2316
|
}
|
|
2317
2317
|
function Op() {
|
|
2318
2318
|
const n = Date.now();
|
|
2319
2319
|
return new Promise((t) => {
|
|
2320
|
-
|
|
2320
|
+
Vs(() => {
|
|
2321
2321
|
t(Date.now() - n);
|
|
2322
2322
|
});
|
|
2323
2323
|
});
|
|
@@ -2400,11 +2400,11 @@ const j3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2400
2400
|
isPanoramaLike: Nt,
|
|
2401
2401
|
nextFrame: dr,
|
|
2402
2402
|
notNil: Me,
|
|
2403
|
-
requestAnimationFrameInterval:
|
|
2403
|
+
requestAnimationFrameInterval: Yn,
|
|
2404
2404
|
tweenProgress: jn,
|
|
2405
2405
|
uuid: nt
|
|
2406
2406
|
}, Symbol.toStringTag, { value: "Module" })), mf = "v2.0.1", da = `CSS3DRenderPlugin@${mf}`;
|
|
2407
|
-
let Qp = class extends
|
|
2407
|
+
let Qp = class extends Rs {
|
|
2408
2408
|
constructor(e) {
|
|
2409
2409
|
super();
|
|
2410
2410
|
d(this, "five");
|
|
@@ -2558,7 +2558,7 @@ const O3 = (n) => {
|
|
|
2558
2558
|
const f = (v = n == null ? void 0 : n.camera) == null ? void 0 : v.position;
|
|
2559
2559
|
if (!f)
|
|
2560
2560
|
return !1;
|
|
2561
|
-
const g = h.distanceTo(f), A = h.sub(f).normalize(), p = new
|
|
2561
|
+
const g = h.distanceTo(f), A = h.sub(f).normalize(), p = new Wn(f, A), m = (y = n.model.intersectRaycaster(p)) == null ? void 0 : y[0];
|
|
2562
2562
|
return !(m && m.distance + u < g);
|
|
2563
2563
|
}, r = () => t.intersection, a = () => {
|
|
2564
2564
|
var h, u;
|
|
@@ -2602,7 +2602,7 @@ function rt(n, t) {
|
|
|
2602
2602
|
function Fp(n) {
|
|
2603
2603
|
return Object.keys(n).length === 0;
|
|
2604
2604
|
}
|
|
2605
|
-
function
|
|
2605
|
+
function Xn(n, t, e, i) {
|
|
2606
2606
|
if (n) {
|
|
2607
2607
|
const s = bf(n, t, e, i);
|
|
2608
2608
|
return n[0](s);
|
|
@@ -2611,7 +2611,7 @@ function Yn(n, t, e, i) {
|
|
|
2611
2611
|
function bf(n, t, e, i) {
|
|
2612
2612
|
return n[1] && i ? ft(e.ctx.slice(), n[1](i(t))) : e.ctx;
|
|
2613
2613
|
}
|
|
2614
|
-
function
|
|
2614
|
+
function Zn(n, t, e, i) {
|
|
2615
2615
|
if (n[2] && i) {
|
|
2616
2616
|
const s = n[2](i(e));
|
|
2617
2617
|
if (t.dirty === void 0)
|
|
@@ -2626,13 +2626,13 @@ function Xn(n, t, e, i) {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
return t.dirty;
|
|
2628
2628
|
}
|
|
2629
|
-
function
|
|
2629
|
+
function Jn(n, t, e, i, s, o) {
|
|
2630
2630
|
if (s) {
|
|
2631
2631
|
const r = bf(t, e, i, o);
|
|
2632
2632
|
n.p(r, s);
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
2635
|
-
function
|
|
2635
|
+
function qn(n) {
|
|
2636
2636
|
if (n.ctx.length > 32) {
|
|
2637
2637
|
const t = [], e = n.ctx.length / 32;
|
|
2638
2638
|
for (let i = 0; i < e; i++)
|
|
@@ -2837,14 +2837,14 @@ function Zp() {
|
|
|
2837
2837
|
}), Wo.clear());
|
|
2838
2838
|
});
|
|
2839
2839
|
}
|
|
2840
|
-
let
|
|
2840
|
+
let Hs;
|
|
2841
2841
|
function gi(n) {
|
|
2842
|
-
|
|
2842
|
+
Hs = n;
|
|
2843
2843
|
}
|
|
2844
2844
|
function Si() {
|
|
2845
|
-
if (!
|
|
2845
|
+
if (!Hs)
|
|
2846
2846
|
throw new Error("Function called outside component initialization");
|
|
2847
|
-
return
|
|
2847
|
+
return Hs;
|
|
2848
2848
|
}
|
|
2849
2849
|
function Ef(n) {
|
|
2850
2850
|
Si().$$.before_update.push(n);
|
|
@@ -2877,7 +2877,7 @@ function Wa(n, t) {
|
|
|
2877
2877
|
function Ii(n) {
|
|
2878
2878
|
return Si().$$.context.get(n);
|
|
2879
2879
|
}
|
|
2880
|
-
function
|
|
2880
|
+
function Kn(n, t) {
|
|
2881
2881
|
const e = n.$$.callbacks[t.type];
|
|
2882
2882
|
e && e.slice().forEach((i) => i.call(this, t));
|
|
2883
2883
|
}
|
|
@@ -2902,7 +2902,7 @@ let pn = 0;
|
|
|
2902
2902
|
function Pl() {
|
|
2903
2903
|
if (pn !== 0)
|
|
2904
2904
|
return;
|
|
2905
|
-
const n =
|
|
2905
|
+
const n = Hs;
|
|
2906
2906
|
do {
|
|
2907
2907
|
try {
|
|
2908
2908
|
for (; pn < wn.length; ) {
|
|
@@ -2935,11 +2935,11 @@ function qp(n) {
|
|
|
2935
2935
|
const t = [], e = [];
|
|
2936
2936
|
Dn.forEach((i) => n.indexOf(i) === -1 ? t.push(i) : e.push(i)), e.forEach((i) => i()), Dn = t;
|
|
2937
2937
|
}
|
|
2938
|
-
let
|
|
2938
|
+
let ps;
|
|
2939
2939
|
function Il() {
|
|
2940
|
-
return
|
|
2941
|
-
|
|
2942
|
-
})),
|
|
2940
|
+
return ps || (ps = Promise.resolve(), ps.then(() => {
|
|
2941
|
+
ps = null;
|
|
2942
|
+
})), ps;
|
|
2943
2943
|
}
|
|
2944
2944
|
function _i(n, t, e) {
|
|
2945
2945
|
n.dispatchEvent(If(`${t ? "intro" : "outro"}${e}`));
|
|
@@ -3006,7 +3006,7 @@ function tn(n, t, e) {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
};
|
|
3008
3008
|
}
|
|
3009
|
-
function
|
|
3009
|
+
function $n(n, t, e) {
|
|
3010
3010
|
const i = { direction: "out" };
|
|
3011
3011
|
let s = t(n, e, i), o = !0, r;
|
|
3012
3012
|
const a = Kt;
|
|
@@ -3196,7 +3196,7 @@ function $p(n, t) {
|
|
|
3196
3196
|
n.$$.dirty[0] === -1 && (wn.push(n), xf(), n.$$.dirty.fill(0)), n.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
3197
3197
|
}
|
|
3198
3198
|
function le(n, t, e, i, s, o, r, a = [-1]) {
|
|
3199
|
-
const l =
|
|
3199
|
+
const l = Hs;
|
|
3200
3200
|
gi(n);
|
|
3201
3201
|
const c = n.$$ = {
|
|
3202
3202
|
fragment: null,
|
|
@@ -3763,7 +3763,7 @@ function MA(n, t, e) {
|
|
|
3763
3763
|
function c(v) {
|
|
3764
3764
|
if (!(l === null || v.floorIndex === l))
|
|
3765
3765
|
return !1;
|
|
3766
|
-
const E = new
|
|
3766
|
+
const E = new Wn(), I = s.camera.position.clone(), k = new oe(v.position.x, v.position.y, v.position.z), P = k.distanceTo(I);
|
|
3767
3767
|
E.set(I.clone(), k.clone().sub(I).normalize());
|
|
3768
3768
|
const [j] = s.model.intersectRaycaster(E);
|
|
3769
3769
|
return !(j && j.distance + 1 < P);
|
|
@@ -7344,7 +7344,7 @@ let nn = class {
|
|
|
7344
7344
|
/**
|
|
7345
7345
|
* @realsee/dnalogel 版本号
|
|
7346
7346
|
*/
|
|
7347
|
-
d(this, "VERSION", "3.25.
|
|
7347
|
+
d(this, "VERSION", "3.25.5");
|
|
7348
7348
|
d(this, "five");
|
|
7349
7349
|
/**
|
|
7350
7350
|
* @description: 插件事件钩子
|
|
@@ -9434,7 +9434,7 @@ function _f(n, t) {
|
|
|
9434
9434
|
var i;
|
|
9435
9435
|
if (e.type === "Mesh") {
|
|
9436
9436
|
const s = e, o = D({ map: s.material.map || {} }, t);
|
|
9437
|
-
s.material = new
|
|
9437
|
+
s.material = new Bs(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
|
|
9438
9438
|
}
|
|
9439
9439
|
});
|
|
9440
9440
|
}
|
|
@@ -9510,7 +9510,7 @@ const W0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9510
9510
|
if (!V)
|
|
9511
9511
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${V}`));
|
|
9512
9512
|
const W = (J = t.name) != null ? J : "入户门";
|
|
9513
|
-
return V.material = new
|
|
9513
|
+
return V.material = new Bs({ transparent: !0, map: _0(W) }), V.renderOrder = 3, j.children[0].add(V), e.object = j, !0;
|
|
9514
9514
|
}), c = () => {
|
|
9515
9515
|
if (e.animation)
|
|
9516
9516
|
return;
|
|
@@ -9552,7 +9552,7 @@ const W0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9552
9552
|
function Y0(n, t, e, i = U0.Linear.None) {
|
|
9553
9553
|
const s = new hr(n).to(t, e).easing(i);
|
|
9554
9554
|
dr(() => s.start(0));
|
|
9555
|
-
const o =
|
|
9555
|
+
const o = Yn((a) => {
|
|
9556
9556
|
s.update(a) === !1 && o();
|
|
9557
9557
|
}), r = [];
|
|
9558
9558
|
return s.onDestroy = (a) => (r.push(a), s), s.destroy = function() {
|
|
@@ -9779,7 +9779,7 @@ const K0 = `<style type="text/css">
|
|
|
9779
9779
|
}
|
|
9780
9780
|
</style>
|
|
9781
9781
|
`, $0 = (n, t) => Math.sqrt(Math.pow(n.z - t.z, 2) + Math.pow(n.x - t.x, 2)), eb = (n, t) => {
|
|
9782
|
-
const e = {}, i = new
|
|
9782
|
+
const e = {}, i = new Wn(), s = t.work;
|
|
9783
9783
|
if (!s)
|
|
9784
9784
|
return e;
|
|
9785
9785
|
const o = n.observers;
|
|
@@ -10746,7 +10746,7 @@ class gb extends pi {
|
|
|
10746
10746
|
return fr(this.five).create3DDomContainer(e);
|
|
10747
10747
|
}
|
|
10748
10748
|
}
|
|
10749
|
-
const rx = (n, t) => new gb(n, t), mb = 1, pb = 3, Ab = new
|
|
10749
|
+
const rx = (n, t) => new gb(n, t), mb = 1, pb = 3, Ab = new Un(16777215), vb = new Un(6522623), bb = new Un(16777215), yb = new Un(6522623), wb = 6, Cb = 8, Pb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", Zf = new Zu().load(Pb), Ib = {
|
|
10750
10750
|
pointTexture: Zf,
|
|
10751
10751
|
pointSize: wb,
|
|
10752
10752
|
lineWidth: mb,
|
|
@@ -10765,7 +10765,7 @@ const rx = (n, t) => new gb(n, t), mb = 1, pb = 3, Ab = new Wn(16777215), vb = n
|
|
|
10765
10765
|
};
|
|
10766
10766
|
function Mb(n, t, e) {
|
|
10767
10767
|
var h, u, f, g, A;
|
|
10768
|
-
const i = (h = e == null ? void 0 : e.lineWidth) != null ? h : 2, s = (u = e == null ? void 0 : e.lineColor) != null ? u : new
|
|
10768
|
+
const i = (h = e == null ? void 0 : e.lineWidth) != null ? h : 2, s = (u = e == null ? void 0 : e.lineColor) != null ? u : new Un(16777215), o = (f = e == null ? void 0 : e.pointSize) != null ? f : 5, r = (g = e == null ? void 0 : e.lineRenderOrder) != null ? g : 10, a = (A = e == null ? void 0 : e.lineRenderOrder) != null ? A : 20, l = new Af(n, t);
|
|
10769
10769
|
l.setMaterial({ linewidth: i, color: s }), l.line.material.depthTest = !1, l.line.material.transparent = !0, l.line.renderOrder = r, l.points.renderOrder = a;
|
|
10770
10770
|
const c = l.points.material;
|
|
10771
10771
|
return c.depthTest = !1, c.size = o, e != null && e.pointColor && c.color.set(e.pointColor).convertSRGBToLinear(), e != null && e.pointTexture && (c.map = e.pointTexture), l;
|
|
@@ -11010,7 +11010,7 @@ let Ar = class {
|
|
|
11010
11010
|
});
|
|
11011
11011
|
});
|
|
11012
11012
|
var i, s;
|
|
11013
|
-
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.magnifierParams = t.magnifierParams, this.editParams = t.editParams, this.magnifier = t.magnifier, this.container = t.container, this.isMobile = (s = (i = t.openParams) == null ? void 0 : i.isMobile) != null ? s : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new ki(new zt([0, 0, 0]), new zt([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new ki(new zt([0, 0, 0]), new zt([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new
|
|
11013
|
+
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.magnifierParams = t.magnifierParams, this.editParams = t.editParams, this.magnifier = t.magnifier, this.container = t.container, this.isMobile = (s = (i = t.openParams) == null ? void 0 : i.isMobile) != null ? s : !1, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new ki(new zt([0, 0, 0]), new zt([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new ki(new zt([0, 0, 0]), new zt([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Un(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
|
|
11014
11014
|
const e = this.five.getElement();
|
|
11015
11015
|
e && (e.addEventListener("touchstart", Eo), e.addEventListener("contextmenu", Eo));
|
|
11016
11016
|
}
|
|
@@ -11396,7 +11396,7 @@ function ch(n, t) {
|
|
|
11396
11396
|
const e = Array.isArray(t) ? t : [t];
|
|
11397
11397
|
for (let i = 0; i < e.length; i++) {
|
|
11398
11398
|
const s = e[i], o = n.start, r = n.end, a = s.start, l = s.end;
|
|
11399
|
-
if (
|
|
11399
|
+
if (As(o, a) || As(o, l) || As(r, a) || As(r, l) || As(o, r))
|
|
11400
11400
|
continue;
|
|
11401
11401
|
const c = Mo(o, r, a), h = Mo(o, r, l), u = Mo(a, l, o), f = Mo(a, l, r);
|
|
11402
11402
|
if (c !== h && u !== f || c === 0 && ko(o, r, a) || h === 0 && ko(o, r, l) || u === 0 && ko(a, l, o) || f === 0 && ko(a, l, r))
|
|
@@ -11404,7 +11404,7 @@ function ch(n, t) {
|
|
|
11404
11404
|
}
|
|
11405
11405
|
return !1;
|
|
11406
11406
|
}
|
|
11407
|
-
function
|
|
11407
|
+
function As(n, t) {
|
|
11408
11408
|
return n.x === t.x && n.z === t.z && n.y === t.y;
|
|
11409
11409
|
}
|
|
11410
11410
|
function Mo(n, t, e) {
|
|
@@ -12060,7 +12060,7 @@ class mh extends Ar {
|
|
|
12060
12060
|
d(this, "onPan", (e) => {
|
|
12061
12061
|
if (!this.editPointState || !this.fiveElement)
|
|
12062
12062
|
return;
|
|
12063
|
-
const i = fh(e).ndcPoint, s = new
|
|
12063
|
+
const i = fh(e).ndcPoint, s = new Wn();
|
|
12064
12064
|
s.setFromCamera(i, this.five.camera);
|
|
12065
12065
|
const [o] = this.five.model.intersectRaycaster(s);
|
|
12066
12066
|
o && this.onIntersectionUpdate(o);
|
|
@@ -12309,23 +12309,23 @@ function og(n) {
|
|
|
12309
12309
|
e && n.ballColor >= 0 && (i = n.ballColor);
|
|
12310
12310
|
const s = new kn(), o = new Em(0.3, 0.3), r = t ? Ub : Yb, a = new Zu().load(r);
|
|
12311
12311
|
a.encoding = Mm, a.minFilter = Ha;
|
|
12312
|
-
const l = new
|
|
12312
|
+
const l = new Bs({
|
|
12313
12313
|
map: a,
|
|
12314
12314
|
transparent: !0,
|
|
12315
12315
|
depthTest: !1
|
|
12316
|
-
}), c = new
|
|
12316
|
+
}), c = new ks(o, l), h = new km();
|
|
12317
12317
|
h.add(new xm(new oe(0, 0, 0), new oe(0, 0, 0.1)));
|
|
12318
12318
|
const u = new Dm(h, 8, 3e-3), f = new Ju({
|
|
12319
12319
|
vertexShader: Xb,
|
|
12320
12320
|
fragmentShader: Zb,
|
|
12321
12321
|
depthTest: !1,
|
|
12322
12322
|
transparent: !0
|
|
12323
|
-
}), g = new
|
|
12323
|
+
}), g = new ks(u, f), A = new Sm(0.01, 20, 20), p = new Bs({
|
|
12324
12324
|
color: i,
|
|
12325
12325
|
depthTest: !1,
|
|
12326
12326
|
transparent: !0,
|
|
12327
12327
|
side: qu
|
|
12328
|
-
}), m = new
|
|
12328
|
+
}), m = new ks(A, p);
|
|
12329
12329
|
return m.position.set(0, 0, 0.1), s.name = "mouse-current", s.add(c), e && s.add(g, m), s;
|
|
12330
12330
|
}
|
|
12331
12331
|
class Jb {
|
|
@@ -12340,7 +12340,7 @@ class Jb {
|
|
|
12340
12340
|
d(this, "content");
|
|
12341
12341
|
d(this, "intersectMesh");
|
|
12342
12342
|
d(this, "centerMouseXY");
|
|
12343
|
-
d(this, "raycaster", new
|
|
12343
|
+
d(this, "raycaster", new Wn());
|
|
12344
12344
|
d(this, "pieceStyl", {
|
|
12345
12345
|
matrix3d: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
|
|
12346
12346
|
scale: 1,
|
|
@@ -12376,9 +12376,9 @@ class Jb {
|
|
|
12376
12376
|
const t = this.five.model.intersectRaycaster(this.raycaster)[0];
|
|
12377
12377
|
return t || null;
|
|
12378
12378
|
});
|
|
12379
|
-
this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = og(D({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = jp, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new
|
|
12379
|
+
this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = og(D({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = jp, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new ks(
|
|
12380
12380
|
new Tm(0.04, 0.08, 32),
|
|
12381
|
-
new
|
|
12381
|
+
new Bs({ color: 1245179, opacity: 0, side: qu, transparent: !0 })
|
|
12382
12382
|
), this.container.addEventListener("animationend", this.computedCenterMouseXY), this.five.on("cameraUpdate", this.onCameraDirectionUpdate), this.hook.on("willChangeState", this.onWillChangeState);
|
|
12383
12383
|
}
|
|
12384
12384
|
dispose() {
|
|
@@ -12414,7 +12414,7 @@ class Jb {
|
|
|
12414
12414
|
}).onComplete(() => {
|
|
12415
12415
|
s();
|
|
12416
12416
|
});
|
|
12417
|
-
s =
|
|
12417
|
+
s = Yn((r) => {
|
|
12418
12418
|
o.update(r);
|
|
12419
12419
|
});
|
|
12420
12420
|
}
|
|
@@ -12438,7 +12438,7 @@ class Jb {
|
|
|
12438
12438
|
return this.mouseGroup;
|
|
12439
12439
|
}
|
|
12440
12440
|
}
|
|
12441
|
-
class
|
|
12441
|
+
class vs extends Ar {
|
|
12442
12442
|
constructor(e) {
|
|
12443
12443
|
super(e);
|
|
12444
12444
|
d(this, "state", "watching");
|
|
@@ -14426,7 +14426,7 @@ class F1 {
|
|
|
14426
14426
|
return this.measureController.getCurrentMode() === "Watch" ? this.measureController.disable() : this.measureController.save().changeMode("Watch");
|
|
14427
14427
|
}
|
|
14428
14428
|
}
|
|
14429
|
-
function
|
|
14429
|
+
function Ns(n) {
|
|
14430
14430
|
return typeof n == "object" ? n === null ? {} : n : {};
|
|
14431
14431
|
}
|
|
14432
14432
|
class _1 {
|
|
@@ -14457,7 +14457,7 @@ class _1 {
|
|
|
14457
14457
|
var t, e, i, s;
|
|
14458
14458
|
this.hasOpen = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (s = this.shortcutKeyController) == null || s.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
14459
14459
|
});
|
|
14460
|
-
d(this, "getCurrentMode", () => this.controller instanceof Pi ? "Edit" : this.controller instanceof mh ? "Watch" : this.controller instanceof
|
|
14460
|
+
d(this, "getCurrentMode", () => this.controller instanceof Pi ? "Edit" : this.controller instanceof mh ? "Watch" : this.controller instanceof vs ? "Mixed" : this.controller instanceof uh ? "View" : null);
|
|
14461
14461
|
/** 变更场景
|
|
14462
14462
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
14463
14463
|
*/
|
|
@@ -14470,7 +14470,7 @@ class _1 {
|
|
|
14470
14470
|
View: uh,
|
|
14471
14471
|
Watch: mh,
|
|
14472
14472
|
Edit: Pi,
|
|
14473
|
-
Mixed:
|
|
14473
|
+
Mixed: vs
|
|
14474
14474
|
};
|
|
14475
14475
|
if (!e[t])
|
|
14476
14476
|
throw new Error("不存在的 Mode");
|
|
@@ -14493,7 +14493,7 @@ class _1 {
|
|
|
14493
14493
|
i18n: e.i18n,
|
|
14494
14494
|
pointSelectorMode: i,
|
|
14495
14495
|
useNewUI: this.allowMeasureType.length > 1
|
|
14496
|
-
},
|
|
14496
|
+
}, Ns(this.params.useUIController));
|
|
14497
14497
|
this.useUIController = new z1(this, A);
|
|
14498
14498
|
}
|
|
14499
14499
|
if (this.params.useGuideController !== !1) {
|
|
@@ -14501,7 +14501,7 @@ class _1 {
|
|
|
14501
14501
|
container: this.container,
|
|
14502
14502
|
pointSelectorMode: i,
|
|
14503
14503
|
i18n: e.i18n
|
|
14504
|
-
},
|
|
14504
|
+
}, Ns(this.params.useGuideController));
|
|
14505
14505
|
this.useGuideController = new G1(this, A);
|
|
14506
14506
|
}
|
|
14507
14507
|
}
|
|
@@ -14572,7 +14572,7 @@ class _1 {
|
|
|
14572
14572
|
*/
|
|
14573
14573
|
save(t) {
|
|
14574
14574
|
var s;
|
|
14575
|
-
if (!(this.controller instanceof Pi) && !(this.controller instanceof
|
|
14575
|
+
if (!(this.controller instanceof Pi) && !(this.controller instanceof vs))
|
|
14576
14576
|
return this;
|
|
14577
14577
|
const e = (s = t == null ? void 0 : t.mode) != null ? s : "View", i = this.controller.model.areas;
|
|
14578
14578
|
return this.controller instanceof Pi ? this.controller.complete() : i.forEach((o) => {
|
|
@@ -14581,11 +14581,11 @@ class _1 {
|
|
|
14581
14581
|
}
|
|
14582
14582
|
/** Mixed 模式才有用,添加起点 */
|
|
14583
14583
|
addStartPoint() {
|
|
14584
|
-
this.controller instanceof
|
|
14584
|
+
this.controller instanceof vs && this.hook.emit("willChangeState", "watching", "editing");
|
|
14585
14585
|
}
|
|
14586
14586
|
/** Mixed 模式才有用,添加终点 */
|
|
14587
14587
|
addEndPoint() {
|
|
14588
|
-
this.controller instanceof
|
|
14588
|
+
this.controller instanceof vs && this.hook.emit("willChangeState", "editing", "watching");
|
|
14589
14589
|
}
|
|
14590
14590
|
/** 导出数据 */
|
|
14591
14591
|
toJson() {
|
|
@@ -15222,12 +15222,12 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15222
15222
|
Ye.distance + Nh
|
|
15223
15223
|
), [Ct] = p.intersectObjects ? ot.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(ot) : ot.intersectObjects(n.model.children, !0);
|
|
15224
15224
|
if (Ct && Ye.distance - Ct.distance < Nh) {
|
|
15225
|
-
const { position: Ve, normal: He, id: Je, replacement: Rt } = Ye,
|
|
15225
|
+
const { position: Ve, normal: He, id: Je, replacement: Rt } = Ye, ts = new w.Plane().setFromNormalAndCoplanarPoint(He, Ve), Xt = Ve.clone().sub(me.position).cross(new w.Vector3(0, 1, 0)).setLength(Aa), Ai = [
|
|
15226
15226
|
Ve.clone(),
|
|
15227
15227
|
Ve.clone().add(Xt),
|
|
15228
15228
|
Ve.clone().add(new w.Vector3(0, Aa, 0)).add(Xt),
|
|
15229
15229
|
Ve.clone().add(new w.Vector3(0, Aa, 0))
|
|
15230
|
-
].map((rn) =>
|
|
15230
|
+
].map((rn) => ts.projectPoint(rn, new w.Vector3())), { container: zi, dispose: kt } = u.create3DDomContainer(Ai) || {}, on = new K1({
|
|
15231
15231
|
target: zi,
|
|
15232
15232
|
props: {
|
|
15233
15233
|
id: Je,
|
|
@@ -15755,7 +15755,7 @@ const mx = (n, t) => {
|
|
|
15755
15755
|
name: "ModelItemLabelPlugin",
|
|
15756
15756
|
version: 0
|
|
15757
15757
|
};
|
|
15758
|
-
var
|
|
15758
|
+
var Es = /* @__PURE__ */ ((n) => (n.TOP_LEFT = "topLeft", n.TOP_RIGHT = "topRight", n.BOTTOM_LEFT = "bottomLeft", n.BOTTOM_RIGHT = "bottomRight", n))(Es || {});
|
|
15759
15759
|
function py(n) {
|
|
15760
15760
|
if (n.length === 0)
|
|
15761
15761
|
return [];
|
|
@@ -15764,10 +15764,10 @@ function py(n) {
|
|
|
15764
15764
|
let t = [];
|
|
15765
15765
|
return n.forEach((e) => {
|
|
15766
15766
|
const i = [
|
|
15767
|
-
e[
|
|
15768
|
-
e[
|
|
15769
|
-
e[
|
|
15770
|
-
e[
|
|
15767
|
+
e[Es.TOP_LEFT],
|
|
15768
|
+
e[Es.BOTTOM_LEFT],
|
|
15769
|
+
e[Es.BOTTOM_RIGHT],
|
|
15770
|
+
e[Es.TOP_RIGHT]
|
|
15771
15771
|
];
|
|
15772
15772
|
t.push(i);
|
|
15773
15773
|
}), t;
|
|
@@ -16748,7 +16748,7 @@ class Wy extends Oy {
|
|
|
16748
16748
|
const h = l.position.clone(), u = h.distanceTo(o);
|
|
16749
16749
|
if (u < this.MinVisibledistance || u > this.MaxVisibledistance)
|
|
16750
16750
|
return;
|
|
16751
|
-
const f = new
|
|
16751
|
+
const f = new Wn(), g = h.clone().sub(o).normalize();
|
|
16752
16752
|
f.set(o, g);
|
|
16753
16753
|
const [A] = this.five.model.intersectRaycaster(f);
|
|
16754
16754
|
A && A.distance + 0.1 < u || a.push(c);
|
|
@@ -16931,7 +16931,7 @@ yr.normal = function(t, e) {
|
|
|
16931
16931
|
yr.direction = function(t, e, i) {
|
|
16932
16932
|
return sw(t, e, i), mg(t, t), t;
|
|
16933
16933
|
};
|
|
16934
|
-
var hi = yr, Qi = [0, 0], Do = [0, 0], qh = [0, 0],
|
|
16934
|
+
var hi = yr, Qi = [0, 0], Do = [0, 0], qh = [0, 0], bs = [0, 0], rw = function(n, t) {
|
|
16935
16935
|
var e = null, i = [];
|
|
16936
16936
|
t && (n = n.slice(), n.push(n[0]));
|
|
16937
16937
|
for (var s = n.length, o = 1; o < s; o++) {
|
|
@@ -16940,15 +16940,15 @@ var hi = yr, Qi = [0, 0], Do = [0, 0], qh = [0, 0], vs = [0, 0], rw = function(n
|
|
|
16940
16940
|
hi.normal(e, Qi), va(i, e, 1);
|
|
16941
16941
|
else {
|
|
16942
16942
|
hi.direction(Do, l, a);
|
|
16943
|
-
var c = hi.computeMiter(qh,
|
|
16944
|
-
va(i,
|
|
16943
|
+
var c = hi.computeMiter(qh, bs, Qi, Do, 1);
|
|
16944
|
+
va(i, bs, c);
|
|
16945
16945
|
}
|
|
16946
16946
|
}
|
|
16947
16947
|
if (n.length > 2 && t) {
|
|
16948
16948
|
var h = n[s - 2], u = n[0], f = n[1];
|
|
16949
16949
|
hi.direction(Qi, u, h), hi.direction(Do, f, u), hi.normal(e, Qi);
|
|
16950
|
-
var g = hi.computeMiter(qh,
|
|
16951
|
-
i[0][0] =
|
|
16950
|
+
var g = hi.computeMiter(qh, bs, Qi, Do, 1);
|
|
16951
|
+
i[0][0] = bs.slice(), i[s - 1][0] = bs.slice(), i[0][1] = g, i[s - 1][1] = g, i.pop();
|
|
16952
16952
|
}
|
|
16953
16953
|
return i;
|
|
16954
16954
|
};
|
|
@@ -17051,18 +17051,18 @@ function yw(n) {
|
|
|
17051
17051
|
function pg(n) {
|
|
17052
17052
|
const t = (() => {
|
|
17053
17053
|
if ($t(n) && n.matrix) {
|
|
17054
|
-
const e = new
|
|
17054
|
+
const e = new Ps().fromArray(n.matrix);
|
|
17055
17055
|
return n.data.mediaPosition.map((i) => Be(i).clone().applyMatrix4(e));
|
|
17056
17056
|
} else
|
|
17057
17057
|
return n.position;
|
|
17058
17058
|
})();
|
|
17059
17059
|
return sp(t);
|
|
17060
17060
|
}
|
|
17061
|
-
function
|
|
17061
|
+
function Ss(n) {
|
|
17062
17062
|
const t = pg(n);
|
|
17063
17063
|
return Di(...Array.isArray(t) ? t : [t]);
|
|
17064
17064
|
}
|
|
17065
|
-
function
|
|
17065
|
+
function ys(n, t) {
|
|
17066
17066
|
if (n === void 0)
|
|
17067
17067
|
return;
|
|
17068
17068
|
const { min: e, max: i } = t != null ? t : {};
|
|
@@ -17126,15 +17126,15 @@ function Iw(n) {
|
|
|
17126
17126
|
}
|
|
17127
17127
|
return n;
|
|
17128
17128
|
}
|
|
17129
|
-
const Nn = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=",
|
|
17129
|
+
const Nn = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", Ts = {};
|
|
17130
17130
|
var Vl = /* @__PURE__ */ ((n) => (n.Default = "default", n.GetAudioDuration = "getAudioDuration", n.PlayAudio = "playAudio", n))(Vl || {});
|
|
17131
17131
|
function Ew(n, t) {
|
|
17132
|
-
const e = (t == null ? void 0 : t.namespace) || "default", i =
|
|
17132
|
+
const e = (t == null ? void 0 : t.namespace) || "default", i = Ts[e] || (Ts[e] = []);
|
|
17133
17133
|
let s = i.find((o) => !o.realSrc || o.realSrc === Nn);
|
|
17134
|
-
return s || (console.warn("未找到缓存音频,已新建",
|
|
17134
|
+
return s || (console.warn("未找到缓存音频,已新建", Ts), s = new Ag(Nn), i.push(s)), n && (s.src = n), s;
|
|
17135
17135
|
}
|
|
17136
17136
|
function Mw(n, t) {
|
|
17137
|
-
const e = (t == null ? void 0 : t.namespace) || "default", i =
|
|
17137
|
+
const e = (t == null ? void 0 : t.namespace) || "default", i = Ts[e] || (Ts[e] = []), s = n - i.length;
|
|
17138
17138
|
if (!(s <= 0))
|
|
17139
17139
|
for (let o = 0; o < s; o++)
|
|
17140
17140
|
i.push(new Ag(Nn));
|
|
@@ -17413,7 +17413,7 @@ function Rw(n, t) {
|
|
|
17413
17413
|
}
|
|
17414
17414
|
return s;
|
|
17415
17415
|
}
|
|
17416
|
-
function
|
|
17416
|
+
function Ms(n, t, e) {
|
|
17417
17417
|
if (n === "fill")
|
|
17418
17418
|
return t;
|
|
17419
17419
|
if (n === "contain") {
|
|
@@ -17503,7 +17503,7 @@ class $h extends bg {
|
|
|
17503
17503
|
}
|
|
17504
17504
|
Xf(e).then(({ texture: l, transparent: c }) => {
|
|
17505
17505
|
var p;
|
|
17506
|
-
const h = new w.MeshBasicMaterial({ map: l, transparent: c }), u =
|
|
17506
|
+
const h = new w.MeshBasicMaterial({ map: l, transparent: c }), u = Ms(
|
|
17507
17507
|
(p = s == null ? void 0 : s.objectFit) != null ? p : "contain",
|
|
17508
17508
|
r,
|
|
17509
17509
|
l.image.width / l.image.height
|
|
@@ -17589,7 +17589,7 @@ class yg extends bg {
|
|
|
17589
17589
|
return this.coverMesh;
|
|
17590
17590
|
if (!this.videoCoverSrc)
|
|
17591
17591
|
return;
|
|
17592
|
-
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i }), r =
|
|
17592
|
+
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i }), r = Ms(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new ya(r, o);
|
|
17593
17593
|
return a.position.copy(new oe(0, 0, 0)), a.name = "videoCoverMesh", a;
|
|
17594
17594
|
}))();
|
|
17595
17595
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
@@ -17605,9 +17605,9 @@ class yg extends bg {
|
|
|
17605
17605
|
if (!this.src)
|
|
17606
17606
|
return;
|
|
17607
17607
|
const s = this.getVideoTexture(this.src), o = new w.MeshBasicMaterial({ transparent: !1, map: s }), r = yield new Promise((l) => {
|
|
17608
|
-
s.metadataLoaded ? l(
|
|
17608
|
+
s.metadataLoaded ? l(Ms(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
|
|
17609
17609
|
"videoLoaded",
|
|
17610
|
-
() => l(
|
|
17610
|
+
() => l(Ms(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
|
|
17611
17611
|
);
|
|
17612
17612
|
}), a = new ya(r, o);
|
|
17613
17613
|
return a.name = "videoMesh", a.position.copy(new oe(0, 0, 0)), a;
|
|
@@ -17638,7 +17638,7 @@ class yg extends bg {
|
|
|
17638
17638
|
var g, A, p, m;
|
|
17639
17639
|
if (this.buttonMesh)
|
|
17640
17640
|
return this.buttonMesh;
|
|
17641
|
-
const i = (A = (g = this.videoMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? A : 1 / 0, s = (m = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? m : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h =
|
|
17641
|
+
const i = (A = (g = this.videoMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? A : 1 / 0, s = (m = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? m : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = Ms("contain", this.cornerPoints, l.image.width / l.image.height), u = new ya(h, new Vw(l));
|
|
17642
17642
|
u.position.copy(new oe(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
|
|
17643
17643
|
u,
|
|
17644
17644
|
"click",
|
|
@@ -17867,7 +17867,7 @@ function id(n) {
|
|
|
17867
17867
|
const t = n.split("?")[0].split(".").pop();
|
|
17868
17868
|
return t ? t.toLowerCase() : "";
|
|
17869
17869
|
}
|
|
17870
|
-
const
|
|
17870
|
+
const Qs = (n, t) => {
|
|
17871
17871
|
if (!t)
|
|
17872
17872
|
return n;
|
|
17873
17873
|
const e = new w.Vector3(), i = new w.Quaternion(), s = new w.Vector3();
|
|
@@ -17919,7 +17919,7 @@ class Nl extends wg {
|
|
|
17919
17919
|
var s;
|
|
17920
17920
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.position;
|
|
17921
17921
|
if (i)
|
|
17922
|
-
return
|
|
17922
|
+
return Qs(i, this.transform);
|
|
17923
17923
|
}
|
|
17924
17924
|
/**
|
|
17925
17925
|
* @description: 获取全景点位和模型的地面坐标
|
|
@@ -17928,7 +17928,7 @@ class Nl extends wg {
|
|
|
17928
17928
|
var s;
|
|
17929
17929
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.standingPosition;
|
|
17930
17930
|
if (i)
|
|
17931
|
-
return
|
|
17931
|
+
return Qs(i, this.transform);
|
|
17932
17932
|
}
|
|
17933
17933
|
/**
|
|
17934
17934
|
* @description: 获取observer
|
|
@@ -18077,7 +18077,7 @@ class Nw extends jw {
|
|
|
18077
18077
|
const a = (() => e.stickType === "3DPoint" ? Be(e.normal) : ba(e.position))();
|
|
18078
18078
|
if (!a)
|
|
18079
18079
|
return;
|
|
18080
|
-
const l =
|
|
18080
|
+
const l = Ss(e);
|
|
18081
18081
|
if (!l)
|
|
18082
18082
|
return;
|
|
18083
18083
|
const c = new w.Vector3().copy(r).sub(l), h = a.angleTo(c) * 180 / Math.PI;
|
|
@@ -18091,7 +18091,7 @@ class Nw extends jw {
|
|
|
18091
18091
|
const s = D(D({}, this.five.getCurrentState()), i), { panoIndex: o, mode: r } = s, a = Nt(r) ? this.getPanoIndexCache({ panoIndex: o, id: e.id }) : void 0;
|
|
18092
18092
|
if ((a == null ? void 0 : a.distance) !== void 0)
|
|
18093
18093
|
return a.distance;
|
|
18094
|
-
const l =
|
|
18094
|
+
const l = Ss(e);
|
|
18095
18095
|
if (!l)
|
|
18096
18096
|
return -1;
|
|
18097
18097
|
if (Nt(r)) {
|
|
@@ -18170,7 +18170,7 @@ class Nw extends jw {
|
|
|
18170
18170
|
if (!e)
|
|
18171
18171
|
return;
|
|
18172
18172
|
const i = this.workUtil.transform;
|
|
18173
|
-
return Array.isArray(e) && e.length === 4 ? e.map(Be).map((s) =>
|
|
18173
|
+
return Array.isArray(e) && e.length === 4 ? e.map(Be).map((s) => Qs(s, i)) : Qs(Be(e), i);
|
|
18174
18174
|
}
|
|
18175
18175
|
/**
|
|
18176
18176
|
* @description 检查是否已经销毁
|
|
@@ -18237,7 +18237,7 @@ function Qw(n, t) {
|
|
|
18237
18237
|
e.forEach((o) => {
|
|
18238
18238
|
var a, l, c;
|
|
18239
18239
|
const r = (l = (a = o.floorIndex) != null ? a : o.floor_index) != null ? l : 0;
|
|
18240
|
-
i[r] || (i[r] = []), i[r].push(
|
|
18240
|
+
i[r] || (i[r] = []), i[r].push(Qs(o.position, (c = n.options) == null ? void 0 : c.transform).y);
|
|
18241
18241
|
});
|
|
18242
18242
|
const s = i.map((o) => o.reduce((r, a) => r + a, 0) / o.length);
|
|
18243
18243
|
for (let o = s.length - 1; o > 0; o--)
|
|
@@ -18309,7 +18309,7 @@ class Gw extends Nw {
|
|
|
18309
18309
|
}
|
|
18310
18310
|
if (c.visibleDistance !== void 0 && (a.push("visibleDistance"), c.visibleDistance !== "unLimited")) {
|
|
18311
18311
|
const v = this.getDistance(t, i);
|
|
18312
|
-
if (
|
|
18312
|
+
if (ys(v, c.visibleDistance) === !1)
|
|
18313
18313
|
return {
|
|
18314
18314
|
value: !1,
|
|
18315
18315
|
checkedList: a,
|
|
@@ -18321,7 +18321,7 @@ class Gw extends Nw {
|
|
|
18321
18321
|
if (Nt(o) && c.angleRange && Aw(t)) {
|
|
18322
18322
|
a.push("angleRange");
|
|
18323
18323
|
const v = this.getAngle(t, s);
|
|
18324
|
-
if (
|
|
18324
|
+
if (ys(v, c.angleRange) === !1)
|
|
18325
18325
|
return { value: !1, checkedList: a, reason: `angle is not in angleRange. angle: ${v}, angleRange: ${c.angleRange}` };
|
|
18326
18326
|
}
|
|
18327
18327
|
if (c.intersectRaycaster !== !1 && (typeof c.intersectRaycaster != "object" || c.intersectRaycaster.enabled !== !1)) {
|
|
@@ -18364,7 +18364,7 @@ class Gw extends Nw {
|
|
|
18364
18364
|
return !1;
|
|
18365
18365
|
if (o.keep === "unfolded")
|
|
18366
18366
|
return !0;
|
|
18367
|
-
if (o.unfoldDistance &&
|
|
18367
|
+
if (o.unfoldDistance && ys(this.getDistance(t, { panoIndex: e }), o.unfoldDistance) === !1)
|
|
18368
18368
|
return !1;
|
|
18369
18369
|
})();
|
|
18370
18370
|
s.unfolded = r;
|
|
@@ -18390,7 +18390,7 @@ class Gw extends Nw {
|
|
|
18390
18390
|
return;
|
|
18391
18391
|
if (s.autoUnfold.strategy === "ScreenPostion") {
|
|
18392
18392
|
const r = this.getTagProject(t);
|
|
18393
|
-
if (r &&
|
|
18393
|
+
if (r && ys(r.x, s.autoUnfold.autoUnfoldProjectX) === !1)
|
|
18394
18394
|
return !1;
|
|
18395
18395
|
}
|
|
18396
18396
|
if (s.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -18405,7 +18405,7 @@ class Gw extends Nw {
|
|
|
18405
18405
|
return !(typeof u == "function" || u.keep || u.autoUnfold === !1 || ((f = u.autoUnfold) == null ? void 0 : f.enable) === !1 || ((g = u.autoUnfold) == null ? void 0 : g.strategy) !== "MinimumDistance");
|
|
18406
18406
|
}).map((h) => se(D({}, h), { distance: this.getDistance(h.tag) })).filter(({ distance: h, tagConfig: u }) => {
|
|
18407
18407
|
const f = u.autoUnfold.distance;
|
|
18408
|
-
return !(f &&
|
|
18408
|
+
return !(f && ys(h, f) === !1);
|
|
18409
18409
|
}).sort((h, u) => h.distance - u.distance).findIndex((h) => h.id === t.id);
|
|
18410
18410
|
if (l === -1 || l <= ((o = s.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
|
|
18411
18411
|
return !1;
|
|
@@ -18442,7 +18442,7 @@ class Gw extends Nw {
|
|
|
18442
18442
|
* @description 一个点的标签
|
|
18443
18443
|
*/
|
|
18444
18444
|
getTagProject(t) {
|
|
18445
|
-
const e =
|
|
18445
|
+
const e = Ss(t);
|
|
18446
18446
|
if (!e)
|
|
18447
18447
|
return;
|
|
18448
18448
|
const { x: i, y: s, z: o } = e.project(this.five.camera);
|
|
@@ -18452,14 +18452,14 @@ class Gw extends Nw {
|
|
|
18452
18452
|
/** 通过射线检测标签可用性 */
|
|
18453
18453
|
getTagEnableByIntersect(t, e) {
|
|
18454
18454
|
var c, h, u, f, g;
|
|
18455
|
-
const i =
|
|
18455
|
+
const i = Ns(Ns((c = this.getTagConfig(t).visibleConfig) != null ? c : {}).intersectRaycaster), s = e != null ? e : this.five.getCurrentState().panoIndex, o = Nt(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(s) : this.five.camera.position;
|
|
18456
18456
|
if (o === void 0)
|
|
18457
18457
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: s } };
|
|
18458
18458
|
const r = ul(
|
|
18459
18459
|
(() => {
|
|
18460
18460
|
var p;
|
|
18461
18461
|
const A = (p = i.checkPoints) != null ? p : "center";
|
|
18462
|
-
return A === "center" ?
|
|
18462
|
+
return A === "center" ? Ss(t) : A === "corner" ? pg(t) : Array.isArray(A) ? A : [];
|
|
18463
18463
|
})()
|
|
18464
18464
|
);
|
|
18465
18465
|
let a = 0, l = 0;
|
|
@@ -18494,7 +18494,7 @@ class Gw extends Nw {
|
|
|
18494
18494
|
var o, r, a, l, c, h, u;
|
|
18495
18495
|
let e = 0;
|
|
18496
18496
|
const i = (o = t.fiveState) == null ? void 0 : o.panoIndex;
|
|
18497
|
-
i !== void 0 ? e = (r = this.workUtil.getObserver(i)) == null ? void 0 : r.floorIndex : e = Qw(this.workUtil.work, (u = (h = (l = (a = t.model) == null ? void 0 : a.object) == null ? void 0 : l.position) != null ? h : (c = t.mediaPlane) == null ? void 0 : c.position) != null ? u :
|
|
18497
|
+
i !== void 0 ? e = (r = this.workUtil.getObserver(i)) == null ? void 0 : r.floorIndex : e = Qw(this.workUtil.work, (u = (h = (l = (a = t.model) == null ? void 0 : a.object) == null ? void 0 : l.position) != null ? h : (c = t.mediaPlane) == null ? void 0 : c.position) != null ? u : Ss(t));
|
|
18498
18498
|
const s = this.five.model.shownFloor;
|
|
18499
18499
|
return s === null || s === e;
|
|
18500
18500
|
}
|
|
@@ -18655,7 +18655,7 @@ function sd(n) {
|
|
|
18655
18655
|
}), o = !0);
|
|
18656
18656
|
},
|
|
18657
18657
|
o(r) {
|
|
18658
|
-
i && i.invalidate(), r && (s =
|
|
18658
|
+
i && i.invalidate(), r && (s = $n(t, Ko, {
|
|
18659
18659
|
duration: (
|
|
18660
18660
|
/*duration*/
|
|
18661
18661
|
n[2]
|
|
@@ -18846,7 +18846,7 @@ function od(n) {
|
|
|
18846
18846
|
}), o = !0);
|
|
18847
18847
|
},
|
|
18848
18848
|
o(r) {
|
|
18849
|
-
i && i.invalidate(), r && (s =
|
|
18849
|
+
i && i.invalidate(), r && (s = $n(t, gt, { duration: (
|
|
18850
18850
|
/*outDelay*/
|
|
18851
18851
|
n[1]
|
|
18852
18852
|
) })), o = !1;
|
|
@@ -19237,7 +19237,7 @@ function ld(n) {
|
|
|
19237
19237
|
}), l = !0);
|
|
19238
19238
|
},
|
|
19239
19239
|
o(u) {
|
|
19240
|
-
O(e.$$.fragment, u), r && r.invalidate(), u && (a =
|
|
19240
|
+
O(e.$$.fragment, u), r && r.invalidate(), u && (a = $n(s, gt, {
|
|
19241
19241
|
duration: (
|
|
19242
19242
|
/*duration*/
|
|
19243
19243
|
n[2]
|
|
@@ -19287,7 +19287,7 @@ function nC(n) {
|
|
|
19287
19287
|
function sC(n, t, e) {
|
|
19288
19288
|
let { direction: i = "right" } = t, { visible: s = !0 } = t, { duration: o = 0 } = t, { inDelay: r = 0 } = t, { outDelay: a = 0 } = t;
|
|
19289
19289
|
function l(c) {
|
|
19290
|
-
|
|
19290
|
+
Kn.call(this, n, c);
|
|
19291
19291
|
}
|
|
19292
19292
|
return n.$$set = (c) => {
|
|
19293
19293
|
"direction" in c && e(0, i = c.direction), "visible" in c && e(1, s = c.visible), "duration" in c && e(2, o = c.duration), "inDelay" in c && e(3, r = c.inDelay), "outDelay" in c && e(4, a = c.outDelay);
|
|
@@ -19711,7 +19711,7 @@ function mC(n) {
|
|
|
19711
19711
|
const e = (
|
|
19712
19712
|
/*#slots*/
|
|
19713
19713
|
n[6].default
|
|
19714
|
-
), i =
|
|
19714
|
+
), i = Xn(
|
|
19715
19715
|
e,
|
|
19716
19716
|
n,
|
|
19717
19717
|
/*$$scope*/
|
|
@@ -19727,19 +19727,19 @@ function mC(n) {
|
|
|
19727
19727
|
},
|
|
19728
19728
|
p(s, o) {
|
|
19729
19729
|
i && i.p && (!t || o & /*$$scope*/
|
|
19730
|
-
32) &&
|
|
19730
|
+
32) && Jn(
|
|
19731
19731
|
i,
|
|
19732
19732
|
e,
|
|
19733
19733
|
s,
|
|
19734
19734
|
/*$$scope*/
|
|
19735
19735
|
s[5],
|
|
19736
|
-
t ?
|
|
19736
|
+
t ? Zn(
|
|
19737
19737
|
e,
|
|
19738
19738
|
/*$$scope*/
|
|
19739
19739
|
s[5],
|
|
19740
19740
|
o,
|
|
19741
19741
|
null
|
|
19742
|
-
) :
|
|
19742
|
+
) : qn(
|
|
19743
19743
|
/*$$scope*/
|
|
19744
19744
|
s[5]
|
|
19745
19745
|
),
|
|
@@ -20283,7 +20283,7 @@ function pd(n) {
|
|
|
20283
20283
|
}), s = !0);
|
|
20284
20284
|
},
|
|
20285
20285
|
o(o) {
|
|
20286
|
-
e && e.invalidate(), o && (i =
|
|
20286
|
+
e && e.invalidate(), o && (i = $n(t, Ko, {
|
|
20287
20287
|
duration: (
|
|
20288
20288
|
/*duration*/
|
|
20289
20289
|
n[1]
|
|
@@ -20403,7 +20403,7 @@ function zC(n) {
|
|
|
20403
20403
|
function OC(n, t, e) {
|
|
20404
20404
|
let { active: i = !1 } = t;
|
|
20405
20405
|
function s(o) {
|
|
20406
|
-
|
|
20406
|
+
Kn.call(this, n, o);
|
|
20407
20407
|
}
|
|
20408
20408
|
return n.$$set = (o) => {
|
|
20409
20409
|
"active" in o && e(0, i = o.active);
|
|
@@ -20600,7 +20600,7 @@ function GC(n) {
|
|
|
20600
20600
|
function FC(n, t, e) {
|
|
20601
20601
|
let { direction: i = xi } = t, { disabled: s = !1 } = t;
|
|
20602
20602
|
function o(r) {
|
|
20603
|
-
|
|
20603
|
+
Kn.call(this, n, r);
|
|
20604
20604
|
}
|
|
20605
20605
|
return n.$$set = (r) => {
|
|
20606
20606
|
"direction" in r && e(0, i = r.direction), "disabled" in r && e(1, s = r.disabled);
|
|
@@ -20993,7 +20993,7 @@ function PP({
|
|
|
20993
20993
|
total: i.head + i.tail
|
|
20994
20994
|
});
|
|
20995
20995
|
}
|
|
20996
|
-
const
|
|
20996
|
+
const Ls = (n, t, e) => {
|
|
20997
20997
|
if (n && n.hasOwnProperty(t))
|
|
20998
20998
|
return n[t];
|
|
20999
20999
|
if (e === void 0)
|
|
@@ -21020,7 +21020,7 @@ var HP = Array.prototype, NP = Function.prototype, Dg = Object.prototype, Pa = _
|
|
|
21020
21020
|
return n ? "Symbol(src)_1." + n : "";
|
|
21021
21021
|
}(), Sg = NP.toString, Wl = Dg.hasOwnProperty, Tg = Dg.toString, QP = RegExp(
|
|
21022
21022
|
"^" + Sg.call(Wl).replace(LP, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21023
|
-
), Ed = _l.Symbol, GP = HP.splice, FP = Lg(_l, "Map"),
|
|
21023
|
+
), Ed = _l.Symbol, GP = HP.splice, FP = Lg(_l, "Map"), Gs = Lg(Object, "create"), Md = Ed ? Ed.prototype : void 0, kd = Md ? Md.toString : void 0;
|
|
21024
21024
|
function $i(n) {
|
|
21025
21025
|
var t = -1, e = n ? n.length : 0;
|
|
21026
21026
|
for (this.clear(); ++t < e; ) {
|
|
@@ -21029,14 +21029,14 @@ function $i(n) {
|
|
|
21029
21029
|
}
|
|
21030
21030
|
}
|
|
21031
21031
|
function _P() {
|
|
21032
|
-
this.__data__ =
|
|
21032
|
+
this.__data__ = Gs ? Gs(null) : {};
|
|
21033
21033
|
}
|
|
21034
21034
|
function WP(n) {
|
|
21035
21035
|
return this.has(n) && delete this.__data__[n];
|
|
21036
21036
|
}
|
|
21037
21037
|
function UP(n) {
|
|
21038
21038
|
var t = this.__data__;
|
|
21039
|
-
if (
|
|
21039
|
+
if (Gs) {
|
|
21040
21040
|
var e = t[n];
|
|
21041
21041
|
return e === kg ? void 0 : e;
|
|
21042
21042
|
}
|
|
@@ -21044,18 +21044,18 @@ function UP(n) {
|
|
|
21044
21044
|
}
|
|
21045
21045
|
function YP(n) {
|
|
21046
21046
|
var t = this.__data__;
|
|
21047
|
-
return
|
|
21047
|
+
return Gs ? t[n] !== void 0 : Wl.call(t, n);
|
|
21048
21048
|
}
|
|
21049
21049
|
function XP(n, t) {
|
|
21050
21050
|
var e = this.__data__;
|
|
21051
|
-
return e[n] =
|
|
21051
|
+
return e[n] = Gs && t === void 0 ? kg : t, this;
|
|
21052
21052
|
}
|
|
21053
21053
|
$i.prototype.clear = _P;
|
|
21054
21054
|
$i.prototype.delete = WP;
|
|
21055
21055
|
$i.prototype.get = UP;
|
|
21056
21056
|
$i.prototype.has = YP;
|
|
21057
21057
|
$i.prototype.set = XP;
|
|
21058
|
-
function
|
|
21058
|
+
function es(n) {
|
|
21059
21059
|
var t = -1, e = n ? n.length : 0;
|
|
21060
21060
|
for (this.clear(); ++t < e; ) {
|
|
21061
21061
|
var i = n[t];
|
|
@@ -21083,11 +21083,11 @@ function $P(n, t) {
|
|
|
21083
21083
|
var e = this.__data__, i = wr(e, n);
|
|
21084
21084
|
return i < 0 ? e.push([n, t]) : e[i][1] = t, this;
|
|
21085
21085
|
}
|
|
21086
|
-
|
|
21087
|
-
|
|
21088
|
-
|
|
21089
|
-
|
|
21090
|
-
|
|
21086
|
+
es.prototype.clear = ZP;
|
|
21087
|
+
es.prototype.delete = JP;
|
|
21088
|
+
es.prototype.get = qP;
|
|
21089
|
+
es.prototype.has = KP;
|
|
21090
|
+
es.prototype.set = $P;
|
|
21091
21091
|
function sn(n) {
|
|
21092
21092
|
var t = -1, e = n ? n.length : 0;
|
|
21093
21093
|
for (this.clear(); ++t < e; ) {
|
|
@@ -21098,7 +21098,7 @@ function sn(n) {
|
|
|
21098
21098
|
function eI() {
|
|
21099
21099
|
this.__data__ = {
|
|
21100
21100
|
hash: new $i(),
|
|
21101
|
-
map: new (FP ||
|
|
21101
|
+
map: new (FP || es)(),
|
|
21102
21102
|
string: new $i()
|
|
21103
21103
|
};
|
|
21104
21104
|
}
|
|
@@ -21304,9 +21304,9 @@ var To = bI, ir = {}, yI = {
|
|
|
21304
21304
|
var Ye = Array.prototype, Mt = Function.prototype, ot = Object.prototype, Ct = be["__core-js_shared__"], Ve = function() {
|
|
21305
21305
|
var b = /[^.]+$/.exec(Ct && Ct.keys && Ct.keys.IE_PROTO || "");
|
|
21306
21306
|
return b ? "Symbol(src)_1." + b : "";
|
|
21307
|
-
}(), He = Mt.toString, Je = ot.hasOwnProperty, Rt = ot.toString,
|
|
21307
|
+
}(), He = Mt.toString, Je = ot.hasOwnProperty, Rt = ot.toString, ts = RegExp(
|
|
21308
21308
|
"^" + He.call(Je).replace(X, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21309
|
-
), Xt = Ze ? be.Buffer : void 0, Ai = be.Symbol, zi = be.Uint8Array, kt = Ie(Object.getPrototypeOf, Object), on = Object.create, rn = ot.propertyIsEnumerable, Ir = Ye.splice,
|
|
21309
|
+
), Xt = Ze ? be.Buffer : void 0, Ai = be.Symbol, zi = be.Uint8Array, kt = Ie(Object.getPrototypeOf, Object), on = Object.create, rn = ot.propertyIsEnumerable, Ir = Ye.splice, is = Object.getOwnPropertySymbols, an = Xt ? Xt.isBuffer : void 0, $s = Ie(Object.keys, Object), ln = Ht(be, "DataView"), Oi = Ht(be, "Map"), Vt = Ht(be, "Promise"), cn = Ht(be, "Set"), ns = Ht(be, "WeakMap"), Bi = Ht(Object, "create"), ss = Pt(ln), Ri = Pt(Oi), os = Pt(Vt), rs = Pt(cn), as = Pt(ns), vi = Ai ? Ai.prototype : void 0, eo = vi ? vi.valueOf : void 0;
|
|
21310
21310
|
function ri(b) {
|
|
21311
21311
|
var M = -1, R = b ? b.length : 0;
|
|
21312
21312
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21332,11 +21332,11 @@ var To = bI, ir = {}, yI = {
|
|
|
21332
21332
|
var M = this.__data__;
|
|
21333
21333
|
return Bi ? M[b] !== void 0 : Je.call(M, b);
|
|
21334
21334
|
}
|
|
21335
|
-
function
|
|
21335
|
+
function ls(b, M) {
|
|
21336
21336
|
var R = this.__data__;
|
|
21337
21337
|
return R[b] = Bi && M === void 0 ? i : M, this;
|
|
21338
21338
|
}
|
|
21339
|
-
ri.prototype.clear = Er, ri.prototype.delete = Mr, ri.prototype.get = kr, ri.prototype.has = to, ri.prototype.set =
|
|
21339
|
+
ri.prototype.clear = Er, ri.prototype.delete = Mr, ri.prototype.get = kr, ri.prototype.has = to, ri.prototype.set = ls;
|
|
21340
21340
|
function lt(b) {
|
|
21341
21341
|
var M = -1, R = b ? b.length : 0;
|
|
21342
21342
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21420,7 +21420,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21420
21420
|
}
|
|
21421
21421
|
xt.prototype.clear = Vr, xt.prototype.delete = Hr, xt.prototype.get = Nr, xt.prototype.has = Qr, xt.prototype.set = Gr;
|
|
21422
21422
|
function hn(b, M) {
|
|
21423
|
-
var R =
|
|
21423
|
+
var R = us(b) || fn(b) ? at(b.length, String) : [], Y = R.length, Ee = !!Y;
|
|
21424
21424
|
for (var pe in b)
|
|
21425
21425
|
(M || Je.call(b, pe)) && !(Ee && (pe == "length" || ia(pe, Y))) && R.push(pe);
|
|
21426
21426
|
return R;
|
|
@@ -21436,15 +21436,15 @@ var To = bI, ir = {}, yI = {
|
|
|
21436
21436
|
return -1;
|
|
21437
21437
|
}
|
|
21438
21438
|
function Zt(b, M) {
|
|
21439
|
-
return b &&
|
|
21439
|
+
return b && ds(M, gs(M), b);
|
|
21440
21440
|
}
|
|
21441
|
-
function
|
|
21441
|
+
function cs(b, M, R, Y, Ee, pe, Se) {
|
|
21442
21442
|
var Te;
|
|
21443
21443
|
if (Y && (Te = pe ? Y(b, Ee, pe, Se) : Y(b)), Te !== void 0)
|
|
21444
21444
|
return Te;
|
|
21445
21445
|
if (!qt(b))
|
|
21446
21446
|
return b;
|
|
21447
|
-
var qe =
|
|
21447
|
+
var qe = us(b);
|
|
21448
21448
|
if (qe) {
|
|
21449
21449
|
if (Te = ea(b), !M)
|
|
21450
21450
|
return qr(b, Te);
|
|
@@ -21460,7 +21460,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21460
21460
|
} else {
|
|
21461
21461
|
if (!he[ze])
|
|
21462
21462
|
return pe ? b : {};
|
|
21463
|
-
Te = ta(b, ze,
|
|
21463
|
+
Te = ta(b, ze, cs, M);
|
|
21464
21464
|
}
|
|
21465
21465
|
}
|
|
21466
21466
|
Se || (Se = new xt());
|
|
@@ -21468,9 +21468,9 @@ var To = bI, ir = {}, yI = {
|
|
|
21468
21468
|
if (Dt)
|
|
21469
21469
|
return Dt;
|
|
21470
21470
|
if (Se.set(b, Te), !qe)
|
|
21471
|
-
var it = R ? $r(b) :
|
|
21471
|
+
var it = R ? $r(b) : gs(b);
|
|
21472
21472
|
return je(it || b, function(At, ct) {
|
|
21473
|
-
it && (ct = At, At = b[ct]), io(Te, ct,
|
|
21473
|
+
it && (ct = At, At = b[ct]), io(Te, ct, cs(At, M, R, Y, ct, b, Se));
|
|
21474
21474
|
}), Te;
|
|
21475
21475
|
}
|
|
21476
21476
|
function Fr(b) {
|
|
@@ -21478,7 +21478,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21478
21478
|
}
|
|
21479
21479
|
function _r(b, M, R) {
|
|
21480
21480
|
var Y = M(b);
|
|
21481
|
-
return
|
|
21481
|
+
return us(b) ? Y : me(Y, R(b));
|
|
21482
21482
|
}
|
|
21483
21483
|
function Wr(b) {
|
|
21484
21484
|
return Rt.call(b);
|
|
@@ -21486,7 +21486,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21486
21486
|
function Ur(b) {
|
|
21487
21487
|
if (!qt(b) || sa(b))
|
|
21488
21488
|
return !1;
|
|
21489
|
-
var M =
|
|
21489
|
+
var M = fs(b) || st(b) ? ts : $;
|
|
21490
21490
|
return M.test(Pt(b));
|
|
21491
21491
|
}
|
|
21492
21492
|
function Yr(b) {
|
|
@@ -21503,12 +21503,12 @@ var To = bI, ir = {}, yI = {
|
|
|
21503
21503
|
var R = new b.constructor(b.length);
|
|
21504
21504
|
return b.copy(R), R;
|
|
21505
21505
|
}
|
|
21506
|
-
function
|
|
21506
|
+
function hs(b) {
|
|
21507
21507
|
var M = new b.constructor(b.byteLength);
|
|
21508
21508
|
return new zi(M).set(new zi(b)), M;
|
|
21509
21509
|
}
|
|
21510
21510
|
function Vi(b, M) {
|
|
21511
|
-
var R = M ?
|
|
21511
|
+
var R = M ? hs(b.buffer) : b.buffer;
|
|
21512
21512
|
return new b.constructor(R, b.byteOffset, b.byteLength);
|
|
21513
21513
|
}
|
|
21514
21514
|
function no(b, M, R) {
|
|
@@ -21527,7 +21527,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21527
21527
|
return eo ? Object(eo.call(b)) : {};
|
|
21528
21528
|
}
|
|
21529
21529
|
function Jr(b, M) {
|
|
21530
|
-
var R = M ?
|
|
21530
|
+
var R = M ? hs(b.buffer) : b.buffer;
|
|
21531
21531
|
return new b.constructor(R, b.byteOffset, b.length);
|
|
21532
21532
|
}
|
|
21533
21533
|
function qr(b, M) {
|
|
@@ -21536,7 +21536,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21536
21536
|
M[R] = b[R];
|
|
21537
21537
|
return M;
|
|
21538
21538
|
}
|
|
21539
|
-
function
|
|
21539
|
+
function ds(b, M, R, Y) {
|
|
21540
21540
|
R || (R = {});
|
|
21541
21541
|
for (var Ee = -1, pe = M.length; ++Ee < pe; ) {
|
|
21542
21542
|
var Se = M[Ee], Te = Y ? Y(R[Se], b[Se], Se, R, b) : void 0;
|
|
@@ -21545,10 +21545,10 @@ var To = bI, ir = {}, yI = {
|
|
|
21545
21545
|
return R;
|
|
21546
21546
|
}
|
|
21547
21547
|
function Kr(b, M) {
|
|
21548
|
-
return
|
|
21548
|
+
return ds(b, ai(b), M);
|
|
21549
21549
|
}
|
|
21550
21550
|
function $r(b) {
|
|
21551
|
-
return _r(b,
|
|
21551
|
+
return _r(b, gs, ai);
|
|
21552
21552
|
}
|
|
21553
21553
|
function Hi(b, M) {
|
|
21554
21554
|
var R = b.__data__;
|
|
@@ -21558,20 +21558,20 @@ var To = bI, ir = {}, yI = {
|
|
|
21558
21558
|
var R = xe(b, M);
|
|
21559
21559
|
return Ur(R) ? R : void 0;
|
|
21560
21560
|
}
|
|
21561
|
-
var ai =
|
|
21562
|
-
(ln && li(new ln(new ArrayBuffer(1))) != P || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || cn && li(new cn()) != v ||
|
|
21561
|
+
var ai = is ? Ie(is, Object) : ra, li = Wr;
|
|
21562
|
+
(ln && li(new ln(new ArrayBuffer(1))) != P || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || cn && li(new cn()) != v || ns && li(new ns()) != I) && (li = function(b) {
|
|
21563
21563
|
var M = Rt.call(b), R = M == A ? b.constructor : void 0, Y = R ? Pt(R) : void 0;
|
|
21564
21564
|
if (Y)
|
|
21565
21565
|
switch (Y) {
|
|
21566
|
-
case
|
|
21566
|
+
case ss:
|
|
21567
21567
|
return P;
|
|
21568
21568
|
case Ri:
|
|
21569
21569
|
return f;
|
|
21570
|
-
case ss:
|
|
21571
|
-
return p;
|
|
21572
21570
|
case os:
|
|
21573
|
-
return
|
|
21571
|
+
return p;
|
|
21574
21572
|
case rs:
|
|
21573
|
+
return v;
|
|
21574
|
+
case as:
|
|
21575
21575
|
return I;
|
|
21576
21576
|
}
|
|
21577
21577
|
return M;
|
|
@@ -21587,7 +21587,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21587
21587
|
var Ee = b.constructor;
|
|
21588
21588
|
switch (M) {
|
|
21589
21589
|
case k:
|
|
21590
|
-
return
|
|
21590
|
+
return hs(b);
|
|
21591
21591
|
case a:
|
|
21592
21592
|
case l:
|
|
21593
21593
|
return new Ee(+b);
|
|
@@ -21644,7 +21644,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21644
21644
|
return "";
|
|
21645
21645
|
}
|
|
21646
21646
|
function ro(b) {
|
|
21647
|
-
return
|
|
21647
|
+
return cs(b, !0, !0);
|
|
21648
21648
|
}
|
|
21649
21649
|
function ao(b, M) {
|
|
21650
21650
|
return b === M || b !== b && M !== M;
|
|
@@ -21652,15 +21652,15 @@ var To = bI, ir = {}, yI = {
|
|
|
21652
21652
|
function fn(b) {
|
|
21653
21653
|
return oa(b) && Je.call(b, "callee") && (!rn.call(b, "callee") || Rt.call(b) == o);
|
|
21654
21654
|
}
|
|
21655
|
-
var
|
|
21655
|
+
var us = Array.isArray;
|
|
21656
21656
|
function gn(b) {
|
|
21657
|
-
return b != null && co(b.length) && !
|
|
21657
|
+
return b != null && co(b.length) && !fs(b);
|
|
21658
21658
|
}
|
|
21659
21659
|
function oa(b) {
|
|
21660
21660
|
return ho(b) && gn(b);
|
|
21661
21661
|
}
|
|
21662
21662
|
var lo = an || aa;
|
|
21663
|
-
function
|
|
21663
|
+
function fs(b) {
|
|
21664
21664
|
var M = qt(b) ? Rt.call(b) : "";
|
|
21665
21665
|
return M == h || M == u;
|
|
21666
21666
|
}
|
|
@@ -21674,7 +21674,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21674
21674
|
function ho(b) {
|
|
21675
21675
|
return !!b && typeof b == "object";
|
|
21676
21676
|
}
|
|
21677
|
-
function
|
|
21677
|
+
function gs(b) {
|
|
21678
21678
|
return gn(b) ? hn(b) : Yr(b);
|
|
21679
21679
|
}
|
|
21680
21680
|
function ra() {
|
|
@@ -21754,12 +21754,12 @@ var nr = {}, CI = {
|
|
|
21754
21754
|
R[++M] = Y;
|
|
21755
21755
|
}), R;
|
|
21756
21756
|
}
|
|
21757
|
-
var Rt = Array.prototype,
|
|
21757
|
+
var Rt = Array.prototype, ts = Function.prototype, Xt = Object.prototype, Ai = ve["__core-js_shared__"], zi = ts.toString, kt = Xt.hasOwnProperty, on = function() {
|
|
21758
21758
|
var b = /[^.]+$/.exec(Ai && Ai.keys && Ai.keys.IE_PROTO || "");
|
|
21759
21759
|
return b ? "Symbol(src)_1." + b : "";
|
|
21760
21760
|
}(), rn = Xt.toString, Ir = RegExp(
|
|
21761
21761
|
"^" + zi.call(kt).replace(Ce, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21762
|
-
),
|
|
21762
|
+
), is = tt ? ve.Buffer : void 0, an = ve.Symbol, $s = ve.Uint8Array, ln = Xt.propertyIsEnumerable, Oi = Rt.splice, Vt = an ? an.toStringTag : void 0, cn = Object.getOwnPropertySymbols, ns = is ? is.isBuffer : void 0, Bi = He(Object.keys, Object), ss = ai(ve, "DataView"), Ri = ai(ve, "Map"), os = ai(ve, "Promise"), rs = ai(ve, "Set"), as = ai(ve, "WeakMap"), vi = ai(Object, "create"), eo = Pt(ss), ri = Pt(Ri), Er = Pt(os), Mr = Pt(rs), kr = Pt(as), to = an ? an.prototype : void 0, ls = to ? to.valueOf : void 0;
|
|
21763
21763
|
function lt(b) {
|
|
21764
21764
|
var M = -1, R = b == null ? 0 : b.length;
|
|
21765
21765
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21865,7 +21865,7 @@ var nr = {}, CI = {
|
|
|
21865
21865
|
var M = this.__data__ = new mt(b);
|
|
21866
21866
|
this.size = M.size;
|
|
21867
21867
|
}
|
|
21868
|
-
function
|
|
21868
|
+
function cs() {
|
|
21869
21869
|
this.__data__ = new mt(), this.size = 0;
|
|
21870
21870
|
}
|
|
21871
21871
|
function Fr(b) {
|
|
@@ -21888,7 +21888,7 @@ var nr = {}, CI = {
|
|
|
21888
21888
|
}
|
|
21889
21889
|
return R.set(b, M), this.size = R.size, this;
|
|
21890
21890
|
}
|
|
21891
|
-
Zt.prototype.clear =
|
|
21891
|
+
Zt.prototype.clear = cs, Zt.prototype.delete = Fr, Zt.prototype.get = _r, Zt.prototype.has = Wr, Zt.prototype.set = Ur;
|
|
21892
21892
|
function Yr(b, M) {
|
|
21893
21893
|
var R = fn(b), Y = !R && ao(b), Ee = !R && !Y && gn(b), pe = !R && !Y && !Ee && ho(b), Se = R || Y || Ee || pe, Te = Se ? Ye(b.length, String) : [], qe = Te.length;
|
|
21894
21894
|
for (var ze in b)
|
|
@@ -21905,7 +21905,7 @@ var nr = {}, CI = {
|
|
|
21905
21905
|
return R;
|
|
21906
21906
|
return -1;
|
|
21907
21907
|
}
|
|
21908
|
-
function
|
|
21908
|
+
function hs(b, M, R) {
|
|
21909
21909
|
var Y = M(b);
|
|
21910
21910
|
return fn(b) ? Y : Ie(Y, R(b));
|
|
21911
21911
|
}
|
|
@@ -21928,7 +21928,7 @@ var nr = {}, CI = {
|
|
|
21928
21928
|
Se = !0, pt = !1;
|
|
21929
21929
|
}
|
|
21930
21930
|
if (it && !pt)
|
|
21931
|
-
return pe || (pe = new Zt()), Se || ho(b) ?
|
|
21931
|
+
return pe || (pe = new Zt()), Se || ho(b) ? ds(b, M, R, Y, Ee, pe) : Kr(b, M, qe, R, Y, Ee, pe);
|
|
21932
21932
|
if (!(R & s)) {
|
|
21933
21933
|
var At = pt && kt.call(b, "__wrapped__"), ct = Dt && kt.call(M, "__wrapped__");
|
|
21934
21934
|
if (At || ct) {
|
|
@@ -21945,7 +21945,7 @@ var nr = {}, CI = {
|
|
|
21945
21945
|
return M.test(Pt(b));
|
|
21946
21946
|
}
|
|
21947
21947
|
function Jr(b) {
|
|
21948
|
-
return qt(b) &&
|
|
21948
|
+
return qt(b) && fs(b.length) && !!ye[Vi(b)];
|
|
21949
21949
|
}
|
|
21950
21950
|
function qr(b) {
|
|
21951
21951
|
if (!sa(b))
|
|
@@ -21955,7 +21955,7 @@ var nr = {}, CI = {
|
|
|
21955
21955
|
kt.call(b, R) && R != "constructor" && M.push(R);
|
|
21956
21956
|
return M;
|
|
21957
21957
|
}
|
|
21958
|
-
function
|
|
21958
|
+
function ds(b, M, R, Y, Ee, pe) {
|
|
21959
21959
|
var Se = R & s, Te = b.length, qe = M.length;
|
|
21960
21960
|
if (Te != qe && !(Se && qe > Te))
|
|
21961
21961
|
return !1;
|
|
@@ -22015,11 +22015,11 @@ var nr = {}, CI = {
|
|
|
22015
22015
|
if (ze)
|
|
22016
22016
|
return ze == M;
|
|
22017
22017
|
Y |= o, Se.set(b, M);
|
|
22018
|
-
var pt =
|
|
22018
|
+
var pt = ds(Te(b), Te(M), Y, Ee, pe, Se);
|
|
22019
22019
|
return Se.delete(b), pt;
|
|
22020
22020
|
case V:
|
|
22021
|
-
if (
|
|
22022
|
-
return
|
|
22021
|
+
if (ls)
|
|
22022
|
+
return ls.call(b) == ls.call(M);
|
|
22023
22023
|
}
|
|
22024
22024
|
return !1;
|
|
22025
22025
|
}
|
|
@@ -22055,7 +22055,7 @@ var nr = {}, CI = {
|
|
|
22055
22055
|
return pe.delete(b), pe.delete(M), ct;
|
|
22056
22056
|
}
|
|
22057
22057
|
function Hi(b) {
|
|
22058
|
-
return
|
|
22058
|
+
return hs(b, gs, ea);
|
|
22059
22059
|
}
|
|
22060
22060
|
function Ht(b, M) {
|
|
22061
22061
|
var R = b.__data__;
|
|
@@ -22080,7 +22080,7 @@ var nr = {}, CI = {
|
|
|
22080
22080
|
return ln.call(b, M);
|
|
22081
22081
|
}));
|
|
22082
22082
|
} : ra, Jt = Vi;
|
|
22083
|
-
(
|
|
22083
|
+
(ss && Jt(new ss(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || os && Jt(os.resolve()) != E || rs && Jt(new rs()) != P || as && Jt(new as()) != _) && (Jt = function(b) {
|
|
22084
22084
|
var M = Vi(b), R = M == y ? b.constructor : void 0, Y = R ? Pt(R) : "";
|
|
22085
22085
|
if (Y)
|
|
22086
22086
|
switch (Y) {
|
|
@@ -22135,10 +22135,10 @@ var nr = {}, CI = {
|
|
|
22135
22135
|
}()) ? no : function(b) {
|
|
22136
22136
|
return qt(b) && kt.call(b, "callee") && !ln.call(b, "callee");
|
|
22137
22137
|
}, fn = Array.isArray;
|
|
22138
|
-
function
|
|
22139
|
-
return b != null &&
|
|
22138
|
+
function us(b) {
|
|
22139
|
+
return b != null && fs(b.length) && !lo(b);
|
|
22140
22140
|
}
|
|
22141
|
-
var gn =
|
|
22141
|
+
var gn = ns || aa;
|
|
22142
22142
|
function oa(b, M) {
|
|
22143
22143
|
return so(b, M);
|
|
22144
22144
|
}
|
|
@@ -22148,7 +22148,7 @@ var nr = {}, CI = {
|
|
|
22148
22148
|
var M = Vi(b);
|
|
22149
22149
|
return M == g || M == A || M == c || M == I;
|
|
22150
22150
|
}
|
|
22151
|
-
function
|
|
22151
|
+
function fs(b) {
|
|
22152
22152
|
return typeof b == "number" && b > -1 && b % 1 == 0 && b <= r;
|
|
22153
22153
|
}
|
|
22154
22154
|
function co(b) {
|
|
@@ -22159,8 +22159,8 @@ var nr = {}, CI = {
|
|
|
22159
22159
|
return b != null && typeof b == "object";
|
|
22160
22160
|
}
|
|
22161
22161
|
var ho = st ? Mt(st) : Jr;
|
|
22162
|
-
function
|
|
22163
|
-
return
|
|
22162
|
+
function gs(b) {
|
|
22163
|
+
return us(b) ? Yr(b) : qr(b);
|
|
22164
22164
|
}
|
|
22165
22165
|
function ra() {
|
|
22166
22166
|
return [];
|
|
@@ -22505,7 +22505,7 @@ function OI(n) {
|
|
|
22505
22505
|
return Q(this, arguments, function* ({ data: r, methods: a }, l, c) {
|
|
22506
22506
|
if (t.reset(), r.disabled)
|
|
22507
22507
|
return;
|
|
22508
|
-
r.disabled = !0, l(), yield a.offsetPage({ animated:
|
|
22508
|
+
r.disabled = !0, l(), yield a.offsetPage({ animated: Ls(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
|
|
22509
22509
|
});
|
|
22510
22510
|
},
|
|
22511
22511
|
showNextPage(c, h) {
|
|
@@ -22544,7 +22544,7 @@ function OI(n) {
|
|
|
22544
22544
|
});
|
|
22545
22545
|
},
|
|
22546
22546
|
offsetPage({ data: r }, a) {
|
|
22547
|
-
const l =
|
|
22547
|
+
const l = Ls(a, "animated", !0);
|
|
22548
22548
|
return new Promise((c) => {
|
|
22549
22549
|
r.durationMs = l ? r.durationMsInit : 0, r.offset = -r.currentParticleIndex * r.particleWidth, setTimeout(() => {
|
|
22550
22550
|
c();
|
|
@@ -22642,7 +22642,7 @@ function jd(n) {
|
|
|
22642
22642
|
const e = (
|
|
22643
22643
|
/*#slots*/
|
|
22644
22644
|
n[37].prev
|
|
22645
|
-
), i =
|
|
22645
|
+
), i = Xn(
|
|
22646
22646
|
e,
|
|
22647
22647
|
n,
|
|
22648
22648
|
/*$$scope*/
|
|
@@ -22659,19 +22659,19 @@ function jd(n) {
|
|
|
22659
22659
|
p(o, r) {
|
|
22660
22660
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
22661
22661
|
96 | r[1] & /*$$scope*/
|
|
22662
|
-
32) &&
|
|
22662
|
+
32) && Jn(
|
|
22663
22663
|
i,
|
|
22664
22664
|
e,
|
|
22665
22665
|
o,
|
|
22666
22666
|
/*$$scope*/
|
|
22667
22667
|
o[36],
|
|
22668
|
-
t ?
|
|
22668
|
+
t ? Zn(
|
|
22669
22669
|
e,
|
|
22670
22670
|
/*$$scope*/
|
|
22671
22671
|
o[36],
|
|
22672
22672
|
r,
|
|
22673
22673
|
NI
|
|
22674
|
-
) :
|
|
22674
|
+
) : qn(
|
|
22675
22675
|
/*$$scope*/
|
|
22676
22676
|
o[36]
|
|
22677
22677
|
),
|
|
@@ -22764,7 +22764,7 @@ function Od(n) {
|
|
|
22764
22764
|
const e = (
|
|
22765
22765
|
/*#slots*/
|
|
22766
22766
|
n[37].next
|
|
22767
|
-
), i =
|
|
22767
|
+
), i = Xn(
|
|
22768
22768
|
e,
|
|
22769
22769
|
n,
|
|
22770
22770
|
/*$$scope*/
|
|
@@ -22781,19 +22781,19 @@ function Od(n) {
|
|
|
22781
22781
|
p(o, r) {
|
|
22782
22782
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
22783
22783
|
96 | r[1] & /*$$scope*/
|
|
22784
|
-
32) &&
|
|
22784
|
+
32) && Jn(
|
|
22785
22785
|
i,
|
|
22786
22786
|
e,
|
|
22787
22787
|
o,
|
|
22788
22788
|
/*$$scope*/
|
|
22789
22789
|
o[36],
|
|
22790
|
-
t ?
|
|
22790
|
+
t ? Zn(
|
|
22791
22791
|
e,
|
|
22792
22792
|
/*$$scope*/
|
|
22793
22793
|
o[36],
|
|
22794
22794
|
r,
|
|
22795
22795
|
VI
|
|
22796
|
-
) :
|
|
22796
|
+
) : qn(
|
|
22797
22797
|
/*$$scope*/
|
|
22798
22798
|
o[36]
|
|
22799
22799
|
),
|
|
@@ -22857,7 +22857,7 @@ function Bd(n) {
|
|
|
22857
22857
|
const e = (
|
|
22858
22858
|
/*#slots*/
|
|
22859
22859
|
n[37].dots
|
|
22860
|
-
), i =
|
|
22860
|
+
), i = Xn(
|
|
22861
22861
|
e,
|
|
22862
22862
|
n,
|
|
22863
22863
|
/*$$scope*/
|
|
@@ -22874,19 +22874,19 @@ function Bd(n) {
|
|
|
22874
22874
|
p(o, r) {
|
|
22875
22875
|
i ? i.p && (!t || r[0] & /*currentPageIndex, pagesCount, loaded*/
|
|
22876
22876
|
1120 | r[1] & /*$$scope*/
|
|
22877
|
-
32) &&
|
|
22877
|
+
32) && Jn(
|
|
22878
22878
|
i,
|
|
22879
22879
|
e,
|
|
22880
22880
|
o,
|
|
22881
22881
|
/*$$scope*/
|
|
22882
22882
|
o[36],
|
|
22883
|
-
t ?
|
|
22883
|
+
t ? Zn(
|
|
22884
22884
|
e,
|
|
22885
22885
|
/*$$scope*/
|
|
22886
22886
|
o[36],
|
|
22887
22887
|
r,
|
|
22888
22888
|
RI
|
|
22889
|
-
) :
|
|
22889
|
+
) : qn(
|
|
22890
22890
|
/*$$scope*/
|
|
22891
22891
|
o[36]
|
|
22892
22892
|
),
|
|
@@ -22956,7 +22956,7 @@ function _I(n) {
|
|
|
22956
22956
|
const A = (
|
|
22957
22957
|
/*#slots*/
|
|
22958
22958
|
n[37].default
|
|
22959
|
-
), p =
|
|
22959
|
+
), p = Xn(
|
|
22960
22960
|
A,
|
|
22961
22961
|
n,
|
|
22962
22962
|
/*$$scope*/
|
|
@@ -23049,19 +23049,19 @@ function _I(n) {
|
|
|
23049
23049
|
g = null;
|
|
23050
23050
|
}), fe()), p && p.p && (!h || I[0] & /*loaded, currentPageIndex*/
|
|
23051
23051
|
96 | I[1] & /*$$scope*/
|
|
23052
|
-
32) &&
|
|
23052
|
+
32) && Jn(
|
|
23053
23053
|
p,
|
|
23054
23054
|
A,
|
|
23055
23055
|
E,
|
|
23056
23056
|
/*$$scope*/
|
|
23057
23057
|
E[36],
|
|
23058
|
-
h ?
|
|
23058
|
+
h ? Zn(
|
|
23059
23059
|
A,
|
|
23060
23060
|
/*$$scope*/
|
|
23061
23061
|
E[36],
|
|
23062
23062
|
I,
|
|
23063
23063
|
HI
|
|
23064
|
-
) :
|
|
23064
|
+
) : qn(
|
|
23065
23065
|
/*$$scope*/
|
|
23066
23066
|
E[36]
|
|
23067
23067
|
),
|
|
@@ -23126,7 +23126,7 @@ function WI(n, t, e) {
|
|
|
23126
23126
|
let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: P = 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;
|
|
23127
23127
|
function F(re, Ie) {
|
|
23128
23128
|
return Q(this, null, function* () {
|
|
23129
|
-
const Ge =
|
|
23129
|
+
const Ge = Ls(Ie, "animated", !0);
|
|
23130
23130
|
if (typeof re != "number")
|
|
23131
23131
|
throw new Error("pageIndex should be a number");
|
|
23132
23132
|
yield g.showPage(re, { animated: Ge });
|
|
@@ -23134,13 +23134,13 @@ function WI(n, t, e) {
|
|
|
23134
23134
|
}
|
|
23135
23135
|
function U(re) {
|
|
23136
23136
|
return Q(this, null, function* () {
|
|
23137
|
-
const Ie =
|
|
23137
|
+
const Ie = Ls(re, "animated", !0);
|
|
23138
23138
|
yield g.showPrevPage({ animated: Ie });
|
|
23139
23139
|
});
|
|
23140
23140
|
}
|
|
23141
23141
|
function X(re) {
|
|
23142
23142
|
return Q(this, null, function* () {
|
|
23143
|
-
const Ie =
|
|
23143
|
+
const Ie = Ls(re, "animated", !0);
|
|
23144
23144
|
yield g.showNextPage({ animated: Ie });
|
|
23145
23145
|
});
|
|
23146
23146
|
}
|
|
@@ -23800,7 +23800,7 @@ function Hd(n) {
|
|
|
23800
23800
|
}), a = !0);
|
|
23801
23801
|
},
|
|
23802
23802
|
o(u) {
|
|
23803
|
-
O(s), o && o.invalidate(), u && (r =
|
|
23803
|
+
O(s), o && o.invalidate(), u && (r = $n(
|
|
23804
23804
|
t,
|
|
23805
23805
|
yc,
|
|
23806
23806
|
/*animation*/
|
|
@@ -24903,7 +24903,7 @@ function pE(n) {
|
|
|
24903
24903
|
const o = (
|
|
24904
24904
|
/*#slots*/
|
|
24905
24905
|
n[8].default
|
|
24906
|
-
), r =
|
|
24906
|
+
), r = Xn(
|
|
24907
24907
|
o,
|
|
24908
24908
|
n,
|
|
24909
24909
|
/*$$scope*/
|
|
@@ -24927,19 +24927,19 @@ function pE(n) {
|
|
|
24927
24927
|
},
|
|
24928
24928
|
p(a, [l]) {
|
|
24929
24929
|
r && r.p && (!e || l & /*$$scope*/
|
|
24930
|
-
128) &&
|
|
24930
|
+
128) && Jn(
|
|
24931
24931
|
r,
|
|
24932
24932
|
o,
|
|
24933
24933
|
a,
|
|
24934
24934
|
/*$$scope*/
|
|
24935
24935
|
a[7],
|
|
24936
|
-
e ?
|
|
24936
|
+
e ? Zn(
|
|
24937
24937
|
o,
|
|
24938
24938
|
/*$$scope*/
|
|
24939
24939
|
a[7],
|
|
24940
24940
|
l,
|
|
24941
24941
|
null
|
|
24942
|
-
) :
|
|
24942
|
+
) : qn(
|
|
24943
24943
|
/*$$scope*/
|
|
24944
24944
|
a[7]
|
|
24945
24945
|
),
|
|
@@ -25423,7 +25423,7 @@ function su(n) {
|
|
|
25423
25423
|
},
|
|
25424
25424
|
o(l) {
|
|
25425
25425
|
var c, h;
|
|
25426
|
-
O(e.$$.fragment, l), O(s.$$.fragment, l), o && o.invalidate(), l && (r =
|
|
25426
|
+
O(e.$$.fragment, l), O(s.$$.fragment, l), o && o.invalidate(), l && (r = $n(t, gt, {
|
|
25427
25427
|
duration: 1e3,
|
|
25428
25428
|
delay: 20 * Math.min(
|
|
25429
25429
|
/*content*/
|
|
@@ -25510,7 +25510,7 @@ function IE(n, t, e) {
|
|
|
25510
25510
|
e(2, l = !1);
|
|
25511
25511
|
};
|
|
25512
25512
|
function A(m) {
|
|
25513
|
-
|
|
25513
|
+
Kn.call(this, n, m);
|
|
25514
25514
|
}
|
|
25515
25515
|
const p = (m) => {
|
|
25516
25516
|
e(3, c = m.detail);
|
|
@@ -25763,7 +25763,7 @@ function SE(n, t, e) {
|
|
|
25763
25763
|
e(2, l = m.detail);
|
|
25764
25764
|
};
|
|
25765
25765
|
function p(m) {
|
|
25766
|
-
|
|
25766
|
+
Kn.call(this, n, m);
|
|
25767
25767
|
}
|
|
25768
25768
|
return n.$$set = (m) => {
|
|
25769
25769
|
"tag" in m && e(0, o = m.tag);
|
|
@@ -27647,7 +27647,7 @@ function D2(n, t, e) {
|
|
|
27647
27647
|
h || a.emit("click", { event: p, target: "TagPoint", tag: l });
|
|
27648
27648
|
}, g = (() => l.contentType === "Text" && l.data.appearance === "plane" ? 500 : 800)();
|
|
27649
27649
|
function A(p) {
|
|
27650
|
-
|
|
27650
|
+
Kn.call(this, n, p);
|
|
27651
27651
|
}
|
|
27652
27652
|
return n.$$set = (p) => {
|
|
27653
27653
|
"tag" in p && e(6, l = p.tag);
|
|
@@ -28360,7 +28360,7 @@ class Y2 extends Gw {
|
|
|
28360
28360
|
this.hooks.emit("click", { target: "TagModel", tag: e, event: f });
|
|
28361
28361
|
})
|
|
28362
28362
|
});
|
|
28363
|
-
return c.visible = this.getCurrentVisibleState(e), new
|
|
28363
|
+
return c.visible = this.getCurrentVisibleState(e), new Ps().fromArray(e.matrix).decompose(c.position, c.quaternion, c.scale), c.updateWorldMatrix(!0, !0), c.visible = this.getVisible(e), (u = this.getTagConfig(e).modelConfig) != null && u.autoLookAtEnabled && c.lookAt(this.five.camera.position.clone().setY(c.position.y)), c;
|
|
28364
28364
|
});
|
|
28365
28365
|
e.model = { promise: s };
|
|
28366
28366
|
const o = yield s;
|
|
@@ -28566,7 +28566,7 @@ class Y2 extends Gw {
|
|
|
28566
28566
|
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
28567
28567
|
return;
|
|
28568
28568
|
i.updateWorldMatrix(!1, !1);
|
|
28569
|
-
const a = i.matrixWorld, l = new oe().fromArray(r[0]), c = new oe().fromArray(r[2]), h = Di(l, c).add(new oe(0, 0, 5e-4)), u = new
|
|
28569
|
+
const a = i.matrixWorld, l = new oe().fromArray(r[0]), c = new oe().fromArray(r[2]), h = Di(l, c).add(new oe(0, 0, 5e-4)), u = new Ps().setPosition(h), f = new Ps().makeScale(s, s, s), g = new Ps().multiply(a).multiply(u).multiply(f);
|
|
28570
28570
|
g.decompose(o.position, o.quaternion, o.scale);
|
|
28571
28571
|
const A = o.opacityMesh;
|
|
28572
28572
|
A && g.decompose(A.position, A.quaternion, A.scale);
|
|
@@ -28685,7 +28685,7 @@ class J2 {
|
|
|
28685
28685
|
closeIntersectRaycaster() {
|
|
28686
28686
|
this.plugin.tags.forEach((t) => {
|
|
28687
28687
|
var e;
|
|
28688
|
-
|
|
28688
|
+
Ns((e = t == null ? void 0 : t.initialConfig) == null ? void 0 : e.visibleConfig).intersectRaycaster && (t.initialConfig.visibleConfig.intersectRaycaster.enabled = !1);
|
|
28689
28689
|
}), this.plugin.changeGlobalConfig({
|
|
28690
28690
|
visibleConfig: {
|
|
28691
28691
|
intersectRaycaster: {
|
|
@@ -31174,7 +31174,7 @@ class SM extends vM {
|
|
|
31174
31174
|
d(this, "cornerPositions", []);
|
|
31175
31175
|
d(this, "css3DInstance");
|
|
31176
31176
|
d(this, "plane");
|
|
31177
|
-
d(this, "css3DRenderer", new
|
|
31177
|
+
d(this, "css3DRenderer", new Rs());
|
|
31178
31178
|
d(this, "camera");
|
|
31179
31179
|
d(this, "scene");
|
|
31180
31180
|
d(this, "container");
|
|
@@ -31748,6 +31748,16 @@ class Js {
|
|
|
31748
31748
|
return i;
|
|
31749
31749
|
}
|
|
31750
31750
|
}
|
|
31751
|
+
function Gn(n, t, e, i = !0) {
|
|
31752
|
+
const s = new w.Plane().setFromNormalAndCoplanarPoint(t.direction.clone().normalize(), n), o = s.projectPoint(e.start, new w.Vector3()), r = s.projectPoint(e.end, new w.Vector3()), a = new w.Line3(o, r), l = a.closestPointToPoint(n, i, new w.Vector3()), c = l.distanceTo(r), h = l.distanceTo(o), u = a.distance();
|
|
31753
|
+
if (c > h && c > u) {
|
|
31754
|
+
const f = -l.distanceTo(o) / a.distance(), g = e.start.clone().sub(e.end).normalize();
|
|
31755
|
+
return e.start.sub(g.clone().multiplyScalar(f * e.distance()));
|
|
31756
|
+
} else {
|
|
31757
|
+
const f = l.distanceTo(o) / a.distance();
|
|
31758
|
+
return new w.Vector3().lerpVectors(e.start, e.end, f);
|
|
31759
|
+
}
|
|
31760
|
+
}
|
|
31751
31761
|
class LM extends Js {
|
|
31752
31762
|
constructor(...e) {
|
|
31753
31763
|
super(...e);
|
|
@@ -31839,16 +31849,11 @@ class LM extends Js {
|
|
|
31839
31849
|
case "z":
|
|
31840
31850
|
return a;
|
|
31841
31851
|
}
|
|
31842
|
-
})(), c = (
|
|
31843
|
-
|
|
31844
|
-
|
|
31845
|
-
|
|
31846
|
-
|
|
31847
|
-
case "z":
|
|
31848
|
-
return o;
|
|
31849
|
-
}
|
|
31850
|
-
})(), h = i.point.clone(), u = new w.Plane();
|
|
31851
|
-
u.setFromNormalAndCoplanarPoint(c, h), this.startInfo = { startVectorProject: h.clone().projectOnVector(l), directionVector: l, plane: u }, this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("moveStart"), this.isDragging = !0;
|
|
31852
|
+
})(), c = i.point.clone(), h = new w.Line3(
|
|
31853
|
+
c.clone().sub(l.normalize()),
|
|
31854
|
+
c.clone().add(l.normalize())
|
|
31855
|
+
);
|
|
31856
|
+
this.startInfo = { startVectorProject: c, line: h }, this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("moveStart"), this.isDragging = !0;
|
|
31852
31857
|
}
|
|
31853
31858
|
dragging(e) {
|
|
31854
31859
|
if (!this.isDragging || !this.startInfo)
|
|
@@ -31859,19 +31864,16 @@ class LM extends Js {
|
|
|
31859
31864
|
move(e) {
|
|
31860
31865
|
if (!this.startInfo)
|
|
31861
31866
|
return this.dragEnd();
|
|
31862
|
-
const {
|
|
31863
|
-
|
|
31864
|
-
|
|
31865
|
-
|
|
31866
|
-
h.setPosition(c);
|
|
31867
|
-
const u = r.position.clone().applyMatrix4(h);
|
|
31868
|
-
this.hooks.emit("wantToMove", u) || (r.applyMatrix4(h), o.copy(l), this.internalHooks.emit("applyObjectPosition", { matrix: h }), this.hooks.emit("move", u));
|
|
31867
|
+
const { line: i, startVectorProject: s } = this.startInfo, o = this.originObject3D, r = Gn(this.camera.position, e.ray, i, !1), a = r.clone().sub(s), l = new w.Matrix4();
|
|
31868
|
+
l.setPosition(a);
|
|
31869
|
+
const c = o.position.clone().applyMatrix4(l);
|
|
31870
|
+
this.hooks.emit("wantToMove", c) || (o.applyMatrix4(l), s.copy(r), this.internalHooks.emit("applyObjectPosition", { matrix: l }), this.hooks.emit("move", c));
|
|
31869
31871
|
}
|
|
31870
31872
|
dragEnd() {
|
|
31871
31873
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("moveEnd"));
|
|
31872
31874
|
}
|
|
31873
31875
|
}
|
|
31874
|
-
class
|
|
31876
|
+
class ws {
|
|
31875
31877
|
// eslint-disable-next-line max-params
|
|
31876
31878
|
constructor(t, e, i, s, o, r, a) {
|
|
31877
31879
|
d(this, "helperController");
|
|
@@ -32332,10 +32334,6 @@ function _M() {
|
|
|
32332
32334
|
}), i = new w.Mesh(t, e);
|
|
32333
32335
|
return i.renderOrder = 10, i;
|
|
32334
32336
|
}
|
|
32335
|
-
function Gs(n, t, e) {
|
|
32336
|
-
const i = new w.Plane().setFromNormalAndCoplanarPoint(t.direction.clone().normalize(), n), s = i.projectPoint(e.start, new w.Vector3()), o = i.projectPoint(e.end, new w.Vector3()), r = new w.Line3(s, o), l = r.closestPointToPoint(n, !0, new w.Vector3()).distanceTo(s) / r.distance();
|
|
32337
|
-
return new w.Vector3().lerpVectors(e.start, e.end, l);
|
|
32338
|
-
}
|
|
32339
32337
|
class WM extends Js {
|
|
32340
32338
|
constructor(...e) {
|
|
32341
32339
|
super(...e);
|
|
@@ -32347,7 +32345,7 @@ class WM extends Js {
|
|
|
32347
32345
|
this.isDragging = !0;
|
|
32348
32346
|
const { intersect: i } = e, s = this.camera.position, o = i.object, r = o.scalePosition.basePosition.clone(), l = o.scalePosition.handlePosition.clone().clone().sub(r).clone(), c = new w.Line3(r, r.clone().add(l.normalize().multiplyScalar(5)));
|
|
32349
32347
|
c.applyMatrix4(this.helperObject3D.matrixWorld);
|
|
32350
|
-
const h = new w.Ray(s, i.point.clone().sub(s)), u =
|
|
32348
|
+
const h = new w.Ray(s, i.point.clone().sub(s)), u = Gn(s, h, c);
|
|
32351
32349
|
this.startInfo = { line: c, scaleStartPoint: u, draggingObject: o }, this.hooks.emit("scaleStart");
|
|
32352
32350
|
});
|
|
32353
32351
|
d(this, "dragging", (e) => {
|
|
@@ -32360,7 +32358,7 @@ class WM extends Js {
|
|
|
32360
32358
|
var h, u;
|
|
32361
32359
|
if (!this.startInfo)
|
|
32362
32360
|
return;
|
|
32363
|
-
const { line: i, scaleStartPoint: s, draggingObject: o } = this.startInfo, { scalePosition: r } = o, { basePosition: a } = r, l = this.camera.position, c =
|
|
32361
|
+
const { line: i, scaleStartPoint: s, draggingObject: o } = this.startInfo, { scalePosition: r } = o, { basePosition: a } = r, l = this.camera.position, c = Gn(l, e.ray, i);
|
|
32364
32362
|
c.applyMatrix4(new w.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (u = (h = this.config) == null ? void 0 : h.scaleCallback) == null || u.call(h, {
|
|
32365
32363
|
ratio: c.distanceTo(a) / s.distanceTo(a),
|
|
32366
32364
|
intersectPoint: c,
|
|
@@ -32400,7 +32398,7 @@ class qg extends nn {
|
|
|
32400
32398
|
d(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
32401
32399
|
d(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
32402
32400
|
d(this, "css3DRender");
|
|
32403
|
-
this.five = e, this.css3DRender = new
|
|
32401
|
+
this.five = e, this.css3DRender = new Rs(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${al.toUpperCase()}_DEBUG__`]: this });
|
|
32404
32402
|
}
|
|
32405
32403
|
/**
|
|
32406
32404
|
* @description Show guide line
|
|
@@ -32475,15 +32473,15 @@ class qg extends nn {
|
|
|
32475
32473
|
return typeof E == "boolean" ? E : E.enable;
|
|
32476
32474
|
};
|
|
32477
32475
|
if (v(h)) {
|
|
32478
|
-
const E = D(D({}, this.getConfig(c.moveHelper)), c), I = new CM(e, D({}, E)), k = new
|
|
32476
|
+
const E = D(D({}, this.getConfig(c.moveHelper)), c), I = new CM(e, D({}, E)), k = new ws(this.five, LM, e, I, E, p, m);
|
|
32479
32477
|
s.addControllers({ moveController: k.helperController }), o.push(() => k.dispose());
|
|
32480
32478
|
}
|
|
32481
32479
|
if (v(u)) {
|
|
32482
|
-
const E = D(D({}, this.getConfig(c.rotateHelper)), c), I = new EM(e, D({ container: r }, E)), k = new
|
|
32480
|
+
const E = D(D({}, this.getConfig(c.rotateHelper)), c), I = new EM(e, D({ container: r }, E)), k = new ws(this.five, HM, e, I, E, p, m);
|
|
32483
32481
|
s.addControllers({ rotateController: k.helperController }), o.push(() => k.dispose());
|
|
32484
32482
|
}
|
|
32485
32483
|
if (v(g)) {
|
|
32486
|
-
const E = new TM(e), I = new
|
|
32484
|
+
const E = new TM(e), I = new ws(
|
|
32487
32485
|
this.five,
|
|
32488
32486
|
GM,
|
|
32489
32487
|
e,
|
|
@@ -32496,7 +32494,7 @@ class qg extends nn {
|
|
|
32496
32494
|
}
|
|
32497
32495
|
if (v(f))
|
|
32498
32496
|
if (e.isCSS3DObjectPlus && r) {
|
|
32499
|
-
const E = new SM(e, r, a, this.five.scene), I = new
|
|
32497
|
+
const E = new SM(e, r, a, this.five.scene), I = new ws(
|
|
32500
32498
|
this.five,
|
|
32501
32499
|
QM,
|
|
32502
32500
|
e,
|
|
@@ -32516,7 +32514,7 @@ class qg extends nn {
|
|
|
32516
32514
|
}
|
|
32517
32515
|
});
|
|
32518
32516
|
} else {
|
|
32519
|
-
const E = D(D({}, this.getConfig(c.scaleHelper)), c), I = new FM(e, E), k = new
|
|
32517
|
+
const E = D(D({}, this.getConfig(c.scaleHelper)), c), I = new FM(e, E), k = new ws(this.five, WM, e, I, E, p, m);
|
|
32520
32518
|
s.addControllers({ scaleController: k.helperController }), o.push(() => k.dispose());
|
|
32521
32519
|
}
|
|
32522
32520
|
return this.objectHelperMap.set(e, { helper: s, disposers: o }), s.controllers;
|
|
@@ -32717,7 +32715,7 @@ class Iu {
|
|
|
32717
32715
|
this.video.addEventListener(
|
|
32718
32716
|
"timeupdate",
|
|
32719
32717
|
() => {
|
|
32720
|
-
if (this.video.src !== "" && this.panoIndex === this.five.getCurrentState().panoIndex && this.five.getCurrentState().mode === "Panorama" && (this.renderFiveDisposer || (this.renderFiveDisposer =
|
|
32718
|
+
if (this.video.src !== "" && this.panoIndex === this.five.getCurrentState().panoIndex && this.five.getCurrentState().mode === "Panorama" && (this.renderFiveDisposer || (this.renderFiveDisposer = Yn(() => {
|
|
32721
32719
|
this.five.needsRender = !0;
|
|
32722
32720
|
}, 30)), this.five.scene.add(this.videoMesh), this.videoMesh.material.uniforms.opacity.value === 0)) {
|
|
32723
32721
|
const t = {
|
|
@@ -32765,7 +32763,7 @@ class Iu {
|
|
|
32765
32763
|
transparent: !0
|
|
32766
32764
|
}), r = new zm(1, 64, 64);
|
|
32767
32765
|
r.scale(-1, 1, 1);
|
|
32768
|
-
const a = new
|
|
32766
|
+
const a = new ks(r, o);
|
|
32769
32767
|
a.name = "pano-video", this.videoMesh = a, this.five.work && this.onFiveDataLoaded(), this.enabled && this.addEventListeners(), this.mountIfNeeded();
|
|
32770
32768
|
}
|
|
32771
32769
|
/** 传入的 ID,不可更改 */
|
|
@@ -33299,7 +33297,7 @@ class fk extends Mn {
|
|
|
33299
33297
|
flow() {
|
|
33300
33298
|
this.flowAnimationDisposer(), this.oldTime = (/* @__PURE__ */ new Date()).getTime();
|
|
33301
33299
|
let e = 0, i = 0;
|
|
33302
|
-
const s =
|
|
33300
|
+
const s = Yn(() => {
|
|
33303
33301
|
const o = (/* @__PURE__ */ new Date()).getTime(), r = o - this.oldTime, a = this.flowSpeed * (r / 1e3), l = this.rotateSpeed * (r / 1e3);
|
|
33304
33302
|
e = e + a, i = i + l;
|
|
33305
33303
|
const c = 1 / 360, h = i * c;
|
|
@@ -34602,7 +34600,7 @@ const Ba = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().i
|
|
|
34602
34600
|
function Ra(n, t, e, i) {
|
|
34603
34601
|
n.addEventListener ? n.addEventListener(t, e, i) : n.attachEvent && n.attachEvent("on".concat(t), e);
|
|
34604
34602
|
}
|
|
34605
|
-
function
|
|
34603
|
+
function Cs(n, t, e, i) {
|
|
34606
34604
|
n.removeEventListener ? n.removeEventListener(t, e, i) : n.detachEvent && n.detachEvent("on".concat(t), e);
|
|
34607
34605
|
}
|
|
34608
34606
|
function im(n, t) {
|
|
@@ -34711,7 +34709,7 @@ const Fs = {
|
|
|
34711
34709
|
}, We = {};
|
|
34712
34710
|
for (let n = 1; n < 20; n++)
|
|
34713
34711
|
Fs["f".concat(n)] = 111 + n;
|
|
34714
|
-
let Ne = [],
|
|
34712
|
+
let Ne = [], js = null, sm = "all";
|
|
34715
34713
|
const di = /* @__PURE__ */ new Map(), qs = (n) => Fs[n.toLowerCase()] || si[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), xk = (n) => Object.keys(Fs).find((t) => Fs[t] === n), Dk = (n) => Object.keys(si).find((t) => si[t] === n);
|
|
34716
34714
|
function om(n) {
|
|
34717
34715
|
sm = n || "all";
|
|
@@ -34897,11 +34895,11 @@ function ut(n, t, e) {
|
|
|
34897
34895
|
capture: u
|
|
34898
34896
|
}), Ra(r, "keydown", g, u), Ra(r, "keyup", A, u);
|
|
34899
34897
|
}
|
|
34900
|
-
if (!
|
|
34898
|
+
if (!js) {
|
|
34901
34899
|
const g = () => {
|
|
34902
34900
|
Ne = [];
|
|
34903
34901
|
};
|
|
34904
|
-
|
|
34902
|
+
js = {
|
|
34905
34903
|
listener: g,
|
|
34906
34904
|
capture: u
|
|
34907
34905
|
}, Ra(window, "focus", g, u);
|
|
@@ -34929,7 +34927,7 @@ function $l(n) {
|
|
|
34929
34927
|
keyupListenr: s,
|
|
34930
34928
|
capture: o
|
|
34931
34929
|
} = di.get(n) || {};
|
|
34932
|
-
i && s && (
|
|
34930
|
+
i && s && (Cs(n, "keyup", s, o), Cs(n, "keydown", i, o), di.delete(n));
|
|
34933
34931
|
}
|
|
34934
34932
|
if ((t.length <= 0 || di.size <= 0) && (Object.keys(di).forEach((s) => {
|
|
34935
34933
|
const {
|
|
@@ -34937,13 +34935,13 @@ function $l(n) {
|
|
|
34937
34935
|
keyupListenr: r,
|
|
34938
34936
|
capture: a
|
|
34939
34937
|
} = di.get(s) || {};
|
|
34940
|
-
o && r && (
|
|
34941
|
-
}), di.clear(), Object.keys(We).forEach((s) => delete We[s]),
|
|
34938
|
+
o && r && (Cs(s, "keyup", r, a), Cs(s, "keydown", o, a), di.delete(s));
|
|
34939
|
+
}), di.clear(), Object.keys(We).forEach((s) => delete We[s]), js)) {
|
|
34942
34940
|
const {
|
|
34943
34941
|
listener: s,
|
|
34944
34942
|
capture: o
|
|
34945
|
-
} =
|
|
34946
|
-
|
|
34943
|
+
} = js;
|
|
34944
|
+
Cs(window, "focus", s, o), js = null;
|
|
34947
34945
|
}
|
|
34948
34946
|
}
|
|
34949
34947
|
const Va = {
|
|
@@ -34967,7 +34965,7 @@ if (typeof window != "undefined") {
|
|
|
34967
34965
|
const n = window.hotkeys;
|
|
34968
34966
|
ut.noConflict = (t) => (t && window.hotkeys === ut && (window.hotkeys = n), ut), window.hotkeys = ut;
|
|
34969
34967
|
}
|
|
34970
|
-
const Vk = 16777215, Su = 16777215, Hk = 2,
|
|
34968
|
+
const Vk = 16777215, Su = 16777215, Hk = 2, Fn = 0.6, Nk = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
|
|
34971
34969
|
let Tu = null;
|
|
34972
34970
|
class Ws extends Lt {
|
|
34973
34971
|
constructor(e) {
|
|
@@ -35009,7 +35007,7 @@ class Ws extends Lt {
|
|
|
35009
35007
|
Me(e.color) && (this.fontMesh.material.setValues({ color: e.color }), this.backgroundMesh.material.setValues({ color: e.color })), Me(e.size) && (this.fontMesh.material.setValues({ side: e.size }), this.backgroundMesh.material.setValues({ side: e.size })), Me(e.occlusionVisibility) && (this.backgroundMesh.visible = e.occlusionVisibility);
|
|
35010
35008
|
}
|
|
35011
35009
|
highlight() {
|
|
35012
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight *
|
|
35010
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * Fn }));
|
|
35013
35011
|
}
|
|
35014
35012
|
unhighlight() {
|
|
35015
35013
|
this.highlighted && (this.highlighted = !1, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight }));
|
|
@@ -35100,7 +35098,7 @@ class en extends Lt {
|
|
|
35100
35098
|
Me(e.lineColor) && (this.line.material.three_color = new w.Color(e.lineColor), this.backLine.material.three_color = new w.Color(e.lineColor)), Me(e.lineWidth) && (this.line.material.linewidth = e.lineWidth, this.backLine.material.linewidth = e.lineWidth), Me(e.dashed) && (this.line.material.setDashed(e.dashed), this.backLine.material.setDashed(e.dashed)), Me(e.occlusionVisibility) && (this.backLine.visible = e.occlusionVisibility), this.needsRender = !0;
|
|
35101
35099
|
}
|
|
35102
35100
|
highlight() {
|
|
35103
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line.material.opacity, this.line.material.opacity = this.opacityBeforeHighlight *
|
|
35101
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line.material.opacity, this.line.material.opacity = this.opacityBeforeHighlight * Fn, this.backLine.material.opacity = this.backLine.material.opacity * Fn, this.needsRender = !0);
|
|
35104
35102
|
}
|
|
35105
35103
|
unhighlight() {
|
|
35106
35104
|
this.highlighted && (this.highlighted = !1, this.line.material.opacity = this.opacityBeforeHighlight, this.backLine.material.opacity = 0.2, this.needsRender = !0);
|
|
@@ -35163,7 +35161,7 @@ class am extends Lt {
|
|
|
35163
35161
|
d(this, "lines", []);
|
|
35164
35162
|
d(this, "withDots");
|
|
35165
35163
|
d(this, "paramsStyle");
|
|
35166
|
-
const r = e, { withDots: i, points: s } = r, o =
|
|
35164
|
+
const r = e, { withDots: i, points: s } = r, o = ms(r, ["withDots", "points"]);
|
|
35167
35165
|
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o);
|
|
35168
35166
|
}
|
|
35169
35167
|
get lineColor() {
|
|
@@ -35216,7 +35214,7 @@ class am extends Lt {
|
|
|
35216
35214
|
this.lines.forEach((e) => e.unhighlight());
|
|
35217
35215
|
}
|
|
35218
35216
|
}
|
|
35219
|
-
class
|
|
35217
|
+
class _n extends am {
|
|
35220
35218
|
constructor(...e) {
|
|
35221
35219
|
super(se(D({}, e[0]), { withDots: !1 }));
|
|
35222
35220
|
d(this, "name", "PolylineMesh");
|
|
@@ -35405,7 +35403,7 @@ function _k(n, t) {
|
|
|
35405
35403
|
const e = n.parent;
|
|
35406
35404
|
if (!e)
|
|
35407
35405
|
return;
|
|
35408
|
-
const i = new
|
|
35406
|
+
const i = new _n({ dashed: !0, lineColor: n.lineColor, lineWidth: n.lineWidth });
|
|
35409
35407
|
return e.add(i), t.enable(), new Promise((s, o) => {
|
|
35410
35408
|
const r = [], a = (c) => {
|
|
35411
35409
|
const h = c.point;
|
|
@@ -35575,7 +35573,7 @@ class or extends tc {
|
|
|
35575
35573
|
return e && (this.planeHelperNeedUpdate && this.updatePlaneHelper(), this.planeHelper ? this.planeHelper.projectPoint(e, new w.Vector3()) : e);
|
|
35576
35574
|
}
|
|
35577
35575
|
highlight() {
|
|
35578
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity *
|
|
35576
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity * Fn }), this.needsRender = !0);
|
|
35579
35577
|
}
|
|
35580
35578
|
unhighlight() {
|
|
35581
35579
|
this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
|
|
@@ -35586,10 +35584,10 @@ class or extends tc {
|
|
|
35586
35584
|
}
|
|
35587
35585
|
class rr extends or {
|
|
35588
35586
|
constructor(e) {
|
|
35589
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
35587
|
+
const o = e != null ? e : {}, { points: i } = o, s = ms(o, ["points"]);
|
|
35590
35588
|
super();
|
|
35591
35589
|
d(this, "name", "PolygonWithEdgeMesh");
|
|
35592
|
-
d(this, "line", new
|
|
35590
|
+
d(this, "line", new _n());
|
|
35593
35591
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
35594
35592
|
}
|
|
35595
35593
|
get lineWidth() {
|
|
@@ -35675,9 +35673,9 @@ function cm(n, t) {
|
|
|
35675
35673
|
i(new Error("No container"));
|
|
35676
35674
|
return;
|
|
35677
35675
|
}
|
|
35678
|
-
const o = new
|
|
35676
|
+
const o = new _n({ dashed: !0, lineColor: n.lineColor, lineWidth: n.lineWidth });
|
|
35679
35677
|
s == null || s.add(o);
|
|
35680
|
-
const r = new
|
|
35678
|
+
const r = new _n({ dashed: !0, lineColor: n.lineColor, lineWidth: n.lineWidth });
|
|
35681
35679
|
s == null || s.add(r), t.enable();
|
|
35682
35680
|
const a = [];
|
|
35683
35681
|
let l, c = !1;
|
|
@@ -35856,7 +35854,7 @@ function Zk(n, t) {
|
|
|
35856
35854
|
}, u = (A) => {
|
|
35857
35855
|
if (!(A != null && A.raycaster))
|
|
35858
35856
|
return;
|
|
35859
|
-
const p =
|
|
35857
|
+
const p = Gn(
|
|
35860
35858
|
$e.modules.five.camera.position,
|
|
35861
35859
|
A.raycaster.ray,
|
|
35862
35860
|
new w.Line3(r, a)
|
|
@@ -35923,12 +35921,12 @@ class hm extends or {
|
|
|
35923
35921
|
this.up.copy(Kk(i, $e.modules.five.camera.position)), this.points = i, this.geometry = new qk(i), this.planeHelperNeedUpdate = !0;
|
|
35924
35922
|
}
|
|
35925
35923
|
}
|
|
35926
|
-
class
|
|
35924
|
+
class zs extends hm {
|
|
35927
35925
|
constructor(e) {
|
|
35928
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
35926
|
+
const o = e != null ? e : {}, { points: i } = o, s = ms(o, ["points"]);
|
|
35929
35927
|
super();
|
|
35930
35928
|
d(this, "name", "RectangleWithEdgeMesh");
|
|
35931
|
-
d(this, "line", new
|
|
35929
|
+
d(this, "line", new _n());
|
|
35932
35930
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
35933
35931
|
}
|
|
35934
35932
|
get lineWidth() {
|
|
@@ -35958,7 +35956,7 @@ class Nu extends ji {
|
|
|
35958
35956
|
super(e, i);
|
|
35959
35957
|
d(this, "type", "Rectangle");
|
|
35960
35958
|
d(this, "rectangleMesh");
|
|
35961
|
-
this.config.canEdit && (this.editor = new Jk(this)), e && (this.rectangleMesh = new
|
|
35959
|
+
this.config.canEdit && (this.editor = new Jk(this)), e && (this.rectangleMesh = new zs(D(D({}, e.style), e)), this.add(this.rectangleMesh)), ut("esc", () => {
|
|
35962
35960
|
this.stopCreating();
|
|
35963
35961
|
});
|
|
35964
35962
|
}
|
|
@@ -35983,7 +35981,7 @@ class Nu extends ji {
|
|
|
35983
35981
|
create(e) {
|
|
35984
35982
|
return Q(this, null, function* () {
|
|
35985
35983
|
this.removeChildren();
|
|
35986
|
-
const i = new
|
|
35984
|
+
const i = new zs(e);
|
|
35987
35985
|
this.rectangleMesh = i, this.add(this.rectangleMesh), yield dm(this.rectangleMesh, this.pointSelector), this.editor.enable();
|
|
35988
35986
|
});
|
|
35989
35987
|
}
|
|
@@ -36052,7 +36050,7 @@ class e3 extends tc {
|
|
|
36052
36050
|
this.geometry = new w.CircleGeometry(o, r), this.position.copy(i), this.lookAt(s.clone().add(i)), this.normal = s.clone().normalize(), this.needsRender = !0;
|
|
36053
36051
|
}
|
|
36054
36052
|
highlight() {
|
|
36055
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity *
|
|
36053
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity * Fn }), this.needsRender = !0);
|
|
36056
36054
|
}
|
|
36057
36055
|
unhighlight() {
|
|
36058
36056
|
this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
|
|
@@ -36060,7 +36058,7 @@ class e3 extends tc {
|
|
|
36060
36058
|
}
|
|
36061
36059
|
class lr extends e3 {
|
|
36062
36060
|
constructor(e) {
|
|
36063
|
-
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r =
|
|
36061
|
+
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = ms(a, ["normal", "radius", "center"]);
|
|
36064
36062
|
super(r);
|
|
36065
36063
|
d(this, "edgeLine");
|
|
36066
36064
|
this.edgeLine = new en(r), this.add(this.edgeLine), i && s && o && this.setPoints({ normal: i, radius: s, center: o });
|
|
@@ -36124,7 +36122,7 @@ function fm(n, t) {
|
|
|
36124
36122
|
i(new Error("No container"));
|
|
36125
36123
|
return;
|
|
36126
36124
|
}
|
|
36127
|
-
const o = new
|
|
36125
|
+
const o = new _n({ dashed: !0 });
|
|
36128
36126
|
s.add(o), t.enable();
|
|
36129
36127
|
let r, a;
|
|
36130
36128
|
const l = (f) => {
|
|
@@ -36194,7 +36192,7 @@ class Gu extends Lt {
|
|
|
36194
36192
|
this.params = D(D({}, this.params), e), Me(e.color) && this.bottomCircle.setStyle({ color: e.color }), Me(e.color) && this.topCircle.setStyle({ color: e.color });
|
|
36195
36193
|
}
|
|
36196
36194
|
highlight() {
|
|
36197
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.edgeMesh.opacity, this.edgeMesh.setStyle({ opacity: this.edgeMesh.opacity *
|
|
36195
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.edgeMesh.opacity, this.edgeMesh.setStyle({ opacity: this.edgeMesh.opacity * Fn }), this.bottomCircle.highlight(), this.topCircle.highlight(), this.needsRender = !0);
|
|
36198
36196
|
}
|
|
36199
36197
|
unhighlight() {
|
|
36200
36198
|
this.highlighted && (this.highlighted = !1, this.edgeMesh.setStyle({ opacity: this.opacityBeforeHighlight }), this.bottomCircle.unhighlight(), this.topCircle.unhighlight(), this.needsRender = !0);
|
|
@@ -36294,7 +36292,7 @@ function i3(n, t) {
|
|
|
36294
36292
|
}, u = (A) => {
|
|
36295
36293
|
if (!(A != null && A.raycaster))
|
|
36296
36294
|
return;
|
|
36297
|
-
const p =
|
|
36295
|
+
const p = Gn(
|
|
36298
36296
|
$e.modules.five.camera.position,
|
|
36299
36297
|
A.raycaster.ray,
|
|
36300
36298
|
new w.Line3(r, a)
|
|
@@ -36356,7 +36354,7 @@ class _u extends Lt {
|
|
|
36356
36354
|
d(this, "topPlane");
|
|
36357
36355
|
d(this, "heightPoint");
|
|
36358
36356
|
d(this, "edgePlanes", []);
|
|
36359
|
-
this.bottomPlane = new
|
|
36357
|
+
this.bottomPlane = new zs(e), this.topPlane = new zs(e), this.add(this.bottomPlane), e != null && e.points && this.setPoints(e);
|
|
36360
36358
|
}
|
|
36361
36359
|
get planes() {
|
|
36362
36360
|
return this.children.filter((e) => e instanceof hm);
|
|
@@ -36399,7 +36397,7 @@ class _u extends Lt {
|
|
|
36399
36397
|
setEdgePlanes() {
|
|
36400
36398
|
for (let e = 0; e < 4; e++) {
|
|
36401
36399
|
let i = this.edgePlanes[e];
|
|
36402
|
-
i || (this.edgePlanes[e] = new
|
|
36400
|
+
i || (this.edgePlanes[e] = new zs({
|
|
36403
36401
|
color: this.color,
|
|
36404
36402
|
lineColor: this.lineColor,
|
|
36405
36403
|
lineWidth: this.lineWidth,
|
|
@@ -36468,7 +36466,7 @@ function s3(n, t) {
|
|
|
36468
36466
|
}, u = (A) => {
|
|
36469
36467
|
if (!(A != null && A.raycaster))
|
|
36470
36468
|
return;
|
|
36471
|
-
const p =
|
|
36469
|
+
const p = Gn(
|
|
36472
36470
|
$e.modules.five.camera.position,
|
|
36473
36471
|
A.raycaster.ray,
|
|
36474
36472
|
new w.Line3(l, c)
|
|
@@ -36483,13 +36481,13 @@ function s3(n, t) {
|
|
|
36483
36481
|
});
|
|
36484
36482
|
});
|
|
36485
36483
|
}
|
|
36486
|
-
const
|
|
36484
|
+
const Os = class extends ii {
|
|
36487
36485
|
constructor(e, i) {
|
|
36488
36486
|
super();
|
|
36489
36487
|
d(this, "group");
|
|
36490
36488
|
d(this, "five");
|
|
36491
36489
|
d(this, "theme");
|
|
36492
|
-
this.five = e, this.theme = i, this.group = new Lt(), this.group.name = "Sculpt", e.scene.add(this.group),
|
|
36490
|
+
this.five = e, this.theme = i, this.group = new Lt(), this.group.name = "Sculpt", e.scene.add(this.group), Os.modules.init(e), Os.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: s }) => {
|
|
36493
36491
|
var r;
|
|
36494
36492
|
const o = tm((r = s == null ? void 0 : s[0]) == null ? void 0 : r.object, (a) => a.isSculptObject);
|
|
36495
36493
|
return o ? this.emit("click", o) : !1;
|
|
@@ -36536,7 +36534,7 @@ const zs = class extends ii {
|
|
|
36536
36534
|
putObject(e) {
|
|
36537
36535
|
var o;
|
|
36538
36536
|
this.group.add(e);
|
|
36539
|
-
const i =
|
|
36537
|
+
const i = Os.modules.object3DHelper, s = i.addObject3DHelper(e);
|
|
36540
36538
|
return (o = s == null ? void 0 : s.moveController) == null || o.moveByMouse(), i;
|
|
36541
36539
|
}
|
|
36542
36540
|
/**
|
|
@@ -36639,7 +36637,7 @@ const zs = class extends ii {
|
|
|
36639
36637
|
this.five.needsRender = !0;
|
|
36640
36638
|
}
|
|
36641
36639
|
};
|
|
36642
|
-
let $e =
|
|
36640
|
+
let $e = Os;
|
|
36643
36641
|
d($e, "modules", em);
|
|
36644
36642
|
const Wx = (n) => new $e(n);
|
|
36645
36643
|
function o3(n, ...t) {
|
|
@@ -36987,7 +36985,7 @@ Gm();
|
|
|
36987
36985
|
Qm();
|
|
36988
36986
|
export {
|
|
36989
36987
|
Fx as AreaMakerPlugin,
|
|
36990
|
-
|
|
36988
|
+
Rs as CSS3DRender,
|
|
36991
36989
|
pf as CSS3DRenderPlugin,
|
|
36992
36990
|
Z0 as CameraMovementEffect,
|
|
36993
36991
|
ix as CameraMovementPlugin,
|
|
@@ -36996,7 +36994,7 @@ export {
|
|
|
36996
36994
|
Zl as CruisePluginController,
|
|
36997
36995
|
jx as CruisePluginTypes,
|
|
36998
36996
|
_x as CurrentPanoImagePlugin,
|
|
36999
|
-
|
|
36997
|
+
Es as DIRECTION,
|
|
37000
36998
|
Pn as DISPLAY_STRATEGY_TYPE,
|
|
37001
36999
|
Tw as DimensionType,
|
|
37002
37000
|
Wi as FLOOR_PLAN_ATTACHED_TO,
|