@realsee/dnalogel 3.28.7 → 3.28.9
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 +6 -0
- package/dist/Sculpt/Objects/Box/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Circle/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Point/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Polygon/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Polyline/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Prism/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/dist/Sculpt/typings/utils.type.d.ts +1 -2
- package/dist/index.cjs.js +19 -19
- package/dist/index.js +489 -476
- package/dist/index.umd.js +27 -27
- package/dist/typings/utils.type.d.ts +2 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +12 -12
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/ModelMakerPlugin/Controller.js +37 -37
- package/libs/Sculpt/Objects/Box/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Circle/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Point/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Polygon/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Polyline/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Prism/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/libs/Sculpt/typings/utils.type.d.ts +1 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector.js +26 -13
- package/libs/typings/utils.type.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import Qa from "animejs";
|
|
|
48
48
|
import { GLTFLoader as Gm } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Fm() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.28.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.28.9",
|
|
52
52
|
[
|
|
53
53
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -975,10 +975,10 @@ let sp = class extends ip {
|
|
|
975
975
|
if (!A.find((P) => P === v)) {
|
|
976
976
|
if (A.push(v), g.push(ca(l[v], p.clientWidth, p.clientHeight)), g.length < 3)
|
|
977
977
|
return;
|
|
978
|
-
const { control: P, end:
|
|
979
|
-
if (!P || !
|
|
978
|
+
const { control: P, end: I } = po(g);
|
|
979
|
+
if (!P || !I)
|
|
980
980
|
return;
|
|
981
|
-
a.quadraticCurveTo(P.x, P.y,
|
|
981
|
+
a.quadraticCurveTo(P.x, P.y, I.x, I.y), a.stroke();
|
|
982
982
|
}
|
|
983
983
|
}).onComplete((m) => {
|
|
984
984
|
p.tween = void 0, p.tweening = !1, A = [], g = [], o && o(), r();
|
|
@@ -1124,10 +1124,10 @@ const T3 = (n, t) => {
|
|
|
1124
1124
|
const X = A();
|
|
1125
1125
|
if (!X)
|
|
1126
1126
|
return;
|
|
1127
|
-
F.appendChild(X.domElement),
|
|
1127
|
+
F.appendChild(X.domElement), I(U);
|
|
1128
1128
|
const J = window.getComputedStyle(F).position;
|
|
1129
1129
|
J !== "relative" && J !== "absolute" && J !== "fixed" && J !== "sticky" && (F.style.position = "relative");
|
|
1130
|
-
},
|
|
1130
|
+
}, I = (F = {}) => {
|
|
1131
1131
|
if (!o)
|
|
1132
1132
|
return;
|
|
1133
1133
|
const X = o.domElement.parentNode;
|
|
@@ -1145,14 +1145,14 @@ const T3 = (n, t) => {
|
|
|
1145
1145
|
let de = $ / 2 / Math.tan(Math.PI * U / 360);
|
|
1146
1146
|
return X < 1 && (de = de / X), isNaN(de) ? $ : de;
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function E(F) {
|
|
1149
1149
|
return n.work.observers[F].standingPosition.clone();
|
|
1150
1150
|
}
|
|
1151
1151
|
const j = () => {
|
|
1152
1152
|
if (!e || !u || !f)
|
|
1153
1153
|
return;
|
|
1154
1154
|
const F = n.getPose();
|
|
1155
|
-
F.fov = c.fov, F.offset = f, F.distance = u, typeof a.lockedLatitude == "number" && (F.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (F.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (F.offset =
|
|
1155
|
+
F.fov = c.fov, F.offset = f, F.distance = u, typeof a.lockedLatitude == "number" && (F.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (F.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (F.offset = E(a.lockedPanoIndex)), a.lookAtCurrentCamera && (F.offset = n.camera.position.clone().setY(n.camera.position.y + 1)), c.setFromPose(F), s = !0;
|
|
1156
1156
|
}, V = () => {
|
|
1157
1157
|
!e || s !== !0 || !o || !o.domElement.parentNode || o.domElement.parentNode.offsetWidth === 0 || (o.render(l, c), s = !1);
|
|
1158
1158
|
}, W = () => {
|
|
@@ -1162,7 +1162,7 @@ const T3 = (n, t) => {
|
|
|
1162
1162
|
}, N = () => ({
|
|
1163
1163
|
enabled: e
|
|
1164
1164
|
});
|
|
1165
|
-
return Object.assign(window, { camera: c }), n.on("modelLoaded", m), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", j), n.on("dispose", W), n.on("renderFrame", V), n.on("cameraPositionUpdate", j), { appendTo: P, refresh:
|
|
1165
|
+
return Object.assign(window, { camera: c }), n.on("modelLoaded", m), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", j), n.on("dispose", W), n.on("renderFrame", V), n.on("cameraPositionUpdate", j), { appendTo: P, refresh: I, changeConfigs: _, enable: v, disable: y, getCurrentState: N };
|
|
1166
1166
|
}, op = ({ x: n, y: t, z: e }) => new oe(n, t, e), fi = (n) => new oe().fromArray(n), Be = (n) => {
|
|
1167
1167
|
if (n)
|
|
1168
1168
|
return n instanceof oe ? n : Array.isArray(n) ? fi(n) : op(n);
|
|
@@ -1343,8 +1343,8 @@ function Di(...n) {
|
|
|
1343
1343
|
const fl = (n) => n ? n.visible === !1 ? !1 : fl(n.parent) : !0, nf = 1, dp = `CSS3DObjectPlus@${nf}`, up = 216e-5, fp = 3e-3;
|
|
1344
1344
|
class gp extends Na {
|
|
1345
1345
|
constructor(e) {
|
|
1346
|
-
var k,
|
|
1347
|
-
const i = e.container, s = e.cornerPoints, o = (k = e.ratio) != null ? k : fp, r = (
|
|
1346
|
+
var k, E, j;
|
|
1347
|
+
const i = e.container, s = e.cornerPoints, o = (k = e.ratio) != null ? k : fp, r = (E = e.dpr) != null ? E : 1, a = (j = e.pointerEvents) != null ? j : "auto", l = Math.max(up, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = Go(c / o * r), f = Go(h / o * r), g = Di(...s);
|
|
1348
1348
|
let A;
|
|
1349
1349
|
if (l === o)
|
|
1350
1350
|
i.style.width = `${u}px`, i.style.height = `${f}px`, A = i;
|
|
@@ -1391,8 +1391,8 @@ class gp extends Na {
|
|
|
1391
1391
|
i.classList.add(`${dp}__container`);
|
|
1392
1392
|
const p = new oe().subVectors(s[1], s[0]), m = new oe().subVectors(s[3], s[0]), v = new oe().crossVectors(p, m).normalize();
|
|
1393
1393
|
this.lookAt(v);
|
|
1394
|
-
const y = this.up.clone().applyQuaternion(this.quaternion), P = m.clone(),
|
|
1395
|
-
this.rotateOnWorldAxis(
|
|
1394
|
+
const y = this.up.clone().applyQuaternion(this.quaternion), P = m.clone(), I = new oe().crossVectors(y, P).normalize();
|
|
1395
|
+
this.rotateOnWorldAxis(I, y.angleTo(P)), this.position.copy(g), this.addEventListener("added", () => {
|
|
1396
1396
|
var V;
|
|
1397
1397
|
this.mode === "front" && ((V = this.opacityMesh) == null || V.removeFromParent());
|
|
1398
1398
|
}), this.addEventListener("removed", () => {
|
|
@@ -1603,7 +1603,7 @@ class Vs {
|
|
|
1603
1603
|
k && k.add(A);
|
|
1604
1604
|
}, m = () => {
|
|
1605
1605
|
g || (p(), this.render(t), this.hooks.emit("render"));
|
|
1606
|
-
}, v = (k) => this.setVisibleById(A.id, k), y = (k) => this.setEnabledById(A.id, k), P = () => (g = !0, A.removeFromParent(), !0),
|
|
1606
|
+
}, v = (k) => this.setVisibleById(A.id, k), y = (k) => this.setEnabledById(A.id, k), P = () => (g = !0, A.removeFromParent(), !0), I = l === "front" ? Ke.frontModeStore.css3DRenderer : Ke.behindModeStore.css3DRenderer;
|
|
1607
1607
|
return c && m(), {
|
|
1608
1608
|
id: A.uuid,
|
|
1609
1609
|
container: h,
|
|
@@ -1616,7 +1616,7 @@ class Vs {
|
|
|
1616
1616
|
disable: () => y(!1),
|
|
1617
1617
|
setEnabled: y,
|
|
1618
1618
|
dispose: P,
|
|
1619
|
-
appendToElement: (k) =>
|
|
1619
|
+
appendToElement: (k) => I.setWrapper(k)
|
|
1620
1620
|
};
|
|
1621
1621
|
});
|
|
1622
1622
|
d(this, "setVisibleById", (t, e) => {
|
|
@@ -2986,8 +2986,8 @@ function nn(n, t, e) {
|
|
|
2986
2986
|
if (P >= y)
|
|
2987
2987
|
return p(1, 0), _i(n, !0, "end"), c(), o = !1;
|
|
2988
2988
|
if (P >= v) {
|
|
2989
|
-
const
|
|
2990
|
-
p(
|
|
2989
|
+
const I = A((P - v) / g);
|
|
2990
|
+
p(I, 1 - I);
|
|
2991
2991
|
}
|
|
2992
2992
|
}
|
|
2993
2993
|
return o;
|
|
@@ -3058,12 +3058,12 @@ function ni(n, t, e, i) {
|
|
|
3058
3058
|
start: Al() + A,
|
|
3059
3059
|
b: g
|
|
3060
3060
|
};
|
|
3061
|
-
g || (P.group = Kt, Kt.r += 1), a || l ? l = P : (y && (h(), c = Yo(n, r, g, p, A, m, y)), g && v(0, 1), a = u(P, p), Xe(() => _i(n, g, "start")), bl((
|
|
3062
|
-
if (l &&
|
|
3063
|
-
if (
|
|
3061
|
+
g || (P.group = Kt, Kt.r += 1), a || l ? l = P : (y && (h(), c = Yo(n, r, g, p, A, m, y)), g && v(0, 1), a = u(P, p), Xe(() => _i(n, g, "start")), bl((I) => {
|
|
3062
|
+
if (l && I > l.start && (a = u(l, p), l = null, _i(n, a.b, "start"), y && (h(), c = Yo(n, r, a.b, a.duration, 0, m, o.css))), a) {
|
|
3063
|
+
if (I >= a.end)
|
|
3064
3064
|
v(r = a.b, 1 - r), _i(n, a.b, "end"), l || (a.b ? h() : --a.group.r || et(a.group.c)), a = null;
|
|
3065
|
-
else if (
|
|
3066
|
-
const k =
|
|
3065
|
+
else if (I >= a.start) {
|
|
3066
|
+
const k = I - a.start;
|
|
3067
3067
|
r = a.a + a.d * m(k / a.duration), v(r, 1 - r);
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
|
@@ -3136,20 +3136,20 @@ function Ut(n, t, e, i, s, o, r, a, l, c, h, u) {
|
|
|
3136
3136
|
let W = r.get(V);
|
|
3137
3137
|
W ? i && P.push(() => W.p(j, t)) : (W = c(V, j), W.c()), v.set(V, m[A] = W), V in p && y.set(V, Math.abs(A - p[V]));
|
|
3138
3138
|
}
|
|
3139
|
-
const
|
|
3140
|
-
function
|
|
3139
|
+
const I = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set();
|
|
3140
|
+
function E(j) {
|
|
3141
3141
|
x(j, 1), j.m(a, h), r.set(j.key, j), h = j.first, g--;
|
|
3142
3142
|
}
|
|
3143
3143
|
for (; f && g; ) {
|
|
3144
3144
|
const j = m[g - 1], V = n[f - 1], W = j.key, _ = V.key;
|
|
3145
|
-
j === V ? (h = j.first, f--, g--) : v.has(_) ? !r.has(W) ||
|
|
3145
|
+
j === V ? (h = j.first, f--, g--) : v.has(_) ? !r.has(W) || I.has(W) ? E(j) : k.has(_) ? f-- : y.get(W) > y.get(_) ? (k.add(W), E(j)) : (I.add(_), f--) : (l(V, r), f--);
|
|
3146
3146
|
}
|
|
3147
3147
|
for (; f--; ) {
|
|
3148
3148
|
const j = n[f];
|
|
3149
3149
|
v.has(j.key) || l(j, r);
|
|
3150
3150
|
}
|
|
3151
3151
|
for (; g; )
|
|
3152
|
-
|
|
3152
|
+
E(m[g - 1]);
|
|
3153
3153
|
return et(P), m;
|
|
3154
3154
|
}
|
|
3155
3155
|
function wt(n, t) {
|
|
@@ -3763,27 +3763,27 @@ function xA(n, t, e) {
|
|
|
3763
3763
|
function c(v) {
|
|
3764
3764
|
if (!(l === null || v.floorIndex === l))
|
|
3765
3765
|
return !1;
|
|
3766
|
-
const P = new Un(),
|
|
3767
|
-
P.set(
|
|
3766
|
+
const P = new Un(), I = s.camera.position.clone(), k = new oe(v.position.x, v.position.y, v.position.z), E = k.distanceTo(I);
|
|
3767
|
+
P.set(I.clone(), k.clone().sub(I).normalize());
|
|
3768
3768
|
const [j] = s.model.intersectRaycaster(P);
|
|
3769
|
-
return !(j && j.distance + 1 <
|
|
3769
|
+
return !(j && j.distance + 1 < E);
|
|
3770
3770
|
}
|
|
3771
3771
|
function h(v, y) {
|
|
3772
|
-
const
|
|
3773
|
-
return `translate(${k}px, ${
|
|
3772
|
+
const I = new oe(v.position.x, v.position.y, v.position.z).clone().project(s.camera), k = Math.ceil((I.x + 1) / 2 * y.x), E = Math.ceil((-I.y + 1) / 2 * y.y);
|
|
3773
|
+
return `translate(${k}px, ${E}px)`;
|
|
3774
3774
|
}
|
|
3775
3775
|
function u(v) {
|
|
3776
3776
|
const { rendererSize: y } = v, P = /* @__PURE__ */ new Map();
|
|
3777
|
-
function E
|
|
3778
|
-
const j = P.get(
|
|
3777
|
+
function I(E) {
|
|
3778
|
+
const j = P.get(E.id);
|
|
3779
3779
|
if (j)
|
|
3780
3780
|
return j;
|
|
3781
|
-
const { x: V, y: W, z: _ } =
|
|
3782
|
-
return P.set(
|
|
3781
|
+
const { x: V, y: W, z: _ } = E.position, N = new oe(V, W, _).clone().distanceTo(s.camera.position);
|
|
3782
|
+
return P.set(E.id, N), N;
|
|
3783
3783
|
}
|
|
3784
|
-
return o.map((
|
|
3785
|
-
const j = c(
|
|
3786
|
-
return se(D({},
|
|
3784
|
+
return o.map((E) => {
|
|
3785
|
+
const j = c(E), V = j ? h(E, y) : E.transform, W = I(E), N = o.filter((G) => G.visible && I(G) < W).length * 10;
|
|
3786
|
+
return se(D({}, E), { visible: j, transform: V, zIndex: N });
|
|
3787
3787
|
});
|
|
3788
3788
|
}
|
|
3789
3789
|
function f() {
|
|
@@ -4461,7 +4461,7 @@ function ZA(n, t) {
|
|
|
4461
4461
|
return s;
|
|
4462
4462
|
}
|
|
4463
4463
|
function JA(n, t, e) {
|
|
4464
|
-
let i, s, o, r, a, l, c, h, u, f, g, A, p, { pxmm: m } = t, { roomAreaEnable: v } = t, { roomNameEnable: y } = t, { roomDimensionEnable: P } = t, { room:
|
|
4464
|
+
let i, s, o, r, a, l, c, h, u, f, g, A, p, { pxmm: m } = t, { roomAreaEnable: v } = t, { roomNameEnable: y } = t, { roomDimensionEnable: P } = t, { room: I } = t, { hoveredRoom: k } = t, { getRoomAreaText: E } = t, { getRoomDimensionText: j } = t, { getLabelElement: V } = t, { adaptiveRoomLabelVisibleEnable: W } = t;
|
|
4465
4465
|
function _(ee, ve) {
|
|
4466
4466
|
if (ve.width === 0 || ve.height === 0)
|
|
4467
4467
|
return () => !1;
|
|
@@ -4476,10 +4476,10 @@ function JA(n, t, e) {
|
|
|
4476
4476
|
].every((He) => ZA(He, Ct));
|
|
4477
4477
|
};
|
|
4478
4478
|
}
|
|
4479
|
-
const N = document.body.clientWidth, G = document.body.clientHeight, H =
|
|
4479
|
+
const N = document.body.clientWidth, G = document.body.clientHeight, H = I.roomLabel, F = H.positionInImage.x * 100 + "%", U = H.positionInImage.y * 100 + "%", X = (N < 500 || G < 500 ? 10 : 14) + "px", J = (N < 500 || G < 500 ? 8 : 12) + "px";
|
|
4480
4480
|
let $ = 0, de = 0, he = 0, Pe = 0, Ce = !1;
|
|
4481
4481
|
k.subscribe(function(ve) {
|
|
4482
|
-
e(25, Ce = !!ve && ve.id ===
|
|
4482
|
+
e(25, Ce = !!ve && ve.id === I.id);
|
|
4483
4483
|
});
|
|
4484
4484
|
const be = (ee) => {
|
|
4485
4485
|
e(7, he = ee.detail);
|
|
@@ -4491,22 +4491,22 @@ function JA(n, t, e) {
|
|
|
4491
4491
|
e(6, de = ee.detail);
|
|
4492
4492
|
};
|
|
4493
4493
|
return n.$$set = (ee) => {
|
|
4494
|
-
"pxmm" in ee && e(20, m = ee.pxmm), "roomAreaEnable" in ee && e(0, v = ee.roomAreaEnable), "roomNameEnable" in ee && e(1, y = ee.roomNameEnable), "roomDimensionEnable" in ee && e(2, P = ee.roomDimensionEnable), "room" in ee && e(3,
|
|
4494
|
+
"pxmm" in ee && e(20, m = ee.pxmm), "roomAreaEnable" in ee && e(0, v = ee.roomAreaEnable), "roomNameEnable" in ee && e(1, y = ee.roomNameEnable), "roomDimensionEnable" in ee && e(2, P = ee.roomDimensionEnable), "room" in ee && e(3, I = ee.room), "hoveredRoom" in ee && e(21, k = ee.hoveredRoom), "getRoomAreaText" in ee && e(22, E = ee.getRoomAreaText), "getRoomDimensionText" in ee && e(23, j = ee.getRoomDimensionText), "getLabelElement" in ee && e(4, V = ee.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ee && e(24, W = ee.adaptiveRoomLabelVisibleEnable);
|
|
4495
4495
|
}, n.$$.update = () => {
|
|
4496
4496
|
var ee, ve;
|
|
4497
4497
|
n.$$.dirty[0] & /*getLabelElement, room*/
|
|
4498
|
-
24 && e(15, i = V == null ? void 0 : V(
|
|
4499
|
-
4194312 && e(14, s =
|
|
4500
|
-
8388616 && e(13, o =
|
|
4498
|
+
24 && e(15, i = V == null ? void 0 : V(I)), n.$$.dirty[0] & /*room, getRoomAreaText*/
|
|
4499
|
+
4194312 && e(14, s = I.size ? E(I.size) : ""), n.$$.dirty[0] & /*room, getRoomDimensionText*/
|
|
4500
|
+
8388616 && e(13, o = I != null && I.dimension ? j((ee = I.dimension) == null ? void 0 : ee.width, (ve = I.dimension) == null ? void 0 : ve.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
|
|
4501
4501
|
384 && e(31, r = { width: he, height: Pe }), n.$$.dirty[0] & /*room*/
|
|
4502
4502
|
8 | n.$$.dirty[1] & /*labelElementSize*/
|
|
4503
|
-
1 && e(30, a = r ? _(
|
|
4503
|
+
1 && e(30, a = r ? _(I, r) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
|
|
4504
4504
|
1091567616 && e(27, l = W ? !!(a != null && a(m)) : !0), n.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
|
|
4505
4505
|
96 && e(29, c = {
|
|
4506
4506
|
width: $,
|
|
4507
4507
|
height: de
|
|
4508
4508
|
}), n.$$.dirty[0] & /*wrapperLabelElementSize, room*/
|
|
4509
|
-
536870920 && e(28, h = c ? _(
|
|
4509
|
+
536870920 && e(28, h = c ? _(I, c) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
|
|
4510
4510
|
286261248 && e(26, u = W ? !!(h != null && h(m)) : !0), n.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
|
|
4511
4511
|
234881024 && e(12, f = u || l || Ce), n.$$.dirty[0] & /*mainLabelVisible, isHovered*/
|
|
4512
4512
|
167772160 && e(11, g = l || Ce), n.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
|
|
@@ -4516,7 +4516,7 @@ function JA(n, t, e) {
|
|
|
4516
4516
|
v,
|
|
4517
4517
|
y,
|
|
4518
4518
|
P,
|
|
4519
|
-
|
|
4519
|
+
I,
|
|
4520
4520
|
V,
|
|
4521
4521
|
$,
|
|
4522
4522
|
de,
|
|
@@ -4535,7 +4535,7 @@ function JA(n, t, e) {
|
|
|
4535
4535
|
J,
|
|
4536
4536
|
m,
|
|
4537
4537
|
k,
|
|
4538
|
-
|
|
4538
|
+
E,
|
|
4539
4539
|
j,
|
|
4540
4540
|
W,
|
|
4541
4541
|
Ce,
|
|
@@ -5024,8 +5024,8 @@ function sv(n, t, e) {
|
|
|
5024
5024
|
});
|
|
5025
5025
|
u.unshift({ left: 0, bottom: 0 }), u.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
5026
5026
|
const f = h[h.length - 1] - h[0], g = h.map((A, p, m) => {
|
|
5027
|
-
const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x - bn + yn) / l : 0,
|
|
5028
|
-
return { left: P, bottom:
|
|
5027
|
+
const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x - bn + yn) / l : 0, I = a ? 0 : (y - o.min.y - bn + yn) / c;
|
|
5028
|
+
return { left: P, bottom: I, distance: v };
|
|
5029
5029
|
}).filter(({ distance: A }) => A / f > 0.1);
|
|
5030
5030
|
return n.$$set = (A) => {
|
|
5031
5031
|
"type" in A && e(0, i = A.type), "data" in A && e(5, s = A.data), "bounding" in A && e(6, o = A.bounding), "getRuleDistanceText" in A && e(1, r = A.getRuleDistanceText);
|
|
@@ -6235,8 +6235,8 @@ function Kv(n) {
|
|
|
6235
6235
|
}
|
|
6236
6236
|
];
|
|
6237
6237
|
let f = {};
|
|
6238
|
-
for (let
|
|
6239
|
-
f = ft(f, u[
|
|
6238
|
+
for (let I = 0; I < u.length; I += 1)
|
|
6239
|
+
f = ft(f, u[I]);
|
|
6240
6240
|
t = new xv({ props: f });
|
|
6241
6241
|
let g = (
|
|
6242
6242
|
/*highlightEnable*/
|
|
@@ -6256,8 +6256,8 @@ function Kv(n) {
|
|
|
6256
6256
|
}
|
|
6257
6257
|
];
|
|
6258
6258
|
let p = {};
|
|
6259
|
-
for (let
|
|
6260
|
-
p = ft(p, A[
|
|
6259
|
+
for (let I = 0; I < A.length; I += 1)
|
|
6260
|
+
p = ft(p, A[I]);
|
|
6261
6261
|
s = new Rf({ props: p });
|
|
6262
6262
|
let m = (
|
|
6263
6263
|
/*roomLabelsEnable*/
|
|
@@ -6276,27 +6276,27 @@ function Kv(n) {
|
|
|
6276
6276
|
c() {
|
|
6277
6277
|
ne(t.$$.fragment), e = K(), g && g.c(), i = K(), ne(s.$$.fragment), o = K(), m && m.c(), r = K(), v && v.c(), a = K(), y && y.c(), l = K(), P && P.c(), c = we();
|
|
6278
6278
|
},
|
|
6279
|
-
m(
|
|
6280
|
-
te(t,
|
|
6279
|
+
m(I, k) {
|
|
6280
|
+
te(t, I, k), B(I, e, k), g && g.m(I, k), B(I, i, k), te(s, I, k), B(I, o, k), m && m.m(I, k), B(I, r, k), v && v.m(I, k), B(I, a, k), y && y.m(I, k), B(I, l, k), P && P.m(I, k), B(I, c, k), h = !0;
|
|
6281
6281
|
},
|
|
6282
|
-
p(
|
|
6283
|
-
const
|
|
6282
|
+
p(I, k) {
|
|
6283
|
+
const E = k & /*floorIndex, floorplanData*/
|
|
6284
6284
|
2052 ? wt(u, [
|
|
6285
6285
|
{
|
|
6286
6286
|
floorIndex: (
|
|
6287
6287
|
/*floorIndex*/
|
|
6288
|
-
|
|
6288
|
+
I[2]
|
|
6289
6289
|
),
|
|
6290
6290
|
floorplanData: (
|
|
6291
6291
|
/*floorplanData*/
|
|
6292
|
-
|
|
6292
|
+
I[11]
|
|
6293
6293
|
)
|
|
6294
6294
|
}
|
|
6295
6295
|
]) : {};
|
|
6296
|
-
t.$set(
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
40 && x(g, 1)) : (g = Nc(
|
|
6296
|
+
t.$set(E), /*highlightEnable*/
|
|
6297
|
+
I[3] || /*hoverEnable*/
|
|
6298
|
+
I[5] ? g ? (g.p(I, k), k & /*highlightEnable, hoverEnable*/
|
|
6299
|
+
40 && x(g, 1)) : (g = Nc(I), g.c(), x(g, 1), g.m(i.parentNode, i)) : g && (ue(), O(g, 1, 1, () => {
|
|
6300
6300
|
g = null;
|
|
6301
6301
|
}), fe());
|
|
6302
6302
|
const j = k & /*floorplanData, floorIndex*/
|
|
@@ -6304,40 +6304,40 @@ function Kv(n) {
|
|
|
6304
6304
|
{
|
|
6305
6305
|
floorplanData: (
|
|
6306
6306
|
/*floorplanData*/
|
|
6307
|
-
|
|
6307
|
+
I[11]
|
|
6308
6308
|
),
|
|
6309
6309
|
floorIndex: (
|
|
6310
6310
|
/*floorIndex*/
|
|
6311
|
-
|
|
6311
|
+
I[2]
|
|
6312
6312
|
)
|
|
6313
6313
|
}
|
|
6314
6314
|
]) : {};
|
|
6315
6315
|
s.$set(j), /*roomLabelsEnable*/
|
|
6316
|
-
|
|
6317
|
-
64 && x(m, 1)) : (m = Qc(
|
|
6316
|
+
I[6] ? m ? (m.p(I, k), k & /*roomLabelsEnable*/
|
|
6317
|
+
64 && x(m, 1)) : (m = Qc(I), m.c(), x(m, 1), m.m(r.parentNode, r)) : m && (ue(), O(m, 1, 1, () => {
|
|
6318
6318
|
m = null;
|
|
6319
6319
|
}), fe()), /*ruleLabelsEnable*/
|
|
6320
|
-
|
|
6321
|
-
1024 && x(v, 1)) : (v = Gc(
|
|
6320
|
+
I[10] ? v ? (v.p(I, k), k & /*ruleLabelsEnable*/
|
|
6321
|
+
1024 && x(v, 1)) : (v = Gc(I), v.c(), x(v, 1), v.m(a.parentNode, a)) : v && (ue(), O(v, 1, 1, () => {
|
|
6322
6322
|
v = null;
|
|
6323
6323
|
}), fe()), /*cameraEnable*/
|
|
6324
|
-
|
|
6325
|
-
16 && x(y, 1)) : (y = Fc(
|
|
6324
|
+
I[4] ? y ? (y.p(I, k), k & /*cameraEnable*/
|
|
6325
|
+
16 && x(y, 1)) : (y = Fc(I), y.c(), x(y, 1), y.m(l.parentNode, l)) : y && (ue(), O(y, 1, 1, () => {
|
|
6326
6326
|
y = null;
|
|
6327
6327
|
}), fe()), /*compassEnable*/
|
|
6328
|
-
|
|
6329
|
-
4194304 && x(P, 1)) : (P = _c(
|
|
6328
|
+
I[22] ? P ? (P.p(I, k), k & /*compassEnable*/
|
|
6329
|
+
4194304 && x(P, 1)) : (P = _c(I), P.c(), x(P, 1), P.m(c.parentNode, c)) : P && (ue(), O(P, 1, 1, () => {
|
|
6330
6330
|
P = null;
|
|
6331
6331
|
}), fe());
|
|
6332
6332
|
},
|
|
6333
|
-
i(
|
|
6334
|
-
h || (x(t.$$.fragment,
|
|
6333
|
+
i(I) {
|
|
6334
|
+
h || (x(t.$$.fragment, I), x(g), x(s.$$.fragment, I), x(m), x(v), x(y), x(P), h = !0);
|
|
6335
6335
|
},
|
|
6336
|
-
o(
|
|
6337
|
-
O(t.$$.fragment,
|
|
6336
|
+
o(I) {
|
|
6337
|
+
O(t.$$.fragment, I), O(g), O(s.$$.fragment, I), O(m), O(v), O(y), O(P), h = !1;
|
|
6338
6338
|
},
|
|
6339
|
-
d(
|
|
6340
|
-
ie(t,
|
|
6339
|
+
d(I) {
|
|
6340
|
+
ie(t, I), I && z(e), g && g.d(I), I && z(i), ie(s, I), I && z(o), m && m.d(I), I && z(r), v && v.d(I), I && z(a), y && y.d(I), I && z(l), P && P.d(I), I && z(c);
|
|
6341
6341
|
}
|
|
6342
6342
|
};
|
|
6343
6343
|
}
|
|
@@ -6758,10 +6758,10 @@ function e0(n) {
|
|
|
6758
6758
|
};
|
|
6759
6759
|
}
|
|
6760
6760
|
function t0(n, t, e) {
|
|
6761
|
-
let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: g } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: m } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: P } = t, { getRuleDistanceText:
|
|
6761
|
+
let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: g } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: m } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: P } = t, { getRuleDistanceText: I } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { highlightData: E } = t, { missingFloorConfig: j } = t, { lastPanoramaLongitude: V } = t, { cameraImageUrl: W } = t, { northDesc: _ } = t, { compassEnable: N } = t;
|
|
6762
6762
|
const G = xl(void 0);
|
|
6763
6763
|
return n.$$set = (H) => {
|
|
6764
|
-
"panoIndex" in H && e(0, o = H.panoIndex), "isCurrent" in H && e(1, r = H.isCurrent), "floorIndex" in H && e(2, a = H.floorIndex), "highlightEnable" in H && e(3, l = H.highlightEnable), "cameraEnable" in H && e(4, c = H.cameraEnable), "hoverEnable" in H && e(5, h = H.hoverEnable), "roomLabelsEnable" in H && e(6, u = H.roomLabelsEnable), "roomAreaEnable" in H && e(7, f = H.roomAreaEnable), "roomNameEnable" in H && e(8, g = H.roomNameEnable), "roomDimensionEnable" in H && e(9, A = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(10, p = H.ruleLabelsEnable), "floorplanData" in H && e(11, m = H.floorplanData), "getRoomAreaText" in H && e(12, v = H.getRoomAreaText), "getRoomDimensionText" in H && e(13, y = H.getRoomDimensionText), "getLabelElement" in H && e(14, P = H.getLabelElement), "getRuleDistanceText" in H && e(15,
|
|
6764
|
+
"panoIndex" in H && e(0, o = H.panoIndex), "isCurrent" in H && e(1, r = H.isCurrent), "floorIndex" in H && e(2, a = H.floorIndex), "highlightEnable" in H && e(3, l = H.highlightEnable), "cameraEnable" in H && e(4, c = H.cameraEnable), "hoverEnable" in H && e(5, h = H.hoverEnable), "roomLabelsEnable" in H && e(6, u = H.roomLabelsEnable), "roomAreaEnable" in H && e(7, f = H.roomAreaEnable), "roomNameEnable" in H && e(8, g = H.roomNameEnable), "roomDimensionEnable" in H && e(9, A = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(10, p = H.ruleLabelsEnable), "floorplanData" in H && e(11, m = H.floorplanData), "getRoomAreaText" in H && e(12, v = H.getRoomAreaText), "getRoomDimensionText" in H && e(13, y = H.getRoomDimensionText), "getLabelElement" in H && e(14, P = H.getLabelElement), "getRuleDistanceText" in H && e(15, I = H.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in H && e(16, k = H.adaptiveRoomLabelVisibleEnable), "highlightData" in H && e(17, E = H.highlightData), "missingFloorConfig" in H && e(18, j = H.missingFloorConfig), "lastPanoramaLongitude" in H && e(19, V = H.lastPanoramaLongitude), "cameraImageUrl" in H && e(20, W = H.cameraImageUrl), "northDesc" in H && e(21, _ = H.northDesc), "compassEnable" in H && e(22, N = H.compassEnable);
|
|
6765
6765
|
}, n.$$.update = () => {
|
|
6766
6766
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
6767
6767
|
2052 && e(25, i = m.floorDatas[a]), n.$$.dirty & /*floorData*/
|
|
@@ -6782,9 +6782,9 @@ function t0(n, t, e) {
|
|
|
6782
6782
|
v,
|
|
6783
6783
|
y,
|
|
6784
6784
|
P,
|
|
6785
|
-
E,
|
|
6786
|
-
k,
|
|
6787
6785
|
I,
|
|
6786
|
+
k,
|
|
6787
|
+
E,
|
|
6788
6788
|
j,
|
|
6789
6789
|
V,
|
|
6790
6790
|
W,
|
|
@@ -7166,9 +7166,9 @@ function s0(n) {
|
|
|
7166
7166
|
};
|
|
7167
7167
|
}
|
|
7168
7168
|
function o0(n, t, e) {
|
|
7169
|
-
let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: g } = t, { roomNameEnable: A } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: m } = t, { floorplanData: v } = t, { lastPanoramaLongitude: y } = t, { cameraImageUrl: P } = t, { getRoomAreaText:
|
|
7169
|
+
let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: g } = t, { roomNameEnable: A } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: m } = t, { floorplanData: v } = t, { lastPanoramaLongitude: y } = t, { cameraImageUrl: P } = t, { getRoomAreaText: I } = t, { getRoomDimensionText: k } = t, { getLabelElement: E } = t, { getRuleDistanceText: j } = t, { adaptiveRoomLabelVisibleEnable: V } = t, { highlightData: W } = t, { missingFloorConfig: _ } = t;
|
|
7170
7170
|
return n.$$set = (N) => {
|
|
7171
|
-
"duration" in N && e(0, i = N.duration), "visible" in N && e(1, s = N.visible), "northDesc" in N && e(2, o = N.northDesc), "panoIndex" in N && e(3, r = N.panoIndex), "floorIndex" in N && e(4, a = N.floorIndex), "cameraEnable" in N && e(5, l = N.cameraEnable), "hoverEnable" in N && e(6, c = N.hoverEnable), "highlightEnable" in N && e(7, h = N.highlightEnable), "compassEnable" in N && e(8, u = N.compassEnable), "roomLabelsEnable" in N && e(9, f = N.roomLabelsEnable), "roomAreaEnable" in N && e(10, g = N.roomAreaEnable), "roomNameEnable" in N && e(11, A = N.roomNameEnable), "roomDimensionEnable" in N && e(12, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(13, m = N.ruleLabelsEnable), "floorplanData" in N && e(14, v = N.floorplanData), "lastPanoramaLongitude" in N && e(15, y = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(16, P = N.cameraImageUrl), "getRoomAreaText" in N && e(17,
|
|
7171
|
+
"duration" in N && e(0, i = N.duration), "visible" in N && e(1, s = N.visible), "northDesc" in N && e(2, o = N.northDesc), "panoIndex" in N && e(3, r = N.panoIndex), "floorIndex" in N && e(4, a = N.floorIndex), "cameraEnable" in N && e(5, l = N.cameraEnable), "hoverEnable" in N && e(6, c = N.hoverEnable), "highlightEnable" in N && e(7, h = N.highlightEnable), "compassEnable" in N && e(8, u = N.compassEnable), "roomLabelsEnable" in N && e(9, f = N.roomLabelsEnable), "roomAreaEnable" in N && e(10, g = N.roomAreaEnable), "roomNameEnable" in N && e(11, A = N.roomNameEnable), "roomDimensionEnable" in N && e(12, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(13, m = N.ruleLabelsEnable), "floorplanData" in N && e(14, v = N.floorplanData), "lastPanoramaLongitude" in N && e(15, y = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(16, P = N.cameraImageUrl), "getRoomAreaText" in N && e(17, I = N.getRoomAreaText), "getRoomDimensionText" in N && e(18, k = N.getRoomDimensionText), "getLabelElement" in N && e(19, E = N.getLabelElement), "getRuleDistanceText" in N && e(20, j = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(21, V = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(22, W = N.highlightData), "missingFloorConfig" in N && e(23, _ = N.missingFloorConfig);
|
|
7172
7172
|
}, [
|
|
7173
7173
|
i,
|
|
7174
7174
|
s,
|
|
@@ -7187,9 +7187,9 @@ function o0(n, t, e) {
|
|
|
7187
7187
|
v,
|
|
7188
7188
|
y,
|
|
7189
7189
|
P,
|
|
7190
|
-
E,
|
|
7191
|
-
k,
|
|
7192
7190
|
I,
|
|
7191
|
+
k,
|
|
7192
|
+
E,
|
|
7193
7193
|
j,
|
|
7194
7194
|
V,
|
|
7195
7195
|
W,
|
|
@@ -7344,7 +7344,7 @@ let sn = class {
|
|
|
7344
7344
|
/**
|
|
7345
7345
|
* @realsee/dnalogel 版本号
|
|
7346
7346
|
*/
|
|
7347
|
-
d(this, "VERSION", "3.28.
|
|
7347
|
+
d(this, "VERSION", "3.28.9");
|
|
7348
7348
|
d(this, "five");
|
|
7349
7349
|
/**
|
|
7350
7350
|
* @description: 插件事件钩子
|
|
@@ -8473,29 +8473,29 @@ function k0(n) {
|
|
|
8473
8473
|
function x0(n, t, e) {
|
|
8474
8474
|
var y, P;
|
|
8475
8475
|
let i, s, o, r, { five: a } = t, { pxmm: l } = t, { floorplanData: c } = t, { cameraImageUrl: h } = t, u = a.getCurrentState().panoIndex, f = a.getCurrentState().longitude, g = (P = (y = a.work.observers[a.getCurrentState().panoIndex]) == null ? void 0 : y.floorIndex) != null ? P : 0;
|
|
8476
|
-
function A(
|
|
8477
|
-
const
|
|
8476
|
+
function A(I, k) {
|
|
8477
|
+
const E = I.bounding, j = I.observers[k];
|
|
8478
8478
|
if (!j)
|
|
8479
8479
|
return "";
|
|
8480
|
-
const V = (
|
|
8480
|
+
const V = (E.max.x - E.min.x) * l, W = (E.max.y - E.min.y) * l, _ = Math.floor(j.positionInImage.x * V), N = Math.floor(j.positionInImage.y * W);
|
|
8481
8481
|
return `translate(${_}px, ${N}px)`;
|
|
8482
8482
|
}
|
|
8483
|
-
function p(
|
|
8484
|
-
e(7, u =
|
|
8483
|
+
function p(I) {
|
|
8484
|
+
e(7, u = I);
|
|
8485
8485
|
}
|
|
8486
|
-
function m(
|
|
8487
|
-
e(9, g = a.work.observers[
|
|
8486
|
+
function m(I) {
|
|
8487
|
+
e(9, g = a.work.observers[I].floorIndex);
|
|
8488
8488
|
}
|
|
8489
8489
|
const v = jl(
|
|
8490
|
-
(
|
|
8491
|
-
e(8, f =
|
|
8490
|
+
(I) => {
|
|
8491
|
+
e(8, f = I.longitude);
|
|
8492
8492
|
},
|
|
8493
8493
|
1e3 / 60
|
|
8494
8494
|
);
|
|
8495
8495
|
return Et(() => (a.on("panoWillArrive", p), a.on("panoArrived", m), a.on("cameraDirectionUpdate", v), function() {
|
|
8496
8496
|
a.off("panoWillArrive", p), a.off("panoArrived", m), a.off("cameraDirectionUpdate", v);
|
|
8497
|
-
})), n.$$set = (
|
|
8498
|
-
"five" in
|
|
8497
|
+
})), n.$$set = (I) => {
|
|
8498
|
+
"five" in I && e(4, a = I.five), "pxmm" in I && e(5, l = I.pxmm), "floorplanData" in I && e(6, c = I.floorplanData), "cameraImageUrl" in I && e(0, h = I.cameraImageUrl);
|
|
8499
8499
|
}, n.$$.update = () => {
|
|
8500
8500
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
8501
8501
|
576 && e(10, i = c.floorDatas[g]), n.$$.dirty & /*floorData*/
|
|
@@ -9114,26 +9114,26 @@ function Q0(n) {
|
|
|
9114
9114
|
};
|
|
9115
9115
|
}
|
|
9116
9116
|
function G0(n, t, e) {
|
|
9117
|
-
var
|
|
9118
|
-
let { five: i } = t, { visible: s } = t, { hoverEnable: o } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, { highlightData: c } = t, { missingFloorImageUrl: h } = t, u = 0, f = (k = (
|
|
9119
|
-
function v(
|
|
9120
|
-
e(12, f = i.work.observers[
|
|
9117
|
+
var I, k;
|
|
9118
|
+
let { five: i } = t, { visible: s } = t, { hoverEnable: o } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, { highlightData: c } = t, { missingFloorImageUrl: h } = t, u = 0, f = (k = (I = i.work.observers[i.getCurrentState().panoIndex]) == null ? void 0 : I.floorIndex) != null ? k : 0, g = 0, A = 0, p = 0, m = 0;
|
|
9119
|
+
function v(E) {
|
|
9120
|
+
e(12, f = i.work.observers[E].floorIndex);
|
|
9121
9121
|
}
|
|
9122
9122
|
Et(() => (i.on("panoArrived", v), () => {
|
|
9123
9123
|
i.off("panoArrived", v);
|
|
9124
9124
|
}));
|
|
9125
|
-
const y = (
|
|
9126
|
-
e(8, g =
|
|
9127
|
-
}, P = (
|
|
9128
|
-
e(9, A =
|
|
9125
|
+
const y = (E) => {
|
|
9126
|
+
e(8, g = E.detail);
|
|
9127
|
+
}, P = (E) => {
|
|
9128
|
+
e(9, A = E.detail);
|
|
9129
9129
|
};
|
|
9130
|
-
return n.$$set = (
|
|
9131
|
-
"five" in
|
|
9130
|
+
return n.$$set = (E) => {
|
|
9131
|
+
"five" in E && e(0, i = E.five), "visible" in E && e(1, s = E.visible), "hoverEnable" in E && e(2, o = E.hoverEnable), "floorplanData" in E && e(3, r = E.floorplanData), "cameraImageUrl" in E && e(4, a = E.cameraImageUrl), "extraObjects" in E && e(5, l = E.extraObjects), "highlightData" in E && e(6, c = E.highlightData), "missingFloorImageUrl" in E && e(7, h = E.missingFloorImageUrl);
|
|
9132
9132
|
}, n.$$.update = () => {
|
|
9133
9133
|
if (n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
|
|
9134
9134
|
1800) {
|
|
9135
|
-
const
|
|
9136
|
-
return W > _ ? [
|
|
9135
|
+
const E = Math.min(g, A), { max: j, min: V } = r.bounding, W = j.x - V.x, _ = j.y - V.y, N = function() {
|
|
9136
|
+
return W > _ ? [E, E / W * _] : [E / _ * W, E];
|
|
9137
9137
|
}();
|
|
9138
9138
|
e(10, p = N[0]), e(13, m = N[1]), e(11, u = p / W);
|
|
9139
9139
|
}
|
|
@@ -9444,9 +9444,9 @@ const ex = (n, t) => {
|
|
|
9444
9444
|
let o = { x: 0, y: 0, z: 0 }, r = [0, 0, 0], a = 1, l = i;
|
|
9445
9445
|
n.on("modelLoaded", A);
|
|
9446
9446
|
const c = (m) => Q(void 0, null, function* () {
|
|
9447
|
-
var
|
|
9447
|
+
var I;
|
|
9448
9448
|
const v = (m == null ? void 0 : m.fbx_url) || e;
|
|
9449
|
-
if (l = (
|
|
9449
|
+
if (l = (I = m == null ? void 0 : m.north_rad) != null ? I : i, typeof l != "number")
|
|
9450
9450
|
throw new Error('"northRad"配置参数缺失:未配置指南针指向!');
|
|
9451
9451
|
const P = yield new Ku().loadAsync(v);
|
|
9452
9452
|
return _f(P, {
|
|
@@ -9479,11 +9479,11 @@ const ex = (n, t) => {
|
|
|
9479
9479
|
const m = s.object;
|
|
9480
9480
|
if (!m)
|
|
9481
9481
|
return;
|
|
9482
|
-
const v = n.model.bounding, y = v.max.x - v.min.x, P = v.max.z - v.min.z,
|
|
9483
|
-
max: { x: k, z:
|
|
9482
|
+
const v = n.model.bounding, y = v.max.x - v.min.x, P = v.max.z - v.min.z, I = Math.max(y, P), {
|
|
9483
|
+
max: { x: k, z: E },
|
|
9484
9484
|
min: { x: j, y: V, z: W }
|
|
9485
9485
|
} = v;
|
|
9486
|
-
s.yBase = V, o = { x: (k + j) / 2, y: V - 1.6, z: (
|
|
9486
|
+
s.yBase = V, o = { x: (k + j) / 2, y: V - 1.6, z: (E + W) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * I, W0(m, { position: o, rotation: r, scale: a });
|
|
9487
9487
|
}
|
|
9488
9488
|
return { load: c, disable: g, enable: f };
|
|
9489
9489
|
};
|
|
@@ -9501,11 +9501,11 @@ const Y0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9501
9501
|
const P = (_ = y == null ? void 0 : y.position) != null ? _ : s;
|
|
9502
9502
|
if (!P)
|
|
9503
9503
|
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
9504
|
-
const
|
|
9504
|
+
const I = Y0(P), k = (N = y == null ? void 0 : y.rad) != null ? N : o, E = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
|
|
9505
9505
|
if (e.rad = k, k === void 0)
|
|
9506
9506
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${k}`));
|
|
9507
|
-
const j = yield new Ku().loadAsync(
|
|
9508
|
-
j.position.copy(
|
|
9507
|
+
const j = yield new Ku().loadAsync(E);
|
|
9508
|
+
j.position.copy(I), j.rotation.z = k, j.scale.set(0.8, 0.8, 0.8), _f(j, { transparent: !0, side: w.DoubleSide });
|
|
9509
9509
|
const V = (X = (U = (F = (H = j.children) == null ? void 0 : H[0]) == null ? void 0 : F.children) == null ? void 0 : U[3]) == null ? void 0 : X.clone();
|
|
9510
9510
|
if (!V)
|
|
9511
9511
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${V}`));
|
|
@@ -9518,10 +9518,10 @@ const Y0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9518
9518
|
return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
|
|
9519
9519
|
const y = 1, P = new Em(e.object);
|
|
9520
9520
|
a.push(P);
|
|
9521
|
-
const
|
|
9522
|
-
|
|
9521
|
+
const I = P.clipAction(e.object.animations[0]);
|
|
9522
|
+
I.timeScale = y;
|
|
9523
9523
|
let k;
|
|
9524
|
-
const
|
|
9524
|
+
const E = () => {
|
|
9525
9525
|
let _ = 0, N = 0;
|
|
9526
9526
|
const G = 1e3 / 30, H = (F) => {
|
|
9527
9527
|
_ = requestAnimationFrame(H);
|
|
@@ -9532,18 +9532,18 @@ const Y0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
|
|
|
9532
9532
|
cancelAnimationFrame(_);
|
|
9533
9533
|
};
|
|
9534
9534
|
}, W = { play: () => {
|
|
9535
|
-
k || (
|
|
9535
|
+
k || (I.play(), k = E(), requestAnimationFrame(() => {
|
|
9536
9536
|
e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
|
|
9537
9537
|
}));
|
|
9538
9538
|
}, stop: () => {
|
|
9539
|
-
|
|
9539
|
+
I.stop(), k == null || k(), k = void 0;
|
|
9540
9540
|
} };
|
|
9541
9541
|
e.animation = W;
|
|
9542
9542
|
}, h = (y) => {
|
|
9543
|
-
var
|
|
9543
|
+
var I;
|
|
9544
9544
|
if (!e.object)
|
|
9545
9545
|
return console.error("ModelEntryDoorGuidePlugin.enable(): object is ", e.object);
|
|
9546
|
-
((
|
|
9546
|
+
((I = y == null ? void 0 : y.animationEnable) != null ? I : i) && (e.animation || c(), e.animation.play()), n.scene.add(e.object), n.needsRender = !0;
|
|
9547
9547
|
}, u = () => {
|
|
9548
9548
|
e.object && (e.animation && e.animation.stop(), n.scene.remove(e.object), n.needsRender = !0);
|
|
9549
9549
|
}, f = (y) => y === "Floorplan" ? h() : u();
|
|
@@ -9627,8 +9627,8 @@ const Za = (n, t, e) => {
|
|
|
9627
9627
|
const { from: u, to: f } = i(o);
|
|
9628
9628
|
return yield new Promise((g) => {
|
|
9629
9629
|
const A = ({ progress: P }) => {
|
|
9630
|
-
const
|
|
9631
|
-
|
|
9630
|
+
const I = {};
|
|
9631
|
+
I.longitude = pa(u.longitude, f.longitude, P), I.latitude = pa(u.latitude, f.latitude, P), I.fov = pa(u.fov, f.fov, P), n.setState(I, !0);
|
|
9632
9632
|
}, p = () => {
|
|
9633
9633
|
g(!0);
|
|
9634
9634
|
}, m = () => {
|
|
@@ -9831,7 +9831,7 @@ const eb = `<style type="text/css">
|
|
|
9831
9831
|
if (!y)
|
|
9832
9832
|
return !1;
|
|
9833
9833
|
for (const P in m) {
|
|
9834
|
-
const
|
|
9834
|
+
const I = m[P], { standingPosition: k } = y.observers[0], E = I.map(({ x: j, z: V, observers: W }) => {
|
|
9835
9835
|
const _ = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", N = v[_] ? v[_].floor : null;
|
|
9836
9836
|
let G = 1 / 0, H = {
|
|
9837
9837
|
index: 0,
|
|
@@ -9856,19 +9856,19 @@ const eb = `<style type="text/css">
|
|
|
9856
9856
|
return X && Object.assign(X, { observers: W }), { origin: F, vertical: X };
|
|
9857
9857
|
});
|
|
9858
9858
|
r[P] = {
|
|
9859
|
-
origins:
|
|
9859
|
+
origins: E.map((j) => j.origin),
|
|
9860
9860
|
rules: []
|
|
9861
9861
|
};
|
|
9862
|
-
for (const { origin: j, vertical: V } of
|
|
9862
|
+
for (const { origin: j, vertical: V } of E) {
|
|
9863
9863
|
if (!V)
|
|
9864
9864
|
continue;
|
|
9865
9865
|
const W = i(P, j.distanceTo(V));
|
|
9866
9866
|
s.append(W), r[P].rules.push({ vertical: !0, rule: [j, V], $element: W });
|
|
9867
9867
|
}
|
|
9868
|
-
for (let j = 0; j <
|
|
9868
|
+
for (let j = 0; j < E.length; j++) {
|
|
9869
9869
|
let V = j + 1;
|
|
9870
|
-
V >=
|
|
9871
|
-
const { origin: W } =
|
|
9870
|
+
V >= E.length && (V = 0);
|
|
9871
|
+
const { origin: W } = E[j], { origin: _ } = E[V], N = i(P, W.distanceTo(_));
|
|
9872
9872
|
s.append(N), r[P].rules.push({ vertical: !1, rule: [W, _], $element: N });
|
|
9873
9873
|
}
|
|
9874
9874
|
}
|
|
@@ -9878,7 +9878,7 @@ const eb = `<style type="text/css">
|
|
|
9878
9878
|
if (!y || !P)
|
|
9879
9879
|
throw new Error("标尺数据依赖不齐全!");
|
|
9880
9880
|
return e.loaded = !1, e.options = D(D({}, e.options), v || {}), n.model.loaded ? a(y, P) : yield new Promise(
|
|
9881
|
-
(
|
|
9881
|
+
(I) => n.once("modelLoaded", () => I(a(y, P)))
|
|
9882
9882
|
);
|
|
9883
9883
|
});
|
|
9884
9884
|
t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
|
|
@@ -9900,12 +9900,12 @@ const eb = `<style type="text/css">
|
|
|
9900
9900
|
{ x: 0, y },
|
|
9901
9901
|
{ x: v, y }
|
|
9902
9902
|
]
|
|
9903
|
-
],
|
|
9903
|
+
], I = [];
|
|
9904
9904
|
for (let k = 0; k < P.length; k++) {
|
|
9905
|
-
const
|
|
9906
|
-
|
|
9905
|
+
const E = Uf([p, m], [P[k][0], P[k][1]], !0);
|
|
9906
|
+
E && I.push(E);
|
|
9907
9907
|
}
|
|
9908
|
-
return
|
|
9908
|
+
return I.length === 0 ? !1 : I;
|
|
9909
9909
|
}, h = () => {
|
|
9910
9910
|
var W;
|
|
9911
9911
|
const p = (W = n.getElement()) == null ? void 0 : W.parentElement;
|
|
@@ -9923,7 +9923,7 @@ const eb = `<style type="text/css">
|
|
|
9923
9923
|
N.style.display = "none";
|
|
9924
9924
|
return;
|
|
9925
9925
|
}
|
|
9926
|
-
const
|
|
9926
|
+
const I = v.position, k = v.getWorldDirection(new oe()), E = p.clientWidth, j = p.clientHeight;
|
|
9927
9927
|
if (y !== dt.Mode.Panorama) {
|
|
9928
9928
|
for (const _ in r)
|
|
9929
9929
|
for (const { $element: N } of r[_].rules)
|
|
@@ -9934,7 +9934,7 @@ const eb = `<style type="text/css">
|
|
|
9934
9934
|
for (const { $element: N } of r[_].rules)
|
|
9935
9935
|
N.style.display = _ === P ? "block" : "none";
|
|
9936
9936
|
const [V] = r[P].origins.slice().filter((_) => _.observers.indexOf(m) >= 0).sort((_, N) => {
|
|
9937
|
-
const G = _.clone().setY(0).sub(
|
|
9937
|
+
const G = _.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0)), H = N.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0));
|
|
9938
9938
|
return G - H;
|
|
9939
9939
|
});
|
|
9940
9940
|
for (const { rule: _, vertical: N, $element: G } of r[P].rules) {
|
|
@@ -9957,25 +9957,25 @@ const eb = `<style type="text/css">
|
|
|
9957
9957
|
G.style.display = "none";
|
|
9958
9958
|
continue;
|
|
9959
9959
|
}
|
|
9960
|
-
if (H.clone().sub(
|
|
9960
|
+
if (H.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
|
|
9961
9961
|
G.style.display = "none";
|
|
9962
9962
|
continue;
|
|
9963
9963
|
}
|
|
9964
|
-
if (F.clone().sub(
|
|
9964
|
+
if (F.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
|
|
9965
9965
|
G.style.display = "none";
|
|
9966
9966
|
continue;
|
|
9967
9967
|
}
|
|
9968
9968
|
const $ = H.distanceTo(F);
|
|
9969
|
-
if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(
|
|
9969
|
+
if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(I) / $ > 8) {
|
|
9970
9970
|
G.style.display = "none";
|
|
9971
9971
|
continue;
|
|
9972
9972
|
}
|
|
9973
|
-
const Pe = H.clone().project(v), Ce = (Pe.x + 1) / 2 *
|
|
9973
|
+
const Pe = H.clone().project(v), Ce = (Pe.x + 1) / 2 * E, be = (-Pe.y + 1) / 2 * j, Qe = F.clone().project(v), ye = (Qe.x + 1) / 2 * E, Ze = (-Qe.y + 1) / 2 * j, ee = Math.sqrt(Math.pow(ye - Ce, 2) + Math.pow(Ze - be, 2));
|
|
9974
9974
|
let ve = ee, je = 50;
|
|
9975
9975
|
const me = c({ x: ~~Ce, y: ~~be }, {
|
|
9976
9976
|
x: ~~ye,
|
|
9977
9977
|
y: ~~Ze
|
|
9978
|
-
},
|
|
9978
|
+
}, E, j);
|
|
9979
9979
|
if (me && me.length === 1 && (V === H ? (ve = Math.sqrt(Math.pow(me[0].x - Ce, 2) + Math.pow(me[0].y - be, 2)), je = ve / ee * 50) : V === F && (ve = Math.sqrt(Math.pow(me[0].x - ye, 2) + Math.pow(me[0].y - Ze, 2)), je = 100 - ve / ee * 50)), me && me.length === 2) {
|
|
9980
9980
|
const re = {
|
|
9981
9981
|
x: (me[0].x + me[1].x) / 2,
|
|
@@ -9997,8 +9997,8 @@ const eb = `<style type="text/css">
|
|
|
9997
9997
|
const m = p.distanceText;
|
|
9998
9998
|
e.options.distanceText = m, Object.values(r).forEach((v) => {
|
|
9999
9999
|
v.rules.forEach((y) => {
|
|
10000
|
-
const [P,
|
|
10001
|
-
|
|
10000
|
+
const [P, I] = y.rule, k = P.distanceTo(I), E = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
|
|
10001
|
+
E && (E.innerText = m(k));
|
|
10002
10002
|
});
|
|
10003
10003
|
});
|
|
10004
10004
|
}
|
|
@@ -10307,34 +10307,34 @@ function cb(n) {
|
|
|
10307
10307
|
function hb(n, t, e) {
|
|
10308
10308
|
var p, m, v, y;
|
|
10309
10309
|
let { five: i } = t, { rulerDatas: s } = t, { options: o } = t, r = [];
|
|
10310
|
-
const a = ((m = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : m.clientWidth) || 0, l = ((y = (v = i.getElement()) == null ? void 0 : v.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (P,
|
|
10310
|
+
const a = ((m = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : m.clientWidth) || 0, l = ((y = (v = i.getElement()) == null ? void 0 : v.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (P, I) => {
|
|
10311
10311
|
const k = [
|
|
10312
10312
|
[{ x: 0, y: 0 }, { x: a, y: 0 }],
|
|
10313
10313
|
[{ x: 0, y: 0 }, { x: 0, y: l }],
|
|
10314
10314
|
[{ x: a, y: 0 }, { x: a, y: l }],
|
|
10315
10315
|
[{ x: 0, y: l }, { x: a, y: l }]
|
|
10316
|
-
],
|
|
10316
|
+
], E = [];
|
|
10317
10317
|
for (let j = 0; j < k.length; j++) {
|
|
10318
|
-
const V = Uf([P,
|
|
10319
|
-
V &&
|
|
10318
|
+
const V = Uf([P, I], [k[j][0], k[j][1]], !0);
|
|
10319
|
+
V && E.push(V);
|
|
10320
10320
|
}
|
|
10321
|
-
return
|
|
10322
|
-
}, h = (P,
|
|
10323
|
-
const k = P.clone().project(i.camera),
|
|
10321
|
+
return E.length === 0 ? !1 : E;
|
|
10322
|
+
}, h = (P, I) => {
|
|
10323
|
+
const k = P.clone().project(i.camera), E = (k.x + 1) / 2 * a, j = (-k.y + 1) / 2 * l, V = I.clone().project(i.camera), W = (V.x + 1) / 2 * a, _ = (-V.y + 1) / 2 * l, N = Math.sqrt(Math.pow(W - E, 2) + Math.pow(_ - j, 2));
|
|
10324
10324
|
return {
|
|
10325
|
-
startLeft:
|
|
10325
|
+
startLeft: E,
|
|
10326
10326
|
startTop: j,
|
|
10327
10327
|
endLeft: W,
|
|
10328
10328
|
endTop: _,
|
|
10329
10329
|
distance: N
|
|
10330
10330
|
};
|
|
10331
|
-
}, u = (P,
|
|
10332
|
-
const
|
|
10331
|
+
}, u = (P, I, k) => {
|
|
10332
|
+
const E = i.camera.position, j = i.camera.getWorldDirection(new oe()), V = P.clone().sub(E).normalize().angleTo(j), W = I.clone().sub(E).normalize().angleTo(j), _ = P.distanceTo(I), G = I.clone().sub(I.clone().sub(P).divide(new oe(2, 2, 2))).distanceTo(E), { startLeft: H, startTop: F, endLeft: U, endTop: X, distance: J } = h(P, I), de = -((Math.PI / 2 - Math.atan2(U - H, F - X)) / Math.PI) * 180;
|
|
10333
10333
|
let he = !0;
|
|
10334
|
-
k || (he = !1), !bt(P, k) && !bt(
|
|
10334
|
+
k || (he = !1), !bt(P, k) && !bt(I, k) && (he = !1), _ < 0.3 && (he = !1), V > Math.PI / 2 && (he = !1), W > Math.PI / 2 && (he = !1), G / _ > 8 && (he = !1);
|
|
10335
10335
|
let Pe = 50, Ce = J;
|
|
10336
10336
|
const be = c({ x: ~~H, y: ~~F }, { x: ~~U, y: ~~X });
|
|
10337
|
-
if (be && be.length === 1 && (bt(P, k) ? (Ce = Math.sqrt(Math.pow(be[0].x - H, 2) + Math.pow(be[0].y - F, 2)), Pe = Ce / J * 50) : bt(
|
|
10337
|
+
if (be && be.length === 1 && (bt(P, k) ? (Ce = Math.sqrt(Math.pow(be[0].x - H, 2) + Math.pow(be[0].y - F, 2)), Pe = Ce / J * 50) : bt(I, k) && (Ce = Math.sqrt(Math.pow(be[0].x - U, 2) + Math.pow(be[0].y - X, 2)), Pe = 100 - Ce / J * 50)), be && be.length === 2) {
|
|
10338
10338
|
const Qe = {
|
|
10339
10339
|
x: (be[0].x + be[1].x) / 2,
|
|
10340
10340
|
y: (be[0].y + be[1].y) / 2
|
|
@@ -10351,15 +10351,15 @@ function hb(n, t, e) {
|
|
|
10351
10351
|
ruleLength: _
|
|
10352
10352
|
};
|
|
10353
10353
|
}, f = () => {
|
|
10354
|
-
const P = i.panoIndex,
|
|
10355
|
-
if (!
|
|
10354
|
+
const P = i.panoIndex, I = s.find((N) => N.panoIndex === P);
|
|
10355
|
+
if (!I)
|
|
10356
10356
|
return e(0, r = []);
|
|
10357
10357
|
if (i.currentMode !== dt.Mode.Panorama)
|
|
10358
10358
|
return e(0, r = []);
|
|
10359
|
-
const k = i.camera.position,
|
|
10360
|
-
const H = N.clone().setY(0).sub(k).normalize().angleTo(
|
|
10359
|
+
const k = i.camera.position, E = i.camera.getWorldDirection(new oe()), j = I.lines.map((N) => new oe(N.start[0], -N.start[1], -N.start[2])), V = I.lines.map((N) => new oe(N.end[0], -N.end[1], -N.end[2])), [W] = j.concat(V).sort((N, G) => {
|
|
10360
|
+
const H = N.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0)), F = G.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0));
|
|
10361
10361
|
return H - F;
|
|
10362
|
-
}), _ =
|
|
10362
|
+
}), _ = I.lines.map((N) => {
|
|
10363
10363
|
var Ce, be;
|
|
10364
10364
|
const G = N.start, H = N.end, { startLeft: F, startTop: U, distance: X, deg: J, visible: $, labelOffset: de, ruleLength: he } = u(new oe(G[0], -G[1], -G[2]), new oe(H[0], -H[1], -H[2]), W), Pe = [];
|
|
10365
10365
|
return N.children && ((Ce = N.children) == null ? void 0 : Ce.length) > 0 && ((be = N.children) == null || be.forEach((Qe) => {
|
|
@@ -10882,10 +10882,10 @@ class Tb extends Jf {
|
|
|
10882
10882
|
this.hide();
|
|
10883
10883
|
return;
|
|
10884
10884
|
}
|
|
10885
|
-
const v = (f.x + 1) / 2 * s, y = -(f.y - 1) / 2 * o,
|
|
10886
|
-
this.containerDom.style.transform = `translate(${v}px, ${y}px) rotate(${
|
|
10887
|
-
const
|
|
10888
|
-
this.contentDom.innerText =
|
|
10885
|
+
const v = (f.x + 1) / 2 * s, y = -(f.y - 1) / 2 * o, I = -(Math.atan((g.y - A.y) / (g.x - A.x)) * 180) / Math.PI, k = this.containerDom.parentElement && this.contentDom.clientWidth > p ? -20 : 0;
|
|
10886
|
+
this.containerDom.style.transform = `translate(${v}px, ${y}px) rotate(${I}deg) translateY(${k}px)`, this.show(), (j = this.params.userDistanceItem) == null || j.update({ line: this.line, polyline: this.line.getPolyline() });
|
|
10887
|
+
const E = this.getCurrentContent();
|
|
10888
|
+
this.contentDom.innerText = E;
|
|
10889
10889
|
}
|
|
10890
10890
|
/** 获取内容文本 */
|
|
10891
10891
|
getCurrentContent() {
|
|
@@ -11492,6 +11492,11 @@ class ng extends ii {
|
|
|
11492
11492
|
this.pointSelectorHelper.hide(), this.outOfFive = !0, this.emit("intersectionUpdate", null);
|
|
11493
11493
|
});
|
|
11494
11494
|
d(this, "onTap", (e) => {
|
|
11495
|
+
if (e != null && e.center && (this.mousePosition = {
|
|
11496
|
+
clientX: e.center.x,
|
|
11497
|
+
clientY: e.center.y
|
|
11498
|
+
}), !this.mouseNdcPosition)
|
|
11499
|
+
return;
|
|
11495
11500
|
const i = xo(this.five, this.mouseNdcPosition);
|
|
11496
11501
|
i != null && i.face && this.select(i);
|
|
11497
11502
|
});
|
|
@@ -11500,7 +11505,10 @@ class ng extends ii {
|
|
|
11500
11505
|
* 2. 如果有长按点,把长按点位置更新为当前位置
|
|
11501
11506
|
*/
|
|
11502
11507
|
d(this, "onPan", (e) => {
|
|
11503
|
-
if (!this.pressDown
|
|
11508
|
+
if (!this.pressDown || (e != null && e.center && (this.mousePosition = {
|
|
11509
|
+
clientX: e.center.x,
|
|
11510
|
+
clientY: e.center.y
|
|
11511
|
+
}), !this.mouseNdcPosition))
|
|
11504
11512
|
return;
|
|
11505
11513
|
const i = xo(this.five, this.mouseNdcPosition);
|
|
11506
11514
|
i != null && i.face && this.updatePointSelectorHelperIntersect(i);
|
|
@@ -11509,6 +11517,11 @@ class ng extends ii {
|
|
|
11509
11517
|
* @description: 长按屏幕后,更新长按点的位置
|
|
11510
11518
|
*/
|
|
11511
11519
|
d(this, "onPress", (e) => {
|
|
11520
|
+
if (e != null && e.center && (this.mousePosition = {
|
|
11521
|
+
clientX: e.center.x,
|
|
11522
|
+
clientY: e.center.y
|
|
11523
|
+
}), !this.mouseNdcPosition)
|
|
11524
|
+
return;
|
|
11512
11525
|
const i = xo(this.five, this.mouseNdcPosition);
|
|
11513
11526
|
i != null && i.face && (this.pressDown = !0, this.updatePointSelectorHelperIntersect(i));
|
|
11514
11527
|
});
|
|
@@ -11852,19 +11865,19 @@ class Pi extends Ar {
|
|
|
11852
11865
|
if (s != null && s.isPolygonMesh) {
|
|
11853
11866
|
const v = this.model.areas.find((y) => y.polygon === s);
|
|
11854
11867
|
if (v) {
|
|
11855
|
-
const { x: y, y: P } = i[0].point.clone().project(this.five.camera),
|
|
11856
|
-
return this.chooseArea(v, { left:
|
|
11868
|
+
const { x: y, y: P } = i[0].point.clone().project(this.five.camera), I = `${(y + 1) / 2 * 100}%`, k = `${(-P + 1) / 2 * 100}%`;
|
|
11869
|
+
return this.chooseArea(v, { left: I, top: k }), !1;
|
|
11857
11870
|
}
|
|
11858
11871
|
}
|
|
11859
11872
|
const [o] = this.five.model.intersectRaycaster(e);
|
|
11860
11873
|
if (!o)
|
|
11861
11874
|
return;
|
|
11862
11875
|
const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((v) => {
|
|
11863
|
-
const [y, P] = v.points,
|
|
11864
|
-
if (!Ki(
|
|
11876
|
+
const [y, P] = v.points, I = y.position.clone().project(r), k = P.position.clone().project(r);
|
|
11877
|
+
if (!Ki(I) && !Ki(k))
|
|
11865
11878
|
return null;
|
|
11866
|
-
const
|
|
11867
|
-
return { id: v.id, points: [
|
|
11879
|
+
const E = new yt(I.x * l, I.y * c), j = new yt(k.x * l, k.y * c);
|
|
11880
|
+
return { id: v.id, points: [E, j] };
|
|
11868
11881
|
}).filter((v) => !!v);
|
|
11869
11882
|
if (u.length === 0)
|
|
11870
11883
|
return;
|
|
@@ -12091,19 +12104,19 @@ class mh extends Ar {
|
|
|
12091
12104
|
if (s instanceof $f) {
|
|
12092
12105
|
const m = this.model.areas.find((v) => v.polygon === s);
|
|
12093
12106
|
if (m) {
|
|
12094
|
-
const { x: v, y } = i[0].point.clone().project(this.five.camera), P = `${(v + 1) / 2 * 100}%`,
|
|
12095
|
-
return this.chooseArea(m, { left: P, top:
|
|
12107
|
+
const { x: v, y } = i[0].point.clone().project(this.five.camera), P = `${(v + 1) / 2 * 100}%`, I = `${(-y + 1) / 2 * 100}%`;
|
|
12108
|
+
return this.chooseArea(m, { left: P, top: I }), !1;
|
|
12096
12109
|
}
|
|
12097
12110
|
}
|
|
12098
12111
|
const [o] = this.five.model.intersectRaycaster(e);
|
|
12099
12112
|
if (!o)
|
|
12100
12113
|
return;
|
|
12101
12114
|
const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((m) => {
|
|
12102
|
-
const [v, y] = m.points, P = v.position.clone().project(r),
|
|
12103
|
-
if (!Ki(P) && !Ki(
|
|
12115
|
+
const [v, y] = m.points, P = v.position.clone().project(r), I = y.position.clone().project(r);
|
|
12116
|
+
if (!Ki(P) && !Ki(I))
|
|
12104
12117
|
return null;
|
|
12105
|
-
const k = new yt(P.x * l, P.y * c),
|
|
12106
|
-
return { id: m.id, points: [k,
|
|
12118
|
+
const k = new yt(P.x * l, P.y * c), E = new yt(I.x * l, I.y * c);
|
|
12119
|
+
return { id: m.id, points: [k, E] };
|
|
12107
12120
|
}).filter((m) => !!m);
|
|
12108
12121
|
if (u.length === 0)
|
|
12109
12122
|
return;
|
|
@@ -13994,20 +14007,20 @@ function T1(n) {
|
|
|
13994
14007
|
16 && x(m, 1)) : (m = Sh(y), m.c(), x(m, 1), m.m(l, c)) : m && (ue(), O(m, 1, 1, () => {
|
|
13995
14008
|
m = null;
|
|
13996
14009
|
}), fe());
|
|
13997
|
-
const
|
|
14010
|
+
const I = {};
|
|
13998
14011
|
P & /*buttonState*/
|
|
13999
|
-
8 && (
|
|
14012
|
+
8 && (I.onClick = /*func*/
|
|
14000
14013
|
y[14]), P & /*buttonState*/
|
|
14001
|
-
8 && (
|
|
14014
|
+
8 && (I.text = /*buttonTextMap*/
|
|
14002
14015
|
y[6][
|
|
14003
14016
|
/*buttonState*/
|
|
14004
14017
|
y[3]
|
|
14005
14018
|
]), P & /*buttonState*/
|
|
14006
|
-
8 && (
|
|
14019
|
+
8 && (I.color = /*buttonColorMap*/
|
|
14007
14020
|
y[7][
|
|
14008
14021
|
/*buttonState*/
|
|
14009
14022
|
y[3]
|
|
14010
|
-
]), u.$set(
|
|
14023
|
+
]), u.$set(I), (!g || P & /*allowAddPoint*/
|
|
14011
14024
|
32) && q(h, "forbid", !/*allowAddPoint*/
|
|
14012
14025
|
y[5]), /*showButton*/
|
|
14013
14026
|
y[4] ? v ? (v.p(y, P), P & /*showButton*/
|
|
@@ -14057,19 +14070,19 @@ function L1(n, t, e) {
|
|
|
14057
14070
|
i.currentMeasureType === "area" && h === "complete" && p("add");
|
|
14058
14071
|
}, P = (_) => {
|
|
14059
14072
|
_.length;
|
|
14060
|
-
},
|
|
14073
|
+
}, I = () => {
|
|
14061
14074
|
p("start"), k("allow");
|
|
14062
14075
|
}, k = (_) => {
|
|
14063
14076
|
e(5, c = _ === "allow");
|
|
14064
|
-
},
|
|
14077
|
+
}, E = (_) => {
|
|
14065
14078
|
e(12, u = _);
|
|
14066
14079
|
}, j = (_) => {
|
|
14067
14080
|
_.isEmpty && p("start");
|
|
14068
14081
|
};
|
|
14069
14082
|
Et(() => {
|
|
14070
|
-
i.hook.on("revoke", j), i.hook.on("measureTypeChange",
|
|
14083
|
+
i.hook.on("revoke", j), i.hook.on("measureTypeChange", E), i.hook.on("modeChange", I), i.hook.on("pointsChange", P), i.hook.on("allowAddPointStateChange", k), i.hook.on("readyComplete", v), i.hook.on("notReadyComplete", y), i.hook.on("complete", I);
|
|
14071
14084
|
}), Bt(() => {
|
|
14072
|
-
i.hook.off("measureTypeChange",
|
|
14085
|
+
i.hook.off("measureTypeChange", E), i.hook.off("modeChange", I), i.hook.off("allowAddPointStateChange", k), i.hook.off("readyComplete", v), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", I);
|
|
14073
14086
|
});
|
|
14074
14087
|
const V = () => i.revoke(), W = () => {
|
|
14075
14088
|
h === "start" ? f() : h === "add" ? g() : (h === "end" || h === "complete") && m();
|
|
@@ -14296,8 +14309,8 @@ function V1(n, t, e) {
|
|
|
14296
14309
|
let { measureController: i } = t, { i18n: s = (y) => y } = t, { tips: o } = t, { tipStyle: r = {} } = t, { visible: a = !0 } = t, l = null;
|
|
14297
14310
|
const c = (y) => {
|
|
14298
14311
|
const P = i.currentMeasureType;
|
|
14299
|
-
let
|
|
14300
|
-
return
|
|
14312
|
+
let I = "";
|
|
14313
|
+
return I = o[y], I === void 0 && (I = o[P][y]), I;
|
|
14301
14314
|
}, h = (y) => {
|
|
14302
14315
|
e(2, f = s(c(y)));
|
|
14303
14316
|
}, u = () => {
|
|
@@ -14850,9 +14863,9 @@ function q1(n, t, e) {
|
|
|
14850
14863
|
},
|
|
14851
14864
|
100
|
|
14852
14865
|
);
|
|
14853
|
-
const P = (
|
|
14866
|
+
const P = (E) => {
|
|
14854
14867
|
const j = Object.keys(f);
|
|
14855
|
-
let V =
|
|
14868
|
+
let V = E.target;
|
|
14856
14869
|
for (; V; ) {
|
|
14857
14870
|
const W = V.getAttribute("class");
|
|
14858
14871
|
if (!W) {
|
|
@@ -14871,10 +14884,10 @@ function q1(n, t, e) {
|
|
|
14871
14884
|
Et(() => {
|
|
14872
14885
|
g.emit("initTag", { id: i });
|
|
14873
14886
|
});
|
|
14874
|
-
const
|
|
14875
|
-
if (
|
|
14887
|
+
const I = fg.subscribe((E) => {
|
|
14888
|
+
if (E === null)
|
|
14876
14889
|
return;
|
|
14877
|
-
const [j, V] =
|
|
14890
|
+
const [j, V] = E.split("-PanoSpatialTagPlugin-");
|
|
14878
14891
|
i === j && (g.emit("clickOrigin", { id: i, show: v }), y || (e(10, v = h), e(12, h = !h), y = setTimeout(
|
|
14879
14892
|
() => {
|
|
14880
14893
|
y = void 0;
|
|
@@ -14885,15 +14898,15 @@ function q1(n, t, e) {
|
|
|
14885
14898
|
Mf(() => {
|
|
14886
14899
|
e(7, A = m.offsetWidth), e(8, p = m.offsetHeight), !y && e(10, v = !h);
|
|
14887
14900
|
}), Bt(() => {
|
|
14888
|
-
g.emit("destroyTag", { id: i }),
|
|
14901
|
+
g.emit("destroyTag", { id: i }), I(), u();
|
|
14889
14902
|
});
|
|
14890
|
-
function k(
|
|
14891
|
-
_e[
|
|
14892
|
-
m =
|
|
14903
|
+
function k(E) {
|
|
14904
|
+
_e[E ? "unshift" : "push"](() => {
|
|
14905
|
+
m = E, e(9, m);
|
|
14893
14906
|
});
|
|
14894
14907
|
}
|
|
14895
|
-
return n.$$set = (
|
|
14896
|
-
"id" in
|
|
14908
|
+
return n.$$set = (E) => {
|
|
14909
|
+
"id" in E && e(0, i = E.id), "upsideDown" in E && e(1, s = E.upsideDown), "content" in E && e(2, o = E.content), "contentZoom" in E && e(3, r = E.contentZoom), "lineWidthZoom" in E && e(4, a = E.lineWidthZoom), "lineHeightZoom" in E && e(5, l = E.lineHeightZoom), "destroying" in E && e(6, c = E.destroying), "folded" in E && e(12, h = E.folded), "dispose" in E && e(13, u = E.dispose), "events" in E && e(14, f = E.events), "hooks" in E && e(15, g = E.hooks);
|
|
14897
14910
|
}, [
|
|
14898
14911
|
i,
|
|
14899
14912
|
s,
|
|
@@ -15102,9 +15115,9 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15102
15115
|
target: f,
|
|
15103
15116
|
props: { origins: p.origins }
|
|
15104
15117
|
}), v = (ee, ve) => {
|
|
15105
|
-
k(), ve &&
|
|
15118
|
+
k(), ve && E();
|
|
15106
15119
|
}, y = () => {
|
|
15107
|
-
p.forbidden && (p.forbidden = !1,
|
|
15120
|
+
p.forbidden && (p.forbidden = !1, E());
|
|
15108
15121
|
}, P = (ee, ve) => {
|
|
15109
15122
|
if (p.tags.length === 0)
|
|
15110
15123
|
return;
|
|
@@ -15133,7 +15146,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15133
15146
|
xe.destroying && (xe.app.$destroy(), xe = null);
|
|
15134
15147
|
}), p.tags = p.tags.filter((xe) => !xe.destroying), k();
|
|
15135
15148
|
}, 1900);
|
|
15136
|
-
},
|
|
15149
|
+
}, I = (ee) => {
|
|
15137
15150
|
ee !== dt.Mode.Panorama && !p.forbidden && (m.$set({ origins: [] }), p.tags.forEach((ve) => {
|
|
15138
15151
|
ve.app.$destroy(), ve = null;
|
|
15139
15152
|
}), p.origins = [], p.tags = [], p.forbidden = !0);
|
|
@@ -15151,7 +15164,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15151
15164
|
destroying: je.destroying
|
|
15152
15165
|
};
|
|
15153
15166
|
}), m.$set({ origins: p.origins });
|
|
15154
|
-
},
|
|
15167
|
+
}, E = () => {
|
|
15155
15168
|
p.forbidden || !p.enabled || (p.timeoutId && clearTimeout(p.timeoutId), p.timeoutId = setTimeout(() => {
|
|
15156
15169
|
p.timeoutId = void 0;
|
|
15157
15170
|
const ee = j();
|
|
@@ -15259,9 +15272,9 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15259
15272
|
};
|
|
15260
15273
|
}), ee.render && (p.render = ee.render), ee.template && (p.template = ee.template), ee.events && (p.events = ee.events), ee.enabled === !1 && (p.enabled = ee.enabled), ee.folded === !0 && (p.folded = ee.folded);
|
|
15261
15274
|
}, W = (ee) => {
|
|
15262
|
-
p.intersectObjects = ee,
|
|
15275
|
+
p.intersectObjects = ee, E();
|
|
15263
15276
|
}, _ = () => {
|
|
15264
|
-
p.enabled = !0,
|
|
15277
|
+
p.enabled = !0, E();
|
|
15265
15278
|
}, N = () => {
|
|
15266
15279
|
p.enabled = !1, m.$set({ origins: [] }), p.tags.forEach((ee) => {
|
|
15267
15280
|
ee.app.$destroy(), ee = null;
|
|
@@ -15285,11 +15298,11 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15285
15298
|
}, X = () => {
|
|
15286
15299
|
n.once("renderFrame", k);
|
|
15287
15300
|
}, J = () => {
|
|
15288
|
-
e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new w.Vector3()).y,
|
|
15301
|
+
e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new w.Vector3()).y, E(), n.on("panoWillArrive", P), n.on("panoArrived", y), n.on("modeChange", I), n.on("cameraUpdate", v);
|
|
15289
15302
|
}, $ = () => {
|
|
15290
15303
|
A = null, u.disposeAll(), m.$destroy(), p.tags.forEach((ee) => {
|
|
15291
15304
|
ee.app.$destroy(), ee = null;
|
|
15292
|
-
}), p.origins = [], p.tags = [], n.off("modelLoaded", J), n.off("renderFrame", k), n.off("panoWillArrive", P), n.off("panoArrived", y), n.off("modeChange",
|
|
15305
|
+
}), p.origins = [], p.tags = [], n.off("modelLoaded", J), n.off("renderFrame", k), n.off("panoWillArrive", P), n.off("panoArrived", y), n.off("modeChange", I), n.off("cameraUpdate", v), n.off("dispose", $), window.removeEventListener("resize", X, !1);
|
|
15293
15306
|
};
|
|
15294
15307
|
return window.addEventListener("resize", X, !1), (Ze = n == null ? void 0 : n.model) != null && Ze.loaded ? J() : n.once("modelLoaded", J), n.on("dispose", $), {
|
|
15295
15308
|
load: V,
|
|
@@ -15576,7 +15589,7 @@ function fy(n, t, e) {
|
|
|
15576
15589
|
const U = new s(F.modelPosition[0], F.modelPosition[1], F.modelPosition[2]), X = H.project2d(U), J = X == null ? void 0 : X.x, $ = X == null ? void 0 : X.y;
|
|
15577
15590
|
return [J, $];
|
|
15578
15591
|
}, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, P = (H, F) => A.length === 0 ? !1 : !!A.find((X) => H[0] >= X[0] - F && H[0] <= X[0] + F || H[1] >= X[1] - Fh && H[1] <= X[1] + Fh);
|
|
15579
|
-
function
|
|
15592
|
+
function I(H, F) {
|
|
15580
15593
|
switch (F) {
|
|
15581
15594
|
case In.SMALL:
|
|
15582
15595
|
return Math.ceil(-27.78 * H + 85);
|
|
@@ -15590,7 +15603,7 @@ function fy(n, t, e) {
|
|
|
15590
15603
|
}
|
|
15591
15604
|
const k = (H, F) => {
|
|
15592
15605
|
const U = F.map((J) => {
|
|
15593
|
-
const $ = v(H, J), de = J.name.length * uy, he =
|
|
15606
|
+
const $ = v(H, J), de = J.name.length * uy, he = I(J.modelPosition[1], c), Ce = (r ? m(H, J) : !0) && !P([$[0], $[1] + he], de);
|
|
15594
15607
|
if (!Ce)
|
|
15595
15608
|
return se(D({}, J), { visible: Ce });
|
|
15596
15609
|
A.push($);
|
|
@@ -15608,7 +15621,7 @@ function fy(n, t, e) {
|
|
|
15608
15621
|
const $ = X.findIndex((de) => de.itemLabelItem.id === J.id);
|
|
15609
15622
|
return $ !== void 0 ? se(D({}, J), { zIndex: $ * 10 }) : J;
|
|
15610
15623
|
});
|
|
15611
|
-
},
|
|
15624
|
+
}, E = () => {
|
|
15612
15625
|
A = [], e(1, u = k(o, u));
|
|
15613
15626
|
};
|
|
15614
15627
|
Ef(() => {
|
|
@@ -15618,19 +15631,19 @@ function fy(n, t, e) {
|
|
|
15618
15631
|
e(4, p = !1), V();
|
|
15619
15632
|
};
|
|
15620
15633
|
Et(() => {
|
|
15621
|
-
e(1, u = a), h = a,
|
|
15634
|
+
e(1, u = a), h = a, E(), W(), o.on("cameraUpdate", j);
|
|
15622
15635
|
});
|
|
15623
15636
|
const V = gg(
|
|
15624
15637
|
() => {
|
|
15625
|
-
e(4, p = !0),
|
|
15638
|
+
e(4, p = !0), E();
|
|
15626
15639
|
},
|
|
15627
15640
|
300
|
|
15628
15641
|
), W = () => {
|
|
15629
15642
|
window.addEventListener("resize", N, !1);
|
|
15630
15643
|
}, _ = () => {
|
|
15631
|
-
h !== a && (e(1, u = a), h = a,
|
|
15644
|
+
h !== a && (e(1, u = a), h = a, E());
|
|
15632
15645
|
}, N = () => {
|
|
15633
|
-
o.once("renderFrame",
|
|
15646
|
+
o.once("renderFrame", E);
|
|
15634
15647
|
};
|
|
15635
15648
|
Bt(() => {
|
|
15636
15649
|
o.off("cameraUpdate", j), window.removeEventListener("resize", N, !1);
|
|
@@ -15787,8 +15800,8 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15787
15800
|
return;
|
|
15788
15801
|
const y = () => {
|
|
15789
15802
|
var P;
|
|
15790
|
-
e.videoTexture && ((P = e.videoTexture) == null || P.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((
|
|
15791
|
-
|
|
15803
|
+
e.videoTexture && ((P = e.videoTexture) == null || P.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((I) => {
|
|
15804
|
+
I.material.map !== e.videoTexture && (I.material.map = e.videoTexture);
|
|
15792
15805
|
}), n.needsRender = !0);
|
|
15793
15806
|
};
|
|
15794
15807
|
e.videoTexture.image.addEventListener("timeupdate", y), e.videoTexture && e.videoMeshes.length && (e.videoTexture.image.play(), e.videoTexture.image.onplay = () => {
|
|
@@ -15808,34 +15821,34 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15808
15821
|
v.geometry.dispose(), v.material.dispose(), n.scene.remove(v), e.videoTexture && e.videoTexture.image.pause();
|
|
15809
15822
|
}), e.videoMeshes = [], n.needsRender = !0);
|
|
15810
15823
|
}, c = () => e.rectPoints.map((v, y) => {
|
|
15811
|
-
const P = new w.BufferGeometry(),
|
|
15824
|
+
const P = new w.BufferGeometry(), I = 128, k = [];
|
|
15812
15825
|
k.push(...v[0].toArray());
|
|
15813
|
-
for (let G = 1; G <
|
|
15826
|
+
for (let G = 1; G < I; G++)
|
|
15814
15827
|
k.push(
|
|
15815
|
-
v[0].x + (v[1].x - v[0].x) * G /
|
|
15816
|
-
v[0].y + (v[1].y - v[0].y) * G /
|
|
15817
|
-
v[0].z + (v[1].z - v[0].z) * G /
|
|
15828
|
+
v[0].x + (v[1].x - v[0].x) * G / I,
|
|
15829
|
+
v[0].y + (v[1].y - v[0].y) * G / I,
|
|
15830
|
+
v[0].z + (v[1].z - v[0].z) * G / I
|
|
15818
15831
|
);
|
|
15819
15832
|
k.push(...v[1].toArray()), k.push(...v[2].toArray());
|
|
15820
|
-
for (let G = 1; G <
|
|
15833
|
+
for (let G = 1; G < I; G++)
|
|
15821
15834
|
k.push(
|
|
15822
|
-
v[2].x + (v[3].x - v[2].x) * G /
|
|
15823
|
-
v[2].y + (v[3].y - v[2].y) * G /
|
|
15824
|
-
v[2].z + (v[3].z - v[2].z) * G /
|
|
15835
|
+
v[2].x + (v[3].x - v[2].x) * G / I,
|
|
15836
|
+
v[2].y + (v[3].y - v[2].y) * G / I,
|
|
15837
|
+
v[2].z + (v[3].z - v[2].z) * G / I
|
|
15825
15838
|
);
|
|
15826
15839
|
k.push(...v[3].toArray());
|
|
15827
|
-
const
|
|
15828
|
-
|
|
15829
|
-
for (let G = 1; G <
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
for (let G = 1; G <
|
|
15833
|
-
|
|
15834
|
-
|
|
15840
|
+
const E = [];
|
|
15841
|
+
E.push(0, 1);
|
|
15842
|
+
for (let G = 1; G < I; G++)
|
|
15843
|
+
E.push(0, 1 - G / I);
|
|
15844
|
+
E.push(0, 0), E.push(1, 0);
|
|
15845
|
+
for (let G = 1; G < I; G++)
|
|
15846
|
+
E.push(1, G / I);
|
|
15847
|
+
E.push(1, 1);
|
|
15835
15848
|
const j = [];
|
|
15836
|
-
for (let G = 0; G <
|
|
15837
|
-
j.push(G, G + 1,
|
|
15838
|
-
P.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), P.setAttribute("uv", new w.BufferAttribute(new Float32Array(
|
|
15849
|
+
for (let G = 0; G < I; G++)
|
|
15850
|
+
j.push(G, G + 1, I * 2 - G, G, I * 2 - G, I * 2 + 1 - G);
|
|
15851
|
+
P.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), P.setAttribute("uv", new w.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new w.BufferAttribute(new Uint32Array(j), 1));
|
|
15839
15852
|
const V = new w.MeshBasicMaterial({
|
|
15840
15853
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
15841
15854
|
side: w.DoubleSide
|
|
@@ -15856,22 +15869,22 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15856
15869
|
return y.minFilter = w.LinearFilter, y.magFilter = w.LinearFilter, y.format = w.RGBFormat, y;
|
|
15857
15870
|
}, u = (v, y) => {
|
|
15858
15871
|
let P = y;
|
|
15859
|
-
return new Promise((
|
|
15860
|
-
const
|
|
15861
|
-
|
|
15862
|
-
if (
|
|
15863
|
-
if (
|
|
15872
|
+
return new Promise((I, k) => {
|
|
15873
|
+
const E = new XMLHttpRequest();
|
|
15874
|
+
E.onreadystatechange = () => {
|
|
15875
|
+
if (E.readyState === 4)
|
|
15876
|
+
if (E.status === 200) {
|
|
15864
15877
|
const j = window.URL || window.webkitURL;
|
|
15865
|
-
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = j.createObjectURL(
|
|
15878
|
+
P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = j.createObjectURL(E.response);
|
|
15866
15879
|
const V = new w.VideoTexture(P);
|
|
15867
|
-
V.minFilter = w.LinearFilter, V.magFilter = w.LinearFilter, V.format = w.RGBFormat,
|
|
15880
|
+
V.minFilter = w.LinearFilter, V.magFilter = w.LinearFilter, V.format = w.RGBFormat, I(Object.assign(V, { videoSource: v }));
|
|
15868
15881
|
} else
|
|
15869
|
-
k(new Error("Video download Error: " +
|
|
15870
|
-
},
|
|
15882
|
+
k(new Error("Video download Error: " + E.status));
|
|
15883
|
+
}, E.onerror = (j) => k(j), E.open("GET", v), E.responseType = "blob", E.send();
|
|
15871
15884
|
});
|
|
15872
15885
|
}, f = (v, y) => Q(void 0, null, function* () {
|
|
15873
|
-
const { video_src: P, video_poster_src:
|
|
15874
|
-
e.videoSource = P, e.rectPoints = py(k).map((
|
|
15886
|
+
const { video_src: P, video_poster_src: I, points: k } = v;
|
|
15887
|
+
e.videoSource = P, e.rectPoints = py(k).map((E) => E.map(({ x: j, y: V, z: W }) => new w.Vector3(j, V, W))), e.imageTexture = h(I), y && (e.videoElement = y), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
|
|
15875
15888
|
}), g = (v) => {
|
|
15876
15889
|
if (!e.enabled)
|
|
15877
15890
|
return;
|
|
@@ -15885,14 +15898,14 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15885
15898
|
return;
|
|
15886
15899
|
const v = n.camera.position;
|
|
15887
15900
|
if (s.forEach((y, P) => {
|
|
15888
|
-
const
|
|
15901
|
+
const I = y.css3DObject.position.clone(), k = I.clone().sub(v).normalize(), E = new w.Raycaster(v, k), j = n.model.intersectRaycaster(E)[0], V = I.distanceTo(v), W = 0.01;
|
|
15889
15902
|
j && j.distance + W < V ? y.hide() : y.show();
|
|
15890
15903
|
}), !r()) {
|
|
15891
15904
|
const y = e.rectPoints.find((P) => {
|
|
15892
|
-
const
|
|
15893
|
-
return P.map((k) => k.clone().add(
|
|
15894
|
-
const
|
|
15895
|
-
return !(V && V.distance + W <
|
|
15905
|
+
const I = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
|
|
15906
|
+
return P.map((k) => k.clone().add(I).divideScalar(2)).filter((k) => {
|
|
15907
|
+
const E = k.distanceTo(v), j = new w.Raycaster(v, k.clone().sub(v).normalize()), V = n.model.intersectRaycaster(j)[0], W = 0.01;
|
|
15908
|
+
return !(V && V.distance + W < E);
|
|
15896
15909
|
}).length >= 2;
|
|
15897
15910
|
});
|
|
15898
15911
|
(!y || y.length === 0) && o(!0);
|
|
@@ -16311,7 +16324,7 @@ function Ty(n, t, e) {
|
|
|
16311
16324
|
}, P = (F, U) => {
|
|
16312
16325
|
const X = new i(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), J = F.project2d(X), $ = J == null ? void 0 : J.x, de = J == null ? void 0 : J.y;
|
|
16313
16326
|
return [$, de];
|
|
16314
|
-
},
|
|
16327
|
+
}, I = (F, U) => {
|
|
16315
16328
|
const X = U.map(($) => {
|
|
16316
16329
|
if (F.state.panoIndex !== $.panoIndex)
|
|
16317
16330
|
return se(D({}, $), { visible: !1 });
|
|
@@ -16336,8 +16349,8 @@ function Ty(n, t, e) {
|
|
|
16336
16349
|
return de !== void 0 ? se(D({}, $), { zIndex: de * 10 }) : $;
|
|
16337
16350
|
});
|
|
16338
16351
|
}, k = () => {
|
|
16339
|
-
p = [], e(1, u =
|
|
16340
|
-
},
|
|
16352
|
+
p = [], e(1, u = I(s, u));
|
|
16353
|
+
}, E = () => {
|
|
16341
16354
|
e(5, m = !1), j();
|
|
16342
16355
|
}, j = gg(
|
|
16343
16356
|
() => {
|
|
@@ -16390,9 +16403,9 @@ function Ty(n, t, e) {
|
|
|
16390
16403
|
Ef(() => {
|
|
16391
16404
|
_();
|
|
16392
16405
|
}), Et(() => {
|
|
16393
|
-
e(1, u = Uh(r)), h = r, k(), W(), s.on("cameraUpdate",
|
|
16406
|
+
e(1, u = Uh(r)), h = r, k(), W(), s.on("cameraUpdate", E);
|
|
16394
16407
|
}), Bt(() => {
|
|
16395
|
-
s.off("cameraUpdate",
|
|
16408
|
+
s.off("cameraUpdate", E), window.removeEventListener("resize", V, !1);
|
|
16396
16409
|
});
|
|
16397
16410
|
function H() {
|
|
16398
16411
|
g = this.clientWidth, A = this.clientHeight, e(3, g), e(4, A);
|
|
@@ -16756,21 +16769,21 @@ class Wy extends Oy {
|
|
|
16756
16769
|
}), this.fixDoorPosition();
|
|
16757
16770
|
});
|
|
16758
16771
|
d(this, "fixDoorPosition", () => {
|
|
16759
|
-
var h, u, f, g, A, p, m, v, y, P,
|
|
16772
|
+
var h, u, f, g, A, p, m, v, y, P, I, k;
|
|
16760
16773
|
const { panoIndex: e, camera: i } = this.five;
|
|
16761
16774
|
if (e === null)
|
|
16762
16775
|
return;
|
|
16763
16776
|
if (this.five.currentMode !== "Panorama")
|
|
16764
16777
|
return this.hideAllLabels();
|
|
16765
16778
|
const s = this.five.getElement(), o = s.clientWidth, r = s.clientHeight, a = i.getWorldDirection(new oe()), l = [], c = [...this.labelItems];
|
|
16766
|
-
if (c.forEach((
|
|
16767
|
-
if (
|
|
16768
|
-
const V = i.position.distanceTo(
|
|
16769
|
-
|
|
16779
|
+
if (c.forEach((E, j) => {
|
|
16780
|
+
if (E.visible) {
|
|
16781
|
+
const V = i.position.distanceTo(E.position), W = E.position.clone().add(new oe(0, this.OffsetHeight, 0)), N = W.clone().sub(i.position).normalize().angleTo(a), G = W.clone().project(i), H = (G.x + 1) / 2.2 * 100, F = (-G.y + 1) / 2.2 * 100, U = H >= 0 && H <= 100 && F >= 0 && F <= 100 && V > this.MinVisibledistance && V <= this.MaxVisibledistance;
|
|
16782
|
+
E.left = H, E.top = F, E.inSight = U && N < Math.PI / 2, E.cameraToward = Qy(this.five), U ? l.push({ disFromCameraToLabel: V, left: H, top: F, index: j }) : E.transform = "translate(-50%, -50%)";
|
|
16770
16783
|
} else
|
|
16771
|
-
|
|
16784
|
+
E.inSight = !1;
|
|
16772
16785
|
}), l.length > 1) {
|
|
16773
|
-
let
|
|
16786
|
+
let E = 0;
|
|
16774
16787
|
l.sort((j, V) => V.disFromCameraToLabel - j.disFromCameraToLabel);
|
|
16775
16788
|
for (let j = 1; j < l.length; j++) {
|
|
16776
16789
|
const { index: V, left: W, top: _ } = l[j - 1], { index: N, left: G, top: H } = l[j], F = this.container.children[V], U = this.container.children[N];
|
|
@@ -16785,9 +16798,9 @@ class Wy extends Oy {
|
|
|
16785
16798
|
left: o * G / 100,
|
|
16786
16799
|
top: r * H / 100,
|
|
16787
16800
|
width: (y = (v = (m = U.children) == null ? void 0 : m[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
|
|
16788
|
-
height: (k = (
|
|
16801
|
+
height: (k = (I = (P = U.children) == null ? void 0 : P[0]) == null ? void 0 : I.clientHeight) != null ? k : 0
|
|
16789
16802
|
};
|
|
16790
|
-
Ny(X, J) && (
|
|
16803
|
+
Ny(X, J) && (E++, c[V].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, c[N].transform = `translate(-50%, ${E * 100 - 50}%)`);
|
|
16791
16804
|
}
|
|
16792
16805
|
}
|
|
16793
16806
|
this.labelItems = c, this.render();
|
|
@@ -16957,29 +16970,29 @@ function dw(n) {
|
|
|
16957
16970
|
if (o.length === 0)
|
|
16958
16971
|
return { geometry: new w.BufferGeometry(), maxU: 0, curvePath: null, curvePoints: null };
|
|
16959
16972
|
const r = new w.CurvePath();
|
|
16960
|
-
o.forEach((
|
|
16961
|
-
const j = uw(
|
|
16973
|
+
o.forEach((E) => {
|
|
16974
|
+
const j = uw(E);
|
|
16962
16975
|
j && r.add(j);
|
|
16963
16976
|
});
|
|
16964
16977
|
const a = Math.ceil(r.getLength() * 100);
|
|
16965
16978
|
r.arcLengthDivisions = a;
|
|
16966
|
-
const l = r.getPoints(a), c = l.length, h = rw(l.map((
|
|
16967
|
-
let P = 0,
|
|
16968
|
-
for (let
|
|
16969
|
-
const [j, V] = h[
|
|
16970
|
-
v[
|
|
16979
|
+
const l = r.getPoints(a), c = l.length, h = rw(l.map((E) => [E.x, E.z])), f = (c - 1) * aw * lw, g = 2 * c, A = g * cw, p = g * hw, m = new Uint32Array(f), v = new Float32Array(A), y = new Float32Array(p);
|
|
16980
|
+
let P = 0, I = 0;
|
|
16981
|
+
for (let E = 0; E < l.length; E++) {
|
|
16982
|
+
const [j, V] = h[E][0], W = l[E], { x: _, y: N, z: G } = W, H = new oe(_ + j * s, N + 0.05, G + V * s);
|
|
16983
|
+
v[E * 6 + 0] = H.x, v[E * 6 + 1] = H.y, v[E * 6 + 2] = H.z;
|
|
16971
16984
|
const F = new oe(_ - j * s, N + 0.05, G - V * s);
|
|
16972
|
-
v[
|
|
16985
|
+
v[E * 6 + 3] = F.x, v[E * 6 + 4] = F.y, v[E * 6 + 5] = F.z, P += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
|
|
16973
16986
|
const U = P / t / i;
|
|
16974
|
-
if (
|
|
16987
|
+
if (I = U, y[E * 4 + 0] = 0, y[E * 4 + 1] = U, y[E * 4 + 2] = 1, y[E * 4 + 3] = U, n.skipPositions) {
|
|
16975
16988
|
const X = new w.Vector3().lerpVectors(H, F, 0.5);
|
|
16976
16989
|
if (n.skipPositions.some(($) => $.distanceTo(X) < 0.26))
|
|
16977
16990
|
continue;
|
|
16978
16991
|
}
|
|
16979
|
-
|
|
16992
|
+
E !== l.length - 1 && (m[E * 6 + 0] = E * 2 + 0, m[E * 6 + 1] = E * 2 + 2, m[E * 6 + 2] = E * 2 + 1, m[E * 6 + 3] = E * 2 + 2, m[E * 6 + 4] = E * 2 + 3, m[E * 6 + 5] = E * 2 + 1);
|
|
16980
16993
|
}
|
|
16981
16994
|
const k = new w.BufferGeometry();
|
|
16982
|
-
return k.setAttribute("position", new w.BufferAttribute(v, 3)), k.setAttribute("uv", new w.BufferAttribute(y, 2)), k.setIndex(new w.BufferAttribute(m, 1)), { geometry: k, maxU:
|
|
16995
|
+
return k.setAttribute("position", new w.BufferAttribute(v, 3)), k.setAttribute("uv", new w.BufferAttribute(y, 2)), k.setIndex(new w.BufferAttribute(m, 1)), { geometry: k, maxU: I, curvePath: r, curvePoints: l };
|
|
16983
16996
|
}
|
|
16984
16997
|
function uw(n) {
|
|
16985
16998
|
if (fw(n)) {
|
|
@@ -17789,7 +17802,7 @@ class Hl {
|
|
|
17789
17802
|
continue;
|
|
17790
17803
|
p._hovered = !1;
|
|
17791
17804
|
}
|
|
17792
|
-
const
|
|
17805
|
+
const I = y({
|
|
17793
17806
|
type: e,
|
|
17794
17807
|
target: p,
|
|
17795
17808
|
origDomEvent: s,
|
|
@@ -17799,7 +17812,7 @@ class Hl {
|
|
|
17799
17812
|
a = !0;
|
|
17800
17813
|
}
|
|
17801
17814
|
});
|
|
17802
|
-
l.push(
|
|
17815
|
+
l.push(I != null ? I : !0);
|
|
17803
17816
|
}
|
|
17804
17817
|
}
|
|
17805
17818
|
if (e === "click" || e === "wantDblclick")
|
|
@@ -18198,35 +18211,35 @@ class Hw extends jw {
|
|
|
18198
18211
|
return e.config;
|
|
18199
18212
|
}
|
|
18200
18213
|
const o = {}, r = {}, a = {};
|
|
18201
|
-
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P,
|
|
18214
|
+
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P, I]) => {
|
|
18202
18215
|
var N, G;
|
|
18203
|
-
const k = P,
|
|
18216
|
+
const k = P, E = k.split("-"), j = P.startsWith("["), V = j ? E[0].slice(1, -1) : void 0, W = j ? E.slice(1) : E, _ = V ? ["PanoramaLike", "ModelLike"].includes(V) ? (N = r[V]) != null ? N : r[V] = {} : (G = a[V]) != null ? G : a[V] = {} : o;
|
|
18204
18217
|
if (!_[k]) {
|
|
18205
|
-
if (W.length === 0 && (_[k] =
|
|
18218
|
+
if (W.length === 0 && (_[k] = I), W.length === 1) {
|
|
18206
18219
|
const [H] = W;
|
|
18207
|
-
(e.contentType === H || H === "Any") && (_[k] =
|
|
18220
|
+
(e.contentType === H || H === "Any") && (_[k] = I);
|
|
18208
18221
|
}
|
|
18209
18222
|
if (W.length === 2) {
|
|
18210
18223
|
const [H = "Any", F = "Any"] = W;
|
|
18211
|
-
H === "Mixin" && e.contentType === F && (_[k] =
|
|
18224
|
+
H === "Mixin" && e.contentType === F && (_[k] = I), (e.stickType === H || H === "Any") && (e.contentType === F || F === "Any") && (_[k] = I);
|
|
18212
18225
|
}
|
|
18213
18226
|
if (W.length === 3) {
|
|
18214
18227
|
const [H = "Any", F, U] = W;
|
|
18215
18228
|
if (F === "Audio" && e.contentType === "Audio") {
|
|
18216
18229
|
const X = e;
|
|
18217
|
-
(X.stickType === H || H === "Any") && X.data.appearance === U && (_[k] =
|
|
18230
|
+
(X.stickType === H || H === "Any") && X.data.appearance === U && (_[k] = I);
|
|
18218
18231
|
}
|
|
18219
18232
|
}
|
|
18220
18233
|
}
|
|
18221
18234
|
});
|
|
18222
18235
|
const l = (y = e.initialConfig) != null ? y : {}, c = Re({}, xw, this.config.globalConfig, ...Object.values(o)), h = Re({}, c, l), u = {}, f = Object.values(dt.Mode);
|
|
18223
|
-
td(r).forEach(([P,
|
|
18236
|
+
td(r).forEach(([P, I]) => {
|
|
18224
18237
|
f.forEach((k) => {
|
|
18225
|
-
(P === "PanoramaLike" && Nt(k) || P === "ModelLike" && jn(k)) && (u[k] = Re({}, c, ...Object.values(
|
|
18238
|
+
(P === "PanoramaLike" && Nt(k) || P === "ModelLike" && jn(k)) && (u[k] = Re({}, c, ...Object.values(I), l, { _isMerged: !0 }));
|
|
18226
18239
|
});
|
|
18227
|
-
}), td(a).forEach(([P,
|
|
18240
|
+
}), td(a).forEach(([P, I]) => {
|
|
18228
18241
|
const k = u[P];
|
|
18229
|
-
u[P] = Re({}, c, k, ...Object.values(
|
|
18242
|
+
u[P] = Re({}, c, k, ...Object.values(I), l, { _isMerged: !0 });
|
|
18230
18243
|
});
|
|
18231
18244
|
const g = se(D({}, h), { configWithFiveMode: u });
|
|
18232
18245
|
return ed(g), Object.values(u).forEach((P) => ed(P)), g._isMerged = !0, g;
|
|
@@ -18481,8 +18494,8 @@ class Qw extends Hw {
|
|
|
18481
18494
|
return V;
|
|
18482
18495
|
})(), P = (h = i.distanceAccuracy) != null ? h : 0.01;
|
|
18483
18496
|
Math.min((u = v == null ? void 0 : v.distance) != null ? u : 1 / 0, (f = y == null ? void 0 : y.distance) != null ? f : 1 / 0) + P >= m ? a++ : l++;
|
|
18484
|
-
const
|
|
18485
|
-
if (a >=
|
|
18497
|
+
const E = (g = i.needPassed) != null ? g : 1;
|
|
18498
|
+
if (a >= E)
|
|
18486
18499
|
return { value: !0 };
|
|
18487
18500
|
}
|
|
18488
18501
|
return l === 0 ? { value: !0 } : {
|
|
@@ -19107,9 +19120,9 @@ function eC(n, t, e) {
|
|
|
19107
19120
|
let i, { inDelay: s = 0 } = t, { outDelay: o = 0 } = t, { content: r } = t, { unfolded: a } = t, { isFistUnfoldedUpdate: l = !0 } = t;
|
|
19108
19121
|
const c = `__EMOJI_SPLIT_${So}__`, h = `__EMOJI_${So}__`, u = `__SPACE_${So}__`, f = `__NEW_LINE_${So}__`;
|
|
19109
19122
|
let g, A, p = [];
|
|
19110
|
-
function m(
|
|
19123
|
+
function m(E) {
|
|
19111
19124
|
const j = [], V = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
19112
|
-
return
|
|
19125
|
+
return E.slice().replace(V, (W) => `${c}${h}${W}${c}`).split(c).forEach((W) => W.startsWith(h) ? j.push({
|
|
19113
19126
|
id: nt(),
|
|
19114
19127
|
content: W.slice(h.length)
|
|
19115
19128
|
}) : j.push(...W.split("").map((_) => _ === " " ? u : _ === `
|
|
@@ -19118,24 +19131,24 @@ function eC(n, t, e) {
|
|
|
19118
19131
|
function v() {
|
|
19119
19132
|
if (!A)
|
|
19120
19133
|
return;
|
|
19121
|
-
const
|
|
19122
|
-
A.reversed !==
|
|
19134
|
+
const E = !a;
|
|
19135
|
+
A.reversed !== E && A.reverse(), A.play();
|
|
19123
19136
|
}
|
|
19124
|
-
function y(
|
|
19137
|
+
function y(E) {
|
|
19125
19138
|
if (l) {
|
|
19126
19139
|
e(5, l = !1);
|
|
19127
19140
|
return;
|
|
19128
19141
|
}
|
|
19129
|
-
clearTimeout(g), g = setTimeout(v,
|
|
19142
|
+
clearTimeout(g), g = setTimeout(v, E ? s : o);
|
|
19130
19143
|
}
|
|
19131
|
-
function P(
|
|
19144
|
+
function P(E) {
|
|
19132
19145
|
const j = function() {
|
|
19133
|
-
const V = Pw((W) =>
|
|
19146
|
+
const V = Pw((W) => E[W].getBoundingClientRect().x, [Math.min(E.length - 1, 10), Math.min(E.length - 1, 30)]);
|
|
19134
19147
|
if (V > 0)
|
|
19135
19148
|
return V;
|
|
19136
19149
|
}();
|
|
19137
19150
|
A = Qa({
|
|
19138
|
-
targets:
|
|
19151
|
+
targets: E.slice(0, j).filter(Me),
|
|
19139
19152
|
autoplay: !1,
|
|
19140
19153
|
duration: 400,
|
|
19141
19154
|
scale: [0.7, 1],
|
|
@@ -19147,23 +19160,23 @@ function eC(n, t, e) {
|
|
|
19147
19160
|
easing: "easeInOutCubic"
|
|
19148
19161
|
}), a && A.seek(A.duration);
|
|
19149
19162
|
}
|
|
19150
|
-
function E
|
|
19151
|
-
_e[
|
|
19152
|
-
p[j] =
|
|
19163
|
+
function I(E, j) {
|
|
19164
|
+
_e[E ? "unshift" : "push"](() => {
|
|
19165
|
+
p[j] = E, e(1, p);
|
|
19153
19166
|
});
|
|
19154
19167
|
}
|
|
19155
|
-
function k(
|
|
19156
|
-
_e[
|
|
19157
|
-
p[j] =
|
|
19168
|
+
function k(E, j) {
|
|
19169
|
+
_e[E ? "unshift" : "push"](() => {
|
|
19170
|
+
p[j] = E, e(1, p);
|
|
19158
19171
|
});
|
|
19159
19172
|
}
|
|
19160
|
-
return n.$$set = (
|
|
19161
|
-
"inDelay" in
|
|
19173
|
+
return n.$$set = (E) => {
|
|
19174
|
+
"inDelay" in E && e(6, s = E.inDelay), "outDelay" in E && e(7, o = E.outDelay), "content" in E && e(0, r = E.content), "unfolded" in E && e(8, a = E.unfolded), "isFistUnfoldedUpdate" in E && e(5, l = E.isFistUnfoldedUpdate);
|
|
19162
19175
|
}, n.$$.update = () => {
|
|
19163
19176
|
n.$$.dirty & /*content*/
|
|
19164
19177
|
1 && e(2, i = m(r)), n.$$.dirty & /*unfolded*/
|
|
19165
19178
|
256 && y(a), n.$$.dirty & /*spanEleList*/
|
|
19166
|
-
2 && P(p.filter((
|
|
19179
|
+
2 && P(p.filter((E) => !!E));
|
|
19167
19180
|
}, [
|
|
19168
19181
|
r,
|
|
19169
19182
|
p,
|
|
@@ -19174,7 +19187,7 @@ function eC(n, t, e) {
|
|
|
19174
19187
|
s,
|
|
19175
19188
|
o,
|
|
19176
19189
|
a,
|
|
19177
|
-
|
|
19190
|
+
I,
|
|
19178
19191
|
k
|
|
19179
19192
|
];
|
|
19180
19193
|
}
|
|
@@ -21247,8 +21260,8 @@ var To = vI, ir = {}, bI = {
|
|
|
21247
21260
|
}
|
|
21248
21261
|
};
|
|
21249
21262
|
(function(n, t) {
|
|
21250
|
-
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", A = "[object Object]", p = "[object Promise]", m = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]",
|
|
21251
|
-
he[o] = he[r] = he[k] = he[
|
|
21263
|
+
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", A = "[object Object]", p = "[object Promise]", m = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", I = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", j = "[object Float32Array]", V = "[object Float64Array]", W = "[object Int8Array]", _ = "[object Int16Array]", N = "[object Int32Array]", G = "[object Uint8Array]", H = "[object Uint8ClampedArray]", F = "[object Uint16Array]", U = "[object Uint32Array]", X = /[\\^$.*+?()[\]{}|]/g, J = /\w*$/, $ = /^\[object .+?Constructor\]$/, de = /^(?:0|[1-9]\d*)$/, he = {};
|
|
21264
|
+
he[o] = he[r] = he[k] = he[E] = he[a] = he[l] = he[j] = he[V] = he[W] = he[_] = he[N] = he[f] = he[g] = he[A] = he[m] = he[v] = he[y] = he[P] = he[G] = he[H] = he[F] = he[U] = !0, he[c] = he[h] = he[I] = !1;
|
|
21252
21265
|
var Pe = typeof Ot == "object" && Ot && Ot.Object === Object && Ot, Ce = typeof self == "object" && self && self.Object === Object && self, be = Pe || Ce || Function("return this")(), Qe = t && !t.nodeType && t, ye = Qe && !0 && n && !n.nodeType && n, Ze = ye && ye.exports === Qe;
|
|
21253
21266
|
function ee(b, M) {
|
|
21254
21267
|
return b.set(M[0], M[1]), b;
|
|
@@ -21564,12 +21577,12 @@ var To = vI, ir = {}, bI = {
|
|
|
21564
21577
|
return Ur(R) ? R : void 0;
|
|
21565
21578
|
}
|
|
21566
21579
|
var ai = ns ? Ie(ns, Object) : ra, li = Wr;
|
|
21567
|
-
(cn && li(new cn(new ArrayBuffer(1))) !=
|
|
21580
|
+
(cn && li(new cn(new ArrayBuffer(1))) != E || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || hn && li(new hn()) != v || ss && li(new ss()) != I) && (li = function(b) {
|
|
21568
21581
|
var M = Rt.call(b), R = M == A ? b.constructor : void 0, Y = R ? Pt(R) : void 0;
|
|
21569
21582
|
if (Y)
|
|
21570
21583
|
switch (Y) {
|
|
21571
21584
|
case os:
|
|
21572
|
-
return
|
|
21585
|
+
return E;
|
|
21573
21586
|
case Ri:
|
|
21574
21587
|
return f;
|
|
21575
21588
|
case rs:
|
|
@@ -21577,7 +21590,7 @@ var To = vI, ir = {}, bI = {
|
|
|
21577
21590
|
case as:
|
|
21578
21591
|
return v;
|
|
21579
21592
|
case ls:
|
|
21580
|
-
return
|
|
21593
|
+
return I;
|
|
21581
21594
|
}
|
|
21582
21595
|
return M;
|
|
21583
21596
|
});
|
|
@@ -21596,7 +21609,7 @@ var To = vI, ir = {}, bI = {
|
|
|
21596
21609
|
case a:
|
|
21597
21610
|
case l:
|
|
21598
21611
|
return new Ee(+b);
|
|
21599
|
-
case
|
|
21612
|
+
case E:
|
|
21600
21613
|
return Vi(b, Y);
|
|
21601
21614
|
case j:
|
|
21602
21615
|
case V:
|
|
@@ -21700,8 +21713,8 @@ var nr = {}, wI = {
|
|
|
21700
21713
|
}
|
|
21701
21714
|
};
|
|
21702
21715
|
(function(n, t) {
|
|
21703
|
-
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", g = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", m = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]",
|
|
21704
|
-
ye[H] = ye[F] = ye[U] = ye[X] = ye[J] = ye[$] = ye[de] = ye[he] = ye[Pe] = !0, ye[a] = ye[l] = ye[N] = ye[h] = ye[G] = ye[u] = ye[f] = ye[g] = ye[p] = ye[m] = ye[y] = ye[k] = ye[
|
|
21716
|
+
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", g = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", m = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", I = "[object Proxy]", k = "[object RegExp]", E = "[object Set]", j = "[object String]", V = "[object Symbol]", W = "[object Undefined]", _ = "[object WeakMap]", N = "[object ArrayBuffer]", G = "[object DataView]", H = "[object Float32Array]", F = "[object Float64Array]", U = "[object Int8Array]", X = "[object Int16Array]", J = "[object Int32Array]", $ = "[object Uint8Array]", de = "[object Uint8ClampedArray]", he = "[object Uint16Array]", Pe = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, Qe = /^(?:0|[1-9]\d*)$/, ye = {};
|
|
21717
|
+
ye[H] = ye[F] = ye[U] = ye[X] = ye[J] = ye[$] = ye[de] = ye[he] = ye[Pe] = !0, ye[a] = ye[l] = ye[N] = ye[h] = ye[G] = ye[u] = ye[f] = ye[g] = ye[p] = ye[m] = ye[y] = ye[k] = ye[E] = ye[j] = ye[_] = !1;
|
|
21705
21718
|
var Ze = typeof Ot == "object" && Ot && Ot.Object === Object && Ot, ee = typeof self == "object" && self && self.Object === Object && self, ve = Ze || ee || Function("return this")(), je = t && !t.nodeType && t, me = je && !0 && n && !n.nodeType && n, tt = me && me.exports === je, at = tt && Ze.process, xe = function() {
|
|
21706
21719
|
try {
|
|
21707
21720
|
return at && at.binding && at.binding("util");
|
|
@@ -22012,7 +22025,7 @@ var nr = {}, wI = {
|
|
|
22012
22025
|
return b == M + "";
|
|
22013
22026
|
case p:
|
|
22014
22027
|
var Te = Ve;
|
|
22015
|
-
case
|
|
22028
|
+
case E:
|
|
22016
22029
|
var qe = Y & s;
|
|
22017
22030
|
if (Te || (Te = Je), b.size != M.size && !qe)
|
|
22018
22031
|
return !1;
|
|
@@ -22085,7 +22098,7 @@ var nr = {}, wI = {
|
|
|
22085
22098
|
return cn.call(b, M);
|
|
22086
22099
|
}));
|
|
22087
22100
|
} : ra, Jt = Vi;
|
|
22088
|
-
(os && Jt(new os(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || rs && Jt(rs.resolve()) != P || as && Jt(new as()) !=
|
|
22101
|
+
(os && Jt(new os(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || rs && Jt(rs.resolve()) != P || as && Jt(new as()) != E || ls && Jt(new ls()) != _) && (Jt = function(b) {
|
|
22089
22102
|
var M = Vi(b), R = M == y ? b.constructor : void 0, Y = R ? Pt(R) : "";
|
|
22090
22103
|
if (Y)
|
|
22091
22104
|
switch (Y) {
|
|
@@ -22096,7 +22109,7 @@ var nr = {}, wI = {
|
|
|
22096
22109
|
case Er:
|
|
22097
22110
|
return P;
|
|
22098
22111
|
case Mr:
|
|
22099
|
-
return
|
|
22112
|
+
return E;
|
|
22100
22113
|
case kr:
|
|
22101
22114
|
return _;
|
|
22102
22115
|
}
|
|
@@ -22151,7 +22164,7 @@ var nr = {}, wI = {
|
|
|
22151
22164
|
if (!co(b))
|
|
22152
22165
|
return !1;
|
|
22153
22166
|
var M = Vi(b);
|
|
22154
|
-
return M == g || M == A || M == c || M ==
|
|
22167
|
+
return M == g || M == A || M == c || M == I;
|
|
22155
22168
|
}
|
|
22156
22169
|
function gs(b) {
|
|
22157
22170
|
return typeof b == "number" && b > -1 && b % 1 == 0 && b <= r;
|
|
@@ -22993,8 +23006,8 @@ function FI(n) {
|
|
|
22993
23006
|
n[0]
|
|
22994
23007
|
), C(s, "class", "sc-carousel__pages-window svelte-sme1z4"), C(e, "class", "sc-carousel__content-container svelte-sme1z4"), C(t, "class", "sc-carousel__carousel-container svelte-sme1z4");
|
|
22995
23008
|
},
|
|
22996
|
-
m(P,
|
|
22997
|
-
B(P, t,
|
|
23009
|
+
m(P, I) {
|
|
23010
|
+
B(P, t, I), L(t, e), g && g.m(e, null), L(e, i), L(e, s), L(s, o), p && p.m(o, null), n[39](o), L(s, a), m && m.m(s, null), n[40](s), L(e, l), v && v.m(e, null), L(t, c), y && y.m(t, null), h = !0, u || (f = [
|
|
22998
23011
|
Ft(r = tP.call(null, o, {
|
|
22999
23012
|
thresholdProvider: (
|
|
23000
23013
|
/*swipeable_function*/
|
|
@@ -23047,13 +23060,13 @@ function FI(n) {
|
|
|
23047
23060
|
)
|
|
23048
23061
|
], u = !0);
|
|
23049
23062
|
},
|
|
23050
|
-
p(P,
|
|
23063
|
+
p(P, I) {
|
|
23051
23064
|
/*arrows*/
|
|
23052
|
-
P[1] ? g ? (g.p(P,
|
|
23065
|
+
P[1] ? g ? (g.p(P, I), I[0] & /*arrows*/
|
|
23053
23066
|
2 && x(g, 1)) : (g = jd(P), g.c(), x(g, 1), g.m(e, i)) : g && (ue(), O(g, 1, 1, () => {
|
|
23054
23067
|
g = null;
|
|
23055
|
-
}), fe()), p && p.p && (!h ||
|
|
23056
|
-
96 |
|
|
23068
|
+
}), fe()), p && p.p && (!h || I[0] & /*loaded, currentPageIndex*/
|
|
23069
|
+
96 | I[1] & /*$$scope*/
|
|
23057
23070
|
32) && qn(
|
|
23058
23071
|
p,
|
|
23059
23072
|
A,
|
|
@@ -23064,43 +23077,43 @@ function FI(n) {
|
|
|
23064
23077
|
A,
|
|
23065
23078
|
/*$$scope*/
|
|
23066
23079
|
P[36],
|
|
23067
|
-
|
|
23080
|
+
I,
|
|
23068
23081
|
VI
|
|
23069
23082
|
) : Kn(
|
|
23070
23083
|
/*$$scope*/
|
|
23071
23084
|
P[36]
|
|
23072
23085
|
),
|
|
23073
23086
|
Td
|
|
23074
|
-
), (!h ||
|
|
23087
|
+
), (!h || I[0] & /*offset*/
|
|
23075
23088
|
256) && T(o, "transform", "translateX(" + /*offset*/
|
|
23076
|
-
P[8] + "px)"), (!h ||
|
|
23089
|
+
P[8] + "px)"), (!h || I[0] & /*durationMs*/
|
|
23077
23090
|
512) && T(
|
|
23078
23091
|
o,
|
|
23079
23092
|
"transition-duration",
|
|
23080
23093
|
/*durationMs*/
|
|
23081
23094
|
P[9] + "ms"
|
|
23082
|
-
), (!h ||
|
|
23095
|
+
), (!h || I[0] & /*timingFunction*/
|
|
23083
23096
|
1) && T(
|
|
23084
23097
|
o,
|
|
23085
23098
|
"transition-timing-function",
|
|
23086
23099
|
/*timingFunction*/
|
|
23087
23100
|
P[0]
|
|
23088
|
-
), r && oi(r.update) &&
|
|
23101
|
+
), r && oi(r.update) && I[0] & /*pageWindowWidth*/
|
|
23089
23102
|
2048 && r.update.call(null, {
|
|
23090
23103
|
thresholdProvider: (
|
|
23091
23104
|
/*swipeable_function*/
|
|
23092
23105
|
P[38]
|
|
23093
23106
|
)
|
|
23094
23107
|
}), /*autoplayProgressVisible*/
|
|
23095
|
-
P[3] ? m ? (m.p(P,
|
|
23108
|
+
P[3] ? m ? (m.p(P, I), I[0] & /*autoplayProgressVisible*/
|
|
23096
23109
|
8 && x(m, 1)) : (m = zd(P), m.c(), x(m, 1), m.m(s, null)) : m && (ue(), O(m, 1, 1, () => {
|
|
23097
23110
|
m = null;
|
|
23098
23111
|
}), fe()), /*arrows*/
|
|
23099
|
-
P[1] ? v ? (v.p(P,
|
|
23112
|
+
P[1] ? v ? (v.p(P, I), I[0] & /*arrows*/
|
|
23100
23113
|
2 && x(v, 1)) : (v = Od(P), v.c(), x(v, 1), v.m(e, null)) : v && (ue(), O(v, 1, 1, () => {
|
|
23101
23114
|
v = null;
|
|
23102
23115
|
}), fe()), /*dots*/
|
|
23103
|
-
P[4] ? y ? (y.p(P,
|
|
23116
|
+
P[4] ? y ? (y.p(P, I), I[0] & /*dots*/
|
|
23104
23117
|
16 && x(y, 1)) : (y = Bd(P), y.c(), x(y, 1), y.m(t, null)) : y && (ue(), O(y, 1, 1, () => {
|
|
23105
23118
|
y = null;
|
|
23106
23119
|
}), fe());
|
|
@@ -23128,7 +23141,7 @@ function _I(n, t, e) {
|
|
|
23128
23141
|
loaded: () => e(6, o = Ie)
|
|
23129
23142
|
})(re);
|
|
23130
23143
|
}), p = gr();
|
|
23131
|
-
let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration:
|
|
23144
|
+
let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: j = xi } = t, { pauseOnFocus: V = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots: _ = !0 } = t, { swiping: N = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: H = 1 } = t;
|
|
23132
23145
|
function F(re, Ie) {
|
|
23133
23146
|
return Q(this, null, function* () {
|
|
23134
23147
|
const Ge = js(Ie, "animated", !0);
|
|
@@ -23224,14 +23237,14 @@ function _I(n, t, e) {
|
|
|
23224
23237
|
}
|
|
23225
23238
|
const st = (re) => Ce(re.detail);
|
|
23226
23239
|
return n.$$set = (re) => {
|
|
23227
|
-
"timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, P = re.initialPageIndex), "duration" in re && e(25,
|
|
23240
|
+
"timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, P = re.initialPageIndex), "duration" in re && e(25, I = re.duration), "autoplay" in re && e(26, k = re.autoplay), "autoplayDuration" in re && e(27, E = re.autoplayDuration), "autoplayDirection" in re && e(28, j = re.autoplayDirection), "pauseOnFocus" in re && e(29, V = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, W = re.autoplayProgressVisible), "dots" in re && e(4, _ = re.dots), "swiping" in re && e(30, N = re.swiping), "particlesToShow" in re && e(31, G = re.particlesToShow), "particlesToScroll" in re && e(32, H = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
|
|
23228
23241
|
}, n.$$.update = () => {
|
|
23229
23242
|
n.$$.dirty[0] & /*currentPageIndex*/
|
|
23230
23243
|
32 && p("pageChange", r), n.$$.dirty[0] & /*infinite*/
|
|
23231
23244
|
4 && (u.infinite = y), n.$$.dirty[0] & /*duration*/
|
|
23232
|
-
33554432 && (u.durationMsInit =
|
|
23245
|
+
33554432 && (u.durationMsInit = I), n.$$.dirty[0] & /*autoplay*/
|
|
23233
23246
|
67108864 && (u.autoplay = k), n.$$.dirty[0] & /*autoplayDuration*/
|
|
23234
|
-
134217728 && (u.autoplayDuration =
|
|
23247
|
+
134217728 && (u.autoplayDuration = E), n.$$.dirty[0] & /*autoplayDirection*/
|
|
23235
23248
|
268435456 && (u.autoplayDirection = j), n.$$.dirty[0] & /*pauseOnFocus*/
|
|
23236
23249
|
536870912 && (u.pauseOnFocus = V), n.$$.dirty[1] & /*particlesToShow*/
|
|
23237
23250
|
1 && (u.particlesToShowInit = G), n.$$.dirty[1] & /*particlesToScroll*/
|
|
@@ -23262,9 +23275,9 @@ function _I(n, t, e) {
|
|
|
23262
23275
|
je,
|
|
23263
23276
|
me,
|
|
23264
23277
|
P,
|
|
23265
|
-
E,
|
|
23266
|
-
k,
|
|
23267
23278
|
I,
|
|
23279
|
+
k,
|
|
23280
|
+
E,
|
|
23268
23281
|
j,
|
|
23269
23282
|
V,
|
|
23270
23283
|
N,
|
|
@@ -23630,7 +23643,7 @@ function KI(n, t, e) {
|
|
|
23630
23643
|
G !== i && (i == null || i.pause());
|
|
23631
23644
|
});
|
|
23632
23645
|
});
|
|
23633
|
-
const
|
|
23646
|
+
const I = (G) => {
|
|
23634
23647
|
e(11, A = !1), e(0, o.paused = !1, o), e(9, p = !0), i && v.set({ currentMediaElement: i }), y.emit("playStateChange", {
|
|
23635
23648
|
event: G,
|
|
23636
23649
|
state: "playing",
|
|
@@ -23644,7 +23657,7 @@ function KI(n, t, e) {
|
|
|
23644
23657
|
tag: r,
|
|
23645
23658
|
mediaInstance: i
|
|
23646
23659
|
});
|
|
23647
|
-
},
|
|
23660
|
+
}, E = (G) => {
|
|
23648
23661
|
e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
|
|
23649
23662
|
event: G,
|
|
23650
23663
|
state: "paused",
|
|
@@ -23697,9 +23710,9 @@ function KI(n, t, e) {
|
|
|
23697
23710
|
v,
|
|
23698
23711
|
y,
|
|
23699
23712
|
s,
|
|
23700
|
-
E,
|
|
23701
|
-
k,
|
|
23702
23713
|
I,
|
|
23714
|
+
k,
|
|
23715
|
+
E,
|
|
23703
23716
|
j,
|
|
23704
23717
|
V,
|
|
23705
23718
|
W,
|
|
@@ -24103,10 +24116,10 @@ function nE(n) {
|
|
|
24103
24116
|
function sE(n, t, e) {
|
|
24104
24117
|
let i, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: h = 0 } = t, { duration: u = 0 } = t, { unfolded: f = !0 } = t, { animation: g = !0 } = t, { mediaItemConfig: A } = t, { enableCarousel: p = !0 } = t, { autoplayConfig: m = {} } = t;
|
|
24105
24118
|
const { autoplayVideo: v = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = m;
|
|
24106
|
-
let
|
|
24119
|
+
let I = [], k = 0, E, j = null;
|
|
24107
24120
|
const V = Ii("hooks"), W = Ii("mediaStore");
|
|
24108
24121
|
function _() {
|
|
24109
|
-
const U =
|
|
24122
|
+
const U = I[k], X = U == null ? void 0 : U.videoInstance;
|
|
24110
24123
|
X && (X.paused ? (X.muted = !1, X.play()) : X.pause());
|
|
24111
24124
|
}
|
|
24112
24125
|
Et(() => {
|
|
@@ -24115,7 +24128,7 @@ function sE(n, t, e) {
|
|
|
24115
24128
|
($ = (J = (X = a.tag3DContentSvelte) == null ? void 0 : X.css3DInstance) == null ? void 0 : J.css3DObject) != null && $.opacityMesh && U.tag.id === a.id && _();
|
|
24116
24129
|
}), j = setInterval(
|
|
24117
24130
|
() => {
|
|
24118
|
-
r && (
|
|
24131
|
+
r && (E == null || E.goToNext());
|
|
24119
24132
|
},
|
|
24120
24133
|
3e3
|
|
24121
24134
|
);
|
|
@@ -24123,24 +24136,24 @@ function sE(n, t, e) {
|
|
|
24123
24136
|
clearInterval(j), V.off("click", _);
|
|
24124
24137
|
});
|
|
24125
24138
|
function N(U, X) {
|
|
24126
|
-
n.$$.not_equal(
|
|
24139
|
+
n.$$.not_equal(I[X], U) && (I[X] = U, e(8, I));
|
|
24127
24140
|
}
|
|
24128
24141
|
function G(U) {
|
|
24129
24142
|
_e[U ? "unshift" : "push"](() => {
|
|
24130
|
-
|
|
24143
|
+
E = U, e(12, E);
|
|
24131
24144
|
});
|
|
24132
24145
|
}
|
|
24133
24146
|
const H = (U) => {
|
|
24134
24147
|
i || W.set({ currentMediaElement: null }), e(11, k = U.detail);
|
|
24135
24148
|
};
|
|
24136
24149
|
function F(U) {
|
|
24137
|
-
n.$$.not_equal(
|
|
24150
|
+
n.$$.not_equal(I[0], U) && (I[0] = U, e(8, I));
|
|
24138
24151
|
}
|
|
24139
24152
|
return n.$$set = (U) => {
|
|
24140
24153
|
"tag" in U && e(0, a = U.tag), "mediaData" in U && e(1, l = U.mediaData), "inDelay" in U && e(2, c = U.inDelay), "outDelay" in U && e(3, h = U.outDelay), "duration" in U && e(4, u = U.duration), "unfolded" in U && e(5, f = U.unfolded), "animation" in U && e(6, g = U.animation), "mediaItemConfig" in U && e(7, A = U.mediaItemConfig), "enableCarousel" in U && e(16, p = U.enableCarousel), "autoplayConfig" in U && e(17, m = U.autoplayConfig);
|
|
24141
24154
|
}, n.$$.update = () => {
|
|
24142
24155
|
n.$$.dirty[0] & /*mediaInstanceList*/
|
|
24143
|
-
256 && e(9, i =
|
|
24156
|
+
256 && e(9, i = I.every((U) => U.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
|
|
24144
24157
|
65538 && e(13, s = p && (l == null ? void 0 : l.length) > 1), n.$$.dirty[0] & /*mediaData*/
|
|
24145
24158
|
2 && e(10, o = l), n.$$.dirty[0] & /*mediaDataList, paused*/
|
|
24146
24159
|
1536 && (r = o.length > 1 && y && i);
|
|
@@ -24153,11 +24166,11 @@ function sE(n, t, e) {
|
|
|
24153
24166
|
f,
|
|
24154
24167
|
g,
|
|
24155
24168
|
A,
|
|
24156
|
-
|
|
24169
|
+
I,
|
|
24157
24170
|
i,
|
|
24158
24171
|
o,
|
|
24159
24172
|
k,
|
|
24160
|
-
|
|
24173
|
+
E,
|
|
24161
24174
|
s,
|
|
24162
24175
|
v,
|
|
24163
24176
|
W,
|
|
@@ -24649,7 +24662,7 @@ function $d(n) {
|
|
|
24649
24662
|
};
|
|
24650
24663
|
}
|
|
24651
24664
|
function hE(n) {
|
|
24652
|
-
var
|
|
24665
|
+
var I, k;
|
|
24653
24666
|
let t, e, i, s, o, r, a, l, c, h, u = (
|
|
24654
24667
|
/*data*/
|
|
24655
24668
|
n[3].title + ""
|
|
@@ -24672,7 +24685,7 @@ function hE(n) {
|
|
|
24672
24685
|
n[3].headerPictureUrl && Ud(n)
|
|
24673
24686
|
), y = (
|
|
24674
24687
|
/*primaryTags*/
|
|
24675
|
-
((
|
|
24688
|
+
((I = n[2].length) != null ? I : 0) + /*secondaryTags*/
|
|
24676
24689
|
((k = n[5].length) != null ? k : 0) > 0 && Yd(n)
|
|
24677
24690
|
), P = (
|
|
24678
24691
|
/*havePrice*/
|
|
@@ -24707,57 +24720,57 @@ function hE(n) {
|
|
|
24707
24720
|
n[8]
|
|
24708
24721
|
);
|
|
24709
24722
|
},
|
|
24710
|
-
m(
|
|
24711
|
-
B(
|
|
24723
|
+
m(E, j) {
|
|
24724
|
+
B(E, t, j), te(e, t, null), L(t, i), L(t, s), L(t, o), L(t, r), v && v.m(r, null), L(r, a), L(r, l), L(l, c), L(c, h), L(h, f), L(r, g), y && y.m(r, null), L(r, A), P && P.m(r, null), m = !0;
|
|
24712
24725
|
},
|
|
24713
|
-
p(
|
|
24726
|
+
p(E, [j]) {
|
|
24714
24727
|
var W, _;
|
|
24715
24728
|
const V = {};
|
|
24716
24729
|
j & /*unfolded*/
|
|
24717
24730
|
16 && (V.visible = /*unfolded*/
|
|
24718
|
-
|
|
24731
|
+
E[4]), e.$set(V), j & /*unfolded*/
|
|
24719
24732
|
16 && T(
|
|
24720
24733
|
s,
|
|
24721
24734
|
"transition-delay",
|
|
24722
24735
|
/*unfolded*/
|
|
24723
|
-
|
|
24736
|
+
E[4] ? Lo + "ms" : jo + tu - eu - 40 + "ms"
|
|
24724
24737
|
), /*data*/
|
|
24725
|
-
|
|
24738
|
+
E[3].headerPictureUrl ? v ? v.p(E, j) : (v = Ud(E), v.c(), v.m(r, a)) : v && (v.d(1), v = null), (!m || j & /*data*/
|
|
24726
24739
|
8) && u !== (u = /*data*/
|
|
24727
|
-
|
|
24728
|
-
((W =
|
|
24729
|
-
((_ =
|
|
24730
|
-
|
|
24731
|
-
|
|
24740
|
+
E[3].title + "") && De(f, u), /*primaryTags*/
|
|
24741
|
+
((W = E[2].length) != null ? W : 0) + /*secondaryTags*/
|
|
24742
|
+
((_ = E[5].length) != null ? _ : 0) > 0 ? y ? y.p(E, j) : (y = Yd(E), y.c(), y.m(r, A)) : y && (y.d(1), y = null), /*havePrice*/
|
|
24743
|
+
E[7] || /*data*/
|
|
24744
|
+
E[3].highlightText ? P ? P.p(E, j) : (P = Jd(E), P.c(), P.m(r, null)) : P && (P.d(1), P = null), j & /*unfolded*/
|
|
24732
24745
|
16 && T(
|
|
24733
24746
|
r,
|
|
24734
24747
|
"transition-delay",
|
|
24735
24748
|
/*unfolded*/
|
|
24736
|
-
|
|
24749
|
+
E[4] ? Lo + jo + "ms" : "0ms"
|
|
24737
24750
|
), (!m || j & /*theme*/
|
|
24738
24751
|
64 && p !== (p = Fe(`marketing ${/*theme*/
|
|
24739
|
-
|
|
24752
|
+
E[6]}`) + " svelte-sezqcq")) && C(t, "class", p), (!m || j & /*theme, unfolded*/
|
|
24740
24753
|
80) && q(
|
|
24741
24754
|
t,
|
|
24742
24755
|
"unfolded",
|
|
24743
24756
|
/*unfolded*/
|
|
24744
|
-
|
|
24757
|
+
E[4]
|
|
24745
24758
|
), (!m || j & /*theme, folded*/
|
|
24746
24759
|
320) && q(
|
|
24747
24760
|
t,
|
|
24748
24761
|
"folded",
|
|
24749
24762
|
/*folded*/
|
|
24750
|
-
|
|
24763
|
+
E[8]
|
|
24751
24764
|
);
|
|
24752
24765
|
},
|
|
24753
|
-
i(
|
|
24754
|
-
m || (x(e.$$.fragment,
|
|
24766
|
+
i(E) {
|
|
24767
|
+
m || (x(e.$$.fragment, E), m = !0);
|
|
24755
24768
|
},
|
|
24756
|
-
o(
|
|
24757
|
-
O(e.$$.fragment,
|
|
24769
|
+
o(E) {
|
|
24770
|
+
O(e.$$.fragment, E), m = !1;
|
|
24758
24771
|
},
|
|
24759
|
-
d(
|
|
24760
|
-
|
|
24772
|
+
d(E) {
|
|
24773
|
+
E && z(t), ie(e), v && v.d(), y && y.d(), P && P.d();
|
|
24761
24774
|
}
|
|
24762
24775
|
};
|
|
24763
24776
|
}
|
|
@@ -24777,7 +24790,7 @@ function dE(n, t, e) {
|
|
|
24777
24790
|
return n.$$set = (p) => {
|
|
24778
24791
|
"tag" in p && e(0, u = p.tag);
|
|
24779
24792
|
}, n.$$.update = () => {
|
|
24780
|
-
var p, m, v, y, P,
|
|
24793
|
+
var p, m, v, y, P, I;
|
|
24781
24794
|
n.$$.dirty & /*tag*/
|
|
24782
24795
|
1 && e(4, i = (m = (p = u.state) == null ? void 0 : p.unfolded) != null ? m : !1), n.$$.dirty & /*unfolded*/
|
|
24783
24796
|
16 && e(8, s = !i), n.$$.dirty & /*tag*/
|
|
@@ -24786,7 +24799,7 @@ function dE(n, t, e) {
|
|
|
24786
24799
|
1 && e(6, a = u.data.theme || "light"), n.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
|
|
24787
24800
|
1026 && f > 40 && e(10, l = l - 1), n.$$.dirty & /*data, maxTagsLength*/
|
|
24788
24801
|
1032 && e(2, c = ((P = o.brandTags) == null ? void 0 : P.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
|
|
24789
|
-
1036 && e(5, h = ((
|
|
24802
|
+
1036 && e(5, h = ((I = o.tags) == null ? void 0 : I.slice(0, l - c.length).filter(Boolean)) || []);
|
|
24790
24803
|
}, e(10, l = (g - 20) / Xl), [
|
|
24791
24804
|
u,
|
|
24792
24805
|
f,
|
|
@@ -25307,12 +25320,12 @@ function nu(n) {
|
|
|
25307
25320
|
},
|
|
25308
25321
|
p(y, P) {
|
|
25309
25322
|
var j, V;
|
|
25310
|
-
const
|
|
25323
|
+
const I = {};
|
|
25311
25324
|
P & /*unfolded*/
|
|
25312
|
-
64 && (
|
|
25325
|
+
64 && (I.visible = /*unfolded*/
|
|
25313
25326
|
y[6]), P & /*contentWidth*/
|
|
25314
|
-
8 && (
|
|
25315
|
-
y[3] / 2 + "px"), e.$set(
|
|
25327
|
+
8 && (I.left = /*contentWidth*/
|
|
25328
|
+
y[3] / 2 + "px"), e.$set(I), /*unfolded*/
|
|
25316
25329
|
y[6] ? p ? (p.p(y, P), P & /*unfolded*/
|
|
25317
25330
|
64 && x(p, 1)) : (p = su(y), p.c(), x(p, 1), p.m(r, null)) : p && (ue(), O(p, 1, 1, () => {
|
|
25318
25331
|
p = null;
|
|
@@ -25325,18 +25338,18 @@ function nu(n) {
|
|
|
25325
25338
|
y[1]), P & /*content*/
|
|
25326
25339
|
32 && (k.content = /*content*/
|
|
25327
25340
|
y[5]), c.$set(k);
|
|
25328
|
-
const
|
|
25341
|
+
const E = {};
|
|
25329
25342
|
P & /*unfolded*/
|
|
25330
|
-
64 && (
|
|
25343
|
+
64 && (E.unfolded = /*unfolded*/
|
|
25331
25344
|
y[6]), P & /*contentWidth*/
|
|
25332
|
-
8 && (
|
|
25345
|
+
8 && (E.length = /*contentWidth*/
|
|
25333
25346
|
y[3]), P & /*foldTextDelay, content*/
|
|
25334
|
-
48 && (
|
|
25347
|
+
48 && (E.outDelay = /*foldTextDelay*/
|
|
25335
25348
|
y[4] + 20 * Math.min(
|
|
25336
25349
|
/*content*/
|
|
25337
25350
|
(V = (j = y[5]) == null ? void 0 : j.length) != null ? V : 10,
|
|
25338
25351
|
15
|
|
25339
|
-
)), u.$set(
|
|
25352
|
+
)), u.$set(E), (!f || P & /*unfolded*/
|
|
25340
25353
|
64) && q(
|
|
25341
25354
|
t,
|
|
25342
25355
|
"unfolded",
|
|
@@ -26501,16 +26514,16 @@ function KE(n, t, e) {
|
|
|
26501
26514
|
const p = gr();
|
|
26502
26515
|
function m(P) {
|
|
26503
26516
|
return Q(this, null, function* () {
|
|
26504
|
-
const
|
|
26505
|
-
return p("iconLoaded",
|
|
26517
|
+
const I = yield QE(P);
|
|
26518
|
+
return p("iconLoaded", I), I;
|
|
26506
26519
|
});
|
|
26507
26520
|
}
|
|
26508
26521
|
function v(P) {
|
|
26509
26522
|
return Q(this, null, function* () {
|
|
26510
26523
|
if (typeof u == "number")
|
|
26511
26524
|
return se(D({}, P), { width: u });
|
|
26512
|
-
const
|
|
26513
|
-
return p("iconLoaded",
|
|
26525
|
+
const I = yield NE(P);
|
|
26526
|
+
return p("iconLoaded", I), I;
|
|
26514
26527
|
});
|
|
26515
26528
|
}
|
|
26516
26529
|
function y() {
|
|
@@ -26521,13 +26534,13 @@ function KE(n, t, e) {
|
|
|
26521
26534
|
}), n.$$set = (P) => {
|
|
26522
26535
|
"width" in P && e(1, f = P.width), "icon" in P && e(12, g = P.icon), "shadow" in P && e(0, A = P.shadow);
|
|
26523
26536
|
}, n.$$.update = () => {
|
|
26524
|
-
var P,
|
|
26537
|
+
var P, I;
|
|
26525
26538
|
n.$$.dirty & /*icon*/
|
|
26526
26539
|
4096 && e(7, i = g == null ? void 0 : g.url), n.$$.dirty & /*icon*/
|
|
26527
26540
|
4096 && e(2, s = (P = g == null ? void 0 : g.steps) != null ? P : 1), n.$$.dirty & /*icon*/
|
|
26528
26541
|
4096 && e(6, o = g == null ? void 0 : g.fps), n.$$.dirty & /*icon*/
|
|
26529
26542
|
4096 && e(5, r = g == null ? void 0 : g.ratio), n.$$.dirty & /*icon*/
|
|
26530
|
-
4096 && e(4, a = (
|
|
26543
|
+
4096 && e(4, a = (I = g == null ? void 0 : g.scale) != null ? I : 1), n.$$.dirty & /*icon*/
|
|
26531
26544
|
4096 && e(3, l = g == null ? void 0 : g.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26532
26545
|
252 && e(9, c = Ue({
|
|
26533
26546
|
url: i,
|
|
@@ -26910,14 +26923,14 @@ function g2(n) {
|
|
|
26910
26923
|
A2,
|
|
26911
26924
|
p2
|
|
26912
26925
|
], P = [];
|
|
26913
|
-
function
|
|
26914
|
-
return
|
|
26915
|
-
18 && (s = null),
|
|
26916
|
-
18 && (o = null),
|
|
26917
|
-
18 && (r = null),
|
|
26918
|
-
18 && (a = null),
|
|
26919
|
-
18 && (l = null),
|
|
26920
|
-
18 && (c = null),
|
|
26926
|
+
function I(k, E) {
|
|
26927
|
+
return E & /*tag, contentTypeMap*/
|
|
26928
|
+
18 && (s = null), E & /*tag, contentTypeMap*/
|
|
26929
|
+
18 && (o = null), E & /*tag, contentTypeMap*/
|
|
26930
|
+
18 && (r = null), E & /*tag, contentTypeMap*/
|
|
26931
|
+
18 && (a = null), E & /*tag, contentTypeMap*/
|
|
26932
|
+
18 && (l = null), E & /*tag, contentTypeMap*/
|
|
26933
|
+
18 && (c = null), E & /*tag, contentTypeMap*/
|
|
26921
26934
|
18 && (h = null), s == null && (s = !!(["Text"].includes(
|
|
26922
26935
|
/*tag*/
|
|
26923
26936
|
k[1].contentType
|
|
@@ -26983,7 +26996,7 @@ function g2(n) {
|
|
|
26983
26996
|
)
|
|
26984
26997
|
))), h ? 6 : -1))))));
|
|
26985
26998
|
}
|
|
26986
|
-
return ~(u =
|
|
26999
|
+
return ~(u = I(n, -1)) && (f = P[u] = y[u](n)), {
|
|
26987
27000
|
c() {
|
|
26988
27001
|
var k;
|
|
26989
27002
|
t = S("div"), e = S("div"), i = S("div"), f && f.c(), C(i, "class", "content svelte-qz1wo5"), q(
|
|
@@ -27030,62 +27043,62 @@ function g2(n) {
|
|
|
27030
27043
|
n[1].contentType === "MediaModel" ? "100%" : 0
|
|
27031
27044
|
);
|
|
27032
27045
|
},
|
|
27033
|
-
m(k,
|
|
27034
|
-
B(k, t,
|
|
27046
|
+
m(k, E) {
|
|
27047
|
+
B(k, t, E), L(t, e), L(e, i), ~u && P[u].m(i, null), p = !0, m || (v = Ae(t, "click", Pf(
|
|
27035
27048
|
/*click_handler_1*/
|
|
27036
27049
|
n[16]
|
|
27037
27050
|
)), m = !0);
|
|
27038
27051
|
},
|
|
27039
|
-
p(k,
|
|
27052
|
+
p(k, E) {
|
|
27040
27053
|
var V;
|
|
27041
27054
|
let j = u;
|
|
27042
|
-
u =
|
|
27055
|
+
u = I(k, E), u === j ? ~u && P[u].p(k, E) : (f && (ue(), O(P[j], 1, 1, () => {
|
|
27043
27056
|
P[j] = null;
|
|
27044
|
-
}), fe()), ~u ? (f = P[u], f ? f.p(k,
|
|
27057
|
+
}), fe()), ~u ? (f = P[u], f ? f.p(k, E) : (f = P[u] = y[u](k), f.c()), x(f, 1), f.m(i, null)) : f = null), (!p || E & /*tag*/
|
|
27045
27058
|
2) && q(
|
|
27046
27059
|
i,
|
|
27047
27060
|
"unfolded",
|
|
27048
27061
|
/*tag*/
|
|
27049
27062
|
(V = k[1].state) == null ? void 0 : V.unfolded
|
|
27050
|
-
), (!p ||
|
|
27063
|
+
), (!p || E & /*tag*/
|
|
27051
27064
|
2 && g !== (g = Fe(vt(
|
|
27052
27065
|
"content__container",
|
|
27053
27066
|
/*tag*/
|
|
27054
27067
|
k[1].className
|
|
27055
|
-
)) + " svelte-qz1wo5")) && C(t, "class", g), (!p ||
|
|
27068
|
+
)) + " svelte-qz1wo5")) && C(t, "class", g), (!p || E & /*tag*/
|
|
27056
27069
|
2 && A !== (A = /*tag*/
|
|
27057
|
-
k[1].id)) && C(t, "data-id", A), (!p ||
|
|
27070
|
+
k[1].id)) && C(t, "data-id", A), (!p || E & /*tag, tag*/
|
|
27058
27071
|
2) && q(
|
|
27059
27072
|
t,
|
|
27060
27073
|
"disable",
|
|
27061
27074
|
/*tag*/
|
|
27062
27075
|
k[1].enabled === !1
|
|
27063
|
-
), (!p ||
|
|
27076
|
+
), (!p || E & /*tag, isHide*/
|
|
27064
27077
|
66) && q(
|
|
27065
27078
|
t,
|
|
27066
27079
|
"hide",
|
|
27067
27080
|
/*isHide*/
|
|
27068
27081
|
k[6]
|
|
27069
|
-
), (!p ||
|
|
27082
|
+
), (!p || E & /*tag, withAnimation*/
|
|
27070
27083
|
3) && q(
|
|
27071
27084
|
t,
|
|
27072
27085
|
"withAnimation",
|
|
27073
27086
|
/*withAnimation*/
|
|
27074
27087
|
k[0]
|
|
27075
|
-
), (!p ||
|
|
27088
|
+
), (!p || E & /*tag, tag*/
|
|
27076
27089
|
2) && q(
|
|
27077
27090
|
t,
|
|
27078
27091
|
"unClickable",
|
|
27079
27092
|
/*tag*/
|
|
27080
27093
|
k[1].config.clickable === !1
|
|
27081
|
-
),
|
|
27094
|
+
), E & /*tag*/
|
|
27082
27095
|
2 && T(
|
|
27083
27096
|
t,
|
|
27084
27097
|
"width",
|
|
27085
27098
|
/*tag*/
|
|
27086
27099
|
k[1].stickType === "Plane" || /*tag*/
|
|
27087
27100
|
k[1].contentType === "MediaModel" ? "100%" : 0
|
|
27088
|
-
),
|
|
27101
|
+
), E & /*tag*/
|
|
27089
27102
|
2 && T(
|
|
27090
27103
|
t,
|
|
27091
27104
|
"height",
|
|
@@ -27463,16 +27476,16 @@ function E2(n, t, e) {
|
|
|
27463
27476
|
let i, s, o, r, a, l, { withAnimation: c = !1 } = t, { tag: h } = t, { hooks: u } = t, { rendererMap: f = /* @__PURE__ */ new Map() } = t, { contentTypeMap: g = /* @__PURE__ */ new Map() } = t, { state: A } = t, { mediaStore: p } = t, { temporaryState: m } = t;
|
|
27464
27477
|
Wa("hooks", u), Wa("mediaStore", p);
|
|
27465
27478
|
let v, y;
|
|
27466
|
-
function P(
|
|
27467
|
-
|
|
27479
|
+
function P(E) {
|
|
27480
|
+
E ? u.emit("exposure", { id: r, type: "start" }) : u.emit("exposure", { id: r, type: "end" });
|
|
27468
27481
|
}
|
|
27469
|
-
const
|
|
27470
|
-
return n.$$set = (
|
|
27471
|
-
"withAnimation" in
|
|
27482
|
+
const I = (E) => u.emit("click", { event: E, target: "TagContent", tag: h }), k = (E) => u.emit("click", { event: E, target: "TagContent", tag: h });
|
|
27483
|
+
return n.$$set = (E) => {
|
|
27484
|
+
"withAnimation" in E && e(0, c = E.withAnimation), "tag" in E && e(1, h = E.tag), "hooks" in E && e(2, u = E.hooks), "rendererMap" in E && e(3, f = E.rendererMap), "contentTypeMap" in E && e(4, g = E.contentTypeMap), "state" in E && e(7, A = E.state), "mediaStore" in E && e(8, p = E.mediaStore), "temporaryState" in E && e(9, m = E.temporaryState);
|
|
27472
27485
|
}, n.$$.update = () => {
|
|
27473
|
-
var
|
|
27486
|
+
var E, j, V, W, _, N, G, H, F, U, X;
|
|
27474
27487
|
n.$$.dirty & /*tag*/
|
|
27475
|
-
2 && e(13, i = (
|
|
27488
|
+
2 && e(13, i = (E = h.state) == null ? void 0 : E.unfolded), n.$$.dirty & /*tag*/
|
|
27476
27489
|
2 && e(12, s = (j = h.state) == null ? void 0 : j.visible), n.$$.dirty & /*state, temporaryState, tag*/
|
|
27477
27490
|
642 && e(14, o = A.visible && m.visible && ((V = h.state) == null ? void 0 : V.visible)), n.$$.dirty & /*tag*/
|
|
27478
27491
|
2 && (r = h.id), n.$$.dirty & /*tag, state, temporaryState*/
|
|
@@ -27496,7 +27509,7 @@ function E2(n, t, e) {
|
|
|
27496
27509
|
s,
|
|
27497
27510
|
i,
|
|
27498
27511
|
o,
|
|
27499
|
-
|
|
27512
|
+
I,
|
|
27500
27513
|
k
|
|
27501
27514
|
];
|
|
27502
27515
|
}
|
|
@@ -27663,20 +27676,20 @@ function x2(n, t, e) {
|
|
|
27663
27676
|
1 && e(3, s = !i), n.$$.dirty & /*tag*/
|
|
27664
27677
|
64 && e(2, o = (v = (m = l.style) == null ? void 0 : m.point) != null && v.url ? (y = l.style) == null ? void 0 : y.point : { url: vy }), n.$$.dirty & /*tag*/
|
|
27665
27678
|
64 && e(1, r = (() => {
|
|
27666
|
-
var k,
|
|
27667
|
-
const P = (
|
|
27679
|
+
var k, E, j, V;
|
|
27680
|
+
const P = (E = (k = l.style) == null ? void 0 : k.point) == null ? void 0 : E.width;
|
|
27668
27681
|
if (typeof P == "number")
|
|
27669
27682
|
return P;
|
|
27670
|
-
const
|
|
27671
|
-
if (typeof
|
|
27672
|
-
return
|
|
27673
|
-
if (
|
|
27683
|
+
const I = (V = (j = l.style) == null ? void 0 : j.point) == null ? void 0 : V.size;
|
|
27684
|
+
if (typeof I == "number")
|
|
27685
|
+
return I;
|
|
27686
|
+
if (I === "S")
|
|
27674
27687
|
return 18;
|
|
27675
|
-
if (
|
|
27688
|
+
if (I === "M")
|
|
27676
27689
|
return 20;
|
|
27677
|
-
if (
|
|
27690
|
+
if (I === "L")
|
|
27678
27691
|
return 24;
|
|
27679
|
-
if (
|
|
27692
|
+
if (I === "XL")
|
|
27680
27693
|
return 28;
|
|
27681
27694
|
})());
|
|
27682
27695
|
}, u(), [
|
|
@@ -27788,9 +27801,9 @@ function gu(n) {
|
|
|
27788
27801
|
i = g(v), i === P ? f[i].p(v, y) : (ue(), O(f[P], 1, 1, () => {
|
|
27789
27802
|
f[P] = null;
|
|
27790
27803
|
}), fe(), s = f[i], s ? s.p(v, y) : (s = f[i] = u[i](v), s.c()), x(s, 1), s.m(e, o));
|
|
27791
|
-
let
|
|
27792
|
-
r = m(v), r ===
|
|
27793
|
-
p[
|
|
27804
|
+
let I = r;
|
|
27805
|
+
r = m(v), r === I ? p[r].p(v, y) : (ue(), O(p[I], 1, 1, () => {
|
|
27806
|
+
p[I] = null;
|
|
27794
27807
|
}), fe(), a = p[r], a ? a.p(v, y) : (a = p[r] = A[r](v), a.c()), x(a, 1), a.m(e, null)), (!h || y & /*tag*/
|
|
27795
27808
|
2 && l !== (l = Fe(vt(
|
|
27796
27809
|
"wrapper",
|
|
@@ -28048,11 +28061,11 @@ function O2(n) {
|
|
|
28048
28061
|
}
|
|
28049
28062
|
function B2(n, t, e) {
|
|
28050
28063
|
let i, s, o, r, a, l, c, h, u, f, { withAnimation: g = !1 } = t, { tag: A } = t, { mediaStore: p } = t, { rendererMap: m = /* @__PURE__ */ new Map() } = t, { contentTypeMap: v = /* @__PURE__ */ new Map() } = t, { state: y } = t, { temporaryState: P } = t;
|
|
28051
|
-
const
|
|
28064
|
+
const I = Ii("hooks");
|
|
28052
28065
|
return n.$$set = (k) => {
|
|
28053
28066
|
"withAnimation" in k && e(0, g = k.withAnimation), "tag" in k && e(1, A = k.tag), "mediaStore" in k && e(2, p = k.mediaStore), "rendererMap" in k && e(3, m = k.rendererMap), "contentTypeMap" in k && e(4, v = k.contentTypeMap), "state" in k && e(5, y = k.state), "temporaryState" in k && e(6, P = k.temporaryState);
|
|
28054
28067
|
}, n.$$.update = () => {
|
|
28055
|
-
var k,
|
|
28068
|
+
var k, E, j, V;
|
|
28056
28069
|
n.$$.dirty & /*tag, rendererMap*/
|
|
28057
28070
|
10 && e(16, i = (() => {
|
|
28058
28071
|
var W, _, N;
|
|
@@ -28061,7 +28074,7 @@ function B2(n, t, e) {
|
|
|
28061
28074
|
2 && e(15, s = (() => A.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
|
|
28062
28075
|
2 && e(14, o = A.id), n.$$.dirty & /*tag*/
|
|
28063
28076
|
2 && e(13, r = A.enabled === !1 || !A.state), n.$$.dirty & /*tag*/
|
|
28064
|
-
2 && e(12, a = !((k = A.state) != null && k.visible) || ((
|
|
28077
|
+
2 && e(12, a = !((k = A.state) != null && k.visible) || ((E = A.temporaryState) == null ? void 0 : E.visible) === !1 || !A.screenPosition), n.$$.dirty & /*tag*/
|
|
28065
28078
|
2 && e(7, l = (j = A.state) == null ? void 0 : j.unfolded), n.$$.dirty & /*tag*/
|
|
28066
28079
|
2 && e(8, c = A.screenPosition), n.$$.dirty & /*screenPosition*/
|
|
28067
28080
|
256 && e(11, h = (c == null ? void 0 : c.leftPercent) + "%"), n.$$.dirty & /*screenPosition*/
|
|
@@ -28085,7 +28098,7 @@ function B2(n, t, e) {
|
|
|
28085
28098
|
o,
|
|
28086
28099
|
s,
|
|
28087
28100
|
i,
|
|
28088
|
-
|
|
28101
|
+
I
|
|
28089
28102
|
];
|
|
28090
28103
|
}
|
|
28091
28104
|
class R2 extends ce {
|
|
@@ -30641,12 +30654,12 @@ let hM = class extends pi {
|
|
|
30641
30654
|
width: (A = a == null ? void 0 : a.unitWidth) != null ? A : 0.6,
|
|
30642
30655
|
texture: { url: (p = a == null ? void 0 : a.arrowTextureUrl) != null ? p : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
|
|
30643
30656
|
}
|
|
30644
|
-
}, h = (v = (m = r.routes) == null ? void 0 : m.map((
|
|
30657
|
+
}, h = (v = (m = r.routes) == null ? void 0 : m.map((I) => {
|
|
30645
30658
|
var k;
|
|
30646
|
-
return Re({}, c, { id: (k =
|
|
30647
|
-
})) != null ? v : [], u = (P = (y = r.lines) == null ? void 0 : y.map((
|
|
30648
|
-
yield Zg(this.five), this.clear(), f.forEach((
|
|
30649
|
-
this.addGuideLineItem(
|
|
30659
|
+
return Re({}, c, { id: (k = I.id) != null ? k : nt(), pano_group: I.panoIndexList });
|
|
30660
|
+
})) != null ? v : [], u = (P = (y = r.lines) == null ? void 0 : y.map((I) => Re({}, c, I))) != null ? P : [], f = [...h, ...u];
|
|
30661
|
+
yield Zg(this.five), this.clear(), f.forEach((I) => {
|
|
30662
|
+
this.addGuideLineItem(I);
|
|
30650
30663
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", r), console.debug(`${Cu} loaded`, r);
|
|
30651
30664
|
});
|
|
30652
30665
|
}
|
|
@@ -30794,11 +30807,11 @@ function Xs(n) {
|
|
|
30794
30807
|
return t.applyMatrix4(uM(n.matrixWorld.clone())), t;
|
|
30795
30808
|
}
|
|
30796
30809
|
const uM = (n) => {
|
|
30797
|
-
const t = n.elements, e = t[0], i = t[1], s = t[2], o = t[3], r = t[4], a = t[5], l = t[6], c = t[7], h = t[8], u = t[9], f = t[10], g = t[11], A = t[12], p = t[13], m = t[14], v = t[15], y = u * m * c - p * f * c + p * l * g - a * m * g - u * l * v + a * f * v, P = A * f * c - h * m * c - A * l * g + r * m * g + h * l * v - r * f * v,
|
|
30798
|
-
if (
|
|
30810
|
+
const t = n.elements, e = t[0], i = t[1], s = t[2], o = t[3], r = t[4], a = t[5], l = t[6], c = t[7], h = t[8], u = t[9], f = t[10], g = t[11], A = t[12], p = t[13], m = t[14], v = t[15], y = u * m * c - p * f * c + p * l * g - a * m * g - u * l * v + a * f * v, P = A * f * c - h * m * c - A * l * g + r * m * g + h * l * v - r * f * v, I = h * p * c - A * u * c + A * a * g - r * p * g - h * a * v + r * u * v, k = A * u * l - h * p * l - A * a * f + r * p * f + h * a * m - r * u * m, E = e * y + i * P + s * I + o * k;
|
|
30811
|
+
if (E === 0)
|
|
30799
30812
|
return n.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
30800
|
-
const j = 1 /
|
|
30801
|
-
return t[0] = y * j, t[1] = (p * f * o - u * m * o - p * s * g + i * m * g + u * s * v - i * f * v) * j, t[2] = (a * m * o - p * l * o + p * s * c - i * m * c - a * s * v + i * l * v) * j, t[3] = (u * l * o - a * f * o - u * s * c + i * f * c + a * s * g - i * l * g) * j, t[4] = P * j, t[5] = (h * m * o - A * f * o + A * s * g - e * m * g - h * s * v + e * f * v) * j, t[6] = (A * l * o - r * m * o - A * s * c + e * m * c + r * s * v - e * l * v) * j, t[7] = (r * f * o - h * l * o + h * s * c - e * f * c - r * s * g + e * l * g) * j, t[8] =
|
|
30813
|
+
const j = 1 / E;
|
|
30814
|
+
return t[0] = y * j, t[1] = (p * f * o - u * m * o - p * s * g + i * m * g + u * s * v - i * f * v) * j, t[2] = (a * m * o - p * l * o + p * s * c - i * m * c - a * s * v + i * l * v) * j, t[3] = (u * l * o - a * f * o - u * s * c + i * f * c + a * s * g - i * l * g) * j, t[4] = P * j, t[5] = (h * m * o - A * f * o + A * s * g - e * m * g - h * s * v + e * f * v) * j, t[6] = (A * l * o - r * m * o - A * s * c + e * m * c + r * s * v - e * l * v) * j, t[7] = (r * f * o - h * l * o + h * s * c - e * f * c - r * s * g + e * l * g) * j, t[8] = I * j, t[9] = (A * u * o - h * p * o - A * i * g + e * p * g + h * i * v - e * u * v) * j, t[10] = (r * p * o - A * a * o + A * i * c - e * p * c - r * i * v + e * a * v) * j, t[11] = (h * a * o - r * u * o - h * i * c + e * u * c + r * i * g - e * a * g) * j, t[12] = k * j, t[13] = (h * p * s - A * u * s + A * i * f - e * p * f - h * i * m + e * u * m) * j, t[14] = (A * a * s - r * p * s - A * i * l + e * p * l + r * i * m - e * a * m) * j, t[15] = (r * u * s - h * a * s + h * i * l - e * u * l - r * i * f + e * a * f) * j, n;
|
|
30802
30815
|
};
|
|
30803
30816
|
class Zs extends Lt {
|
|
30804
30817
|
constructor(e, i) {
|
|
@@ -32296,9 +32309,9 @@ class HM extends Js {
|
|
|
32296
32309
|
case "nwse":
|
|
32297
32310
|
m(), v();
|
|
32298
32311
|
}
|
|
32299
|
-
const y = new oe().subVectors(r[1], r[0]).length() / u.length(), P = new oe().subVectors(r[3], r[0]).length() / f.length(),
|
|
32312
|
+
const y = new oe().subVectors(r[1], r[0]).length() / u.length(), P = new oe().subVectors(r[3], r[0]).length() / f.length(), I = new oe(y, P, 1), k = new w.Matrix4().scale(I);
|
|
32300
32313
|
i.isCSS3DObjectPlus ? i.applyScaleMatrix4(k) : i.scale.applyMatrix4(k), s.position.copy(a);
|
|
32301
|
-
const
|
|
32314
|
+
const E = new oe().addVectors(r[0], r[2]).divideScalar(2), j = new oe().subVectors(E, l), V = new w.Matrix4().setPosition(j);
|
|
32302
32315
|
i.applyMatrix4(V), (W = this.helperObject3D.css3DInstance) == null || W.css3DObject.applyMatrix4(V), (_ = this.helperObject3D.plane) == null || _.applyMatrix4(V), this.internalHooks.emit("applyObjectScale", { matrix: k }), this.internalHooks.emit("applyObjectPosition", { matrix: V }), this.render();
|
|
32303
32316
|
}
|
|
32304
32317
|
dragEnd() {
|
|
@@ -32505,15 +32518,15 @@ class $g extends sn {
|
|
|
32505
32518
|
return typeof P == "boolean" ? P : P.enable;
|
|
32506
32519
|
};
|
|
32507
32520
|
if (v(h)) {
|
|
32508
|
-
const P = D(D({}, this.getConfig(c.moveHelper)), c),
|
|
32521
|
+
const P = D(D({}, this.getConfig(c.moveHelper)), c), I = new wM(e, D({}, P)), k = new Cs(this.five, TM, e, I, P, p, m);
|
|
32509
32522
|
s.addControllers({ moveController: k.helperController }), o.push(() => k.dispose());
|
|
32510
32523
|
}
|
|
32511
32524
|
if (v(u)) {
|
|
32512
|
-
const P = D(D({}, this.getConfig(c.rotateHelper)), c),
|
|
32525
|
+
const P = D(D({}, this.getConfig(c.rotateHelper)), c), I = new IM(e, D({ container: r }, P)), k = new Cs(this.five, VM, e, I, P, p, m);
|
|
32513
32526
|
s.addControllers({ rotateController: k.helperController }), o.push(() => k.dispose());
|
|
32514
32527
|
}
|
|
32515
32528
|
if (v(g)) {
|
|
32516
|
-
const P = new SM(e),
|
|
32529
|
+
const P = new SM(e), I = new Cs(
|
|
32517
32530
|
this.five,
|
|
32518
32531
|
QM,
|
|
32519
32532
|
e,
|
|
@@ -32522,11 +32535,11 @@ class $g extends sn {
|
|
|
32522
32535
|
p,
|
|
32523
32536
|
m
|
|
32524
32537
|
);
|
|
32525
|
-
s.addControllers({ boundingBoxController:
|
|
32538
|
+
s.addControllers({ boundingBoxController: I.helperController });
|
|
32526
32539
|
}
|
|
32527
32540
|
if (v(f))
|
|
32528
32541
|
if (e.isCSS3DObjectPlus && r) {
|
|
32529
|
-
const P = new DM(e, r, a, this.five.scene),
|
|
32542
|
+
const P = new DM(e, r, a, this.five.scene), I = new Cs(
|
|
32530
32543
|
this.five,
|
|
32531
32544
|
NM,
|
|
32532
32545
|
e,
|
|
@@ -32535,18 +32548,18 @@ class $g extends sn {
|
|
|
32535
32548
|
p,
|
|
32536
32549
|
m
|
|
32537
32550
|
);
|
|
32538
|
-
s.addControllers({ scaleController:
|
|
32539
|
-
var k,
|
|
32551
|
+
s.addControllers({ scaleController: I.helperController }), o.push(() => I.dispose()), of(this.five).then(() => {
|
|
32552
|
+
var k, E;
|
|
32540
32553
|
if (e.isCSS3DObjectPlus) {
|
|
32541
32554
|
const j = e;
|
|
32542
32555
|
if (!j || j.mode !== "front")
|
|
32543
32556
|
return;
|
|
32544
32557
|
const V = (k = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? k : rf(this.five);
|
|
32545
|
-
V && (this.css3DObjectParentMap.set(j, j.parent), j.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(V), (
|
|
32558
|
+
V && (this.css3DObjectParentMap.set(j, j.parent), j.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(V), (E = this.css3DRender.getBehindCSS3DObjectGroup()) == null || E.add(j), this.css3DRender.render(this.five.camera));
|
|
32546
32559
|
}
|
|
32547
32560
|
});
|
|
32548
32561
|
} else {
|
|
32549
|
-
const P = D(D({}, this.getConfig(c.scaleHelper)), c),
|
|
32562
|
+
const P = D(D({}, this.getConfig(c.scaleHelper)), c), I = new GM(e, P), k = new Cs(this.five, _M, e, I, P, p, m);
|
|
32550
32563
|
s.addControllers({ scaleController: k.helperController }), o.push(() => k.dispose());
|
|
32551
32564
|
}
|
|
32552
32565
|
return this.objectHelperMap.set(e, { helper: s, disposers: o }), s.controllers;
|
|
@@ -36050,7 +36063,7 @@ function fm(n, t) {
|
|
|
36050
36063
|
else if (a.length === 1)
|
|
36051
36064
|
m.raycaster.ray.intersectPlane(c, l), o.setPoints([a.at(-1), l]);
|
|
36052
36065
|
else if (a.length === 2) {
|
|
36053
|
-
const v = m.raycaster.ray.intersectPlane(c, new w.Vector3()), y = a[0].distanceTo(a[1]) / 2, P = new w.Vector3().lerpVectors(a[0], a[1], 0.5),
|
|
36066
|
+
const v = m.raycaster.ray.intersectPlane(c, new w.Vector3()), y = a[0].distanceTo(a[1]) / 2, P = new w.Vector3().lerpVectors(a[0], a[1], 0.5), I = new w.Vector3().subVectors(v, P).normalize(), k = new w.Vector3().addVectors(P, I.multiplyScalar(y));
|
|
36054
36067
|
l.copy(k), s.remove(o), n.setPoints([...a, l]);
|
|
36055
36068
|
}
|
|
36056
36069
|
}
|
|
@@ -36986,13 +36999,13 @@ class A3 extends pi {
|
|
|
36986
36999
|
});
|
|
36987
37000
|
this.items.push(a);
|
|
36988
37001
|
} else if (s.type === "box") {
|
|
36989
|
-
const r = new ar(), { start: a, end: l, rotation: c, opacity: h, color: u } = s.object_data, f = new w.Vector3().fromArray(a), g = new w.Vector3().fromArray(l), A = new w.Euler().fromArray(c), p = new w.Quaternion().setFromEuler(A), m = new w.Box3();
|
|
36990
|
-
|
|
36991
|
-
points: [Gi(
|
|
36992
|
-
heightPoint: Gi(
|
|
36993
|
-
}), r.
|
|
36994
|
-
const
|
|
36995
|
-
this.items.push(
|
|
37002
|
+
const r = new ar(), { start: a, end: l, rotation: c, opacity: h, color: u } = s.object_data, f = new w.Vector3().fromArray(a), g = new w.Vector3().fromArray(l), A = new w.Euler().fromArray(c), p = new w.Quaternion().setFromEuler(A), m = p.clone().inverse(), v = new w.Vector3().lerpVectors(f, g, 0.5), y = v.clone().negate(), P = f.clone().add(y).applyQuaternion(m), I = g.clone().add(y).applyQuaternion(m), k = new w.Box3(P.clone().max(I), P.clone().min(I));
|
|
37003
|
+
r.setPoints({
|
|
37004
|
+
points: [Gi(k, 2), Gi(k, 3), Gi(k, 7), Gi(k, 6)],
|
|
37005
|
+
heightPoint: Gi(k, 0)
|
|
37006
|
+
}), r.position.copy(v), r.quaternion.copy(p), r.setStyle({ color: u, opacity: h, lineColor: u, occlusionVisibility: !1 });
|
|
37007
|
+
const E = new c3({ five: this.five, model: r, group: this.group, type: s.type, rawData: s });
|
|
37008
|
+
this.items.push(E);
|
|
36996
37009
|
}
|
|
36997
37010
|
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer();
|
|
36998
37011
|
});
|