@realsee/dnalogel 3.69.5-dev.3 → 3.69.5-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +27 -27
- package/dist/index.js +354 -359
- package/dist/index.umd.js +29 -29
- 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/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.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.LegacyPointHelper.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.PointDomHelper.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/MeasurePlugin.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/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- 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.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.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.replaceStaticPrefix.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.ExtraRouteData.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/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.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.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/ModelMakerPluginType.TrianglesItemObjectData.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 +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- 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/SculptConfig.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/TagState.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.LegacyMouseGroupParameter.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/SculptType.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/GuideLinePluginType.RouteConfig.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/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- 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 +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- 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/SculptType.Theme.html +2 -2
- 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/TagPlacement.html +2 -2
- 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.AdherePoint.html +2 -2
- 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.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.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/PanoTagPlugin/utils/model/mediaPlane.js +54 -59
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var jv = Object.defineProperty, Rv = Object.defineProperties;
|
|
2
2
|
var _v = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var ra = Object.getOwnPropertySymbols;
|
|
4
4
|
var Hu = Object.prototype.hasOwnProperty, Fu = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var Fn = Math.pow, Gl = (n, t, e) => t in n ? jv(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
7
|
Hu.call(t, e) && Gl(n, e, t[e]);
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
8
|
+
if (ra)
|
|
9
|
+
for (var e of ra(t))
|
|
10
10
|
Fu.call(t, e) && Gl(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, ce = (n, t) => Rv(n, _v(t));
|
|
@@ -14,8 +14,8 @@ var Nn = (n, t) => {
|
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
16
16
|
Hu.call(n, i) && t.indexOf(i) < 0 && (e[i] = n[i]);
|
|
17
|
-
if (n != null &&
|
|
18
|
-
for (var i of
|
|
17
|
+
if (n != null && ra)
|
|
18
|
+
for (var i of ra(n))
|
|
19
19
|
t.indexOf(i) < 0 && Fu.call(n, i) && (e[i] = n[i]);
|
|
20
20
|
return e;
|
|
21
21
|
};
|
|
@@ -38,12 +38,12 @@ var te = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { InternalWebGLRenderer as Bv, Camera as Vv, loadAt3d as Hv, Five as Vt, Subscribe as Vo, AnimationFrameLoop as Fv } from "@realsee/five";
|
|
40
40
|
import * as P from "three";
|
|
41
|
-
import { Vector3 as Ae, Vector2 as Ht, Object3D as Ao, Matrix4 as nt, LineSegments as Nv, Group as vn, Raycaster as Ho, MeshBasicMaterial as
|
|
41
|
+
import { Vector3 as Ae, Vector2 as Ht, Object3D as Ao, Matrix4 as nt, LineSegments as Nv, Group as vn, Raycaster as Ho, MeshBasicMaterial as Ir, Vector4 as Is, Curve as Sm, Loader as Nu, LoaderUtils as Wl, FileLoader as Gv, TextureLoader as mh, RepeatWrapping as Gu, ClampToEdgeWrapping as Wu, Texture as Uu, MeshPhongMaterial as Ul, MeshLambertMaterial as Wv, Color as Xt, sRGBEncoding as dr, EquirectangularReflectionMapping as Uv, Bone as Qu, PropertyBinding as aa, OrthographicCamera as Qv, PerspectiveCamera as Xv, PointLight as Xu, MathUtils as Yi, SpotLight as Yv, DirectionalLight as Zv, SkinnedMesh as qv, Mesh as bo, LineBasicMaterial as Jv, Line as Kv, Skeleton as $v, AmbientLight as eA, BufferGeometry as la, Float32BufferAttribute as io, Uint16BufferAttribute as tA, Matrix3 as iA, BufferAttribute as nA, AnimationClip as sA, Quaternion as Es, Euler as Xn, VectorKeyframeTrack as oA, QuaternionKeyframeTrack as rA, NumberKeyframeTrack as aA, CanvasTexture as lA, AnimationMixer as cA, PlaneGeometry as hA, LinearFilter as Tc, CurvePath as uA, LineCurve3 as dA, TubeGeometry as fA, ShaderMaterial as Dm, SphereGeometry as pA, DoubleSide as Tm, RingGeometry as gA, VideoTexture as mA, SphereBufferGeometry as vA, Box3 as AA } from "three";
|
|
42
42
|
import { LineGeometry as bA, LineMaterial as yA, THREE_Line2 as wA, Line as PA } from "@realsee/five/line";
|
|
43
43
|
import { GLTFLoader as CA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function IA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.69.5-dev.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.69.5-dev.4",
|
|
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",
|
|
@@ -71,7 +71,7 @@ const Yu = () => Promise.resolve(), Zu = {
|
|
|
71
71
|
function MA(n = Yu) {
|
|
72
72
|
Zu.__queue = Zu.__queue.then(n).catch(Yu);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ca(n, t, e) {
|
|
75
75
|
const i = n.x, s = n.y, o = Math.floor(i / t * 1e4) / 1e4, r = Math.floor(s / e * 1e4) / 1e4;
|
|
76
76
|
return { x: o, y: r };
|
|
77
77
|
}
|
|
@@ -79,7 +79,7 @@ function Ql(n, t, e) {
|
|
|
79
79
|
const { x: i, y: s } = n, o = i * t, r = s * e;
|
|
80
80
|
return { x: o, y: r };
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ha(n) {
|
|
83
83
|
if (n.length < 2)
|
|
84
84
|
return {};
|
|
85
85
|
const t = n.slice(-2), e = t[0], i = {
|
|
@@ -96,8 +96,8 @@ function kA(n, t, e = Lm) {
|
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
98
|
const xA = window, qu = window.requestAnimationFrame || xA.webkitRequestAnimationFrame || ((n) => setTimeout(n, 16));
|
|
99
|
-
function
|
|
100
|
-
t <= 0 ? qu(n) : qu(() =>
|
|
99
|
+
function xa(n, t = 0) {
|
|
100
|
+
t <= 0 ? qu(n) : qu(() => xa(n, t - 1));
|
|
101
101
|
}
|
|
102
102
|
var Vi = Object.freeze({
|
|
103
103
|
Linear: Object.freeze({
|
|
@@ -513,12 +513,12 @@ function jA(n, t, e, i = Vi.Linear.None) {
|
|
|
513
513
|
return requestAnimationFrame(o), s;
|
|
514
514
|
}
|
|
515
515
|
var Un = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(Un || {});
|
|
516
|
-
const
|
|
517
|
-
function
|
|
518
|
-
return n[
|
|
516
|
+
const mr = Symbol("$$PAINT_BRUSH_EVENT$$");
|
|
517
|
+
function ua(n) {
|
|
518
|
+
return n[mr] || (n[mr] = {}), n[mr];
|
|
519
519
|
}
|
|
520
520
|
function RA(n) {
|
|
521
|
-
n[
|
|
521
|
+
n[mr] || delete n[mr];
|
|
522
522
|
}
|
|
523
523
|
let _A = class {
|
|
524
524
|
/**
|
|
@@ -526,7 +526,7 @@ let _A = class {
|
|
|
526
526
|
* @param name 事件类型
|
|
527
527
|
*/
|
|
528
528
|
hasListener(t) {
|
|
529
|
-
const e =
|
|
529
|
+
const e = ua(this);
|
|
530
530
|
return e && e[t] && e[t].length > 0;
|
|
531
531
|
}
|
|
532
532
|
/**
|
|
@@ -539,7 +539,7 @@ let _A = class {
|
|
|
539
539
|
* @template C 回调函数函数上下文
|
|
540
540
|
*/
|
|
541
541
|
on(t, e, i) {
|
|
542
|
-
const s =
|
|
542
|
+
const s = ua(this);
|
|
543
543
|
return s[t] || (s[t] = []), s[t].push([e, i || !1]), () => this.off(t, e);
|
|
544
544
|
}
|
|
545
545
|
/**
|
|
@@ -567,7 +567,7 @@ let _A = class {
|
|
|
567
567
|
RA(this);
|
|
568
568
|
return;
|
|
569
569
|
}
|
|
570
|
-
const i =
|
|
570
|
+
const i = ua(this);
|
|
571
571
|
if (i[t] || (i[t] = []), e === void 0) {
|
|
572
572
|
i[t].length = 0;
|
|
573
573
|
return;
|
|
@@ -586,7 +586,7 @@ let _A = class {
|
|
|
586
586
|
*/
|
|
587
587
|
emit(t, ...e) {
|
|
588
588
|
let i = !1;
|
|
589
|
-
const o =
|
|
589
|
+
const o = ua(this)[t] || [];
|
|
590
590
|
for (let r of o.slice()) {
|
|
591
591
|
const [a, l = !1] = r, c = a(...e);
|
|
592
592
|
l && this.off(t, a), c === !1 && (i = !0);
|
|
@@ -832,14 +832,14 @@ let VA = class extends _A {
|
|
|
832
832
|
e.onmousedown = (u) => {
|
|
833
833
|
u.preventDefault(), c = Date.now();
|
|
834
834
|
const f = u.clientX, m = u.clientY;
|
|
835
|
-
r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a =
|
|
835
|
+
r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a = ca({ x: f, y: m }, this.clientWidth, this.clientHeight), l = [];
|
|
836
836
|
}, e.onmousemove = (u) => {
|
|
837
837
|
if (u.preventDefault(), !o)
|
|
838
838
|
return;
|
|
839
839
|
const f = Number(u.clientX), m = Number(u.clientY);
|
|
840
|
-
if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(
|
|
840
|
+
if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(ca({ x: f, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
|
|
841
841
|
return;
|
|
842
|
-
const { control: p, end: g } =
|
|
842
|
+
const { control: p, end: g } = ha(r);
|
|
843
843
|
!p || !g || (h(o, p, g), o = g);
|
|
844
844
|
}, e.onmouseup = (u) => {
|
|
845
845
|
if (u.preventDefault(), o = null, r.length < 3)
|
|
@@ -853,7 +853,7 @@ let VA = class extends _A {
|
|
|
853
853
|
duration: f < 1280 ? f : f < 2e3 ? 1280 : 0
|
|
854
854
|
// 单次笔迹时长超过2000ms不加动画
|
|
855
855
|
};
|
|
856
|
-
this.data[this.uuid].push(m),
|
|
856
|
+
this.data[this.uuid].push(m), xa(() => {
|
|
857
857
|
this.emitStateChange({
|
|
858
858
|
type: Un.Drawline,
|
|
859
859
|
color: this.color,
|
|
@@ -865,14 +865,14 @@ let VA = class extends _A {
|
|
|
865
865
|
}, e.ontouchstart = (u) => {
|
|
866
866
|
u.preventDefault(), c = Date.now();
|
|
867
867
|
const f = u.touches[0].clientX, m = u.touches[0].clientY;
|
|
868
|
-
r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a =
|
|
868
|
+
r = [], r.push({ x: f, y: m }), o = { x: f, y: m }, a = ca({ x: f, y: m }, this.clientWidth, this.clientHeight), l = [];
|
|
869
869
|
}, e.ontouchmove = (u) => {
|
|
870
870
|
if (u.preventDefault(), !o)
|
|
871
871
|
return;
|
|
872
872
|
const f = Number(u.touches[0].clientX), m = Number(u.touches[0].clientY);
|
|
873
|
-
if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(
|
|
873
|
+
if (Math.abs(f - o.x) < 5 && Math.abs(m - o.y) < 5 || (r.push({ x: f, y: m }), l.push(ca({ x: f, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
|
|
874
874
|
return;
|
|
875
|
-
const { control: p, end: g } =
|
|
875
|
+
const { control: p, end: g } = ha(r);
|
|
876
876
|
!p || !g || (h(o, p, g), o = g);
|
|
877
877
|
}, e.ontouchend = e.ontouchcancel = (u) => {
|
|
878
878
|
if (u.preventDefault(), o = null, r.length < 3)
|
|
@@ -886,7 +886,7 @@ let VA = class extends _A {
|
|
|
886
886
|
duration: f < 1280 ? f : f < 2e3 ? 1280 : 0
|
|
887
887
|
// 单次笔迹时长超过2000ms不加动画
|
|
888
888
|
};
|
|
889
|
-
this.data[this.uuid].push(m),
|
|
889
|
+
this.data[this.uuid].push(m), xa(() => {
|
|
890
890
|
this.emitStateChange({
|
|
891
891
|
type: Un.Drawline,
|
|
892
892
|
color: this.color,
|
|
@@ -970,7 +970,7 @@ let VA = class extends _A {
|
|
|
970
970
|
if (!p.find((E) => E === A)) {
|
|
971
971
|
if (p.push(A), m.push(Ql(l[A], g.clientWidth, g.clientHeight)), m.length < 3)
|
|
972
972
|
return;
|
|
973
|
-
const { control: E, end: k } =
|
|
973
|
+
const { control: E, end: k } = ha(m);
|
|
974
974
|
if (!E || !k)
|
|
975
975
|
return;
|
|
976
976
|
a.quadraticCurveTo(E.x, E.y, k.x, k.y), a.stroke();
|
|
@@ -982,7 +982,7 @@ let VA = class extends _A {
|
|
|
982
982
|
for (let p = 0; p < l.length; p++) {
|
|
983
983
|
if (m.push(Ql(l[p], this.clientWidth, this.clientHeight)), m.length < 3)
|
|
984
984
|
continue;
|
|
985
|
-
const { control: g, end: v } =
|
|
985
|
+
const { control: g, end: v } = ha(m);
|
|
986
986
|
!g || !v || a.quadraticCurveTo(g.x, g.y, v.x, v.y);
|
|
987
987
|
}
|
|
988
988
|
a.stroke(), m = [], o && o(), r();
|
|
@@ -999,7 +999,7 @@ let VA = class extends _A {
|
|
|
999
999
|
s && s.clearRect(0, 0, this.canvas[e].width, this.canvas[e].height), this.data[e].forEach((r) => this.handleDrawLine(e, r, { withUndo: !0 }));
|
|
1000
1000
|
};
|
|
1001
1001
|
if (this.tween && this.tweening) {
|
|
1002
|
-
this.tween.stop(),
|
|
1002
|
+
this.tween.stop(), xa(i, 60);
|
|
1003
1003
|
return;
|
|
1004
1004
|
}
|
|
1005
1005
|
i();
|
|
@@ -1062,12 +1062,12 @@ class lS {
|
|
|
1062
1062
|
function HA(n) {
|
|
1063
1063
|
return typeof Symbol == "undefined" ? `$Symbol<${n}>$` : Symbol(n);
|
|
1064
1064
|
}
|
|
1065
|
-
const
|
|
1066
|
-
function
|
|
1067
|
-
return n[
|
|
1065
|
+
const vr = HA("$$EVENT$$");
|
|
1066
|
+
function da(n) {
|
|
1067
|
+
return n[vr] || (n[vr] = {}), n[vr];
|
|
1068
1068
|
}
|
|
1069
1069
|
function FA(n) {
|
|
1070
|
-
n[
|
|
1070
|
+
n[vr] && delete n[vr];
|
|
1071
1071
|
}
|
|
1072
1072
|
class Ct {
|
|
1073
1073
|
/**
|
|
@@ -1075,7 +1075,7 @@ class Ct {
|
|
|
1075
1075
|
* @param name - 事件类型
|
|
1076
1076
|
*/
|
|
1077
1077
|
hasListener(t) {
|
|
1078
|
-
const e =
|
|
1078
|
+
const e = da(this);
|
|
1079
1079
|
return !!(e != null && e[t] && e[t].length > 0);
|
|
1080
1080
|
}
|
|
1081
1081
|
/**
|
|
@@ -1088,7 +1088,7 @@ class Ct {
|
|
|
1088
1088
|
* @template C - 回调函数函数上下文
|
|
1089
1089
|
*/
|
|
1090
1090
|
on(t, e, i) {
|
|
1091
|
-
const s =
|
|
1091
|
+
const s = da(this);
|
|
1092
1092
|
return s[t] || (s[t] = []), s[t].push([e, i || !1]), () => this.off(t, e);
|
|
1093
1093
|
}
|
|
1094
1094
|
/**
|
|
@@ -1116,7 +1116,7 @@ class Ct {
|
|
|
1116
1116
|
FA(this);
|
|
1117
1117
|
return;
|
|
1118
1118
|
}
|
|
1119
|
-
const i =
|
|
1119
|
+
const i = da(this);
|
|
1120
1120
|
if (i[t] || (i[t] = []), e === void 0) {
|
|
1121
1121
|
i[t].length = 0;
|
|
1122
1122
|
return;
|
|
@@ -1135,7 +1135,7 @@ class Ct {
|
|
|
1135
1135
|
*/
|
|
1136
1136
|
emit(t, ...e) {
|
|
1137
1137
|
let i = !1;
|
|
1138
|
-
const o =
|
|
1138
|
+
const o = da(this)[t] || [];
|
|
1139
1139
|
for (let r of o.slice()) {
|
|
1140
1140
|
const [a, l = !1] = r, c = a(...e);
|
|
1141
1141
|
l && this.off(t, a), c === !1 && (i = !0);
|
|
@@ -1331,7 +1331,7 @@ class dl extends jm {
|
|
|
1331
1331
|
return this.five.moveToPano(s, i);
|
|
1332
1332
|
}
|
|
1333
1333
|
}
|
|
1334
|
-
class
|
|
1334
|
+
class Er extends P.Raycaster {
|
|
1335
1335
|
intersectObject(t, e = !0, i = []) {
|
|
1336
1336
|
return Oc(t, this, i, e), i.sort($u), i;
|
|
1337
1337
|
}
|
|
@@ -1360,7 +1360,7 @@ function Ah(n, t, e, i) {
|
|
|
1360
1360
|
o[r].type !== "Line2" && Ah(o[r], t, e, !0);
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
|
-
const An = new
|
|
1363
|
+
const An = new Er();
|
|
1364
1364
|
An.params.Points.threshold = 0.02;
|
|
1365
1365
|
function Ba(n, t) {
|
|
1366
1366
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
@@ -1396,7 +1396,7 @@ function bh(n, t) {
|
|
|
1396
1396
|
};
|
|
1397
1397
|
}
|
|
1398
1398
|
const YA = new Ht();
|
|
1399
|
-
class
|
|
1399
|
+
class Nr {
|
|
1400
1400
|
constructor(t, e, i) {
|
|
1401
1401
|
/**
|
|
1402
1402
|
* @description 单个标签 dom
|
|
@@ -1604,7 +1604,7 @@ class Gr {
|
|
|
1604
1604
|
}
|
|
1605
1605
|
}
|
|
1606
1606
|
function Rm(...n) {
|
|
1607
|
-
return new
|
|
1607
|
+
return new Nr(...n);
|
|
1608
1608
|
}
|
|
1609
1609
|
function Jn(n) {
|
|
1610
1610
|
return n.toLowerCase().includes("panorama");
|
|
@@ -1612,12 +1612,12 @@ function Jn(n) {
|
|
|
1612
1612
|
function Ai(n) {
|
|
1613
1613
|
return !Jn(n);
|
|
1614
1614
|
}
|
|
1615
|
-
var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {},
|
|
1615
|
+
var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Mr = {}, ZA = {
|
|
1616
1616
|
get exports() {
|
|
1617
|
-
return
|
|
1617
|
+
return Mr;
|
|
1618
1618
|
},
|
|
1619
1619
|
set exports(n) {
|
|
1620
|
-
|
|
1620
|
+
Mr = n;
|
|
1621
1621
|
}
|
|
1622
1622
|
};
|
|
1623
1623
|
/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
@@ -2845,7 +2845,7 @@ class yh {
|
|
|
2845
2845
|
const i = this.canvas.getContext("2d");
|
|
2846
2846
|
if (!i)
|
|
2847
2847
|
throw new Error("CANNOT CREATE CONTEXT2D");
|
|
2848
|
-
this.context = i, this.config.dragEnabled && (this.hammer = new
|
|
2848
|
+
this.context = i, this.config.dragEnabled && (this.hammer = new Mr(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
|
|
2849
2849
|
}
|
|
2850
2850
|
enable() {
|
|
2851
2851
|
if (!this.state.enabled)
|
|
@@ -2997,7 +2997,7 @@ class yh {
|
|
|
2997
2997
|
return { translateX: c, translateY: h };
|
|
2998
2998
|
}
|
|
2999
2999
|
}
|
|
3000
|
-
function
|
|
3000
|
+
function fa(n, t, e) {
|
|
3001
3001
|
if (!n || t < 0 || e < 0 || t >= n.length || e >= n.length) {
|
|
3002
3002
|
console.warn("exchange: Index out of bounds", {
|
|
3003
3003
|
arrayLength: n == null ? void 0 : n.length,
|
|
@@ -3029,7 +3029,7 @@ function qA(n, t, e) {
|
|
|
3029
3029
|
const r = e - (o - 1);
|
|
3030
3030
|
for (let a = 1; a <= t; a++) {
|
|
3031
3031
|
const l = (o - 1) * t + a - 1, c = (r - 1) * t + a - 1, h = l * 4, u = c * 4;
|
|
3032
|
-
h + 3 < n.length && u + 3 < n.length && (
|
|
3032
|
+
h + 3 < n.length && u + 3 < n.length && (fa(n, h + 0, u + 0), fa(n, h + 1, u + 1), fa(n, h + 2, u + 2), fa(n, h + 3, u + 3));
|
|
3033
3033
|
}
|
|
3034
3034
|
}
|
|
3035
3035
|
}
|
|
@@ -3243,7 +3243,7 @@ function Zl(n) {
|
|
|
3243
3243
|
return n;
|
|
3244
3244
|
}
|
|
3245
3245
|
let or = [null, null, () => null];
|
|
3246
|
-
function
|
|
3246
|
+
function Gr(n) {
|
|
3247
3247
|
var s;
|
|
3248
3248
|
if (or) {
|
|
3249
3249
|
if (or[0] === n)
|
|
@@ -3374,7 +3374,7 @@ function Ch(n, t) {
|
|
|
3374
3374
|
function In(n) {
|
|
3375
3375
|
return arguments.length === 0 ? [] : Array.isArray(n) ? n : [n];
|
|
3376
3376
|
}
|
|
3377
|
-
function
|
|
3377
|
+
function kr(n, t) {
|
|
3378
3378
|
const i = In(t).map((s) => n.localToWorld(s.clone()));
|
|
3379
3379
|
return Array.isArray(t) ? i : i[0];
|
|
3380
3380
|
}
|
|
@@ -3382,7 +3382,7 @@ function sb(n, t) {
|
|
|
3382
3382
|
const i = In(t).map((s) => n.worldToLocal(s.clone()));
|
|
3383
3383
|
return Array.isArray(t) ? i : i[0];
|
|
3384
3384
|
}
|
|
3385
|
-
class
|
|
3385
|
+
class Sa extends bA {
|
|
3386
3386
|
constructor(...t) {
|
|
3387
3387
|
super(...t), this.setAttribute("instanceStart", new P.BufferAttribute(new Float32Array(), 3)), this.setAttribute("instanceEnd", new P.BufferAttribute(new Float32Array(), 3));
|
|
3388
3388
|
}
|
|
@@ -3861,7 +3861,7 @@ class wi extends fi {
|
|
|
3861
3861
|
d(this, "onPanoArrived", () => {
|
|
3862
3862
|
setTimeout(() => this.updateDomItems({ force: !0 }), 100);
|
|
3863
3863
|
});
|
|
3864
|
-
this.paramsStyle = B({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new
|
|
3864
|
+
this.paramsStyle = B({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new Sa();
|
|
3865
3865
|
const i = {
|
|
3866
3866
|
color: new P.Color((r = e == null ? void 0 : e.lineColor) != null ? r : tb),
|
|
3867
3867
|
linewidth: (a = e == null ? void 0 : e.lineWidth) != null ? a : ib,
|
|
@@ -3930,7 +3930,7 @@ class wi extends fi {
|
|
|
3930
3930
|
updateMatrixWorld(e) {
|
|
3931
3931
|
var i;
|
|
3932
3932
|
if (super.updateMatrixWorld(e), this.points) {
|
|
3933
|
-
const s = (i =
|
|
3933
|
+
const s = (i = kr(this, this.points)) == null ? void 0 : i.map((o) => o.toArray().join(",")).join(",");
|
|
3934
3934
|
s !== this.lastRenderDomItem && (this.updateDomItems(), this.lastRenderDomItem = s);
|
|
3935
3935
|
}
|
|
3936
3936
|
}
|
|
@@ -3939,14 +3939,14 @@ class wi extends fi {
|
|
|
3939
3939
|
return;
|
|
3940
3940
|
const i = e.map(Ue).filter(Fe);
|
|
3941
3941
|
if (this.points = i, i.length < 2) {
|
|
3942
|
-
const o = new
|
|
3942
|
+
const o = new Sa();
|
|
3943
3943
|
this.line1.geometry = o, this.line2.geometry = o, this.updateDomItems();
|
|
3944
3944
|
return;
|
|
3945
3945
|
}
|
|
3946
3946
|
const s = i.flatMap((o) => [o.x, o.y, o.z]);
|
|
3947
3947
|
if (s.length > 2) {
|
|
3948
3948
|
this.line1.geometry.dispose();
|
|
3949
|
-
const o = new
|
|
3949
|
+
const o = new Sa();
|
|
3950
3950
|
this.line1.geometry = o, this.line2.geometry = o;
|
|
3951
3951
|
}
|
|
3952
3952
|
this.line1.geometry.setPositions(s), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
|
|
@@ -3990,13 +3990,13 @@ class wi extends fi {
|
|
|
3990
3990
|
return i();
|
|
3991
3991
|
if (!this.five)
|
|
3992
3992
|
return console.error("Five not found");
|
|
3993
|
-
const s = this.points.map((o, r) => r !== 0 ? [this.points[r - 1], o] : null).filter(Fe).map((o) =>
|
|
3993
|
+
const s = this.points.map((o, r) => r !== 0 ? [this.points[r - 1], o] : null).filter(Fe).map((o) => kr(this, o));
|
|
3994
3994
|
s.forEach(([o, r], a) => {
|
|
3995
3995
|
var h;
|
|
3996
3996
|
const l = si(o, r);
|
|
3997
3997
|
this.doms[a] = (h = this.doms[a]) != null ? h : (() => {
|
|
3998
3998
|
var m;
|
|
3999
|
-
const u = new
|
|
3999
|
+
const u = new Nr(this.five), f = (m = this.paramsStyle.occlusionVisibility) != null ? m : !0;
|
|
4000
4000
|
return u.intersectCheck = !f, u.simulate3D = !0, u;
|
|
4001
4001
|
})(), this.doms[a].setPosition(l, [o, r]);
|
|
4002
4002
|
const c = (u, f) => {
|
|
@@ -4167,7 +4167,7 @@ class Ab extends P.Object3D {
|
|
|
4167
4167
|
d(this, "ballMesh");
|
|
4168
4168
|
d(this, "cssBallMesh");
|
|
4169
4169
|
const i = 0.18;
|
|
4170
|
-
this.planeMesh = db(), this.ringMesh = gb(), this.crossline = fb(), this.lineMesh = pb(i), this.ballMesh = mb(), this.cssBallMesh = vb(), this.ballMesh.position.setZ(i), this.cssBallMesh.position.setZ(i), this.planeMesh.renderOrder = 0, this.ringMesh.renderOrder = 1, this.crossline.renderOrder = 2, this.lineMesh.renderOrder = 3, this.ballMesh.renderOrder = 4, this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.ringMesh, this.cssBallMesh),
|
|
4170
|
+
this.planeMesh = db(), this.ringMesh = gb(), this.crossline = fb(), this.lineMesh = pb(i), this.ballMesh = mb(), this.cssBallMesh = vb(), this.ballMesh.position.setZ(i), this.cssBallMesh.position.setZ(i), this.planeMesh.renderOrder = 0, this.ringMesh.renderOrder = 1, this.crossline.renderOrder = 2, this.lineMesh.renderOrder = 3, this.ballMesh.renderOrder = 4, this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.ringMesh, this.cssBallMesh), Gr(e);
|
|
4171
4171
|
}
|
|
4172
4172
|
updateWithIntersect(e) {
|
|
4173
4173
|
if (!e.face)
|
|
@@ -4239,7 +4239,7 @@ function bb(n, t) {
|
|
|
4239
4239
|
const { x: e, y: i } = t, s = e * 2 - 1, o = i * 2 - 1, r = new P.Raycaster();
|
|
4240
4240
|
return r.setFromCamera({ x: s, y: o }, n.camera), r.params.Points.threshold = 0.02, r;
|
|
4241
4241
|
}
|
|
4242
|
-
function
|
|
4242
|
+
function Wr(n, t, e) {
|
|
4243
4243
|
const i = yb(n, t);
|
|
4244
4244
|
return e != null && e.virtualPoint ? i != null ? i : Nm(t) : i;
|
|
4245
4245
|
}
|
|
@@ -4435,7 +4435,7 @@ class pl extends Ct {
|
|
|
4435
4435
|
d(this, "updateByNdcPosition", (e) => {
|
|
4436
4436
|
var o, r, a;
|
|
4437
4437
|
const i = bb(this.five, e);
|
|
4438
|
-
let s =
|
|
4438
|
+
let s = Wr(this.five, i);
|
|
4439
4439
|
if (s) {
|
|
4440
4440
|
if (this.plane && this.planeMode === "vertical" && (s = ce(B({}, s), {
|
|
4441
4441
|
point: this.plane.projectPoint(s.point, new P.Vector3()),
|
|
@@ -4505,7 +4505,7 @@ class pl extends Ct {
|
|
|
4505
4505
|
(!this.plane || this.plane.distanceToPoint(g) < 0.01) && (g = (a = (r = this.plane) == null ? void 0 : r.projectPoint(g, new P.Vector3())) != null ? a : g, i.point = g.clone(), i.adhereLine = p.clone(), i.isAdsorbed = !0);
|
|
4506
4506
|
else {
|
|
4507
4507
|
const v = es({
|
|
4508
|
-
raycaster: new
|
|
4508
|
+
raycaster: new Er(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
|
|
4509
4509
|
line: p,
|
|
4510
4510
|
clampToLine: !1
|
|
4511
4511
|
}), A = v.clone().project(this.five.camera);
|
|
@@ -4893,7 +4893,7 @@ class Ym extends P.Object3D {
|
|
|
4893
4893
|
this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
|
|
4894
4894
|
}), this.addEventListener("removed", () => {
|
|
4895
4895
|
this.remove(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
|
|
4896
|
-
}),
|
|
4896
|
+
}), Gr(e), this.five = e;
|
|
4897
4897
|
}
|
|
4898
4898
|
updateWithIntersect(e) {
|
|
4899
4899
|
var s;
|
|
@@ -5049,7 +5049,7 @@ var $m = {
|
|
|
5049
5049
|
function Zi(n, t, e) {
|
|
5050
5050
|
return Math.min(Math.max(n, t), e);
|
|
5051
5051
|
}
|
|
5052
|
-
function
|
|
5052
|
+
function Ar(n, t) {
|
|
5053
5053
|
return n.indexOf(t) > -1;
|
|
5054
5054
|
}
|
|
5055
5055
|
function Kl(n, t) {
|
|
@@ -5060,7 +5060,7 @@ var He = {
|
|
|
5060
5060
|
return Array.isArray(n);
|
|
5061
5061
|
},
|
|
5062
5062
|
obj: function(n) {
|
|
5063
|
-
return
|
|
5063
|
+
return Ar(Object.prototype.toString.call(n), "Object");
|
|
5064
5064
|
},
|
|
5065
5065
|
pth: function(n) {
|
|
5066
5066
|
return He.obj(n) && n.hasOwnProperty("totalLength");
|
|
@@ -5351,9 +5351,9 @@ function bn(n) {
|
|
|
5351
5351
|
return t[1];
|
|
5352
5352
|
}
|
|
5353
5353
|
function Gb(n) {
|
|
5354
|
-
if (
|
|
5354
|
+
if (Ar(n, "translate") || n === "perspective")
|
|
5355
5355
|
return "px";
|
|
5356
|
-
if (
|
|
5356
|
+
if (Ar(n, "rotate") || Ar(n, "skew"))
|
|
5357
5357
|
return "deg";
|
|
5358
5358
|
}
|
|
5359
5359
|
function Rc(n, t) {
|
|
@@ -5400,7 +5400,7 @@ function o0(n) {
|
|
|
5400
5400
|
}
|
|
5401
5401
|
}
|
|
5402
5402
|
function Wb(n, t, e, i) {
|
|
5403
|
-
var s =
|
|
5403
|
+
var s = Ar(t, "scale") ? 1 : 0 + Gb(t), o = o0(n).get(t) || s;
|
|
5404
5404
|
return e && (e.transforms.list.set(t, o), e.transforms.last = t), i ? Dh(n, o, i) : o;
|
|
5405
5405
|
}
|
|
5406
5406
|
function Lh(n, t, e, i) {
|
|
@@ -6087,7 +6087,7 @@ function by(n) {
|
|
|
6087
6087
|
function yy(n) {
|
|
6088
6088
|
Et.behindModeStore.css3DRenderer.setWrapper(n);
|
|
6089
6089
|
}
|
|
6090
|
-
class
|
|
6090
|
+
class xr {
|
|
6091
6091
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
6092
6092
|
constructor(t) {
|
|
6093
6093
|
d(this, "hooks", new Ct());
|
|
@@ -6332,9 +6332,9 @@ class Sr {
|
|
|
6332
6332
|
this.handleDisable();
|
|
6333
6333
|
}
|
|
6334
6334
|
}
|
|
6335
|
-
d(
|
|
6335
|
+
d(xr, "setFrontModeContainer", by), d(xr, "setBehindModeContainer", yy);
|
|
6336
6336
|
const A0 = "v2.0.1", ud = `CSS3DRenderPlugin@${A0}`;
|
|
6337
|
-
let wy = class extends
|
|
6337
|
+
let wy = class extends xr {
|
|
6338
6338
|
constructor(e) {
|
|
6339
6339
|
super();
|
|
6340
6340
|
d(this, "five");
|
|
@@ -6557,7 +6557,7 @@ const $l = Math.PI * 2;
|
|
|
6557
6557
|
function Bc(n) {
|
|
6558
6558
|
return (n % $l + $l) % $l;
|
|
6559
6559
|
}
|
|
6560
|
-
function
|
|
6560
|
+
function Ur(n) {
|
|
6561
6561
|
return {
|
|
6562
6562
|
longitude: Bc(-Math.atan2(n.x, -n.z)),
|
|
6563
6563
|
latitude: -Math.asin(n.y / 1)
|
|
@@ -6589,7 +6589,7 @@ function Sy(n, t, e) {
|
|
|
6589
6589
|
break;
|
|
6590
6590
|
f += 30;
|
|
6591
6591
|
}
|
|
6592
|
-
const g = p((k = (E = m[2]) != null ? E : m[1]) != null ? k : 0), v = g.distanceTo(r), A =
|
|
6592
|
+
const g = p((k = (E = m[2]) != null ? E : m[1]) != null ? k : 0), v = g.distanceTo(r), A = Ur(r.clone().sub(g).normalize());
|
|
6593
6593
|
if (n.state.mode === "Mapview")
|
|
6594
6594
|
return n.updateCamera(
|
|
6595
6595
|
B({
|
|
@@ -6626,7 +6626,7 @@ function b0(n, t, e) {
|
|
|
6626
6626
|
break;
|
|
6627
6627
|
h += 30;
|
|
6628
6628
|
}
|
|
6629
|
-
const m = f((v = u[1]) != null ? v : 0), p =
|
|
6629
|
+
const m = f((v = u[1]) != null ? v : 0), p = Ur(t.clone().sub(m).normalize());
|
|
6630
6630
|
if (n.state.mode === "Mapview")
|
|
6631
6631
|
return n.updateCamera(
|
|
6632
6632
|
B({
|
|
@@ -6660,7 +6660,7 @@ class xo {
|
|
|
6660
6660
|
return;
|
|
6661
6661
|
const i = e[0];
|
|
6662
6662
|
if (i.raycaster) {
|
|
6663
|
-
const s = new
|
|
6663
|
+
const s = new Er();
|
|
6664
6664
|
s.ray = i.raycaster.ray, s.near = i.raycaster.near, s.far = i.raycaster.far, s.camera = i.raycaster.camera, s.layers = i.raycaster.layers, s.params = i.raycaster.params, i.raycaster = s;
|
|
6665
6665
|
}
|
|
6666
6666
|
if (i) {
|
|
@@ -6883,7 +6883,7 @@ class xo {
|
|
|
6883
6883
|
const e = this.five.getElement();
|
|
6884
6884
|
if (!e)
|
|
6885
6885
|
return;
|
|
6886
|
-
const i = y0(t, e), s = new
|
|
6886
|
+
const i = y0(t, e), s = new Er();
|
|
6887
6887
|
return s.setFromCamera(i, this.five.camera), s;
|
|
6888
6888
|
}
|
|
6889
6889
|
}
|
|
@@ -6946,13 +6946,13 @@ class Os extends ul {
|
|
|
6946
6946
|
});
|
|
6947
6947
|
}
|
|
6948
6948
|
}
|
|
6949
|
-
function
|
|
6949
|
+
function Sr(n, t = Vi.Linear.None) {
|
|
6950
6950
|
const e = new Os({ progress: 0 }).to({ progress: 1 });
|
|
6951
6951
|
return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
|
|
6952
6952
|
}
|
|
6953
6953
|
const So = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), zy = window.cancelAnimationFrame || clearTimeout;
|
|
6954
|
-
function
|
|
6955
|
-
t <= 0 ? So(n) : So(() =>
|
|
6954
|
+
function Qr(n, t = 0) {
|
|
6955
|
+
t <= 0 ? So(n) : So(() => Qr(n, t - 1));
|
|
6956
6956
|
}
|
|
6957
6957
|
function Oy() {
|
|
6958
6958
|
return te(this, null, function* () {
|
|
@@ -7258,9 +7258,9 @@ function ni(n) {
|
|
|
7258
7258
|
function Ce(n, t) {
|
|
7259
7259
|
return n != n ? t == t : n !== t || n && typeof n == "object" || typeof n == "function";
|
|
7260
7260
|
}
|
|
7261
|
-
let
|
|
7261
|
+
let pa;
|
|
7262
7262
|
function vt(n, t) {
|
|
7263
|
-
return
|
|
7263
|
+
return pa || (pa = document.createElement("a")), pa.href = t, n === pa.href;
|
|
7264
7264
|
}
|
|
7265
7265
|
function Wy(n) {
|
|
7266
7266
|
return Object.keys(n).length === 0;
|
|
@@ -7401,17 +7401,17 @@ function Ne(n, t) {
|
|
|
7401
7401
|
function W(n, t, e, i) {
|
|
7402
7402
|
e === null ? n.style.removeProperty(t) : n.style.setProperty(t, e, i ? "important" : "");
|
|
7403
7403
|
}
|
|
7404
|
-
let
|
|
7404
|
+
let ga;
|
|
7405
7405
|
function Xy() {
|
|
7406
|
-
if (
|
|
7407
|
-
|
|
7406
|
+
if (ga === void 0) {
|
|
7407
|
+
ga = !1;
|
|
7408
7408
|
try {
|
|
7409
7409
|
typeof window != "undefined" && window.parent && window.parent.document;
|
|
7410
7410
|
} catch (n) {
|
|
7411
|
-
|
|
7411
|
+
ga = !0;
|
|
7412
7412
|
}
|
|
7413
7413
|
}
|
|
7414
|
-
return
|
|
7414
|
+
return ga;
|
|
7415
7415
|
}
|
|
7416
7416
|
function Zh(n, t) {
|
|
7417
7417
|
getComputedStyle(n).position === "static" && (n.style.position = "relative");
|
|
@@ -7500,14 +7500,14 @@ function qy() {
|
|
|
7500
7500
|
}), Wa.clear());
|
|
7501
7501
|
});
|
|
7502
7502
|
}
|
|
7503
|
-
let
|
|
7503
|
+
let Dr;
|
|
7504
7504
|
function mn(n) {
|
|
7505
|
-
|
|
7505
|
+
Dr = n;
|
|
7506
7506
|
}
|
|
7507
7507
|
function ls() {
|
|
7508
|
-
if (!
|
|
7508
|
+
if (!Dr)
|
|
7509
7509
|
throw new Error("Function called outside component initialization");
|
|
7510
|
-
return
|
|
7510
|
+
return Dr;
|
|
7511
7511
|
}
|
|
7512
7512
|
function S0(n) {
|
|
7513
7513
|
ls().$$.before_update.push(n);
|
|
@@ -7565,7 +7565,7 @@ let oo = 0;
|
|
|
7565
7565
|
function pn() {
|
|
7566
7566
|
if (oo !== 0)
|
|
7567
7567
|
return;
|
|
7568
|
-
const n =
|
|
7568
|
+
const n = Dr;
|
|
7569
7569
|
do {
|
|
7570
7570
|
try {
|
|
7571
7571
|
for (; oo < co.length; ) {
|
|
@@ -7607,7 +7607,7 @@ function Jh() {
|
|
|
7607
7607
|
function ks(n, t, e) {
|
|
7608
7608
|
n.dispatchEvent(x0(`${t ? "intro" : "outro"}${e}`));
|
|
7609
7609
|
}
|
|
7610
|
-
const
|
|
7610
|
+
const Da = /* @__PURE__ */ new Set();
|
|
7611
7611
|
let Ji;
|
|
7612
7612
|
function ke() {
|
|
7613
7613
|
Ji = {
|
|
@@ -7621,14 +7621,14 @@ function xe() {
|
|
|
7621
7621
|
Ji.r || pt(Ji.c), Ji = Ji.p;
|
|
7622
7622
|
}
|
|
7623
7623
|
function F(n, t) {
|
|
7624
|
-
n && n.i && (
|
|
7624
|
+
n && n.i && (Da.delete(n), n.i(t));
|
|
7625
7625
|
}
|
|
7626
7626
|
function X(n, t, e, i) {
|
|
7627
7627
|
if (n && n.o) {
|
|
7628
|
-
if (
|
|
7628
|
+
if (Da.has(n))
|
|
7629
7629
|
return;
|
|
7630
|
-
|
|
7631
|
-
|
|
7630
|
+
Da.add(n), Ji.c.push(() => {
|
|
7631
|
+
Da.delete(n), i && (e && n.d(1), i());
|
|
7632
7632
|
}), n.o(t);
|
|
7633
7633
|
} else
|
|
7634
7634
|
i && i();
|
|
@@ -7859,7 +7859,7 @@ function ew(n, t) {
|
|
|
7859
7859
|
n.$$.dirty[0] === -1 && (co.push(n), T0(), n.$$.dirty.fill(0)), n.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
7860
7860
|
}
|
|
7861
7861
|
function Ie(n, t, e, i, s, o, r, a = [-1]) {
|
|
7862
|
-
const l =
|
|
7862
|
+
const l = Dr;
|
|
7863
7863
|
mn(n);
|
|
7864
7864
|
const c = n.$$ = {
|
|
7865
7865
|
fragment: null,
|
|
@@ -8010,7 +8010,7 @@ class iw {
|
|
|
8010
8010
|
}
|
|
8011
8011
|
}
|
|
8012
8012
|
let ic = null;
|
|
8013
|
-
const nw = () => (ic || (ic = new iw()), ic),
|
|
8013
|
+
const nw = () => (ic || (ic = new iw()), ic), Xr = () => typeof window == "undefined" ? "md" : nw();
|
|
8014
8014
|
function Yt(n, t = 16) {
|
|
8015
8015
|
return (Number(typeof n == "string" ? n.replace(/px/g, "") : n) / t).toFixed(5) + "rem";
|
|
8016
8016
|
}
|
|
@@ -8581,7 +8581,7 @@ function xw(n) {
|
|
|
8581
8581
|
function Sw(n, t, e) {
|
|
8582
8582
|
var w;
|
|
8583
8583
|
let i, { five: s } = t, { roomLabels: o } = t, r, a, l = (w = s.model.shownFloor) != null ? w : null;
|
|
8584
|
-
const c =
|
|
8584
|
+
const c = Xr();
|
|
8585
8585
|
let h = Wo();
|
|
8586
8586
|
typeof c == "object" && "subscribe" in c && c.subscribe((E) => {
|
|
8587
8587
|
e(4, h = E);
|
|
@@ -8753,7 +8753,7 @@ function js(n) {
|
|
|
8753
8753
|
function To(n) {
|
|
8754
8754
|
return n < 0.5 ? 4 * n * n * n : 0.5 * Math.pow(2 * n - 2, 3) + 1;
|
|
8755
8755
|
}
|
|
8756
|
-
function
|
|
8756
|
+
function Tr(n) {
|
|
8757
8757
|
const t = n - 1;
|
|
8758
8758
|
return t * t * t + 1;
|
|
8759
8759
|
}
|
|
@@ -8766,7 +8766,7 @@ function Rt(n, { delay: t = 0, duration: e = 400, easing: i = wn } = {}) {
|
|
|
8766
8766
|
css: (o) => `opacity: ${o * s}`
|
|
8767
8767
|
};
|
|
8768
8768
|
}
|
|
8769
|
-
function Ad(n, { delay: t = 0, duration: e = 400, easing: i =
|
|
8769
|
+
function Ad(n, { delay: t = 0, duration: e = 400, easing: i = Tr, x: s = 0, y: o = 0, opacity: r = 0 } = {}) {
|
|
8770
8770
|
const a = getComputedStyle(n), l = +a.opacity, c = a.transform === "none" ? "" : a.transform, h = l * (1 - r), [u, f] = fd(s), [m, p] = fd(o);
|
|
8771
8771
|
return {
|
|
8772
8772
|
delay: t,
|
|
@@ -9919,7 +9919,7 @@ function l2(n) {
|
|
|
9919
9919
|
}
|
|
9920
9920
|
function c2(n, t, e) {
|
|
9921
9921
|
let i, { floorIndex: s } = t, { roomAreaEnable: o } = t, { roomNameEnable: r } = t, { roomNameOtherTypeEnable: a } = t, { roomDimensionEnable: l } = t, { floorplanData: c } = t, { hoveredRoom: h } = t, { getRoomAreaText: u } = t, { getRoomDimensionText: f } = t, { getLabelElement: m } = t, { adaptiveRoomLabelVisibleEnable: p } = t, g = 0, v = 0;
|
|
9922
|
-
const A =
|
|
9922
|
+
const A = Xr();
|
|
9923
9923
|
let w = Wo();
|
|
9924
9924
|
typeof A == "object" && "subscribe" in A && A.subscribe((k) => {
|
|
9925
9925
|
e(11, w = k);
|
|
@@ -12748,7 +12748,7 @@ let us = class {
|
|
|
12748
12748
|
/**
|
|
12749
12749
|
* @realsee/dnalogel 版本号
|
|
12750
12750
|
*/
|
|
12751
|
-
d(this, "VERSION", "3.69.5-dev.
|
|
12751
|
+
d(this, "VERSION", "3.69.5-dev.4");
|
|
12752
12752
|
d(this, "NAME");
|
|
12753
12753
|
d(this, "five");
|
|
12754
12754
|
d(this, "workUtil");
|
|
@@ -17542,7 +17542,7 @@ function Q0(n, t) {
|
|
|
17542
17542
|
var i;
|
|
17543
17543
|
if (e.type === "Mesh") {
|
|
17544
17544
|
const s = e, o = B({ map: s.material.map || {} }, t);
|
|
17545
|
-
s.material = new
|
|
17545
|
+
s.material = new Ir(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
|
|
17546
17546
|
}
|
|
17547
17547
|
});
|
|
17548
17548
|
}
|
|
@@ -17634,7 +17634,7 @@ ds.prototype.k = function() {
|
|
|
17634
17634
|
for (D = f, f = m.length; D < f; ++D)
|
|
17635
17635
|
m[oc[D]] = 0;
|
|
17636
17636
|
for (p = Cs(m), A = new (ht ? Uint8Array : Array)(h + u), D = 0, L = h + u; D < L; )
|
|
17637
|
-
switch (w =
|
|
17637
|
+
switch (w = Lr(this, p), w) {
|
|
17638
17638
|
case 16:
|
|
17639
17639
|
for (k = 3 + Mi(this, 2); k--; )
|
|
17640
17640
|
A[D++] = E;
|
|
@@ -17695,10 +17695,10 @@ var rf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], oc
|
|
|
17695
17695
|
Ps = 0;
|
|
17696
17696
|
for (uf = Nc.length; Ps < uf; ++Ps)
|
|
17697
17697
|
Nc[Ps] = 143 >= Ps ? 8 : 255 >= Ps ? 9 : 279 >= Ps ? 7 : 8;
|
|
17698
|
-
var o5 = Cs(Nc), Gc = new (ht ? Uint8Array : Array)(30),
|
|
17699
|
-
|
|
17700
|
-
for (df = Gc.length;
|
|
17701
|
-
Gc[
|
|
17698
|
+
var o5 = Cs(Nc), Gc = new (ht ? Uint8Array : Array)(30), Ta, df;
|
|
17699
|
+
Ta = 0;
|
|
17700
|
+
for (df = Gc.length; Ta < df; ++Ta)
|
|
17701
|
+
Gc[Ta] = 5;
|
|
17702
17702
|
var r5 = Cs(Gc);
|
|
17703
17703
|
function Mi(n, t) {
|
|
17704
17704
|
for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a; i < t; ) {
|
|
@@ -17708,7 +17708,7 @@ function Mi(n, t) {
|
|
|
17708
17708
|
}
|
|
17709
17709
|
return a = e & (1 << t) - 1, n.f = e >>> t, n.d = i - t, n.a = o, a;
|
|
17710
17710
|
}
|
|
17711
|
-
function
|
|
17711
|
+
function Lr(n, t) {
|
|
17712
17712
|
for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a = t[0], l = t[1], c, h; i < l && !(o >= r); )
|
|
17713
17713
|
e |= s[o++] << i, i += 8;
|
|
17714
17714
|
if (c = a[e & (1 << l) - 1], h = c >>> 16, h > i)
|
|
@@ -17718,11 +17718,11 @@ function zr(n, t) {
|
|
|
17718
17718
|
ds.prototype.j = function(n, t) {
|
|
17719
17719
|
var e = this.c, i = this.b;
|
|
17720
17720
|
this.o = n;
|
|
17721
|
-
for (var s = e.length - 258, o, r, a, l; (o =
|
|
17721
|
+
for (var s = e.length - 258, o, r, a, l; (o = Lr(this, n)) !== 256; )
|
|
17722
17722
|
if (256 > o)
|
|
17723
17723
|
i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = o;
|
|
17724
17724
|
else
|
|
17725
|
-
for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o =
|
|
17725
|
+
for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o = Lr(this, t), a = Z0[o], 0 < tl[o] && (a += Mi(this, tl[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
|
|
17726
17726
|
e[i] = e[i++ - a];
|
|
17727
17727
|
for (; 8 <= this.d; )
|
|
17728
17728
|
this.d -= 8, this.a--;
|
|
@@ -17731,11 +17731,11 @@ ds.prototype.j = function(n, t) {
|
|
|
17731
17731
|
ds.prototype.w = function(n, t) {
|
|
17732
17732
|
var e = this.c, i = this.b;
|
|
17733
17733
|
this.o = n;
|
|
17734
|
-
for (var s = e.length, o, r, a, l; (o =
|
|
17734
|
+
for (var s = e.length, o, r, a, l; (o = Lr(this, n)) !== 256; )
|
|
17735
17735
|
if (256 > o)
|
|
17736
17736
|
i >= s && (e = this.e(), s = e.length), e[i++] = o;
|
|
17737
17737
|
else
|
|
17738
|
-
for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o =
|
|
17738
|
+
for (r = o - 257, l = Y0[r], 0 < el[r] && (l += Mi(this, el[r])), o = Lr(this, t), a = Z0[o], 0 < tl[o] && (a += Mi(this, tl[o])), i + l > s && (e = this.e(), s = e.length); l--; )
|
|
17739
17739
|
e[i] = e[i++ - a];
|
|
17740
17740
|
for (; 8 <= this.d; )
|
|
17741
17741
|
this.d -= 8, this.a--;
|
|
@@ -17815,15 +17815,15 @@ au.prototype.k = function() {
|
|
|
17815
17815
|
var ff = 8;
|
|
17816
17816
|
ou("Zlib.Inflate", au);
|
|
17817
17817
|
ou("Zlib.Inflate.prototype.decompress", au.prototype.k);
|
|
17818
|
-
var Wc = { ADAPTIVE: of.s, BLOCK: of.t },
|
|
17818
|
+
var Wc = { ADAPTIVE: of.s, BLOCK: of.t }, br, yr, Po, pf;
|
|
17819
17819
|
if (Object.keys)
|
|
17820
|
-
|
|
17820
|
+
br = Object.keys(Wc);
|
|
17821
17821
|
else
|
|
17822
|
-
for (
|
|
17823
|
-
|
|
17822
|
+
for (yr in br = [], Po = 0, Wc)
|
|
17823
|
+
br[Po++] = yr;
|
|
17824
17824
|
Po = 0;
|
|
17825
|
-
for (pf =
|
|
17826
|
-
|
|
17825
|
+
for (pf = br.length; Po < pf; ++Po)
|
|
17826
|
+
yr = br[Po], ou("Zlib.Inflate.BufferType." + yr, Wc[yr]);
|
|
17827
17827
|
var gf = X0.Zlib, q0 = {
|
|
17828
17828
|
/*
|
|
17829
17829
|
Finds knot vector span.
|
|
@@ -18409,7 +18409,7 @@ var J0 = function() {
|
|
|
18409
18409
|
ee = new vn();
|
|
18410
18410
|
break;
|
|
18411
18411
|
}
|
|
18412
|
-
ee.name = _.attrName ?
|
|
18412
|
+
ee.name = _.attrName ? aa.sanitizeNodeName(_.attrName) : "", ee.ID = N;
|
|
18413
18413
|
}
|
|
18414
18414
|
this.getTransformData(ee, _), M.set(N, ee);
|
|
18415
18415
|
}
|
|
@@ -18423,7 +18423,7 @@ var J0 = function() {
|
|
|
18423
18423
|
_.rawBones.forEach(function(q, ee) {
|
|
18424
18424
|
if (q.ID === T.ID) {
|
|
18425
18425
|
var K = S;
|
|
18426
|
-
S = new Qu(), S.matrixWorld.copy(q.transformLink), S.name = M ?
|
|
18426
|
+
S = new Qu(), S.matrixWorld.copy(q.transformLink), S.name = M ? aa.sanitizeNodeName(M) : "", S.ID = I, _.bones[ee] = S, K !== null && S.add(K);
|
|
18427
18427
|
}
|
|
18428
18428
|
});
|
|
18429
18429
|
}
|
|
@@ -18644,7 +18644,7 @@ var J0 = function() {
|
|
|
18644
18644
|
},
|
|
18645
18645
|
// Generate a BufferGeometry from a node in FBXTree.Objects.Geometry
|
|
18646
18646
|
genGeometry: function(b, C, I, M) {
|
|
18647
|
-
var S = new
|
|
18647
|
+
var S = new la();
|
|
18648
18648
|
b.attrName && (S.name = b.attrName);
|
|
18649
18649
|
var T = this.parseGeoNode(b, C), N = this.genBuffers(T), _ = new io(N.vertex, 3);
|
|
18650
18650
|
if (_.applyMatrix4(M), S.setAttribute("position", _), N.colors.length > 0 && S.setAttribute("color", new io(N.colors, 3)), C && (S.setAttribute("skinIndex", new tA(N.weightsIndices, 4)), S.setAttribute("skinWeight", new io(N.vertexWeights, 4)), S.FBX_Deformer = C), N.normal.length > 0) {
|
|
@@ -18838,10 +18838,10 @@ var J0 = function() {
|
|
|
18838
18838
|
if (Rs === void 0)
|
|
18839
18839
|
return console.error(
|
|
18840
18840
|
"THREE.FBXLoader: The loader relies on NURBSCurve for any nurbs present in the model. Nurbs will show up as empty geometry."
|
|
18841
|
-
), new
|
|
18841
|
+
), new la();
|
|
18842
18842
|
var C = parseInt(b.Order);
|
|
18843
18843
|
if (isNaN(C))
|
|
18844
|
-
return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new
|
|
18844
|
+
return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new la();
|
|
18845
18845
|
for (var I = C - 1, M = b.KnotVector.a, S = [], T = b.Points.a, N = 0, _ = T.length; N < _; N += 4)
|
|
18846
18846
|
S.push(new Is().fromArray(T, N));
|
|
18847
18847
|
var q, ee;
|
|
@@ -18856,7 +18856,7 @@ var J0 = function() {
|
|
|
18856
18856
|
se.forEach(function(Se, ue) {
|
|
18857
18857
|
Se.toArray(ie, ue * 3);
|
|
18858
18858
|
});
|
|
18859
|
-
var le = new
|
|
18859
|
+
var le = new la();
|
|
18860
18860
|
return le.setAttribute("position", new nA(ie, 3)), le;
|
|
18861
18861
|
}
|
|
18862
18862
|
};
|
|
@@ -18941,7 +18941,7 @@ var J0 = function() {
|
|
|
18941
18941
|
return;
|
|
18942
18942
|
}
|
|
18943
18943
|
var ie = {
|
|
18944
|
-
modelName: se.attrName ?
|
|
18944
|
+
modelName: se.attrName ? aa.sanitizeNodeName(se.attrName) : "",
|
|
18945
18945
|
ID: se.id,
|
|
18946
18946
|
initialPosition: [0, 0, 0],
|
|
18947
18947
|
initialRotation: [0, 0, 0],
|
|
@@ -18958,7 +18958,7 @@ var J0 = function() {
|
|
|
18958
18958
|
var le = t.get(_.ID).parents.filter(function(Le) {
|
|
18959
18959
|
return Le.relationship !== void 0;
|
|
18960
18960
|
})[0].ID, Se = t.get(le).parents[0].ID, ue = t.get(Se).parents[0].ID, K = t.get(ue).parents[0].ID, se = n.Objects.Model[K], ie = {
|
|
18961
|
-
modelName: se.attrName ?
|
|
18961
|
+
modelName: se.attrName ? aa.sanitizeNodeName(se.attrName) : "",
|
|
18962
18962
|
morphName: n.Objects.Deformer[le].attrName
|
|
18963
18963
|
};
|
|
18964
18964
|
S[q] = ie;
|
|
@@ -19607,7 +19607,7 @@ const l5 = ({ x: n, y: t, z: e }) => new Ae(n, t, e), zS = (n, t) => {
|
|
|
19607
19607
|
if (!z)
|
|
19608
19608
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${z}`));
|
|
19609
19609
|
const V = (_ = t.name) != null ? _ : "入户门";
|
|
19610
|
-
return z.material = new
|
|
19610
|
+
return z.material = new Ir({ transparent: !0, map: a5(V) }), z.renderOrder = 3, j.children[0].add(z), e.object = j, !0;
|
|
19611
19611
|
}), c = () => {
|
|
19612
19612
|
if (e.animation)
|
|
19613
19613
|
return;
|
|
@@ -19648,7 +19648,7 @@ const l5 = ({ x: n, y: t, z: e }) => new Ae(n, t, e), zS = (n, t) => {
|
|
|
19648
19648
|
}, c5 = Vi;
|
|
19649
19649
|
function h5(n, t, e, i = c5.Linear.None) {
|
|
19650
19650
|
const s = new ul(n).to(t, e).easing(i);
|
|
19651
|
-
|
|
19651
|
+
Qr(() => s.start(0));
|
|
19652
19652
|
const o = No((a) => {
|
|
19653
19653
|
s.update(a) === !1 && o();
|
|
19654
19654
|
}), r = [];
|
|
@@ -19669,12 +19669,12 @@ function u5(n, t) {
|
|
|
19669
19669
|
return h5({ progress: 0 }, { progress: 1 }, n, t);
|
|
19670
19670
|
}
|
|
19671
19671
|
var d5 = /* @__PURE__ */ ((n) => (n.Move = "Move", n.Rotate = "Rotate", n))(d5 || {}), gn = /* @__PURE__ */ ((n) => (n.Clockwise = "Clockwise", n.Anticlockwise = "Anticlockwise", n.Loop = "Loop", n))(gn || {});
|
|
19672
|
-
const
|
|
19672
|
+
const La = Math.PI * 2;
|
|
19673
19673
|
function mf(n) {
|
|
19674
|
-
return (n %
|
|
19674
|
+
return (n % La + La) % La;
|
|
19675
19675
|
}
|
|
19676
19676
|
function vf(n) {
|
|
19677
|
-
return n %
|
|
19677
|
+
return n % La;
|
|
19678
19678
|
}
|
|
19679
19679
|
function rc(n, t, e) {
|
|
19680
19680
|
return n + (t - n) * e;
|
|
@@ -19753,13 +19753,13 @@ function $0(n, t, e) {
|
|
|
19753
19753
|
const i = il(n[1], n[0]), s = il(t[1], t[0]);
|
|
19754
19754
|
if (isNaN(i) || isNaN(s) || K0(i, s))
|
|
19755
19755
|
return !1;
|
|
19756
|
-
if (
|
|
19756
|
+
if (ma(n[0], t))
|
|
19757
19757
|
return n[0];
|
|
19758
|
-
if (
|
|
19758
|
+
if (ma(n[1], t))
|
|
19759
19759
|
return n[1];
|
|
19760
|
-
if (
|
|
19760
|
+
if (ma(t[0], n))
|
|
19761
19761
|
return t[0];
|
|
19762
|
-
if (
|
|
19762
|
+
if (ma(t[1], n))
|
|
19763
19763
|
return t[1];
|
|
19764
19764
|
if (e && !p5(n, t))
|
|
19765
19765
|
return !1;
|
|
@@ -19771,7 +19771,7 @@ function $0(n, t, e) {
|
|
|
19771
19771
|
const a = (r.y - o.y + i * o.x - s * r.x) / (i - s), l = i * a - i * o.x + o.y;
|
|
19772
19772
|
return { x: a, y: l };
|
|
19773
19773
|
}
|
|
19774
|
-
function
|
|
19774
|
+
function ma(n, t) {
|
|
19775
19775
|
return Af(n, t[0]) || Af(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 && K0(il(t[0], n), il(n, t[1]));
|
|
19776
19776
|
}
|
|
19777
19777
|
function f5(n) {
|
|
@@ -19780,11 +19780,11 @@ function f5(n) {
|
|
|
19780
19780
|
t = Math.min(t, o.x), e = Math.max(e, o.x), i = Math.min(i, o.y), s = Math.max(s, o.y);
|
|
19781
19781
|
}), { x: (t + e) / 2, y: (i + s) / 2 };
|
|
19782
19782
|
}
|
|
19783
|
-
function
|
|
19783
|
+
function va(n, t, e) {
|
|
19784
19784
|
return (n.x - e.x) * (t.y - e.y) - (t.x - e.x) * (n.y - e.y);
|
|
19785
19785
|
}
|
|
19786
19786
|
function p5(n, t) {
|
|
19787
|
-
return Math.max(n[0].x, n[1].x) >= Math.min(t[0].x, t[1].x) && Math.max(t[0].x, t[1].x) >= Math.min(n[0].x, n[1].x) && Math.max(n[0].y, n[1].y) >= Math.min(t[0].y, t[1].y) &&
|
|
19787
|
+
return Math.max(n[0].x, n[1].x) >= Math.min(t[0].x, t[1].x) && Math.max(t[0].x, t[1].x) >= Math.min(n[0].x, n[1].x) && Math.max(n[0].y, n[1].y) >= Math.min(t[0].y, t[1].y) && va(t[0], n[1], n[0]) * va(n[1], t[1], n[0]) > 0 && va(n[0], t[1], t[0]) * va(t[1], n[1], t[0]) > 0 ? 1 : 0;
|
|
19788
19788
|
}
|
|
19789
19789
|
function e1(n, t = 0) {
|
|
19790
19790
|
t <= 0 ? requestAnimationFrame(n) : requestAnimationFrame(() => e1(n, t - 1));
|
|
@@ -20479,7 +20479,7 @@ function E5(n, t, e) {
|
|
|
20479
20479
|
};
|
|
20480
20480
|
});
|
|
20481
20481
|
e(0, r = b);
|
|
20482
|
-
}, m = () =>
|
|
20482
|
+
}, m = () => Qr(f), p = fl(f, 80);
|
|
20483
20483
|
return Lt(() => {
|
|
20484
20484
|
f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", m), i.on("movingToPano", m), i.on("mouseWheel", () => p()), i.on("pinchGesture", () => p());
|
|
20485
20485
|
}), ri(() => {
|
|
@@ -20592,7 +20592,7 @@ function t1(n) {
|
|
|
20592
20592
|
});
|
|
20593
20593
|
});
|
|
20594
20594
|
}
|
|
20595
|
-
const
|
|
20595
|
+
const Aa = { userAction: !0 };
|
|
20596
20596
|
class T5 extends kn {
|
|
20597
20597
|
constructor(e, i) {
|
|
20598
20598
|
super(e, i);
|
|
@@ -20676,10 +20676,10 @@ class T5 extends kn {
|
|
|
20676
20676
|
d(this, "onFivePanoArrived", (e) => {
|
|
20677
20677
|
var s, o, r, a, l, c, h, u;
|
|
20678
20678
|
const i = (r = (o = (s = this.five.work) == null ? void 0 : s.observers) == null ? void 0 : o[e]) == null ? void 0 : r.standingPosition;
|
|
20679
|
-
if (this.compassMesh && i && (this.compassMesh.position.copy(i.clone().setY(i.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween =
|
|
20679
|
+
if (this.compassMesh && i && (this.compassMesh.position.copy(i.clone().setY(i.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween = Sr(1e3).onUpdate(({ progress: f }) => {
|
|
20680
20680
|
var m;
|
|
20681
20681
|
(m = this.compassMesh) == null || m.material.setValues({ opacity: f }), this.five.needsRender = !0;
|
|
20682
|
-
}).play())), this.logoMesh && i && (this.logoMesh.position.copy(i.clone().setY(i.y + 0.011)), this.logoMesh.material.opacity === 0 && ((l = this.logoMeshTween) == null || l.dispose(), this.logoMeshTween =
|
|
20682
|
+
}).play())), this.logoMesh && i && (this.logoMesh.position.copy(i.clone().setY(i.y + 0.011)), this.logoMesh.material.opacity === 0 && ((l = this.logoMeshTween) == null || l.dispose(), this.logoMeshTween = Sr(1e3).onUpdate(({ progress: f }) => {
|
|
20683
20683
|
var m;
|
|
20684
20684
|
(m = this.logoMesh) == null || m.material.setValues({ opacity: f }), this.five.needsRender = !0;
|
|
20685
20685
|
}).play())), this.entryDoorMesh) {
|
|
@@ -20715,7 +20715,7 @@ class T5 extends kn {
|
|
|
20715
20715
|
* 启用插件,响应用户操作并展示UI
|
|
20716
20716
|
* @param options
|
|
20717
20717
|
*/
|
|
20718
|
-
enable(e =
|
|
20718
|
+
enable(e = Aa) {
|
|
20719
20719
|
this.setState(
|
|
20720
20720
|
{
|
|
20721
20721
|
enabled: !0
|
|
@@ -20727,7 +20727,7 @@ class T5 extends kn {
|
|
|
20727
20727
|
* 禁用插件,禁止响应用户操作并隐藏UI
|
|
20728
20728
|
* @param options
|
|
20729
20729
|
*/
|
|
20730
|
-
disable(e =
|
|
20730
|
+
disable(e = Aa) {
|
|
20731
20731
|
this.setState(
|
|
20732
20732
|
{
|
|
20733
20733
|
enabled: !1
|
|
@@ -20741,7 +20741,7 @@ class T5 extends kn {
|
|
|
20741
20741
|
* @returns
|
|
20742
20742
|
* @todo 需要考虑动画
|
|
20743
20743
|
*/
|
|
20744
|
-
show(e =
|
|
20744
|
+
show(e = Aa) {
|
|
20745
20745
|
if (this.state.enabled)
|
|
20746
20746
|
return this.setState(
|
|
20747
20747
|
{
|
|
@@ -20756,7 +20756,7 @@ class T5 extends kn {
|
|
|
20756
20756
|
* @returns
|
|
20757
20757
|
* @todo 需要考虑动画
|
|
20758
20758
|
*/
|
|
20759
|
-
hide(e =
|
|
20759
|
+
hide(e = Aa) {
|
|
20760
20760
|
if (this.state.enabled)
|
|
20761
20761
|
return this.setState(
|
|
20762
20762
|
{
|
|
@@ -20879,7 +20879,7 @@ function _s(n) {
|
|
|
20879
20879
|
const { x: t, y: e, z: i } = n;
|
|
20880
20880
|
return !(Math.abs(t) > 1 || Math.abs(e) > 1 || Math.abs(i) > 1);
|
|
20881
20881
|
}
|
|
20882
|
-
function
|
|
20882
|
+
function za(n) {
|
|
20883
20883
|
const { z: t } = n;
|
|
20884
20884
|
return !(Math.abs(t) > 1);
|
|
20885
20885
|
}
|
|
@@ -20946,7 +20946,7 @@ class n1 {
|
|
|
20946
20946
|
if (!e)
|
|
20947
20947
|
return;
|
|
20948
20948
|
const i = e.clientWidth, s = e.clientHeight, o = this.ndcPosition.clone().project(t.camera);
|
|
20949
|
-
if (!
|
|
20949
|
+
if (!za(o)) {
|
|
20950
20950
|
this.tempHide();
|
|
20951
20951
|
return;
|
|
20952
20952
|
}
|
|
@@ -21061,7 +21061,7 @@ class Q5 extends n1 {
|
|
|
21061
21061
|
if (this.line.points.length < 2)
|
|
21062
21062
|
return;
|
|
21063
21063
|
const [l, c] = this.line.points.map((M) => M.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = si(l, c).clone().project(e.camera), m = new Ht(h.x * r, h.y * a), p = new Ht(u.x * r, u.y * a), g = m.distanceTo(p);
|
|
21064
|
-
if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !
|
|
21064
|
+
if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !za(h) && !za(u) || !za(f) || g === 0))() === !1) {
|
|
21065
21065
|
this.hide();
|
|
21066
21066
|
return;
|
|
21067
21067
|
}
|
|
@@ -21164,7 +21164,7 @@ let Oo = class s1 {
|
|
|
21164
21164
|
return new o1(this.position);
|
|
21165
21165
|
}
|
|
21166
21166
|
};
|
|
21167
|
-
const
|
|
21167
|
+
const ba = (n) => n.preventDefault();
|
|
21168
21168
|
let Sl = class {
|
|
21169
21169
|
constructor(t) {
|
|
21170
21170
|
d(this, "model");
|
|
@@ -21200,7 +21200,7 @@ let Sl = class {
|
|
|
21200
21200
|
helper: B({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
|
|
21201
21201
|
}), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new Oo(new xi([0, 0, 0]), new xi([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 Oo(new xi([0, 0, 0]), new xi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Xt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
|
|
21202
21202
|
const e = this.five.getElement();
|
|
21203
|
-
e && (e.addEventListener("touchstart",
|
|
21203
|
+
e && (e.addEventListener("touchstart", ba), e.addEventListener("contextmenu", ba));
|
|
21204
21204
|
}
|
|
21205
21205
|
get currentMeasureType() {
|
|
21206
21206
|
return this.getMeasureType();
|
|
@@ -21223,7 +21223,7 @@ let Sl = class {
|
|
|
21223
21223
|
var e;
|
|
21224
21224
|
this.disposed = !0, (e = this.magnifier) == null || e.disable(), this.model.getAllLines().forEach((i) => this.removeLine(i)), this.model.areas.forEach((i) => i.remove());
|
|
21225
21225
|
const t = this.five.getElement();
|
|
21226
|
-
t && (t.removeEventListener("touchstart",
|
|
21226
|
+
t && (t.removeEventListener("touchstart", ba), t.removeEventListener("contextmenu", ba));
|
|
21227
21227
|
}
|
|
21228
21228
|
}, jo = class {
|
|
21229
21229
|
constructor(t) {
|
|
@@ -21359,7 +21359,7 @@ function Dl(n, t, e) {
|
|
|
21359
21359
|
u = n[p], f = n[p + 1], u < a && (a = u), f < l && (l = f), u > c && (c = u), f > h && (h = f);
|
|
21360
21360
|
m = Math.max(c - a, h - l), m = m !== 0 ? 32767 / m : 0;
|
|
21361
21361
|
}
|
|
21362
|
-
return
|
|
21362
|
+
return zr(o, r, e, a, l, m, 0), r;
|
|
21363
21363
|
}
|
|
21364
21364
|
function r1(n, t, e, i, s) {
|
|
21365
21365
|
var o, r;
|
|
@@ -21369,7 +21369,7 @@ function r1(n, t, e, i, s) {
|
|
|
21369
21369
|
else
|
|
21370
21370
|
for (o = e - i; o >= t; o -= i)
|
|
21371
21371
|
r = If(o, n[o], n[o + 1], r);
|
|
21372
|
-
return r && Tl(r, r.next) && (
|
|
21372
|
+
return r && Tl(r, r.next) && (jr(r), r = r.next), r;
|
|
21373
21373
|
}
|
|
21374
21374
|
function Bs(n, t) {
|
|
21375
21375
|
if (!n)
|
|
@@ -21378,7 +21378,7 @@ function Bs(n, t) {
|
|
|
21378
21378
|
var e = n, i;
|
|
21379
21379
|
do
|
|
21380
21380
|
if (i = !1, !e.steiner && (Tl(e, e.next) || gt(e.prev, e, e.next) === 0)) {
|
|
21381
|
-
if (
|
|
21381
|
+
if (jr(e), e = t = e.prev, e === e.next)
|
|
21382
21382
|
break;
|
|
21383
21383
|
i = !0;
|
|
21384
21384
|
} else
|
|
@@ -21386,16 +21386,16 @@ function Bs(n, t) {
|
|
|
21386
21386
|
while (i || e !== t);
|
|
21387
21387
|
return t;
|
|
21388
21388
|
}
|
|
21389
|
-
function
|
|
21389
|
+
function zr(n, t, e, i, s, o, r) {
|
|
21390
21390
|
if (n) {
|
|
21391
21391
|
!r && o && nP(n, i, s, o);
|
|
21392
21392
|
for (var a = n, l, c; n.prev !== n.next; ) {
|
|
21393
21393
|
if (l = n.prev, c = n.next, o ? Z5(n, i, s, o) : Y5(n)) {
|
|
21394
|
-
t.push(l.i / e | 0), t.push(n.i / e | 0), t.push(c.i / e | 0),
|
|
21394
|
+
t.push(l.i / e | 0), t.push(n.i / e | 0), t.push(c.i / e | 0), jr(n), n = c.next, a = c.next;
|
|
21395
21395
|
continue;
|
|
21396
21396
|
}
|
|
21397
21397
|
if (n = c, n === a) {
|
|
21398
|
-
r ? r === 1 ? (n = q5(Bs(n), t, e),
|
|
21398
|
+
r ? r === 1 ? (n = q5(Bs(n), t, e), zr(n, t, e, i, s, o, 2)) : r === 2 && J5(n, t, e, i, s, o) : zr(Bs(n), t, e, i, s, o, 1);
|
|
21399
21399
|
break;
|
|
21400
21400
|
}
|
|
21401
21401
|
}
|
|
@@ -21437,7 +21437,7 @@ function q5(n, t, e) {
|
|
|
21437
21437
|
var i = n;
|
|
21438
21438
|
do {
|
|
21439
21439
|
var s = i.prev, o = i.next.next;
|
|
21440
|
-
!Tl(s, o) && a1(s, i, i.next, o) &&
|
|
21440
|
+
!Tl(s, o) && a1(s, i, i.next, o) && Or(s, o) && Or(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), jr(i), jr(i.next), i = n = o), i = i.next;
|
|
21441
21441
|
} while (i !== n);
|
|
21442
21442
|
return Bs(i);
|
|
21443
21443
|
}
|
|
@@ -21447,7 +21447,7 @@ function J5(n, t, e, i, s, o) {
|
|
|
21447
21447
|
for (var a = r.next.next; a !== r.prev; ) {
|
|
21448
21448
|
if (r.i !== a.i && rP(r, a)) {
|
|
21449
21449
|
var l = l1(r, a);
|
|
21450
|
-
r = Bs(r, r.next), l = Bs(l, l.next),
|
|
21450
|
+
r = Bs(r, r.next), l = Bs(l, l.next), zr(r, t, e, i, s, o, 0), zr(l, t, e, i, s, o, 0);
|
|
21451
21451
|
return;
|
|
21452
21452
|
}
|
|
21453
21453
|
a = a.next;
|
|
@@ -21488,7 +21488,7 @@ function tP(n, t) {
|
|
|
21488
21488
|
var l = r, c = r.x, h = r.y, u = 1 / 0, f;
|
|
21489
21489
|
e = r;
|
|
21490
21490
|
do
|
|
21491
|
-
i >= e.x && e.x >= c && i !== e.x && uo(s < h ? i : o, s, c, h, s < h ? o : i, s, e.x, e.y) && (f = Math.abs(s - e.y) / (i - e.x),
|
|
21491
|
+
i >= e.x && e.x >= c && i !== e.x && uo(s < h ? i : o, s, c, h, s < h ? o : i, s, e.x, e.y) && (f = Math.abs(s - e.y) / (i - e.x), Or(e, n) && (f < u || f === u && (e.x > r.x || e.x === r.x && iP(r, e))) && (r = e, u = f)), e = e.next;
|
|
21492
21492
|
while (e !== l);
|
|
21493
21493
|
return r;
|
|
21494
21494
|
}
|
|
@@ -21531,7 +21531,7 @@ function uo(n, t, e, i, s, o, r, a) {
|
|
|
21531
21531
|
}
|
|
21532
21532
|
function rP(n, t) {
|
|
21533
21533
|
return n.next.i !== t.i && n.prev.i !== t.i && !aP(n, t) && // dones't intersect other edges
|
|
21534
|
-
(
|
|
21534
|
+
(Or(n, t) && Or(t, n) && lP(n, t) && // locally visible
|
|
21535
21535
|
(gt(n.prev, n, t.prev) || gt(n, t.prev, t)) || // does not create opposite-facing sectors
|
|
21536
21536
|
Tl(n, t) && gt(n.prev, n, n.next) > 0 && gt(t.prev, t, t.next) > 0);
|
|
21537
21537
|
}
|
|
@@ -21542,13 +21542,13 @@ function Tl(n, t) {
|
|
|
21542
21542
|
return n.x === t.x && n.y === t.y;
|
|
21543
21543
|
}
|
|
21544
21544
|
function a1(n, t, e, i) {
|
|
21545
|
-
var s =
|
|
21546
|
-
return !!(s !== o && r !== a || s === 0 &&
|
|
21545
|
+
var s = wa(gt(n, t, e)), o = wa(gt(n, t, i)), r = wa(gt(e, i, n)), a = wa(gt(e, i, t));
|
|
21546
|
+
return !!(s !== o && r !== a || s === 0 && ya(n, e, t) || o === 0 && ya(n, i, t) || r === 0 && ya(e, n, i) || a === 0 && ya(e, t, i));
|
|
21547
21547
|
}
|
|
21548
|
-
function
|
|
21548
|
+
function ya(n, t, e) {
|
|
21549
21549
|
return t.x <= Math.max(n.x, e.x) && t.x >= Math.min(n.x, e.x) && t.y <= Math.max(n.y, e.y) && t.y >= Math.min(n.y, e.y);
|
|
21550
21550
|
}
|
|
21551
|
-
function
|
|
21551
|
+
function wa(n) {
|
|
21552
21552
|
return n > 0 ? 1 : n < 0 ? -1 : 0;
|
|
21553
21553
|
}
|
|
21554
21554
|
function aP(n, t) {
|
|
@@ -21560,7 +21560,7 @@ function aP(n, t) {
|
|
|
21560
21560
|
} while (e !== n);
|
|
21561
21561
|
return !1;
|
|
21562
21562
|
}
|
|
21563
|
-
function
|
|
21563
|
+
function Or(n, t) {
|
|
21564
21564
|
return gt(n.prev, n, n.next) < 0 ? gt(n, t, n.next) >= 0 && gt(n, n.prev, t) >= 0 : gt(n, t, n.prev) < 0 || gt(n, n.next, t) < 0;
|
|
21565
21565
|
}
|
|
21566
21566
|
function lP(n, t) {
|
|
@@ -21578,7 +21578,7 @@ function If(n, t, e, i) {
|
|
|
21578
21578
|
var s = new Xc(n, t, e);
|
|
21579
21579
|
return i ? (s.next = i.next, s.prev = i, i.next.prev = s, i.next = s) : (s.prev = s, s.next = s), s;
|
|
21580
21580
|
}
|
|
21581
|
-
function
|
|
21581
|
+
function jr(n) {
|
|
21582
21582
|
n.next.prev = n.prev, n.prev.next = n.next, n.prevZ && (n.prevZ.nextZ = n.nextZ), n.nextZ && (n.nextZ.prevZ = n.prevZ);
|
|
21583
21583
|
}
|
|
21584
21584
|
function Xc(n, t, e) {
|
|
@@ -22303,7 +22303,7 @@ class xf extends Sl {
|
|
|
22303
22303
|
});
|
|
22304
22304
|
const i = this.five.getElement();
|
|
22305
22305
|
if (i) {
|
|
22306
|
-
const s = new
|
|
22306
|
+
const s = new Mr(i);
|
|
22307
22307
|
this.hammer = s;
|
|
22308
22308
|
}
|
|
22309
22309
|
this.onFiveModeChange(this.five.getCurrentState().mode), this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.updateDistanceUI(), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
|
|
@@ -22471,7 +22471,7 @@ class Tf extends Sl {
|
|
|
22471
22471
|
const i = this.five.getElement();
|
|
22472
22472
|
if (i) {
|
|
22473
22473
|
this.fiveElement = i;
|
|
22474
|
-
const s = new
|
|
22474
|
+
const s = new Mr(i);
|
|
22475
22475
|
this.hammer = s, s.on("pan", this.onPan), s.on("panstart", this.onPanStart), s.on("panend", this.onPanEnd);
|
|
22476
22476
|
}
|
|
22477
22477
|
this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", Df), this.model.hook.on("polylineRemoved", this.polylineRemoved);
|
|
@@ -22609,7 +22609,7 @@ function g1(n) {
|
|
|
22609
22609
|
e && n.ballColor >= 0 && (i = n.ballColor);
|
|
22610
22610
|
const s = new vn(), o = new hA(0.3, 0.3), r = t ? CP : IP, a = new mh().load(r);
|
|
22611
22611
|
a.encoding = dr, a.minFilter = Tc;
|
|
22612
|
-
const l = new
|
|
22612
|
+
const l = new Ir({
|
|
22613
22613
|
map: a,
|
|
22614
22614
|
transparent: !0,
|
|
22615
22615
|
depthTest: !1
|
|
@@ -22620,7 +22620,7 @@ function g1(n) {
|
|
|
22620
22620
|
fragmentShader: MP,
|
|
22621
22621
|
depthTest: !1,
|
|
22622
22622
|
transparent: !0
|
|
22623
|
-
}), m = new bo(u, f), p = new pA(0.01, 20, 20), g = new
|
|
22623
|
+
}), m = new bo(u, f), p = new pA(0.01, 20, 20), g = new Ir({
|
|
22624
22624
|
color: i,
|
|
22625
22625
|
depthTest: !1,
|
|
22626
22626
|
transparent: !0,
|
|
@@ -22678,7 +22678,7 @@ class kP {
|
|
|
22678
22678
|
});
|
|
22679
22679
|
this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = g1(B({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = Eb, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new bo(
|
|
22680
22680
|
new gA(0.04, 0.08, 32),
|
|
22681
|
-
new
|
|
22681
|
+
new Ir({ color: 1245179, opacity: 0, side: Tm, transparent: !0 })
|
|
22682
22682
|
), this.container.addEventListener("animationend", this.computedCenterMouseXY), this.five.on("cameraUpdate", this.onCameraDirectionUpdate), this.hook.on("willChangeState", this.onWillChangeState);
|
|
22683
22683
|
}
|
|
22684
22684
|
dispose() {
|
|
@@ -25034,12 +25034,12 @@ class Cn extends fi {
|
|
|
25034
25034
|
}
|
|
25035
25035
|
updateMatrixWorld(e) {
|
|
25036
25036
|
super.updateMatrixWorld(e);
|
|
25037
|
-
const i =
|
|
25037
|
+
const i = kr(this, this.position).toArray().join(",");
|
|
25038
25038
|
i !== this.lastRenderDomItem && (this.updateDom(), this.lastRenderDomItem = i);
|
|
25039
25039
|
}
|
|
25040
25040
|
updateDom() {
|
|
25041
25041
|
const e = this.paramsStyle.tip;
|
|
25042
|
-
e && !this.dom && (this.dom = new
|
|
25042
|
+
e && !this.dom && (this.dom = new Nr(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
|
|
25043
25043
|
const i = (s) => {
|
|
25044
25044
|
this.dom && this.dom.__text !== s && (this.dom.__text = s, s instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(s)) : s ? this.dom.container.innerHTML = Ch(s, {
|
|
25045
25045
|
style: ""
|
|
@@ -25048,7 +25048,7 @@ class Cn extends fi {
|
|
|
25048
25048
|
e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
|
|
25049
25049
|
}
|
|
25050
25050
|
}
|
|
25051
|
-
class
|
|
25051
|
+
class Rr extends wi {
|
|
25052
25052
|
constructor(e) {
|
|
25053
25053
|
super();
|
|
25054
25054
|
d(this, "name", "LineWithDotsMesh");
|
|
@@ -25228,7 +25228,7 @@ class Uo extends zl {
|
|
|
25228
25228
|
}
|
|
25229
25229
|
updateMatrixWorld(e) {
|
|
25230
25230
|
if (super.updateMatrixWorld(e), this.center) {
|
|
25231
|
-
const i =
|
|
25231
|
+
const i = kr(this, this.center).toArray().join(",");
|
|
25232
25232
|
i !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = i);
|
|
25233
25233
|
}
|
|
25234
25234
|
}
|
|
@@ -25264,7 +25264,7 @@ class Uo extends zl {
|
|
|
25264
25264
|
return console.error("Five not found");
|
|
25265
25265
|
this.areaDom = (s = this.areaDom) != null ? s : (() => {
|
|
25266
25266
|
var a;
|
|
25267
|
-
const o = new
|
|
25267
|
+
const o = new Nr(this.five), r = (a = this._paramsStyle.occlusionVisibility) != null ? a : !0;
|
|
25268
25268
|
return o.intersectCheck = !r, o.simulate3D = !0, o;
|
|
25269
25269
|
})(), this.areaDom.setPosition(this.center);
|
|
25270
25270
|
const i = lb(this.geometryInfo.area, this._paramsStyle.lengthUnit);
|
|
@@ -25273,17 +25273,17 @@ class Uo extends zl {
|
|
|
25273
25273
|
}) : this.areaDom.container.innerHTML = "";
|
|
25274
25274
|
}
|
|
25275
25275
|
}
|
|
25276
|
-
function
|
|
25276
|
+
function Oa(n, t) {
|
|
25277
25277
|
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);
|
|
25278
25278
|
}
|
|
25279
25279
|
function P1(n) {
|
|
25280
|
-
if (n.length < 3 || !
|
|
25280
|
+
if (n.length < 3 || !Oa(n[0], n.at(-1)))
|
|
25281
25281
|
return !1;
|
|
25282
25282
|
let t = !0;
|
|
25283
25283
|
const e = new P.Vector3().subVectors(n[1], n[0]).normalize();
|
|
25284
25284
|
for (let o = 2; o < n.length; o++) {
|
|
25285
25285
|
const r = new P.Vector3().subVectors(n[o], n[0]).normalize();
|
|
25286
|
-
if (!
|
|
25286
|
+
if (!Oa(r, e) && !Oa(r, e.clone().negate())) {
|
|
25287
25287
|
t = !1;
|
|
25288
25288
|
break;
|
|
25289
25289
|
}
|
|
@@ -25303,7 +25303,7 @@ class qf extends fi {
|
|
|
25303
25303
|
d(this, "selected", !1);
|
|
25304
25304
|
d(this, "line");
|
|
25305
25305
|
d(this, "polygon");
|
|
25306
|
-
this.line = new
|
|
25306
|
+
this.line = new Rr(e == null ? void 0 : e.lineStyle), this.polygon = new Uo(e == null ? void 0 : e.polygonStyle), this.add(this.line);
|
|
25307
25307
|
}
|
|
25308
25308
|
changeConfig(e) {
|
|
25309
25309
|
this.line.setStyle(e == null ? void 0 : e.lineStyle), this.polygon.setStyle(e == null ? void 0 : e.polygonStyle);
|
|
@@ -25360,7 +25360,7 @@ function CC(n, t) {
|
|
|
25360
25360
|
i.indexOf(e[o]) === -1 && (s = !1);
|
|
25361
25361
|
return s;
|
|
25362
25362
|
}
|
|
25363
|
-
const
|
|
25363
|
+
const _r = {
|
|
25364
25364
|
backspace: 8,
|
|
25365
25365
|
"⌫": 8,
|
|
25366
25366
|
tab: 9,
|
|
@@ -25428,7 +25428,7 @@ const Br = {
|
|
|
25428
25428
|
"⌘": 91,
|
|
25429
25429
|
cmd: 91,
|
|
25430
25430
|
command: 91
|
|
25431
|
-
},
|
|
25431
|
+
}, ja = {
|
|
25432
25432
|
16: "shiftKey",
|
|
25433
25433
|
18: "altKey",
|
|
25434
25434
|
17: "ctrlKey",
|
|
@@ -25444,13 +25444,13 @@ const Br = {
|
|
|
25444
25444
|
91: !1
|
|
25445
25445
|
}, mt = {};
|
|
25446
25446
|
for (let n = 1; n < 20; n++)
|
|
25447
|
-
|
|
25448
|
-
let ft = [],
|
|
25449
|
-
const fn = /* @__PURE__ */ new Map(),
|
|
25447
|
+
_r["f".concat(n)] = 111 + n;
|
|
25448
|
+
let ft = [], wr = null, E1 = "all";
|
|
25449
|
+
const fn = /* @__PURE__ */ new Map(), Yr = (n) => _r[n.toLowerCase()] || tn[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), IC = (n) => Object.keys(_r).find((t) => _r[t] === n), EC = (n) => Object.keys(tn).find((t) => tn[t] === n);
|
|
25450
25450
|
function M1(n) {
|
|
25451
25451
|
E1 = n || "all";
|
|
25452
25452
|
}
|
|
25453
|
-
function
|
|
25453
|
+
function Br() {
|
|
25454
25454
|
return E1 || "all";
|
|
25455
25455
|
}
|
|
25456
25456
|
function MC() {
|
|
@@ -25473,7 +25473,7 @@ function xC() {
|
|
|
25473
25473
|
scope: s,
|
|
25474
25474
|
shortcut: r,
|
|
25475
25475
|
mods: o,
|
|
25476
|
-
keys: i.split("+").map((a) =>
|
|
25476
|
+
keys: i.split("+").map((a) => Yr(a))
|
|
25477
25477
|
});
|
|
25478
25478
|
});
|
|
25479
25479
|
}), n;
|
|
@@ -25487,11 +25487,11 @@ function SC(n) {
|
|
|
25487
25487
|
return (t.isContentEditable || (s || e === "TEXTAREA" || e === "SELECT") && !t.readOnly) && (i = !1), i;
|
|
25488
25488
|
}
|
|
25489
25489
|
function DC(n) {
|
|
25490
|
-
return typeof n == "string" && (n =
|
|
25490
|
+
return typeof n == "string" && (n = Yr(n)), ft.indexOf(n) !== -1;
|
|
25491
25491
|
}
|
|
25492
25492
|
function TC(n, t) {
|
|
25493
25493
|
let e, i;
|
|
25494
|
-
n || (n =
|
|
25494
|
+
n || (n = Br());
|
|
25495
25495
|
for (const s in mt)
|
|
25496
25496
|
if (Object.prototype.hasOwnProperty.call(mt, s))
|
|
25497
25497
|
for (e = mt[s], i = 0; i < e.length; )
|
|
@@ -25501,7 +25501,7 @@ function TC(n, t) {
|
|
|
25501
25501
|
} = r;
|
|
25502
25502
|
return fu(a);
|
|
25503
25503
|
}) : i++;
|
|
25504
|
-
|
|
25504
|
+
Br() === n && M1(t || "all");
|
|
25505
25505
|
}
|
|
25506
25506
|
function LC(n) {
|
|
25507
25507
|
let t = n.keyCode || n.which || n.charCode;
|
|
@@ -25515,19 +25515,19 @@ function LC(n) {
|
|
|
25515
25515
|
function k1(n) {
|
|
25516
25516
|
if (typeof n == "undefined")
|
|
25517
25517
|
Object.keys(mt).forEach((s) => {
|
|
25518
|
-
Array.isArray(mt[s]) && mt[s].forEach((o) =>
|
|
25518
|
+
Array.isArray(mt[s]) && mt[s].forEach((o) => Pa(o)), delete mt[s];
|
|
25519
25519
|
}), fu(null);
|
|
25520
25520
|
else if (Array.isArray(n))
|
|
25521
25521
|
n.forEach((s) => {
|
|
25522
|
-
s.key &&
|
|
25522
|
+
s.key && Pa(s);
|
|
25523
25523
|
});
|
|
25524
25524
|
else if (typeof n == "object")
|
|
25525
|
-
n.key &&
|
|
25525
|
+
n.key && Pa(n);
|
|
25526
25526
|
else if (typeof n == "string") {
|
|
25527
25527
|
for (var t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
25528
25528
|
e[i - 1] = arguments[i];
|
|
25529
25529
|
let [s, o] = e;
|
|
25530
|
-
typeof s == "function" && (o = s, s = ""),
|
|
25530
|
+
typeof s == "function" && (o = s, s = ""), Pa({
|
|
25531
25531
|
key: n,
|
|
25532
25532
|
scope: s,
|
|
25533
25533
|
method: o,
|
|
@@ -25535,7 +25535,7 @@ function k1(n) {
|
|
|
25535
25535
|
});
|
|
25536
25536
|
}
|
|
25537
25537
|
}
|
|
25538
|
-
const
|
|
25538
|
+
const Pa = (n) => {
|
|
25539
25539
|
let {
|
|
25540
25540
|
key: t,
|
|
25541
25541
|
scope: e,
|
|
@@ -25543,10 +25543,10 @@ const Ca = (n) => {
|
|
|
25543
25543
|
splitKey: s = "+"
|
|
25544
25544
|
} = n;
|
|
25545
25545
|
I1(t).forEach((r) => {
|
|
25546
|
-
const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" :
|
|
25546
|
+
const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : Yr(c);
|
|
25547
25547
|
if (!mt[h])
|
|
25548
25548
|
return;
|
|
25549
|
-
e || (e =
|
|
25549
|
+
e || (e = Br());
|
|
25550
25550
|
const u = l > 1 ? C1(tn, a) : [], f = [];
|
|
25551
25551
|
mt[h] = mt[h].filter((m) => {
|
|
25552
25552
|
const g = (i ? m.method === i : !0) && m.scope === e && CC(m.mods, u);
|
|
@@ -25571,8 +25571,8 @@ function Kf(n, t) {
|
|
|
25571
25571
|
if (!ct.filter.call(this, n))
|
|
25572
25572
|
return;
|
|
25573
25573
|
if ((i === 93 || i === 224) && (i = 91), ft.indexOf(i) === -1 && i !== 229 && ft.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
|
|
25574
|
-
const l =
|
|
25575
|
-
n[a] && ft.indexOf(l) === -1 ? ft.push(l) : !n[a] && ft.indexOf(l) > -1 ? ft.splice(ft.indexOf(l), 1) : a === "metaKey" && n[a] && (ft = ft.filter((c) => c in
|
|
25574
|
+
const l = ja[a];
|
|
25575
|
+
n[a] && ft.indexOf(l) === -1 ? ft.push(l) : !n[a] && ft.indexOf(l) > -1 ? ft.splice(ft.indexOf(l), 1) : a === "metaKey" && n[a] && (ft = ft.filter((c) => c in ja || c === i));
|
|
25576
25576
|
}), i in Bt) {
|
|
25577
25577
|
Bt[i] = !0;
|
|
25578
25578
|
for (const a in tn)
|
|
@@ -25581,9 +25581,9 @@ function Kf(n, t) {
|
|
|
25581
25581
|
return;
|
|
25582
25582
|
}
|
|
25583
25583
|
for (const a in Bt)
|
|
25584
|
-
Object.prototype.hasOwnProperty.call(Bt, a) && (Bt[a] = n[
|
|
25584
|
+
Object.prototype.hasOwnProperty.call(Bt, a) && (Bt[a] = n[ja[a]]);
|
|
25585
25585
|
n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (ft.indexOf(17) === -1 && ft.push(17), ft.indexOf(18) === -1 && ft.push(18), Bt[17] = !0, Bt[18] = !0);
|
|
25586
|
-
const s =
|
|
25586
|
+
const s = Br();
|
|
25587
25587
|
if (e)
|
|
25588
25588
|
for (let a = 0; a < e.length; a++)
|
|
25589
25589
|
e[a].scope === s && (n.type === "keydown" && e[a].keydown || n.type === "keyup" && e[a].keyup) && Jf(n, e[a], s, t);
|
|
@@ -25596,7 +25596,7 @@ function Kf(n, t) {
|
|
|
25596
25596
|
splitKey: c
|
|
25597
25597
|
} = l, h = l.key.split(c), u = [];
|
|
25598
25598
|
for (let f = 0; f < h.length; f++)
|
|
25599
|
-
u.push(
|
|
25599
|
+
u.push(Yr(h[f]));
|
|
25600
25600
|
u.sort().join("") === ft.sort().join("") && Jf(n, l, s, t);
|
|
25601
25601
|
}
|
|
25602
25602
|
}
|
|
@@ -25605,7 +25605,7 @@ function ct(n, t, e) {
|
|
|
25605
25605
|
const i = I1(n);
|
|
25606
25606
|
let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
|
|
25607
25607
|
for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (o = t.scope), t.element && (r = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (o = t), f && k1(n, o); a < i.length; a++)
|
|
25608
|
-
n = i[a].split(h), s = [], n.length > 1 && (s = C1(tn, n)), n = n[n.length - 1], n = n === "*" ? "*" :
|
|
25608
|
+
n = i[a].split(h), s = [], n.length > 1 && (s = C1(tn, n)), n = n[n.length - 1], n = n === "*" ? "*" : Yr(n), n in mt || (mt[n] = []), mt[n].push({
|
|
25609
25609
|
keyup: l,
|
|
25610
25610
|
keydown: c,
|
|
25611
25611
|
scope: o,
|
|
@@ -25631,11 +25631,11 @@ function ct(n, t, e) {
|
|
|
25631
25631
|
capture: u
|
|
25632
25632
|
}), lc(r, "keydown", m, u), lc(r, "keyup", p, u);
|
|
25633
25633
|
}
|
|
25634
|
-
if (!
|
|
25634
|
+
if (!wr) {
|
|
25635
25635
|
const m = () => {
|
|
25636
25636
|
ft = [];
|
|
25637
25637
|
};
|
|
25638
|
-
|
|
25638
|
+
wr = {
|
|
25639
25639
|
listener: m,
|
|
25640
25640
|
capture: u
|
|
25641
25641
|
}, lc(window, "focus", m, u);
|
|
@@ -25672,18 +25672,18 @@ function fu(n) {
|
|
|
25672
25672
|
capture: a
|
|
25673
25673
|
} = fn.get(s) || {};
|
|
25674
25674
|
o && r && (cr(s, "keyup", r, a), cr(s, "keydown", o, a), fn.delete(s));
|
|
25675
|
-
}), fn.clear(), Object.keys(mt).forEach((s) => delete mt[s]),
|
|
25675
|
+
}), fn.clear(), Object.keys(mt).forEach((s) => delete mt[s]), wr)) {
|
|
25676
25676
|
const {
|
|
25677
25677
|
listener: s,
|
|
25678
25678
|
capture: o
|
|
25679
|
-
} =
|
|
25680
|
-
cr(window, "focus", s, o),
|
|
25679
|
+
} = wr;
|
|
25680
|
+
cr(window, "focus", s, o), wr = null;
|
|
25681
25681
|
}
|
|
25682
25682
|
}
|
|
25683
25683
|
const cc = {
|
|
25684
25684
|
getPressedKeyString: kC,
|
|
25685
25685
|
setScope: M1,
|
|
25686
|
-
getScope:
|
|
25686
|
+
getScope: Br,
|
|
25687
25687
|
deleteScope: TC,
|
|
25688
25688
|
getPressedKeyCodes: MC,
|
|
25689
25689
|
getAllKeyCodes: xC,
|
|
@@ -25691,9 +25691,9 @@ const cc = {
|
|
|
25691
25691
|
filter: SC,
|
|
25692
25692
|
trigger: zC,
|
|
25693
25693
|
unbind: k1,
|
|
25694
|
-
keyMap:
|
|
25694
|
+
keyMap: _r,
|
|
25695
25695
|
modifier: tn,
|
|
25696
|
-
modifierMap:
|
|
25696
|
+
modifierMap: ja
|
|
25697
25697
|
};
|
|
25698
25698
|
for (const n in cc)
|
|
25699
25699
|
Object.prototype.hasOwnProperty.call(cc, n) && (ct[n] = cc[n]);
|
|
@@ -25823,7 +25823,7 @@ class VC extends Ct {
|
|
|
25823
25823
|
polygonStyle: this.polygonStyle
|
|
25824
25824
|
});
|
|
25825
25825
|
this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
|
|
25826
|
-
const i = new Cn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new
|
|
25826
|
+
const i = new Cn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new Rr(ce(B({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new Uo(this.polygonStyle), r = new wi(ce(B({}, this.lineStyle), {
|
|
25827
25827
|
lineOpacity: 0.5,
|
|
25828
25828
|
lineColor: 3407837,
|
|
25829
25829
|
dashed: !0,
|
|
@@ -26044,7 +26044,7 @@ class VC extends Ct {
|
|
|
26044
26044
|
}
|
|
26045
26045
|
});
|
|
26046
26046
|
d(this, "onMoveToPano", (e) => {
|
|
26047
|
-
const i = this.group.children.filter((o) => o !== this.currentMeasureMesh), s = new
|
|
26047
|
+
const i = this.group.children.filter((o) => o !== this.currentMeasureMesh), s = new Er();
|
|
26048
26048
|
i.forEach((o) => {
|
|
26049
26049
|
var a;
|
|
26050
26050
|
if (o.unselect(), o.__five_pano_index === e) {
|
|
@@ -28793,7 +28793,7 @@ Ol.normal = function(t, e) {
|
|
|
28793
28793
|
Ol.direction = function(t, e, i) {
|
|
28794
28794
|
return q4(t, e, i), L1(t, t), t;
|
|
28795
28795
|
};
|
|
28796
|
-
var un = Ol, ws = [0, 0],
|
|
28796
|
+
var un = Ol, ws = [0, 0], Ca = [0, 0], Ap = [0, 0], hr = [0, 0], K4 = function(n, t) {
|
|
28797
28797
|
var e = null, i = [];
|
|
28798
28798
|
t && (n = n.slice(), n.push(n[0]));
|
|
28799
28799
|
for (var s = n.length, o = 1; o < s; o++) {
|
|
@@ -28801,15 +28801,15 @@ var un = Ol, ws = [0, 0], Ia = [0, 0], Ap = [0, 0], hr = [0, 0], K4 = function(n
|
|
|
28801
28801
|
if (un.direction(ws, a, r), e || (e = [0, 0], un.normal(e, ws)), o === 1 && uc(i, e, 1), !l)
|
|
28802
28802
|
un.normal(e, ws), uc(i, e, 1);
|
|
28803
28803
|
else {
|
|
28804
|
-
un.direction(
|
|
28805
|
-
var c = un.computeMiter(Ap, hr, ws,
|
|
28804
|
+
un.direction(Ca, l, a);
|
|
28805
|
+
var c = un.computeMiter(Ap, hr, ws, Ca, 1);
|
|
28806
28806
|
uc(i, hr, c);
|
|
28807
28807
|
}
|
|
28808
28808
|
}
|
|
28809
28809
|
if (n.length > 2 && t) {
|
|
28810
28810
|
var h = n[s - 2], u = n[0], f = n[1];
|
|
28811
|
-
un.direction(ws, u, h), un.direction(
|
|
28812
|
-
var m = un.computeMiter(Ap, hr, ws,
|
|
28811
|
+
un.direction(ws, u, h), un.direction(Ca, f, u), un.normal(e, ws);
|
|
28812
|
+
var m = un.computeMiter(Ap, hr, ws, Ca, 1);
|
|
28813
28813
|
i[0][0] = hr.slice(), i[s - 1][0] = hr.slice(), i[0][1] = m, i[s - 1][1] = m, i.pop();
|
|
28814
28814
|
}
|
|
28815
28815
|
return i;
|
|
@@ -29002,7 +29002,7 @@ function bp(n) {
|
|
|
29002
29002
|
const t = ih(n);
|
|
29003
29003
|
return si(...Array.isArray(t) ? t : [t]);
|
|
29004
29004
|
}
|
|
29005
|
-
function
|
|
29005
|
+
function Ia(n, t) {
|
|
29006
29006
|
if (n === void 0)
|
|
29007
29007
|
return;
|
|
29008
29008
|
const { min: e, max: i } = t != null ? t : {};
|
|
@@ -29129,15 +29129,15 @@ function m8(n) {
|
|
|
29129
29129
|
extraData: n.extraData
|
|
29130
29130
|
}), n;
|
|
29131
29131
|
}
|
|
29132
|
-
const _o = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=",
|
|
29132
|
+
const _o = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", Pr = {};
|
|
29133
29133
|
var mu = /* @__PURE__ */ ((n) => (n.Default = "default", n.GetAudioDuration = "getAudioDuration", n.PlayAudio = "playAudio", n))(mu || {});
|
|
29134
29134
|
function v8(n, t) {
|
|
29135
|
-
const e = (t == null ? void 0 : t.namespace) || "default", i =
|
|
29135
|
+
const e = (t == null ? void 0 : t.namespace) || "default", i = Pr[e] || (Pr[e] = []);
|
|
29136
29136
|
let s = i.find((o) => !o.realSrc || o.realSrc === _o);
|
|
29137
|
-
return s || (console.warn("未找到缓存音频,已新建",
|
|
29137
|
+
return s || (console.warn("未找到缓存音频,已新建", Pr), s = new _1(_o), i.push(s)), n && (s.src = n), s;
|
|
29138
29138
|
}
|
|
29139
29139
|
function A8(n, t) {
|
|
29140
|
-
const e = (t == null ? void 0 : t.namespace) || "default", i =
|
|
29140
|
+
const e = (t == null ? void 0 : t.namespace) || "default", i = Pr[e] || (Pr[e] = []), s = n - i.length;
|
|
29141
29141
|
if (!(s <= 0))
|
|
29142
29142
|
for (let o = 0; o < s; o++)
|
|
29143
29143
|
i.push(new _1(_o));
|
|
@@ -29311,7 +29311,7 @@ const C8 = {
|
|
|
29311
29311
|
}
|
|
29312
29312
|
}, I8 = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
|
|
29313
29313
|
navigator.userAgent.toLowerCase().indexOf("android");
|
|
29314
|
-
const
|
|
29314
|
+
const Ra = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, E8 = I8 && Ra;
|
|
29315
29315
|
function M8(n) {
|
|
29316
29316
|
if (n.length !== 4)
|
|
29317
29317
|
return !1;
|
|
@@ -29374,7 +29374,7 @@ class V1 extends P.BufferGeometry {
|
|
|
29374
29374
|
}
|
|
29375
29375
|
}
|
|
29376
29376
|
function k8(n, t) {
|
|
29377
|
-
let e = !
|
|
29377
|
+
let e = !Ra;
|
|
29378
29378
|
const i = t != null ? t : document.createElement("video");
|
|
29379
29379
|
i.preload = "metadata", i.crossOrigin = "anonymous", i.muted = !0, i.loop = !0, i.playsInline = !0, i.autoplay = !0;
|
|
29380
29380
|
const s = new P.VideoTexture(i);
|
|
@@ -29382,9 +29382,9 @@ function k8(n, t) {
|
|
|
29382
29382
|
const o = () => {
|
|
29383
29383
|
s.metadataLoaded || (s.dispatchEvent({ type: "videoLoaded" }), s.metadataLoaded = !0);
|
|
29384
29384
|
};
|
|
29385
|
-
if (
|
|
29385
|
+
if (Ra || (i.onloadedmetadata = () => {
|
|
29386
29386
|
o();
|
|
29387
|
-
}),
|
|
29387
|
+
}), Ra) {
|
|
29388
29388
|
const r = () => {
|
|
29389
29389
|
if (!e) {
|
|
29390
29390
|
if (!i.paused) {
|
|
@@ -29402,7 +29402,7 @@ function k8(n, t) {
|
|
|
29402
29402
|
}
|
|
29403
29403
|
return s;
|
|
29404
29404
|
}
|
|
29405
|
-
function
|
|
29405
|
+
function _a(n, t, e) {
|
|
29406
29406
|
if (n === "fill")
|
|
29407
29407
|
return t;
|
|
29408
29408
|
if (n === "contain") {
|
|
@@ -29457,7 +29457,7 @@ class x8 extends P.ShaderMaterial {
|
|
|
29457
29457
|
};
|
|
29458
29458
|
}
|
|
29459
29459
|
}
|
|
29460
|
-
const
|
|
29460
|
+
const Zr = { Z_FIGHTING_OFFSET: 0.01 };
|
|
29461
29461
|
let H1 = class extends P.Mesh {
|
|
29462
29462
|
constructor() {
|
|
29463
29463
|
super(...arguments);
|
|
@@ -29488,12 +29488,12 @@ class oh extends H1 {
|
|
|
29488
29488
|
const o = (a = s == null ? void 0 : s.resolveZFighting) != null ? a : !0;
|
|
29489
29489
|
let r = i;
|
|
29490
29490
|
if (o) {
|
|
29491
|
-
const l = fs(i).multiplyScalar(
|
|
29491
|
+
const l = fs(i).multiplyScalar(Zr.Z_FIGHTING_OFFSET);
|
|
29492
29492
|
r = i.map((c) => c.clone().add(l));
|
|
29493
29493
|
}
|
|
29494
29494
|
t1(e).then(({ texture: l, transparent: c }) => {
|
|
29495
29495
|
var g;
|
|
29496
|
-
const h = new P.MeshBasicMaterial({ map: l, transparent: c }), u =
|
|
29496
|
+
const h = new P.MeshBasicMaterial({ map: l, transparent: c }), u = _a(
|
|
29497
29497
|
(g = s == null ? void 0 : s.objectFit) != null ? g : "contain",
|
|
29498
29498
|
r,
|
|
29499
29499
|
l.image.width / l.image.height
|
|
@@ -29590,7 +29590,7 @@ class F1 extends H1 {
|
|
|
29590
29590
|
return this.coverMesh;
|
|
29591
29591
|
if (!this.videoCoverSrc)
|
|
29592
29592
|
return;
|
|
29593
|
-
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new P.MeshBasicMaterial({ transparent: !1, map: i }), r =
|
|
29593
|
+
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new P.MeshBasicMaterial({ transparent: !1, map: i }), r = _a(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new dc(r, o);
|
|
29594
29594
|
return a.position.copy(new Ae(0, 0, 0)), a.name = "videoCoverMesh", o.needsUpdate = !0, i.needsUpdate = !0, a;
|
|
29595
29595
|
}))();
|
|
29596
29596
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
@@ -29606,15 +29606,10 @@ class F1 extends H1 {
|
|
|
29606
29606
|
return this.videoMesh;
|
|
29607
29607
|
if (!this.src)
|
|
29608
29608
|
return;
|
|
29609
|
-
const o = this.getVideoTexture(this.src), r = new P.MeshBasicMaterial({ transparent: !1, map: o }),
|
|
29610
|
-
|
|
29611
|
-
|
|
29612
|
-
|
|
29613
|
-
);
|
|
29614
|
-
});
|
|
29615
|
-
o.needsUpdate = !0, r.needsUpdate = !0;
|
|
29616
|
-
const l = new dc(a, r);
|
|
29617
|
-
return l.name = "videoMesh", l.position.copy(new Ae(0, 0, 0)), l;
|
|
29609
|
+
const o = this.getVideoTexture(this.src), { texture: r } = yield this.getImageTexture(this.videoCoverSrc), a = new P.MeshBasicMaterial({ transparent: !1, map: o }), l = _a(this.objectFit, this.cornerPoints, r.image.width / r.image.height);
|
|
29610
|
+
o.needsUpdate = !0, a.needsUpdate = !0;
|
|
29611
|
+
const c = new dc(l, a);
|
|
29612
|
+
return c.name = "videoMesh", c.position.copy(new Ae(0, 0, 0)), c;
|
|
29618
29613
|
}))();
|
|
29619
29614
|
if (!e)
|
|
29620
29615
|
return;
|
|
@@ -29642,7 +29637,7 @@ class F1 extends H1 {
|
|
|
29642
29637
|
var m, p, g, v;
|
|
29643
29638
|
if (this.buttonMesh)
|
|
29644
29639
|
return this.buttonMesh;
|
|
29645
|
-
const i = (p = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, s = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h =
|
|
29640
|
+
const i = (p = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, s = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = _a("contain", this.cornerPoints, l.image.width / l.image.height), u = new dc(h, new x8(l));
|
|
29646
29641
|
u.position.copy(new Ae(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
|
|
29647
29642
|
u,
|
|
29648
29643
|
"click",
|
|
@@ -29651,7 +29646,7 @@ class F1 extends H1 {
|
|
|
29651
29646
|
},
|
|
29652
29647
|
{ noEmitWhenHide: !0 }
|
|
29653
29648
|
);
|
|
29654
|
-
const f = fs(h).multiplyScalar(
|
|
29649
|
+
const f = fs(h).multiplyScalar(Zr.Z_FIGHTING_OFFSET);
|
|
29655
29650
|
return u.position.add(f), u;
|
|
29656
29651
|
}))();
|
|
29657
29652
|
return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
|
|
@@ -29674,7 +29669,7 @@ class F1 extends H1 {
|
|
|
29674
29669
|
return (o = this.videoTextureMap) == null || o.set(e, i), i;
|
|
29675
29670
|
}
|
|
29676
29671
|
}
|
|
29677
|
-
class
|
|
29672
|
+
class Vr {
|
|
29678
29673
|
constructor() {
|
|
29679
29674
|
/**
|
|
29680
29675
|
* @description 射线碰撞检测的距离缓存
|
|
@@ -29699,12 +29694,12 @@ class Hr {
|
|
|
29699
29694
|
].join(",") : void 0;
|
|
29700
29695
|
}
|
|
29701
29696
|
getVisible(t, e, i = 1) {
|
|
29702
|
-
const s =
|
|
29697
|
+
const s = Vr.generateCameraTagKey(e, t, i);
|
|
29703
29698
|
if (s)
|
|
29704
29699
|
return this.cache_visible.get(s);
|
|
29705
29700
|
}
|
|
29706
29701
|
setVisible(t, e, i, s = 1) {
|
|
29707
|
-
const o =
|
|
29702
|
+
const o = Vr.generateCameraTagKey(e, t, s);
|
|
29708
29703
|
o && this.cache_visible.set(o, i);
|
|
29709
29704
|
}
|
|
29710
29705
|
}
|
|
@@ -29721,7 +29716,7 @@ class S8 extends us {
|
|
|
29721
29716
|
constructor(e) {
|
|
29722
29717
|
super(e);
|
|
29723
29718
|
d(this, "tags", []);
|
|
29724
|
-
d(this, "cache", new
|
|
29719
|
+
d(this, "cache", new Vr());
|
|
29725
29720
|
d(this, "config", C8);
|
|
29726
29721
|
d(this, "renderQueue", /* @__PURE__ */ new Map());
|
|
29727
29722
|
/** 插件参数 */
|
|
@@ -30171,7 +30166,7 @@ class vu {
|
|
|
30171
30166
|
})(), this.matrix = e.matrix ? (() => {
|
|
30172
30167
|
const g = new P.Matrix4().fromArray(e.matrix);
|
|
30173
30168
|
return g.premultiply(t.workUtil.transform), g.elements;
|
|
30174
|
-
})() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new
|
|
30169
|
+
})() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new Vr(), this.hooks = new Ct(), Object.keys(e).forEach((g) => {
|
|
30175
30170
|
this[g] === void 0 && e[g] !== void 0 && (this[g] = e[g]);
|
|
30176
30171
|
});
|
|
30177
30172
|
}
|
|
@@ -30228,7 +30223,7 @@ class vu {
|
|
|
30228
30223
|
mode: "Panorama",
|
|
30229
30224
|
workCode: this.workUtil.workCode,
|
|
30230
30225
|
panoIndex: o
|
|
30231
|
-
},
|
|
30226
|
+
}, Ur(a))), yield this.five.ready();
|
|
30232
30227
|
} else
|
|
30233
30228
|
i === "Mapview" && (yield b0(this.five, this.centerPosition, t == null ? void 0 : t.pointConfig));
|
|
30234
30229
|
return this;
|
|
@@ -30473,7 +30468,7 @@ class vu {
|
|
|
30473
30468
|
}
|
|
30474
30469
|
if (l.visibleDistance !== void 0 && (o.push("visibleDistance"), l.visibleDistance !== "unLimited")) {
|
|
30475
30470
|
const g = this.getDistance(e, 1);
|
|
30476
|
-
if (
|
|
30471
|
+
if (Ia(g, l.visibleDistance) === !1)
|
|
30477
30472
|
return {
|
|
30478
30473
|
value: !1,
|
|
30479
30474
|
checkedList: o,
|
|
@@ -30611,7 +30606,7 @@ class vu {
|
|
|
30611
30606
|
return !1;
|
|
30612
30607
|
if (e.keep === "unfolded")
|
|
30613
30608
|
return !0;
|
|
30614
|
-
if (e.unfoldDistance &&
|
|
30609
|
+
if (e.unfoldDistance && Ia(this.getDistance({ panoIndex: t }), e.unfoldDistance) === !1)
|
|
30615
30610
|
return !1;
|
|
30616
30611
|
}
|
|
30617
30612
|
}
|
|
@@ -30631,7 +30626,7 @@ class vu {
|
|
|
30631
30626
|
return;
|
|
30632
30627
|
if (t.autoUnfold.strategy === "ScreenPostion") {
|
|
30633
30628
|
const i = this.computeTagProject();
|
|
30634
|
-
if (i &&
|
|
30629
|
+
if (i && Ia(i.x, t.autoUnfold.autoUnfoldProjectX) === !1)
|
|
30635
30630
|
return !1;
|
|
30636
30631
|
}
|
|
30637
30632
|
if (t.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -30646,7 +30641,7 @@ class vu {
|
|
|
30646
30641
|
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");
|
|
30647
30642
|
}).map((a) => ce(B({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
|
|
30648
30643
|
const c = l.autoUnfold.distance;
|
|
30649
|
-
return !(c &&
|
|
30644
|
+
return !(c && Ia(a, c) === !1);
|
|
30650
30645
|
}).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
|
|
30651
30646
|
if (o === -1 || o <= ((e = t.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
|
|
30652
30647
|
return !1;
|
|
@@ -31338,7 +31333,7 @@ class Hi extends Ee {
|
|
|
31338
31333
|
function U8() {
|
|
31339
31334
|
return Math.random().toString(36).slice(-6);
|
|
31340
31335
|
}
|
|
31341
|
-
const
|
|
31336
|
+
const Ea = U8();
|
|
31342
31337
|
function Q8(n) {
|
|
31343
31338
|
De(n, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
31344
31339
|
}
|
|
@@ -31495,7 +31490,7 @@ function q8(n) {
|
|
|
31495
31490
|
}
|
|
31496
31491
|
function J8(n, t, e) {
|
|
31497
31492
|
let i, { inDelay: s = 0 } = t, { outDelay: o = 0 } = t, { content: r } = t, { unfolded: a } = t, { isFistUnfoldedUpdate: l = !0 } = t;
|
|
31498
|
-
const c = `__EMOJI_SPLIT_${
|
|
31493
|
+
const c = `__EMOJI_SPLIT_${Ea}__`, h = `__EMOJI_${Ea}__`, u = `__SPACE_${Ea}__`, f = `__NEW_LINE_${Ea}__`;
|
|
31499
31494
|
let m, p, g = [];
|
|
31500
31495
|
function v(D) {
|
|
31501
31496
|
const j = [], z = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
@@ -32673,7 +32668,7 @@ function Rp(n) {
|
|
|
32673
32668
|
/*inDelay*/
|
|
32674
32669
|
n[0]
|
|
32675
32670
|
),
|
|
32676
|
-
easing:
|
|
32671
|
+
easing: Tr
|
|
32677
32672
|
}), e.start());
|
|
32678
32673
|
}), s = !0);
|
|
32679
32674
|
},
|
|
@@ -33388,7 +33383,7 @@ function bE({
|
|
|
33388
33383
|
total: i.head + i.tail
|
|
33389
33384
|
});
|
|
33390
33385
|
}
|
|
33391
|
-
const
|
|
33386
|
+
const Cr = (n, t, e) => {
|
|
33392
33387
|
if (n && n.hasOwnProperty(t))
|
|
33393
33388
|
return n[t];
|
|
33394
33389
|
if (e === void 0)
|
|
@@ -33415,7 +33410,7 @@ var jE = Array.prototype, RE = Function.prototype, J1 = Object.prototype, mc = w
|
|
|
33415
33410
|
return n ? "Symbol(src)_1." + n : "";
|
|
33416
33411
|
}(), K1 = RE.toString, Pu = J1.hasOwnProperty, $1 = J1.toString, _E = RegExp(
|
|
33417
33412
|
"^" + K1.call(Pu).replace(xE, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
33418
|
-
), Up = wu.Symbol, BE = jE.splice, VE = ev(wu, "Map"),
|
|
33413
|
+
), Up = wu.Symbol, BE = jE.splice, VE = ev(wu, "Map"), Hr = ev(Object, "create"), Qp = Up ? Up.prototype : void 0, Xp = Qp ? Qp.toString : void 0;
|
|
33419
33414
|
function Hs(n) {
|
|
33420
33415
|
var t = -1, e = n ? n.length : 0;
|
|
33421
33416
|
for (this.clear(); ++t < e; ) {
|
|
@@ -33424,14 +33419,14 @@ function Hs(n) {
|
|
|
33424
33419
|
}
|
|
33425
33420
|
}
|
|
33426
33421
|
function HE() {
|
|
33427
|
-
this.__data__ =
|
|
33422
|
+
this.__data__ = Hr ? Hr(null) : {};
|
|
33428
33423
|
}
|
|
33429
33424
|
function FE(n) {
|
|
33430
33425
|
return this.has(n) && delete this.__data__[n];
|
|
33431
33426
|
}
|
|
33432
33427
|
function NE(n) {
|
|
33433
33428
|
var t = this.__data__;
|
|
33434
|
-
if (
|
|
33429
|
+
if (Hr) {
|
|
33435
33430
|
var e = t[n];
|
|
33436
33431
|
return e === Z1 ? void 0 : e;
|
|
33437
33432
|
}
|
|
@@ -33439,11 +33434,11 @@ function NE(n) {
|
|
|
33439
33434
|
}
|
|
33440
33435
|
function GE(n) {
|
|
33441
33436
|
var t = this.__data__;
|
|
33442
|
-
return
|
|
33437
|
+
return Hr ? t[n] !== void 0 : Pu.call(t, n);
|
|
33443
33438
|
}
|
|
33444
33439
|
function WE(n, t) {
|
|
33445
33440
|
var e = this.__data__;
|
|
33446
|
-
return e[n] =
|
|
33441
|
+
return e[n] = Hr && t === void 0 ? Z1 : t, this;
|
|
33447
33442
|
}
|
|
33448
33443
|
Hs.prototype.clear = HE;
|
|
33449
33444
|
Hs.prototype.delete = FE;
|
|
@@ -33628,7 +33623,7 @@ function g9(n, t, e) {
|
|
|
33628
33623
|
var i = n == null ? void 0 : t9(n, t);
|
|
33629
33624
|
return i === void 0 ? e : i;
|
|
33630
33625
|
}
|
|
33631
|
-
var
|
|
33626
|
+
var Ma = g9, ll = {}, m9 = {
|
|
33632
33627
|
get exports() {
|
|
33633
33628
|
return ll;
|
|
33634
33629
|
},
|
|
@@ -33822,11 +33817,11 @@ var ka = g9, ll = {}, m9 = {
|
|
|
33822
33817
|
}
|
|
33823
33818
|
function li(x, H, J) {
|
|
33824
33819
|
var re = x[H];
|
|
33825
|
-
(!(ot.call(x, H) &&
|
|
33820
|
+
(!(ot.call(x, H) && ea(re, J)) || J === void 0 && !(H in x)) && (x[H] = J);
|
|
33826
33821
|
}
|
|
33827
33822
|
function Ii(x, H) {
|
|
33828
33823
|
for (var J = x.length; J--; )
|
|
33829
|
-
if (
|
|
33824
|
+
if (ea(x[J][0], H))
|
|
33830
33825
|
return J;
|
|
33831
33826
|
return -1;
|
|
33832
33827
|
}
|
|
@@ -33845,7 +33840,7 @@ var ka = g9, ll = {}, m9 = {
|
|
|
33845
33840
|
return bs(x, $e);
|
|
33846
33841
|
} else {
|
|
33847
33842
|
var it = ne(x), Ut = it == h || it == u;
|
|
33848
|
-
if (
|
|
33843
|
+
if (ta(x))
|
|
33849
33844
|
return Qi(x, H);
|
|
33850
33845
|
if (it == p || it == o || Ut && !Ve) {
|
|
33851
33846
|
if (Be(x))
|
|
@@ -34038,10 +34033,10 @@ var ka = g9, ll = {}, m9 = {
|
|
|
34038
34033
|
}
|
|
34039
34034
|
return "";
|
|
34040
34035
|
}
|
|
34041
|
-
function
|
|
34036
|
+
function $r(x) {
|
|
34042
34037
|
return Kt(x, !0, !0);
|
|
34043
34038
|
}
|
|
34044
|
-
function
|
|
34039
|
+
function ea(x, H) {
|
|
34045
34040
|
return x === H || x !== x && H !== H;
|
|
34046
34041
|
}
|
|
34047
34042
|
function eo(x) {
|
|
@@ -34049,24 +34044,24 @@ var ka = g9, ll = {}, m9 = {
|
|
|
34049
34044
|
}
|
|
34050
34045
|
var ir = Array.isArray;
|
|
34051
34046
|
function to(x) {
|
|
34052
|
-
return x != null &&
|
|
34047
|
+
return x != null && ia(x.length) && !nr(x);
|
|
34053
34048
|
}
|
|
34054
34049
|
function Hl(x) {
|
|
34055
|
-
return
|
|
34050
|
+
return na(x) && to(x);
|
|
34056
34051
|
}
|
|
34057
|
-
var
|
|
34052
|
+
var ta = xn || Nl;
|
|
34058
34053
|
function nr(x) {
|
|
34059
34054
|
var H = Xi(x) ? zt.call(x) : "";
|
|
34060
34055
|
return H == h || H == u;
|
|
34061
34056
|
}
|
|
34062
|
-
function
|
|
34057
|
+
function ia(x) {
|
|
34063
34058
|
return typeof x == "number" && x > -1 && x % 1 == 0 && x <= s;
|
|
34064
34059
|
}
|
|
34065
34060
|
function Xi(x) {
|
|
34066
34061
|
var H = typeof x;
|
|
34067
34062
|
return !!x && (H == "object" || H == "function");
|
|
34068
34063
|
}
|
|
34069
|
-
function
|
|
34064
|
+
function na(x) {
|
|
34070
34065
|
return !!x && typeof x == "object";
|
|
34071
34066
|
}
|
|
34072
34067
|
function sr(x) {
|
|
@@ -34078,7 +34073,7 @@ var ka = g9, ll = {}, m9 = {
|
|
|
34078
34073
|
function Nl() {
|
|
34079
34074
|
return !1;
|
|
34080
34075
|
}
|
|
34081
|
-
n.exports =
|
|
34076
|
+
n.exports = $r;
|
|
34082
34077
|
})(m9, ll);
|
|
34083
34078
|
const v9 = ll;
|
|
34084
34079
|
var cl = {}, A9 = {
|
|
@@ -34285,7 +34280,7 @@ var cl = {}, A9 = {
|
|
|
34285
34280
|
}
|
|
34286
34281
|
wt.prototype.clear = Kt, wt.prototype.delete = Js, wt.prototype.get = Ks, wt.prototype.has = Rn, wt.prototype.set = $t;
|
|
34287
34282
|
function _n(x, H) {
|
|
34288
|
-
var J = eo(x), re = !J &&
|
|
34283
|
+
var J = eo(x), re = !J && ea(x), We = !J && !re && to(x), Ve = !J && !re && !We && na(x), Ze = J || re || We || Ve, $e = Ze ? Xe(x.length, String) : [], It = $e.length;
|
|
34289
34284
|
for (var it in x)
|
|
34290
34285
|
(H || rt.call(x, it)) && !(Ze && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
34291
34286
|
(it == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -34296,7 +34291,7 @@ var cl = {}, A9 = {
|
|
|
34296
34291
|
}
|
|
34297
34292
|
function Qi(x, H) {
|
|
34298
34293
|
for (var J = x.length; J--; )
|
|
34299
|
-
if (
|
|
34294
|
+
if ($r(x[J][0], H))
|
|
34300
34295
|
return J;
|
|
34301
34296
|
return -1;
|
|
34302
34297
|
}
|
|
@@ -34323,7 +34318,7 @@ var cl = {}, A9 = {
|
|
|
34323
34318
|
Ze = !0, Ut = !1;
|
|
34324
34319
|
}
|
|
34325
34320
|
if (St && !Ut)
|
|
34326
|
-
return Ve || (Ve = new wt()), Ze ||
|
|
34321
|
+
return Ve || (Ve = new wt()), Ze || na(x) ? Vn(x, H, J, re, We, Ve) : er(x, H, It, J, re, We, Ve);
|
|
34327
34322
|
if (!(J & s)) {
|
|
34328
34323
|
var Qt = Ut && rt.call(x, "__wrapped__"), _t = ci && rt.call(H, "__wrapped__");
|
|
34329
34324
|
if (Qt || _t) {
|
|
@@ -34334,9 +34329,9 @@ var cl = {}, A9 = {
|
|
|
34334
34329
|
return St ? (Ve || (Ve = new wt()), tr(x, H, J, re, We, Ve)) : !1;
|
|
34335
34330
|
}
|
|
34336
34331
|
function $o(x) {
|
|
34337
|
-
if (!
|
|
34332
|
+
if (!ia(x) || Pt(x))
|
|
34338
34333
|
return !1;
|
|
34339
|
-
var H =
|
|
34334
|
+
var H = ta(x) ? Xo : le;
|
|
34340
34335
|
return H.test(ti(x));
|
|
34341
34336
|
}
|
|
34342
34337
|
function $s(x) {
|
|
@@ -34394,7 +34389,7 @@ var cl = {}, A9 = {
|
|
|
34394
34389
|
case h:
|
|
34395
34390
|
case u:
|
|
34396
34391
|
case v:
|
|
34397
|
-
return
|
|
34392
|
+
return $r(+x, +H);
|
|
34398
34393
|
case f:
|
|
34399
34394
|
return x.name == H.name && x.message == H.message;
|
|
34400
34395
|
case L:
|
|
@@ -34444,8 +34439,8 @@ var cl = {}, A9 = {
|
|
|
34444
34439
|
Hn || (Hn = St == "constructor");
|
|
34445
34440
|
}
|
|
34446
34441
|
if (_t && !Hn) {
|
|
34447
|
-
var
|
|
34448
|
-
|
|
34442
|
+
var sa = x.constructor, oa = H.constructor;
|
|
34443
|
+
sa != oa && "constructor" in x && "constructor" in H && !(typeof sa == "function" && sa instanceof sa && typeof oa == "function" && oa instanceof oa) && (_t = !1);
|
|
34449
34444
|
}
|
|
34450
34445
|
return Ve.delete(x), Ve.delete(H), _t;
|
|
34451
34446
|
}
|
|
@@ -34522,23 +34517,23 @@ var cl = {}, A9 = {
|
|
|
34522
34517
|
}
|
|
34523
34518
|
return "";
|
|
34524
34519
|
}
|
|
34525
|
-
function
|
|
34520
|
+
function $r(x, H) {
|
|
34526
34521
|
return x === H || x !== x && H !== H;
|
|
34527
34522
|
}
|
|
34528
|
-
var
|
|
34523
|
+
var ea = Bn(function() {
|
|
34529
34524
|
return arguments;
|
|
34530
34525
|
}()) ? Bn : function(x) {
|
|
34531
34526
|
return Xi(x) && rt.call(x, "callee") && !Sn.call(x, "callee");
|
|
34532
34527
|
}, eo = Array.isArray;
|
|
34533
34528
|
function ir(x) {
|
|
34534
|
-
return x != null && nr(x.length) && !
|
|
34529
|
+
return x != null && nr(x.length) && !ta(x);
|
|
34535
34530
|
}
|
|
34536
34531
|
var to = Tn || Nl;
|
|
34537
34532
|
function Hl(x, H) {
|
|
34538
34533
|
return cn(x, H);
|
|
34539
34534
|
}
|
|
34540
|
-
function
|
|
34541
|
-
if (!
|
|
34535
|
+
function ta(x) {
|
|
34536
|
+
if (!ia(x))
|
|
34542
34537
|
return !1;
|
|
34543
34538
|
var H = Oi(x);
|
|
34544
34539
|
return H == m || H == p || H == c || H == k;
|
|
@@ -34546,14 +34541,14 @@ var cl = {}, A9 = {
|
|
|
34546
34541
|
function nr(x) {
|
|
34547
34542
|
return typeof x == "number" && x > -1 && x % 1 == 0 && x <= r;
|
|
34548
34543
|
}
|
|
34549
|
-
function
|
|
34544
|
+
function ia(x) {
|
|
34550
34545
|
var H = typeof x;
|
|
34551
34546
|
return x != null && (H == "object" || H == "function");
|
|
34552
34547
|
}
|
|
34553
34548
|
function Xi(x) {
|
|
34554
34549
|
return x != null && typeof x == "object";
|
|
34555
34550
|
}
|
|
34556
|
-
var
|
|
34551
|
+
var na = Be ? Ye(Be) : $s;
|
|
34557
34552
|
function sr(x) {
|
|
34558
34553
|
return ir(x) ? _n(x) : bs(x);
|
|
34559
34554
|
}
|
|
@@ -34608,7 +34603,7 @@ const b9 = cl, y9 = (n, t) => b9(n, t), w9 = (n) => Object.keys(n || {}), P9 = (
|
|
|
34608
34603
|
};
|
|
34609
34604
|
};
|
|
34610
34605
|
function E9(n, t) {
|
|
34611
|
-
const e =
|
|
34606
|
+
const e = Ma(n, "data", {}), i = Ma(n, "watch", {}), s = Ma(n, "methods", {}), o = Ma(t, "onChange", () => {
|
|
34612
34607
|
}), { subscribe: r, notify: a, subscribers: l } = C9(), { targetWatcher: c, getTarget: h } = I9();
|
|
34613
34608
|
let u;
|
|
34614
34609
|
const f = {}, m = () => ({
|
|
@@ -34900,7 +34895,7 @@ function T9(n) {
|
|
|
34900
34895
|
return te(this, arguments, function* ({ data: r, methods: a }, l, c) {
|
|
34901
34896
|
if (t.reset(), r.disabled)
|
|
34902
34897
|
return;
|
|
34903
|
-
r.disabled = !0, l(), yield a.offsetPage({ animated:
|
|
34898
|
+
r.disabled = !0, l(), yield a.offsetPage({ animated: Cr(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
|
|
34904
34899
|
});
|
|
34905
34900
|
},
|
|
34906
34901
|
showNextPage(c, h) {
|
|
@@ -34939,7 +34934,7 @@ function T9(n) {
|
|
|
34939
34934
|
});
|
|
34940
34935
|
},
|
|
34941
34936
|
offsetPage({ data: r }, a) {
|
|
34942
|
-
const l =
|
|
34937
|
+
const l = Cr(a, "animated", !0);
|
|
34943
34938
|
return new Promise((c) => {
|
|
34944
34939
|
r.durationMs = l ? r.durationMsInit : 0, r.offset = -r.currentParticleIndex * r.particleWidth, setTimeout(() => {
|
|
34945
34940
|
c();
|
|
@@ -35521,7 +35516,7 @@ function F9(n, t, e) {
|
|
|
35521
35516
|
let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: k = 500 } = t, { autoplay: L = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: j = as } = t, { pauseOnFocus: z = !1 } = t, { autoplayProgressVisible: V = !1 } = t, { dots: b = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: I = 1 } = t, { particlesToScroll: M = 1 } = t;
|
|
35522
35517
|
function S(de, ye) {
|
|
35523
35518
|
return te(this, null, function* () {
|
|
35524
|
-
const ze =
|
|
35519
|
+
const ze = Cr(ye, "animated", !0);
|
|
35525
35520
|
if (typeof de != "number")
|
|
35526
35521
|
throw new Error("pageIndex should be a number");
|
|
35527
35522
|
yield m.showPage(de, { animated: ze });
|
|
@@ -35529,13 +35524,13 @@ function F9(n, t, e) {
|
|
|
35529
35524
|
}
|
|
35530
35525
|
function T(de) {
|
|
35531
35526
|
return te(this, null, function* () {
|
|
35532
|
-
const ye =
|
|
35527
|
+
const ye = Cr(de, "animated", !0);
|
|
35533
35528
|
yield m.showPrevPage({ animated: ye });
|
|
35534
35529
|
});
|
|
35535
35530
|
}
|
|
35536
35531
|
function N(de) {
|
|
35537
35532
|
return te(this, null, function* () {
|
|
35538
|
-
const ye =
|
|
35533
|
+
const ye = Cr(de, "animated", !0);
|
|
35539
35534
|
yield m.showNextPage({ animated: ye });
|
|
35540
35535
|
});
|
|
35541
35536
|
}
|
|
@@ -40346,7 +40341,7 @@ class av extends vu {
|
|
|
40346
40341
|
const h = "black";
|
|
40347
40342
|
c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
|
|
40348
40343
|
const u = B({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", m = new G1(ce(B({}, u), { mode: f })), p = this.computeNormal();
|
|
40349
|
-
m.position.add(p.clone().setLength(
|
|
40344
|
+
m.position.add(p.clone().setLength(Zr.Z_FIGHTING_OFFSET)), s.add(m);
|
|
40350
40345
|
let g;
|
|
40351
40346
|
m.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, m, (A) => {
|
|
40352
40347
|
this.plugin.hooks.emit("click", { event: A, target: "TagContent", tag: this });
|
|
@@ -40378,7 +40373,7 @@ class av extends vu {
|
|
|
40378
40373
|
}
|
|
40379
40374
|
return this.plugin.gltfObjectGroup.add(s), s;
|
|
40380
40375
|
}));
|
|
40381
|
-
this.state.unfolded = !0,
|
|
40376
|
+
this.state.unfolded = !0, Gr(this.five), this.loadModel().then(() => this.updateVisible());
|
|
40382
40377
|
}
|
|
40383
40378
|
applyVisible() {
|
|
40384
40379
|
var e, i;
|
|
@@ -40421,13 +40416,13 @@ class D7 extends vu {
|
|
|
40421
40416
|
if (yield yi(this.five), this.computeRenderType() === "Mesh")
|
|
40422
40417
|
((i = (e = this.data.mediaData) == null ? void 0 : e[0]) == null ? void 0 : i.type) === "Video" ? this.renderVideoPlane() : ((o = (s = this.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Image" && this.renderImagePlane();
|
|
40423
40418
|
else {
|
|
40424
|
-
|
|
40419
|
+
Gr(this.five);
|
|
40425
40420
|
const l = this.position.map(Ue);
|
|
40426
40421
|
(a = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || a.call(r);
|
|
40427
40422
|
const c = document.createElement("div");
|
|
40428
40423
|
c.classList.add("tag-media-container");
|
|
40429
40424
|
const h = B({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new G1(ce(B({}, h), { mode: u })), m = this.computeNormal();
|
|
40430
|
-
f.position.add(m.clone().setLength(
|
|
40425
|
+
f.position.add(m.clone().setLength(Zr.Z_FIGHTING_OFFSET)), this.plugin.group.add(f);
|
|
40431
40426
|
let p;
|
|
40432
40427
|
f.mode === "behind" && this.config.clickable !== !1 && (p = this.addObjectClickHandler(this, f, (v) => {
|
|
40433
40428
|
this.plugin.hooks.emit("click", { event: v, target: "TagContent", tag: this });
|
|
@@ -43188,7 +43183,7 @@ function $g(n) {
|
|
|
43188
43183
|
/*transitionDuration*/
|
|
43189
43184
|
n[15]
|
|
43190
43185
|
),
|
|
43191
|
-
easing:
|
|
43186
|
+
easing: Tr,
|
|
43192
43187
|
y: (
|
|
43193
43188
|
/*arrowDirection*/
|
|
43194
43189
|
n[12] === "top" ? -8 : (
|
|
@@ -43218,7 +43213,7 @@ function $g(n) {
|
|
|
43218
43213
|
/*transitionDuration*/
|
|
43219
43214
|
n[15]
|
|
43220
43215
|
),
|
|
43221
|
-
easing:
|
|
43216
|
+
easing: Tr,
|
|
43222
43217
|
y: (
|
|
43223
43218
|
/*arrowDirection*/
|
|
43224
43219
|
n[12] === "top" ? -8 : (
|
|
@@ -43280,7 +43275,7 @@ function Fk(n, t, e) {
|
|
|
43280
43275
|
let { tag: p } = t, { config: g = {} } = t, { triggerElement: v } = t, { wrapperElement: A = document.body } = t, { popoverContainer: w = null } = t, { theme: E = void 0 } = t, { visible: k = !0 } = t, { closePopover: L = void 0 } = t, { audioInstance: D = null } = t, { audioPlaying: j = !1 } = t, { audioCurrentTime: z = 0 } = t, { audioDuration: V = 0 } = t;
|
|
43281
43276
|
const b = cs();
|
|
43282
43277
|
let C, I = { width: 0, height: 0 }, M = null, S = s;
|
|
43283
|
-
function T($, { duration: Me = 400, easing: Re =
|
|
43278
|
+
function T($, { duration: Me = 400, easing: Re = Tr, x: ve = 0, y: Be = 0 }) {
|
|
43284
43279
|
return {
|
|
43285
43280
|
duration: Me,
|
|
43286
43281
|
css: (de, ye) => `
|
|
@@ -44439,7 +44434,7 @@ class ah extends D8 {
|
|
|
44439
44434
|
i.position.copy(s.position), i.quaternion.copy(s.quaternion);
|
|
44440
44435
|
const o = this.five.camera.position;
|
|
44441
44436
|
i.lookAt(o.clone().setY(i.position.y));
|
|
44442
|
-
const r = s.quaternion.clone(), a = i.quaternion.clone(), l =
|
|
44437
|
+
const r = s.quaternion.clone(), a = i.quaternion.clone(), l = Sr();
|
|
44443
44438
|
l.onUpdate(({ progress: h }) => {
|
|
44444
44439
|
s.quaternion.copy(r.clone().slerp(a, h));
|
|
44445
44440
|
}), l.play();
|
|
@@ -44483,7 +44478,7 @@ class ah extends D8 {
|
|
|
44483
44478
|
this.TagContainerSvelte = new t6({
|
|
44484
44479
|
target: this.container,
|
|
44485
44480
|
props: ce(B({}, a), { state: ce(B({}, this.state), { enabled: !1 }) })
|
|
44486
|
-
}),
|
|
44481
|
+
}), Qr(() => {
|
|
44487
44482
|
var l;
|
|
44488
44483
|
(l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
|
|
44489
44484
|
});
|
|
@@ -45336,7 +45331,7 @@ class lh {
|
|
|
45336
45331
|
/** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
45337
45332
|
d(this, "heightOffset", 0);
|
|
45338
45333
|
/** 响应式字体大小管理器 */
|
|
45339
|
-
d(this, "fontSizeManager",
|
|
45334
|
+
d(this, "fontSizeManager", Xr());
|
|
45340
45335
|
/** 当前字体大小 */
|
|
45341
45336
|
d(this, "currentFontSize", Wo());
|
|
45342
45337
|
/** 字体大小订阅取消函数 */
|
|
@@ -45829,7 +45824,7 @@ class uv extends us {
|
|
|
45829
45824
|
}
|
|
45830
45825
|
function bc(n, t, e) {
|
|
45831
45826
|
var l, c, h;
|
|
45832
|
-
const i = new P.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), o = n.getTangentAt(t), { longitude: r, latitude: a } =
|
|
45827
|
+
const i = new P.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), o = n.getTangentAt(t), { longitude: r, latitude: a } = Ur(o);
|
|
45833
45828
|
return { offset: s.clone(), longitude: r, latitude: a, distance: 0 };
|
|
45834
45829
|
}
|
|
45835
45830
|
let dv = class extends uv {
|
|
@@ -46084,7 +46079,7 @@ class xu extends uv {
|
|
|
46084
46079
|
if (!m || !f || ((g = this.workUtil.getObserver(l)) == null ? void 0 : g.floorIndex) !== ((v = this.workUtil.getObserver(u)) == null ? void 0 : v.floorIndex))
|
|
46085
46080
|
return;
|
|
46086
46081
|
const p = new P.Vector3().subVectors(m, f);
|
|
46087
|
-
return
|
|
46082
|
+
return Ur(p.normalize());
|
|
46088
46083
|
})();
|
|
46089
46084
|
i.moveType === void 0 || i.moveType === "justMove" ? s.push({
|
|
46090
46085
|
moveIndex: c,
|
|
@@ -46643,7 +46638,7 @@ function Su(n, t, e) {
|
|
|
46643
46638
|
}
|
|
46644
46639
|
n.quaternion.copy(t);
|
|
46645
46640
|
}
|
|
46646
|
-
class
|
|
46641
|
+
class qr extends fi {
|
|
46647
46642
|
constructor(e, i) {
|
|
46648
46643
|
var s, o;
|
|
46649
46644
|
super();
|
|
@@ -46720,15 +46715,15 @@ class Jr extends fi {
|
|
|
46720
46715
|
this.removeFromParent();
|
|
46721
46716
|
}
|
|
46722
46717
|
}
|
|
46723
|
-
class A6 extends
|
|
46718
|
+
class A6 extends qr {
|
|
46724
46719
|
}
|
|
46725
|
-
class b6 extends
|
|
46720
|
+
class b6 extends qr {
|
|
46726
46721
|
}
|
|
46727
|
-
class y6 extends
|
|
46722
|
+
class y6 extends qr {
|
|
46728
46723
|
}
|
|
46729
|
-
class w6 extends
|
|
46724
|
+
class w6 extends qr {
|
|
46730
46725
|
}
|
|
46731
|
-
class P6 extends
|
|
46726
|
+
class P6 extends qr {
|
|
46732
46727
|
}
|
|
46733
46728
|
class C6 extends P.Group {
|
|
46734
46729
|
constructor(e) {
|
|
@@ -47084,7 +47079,7 @@ class R6 extends P6 {
|
|
|
47084
47079
|
d(this, "cornerPositions", []);
|
|
47085
47080
|
d(this, "css3DInstance");
|
|
47086
47081
|
d(this, "plane");
|
|
47087
|
-
d(this, "css3DRenderer", new
|
|
47082
|
+
d(this, "css3DRenderer", new xr());
|
|
47088
47083
|
d(this, "camera");
|
|
47089
47084
|
d(this, "scene");
|
|
47090
47085
|
d(this, "container");
|
|
@@ -47275,10 +47270,10 @@ class _6 extends b6 {
|
|
|
47275
47270
|
return new P.Mesh(i, s);
|
|
47276
47271
|
}
|
|
47277
47272
|
}
|
|
47278
|
-
const
|
|
47273
|
+
const ka = /* @__PURE__ */ new Map();
|
|
47279
47274
|
function B6(n) {
|
|
47280
|
-
if (
|
|
47281
|
-
return
|
|
47275
|
+
if (ka.has(n))
|
|
47276
|
+
return ka.get(n).hooks;
|
|
47282
47277
|
const t = new Ct();
|
|
47283
47278
|
let e = null, i;
|
|
47284
47279
|
const s = () => {
|
|
@@ -47288,14 +47283,14 @@ function B6(n) {
|
|
|
47288
47283
|
};
|
|
47289
47284
|
s();
|
|
47290
47285
|
const o = () => {
|
|
47291
|
-
|
|
47286
|
+
ka.delete(n), cancelAnimationFrame(e);
|
|
47292
47287
|
};
|
|
47293
|
-
return
|
|
47288
|
+
return ka.set(n, {
|
|
47294
47289
|
hooks: t,
|
|
47295
47290
|
dispose: o
|
|
47296
47291
|
}), t;
|
|
47297
47292
|
}
|
|
47298
|
-
class
|
|
47293
|
+
class Jr {
|
|
47299
47294
|
constructor(t, e) {
|
|
47300
47295
|
d(this, "originObject3D");
|
|
47301
47296
|
d(this, "hooks");
|
|
@@ -47493,7 +47488,7 @@ class Kr {
|
|
|
47493
47488
|
return i;
|
|
47494
47489
|
}
|
|
47495
47490
|
}
|
|
47496
|
-
class V6 extends
|
|
47491
|
+
class V6 extends Jr {
|
|
47497
47492
|
constructor(...e) {
|
|
47498
47493
|
super(...e);
|
|
47499
47494
|
d(this, "name", "MoveController");
|
|
@@ -47775,7 +47770,7 @@ function Ic(n) {
|
|
|
47775
47770
|
return n * Math.PI / 180;
|
|
47776
47771
|
}
|
|
47777
47772
|
let Ec = new P.Quaternion();
|
|
47778
|
-
class Q6 extends
|
|
47773
|
+
class Q6 extends Jr {
|
|
47779
47774
|
constructor(...e) {
|
|
47780
47775
|
var c, h, u;
|
|
47781
47776
|
super(...e);
|
|
@@ -47911,7 +47906,7 @@ class Q6 extends Kr {
|
|
|
47911
47906
|
i.setLeftTop(l, c);
|
|
47912
47907
|
}
|
|
47913
47908
|
}
|
|
47914
|
-
class X6 extends
|
|
47909
|
+
class X6 extends Jr {
|
|
47915
47910
|
constructor(...e) {
|
|
47916
47911
|
super(...e);
|
|
47917
47912
|
d(this, "startInfo");
|
|
@@ -47964,7 +47959,7 @@ class X6 extends Kr {
|
|
|
47964
47959
|
if (r.length < 4)
|
|
47965
47960
|
return this.dragEnd();
|
|
47966
47961
|
const a = e.ray.intersectPlane(o, new Ae());
|
|
47967
|
-
if (!a ||
|
|
47962
|
+
if (!a || Oa(a, this.camera.position))
|
|
47968
47963
|
return;
|
|
47969
47964
|
const l = new Ae().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: h } = s, u = new Ae().subVectors(r[1], r[0]), f = new Ae().subVectors(r[3], r[0]), m = (C) => {
|
|
47970
47965
|
const I = new Ae(0, 0, 0);
|
|
@@ -48031,7 +48026,7 @@ class Y6 extends X6 {
|
|
|
48031
48026
|
});
|
|
48032
48027
|
}
|
|
48033
48028
|
}
|
|
48034
|
-
class Z6 extends
|
|
48029
|
+
class Z6 extends Jr {
|
|
48035
48030
|
constructor(...e) {
|
|
48036
48031
|
super(...e);
|
|
48037
48032
|
d(this, "name", "BoundingBoxController");
|
|
@@ -48082,7 +48077,7 @@ function J6() {
|
|
|
48082
48077
|
}), o = new P.Mesh(e, i), r = new P.Mesh(e, s);
|
|
48083
48078
|
return o.name = "ScaleHelperCube-front", r.name = "ScaleHelperCube-behind", o.renderOrder = 11, r.renderOrder = 10, n.add(o, r), n;
|
|
48084
48079
|
}
|
|
48085
|
-
class K6 extends
|
|
48080
|
+
class K6 extends Jr {
|
|
48086
48081
|
constructor(...e) {
|
|
48087
48082
|
super(...e);
|
|
48088
48083
|
d(this, "name", "ScaleController");
|
|
@@ -48347,7 +48342,7 @@ class mv extends us {
|
|
|
48347
48342
|
d(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
48348
48343
|
d(this, "css3DObjectModeMap", /* @__PURE__ */ new Map());
|
|
48349
48344
|
d(this, "css3DRender");
|
|
48350
|
-
this.five = e, this.css3DRender = new
|
|
48345
|
+
this.five = e, this.css3DRender = new xr(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${hh.toUpperCase()}_DEBUG__`]: this });
|
|
48351
48346
|
}
|
|
48352
48347
|
/**
|
|
48353
48348
|
* @description Show guide line
|
|
@@ -49894,7 +49889,7 @@ class kx {
|
|
|
49894
49889
|
/** 容器大小变化监听器 */
|
|
49895
49890
|
d(this, "resizeObserver");
|
|
49896
49891
|
/** 响应式字体大小管理器 */
|
|
49897
|
-
d(this, "fontSizeManager",
|
|
49892
|
+
d(this, "fontSizeManager", Xr());
|
|
49898
49893
|
/** 当前字体大小 */
|
|
49899
49894
|
d(this, "currentFontSize", Wo());
|
|
49900
49895
|
/** 字体大小订阅取消函数 */
|
|
@@ -50436,7 +50431,7 @@ class Dx extends us {
|
|
|
50436
50431
|
this.mesh.visible = !1;
|
|
50437
50432
|
return;
|
|
50438
50433
|
}
|
|
50439
|
-
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween =
|
|
50434
|
+
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = Sr(1e3).onUpdate(({ progress: s }) => {
|
|
50440
50435
|
var o;
|
|
50441
50436
|
(o = this.mesh) == null || o.material.setValues({ opacity: s }), this.five.needsRender = !0;
|
|
50442
50437
|
}).play();
|
|
@@ -50719,7 +50714,7 @@ class wv extends fi {
|
|
|
50719
50714
|
if (r !== 0 && a === void 0)
|
|
50720
50715
|
return;
|
|
50721
50716
|
const l = (c = this.lines[r]) != null ? c : (() => {
|
|
50722
|
-
const h = new
|
|
50717
|
+
const h = new Rr(ce(B({}, this.style), {
|
|
50723
50718
|
pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
|
|
50724
50719
|
}));
|
|
50725
50720
|
return this.lines[r] = h, this.add(h), h;
|
|
@@ -50769,7 +50764,7 @@ class Fi extends fi {
|
|
|
50769
50764
|
d(this, "off", (...e) => lt.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
50770
50765
|
d(this, "applyObjectMatrixWorld", (e, i) => {
|
|
50771
50766
|
const s = i != null ? i : this;
|
|
50772
|
-
return s.updateMatrixWorld(),
|
|
50767
|
+
return s.updateMatrixWorld(), kr(s, e);
|
|
50773
50768
|
});
|
|
50774
50769
|
d(this, "applyObjectReversalMatrixWorld", (e, i) => {
|
|
50775
50770
|
const s = i != null ? i : this;
|
|
@@ -50898,7 +50893,7 @@ class Vl extends fi {
|
|
|
50898
50893
|
this.originObject.remove(this);
|
|
50899
50894
|
}
|
|
50900
50895
|
}
|
|
50901
|
-
class
|
|
50896
|
+
class Kr extends Vl {
|
|
50902
50897
|
constructor(e, i) {
|
|
50903
50898
|
super(e);
|
|
50904
50899
|
d(this, "objectHelperConfig");
|
|
@@ -50961,7 +50956,7 @@ class zx extends zu {
|
|
|
50961
50956
|
d(this, "onDrag", (e) => {
|
|
50962
50957
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
50963
50958
|
return;
|
|
50964
|
-
const i =
|
|
50959
|
+
const i = Wr(lt.modules.five, e.raycaster);
|
|
50965
50960
|
this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
|
|
50966
50961
|
});
|
|
50967
50962
|
}
|
|
@@ -50975,7 +50970,7 @@ class Ox extends zu {
|
|
|
50975
50970
|
d(this, "onDrag", (e) => {
|
|
50976
50971
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
50977
50972
|
return;
|
|
50978
|
-
const i =
|
|
50973
|
+
const i = Wr(lt.modules.five, e.raycaster);
|
|
50979
50974
|
this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
|
|
50980
50975
|
});
|
|
50981
50976
|
}
|
|
@@ -51085,7 +51080,7 @@ class Rx extends Vl {
|
|
|
51085
51080
|
super(e);
|
|
51086
51081
|
d(this, "onDrag", (e) => {
|
|
51087
51082
|
var s;
|
|
51088
|
-
const i =
|
|
51083
|
+
const i = Wr(lt.modules.five, e.raycaster);
|
|
51089
51084
|
(s = this.originObject.pointMesh) == null || s.position.copy(i.point);
|
|
51090
51085
|
});
|
|
51091
51086
|
}
|
|
@@ -51212,7 +51207,7 @@ class _x extends zu {
|
|
|
51212
51207
|
d(this, "onDrag", (e) => {
|
|
51213
51208
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
51214
51209
|
return;
|
|
51215
|
-
const i =
|
|
51210
|
+
const i = Wr(lt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
|
|
51216
51211
|
this.draggingPoints.forEach((o) => o.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((o) => o.position));
|
|
51217
51212
|
});
|
|
51218
51213
|
}
|
|
@@ -51531,7 +51526,7 @@ class zs extends fi {
|
|
|
51531
51526
|
this.prismMesh.geometry.setPosition({
|
|
51532
51527
|
bottomPositions: (i = e.points) == null ? void 0 : i.map(Ue).map((s) => s.toArray()),
|
|
51533
51528
|
topPosition: e.heightPoint ? Ue(e.heightPoint).toArray() : void 0
|
|
51534
|
-
}), this.edgeMesh.geometry = new
|
|
51529
|
+
}), this.edgeMesh.geometry = new Sa().fromEdgesGeometry(new P.EdgesGeometry(this.prismMesh.geometry)), this.geometryInfoNeedUpdate = !0;
|
|
51535
51530
|
}
|
|
51536
51531
|
highlight() {
|
|
51537
51532
|
this.prismMesh.highlight();
|
|
@@ -51704,7 +51699,7 @@ class zs extends fi {
|
|
|
51704
51699
|
this.prismMesh.visible = !0, this.edgeMesh.visible = !0, this.prismMesh.setStyle({ opacity: this.prismMesh.style.opacity }), this.edgeMesh.setStyle({ lineOpacity: 1 });
|
|
51705
51700
|
}
|
|
51706
51701
|
}
|
|
51707
|
-
class Cv extends
|
|
51702
|
+
class Cv extends Kr {
|
|
51708
51703
|
constructor(t) {
|
|
51709
51704
|
super(t, () => ({
|
|
51710
51705
|
positionFrom: () => t.worldCenter,
|
|
@@ -51811,7 +51806,7 @@ function Iv(n, t) {
|
|
|
51811
51806
|
});
|
|
51812
51807
|
});
|
|
51813
51808
|
}
|
|
51814
|
-
class Ev extends
|
|
51809
|
+
class Ev extends Kr {
|
|
51815
51810
|
constructor(t) {
|
|
51816
51811
|
super(t, () => ({
|
|
51817
51812
|
yAxis: () => {
|
|
@@ -52105,7 +52100,7 @@ function Wx(n, t, e) {
|
|
|
52105
52100
|
};
|
|
52106
52101
|
return t.on("select", g), t.on("intersectionUpdate", v), t.on("disable", w), i;
|
|
52107
52102
|
}
|
|
52108
|
-
class kv extends
|
|
52103
|
+
class kv extends Kr {
|
|
52109
52104
|
constructor(t) {
|
|
52110
52105
|
super(t, () => ({ yAxis: () => t.normal }));
|
|
52111
52106
|
}
|
|
@@ -52143,7 +52138,7 @@ class Sv extends zl {
|
|
|
52143
52138
|
this._center && this.position.copy(this._center), this._normal && (this.lookAt(this._normal.clone().add(this._center)), this.normal = this._normal.clone()), this.needsRender = !0;
|
|
52144
52139
|
}
|
|
52145
52140
|
}
|
|
52146
|
-
class
|
|
52141
|
+
class Fr extends Sv {
|
|
52147
52142
|
constructor(e) {
|
|
52148
52143
|
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = Nn(a, ["normal", "radius", "center"]);
|
|
52149
52144
|
super(r);
|
|
@@ -52171,7 +52166,7 @@ class wm extends Fi {
|
|
|
52171
52166
|
d(this, "type", "Circle");
|
|
52172
52167
|
d(this, "circleMesh");
|
|
52173
52168
|
d(this, "_editor");
|
|
52174
|
-
e && (this.circleMesh = new
|
|
52169
|
+
e && (this.circleMesh = new Fr(B(B({}, e.style), e)), this.add(this.circleMesh));
|
|
52175
52170
|
}
|
|
52176
52171
|
get editor() {
|
|
52177
52172
|
return this._editor || (this._editor = new kv(this.circleMesh)), this._editor;
|
|
@@ -52206,7 +52201,7 @@ class wm extends Fi {
|
|
|
52206
52201
|
this.children.forEach((s) => {
|
|
52207
52202
|
s.parent === this && this.remove(s);
|
|
52208
52203
|
}), this.children.length = 0;
|
|
52209
|
-
const i = new
|
|
52204
|
+
const i = new Fr(e);
|
|
52210
52205
|
this.circleMesh = i, this.add(this.circleMesh), yield _u(this.circleMesh, this.pointSelector), this.config.defaultAction && this.editor.enable();
|
|
52211
52206
|
});
|
|
52212
52207
|
}
|
|
@@ -52259,7 +52254,7 @@ class ph extends fi {
|
|
|
52259
52254
|
d(this, "_topCenter");
|
|
52260
52255
|
d(this, "_bottomCenter");
|
|
52261
52256
|
d(this, "_radius");
|
|
52262
|
-
this.params = e, this.bottomCircle = new
|
|
52257
|
+
this.params = e, this.bottomCircle = new Fr(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Fr(e), this.topCircle.name = "topCircle", this.edgeMesh = new zl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
|
|
52263
52258
|
}
|
|
52264
52259
|
get bottomCenter() {
|
|
52265
52260
|
return this.bottomCircle.center;
|
|
@@ -52314,7 +52309,7 @@ class ph extends fi {
|
|
|
52314
52309
|
this.edgeMesh.position.copy(new P.Vector3().lerpVectors(i, e, 0.5)), this.edgeMesh.quaternion.copy(s);
|
|
52315
52310
|
}
|
|
52316
52311
|
}
|
|
52317
|
-
class Dv extends
|
|
52312
|
+
class Dv extends Kr {
|
|
52318
52313
|
constructor(t) {
|
|
52319
52314
|
super(t, () => {
|
|
52320
52315
|
const e = () => {
|
|
@@ -52418,7 +52413,7 @@ function Tv(n, t) {
|
|
|
52418
52413
|
});
|
|
52419
52414
|
});
|
|
52420
52415
|
}
|
|
52421
|
-
class Lv extends
|
|
52416
|
+
class Lv extends Kr {
|
|
52422
52417
|
constructor(t) {
|
|
52423
52418
|
super(t, () => ({
|
|
52424
52419
|
positionFrom: () => t.worldCenter,
|
|
@@ -52618,7 +52613,7 @@ class Im extends Fi {
|
|
|
52618
52613
|
d(this, "lineMesh");
|
|
52619
52614
|
d(this, "_editor");
|
|
52620
52615
|
d(this, "creatingObject");
|
|
52621
|
-
e && (this.lineMesh = new
|
|
52616
|
+
e && (this.lineMesh = new Rr(B(B({}, e.style), e)), this.add(this.lineMesh));
|
|
52622
52617
|
}
|
|
52623
52618
|
get editor() {
|
|
52624
52619
|
return this._editor || (this._editor = new zx(this)), this._editor;
|
|
@@ -52663,7 +52658,7 @@ class Im extends Fi {
|
|
|
52663
52658
|
create(e) {
|
|
52664
52659
|
return te(this, null, function* () {
|
|
52665
52660
|
this.removeChildren();
|
|
52666
|
-
const i = new
|
|
52661
|
+
const i = new Rr(e);
|
|
52667
52662
|
this.lineMesh = i, this.add(this.lineMesh), this.creatingObject = Ov(i, this.pointSelector, e), yield this.creatingObject.finished, this.config.defaultAction && this.editor.enable();
|
|
52668
52663
|
});
|
|
52669
52664
|
}
|
|
@@ -53068,7 +53063,7 @@ const km = (n, t) => {
|
|
|
53068
53063
|
const s = new Av({
|
|
53069
53064
|
target: n,
|
|
53070
53065
|
props: { content: (a = t.rawData) == null ? void 0 : a.name, five: e, fontSize: i }
|
|
53071
|
-
}), o =
|
|
53066
|
+
}), o = Xr();
|
|
53072
53067
|
let r = null;
|
|
53073
53068
|
return typeof o == "object" && "subscribe" in o && (r = o.subscribe((l) => {
|
|
53074
53069
|
i = l, s.$set({ fontSize: i });
|
|
@@ -53231,7 +53226,7 @@ class $x extends kn {
|
|
|
53231
53226
|
}
|
|
53232
53227
|
case "prism": {
|
|
53233
53228
|
const r = new zs();
|
|
53234
|
-
Fe(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset +=
|
|
53229
|
+
Fe(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset += Zr.Z_FIGHTING_OFFSET;
|
|
53235
53230
|
const a = s.object_data.points.map((u) => {
|
|
53236
53231
|
var f;
|
|
53237
53232
|
return [u[0], u[1] + ((f = s.object_data.fixedY) != null ? f : 0), u[2]];
|
|
@@ -53439,7 +53434,7 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
53439
53434
|
BoxMeshEditor: Lv,
|
|
53440
53435
|
CircleMesh: Sv,
|
|
53441
53436
|
CircleMeshEditor: kv,
|
|
53442
|
-
CircleWithEdgeMesh:
|
|
53437
|
+
CircleWithEdgeMesh: Fr,
|
|
53443
53438
|
CylinderMesh: ph,
|
|
53444
53439
|
CylinderMeshEditor: Dv,
|
|
53445
53440
|
LineMesh: wi,
|
|
@@ -53472,7 +53467,7 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
53472
53467
|
GUIDELINE_WHITE_ARROW_TEXTURE: Rh,
|
|
53473
53468
|
Interval: zc,
|
|
53474
53469
|
LegacyPointHelper: xy,
|
|
53475
|
-
LightTag:
|
|
53470
|
+
LightTag: Nr,
|
|
53476
53471
|
LineSegments: qm,
|
|
53477
53472
|
MODEL_CHASSIS_COMPASS_DEFAULT_MODEL: Vh,
|
|
53478
53473
|
MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL: Fh,
|
|
@@ -53503,14 +53498,14 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
53503
53498
|
getFrameTime: jy,
|
|
53504
53499
|
getIntersectFromRelativePosition: uy,
|
|
53505
53500
|
getRaycasterFromFivePointer: dy,
|
|
53506
|
-
initialCSS3DRender:
|
|
53501
|
+
initialCSS3DRender: Gr,
|
|
53507
53502
|
inside: Ku,
|
|
53508
53503
|
isModelLike: Ai,
|
|
53509
53504
|
isNil: di,
|
|
53510
53505
|
isPanoramaLike: Jn,
|
|
53511
53506
|
lookObject: Sy,
|
|
53512
53507
|
lookPoint: b0,
|
|
53513
|
-
nextFrame:
|
|
53508
|
+
nextFrame: Qr,
|
|
53514
53509
|
notNil: Fe,
|
|
53515
53510
|
pointInPolygon: Ku,
|
|
53516
53511
|
reblink: m0,
|
|
@@ -53518,7 +53513,7 @@ const kD = (...n) => new $x(...n), eS = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
53518
53513
|
requestAnimationFrameInterval: No,
|
|
53519
53514
|
sculpt: eS,
|
|
53520
53515
|
tag: Rm,
|
|
53521
|
-
tweenProgress:
|
|
53516
|
+
tweenProgress: Sr,
|
|
53522
53517
|
uuid: Dt,
|
|
53523
53518
|
waitFiveModelLoaded: yi,
|
|
53524
53519
|
worldBounding: gl,
|
|
@@ -53529,7 +53524,7 @@ EA();
|
|
|
53529
53524
|
IA();
|
|
53530
53525
|
export {
|
|
53531
53526
|
CD as AreaMakerPlugin,
|
|
53532
|
-
|
|
53527
|
+
xr as CSS3DRender,
|
|
53533
53528
|
yl as CSS3DRenderPlugin,
|
|
53534
53529
|
d5 as CameraMovementEffect,
|
|
53535
53530
|
OS as CameraMovementPlugin,
|