@realsee/dnalogel 3.67.4 → 3.67.6-alpha.0
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 +4 -0
- package/components/index.js +3 -3
- package/dist/index.cjs.js +34 -34
- package/dist/index.js +582 -582
- package/dist/index.umd.js +34 -34
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +19 -19
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +3 -3
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +3 -3
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +3 -3
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +18 -18
- package/libs/Object3DHelperPlugin/Controller.js +32 -32
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +4 -4
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,12 +2,12 @@ var Iv = Object.defineProperty, Ev = Object.defineProperties;
|
|
|
2
2
|
var Mv = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var sa = Object.getOwnPropertySymbols;
|
|
4
4
|
var Su = Object.prototype.hasOwnProperty, Du = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ra = Math.pow,
|
|
5
|
+
var ra = Math.pow, _l = (n, t, e) => t in n ? Iv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, H = (n, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
Su.call(t, e) &&
|
|
7
|
+
Su.call(t, e) && _l(n, e, t[e]);
|
|
8
8
|
if (sa)
|
|
9
9
|
for (var e of sa(t))
|
|
10
|
-
Du.call(t, e) &&
|
|
10
|
+
Du.call(t, e) && _l(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, he = (n, t) => Ev(n, Mv(t));
|
|
13
13
|
var Vn = (n, t) => {
|
|
@@ -19,7 +19,7 @@ var Vn = (n, t) => {
|
|
|
19
19
|
t.indexOf(i) < 0 && Du.call(n, i) && (e[i] = n[i]);
|
|
20
20
|
return e;
|
|
21
21
|
};
|
|
22
|
-
var d = (n, t, e) => (
|
|
22
|
+
var d = (n, t, e) => (_l(n, typeof t != "symbol" ? t + "" : t, e), e);
|
|
23
23
|
var te = (n, t, e) => new Promise((i, s) => {
|
|
24
24
|
var r = (l) => {
|
|
25
25
|
try {
|
|
@@ -38,12 +38,12 @@ var te = (n, t, e) => new Promise((i, s) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { InternalWebGLRenderer as kv, Camera as xv, loadAt3d as Sv, Five as Vt, Subscribe as Rr } from "@realsee/five";
|
|
40
40
|
import * as P from "three";
|
|
41
|
-
import { Vector3 as ge, Vector2 as Ht, Object3D as gr, Matrix4 as nt, LineSegments as Dv, Group as mn, Raycaster as Br, MeshBasicMaterial as Po, Vector4 as Ps, Curve as vm, Loader as Tu, LoaderUtils as
|
|
41
|
+
import { Vector3 as ge, Vector2 as Ht, Object3D as gr, Matrix4 as nt, LineSegments as Dv, Group as mn, Raycaster as Br, MeshBasicMaterial as Po, Vector4 as Ps, Curve as vm, Loader as Tu, LoaderUtils as Vl, FileLoader as Tv, TextureLoader as dh, RepeatWrapping as Lu, ClampToEdgeWrapping as zu, Texture as Ou, MeshPhongMaterial as Hl, MeshLambertMaterial as Lv, Color as Xt, sRGBEncoding as lo, EquirectangularReflectionMapping as zv, Bone as ju, PropertyBinding as oa, OrthographicCamera as Ov, PerspectiveCamera as jv, PointLight as Ru, MathUtils as Yi, SpotLight as Rv, DirectionalLight as Bv, SkinnedMesh as _v, Mesh as mr, LineBasicMaterial as Vv, Line as Hv, Skeleton as Fv, AmbientLight as Nv, BufferGeometry as aa, Float32BufferAttribute as er, Uint16BufferAttribute as Gv, Matrix3 as Wv, BufferAttribute as Uv, AnimationClip as Qv, Quaternion as Cs, Euler as Wn, VectorKeyframeTrack as Xv, QuaternionKeyframeTrack as Yv, NumberKeyframeTrack as Zv, CanvasTexture as qv, AnimationMixer as Jv, PlaneGeometry as Kv, LinearFilter as Mc, CurvePath as $v, LineCurve3 as eA, TubeGeometry as tA, ShaderMaterial as Am, SphereGeometry as iA, DoubleSide as bm, RingGeometry as nA, VideoTexture as sA, SphereBufferGeometry as rA, Box3 as oA } from "three";
|
|
42
42
|
import { LineGeometry as aA, LineMaterial as lA, THREE_Line2 as cA, Line as hA } from "@realsee/five/line";
|
|
43
43
|
import { GLTFLoader as uA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function dA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.67.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.67.6-alpha.0",
|
|
47
47
|
[
|
|
48
48
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
49
49
|
"background-repeat: no-repeat",
|
|
@@ -75,7 +75,7 @@ function la(n, t, e) {
|
|
|
75
75
|
const i = n.x, s = n.y, r = Math.floor(i / t * 1e4) / 1e4, o = Math.floor(s / e * 1e4) / 1e4;
|
|
76
76
|
return { x: r, y: o };
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Fl(n, t, e) {
|
|
79
79
|
const { x: i, y: s } = n, r = i * t, o = s * e;
|
|
80
80
|
return { x: r, y: o };
|
|
81
81
|
}
|
|
@@ -105,13 +105,13 @@ var Vi = Object.freeze({
|
|
|
105
105
|
return n;
|
|
106
106
|
},
|
|
107
107
|
In: function(n) {
|
|
108
|
-
return n;
|
|
108
|
+
return this.None(n);
|
|
109
109
|
},
|
|
110
110
|
Out: function(n) {
|
|
111
|
-
return n;
|
|
111
|
+
return this.None(n);
|
|
112
112
|
},
|
|
113
113
|
InOut: function(n) {
|
|
114
|
-
return n;
|
|
114
|
+
return this.None(n);
|
|
115
115
|
}
|
|
116
116
|
}),
|
|
117
117
|
Quadratic: Object.freeze({
|
|
@@ -322,11 +322,11 @@ var Vi = Object.freeze({
|
|
|
322
322
|
return n._nextId++;
|
|
323
323
|
}, n._nextId = 0, n;
|
|
324
324
|
}()
|
|
325
|
-
),
|
|
325
|
+
), kc = new wm(), ll = (
|
|
326
326
|
/** @class */
|
|
327
327
|
function() {
|
|
328
328
|
function n(t, e) {
|
|
329
|
-
e === void 0 && (e =
|
|
329
|
+
e === void 0 && (e = kc), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Vi.Linear.None, this._interpolationFunction = Is.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = fh.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
330
330
|
}
|
|
331
331
|
return n.prototype.getId = function() {
|
|
332
332
|
return this._id;
|
|
@@ -413,7 +413,7 @@ var Vi = Object.freeze({
|
|
|
413
413
|
this._chainedTweens[t].stop();
|
|
414
414
|
return this;
|
|
415
415
|
}, n.prototype.group = function(t) {
|
|
416
|
-
return t === void 0 && (t =
|
|
416
|
+
return t === void 0 && (t = kc), this._group = t, this;
|
|
417
417
|
}, n.prototype.delay = function(t) {
|
|
418
418
|
return t === void 0 && (t = 0), this._delayTime = t, this;
|
|
419
419
|
}, n.prototype.repeat = function(t) {
|
|
@@ -490,14 +490,14 @@ var Vi = Object.freeze({
|
|
|
490
490
|
typeof i == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(i) : this._valuesStartRepeat[t] = this._valuesEnd[t], this._valuesEnd[t] = e;
|
|
491
491
|
}, n;
|
|
492
492
|
}()
|
|
493
|
-
), vA = "23.1.
|
|
493
|
+
), vA = "23.1.1", AA = fh.nextId, Ki = kc, bA = Ki.getAll.bind(Ki), yA = Ki.removeAll.bind(Ki), wA = Ki.add.bind(Ki), Pm = Ki.remove.bind(Ki), PA = Ki.update.bind(Ki), Hu = {
|
|
494
494
|
Easing: Vi,
|
|
495
495
|
Group: wm,
|
|
496
496
|
Interpolation: Is,
|
|
497
497
|
now: lr,
|
|
498
498
|
Sequence: fh,
|
|
499
499
|
nextId: AA,
|
|
500
|
-
Tween:
|
|
500
|
+
Tween: ll,
|
|
501
501
|
VERSION: vA,
|
|
502
502
|
getAll: bA,
|
|
503
503
|
removeAll: yA,
|
|
@@ -506,7 +506,7 @@ var Vi = Object.freeze({
|
|
|
506
506
|
update: PA
|
|
507
507
|
};
|
|
508
508
|
function CA(n, t, e, i = Vi.Linear.None) {
|
|
509
|
-
const s = new
|
|
509
|
+
const s = new ll(n).to(t, e).easing(i).start();
|
|
510
510
|
function r(o) {
|
|
511
511
|
s.update(o) && requestAnimationFrame(r);
|
|
512
512
|
}
|
|
@@ -957,7 +957,7 @@ let kA = class extends EA {
|
|
|
957
957
|
const a = this.canvas[e].getContext("2d");
|
|
958
958
|
if (!a)
|
|
959
959
|
return;
|
|
960
|
-
const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, f =
|
|
960
|
+
const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, f = Fl(i.move || {}, this.clientWidth, this.clientHeight);
|
|
961
961
|
let m = [f];
|
|
962
962
|
if (a.strokeStyle = c, a.beginPath(), a.moveTo(f.x, f.y), h && !s) {
|
|
963
963
|
let p = [];
|
|
@@ -968,7 +968,7 @@ let kA = class extends EA {
|
|
|
968
968
|
return a.clearRect(0, 0, g.canvas[u].width, g.canvas[u].height), (w = g.tween) == null ? void 0 : w.stop();
|
|
969
969
|
const b = Math.floor(v);
|
|
970
970
|
if (!p.find((M) => M === b)) {
|
|
971
|
-
if (p.push(b), m.push(
|
|
971
|
+
if (p.push(b), m.push(Fl(l[b], g.clientWidth, g.clientHeight)), m.length < 3)
|
|
972
972
|
return;
|
|
973
973
|
const { control: M, end: k } = ca(m);
|
|
974
974
|
if (!M || !k)
|
|
@@ -980,7 +980,7 @@ let kA = class extends EA {
|
|
|
980
980
|
});
|
|
981
981
|
} else {
|
|
982
982
|
for (let p = 0; p < l.length; p++) {
|
|
983
|
-
if (m.push(
|
|
983
|
+
if (m.push(Fl(l[p], this.clientWidth, this.clientHeight)), m.length < 3)
|
|
984
984
|
continue;
|
|
985
985
|
const { control: g, end: v } = ca(m);
|
|
986
986
|
!g || !v || a.quadraticCurveTo(g.x, g.y, v.x, v.y);
|
|
@@ -1143,7 +1143,7 @@ class Ct {
|
|
|
1143
1143
|
return i;
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
|
-
class
|
|
1146
|
+
class xc {
|
|
1147
1147
|
constructor(t = 0, e = 0) {
|
|
1148
1148
|
d(this, "min");
|
|
1149
1149
|
d(this, "max");
|
|
@@ -1169,7 +1169,7 @@ let DA = class {
|
|
|
1169
1169
|
d(this, "xInterval");
|
|
1170
1170
|
d(this, "yInterval");
|
|
1171
1171
|
d(this, "isRectangle", !0);
|
|
1172
|
-
this.min = t, this.max = e, this.xInterval = new
|
|
1172
|
+
this.min = t, this.max = e, this.xInterval = new xc(this.min.x, this.max.x), this.yInterval = new xc(this.min.y, this.max.y);
|
|
1173
1173
|
}
|
|
1174
1174
|
/** 是否与矩形是否重叠 */
|
|
1175
1175
|
isOverlapWithRectangle(t) {
|
|
@@ -1214,7 +1214,7 @@ function OA(n) {
|
|
|
1214
1214
|
if (n)
|
|
1215
1215
|
return Array.isArray(n) ? typeof n[0] == "number" ? Ue(n) : n.map(Ue) : Ue(n);
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function Nl(n, t, e) {
|
|
1218
1218
|
const { x: i, y: s, z: r } = t.clone().project(n);
|
|
1219
1219
|
return r > 1 ? void 0 : {
|
|
1220
1220
|
leftPx: (i + 1) / 2 * e.x,
|
|
@@ -1237,7 +1237,7 @@ const Pr = (n, t) => {
|
|
|
1237
1237
|
return n;
|
|
1238
1238
|
const e = new P.Vector3(), i = new P.Quaternion(), s = new P.Vector3();
|
|
1239
1239
|
return t.decompose(e, i, s), n.clone().multiply(s).applyQuaternion(i).add(e);
|
|
1240
|
-
},
|
|
1240
|
+
}, Gl = /* @__PURE__ */ new Map();
|
|
1241
1241
|
class jA extends Cm {
|
|
1242
1242
|
constructor(e) {
|
|
1243
1243
|
super(e);
|
|
@@ -1246,10 +1246,10 @@ class jA extends Cm {
|
|
|
1246
1246
|
get fromType() {
|
|
1247
1247
|
var s, r;
|
|
1248
1248
|
const e = this.workCode;
|
|
1249
|
-
if (
|
|
1250
|
-
return
|
|
1249
|
+
if (Gl.has(e))
|
|
1250
|
+
return Gl.get(e);
|
|
1251
1251
|
const i = (r = (s = JSON.parse(this.work.raw.works[0])) == null ? void 0 : s.from_type) != null ? r : "vr";
|
|
1252
|
-
return
|
|
1252
|
+
return Gl.set(e, i), i;
|
|
1253
1253
|
}
|
|
1254
1254
|
/**
|
|
1255
1255
|
* @description 设置插件当前的 workCode
|
|
@@ -1309,7 +1309,7 @@ class jA extends Cm {
|
|
|
1309
1309
|
return (i = this.observers) == null ? void 0 : i[e];
|
|
1310
1310
|
}
|
|
1311
1311
|
}
|
|
1312
|
-
class
|
|
1312
|
+
class cl extends Cm {
|
|
1313
1313
|
constructor(e) {
|
|
1314
1314
|
super(e);
|
|
1315
1315
|
d(this, "workUtil", new jA(this.five));
|
|
@@ -1333,23 +1333,23 @@ class hl extends Cm {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
class Co extends P.Raycaster {
|
|
1335
1335
|
intersectObject(t, e = !0, i = []) {
|
|
1336
|
-
return
|
|
1336
|
+
return Sc(t, this, i, e), i.sort(Nu), i;
|
|
1337
1337
|
}
|
|
1338
1338
|
intersectObjects(t, e = !0, i = []) {
|
|
1339
1339
|
for (let s = 0, r = t.length; s < r; s++)
|
|
1340
|
-
|
|
1340
|
+
Sc(t[s], this, i, e);
|
|
1341
1341
|
return i.sort(Nu), i;
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
1344
1344
|
function Nu(n, t) {
|
|
1345
1345
|
return n.distance - t.distance;
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1347
|
+
function Sc(n, t, e, i) {
|
|
1348
1348
|
let s = !0;
|
|
1349
1349
|
if (n.layers.test(t.layers) && n.raycast(t, e) === !1 && (s = !1), s === !0 && i === !0) {
|
|
1350
1350
|
const r = n.children;
|
|
1351
1351
|
for (let o = 0, a = r.length; o < a; o++)
|
|
1352
|
-
|
|
1352
|
+
Sc(r[o], t, e, !0);
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
function ph(n, t, e, i) {
|
|
@@ -1362,7 +1362,7 @@ function ph(n, t, e, i) {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
const vn = new Co();
|
|
1364
1364
|
vn.params.Points.threshold = 0.02;
|
|
1365
|
-
function
|
|
1365
|
+
function ja(n, t) {
|
|
1366
1366
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
1367
1367
|
return {
|
|
1368
1368
|
observe: () => window.addEventListener("resize", n),
|
|
@@ -1376,7 +1376,7 @@ function Ra(n, t) {
|
|
|
1376
1376
|
};
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function hl(n, t = 200) {
|
|
1380
1380
|
let e;
|
|
1381
1381
|
return function(...i) {
|
|
1382
1382
|
e || (n(...i), e = setTimeout(function() {
|
|
@@ -1386,7 +1386,7 @@ function ul(n, t = 200) {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
function gh(n, t) {
|
|
1388
1388
|
let e = !1;
|
|
1389
|
-
const i =
|
|
1389
|
+
const i = hl(() => {
|
|
1390
1390
|
e || (e = !0, n.ready().then(() => {
|
|
1391
1391
|
t(), e = !1;
|
|
1392
1392
|
}));
|
|
@@ -1484,7 +1484,7 @@ class Ho {
|
|
|
1484
1484
|
a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
|
|
1485
1485
|
});
|
|
1486
1486
|
var s, r, o;
|
|
1487
|
-
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new
|
|
1487
|
+
this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new cl(t), this.originPosition = e ? Ue(e).clone() : void 0, this.transformedPosition = (r = this.originPosition) == null ? void 0 : r.clone(), this.positionsForRotate = (o = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : o.map((a) => Ue(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
|
|
1488
1488
|
const a = document.createElement("div");
|
|
1489
1489
|
return a.classList.add("light-tag"), a.style.width = "0", a.style.height = "0", a.style.position = "absolute", i != null && i.disableOpacityTransition || (a.style.transition = "opacity 0.2s linear"), a;
|
|
1490
1490
|
})(), this.addResizeListener(), this.show(), this.enable(), setTimeout(() => {
|
|
@@ -1574,7 +1574,7 @@ class Ho {
|
|
|
1574
1574
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
1575
1575
|
return;
|
|
1576
1576
|
}
|
|
1577
|
-
const e =
|
|
1577
|
+
const e = Nl(this.five.camera, this.transformedPosition, t);
|
|
1578
1578
|
if (!e) {
|
|
1579
1579
|
this.container.style.left = "-100%", this.container.style.top = "-100%";
|
|
1580
1580
|
return;
|
|
@@ -1587,7 +1587,7 @@ class Ho {
|
|
|
1587
1587
|
})(), s = (() => {
|
|
1588
1588
|
if (this.positionsForRotate === void 0 || this.positionsForRotate.length !== 2)
|
|
1589
1589
|
return 0;
|
|
1590
|
-
const [o, a] = this.positionsForRotate, l =
|
|
1590
|
+
const [o, a] = this.positionsForRotate, l = Nl(this.five.camera, o, t), c = Nl(this.five.camera, a, t);
|
|
1591
1591
|
if (!l || !c)
|
|
1592
1592
|
return 0;
|
|
1593
1593
|
const h = l.leftPx > c.leftPx ? c : l, u = l.leftPx > c.leftPx ? l : c, f = u.leftPx - h.leftPx, m = u.topPx - h.topPx;
|
|
@@ -1598,7 +1598,7 @@ class Ho {
|
|
|
1598
1598
|
addResizeListener() {
|
|
1599
1599
|
const t = this.five.getElement();
|
|
1600
1600
|
if (t) {
|
|
1601
|
-
const { observe: e, unobserve: i } =
|
|
1601
|
+
const { observe: e, unobserve: i } = ja(this.onCameraUpdate, t);
|
|
1602
1602
|
e(), this.disposers.push(i);
|
|
1603
1603
|
}
|
|
1604
1604
|
}
|
|
@@ -3048,11 +3048,11 @@ var bn = function(n) {
|
|
|
3048
3048
|
};
|
|
3049
3049
|
bn.prototype = Object.create(gr.prototype);
|
|
3050
3050
|
bn.prototype.constructor = bn;
|
|
3051
|
-
var
|
|
3051
|
+
var Ra = function(n) {
|
|
3052
3052
|
bn.call(this, n);
|
|
3053
3053
|
};
|
|
3054
|
-
|
|
3055
|
-
|
|
3054
|
+
Ra.prototype = Object.create(bn.prototype);
|
|
3055
|
+
Ra.prototype.constructor = Ra;
|
|
3056
3056
|
let HA = function(n) {
|
|
3057
3057
|
let t = this, e, i, s, r, o = new nt(), a = {
|
|
3058
3058
|
camera: { fov: 0, style: "" },
|
|
@@ -3150,7 +3150,7 @@ function FA(n, t, e = !0) {
|
|
|
3150
3150
|
unobserve: () => s.unobserve(n)
|
|
3151
3151
|
};
|
|
3152
3152
|
}
|
|
3153
|
-
class
|
|
3153
|
+
class Ba extends HA {
|
|
3154
3154
|
constructor(e) {
|
|
3155
3155
|
super(e);
|
|
3156
3156
|
d(this, "wrapper");
|
|
@@ -3222,14 +3222,14 @@ Bi.style.height = "100%";
|
|
|
3222
3222
|
Bi.style.pointerEvents = "none";
|
|
3223
3223
|
function vh(n) {
|
|
3224
3224
|
var i, s, r, o, a;
|
|
3225
|
-
const t = (a = (s =
|
|
3225
|
+
const t = (a = (s = Wl(n.getElement())) != null ? s : Wl((i = n.getElement()) == null ? void 0 : i.parentElement)) != null ? a : Wl((o = (r = n.getElement()) == null ? void 0 : r.parentElement) == null ? void 0 : o.parentElement), e = t == null ? void 0 : t.parentElement;
|
|
3226
3226
|
if (e)
|
|
3227
3227
|
return e.contains(Bi) || t.parentElement.insertBefore(Bi, t), Bi;
|
|
3228
3228
|
console.error(
|
|
3229
3229
|
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
|
|
3230
3230
|
);
|
|
3231
3231
|
}
|
|
3232
|
-
function
|
|
3232
|
+
function Wl(n) {
|
|
3233
3233
|
var a;
|
|
3234
3234
|
if (!n)
|
|
3235
3235
|
return;
|
|
@@ -3248,9 +3248,9 @@ function Fo(n) {
|
|
|
3248
3248
|
return to[2];
|
|
3249
3249
|
(s = to[1]) == null || s.dispose();
|
|
3250
3250
|
}
|
|
3251
|
-
const t = new
|
|
3251
|
+
const t = new Ba("front");
|
|
3252
3252
|
t.domElementWrapper.style.zIndex = "1";
|
|
3253
|
-
const e = new
|
|
3253
|
+
const e = new Ba("behind");
|
|
3254
3254
|
Ai(n).then(() => {
|
|
3255
3255
|
var a;
|
|
3256
3256
|
const r = (a = n.getElement()) == null ? void 0 : a.parentElement, o = vh(n);
|
|
@@ -3450,7 +3450,7 @@ class Gu extends cA {
|
|
|
3450
3450
|
};
|
|
3451
3451
|
}
|
|
3452
3452
|
}
|
|
3453
|
-
const
|
|
3453
|
+
const Ul = {
|
|
3454
3454
|
uniforms: P.UniformsUtils.merge([
|
|
3455
3455
|
P.UniformsLib.common,
|
|
3456
3456
|
P.UniformsLib.fog,
|
|
@@ -3670,9 +3670,9 @@ class km extends P.ShaderMaterial {
|
|
|
3670
3670
|
// to be set by renderer
|
|
3671
3671
|
constructor(e) {
|
|
3672
3672
|
super({
|
|
3673
|
-
uniforms: P.UniformsUtils.clone(
|
|
3674
|
-
vertexShader:
|
|
3675
|
-
fragmentShader:
|
|
3673
|
+
uniforms: P.UniformsUtils.clone(Ul.uniforms),
|
|
3674
|
+
vertexShader: Ul.vertexShader,
|
|
3675
|
+
fragmentShader: Ul.fragmentShader,
|
|
3676
3676
|
clipping: !0
|
|
3677
3677
|
// required for clipping support
|
|
3678
3678
|
});
|
|
@@ -4042,7 +4042,7 @@ class bi extends di {
|
|
|
4042
4042
|
}), this.doms.length > s.length && (this.doms.slice(s.length).forEach((r) => r.destroy()), this.doms.length = s.length);
|
|
4043
4043
|
}
|
|
4044
4044
|
}
|
|
4045
|
-
class JA extends
|
|
4045
|
+
class JA extends Ra {
|
|
4046
4046
|
constructor() {
|
|
4047
4047
|
super(...arguments);
|
|
4048
4048
|
d(this, "isCSS3DSprite", !0);
|
|
@@ -4272,7 +4272,7 @@ function Jn(n) {
|
|
|
4272
4272
|
}
|
|
4273
4273
|
}
|
|
4274
4274
|
const Uu = new P.Vector3(), tr = () => !1;
|
|
4275
|
-
class
|
|
4275
|
+
class ul extends Ct {
|
|
4276
4276
|
constructor(e, i) {
|
|
4277
4277
|
var o, a, l, c;
|
|
4278
4278
|
super();
|
|
@@ -4928,16 +4928,16 @@ class _m extends Dv {
|
|
|
4928
4928
|
super(t, e);
|
|
4929
4929
|
}
|
|
4930
4930
|
}
|
|
4931
|
-
const
|
|
4931
|
+
const Ql = new P.Vector3();
|
|
4932
4932
|
class yb extends P.Sphere {
|
|
4933
4933
|
expandByPoint(t) {
|
|
4934
4934
|
if (this.isEmpty())
|
|
4935
4935
|
return this.center.copy(t), this.radius = 0, this;
|
|
4936
|
-
|
|
4937
|
-
const e =
|
|
4936
|
+
Ql.subVectors(t, this.center);
|
|
4937
|
+
const e = Ql.lengthSq();
|
|
4938
4938
|
if (e > this.radius * this.radius) {
|
|
4939
4939
|
const i = Math.sqrt(e), s = (i - this.radius) * 0.5;
|
|
4940
|
-
this.center.addScaledVector(
|
|
4940
|
+
this.center.addScaledVector(Ql, s / i), this.radius += s;
|
|
4941
4941
|
}
|
|
4942
4942
|
return this;
|
|
4943
4943
|
}
|
|
@@ -4983,12 +4983,12 @@ function Vm(n) {
|
|
|
4983
4983
|
return wh(n, "sphere");
|
|
4984
4984
|
}
|
|
4985
4985
|
function Pb(n) {
|
|
4986
|
-
return
|
|
4986
|
+
return dl(n, "box3");
|
|
4987
4987
|
}
|
|
4988
4988
|
function Hm(n) {
|
|
4989
|
-
return
|
|
4989
|
+
return dl(n, "sphere");
|
|
4990
4990
|
}
|
|
4991
|
-
function
|
|
4991
|
+
function dl(n, t) {
|
|
4992
4992
|
const e = t === "box3" ? new P.Box3() : new yb(), i = new P.Vector3();
|
|
4993
4993
|
if (n.updateWorldMatrix(!1, !1), n.traverse((s) => {
|
|
4994
4994
|
var o;
|
|
@@ -5010,7 +5010,7 @@ function fl(n, t) {
|
|
|
5010
5010
|
return e;
|
|
5011
5011
|
}
|
|
5012
5012
|
function wh(n, t) {
|
|
5013
|
-
const e =
|
|
5013
|
+
const e = dl(n, t);
|
|
5014
5014
|
return e && e.applyMatrix4(Cb(n.matrixWorld.clone())), e;
|
|
5015
5015
|
}
|
|
5016
5016
|
const Cb = (n) => {
|
|
@@ -5039,7 +5039,7 @@ var Fm = {
|
|
|
5039
5039
|
endDelay: 0,
|
|
5040
5040
|
easing: "easeOutElastic(1, .5)",
|
|
5041
5041
|
round: 0
|
|
5042
|
-
}, Ib = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"],
|
|
5042
|
+
}, Ib = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"], _a = {
|
|
5043
5043
|
CSS: {},
|
|
5044
5044
|
springs: {}
|
|
5045
5045
|
};
|
|
@@ -5049,7 +5049,7 @@ function Zi(n, t, e) {
|
|
|
5049
5049
|
function mo(n, t) {
|
|
5050
5050
|
return n.indexOf(t) > -1;
|
|
5051
5051
|
}
|
|
5052
|
-
function
|
|
5052
|
+
function Xl(n, t) {
|
|
5053
5053
|
return n.apply(null, t);
|
|
5054
5054
|
}
|
|
5055
5055
|
var He = {
|
|
@@ -5112,7 +5112,7 @@ function Gm(n, t) {
|
|
|
5112
5112
|
return l < 1 ? g = Math.exp(-g * l * a) * (h * Math.cos(c * g) + u * Math.sin(c * g)) : g = (h + u * g) * Math.exp(-g * a), p === 0 || p === 1 ? p : 1 - g;
|
|
5113
5113
|
}
|
|
5114
5114
|
function m() {
|
|
5115
|
-
var p =
|
|
5115
|
+
var p = _a.springs[n];
|
|
5116
5116
|
if (p)
|
|
5117
5117
|
return p;
|
|
5118
5118
|
for (var g = 1 / 6, v = 0, b = 0; ; )
|
|
@@ -5122,7 +5122,7 @@ function Gm(n, t) {
|
|
|
5122
5122
|
} else
|
|
5123
5123
|
b = 0;
|
|
5124
5124
|
var w = v * g * 1e3;
|
|
5125
|
-
return
|
|
5125
|
+
return _a.springs[n] = w, w;
|
|
5126
5126
|
}
|
|
5127
5127
|
return t ? f : m;
|
|
5128
5128
|
}
|
|
@@ -5256,11 +5256,11 @@ function Ch(n, t) {
|
|
|
5256
5256
|
case "spring":
|
|
5257
5257
|
return Gm(n, t);
|
|
5258
5258
|
case "cubicBezier":
|
|
5259
|
-
return
|
|
5259
|
+
return Xl(Mb, s);
|
|
5260
5260
|
case "steps":
|
|
5261
|
-
return
|
|
5261
|
+
return Xl(Eb, s);
|
|
5262
5262
|
default:
|
|
5263
|
-
return
|
|
5263
|
+
return Xl(i, s);
|
|
5264
5264
|
}
|
|
5265
5265
|
}
|
|
5266
5266
|
function Um(n) {
|
|
@@ -5271,7 +5271,7 @@ function Um(n) {
|
|
|
5271
5271
|
return;
|
|
5272
5272
|
}
|
|
5273
5273
|
}
|
|
5274
|
-
function
|
|
5274
|
+
function fl(n, t) {
|
|
5275
5275
|
for (var e = n.length, i = arguments.length >= 2 ? arguments[1] : void 0, s = [], r = 0; r < e; r++)
|
|
5276
5276
|
if (r in n) {
|
|
5277
5277
|
var o = n[r];
|
|
@@ -5279,9 +5279,9 @@ function pl(n, t) {
|
|
|
5279
5279
|
}
|
|
5280
5280
|
return s;
|
|
5281
5281
|
}
|
|
5282
|
-
function
|
|
5282
|
+
function pl(n) {
|
|
5283
5283
|
return n.reduce(function(t, e) {
|
|
5284
|
-
return t.concat(He.arr(e) ?
|
|
5284
|
+
return t.concat(He.arr(e) ? pl(e) : e);
|
|
5285
5285
|
}, []);
|
|
5286
5286
|
}
|
|
5287
5287
|
function Xu(n) {
|
|
@@ -5298,13 +5298,13 @@ function Eh(n) {
|
|
|
5298
5298
|
t[e] = n[e];
|
|
5299
5299
|
return t;
|
|
5300
5300
|
}
|
|
5301
|
-
function
|
|
5301
|
+
function Dc(n, t) {
|
|
5302
5302
|
var e = Eh(n);
|
|
5303
5303
|
for (var i in n)
|
|
5304
5304
|
e[i] = t.hasOwnProperty(i) ? t[i] : n[i];
|
|
5305
5305
|
return e;
|
|
5306
5306
|
}
|
|
5307
|
-
function
|
|
5307
|
+
function gl(n, t) {
|
|
5308
5308
|
var e = Eh(n);
|
|
5309
5309
|
for (var i in t)
|
|
5310
5310
|
e[i] = He.und(n[i]) ? t[i] : n[i];
|
|
@@ -5353,7 +5353,7 @@ function Tb(n) {
|
|
|
5353
5353
|
if (mo(n, "rotate") || mo(n, "skew"))
|
|
5354
5354
|
return "deg";
|
|
5355
5355
|
}
|
|
5356
|
-
function
|
|
5356
|
+
function Tc(n, t) {
|
|
5357
5357
|
return He.fnc(n) ? n(t.target, t.id, t.total) : n;
|
|
5358
5358
|
}
|
|
5359
5359
|
function qi(n, t) {
|
|
@@ -5363,7 +5363,7 @@ function Mh(n, t, e) {
|
|
|
5363
5363
|
var i = An(t);
|
|
5364
5364
|
if (Ih([e, "deg", "rad", "turn"], i))
|
|
5365
5365
|
return t;
|
|
5366
|
-
var s =
|
|
5366
|
+
var s = _a.CSS[t + e];
|
|
5367
5367
|
if (!He.und(s))
|
|
5368
5368
|
return s;
|
|
5369
5369
|
var r = 100, o = document.createElement(n.tagName), a = n.parentNode && n.parentNode !== document ? n.parentNode : document.body;
|
|
@@ -5371,7 +5371,7 @@ function Mh(n, t, e) {
|
|
|
5371
5371
|
var l = r / o.offsetWidth;
|
|
5372
5372
|
a.removeChild(o);
|
|
5373
5373
|
var c = l * parseFloat(t);
|
|
5374
|
-
return
|
|
5374
|
+
return _a.CSS[t + e] = c, c;
|
|
5375
5375
|
}
|
|
5376
5376
|
function Qm(n, t, e) {
|
|
5377
5377
|
if (t in n.style) {
|
|
@@ -5534,8 +5534,8 @@ function Yu(n, t) {
|
|
|
5534
5534
|
};
|
|
5535
5535
|
}
|
|
5536
5536
|
function Th(n) {
|
|
5537
|
-
var t = n ?
|
|
5538
|
-
return
|
|
5537
|
+
var t = n ? pl(He.arr(n) ? n.map(Xu) : Xu(n)) : [];
|
|
5538
|
+
return fl(t, function(e, i, s) {
|
|
5539
5539
|
return s.indexOf(e) === i;
|
|
5540
5540
|
});
|
|
5541
5541
|
}
|
|
@@ -5556,11 +5556,11 @@ function Fb(n, t) {
|
|
|
5556
5556
|
var l = He.obj(o) && !He.pth(o) ? o : { value: o };
|
|
5557
5557
|
return He.und(l.delay) && (l.delay = a ? 0 : t.delay), He.und(l.endDelay) && (l.endDelay = a === r.length - 1 ? t.endDelay : 0), l;
|
|
5558
5558
|
}).map(function(o) {
|
|
5559
|
-
return
|
|
5559
|
+
return gl(o, e);
|
|
5560
5560
|
});
|
|
5561
5561
|
}
|
|
5562
5562
|
function Nb(n) {
|
|
5563
|
-
for (var t = pl(
|
|
5563
|
+
for (var t = fl(pl(n.map(function(r) {
|
|
5564
5564
|
return Object.keys(r);
|
|
5565
5565
|
})), function(r) {
|
|
5566
5566
|
return He.key(r);
|
|
@@ -5580,7 +5580,7 @@ function Nb(n) {
|
|
|
5580
5580
|
}
|
|
5581
5581
|
function Gb(n, t) {
|
|
5582
5582
|
var e = [], i = t.keyframes;
|
|
5583
|
-
i && (t =
|
|
5583
|
+
i && (t = gl(Nb(i), t));
|
|
5584
5584
|
for (var s in t)
|
|
5585
5585
|
He.key(s) && e.push({
|
|
5586
5586
|
name: s,
|
|
@@ -5591,9 +5591,9 @@ function Gb(n, t) {
|
|
|
5591
5591
|
function Wb(n, t) {
|
|
5592
5592
|
var e = {};
|
|
5593
5593
|
for (var i in n) {
|
|
5594
|
-
var s =
|
|
5594
|
+
var s = Tc(n[i], t);
|
|
5595
5595
|
He.arr(s) && (s = s.map(function(r) {
|
|
5596
|
-
return
|
|
5596
|
+
return Tc(r, t);
|
|
5597
5597
|
}), s.length === 1 && (s = s[0])), e[i] = s;
|
|
5598
5598
|
}
|
|
5599
5599
|
return e.duration = parseFloat(e.duration), e.delay = parseFloat(e.delay), e;
|
|
@@ -5628,7 +5628,7 @@ function e0(n, t) {
|
|
|
5628
5628
|
var e = Km(n);
|
|
5629
5629
|
e.forEach(function(i) {
|
|
5630
5630
|
for (var s in t) {
|
|
5631
|
-
var r =
|
|
5631
|
+
var r = Tc(t[s], i), o = i.target, a = An(r), l = xh(o, s, a, i), c = a || An(l), h = Sh(Ym(r, c), l), u = kh(o, s);
|
|
5632
5632
|
$m[u](o, s, h, i.transforms, !0);
|
|
5633
5633
|
}
|
|
5634
5634
|
});
|
|
@@ -5649,7 +5649,7 @@ function Qb(n, t) {
|
|
|
5649
5649
|
}
|
|
5650
5650
|
}
|
|
5651
5651
|
function Xb(n, t) {
|
|
5652
|
-
return pl(
|
|
5652
|
+
return fl(pl(n.map(function(e) {
|
|
5653
5653
|
return t.map(function(i) {
|
|
5654
5654
|
return Qb(e, i);
|
|
5655
5655
|
});
|
|
@@ -5671,8 +5671,8 @@ function t0(n, t) {
|
|
|
5671
5671
|
}
|
|
5672
5672
|
var Zu = 0;
|
|
5673
5673
|
function Yb(n) {
|
|
5674
|
-
var t =
|
|
5675
|
-
return Zu++,
|
|
5674
|
+
var t = Dc(Fm, n), e = Dc(Ph, n), i = Gb(e, n), s = Km(n.targets), r = Xb(s, i), o = t0(r, e), a = Zu;
|
|
5675
|
+
return Zu++, gl(t, {
|
|
5676
5676
|
id: a,
|
|
5677
5677
|
children: [],
|
|
5678
5678
|
animatables: s,
|
|
@@ -5685,7 +5685,7 @@ function Yb(n) {
|
|
|
5685
5685
|
var ji = [], i0 = function() {
|
|
5686
5686
|
var n;
|
|
5687
5687
|
function t() {
|
|
5688
|
-
!n && (!qu() || !
|
|
5688
|
+
!n && (!qu() || !ut.suspendWhenDocumentHidden) && ji.length > 0 && (n = requestAnimationFrame(e));
|
|
5689
5689
|
}
|
|
5690
5690
|
function e(s) {
|
|
5691
5691
|
for (var r = ji.length, o = 0; o < r; ) {
|
|
@@ -5695,7 +5695,7 @@ var ji = [], i0 = function() {
|
|
|
5695
5695
|
n = o > 0 ? requestAnimationFrame(e) : void 0;
|
|
5696
5696
|
}
|
|
5697
5697
|
function i() {
|
|
5698
|
-
|
|
5698
|
+
ut.suspendWhenDocumentHidden && (qu() ? n = cancelAnimationFrame(n) : (ji.forEach(
|
|
5699
5699
|
function(s) {
|
|
5700
5700
|
return s._onDocumentVisibility();
|
|
5701
5701
|
}
|
|
@@ -5706,7 +5706,7 @@ var ji = [], i0 = function() {
|
|
|
5706
5706
|
function qu() {
|
|
5707
5707
|
return !!document && document.hidden;
|
|
5708
5708
|
}
|
|
5709
|
-
function
|
|
5709
|
+
function ut(n) {
|
|
5710
5710
|
n === void 0 && (n = {});
|
|
5711
5711
|
var t = 0, e = 0, i = 0, s, r = 0, o = null;
|
|
5712
5712
|
function a(w) {
|
|
@@ -5727,7 +5727,7 @@ function ht(n) {
|
|
|
5727
5727
|
return l.reversed ? l.duration - w : w;
|
|
5728
5728
|
}
|
|
5729
5729
|
function u() {
|
|
5730
|
-
t = 0, e = h(l.currentTime) * (1 /
|
|
5730
|
+
t = 0, e = h(l.currentTime) * (1 / ut.speed);
|
|
5731
5731
|
}
|
|
5732
5732
|
function f(w, M) {
|
|
5733
5733
|
M && M.seek(w - M.timelineOffset);
|
|
@@ -5743,7 +5743,7 @@ function ht(n) {
|
|
|
5743
5743
|
function p(w) {
|
|
5744
5744
|
for (var M = 0, k = l.animations, L = k.length; M < L; ) {
|
|
5745
5745
|
var D = k[M], N = D.animatable, z = D.tweens, B = z.length - 1, A = z[B];
|
|
5746
|
-
B && (A =
|
|
5746
|
+
B && (A = fl(z, function(ze) {
|
|
5747
5747
|
return w < ze.end;
|
|
5748
5748
|
})[0] || A);
|
|
5749
5749
|
for (var C = Zi(w - A.start - A.delay, 0, A.duration) / A.duration, I = isNaN(C) ? 1 : A.easing(C), E = A.to.strings, S = A.round, T = [], F = A.to.numbers.length, R = void 0, q = 0; q < F; q++) {
|
|
@@ -5783,7 +5783,7 @@ function ht(n) {
|
|
|
5783
5783
|
}, l._onDocumentVisibility = u, l.set = function(w, M) {
|
|
5784
5784
|
return e0(w, M), l;
|
|
5785
5785
|
}, l.tick = function(w) {
|
|
5786
|
-
i = w, t || (t = i), b((i + (e - t)) *
|
|
5786
|
+
i = w, t || (t = i), b((i + (e - t)) * ut.speed);
|
|
5787
5787
|
}, l.seek = function(w) {
|
|
5788
5788
|
b(h(w));
|
|
5789
5789
|
}, l.pause = function() {
|
|
@@ -5844,7 +5844,7 @@ function qb(n, t) {
|
|
|
5844
5844
|
}
|
|
5845
5845
|
function Jb(n) {
|
|
5846
5846
|
n === void 0 && (n = {});
|
|
5847
|
-
var t =
|
|
5847
|
+
var t = ut(n);
|
|
5848
5848
|
return t.duration = 0, t.add = function(e, i) {
|
|
5849
5849
|
var s = ji.indexOf(t), r = t.children;
|
|
5850
5850
|
s > -1 && ji.splice(s, 1);
|
|
@@ -5853,31 +5853,31 @@ function Jb(n) {
|
|
|
5853
5853
|
}
|
|
5854
5854
|
for (var a = 0; a < r.length; a++)
|
|
5855
5855
|
o(r[a]);
|
|
5856
|
-
var l =
|
|
5856
|
+
var l = gl(e, Dc(Ph, n));
|
|
5857
5857
|
l.targets = l.targets || n.targets;
|
|
5858
5858
|
var c = t.duration;
|
|
5859
5859
|
l.autoplay = !1, l.direction = t.direction, l.timelineOffset = He.und(i) ? c : Sh(i, c), o(t), t.seek(l.timelineOffset);
|
|
5860
|
-
var h =
|
|
5860
|
+
var h = ut(l);
|
|
5861
5861
|
o(h), r.push(h);
|
|
5862
5862
|
var u = t0(r, n);
|
|
5863
5863
|
return t.delay = u.delay, t.endDelay = u.endDelay, t.duration = u.duration, t.seek(0), t.reset(), t.autoplay && t.play(), t;
|
|
5864
5864
|
}, t;
|
|
5865
5865
|
}
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5866
|
+
ut.version = "3.2.1";
|
|
5867
|
+
ut.speed = 1;
|
|
5868
|
+
ut.suspendWhenDocumentHidden = !0;
|
|
5869
|
+
ut.running = ji;
|
|
5870
|
+
ut.remove = Zb;
|
|
5871
|
+
ut.get = xh;
|
|
5872
|
+
ut.set = e0;
|
|
5873
|
+
ut.convertPx = Mh;
|
|
5874
|
+
ut.path = Vb;
|
|
5875
|
+
ut.setDashoffset = Bb;
|
|
5876
|
+
ut.stagger = qb;
|
|
5877
|
+
ut.timeline = Jb;
|
|
5878
|
+
ut.easing = Ch;
|
|
5879
|
+
ut.penner = Wm;
|
|
5880
|
+
ut.random = function(n, t) {
|
|
5881
5881
|
return Math.floor(Math.random() * (t - n + 1)) + n;
|
|
5882
5882
|
};
|
|
5883
5883
|
const Ri = /* @__PURE__ */ new Map(), co = /* @__PURE__ */ new Map();
|
|
@@ -5909,7 +5909,7 @@ function Ku(n) {
|
|
|
5909
5909
|
i && (e instanceof HTMLElement && (e.style.opacity = i.opacity === void 0 ? "" : i.opacity, e.style.display = i.visible.display, e.style.visibility = i.visible.visibility), e.isObject3D && (e.visible = i.visible, e.material && (e.material instanceof P.ShaderMaterial ? (e.material.uniforms.opacity && (e.material.uniforms.opacity.value = i.opacity), e.material.transparent = i.transparent) : (e.material.opacity = i.opacity, e.material.transparent = i.transparent))), Ri.delete(e));
|
|
5910
5910
|
});
|
|
5911
5911
|
}
|
|
5912
|
-
function
|
|
5912
|
+
function ml(n, t) {
|
|
5913
5913
|
var a;
|
|
5914
5914
|
const e = (a = t == null ? void 0 : t.traverseTHREEObject) != null ? a : !0;
|
|
5915
5915
|
let i = Pn(n);
|
|
@@ -5919,7 +5919,7 @@ function vl(n, t) {
|
|
|
5919
5919
|
c && s.push(c);
|
|
5920
5920
|
})) : s.push(l)));
|
|
5921
5921
|
}), i = [...new Set(s.filter(Boolean))], Kb(i);
|
|
5922
|
-
const r =
|
|
5922
|
+
const r = ut(H({
|
|
5923
5923
|
targets: i,
|
|
5924
5924
|
duration: 300,
|
|
5925
5925
|
easing: "linear",
|
|
@@ -5953,7 +5953,7 @@ function vl(n, t) {
|
|
|
5953
5953
|
}), r;
|
|
5954
5954
|
}
|
|
5955
5955
|
function s0(n, t) {
|
|
5956
|
-
return
|
|
5956
|
+
return ml(n, H({
|
|
5957
5957
|
update: (e) => {
|
|
5958
5958
|
var i;
|
|
5959
5959
|
e.animatables.forEach((s) => {
|
|
@@ -6064,15 +6064,15 @@ class ry extends r0 {
|
|
|
6064
6064
|
}), super.add(...e), this;
|
|
6065
6065
|
}
|
|
6066
6066
|
}
|
|
6067
|
-
const oy = 3,
|
|
6067
|
+
const oy = 3, Lc = "CSS3DRenderer", ho = `${Lc}@${oy}`, ir = () => {
|
|
6068
6068
|
console.error(`${ho} is disposed`);
|
|
6069
6069
|
}, Et = {
|
|
6070
6070
|
css3DObjects: [],
|
|
6071
6071
|
frontModeStore: {
|
|
6072
|
-
css3DRenderer: new
|
|
6072
|
+
css3DRenderer: new Ba()
|
|
6073
6073
|
},
|
|
6074
6074
|
behindModeStore: {
|
|
6075
|
-
css3DRenderer: new
|
|
6075
|
+
css3DRenderer: new Ba()
|
|
6076
6076
|
}
|
|
6077
6077
|
};
|
|
6078
6078
|
function $u(n) {
|
|
@@ -6188,7 +6188,7 @@ class Mo {
|
|
|
6188
6188
|
});
|
|
6189
6189
|
d(this, "createObject", (t, e) => {
|
|
6190
6190
|
const i = new Om(he(H({ cornerPoints: t }, e), { style: e.wrapperStyle }));
|
|
6191
|
-
return i.element.classList.add(`${
|
|
6191
|
+
return i.element.classList.add(`${Lc}__container`), i.element.id = `${Lc}__container--${i.uuid}`, i;
|
|
6192
6192
|
});
|
|
6193
6193
|
t && this.setScene(t);
|
|
6194
6194
|
}
|
|
@@ -6442,7 +6442,7 @@ let cy = class extends Mo {
|
|
|
6442
6442
|
}), this.created3DElementResults = [];
|
|
6443
6443
|
}
|
|
6444
6444
|
};
|
|
6445
|
-
const
|
|
6445
|
+
const vl = (n) => new cy(n);
|
|
6446
6446
|
class hy {
|
|
6447
6447
|
constructor(t) {
|
|
6448
6448
|
d(this, "five");
|
|
@@ -6453,7 +6453,7 @@ class hy {
|
|
|
6453
6453
|
d(this, "disposeCss3DObject");
|
|
6454
6454
|
d(this, "state", { enabled: !1 });
|
|
6455
6455
|
this.five = t;
|
|
6456
|
-
const i = 0.4 / 2, r =
|
|
6456
|
+
const i = 0.4 / 2, r = vl(t).create3DDomContainer(
|
|
6457
6457
|
[
|
|
6458
6458
|
[-i, i, 0],
|
|
6459
6459
|
[-i, -i, 0],
|
|
@@ -6556,13 +6556,13 @@ class my extends P.Object3D {
|
|
|
6556
6556
|
(e = this.planeMesh.material.map) == null || e.dispose();
|
|
6557
6557
|
}
|
|
6558
6558
|
}
|
|
6559
|
-
const
|
|
6560
|
-
function
|
|
6561
|
-
return (n %
|
|
6559
|
+
const Yl = Math.PI * 2;
|
|
6560
|
+
function zc(n) {
|
|
6561
|
+
return (n % Yl + Yl) % Yl;
|
|
6562
6562
|
}
|
|
6563
6563
|
function Go(n) {
|
|
6564
6564
|
return {
|
|
6565
|
-
longitude:
|
|
6565
|
+
longitude: zc(-Math.atan2(n.x, -n.z)),
|
|
6566
6566
|
latitude: -Math.asin(n.y / 1)
|
|
6567
6567
|
};
|
|
6568
6568
|
}
|
|
@@ -6574,7 +6574,7 @@ function vy(n, t, e) {
|
|
|
6574
6574
|
const i = Hm(t);
|
|
6575
6575
|
if (!i)
|
|
6576
6576
|
return;
|
|
6577
|
-
const s = new
|
|
6577
|
+
const s = new cl(n), r = (w = e == null ? void 0 : e.scale) != null ? w : 1.4, o = i.center, a = n.camera.position.clone().sub(o).setY(0).normalize(), l = n.state.mode === "Mapview" ? n.state.fov : 60, h = Math.max(1.5, i.radius * r), u = h * (1 / Math.tan(P.MathUtils.degToRad(l / 2)));
|
|
6578
6578
|
let f = 0;
|
|
6579
6579
|
const m = [], p = (L) => {
|
|
6580
6580
|
const D = P.MathUtils.degToRad(L);
|
|
@@ -6613,7 +6613,7 @@ function a0(n, t, e) {
|
|
|
6613
6613
|
var g, v;
|
|
6614
6614
|
if (!t)
|
|
6615
6615
|
return;
|
|
6616
|
-
const i = (g = e == null ? void 0 : e.distance) != null ? g : 3, s = new
|
|
6616
|
+
const i = (g = e == null ? void 0 : e.distance) != null ? g : 3, s = new cl(n), r = n.camera.position.clone().sub(t).setY(0).normalize(), o = n.state.mode === "Mapview" ? n.state.fov : 60, a = i, l = a * Math.cos(P.MathUtils.degToRad(o / 2)), c = a * Math.sin(P.MathUtils.degToRad(o / 2));
|
|
6617
6617
|
let h = 0;
|
|
6618
6618
|
const u = [], f = (b) => {
|
|
6619
6619
|
const w = P.MathUtils.degToRad(b);
|
|
@@ -6899,7 +6899,7 @@ function c0(n) {
|
|
|
6899
6899
|
function Lh(n, t) {
|
|
6900
6900
|
return c0(t) ? t : `${n}${t}`;
|
|
6901
6901
|
}
|
|
6902
|
-
class Ls extends
|
|
6902
|
+
class Ls extends ll {
|
|
6903
6903
|
constructor() {
|
|
6904
6904
|
super(...arguments);
|
|
6905
6905
|
d(this, "disposeMethods", []);
|
|
@@ -6952,10 +6952,10 @@ function wy() {
|
|
|
6952
6952
|
});
|
|
6953
6953
|
});
|
|
6954
6954
|
}
|
|
6955
|
-
function
|
|
6955
|
+
function Va(n) {
|
|
6956
6956
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
6957
6957
|
}
|
|
6958
|
-
function
|
|
6958
|
+
function Al(n, t) {
|
|
6959
6959
|
return n === t ? !0 : typeof n != typeof t ? !1 : !!(Number.isNaN(n) && Number.isNaN(t));
|
|
6960
6960
|
}
|
|
6961
6961
|
function Py(n, t) {
|
|
@@ -6964,7 +6964,7 @@ function Py(n, t) {
|
|
|
6964
6964
|
return !1;
|
|
6965
6965
|
for (let s = 0, r = e.length; s < r; s++) {
|
|
6966
6966
|
const o = e[s];
|
|
6967
|
-
if (!
|
|
6967
|
+
if (!Al(n[o], t[o]))
|
|
6968
6968
|
return !1;
|
|
6969
6969
|
}
|
|
6970
6970
|
return !0;
|
|
@@ -6973,15 +6973,15 @@ function Cy(n, t) {
|
|
|
6973
6973
|
if (n.length !== t.length)
|
|
6974
6974
|
return !1;
|
|
6975
6975
|
for (let e = 0, i = n.length; e < i; e++)
|
|
6976
|
-
if (!
|
|
6976
|
+
if (!Al(n[e], t[e]))
|
|
6977
6977
|
return !1;
|
|
6978
6978
|
return !0;
|
|
6979
6979
|
}
|
|
6980
6980
|
function Iy(n, t) {
|
|
6981
|
-
return
|
|
6981
|
+
return Al(n, t) ? !0 : Va(n) && Va(t) ? Py(n, t) : Array.isArray(n) && Array.isArray(t) ? Cy(n, t) : !1;
|
|
6982
6982
|
}
|
|
6983
6983
|
function zh(n, t) {
|
|
6984
|
-
return
|
|
6984
|
+
return Al(n, t) ? !0 : Va(n) && Va(t) ? My(n, t) : Array.isArray(n) && Array.isArray(t) ? Ey(n, t) : !1;
|
|
6985
6985
|
}
|
|
6986
6986
|
function Ey(n, t) {
|
|
6987
6987
|
if (n.length !== t.length)
|
|
@@ -7147,7 +7147,7 @@ class h0 extends hA {
|
|
|
7147
7147
|
};
|
|
7148
7148
|
}
|
|
7149
7149
|
}
|
|
7150
|
-
function
|
|
7150
|
+
function Zl(n, t, e = new ge(1, 1, 1), i = !1) {
|
|
7151
7151
|
const s = new h0(n, t);
|
|
7152
7152
|
return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
|
|
7153
7153
|
}
|
|
@@ -7168,17 +7168,17 @@ const eS = (n) => {
|
|
|
7168
7168
|
const s = (h, u = 2, f = 0.1) => {
|
|
7169
7169
|
const m = u / 2, g = c(h, f), v = new mn();
|
|
7170
7170
|
v.add(
|
|
7171
|
-
|
|
7171
|
+
Zl(
|
|
7172
7172
|
new ge(g.x + m, g.y, g.z),
|
|
7173
7173
|
new ge(g.x - m, g.y, g.z),
|
|
7174
7174
|
new ge(1, 0, 0)
|
|
7175
7175
|
),
|
|
7176
|
-
|
|
7176
|
+
Zl(
|
|
7177
7177
|
new ge(g.x, g.y + m, g.z),
|
|
7178
7178
|
new ge(g.x, g.y - m, g.z),
|
|
7179
7179
|
new ge(0, 1, 0)
|
|
7180
7180
|
),
|
|
7181
|
-
|
|
7181
|
+
Zl(
|
|
7182
7182
|
new ge(g.x, g.y, g.z + m),
|
|
7183
7183
|
new ge(g.x, g.y, g.z - m),
|
|
7184
7184
|
new ge(0, 0, 1)
|
|
@@ -7406,7 +7406,7 @@ function v0(n, t, { bubbles: e = !1, cancelable: i = !1 } = {}) {
|
|
|
7406
7406
|
const s = document.createEvent("CustomEvent");
|
|
7407
7407
|
return s.initCustomEvent(n, e, i, t), s;
|
|
7408
7408
|
}
|
|
7409
|
-
class
|
|
7409
|
+
class Ha {
|
|
7410
7410
|
constructor(t = !1) {
|
|
7411
7411
|
this.is_svg = !1, this.is_svg = t, this.e = this.n = null;
|
|
7412
7412
|
}
|
|
@@ -7430,8 +7430,8 @@ class Fa {
|
|
|
7430
7430
|
this.n.forEach(Q);
|
|
7431
7431
|
}
|
|
7432
7432
|
}
|
|
7433
|
-
const
|
|
7434
|
-
let
|
|
7433
|
+
const Fa = /* @__PURE__ */ new Map();
|
|
7434
|
+
let Na = 0;
|
|
7435
7435
|
function Oy(n) {
|
|
7436
7436
|
let t = 5381, e = n.length;
|
|
7437
7437
|
for (; e--; )
|
|
@@ -7440,9 +7440,9 @@ function Oy(n) {
|
|
|
7440
7440
|
}
|
|
7441
7441
|
function jy(n, t) {
|
|
7442
7442
|
const e = { stylesheet: Ty(t), rules: {} };
|
|
7443
|
-
return
|
|
7443
|
+
return Fa.set(n, e), e;
|
|
7444
7444
|
}
|
|
7445
|
-
function
|
|
7445
|
+
function Ga(n, t, e, i, s, r, o, a = 0) {
|
|
7446
7446
|
const l = 16.666 / i;
|
|
7447
7447
|
let c = `{
|
|
7448
7448
|
`;
|
|
@@ -7452,24 +7452,24 @@ function Wa(n, t, e, i, s, r, o, a = 0) {
|
|
|
7452
7452
|
`;
|
|
7453
7453
|
}
|
|
7454
7454
|
const h = c + `100% {${o(e, 1 - e)}}
|
|
7455
|
-
}`, u = `__svelte_${Oy(h)}_${a}`, f = Bh(n), { stylesheet: m, rules: p } =
|
|
7455
|
+
}`, u = `__svelte_${Oy(h)}_${a}`, f = Bh(n), { stylesheet: m, rules: p } = Fa.get(f) || jy(f, n);
|
|
7456
7456
|
p[u] || (p[u] = !0, m.insertRule(`@keyframes ${u} ${h}`, m.cssRules.length));
|
|
7457
7457
|
const g = n.style.animation || "";
|
|
7458
|
-
return n.style.animation = `${g ? `${g}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`,
|
|
7458
|
+
return n.style.animation = `${g ? `${g}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`, Na += 1, u;
|
|
7459
7459
|
}
|
|
7460
|
-
function
|
|
7460
|
+
function Wa(n, t) {
|
|
7461
7461
|
const e = (n.style.animation || "").split(", "), i = e.filter(
|
|
7462
7462
|
t ? (r) => r.indexOf(t) < 0 : (r) => r.indexOf("__svelte") === -1
|
|
7463
7463
|
// remove all Svelte animations
|
|
7464
7464
|
), s = e.length - i.length;
|
|
7465
|
-
s && (n.style.animation = i.join(", "),
|
|
7465
|
+
s && (n.style.animation = i.join(", "), Na -= s, Na || Ry());
|
|
7466
7466
|
}
|
|
7467
7467
|
function Ry() {
|
|
7468
7468
|
jh(() => {
|
|
7469
|
-
|
|
7469
|
+
Na || (Fa.forEach((n) => {
|
|
7470
7470
|
const { ownerNode: t } = n.stylesheet;
|
|
7471
7471
|
t && Q(t);
|
|
7472
|
-
}),
|
|
7472
|
+
}), Fa.clear());
|
|
7473
7473
|
});
|
|
7474
7474
|
}
|
|
7475
7475
|
let xo;
|
|
@@ -7506,7 +7506,7 @@ function as() {
|
|
|
7506
7506
|
return !0;
|
|
7507
7507
|
};
|
|
7508
7508
|
}
|
|
7509
|
-
function
|
|
7509
|
+
function Ua(n, t) {
|
|
7510
7510
|
return os().$$.context.set(n, t), t;
|
|
7511
7511
|
}
|
|
7512
7512
|
function $i(n) {
|
|
@@ -7518,10 +7518,10 @@ function wn(n, t) {
|
|
|
7518
7518
|
}
|
|
7519
7519
|
const ar = [], qe = [];
|
|
7520
7520
|
let Ar = [];
|
|
7521
|
-
const
|
|
7522
|
-
let
|
|
7521
|
+
const Oc = [], b0 = /* @__PURE__ */ Promise.resolve();
|
|
7522
|
+
let jc = !1;
|
|
7523
7523
|
function y0() {
|
|
7524
|
-
|
|
7524
|
+
jc || (jc = !0, b0.then(fn));
|
|
7525
7525
|
}
|
|
7526
7526
|
function nd() {
|
|
7527
7527
|
return y0(), b0;
|
|
@@ -7529,10 +7529,10 @@ function nd() {
|
|
|
7529
7529
|
function At(n) {
|
|
7530
7530
|
Ar.push(n);
|
|
7531
7531
|
}
|
|
7532
|
-
function
|
|
7533
|
-
|
|
7532
|
+
function bl(n) {
|
|
7533
|
+
Oc.push(n);
|
|
7534
7534
|
}
|
|
7535
|
-
const
|
|
7535
|
+
const ql = /* @__PURE__ */ new Set();
|
|
7536
7536
|
let nr = 0;
|
|
7537
7537
|
function fn() {
|
|
7538
7538
|
if (nr !== 0)
|
|
@@ -7551,13 +7551,13 @@ function fn() {
|
|
|
7551
7551
|
qe.pop()();
|
|
7552
7552
|
for (let t = 0; t < Ar.length; t += 1) {
|
|
7553
7553
|
const e = Ar[t];
|
|
7554
|
-
|
|
7554
|
+
ql.has(e) || (ql.add(e), e());
|
|
7555
7555
|
}
|
|
7556
7556
|
Ar.length = 0;
|
|
7557
7557
|
} while (ar.length);
|
|
7558
|
-
for (;
|
|
7559
|
-
|
|
7560
|
-
|
|
7558
|
+
for (; Oc.length; )
|
|
7559
|
+
Oc.pop()();
|
|
7560
|
+
jc = !1, ql.clear(), gn(n);
|
|
7561
7561
|
}
|
|
7562
7562
|
function By(n) {
|
|
7563
7563
|
if (n.fragment !== null) {
|
|
@@ -7610,11 +7610,11 @@ function ls(n, t, e) {
|
|
|
7610
7610
|
const i = { direction: "in" };
|
|
7611
7611
|
let s = t(n, e, i), r = !1, o, a, l = 0;
|
|
7612
7612
|
function c() {
|
|
7613
|
-
o &&
|
|
7613
|
+
o && Wa(n, o);
|
|
7614
7614
|
}
|
|
7615
7615
|
function h() {
|
|
7616
7616
|
const { delay: f = 0, duration: m = 300, easing: p = yn, tick: g = re, css: v } = s || Fh;
|
|
7617
|
-
v && (o =
|
|
7617
|
+
v && (o = Ga(n, 0, 1, m, f, p, v, l++)), g(0, 1);
|
|
7618
7618
|
const b = Oh() + f, w = b + m;
|
|
7619
7619
|
a && a.abort(), r = !0, At(() => Es(n, !0, "start")), a = Rh((M) => {
|
|
7620
7620
|
if (r) {
|
|
@@ -7631,7 +7631,7 @@ function ls(n, t, e) {
|
|
|
7631
7631
|
let u = !1;
|
|
7632
7632
|
return {
|
|
7633
7633
|
start() {
|
|
7634
|
-
u || (u = !0,
|
|
7634
|
+
u || (u = !0, Wa(n), ni(s) ? (s = s(i), Hh().then(h)) : h());
|
|
7635
7635
|
},
|
|
7636
7636
|
invalidate() {
|
|
7637
7637
|
u = !1;
|
|
@@ -7648,7 +7648,7 @@ function Vr(n, t, e) {
|
|
|
7648
7648
|
a.r += 1;
|
|
7649
7649
|
function l() {
|
|
7650
7650
|
const { delay: c = 0, duration: h = 300, easing: u = yn, tick: f = re, css: m } = s || Fh;
|
|
7651
|
-
m && (o =
|
|
7651
|
+
m && (o = Ga(n, 1, 0, h, c, u, m));
|
|
7652
7652
|
const p = Oh() + c, g = p + h;
|
|
7653
7653
|
At(() => Es(n, !1, "start")), Rh((v) => {
|
|
7654
7654
|
if (r) {
|
|
@@ -7666,7 +7666,7 @@ function Vr(n, t, e) {
|
|
|
7666
7666
|
s = s(i), l();
|
|
7667
7667
|
}) : l(), {
|
|
7668
7668
|
end(c) {
|
|
7669
|
-
c && s.tick && s.tick(1, 0), r && (o &&
|
|
7669
|
+
c && s.tick && s.tick(1, 0), r && (o && Wa(n, o), r = !1);
|
|
7670
7670
|
}
|
|
7671
7671
|
};
|
|
7672
7672
|
}
|
|
@@ -7674,7 +7674,7 @@ function Di(n, t, e, i) {
|
|
|
7674
7674
|
const s = { direction: "both" };
|
|
7675
7675
|
let r = t(n, e, s), o = i ? 0 : 1, a = null, l = null, c = null;
|
|
7676
7676
|
function h() {
|
|
7677
|
-
c &&
|
|
7677
|
+
c && Wa(n, c);
|
|
7678
7678
|
}
|
|
7679
7679
|
function u(m, p) {
|
|
7680
7680
|
const g = m.b - o;
|
|
@@ -7693,8 +7693,8 @@ function Di(n, t, e, i) {
|
|
|
7693
7693
|
start: Oh() + p,
|
|
7694
7694
|
b: m
|
|
7695
7695
|
};
|
|
7696
|
-
m || (M.group = Ji, Ji.r += 1), a || l ? l = M : (w && (h(), c =
|
|
7697
|
-
if (l && k > l.start && (a = u(l, g), l = null, Es(n, a.b, "start"), w && (h(), c =
|
|
7696
|
+
m || (M.group = Ji, Ji.r += 1), a || l ? l = M : (w && (h(), c = Ga(n, o, m, g, p, v, w)), m && b(0, 1), a = u(M, g), At(() => Es(n, m, "start")), Rh((k) => {
|
|
7697
|
+
if (l && k > l.start && (a = u(l, g), l = null, Es(n, a.b, "start"), w && (h(), c = Ga(n, o, a.b, a.duration, 0, v, r.css))), a) {
|
|
7698
7698
|
if (k >= a.end)
|
|
7699
7699
|
b(o = a.b, 1 - o), Es(n, a.b, "end"), l || (a.b ? h() : --a.group.r || ft(a.group.c)), a = null;
|
|
7700
7700
|
else if (k >= a.start) {
|
|
@@ -7716,7 +7716,7 @@ function Di(n, t, e, i) {
|
|
|
7716
7716
|
}
|
|
7717
7717
|
};
|
|
7718
7718
|
}
|
|
7719
|
-
function
|
|
7719
|
+
function Qa(n, t) {
|
|
7720
7720
|
const e = t.token = {};
|
|
7721
7721
|
function i(s, r, o, a) {
|
|
7722
7722
|
if (t.token !== e)
|
|
@@ -7809,7 +7809,7 @@ function Ot(n, t) {
|
|
|
7809
7809
|
function P0(n) {
|
|
7810
7810
|
return typeof n == "object" && n !== null ? n : {};
|
|
7811
7811
|
}
|
|
7812
|
-
function
|
|
7812
|
+
function yl(n, t, e) {
|
|
7813
7813
|
const i = n.$$.props[t];
|
|
7814
7814
|
i !== void 0 && (n.$$.bound[i] = e, e(n.$$.ctx[i]));
|
|
7815
7815
|
}
|
|
@@ -7886,7 +7886,7 @@ class Ee {
|
|
|
7886
7886
|
this.$$set && !Dy(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
7887
7887
|
}
|
|
7888
7888
|
}
|
|
7889
|
-
const Fy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzXfWhWQwSYQHYuFevXj14/vnn37h79+7Nr7766gup/FX5PnAj33///f/46aef3vj444/vfPbZZz9IYGMcnDbkhEYQL001Hfsu775i+7j6LID6cDQWYo8mabGMxOr+e/ye3y7989p3/9jfvHnz2q1bt25oMb549913/3Lwzjvv/Mu3337775988smdzz///AcVQ+IecsAOp8OOHRpkiJniWQnrBJmwc7EF8atxBA2ihx/obf7Qqa+un+aDI0f7k08nU+PLj3PBR+qpcvFdd3BNP7YgI7mnHqHzBRndv1hH33///QNtlAcvvfTSq999992dQzFu/vjjj/c//fTTu1z+unT2wDFoHN13QbVg5CQS3tBfQGwHoo+chltPto4FMsR3nKCZ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22zYhvZ9IPueLE4puMLfnjRKzKCbD4ZHv9oK/mwaPOlm/ukkbFwjKLj428j8t8DEEvN9xJoJuhsDI9lxOeHXr3zE8cGm7fpQMfNgR54ntXmYXzx1ltvbX64VUl4SH//66+/fl2/5ndLC/BHMV/Q6ypN06Bm3lgFaKMcEbj+bDHN88/curvewF4hjhNWasrwhy/0waIPjylyYjp49Ag++NhFhi7F+jeEFcc/H6w5TYbnxo2OoufXmNPcX+XWv4QLMo+taJkfeY4gvtRs/n8vzY/cssxB5CyKxi96/aB+/Y9+KfE/X3vttS8lI7e9/wfu514OAjYP0QAAAABJRU5ErkJggg==", wl = {
|
|
7890
7890
|
sm: {
|
|
7891
7891
|
name: 10,
|
|
7892
7892
|
area: 8,
|
|
@@ -7981,8 +7981,8 @@ class Ny {
|
|
|
7981
7981
|
this.debounceTimer && (clearTimeout(this.debounceTimer), this.debounceTimer = null), typeof window != "undefined" && window.removeEventListener("resize", this.handleResize), this.subscribers = [], this.isInitialized = !1;
|
|
7982
7982
|
}
|
|
7983
7983
|
}
|
|
7984
|
-
let
|
|
7985
|
-
const Gy = () => (
|
|
7984
|
+
let Jl = null;
|
|
7985
|
+
const Gy = () => (Jl || (Jl = new Ny()), Jl), Uo = () => typeof window == "undefined" ? "md" : Gy();
|
|
7986
7986
|
function Yt(n, t = 16) {
|
|
7987
7987
|
return (Number(typeof n == "string" ? n.replace(/px/g, "") : n) / t).toFixed(5) + "rem";
|
|
7988
7988
|
}
|
|
@@ -8109,7 +8109,7 @@ function Qy(n, t, e) {
|
|
|
8109
8109
|
}, n.$$.update = () => {
|
|
8110
8110
|
var m;
|
|
8111
8111
|
n.$$.dirty & /*fontSize*/
|
|
8112
|
-
64 && e(9, i =
|
|
8112
|
+
64 && e(9, i = wl[u]), n.$$.dirty & /*fontConfig*/
|
|
8113
8113
|
512 && e(3, s = Yt((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
|
|
8114
8114
|
512 && e(8, r = ((m = i == null ? void 0 : i.padding) == null ? void 0 : m.room) || [6, 5]), n.$$.dirty & /*padding*/
|
|
8115
8115
|
256 && e(2, o = `${Yt(r[1])} ${Yt(r[0])}`), n.$$.dirty & /*fontConfig, padding*/
|
|
@@ -8179,10 +8179,10 @@ var I0 = function() {
|
|
|
8179
8179
|
}, t;
|
|
8180
8180
|
}()
|
|
8181
8181
|
);
|
|
8182
|
-
}(),
|
|
8182
|
+
}(), Rc = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Xa = function() {
|
|
8183
8183
|
return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
|
|
8184
8184
|
}(), Yy = function() {
|
|
8185
|
-
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(
|
|
8185
|
+
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Xa) : function(n) {
|
|
8186
8186
|
return setTimeout(function() {
|
|
8187
8187
|
return n(Date.now());
|
|
8188
8188
|
}, 1e3 / 60);
|
|
@@ -8230,14 +8230,14 @@ var Jy = 20, Ky = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
8230
8230
|
return e.broadcastActive();
|
|
8231
8231
|
}), t.length > 0;
|
|
8232
8232
|
}, n.prototype.connect_ = function() {
|
|
8233
|
-
!
|
|
8233
|
+
!Rc || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), $y ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
8234
8234
|
attributes: !0,
|
|
8235
8235
|
childList: !0,
|
|
8236
8236
|
characterData: !0,
|
|
8237
8237
|
subtree: !0
|
|
8238
8238
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
8239
8239
|
}, n.prototype.disconnect_ = function() {
|
|
8240
|
-
!
|
|
8240
|
+
!Rc || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
8241
8241
|
}, n.prototype.onTransitionEnd_ = function(t) {
|
|
8242
8242
|
var e = t.propertyName, i = e === void 0 ? "" : e, s = Ky.some(function(r) {
|
|
8243
8243
|
return !!~i.indexOf(r);
|
|
@@ -8260,9 +8260,9 @@ var Jy = 20, Ky = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
8260
8260
|
return n;
|
|
8261
8261
|
}, kr = function(n) {
|
|
8262
8262
|
var t = n && n.ownerDocument && n.ownerDocument.defaultView;
|
|
8263
|
-
return t ||
|
|
8264
|
-
}, M0 =
|
|
8265
|
-
function
|
|
8263
|
+
return t || Xa;
|
|
8264
|
+
}, M0 = Pl(0, 0, 0, 0);
|
|
8265
|
+
function Ya(n) {
|
|
8266
8266
|
return parseFloat(n) || 0;
|
|
8267
8267
|
}
|
|
8268
8268
|
function sd(n) {
|
|
@@ -8270,30 +8270,30 @@ function sd(n) {
|
|
|
8270
8270
|
t[e - 1] = arguments[e];
|
|
8271
8271
|
return t.reduce(function(i, s) {
|
|
8272
8272
|
var r = n["border-" + s + "-width"];
|
|
8273
|
-
return i +
|
|
8273
|
+
return i + Ya(r);
|
|
8274
8274
|
}, 0);
|
|
8275
8275
|
}
|
|
8276
8276
|
function tw(n) {
|
|
8277
8277
|
for (var t = ["top", "right", "bottom", "left"], e = {}, i = 0, s = t; i < s.length; i++) {
|
|
8278
8278
|
var r = s[i], o = n["padding-" + r];
|
|
8279
|
-
e[r] =
|
|
8279
|
+
e[r] = Ya(o);
|
|
8280
8280
|
}
|
|
8281
8281
|
return e;
|
|
8282
8282
|
}
|
|
8283
8283
|
function iw(n) {
|
|
8284
8284
|
var t = n.getBBox();
|
|
8285
|
-
return
|
|
8285
|
+
return Pl(0, 0, t.width, t.height);
|
|
8286
8286
|
}
|
|
8287
8287
|
function nw(n) {
|
|
8288
8288
|
var t = n.clientWidth, e = n.clientHeight;
|
|
8289
8289
|
if (!t && !e)
|
|
8290
8290
|
return M0;
|
|
8291
|
-
var i = kr(n).getComputedStyle(n), s = tw(i), r = s.left + s.right, o = s.top + s.bottom, a =
|
|
8291
|
+
var i = kr(n).getComputedStyle(n), s = tw(i), r = s.left + s.right, o = s.top + s.bottom, a = Ya(i.width), l = Ya(i.height);
|
|
8292
8292
|
if (i.boxSizing === "border-box" && (Math.round(a + r) !== t && (a -= sd(i, "left", "right") + r), Math.round(l + o) !== e && (l -= sd(i, "top", "bottom") + o)), !rw(n)) {
|
|
8293
8293
|
var c = Math.round(a + r) - t, h = Math.round(l + o) - e;
|
|
8294
8294
|
Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
|
|
8295
8295
|
}
|
|
8296
|
-
return
|
|
8296
|
+
return Pl(s.left, s.top, a, l);
|
|
8297
8297
|
}
|
|
8298
8298
|
var sw = function() {
|
|
8299
8299
|
return typeof SVGGraphicsElement != "undefined" ? function(n) {
|
|
@@ -8306,7 +8306,7 @@ function rw(n) {
|
|
|
8306
8306
|
return n === kr(n).document.documentElement;
|
|
8307
8307
|
}
|
|
8308
8308
|
function ow(n) {
|
|
8309
|
-
return
|
|
8309
|
+
return Rc ? sw(n) ? iw(n) : nw(n) : M0;
|
|
8310
8310
|
}
|
|
8311
8311
|
function aw(n) {
|
|
8312
8312
|
var t = n.x, e = n.y, i = n.width, s = n.height, r = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, o = Object.create(r.prototype);
|
|
@@ -8321,14 +8321,14 @@ function aw(n) {
|
|
|
8321
8321
|
left: t
|
|
8322
8322
|
}), o;
|
|
8323
8323
|
}
|
|
8324
|
-
function
|
|
8324
|
+
function Pl(n, t, e, i) {
|
|
8325
8325
|
return { x: n, y: t, width: e, height: i };
|
|
8326
8326
|
}
|
|
8327
8327
|
var lw = (
|
|
8328
8328
|
/** @class */
|
|
8329
8329
|
function() {
|
|
8330
8330
|
function n(t) {
|
|
8331
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
8331
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Pl(0, 0, 0, 0), this.target = t;
|
|
8332
8332
|
}
|
|
8333
8333
|
return n.prototype.isActive = function() {
|
|
8334
8334
|
var t = ow(this.target);
|
|
@@ -8418,7 +8418,7 @@ var lw = (
|
|
|
8418
8418
|
};
|
|
8419
8419
|
});
|
|
8420
8420
|
var uw = function() {
|
|
8421
|
-
return typeof
|
|
8421
|
+
return typeof Xa.ResizeObserver != "undefined" ? Xa.ResizeObserver : x0;
|
|
8422
8422
|
}();
|
|
8423
8423
|
function In(n) {
|
|
8424
8424
|
new uw((e, i) => {
|
|
@@ -8749,7 +8749,7 @@ function ad(n, { delay: t = 0, duration: e = 400, easing: i = So, x: s = 0, y: r
|
|
|
8749
8749
|
opacity: ${l - h * v}`
|
|
8750
8750
|
};
|
|
8751
8751
|
}
|
|
8752
|
-
function
|
|
8752
|
+
function Za(n, { delay: t = 0, speed: e, duration: i, easing: s = xr } = {}) {
|
|
8753
8753
|
let r = n.getTotalLength();
|
|
8754
8754
|
const o = getComputedStyle(n);
|
|
8755
8755
|
return o.strokeLinecap !== "butt" && (r += parseInt(o.strokeWidth)), i === void 0 ? e === void 0 ? i = 800 : i = r / e : typeof i == "function" && (i = i(r)), {
|
|
@@ -8832,7 +8832,7 @@ function Iw(n) {
|
|
|
8832
8832
|
let t, e, i, s;
|
|
8833
8833
|
return {
|
|
8834
8834
|
c() {
|
|
8835
|
-
t = U("div"), e = new
|
|
8835
|
+
t = U("div"), e = new Ha(!1), i = ae(), s = new Ha(!1), e.a = i, s.a = null, y(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
8836
8836
|
},
|
|
8837
8837
|
m(r, o) {
|
|
8838
8838
|
Y(r, t, o), e.m(
|
|
@@ -9225,7 +9225,7 @@ function Fw(n) {
|
|
|
9225
9225
|
), i;
|
|
9226
9226
|
return {
|
|
9227
9227
|
c() {
|
|
9228
|
-
t = new
|
|
9228
|
+
t = new Ha(!1), i = Ge(), t.a = i;
|
|
9229
9229
|
},
|
|
9230
9230
|
m(s, r) {
|
|
9231
9231
|
t.m(e, s, r), Y(s, i, r);
|
|
@@ -9567,7 +9567,7 @@ function Uw(n, t, e) {
|
|
|
9567
9567
|
}, n.$$.update = () => {
|
|
9568
9568
|
var ce, Te;
|
|
9569
9569
|
n.$$.dirty[0] & /*fontSize*/
|
|
9570
|
-
67108864 && e(28, i =
|
|
9570
|
+
67108864 && e(28, i = wl[S]), n.$$.dirty[0] & /*getLabelElement, room*/
|
|
9571
9571
|
48 && e(18, s = I == null ? void 0 : I(z)), n.$$.dirty[0] & /*room, getRoomAreaText*/
|
|
9572
9572
|
8388624 && e(17, r = z.size ? A(z.size) : ""), n.$$.dirty[0] & /*room, getRoomDimensionText*/
|
|
9573
9573
|
16777232 && e(16, o = z != null && z.dimension ? C((ce = z.dimension) == null ? void 0 : ce.width, (Te = z.dimension) == null ? void 0 : Te.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
|
|
@@ -10482,10 +10482,10 @@ function u2(n) {
|
|
|
10482
10482
|
}
|
|
10483
10483
|
};
|
|
10484
10484
|
}
|
|
10485
|
-
const
|
|
10485
|
+
const Kl = 6;
|
|
10486
10486
|
function d2(n, t, e) {
|
|
10487
10487
|
let i, { path: s } = t;
|
|
10488
|
-
const r =
|
|
10488
|
+
const r = Kl * 2, o = `M0 ${Kl} h ${r} M${Kl} 0 v ${r}`;
|
|
10489
10489
|
return n.$$set = (a) => {
|
|
10490
10490
|
"path" in a && e(3, s = a.path);
|
|
10491
10491
|
}, n.$$.update = () => {
|
|
@@ -11327,7 +11327,7 @@ class B2 extends Ee {
|
|
|
11327
11327
|
}
|
|
11328
11328
|
}
|
|
11329
11329
|
const is = "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g9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";
|
|
11330
|
-
function
|
|
11330
|
+
function Cl(n) {
|
|
11331
11331
|
return n * 180 / Math.PI;
|
|
11332
11332
|
}
|
|
11333
11333
|
function _2(n) {
|
|
@@ -11400,7 +11400,7 @@ function V2(n) {
|
|
|
11400
11400
|
}
|
|
11401
11401
|
function H2(n, t, e) {
|
|
11402
11402
|
let { panoIndex: i } = t, { floorplanData: s } = t, { lastPanoramaLongitude: r } = t, { cameraImageUrl: o } = t;
|
|
11403
|
-
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", m = -
|
|
11403
|
+
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", m = -Cl(r) + 45, p = document.body.clientWidth, g = document.body.clientHeight, b = `${(p < 500 || g < 500 ? 17 : 37) / 16}rem`;
|
|
11404
11404
|
return n.$$set = (w) => {
|
|
11405
11405
|
"panoIndex" in w && e(5, i = w.panoIndex), "floorplanData" in w && e(6, s = w.floorplanData), "lastPanoramaLongitude" in w && e(7, r = w.lastPanoramaLongitude), "cameraImageUrl" in w && e(0, o = w.cameraImageUrl);
|
|
11406
11406
|
}, [
|
|
@@ -11492,7 +11492,7 @@ function U2(n) {
|
|
|
11492
11492
|
function Q2(n, t, e) {
|
|
11493
11493
|
var c;
|
|
11494
11494
|
let { floorplanData: i } = t, { northDesc: s } = t;
|
|
11495
|
-
const r = (c = i.entrance) == null ? void 0 : c.northRad, o = typeof r == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(r ?
|
|
11495
|
+
const r = (c = i.entrance) == null ? void 0 : c.northRad, o = typeof r == "number", l = `translateX(-50%) translateZ(10px) rotate(${-(r ? Cl(r) : 0) + 90}deg)`;
|
|
11496
11496
|
return n.$$set = (h) => {
|
|
11497
11497
|
"floorplanData" in h && e(3, i = h.floorplanData), "northDesc" in h && e(0, s = h.northDesc);
|
|
11498
11498
|
}, [s, o, l, i];
|
|
@@ -12720,7 +12720,7 @@ let cs = class {
|
|
|
12720
12720
|
/**
|
|
12721
12721
|
* @realsee/dnalogel 版本号
|
|
12722
12722
|
*/
|
|
12723
|
-
d(this, "VERSION", "3.67.
|
|
12723
|
+
d(this, "VERSION", "3.67.6-alpha.0");
|
|
12724
12724
|
d(this, "NAME");
|
|
12725
12725
|
d(this, "five");
|
|
12726
12726
|
d(this, "workUtil");
|
|
@@ -12730,7 +12730,7 @@ let cs = class {
|
|
|
12730
12730
|
*/
|
|
12731
12731
|
d(this, "hooks", new Ct());
|
|
12732
12732
|
d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
12733
|
-
this.five = t, this.fiveUtil = new
|
|
12733
|
+
this.five = t, this.fiveUtil = new cl(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
|
|
12734
12734
|
}
|
|
12735
12735
|
set workCode(t) {
|
|
12736
12736
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -16572,7 +16572,7 @@ function M3(n, t, e) {
|
|
|
16572
16572
|
function v(k) {
|
|
16573
16573
|
e(9, m = a.work.observers[k].floorIndex);
|
|
16574
16574
|
}
|
|
16575
|
-
const b =
|
|
16575
|
+
const b = hl(
|
|
16576
16576
|
(k) => {
|
|
16577
16577
|
e(8, f = k.longitude);
|
|
16578
16578
|
},
|
|
@@ -17501,7 +17501,7 @@ const gS = (n, t) => new N3(n, t), mS = [
|
|
|
17501
17501
|
{ roomType: "100900000013", description: "衣" },
|
|
17502
17502
|
{ roomType: "100900000015", description: "商铺" },
|
|
17503
17503
|
{ roomType: "100900000016", description: "写字楼" }
|
|
17504
|
-
],
|
|
17504
|
+
], $l = (n, t, e) => {
|
|
17505
17505
|
const i = new P.Matrix4(), s = new P.Euler(n, t, e, "YXZ");
|
|
17506
17506
|
return i.makeRotationFromEuler(s), i;
|
|
17507
17507
|
}, G3 = (n, {
|
|
@@ -17511,7 +17511,7 @@ const gS = (n, t) => new N3(n, t), mS = [
|
|
|
17511
17511
|
}) => {
|
|
17512
17512
|
if (t && n.scale.set(t, t, t), e) {
|
|
17513
17513
|
const [s, r, o] = e;
|
|
17514
|
-
s && n.applyMatrix4(
|
|
17514
|
+
s && n.applyMatrix4($l(s, 0, 0)), r && n.applyMatrix4($l(0, r, 0)), o && n.applyMatrix4($l(0, 0, o));
|
|
17515
17515
|
}
|
|
17516
17516
|
return i && n.position.set(i.x, i.y, i.z), n;
|
|
17517
17517
|
};
|
|
@@ -17532,12 +17532,12 @@ function Yh(n, t) {
|
|
|
17532
17532
|
for (var s; e.length && (s = e.shift()); )
|
|
17533
17533
|
!e.length && t !== mi ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
|
|
17534
17534
|
}
|
|
17535
|
-
var
|
|
17535
|
+
var ht = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
|
|
17536
17536
|
function ws(n) {
|
|
17537
17537
|
var t = n.length, e = 0, i = Number.POSITIVE_INFINITY, s, r, o, a, l, c, h, u, f, m;
|
|
17538
17538
|
for (u = 0; u < t; ++u)
|
|
17539
17539
|
n[u] > e && (e = n[u]), n[u] < i && (i = n[u]);
|
|
17540
|
-
for (s = 1 << e, r = new (
|
|
17540
|
+
for (s = 1 << e, r = new (ht ? Uint32Array : Array)(s), o = 1, a = 0, l = 2; o <= e; ) {
|
|
17541
17541
|
for (u = 0; u < t; ++u)
|
|
17542
17542
|
if (n[u] === o) {
|
|
17543
17543
|
for (c = 0, h = a, f = 0; f < o; ++f)
|
|
@@ -17551,18 +17551,18 @@ function ws(n) {
|
|
|
17551
17551
|
return [r, e, i];
|
|
17552
17552
|
}
|
|
17553
17553
|
function hs(n, t) {
|
|
17554
|
-
switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input =
|
|
17554
|
+
switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = ht ? new Uint8Array(n) : n, this.m = !1, this.i = qa, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
|
|
17555
17555
|
case Zh:
|
|
17556
|
-
this.b = 32768, this.c = new (
|
|
17556
|
+
this.b = 32768, this.c = new (ht ? Uint8Array : Array)(32768 + this.h + 258);
|
|
17557
17557
|
break;
|
|
17558
|
-
case
|
|
17559
|
-
this.b = 0, this.c = new (
|
|
17558
|
+
case qa:
|
|
17559
|
+
this.b = 0, this.c = new (ht ? Uint8Array : Array)(this.h), this.e = this.z, this.n = this.v, this.j = this.w;
|
|
17560
17560
|
break;
|
|
17561
17561
|
default:
|
|
17562
17562
|
throw Error("invalid inflate mode");
|
|
17563
17563
|
}
|
|
17564
17564
|
}
|
|
17565
|
-
var Zh = 0,
|
|
17565
|
+
var Zh = 0, qa = 1, Xd = { t: Zh, s: qa };
|
|
17566
17566
|
hs.prototype.k = function() {
|
|
17567
17567
|
for (; !this.m; ) {
|
|
17568
17568
|
var n = Ei(this, 3);
|
|
@@ -17580,7 +17580,7 @@ hs.prototype.k = function() {
|
|
|
17580
17580
|
switch (this.i) {
|
|
17581
17581
|
case Zh:
|
|
17582
17582
|
for (; s + o > i.length; ) {
|
|
17583
|
-
if (c = l - s, o -= c,
|
|
17583
|
+
if (c = l - s, o -= c, ht)
|
|
17584
17584
|
i.set(t.subarray(e, e + c), s), s += c, e += c;
|
|
17585
17585
|
else
|
|
17586
17586
|
for (; c--; )
|
|
@@ -17588,14 +17588,14 @@ hs.prototype.k = function() {
|
|
|
17588
17588
|
this.b = s, i = this.e(), s = this.b;
|
|
17589
17589
|
}
|
|
17590
17590
|
break;
|
|
17591
|
-
case
|
|
17591
|
+
case qa:
|
|
17592
17592
|
for (; s + o > i.length; )
|
|
17593
17593
|
i = this.e({ p: 2 });
|
|
17594
17594
|
break;
|
|
17595
17595
|
default:
|
|
17596
17596
|
throw Error("invalid inflate mode");
|
|
17597
17597
|
}
|
|
17598
|
-
if (
|
|
17598
|
+
if (ht)
|
|
17599
17599
|
i.set(t.subarray(e, e + o), s), s += o, e += o;
|
|
17600
17600
|
else
|
|
17601
17601
|
for (; o--; )
|
|
@@ -17606,12 +17606,12 @@ hs.prototype.k = function() {
|
|
|
17606
17606
|
this.j(U3, Q3);
|
|
17607
17607
|
break;
|
|
17608
17608
|
case 2:
|
|
17609
|
-
for (var h = Ei(this, 5) + 257, u = Ei(this, 5) + 1, f = Ei(this, 4) + 4, m = new (
|
|
17610
|
-
m[
|
|
17611
|
-
if (!
|
|
17609
|
+
for (var h = Ei(this, 5) + 257, u = Ei(this, 5) + 1, f = Ei(this, 4) + 4, m = new (ht ? Uint8Array : Array)(ec.length), p = mi, g = mi, v = mi, b = mi, w = mi, M = mi, k = mi, D = mi, L = mi, D = 0; D < f; ++D)
|
|
17610
|
+
m[ec[D]] = Ei(this, 3);
|
|
17611
|
+
if (!ht)
|
|
17612
17612
|
for (D = f, f = m.length; D < f; ++D)
|
|
17613
|
-
m[
|
|
17614
|
-
for (p = ws(m), b = new (
|
|
17613
|
+
m[ec[D]] = 0;
|
|
17614
|
+
for (p = ws(m), b = new (ht ? Uint8Array : Array)(h + u), D = 0, L = h + u; D < L; )
|
|
17615
17615
|
switch (w = Do(this, p), w) {
|
|
17616
17616
|
case 16:
|
|
17617
17617
|
for (k = 3 + Ei(this, 2); k--; )
|
|
@@ -17630,7 +17630,7 @@ hs.prototype.k = function() {
|
|
|
17630
17630
|
default:
|
|
17631
17631
|
M = b[D++] = w;
|
|
17632
17632
|
}
|
|
17633
|
-
g = ws(
|
|
17633
|
+
g = ws(ht ? b.subarray(0, h) : b.slice(0, h)), v = ws(ht ? b.subarray(h) : b.slice(h)), this.j(g, v);
|
|
17634
17634
|
break;
|
|
17635
17635
|
default:
|
|
17636
17636
|
throw Error("unknown BTYPE: " + n);
|
|
@@ -17638,7 +17638,7 @@ hs.prototype.k = function() {
|
|
|
17638
17638
|
}
|
|
17639
17639
|
return this.n();
|
|
17640
17640
|
};
|
|
17641
|
-
var Yd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
|
|
17641
|
+
var Yd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], ec = ht ? new Uint16Array(Yd) : Yd, Zd = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], B0 = ht ? new Uint16Array(Zd) : Zd, qd = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], Ja = ht ? new Uint8Array(qd) : qd, Jd = [
|
|
17642
17642
|
1,
|
|
17643
17643
|
2,
|
|
17644
17644
|
3,
|
|
@@ -17669,15 +17669,15 @@ var Yd = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], tc
|
|
|
17669
17669
|
12289,
|
|
17670
17670
|
16385,
|
|
17671
17671
|
24577
|
|
17672
|
-
], _0 =
|
|
17672
|
+
], _0 = ht ? new Uint16Array(Jd) : Jd, Kd = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], Ka = ht ? new Uint8Array(Kd) : Kd, Bc = new (ht ? Uint8Array : Array)(288), ys, $d;
|
|
17673
17673
|
ys = 0;
|
|
17674
|
-
for ($d =
|
|
17675
|
-
|
|
17676
|
-
var U3 = ws(
|
|
17674
|
+
for ($d = Bc.length; ys < $d; ++ys)
|
|
17675
|
+
Bc[ys] = 143 >= ys ? 8 : 255 >= ys ? 9 : 279 >= ys ? 7 : 8;
|
|
17676
|
+
var U3 = ws(Bc), _c = new (ht ? Uint8Array : Array)(30), Da, ef;
|
|
17677
17677
|
Da = 0;
|
|
17678
|
-
for (ef =
|
|
17679
|
-
|
|
17680
|
-
var Q3 = ws(
|
|
17678
|
+
for (ef = _c.length; Da < ef; ++Da)
|
|
17679
|
+
_c[Da] = 5;
|
|
17680
|
+
var Q3 = ws(_c);
|
|
17681
17681
|
function Ei(n, t) {
|
|
17682
17682
|
for (var e = n.f, i = n.d, s = n.input, r = n.a, o = s.length, a; i < t; ) {
|
|
17683
17683
|
if (r >= o)
|
|
@@ -17700,7 +17700,7 @@ hs.prototype.j = function(n, t) {
|
|
|
17700
17700
|
if (256 > r)
|
|
17701
17701
|
i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = r;
|
|
17702
17702
|
else
|
|
17703
|
-
for (o = r - 257, l = B0[o], 0 <
|
|
17703
|
+
for (o = r - 257, l = B0[o], 0 < Ja[o] && (l += Ei(this, Ja[o])), r = Do(this, t), a = _0[r], 0 < Ka[r] && (a += Ei(this, Ka[r])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
|
|
17704
17704
|
e[i] = e[i++ - a];
|
|
17705
17705
|
for (; 8 <= this.d; )
|
|
17706
17706
|
this.d -= 8, this.a--;
|
|
@@ -17713,20 +17713,20 @@ hs.prototype.w = function(n, t) {
|
|
|
17713
17713
|
if (256 > r)
|
|
17714
17714
|
i >= s && (e = this.e(), s = e.length), e[i++] = r;
|
|
17715
17715
|
else
|
|
17716
|
-
for (o = r - 257, l = B0[o], 0 <
|
|
17716
|
+
for (o = r - 257, l = B0[o], 0 < Ja[o] && (l += Ei(this, Ja[o])), r = Do(this, t), a = _0[r], 0 < Ka[r] && (a += Ei(this, Ka[r])), i + l > s && (e = this.e(), s = e.length); l--; )
|
|
17717
17717
|
e[i] = e[i++ - a];
|
|
17718
17718
|
for (; 8 <= this.d; )
|
|
17719
17719
|
this.d -= 8, this.a--;
|
|
17720
17720
|
this.b = i;
|
|
17721
17721
|
};
|
|
17722
17722
|
hs.prototype.e = function() {
|
|
17723
|
-
var n = new (
|
|
17724
|
-
if (
|
|
17723
|
+
var n = new (ht ? Uint8Array : Array)(this.b - 32768), t = this.b - 32768, e, i, s = this.c;
|
|
17724
|
+
if (ht)
|
|
17725
17725
|
n.set(s.subarray(32768, n.length));
|
|
17726
17726
|
else
|
|
17727
17727
|
for (e = 0, i = n.length; e < i; ++e)
|
|
17728
17728
|
n[e] = s[e + 32768];
|
|
17729
|
-
if (this.g.push(n), this.l += n.length,
|
|
17729
|
+
if (this.g.push(n), this.l += n.length, ht)
|
|
17730
17730
|
s.set(s.subarray(t, t + 32768));
|
|
17731
17731
|
else
|
|
17732
17732
|
for (e = 0; 32768 > e; ++e)
|
|
@@ -17735,12 +17735,12 @@ hs.prototype.e = function() {
|
|
|
17735
17735
|
};
|
|
17736
17736
|
hs.prototype.z = function(n) {
|
|
17737
17737
|
var t, e = this.input.length / this.a + 1 | 0, i, s, r, o = this.input, a = this.c;
|
|
17738
|
-
return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (o.length - this.a) / this.o[2], r = 258 * (i / 2) | 0, s = r < a.length ? a.length + r : a.length << 1) : s = a.length * e,
|
|
17738
|
+
return n && (typeof n.p == "number" && (e = n.p), typeof n.u == "number" && (e += n.u)), 2 > e ? (i = (o.length - this.a) / this.o[2], r = 258 * (i / 2) | 0, s = r < a.length ? a.length + r : a.length << 1) : s = a.length * e, ht ? (t = new Uint8Array(s), t.set(a)) : t = a, this.c = t;
|
|
17739
17739
|
};
|
|
17740
17740
|
hs.prototype.n = function() {
|
|
17741
|
-
var n = 0, t = this.c, e = this.g, i, s = new (
|
|
17741
|
+
var n = 0, t = this.c, e = this.g, i, s = new (ht ? Uint8Array : Array)(this.l + (this.b - 32768)), r, o, a, l;
|
|
17742
17742
|
if (e.length === 0)
|
|
17743
|
-
return
|
|
17743
|
+
return ht ? this.c.subarray(32768, this.b) : this.c.slice(32768, this.b);
|
|
17744
17744
|
for (r = 0, o = e.length; r < o; ++r)
|
|
17745
17745
|
for (i = e[r], a = 0, l = i.length; a < l; ++a)
|
|
17746
17746
|
s[n++] = i[a];
|
|
@@ -17750,7 +17750,7 @@ hs.prototype.n = function() {
|
|
|
17750
17750
|
};
|
|
17751
17751
|
hs.prototype.v = function() {
|
|
17752
17752
|
var n, t = this.b;
|
|
17753
|
-
return
|
|
17753
|
+
return ht ? this.r ? (n = new Uint8Array(t), n.set(this.c.subarray(0, t))) : n = this.c.subarray(0, t) : (this.c.length > t && (this.c.length = t), n = this.c), this.buffer = n;
|
|
17754
17754
|
};
|
|
17755
17755
|
function qh(n, t) {
|
|
17756
17756
|
var e, i;
|
|
@@ -17793,15 +17793,15 @@ qh.prototype.k = function() {
|
|
|
17793
17793
|
var tf = 8;
|
|
17794
17794
|
Yh("Zlib.Inflate", qh);
|
|
17795
17795
|
Yh("Zlib.Inflate.prototype.decompress", qh.prototype.k);
|
|
17796
|
-
var
|
|
17796
|
+
var Vc = { ADAPTIVE: Xd.s, BLOCK: Xd.t }, vo, Ao, br, nf;
|
|
17797
17797
|
if (Object.keys)
|
|
17798
|
-
vo = Object.keys(
|
|
17798
|
+
vo = Object.keys(Vc);
|
|
17799
17799
|
else
|
|
17800
|
-
for (Ao in vo = [], br = 0,
|
|
17800
|
+
for (Ao in vo = [], br = 0, Vc)
|
|
17801
17801
|
vo[br++] = Ao;
|
|
17802
17802
|
br = 0;
|
|
17803
17803
|
for (nf = vo.length; br < nf; ++br)
|
|
17804
|
-
Ao = vo[br], Yh("Zlib.Inflate.BufferType." + Ao,
|
|
17804
|
+
Ao = vo[br], Yh("Zlib.Inflate.BufferType." + Ao, Vc[Ao]);
|
|
17805
17805
|
var sf = R0.Zlib, V0 = {
|
|
17806
17806
|
/*
|
|
17807
17807
|
Finds knot vector span.
|
|
@@ -18034,7 +18034,7 @@ var H0 = function() {
|
|
|
18034
18034
|
i.prototype = Object.assign(Object.create(Tu.prototype), {
|
|
18035
18035
|
constructor: i,
|
|
18036
18036
|
load: function(A, C, I, E) {
|
|
18037
|
-
var S = this, T = S.path === "" ?
|
|
18037
|
+
var S = this, T = S.path === "" ? Vl.extractUrlBase(A) : S.path, F = new Tv(this.manager);
|
|
18038
18038
|
F.setPath(S.path), F.setResponseType("arraybuffer"), F.load(
|
|
18039
18039
|
A,
|
|
18040
18040
|
function(R) {
|
|
@@ -18208,13 +18208,13 @@ var H0 = function() {
|
|
|
18208
18208
|
var T = this.parseParameters(A, C, I), F;
|
|
18209
18209
|
switch (S.toLowerCase()) {
|
|
18210
18210
|
case "phong":
|
|
18211
|
-
F = new
|
|
18211
|
+
F = new Hl();
|
|
18212
18212
|
break;
|
|
18213
18213
|
case "lambert":
|
|
18214
18214
|
F = new Lv();
|
|
18215
18215
|
break;
|
|
18216
18216
|
default:
|
|
18217
|
-
console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', S), F = new
|
|
18217
|
+
console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', S), F = new Hl();
|
|
18218
18218
|
break;
|
|
18219
18219
|
}
|
|
18220
18220
|
return F.setValues(T), F.name = E, F;
|
|
@@ -18484,7 +18484,7 @@ var H0 = function() {
|
|
|
18484
18484
|
var E, S = null, T = null, F = [];
|
|
18485
18485
|
return A.children.forEach(function(R) {
|
|
18486
18486
|
C.has(R.ID) && (S = C.get(R.ID)), I.has(R.ID) && F.push(I.get(R.ID));
|
|
18487
|
-
}), F.length > 1 ? T = F : F.length > 0 ? T = F[0] : (T = new
|
|
18487
|
+
}), F.length > 1 ? T = F : F.length > 0 ? T = F[0] : (T = new Hl({ color: 13421772 }), F.push(T)), "color" in S.attributes && F.forEach(function(R) {
|
|
18488
18488
|
R.vertexColors = !0;
|
|
18489
18489
|
}), S.FBX_Deformer ? (F.forEach(function(R) {
|
|
18490
18490
|
R.skinning = !0;
|
|
@@ -19373,7 +19373,7 @@ var H0 = function() {
|
|
|
19373
19373
|
for (var C = [], I = 0; I < A; I++)
|
|
19374
19374
|
C[I] = this.getUint8();
|
|
19375
19375
|
var E = C.indexOf(0);
|
|
19376
|
-
return E >= 0 && (C = C.slice(0, E)),
|
|
19376
|
+
return E >= 0 && (C = C.slice(0, E)), Vl.decodeText(new Uint8Array(C));
|
|
19377
19377
|
}
|
|
19378
19378
|
};
|
|
19379
19379
|
function h() {
|
|
@@ -19497,7 +19497,7 @@ var H0 = function() {
|
|
|
19497
19497
|
return C;
|
|
19498
19498
|
}
|
|
19499
19499
|
function D(A, C, I) {
|
|
19500
|
-
return C === void 0 && (C = 0), I === void 0 && (I = A.byteLength),
|
|
19500
|
+
return C === void 0 && (C = 0), I === void 0 && (I = A.byteLength), Vl.decodeText(new Uint8Array(A, C, I));
|
|
19501
19501
|
}
|
|
19502
19502
|
function N(A, C) {
|
|
19503
19503
|
for (var I = 0, E = A.length, S = C.length; I < S; I++, E++)
|
|
@@ -19625,7 +19625,7 @@ const Y3 = ({ x: n, y: t, z: e }) => new ge(n, t, e), yS = (n, t) => {
|
|
|
19625
19625
|
return { load: l, enable: (w) => (e.enabled || (e.enabled = !0, f(n.currentMode), n.on("modeChange", f), h(w)), !0), disable: () => (e.enabled && (e.enabled = !1, u(), n.off("modeChange", f)), !0) };
|
|
19626
19626
|
}, Z3 = Vi;
|
|
19627
19627
|
function q3(n, t, e, i = Z3.Linear.None) {
|
|
19628
|
-
const s = new
|
|
19628
|
+
const s = new ll(n).to(t, e).easing(i);
|
|
19629
19629
|
Wo(() => s.start(0));
|
|
19630
19630
|
const r = _r((a) => {
|
|
19631
19631
|
s.update(a) === !1 && r();
|
|
@@ -19654,13 +19654,13 @@ function rf(n) {
|
|
|
19654
19654
|
function of(n) {
|
|
19655
19655
|
return n % Ta;
|
|
19656
19656
|
}
|
|
19657
|
-
function
|
|
19657
|
+
function tc(n, t, e) {
|
|
19658
19658
|
return n + (t - n) * e;
|
|
19659
19659
|
}
|
|
19660
|
-
const
|
|
19660
|
+
const Hc = (n, t, e) => {
|
|
19661
19661
|
const i = Math.PI, s = i * 2;
|
|
19662
19662
|
let r = rf(n), o = rf(t);
|
|
19663
|
-
return e === pn.Anticlockwise && r < o && (r += s), e === pn.Clockwise && o < r && (o += s), e === pn.Loop && o - r > i ?
|
|
19663
|
+
return e === pn.Anticlockwise && r < o && (r += s), e === pn.Clockwise && o < r && (o += s), e === pn.Loop && o - r > i ? Hc(r, o, pn.Anticlockwise) : e === pn.Loop && r - o > i ? Hc(r, o, pn.Clockwise) : { from: r, to: o };
|
|
19664
19664
|
}, wS = (n) => {
|
|
19665
19665
|
const t = {}, e = (l, c, ...h) => te(void 0, [l, c, ...h], function* (r, o, a = { preload: !0 }) {
|
|
19666
19666
|
return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), r.mode && r.mode !== n.currentMode && (yield n.changeMode(r.mode)), a.preload && r.panoIndex !== void 0 && r.panoIndex !== n.panoIndex && (yield n.preloadPano(r.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), r.panoIndex === void 0 && r.fov === void 0 && r.latitude === void 0 && r.longitude === void 0 ? !0 : yield new Promise((u, f) => {
|
|
@@ -19674,7 +19674,7 @@ const Fc = (n, t, e) => {
|
|
|
19674
19674
|
}, r)) : f(new Error("unexpected error"));
|
|
19675
19675
|
});
|
|
19676
19676
|
}), i = (r) => {
|
|
19677
|
-
const o = n.state, a = of(o.latitude), l = of(r.latitude), { from: c, to: h } =
|
|
19677
|
+
const o = n.state, a = of(o.latitude), l = of(r.latitude), { from: c, to: h } = Hc(
|
|
19678
19678
|
o.longitude,
|
|
19679
19679
|
r.longitude,
|
|
19680
19680
|
r.rotation || pn.Loop
|
|
@@ -19703,7 +19703,7 @@ const Fc = (n, t, e) => {
|
|
|
19703
19703
|
return yield new Promise((m) => {
|
|
19704
19704
|
const p = ({ progress: M }) => {
|
|
19705
19705
|
const k = {};
|
|
19706
|
-
k.longitude =
|
|
19706
|
+
k.longitude = tc(u.longitude, f.longitude, M), k.latitude = tc(u.latitude, f.latitude, M), k.fov = tc(u.fov, f.fov, M), n.setState(k, !0);
|
|
19707
19707
|
}, g = () => {
|
|
19708
19708
|
m(!0);
|
|
19709
19709
|
}, v = () => {
|
|
@@ -19724,11 +19724,11 @@ function af(n, t) {
|
|
|
19724
19724
|
function F0(n, t) {
|
|
19725
19725
|
return Math.abs(n) === 1 / 0 && Math.abs(t) === 1 / 0 ? !0 : Math.abs(n - t) < 1e-3;
|
|
19726
19726
|
}
|
|
19727
|
-
function
|
|
19727
|
+
function $a(n, t) {
|
|
19728
19728
|
return (t.y - n.y) / (t.x - n.x);
|
|
19729
19729
|
}
|
|
19730
19730
|
function N0(n, t, e) {
|
|
19731
|
-
const i =
|
|
19731
|
+
const i = $a(n[1], n[0]), s = $a(t[1], t[0]);
|
|
19732
19732
|
if (isNaN(i) || isNaN(s) || F0(i, s))
|
|
19733
19733
|
return !1;
|
|
19734
19734
|
if (ga(n[0], t))
|
|
@@ -19750,7 +19750,7 @@ function N0(n, t, e) {
|
|
|
19750
19750
|
return { x: a, y: l };
|
|
19751
19751
|
}
|
|
19752
19752
|
function ga(n, t) {
|
|
19753
|
-
return af(n, t[0]) || af(n, t[1]) ? !0 : (t[0].x - n.x) * (n.x - t[1].x) >= 0 && (t[0].y - n.y) * (n.y - t[1].y) >= 0 && F0(
|
|
19753
|
+
return af(n, t[0]) || af(n, t[1]) ? !0 : (t[0].x - n.x) * (n.x - t[1].x) >= 0 && (t[0].y - n.y) * (n.y - t[1].y) >= 0 && F0($a(t[0], n), $a(n, t[1]));
|
|
19754
19754
|
}
|
|
19755
19755
|
function $3(n) {
|
|
19756
19756
|
let t = 1 / 0, e = -1 / 0, i = 1 / 0, s = -1 / 0;
|
|
@@ -20457,7 +20457,7 @@ function u5(n, t, e) {
|
|
|
20457
20457
|
};
|
|
20458
20458
|
});
|
|
20459
20459
|
e(0, o = A);
|
|
20460
|
-
}, m = () => Wo(f), p =
|
|
20460
|
+
}, m = () => Wo(f), p = hl(f, 80);
|
|
20461
20461
|
return Rt(() => {
|
|
20462
20462
|
f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", m), i.on("movingToPano", m), i.on("mouseWheel", () => p()), i.on("pinchGesture", () => p());
|
|
20463
20463
|
}), ri(() => {
|
|
@@ -20822,7 +20822,7 @@ class v5 extends En {
|
|
|
20822
20822
|
new P.Vector3(0.7, 0, 0.7),
|
|
20823
20823
|
new P.Vector3(-0.7, 0, 0.7)
|
|
20824
20824
|
];
|
|
20825
|
-
return
|
|
20825
|
+
return vl(this.five).create3DDomContainer(e);
|
|
20826
20826
|
}
|
|
20827
20827
|
}
|
|
20828
20828
|
const ES = (n, t) => new v5(n, t), A5 = 1, b5 = 3, y5 = new Xt(16777215), w5 = new Xt(6522623), P5 = new Xt(16777215), C5 = new Xt(6522623), I5 = 6, E5 = 8, M5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", U0 = new dh().load(M5), k5 = {
|
|
@@ -21143,7 +21143,7 @@ let Tr = class X0 {
|
|
|
21143
21143
|
}
|
|
21144
21144
|
};
|
|
21145
21145
|
const Aa = (n) => n.preventDefault();
|
|
21146
|
-
let
|
|
21146
|
+
let Il = class {
|
|
21147
21147
|
constructor(t) {
|
|
21148
21148
|
d(this, "model");
|
|
21149
21149
|
d(this, "five");
|
|
@@ -21315,17 +21315,17 @@ let El = class {
|
|
|
21315
21315
|
this.id = t.id, this.clear(), this.lines.push(...t.lines);
|
|
21316
21316
|
}
|
|
21317
21317
|
};
|
|
21318
|
-
var
|
|
21318
|
+
var el = {}, z5 = {
|
|
21319
21319
|
get exports() {
|
|
21320
|
-
return
|
|
21320
|
+
return el;
|
|
21321
21321
|
},
|
|
21322
21322
|
set exports(n) {
|
|
21323
|
-
|
|
21323
|
+
el = n;
|
|
21324
21324
|
}
|
|
21325
21325
|
};
|
|
21326
|
-
z5.exports =
|
|
21327
|
-
|
|
21328
|
-
function
|
|
21326
|
+
z5.exports = El;
|
|
21327
|
+
el.default = El;
|
|
21328
|
+
function El(n, t, e) {
|
|
21329
21329
|
e = e || 2;
|
|
21330
21330
|
var i = t && t.length, s = i ? t[0] * e : n.length, r = Z0(n, 0, s, e, !0), o = [];
|
|
21331
21331
|
if (!r || r.next === r.prev)
|
|
@@ -21341,13 +21341,13 @@ function Ml(n, t, e) {
|
|
|
21341
21341
|
}
|
|
21342
21342
|
function Z0(n, t, e, i, s) {
|
|
21343
21343
|
var r, o;
|
|
21344
|
-
if (s ===
|
|
21344
|
+
if (s === Gc(n, t, e, i) > 0)
|
|
21345
21345
|
for (r = t; r < e; r += i)
|
|
21346
21346
|
o = ff(r, n[r], n[r + 1], o);
|
|
21347
21347
|
else
|
|
21348
21348
|
for (r = e - i; r >= t; r -= i)
|
|
21349
21349
|
o = ff(r, n[r], n[r + 1], o);
|
|
21350
|
-
return o &&
|
|
21350
|
+
return o && Ml(o, o.next) && (zo(o), o = o.next), o;
|
|
21351
21351
|
}
|
|
21352
21352
|
function Rs(n, t) {
|
|
21353
21353
|
if (!n)
|
|
@@ -21355,7 +21355,7 @@ function Rs(n, t) {
|
|
|
21355
21355
|
t || (t = n);
|
|
21356
21356
|
var e = n, i;
|
|
21357
21357
|
do
|
|
21358
|
-
if (i = !1, !e.steiner && (
|
|
21358
|
+
if (i = !1, !e.steiner && (Ml(e, e.next) || gt(e.prev, e, e.next) === 0)) {
|
|
21359
21359
|
if (zo(e), e = t = e.prev, e === e.next)
|
|
21360
21360
|
break;
|
|
21361
21361
|
i = !0;
|
|
@@ -21394,7 +21394,7 @@ function j5(n, t, e, i) {
|
|
|
21394
21394
|
var s = n.prev, r = n, o = n.next;
|
|
21395
21395
|
if (gt(s, r, o) >= 0)
|
|
21396
21396
|
return !1;
|
|
21397
|
-
for (var a = s.x, l = r.x, c = o.x, h = s.y, u = r.y, f = o.y, m = a < l ? a < c ? a : c : l < c ? l : c, p = h < u ? h < f ? h : f : u < f ? u : f, g = a > l ? a > c ? a : c : l > c ? l : c, v = h > u ? h > f ? h : f : u > f ? u : f, b =
|
|
21397
|
+
for (var a = s.x, l = r.x, c = o.x, h = s.y, u = r.y, f = o.y, m = a < l ? a < c ? a : c : l < c ? l : c, p = h < u ? h < f ? h : f : u < f ? u : f, g = a > l ? a > c ? a : c : l > c ? l : c, v = h > u ? h > f ? h : f : u > f ? u : f, b = Fc(m, p, t, e, i), w = Fc(g, v, t, e, i), M = n.prevZ, k = n.nextZ; M && M.z >= b && k && k.z <= w; ) {
|
|
21398
21398
|
if (M.x >= m && M.x <= g && M.y >= p && M.y <= v && M !== s && M !== o && cr(a, h, l, u, c, f, M.x, M.y) && gt(M.prev, M, M.next) >= 0 || (M = M.prevZ, k.x >= m && k.x <= g && k.y >= p && k.y <= v && k !== s && k !== o && cr(a, h, l, u, c, f, k.x, k.y) && gt(k.prev, k, k.next) >= 0))
|
|
21399
21399
|
return !1;
|
|
21400
21400
|
k = k.nextZ;
|
|
@@ -21415,7 +21415,7 @@ function R5(n, t, e) {
|
|
|
21415
21415
|
var i = n;
|
|
21416
21416
|
do {
|
|
21417
21417
|
var s = i.prev, r = i.next.next;
|
|
21418
|
-
!
|
|
21418
|
+
!Ml(s, r) && q0(s, i, i.next, r) && Lo(s, r) && Lo(r, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(r.i / e | 0), zo(i), zo(i.next), i = n = r), i = i.next;
|
|
21419
21419
|
} while (i !== n);
|
|
21420
21420
|
return Rs(i);
|
|
21421
21421
|
}
|
|
@@ -21476,7 +21476,7 @@ function N5(n, t) {
|
|
|
21476
21476
|
function G5(n, t, e, i) {
|
|
21477
21477
|
var s = n;
|
|
21478
21478
|
do
|
|
21479
|
-
s.z === 0 && (s.z =
|
|
21479
|
+
s.z === 0 && (s.z = Fc(s.x, s.y, t, e, i)), s.prevZ = s.prev, s.nextZ = s.next, s = s.next;
|
|
21480
21480
|
while (s !== n);
|
|
21481
21481
|
s.prevZ.nextZ = null, s.prevZ = null, W5(s);
|
|
21482
21482
|
}
|
|
@@ -21494,7 +21494,7 @@ function W5(n) {
|
|
|
21494
21494
|
} while (o > 1);
|
|
21495
21495
|
return n;
|
|
21496
21496
|
}
|
|
21497
|
-
function
|
|
21497
|
+
function Fc(n, t, e, i, s) {
|
|
21498
21498
|
return n = (n - e) * s | 0, t = (t - i) * s | 0, n = (n | n << 8) & 16711935, n = (n | n << 4) & 252645135, n = (n | n << 2) & 858993459, n = (n | n << 1) & 1431655765, t = (t | t << 8) & 16711935, t = (t | t << 4) & 252645135, t = (t | t << 2) & 858993459, t = (t | t << 1) & 1431655765, n | t << 1;
|
|
21499
21499
|
}
|
|
21500
21500
|
function U5(n) {
|
|
@@ -21511,12 +21511,12 @@ function Q5(n, t) {
|
|
|
21511
21511
|
return n.next.i !== t.i && n.prev.i !== t.i && !X5(n, t) && // dones't intersect other edges
|
|
21512
21512
|
(Lo(n, t) && Lo(t, n) && Y5(n, t) && // locally visible
|
|
21513
21513
|
(gt(n.prev, n, t.prev) || gt(n, t.prev, t)) || // does not create opposite-facing sectors
|
|
21514
|
-
|
|
21514
|
+
Ml(n, t) && gt(n.prev, n, n.next) > 0 && gt(t.prev, t, t.next) > 0);
|
|
21515
21515
|
}
|
|
21516
21516
|
function gt(n, t, e) {
|
|
21517
21517
|
return (t.y - n.y) * (e.x - t.x) - (t.x - n.x) * (e.y - t.y);
|
|
21518
21518
|
}
|
|
21519
|
-
function
|
|
21519
|
+
function Ml(n, t) {
|
|
21520
21520
|
return n.x === t.x && n.y === t.y;
|
|
21521
21521
|
}
|
|
21522
21522
|
function q0(n, t, e, i) {
|
|
@@ -21549,25 +21549,25 @@ function Y5(n, t) {
|
|
|
21549
21549
|
return i;
|
|
21550
21550
|
}
|
|
21551
21551
|
function J0(n, t) {
|
|
21552
|
-
var e = new
|
|
21552
|
+
var e = new Nc(n.i, n.x, n.y), i = new Nc(t.i, t.x, t.y), s = n.next, r = t.prev;
|
|
21553
21553
|
return n.next = t, t.prev = n, e.next = s, s.prev = e, i.next = e, e.prev = i, r.next = i, i.prev = r, i;
|
|
21554
21554
|
}
|
|
21555
21555
|
function ff(n, t, e, i) {
|
|
21556
|
-
var s = new
|
|
21556
|
+
var s = new Nc(n, t, e);
|
|
21557
21557
|
return i ? (s.next = i.next, s.prev = i, i.next.prev = s, i.next = s) : (s.prev = s, s.next = s), s;
|
|
21558
21558
|
}
|
|
21559
21559
|
function zo(n) {
|
|
21560
21560
|
n.next.prev = n.prev, n.prev.next = n.next, n.prevZ && (n.prevZ.nextZ = n.nextZ), n.nextZ && (n.nextZ.prevZ = n.prevZ);
|
|
21561
21561
|
}
|
|
21562
|
-
function
|
|
21562
|
+
function Nc(n, t, e) {
|
|
21563
21563
|
this.i = n, this.x = t, this.y = e, this.prev = null, this.next = null, this.z = 0, this.prevZ = null, this.nextZ = null, this.steiner = !1;
|
|
21564
21564
|
}
|
|
21565
|
-
|
|
21566
|
-
var s = t && t.length, r = s ? t[0] * e : n.length, o = Math.abs(
|
|
21565
|
+
El.deviation = function(n, t, e, i) {
|
|
21566
|
+
var s = t && t.length, r = s ? t[0] * e : n.length, o = Math.abs(Gc(n, 0, r, e));
|
|
21567
21567
|
if (s)
|
|
21568
21568
|
for (var a = 0, l = t.length; a < l; a++) {
|
|
21569
21569
|
var c = t[a] * e, h = a < l - 1 ? t[a + 1] * e : n.length;
|
|
21570
|
-
o -= Math.abs(
|
|
21570
|
+
o -= Math.abs(Gc(n, c, h, e));
|
|
21571
21571
|
}
|
|
21572
21572
|
var u = 0;
|
|
21573
21573
|
for (a = 0; a < i.length; a += 3) {
|
|
@@ -21578,12 +21578,12 @@ Ml.deviation = function(n, t, e, i) {
|
|
|
21578
21578
|
}
|
|
21579
21579
|
return o === 0 && u === 0 ? 0 : Math.abs((u - o) / o);
|
|
21580
21580
|
};
|
|
21581
|
-
function
|
|
21581
|
+
function Gc(n, t, e, i) {
|
|
21582
21582
|
for (var s = 0, r = t, o = e - i; r < e; r += i)
|
|
21583
21583
|
s += (n[o] - n[r]) * (n[r + 1] + n[o + 1]), o = r;
|
|
21584
21584
|
return s;
|
|
21585
21585
|
}
|
|
21586
|
-
|
|
21586
|
+
El.flatten = function(n) {
|
|
21587
21587
|
for (var t = n[0][0].length, e = { vertices: [], holes: [], dimensions: t }, i = 0, s = 0; s < n.length; s++) {
|
|
21588
21588
|
for (var r = 0; r < n[s].length; r++)
|
|
21589
21589
|
for (var o = 0; o < t; o++)
|
|
@@ -21604,9 +21604,9 @@ function K0(n) {
|
|
|
21604
21604
|
if (n.length < 3)
|
|
21605
21605
|
return [];
|
|
21606
21606
|
const t = us(n), e = new P.Quaternion().setFromUnitVectors(t, new P.Vector3(0, 1, 0)), s = n.map((o) => o.clone().applyQuaternion(e)).flatMap((o) => [o.x, o.z]);
|
|
21607
|
-
return
|
|
21607
|
+
return el(s);
|
|
21608
21608
|
}
|
|
21609
|
-
function
|
|
21609
|
+
function Wc(n, t) {
|
|
21610
21610
|
const e = Array.isArray(t) ? t : [t];
|
|
21611
21611
|
for (let i = 0; i < e.length; i++) {
|
|
21612
21612
|
const s = n.start, r = n.end, o = e[i].start, a = e[i].end;
|
|
@@ -21658,7 +21658,7 @@ function $0(n, t) {
|
|
|
21658
21658
|
if (e.at(-1).equals(e[0]) || e.push(e[0]), t != null && t.checkLinesIntersect && e.length >= 5) {
|
|
21659
21659
|
const a = e.map((l, c) => c === 0 ? null : { start: e[c - 1], end: e[c] }).filter(Boolean);
|
|
21660
21660
|
for (let l = 0; l < a.length; l++)
|
|
21661
|
-
if (
|
|
21661
|
+
if (Wc(a[l], a.slice(l)))
|
|
21662
21662
|
return;
|
|
21663
21663
|
}
|
|
21664
21664
|
const i = e.flatMap((a) => [a.x, a.y, a.z]), s = new P.Float32BufferAttribute(i, 3), r = K0(e), o = new P.BufferGeometry();
|
|
@@ -21759,7 +21759,7 @@ class iP extends Q0 {
|
|
|
21759
21759
|
this.contentDom.innerText = `${ui(r) ? e : e.toFixed(r)}${s}`;
|
|
21760
21760
|
}
|
|
21761
21761
|
}
|
|
21762
|
-
class
|
|
21762
|
+
class Uc {
|
|
21763
21763
|
constructor(t, e) {
|
|
21764
21764
|
d(this, "id", Dt());
|
|
21765
21765
|
d(this, "selected", !1);
|
|
@@ -21949,7 +21949,7 @@ function rP(n, t) {
|
|
|
21949
21949
|
return n.x === t.x && n.y === t.y;
|
|
21950
21950
|
}
|
|
21951
21951
|
const mf = () => !1;
|
|
21952
|
-
class Qn extends
|
|
21952
|
+
class Qn extends Il {
|
|
21953
21953
|
constructor(e) {
|
|
21954
21954
|
super(e);
|
|
21955
21955
|
d(this, "type", "edit");
|
|
@@ -21963,7 +21963,7 @@ class Qn extends El {
|
|
|
21963
21963
|
d(this, "pointSelector");
|
|
21964
21964
|
d(this, "deleteDom");
|
|
21965
21965
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
21966
|
-
d(this, "onIntersectionUpdate",
|
|
21966
|
+
d(this, "onIntersectionUpdate", hl((e) => {
|
|
21967
21967
|
e && (this.currentMeasureType === "area" && typeof e.isAdsorbed == "boolean" && (e.isAdsorbed ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed());
|
|
21968
21968
|
}, 20));
|
|
21969
21969
|
/** 撤销编辑 */
|
|
@@ -22103,7 +22103,7 @@ class Qn extends El {
|
|
|
22103
22103
|
this.perpendicularDashed.setPoints(h, u), this.perpendicularDashed.show();
|
|
22104
22104
|
} else
|
|
22105
22105
|
this.perpendicularDashed.hide();
|
|
22106
|
-
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a =
|
|
22106
|
+
const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = Wc({ start: e, end: i }, o), l = Wc({ start: i, end: this.area.points[0] }, o);
|
|
22107
22107
|
if (a || l)
|
|
22108
22108
|
this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
|
|
22109
22109
|
else {
|
|
@@ -22178,10 +22178,10 @@ class Qn extends El {
|
|
|
22178
22178
|
const s = i.type === "area", r = Array.isArray(i) && ((o = i[0]) == null ? void 0 : o.type) === "line";
|
|
22179
22179
|
s && this.unHighlightArea(i), r && this.unHighlightLines(i);
|
|
22180
22180
|
}
|
|
22181
|
-
}).appendTo(this.container), this.pointSelector = new
|
|
22181
|
+
}).appendTo(this.container), this.pointSelector = new ul(this.five, he(H({}, this.pointSelectorConfig), {
|
|
22182
22182
|
mode: this.editParams.pointSelectorMode,
|
|
22183
22183
|
helper: H({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
|
|
22184
|
-
})), this.pointSelector.enable(), this.polyline = new Lr({ model: this.model }), this.area = new
|
|
22184
|
+
})), this.pointSelector.enable(), this.polyline = new Lr({ model: this.model }), this.area = new Uc(void 0, {
|
|
22185
22185
|
five: this.five,
|
|
22186
22186
|
model: this.model,
|
|
22187
22187
|
meshContainer: this.group,
|
|
@@ -22206,7 +22206,7 @@ class Qn extends El {
|
|
|
22206
22206
|
this.onSelect();
|
|
22207
22207
|
}
|
|
22208
22208
|
complete() {
|
|
22209
|
-
this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new
|
|
22209
|
+
this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new Uc(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
|
|
22210
22210
|
e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
|
|
22211
22211
|
}), this.polyline = new Lr({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
|
|
22212
22212
|
}
|
|
@@ -22228,7 +22228,7 @@ class Qn extends El {
|
|
|
22228
22228
|
this.unHighlightLines(this.model.getAllLines()), !e.selected && (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
|
|
22229
22229
|
}
|
|
22230
22230
|
}
|
|
22231
|
-
class vf extends
|
|
22231
|
+
class vf extends Il {
|
|
22232
22232
|
constructor(e) {
|
|
22233
22233
|
super(e);
|
|
22234
22234
|
d(this, "type", "view");
|
|
@@ -22310,7 +22310,7 @@ function Af(n) {
|
|
|
22310
22310
|
return { point: o, ndcPoint: a };
|
|
22311
22311
|
}
|
|
22312
22312
|
const bf = () => !1;
|
|
22313
|
-
class yf extends
|
|
22313
|
+
class yf extends Il {
|
|
22314
22314
|
constructor(e) {
|
|
22315
22315
|
super(e);
|
|
22316
22316
|
d(this, "type", "watch");
|
|
@@ -22436,7 +22436,7 @@ class yf extends El {
|
|
|
22436
22436
|
this.deleteDom = new Kh(this.five, {
|
|
22437
22437
|
i18n: this.config.i18n,
|
|
22438
22438
|
onClick: () => {
|
|
22439
|
-
this.choose === "line" ? this.deleteLine() : this.choose instanceof
|
|
22439
|
+
this.choose === "line" ? this.deleteLine() : this.choose instanceof Uc && this.deleteArea(this.choose);
|
|
22440
22440
|
},
|
|
22441
22441
|
cancel: this.cancelDeleteClickCallback
|
|
22442
22442
|
}).appendTo(this.container), this.model.getAllLines().forEach((s) => {
|
|
@@ -22586,7 +22586,7 @@ function s1(n) {
|
|
|
22586
22586
|
let i = 10349931;
|
|
22587
22587
|
e && n.ballColor >= 0 && (i = n.ballColor);
|
|
22588
22588
|
const s = new mn(), r = new Kv(0.3, 0.3), o = t ? cP : hP, a = new dh().load(o);
|
|
22589
|
-
a.encoding = lo, a.minFilter =
|
|
22589
|
+
a.encoding = lo, a.minFilter = Mc;
|
|
22590
22590
|
const l = new Po({
|
|
22591
22591
|
map: a,
|
|
22592
22592
|
transparent: !0,
|
|
@@ -22716,7 +22716,7 @@ class fP {
|
|
|
22716
22716
|
return this.mouseGroup;
|
|
22717
22717
|
}
|
|
22718
22718
|
}
|
|
22719
|
-
class so extends
|
|
22719
|
+
class so extends Il {
|
|
22720
22720
|
constructor(e) {
|
|
22721
22721
|
super(e);
|
|
22722
22722
|
d(this, "state", "watching");
|
|
@@ -22829,7 +22829,7 @@ class so extends El {
|
|
|
22829
22829
|
this.clearHighlightLines(), this.highlightedLines = e, this.deleteDom.setLines(e).updatePosition().show(), e.forEach((i) => this.highlightLine(i));
|
|
22830
22830
|
}
|
|
22831
22831
|
}
|
|
22832
|
-
const
|
|
22832
|
+
const tl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTUuMyUiIHk9Ii01LjMlIiB3aWR0aD0iMTEwLjUlIiBoZWlnaHQ9IjExMC41JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXN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BzdHJva2Utd2lkdGg9Ii40IiBmaWxsPSJ1cmwoI3ByZWZpeF9fYikiIG9wYWNpdHk9Ii43IiBjeD0iMzYiIGN5PSIzNiIgcj0iMjguMjQ0Ii8+PGVsbGlwc2UgZmlsbD0iIzdDOTBEQSIgb3BhY2l0eT0iLjU5NiIgZmlsdGVyPSJ1cmwoI3ByZWZpeF9fYykiIGN4PSIzNiIgY3k9IjM2IiByeD0iMTguOTYzIiByeT0iNy4xMTEiLz48cGF0aCBkPSJNMzYgMEMxNi4xMTggMCAwIDE2LjExOCAwIDM2czE2LjExOCAzNiAzNiAzNiAzNi0xNi4xMTggMzYtMzZTNTUuODgyIDAgMzYgMHptMCA0LjQ0NGMxNy40MjggMCAzMS41NTYgMTQuMTI4IDMxLjU1NiAzMS41NTZTNTMuNDI4IDY3LjU1NiAzNiA2Ny41NTYgNC40NDQgNTMuNDI4IDQuNDQ0IDM2IDE4LjU3MiA0LjQ0NCAzNiA0LjQ0NHoiIGZpbGw9InVybCgjcHJlZml4X19kKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==", pP = `
|
|
22833
22833
|
<svg class="fpm__exit-icon width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
22834
22834
|
<defs>
|
|
22835
22835
|
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="86.3016741%" id="radialGradient-1">
|
|
@@ -22888,7 +22888,7 @@ const il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
|
|
|
22888
22888
|
opacity: 1;
|
|
22889
22889
|
}
|
|
22890
22890
|
.fpm__main__start {
|
|
22891
|
-
background-image: url(${
|
|
22891
|
+
background-image: url(${tl});
|
|
22892
22892
|
}
|
|
22893
22893
|
.fpm__main__end {
|
|
22894
22894
|
background-image: url(${eu});
|
|
@@ -23003,7 +23003,7 @@ const il = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
|
|
|
23003
23003
|
opacity: 1;
|
|
23004
23004
|
}
|
|
23005
23005
|
.fpm__main__start {
|
|
23006
|
-
background-image: url(${
|
|
23006
|
+
background-image: url(${tl});
|
|
23007
23007
|
}
|
|
23008
23008
|
.fpm__main__end {
|
|
23009
23009
|
background-image: url(${eu});
|
|
@@ -23622,7 +23622,7 @@ function RP(n) {
|
|
|
23622
23622
|
return (
|
|
23623
23623
|
/*setSwitcherActiveIndex*/
|
|
23624
23624
|
n[4] !== void 0 && (g.setIndex = /*setSwitcherActiveIndex*/
|
|
23625
|
-
n[4]), c = new TP({ props: g }), qe.push(() =>
|
|
23625
|
+
n[4]), c = new TP({ props: g }), qe.push(() => yl(c, "setIndex", p)), {
|
|
23626
23626
|
c() {
|
|
23627
23627
|
t = U("div"), f && f.c(), e = ae(), i = U("div"), s = U("div"), r = ae(), o = U("div"), m && m.c(), a = ae(), l = U("div"), pe(c.$$.fragment), y(s, "class", "mask svelte-468fdd"), y(l, "class", "mode-switcher svelte-468fdd"), y(o, "class", "center svelte-468fdd"), y(i, "class", "bottom svelte-468fdd"), y(t, "class", "Measure-Controller svelte-468fdd");
|
|
23628
23628
|
},
|
|
@@ -23659,7 +23659,7 @@ function RP(n) {
|
|
|
23659
23659
|
1 && (w.onChange = /*func*/
|
|
23660
23660
|
v[8]), !h && b & /*setSwitcherActiveIndex*/
|
|
23661
23661
|
16 && (h = !0, w.setIndex = /*setSwitcherActiveIndex*/
|
|
23662
|
-
v[4],
|
|
23662
|
+
v[4], bl(() => h = !1)), c.$set(w);
|
|
23663
23663
|
},
|
|
23664
23664
|
i(v) {
|
|
23665
23665
|
u || (V(f), V(c.$$.fragment, v), u = !0);
|
|
@@ -24016,7 +24016,7 @@ function UP(n, t, e) {
|
|
|
24016
24016
|
"text" in a && e(0, s = a.text), "onClick" in a && e(1, r = a.onClick), "color" in a && e(3, o = a.color);
|
|
24017
24017
|
}, n.$$.update = () => {
|
|
24018
24018
|
n.$$.dirty & /*color*/
|
|
24019
|
-
8 && e(2, i = (() => o === "white" ?
|
|
24019
|
+
8 && e(2, i = (() => o === "white" ? tl : o === "blue" ? eu : tl)());
|
|
24020
24020
|
}, [s, r, i, o];
|
|
24021
24021
|
}
|
|
24022
24022
|
class QP extends Ee {
|
|
@@ -24459,22 +24459,22 @@ var et = {}, KP = {
|
|
|
24459
24459
|
et = n;
|
|
24460
24460
|
}
|
|
24461
24461
|
};
|
|
24462
|
-
function
|
|
24462
|
+
function il(n) {
|
|
24463
24463
|
return n === null ? "null" : typeof n == "undefined" ? "undefined" : typeof n == "object" ? Array.isArray(n) ? "array" : "object" : typeof n;
|
|
24464
24464
|
}
|
|
24465
24465
|
function h1(n) {
|
|
24466
|
-
return
|
|
24466
|
+
return il(n) === "object" ? Xc(n) : il(n) === "array" ? Qc(n) : n;
|
|
24467
24467
|
}
|
|
24468
|
-
function
|
|
24468
|
+
function Qc(n) {
|
|
24469
24469
|
return n.map(h1);
|
|
24470
24470
|
}
|
|
24471
|
-
function
|
|
24471
|
+
function Xc(n) {
|
|
24472
24472
|
const t = {};
|
|
24473
24473
|
for (const e in n)
|
|
24474
24474
|
n.hasOwnProperty(e) && (t[e] = h1(n[e]));
|
|
24475
24475
|
return t;
|
|
24476
24476
|
}
|
|
24477
|
-
function
|
|
24477
|
+
function kl(n, t = [], e = {}) {
|
|
24478
24478
|
const i = {
|
|
24479
24479
|
arrayBehaviour: e.arrayBehaviour || "replace"
|
|
24480
24480
|
// Can be "merge" or "replace".
|
|
@@ -24482,19 +24482,19 @@ function xl(n, t = [], e = {}) {
|
|
|
24482
24482
|
for (let o = 0; o < s.length; o++) {
|
|
24483
24483
|
const a = s[o], l = Object.keys(a);
|
|
24484
24484
|
for (let c = 0; c < l.length; c++) {
|
|
24485
|
-
const h = l[c], u = a[h], f =
|
|
24485
|
+
const h = l[c], u = a[h], f = il(u), m = il(r[h]);
|
|
24486
24486
|
if (f === "object")
|
|
24487
24487
|
if (m !== "undefined") {
|
|
24488
24488
|
const p = m === "object" ? r[h] : {};
|
|
24489
|
-
r[h] =
|
|
24489
|
+
r[h] = kl({}, [p, Xc(u)], i);
|
|
24490
24490
|
} else
|
|
24491
|
-
r[h] =
|
|
24491
|
+
r[h] = Xc(u);
|
|
24492
24492
|
else if (f === "array")
|
|
24493
24493
|
if (m === "array") {
|
|
24494
|
-
const p =
|
|
24494
|
+
const p = Qc(u);
|
|
24495
24495
|
r[h] = i.arrayBehaviour === "merge" ? r[h].concat(p) : p;
|
|
24496
24496
|
} else
|
|
24497
|
-
r[h] =
|
|
24497
|
+
r[h] = Qc(u);
|
|
24498
24498
|
else
|
|
24499
24499
|
r[h] = u;
|
|
24500
24500
|
}
|
|
@@ -24502,13 +24502,13 @@ function xl(n, t = [], e = {}) {
|
|
|
24502
24502
|
return r;
|
|
24503
24503
|
}
|
|
24504
24504
|
KP.exports = function(t, ...e) {
|
|
24505
|
-
return
|
|
24505
|
+
return kl(t, e);
|
|
24506
24506
|
};
|
|
24507
24507
|
et.noMutate = function(...t) {
|
|
24508
|
-
return
|
|
24508
|
+
return kl({}, t);
|
|
24509
24509
|
};
|
|
24510
24510
|
et.withOptions = function(t, e, i) {
|
|
24511
|
-
return
|
|
24511
|
+
return kl(t, e, i);
|
|
24512
24512
|
};
|
|
24513
24513
|
function $P(n) {
|
|
24514
24514
|
xe(n, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
|
|
@@ -25077,7 +25077,7 @@ class Oo extends bi {
|
|
|
25077
25077
|
}), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
25078
25078
|
}
|
|
25079
25079
|
}
|
|
25080
|
-
class
|
|
25080
|
+
class xl extends di {
|
|
25081
25081
|
constructor(e) {
|
|
25082
25082
|
var a, l;
|
|
25083
25083
|
super();
|
|
@@ -25153,7 +25153,7 @@ class Sl extends di {
|
|
|
25153
25153
|
const tu = new P.BufferGeometry();
|
|
25154
25154
|
tu.name = "blankGeometry";
|
|
25155
25155
|
tu.isBlank = !0;
|
|
25156
|
-
class Fr extends
|
|
25156
|
+
class Fr extends xl {
|
|
25157
25157
|
constructor(e) {
|
|
25158
25158
|
super(e);
|
|
25159
25159
|
d(this, "name", "PolygonMesh");
|
|
@@ -25310,8 +25310,8 @@ class Vf extends di {
|
|
|
25310
25310
|
this.line.unhighlight(), this.polygon.unhighlight();
|
|
25311
25311
|
}
|
|
25312
25312
|
}
|
|
25313
|
-
const
|
|
25314
|
-
function
|
|
25313
|
+
const ic = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
|
|
25314
|
+
function nc(n, t, e, i) {
|
|
25315
25315
|
n.addEventListener ? n.addEventListener(t, e, i) : n.attachEvent && n.attachEvent("on".concat(t), e);
|
|
25316
25316
|
}
|
|
25317
25317
|
function ro(n, t, e, i) {
|
|
@@ -25383,9 +25383,9 @@ const jo = {
|
|
|
25383
25383
|
".": 190,
|
|
25384
25384
|
"/": 191,
|
|
25385
25385
|
"`": 192,
|
|
25386
|
-
"-":
|
|
25387
|
-
"=":
|
|
25388
|
-
";":
|
|
25386
|
+
"-": ic ? 173 : 189,
|
|
25387
|
+
"=": ic ? 61 : 187,
|
|
25388
|
+
";": ic ? 59 : 186,
|
|
25389
25389
|
"'": 222,
|
|
25390
25390
|
"[": 219,
|
|
25391
25391
|
"]": 221,
|
|
@@ -25406,7 +25406,7 @@ const jo = {
|
|
|
25406
25406
|
"⌘": 91,
|
|
25407
25407
|
cmd: 91,
|
|
25408
25408
|
command: 91
|
|
25409
|
-
},
|
|
25409
|
+
}, Yc = {
|
|
25410
25410
|
16: "shiftKey",
|
|
25411
25411
|
18: "altKey",
|
|
25412
25412
|
17: "ctrlKey",
|
|
@@ -25423,7 +25423,7 @@ const jo = {
|
|
|
25423
25423
|
}, mt = {};
|
|
25424
25424
|
for (let n = 1; n < 20; n++)
|
|
25425
25425
|
jo["f".concat(n)] = 111 + n;
|
|
25426
|
-
let
|
|
25426
|
+
let lt = [], bo = null, p1 = "all";
|
|
25427
25427
|
const dn = /* @__PURE__ */ new Map(), Qo = (n) => jo[n.toLowerCase()] || en[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), hC = (n) => Object.keys(jo).find((t) => jo[t] === n), uC = (n) => Object.keys(en).find((t) => en[t] === n);
|
|
25428
25428
|
function g1(n) {
|
|
25429
25429
|
p1 = n || "all";
|
|
@@ -25432,10 +25432,10 @@ function Ro() {
|
|
|
25432
25432
|
return p1 || "all";
|
|
25433
25433
|
}
|
|
25434
25434
|
function dC() {
|
|
25435
|
-
return
|
|
25435
|
+
return lt.slice(0);
|
|
25436
25436
|
}
|
|
25437
25437
|
function fC() {
|
|
25438
|
-
return
|
|
25438
|
+
return lt.map((n) => hC(n) || uC(n) || String.fromCharCode(n));
|
|
25439
25439
|
}
|
|
25440
25440
|
function pC() {
|
|
25441
25441
|
const n = [];
|
|
@@ -25465,7 +25465,7 @@ function gC(n) {
|
|
|
25465
25465
|
return (t.isContentEditable || (s || e === "TEXTAREA" || e === "SELECT") && !t.readOnly) && (i = !1), i;
|
|
25466
25466
|
}
|
|
25467
25467
|
function mC(n) {
|
|
25468
|
-
return typeof n == "string" && (n = Qo(n)),
|
|
25468
|
+
return typeof n == "string" && (n = Qo(n)), lt.indexOf(n) !== -1;
|
|
25469
25469
|
}
|
|
25470
25470
|
function vC(n, t) {
|
|
25471
25471
|
let e, i;
|
|
@@ -25483,8 +25483,8 @@ function vC(n, t) {
|
|
|
25483
25483
|
}
|
|
25484
25484
|
function AC(n) {
|
|
25485
25485
|
let t = n.keyCode || n.which || n.charCode;
|
|
25486
|
-
const e =
|
|
25487
|
-
if (e >= 0 &&
|
|
25486
|
+
const e = lt.indexOf(t);
|
|
25487
|
+
if (e >= 0 && lt.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && lt.splice(0, lt.length), (t === 93 || t === 224) && (t = 91), t in _t) {
|
|
25488
25488
|
_t[t] = !1;
|
|
25489
25489
|
for (const i in en)
|
|
25490
25490
|
en[i] === t && (pt[i] = !1);
|
|
@@ -25540,7 +25540,7 @@ function Hf(n, t, e, i) {
|
|
|
25540
25540
|
s = t.mods.length > 0;
|
|
25541
25541
|
for (const r in _t)
|
|
25542
25542
|
Object.prototype.hasOwnProperty.call(_t, r) && (!_t[r] && t.mods.indexOf(+r) > -1 || _t[r] && t.mods.indexOf(+r) === -1) && (s = !1);
|
|
25543
|
-
(t.mods.length === 0 && !_t[16] && !_t[18] && !_t[17] && !_t[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(
|
|
25543
|
+
(t.mods.length === 0 && !_t[16] && !_t[18] && !_t[17] && !_t[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(lt), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
|
|
25544
25544
|
}
|
|
25545
25545
|
}
|
|
25546
25546
|
function Ff(n, t) {
|
|
@@ -25548,9 +25548,9 @@ function Ff(n, t) {
|
|
|
25548
25548
|
let i = n.keyCode || n.which || n.charCode;
|
|
25549
25549
|
if (!pt.filter.call(this, n))
|
|
25550
25550
|
return;
|
|
25551
|
-
if ((i === 93 || i === 224) && (i = 91),
|
|
25552
|
-
const l =
|
|
25553
|
-
n[a] &&
|
|
25551
|
+
if ((i === 93 || i === 224) && (i = 91), lt.indexOf(i) === -1 && i !== 229 && lt.push(i), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach((a) => {
|
|
25552
|
+
const l = Yc[a];
|
|
25553
|
+
n[a] && lt.indexOf(l) === -1 ? lt.push(l) : !n[a] && lt.indexOf(l) > -1 ? lt.splice(lt.indexOf(l), 1) : a === "metaKey" && n[a] && lt.length === 3 && (n.ctrlKey || n.shiftKey || n.altKey || (lt = lt.slice(lt.indexOf(l))));
|
|
25554
25554
|
}), i in _t) {
|
|
25555
25555
|
_t[i] = !0;
|
|
25556
25556
|
for (const a in en)
|
|
@@ -25559,8 +25559,8 @@ function Ff(n, t) {
|
|
|
25559
25559
|
return;
|
|
25560
25560
|
}
|
|
25561
25561
|
for (const a in _t)
|
|
25562
|
-
Object.prototype.hasOwnProperty.call(_t, a) && (_t[a] = n[
|
|
25563
|
-
n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (
|
|
25562
|
+
Object.prototype.hasOwnProperty.call(_t, a) && (_t[a] = n[Yc[a]]);
|
|
25563
|
+
n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (lt.indexOf(17) === -1 && lt.push(17), lt.indexOf(18) === -1 && lt.push(18), _t[17] = !0, _t[18] = !0);
|
|
25564
25564
|
const s = Ro();
|
|
25565
25565
|
if (e)
|
|
25566
25566
|
for (let a = 0; a < e.length; a++)
|
|
@@ -25575,11 +25575,11 @@ function Ff(n, t) {
|
|
|
25575
25575
|
} = l, h = l.key.split(c), u = [];
|
|
25576
25576
|
for (let f = 0; f < h.length; f++)
|
|
25577
25577
|
u.push(Qo(h[f]));
|
|
25578
|
-
u.sort().join("") ===
|
|
25578
|
+
u.sort().join("") === lt.sort().join("") && Hf(n, l, s, t);
|
|
25579
25579
|
}
|
|
25580
25580
|
}
|
|
25581
25581
|
function pt(n, t, e) {
|
|
25582
|
-
|
|
25582
|
+
lt = [];
|
|
25583
25583
|
const i = f1(n);
|
|
25584
25584
|
let s = [], r = "all", o = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
|
|
25585
25585
|
for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (r = t.scope), t.element && (o = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (r = t), f && m1(n, r); a < i.length; a++)
|
|
@@ -25607,16 +25607,16 @@ function pt(n, t, e) {
|
|
|
25607
25607
|
keydownListener: m,
|
|
25608
25608
|
keyupListenr: p,
|
|
25609
25609
|
capture: u
|
|
25610
|
-
}),
|
|
25610
|
+
}), nc(o, "keydown", m, u), nc(o, "keyup", p, u);
|
|
25611
25611
|
}
|
|
25612
25612
|
if (!bo) {
|
|
25613
25613
|
const m = () => {
|
|
25614
|
-
|
|
25614
|
+
lt = [];
|
|
25615
25615
|
};
|
|
25616
25616
|
bo = {
|
|
25617
25617
|
listener: m,
|
|
25618
25618
|
capture: u
|
|
25619
|
-
},
|
|
25619
|
+
}, nc(window, "focus", m, u);
|
|
25620
25620
|
}
|
|
25621
25621
|
}
|
|
25622
25622
|
}
|
|
@@ -25658,7 +25658,7 @@ function iu(n) {
|
|
|
25658
25658
|
ro(window, "focus", s, r), bo = null;
|
|
25659
25659
|
}
|
|
25660
25660
|
}
|
|
25661
|
-
const
|
|
25661
|
+
const sc = {
|
|
25662
25662
|
getPressedKeyString: fC,
|
|
25663
25663
|
setScope: g1,
|
|
25664
25664
|
getScope: Ro,
|
|
@@ -25671,10 +25671,10 @@ const rc = {
|
|
|
25671
25671
|
unbind: m1,
|
|
25672
25672
|
keyMap: jo,
|
|
25673
25673
|
modifier: en,
|
|
25674
|
-
modifierMap:
|
|
25674
|
+
modifierMap: Yc
|
|
25675
25675
|
};
|
|
25676
|
-
for (const n in
|
|
25677
|
-
Object.prototype.hasOwnProperty.call(
|
|
25676
|
+
for (const n in sc)
|
|
25677
|
+
Object.prototype.hasOwnProperty.call(sc, n) && (pt[n] = sc[n]);
|
|
25678
25678
|
if (typeof window != "undefined") {
|
|
25679
25679
|
const n = window.hotkeys;
|
|
25680
25680
|
pt.noConflict = (t) => (t && window.hotkeys === pt && (window.hotkeys = n), pt), window.hotkeys = pt;
|
|
@@ -26054,7 +26054,7 @@ class EC extends Ct {
|
|
|
26054
26054
|
this.config = i ? H(H({}, s), i) : s, this.group = new di(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), pt("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
|
|
26055
26055
|
}
|
|
26056
26056
|
get pointSelector() {
|
|
26057
|
-
return this._pointSelector ? this._pointSelector : (this._pointSelector = new
|
|
26057
|
+
return this._pointSelector ? this._pointSelector : (this._pointSelector = new ul(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
|
|
26058
26058
|
}
|
|
26059
26059
|
get fiveDomEvents() {
|
|
26060
26060
|
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new Er(this.five, { fiveModels: null }), this._fiveDomEvents);
|
|
@@ -26522,10 +26522,10 @@ class _C {
|
|
|
26522
26522
|
}
|
|
26523
26523
|
}
|
|
26524
26524
|
}
|
|
26525
|
-
const
|
|
26525
|
+
const rc = 1e-3, Zf = 0.01, VC = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", LS = (n, t) => {
|
|
26526
26526
|
var ee, K, se, ne, le, Oe, Ae, ze;
|
|
26527
26527
|
let e = t == null ? void 0 : t.container, i = 1.4;
|
|
26528
|
-
const s = (ee = t == null ? void 0 : t.wait) != null ? ee : 200, r = (K = t == null ? void 0 : t.maxNumberOnScreen) != null ? K : 3, o = (se = t == null ? void 0 : t.minRad) != null ? se : Math.PI / 4, a = (ne = t == null ? void 0 : t.nearTolerance) != null ? ne : 100, l = (le = t == null ? void 0 : t.upsideHeight) != null ? le : 1.6, c = (Oe = t == null ? void 0 : t.minDistance) != null ? Oe : 1.2, h = (Ae = t == null ? void 0 : t.maxDistance) != null ? Ae : 3.5, u =
|
|
26528
|
+
const s = (ee = t == null ? void 0 : t.wait) != null ? ee : 200, r = (K = t == null ? void 0 : t.maxNumberOnScreen) != null ? K : 3, o = (se = t == null ? void 0 : t.minRad) != null ? se : Math.PI / 4, a = (ne = t == null ? void 0 : t.nearTolerance) != null ? ne : 100, l = (le = t == null ? void 0 : t.upsideHeight) != null ? le : 1.6, c = (Oe = t == null ? void 0 : t.minDistance) != null ? Oe : 1.2, h = (Ae = t == null ? void 0 : t.maxDistance) != null ? Ae : 3.5, u = vl(n), f = document.createElement("div");
|
|
26529
26529
|
f.classList.add("PanoSpatialTagPlugin"), Object.assign(f.style, OC);
|
|
26530
26530
|
const m = new Rr();
|
|
26531
26531
|
let p = new Image();
|
|
@@ -26660,11 +26660,11 @@ const oc = 1e-3, Zf = 0.01, VC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
26660
26660
|
Xe.distance + Zf
|
|
26661
26661
|
), [Je] = g.intersectObjects ? at.intersectObjects(g.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(at) : at.intersectObjects(n.model.children, !0);
|
|
26662
26662
|
if (Je && Xe.distance - Je.distance < Zf) {
|
|
26663
|
-
const { position: Ke, normal: st, id: rt, replacement: Lt } = Xe, Ni = new P.Plane().setFromNormalAndCoplanarPoint(st, Ke), Ft = Ke.clone().sub($.position).cross(new P.Vector3(0, 1, 0)).setLength(
|
|
26663
|
+
const { position: Ke, normal: st, id: rt, replacement: Lt } = Xe, Ni = new P.Plane().setFromNormalAndCoplanarPoint(st, Ke), Ft = Ke.clone().sub($.position).cross(new P.Vector3(0, 1, 0)).setLength(rc), oi = [
|
|
26664
26664
|
Ke.clone(),
|
|
26665
26665
|
Ke.clone().add(Ft),
|
|
26666
|
-
Ke.clone().add(new P.Vector3(0,
|
|
26667
|
-
Ke.clone().add(new P.Vector3(0,
|
|
26666
|
+
Ke.clone().add(new P.Vector3(0, rc, 0)).add(Ft),
|
|
26667
|
+
Ke.clone().add(new P.Vector3(0, rc, 0))
|
|
26668
26668
|
].map((Gt) => Ni.projectPoint(Gt, new P.Vector3())), { container: fi, dispose: ot } = u.create3DDomContainer(oi) || {}, Nt = new zC({
|
|
26669
26669
|
target: fi,
|
|
26670
26670
|
props: {
|
|
@@ -27218,7 +27218,7 @@ const KC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
27218
27218
|
rectPoints: [],
|
|
27219
27219
|
enabled: !1,
|
|
27220
27220
|
videoElement: t
|
|
27221
|
-
}, i =
|
|
27221
|
+
}, i = vl(n), s = /* @__PURE__ */ new Map(), r = (b) => {
|
|
27222
27222
|
e.videoTexture && (e.videoTexture.image.muted = b);
|
|
27223
27223
|
}, o = () => e.videoTexture ? e.videoTexture.image.muted : !0, a = () => {
|
|
27224
27224
|
if (e.enabled || !e.videoTexture)
|
|
@@ -28284,7 +28284,7 @@ const FS = (n) => new E4(n);
|
|
|
28284
28284
|
function y1(n, t) {
|
|
28285
28285
|
console.warn(`🚫 ==> [${n}]: ${t}`);
|
|
28286
28286
|
}
|
|
28287
|
-
var
|
|
28287
|
+
var Sl = {}, M4 = k4;
|
|
28288
28288
|
function k4(n, t, e) {
|
|
28289
28289
|
return n[0] = t[0] + e[0], n[1] = t[1] + e[1], n;
|
|
28290
28290
|
}
|
|
@@ -28306,26 +28306,26 @@ function j4(n, t) {
|
|
|
28306
28306
|
return n[0] * t[0] + n[1] * t[1];
|
|
28307
28307
|
}
|
|
28308
28308
|
var R4 = M4, Jc = x4, w1 = D4, B4 = L4, _4 = O4, rp = [0, 0];
|
|
28309
|
-
|
|
28309
|
+
Sl.computeMiter = function(t, e, i, s, r) {
|
|
28310
28310
|
return R4(t, i, s), w1(t, t), Jc(e, -t[1], t[0]), Jc(rp, -i[1], i[0]), r / _4(e, rp);
|
|
28311
28311
|
};
|
|
28312
|
-
|
|
28312
|
+
Sl.normal = function(t, e) {
|
|
28313
28313
|
return Jc(t, -e[1], e[0]), t;
|
|
28314
28314
|
};
|
|
28315
|
-
|
|
28315
|
+
Sl.direction = function(t, e, i) {
|
|
28316
28316
|
return B4(t, e, i), w1(t, t), t;
|
|
28317
28317
|
};
|
|
28318
|
-
var hn =
|
|
28318
|
+
var hn = Sl, bs = [0, 0], Pa = [0, 0], op = [0, 0], oo = [0, 0], V4 = function(n, t) {
|
|
28319
28319
|
var e = null, i = [];
|
|
28320
28320
|
t && (n = n.slice(), n.push(n[0]));
|
|
28321
28321
|
for (var s = n.length, r = 1; r < s; r++) {
|
|
28322
28322
|
var o = n[r - 1], a = n[r], l = r < n.length - 1 ? n[r + 1] : null;
|
|
28323
|
-
if (hn.direction(bs, a, o), e || (e = [0, 0], hn.normal(e, bs)), r === 1 &&
|
|
28324
|
-
hn.normal(e, bs),
|
|
28323
|
+
if (hn.direction(bs, a, o), e || (e = [0, 0], hn.normal(e, bs)), r === 1 && oc(i, e, 1), !l)
|
|
28324
|
+
hn.normal(e, bs), oc(i, e, 1);
|
|
28325
28325
|
else {
|
|
28326
28326
|
hn.direction(Pa, l, a);
|
|
28327
28327
|
var c = hn.computeMiter(op, oo, bs, Pa, 1);
|
|
28328
|
-
|
|
28328
|
+
oc(i, oo, c);
|
|
28329
28329
|
}
|
|
28330
28330
|
}
|
|
28331
28331
|
if (n.length > 2 && t) {
|
|
@@ -28336,7 +28336,7 @@ var hn = Dl, bs = [0, 0], Pa = [0, 0], op = [0, 0], oo = [0, 0], V4 = function(n
|
|
|
28336
28336
|
}
|
|
28337
28337
|
return i;
|
|
28338
28338
|
};
|
|
28339
|
-
function
|
|
28339
|
+
function oc(n, t, e) {
|
|
28340
28340
|
n.push([[t[0], t[1]], e]);
|
|
28341
28341
|
}
|
|
28342
28342
|
function P1(n, t) {
|
|
@@ -28488,7 +28488,7 @@ function Y4(n, t) {
|
|
|
28488
28488
|
});
|
|
28489
28489
|
});
|
|
28490
28490
|
}
|
|
28491
|
-
const
|
|
28491
|
+
const dt = (n) => n;
|
|
28492
28492
|
function C1(n) {
|
|
28493
28493
|
if (!n || n.length < 3)
|
|
28494
28494
|
return;
|
|
@@ -28833,14 +28833,14 @@ const h8 = {
|
|
|
28833
28833
|
}
|
|
28834
28834
|
}, u8 = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
|
|
28835
28835
|
navigator.userAgent.toLowerCase().indexOf("android");
|
|
28836
|
-
const
|
|
28836
|
+
const Oa = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, d8 = u8 && Oa;
|
|
28837
28837
|
function f8(n) {
|
|
28838
28838
|
if (n.length !== 4)
|
|
28839
28839
|
return !1;
|
|
28840
28840
|
const [t, e, i, s] = n, r = t.distanceTo(e), o = e.distanceTo(i), a = i.distanceTo(s), l = s.distanceTo(t), c = t.distanceTo(i), h = e.distanceTo(s);
|
|
28841
28841
|
return r === a && o === l && c === h;
|
|
28842
28842
|
}
|
|
28843
|
-
class
|
|
28843
|
+
class ac extends P.Mesh {
|
|
28844
28844
|
/**
|
|
28845
28845
|
* @description 生成一个四边形的Mesh
|
|
28846
28846
|
* @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
|
|
@@ -28896,7 +28896,7 @@ class x1 extends P.BufferGeometry {
|
|
|
28896
28896
|
}
|
|
28897
28897
|
}
|
|
28898
28898
|
function p8(n, t) {
|
|
28899
|
-
let e = !
|
|
28899
|
+
let e = !Oa;
|
|
28900
28900
|
const i = t != null ? t : document.createElement("video");
|
|
28901
28901
|
i.preload = "metadata", i.crossOrigin = "anonymous", i.muted = !0, i.loop = !0, i.playsInline = !0, i.autoplay = !0;
|
|
28902
28902
|
const s = new P.VideoTexture(i);
|
|
@@ -28904,9 +28904,9 @@ function p8(n, t) {
|
|
|
28904
28904
|
const r = () => {
|
|
28905
28905
|
s.metadataLoaded || (s.dispatchEvent({ type: "videoLoaded" }), s.metadataLoaded = !0);
|
|
28906
28906
|
};
|
|
28907
|
-
if (
|
|
28907
|
+
if (Oa || (i.onloadedmetadata = () => {
|
|
28908
28908
|
r();
|
|
28909
|
-
}),
|
|
28909
|
+
}), Oa) {
|
|
28910
28910
|
const o = () => {
|
|
28911
28911
|
if (!e) {
|
|
28912
28912
|
if (!i.paused) {
|
|
@@ -29101,7 +29101,7 @@ class D1 extends S1 {
|
|
|
29101
29101
|
return this.coverMesh;
|
|
29102
29102
|
if (!this.videoCoverSrc)
|
|
29103
29103
|
return;
|
|
29104
|
-
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), r = new P.MeshBasicMaterial({ transparent: !1, map: i }), o = fo(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new
|
|
29104
|
+
const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), r = new P.MeshBasicMaterial({ transparent: !1, map: i }), o = fo(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new ac(o, r);
|
|
29105
29105
|
return a.position.copy(new ge(0, 0, 0)), a.name = "videoCoverMesh", a;
|
|
29106
29106
|
}))();
|
|
29107
29107
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
@@ -29122,7 +29122,7 @@ class D1 extends S1 {
|
|
|
29122
29122
|
"videoLoaded",
|
|
29123
29123
|
() => c(fo(this.objectFit, this.cornerPoints, r.image.videoWidth / r.image.videoHeight))
|
|
29124
29124
|
);
|
|
29125
|
-
}), l = new
|
|
29125
|
+
}), l = new ac(a, o);
|
|
29126
29126
|
return l.name = "videoMesh", l.position.copy(new ge(0, 0, 0)), l;
|
|
29127
29127
|
}))();
|
|
29128
29128
|
if (!e)
|
|
@@ -29151,7 +29151,7 @@ class D1 extends S1 {
|
|
|
29151
29151
|
var m, p, g, v;
|
|
29152
29152
|
if (this.buttonMesh)
|
|
29153
29153
|
return this.buttonMesh;
|
|
29154
|
-
const i = (p = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, s = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, r = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, r) / r * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = fo("contain", this.cornerPoints, l.image.width / l.image.height), u = new
|
|
29154
|
+
const i = (p = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? p : 1 / 0, s = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, r = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, r) / r * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = fo("contain", this.cornerPoints, l.image.width / l.image.height), u = new ac(h, new g8(l));
|
|
29155
29155
|
u.position.copy(new ge(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
|
|
29156
29156
|
u,
|
|
29157
29157
|
"click",
|
|
@@ -29217,10 +29217,10 @@ class Bo {
|
|
|
29217
29217
|
r && this.cache_visible.set(r, i);
|
|
29218
29218
|
}
|
|
29219
29219
|
}
|
|
29220
|
-
function
|
|
29220
|
+
function nl(n) {
|
|
29221
29221
|
return Object.entries(n);
|
|
29222
29222
|
}
|
|
29223
|
-
function
|
|
29223
|
+
function sl(n) {
|
|
29224
29224
|
var e, i;
|
|
29225
29225
|
typeof n.visibleConfig == "object" && n.visibleConfig.keep && (n.visibleConfig.keep === "visible" ? n.visibleConfig = { keep: n.visibleConfig.keep, visibleFiveMode: (e = n.visibleConfig) == null ? void 0 : e.visibleFiveMode } : n.visibleConfig.keep === "hidden" && (n.visibleConfig = { keep: n.visibleConfig.keep })), typeof n.unfoldedConfig == "object" && (n.unfoldedConfig.disableFold && (n.unfoldedConfig = { keep: "unfolded" }), n.unfoldedConfig.disableUnfold && (n.unfoldedConfig = { keep: "folded" }), n.unfoldedConfig.keep && (n.unfoldedConfig = { keep: n.unfoldedConfig.keep }));
|
|
29226
29226
|
const t = (i = n.initialState) != null ? i : {};
|
|
@@ -29419,16 +29419,16 @@ class m8 extends cs {
|
|
|
29419
29419
|
}
|
|
29420
29420
|
});
|
|
29421
29421
|
const l = (w = e.initialConfig) != null ? w : {}, c = et({}, k1, this.config.globalConfig, ...Object.values(r)), h = et({}, c, l), u = {}, f = Object.values(Vt.Mode);
|
|
29422
|
-
|
|
29422
|
+
nl(o).forEach(([M, k]) => {
|
|
29423
29423
|
f.forEach((L) => {
|
|
29424
29424
|
(M === "PanoramaLike" && Yn(L) || M === "ModelLike" && vi(L)) && (u[L] = et({}, c, ...Object.values(k), l, { _isMerged: !0 }));
|
|
29425
29425
|
});
|
|
29426
|
-
}),
|
|
29426
|
+
}), nl(a).forEach(([M, k]) => {
|
|
29427
29427
|
const L = u[M];
|
|
29428
29428
|
u[M] = et({}, c, L, ...Object.values(k), l, { _isMerged: !0 });
|
|
29429
29429
|
});
|
|
29430
29430
|
const m = he(H({}, h), { configWithFiveMode: u });
|
|
29431
|
-
return
|
|
29431
|
+
return sl(m), Object.values(u).forEach((M) => sl(M)), m._isMerged = !0, m;
|
|
29432
29432
|
}
|
|
29433
29433
|
}
|
|
29434
29434
|
class v8 extends m8 {
|
|
@@ -29533,7 +29533,7 @@ class A8 {
|
|
|
29533
29533
|
});
|
|
29534
29534
|
}
|
|
29535
29535
|
}
|
|
29536
|
-
function
|
|
29536
|
+
function lc(n, t, e) {
|
|
29537
29537
|
var m, p, g, v, b;
|
|
29538
29538
|
const i = (m = e == null ? void 0 : e.useCache) != null ? m : !0;
|
|
29539
29539
|
if (!n)
|
|
@@ -29567,16 +29567,16 @@ function cc(n, t, e) {
|
|
|
29567
29567
|
}
|
|
29568
29568
|
});
|
|
29569
29569
|
const a = (b = n.initialConfig) != null ? b : {}, l = et({}, k1, t.globalConfig, ...Object.values(s)), c = et({}, l, a), h = {}, u = Object.values(Vt.Mode);
|
|
29570
|
-
|
|
29570
|
+
nl(r).forEach(([w, M]) => {
|
|
29571
29571
|
u.forEach((k) => {
|
|
29572
29572
|
(w === "PanoramaLike" && Yn(k) || w === "ModelLike" && vi(k)) && (h[k] = et({}, l, ...Object.values(M), a, { _isMerged: !0 }));
|
|
29573
29573
|
});
|
|
29574
|
-
}),
|
|
29574
|
+
}), nl(o).forEach(([w, M]) => {
|
|
29575
29575
|
const k = h[w];
|
|
29576
29576
|
h[w] = et({}, l, k, ...Object.values(M), a, { _isMerged: !0 });
|
|
29577
29577
|
});
|
|
29578
29578
|
const f = he(H({}, c), { configWithFiveMode: h });
|
|
29579
|
-
return
|
|
29579
|
+
return sl(f), Object.values(h).forEach((w) => sl(w)), f._isMerged = !0, f;
|
|
29580
29580
|
}
|
|
29581
29581
|
function cp(n) {
|
|
29582
29582
|
const t = n.split("?")[0].split(".").pop();
|
|
@@ -29665,7 +29665,7 @@ class ou {
|
|
|
29665
29665
|
e.stickType = i;
|
|
29666
29666
|
const s = JSON.parse(JSON.stringify(e.data)), r = (c = e.initialConfig) != null ? c : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
29667
29667
|
e.initialConfig = r;
|
|
29668
|
-
const o =
|
|
29668
|
+
const o = lc(e, t.config), a = this.getConfig(e);
|
|
29669
29669
|
e.config = a, this.id = (h = e.id) != null ? h : Dt(), this.enabled = (u = e.enabled) != null ? u : !0, this.contentType = e.contentType, this.hoverEnabled = (m = (f = a.popoverConfig) == null ? void 0 : f.enabled) != null ? m : !0, this.data = (p = a.initialData) != null && p.important ? et(e.data, s, a.initialData) : et(e.data, a.initialData, s);
|
|
29670
29670
|
let l;
|
|
29671
29671
|
typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? l = !0 : a.unfoldedConfig.keep === "folded" ? l = !1 : l = !this.can("fold") : l = !this.can("fold"), this.state = H({
|
|
@@ -29703,7 +29703,7 @@ class ou {
|
|
|
29703
29703
|
}
|
|
29704
29704
|
get currentConfig() {
|
|
29705
29705
|
var s, r;
|
|
29706
|
-
const t =
|
|
29706
|
+
const t = lc(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, i = (s = t.configWithFiveMode) == null ? void 0 : s[e];
|
|
29707
29707
|
return (r = i != null ? i : t) != null ? r : {};
|
|
29708
29708
|
}
|
|
29709
29709
|
get currentVisible() {
|
|
@@ -29777,7 +29777,7 @@ class ou {
|
|
|
29777
29777
|
console.warn("tagDom is empty");
|
|
29778
29778
|
return;
|
|
29779
29779
|
}
|
|
29780
|
-
yield (s ?
|
|
29780
|
+
yield (s ? ml : s0)(r, H({
|
|
29781
29781
|
begin: () => {
|
|
29782
29782
|
s === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
29783
29783
|
},
|
|
@@ -29866,7 +29866,7 @@ class ou {
|
|
|
29866
29866
|
}
|
|
29867
29867
|
getConfig(t, e) {
|
|
29868
29868
|
var o, a, l;
|
|
29869
|
-
const i =
|
|
29869
|
+
const i = lc(t != null ? t : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), s = (o = e == null ? void 0 : e.fiveMode) != null ? o : this.five.getCurrentState().mode, r = (a = i.configWithFiveMode) == null ? void 0 : a[s];
|
|
29870
29870
|
return (l = r != null ? r : i) != null ? l : {};
|
|
29871
29871
|
}
|
|
29872
29872
|
getDistance(t, e = 3) {
|
|
@@ -30545,7 +30545,7 @@ function dp(n) {
|
|
|
30545
30545
|
},
|
|
30546
30546
|
i(o) {
|
|
30547
30547
|
r || (o && At(() => {
|
|
30548
|
-
r && (s && s.end(1), i = ls(t,
|
|
30548
|
+
r && (s && s.end(1), i = ls(t, Za, {
|
|
30549
30549
|
duration: (
|
|
30550
30550
|
/*duration*/
|
|
30551
30551
|
n[2]
|
|
@@ -30559,7 +30559,7 @@ function dp(n) {
|
|
|
30559
30559
|
}), r = !0);
|
|
30560
30560
|
},
|
|
30561
30561
|
o(o) {
|
|
30562
|
-
i && i.invalidate(), o && (s = Vr(t,
|
|
30562
|
+
i && i.invalidate(), o && (s = Vr(t, Za, {
|
|
30563
30563
|
duration: (
|
|
30564
30564
|
/*duration*/
|
|
30565
30565
|
n[2]
|
|
@@ -31033,7 +31033,7 @@ function _8(n, t, e) {
|
|
|
31033
31033
|
if (z > 0)
|
|
31034
31034
|
return z;
|
|
31035
31035
|
}();
|
|
31036
|
-
p =
|
|
31036
|
+
p = ut({
|
|
31037
31037
|
targets: D.slice(0, N).filter(Fe),
|
|
31038
31038
|
autoplay: !1,
|
|
31039
31039
|
duration: 400,
|
|
@@ -31042,7 +31042,7 @@ function _8(n, t, e) {
|
|
|
31042
31042
|
opacity: [0, 1],
|
|
31043
31043
|
translateX: [4, 0],
|
|
31044
31044
|
translateY: [10, 0],
|
|
31045
|
-
delay:
|
|
31045
|
+
delay: ut.stagger(50),
|
|
31046
31046
|
easing: "easeInOutCubic"
|
|
31047
31047
|
}), a && p.seek(p.duration);
|
|
31048
31048
|
}
|
|
@@ -32173,7 +32173,7 @@ function Ip(n) {
|
|
|
32173
32173
|
},
|
|
32174
32174
|
i(r) {
|
|
32175
32175
|
s || (r && At(() => {
|
|
32176
|
-
s && (i && i.end(1), e = ls(t,
|
|
32176
|
+
s && (i && i.end(1), e = ls(t, Za, {
|
|
32177
32177
|
duration: (
|
|
32178
32178
|
/*duration*/
|
|
32179
32179
|
n[1]
|
|
@@ -32187,7 +32187,7 @@ function Ip(n) {
|
|
|
32187
32187
|
}), s = !0);
|
|
32188
32188
|
},
|
|
32189
32189
|
o(r) {
|
|
32190
|
-
e && e.invalidate(), r && (i = Vr(t,
|
|
32190
|
+
e && e.invalidate(), r && (i = Vr(t, Za, {
|
|
32191
32191
|
duration: (
|
|
32192
32192
|
/*duration*/
|
|
32193
32193
|
n[1]
|
|
@@ -32591,7 +32591,7 @@ function cu(n) {
|
|
|
32591
32591
|
};
|
|
32592
32592
|
}
|
|
32593
32593
|
const jI = 110, RI = 9, BI = 111, _I = 20;
|
|
32594
|
-
function
|
|
32594
|
+
function cc(n) {
|
|
32595
32595
|
if ("TouchEvent" in window && n instanceof TouchEvent) {
|
|
32596
32596
|
const t = n.touches[0];
|
|
32597
32597
|
return {
|
|
@@ -32612,13 +32612,13 @@ function VI(n, { thresholdProvider: t }) {
|
|
|
32612
32612
|
}
|
|
32613
32613
|
function c(f) {
|
|
32614
32614
|
o = Date.now(), r = 0, a = !0;
|
|
32615
|
-
const m =
|
|
32615
|
+
const m = cc(f);
|
|
32616
32616
|
i = m.x, s = m.y, e("swipeStart", { x: i, y: s }), OI(window, h), zI(window, u);
|
|
32617
32617
|
}
|
|
32618
32618
|
function h(f) {
|
|
32619
32619
|
if (!a)
|
|
32620
32620
|
return;
|
|
32621
|
-
const m =
|
|
32621
|
+
const m = cc(f), p = m.x - i, g = m.y - s;
|
|
32622
32622
|
i = m.x, s = m.y, e("swipeMove", { x: i, y: s, dx: p, dy: g }), p !== 0 && Math.sign(p) !== Math.sign(r) && (r = 0), r += p, Math.abs(r) > t() && (e("swipeThresholdReached", { direction: r > 0 ? jr : rs }), xp(window, u), Sp(window, h));
|
|
32623
32623
|
}
|
|
32624
32624
|
function u(f) {
|
|
@@ -32626,7 +32626,7 @@ function VI(n, { thresholdProvider: t }) {
|
|
|
32626
32626
|
e("swipeFailed");
|
|
32627
32627
|
return;
|
|
32628
32628
|
}
|
|
32629
|
-
const m =
|
|
32629
|
+
const m = cc(f);
|
|
32630
32630
|
e("swipeEnd", { x: m.x, y: m.y });
|
|
32631
32631
|
}
|
|
32632
32632
|
return TI(n, c), {
|
|
@@ -32804,7 +32804,7 @@ function tE({
|
|
|
32804
32804
|
e - 1
|
|
32805
32805
|
);
|
|
32806
32806
|
}
|
|
32807
|
-
function
|
|
32807
|
+
function hc({
|
|
32808
32808
|
infinite: n,
|
|
32809
32809
|
pageIndex: t,
|
|
32810
32810
|
clonesCountHead: e,
|
|
@@ -32919,8 +32919,8 @@ function wE(n) {
|
|
|
32919
32919
|
}
|
|
32920
32920
|
return t;
|
|
32921
32921
|
}
|
|
32922
|
-
var PE = Array.prototype, CE = Function.prototype, H1 = Object.prototype,
|
|
32923
|
-
var n = /[^.]+$/.exec(
|
|
32922
|
+
var PE = Array.prototype, CE = Function.prototype, H1 = Object.prototype, uc = hu["__core-js_shared__"], Lp = function() {
|
|
32923
|
+
var n = /[^.]+$/.exec(uc && uc.keys && uc.keys.IE_PROTO || "");
|
|
32924
32924
|
return n ? "Symbol(src)_1." + n : "";
|
|
32925
32925
|
}(), F1 = CE.toString, uu = H1.hasOwnProperty, N1 = H1.toString, IE = RegExp(
|
|
32926
32926
|
"^" + F1.call(uu).replace(gE, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
@@ -32970,21 +32970,21 @@ function LE() {
|
|
|
32970
32970
|
this.__data__ = [];
|
|
32971
32971
|
}
|
|
32972
32972
|
function zE(n) {
|
|
32973
|
-
var t = this.__data__, e =
|
|
32973
|
+
var t = this.__data__, e = Dl(t, n);
|
|
32974
32974
|
if (e < 0)
|
|
32975
32975
|
return !1;
|
|
32976
32976
|
var i = t.length - 1;
|
|
32977
32977
|
return e == i ? t.pop() : EE.call(t, e, 1), !0;
|
|
32978
32978
|
}
|
|
32979
32979
|
function OE(n) {
|
|
32980
|
-
var t = this.__data__, e =
|
|
32980
|
+
var t = this.__data__, e = Dl(t, n);
|
|
32981
32981
|
return e < 0 ? void 0 : t[e][1];
|
|
32982
32982
|
}
|
|
32983
32983
|
function jE(n) {
|
|
32984
|
-
return
|
|
32984
|
+
return Dl(this.__data__, n) > -1;
|
|
32985
32985
|
}
|
|
32986
32986
|
function RE(n, t) {
|
|
32987
|
-
var e = this.__data__, i =
|
|
32987
|
+
var e = this.__data__, i = Dl(e, n);
|
|
32988
32988
|
return i < 0 ? e.push([n, t]) : e[i][1] = t, this;
|
|
32989
32989
|
}
|
|
32990
32990
|
Nr.prototype.clear = LE;
|
|
@@ -33007,23 +33007,23 @@ function BE() {
|
|
|
33007
33007
|
};
|
|
33008
33008
|
}
|
|
33009
33009
|
function _E(n) {
|
|
33010
|
-
return
|
|
33010
|
+
return Tl(this, n).delete(n);
|
|
33011
33011
|
}
|
|
33012
33012
|
function VE(n) {
|
|
33013
|
-
return
|
|
33013
|
+
return Tl(this, n).get(n);
|
|
33014
33014
|
}
|
|
33015
33015
|
function HE(n) {
|
|
33016
|
-
return
|
|
33016
|
+
return Tl(this, n).has(n);
|
|
33017
33017
|
}
|
|
33018
33018
|
function FE(n, t) {
|
|
33019
|
-
return
|
|
33019
|
+
return Tl(this, n).set(n, t), this;
|
|
33020
33020
|
}
|
|
33021
33021
|
Ns.prototype.clear = BE;
|
|
33022
33022
|
Ns.prototype.delete = _E;
|
|
33023
33023
|
Ns.prototype.get = VE;
|
|
33024
33024
|
Ns.prototype.has = HE;
|
|
33025
33025
|
Ns.prototype.set = FE;
|
|
33026
|
-
function
|
|
33026
|
+
function Dl(n, t) {
|
|
33027
33027
|
for (var e = n.length; e--; )
|
|
33028
33028
|
if (KE(n[e][0], t))
|
|
33029
33029
|
return e;
|
|
@@ -33052,7 +33052,7 @@ function WE(n) {
|
|
|
33052
33052
|
function UE(n) {
|
|
33053
33053
|
return W1(n) ? n : ZE(n);
|
|
33054
33054
|
}
|
|
33055
|
-
function
|
|
33055
|
+
function Tl(n, t) {
|
|
33056
33056
|
var e = n.__data__;
|
|
33057
33057
|
return XE(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
33058
33058
|
}
|
|
@@ -33137,12 +33137,12 @@ function i9(n, t, e) {
|
|
|
33137
33137
|
var i = n == null ? void 0 : NE(n, t);
|
|
33138
33138
|
return i === void 0 ? e : i;
|
|
33139
33139
|
}
|
|
33140
|
-
var Ea = i9,
|
|
33140
|
+
var Ea = i9, rl = {}, n9 = {
|
|
33141
33141
|
get exports() {
|
|
33142
|
-
return
|
|
33142
|
+
return rl;
|
|
33143
33143
|
},
|
|
33144
33144
|
set exports(n) {
|
|
33145
|
-
|
|
33145
|
+
rl = n;
|
|
33146
33146
|
}
|
|
33147
33147
|
};
|
|
33148
33148
|
(function(n, t) {
|
|
@@ -33462,7 +33462,7 @@ var Ea = i9, ol = {}, n9 = {
|
|
|
33462
33462
|
var J = be(x, _);
|
|
33463
33463
|
return $t(J) ? J : void 0;
|
|
33464
33464
|
}
|
|
33465
|
-
var Z = ds ? Ce(ds, Object) :
|
|
33465
|
+
var Z = ds ? Ce(ds, Object) : Rl, ie = On;
|
|
33466
33466
|
(kn && ie(new kn(new ArrayBuffer(1))) != D || Pi && ie(new Pi()) != f || pi && ie(pi.resolve()) != g || xn && ie(new xn()) != b || Sn && ie(new Sn()) != k) && (ie = function(x) {
|
|
33467
33467
|
var _ = Lt.call(x), J = _ == p ? x.constructor : void 0, oe = J ? ti(J) : void 0;
|
|
33468
33468
|
if (oe)
|
|
@@ -33554,16 +33554,16 @@ var Ea = i9, ol = {}, n9 = {
|
|
|
33554
33554
|
return x === _ || x !== x && _ !== _;
|
|
33555
33555
|
}
|
|
33556
33556
|
function Ks(x) {
|
|
33557
|
-
return
|
|
33557
|
+
return jl(x) && rt.call(x, "callee") && (!Gt.call(x, "callee") || Lt.call(x) == r);
|
|
33558
33558
|
}
|
|
33559
33559
|
var Kr = Array.isArray;
|
|
33560
33560
|
function $s(x) {
|
|
33561
33561
|
return x != null && ea(x.length) && !$r(x);
|
|
33562
33562
|
}
|
|
33563
|
-
function
|
|
33563
|
+
function jl(x) {
|
|
33564
33564
|
return ta(x) && $s(x);
|
|
33565
33565
|
}
|
|
33566
|
-
var $o = Mn ||
|
|
33566
|
+
var $o = Mn || Bl;
|
|
33567
33567
|
function $r(x) {
|
|
33568
33568
|
var _ = Xi(x) ? Lt.call(x) : "";
|
|
33569
33569
|
return _ == h || _ == u;
|
|
@@ -33581,21 +33581,21 @@ var Ea = i9, ol = {}, n9 = {
|
|
|
33581
33581
|
function eo(x) {
|
|
33582
33582
|
return $s(x) ? Jt(x) : jn(x);
|
|
33583
33583
|
}
|
|
33584
|
-
function
|
|
33584
|
+
function Rl() {
|
|
33585
33585
|
return [];
|
|
33586
33586
|
}
|
|
33587
|
-
function
|
|
33587
|
+
function Bl() {
|
|
33588
33588
|
return !1;
|
|
33589
33589
|
}
|
|
33590
33590
|
n.exports = Jo;
|
|
33591
|
-
})(n9,
|
|
33592
|
-
const s9 =
|
|
33593
|
-
var
|
|
33591
|
+
})(n9, rl);
|
|
33592
|
+
const s9 = rl;
|
|
33593
|
+
var ol = {}, r9 = {
|
|
33594
33594
|
get exports() {
|
|
33595
|
-
return
|
|
33595
|
+
return ol;
|
|
33596
33596
|
},
|
|
33597
33597
|
set exports(n) {
|
|
33598
|
-
|
|
33598
|
+
ol = n;
|
|
33599
33599
|
}
|
|
33600
33600
|
};
|
|
33601
33601
|
(function(n, t) {
|
|
@@ -33983,7 +33983,7 @@ var al = {}, r9 = {
|
|
|
33983
33983
|
return x == null ? [] : (x = Object(x), ue(xn(x), function(_) {
|
|
33984
33984
|
return kn.call(x, _);
|
|
33985
33985
|
}));
|
|
33986
|
-
} :
|
|
33986
|
+
} : Rl, Se = Oi;
|
|
33987
33987
|
(tn && Se(new tn(new ArrayBuffer(1))) != I || nn && Se(new nn()) != g || fs && Se(fs.resolve()) != M || ps && Se(new ps()) != D || Dn && Se(new Dn()) != A) && (Se = function(x) {
|
|
33988
33988
|
var _ = Oi(x), J = _ == w ? x.constructor : void 0, oe = J ? ti(J) : "";
|
|
33989
33989
|
if (oe)
|
|
@@ -34042,8 +34042,8 @@ var al = {}, r9 = {
|
|
|
34042
34042
|
function Kr(x) {
|
|
34043
34043
|
return x != null && $r(x.length) && !$o(x);
|
|
34044
34044
|
}
|
|
34045
|
-
var $s = Sn ||
|
|
34046
|
-
function
|
|
34045
|
+
var $s = Sn || Bl;
|
|
34046
|
+
function jl(x, _) {
|
|
34047
34047
|
return ln(x, _);
|
|
34048
34048
|
}
|
|
34049
34049
|
function $o(x) {
|
|
@@ -34066,15 +34066,15 @@ var al = {}, r9 = {
|
|
|
34066
34066
|
function eo(x) {
|
|
34067
34067
|
return Kr(x) ? jn(x) : vs(x);
|
|
34068
34068
|
}
|
|
34069
|
-
function
|
|
34069
|
+
function Rl() {
|
|
34070
34070
|
return [];
|
|
34071
34071
|
}
|
|
34072
|
-
function
|
|
34072
|
+
function Bl() {
|
|
34073
34073
|
return !1;
|
|
34074
34074
|
}
|
|
34075
|
-
n.exports =
|
|
34076
|
-
})(r9,
|
|
34077
|
-
const o9 =
|
|
34075
|
+
n.exports = jl;
|
|
34076
|
+
})(r9, ol);
|
|
34077
|
+
const o9 = ol, a9 = (n, t) => o9(n, t), l9 = (n) => Object.keys(n || {}), c9 = (n, t) => {
|
|
34078
34078
|
const e = {};
|
|
34079
34079
|
return n.forEach((i) => {
|
|
34080
34080
|
e[i] = t[i];
|
|
@@ -34341,7 +34341,7 @@ function A9(n) {
|
|
|
34341
34341
|
},
|
|
34342
34342
|
methods: {
|
|
34343
34343
|
_prev({ data: o }) {
|
|
34344
|
-
o.currentParticleIndex =
|
|
34344
|
+
o.currentParticleIndex = hc({
|
|
34345
34345
|
infinite: o.infinite,
|
|
34346
34346
|
pageIndex: o.currentPageIndex - 1,
|
|
34347
34347
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -34352,7 +34352,7 @@ function A9(n) {
|
|
|
34352
34352
|
});
|
|
34353
34353
|
},
|
|
34354
34354
|
_next({ data: o }) {
|
|
34355
|
-
o.currentParticleIndex =
|
|
34355
|
+
o.currentParticleIndex = hc({
|
|
34356
34356
|
infinite: o.infinite,
|
|
34357
34357
|
pageIndex: o.currentPageIndex + 1,
|
|
34358
34358
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -34431,7 +34431,7 @@ function A9(n) {
|
|
|
34431
34431
|
});
|
|
34432
34432
|
},
|
|
34433
34433
|
_getParticleIndexByPageIndex({ data: o }, a) {
|
|
34434
|
-
return
|
|
34434
|
+
return hc({
|
|
34435
34435
|
infinite: o.infinite,
|
|
34436
34436
|
pageIndex: a,
|
|
34437
34437
|
clonesCountHead: o.clonesCountHead,
|
|
@@ -35754,7 +35754,7 @@ function _9(n) {
|
|
|
35754
35754
|
return (
|
|
35755
35755
|
/*mediaInstanceList*/
|
|
35756
35756
|
n[8][0] !== void 0 && (o.mediaInstance = /*mediaInstanceList*/
|
|
35757
|
-
n[8][0]), t = new Q1({ props: o }), qe.push(() =>
|
|
35757
|
+
n[8][0]), t = new Q1({ props: o }), qe.push(() => yl(t, "mediaInstance", r)), {
|
|
35758
35758
|
c() {
|
|
35759
35759
|
pe(t.$$.fragment);
|
|
35760
35760
|
},
|
|
@@ -35787,7 +35787,7 @@ function _9(n) {
|
|
|
35787
35787
|
]) : {};
|
|
35788
35788
|
!e && l[0] & /*mediaInstanceList*/
|
|
35789
35789
|
256 && (e = !0, c.mediaInstance = /*mediaInstanceList*/
|
|
35790
|
-
a[8][0],
|
|
35790
|
+
a[8][0], bl(() => e = !1)), t.$set(c);
|
|
35791
35791
|
},
|
|
35792
35792
|
i(a) {
|
|
35793
35793
|
i || (V(t.$$.fragment, a), i = !0);
|
|
@@ -35869,7 +35869,7 @@ function Yp(n) {
|
|
|
35869
35869
|
n[8][
|
|
35870
35870
|
/*index*/
|
|
35871
35871
|
n[30]
|
|
35872
|
-
]), t = new Q1({ props: o }), qe.push(() =>
|
|
35872
|
+
]), t = new Q1({ props: o }), qe.push(() => yl(t, "mediaInstance", r)), {
|
|
35873
35873
|
c() {
|
|
35874
35874
|
pe(t.$$.fragment);
|
|
35875
35875
|
},
|
|
@@ -35901,7 +35901,7 @@ function Yp(n) {
|
|
|
35901
35901
|
n[8][
|
|
35902
35902
|
/*index*/
|
|
35903
35903
|
n[30]
|
|
35904
|
-
],
|
|
35904
|
+
], bl(() => e = !1)), t.$set(c);
|
|
35905
35905
|
},
|
|
35906
35906
|
i(a) {
|
|
35907
35907
|
i || (V(t.$$.fragment, a), i = !0);
|
|
@@ -37350,7 +37350,7 @@ function n7(n, t, e) {
|
|
|
37350
37350
|
p
|
|
37351
37351
|
];
|
|
37352
37352
|
}
|
|
37353
|
-
class
|
|
37353
|
+
class Ll extends Ee {
|
|
37354
37354
|
constructor(t) {
|
|
37355
37355
|
super(), Ie(
|
|
37356
37356
|
this,
|
|
@@ -37596,7 +37596,7 @@ function ug(n) {
|
|
|
37596
37596
|
}
|
|
37597
37597
|
function r7(n) {
|
|
37598
37598
|
let t, e, i;
|
|
37599
|
-
return e = new
|
|
37599
|
+
return e = new Ll({ props: { playing: (
|
|
37600
37600
|
/*playing*/
|
|
37601
37601
|
n[2]
|
|
37602
37602
|
) } }), {
|
|
@@ -37805,7 +37805,7 @@ function h7(n) {
|
|
|
37805
37805
|
}
|
|
37806
37806
|
function u7(n) {
|
|
37807
37807
|
let t, e, i, s, r, o, a;
|
|
37808
|
-
return i = new
|
|
37808
|
+
return i = new Ll({ props: { playing: (
|
|
37809
37809
|
/*playing*/
|
|
37810
37810
|
n[3]
|
|
37811
37811
|
) } }), o = new lu({
|
|
@@ -38178,7 +38178,7 @@ class C7 extends Ee {
|
|
|
38178
38178
|
super(), Ie(this, t, P7, w7, Pe, { tag: 0 }, y7);
|
|
38179
38179
|
}
|
|
38180
38180
|
}
|
|
38181
|
-
const
|
|
38181
|
+
const dc = /* @__PURE__ */ new Map();
|
|
38182
38182
|
function Y1(n) {
|
|
38183
38183
|
return te(this, null, function* () {
|
|
38184
38184
|
return new Promise((t, e) => {
|
|
@@ -38194,10 +38194,10 @@ function Y1(n) {
|
|
|
38194
38194
|
function I7(n) {
|
|
38195
38195
|
return te(this, null, function* () {
|
|
38196
38196
|
const { url: t, ratio: e = 3 } = n, i = (() => {
|
|
38197
|
-
if (
|
|
38198
|
-
return
|
|
38197
|
+
if (dc.has(t))
|
|
38198
|
+
return dc.get(t);
|
|
38199
38199
|
const o = Y1(t);
|
|
38200
|
-
return
|
|
38200
|
+
return dc.set(t, o), o;
|
|
38201
38201
|
})(), { width: s, height: r } = yield i;
|
|
38202
38202
|
return he(H({}, n), {
|
|
38203
38203
|
width: s / e,
|
|
@@ -38312,9 +38312,9 @@ function k7(n) {
|
|
|
38312
38312
|
catch: S7,
|
|
38313
38313
|
value: 21
|
|
38314
38314
|
};
|
|
38315
|
-
return
|
|
38315
|
+
return Qa(
|
|
38316
38316
|
e = /*getImage*/
|
|
38317
|
-
n[13](
|
|
38317
|
+
n[13](dt({
|
|
38318
38318
|
url: (
|
|
38319
38319
|
/*iconUrl*/
|
|
38320
38320
|
n[7]
|
|
@@ -38335,7 +38335,7 @@ function k7(n) {
|
|
|
38335
38335
|
p(s, r) {
|
|
38336
38336
|
n = s, i.ctx = n, r & /*iconUrl, iconRatio*/
|
|
38337
38337
|
160 && e !== (e = /*getImage*/
|
|
38338
|
-
n[13](
|
|
38338
|
+
n[13](dt({
|
|
38339
38339
|
url: (
|
|
38340
38340
|
/*iconUrl*/
|
|
38341
38341
|
n[7]
|
|
@@ -38344,7 +38344,7 @@ function k7(n) {
|
|
|
38344
38344
|
/*iconRatio*/
|
|
38345
38345
|
n[5]
|
|
38346
38346
|
)
|
|
38347
|
-
}))) &&
|
|
38347
|
+
}))) && Qa(e, i) || w0(i, n, r);
|
|
38348
38348
|
},
|
|
38349
38349
|
d(s) {
|
|
38350
38350
|
s && Q(t), i.block.d(s), i.token = null, i = null;
|
|
@@ -38362,9 +38362,9 @@ function x7(n) {
|
|
|
38362
38362
|
catch: L7,
|
|
38363
38363
|
value: 21
|
|
38364
38364
|
};
|
|
38365
|
-
return
|
|
38365
|
+
return Qa(
|
|
38366
38366
|
e = /*getKeyframe*/
|
|
38367
|
-
n[12](
|
|
38367
|
+
n[12](dt({
|
|
38368
38368
|
url: (
|
|
38369
38369
|
/*iconUrl*/
|
|
38370
38370
|
n[7]
|
|
@@ -38393,7 +38393,7 @@ function x7(n) {
|
|
|
38393
38393
|
p(s, r) {
|
|
38394
38394
|
n = s, i.ctx = n, r & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
38395
38395
|
228 && e !== (e = /*getKeyframe*/
|
|
38396
|
-
n[12](
|
|
38396
|
+
n[12](dt({
|
|
38397
38397
|
url: (
|
|
38398
38398
|
/*iconUrl*/
|
|
38399
38399
|
n[7]
|
|
@@ -38410,7 +38410,7 @@ function x7(n) {
|
|
|
38410
38410
|
/*iconRatio*/
|
|
38411
38411
|
n[5]
|
|
38412
38412
|
)
|
|
38413
|
-
}))) &&
|
|
38413
|
+
}))) && Qa(e, i) || w0(i, n, r);
|
|
38414
38414
|
},
|
|
38415
38415
|
d(s) {
|
|
38416
38416
|
s && Q(t), i.block.d(s), i.token = null, i = null;
|
|
@@ -38694,7 +38694,7 @@ function R7(n, t, e) {
|
|
|
38694
38694
|
16384 && e(5, l = g == null ? void 0 : g.ratio), n.$$.dirty & /*icon*/
|
|
38695
38695
|
16384 && e(4, c = (N = g == null ? void 0 : g.scale) != null ? N : 1), n.$$.dirty & /*icon*/
|
|
38696
38696
|
16384 && e(3, h = g == null ? void 0 : g.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
38697
|
-
252 && e(9, u =
|
|
38697
|
+
252 && e(9, u = dt({
|
|
38698
38698
|
url: i,
|
|
38699
38699
|
steps: o,
|
|
38700
38700
|
fps: a,
|
|
@@ -39085,7 +39085,7 @@ function K7(n) {
|
|
|
39085
39085
|
let t, e;
|
|
39086
39086
|
return {
|
|
39087
39087
|
c() {
|
|
39088
|
-
t = new
|
|
39088
|
+
t = new Ha(!1), e = Ge(), t.a = e;
|
|
39089
39089
|
},
|
|
39090
39090
|
m(i, s) {
|
|
39091
39091
|
t.m(
|
|
@@ -39387,7 +39387,7 @@ function rM(n) {
|
|
|
39387
39387
|
let t, e, i, s, r, o, a;
|
|
39388
39388
|
return e = new tM({
|
|
39389
39389
|
props: {
|
|
39390
|
-
tag:
|
|
39390
|
+
tag: dt(
|
|
39391
39391
|
/*tag*/
|
|
39392
39392
|
n[0]
|
|
39393
39393
|
),
|
|
@@ -39426,7 +39426,7 @@ function rM(n) {
|
|
|
39426
39426
|
p(l, c) {
|
|
39427
39427
|
const h = {};
|
|
39428
39428
|
c & /*tag*/
|
|
39429
|
-
1 && (h.tag =
|
|
39429
|
+
1 && (h.tag = dt(
|
|
39430
39430
|
/*tag*/
|
|
39431
39431
|
l[0]
|
|
39432
39432
|
)), c & /*rendererMap*/
|
|
@@ -39466,7 +39466,7 @@ function rM(n) {
|
|
|
39466
39466
|
function oM(n) {
|
|
39467
39467
|
let t, e;
|
|
39468
39468
|
return t = new q7({
|
|
39469
|
-
props: { tag:
|
|
39469
|
+
props: { tag: dt(
|
|
39470
39470
|
/*tag*/
|
|
39471
39471
|
n[0]
|
|
39472
39472
|
) }
|
|
@@ -39480,7 +39480,7 @@ function oM(n) {
|
|
|
39480
39480
|
p(i, s) {
|
|
39481
39481
|
const r = {};
|
|
39482
39482
|
s & /*tag*/
|
|
39483
|
-
1 && (r.tag =
|
|
39483
|
+
1 && (r.tag = dt(
|
|
39484
39484
|
/*tag*/
|
|
39485
39485
|
i[0]
|
|
39486
39486
|
)), t.$set(r);
|
|
@@ -39499,7 +39499,7 @@ function oM(n) {
|
|
|
39499
39499
|
function aM(n) {
|
|
39500
39500
|
let t, e;
|
|
39501
39501
|
return t = new C7({
|
|
39502
|
-
props: { tag:
|
|
39502
|
+
props: { tag: dt(
|
|
39503
39503
|
/*tag*/
|
|
39504
39504
|
n[0]
|
|
39505
39505
|
) }
|
|
@@ -39513,7 +39513,7 @@ function aM(n) {
|
|
|
39513
39513
|
p(i, s) {
|
|
39514
39514
|
const r = {};
|
|
39515
39515
|
s & /*tag*/
|
|
39516
|
-
1 && (r.tag =
|
|
39516
|
+
1 && (r.tag = dt(
|
|
39517
39517
|
/*tag*/
|
|
39518
39518
|
i[0]
|
|
39519
39519
|
)), t.$set(r);
|
|
@@ -39532,7 +39532,7 @@ function aM(n) {
|
|
|
39532
39532
|
function lM(n) {
|
|
39533
39533
|
let t, e;
|
|
39534
39534
|
return t = new F7({
|
|
39535
|
-
props: { tag:
|
|
39535
|
+
props: { tag: dt(
|
|
39536
39536
|
/*tag*/
|
|
39537
39537
|
n[0]
|
|
39538
39538
|
) }
|
|
@@ -39546,7 +39546,7 @@ function lM(n) {
|
|
|
39546
39546
|
p(i, s) {
|
|
39547
39547
|
const r = {};
|
|
39548
39548
|
s & /*tag*/
|
|
39549
|
-
1 && (r.tag =
|
|
39549
|
+
1 && (r.tag = dt(
|
|
39550
39550
|
/*tag*/
|
|
39551
39551
|
i[0]
|
|
39552
39552
|
)), t.$set(r);
|
|
@@ -39565,7 +39565,7 @@ function lM(n) {
|
|
|
39565
39565
|
function cM(n) {
|
|
39566
39566
|
let t, e;
|
|
39567
39567
|
return t = new q9({
|
|
39568
|
-
props: { tag:
|
|
39568
|
+
props: { tag: dt(
|
|
39569
39569
|
/*tag*/
|
|
39570
39570
|
n[0]
|
|
39571
39571
|
) }
|
|
@@ -39579,7 +39579,7 @@ function cM(n) {
|
|
|
39579
39579
|
p(i, s) {
|
|
39580
39580
|
const r = {};
|
|
39581
39581
|
s & /*tag*/
|
|
39582
|
-
1 && (r.tag =
|
|
39582
|
+
1 && (r.tag = dt(
|
|
39583
39583
|
/*tag*/
|
|
39584
39584
|
i[0]
|
|
39585
39585
|
)), t.$set(r);
|
|
@@ -39598,7 +39598,7 @@ function cM(n) {
|
|
|
39598
39598
|
function hM(n) {
|
|
39599
39599
|
let t, e;
|
|
39600
39600
|
return t = new b7({
|
|
39601
|
-
props: { tag:
|
|
39601
|
+
props: { tag: dt(
|
|
39602
39602
|
/*tag*/
|
|
39603
39603
|
n[0]
|
|
39604
39604
|
) }
|
|
@@ -39612,7 +39612,7 @@ function hM(n) {
|
|
|
39612
39612
|
p(i, s) {
|
|
39613
39613
|
const r = {};
|
|
39614
39614
|
s & /*tag*/
|
|
39615
|
-
1 && (r.tag =
|
|
39615
|
+
1 && (r.tag = dt(
|
|
39616
39616
|
/*tag*/
|
|
39617
39617
|
i[0]
|
|
39618
39618
|
)), t.$set(r);
|
|
@@ -39631,7 +39631,7 @@ function hM(n) {
|
|
|
39631
39631
|
function uM(n) {
|
|
39632
39632
|
let t, e;
|
|
39633
39633
|
return t = new Q9({
|
|
39634
|
-
props: { tag:
|
|
39634
|
+
props: { tag: dt(
|
|
39635
39635
|
/*tag*/
|
|
39636
39636
|
n[0]
|
|
39637
39637
|
) }
|
|
@@ -39645,7 +39645,7 @@ function uM(n) {
|
|
|
39645
39645
|
p(i, s) {
|
|
39646
39646
|
const r = {};
|
|
39647
39647
|
s & /*tag*/
|
|
39648
|
-
1 && (r.tag =
|
|
39648
|
+
1 && (r.tag = dt(
|
|
39649
39649
|
/*tag*/
|
|
39650
39650
|
i[0]
|
|
39651
39651
|
)), t.$set(r);
|
|
@@ -39664,7 +39664,7 @@ function uM(n) {
|
|
|
39664
39664
|
function dM(n) {
|
|
39665
39665
|
let t, e;
|
|
39666
39666
|
return t = new uI({
|
|
39667
|
-
props: { tag:
|
|
39667
|
+
props: { tag: dt(
|
|
39668
39668
|
/*tag*/
|
|
39669
39669
|
n[0]
|
|
39670
39670
|
) }
|
|
@@ -39678,7 +39678,7 @@ function dM(n) {
|
|
|
39678
39678
|
p(i, s) {
|
|
39679
39679
|
const r = {};
|
|
39680
39680
|
s & /*tag*/
|
|
39681
|
-
1 && (r.tag =
|
|
39681
|
+
1 && (r.tag = dt(
|
|
39682
39682
|
/*tag*/
|
|
39683
39683
|
i[0]
|
|
39684
39684
|
)), t.$set(r);
|
|
@@ -39735,7 +39735,7 @@ function fM(n) {
|
|
|
39735
39735
|
}
|
|
39736
39736
|
function pM(n, t, e) {
|
|
39737
39737
|
let i, s, r, o, a, l, { tag: c } = t, { hooks: h } = t, { rendererMap: u = /* @__PURE__ */ new Map() } = t, { contentTypeMap: f = /* @__PURE__ */ new Map() } = t, { state: m } = t, { mediaStore: p } = t, { temporaryState: g } = t;
|
|
39738
|
-
|
|
39738
|
+
Ua("hooks", h), Ua("mediaStore", p);
|
|
39739
39739
|
let v, b;
|
|
39740
39740
|
function w(z) {
|
|
39741
39741
|
z ? h.emit("exposure", { id: o, type: "start" }) : h.emit("exposure", { id: o, type: "end" });
|
|
@@ -40033,7 +40033,7 @@ function AM(n) {
|
|
|
40033
40033
|
}
|
|
40034
40034
|
function bM(n) {
|
|
40035
40035
|
let t, e, i, s, r;
|
|
40036
|
-
return e = new
|
|
40036
|
+
return e = new Ll({
|
|
40037
40037
|
props: { playing: (
|
|
40038
40038
|
/*playing*/
|
|
40039
40039
|
n[0]
|
|
@@ -40307,7 +40307,7 @@ function kM(n) {
|
|
|
40307
40307
|
let t, e;
|
|
40308
40308
|
return t = new PM({
|
|
40309
40309
|
props: {
|
|
40310
|
-
tag:
|
|
40310
|
+
tag: dt(
|
|
40311
40311
|
/*tag*/
|
|
40312
40312
|
n[1]
|
|
40313
40313
|
),
|
|
@@ -40354,7 +40354,7 @@ function kM(n) {
|
|
|
40354
40354
|
p(i, s) {
|
|
40355
40355
|
const r = {};
|
|
40356
40356
|
s & /*tag*/
|
|
40357
|
-
2 && (r.tag =
|
|
40357
|
+
2 && (r.tag = dt(
|
|
40358
40358
|
/*tag*/
|
|
40359
40359
|
i[1]
|
|
40360
40360
|
)), s & /*handleTagPointClick*/
|
|
@@ -40923,7 +40923,7 @@ function qM(n) {
|
|
|
40923
40923
|
}
|
|
40924
40924
|
function JM(n) {
|
|
40925
40925
|
let t, e, i, s, r, o, a, l, c, h, u, f;
|
|
40926
|
-
return i = new
|
|
40926
|
+
return i = new Ll({
|
|
40927
40927
|
props: { playing: (
|
|
40928
40928
|
/*playing*/
|
|
40929
40929
|
n[0]
|
|
@@ -43171,7 +43171,7 @@ function Lk(n) {
|
|
|
43171
43171
|
return (
|
|
43172
43172
|
/*tagPointClickHelper*/
|
|
43173
43173
|
n[12] !== void 0 && (r.tagPointClickHelper = /*tagPointClickHelper*/
|
|
43174
|
-
n[12]), t = new DM({ props: r }), qe.push(() =>
|
|
43174
|
+
n[12]), t = new DM({ props: r }), qe.push(() => yl(t, "tagPointClickHelper", s)), n[35](t), t.$on(
|
|
43175
43175
|
"audioInstanceReady",
|
|
43176
43176
|
/*audioEventHandlers*/
|
|
43177
43177
|
n[27].audioInstanceReady
|
|
@@ -43204,7 +43204,7 @@ function Lk(n) {
|
|
|
43204
43204
|
1 && (l.tag = /*tag*/
|
|
43205
43205
|
o[0]), !e && a[0] & /*tagPointClickHelper*/
|
|
43206
43206
|
4096 && (e = !0, l.tagPointClickHelper = /*tagPointClickHelper*/
|
|
43207
|
-
o[12],
|
|
43207
|
+
o[12], bl(() => e = !1)), t.$set(l);
|
|
43208
43208
|
},
|
|
43209
43209
|
i(o) {
|
|
43210
43210
|
i || (V(t.$$.fragment, o), i = !0);
|
|
@@ -43243,7 +43243,7 @@ function Ok(n) {
|
|
|
43243
43243
|
/*mediaStore*/
|
|
43244
43244
|
n[1]
|
|
43245
43245
|
),
|
|
43246
|
-
tag:
|
|
43246
|
+
tag: dt(
|
|
43247
43247
|
/*tag*/
|
|
43248
43248
|
n[0]
|
|
43249
43249
|
),
|
|
@@ -43280,7 +43280,7 @@ function Ok(n) {
|
|
|
43280
43280
|
s[0] & /*mediaStore*/
|
|
43281
43281
|
2 && (r.mediaStore = /*mediaStore*/
|
|
43282
43282
|
i[1]), s[0] & /*tag*/
|
|
43283
|
-
1 && (r.tag =
|
|
43283
|
+
1 && (r.tag = dt(
|
|
43284
43284
|
/*tag*/
|
|
43285
43285
|
i[0]
|
|
43286
43286
|
)), s[0] & /*state*/
|
|
@@ -43828,7 +43828,7 @@ function Hk(n) {
|
|
|
43828
43828
|
}
|
|
43829
43829
|
function Fk(n, t, e) {
|
|
43830
43830
|
let { tags: i = [] } = t, { hooks: s } = t, { mediaStore: r } = t, { rendererMap: o } = t, { contentTypeMap: a } = t, { state: l } = t, { temporaryState: c } = t, { zIndex: h = void 0 } = t, u = null, f = null, m = 2e3;
|
|
43831
|
-
|
|
43831
|
+
Ua("hooks", s), Ua("mediaStore", r), Rt(() => {
|
|
43832
43832
|
e(8, f = _k(m));
|
|
43833
43833
|
});
|
|
43834
43834
|
function p(g) {
|
|
@@ -44254,12 +44254,12 @@ class nh extends v8 {
|
|
|
44254
44254
|
this.state.enabled && (this.filterPointTag.forEach((c) => c.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
44255
44255
|
}, s = () => {
|
|
44256
44256
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
44257
|
-
}, { observe: r, unobserve: o } =
|
|
44257
|
+
}, { observe: r, unobserve: o } = ja(
|
|
44258
44258
|
e8(() => {
|
|
44259
44259
|
this.store.resizeObserverDisposer && s();
|
|
44260
44260
|
}, 500),
|
|
44261
44261
|
e
|
|
44262
|
-
), { observe: a, unobserve: l } =
|
|
44262
|
+
), { observe: a, unobserve: l } = ja(
|
|
44263
44263
|
lp(() => i(), 400),
|
|
44264
44264
|
e
|
|
44265
44265
|
);
|
|
@@ -44575,7 +44575,7 @@ function Uk(n, t, e) {
|
|
|
44575
44575
|
}, n.$$.update = () => {
|
|
44576
44576
|
var M, k;
|
|
44577
44577
|
n.$$.dirty & /*fontSize*/
|
|
44578
|
-
2048 && e(13, i =
|
|
44578
|
+
2048 && e(13, i = wl[b]), n.$$.dirty & /*fontConfig*/
|
|
44579
44579
|
8192 && e(9, s = Yt((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
|
|
44580
44580
|
8192 && e(15, r = ((M = i == null ? void 0 : i.padding) == null ? void 0 : M.guide) || [8, 2]), n.$$.dirty & /*padding*/
|
|
44581
44581
|
32768 && e(8, o = `${Yt(r[1])} ${Yt(r[0])}`), n.$$.dirty & /*fontConfig*/
|
|
@@ -44930,11 +44930,11 @@ class sh {
|
|
|
44930
44930
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
44931
44931
|
const i = Xk(t);
|
|
44932
44932
|
if (this._panoGroup = i, (e == null ? void 0 : e.skipPanoGroup) !== void 0) {
|
|
44933
|
-
const
|
|
44934
|
-
this.skippedPositions =
|
|
44933
|
+
const l = e.skipPanoGroup ? i.map((c) => this.plugin.workUtil.getObserverStandingPosition(c)).filter(Fe) : null;
|
|
44934
|
+
this.skippedPositions = l;
|
|
44935
44935
|
}
|
|
44936
|
-
const s = this.five.getCurrentState(), r = this.five.works.getWork(
|
|
44937
|
-
this.path =
|
|
44936
|
+
const s = this.five.getCurrentState(), r = this.plugin.workUtil.workCode || s.workCode, o = this.five.works.getWork(r), a = Yk(i, o, e);
|
|
44937
|
+
this.path = a, this.setGeometryByPath(a, e);
|
|
44938
44938
|
}
|
|
44939
44939
|
/** 通过路径设置线条形状 */
|
|
44940
44940
|
setGeometryByPath(t, e) {
|
|
@@ -45062,7 +45062,7 @@ class sh {
|
|
|
45062
45062
|
var t, e, i, s, r, o;
|
|
45063
45063
|
if (this.disposed)
|
|
45064
45064
|
return this.logError("disposed");
|
|
45065
|
-
|
|
45065
|
+
ml([this.group, (i = (e = (t = this.startTagContainer) == null ? void 0 : t.plugin) == null ? void 0 : e.tags[0]) == null ? void 0 : i.dom, (o = (r = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : r.tags[0]) == null ? void 0 : o.dom], {
|
|
45066
45066
|
loop: 6,
|
|
45067
45067
|
updateRender: () => {
|
|
45068
45068
|
this.five.needsRender = !0;
|
|
@@ -45133,7 +45133,7 @@ function Jk(n) {
|
|
|
45133
45133
|
const qS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45134
45134
|
__proto__: null,
|
|
45135
45135
|
GuideLineModeItem: sh
|
|
45136
|
-
}, Symbol.toStringTag, { value: "Module" })), $1 = "CruisePlugin",
|
|
45136
|
+
}, Symbol.toStringTag, { value: "Module" })), $1 = "CruisePlugin", fc = `${$1}`;
|
|
45137
45137
|
class ev extends cs {
|
|
45138
45138
|
constructor(e, i) {
|
|
45139
45139
|
super(e, i);
|
|
@@ -45154,13 +45154,13 @@ class ev extends cs {
|
|
|
45154
45154
|
});
|
|
45155
45155
|
d(this, "GuideLine");
|
|
45156
45156
|
d(this, "disposedErrorLog", () => {
|
|
45157
|
-
console.error(`${
|
|
45157
|
+
console.error(`${fc} is disposed`);
|
|
45158
45158
|
});
|
|
45159
45159
|
d(this, "disableWarnLog", () => {
|
|
45160
|
-
console.warn(`${
|
|
45160
|
+
console.warn(`${fc} is disabled`);
|
|
45161
45161
|
});
|
|
45162
45162
|
d(this, "disableErrorLog", () => {
|
|
45163
|
-
console.error(`${
|
|
45163
|
+
console.error(`${fc} is disabled`);
|
|
45164
45164
|
});
|
|
45165
45165
|
this.config = i, Object.assign(window, { [`__${$1}_DEBUG__`]: this });
|
|
45166
45166
|
}
|
|
@@ -45308,7 +45308,7 @@ class ev extends cs {
|
|
|
45308
45308
|
i != null && i.warnLog && this.disableWarnLog();
|
|
45309
45309
|
}
|
|
45310
45310
|
}
|
|
45311
|
-
function
|
|
45311
|
+
function pc(n, t, e) {
|
|
45312
45312
|
var l, c, h;
|
|
45313
45313
|
const i = new P.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), r = n.getTangentAt(t), { longitude: o, latitude: a } = Go(r);
|
|
45314
45314
|
return { offset: s.clone(), longitude: o, latitude: a, distance: 0 };
|
|
@@ -45326,7 +45326,7 @@ let tv = class extends ev {
|
|
|
45326
45326
|
this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
|
|
45327
45327
|
});
|
|
45328
45328
|
d(this, "moveToStart", () => {
|
|
45329
|
-
this.five.setState(he(H({},
|
|
45329
|
+
this.five.setState(he(H({}, pc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
45330
45330
|
});
|
|
45331
45331
|
d(this, "playFromStart", () => {
|
|
45332
45332
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
@@ -45395,7 +45395,7 @@ let tv = class extends ev {
|
|
|
45395
45395
|
const s = this.getPauseData();
|
|
45396
45396
|
let r = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
|
|
45397
45397
|
(r < 0 || r >= 1) && (r = 0);
|
|
45398
|
-
const o =
|
|
45398
|
+
const o = pc(this.curve, r, this.curveOffset);
|
|
45399
45399
|
if (this.hooks.emit("progressChange", r), this.five.setState(he(H({}, o), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
45400
45400
|
const c = this.addInterruptListener(() => {
|
|
45401
45401
|
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
|
|
@@ -45408,7 +45408,7 @@ let tv = class extends ev {
|
|
|
45408
45408
|
else if (this.state.playing === !1)
|
|
45409
45409
|
this.five.off("renderFrame", a);
|
|
45410
45410
|
else if (c >= 0) {
|
|
45411
|
-
const h =
|
|
45411
|
+
const h = pc(this.curve, c, this.curveOffset);
|
|
45412
45412
|
this.hooks.emit("progressChange", c), this.five.setState(h, !0);
|
|
45413
45413
|
}
|
|
45414
45414
|
};
|
|
@@ -46211,7 +46211,7 @@ function u6(n, t) {
|
|
|
46211
46211
|
y: -(n.y - s) / i * 2 + 1
|
|
46212
46212
|
});
|
|
46213
46213
|
}
|
|
46214
|
-
function
|
|
46214
|
+
function zl(n, t, e) {
|
|
46215
46215
|
if (!t || !e || !n)
|
|
46216
46216
|
return;
|
|
46217
46217
|
const i = u6(t, e);
|
|
@@ -46220,7 +46220,7 @@ function Ol(n, t, e) {
|
|
|
46220
46220
|
const s = new P.Raycaster();
|
|
46221
46221
|
return s.setFromCamera(i, n), s.params.Points.threshold = 0.1, s;
|
|
46222
46222
|
}
|
|
46223
|
-
class
|
|
46223
|
+
class gc extends h6 {
|
|
46224
46224
|
constructor(e) {
|
|
46225
46225
|
var h;
|
|
46226
46226
|
super(e.direction);
|
|
@@ -46247,20 +46247,20 @@ class mc extends h6 {
|
|
|
46247
46247
|
this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
|
|
46248
46248
|
}
|
|
46249
46249
|
}
|
|
46250
|
-
const
|
|
46250
|
+
const mc = {
|
|
46251
46251
|
X: 15618642,
|
|
46252
46252
|
Y: 4765519,
|
|
46253
46253
|
Z: 4227839
|
|
46254
46254
|
};
|
|
46255
46255
|
class wr {
|
|
46256
46256
|
static get X() {
|
|
46257
|
-
return new P.Color(
|
|
46257
|
+
return new P.Color(mc.X).convertSRGBToLinear().clone();
|
|
46258
46258
|
}
|
|
46259
46259
|
static get Y() {
|
|
46260
|
-
return new P.Color(
|
|
46260
|
+
return new P.Color(mc.Y).convertSRGBToLinear().clone();
|
|
46261
46261
|
}
|
|
46262
46262
|
static get Z() {
|
|
46263
|
-
return new P.Color(
|
|
46263
|
+
return new P.Color(mc.Z).convertSRGBToLinear().clone();
|
|
46264
46264
|
}
|
|
46265
46265
|
}
|
|
46266
46266
|
function bu(n, t, e) {
|
|
@@ -46274,16 +46274,16 @@ function f6(n) {
|
|
|
46274
46274
|
let t = n.pose.latitude, e = n.pose.longitude;
|
|
46275
46275
|
if (ui(t) || ui(e)) {
|
|
46276
46276
|
const i = n.matrix.elements;
|
|
46277
|
-
t = Math.asin(d6(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e =
|
|
46277
|
+
t = Math.asin(d6(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = zc(Math.atan2(i[8], i[10])) : e = zc(Math.atan2(-i[2], i[0]));
|
|
46278
46278
|
}
|
|
46279
46279
|
return { latitude: t, longitude: e };
|
|
46280
46280
|
}
|
|
46281
46281
|
function p6(n) {
|
|
46282
46282
|
const { latitude: t, longitude: e } = n, i = new P.Vector3();
|
|
46283
|
-
return $g - t < 0.03 ? i.set(0, 1, 0) :
|
|
46283
|
+
return $g - t < 0.03 ? i.set(0, 1, 0) : vc(0, e) ? i.set(0, 0, 1) : vc(Math.PI, e) ? i.set(0, 0, -1) : vc($g, e) ? i.set(1, 0, 0) : i.set(-1, 0, 0), i;
|
|
46284
46284
|
}
|
|
46285
46285
|
const $g = Number((Math.PI / 2).toFixed(5));
|
|
46286
|
-
function
|
|
46286
|
+
function vc(n, t) {
|
|
46287
46287
|
return typeof n != "number" || typeof t != "number" ? !1 : Math.abs(n - t) < 1e-3;
|
|
46288
46288
|
}
|
|
46289
46289
|
class g6 extends r6 {
|
|
@@ -46293,7 +46293,7 @@ class g6 extends r6 {
|
|
|
46293
46293
|
d(this, "xArrow");
|
|
46294
46294
|
d(this, "yArrow");
|
|
46295
46295
|
d(this, "zArrow");
|
|
46296
|
-
i.xArrowEnable !== !1 && (this.xArrow = new
|
|
46296
|
+
i.xArrowEnable !== !1 && (this.xArrow = new gc({ direction: "x", color: wr.X })), i.yArrowEnable !== !1 && (this.yArrow = new gc({ direction: "y", color: wr.Y })), i.zArrowEnable !== !1 && (this.zArrow = new gc({ direction: "z", color: wr.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
|
|
46297
46297
|
}
|
|
46298
46298
|
update(e) {
|
|
46299
46299
|
if (this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0), e.type === "OrthographicCamera") {
|
|
@@ -46360,7 +46360,7 @@ class A6 extends a6 {
|
|
|
46360
46360
|
d(this, "children", []);
|
|
46361
46361
|
d(this, "angleTips");
|
|
46362
46362
|
d(this, "container");
|
|
46363
|
-
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new
|
|
46363
|
+
(i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new Ac({ direction: "x", color: wr.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new Ac({ direction: "y", color: wr.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new Ac({ direction: "z", color: wr.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = v6({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
|
|
46364
46364
|
}
|
|
46365
46365
|
hide() {
|
|
46366
46366
|
this.children.forEach((e) => e.hide());
|
|
@@ -46381,7 +46381,7 @@ class A6 extends a6 {
|
|
|
46381
46381
|
this.removeFromParent(), (i = (e = this.angleTips) == null ? void 0 : e.element) == null || i.remove();
|
|
46382
46382
|
}
|
|
46383
46383
|
}
|
|
46384
|
-
class
|
|
46384
|
+
class Ac extends P.Group {
|
|
46385
46385
|
constructor(e) {
|
|
46386
46386
|
super();
|
|
46387
46387
|
d(this, "direction");
|
|
@@ -46993,7 +46993,7 @@ class M6 extends Zo {
|
|
|
46993
46993
|
d(this, "dragging", (e) => {
|
|
46994
46994
|
if (!this.isDragging || !this.startInfo)
|
|
46995
46995
|
return;
|
|
46996
|
-
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r =
|
|
46996
|
+
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r = zl(this.camera, { x: i, y: s }, this.container);
|
|
46997
46997
|
return r ? (this.move(r), !1) : this.dragEnd();
|
|
46998
46998
|
});
|
|
46999
46999
|
d(this, "dragEnd", () => {
|
|
@@ -47231,10 +47231,10 @@ class L6 {
|
|
|
47231
47231
|
e != null && e.warnLog && D6();
|
|
47232
47232
|
}
|
|
47233
47233
|
}
|
|
47234
|
-
function
|
|
47234
|
+
function bc(n) {
|
|
47235
47235
|
return n * Math.PI / 180;
|
|
47236
47236
|
}
|
|
47237
|
-
let
|
|
47237
|
+
let yc = new P.Quaternion();
|
|
47238
47238
|
class z6 extends Zo {
|
|
47239
47239
|
constructor(...e) {
|
|
47240
47240
|
var c, h, u;
|
|
@@ -47253,7 +47253,7 @@ class z6 extends Zo {
|
|
|
47253
47253
|
return this.helperObject3D.position.clone();
|
|
47254
47254
|
}
|
|
47255
47255
|
setRotateAngle(e) {
|
|
47256
|
-
const { x: i = 0, y: s = 0, z: r = 0 } = e, o = new P.Euler(
|
|
47256
|
+
const { x: i = 0, y: s = 0, z: r = 0 } = e, o = new P.Euler(bc(i), bc(s), bc(r)), a = new P.Quaternion().setFromEuler(o);
|
|
47257
47257
|
if (this.hooks.emit("wantToRotate", a))
|
|
47258
47258
|
return;
|
|
47259
47259
|
const { originObject3D: c, rotateCenter: h } = this;
|
|
@@ -47288,12 +47288,12 @@ class z6 extends Zo {
|
|
|
47288
47288
|
if (s === "z")
|
|
47289
47289
|
return new P.Vector3(0, 0, 1).applyQuaternion(l);
|
|
47290
47290
|
})(), h = new P.Plane().setFromNormalAndCoplanarPoint(c, r), f = h.projectPoint(r.clone(), new P.Vector3()).clone().sub(this.rotateCenter), m = f.angleTo(o.baseAxes.clone().applyQuaternion(l));
|
|
47291
|
-
this.setAngleHelperStart(s, m), this.setAngleHelperLength(s, 0), this.startInfo = { direction: s, startVector: f, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() },
|
|
47291
|
+
this.setAngleHelperStart(s, m), this.setAngleHelperLength(s, 0), this.startInfo = { direction: s, startVector: f, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() }, yc = new P.Quaternion(), this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("rotateStart"), this.isDragging = !0;
|
|
47292
47292
|
}
|
|
47293
47293
|
dragging(e) {
|
|
47294
47294
|
if (!this.isDragging)
|
|
47295
47295
|
return;
|
|
47296
|
-
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r =
|
|
47296
|
+
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r = zl(this.camera, { x: i, y: s }, this.container);
|
|
47297
47297
|
return r ? (this.rotate(r), !1) : this.dragEnd();
|
|
47298
47298
|
}
|
|
47299
47299
|
rotate(e) {
|
|
@@ -47315,14 +47315,14 @@ class z6 extends Zo {
|
|
|
47315
47315
|
),
|
|
47316
47316
|
`${o.toUpperCase()}${"XZY".replace(o.toUpperCase(), "")}`
|
|
47317
47317
|
)[o] * r.angleDirection;
|
|
47318
|
-
if (this.startInfo.angle += b, this.setAngleHelperLength(o, this.startInfo.angle), this.setTipsAngle(
|
|
47318
|
+
if (this.startInfo.angle += b, this.setAngleHelperLength(o, this.startInfo.angle), this.setTipsAngle(Cl(this.startInfo.angle)), h) {
|
|
47319
47319
|
const w = new P.Vector3().subVectors(l.position, h).applyQuaternion(m).add(h);
|
|
47320
47320
|
l.position.copy(w);
|
|
47321
47321
|
}
|
|
47322
|
-
l.applyQuaternion(m),
|
|
47322
|
+
l.applyQuaternion(m), yc.premultiply(m), this.internalHooks.emit("applyObjectRotate", { quaternion: m, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = f;
|
|
47323
47323
|
}
|
|
47324
47324
|
dragEnd() {
|
|
47325
|
-
this.isDragging && (this.applyHelperQuaternion(
|
|
47325
|
+
this.isDragging && (this.applyHelperQuaternion(yc, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
|
|
47326
47326
|
}
|
|
47327
47327
|
getAngleHelper(e) {
|
|
47328
47328
|
var i, s, r;
|
|
@@ -47411,7 +47411,7 @@ class O6 extends Zo {
|
|
|
47411
47411
|
dragging(e) {
|
|
47412
47412
|
if (!this.isDragging)
|
|
47413
47413
|
return;
|
|
47414
|
-
const i =
|
|
47414
|
+
const i = zl(this.camera, e, this.container);
|
|
47415
47415
|
if (!i)
|
|
47416
47416
|
return this.dragEnd();
|
|
47417
47417
|
this.scale(i);
|
|
@@ -47564,7 +47564,7 @@ class V6 extends Zo {
|
|
|
47564
47564
|
d(this, "dragging", (e) => {
|
|
47565
47565
|
if (!this.isDragging || !this.startInfo)
|
|
47566
47566
|
return;
|
|
47567
|
-
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r =
|
|
47567
|
+
const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, r = zl(this.camera, { x: i, y: s }, this.container);
|
|
47568
47568
|
return r ? (this.scale(r), !1) : this.dragEnd();
|
|
47569
47569
|
});
|
|
47570
47570
|
d(this, "scale", (e) => {
|
|
@@ -47918,7 +47918,7 @@ class rv extends cs {
|
|
|
47918
47918
|
p,
|
|
47919
47919
|
g
|
|
47920
47920
|
);
|
|
47921
|
-
s.addControllers({ boundingBoxController: k.helperController });
|
|
47921
|
+
s.addControllers({ boundingBoxController: k.helperController }), r.push(() => k.dispose());
|
|
47922
47922
|
}
|
|
47923
47923
|
if (b(f))
|
|
47924
47924
|
if (e.isCSS3DObject && o) {
|
|
@@ -48172,7 +48172,7 @@ class em {
|
|
|
48172
48172
|
const t = {
|
|
48173
48173
|
value: 0
|
|
48174
48174
|
};
|
|
48175
|
-
|
|
48175
|
+
ut({
|
|
48176
48176
|
targets: t,
|
|
48177
48177
|
value: 1,
|
|
48178
48178
|
duration: 300,
|
|
@@ -48199,7 +48199,7 @@ class em {
|
|
|
48199
48199
|
const i = document.createElement("video");
|
|
48200
48200
|
i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
|
|
48201
48201
|
const s = new sA(this.video);
|
|
48202
|
-
s.minFilter =
|
|
48202
|
+
s.minFilter = Mc, s.magFilter = Mc;
|
|
48203
48203
|
const r = new Am({
|
|
48204
48204
|
vertexShader: G6,
|
|
48205
48205
|
fragmentShader: W6,
|
|
@@ -48506,7 +48506,7 @@ function J6(n, t) {
|
|
|
48506
48506
|
function K6(n, t) {
|
|
48507
48507
|
return n * n * t;
|
|
48508
48508
|
}
|
|
48509
|
-
function
|
|
48509
|
+
function wc(n, t, e, i) {
|
|
48510
48510
|
return q6(n, t) + J6(n, e) + K6(n, i);
|
|
48511
48511
|
}
|
|
48512
48512
|
function $6(n, t) {
|
|
@@ -48523,7 +48523,7 @@ function tx(n, t) {
|
|
|
48523
48523
|
function ix(n, t) {
|
|
48524
48524
|
return n * n * n * t;
|
|
48525
48525
|
}
|
|
48526
|
-
function
|
|
48526
|
+
function Pc(n, t, e, i, s) {
|
|
48527
48527
|
return $6(n, t) + ex(n, e) + tx(n, i) + ix(n, s);
|
|
48528
48528
|
}
|
|
48529
48529
|
function ah(n, t) {
|
|
@@ -48532,15 +48532,15 @@ function ah(n, t) {
|
|
|
48532
48532
|
throw new Error("length of points must greater than 2");
|
|
48533
48533
|
if (e === 2)
|
|
48534
48534
|
return new P.Vector3(
|
|
48535
|
-
|
|
48536
|
-
|
|
48537
|
-
|
|
48535
|
+
wc(n, t[0].x, t[1].x, t[2].x),
|
|
48536
|
+
wc(n, t[0].y, t[1].y, t[2].y),
|
|
48537
|
+
wc(n, t[0].z, t[1].z, t[2].z)
|
|
48538
48538
|
);
|
|
48539
48539
|
if (e === 3)
|
|
48540
48540
|
return new P.Vector3(
|
|
48541
|
-
|
|
48542
|
-
|
|
48543
|
-
|
|
48541
|
+
Pc(n, t[0].x, t[1].x, t[2].x, t[3].x),
|
|
48542
|
+
Pc(n, t[0].y, t[1].y, t[2].y, t[3].y),
|
|
48543
|
+
Pc(n, t[0].z, t[1].z, t[2].z, t[3].z)
|
|
48544
48544
|
);
|
|
48545
48545
|
if (e === 1) {
|
|
48546
48546
|
const [s, r] = t;
|
|
@@ -49192,7 +49192,7 @@ function dx(n, t, e) {
|
|
|
49192
49192
|
} } = t, { rendererIfNeed: M = void 0 } = t, { rendererData: k = void 0 } = t, { fontSize: L } = t, D, N, z, B;
|
|
49193
49193
|
const A = (S) => {
|
|
49194
49194
|
if (m.state.mode !== "Panorama") {
|
|
49195
|
-
const R = -(10 + 54 * (1 -
|
|
49195
|
+
const R = -(10 + 54 * (1 - Cl(S.latitude) / 90)), q = R + h, ee = q >= 0 ? 0 : -q / -u;
|
|
49196
49196
|
e(7, N.style.transform = `scaleY(${ee})`, N), e(7, N.style.top = `${q}px`, N), e(8, z.style.top = `${R}px`, z);
|
|
49197
49197
|
}
|
|
49198
49198
|
};
|
|
@@ -49222,7 +49222,7 @@ function dx(n, t, e) {
|
|
|
49222
49222
|
var S;
|
|
49223
49223
|
n.$$.dirty & /*visible*/
|
|
49224
49224
|
32768 && e(13, i = p ? "visible" : "hidden"), n.$$.dirty & /*fontSize*/
|
|
49225
|
-
131072 && e(21, s =
|
|
49225
|
+
131072 && e(21, s = wl[L]), n.$$.dirty & /*fontConfig*/
|
|
49226
49226
|
2097152 && e(12, r = Yt((s == null ? void 0 : s.name) || 12)), n.$$.dirty & /*fontConfig*/
|
|
49227
49227
|
2097152 && e(19, o = ((S = s == null ? void 0 : s.padding) == null ? void 0 : S.room) || [6, 5]), n.$$.dirty & /*padding*/
|
|
49228
49228
|
524288 && e(11, a = `${Yt(o[1])} ${Yt(o[0])}`), n.$$.dirty & /*fontConfig*/
|
|
@@ -49475,10 +49475,10 @@ class px {
|
|
|
49475
49475
|
});
|
|
49476
49476
|
var l, c, h, u;
|
|
49477
49477
|
const i = e.object_data, s = i.bottom_y, r = i.height, o = new P.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
|
|
49478
|
-
this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = r, this.bottomY = s, this.opacity = a, this.shape = new P.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new P.Mesh(nm(this.shape, r), gx(o, a)),
|
|
49478
|
+
this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = r, this.bottomY = s, this.opacity = a, this.shape = new P.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new P.Mesh(nm(this.shape, r), gx(o, a)), Cc(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new _m(
|
|
49479
49479
|
new P.EdgesGeometry(this.makerObject.geometry),
|
|
49480
49480
|
new P.LineBasicMaterial({ color: o, transparent: !0 })
|
|
49481
|
-
),
|
|
49481
|
+
), Cc(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(r), this.modelGroup = new fx(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
|
|
49482
49482
|
}
|
|
49483
49483
|
/** 挂载标注 */
|
|
49484
49484
|
mount() {
|
|
@@ -49497,7 +49497,7 @@ class px {
|
|
|
49497
49497
|
transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
|
|
49498
49498
|
onClick: (i) => this.hooks.emit("tagClick", { target: this, nativeEvent: i })
|
|
49499
49499
|
}
|
|
49500
|
-
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver =
|
|
49500
|
+
}), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = ja(this.onContainerResize, e), this.resizeObserver.observe(), typeof this.fontSizeManager == "object" && "subscribe" in this.fontSizeManager && (this.unsubscribeFontSize = this.fontSizeManager.subscribe((i) => {
|
|
49501
49501
|
this.currentFontSize = i, this.updateTagFontSize();
|
|
49502
49502
|
}));
|
|
49503
49503
|
}
|
|
@@ -49529,7 +49529,7 @@ class px {
|
|
|
49529
49529
|
throw new Error("高度必须大于 0");
|
|
49530
49530
|
this.height = t, this.makerObject.geometry = nm(this.shape, t), this.outline.geometry = new P.EdgesGeometry(this.makerObject.geometry);
|
|
49531
49531
|
const e = this.shape.extractPoints(10).shape.slice(0, -1), i = $3(e), s = new P.Vector3(i.x, i.y, t);
|
|
49532
|
-
|
|
49532
|
+
Cc(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
49533
49533
|
}
|
|
49534
49534
|
/** 更改标注标签的显示层级
|
|
49535
49535
|
* @description 为什么需要这个方法
|
|
@@ -49557,7 +49557,7 @@ function gx(n, t) {
|
|
|
49557
49557
|
transparent: !0
|
|
49558
49558
|
});
|
|
49559
49559
|
}
|
|
49560
|
-
function
|
|
49560
|
+
function Cc(n, t) {
|
|
49561
49561
|
const e = new P.Matrix4(), i = new P.Matrix4().makeRotationX(Math.PI / 2), s = new P.Matrix4().makeTranslation(0, 0, -t), r = new P.Matrix4().makeScale(1, 1, -1);
|
|
49562
49562
|
e.multiply(i), e.multiply(s), e.multiply(r), n.applyMatrix4(e);
|
|
49563
49563
|
}
|
|
@@ -50093,7 +50093,7 @@ class Ax {
|
|
|
50093
50093
|
return this._pointSelector;
|
|
50094
50094
|
const t = (i = this.config) == null ? void 0 : i.magnifier;
|
|
50095
50095
|
let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
|
|
50096
|
-
return (s = this.config) != null && s.hideCursorCircle && (e = he(H({}, e), { pointHelper: null })), this._pointSelector = new
|
|
50096
|
+
return (s = this.config) != null && s.hideCursorCircle && (e = he(H({}, e), { pointHelper: null })), this._pointSelector = new ul(this.five, {
|
|
50097
50097
|
mode: "cursor",
|
|
50098
50098
|
helper: e
|
|
50099
50099
|
}), this._pointSelector;
|
|
@@ -50209,7 +50209,7 @@ class Zn extends hv {
|
|
|
50209
50209
|
d(this, "name", "PolylineWithDotsMesh");
|
|
50210
50210
|
}
|
|
50211
50211
|
}
|
|
50212
|
-
const
|
|
50212
|
+
const Ic = /* @__PURE__ */ new Map();
|
|
50213
50213
|
class Fi extends di {
|
|
50214
50214
|
constructor(e, i) {
|
|
50215
50215
|
var s, r;
|
|
@@ -50225,8 +50225,8 @@ class Fi extends di {
|
|
|
50225
50225
|
* @description 配置
|
|
50226
50226
|
*/
|
|
50227
50227
|
d(this, "config");
|
|
50228
|
-
d(this, "on", (e, i, s) =>
|
|
50229
|
-
d(this, "off", (...e) =>
|
|
50228
|
+
d(this, "on", (e, i, s) => ct.modules.fiveDomEvents.addEventListener(this, e, i, s));
|
|
50229
|
+
d(this, "off", (...e) => ct.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
50230
50230
|
d(this, "applyObjectMatrixWorld", (e, i) => {
|
|
50231
50231
|
const s = i != null ? i : this;
|
|
50232
50232
|
return s.updateMatrixWorld(), Eo(s, e);
|
|
@@ -50259,7 +50259,7 @@ class Fi extends di {
|
|
|
50259
50259
|
};
|
|
50260
50260
|
}
|
|
50261
50261
|
get pointSelector() {
|
|
50262
|
-
return
|
|
50262
|
+
return ct.modules.pointSelector;
|
|
50263
50263
|
}
|
|
50264
50264
|
/**
|
|
50265
50265
|
* @description 撤销
|
|
@@ -50289,7 +50289,7 @@ class Fi extends di {
|
|
|
50289
50289
|
* @description 停止创建当前物体,等同于`esc`
|
|
50290
50290
|
*/
|
|
50291
50291
|
stopCreating() {
|
|
50292
|
-
|
|
50292
|
+
ct.modules.pointSelector.disable();
|
|
50293
50293
|
}
|
|
50294
50294
|
/**
|
|
50295
50295
|
* @description 从场景中删除当前物体,并且移除事件监听
|
|
@@ -50306,8 +50306,8 @@ class Fi extends di {
|
|
|
50306
50306
|
select(e = { only: !1 }) {
|
|
50307
50307
|
if (this.selected)
|
|
50308
50308
|
return;
|
|
50309
|
-
this.selected = !0, this.highlight(),
|
|
50310
|
-
const i =
|
|
50309
|
+
this.selected = !0, this.highlight(), Ic.has(this.parent.uuid) || Ic.set(this.parent.uuid, []);
|
|
50310
|
+
const i = Ic.get(this.parent.uuid);
|
|
50311
50311
|
i.push(this), e.only && (i == null || i.forEach((s) => {
|
|
50312
50312
|
s !== this && s.unselect();
|
|
50313
50313
|
}));
|
|
@@ -50333,12 +50333,12 @@ class Fi extends di {
|
|
|
50333
50333
|
* @description 显示删除按钮
|
|
50334
50334
|
*/
|
|
50335
50335
|
showDeleteButton(e, i) {
|
|
50336
|
-
|
|
50337
|
-
|
|
50336
|
+
ct.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), ct.modules.five.once("cameraUpdate", () => {
|
|
50337
|
+
ct.modules.cursor.removeDeleteButton();
|
|
50338
50338
|
});
|
|
50339
50339
|
}
|
|
50340
50340
|
}
|
|
50341
|
-
class
|
|
50341
|
+
class Ol extends di {
|
|
50342
50342
|
constructor(e) {
|
|
50343
50343
|
super();
|
|
50344
50344
|
d(this, "hooks", new Ct());
|
|
@@ -50358,7 +50358,7 @@ class jl extends di {
|
|
|
50358
50358
|
this.originObject.remove(this);
|
|
50359
50359
|
}
|
|
50360
50360
|
}
|
|
50361
|
-
class qo extends
|
|
50361
|
+
class qo extends Ol {
|
|
50362
50362
|
constructor(e, i) {
|
|
50363
50363
|
super(e);
|
|
50364
50364
|
d(this, "objectHelperConfig");
|
|
@@ -50369,25 +50369,25 @@ class qo extends jl {
|
|
|
50369
50369
|
}
|
|
50370
50370
|
get helper() {
|
|
50371
50371
|
var e;
|
|
50372
|
-
return (e =
|
|
50372
|
+
return (e = ct.modules.object3DHelper.getObject3DHelper(this.originObject)) == null ? void 0 : e.helper;
|
|
50373
50373
|
}
|
|
50374
50374
|
enable() {
|
|
50375
50375
|
super.enable();
|
|
50376
50376
|
const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
|
|
50377
|
-
|
|
50378
|
-
const i =
|
|
50377
|
+
ct.modules.object3DHelper.addObject3DHelper(this.originObject, H({ positionFrom: "boundingBox" }, e));
|
|
50378
|
+
const i = ct.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
|
|
50379
50379
|
i.hooks.on("move", this.onObjectUpdate), i.hooks.on("rotate", this.onObjectUpdate), i.hooks.on("scale", this.onObjectUpdate);
|
|
50380
50380
|
}
|
|
50381
50381
|
disable() {
|
|
50382
50382
|
var e, i, s;
|
|
50383
|
-
super.disable(), (e = this.helper) == null || e.hooks.off("move", this.onObjectUpdate), (i = this.helper) == null || i.hooks.off("rotate", this.onObjectUpdate), (s = this.helper) == null || s.hooks.off("scale", this.onObjectUpdate),
|
|
50383
|
+
super.disable(), (e = this.helper) == null || e.hooks.off("move", this.onObjectUpdate), (i = this.helper) == null || i.hooks.off("rotate", this.onObjectUpdate), (s = this.helper) == null || s.hooks.off("scale", this.onObjectUpdate), ct.modules.object3DHelper.removeObject3DHelper(this.originObject);
|
|
50384
50384
|
}
|
|
50385
50385
|
initialHelperMatrix() {
|
|
50386
50386
|
var e;
|
|
50387
50387
|
(e = this.helper) == null || e.initialHelperMatrix();
|
|
50388
50388
|
}
|
|
50389
50389
|
}
|
|
50390
|
-
class Pu extends
|
|
50390
|
+
class Pu extends Ol {
|
|
50391
50391
|
constructor(e) {
|
|
50392
50392
|
super(e);
|
|
50393
50393
|
d(this, "draggingPoints", []);
|
|
@@ -50408,7 +50408,7 @@ class Pu extends jl {
|
|
|
50408
50408
|
enable() {
|
|
50409
50409
|
super.enable(), this.points.filter(Fe).forEach((e) => {
|
|
50410
50410
|
const i = new ss();
|
|
50411
|
-
i.visible = !1, i.position.copy(e), i.draggable = !0,
|
|
50411
|
+
i.visible = !1, i.position.copy(e), i.draggable = !0, ct.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), ct.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), ct.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
|
|
50412
50412
|
});
|
|
50413
50413
|
}
|
|
50414
50414
|
disable() {
|
|
@@ -50421,7 +50421,7 @@ class yx extends Pu {
|
|
|
50421
50421
|
d(this, "onDrag", (e) => {
|
|
50422
50422
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
50423
50423
|
return;
|
|
50424
|
-
const i = No(
|
|
50424
|
+
const i = No(ct.modules.five, e.raycaster);
|
|
50425
50425
|
this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
|
|
50426
50426
|
});
|
|
50427
50427
|
}
|
|
@@ -50435,7 +50435,7 @@ class wx extends Pu {
|
|
|
50435
50435
|
d(this, "onDrag", (e) => {
|
|
50436
50436
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
50437
50437
|
return;
|
|
50438
|
-
const i = No(
|
|
50438
|
+
const i = No(ct.modules.five, e.raycaster);
|
|
50439
50439
|
this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
|
|
50440
50440
|
});
|
|
50441
50441
|
}
|
|
@@ -50543,12 +50543,12 @@ function Px(n, t, e) {
|
|
|
50543
50543
|
redo: w
|
|
50544
50544
|
};
|
|
50545
50545
|
}
|
|
50546
|
-
class Cx extends
|
|
50546
|
+
class Cx extends Ol {
|
|
50547
50547
|
constructor(e) {
|
|
50548
50548
|
super(e);
|
|
50549
50549
|
d(this, "onDrag", (e) => {
|
|
50550
50550
|
var s;
|
|
50551
|
-
const i = No(
|
|
50551
|
+
const i = No(ct.modules.five, e.raycaster);
|
|
50552
50552
|
(s = this.originObject.pointMesh) == null || s.position.copy(i.point);
|
|
50553
50553
|
});
|
|
50554
50554
|
}
|
|
@@ -50675,7 +50675,7 @@ class Ix extends Pu {
|
|
|
50675
50675
|
d(this, "onDrag", (e) => {
|
|
50676
50676
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
50677
50677
|
return;
|
|
50678
|
-
const i = No(
|
|
50678
|
+
const i = No(ct.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
|
|
50679
50679
|
this.draggingPoints.forEach((r) => r.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((r) => r.position));
|
|
50680
50680
|
});
|
|
50681
50681
|
}
|
|
@@ -50842,7 +50842,7 @@ class Ts extends di {
|
|
|
50842
50842
|
d(this, "_geometryInfoCache");
|
|
50843
50843
|
d(this, "geometryInfoNeedUpdate", !0);
|
|
50844
50844
|
d(this, "edgeMesh", new bi());
|
|
50845
|
-
d(this, "prismMesh", new
|
|
50845
|
+
d(this, "prismMesh", new xl());
|
|
50846
50846
|
d(this, "paramStyle");
|
|
50847
50847
|
this.prismMesh.name = "PrismMesh", this.prismMesh.geometry = new kx(), this.edgeMesh.name = "EdgeMesh", this.addIfNotExists(this.prismMesh, this.edgeMesh), e && this.setPoints(e), this.setStyle(e);
|
|
50848
50848
|
}
|
|
@@ -51155,7 +51155,7 @@ class Iu extends Fr {
|
|
|
51155
51155
|
this.points = i, this.geometry = new xx(i), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
|
|
51156
51156
|
}
|
|
51157
51157
|
}
|
|
51158
|
-
class
|
|
51158
|
+
class al extends Iu {
|
|
51159
51159
|
constructor(e) {
|
|
51160
51160
|
const r = e != null ? e : {}, { points: i } = r, s = Vn(r, ["points"]);
|
|
51161
51161
|
super();
|
|
@@ -51195,7 +51195,7 @@ class lm extends Fi {
|
|
|
51195
51195
|
d(this, "type", "Rectangle");
|
|
51196
51196
|
d(this, "rectangleMesh");
|
|
51197
51197
|
d(this, "_editor");
|
|
51198
|
-
e && (this.rectangleMesh = new
|
|
51198
|
+
e && (this.rectangleMesh = new al(H(H({}, e.style), e)), this.add(this.rectangleMesh));
|
|
51199
51199
|
}
|
|
51200
51200
|
get editor() {
|
|
51201
51201
|
return this._editor || (this._editor = new pv(this.rectangleMesh)), this._editor;
|
|
@@ -51225,7 +51225,7 @@ class lm extends Fi {
|
|
|
51225
51225
|
create(e) {
|
|
51226
51226
|
return te(this, null, function* () {
|
|
51227
51227
|
this.removeChildren();
|
|
51228
|
-
const i = new
|
|
51228
|
+
const i = new al(e);
|
|
51229
51229
|
this.rectangleMesh = i, this.add(this.rectangleMesh), yield Eu(this.rectangleMesh, this.pointSelector, e), this.config.defaultAction && this.editor.enable();
|
|
51230
51230
|
});
|
|
51231
51231
|
}
|
|
@@ -51285,7 +51285,7 @@ function Dx(n, t, e) {
|
|
|
51285
51285
|
o.remove(l);
|
|
51286
51286
|
const z = k.raycaster.ray.intersectPlane(p, new P.Vector3()), B = u[0].distanceTo(u[1]) / 2, A = new P.Vector3().lerpVectors(u[0], u[1], 0.5), C = new P.Vector3().subVectors(z, A).normalize();
|
|
51287
51287
|
f = new P.Vector3().addVectors(A, C.multiplyScalar(B));
|
|
51288
|
-
const I = [u[0], f, u[1]], E = gv(I,
|
|
51288
|
+
const I = [u[0], f, u[1]], E = gv(I, ct.modules.five.camera.position);
|
|
51289
51289
|
n.setPoints(E);
|
|
51290
51290
|
return;
|
|
51291
51291
|
}
|
|
@@ -51335,7 +51335,7 @@ function Tx(n, t, e) {
|
|
|
51335
51335
|
c.setPoints([(B = k.originalPoint) != null ? B : k.point, k.point]);
|
|
51336
51336
|
const A = new P.Vector3().crossVectors(u[0].clone().sub(u[1]), p.normal).normalize();
|
|
51337
51337
|
f = new P.Line3(u[1].clone().add(A), u[1].clone().sub(A)).closestPointToPoint(k.point, !1, new P.Vector3());
|
|
51338
|
-
const I = [u[0], u[1], f], E = gv(I,
|
|
51338
|
+
const I = [u[0], u[1], f], E = gv(I, ct.modules.five.camera.position);
|
|
51339
51339
|
n.setPoints(E);
|
|
51340
51340
|
return;
|
|
51341
51341
|
}
|
|
@@ -51354,7 +51354,7 @@ class mv extends qo {
|
|
|
51354
51354
|
function vv(n) {
|
|
51355
51355
|
return Math.max(32, Math.min(128, Math.floor(n * 40)));
|
|
51356
51356
|
}
|
|
51357
|
-
class Av extends
|
|
51357
|
+
class Av extends xl {
|
|
51358
51358
|
constructor(e) {
|
|
51359
51359
|
super(e);
|
|
51360
51360
|
d(this, "_normal");
|
|
@@ -51500,7 +51500,7 @@ class hh extends di {
|
|
|
51500
51500
|
d(this, "_topCenter");
|
|
51501
51501
|
d(this, "_bottomCenter");
|
|
51502
51502
|
d(this, "_radius");
|
|
51503
|
-
this.params = e, this.bottomCircle = new Vo(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Vo(e), this.topCircle.name = "topCircle", this.edgeMesh = new
|
|
51503
|
+
this.params = e, this.bottomCircle = new Vo(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new Vo(e), this.topCircle.name = "topCircle", this.edgeMesh = new xl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
|
|
51504
51504
|
}
|
|
51505
51505
|
get bottomCenter() {
|
|
51506
51506
|
return this.bottomCircle.center;
|
|
@@ -51822,7 +51822,7 @@ function Pv(n, t, e) {
|
|
|
51822
51822
|
s(new Error("No container"));
|
|
51823
51823
|
return;
|
|
51824
51824
|
}
|
|
51825
|
-
const o = new
|
|
51825
|
+
const o = new al(n.style);
|
|
51826
51826
|
r.add(o), yield Eu(o, t, e), r.remove(o), n.setPoints({ points: o.points });
|
|
51827
51827
|
const a = new bi(), l = us(n.bottomPositions), c = si(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
|
|
51828
51828
|
a.setPoints([h, u]), r.add(a), t.enable();
|
|
@@ -52145,15 +52145,15 @@ const pr = class extends Ct {
|
|
|
52145
52145
|
});
|
|
52146
52146
|
}
|
|
52147
52147
|
};
|
|
52148
|
-
let
|
|
52149
|
-
d(
|
|
52148
|
+
let ct = pr;
|
|
52149
|
+
d(ct, "modules", lv);
|
|
52150
52150
|
const dD = (n, t, e) => {
|
|
52151
52151
|
if (t && typeof t == "object" && ("theme" in t || "config" in t)) {
|
|
52152
52152
|
const i = t;
|
|
52153
|
-
return new
|
|
52153
|
+
return new ct(n, i.theme, i.config);
|
|
52154
52154
|
}
|
|
52155
|
-
return new
|
|
52156
|
-
}, fD = (n, t) => new
|
|
52155
|
+
return new ct(n, t, e);
|
|
52156
|
+
}, fD = (n, t) => new ct(n, t == null ? void 0 : t.theme, t == null ? void 0 : t.config);
|
|
52157
52157
|
function zx(n, ...t) {
|
|
52158
52158
|
t.forEach((e) => {
|
|
52159
52159
|
n.children.includes(e) || e && n.add(e);
|
|
@@ -52321,7 +52321,7 @@ const gm = (n, t) => {
|
|
|
52321
52321
|
triangles: gm,
|
|
52322
52322
|
prism: _x
|
|
52323
52323
|
};
|
|
52324
|
-
class
|
|
52324
|
+
class Ec extends ku {
|
|
52325
52325
|
constructor(...e) {
|
|
52326
52326
|
const i = e[0], s = Hs(i.model), r = new P.Vector3().lerpVectors(Un(s, 0), Un(s, 5), 0.5);
|
|
52327
52327
|
super(he(H({}, i), { position: r }));
|
|
@@ -52403,7 +52403,7 @@ class Hx extends En {
|
|
|
52403
52403
|
d(this, "onFiveEveryReady", () => te(this, null, function* () {
|
|
52404
52404
|
if (this.five.state.mode === "Panorama")
|
|
52405
52405
|
return;
|
|
52406
|
-
const e = this.items.filter((l) => l instanceof
|
|
52406
|
+
const e = this.items.filter((l) => l instanceof Ec).map((l) => l.tag), i = e.filter((l) => l.position && l.visible && l.enabled);
|
|
52407
52407
|
yield iv(0);
|
|
52408
52408
|
const s = this.five.camera.position.clone(), r = i.sort((l, c) => s.distanceTo(l.position) - s.distanceTo(c.position)), o = [], a = (l, c) => !(l.right < c.left || l.left > c.right || l.bottom < c.top || l.top > c.bottom);
|
|
52409
52409
|
e.forEach((l) => {
|
|
@@ -52479,7 +52479,7 @@ class Hx extends En {
|
|
|
52479
52479
|
});
|
|
52480
52480
|
a.push(a[0]);
|
|
52481
52481
|
const l = s.object_data.height + ((r = s.object_data.fixedHeight) != null ? r : 0) + this.zFightingOffset, c = Ue(a[0]).add(new ge().setY(l));
|
|
52482
|
-
return o.setPoints({ points: a, heightPoint: c }), o.setStyle(i(s)), new
|
|
52482
|
+
return o.setPoints({ points: a, heightPoint: c }), o.setStyle(i(s)), new Ec({
|
|
52483
52483
|
five: this.five,
|
|
52484
52484
|
tagWrapper: this.tagWrapper,
|
|
52485
52485
|
model: o,
|
|
@@ -52636,7 +52636,7 @@ class Hx extends En {
|
|
|
52636
52636
|
this.group.visible = !1, this.tagWrapper.style.display = "none", this.five.needsRender = !0;
|
|
52637
52637
|
}
|
|
52638
52638
|
getPrismItems() {
|
|
52639
|
-
return this.items.filter((e) => e instanceof
|
|
52639
|
+
return this.items.filter((e) => e instanceof Ec);
|
|
52640
52640
|
}
|
|
52641
52641
|
getPolygonItems() {
|
|
52642
52642
|
return this.items.filter((e) => e instanceof mm);
|
|
@@ -52647,7 +52647,7 @@ class Hx extends En {
|
|
|
52647
52647
|
}
|
|
52648
52648
|
const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
52649
52649
|
__proto__: null,
|
|
52650
|
-
BaseEditor:
|
|
52650
|
+
BaseEditor: Ol,
|
|
52651
52651
|
BoxMesh: uh,
|
|
52652
52652
|
BoxMeshEditor: wv,
|
|
52653
52653
|
CircleMesh: Av,
|
|
@@ -52662,7 +52662,7 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
52662
52662
|
PrismMeshEditor: dv,
|
|
52663
52663
|
RectangleMesh: Iu,
|
|
52664
52664
|
RectangleMeshEditor: pv,
|
|
52665
|
-
RectangleWithEdgeMesh:
|
|
52665
|
+
RectangleWithEdgeMesh: al,
|
|
52666
52666
|
createBox: Pv,
|
|
52667
52667
|
createCircle: Mu,
|
|
52668
52668
|
createCylinder: yv,
|
|
@@ -52676,7 +52676,7 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
52676
52676
|
BetterTween: Ls,
|
|
52677
52677
|
FiveDomEvents: Er,
|
|
52678
52678
|
FivePuppet: xy,
|
|
52679
|
-
Interval:
|
|
52679
|
+
Interval: xc,
|
|
52680
52680
|
LegacyPointHelper: my,
|
|
52681
52681
|
LightTag: Ho,
|
|
52682
52682
|
LineSegments: _m,
|
|
@@ -52684,13 +52684,13 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
52684
52684
|
Object3D: Bm,
|
|
52685
52685
|
PointDomHelper: hy,
|
|
52686
52686
|
PointHelper: Rm,
|
|
52687
|
-
PointSelector:
|
|
52687
|
+
PointSelector: ul,
|
|
52688
52688
|
PointSelectorHelper: xm,
|
|
52689
52689
|
Rectangle: DA,
|
|
52690
52690
|
absoluteUrl: Lh,
|
|
52691
52691
|
animeMap: co,
|
|
52692
52692
|
awaitNextFrame: yy,
|
|
52693
|
-
blink:
|
|
52693
|
+
blink: ml,
|
|
52694
52694
|
bounding: wh,
|
|
52695
52695
|
boundingBox: Hs,
|
|
52696
52696
|
boundingSphere: Vm,
|
|
@@ -52723,7 +52723,7 @@ const pD = (...n) => new Hx(...n), Fx = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
52723
52723
|
tweenProgress: ko,
|
|
52724
52724
|
uuid: Dt,
|
|
52725
52725
|
waitFiveModelLoaded: Ai,
|
|
52726
|
-
worldBounding:
|
|
52726
|
+
worldBounding: dl,
|
|
52727
52727
|
worldBoundingBox: Pb,
|
|
52728
52728
|
worldBoundingSphere: Hm
|
|
52729
52729
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -52732,7 +52732,7 @@ dA();
|
|
|
52732
52732
|
export {
|
|
52733
52733
|
hD as AreaMakerPlugin,
|
|
52734
52734
|
Mo as CSS3DRender,
|
|
52735
|
-
|
|
52735
|
+
vl as CSS3DRenderPlugin,
|
|
52736
52736
|
K3 as CameraMovementEffect,
|
|
52737
52737
|
wS as CameraMovementPlugin,
|
|
52738
52738
|
l8 as ContentType,
|
|
@@ -52789,7 +52789,7 @@ export {
|
|
|
52789
52789
|
mS as ROOM_FETILE_TYPE_MAP,
|
|
52790
52790
|
AS as ROOM_TYPE_MAP,
|
|
52791
52791
|
pn as Rotation,
|
|
52792
|
-
|
|
52792
|
+
ct as Sculpt,
|
|
52793
52793
|
dD as SculptPlugin,
|
|
52794
52794
|
fD as SculptPluginForFive,
|
|
52795
52795
|
fS as TopviewFloorplanPlugin,
|