@realsee/dnalogel 3.27.4 → 3.27.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +22 -22
- package/dist/index.js +513 -507
- package/dist/index.umd.js +24 -24
- 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 +26 -26
- 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 +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/PanoTagPlugin/controller/index.js +56 -50
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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 ps = (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
|
|
41
|
+
import { Vector3 as oe, LineSegments as wm, Group as xn, Raycaster as Un, MeshBasicMaterial as Rs, CanvasTexture as Cm, AnimationMixer as Pm, Color as Yn, TextureLoader as Zu, Vector2 as yt, Object3D as Im, PlaneGeometry as Em, sRGBEncoding as Mm, LinearFilter as Ha, Mesh as xs, 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 Is, 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.27.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.27.6",
|
|
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",
|
|
@@ -245,7 +245,7 @@ var Gt = Object.freeze({
|
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
}),
|
|
248
|
+
}), Pn = function() {
|
|
249
249
|
return performance.now();
|
|
250
250
|
}, ef = (
|
|
251
251
|
/** @class */
|
|
@@ -265,7 +265,7 @@ var Gt = Object.freeze({
|
|
|
265
265
|
}, n.prototype.remove = function(t) {
|
|
266
266
|
delete this._tweens[t.getId()], delete this._tweensAddedDuringUpdate[t.getId()];
|
|
267
267
|
}, n.prototype.update = function(t, e) {
|
|
268
|
-
t === void 0 && (t =
|
|
268
|
+
t === void 0 && (t = Pn()), e === void 0 && (e = !1);
|
|
269
269
|
var i = Object.keys(this._tweens);
|
|
270
270
|
if (i.length === 0)
|
|
271
271
|
return !1;
|
|
@@ -350,7 +350,7 @@ var Gt = Object.freeze({
|
|
|
350
350
|
}, n.prototype.dynamic = function(t) {
|
|
351
351
|
return t === void 0 && (t = !1), this._isDynamic = t, this;
|
|
352
352
|
}, n.prototype.start = function(t, e) {
|
|
353
|
-
if (t === void 0 && (t =
|
|
353
|
+
if (t === void 0 && (t = Pn()), e === void 0 && (e = !1), this._isPlaying)
|
|
354
354
|
return this;
|
|
355
355
|
if (this._group && this._group.add(this), this._repeat = this._initialRepeat, this._reversed) {
|
|
356
356
|
this._reversed = !1;
|
|
@@ -410,9 +410,9 @@ var Gt = Object.freeze({
|
|
|
410
410
|
}, n.prototype.end = function() {
|
|
411
411
|
return this._goToEnd = !0, this.update(1 / 0), this;
|
|
412
412
|
}, n.prototype.pause = function(t) {
|
|
413
|
-
return t === void 0 && (t =
|
|
413
|
+
return t === void 0 && (t = Pn()), this._isPaused || !this._isPlaying ? this : (this._isPaused = !0, this._pauseStart = t, this._group && this._group.remove(this), this);
|
|
414
414
|
}, n.prototype.resume = function(t) {
|
|
415
|
-
return t === void 0 && (t =
|
|
415
|
+
return t === void 0 && (t = Pn()), !this._isPaused || !this._isPlaying ? this : (this._isPaused = !1, this._startTime += t - this._pauseStart, this._pauseStart = 0, this._group && this._group.add(this), this);
|
|
416
416
|
}, n.prototype.stopChainedTweens = function() {
|
|
417
417
|
for (var t = 0, e = this._chainedTweens.length; t < e; t++)
|
|
418
418
|
this._chainedTweens[t].stop();
|
|
@@ -449,7 +449,7 @@ var Gt = Object.freeze({
|
|
|
449
449
|
return this._onStopCallback = t, this;
|
|
450
450
|
}, n.prototype.update = function(t, e) {
|
|
451
451
|
var i = this, s;
|
|
452
|
-
if (t === void 0 && (t =
|
|
452
|
+
if (t === void 0 && (t = Pn()), e === void 0 && (e = !0), this._isPaused)
|
|
453
453
|
return !0;
|
|
454
454
|
var o, r = this._startTime + this._duration;
|
|
455
455
|
if (!this._goToEnd && !this._isPlaying) {
|
|
@@ -499,7 +499,7 @@ var Gt = Object.freeze({
|
|
|
499
499
|
Easing: Gt,
|
|
500
500
|
Group: ef,
|
|
501
501
|
Interpolation: Fi,
|
|
502
|
-
now:
|
|
502
|
+
now: Pn,
|
|
503
503
|
Sequence: dl,
|
|
504
504
|
nextId: Ym,
|
|
505
505
|
Tween: hr,
|
|
@@ -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 Ds = Symbol("$$PAINT_BRUSH_EVENT$$");
|
|
522
522
|
function Ao(n) {
|
|
523
|
-
return n[
|
|
523
|
+
return n[Ds] || (n[Ds] = {}), n[Ds];
|
|
524
524
|
}
|
|
525
525
|
function $m(n) {
|
|
526
|
-
n[
|
|
526
|
+
n[Ds] || delete n[Ds];
|
|
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 Ss = rp("$$EVENT$$");
|
|
1248
1248
|
function vo(n) {
|
|
1249
|
-
return n[
|
|
1249
|
+
return n[Ss] || (n[Ss] = {}), n[Ss];
|
|
1250
1250
|
}
|
|
1251
1251
|
function ap(n) {
|
|
1252
|
-
n[
|
|
1252
|
+
n[Ss] && delete n[Ss];
|
|
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", Es = `${Fa}@${Ap}`, pn = () => {
|
|
1512
|
+
console.error(`${Es} 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 Vs {
|
|
1532
1532
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
1533
1533
|
constructor(t) {
|
|
1534
1534
|
d(this, "hooks", new ii());
|
|
@@ -1577,7 +1577,7 @@ class Rs {
|
|
|
1577
1577
|
*/
|
|
1578
1578
|
d(this, "create3DElement", (t, e, i) => {
|
|
1579
1579
|
if (this.state.disposed)
|
|
1580
|
-
return
|
|
1580
|
+
return pn();
|
|
1581
1581
|
const s = (() => {
|
|
1582
1582
|
const k = {
|
|
1583
1583
|
ratio: 216e-5,
|
|
@@ -1591,7 +1591,7 @@ class Rs {
|
|
|
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(`${Es}: 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 });
|
|
@@ -1659,7 +1659,7 @@ class Rs {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
setState(t, e = { userAction: !0 }) {
|
|
1661
1661
|
if (this.state.disposed)
|
|
1662
|
-
return
|
|
1662
|
+
return pn();
|
|
1663
1663
|
const i = D({}, this.state);
|
|
1664
1664
|
this.state = Object.assign(this.state, t), i.visible !== this.state.visible && (t.visible ? this.handleShow() : this.handleHide()), i.enabled !== this.state.enabled && (t.enabled ? this.handleEnable() : this.handleDisable()), i.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e.userAction });
|
|
1665
1665
|
}
|
|
@@ -1669,25 +1669,25 @@ class Rs {
|
|
|
1669
1669
|
show() {
|
|
1670
1670
|
return Q(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
|
|
1671
1671
|
if (this.state.disposed)
|
|
1672
|
-
return
|
|
1672
|
+
return pn();
|
|
1673
1673
|
this.setState({ visible: !0 }, { userAction: t }), this.hooks.emit("show", { userAction: t });
|
|
1674
1674
|
});
|
|
1675
1675
|
}
|
|
1676
1676
|
hide() {
|
|
1677
1677
|
return Q(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
|
|
1678
1678
|
if (this.state.disposed)
|
|
1679
|
-
return
|
|
1679
|
+
return pn();
|
|
1680
1680
|
this.setState({ visible: !1 }, { userAction: t }), this.hooks.emit("hide", { userAction: t });
|
|
1681
1681
|
});
|
|
1682
1682
|
}
|
|
1683
1683
|
enable({ userAction: t } = { userAction: !0 }) {
|
|
1684
1684
|
if (this.state.disposed)
|
|
1685
|
-
return
|
|
1685
|
+
return pn();
|
|
1686
1686
|
this.setState({ enabled: !0 }, { userAction: t }), this.hooks.emit("enable", { userAction: t });
|
|
1687
1687
|
}
|
|
1688
1688
|
disable({ userAction: t } = { userAction: !0 }) {
|
|
1689
1689
|
if (this.state.disposed)
|
|
1690
|
-
return
|
|
1690
|
+
return pn();
|
|
1691
1691
|
this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
|
|
1692
1692
|
}
|
|
1693
1693
|
getFrontCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
|
|
@@ -1709,7 +1709,7 @@ class Rs {
|
|
|
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(`${Es}: scene is required when mode is behind`);
|
|
1713
1713
|
return;
|
|
1714
1714
|
}
|
|
1715
1715
|
const r = new gp(o);
|
|
@@ -1735,13 +1735,13 @@ class Rs {
|
|
|
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(`${Es}: 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(`${Es}: css3DScene is required when mode is behind`);
|
|
1745
1745
|
Ke.behindModeStore.css3DRenderer.renderEveryFrame(s, t);
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
@@ -1773,7 +1773,7 @@ class Rs {
|
|
|
1773
1773
|
this.handleDisable();
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
|
-
d(
|
|
1776
|
+
d(Vs, "setFrontModeContainer", vp), d(Vs, "setBehindModeContainer", bp);
|
|
1777
1777
|
function of(n) {
|
|
1778
1778
|
return Q(this, null, function* () {
|
|
1779
1779
|
return new Promise((t) => {
|
|
@@ -1854,7 +1854,7 @@ let yp = class {
|
|
|
1854
1854
|
function Nt(n) {
|
|
1855
1855
|
return n.toLowerCase().includes("panorama");
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1857
|
+
function jn(n) {
|
|
1858
1858
|
return !Nt(n);
|
|
1859
1859
|
}
|
|
1860
1860
|
function wp(n) {
|
|
@@ -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 = Xn((i) => this.update(i)), this;
|
|
2288
2288
|
});
|
|
2289
2289
|
d(this, "stop", () => {
|
|
2290
2290
|
var e;
|
|
@@ -2296,28 +2296,28 @@ class Ji extends hr {
|
|
|
2296
2296
|
});
|
|
2297
2297
|
}
|
|
2298
2298
|
}
|
|
2299
|
-
function
|
|
2299
|
+
function zn(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 Hs = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), zp = window.cancelAnimationFrame || clearTimeout;
|
|
2304
2304
|
function dr(n, t = 0) {
|
|
2305
|
-
t <= 0 ?
|
|
2305
|
+
t <= 0 ? Hs(n) : Hs(() => dr(n, t - 1));
|
|
2306
2306
|
}
|
|
2307
|
-
function
|
|
2307
|
+
function Xn(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 = Hs(r), !(a - i < o) && (i = a, n == null || n(a - s));
|
|
2312
2312
|
}
|
|
2313
|
-
return e =
|
|
2313
|
+
return e = Hs(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
|
+
Hs(() => {
|
|
2321
2321
|
t(Date.now() - n);
|
|
2322
2322
|
});
|
|
2323
2323
|
});
|
|
@@ -2395,16 +2395,16 @@ const j3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2395
2395
|
getIntersectFromRelativePosition: Ep,
|
|
2396
2396
|
getRaycasterFromFivePointer: Ip,
|
|
2397
2397
|
isAbsoluteURL: gf,
|
|
2398
|
-
isModelLike:
|
|
2398
|
+
isModelLike: jn,
|
|
2399
2399
|
isNil: Us,
|
|
2400
2400
|
isPanoramaLike: Nt,
|
|
2401
2401
|
nextFrame: dr,
|
|
2402
2402
|
notNil: Me,
|
|
2403
|
-
requestAnimationFrameInterval:
|
|
2404
|
-
tweenProgress:
|
|
2403
|
+
requestAnimationFrameInterval: Xn,
|
|
2404
|
+
tweenProgress: zn,
|
|
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 Vs {
|
|
2408
2408
|
constructor(e) {
|
|
2409
2409
|
super();
|
|
2410
2410
|
d(this, "five");
|
|
@@ -2531,7 +2531,7 @@ const O3 = (n) => {
|
|
|
2531
2531
|
n.off("intersectionOnModelUpdate", e), n.off("intersectionHidden", i);
|
|
2532
2532
|
});
|
|
2533
2533
|
const s = (h, u = 2, f = 0.1) => {
|
|
2534
|
-
const g = u / 2, p = c(h, f), m = new
|
|
2534
|
+
const g = u / 2, p = c(h, f), m = new xn();
|
|
2535
2535
|
m.add(
|
|
2536
2536
|
ua(
|
|
2537
2537
|
new oe(p.x + g, p.y, p.z),
|
|
@@ -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 Un(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 Zn(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 Xn(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 Jn(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 Zn(n, t, e, i) {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
return t.dirty;
|
|
2628
2628
|
}
|
|
2629
|
-
function
|
|
2629
|
+
function qn(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 Kn(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++)
|
|
@@ -2653,20 +2653,20 @@ function mc(n) {
|
|
|
2653
2653
|
}
|
|
2654
2654
|
const yf = typeof window != "undefined";
|
|
2655
2655
|
let Al = yf ? () => window.performance.now() : () => Date.now(), vl = yf ? (n) => requestAnimationFrame(n) : Z;
|
|
2656
|
-
const
|
|
2656
|
+
const Dn = /* @__PURE__ */ new Set();
|
|
2657
2657
|
function wf(n) {
|
|
2658
|
-
|
|
2659
|
-
t.c(n) || (
|
|
2660
|
-
}),
|
|
2658
|
+
Dn.forEach((t) => {
|
|
2659
|
+
t.c(n) || (Dn.delete(t), t.f());
|
|
2660
|
+
}), Dn.size !== 0 && vl(wf);
|
|
2661
2661
|
}
|
|
2662
2662
|
function bl(n) {
|
|
2663
2663
|
let t;
|
|
2664
|
-
return
|
|
2664
|
+
return Dn.size === 0 && vl(wf), {
|
|
2665
2665
|
promise: new Promise((e) => {
|
|
2666
|
-
|
|
2666
|
+
Dn.add(t = { c: n, f: e });
|
|
2667
2667
|
}),
|
|
2668
2668
|
abort() {
|
|
2669
|
-
|
|
2669
|
+
Dn.delete(t);
|
|
2670
2670
|
}
|
|
2671
2671
|
};
|
|
2672
2672
|
}
|
|
@@ -2837,14 +2837,14 @@ function Zp() {
|
|
|
2837
2837
|
}), Wo.clear());
|
|
2838
2838
|
});
|
|
2839
2839
|
}
|
|
2840
|
-
let
|
|
2840
|
+
let Ns;
|
|
2841
2841
|
function gi(n) {
|
|
2842
|
-
|
|
2842
|
+
Ns = n;
|
|
2843
2843
|
}
|
|
2844
2844
|
function Si() {
|
|
2845
|
-
if (!
|
|
2845
|
+
if (!Ns)
|
|
2846
2846
|
throw new Error("Function called outside component initialization");
|
|
2847
|
-
return
|
|
2847
|
+
return Ns;
|
|
2848
2848
|
}
|
|
2849
2849
|
function Ef(n) {
|
|
2850
2850
|
Si().$$.before_update.push(n);
|
|
@@ -2877,12 +2877,12 @@ function Wa(n, t) {
|
|
|
2877
2877
|
function Ii(n) {
|
|
2878
2878
|
return Si().$$.context.get(n);
|
|
2879
2879
|
}
|
|
2880
|
-
function
|
|
2880
|
+
function $n(n, t) {
|
|
2881
2881
|
const e = n.$$.callbacks[t.type];
|
|
2882
2882
|
e && e.slice().forEach((i) => i.call(this, t));
|
|
2883
2883
|
}
|
|
2884
|
-
const
|
|
2885
|
-
let
|
|
2884
|
+
const Cn = [], _e = [];
|
|
2885
|
+
let Sn = [];
|
|
2886
2886
|
const Ua = [], kf = /* @__PURE__ */ Promise.resolve();
|
|
2887
2887
|
let Ya = !1;
|
|
2888
2888
|
function xf() {
|
|
@@ -2892,34 +2892,34 @@ function pc() {
|
|
|
2892
2892
|
return xf(), kf;
|
|
2893
2893
|
}
|
|
2894
2894
|
function Xe(n) {
|
|
2895
|
-
|
|
2895
|
+
Sn.push(n);
|
|
2896
2896
|
}
|
|
2897
2897
|
function Cl(n) {
|
|
2898
2898
|
Ua.push(n);
|
|
2899
2899
|
}
|
|
2900
2900
|
const fa = /* @__PURE__ */ new Set();
|
|
2901
|
-
let
|
|
2901
|
+
let An = 0;
|
|
2902
2902
|
function Pl() {
|
|
2903
|
-
if (
|
|
2903
|
+
if (An !== 0)
|
|
2904
2904
|
return;
|
|
2905
|
-
const n =
|
|
2905
|
+
const n = Ns;
|
|
2906
2906
|
do {
|
|
2907
2907
|
try {
|
|
2908
|
-
for (;
|
|
2909
|
-
const t =
|
|
2910
|
-
|
|
2908
|
+
for (; An < Cn.length; ) {
|
|
2909
|
+
const t = Cn[An];
|
|
2910
|
+
An++, gi(t), Jp(t.$$);
|
|
2911
2911
|
}
|
|
2912
2912
|
} catch (t) {
|
|
2913
|
-
throw
|
|
2913
|
+
throw Cn.length = 0, An = 0, t;
|
|
2914
2914
|
}
|
|
2915
|
-
for (gi(null),
|
|
2915
|
+
for (gi(null), Cn.length = 0, An = 0; _e.length; )
|
|
2916
2916
|
_e.pop()();
|
|
2917
|
-
for (let t = 0; t <
|
|
2918
|
-
const e =
|
|
2917
|
+
for (let t = 0; t < Sn.length; t += 1) {
|
|
2918
|
+
const e = Sn[t];
|
|
2919
2919
|
fa.has(e) || (fa.add(e), e());
|
|
2920
2920
|
}
|
|
2921
|
-
|
|
2922
|
-
} while (
|
|
2921
|
+
Sn.length = 0;
|
|
2922
|
+
} while (Cn.length);
|
|
2923
2923
|
for (; Ua.length; )
|
|
2924
2924
|
Ua.pop()();
|
|
2925
2925
|
Ya = !1, fa.clear(), gi(n);
|
|
@@ -2933,13 +2933,13 @@ function Jp(n) {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
function qp(n) {
|
|
2935
2935
|
const t = [], e = [];
|
|
2936
|
-
|
|
2936
|
+
Sn.forEach((i) => n.indexOf(i) === -1 ? t.push(i) : e.push(i)), e.forEach((i) => i()), Sn = t;
|
|
2937
2937
|
}
|
|
2938
|
-
let
|
|
2938
|
+
let As;
|
|
2939
2939
|
function Il() {
|
|
2940
|
-
return
|
|
2941
|
-
|
|
2942
|
-
})),
|
|
2940
|
+
return As || (As = Promise.resolve(), As.then(() => {
|
|
2941
|
+
As = null;
|
|
2942
|
+
})), As;
|
|
2943
2943
|
}
|
|
2944
2944
|
function _i(n, t, e) {
|
|
2945
2945
|
n.dispatchEvent(If(`${t ? "intro" : "outro"}${e}`));
|
|
@@ -2971,7 +2971,7 @@ function O(n, t, e, i) {
|
|
|
2971
2971
|
i && i();
|
|
2972
2972
|
}
|
|
2973
2973
|
const El = { duration: 0 };
|
|
2974
|
-
function
|
|
2974
|
+
function nn(n, t, e) {
|
|
2975
2975
|
const i = { direction: "in" };
|
|
2976
2976
|
let s = t(n, e, i), o = !1, r, a, l = 0;
|
|
2977
2977
|
function c() {
|
|
@@ -3006,7 +3006,7 @@ function tn(n, t, e) {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
};
|
|
3008
3008
|
}
|
|
3009
|
-
function
|
|
3009
|
+
function es(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;
|
|
@@ -3193,10 +3193,10 @@ function ie(n, t) {
|
|
|
3193
3193
|
e.fragment !== null && (qp(e.after_update), et(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
|
|
3194
3194
|
}
|
|
3195
3195
|
function $p(n, t) {
|
|
3196
|
-
n.$$.dirty[0] === -1 && (
|
|
3196
|
+
n.$$.dirty[0] === -1 && (Cn.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 = Ns;
|
|
3200
3200
|
gi(n);
|
|
3201
3201
|
const c = n.$$ = {
|
|
3202
3202
|
fragment: null,
|
|
@@ -3471,7 +3471,7 @@ var lA = 20, cA = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
3471
3471
|
});
|
|
3472
3472
|
}
|
|
3473
3473
|
return n;
|
|
3474
|
-
},
|
|
3474
|
+
}, On = function(n) {
|
|
3475
3475
|
var t = n && n.ownerDocument && n.ownerDocument.defaultView;
|
|
3476
3476
|
return t || Jo;
|
|
3477
3477
|
}, jf = mr(0, 0, 0, 0);
|
|
@@ -3501,7 +3501,7 @@ function gA(n) {
|
|
|
3501
3501
|
var t = n.clientWidth, e = n.clientHeight;
|
|
3502
3502
|
if (!t && !e)
|
|
3503
3503
|
return jf;
|
|
3504
|
-
var i =
|
|
3504
|
+
var i = On(n).getComputedStyle(n), s = uA(i), o = s.left + s.right, r = s.top + s.bottom, a = qo(i.width), l = qo(i.height);
|
|
3505
3505
|
if (i.boxSizing === "border-box" && (Math.round(a + o) !== t && (a -= Ac(i, "left", "right") + o), Math.round(l + r) !== e && (l -= Ac(i, "top", "bottom") + r)), !pA(n)) {
|
|
3506
3506
|
var c = Math.round(a + o) - t, h = Math.round(l + r) - e;
|
|
3507
3507
|
Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
|
|
@@ -3510,13 +3510,13 @@ function gA(n) {
|
|
|
3510
3510
|
}
|
|
3511
3511
|
var mA = function() {
|
|
3512
3512
|
return typeof SVGGraphicsElement != "undefined" ? function(n) {
|
|
3513
|
-
return n instanceof
|
|
3513
|
+
return n instanceof On(n).SVGGraphicsElement;
|
|
3514
3514
|
} : function(n) {
|
|
3515
|
-
return n instanceof
|
|
3515
|
+
return n instanceof On(n).SVGElement && typeof n.getBBox == "function";
|
|
3516
3516
|
};
|
|
3517
3517
|
}();
|
|
3518
3518
|
function pA(n) {
|
|
3519
|
-
return n ===
|
|
3519
|
+
return n === On(n).document.documentElement;
|
|
3520
3520
|
}
|
|
3521
3521
|
function AA(n) {
|
|
3522
3522
|
return Xa ? mA(n) ? fA(n) : gA(n) : jf;
|
|
@@ -3572,7 +3572,7 @@ var bA = (
|
|
|
3572
3572
|
if (!arguments.length)
|
|
3573
3573
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
3574
3574
|
if (!(typeof Element == "undefined" || !(Element instanceof Object))) {
|
|
3575
|
-
if (!(t instanceof
|
|
3575
|
+
if (!(t instanceof On(t).Element))
|
|
3576
3576
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
3577
3577
|
var e = this.observations_;
|
|
3578
3578
|
e.has(t) || (e.set(t, new bA(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
@@ -3581,7 +3581,7 @@ var bA = (
|
|
|
3581
3581
|
if (!arguments.length)
|
|
3582
3582
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
3583
3583
|
if (!(typeof Element == "undefined" || !(Element instanceof Object))) {
|
|
3584
|
-
if (!(t instanceof
|
|
3584
|
+
if (!(t instanceof On(t).Element))
|
|
3585
3585
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
3586
3586
|
var e = this.observations_;
|
|
3587
3587
|
e.has(t) && (e.delete(t), e.size || this.controller_.removeObserver(this));
|
|
@@ -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 P = new
|
|
3766
|
+
const P = new Un(), E = s.camera.position.clone(), k = new oe(v.position.x, v.position.y, v.position.z), I = k.distanceTo(E);
|
|
3767
3767
|
P.set(E.clone(), k.clone().sub(E).normalize());
|
|
3768
3768
|
const [j] = s.model.intersectRaycaster(P);
|
|
3769
3769
|
return !(j && j.distance + 1 < I);
|
|
@@ -3923,7 +3923,7 @@ function qi(n) {
|
|
|
3923
3923
|
}
|
|
3924
3924
|
});
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function Bn(n) {
|
|
3927
3927
|
return n < 0.5 ? 4 * n * n * n : 0.5 * Math.pow(2 * n - 2, 3) + 1;
|
|
3928
3928
|
}
|
|
3929
3929
|
function Bf(n) {
|
|
@@ -3950,7 +3950,7 @@ function yc(n, { delay: t = 0, duration: e = 400, easing: i = Bf, x: s = 0, y: o
|
|
|
3950
3950
|
opacity: ${l - h * m}`
|
|
3951
3951
|
};
|
|
3952
3952
|
}
|
|
3953
|
-
function Ko(n, { delay: t = 0, speed: e, duration: i, easing: s =
|
|
3953
|
+
function Ko(n, { delay: t = 0, speed: e, duration: i, easing: s = Bn } = {}) {
|
|
3954
3954
|
let o = n.getTotalLength();
|
|
3955
3955
|
const r = getComputedStyle(n);
|
|
3956
3956
|
return r.strokeLinecap !== "butt" && (o += parseInt(r.strokeWidth)), i === void 0 ? e === void 0 ? i = 800 : i = o / e : typeof i == "function" && (i = i(o)), {
|
|
@@ -3963,19 +3963,19 @@ function Ko(n, { delay: t = 0, speed: e, duration: i, easing: s = On } = {}) {
|
|
|
3963
3963
|
`
|
|
3964
3964
|
};
|
|
3965
3965
|
}
|
|
3966
|
-
const
|
|
3966
|
+
const vn = [];
|
|
3967
3967
|
function xl(n, t = Z) {
|
|
3968
3968
|
let e;
|
|
3969
3969
|
const i = /* @__PURE__ */ new Set();
|
|
3970
3970
|
function s(a) {
|
|
3971
3971
|
if (ae(n, a) && (n = a, e)) {
|
|
3972
|
-
const l = !
|
|
3972
|
+
const l = !vn.length;
|
|
3973
3973
|
for (const c of i)
|
|
3974
|
-
c[1](),
|
|
3974
|
+
c[1](), vn.push(c, n);
|
|
3975
3975
|
if (l) {
|
|
3976
|
-
for (let c = 0; c <
|
|
3977
|
-
|
|
3978
|
-
|
|
3976
|
+
for (let c = 0; c < vn.length; c += 2)
|
|
3977
|
+
vn[c][0](vn[c + 1]);
|
|
3978
|
+
vn.length = 0;
|
|
3979
3979
|
}
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
@@ -5015,16 +5015,16 @@ function tv(n) {
|
|
|
5015
5015
|
}
|
|
5016
5016
|
};
|
|
5017
5017
|
}
|
|
5018
|
-
const
|
|
5018
|
+
const bn = 1e3, yn = 180;
|
|
5019
5019
|
function iv(n, t, e) {
|
|
5020
5020
|
let { type: i } = t, { data: s } = t, { bounding: o } = t, { getRuleDistanceText: r } = t;
|
|
5021
|
-
const a = i === "top" || i === "bottom", l = o.max.x - o.min.x - (
|
|
5022
|
-
const p = a ? (A - o.min.x -
|
|
5021
|
+
const a = i === "top" || i === "bottom", l = o.max.x - o.min.x - (bn - yn) * 2, c = o.max.y - o.min.y - (bn - yn) * 2, h = s.map(([A, p]) => a ? [A.x, p.x] : [A.y, p.y]).flat().sort().filter((A, p, m) => p === 0 ? !0 : A !== m[p - 1]), u = h.map((A) => {
|
|
5022
|
+
const p = a ? (A - o.min.x - bn + yn) / l : 0, m = a ? 0 : (A - o.min.y - bn + yn) / c;
|
|
5023
5023
|
return { left: p, bottom: m };
|
|
5024
5024
|
});
|
|
5025
5025
|
u.unshift({ left: 0, bottom: 0 }), u.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
5026
5026
|
const f = h[h.length - 1] - h[0], g = h.map((A, p, m) => {
|
|
5027
|
-
const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x -
|
|
5027
|
+
const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x - bn + yn) / l : 0, E = a ? 0 : (y - o.min.y - bn + yn) / c;
|
|
5028
5028
|
return { left: P, bottom: E, distance: v };
|
|
5029
5029
|
}).filter(({ distance: A }) => A / f > 0.1);
|
|
5030
5030
|
return n.$$set = (A) => {
|
|
@@ -6882,7 +6882,7 @@ function Uc(n) {
|
|
|
6882
6882
|
for (let l = 0; l < s.length; l += 1)
|
|
6883
6883
|
x(o[l]);
|
|
6884
6884
|
e || Xe(() => {
|
|
6885
|
-
e =
|
|
6885
|
+
e = nn(t, gt, {
|
|
6886
6886
|
duration: (
|
|
6887
6887
|
/*duration*/
|
|
6888
6888
|
n[0]
|
|
@@ -7321,7 +7321,7 @@ function h0(n, t, e) {
|
|
|
7321
7321
|
function d0(n, t) {
|
|
7322
7322
|
return t(n), n;
|
|
7323
7323
|
}
|
|
7324
|
-
function
|
|
7324
|
+
function Rn(n, t) {
|
|
7325
7325
|
return d0({}, (e) => {
|
|
7326
7326
|
for (const i in n)
|
|
7327
7327
|
t.indexOf(i) === -1 && (e[i] = n[i]);
|
|
@@ -7339,12 +7339,12 @@ function Tl(n, t, e, i) {
|
|
|
7339
7339
|
const s = Sl(n, e, i == null ? void 0 : i.attachedTo), o = new w.Vector3(0, s, 0), r = new w.Vector3(1, s, 0), a = o.clone().project(n.camera), l = r.clone().project(n.camera);
|
|
7340
7340
|
return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
|
|
7341
7341
|
}
|
|
7342
|
-
let
|
|
7342
|
+
let sn = class {
|
|
7343
7343
|
constructor(t, e) {
|
|
7344
7344
|
/**
|
|
7345
7345
|
* @realsee/dnalogel 版本号
|
|
7346
7346
|
*/
|
|
7347
|
-
d(this, "VERSION", "3.27.
|
|
7347
|
+
d(this, "VERSION", "3.27.6");
|
|
7348
7348
|
d(this, "five");
|
|
7349
7349
|
/**
|
|
7350
7350
|
* @description: 插件事件钩子
|
|
@@ -7365,7 +7365,7 @@ let nn = class {
|
|
|
7365
7365
|
absoluteUrl(t) {
|
|
7366
7366
|
return ml(this.staticPrefix, t);
|
|
7367
7367
|
}
|
|
7368
|
-
}, pi = class extends
|
|
7368
|
+
}, pi = class extends sn {
|
|
7369
7369
|
};
|
|
7370
7370
|
var St = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(St || {});
|
|
7371
7371
|
const Qf = 500, u0 = 80;
|
|
@@ -7432,12 +7432,12 @@ function Ff(n, t, e = !0) {
|
|
|
7432
7432
|
(r > Math.PI ? 2 * Math.PI - r : r) * 500,
|
|
7433
7433
|
typeof t.fov == "number" ? Math.abs(a - t.fov) * 10 : 1 / 0
|
|
7434
7434
|
)
|
|
7435
|
-
), [c] = yield qi(n.updateCamera(
|
|
7435
|
+
), [c] = yield qi(n.updateCamera(Rn(t, ["mode"]), l, e));
|
|
7436
7436
|
if (c)
|
|
7437
7437
|
throw new Error(St.UpdateCameraError);
|
|
7438
7438
|
});
|
|
7439
7439
|
}
|
|
7440
|
-
function
|
|
7440
|
+
function Vn(n, t, e = 300) {
|
|
7441
7441
|
const i = n.getElement();
|
|
7442
7442
|
i && (i.style.opacity = t + "", i.style.transition = e === 0 ? "none" : `opacity ${e}ms linear`, e !== 0 && Promise.race([
|
|
7443
7443
|
new Promise((s) => i.addEventListener("transitionend", s, { once: !0 })),
|
|
@@ -7571,7 +7571,7 @@ let v0 = class extends pi {
|
|
|
7571
7571
|
return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
|
|
7572
7572
|
this.showPromise = void 0, this.showRejection = void 0;
|
|
7573
7573
|
const a = s.modelOpacity, l = s.immediately ? 0 : Qf;
|
|
7574
|
-
|
|
7574
|
+
Vn(this.five, a, l), this.render(l), this.hooks.emit("showAnimationEnded", {
|
|
7575
7575
|
auto: s.isAutoShow,
|
|
7576
7576
|
userAction: s.userAction
|
|
7577
7577
|
});
|
|
@@ -7587,7 +7587,7 @@ let v0 = class extends pi {
|
|
|
7587
7587
|
userAction: !0,
|
|
7588
7588
|
isAutoHide: !1
|
|
7589
7589
|
}), e);
|
|
7590
|
-
|
|
7590
|
+
Vn(this.five, 1, 0), this.hooks.emit("hide", { auto: s.isAutoHide, userAction: s.userAction }), this.render();
|
|
7591
7591
|
});
|
|
7592
7592
|
d(this, "handleClick", () => {
|
|
7593
7593
|
if (!this.state.visible)
|
|
@@ -7688,7 +7688,7 @@ let v0 = class extends pi {
|
|
|
7688
7688
|
getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
|
|
7689
7689
|
getRoomDimensionText: (u, f) => (u / 1e3).toFixed(1) + "m × " + (f / 1e3).toFixed(1) + "m",
|
|
7690
7690
|
getRuleDistanceText: (u) => u.toString()
|
|
7691
|
-
}, o = i ?
|
|
7691
|
+
}, o = i ? Rn(i, ["selector", "scale"]) : {}, r = D(D({}, s.missingFloorConfig), o.missingFloorConfig), a = se(D(D({}, s), o), { missingFloorConfig: r });
|
|
7692
7692
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
|
|
7693
7693
|
}
|
|
7694
7694
|
load(e, i, s = !0) {
|
|
@@ -7910,7 +7910,7 @@ let w0 = class extends pi {
|
|
|
7910
7910
|
return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
|
|
7911
7911
|
this.showPromise = void 0, this.showRejection = void 0;
|
|
7912
7912
|
const a = s.modelOpacity, l = s.immediately ? 0 : Qf;
|
|
7913
|
-
|
|
7913
|
+
Vn(this.five, a, l), this.render(l), this.hooks.emit("showAnimationEnded", {
|
|
7914
7914
|
auto: s.isAutoShow,
|
|
7915
7915
|
userAction: s.userAction
|
|
7916
7916
|
});
|
|
@@ -7926,7 +7926,7 @@ let w0 = class extends pi {
|
|
|
7926
7926
|
userAction: !0,
|
|
7927
7927
|
isAutoHide: !1
|
|
7928
7928
|
}), e);
|
|
7929
|
-
|
|
7929
|
+
Vn(this.five, 1, 0), this.hooks.emit("hide", { auto: s.isAutoHide, userAction: s.userAction }), this.render();
|
|
7930
7930
|
});
|
|
7931
7931
|
d(this, "handleClick", () => {
|
|
7932
7932
|
if (!this.state.visible)
|
|
@@ -7970,7 +7970,7 @@ let w0 = class extends pi {
|
|
|
7970
7970
|
/** 户型图展示中,转动三维模型,结束时应该自动修复模型状态 */
|
|
7971
7971
|
d(this, "onFiveWantsPanGesture", (e, i) => {
|
|
7972
7972
|
if (this.five.getCurrentState().mode === this.showState.mode && this.state.config.autoShowEnable !== !1 && i && this.state.visible)
|
|
7973
|
-
return this.five.updateCamera(
|
|
7973
|
+
return this.five.updateCamera(Rn(this.showState, ["offset"]), 0), !1;
|
|
7974
7974
|
});
|
|
7975
7975
|
/** 阻止点击分间走点 */
|
|
7976
7976
|
d(this, "onFiveWantsTapGesture", () => this.handleClick());
|
|
@@ -8022,7 +8022,7 @@ let w0 = class extends pi {
|
|
|
8022
8022
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
8023
8023
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
8024
8024
|
getRuleDistanceText: (h) => h.toString()
|
|
8025
|
-
}, o = i ?
|
|
8025
|
+
}, o = i ? Rn(i, ["selector", "scale"]) : {}, r = D(D({}, s.missingFloorConfig), o.missingFloorConfig), a = se(D(D({}, s), o), { missingFloorConfig: r });
|
|
8026
8026
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
8027
8027
|
}
|
|
8028
8028
|
load(e, i, s = !0) {
|
|
@@ -8251,7 +8251,7 @@ let C0 = class extends pi {
|
|
|
8251
8251
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
8252
8252
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
8253
8253
|
getRuleDistanceText: (h) => h.toString()
|
|
8254
|
-
}, o = i ?
|
|
8254
|
+
}, o = i ? Rn(i, ["selector", "scale"]) : {}, r = D(D({}, s.missingFloorConfig), o.missingFloorConfig), a = se(D(D({}, s), o), { missingFloorConfig: r });
|
|
8255
8255
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
8256
8256
|
}
|
|
8257
8257
|
load(e, i, s = !0) {
|
|
@@ -8335,7 +8335,7 @@ let C0 = class extends pi {
|
|
|
8335
8335
|
const { userAction: i } = e;
|
|
8336
8336
|
this.hooks.emit("show", { userAction: i, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield Ll(this.five, ["Topview", void 0, void 0, i])), this.five.model.show(this.floorIndex), this.updatePosition(), this.updateSize();
|
|
8337
8337
|
const s = 500, o = this.state.config.modelOpacity;
|
|
8338
|
-
|
|
8338
|
+
Vn(this.five, o, s), this.hooks.emit("showAnimationEnded", { userAction: i, auto: !1 }), this.render();
|
|
8339
8339
|
});
|
|
8340
8340
|
}
|
|
8341
8341
|
_hide(e) {
|
|
@@ -8345,7 +8345,7 @@ let C0 = class extends pi {
|
|
|
8345
8345
|
const { userAction: i } = e;
|
|
8346
8346
|
this.hooks.emit("hide", { userAction: i, auto: !1 });
|
|
8347
8347
|
const s = 1, o = 0;
|
|
8348
|
-
|
|
8348
|
+
Vn(this.five, s, o), this.render();
|
|
8349
8349
|
});
|
|
8350
8350
|
}
|
|
8351
8351
|
_enable(e) {
|
|
@@ -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 Rs(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 Rs({ 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 = Xn((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 Un(), s = t.work;
|
|
9783
9783
|
if (!s)
|
|
9784
9784
|
return e;
|
|
9785
9785
|
const o = n.observers;
|
|
@@ -10575,10 +10575,10 @@ class gb extends pi {
|
|
|
10575
10575
|
d(this, "onFivePanoArrived", (e) => {
|
|
10576
10576
|
var s, o, r, a, l, c, h, u;
|
|
10577
10577
|
const i = (r = (o = (s = this.five.work) == null ? void 0 : s.observers) == null ? void 0 : o[e]) == null ? void 0 : r.standingPosition;
|
|
10578
|
-
if (this.compassMesh && (this.compassMesh.position.copy(i.clone().setY(i.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween =
|
|
10578
|
+
if (this.compassMesh && (this.compassMesh.position.copy(i.clone().setY(i.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween = zn(1e3).onUpdate(({ progress: f }) => {
|
|
10579
10579
|
var g;
|
|
10580
10580
|
(g = this.compassMesh) == null || g.material.setValues({ opacity: f }), this.five.needsRender = !0;
|
|
10581
|
-
}).play())), this.logoMesh && (this.logoMesh.position.copy(i.clone().setY(i.y + 0.011)), this.logoMesh.material.opacity === 0 && ((l = this.logoMeshTween) == null || l.dispose(), this.logoMeshTween =
|
|
10581
|
+
}).play())), this.logoMesh && (this.logoMesh.position.copy(i.clone().setY(i.y + 0.011)), this.logoMesh.material.opacity === 0 && ((l = this.logoMeshTween) == null || l.dispose(), this.logoMeshTween = zn(1e3).onUpdate(({ progress: f }) => {
|
|
10582
10582
|
var g;
|
|
10583
10583
|
(g = this.logoMesh) == null || g.material.setValues({ opacity: f }), this.five.needsRender = !0;
|
|
10584
10584
|
}).play())), this.entryDoorMesh) {
|
|
@@ -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 Yn(16777215), vb = new Yn(6522623), bb = new Yn(16777215), yb = new Yn(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 Un(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 Yn(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 Yn(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
|
}
|
|
@@ -11036,7 +11036,7 @@ let Ar = class {
|
|
|
11036
11036
|
const t = this.five.getElement();
|
|
11037
11037
|
t && (t.removeEventListener("touchstart", Eo), t.removeEventListener("contextmenu", Eo));
|
|
11038
11038
|
}
|
|
11039
|
-
},
|
|
11039
|
+
}, Hn = class {
|
|
11040
11040
|
constructor(t) {
|
|
11041
11041
|
d(this, "id", nt());
|
|
11042
11042
|
d(this, "lines", []);
|
|
@@ -11324,7 +11324,7 @@ class Ja {
|
|
|
11324
11324
|
this.five && (this.polyline.lines.forEach((t) => t.distanceItem.update(this.five)), this.areaItem.updateDomPosition(this.five));
|
|
11325
11325
|
});
|
|
11326
11326
|
var i;
|
|
11327
|
-
t && (this.points = t), this.model = e.model, this.polygon = new $f(t), this.polyline = new
|
|
11327
|
+
t && (this.points = t), this.model = e.model, this.polygon = new $f(t), this.polyline = new Hn({ model: e.model }), this.areaItem = new zb({
|
|
11328
11328
|
area: this,
|
|
11329
11329
|
clickCallback: (s, o) => {
|
|
11330
11330
|
const r = s.clientX + "px", a = s.clientY + "px";
|
|
@@ -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 (vs(o, a) || vs(o, l) || vs(r, a) || vs(r, l) || vs(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 vs(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) {
|
|
@@ -11446,7 +11446,7 @@ function Rb(n, t) {
|
|
|
11446
11446
|
if (i)
|
|
11447
11447
|
return se(D({}, i), { raycaster: t, isVirtual: !1 });
|
|
11448
11448
|
}
|
|
11449
|
-
const
|
|
11449
|
+
const wn = () => !1;
|
|
11450
11450
|
class ng extends ii {
|
|
11451
11451
|
constructor(e, i) {
|
|
11452
11452
|
var r, a;
|
|
@@ -11589,14 +11589,14 @@ class ng extends ii {
|
|
|
11589
11589
|
const e = this.five.getElement();
|
|
11590
11590
|
if (!e)
|
|
11591
11591
|
throw new Error("five element not found");
|
|
11592
|
-
this.hammer || (this.hammer = new cr(e)), this.mode === "cursor" ? (this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano",
|
|
11592
|
+
this.hammer || (this.hammer = new cr(e)), this.mode === "cursor" ? (this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano", wn), this.five.on("wantsChangeMode", wn), this.five.on("wantsTapGesture", wn), e.addEventListener("mousemove", this.updateByMousePosition), e.addEventListener("mouseenter", this.onEnter), e.addEventListener("mouseout", this.onLeave), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
|
|
11593
11593
|
}
|
|
11594
11594
|
disable() {
|
|
11595
11595
|
if (!this.enabled)
|
|
11596
11596
|
return;
|
|
11597
11597
|
this.enabled = !1, this.pointSelectorHelper.disable();
|
|
11598
11598
|
const e = this.five.getElement();
|
|
11599
|
-
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano",
|
|
11599
|
+
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", wn), this.five.off("wantsChangeMode", wn), this.five.off("wantsTapGesture", wn), this.five.helperVisible = this.lastFiveHelperVisible, e == null || e.removeEventListener("mousemove", this.updateByMousePosition), e == null || e.removeEventListener("mouseenter", this.onEnter), e == null || e.removeEventListener("mouseout", this.onLeave), this.hammer.off("tap", this.onTap), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate), this.emit("disable");
|
|
11600
11600
|
}
|
|
11601
11601
|
dispose() {
|
|
11602
11602
|
this.disable(), this.pointSelectorHelper.dispose();
|
|
@@ -11908,7 +11908,7 @@ class Pi extends Ar {
|
|
|
11908
11908
|
}).appendTo(this.container), this.pointSelector = new ng(this.five, {
|
|
11909
11909
|
mode: this.editParams.pointSelectorMode,
|
|
11910
11910
|
pointSelectorHelperParams: { magnifierParams: this.magnifierParams, container: this.container }
|
|
11911
|
-
}), this.pointSelector.enable(), this.polyline = new
|
|
11911
|
+
}), this.pointSelector.enable(), this.polyline = new Hn({ model: this.model }), this.area = new Ja(void 0, {
|
|
11912
11912
|
five: this.five,
|
|
11913
11913
|
model: this.model,
|
|
11914
11914
|
meshContainer: this.group,
|
|
@@ -11936,7 +11936,7 @@ class Pi extends Ar {
|
|
|
11936
11936
|
complete() {
|
|
11937
11937
|
this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new Ja(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
|
|
11938
11938
|
e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
|
|
11939
|
-
}), this.polyline = new
|
|
11939
|
+
}), this.polyline = new Hn({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
|
|
11940
11940
|
}
|
|
11941
11941
|
highlightArea(e) {
|
|
11942
11942
|
this.highlightLines(e.polyline.lines), this.five.needsRender = !0;
|
|
@@ -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 Un();
|
|
12064
12064
|
s.setFromCamera(i, this.five.camera);
|
|
12065
12065
|
const [o] = this.five.model.intersectRaycaster(s);
|
|
12066
12066
|
o && this.onIntersectionUpdate(o);
|
|
@@ -12268,7 +12268,7 @@ class sg {
|
|
|
12268
12268
|
getClosestPoint() {
|
|
12269
12269
|
}
|
|
12270
12270
|
parse(t) {
|
|
12271
|
-
this.clear(), this.polylines.push(...t.polylines.map((e) => new
|
|
12271
|
+
this.clear(), this.polylines.push(...t.polylines.map((e) => new Hn({ model: this }).fromJson(e))), this.polylines.forEach((e) => this.hook.emit("polylineAdded", e));
|
|
12272
12272
|
}
|
|
12273
12273
|
toJson() {
|
|
12274
12274
|
return {
|
|
@@ -12307,25 +12307,25 @@ function og(n) {
|
|
|
12307
12307
|
const t = (v = n.isMobile) != null ? v : !0, e = (y = n.useNormalVector) != null ? y : !0;
|
|
12308
12308
|
let i = 10349931;
|
|
12309
12309
|
e && n.ballColor >= 0 && (i = n.ballColor);
|
|
12310
|
-
const s = new
|
|
12310
|
+
const s = new xn(), 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 Rs({
|
|
12313
12313
|
map: a,
|
|
12314
12314
|
transparent: !0,
|
|
12315
12315
|
depthTest: !1
|
|
12316
|
-
}), c = new
|
|
12316
|
+
}), c = new xs(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 xs(u, f), A = new Sm(0.01, 20, 20), p = new Rs({
|
|
12324
12324
|
color: i,
|
|
12325
12325
|
depthTest: !1,
|
|
12326
12326
|
transparent: !0,
|
|
12327
12327
|
side: qu
|
|
12328
|
-
}), m = new
|
|
12328
|
+
}), m = new xs(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 Un());
|
|
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 xs(
|
|
12380
12380
|
new Tm(0.04, 0.08, 32),
|
|
12381
|
-
new
|
|
12381
|
+
new Rs({ 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 = Xn((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 bs extends Ar {
|
|
12442
12442
|
constructor(e) {
|
|
12443
12443
|
super(e);
|
|
12444
12444
|
d(this, "state", "watching");
|
|
@@ -12490,7 +12490,7 @@ class vs extends Ar {
|
|
|
12490
12490
|
this.magnifier.containerDom !== this.container && this.magnifier.appendTo(this.container), this.magnifier.state.enabled || this.magnifier.enable(), requestAnimationFrame(() => this.magnifier.renderWithPoint(e.position)), this.five.needsRender = !0;
|
|
12491
12491
|
});
|
|
12492
12492
|
d(this, "onGetStartPoint", (e) => {
|
|
12493
|
-
this.mobileStartPoint = e, this.polyline = new
|
|
12493
|
+
this.mobileStartPoint = e, this.polyline = new Hn({ model: this.model }), this.polyline.hook.on("lineAdded", () => this.hook.emit("editedPolylineChange", this.polyline)), this.polyline.hook.on("lineRemoved", () => this.hook.emit("editedPolylineChange", this.polyline));
|
|
12494
12494
|
});
|
|
12495
12495
|
d(this, "onGetEndPoint", () => {
|
|
12496
12496
|
const e = this.mobileNowPoint;
|
|
@@ -12527,7 +12527,7 @@ class vs extends Ar {
|
|
|
12527
12527
|
d(this, "cancelDeleteClickCallback", () => {
|
|
12528
12528
|
this.clearHighlightLines();
|
|
12529
12529
|
});
|
|
12530
|
-
this.model = new sg(this.config), this.polyline = new
|
|
12530
|
+
this.model = new sg(this.config), this.polyline = new Hn({ model: this.model }), this.rangePieceController = new Jb(e), this.deleteDom = new zl(this.five, {
|
|
12531
12531
|
i18n: this.config.i18n,
|
|
12532
12532
|
onClick: this.deleteDomClickCallback,
|
|
12533
12533
|
cancel: this.cancelDeleteClickCallback
|
|
@@ -13845,11 +13845,11 @@ function Dh(n) {
|
|
|
13845
13845
|
},
|
|
13846
13846
|
i(o) {
|
|
13847
13847
|
s || (x(e.$$.fragment, o), o && Xe(() => {
|
|
13848
|
-
s && (i || (i = ni(t, gt, { duration:
|
|
13848
|
+
s && (i || (i = ni(t, gt, { duration: Nn }, !0)), i.run(1));
|
|
13849
13849
|
}), s = !0);
|
|
13850
13850
|
},
|
|
13851
13851
|
o(o) {
|
|
13852
|
-
O(e.$$.fragment, o), o && (i || (i = ni(t, gt, { duration:
|
|
13852
|
+
O(e.$$.fragment, o), o && (i || (i = ni(t, gt, { duration: Nn }, !1)), i.run(0)), s = !1;
|
|
13853
13853
|
},
|
|
13854
13854
|
d(o) {
|
|
13855
13855
|
o && z(t), ie(e), o && i && i.end();
|
|
@@ -13891,11 +13891,11 @@ function Sh(n) {
|
|
|
13891
13891
|
},
|
|
13892
13892
|
i(h) {
|
|
13893
13893
|
a || (h && Xe(() => {
|
|
13894
|
-
a && (r || (r = ni(t, gt, { duration:
|
|
13894
|
+
a && (r || (r = ni(t, gt, { duration: Nn }, !0)), r.run(1));
|
|
13895
13895
|
}), a = !0);
|
|
13896
13896
|
},
|
|
13897
13897
|
o(h) {
|
|
13898
|
-
h && (r || (r = ni(t, gt, { duration:
|
|
13898
|
+
h && (r || (r = ni(t, gt, { duration: Nn }, !1)), r.run(0)), a = !1;
|
|
13899
13899
|
},
|
|
13900
13900
|
d(h) {
|
|
13901
13901
|
h && z(t), h && r && r.end(), l = !1, c();
|
|
@@ -13926,11 +13926,11 @@ function Th(n) {
|
|
|
13926
13926
|
},
|
|
13927
13927
|
i(h) {
|
|
13928
13928
|
a || (h && Xe(() => {
|
|
13929
|
-
a && (r || (r = ni(t, gt, { duration:
|
|
13929
|
+
a && (r || (r = ni(t, gt, { duration: Nn }, !0)), r.run(1));
|
|
13930
13930
|
}), a = !0);
|
|
13931
13931
|
},
|
|
13932
13932
|
o(h) {
|
|
13933
|
-
h && (r || (r = ni(t, gt, { duration:
|
|
13933
|
+
h && (r || (r = ni(t, gt, { duration: Nn }, !1)), r.run(0)), a = !1;
|
|
13934
13934
|
},
|
|
13935
13935
|
d(h) {
|
|
13936
13936
|
h && z(t), h && r && r.end(), l = !1, c();
|
|
@@ -14030,7 +14030,7 @@ function T1(n) {
|
|
|
14030
14030
|
}
|
|
14031
14031
|
};
|
|
14032
14032
|
}
|
|
14033
|
-
const
|
|
14033
|
+
const Nn = 100;
|
|
14034
14034
|
function L1(n, t, e) {
|
|
14035
14035
|
let { measureController: i } = t, { showExit: s = !1 } = t, { i18n: o = (_) => _ } = t;
|
|
14036
14036
|
const r = {
|
|
@@ -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 $i(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 bs ? "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: bs
|
|
14474
14474
|
};
|
|
14475
14475
|
if (!e[t])
|
|
14476
14476
|
throw new Error("不存在的 Mode");
|
|
@@ -14484,7 +14484,7 @@ class _1 {
|
|
|
14484
14484
|
this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
|
|
14485
14485
|
});
|
|
14486
14486
|
var o, r, a, l, c, h, u, f, g;
|
|
14487
|
-
this.five = t, this.params = e, this.config =
|
|
14487
|
+
this.five = t, this.params = e, this.config = Rn(e, ["openParams", "magnifierParams"]), this.model = new sg(this.config), this.isMobile = (r = (o = e == null ? void 0 : e.openParams) == null ? void 0 : o.isMobile) != null ? r : !1, this.magnifier = new gl(t, (a = e.magnifierParams) != null ? a : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((c = (l = e.editParams) == null ? void 0 : l.allowMeasureType) != null ? c : ["line"])), this.currentMeasureType = (h = this.allowMeasureType[0]) != null ? h : "line", this.group = new xn(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
14488
14488
|
const i = (f = (u = e.editParams) == null ? void 0 : u.pointSelectorMode) != null ? f : ig ? "fixed" : "cursor", s = (g = this.params.openParams) != null ? g : {};
|
|
14489
14489
|
if (this.params.useUIController !== !1) {
|
|
14490
14490
|
const A = D({
|
|
@@ -14493,7 +14493,7 @@ class _1 {
|
|
|
14493
14493
|
i18n: e.i18n,
|
|
14494
14494
|
pointSelectorMode: i,
|
|
14495
14495
|
useNewUI: this.allowMeasureType.length > 1
|
|
14496
|
-
},
|
|
14496
|
+
}, $i(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
|
+
}, $i(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 bs))
|
|
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 bs && this.hook.emit("willChangeState", "watching", "editing");
|
|
14585
14585
|
}
|
|
14586
14586
|
/** Mixed 模式才有用,添加终点 */
|
|
14587
14587
|
addEndPoint() {
|
|
14588
|
-
this.controller instanceof
|
|
14588
|
+
this.controller instanceof bs && 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, is = 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((
|
|
15230
|
+
].map((an) => is.projectPoint(an, new w.Vector3())), { container: zi, dispose: kt } = u.create3DDomContainer(Ai) || {}, rn = new K1({
|
|
15231
15231
|
target: zi,
|
|
15232
15232
|
props: {
|
|
15233
15233
|
id: Je,
|
|
@@ -15246,7 +15246,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15246
15246
|
position: Ve,
|
|
15247
15247
|
normal: He,
|
|
15248
15248
|
id: Je,
|
|
15249
|
-
app:
|
|
15249
|
+
app: rn
|
|
15250
15250
|
});
|
|
15251
15251
|
}
|
|
15252
15252
|
}
|
|
@@ -15308,7 +15308,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15308
15308
|
dispose: $
|
|
15309
15309
|
};
|
|
15310
15310
|
};
|
|
15311
|
-
var
|
|
15311
|
+
var In = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARGE = "large", n.EXTRA_LARGE = "x-large", n))(In || {}), $a = {}, oy = {
|
|
15312
15312
|
get exports() {
|
|
15313
15313
|
return $a;
|
|
15314
15314
|
},
|
|
@@ -15582,13 +15582,13 @@ function fy(n, t, e) {
|
|
|
15582
15582
|
}, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, P = (H, F) => A.length === 0 ? !1 : !!A.find((X) => H[0] >= X[0] - F && H[0] <= X[0] + F || H[1] >= X[1] - Fh && H[1] <= X[1] + Fh);
|
|
15583
15583
|
function E(H, F) {
|
|
15584
15584
|
switch (F) {
|
|
15585
|
-
case
|
|
15585
|
+
case In.SMALL:
|
|
15586
15586
|
return Math.ceil(-27.78 * H + 85);
|
|
15587
|
-
case
|
|
15587
|
+
case In.MIDLLE:
|
|
15588
15588
|
return Math.ceil(-38.9 * H + 130);
|
|
15589
|
-
case
|
|
15589
|
+
case In.LARGE:
|
|
15590
15590
|
return Math.ceil(-44.44 * H + 140);
|
|
15591
|
-
case
|
|
15591
|
+
case In.EXTRA_LARGE:
|
|
15592
15592
|
return Math.ceil(-92.59 * H + 300);
|
|
15593
15593
|
}
|
|
15594
15594
|
}
|
|
@@ -15693,7 +15693,7 @@ const mx = (n, t) => {
|
|
|
15693
15693
|
app: void 0,
|
|
15694
15694
|
hooks: new Tt(),
|
|
15695
15695
|
modelOcclusionEnable: (f = t == null ? void 0 : t.modelOcclusionEnable) != null ? f : !0,
|
|
15696
|
-
displayStrategyType: (g = t == null ? void 0 : t.displayStrategyType) != null ? g :
|
|
15696
|
+
displayStrategyType: (g = t == null ? void 0 : t.displayStrategyType) != null ? g : In.SMALL
|
|
15697
15697
|
};
|
|
15698
15698
|
e.container.setAttribute("class", "model-item-label-plugin-container"), e.container.style.cssText = `
|
|
15699
15699
|
position: absolute;
|
|
@@ -15755,7 +15755,7 @@ const mx = (n, t) => {
|
|
|
15755
15755
|
name: "ModelItemLabelPlugin",
|
|
15756
15756
|
version: 0
|
|
15757
15757
|
};
|
|
15758
|
-
var
|
|
15758
|
+
var Ms = /* @__PURE__ */ ((n) => (n.TOP_LEFT = "topLeft", n.TOP_RIGHT = "topRight", n.BOTTOM_LEFT = "bottomLeft", n.BOTTOM_RIGHT = "bottomRight", n))(Ms || {});
|
|
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[Ms.TOP_LEFT],
|
|
15768
|
+
e[Ms.BOTTOM_LEFT],
|
|
15769
|
+
e[Ms.BOTTOM_RIGHT],
|
|
15770
|
+
e[Ms.TOP_RIGHT]
|
|
15771
15771
|
];
|
|
15772
15772
|
t.push(i);
|
|
15773
15773
|
}), t;
|
|
@@ -15914,7 +15914,7 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15914
15914
|
});
|
|
15915
15915
|
}), { enable: a, disable: l, load: f, dispose: m, state: e, css3DRenderPlugin: i };
|
|
15916
15916
|
};
|
|
15917
|
-
var
|
|
15917
|
+
var En = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARGE = "large", n.EXTRA_LARGE = "x-large", n))(En || {});
|
|
15918
15918
|
function by(n) {
|
|
15919
15919
|
ge(n, "svelte-1jhufeh", `.item-label-item.svelte-1jhufeh.svelte-1jhufeh{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-1jhufeh-fadeIn .3s ease-in}.item-label-item.fold.svelte-1jhufeh>.item-label-item__text-wrap.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh:after{visibility:visible}.item-label-item__text-wrap.svelte-1jhufeh.svelte-1jhufeh{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-1jhufeh.svelte-1jhufeh{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-1jhufeh.svelte-1jhufeh{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-1jhufeh.svelte-1jhufeh{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-1jhufeh.svelte-1jhufeh{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-1jhufeh.svelte-1jhufeh{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-1jhufeh.svelte-1jhufeh:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==');background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-1jhufeh-fadeIn{from{opacity:0
|
|
15920
15920
|
}to{opacity:1
|
|
@@ -16128,13 +16128,13 @@ const { Raycaster: Ey, Vector3: vx } = w, Wh = (n, t, e, i) => {
|
|
|
16128
16128
|
return r && r.distance + 0.01 < i;
|
|
16129
16129
|
}, My = (n, t) => {
|
|
16130
16130
|
switch (t) {
|
|
16131
|
-
case
|
|
16131
|
+
case En.SMALL:
|
|
16132
16132
|
return Math.ceil(-27.78 * n + 85);
|
|
16133
|
-
case
|
|
16133
|
+
case En.MIDLLE:
|
|
16134
16134
|
return Math.ceil(-38.9 * n + 130);
|
|
16135
|
-
case
|
|
16135
|
+
case En.LARGE:
|
|
16136
16136
|
return Math.ceil(-44.44 * n + 140);
|
|
16137
|
-
case
|
|
16137
|
+
case En.EXTRA_LARGE:
|
|
16138
16138
|
return Math.ceil(-92.59 * n + 300);
|
|
16139
16139
|
}
|
|
16140
16140
|
}, ky = (n) => `translate(${n[0]}px, ${n[1]}px)`;
|
|
@@ -16459,7 +16459,7 @@ const zy = void 0, bx = (n, t) => {
|
|
|
16459
16459
|
hooks: new Tt(),
|
|
16460
16460
|
modelOcclusionEnable: (f = t == null ? void 0 : t.modelOcclusionEnable) != null ? f : !0,
|
|
16461
16461
|
onlyVisibleInPanorama: (g = t == null ? void 0 : t.onlyVisibleInPanorama) != null ? g : !0,
|
|
16462
|
-
displayStrategyType: (A = t == null ? void 0 : t.displayStrategyType) != null ? A :
|
|
16462
|
+
displayStrategyType: (A = t == null ? void 0 : t.displayStrategyType) != null ? A : En.SMALL,
|
|
16463
16463
|
maxVisibleDistance: (p = t == null ? void 0 : t.maxVisibleDistance) != null ? p : zy
|
|
16464
16464
|
};
|
|
16465
16465
|
e.container.setAttribute("class", "item-label-plugin-container"), e.container.style.cssText = `
|
|
@@ -16521,7 +16521,7 @@ const zy = void 0, bx = (n, t) => {
|
|
|
16521
16521
|
name: "ItemLabelPlugin",
|
|
16522
16522
|
version: 0
|
|
16523
16523
|
};
|
|
16524
|
-
class Oy extends
|
|
16524
|
+
class Oy extends sn {
|
|
16525
16525
|
constructor(e) {
|
|
16526
16526
|
super(e);
|
|
16527
16527
|
d(this, "state");
|
|
@@ -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 Un(), 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], ys = [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], bs = [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, ys, Qi, Do, 1);
|
|
16944
|
+
va(i, ys, 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, ys, Qi, Do, 1);
|
|
16951
|
+
i[0][0] = ys.slice(), i[s - 1][0] = ys.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 Is().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 Ts(n) {
|
|
17062
17062
|
const t = pg(n);
|
|
17063
17063
|
return Di(...Array.isArray(t) ? t : [t]);
|
|
17064
17064
|
}
|
|
17065
|
-
function
|
|
17065
|
+
function ws(n, t) {
|
|
17066
17066
|
if (n === void 0)
|
|
17067
17067
|
return;
|
|
17068
17068
|
const { min: e, max: i } = t != null ? t : {};
|
|
@@ -17128,18 +17128,18 @@ function Iw(n) {
|
|
|
17128
17128
|
extraData: n.extraData
|
|
17129
17129
|
}), n;
|
|
17130
17130
|
}
|
|
17131
|
-
const
|
|
17131
|
+
const Qn = "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=", Ls = {};
|
|
17132
17132
|
var Vl = /* @__PURE__ */ ((n) => (n.Default = "default", n.GetAudioDuration = "getAudioDuration", n.PlayAudio = "playAudio", n))(Vl || {});
|
|
17133
17133
|
function Ew(n, t) {
|
|
17134
|
-
const e = (t == null ? void 0 : t.namespace) || "default", i =
|
|
17135
|
-
let s = i.find((o) => !o.realSrc || o.realSrc ===
|
|
17136
|
-
return s || (console.warn("未找到缓存音频,已新建",
|
|
17134
|
+
const e = (t == null ? void 0 : t.namespace) || "default", i = Ls[e] || (Ls[e] = []);
|
|
17135
|
+
let s = i.find((o) => !o.realSrc || o.realSrc === Qn);
|
|
17136
|
+
return s || (console.warn("未找到缓存音频,已新建", Ls), s = new Ag(Qn), i.push(s)), n && (s.src = n), s;
|
|
17137
17137
|
}
|
|
17138
17138
|
function Mw(n, t) {
|
|
17139
|
-
const e = (t == null ? void 0 : t.namespace) || "default", i =
|
|
17139
|
+
const e = (t == null ? void 0 : t.namespace) || "default", i = Ls[e] || (Ls[e] = []), s = n - i.length;
|
|
17140
17140
|
if (!(s <= 0))
|
|
17141
17141
|
for (let o = 0; o < s; o++)
|
|
17142
|
-
i.push(new Ag(
|
|
17142
|
+
i.push(new Ag(Qn));
|
|
17143
17143
|
}
|
|
17144
17144
|
class Ag extends (() => typeof Audio == "undefined" ? class {
|
|
17145
17145
|
} : Audio)() {
|
|
@@ -17159,7 +17159,7 @@ class Ag extends (() => typeof Audio == "undefined" ? class {
|
|
|
17159
17159
|
};
|
|
17160
17160
|
}
|
|
17161
17161
|
get isBlankAudio() {
|
|
17162
|
-
return this.realSrc ===
|
|
17162
|
+
return this.realSrc === Qn || !this.realSrc;
|
|
17163
17163
|
}
|
|
17164
17164
|
get src() {
|
|
17165
17165
|
return super.src;
|
|
@@ -17174,11 +17174,11 @@ class Ag extends (() => typeof Audio == "undefined" ? class {
|
|
|
17174
17174
|
super.muted = e;
|
|
17175
17175
|
}
|
|
17176
17176
|
clear() {
|
|
17177
|
-
this.currentTime = 0, this.src =
|
|
17177
|
+
this.currentTime = 0, this.src = Qn;
|
|
17178
17178
|
}
|
|
17179
17179
|
}
|
|
17180
17180
|
function kw(n) {
|
|
17181
|
-
n && (n.inited || (n.src && (n.inited = !0, n.removeDocumentEventListener()), n.src ===
|
|
17181
|
+
n && (n.inited || (n.src && (n.inited = !0, n.removeDocumentEventListener()), n.src === Qn && n.play()));
|
|
17182
17182
|
}
|
|
17183
17183
|
function il(n, t) {
|
|
17184
17184
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
@@ -17296,7 +17296,7 @@ const Lw = {
|
|
|
17296
17296
|
}
|
|
17297
17297
|
}
|
|
17298
17298
|
};
|
|
17299
|
-
class jw extends
|
|
17299
|
+
class jw extends sn {
|
|
17300
17300
|
constructor(e) {
|
|
17301
17301
|
super(e);
|
|
17302
17302
|
d(this, "tagCacheByPanoIndex", {});
|
|
@@ -17415,7 +17415,7 @@ function Rw(n, t) {
|
|
|
17415
17415
|
}
|
|
17416
17416
|
return s;
|
|
17417
17417
|
}
|
|
17418
|
-
function
|
|
17418
|
+
function ks(n, t, e) {
|
|
17419
17419
|
if (n === "fill")
|
|
17420
17420
|
return t;
|
|
17421
17421
|
if (n === "contain") {
|
|
@@ -17505,7 +17505,7 @@ class $h extends bg {
|
|
|
17505
17505
|
}
|
|
17506
17506
|
Xf(e).then(({ texture: l, transparent: c }) => {
|
|
17507
17507
|
var p;
|
|
17508
|
-
const h = new w.MeshBasicMaterial({ map: l, transparent: c }), u =
|
|
17508
|
+
const h = new w.MeshBasicMaterial({ map: l, transparent: c }), u = ks(
|
|
17509
17509
|
(p = s == null ? void 0 : s.objectFit) != null ? p : "contain",
|
|
17510
17510
|
r,
|
|
17511
17511
|
l.image.width / l.image.height
|
|
@@ -17591,7 +17591,7 @@ class yg extends bg {
|
|
|
17591
17591
|
return this.coverMesh;
|
|
17592
17592
|
if (!this.videoCoverSrc)
|
|
17593
17593
|
return;
|
|
17594
|
-
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i }), r =
|
|
17594
|
+
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i }), r = ks(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new ya(r, o);
|
|
17595
17595
|
return a.position.copy(new oe(0, 0, 0)), a.name = "videoCoverMesh", a;
|
|
17596
17596
|
}))();
|
|
17597
17597
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
@@ -17607,9 +17607,9 @@ class yg extends bg {
|
|
|
17607
17607
|
if (!this.src)
|
|
17608
17608
|
return;
|
|
17609
17609
|
const s = this.getVideoTexture(this.src), o = new w.MeshBasicMaterial({ transparent: !1, map: s }), r = yield new Promise((l) => {
|
|
17610
|
-
s.metadataLoaded ? l(
|
|
17610
|
+
s.metadataLoaded ? l(ks(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
|
|
17611
17611
|
"videoLoaded",
|
|
17612
|
-
() => l(
|
|
17612
|
+
() => l(ks(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
|
|
17613
17613
|
);
|
|
17614
17614
|
}), a = new ya(r, o);
|
|
17615
17615
|
return a.name = "videoMesh", a.position.copy(new oe(0, 0, 0)), a;
|
|
@@ -17640,7 +17640,7 @@ class yg extends bg {
|
|
|
17640
17640
|
var g, A, p, m;
|
|
17641
17641
|
if (this.buttonMesh)
|
|
17642
17642
|
return this.buttonMesh;
|
|
17643
|
-
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 =
|
|
17643
|
+
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 = ks("contain", this.cornerPoints, l.image.width / l.image.height), u = new ya(h, new Vw(l));
|
|
17644
17644
|
u.position.copy(new oe(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
|
|
17645
17645
|
u,
|
|
17646
17646
|
"click",
|
|
@@ -18079,7 +18079,7 @@ class Nw extends jw {
|
|
|
18079
18079
|
const a = (() => e.stickType === "3DPoint" ? Be(e.normal) : ba(e.position))();
|
|
18080
18080
|
if (!a)
|
|
18081
18081
|
return;
|
|
18082
|
-
const l =
|
|
18082
|
+
const l = Ts(e);
|
|
18083
18083
|
if (!l)
|
|
18084
18084
|
return;
|
|
18085
18085
|
const c = new w.Vector3().copy(r).sub(l), h = a.angleTo(c) * 180 / Math.PI;
|
|
@@ -18093,7 +18093,7 @@ class Nw extends jw {
|
|
|
18093
18093
|
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;
|
|
18094
18094
|
if ((a == null ? void 0 : a.distance) !== void 0)
|
|
18095
18095
|
return a.distance;
|
|
18096
|
-
const l =
|
|
18096
|
+
const l = Ts(e);
|
|
18097
18097
|
if (!l)
|
|
18098
18098
|
return -1;
|
|
18099
18099
|
if (Nt(r)) {
|
|
@@ -18103,7 +18103,7 @@ class Nw extends jw {
|
|
|
18103
18103
|
const h = c.distanceTo(l);
|
|
18104
18104
|
return a && (a.distance = h), h;
|
|
18105
18105
|
}
|
|
18106
|
-
if (
|
|
18106
|
+
if (jn(r))
|
|
18107
18107
|
return this.five.camera.position.distanceTo(l);
|
|
18108
18108
|
}
|
|
18109
18109
|
getPositions(e) {
|
|
@@ -18220,7 +18220,7 @@ class Nw extends jw {
|
|
|
18220
18220
|
const l = (y = e.initialConfig) != null ? y : {}, c = Re({}, xw, this.config.globalConfig, ...Object.values(o)), h = Re({}, c, l), u = {}, f = Object.values(dt.Mode);
|
|
18221
18221
|
td(r).forEach(([P, E]) => {
|
|
18222
18222
|
f.forEach((k) => {
|
|
18223
|
-
(P === "PanoramaLike" && Nt(k) || P === "ModelLike" &&
|
|
18223
|
+
(P === "PanoramaLike" && Nt(k) || P === "ModelLike" && jn(k)) && (u[k] = Re({}, c, ...Object.values(E), l, { _isMerged: !0 }));
|
|
18224
18224
|
});
|
|
18225
18225
|
}), td(a).forEach(([P, E]) => {
|
|
18226
18226
|
const k = u[P];
|
|
@@ -18278,7 +18278,7 @@ class Gw extends Nw {
|
|
|
18278
18278
|
if (h.visibleFiveMode !== void 0) {
|
|
18279
18279
|
const y = typeof h.visibleFiveMode == "function" ? h.visibleFiveMode(t) : h.visibleFiveMode;
|
|
18280
18280
|
let P = !1;
|
|
18281
|
-
if (Array.isArray(y) ? P = y.includes(o) : y === "ModelLike" ? P =
|
|
18281
|
+
if (Array.isArray(y) ? P = y.includes(o) : y === "ModelLike" ? P = jn(o) : y === "PanoramaLike" ? P = !Nt(o) : y === "all" ? P = !0 : typeof y == "string" && (P = y === o), P === !1)
|
|
18282
18282
|
return {
|
|
18283
18283
|
value: !1,
|
|
18284
18284
|
checkedList: a,
|
|
@@ -18312,7 +18312,7 @@ class Gw extends Nw {
|
|
|
18312
18312
|
}
|
|
18313
18313
|
if (h.visibleDistance !== void 0 && (a.push("visibleDistance"), h.visibleDistance !== "unLimited")) {
|
|
18314
18314
|
const y = this.getDistance(t, i);
|
|
18315
|
-
if (
|
|
18315
|
+
if (ws(y, h.visibleDistance) === !1)
|
|
18316
18316
|
return {
|
|
18317
18317
|
value: !1,
|
|
18318
18318
|
checkedList: a,
|
|
@@ -18324,7 +18324,7 @@ class Gw extends Nw {
|
|
|
18324
18324
|
if (Nt(o) && h.angleRange && Aw(t)) {
|
|
18325
18325
|
a.push("angleRange");
|
|
18326
18326
|
const y = this.getAngle(t, s);
|
|
18327
|
-
if (
|
|
18327
|
+
if (ws(y, h.angleRange) === !1)
|
|
18328
18328
|
return { value: !1, checkedList: a, reason: `angle is not in angleRange. angle: ${y}, angleRange: ${h.angleRange}` };
|
|
18329
18329
|
}
|
|
18330
18330
|
if (h.intersectRaycaster !== !1 && (typeof h.intersectRaycaster != "object" || h.intersectRaycaster.enabled !== !1)) {
|
|
@@ -18367,7 +18367,7 @@ class Gw extends Nw {
|
|
|
18367
18367
|
return !1;
|
|
18368
18368
|
if (o.keep === "unfolded")
|
|
18369
18369
|
return !0;
|
|
18370
|
-
if (o.unfoldDistance &&
|
|
18370
|
+
if (o.unfoldDistance && ws(this.getDistance(t, { panoIndex: e }), o.unfoldDistance) === !1)
|
|
18371
18371
|
return !1;
|
|
18372
18372
|
})();
|
|
18373
18373
|
s.unfolded = r;
|
|
@@ -18393,7 +18393,7 @@ class Gw extends Nw {
|
|
|
18393
18393
|
return;
|
|
18394
18394
|
if (s.autoUnfold.strategy === "ScreenPostion") {
|
|
18395
18395
|
const r = this.getTagProject(t);
|
|
18396
|
-
if (r &&
|
|
18396
|
+
if (r && ws(r.x, s.autoUnfold.autoUnfoldProjectX) === !1)
|
|
18397
18397
|
return !1;
|
|
18398
18398
|
}
|
|
18399
18399
|
if (s.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -18408,7 +18408,7 @@ class Gw extends Nw {
|
|
|
18408
18408
|
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");
|
|
18409
18409
|
}).map((h) => se(D({}, h), { distance: this.getDistance(h.tag) })).filter(({ distance: h, tagConfig: u }) => {
|
|
18410
18410
|
const f = u.autoUnfold.distance;
|
|
18411
|
-
return !(f &&
|
|
18411
|
+
return !(f && ws(h, f) === !1);
|
|
18412
18412
|
}).sort((h, u) => h.distance - u.distance).findIndex((h) => h.id === t.id);
|
|
18413
18413
|
if (l === -1 || l <= ((o = s.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
|
|
18414
18414
|
return !1;
|
|
@@ -18445,7 +18445,7 @@ class Gw extends Nw {
|
|
|
18445
18445
|
* @description 一个点的标签
|
|
18446
18446
|
*/
|
|
18447
18447
|
getTagProject(t) {
|
|
18448
|
-
const e =
|
|
18448
|
+
const e = Ts(t);
|
|
18449
18449
|
if (!e)
|
|
18450
18450
|
return;
|
|
18451
18451
|
const { x: i, y: s, z: o } = e.project(this.five.camera);
|
|
@@ -18455,14 +18455,14 @@ class Gw extends Nw {
|
|
|
18455
18455
|
/** 通过射线检测标签可用性 */
|
|
18456
18456
|
getTagEnableByIntersect(t, e) {
|
|
18457
18457
|
var c, h, u, f, g;
|
|
18458
|
-
const i =
|
|
18458
|
+
const i = $i($i((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;
|
|
18459
18459
|
if (o === void 0)
|
|
18460
18460
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: s } };
|
|
18461
18461
|
const r = ul(
|
|
18462
18462
|
(() => {
|
|
18463
18463
|
var p;
|
|
18464
18464
|
const A = (p = i.checkPoints) != null ? p : "center";
|
|
18465
|
-
return A === "center" ?
|
|
18465
|
+
return A === "center" ? Ts(t) : A === "corner" ? pg(t) : Array.isArray(A) ? A : [];
|
|
18466
18466
|
})()
|
|
18467
18467
|
);
|
|
18468
18468
|
let a = 0, l = 0;
|
|
@@ -18497,7 +18497,7 @@ class Gw extends Nw {
|
|
|
18497
18497
|
var o, r, a, l, c, h, u;
|
|
18498
18498
|
let e = 0;
|
|
18499
18499
|
const i = (o = t.fiveState) == null ? void 0 : o.panoIndex;
|
|
18500
|
-
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 :
|
|
18500
|
+
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 : Ts(t));
|
|
18501
18501
|
const s = this.five.model.shownFloor;
|
|
18502
18502
|
return s === null || s === e;
|
|
18503
18503
|
}
|
|
@@ -18644,7 +18644,7 @@ function sd(n) {
|
|
|
18644
18644
|
},
|
|
18645
18645
|
i(r) {
|
|
18646
18646
|
o || (r && Xe(() => {
|
|
18647
|
-
o && (s && s.end(1), i =
|
|
18647
|
+
o && (s && s.end(1), i = nn(t, Ko, {
|
|
18648
18648
|
duration: (
|
|
18649
18649
|
/*duration*/
|
|
18650
18650
|
n[2]
|
|
@@ -18658,7 +18658,7 @@ function sd(n) {
|
|
|
18658
18658
|
}), o = !0);
|
|
18659
18659
|
},
|
|
18660
18660
|
o(r) {
|
|
18661
|
-
i && i.invalidate(), r && (s =
|
|
18661
|
+
i && i.invalidate(), r && (s = es(t, Ko, {
|
|
18662
18662
|
duration: (
|
|
18663
18663
|
/*duration*/
|
|
18664
18664
|
n[2]
|
|
@@ -18842,14 +18842,14 @@ function od(n) {
|
|
|
18842
18842
|
},
|
|
18843
18843
|
i(r) {
|
|
18844
18844
|
o || (r && Xe(() => {
|
|
18845
|
-
o && (s && s.end(1), i =
|
|
18845
|
+
o && (s && s.end(1), i = nn(t, gt, { duration: (
|
|
18846
18846
|
/*inDelay*/
|
|
18847
18847
|
n[0]
|
|
18848
18848
|
) }), i.start());
|
|
18849
18849
|
}), o = !0);
|
|
18850
18850
|
},
|
|
18851
18851
|
o(r) {
|
|
18852
|
-
i && i.invalidate(), r && (s =
|
|
18852
|
+
i && i.invalidate(), r && (s = es(t, gt, { duration: (
|
|
18853
18853
|
/*outDelay*/
|
|
18854
18854
|
n[1]
|
|
18855
18855
|
) })), o = !1;
|
|
@@ -19226,7 +19226,7 @@ function ld(n) {
|
|
|
19226
19226
|
},
|
|
19227
19227
|
i(u) {
|
|
19228
19228
|
l || (x(e.$$.fragment, u), u && Xe(() => {
|
|
19229
|
-
l && (a && a.end(1), r =
|
|
19229
|
+
l && (a && a.end(1), r = nn(s, gt, {
|
|
19230
19230
|
duration: (
|
|
19231
19231
|
/*duration*/
|
|
19232
19232
|
n[2]
|
|
@@ -19235,12 +19235,12 @@ function ld(n) {
|
|
|
19235
19235
|
/*inDelay*/
|
|
19236
19236
|
n[3]
|
|
19237
19237
|
),
|
|
19238
|
-
easing:
|
|
19238
|
+
easing: Bn
|
|
19239
19239
|
}), r.start());
|
|
19240
19240
|
}), l = !0);
|
|
19241
19241
|
},
|
|
19242
19242
|
o(u) {
|
|
19243
|
-
O(e.$$.fragment, u), r && r.invalidate(), u && (a =
|
|
19243
|
+
O(e.$$.fragment, u), r && r.invalidate(), u && (a = es(s, gt, {
|
|
19244
19244
|
duration: (
|
|
19245
19245
|
/*duration*/
|
|
19246
19246
|
n[2]
|
|
@@ -19249,7 +19249,7 @@ function ld(n) {
|
|
|
19249
19249
|
/*outDelay*/
|
|
19250
19250
|
n[4]
|
|
19251
19251
|
),
|
|
19252
|
-
easing:
|
|
19252
|
+
easing: Bn
|
|
19253
19253
|
})), l = !1;
|
|
19254
19254
|
},
|
|
19255
19255
|
d(u) {
|
|
@@ -19290,7 +19290,7 @@ function nC(n) {
|
|
|
19290
19290
|
function sC(n, t, e) {
|
|
19291
19291
|
let { direction: i = "right" } = t, { visible: s = !0 } = t, { duration: o = 0 } = t, { inDelay: r = 0 } = t, { outDelay: a = 0 } = t;
|
|
19292
19292
|
function l(c) {
|
|
19293
|
-
|
|
19293
|
+
$n.call(this, n, c);
|
|
19294
19294
|
}
|
|
19295
19295
|
return n.$$set = (c) => {
|
|
19296
19296
|
"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);
|
|
@@ -19714,7 +19714,7 @@ function mC(n) {
|
|
|
19714
19714
|
const e = (
|
|
19715
19715
|
/*#slots*/
|
|
19716
19716
|
n[6].default
|
|
19717
|
-
), i =
|
|
19717
|
+
), i = Zn(
|
|
19718
19718
|
e,
|
|
19719
19719
|
n,
|
|
19720
19720
|
/*$$scope*/
|
|
@@ -19730,19 +19730,19 @@ function mC(n) {
|
|
|
19730
19730
|
},
|
|
19731
19731
|
p(s, o) {
|
|
19732
19732
|
i && i.p && (!t || o & /*$$scope*/
|
|
19733
|
-
32) &&
|
|
19733
|
+
32) && qn(
|
|
19734
19734
|
i,
|
|
19735
19735
|
e,
|
|
19736
19736
|
s,
|
|
19737
19737
|
/*$$scope*/
|
|
19738
19738
|
s[5],
|
|
19739
|
-
t ?
|
|
19739
|
+
t ? Jn(
|
|
19740
19740
|
e,
|
|
19741
19741
|
/*$$scope*/
|
|
19742
19742
|
s[5],
|
|
19743
19743
|
o,
|
|
19744
19744
|
null
|
|
19745
|
-
) :
|
|
19745
|
+
) : Kn(
|
|
19746
19746
|
/*$$scope*/
|
|
19747
19747
|
s[5]
|
|
19748
19748
|
),
|
|
@@ -20272,7 +20272,7 @@ function pd(n) {
|
|
|
20272
20272
|
},
|
|
20273
20273
|
i(o) {
|
|
20274
20274
|
s || (o && Xe(() => {
|
|
20275
|
-
s && (i && i.end(1), e =
|
|
20275
|
+
s && (i && i.end(1), e = nn(t, Ko, {
|
|
20276
20276
|
duration: (
|
|
20277
20277
|
/*duration*/
|
|
20278
20278
|
n[1]
|
|
@@ -20286,7 +20286,7 @@ function pd(n) {
|
|
|
20286
20286
|
}), s = !0);
|
|
20287
20287
|
},
|
|
20288
20288
|
o(o) {
|
|
20289
|
-
e && e.invalidate(), o && (i =
|
|
20289
|
+
e && e.invalidate(), o && (i = es(t, Ko, {
|
|
20290
20290
|
duration: (
|
|
20291
20291
|
/*duration*/
|
|
20292
20292
|
n[1]
|
|
@@ -20295,7 +20295,7 @@ function pd(n) {
|
|
|
20295
20295
|
/*outDelay*/
|
|
20296
20296
|
n[2]
|
|
20297
20297
|
),
|
|
20298
|
-
easing:
|
|
20298
|
+
easing: Bn
|
|
20299
20299
|
})), s = !1;
|
|
20300
20300
|
},
|
|
20301
20301
|
d(o) {
|
|
@@ -20406,7 +20406,7 @@ function zC(n) {
|
|
|
20406
20406
|
function OC(n, t, e) {
|
|
20407
20407
|
let { active: i = !1 } = t;
|
|
20408
20408
|
function s(o) {
|
|
20409
|
-
|
|
20409
|
+
$n.call(this, n, o);
|
|
20410
20410
|
}
|
|
20411
20411
|
return n.$$set = (o) => {
|
|
20412
20412
|
"active" in o && e(0, i = o.active);
|
|
@@ -20539,7 +20539,7 @@ class NC extends ce {
|
|
|
20539
20539
|
super(), le(this, t, HC, VC, ae, { pagesCount: 0, currentPageIndex: 1 }, RC);
|
|
20540
20540
|
}
|
|
20541
20541
|
}
|
|
20542
|
-
const
|
|
20542
|
+
const Gn = "prev", xi = "next";
|
|
20543
20543
|
function QC(n) {
|
|
20544
20544
|
ge(n, "svelte-1bftafx", ":root{--sc-arrow-size:2px}.sc-carousel-arrow__circle.svelte-1bftafx{width:20px;height:20px;border-radius:50%;background-color:var(--sc-color-rgb-light-50p);display:flex;align-items:center;justify-content:center;transition:opacity 100ms ease;cursor:pointer;-webkit-tap-highlight-color:transparent}.sc-carousel-arrow__circle.svelte-1bftafx:hover{opacity:0.9}.sc-carousel-arrow__arrow.svelte-1bftafx{border:solid var(--sc-color-hex-dark);border-width:0 var(--sc-arrow-size) var(--sc-arrow-size) 0;padding:var(--sc-arrow-size);position:relative}.sc-carousel-arrow__arrow-next.svelte-1bftafx{transform:rotate(-45deg);left:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__arrow-prev.svelte-1bftafx{transform:rotate(135deg);right:calc(var(--sc-arrow-size) / -2)}.sc-carousel-arrow__circle_disabled.svelte-1bftafx,.sc-carousel-arrow__circle_disabled.svelte-1bftafx:hover{opacity:0.5}");
|
|
20545
20545
|
}
|
|
@@ -20556,7 +20556,7 @@ function GC(n) {
|
|
|
20556
20556
|
e,
|
|
20557
20557
|
"sc-carousel-arrow__arrow-prev",
|
|
20558
20558
|
/*direction*/
|
|
20559
|
-
n[0] ===
|
|
20559
|
+
n[0] === Gn
|
|
20560
20560
|
), C(t, "class", "sc-carousel-button sc-carousel-arrow__circle svelte-1bftafx"), q(
|
|
20561
20561
|
t,
|
|
20562
20562
|
"sc-carousel-arrow__circle_disabled",
|
|
@@ -20584,7 +20584,7 @@ function GC(n) {
|
|
|
20584
20584
|
e,
|
|
20585
20585
|
"sc-carousel-arrow__arrow-prev",
|
|
20586
20586
|
/*direction*/
|
|
20587
|
-
o[0] ===
|
|
20587
|
+
o[0] === Gn
|
|
20588
20588
|
), r & /*disabled*/
|
|
20589
20589
|
2 && q(
|
|
20590
20590
|
t,
|
|
@@ -20603,7 +20603,7 @@ function GC(n) {
|
|
|
20603
20603
|
function FC(n, t, e) {
|
|
20604
20604
|
let { direction: i = xi } = t, { disabled: s = !1 } = t;
|
|
20605
20605
|
function o(r) {
|
|
20606
|
-
|
|
20606
|
+
$n.call(this, n, r);
|
|
20607
20607
|
}
|
|
20608
20608
|
return n.$$set = (r) => {
|
|
20609
20609
|
"direction" in r && e(0, i = r.direction), "disabled" in r && e(1, s = r.disabled);
|
|
@@ -20718,7 +20718,7 @@ function iP(n, { thresholdProvider: t }) {
|
|
|
20718
20718
|
if (!a)
|
|
20719
20719
|
return;
|
|
20720
20720
|
const g = wa(f), A = g.x - i, p = g.y - s;
|
|
20721
|
-
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: A, dy: p }), A !== 0 && Math.sign(A) !== Math.sign(o) && (o = 0), o += A, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ?
|
|
20721
|
+
i = g.x, s = g.y, e("swipeMove", { x: i, y: s, dx: A, dy: p }), A !== 0 && Math.sign(A) !== Math.sign(o) && (o = 0), o += A, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? Gn : xi }), yd(window, u), wd(window, h));
|
|
20722
20722
|
}
|
|
20723
20723
|
function u(f) {
|
|
20724
20724
|
if (yd(window, u), wd(window, h), a = !1, !l()) {
|
|
@@ -20764,7 +20764,7 @@ const aP = (n, t) => {
|
|
|
20764
20764
|
const e = t.x - n.x, i = t.y - n.y;
|
|
20765
20765
|
return Math.sqrt(e * e + i * i);
|
|
20766
20766
|
};
|
|
20767
|
-
function
|
|
20767
|
+
function Tn(n, t, e) {
|
|
20768
20768
|
return Math.max(n, Math.min(t, e));
|
|
20769
20769
|
}
|
|
20770
20770
|
function lP(n, t) {
|
|
@@ -20885,7 +20885,7 @@ function AP({
|
|
|
20885
20885
|
particlesToScroll: i,
|
|
20886
20886
|
particlesCount: s
|
|
20887
20887
|
}) {
|
|
20888
|
-
return
|
|
20888
|
+
return Tn(
|
|
20889
20889
|
0,
|
|
20890
20890
|
Math.min(t + n * i, s - e),
|
|
20891
20891
|
s - 1
|
|
@@ -20897,7 +20897,7 @@ function vP({
|
|
|
20897
20897
|
particlesCount: e,
|
|
20898
20898
|
particlesToShow: i
|
|
20899
20899
|
}) {
|
|
20900
|
-
return
|
|
20900
|
+
return Tn(
|
|
20901
20901
|
0,
|
|
20902
20902
|
Math.min(n * t, e - i),
|
|
20903
20903
|
e - 1
|
|
@@ -20996,7 +20996,7 @@ function PP({
|
|
|
20996
20996
|
total: i.head + i.tail
|
|
20997
20997
|
});
|
|
20998
20998
|
}
|
|
20999
|
-
const
|
|
20999
|
+
const js = (n, t, e) => {
|
|
21000
21000
|
if (n && n.hasOwnProperty(t))
|
|
21001
21001
|
return n[t];
|
|
21002
21002
|
if (e === void 0)
|
|
@@ -21024,7 +21024,7 @@ var HP = Array.prototype, NP = Function.prototype, Dg = Object.prototype, Pa = _
|
|
|
21024
21024
|
}(), Sg = NP.toString, Wl = Dg.hasOwnProperty, Tg = Dg.toString, QP = RegExp(
|
|
21025
21025
|
"^" + Sg.call(Wl).replace(LP, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21026
21026
|
), 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;
|
|
21027
|
-
function
|
|
21027
|
+
function en(n) {
|
|
21028
21028
|
var t = -1, e = n ? n.length : 0;
|
|
21029
21029
|
for (this.clear(); ++t < e; ) {
|
|
21030
21030
|
var i = n[t];
|
|
@@ -21053,12 +21053,12 @@ function XP(n, t) {
|
|
|
21053
21053
|
var e = this.__data__;
|
|
21054
21054
|
return e[n] = Gs && t === void 0 ? kg : t, this;
|
|
21055
21055
|
}
|
|
21056
|
-
|
|
21057
|
-
|
|
21058
|
-
|
|
21059
|
-
|
|
21060
|
-
|
|
21061
|
-
function
|
|
21056
|
+
en.prototype.clear = _P;
|
|
21057
|
+
en.prototype.delete = WP;
|
|
21058
|
+
en.prototype.get = UP;
|
|
21059
|
+
en.prototype.has = YP;
|
|
21060
|
+
en.prototype.set = XP;
|
|
21061
|
+
function ts(n) {
|
|
21062
21062
|
var t = -1, e = n ? n.length : 0;
|
|
21063
21063
|
for (this.clear(); ++t < e; ) {
|
|
21064
21064
|
var i = n[t];
|
|
@@ -21086,12 +21086,12 @@ function $P(n, t) {
|
|
|
21086
21086
|
var e = this.__data__, i = wr(e, n);
|
|
21087
21087
|
return i < 0 ? e.push([n, t]) : e[i][1] = t, this;
|
|
21088
21088
|
}
|
|
21089
|
-
|
|
21090
|
-
|
|
21091
|
-
|
|
21092
|
-
|
|
21093
|
-
|
|
21094
|
-
function
|
|
21089
|
+
ts.prototype.clear = ZP;
|
|
21090
|
+
ts.prototype.delete = JP;
|
|
21091
|
+
ts.prototype.get = qP;
|
|
21092
|
+
ts.prototype.has = KP;
|
|
21093
|
+
ts.prototype.set = $P;
|
|
21094
|
+
function on(n) {
|
|
21095
21095
|
var t = -1, e = n ? n.length : 0;
|
|
21096
21096
|
for (this.clear(); ++t < e; ) {
|
|
21097
21097
|
var i = n[t];
|
|
@@ -21100,9 +21100,9 @@ function sn(n) {
|
|
|
21100
21100
|
}
|
|
21101
21101
|
function eI() {
|
|
21102
21102
|
this.__data__ = {
|
|
21103
|
-
hash: new
|
|
21104
|
-
map: new (FP ||
|
|
21105
|
-
string: new
|
|
21103
|
+
hash: new en(),
|
|
21104
|
+
map: new (FP || ts)(),
|
|
21105
|
+
string: new en()
|
|
21106
21106
|
};
|
|
21107
21107
|
}
|
|
21108
21108
|
function tI(n) {
|
|
@@ -21117,11 +21117,11 @@ function nI(n) {
|
|
|
21117
21117
|
function sI(n, t) {
|
|
21118
21118
|
return Cr(this, n).set(n, t), this;
|
|
21119
21119
|
}
|
|
21120
|
-
|
|
21121
|
-
|
|
21122
|
-
|
|
21123
|
-
|
|
21124
|
-
|
|
21120
|
+
on.prototype.clear = eI;
|
|
21121
|
+
on.prototype.delete = tI;
|
|
21122
|
+
on.prototype.get = iI;
|
|
21123
|
+
on.prototype.has = nI;
|
|
21124
|
+
on.prototype.set = sI;
|
|
21125
21125
|
function wr(n, t) {
|
|
21126
21126
|
for (var e = n.length; e--; )
|
|
21127
21127
|
if (mI(n[e][0], t))
|
|
@@ -21208,9 +21208,9 @@ function Ul(n, t) {
|
|
|
21208
21208
|
var r = n.apply(this, i);
|
|
21209
21209
|
return e.cache = o.set(s, r), r;
|
|
21210
21210
|
};
|
|
21211
|
-
return e.cache = new (Ul.Cache ||
|
|
21211
|
+
return e.cache = new (Ul.Cache || on)(), e;
|
|
21212
21212
|
}
|
|
21213
|
-
Ul.Cache =
|
|
21213
|
+
Ul.Cache = on;
|
|
21214
21214
|
function mI(n, t) {
|
|
21215
21215
|
return n === t || n !== n && t !== t;
|
|
21216
21216
|
}
|
|
@@ -21307,9 +21307,9 @@ var To = bI, ir = {}, yI = {
|
|
|
21307
21307
|
var Ye = Array.prototype, Mt = Function.prototype, ot = Object.prototype, Ct = be["__core-js_shared__"], Ve = function() {
|
|
21308
21308
|
var b = /[^.]+$/.exec(Ct && Ct.keys && Ct.keys.IE_PROTO || "");
|
|
21309
21309
|
return b ? "Symbol(src)_1." + b : "";
|
|
21310
|
-
}(), He = Mt.toString, Je = ot.hasOwnProperty, Rt = ot.toString,
|
|
21310
|
+
}(), He = Mt.toString, Je = ot.hasOwnProperty, Rt = ot.toString, is = RegExp(
|
|
21311
21311
|
"^" + He.call(Je).replace(X, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21312
|
-
), Xt = Ze ? be.Buffer : void 0, Ai = be.Symbol, zi = be.Uint8Array, kt = Ie(Object.getPrototypeOf, Object),
|
|
21312
|
+
), Xt = Ze ? be.Buffer : void 0, Ai = be.Symbol, zi = be.Uint8Array, kt = Ie(Object.getPrototypeOf, Object), rn = Object.create, an = ot.propertyIsEnumerable, Ir = Ye.splice, ns = Object.getOwnPropertySymbols, ln = Xt ? Xt.isBuffer : void 0, $s = Ie(Object.keys, Object), cn = Ht(be, "DataView"), Oi = Ht(be, "Map"), Vt = Ht(be, "Promise"), hn = Ht(be, "Set"), ss = Ht(be, "WeakMap"), Bi = Ht(Object, "create"), os = Pt(cn), Ri = Pt(Oi), rs = Pt(Vt), as = Pt(hn), ls = Pt(ss), vi = Ai ? Ai.prototype : void 0, eo = vi ? vi.valueOf : void 0;
|
|
21313
21313
|
function ri(b) {
|
|
21314
21314
|
var M = -1, R = b ? b.length : 0;
|
|
21315
21315
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21335,11 +21335,11 @@ var To = bI, ir = {}, yI = {
|
|
|
21335
21335
|
var M = this.__data__;
|
|
21336
21336
|
return Bi ? M[b] !== void 0 : Je.call(M, b);
|
|
21337
21337
|
}
|
|
21338
|
-
function
|
|
21338
|
+
function cs(b, M) {
|
|
21339
21339
|
var R = this.__data__;
|
|
21340
21340
|
return R[b] = Bi && M === void 0 ? i : M, this;
|
|
21341
21341
|
}
|
|
21342
|
-
ri.prototype.clear = Er, ri.prototype.delete = Mr, ri.prototype.get = kr, ri.prototype.has = to, ri.prototype.set =
|
|
21342
|
+
ri.prototype.clear = Er, ri.prototype.delete = Mr, ri.prototype.get = kr, ri.prototype.has = to, ri.prototype.set = cs;
|
|
21343
21343
|
function lt(b) {
|
|
21344
21344
|
var M = -1, R = b ? b.length : 0;
|
|
21345
21345
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21351,21 +21351,21 @@ var To = bI, ir = {}, yI = {
|
|
|
21351
21351
|
this.__data__ = [];
|
|
21352
21352
|
}
|
|
21353
21353
|
function Dr(b) {
|
|
21354
|
-
var M = this.__data__, R =
|
|
21354
|
+
var M = this.__data__, R = un(M, b);
|
|
21355
21355
|
if (R < 0)
|
|
21356
21356
|
return !1;
|
|
21357
21357
|
var Y = M.length - 1;
|
|
21358
21358
|
return R == Y ? M.pop() : Ir.call(M, R, 1), !0;
|
|
21359
21359
|
}
|
|
21360
21360
|
function Sr(b) {
|
|
21361
|
-
var M = this.__data__, R =
|
|
21361
|
+
var M = this.__data__, R = un(M, b);
|
|
21362
21362
|
return R < 0 ? void 0 : M[R][1];
|
|
21363
21363
|
}
|
|
21364
21364
|
function Tr(b) {
|
|
21365
|
-
return
|
|
21365
|
+
return un(this.__data__, b) > -1;
|
|
21366
21366
|
}
|
|
21367
21367
|
function Lr(b, M) {
|
|
21368
|
-
var R = this.__data__, Y =
|
|
21368
|
+
var R = this.__data__, Y = un(R, b);
|
|
21369
21369
|
return Y < 0 ? R.push([b, M]) : R[Y][1] = M, this;
|
|
21370
21370
|
}
|
|
21371
21371
|
lt.prototype.clear = xr, lt.prototype.delete = Dr, lt.prototype.get = Sr, lt.prototype.has = Tr, lt.prototype.set = Lr;
|
|
@@ -21422,8 +21422,8 @@ var To = bI, ir = {}, yI = {
|
|
|
21422
21422
|
return R.set(b, M), this;
|
|
21423
21423
|
}
|
|
21424
21424
|
xt.prototype.clear = Vr, xt.prototype.delete = Hr, xt.prototype.get = Nr, xt.prototype.has = Qr, xt.prototype.set = Gr;
|
|
21425
|
-
function
|
|
21426
|
-
var R =
|
|
21425
|
+
function dn(b, M) {
|
|
21426
|
+
var R = fs(b) || gn(b) ? at(b.length, String) : [], Y = R.length, Ee = !!Y;
|
|
21427
21427
|
for (var pe in b)
|
|
21428
21428
|
(M || Je.call(b, pe)) && !(Ee && (pe == "length" || ia(pe, Y))) && R.push(pe);
|
|
21429
21429
|
return R;
|
|
@@ -21432,29 +21432,29 @@ var To = bI, ir = {}, yI = {
|
|
|
21432
21432
|
var Y = b[M];
|
|
21433
21433
|
(!(Je.call(b, M) && ao(Y, R)) || R === void 0 && !(M in b)) && (b[M] = R);
|
|
21434
21434
|
}
|
|
21435
|
-
function
|
|
21435
|
+
function un(b, M) {
|
|
21436
21436
|
for (var R = b.length; R--; )
|
|
21437
21437
|
if (ao(b[R][0], M))
|
|
21438
21438
|
return R;
|
|
21439
21439
|
return -1;
|
|
21440
21440
|
}
|
|
21441
21441
|
function Zt(b, M) {
|
|
21442
|
-
return b &&
|
|
21442
|
+
return b && us(M, ms(M), b);
|
|
21443
21443
|
}
|
|
21444
|
-
function
|
|
21444
|
+
function hs(b, M, R, Y, Ee, pe, Se) {
|
|
21445
21445
|
var Te;
|
|
21446
21446
|
if (Y && (Te = pe ? Y(b, Ee, pe, Se) : Y(b)), Te !== void 0)
|
|
21447
21447
|
return Te;
|
|
21448
21448
|
if (!qt(b))
|
|
21449
21449
|
return b;
|
|
21450
|
-
var qe =
|
|
21450
|
+
var qe = fs(b);
|
|
21451
21451
|
if (qe) {
|
|
21452
21452
|
if (Te = ea(b), !M)
|
|
21453
21453
|
return qr(b, Te);
|
|
21454
21454
|
} else {
|
|
21455
21455
|
var ze = li(b), pt = ze == h || ze == u;
|
|
21456
21456
|
if (lo(b))
|
|
21457
|
-
return
|
|
21457
|
+
return fn(b, M);
|
|
21458
21458
|
if (ze == A || ze == o || pt && !pe) {
|
|
21459
21459
|
if (st(b))
|
|
21460
21460
|
return pe ? b : {};
|
|
@@ -21463,7 +21463,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21463
21463
|
} else {
|
|
21464
21464
|
if (!he[ze])
|
|
21465
21465
|
return pe ? b : {};
|
|
21466
|
-
Te = ta(b, ze,
|
|
21466
|
+
Te = ta(b, ze, hs, M);
|
|
21467
21467
|
}
|
|
21468
21468
|
}
|
|
21469
21469
|
Se || (Se = new xt());
|
|
@@ -21471,17 +21471,17 @@ var To = bI, ir = {}, yI = {
|
|
|
21471
21471
|
if (Dt)
|
|
21472
21472
|
return Dt;
|
|
21473
21473
|
if (Se.set(b, Te), !qe)
|
|
21474
|
-
var it = R ? $r(b) :
|
|
21474
|
+
var it = R ? $r(b) : ms(b);
|
|
21475
21475
|
return je(it || b, function(At, ct) {
|
|
21476
|
-
it && (ct = At, At = b[ct]), io(Te, ct,
|
|
21476
|
+
it && (ct = At, At = b[ct]), io(Te, ct, hs(At, M, R, Y, ct, b, Se));
|
|
21477
21477
|
}), Te;
|
|
21478
21478
|
}
|
|
21479
21479
|
function Fr(b) {
|
|
21480
|
-
return qt(b) ?
|
|
21480
|
+
return qt(b) ? rn(b) : {};
|
|
21481
21481
|
}
|
|
21482
21482
|
function _r(b, M, R) {
|
|
21483
21483
|
var Y = M(b);
|
|
21484
|
-
return
|
|
21484
|
+
return fs(b) ? Y : me(Y, R(b));
|
|
21485
21485
|
}
|
|
21486
21486
|
function Wr(b) {
|
|
21487
21487
|
return Rt.call(b);
|
|
@@ -21489,7 +21489,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21489
21489
|
function Ur(b) {
|
|
21490
21490
|
if (!qt(b) || sa(b))
|
|
21491
21491
|
return !1;
|
|
21492
|
-
var M =
|
|
21492
|
+
var M = gs(b) || st(b) ? is : $;
|
|
21493
21493
|
return M.test(Pt(b));
|
|
21494
21494
|
}
|
|
21495
21495
|
function Yr(b) {
|
|
@@ -21500,18 +21500,18 @@ var To = bI, ir = {}, yI = {
|
|
|
21500
21500
|
Je.call(b, R) && R != "constructor" && M.push(R);
|
|
21501
21501
|
return M;
|
|
21502
21502
|
}
|
|
21503
|
-
function
|
|
21503
|
+
function fn(b, M) {
|
|
21504
21504
|
if (M)
|
|
21505
21505
|
return b.slice();
|
|
21506
21506
|
var R = new b.constructor(b.length);
|
|
21507
21507
|
return b.copy(R), R;
|
|
21508
21508
|
}
|
|
21509
|
-
function
|
|
21509
|
+
function ds(b) {
|
|
21510
21510
|
var M = new b.constructor(b.byteLength);
|
|
21511
21511
|
return new zi(M).set(new zi(b)), M;
|
|
21512
21512
|
}
|
|
21513
21513
|
function Vi(b, M) {
|
|
21514
|
-
var R = M ?
|
|
21514
|
+
var R = M ? ds(b.buffer) : b.buffer;
|
|
21515
21515
|
return new b.constructor(R, b.byteOffset, b.byteLength);
|
|
21516
21516
|
}
|
|
21517
21517
|
function no(b, M, R) {
|
|
@@ -21530,7 +21530,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21530
21530
|
return eo ? Object(eo.call(b)) : {};
|
|
21531
21531
|
}
|
|
21532
21532
|
function Jr(b, M) {
|
|
21533
|
-
var R = M ?
|
|
21533
|
+
var R = M ? ds(b.buffer) : b.buffer;
|
|
21534
21534
|
return new b.constructor(R, b.byteOffset, b.length);
|
|
21535
21535
|
}
|
|
21536
21536
|
function qr(b, M) {
|
|
@@ -21539,7 +21539,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21539
21539
|
M[R] = b[R];
|
|
21540
21540
|
return M;
|
|
21541
21541
|
}
|
|
21542
|
-
function
|
|
21542
|
+
function us(b, M, R, Y) {
|
|
21543
21543
|
R || (R = {});
|
|
21544
21544
|
for (var Ee = -1, pe = M.length; ++Ee < pe; ) {
|
|
21545
21545
|
var Se = M[Ee], Te = Y ? Y(R[Se], b[Se], Se, R, b) : void 0;
|
|
@@ -21548,10 +21548,10 @@ var To = bI, ir = {}, yI = {
|
|
|
21548
21548
|
return R;
|
|
21549
21549
|
}
|
|
21550
21550
|
function Kr(b, M) {
|
|
21551
|
-
return
|
|
21551
|
+
return us(b, ai(b), M);
|
|
21552
21552
|
}
|
|
21553
21553
|
function $r(b) {
|
|
21554
|
-
return _r(b,
|
|
21554
|
+
return _r(b, ms, ai);
|
|
21555
21555
|
}
|
|
21556
21556
|
function Hi(b, M) {
|
|
21557
21557
|
var R = b.__data__;
|
|
@@ -21561,20 +21561,20 @@ var To = bI, ir = {}, yI = {
|
|
|
21561
21561
|
var R = xe(b, M);
|
|
21562
21562
|
return Ur(R) ? R : void 0;
|
|
21563
21563
|
}
|
|
21564
|
-
var ai =
|
|
21565
|
-
(
|
|
21564
|
+
var ai = ns ? Ie(ns, Object) : ra, li = Wr;
|
|
21565
|
+
(cn && li(new cn(new ArrayBuffer(1))) != I || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || hn && li(new hn()) != v || ss && li(new ss()) != E) && (li = function(b) {
|
|
21566
21566
|
var M = Rt.call(b), R = M == A ? b.constructor : void 0, Y = R ? Pt(R) : void 0;
|
|
21567
21567
|
if (Y)
|
|
21568
21568
|
switch (Y) {
|
|
21569
|
-
case
|
|
21569
|
+
case os:
|
|
21570
21570
|
return I;
|
|
21571
21571
|
case Ri:
|
|
21572
21572
|
return f;
|
|
21573
|
-
case os:
|
|
21574
|
-
return p;
|
|
21575
21573
|
case rs:
|
|
21576
|
-
return
|
|
21574
|
+
return p;
|
|
21577
21575
|
case as:
|
|
21576
|
+
return v;
|
|
21577
|
+
case ls:
|
|
21578
21578
|
return E;
|
|
21579
21579
|
}
|
|
21580
21580
|
return M;
|
|
@@ -21590,7 +21590,7 @@ var To = bI, ir = {}, yI = {
|
|
|
21590
21590
|
var Ee = b.constructor;
|
|
21591
21591
|
switch (M) {
|
|
21592
21592
|
case k:
|
|
21593
|
-
return
|
|
21593
|
+
return ds(b);
|
|
21594
21594
|
case a:
|
|
21595
21595
|
case l:
|
|
21596
21596
|
return new Ee(+b);
|
|
@@ -21647,23 +21647,23 @@ var To = bI, ir = {}, yI = {
|
|
|
21647
21647
|
return "";
|
|
21648
21648
|
}
|
|
21649
21649
|
function ro(b) {
|
|
21650
|
-
return
|
|
21650
|
+
return hs(b, !0, !0);
|
|
21651
21651
|
}
|
|
21652
21652
|
function ao(b, M) {
|
|
21653
21653
|
return b === M || b !== b && M !== M;
|
|
21654
21654
|
}
|
|
21655
|
-
function fn(b) {
|
|
21656
|
-
return oa(b) && Je.call(b, "callee") && (!rn.call(b, "callee") || Rt.call(b) == o);
|
|
21657
|
-
}
|
|
21658
|
-
var us = Array.isArray;
|
|
21659
21655
|
function gn(b) {
|
|
21660
|
-
return b
|
|
21656
|
+
return oa(b) && Je.call(b, "callee") && (!an.call(b, "callee") || Rt.call(b) == o);
|
|
21657
|
+
}
|
|
21658
|
+
var fs = Array.isArray;
|
|
21659
|
+
function mn(b) {
|
|
21660
|
+
return b != null && co(b.length) && !gs(b);
|
|
21661
21661
|
}
|
|
21662
21662
|
function oa(b) {
|
|
21663
|
-
return ho(b) &&
|
|
21663
|
+
return ho(b) && mn(b);
|
|
21664
21664
|
}
|
|
21665
|
-
var lo =
|
|
21666
|
-
function
|
|
21665
|
+
var lo = ln || aa;
|
|
21666
|
+
function gs(b) {
|
|
21667
21667
|
var M = qt(b) ? Rt.call(b) : "";
|
|
21668
21668
|
return M == h || M == u;
|
|
21669
21669
|
}
|
|
@@ -21677,8 +21677,8 @@ var To = bI, ir = {}, yI = {
|
|
|
21677
21677
|
function ho(b) {
|
|
21678
21678
|
return !!b && typeof b == "object";
|
|
21679
21679
|
}
|
|
21680
|
-
function
|
|
21681
|
-
return
|
|
21680
|
+
function ms(b) {
|
|
21681
|
+
return mn(b) ? dn(b) : Yr(b);
|
|
21682
21682
|
}
|
|
21683
21683
|
function ra() {
|
|
21684
21684
|
return [];
|
|
@@ -21757,12 +21757,12 @@ var nr = {}, CI = {
|
|
|
21757
21757
|
R[++M] = Y;
|
|
21758
21758
|
}), R;
|
|
21759
21759
|
}
|
|
21760
|
-
var Rt = Array.prototype,
|
|
21760
|
+
var Rt = Array.prototype, is = Function.prototype, Xt = Object.prototype, Ai = ve["__core-js_shared__"], zi = is.toString, kt = Xt.hasOwnProperty, rn = function() {
|
|
21761
21761
|
var b = /[^.]+$/.exec(Ai && Ai.keys && Ai.keys.IE_PROTO || "");
|
|
21762
21762
|
return b ? "Symbol(src)_1." + b : "";
|
|
21763
|
-
}(),
|
|
21763
|
+
}(), an = Xt.toString, Ir = RegExp(
|
|
21764
21764
|
"^" + zi.call(kt).replace(Ce, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21765
|
-
),
|
|
21765
|
+
), ns = tt ? ve.Buffer : void 0, ln = ve.Symbol, $s = ve.Uint8Array, cn = Xt.propertyIsEnumerable, Oi = Rt.splice, Vt = ln ? ln.toStringTag : void 0, hn = Object.getOwnPropertySymbols, ss = ns ? ns.isBuffer : void 0, Bi = He(Object.keys, Object), os = ai(ve, "DataView"), Ri = ai(ve, "Map"), rs = ai(ve, "Promise"), as = ai(ve, "Set"), ls = ai(ve, "WeakMap"), vi = ai(Object, "create"), eo = Pt(os), ri = Pt(Ri), Er = Pt(rs), Mr = Pt(as), kr = Pt(ls), to = ln ? ln.prototype : void 0, cs = to ? to.valueOf : void 0;
|
|
21766
21766
|
function lt(b) {
|
|
21767
21767
|
var M = -1, R = b == null ? 0 : b.length;
|
|
21768
21768
|
for (this.clear(); ++M < R; ) {
|
|
@@ -21805,21 +21805,21 @@ var nr = {}, CI = {
|
|
|
21805
21805
|
this.__data__ = [], this.size = 0;
|
|
21806
21806
|
}
|
|
21807
21807
|
function zr(b) {
|
|
21808
|
-
var M = this.__data__, R =
|
|
21808
|
+
var M = this.__data__, R = fn(M, b);
|
|
21809
21809
|
if (R < 0)
|
|
21810
21810
|
return !1;
|
|
21811
21811
|
var Y = M.length - 1;
|
|
21812
21812
|
return R == Y ? M.pop() : Oi.call(M, R, 1), --this.size, !0;
|
|
21813
21813
|
}
|
|
21814
21814
|
function Or(b) {
|
|
21815
|
-
var M = this.__data__, R =
|
|
21815
|
+
var M = this.__data__, R = fn(M, b);
|
|
21816
21816
|
return R < 0 ? void 0 : M[R][1];
|
|
21817
21817
|
}
|
|
21818
21818
|
function Br(b) {
|
|
21819
|
-
return
|
|
21819
|
+
return fn(this.__data__, b) > -1;
|
|
21820
21820
|
}
|
|
21821
21821
|
function Rr(b, M) {
|
|
21822
|
-
var R = this.__data__, Y =
|
|
21822
|
+
var R = this.__data__, Y = fn(R, b);
|
|
21823
21823
|
return Y < 0 ? (++this.size, R.push([b, M])) : R[Y][1] = M, this;
|
|
21824
21824
|
}
|
|
21825
21825
|
mt.prototype.clear = jr, mt.prototype.delete = zr, mt.prototype.get = Or, mt.prototype.has = Br, mt.prototype.set = Rr;
|
|
@@ -21852,7 +21852,7 @@ var nr = {}, CI = {
|
|
|
21852
21852
|
return R.set(b, M), this.size += R.size == Y ? 0 : 1, this;
|
|
21853
21853
|
}
|
|
21854
21854
|
xt.prototype.clear = Vr, xt.prototype.delete = Hr, xt.prototype.get = Nr, xt.prototype.has = Qr, xt.prototype.set = Gr;
|
|
21855
|
-
function
|
|
21855
|
+
function dn(b) {
|
|
21856
21856
|
var M = -1, R = b == null ? 0 : b.length;
|
|
21857
21857
|
for (this.__data__ = new xt(); ++M < R; )
|
|
21858
21858
|
this.add(b[M]);
|
|
@@ -21860,15 +21860,15 @@ var nr = {}, CI = {
|
|
|
21860
21860
|
function io(b) {
|
|
21861
21861
|
return this.__data__.set(b, i), this;
|
|
21862
21862
|
}
|
|
21863
|
-
function
|
|
21863
|
+
function un(b) {
|
|
21864
21864
|
return this.__data__.has(b);
|
|
21865
21865
|
}
|
|
21866
|
-
|
|
21866
|
+
dn.prototype.add = dn.prototype.push = io, dn.prototype.has = un;
|
|
21867
21867
|
function Zt(b) {
|
|
21868
21868
|
var M = this.__data__ = new mt(b);
|
|
21869
21869
|
this.size = M.size;
|
|
21870
21870
|
}
|
|
21871
|
-
function
|
|
21871
|
+
function hs() {
|
|
21872
21872
|
this.__data__ = new mt(), this.size = 0;
|
|
21873
21873
|
}
|
|
21874
21874
|
function Fr(b) {
|
|
@@ -21891,9 +21891,9 @@ var nr = {}, CI = {
|
|
|
21891
21891
|
}
|
|
21892
21892
|
return R.set(b, M), this.size = R.size, this;
|
|
21893
21893
|
}
|
|
21894
|
-
Zt.prototype.clear =
|
|
21894
|
+
Zt.prototype.clear = hs, Zt.prototype.delete = Fr, Zt.prototype.get = _r, Zt.prototype.has = Wr, Zt.prototype.set = Ur;
|
|
21895
21895
|
function Yr(b, M) {
|
|
21896
|
-
var R =
|
|
21896
|
+
var R = gn(b), Y = !R && ao(b), Ee = !R && !Y && mn(b), pe = !R && !Y && !Ee && ho(b), Se = R || Y || Ee || pe, Te = Se ? Ye(b.length, String) : [], qe = Te.length;
|
|
21897
21897
|
for (var ze in b)
|
|
21898
21898
|
(M || kt.call(b, ze)) && !(Se && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
21899
21899
|
(ze == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -21902,15 +21902,15 @@ var nr = {}, CI = {
|
|
|
21902
21902
|
ta(ze, qe))) && Te.push(ze);
|
|
21903
21903
|
return Te;
|
|
21904
21904
|
}
|
|
21905
|
-
function
|
|
21905
|
+
function fn(b, M) {
|
|
21906
21906
|
for (var R = b.length; R--; )
|
|
21907
21907
|
if (ro(b[R][0], M))
|
|
21908
21908
|
return R;
|
|
21909
21909
|
return -1;
|
|
21910
21910
|
}
|
|
21911
|
-
function
|
|
21911
|
+
function ds(b, M, R) {
|
|
21912
21912
|
var Y = M(b);
|
|
21913
|
-
return
|
|
21913
|
+
return gn(b) ? Y : Ie(Y, R(b));
|
|
21914
21914
|
}
|
|
21915
21915
|
function Vi(b) {
|
|
21916
21916
|
return b == null ? b === void 0 ? W : v : Vt && Vt in Object(b) ? li(b) : oo(b);
|
|
@@ -21922,16 +21922,16 @@ var nr = {}, CI = {
|
|
|
21922
21922
|
return b === M ? !0 : b == null || M == null || !qt(b) && !qt(M) ? b !== b && M !== M : Xr(b, M, R, Y, so, Ee);
|
|
21923
21923
|
}
|
|
21924
21924
|
function Xr(b, M, R, Y, Ee, pe) {
|
|
21925
|
-
var Se =
|
|
21925
|
+
var Se = gn(b), Te = gn(M), qe = Se ? l : Jt(b), ze = Te ? l : Jt(M);
|
|
21926
21926
|
qe = qe == a ? y : qe, ze = ze == a ? y : ze;
|
|
21927
21927
|
var pt = qe == y, Dt = ze == y, it = qe == ze;
|
|
21928
|
-
if (it &&
|
|
21929
|
-
if (!
|
|
21928
|
+
if (it && mn(b)) {
|
|
21929
|
+
if (!mn(M))
|
|
21930
21930
|
return !1;
|
|
21931
21931
|
Se = !0, pt = !1;
|
|
21932
21932
|
}
|
|
21933
21933
|
if (it && !pt)
|
|
21934
|
-
return pe || (pe = new Zt()), Se || ho(b) ?
|
|
21934
|
+
return pe || (pe = new Zt()), Se || ho(b) ? us(b, M, R, Y, Ee, pe) : Kr(b, M, qe, R, Y, Ee, pe);
|
|
21935
21935
|
if (!(R & s)) {
|
|
21936
21936
|
var At = pt && kt.call(b, "__wrapped__"), ct = Dt && kt.call(M, "__wrapped__");
|
|
21937
21937
|
if (At || ct) {
|
|
@@ -21948,7 +21948,7 @@ var nr = {}, CI = {
|
|
|
21948
21948
|
return M.test(Pt(b));
|
|
21949
21949
|
}
|
|
21950
21950
|
function Jr(b) {
|
|
21951
|
-
return qt(b) &&
|
|
21951
|
+
return qt(b) && gs(b.length) && !!ye[Vi(b)];
|
|
21952
21952
|
}
|
|
21953
21953
|
function qr(b) {
|
|
21954
21954
|
if (!sa(b))
|
|
@@ -21958,14 +21958,14 @@ var nr = {}, CI = {
|
|
|
21958
21958
|
kt.call(b, R) && R != "constructor" && M.push(R);
|
|
21959
21959
|
return M;
|
|
21960
21960
|
}
|
|
21961
|
-
function
|
|
21961
|
+
function us(b, M, R, Y, Ee, pe) {
|
|
21962
21962
|
var Se = R & s, Te = b.length, qe = M.length;
|
|
21963
21963
|
if (Te != qe && !(Se && qe > Te))
|
|
21964
21964
|
return !1;
|
|
21965
21965
|
var ze = pe.get(b);
|
|
21966
21966
|
if (ze && pe.get(M))
|
|
21967
21967
|
return ze == M;
|
|
21968
|
-
var pt = -1, Dt = !0, it = R & o ? new
|
|
21968
|
+
var pt = -1, Dt = !0, it = R & o ? new dn() : void 0;
|
|
21969
21969
|
for (pe.set(b, M), pe.set(M, b); ++pt < Te; ) {
|
|
21970
21970
|
var At = b[pt], ct = M[pt];
|
|
21971
21971
|
if (Y)
|
|
@@ -22018,11 +22018,11 @@ var nr = {}, CI = {
|
|
|
22018
22018
|
if (ze)
|
|
22019
22019
|
return ze == M;
|
|
22020
22020
|
Y |= o, Se.set(b, M);
|
|
22021
|
-
var pt =
|
|
22021
|
+
var pt = us(Te(b), Te(M), Y, Ee, pe, Se);
|
|
22022
22022
|
return Se.delete(b), pt;
|
|
22023
22023
|
case V:
|
|
22024
|
-
if (
|
|
22025
|
-
return
|
|
22024
|
+
if (cs)
|
|
22025
|
+
return cs.call(b) == cs.call(M);
|
|
22026
22026
|
}
|
|
22027
22027
|
return !1;
|
|
22028
22028
|
}
|
|
@@ -22058,7 +22058,7 @@ var nr = {}, CI = {
|
|
|
22058
22058
|
return pe.delete(b), pe.delete(M), ct;
|
|
22059
22059
|
}
|
|
22060
22060
|
function Hi(b) {
|
|
22061
|
-
return
|
|
22061
|
+
return ds(b, ms, ea);
|
|
22062
22062
|
}
|
|
22063
22063
|
function Ht(b, M) {
|
|
22064
22064
|
var R = b.__data__;
|
|
@@ -22075,15 +22075,15 @@ var nr = {}, CI = {
|
|
|
22075
22075
|
var Y = !0;
|
|
22076
22076
|
} catch (pe) {
|
|
22077
22077
|
}
|
|
22078
|
-
var Ee =
|
|
22078
|
+
var Ee = an.call(b);
|
|
22079
22079
|
return Y && (M ? b[Vt] = R : delete b[Vt]), Ee;
|
|
22080
22080
|
}
|
|
22081
|
-
var ea =
|
|
22082
|
-
return b == null ? [] : (b = Object(b), re(
|
|
22083
|
-
return
|
|
22081
|
+
var ea = hn ? function(b) {
|
|
22082
|
+
return b == null ? [] : (b = Object(b), re(hn(b), function(M) {
|
|
22083
|
+
return cn.call(b, M);
|
|
22084
22084
|
}));
|
|
22085
22085
|
} : ra, Jt = Vi;
|
|
22086
|
-
(
|
|
22086
|
+
(os && Jt(new os(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || rs && Jt(rs.resolve()) != P || as && Jt(new as()) != I || ls && Jt(new ls()) != _) && (Jt = function(b) {
|
|
22087
22087
|
var M = Vi(b), R = M == y ? b.constructor : void 0, Y = R ? Pt(R) : "";
|
|
22088
22088
|
if (Y)
|
|
22089
22089
|
switch (Y) {
|
|
@@ -22108,14 +22108,14 @@ var nr = {}, CI = {
|
|
|
22108
22108
|
return M == "string" || M == "number" || M == "symbol" || M == "boolean" ? b !== "__proto__" : b === null;
|
|
22109
22109
|
}
|
|
22110
22110
|
function na(b) {
|
|
22111
|
-
return !!
|
|
22111
|
+
return !!rn && rn in b;
|
|
22112
22112
|
}
|
|
22113
22113
|
function sa(b) {
|
|
22114
22114
|
var M = b && b.constructor, R = typeof M == "function" && M.prototype || Xt;
|
|
22115
22115
|
return b === R;
|
|
22116
22116
|
}
|
|
22117
22117
|
function oo(b) {
|
|
22118
|
-
return
|
|
22118
|
+
return an.call(b);
|
|
22119
22119
|
}
|
|
22120
22120
|
function Pt(b) {
|
|
22121
22121
|
if (b != null) {
|
|
@@ -22136,12 +22136,12 @@ var nr = {}, CI = {
|
|
|
22136
22136
|
var ao = no(function() {
|
|
22137
22137
|
return arguments;
|
|
22138
22138
|
}()) ? no : function(b) {
|
|
22139
|
-
return qt(b) && kt.call(b, "callee") && !
|
|
22140
|
-
},
|
|
22141
|
-
function
|
|
22142
|
-
return b != null &&
|
|
22139
|
+
return qt(b) && kt.call(b, "callee") && !cn.call(b, "callee");
|
|
22140
|
+
}, gn = Array.isArray;
|
|
22141
|
+
function fs(b) {
|
|
22142
|
+
return b != null && gs(b.length) && !lo(b);
|
|
22143
22143
|
}
|
|
22144
|
-
var
|
|
22144
|
+
var mn = ss || aa;
|
|
22145
22145
|
function oa(b, M) {
|
|
22146
22146
|
return so(b, M);
|
|
22147
22147
|
}
|
|
@@ -22151,7 +22151,7 @@ var nr = {}, CI = {
|
|
|
22151
22151
|
var M = Vi(b);
|
|
22152
22152
|
return M == g || M == A || M == c || M == E;
|
|
22153
22153
|
}
|
|
22154
|
-
function
|
|
22154
|
+
function gs(b) {
|
|
22155
22155
|
return typeof b == "number" && b > -1 && b % 1 == 0 && b <= r;
|
|
22156
22156
|
}
|
|
22157
22157
|
function co(b) {
|
|
@@ -22162,8 +22162,8 @@ var nr = {}, CI = {
|
|
|
22162
22162
|
return b != null && typeof b == "object";
|
|
22163
22163
|
}
|
|
22164
22164
|
var ho = st ? Mt(st) : Jr;
|
|
22165
|
-
function
|
|
22166
|
-
return
|
|
22165
|
+
function ms(b) {
|
|
22166
|
+
return fs(b) ? Yr(b) : qr(b);
|
|
22167
22167
|
}
|
|
22168
22168
|
function ra() {
|
|
22169
22169
|
return [];
|
|
@@ -22271,7 +22271,7 @@ function TI({
|
|
|
22271
22271
|
particlesToShow: s,
|
|
22272
22272
|
particlesToScroll: o
|
|
22273
22273
|
}) {
|
|
22274
|
-
const r =
|
|
22274
|
+
const r = Tn(0, t, e - 1);
|
|
22275
22275
|
let a = r - 1, l = r + 1;
|
|
22276
22276
|
a = n ? a < 0 ? e - 1 : a : Math.max(0, a), l = n ? l > e - 1 ? 0 : l : Math.min(e - 1, l);
|
|
22277
22277
|
const c = [.../* @__PURE__ */ new Set([
|
|
@@ -22424,14 +22424,14 @@ function OI(n) {
|
|
|
22424
22424
|
});
|
|
22425
22425
|
},
|
|
22426
22426
|
setParticlesToShow({ data: r }) {
|
|
22427
|
-
r.particlesToShow =
|
|
22427
|
+
r.particlesToShow = Tn(
|
|
22428
22428
|
1,
|
|
22429
22429
|
r.particlesToShowInit,
|
|
22430
22430
|
r.particlesCountWithoutClones
|
|
22431
22431
|
);
|
|
22432
22432
|
},
|
|
22433
22433
|
setParticlesToScroll({ data: r }) {
|
|
22434
|
-
r.particlesToScroll =
|
|
22434
|
+
r.particlesToScroll = Tn(
|
|
22435
22435
|
1,
|
|
22436
22436
|
r.particlesToScrollInit,
|
|
22437
22437
|
r.particlesCountWithoutClones
|
|
@@ -22462,7 +22462,7 @@ function OI(n) {
|
|
|
22462
22462
|
});
|
|
22463
22463
|
},
|
|
22464
22464
|
_moveToParticle({ data: r }, a) {
|
|
22465
|
-
r.currentParticleIndex =
|
|
22465
|
+
r.currentParticleIndex = Tn(
|
|
22466
22466
|
0,
|
|
22467
22467
|
a,
|
|
22468
22468
|
r.particlesCount - 1
|
|
@@ -22473,7 +22473,7 @@ function OI(n) {
|
|
|
22473
22473
|
},
|
|
22474
22474
|
_applyAutoplayIfNeeded(l) {
|
|
22475
22475
|
return Q(this, arguments, function* ({ data: r, methods: a }) {
|
|
22476
|
-
if (!r.infinite && (r.autoplayDirection === xi && r.currentParticleIndex === r.particlesCount - 1 || r.autoplayDirection ===
|
|
22476
|
+
if (!r.infinite && (r.autoplayDirection === xi && r.currentParticleIndex === r.particlesCount - 1 || r.autoplayDirection === Gn && r.currentParticleIndex === 0)) {
|
|
22477
22477
|
t.reset();
|
|
22478
22478
|
return;
|
|
22479
22479
|
}
|
|
@@ -22482,7 +22482,7 @@ function OI(n) {
|
|
|
22482
22482
|
[xi]: () => Q(this, null, function* () {
|
|
22483
22483
|
return a.showNextPage();
|
|
22484
22484
|
}),
|
|
22485
|
-
[
|
|
22485
|
+
[Gn]: () => Q(this, null, function* () {
|
|
22486
22486
|
return a.showPrevPage();
|
|
22487
22487
|
})
|
|
22488
22488
|
})(r.autoplayDirection);
|
|
@@ -22508,7 +22508,7 @@ function OI(n) {
|
|
|
22508
22508
|
return Q(this, arguments, function* ({ data: r, methods: a }, l, c) {
|
|
22509
22509
|
if (t.reset(), r.disabled)
|
|
22510
22510
|
return;
|
|
22511
|
-
r.disabled = !0, l(), yield a.offsetPage({ animated:
|
|
22511
|
+
r.disabled = !0, l(), yield a.offsetPage({ animated: js(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
|
|
22512
22512
|
});
|
|
22513
22513
|
},
|
|
22514
22514
|
showNextPage(c, h) {
|
|
@@ -22547,7 +22547,7 @@ function OI(n) {
|
|
|
22547
22547
|
});
|
|
22548
22548
|
},
|
|
22549
22549
|
offsetPage({ data: r }, a) {
|
|
22550
|
-
const l =
|
|
22550
|
+
const l = js(a, "animated", !0);
|
|
22551
22551
|
return new Promise((c) => {
|
|
22552
22552
|
r.durationMs = l ? r.durationMsInit : 0, r.offset = -r.currentParticleIndex * r.particleWidth, setTimeout(() => {
|
|
22553
22553
|
c();
|
|
@@ -22645,7 +22645,7 @@ function jd(n) {
|
|
|
22645
22645
|
const e = (
|
|
22646
22646
|
/*#slots*/
|
|
22647
22647
|
n[37].prev
|
|
22648
|
-
), i =
|
|
22648
|
+
), i = Zn(
|
|
22649
22649
|
e,
|
|
22650
22650
|
n,
|
|
22651
22651
|
/*$$scope*/
|
|
@@ -22662,19 +22662,19 @@ function jd(n) {
|
|
|
22662
22662
|
p(o, r) {
|
|
22663
22663
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
22664
22664
|
96 | r[1] & /*$$scope*/
|
|
22665
|
-
32) &&
|
|
22665
|
+
32) && qn(
|
|
22666
22666
|
i,
|
|
22667
22667
|
e,
|
|
22668
22668
|
o,
|
|
22669
22669
|
/*$$scope*/
|
|
22670
22670
|
o[36],
|
|
22671
|
-
t ?
|
|
22671
|
+
t ? Jn(
|
|
22672
22672
|
e,
|
|
22673
22673
|
/*$$scope*/
|
|
22674
22674
|
o[36],
|
|
22675
22675
|
r,
|
|
22676
22676
|
NI
|
|
22677
|
-
) :
|
|
22677
|
+
) : Kn(
|
|
22678
22678
|
/*$$scope*/
|
|
22679
22679
|
o[36]
|
|
22680
22680
|
),
|
|
@@ -22767,7 +22767,7 @@ function Od(n) {
|
|
|
22767
22767
|
const e = (
|
|
22768
22768
|
/*#slots*/
|
|
22769
22769
|
n[37].next
|
|
22770
|
-
), i =
|
|
22770
|
+
), i = Zn(
|
|
22771
22771
|
e,
|
|
22772
22772
|
n,
|
|
22773
22773
|
/*$$scope*/
|
|
@@ -22784,19 +22784,19 @@ function Od(n) {
|
|
|
22784
22784
|
p(o, r) {
|
|
22785
22785
|
i ? i.p && (!t || r[0] & /*loaded, currentPageIndex*/
|
|
22786
22786
|
96 | r[1] & /*$$scope*/
|
|
22787
|
-
32) &&
|
|
22787
|
+
32) && qn(
|
|
22788
22788
|
i,
|
|
22789
22789
|
e,
|
|
22790
22790
|
o,
|
|
22791
22791
|
/*$$scope*/
|
|
22792
22792
|
o[36],
|
|
22793
|
-
t ?
|
|
22793
|
+
t ? Jn(
|
|
22794
22794
|
e,
|
|
22795
22795
|
/*$$scope*/
|
|
22796
22796
|
o[36],
|
|
22797
22797
|
r,
|
|
22798
22798
|
VI
|
|
22799
|
-
) :
|
|
22799
|
+
) : Kn(
|
|
22800
22800
|
/*$$scope*/
|
|
22801
22801
|
o[36]
|
|
22802
22802
|
),
|
|
@@ -22860,7 +22860,7 @@ function Bd(n) {
|
|
|
22860
22860
|
const e = (
|
|
22861
22861
|
/*#slots*/
|
|
22862
22862
|
n[37].dots
|
|
22863
|
-
), i =
|
|
22863
|
+
), i = Zn(
|
|
22864
22864
|
e,
|
|
22865
22865
|
n,
|
|
22866
22866
|
/*$$scope*/
|
|
@@ -22877,19 +22877,19 @@ function Bd(n) {
|
|
|
22877
22877
|
p(o, r) {
|
|
22878
22878
|
i ? i.p && (!t || r[0] & /*currentPageIndex, pagesCount, loaded*/
|
|
22879
22879
|
1120 | r[1] & /*$$scope*/
|
|
22880
|
-
32) &&
|
|
22880
|
+
32) && qn(
|
|
22881
22881
|
i,
|
|
22882
22882
|
e,
|
|
22883
22883
|
o,
|
|
22884
22884
|
/*$$scope*/
|
|
22885
22885
|
o[36],
|
|
22886
|
-
t ?
|
|
22886
|
+
t ? Jn(
|
|
22887
22887
|
e,
|
|
22888
22888
|
/*$$scope*/
|
|
22889
22889
|
o[36],
|
|
22890
22890
|
r,
|
|
22891
22891
|
RI
|
|
22892
|
-
) :
|
|
22892
|
+
) : Kn(
|
|
22893
22893
|
/*$$scope*/
|
|
22894
22894
|
o[36]
|
|
22895
22895
|
),
|
|
@@ -22959,7 +22959,7 @@ function _I(n) {
|
|
|
22959
22959
|
const A = (
|
|
22960
22960
|
/*#slots*/
|
|
22961
22961
|
n[37].default
|
|
22962
|
-
), p =
|
|
22962
|
+
), p = Zn(
|
|
22963
22963
|
A,
|
|
22964
22964
|
n,
|
|
22965
22965
|
/*$$scope*/
|
|
@@ -23052,19 +23052,19 @@ function _I(n) {
|
|
|
23052
23052
|
g = null;
|
|
23053
23053
|
}), fe()), p && p.p && (!h || E[0] & /*loaded, currentPageIndex*/
|
|
23054
23054
|
96 | E[1] & /*$$scope*/
|
|
23055
|
-
32) &&
|
|
23055
|
+
32) && qn(
|
|
23056
23056
|
p,
|
|
23057
23057
|
A,
|
|
23058
23058
|
P,
|
|
23059
23059
|
/*$$scope*/
|
|
23060
23060
|
P[36],
|
|
23061
|
-
h ?
|
|
23061
|
+
h ? Jn(
|
|
23062
23062
|
A,
|
|
23063
23063
|
/*$$scope*/
|
|
23064
23064
|
P[36],
|
|
23065
23065
|
E,
|
|
23066
23066
|
HI
|
|
23067
|
-
) :
|
|
23067
|
+
) : Kn(
|
|
23068
23068
|
/*$$scope*/
|
|
23069
23069
|
P[36]
|
|
23070
23070
|
),
|
|
@@ -23129,7 +23129,7 @@ function WI(n, t, e) {
|
|
|
23129
23129
|
let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: E = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: I = 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;
|
|
23130
23130
|
function F(re, Ie) {
|
|
23131
23131
|
return Q(this, null, function* () {
|
|
23132
|
-
const Ge =
|
|
23132
|
+
const Ge = js(Ie, "animated", !0);
|
|
23133
23133
|
if (typeof re != "number")
|
|
23134
23134
|
throw new Error("pageIndex should be a number");
|
|
23135
23135
|
yield g.showPage(re, { animated: Ge });
|
|
@@ -23137,13 +23137,13 @@ function WI(n, t, e) {
|
|
|
23137
23137
|
}
|
|
23138
23138
|
function U(re) {
|
|
23139
23139
|
return Q(this, null, function* () {
|
|
23140
|
-
const Ie =
|
|
23140
|
+
const Ie = js(re, "animated", !0);
|
|
23141
23141
|
yield g.showPrevPage({ animated: Ie });
|
|
23142
23142
|
});
|
|
23143
23143
|
}
|
|
23144
23144
|
function X(re) {
|
|
23145
23145
|
return Q(this, null, function* () {
|
|
23146
|
-
const Ie =
|
|
23146
|
+
const Ie = js(re, "animated", !0);
|
|
23147
23147
|
yield g.showNextPage({ animated: Ie });
|
|
23148
23148
|
});
|
|
23149
23149
|
}
|
|
@@ -23185,7 +23185,7 @@ function WI(n, t, e) {
|
|
|
23185
23185
|
return Q(this, null, function* () {
|
|
23186
23186
|
N && (yield nl({
|
|
23187
23187
|
[xi]: g.showNextPage,
|
|
23188
|
-
[
|
|
23188
|
+
[Gn]: g.showPrevPage
|
|
23189
23189
|
})(re.detail.direction));
|
|
23190
23190
|
});
|
|
23191
23191
|
}
|
|
@@ -23783,7 +23783,7 @@ function Hd(n) {
|
|
|
23783
23783
|
},
|
|
23784
23784
|
i(u) {
|
|
23785
23785
|
a || (x(s), u && Xe(() => {
|
|
23786
|
-
a && (r && r.end(1), o =
|
|
23786
|
+
a && (r && r.end(1), o = nn(
|
|
23787
23787
|
t,
|
|
23788
23788
|
yc,
|
|
23789
23789
|
/*animation*/
|
|
@@ -23803,7 +23803,7 @@ function Hd(n) {
|
|
|
23803
23803
|
}), a = !0);
|
|
23804
23804
|
},
|
|
23805
23805
|
o(u) {
|
|
23806
|
-
O(s), o && o.invalidate(), u && (r =
|
|
23806
|
+
O(s), o && o.invalidate(), u && (r = es(
|
|
23807
23807
|
t,
|
|
23808
23808
|
yc,
|
|
23809
23809
|
/*animation*/
|
|
@@ -24906,7 +24906,7 @@ function pE(n) {
|
|
|
24906
24906
|
const o = (
|
|
24907
24907
|
/*#slots*/
|
|
24908
24908
|
n[8].default
|
|
24909
|
-
), r =
|
|
24909
|
+
), r = Zn(
|
|
24910
24910
|
o,
|
|
24911
24911
|
n,
|
|
24912
24912
|
/*$$scope*/
|
|
@@ -24930,19 +24930,19 @@ function pE(n) {
|
|
|
24930
24930
|
},
|
|
24931
24931
|
p(a, [l]) {
|
|
24932
24932
|
r && r.p && (!e || l & /*$$scope*/
|
|
24933
|
-
128) &&
|
|
24933
|
+
128) && qn(
|
|
24934
24934
|
r,
|
|
24935
24935
|
o,
|
|
24936
24936
|
a,
|
|
24937
24937
|
/*$$scope*/
|
|
24938
24938
|
a[7],
|
|
24939
|
-
e ?
|
|
24939
|
+
e ? Jn(
|
|
24940
24940
|
o,
|
|
24941
24941
|
/*$$scope*/
|
|
24942
24942
|
a[7],
|
|
24943
24943
|
l,
|
|
24944
24944
|
null
|
|
24945
|
-
) :
|
|
24945
|
+
) : Kn(
|
|
24946
24946
|
/*$$scope*/
|
|
24947
24947
|
a[7]
|
|
24948
24948
|
),
|
|
@@ -25417,23 +25417,23 @@ function su(n) {
|
|
|
25417
25417
|
},
|
|
25418
25418
|
i(l) {
|
|
25419
25419
|
a || (x(e.$$.fragment, l), x(s.$$.fragment, l), l && Xe(() => {
|
|
25420
|
-
a && (r && r.end(1), o =
|
|
25420
|
+
a && (r && r.end(1), o = nn(t, gt, {
|
|
25421
25421
|
duration: 1e3,
|
|
25422
25422
|
delay: 0,
|
|
25423
|
-
easing:
|
|
25423
|
+
easing: Bn
|
|
25424
25424
|
}), o.start());
|
|
25425
25425
|
}), a = !0);
|
|
25426
25426
|
},
|
|
25427
25427
|
o(l) {
|
|
25428
25428
|
var c, h;
|
|
25429
|
-
O(e.$$.fragment, l), O(s.$$.fragment, l), o && o.invalidate(), l && (r =
|
|
25429
|
+
O(e.$$.fragment, l), O(s.$$.fragment, l), o && o.invalidate(), l && (r = es(t, gt, {
|
|
25430
25430
|
duration: 1e3,
|
|
25431
25431
|
delay: 20 * Math.min(
|
|
25432
25432
|
/*content*/
|
|
25433
25433
|
(h = (c = n[5]) == null ? void 0 : c.length) != null ? h : 10,
|
|
25434
25434
|
15
|
|
25435
25435
|
),
|
|
25436
|
-
easing:
|
|
25436
|
+
easing: Bn
|
|
25437
25437
|
})), a = !1;
|
|
25438
25438
|
},
|
|
25439
25439
|
d(l) {
|
|
@@ -25513,7 +25513,7 @@ function IE(n, t, e) {
|
|
|
25513
25513
|
e(2, l = !1);
|
|
25514
25514
|
};
|
|
25515
25515
|
function A(m) {
|
|
25516
|
-
|
|
25516
|
+
$n.call(this, n, m);
|
|
25517
25517
|
}
|
|
25518
25518
|
const p = (m) => {
|
|
25519
25519
|
e(3, c = m.detail);
|
|
@@ -25766,7 +25766,7 @@ function SE(n, t, e) {
|
|
|
25766
25766
|
e(2, l = m.detail);
|
|
25767
25767
|
};
|
|
25768
25768
|
function p(m) {
|
|
25769
|
-
|
|
25769
|
+
$n.call(this, n, m);
|
|
25770
25770
|
}
|
|
25771
25771
|
return n.$$set = (m) => {
|
|
25772
25772
|
"tag" in m && e(0, o = m.tag);
|
|
@@ -26304,7 +26304,7 @@ function YE(n) {
|
|
|
26304
26304
|
return {
|
|
26305
26305
|
c() {
|
|
26306
26306
|
t = S("img"), C(t, "alt", "tag-icon"), C(t, "class", "icon-image svelte-316sq3"), rt(t.src, e = /*iconUrl*/
|
|
26307
|
-
n[7]) || C(t, "src", e), T(t, "width", ei(
|
|
26307
|
+
n[7]) || C(t, "src", e), T(t, "width", ei(Mn({
|
|
26308
26308
|
originWidth: (
|
|
26309
26309
|
/*width*/
|
|
26310
26310
|
n[1]
|
|
@@ -26326,7 +26326,7 @@ function YE(n) {
|
|
|
26326
26326
|
au(i), s & /*iconUrl*/
|
|
26327
26327
|
128 && !rt(t.src, e = /*iconUrl*/
|
|
26328
26328
|
i[7]) && C(t, "src", e), s & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
26329
|
-
184 && T(t, "width", ei(
|
|
26329
|
+
184 && T(t, "width", ei(Mn({
|
|
26330
26330
|
originWidth: (
|
|
26331
26331
|
/*width*/
|
|
26332
26332
|
i[1]
|
|
@@ -26359,7 +26359,7 @@ function JE(n) {
|
|
|
26359
26359
|
n[17] - 1})`;
|
|
26360
26360
|
return {
|
|
26361
26361
|
c() {
|
|
26362
|
-
t = S("div"), C(t, "class", "icon-keyframe svelte-316sq3"), T(t, "width", ei(
|
|
26362
|
+
t = S("div"), C(t, "class", "icon-keyframe svelte-316sq3"), T(t, "width", ei(Mn({
|
|
26363
26363
|
originWidth: (
|
|
26364
26364
|
/*width*/
|
|
26365
26365
|
n[1]
|
|
@@ -26376,7 +26376,7 @@ function JE(n) {
|
|
|
26376
26376
|
/*iconWidth*/
|
|
26377
26377
|
n[3]
|
|
26378
26378
|
)
|
|
26379
|
-
}).width)), T(t, "height", ei(
|
|
26379
|
+
}).width)), T(t, "height", ei(Mn({
|
|
26380
26380
|
originWidth: (
|
|
26381
26381
|
/*width*/
|
|
26382
26382
|
n[1]
|
|
@@ -26405,7 +26405,7 @@ function JE(n) {
|
|
|
26405
26405
|
},
|
|
26406
26406
|
p(s, o) {
|
|
26407
26407
|
lu(s), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26408
|
-
252 && T(t, "width", ei(
|
|
26408
|
+
252 && T(t, "width", ei(Mn({
|
|
26409
26409
|
originWidth: (
|
|
26410
26410
|
/*width*/
|
|
26411
26411
|
s[1]
|
|
@@ -26423,7 +26423,7 @@ function JE(n) {
|
|
|
26423
26423
|
s[3]
|
|
26424
26424
|
)
|
|
26425
26425
|
}).width)), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26426
|
-
252 && T(t, "height", ei(
|
|
26426
|
+
252 && T(t, "height", ei(Mn({
|
|
26427
26427
|
originWidth: (
|
|
26428
26428
|
/*width*/
|
|
26429
26429
|
s[1]
|
|
@@ -26490,7 +26490,7 @@ function KE(n) {
|
|
|
26490
26490
|
}
|
|
26491
26491
|
};
|
|
26492
26492
|
}
|
|
26493
|
-
function
|
|
26493
|
+
function Mn(n) {
|
|
26494
26494
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
|
|
26495
26495
|
return se(D({}, n), { width: o, height: r });
|
|
26496
26496
|
}
|
|
@@ -27650,7 +27650,7 @@ function D2(n, t, e) {
|
|
|
27650
27650
|
h || a.emit("click", { event: p, target: "TagPoint", tag: l });
|
|
27651
27651
|
}, g = (() => l.contentType === "Text" && l.data.appearance === "plane" ? 500 : 800)();
|
|
27652
27652
|
function A(p) {
|
|
27653
|
-
|
|
27653
|
+
$n.call(this, n, p);
|
|
27654
27654
|
}
|
|
27655
27655
|
return n.$$set = (p) => {
|
|
27656
27656
|
"tag" in p && e(6, l = p.tag);
|
|
@@ -28337,9 +28337,9 @@ class Y2 extends Gw {
|
|
|
28337
28337
|
super(e);
|
|
28338
28338
|
d(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
28339
28339
|
d(this, "contentTypeMap", /* @__PURE__ */ new Map());
|
|
28340
|
-
d(this, "group", new
|
|
28341
|
-
d(this, "imagePlaneGroup", new
|
|
28342
|
-
d(this, "gltfObjectGroup", new
|
|
28340
|
+
d(this, "group", new xn());
|
|
28341
|
+
d(this, "imagePlaneGroup", new xn());
|
|
28342
|
+
d(this, "gltfObjectGroup", new xn());
|
|
28343
28343
|
/** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
|
|
28344
28344
|
d(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
|
|
28345
28345
|
/** 临时状态 */
|
|
@@ -28363,7 +28363,7 @@ class Y2 extends Gw {
|
|
|
28363
28363
|
this.hooks.emit("click", { target: "TagModel", tag: e, event: f });
|
|
28364
28364
|
})
|
|
28365
28365
|
});
|
|
28366
|
-
return c.visible = this.getCurrentVisibleState(e), new
|
|
28366
|
+
return c.visible = this.getCurrentVisibleState(e), new Is().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;
|
|
28367
28367
|
});
|
|
28368
28368
|
e.model = { promise: s };
|
|
28369
28369
|
const o = yield s;
|
|
@@ -28569,7 +28569,7 @@ class Y2 extends Gw {
|
|
|
28569
28569
|
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
28570
28570
|
return;
|
|
28571
28571
|
i.updateWorldMatrix(!1, !1);
|
|
28572
|
-
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
|
|
28572
|
+
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 Is().setPosition(h), f = new Is().makeScale(s, s, s), g = new Is().multiply(a).multiply(u).multiply(f);
|
|
28573
28573
|
g.decompose(o.position, o.quaternion, o.scale);
|
|
28574
28574
|
const A = o.opacityMesh;
|
|
28575
28575
|
A && g.decompose(A.position, A.quaternion, A.scale);
|
|
@@ -28688,7 +28688,7 @@ class J2 {
|
|
|
28688
28688
|
closeIntersectRaycaster() {
|
|
28689
28689
|
this.plugin.tags.forEach((t) => {
|
|
28690
28690
|
var e;
|
|
28691
|
-
|
|
28691
|
+
$i((e = t == null ? void 0 : t.initialConfig) == null ? void 0 : e.visibleConfig).intersectRaycaster && (t.initialConfig.visibleConfig.intersectRaycaster.enabled = !1);
|
|
28692
28692
|
}), this.plugin.changeGlobalConfig({
|
|
28693
28693
|
visibleConfig: {
|
|
28694
28694
|
intersectRaycaster: {
|
|
@@ -28786,7 +28786,7 @@ class sl extends Y2 {
|
|
|
28786
28786
|
i.position.copy(s.position), i.quaternion.copy(s.quaternion);
|
|
28787
28787
|
const o = this.five.camera.position;
|
|
28788
28788
|
i.lookAt(o.clone().setY(i.position.y));
|
|
28789
|
-
const r = s.quaternion.clone(), a = i.quaternion.clone(), l =
|
|
28789
|
+
const r = s.quaternion.clone(), a = i.quaternion.clone(), l = zn();
|
|
28790
28790
|
l.onUpdate(({ progress: h }) => {
|
|
28791
28791
|
s.quaternion.copy(r.clone().slerp(a, h));
|
|
28792
28792
|
}), l.play();
|
|
@@ -28797,7 +28797,7 @@ class sl extends Y2 {
|
|
|
28797
28797
|
this.setVisible(), this.updateRenderAllTags();
|
|
28798
28798
|
});
|
|
28799
28799
|
d(this, "onFiveEveryReady", () => {
|
|
28800
|
-
this.setUnfoldedByCamera(),
|
|
28800
|
+
this.setUnfoldedByCamera(), jn(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
|
|
28801
28801
|
});
|
|
28802
28802
|
this.params = Re({}, { debug: !1, config: this.config }, D({}, i)), this.debug = this.params.debug, this.config = this.params.config, Mw(1, { namespace: Vl.PlayAudio });
|
|
28803
28803
|
try {
|
|
@@ -28982,7 +28982,7 @@ class sl extends Y2 {
|
|
|
28982
28982
|
(Array.isArray(e) ? e : [e]).forEach((s) => {
|
|
28983
28983
|
const o = this.tags.findIndex((r) => r.id === s);
|
|
28984
28984
|
o !== -1 && this.tags.splice(o, 1);
|
|
28985
|
-
}), this.updateRenderAllTags(), this.
|
|
28985
|
+
}), this.tagsLengthWillUpdate = !0, this.updateRenderAllTags(), this.updateDomView();
|
|
28986
28986
|
}
|
|
28987
28987
|
/**
|
|
28988
28988
|
* @description: 设置 visible 和 unfolded
|
|
@@ -29062,10 +29062,16 @@ class sl extends Y2 {
|
|
|
29062
29062
|
let e = !1;
|
|
29063
29063
|
this.filterPointTag.forEach((i) => {
|
|
29064
29064
|
const s = this.getUnfoldedByCamera(i);
|
|
29065
|
-
i.state && s !== void 0
|
|
29065
|
+
if (i.state && s !== void 0) {
|
|
29066
|
+
if (s === !0 && i.screenPosition) {
|
|
29067
|
+
const o = this.getTagConfig(i).unfoldedConfig;
|
|
29068
|
+
$i(o).keep !== "unfolded" && (e = !0);
|
|
29069
|
+
}
|
|
29070
|
+
i.state.unfolded = s;
|
|
29071
|
+
}
|
|
29066
29072
|
}), e && this.filterPointTag.forEach((i) => {
|
|
29067
29073
|
const s = this.getTagConfig(i).unfoldedConfig;
|
|
29068
|
-
typeof s == "object" && (s.autoUnfold || s.keep) || i.state && (i.state.unfolded = !1);
|
|
29074
|
+
typeof s == "object" && (s.autoUnfold || s.autoUnfold === !1 || $i(s.autoUnfold).enable === !1 || s.keep) || i.state && (i.state.unfolded = !1);
|
|
29069
29075
|
});
|
|
29070
29076
|
}
|
|
29071
29077
|
changeTagMode(e, i) {
|
|
@@ -29396,7 +29402,7 @@ class ol {
|
|
|
29396
29402
|
d(this, "textureHasLoaded", !1);
|
|
29397
29403
|
d(this, "disposed", !1);
|
|
29398
29404
|
d(this, "flowAnime", new Ji({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
29399
|
-
d(this, "flickerAnime",
|
|
29405
|
+
d(this, "flickerAnime", zn(300).yoyo(!0).repeat(5));
|
|
29400
29406
|
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
29401
29407
|
d(this, "cacheLengths", []);
|
|
29402
29408
|
/** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
@@ -29415,7 +29421,7 @@ class ol {
|
|
|
29415
29421
|
});
|
|
29416
29422
|
/** 模型状态变更 */
|
|
29417
29423
|
d(this, "onFiveModeChange", (t) => {
|
|
29418
|
-
this.modeVisible = this.mode === "panorama" ? Nt(t) :
|
|
29424
|
+
this.modeVisible = this.mode === "panorama" ? Nt(t) : jn(t), this.updateVisible();
|
|
29419
29425
|
});
|
|
29420
29426
|
d(this, "onFiveModelShownFloorChange", (t) => {
|
|
29421
29427
|
this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();
|
|
@@ -29739,7 +29745,7 @@ class sM extends wg {
|
|
|
29739
29745
|
}
|
|
29740
29746
|
}
|
|
29741
29747
|
const Fg = "CruisePlugin", Ea = `${Fg}`;
|
|
29742
|
-
class _g extends
|
|
29748
|
+
class _g extends sn {
|
|
29743
29749
|
constructor(e, i) {
|
|
29744
29750
|
super(e, i);
|
|
29745
29751
|
d(this, "state", {
|
|
@@ -30911,7 +30917,7 @@ const Da = {
|
|
|
30911
30917
|
Y: 4765519,
|
|
30912
30918
|
Z: 4227839
|
|
30913
30919
|
};
|
|
30914
|
-
class
|
|
30920
|
+
class Ln {
|
|
30915
30921
|
static get X() {
|
|
30916
30922
|
return new w.Color(Da.X).convertSRGBToLinear().clone();
|
|
30917
30923
|
}
|
|
@@ -30932,7 +30938,7 @@ class CM extends gM {
|
|
|
30932
30938
|
d(this, "xArrow");
|
|
30933
30939
|
d(this, "yArrow");
|
|
30934
30940
|
d(this, "zArrow");
|
|
30935
|
-
i.xArrowEnable !== !1 && (this.xArrow = new xa({ direction: "x", color:
|
|
30941
|
+
i.xArrowEnable !== !1 && (this.xArrow = new xa({ direction: "x", color: Ln.X })), i.yArrowEnable !== !1 && (this.yArrow = new xa({ direction: "y", color: Ln.Y })), i.zArrowEnable !== !1 && (this.zArrow = new xa({ direction: "z", color: Ln.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
|
|
30936
30942
|
}
|
|
30937
30943
|
show() {
|
|
30938
30944
|
super.show(), this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0);
|
|
@@ -30992,7 +30998,7 @@ class EM extends pM {
|
|
|
30992
30998
|
d(this, "children", []);
|
|
30993
30999
|
d(this, "angleTips");
|
|
30994
31000
|
d(this, "container");
|
|
30995
|
-
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new Sa({ direction: "x", color:
|
|
31001
|
+
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new Sa({ direction: "x", color: Ln.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new Sa({ direction: "y", color: Ln.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new Sa({ direction: "z", color: Ln.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = IM({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
|
|
30996
31002
|
}
|
|
30997
31003
|
hide() {
|
|
30998
31004
|
this.children.forEach((e) => e.hide());
|
|
@@ -31175,7 +31181,7 @@ class SM extends vM {
|
|
|
31175
31181
|
d(this, "cornerPositions", []);
|
|
31176
31182
|
d(this, "css3DInstance");
|
|
31177
31183
|
d(this, "plane");
|
|
31178
|
-
d(this, "css3DRenderer", new
|
|
31184
|
+
d(this, "css3DRenderer", new Vs());
|
|
31179
31185
|
d(this, "camera");
|
|
31180
31186
|
d(this, "scene");
|
|
31181
31187
|
d(this, "container");
|
|
@@ -31749,7 +31755,7 @@ class Js {
|
|
|
31749
31755
|
return i;
|
|
31750
31756
|
}
|
|
31751
31757
|
}
|
|
31752
|
-
function
|
|
31758
|
+
function Fn(n, t, e, i = !0) {
|
|
31753
31759
|
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();
|
|
31754
31760
|
if (c > h && c > u) {
|
|
31755
31761
|
const f = -l.distanceTo(o) / a.distance(), g = e.start.clone().sub(e.end).normalize();
|
|
@@ -31865,7 +31871,7 @@ class LM extends Js {
|
|
|
31865
31871
|
move(e) {
|
|
31866
31872
|
if (!this.startInfo)
|
|
31867
31873
|
return this.dragEnd();
|
|
31868
|
-
const { line: i, startVectorProject: s } = this.startInfo, o = this.originObject3D, r =
|
|
31874
|
+
const { line: i, startVectorProject: s } = this.startInfo, o = this.originObject3D, r = Fn(this.camera.position, e.ray, i, !1), a = r.clone().sub(s), l = new w.Matrix4();
|
|
31869
31875
|
l.setPosition(a);
|
|
31870
31876
|
const c = o.position.clone().applyMatrix4(l);
|
|
31871
31877
|
this.hooks.emit("wantToMove", c) || (o.applyMatrix4(l), s.copy(r), this.internalHooks.emit("applyObjectPosition", { matrix: l }), this.hooks.emit("move", c));
|
|
@@ -31874,7 +31880,7 @@ class LM extends Js {
|
|
|
31874
31880
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("moveEnd"));
|
|
31875
31881
|
}
|
|
31876
31882
|
}
|
|
31877
|
-
class
|
|
31883
|
+
class Cs {
|
|
31878
31884
|
// eslint-disable-next-line max-params
|
|
31879
31885
|
constructor(t, e, i, s, o, r, a) {
|
|
31880
31886
|
d(this, "helperController");
|
|
@@ -32346,7 +32352,7 @@ class WM extends Js {
|
|
|
32346
32352
|
this.isDragging = !0;
|
|
32347
32353
|
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)));
|
|
32348
32354
|
c.applyMatrix4(this.helperObject3D.matrixWorld);
|
|
32349
|
-
const h = new w.Ray(s, i.point.clone().sub(s)), u =
|
|
32355
|
+
const h = new w.Ray(s, i.point.clone().sub(s)), u = Fn(s, h, c);
|
|
32350
32356
|
this.startInfo = { line: c, scaleStartPoint: u, draggingObject: o }, this.hooks.emit("scaleStart");
|
|
32351
32357
|
});
|
|
32352
32358
|
d(this, "dragging", (e) => {
|
|
@@ -32359,7 +32365,7 @@ class WM extends Js {
|
|
|
32359
32365
|
var h, u;
|
|
32360
32366
|
if (!this.startInfo)
|
|
32361
32367
|
return;
|
|
32362
|
-
const { line: i, scaleStartPoint: s, draggingObject: o } = this.startInfo, { scalePosition: r } = o, { basePosition: a } = r, l = this.camera.position, c =
|
|
32368
|
+
const { line: i, scaleStartPoint: s, draggingObject: o } = this.startInfo, { scalePosition: r } = o, { basePosition: a } = r, l = this.camera.position, c = Fn(l, e.ray, i);
|
|
32363
32369
|
c.applyMatrix4(new w.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (u = (h = this.config) == null ? void 0 : h.scaleCallback) == null || u.call(h, {
|
|
32364
32370
|
ratio: c.distanceTo(a) / s.distanceTo(a),
|
|
32365
32371
|
intersectPoint: c,
|
|
@@ -32394,7 +32400,7 @@ const al = "Object3DHelperPlugin", Kl = al, UM = () => {
|
|
|
32394
32400
|
}, XM = () => {
|
|
32395
32401
|
console.error(`${Kl} is disabled`);
|
|
32396
32402
|
};
|
|
32397
|
-
class qg extends
|
|
32403
|
+
class qg extends sn {
|
|
32398
32404
|
constructor(e) {
|
|
32399
32405
|
super(e);
|
|
32400
32406
|
d(this, "name", al);
|
|
@@ -32406,7 +32412,7 @@ class qg extends nn {
|
|
|
32406
32412
|
d(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
32407
32413
|
d(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
32408
32414
|
d(this, "css3DRender");
|
|
32409
|
-
this.five = e, this.css3DRender = new
|
|
32415
|
+
this.five = e, this.css3DRender = new Vs(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${al.toUpperCase()}_DEBUG__`]: this });
|
|
32410
32416
|
}
|
|
32411
32417
|
/**
|
|
32412
32418
|
* @description Show guide line
|
|
@@ -32481,15 +32487,15 @@ class qg extends nn {
|
|
|
32481
32487
|
return typeof P == "boolean" ? P : P.enable;
|
|
32482
32488
|
};
|
|
32483
32489
|
if (v(h)) {
|
|
32484
|
-
const P = D(D({}, this.getConfig(c.moveHelper)), c), E = new CM(e, D({}, P)), k = new
|
|
32490
|
+
const P = D(D({}, this.getConfig(c.moveHelper)), c), E = new CM(e, D({}, P)), k = new Cs(this.five, LM, e, E, P, p, m);
|
|
32485
32491
|
s.addControllers({ moveController: k.helperController }), o.push(() => k.dispose());
|
|
32486
32492
|
}
|
|
32487
32493
|
if (v(u)) {
|
|
32488
|
-
const P = D(D({}, this.getConfig(c.rotateHelper)), c), E = new EM(e, D({ container: r }, P)), k = new
|
|
32494
|
+
const P = D(D({}, this.getConfig(c.rotateHelper)), c), E = new EM(e, D({ container: r }, P)), k = new Cs(this.five, HM, e, E, P, p, m);
|
|
32489
32495
|
s.addControllers({ rotateController: k.helperController }), o.push(() => k.dispose());
|
|
32490
32496
|
}
|
|
32491
32497
|
if (v(g)) {
|
|
32492
|
-
const P = new TM(e), E = new
|
|
32498
|
+
const P = new TM(e), E = new Cs(
|
|
32493
32499
|
this.five,
|
|
32494
32500
|
GM,
|
|
32495
32501
|
e,
|
|
@@ -32502,7 +32508,7 @@ class qg extends nn {
|
|
|
32502
32508
|
}
|
|
32503
32509
|
if (v(f))
|
|
32504
32510
|
if (e.isCSS3DObjectPlus && r) {
|
|
32505
|
-
const P = new SM(e, r, a, this.five.scene), E = new
|
|
32511
|
+
const P = new SM(e, r, a, this.five.scene), E = new Cs(
|
|
32506
32512
|
this.five,
|
|
32507
32513
|
QM,
|
|
32508
32514
|
e,
|
|
@@ -32522,7 +32528,7 @@ class qg extends nn {
|
|
|
32522
32528
|
}
|
|
32523
32529
|
});
|
|
32524
32530
|
} else {
|
|
32525
|
-
const P = D(D({}, this.getConfig(c.scaleHelper)), c), E = new FM(e, P), k = new
|
|
32531
|
+
const P = D(D({}, this.getConfig(c.scaleHelper)), c), E = new FM(e, P), k = new Cs(this.five, WM, e, E, P, p, m);
|
|
32526
32532
|
s.addControllers({ scaleController: k.helperController }), o.push(() => k.dispose());
|
|
32527
32533
|
}
|
|
32528
32534
|
return this.objectHelperMap.set(e, { helper: s, disposers: o }), s.controllers;
|
|
@@ -32724,7 +32730,7 @@ class Iu {
|
|
|
32724
32730
|
this.video.addEventListener(
|
|
32725
32731
|
"timeupdate",
|
|
32726
32732
|
() => {
|
|
32727
|
-
if (this.video.src !== "" && this.panoIndex === this.five.getCurrentState().panoIndex && this.five.getCurrentState().mode === "Panorama" && (this.renderFiveDisposer || (this.renderFiveDisposer =
|
|
32733
|
+
if (this.video.src !== "" && this.panoIndex === this.five.getCurrentState().panoIndex && this.five.getCurrentState().mode === "Panorama" && (this.renderFiveDisposer || (this.renderFiveDisposer = Xn(() => {
|
|
32728
32734
|
this.five.needsRender = !0;
|
|
32729
32735
|
}, 30)), this.five.scene.add(this.videoMesh), this.videoMesh.material.uniforms.opacity.value === 0)) {
|
|
32730
32736
|
const t = {
|
|
@@ -32772,7 +32778,7 @@ class Iu {
|
|
|
32772
32778
|
transparent: !0
|
|
32773
32779
|
}), r = new zm(1, 64, 64);
|
|
32774
32780
|
r.scale(-1, 1, 1);
|
|
32775
|
-
const a = new
|
|
32781
|
+
const a = new xs(r, o);
|
|
32776
32782
|
a.name = "pano-video", this.videoMesh = a, this.five.work && this.onFiveDataLoaded(), this.enabled && this.addEventListeners(), this.mountIfNeeded();
|
|
32777
32783
|
}
|
|
32778
32784
|
/** 传入的 ID,不可更改 */
|
|
@@ -32867,7 +32873,7 @@ class Iu {
|
|
|
32867
32873
|
return i >= o && i <= h && s >= c && s <= u;
|
|
32868
32874
|
}
|
|
32869
32875
|
}
|
|
32870
|
-
class KM extends
|
|
32876
|
+
class KM extends sn {
|
|
32871
32877
|
constructor(e) {
|
|
32872
32878
|
super(e);
|
|
32873
32879
|
d(this, "enabled", !0);
|
|
@@ -33152,7 +33158,7 @@ const hk = (
|
|
|
33152
33158
|
}
|
|
33153
33159
|
`
|
|
33154
33160
|
);
|
|
33155
|
-
class
|
|
33161
|
+
class kn extends w.Mesh {
|
|
33156
33162
|
constructor(e, i = dk) {
|
|
33157
33163
|
super();
|
|
33158
33164
|
d(this, "geometryConfig", {
|
|
@@ -33168,9 +33174,9 @@ class Mn extends w.Mesh {
|
|
|
33168
33174
|
d(this, "opacityAnime");
|
|
33169
33175
|
/** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
|
|
33170
33176
|
d(this, "uPreMeter", 1);
|
|
33171
|
-
e.geometryConfig && (this.geometryConfig = D(D({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path =
|
|
33172
|
-
const { radius: s, tubularSegments: o, radialSegments: r } = this.geometryConfig, a =
|
|
33173
|
-
this.geometry =
|
|
33177
|
+
e.geometryConfig && (this.geometryConfig = D(D({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = kn.calculatePath(e.path.map((l) => new w.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = kn.formatTexture(e.texture);
|
|
33178
|
+
const { radius: s, tubularSegments: o, radialSegments: r } = this.geometryConfig, a = kn.formatTexture(e.texture);
|
|
33179
|
+
this.geometry = kn.formatGeometryUV(
|
|
33174
33180
|
new w.TubeBufferGeometry(this.path, o, s, r),
|
|
33175
33181
|
this.pathLength,
|
|
33176
33182
|
this.uPreMeter
|
|
@@ -33269,7 +33275,7 @@ const uk = (
|
|
|
33269
33275
|
}
|
|
33270
33276
|
`
|
|
33271
33277
|
);
|
|
33272
|
-
class fk extends
|
|
33278
|
+
class fk extends kn {
|
|
33273
33279
|
constructor(e) {
|
|
33274
33280
|
super(e, uk);
|
|
33275
33281
|
/** 初始状态下,当前水管内的水流在整体管道上的位移
|
|
@@ -33306,7 +33312,7 @@ class fk extends Mn {
|
|
|
33306
33312
|
flow() {
|
|
33307
33313
|
this.flowAnimationDisposer(), this.oldTime = (/* @__PURE__ */ new Date()).getTime();
|
|
33308
33314
|
let e = 0, i = 0;
|
|
33309
|
-
const s =
|
|
33315
|
+
const s = Xn(() => {
|
|
33310
33316
|
const o = (/* @__PURE__ */ new Date()).getTime(), r = o - this.oldTime, a = this.flowSpeed * (r / 1e3), l = this.rotateSpeed * (r / 1e3);
|
|
33311
33317
|
e = e + a, i = i + l;
|
|
33312
33318
|
const c = 1 / 360, h = i * c;
|
|
@@ -34310,7 +34316,7 @@ let Ck = class extends pi {
|
|
|
34310
34316
|
}
|
|
34311
34317
|
};
|
|
34312
34318
|
const Fx = (n, t) => new Ck(n, t);
|
|
34313
|
-
class Pk extends
|
|
34319
|
+
class Pk extends sn {
|
|
34314
34320
|
constructor(e, i) {
|
|
34315
34321
|
super(e);
|
|
34316
34322
|
// ==================== public properties ====================
|
|
@@ -34370,7 +34376,7 @@ class Pk extends nn {
|
|
|
34370
34376
|
this.mesh.visible = !1;
|
|
34371
34377
|
return;
|
|
34372
34378
|
}
|
|
34373
|
-
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween =
|
|
34379
|
+
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = zn(1e3).onUpdate(({ progress: s }) => {
|
|
34374
34380
|
var o;
|
|
34375
34381
|
(o = this.mesh) == null || o.material.setValues({ opacity: s }), this.five.needsRender = !0;
|
|
34376
34382
|
}).play();
|
|
@@ -34609,7 +34615,7 @@ const Ba = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().i
|
|
|
34609
34615
|
function Ra(n, t, e, i) {
|
|
34610
34616
|
n.addEventListener ? n.addEventListener(t, e, i) : n.attachEvent && n.attachEvent("on".concat(t), e);
|
|
34611
34617
|
}
|
|
34612
|
-
function
|
|
34618
|
+
function Ps(n, t, e, i) {
|
|
34613
34619
|
n.removeEventListener ? n.removeEventListener(t, e, i) : n.detachEvent && n.detachEvent("on".concat(t), e);
|
|
34614
34620
|
}
|
|
34615
34621
|
function im(n, t) {
|
|
@@ -34718,7 +34724,7 @@ const Fs = {
|
|
|
34718
34724
|
}, We = {};
|
|
34719
34725
|
for (let n = 1; n < 20; n++)
|
|
34720
34726
|
Fs["f".concat(n)] = 111 + n;
|
|
34721
|
-
let Ne = [],
|
|
34727
|
+
let Ne = [], zs = null, sm = "all";
|
|
34722
34728
|
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);
|
|
34723
34729
|
function om(n) {
|
|
34724
34730
|
sm = n || "all";
|
|
@@ -34904,11 +34910,11 @@ function ut(n, t, e) {
|
|
|
34904
34910
|
capture: u
|
|
34905
34911
|
}), Ra(r, "keydown", g, u), Ra(r, "keyup", A, u);
|
|
34906
34912
|
}
|
|
34907
|
-
if (!
|
|
34913
|
+
if (!zs) {
|
|
34908
34914
|
const g = () => {
|
|
34909
34915
|
Ne = [];
|
|
34910
34916
|
};
|
|
34911
|
-
|
|
34917
|
+
zs = {
|
|
34912
34918
|
listener: g,
|
|
34913
34919
|
capture: u
|
|
34914
34920
|
}, Ra(window, "focus", g, u);
|
|
@@ -34936,7 +34942,7 @@ function $l(n) {
|
|
|
34936
34942
|
keyupListenr: s,
|
|
34937
34943
|
capture: o
|
|
34938
34944
|
} = di.get(n) || {};
|
|
34939
|
-
i && s && (
|
|
34945
|
+
i && s && (Ps(n, "keyup", s, o), Ps(n, "keydown", i, o), di.delete(n));
|
|
34940
34946
|
}
|
|
34941
34947
|
if ((t.length <= 0 || di.size <= 0) && (Object.keys(di).forEach((s) => {
|
|
34942
34948
|
const {
|
|
@@ -34944,13 +34950,13 @@ function $l(n) {
|
|
|
34944
34950
|
keyupListenr: r,
|
|
34945
34951
|
capture: a
|
|
34946
34952
|
} = di.get(s) || {};
|
|
34947
|
-
o && r && (
|
|
34948
|
-
}), di.clear(), Object.keys(We).forEach((s) => delete We[s]),
|
|
34953
|
+
o && r && (Ps(s, "keyup", r, a), Ps(s, "keydown", o, a), di.delete(s));
|
|
34954
|
+
}), di.clear(), Object.keys(We).forEach((s) => delete We[s]), zs)) {
|
|
34949
34955
|
const {
|
|
34950
34956
|
listener: s,
|
|
34951
34957
|
capture: o
|
|
34952
|
-
} =
|
|
34953
|
-
|
|
34958
|
+
} = zs;
|
|
34959
|
+
Ps(window, "focus", s, o), zs = null;
|
|
34954
34960
|
}
|
|
34955
34961
|
}
|
|
34956
34962
|
const Va = {
|
|
@@ -34974,7 +34980,7 @@ if (typeof window != "undefined") {
|
|
|
34974
34980
|
const n = window.hotkeys;
|
|
34975
34981
|
ut.noConflict = (t) => (t && window.hotkeys === ut && (window.hotkeys = n), ut), window.hotkeys = ut;
|
|
34976
34982
|
}
|
|
34977
|
-
const Vk = 16777215, Su = 16777215, Hk = 2,
|
|
34983
|
+
const Vk = 16777215, Su = 16777215, Hk = 2, _n = 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==";
|
|
34978
34984
|
let Tu = null;
|
|
34979
34985
|
class Ws extends Lt {
|
|
34980
34986
|
constructor(e) {
|
|
@@ -35016,7 +35022,7 @@ class Ws extends Lt {
|
|
|
35016
35022
|
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);
|
|
35017
35023
|
}
|
|
35018
35024
|
highlight() {
|
|
35019
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight *
|
|
35025
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * _n }));
|
|
35020
35026
|
}
|
|
35021
35027
|
unhighlight() {
|
|
35022
35028
|
this.highlighted && (this.highlighted = !1, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight }));
|
|
@@ -35047,7 +35053,7 @@ class ju extends Vm {
|
|
|
35047
35053
|
d(this, "name", "Line3");
|
|
35048
35054
|
}
|
|
35049
35055
|
}
|
|
35050
|
-
class
|
|
35056
|
+
class tn extends Lt {
|
|
35051
35057
|
constructor(e) {
|
|
35052
35058
|
var r, a, l, c;
|
|
35053
35059
|
super();
|
|
@@ -35107,13 +35113,13 @@ class en extends Lt {
|
|
|
35107
35113
|
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;
|
|
35108
35114
|
}
|
|
35109
35115
|
highlight() {
|
|
35110
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line.material.opacity, this.line.material.opacity = this.opacityBeforeHighlight *
|
|
35116
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line.material.opacity, this.line.material.opacity = this.opacityBeforeHighlight * _n, this.backLine.material.opacity = this.backLine.material.opacity * _n, this.needsRender = !0);
|
|
35111
35117
|
}
|
|
35112
35118
|
unhighlight() {
|
|
35113
35119
|
this.highlighted && (this.highlighted = !1, this.line.material.opacity = this.opacityBeforeHighlight, this.backLine.material.opacity = 0.2, this.needsRender = !0);
|
|
35114
35120
|
}
|
|
35115
35121
|
}
|
|
35116
|
-
class Qk extends
|
|
35122
|
+
class Qk extends tn {
|
|
35117
35123
|
constructor(e) {
|
|
35118
35124
|
super();
|
|
35119
35125
|
d(this, "name", "LineWithDotsMesh");
|
|
@@ -35170,7 +35176,7 @@ class am extends Lt {
|
|
|
35170
35176
|
d(this, "lines", []);
|
|
35171
35177
|
d(this, "withDots");
|
|
35172
35178
|
d(this, "paramsStyle");
|
|
35173
|
-
const r = e, { withDots: i, points: s } = r, o =
|
|
35179
|
+
const r = e, { withDots: i, points: s } = r, o = ps(r, ["withDots", "points"]);
|
|
35174
35180
|
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o);
|
|
35175
35181
|
}
|
|
35176
35182
|
get lineColor() {
|
|
@@ -35223,7 +35229,7 @@ class am extends Lt {
|
|
|
35223
35229
|
this.lines.forEach((e) => e.unhighlight());
|
|
35224
35230
|
}
|
|
35225
35231
|
}
|
|
35226
|
-
class
|
|
35232
|
+
class Wn extends am {
|
|
35227
35233
|
constructor(...e) {
|
|
35228
35234
|
super(se(D({}, e[0]), { withDots: !1 }));
|
|
35229
35235
|
d(this, "name", "PolylineMesh");
|
|
@@ -35412,7 +35418,7 @@ function _k(n, t) {
|
|
|
35412
35418
|
const e = n.parent;
|
|
35413
35419
|
if (!e)
|
|
35414
35420
|
return;
|
|
35415
|
-
const i = new
|
|
35421
|
+
const i = new Wn({ dashed: !0, lineColor: n.lineColor, lineWidth: n.lineWidth });
|
|
35416
35422
|
return e.add(i), t.enable(), new Promise((s, o) => {
|
|
35417
35423
|
const r = [], a = (c) => {
|
|
35418
35424
|
const h = c.point;
|
|
@@ -35582,7 +35588,7 @@ class or extends tc {
|
|
|
35582
35588
|
return e && (this.planeHelperNeedUpdate && this.updatePlaneHelper(), this.planeHelper ? this.planeHelper.projectPoint(e, new w.Vector3()) : e);
|
|
35583
35589
|
}
|
|
35584
35590
|
highlight() {
|
|
35585
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity *
|
|
35591
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity * _n }), this.needsRender = !0);
|
|
35586
35592
|
}
|
|
35587
35593
|
unhighlight() {
|
|
35588
35594
|
this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
|
|
@@ -35593,10 +35599,10 @@ class or extends tc {
|
|
|
35593
35599
|
}
|
|
35594
35600
|
class rr extends or {
|
|
35595
35601
|
constructor(e) {
|
|
35596
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
35602
|
+
const o = e != null ? e : {}, { points: i } = o, s = ps(o, ["points"]);
|
|
35597
35603
|
super();
|
|
35598
35604
|
d(this, "name", "PolygonWithEdgeMesh");
|
|
35599
|
-
d(this, "line", new
|
|
35605
|
+
d(this, "line", new Wn());
|
|
35600
35606
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
35601
35607
|
}
|
|
35602
35608
|
get lineWidth() {
|
|
@@ -35682,9 +35688,9 @@ function cm(n, t) {
|
|
|
35682
35688
|
i(new Error("No container"));
|
|
35683
35689
|
return;
|
|
35684
35690
|
}
|
|
35685
|
-
const o = new
|
|
35691
|
+
const o = new Wn({ dashed: !0, lineColor: n.lineColor, lineWidth: n.lineWidth });
|
|
35686
35692
|
s == null || s.add(o);
|
|
35687
|
-
const r = new
|
|
35693
|
+
const r = new Wn({ dashed: !0, lineColor: n.lineColor, lineWidth: n.lineWidth });
|
|
35688
35694
|
s == null || s.add(r), t.enable();
|
|
35689
35695
|
const a = [];
|
|
35690
35696
|
let l, c = !1;
|
|
@@ -35739,7 +35745,7 @@ class ar extends Lt {
|
|
|
35739
35745
|
}
|
|
35740
35746
|
setStyle(e) {
|
|
35741
35747
|
this.bottomPolygon.setStyle(e), this.topPolygon.setStyle(e), this.edgePlanes.children.forEach((i) => {
|
|
35742
|
-
(i instanceof
|
|
35748
|
+
(i instanceof tn || i instanceof or) && i.setStyle(e);
|
|
35743
35749
|
});
|
|
35744
35750
|
}
|
|
35745
35751
|
setPoints(e) {
|
|
@@ -35772,7 +35778,7 @@ class ar extends Lt {
|
|
|
35772
35778
|
return;
|
|
35773
35779
|
const r = new or({ color: this.color });
|
|
35774
35780
|
r.setPoints([e[o - 1], e[o], i[o], i[o - 1]]);
|
|
35775
|
-
const a = new
|
|
35781
|
+
const a = new tn({ lineColor: this.lineColor, lineWidth: this.lineWidth });
|
|
35776
35782
|
a.name = "EdgeLine", a.setPoints([e[o - 1], i[o - 1]]), this.edgePlanes.add(r, a);
|
|
35777
35783
|
});
|
|
35778
35784
|
}
|
|
@@ -35854,7 +35860,7 @@ function Zk(n, t) {
|
|
|
35854
35860
|
return Q(this, null, function* () {
|
|
35855
35861
|
const e = n.parent;
|
|
35856
35862
|
yield cm(n.bottomPolygon, t);
|
|
35857
|
-
const i = new
|
|
35863
|
+
const i = new tn();
|
|
35858
35864
|
i.name = "LineHelper", e.add(i);
|
|
35859
35865
|
const s = n.bottomPolygon.points.at(-1), o = Ys(n.bottomPolygon.points).normalize(), r = s.clone().add(o.clone().multiplyScalar(10)), a = s.clone().sub(o.clone().multiplyScalar(10));
|
|
35860
35866
|
return i.setPoints([r, a]), t.enable(), new Promise((l, c) => {
|
|
@@ -35863,7 +35869,7 @@ function Zk(n, t) {
|
|
|
35863
35869
|
}, u = (A) => {
|
|
35864
35870
|
if (!(A != null && A.raycaster))
|
|
35865
35871
|
return;
|
|
35866
|
-
const p =
|
|
35872
|
+
const p = Fn(
|
|
35867
35873
|
$e.modules.five.camera.position,
|
|
35868
35874
|
A.raycaster.ray,
|
|
35869
35875
|
new w.Line3(r, a)
|
|
@@ -35930,12 +35936,12 @@ class hm extends or {
|
|
|
35930
35936
|
this.up.copy(Kk(i, $e.modules.five.camera.position)), this.points = i, this.geometry = new qk(i), this.planeHelperNeedUpdate = !0;
|
|
35931
35937
|
}
|
|
35932
35938
|
}
|
|
35933
|
-
class
|
|
35939
|
+
class Os extends hm {
|
|
35934
35940
|
constructor(e) {
|
|
35935
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
35941
|
+
const o = e != null ? e : {}, { points: i } = o, s = ps(o, ["points"]);
|
|
35936
35942
|
super();
|
|
35937
35943
|
d(this, "name", "RectangleWithEdgeMesh");
|
|
35938
|
-
d(this, "line", new
|
|
35944
|
+
d(this, "line", new Wn());
|
|
35939
35945
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
35940
35946
|
}
|
|
35941
35947
|
get lineWidth() {
|
|
@@ -35965,7 +35971,7 @@ class Nu extends ji {
|
|
|
35965
35971
|
super(e, i);
|
|
35966
35972
|
d(this, "type", "Rectangle");
|
|
35967
35973
|
d(this, "rectangleMesh");
|
|
35968
|
-
this.config.canEdit && (this.editor = new Jk(this)), e && (this.rectangleMesh = new
|
|
35974
|
+
this.config.canEdit && (this.editor = new Jk(this)), e && (this.rectangleMesh = new Os(D(D({}, e.style), e)), this.add(this.rectangleMesh)), ut("esc", () => {
|
|
35969
35975
|
this.stopCreating();
|
|
35970
35976
|
});
|
|
35971
35977
|
}
|
|
@@ -35990,7 +35996,7 @@ class Nu extends ji {
|
|
|
35990
35996
|
create(e) {
|
|
35991
35997
|
return Q(this, null, function* () {
|
|
35992
35998
|
this.removeChildren();
|
|
35993
|
-
const i = new
|
|
35999
|
+
const i = new Os(e);
|
|
35994
36000
|
this.rectangleMesh = i, this.add(this.rectangleMesh), yield dm(this.rectangleMesh, this.pointSelector), this.editor.enable();
|
|
35995
36001
|
});
|
|
35996
36002
|
}
|
|
@@ -36059,7 +36065,7 @@ class e3 extends tc {
|
|
|
36059
36065
|
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;
|
|
36060
36066
|
}
|
|
36061
36067
|
highlight() {
|
|
36062
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity *
|
|
36068
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.setStyle({ opacity: this.opacity * _n }), this.needsRender = !0);
|
|
36063
36069
|
}
|
|
36064
36070
|
unhighlight() {
|
|
36065
36071
|
this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
|
|
@@ -36067,10 +36073,10 @@ class e3 extends tc {
|
|
|
36067
36073
|
}
|
|
36068
36074
|
class lr extends e3 {
|
|
36069
36075
|
constructor(e) {
|
|
36070
|
-
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r =
|
|
36076
|
+
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = ps(a, ["normal", "radius", "center"]);
|
|
36071
36077
|
super(r);
|
|
36072
36078
|
d(this, "edgeLine");
|
|
36073
|
-
this.edgeLine = new
|
|
36079
|
+
this.edgeLine = new tn(r), this.add(this.edgeLine), i && s && o && this.setPoints({ normal: i, radius: s, center: o });
|
|
36074
36080
|
}
|
|
36075
36081
|
setPoints(...e) {
|
|
36076
36082
|
super.setPoints(...e);
|
|
@@ -36131,7 +36137,7 @@ function fm(n, t) {
|
|
|
36131
36137
|
i(new Error("No container"));
|
|
36132
36138
|
return;
|
|
36133
36139
|
}
|
|
36134
|
-
const o = new
|
|
36140
|
+
const o = new Wn({ dashed: !0 });
|
|
36135
36141
|
s.add(o), t.enable();
|
|
36136
36142
|
let r, a;
|
|
36137
36143
|
const l = (f) => {
|
|
@@ -36201,7 +36207,7 @@ class Gu extends Lt {
|
|
|
36201
36207
|
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 });
|
|
36202
36208
|
}
|
|
36203
36209
|
highlight() {
|
|
36204
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.edgeMesh.opacity, this.edgeMesh.setStyle({ opacity: this.edgeMesh.opacity *
|
|
36210
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.edgeMesh.opacity, this.edgeMesh.setStyle({ opacity: this.edgeMesh.opacity * _n }), this.bottomCircle.highlight(), this.topCircle.highlight(), this.needsRender = !0);
|
|
36205
36211
|
}
|
|
36206
36212
|
unhighlight() {
|
|
36207
36213
|
this.highlighted && (this.highlighted = !1, this.edgeMesh.setStyle({ opacity: this.opacityBeforeHighlight }), this.bottomCircle.unhighlight(), this.topCircle.unhighlight(), this.needsRender = !0);
|
|
@@ -36292,7 +36298,7 @@ function i3(n, t) {
|
|
|
36292
36298
|
return Q(this, null, function* () {
|
|
36293
36299
|
const e = n.parent;
|
|
36294
36300
|
yield fm(n.bottomCircle, t);
|
|
36295
|
-
const i = new
|
|
36301
|
+
const i = new tn();
|
|
36296
36302
|
i.name = "LineHelper", e.add(i);
|
|
36297
36303
|
const s = t.position.point, o = n.normal.clone().normalize(), r = s.clone().add(o.clone().multiplyScalar(10)), a = s.clone().sub(o.clone().multiplyScalar(10));
|
|
36298
36304
|
return i.setPoints([r, a]), t.enable(), new Promise((l, c) => {
|
|
@@ -36301,7 +36307,7 @@ function i3(n, t) {
|
|
|
36301
36307
|
}, u = (A) => {
|
|
36302
36308
|
if (!(A != null && A.raycaster))
|
|
36303
36309
|
return;
|
|
36304
|
-
const p =
|
|
36310
|
+
const p = Fn(
|
|
36305
36311
|
$e.modules.five.camera.position,
|
|
36306
36312
|
A.raycaster.ray,
|
|
36307
36313
|
new w.Line3(r, a)
|
|
@@ -36363,7 +36369,7 @@ class _u extends Lt {
|
|
|
36363
36369
|
d(this, "topPlane");
|
|
36364
36370
|
d(this, "heightPoint");
|
|
36365
36371
|
d(this, "edgePlanes", []);
|
|
36366
|
-
this.bottomPlane = new
|
|
36372
|
+
this.bottomPlane = new Os(e), this.topPlane = new Os(e), this.add(this.bottomPlane), e != null && e.points && this.setPoints(e);
|
|
36367
36373
|
}
|
|
36368
36374
|
get planes() {
|
|
36369
36375
|
return this.children.filter((e) => e instanceof hm);
|
|
@@ -36406,7 +36412,7 @@ class _u extends Lt {
|
|
|
36406
36412
|
setEdgePlanes() {
|
|
36407
36413
|
for (let e = 0; e < 4; e++) {
|
|
36408
36414
|
let i = this.edgePlanes[e];
|
|
36409
|
-
i || (this.edgePlanes[e] = new
|
|
36415
|
+
i || (this.edgePlanes[e] = new Os({
|
|
36410
36416
|
color: this.color,
|
|
36411
36417
|
lineColor: this.lineColor,
|
|
36412
36418
|
lineWidth: this.lineWidth,
|
|
@@ -36468,14 +36474,14 @@ function s3(n, t) {
|
|
|
36468
36474
|
i(new Error("No container"));
|
|
36469
36475
|
return;
|
|
36470
36476
|
}
|
|
36471
|
-
const o = new
|
|
36477
|
+
const o = new tn(), r = Ys(n.bottomPlane.points).normalize(), a = n.bottomPlane.builtPoints.at(-1), l = a.clone().add(r.clone().multiplyScalar(10)), c = a.clone().sub(r.clone().multiplyScalar(10));
|
|
36472
36478
|
o.setPoints([l, c]), s.add(o), t.enable();
|
|
36473
36479
|
const h = (A) => {
|
|
36474
36480
|
f(), e();
|
|
36475
36481
|
}, u = (A) => {
|
|
36476
36482
|
if (!(A != null && A.raycaster))
|
|
36477
36483
|
return;
|
|
36478
|
-
const p =
|
|
36484
|
+
const p = Fn(
|
|
36479
36485
|
$e.modules.five.camera.position,
|
|
36480
36486
|
A.raycaster.ray,
|
|
36481
36487
|
new w.Line3(l, c)
|
|
@@ -36490,13 +36496,13 @@ function s3(n, t) {
|
|
|
36490
36496
|
});
|
|
36491
36497
|
});
|
|
36492
36498
|
}
|
|
36493
|
-
const
|
|
36499
|
+
const Bs = class extends ii {
|
|
36494
36500
|
constructor(e, i) {
|
|
36495
36501
|
super();
|
|
36496
36502
|
d(this, "group");
|
|
36497
36503
|
d(this, "five");
|
|
36498
36504
|
d(this, "theme");
|
|
36499
|
-
this.five = e, this.theme = i, this.group = new Lt(), this.group.name = "Sculpt", e.scene.add(this.group),
|
|
36505
|
+
this.five = e, this.theme = i, this.group = new Lt(), this.group.name = "Sculpt", e.scene.add(this.group), Bs.modules.init(e), Bs.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: s }) => {
|
|
36500
36506
|
var r;
|
|
36501
36507
|
const o = tm((r = s == null ? void 0 : s[0]) == null ? void 0 : r.object, (a) => a.isSculptObject);
|
|
36502
36508
|
return o ? this.emit("click", o) : !1;
|
|
@@ -36543,7 +36549,7 @@ const Os = class extends ii {
|
|
|
36543
36549
|
putObject(e) {
|
|
36544
36550
|
var o;
|
|
36545
36551
|
this.group.add(e);
|
|
36546
|
-
const i =
|
|
36552
|
+
const i = Bs.modules.object3DHelper, s = i.addObject3DHelper(e);
|
|
36547
36553
|
return (o = s == null ? void 0 : s.moveController) == null || o.moveByMouse(), i;
|
|
36548
36554
|
}
|
|
36549
36555
|
/**
|
|
@@ -36646,7 +36652,7 @@ const Os = class extends ii {
|
|
|
36646
36652
|
this.five.needsRender = !0;
|
|
36647
36653
|
}
|
|
36648
36654
|
};
|
|
36649
|
-
let $e =
|
|
36655
|
+
let $e = Bs;
|
|
36650
36656
|
d($e, "modules", em);
|
|
36651
36657
|
const Wx = (n) => new $e(n);
|
|
36652
36658
|
function o3(n, ...t) {
|
|
@@ -36994,7 +37000,7 @@ Gm();
|
|
|
36994
37000
|
Qm();
|
|
36995
37001
|
export {
|
|
36996
37002
|
Fx as AreaMakerPlugin,
|
|
36997
|
-
|
|
37003
|
+
Vs as CSS3DRender,
|
|
36998
37004
|
pf as CSS3DRenderPlugin,
|
|
36999
37005
|
Z0 as CameraMovementEffect,
|
|
37000
37006
|
ix as CameraMovementPlugin,
|
|
@@ -37003,15 +37009,15 @@ export {
|
|
|
37003
37009
|
Zl as CruisePluginController,
|
|
37004
37010
|
jx as CruisePluginTypes,
|
|
37005
37011
|
_x as CurrentPanoImagePlugin,
|
|
37006
|
-
|
|
37007
|
-
|
|
37012
|
+
Ms as DIRECTION,
|
|
37013
|
+
In as DISPLAY_STRATEGY_TYPE,
|
|
37008
37014
|
Tw as DimensionType,
|
|
37009
37015
|
Wi as FLOOR_PLAN_ATTACHED_TO,
|
|
37010
37016
|
K3 as FLOOR_TYPE_MAP,
|
|
37011
37017
|
Tx as GuideLineItem,
|
|
37012
37018
|
Dx as GuideLineModeItem,
|
|
37013
37019
|
Zg as GuideLinePlugin,
|
|
37014
|
-
|
|
37020
|
+
En as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
37015
37021
|
bx as ItemLabelPlugin,
|
|
37016
37022
|
gl as Magnifier,
|
|
37017
37023
|
U3 as MapviewFloorplanPlugin,
|
|
@@ -37038,7 +37044,7 @@ export {
|
|
|
37038
37044
|
ki as PanoMeasurePluginLine,
|
|
37039
37045
|
sg as PanoMeasurePluginModel,
|
|
37040
37046
|
zt as PanoMeasurePluginPoint,
|
|
37041
|
-
|
|
37047
|
+
Hn as PanoMeasurePluginPolyline,
|
|
37042
37048
|
nx as PanoRulerPlugin,
|
|
37043
37049
|
ox as PanoRulerProPlugin,
|
|
37044
37050
|
ux as PanoSpatialTagPlugin,
|