@realsee/dnalogel 3.61.4 → 3.61.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/CHANGELOG.md +8 -0
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -2
- package/dist/PanoMeasurePlugin/typings/data.d.ts +5 -0
- package/dist/index.cjs.js +27 -27
- package/dist/index.js +679 -666
- package/dist/index.umd.js +31 -31
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +4 -4
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -77
- package/libs/PanoMeasurePlugin/typings/data.d.ts +5 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/CSS3DRenderer/index.js +55 -50
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@ var j0 = Object.defineProperty, R0 = Object.defineProperties;
|
|
|
2
2
|
var B0 = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Qo = Object.getOwnPropertySymbols;
|
|
4
4
|
var uu = Object.prototype.hasOwnProperty, du = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Uo = Math.pow,
|
|
5
|
+
var Uo = Math.pow, wl = (n, t, e) => t in n ? j0(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, B = (n, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
uu.call(t, e) &&
|
|
7
|
+
uu.call(t, e) && wl(n, e, t[e]);
|
|
8
8
|
if (Qo)
|
|
9
9
|
for (var e of Qo(t))
|
|
10
|
-
du.call(t, e) &&
|
|
10
|
+
du.call(t, e) && wl(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
|
-
},
|
|
12
|
+
}, he = (n, t) => R0(n, B0(t));
|
|
13
13
|
var Dn = (n, t) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
@@ -19,7 +19,7 @@ var Dn = (n, t) => {
|
|
|
19
19
|
t.indexOf(i) < 0 && du.call(n, i) && (e[i] = n[i]);
|
|
20
20
|
return e;
|
|
21
21
|
};
|
|
22
|
-
var d = (n, t, e) => (
|
|
22
|
+
var d = (n, t, e) => (wl(n, typeof t != "symbol" ? t + "" : t, e), e);
|
|
23
23
|
var $ = (n, t, e) => new Promise((i, s) => {
|
|
24
24
|
var r = (l) => {
|
|
25
25
|
try {
|
|
@@ -38,12 +38,12 @@ var $ = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { InternalWebGLRenderer as V0, Camera as _0, loadAt3d as F0, Five as _t, Subscribe as Pr } from "@realsee/five";
|
|
40
40
|
import * as y from "three";
|
|
41
|
-
import { Vector3 as
|
|
41
|
+
import { Vector3 as ue, Object3D as tr, Matrix4 as tt, LineSegments as H0, Group as jn, Raycaster as Ir, MeshBasicMaterial as uo, Vector4 as as, Curve as xm, Loader as fu, LoaderUtils as Cl, FileLoader as N0, TextureLoader as Uc, RepeatWrapping as pu, ClampToEdgeWrapping as mu, Texture as gu, MeshPhongMaterial as Pl, MeshLambertMaterial as G0, Color as Kt, sRGBEncoding as Kr, EquirectangularReflectionMapping as W0, Bone as vu, PropertyBinding as Yo, OrthographicCamera as Q0, PerspectiveCamera as U0, PointLight as Au, MathUtils as Hi, SpotLight as Y0, DirectionalLight as X0, SkinnedMesh as Z0, Mesh as ir, LineBasicMaterial as J0, Line as q0, Skeleton as K0, AmbientLight as $0, BufferGeometry as Xo, Float32BufferAttribute as _s, Uint16BufferAttribute as eA, Matrix3 as tA, BufferAttribute as iA, AnimationClip as nA, Quaternion as Ys, Euler as rs, VectorKeyframeTrack as sA, QuaternionKeyframeTrack as rA, NumberKeyframeTrack as oA, CanvasTexture as aA, AnimationMixer as lA, Vector2 as Ht, PlaneGeometry as cA, LinearFilter as ac, CurvePath as hA, LineCurve3 as uA, TubeGeometry as dA, ShaderMaterial as km, SphereGeometry as fA, DoubleSide as Dm, RingGeometry as pA, VideoTexture as mA, SphereBufferGeometry as gA } from "three";
|
|
42
42
|
import { LineGeometry as vA, LineMaterial as AA, THREE_Line2 as bA, Line as yA } from "@realsee/five/line";
|
|
43
43
|
import { GLTFLoader as wA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function CA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.61.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.61.6",
|
|
47
47
|
[
|
|
48
48
|
"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=')",
|
|
49
49
|
"background-repeat: no-repeat",
|
|
@@ -75,7 +75,7 @@ function Zo(n, t, e) {
|
|
|
75
75
|
const i = n.x, s = n.y, r = Math.floor(i / t * 1e4) / 1e4, o = Math.floor(s / e * 1e4) / 1e4;
|
|
76
76
|
return { x: r, y: o };
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Il(n, t, e) {
|
|
79
79
|
const { x: i, y: s } = n, r = i * t, o = s * e;
|
|
80
80
|
return { x: r, y: o };
|
|
81
81
|
}
|
|
@@ -322,11 +322,11 @@ var Ui = Object.freeze({
|
|
|
322
322
|
return n._nextId++;
|
|
323
323
|
}, n._nextId = 0, n;
|
|
324
324
|
}()
|
|
325
|
-
),
|
|
325
|
+
), lc = new Tm(), Xa = (
|
|
326
326
|
/** @class */
|
|
327
327
|
function() {
|
|
328
328
|
function n(t, e) {
|
|
329
|
-
e === void 0 && (e =
|
|
329
|
+
e === void 0 && (e = lc), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Ui.Linear.None, this._interpolationFunction = ls.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = Yc.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
330
330
|
}
|
|
331
331
|
return n.prototype.getId = function() {
|
|
332
332
|
return this._id;
|
|
@@ -413,7 +413,7 @@ var Ui = Object.freeze({
|
|
|
413
413
|
this._chainedTweens[t].stop();
|
|
414
414
|
return this;
|
|
415
415
|
}, n.prototype.group = function(t) {
|
|
416
|
-
return t === void 0 && (t =
|
|
416
|
+
return t === void 0 && (t = lc), this._group = t, this;
|
|
417
417
|
}, n.prototype.delay = function(t) {
|
|
418
418
|
return t === void 0 && (t = 0), this._delayTime = t, this;
|
|
419
419
|
}, n.prototype.repeat = function(t) {
|
|
@@ -490,14 +490,14 @@ var Ui = Object.freeze({
|
|
|
490
490
|
typeof i == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(i) : this._valuesStartRepeat[t] = this._valuesEnd[t], this._valuesEnd[t] = e;
|
|
491
491
|
}, n;
|
|
492
492
|
}()
|
|
493
|
-
), xA = "23.1.1", kA = Yc.nextId, Yi =
|
|
493
|
+
), xA = "23.1.1", kA = Yc.nextId, Yi = lc, DA = Yi.getAll.bind(Yi), SA = Yi.removeAll.bind(Yi), TA = Yi.add.bind(Yi), Lm = Yi.remove.bind(Yi), LA = Yi.update.bind(Yi), Cu = {
|
|
494
494
|
Easing: Ui,
|
|
495
495
|
Group: Tm,
|
|
496
496
|
Interpolation: ls,
|
|
497
497
|
now: Xs,
|
|
498
498
|
Sequence: Yc,
|
|
499
499
|
nextId: kA,
|
|
500
|
-
Tween:
|
|
500
|
+
Tween: Xa,
|
|
501
501
|
VERSION: xA,
|
|
502
502
|
getAll: DA,
|
|
503
503
|
removeAll: SA,
|
|
@@ -506,7 +506,7 @@ var Ui = Object.freeze({
|
|
|
506
506
|
update: LA
|
|
507
507
|
};
|
|
508
508
|
function OA(n, t, e, i = Ui.Linear.None) {
|
|
509
|
-
const s = new
|
|
509
|
+
const s = new Xa(n).to(t, e).easing(i).start();
|
|
510
510
|
function r(o) {
|
|
511
511
|
s.update(o) && requestAnimationFrame(r);
|
|
512
512
|
}
|
|
@@ -957,7 +957,7 @@ let BA = class extends jA {
|
|
|
957
957
|
const a = this.canvas[e].getContext("2d");
|
|
958
958
|
if (!a)
|
|
959
959
|
return;
|
|
960
|
-
const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, f =
|
|
960
|
+
const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, f = Il(i.move || {}, this.clientWidth, this.clientHeight);
|
|
961
961
|
let p = [f];
|
|
962
962
|
if (a.strokeStyle = c, a.beginPath(), a.moveTo(f.x, f.y), h && !s) {
|
|
963
963
|
let g = [];
|
|
@@ -968,7 +968,7 @@ let BA = class extends jA {
|
|
|
968
968
|
return a.clearRect(0, 0, v.canvas[u].width, v.canvas[u].height), (C = v.tween) == null ? void 0 : C.stop();
|
|
969
969
|
const b = Math.floor(m);
|
|
970
970
|
if (!g.find((M) => M === b)) {
|
|
971
|
-
if (g.push(b), p.push(
|
|
971
|
+
if (g.push(b), p.push(Il(l[b], v.clientWidth, v.clientHeight)), p.length < 3)
|
|
972
972
|
return;
|
|
973
973
|
const { control: M, end: E } = Jo(p);
|
|
974
974
|
if (!M || !E)
|
|
@@ -980,7 +980,7 @@ let BA = class extends jA {
|
|
|
980
980
|
});
|
|
981
981
|
} else {
|
|
982
982
|
for (let g = 0; g < l.length; g++) {
|
|
983
|
-
if (p.push(
|
|
983
|
+
if (p.push(Il(l[g], this.clientWidth, this.clientHeight)), p.length < 3)
|
|
984
984
|
continue;
|
|
985
985
|
const { control: v, end: m } = Jo(p);
|
|
986
986
|
!v || !m || a.quadraticCurveTo(v.x, v.y, m.x, m.y);
|
|
@@ -1143,7 +1143,7 @@ class wt {
|
|
|
1143
1143
|
return i;
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
|
-
class
|
|
1146
|
+
class cc {
|
|
1147
1147
|
constructor(t = 0, e = 0) {
|
|
1148
1148
|
d(this, "min");
|
|
1149
1149
|
d(this, "max");
|
|
@@ -1169,7 +1169,7 @@ let FA = class {
|
|
|
1169
1169
|
d(this, "xInterval");
|
|
1170
1170
|
d(this, "yInterval");
|
|
1171
1171
|
d(this, "isRectangle", !0);
|
|
1172
|
-
this.min = t, this.max = e, this.xInterval = new
|
|
1172
|
+
this.min = t, this.max = e, this.xInterval = new cc(this.min.x, this.max.x), this.yInterval = new cc(this.min.y, this.max.y);
|
|
1173
1173
|
}
|
|
1174
1174
|
/** 是否与矩形是否重叠 */
|
|
1175
1175
|
isOverlapWithRectangle(t) {
|
|
@@ -1206,15 +1206,15 @@ function Pu(n, t) {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
return s;
|
|
1208
1208
|
}
|
|
1209
|
-
const GA = ({ x: n, y: t, z: e }) => new
|
|
1209
|
+
const GA = ({ x: n, y: t, z: e }) => new ue(n, t, e), Vn = (n) => new ue().fromArray(n), He = (n) => {
|
|
1210
1210
|
if (n)
|
|
1211
|
-
return n instanceof
|
|
1211
|
+
return n instanceof ue ? n : Array.isArray(n) ? Vn(n) : GA(n);
|
|
1212
1212
|
};
|
|
1213
1213
|
function WA(n) {
|
|
1214
1214
|
if (n)
|
|
1215
1215
|
return Array.isArray(n) ? typeof n[0] == "number" ? He(n) : n.map(He) : He(n);
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function El(n, t, e) {
|
|
1218
1218
|
const { x: i, y: s, z: r } = t.clone().project(n);
|
|
1219
1219
|
return r > 1 ? void 0 : {
|
|
1220
1220
|
leftPx: (i + 1) / 2 * e.x,
|
|
@@ -1237,7 +1237,7 @@ const fo = (n, t) => {
|
|
|
1237
1237
|
return n;
|
|
1238
1238
|
const e = new y.Vector3(), i = new y.Quaternion(), s = new y.Vector3();
|
|
1239
1239
|
return t.decompose(e, i, s), n.clone().multiply(s).applyQuaternion(i).add(e);
|
|
1240
|
-
},
|
|
1240
|
+
}, Ml = /* @__PURE__ */ new Map();
|
|
1241
1241
|
class QA extends Om {
|
|
1242
1242
|
constructor(e) {
|
|
1243
1243
|
super(e);
|
|
@@ -1246,10 +1246,10 @@ class QA extends Om {
|
|
|
1246
1246
|
get fromType() {
|
|
1247
1247
|
var s, r;
|
|
1248
1248
|
const e = this.workCode;
|
|
1249
|
-
if (
|
|
1250
|
-
return
|
|
1249
|
+
if (Ml.has(e))
|
|
1250
|
+
return Ml.get(e);
|
|
1251
1251
|
const i = (r = (s = JSON.parse(this.work.raw.works[0])) == null ? void 0 : s.from_type) != null ? r : "vr";
|
|
1252
|
-
return
|
|
1252
|
+
return Ml.set(e, i), i;
|
|
1253
1253
|
}
|
|
1254
1254
|
/**
|
|
1255
1255
|
* @description 设置插件当前的 workCode
|
|
@@ -1306,7 +1306,7 @@ class QA extends Om {
|
|
|
1306
1306
|
return (i = this.observers) == null ? void 0 : i[e];
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
|
-
class
|
|
1309
|
+
class Za extends Om {
|
|
1310
1310
|
constructor(e) {
|
|
1311
1311
|
super(e);
|
|
1312
1312
|
d(this, "workUtil", new QA(this.five));
|
|
@@ -1328,25 +1328,25 @@ class Xa extends Om {
|
|
|
1328
1328
|
return this.five.moveToPano(s, i);
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
|
-
class
|
|
1331
|
+
class hc extends y.Raycaster {
|
|
1332
1332
|
intersectObject(t, e = !0, i = []) {
|
|
1333
|
-
return
|
|
1333
|
+
return uc(t, this, i, e), i.sort(Iu), i;
|
|
1334
1334
|
}
|
|
1335
1335
|
intersectObjects(t, e = !0, i = []) {
|
|
1336
1336
|
for (let s = 0, r = t.length; s < r; s++)
|
|
1337
|
-
|
|
1337
|
+
uc(t[s], this, i, e);
|
|
1338
1338
|
return i.sort(Iu), i;
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
function Iu(n, t) {
|
|
1342
1342
|
return n.distance - t.distance;
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1344
|
+
function uc(n, t, e, i) {
|
|
1345
1345
|
let s = !0;
|
|
1346
1346
|
if (n.layers.test(t.layers) && n.raycast(t, e) === !1 && (s = !1), s === !0 && i === !0) {
|
|
1347
1347
|
const r = n.children;
|
|
1348
1348
|
for (let o = 0, a = r.length; o < a; o++)
|
|
1349
|
-
|
|
1349
|
+
uc(r[o], t, e, !0);
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
function Xc(n, t, e, i) {
|
|
@@ -1357,9 +1357,9 @@ function Xc(n, t, e, i) {
|
|
|
1357
1357
|
r[o].type !== "Line2" && Xc(r[o], t, e, !0);
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
|
-
const hn = new
|
|
1360
|
+
const hn = new hc();
|
|
1361
1361
|
hn.params.Points.threshold = 0.02;
|
|
1362
|
-
function
|
|
1362
|
+
function Ea(n, t) {
|
|
1363
1363
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
1364
1364
|
return {
|
|
1365
1365
|
observe: () => window.addEventListener("resize", n),
|
|
@@ -1373,7 +1373,7 @@ function Ia(n, t) {
|
|
|
1373
1373
|
};
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function Ja(n, t = 200) {
|
|
1377
1377
|
let e;
|
|
1378
1378
|
return function(...i) {
|
|
1379
1379
|
e || (n(...i), e = setTimeout(function() {
|
|
@@ -1383,7 +1383,7 @@ function Za(n, t = 200) {
|
|
|
1383
1383
|
}
|
|
1384
1384
|
function Zc(n, t) {
|
|
1385
1385
|
let e = !1;
|
|
1386
|
-
const i =
|
|
1386
|
+
const i = Ja(() => {
|
|
1387
1387
|
e || (e = !0, n.ready().then(() => {
|
|
1388
1388
|
t(), e = !1;
|
|
1389
1389
|
}));
|
|
@@ -1481,7 +1481,7 @@ class Rn {
|
|
|
1481
1481
|
a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
|
|
1482
1482
|
});
|
|
1483
1483
|
var s, r, o;
|
|
1484
|
-
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new
|
|
1484
|
+
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new Za(t), this.originPosition = e ? He(e).clone() : void 0, this.transformedPosition = (r = this.originPosition) == null ? void 0 : r.clone(), this.positionsForRotate = (o = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : o.map((a) => He(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
|
|
1485
1485
|
const a = document.createElement("div");
|
|
1486
1486
|
return a.classList.add("light-tag"), a.style.width = "0", a.style.height = "0", a.style.position = "absolute", a.style.transition = "opacity 0.2s linear", a;
|
|
1487
1487
|
})(), this.addResizeListener(), this.show(), this.enable(), setTimeout(() => {
|
|
@@ -1570,7 +1570,7 @@ class Rn {
|
|
|
1570
1570
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
1571
1571
|
return;
|
|
1572
1572
|
}
|
|
1573
|
-
const e =
|
|
1573
|
+
const e = El(this.five.camera, this.transformedPosition, t);
|
|
1574
1574
|
if (!e) {
|
|
1575
1575
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
1576
1576
|
return;
|
|
@@ -1583,7 +1583,7 @@ class Rn {
|
|
|
1583
1583
|
})(), s = (() => {
|
|
1584
1584
|
if (this.positionsForRotate === void 0 || this.positionsForRotate.length !== 2)
|
|
1585
1585
|
return 0;
|
|
1586
|
-
const [o, a] = this.positionsForRotate, l =
|
|
1586
|
+
const [o, a] = this.positionsForRotate, l = El(this.five.camera, o, t), c = El(this.five.camera, a, t);
|
|
1587
1587
|
if (!l || !c)
|
|
1588
1588
|
return 0;
|
|
1589
1589
|
const h = l.leftPx > c.leftPx ? c : l, u = l.leftPx > c.leftPx ? l : c, f = u.leftPx - h.leftPx, p = u.topPx - h.topPx;
|
|
@@ -1594,7 +1594,7 @@ class Rn {
|
|
|
1594
1594
|
addResizeListener() {
|
|
1595
1595
|
const t = this.five.getElement();
|
|
1596
1596
|
if (t) {
|
|
1597
|
-
const { observe: e, unobserve: i } =
|
|
1597
|
+
const { observe: e, unobserve: i } = Ea(this.onCameraUpdate, t);
|
|
1598
1598
|
e(), this.disposers.push(i);
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
@@ -2953,23 +2953,23 @@ function JA(n, t) {
|
|
|
2953
2953
|
return new y.Vector2().set(n.x / e * 2 - 1, -n.y / i * 2 + 1);
|
|
2954
2954
|
}
|
|
2955
2955
|
var dn = function(n) {
|
|
2956
|
-
tr.call(this), this.element = n, this.element.style.position = "absolute", this.element.style.pointerEvents = "auto", this.addEventListener("removed", function() {
|
|
2956
|
+
tr.call(this), this.element = n, this.element.style.position = "absolute", this.element.style.pointerEvents = "auto", this.element.style.userSelect = "none", this.element.setAttribute("draggable", !1), this.addEventListener("removed", function() {
|
|
2957
2957
|
this.traverse(function(t) {
|
|
2958
|
-
t.element instanceof Element && t.element.parentNode !== null && t.element.
|
|
2958
|
+
t.element instanceof Element && t.element.parentNode !== null && t.element.remove();
|
|
2959
2959
|
});
|
|
2960
2960
|
});
|
|
2961
2961
|
};
|
|
2962
2962
|
dn.prototype = Object.create(tr.prototype);
|
|
2963
2963
|
dn.prototype.constructor = dn;
|
|
2964
|
-
var
|
|
2964
|
+
var Ma = function(n) {
|
|
2965
2965
|
dn.call(this, n);
|
|
2966
2966
|
};
|
|
2967
|
-
|
|
2968
|
-
|
|
2967
|
+
Ma.prototype = Object.create(dn.prototype);
|
|
2968
|
+
Ma.prototype.constructor = Ma;
|
|
2969
2969
|
let qA = function(n) {
|
|
2970
2970
|
let t = this, e, i, s, r, o = new tt(), a = {
|
|
2971
2971
|
camera: { fov: 0, style: "" },
|
|
2972
|
-
objects: /* @__PURE__ */ new
|
|
2972
|
+
objects: /* @__PURE__ */ new Map()
|
|
2973
2973
|
}, l = document.createElement("div");
|
|
2974
2974
|
l.style.overflow = "hidden", this.domElement = l;
|
|
2975
2975
|
let c = document.createElement("div");
|
|
@@ -3001,39 +3001,44 @@ let qA = function(n) {
|
|
|
3001
3001
|
for (let b = 0, C = v.children.length; b < C; b++)
|
|
3002
3002
|
p(v.children[b]);
|
|
3003
3003
|
}
|
|
3004
|
-
function g(v, m, b, C) {
|
|
3005
|
-
var
|
|
3004
|
+
function g(v, m, b, C, M) {
|
|
3005
|
+
var E;
|
|
3006
3006
|
if (v.visible === !1) {
|
|
3007
3007
|
p(v);
|
|
3008
3008
|
return;
|
|
3009
3009
|
}
|
|
3010
3010
|
if (v.isCSS3DObject) {
|
|
3011
|
-
const
|
|
3012
|
-
if (n &&
|
|
3011
|
+
const T = (E = v.mode) != null ? E : "front";
|
|
3012
|
+
if (n && T !== n)
|
|
3013
3013
|
return;
|
|
3014
|
-
|
|
3015
|
-
|
|
3014
|
+
v.flag = M;
|
|
3015
|
+
const S = v.layers.test(b.layers) === !0, _ = v.element;
|
|
3016
|
+
if (_.style.display = S === !0 ? "" : "none", S) {
|
|
3016
3017
|
v.onBeforeRender(t, m, b);
|
|
3017
|
-
let
|
|
3018
|
-
v.isCSS3DSprite ? (o.copy(b.matrixWorldInverse), o.transpose(), o.copyPosition(v.matrixWorld), o.scale(v.scale), o.elements[3] = 0, o.elements[7] = 0, o.elements[11] = 0, o.elements[15] = 1,
|
|
3019
|
-
let
|
|
3020
|
-
if (
|
|
3021
|
-
|
|
3022
|
-
let
|
|
3023
|
-
a.objects.set(v,
|
|
3018
|
+
let H;
|
|
3019
|
+
v.isCSS3DSprite ? (o.copy(b.matrixWorldInverse), o.transpose(), o.copyPosition(v.matrixWorld), o.scale(v.scale), o.elements[3] = 0, o.elements[7] = 0, o.elements[11] = 0, o.elements[15] = 1, H = f(o)) : H = f(v.matrixWorld);
|
|
3020
|
+
let Z = a.objects.get(v);
|
|
3021
|
+
if (Z === void 0 || Z.style !== H) {
|
|
3022
|
+
_.style.WebkitTransform = H, _.style.transform = H;
|
|
3023
|
+
let A = { style: H };
|
|
3024
|
+
a.objects.set(v, A);
|
|
3024
3025
|
}
|
|
3025
|
-
|
|
3026
|
+
_.style.display = v.visible ? "" : "none", _.parentNode !== c && c.appendChild(_), v.onAfterRender(t, m, b);
|
|
3026
3027
|
}
|
|
3027
3028
|
}
|
|
3028
|
-
for (let
|
|
3029
|
-
g(v.children[
|
|
3029
|
+
for (let T = 0, S = v.children.length; T < S; T++)
|
|
3030
|
+
g(v.children[T], m, b, C, M);
|
|
3030
3031
|
}
|
|
3031
3032
|
this.render = function(v, m) {
|
|
3032
3033
|
let b = m.projectionMatrix.elements[5] * r;
|
|
3033
3034
|
if (a.camera.fov !== b && (m.isPerspectiveCamera ? (l.style.WebkitPerspective = b + "px", l.style.perspective = b + "px") : (l.style.WebkitPerspective = "", l.style.perspective = ""), a.camera.fov = b), v.autoUpdate === !0 && v.updateMatrixWorld(), m.parent === null && m.updateMatrixWorld(), m.isOrthographicCamera)
|
|
3034
3035
|
var C = -(m.right + m.left) / 2, M = (m.top + m.bottom) / 2;
|
|
3035
|
-
let
|
|
3036
|
-
a.camera.style !== T && (c.style.WebkitTransform = T, c.style.transform = T, a.camera.style = T)
|
|
3036
|
+
let E = m.isOrthographicCamera ? "scale(" + b + ")translate(" + h(C) + "px," + h(M) + "px)" + u(m.matrixWorldInverse) : "translateZ(" + b + "px)" + u(m.matrixWorldInverse), T = E + "translate(" + s + "px," + r + "px)";
|
|
3037
|
+
a.camera.style !== T && (c.style.WebkitTransform = T, c.style.transform = T, a.camera.style = T);
|
|
3038
|
+
const S = v.uuid + "_" + performance.now().toString();
|
|
3039
|
+
g(v, v, m, E, S), a.objects.forEach(function(_, H) {
|
|
3040
|
+
H.flag !== S && (H.element.remove(), a.objects.delete(H));
|
|
3041
|
+
});
|
|
3037
3042
|
};
|
|
3038
3043
|
};
|
|
3039
3044
|
function lr(n, t) {
|
|
@@ -3147,10 +3152,10 @@ class gi extends tr {
|
|
|
3147
3152
|
}
|
|
3148
3153
|
}
|
|
3149
3154
|
function ci(...n) {
|
|
3150
|
-
const t = new
|
|
3155
|
+
const t = new ue();
|
|
3151
3156
|
return n.forEach((e) => t.add(e)), t.divideScalar(n.length), t;
|
|
3152
3157
|
}
|
|
3153
|
-
function
|
|
3158
|
+
function qa(n) {
|
|
3154
3159
|
Mu(n), n.traverse((t) => Mu(t));
|
|
3155
3160
|
}
|
|
3156
3161
|
function Mu(n) {
|
|
@@ -3272,7 +3277,7 @@ class xu extends bA {
|
|
|
3272
3277
|
};
|
|
3273
3278
|
}
|
|
3274
3279
|
}
|
|
3275
|
-
const
|
|
3280
|
+
const xl = {
|
|
3276
3281
|
uniforms: y.UniformsUtils.merge([
|
|
3277
3282
|
y.UniformsLib.common,
|
|
3278
3283
|
y.UniformsLib.fog,
|
|
@@ -3492,9 +3497,9 @@ class Rm extends y.ShaderMaterial {
|
|
|
3492
3497
|
// to be set by renderer
|
|
3493
3498
|
constructor(e) {
|
|
3494
3499
|
super({
|
|
3495
|
-
uniforms: y.UniformsUtils.clone(
|
|
3496
|
-
vertexShader:
|
|
3497
|
-
fragmentShader:
|
|
3500
|
+
uniforms: y.UniformsUtils.clone(xl.uniforms),
|
|
3501
|
+
vertexShader: xl.vertexShader,
|
|
3502
|
+
fragmentShader: xl.fragmentShader,
|
|
3498
3503
|
clipping: !0
|
|
3499
3504
|
// required for clipping support
|
|
3500
3505
|
});
|
|
@@ -3628,13 +3633,13 @@ class Di extends gi {
|
|
|
3628
3633
|
opacity: (l = e == null ? void 0 : e.lineOpacity) != null ? l : 1,
|
|
3629
3634
|
depthWrite: !1,
|
|
3630
3635
|
transparent: !0
|
|
3631
|
-
}, s = new sb(
|
|
3636
|
+
}, s = new sb(he(B({}, i), { dashed: !1, depthTest: !0 })), r = new rb(he(B({}, i), { dashed: !0, depthTest: !1 }));
|
|
3632
3637
|
if (this.line1 = new xu(this.geometry, s), this.line2 = new xu(this.geometry, r), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
|
|
3633
3638
|
const h = (c = this.five.renderer) == null ? void 0 : c.getSize(new y.Vector2());
|
|
3634
3639
|
h && this.setResolution(h.width, h.height);
|
|
3635
3640
|
}
|
|
3636
3641
|
e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
|
|
3637
|
-
|
|
3642
|
+
qa(this);
|
|
3638
3643
|
}), Object.defineProperty(this, "visible", {
|
|
3639
3644
|
set: (h) => {
|
|
3640
3645
|
this.doms && this.doms.forEach((u) => u.container.style.display = h ? "block" : "none"), this._visible = h;
|
|
@@ -3767,7 +3772,7 @@ class Di extends gi {
|
|
|
3767
3772
|
}), this.doms.length > i.length && (this.doms.slice(i.length).forEach((s) => s.destroy()), this.doms.length = i.length);
|
|
3768
3773
|
}
|
|
3769
3774
|
}
|
|
3770
|
-
class ob extends
|
|
3775
|
+
class ob extends Ma {
|
|
3771
3776
|
constructor() {
|
|
3772
3777
|
super(...arguments);
|
|
3773
3778
|
d(this, "isCSS3DSprite", !0);
|
|
@@ -3838,7 +3843,7 @@ function hb() {
|
|
|
3838
3843
|
lineColor: 3407837,
|
|
3839
3844
|
lineOpacity: 0.7,
|
|
3840
3845
|
occlusionVisibility: !0
|
|
3841
|
-
}, i = new Di(
|
|
3846
|
+
}, i = new Di(he(B({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Di(he(B({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
|
|
3842
3847
|
return t.add(i, s), t;
|
|
3843
3848
|
}
|
|
3844
3849
|
function ub(n) {
|
|
@@ -3979,7 +3984,7 @@ function _m(n, t = 3) {
|
|
|
3979
3984
|
function vb(n, t) {
|
|
3980
3985
|
const s = ki(n).intersectRaycaster(t)[0];
|
|
3981
3986
|
if (s)
|
|
3982
|
-
return
|
|
3987
|
+
return he(B({}, s), { raycaster: t, isVirtual: !1 });
|
|
3983
3988
|
}
|
|
3984
3989
|
const ku = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, Ab = new y.Vector3(), Fs = () => !1;
|
|
3985
3990
|
class $c extends wt {
|
|
@@ -4167,7 +4172,7 @@ class $c extends wt {
|
|
|
4167
4172
|
autoFixPCPosition: this.mode === "cursor",
|
|
4168
4173
|
initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
|
|
4169
4174
|
};
|
|
4170
|
-
this.pointSelectorHelper = new Bm(this.five,
|
|
4175
|
+
this.pointSelectorHelper = new Bm(this.five, he(B({}, i == null ? void 0 : i.helper), {
|
|
4171
4176
|
magnifierParams: B(B({}, r), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams)
|
|
4172
4177
|
})), this.pointSelectorHelper.hide();
|
|
4173
4178
|
}
|
|
@@ -4242,10 +4247,10 @@ let Nm = class extends dn {
|
|
|
4242
4247
|
const i = (T = e.container) != null ? T : document.createElement("div"), s = (S = e.cornerPoints) != null ? S : (() => {
|
|
4243
4248
|
const A = e.width / 2;
|
|
4244
4249
|
return [
|
|
4245
|
-
new
|
|
4246
|
-
new
|
|
4247
|
-
new
|
|
4248
|
-
new
|
|
4250
|
+
new ue(-A, A, 0),
|
|
4251
|
+
new ue(-A, -A, 0),
|
|
4252
|
+
new ue(A, -A, 0),
|
|
4253
|
+
new ue(A, A, 0)
|
|
4249
4254
|
];
|
|
4250
4255
|
})(), r = (_ = e.ratio) != null ? _ : wb, o = (H = e.dpr) != null ? H : 1, a = (Z = e.pointerEvents) != null ? Z : "auto", l = Math.max(yb, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = lr(c / r * o), f = lr(h / r * o), p = ci(...s);
|
|
4251
4256
|
let g;
|
|
@@ -4291,12 +4296,12 @@ let Nm = class extends dn {
|
|
|
4291
4296
|
this.width = c, this.height = h, this.domWidthPx = u, this.domHeightPx = f, this.centerPosition = p;
|
|
4292
4297
|
else {
|
|
4293
4298
|
const A = r / l;
|
|
4294
|
-
this.width = A * c, this.height = A * h, this.domWidthPx = A * u, this.domHeightPx = A * f, this.centerPosition = new
|
|
4299
|
+
this.width = A * c, this.height = A * h, this.domWidthPx = A * u, this.domHeightPx = A * f, this.centerPosition = new ue().subVectors(p, s[0]).multiplyScalar(A).add(s[0]);
|
|
4295
4300
|
}
|
|
4296
4301
|
i.classList.add(`${Du}__container`);
|
|
4297
|
-
const v = new
|
|
4302
|
+
const v = new ue().subVectors(s[1], s[0]), m = new ue().subVectors(s[3], s[0]), b = new ue().crossVectors(v, m).normalize();
|
|
4298
4303
|
this.lookAt(b);
|
|
4299
|
-
const C = this.up.clone().applyQuaternion(this.quaternion), M = m.clone(), E = new
|
|
4304
|
+
const C = this.up.clone().applyQuaternion(this.quaternion), M = m.clone(), E = new ue().crossVectors(C, M).normalize();
|
|
4300
4305
|
this.rotateOnWorldAxis(E, C.angleTo(M)), this.position.copy(p), this.addEventListener("added", () => {
|
|
4301
4306
|
var A;
|
|
4302
4307
|
this.mode === "front" && ((A = this.opacityMesh) == null || A.removeFromParent());
|
|
@@ -4508,16 +4513,16 @@ class Um extends H0 {
|
|
|
4508
4513
|
super(t, e);
|
|
4509
4514
|
}
|
|
4510
4515
|
}
|
|
4511
|
-
const
|
|
4516
|
+
const kl = new y.Vector3();
|
|
4512
4517
|
class Sb extends y.Sphere {
|
|
4513
4518
|
expandByPoint(t) {
|
|
4514
4519
|
if (this.isEmpty())
|
|
4515
4520
|
return this.center.copy(t), this.radius = 0, this;
|
|
4516
|
-
|
|
4517
|
-
const e =
|
|
4521
|
+
kl.subVectors(t, this.center);
|
|
4522
|
+
const e = kl.lengthSq();
|
|
4518
4523
|
if (e > this.radius * this.radius) {
|
|
4519
4524
|
const i = Math.sqrt(e), s = (i - this.radius) * 0.5;
|
|
4520
|
-
this.center.addScaledVector(
|
|
4525
|
+
this.center.addScaledVector(kl, s / i), this.radius += s;
|
|
4521
4526
|
}
|
|
4522
4527
|
return this;
|
|
4523
4528
|
}
|
|
@@ -4563,12 +4568,12 @@ function Ym(n) {
|
|
|
4563
4568
|
return th(n, "sphere");
|
|
4564
4569
|
}
|
|
4565
4570
|
function Lb(n) {
|
|
4566
|
-
return
|
|
4571
|
+
return Ka(n, "box3");
|
|
4567
4572
|
}
|
|
4568
4573
|
function Xm(n) {
|
|
4569
|
-
return
|
|
4574
|
+
return Ka(n, "sphere");
|
|
4570
4575
|
}
|
|
4571
|
-
function
|
|
4576
|
+
function Ka(n, t) {
|
|
4572
4577
|
const e = t === "box3" ? new y.Box3() : new Sb(), i = new y.Vector3();
|
|
4573
4578
|
if (n.updateWorldMatrix(!1, !1), n.traverse((s) => {
|
|
4574
4579
|
var o;
|
|
@@ -4590,7 +4595,7 @@ function qa(n, t) {
|
|
|
4590
4595
|
return e;
|
|
4591
4596
|
}
|
|
4592
4597
|
function th(n, t) {
|
|
4593
|
-
const e =
|
|
4598
|
+
const e = Ka(n, t);
|
|
4594
4599
|
return e && e.applyMatrix4(Ob(n.matrixWorld.clone())), e;
|
|
4595
4600
|
}
|
|
4596
4601
|
const Ob = (n) => {
|
|
@@ -4619,7 +4624,7 @@ var Zm = {
|
|
|
4619
4624
|
endDelay: 0,
|
|
4620
4625
|
easing: "easeOutElastic(1, .5)",
|
|
4621
4626
|
round: 0
|
|
4622
|
-
}, zb = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"],
|
|
4627
|
+
}, zb = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"], xa = {
|
|
4623
4628
|
CSS: {},
|
|
4624
4629
|
springs: {}
|
|
4625
4630
|
};
|
|
@@ -4629,7 +4634,7 @@ function Ni(n, t, e) {
|
|
|
4629
4634
|
function ro(n, t) {
|
|
4630
4635
|
return n.indexOf(t) > -1;
|
|
4631
4636
|
}
|
|
4632
|
-
function
|
|
4637
|
+
function Dl(n, t) {
|
|
4633
4638
|
return n.apply(null, t);
|
|
4634
4639
|
}
|
|
4635
4640
|
var Le = {
|
|
@@ -4692,7 +4697,7 @@ function qm(n, t) {
|
|
|
4692
4697
|
return l < 1 ? v = Math.exp(-v * l * a) * (h * Math.cos(c * v) + u * Math.sin(c * v)) : v = (h + u * v) * Math.exp(-v * a), g === 0 || g === 1 ? g : 1 - v;
|
|
4693
4698
|
}
|
|
4694
4699
|
function p() {
|
|
4695
|
-
var g =
|
|
4700
|
+
var g = xa.springs[n];
|
|
4696
4701
|
if (g)
|
|
4697
4702
|
return g;
|
|
4698
4703
|
for (var v = 1 / 6, m = 0, b = 0; ; )
|
|
@@ -4702,7 +4707,7 @@ function qm(n, t) {
|
|
|
4702
4707
|
} else
|
|
4703
4708
|
b = 0;
|
|
4704
4709
|
var C = m * v * 1e3;
|
|
4705
|
-
return
|
|
4710
|
+
return xa.springs[n] = C, C;
|
|
4706
4711
|
}
|
|
4707
4712
|
return t ? f : p;
|
|
4708
4713
|
}
|
|
@@ -4836,11 +4841,11 @@ function nh(n, t) {
|
|
|
4836
4841
|
case "spring":
|
|
4837
4842
|
return qm(n, t);
|
|
4838
4843
|
case "cubicBezier":
|
|
4839
|
-
return
|
|
4844
|
+
return Dl(Rb, s);
|
|
4840
4845
|
case "steps":
|
|
4841
|
-
return
|
|
4846
|
+
return Dl(jb, s);
|
|
4842
4847
|
default:
|
|
4843
|
-
return
|
|
4848
|
+
return Dl(i, s);
|
|
4844
4849
|
}
|
|
4845
4850
|
}
|
|
4846
4851
|
function $m(n) {
|
|
@@ -4851,7 +4856,7 @@ function $m(n) {
|
|
|
4851
4856
|
return;
|
|
4852
4857
|
}
|
|
4853
4858
|
}
|
|
4854
|
-
function
|
|
4859
|
+
function $a(n, t) {
|
|
4855
4860
|
for (var e = n.length, i = arguments.length >= 2 ? arguments[1] : void 0, s = [], r = 0; r < e; r++)
|
|
4856
4861
|
if (r in n) {
|
|
4857
4862
|
var o = n[r];
|
|
@@ -4859,9 +4864,9 @@ function Ka(n, t) {
|
|
|
4859
4864
|
}
|
|
4860
4865
|
return s;
|
|
4861
4866
|
}
|
|
4862
|
-
function
|
|
4867
|
+
function el(n) {
|
|
4863
4868
|
return n.reduce(function(t, e) {
|
|
4864
|
-
return t.concat(Le.arr(e) ?
|
|
4869
|
+
return t.concat(Le.arr(e) ? el(e) : e);
|
|
4865
4870
|
}, []);
|
|
4866
4871
|
}
|
|
4867
4872
|
function Su(n) {
|
|
@@ -4878,13 +4883,13 @@ function rh(n) {
|
|
|
4878
4883
|
t[e] = n[e];
|
|
4879
4884
|
return t;
|
|
4880
4885
|
}
|
|
4881
|
-
function
|
|
4886
|
+
function dc(n, t) {
|
|
4882
4887
|
var e = rh(n);
|
|
4883
4888
|
for (var i in n)
|
|
4884
4889
|
e[i] = t.hasOwnProperty(i) ? t[i] : n[i];
|
|
4885
4890
|
return e;
|
|
4886
4891
|
}
|
|
4887
|
-
function
|
|
4892
|
+
function tl(n, t) {
|
|
4888
4893
|
var e = rh(n);
|
|
4889
4894
|
for (var i in t)
|
|
4890
4895
|
e[i] = Le.und(n[i]) ? t[i] : n[i];
|
|
@@ -4933,7 +4938,7 @@ function Hb(n) {
|
|
|
4933
4938
|
if (ro(n, "rotate") || ro(n, "skew"))
|
|
4934
4939
|
return "deg";
|
|
4935
4940
|
}
|
|
4936
|
-
function
|
|
4941
|
+
function fc(n, t) {
|
|
4937
4942
|
return Le.fnc(n) ? n(t.target, t.id, t.total) : n;
|
|
4938
4943
|
}
|
|
4939
4944
|
function Gi(n, t) {
|
|
@@ -4943,7 +4948,7 @@ function oh(n, t, e) {
|
|
|
4943
4948
|
var i = un(t);
|
|
4944
4949
|
if (sh([e, "deg", "rad", "turn"], i))
|
|
4945
4950
|
return t;
|
|
4946
|
-
var s =
|
|
4951
|
+
var s = xa.CSS[t + e];
|
|
4947
4952
|
if (!Le.und(s))
|
|
4948
4953
|
return s;
|
|
4949
4954
|
var r = 100, o = document.createElement(n.tagName), a = n.parentNode && n.parentNode !== document ? n.parentNode : document.body;
|
|
@@ -4951,7 +4956,7 @@ function oh(n, t, e) {
|
|
|
4951
4956
|
var l = r / o.offsetWidth;
|
|
4952
4957
|
a.removeChild(o);
|
|
4953
4958
|
var c = l * parseFloat(t);
|
|
4954
|
-
return
|
|
4959
|
+
return xa.CSS[t + e] = c, c;
|
|
4955
4960
|
}
|
|
4956
4961
|
function eg(n, t, e) {
|
|
4957
4962
|
if (t in n.style) {
|
|
@@ -5114,8 +5119,8 @@ function Tu(n, t) {
|
|
|
5114
5119
|
};
|
|
5115
5120
|
}
|
|
5116
5121
|
function uh(n) {
|
|
5117
|
-
var t = n ?
|
|
5118
|
-
return
|
|
5122
|
+
var t = n ? el(Le.arr(n) ? n.map(Su) : Su(n)) : [];
|
|
5123
|
+
return $a(t, function(e, i, s) {
|
|
5119
5124
|
return s.indexOf(e) === i;
|
|
5120
5125
|
});
|
|
5121
5126
|
}
|
|
@@ -5136,11 +5141,11 @@ function qb(n, t) {
|
|
|
5136
5141
|
var l = Le.obj(o) && !Le.pth(o) ? o : { value: o };
|
|
5137
5142
|
return Le.und(l.delay) && (l.delay = a ? 0 : t.delay), Le.und(l.endDelay) && (l.endDelay = a === r.length - 1 ? t.endDelay : 0), l;
|
|
5138
5143
|
}).map(function(o) {
|
|
5139
|
-
return
|
|
5144
|
+
return tl(o, e);
|
|
5140
5145
|
});
|
|
5141
5146
|
}
|
|
5142
5147
|
function Kb(n) {
|
|
5143
|
-
for (var t =
|
|
5148
|
+
for (var t = $a(el(n.map(function(r) {
|
|
5144
5149
|
return Object.keys(r);
|
|
5145
5150
|
})), function(r) {
|
|
5146
5151
|
return Le.key(r);
|
|
@@ -5160,7 +5165,7 @@ function Kb(n) {
|
|
|
5160
5165
|
}
|
|
5161
5166
|
function $b(n, t) {
|
|
5162
5167
|
var e = [], i = t.keyframes;
|
|
5163
|
-
i && (t =
|
|
5168
|
+
i && (t = tl(Kb(i), t));
|
|
5164
5169
|
for (var s in t)
|
|
5165
5170
|
Le.key(s) && e.push({
|
|
5166
5171
|
name: s,
|
|
@@ -5171,9 +5176,9 @@ function $b(n, t) {
|
|
|
5171
5176
|
function e1(n, t) {
|
|
5172
5177
|
var e = {};
|
|
5173
5178
|
for (var i in n) {
|
|
5174
|
-
var s =
|
|
5179
|
+
var s = fc(n[i], t);
|
|
5175
5180
|
Le.arr(s) && (s = s.map(function(r) {
|
|
5176
|
-
return
|
|
5181
|
+
return fc(r, t);
|
|
5177
5182
|
}), s.length === 1 && (s = s[0])), e[i] = s;
|
|
5178
5183
|
}
|
|
5179
5184
|
return e.duration = parseFloat(e.duration), e.delay = parseFloat(e.delay), e;
|
|
@@ -5208,7 +5213,7 @@ function lg(n, t) {
|
|
|
5208
5213
|
var e = og(n);
|
|
5209
5214
|
e.forEach(function(i) {
|
|
5210
5215
|
for (var s in t) {
|
|
5211
|
-
var r =
|
|
5216
|
+
var r = fc(t[s], i), o = i.target, a = un(r), l = lh(o, s, a, i), c = a || un(l), h = ch(ig(r, c), l), u = ah(o, s);
|
|
5212
5217
|
ag[u](o, s, h, i.transforms, !0);
|
|
5213
5218
|
}
|
|
5214
5219
|
});
|
|
@@ -5229,7 +5234,7 @@ function i1(n, t) {
|
|
|
5229
5234
|
}
|
|
5230
5235
|
}
|
|
5231
5236
|
function n1(n, t) {
|
|
5232
|
-
return
|
|
5237
|
+
return $a(el(n.map(function(e) {
|
|
5233
5238
|
return t.map(function(i) {
|
|
5234
5239
|
return i1(e, i);
|
|
5235
5240
|
});
|
|
@@ -5251,8 +5256,8 @@ function cg(n, t) {
|
|
|
5251
5256
|
}
|
|
5252
5257
|
var Lu = 0;
|
|
5253
5258
|
function s1(n) {
|
|
5254
|
-
var t =
|
|
5255
|
-
return Lu++,
|
|
5259
|
+
var t = dc(Zm, n), e = dc(ih, n), i = $b(e, n), s = og(n.targets), r = n1(s, i), o = cg(r, e), a = Lu;
|
|
5260
|
+
return Lu++, tl(t, {
|
|
5256
5261
|
id: a,
|
|
5257
5262
|
children: [],
|
|
5258
5263
|
animatables: s,
|
|
@@ -5323,7 +5328,7 @@ function lt(n) {
|
|
|
5323
5328
|
function g(C) {
|
|
5324
5329
|
for (var M = 0, E = l.animations, T = E.length; M < T; ) {
|
|
5325
5330
|
var S = E[M], _ = S.animatable, H = S.tweens, Z = H.length - 1, A = H[Z];
|
|
5326
|
-
Z && (A =
|
|
5331
|
+
Z && (A = $a(H, function(Re) {
|
|
5327
5332
|
return C < Re.end;
|
|
5328
5333
|
})[0] || A);
|
|
5329
5334
|
for (var I = Ni(C - A.start - A.delay, 0, A.duration) / A.duration, w = isNaN(I) ? 1 : A.easing(I), x = A.to.strings, k = A.round, L = [], R = A.to.numbers.length, V = void 0, J = 0; J < R; J++) {
|
|
@@ -5433,7 +5438,7 @@ function a1(n) {
|
|
|
5433
5438
|
}
|
|
5434
5439
|
for (var a = 0; a < r.length; a++)
|
|
5435
5440
|
o(r[a]);
|
|
5436
|
-
var l =
|
|
5441
|
+
var l = tl(e, dc(ih, n));
|
|
5437
5442
|
l.targets = l.targets || n.targets;
|
|
5438
5443
|
var c = t.duration;
|
|
5439
5444
|
l.autoplay = !1, l.direction = t.direction, l.timelineOffset = Le.und(i) ? c : ch(i, c), o(t), t.seek(l.timelineOffset);
|
|
@@ -5489,7 +5494,7 @@ function ju(n) {
|
|
|
5489
5494
|
i && (e instanceof HTMLElement && (e.style.opacity = i.opacity === void 0 ? "" : i.opacity, e.style.display = i.visible.display, e.style.visibility = i.visible.visibility), e.isObject3D && (e.visible = i.visible, e.material && (e.material instanceof y.ShaderMaterial ? (e.material.uniforms.opacity && (e.material.uniforms.opacity.value = i.opacity), e.material.transparent = i.transparent) : (e.material.opacity = i.opacity, e.material.transparent = i.transparent))), Ii.delete(e));
|
|
5490
5495
|
});
|
|
5491
5496
|
}
|
|
5492
|
-
function
|
|
5497
|
+
function il(n, t) {
|
|
5493
5498
|
var a;
|
|
5494
5499
|
const e = (a = t == null ? void 0 : t.traverseTHREEObject) != null ? a : !0;
|
|
5495
5500
|
let i = pn(n);
|
|
@@ -5533,7 +5538,7 @@ function tl(n, t) {
|
|
|
5533
5538
|
}), r;
|
|
5534
5539
|
}
|
|
5535
5540
|
function dg(n, t) {
|
|
5536
|
-
return
|
|
5541
|
+
return il(n, B({
|
|
5537
5542
|
update: (e) => {
|
|
5538
5543
|
var i;
|
|
5539
5544
|
e.animatables.forEach((s) => {
|
|
@@ -5546,13 +5551,13 @@ function dg(n, t) {
|
|
|
5546
5551
|
}
|
|
5547
5552
|
}, t));
|
|
5548
5553
|
}
|
|
5549
|
-
const
|
|
5550
|
-
function
|
|
5551
|
-
return (n %
|
|
5554
|
+
const Sl = Math.PI * 2;
|
|
5555
|
+
function pc(n) {
|
|
5556
|
+
return (n % Sl + Sl) % Sl;
|
|
5552
5557
|
}
|
|
5553
5558
|
function To(n) {
|
|
5554
5559
|
return {
|
|
5555
|
-
longitude:
|
|
5560
|
+
longitude: pc(-Math.atan2(n.x, -n.z)),
|
|
5556
5561
|
latitude: -Math.asin(n.y / 1)
|
|
5557
5562
|
};
|
|
5558
5563
|
}
|
|
@@ -5564,7 +5569,7 @@ function c1(n, t, e) {
|
|
|
5564
5569
|
const i = Xm(t);
|
|
5565
5570
|
if (!i)
|
|
5566
5571
|
return;
|
|
5567
|
-
const s = new
|
|
5572
|
+
const s = new Za(n), r = (C = e == null ? void 0 : e.scale) != null ? C : 1.4, o = i.center, a = n.camera.position.clone().sub(o).setY(0).normalize(), l = n.state.mode === "Mapview" ? n.state.fov : 60, h = Math.max(1.5, i.radius * r), u = h * (1 / Math.tan(y.MathUtils.degToRad(l / 2)));
|
|
5568
5573
|
let f = 0;
|
|
5569
5574
|
const p = [], g = (T) => {
|
|
5570
5575
|
const S = y.MathUtils.degToRad(T);
|
|
@@ -5603,7 +5608,7 @@ function fg(n, t, e) {
|
|
|
5603
5608
|
var v, m;
|
|
5604
5609
|
if (!t)
|
|
5605
5610
|
return;
|
|
5606
|
-
const i = (v = e == null ? void 0 : e.distance) != null ? v : 3, s = new
|
|
5611
|
+
const i = (v = e == null ? void 0 : e.distance) != null ? v : 3, s = new Za(n), r = n.camera.position.clone().sub(t).setY(0).normalize(), o = n.state.mode === "Mapview" ? n.state.fov : 60, a = i, l = a * Math.cos(y.MathUtils.degToRad(o / 2)), c = a * Math.sin(y.MathUtils.degToRad(o / 2));
|
|
5607
5612
|
let h = 0;
|
|
5608
5613
|
const u = [], f = (b) => {
|
|
5609
5614
|
const C = y.MathUtils.degToRad(b);
|
|
@@ -5677,7 +5682,7 @@ class vo {
|
|
|
5677
5682
|
return;
|
|
5678
5683
|
const i = e[0];
|
|
5679
5684
|
if (i.raycaster) {
|
|
5680
|
-
const r = new
|
|
5685
|
+
const r = new hc();
|
|
5681
5686
|
r.ray = i.raycaster.ray, r.near = i.raycaster.near, r.far = i.raycaster.far, r.camera = i.raycaster.camera, r.layers = i.raycaster.layers, r.params = i.raycaster.params, i.raycaster = r;
|
|
5682
5687
|
}
|
|
5683
5688
|
if (i) {
|
|
@@ -5767,7 +5772,7 @@ class vo {
|
|
|
5767
5772
|
let a = !1, l = [];
|
|
5768
5773
|
const c = [], h = () => {
|
|
5769
5774
|
const b = o.slice(1);
|
|
5770
|
-
return b[0] ? this.notify(
|
|
5775
|
+
return b[0] ? this.notify(he(B({}, t), { object: b[0].object, intersects: b })) : !1;
|
|
5771
5776
|
};
|
|
5772
5777
|
let u = i;
|
|
5773
5778
|
for (c.push(u); u.parent; )
|
|
@@ -5881,7 +5886,7 @@ class vo {
|
|
|
5881
5886
|
const e = this.five.getElement();
|
|
5882
5887
|
if (!e)
|
|
5883
5888
|
return;
|
|
5884
|
-
const i = mg(t, e), s = new
|
|
5889
|
+
const i = mg(t, e), s = new hc();
|
|
5885
5890
|
return s.setFromCamera(i, this.five.camera), s;
|
|
5886
5891
|
}
|
|
5887
5892
|
}
|
|
@@ -5894,7 +5899,7 @@ function gg(n) {
|
|
|
5894
5899
|
function dh(n, t) {
|
|
5895
5900
|
return gg(t) ? t : `${n}${t}`;
|
|
5896
5901
|
}
|
|
5897
|
-
class cr extends
|
|
5902
|
+
class cr extends Xa {
|
|
5898
5903
|
constructor() {
|
|
5899
5904
|
super(...arguments);
|
|
5900
5905
|
d(this, "disposeMethods", []);
|
|
@@ -5947,10 +5952,10 @@ function f1() {
|
|
|
5947
5952
|
});
|
|
5948
5953
|
});
|
|
5949
5954
|
}
|
|
5950
|
-
function
|
|
5955
|
+
function ka(n) {
|
|
5951
5956
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
5952
5957
|
}
|
|
5953
|
-
function
|
|
5958
|
+
function nl(n, t) {
|
|
5954
5959
|
return n === t ? !0 : typeof n != typeof t ? !1 : !!(Number.isNaN(n) && Number.isNaN(t));
|
|
5955
5960
|
}
|
|
5956
5961
|
function p1(n, t) {
|
|
@@ -5959,7 +5964,7 @@ function p1(n, t) {
|
|
|
5959
5964
|
return !1;
|
|
5960
5965
|
for (let s = 0, r = e.length; s < r; s++) {
|
|
5961
5966
|
const o = e[s];
|
|
5962
|
-
if (!
|
|
5967
|
+
if (!nl(n[o], t[o]))
|
|
5963
5968
|
return !1;
|
|
5964
5969
|
}
|
|
5965
5970
|
return !0;
|
|
@@ -5968,15 +5973,15 @@ function m1(n, t) {
|
|
|
5968
5973
|
if (n.length !== t.length)
|
|
5969
5974
|
return !1;
|
|
5970
5975
|
for (let e = 0, i = n.length; e < i; e++)
|
|
5971
|
-
if (!
|
|
5976
|
+
if (!nl(n[e], t[e]))
|
|
5972
5977
|
return !1;
|
|
5973
5978
|
return !0;
|
|
5974
5979
|
}
|
|
5975
5980
|
function g1(n, t) {
|
|
5976
|
-
return
|
|
5981
|
+
return nl(n, t) ? !0 : ka(n) && ka(t) ? p1(n, t) : Array.isArray(n) && Array.isArray(t) ? m1(n, t) : !1;
|
|
5977
5982
|
}
|
|
5978
5983
|
function fh(n, t) {
|
|
5979
|
-
return
|
|
5984
|
+
return nl(n, t) ? !0 : ka(n) && ka(t) ? A1(n, t) : Array.isArray(n) && Array.isArray(t) ? v1(n, t) : !1;
|
|
5980
5985
|
}
|
|
5981
5986
|
function v1(n, t) {
|
|
5982
5987
|
if (n.length !== t.length)
|
|
@@ -6210,7 +6215,7 @@ class I1 extends vg {
|
|
|
6210
6215
|
}), super.add(...e), this;
|
|
6211
6216
|
}
|
|
6212
6217
|
}
|
|
6213
|
-
const E1 = 3,
|
|
6218
|
+
const E1 = 3, mc = "CSS3DRenderer", eo = `${mc}@${E1}`, Hs = () => {
|
|
6214
6219
|
console.error(`${eo} is disposed`);
|
|
6215
6220
|
}, yt = {
|
|
6216
6221
|
css3DObjects: [],
|
|
@@ -6333,8 +6338,8 @@ class bo {
|
|
|
6333
6338
|
s && (e ? s.add(i) : s.remove(i));
|
|
6334
6339
|
});
|
|
6335
6340
|
d(this, "createObject", (t, e) => {
|
|
6336
|
-
const i = new Nm(
|
|
6337
|
-
return i.element.classList.add(`${
|
|
6341
|
+
const i = new Nm(he(B({ cornerPoints: t }, e), { style: e.wrapperStyle }));
|
|
6342
|
+
return i.element.classList.add(`${mc}__container`), i.element.id = `${mc}__container--${i.uuid}`, i;
|
|
6338
6343
|
});
|
|
6339
6344
|
t && this.setScene(t);
|
|
6340
6345
|
}
|
|
@@ -6486,14 +6491,14 @@ Mi.style.height = "100%";
|
|
|
6486
6491
|
Mi.style.pointerEvents = "none";
|
|
6487
6492
|
function ph(n) {
|
|
6488
6493
|
var i, s, r, o, a;
|
|
6489
|
-
const t = (a = (s =
|
|
6494
|
+
const t = (a = (s = Tl(n.getElement())) != null ? s : Tl((i = n.getElement()) == null ? void 0 : i.parentElement)) != null ? a : Tl((o = (r = n.getElement()) == null ? void 0 : r.parentElement) == null ? void 0 : o.parentElement), e = t == null ? void 0 : t.parentElement;
|
|
6490
6495
|
if (e)
|
|
6491
6496
|
return e.contains(Mi) || t.parentElement.insertBefore(Mi, t), Mi;
|
|
6492
6497
|
console.error(
|
|
6493
6498
|
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
|
|
6494
6499
|
);
|
|
6495
6500
|
}
|
|
6496
|
-
function
|
|
6501
|
+
function Tl(n) {
|
|
6497
6502
|
var a;
|
|
6498
6503
|
if (!n)
|
|
6499
6504
|
return;
|
|
@@ -6565,7 +6570,7 @@ let k1 = class extends bo {
|
|
|
6565
6570
|
return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
|
|
6566
6571
|
})(), { autoRender: r } = s;
|
|
6567
6572
|
s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
|
|
6568
|
-
const o = this.create3DElement(this.five.camera, e,
|
|
6573
|
+
const o = this.create3DElement(this.five.camera, e, he(B({}, s), { autoRender: !1 }));
|
|
6569
6574
|
if (!o)
|
|
6570
6575
|
return;
|
|
6571
6576
|
const a = o.dispose;
|
|
@@ -6579,7 +6584,7 @@ let k1 = class extends bo {
|
|
|
6579
6584
|
}, c = () => {
|
|
6580
6585
|
o.css3DObject.mode === "front" && l(), o.css3DObject.mode === "behind" && ai(this.five).then(() => l());
|
|
6581
6586
|
};
|
|
6582
|
-
return r && c(),
|
|
6587
|
+
return r && c(), he(B({}, o), { render: r ? void 0 : c });
|
|
6583
6588
|
});
|
|
6584
6589
|
this.five = e;
|
|
6585
6590
|
}
|
|
@@ -6628,7 +6633,7 @@ class bg extends yA {
|
|
|
6628
6633
|
};
|
|
6629
6634
|
}
|
|
6630
6635
|
}
|
|
6631
|
-
function
|
|
6636
|
+
function Ll(n, t, e = new ue(1, 1, 1), i = !1) {
|
|
6632
6637
|
const s = new bg(n, t);
|
|
6633
6638
|
return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
|
|
6634
6639
|
}
|
|
@@ -6649,20 +6654,20 @@ const I5 = (n) => {
|
|
|
6649
6654
|
const s = (h, u = 2, f = 0.1) => {
|
|
6650
6655
|
const p = u / 2, v = c(h, f), m = new jn();
|
|
6651
6656
|
m.add(
|
|
6652
|
-
|
|
6653
|
-
new
|
|
6654
|
-
new
|
|
6655
|
-
new
|
|
6657
|
+
Ll(
|
|
6658
|
+
new ue(v.x + p, v.y, v.z),
|
|
6659
|
+
new ue(v.x - p, v.y, v.z),
|
|
6660
|
+
new ue(1, 0, 0)
|
|
6656
6661
|
),
|
|
6657
|
-
|
|
6658
|
-
new
|
|
6659
|
-
new
|
|
6660
|
-
new
|
|
6662
|
+
Ll(
|
|
6663
|
+
new ue(v.x, v.y + p, v.z),
|
|
6664
|
+
new ue(v.x, v.y - p, v.z),
|
|
6665
|
+
new ue(0, 1, 0)
|
|
6661
6666
|
),
|
|
6662
|
-
|
|
6663
|
-
new
|
|
6664
|
-
new
|
|
6665
|
-
new
|
|
6667
|
+
Ll(
|
|
6668
|
+
new ue(v.x, v.y, v.z + p),
|
|
6669
|
+
new ue(v.x, v.y, v.z - p),
|
|
6670
|
+
new ue(0, 0, 1)
|
|
6666
6671
|
)
|
|
6667
6672
|
), n.scene.add(m), n.needsRender = !0;
|
|
6668
6673
|
const b = () => {
|
|
@@ -6887,7 +6892,7 @@ function Eg(n, t, { bubbles: e = !1, cancelable: i = !1 } = {}) {
|
|
|
6887
6892
|
const s = document.createEvent("CustomEvent");
|
|
6888
6893
|
return s.initCustomEvent(n, e, i, t), s;
|
|
6889
6894
|
}
|
|
6890
|
-
class
|
|
6895
|
+
class Da {
|
|
6891
6896
|
constructor(t = !1) {
|
|
6892
6897
|
this.is_svg = !1, this.is_svg = t, this.e = this.n = null;
|
|
6893
6898
|
}
|
|
@@ -6911,8 +6916,8 @@ class ka {
|
|
|
6911
6916
|
this.n.forEach(U);
|
|
6912
6917
|
}
|
|
6913
6918
|
}
|
|
6914
|
-
const
|
|
6915
|
-
let
|
|
6919
|
+
const Sa = /* @__PURE__ */ new Map();
|
|
6920
|
+
let Ta = 0;
|
|
6916
6921
|
function j1(n) {
|
|
6917
6922
|
let t = 5381, e = n.length;
|
|
6918
6923
|
for (; e--; )
|
|
@@ -6921,9 +6926,9 @@ function j1(n) {
|
|
|
6921
6926
|
}
|
|
6922
6927
|
function R1(n, t) {
|
|
6923
6928
|
const e = { stylesheet: T1(t), rules: {} };
|
|
6924
|
-
return
|
|
6929
|
+
return Sa.set(n, e), e;
|
|
6925
6930
|
}
|
|
6926
|
-
function
|
|
6931
|
+
function La(n, t, e, i, s, r, o, a = 0) {
|
|
6927
6932
|
const l = 16.666 / i;
|
|
6928
6933
|
let c = `{
|
|
6929
6934
|
`;
|
|
@@ -6933,24 +6938,24 @@ function Ta(n, t, e, i, s, r, o, a = 0) {
|
|
|
6933
6938
|
`;
|
|
6934
6939
|
}
|
|
6935
6940
|
const h = c + `100% {${o(e, 1 - e)}}
|
|
6936
|
-
}`, u = `__svelte_${j1(h)}_${a}`, f = bh(n), { stylesheet: p, rules: g } =
|
|
6941
|
+
}`, u = `__svelte_${j1(h)}_${a}`, f = bh(n), { stylesheet: p, rules: g } = Sa.get(f) || R1(f, n);
|
|
6937
6942
|
g[u] || (g[u] = !0, p.insertRule(`@keyframes ${u} ${h}`, p.cssRules.length));
|
|
6938
6943
|
const v = n.style.animation || "";
|
|
6939
|
-
return n.style.animation = `${v ? `${v}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`,
|
|
6944
|
+
return n.style.animation = `${v ? `${v}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`, Ta += 1, u;
|
|
6940
6945
|
}
|
|
6941
|
-
function
|
|
6946
|
+
function Oa(n, t) {
|
|
6942
6947
|
const e = (n.style.animation || "").split(", "), i = e.filter(
|
|
6943
6948
|
t ? (r) => r.indexOf(t) < 0 : (r) => r.indexOf("__svelte") === -1
|
|
6944
6949
|
// remove all Svelte animations
|
|
6945
6950
|
), s = e.length - i.length;
|
|
6946
|
-
s && (n.style.animation = i.join(", "),
|
|
6951
|
+
s && (n.style.animation = i.join(", "), Ta -= s, Ta || B1());
|
|
6947
6952
|
}
|
|
6948
6953
|
function B1() {
|
|
6949
6954
|
vh(() => {
|
|
6950
|
-
|
|
6955
|
+
Ta || (Sa.forEach((n) => {
|
|
6951
6956
|
const { ownerNode: t } = n.stylesheet;
|
|
6952
6957
|
t && U(t);
|
|
6953
|
-
}),
|
|
6958
|
+
}), Sa.clear());
|
|
6954
6959
|
});
|
|
6955
6960
|
}
|
|
6956
6961
|
let yo;
|
|
@@ -6974,7 +6979,7 @@ function xg(n) {
|
|
|
6974
6979
|
function vi(n) {
|
|
6975
6980
|
Gn().$$.on_destroy.push(n);
|
|
6976
6981
|
}
|
|
6977
|
-
function
|
|
6982
|
+
function sl() {
|
|
6978
6983
|
const n = Gn();
|
|
6979
6984
|
return (t, e, { cancelable: i = !1 } = {}) => {
|
|
6980
6985
|
const s = n.$$.callbacks[t];
|
|
@@ -6987,7 +6992,7 @@ function nl() {
|
|
|
6987
6992
|
return !0;
|
|
6988
6993
|
};
|
|
6989
6994
|
}
|
|
6990
|
-
function
|
|
6995
|
+
function gc(n, t) {
|
|
6991
6996
|
return Gn().$$.context.set(n, t), t;
|
|
6992
6997
|
}
|
|
6993
6998
|
function _n(n) {
|
|
@@ -6999,10 +7004,10 @@ function Sr(n, t) {
|
|
|
6999
7004
|
}
|
|
7000
7005
|
const Us = [], it = [];
|
|
7001
7006
|
let sr = [];
|
|
7002
|
-
const
|
|
7003
|
-
let
|
|
7007
|
+
const vc = [], kg = /* @__PURE__ */ Promise.resolve();
|
|
7008
|
+
let Ac = !1;
|
|
7004
7009
|
function Dg() {
|
|
7005
|
-
|
|
7010
|
+
Ac || (Ac = !0, kg.then(Ch));
|
|
7006
7011
|
}
|
|
7007
7012
|
function Fu() {
|
|
7008
7013
|
return Dg(), kg;
|
|
@@ -7011,9 +7016,9 @@ function gt(n) {
|
|
|
7011
7016
|
sr.push(n);
|
|
7012
7017
|
}
|
|
7013
7018
|
function wh(n) {
|
|
7014
|
-
|
|
7019
|
+
vc.push(n);
|
|
7015
7020
|
}
|
|
7016
|
-
const
|
|
7021
|
+
const Ol = /* @__PURE__ */ new Set();
|
|
7017
7022
|
let Ns = 0;
|
|
7018
7023
|
function Ch() {
|
|
7019
7024
|
if (Ns !== 0)
|
|
@@ -7032,13 +7037,13 @@ function Ch() {
|
|
|
7032
7037
|
it.pop()();
|
|
7033
7038
|
for (let t = 0; t < sr.length; t += 1) {
|
|
7034
7039
|
const e = sr[t];
|
|
7035
|
-
|
|
7040
|
+
Ol.has(e) || (Ol.add(e), e());
|
|
7036
7041
|
}
|
|
7037
7042
|
sr.length = 0;
|
|
7038
7043
|
} while (Us.length);
|
|
7039
|
-
for (;
|
|
7040
|
-
|
|
7041
|
-
|
|
7044
|
+
for (; vc.length; )
|
|
7045
|
+
vc.pop()();
|
|
7046
|
+
Ac = !1, Ol.clear(), cn(n);
|
|
7042
7047
|
}
|
|
7043
7048
|
function V1(n) {
|
|
7044
7049
|
if (n.fragment !== null) {
|
|
@@ -7091,11 +7096,11 @@ function Wn(n, t, e) {
|
|
|
7091
7096
|
const i = { direction: "in" };
|
|
7092
7097
|
let s = t(n, e, i), r = !1, o, a, l = 0;
|
|
7093
7098
|
function c() {
|
|
7094
|
-
o &&
|
|
7099
|
+
o && Oa(n, o);
|
|
7095
7100
|
}
|
|
7096
7101
|
function h() {
|
|
7097
7102
|
const { delay: f = 0, duration: p = 300, easing: g = fn, tick: v = oe, css: m } = s || Ih;
|
|
7098
|
-
m && (o =
|
|
7103
|
+
m && (o = La(n, 0, 1, p, f, g, m, l++)), v(0, 1);
|
|
7099
7104
|
const b = gh() + f, C = b + p;
|
|
7100
7105
|
a && a.abort(), r = !0, gt(() => hs(n, !0, "start")), a = Ah((M) => {
|
|
7101
7106
|
if (r) {
|
|
@@ -7112,7 +7117,7 @@ function Wn(n, t, e) {
|
|
|
7112
7117
|
let u = !1;
|
|
7113
7118
|
return {
|
|
7114
7119
|
start() {
|
|
7115
|
-
u || (u = !0,
|
|
7120
|
+
u || (u = !0, Oa(n), Ji(s) ? (s = s(i), Ph().then(h)) : h());
|
|
7116
7121
|
},
|
|
7117
7122
|
invalidate() {
|
|
7118
7123
|
u = !1;
|
|
@@ -7129,7 +7134,7 @@ function Tr(n, t, e) {
|
|
|
7129
7134
|
a.r += 1;
|
|
7130
7135
|
function l() {
|
|
7131
7136
|
const { delay: c = 0, duration: h = 300, easing: u = fn, tick: f = oe, css: p } = s || Ih;
|
|
7132
|
-
p && (o =
|
|
7137
|
+
p && (o = La(n, 1, 0, h, c, u, p));
|
|
7133
7138
|
const g = gh() + c, v = g + h;
|
|
7134
7139
|
gt(() => hs(n, !1, "start")), Ah((m) => {
|
|
7135
7140
|
if (r) {
|
|
@@ -7147,7 +7152,7 @@ function Tr(n, t, e) {
|
|
|
7147
7152
|
s = s(i), l();
|
|
7148
7153
|
}) : l(), {
|
|
7149
7154
|
end(c) {
|
|
7150
|
-
c && s.tick && s.tick(1, 0), r && (o &&
|
|
7155
|
+
c && s.tick && s.tick(1, 0), r && (o && Oa(n, o), r = !1);
|
|
7151
7156
|
}
|
|
7152
7157
|
};
|
|
7153
7158
|
}
|
|
@@ -7155,7 +7160,7 @@ function Xi(n, t, e, i) {
|
|
|
7155
7160
|
const s = { direction: "both" };
|
|
7156
7161
|
let r = t(n, e, s), o = i ? 0 : 1, a = null, l = null, c = null;
|
|
7157
7162
|
function h() {
|
|
7158
|
-
c &&
|
|
7163
|
+
c && Oa(n, c);
|
|
7159
7164
|
}
|
|
7160
7165
|
function u(p, g) {
|
|
7161
7166
|
const v = p.b - o;
|
|
@@ -7174,8 +7179,8 @@ function Xi(n, t, e, i) {
|
|
|
7174
7179
|
start: gh() + g,
|
|
7175
7180
|
b: p
|
|
7176
7181
|
};
|
|
7177
|
-
p || (M.group = Wi, Wi.r += 1), a || l ? l = M : (C && (h(), c =
|
|
7178
|
-
if (l && E > l.start && (a = u(l, v), l = null, hs(n, a.b, "start"), C && (h(), c =
|
|
7182
|
+
p || (M.group = Wi, Wi.r += 1), a || l ? l = M : (C && (h(), c = La(n, o, p, v, g, m, C)), p && b(0, 1), a = u(M, v), gt(() => hs(n, p, "start")), Ah((E) => {
|
|
7183
|
+
if (l && E > l.start && (a = u(l, v), l = null, hs(n, a.b, "start"), C && (h(), c = La(n, o, a.b, a.duration, 0, m, r.css))), a) {
|
|
7179
7184
|
if (E >= a.end)
|
|
7180
7185
|
b(o = a.b, 1 - o), hs(n, a.b, "end"), l || (a.b ? h() : --a.group.r || Ct(a.group.c)), a = null;
|
|
7181
7186
|
else if (E >= a.start) {
|
|
@@ -7197,7 +7202,7 @@ function Xi(n, t, e, i) {
|
|
|
7197
7202
|
}
|
|
7198
7203
|
};
|
|
7199
7204
|
}
|
|
7200
|
-
function
|
|
7205
|
+
function za(n, t) {
|
|
7201
7206
|
const e = t.token = {};
|
|
7202
7207
|
function i(s, r, o, a) {
|
|
7203
7208
|
if (t.token !== e)
|
|
@@ -7508,10 +7513,10 @@ var Lg = function() {
|
|
|
7508
7513
|
}, t;
|
|
7509
7514
|
}()
|
|
7510
7515
|
);
|
|
7511
|
-
}(),
|
|
7516
|
+
}(), bc = typeof window != "undefined" && typeof document != "undefined" && window.document === document, ja = function() {
|
|
7512
7517
|
return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
|
|
7513
7518
|
}(), Y1 = function() {
|
|
7514
|
-
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(
|
|
7519
|
+
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ja) : function(n) {
|
|
7515
7520
|
return setTimeout(function() {
|
|
7516
7521
|
return n(Date.now());
|
|
7517
7522
|
}, 1e3 / 60);
|
|
@@ -7559,14 +7564,14 @@ var J1 = 20, q1 = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
7559
7564
|
return e.broadcastActive();
|
|
7560
7565
|
}), t.length > 0;
|
|
7561
7566
|
}, n.prototype.connect_ = function() {
|
|
7562
|
-
!
|
|
7567
|
+
!bc || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), K1 ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
7563
7568
|
attributes: !0,
|
|
7564
7569
|
childList: !0,
|
|
7565
7570
|
characterData: !0,
|
|
7566
7571
|
subtree: !0
|
|
7567
7572
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
7568
7573
|
}, n.prototype.disconnect_ = function() {
|
|
7569
|
-
!
|
|
7574
|
+
!bc || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
7570
7575
|
}, n.prototype.onTransitionEnd_ = function(t) {
|
|
7571
7576
|
var e = t.propertyName, i = e === void 0 ? "" : e, s = q1.some(function(r) {
|
|
7572
7577
|
return !!~i.indexOf(r);
|
|
@@ -7589,9 +7594,9 @@ var J1 = 20, q1 = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
7589
7594
|
return n;
|
|
7590
7595
|
}, dr = function(n) {
|
|
7591
7596
|
var t = n && n.ownerDocument && n.ownerDocument.defaultView;
|
|
7592
|
-
return t ||
|
|
7593
|
-
}, zg =
|
|
7594
|
-
function
|
|
7597
|
+
return t || ja;
|
|
7598
|
+
}, zg = rl(0, 0, 0, 0);
|
|
7599
|
+
function Ra(n) {
|
|
7595
7600
|
return parseFloat(n) || 0;
|
|
7596
7601
|
}
|
|
7597
7602
|
function Hu(n) {
|
|
@@ -7599,30 +7604,30 @@ function Hu(n) {
|
|
|
7599
7604
|
t[e - 1] = arguments[e];
|
|
7600
7605
|
return t.reduce(function(i, s) {
|
|
7601
7606
|
var r = n["border-" + s + "-width"];
|
|
7602
|
-
return i +
|
|
7607
|
+
return i + Ra(r);
|
|
7603
7608
|
}, 0);
|
|
7604
7609
|
}
|
|
7605
7610
|
function ey(n) {
|
|
7606
7611
|
for (var t = ["top", "right", "bottom", "left"], e = {}, i = 0, s = t; i < s.length; i++) {
|
|
7607
7612
|
var r = s[i], o = n["padding-" + r];
|
|
7608
|
-
e[r] =
|
|
7613
|
+
e[r] = Ra(o);
|
|
7609
7614
|
}
|
|
7610
7615
|
return e;
|
|
7611
7616
|
}
|
|
7612
7617
|
function ty(n) {
|
|
7613
7618
|
var t = n.getBBox();
|
|
7614
|
-
return
|
|
7619
|
+
return rl(0, 0, t.width, t.height);
|
|
7615
7620
|
}
|
|
7616
7621
|
function iy(n) {
|
|
7617
7622
|
var t = n.clientWidth, e = n.clientHeight;
|
|
7618
7623
|
if (!t && !e)
|
|
7619
7624
|
return zg;
|
|
7620
|
-
var i = dr(n).getComputedStyle(n), s = ey(i), r = s.left + s.right, o = s.top + s.bottom, a =
|
|
7625
|
+
var i = dr(n).getComputedStyle(n), s = ey(i), r = s.left + s.right, o = s.top + s.bottom, a = Ra(i.width), l = Ra(i.height);
|
|
7621
7626
|
if (i.boxSizing === "border-box" && (Math.round(a + r) !== t && (a -= Hu(i, "left", "right") + r), Math.round(l + o) !== e && (l -= Hu(i, "top", "bottom") + o)), !sy(n)) {
|
|
7622
7627
|
var c = Math.round(a + r) - t, h = Math.round(l + o) - e;
|
|
7623
7628
|
Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
|
|
7624
7629
|
}
|
|
7625
|
-
return
|
|
7630
|
+
return rl(s.left, s.top, a, l);
|
|
7626
7631
|
}
|
|
7627
7632
|
var ny = function() {
|
|
7628
7633
|
return typeof SVGGraphicsElement != "undefined" ? function(n) {
|
|
@@ -7635,7 +7640,7 @@ function sy(n) {
|
|
|
7635
7640
|
return n === dr(n).document.documentElement;
|
|
7636
7641
|
}
|
|
7637
7642
|
function ry(n) {
|
|
7638
|
-
return
|
|
7643
|
+
return bc ? ny(n) ? ty(n) : iy(n) : zg;
|
|
7639
7644
|
}
|
|
7640
7645
|
function oy(n) {
|
|
7641
7646
|
var t = n.x, e = n.y, i = n.width, s = n.height, r = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, o = Object.create(r.prototype);
|
|
@@ -7650,14 +7655,14 @@ function oy(n) {
|
|
|
7650
7655
|
left: t
|
|
7651
7656
|
}), o;
|
|
7652
7657
|
}
|
|
7653
|
-
function
|
|
7658
|
+
function rl(n, t, e, i) {
|
|
7654
7659
|
return { x: n, y: t, width: e, height: i };
|
|
7655
7660
|
}
|
|
7656
7661
|
var ay = (
|
|
7657
7662
|
/** @class */
|
|
7658
7663
|
function() {
|
|
7659
7664
|
function n(t) {
|
|
7660
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
7665
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = rl(0, 0, 0, 0), this.target = t;
|
|
7661
7666
|
}
|
|
7662
7667
|
return n.prototype.isActive = function() {
|
|
7663
7668
|
var t = ry(this.target);
|
|
@@ -7747,7 +7752,7 @@ var ay = (
|
|
|
7747
7752
|
};
|
|
7748
7753
|
});
|
|
7749
7754
|
var hy = function() {
|
|
7750
|
-
return typeof
|
|
7755
|
+
return typeof ja.ResizeObserver != "undefined" ? ja.ResizeObserver : Rg;
|
|
7751
7756
|
}();
|
|
7752
7757
|
function Un(n) {
|
|
7753
7758
|
new hy((e, i) => {
|
|
@@ -7879,13 +7884,13 @@ function py(n, t, e) {
|
|
|
7879
7884
|
function c(b) {
|
|
7880
7885
|
if (!(l === null || b.floorIndex === l))
|
|
7881
7886
|
return !1;
|
|
7882
|
-
const M = new Ir(), E = s.camera.position.clone(), T = new
|
|
7887
|
+
const M = new Ir(), E = s.camera.position.clone(), T = new ue(b.position.x, b.position.y, b.position.z), S = T.distanceTo(E);
|
|
7883
7888
|
M.set(E.clone(), T.clone().sub(E).normalize());
|
|
7884
7889
|
const [_] = s.model.intersectRaycaster(M);
|
|
7885
7890
|
return !(_ && _.distance + 1 < S);
|
|
7886
7891
|
}
|
|
7887
7892
|
function h(b, C) {
|
|
7888
|
-
const E = new
|
|
7893
|
+
const E = new ue(b.position.x, b.position.y, b.position.z).clone().project(s.camera), T = Math.ceil((E.x + 1) / 2 * C.x), S = Math.ceil((-E.y + 1) / 2 * C.y);
|
|
7889
7894
|
return `translate(${T}px, ${S}px)`;
|
|
7890
7895
|
}
|
|
7891
7896
|
function u(b) {
|
|
@@ -7894,12 +7899,12 @@ function py(n, t, e) {
|
|
|
7894
7899
|
const _ = M.get(S.id);
|
|
7895
7900
|
if (_)
|
|
7896
7901
|
return _;
|
|
7897
|
-
const { x: H, y: Z, z: A } = S.position, I = new
|
|
7902
|
+
const { x: H, y: Z, z: A } = S.position, I = new ue(H, Z, A).clone().distanceTo(s.camera.position);
|
|
7898
7903
|
return M.set(S.id, I), I;
|
|
7899
7904
|
}
|
|
7900
7905
|
return r.map((S) => {
|
|
7901
7906
|
const _ = c(S), H = _ ? h(S, C) : S.transform, Z = E(S), I = r.filter((w) => w.visible && E(w) < Z).length * 10;
|
|
7902
|
-
return
|
|
7907
|
+
return he(B({}, S), { visible: _, transform: H, zIndex: I });
|
|
7903
7908
|
});
|
|
7904
7909
|
}
|
|
7905
7910
|
function f() {
|
|
@@ -8066,7 +8071,7 @@ function Wu(n, { delay: t = 0, duration: e = 400, easing: i = Bg, x: s = 0, y: r
|
|
|
8066
8071
|
opacity: ${l - h * m}`
|
|
8067
8072
|
};
|
|
8068
8073
|
}
|
|
8069
|
-
function
|
|
8074
|
+
function Ba(n, { delay: t = 0, speed: e, duration: i, easing: s = fr } = {}) {
|
|
8070
8075
|
let r = n.getTotalLength();
|
|
8071
8076
|
const o = getComputedStyle(n);
|
|
8072
8077
|
return o.strokeLinecap !== "butt" && (r += parseInt(o.strokeWidth)), i === void 0 ? e === void 0 ? i = 800 : i = r / e : typeof i == "function" && (i = i(r)), {
|
|
@@ -8149,7 +8154,7 @@ function Py(n) {
|
|
|
8149
8154
|
let t, e, i, s;
|
|
8150
8155
|
return {
|
|
8151
8156
|
c() {
|
|
8152
|
-
t = N("div"), e = new
|
|
8157
|
+
t = N("div"), e = new Da(!1), i = le(), s = new Da(!1), e.a = i, s.a = null, D(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
8153
8158
|
},
|
|
8154
8159
|
m(r, o) {
|
|
8155
8160
|
X(r, t, o), e.m(
|
|
@@ -8322,7 +8327,7 @@ function Ly(n) {
|
|
|
8322
8327
|
), i;
|
|
8323
8328
|
return {
|
|
8324
8329
|
c() {
|
|
8325
|
-
t = new
|
|
8330
|
+
t = new Da(!1), i = Be(), t.a = i;
|
|
8326
8331
|
},
|
|
8327
8332
|
m(s, r) {
|
|
8328
8333
|
t.m(e, s, r), X(s, i, r);
|
|
@@ -9364,7 +9369,7 @@ class Zy extends Pe {
|
|
|
9364
9369
|
);
|
|
9365
9370
|
}
|
|
9366
9371
|
}
|
|
9367
|
-
function
|
|
9372
|
+
function ol(n, t = {}) {
|
|
9368
9373
|
let e = "";
|
|
9369
9374
|
const { needZ: i, needA: s } = t;
|
|
9370
9375
|
return (i ? n.slice().concat(n[0]) : n.slice()).forEach((o, a) => {
|
|
@@ -9428,7 +9433,7 @@ function ew(n, t, e) {
|
|
|
9428
9433
|
"path" in r && e(1, s = r.path);
|
|
9429
9434
|
}, n.$$.update = () => {
|
|
9430
9435
|
n.$$.dirty & /*path*/
|
|
9431
|
-
2 && e(0, i =
|
|
9436
|
+
2 && e(0, i = ol(s, { needZ: !0 }));
|
|
9432
9437
|
}, [i, s];
|
|
9433
9438
|
}
|
|
9434
9439
|
class tw extends Pe {
|
|
@@ -9491,15 +9496,15 @@ function iw(n) {
|
|
|
9491
9496
|
}
|
|
9492
9497
|
};
|
|
9493
9498
|
}
|
|
9494
|
-
const
|
|
9499
|
+
const zl = 6;
|
|
9495
9500
|
function nw(n, t, e) {
|
|
9496
9501
|
let i, { path: s } = t;
|
|
9497
|
-
const r =
|
|
9502
|
+
const r = zl * 2, o = `M0 ${zl} h ${r} M${zl} 0 v ${r}`;
|
|
9498
9503
|
return n.$$set = (a) => {
|
|
9499
9504
|
"path" in a && e(3, s = a.path);
|
|
9500
9505
|
}, n.$$.update = () => {
|
|
9501
9506
|
n.$$.dirty & /*path*/
|
|
9502
|
-
8 && e(0, i =
|
|
9507
|
+
8 && e(0, i = ol(s, { needZ: !0 }));
|
|
9503
9508
|
}, [i, r, o, s];
|
|
9504
9509
|
}
|
|
9505
9510
|
class sw extends Pe {
|
|
@@ -9565,7 +9570,7 @@ function ow(n, t, e) {
|
|
|
9565
9570
|
"path" in r && e(1, s = r.path);
|
|
9566
9571
|
}, n.$$.update = () => {
|
|
9567
9572
|
n.$$.dirty & /*path*/
|
|
9568
|
-
2 && e(0, i =
|
|
9573
|
+
2 && e(0, i = ol(s, { needZ: !0 }));
|
|
9569
9574
|
}, [i, s];
|
|
9570
9575
|
}
|
|
9571
9576
|
class aw extends Pe {
|
|
@@ -9768,7 +9773,7 @@ function fw(n, t, e) {
|
|
|
9768
9773
|
"floorIndex" in l && e(3, s = l.floorIndex), "floorplanData" in l && e(4, r = l.floorplanData);
|
|
9769
9774
|
}, n.$$.update = () => {
|
|
9770
9775
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
9771
|
-
24 && e(0, i = r.floorDatas[s].rooms.map((l) =>
|
|
9776
|
+
24 && e(0, i = r.floorDatas[s].rooms.map((l) => he(B({}, l), {
|
|
9772
9777
|
path: l.path.map((c) => _g(c, r.bounding))
|
|
9773
9778
|
})));
|
|
9774
9779
|
}, [i, o, a, s, r];
|
|
@@ -9842,7 +9847,7 @@ function vw(n, t, e) {
|
|
|
9842
9847
|
function u() {
|
|
9843
9848
|
c == null || c.set(void 0);
|
|
9844
9849
|
}
|
|
9845
|
-
const { bounding: f } = a, p =
|
|
9850
|
+
const { bounding: f } = a, p = ol(r.path, {
|
|
9846
9851
|
needZ: !0,
|
|
9847
9852
|
format: (g) => _g(g, f)
|
|
9848
9853
|
});
|
|
@@ -10155,7 +10160,7 @@ class Ew extends Pe {
|
|
|
10155
10160
|
}
|
|
10156
10161
|
}
|
|
10157
10162
|
const Fn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAC2VBMVEUAAACCnP+Dn/+Enf+HqP+Gp/+Fof+Gpf+IrP+Lsf+Dof+Cmv+Lsv+Mtf+Eo/+Bmf+JrP+Hqf+Env+Krv+Fo/+Pu/+Ms/+Qvv+Hqf+RwP+KsP+Fpf+Mtv+Gov+Bnf+Qv/+Nt/+Krv+Ho/+Rwf+Ouv+Emv+Amv+SxP+Sw/+NuP+Mtf/G0f6huP+Ot/+JrP+Jqv+Dnv+crf6Uqv////+QvP+PvP+Ms//J0/3p9/+Ux/+Ouf+Krf+Iqf+Fpv+/zf6WsP+MpP+RqP+Uyf+Jy//V3P6Yuf+Qqf+Rqv/5/f+Sxf+Jy/////+Lx/+Ouf+Nw/+Owv+PwP+Jr/+Jq/+VvP+Vuv/c4v+Fnf+btP+InP+Blf/3+P6Txf+Jzf+Jyf+NxP+Qwf/t8/6Svv+Tvf/O1f7Czv3T2f6cu/+qvP7a4fvo7v77/v/o9//p9//0+v////+Vy//w9//k8/+B1f/v9/+D0/+UyP/u9v+D0v/i8f+F0v/g7/+G0P+KzP+Hz/////+Lx//s8/+Puf/h7P+Mxv/w9f7q8v/q8f2RwP/r8f6JrP/t8v6RvP/l6f7////j6P6VvP/f5/7q8P7a4P/U2f6au/+ZuP+ewf+auP+iu//n6f2Fn//j6P/h4fn9/v/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3Xr5+SQZj0E2ERqXIjPAJYNUbD18FoWEeDbHLPzLyQ4ePjQ5i3x1RCubfmpqkjMMNo6KOJ5uqe+f58C9GoaD29XyVSYS1h4DftKeWDDN4AbACZMZAsExEKghWUNKXWhlPfA2P1qjmUT556a9jmQotWi/VOFael1lR7ep4JfRZy8nhpwtG4wMMB/gdi9/nNH+vhezsmJ+fG5quX12fomHl6J+KFy88uA2RJyJPE4wkL4wIPBfgXxO5HxGN7zNw5W2bNnLZhio+OmaR3LD6tplrLfKeYAwX7/O6Dje/2dpniwuKiwoMHH+bn7723Z8/uHTu2fpg9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";
|
|
10158
|
-
function
|
|
10163
|
+
function al(n) {
|
|
10159
10164
|
return n * 180 / Math.PI;
|
|
10160
10165
|
}
|
|
10161
10166
|
function Mw(n) {
|
|
@@ -10228,7 +10233,7 @@ function xw(n) {
|
|
|
10228
10233
|
}
|
|
10229
10234
|
function kw(n, t, e) {
|
|
10230
10235
|
let { panoIndex: i } = t, { floorplanData: s } = t, { lastPanoramaLongitude: r } = t, { cameraImageUrl: o } = t;
|
|
10231
|
-
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", p = -
|
|
10236
|
+
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", p = -al(r) + 45, g = document.body.clientWidth, v = document.body.clientHeight, b = `${(g < 500 || v < 500 ? 17 : 37) / 16}rem`;
|
|
10232
10237
|
return n.$$set = (C) => {
|
|
10233
10238
|
"panoIndex" in C && e(5, i = C.panoIndex), "floorplanData" in C && e(6, s = C.floorplanData), "lastPanoramaLongitude" in C && e(7, r = C.lastPanoramaLongitude), "cameraImageUrl" in C && e(0, o = C.cameraImageUrl);
|
|
10234
10239
|
}, [
|
|
@@ -10320,7 +10325,7 @@ function Ow(n) {
|
|
|
10320
10325
|
function zw(n, t, e) {
|
|
10321
10326
|
var c;
|
|
10322
10327
|
let { floorplanData: i } = t, { northDesc: s } = t;
|
|
10323
|
-
const r = (c = i.entrance) == null ? void 0 : c.northRad, o = typeof r == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(r ?
|
|
10328
|
+
const r = (c = i.entrance) == null ? void 0 : c.northRad, o = typeof r == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(r ? al(r) : 0) + 90}deg)`;
|
|
10324
10329
|
return n.$$set = (h) => {
|
|
10325
10330
|
"floorplanData" in h && e(3, i = h.floorplanData), "northDesc" in h && e(0, s = h.northDesc);
|
|
10326
10331
|
}, [s, o, l, i];
|
|
@@ -11471,7 +11476,7 @@ let Yn = class {
|
|
|
11471
11476
|
/**
|
|
11472
11477
|
* @realsee/dnalogel 版本号
|
|
11473
11478
|
*/
|
|
11474
|
-
d(this, "VERSION", "3.61.
|
|
11479
|
+
d(this, "VERSION", "3.61.6");
|
|
11475
11480
|
d(this, "NAME");
|
|
11476
11481
|
d(this, "five");
|
|
11477
11482
|
d(this, "workUtil");
|
|
@@ -11481,7 +11486,7 @@ let Yn = class {
|
|
|
11481
11486
|
*/
|
|
11482
11487
|
d(this, "hooks", new wt());
|
|
11483
11488
|
d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
11484
|
-
this.five = t, this.fiveUtil = new
|
|
11489
|
+
this.five = t, this.fiveUtil = new Za(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
|
|
11485
11490
|
}
|
|
11486
11491
|
set workCode(t) {
|
|
11487
11492
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -11838,7 +11843,7 @@ let rC = class extends mn {
|
|
|
11838
11843
|
getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
|
|
11839
11844
|
getRoomDimensionText: (u, f) => (u / 1e3).toFixed(1) + "m × " + (f / 1e3).toFixed(1) + "m",
|
|
11840
11845
|
getRuleDistanceText: (u) => u.toString()
|
|
11841
|
-
}, r = i ? pr(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a =
|
|
11846
|
+
}, r = i ? pr(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a = he(B(B({}, s), r), { missingFloorConfig: o });
|
|
11842
11847
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
|
|
11843
11848
|
}
|
|
11844
11849
|
load(e, i, s = !0) {
|
|
@@ -11890,8 +11895,8 @@ let rC = class extends mn {
|
|
|
11890
11895
|
}
|
|
11891
11896
|
updateState(e, i) {
|
|
11892
11897
|
var a;
|
|
11893
|
-
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ?
|
|
11894
|
-
this.state =
|
|
11898
|
+
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? he(B(B({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
|
|
11899
|
+
this.state = he(B(B({}, this.state), e), { config: o }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
11895
11900
|
}
|
|
11896
11901
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
11897
11902
|
*
|
|
@@ -11920,7 +11925,7 @@ let rC = class extends mn {
|
|
|
11920
11925
|
render(e) {
|
|
11921
11926
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
|
|
11922
11927
|
return;
|
|
11923
|
-
const i =
|
|
11928
|
+
const i = he(B({}, this.state.config), {
|
|
11924
11929
|
visible: this.state.visible,
|
|
11925
11930
|
duration: e != null ? e : 0,
|
|
11926
11931
|
panoIndex: this.panoIndex,
|
|
@@ -12175,7 +12180,7 @@ let lC = class extends mn {
|
|
|
12175
12180
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
12176
12181
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
12177
12182
|
getRuleDistanceText: (h) => h.toString()
|
|
12178
|
-
}, r = i ? pr(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a =
|
|
12183
|
+
}, r = i ? pr(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a = he(B(B({}, s), r), { missingFloorConfig: o });
|
|
12179
12184
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), ai(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
12180
12185
|
}
|
|
12181
12186
|
load(e, i, s = !0) {
|
|
@@ -12235,8 +12240,8 @@ let lC = class extends mn {
|
|
|
12235
12240
|
}
|
|
12236
12241
|
updateState(e, i) {
|
|
12237
12242
|
var a;
|
|
12238
|
-
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ?
|
|
12239
|
-
this.state =
|
|
12243
|
+
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? he(B(B({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
|
|
12244
|
+
this.state = he(B(B({}, this.state), e), { config: o }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
12240
12245
|
}
|
|
12241
12246
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
12242
12247
|
*
|
|
@@ -12265,7 +12270,7 @@ let lC = class extends mn {
|
|
|
12265
12270
|
render(e) {
|
|
12266
12271
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
|
|
12267
12272
|
return;
|
|
12268
|
-
const i =
|
|
12273
|
+
const i = he(B({}, this.state.config), {
|
|
12269
12274
|
visible: this.state.visible,
|
|
12270
12275
|
duration: e != null ? e : 0,
|
|
12271
12276
|
panoIndex: this.panoIndex,
|
|
@@ -12405,7 +12410,7 @@ let cC = class extends mn {
|
|
|
12405
12410
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
12406
12411
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
12407
12412
|
getRuleDistanceText: (h) => h.toString()
|
|
12408
|
-
}, r = i ? pr(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a =
|
|
12413
|
+
}, r = i ? pr(i, ["selector", "scale"]) : {}, o = B(B({}, s.missingFloorConfig), r.missingFloorConfig), a = he(B(B({}, s), r), { missingFloorConfig: o });
|
|
12409
12414
|
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();
|
|
12410
12415
|
}
|
|
12411
12416
|
load(e, i, s = !0) {
|
|
@@ -12508,8 +12513,8 @@ let cC = class extends mn {
|
|
|
12508
12513
|
}
|
|
12509
12514
|
updateState(e, i) {
|
|
12510
12515
|
var a;
|
|
12511
|
-
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ?
|
|
12512
|
-
this.state =
|
|
12516
|
+
const s = this.state, r = (a = e.config) != null && a.missingFloorConfig ? B(B({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, o = e.config ? he(B(B({}, s.config), e.config), { missingFloorConfig: r }) : s.config;
|
|
12517
|
+
this.state = he(B(B({}, this.state), e), { config: o }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
12513
12518
|
}
|
|
12514
12519
|
addEventListener() {
|
|
12515
12520
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -12539,7 +12544,7 @@ let cC = class extends mn {
|
|
|
12539
12544
|
render(e) {
|
|
12540
12545
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
|
|
12541
12546
|
return;
|
|
12542
|
-
const i =
|
|
12547
|
+
const i = he(B({}, this.state.config), {
|
|
12543
12548
|
visible: this.state.visible,
|
|
12544
12549
|
duration: e != null ? e : 0,
|
|
12545
12550
|
panoIndex: this.panoIndex,
|
|
@@ -12632,7 +12637,7 @@ function fC(n, t, e) {
|
|
|
12632
12637
|
function m(E) {
|
|
12633
12638
|
e(9, p = a.work.observers[E].floorIndex);
|
|
12634
12639
|
}
|
|
12635
|
-
const b =
|
|
12640
|
+
const b = Ja(
|
|
12636
12641
|
(E) => {
|
|
12637
12642
|
e(8, f = E.longitude);
|
|
12638
12643
|
},
|
|
@@ -13445,7 +13450,7 @@ let DC = class extends mn {
|
|
|
13445
13450
|
}
|
|
13446
13451
|
updateState(e, i) {
|
|
13447
13452
|
const s = this.state, r = e.config ? B(B({}, s.config), e.config) : s.config;
|
|
13448
|
-
this.state =
|
|
13453
|
+
this.state = he(B(B({}, this.state), e), { config: r }), !Ft(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
13449
13454
|
}
|
|
13450
13455
|
render() {
|
|
13451
13456
|
if (this.disposed || !this.state.enabled)
|
|
@@ -13456,7 +13461,7 @@ let DC = class extends mn {
|
|
|
13456
13461
|
}
|
|
13457
13462
|
if (!this.data || !this.wrapper)
|
|
13458
13463
|
return;
|
|
13459
|
-
const e =
|
|
13464
|
+
const e = he(B({}, this.state.config), {
|
|
13460
13465
|
five: this.five,
|
|
13461
13466
|
floorplanData: this.data,
|
|
13462
13467
|
visible: this.state.visible,
|
|
@@ -13561,7 +13566,7 @@ const _5 = (n, t) => new DC(n, t), F5 = [
|
|
|
13561
13566
|
{ roomType: "100900000013", description: "衣" },
|
|
13562
13567
|
{ roomType: "100900000015", description: "商铺" },
|
|
13563
13568
|
{ roomType: "100900000016", description: "写字楼" }
|
|
13564
|
-
],
|
|
13569
|
+
], jl = (n, t, e) => {
|
|
13565
13570
|
const i = new y.Matrix4(), s = new y.Euler(n, t, e, "YXZ");
|
|
13566
13571
|
return i.makeRotationFromEuler(s), i;
|
|
13567
13572
|
}, SC = (n, {
|
|
@@ -13571,7 +13576,7 @@ const _5 = (n, t) => new DC(n, t), F5 = [
|
|
|
13571
13576
|
}) => {
|
|
13572
13577
|
if (t && n.scale.set(t, t, t), e) {
|
|
13573
13578
|
const [s, r, o] = e;
|
|
13574
|
-
s && n.applyMatrix4(
|
|
13579
|
+
s && n.applyMatrix4(jl(s, 0, 0)), r && n.applyMatrix4(jl(0, r, 0)), o && n.applyMatrix4(jl(0, 0, o));
|
|
13575
13580
|
}
|
|
13576
13581
|
return i && n.position.set(i.x, i.y, i.z), n;
|
|
13577
13582
|
};
|
|
@@ -13611,18 +13616,18 @@ function os(n) {
|
|
|
13611
13616
|
return [r, e, i];
|
|
13612
13617
|
}
|
|
13613
13618
|
function Xn(n, t) {
|
|
13614
|
-
switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = at ? new Uint8Array(n) : n, this.m = !1, this.i =
|
|
13619
|
+
switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = at ? new Uint8Array(n) : n, this.m = !1, this.i = Va, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
|
|
13615
13620
|
case Oh:
|
|
13616
13621
|
this.b = 32768, this.c = new (at ? Uint8Array : Array)(32768 + this.h + 258);
|
|
13617
13622
|
break;
|
|
13618
|
-
case
|
|
13623
|
+
case Va:
|
|
13619
13624
|
this.b = 0, this.c = new (at ? Uint8Array : Array)(this.h), this.e = this.z, this.n = this.v, this.j = this.w;
|
|
13620
13625
|
break;
|
|
13621
13626
|
default:
|
|
13622
13627
|
throw Error("invalid inflate mode");
|
|
13623
13628
|
}
|
|
13624
13629
|
}
|
|
13625
|
-
var Oh = 0,
|
|
13630
|
+
var Oh = 0, Va = 1, Ed = { t: Oh, s: Va };
|
|
13626
13631
|
Xn.prototype.k = function() {
|
|
13627
13632
|
for (; !this.m; ) {
|
|
13628
13633
|
var n = fi(this, 3);
|
|
@@ -13648,7 +13653,7 @@ Xn.prototype.k = function() {
|
|
|
13648
13653
|
this.b = s, i = this.e(), s = this.b;
|
|
13649
13654
|
}
|
|
13650
13655
|
break;
|
|
13651
|
-
case
|
|
13656
|
+
case Va:
|
|
13652
13657
|
for (; s + o > i.length; )
|
|
13653
13658
|
i = this.e({ p: 2 });
|
|
13654
13659
|
break;
|
|
@@ -13666,11 +13671,11 @@ Xn.prototype.k = function() {
|
|
|
13666
13671
|
this.j(LC, OC);
|
|
13667
13672
|
break;
|
|
13668
13673
|
case 2:
|
|
13669
|
-
for (var h = fi(this, 5) + 257, u = fi(this, 5) + 1, f = fi(this, 4) + 4, p = new (at ? Uint8Array : Array)(
|
|
13670
|
-
p[
|
|
13674
|
+
for (var h = fi(this, 5) + 257, u = fi(this, 5) + 1, f = fi(this, 4) + 4, p = new (at ? Uint8Array : Array)(Rl.length), g = ri, v = ri, m = ri, b = ri, C = ri, M = ri, E = ri, S = ri, T = ri, S = 0; S < f; ++S)
|
|
13675
|
+
p[Rl[S]] = fi(this, 3);
|
|
13671
13676
|
if (!at)
|
|
13672
13677
|
for (S = f, f = p.length; S < f; ++S)
|
|
13673
|
-
p[
|
|
13678
|
+
p[Rl[S]] = 0;
|
|
13674
13679
|
for (g = os(p), b = new (at ? Uint8Array : Array)(h + u), S = 0, T = h + u; S < T; )
|
|
13675
13680
|
switch (C = wo(this, g), C) {
|
|
13676
13681
|
case 16:
|
|
@@ -13698,7 +13703,7 @@ Xn.prototype.k = function() {
|
|
|
13698
13703
|
}
|
|
13699
13704
|
return this.n();
|
|
13700
13705
|
};
|
|
13701
|
-
var Md = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
|
|
13706
|
+
var Md = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Rl = at ? new Uint16Array(Md) : Md, xd = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], Ug = at ? new Uint16Array(xd) : xd, kd = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], _a = at ? new Uint8Array(kd) : kd, Dd = [
|
|
13702
13707
|
1,
|
|
13703
13708
|
2,
|
|
13704
13709
|
3,
|
|
@@ -13729,15 +13734,15 @@ var Md = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], jl
|
|
|
13729
13734
|
12289,
|
|
13730
13735
|
16385,
|
|
13731
13736
|
24577
|
|
13732
|
-
], Yg = at ? new Uint16Array(Dd) : Dd, Sd = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13],
|
|
13737
|
+
], Yg = at ? new Uint16Array(Dd) : Dd, Sd = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], Fa = at ? new Uint8Array(Sd) : Sd, yc = new (at ? Uint8Array : Array)(288), ss, Td;
|
|
13733
13738
|
ss = 0;
|
|
13734
|
-
for (Td =
|
|
13735
|
-
|
|
13736
|
-
var LC = os(
|
|
13739
|
+
for (Td = yc.length; ss < Td; ++ss)
|
|
13740
|
+
yc[ss] = 143 >= ss ? 8 : 255 >= ss ? 9 : 279 >= ss ? 7 : 8;
|
|
13741
|
+
var LC = os(yc), wc = new (at ? Uint8Array : Array)(30), ya, Ld;
|
|
13737
13742
|
ya = 0;
|
|
13738
|
-
for (Ld =
|
|
13739
|
-
|
|
13740
|
-
var OC = os(
|
|
13743
|
+
for (Ld = wc.length; ya < Ld; ++ya)
|
|
13744
|
+
wc[ya] = 5;
|
|
13745
|
+
var OC = os(wc);
|
|
13741
13746
|
function fi(n, t) {
|
|
13742
13747
|
for (var e = n.f, i = n.d, s = n.input, r = n.a, o = s.length, a; i < t; ) {
|
|
13743
13748
|
if (r >= o)
|
|
@@ -13760,7 +13765,7 @@ Xn.prototype.j = function(n, t) {
|
|
|
13760
13765
|
if (256 > r)
|
|
13761
13766
|
i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = r;
|
|
13762
13767
|
else
|
|
13763
|
-
for (o = r - 257, l = Ug[o], 0 <
|
|
13768
|
+
for (o = r - 257, l = Ug[o], 0 < _a[o] && (l += fi(this, _a[o])), r = wo(this, t), a = Yg[r], 0 < Fa[r] && (a += fi(this, Fa[r])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
|
|
13764
13769
|
e[i] = e[i++ - a];
|
|
13765
13770
|
for (; 8 <= this.d; )
|
|
13766
13771
|
this.d -= 8, this.a--;
|
|
@@ -13773,7 +13778,7 @@ Xn.prototype.w = function(n, t) {
|
|
|
13773
13778
|
if (256 > r)
|
|
13774
13779
|
i >= s && (e = this.e(), s = e.length), e[i++] = r;
|
|
13775
13780
|
else
|
|
13776
|
-
for (o = r - 257, l = Ug[o], 0 <
|
|
13781
|
+
for (o = r - 257, l = Ug[o], 0 < _a[o] && (l += fi(this, _a[o])), r = wo(this, t), a = Yg[r], 0 < Fa[r] && (a += fi(this, Fa[r])), i + l > s && (e = this.e(), s = e.length); l--; )
|
|
13777
13782
|
e[i] = e[i++ - a];
|
|
13778
13783
|
for (; 8 <= this.d; )
|
|
13779
13784
|
this.d -= 8, this.a--;
|
|
@@ -13853,15 +13858,15 @@ zh.prototype.k = function() {
|
|
|
13853
13858
|
var Od = 8;
|
|
13854
13859
|
Lh("Zlib.Inflate", zh);
|
|
13855
13860
|
Lh("Zlib.Inflate.prototype.decompress", zh.prototype.k);
|
|
13856
|
-
var
|
|
13861
|
+
var Cc = { ADAPTIVE: Ed.s, BLOCK: Ed.t }, oo, ao, rr, zd;
|
|
13857
13862
|
if (Object.keys)
|
|
13858
|
-
oo = Object.keys(
|
|
13863
|
+
oo = Object.keys(Cc);
|
|
13859
13864
|
else
|
|
13860
|
-
for (ao in oo = [], rr = 0,
|
|
13865
|
+
for (ao in oo = [], rr = 0, Cc)
|
|
13861
13866
|
oo[rr++] = ao;
|
|
13862
13867
|
rr = 0;
|
|
13863
13868
|
for (zd = oo.length; rr < zd; ++rr)
|
|
13864
|
-
ao = oo[rr], Lh("Zlib.Inflate.BufferType." + ao,
|
|
13869
|
+
ao = oo[rr], Lh("Zlib.Inflate.BufferType." + ao, Cc[ao]);
|
|
13865
13870
|
var jd = Qg.Zlib, Xg = {
|
|
13866
13871
|
/*
|
|
13867
13872
|
Finds knot vector span.
|
|
@@ -14023,7 +14028,7 @@ var jd = Qg.Zlib, Xg = {
|
|
|
14023
14028
|
calcRationalCurveDerivatives: function(n) {
|
|
14024
14029
|
for (var t = n.length, e = [], i = [], s = 0; s < t; ++s) {
|
|
14025
14030
|
var r = n[s];
|
|
14026
|
-
e[s] = new
|
|
14031
|
+
e[s] = new ue(r.x, r.y, r.z), i[s] = r.w;
|
|
14027
14032
|
}
|
|
14028
14033
|
for (var o = [], a = 0; a < t; ++a) {
|
|
14029
14034
|
for (var l = e[a].clone(), s = 1; s <= a; ++s)
|
|
@@ -14079,11 +14084,11 @@ var jd = Qg.Zlib, Xg = {
|
|
|
14079
14084
|
vs.prototype = Object.create(xm.prototype);
|
|
14080
14085
|
vs.prototype.constructor = vs;
|
|
14081
14086
|
vs.prototype.getPoint = function(n, t) {
|
|
14082
|
-
var e = t || new
|
|
14087
|
+
var e = t || new ue(), i = this.knots[this.startKnot] + n * (this.knots[this.endKnot] - this.knots[this.startKnot]), s = Xg.calcBSplinePoint(this.degree, this.knots, this.controlPoints, i);
|
|
14083
14088
|
return s.w != 1 && s.divideScalar(s.w), e.set(s.x, s.y, s.z);
|
|
14084
14089
|
};
|
|
14085
14090
|
vs.prototype.getTangent = function(n, t) {
|
|
14086
|
-
var e = t || new
|
|
14091
|
+
var e = t || new ue(), i = this.knots[0] + n * (this.knots[this.knots.length - 1] - this.knots[0]), s = Xg.calcNURBSDerivatives(this.degree, this.knots, this.controlPoints, i, 1);
|
|
14087
14092
|
return e.copy(s[1]).normalize(), e;
|
|
14088
14093
|
};
|
|
14089
14094
|
var Zg = function() {
|
|
@@ -14094,7 +14099,7 @@ var Zg = function() {
|
|
|
14094
14099
|
i.prototype = Object.assign(Object.create(fu.prototype), {
|
|
14095
14100
|
constructor: i,
|
|
14096
14101
|
load: function(A, I, w, x) {
|
|
14097
|
-
var k = this, L = k.path === "" ?
|
|
14102
|
+
var k = this, L = k.path === "" ? Cl.extractUrlBase(A) : k.path, R = new N0(this.manager);
|
|
14098
14103
|
R.setPath(k.path), R.setResponseType("arraybuffer"), R.load(
|
|
14099
14104
|
A,
|
|
14100
14105
|
function(V) {
|
|
@@ -14268,13 +14273,13 @@ var Zg = function() {
|
|
|
14268
14273
|
var L = this.parseParameters(A, I, w), R;
|
|
14269
14274
|
switch (k.toLowerCase()) {
|
|
14270
14275
|
case "phong":
|
|
14271
|
-
R = new
|
|
14276
|
+
R = new Pl();
|
|
14272
14277
|
break;
|
|
14273
14278
|
case "lambert":
|
|
14274
14279
|
R = new G0();
|
|
14275
14280
|
break;
|
|
14276
14281
|
default:
|
|
14277
|
-
console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', k), R = new
|
|
14282
|
+
console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', k), R = new Pl();
|
|
14278
14283
|
break;
|
|
14279
14284
|
}
|
|
14280
14285
|
return R.setValues(L), R.name = x, R;
|
|
@@ -14544,7 +14549,7 @@ var Zg = function() {
|
|
|
14544
14549
|
var x, k = null, L = null, R = [];
|
|
14545
14550
|
return A.children.forEach(function(V) {
|
|
14546
14551
|
I.has(V.ID) && (k = I.get(V.ID)), w.has(V.ID) && R.push(w.get(V.ID));
|
|
14547
|
-
}), R.length > 1 ? L = R : R.length > 0 ? L = R[0] : (L = new
|
|
14552
|
+
}), R.length > 1 ? L = R : R.length > 0 ? L = R[0] : (L = new Pl({ color: 13421772 }), R.push(L)), "color" in k.attributes && R.forEach(function(V) {
|
|
14548
14553
|
V.vertexColors = !0;
|
|
14549
14554
|
}), k.FBX_Deformer ? (R.forEach(function(V) {
|
|
14550
14555
|
V.skinning = !0;
|
|
@@ -14569,7 +14574,7 @@ var Zg = function() {
|
|
|
14569
14574
|
var k = n.Objects.Model[x.ID];
|
|
14570
14575
|
if ("Lcl_Translation" in k) {
|
|
14571
14576
|
var L = k.Lcl_Translation.value;
|
|
14572
|
-
A.target !== void 0 ? (A.target.position.fromArray(L), e.add(A.target)) : A.lookAt(new
|
|
14577
|
+
A.target !== void 0 ? (A.target.position.fromArray(L), e.add(A.target)) : A.lookAt(new ue().fromArray(L));
|
|
14573
14578
|
}
|
|
14574
14579
|
}
|
|
14575
14580
|
});
|
|
@@ -15033,7 +15038,7 @@ var Zg = function() {
|
|
|
15033
15038
|
}), new nA(A.name, -1, I);
|
|
15034
15039
|
},
|
|
15035
15040
|
generateTracks: function(A) {
|
|
15036
|
-
var I = [], w = new
|
|
15041
|
+
var I = [], w = new ue(), x = new Ys(), k = new ue();
|
|
15037
15042
|
if (A.transform && A.transform.decompose(w, x, k), w = w.toArray(), x = new rs().setFromQuaternion(x, A.eulerOrder).toArray(), k = k.toArray(), A.T !== void 0 && Object.keys(A.T.curves).length > 0) {
|
|
15038
15043
|
var L = this.generateVectorTrack(A.modelName, A.T.curves, w, "position");
|
|
15039
15044
|
L !== void 0 && I.push(L);
|
|
@@ -15433,7 +15438,7 @@ var Zg = function() {
|
|
|
15433
15438
|
for (var I = [], w = 0; w < A; w++)
|
|
15434
15439
|
I[w] = this.getUint8();
|
|
15435
15440
|
var x = I.indexOf(0);
|
|
15436
|
-
return x >= 0 && (I = I.slice(0, x)),
|
|
15441
|
+
return x >= 0 && (I = I.slice(0, x)), Cl.decodeText(new Uint8Array(I));
|
|
15437
15442
|
}
|
|
15438
15443
|
};
|
|
15439
15444
|
function h() {
|
|
@@ -15495,7 +15500,7 @@ var Zg = function() {
|
|
|
15495
15500
|
var L = k * x.dataSize, R = L + x.dataSize;
|
|
15496
15501
|
return H(v, x.buffer, L, R);
|
|
15497
15502
|
}
|
|
15498
|
-
var b = new rs(), C = new
|
|
15503
|
+
var b = new rs(), C = new ue();
|
|
15499
15504
|
function M(A) {
|
|
15500
15505
|
var I = new tt(), w = new tt(), x = new tt(), k = new tt(), L = new tt(), R = new tt(), V = new tt(), J = new tt(), ee = new tt(), K = new tt(), re = new tt(), ne = A.inheritType ? A.inheritType : 0;
|
|
15501
15506
|
if (A.translation && I.setPosition(C.fromArray(A.translation)), A.preRotation) {
|
|
@@ -15557,7 +15562,7 @@ var Zg = function() {
|
|
|
15557
15562
|
return I;
|
|
15558
15563
|
}
|
|
15559
15564
|
function S(A, I, w) {
|
|
15560
|
-
return I === void 0 && (I = 0), w === void 0 && (w = A.byteLength),
|
|
15565
|
+
return I === void 0 && (I = 0), w === void 0 && (w = A.byteLength), Cl.decodeText(new Uint8Array(A, I, w));
|
|
15561
15566
|
}
|
|
15562
15567
|
function _(A, I) {
|
|
15563
15568
|
for (var w = 0, x = A.length, k = I.length; w < k; w++, x++)
|
|
@@ -15629,7 +15634,7 @@ function zC(n, t) {
|
|
|
15629
15634
|
const l = a.getContext("2d");
|
|
15630
15635
|
return l.fillStyle = s, l.fillRect(0, 0, e, e), l.font = `${i}px "微软雅黑"`, l.textAlign = o, l.fillStyle = r, l.fillText(n, e / 2, e * 0.7), new aA(a);
|
|
15631
15636
|
}
|
|
15632
|
-
const jC = ({ x: n, y: t, z: e }) => new
|
|
15637
|
+
const jC = ({ x: n, y: t, z: e }) => new ue(n, t, e), W5 = (n, t) => {
|
|
15633
15638
|
var v, m, b;
|
|
15634
15639
|
const e = {}, i = (v = t.animationEnabled) != null ? v : !0, s = (m = t.position) != null ? m : void 0, r = (b = t.rad) != null ? b : void 0, o = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (C) => $(void 0, null, function* () {
|
|
15635
15640
|
var A, I, w, x, k, L, R, V;
|
|
@@ -15685,7 +15690,7 @@ const jC = ({ x: n, y: t, z: e }) => new he(n, t, e), W5 = (n, t) => {
|
|
|
15685
15690
|
return { load: l, enable: (C) => (e.enabled || (e.enabled = !0, f(n.currentMode), n.on("modeChange", f), h(C)), !0), disable: () => (e.enabled && (e.enabled = !1, u(), n.off("modeChange", f)), !0) };
|
|
15686
15691
|
}, RC = Ui;
|
|
15687
15692
|
function BC(n, t, e, i = RC.Linear.None) {
|
|
15688
|
-
const s = new
|
|
15693
|
+
const s = new Xa(n).to(t, e).easing(i);
|
|
15689
15694
|
Lo(() => s.start(0));
|
|
15690
15695
|
const r = Er((a) => {
|
|
15691
15696
|
s.update(a) === !1 && r();
|
|
@@ -15714,13 +15719,13 @@ function Rd(n) {
|
|
|
15714
15719
|
function Bd(n) {
|
|
15715
15720
|
return n % wa;
|
|
15716
15721
|
}
|
|
15717
|
-
function
|
|
15722
|
+
function Bl(n, t, e) {
|
|
15718
15723
|
return n + (t - n) * e;
|
|
15719
15724
|
}
|
|
15720
|
-
const
|
|
15725
|
+
const Pc = (n, t, e) => {
|
|
15721
15726
|
const i = Math.PI, s = i * 2;
|
|
15722
15727
|
let r = Rd(n), o = Rd(t);
|
|
15723
|
-
return e === ln.Anticlockwise && r < o && (r += s), e === ln.Clockwise && o < r && (o += s), e === ln.Loop && o - r > i ?
|
|
15728
|
+
return e === ln.Anticlockwise && r < o && (r += s), e === ln.Clockwise && o < r && (o += s), e === ln.Loop && o - r > i ? Pc(r, o, ln.Anticlockwise) : e === ln.Loop && r - o > i ? Pc(r, o, ln.Clockwise) : { from: r, to: o };
|
|
15724
15729
|
}, Q5 = (n) => {
|
|
15725
15730
|
const t = {}, e = (l, c, ...h) => $(void 0, [l, c, ...h], function* (r, o, a = { preload: !0 }) {
|
|
15726
15731
|
return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), r.mode && r.mode !== n.currentMode && (yield n.changeMode(r.mode)), a.preload && r.panoIndex !== void 0 && r.panoIndex !== n.panoIndex && (yield n.preloadPano(r.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), r.panoIndex === void 0 && r.fov === void 0 && r.latitude === void 0 && r.longitude === void 0 ? !0 : yield new Promise((u, f) => {
|
|
@@ -15734,7 +15739,7 @@ const Cc = (n, t, e) => {
|
|
|
15734
15739
|
}, r)) : f(new Error("unexpected error"));
|
|
15735
15740
|
});
|
|
15736
15741
|
}), i = (r) => {
|
|
15737
|
-
const o = n.state, a = Bd(o.latitude), l = Bd(r.latitude), { from: c, to: h } =
|
|
15742
|
+
const o = n.state, a = Bd(o.latitude), l = Bd(r.latitude), { from: c, to: h } = Pc(
|
|
15738
15743
|
o.longitude,
|
|
15739
15744
|
r.longitude,
|
|
15740
15745
|
r.rotation || ln.Loop
|
|
@@ -15763,7 +15768,7 @@ const Cc = (n, t, e) => {
|
|
|
15763
15768
|
return yield new Promise((p) => {
|
|
15764
15769
|
const g = ({ progress: M }) => {
|
|
15765
15770
|
const E = {};
|
|
15766
|
-
E.longitude =
|
|
15771
|
+
E.longitude = Bl(u.longitude, f.longitude, M), E.latitude = Bl(u.latitude, f.latitude, M), E.fov = Bl(u.fov, f.fov, M), n.setState(E, !0);
|
|
15767
15772
|
}, v = () => {
|
|
15768
15773
|
p(!0);
|
|
15769
15774
|
}, m = () => {
|
|
@@ -15784,11 +15789,11 @@ function Vd(n, t) {
|
|
|
15784
15789
|
function Jg(n, t) {
|
|
15785
15790
|
return Math.abs(n) === 1 / 0 && Math.abs(t) === 1 / 0 ? !0 : Math.abs(n - t) < 1e-3;
|
|
15786
15791
|
}
|
|
15787
|
-
function
|
|
15792
|
+
function Ha(n, t) {
|
|
15788
15793
|
return (t.y - n.y) / (t.x - n.x);
|
|
15789
15794
|
}
|
|
15790
15795
|
function qg(n, t, e) {
|
|
15791
|
-
const i =
|
|
15796
|
+
const i = Ha(n[1], n[0]), s = Ha(t[1], t[0]);
|
|
15792
15797
|
if (isNaN(i) || isNaN(s) || Jg(i, s))
|
|
15793
15798
|
return !1;
|
|
15794
15799
|
if (ia(n[0], t))
|
|
@@ -15810,7 +15815,7 @@ function qg(n, t, e) {
|
|
|
15810
15815
|
return { x: a, y: l };
|
|
15811
15816
|
}
|
|
15812
15817
|
function ia(n, t) {
|
|
15813
|
-
return Vd(n, t[0]) || Vd(n, t[1]) ? !0 : (t[0].x - n.x) * (n.x - t[1].x) >= 0 && (t[0].y - n.y) * (n.y - t[1].y) >= 0 && Jg(
|
|
15818
|
+
return Vd(n, t[0]) || Vd(n, t[1]) ? !0 : (t[0].x - n.x) * (n.x - t[1].x) >= 0 && (t[0].y - n.y) * (n.y - t[1].y) >= 0 && Jg(Ha(t[0], n), Ha(n, t[1]));
|
|
15814
15819
|
}
|
|
15815
15820
|
function FC(n) {
|
|
15816
15821
|
let t = 1 / 0, e = -1 / 0, i = 1 / 0, s = -1 / 0;
|
|
@@ -15919,8 +15924,8 @@ const NC = `<style type="text/css">
|
|
|
15919
15924
|
return e;
|
|
15920
15925
|
const r = n.observers;
|
|
15921
15926
|
s.observers.forEach((o, a) => {
|
|
15922
|
-
const { standingPosition: l } = o, c = new
|
|
15923
|
-
i.set(c, new
|
|
15927
|
+
const { standingPosition: l } = o, c = new ue(l.x, l.y, l.z);
|
|
15928
|
+
i.set(c, new ue(0, 1, 0));
|
|
15924
15929
|
const [h] = t.model.intersectRaycaster(i), u = h ? h.point.y : 2.7, f = r[a];
|
|
15925
15930
|
if (!f)
|
|
15926
15931
|
return e;
|
|
@@ -15986,9 +15991,9 @@ const NC = `<style type="text/css">
|
|
|
15986
15991
|
}, ae = GC({ x: H, z: Z }, ne);
|
|
15987
15992
|
w ? ae < x && Math.abs(ne.y - w) < 0.3 && (x = ae, k = ne) : ae < x && (x = ae, k = ne);
|
|
15988
15993
|
});
|
|
15989
|
-
const L = new
|
|
15994
|
+
const L = new ue(H, k.y, Z);
|
|
15990
15995
|
Object.assign(L, { observers: A });
|
|
15991
|
-
const R = b[I] ? b[I].roof : null, V = R ? new
|
|
15996
|
+
const R = b[I] ? b[I].roof : null, V = R ? new ue(H, R, Z) : null;
|
|
15992
15997
|
return V && Object.assign(V, { observers: A }), { origin: L, vertical: V };
|
|
15993
15998
|
});
|
|
15994
15999
|
o[E] = {
|
|
@@ -16057,7 +16062,7 @@ const NC = `<style type="text/css">
|
|
|
16057
16062
|
I.style.display = "none";
|
|
16058
16063
|
return;
|
|
16059
16064
|
}
|
|
16060
|
-
const E = b.position, T = b.getWorldDirection(new
|
|
16065
|
+
const E = b.position, T = b.getWorldDirection(new ue()), S = v.clientWidth, _ = v.clientHeight;
|
|
16061
16066
|
if (C !== _t.Mode.Panorama) {
|
|
16062
16067
|
for (const A in o)
|
|
16063
16068
|
for (const { $element: I } of o[A].rules)
|
|
@@ -16101,7 +16106,7 @@ const NC = `<style type="text/css">
|
|
|
16101
16106
|
}
|
|
16102
16107
|
const J = x.distanceTo(k);
|
|
16103
16108
|
if (k.clone().sub(
|
|
16104
|
-
k.clone().sub(x).divide(new
|
|
16109
|
+
k.clone().sub(x).divide(new ue(2, 2, 2))
|
|
16105
16110
|
).distanceTo(E) / J > 8) {
|
|
16106
16111
|
w.style.display = "none";
|
|
16107
16112
|
continue;
|
|
@@ -16468,7 +16473,7 @@ function KC(n, t, e) {
|
|
|
16468
16473
|
distance: I
|
|
16469
16474
|
};
|
|
16470
16475
|
}, u = (M, E, T) => {
|
|
16471
|
-
const S = i.camera.position, _ = i.camera.getWorldDirection(new
|
|
16476
|
+
const S = i.camera.position, _ = i.camera.getWorldDirection(new ue()), H = M.clone().sub(S).normalize().angleTo(_), Z = E.clone().sub(S).normalize().angleTo(_), A = M.distanceTo(E), w = E.clone().sub(E.clone().sub(M).divide(new ue(2, 2, 2))).distanceTo(S), { startLeft: x, startTop: k, endLeft: L, endTop: R, distance: V } = h(M, E), ee = -((Math.PI / 2 - Math.atan2(L - x, k - R)) / Math.PI) * 180;
|
|
16472
16477
|
let K = !0;
|
|
16473
16478
|
T || (K = !1), !Ft(M, T) && !Ft(E, T) && (K = !1), A < 0.3 && (K = !1), H > Math.PI / 2 && (K = !1), Z > Math.PI / 2 && (K = !1), w / A > 8 && (K = !1);
|
|
16474
16479
|
let re = 50, ne = V;
|
|
@@ -16495,14 +16500,14 @@ function KC(n, t, e) {
|
|
|
16495
16500
|
return e(0, o = []);
|
|
16496
16501
|
if (i.currentMode !== _t.Mode.Panorama)
|
|
16497
16502
|
return e(0, o = []);
|
|
16498
|
-
const T = i.camera.position, S = i.camera.getWorldDirection(new
|
|
16503
|
+
const T = i.camera.position, S = i.camera.getWorldDirection(new ue()), _ = E.lines.map((I) => new ue(I.start[0], -I.start[1], -I.start[2])), H = E.lines.map((I) => new ue(I.end[0], -I.end[1], -I.end[2])), [Z] = _.concat(H).sort((I, w) => {
|
|
16499
16504
|
const x = I.clone().setY(0).sub(T).normalize().angleTo(S.clone().setY(0)), k = w.clone().setY(0).sub(T).normalize().angleTo(S.clone().setY(0));
|
|
16500
16505
|
return x - k;
|
|
16501
16506
|
}), A = E.lines.map((I) => {
|
|
16502
16507
|
var ne, ae;
|
|
16503
|
-
const w = I.start, x = I.end, { startLeft: k, startTop: L, distance: R, deg: V, visible: J, labelOffset: ee, ruleLength: K } = u(new
|
|
16508
|
+
const w = I.start, x = I.end, { startLeft: k, startTop: L, distance: R, deg: V, visible: J, labelOffset: ee, ruleLength: K } = u(new ue(w[0], -w[1], -w[2]), new ue(x[0], -x[1], -x[2]), Z), re = [];
|
|
16504
16509
|
return I.children && ((ne = I.children) == null ? void 0 : ne.length) > 0 && ((ae = I.children) == null || ae.forEach((Se) => {
|
|
16505
|
-
const Ae = Se.start, Re = Se.end, { distance: ie } = h(new
|
|
16510
|
+
const Ae = Se.start, Re = Se.end, { distance: ie } = h(new ue(Ae[0], -Ae[1], -Ae[2]), new ue(Re[0], -Re[1], -Re[2]));
|
|
16506
16511
|
re.push({ width: ie, state: Se.state });
|
|
16507
16512
|
})), {
|
|
16508
16513
|
width: R,
|
|
@@ -16517,7 +16522,7 @@ function KC(n, t, e) {
|
|
|
16517
16522
|
};
|
|
16518
16523
|
});
|
|
16519
16524
|
e(0, o = A);
|
|
16520
|
-
}, p = () => Lo(f), g =
|
|
16525
|
+
}, p = () => Lo(f), g = Ja(f, 80);
|
|
16521
16526
|
return Zt(() => {
|
|
16522
16527
|
f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", p), i.on("movingToPano", p), i.on("mouseWheel", () => g()), i.on("pinchGesture", () => g());
|
|
16523
16528
|
}), vi(() => {
|
|
@@ -16995,7 +17000,7 @@ class tv {
|
|
|
16995
17000
|
class bP extends tv {
|
|
16996
17001
|
constructor(e) {
|
|
16997
17002
|
var i;
|
|
16998
|
-
e.contentStyle =
|
|
17003
|
+
e.contentStyle = he(B({}, e.contentStyle), {
|
|
16999
17004
|
background: "rgba(195,195,195,0.70)",
|
|
17000
17005
|
border: "0.5px solid rgba(255,255,255,0.6)",
|
|
17001
17006
|
borderRadius: "999px"
|
|
@@ -17104,7 +17109,7 @@ let gr = class iv {
|
|
|
17104
17109
|
d(this, "id");
|
|
17105
17110
|
d(this, "position");
|
|
17106
17111
|
d(this, "type", "point");
|
|
17107
|
-
if (this.id = kt(), this.position = new
|
|
17112
|
+
if (this.id = kt(), this.position = new ue(), Array.isArray(t))
|
|
17108
17113
|
this.position.fromArray(t);
|
|
17109
17114
|
else if (typeof t == "object" && t.isVector3)
|
|
17110
17115
|
this.position.copy(t);
|
|
@@ -17119,7 +17124,7 @@ let gr = class iv {
|
|
|
17119
17124
|
}
|
|
17120
17125
|
};
|
|
17121
17126
|
const ra = (n) => n.preventDefault();
|
|
17122
|
-
let
|
|
17127
|
+
let ll = class {
|
|
17123
17128
|
constructor(t) {
|
|
17124
17129
|
d(this, "model");
|
|
17125
17130
|
d(this, "five");
|
|
@@ -17150,7 +17155,7 @@ let al = class {
|
|
|
17150
17155
|
});
|
|
17151
17156
|
});
|
|
17152
17157
|
var i, s, r;
|
|
17153
|
-
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig =
|
|
17158
|
+
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = he(B({}, t.pointSelectorConfig), {
|
|
17154
17159
|
helper: B({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
|
|
17155
17160
|
}), this.container = t.container, this.isMobile = (r = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? r : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new gr(new mi([0, 0, 0]), new mi([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 gr(new mi([0, 0, 0]), new mi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Kt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
|
|
17156
17161
|
const e = this.five.getElement();
|
|
@@ -17291,17 +17296,17 @@ let al = class {
|
|
|
17291
17296
|
this.id = t.id, this.clear(), this.lines.push(...t.lines);
|
|
17292
17297
|
}
|
|
17293
17298
|
};
|
|
17294
|
-
var
|
|
17299
|
+
var Na = {}, yP = {
|
|
17295
17300
|
get exports() {
|
|
17296
|
-
return
|
|
17301
|
+
return Na;
|
|
17297
17302
|
},
|
|
17298
17303
|
set exports(n) {
|
|
17299
|
-
|
|
17304
|
+
Na = n;
|
|
17300
17305
|
}
|
|
17301
17306
|
};
|
|
17302
|
-
yP.exports =
|
|
17303
|
-
|
|
17304
|
-
function
|
|
17307
|
+
yP.exports = cl;
|
|
17308
|
+
Na.default = cl;
|
|
17309
|
+
function cl(n, t, e) {
|
|
17305
17310
|
e = e || 2;
|
|
17306
17311
|
var i = t && t.length, s = i ? t[0] * e : n.length, r = sv(n, 0, s, e, !0), o = [];
|
|
17307
17312
|
if (!r || r.next === r.prev)
|
|
@@ -17317,13 +17322,13 @@ function ll(n, t, e) {
|
|
|
17317
17322
|
}
|
|
17318
17323
|
function sv(n, t, e, i, s) {
|
|
17319
17324
|
var r, o;
|
|
17320
|
-
if (s ===
|
|
17325
|
+
if (s === Mc(n, t, e, i) > 0)
|
|
17321
17326
|
for (r = t; r < e; r += i)
|
|
17322
17327
|
o = Wd(r, n[r], n[r + 1], o);
|
|
17323
17328
|
else
|
|
17324
17329
|
for (r = e - i; r >= t; r -= i)
|
|
17325
17330
|
o = Wd(r, n[r], n[r + 1], o);
|
|
17326
|
-
return o &&
|
|
17331
|
+
return o && hl(o, o.next) && (Io(o), o = o.next), o;
|
|
17327
17332
|
}
|
|
17328
17333
|
function bs(n, t) {
|
|
17329
17334
|
if (!n)
|
|
@@ -17331,7 +17336,7 @@ function bs(n, t) {
|
|
|
17331
17336
|
t || (t = n);
|
|
17332
17337
|
var e = n, i;
|
|
17333
17338
|
do
|
|
17334
|
-
if (i = !1, !e.steiner && (
|
|
17339
|
+
if (i = !1, !e.steiner && (hl(e, e.next) || ut(e.prev, e, e.next) === 0)) {
|
|
17335
17340
|
if (Io(e), e = t = e.prev, e === e.next)
|
|
17336
17341
|
break;
|
|
17337
17342
|
i = !0;
|
|
@@ -17370,7 +17375,7 @@ function CP(n, t, e, i) {
|
|
|
17370
17375
|
var s = n.prev, r = n, o = n.next;
|
|
17371
17376
|
if (ut(s, r, o) >= 0)
|
|
17372
17377
|
return !1;
|
|
17373
|
-
for (var a = s.x, l = r.x, c = o.x, h = s.y, u = r.y, f = o.y, p = a < l ? a < c ? a : c : l < c ? l : c, g = h < u ? h < f ? h : f : u < f ? u : f, v = a > l ? a > c ? a : c : l > c ? l : c, m = h > u ? h > f ? h : f : u > f ? u : f, b =
|
|
17378
|
+
for (var a = s.x, l = r.x, c = o.x, h = s.y, u = r.y, f = o.y, p = a < l ? a < c ? a : c : l < c ? l : c, g = h < u ? h < f ? h : f : u < f ? u : f, v = a > l ? a > c ? a : c : l > c ? l : c, m = h > u ? h > f ? h : f : u > f ? u : f, b = Ic(p, g, t, e, i), C = Ic(v, m, t, e, i), M = n.prevZ, E = n.nextZ; M && M.z >= b && E && E.z <= C; ) {
|
|
17374
17379
|
if (M.x >= p && M.x <= v && M.y >= g && M.y <= m && M !== s && M !== o && Zs(a, h, l, u, c, f, M.x, M.y) && ut(M.prev, M, M.next) >= 0 || (M = M.prevZ, E.x >= p && E.x <= v && E.y >= g && E.y <= m && E !== s && E !== o && Zs(a, h, l, u, c, f, E.x, E.y) && ut(E.prev, E, E.next) >= 0))
|
|
17375
17380
|
return !1;
|
|
17376
17381
|
E = E.nextZ;
|
|
@@ -17391,7 +17396,7 @@ function PP(n, t, e) {
|
|
|
17391
17396
|
var i = n;
|
|
17392
17397
|
do {
|
|
17393
17398
|
var s = i.prev, r = i.next.next;
|
|
17394
|
-
!
|
|
17399
|
+
!hl(s, r) && rv(s, i, i.next, r) && Po(s, r) && Po(r, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(r.i / e | 0), Io(i), Io(i.next), i = n = r), i = i.next;
|
|
17395
17400
|
} while (i !== n);
|
|
17396
17401
|
return bs(i);
|
|
17397
17402
|
}
|
|
@@ -17452,7 +17457,7 @@ function DP(n, t) {
|
|
|
17452
17457
|
function SP(n, t, e, i) {
|
|
17453
17458
|
var s = n;
|
|
17454
17459
|
do
|
|
17455
|
-
s.z === 0 && (s.z =
|
|
17460
|
+
s.z === 0 && (s.z = Ic(s.x, s.y, t, e, i)), s.prevZ = s.prev, s.nextZ = s.next, s = s.next;
|
|
17456
17461
|
while (s !== n);
|
|
17457
17462
|
s.prevZ.nextZ = null, s.prevZ = null, TP(s);
|
|
17458
17463
|
}
|
|
@@ -17470,7 +17475,7 @@ function TP(n) {
|
|
|
17470
17475
|
} while (o > 1);
|
|
17471
17476
|
return n;
|
|
17472
17477
|
}
|
|
17473
|
-
function
|
|
17478
|
+
function Ic(n, t, e, i, s) {
|
|
17474
17479
|
return n = (n - e) * s | 0, t = (t - i) * s | 0, n = (n | n << 8) & 16711935, n = (n | n << 4) & 252645135, n = (n | n << 2) & 858993459, n = (n | n << 1) & 1431655765, t = (t | t << 8) & 16711935, t = (t | t << 4) & 252645135, t = (t | t << 2) & 858993459, t = (t | t << 1) & 1431655765, n | t << 1;
|
|
17475
17480
|
}
|
|
17476
17481
|
function LP(n) {
|
|
@@ -17487,12 +17492,12 @@ function OP(n, t) {
|
|
|
17487
17492
|
return n.next.i !== t.i && n.prev.i !== t.i && !zP(n, t) && // dones't intersect other edges
|
|
17488
17493
|
(Po(n, t) && Po(t, n) && jP(n, t) && // locally visible
|
|
17489
17494
|
(ut(n.prev, n, t.prev) || ut(n, t.prev, t)) || // does not create opposite-facing sectors
|
|
17490
|
-
|
|
17495
|
+
hl(n, t) && ut(n.prev, n, n.next) > 0 && ut(t.prev, t, t.next) > 0);
|
|
17491
17496
|
}
|
|
17492
17497
|
function ut(n, t, e) {
|
|
17493
17498
|
return (t.y - n.y) * (e.x - t.x) - (t.x - n.x) * (e.y - t.y);
|
|
17494
17499
|
}
|
|
17495
|
-
function
|
|
17500
|
+
function hl(n, t) {
|
|
17496
17501
|
return n.x === t.x && n.y === t.y;
|
|
17497
17502
|
}
|
|
17498
17503
|
function rv(n, t, e, i) {
|
|
@@ -17525,25 +17530,25 @@ function jP(n, t) {
|
|
|
17525
17530
|
return i;
|
|
17526
17531
|
}
|
|
17527
17532
|
function ov(n, t) {
|
|
17528
|
-
var e = new
|
|
17533
|
+
var e = new Ec(n.i, n.x, n.y), i = new Ec(t.i, t.x, t.y), s = n.next, r = t.prev;
|
|
17529
17534
|
return n.next = t, t.prev = n, e.next = s, s.prev = e, i.next = e, e.prev = i, r.next = i, i.prev = r, i;
|
|
17530
17535
|
}
|
|
17531
17536
|
function Wd(n, t, e, i) {
|
|
17532
|
-
var s = new
|
|
17537
|
+
var s = new Ec(n, t, e);
|
|
17533
17538
|
return i ? (s.next = i.next, s.prev = i, i.next.prev = s, i.next = s) : (s.prev = s, s.next = s), s;
|
|
17534
17539
|
}
|
|
17535
17540
|
function Io(n) {
|
|
17536
17541
|
n.next.prev = n.prev, n.prev.next = n.next, n.prevZ && (n.prevZ.nextZ = n.nextZ), n.nextZ && (n.nextZ.prevZ = n.prevZ);
|
|
17537
17542
|
}
|
|
17538
|
-
function
|
|
17543
|
+
function Ec(n, t, e) {
|
|
17539
17544
|
this.i = n, this.x = t, this.y = e, this.prev = null, this.next = null, this.z = 0, this.prevZ = null, this.nextZ = null, this.steiner = !1;
|
|
17540
17545
|
}
|
|
17541
|
-
|
|
17542
|
-
var s = t && t.length, r = s ? t[0] * e : n.length, o = Math.abs(
|
|
17546
|
+
cl.deviation = function(n, t, e, i) {
|
|
17547
|
+
var s = t && t.length, r = s ? t[0] * e : n.length, o = Math.abs(Mc(n, 0, r, e));
|
|
17543
17548
|
if (s)
|
|
17544
17549
|
for (var a = 0, l = t.length; a < l; a++) {
|
|
17545
17550
|
var c = t[a] * e, h = a < l - 1 ? t[a + 1] * e : n.length;
|
|
17546
|
-
o -= Math.abs(
|
|
17551
|
+
o -= Math.abs(Mc(n, c, h, e));
|
|
17547
17552
|
}
|
|
17548
17553
|
var u = 0;
|
|
17549
17554
|
for (a = 0; a < i.length; a += 3) {
|
|
@@ -17554,12 +17559,12 @@ ll.deviation = function(n, t, e, i) {
|
|
|
17554
17559
|
}
|
|
17555
17560
|
return o === 0 && u === 0 ? 0 : Math.abs((u - o) / o);
|
|
17556
17561
|
};
|
|
17557
|
-
function
|
|
17562
|
+
function Mc(n, t, e, i) {
|
|
17558
17563
|
for (var s = 0, r = t, o = e - i; r < e; r += i)
|
|
17559
17564
|
s += (n[o] - n[r]) * (n[r + 1] + n[o + 1]), o = r;
|
|
17560
17565
|
return s;
|
|
17561
17566
|
}
|
|
17562
|
-
|
|
17567
|
+
cl.flatten = function(n) {
|
|
17563
17568
|
for (var t = n[0][0].length, e = { vertices: [], holes: [], dimensions: t }, i = 0, s = 0; s < n.length; s++) {
|
|
17564
17569
|
for (var r = 0; r < n[s].length; r++)
|
|
17565
17570
|
for (var o = 0; o < t; o++)
|
|
@@ -17574,15 +17579,15 @@ function Es(n) {
|
|
|
17574
17579
|
return;
|
|
17575
17580
|
}
|
|
17576
17581
|
const [t, e, i] = n;
|
|
17577
|
-
return new
|
|
17582
|
+
return new ue().subVectors(i, e).cross(new ue().subVectors(t, e)).normalize();
|
|
17578
17583
|
}
|
|
17579
17584
|
function av(n) {
|
|
17580
17585
|
if (n.length < 3)
|
|
17581
17586
|
return [];
|
|
17582
17587
|
const t = Es(n), e = new y.Quaternion().setFromUnitVectors(new y.Vector3(0, 1, 0), t), s = n.map((o) => o.clone().applyQuaternion(e)).flatMap((o) => [o.x, o.z]);
|
|
17583
|
-
return
|
|
17588
|
+
return Na(s);
|
|
17584
17589
|
}
|
|
17585
|
-
function
|
|
17590
|
+
function xc(n, t) {
|
|
17586
17591
|
const e = Array.isArray(t) ? t : [t];
|
|
17587
17592
|
for (let i = 0; i < e.length; i++) {
|
|
17588
17593
|
const s = n.start, r = n.end, o = e[i].start, a = e[i].end;
|
|
@@ -17637,7 +17642,7 @@ function lv(n, t) {
|
|
|
17637
17642
|
return { start: e[c - 1], end: e[c] };
|
|
17638
17643
|
}).filter(Boolean);
|
|
17639
17644
|
for (let l = 0; l < a.length; l++)
|
|
17640
|
-
if (
|
|
17645
|
+
if (xc(a[l], a.slice(l)))
|
|
17641
17646
|
return;
|
|
17642
17647
|
}
|
|
17643
17648
|
const i = e.flatMap((a) => [a.x, a.y, a.z]), s = new y.Float32BufferAttribute(i, 3), r = av(e), o = new y.BufferGeometry();
|
|
@@ -17682,7 +17687,7 @@ function hv(n) {
|
|
|
17682
17687
|
console.warn("No geometry triangles found"), console.debug({ geometry: n, triangles: t });
|
|
17683
17688
|
return;
|
|
17684
17689
|
}
|
|
17685
|
-
let e = 0, i = new
|
|
17690
|
+
let e = 0, i = new ue();
|
|
17686
17691
|
for (const [s, r, o] of t) {
|
|
17687
17692
|
const a = jh(s, r, o), l = uv(s, r, o, a);
|
|
17688
17693
|
e += a, i.add(l);
|
|
@@ -17703,16 +17708,16 @@ function NP(n) {
|
|
|
17703
17708
|
return [];
|
|
17704
17709
|
let i = [];
|
|
17705
17710
|
for (let r = 0; r < e.length; r += 3) {
|
|
17706
|
-
const o = e[r], a = e[r + 1], l = e[r + 2], c = new
|
|
17711
|
+
const o = e[r], a = e[r + 1], l = e[r + 2], c = new ue().fromArray([t.getX(o), t.getY(o), t.getZ(o)]), h = new ue().fromArray([t.getX(a), t.getY(a), t.getZ(a)]), u = new ue().fromArray([t.getX(l), t.getY(l), t.getZ(l)]);
|
|
17707
17712
|
i.push([c, h, u]);
|
|
17708
17713
|
}
|
|
17709
17714
|
return i;
|
|
17710
17715
|
}
|
|
17711
17716
|
class GP extends tv {
|
|
17712
17717
|
constructor(e) {
|
|
17713
|
-
e.containerStyle =
|
|
17718
|
+
e.containerStyle = he(B({}, e.containerStyle), {
|
|
17714
17719
|
zIndex: "1"
|
|
17715
|
-
}), e.contentStyle =
|
|
17720
|
+
}), e.contentStyle = he(B({}, e.contentStyle), {
|
|
17716
17721
|
background: "#6386FF",
|
|
17717
17722
|
borderRadius: "2px"
|
|
17718
17723
|
});
|
|
@@ -17738,7 +17743,7 @@ class GP extends tv {
|
|
|
17738
17743
|
this.contentDom.innerText = `${ti(r) ? e : e.toFixed(r)}${s}`;
|
|
17739
17744
|
}
|
|
17740
17745
|
}
|
|
17741
|
-
class
|
|
17746
|
+
class kc {
|
|
17742
17747
|
constructor(t, e) {
|
|
17743
17748
|
d(this, "id", kt());
|
|
17744
17749
|
d(this, "selected", !1);
|
|
@@ -17928,7 +17933,7 @@ function UP(n, t) {
|
|
|
17928
17933
|
return n.x === t.x && n.y === t.y;
|
|
17929
17934
|
}
|
|
17930
17935
|
const Yd = () => !1;
|
|
17931
|
-
class zn extends
|
|
17936
|
+
class zn extends ll {
|
|
17932
17937
|
constructor(e) {
|
|
17933
17938
|
super(e);
|
|
17934
17939
|
d(this, "type", "edit");
|
|
@@ -17942,7 +17947,7 @@ class zn extends al {
|
|
|
17942
17947
|
d(this, "pointSelector");
|
|
17943
17948
|
d(this, "deleteDom");
|
|
17944
17949
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
17945
|
-
d(this, "onIntersectionUpdate",
|
|
17950
|
+
d(this, "onIntersectionUpdate", Ja((e, i) => {
|
|
17946
17951
|
this.currentMeasureType === "area" && typeof i == "boolean" && (i ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed();
|
|
17947
17952
|
}, 20));
|
|
17948
17953
|
/** 撤销编辑 */
|
|
@@ -18082,7 +18087,7 @@ class zn extends al {
|
|
|
18082
18087
|
this.perpendicularDashed.setPoints(h, u), this.perpendicularDashed.show();
|
|
18083
18088
|
} else
|
|
18084
18089
|
this.perpendicularDashed.hide();
|
|
18085
|
-
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a =
|
|
18090
|
+
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = xc({ start: e, end: i }, o), l = xc({ start: i, end: this.area.points[0] }, o);
|
|
18086
18091
|
if (a || l)
|
|
18087
18092
|
this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
|
|
18088
18093
|
else {
|
|
@@ -18157,10 +18162,10 @@ class zn extends al {
|
|
|
18157
18162
|
const s = i.type === "area", r = Array.isArray(i) && ((o = i[0]) == null ? void 0 : o.type) === "line";
|
|
18158
18163
|
s && this.unHighlightArea(i), r && this.unHighlightLines(i);
|
|
18159
18164
|
}
|
|
18160
|
-
}).appendTo(this.container), this.pointSelector = new $c(this.five,
|
|
18165
|
+
}).appendTo(this.container), this.pointSelector = new $c(this.five, he(B({}, this.pointSelectorConfig), {
|
|
18161
18166
|
mode: this.editParams.pointSelectorMode,
|
|
18162
18167
|
helper: B({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
|
|
18163
|
-
})), this.pointSelector.enable(), this.polyline = new vr({ model: this.model }), this.area = new
|
|
18168
|
+
})), this.pointSelector.enable(), this.polyline = new vr({ model: this.model }), this.area = new kc(void 0, {
|
|
18164
18169
|
five: this.five,
|
|
18165
18170
|
model: this.model,
|
|
18166
18171
|
meshContainer: this.group,
|
|
@@ -18185,7 +18190,7 @@ class zn extends al {
|
|
|
18185
18190
|
this.onSelect();
|
|
18186
18191
|
}
|
|
18187
18192
|
complete() {
|
|
18188
|
-
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
|
|
18193
|
+
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 kc(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) => {
|
|
18189
18194
|
e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
|
|
18190
18195
|
}), this.polyline = new vr({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
|
|
18191
18196
|
}
|
|
@@ -18207,7 +18212,7 @@ class zn extends al {
|
|
|
18207
18212
|
this.unHighlightLines(this.model.getAllLines()), !e.selected && (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
|
|
18208
18213
|
}
|
|
18209
18214
|
}
|
|
18210
|
-
class Xd extends
|
|
18215
|
+
class Xd extends ll {
|
|
18211
18216
|
constructor(e) {
|
|
18212
18217
|
super(e);
|
|
18213
18218
|
d(this, "type", "view");
|
|
@@ -18289,7 +18294,7 @@ function Zd(n) {
|
|
|
18289
18294
|
return { point: o, ndcPoint: a };
|
|
18290
18295
|
}
|
|
18291
18296
|
const Jd = () => !1;
|
|
18292
|
-
class qd extends
|
|
18297
|
+
class qd extends ll {
|
|
18293
18298
|
constructor(e) {
|
|
18294
18299
|
super(e);
|
|
18295
18300
|
d(this, "type", "watch");
|
|
@@ -18415,7 +18420,7 @@ class qd extends al {
|
|
|
18415
18420
|
this.deleteDom = new Rh(this.five, {
|
|
18416
18421
|
i18n: this.config.i18n,
|
|
18417
18422
|
onClick: () => {
|
|
18418
|
-
this.choose === "line" ? this.deleteLine() : this.choose instanceof
|
|
18423
|
+
this.choose === "line" ? this.deleteLine() : this.choose instanceof kc && this.deleteArea(this.choose);
|
|
18419
18424
|
},
|
|
18420
18425
|
cancel: this.cancelDeleteClickCallback
|
|
18421
18426
|
}).appendTo(this.container), this.model.getAllLines().forEach((s) => {
|
|
@@ -18565,13 +18570,13 @@ function fv(n) {
|
|
|
18565
18570
|
let i = 10349931;
|
|
18566
18571
|
e && n.ballColor >= 0 && (i = n.ballColor);
|
|
18567
18572
|
const s = new jn(), r = new cA(0.3, 0.3), o = t ? JP : qP, a = new Uc().load(o);
|
|
18568
|
-
a.encoding = Kr, a.minFilter =
|
|
18573
|
+
a.encoding = Kr, a.minFilter = ac;
|
|
18569
18574
|
const l = new uo({
|
|
18570
18575
|
map: a,
|
|
18571
18576
|
transparent: !0,
|
|
18572
18577
|
depthTest: !1
|
|
18573
18578
|
}), c = new ir(r, l), h = new hA();
|
|
18574
|
-
h.add(new uA(new
|
|
18579
|
+
h.add(new uA(new ue(0, 0, 0), new ue(0, 0, 0.1)));
|
|
18575
18580
|
const u = new dA(h, 8, 3e-3), f = new km({
|
|
18576
18581
|
vertexShader: KP,
|
|
18577
18582
|
fragmentShader: $P,
|
|
@@ -18695,7 +18700,7 @@ class eI {
|
|
|
18695
18700
|
return this.mouseGroup;
|
|
18696
18701
|
}
|
|
18697
18702
|
}
|
|
18698
|
-
class Yr extends
|
|
18703
|
+
class Yr extends ll {
|
|
18699
18704
|
constructor(e) {
|
|
18700
18705
|
super(e);
|
|
18701
18706
|
d(this, "state", "watching");
|
|
@@ -18808,7 +18813,7 @@ class Yr extends al {
|
|
|
18808
18813
|
this.clearHighlightLines(), this.highlightedLines = e, this.deleteDom.setLines(e).updatePosition().show(), e.forEach((i) => this.highlightLine(i));
|
|
18809
18814
|
}
|
|
18810
18815
|
}
|
|
18811
|
-
const
|
|
18816
|
+
const Ga = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8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eT0iLTE2OC44JSIgd2lkdGg9IjIyNi42JSIgaGVpZ2h0PSI0MzcuNSUiIGZpbHRlclVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgaWQ9InByZWZpeF9fYyI+PGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iOCIgaW49IlNvdXJjZUdyYXBoaWMiLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0idXJsKCNwcmVmaXhfX2EpIiBzdHJva2Utd2lkdGg9Ii40IiBmaWxsPSJ1cmwoI3ByZWZpeF9fYikiIG9wYWNpdHk9Ii43IiBjeD0iMzYiIGN5PSIzNiIgcj0iMjguMjQ0Ii8+PGVsbGlwc2UgZmlsbD0iIzdDOTBEQSIgb3BhY2l0eT0iLjU5NiIgZmlsdGVyPSJ1cmwoI3ByZWZpeF9fYykiIGN4PSIzNiIgY3k9IjM2IiByeD0iMTguOTYzIiByeT0iNy4xMTEiLz48cGF0aCBkPSJNMzYgMEMxNi4xMTggMCAwIDE2LjExOCAwIDM2czE2LjExOCAzNiAzNiAzNiAzNi0xNi4xMTggMzYtMzZTNTUuODgyIDAgMzYgMHptMCA0LjQ0NGMxNy40MjggMCAzMS41NTYgMTQuMTI4IDMxLjU1NiAzMS41NTZTNTMuNDI4IDY3LjU1NiAzNiA2Ny41NTYgNC40NDQgNTMuNDI4IDQuNDQ0IDM2IDE4LjU3MiA0LjQ0NCAzNiA0LjQ0NHoiIGZpbGw9InVybCgjcHJlZml4X19kKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==", tI = `
|
|
18812
18817
|
<svg class="fpm__exit-icon width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
18813
18818
|
<defs>
|
|
18814
18819
|
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="86.3016741%" id="radialGradient-1">
|
|
@@ -18867,7 +18872,7 @@ const Na = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
|
|
|
18867
18872
|
opacity: 1;
|
|
18868
18873
|
}
|
|
18869
18874
|
.fpm__main__start {
|
|
18870
|
-
background-image: url(${
|
|
18875
|
+
background-image: url(${Ga});
|
|
18871
18876
|
}
|
|
18872
18877
|
.fpm__main__end {
|
|
18873
18878
|
background-image: url(${Vh});
|
|
@@ -18982,7 +18987,7 @@ const Na = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
|
|
|
18982
18987
|
opacity: 1;
|
|
18983
18988
|
}
|
|
18984
18989
|
.fpm__main__start {
|
|
18985
|
-
background-image: url(${
|
|
18990
|
+
background-image: url(${Ga});
|
|
18986
18991
|
}
|
|
18987
18992
|
.fpm__main__end {
|
|
18988
18993
|
background-image: url(${Vh});
|
|
@@ -19995,7 +20000,7 @@ function LI(n, t, e) {
|
|
|
19995
20000
|
"text" in a && e(0, s = a.text), "onClick" in a && e(1, r = a.onClick), "color" in a && e(3, o = a.color);
|
|
19996
20001
|
}, n.$$.update = () => {
|
|
19997
20002
|
n.$$.dirty & /*color*/
|
|
19998
|
-
8 && e(2, i = (() => o === "white" ?
|
|
20003
|
+
8 && e(2, i = (() => o === "white" ? Ga : o === "blue" ? Vh : Ga)());
|
|
19999
20004
|
}, [s, r, i, o];
|
|
20000
20005
|
}
|
|
20001
20006
|
class OI extends Pe {
|
|
@@ -20438,22 +20443,22 @@ var st = {}, _I = {
|
|
|
20438
20443
|
st = n;
|
|
20439
20444
|
}
|
|
20440
20445
|
};
|
|
20441
|
-
function
|
|
20446
|
+
function Wa(n) {
|
|
20442
20447
|
return n === null ? "null" : typeof n == "undefined" ? "undefined" : typeof n == "object" ? Array.isArray(n) ? "array" : "object" : typeof n;
|
|
20443
20448
|
}
|
|
20444
20449
|
function bv(n) {
|
|
20445
|
-
return
|
|
20450
|
+
return Wa(n) === "object" ? Sc(n) : Wa(n) === "array" ? Dc(n) : n;
|
|
20446
20451
|
}
|
|
20447
|
-
function
|
|
20452
|
+
function Dc(n) {
|
|
20448
20453
|
return n.map(bv);
|
|
20449
20454
|
}
|
|
20450
|
-
function
|
|
20455
|
+
function Sc(n) {
|
|
20451
20456
|
const t = {};
|
|
20452
20457
|
for (const e in n)
|
|
20453
20458
|
n.hasOwnProperty(e) && (t[e] = bv(n[e]));
|
|
20454
20459
|
return t;
|
|
20455
20460
|
}
|
|
20456
|
-
function
|
|
20461
|
+
function ul(n, t = [], e = {}) {
|
|
20457
20462
|
const i = {
|
|
20458
20463
|
arrayBehaviour: e.arrayBehaviour || "replace"
|
|
20459
20464
|
// Can be "merge" or "replace".
|
|
@@ -20461,19 +20466,19 @@ function hl(n, t = [], e = {}) {
|
|
|
20461
20466
|
for (let o = 0; o < s.length; o++) {
|
|
20462
20467
|
const a = s[o], l = Object.keys(a);
|
|
20463
20468
|
for (let c = 0; c < l.length; c++) {
|
|
20464
|
-
const h = l[c], u = a[h], f =
|
|
20469
|
+
const h = l[c], u = a[h], f = Wa(u), p = Wa(r[h]);
|
|
20465
20470
|
if (f === "object")
|
|
20466
20471
|
if (p !== "undefined") {
|
|
20467
20472
|
const g = p === "object" ? r[h] : {};
|
|
20468
|
-
r[h] =
|
|
20473
|
+
r[h] = ul({}, [g, Sc(u)], i);
|
|
20469
20474
|
} else
|
|
20470
|
-
r[h] =
|
|
20475
|
+
r[h] = Sc(u);
|
|
20471
20476
|
else if (f === "array")
|
|
20472
20477
|
if (p === "array") {
|
|
20473
|
-
const g =
|
|
20478
|
+
const g = Dc(u);
|
|
20474
20479
|
r[h] = i.arrayBehaviour === "merge" ? r[h].concat(g) : g;
|
|
20475
20480
|
} else
|
|
20476
|
-
r[h] =
|
|
20481
|
+
r[h] = Dc(u);
|
|
20477
20482
|
else
|
|
20478
20483
|
r[h] = u;
|
|
20479
20484
|
}
|
|
@@ -20481,13 +20486,13 @@ function hl(n, t = [], e = {}) {
|
|
|
20481
20486
|
return r;
|
|
20482
20487
|
}
|
|
20483
20488
|
_I.exports = function(t, ...e) {
|
|
20484
|
-
return
|
|
20489
|
+
return ul(t, e);
|
|
20485
20490
|
};
|
|
20486
20491
|
st.noMutate = function(...t) {
|
|
20487
|
-
return
|
|
20492
|
+
return ul({}, t);
|
|
20488
20493
|
};
|
|
20489
20494
|
st.withOptions = function(t, e, i) {
|
|
20490
|
-
return
|
|
20495
|
+
return ul(t, e, i);
|
|
20491
20496
|
};
|
|
20492
20497
|
function FI(n) {
|
|
20493
20498
|
Me(n, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
|
|
@@ -20784,7 +20789,15 @@ class XI extends Yn {
|
|
|
20784
20789
|
* @description 如果当前正在编辑中,会自动退出并保存编辑
|
|
20785
20790
|
*/
|
|
20786
20791
|
load(e) {
|
|
20787
|
-
|
|
20792
|
+
let i = e;
|
|
20793
|
+
e.list && (i = {
|
|
20794
|
+
polylines: e.list.map((r) => r.polyline).map((r) => {
|
|
20795
|
+
var o;
|
|
20796
|
+
return he(B({}, r), {
|
|
20797
|
+
visibleFiveMode: (o = r.visibleFiveMode) != null ? o : ["Panorama"]
|
|
20798
|
+
});
|
|
20799
|
+
})
|
|
20800
|
+
}), this.model.parse(i), this.save();
|
|
20788
20801
|
}
|
|
20789
20802
|
/** 插件功能入口
|
|
20790
20803
|
* @description 会隐藏鼠标的默认聚焦环
|
|
@@ -21350,7 +21363,7 @@ class aE {
|
|
|
21350
21363
|
}
|
|
21351
21364
|
}
|
|
21352
21365
|
}
|
|
21353
|
-
const
|
|
21366
|
+
const Vl = 1e-3, Pf = 0.01, lE = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", tL = (n, t) => {
|
|
21354
21367
|
var ee, K, re, ne, ae, Se, Ae, Re;
|
|
21355
21368
|
let e = t == null ? void 0 : t.container, i = 1.4;
|
|
21356
21369
|
const s = (ee = t == null ? void 0 : t.wait) != null ? ee : 200, r = (K = t == null ? void 0 : t.maxNumberOnScreen) != null ? K : 3, o = (re = t == null ? void 0 : t.minRad) != null ? re : Math.PI / 4, a = (ne = t == null ? void 0 : t.nearTolerance) != null ? ne : 100, l = (ae = t == null ? void 0 : t.upsideHeight) != null ? ae : 1.6, c = (Se = t == null ? void 0 : t.minDistance) != null ? Se : 1.2, h = (Ae = t == null ? void 0 : t.maxDistance) != null ? Ae : 3.5, u = mh(n), f = document.createElement("div");
|
|
@@ -21488,11 +21501,11 @@ const Bl = 1e-3, Pf = 0.01, lE = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
21488
21501
|
Ze.distance + Pf
|
|
21489
21502
|
), [Je] = v.intersectObjects ? nt.intersectObjects(v.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(nt) : nt.intersectObjects(n.model.children, !0);
|
|
21490
21503
|
if (Je && Ze.distance - Je.distance < Pf) {
|
|
21491
|
-
const { position: We, normal: ze, id: rt, replacement: Pt } = Ze, Zn = new y.Plane().setFromNormalAndCoplanarPoint(ze, We), ii = We.clone().sub(pe.position).cross(new y.Vector3(0, 1, 0)).setLength(
|
|
21504
|
+
const { position: We, normal: ze, id: rt, replacement: Pt } = Ze, Zn = new y.Plane().setFromNormalAndCoplanarPoint(ze, We), ii = We.clone().sub(pe.position).cross(new y.Vector3(0, 1, 0)).setLength(Vl), Ai = [
|
|
21492
21505
|
We.clone(),
|
|
21493
21506
|
We.clone().add(ii),
|
|
21494
|
-
We.clone().add(new y.Vector3(0,
|
|
21495
|
-
We.clone().add(new y.Vector3(0,
|
|
21507
|
+
We.clone().add(new y.Vector3(0, Vl, 0)).add(ii),
|
|
21508
|
+
We.clone().add(new y.Vector3(0, Vl, 0))
|
|
21496
21509
|
].map((ji) => Zn.projectPoint(ji, new y.Vector3())), { container: zi, dispose: Lt } = u.create3DDomContainer(Ai) || {}, bi = new iE({
|
|
21497
21510
|
target: zi,
|
|
21498
21511
|
props: {
|
|
@@ -21574,12 +21587,12 @@ const Bl = 1e-3, Pf = 0.01, lE = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
21574
21587
|
dispose: J
|
|
21575
21588
|
};
|
|
21576
21589
|
};
|
|
21577
|
-
var Js = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARGE = "large", n.EXTRA_LARGE = "x-large", n))(Js || {}),
|
|
21590
|
+
var Js = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARGE = "large", n.EXTRA_LARGE = "x-large", n))(Js || {}), Tc = {}, cE = {
|
|
21578
21591
|
get exports() {
|
|
21579
|
-
return
|
|
21592
|
+
return Tc;
|
|
21580
21593
|
},
|
|
21581
21594
|
set exports(n) {
|
|
21582
|
-
|
|
21595
|
+
Tc = n;
|
|
21583
21596
|
}
|
|
21584
21597
|
};
|
|
21585
21598
|
/*!
|
|
@@ -21617,7 +21630,7 @@ var Js = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARG
|
|
|
21617
21630
|
n.exports ? (e.default = e, n.exports = e) : window.classNames = e;
|
|
21618
21631
|
})();
|
|
21619
21632
|
})(cE);
|
|
21620
|
-
const ei =
|
|
21633
|
+
const ei = Tc;
|
|
21621
21634
|
function hE(n) {
|
|
21622
21635
|
Me(n, "svelte-1wufped", ".item-label-item.svelte-1wufped{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1wufped{opacity:1;animation:svelte-1wufped-fadeIn 0.3s ease-in}.item-label-item__text-wrap.svelte-1wufped::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1wufped{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#ffeac0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1wufped{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1wufped{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1wufped-fadeIn{from{opacity:0}to{opacity:1}}");
|
|
21623
21636
|
}
|
|
@@ -21862,10 +21875,10 @@ function vE(n, t, e) {
|
|
|
21862
21875
|
const L = k.map((V) => {
|
|
21863
21876
|
const J = b(x, V), ee = V.name.length * gE, K = E(V.modelPosition[1], c), ne = (o ? m(x, V) : !0) && !M([J[0], J[1] + K], ee);
|
|
21864
21877
|
if (!ne)
|
|
21865
|
-
return
|
|
21878
|
+
return he(B({}, V), { visible: ne });
|
|
21866
21879
|
g.push(J);
|
|
21867
21880
|
const ae = C(J);
|
|
21868
|
-
return
|
|
21881
|
+
return he(B({}, V), {
|
|
21869
21882
|
visible: ne,
|
|
21870
21883
|
transform: ae,
|
|
21871
21884
|
strokeLength: K
|
|
@@ -21876,7 +21889,7 @@ function vE(n, t, e) {
|
|
|
21876
21889
|
})).sort((V, J) => V.distance - J.distance);
|
|
21877
21890
|
return L.map((V) => {
|
|
21878
21891
|
const J = R.findIndex((ee) => ee.itemLabelItem.id === V.id);
|
|
21879
|
-
return J !== void 0 ?
|
|
21892
|
+
return J !== void 0 ? he(B({}, V), { zIndex: J * 10 }) : V;
|
|
21880
21893
|
});
|
|
21881
21894
|
}, S = () => {
|
|
21882
21895
|
g = [], e(1, u = T(r, u));
|
|
@@ -22038,7 +22051,7 @@ function yE(n) {
|
|
|
22038
22051
|
t.push(i);
|
|
22039
22052
|
}), t;
|
|
22040
22053
|
}
|
|
22041
|
-
const wE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggH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Wil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", CE = "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/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxI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|
+
const wE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggHAAAAAASUVORK5CYII=", _h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAACoCAMAAAD6pITnAAABQVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACvr68AAAAAAAAAAAB5eXkAAAA8PDzr6+sLCwuenp4UFBT////8/PyLi4umpqZycnKxsbHMzMykpKTy8vKoqKhcXFwpKSmwsLD+/v7k5OSCgoLw8PDo6Oi0tLRkZGSrq6syMjL6+vrn5+eYmJj29vbd3d3Q0N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f8DQc/cITdx9+UAAAAASUVORK5CYII=", CE = "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==", oL = (n, { videoElement: t }) => {
|
|
22042
22055
|
const e = {
|
|
22043
22056
|
videoMeshes: [],
|
|
22044
22057
|
videoTextureEnabled: !1,
|
|
@@ -22584,15 +22597,15 @@ function jE(n, t, e) {
|
|
|
22584
22597
|
}, E = (k, L) => {
|
|
22585
22598
|
const R = L.map((J) => {
|
|
22586
22599
|
if (k.state.panoIndex !== J.panoIndex)
|
|
22587
|
-
return
|
|
22600
|
+
return he(B({}, J), { visible: !1 });
|
|
22588
22601
|
const ee = M(k, J);
|
|
22589
22602
|
J.name.length * zE;
|
|
22590
22603
|
const K = SE(J.modelPosition[1], l), re = k.currentMode === _t.Mode.Panorama ? C(new i(J.position[0], J.position[1], J.position[2])) : !0, ne = r ? b(k, J) : !1, ae = re && !ne;
|
|
22591
22604
|
if (!ae)
|
|
22592
|
-
return
|
|
22605
|
+
return he(B({}, J), { visible: ae });
|
|
22593
22606
|
v.push(ee);
|
|
22594
22607
|
const Se = TE(ee);
|
|
22595
|
-
return
|
|
22608
|
+
return he(B({}, J), {
|
|
22596
22609
|
visible: ae,
|
|
22597
22610
|
transform: Se,
|
|
22598
22611
|
strokeLength: K
|
|
@@ -22603,7 +22616,7 @@ function jE(n, t, e) {
|
|
|
22603
22616
|
})).sort((J, ee) => J.distance - ee.distance);
|
|
22604
22617
|
return R.map((J) => {
|
|
22605
22618
|
const ee = V.findIndex((K) => K.itemLabelItem.id === J.id);
|
|
22606
|
-
return ee !== void 0 ?
|
|
22619
|
+
return ee !== void 0 ? he(B({}, J), { zIndex: ee * 10 }) : J;
|
|
22607
22620
|
});
|
|
22608
22621
|
}, T = () => {
|
|
22609
22622
|
v = [], e(1, u = E(s, u));
|
|
@@ -22645,14 +22658,14 @@ function jE(n, t, e) {
|
|
|
22645
22658
|
longitude: Math.PI + Math.atan2(ee.x, ee.z),
|
|
22646
22659
|
latitude: Math.acos(ee.y / ee.length()) - Math.PI / 2
|
|
22647
22660
|
};
|
|
22648
|
-
s.setState(
|
|
22661
|
+
s.setState(he(B({}, K), {
|
|
22649
22662
|
mode: _t.Mode.Panorama,
|
|
22650
22663
|
panoIndex: k.observerIndex
|
|
22651
22664
|
})), s.once("initAnimationEnded", () => {
|
|
22652
|
-
e(1, u = u.map((re) =>
|
|
22665
|
+
e(1, u = u.map((re) => he(B({}, re), {
|
|
22653
22666
|
isFold: re.id !== k.id
|
|
22654
22667
|
}))), s.once("cameraUpdate", () => {
|
|
22655
|
-
e(1, u = u.map((re) =>
|
|
22668
|
+
e(1, u = u.map((re) => he(B({}, re), { isFold: !1 })));
|
|
22656
22669
|
});
|
|
22657
22670
|
});
|
|
22658
22671
|
}
|
|
@@ -22707,7 +22720,7 @@ class RE extends Pe {
|
|
|
22707
22720
|
}
|
|
22708
22721
|
}
|
|
22709
22722
|
function BE(n) {
|
|
22710
|
-
return n.item_labels.map((t) =>
|
|
22723
|
+
return n.item_labels.map((t) => he(B({}, t), {
|
|
22711
22724
|
modelPosition: [t.position[0], t.position[1], t.position[2]],
|
|
22712
22725
|
observerIndex: void 0
|
|
22713
22726
|
}));
|
|
@@ -22875,7 +22888,7 @@ function GE(n, t) {
|
|
|
22875
22888
|
return !(e > s && i > r);
|
|
22876
22889
|
}
|
|
22877
22890
|
function WE(n) {
|
|
22878
|
-
const { camera: t } = n, e = t.getWorldDirection(new
|
|
22891
|
+
const { camera: t } = n, e = t.getWorldDirection(new ue());
|
|
22879
22892
|
let i = Math.atan(e.z / e.x) * 180 / Math.PI, s = "";
|
|
22880
22893
|
return e.x < 0 && (i += 180), i < 0 && (i += 360), i > 315 || i <= 45 ? s = "right" : i > 45 && i <= 135 ? s = "back" : i > 135 && i <= 225 ? s = "left" : i > 225 && i <= 315 && (s = "forward"), s;
|
|
22881
22894
|
}
|
|
@@ -22967,11 +22980,11 @@ class XE extends Yn {
|
|
|
22967
22980
|
return;
|
|
22968
22981
|
if (this.five.currentMode !== "Panorama")
|
|
22969
22982
|
return this.hideAllLabels();
|
|
22970
|
-
const s = this.five.getElement(), r = s.clientWidth, o = s.clientHeight, a = i.getWorldDirection(new
|
|
22983
|
+
const s = this.five.getElement(), r = s.clientWidth, o = s.clientHeight, a = i.getWorldDirection(new ue()), l = [];
|
|
22971
22984
|
if (this.labelItems.forEach((T, S) => {
|
|
22972
22985
|
var A;
|
|
22973
22986
|
if (T.visible) {
|
|
22974
|
-
const I = i.position.distanceTo(T.position), w = T.position.clone().add(new
|
|
22987
|
+
const I = i.position.distanceTo(T.position), w = T.position.clone().add(new ue(0, this.OffsetHeight, 0)), k = w.clone().sub(i.position).normalize().angleTo(a), L = w.clone().project(i), R = (L.x + 1) / 2.2 * 100, V = (-L.y + 1) / 2.2 * 100, J = R >= 0 && R <= 100 && V >= 0 && V <= 100 && I > this.MinVisibledistance && I <= this.MaxVisibledistance;
|
|
22975
22988
|
T.left = R, T.top = V, T.inSight = J && k < Math.PI / 2, T.cameraToward = WE(this.five), J ? l.push({ disFromCameraToLabel: I, left: R, top: V, index: S }) : T.transform = "translate(-50%, -50%)";
|
|
22976
22989
|
} else
|
|
22977
22990
|
T.inSight = !1;
|
|
@@ -23012,7 +23025,7 @@ class XE extends Yn {
|
|
|
23012
23025
|
if (o !== null && r !== null) {
|
|
23013
23026
|
const l = {};
|
|
23014
23027
|
if (a > 0) {
|
|
23015
|
-
const h = new
|
|
23028
|
+
const h = new ue(0, 0, -1), u = o.clone(), f = new Ys();
|
|
23016
23029
|
f.setFromUnitVectors(h, u);
|
|
23017
23030
|
const p = new rs();
|
|
23018
23031
|
p.setFromQuaternion(f, "YXZ"), l.longitude = p.y;
|
|
@@ -23038,15 +23051,15 @@ class XE extends Yn {
|
|
|
23038
23051
|
}, C = QE(u, b);
|
|
23039
23052
|
C < f && (f = C, p = b);
|
|
23040
23053
|
}), p && (u.y = p.y + 0.01);
|
|
23041
|
-
const g = new
|
|
23042
|
-
g.add(new
|
|
23054
|
+
const g = new ue(u.x, u.y, u.z);
|
|
23055
|
+
g.add(new ue(-0.2, 1.8, 0).applyEuler(new rs(0, h.rad, 0))), this.doorLabels.push({
|
|
23043
23056
|
roomName: o.name,
|
|
23044
23057
|
name: h.name,
|
|
23045
23058
|
position: g,
|
|
23046
23059
|
toward: UE(h.rad)
|
|
23047
23060
|
});
|
|
23048
23061
|
});
|
|
23049
|
-
}), this.labelItems = this.doorLabels.map((o) =>
|
|
23062
|
+
}), this.labelItems = this.doorLabels.map((o) => he(B({}, o), {
|
|
23050
23063
|
left: 0,
|
|
23051
23064
|
top: 0,
|
|
23052
23065
|
visible: !1,
|
|
@@ -23111,7 +23124,7 @@ const hL = (n) => new XE(n);
|
|
|
23111
23124
|
function Cv(n, t) {
|
|
23112
23125
|
console.warn(`🚫 ==> [${n}]: ${t}`);
|
|
23113
23126
|
}
|
|
23114
|
-
var
|
|
23127
|
+
var dl = {}, ZE = JE;
|
|
23115
23128
|
function JE(n, t, e) {
|
|
23116
23129
|
return n[0] = t[0] + e[0], n[1] = t[1] + e[1], n;
|
|
23117
23130
|
}
|
|
@@ -23132,27 +23145,27 @@ var n2 = s2;
|
|
|
23132
23145
|
function s2(n, t) {
|
|
23133
23146
|
return n[0] * t[0] + n[1] * t[1];
|
|
23134
23147
|
}
|
|
23135
|
-
var r2 = ZE,
|
|
23136
|
-
|
|
23137
|
-
return r2(t, i, s), Pv(t, t),
|
|
23148
|
+
var r2 = ZE, Oc = qE, Pv = $E, o2 = t2, a2 = n2, Of = [0, 0];
|
|
23149
|
+
dl.computeMiter = function(t, e, i, s, r) {
|
|
23150
|
+
return r2(t, i, s), Pv(t, t), Oc(e, -t[1], t[0]), Oc(Of, -i[1], i[0]), r / a2(e, Of);
|
|
23138
23151
|
};
|
|
23139
|
-
|
|
23140
|
-
return
|
|
23152
|
+
dl.normal = function(t, e) {
|
|
23153
|
+
return Oc(t, -e[1], e[0]), t;
|
|
23141
23154
|
};
|
|
23142
|
-
|
|
23155
|
+
dl.direction = function(t, e, i) {
|
|
23143
23156
|
return o2(t, e, i), Pv(t, t), t;
|
|
23144
23157
|
};
|
|
23145
|
-
var on =
|
|
23158
|
+
var on = dl, ns = [0, 0], la = [0, 0], zf = [0, 0], Xr = [0, 0], l2 = function(n, t) {
|
|
23146
23159
|
var e = null, i = [];
|
|
23147
23160
|
t && (n = n.slice(), n.push(n[0]));
|
|
23148
23161
|
for (var s = n.length, r = 1; r < s; r++) {
|
|
23149
23162
|
var o = n[r - 1], a = n[r], l = r < n.length - 1 ? n[r + 1] : null;
|
|
23150
|
-
if (on.direction(ns, a, o), e || (e = [0, 0], on.normal(e, ns)), r === 1 &&
|
|
23151
|
-
on.normal(e, ns),
|
|
23163
|
+
if (on.direction(ns, a, o), e || (e = [0, 0], on.normal(e, ns)), r === 1 && _l(i, e, 1), !l)
|
|
23164
|
+
on.normal(e, ns), _l(i, e, 1);
|
|
23152
23165
|
else {
|
|
23153
23166
|
on.direction(la, l, a);
|
|
23154
23167
|
var c = on.computeMiter(zf, Xr, ns, la, 1);
|
|
23155
|
-
|
|
23168
|
+
_l(i, Xr, c);
|
|
23156
23169
|
}
|
|
23157
23170
|
}
|
|
23158
23171
|
if (n.length > 2 && t) {
|
|
@@ -23163,7 +23176,7 @@ var on = ul, ns = [0, 0], la = [0, 0], zf = [0, 0], Xr = [0, 0], l2 = function(n
|
|
|
23163
23176
|
}
|
|
23164
23177
|
return i;
|
|
23165
23178
|
};
|
|
23166
|
-
function
|
|
23179
|
+
function _l(n, t, e) {
|
|
23167
23180
|
n.push([[t[0], t[1]], e]);
|
|
23168
23181
|
}
|
|
23169
23182
|
function Iv(n, t) {
|
|
@@ -23224,9 +23237,9 @@ function p2(n) {
|
|
|
23224
23237
|
})();
|
|
23225
23238
|
let Z = [];
|
|
23226
23239
|
for (let L = 0; L < l; L++) {
|
|
23227
|
-
const [R, V] = c[L][0], J = a[L], { x: ee, y: K, z: re } = J, ne = new
|
|
23240
|
+
const [R, V] = c[L][0], J = a[L], { x: ee, y: K, z: re } = J, ne = new ue(ee + R * i, K + 0.05, re + V * i);
|
|
23228
23241
|
m[L * 6 + 0] = ne.x, m[L * 6 + 1] = ne.y, m[L * 6 + 2] = ne.z;
|
|
23229
|
-
const ae = new
|
|
23242
|
+
const ae = new ue(ee - R * i, K + 0.05, re - V * i);
|
|
23230
23243
|
m[L * 6 + 3] = ae.x, m[L * 6 + 4] = ae.y, m[L * 6 + 5] = ae.z, M += L > 0 ? a[L - 1].clone().sub(a[L]).length() : 0;
|
|
23231
23244
|
const Se = M / e;
|
|
23232
23245
|
E = Se, b[L * 4 + 0] = 0, b[L * 4 + 1] = Se, b[L * 4 + 2] = 1, b[L * 4 + 3] = Se;
|
|
@@ -23373,7 +23386,7 @@ function y2(n) {
|
|
|
23373
23386
|
function w2(n) {
|
|
23374
23387
|
return n.stickType === "Plane" && n.contentType === "MediaPlane";
|
|
23375
23388
|
}
|
|
23376
|
-
function
|
|
23389
|
+
function zc(n) {
|
|
23377
23390
|
const t = (() => {
|
|
23378
23391
|
if (ps(n) && n.matrix) {
|
|
23379
23392
|
const e = new tt().fromArray(n.matrix);
|
|
@@ -23384,7 +23397,7 @@ function Oc(n) {
|
|
|
23384
23397
|
return WA(t);
|
|
23385
23398
|
}
|
|
23386
23399
|
function jf(n) {
|
|
23387
|
-
const t =
|
|
23400
|
+
const t = zc(n);
|
|
23388
23401
|
return ci(...Array.isArray(t) ? t : [t]);
|
|
23389
23402
|
}
|
|
23390
23403
|
function ca(n, t) {
|
|
@@ -23596,7 +23609,7 @@ function O2(n) {
|
|
|
23596
23609
|
const [t, e, i, s] = n, r = t.distanceTo(e), o = e.distanceTo(i), a = i.distanceTo(s), l = s.distanceTo(t), c = t.distanceTo(i), h = e.distanceTo(s);
|
|
23597
23610
|
return r === a && o === l && c === h;
|
|
23598
23611
|
}
|
|
23599
|
-
class
|
|
23612
|
+
class Fl extends y.Mesh {
|
|
23600
23613
|
/**
|
|
23601
23614
|
* @description 生成一个四边形的Mesh
|
|
23602
23615
|
* @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
|
|
@@ -23757,7 +23770,7 @@ let kv = class extends y.Mesh {
|
|
|
23757
23770
|
});
|
|
23758
23771
|
}
|
|
23759
23772
|
};
|
|
23760
|
-
class
|
|
23773
|
+
class jc extends kv {
|
|
23761
23774
|
constructor(e, i, s) {
|
|
23762
23775
|
var a;
|
|
23763
23776
|
super();
|
|
@@ -23810,7 +23823,7 @@ class Dv extends kv {
|
|
|
23810
23823
|
d(this, "buttonMesh");
|
|
23811
23824
|
d(this, "videoTextureMap");
|
|
23812
23825
|
d(this, "ImageTextureMap");
|
|
23813
|
-
this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? _h : a === "withoutText" ?
|
|
23826
|
+
this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? _h : a === "withoutText" ? Lc : typeof a == "string" ? a : Lc)(), this.videoCoverSrc = r, this.objectFit = o, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(ci(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
|
|
23814
23827
|
l ? this.addButtonMesh() : this.play(!0);
|
|
23815
23828
|
}), this.addEventListener("removed", () => {
|
|
23816
23829
|
this.remove(...this.children);
|
|
@@ -23857,8 +23870,8 @@ class Dv extends kv {
|
|
|
23857
23870
|
return this.coverMesh;
|
|
23858
23871
|
if (!this.videoCoverSrc)
|
|
23859
23872
|
return;
|
|
23860
|
-
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), r = new y.MeshBasicMaterial({ transparent: !1, map: i }), o = io(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new
|
|
23861
|
-
return a.position.copy(new
|
|
23873
|
+
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), r = new y.MeshBasicMaterial({ transparent: !1, map: i }), o = io(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new Fl(o, r);
|
|
23874
|
+
return a.position.copy(new ue(0, 0, 0)), a.name = "videoCoverMesh", a;
|
|
23862
23875
|
}))();
|
|
23863
23876
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
23864
23877
|
});
|
|
@@ -23877,8 +23890,8 @@ class Dv extends kv {
|
|
|
23877
23890
|
"videoLoaded",
|
|
23878
23891
|
() => l(io(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
|
|
23879
23892
|
);
|
|
23880
|
-
}), a = new
|
|
23881
|
-
return a.name = "videoMesh", a.position.copy(new
|
|
23893
|
+
}), a = new Fl(o, r);
|
|
23894
|
+
return a.name = "videoMesh", a.position.copy(new ue(0, 0, 0)), a;
|
|
23882
23895
|
}))();
|
|
23883
23896
|
if (!e)
|
|
23884
23897
|
return;
|
|
@@ -23906,8 +23919,8 @@ class Dv extends kv {
|
|
|
23906
23919
|
var p, g, v, m;
|
|
23907
23920
|
if (this.buttonMesh)
|
|
23908
23921
|
return this.buttonMesh;
|
|
23909
|
-
const i = (g = (p = this.videoMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? g : 1 / 0, s = (m = (v = this.coverMesh) == null ? void 0 : v.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? m : 1 / 0, r = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, r) / r * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = io("contain", this.cornerPoints, l.image.width / l.image.height), u = new
|
|
23910
|
-
u.position.copy(new
|
|
23922
|
+
const i = (g = (p = this.videoMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? g : 1 / 0, s = (m = (v = this.coverMesh) == null ? void 0 : v.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? m : 1 / 0, r = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, r) / r * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = io("contain", this.cornerPoints, l.image.width / l.image.height), u = new Fl(h, new j2(l));
|
|
23923
|
+
u.position.copy(new ue(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
|
|
23911
23924
|
u,
|
|
23912
23925
|
"click",
|
|
23913
23926
|
() => {
|
|
@@ -24244,7 +24257,7 @@ const _2 = {
|
|
|
24244
24257
|
renderType: "Dom"
|
|
24245
24258
|
};
|
|
24246
24259
|
var F2 = /* @__PURE__ */ ((n) => (n.PointTag = "PointTag", n.PlaneTag = "PlaneTag", n))(F2 || {}), H2 = /* @__PURE__ */ ((n) => (n.Audio = "Audio", n.Text = "Text", n.ImageText = "ImageText", n.Image = "Image", n.Video = "Video", n.Link = "Link", n.Sticker = "Sticker", n.VRLink = "VRLink", n.PanoLink = "PanoLink", n.Marketing = "Marketing", n.MediaPlane = "MediaPlane", n.MediaModel = "MediaModel", n.Model = "Model", n.Panorama = "Panorama", n.Custom = "Custom", n.Unknown = "Unknown", n))(H2 || {}), N2 = /* @__PURE__ */ ((n) => (n.Two = "2D", n.Three = "3D", n))(N2 || {});
|
|
24247
|
-
function
|
|
24260
|
+
function Hl(n, t, e) {
|
|
24248
24261
|
var p, g, v, m, b;
|
|
24249
24262
|
const i = (p = e == null ? void 0 : e.useCache) != null ? p : !0;
|
|
24250
24263
|
if (!n)
|
|
@@ -24286,7 +24299,7 @@ function Fl(n, t, e) {
|
|
|
24286
24299
|
const E = h[C];
|
|
24287
24300
|
h[C] = st({}, l, E, ...Object.values(M), a, { _isMerged: !0 });
|
|
24288
24301
|
});
|
|
24289
|
-
const f =
|
|
24302
|
+
const f = he(B({}, c), { configWithFiveMode: h });
|
|
24290
24303
|
return Bf(f), Object.values(h).forEach((C) => Bf(C)), f._isMerged = !0, f;
|
|
24291
24304
|
}
|
|
24292
24305
|
function Vf(n) {
|
|
@@ -24372,7 +24385,7 @@ class Nh {
|
|
|
24372
24385
|
e.stickType = i;
|
|
24373
24386
|
const s = JSON.parse(JSON.stringify(e.data)), r = (l = e.initialConfig) != null ? l : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
24374
24387
|
e.initialConfig = r;
|
|
24375
|
-
const o =
|
|
24388
|
+
const o = Hl(e, t.config), a = this.getConfig(e);
|
|
24376
24389
|
e.config = a, this.id = (c = e.id) != null ? c : kt(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = a.initialData) != null && u.important ? st(e.data, s, a.initialData) : st(e.data, a.initialData, s), this.state = B({
|
|
24377
24390
|
visible: void 0,
|
|
24378
24391
|
unfolded: !this.can("fold")
|
|
@@ -24403,12 +24416,12 @@ class Nh {
|
|
|
24403
24416
|
return this.plugin.workUtil;
|
|
24404
24417
|
}
|
|
24405
24418
|
get centerPosition() {
|
|
24406
|
-
const t =
|
|
24419
|
+
const t = zc(this);
|
|
24407
24420
|
return ci(...Array.isArray(t) ? t : [t]);
|
|
24408
24421
|
}
|
|
24409
24422
|
get currentConfig() {
|
|
24410
24423
|
var s, r;
|
|
24411
|
-
const t =
|
|
24424
|
+
const t = Hl(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, i = (s = t.configWithFiveMode) == null ? void 0 : s[e];
|
|
24412
24425
|
return (r = i != null ? i : t) != null ? r : {};
|
|
24413
24426
|
}
|
|
24414
24427
|
get currentVisible() {
|
|
@@ -24482,7 +24495,7 @@ class Nh {
|
|
|
24482
24495
|
console.warn("tagDom is empty");
|
|
24483
24496
|
return;
|
|
24484
24497
|
}
|
|
24485
|
-
yield (s ?
|
|
24498
|
+
yield (s ? il : dg)(r, B({
|
|
24486
24499
|
begin: () => {
|
|
24487
24500
|
s === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
24488
24501
|
},
|
|
@@ -24571,7 +24584,7 @@ class Nh {
|
|
|
24571
24584
|
}
|
|
24572
24585
|
getConfig(t, e) {
|
|
24573
24586
|
var o, a, l;
|
|
24574
|
-
const i =
|
|
24587
|
+
const i = Hl(t != null ? t : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), s = (o = e == null ? void 0 : e.fiveMode) != null ? o : this.five.getCurrentState().mode, r = (a = i.configWithFiveMode) == null ? void 0 : a[s];
|
|
24575
24588
|
return (l = r != null ? r : i) != null ? l : {};
|
|
24576
24589
|
}
|
|
24577
24590
|
getDistance(t, e = 3) {
|
|
@@ -24757,7 +24770,7 @@ class Nh {
|
|
|
24757
24770
|
(() => {
|
|
24758
24771
|
var p;
|
|
24759
24772
|
const f = (p = e.checkPoints) != null ? p : "center";
|
|
24760
|
-
return f === "center" ? jf(this) : f === "corner" ?
|
|
24773
|
+
return f === "center" ? jf(this) : f === "corner" ? zc(this) : Array.isArray(f) ? f : [];
|
|
24761
24774
|
})()
|
|
24762
24775
|
);
|
|
24763
24776
|
let o = 0, a = 0;
|
|
@@ -24851,7 +24864,7 @@ class Nh {
|
|
|
24851
24864
|
}).map((a) => ({ tag: a, id: a.id, tagConfig: a.getConfig().unfoldedConfig })).filter(({ tagConfig: a }) => {
|
|
24852
24865
|
var l, c;
|
|
24853
24866
|
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((l = a.autoUnfold) == null ? void 0 : l.enable) === !1 || ((c = a.autoUnfold) == null ? void 0 : c.strategy) !== "MinimumDistance");
|
|
24854
|
-
}).map((a) =>
|
|
24867
|
+
}).map((a) => he(B({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
|
|
24855
24868
|
const c = l.autoUnfold.distance;
|
|
24856
24869
|
return !(c && ca(a, c) === !1);
|
|
24857
24870
|
}).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
|
|
@@ -24891,7 +24904,7 @@ class Nh {
|
|
|
24891
24904
|
return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
|
|
24892
24905
|
if (!this.enabled)
|
|
24893
24906
|
return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
|
|
24894
|
-
const t =
|
|
24907
|
+
const t = he(B({}, this.computeVisible()), {
|
|
24895
24908
|
tagInstance: this
|
|
24896
24909
|
});
|
|
24897
24910
|
return t.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: t } : this.state.visible ? { reason: "应该是能看见才对", info: t } : t.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: t } : { reason: (e = t.reason.type) != null ? e : t.reason, info: t };
|
|
@@ -25034,10 +25047,10 @@ class Lv extends dn {
|
|
|
25034
25047
|
const i = (T = e.container) != null ? T : document.createElement("div"), s = (S = e.cornerPoints) != null ? S : (() => {
|
|
25035
25048
|
const A = e.width / 2;
|
|
25036
25049
|
return [
|
|
25037
|
-
new
|
|
25038
|
-
new
|
|
25039
|
-
new
|
|
25040
|
-
new
|
|
25050
|
+
new ue(-A, A, 0),
|
|
25051
|
+
new ue(-A, -A, 0),
|
|
25052
|
+
new ue(A, -A, 0),
|
|
25053
|
+
new ue(A, A, 0)
|
|
25041
25054
|
];
|
|
25042
25055
|
})(), r = (_ = e.ratio) != null ? _ : Y2, o = (H = e.dpr) != null ? H : 1, a = (Z = e.pointerEvents) != null ? Z : "auto", l = Math.max(U2, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]);
|
|
25043
25056
|
let u = lr(c / r * o), f = lr(h / r * o);
|
|
@@ -25072,12 +25085,12 @@ class Lv extends dn {
|
|
|
25072
25085
|
this.width = c, this.height = h, this.centerPosition = p;
|
|
25073
25086
|
else {
|
|
25074
25087
|
const A = r / l;
|
|
25075
|
-
this.width = A * c, this.height = A * h, u = A * u, f = A * f, this.centerPosition = new
|
|
25088
|
+
this.width = A * c, this.height = A * h, u = A * u, f = A * f, this.centerPosition = new ue().subVectors(p, s[0]).multiplyScalar(A).add(s[0]);
|
|
25076
25089
|
}
|
|
25077
25090
|
this.domWidthPx = u, this.domHeightPx = f, i.classList.add(`${_f}__container`);
|
|
25078
|
-
const v = new
|
|
25091
|
+
const v = new ue().subVectors(s[1], s[0]), m = new ue().subVectors(s[3], s[0]), b = new ue().crossVectors(v, m).normalize();
|
|
25079
25092
|
this.lookAt(b);
|
|
25080
|
-
const C = this.up.clone().applyQuaternion(this.quaternion), M = m.clone(), E = new
|
|
25093
|
+
const C = this.up.clone().applyQuaternion(this.quaternion), M = m.clone(), E = new ue().crossVectors(C, M).normalize();
|
|
25081
25094
|
this.rotateOnWorldAxis(E, C.angleTo(M)), this.position.copy(p), this._opacityMesh = new Fm(u, f), this._opacityMesh.visible = e.mode === "behind", this.add(this._opacityMesh);
|
|
25082
25095
|
}
|
|
25083
25096
|
get mode() {
|
|
@@ -25248,7 +25261,7 @@ function Hf(n) {
|
|
|
25248
25261
|
},
|
|
25249
25262
|
i(o) {
|
|
25250
25263
|
r || (o && gt(() => {
|
|
25251
|
-
r && (s && s.end(1), i = Wn(t,
|
|
25264
|
+
r && (s && s.end(1), i = Wn(t, Ba, {
|
|
25252
25265
|
duration: (
|
|
25253
25266
|
/*duration*/
|
|
25254
25267
|
n[2]
|
|
@@ -25262,7 +25275,7 @@ function Hf(n) {
|
|
|
25262
25275
|
}), r = !0);
|
|
25263
25276
|
},
|
|
25264
25277
|
o(o) {
|
|
25265
|
-
i && i.invalidate(), o && (s = Tr(t,
|
|
25278
|
+
i && i.invalidate(), o && (s = Tr(t, Ba, {
|
|
25266
25279
|
duration: (
|
|
25267
25280
|
/*duration*/
|
|
25268
25281
|
n[2]
|
|
@@ -26876,7 +26889,7 @@ function $f(n) {
|
|
|
26876
26889
|
},
|
|
26877
26890
|
i(r) {
|
|
26878
26891
|
s || (r && gt(() => {
|
|
26879
|
-
s && (i && i.end(1), e = Wn(t,
|
|
26892
|
+
s && (i && i.end(1), e = Wn(t, Ba, {
|
|
26880
26893
|
duration: (
|
|
26881
26894
|
/*duration*/
|
|
26882
26895
|
n[1]
|
|
@@ -26890,7 +26903,7 @@ function $f(n) {
|
|
|
26890
26903
|
}), s = !0);
|
|
26891
26904
|
},
|
|
26892
26905
|
o(r) {
|
|
26893
|
-
e && e.invalidate(), r && (i = Tr(t,
|
|
26906
|
+
e && e.invalidate(), r && (i = Tr(t, Ba, {
|
|
26894
26907
|
duration: (
|
|
26895
26908
|
/*duration*/
|
|
26896
26909
|
n[1]
|
|
@@ -27128,7 +27141,7 @@ function QM(n) {
|
|
|
27128
27141
|
};
|
|
27129
27142
|
}
|
|
27130
27143
|
function UM(n, t, e) {
|
|
27131
|
-
const i =
|
|
27144
|
+
const i = sl();
|
|
27132
27145
|
let { pagesCount: s = 1 } = t, { currentPageIndex: r = 0 } = t;
|
|
27133
27146
|
function o(l) {
|
|
27134
27147
|
i("pageChange", l);
|
|
@@ -27294,7 +27307,7 @@ function Qh(n) {
|
|
|
27294
27307
|
};
|
|
27295
27308
|
}
|
|
27296
27309
|
const rx = 110, ox = 9, ax = 111, lx = 20;
|
|
27297
|
-
function
|
|
27310
|
+
function Nl(n) {
|
|
27298
27311
|
if ("TouchEvent" in window && n instanceof TouchEvent) {
|
|
27299
27312
|
const t = n.touches[0];
|
|
27300
27313
|
return {
|
|
@@ -27315,13 +27328,13 @@ function cx(n, { thresholdProvider: t }) {
|
|
|
27315
27328
|
}
|
|
27316
27329
|
function c(f) {
|
|
27317
27330
|
o = Date.now(), r = 0, a = !0;
|
|
27318
|
-
const p =
|
|
27331
|
+
const p = Nl(f);
|
|
27319
27332
|
i = p.x, s = p.y, e("swipeStart", { x: i, y: s }), sx(window, h), nx(window, u);
|
|
27320
27333
|
}
|
|
27321
27334
|
function h(f) {
|
|
27322
27335
|
if (!a)
|
|
27323
27336
|
return;
|
|
27324
|
-
const p =
|
|
27337
|
+
const p = Nl(f), g = p.x - i, v = p.y - s;
|
|
27325
27338
|
i = p.x, s = p.y, e("swipeMove", { x: i, y: s, dx: g, dy: v }), g !== 0 && Math.sign(g) !== Math.sign(r) && (r = 0), r += g, Math.abs(r) > t() && (e("swipeThresholdReached", { direction: r > 0 ? yr : Nn }), np(window, u), sp(window, h));
|
|
27326
27339
|
}
|
|
27327
27340
|
function u(f) {
|
|
@@ -27329,7 +27342,7 @@ function cx(n, { thresholdProvider: t }) {
|
|
|
27329
27342
|
e("swipeFailed");
|
|
27330
27343
|
return;
|
|
27331
27344
|
}
|
|
27332
|
-
const p =
|
|
27345
|
+
const p = Nl(f);
|
|
27333
27346
|
e("swipeEnd", { x: p.x, y: p.y });
|
|
27334
27347
|
}
|
|
27335
27348
|
return tx(n, c), {
|
|
@@ -27507,7 +27520,7 @@ function Ex({
|
|
|
27507
27520
|
e - 1
|
|
27508
27521
|
);
|
|
27509
27522
|
}
|
|
27510
|
-
function
|
|
27523
|
+
function Gl({
|
|
27511
27524
|
infinite: n,
|
|
27512
27525
|
pageIndex: t,
|
|
27513
27526
|
clonesCountHead: e,
|
|
@@ -27596,7 +27609,7 @@ function Sx({
|
|
|
27596
27609
|
head: 0,
|
|
27597
27610
|
tail: 0
|
|
27598
27611
|
};
|
|
27599
|
-
return
|
|
27612
|
+
return he(B({}, i), {
|
|
27600
27613
|
total: i.head + i.tail
|
|
27601
27614
|
});
|
|
27602
27615
|
}
|
|
@@ -27606,7 +27619,7 @@ const co = (n, t, e) => {
|
|
|
27606
27619
|
if (e === void 0)
|
|
27607
27620
|
throw new Error(`Required arg "${t}" was not provided`);
|
|
27608
27621
|
return e;
|
|
27609
|
-
},
|
|
27622
|
+
}, Rc = (n) => (t) => {
|
|
27610
27623
|
n[t] && n[t]();
|
|
27611
27624
|
};
|
|
27612
27625
|
var Tx = "Expected a function", Vv = "__lodash_hash_undefined__", _v = 1 / 0, Lx = "[object Function]", Ox = "[object GeneratorFunction]", zx = "[object Symbol]", jx = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Rx = /^\w*$/, Bx = /^\./, Vx = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, _x = /[\\^$.*+?()[\]{}|]/g, Fx = /\\(\\)?/g, Hx = /^\[object .+?Constructor\]$/, Nx = typeof pi == "object" && pi && pi.Object === Object && pi, Gx = typeof self == "object" && self && self.Object === Object && self, Uh = Nx || Gx || Function("return this")();
|
|
@@ -27622,8 +27635,8 @@ function Qx(n) {
|
|
|
27622
27635
|
}
|
|
27623
27636
|
return t;
|
|
27624
27637
|
}
|
|
27625
|
-
var Ux = Array.prototype, Yx = Function.prototype, Fv = Object.prototype,
|
|
27626
|
-
var n = /[^.]+$/.exec(
|
|
27638
|
+
var Ux = Array.prototype, Yx = Function.prototype, Fv = Object.prototype, Wl = Uh["__core-js_shared__"], ap = function() {
|
|
27639
|
+
var n = /[^.]+$/.exec(Wl && Wl.keys && Wl.keys.IE_PROTO || "");
|
|
27627
27640
|
return n ? "Symbol(src)_1." + n : "";
|
|
27628
27641
|
}(), Hv = Yx.toString, Yh = Fv.hasOwnProperty, Nv = Fv.toString, Xx = RegExp(
|
|
27629
27642
|
"^" + Hv.call(Yh).replace(_x, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
@@ -27673,21 +27686,21 @@ function i3() {
|
|
|
27673
27686
|
this.__data__ = [];
|
|
27674
27687
|
}
|
|
27675
27688
|
function n3(n) {
|
|
27676
|
-
var t = this.__data__, e =
|
|
27689
|
+
var t = this.__data__, e = fl(t, n);
|
|
27677
27690
|
if (e < 0)
|
|
27678
27691
|
return !1;
|
|
27679
27692
|
var i = t.length - 1;
|
|
27680
27693
|
return e == i ? t.pop() : Zx.call(t, e, 1), !0;
|
|
27681
27694
|
}
|
|
27682
27695
|
function s3(n) {
|
|
27683
|
-
var t = this.__data__, e =
|
|
27696
|
+
var t = this.__data__, e = fl(t, n);
|
|
27684
27697
|
return e < 0 ? void 0 : t[e][1];
|
|
27685
27698
|
}
|
|
27686
27699
|
function r3(n) {
|
|
27687
|
-
return
|
|
27700
|
+
return fl(this.__data__, n) > -1;
|
|
27688
27701
|
}
|
|
27689
27702
|
function o3(n, t) {
|
|
27690
|
-
var e = this.__data__, i =
|
|
27703
|
+
var e = this.__data__, i = fl(e, n);
|
|
27691
27704
|
return i < 0 ? e.push([n, t]) : e[i][1] = t, this;
|
|
27692
27705
|
}
|
|
27693
27706
|
Lr.prototype.clear = i3;
|
|
@@ -27710,23 +27723,23 @@ function a3() {
|
|
|
27710
27723
|
};
|
|
27711
27724
|
}
|
|
27712
27725
|
function l3(n) {
|
|
27713
|
-
return
|
|
27726
|
+
return pl(this, n).delete(n);
|
|
27714
27727
|
}
|
|
27715
27728
|
function c3(n) {
|
|
27716
|
-
return
|
|
27729
|
+
return pl(this, n).get(n);
|
|
27717
27730
|
}
|
|
27718
27731
|
function h3(n) {
|
|
27719
|
-
return
|
|
27732
|
+
return pl(this, n).has(n);
|
|
27720
27733
|
}
|
|
27721
27734
|
function u3(n, t) {
|
|
27722
|
-
return
|
|
27735
|
+
return pl(this, n).set(n, t), this;
|
|
27723
27736
|
}
|
|
27724
27737
|
xs.prototype.clear = a3;
|
|
27725
27738
|
xs.prototype.delete = l3;
|
|
27726
27739
|
xs.prototype.get = c3;
|
|
27727
27740
|
xs.prototype.has = h3;
|
|
27728
27741
|
xs.prototype.set = u3;
|
|
27729
|
-
function
|
|
27742
|
+
function fl(n, t) {
|
|
27730
27743
|
for (var e = n.length; e--; )
|
|
27731
27744
|
if (C3(n[e][0], t))
|
|
27732
27745
|
return e;
|
|
@@ -27755,7 +27768,7 @@ function p3(n) {
|
|
|
27755
27768
|
function m3(n) {
|
|
27756
27769
|
return Wv(n) ? n : b3(n);
|
|
27757
27770
|
}
|
|
27758
|
-
function
|
|
27771
|
+
function pl(n, t) {
|
|
27759
27772
|
var e = n.__data__;
|
|
27760
27773
|
return v3(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
27761
27774
|
}
|
|
@@ -27840,12 +27853,12 @@ function M3(n, t, e) {
|
|
|
27840
27853
|
var i = n == null ? void 0 : d3(n, t);
|
|
27841
27854
|
return i === void 0 ? e : i;
|
|
27842
27855
|
}
|
|
27843
|
-
var ua = M3,
|
|
27856
|
+
var ua = M3, Qa = {}, x3 = {
|
|
27844
27857
|
get exports() {
|
|
27845
|
-
return
|
|
27858
|
+
return Qa;
|
|
27846
27859
|
},
|
|
27847
27860
|
set exports(n) {
|
|
27848
|
-
|
|
27861
|
+
Qa = n;
|
|
27849
27862
|
}
|
|
27850
27863
|
};
|
|
27851
27864
|
(function(n, t) {
|
|
@@ -28165,7 +28178,7 @@ var ua = M3, Wa = {}, x3 = {
|
|
|
28165
28178
|
var q = De(P, z);
|
|
28166
28179
|
return Qt(q) ? q : void 0;
|
|
28167
28180
|
}
|
|
28168
|
-
var W = Jn ? xe(Jn, Object) :
|
|
28181
|
+
var W = Jn ? xe(Jn, Object) : bl, te = In;
|
|
28169
28182
|
(vn && te(new vn(new ArrayBuffer(1))) != S || hi && te(new hi()) != f || ni && te(ni.resolve()) != v || An && te(new An()) != b || bn && te(new bn()) != E) && (te = function(P) {
|
|
28170
28183
|
var z = Pt.call(P), q = z == g ? P.constructor : void 0, se = q ? Yt(q) : void 0;
|
|
28171
28184
|
if (se)
|
|
@@ -28257,16 +28270,16 @@ var ua = M3, Wa = {}, x3 = {
|
|
|
28257
28270
|
return P === z || P !== P && z !== z;
|
|
28258
28271
|
}
|
|
28259
28272
|
function Bs(P) {
|
|
28260
|
-
return
|
|
28273
|
+
return Al(P) && rt.call(P, "callee") && (!ji.call(P, "callee") || Pt.call(P) == r);
|
|
28261
28274
|
}
|
|
28262
28275
|
var Nr = Array.isArray;
|
|
28263
28276
|
function Vs(P) {
|
|
28264
28277
|
return P != null && Ho(P.length) && !Gr(P);
|
|
28265
28278
|
}
|
|
28266
|
-
function
|
|
28279
|
+
function Al(P) {
|
|
28267
28280
|
return No(P) && Vs(P);
|
|
28268
28281
|
}
|
|
28269
|
-
var Fo = gn ||
|
|
28282
|
+
var Fo = gn || yl;
|
|
28270
28283
|
function Gr(P) {
|
|
28271
28284
|
var z = Fi(P) ? Pt.call(P) : "";
|
|
28272
28285
|
return z == h || z == u;
|
|
@@ -28284,21 +28297,21 @@ var ua = M3, Wa = {}, x3 = {
|
|
|
28284
28297
|
function Wr(P) {
|
|
28285
28298
|
return Vs(P) ? Gt(P) : En(P);
|
|
28286
28299
|
}
|
|
28287
|
-
function
|
|
28300
|
+
function bl() {
|
|
28288
28301
|
return [];
|
|
28289
28302
|
}
|
|
28290
|
-
function
|
|
28303
|
+
function yl() {
|
|
28291
28304
|
return !1;
|
|
28292
28305
|
}
|
|
28293
28306
|
n.exports = Vo;
|
|
28294
|
-
})(x3,
|
|
28295
|
-
const k3 =
|
|
28296
|
-
var
|
|
28307
|
+
})(x3, Qa);
|
|
28308
|
+
const k3 = Qa;
|
|
28309
|
+
var Ua = {}, D3 = {
|
|
28297
28310
|
get exports() {
|
|
28298
|
-
return
|
|
28311
|
+
return Ua;
|
|
28299
28312
|
},
|
|
28300
28313
|
set exports(n) {
|
|
28301
|
-
|
|
28314
|
+
Ua = n;
|
|
28302
28315
|
}
|
|
28303
28316
|
};
|
|
28304
28317
|
(function(n, t) {
|
|
@@ -28686,7 +28699,7 @@ var Qa = {}, D3 = {
|
|
|
28686
28699
|
return P == null ? [] : (P = Object(P), de(An(P), function(z) {
|
|
28687
28700
|
return vn.call(P, z);
|
|
28688
28701
|
}));
|
|
28689
|
-
} :
|
|
28702
|
+
} : bl, be = Ci;
|
|
28690
28703
|
(qi && be(new qi(new ArrayBuffer(1))) != w || Ki && be(new Ki()) != v || qn && be(qn.resolve()) != M || Kn && be(new Kn()) != S || yn && be(new yn()) != A) && (be = function(P) {
|
|
28691
28704
|
var z = Ci(P), q = z == C ? P.constructor : void 0, se = q ? Yt(q) : "";
|
|
28692
28705
|
if (se)
|
|
@@ -28745,8 +28758,8 @@ var Qa = {}, D3 = {
|
|
|
28745
28758
|
function Nr(P) {
|
|
28746
28759
|
return P != null && Gr(P.length) && !Fo(P);
|
|
28747
28760
|
}
|
|
28748
|
-
var Vs = bn ||
|
|
28749
|
-
function
|
|
28761
|
+
var Vs = bn || yl;
|
|
28762
|
+
function Al(P, z) {
|
|
28750
28763
|
return sn(P, z);
|
|
28751
28764
|
}
|
|
28752
28765
|
function Fo(P) {
|
|
@@ -28769,15 +28782,15 @@ var Qa = {}, D3 = {
|
|
|
28769
28782
|
function Wr(P) {
|
|
28770
28783
|
return Nr(P) ? En(P) : ts(P);
|
|
28771
28784
|
}
|
|
28772
|
-
function
|
|
28785
|
+
function bl() {
|
|
28773
28786
|
return [];
|
|
28774
28787
|
}
|
|
28775
|
-
function
|
|
28788
|
+
function yl() {
|
|
28776
28789
|
return !1;
|
|
28777
28790
|
}
|
|
28778
|
-
n.exports =
|
|
28779
|
-
})(D3,
|
|
28780
|
-
const S3 =
|
|
28791
|
+
n.exports = Al;
|
|
28792
|
+
})(D3, Ua);
|
|
28793
|
+
const S3 = Ua, T3 = (n, t) => S3(n, t), L3 = (n) => Object.keys(n || {}), O3 = (n, t) => {
|
|
28781
28794
|
const e = {};
|
|
28782
28795
|
return n.forEach((i) => {
|
|
28783
28796
|
e[i] = t[i];
|
|
@@ -29044,7 +29057,7 @@ function N3(n) {
|
|
|
29044
29057
|
},
|
|
29045
29058
|
methods: {
|
|
29046
29059
|
_prev({ data: o }) {
|
|
29047
|
-
o.currentParticleIndex =
|
|
29060
|
+
o.currentParticleIndex = Gl({
|
|
29048
29061
|
infinite: o.infinite,
|
|
29049
29062
|
pageIndex: o.currentPageIndex - 1,
|
|
29050
29063
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -29055,7 +29068,7 @@ function N3(n) {
|
|
|
29055
29068
|
});
|
|
29056
29069
|
},
|
|
29057
29070
|
_next({ data: o }) {
|
|
29058
|
-
o.currentParticleIndex =
|
|
29071
|
+
o.currentParticleIndex = Gl({
|
|
29059
29072
|
infinite: o.infinite,
|
|
29060
29073
|
pageIndex: o.currentPageIndex + 1,
|
|
29061
29074
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -29082,7 +29095,7 @@ function N3(n) {
|
|
|
29082
29095
|
return;
|
|
29083
29096
|
}
|
|
29084
29097
|
if (o.autoplay) {
|
|
29085
|
-
const c = () =>
|
|
29098
|
+
const c = () => Rc({
|
|
29086
29099
|
[Nn]: () => $(this, null, function* () {
|
|
29087
29100
|
return a.showNextPage();
|
|
29088
29101
|
}),
|
|
@@ -29134,7 +29147,7 @@ function N3(n) {
|
|
|
29134
29147
|
});
|
|
29135
29148
|
},
|
|
29136
29149
|
_getParticleIndexByPageIndex({ data: o }, a) {
|
|
29137
|
-
return
|
|
29150
|
+
return Gl({
|
|
29138
29151
|
infinite: o.infinite,
|
|
29139
29152
|
pageIndex: a,
|
|
29140
29153
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -29721,7 +29734,7 @@ function q3(n) {
|
|
|
29721
29734
|
function K3(n, t, e) {
|
|
29722
29735
|
let { $$slots: i = {}, $$scope: s } = t, r = [], o, a, l = 0, c = 0, h = 1;
|
|
29723
29736
|
const [{ data: u, progressManager: f }, p, g] = N3((de, xe) => {
|
|
29724
|
-
|
|
29737
|
+
Rc({
|
|
29725
29738
|
currentPageIndex: () => e(5, o = xe),
|
|
29726
29739
|
progressValue: () => e(7, a = xe),
|
|
29727
29740
|
offset: () => e(8, l = xe),
|
|
@@ -29729,7 +29742,7 @@ function K3(n, t, e) {
|
|
|
29729
29742
|
pagesCount: () => e(10, h = xe),
|
|
29730
29743
|
loaded: () => e(6, r = xe)
|
|
29731
29744
|
})(de);
|
|
29732
|
-
}), v =
|
|
29745
|
+
}), v = sl();
|
|
29733
29746
|
let { timingFunction: m = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: C = !0 } = t, { initialPageIndex: M = 0 } = t, { duration: E = 500 } = t, { autoplay: T = !1 } = t, { autoplayDuration: S = 3e3 } = t, { autoplayDirection: _ = Nn } = t, { pauseOnFocus: H = !1 } = t, { autoplayProgressVisible: Z = !1 } = t, { dots: A = !0 } = t, { swiping: I = !0 } = t, { particlesToShow: w = 1 } = t, { particlesToScroll: x = 1 } = t;
|
|
29734
29747
|
function k(de, xe) {
|
|
29735
29748
|
return $(this, null, function* () {
|
|
@@ -29787,7 +29800,7 @@ function K3(n, t, e) {
|
|
|
29787
29800
|
}
|
|
29788
29801
|
function Se(de) {
|
|
29789
29802
|
return $(this, null, function* () {
|
|
29790
|
-
I && (yield
|
|
29803
|
+
I && (yield Rc({
|
|
29791
29804
|
[Nn]: p.showNextPage,
|
|
29792
29805
|
[yr]: p.showPrevPage
|
|
29793
29806
|
})(de.detail.direction));
|
|
@@ -30268,7 +30281,7 @@ function ok(n, t, e) {
|
|
|
30268
30281
|
r.videoInstance = w, e(0, r);
|
|
30269
30282
|
});
|
|
30270
30283
|
}
|
|
30271
|
-
const A = () => l === "withText" ? _h : l === "withoutText" ?
|
|
30284
|
+
const A = () => l === "withText" ? _h : l === "withoutText" ? Lc : l, I = (w) => {
|
|
30272
30285
|
h && i && (e(10, i.muted = !1, i), i.play());
|
|
30273
30286
|
};
|
|
30274
30287
|
return n.$$set = (w) => {
|
|
@@ -31586,7 +31599,7 @@ function Pk(n) {
|
|
|
31586
31599
|
}
|
|
31587
31600
|
function Ik(n, t, e) {
|
|
31588
31601
|
let { $$slots: i = {}, $$scope: s } = t, { url: r } = t, { enable: o = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
|
|
31589
|
-
const c =
|
|
31602
|
+
const c = sl(), h = _n("hooks"), u = _n("mediaStore");
|
|
31590
31603
|
let f, p = !0;
|
|
31591
31604
|
function g() {
|
|
31592
31605
|
e(
|
|
@@ -32678,7 +32691,7 @@ class Yk extends Pe {
|
|
|
32678
32691
|
super(), Ce(this, t, Uk, Qk, ye, { tag: 0 }, Wk);
|
|
32679
32692
|
}
|
|
32680
32693
|
}
|
|
32681
|
-
const
|
|
32694
|
+
const Ql = /* @__PURE__ */ new Map();
|
|
32682
32695
|
function Jv(n) {
|
|
32683
32696
|
return $(this, null, function* () {
|
|
32684
32697
|
return new Promise((t, e) => {
|
|
@@ -32694,12 +32707,12 @@ function Jv(n) {
|
|
|
32694
32707
|
function Xk(n) {
|
|
32695
32708
|
return $(this, null, function* () {
|
|
32696
32709
|
const { url: t, ratio: e = 3 } = n, i = (() => {
|
|
32697
|
-
if (
|
|
32698
|
-
return
|
|
32710
|
+
if (Ql.has(t))
|
|
32711
|
+
return Ql.get(t);
|
|
32699
32712
|
const o = Jv(t);
|
|
32700
|
-
return
|
|
32713
|
+
return Ql.set(t, o), o;
|
|
32701
32714
|
})(), { width: s, height: r } = yield i;
|
|
32702
|
-
return
|
|
32715
|
+
return he(B({}, n), {
|
|
32703
32716
|
width: s / e,
|
|
32704
32717
|
height: r / e
|
|
32705
32718
|
});
|
|
@@ -32711,7 +32724,7 @@ function Zk(n) {
|
|
|
32711
32724
|
if (!t)
|
|
32712
32725
|
throw new Error("KeyframeIcon requires steps");
|
|
32713
32726
|
const { width: r, height: o } = yield Jv(e), a = r / i, l = o / i, c = a / t, h = l, u = 1 / s * t + "s";
|
|
32714
|
-
return
|
|
32727
|
+
return he(B({}, n), {
|
|
32715
32728
|
width: c,
|
|
32716
32729
|
height: h,
|
|
32717
32730
|
duration: u
|
|
@@ -32812,7 +32825,7 @@ function qk(n) {
|
|
|
32812
32825
|
catch: $k,
|
|
32813
32826
|
value: 19
|
|
32814
32827
|
};
|
|
32815
|
-
return
|
|
32828
|
+
return za(
|
|
32816
32829
|
e = /*getImage*/
|
|
32817
32830
|
n[11](ft({
|
|
32818
32831
|
url: (
|
|
@@ -32844,7 +32857,7 @@ function qk(n) {
|
|
|
32844
32857
|
/*iconRatio*/
|
|
32845
32858
|
n[5]
|
|
32846
32859
|
)
|
|
32847
|
-
}))) &&
|
|
32860
|
+
}))) && za(e, i) || Sg(i, n, r);
|
|
32848
32861
|
},
|
|
32849
32862
|
d(s) {
|
|
32850
32863
|
s && U(t), i.block.d(s), i.token = null, i = null;
|
|
@@ -32862,7 +32875,7 @@ function Kk(n) {
|
|
|
32862
32875
|
catch: iD,
|
|
32863
32876
|
value: 19
|
|
32864
32877
|
};
|
|
32865
|
-
return
|
|
32878
|
+
return za(
|
|
32866
32879
|
e = /*getKeyframe*/
|
|
32867
32880
|
n[10](ft({
|
|
32868
32881
|
url: (
|
|
@@ -32910,7 +32923,7 @@ function Kk(n) {
|
|
|
32910
32923
|
/*iconRatio*/
|
|
32911
32924
|
n[5]
|
|
32912
32925
|
)
|
|
32913
|
-
}))) &&
|
|
32926
|
+
}))) && za(e, i) || Sg(i, n, r);
|
|
32914
32927
|
},
|
|
32915
32928
|
d(s) {
|
|
32916
32929
|
s && U(t), i.block.d(s), i.token = null, i = null;
|
|
@@ -33114,11 +33127,11 @@ function rD(n) {
|
|
|
33114
33127
|
}
|
|
33115
33128
|
function Ks(n) {
|
|
33116
33129
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, r = (s != null ? s : t) * i, o = typeof e == "number" ? r * (e / t) : void 0;
|
|
33117
|
-
return
|
|
33130
|
+
return he(B({}, n), { width: r, height: o });
|
|
33118
33131
|
}
|
|
33119
33132
|
function oD(n, t, e) {
|
|
33120
33133
|
let i, s, r, o, a, l, c, h, u, { width: f = null } = t, { icon: p = null } = t, { shadow: g = !1 } = t;
|
|
33121
|
-
const v =
|
|
33134
|
+
const v = sl();
|
|
33122
33135
|
function m(M) {
|
|
33123
33136
|
return $(this, null, function* () {
|
|
33124
33137
|
const E = yield Zk(M);
|
|
@@ -33128,7 +33141,7 @@ function oD(n, t, e) {
|
|
|
33128
33141
|
function b(M) {
|
|
33129
33142
|
return $(this, null, function* () {
|
|
33130
33143
|
if (typeof u == "number")
|
|
33131
|
-
return
|
|
33144
|
+
return he(B({}, M), { width: u });
|
|
33132
33145
|
const E = yield Xk(M);
|
|
33133
33146
|
return v("iconLoaded", E), E;
|
|
33134
33147
|
});
|
|
@@ -33419,7 +33432,7 @@ function gD(n) {
|
|
|
33419
33432
|
let t, e;
|
|
33420
33433
|
return {
|
|
33421
33434
|
c() {
|
|
33422
|
-
t = new
|
|
33435
|
+
t = new Da(!1), e = Be(), t.a = e;
|
|
33423
33436
|
},
|
|
33424
33437
|
m(i, s) {
|
|
33425
33438
|
t.m(
|
|
@@ -34069,7 +34082,7 @@ function TD(n) {
|
|
|
34069
34082
|
}
|
|
34070
34083
|
function LD(n, t, e) {
|
|
34071
34084
|
let i, s, r, o, a, l, { tag: c } = t, { hooks: h } = t, { rendererMap: u = /* @__PURE__ */ new Map() } = t, { contentTypeMap: f = /* @__PURE__ */ new Map() } = t, { state: p } = t, { mediaStore: g } = t, { temporaryState: v } = t;
|
|
34072
|
-
|
|
34085
|
+
gc("hooks", h), gc("mediaStore", g);
|
|
34073
34086
|
let m, b;
|
|
34074
34087
|
function C(H) {
|
|
34075
34088
|
H ? h.emit("exposure", { id: o, type: "start" }) : h.emit("exposure", { id: o, type: "end" });
|
|
@@ -34178,7 +34191,7 @@ class Kv extends Nh {
|
|
|
34178
34191
|
if (r && (this.plugin.gltfObjectGroup.remove(r), r.removeEventListener()), ps(this)) {
|
|
34179
34192
|
const l = this.data.mediaPosition.map(Vn);
|
|
34180
34193
|
if (this.computeRenderType() === "Mesh" && !this.mediaPlane) {
|
|
34181
|
-
this.mediaPlane = new
|
|
34194
|
+
this.mediaPlane = new jc(this.data.mediaData[0].url, l, { objectFit: this.data.objectFit });
|
|
34182
34195
|
const c = new y.Vector3().addVectors(l[0], l[2]).divideScalar(2);
|
|
34183
34196
|
this.mediaPlane.position.copy(c), s.add(this.mediaPlane);
|
|
34184
34197
|
}
|
|
@@ -34188,7 +34201,7 @@ class Kv extends Nh {
|
|
|
34188
34201
|
c.classList.add("tag-media-container");
|
|
34189
34202
|
const h = "black";
|
|
34190
34203
|
c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
|
|
34191
|
-
const u = B({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new Lv(
|
|
34204
|
+
const u = B({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new Lv(he(B({}, u), { mode: f })), g = this.computeNormal();
|
|
34192
34205
|
p.position.add(g.clone().setLength(Oo.Z_FIGHTING_OFFSET)), s.add(p);
|
|
34193
34206
|
let v;
|
|
34194
34207
|
p.mode === "behind" && this.config.clickable !== !1 && (v = this.addObjectClickHandler(this, p, (b) => {
|
|
@@ -34234,7 +34247,7 @@ class Kv extends Nh {
|
|
|
34234
34247
|
var s;
|
|
34235
34248
|
super.setData(...e);
|
|
34236
34249
|
const i = this.data.mediaPosition.map(Vn);
|
|
34237
|
-
this.computeRenderType() === "Mesh" ? this.mediaPlane && this.mediaPlane.src !== this.data.mediaData[0].url && (this.mediaPlane.removeFromParent(), this.mediaPlane = new
|
|
34250
|
+
this.computeRenderType() === "Mesh" ? this.mediaPlane && this.mediaPlane.src !== this.data.mediaData[0].url && (this.mediaPlane.removeFromParent(), this.mediaPlane = new jc(this.data.mediaData[0].url, i, { objectFit: this.data.objectFit })) : (s = this.tag3DContentSvelte) == null || s.svelteApp.$set({ tag: this });
|
|
34238
34251
|
}
|
|
34239
34252
|
computeNormal() {
|
|
34240
34253
|
return Ev(this.data.mediaPosition);
|
|
@@ -34269,7 +34282,7 @@ class jD extends Nh {
|
|
|
34269
34282
|
(a = (o = this.tag3DContentSvelte) == null ? void 0 : o.dispose) == null || a.call(o);
|
|
34270
34283
|
const c = document.createElement("div");
|
|
34271
34284
|
c.classList.add("tag-media-container");
|
|
34272
|
-
const h = B({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new Lv(
|
|
34285
|
+
const h = B({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new Lv(he(B({}, h), { mode: u })), p = this.computeNormal();
|
|
34273
34286
|
f.position.add(p.clone().setLength(Oo.Z_FIGHTING_OFFSET)), this.plugin.group.add(f);
|
|
34274
34287
|
let g;
|
|
34275
34288
|
f.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, f, (m) => {
|
|
@@ -34336,7 +34349,7 @@ class jD extends Nh {
|
|
|
34336
34349
|
if (!e)
|
|
34337
34350
|
return;
|
|
34338
34351
|
const i = this.position.map(Vn), s = this.currentVisible, r = (() => !!(this.mediaPlane && !s))(), o = (() => !!(!this.mediaPlane && s))(), a = (() => !!(this.mediaPlane && this.mediaPlane.src !== e))();
|
|
34339
|
-
(r || a) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (o || a) && (this.mediaPlane = new
|
|
34352
|
+
(r || a) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (o || a) && (this.mediaPlane = new jc(e, i, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
|
|
34340
34353
|
this.mediaPlane,
|
|
34341
34354
|
"click",
|
|
34342
34355
|
(l) => {
|
|
@@ -35055,7 +35068,7 @@ function ZD(n) {
|
|
|
35055
35068
|
}
|
|
35056
35069
|
function JD(n, t, e) {
|
|
35057
35070
|
let { tags: i = [] } = t, { hooks: s } = t, { mediaStore: r } = t, { rendererMap: o } = t, { contentTypeMap: a } = t, { state: l } = t, { temporaryState: c } = t, { zIndex: h = void 0 } = t;
|
|
35058
|
-
return
|
|
35071
|
+
return gc("hooks", s), n.$$set = (u) => {
|
|
35059
35072
|
"tags" in u && e(0, i = u.tags), "hooks" in u && e(7, s = u.hooks), "mediaStore" in u && e(1, r = u.mediaStore), "rendererMap" in u && e(2, o = u.rendererMap), "contentTypeMap" in u && e(3, a = u.contentTypeMap), "state" in u && e(4, l = u.state), "temporaryState" in u && e(5, c = u.temporaryState), "zIndex" in u && e(6, h = u.zIndex);
|
|
35060
35073
|
}, [
|
|
35061
35074
|
i,
|
|
@@ -35091,7 +35104,7 @@ class qD extends Pe {
|
|
|
35091
35104
|
}
|
|
35092
35105
|
}
|
|
35093
35106
|
const $v = "Dnalogel-PanoTagPlugin", gL = (n) => `${$v}--${n}`;
|
|
35094
|
-
class
|
|
35107
|
+
class Bc extends B2 {
|
|
35095
35108
|
constructor(e, i) {
|
|
35096
35109
|
super(e);
|
|
35097
35110
|
/** state */
|
|
@@ -35192,7 +35205,7 @@ class Rc extends B2 {
|
|
|
35192
35205
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
35193
35206
|
this.TagContainerSvelte = new qD({
|
|
35194
35207
|
target: this.container,
|
|
35195
|
-
props:
|
|
35208
|
+
props: he(B({}, a), { state: he(B({}, this.state), { enabled: !1 }) })
|
|
35196
35209
|
}), Lo(() => {
|
|
35197
35210
|
var l;
|
|
35198
35211
|
(l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
|
|
@@ -35461,12 +35474,12 @@ class Rc extends B2 {
|
|
|
35461
35474
|
this.state.enabled && (this.filterPointTag.forEach((c) => c.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
35462
35475
|
}, s = () => {
|
|
35463
35476
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
35464
|
-
}, { observe: r, unobserve: o } =
|
|
35477
|
+
}, { observe: r, unobserve: o } = Ea(
|
|
35465
35478
|
I2(() => {
|
|
35466
35479
|
this.store.resizeObserverDisposer && s();
|
|
35467
35480
|
}, 500),
|
|
35468
35481
|
e
|
|
35469
|
-
), { observe: a, unobserve: l } =
|
|
35482
|
+
), { observe: a, unobserve: l } = Ea(
|
|
35470
35483
|
P2(() => i(), 400),
|
|
35471
35484
|
e
|
|
35472
35485
|
);
|
|
@@ -35504,7 +35517,7 @@ class Rc extends B2 {
|
|
|
35504
35517
|
};
|
|
35505
35518
|
}
|
|
35506
35519
|
}
|
|
35507
|
-
const vL = (n, t) => new
|
|
35520
|
+
const vL = (n, t) => new Bc(n, t);
|
|
35508
35521
|
function KD(n) {
|
|
35509
35522
|
Me(n, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
35510
35523
|
}
|
|
@@ -35831,7 +35844,7 @@ const nS = (
|
|
|
35831
35844
|
}
|
|
35832
35845
|
`
|
|
35833
35846
|
);
|
|
35834
|
-
class
|
|
35847
|
+
class Vc {
|
|
35835
35848
|
constructor(t, e) {
|
|
35836
35849
|
d(this, "name", "");
|
|
35837
35850
|
d(this, "startTagContainer");
|
|
@@ -36129,7 +36142,7 @@ class Bc {
|
|
|
36129
36142
|
var t, e, i, s, r, o;
|
|
36130
36143
|
if (this.disposed)
|
|
36131
36144
|
return this.logError("disposed");
|
|
36132
|
-
|
|
36145
|
+
il([this.group, (i = (e = (t = this.startTagContainer) == null ? void 0 : t.plugin) == null ? void 0 : e.tags[0]) == null ? void 0 : i.dom, (o = (r = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : r.tags[0]) == null ? void 0 : o.dom], {
|
|
36133
36146
|
loop: 6,
|
|
36134
36147
|
updateRender: () => {
|
|
36135
36148
|
this.five.needsRender = !0;
|
|
@@ -36164,7 +36177,7 @@ class Bc {
|
|
|
36164
36177
|
const i = this.curvePath;
|
|
36165
36178
|
if (!(e != null && e.data))
|
|
36166
36179
|
return;
|
|
36167
|
-
const s = t === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new
|
|
36180
|
+
const s = t === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new Bc(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (c = this.endTagContainer) != null ? c : (() => (this.endTagContainer = { tag: null, plugin: new Bc(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = st({}, {
|
|
36168
36181
|
contentType: "Custom",
|
|
36169
36182
|
stickType: "2DPoint",
|
|
36170
36183
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
@@ -36174,7 +36187,7 @@ class Bc {
|
|
|
36174
36187
|
s.tag = o, rS(o) && (s.tag.element = (h) => {
|
|
36175
36188
|
var p, g;
|
|
36176
36189
|
(p = s.app) == null || p.$destroy();
|
|
36177
|
-
const u = t === "start" ?
|
|
36190
|
+
const u = t === "start" ? he(B({}, o.data), { name: this.name, distance: Math.round((g = i.getLength()) != null ? g : 0), i18n: this.plugin.config.i18n }) : o.data, f = new tS({ target: h, intro: !0, props: u });
|
|
36178
36191
|
return s.app = f, () => f.$destroy();
|
|
36179
36192
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
36180
36193
|
const a = this.meshStyle.translate;
|
|
@@ -36214,7 +36227,7 @@ class Bc {
|
|
|
36214
36227
|
panoIndex: l
|
|
36215
36228
|
};
|
|
36216
36229
|
}).filter(Fe), o = r.map((l) => l.position.toArray()), a = r.map((l) => l.panoIndex);
|
|
36217
|
-
return [
|
|
36230
|
+
return [he(B({ type: "CatmullRomCurve3", points: o }, i), { panoIndexList: a, panoIndexMap: s })];
|
|
36218
36231
|
}
|
|
36219
36232
|
}
|
|
36220
36233
|
function rS(n) {
|
|
@@ -36222,8 +36235,8 @@ function rS(n) {
|
|
|
36222
36235
|
}
|
|
36223
36236
|
const AL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
36224
36237
|
__proto__: null,
|
|
36225
|
-
GuideLineModeItem:
|
|
36226
|
-
}, Symbol.toStringTag, { value: "Module" })), e0 = "CruisePlugin",
|
|
36238
|
+
GuideLineModeItem: Vc
|
|
36239
|
+
}, Symbol.toStringTag, { value: "Module" })), e0 = "CruisePlugin", Ul = `${e0}`;
|
|
36227
36240
|
class t0 extends Yn {
|
|
36228
36241
|
constructor(e, i) {
|
|
36229
36242
|
super(e, i);
|
|
@@ -36244,13 +36257,13 @@ class t0 extends Yn {
|
|
|
36244
36257
|
});
|
|
36245
36258
|
d(this, "GuideLine");
|
|
36246
36259
|
d(this, "disposedErrorLog", () => {
|
|
36247
|
-
console.error(`${
|
|
36260
|
+
console.error(`${Ul} is disposed`);
|
|
36248
36261
|
});
|
|
36249
36262
|
d(this, "disableWarnLog", () => {
|
|
36250
|
-
console.warn(`${
|
|
36263
|
+
console.warn(`${Ul} is disabled`);
|
|
36251
36264
|
});
|
|
36252
36265
|
d(this, "disableErrorLog", () => {
|
|
36253
|
-
console.error(`${
|
|
36266
|
+
console.error(`${Ul} is disabled`);
|
|
36254
36267
|
});
|
|
36255
36268
|
this.config = i, Object.assign(window, { [`__${e0}_DEBUG__`]: this });
|
|
36256
36269
|
}
|
|
@@ -36398,7 +36411,7 @@ class t0 extends Yn {
|
|
|
36398
36411
|
i != null && i.warnLog && this.disableWarnLog();
|
|
36399
36412
|
}
|
|
36400
36413
|
}
|
|
36401
|
-
function
|
|
36414
|
+
function Yl(n, t, e) {
|
|
36402
36415
|
var l, c, h;
|
|
36403
36416
|
const i = new y.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), r = n.getTangentAt(t), { longitude: o, latitude: a } = To(r);
|
|
36404
36417
|
return { offset: s.clone(), longitude: o, latitude: a, distance: 0 };
|
|
@@ -36416,7 +36429,7 @@ let i0 = class extends t0 {
|
|
|
36416
36429
|
this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
|
|
36417
36430
|
});
|
|
36418
36431
|
d(this, "moveToStart", () => {
|
|
36419
|
-
this.five.setState(
|
|
36432
|
+
this.five.setState(he(B({}, Yl(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
36420
36433
|
});
|
|
36421
36434
|
d(this, "playFromStart", () => {
|
|
36422
36435
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
@@ -36485,8 +36498,8 @@ let i0 = class extends t0 {
|
|
|
36485
36498
|
const s = this.getPauseData();
|
|
36486
36499
|
let r = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
|
|
36487
36500
|
(r < 0 || r >= 1) && (r = 0);
|
|
36488
|
-
const o =
|
|
36489
|
-
if (this.hooks.emit("progressChange", r), this.five.setState(
|
|
36501
|
+
const o = Yl(this.curve, r, this.curveOffset);
|
|
36502
|
+
if (this.hooks.emit("progressChange", r), this.five.setState(he(B({}, o), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
36490
36503
|
const c = this.addInterruptListener(() => {
|
|
36491
36504
|
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
|
|
36492
36505
|
});
|
|
@@ -36498,7 +36511,7 @@ let i0 = class extends t0 {
|
|
|
36498
36511
|
else if (this.state.playing === !1)
|
|
36499
36512
|
this.five.off("renderFrame", a);
|
|
36500
36513
|
else if (c >= 0) {
|
|
36501
|
-
const h =
|
|
36514
|
+
const h = Yl(this.curve, c, this.curveOffset);
|
|
36502
36515
|
this.hooks.emit("progressChange", c), this.five.setState(h, !0);
|
|
36503
36516
|
}
|
|
36504
36517
|
};
|
|
@@ -36621,7 +36634,7 @@ class Kh extends t0 {
|
|
|
36621
36634
|
* @description Play from first keyframe
|
|
36622
36635
|
*/
|
|
36623
36636
|
playFromStart(e) {
|
|
36624
|
-
return this.playFrom(
|
|
36637
|
+
return this.playFrom(he(B({}, e), { index: 0 }));
|
|
36625
36638
|
}
|
|
36626
36639
|
/**
|
|
36627
36640
|
* @description Format data
|
|
@@ -36639,7 +36652,7 @@ class Kh extends t0 {
|
|
|
36639
36652
|
keyframes: i.keyframes.map((s, r) => {
|
|
36640
36653
|
var l;
|
|
36641
36654
|
const o = i.keyframes[r + 1], a = (() => !o || o.start === void 0 || s.end === void 0 ? 0 : o.start - s.end)();
|
|
36642
|
-
return
|
|
36655
|
+
return he(B({ id: (l = s.uuid) != null ? l : kt(), moveIndex: r, stay: a, index: r }, s), { guildPluginOptions: i.guildPluginOptions });
|
|
36643
36656
|
})
|
|
36644
36657
|
};
|
|
36645
36658
|
if (i.panoIndexList) {
|
|
@@ -36954,7 +36967,7 @@ class s0 {
|
|
|
36954
36967
|
d(this, "plugin");
|
|
36955
36968
|
d(this, "five");
|
|
36956
36969
|
d(this, "logError", (t) => Cv("GuideLineItem: ", t));
|
|
36957
|
-
this.id = t.id, this.five = t.five, this.plugin = t.plugin, this.panoramaItem = new
|
|
36970
|
+
this.id = t.id, this.five = t.five, this.plugin = t.plugin, this.panoramaItem = new Vc(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new Vc(this.five, { mode: "model", plugin: this.plugin, parent: this });
|
|
36958
36971
|
}
|
|
36959
36972
|
get visible() {
|
|
36960
36973
|
return this._visible;
|
|
@@ -36967,9 +36980,9 @@ class s0 {
|
|
|
36967
36980
|
const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, r = t === "panorama" && e.panorama_style.use_auto_depthtest, o = e.panorama_style.auto_depth_test_effect_distance, a = e.path, l = s, c = s, h = s;
|
|
36968
36981
|
if (e.pano_group) {
|
|
36969
36982
|
const f = t === "panorama" && e.panorama_style.skip_group === !0;
|
|
36970
|
-
i.setGeometryByPanoGroup(e.pano_group,
|
|
36983
|
+
i.setGeometryByPanoGroup(e.pano_group, he(B({ skipPanoGroup: f }, l), { useAutoDepthTest: r, autoDepthTestEffectDistance: o }));
|
|
36971
36984
|
} else
|
|
36972
|
-
e.path && i.setGeometryByPath(a,
|
|
36985
|
+
e.path && i.setGeometryByPath(a, he(B({}, l), { useAutoDepthTest: r, autoDepthTestEffectDistance: o }));
|
|
36973
36986
|
i.name = e.name, i.setMeshStyle(h), i.setMartial(c), i.setVisibleFloorIndexes((u = e.visible_floor_indexes) != null ? u : null), i.setStartTag(s == null ? void 0 : s.start_tag), i.setEndTag(s == null ? void 0 : s.end_tag);
|
|
36974
36987
|
}
|
|
36975
36988
|
show() {
|
|
@@ -37040,11 +37053,11 @@ function hS(n, t) {
|
|
|
37040
37053
|
const yL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37041
37054
|
__proto__: null,
|
|
37042
37055
|
GuideLineItem: s0
|
|
37043
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
37056
|
+
}, Symbol.toStringTag, { value: "Module" })), _c = "GuideLinePlugin", rm = `${_c}`;
|
|
37044
37057
|
let uS = class extends mn {
|
|
37045
37058
|
constructor(e, i) {
|
|
37046
37059
|
super(e, i);
|
|
37047
|
-
d(this, "name",
|
|
37060
|
+
d(this, "name", _c);
|
|
37048
37061
|
d(this, "cruisePlugin");
|
|
37049
37062
|
/** GuideLineItem 索引 */
|
|
37050
37063
|
d(this, "itemMap", /* @__PURE__ */ new Map());
|
|
@@ -37060,7 +37073,7 @@ let uS = class extends mn {
|
|
|
37060
37073
|
d(this, "disposedErrorLog", () => {
|
|
37061
37074
|
console.error(`${rm} is disposed`);
|
|
37062
37075
|
});
|
|
37063
|
-
this._config = i != null ? i : {}, this.cruisePlugin = new Kh(e), Object.assign(window, { [`__${
|
|
37076
|
+
this._config = i != null ? i : {}, this.cruisePlugin = new Kh(e), Object.assign(window, { [`__${_c}_DEBUG__`]: this });
|
|
37064
37077
|
}
|
|
37065
37078
|
get config() {
|
|
37066
37079
|
return this._config;
|
|
@@ -37225,7 +37238,7 @@ class zo extends gi {
|
|
|
37225
37238
|
}
|
|
37226
37239
|
initialPosition(e) {
|
|
37227
37240
|
var i, s;
|
|
37228
|
-
this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? this.position.copy((i = Is(this.originObject3D)) == null ? void 0 : i.getCenter(new y.Vector3()).applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom === "boundingSphere" ? this.position.copy((s = Ym(this.originObject3D)) == null ? void 0 : s.center.clone().applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom instanceof
|
|
37241
|
+
this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? this.position.copy((i = Is(this.originObject3D)) == null ? void 0 : i.getCenter(new y.Vector3()).applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom === "boundingSphere" ? this.position.copy((s = Ym(this.originObject3D)) == null ? void 0 : s.center.clone().applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom instanceof ue ? this.position.copy(this.positionFrom) : this.positionFrom instanceof Function && this.position.copy(this.positionFrom(this.originObject3D)), e && this.position.add(e);
|
|
37229
37242
|
}
|
|
37230
37243
|
setScaleByCamera(e) {
|
|
37231
37244
|
}
|
|
@@ -37260,7 +37273,7 @@ class zo extends gi {
|
|
|
37260
37273
|
}
|
|
37261
37274
|
applyHelperQuaternion(e, i) {
|
|
37262
37275
|
if (i) {
|
|
37263
|
-
const s = new
|
|
37276
|
+
const s = new ue().subVectors(this.position, i).applyQuaternion(e).add(i);
|
|
37264
37277
|
this.position.copy(s);
|
|
37265
37278
|
}
|
|
37266
37279
|
this.applyQuaternion(e);
|
|
@@ -37300,7 +37313,7 @@ function bS(n, t) {
|
|
|
37300
37313
|
y: -(n.y - s) / i * 2 + 1
|
|
37301
37314
|
});
|
|
37302
37315
|
}
|
|
37303
|
-
function
|
|
37316
|
+
function ml(n, t, e) {
|
|
37304
37317
|
if (!t || !e || !n)
|
|
37305
37318
|
return;
|
|
37306
37319
|
const i = bS(t, e);
|
|
@@ -37312,7 +37325,7 @@ function pl(n, t, e) {
|
|
|
37312
37325
|
function yS(n, t) {
|
|
37313
37326
|
return !(Math.abs(n.x - t.x) > 1e-5 || Math.abs(n.y - t.y) > 1e-5 || Math.abs(n.z - t.z) > 1e-5);
|
|
37314
37327
|
}
|
|
37315
|
-
class
|
|
37328
|
+
class Xl extends AS {
|
|
37316
37329
|
constructor(e) {
|
|
37317
37330
|
var h;
|
|
37318
37331
|
super(e.direction);
|
|
@@ -37339,20 +37352,20 @@ class Yl extends AS {
|
|
|
37339
37352
|
this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
|
|
37340
37353
|
}
|
|
37341
37354
|
}
|
|
37342
|
-
const
|
|
37355
|
+
const Zl = {
|
|
37343
37356
|
X: 15618642,
|
|
37344
37357
|
Y: 4765519,
|
|
37345
37358
|
Z: 4227839
|
|
37346
37359
|
};
|
|
37347
37360
|
class ar {
|
|
37348
37361
|
static get X() {
|
|
37349
|
-
return new y.Color(
|
|
37362
|
+
return new y.Color(Zl.X).convertSRGBToLinear().clone();
|
|
37350
37363
|
}
|
|
37351
37364
|
static get Y() {
|
|
37352
|
-
return new y.Color(
|
|
37365
|
+
return new y.Color(Zl.Y).convertSRGBToLinear().clone();
|
|
37353
37366
|
}
|
|
37354
37367
|
static get Z() {
|
|
37355
|
-
return new y.Color(
|
|
37368
|
+
return new y.Color(Zl.Z).convertSRGBToLinear().clone();
|
|
37356
37369
|
}
|
|
37357
37370
|
}
|
|
37358
37371
|
function eu(n, t, e) {
|
|
@@ -37366,16 +37379,16 @@ function CS(n) {
|
|
|
37366
37379
|
let t = n.pose.latitude, e = n.pose.longitude;
|
|
37367
37380
|
if (ti(t) || ti(e)) {
|
|
37368
37381
|
const i = n.matrix.elements;
|
|
37369
|
-
t = Math.asin(wS(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e =
|
|
37382
|
+
t = Math.asin(wS(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = pc(Math.atan2(i[8], i[10])) : e = pc(Math.atan2(-i[2], i[0]));
|
|
37370
37383
|
}
|
|
37371
37384
|
return { latitude: t, longitude: e };
|
|
37372
37385
|
}
|
|
37373
37386
|
function PS(n) {
|
|
37374
37387
|
const { latitude: t, longitude: e } = n, i = new y.Vector3();
|
|
37375
|
-
return am - t < 0.03 ? i.set(0, 1, 0) :
|
|
37388
|
+
return am - t < 0.03 ? i.set(0, 1, 0) : Jl(0, e) ? i.set(0, 0, 1) : Jl(Math.PI, e) ? i.set(0, 0, -1) : Jl(am, e) ? i.set(1, 0, 0) : i.set(-1, 0, 0), i;
|
|
37376
37389
|
}
|
|
37377
37390
|
const am = Number((Math.PI / 2).toFixed(5));
|
|
37378
|
-
function
|
|
37391
|
+
function Jl(n, t) {
|
|
37379
37392
|
return typeof n != "number" || typeof t != "number" ? !1 : Math.abs(n - t) < 1e-3;
|
|
37380
37393
|
}
|
|
37381
37394
|
class IS extends fS {
|
|
@@ -37385,7 +37398,7 @@ class IS extends fS {
|
|
|
37385
37398
|
d(this, "xArrow");
|
|
37386
37399
|
d(this, "yArrow");
|
|
37387
37400
|
d(this, "zArrow");
|
|
37388
|
-
i.xArrowEnable !== !1 && (this.xArrow = new
|
|
37401
|
+
i.xArrowEnable !== !1 && (this.xArrow = new Xl({ direction: "x", color: ar.X })), i.yArrowEnable !== !1 && (this.yArrow = new Xl({ direction: "y", color: ar.Y })), i.zArrowEnable !== !1 && (this.zArrow = new Xl({ direction: "z", color: ar.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
|
|
37389
37402
|
}
|
|
37390
37403
|
update(e) {
|
|
37391
37404
|
if (this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0), e.type === "OrthographicCamera") {
|
|
@@ -37452,7 +37465,7 @@ class xS extends mS {
|
|
|
37452
37465
|
d(this, "children", []);
|
|
37453
37466
|
d(this, "angleTips");
|
|
37454
37467
|
d(this, "container");
|
|
37455
|
-
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new
|
|
37468
|
+
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new ql({ direction: "x", color: ar.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new ql({ direction: "y", color: ar.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new ql({ direction: "z", color: ar.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = MS({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
|
|
37456
37469
|
}
|
|
37457
37470
|
hide() {
|
|
37458
37471
|
this.children.forEach((e) => e.hide());
|
|
@@ -37473,7 +37486,7 @@ class xS extends mS {
|
|
|
37473
37486
|
this.removeFromParent(), (i = (e = this.angleTips) == null ? void 0 : e.element) == null || i.remove();
|
|
37474
37487
|
}
|
|
37475
37488
|
}
|
|
37476
|
-
class
|
|
37489
|
+
class ql extends y.Group {
|
|
37477
37490
|
constructor(e) {
|
|
37478
37491
|
super();
|
|
37479
37492
|
d(this, "direction");
|
|
@@ -38096,7 +38109,7 @@ class RS extends jo {
|
|
|
38096
38109
|
d(this, "dragging", (e) => {
|
|
38097
38110
|
if (!this.isDragging || !this.startInfo)
|
|
38098
38111
|
return;
|
|
38099
|
-
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r =
|
|
38112
|
+
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r = ml(this.camera, { x: i, y: s }, this.container);
|
|
38100
38113
|
return r ? (this.move(r), !1) : this.dragEnd();
|
|
38101
38114
|
});
|
|
38102
38115
|
d(this, "dragEnd", () => {
|
|
@@ -38334,10 +38347,10 @@ class NS {
|
|
|
38334
38347
|
e != null && e.warnLog && FS();
|
|
38335
38348
|
}
|
|
38336
38349
|
}
|
|
38337
|
-
function
|
|
38350
|
+
function Kl(n) {
|
|
38338
38351
|
return n * Math.PI / 180;
|
|
38339
38352
|
}
|
|
38340
|
-
let
|
|
38353
|
+
let $l = new y.Quaternion();
|
|
38341
38354
|
class GS extends jo {
|
|
38342
38355
|
constructor(...e) {
|
|
38343
38356
|
var c, h, u;
|
|
@@ -38356,7 +38369,7 @@ class GS extends jo {
|
|
|
38356
38369
|
return this.helperObject3D.position.clone();
|
|
38357
38370
|
}
|
|
38358
38371
|
setRotateAngle(e) {
|
|
38359
|
-
const { x: i = 0, y: s = 0, z: r = 0 } = e, o = new y.Euler(
|
|
38372
|
+
const { x: i = 0, y: s = 0, z: r = 0 } = e, o = new y.Euler(Kl(i), Kl(s), Kl(r)), a = new y.Quaternion().setFromEuler(o);
|
|
38360
38373
|
if (this.hooks.emit("wantToRotate", a))
|
|
38361
38374
|
return;
|
|
38362
38375
|
const { originObject3D: c, rotateCenter: h } = this;
|
|
@@ -38391,12 +38404,12 @@ class GS extends jo {
|
|
|
38391
38404
|
if (s === "z")
|
|
38392
38405
|
return new y.Vector3(0, 0, 1).applyQuaternion(l);
|
|
38393
38406
|
})(), h = new y.Plane().setFromNormalAndCoplanarPoint(c, r), f = h.projectPoint(r.clone(), new y.Vector3()).clone().sub(this.rotateCenter), p = f.angleTo(o.baseAxes.clone().applyQuaternion(l));
|
|
38394
|
-
this.setAngleHelperStart(s, p), this.setAngleHelperLength(s, 0), this.startInfo = { direction: s, startVector: f, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() },
|
|
38407
|
+
this.setAngleHelperStart(s, p), this.setAngleHelperLength(s, 0), this.startInfo = { direction: s, startVector: f, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() }, $l = new y.Quaternion(), this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("rotateStart"), this.isDragging = !0;
|
|
38395
38408
|
}
|
|
38396
38409
|
dragging(e) {
|
|
38397
38410
|
if (!this.isDragging)
|
|
38398
38411
|
return;
|
|
38399
|
-
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r =
|
|
38412
|
+
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r = ml(this.camera, { x: i, y: s }, this.container);
|
|
38400
38413
|
return r ? (this.rotate(r), !1) : this.dragEnd();
|
|
38401
38414
|
}
|
|
38402
38415
|
rotate(e) {
|
|
@@ -38418,14 +38431,14 @@ class GS extends jo {
|
|
|
38418
38431
|
),
|
|
38419
38432
|
`${o.toUpperCase()}${"XZY".replace(o.toUpperCase(), "")}`
|
|
38420
38433
|
)[o] * r.angleDirection;
|
|
38421
|
-
if (this.startInfo.angle += b, this.setAngleHelperLength(o, this.startInfo.angle), this.setTipsAngle(
|
|
38434
|
+
if (this.startInfo.angle += b, this.setAngleHelperLength(o, this.startInfo.angle), this.setTipsAngle(al(this.startInfo.angle)), h) {
|
|
38422
38435
|
const C = new y.Vector3().subVectors(l.position, h).applyQuaternion(p).add(h);
|
|
38423
38436
|
l.position.copy(C);
|
|
38424
38437
|
}
|
|
38425
|
-
l.applyQuaternion(p),
|
|
38438
|
+
l.applyQuaternion(p), $l.premultiply(p), this.internalHooks.emit("applyObjectRotate", { quaternion: p, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = f;
|
|
38426
38439
|
}
|
|
38427
38440
|
dragEnd() {
|
|
38428
|
-
this.isDragging && (this.applyHelperQuaternion(
|
|
38441
|
+
this.isDragging && (this.applyHelperQuaternion($l, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
|
|
38429
38442
|
}
|
|
38430
38443
|
getAngleHelper(e) {
|
|
38431
38444
|
var i, s, r;
|
|
@@ -38501,7 +38514,7 @@ class WS extends jo {
|
|
|
38501
38514
|
getDragPlane() {
|
|
38502
38515
|
const e = new y.Plane(), i = this.helperObject3D.cornerPositions;
|
|
38503
38516
|
if (i.length !== 0)
|
|
38504
|
-
return i.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new
|
|
38517
|
+
return i.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new ue()), i[0]) : e.setFromCoplanarPoints(i[0], i[1], i[2]), e;
|
|
38505
38518
|
}
|
|
38506
38519
|
dragStart(e, i) {
|
|
38507
38520
|
var r, o;
|
|
@@ -38514,7 +38527,7 @@ class WS extends jo {
|
|
|
38514
38527
|
dragging(e) {
|
|
38515
38528
|
if (!this.isDragging)
|
|
38516
38529
|
return;
|
|
38517
|
-
const i =
|
|
38530
|
+
const i = ml(this.camera, e, this.container);
|
|
38518
38531
|
if (!i)
|
|
38519
38532
|
return this.dragEnd();
|
|
38520
38533
|
this.scale(i);
|
|
@@ -38526,25 +38539,25 @@ class WS extends jo {
|
|
|
38526
38539
|
const i = this.originObject3D, { startPoint: s, plane: r } = this.startInfo, o = this.helperObject3D.cornerPositions;
|
|
38527
38540
|
if (o.length < 4)
|
|
38528
38541
|
return this.dragEnd();
|
|
38529
|
-
const a = e.ray.intersectPlane(r, new
|
|
38542
|
+
const a = e.ray.intersectPlane(r, new ue());
|
|
38530
38543
|
if (!a || yS(a, this.camera.position))
|
|
38531
38544
|
return;
|
|
38532
|
-
const l = new
|
|
38533
|
-
const w = new
|
|
38545
|
+
const l = new ue().addVectors(o[0], o[2]).divideScalar(2), { position: c, direction: h } = s, u = new ue().subVectors(o[1], o[0]), f = new ue().subVectors(o[3], o[0]), p = (I) => {
|
|
38546
|
+
const w = new ue(0, 0, 0);
|
|
38534
38547
|
if (!this.startInfo)
|
|
38535
38548
|
return w;
|
|
38536
38549
|
const x = (I === "ew" ? u : f).clone(), k = c.clone().projectOnVector(x), L = a.clone().projectOnVector(x), R = l.clone().projectOnVector(x);
|
|
38537
38550
|
if (L.equals(k))
|
|
38538
38551
|
return w;
|
|
38539
38552
|
if (I === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
|
|
38540
|
-
const ee = new
|
|
38553
|
+
const ee = new ue().subVectors(L, R), K = ee.x < 0 && x.x >= 0, re = ee.y < 0 && x.y >= 0, ne = ee.z < 0 && x.z >= 0;
|
|
38541
38554
|
this.startInfo.dragPointInCenterBottom = K || re || ne;
|
|
38542
38555
|
}
|
|
38543
38556
|
if (I === "ew" && typeof this.startInfo.dragPointInCenterLeft != "boolean") {
|
|
38544
|
-
const ee = new
|
|
38557
|
+
const ee = new ue().subVectors(L, R), K = ee.x < 0 && x.x >= 0, re = ee.y < 0 && x.y >= 0, ne = ee.z < 0 && x.z >= 0;
|
|
38545
38558
|
this.startInfo.dragPointInCenterLeft = K || re || ne;
|
|
38546
38559
|
}
|
|
38547
|
-
const V = new
|
|
38560
|
+
const V = new ue().subVectors(L, k), J = V.length();
|
|
38548
38561
|
return J > 0.3 ? (console.warn("offset.length() > 0.3, skipped", J), w) : V;
|
|
38549
38562
|
}, g = p("ew"), v = p("ns"), m = () => {
|
|
38550
38563
|
const I = g;
|
|
@@ -38570,9 +38583,9 @@ class WS extends jo {
|
|
|
38570
38583
|
case "nwse":
|
|
38571
38584
|
m(), b();
|
|
38572
38585
|
}
|
|
38573
|
-
const C = new
|
|
38586
|
+
const C = new ue().subVectors(o[1], o[0]).length() / u.length(), M = new ue().subVectors(o[3], o[0]).length() / f.length(), E = new ue(C, M, 1), T = new y.Matrix4().scale(E);
|
|
38574
38587
|
i.isCSS3DObjectPlus && i.applyScaleMatrix4 ? i.applyScaleMatrix4(T) : i.scale.applyMatrix4(T), s.position.copy(a);
|
|
38575
|
-
const S = new
|
|
38588
|
+
const S = new ue().addVectors(o[0], o[2]).divideScalar(2), _ = new ue().subVectors(S, l), H = new y.Matrix4().setPosition(_);
|
|
38576
38589
|
i.applyMatrix4(H), (Z = this.helperObject3D.css3DInstance) == null || Z.css3DObject.applyMatrix4(H), (A = this.helperObject3D.plane) == null || A.applyMatrix4(H), this.internalHooks.emit("applyObjectScale", { matrix: T }), this.internalHooks.emit("applyObjectPosition", { matrix: H }), this.render();
|
|
38577
38590
|
}
|
|
38578
38591
|
dragEnd() {
|
|
@@ -38667,7 +38680,7 @@ class ZS extends jo {
|
|
|
38667
38680
|
d(this, "dragging", (e) => {
|
|
38668
38681
|
if (!this.isDragging || !this.startInfo)
|
|
38669
38682
|
return;
|
|
38670
|
-
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r =
|
|
38683
|
+
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r = ml(this.camera, { x: i, y: s }, this.container);
|
|
38671
38684
|
return r ? (this.scale(r), !1) : this.dragEnd();
|
|
38672
38685
|
});
|
|
38673
38686
|
d(this, "scale", (e) => {
|
|
@@ -38890,7 +38903,7 @@ Ke.prototype._onTouchEvent = function(n, t) {
|
|
|
38890
38903
|
this._onEvent(n, i, s, t);
|
|
38891
38904
|
}
|
|
38892
38905
|
};
|
|
38893
|
-
const
|
|
38906
|
+
const Fc = "Object3DHelperPlugin", iu = Fc, JS = () => {
|
|
38894
38907
|
console.error(`${iu} is disposed`);
|
|
38895
38908
|
}, qS = () => {
|
|
38896
38909
|
console.warn(`${iu} is disabled`);
|
|
@@ -38900,7 +38913,7 @@ const _c = "Object3DHelperPlugin", iu = _c, JS = () => {
|
|
|
38900
38913
|
class o0 extends Yn {
|
|
38901
38914
|
constructor(e) {
|
|
38902
38915
|
super(e);
|
|
38903
|
-
d(this, "name",
|
|
38916
|
+
d(this, "name", Fc);
|
|
38904
38917
|
d(this, "state", {
|
|
38905
38918
|
visible: !0,
|
|
38906
38919
|
enabled: !0,
|
|
@@ -38910,7 +38923,7 @@ class o0 extends Yn {
|
|
|
38910
38923
|
d(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
38911
38924
|
d(this, "css3DObjectModeMap", /* @__PURE__ */ new Map());
|
|
38912
38925
|
d(this, "css3DRender");
|
|
38913
|
-
this.five = e, this.css3DRender = new bo(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${
|
|
38926
|
+
this.five = e, this.css3DRender = new bo(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${Fc.toUpperCase()}_DEBUG__`]: this });
|
|
38914
38927
|
}
|
|
38915
38928
|
/**
|
|
38916
38929
|
* @description Show guide line
|
|
@@ -39178,7 +39191,7 @@ class lm {
|
|
|
39178
39191
|
/** 把 uv 值转换成位置 */
|
|
39179
39192
|
d(this, "uv2Position", (t, e) => {
|
|
39180
39193
|
var p;
|
|
39181
|
-
const s = Math.PI, r = Math.PI * 2, o = t, a = 1 - e, l = new
|
|
39194
|
+
const s = Math.PI, r = Math.PI * 2, o = t, a = 1 - e, l = new ue(
|
|
39182
39195
|
-1 * Math.cos(r * o) * Math.sin(s * a),
|
|
39183
39196
|
1 * Math.cos(s * a),
|
|
39184
39197
|
1 * Math.sin(r * o) * Math.sin(s * a)
|
|
@@ -39188,7 +39201,7 @@ class lm {
|
|
|
39188
39201
|
if (!c)
|
|
39189
39202
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
39190
39203
|
const h = c.position.clone(), u = c.quaternion.clone(), f = l.clone();
|
|
39191
|
-
return f.applyAxisAngle(new
|
|
39204
|
+
return f.applyAxisAngle(new ue(0, 1, 0), Math.PI / 2), f.applyQuaternion(u), f.add(h), f;
|
|
39192
39205
|
});
|
|
39193
39206
|
/** Five 数据加载后需要根据点位位姿调整点位模型位置 */
|
|
39194
39207
|
d(this, "onFiveDataLoaded", () => {
|
|
@@ -39198,7 +39211,7 @@ class lm {
|
|
|
39198
39211
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
39199
39212
|
this.observer = t;
|
|
39200
39213
|
const { x: e, y: i, z: s, w: r } = t.quaternion, o = new Ys(e, i, s, r), a = t.position;
|
|
39201
|
-
this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new
|
|
39214
|
+
this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new ue(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(o);
|
|
39202
39215
|
});
|
|
39203
39216
|
/** 兼容视频播放 */
|
|
39204
39217
|
d(this, "onFiveWantsMoveToPano", (t) => {
|
|
@@ -39303,7 +39316,7 @@ class lm {
|
|
|
39303
39316
|
const i = document.createElement("video");
|
|
39304
39317
|
i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
|
|
39305
39318
|
const s = new mA(this.video);
|
|
39306
|
-
s.minFilter =
|
|
39319
|
+
s.minFilter = ac, s.magFilter = ac;
|
|
39307
39320
|
const r = new km({
|
|
39308
39321
|
vertexShader: $S,
|
|
39309
39322
|
fragmentShader: eT,
|
|
@@ -39356,7 +39369,7 @@ class lm {
|
|
|
39356
39369
|
const e = this.uv2Position(t[0], t[1]);
|
|
39357
39370
|
if (!e)
|
|
39358
39371
|
return;
|
|
39359
|
-
const i = new
|
|
39372
|
+
const i = new ue().subVectors(e, this.observer.position).normalize(), { longitude: s, latitude: r } = tT(i);
|
|
39360
39373
|
this.five.setState({ panoIndex: this.panoIndex, longitude: s, latitude: r }), this.onFiveWantsMoveToPano(this.panoIndex);
|
|
39361
39374
|
}
|
|
39362
39375
|
/** 获取视频中心点的 uv */
|
|
@@ -39441,7 +39454,7 @@ class iT extends Yn {
|
|
|
39441
39454
|
r.video_list.forEach((l) => {
|
|
39442
39455
|
this.controllerMap.set(
|
|
39443
39456
|
l.render_id,
|
|
39444
|
-
new lm(this.five,
|
|
39457
|
+
new lm(this.five, he(B({}, l), {
|
|
39445
39458
|
panoIndex: o,
|
|
39446
39459
|
renderID: a,
|
|
39447
39460
|
hooks: this.hooks,
|
|
@@ -39519,7 +39532,7 @@ class iT extends Yn {
|
|
|
39519
39532
|
const r = s.render_id;
|
|
39520
39533
|
this.controllerMap.set(
|
|
39521
39534
|
s.render_id,
|
|
39522
|
-
new lm(this.five,
|
|
39535
|
+
new lm(this.five, he(B({}, s), {
|
|
39523
39536
|
panoIndex: e,
|
|
39524
39537
|
renderID: r,
|
|
39525
39538
|
hooks: this.hooks,
|
|
@@ -39608,7 +39621,7 @@ function aT(n, t) {
|
|
|
39608
39621
|
function lT(n, t) {
|
|
39609
39622
|
return n * n * t;
|
|
39610
39623
|
}
|
|
39611
|
-
function
|
|
39624
|
+
function ec(n, t, e, i) {
|
|
39612
39625
|
return oT(n, t) + aT(n, e) + lT(n, i);
|
|
39613
39626
|
}
|
|
39614
39627
|
function cT(n, t) {
|
|
@@ -39625,31 +39638,31 @@ function uT(n, t) {
|
|
|
39625
39638
|
function dT(n, t) {
|
|
39626
39639
|
return n * n * n * t;
|
|
39627
39640
|
}
|
|
39628
|
-
function
|
|
39641
|
+
function tc(n, t, e, i, s) {
|
|
39629
39642
|
return cT(n, t) + hT(n, e) + uT(n, i) + dT(n, s);
|
|
39630
39643
|
}
|
|
39631
|
-
function
|
|
39644
|
+
function Hc(n, t) {
|
|
39632
39645
|
const e = t.length - 1;
|
|
39633
39646
|
if (e < 1)
|
|
39634
39647
|
throw new Error("length of points must greater than 2");
|
|
39635
39648
|
if (e === 2)
|
|
39636
39649
|
return new y.Vector3(
|
|
39637
|
-
|
|
39638
|
-
|
|
39639
|
-
|
|
39650
|
+
ec(n, t[0].x, t[1].x, t[2].x),
|
|
39651
|
+
ec(n, t[0].y, t[1].y, t[2].y),
|
|
39652
|
+
ec(n, t[0].z, t[1].z, t[2].z)
|
|
39640
39653
|
);
|
|
39641
39654
|
if (e === 3)
|
|
39642
39655
|
return new y.Vector3(
|
|
39643
|
-
|
|
39644
|
-
|
|
39645
|
-
|
|
39656
|
+
tc(n, t[0].x, t[1].x, t[2].x, t[3].x),
|
|
39657
|
+
tc(n, t[0].y, t[1].y, t[2].y, t[3].y),
|
|
39658
|
+
tc(n, t[0].z, t[1].z, t[2].z, t[3].z)
|
|
39646
39659
|
);
|
|
39647
39660
|
if (e === 1) {
|
|
39648
39661
|
const [s, r] = t;
|
|
39649
39662
|
return s.clone().add(r.clone().sub(s).multiplyScalar(n));
|
|
39650
39663
|
}
|
|
39651
39664
|
const i = [];
|
|
39652
|
-
return t.reduce((s, r) => (i.push(
|
|
39665
|
+
return t.reduce((s, r) => (i.push(Hc(n, [s, r])), r)), Hc(n, i);
|
|
39653
39666
|
}
|
|
39654
39667
|
class fT extends y.Curve {
|
|
39655
39668
|
constructor(e = []) {
|
|
@@ -39659,7 +39672,7 @@ class fT extends y.Curve {
|
|
|
39659
39672
|
this.type = "CustomBezierCurve3", this.controlPoints = e;
|
|
39660
39673
|
}
|
|
39661
39674
|
getPoint(e, i = new y.Vector3()) {
|
|
39662
|
-
const s = i, r =
|
|
39675
|
+
const s = i, r = Hc(e, this.controlPoints);
|
|
39663
39676
|
return s.copy(r), s;
|
|
39664
39677
|
}
|
|
39665
39678
|
copy(e) {
|
|
@@ -40258,7 +40271,7 @@ function CT(n, t, e) {
|
|
|
40258
40271
|
} } = t, { rendererIfNeed: u = void 0 } = t, { rendererData: f = void 0 } = t, p, g, v, m;
|
|
40259
40272
|
const b = (T) => {
|
|
40260
40273
|
if (r.state.mode !== "Panorama") {
|
|
40261
|
-
const H = -(10 + 54 * (1 -
|
|
40274
|
+
const H = -(10 + 54 * (1 - al(T.latitude) / 90)), Z = H + 20, A = Z >= 0 ? 0 : -Z / 44;
|
|
40262
40275
|
e(7, g.style.transform = `scaleY(${A})`, g), e(7, g.style.top = `${Z}px`, g), e(8, v.style.top = `${H}px`, v);
|
|
40263
40276
|
}
|
|
40264
40277
|
};
|
|
@@ -40511,10 +40524,10 @@ class IT {
|
|
|
40511
40524
|
});
|
|
40512
40525
|
var l, c, h, u;
|
|
40513
40526
|
const i = e.object_data, s = i.bottom_y, r = i.height, o = new y.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
|
|
40514
|
-
this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = r, this.bottomY = s, this.opacity = a, this.shape = new y.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new y.Mesh(um(this.shape, r), ET(o, a)),
|
|
40527
|
+
this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = r, this.bottomY = s, this.opacity = a, this.shape = new y.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new y.Mesh(um(this.shape, r), ET(o, a)), ic(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new Um(
|
|
40515
40528
|
new y.EdgesGeometry(this.makerObject.geometry),
|
|
40516
40529
|
new y.LineBasicMaterial({ color: o, transparent: !0 })
|
|
40517
|
-
),
|
|
40530
|
+
), ic(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(r), this.modelGroup = new PT(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
|
|
40518
40531
|
}
|
|
40519
40532
|
/** 挂载标注 */
|
|
40520
40533
|
mount() {
|
|
@@ -40532,7 +40545,7 @@ class IT {
|
|
|
40532
40545
|
transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
|
|
40533
40546
|
onClick: (i) => this.hooks.emit("tagClick", { target: this, nativeEvent: i })
|
|
40534
40547
|
}
|
|
40535
|
-
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver =
|
|
40548
|
+
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = Ea(this.onContainerResize, e), this.resizeObserver.observe();
|
|
40536
40549
|
}
|
|
40537
40550
|
/** 卸载标注 */
|
|
40538
40551
|
unmount() {
|
|
@@ -40562,7 +40575,7 @@ class IT {
|
|
|
40562
40575
|
throw new Error("高度必须大于 0");
|
|
40563
40576
|
this.height = t, this.makerObject.geometry = um(this.shape, t), this.outline.geometry = new y.EdgesGeometry(this.makerObject.geometry);
|
|
40564
40577
|
const e = this.shape.extractPoints(10).shape.slice(0, -1), i = FC(e), s = new y.Vector3(i.x, i.y, t);
|
|
40565
|
-
|
|
40578
|
+
ic(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
40566
40579
|
}
|
|
40567
40580
|
/** 更改标注标签的显示层级
|
|
40568
40581
|
* @description 为什么需要这个方法
|
|
@@ -40590,7 +40603,7 @@ function ET(n, t) {
|
|
|
40590
40603
|
transparent: !0
|
|
40591
40604
|
});
|
|
40592
40605
|
}
|
|
40593
|
-
function
|
|
40606
|
+
function ic(n, t) {
|
|
40594
40607
|
const e = new y.Matrix4(), i = new y.Matrix4().makeRotationX(Math.PI / 2), s = new y.Matrix4().makeTranslation(0, 0, -t), r = new y.Matrix4().makeScale(1, 1, -1);
|
|
40595
40608
|
e.multiply(i), e.multiply(s), e.multiply(r), n.applyMatrix4(e);
|
|
40596
40609
|
}
|
|
@@ -40823,9 +40836,9 @@ let MT = class extends mn {
|
|
|
40823
40836
|
return i(e) ? {
|
|
40824
40837
|
list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
|
|
40825
40838
|
const r = new y.Shape(), o = s.object_data.points[0];
|
|
40826
|
-
return r.moveTo(o[0], o[2]), s.object_data.points.slice(1).forEach((l) => r.lineTo(l[0], l[2])), r.lineTo(o[0], o[2]),
|
|
40839
|
+
return r.moveTo(o[0], o[2]), s.object_data.points.slice(1).forEach((l) => r.lineTo(l[0], l[2])), r.lineTo(o[0], o[2]), he(B({}, s), {
|
|
40827
40840
|
floor_index: s.object_data.floorIndex,
|
|
40828
|
-
object_data:
|
|
40841
|
+
object_data: he(B({}, s.object_data), {
|
|
40829
40842
|
bottom_y: o[1] + s.object_data.fixedY,
|
|
40830
40843
|
shape: r.toJSON(),
|
|
40831
40844
|
height: s.object_data.height + s.object_data.fixedHeight
|
|
@@ -41204,11 +41217,11 @@ class wr extends gi {
|
|
|
41204
41217
|
size: (f = e == null ? void 0 : e.size) != null ? f : 8,
|
|
41205
41218
|
map: dm || (dm = new y.TextureLoader().load(TT)),
|
|
41206
41219
|
sizeAttenuation: !1
|
|
41207
|
-
}, a = new y.PointsMaterial(
|
|
41220
|
+
}, a = new y.PointsMaterial(he(B({}, o), {
|
|
41208
41221
|
color: (p = e == null ? void 0 : e.color) != null ? p : 16777215,
|
|
41209
41222
|
depthTest: !0,
|
|
41210
41223
|
opacity: 1
|
|
41211
|
-
})), l = new y.PointsMaterial(
|
|
41224
|
+
})), l = new y.PointsMaterial(he(B({}, o), {
|
|
41212
41225
|
size: a.size,
|
|
41213
41226
|
color: a.color,
|
|
41214
41227
|
depthWrite: !1,
|
|
@@ -41216,7 +41229,7 @@ class wr extends gi {
|
|
|
41216
41229
|
opacity: 0.5
|
|
41217
41230
|
})), c = new y.Points(r, a), h = new y.Points(r, l);
|
|
41218
41231
|
this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), e != null && e.point && this.position.copy(He(e.point)), e && this.setStyle(e), this.addEventListener("removed", () => {
|
|
41219
|
-
|
|
41232
|
+
qa(this);
|
|
41220
41233
|
}), Object.defineProperty(this, "visible", {
|
|
41221
41234
|
set: (g) => {
|
|
41222
41235
|
this.dom && (this.dom.container.style.display = g ? "block" : "none"), this._visible = g;
|
|
@@ -41268,14 +41281,14 @@ class wr extends gi {
|
|
|
41268
41281
|
e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
|
|
41269
41282
|
}
|
|
41270
41283
|
}
|
|
41271
|
-
class
|
|
41284
|
+
class Nc extends Di {
|
|
41272
41285
|
constructor(e) {
|
|
41273
41286
|
super();
|
|
41274
41287
|
d(this, "name", "LineWithDotsMesh");
|
|
41275
41288
|
d(this, "pointGroup", new gi());
|
|
41276
41289
|
d(this, "_paramsStyle");
|
|
41277
41290
|
d(this, "setStyle", (e) => {
|
|
41278
|
-
super.setStyle(e), this._paramsStyle = B(B({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle(
|
|
41291
|
+
super.setStyle(e), this._paramsStyle = B(B({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle(he(B({}, this._paramsStyle), { color: e.lineColor, tip: void 0 }))), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
41279
41292
|
});
|
|
41280
41293
|
d(this, "highlight", () => {
|
|
41281
41294
|
super.highlight(), this.pointMeshes.forEach((e) => e.highlight());
|
|
@@ -41306,7 +41319,7 @@ class Hc extends Di {
|
|
|
41306
41319
|
const i = e.map(He).filter(Fe);
|
|
41307
41320
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
|
|
41308
41321
|
var o;
|
|
41309
|
-
const r = new wr(
|
|
41322
|
+
const r = new wr(he(B({}, this.style), { color: (o = this._paramsStyle) == null ? void 0 : o.lineColor, tip: void 0 }));
|
|
41310
41323
|
r.position.copy(s), this.pointGroup.add(r);
|
|
41311
41324
|
}), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
41312
41325
|
}
|
|
@@ -41327,7 +41340,7 @@ class u0 extends gi {
|
|
|
41327
41340
|
d(this, "paramsStyle");
|
|
41328
41341
|
const o = e, { withDots: i, points: s } = o, r = Dn(o, ["withDots", "points"]);
|
|
41329
41342
|
this.withDots = i != null ? i : !0, s && this.setPoints(s), r && this.setStyle(r), this.addEventListener("removed", () => {
|
|
41330
|
-
|
|
41343
|
+
qa(this);
|
|
41331
41344
|
});
|
|
41332
41345
|
}
|
|
41333
41346
|
get style() {
|
|
@@ -41378,7 +41391,7 @@ class u0 extends gi {
|
|
|
41378
41391
|
if (o !== 0 && a === void 0)
|
|
41379
41392
|
return;
|
|
41380
41393
|
const l = (c = this.lines[o]) != null ? c : (() => {
|
|
41381
|
-
const h = new
|
|
41394
|
+
const h = new Nc(he(B({}, this.style), {
|
|
41382
41395
|
pointVisibility: this.withDots ? { startPoint: o === 0, endPoint: !0 } : !1
|
|
41383
41396
|
}));
|
|
41384
41397
|
return this.lines[o] = h, this.add(h), h;
|
|
@@ -41398,18 +41411,18 @@ class u0 extends gi {
|
|
|
41398
41411
|
}
|
|
41399
41412
|
class Ps extends u0 {
|
|
41400
41413
|
constructor(...e) {
|
|
41401
|
-
super(
|
|
41414
|
+
super(he(B({}, e[0]), { withDots: !1 }));
|
|
41402
41415
|
d(this, "name", "PolylineMesh");
|
|
41403
41416
|
}
|
|
41404
41417
|
}
|
|
41405
41418
|
class Bn extends u0 {
|
|
41406
41419
|
constructor(...e) {
|
|
41407
|
-
super(
|
|
41420
|
+
super(he(B({}, e[0]), { withDots: !0 }));
|
|
41408
41421
|
d(this, "name", "PolylineWithDotsMesh");
|
|
41409
41422
|
}
|
|
41410
41423
|
}
|
|
41411
|
-
const
|
|
41412
|
-
function
|
|
41424
|
+
const nc = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
|
|
41425
|
+
function sc(n, t, e, i) {
|
|
41413
41426
|
n.addEventListener ? n.addEventListener(t, e, i) : n.attachEvent && n.attachEvent("on".concat(t), e);
|
|
41414
41427
|
}
|
|
41415
41428
|
function qr(n, t, e, i) {
|
|
@@ -41481,9 +41494,9 @@ const xo = {
|
|
|
41481
41494
|
".": 190,
|
|
41482
41495
|
"/": 191,
|
|
41483
41496
|
"`": 192,
|
|
41484
|
-
"-":
|
|
41485
|
-
"=":
|
|
41486
|
-
";":
|
|
41497
|
+
"-": nc ? 173 : 189,
|
|
41498
|
+
"=": nc ? 61 : 187,
|
|
41499
|
+
";": nc ? 59 : 186,
|
|
41487
41500
|
"'": 222,
|
|
41488
41501
|
"[": 219,
|
|
41489
41502
|
"]": 221,
|
|
@@ -41504,7 +41517,7 @@ const xo = {
|
|
|
41504
41517
|
"⌘": 91,
|
|
41505
41518
|
cmd: 91,
|
|
41506
41519
|
command: 91
|
|
41507
|
-
},
|
|
41520
|
+
}, Ia = {
|
|
41508
41521
|
16: "shiftKey",
|
|
41509
41522
|
18: "altKey",
|
|
41510
41523
|
17: "ctrlKey",
|
|
@@ -41646,9 +41659,9 @@ function pm(n, t) {
|
|
|
41646
41659
|
let i = n.keyCode || n.which || n.charCode;
|
|
41647
41660
|
if (!oi.filter.call(this, n))
|
|
41648
41661
|
return;
|
|
41649
|
-
if ((i === 93 || i === 224) && (i = 91), ot.indexOf(i) === -1 && i !== 229 && ot.push(i), ["
|
|
41650
|
-
const l =
|
|
41651
|
-
n[a] && ot.indexOf(l) === -1 ? ot.push(l) : !n[a] && ot.indexOf(l) > -1 ? ot.splice(ot.indexOf(l), 1) : a === "metaKey" && n[a] && ot.length === 3 && (
|
|
41662
|
+
if ((i === 93 || i === 224) && (i = 91), ot.indexOf(i) === -1 && i !== 229 && ot.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
|
|
41663
|
+
const l = Ia[a];
|
|
41664
|
+
n[a] && ot.indexOf(l) === -1 ? ot.push(l) : !n[a] && ot.indexOf(l) > -1 ? ot.splice(ot.indexOf(l), 1) : a === "metaKey" && n[a] && ot.length === 3 && (ot = ot.filter((c) => c in Ia || c === i));
|
|
41652
41665
|
}), i in zt) {
|
|
41653
41666
|
zt[i] = !0;
|
|
41654
41667
|
for (const a in Zi)
|
|
@@ -41657,7 +41670,7 @@ function pm(n, t) {
|
|
|
41657
41670
|
return;
|
|
41658
41671
|
}
|
|
41659
41672
|
for (const a in zt)
|
|
41660
|
-
Object.prototype.hasOwnProperty.call(zt, a) && (zt[a] = n[
|
|
41673
|
+
Object.prototype.hasOwnProperty.call(zt, a) && (zt[a] = n[Ia[a]]);
|
|
41661
41674
|
n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (ot.indexOf(17) === -1 && ot.push(17), ot.indexOf(18) === -1 && ot.push(18), zt[17] = !0, zt[18] = !0);
|
|
41662
41675
|
const s = ko();
|
|
41663
41676
|
if (e)
|
|
@@ -41705,7 +41718,7 @@ function oi(n, t, e) {
|
|
|
41705
41718
|
keydownListener: p,
|
|
41706
41719
|
keyupListenr: g,
|
|
41707
41720
|
capture: u
|
|
41708
|
-
}),
|
|
41721
|
+
}), sc(o, "keydown", p, u), sc(o, "keyup", g, u);
|
|
41709
41722
|
}
|
|
41710
41723
|
if (!ho) {
|
|
41711
41724
|
const p = () => {
|
|
@@ -41714,7 +41727,7 @@ function oi(n, t, e) {
|
|
|
41714
41727
|
ho = {
|
|
41715
41728
|
listener: p,
|
|
41716
41729
|
capture: u
|
|
41717
|
-
},
|
|
41730
|
+
}, sc(window, "focus", p, u);
|
|
41718
41731
|
}
|
|
41719
41732
|
}
|
|
41720
41733
|
}
|
|
@@ -41756,7 +41769,7 @@ function nu(n) {
|
|
|
41756
41769
|
qr(window, "focus", s, r), ho = null;
|
|
41757
41770
|
}
|
|
41758
41771
|
}
|
|
41759
|
-
const
|
|
41772
|
+
const rc = {
|
|
41760
41773
|
getPressedKeyString: BT,
|
|
41761
41774
|
setScope: m0,
|
|
41762
41775
|
getScope: ko,
|
|
@@ -41769,15 +41782,15 @@ const sc = {
|
|
|
41769
41782
|
unbind: g0,
|
|
41770
41783
|
keyMap: xo,
|
|
41771
41784
|
modifier: Zi,
|
|
41772
|
-
modifierMap:
|
|
41785
|
+
modifierMap: Ia
|
|
41773
41786
|
};
|
|
41774
|
-
for (const n in
|
|
41775
|
-
Object.prototype.hasOwnProperty.call(
|
|
41787
|
+
for (const n in rc)
|
|
41788
|
+
Object.prototype.hasOwnProperty.call(rc, n) && (oi[n] = rc[n]);
|
|
41776
41789
|
if (typeof window != "undefined") {
|
|
41777
41790
|
const n = window.hotkeys;
|
|
41778
41791
|
oi.noConflict = (t) => (t && window.hotkeys === oi && (window.hotkeys = n), oi), window.hotkeys = oi;
|
|
41779
41792
|
}
|
|
41780
|
-
const
|
|
41793
|
+
const oc = /* @__PURE__ */ new Map();
|
|
41781
41794
|
class Oi extends gi {
|
|
41782
41795
|
constructor(e, i) {
|
|
41783
41796
|
super();
|
|
@@ -41803,7 +41816,7 @@ class Oi extends gi {
|
|
|
41803
41816
|
return s.updateMatrixWorld(), nb(s, e);
|
|
41804
41817
|
});
|
|
41805
41818
|
e != null && e.id && (this.uuid = e.id), this.config = B({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
|
|
41806
|
-
|
|
41819
|
+
qa(this);
|
|
41807
41820
|
}), oi("esc", () => {
|
|
41808
41821
|
this.stopCreating();
|
|
41809
41822
|
}), this.config.defaultAction && (oi("backspace, delete", () => {
|
|
@@ -41875,8 +41888,8 @@ class Oi extends gi {
|
|
|
41875
41888
|
select(e = { only: !1 }) {
|
|
41876
41889
|
if (this.selected)
|
|
41877
41890
|
return;
|
|
41878
|
-
this.selected = !0, this.highlight(),
|
|
41879
|
-
const i =
|
|
41891
|
+
this.selected = !0, this.highlight(), oc.has(this.parent.uuid) || oc.set(this.parent.uuid, []);
|
|
41892
|
+
const i = oc.get(this.parent.uuid);
|
|
41880
41893
|
i.push(this), e.only && (i == null || i.forEach((s) => {
|
|
41881
41894
|
s !== this && s.unselect();
|
|
41882
41895
|
}));
|
|
@@ -41907,7 +41920,7 @@ class Oi extends gi {
|
|
|
41907
41920
|
});
|
|
41908
41921
|
}
|
|
41909
41922
|
}
|
|
41910
|
-
class
|
|
41923
|
+
class gl extends gi {
|
|
41911
41924
|
constructor(e) {
|
|
41912
41925
|
super();
|
|
41913
41926
|
d(this, "hooks", new wt());
|
|
@@ -41927,7 +41940,7 @@ class ml extends gi {
|
|
|
41927
41940
|
this.originObject.remove(this);
|
|
41928
41941
|
}
|
|
41929
41942
|
}
|
|
41930
|
-
class Bo extends
|
|
41943
|
+
class Bo extends gl {
|
|
41931
41944
|
constructor(e, i) {
|
|
41932
41945
|
super(e);
|
|
41933
41946
|
d(this, "objectHelperConfig");
|
|
@@ -41956,7 +41969,7 @@ class Bo extends ml {
|
|
|
41956
41969
|
(e = this.helper) == null || e.initialHelperMatrix();
|
|
41957
41970
|
}
|
|
41958
41971
|
}
|
|
41959
|
-
class su extends
|
|
41972
|
+
class su extends gl {
|
|
41960
41973
|
constructor(e) {
|
|
41961
41974
|
super(e);
|
|
41962
41975
|
d(this, "draggingPoints", []);
|
|
@@ -42028,7 +42041,7 @@ class mm extends Oi {
|
|
|
42028
42041
|
return this._editor || (this._editor = new QT(this)), this._editor;
|
|
42029
42042
|
}
|
|
42030
42043
|
get data() {
|
|
42031
|
-
return
|
|
42044
|
+
return he(B({}, this.baseData), {
|
|
42032
42045
|
points: li(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
|
|
42033
42046
|
style: {
|
|
42034
42047
|
lineColor: new y.Color(this.polyLineMesh.lineColor).getHex(),
|
|
@@ -42079,7 +42092,7 @@ function UT(n, t, e) {
|
|
|
42079
42092
|
return;
|
|
42080
42093
|
const { promise: s, resolve: r, reject: o } = Ms(), a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new Ps(n.style);
|
|
42081
42094
|
i.add(l);
|
|
42082
|
-
const c = new Ps(
|
|
42095
|
+
const c = new Ps(he(B({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
42083
42096
|
i.add(c), t.enable();
|
|
42084
42097
|
const h = [];
|
|
42085
42098
|
let u, f, p;
|
|
@@ -42112,7 +42125,7 @@ function UT(n, t, e) {
|
|
|
42112
42125
|
redo: C
|
|
42113
42126
|
};
|
|
42114
42127
|
}
|
|
42115
|
-
class YT extends
|
|
42128
|
+
class YT extends gl {
|
|
42116
42129
|
constructor(e) {
|
|
42117
42130
|
super(e);
|
|
42118
42131
|
d(this, "onDrag", (e) => {
|
|
@@ -42140,7 +42153,7 @@ class gm extends Oi {
|
|
|
42140
42153
|
return this._editor || (this._editor = new YT(this)), this._editor;
|
|
42141
42154
|
}
|
|
42142
42155
|
get data() {
|
|
42143
|
-
return
|
|
42156
|
+
return he(B({}, this.baseData), {
|
|
42144
42157
|
point: li(this.applyObjectMatrixWorld(this.pointMesh.position)),
|
|
42145
42158
|
style: {
|
|
42146
42159
|
color: this.pointMesh.color.getHex(),
|
|
@@ -42191,7 +42204,7 @@ function v0(n, t) {
|
|
|
42191
42204
|
t.on("intersectionUpdate", s), t.on("disable", a), t.once("select", r);
|
|
42192
42205
|
});
|
|
42193
42206
|
}
|
|
42194
|
-
class
|
|
42207
|
+
class vl extends gi {
|
|
42195
42208
|
constructor(e) {
|
|
42196
42209
|
var a, l;
|
|
42197
42210
|
super();
|
|
@@ -42265,7 +42278,7 @@ class gl extends gi {
|
|
|
42265
42278
|
const ru = new y.BufferGeometry();
|
|
42266
42279
|
ru.name = "blankGeometry";
|
|
42267
42280
|
ru.isBlank = !0;
|
|
42268
|
-
class ou extends
|
|
42281
|
+
class ou extends vl {
|
|
42269
42282
|
constructor(e) {
|
|
42270
42283
|
super(e);
|
|
42271
42284
|
d(this, "name", "PolygonMesh");
|
|
@@ -42280,7 +42293,7 @@ class ou extends gl {
|
|
|
42280
42293
|
e != null && e.points && this.setPoints(e.points), this._paramsStyle = e != null ? e : {}, this.updateAreaItems();
|
|
42281
42294
|
}
|
|
42282
42295
|
get style() {
|
|
42283
|
-
return
|
|
42296
|
+
return he(B({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
|
|
42284
42297
|
}
|
|
42285
42298
|
get isBlank() {
|
|
42286
42299
|
return !!this.geometry.isBlank;
|
|
@@ -42348,7 +42361,7 @@ class A0 extends ou {
|
|
|
42348
42361
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
42349
42362
|
}
|
|
42350
42363
|
get style() {
|
|
42351
|
-
return
|
|
42364
|
+
return he(B({}, super.style), {
|
|
42352
42365
|
lineWidth: this.lineWidth,
|
|
42353
42366
|
lineColor: this.lineColor
|
|
42354
42367
|
});
|
|
@@ -42410,7 +42423,7 @@ class vm extends Oi {
|
|
|
42410
42423
|
return this._editor || (this._editor = new XT(this)), this._editor;
|
|
42411
42424
|
}
|
|
42412
42425
|
get data() {
|
|
42413
|
-
return this.updateMatrixWorld(),
|
|
42426
|
+
return this.updateMatrixWorld(), he(B({}, this.baseData), {
|
|
42414
42427
|
points: li(this.applyObjectMatrixWorld(this.areaMesh.points)),
|
|
42415
42428
|
style: {
|
|
42416
42429
|
color: this.areaMesh.color.getHex(),
|
|
@@ -42465,7 +42478,7 @@ function au(n, t, e) {
|
|
|
42465
42478
|
}
|
|
42466
42479
|
const a = (H = e == null ? void 0 : e.limit) != null ? H : "none", l = new Ps(n.style);
|
|
42467
42480
|
o == null || o.add(l);
|
|
42468
|
-
const c = new Ps(
|
|
42481
|
+
const c = new Ps(he(B({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
42469
42482
|
o == null || o.add(c), t.enable();
|
|
42470
42483
|
const h = [];
|
|
42471
42484
|
let u, f, p = !1, g;
|
|
@@ -42555,7 +42568,7 @@ class Cr extends gi {
|
|
|
42555
42568
|
d(this, "name", "PrismMesh");
|
|
42556
42569
|
d(this, "_geometryInfoCache");
|
|
42557
42570
|
d(this, "geometryInfoNeedUpdate", !0);
|
|
42558
|
-
d(this, "prismMesh", new
|
|
42571
|
+
d(this, "prismMesh", new vl());
|
|
42559
42572
|
d(this, "edgeMesh", new Di());
|
|
42560
42573
|
d(this, "paramStyle");
|
|
42561
42574
|
this.prismMesh.name = "PrismMesh", this.prismMesh.geometry = new qT(), this.edgeMesh.name = "EdgeMesh", this.addIfNotExists(this.prismMesh, this.edgeMesh), e && this.setPoints(e), this.setStyle(e);
|
|
@@ -42712,7 +42725,7 @@ class Am extends Oi {
|
|
|
42712
42725
|
return this._editor || (this._editor = new b0(this.prismMesh)), this._editor;
|
|
42713
42726
|
}
|
|
42714
42727
|
get data() {
|
|
42715
|
-
return
|
|
42728
|
+
return he(B({}, this.baseData), {
|
|
42716
42729
|
points: li(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
|
|
42717
42730
|
heightPoint: li(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
|
|
42718
42731
|
style: {
|
|
@@ -42872,7 +42885,7 @@ class C0 extends ou {
|
|
|
42872
42885
|
this.points = i, this.geometry = new KT(i), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
|
|
42873
42886
|
}
|
|
42874
42887
|
}
|
|
42875
|
-
class
|
|
42888
|
+
class Ya extends C0 {
|
|
42876
42889
|
constructor(e) {
|
|
42877
42890
|
const r = e != null ? e : {}, { points: i } = r, s = Dn(r, ["points"]);
|
|
42878
42891
|
super();
|
|
@@ -42912,13 +42925,13 @@ class bm extends Oi {
|
|
|
42912
42925
|
d(this, "type", "Rectangle");
|
|
42913
42926
|
d(this, "rectangleMesh");
|
|
42914
42927
|
d(this, "_editor");
|
|
42915
|
-
e && (this.rectangleMesh = new
|
|
42928
|
+
e && (this.rectangleMesh = new Ya(B(B({}, e.style), e)), this.add(this.rectangleMesh));
|
|
42916
42929
|
}
|
|
42917
42930
|
get editor() {
|
|
42918
42931
|
return this._editor || (this._editor = new w0(this.rectangleMesh)), this._editor;
|
|
42919
42932
|
}
|
|
42920
42933
|
get data() {
|
|
42921
|
-
return
|
|
42934
|
+
return he(B({}, this.baseData), {
|
|
42922
42935
|
points: li(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
|
|
42923
42936
|
style: {
|
|
42924
42937
|
color: this.rectangleMesh.color.getHex(),
|
|
@@ -42942,7 +42955,7 @@ class bm extends Oi {
|
|
|
42942
42955
|
create(e) {
|
|
42943
42956
|
return $(this, null, function* () {
|
|
42944
42957
|
this.removeChildren();
|
|
42945
|
-
const i = new
|
|
42958
|
+
const i = new Ya(e);
|
|
42946
42959
|
this.rectangleMesh = i, this.add(this.rectangleMesh), yield lu(this.rectangleMesh, this.pointSelector, e), this.config.defaultAction && this.editor.enable();
|
|
42947
42960
|
});
|
|
42948
42961
|
}
|
|
@@ -42956,7 +42969,7 @@ function $T(n, t, e) {
|
|
|
42956
42969
|
const { promise: i, reject: s, resolve: r } = Ms(), o = n.parent;
|
|
42957
42970
|
if (!o)
|
|
42958
42971
|
return s(new Error("No container"));
|
|
42959
|
-
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new Bn(
|
|
42972
|
+
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new Bn(he(B({}, n.style), { dashed: !0 })), c = new Bn(he(B({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new Bn(he(B({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
42960
42973
|
o.add(l, h, c), t.enable();
|
|
42961
42974
|
const u = [];
|
|
42962
42975
|
let f = new y.Vector3(), p = new y.Vector3();
|
|
@@ -43005,7 +43018,7 @@ function e5(n, t, e) {
|
|
|
43005
43018
|
const { promise: i, reject: s, resolve: r } = Ms(), o = n.parent;
|
|
43006
43019
|
if (!o)
|
|
43007
43020
|
return s(new Error("No container"));
|
|
43008
|
-
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new Bn(
|
|
43021
|
+
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new Bn(he(B({}, n.style), { dashed: !0 })), c = new Bn(he(B({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new Bn(he(B({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
43009
43022
|
o.add(l, h, c), t.enable();
|
|
43010
43023
|
const u = [];
|
|
43011
43024
|
let f = new y.Vector3(), p = new y.Vector3();
|
|
@@ -43055,7 +43068,7 @@ class I0 extends Bo {
|
|
|
43055
43068
|
function E0(n) {
|
|
43056
43069
|
return Math.max(32, Math.min(128, Math.floor(n * 40)));
|
|
43057
43070
|
}
|
|
43058
|
-
class M0 extends
|
|
43071
|
+
class M0 extends vl {
|
|
43059
43072
|
constructor(e) {
|
|
43060
43073
|
super(e);
|
|
43061
43074
|
d(this, "_normal");
|
|
@@ -43119,7 +43132,7 @@ class ym extends Oi {
|
|
|
43119
43132
|
return this._editor || (this._editor = new I0(this.circleMesh)), this._editor;
|
|
43120
43133
|
}
|
|
43121
43134
|
get data() {
|
|
43122
|
-
return
|
|
43135
|
+
return he(B({}, this.baseData), {
|
|
43123
43136
|
center: li(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
|
|
43124
43137
|
normal: li(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
|
|
43125
43138
|
radius: this.circleMesh.radius,
|
|
@@ -43201,7 +43214,7 @@ class Wc extends gi {
|
|
|
43201
43214
|
d(this, "_topCenter");
|
|
43202
43215
|
d(this, "_bottomCenter");
|
|
43203
43216
|
d(this, "_radius");
|
|
43204
|
-
this.params = e, this.bottomCircle = new Do(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Do(e), this.topCircle.name = "topCircle", this.edgeMesh = new
|
|
43217
|
+
this.params = e, this.bottomCircle = new Do(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Do(e), this.topCircle.name = "topCircle", this.edgeMesh = new vl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
|
|
43205
43218
|
}
|
|
43206
43219
|
get bottomCenter() {
|
|
43207
43220
|
return this.bottomCircle.center;
|
|
@@ -43304,7 +43317,7 @@ class wm extends Oi {
|
|
|
43304
43317
|
return this._editor || (this._editor = new x0(this.cylinderMesh)), this._editor;
|
|
43305
43318
|
}
|
|
43306
43319
|
get data() {
|
|
43307
|
-
return
|
|
43320
|
+
return he(B({}, this.baseData), {
|
|
43308
43321
|
bottomCenter: li(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
|
|
43309
43322
|
topCenter: li(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
|
|
43310
43323
|
radius: this.cylinderMesh.radius,
|
|
@@ -43484,7 +43497,7 @@ class Cm extends Oi {
|
|
|
43484
43497
|
return this._editor || (this._editor = new D0(this.boxMesh)), this._editor;
|
|
43485
43498
|
}
|
|
43486
43499
|
get data() {
|
|
43487
|
-
return
|
|
43500
|
+
return he(B({}, this.baseData), {
|
|
43488
43501
|
points: li(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
|
|
43489
43502
|
heightPoint: li(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
|
|
43490
43503
|
style: {
|
|
@@ -43523,7 +43536,7 @@ function S0(n, t, e) {
|
|
|
43523
43536
|
s(new Error("No container"));
|
|
43524
43537
|
return;
|
|
43525
43538
|
}
|
|
43526
|
-
const o = new
|
|
43539
|
+
const o = new Ya(n.style);
|
|
43527
43540
|
r.add(o), yield lu(o, t, e), r.remove(o), n.setPoints({ points: o.points });
|
|
43528
43541
|
const a = new Di(), l = Es(n.bottomPositions), c = ci(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
|
|
43529
43542
|
a.setPoints([h, u]), r.add(a), t.enable();
|
|
@@ -43560,13 +43573,13 @@ class Pm extends Oi {
|
|
|
43560
43573
|
d(this, "lineMesh");
|
|
43561
43574
|
d(this, "_editor");
|
|
43562
43575
|
d(this, "creatingObject");
|
|
43563
|
-
e && (this.lineMesh = new
|
|
43576
|
+
e && (this.lineMesh = new Nc(B(B({}, e.style), e)), this.add(this.lineMesh));
|
|
43564
43577
|
}
|
|
43565
43578
|
get editor() {
|
|
43566
43579
|
return this._editor || (this._editor = new WT(this)), this._editor;
|
|
43567
43580
|
}
|
|
43568
43581
|
get data() {
|
|
43569
|
-
return
|
|
43582
|
+
return he(B({}, this.baseData), {
|
|
43570
43583
|
points: li(this.applyObjectMatrixWorld(this.lineMesh.points)),
|
|
43571
43584
|
style: {
|
|
43572
43585
|
lineColor: new y.Color(this.lineMesh.color).getHex(),
|
|
@@ -43605,7 +43618,7 @@ class Pm extends Oi {
|
|
|
43605
43618
|
create(e) {
|
|
43606
43619
|
return $(this, null, function* () {
|
|
43607
43620
|
this.removeChildren();
|
|
43608
|
-
const i = new
|
|
43621
|
+
const i = new Nc(e);
|
|
43609
43622
|
this.lineMesh = i, this.add(this.lineMesh), this.creatingObject = T0(i, this.pointSelector, e), yield this.creatingObject.finished, this.config.defaultAction && this.editor.enable();
|
|
43610
43623
|
});
|
|
43611
43624
|
}
|
|
@@ -43617,7 +43630,7 @@ function T0(n, t, e) {
|
|
|
43617
43630
|
return;
|
|
43618
43631
|
const { promise: s, resolve: r, reject: o } = Ms(), a = (_ = e == null ? void 0 : e.limit) != null ? _ : "none", l = new Di(n.style);
|
|
43619
43632
|
i.add(l);
|
|
43620
|
-
const c = new Di(
|
|
43633
|
+
const c = new Di(he(B({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
43621
43634
|
i.add(c), t.enable();
|
|
43622
43635
|
const h = [];
|
|
43623
43636
|
let u, f, p;
|
|
@@ -43706,7 +43719,7 @@ const er = class extends wt {
|
|
|
43706
43719
|
this.clear();
|
|
43707
43720
|
const s = (r = e == null ? void 0 : e.items) == null ? void 0 : r.map((o) => {
|
|
43708
43721
|
var l;
|
|
43709
|
-
const a =
|
|
43722
|
+
const a = he(B({}, o), {
|
|
43710
43723
|
style: B(B({}, (l = this.theme) == null ? void 0 : l[o.type.toLowerCase()]), o.style)
|
|
43711
43724
|
});
|
|
43712
43725
|
return o.type === "Point" ? new gm(a, i) : o.type === "line" ? new Pm(a, i) : o.type === "Polyline" ? new mm(a, i) : o.type === "Polygon" ? new vm(a, i) : o.type === "Prism" ? new Am(a, i) : o.type === "Rectangle" ? new bm(a, i) : o.type === "Circle" ? new ym(a, i) : o.type === "Cylinder" ? new wm(a, i) : o.type === "Box" ? new Cm(a, i) : null;
|
|
@@ -44013,7 +44026,7 @@ const Em = (n, t) => {
|
|
|
44013
44026
|
class Mm extends O0 {
|
|
44014
44027
|
constructor(...e) {
|
|
44015
44028
|
const i = e[0], s = Is(i.model), r = new y.Vector3().lerpVectors(On(s, 0), On(s, 5), 0.5);
|
|
44016
|
-
super(
|
|
44029
|
+
super(he(B({}, i), { position: r }));
|
|
44017
44030
|
d(this, "onModelShownFloorChange", (e) => {
|
|
44018
44031
|
this.updateFiveCurrentFloorState(e), this.updateVisible();
|
|
44019
44032
|
});
|
|
@@ -44229,7 +44242,7 @@ class h5 extends mn {
|
|
|
44229
44242
|
}
|
|
44230
44243
|
const jL = (...n) => new h5(...n), u5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
44231
44244
|
__proto__: null,
|
|
44232
|
-
BaseEditor:
|
|
44245
|
+
BaseEditor: gl,
|
|
44233
44246
|
BoxMesh: Qc,
|
|
44234
44247
|
BoxMeshEditor: D0,
|
|
44235
44248
|
CircleMesh: M0,
|
|
@@ -44244,7 +44257,7 @@ const jL = (...n) => new h5(...n), u5 = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
44244
44257
|
PrismMeshEditor: b0,
|
|
44245
44258
|
RectangleMesh: C0,
|
|
44246
44259
|
RectangleMeshEditor: w0,
|
|
44247
|
-
RectangleWithEdgeMesh:
|
|
44260
|
+
RectangleWithEdgeMesh: Ya,
|
|
44248
44261
|
createBox: S0,
|
|
44249
44262
|
createCircle: cu,
|
|
44250
44263
|
createCylinder: k0,
|
|
@@ -44258,7 +44271,7 @@ const jL = (...n) => new h5(...n), u5 = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
44258
44271
|
BetterTween: cr,
|
|
44259
44272
|
FiveDomEvents: vo,
|
|
44260
44273
|
FivePuppet: y1,
|
|
44261
|
-
Interval:
|
|
44274
|
+
Interval: cc,
|
|
44262
44275
|
LightTag: Rn,
|
|
44263
44276
|
LineSegments: Um,
|
|
44264
44277
|
Magnifier: Jc,
|
|
@@ -44270,7 +44283,7 @@ const jL = (...n) => new h5(...n), u5 = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
44270
44283
|
absoluteUrl: dh,
|
|
44271
44284
|
animeMap: $r,
|
|
44272
44285
|
awaitNextFrame: d1,
|
|
44273
|
-
blink:
|
|
44286
|
+
blink: il,
|
|
44274
44287
|
bounding: th,
|
|
44275
44288
|
boundingBox: Is,
|
|
44276
44289
|
boundingSphere: Ym,
|
|
@@ -44300,7 +44313,7 @@ const jL = (...n) => new h5(...n), u5 = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
44300
44313
|
tweenProgress: Ao,
|
|
44301
44314
|
uuid: kt,
|
|
44302
44315
|
waitFiveModelLoaded: ai,
|
|
44303
|
-
worldBounding:
|
|
44316
|
+
worldBounding: Ka,
|
|
44304
44317
|
worldBoundingBox: Lb,
|
|
44305
44318
|
worldBoundingSphere: Xm
|
|
44306
44319
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -44357,7 +44370,7 @@ export {
|
|
|
44357
44370
|
X5 as PanoRulerProPlugin,
|
|
44358
44371
|
tL as PanoSpatialTagPlugin,
|
|
44359
44372
|
vL as PanoTagPlugin,
|
|
44360
|
-
|
|
44373
|
+
Bc as PanoTagPluginController,
|
|
44361
44374
|
kL as PanoVideoPlugin,
|
|
44362
44375
|
xL as PanoVideoPluginType,
|
|
44363
44376
|
SL as PipelinePlugin,
|