@realsee/dnalogel 3.74.2 → 3.74.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/CHANGELOG.md +8 -0
- package/dist/index.cjs.js +21 -21
- package/dist/index.js +272 -265
- package/dist/index.umd.js +28 -28
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +127 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1493 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
- package/docs/classes/CSS3DRender.html +100 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +70 -0
- package/docs/classes/ModelMakerPluginInstance.html +116 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
- package/docs/classes/ModelRoomLabelController.html +19 -0
- package/docs/classes/MoveController.html +45 -0
- package/docs/classes/Object3DHelperController.html +45 -0
- package/docs/classes/PaintBrush.html +15 -0
- package/docs/classes/PanoMeasurePluginLine.html +24 -0
- package/docs/classes/PanoMeasurePluginModel.html +23 -0
- package/docs/classes/PanoMeasurePluginPoint.html +7 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
- package/docs/classes/PanoTagPluginController.html +111 -0
- package/docs/classes/Sculpt.html +77 -0
- package/docs/classes/Util.BetterTween.html +6 -0
- package/docs/classes/Util.FiveDomEvents.html +13 -0
- package/docs/classes/Util.FivePuppet.html +20 -0
- package/docs/classes/Util.Interval.html +11 -0
- package/docs/classes/Util.LegacyPointHelper.html +7 -0
- package/docs/classes/Util.LightTag.html +47 -0
- package/docs/classes/Util.LineSegments.html +4 -0
- package/docs/classes/Util.Magnifier.html +26 -0
- package/docs/classes/Util.Object3D.html +8 -0
- package/docs/classes/Util.PointDomHelper.html +8 -0
- package/docs/classes/Util.PointHelper.html +10 -0
- package/docs/classes/Util.PointSelector.html +66 -0
- package/docs/classes/Util.PointSelectorHelper.html +14 -0
- package/docs/classes/Util.Rectangle.html +12 -0
- package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
- package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
- package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.LineMesh.html +34 -0
- package/docs/classes/Util.sculpt.PointMesh.html +24 -0
- package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
- package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
- package/docs/classes/WalkController.html +42 -0
- package/docs/enums/CameraMovementEffect.html +4 -0
- package/docs/enums/ContentType.html +34 -0
- package/docs/enums/DIRECTION.html +5 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/DimensionType.html +4 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/PaintBrushTypeEnum.html +4 -0
- package/docs/enums/PointType.html +4 -0
- package/docs/enums/Rotation.html +5 -0
- package/docs/functions/AreaMakerPlugin.html +1 -0
- package/docs/functions/CSS3DRenderPlugin.html +1 -0
- package/docs/functions/CameraMovementPlugin.html +2 -0
- package/docs/functions/CruisePlugin.html +1 -0
- package/docs/functions/CurrentPanoImagePlugin.html +1 -0
- package/docs/functions/FloorplanGuidePlugin.html +1 -0
- package/docs/functions/GuideLinePlugin.html +1 -0
- package/docs/functions/ItemLabelPlugin.html +1 -0
- package/docs/functions/MapviewFloorplanPlugin.html +1 -0
- package/docs/functions/MeasurePlugin.html +1 -0
- package/docs/functions/ModelChassisCompassPlugin.html +2 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
- package/docs/functions/ModelFloorplanPlugin.html +1 -0
- package/docs/functions/ModelItemLabelPlugin.html +1 -0
- package/docs/functions/ModelMakerPlugin.html +1 -0
- package/docs/functions/ModelRoomLabelPlugin.html +1 -0
- package/docs/functions/ModelTVVideoPlugin.html +1 -0
- package/docs/functions/ModelViewPlugin.html +2 -0
- package/docs/functions/MovePlugin.html +1 -0
- package/docs/functions/Object3DHelperPlugin.html +1 -0
- package/docs/functions/PanoCompassPlugin.html +1 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
- package/docs/functions/PanoDoorLabelPlugin.html +1 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
- package/docs/functions/PanoMeasurePlugin.html +1 -0
- package/docs/functions/PanoRulerPlugin.html +2 -0
- package/docs/functions/PanoRulerProPlugin.html +2 -0
- package/docs/functions/PanoSpatialTagPlugin.html +2 -0
- package/docs/functions/PanoTagPlugin.html +1 -0
- package/docs/functions/PanoVideoPlugin.html +10 -0
- package/docs/functions/PipelinePlugin.html +1 -0
- package/docs/functions/SculptPlugin.html +2 -0
- package/docs/functions/SculptPluginForFive.html +2 -0
- package/docs/functions/TopviewFloorplanPlugin.html +1 -0
- package/docs/functions/Util.awaitNextFrame.html +1 -0
- package/docs/functions/Util.blink.html +13 -0
- package/docs/functions/Util.blinkWithPreset.html +6 -0
- package/docs/functions/Util.bounding.html +1 -0
- package/docs/functions/Util.boundingBox.html +1 -0
- package/docs/functions/Util.boundingSphere.html +1 -0
- package/docs/functions/Util.boxVertex.html +7 -0
- package/docs/functions/Util.boxVertexes.html +1 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
- package/docs/functions/Util.cleanup.html +3 -0
- package/docs/functions/Util.convexHull.html +2 -0
- package/docs/functions/Util.equal.html +5 -0
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
- package/docs/functions/Util.generatePolygonGeometry.html +2 -0
- package/docs/functions/Util.getCoordsFromClient.html +1 -0
- package/docs/functions/Util.getCoordsFromElement.html +1 -0
- package/docs/functions/Util.getFrameTime.html +3 -0
- package/docs/functions/Util.getGeometryArea.html +1 -0
- package/docs/functions/Util.getGeometryInfo.html +1 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
- package/docs/functions/Util.initialCSS3DRender.html +1 -0
- package/docs/functions/Util.inside.html +1 -0
- package/docs/functions/Util.isModelLike.html +1 -0
- package/docs/functions/Util.isNil.html +2 -0
- package/docs/functions/Util.isPanoramaLike.html +1 -0
- package/docs/functions/Util.lookObject.html +7 -0
- package/docs/functions/Util.lookPoint.html +5 -0
- package/docs/functions/Util.nextFrame.html +1 -0
- package/docs/functions/Util.notNil.html +2 -0
- package/docs/functions/Util.reblink.html +13 -0
- package/docs/functions/Util.replaceStaticPrefix.html +8 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
- package/docs/functions/Util.sculpt.createBox.html +1 -0
- package/docs/functions/Util.sculpt.createCircle.html +1 -0
- package/docs/functions/Util.sculpt.createCylinder.html +1 -0
- package/docs/functions/Util.sculpt.createLine.html +2 -0
- package/docs/functions/Util.sculpt.createPoint.html +1 -0
- package/docs/functions/Util.sculpt.createPolygon.html +1 -0
- package/docs/functions/Util.sculpt.createPrism.html +1 -0
- package/docs/functions/Util.sculpt.createRectangle.html +2 -0
- package/docs/functions/Util.sculpt.transformUnit.html +1 -0
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
- package/docs/functions/Util.tag.html +1 -0
- package/docs/functions/Util.triangleArea.html +2 -0
- package/docs/functions/Util.triangleCenter.html +2 -0
- package/docs/functions/Util.tweenProgress.html +1 -0
- package/docs/functions/Util.uuid.html +2 -0
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
- package/docs/functions/Util.worldBounding.html +1 -0
- package/docs/functions/Util.worldBoundingBox.html +1 -0
- package/docs/functions/Util.worldBoundingSphere.html +1 -0
- package/docs/functions/createPolyline.html +2 -0
- package/docs/functions/pluginFlag.html +1 -0
- package/docs/functions/validatePolygon.html +1 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +70 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
- package/docs/interfaces/BoxAnimationConfig.html +6 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
- package/docs/interfaces/ContentTypeMapInterface.html +73 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
- package/docs/interfaces/FloorplanBounding.html +9 -0
- package/docs/interfaces/FloorplanData.html +7 -0
- package/docs/interfaces/FloorplanEntrance.html +14 -0
- package/docs/interfaces/FloorplanExtraObject.html +9 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
- package/docs/interfaces/FloorplanFloorData.html +9 -0
- package/docs/interfaces/FloorplanImagePosition.html +4 -0
- package/docs/interfaces/FloorplanObserver.html +8 -0
- package/docs/interfaces/FloorplanOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanPosition.html +4 -0
- package/docs/interfaces/FloorplanRoomItem.html +24 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
- package/docs/interfaces/FloorplanServerBounding.html +9 -0
- package/docs/interfaces/FloorplanServerComputedData.html +6 -0
- package/docs/interfaces/FloorplanServerData.html +4 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
- package/docs/interfaces/FloorplanServerEntrance.html +14 -0
- package/docs/interfaces/FloorplanServerFloorData.html +8 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
- package/docs/interfaces/FloorplanServerObserver.html +8 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanServerPosition.html +4 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
- package/docs/interfaces/HelperOffset.html +4 -0
- package/docs/interfaces/ImagePlaneGroup.html +3 -0
- package/docs/interfaces/ItemLabelPluginData.html +2 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
- package/docs/interfaces/MinMax.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
- package/docs/interfaces/ModelViewPluginExportType.html +8 -0
- package/docs/interfaces/Object3DHelperState.html +4 -0
- package/docs/interfaces/ObjectHelperControllers.html +5 -0
- package/docs/interfaces/PaintBrushAction.html +14 -0
- package/docs/interfaces/PaintBrushConfigs.html +8 -0
- package/docs/interfaces/PaintBrushState.html +6 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
- package/docs/interfaces/PanoMeasureParameterType.html +20 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
- package/docs/interfaces/PanoRulerProPluginState.html +4 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
- package/docs/interfaces/PluginEventMap.html +16 -0
- package/docs/interfaces/Point.html +4 -0
- package/docs/interfaces/Room.html +5 -0
- package/docs/interfaces/RoomInfo.html +3 -0
- package/docs/interfaces/RoomLabel.html +16 -0
- package/docs/interfaces/RoomRules.html +1 -0
- package/docs/interfaces/Rooms.html +1 -0
- package/docs/interfaces/Scissor.html +13 -0
- package/docs/interfaces/SculptConfig.html +14 -0
- package/docs/interfaces/State.html +7 -0
- package/docs/interfaces/TagCacheInterface.html +9 -0
- package/docs/interfaces/TagConfig.html +174 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
- package/docs/interfaces/TagIconAnimationConfig.html +7 -0
- package/docs/interfaces/TagIconUrl.html +22 -0
- package/docs/interfaces/TagObjectGroup.html +3 -0
- package/docs/interfaces/TagState.html +3 -0
- package/docs/interfaces/TagStyle.html +5 -0
- package/docs/interfaces/Tags.html +8 -0
- package/docs/interfaces/TemporaryState.html +2 -0
- package/docs/interfaces/Util.AnimeInstance.html +14 -0
- package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
- package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
- package/docs/interfaces/Util.FiveDomEvent.html +7 -0
- package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.MagnifierParameter.html +13 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.ObjectInitialState.html +9 -0
- package/docs/interfaces/Util.PointIntersection.html +21 -0
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
- package/docs/modules/AreaMakerPluginType.html +17 -0
- package/docs/modules/CruisePluginTypes.html +14 -0
- package/docs/modules/CurrentPanoImagePluginType.html +6 -0
- package/docs/modules/GuideLineItem.html +2 -0
- package/docs/modules/GuideLineModeItem.html +3 -0
- package/docs/modules/GuideLinePluginType.html +25 -0
- package/docs/modules/ModelMakerPluginType.html +19 -0
- package/docs/modules/PanoVideoPluginType.html +8 -0
- package/docs/modules/SculptData.html +9 -0
- package/docs/modules/SculptType.html +2 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules/Util.sculpt.html +27 -0
- package/docs/modules.html +281 -0
- package/docs/types/AddObject3DHelperConfig.html +19 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
- package/docs/types/ArrayPosition.html +1 -0
- package/docs/types/AudioAppearance.html +1 -0
- package/docs/types/CSS3DRenderExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
- package/docs/types/ClassFunctionParameters.html +1 -0
- package/docs/types/Color.html +1 -0
- package/docs/types/ContentTypeConfigKey.html +1 -0
- package/docs/types/ContentTypeConfigKeySplit.html +1 -0
- package/docs/types/ContentTypeMap.html +1 -0
- package/docs/types/Create3DDomContainerReturnType.html +1 -0
- package/docs/types/Create3DElementReturnType.html +1 -0
- package/docs/types/CruisePluginExportType.html +1 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
- package/docs/types/DeprecatedTagProperty.html +3 -0
- package/docs/types/Direction-1.html +1 -0
- package/docs/types/Direction4.html +1 -0
- package/docs/types/ElementRenderer.html +2 -0
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
- package/docs/types/FloorplanRuleLabels.html +2 -0
- package/docs/types/FloorplanServerRuleLabels.html +1 -0
- package/docs/types/GuideLinePluginExportType.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
- package/docs/types/GuideLinePluginType.PathItem.html +2 -0
- package/docs/types/GuideLinePluginType.PluginData.html +2 -0
- package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
- package/docs/types/HelperEventMap.html +1 -0
- package/docs/types/InternalHelperEventMap.html +1 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/MeasureEndReason.html +1 -0
- package/docs/types/MeasurePluginConfig.html +5 -0
- package/docs/types/MeasurePluginEventMap.html +1 -0
- package/docs/types/MediaData.html +2 -0
- package/docs/types/MediaStore.html +1 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
- package/docs/types/ModelId.html +1 -0
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
- package/docs/types/MoveArgs.html +2 -0
- package/docs/types/MoveOpts.html +2 -0
- package/docs/types/Object3DHelperEventMap.html +1 -0
- package/docs/types/ObjectFit.html +1 -0
- package/docs/types/PaintBrushEventMap.html +1 -0
- package/docs/types/PanoCompassPluginData.html +1 -0
- package/docs/types/PanoCompassPluginExportType.html +1 -0
- package/docs/types/PanoCompassPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
- package/docs/types/PanoIndex.html +1 -0
- package/docs/types/PanoMeasurePluginEvent.html +1 -0
- package/docs/types/PanoMeasureReturnType.html +1 -0
- package/docs/types/PanoSpatialTagPluginId.html +1 -0
- package/docs/types/PanoTagPluginExportInterface.html +1 -0
- package/docs/types/PanoTagPluginParamsInterface.html +1 -0
- package/docs/types/PanoVideoPluginParameterType.html +1 -0
- package/docs/types/PanoVideoPluginReturnType.html +1 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
- package/docs/types/PipelinePluginParameterType.html +1 -0
- package/docs/types/PipelinePluginReturnType.html +1 -0
- package/docs/types/PlaneTag.html +2 -0
- package/docs/types/Point2DTag.html +2 -0
- package/docs/types/Point3DTag.html +2 -0
- package/docs/types/PointTagInstance.html +1 -0
- package/docs/types/Position.html +1 -0
- package/docs/types/PositionFrom.html +1 -0
- package/docs/types/RotateArgs.html +2 -0
- package/docs/types/RotateOpts.html +2 -0
- package/docs/types/RuleLabelsKey.html +1 -0
- package/docs/types/RuleLabelsValue.html +1 -0
- package/docs/types/ScaleCallback.html +1 -0
- package/docs/types/ScalePosition.html +3 -0
- package/docs/types/SculptData.BoxData.html +1 -0
- package/docs/types/SculptData.CircleData.html +1 -0
- package/docs/types/SculptData.CylinderData.html +1 -0
- package/docs/types/SculptData.PointData.html +1 -0
- package/docs/types/SculptData.PolygonData.html +1 -0
- package/docs/types/SculptData.PolylineData.html +1 -0
- package/docs/types/SculptData.PrismData.html +1 -0
- package/docs/types/SculptData.RectangleData.html +1 -0
- package/docs/types/SculptType.Theme.html +10 -0
- package/docs/types/StickType.html +1 -0
- package/docs/types/Tag.html +17 -0
- package/docs/types/Tag2D.html +2 -0
- package/docs/types/Tag3D.html +2 -0
- package/docs/types/TagClickParams.html +1 -0
- package/docs/types/TagConfigByKey.html +1 -0
- package/docs/types/TagContentType.html +1 -0
- package/docs/types/TagContentTypeMapping.html +1 -0
- package/docs/types/TagDimensionType.html +1 -0
- package/docs/types/TagElement.html +2 -0
- package/docs/types/TagEvents.html +1 -0
- package/docs/types/TagGLTFObject.html +1 -0
- package/docs/types/TagHooks.html +1 -0
- package/docs/types/TagId.html +1 -0
- package/docs/types/TagInstance.html +1 -0
- package/docs/types/TagPlacement.html +5 -0
- package/docs/types/TagPointType.html +2 -0
- package/docs/types/TagRendererMap.html +1 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/Util.ActionIfNoIntersection.html +1 -0
- package/docs/types/Util.AdherePoint.html +2 -0
- package/docs/types/Util.PointSelectorConfig.html +1 -0
- package/docs/types/Util.SupportedTarget.html +2 -0
- package/docs/types/Util.Target.html +2 -0
- package/docs/types/Util.ThreeObject.html +2 -0
- package/docs/types/WorkCode.html +1 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
- package/docs/variables/PLUGIN.html +1 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
- package/docs/variables/ROOM_TYPE_MAP.html +2 -0
- package/docs/variables/Util.ANIME_PRESETS.html +2 -0
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
- package/docs/variables/defaultGlobalConfig.html +1 -0
- package/docs/variables/itemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
- package/libs/PanoTagPlugin/Components/TagContainer.js +107 -102
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +23 -21
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var VA = Object.defineProperty, FA = Object.defineProperties;
|
|
|
2
2
|
var HA = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ka = Object.getOwnPropertySymbols;
|
|
4
4
|
var fu = Object.prototype.hasOwnProperty, gu = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var Jn = Math.pow, rc = (n, t, e) => t in n ? VA(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, F = (n, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
fu.call(t, e) && rc(n, e, t[e]);
|
|
8
8
|
if (ka)
|
|
@@ -10,7 +10,7 @@ var Kn = Math.pow, rc = (n, t, e) => t in n ? VA(n, t, { enumerable: !0, configu
|
|
|
10
10
|
gu.call(t, e) && rc(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, he = (n, t) => FA(n, HA(t));
|
|
13
|
-
var
|
|
13
|
+
var Kn = (n, t) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
16
16
|
fu.call(n, i) && t.indexOf(i) < 0 && (e[i] = n[i]);
|
|
@@ -38,12 +38,12 @@ var te = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { InternalWebGLRenderer as NA, Camera as GA, loadAt3d as WA, Five as Gt, Subscribe as tr, AnimationFrameLoop as UA } from "@realsee/five";
|
|
40
40
|
import * as y from "three";
|
|
41
|
-
import { Vector3 as ve, Vector2 as Ut, Object3D as To, Matrix4 as ot, LineSegments as QA, ShaderMaterial as Dl, Group as Sn, Raycaster as ir, MeshBasicMaterial as Wr, Vector4 as Ls, Curve as E0, Loader as pu, LoaderUtils as ac, FileLoader as XA, TextureLoader as _h, RepeatWrapping as mu, ClampToEdgeWrapping as vu, Texture as Au, MeshPhongMaterial as lc, MeshLambertMaterial as YA, Color as Rt, sRGBEncoding as Dr, EquirectangularReflectionMapping as ZA, Bone as bu, PropertyBinding as xa, OrthographicCamera as qA, PerspectiveCamera as JA, PointLight as yu, MathUtils as $i, SpotLight as KA, DirectionalLight as $A, SkinnedMesh as eb, Mesh as Lo, LineBasicMaterial as tb, Line as ib, Skeleton as nb, AmbientLight as sb, BufferGeometry as Sa, Float32BufferAttribute as po, Uint16BufferAttribute as ob, Matrix3 as rb, BufferAttribute as ab, AnimationClip as lb, Quaternion as zs, Euler as
|
|
41
|
+
import { Vector3 as ve, Vector2 as Ut, Object3D as To, Matrix4 as ot, LineSegments as QA, ShaderMaterial as Dl, Group as Sn, Raycaster as ir, MeshBasicMaterial as Wr, Vector4 as Ls, Curve as E0, Loader as pu, LoaderUtils as ac, FileLoader as XA, TextureLoader as _h, RepeatWrapping as mu, ClampToEdgeWrapping as vu, Texture as Au, MeshPhongMaterial as lc, MeshLambertMaterial as YA, Color as Rt, sRGBEncoding as Dr, EquirectangularReflectionMapping as ZA, Bone as bu, PropertyBinding as xa, OrthographicCamera as qA, PerspectiveCamera as JA, PointLight as yu, MathUtils as $i, SpotLight as KA, DirectionalLight as $A, SkinnedMesh as eb, Mesh as Lo, LineBasicMaterial as tb, Line as ib, Skeleton as nb, AmbientLight as sb, BufferGeometry as Sa, Float32BufferAttribute as po, Uint16BufferAttribute as ob, Matrix3 as rb, BufferAttribute as ab, AnimationClip as lb, Quaternion as zs, Euler as ns, VectorKeyframeTrack as cb, QuaternionKeyframeTrack as hb, NumberKeyframeTrack as db, CanvasTexture as ub, AnimationMixer as fb, PlaneGeometry as gb, LinearFilter as Zc, CurvePath as pb, LineCurve3 as mb, TubeGeometry as vb, SphereGeometry as Ab, DoubleSide as M0, RingGeometry as bb, VideoTexture as yb, SphereBufferGeometry as wb, Box3 as Pb } from "three";
|
|
42
42
|
import { LineGeometry as Cb, LineMaterial as Ib, THREE_Line2 as Eb, Line as k0 } from "@realsee/five/line";
|
|
43
43
|
import { GLTFLoader as Mb } from "@realsee/five/gltf-loader";
|
|
44
44
|
function kb() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.74.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.74.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",
|
|
@@ -512,7 +512,7 @@ function Bb(n, t, e, i = Ni.Linear.None) {
|
|
|
512
512
|
}
|
|
513
513
|
return requestAnimationFrame(o), s;
|
|
514
514
|
}
|
|
515
|
-
var
|
|
515
|
+
var ts = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(ts || {});
|
|
516
516
|
const jr = Symbol("$$PAINT_BRUSH_EVENT$$");
|
|
517
517
|
function La(n) {
|
|
518
518
|
return n[jr] || (n[jr] = {}), n[jr];
|
|
@@ -594,11 +594,11 @@ let Fb = class {
|
|
|
594
594
|
return i;
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
|
-
function
|
|
597
|
+
function $n() {
|
|
598
598
|
return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
599
599
|
}
|
|
600
600
|
function Dt() {
|
|
601
|
-
return (
|
|
601
|
+
return ($n() + $n() + "-" + $n() + "-4" + $n().substr(0, 3) + "-" + $n() + "-" + $n() + $n() + $n()).toLowerCase();
|
|
602
602
|
}
|
|
603
603
|
const Hb = `
|
|
604
604
|
<style type="text/css">
|
|
@@ -767,7 +767,7 @@ let Nb = class extends Fb {
|
|
|
767
767
|
return;
|
|
768
768
|
const l = this.data[this.uuid].pop();
|
|
769
769
|
l && this.emitStateChange({
|
|
770
|
-
type:
|
|
770
|
+
type: ts.Undo,
|
|
771
771
|
color: this.color,
|
|
772
772
|
ready: this.ready,
|
|
773
773
|
state: l,
|
|
@@ -802,7 +802,7 @@ let Nb = class extends Fb {
|
|
|
802
802
|
const i = this.canvas[e].getContext("2d");
|
|
803
803
|
i && i.clearRect(0, 0, this.canvas[e].width, this.canvas[e].height);
|
|
804
804
|
}), this.ready = !1, this.emit("readyChange", !1), this.emitStateChange({
|
|
805
|
-
type:
|
|
805
|
+
type: ts.Exit,
|
|
806
806
|
color: this.color,
|
|
807
807
|
ready: !1,
|
|
808
808
|
uuid: this.uuid
|
|
@@ -855,7 +855,7 @@ let Nb = class extends Fb {
|
|
|
855
855
|
};
|
|
856
856
|
this.data[this.uuid].push(p), Xa(() => {
|
|
857
857
|
this.emitStateChange({
|
|
858
|
-
type:
|
|
858
|
+
type: ts.Drawline,
|
|
859
859
|
color: this.color,
|
|
860
860
|
ready: this.ready,
|
|
861
861
|
state: p,
|
|
@@ -888,7 +888,7 @@ let Nb = class extends Fb {
|
|
|
888
888
|
};
|
|
889
889
|
this.data[this.uuid].push(p), Xa(() => {
|
|
890
890
|
this.emitStateChange({
|
|
891
|
-
type:
|
|
891
|
+
type: ts.Drawline,
|
|
892
892
|
color: this.color,
|
|
893
893
|
ready: this.ready,
|
|
894
894
|
state: p,
|
|
@@ -898,7 +898,7 @@ let Nb = class extends Fb {
|
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
900
|
emitStateChange(e, i = !0) {
|
|
901
|
-
if (e.type !==
|
|
901
|
+
if (e.type !== ts.Drawline) {
|
|
902
902
|
this.emit("stateChange", e, i);
|
|
903
903
|
return;
|
|
904
904
|
}
|
|
@@ -939,13 +939,13 @@ let Nb = class extends Fb {
|
|
|
939
939
|
}
|
|
940
940
|
if (this.ready)
|
|
941
941
|
switch (s) {
|
|
942
|
-
case
|
|
942
|
+
case ts.Drawline:
|
|
943
943
|
const { state: r, timestamp: a, end: l } = e;
|
|
944
944
|
if (!a || !r)
|
|
945
945
|
return;
|
|
946
946
|
this.tempLine[a] = [].concat(this.tempLine[a] || [], r.line), l && (Object.assign(r, { line: this.tempLine[a] }), this.handleDrawLine(o, r, {}, () => delete this.tempLine[a]));
|
|
947
947
|
break;
|
|
948
|
-
case
|
|
948
|
+
case ts.Undo:
|
|
949
949
|
this.handleUndo(o);
|
|
950
950
|
break;
|
|
951
951
|
}
|
|
@@ -1248,7 +1248,7 @@ class T0 extends kt {
|
|
|
1248
1248
|
this.five = e;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1251
|
+
const hs = (n, t) => {
|
|
1252
1252
|
if (!t)
|
|
1253
1253
|
return n;
|
|
1254
1254
|
const e = new y.Vector3(), i = new y.Quaternion(), s = new y.Vector3();
|
|
@@ -1306,7 +1306,7 @@ class qb extends T0 {
|
|
|
1306
1306
|
var s;
|
|
1307
1307
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.position;
|
|
1308
1308
|
if (i)
|
|
1309
|
-
return
|
|
1309
|
+
return hs(i, this.transform);
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
1312
1312
|
* @description 获取全景点位和模型的地面坐标
|
|
@@ -1315,7 +1315,7 @@ class qb extends T0 {
|
|
|
1315
1315
|
var s;
|
|
1316
1316
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.standingPosition;
|
|
1317
1317
|
if (i)
|
|
1318
|
-
return
|
|
1318
|
+
return hs(i, this.transform);
|
|
1319
1319
|
}
|
|
1320
1320
|
/**
|
|
1321
1321
|
* @description 获取observer
|
|
@@ -1376,8 +1376,8 @@ function Vh(n, t, e, i) {
|
|
|
1376
1376
|
o[r].type !== "Line2" && Vh(o[r], t, e, !0);
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
|
-
const
|
|
1380
|
-
|
|
1379
|
+
const Dn = new Ur();
|
|
1380
|
+
Dn.params.Points.threshold = 0.02;
|
|
1381
1381
|
function tl(n, t) {
|
|
1382
1382
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
1383
1383
|
return {
|
|
@@ -1495,8 +1495,8 @@ class ha {
|
|
|
1495
1495
|
let t = !1, e = 0.01;
|
|
1496
1496
|
this.fiveUtil.workUtil.fromType === "poincare" && (e = 0.05);
|
|
1497
1497
|
const i = this.transformedPosition.clone().sub(this.five.camera.position).normalize();
|
|
1498
|
-
|
|
1499
|
-
const s = (l = Ei(this.five).intersectRaycaster(
|
|
1498
|
+
Dn.set(this.five.camera.position, i);
|
|
1499
|
+
const s = (l = Ei(this.five).intersectRaycaster(Dn)) != null ? l : [], o = (c = Dn.intersectObjects(this.extraObjectsForIntersectCheck, !0)) != null ? c : [], a = [...s, ...o].sort((h, d) => h.distance - d.distance)[0];
|
|
1500
1500
|
a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
|
|
1501
1501
|
});
|
|
1502
1502
|
var s, o, r;
|
|
@@ -1622,11 +1622,11 @@ class ha {
|
|
|
1622
1622
|
function L0(...n) {
|
|
1623
1623
|
return new ha(...n);
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1625
|
+
function ls(n) {
|
|
1626
1626
|
return n.toLowerCase().includes("panorama");
|
|
1627
1627
|
}
|
|
1628
1628
|
function Ci(n) {
|
|
1629
|
-
return !
|
|
1629
|
+
return !ls(n);
|
|
1630
1630
|
}
|
|
1631
1631
|
var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Qr = {}, Kb = {
|
|
1632
1632
|
get exports() {
|
|
@@ -1796,7 +1796,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1796
1796
|
};
|
|
1797
1797
|
function $e(V) {
|
|
1798
1798
|
var U, Z = V.options.inputClass;
|
|
1799
|
-
return Z ? U = Z : K ? U = gn : oe ? U =
|
|
1799
|
+
return Z ? U = Z : K ? U = gn : oe ? U = Gn : ie ? U = mn : U = Si, new U(V, rt);
|
|
1800
1800
|
}
|
|
1801
1801
|
function rt(V, U, Z) {
|
|
1802
1802
|
var ne = Z.pointers.length, be = Z.changedPointers.length, ze = U & de && ne - be === 0, Qe = U & (Se | ee) && ne - be === 0;
|
|
@@ -1884,13 +1884,13 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1884
1884
|
function Ps(V, U) {
|
|
1885
1885
|
return Xt(U[0], U[1], st) / Xt(V[0], V[1], st);
|
|
1886
1886
|
}
|
|
1887
|
-
var
|
|
1887
|
+
var Bn = {
|
|
1888
1888
|
mousedown: de,
|
|
1889
1889
|
mousemove: le,
|
|
1890
1890
|
mouseup: Se
|
|
1891
|
-
}, no = "mousedown",
|
|
1891
|
+
}, no = "mousedown", Vn = "mousemove mouseup";
|
|
1892
1892
|
function Si() {
|
|
1893
|
-
this.evEl = no, this.evWin =
|
|
1893
|
+
this.evEl = no, this.evWin = Vn, this.pressed = !1, Je.apply(this, arguments);
|
|
1894
1894
|
}
|
|
1895
1895
|
P(Si, Je, {
|
|
1896
1896
|
/**
|
|
@@ -1898,7 +1898,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1898
1898
|
* @param {Object} ev
|
|
1899
1899
|
*/
|
|
1900
1900
|
handler: function(U) {
|
|
1901
|
-
var Z =
|
|
1901
|
+
var Z = Bn[U.type];
|
|
1902
1902
|
Z & de && U.button === 0 && (this.pressed = !0), Z & le && U.which !== 1 && (Z = Se), this.pressed && (Z & Se && (this.pressed = !1), this.callback(this.manager, Z, {
|
|
1903
1903
|
pointers: [U],
|
|
1904
1904
|
changedPointers: [U],
|
|
@@ -1913,16 +1913,16 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1913
1913
|
pointerup: Se,
|
|
1914
1914
|
pointercancel: ee,
|
|
1915
1915
|
pointerout: ee
|
|
1916
|
-
},
|
|
1916
|
+
}, Fn = {
|
|
1917
1917
|
2: $,
|
|
1918
1918
|
3: ue,
|
|
1919
1919
|
4: Le,
|
|
1920
1920
|
5: re
|
|
1921
1921
|
// see https://twitter.com/jacobrossi/status/480596438489890816
|
|
1922
|
-
},
|
|
1923
|
-
t.MSPointerEvent && !t.PointerEvent && (
|
|
1922
|
+
}, Hn = "pointerdown", Yi = "pointermove pointerup pointercancel";
|
|
1923
|
+
t.MSPointerEvent && !t.PointerEvent && (Hn = "MSPointerDown", Yi = "MSPointerMove MSPointerUp MSPointerCancel");
|
|
1924
1924
|
function gn() {
|
|
1925
|
-
this.evEl =
|
|
1925
|
+
this.evEl = Hn, this.evWin = Yi, Je.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
|
|
1926
1926
|
}
|
|
1927
1927
|
P(gn, Je, {
|
|
1928
1928
|
/**
|
|
@@ -1930,7 +1930,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1930
1930
|
* @param {Object} ev
|
|
1931
1931
|
*/
|
|
1932
1932
|
handler: function(U) {
|
|
1933
|
-
var Z = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), ze = yi[be], Qe =
|
|
1933
|
+
var Z = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), ze = yi[be], Qe = Fn[U.pointerType] || U.pointerType, Pt = Qe == $, Mt = C(Z, U.pointerId, "pointerId");
|
|
1934
1934
|
ze & de && (U.button === 0 || Pt) ? Mt < 0 && (Z.push(U), Mt = Z.length - 1) : ze & (Se | ee) && (ne = !0), !(Mt < 0) && (Z[Mt] = U, this.callback(this.manager, ze, {
|
|
1935
1935
|
pointers: Z,
|
|
1936
1936
|
changedPointers: [U],
|
|
@@ -1945,10 +1945,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1945
1945
|
touchend: Se,
|
|
1946
1946
|
touchcancel: ee
|
|
1947
1947
|
}, Cs = "touchstart", Is = "touchstart touchmove touchend touchcancel";
|
|
1948
|
-
function
|
|
1948
|
+
function Nn() {
|
|
1949
1949
|
this.evTarget = Cs, this.evWin = Is, this.started = !1, Je.apply(this, arguments);
|
|
1950
1950
|
}
|
|
1951
|
-
P(
|
|
1951
|
+
P(Nn, Je, {
|
|
1952
1952
|
handler: function(U) {
|
|
1953
1953
|
var Z = pn[U.type];
|
|
1954
1954
|
if (Z === de && (this.started = !0), !!this.started) {
|
|
@@ -1972,10 +1972,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1972
1972
|
touchend: Se,
|
|
1973
1973
|
touchcancel: ee
|
|
1974
1974
|
}, _i = "touchstart touchmove touchend touchcancel";
|
|
1975
|
-
function
|
|
1975
|
+
function Gn() {
|
|
1976
1976
|
this.evTarget = _i, this.targetIds = {}, Je.apply(this, arguments);
|
|
1977
1977
|
}
|
|
1978
|
-
P(
|
|
1978
|
+
P(Gn, Je, {
|
|
1979
1979
|
handler: function(U) {
|
|
1980
1980
|
var Z = so[U.type], ne = hr.call(this, U, Z);
|
|
1981
1981
|
ne && this.callback(this.manager, Z, {
|
|
@@ -2009,7 +2009,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2009
2009
|
function mn() {
|
|
2010
2010
|
Je.apply(this, arguments);
|
|
2011
2011
|
var V = E(this.handler, this);
|
|
2012
|
-
this.touch = new
|
|
2012
|
+
this.touch = new Gn(this.manager, V), this.mouse = new Si(this.manager, V), this.primaryTouch = null, this.lastTouches = [];
|
|
2013
2013
|
}
|
|
2014
2014
|
P(mn, Je, {
|
|
2015
2015
|
/**
|
|
@@ -2058,7 +2058,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2058
2058
|
}
|
|
2059
2059
|
return !1;
|
|
2060
2060
|
}
|
|
2061
|
-
var ro = S(r.style, "touchAction"), ao = ro !== s, lo = "compute", zt = "auto", Ms = "manipulation", Bi = "none", vn = "pan-x", An = "pan-y",
|
|
2061
|
+
var ro = S(r.style, "touchAction"), ao = ro !== s, lo = "compute", zt = "auto", Ms = "manipulation", Bi = "none", vn = "pan-x", An = "pan-y", Wn = gr();
|
|
2062
2062
|
function Bt(V, U) {
|
|
2063
2063
|
this.manager = V, this.set(U);
|
|
2064
2064
|
}
|
|
@@ -2068,7 +2068,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2068
2068
|
* @param {String} value
|
|
2069
2069
|
*/
|
|
2070
2070
|
set: function(V) {
|
|
2071
|
-
V == lo && (V = this.compute()), ao && this.manager.element.style &&
|
|
2071
|
+
V == lo && (V = this.compute()), ao && this.manager.element.style && Wn[V] && (this.manager.element.style[ro] = V), this.actions = V.toLowerCase().trim();
|
|
2072
2072
|
},
|
|
2073
2073
|
/**
|
|
2074
2074
|
* just re-set the touchAction value
|
|
@@ -2096,7 +2096,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2096
2096
|
U.preventDefault();
|
|
2097
2097
|
return;
|
|
2098
2098
|
}
|
|
2099
|
-
var ne = this.actions, be = O(ne, Bi) && !
|
|
2099
|
+
var ne = this.actions, be = O(ne, Bi) && !Wn[Bi], ze = O(ne, An) && !Wn[An], Qe = O(ne, vn) && !Wn[vn];
|
|
2100
2100
|
if (be) {
|
|
2101
2101
|
var Pt = V.pointers.length === 1, Mt = V.distance < 2, Ot = V.deltaTime < 250;
|
|
2102
2102
|
if (Pt && Mt && Ot)
|
|
@@ -2127,9 +2127,9 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2127
2127
|
V[Z] = U ? t.CSS.supports("touch-action", Z) : !0;
|
|
2128
2128
|
}), V;
|
|
2129
2129
|
}
|
|
2130
|
-
var
|
|
2130
|
+
var Un = 1, Zt = 2, qi = 4, ei = 8, di = ei, Di = 16, Et = 32;
|
|
2131
2131
|
function ti(V) {
|
|
2132
|
-
this.options = m({}, this.defaults, V || {}), this.id = N(), this.manager = null, this.options.enable = z(this.options.enable, !0), this.state =
|
|
2132
|
+
this.options = m({}, this.defaults, V || {}), this.id = N(), this.manager = null, this.options.enable = z(this.options.enable, !0), this.state = Un, this.simultaneous = {}, this.requireFail = [];
|
|
2133
2133
|
}
|
|
2134
2134
|
ti.prototype = {
|
|
2135
2135
|
/**
|
|
@@ -2154,7 +2154,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2154
2154
|
if (u(V, "recognizeWith", this))
|
|
2155
2155
|
return this;
|
|
2156
2156
|
var U = this.simultaneous;
|
|
2157
|
-
return V =
|
|
2157
|
+
return V = Qn(V, this), U[V.id] || (U[V.id] = V, V.recognizeWith(this)), this;
|
|
2158
2158
|
},
|
|
2159
2159
|
/**
|
|
2160
2160
|
* drop the simultaneous link. it doesnt remove the link on the other recognizer.
|
|
@@ -2162,7 +2162,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2162
2162
|
* @returns {Recognizer} this
|
|
2163
2163
|
*/
|
|
2164
2164
|
dropRecognizeWith: function(V) {
|
|
2165
|
-
return u(V, "dropRecognizeWith", this) ? this : (V =
|
|
2165
|
+
return u(V, "dropRecognizeWith", this) ? this : (V = Qn(V, this), delete this.simultaneous[V.id], this);
|
|
2166
2166
|
},
|
|
2167
2167
|
/**
|
|
2168
2168
|
* recognizer can only run when an other is failing
|
|
@@ -2173,7 +2173,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2173
2173
|
if (u(V, "requireFailure", this))
|
|
2174
2174
|
return this;
|
|
2175
2175
|
var U = this.requireFail;
|
|
2176
|
-
return V =
|
|
2176
|
+
return V = Qn(V, this), C(U, V) === -1 && (U.push(V), V.requireFailure(this)), this;
|
|
2177
2177
|
},
|
|
2178
2178
|
/**
|
|
2179
2179
|
* drop the requireFailure link. it does not remove the link on the other recognizer.
|
|
@@ -2183,7 +2183,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2183
2183
|
dropRequireFailure: function(V) {
|
|
2184
2184
|
if (u(V, "dropRequireFailure", this))
|
|
2185
2185
|
return this;
|
|
2186
|
-
V =
|
|
2186
|
+
V = Qn(V, this);
|
|
2187
2187
|
var U = C(this.requireFail, V);
|
|
2188
2188
|
return U > -1 && this.requireFail.splice(U, 1), this;
|
|
2189
2189
|
},
|
|
@@ -2231,7 +2231,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2231
2231
|
*/
|
|
2232
2232
|
canEmit: function() {
|
|
2233
2233
|
for (var V = 0; V < this.requireFail.length; ) {
|
|
2234
|
-
if (!(this.requireFail[V].state & (Et |
|
|
2234
|
+
if (!(this.requireFail[V].state & (Et | Un)))
|
|
2235
2235
|
return !1;
|
|
2236
2236
|
V++;
|
|
2237
2237
|
}
|
|
@@ -2247,7 +2247,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2247
2247
|
this.reset(), this.state = Et;
|
|
2248
2248
|
return;
|
|
2249
2249
|
}
|
|
2250
|
-
this.state & (di | Di | Et) && (this.state =
|
|
2250
|
+
this.state & (di | Di | Et) && (this.state = Un), this.state = this.process(U), this.state & (Zt | qi | ei | Di) && this.tryEmit(U);
|
|
2251
2251
|
},
|
|
2252
2252
|
/**
|
|
2253
2253
|
* return the state of the recognizer
|
|
@@ -2280,7 +2280,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2280
2280
|
function ho(V) {
|
|
2281
2281
|
return V == me ? "down" : V == Ve ? "up" : V == Re ? "left" : V == Ae ? "right" : "";
|
|
2282
2282
|
}
|
|
2283
|
-
function
|
|
2283
|
+
function Qn(V, U) {
|
|
2284
2284
|
var Z = U.manager;
|
|
2285
2285
|
return Z ? Z.get(V) : V;
|
|
2286
2286
|
}
|
|
@@ -2320,10 +2320,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2320
2320
|
return ne && (Z & ee || !be) ? U | Di : ne || be ? Z & Se ? U | ei : U & Zt ? U | qi : Zt : Et;
|
|
2321
2321
|
}
|
|
2322
2322
|
});
|
|
2323
|
-
function
|
|
2323
|
+
function Xn() {
|
|
2324
2324
|
ii.apply(this, arguments), this.pX = null, this.pY = null;
|
|
2325
2325
|
}
|
|
2326
|
-
P(
|
|
2326
|
+
P(Xn, ii, {
|
|
2327
2327
|
/**
|
|
2328
2328
|
* @namespace
|
|
2329
2329
|
* @memberof PanRecognizer
|
|
@@ -2436,10 +2436,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2436
2436
|
return this._super.attrTest.call(this, V) && (Math.abs(V.rotation) > this.options.threshold || this.state & Zt);
|
|
2437
2437
|
}
|
|
2438
2438
|
});
|
|
2439
|
-
function
|
|
2439
|
+
function Yn() {
|
|
2440
2440
|
ii.apply(this, arguments);
|
|
2441
2441
|
}
|
|
2442
|
-
P(
|
|
2442
|
+
P(Yn, ii, {
|
|
2443
2443
|
/**
|
|
2444
2444
|
* @namespace
|
|
2445
2445
|
* @memberof SwipeRecognizer
|
|
@@ -2452,7 +2452,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2452
2452
|
pointers: 1
|
|
2453
2453
|
},
|
|
2454
2454
|
getTouchAction: function() {
|
|
2455
|
-
return
|
|
2455
|
+
return Xn.prototype.getTouchAction.call(this);
|
|
2456
2456
|
},
|
|
2457
2457
|
attrTest: function(V) {
|
|
2458
2458
|
var U = this.options.direction, Z;
|
|
@@ -2562,8 +2562,8 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2562
2562
|
// RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]
|
|
2563
2563
|
[Vi, { enable: !1 }],
|
|
2564
2564
|
[Ji, { enable: !1 }, ["rotate"]],
|
|
2565
|
-
[
|
|
2566
|
-
[
|
|
2565
|
+
[Yn, { direction: Ie }],
|
|
2566
|
+
[Xn, { direction: Ie }, ["swipe"]],
|
|
2567
2567
|
[yn],
|
|
2568
2568
|
[yn, { event: "doubletap", taps: 2 }, ["tap"]],
|
|
2569
2569
|
[bn]
|
|
@@ -2617,7 +2617,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2617
2617
|
};
|
|
2618
2618
|
var pr = 1, uo = 2;
|
|
2619
2619
|
function ks(V, U) {
|
|
2620
|
-
this.options = m({}, wi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new Bt(this, this.options.touchAction),
|
|
2620
|
+
this.options = m({}, wi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new Bt(this, this.options.touchAction), Zn(this, !0), p(this.options.recognizers, function(Z) {
|
|
2621
2621
|
var ne = this.add(new Z[0](Z[1]));
|
|
2622
2622
|
Z[2] && ne.recognizeWith(Z[2]), Z[3] && ne.requireFailure(Z[3]);
|
|
2623
2623
|
}, this);
|
|
@@ -2746,10 +2746,10 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2746
2746
|
* it doesn't unbind dom events, that is the user own responsibility
|
|
2747
2747
|
*/
|
|
2748
2748
|
destroy: function() {
|
|
2749
|
-
this.element &&
|
|
2749
|
+
this.element && Zn(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
|
|
2750
2750
|
}
|
|
2751
2751
|
};
|
|
2752
|
-
function
|
|
2752
|
+
function Zn(V, U) {
|
|
2753
2753
|
var Z = V.element;
|
|
2754
2754
|
if (Z.style) {
|
|
2755
2755
|
var ne;
|
|
@@ -2767,7 +2767,7 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2767
2767
|
INPUT_MOVE: le,
|
|
2768
2768
|
INPUT_END: Se,
|
|
2769
2769
|
INPUT_CANCEL: ee,
|
|
2770
|
-
STATE_POSSIBLE:
|
|
2770
|
+
STATE_POSSIBLE: Un,
|
|
2771
2771
|
STATE_BEGAN: Zt,
|
|
2772
2772
|
STATE_CHANGED: qi,
|
|
2773
2773
|
STATE_ENDED: ei,
|
|
@@ -2785,16 +2785,16 @@ var zi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2785
2785
|
Manager: ks,
|
|
2786
2786
|
Input: Je,
|
|
2787
2787
|
TouchAction: Bt,
|
|
2788
|
-
TouchInput:
|
|
2788
|
+
TouchInput: Gn,
|
|
2789
2789
|
MouseInput: Si,
|
|
2790
2790
|
PointerEventInput: gn,
|
|
2791
2791
|
TouchMouseInput: mn,
|
|
2792
|
-
SingleTouchInput:
|
|
2792
|
+
SingleTouchInput: Nn,
|
|
2793
2793
|
Recognizer: ti,
|
|
2794
2794
|
AttrRecognizer: ii,
|
|
2795
2795
|
Tap: yn,
|
|
2796
|
-
Pan:
|
|
2797
|
-
Swipe:
|
|
2796
|
+
Pan: Xn,
|
|
2797
|
+
Swipe: Yn,
|
|
2798
2798
|
Pinch: Ji,
|
|
2799
2799
|
Rotate: Vi,
|
|
2800
2800
|
Press: bn,
|
|
@@ -3057,19 +3057,19 @@ function z0(n, t) {
|
|
|
3057
3057
|
const { offsetWidth: e, offsetHeight: i } = t;
|
|
3058
3058
|
return new y.Vector2().set(n.x / e * 2 - 1, -n.y / i * 2 + 1);
|
|
3059
3059
|
}
|
|
3060
|
-
var
|
|
3060
|
+
var On = function(n) {
|
|
3061
3061
|
To.call(this), this.element = n, this.element.style.position = "absolute", this.element.style.pointerEvents = "auto", this.element.style.userSelect = "none", this.element.setAttribute("draggable", !1), this.addEventListener("removed", function() {
|
|
3062
3062
|
this.traverse(function(t) {
|
|
3063
3063
|
t.element instanceof Element && t.element.parentNode !== null && t.element.remove();
|
|
3064
3064
|
});
|
|
3065
3065
|
});
|
|
3066
3066
|
};
|
|
3067
|
-
|
|
3068
|
-
|
|
3067
|
+
On.prototype = Object.create(To.prototype);
|
|
3068
|
+
On.prototype.constructor = On;
|
|
3069
3069
|
var il = function(n) {
|
|
3070
|
-
|
|
3070
|
+
On.call(this, n);
|
|
3071
3071
|
};
|
|
3072
|
-
il.prototype = Object.create(
|
|
3072
|
+
il.prototype = Object.create(On.prototype);
|
|
3073
3073
|
il.prototype.constructor = il;
|
|
3074
3074
|
let ty = function(n) {
|
|
3075
3075
|
let t = this, e, i, s, o, r = new ot(), a = {
|
|
@@ -3885,7 +3885,7 @@ function _0(n, t = "m") {
|
|
|
3885
3885
|
return i === "0.0" ? void 0 : i + "ft²";
|
|
3886
3886
|
}
|
|
3887
3887
|
}
|
|
3888
|
-
const
|
|
3888
|
+
const is = class {
|
|
3889
3889
|
static checkDom(t) {
|
|
3890
3890
|
let e = t, i = !0;
|
|
3891
3891
|
for (; e.parent; )
|
|
@@ -3893,13 +3893,13 @@ const ns = class {
|
|
|
3893
3893
|
e.type === "Scene" ? (t._onAdded(), i ? t._onShowed() : t._onHidden()) : t._onRemoved();
|
|
3894
3894
|
}
|
|
3895
3895
|
static checkDomEveryFrame() {
|
|
3896
|
-
|
|
3896
|
+
is.checkDomEveryFrameIsRunning || (is.checkDomEveryFrameIsRunning = !0, is._checkDomEveryFrame());
|
|
3897
3897
|
}
|
|
3898
3898
|
static _checkDomEveryFrame() {
|
|
3899
|
-
|
|
3899
|
+
is.cacheObject.forEach((t) => is.checkDom(t)), requestAnimationFrame(is._checkDomEveryFrame);
|
|
3900
3900
|
}
|
|
3901
3901
|
};
|
|
3902
|
-
let Kt =
|
|
3902
|
+
let Kt = is;
|
|
3903
3903
|
f(Kt, "cacheObject", /* @__PURE__ */ new Set()), f(Kt, "checkDomEveryFrameIsRunning", !1);
|
|
3904
3904
|
class ki extends Ai {
|
|
3905
3905
|
constructor(e) {
|
|
@@ -4342,7 +4342,7 @@ function xy(n, t) {
|
|
|
4342
4342
|
return he(F({}, s), { raycaster: t, isVirtual: !1 });
|
|
4343
4343
|
}
|
|
4344
4344
|
const xu = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, Sy = new y.Vector3();
|
|
4345
|
-
function
|
|
4345
|
+
function Tn(n) {
|
|
4346
4346
|
const { raycaster: t, line: e, clampToLine: i = !0 } = n, s = new y.Plane().setFromNormalAndCoplanarPoint(t.ray.direction.clone().normalize(), new y.Vector3()), o = s.projectPoint(e.start, new y.Vector3()), r = s.projectPoint(e.end, new y.Vector3()), a = new y.Line3(o, r), l = a.closestPointToPoint(t.ray.origin, i, Sy), c = l.distanceTo(r), h = l.distanceTo(o), d = a.distance();
|
|
4347
4347
|
if (c > h && c > d) {
|
|
4348
4348
|
const u = -l.distanceTo(o) / d, p = e.start.clone().sub(e.end).normalize();
|
|
@@ -4583,7 +4583,7 @@ class zl extends kt {
|
|
|
4583
4583
|
if (m.distanceTo(e.point) < this.adhereRadius)
|
|
4584
4584
|
(!this.plane || this.plane.distanceToPoint(m) < 0.01) && (m = (a = (r = this.plane) == null ? void 0 : r.projectPoint(m, new y.Vector3())) != null ? a : m, i.point = m.clone(), i.adhereLine = g.clone(), i.isAdsorbed = !0);
|
|
4585
4585
|
else {
|
|
4586
|
-
const v =
|
|
4586
|
+
const v = Tn({
|
|
4587
4587
|
raycaster: new Ur(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
|
|
4588
4588
|
line: g,
|
|
4589
4589
|
clampToLine: !1
|
|
@@ -4736,7 +4736,7 @@ class N0 extends y.Mesh {
|
|
|
4736
4736
|
}
|
|
4737
4737
|
}
|
|
4738
4738
|
const Uh = (n) => n ? n.visible === !1 ? !1 : Uh(n.parent) : !0, G0 = 1, Du = `CSS3DObjectPlus@${G0}`, Dy = 216e-5, Ty = 3e-3;
|
|
4739
|
-
let W0 = class extends
|
|
4739
|
+
let W0 = class extends On {
|
|
4740
4740
|
constructor(e) {
|
|
4741
4741
|
var z, D, j, T, O;
|
|
4742
4742
|
if (vi(e.cornerPoints) && vi(e.width))
|
|
@@ -5037,7 +5037,7 @@ function Hy(n) {
|
|
|
5037
5037
|
new y.Vector3(t.x, e.y, e.z)
|
|
5038
5038
|
];
|
|
5039
5039
|
}
|
|
5040
|
-
function
|
|
5040
|
+
function ss(n, t) {
|
|
5041
5041
|
const { max: e, min: i } = n;
|
|
5042
5042
|
switch (t) {
|
|
5043
5043
|
case 0:
|
|
@@ -5424,7 +5424,7 @@ function Zy(n) {
|
|
|
5424
5424
|
if (Ge.hsl(n))
|
|
5425
5425
|
return Yy(n);
|
|
5426
5426
|
}
|
|
5427
|
-
function
|
|
5427
|
+
function Ln(n) {
|
|
5428
5428
|
var t = /[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(n);
|
|
5429
5429
|
if (t)
|
|
5430
5430
|
return t[1];
|
|
@@ -5442,7 +5442,7 @@ function sn(n, t) {
|
|
|
5442
5442
|
return n.getAttribute(t);
|
|
5443
5443
|
}
|
|
5444
5444
|
function Jh(n, t, e) {
|
|
5445
|
-
var i =
|
|
5445
|
+
var i = Ln(t);
|
|
5446
5446
|
if (Zh([e, "deg", "rad", "turn"], i))
|
|
5447
5447
|
return t;
|
|
5448
5448
|
var s = sl.CSS[t + e];
|
|
@@ -5498,7 +5498,7 @@ function ed(n, t) {
|
|
|
5498
5498
|
var e = /^(\*=|\+=|-=)/.exec(n);
|
|
5499
5499
|
if (!e)
|
|
5500
5500
|
return n;
|
|
5501
|
-
var i =
|
|
5501
|
+
var i = Ln(n) || 0, s = parseFloat(t), o = parseFloat(n.replace(e[0], ""));
|
|
5502
5502
|
switch (e[0][0]) {
|
|
5503
5503
|
case "+":
|
|
5504
5504
|
return s + o + i;
|
|
@@ -5513,7 +5513,7 @@ function o1(n, t) {
|
|
|
5513
5513
|
return Zy(n);
|
|
5514
5514
|
if (/\s/g.test(n))
|
|
5515
5515
|
return n;
|
|
5516
|
-
var e =
|
|
5516
|
+
var e = Ln(n), i = e ? n.substr(0, n.length - e.length) : n;
|
|
5517
5517
|
return t ? i + t : i;
|
|
5518
5518
|
}
|
|
5519
5519
|
function td(n, t) {
|
|
@@ -5683,7 +5683,7 @@ function cw(n, t) {
|
|
|
5683
5683
|
function hw(n, t) {
|
|
5684
5684
|
var e;
|
|
5685
5685
|
return n.tweens.map(function(i) {
|
|
5686
|
-
var s = cw(i, t), o = s.value, r = Ge.arr(o) ? o[1] : o, a =
|
|
5686
|
+
var s = cw(i, t), o = s.value, r = Ge.arr(o) ? o[1] : o, a = Ln(r), l = $h(t.target, n.name, a, t), c = e ? e.to.original : l, h = Ge.arr(o) ? o[0] : c, d = Ln(h) || Ln(l), u = a || d;
|
|
5687
5687
|
return Ge.und(r) && (r = c), s.from = Lu(h, u), s.to = Lu(ed(r, h), u), s.start = e ? e.end : 0, s.end = s.start + s.delay + s.duration + s.endDelay, s.easing = Yh(s.easing, s.duration), s.isPath = Ge.pth(o), s.isPathTargetInsideSVG = s.isPath && Ge.svg(t.target), s.isColor = Ge.col(s.from.original), s.isColor && (s.round = 1), e = s, s;
|
|
5688
5688
|
});
|
|
5689
5689
|
}
|
|
@@ -5710,7 +5710,7 @@ function d1(n, t) {
|
|
|
5710
5710
|
var e = c1(n);
|
|
5711
5711
|
e.forEach(function(i) {
|
|
5712
5712
|
for (var s in t) {
|
|
5713
|
-
var o = eh(t[s], i), r = i.target, a =
|
|
5713
|
+
var o = eh(t[s], i), r = i.target, a = Ln(o), l = $h(r, s, a, i), c = a || Ln(l), h = ed(o1(o, c), l), d = Kh(r, s);
|
|
5714
5714
|
h1[d](r, s, h, i.transforms, !0);
|
|
5715
5715
|
}
|
|
5716
5716
|
});
|
|
@@ -5902,7 +5902,7 @@ function gw(n) {
|
|
|
5902
5902
|
}
|
|
5903
5903
|
function pw(n, t) {
|
|
5904
5904
|
t === void 0 && (t = {});
|
|
5905
|
-
var e = t.direction || "normal", i = t.easing ? Yh(t.easing) : null, s = t.grid, o = t.axis, r = t.from || 0, a = r === "first", l = r === "center", c = r === "last", h = Ge.arr(n), d = parseFloat(h ? n[0] : n), u = h ? parseFloat(n[1]) : 0, p =
|
|
5905
|
+
var e = t.direction || "normal", i = t.easing ? Yh(t.easing) : null, s = t.grid, o = t.axis, r = t.from || 0, a = r === "first", l = r === "center", c = r === "last", h = Ge.arr(n), d = parseFloat(h ? n[0] : n), u = h ? parseFloat(n[1]) : 0, p = Ln(h ? n[1] : n) || 0, g = t.start || 0 + (h ? d : 0), m = [], v = 0;
|
|
5906
5906
|
return function(A, P, E) {
|
|
5907
5907
|
if (a && (r = 0), l && (r = (E - 1) / 2), c && (r = E - 1), !m.length) {
|
|
5908
5908
|
for (var I = 0; I < E; I++) {
|
|
@@ -6129,7 +6129,7 @@ class bw {
|
|
|
6129
6129
|
this.materialManager.clear(), this.performanceMonitor.clear();
|
|
6130
6130
|
}
|
|
6131
6131
|
}
|
|
6132
|
-
const kn = /* @__PURE__ */ new WeakMap(),
|
|
6132
|
+
const kn = /* @__PURE__ */ new WeakMap(), zn = new bw();
|
|
6133
6133
|
function Fo(n) {
|
|
6134
6134
|
return "isObject3D" in n && n.isObject3D === !0;
|
|
6135
6135
|
}
|
|
@@ -6168,7 +6168,7 @@ function A1(n, t) {
|
|
|
6168
6168
|
}), Array.from(new Set(i.filter(Boolean)));
|
|
6169
6169
|
}
|
|
6170
6170
|
function ww(n, t) {
|
|
6171
|
-
const e = /* @__PURE__ */ new Map(), i =
|
|
6171
|
+
const e = /* @__PURE__ */ new Map(), i = zn.getStateMap();
|
|
6172
6172
|
return n.forEach((s) => {
|
|
6173
6173
|
var r;
|
|
6174
6174
|
const o = i.get(s);
|
|
@@ -6188,7 +6188,7 @@ function ww(n, t) {
|
|
|
6188
6188
|
};
|
|
6189
6189
|
}
|
|
6190
6190
|
function Pw(n, t) {
|
|
6191
|
-
const e = /* @__PURE__ */ new Map(), i =
|
|
6191
|
+
const e = /* @__PURE__ */ new Map(), i = zn.getStateMap();
|
|
6192
6192
|
return n.forEach((s) => {
|
|
6193
6193
|
var a, l;
|
|
6194
6194
|
const o = i.get(s), r = Number((l = (a = o == null ? void 0 : o.opacity) != null ? a : t == null ? void 0 : t.maxOpacity) != null ? l : 1);
|
|
@@ -6212,13 +6212,13 @@ function Bl(n, t) {
|
|
|
6212
6212
|
const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = A1(n, s);
|
|
6213
6213
|
if (o.length === 0)
|
|
6214
6214
|
return Yr("No valid targets found"), al();
|
|
6215
|
-
|
|
6215
|
+
zn.storeState(o);
|
|
6216
6216
|
const r = he(F(F({}, nd), t), {
|
|
6217
6217
|
targets: o,
|
|
6218
6218
|
update: ww(o, t || {})
|
|
6219
6219
|
}), a = ct(r);
|
|
6220
6220
|
a.preComplete = () => {
|
|
6221
|
-
a.completed || (a.pause(),
|
|
6221
|
+
a.completed || (a.pause(), zn.restoreState(o), setTimeout(() => {
|
|
6222
6222
|
var c;
|
|
6223
6223
|
return (c = t == null ? void 0 : t.updateRender) == null ? void 0 : c.call(t);
|
|
6224
6224
|
}));
|
|
@@ -6226,7 +6226,7 @@ function Bl(n, t) {
|
|
|
6226
6226
|
const l = kn.get(n);
|
|
6227
6227
|
return l == null || l.pause(), l == null || l.seek(0), kn.set(n, a), (i = t == null ? void 0 : t.onStart) == null || i.call(t), a.play(), a.finished.then(() => {
|
|
6228
6228
|
var c, h;
|
|
6229
|
-
|
|
6229
|
+
zn.restoreState(o), setTimeout(() => {
|
|
6230
6230
|
kn.get(n) === a && kn.delete(n);
|
|
6231
6231
|
}, 1e3), (c = t == null ? void 0 : t.onComplete) == null || c.call(t), (h = t == null ? void 0 : t.updateRender) == null || h.call(t), setTimeout(() => {
|
|
6232
6232
|
var d;
|
|
@@ -6247,13 +6247,13 @@ function b1(n, t) {
|
|
|
6247
6247
|
const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = A1(n, s);
|
|
6248
6248
|
if (o.length === 0)
|
|
6249
6249
|
return Yr("No valid targets found"), al();
|
|
6250
|
-
|
|
6250
|
+
zn.storeState(o);
|
|
6251
6251
|
const r = he(F(F({}, nd), t), {
|
|
6252
6252
|
targets: o,
|
|
6253
6253
|
update: Pw(o, t || {})
|
|
6254
6254
|
}), a = ct(r);
|
|
6255
6255
|
a.preComplete = () => {
|
|
6256
|
-
a.completed || (a.pause(),
|
|
6256
|
+
a.completed || (a.pause(), zn.restoreState(o), setTimeout(() => {
|
|
6257
6257
|
var c;
|
|
6258
6258
|
return (c = t == null ? void 0 : t.updateRender) == null ? void 0 : c.call(t);
|
|
6259
6259
|
}));
|
|
@@ -6261,7 +6261,7 @@ function b1(n, t) {
|
|
|
6261
6261
|
const l = kn.get(n);
|
|
6262
6262
|
return l == null || l.pause(), l == null || l.seek(0), kn.set(n, a), (i = t == null ? void 0 : t.onStart) == null || i.call(t), a.play(), a.finished.then(() => {
|
|
6263
6263
|
var c, h;
|
|
6264
|
-
|
|
6264
|
+
zn.restoreState(o), setTimeout(() => {
|
|
6265
6265
|
kn.get(n) === a && kn.delete(n);
|
|
6266
6266
|
}, 1e3), (c = t == null ? void 0 : t.onComplete) == null || c.call(t), (h = t == null ? void 0 : t.updateRender) == null || h.call(t), setTimeout(() => {
|
|
6267
6267
|
var d;
|
|
@@ -6280,7 +6280,7 @@ function Cw(n, t, e) {
|
|
|
6280
6280
|
return Bl(n, F(F({}, i), e));
|
|
6281
6281
|
}
|
|
6282
6282
|
function Iw() {
|
|
6283
|
-
|
|
6283
|
+
zn.clear();
|
|
6284
6284
|
}
|
|
6285
6285
|
function Ew(n, t) {
|
|
6286
6286
|
const e = Ei(n), { x: i, y: s } = t, o = i * 2 - 1, r = s * 2 - 1, a = new y.Raycaster();
|
|
@@ -6635,9 +6635,9 @@ class Zr {
|
|
|
6635
6635
|
handleDisable() {
|
|
6636
6636
|
var t, e, i;
|
|
6637
6637
|
this.store.frontModeGroup.children.forEach((s) => {
|
|
6638
|
-
s instanceof
|
|
6638
|
+
s instanceof On && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
6639
6639
|
}), (t = this.store.behindModeGroup) == null || t.children.forEach((s) => {
|
|
6640
|
-
s instanceof
|
|
6640
|
+
s instanceof On && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
6641
6641
|
}), (e = this.getFrontCSS3DScene()) == null || e.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((i = this.getBehindCSS3DScene()) == null || i.remove(this.store.behindModeGroup));
|
|
6642
6642
|
}
|
|
6643
6643
|
handleDispose() {
|
|
@@ -7987,7 +7987,7 @@ const wT = (n) => {
|
|
|
7987
7987
|
};
|
|
7988
7988
|
function se() {
|
|
7989
7989
|
}
|
|
7990
|
-
const
|
|
7990
|
+
const jn = (n) => n;
|
|
7991
7991
|
function ft(n, t) {
|
|
7992
7992
|
for (const e in t)
|
|
7993
7993
|
n[e] = t[e];
|
|
@@ -8274,7 +8274,7 @@ function wd(n) {
|
|
|
8274
8274
|
function $t(n) {
|
|
8275
8275
|
As().$$.on_destroy.push(n);
|
|
8276
8276
|
}
|
|
8277
|
-
function
|
|
8277
|
+
function _n() {
|
|
8278
8278
|
const n = As();
|
|
8279
8279
|
return (t, e, { cancelable: i = !1 } = {}) => {
|
|
8280
8280
|
const s = n.$$.callbacks[t];
|
|
@@ -8293,7 +8293,7 @@ function gl(n, t) {
|
|
|
8293
8293
|
function ln(n) {
|
|
8294
8294
|
return As().$$.context.get(n);
|
|
8295
8295
|
}
|
|
8296
|
-
function
|
|
8296
|
+
function Rn(n, t) {
|
|
8297
8297
|
const e = n.$$.callbacks[t.type];
|
|
8298
8298
|
e && e.slice().forEach((i) => i.call(this, t));
|
|
8299
8299
|
}
|
|
@@ -8394,7 +8394,7 @@ function bs(n, t, e) {
|
|
|
8394
8394
|
r && fl(n, r);
|
|
8395
8395
|
}
|
|
8396
8396
|
function h() {
|
|
8397
|
-
const { delay: u = 0, duration: p = 300, easing: g =
|
|
8397
|
+
const { delay: u = 0, duration: p = 300, easing: g = jn, tick: m = se, css: v } = s || Cd;
|
|
8398
8398
|
v && (r = ul(n, 0, 1, p, u, g, v, l++)), m(0, 1);
|
|
8399
8399
|
const A = md() + u, P = A + p;
|
|
8400
8400
|
a && a.abort(), o = !0, wt(() => Vs(n, !0, "start")), a = Ad((E) => {
|
|
@@ -8428,7 +8428,7 @@ function sr(n, t, e) {
|
|
|
8428
8428
|
const a = on;
|
|
8429
8429
|
a.r += 1;
|
|
8430
8430
|
function l() {
|
|
8431
|
-
const { delay: c = 0, duration: h = 300, easing: d =
|
|
8431
|
+
const { delay: c = 0, duration: h = 300, easing: d = jn, tick: u = se, css: p } = s || Cd;
|
|
8432
8432
|
p && (r = ul(n, 1, 0, h, c, d, p));
|
|
8433
8433
|
const g = md() + c, m = g + h;
|
|
8434
8434
|
wt(() => Vs(n, !1, "start")), Ad((v) => {
|
|
@@ -8470,7 +8470,7 @@ function ji(n, t, e, i) {
|
|
|
8470
8470
|
};
|
|
8471
8471
|
}
|
|
8472
8472
|
function u(p) {
|
|
8473
|
-
const { delay: g = 0, duration: m = 300, easing: v =
|
|
8473
|
+
const { delay: g = 0, duration: m = 300, easing: v = jn, tick: A = se, css: P } = o || Cd, E = {
|
|
8474
8474
|
start: md() + g,
|
|
8475
8475
|
b: p
|
|
8476
8476
|
};
|
|
@@ -9510,7 +9510,7 @@ function ta(n) {
|
|
|
9510
9510
|
const t = n - 1;
|
|
9511
9511
|
return t * t * t + 1;
|
|
9512
9512
|
}
|
|
9513
|
-
function Vt(n, { delay: t = 0, duration: e = 400, easing: i =
|
|
9513
|
+
function Vt(n, { delay: t = 0, duration: e = 400, easing: i = jn } = {}) {
|
|
9514
9514
|
const s = +getComputedStyle(n).opacity;
|
|
9515
9515
|
return {
|
|
9516
9516
|
delay: t,
|
|
@@ -11136,7 +11136,7 @@ class eP extends Pe {
|
|
|
11136
11136
|
);
|
|
11137
11137
|
}
|
|
11138
11138
|
}
|
|
11139
|
-
function
|
|
11139
|
+
function rs(n, t = {}) {
|
|
11140
11140
|
let e = "";
|
|
11141
11141
|
const { needZ: i, needA: s } = t;
|
|
11142
11142
|
return (i ? n.slice().concat(n[0]) : n.slice()).forEach((r, a) => {
|
|
@@ -11200,7 +11200,7 @@ function oP(n, t, e) {
|
|
|
11200
11200
|
"path" in o && e(1, s = o.path);
|
|
11201
11201
|
}, n.$$.update = () => {
|
|
11202
11202
|
n.$$.dirty & /*path*/
|
|
11203
|
-
2 && e(0, i =
|
|
11203
|
+
2 && e(0, i = rs(s, { needZ: !0 }));
|
|
11204
11204
|
}, [i, s];
|
|
11205
11205
|
}
|
|
11206
11206
|
class rP extends Pe {
|
|
@@ -11271,7 +11271,7 @@ function lP(n, t, e) {
|
|
|
11271
11271
|
"path" in a && e(3, s = a.path);
|
|
11272
11272
|
}, n.$$.update = () => {
|
|
11273
11273
|
n.$$.dirty & /*path*/
|
|
11274
|
-
8 && e(0, i =
|
|
11274
|
+
8 && e(0, i = rs(s, { needZ: !0 }));
|
|
11275
11275
|
}, [i, o, r, s];
|
|
11276
11276
|
}
|
|
11277
11277
|
class cP extends Pe {
|
|
@@ -11337,7 +11337,7 @@ function dP(n, t, e) {
|
|
|
11337
11337
|
"path" in o && e(1, s = o.path);
|
|
11338
11338
|
}, n.$$.update = () => {
|
|
11339
11339
|
n.$$.dirty & /*path*/
|
|
11340
|
-
2 && e(0, i =
|
|
11340
|
+
2 && e(0, i = rs(s, { needZ: !0 }));
|
|
11341
11341
|
}, [i, s];
|
|
11342
11342
|
}
|
|
11343
11343
|
class uP extends Pe {
|
|
@@ -11369,7 +11369,7 @@ function fP(n) {
|
|
|
11369
11369
|
}
|
|
11370
11370
|
function gP(n, t, e) {
|
|
11371
11371
|
let { dimension: i } = t;
|
|
11372
|
-
const s =
|
|
11372
|
+
const s = rs(
|
|
11373
11373
|
[
|
|
11374
11374
|
{
|
|
11375
11375
|
x: i.vertical[1].x,
|
|
@@ -11385,7 +11385,7 @@ function gP(n, t, e) {
|
|
|
11385
11385
|
}
|
|
11386
11386
|
],
|
|
11387
11387
|
{ needZ: !0 }
|
|
11388
|
-
), o =
|
|
11388
|
+
), o = rs(
|
|
11389
11389
|
[
|
|
11390
11390
|
{
|
|
11391
11391
|
x: i.vertical[0].x,
|
|
@@ -11401,7 +11401,7 @@ function gP(n, t, e) {
|
|
|
11401
11401
|
}
|
|
11402
11402
|
],
|
|
11403
11403
|
{ needZ: !0 }
|
|
11404
|
-
), r =
|
|
11404
|
+
), r = rs(
|
|
11405
11405
|
[
|
|
11406
11406
|
{
|
|
11407
11407
|
x: i.horizontal[0].x + 53,
|
|
@@ -11417,7 +11417,7 @@ function gP(n, t, e) {
|
|
|
11417
11417
|
}
|
|
11418
11418
|
],
|
|
11419
11419
|
{ needZ: !0 }
|
|
11420
|
-
), a =
|
|
11420
|
+
), a = rs(
|
|
11421
11421
|
[
|
|
11422
11422
|
{
|
|
11423
11423
|
x: i.horizontal[1].x - 53,
|
|
@@ -11795,7 +11795,7 @@ function EP(n, t, e) {
|
|
|
11795
11795
|
function d() {
|
|
11796
11796
|
c == null || c.set(void 0);
|
|
11797
11797
|
}
|
|
11798
|
-
const { bounding: u } = a, p =
|
|
11798
|
+
const { bounding: u } = a, p = rs(o.path, {
|
|
11799
11799
|
needZ: !0,
|
|
11800
11800
|
format: (g) => X1(g, u)
|
|
11801
11801
|
});
|
|
@@ -13013,7 +13013,7 @@ function Pf(n) {
|
|
|
13013
13013
|
/*duration*/
|
|
13014
13014
|
n[0]
|
|
13015
13015
|
),
|
|
13016
|
-
easing:
|
|
13016
|
+
easing: jn
|
|
13017
13017
|
}), e.start();
|
|
13018
13018
|
}), i = !0;
|
|
13019
13019
|
}
|
|
@@ -13501,7 +13501,7 @@ let ys = class {
|
|
|
13501
13501
|
/**
|
|
13502
13502
|
* @realsee/dnalogel 版本号
|
|
13503
13503
|
*/
|
|
13504
|
-
f(this, "VERSION", "3.74.
|
|
13504
|
+
f(this, "VERSION", "3.74.4");
|
|
13505
13505
|
f(this, "NAME");
|
|
13506
13506
|
f(this, "five");
|
|
13507
13507
|
f(this, "workUtil");
|
|
@@ -19024,7 +19024,7 @@ const o5 = () => {
|
|
|
19024
19024
|
};
|
|
19025
19025
|
function r5(n, t, e) {
|
|
19026
19026
|
let i, s, o, { room: r } = t, { isHovered: a } = t, { roomNameEnable: l } = t, { roomAreaEnable: c } = t, { roomAreaSize: h } = t, { userConfigElement: d } = t, { adaptiveRoomLabelVisibleEnable: u } = t, { pxmm: p } = t, { left: g } = t, { top: m } = t, { createLabelInRoomChecker: v } = t;
|
|
19027
|
-
const A =
|
|
19027
|
+
const A = _n();
|
|
19028
19028
|
let P = 0, E = 0;
|
|
19029
19029
|
const I = () => A("mouseenter"), z = () => A("mouseleave"), D = (T) => {
|
|
19030
19030
|
e(8, P = T.detail);
|
|
@@ -21943,7 +21943,7 @@ var ov = function() {
|
|
|
21943
21943
|
},
|
|
21944
21944
|
generateTracks: function(b) {
|
|
21945
21945
|
var C = [], M = new ve(), k = new zs(), S = new ve();
|
|
21946
|
-
if (b.transform && b.transform.decompose(M, k, S), M = M.toArray(), k = new
|
|
21946
|
+
if (b.transform && b.transform.decompose(M, k, S), M = M.toArray(), k = new ns().setFromQuaternion(k, b.eulerOrder).toArray(), S = S.toArray(), b.T !== void 0 && Object.keys(b.T.curves).length > 0) {
|
|
21947
21947
|
var L = this.generateVectorTrack(b.modelName, b.T.curves, M, "position");
|
|
21948
21948
|
L !== void 0 && C.push(L);
|
|
21949
21949
|
}
|
|
@@ -21975,8 +21975,8 @@ var ov = function() {
|
|
|
21975
21975
|
generateRotationTrack: function(b, C, M, k, S, L) {
|
|
21976
21976
|
C.x !== void 0 && (this.interpolateRotations(C.x), C.x.values = C.x.values.map($i.degToRad)), C.y !== void 0 && (this.interpolateRotations(C.y), C.y.values = C.y.values.map($i.degToRad)), C.z !== void 0 && (this.interpolateRotations(C.z), C.z.values = C.z.values.map($i.degToRad));
|
|
21977
21977
|
var N = this.getTimesForAllAxes(C), B = this.getKeyframeTrackValues(N, C, M);
|
|
21978
|
-
k !== void 0 && (k = k.map($i.degToRad), k.push(L), k = new
|
|
21979
|
-
for (var q = new zs(), ie = new
|
|
21978
|
+
k !== void 0 && (k = k.map($i.degToRad), k.push(L), k = new ns().fromArray(k), k = new zs().setFromEuler(k)), S !== void 0 && (S = S.map($i.degToRad), S.push(L), S = new ns().fromArray(S), S = new zs().setFromEuler(S).inverse());
|
|
21979
|
+
for (var q = new zs(), ie = new ns(), K = [], oe = 0; oe < B.length; oe += 3)
|
|
21980
21980
|
ie.set(B[oe], B[oe + 1], B[oe + 2], L), q.setFromEuler(ie), k !== void 0 && q.premultiply(k), S !== void 0 && q.multiply(S), q.toArray(K, oe / 3 * 4);
|
|
21981
21981
|
return new hb(b + ".quaternion", N, K);
|
|
21982
21982
|
},
|
|
@@ -22404,7 +22404,7 @@ var ov = function() {
|
|
|
22404
22404
|
var L = S * k.dataSize, N = L + k.dataSize;
|
|
22405
22405
|
return T(m, k.buffer, L, N);
|
|
22406
22406
|
}
|
|
22407
|
-
var A = new
|
|
22407
|
+
var A = new ns(), P = new ve();
|
|
22408
22408
|
function E(b) {
|
|
22409
22409
|
var C = new ot(), M = new ot(), k = new ot(), S = new ot(), L = new ot(), N = new ot(), B = new ot(), q = new ot(), ie = new ot(), K = new ot(), oe = new ot(), $ = b.inheritType ? b.inheritType : 0;
|
|
22410
22410
|
if (b.translation && C.setPosition(P.fromArray(b.translation)), b.preRotation) {
|
|
@@ -24541,7 +24541,7 @@ function AI(n, t) {
|
|
|
24541
24541
|
return n.x === t.x && n.y === t.y;
|
|
24542
24542
|
}
|
|
24543
24543
|
const fg = () => !1;
|
|
24544
|
-
class
|
|
24544
|
+
class os extends Yl {
|
|
24545
24545
|
constructor(e) {
|
|
24546
24546
|
super(e);
|
|
24547
24547
|
f(this, "type", "edit");
|
|
@@ -26271,7 +26271,7 @@ function qI(n, t, e) {
|
|
|
26271
26271
|
v === "Edit" ? e(5, u = !0) : (a(null), e(5, u = !1));
|
|
26272
26272
|
}
|
|
26273
26273
|
function c() {
|
|
26274
|
-
i.controller instanceof
|
|
26274
|
+
i.controller instanceof os && i.controller.complete(), i.save({ mode: "Watch" });
|
|
26275
26275
|
}
|
|
26276
26276
|
function h(v) {
|
|
26277
26277
|
e(3, r = v.length > 0);
|
|
@@ -26918,9 +26918,9 @@ function l4(n, t, e) {
|
|
|
26918
26918
|
const u = () => {
|
|
26919
26919
|
i.getCurrentMode() !== "Edit" ? i.changeMode("Edit") : (m("add"), p());
|
|
26920
26920
|
}, p = () => {
|
|
26921
|
-
i.controller instanceof
|
|
26921
|
+
i.controller instanceof os && i.controller.selectPoint();
|
|
26922
26922
|
}, g = () => {
|
|
26923
|
-
i.controller instanceof
|
|
26923
|
+
i.controller instanceof os && i.controller.complete();
|
|
26924
26924
|
}, m = (b) => {
|
|
26925
26925
|
e(3, h = b);
|
|
26926
26926
|
}, v = () => {
|
|
@@ -27332,7 +27332,7 @@ class y4 extends ys {
|
|
|
27332
27332
|
var e, i, s, o;
|
|
27333
27333
|
this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (i = this.useUIController) == null || i.hide(), (s = this.useGuideController) == null || s.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
27334
27334
|
});
|
|
27335
|
-
f(this, "getCurrentMode", () => this.controller instanceof
|
|
27335
|
+
f(this, "getCurrentMode", () => this.controller instanceof os ? "Edit" : this.controller instanceof vg ? "Watch" : this.controller instanceof Er ? "Mixed" : this.controller instanceof gg ? "View" : null);
|
|
27336
27336
|
/** 变更场景
|
|
27337
27337
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
27338
27338
|
*/
|
|
@@ -27344,7 +27344,7 @@ class y4 extends ys {
|
|
|
27344
27344
|
const i = {
|
|
27345
27345
|
View: gg,
|
|
27346
27346
|
Watch: vg,
|
|
27347
|
-
Edit:
|
|
27347
|
+
Edit: os,
|
|
27348
27348
|
Mixed: Er
|
|
27349
27349
|
};
|
|
27350
27350
|
if (!i[e])
|
|
@@ -27423,7 +27423,7 @@ class y4 extends ys {
|
|
|
27423
27423
|
}
|
|
27424
27424
|
/** 撤销编辑 */
|
|
27425
27425
|
revoke() {
|
|
27426
|
-
this.controller instanceof
|
|
27426
|
+
this.controller instanceof os && this.controller.revoke();
|
|
27427
27427
|
}
|
|
27428
27428
|
removePolyline(e) {
|
|
27429
27429
|
this.model.removePolyline(e);
|
|
@@ -27457,10 +27457,10 @@ class y4 extends ys {
|
|
|
27457
27457
|
*/
|
|
27458
27458
|
save(e) {
|
|
27459
27459
|
var o;
|
|
27460
|
-
if (!(this.controller instanceof
|
|
27460
|
+
if (!(this.controller instanceof os) && !(this.controller instanceof Er))
|
|
27461
27461
|
return this;
|
|
27462
27462
|
const i = (o = e == null ? void 0 : e.mode) != null ? o : "View", s = this.controller.model.areas;
|
|
27463
|
-
return this.controller instanceof
|
|
27463
|
+
return this.controller instanceof os ? this.controller.complete() : s.forEach((r) => {
|
|
27464
27464
|
r.showArea(), this.model.addArea(r);
|
|
27465
27465
|
}), this.changeMode(i), this;
|
|
27466
27466
|
}
|
|
@@ -27547,7 +27547,7 @@ class dn extends Ai {
|
|
|
27547
27547
|
f(this, "_onHidden", () => {
|
|
27548
27548
|
this.dom && (this.dom.container.style.display = "none");
|
|
27549
27549
|
});
|
|
27550
|
-
const d = e != null ? e : {}, { point: i } = d, s =
|
|
27550
|
+
const d = e != null ? e : {}, { point: i } = d, s = Kn(d, ["point"]);
|
|
27551
27551
|
this.paramsStyle = s != null ? s : {};
|
|
27552
27552
|
const o = new y.BufferGeometry();
|
|
27553
27553
|
o.setAttribute("position", new y.Float32BufferAttribute([0, 0, 0], 3));
|
|
@@ -31208,7 +31208,7 @@ class _8 extends ys {
|
|
|
31208
31208
|
z.left = N, z.top = B, z.inSight = q && S < Math.PI / 2, z.cameraToward = z8(this.five), q ? l.push({ disFromCameraToLabel: C, left: N, top: B, index: D }) : z.transform = "translate(-50%, -50%)";
|
|
31209
31209
|
} else
|
|
31210
31210
|
z.inSight = !1;
|
|
31211
|
-
const O = z, { svelteApp: j } = O, T =
|
|
31211
|
+
const O = z, { svelteApp: j } = O, T = Kn(O, ["svelteApp"]);
|
|
31212
31212
|
(b = z.svelteApp) == null || b.$set({ props: T });
|
|
31213
31213
|
}), l.length > 1) {
|
|
31214
31214
|
let z = 0;
|
|
@@ -31247,7 +31247,7 @@ class _8 extends ys {
|
|
|
31247
31247
|
if (a > 0) {
|
|
31248
31248
|
const h = new ve(0, 0, -1), d = r.clone(), u = new zs();
|
|
31249
31249
|
u.setFromUnitVectors(h, d);
|
|
31250
|
-
const p = new
|
|
31250
|
+
const p = new ns();
|
|
31251
31251
|
p.setFromQuaternion(u, "YXZ"), l.longitude = p.y;
|
|
31252
31252
|
}
|
|
31253
31253
|
this.five.emit("wantsToMoveToPano", o, {}, !0) || this.five.moveToPano(o, { longitude: l.longitude });
|
|
@@ -31275,7 +31275,7 @@ class _8 extends ys {
|
|
|
31275
31275
|
m < c && (c = m, h = g);
|
|
31276
31276
|
}), h && (l.y = h.y + 0.01);
|
|
31277
31277
|
const d = new ve(l.x, l.y, l.z);
|
|
31278
|
-
d.add(new ve(-0.2, 1.8, 0).applyEuler(new
|
|
31278
|
+
d.add(new ve(-0.2, 1.8, 0).applyEuler(new ns(0, r.rad, 0))), this.doorLabels.push({
|
|
31279
31279
|
roomName: r.name,
|
|
31280
31280
|
name: r.name,
|
|
31281
31281
|
position: d,
|
|
@@ -32578,7 +32578,7 @@ class kE extends ys {
|
|
|
32578
32578
|
const l = (P = e.initialConfig) != null ? P : {}, c = it({}, Vv, this.config.globalConfig, ...Object.values(o)), h = it({}, c, l), d = {}, u = Object.values(Gt.Mode);
|
|
32579
32579
|
El(r).forEach(([E, I]) => {
|
|
32580
32580
|
u.forEach((z) => {
|
|
32581
|
-
(E === "PanoramaLike" &&
|
|
32581
|
+
(E === "PanoramaLike" && ls(z) || E === "ModelLike" && Ci(z)) && (d[z] = it({}, c, ...Object.values(I), l, { _isMerged: !0 }));
|
|
32582
32582
|
});
|
|
32583
32583
|
}), El(a).forEach(([E, I]) => {
|
|
32584
32584
|
const z = d[E];
|
|
@@ -32726,7 +32726,7 @@ function Dc(n, t, e) {
|
|
|
32726
32726
|
const a = (A = n.initialConfig) != null ? A : {}, l = it({}, Vv, t.globalConfig, ...Object.values(s)), c = it({}, l, a), h = {}, d = Object.values(Gt.Mode);
|
|
32727
32727
|
El(o).forEach(([P, E]) => {
|
|
32728
32728
|
d.forEach((I) => {
|
|
32729
|
-
(P === "PanoramaLike" &&
|
|
32729
|
+
(P === "PanoramaLike" && ls(I) || P === "ModelLike" && Ci(I)) && (h[I] = it({}, l, ...Object.values(E), a, { _isMerged: !0 }));
|
|
32730
32730
|
});
|
|
32731
32731
|
}), El(r).forEach(([P, E]) => {
|
|
32732
32732
|
const I = h[P];
|
|
@@ -32749,7 +32749,7 @@ function DE(n, t) {
|
|
|
32749
32749
|
e.forEach((o) => {
|
|
32750
32750
|
var a, l, c;
|
|
32751
32751
|
const r = (l = (a = o.floorIndex) != null ? a : o.floor_index) != null ? l : 0;
|
|
32752
|
-
i[r] || (i[r] = []), i[r].push(
|
|
32752
|
+
i[r] || (i[r] = []), i[r].push(hs(o.position, (c = n.options) == null ? void 0 : c.transform).y);
|
|
32753
32753
|
});
|
|
32754
32754
|
const s = i.map((o) => o.reduce((r, a) => r + a, 0) / o.length);
|
|
32755
32755
|
for (let o = s.length - 1; o > 0; o--)
|
|
@@ -32844,7 +32844,7 @@ class Wd {
|
|
|
32844
32844
|
return;
|
|
32845
32845
|
const P = t.workUtil.transform;
|
|
32846
32846
|
let E = A;
|
|
32847
|
-
if (Array.isArray(A) && A.length === 4 ? E = A.map(We).map((z) =>
|
|
32847
|
+
if (Array.isArray(A) && A.length === 4 ? E = A.map(We).map((z) => hs(z, P).toArray()) : E = hs(We(A), P).toArray(), (e.stickType === "2DPoint" || e.stickType === "3DPoint") && ((I = a == null ? void 0 : a.tagNormalLineConfig) != null && I.enabled) && e.normal && this.normalLineLength) {
|
|
32848
32848
|
const z = new y.Vector3().fromArray(e.normal);
|
|
32849
32849
|
E = new y.Vector3().fromArray(E).clone().add(z.clone().setLength(this.normalLineLength)).toArray();
|
|
32850
32850
|
}
|
|
@@ -33074,7 +33074,7 @@ class Wd {
|
|
|
33074
33074
|
getSquaredDistance() {
|
|
33075
33075
|
const t = this.five.camera.position;
|
|
33076
33076
|
let e;
|
|
33077
|
-
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position,
|
|
33077
|
+
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, Jn(e[0] - t.x, 2) + Jn(e[1] - t.y, 2) + Jn(e[2] - t.z, 2);
|
|
33078
33078
|
}
|
|
33079
33079
|
getVisible(t) {
|
|
33080
33080
|
if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
|
|
@@ -33159,11 +33159,11 @@ class Wd {
|
|
|
33159
33159
|
if ((g == null ? void 0 : g.value) === !1)
|
|
33160
33160
|
return g;
|
|
33161
33161
|
if (l.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (s === "Floorplan" || s === "Mapview")) {
|
|
33162
|
-
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v =
|
|
33162
|
+
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = Kn(h, ["value"]);
|
|
33163
33163
|
if (m === !1)
|
|
33164
33164
|
return F({ value: !1, checkedList: o, reason: "followModelVisibility check failed" }, v);
|
|
33165
33165
|
}
|
|
33166
|
-
if (
|
|
33166
|
+
if (ls(s) && l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && i !== void 0) {
|
|
33167
33167
|
if (o.push("visiblePanoIndex"), Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(i))
|
|
33168
33168
|
return {
|
|
33169
33169
|
value: !1,
|
|
@@ -33223,7 +33223,7 @@ class Wd {
|
|
|
33223
33223
|
if (o === "ModelLike")
|
|
33224
33224
|
return Ci(e);
|
|
33225
33225
|
if (o === "PanoramaLike")
|
|
33226
|
-
return !
|
|
33226
|
+
return !ls(e);
|
|
33227
33227
|
if (o === "all")
|
|
33228
33228
|
return !0;
|
|
33229
33229
|
if (typeof o == "string")
|
|
@@ -33249,7 +33249,7 @@ class Wd {
|
|
|
33249
33249
|
/** 通过射线检测标签可用性 */
|
|
33250
33250
|
computeVisibleByIntersect(t) {
|
|
33251
33251
|
var l, c, h, d;
|
|
33252
|
-
const e = Js(Js((l = this.getConfig().visibleConfig) != null ? l : {}).intersectRaycaster), i = t != null ? t : this.five.getCurrentState().panoIndex, s =
|
|
33252
|
+
const e = Js(Js((l = this.getConfig().visibleConfig) != null ? l : {}).intersectRaycaster), i = t != null ? t : this.five.getCurrentState().panoIndex, s = ls(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(i) : this.five.camera.position;
|
|
33253
33253
|
if (s === void 0)
|
|
33254
33254
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: i } };
|
|
33255
33255
|
const o = vs(
|
|
@@ -33263,8 +33263,8 @@ class Wd {
|
|
|
33263
33263
|
for (const u of o) {
|
|
33264
33264
|
const p = new y.Vector3().subVectors(u, s).normalize();
|
|
33265
33265
|
let g;
|
|
33266
|
-
|
|
33267
|
-
const [m] = this.fiveUtil.model.intersectRaycaster(
|
|
33266
|
+
Dn.set(s, p);
|
|
33267
|
+
const [m] = this.fiveUtil.model.intersectRaycaster(Dn);
|
|
33268
33268
|
g = m == null ? void 0 : m.distance;
|
|
33269
33269
|
const v = (() => {
|
|
33270
33270
|
if (!Gs(this))
|
|
@@ -33272,7 +33272,7 @@ class Wd {
|
|
|
33272
33272
|
const z = this.plugin.tags.filter(Gs).map((j) => {
|
|
33273
33273
|
var T;
|
|
33274
33274
|
return (T = j.model) == null ? void 0 : T.object;
|
|
33275
|
-
}).filter(Ne), [D] =
|
|
33275
|
+
}).filter(Ne), [D] = Dn.intersectObjects(z, !0);
|
|
33276
33276
|
return D;
|
|
33277
33277
|
})(), A = s.distanceTo(u), P = (c = e.distanceAccuracy) != null ? c : 0.01;
|
|
33278
33278
|
g = Math.min(g != null ? g : 1 / 0, (h = v == null ? void 0 : v.distance) != null ? h : 1 / 0), g + P >= A ? r++ : a++;
|
|
@@ -33496,7 +33496,7 @@ class TE extends Wd {
|
|
|
33496
33496
|
const e = this.config;
|
|
33497
33497
|
if (!this.five.renderer || !((r = e == null ? void 0 : e.tagNormalLineConfig) != null && r.enabled) || !this.normalLineLength)
|
|
33498
33498
|
return;
|
|
33499
|
-
const i = this.five.renderer.getSize(Tc), s = this.five.renderer.getPixelRatio(), o =
|
|
33499
|
+
const i = this.five.renderer.getSize(Tc), s = this.five.renderer.getPixelRatio(), o = hs(We(this.originPosition), this.plugin.workUtil.transform);
|
|
33500
33500
|
this.tagNormalLine = new k0(new y.Vector3().fromArray(this.position), o), this.tagNormalLine.points.visible = !1, this.tagNormalLine.setMaterial({
|
|
33501
33501
|
color: new y.Vector3(1, 1, 1),
|
|
33502
33502
|
linewidth: (l = (a = e == null ? void 0 : e.tagNormalLineConfig) == null ? void 0 : a.lineWidth) != null ? l : 1.2,
|
|
@@ -33542,13 +33542,12 @@ class TE extends Wd {
|
|
|
33542
33542
|
}
|
|
33543
33543
|
setPosition(e) {
|
|
33544
33544
|
this.originPosition = e, this.position = (() => {
|
|
33545
|
-
|
|
33546
|
-
let s = Dn(We(e), i).toArray();
|
|
33545
|
+
let i = We(e).toArray();
|
|
33547
33546
|
if (this.normal && this.normalLineLength) {
|
|
33548
|
-
const
|
|
33549
|
-
|
|
33547
|
+
const s = this.computeNormal();
|
|
33548
|
+
i = new y.Vector3().fromArray(i).clone().add(s.clone().setLength(this.normalLineLength)).toArray();
|
|
33550
33549
|
}
|
|
33551
|
-
return
|
|
33550
|
+
return i;
|
|
33552
33551
|
})(), this.cache.clear(), this._lastUpdateCache.position = [0, 0, 0], this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
33553
33552
|
}
|
|
33554
33553
|
/**
|
|
@@ -33572,7 +33571,10 @@ class TE extends Wd {
|
|
|
33572
33571
|
}
|
|
33573
33572
|
if (o.position = new y.Vector3().fromArray(this.position).toArray(), o.screenLeft = (T = this.screenPosition.leftPx) != null ? T : 0, o.screenTop = (O = this.screenPosition.topPx) != null ? O : 0, o.scale = (b = this.screenPosition.scale) != null ? b : 1, o.visible = this.visible, !this.five.renderer)
|
|
33574
33573
|
return;
|
|
33575
|
-
const a = this.five.renderer.getSize(Tc), l =
|
|
33574
|
+
const a = this.five.renderer.getSize(Tc), l = hs(
|
|
33575
|
+
We(this.originPosition),
|
|
33576
|
+
this.plugin.workUtil.transform
|
|
33577
|
+
).toArray();
|
|
33576
33578
|
this._temp.lineStart.fromArray(l), this._temp.iconPos.fromArray(this.position), this._temp.lineStart.project(this.five.camera), this._temp.iconPos.project(this.five.camera), this._temp.screenDirPixel.set(
|
|
33577
33579
|
(this._temp.iconPos.x - this._temp.lineStart.x) * a.x / 2,
|
|
33578
33580
|
(this._temp.iconPos.y - this._temp.lineStart.y) * a.y / 2
|
|
@@ -33658,7 +33660,7 @@ class TE extends Wd {
|
|
|
33658
33660
|
}
|
|
33659
33661
|
}
|
|
33660
33662
|
const Nv = 1, cp = `CSS3DObject@${Nv}`, LE = 216e-5, zE = 3e-3;
|
|
33661
|
-
class Gv extends
|
|
33663
|
+
class Gv extends On {
|
|
33662
33664
|
constructor(e) {
|
|
33663
33665
|
var z, D, j, T, O;
|
|
33664
33666
|
if (vi(e.cornerPoints) && vi(e.width))
|
|
@@ -33889,7 +33891,7 @@ function dp(n) {
|
|
|
33889
33891
|
/*inDelay*/
|
|
33890
33892
|
n[0]
|
|
33891
33893
|
),
|
|
33892
|
-
easing:
|
|
33894
|
+
easing: jn
|
|
33893
33895
|
}), i.start());
|
|
33894
33896
|
}), o = !0);
|
|
33895
33897
|
},
|
|
@@ -33903,7 +33905,7 @@ function dp(n) {
|
|
|
33903
33905
|
/*outDelay*/
|
|
33904
33906
|
n[1]
|
|
33905
33907
|
),
|
|
33906
|
-
easing:
|
|
33908
|
+
easing: jn
|
|
33907
33909
|
})), o = !1;
|
|
33908
33910
|
},
|
|
33909
33911
|
d(r) {
|
|
@@ -34526,7 +34528,7 @@ function qE(n) {
|
|
|
34526
34528
|
function JE(n, t, e) {
|
|
34527
34529
|
let { direction: i = "right" } = t, { visible: s = !0 } = t, { duration: o = 0 } = t, { inDelay: r = 0 } = t, { outDelay: a = 0 } = t;
|
|
34528
34530
|
function l(c) {
|
|
34529
|
-
|
|
34531
|
+
Rn.call(this, n, c);
|
|
34530
34532
|
}
|
|
34531
34533
|
return n.$$set = (c) => {
|
|
34532
34534
|
"direction" in c && e(0, i = c.direction), "visible" in c && e(1, s = c.visible), "duration" in c && e(2, o = c.duration), "inDelay" in c && e(3, r = c.inDelay), "outDelay" in c && e(4, a = c.outDelay);
|
|
@@ -35642,7 +35644,7 @@ function kM(n) {
|
|
|
35642
35644
|
function xM(n, t, e) {
|
|
35643
35645
|
let { active: i = !1 } = t;
|
|
35644
35646
|
function s(o) {
|
|
35645
|
-
|
|
35647
|
+
Rn.call(this, n, o);
|
|
35646
35648
|
}
|
|
35647
35649
|
return n.$$set = (o) => {
|
|
35648
35650
|
"active" in o && e(0, i = o.active);
|
|
@@ -35760,7 +35762,7 @@ function TM(n) {
|
|
|
35760
35762
|
};
|
|
35761
35763
|
}
|
|
35762
35764
|
function LM(n, t, e) {
|
|
35763
|
-
const i =
|
|
35765
|
+
const i = _n();
|
|
35764
35766
|
let { pagesCount: s = 1 } = t, { currentPageIndex: o = 0 } = t;
|
|
35765
35767
|
function r(l) {
|
|
35766
35768
|
i("pageChange", l);
|
|
@@ -35839,7 +35841,7 @@ function jM(n) {
|
|
|
35839
35841
|
function RM(n, t, e) {
|
|
35840
35842
|
let { direction: i = ms } = t, { disabled: s = !1 } = t;
|
|
35841
35843
|
function o(r) {
|
|
35842
|
-
|
|
35844
|
+
Rn.call(this, n, r);
|
|
35843
35845
|
}
|
|
35844
35846
|
return n.$$set = (r) => {
|
|
35845
35847
|
"direction" in r && e(0, i = r.direction), "disabled" in r && e(1, s = r.disabled);
|
|
@@ -36545,7 +36547,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36545
36547
|
return x ? "Symbol(src)_1." + x : "";
|
|
36546
36548
|
}(), rt = Ye.toString, at = st.hasOwnProperty, _t = st.toString, Xi = RegExp(
|
|
36547
36549
|
"^" + rt.call(at).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
36548
|
-
), Qt = Me ? ue.Buffer : void 0, hi = ue.Symbol, bi = ue.Uint8Array, lt = Ie(Object.getPrototypeOf, Object), Xt = Object.create, Yt = st.propertyIsEnumerable, cr = Xe.splice, Ps = Object.getOwnPropertySymbols,
|
|
36550
|
+
), Qt = Me ? ue.Buffer : void 0, hi = ue.Symbol, bi = ue.Uint8Array, lt = Ie(Object.getPrototypeOf, Object), Xt = Object.create, Yt = st.propertyIsEnumerable, cr = Xe.splice, Ps = Object.getOwnPropertySymbols, Bn = Qt ? Qt.isBuffer : void 0, no = Ie(Object.keys, Object), Vn = U(ue, "DataView"), Si = U(ue, "Map"), yi = U(ue, "Promise"), Fn = U(ue, "Set"), Hn = U(ue, "WeakMap"), Yi = U(Object, "create"), gn = si(Vn), pn = si(Si), Cs = si(yi), Is = si(Fn), Nn = si(Hn), Zi = hi ? hi.prototype : void 0, so = Zi ? Zi.valueOf : void 0;
|
|
36549
36551
|
function _i(x) {
|
|
36550
36552
|
var G = -1, J = x ? x.length : 0;
|
|
36551
36553
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36553,7 +36555,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36553
36555
|
this.set(ce[0], ce[1]);
|
|
36554
36556
|
}
|
|
36555
36557
|
}
|
|
36556
|
-
function
|
|
36558
|
+
function Gn() {
|
|
36557
36559
|
this.__data__ = Yi ? Yi(null) : {};
|
|
36558
36560
|
}
|
|
36559
36561
|
function hr(x) {
|
|
@@ -36575,7 +36577,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36575
36577
|
var J = this.__data__;
|
|
36576
36578
|
return J[x] = Yi && G === void 0 ? i : G, this;
|
|
36577
36579
|
}
|
|
36578
|
-
_i.prototype.clear =
|
|
36580
|
+
_i.prototype.clear = Gn, _i.prototype.delete = hr, _i.prototype.get = dr, _i.prototype.has = Es, _i.prototype.set = mn;
|
|
36579
36581
|
function Lt(x) {
|
|
36580
36582
|
var G = -1, J = x ? x.length : 0;
|
|
36581
36583
|
for (this.clear(); ++G < J; ) {
|
|
@@ -36628,10 +36630,10 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36628
36630
|
function An(x) {
|
|
36629
36631
|
return V(this, x).has(x);
|
|
36630
36632
|
}
|
|
36631
|
-
function
|
|
36633
|
+
function Wn(x, G) {
|
|
36632
36634
|
return V(this, x).set(x, G), this;
|
|
36633
36635
|
}
|
|
36634
|
-
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set =
|
|
36636
|
+
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set = Wn;
|
|
36635
36637
|
function Bt(x) {
|
|
36636
36638
|
this.__data__ = new Lt(x);
|
|
36637
36639
|
}
|
|
@@ -36641,7 +36643,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36641
36643
|
function gr(x) {
|
|
36642
36644
|
return this.__data__.delete(x);
|
|
36643
36645
|
}
|
|
36644
|
-
function
|
|
36646
|
+
function Un(x) {
|
|
36645
36647
|
return this.__data__.get(x);
|
|
36646
36648
|
}
|
|
36647
36649
|
function Zt(x) {
|
|
@@ -36657,7 +36659,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36657
36659
|
}
|
|
36658
36660
|
return J.set(x, G), this;
|
|
36659
36661
|
}
|
|
36660
|
-
Bt.prototype.clear = fr, Bt.prototype.delete = gr, Bt.prototype.get =
|
|
36662
|
+
Bt.prototype.clear = fr, Bt.prototype.delete = gr, Bt.prototype.get = Un, Bt.prototype.has = Zt, Bt.prototype.set = qi;
|
|
36661
36663
|
function ei(x, G) {
|
|
36662
36664
|
var J = Ar(x) || fo(x) ? Re(x.length, String) : [], ce = J.length, Ue = !!ce;
|
|
36663
36665
|
for (var He in x)
|
|
@@ -36675,7 +36677,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36675
36677
|
return -1;
|
|
36676
36678
|
}
|
|
36677
36679
|
function Et(x, G) {
|
|
36678
|
-
return x &&
|
|
36680
|
+
return x && Zn(G, yr(G), x);
|
|
36679
36681
|
}
|
|
36680
36682
|
function ti(x, G, J, ce, Ue, He, qe) {
|
|
36681
36683
|
var et;
|
|
@@ -36719,7 +36721,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36719
36721
|
var ce = G(x);
|
|
36720
36722
|
return Ar(x) ? ce : ee(ce, J(x));
|
|
36721
36723
|
}
|
|
36722
|
-
function
|
|
36724
|
+
function Qn(x) {
|
|
36723
36725
|
return _t.call(x);
|
|
36724
36726
|
}
|
|
36725
36727
|
function ii(x) {
|
|
@@ -36728,7 +36730,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36728
36730
|
var G = br(x) || Ve(x) ? Xi : q;
|
|
36729
36731
|
return G.test(si(x));
|
|
36730
36732
|
}
|
|
36731
|
-
function
|
|
36733
|
+
function Xn(x) {
|
|
36732
36734
|
if (!ni(x))
|
|
36733
36735
|
return no(x);
|
|
36734
36736
|
var G = [];
|
|
@@ -36750,7 +36752,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36750
36752
|
var J = G ? bn(x.buffer) : x.buffer;
|
|
36751
36753
|
return new x.constructor(J, x.byteOffset, x.byteLength);
|
|
36752
36754
|
}
|
|
36753
|
-
function
|
|
36755
|
+
function Yn(x, G, J) {
|
|
36754
36756
|
var ce = G ? J(me(x), !0) : me(x);
|
|
36755
36757
|
return Te(ce, de, new x.constructor());
|
|
36756
36758
|
}
|
|
@@ -36775,7 +36777,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36775
36777
|
G[J] = x[J];
|
|
36776
36778
|
return G;
|
|
36777
36779
|
}
|
|
36778
|
-
function
|
|
36780
|
+
function Zn(x, G, J, ce) {
|
|
36779
36781
|
J || (J = {});
|
|
36780
36782
|
for (var Ue = -1, He = G.length; ++Ue < He; ) {
|
|
36781
36783
|
var qe = G[Ue], et = ce ? ce(J[qe], x[qe], qe, J, x) : void 0;
|
|
@@ -36784,7 +36786,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36784
36786
|
return J;
|
|
36785
36787
|
}
|
|
36786
36788
|
function mr(x, G) {
|
|
36787
|
-
return
|
|
36789
|
+
return Zn(x, Z(x), G);
|
|
36788
36790
|
}
|
|
36789
36791
|
function vr(x) {
|
|
36790
36792
|
return ho(x, yr, Z);
|
|
@@ -36797,8 +36799,8 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36797
36799
|
var J = Ae(x, G);
|
|
36798
36800
|
return ii(J) ? J : void 0;
|
|
36799
36801
|
}
|
|
36800
|
-
var Z = Ps ? Ie(Ps, Object) : sc, ne =
|
|
36801
|
-
(
|
|
36802
|
+
var Z = Ps ? Ie(Ps, Object) : sc, ne = Qn;
|
|
36803
|
+
(Vn && ne(new Vn(new ArrayBuffer(1))) != D || Si && ne(new Si()) != u || yi && ne(yi.resolve()) != m || Fn && ne(new Fn()) != A || Hn && ne(new Hn()) != I) && (ne = function(x) {
|
|
36802
36804
|
var G = _t.call(x), J = G == g ? x.constructor : void 0, ce = J ? si(J) : void 0;
|
|
36803
36805
|
if (ce)
|
|
36804
36806
|
switch (ce) {
|
|
@@ -36810,7 +36812,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36810
36812
|
return m;
|
|
36811
36813
|
case Is:
|
|
36812
36814
|
return A;
|
|
36813
|
-
case
|
|
36815
|
+
case Nn:
|
|
36814
36816
|
return I;
|
|
36815
36817
|
}
|
|
36816
36818
|
return G;
|
|
@@ -36843,7 +36845,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36843
36845
|
case L:
|
|
36844
36846
|
return uo(x, ce);
|
|
36845
36847
|
case u:
|
|
36846
|
-
return
|
|
36848
|
+
return Yn(x, ce, J);
|
|
36847
36849
|
case p:
|
|
36848
36850
|
case P:
|
|
36849
36851
|
return new Ue(x);
|
|
@@ -36898,7 +36900,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36898
36900
|
function nc(x) {
|
|
36899
36901
|
return Ia(x) && go(x);
|
|
36900
36902
|
}
|
|
36901
|
-
var Pa =
|
|
36903
|
+
var Pa = Bn || oc;
|
|
36902
36904
|
function br(x) {
|
|
36903
36905
|
var G = Ki(x) ? _t.call(x) : "";
|
|
36904
36906
|
return G == h || G == d;
|
|
@@ -36914,7 +36916,7 @@ var Ua = uk, kl = {}, fk = {
|
|
|
36914
36916
|
return !!x && typeof x == "object";
|
|
36915
36917
|
}
|
|
36916
36918
|
function yr(x) {
|
|
36917
|
-
return go(x) ? ei(x) :
|
|
36919
|
+
return go(x) ? ei(x) : Xn(x);
|
|
36918
36920
|
}
|
|
36919
36921
|
function sc() {
|
|
36920
36922
|
return [];
|
|
@@ -36998,7 +37000,7 @@ var xl = {}, pk = {
|
|
|
36998
37000
|
return x ? "Symbol(src)_1." + x : "";
|
|
36999
37001
|
}(), Yt = Qt.toString, cr = RegExp(
|
|
37000
37002
|
"^" + bi.call(lt).replace($, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
37001
|
-
), Ps = Te ? le.Buffer : void 0,
|
|
37003
|
+
), Ps = Te ? le.Buffer : void 0, Bn = le.Symbol, no = le.Uint8Array, Vn = Qt.propertyIsEnumerable, Si = _t.splice, yi = Bn ? Bn.toStringTag : void 0, Fn = Object.getOwnPropertySymbols, Hn = Ps ? Ps.isBuffer : void 0, Yi = rt(Object.keys, Object), gn = Z(le, "DataView"), pn = Z(le, "Map"), Cs = Z(le, "Promise"), Is = Z(le, "Set"), Nn = Z(le, "WeakMap"), Zi = Z(Object, "create"), so = si(gn), _i = si(pn), Gn = si(Cs), hr = si(Is), dr = si(Nn), Es = Bn ? Bn.prototype : void 0, mn = Es ? Es.valueOf : void 0;
|
|
37002
37004
|
function Lt(x) {
|
|
37003
37005
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37004
37006
|
for (this.clear(); ++G < J; ) {
|
|
@@ -37054,11 +37056,11 @@ var xl = {}, pk = {
|
|
|
37054
37056
|
function An(x) {
|
|
37055
37057
|
return Ji(this.__data__, x) > -1;
|
|
37056
37058
|
}
|
|
37057
|
-
function
|
|
37059
|
+
function Wn(x, G) {
|
|
37058
37060
|
var J = this.__data__, ce = Ji(J, x);
|
|
37059
37061
|
return ce < 0 ? (++this.size, J.push([x, G])) : J[ce][1] = G, this;
|
|
37060
37062
|
}
|
|
37061
|
-
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set =
|
|
37063
|
+
zt.prototype.clear = Ms, zt.prototype.delete = Bi, zt.prototype.get = vn, zt.prototype.has = An, zt.prototype.set = Wn;
|
|
37062
37064
|
function Bt(x) {
|
|
37063
37065
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37064
37066
|
for (this.clear(); ++G < J; ) {
|
|
@@ -37077,7 +37079,7 @@ var xl = {}, pk = {
|
|
|
37077
37079
|
var G = U(this, x).delete(x);
|
|
37078
37080
|
return this.size -= G ? 1 : 0, G;
|
|
37079
37081
|
}
|
|
37080
|
-
function
|
|
37082
|
+
function Un(x) {
|
|
37081
37083
|
return U(this, x).get(x);
|
|
37082
37084
|
}
|
|
37083
37085
|
function Zt(x) {
|
|
@@ -37087,7 +37089,7 @@ var xl = {}, pk = {
|
|
|
37087
37089
|
var J = U(this, x), ce = J.size;
|
|
37088
37090
|
return J.set(x, G), this.size += J.size == ce ? 0 : 1, this;
|
|
37089
37091
|
}
|
|
37090
|
-
Bt.prototype.clear = fr, Bt.prototype.delete = gr, Bt.prototype.get =
|
|
37092
|
+
Bt.prototype.clear = fr, Bt.prototype.delete = gr, Bt.prototype.get = Un, Bt.prototype.has = Zt, Bt.prototype.set = qi;
|
|
37091
37093
|
function ei(x) {
|
|
37092
37094
|
var G = -1, J = x == null ? 0 : x.length;
|
|
37093
37095
|
for (this.__data__ = new Bt(); ++G < J; )
|
|
@@ -37114,7 +37116,7 @@ var xl = {}, pk = {
|
|
|
37114
37116
|
function ho(x) {
|
|
37115
37117
|
return this.__data__.get(x);
|
|
37116
37118
|
}
|
|
37117
|
-
function
|
|
37119
|
+
function Qn(x) {
|
|
37118
37120
|
return this.__data__.has(x);
|
|
37119
37121
|
}
|
|
37120
37122
|
function ii(x, G) {
|
|
@@ -37127,8 +37129,8 @@ var xl = {}, pk = {
|
|
|
37127
37129
|
}
|
|
37128
37130
|
return J.set(x, G), this.size = J.size, this;
|
|
37129
37131
|
}
|
|
37130
|
-
Et.prototype.clear = ti, Et.prototype.delete = co, Et.prototype.get = ho, Et.prototype.has =
|
|
37131
|
-
function
|
|
37132
|
+
Et.prototype.clear = ti, Et.prototype.delete = co, Et.prototype.get = ho, Et.prototype.has = Qn, Et.prototype.set = ii;
|
|
37133
|
+
function Xn(x, G) {
|
|
37132
37134
|
var J = fo(x), ce = !J && wa(x), Ue = !J && !ce && go(x), He = !J && !ce && !Ue && Ia(x), qe = J || ce || Ue || He, et = qe ? Xe(x.length, String) : [], xt = et.length;
|
|
37133
37135
|
for (var nt in x)
|
|
37134
37136
|
(G || lt.call(x, nt)) && !(qe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
@@ -37151,7 +37153,7 @@ var xl = {}, pk = {
|
|
|
37151
37153
|
function Vi(x) {
|
|
37152
37154
|
return x == null ? x === void 0 ? O : A : yi && yi in Object(x) ? ne(x) : ni(x);
|
|
37153
37155
|
}
|
|
37154
|
-
function
|
|
37156
|
+
function Yn(x) {
|
|
37155
37157
|
return Ki(x) && Vi(x) == a;
|
|
37156
37158
|
}
|
|
37157
37159
|
function yn(x, G, J, ce, Ue) {
|
|
@@ -37167,12 +37169,12 @@ var xl = {}, pk = {
|
|
|
37167
37169
|
qe = !0, qt = !1;
|
|
37168
37170
|
}
|
|
37169
37171
|
if (jt && !qt)
|
|
37170
|
-
return He || (He = new Et()), qe || Ia(x) ?
|
|
37172
|
+
return He || (He = new Et()), qe || Ia(x) ? Zn(x, G, J, ce, Ue, He) : mr(x, G, xt, J, ce, Ue, He);
|
|
37171
37173
|
if (!(J & s)) {
|
|
37172
37174
|
var Jt = qt && lt.call(x, "__wrapped__"), Ft = ui && lt.call(G, "__wrapped__");
|
|
37173
37175
|
if (Jt || Ft) {
|
|
37174
|
-
var
|
|
37175
|
-
return He || (He = new Et()), Ue(
|
|
37176
|
+
var qn = Jt ? x.value() : x, wn = Ft ? G.value() : G;
|
|
37177
|
+
return He || (He = new Et()), Ue(qn, wn, J, ce, He);
|
|
37176
37178
|
}
|
|
37177
37179
|
}
|
|
37178
37180
|
return jt ? (He || (He = new Et()), vr(x, G, J, ce, Ue, He)) : !1;
|
|
@@ -37194,7 +37196,7 @@ var xl = {}, pk = {
|
|
|
37194
37196
|
lt.call(x, J) && J != "constructor" && G.push(J);
|
|
37195
37197
|
return G;
|
|
37196
37198
|
}
|
|
37197
|
-
function
|
|
37199
|
+
function Zn(x, G, J, ce, Ue, He) {
|
|
37198
37200
|
var qe = J & s, et = x.length, xt = G.length;
|
|
37199
37201
|
if (et != xt && !(qe && xt > et))
|
|
37200
37202
|
return !1;
|
|
@@ -37205,9 +37207,9 @@ var xl = {}, pk = {
|
|
|
37205
37207
|
for (He.set(x, G), He.set(G, x); ++qt < et; ) {
|
|
37206
37208
|
var Jt = x[qt], Ft = G[qt];
|
|
37207
37209
|
if (ce)
|
|
37208
|
-
var
|
|
37209
|
-
if (
|
|
37210
|
-
if (
|
|
37210
|
+
var qn = qe ? ce(Ft, Jt, qt, G, x, He) : ce(Jt, Ft, qt, x, G, He);
|
|
37211
|
+
if (qn !== void 0) {
|
|
37212
|
+
if (qn)
|
|
37211
37213
|
continue;
|
|
37212
37214
|
ui = !1;
|
|
37213
37215
|
break;
|
|
@@ -37254,7 +37256,7 @@ var xl = {}, pk = {
|
|
|
37254
37256
|
if (nt)
|
|
37255
37257
|
return nt == G;
|
|
37256
37258
|
ce |= o, qe.set(x, G);
|
|
37257
|
-
var qt =
|
|
37259
|
+
var qt = Zn(et(x), et(G), ce, Ue, He, qe);
|
|
37258
37260
|
return qe.delete(x), qt;
|
|
37259
37261
|
case T:
|
|
37260
37262
|
if (mn)
|
|
@@ -37276,7 +37278,7 @@ var xl = {}, pk = {
|
|
|
37276
37278
|
return Jt == G;
|
|
37277
37279
|
var Ft = !0;
|
|
37278
37280
|
He.set(x, G), He.set(G, x);
|
|
37279
|
-
for (var
|
|
37281
|
+
for (var qn = qe; ++ui < xt; ) {
|
|
37280
37282
|
jt = et[ui];
|
|
37281
37283
|
var wn = x[jt], xs = G[jt];
|
|
37282
37284
|
if (ce)
|
|
@@ -37285,9 +37287,9 @@ var xl = {}, pk = {
|
|
|
37285
37287
|
Ft = !1;
|
|
37286
37288
|
break;
|
|
37287
37289
|
}
|
|
37288
|
-
|
|
37290
|
+
qn || (qn = jt == "constructor");
|
|
37289
37291
|
}
|
|
37290
|
-
if (Ft && !
|
|
37292
|
+
if (Ft && !qn) {
|
|
37291
37293
|
var Ea = x.constructor, Ma = G.constructor;
|
|
37292
37294
|
Ea != Ma && "constructor" in x && "constructor" in G && !(typeof Ea == "function" && Ea instanceof Ea && typeof Ma == "function" && Ma instanceof Ma) && (Ft = !1);
|
|
37293
37295
|
}
|
|
@@ -37314,12 +37316,12 @@ var xl = {}, pk = {
|
|
|
37314
37316
|
var Ue = Yt.call(x);
|
|
37315
37317
|
return ce && (G ? x[yi] = J : delete x[yi]), Ue;
|
|
37316
37318
|
}
|
|
37317
|
-
var be =
|
|
37318
|
-
return x == null ? [] : (x = Object(x), me(
|
|
37319
|
-
return
|
|
37319
|
+
var be = Fn ? function(x) {
|
|
37320
|
+
return x == null ? [] : (x = Object(x), me(Fn(x), function(G) {
|
|
37321
|
+
return Vn.call(x, G);
|
|
37320
37322
|
}));
|
|
37321
37323
|
} : sc, ze = Vi;
|
|
37322
|
-
(gn && ze(new gn(new ArrayBuffer(1))) != M || pn && ze(new pn()) != m || Cs && ze(Cs.resolve()) != E || Is && ze(new Is()) != D ||
|
|
37324
|
+
(gn && ze(new gn(new ArrayBuffer(1))) != M || pn && ze(new pn()) != m || Cs && ze(Cs.resolve()) != E || Is && ze(new Is()) != D || Nn && ze(new Nn()) != b) && (ze = function(x) {
|
|
37323
37325
|
var G = Vi(x), J = G == P ? x.constructor : void 0, ce = J ? si(J) : "";
|
|
37324
37326
|
if (ce)
|
|
37325
37327
|
switch (ce) {
|
|
@@ -37327,7 +37329,7 @@ var xl = {}, pk = {
|
|
|
37327
37329
|
return M;
|
|
37328
37330
|
case _i:
|
|
37329
37331
|
return m;
|
|
37330
|
-
case
|
|
37332
|
+
case Gn:
|
|
37331
37333
|
return E;
|
|
37332
37334
|
case hr:
|
|
37333
37335
|
return D;
|
|
@@ -37369,15 +37371,15 @@ var xl = {}, pk = {
|
|
|
37369
37371
|
function ya(x, G) {
|
|
37370
37372
|
return x === G || x !== x && G !== G;
|
|
37371
37373
|
}
|
|
37372
|
-
var wa =
|
|
37374
|
+
var wa = Yn(function() {
|
|
37373
37375
|
return arguments;
|
|
37374
|
-
}()) ?
|
|
37375
|
-
return Ki(x) && lt.call(x, "callee") && !
|
|
37376
|
+
}()) ? Yn : function(x) {
|
|
37377
|
+
return Ki(x) && lt.call(x, "callee") && !Vn.call(x, "callee");
|
|
37376
37378
|
}, fo = Array.isArray;
|
|
37377
37379
|
function Ar(x) {
|
|
37378
37380
|
return x != null && br(x.length) && !Pa(x);
|
|
37379
37381
|
}
|
|
37380
|
-
var go =
|
|
37382
|
+
var go = Hn || oc;
|
|
37381
37383
|
function nc(x, G) {
|
|
37382
37384
|
return yn(x, G);
|
|
37383
37385
|
}
|
|
@@ -37399,7 +37401,7 @@ var xl = {}, pk = {
|
|
|
37399
37401
|
}
|
|
37400
37402
|
var Ia = Ve ? Ye(Ve) : uo;
|
|
37401
37403
|
function yr(x) {
|
|
37402
|
-
return Ar(x) ?
|
|
37404
|
+
return Ar(x) ? Xn(x) : ks(x);
|
|
37403
37405
|
}
|
|
37404
37406
|
function sc() {
|
|
37405
37407
|
return [];
|
|
@@ -38361,7 +38363,7 @@ function Bk(n, t, e) {
|
|
|
38361
38363
|
pagesCount: () => e(10, h = Ie),
|
|
38362
38364
|
loaded: () => e(6, o = Ie)
|
|
38363
38365
|
})(me);
|
|
38364
|
-
}), m =
|
|
38366
|
+
}), m = _n();
|
|
38365
38367
|
let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: P = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: I = 500 } = t, { autoplay: z = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: j = ms } = t, { pauseOnFocus: T = !1 } = t, { autoplayProgressVisible: O = !1 } = t, { dots: b = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: M = 1 } = t, { particlesToScroll: k = 1 } = t;
|
|
38366
38368
|
function S(me, Ie) {
|
|
38367
38369
|
return te(this, null, function* () {
|
|
@@ -39033,7 +39035,7 @@ function Qp(n) {
|
|
|
39033
39035
|
/*inDelay*/
|
|
39034
39036
|
n[2]
|
|
39035
39037
|
),
|
|
39036
|
-
easing:
|
|
39038
|
+
easing: jn
|
|
39037
39039
|
} : void 0
|
|
39038
39040
|
), o.start());
|
|
39039
39041
|
}), a = !0);
|
|
@@ -39053,7 +39055,7 @@ function Qp(n) {
|
|
|
39053
39055
|
/*outDelay*/
|
|
39054
39056
|
n[3]
|
|
39055
39057
|
),
|
|
39056
|
-
easing:
|
|
39058
|
+
easing: jn
|
|
39057
39059
|
} : void 0
|
|
39058
39060
|
)), a = !1;
|
|
39059
39061
|
},
|
|
@@ -40574,7 +40576,7 @@ function f7(n) {
|
|
|
40574
40576
|
}
|
|
40575
40577
|
function g7(n, t, e) {
|
|
40576
40578
|
let { $$slots: i = {}, $$scope: s } = t, { url: o } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
|
|
40577
|
-
const c =
|
|
40579
|
+
const c = _n(), h = ln("hooks"), d = ln("mediaStore");
|
|
40578
40580
|
let u, p = !0;
|
|
40579
40581
|
function g() {
|
|
40580
40582
|
e(
|
|
@@ -41133,7 +41135,7 @@ function w7(n, t, e) {
|
|
|
41133
41135
|
e(2, l = !1);
|
|
41134
41136
|
};
|
|
41135
41137
|
function g(v) {
|
|
41136
|
-
|
|
41138
|
+
Rn.call(this, n, v);
|
|
41137
41139
|
}
|
|
41138
41140
|
const m = (v) => {
|
|
41139
41141
|
e(3, c = v.detail);
|
|
@@ -41353,7 +41355,7 @@ function k7(n, t, e) {
|
|
|
41353
41355
|
e(2, r = g.detail);
|
|
41354
41356
|
};
|
|
41355
41357
|
function p(g) {
|
|
41356
|
-
|
|
41358
|
+
Rn.call(this, n, g);
|
|
41357
41359
|
}
|
|
41358
41360
|
return n.$$set = (g) => {
|
|
41359
41361
|
"tag" in g && e(0, s = g.tag);
|
|
@@ -42073,7 +42075,7 @@ function Q7(n) {
|
|
|
42073
42075
|
return {
|
|
42074
42076
|
c() {
|
|
42075
42077
|
s && s.c(), t = ae(), e = W("img"), w(e, "alt", "tag-icon"), w(e, "class", "icon-image svelte-o1ee3r"), ht(e.src, i = /*iconUrl*/
|
|
42076
|
-
n[4]) || w(e, "src", i), R(e, "width", Ii(
|
|
42078
|
+
n[4]) || w(e, "src", i), R(e, "width", Ii(as({
|
|
42077
42079
|
originWidth: (
|
|
42078
42080
|
/*width*/
|
|
42079
42081
|
n[1]
|
|
@@ -42096,7 +42098,7 @@ function Q7(n) {
|
|
|
42096
42098
|
o[14] ? s ? s.p(o, r) : (s = ym(o), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), r & /*iconUrl*/
|
|
42097
42099
|
16 && !ht(e.src, i = /*iconUrl*/
|
|
42098
42100
|
o[4]) && w(e, "src", i), r & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
42099
|
-
3600 && R(e, "width", Ii(
|
|
42101
|
+
3600 && R(e, "width", Ii(as({
|
|
42100
42102
|
originWidth: (
|
|
42101
42103
|
/*width*/
|
|
42102
42104
|
o[1]
|
|
@@ -42177,7 +42179,7 @@ function Z7(n) {
|
|
|
42177
42179
|
let r = o(n, -1), a = r(n);
|
|
42178
42180
|
return {
|
|
42179
42181
|
c() {
|
|
42180
|
-
s && s.c(), t = ae(), e = W("div"), a.c(), w(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width", Ii(
|
|
42182
|
+
s && s.c(), t = ae(), e = W("div"), a.c(), w(e, "class", "icon-svg svelte-o1ee3r"), R(e, "width", Ii(as({
|
|
42181
42183
|
originWidth: (
|
|
42182
42184
|
/*width*/
|
|
42183
42185
|
n[1]
|
|
@@ -42198,7 +42200,7 @@ function Z7(n) {
|
|
|
42198
42200
|
p(l, c) {
|
|
42199
42201
|
mm(l), /*bgcolor*/
|
|
42200
42202
|
l[14] ? s ? s.p(l, c) : (s = wm(l), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), r === (r = o(l, c)) && a ? a.p(l, c) : (a.d(1), a = r(l), a && (a.c(), a.m(e, null))), c & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
42201
|
-
3600 && R(e, "width", Ii(
|
|
42203
|
+
3600 && R(e, "width", Ii(as({
|
|
42202
42204
|
originWidth: (
|
|
42203
42205
|
/*width*/
|
|
42204
42206
|
l[1]
|
|
@@ -42316,7 +42318,7 @@ function e6(n) {
|
|
|
42316
42318
|
n[28] - 1})`;
|
|
42317
42319
|
return {
|
|
42318
42320
|
c() {
|
|
42319
|
-
t = W("div"), w(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width", Ii(
|
|
42321
|
+
t = W("div"), w(t, "class", "icon-keyframe svelte-o1ee3r"), R(t, "width", Ii(as({
|
|
42320
42322
|
originWidth: (
|
|
42321
42323
|
/*width*/
|
|
42322
42324
|
n[1]
|
|
@@ -42333,7 +42335,7 @@ function e6(n) {
|
|
|
42333
42335
|
/*iconWidth*/
|
|
42334
42336
|
n[9]
|
|
42335
42337
|
)
|
|
42336
|
-
}).width)), R(t, "height", Ii(
|
|
42338
|
+
}).width)), R(t, "height", Ii(as({
|
|
42337
42339
|
originWidth: (
|
|
42338
42340
|
/*width*/
|
|
42339
42341
|
n[1]
|
|
@@ -42362,7 +42364,7 @@ function e6(n) {
|
|
|
42362
42364
|
},
|
|
42363
42365
|
p(s, o) {
|
|
42364
42366
|
vm(s), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42365
|
-
7760 && R(t, "width", Ii(
|
|
42367
|
+
7760 && R(t, "width", Ii(as({
|
|
42366
42368
|
originWidth: (
|
|
42367
42369
|
/*width*/
|
|
42368
42370
|
s[1]
|
|
@@ -42380,7 +42382,7 @@ function e6(n) {
|
|
|
42380
42382
|
s[9]
|
|
42381
42383
|
)
|
|
42382
42384
|
}).width)), o & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
42383
|
-
7760 && R(t, "height", Ii(
|
|
42385
|
+
7760 && R(t, "height", Ii(as({
|
|
42384
42386
|
originWidth: (
|
|
42385
42387
|
/*width*/
|
|
42386
42388
|
s[1]
|
|
@@ -42447,7 +42449,7 @@ function i6(n) {
|
|
|
42447
42449
|
}
|
|
42448
42450
|
};
|
|
42449
42451
|
}
|
|
42450
|
-
function
|
|
42452
|
+
function as(n) {
|
|
42451
42453
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
|
|
42452
42454
|
return he(F({}, n), { width: o, height: r });
|
|
42453
42455
|
}
|
|
@@ -42462,7 +42464,7 @@ function Or(n) {
|
|
|
42462
42464
|
}
|
|
42463
42465
|
function n6(n, t, e) {
|
|
42464
42466
|
let i, s, o, r, a, l, c, h, d, u, p, g, { width: m = null } = t, { icon: v = null } = t, { shadow: A = !1 } = t;
|
|
42465
|
-
const P =
|
|
42467
|
+
const P = _n();
|
|
42466
42468
|
function E(S) {
|
|
42467
42469
|
return te(this, null, function* () {
|
|
42468
42470
|
const L = yield V7(S);
|
|
@@ -44296,7 +44298,7 @@ function K6() {
|
|
|
44296
44298
|
border: "1px solid rgba(255,255,255,0.4)"
|
|
44297
44299
|
});
|
|
44298
44300
|
n.appendChild(t), t.appendChild(e);
|
|
44299
|
-
const i = "-4px", s = { direction: "nesw", element:
|
|
44301
|
+
const i = "-4px", s = { direction: "nesw", element: es({ cursor: "nesw-resize", left: i, bottom: i }) }, o = { direction: "ns", element: es({ cursor: "ns-resize", bottom: i }) }, r = { direction: "nwse", element: es({ cursor: "nwse-resize", right: i, bottom: i }) }, a = { direction: "ew", element: es({ cursor: "ew-resize", right: i }) }, l = { direction: "nesw", element: es({ cursor: "nesw-resize", right: i, top: i }) }, c = { direction: "ns", element: es({ cursor: "ns-resize", top: i }) }, h = { direction: "nwse", element: es({ cursor: "nwse-resize", left: i, top: i }) }, d = { direction: "ew", element: es({ cursor: "ew-resize", left: i }) };
|
|
44300
44302
|
return new Array(o, a, c, d, s, r, l, h).forEach((p) => t.appendChild(p.element)), { container: n, spheres: [
|
|
44301
44303
|
s,
|
|
44302
44304
|
o,
|
|
@@ -44308,7 +44310,7 @@ function K6() {
|
|
|
44308
44310
|
d
|
|
44309
44311
|
] };
|
|
44310
44312
|
}
|
|
44311
|
-
function
|
|
44313
|
+
function es(n) {
|
|
44312
44314
|
const t = Ws(F({
|
|
44313
44315
|
background: "#FFFF00",
|
|
44314
44316
|
width: "9px",
|
|
@@ -45037,7 +45039,7 @@ let ix = class extends Aa {
|
|
|
45037
45039
|
return;
|
|
45038
45040
|
A.copy(e.ray.origin.clone().add(e.ray.direction.clone().multiplyScalar(E))), a = A;
|
|
45039
45041
|
} else
|
|
45040
|
-
a =
|
|
45042
|
+
a = Tn({ raycaster: e, line: i, clampToLine: !1 });
|
|
45041
45043
|
const l = o.position.clone(), c = a.clone().sub(s), h = new y.Matrix4();
|
|
45042
45044
|
h.setPosition(c);
|
|
45043
45045
|
const d = o.position.clone().applyMatrix4(h);
|
|
@@ -45766,7 +45768,7 @@ class mx extends Aa {
|
|
|
45766
45768
|
r = r.parent;
|
|
45767
45769
|
const a = r, l = a.scalePosition.basePosition.clone(), c = a.scalePosition.handlePosition.clone(), h = c.clone().sub(l).clone(), d = new y.Line3(l, l.clone().add(h.normalize().multiplyScalar(5)));
|
|
45768
45770
|
d.applyMatrix4(this.helperObject3D.matrixWorld);
|
|
45769
|
-
const u = new y.Raycaster(s, i.point.clone().sub(s)), p =
|
|
45771
|
+
const u = new y.Raycaster(s, i.point.clone().sub(s)), p = Tn({ raycaster: u, line: d });
|
|
45770
45772
|
this.startInfo = { line: d, scaleStartPoint: p, draggingObject: a }, this.helperObject3D.scaleMeshes.forEach((g) => {
|
|
45771
45773
|
g.uuid !== a.uuid && (g.visible = !1);
|
|
45772
45774
|
}), "hideLineConnections" in this.helperObject3D && typeof this.helperObject3D.hideLineConnections == "function" && this.helperObject3D.hideLineConnections();
|
|
@@ -45808,7 +45810,7 @@ class mx extends Aa {
|
|
|
45808
45810
|
const P = mi(A).normalize(), E = new y.Plane().setFromNormalAndCoplanarPoint(P, A[0]), z = Math.abs(e.ray.direction.dot(P)) < 0.1;
|
|
45809
45811
|
let D;
|
|
45810
45812
|
if (z)
|
|
45811
|
-
D =
|
|
45813
|
+
D = Tn({ raycaster: e, line: i, clampToLine: !1 }).applyMatrix4(new y.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone()));
|
|
45812
45814
|
else {
|
|
45813
45815
|
const T = new y.Vector3();
|
|
45814
45816
|
if (e.ray.intersectPlane(E, T), !T)
|
|
@@ -45824,7 +45826,7 @@ class mx extends Aa {
|
|
|
45824
45826
|
}), o.position.copy(D), this.hooks.emit("scale", new y.Vector3(1, 1, 1));
|
|
45825
45827
|
return;
|
|
45826
45828
|
}
|
|
45827
|
-
const a =
|
|
45829
|
+
const a = Tn({ raycaster: e, line: i, clampToLine: !1 });
|
|
45828
45830
|
a.applyMatrix4(new y.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (d = (h = this.config) == null ? void 0 : h.scaleCallback) == null || d.call(h, {
|
|
45829
45831
|
intersectPoint: a,
|
|
45830
45832
|
scalePosition: r,
|
|
@@ -46531,7 +46533,7 @@ class pA extends Ai {
|
|
|
46531
46533
|
f(this, "lines", []);
|
|
46532
46534
|
f(this, "withDots");
|
|
46533
46535
|
f(this, "paramsStyle");
|
|
46534
|
-
const r = e, { withDots: i, points: s } = r, o =
|
|
46536
|
+
const r = e, { withDots: i, points: s } = r, o = Kn(r, ["withDots", "points"]);
|
|
46535
46537
|
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o);
|
|
46536
46538
|
}
|
|
46537
46539
|
get style() {
|
|
@@ -46606,7 +46608,7 @@ class $s extends pA {
|
|
|
46606
46608
|
f(this, "name", "PolylineMesh");
|
|
46607
46609
|
}
|
|
46608
46610
|
}
|
|
46609
|
-
class
|
|
46611
|
+
class cs extends pA {
|
|
46610
46612
|
constructor(...e) {
|
|
46611
46613
|
super(he(F({}, e[0]), { withDots: !0 }));
|
|
46612
46614
|
f(this, "name", "PolylineWithDotsMesh");
|
|
@@ -46856,7 +46858,7 @@ class km extends Qi {
|
|
|
46856
46858
|
f(this, "polyLineMesh");
|
|
46857
46859
|
f(this, "_editor");
|
|
46858
46860
|
f(this, "creatingObject");
|
|
46859
|
-
e && (this.polyLineMesh = new
|
|
46861
|
+
e && (this.polyLineMesh = new cs(F(F({}, e.style), e)), this.add(this.polyLineMesh));
|
|
46860
46862
|
}
|
|
46861
46863
|
get editor() {
|
|
46862
46864
|
return this._editor || (this._editor = new Cx(this)), this._editor;
|
|
@@ -46901,7 +46903,7 @@ class km extends Qi {
|
|
|
46901
46903
|
create(e) {
|
|
46902
46904
|
return te(this, null, function* () {
|
|
46903
46905
|
this.removeChildren();
|
|
46904
|
-
const i = new
|
|
46906
|
+
const i = new cs(e);
|
|
46905
46907
|
this.polyLineMesh = i, this.add(this.polyLineMesh), this.creatingObject = Ix(i, this.pointSelector, e), yield this.creatingObject.finished, this.config.defaultAction && this.editor.enable();
|
|
46906
46908
|
});
|
|
46907
46909
|
}
|
|
@@ -47027,7 +47029,7 @@ function mA(n, t) {
|
|
|
47027
47029
|
}
|
|
47028
47030
|
class Mh extends rr {
|
|
47029
47031
|
constructor(e) {
|
|
47030
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
47032
|
+
const o = e != null ? e : {}, { points: i } = o, s = Kn(o, ["points"]);
|
|
47031
47033
|
super();
|
|
47032
47034
|
f(this, "name", "PolygonWithEdgeMesh");
|
|
47033
47035
|
f(this, "line", new $s());
|
|
@@ -47332,7 +47334,7 @@ function ru(n, t, e) {
|
|
|
47332
47334
|
x: (st.x * 0.5 + 0.5) * Te,
|
|
47333
47335
|
y: (1 - (st.y * 0.5 + 0.5)) * Re
|
|
47334
47336
|
};
|
|
47335
|
-
}, Ve = Ae(le), me = Ae(E), Ie = Ae(re.point), Oe = Math.sqrt(
|
|
47337
|
+
}, Ve = Ae(le), me = Ae(E), Ie = Ae(re.point), Oe = Math.sqrt(Jn(Ve.x - me.x, 2) + Jn(Ve.y - me.y, 2)), Xe = Math.sqrt(Jn(Ve.x - Ie.x, 2) + Jn(Ve.y - Ie.y, 2));
|
|
47336
47338
|
(Oe < e.autoClosePixelDistance || Xe < e.autoClosePixelDistance) && (Se = !0);
|
|
47337
47339
|
}
|
|
47338
47340
|
} else
|
|
@@ -47909,7 +47911,7 @@ function AA(n, t, e) {
|
|
|
47909
47911
|
}, p = (v) => {
|
|
47910
47912
|
if (!(v != null && v.raycaster))
|
|
47911
47913
|
return;
|
|
47912
|
-
const A =
|
|
47914
|
+
const A = Tn({
|
|
47913
47915
|
raycaster: v.raycaster,
|
|
47914
47916
|
line: new y.Line3(l, c)
|
|
47915
47917
|
});
|
|
@@ -48054,7 +48056,7 @@ class au extends rr {
|
|
|
48054
48056
|
}
|
|
48055
48057
|
class Sl extends au {
|
|
48056
48058
|
constructor(e) {
|
|
48057
|
-
const o = e != null ? e : {}, { points: i } = o, s =
|
|
48059
|
+
const o = e != null ? e : {}, { points: i } = o, s = Kn(o, ["points"]);
|
|
48058
48060
|
super();
|
|
48059
48061
|
f(this, "name", "RectangleWithEdgeMesh");
|
|
48060
48062
|
f(this, "line", new $s());
|
|
@@ -48149,7 +48151,7 @@ function Tx(n, t, e) {
|
|
|
48149
48151
|
const { promise: i, reject: s, resolve: o } = to(), r = n.parent;
|
|
48150
48152
|
if (!r)
|
|
48151
48153
|
return s(new Error("No container"));
|
|
48152
|
-
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new
|
|
48154
|
+
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new cs(he(F({}, n.style), { dashed: !0 })), c = new cs(he(F({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new cs(he(F({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
48153
48155
|
r.add(l, h, c), t.enable();
|
|
48154
48156
|
const d = [];
|
|
48155
48157
|
let u = new y.Vector3(), p = new y.Vector3();
|
|
@@ -48198,7 +48200,7 @@ function Lx(n, t, e) {
|
|
|
48198
48200
|
const { promise: i, reject: s, resolve: o } = to(), r = n.parent;
|
|
48199
48201
|
if (!r)
|
|
48200
48202
|
return s(new Error("No container"));
|
|
48201
|
-
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new
|
|
48203
|
+
const a = (E = e == null ? void 0 : e.limit) != null ? E : "none", l = new cs(he(F({}, n.style), { dashed: !0 })), c = new cs(he(F({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new cs(he(F({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
48202
48204
|
r.add(l, h, c), t.enable(), t.setAdherePoints(Dx(t.five, { excludes: [n] }));
|
|
48203
48205
|
const d = [];
|
|
48204
48206
|
let u = new y.Vector3(), p = new y.Vector3();
|
|
@@ -48283,7 +48285,7 @@ class CA extends ql {
|
|
|
48283
48285
|
}
|
|
48284
48286
|
class la extends CA {
|
|
48285
48287
|
constructor(e) {
|
|
48286
|
-
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r =
|
|
48288
|
+
const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = Kn(a, ["normal", "radius", "center"]);
|
|
48287
48289
|
super(r);
|
|
48288
48290
|
f(this, "edgeLine");
|
|
48289
48291
|
this.edgeLine = new ki(r), this.add(this.edgeLine), i && s && o && this.setPoints({ normal: i, radius: s, center: o });
|
|
@@ -48542,7 +48544,7 @@ function EA(n, t) {
|
|
|
48542
48544
|
}, d = (g) => {
|
|
48543
48545
|
if (!(g != null && g.raycaster))
|
|
48544
48546
|
return;
|
|
48545
|
-
const m =
|
|
48547
|
+
const m = Tn({
|
|
48546
48548
|
raycaster: g.raycaster,
|
|
48547
48549
|
line: new y.Line3(r, a)
|
|
48548
48550
|
}), A = new y.Plane().setFromNormalAndCoplanarPoint(n.normal, n.bottomCenter).projectPoint(m, new y.Vector3()), P = m.clone().sub(A), E = n.bottomCenter.clone().add(P);
|
|
@@ -48749,7 +48751,7 @@ function kA(n, t, e) {
|
|
|
48749
48751
|
}, p = (v) => {
|
|
48750
48752
|
if (!(v != null && v.raycaster))
|
|
48751
48753
|
return;
|
|
48752
|
-
const A =
|
|
48754
|
+
const A = Tn({
|
|
48753
48755
|
raycaster: v.raycaster,
|
|
48754
48756
|
line: new y.Line3(h, d)
|
|
48755
48757
|
});
|
|
@@ -48856,7 +48858,7 @@ function xA(n, t, e) {
|
|
|
48856
48858
|
return O();
|
|
48857
48859
|
p = T;
|
|
48858
48860
|
const b = h.at(-1).clone();
|
|
48859
|
-
a === "none" ? (d = T.point, l.setPoints([b, d])) : a === "xoz" ? (t.plane = u, u = u != null ? u : new y.Plane().setFromNormalAndCoplanarPoint(new y.Vector3(0, 1, 0), h[0]), d = u.projectPoint(T.point, new y.Vector3()), l.setPoints([b, d]), c.setPoints([d, T.point])) : a === "y" && (T.isVirtual ? (d =
|
|
48861
|
+
a === "none" ? (d = T.point, l.setPoints([b, d])) : a === "xoz" ? (t.plane = u, u = u != null ? u : new y.Plane().setFromNormalAndCoplanarPoint(new y.Vector3(0, 1, 0), h[0]), d = u.projectPoint(T.point, new y.Vector3()), l.setPoints([b, d]), c.setPoints([d, T.point])) : a === "y" && (T.isVirtual ? (d = Tn({
|
|
48860
48862
|
raycaster: T.raycaster,
|
|
48861
48863
|
line: new y.Line3(h[0].clone(), new y.Vector3(0, 1, 0).add(h[0])),
|
|
48862
48864
|
clampToLine: !1
|
|
@@ -49459,7 +49461,7 @@ function Hx(n, t, e) {
|
|
|
49459
49461
|
} } = t, { handleMouseEnter: r = () => {
|
|
49460
49462
|
} } = t, { handleMouseLeave: a = () => {
|
|
49461
49463
|
} } = t;
|
|
49462
|
-
const l =
|
|
49464
|
+
const l = _n(), c = {
|
|
49463
49465
|
audioRef: (h) => l("audioRef", h.detail),
|
|
49464
49466
|
play: () => {
|
|
49465
49467
|
e(0, i = !0), l("play");
|
|
@@ -49792,7 +49794,7 @@ function Yx(n) {
|
|
|
49792
49794
|
function Zx(n, t, e) {
|
|
49793
49795
|
var L, N;
|
|
49794
49796
|
let i, s, o, r, a;
|
|
49795
|
-
const l = ln("hooks"), c =
|
|
49797
|
+
const l = ln("hooks"), c = _n();
|
|
49796
49798
|
let { tag: h } = t, d, u = !1;
|
|
49797
49799
|
const p = () => {
|
|
49798
49800
|
d !== void 0 && clearTimeout(d), u = !0, d = setTimeout(
|
|
@@ -49839,7 +49841,7 @@ function Zx(n, t, e) {
|
|
|
49839
49841
|
z(h) && A(B);
|
|
49840
49842
|
};
|
|
49841
49843
|
function S(B) {
|
|
49842
|
-
|
|
49844
|
+
Rn.call(this, n, B);
|
|
49843
49845
|
}
|
|
49844
49846
|
return n.$$set = (B) => {
|
|
49845
49847
|
"tag" in B && e(1, h = B.tag), "tagPointClickHelper" in B && e(0, v = B.tagPointClickHelper), "handleMouseEnter" in B && e(2, A = B.handleMouseEnter), "handleMouseLeave" in B && e(3, P = B.handleMouseLeave), "handleTagPointClick" in B && e(4, E = B.handleTagPointClick), "audioInstance" in B && e(14, D = B.audioInstance);
|
|
@@ -51543,7 +51545,7 @@ function VS(n) {
|
|
|
51543
51545
|
function FS(n, t, e) {
|
|
51544
51546
|
let i;
|
|
51545
51547
|
const s = ln("hooks");
|
|
51546
|
-
|
|
51548
|
+
_n();
|
|
51547
51549
|
let { tag: o } = t, { toolbar: r = { showMore: !0, showShare: !0 } } = t, { theme: a = "dark" } = t, { closePopover: l = void 0 } = t;
|
|
51548
51550
|
Tt(() => {
|
|
51549
51551
|
s.emit("popoverToolbarShow", { tag: o });
|
|
@@ -51764,7 +51766,7 @@ function GS(n) {
|
|
|
51764
51766
|
function WS(n, t, e) {
|
|
51765
51767
|
let { showArrow: i } = t, { arrowDirection: s } = t, { effectiveTheme: o } = t, { adjustedPlacement: r } = t, { tag: a } = t, { config: l } = t, { theme: c } = t, { toolbar: h } = t, { closePopover: d } = t, { audioInstance: u = null } = t, { audioPlaying: p = !1 } = t, { audioCurrentTime: g = 0 } = t, { audioDuration: m = 0 } = t;
|
|
51766
51768
|
function v(A) {
|
|
51767
|
-
|
|
51769
|
+
Rn.call(this, n, A);
|
|
51768
51770
|
}
|
|
51769
51771
|
return n.$$set = (A) => {
|
|
51770
51772
|
"showArrow" in A && e(0, i = A.showArrow), "arrowDirection" in A && e(1, s = A.arrowDirection), "effectiveTheme" in A && e(2, o = A.effectiveTheme), "adjustedPlacement" in A && e(3, r = A.adjustedPlacement), "tag" in A && e(4, a = A.tag), "config" in A && e(5, l = A.config), "theme" in A && e(6, c = A.theme), "toolbar" in A && e(7, h = A.toolbar), "closePopover" in A && e(8, d = A.closePopover), "audioInstance" in A && e(9, u = A.audioInstance), "audioPlaying" in A && e(10, p = A.audioPlaying), "audioCurrentTime" in A && e(11, g = A.audioCurrentTime), "audioDuration" in A && e(12, m = A.audioDuration);
|
|
@@ -52084,7 +52086,7 @@ function YS(n, t, e) {
|
|
|
52084
52086
|
let i, s, o, r, a, l, c, h, d, u;
|
|
52085
52087
|
const p = ln("hooks");
|
|
52086
52088
|
let { tag: g } = t, { config: m = {} } = t, { triggerElement: v } = t, { wrapperElement: A = document.body } = t, { popoverContainer: P = null } = t, { theme: E = void 0 } = t, { visible: I = !0 } = t, { closePopover: z = void 0 } = t, { audioInstance: D = null } = t, { audioPlaying: j = !1 } = t, { audioCurrentTime: T = 0 } = t, { audioDuration: O = 0 } = t;
|
|
52087
|
-
const b =
|
|
52089
|
+
const b = _n();
|
|
52088
52090
|
let C, M = { width: 0, height: 0 }, k = null, S = s;
|
|
52089
52091
|
function L(ee, { duration: Te = 400, easing: Re = ta, x: Ae = 0, y: Ve = 0 }) {
|
|
52090
52092
|
return {
|
|
@@ -52175,10 +52177,10 @@ function YS(n, t, e) {
|
|
|
52175
52177
|
typeof z == "function" && z(), b("close");
|
|
52176
52178
|
}
|
|
52177
52179
|
function Me(ee) {
|
|
52178
|
-
|
|
52180
|
+
Rn.call(this, n, ee);
|
|
52179
52181
|
}
|
|
52180
52182
|
function de(ee) {
|
|
52181
|
-
|
|
52183
|
+
Rn.call(this, n, ee);
|
|
52182
52184
|
}
|
|
52183
52185
|
function le(ee) {
|
|
52184
52186
|
Ze[ee ? "unshift" : "push"](() => {
|
|
@@ -52970,7 +52972,9 @@ function s0(n) {
|
|
|
52970
52972
|
"z-index",
|
|
52971
52973
|
/*zIndex*/
|
|
52972
52974
|
(c = n[6]) != null ? c : ""
|
|
52973
|
-
)
|
|
52975
|
+
), R(t, "opacity", !/*state*/
|
|
52976
|
+
n[4].visible || !/*temporaryState*/
|
|
52977
|
+
n[5].visible ? null : 1);
|
|
52974
52978
|
},
|
|
52975
52979
|
m(c, h) {
|
|
52976
52980
|
X(c, t, h);
|
|
@@ -52994,7 +52998,10 @@ function s0(n) {
|
|
|
52994
52998
|
"z-index",
|
|
52995
52999
|
/*zIndex*/
|
|
52996
53000
|
(d = c[6]) != null ? d : ""
|
|
52997
|
-
)
|
|
53001
|
+
), h & /*state, temporaryState*/
|
|
53002
|
+
48 && R(t, "opacity", !/*state*/
|
|
53003
|
+
c[4].visible || !/*temporaryState*/
|
|
53004
|
+
c[5].visible ? null : 1);
|
|
52998
53005
|
},
|
|
52999
53006
|
i(c) {
|
|
53000
53007
|
if (!r) {
|
|
@@ -53968,7 +53975,7 @@ function gD(n, t, e) {
|
|
|
53968
53975
|
i.push(E);
|
|
53969
53976
|
}), i.push(l);
|
|
53970
53977
|
});
|
|
53971
|
-
const s = t.transform, o = i.map((r) =>
|
|
53978
|
+
const s = t.transform, o = i.map((r) => hs(new y.Vector3().fromArray(r), s).toArray());
|
|
53972
53979
|
return [he(F({}, e), { type: "CatmullRomCurve3", points: o })];
|
|
53973
53980
|
}
|
|
53974
53981
|
const pD = (
|
|
@@ -54164,7 +54171,7 @@ class Oh {
|
|
|
54164
54171
|
});
|
|
54165
54172
|
/** 模型状态变更 */
|
|
54166
54173
|
f(this, "onFiveModeChange", (t) => {
|
|
54167
|
-
this.modeVisible = this.mode === "panorama" ?
|
|
54174
|
+
this.modeVisible = this.mode === "panorama" ? ls(t) : Ci(t), this.updateVisible();
|
|
54168
54175
|
});
|
|
54169
54176
|
f(this, "onFiveModelShownFloorChange", (t) => {
|
|
54170
54177
|
this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();
|
|
@@ -57002,8 +57009,8 @@ class qD {
|
|
|
57002
57009
|
if (this.isInContainerResizeAnimation)
|
|
57003
57010
|
return { result: !1, msg: "处于容器 resize 动画中" };
|
|
57004
57011
|
const e = this.plugin.five, i = e.camera.position.clone();
|
|
57005
|
-
|
|
57006
|
-
const [s] = this.plugin.fiveUtil.model.intersectRaycaster(
|
|
57012
|
+
Dn.set(i.clone(), this.tagPosition.clone().sub(i).normalize());
|
|
57013
|
+
const [s] = this.plugin.fiveUtil.model.intersectRaycaster(Dn), o = this.tagPosition.distanceTo(e.camera.position);
|
|
57007
57014
|
if (s && s.distance + 0.1 < o)
|
|
57008
57015
|
return { result: !1, msg: "标注标签被 Five 模型遮挡" };
|
|
57009
57016
|
const r = this.tagNDCPosition;
|
|
@@ -57788,7 +57795,7 @@ const b0 = (n, t) => {
|
|
|
57788
57795
|
};
|
|
57789
57796
|
class Yc extends du {
|
|
57790
57797
|
constructor(...e) {
|
|
57791
|
-
const i = e[0], s = eo(i.model), o = new y.Vector3().lerpVectors(
|
|
57798
|
+
const i = e[0], s = eo(i.model), o = new y.Vector3().lerpVectors(ss(s, 0), ss(s, 5), 0.5);
|
|
57792
57799
|
super(he(F({}, i), { position: o }));
|
|
57793
57800
|
f(this, "onModelShownFloorChange", (e) => {
|
|
57794
57801
|
this.updateFiveCurrentFloorState(e), this.updateVisible();
|
|
@@ -57963,10 +57970,10 @@ class aT extends fn {
|
|
|
57963
57970
|
case "box": {
|
|
57964
57971
|
const r = new Us({ five: this.five });
|
|
57965
57972
|
Ne(s.id) && (r.uuid = s.id.toString());
|
|
57966
|
-
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new ve().fromArray(a), d = new ve().fromArray(l), u = new
|
|
57973
|
+
const { start: a, end: l, rotation: c = [0, 0, 0, 0] } = s.object_data, h = new ve().fromArray(a), d = new ve().fromArray(l), u = new ns().fromArray(c), p = new zs().setFromEuler(u), g = p.clone().inverse(), m = new ve().lerpVectors(h, d, 0.5), v = m.clone().negate(), A = h.clone().add(v).applyQuaternion(g), P = d.clone().add(v).applyQuaternion(g), E = new Pb(A.clone().max(P), A.clone().min(P));
|
|
57967
57974
|
return r.setPoints({
|
|
57968
|
-
points: [
|
|
57969
|
-
heightPoint:
|
|
57975
|
+
points: [ss(E, 2), ss(E, 3), ss(E, 7), ss(E, 6)],
|
|
57976
|
+
heightPoint: ss(E, 1)
|
|
57970
57977
|
}), r.position.copy(m), r.quaternion.copy(p), r.setStyle(i(s)), new v0({
|
|
57971
57978
|
five: this.five,
|
|
57972
57979
|
tagWrapper: this.tagWrapper,
|
|
@@ -58408,7 +58415,7 @@ const GL = (...n) => new aT(...n), lT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58408
58415
|
bounding: Qh,
|
|
58409
58416
|
boundingBox: eo,
|
|
58410
58417
|
boundingSphere: Z0,
|
|
58411
|
-
boxVertex:
|
|
58418
|
+
boxVertex: ss,
|
|
58412
58419
|
boxVertexes: Hy,
|
|
58413
58420
|
checkFiveModelLoaded: u2,
|
|
58414
58421
|
cleanup: Iw,
|
|
@@ -58427,7 +58434,7 @@ const GL = (...n) => new aT(...n), lT = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
58427
58434
|
inside: Eu,
|
|
58428
58435
|
isModelLike: Ci,
|
|
58429
58436
|
isNil: vi,
|
|
58430
|
-
isPanoramaLike:
|
|
58437
|
+
isPanoramaLike: ls,
|
|
58431
58438
|
lookObject: d2,
|
|
58432
58439
|
lookPoint: k1,
|
|
58433
58440
|
nextFrame: ga,
|
|
@@ -58488,7 +58495,7 @@ export {
|
|
|
58488
58495
|
EL as Object3DHelperPlugin,
|
|
58489
58496
|
su as PLUGIN,
|
|
58490
58497
|
mT as PaintBrush,
|
|
58491
|
-
|
|
58498
|
+
ts as PaintBrushTypeEnum,
|
|
58492
58499
|
eL as PanoCompassPlugin,
|
|
58493
58500
|
wT as PanoCursorRaycasterPlugin,
|
|
58494
58501
|
mL as PanoDoorLabelPlugin,
|