@realsee/dnalogel 3.31.0 → 3.31.1
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 +3 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +0 -5
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +467 -473
- package/dist/index.umd.js +3 -3
- 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/ModelMakerPluginInstance.html +3 -3
- 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.blink.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.reblink.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.BlinkAnimeOptions.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/interfaces/Util.ReBlinkAnimeOptions.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/PanoTagPlugin/controller/TagUtil.d.ts +0 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +153 -159
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,16 +39,16 @@ var Q = (n, t, e) => new Promise((i, s) => {
|
|
|
39
39
|
import { Camera as km, Subscribe as Tt, Five as dt } from "@realsee/five";
|
|
40
40
|
import * as w from "three";
|
|
41
41
|
import { Vector3 as oe, LineSegments as xm, Group as Tn, Raycaster as Zn, MeshBasicMaterial as Hs, CanvasTexture as Dm, AnimationMixer as Sm, Color as Jn, TextureLoader as Ku, Vector2 as yt, Object3D as Tm, PlaneGeometry as Lm, sRGBEncoding as jm, LinearFilter as Ga, Mesh as Ts, CurvePath as zm, LineCurve3 as Om, TubeGeometry as Bm, ShaderMaterial as $u, SphereGeometry as Rm, DoubleSide as ef, RingGeometry as Vm, Quaternion as ul, Euler as lc, Matrix4 as ks, VideoTexture as Hm, Vector4 as Nm, SphereBufferGeometry as Qm } from "three";
|
|
42
|
-
import { CSS3DRenderer as Gm, CSS3DObject as
|
|
42
|
+
import { CSS3DRenderer as Gm, CSS3DObject as Fa } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
43
|
import ur from "hammerjs";
|
|
44
|
-
import
|
|
45
|
-
import { Line as
|
|
44
|
+
import _o from "animejs";
|
|
45
|
+
import { Line as Fm, LineGeometry as cc, LineMaterial as _m, THREE_Line2 as Wm } from "@realsee/five/line";
|
|
46
46
|
import { FBXLoader as tf } from "three/examples/jsm/loaders/FBXLoader";
|
|
47
47
|
import Um from "earcut";
|
|
48
48
|
import { GLTFLoader as Ym } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Xm() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.31.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.31.1",
|
|
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",
|
|
@@ -327,11 +327,11 @@ var Gt = Object.freeze({
|
|
|
327
327
|
return n._nextId++;
|
|
328
328
|
}, n._nextId = 0, n;
|
|
329
329
|
}()
|
|
330
|
-
),
|
|
330
|
+
), _a = new sf(), fr = (
|
|
331
331
|
/** @class */
|
|
332
332
|
function() {
|
|
333
333
|
function n(t, e) {
|
|
334
|
-
e === void 0 && (e =
|
|
334
|
+
e === void 0 && (e = _a), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Gt.Linear.None, this._interpolationFunction = Wi.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = fl.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
|
|
335
335
|
}
|
|
336
336
|
return n.prototype.getId = function() {
|
|
337
337
|
return this._id;
|
|
@@ -418,7 +418,7 @@ var Gt = Object.freeze({
|
|
|
418
418
|
this._chainedTweens[t].stop();
|
|
419
419
|
return this;
|
|
420
420
|
}, n.prototype.group = function(t) {
|
|
421
|
-
return t === void 0 && (t =
|
|
421
|
+
return t === void 0 && (t = _a), this._group = t, this;
|
|
422
422
|
}, n.prototype.delay = function(t) {
|
|
423
423
|
return t === void 0 && (t = 0), this._delayTime = t, this;
|
|
424
424
|
}, n.prototype.repeat = function(t) {
|
|
@@ -495,7 +495,7 @@ var Gt = Object.freeze({
|
|
|
495
495
|
typeof i == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(i) : this._valuesStartRepeat[t] = this._valuesEnd[t], this._valuesEnd[t] = e;
|
|
496
496
|
}, n;
|
|
497
497
|
}()
|
|
498
|
-
), $m = "23.1.1", ep = fl.nextId, ti =
|
|
498
|
+
), $m = "23.1.1", ep = fl.nextId, ti = _a, tp = ti.getAll.bind(ti), ip = ti.removeAll.bind(ti), np = ti.add.bind(ti), of = ti.remove.bind(ti), sp = ti.update.bind(ti), fc = {
|
|
499
499
|
Easing: Gt,
|
|
500
500
|
Group: sf,
|
|
501
501
|
Interpolation: Wi,
|
|
@@ -1075,29 +1075,29 @@ const R3 = (n, t) => {
|
|
|
1075
1075
|
}), t == null ? void 0 : t.config), l = new w.Scene(), c = new km(60);
|
|
1076
1076
|
let h = new w.Object3D(), u, f;
|
|
1077
1077
|
{
|
|
1078
|
-
const
|
|
1079
|
-
|
|
1078
|
+
const F = new w.DirectionalLight(16777215, 0.5);
|
|
1079
|
+
F.position.copy(new w.Vector3(1, 1, 1)), l.add(F);
|
|
1080
1080
|
}
|
|
1081
1081
|
{
|
|
1082
|
-
const
|
|
1083
|
-
l.add(
|
|
1082
|
+
const F = new w.DirectionalLight(16777215, 0.3);
|
|
1083
|
+
l.add(F);
|
|
1084
1084
|
}
|
|
1085
1085
|
{
|
|
1086
|
-
const
|
|
1087
|
-
l.add(
|
|
1086
|
+
const F = new w.AmbientLight(16777215, 0.3);
|
|
1087
|
+
l.add(F);
|
|
1088
1088
|
}
|
|
1089
1089
|
l.add(h);
|
|
1090
1090
|
const g = () => {
|
|
1091
1091
|
if (i)
|
|
1092
1092
|
return;
|
|
1093
1093
|
u = k(n.model, c.fov, c.aspect), f = n.model.bounding.getCenter(new w.Vector3()), l.remove(h), h = U(n.model), l.add(h), i = !0, j();
|
|
1094
|
-
function
|
|
1094
|
+
function F(Z) {
|
|
1095
1095
|
const X = Z.clone();
|
|
1096
1096
|
return X.uniforms.modelAlpha.value = 1, X.uniforms.map.value && (X.uniforms.map.value.needsUpdate = !0), X;
|
|
1097
1097
|
}
|
|
1098
1098
|
function U(Z) {
|
|
1099
1099
|
if (Z instanceof w.Mesh) {
|
|
1100
|
-
const X = Z.geometry, $ = Array.isArray(Z.material) ? Z.material.map(
|
|
1100
|
+
const X = Z.geometry, $ = Array.isArray(Z.material) ? Z.material.map(F) : F(Z.material);
|
|
1101
1101
|
return new w.Mesh(X, $);
|
|
1102
1102
|
} else if (Z instanceof w.Group) {
|
|
1103
1103
|
const X = new w.Group();
|
|
@@ -1111,8 +1111,8 @@ const R3 = (n, t) => {
|
|
|
1111
1111
|
if (n.renderer)
|
|
1112
1112
|
return o || (o = new w.WebGLRenderer({ antialias: !1, alpha: !0 }), o.setPixelRatio(n.renderer.getPixelRatio()), o.outputEncoding = w.sRGBEncoding, o.setClearColor(1579548, 0), o.autoClear = !0), o;
|
|
1113
1113
|
}, p = () => {
|
|
1114
|
-
h.traverse((
|
|
1115
|
-
|
|
1114
|
+
h.traverse((F) => {
|
|
1115
|
+
F instanceof w.Mesh && [].concat(F.material).forEach((Z) => Z.dispose());
|
|
1116
1116
|
}), l.remove(h), h = new w.Object3D(), l.add(h), i = !1, j();
|
|
1117
1117
|
}, m = () => {
|
|
1118
1118
|
e && (i || g());
|
|
@@ -1120,49 +1120,49 @@ const R3 = (n, t) => {
|
|
|
1120
1120
|
e || (e = !0, l.add(h), !i && n.model.loaded && g(), j());
|
|
1121
1121
|
}, y = () => {
|
|
1122
1122
|
e && (l.remove(h), s = !0, V(), e = !1);
|
|
1123
|
-
}, P = (
|
|
1123
|
+
}, P = (F, U = {}) => {
|
|
1124
1124
|
const Z = A();
|
|
1125
1125
|
if (!Z)
|
|
1126
1126
|
return;
|
|
1127
|
-
|
|
1128
|
-
const X = window.getComputedStyle(
|
|
1129
|
-
X !== "relative" && X !== "absolute" && X !== "fixed" && X !== "sticky" && (
|
|
1130
|
-
}, I = (
|
|
1127
|
+
F.appendChild(Z.domElement), I(U);
|
|
1128
|
+
const X = window.getComputedStyle(F).position;
|
|
1129
|
+
X !== "relative" && X !== "absolute" && X !== "fixed" && X !== "sticky" && (F.style.position = "relative");
|
|
1130
|
+
}, I = (F = {}) => {
|
|
1131
1131
|
if (!o)
|
|
1132
1132
|
return;
|
|
1133
1133
|
const Z = o.domElement.parentNode;
|
|
1134
1134
|
if (Z != null && Z.nodeName) {
|
|
1135
|
-
const { width: X = Z.offsetWidth, height: $ = Z.offsetHeight } =
|
|
1135
|
+
const { width: X = Z.offsetWidth, height: $ = Z.offsetHeight } = F;
|
|
1136
1136
|
o.setSize(X, $), c.aspect = X / $, c.updateProjectionMatrix();
|
|
1137
1137
|
}
|
|
1138
1138
|
j();
|
|
1139
1139
|
};
|
|
1140
|
-
function k(
|
|
1141
|
-
const X =
|
|
1140
|
+
function k(F, U, Z) {
|
|
1141
|
+
const X = F.bounding, $ = Math.pow(
|
|
1142
1142
|
Math.pow(X.max.x - X.min.x + 1, 2) + Math.pow(X.max.y - X.min.y + 1, 2) + Math.pow(X.max.z - X.min.z + 1, 2),
|
|
1143
1143
|
1 / 2
|
|
1144
1144
|
);
|
|
1145
1145
|
let de = $ / 2 / Math.tan(Math.PI * U / 360);
|
|
1146
1146
|
return Z < 1 && (de = de / Z), isNaN(de) ? $ : de;
|
|
1147
1147
|
}
|
|
1148
|
-
function E(
|
|
1149
|
-
return n.work.observers[
|
|
1148
|
+
function E(F) {
|
|
1149
|
+
return n.work.observers[F].standingPosition.clone();
|
|
1150
1150
|
}
|
|
1151
1151
|
const j = () => {
|
|
1152
1152
|
if (!e || !u || !f)
|
|
1153
1153
|
return;
|
|
1154
|
-
const
|
|
1155
|
-
|
|
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 = 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 = () => {
|
|
1159
1159
|
o && o.dispose(), o = null;
|
|
1160
|
-
},
|
|
1161
|
-
Object.assign(a,
|
|
1160
|
+
}, _ = (F) => {
|
|
1161
|
+
Object.assign(a, F), j();
|
|
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: I, changeConfigs:
|
|
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: b, disable: y, getCurrentState: N };
|
|
1166
1166
|
}, hp = ({ 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) : hp(n);
|
|
@@ -1341,7 +1341,7 @@ function Ti(...n) {
|
|
|
1341
1341
|
return n.forEach((e) => t.add(e)), t.divideScalar(n.length), t;
|
|
1342
1342
|
}
|
|
1343
1343
|
const gl = (n) => n ? n.visible === !1 ? !1 : gl(n.parent) : !0, rf = 1, pp = `CSS3DObjectPlus@${rf}`, Ap = 216e-5, vp = 3e-3;
|
|
1344
|
-
class bp extends
|
|
1344
|
+
class bp extends Fa {
|
|
1345
1345
|
constructor(e) {
|
|
1346
1346
|
var k, E, j;
|
|
1347
1347
|
const i = e.container, s = e.cornerPoints, o = (k = e.ratio) != null ? k : vp, r = (E = e.dpr) != null ? E : 1, a = (j = e.pointerEvents) != null ? j : "auto", l = Math.max(Ap, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = Wo(c / o * r), f = Wo(h / o * r), g = Ti(...s);
|
|
@@ -1767,9 +1767,9 @@ class Ns {
|
|
|
1767
1767
|
handleDisable() {
|
|
1768
1768
|
var t, e, i;
|
|
1769
1769
|
this.store.frontModeGroup.children.forEach((s) => {
|
|
1770
|
-
s instanceof
|
|
1770
|
+
s instanceof Fa && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
1771
1771
|
}), (t = this.store.behindModeGroup) == null || t.children.forEach((s) => {
|
|
1772
|
-
s instanceof
|
|
1772
|
+
s instanceof Fa && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
1773
1773
|
}), (e = this.getFrontCSS3DScene()) == null || e.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((i = this.getBehindCSS3DScene()) == null || i.remove(this.store.behindModeGroup));
|
|
1774
1774
|
}
|
|
1775
1775
|
handleDispose() {
|
|
@@ -2303,7 +2303,7 @@ function pl(n, t) {
|
|
|
2303
2303
|
h && s.push(h);
|
|
2304
2304
|
})) : s.push(c));
|
|
2305
2305
|
}), i = [...new Set(s)], Qp(i);
|
|
2306
|
-
const o =
|
|
2306
|
+
const o = _o(D({
|
|
2307
2307
|
targets: i,
|
|
2308
2308
|
duration: 300,
|
|
2309
2309
|
easing: "linear",
|
|
@@ -2378,7 +2378,7 @@ function Rn(n, t = Gt.Linear.None) {
|
|
|
2378
2378
|
const e = new Ki({ progress: 0 }).to({ progress: 1 });
|
|
2379
2379
|
return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
|
|
2380
2380
|
}
|
|
2381
|
-
const Qs = window.requestAnimationFrame || ((n) => setTimeout(n, 16)),
|
|
2381
|
+
const Qs = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), Fp = window.cancelAnimationFrame || clearTimeout;
|
|
2382
2382
|
function gr(n, t = 0) {
|
|
2383
2383
|
t <= 0 ? Qs(n) : Qs(() => gr(n, t - 1));
|
|
2384
2384
|
}
|
|
@@ -2389,10 +2389,10 @@ function qn(n, t = 60) {
|
|
|
2389
2389
|
s === -1 && (s = a), e = Qs(r), !(a - i < o) && (i = a, n == null || n(a - s));
|
|
2390
2390
|
}
|
|
2391
2391
|
return e = Qs(r), function() {
|
|
2392
|
-
|
|
2392
|
+
Fp(e);
|
|
2393
2393
|
};
|
|
2394
2394
|
}
|
|
2395
|
-
function
|
|
2395
|
+
function _p() {
|
|
2396
2396
|
const n = Date.now();
|
|
2397
2397
|
return new Promise((t) => {
|
|
2398
2398
|
Qs(() => {
|
|
@@ -2470,7 +2470,7 @@ const H3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2470
2470
|
equal: bt,
|
|
2471
2471
|
getCoordsFromClient: Sp,
|
|
2472
2472
|
getCoordsFromElement: hf,
|
|
2473
|
-
getFrameTime:
|
|
2473
|
+
getFrameTime: _p,
|
|
2474
2474
|
getIntersectFromRelativePosition: Lp,
|
|
2475
2475
|
getRaycasterFromFivePointer: Tp,
|
|
2476
2476
|
isAbsoluteURL: vf,
|
|
@@ -2581,7 +2581,7 @@ let Jp = class extends Ns {
|
|
|
2581
2581
|
}
|
|
2582
2582
|
};
|
|
2583
2583
|
const yf = (n) => new Jp(n), pr = yf;
|
|
2584
|
-
class wf extends
|
|
2584
|
+
class wf extends Fm {
|
|
2585
2585
|
constructor(...t) {
|
|
2586
2586
|
super(...t);
|
|
2587
2587
|
}
|
|
@@ -2721,10 +2721,10 @@ function ts(n) {
|
|
|
2721
2721
|
}
|
|
2722
2722
|
return -1;
|
|
2723
2723
|
}
|
|
2724
|
-
function
|
|
2724
|
+
function _e(n) {
|
|
2725
2725
|
return n == null ? "" : n;
|
|
2726
2726
|
}
|
|
2727
|
-
function
|
|
2727
|
+
function Ft(n) {
|
|
2728
2728
|
return n && oi(n.destroy) ? n.destroy : J;
|
|
2729
2729
|
}
|
|
2730
2730
|
function vc(n) {
|
|
@@ -2779,7 +2779,7 @@ function B(n, t, e) {
|
|
|
2779
2779
|
function z(n) {
|
|
2780
2780
|
n.parentNode && n.parentNode.removeChild(n);
|
|
2781
2781
|
}
|
|
2782
|
-
function
|
|
2782
|
+
function _t(n, t) {
|
|
2783
2783
|
for (let e = 0; e < n.length; e += 1)
|
|
2784
2784
|
n[e] && n[e].d(t);
|
|
2785
2785
|
}
|
|
@@ -3221,8 +3221,8 @@ function Ut(n, t, e, i, s, o, r, a, l, c, h, u) {
|
|
|
3221
3221
|
x(j, 1), j.m(a, h), r.set(j.key, j), h = j.first, g--;
|
|
3222
3222
|
}
|
|
3223
3223
|
for (; f && g; ) {
|
|
3224
|
-
const j = m[g - 1], V = n[f - 1], W = j.key,
|
|
3225
|
-
j === V ? (h = j.first, f--, g--) : b.has(
|
|
3224
|
+
const j = m[g - 1], V = n[f - 1], W = j.key, _ = V.key;
|
|
3225
|
+
j === V ? (h = j.first, f--, g--) : b.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--);
|
|
3226
3226
|
}
|
|
3227
3227
|
for (; f--; ) {
|
|
3228
3228
|
const j = n[f];
|
|
@@ -3797,7 +3797,7 @@ function zA(n) {
|
|
|
3797
3797
|
for (let u = 0; u < e.length; u += 1)
|
|
3798
3798
|
e[u] && e[u].m(t, null);
|
|
3799
3799
|
s = !0, o || (r = [
|
|
3800
|
-
|
|
3800
|
+
Ft(zi.call(null, t)),
|
|
3801
3801
|
Ae(
|
|
3802
3802
|
t,
|
|
3803
3803
|
"clientWidth",
|
|
@@ -3858,7 +3858,7 @@ function OA(n, t, e) {
|
|
|
3858
3858
|
const j = P.get(E.id);
|
|
3859
3859
|
if (j)
|
|
3860
3860
|
return j;
|
|
3861
|
-
const { x: V, y: W, z:
|
|
3861
|
+
const { x: V, y: W, z: _ } = E.position, N = new oe(V, W, _).clone().distanceTo(s.camera.position);
|
|
3862
3862
|
return P.set(E.id, N), N;
|
|
3863
3863
|
}
|
|
3864
3864
|
return o.map((E) => {
|
|
@@ -3989,7 +3989,7 @@ class VA {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
|
-
const G3 = (n) => new VA(n),
|
|
3992
|
+
const G3 = (n) => new VA(n), F3 = {
|
|
3993
3993
|
name: "ModelRoomLabelPlugin",
|
|
3994
3994
|
version: 0
|
|
3995
3995
|
};
|
|
@@ -4106,10 +4106,10 @@ class GA extends ce {
|
|
|
4106
4106
|
super(), le(this, t, QA, NA, ae, { url: 0 }, HA);
|
|
4107
4107
|
}
|
|
4108
4108
|
}
|
|
4109
|
-
function
|
|
4109
|
+
function FA(n) {
|
|
4110
4110
|
ge(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
4111
4111
|
}
|
|
4112
|
-
function
|
|
4112
|
+
function _A(n) {
|
|
4113
4113
|
let t, e, i, s;
|
|
4114
4114
|
return {
|
|
4115
4115
|
c() {
|
|
@@ -4158,7 +4158,7 @@ function WA(n, t, e) {
|
|
|
4158
4158
|
}
|
|
4159
4159
|
class UA extends ce {
|
|
4160
4160
|
constructor(t) {
|
|
4161
|
-
super(), le(this, t, WA,
|
|
4161
|
+
super(), le(this, t, WA, _A, ae, { content: 0 }, FA);
|
|
4162
4162
|
}
|
|
4163
4163
|
}
|
|
4164
4164
|
function YA(n) {
|
|
@@ -4323,7 +4323,7 @@ function ev(n) {
|
|
|
4323
4323
|
},
|
|
4324
4324
|
m(h, u) {
|
|
4325
4325
|
B(h, t, u), a && a.m(t, null), L(t, e), l && l.m(t, null), B(h, i, u), c && c.m(h, u), B(h, s, u), o || (r = [
|
|
4326
|
-
|
|
4326
|
+
Ft(zi.call(null, t)),
|
|
4327
4327
|
Ae(
|
|
4328
4328
|
t,
|
|
4329
4329
|
"clientWidth",
|
|
@@ -4494,7 +4494,7 @@ function tv(n) {
|
|
|
4494
4494
|
},
|
|
4495
4495
|
m(a, l) {
|
|
4496
4496
|
B(a, t, l), r && r.m(t, null), e || (i = [
|
|
4497
|
-
|
|
4497
|
+
Ft(zi.call(null, t)),
|
|
4498
4498
|
Ae(
|
|
4499
4499
|
t,
|
|
4500
4500
|
"clientWidth",
|
|
@@ -4542,10 +4542,10 @@ function iv(n, t) {
|
|
|
4542
4542
|
}
|
|
4543
4543
|
function nv(n, t, e) {
|
|
4544
4544
|
let i, s, o, r, a, l, c, h, u, f, g, A, p, { pxmm: m } = t, { roomAreaEnable: b } = 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;
|
|
4545
|
-
function
|
|
4545
|
+
function _(ee, ve) {
|
|
4546
4546
|
if (ve.width === 0 || ve.height === 0)
|
|
4547
4547
|
return () => !1;
|
|
4548
|
-
const je = ee.path.map(({ x:
|
|
4548
|
+
const je = ee.path.map(({ x: Fe, y: Ye }) => [Fe, Ye]), me = ee.roomLabel.position, { x: tt, y: at } = me, { width: xe, height: st } = ve, re = xe / 2, Ie = st / 2;
|
|
4549
4549
|
return function(Ye) {
|
|
4550
4550
|
const Mt = tt * Ye, ot = at * Ye, Ct = je.map(([Ne, Je]) => [Ne * Ye, Je * Ye]);
|
|
4551
4551
|
return [
|
|
@@ -4556,7 +4556,7 @@ function nv(n, t, e) {
|
|
|
4556
4556
|
].every((Ne) => iv(Ne, Ct));
|
|
4557
4557
|
};
|
|
4558
4558
|
}
|
|
4559
|
-
const N = document.body.clientWidth, G = document.body.clientHeight, H = I.roomLabel,
|
|
4559
|
+
const N = document.body.clientWidth, G = document.body.clientHeight, H = I.roomLabel, F = H.positionInImage.x * 100 + "%", U = H.positionInImage.y * 100 + "%", Z = (N < 500 || G < 500 ? 10 : 14) + "px", X = (N < 500 || G < 500 ? 8 : 12) + "px";
|
|
4560
4560
|
let $ = 0, de = 0, he = 0, Pe = 0, Ce = !1;
|
|
4561
4561
|
k.subscribe(function(ve) {
|
|
4562
4562
|
e(25, Ce = !!ve && ve.id === I.id);
|
|
@@ -4580,13 +4580,13 @@ function nv(n, t, e) {
|
|
|
4580
4580
|
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*/
|
|
4581
4581
|
384 && e(31, r = { width: he, height: Pe }), n.$$.dirty[0] & /*room*/
|
|
4582
4582
|
8 | n.$$.dirty[1] & /*labelElementSize*/
|
|
4583
|
-
1 && e(30, a = r ?
|
|
4583
|
+
1 && e(30, a = r ? _(I, r) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
|
|
4584
4584
|
1091567616 && e(27, l = W ? !!(a != null && a(m)) : !0), n.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
|
|
4585
4585
|
96 && e(29, c = {
|
|
4586
4586
|
width: $,
|
|
4587
4587
|
height: de
|
|
4588
4588
|
}), n.$$.dirty[0] & /*wrapperLabelElementSize, room*/
|
|
4589
|
-
536870920 && e(28, h = c ?
|
|
4589
|
+
536870920 && e(28, h = c ? _(I, c) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
|
|
4590
4590
|
286261248 && e(26, u = W ? !!(h != null && h(m)) : !0), n.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
|
|
4591
4591
|
234881024 && e(12, f = u || l || Ce), n.$$.dirty[0] & /*mainLabelVisible, isHovered*/
|
|
4592
4592
|
167772160 && e(11, g = l || Ce), n.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
|
|
@@ -4609,7 +4609,7 @@ function nv(n, t, e) {
|
|
|
4609
4609
|
o,
|
|
4610
4610
|
s,
|
|
4611
4611
|
i,
|
|
4612
|
-
|
|
4612
|
+
F,
|
|
4613
4613
|
U,
|
|
4614
4614
|
Z,
|
|
4615
4615
|
X,
|
|
@@ -4688,7 +4688,7 @@ function xc(n) {
|
|
|
4688
4688
|
for (let u = 0; u < e.length; u += 1)
|
|
4689
4689
|
e[u] && e[u].m(t, null);
|
|
4690
4690
|
s = !0, o || (r = [
|
|
4691
|
-
|
|
4691
|
+
Ft(zi.call(null, t)),
|
|
4692
4692
|
Ae(
|
|
4693
4693
|
t,
|
|
4694
4694
|
"clientWidth",
|
|
@@ -5089,7 +5089,7 @@ function hv(n) {
|
|
|
5089
5089
|
i: J,
|
|
5090
5090
|
o: J,
|
|
5091
5091
|
d(A) {
|
|
5092
|
-
A && z(t),
|
|
5092
|
+
A && z(t), _t(u, A);
|
|
5093
5093
|
for (let p = 0; p < a.length; p += 1)
|
|
5094
5094
|
a[p].d();
|
|
5095
5095
|
}
|
|
@@ -5721,7 +5721,7 @@ function jv(n) {
|
|
|
5721
5721
|
e = !1;
|
|
5722
5722
|
},
|
|
5723
5723
|
d(r) {
|
|
5724
|
-
r && z(t),
|
|
5724
|
+
r && z(t), _t(s, r);
|
|
5725
5725
|
}
|
|
5726
5726
|
};
|
|
5727
5727
|
}
|
|
@@ -6005,7 +6005,7 @@ function Gv(n, t, e) {
|
|
|
6005
6005
|
l
|
|
6006
6006
|
];
|
|
6007
6007
|
}
|
|
6008
|
-
class
|
|
6008
|
+
class Ff extends ce {
|
|
6009
6009
|
constructor(t) {
|
|
6010
6010
|
super(), le(
|
|
6011
6011
|
this,
|
|
@@ -6023,7 +6023,7 @@ class _f extends ce {
|
|
|
6023
6023
|
);
|
|
6024
6024
|
}
|
|
6025
6025
|
}
|
|
6026
|
-
function
|
|
6026
|
+
function Fv(n) {
|
|
6027
6027
|
ge(n, "svelte-1lm20n5", ".missing-floor.svelte-1lm20n5{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center}.text.svelte-1lm20n5{margin-top:0.75rem;color:#fff;opacity:0.3}");
|
|
6028
6028
|
}
|
|
6029
6029
|
function Gc(n) {
|
|
@@ -6059,7 +6059,7 @@ function Gc(n) {
|
|
|
6059
6059
|
}
|
|
6060
6060
|
};
|
|
6061
6061
|
}
|
|
6062
|
-
function
|
|
6062
|
+
function _v(n) {
|
|
6063
6063
|
let t, e, i, s, o = (
|
|
6064
6064
|
/*missingFloorConfig*/
|
|
6065
6065
|
n[0].text && Gc(n)
|
|
@@ -6115,11 +6115,11 @@ function Wv(n, t, e) {
|
|
|
6115
6115
|
}
|
|
6116
6116
|
class Uv extends ce {
|
|
6117
6117
|
constructor(t) {
|
|
6118
|
-
super(), le(this, t, Wv,
|
|
6118
|
+
super(), le(this, t, Wv, _v, ae, { missingFloorConfig: 0 }, Fv);
|
|
6119
6119
|
}
|
|
6120
6120
|
}
|
|
6121
6121
|
const ki = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAC2VBMVEUAAACCnP+Dn/+Enf+HqP+Gp/+Fof+Gpf+IrP+Lsf+Dof+Cmv+Lsv+Mtf+Eo/+Bmf+JrP+Hqf+Env+Krv+Fo/+Pu/+Ms/+Qvv+Hqf+RwP+KsP+Fpf+Mtv+Gov+Bnf+Qv/+Nt/+Krv+Ho/+Rwf+Ouv+Emv+Amv+SxP+Sw/+NuP+Mtf/G0f6huP+Ot/+JrP+Jqv+Dnv+crf6Uqv////+QvP+PvP+Ms//J0/3p9/+Ux/+Ouf+Krf+Iqf+Fpv+/zf6WsP+MpP+RqP+Uyf+Jy//V3P6Yuf+Qqf+Rqv/5/f+Sxf+Jy/////+Lx/+Ouf+Nw/+Owv+PwP+Jr/+Jq/+VvP+Vuv/c4v+Fnf+btP+InP+Blf/3+P6Txf+Jzf+Jyf+NxP+Qwf/t8/6Svv+Tvf/O1f7Czv3T2f6cu/+qvP7a4fvo7v77/v/o9//p9//0+v////+Vy//w9//k8/+B1f/v9/+D0/+UyP/u9v+D0v/i8f+F0v/g7/+G0P+KzP+Hz/////+Lx//s8/+Puf/h7P+Mxv/w9f7q8v/q8f2RwP/r8f6JrP/t8v6RvP/l6f7////j6P6VvP/f5/7q8P7a4P/U2f6au/+ZuP+ewf+auP+iu//n6f2Fn//j6P/h4fn9/v/4/P/3/P/o9v/l9P+F1P+B1f/i8v+UyP+J0f+E0f/h7//r8v6Izf/g7v/q8v6Pv//f7P7f7f/g7f+Lxf+MyP+Mw//k7v6Ow/+Ov//v8/2Pu//t8f+Tvv/p8P6Uu//q7v/i6P2Xvf+WuP/L1vypu//Azv7K0/zy8v/l8v/A4P/o9f/x+f+I0f/j8v+J0P/s9v/h8P+I0P/t9v/r9P6Lyv+Lyf/s9P/g7P+Myv/s8/7j7v+Jrv/q8P2Uwf+Epf+TuP/a3vzh5f3w8P/a4P20v//Nzfzx8f/Pz/Cg0P/f7//u9f/q8v7o8v7s8/7s8v3w9f+Sv/+TuP+Gp//s8fr///8/HFXHAAAA8nRSTlMANUQ/Z2JJXXaKTjCPmVMre3E6gFiylLxsxoVYnk5JwaOFU8utOjrV0KieQS2icWwzMC4Dt7aTQvjfrHprXD0zMyvpvUxGNjH+2sK9raeYkoiAcF5TUi0rKCYY2cy3pIJ/eGpEQDcxLx0S/Pv19PPu7Ovr5+Tk4eDe3NXU09DIsq2opKCViYN9e3V1cmZlXllVTk1GQDs2NTMwJw0K/vn28u/u5+Pj3tjNycjGw8DAua2pqJ6SjYyMf3BvaWNgWk5NSTc3MxT79PHw6efl2trY19PHurWysqWZe2xkXVlUPjo6OSskCO7Qzs6+vKCedmhdN1av0hoAAAV1SURBVEjHjZT3P9RxHMe1nCjcObo4cjpX5w53l7pUbnBGkr2TPZJKmiqVEQlJhGjvvfcm2nvvvXf5C3q/P98bkuR1D7+9n16v1/vzvtPrnAade/ty6anHJfFHOjkfXbe07PGxkuL4oqIjCzoDjHtxurzsRHmFStokjBDG/59JrwurOF2hkkUoIyKEQmFqatG3/xDnXlSGPZcKI5VKiVgsli+vrakpfNAx8UoVlpRWH6mUeMsVcm8vhah6WfXB3A6IlSlVKoE4KjxcgtNGRl1Ayzw9H+Z20DypMVkZZWKiUIi6oHj2PAbPs6Eh/+6/kBUpVUliIEQKGGcwGPbdiBpCQ/O//AMZJ218XW9igoHsGTwY7kopdMmSvTvbz/VGmiyhCARwWJ/Ss5CQ9pl3zVJZJCEwEszb6BtaGxrCn3XIyZP3trW3rybBWTCB1jy0sNGHeWM7+BgzrX4kJu752E57mWA5mIjsMRVxgGkrJpPpRvtJSywt3X2rPUSMuUgqIIzx37vRaLQeqNKEhN03/womg/bYhDJBBzdqvjsqYeHCHdfa1k9BF0QoEyuwoOadWc4sFutoXNzWGW2W3Axd8E3AxAZ6WNGeEoDl7EwPho/T0cDAtswb2Bi6kFx2VkwaDYgRI5zo9EUGRIGHD82e+ufrJ8uo+l31oQogYMJiOdFh2BQ03NTscEDAn8wKgQCeUsRTI8QEMhkYDDc1NTMLMuNwLAP8/a9Pbl0mJQlXhvVtrO2YNLce3Uew6IvAAsYtLS17gvwLCrKR0d3la0DsgdG3NiZVMBZacMh8L9CB2NjsS61eRiCtB4YH/Q21CMQKAgLnh1hYWAyJ3b9/40Qd09woppJhFytAnIPpBmBCCBjvjdrn59eKSU+SRWkZphu40IMBgRpAAMBmO7DZbL/786+s0TIpKqXOhgqGCKcnhOrd28HBlmj+2LFZWia9KjkqnHoa3BmsjG7wKIgDuSzQw9F29Gh+3jDunTseWas1zKtKYbiIsrEjZdAF2iPiYOvIz+Nyuebm5h6+HuvGa2xU0qhwBbkzayzjDO8y3IwgbAdHPp87zNx8sIvLYN/tvhc1TF1lWqSEwaMWgG3ABpIB4sC2HY2Ei0sf0O2YmLWr1CdQGRYp8SK3ic/ZnRWMLqQ+2xGRwUD069dvV8zcuRom+rlA6Y2MbgGmhAGEz4VYSPQF5cyZM6GFYl6eTlN6ixi6aE6PqDLQZRi4EKI/KOfGFjUzqCKsXu6l2RpuAKJxiI1tHhcQJAYOHDhgwOZZs4ZSTHR5lQQYPDW1DS4aELQxdyEIAANGjtk8c6aaqTslk8gVwIAN0w3rAEL2bMtHm12AIOHqenXaNDWztEwo9hKJGHjR6OO0yDSI1IGdoQ0iY0a6Tt+06fKUDRQzqKw8Qlxr1AXrwNqwDvGBA+BrGUDc3d3Xr5+SQZj0E2ERqXIjPAJYNUbD18FoWEeDbHLPzLyQ4ePjQ5i3x1RCubfmpqkjMMNo6KOJ5uqe+f58C9GoaD29XyVSYS1h4DftKeWDDN4AbACZMZAsExEKghWUNKXWhlPfA2P1qjmUT556a9jmQotWi/VOFael1lR7ep4JfRZy8nhpwtG4wMMB/gdi9/nNH+vhezsmJ+fG5quX12fomHl6J+KFy88uA2RJyJPE4wkL4wIPBfgXxO5HxGN7zNw5W2bNnLZhio+OmaR3LD6tplrLfKeYAwX7/O6Dje/2dpniwuKiwoMHH+bn7723Z8/uHTu2fpg9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";
|
|
6122
|
-
function
|
|
6122
|
+
function _f(n) {
|
|
6123
6123
|
return n * 180 / Math.PI;
|
|
6124
6124
|
}
|
|
6125
6125
|
function Yv(n) {
|
|
@@ -6192,7 +6192,7 @@ function Xv(n) {
|
|
|
6192
6192
|
}
|
|
6193
6193
|
function Zv(n, t, e) {
|
|
6194
6194
|
let { panoIndex: i } = t, { floorplanData: s } = t, { lastPanoramaLongitude: o } = t, { cameraImageUrl: r } = t;
|
|
6195
|
-
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", g = -
|
|
6195
|
+
const { observers: a } = s, l = a[i], c = l.positionInImage.x, h = l.positionInImage.y, u = c * 100 + "%", f = h * 100 + "%", g = -_f(o) + 45, A = document.body.clientWidth, p = document.body.clientHeight, b = `${(A < 500 || p < 500 ? 17 : 37) / 16}rem`;
|
|
6196
6196
|
return n.$$set = (y) => {
|
|
6197
6197
|
"panoIndex" in y && e(5, i = y.panoIndex), "floorplanData" in y && e(6, s = y.floorplanData), "lastPanoramaLongitude" in y && e(7, o = y.lastPanoramaLongitude), "cameraImageUrl" in y && e(0, r = y.cameraImageUrl);
|
|
6198
6198
|
}, [
|
|
@@ -6321,7 +6321,7 @@ function o0(n) {
|
|
|
6321
6321
|
let g = (
|
|
6322
6322
|
/*highlightEnable*/
|
|
6323
6323
|
(n[3] || /*hoverEnable*/
|
|
6324
|
-
n[5]) &&
|
|
6324
|
+
n[5]) && Fc(n)
|
|
6325
6325
|
);
|
|
6326
6326
|
const A = [
|
|
6327
6327
|
{
|
|
@@ -6341,7 +6341,7 @@ function o0(n) {
|
|
|
6341
6341
|
s = new Qf({ props: p });
|
|
6342
6342
|
let m = (
|
|
6343
6343
|
/*roomLabelsEnable*/
|
|
6344
|
-
n[6] &&
|
|
6344
|
+
n[6] && _c(n)
|
|
6345
6345
|
), b = (
|
|
6346
6346
|
/*ruleLabelsEnable*/
|
|
6347
6347
|
n[10] && Wc(n)
|
|
@@ -6376,7 +6376,7 @@ function o0(n) {
|
|
|
6376
6376
|
t.$set(E), /*highlightEnable*/
|
|
6377
6377
|
I[3] || /*hoverEnable*/
|
|
6378
6378
|
I[5] ? g ? (g.p(I, k), k & /*highlightEnable, hoverEnable*/
|
|
6379
|
-
40 && x(g, 1)) : (g =
|
|
6379
|
+
40 && x(g, 1)) : (g = Fc(I), g.c(), x(g, 1), g.m(i.parentNode, i)) : g && (ue(), O(g, 1, 1, () => {
|
|
6380
6380
|
g = null;
|
|
6381
6381
|
}), fe());
|
|
6382
6382
|
const j = k & /*floorplanData, floorIndex*/
|
|
@@ -6394,7 +6394,7 @@ function o0(n) {
|
|
|
6394
6394
|
]) : {};
|
|
6395
6395
|
s.$set(j), /*roomLabelsEnable*/
|
|
6396
6396
|
I[6] ? m ? (m.p(I, k), k & /*roomLabelsEnable*/
|
|
6397
|
-
64 && x(m, 1)) : (m =
|
|
6397
|
+
64 && x(m, 1)) : (m = _c(I), m.c(), x(m, 1), m.m(r.parentNode, r)) : m && (ue(), O(m, 1, 1, () => {
|
|
6398
6398
|
m = null;
|
|
6399
6399
|
}), fe()), /*ruleLabelsEnable*/
|
|
6400
6400
|
I[10] ? b ? (b.p(I, k), k & /*ruleLabelsEnable*/
|
|
@@ -6454,7 +6454,7 @@ function r0(n) {
|
|
|
6454
6454
|
}
|
|
6455
6455
|
};
|
|
6456
6456
|
}
|
|
6457
|
-
function
|
|
6457
|
+
function Fc(n) {
|
|
6458
6458
|
let t, e;
|
|
6459
6459
|
const i = [
|
|
6460
6460
|
{
|
|
@@ -6479,7 +6479,7 @@ function _c(n) {
|
|
|
6479
6479
|
let s = {};
|
|
6480
6480
|
for (let o = 0; o < i.length; o += 1)
|
|
6481
6481
|
s = ft(s, i[o]);
|
|
6482
|
-
return t = new
|
|
6482
|
+
return t = new Ff({ props: s }), {
|
|
6483
6483
|
c() {
|
|
6484
6484
|
ne(t.$$.fragment);
|
|
6485
6485
|
},
|
|
@@ -6521,7 +6521,7 @@ function _c(n) {
|
|
|
6521
6521
|
}
|
|
6522
6522
|
};
|
|
6523
6523
|
}
|
|
6524
|
-
function
|
|
6524
|
+
function _c(n) {
|
|
6525
6525
|
let t, e;
|
|
6526
6526
|
const i = [
|
|
6527
6527
|
{
|
|
@@ -6812,7 +6812,7 @@ function a0(n) {
|
|
|
6812
6812
|
}
|
|
6813
6813
|
return e = l(n), i = a[e] = r[e](n), {
|
|
6814
6814
|
c() {
|
|
6815
|
-
t = S("div"), i.c(), C(t, "class", s =
|
|
6815
|
+
t = S("div"), i.c(), C(t, "class", s = _e(`floorplan-plugin__floor${/*isCurrent*/
|
|
6816
6816
|
n[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
|
|
6817
6817
|
},
|
|
6818
6818
|
m(c, h) {
|
|
@@ -6823,7 +6823,7 @@ function a0(n) {
|
|
|
6823
6823
|
e = l(c), e === u ? a[e].p(c, h) : (ue(), O(a[u], 1, 1, () => {
|
|
6824
6824
|
a[u] = null;
|
|
6825
6825
|
}), fe(), i = a[e], i ? i.p(c, h) : (i = a[e] = r[e](c), i.c()), x(i, 1), i.m(t, null)), (!o || h & /*isCurrent*/
|
|
6826
|
-
2 && s !== (s =
|
|
6826
|
+
2 && s !== (s = _e(`floorplan-plugin__floor${/*isCurrent*/
|
|
6827
6827
|
c[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(t, "class", s);
|
|
6828
6828
|
},
|
|
6829
6829
|
i(c) {
|
|
@@ -6838,10 +6838,10 @@ function a0(n) {
|
|
|
6838
6838
|
};
|
|
6839
6839
|
}
|
|
6840
6840
|
function l0(n, t, e) {
|
|
6841
|
-
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: b } = 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:
|
|
6841
|
+
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: b } = 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;
|
|
6842
6842
|
const G = Sl(void 0);
|
|
6843
6843
|
return n.$$set = (H) => {
|
|
6844
|
-
"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, b = 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,
|
|
6844
|
+
"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, b = 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);
|
|
6845
6845
|
}, n.$$.update = () => {
|
|
6846
6846
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
6847
6847
|
2052 && e(25, i = m.floorDatas[a]), n.$$.dirty & /*floorData*/
|
|
@@ -6868,7 +6868,7 @@ function l0(n, t, e) {
|
|
|
6868
6868
|
j,
|
|
6869
6869
|
V,
|
|
6870
6870
|
W,
|
|
6871
|
-
|
|
6871
|
+
_,
|
|
6872
6872
|
N,
|
|
6873
6873
|
s,
|
|
6874
6874
|
G,
|
|
@@ -6979,7 +6979,7 @@ function Zc(n) {
|
|
|
6979
6979
|
i = !1;
|
|
6980
6980
|
},
|
|
6981
6981
|
d(a) {
|
|
6982
|
-
a && z(t),
|
|
6982
|
+
a && z(t), _t(o, a);
|
|
6983
6983
|
}
|
|
6984
6984
|
};
|
|
6985
6985
|
}
|
|
@@ -7246,9 +7246,9 @@ function d0(n) {
|
|
|
7246
7246
|
};
|
|
7247
7247
|
}
|
|
7248
7248
|
function u0(n, t, e) {
|
|
7249
|
-
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: b } = 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:
|
|
7249
|
+
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: b } = 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;
|
|
7250
7250
|
return n.$$set = (N) => {
|
|
7251
|
-
"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, b = 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,
|
|
7251
|
+
"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, b = 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);
|
|
7252
7252
|
}, [
|
|
7253
7253
|
i,
|
|
7254
7254
|
s,
|
|
@@ -7273,7 +7273,7 @@ function u0(n, t, e) {
|
|
|
7273
7273
|
j,
|
|
7274
7274
|
V,
|
|
7275
7275
|
W,
|
|
7276
|
-
|
|
7276
|
+
_
|
|
7277
7277
|
];
|
|
7278
7278
|
}
|
|
7279
7279
|
let Tl = class extends ce {
|
|
@@ -7424,7 +7424,7 @@ let rn = class {
|
|
|
7424
7424
|
/**
|
|
7425
7425
|
* @realsee/dnalogel 版本号
|
|
7426
7426
|
*/
|
|
7427
|
-
d(this, "VERSION", "3.31.
|
|
7427
|
+
d(this, "VERSION", "3.31.1");
|
|
7428
7428
|
d(this, "five");
|
|
7429
7429
|
/**
|
|
7430
7430
|
* @description: 插件事件钩子
|
|
@@ -8557,8 +8557,8 @@ function O0(n, t, e) {
|
|
|
8557
8557
|
const E = I.bounding, j = I.observers[k];
|
|
8558
8558
|
if (!j)
|
|
8559
8559
|
return "";
|
|
8560
|
-
const V = (E.max.x - E.min.x) * l, W = (E.max.y - E.min.y) * l,
|
|
8561
|
-
return `translate(${
|
|
8560
|
+
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);
|
|
8561
|
+
return `translate(${_}px, ${N}px)`;
|
|
8562
8562
|
}
|
|
8563
8563
|
function p(I) {
|
|
8564
8564
|
e(7, u = I);
|
|
@@ -8778,7 +8778,7 @@ function G0(n) {
|
|
|
8778
8778
|
}
|
|
8779
8779
|
};
|
|
8780
8780
|
}
|
|
8781
|
-
function
|
|
8781
|
+
function F0(n) {
|
|
8782
8782
|
let t, e, i;
|
|
8783
8783
|
return {
|
|
8784
8784
|
c() {
|
|
@@ -8834,7 +8834,7 @@ function th(n) {
|
|
|
8834
8834
|
let s = {};
|
|
8835
8835
|
for (let o = 0; o < i.length; o += 1)
|
|
8836
8836
|
s = ft(s, i[o]);
|
|
8837
|
-
return t = new
|
|
8837
|
+
return t = new Ff({ props: s }), {
|
|
8838
8838
|
c() {
|
|
8839
8839
|
ne(t.$$.fragment);
|
|
8840
8840
|
},
|
|
@@ -8885,9 +8885,9 @@ function th(n) {
|
|
|
8885
8885
|
}
|
|
8886
8886
|
};
|
|
8887
8887
|
}
|
|
8888
|
-
function
|
|
8888
|
+
function _0(n) {
|
|
8889
8889
|
let t, e, i, s;
|
|
8890
|
-
const o = [
|
|
8890
|
+
const o = [F0, G0], r = [];
|
|
8891
8891
|
function a(l, c) {
|
|
8892
8892
|
return (
|
|
8893
8893
|
/*hasCurrentFloorData*/
|
|
@@ -8949,7 +8949,7 @@ class U0 extends ce {
|
|
|
8949
8949
|
this,
|
|
8950
8950
|
t,
|
|
8951
8951
|
W0,
|
|
8952
|
-
|
|
8952
|
+
_0,
|
|
8953
8953
|
ae,
|
|
8954
8954
|
{
|
|
8955
8955
|
five: 0,
|
|
@@ -8979,7 +8979,7 @@ function ih(n) {
|
|
|
8979
8979
|
},
|
|
8980
8980
|
m(r, a) {
|
|
8981
8981
|
B(r, t, a), o && o.m(t, null), e = !0, i || (s = [
|
|
8982
|
-
|
|
8982
|
+
Ft(zi.call(null, t)),
|
|
8983
8983
|
Ae(
|
|
8984
8984
|
t,
|
|
8985
8985
|
"clientWidth",
|
|
@@ -9212,8 +9212,8 @@ function Z0(n, t, e) {
|
|
|
9212
9212
|
}, n.$$.update = () => {
|
|
9213
9213
|
if (n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
|
|
9214
9214
|
1800) {
|
|
9215
|
-
const E = Math.min(g, A), { max: j, min: V } = r.bounding, W = j.x - V.x,
|
|
9216
|
-
return W >
|
|
9215
|
+
const E = Math.min(g, A), { max: j, min: V } = r.bounding, W = j.x - V.x, _ = j.y - V.y, N = function() {
|
|
9216
|
+
return W > _ ? [E, E / W * _] : [E / _ * W, E];
|
|
9217
9217
|
}();
|
|
9218
9218
|
e(10, p = N[0]), e(13, m = N[1]), e(11, u = p / W);
|
|
9219
9219
|
}
|
|
@@ -9577,8 +9577,8 @@ function $0(n, t) {
|
|
|
9577
9577
|
const eb = ({ x: n, y: t, z: e }) => new oe(n, t, e), ax = (n, t) => {
|
|
9578
9578
|
var p, m, b;
|
|
9579
9579
|
const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (m = t.position) != null ? m : void 0, o = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => Q(void 0, null, function* () {
|
|
9580
|
-
var
|
|
9581
|
-
const P = (
|
|
9580
|
+
var _, N, G, H, F, U, Z, X;
|
|
9581
|
+
const P = (_ = y == null ? void 0 : y.position) != null ? _ : s;
|
|
9582
9582
|
if (!P)
|
|
9583
9583
|
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
9584
9584
|
const I = eb(P), k = (N = y == null ? void 0 : y.rad) != null ? N : o, E = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
|
|
@@ -9586,7 +9586,7 @@ const eb = ({ x: n, y: t, z: e }) => new oe(n, t, e), ax = (n, t) => {
|
|
|
9586
9586
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${k}`));
|
|
9587
9587
|
const j = yield new tf().loadAsync(E);
|
|
9588
9588
|
j.position.copy(I), j.rotation.z = k, j.scale.set(0.8, 0.8, 0.8), Xf(j, { transparent: !0, side: w.DoubleSide });
|
|
9589
|
-
const V = (Z = (U = (
|
|
9589
|
+
const V = (Z = (U = (F = (H = j.children) == null ? void 0 : H[0]) == null ? void 0 : F.children) == null ? void 0 : U[3]) == null ? void 0 : Z.clone();
|
|
9590
9590
|
if (!V)
|
|
9591
9591
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${V}`));
|
|
9592
9592
|
const W = (X = t.name) != null ? X : "入户门";
|
|
@@ -9602,14 +9602,14 @@ const eb = ({ x: n, y: t, z: e }) => new oe(n, t, e), ax = (n, t) => {
|
|
|
9602
9602
|
I.timeScale = y;
|
|
9603
9603
|
let k;
|
|
9604
9604
|
const E = () => {
|
|
9605
|
-
let
|
|
9606
|
-
const G = 1e3 / 30, H = (
|
|
9607
|
-
|
|
9608
|
-
const U =
|
|
9609
|
-
U < G || (N =
|
|
9605
|
+
let _ = 0, N = 0;
|
|
9606
|
+
const G = 1e3 / 30, H = (F) => {
|
|
9607
|
+
_ = requestAnimationFrame(H);
|
|
9608
|
+
const U = F - N;
|
|
9609
|
+
U < G || (N = F, a.forEach((Z) => Z.update(U / 1e3)), n.needsRender = !0);
|
|
9610
9610
|
};
|
|
9611
|
-
return
|
|
9612
|
-
cancelAnimationFrame(
|
|
9611
|
+
return _ = requestAnimationFrame(H), () => {
|
|
9612
|
+
cancelAnimationFrame(_);
|
|
9613
9613
|
};
|
|
9614
9614
|
}, W = { play: () => {
|
|
9615
9615
|
k || (I.play(), k = E(), requestAnimationFrame(() => {
|
|
@@ -9912,7 +9912,7 @@ const ab = `<style type="text/css">
|
|
|
9912
9912
|
return !1;
|
|
9913
9913
|
for (const P in m) {
|
|
9914
9914
|
const I = m[P], { standingPosition: k } = y.observers[0], E = I.map(({ x: j, z: V, observers: W }) => {
|
|
9915
|
-
const
|
|
9915
|
+
const _ = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", N = b[_] ? b[_].floor : null;
|
|
9916
9916
|
let G = 1 / 0, H = {
|
|
9917
9917
|
index: 0,
|
|
9918
9918
|
x: k.x,
|
|
@@ -9930,10 +9930,10 @@ const ab = `<style type="text/css">
|
|
|
9930
9930
|
}, Ce = lb({ x: j, z: V }, Pe);
|
|
9931
9931
|
N ? Ce < G && Math.abs(Pe.y - N) < 0.3 && (G = Ce, H = Pe) : Ce < G && (G = Ce, H = Pe);
|
|
9932
9932
|
});
|
|
9933
|
-
const
|
|
9934
|
-
Object.assign(
|
|
9935
|
-
const U = b[
|
|
9936
|
-
return Z && Object.assign(Z, { observers: W }), { origin:
|
|
9933
|
+
const F = new oe(j, H.y, V);
|
|
9934
|
+
Object.assign(F, { observers: W });
|
|
9935
|
+
const U = b[_] ? b[_].roof : null, Z = U ? new oe(j, U, V) : null;
|
|
9936
|
+
return Z && Object.assign(Z, { observers: W }), { origin: F, vertical: Z };
|
|
9937
9937
|
});
|
|
9938
9938
|
r[P] = {
|
|
9939
9939
|
origins: E.map((j) => j.origin),
|
|
@@ -9948,8 +9948,8 @@ const ab = `<style type="text/css">
|
|
|
9948
9948
|
for (let j = 0; j < E.length; j++) {
|
|
9949
9949
|
let V = j + 1;
|
|
9950
9950
|
V >= E.length && (V = 0);
|
|
9951
|
-
const { origin: W } = E[j], { origin:
|
|
9952
|
-
s.append(N), r[P].rules.push({ vertical: !1, rule: [W,
|
|
9951
|
+
const { origin: W } = E[j], { origin: _ } = E[V], N = i(P, W.distanceTo(_));
|
|
9952
|
+
s.append(N), r[P].rules.push({ vertical: !1, rule: [W, _], $element: N });
|
|
9953
9953
|
}
|
|
9954
9954
|
}
|
|
9955
9955
|
return e.loaded = !0, !0;
|
|
@@ -9995,45 +9995,45 @@ const ab = `<style type="text/css">
|
|
|
9995
9995
|
if (m === void 0)
|
|
9996
9996
|
return;
|
|
9997
9997
|
let P;
|
|
9998
|
-
for (const
|
|
9999
|
-
|
|
9998
|
+
for (const _ in r)
|
|
9999
|
+
_.split(",").indexOf(m.toString()) >= 0 && (P = _);
|
|
10000
10000
|
if (!P) {
|
|
10001
|
-
for (const
|
|
10002
|
-
for (const { $element: N } of r[
|
|
10001
|
+
for (const _ in r)
|
|
10002
|
+
for (const { $element: N } of r[_].rules)
|
|
10003
10003
|
N.style.display = "none";
|
|
10004
10004
|
return;
|
|
10005
10005
|
}
|
|
10006
10006
|
const I = b.position, k = b.getWorldDirection(new oe()), E = p.clientWidth, j = p.clientHeight;
|
|
10007
10007
|
if (y !== dt.Mode.Panorama) {
|
|
10008
|
-
for (const
|
|
10009
|
-
for (const { $element: N } of r[
|
|
10008
|
+
for (const _ in r)
|
|
10009
|
+
for (const { $element: N } of r[_].rules)
|
|
10010
10010
|
N.style.display = "none";
|
|
10011
10011
|
return;
|
|
10012
10012
|
}
|
|
10013
|
-
for (const
|
|
10014
|
-
for (const { $element: N } of r[
|
|
10015
|
-
N.style.display =
|
|
10016
|
-
const [V] = r[P].origins.slice().filter((
|
|
10017
|
-
const G =
|
|
10013
|
+
for (const _ in r)
|
|
10014
|
+
for (const { $element: N } of r[_].rules)
|
|
10015
|
+
N.style.display = _ === P ? "block" : "none";
|
|
10016
|
+
const [V] = r[P].origins.slice().filter((_) => _.observers.indexOf(m) >= 0).sort((_, N) => {
|
|
10017
|
+
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));
|
|
10018
10018
|
return G - H;
|
|
10019
10019
|
});
|
|
10020
|
-
for (const { rule:
|
|
10021
|
-
const [H,
|
|
10020
|
+
for (const { rule: _, vertical: N, $element: G } of r[P].rules) {
|
|
10021
|
+
const [H, F] = _, U = G.querySelector(".PanoRulerPlugin-rule-line");
|
|
10022
10022
|
if (!U)
|
|
10023
10023
|
return;
|
|
10024
10024
|
if (!V) {
|
|
10025
10025
|
G.style.display = "none";
|
|
10026
10026
|
continue;
|
|
10027
10027
|
}
|
|
10028
|
-
if (H !== V &&
|
|
10028
|
+
if (H !== V && F !== V) {
|
|
10029
10029
|
G.style.display = "none";
|
|
10030
10030
|
continue;
|
|
10031
10031
|
}
|
|
10032
|
-
if (H.distanceTo(
|
|
10032
|
+
if (H.distanceTo(F) < 0.3) {
|
|
10033
10033
|
G.style.display = "none";
|
|
10034
10034
|
continue;
|
|
10035
10035
|
}
|
|
10036
|
-
if (H.observers.indexOf(m) === -1 ||
|
|
10036
|
+
if (H.observers.indexOf(m) === -1 || F.observers.indexOf(m) === -1) {
|
|
10037
10037
|
G.style.display = "none";
|
|
10038
10038
|
continue;
|
|
10039
10039
|
}
|
|
@@ -10041,22 +10041,22 @@ const ab = `<style type="text/css">
|
|
|
10041
10041
|
G.style.display = "none";
|
|
10042
10042
|
continue;
|
|
10043
10043
|
}
|
|
10044
|
-
if (
|
|
10044
|
+
if (F.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
|
|
10045
10045
|
G.style.display = "none";
|
|
10046
10046
|
continue;
|
|
10047
10047
|
}
|
|
10048
|
-
const $ = H.distanceTo(
|
|
10049
|
-
if (
|
|
10048
|
+
const $ = H.distanceTo(F);
|
|
10049
|
+
if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(I) / $ > 8) {
|
|
10050
10050
|
G.style.display = "none";
|
|
10051
10051
|
continue;
|
|
10052
10052
|
}
|
|
10053
|
-
const Pe = H.clone().project(b), Ce = (Pe.x + 1) / 2 * E, be = (-Pe.y + 1) / 2 * j, Ge =
|
|
10053
|
+
const Pe = H.clone().project(b), Ce = (Pe.x + 1) / 2 * E, be = (-Pe.y + 1) / 2 * j, Ge = F.clone().project(b), ye = (Ge.x + 1) / 2 * E, Ze = (-Ge.y + 1) / 2 * j, ee = Math.sqrt(Math.pow(ye - Ce, 2) + Math.pow(Ze - be, 2));
|
|
10054
10054
|
let ve = ee, je = 50;
|
|
10055
10055
|
const me = c({ x: ~~Ce, y: ~~be }, {
|
|
10056
10056
|
x: ~~ye,
|
|
10057
10057
|
y: ~~Ze
|
|
10058
10058
|
}, E, j);
|
|
10059
|
-
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 ===
|
|
10059
|
+
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) {
|
|
10060
10060
|
const re = {
|
|
10061
10061
|
x: (me[0].x + me[1].x) / 2,
|
|
10062
10062
|
y: (me[0].y + me[1].y) / 2
|
|
@@ -10133,7 +10133,7 @@ function db(n) {
|
|
|
10133
10133
|
}
|
|
10134
10134
|
},
|
|
10135
10135
|
d(s) {
|
|
10136
|
-
s && z(t),
|
|
10136
|
+
s && z(t), _t(i, s);
|
|
10137
10137
|
}
|
|
10138
10138
|
};
|
|
10139
10139
|
}
|
|
@@ -10141,7 +10141,7 @@ function ub(n) {
|
|
|
10141
10141
|
let t, e;
|
|
10142
10142
|
return {
|
|
10143
10143
|
c() {
|
|
10144
|
-
t = S("em"), C(t, "class", e =
|
|
10144
|
+
t = S("em"), C(t, "class", e = _e(
|
|
10145
10145
|
/*rulerItemProp*/
|
|
10146
10146
|
n[0].state ? "em-solid" : "em-dotted"
|
|
10147
10147
|
) + " svelte-1h27ktp"), C(
|
|
@@ -10156,7 +10156,7 @@ function ub(n) {
|
|
|
10156
10156
|
},
|
|
10157
10157
|
p(i, s) {
|
|
10158
10158
|
s & /*rulerItemProp*/
|
|
10159
|
-
1 && e !== (e =
|
|
10159
|
+
1 && e !== (e = _e(
|
|
10160
10160
|
/*rulerItemProp*/
|
|
10161
10161
|
i[0].state ? "em-solid" : "em-dotted"
|
|
10162
10162
|
) + " svelte-1h27ktp") && C(t, "class", e), s & /*vars*/
|
|
@@ -10177,7 +10177,7 @@ function lh(n) {
|
|
|
10177
10177
|
n[6].width}px`;
|
|
10178
10178
|
return {
|
|
10179
10179
|
c() {
|
|
10180
|
-
t = S("div"), C(t, "class", e =
|
|
10180
|
+
t = S("div"), C(t, "class", e = _e(
|
|
10181
10181
|
/*child*/
|
|
10182
10182
|
n[6].state ? "em-solid" : "em-dotted"
|
|
10183
10183
|
) + " svelte-1h27ktp"), C(
|
|
@@ -10192,7 +10192,7 @@ function lh(n) {
|
|
|
10192
10192
|
},
|
|
10193
10193
|
p(s, o) {
|
|
10194
10194
|
o & /*rulerItemProp*/
|
|
10195
|
-
1 && e !== (e =
|
|
10195
|
+
1 && e !== (e = _e(
|
|
10196
10196
|
/*child*/
|
|
10197
10197
|
s[6].state ? "em-solid" : "em-dotted"
|
|
10198
10198
|
) + " svelte-1h27ktp") && C(t, "class", e), o & /*vars*/
|
|
@@ -10380,7 +10380,7 @@ function pb(n) {
|
|
|
10380
10380
|
e = !1;
|
|
10381
10381
|
},
|
|
10382
10382
|
d(r) {
|
|
10383
|
-
r && z(t),
|
|
10383
|
+
r && z(t), _t(s, r);
|
|
10384
10384
|
}
|
|
10385
10385
|
};
|
|
10386
10386
|
}
|
|
@@ -10400,35 +10400,35 @@ function Ab(n, t, e) {
|
|
|
10400
10400
|
}
|
|
10401
10401
|
return E.length === 0 ? !1 : E;
|
|
10402
10402
|
}, h = (P, I) => {
|
|
10403
|
-
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,
|
|
10403
|
+
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));
|
|
10404
10404
|
return {
|
|
10405
10405
|
startLeft: E,
|
|
10406
10406
|
startTop: j,
|
|
10407
10407
|
endLeft: W,
|
|
10408
|
-
endTop:
|
|
10408
|
+
endTop: _,
|
|
10409
10409
|
distance: N
|
|
10410
10410
|
};
|
|
10411
10411
|
}, u = (P, I, k) => {
|
|
10412
|
-
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),
|
|
10412
|
+
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: Z, distance: X } = h(P, I), de = -((Math.PI / 2 - Math.atan2(U - H, F - Z)) / Math.PI) * 180;
|
|
10413
10413
|
let he = !0;
|
|
10414
|
-
k || (he = !1), !bt(P, k) && !bt(I, k) && (he = !1),
|
|
10414
|
+
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);
|
|
10415
10415
|
let Pe = 50, Ce = X;
|
|
10416
|
-
const be = c({ x: ~~H, y: ~~
|
|
10417
|
-
if (be && be.length === 1 && (bt(P, k) ? (Ce = Math.sqrt(Math.pow(be[0].x - H, 2) + Math.pow(be[0].y -
|
|
10416
|
+
const be = c({ x: ~~H, y: ~~F }, { x: ~~U, y: ~~Z });
|
|
10417
|
+
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 / X * 50) : bt(I, k) && (Ce = Math.sqrt(Math.pow(be[0].x - U, 2) + Math.pow(be[0].y - Z, 2)), Pe = 100 - Ce / X * 50)), be && be.length === 2) {
|
|
10418
10418
|
const Ge = {
|
|
10419
10419
|
x: (be[0].x + be[1].x) / 2,
|
|
10420
10420
|
y: (be[0].y + be[1].y) / 2
|
|
10421
10421
|
};
|
|
10422
|
-
Pe = Math.sqrt(Math.pow(Ge.x - H, 2) + Math.pow(Ge.y -
|
|
10422
|
+
Pe = Math.sqrt(Math.pow(Ge.x - H, 2) + Math.pow(Ge.y - F, 2)) / X * 100;
|
|
10423
10423
|
}
|
|
10424
10424
|
return {
|
|
10425
10425
|
startLeft: H,
|
|
10426
|
-
startTop:
|
|
10426
|
+
startTop: F,
|
|
10427
10427
|
distance: X,
|
|
10428
10428
|
deg: de,
|
|
10429
10429
|
visible: he,
|
|
10430
10430
|
labelOffset: Pe,
|
|
10431
|
-
ruleLength:
|
|
10431
|
+
ruleLength: _
|
|
10432
10432
|
};
|
|
10433
10433
|
}, f = () => {
|
|
10434
10434
|
const P = i.panoIndex, I = s.find((N) => N.panoIndex === P);
|
|
@@ -10437,17 +10437,17 @@ function Ab(n, t, e) {
|
|
|
10437
10437
|
if (i.currentMode !== dt.Mode.Panorama)
|
|
10438
10438
|
return e(0, r = []);
|
|
10439
10439
|
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) => {
|
|
10440
|
-
const H = N.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0)),
|
|
10441
|
-
return H -
|
|
10442
|
-
}),
|
|
10440
|
+
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));
|
|
10441
|
+
return H - F;
|
|
10442
|
+
}), _ = I.lines.map((N) => {
|
|
10443
10443
|
var Ce, be;
|
|
10444
|
-
const G = N.start, H = N.end, { startLeft:
|
|
10444
|
+
const G = N.start, H = N.end, { startLeft: F, startTop: U, distance: Z, deg: X, visible: $, labelOffset: de, ruleLength: he } = u(new oe(G[0], -G[1], -G[2]), new oe(H[0], -H[1], -H[2]), W), Pe = [];
|
|
10445
10445
|
return N.children && ((Ce = N.children) == null ? void 0 : Ce.length) > 0 && ((be = N.children) == null || be.forEach((Ge) => {
|
|
10446
10446
|
const ye = Ge.start, Ze = Ge.end, { distance: ee } = h(new oe(ye[0], -ye[1], -ye[2]), new oe(Ze[0], -Ze[1], -Ze[2]));
|
|
10447
10447
|
Pe.push({ width: ee, state: Ge.state });
|
|
10448
10448
|
})), {
|
|
10449
10449
|
width: Z,
|
|
10450
|
-
left:
|
|
10450
|
+
left: F,
|
|
10451
10451
|
top: U,
|
|
10452
10452
|
rotateDeg: X,
|
|
10453
10453
|
state: N.state,
|
|
@@ -10457,7 +10457,7 @@ function Ab(n, t, e) {
|
|
|
10457
10457
|
labelElement: o.distanceText(he)
|
|
10458
10458
|
};
|
|
10459
10459
|
});
|
|
10460
|
-
e(0, r =
|
|
10460
|
+
e(0, r = _);
|
|
10461
10461
|
}, g = () => gr(f), A = Ol(f, 80);
|
|
10462
10462
|
return Et(() => {
|
|
10463
10463
|
f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", g), i.on("movingToPano", g), i.on("mouseWheel", () => A()), i.on("pinchGesture", () => A());
|
|
@@ -11344,7 +11344,7 @@ function Gb(n) {
|
|
|
11344
11344
|
}
|
|
11345
11345
|
return i;
|
|
11346
11346
|
}
|
|
11347
|
-
class
|
|
11347
|
+
class Fb extends eg {
|
|
11348
11348
|
constructor(e) {
|
|
11349
11349
|
e.containerStyle = se(D({}, e.containerStyle), {
|
|
11350
11350
|
zIndex: "1"
|
|
@@ -11404,7 +11404,7 @@ class Ka {
|
|
|
11404
11404
|
this.five && (this.polyline.lines.forEach((t) => t.distanceItem.update(this.five)), this.areaItem.updateDomPosition(this.five));
|
|
11405
11405
|
});
|
|
11406
11406
|
var i;
|
|
11407
|
-
t && (this.points = t), this.model = e.model, this.polygon = new ng(t), this.polyline = new Gn({ model: e.model }), this.areaItem = new
|
|
11407
|
+
t && (this.points = t), this.model = e.model, this.polygon = new ng(t), this.polyline = new Gn({ model: e.model }), this.areaItem = new Fb({
|
|
11408
11408
|
area: this,
|
|
11409
11409
|
clickCallback: (s, o) => {
|
|
11410
11410
|
const r = s.clientX + "px", a = s.clientY + "px";
|
|
@@ -11495,12 +11495,12 @@ function Do(n, t, e) {
|
|
|
11495
11495
|
return t.x <= Math.max(n.x, e.x) && t.x >= Math.min(n.x, e.x) && t.z <= Math.max(n.z, e.z) && t.z >= Math.min(n.z, e.z);
|
|
11496
11496
|
}
|
|
11497
11497
|
const rg = "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
11498
|
-
function
|
|
11498
|
+
function _b(n, t) {
|
|
11499
11499
|
const { x: e, y: i } = t, s = e * 2 - 1, o = i * 2 - 1, r = new w.Raycaster();
|
|
11500
11500
|
return r.setFromCamera({ x: s, y: o }, n.camera), r.params.Points.threshold = 0.02, r;
|
|
11501
11501
|
}
|
|
11502
11502
|
function So(n, t) {
|
|
11503
|
-
const e =
|
|
11503
|
+
const e = _b(n, t);
|
|
11504
11504
|
return wr(n, e);
|
|
11505
11505
|
}
|
|
11506
11506
|
function wr(n, t) {
|
|
@@ -13201,7 +13201,7 @@ function b1(n) {
|
|
|
13201
13201
|
i: J,
|
|
13202
13202
|
o: J,
|
|
13203
13203
|
d(c) {
|
|
13204
|
-
c && z(t), r && r.d(),
|
|
13204
|
+
c && z(t), r && r.d(), _t(l, c), n[12](null);
|
|
13205
13205
|
}
|
|
13206
13206
|
};
|
|
13207
13207
|
}
|
|
@@ -13694,7 +13694,7 @@ function S1(n) {
|
|
|
13694
13694
|
i: J,
|
|
13695
13695
|
o: J,
|
|
13696
13696
|
d(a) {
|
|
13697
|
-
a && z(t),
|
|
13697
|
+
a && z(t), _t(r, a), n[11](null);
|
|
13698
13698
|
}
|
|
13699
13699
|
};
|
|
13700
13700
|
}
|
|
@@ -13934,11 +13934,11 @@ function Lh(n) {
|
|
|
13934
13934
|
},
|
|
13935
13935
|
i(o) {
|
|
13936
13936
|
s || (x(e.$$.fragment, o), o && Xe(() => {
|
|
13937
|
-
s && (i || (i = ni(t, gt, { duration:
|
|
13937
|
+
s && (i || (i = ni(t, gt, { duration: Fn }, !0)), i.run(1));
|
|
13938
13938
|
}), s = !0);
|
|
13939
13939
|
},
|
|
13940
13940
|
o(o) {
|
|
13941
|
-
O(e.$$.fragment, o), o && (i || (i = ni(t, gt, { duration:
|
|
13941
|
+
O(e.$$.fragment, o), o && (i || (i = ni(t, gt, { duration: Fn }, !1)), i.run(0)), s = !1;
|
|
13942
13942
|
},
|
|
13943
13943
|
d(o) {
|
|
13944
13944
|
o && z(t), ie(e), o && i && i.end();
|
|
@@ -13980,11 +13980,11 @@ function jh(n) {
|
|
|
13980
13980
|
},
|
|
13981
13981
|
i(h) {
|
|
13982
13982
|
a || (h && Xe(() => {
|
|
13983
|
-
a && (r || (r = ni(t, gt, { duration:
|
|
13983
|
+
a && (r || (r = ni(t, gt, { duration: Fn }, !0)), r.run(1));
|
|
13984
13984
|
}), a = !0);
|
|
13985
13985
|
},
|
|
13986
13986
|
o(h) {
|
|
13987
|
-
h && (r || (r = ni(t, gt, { duration:
|
|
13987
|
+
h && (r || (r = ni(t, gt, { duration: Fn }, !1)), r.run(0)), a = !1;
|
|
13988
13988
|
},
|
|
13989
13989
|
d(h) {
|
|
13990
13990
|
h && z(t), h && r && r.end(), l = !1, c();
|
|
@@ -14015,11 +14015,11 @@ function zh(n) {
|
|
|
14015
14015
|
},
|
|
14016
14016
|
i(h) {
|
|
14017
14017
|
a || (h && Xe(() => {
|
|
14018
|
-
a && (r || (r = ni(t, gt, { duration:
|
|
14018
|
+
a && (r || (r = ni(t, gt, { duration: Fn }, !0)), r.run(1));
|
|
14019
14019
|
}), a = !0);
|
|
14020
14020
|
},
|
|
14021
14021
|
o(h) {
|
|
14022
|
-
h && (r || (r = ni(t, gt, { duration:
|
|
14022
|
+
h && (r || (r = ni(t, gt, { duration: Fn }, !1)), r.run(0)), a = !1;
|
|
14023
14023
|
},
|
|
14024
14024
|
d(h) {
|
|
14025
14025
|
h && z(t), h && r && r.end(), l = !1, c();
|
|
@@ -14119,9 +14119,9 @@ function V1(n) {
|
|
|
14119
14119
|
}
|
|
14120
14120
|
};
|
|
14121
14121
|
}
|
|
14122
|
-
const
|
|
14122
|
+
const Fn = 100;
|
|
14123
14123
|
function H1(n, t, e) {
|
|
14124
|
-
let { measureController: i } = t, { showExit: s = !1 } = t, { i18n: o = (
|
|
14124
|
+
let { measureController: i } = t, { showExit: s = !1 } = t, { i18n: o = (_) => _ } = t;
|
|
14125
14125
|
const r = {
|
|
14126
14126
|
start: o("开始"),
|
|
14127
14127
|
add: o("添加"),
|
|
@@ -14140,24 +14140,24 @@ function H1(n, t, e) {
|
|
|
14140
14140
|
i.controller instanceof Ei && i.controller.selectPoint();
|
|
14141
14141
|
}, A = () => {
|
|
14142
14142
|
i.controller instanceof Ei && i.controller.complete();
|
|
14143
|
-
}, p = (
|
|
14144
|
-
e(3, h =
|
|
14143
|
+
}, p = (_) => {
|
|
14144
|
+
e(3, h = _);
|
|
14145
14145
|
}, m = () => {
|
|
14146
14146
|
g(), k("allow");
|
|
14147
14147
|
}, b = () => {
|
|
14148
14148
|
p("complete");
|
|
14149
14149
|
}, y = () => {
|
|
14150
14150
|
i.currentMeasureType === "area" && h === "complete" && p("add");
|
|
14151
|
-
}, P = (
|
|
14152
|
-
|
|
14151
|
+
}, P = (_) => {
|
|
14152
|
+
_.length;
|
|
14153
14153
|
}, I = () => {
|
|
14154
14154
|
p("start"), k("allow");
|
|
14155
|
-
}, k = (
|
|
14156
|
-
e(5, c =
|
|
14157
|
-
}, E = (
|
|
14158
|
-
e(12, u =
|
|
14159
|
-
}, j = (
|
|
14160
|
-
|
|
14155
|
+
}, k = (_) => {
|
|
14156
|
+
e(5, c = _ === "allow");
|
|
14157
|
+
}, E = (_) => {
|
|
14158
|
+
e(12, u = _);
|
|
14159
|
+
}, j = (_) => {
|
|
14160
|
+
_.isEmpty && p("start");
|
|
14161
14161
|
};
|
|
14162
14162
|
Et(() => {
|
|
14163
14163
|
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", b), i.hook.on("notReadyComplete", y), i.hook.on("complete", I);
|
|
@@ -14167,8 +14167,8 @@ function H1(n, t, e) {
|
|
|
14167
14167
|
const V = () => i.revoke(), W = () => {
|
|
14168
14168
|
h === "start" ? f() : h === "add" ? g() : (h === "end" || h === "complete") && m();
|
|
14169
14169
|
};
|
|
14170
|
-
return n.$$set = (
|
|
14171
|
-
"measureController" in
|
|
14170
|
+
return n.$$set = (_) => {
|
|
14171
|
+
"measureController" in _ && e(0, i = _.measureController), "showExit" in _ && e(1, s = _.showExit), "i18n" in _ && e(2, o = _.i18n);
|
|
14172
14172
|
}, n.$$.update = () => {
|
|
14173
14173
|
n.$$.dirty & /*currentMeasureType, buttonState*/
|
|
14174
14174
|
4104 && e(4, l = u === "area" && h !== "start");
|
|
@@ -14319,7 +14319,7 @@ Re.noMutate = function(...t) {
|
|
|
14319
14319
|
Re.withOptions = function(t, e, i) {
|
|
14320
14320
|
return Cr(t, e, i);
|
|
14321
14321
|
};
|
|
14322
|
-
function
|
|
14322
|
+
function F1(n) {
|
|
14323
14323
|
ge(n, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
|
|
14324
14324
|
}
|
|
14325
14325
|
function Oh(n) {
|
|
@@ -14355,7 +14355,7 @@ function Oh(n) {
|
|
|
14355
14355
|
}
|
|
14356
14356
|
};
|
|
14357
14357
|
}
|
|
14358
|
-
function
|
|
14358
|
+
function _1(n) {
|
|
14359
14359
|
let t, e, i = (
|
|
14360
14360
|
/*visible*/
|
|
14361
14361
|
n[0] && Oh(n)
|
|
@@ -14431,7 +14431,7 @@ class U1 extends ce {
|
|
|
14431
14431
|
this,
|
|
14432
14432
|
t,
|
|
14433
14433
|
W1,
|
|
14434
|
-
|
|
14434
|
+
_1,
|
|
14435
14435
|
ae,
|
|
14436
14436
|
{
|
|
14437
14437
|
measureController: 3,
|
|
@@ -14440,7 +14440,7 @@ class U1 extends ce {
|
|
|
14440
14440
|
tipStyle: 6,
|
|
14441
14441
|
visible: 0
|
|
14442
14442
|
},
|
|
14443
|
-
|
|
14443
|
+
F1
|
|
14444
14444
|
);
|
|
14445
14445
|
}
|
|
14446
14446
|
}
|
|
@@ -14819,7 +14819,7 @@ function $1(n) {
|
|
|
14819
14819
|
i: J,
|
|
14820
14820
|
o: J,
|
|
14821
14821
|
d(s) {
|
|
14822
|
-
|
|
14822
|
+
_t(i, s), s && z(t);
|
|
14823
14823
|
}
|
|
14824
14824
|
};
|
|
14825
14825
|
}
|
|
@@ -14956,8 +14956,8 @@ function sy(n, t, e) {
|
|
|
14956
14956
|
V = null;
|
|
14957
14957
|
break;
|
|
14958
14958
|
}
|
|
14959
|
-
j.forEach((
|
|
14960
|
-
W.includes(
|
|
14959
|
+
j.forEach((_) => {
|
|
14960
|
+
W.includes(_) && f[_](i);
|
|
14961
14961
|
}), V = V.parentNode;
|
|
14962
14962
|
}
|
|
14963
14963
|
};
|
|
@@ -15173,7 +15173,7 @@ class hy {
|
|
|
15173
15173
|
}
|
|
15174
15174
|
}
|
|
15175
15175
|
}
|
|
15176
|
-
const ya = 1e-3,
|
|
15176
|
+
const ya = 1e-3, Fh = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", vx = (n, t) => {
|
|
15177
15177
|
var de, he, Pe, Ce, be, Ge, ye, Ze;
|
|
15178
15178
|
let e = t == null ? void 0 : t.container, i = 1.4;
|
|
15179
15179
|
const s = (de = t == null ? void 0 : t.wait) != null ? de : 200, o = (he = t == null ? void 0 : t.maxNumberOnScreen) != null ? he : 3, r = (Pe = t == null ? void 0 : t.minRad) != null ? Pe : Math.PI / 4, a = (Ce = t == null ? void 0 : t.nearTolerance) != null ? Ce : 100, l = (be = t == null ? void 0 : t.upsideHeight) != null ? be : 1.6, c = (Ge = t == null ? void 0 : t.minDistance) != null ? Ge : 1.2, h = (ye = t == null ? void 0 : t.maxDistance) != null ? ye : 3.5, u = pr(n), f = document.createElement("div");
|
|
@@ -15253,16 +15253,16 @@ const ya = 1e-3, _h = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15253
15253
|
}, j = () => {
|
|
15254
15254
|
const { clientWidth: ee, clientHeight: ve } = n.getElement(), je = [], me = n.camera, tt = new w.Frustum(), at = new w.Matrix4(), xe = me.getWorldDirection(new w.Vector3());
|
|
15255
15255
|
at.multiplyMatrices(me.projectionMatrix, me.matrixWorldInverse), tt.setFromProjectionMatrix(at);
|
|
15256
|
-
const st = p.tags.filter((Ie) => tt.containsPoint(Ie.position) && !Ie.destroying).length, re = p.points.reduce((Ie,
|
|
15257
|
-
if (p.tags.find((Ne) =>
|
|
15256
|
+
const st = p.tags.filter((Ie) => tt.containsPoint(Ie.position) && !Ie.destroying).length, re = p.points.reduce((Ie, Fe) => {
|
|
15257
|
+
if (p.tags.find((Ne) => Fe.id === Ne.id && !Ne.destroying))
|
|
15258
15258
|
return Ie;
|
|
15259
|
-
const Ye = me.position.clone().setY(i).distanceTo(
|
|
15260
|
-
if (Ye < c || Ye > h || !tt.containsPoint(
|
|
15259
|
+
const Ye = me.position.clone().setY(i).distanceTo(Fe.position);
|
|
15260
|
+
if (Ye < c || Ye > h || !tt.containsPoint(Fe.position))
|
|
15261
15261
|
return Ie;
|
|
15262
|
-
const Mt =
|
|
15263
|
-
if (Mt.angleTo(
|
|
15262
|
+
const Mt = Fe.position.clone().sub(me.position).setY(0);
|
|
15263
|
+
if (Mt.angleTo(Fe.normal) > Math.PI / 2 - r && Mt.angleTo(Fe.normal) < Math.PI / 2 + r)
|
|
15264
15264
|
return Ie;
|
|
15265
|
-
const ot =
|
|
15265
|
+
const ot = Fe.position.clone().project(me);
|
|
15266
15266
|
if (!p.tags.every((Ne) => {
|
|
15267
15267
|
if (Ne.position.clone().sub(me.position).setY(0).angleTo(xe.setY(0)) > Math.PI / 2)
|
|
15268
15268
|
return !0;
|
|
@@ -15271,11 +15271,11 @@ const ya = 1e-3, _h = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15271
15271
|
}))
|
|
15272
15272
|
return Ie;
|
|
15273
15273
|
const Ct = {
|
|
15274
|
-
id:
|
|
15275
|
-
position:
|
|
15276
|
-
normal:
|
|
15277
|
-
replacement:
|
|
15278
|
-
weight:
|
|
15274
|
+
id: Fe.id,
|
|
15275
|
+
position: Fe.position,
|
|
15276
|
+
normal: Fe.normal,
|
|
15277
|
+
replacement: Fe.replacement,
|
|
15278
|
+
weight: Fe.weight,
|
|
15279
15279
|
distance: Ye
|
|
15280
15280
|
};
|
|
15281
15281
|
let Ve;
|
|
@@ -15292,7 +15292,7 @@ const ya = 1e-3, _h = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15292
15292
|
}
|
|
15293
15293
|
return Ve !== void 0 ? Ie.splice(Ve, 0, Ct) : Ie.push(Ct), Ie;
|
|
15294
15294
|
}, []);
|
|
15295
|
-
for (let Ie = 0,
|
|
15295
|
+
for (let Ie = 0, Fe = re.length; Ie < Fe && !(st + je.length >= o); Ie++) {
|
|
15296
15296
|
const Ye = re[Ie];
|
|
15297
15297
|
if (je.find((Ve) => Ye.id === Ve.id))
|
|
15298
15298
|
continue;
|
|
@@ -15308,9 +15308,9 @@ const ya = 1e-3, _h = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15308
15308
|
me.position.clone().setY(i),
|
|
15309
15309
|
Ye.position.clone().sub(me.position.clone().setY(i)).normalize(),
|
|
15310
15310
|
0,
|
|
15311
|
-
Ye.distance +
|
|
15311
|
+
Ye.distance + Fh
|
|
15312
15312
|
), [Ct] = p.intersectObjects ? ot.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(ot) : ot.intersectObjects(n.model.children, !0);
|
|
15313
|
-
if (Ct && Ye.distance - Ct.distance <
|
|
15313
|
+
if (Ct && Ye.distance - Ct.distance < Fh) {
|
|
15314
15314
|
const { position: Ve, normal: Ne, id: Je, replacement: Rt } = Ye, os = new w.Plane().setFromNormalAndCoplanarPoint(Ne, Ve), Xt = Ve.clone().sub(me.position).cross(new w.Vector3(0, 1, 0)).setLength(ya), bi = [
|
|
15315
15315
|
Ve.clone(),
|
|
15316
15316
|
Ve.clone().add(Xt),
|
|
@@ -15353,7 +15353,7 @@ const ya = 1e-3, _h = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15353
15353
|
}), 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);
|
|
15354
15354
|
}, W = (ee) => {
|
|
15355
15355
|
p.intersectObjects = ee, E();
|
|
15356
|
-
},
|
|
15356
|
+
}, _ = () => {
|
|
15357
15357
|
p.enabled = !0, E();
|
|
15358
15358
|
}, N = () => {
|
|
15359
15359
|
p.enabled = !1, m.$set({ origins: [] }), p.tags.forEach((ee) => {
|
|
@@ -15367,7 +15367,7 @@ const ya = 1e-3, _h = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15367
15367
|
p.folded = !0, p.tags.forEach((ee) => {
|
|
15368
15368
|
ee.app.$set({ folded: p.folded });
|
|
15369
15369
|
});
|
|
15370
|
-
},
|
|
15370
|
+
}, F = (ee) => {
|
|
15371
15371
|
p.tags.forEach((ve) => {
|
|
15372
15372
|
ve.id === ee && ve.app.$set({ folded: !1 });
|
|
15373
15373
|
});
|
|
@@ -15389,9 +15389,9 @@ const ya = 1e-3, _h = 0.01, dy = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
15389
15389
|
setIntersectObjects: W,
|
|
15390
15390
|
unfoldAll: G,
|
|
15391
15391
|
foldAll: H,
|
|
15392
|
-
unfold:
|
|
15392
|
+
unfold: F,
|
|
15393
15393
|
fold: U,
|
|
15394
|
-
enable:
|
|
15394
|
+
enable: _,
|
|
15395
15395
|
disable: N,
|
|
15396
15396
|
hooks: g,
|
|
15397
15397
|
dispose: $
|
|
@@ -15457,7 +15457,7 @@ function gy(n) {
|
|
|
15457
15457
|
c() {
|
|
15458
15458
|
t = S("div"), e = S("div"), i = S("span"), o = ke(s), r = K(), a = S("div"), C(i, "class", "item-label-item__text svelte-1wufped"), C(e, "class", "item-label-item__text-wrap svelte-1wufped"), T(e, "top", `-${/*itemLabel*/
|
|
15459
15459
|
n[0].strokeLength + 26}px`), C(a, "class", "item-label-item__bar svelte-1wufped"), T(a, "height", `${/*itemLabel*/
|
|
15460
|
-
n[0].strokeLength}px`), C(t, "class", l =
|
|
15460
|
+
n[0].strokeLength}px`), C(t, "class", l = _e(vt("item-label-item", { visible: (
|
|
15461
15461
|
/*itemLabel*/
|
|
15462
15462
|
n[0].visible
|
|
15463
15463
|
) })) + " svelte-1wufped"), T(
|
|
@@ -15492,7 +15492,7 @@ function gy(n) {
|
|
|
15492
15492
|
u[0].strokeLength + 26}px`), f & /*itemLabel*/
|
|
15493
15493
|
1 && T(a, "height", `${/*itemLabel*/
|
|
15494
15494
|
u[0].strokeLength}px`), f & /*itemLabel*/
|
|
15495
|
-
1 && l !== (l =
|
|
15495
|
+
1 && l !== (l = _e(vt("item-label-item", { visible: (
|
|
15496
15496
|
/*itemLabel*/
|
|
15497
15497
|
u[0].visible
|
|
15498
15498
|
) })) + " svelte-1wufped") && C(t, "class", l), f & /*itemLabel*/
|
|
@@ -15541,7 +15541,7 @@ function vg(n, t = 200) {
|
|
|
15541
15541
|
function Ay(n) {
|
|
15542
15542
|
ge(n, "svelte-f82itz", ".item-labels-container.svelte-f82itz{width:100%;height:100%;position:relative}");
|
|
15543
15543
|
}
|
|
15544
|
-
function
|
|
15544
|
+
function _h(n, t, e) {
|
|
15545
15545
|
const i = n.slice();
|
|
15546
15546
|
return i[26] = t[e], i;
|
|
15547
15547
|
}
|
|
@@ -15597,7 +15597,7 @@ function vy(n) {
|
|
|
15597
15597
|
l[26].id
|
|
15598
15598
|
);
|
|
15599
15599
|
for (let l = 0; l < r.length; l += 1) {
|
|
15600
|
-
let c =
|
|
15600
|
+
let c = _h(n, r, l), h = a(c);
|
|
15601
15601
|
i.set(h, e[l] = Wh(h, c));
|
|
15602
15602
|
}
|
|
15603
15603
|
return {
|
|
@@ -15628,7 +15628,7 @@ function vy(n) {
|
|
|
15628
15628
|
p(l, [c]) {
|
|
15629
15629
|
c & /*renderItemLabels, hooks*/
|
|
15630
15630
|
3 && (r = /*renderItemLabels*/
|
|
15631
|
-
l[1], ue(), e = Ut(e, c, a, 1, l, r, i, t, ji, Wh, null,
|
|
15631
|
+
l[1], ue(), e = Ut(e, c, a, 1, l, r, i, t, ji, Wh, null, _h), fe()), c & /*itemsVisible*/
|
|
15632
15632
|
16 && T(
|
|
15633
15633
|
t,
|
|
15634
15634
|
"opacity",
|
|
@@ -15660,17 +15660,17 @@ let Uh = 26, by = 11;
|
|
|
15660
15660
|
function yy(n, t, e) {
|
|
15661
15661
|
const { Raycaster: i, Vector3: s } = w;
|
|
15662
15662
|
let { five: o } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, h = null, u = null, f, g, A = [], p = !0;
|
|
15663
|
-
const m = (H,
|
|
15664
|
-
const U = new i(), Z = H.camera.position.clone(), X = new s().fromArray(
|
|
15663
|
+
const m = (H, F) => {
|
|
15664
|
+
const U = new i(), Z = H.camera.position.clone(), X = new s().fromArray(F.modelPosition), $ = X.distanceTo(Z);
|
|
15665
15665
|
U.set(Z.clone(), X.clone().sub(Z).normalize());
|
|
15666
15666
|
const [de] = H.model.intersectRaycaster(U);
|
|
15667
15667
|
return !(de && de.distance + 1 < $);
|
|
15668
|
-
}, b = (H,
|
|
15669
|
-
const U = new s(
|
|
15668
|
+
}, b = (H, F) => {
|
|
15669
|
+
const U = new s(F.modelPosition[0], F.modelPosition[1], F.modelPosition[2]), Z = H.project2d(U), X = Z == null ? void 0 : Z.x, $ = Z == null ? void 0 : Z.y;
|
|
15670
15670
|
return [X, $];
|
|
15671
|
-
}, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, P = (H,
|
|
15672
|
-
function I(H,
|
|
15673
|
-
switch (
|
|
15671
|
+
}, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, P = (H, F) => A.length === 0 ? !1 : !!A.find((Z) => H[0] >= Z[0] - F && H[0] <= Z[0] + F || H[1] >= Z[1] - Uh && H[1] <= Z[1] + Uh);
|
|
15672
|
+
function I(H, F) {
|
|
15673
|
+
switch (F) {
|
|
15674
15674
|
case Mn.SMALL:
|
|
15675
15675
|
return Math.ceil(-27.78 * H + 85);
|
|
15676
15676
|
case Mn.MIDLLE:
|
|
@@ -15681,8 +15681,8 @@ function yy(n, t, e) {
|
|
|
15681
15681
|
return Math.ceil(-92.59 * H + 300);
|
|
15682
15682
|
}
|
|
15683
15683
|
}
|
|
15684
|
-
const k = (H,
|
|
15685
|
-
const U =
|
|
15684
|
+
const k = (H, F) => {
|
|
15685
|
+
const U = F.map((X) => {
|
|
15686
15686
|
const $ = b(H, X), de = X.name.length * by, he = I(X.modelPosition[1], c), Ce = (r ? m(H, X) : !0) && !P([$[0], $[1] + he], de);
|
|
15687
15687
|
if (!Ce)
|
|
15688
15688
|
return se(D({}, X), { visible: Ce });
|
|
@@ -15705,7 +15705,7 @@ function yy(n, t, e) {
|
|
|
15705
15705
|
A = [], e(1, u = k(o, u));
|
|
15706
15706
|
};
|
|
15707
15707
|
Df(() => {
|
|
15708
|
-
|
|
15708
|
+
_();
|
|
15709
15709
|
});
|
|
15710
15710
|
const j = () => {
|
|
15711
15711
|
e(4, p = !1), V();
|
|
@@ -15720,7 +15720,7 @@ function yy(n, t, e) {
|
|
|
15720
15720
|
300
|
|
15721
15721
|
), W = () => {
|
|
15722
15722
|
window.addEventListener("resize", N, !1);
|
|
15723
|
-
},
|
|
15723
|
+
}, _ = () => {
|
|
15724
15724
|
h !== a && (e(1, u = a), h = a, E());
|
|
15725
15725
|
}, N = () => {
|
|
15726
15726
|
o.once("renderFrame", E);
|
|
@@ -15934,7 +15934,7 @@ const Iy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
|
|
|
15934
15934
|
side: w.DoubleSide
|
|
15935
15935
|
}), W = new w.Mesh(P, V);
|
|
15936
15936
|
W.renderOrder = 1, W.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
|
|
15937
|
-
const
|
|
15937
|
+
const _ = [b[1], b[2], b[3], b[0]], N = i.create3DDomContainer(_);
|
|
15938
15938
|
if (N != null && N.container) {
|
|
15939
15939
|
const G = document.createElement("div");
|
|
15940
15940
|
G.classList.add("play-icon"), G.style.width = "100%", G.style.height = "100%", G.style.display = "flex", G.style.justifyContent = "center", G.style.alignItems = "center", G.style.pointerEvents = "none", N.container.appendChild(G);
|
|
@@ -16092,15 +16092,15 @@ function Dy(n) {
|
|
|
16092
16092
|
let f = u(n, -1), g = f(n);
|
|
16093
16093
|
return {
|
|
16094
16094
|
c() {
|
|
16095
|
-
t = S("div"), e = S("div"), g.c(), o = K(), r = S("div"), C(e, "class", s =
|
|
16095
|
+
t = S("div"), e = S("div"), g.c(), o = K(), r = S("div"), C(e, "class", s = _e(vt("item-label-item__text-wrap", {
|
|
16096
16096
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
16097
16097
|
n[0].render == "function"
|
|
16098
16098
|
})) + " svelte-1jhufeh"), T(e, "bottom", `${/*itemLabel*/
|
|
16099
|
-
n[0].strokeLength}px`), C(r, "class", a =
|
|
16099
|
+
n[0].strokeLength}px`), C(r, "class", a = _e(vt("item-label-item__bar", { anchor: (
|
|
16100
16100
|
/*anchorEnabled*/
|
|
16101
16101
|
n[1]
|
|
16102
16102
|
) })) + " svelte-1jhufeh"), T(r, "height", `${/*itemLabel*/
|
|
16103
|
-
n[0].strokeLength}px`), C(t, "class", l =
|
|
16103
|
+
n[0].strokeLength}px`), C(t, "class", l = _e(vt("item-label-item", { fold: (
|
|
16104
16104
|
/*itemLabel*/
|
|
16105
16105
|
n[0].isFold
|
|
16106
16106
|
) })) + " svelte-1jhufeh"), T(
|
|
@@ -16125,19 +16125,19 @@ function Dy(n) {
|
|
|
16125
16125
|
},
|
|
16126
16126
|
p(A, [p]) {
|
|
16127
16127
|
f === (f = u(A, p)) && g ? g.p(A, p) : (g.d(1), g = f(A), g && (g.c(), g.m(e, null))), p & /*itemLabel*/
|
|
16128
|
-
1 && s !== (s =
|
|
16128
|
+
1 && s !== (s = _e(vt("item-label-item__text-wrap", {
|
|
16129
16129
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
16130
16130
|
A[0].render == "function"
|
|
16131
16131
|
})) + " svelte-1jhufeh") && C(e, "class", s), p & /*itemLabel*/
|
|
16132
16132
|
1 && T(e, "bottom", `${/*itemLabel*/
|
|
16133
16133
|
A[0].strokeLength}px`), p & /*anchorEnabled*/
|
|
16134
|
-
2 && a !== (a =
|
|
16134
|
+
2 && a !== (a = _e(vt("item-label-item__bar", { anchor: (
|
|
16135
16135
|
/*anchorEnabled*/
|
|
16136
16136
|
A[1]
|
|
16137
16137
|
) })) + " svelte-1jhufeh") && C(r, "class", a), p & /*itemLabel*/
|
|
16138
16138
|
1 && T(r, "height", `${/*itemLabel*/
|
|
16139
16139
|
A[0].strokeLength}px`), p & /*itemLabel*/
|
|
16140
|
-
1 && l !== (l =
|
|
16140
|
+
1 && l !== (l = _e(vt("item-label-item", { fold: (
|
|
16141
16141
|
/*itemLabel*/
|
|
16142
16142
|
A[0].isFold
|
|
16143
16143
|
) })) + " svelte-1jhufeh") && C(t, "class", l), p & /*itemLabel*/
|
|
@@ -16395,22 +16395,22 @@ let Ry = 11;
|
|
|
16395
16395
|
function Vy(n, t, e) {
|
|
16396
16396
|
const { Vector3: i } = w;
|
|
16397
16397
|
let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, h = null, u = null, f = (s == null ? void 0 : s.currentMode) === dt.Mode.Panorama, g, A, p = [], m = !0;
|
|
16398
|
-
const b = (
|
|
16399
|
-
const Z =
|
|
16400
|
-
return c !== void 0 &&
|
|
16401
|
-
}, y = (
|
|
16402
|
-
const { camera: U, model: Z } = s, { x: X, y: $, z: de } =
|
|
16398
|
+
const b = (F, U) => {
|
|
16399
|
+
const Z = F.camera.position.clone(), X = new i(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), $ = X.distanceTo(Z);
|
|
16400
|
+
return c !== void 0 && F.state.mode === dt.Mode.Panorama && $ > c ? !1 : Xh(F, X.clone().sub(Z).normalize(), Z, $);
|
|
16401
|
+
}, y = (F) => {
|
|
16402
|
+
const { camera: U, model: Z } = s, { x: X, y: $, z: de } = F.clone().project(U), he = (X + 1) / 2, Pe = (2 - ($ + 1)) / 2;
|
|
16403
16403
|
return !!(Math.abs(de) < 1 && [he, Pe].every((ye) => ye < 1 && ye >= 0));
|
|
16404
|
-
}, P = (
|
|
16405
|
-
const Z = new i(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), X =
|
|
16404
|
+
}, P = (F, U) => {
|
|
16405
|
+
const Z = new i(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), X = F.project2d(Z), $ = X == null ? void 0 : X.x, de = X == null ? void 0 : X.y;
|
|
16406
16406
|
return [$, de];
|
|
16407
|
-
}, I = (
|
|
16407
|
+
}, I = (F, U) => {
|
|
16408
16408
|
const Z = U.map(($) => {
|
|
16409
|
-
if (
|
|
16409
|
+
if (F.state.panoIndex !== $.panoIndex)
|
|
16410
16410
|
return se(D({}, $), { visible: !1 });
|
|
16411
|
-
const de = P(
|
|
16411
|
+
const de = P(F, $);
|
|
16412
16412
|
$.name.length * Ry;
|
|
16413
|
-
const he = jy($.modelPosition[1], l), Pe =
|
|
16413
|
+
const he = jy($.modelPosition[1], l), Pe = F.currentMode === dt.Mode.Panorama ? y(new i($.position[0], $.position[1], $.position[2])) : !0, Ce = o ? b(F, $) : !1, be = Pe && !Ce;
|
|
16414
16414
|
if (!be)
|
|
16415
16415
|
return se(D({}, $), { visible: be });
|
|
16416
16416
|
p.push(de);
|
|
@@ -16422,7 +16422,7 @@ function Vy(n, t, e) {
|
|
|
16422
16422
|
});
|
|
16423
16423
|
}), X = Z.filter(({ visible: $ }) => $).map(($) => ({
|
|
16424
16424
|
itemLabelItem: $,
|
|
16425
|
-
distance: new i($.modelPosition[0], $.modelPosition[1], $.modelPosition[2]).clone().distanceTo(
|
|
16425
|
+
distance: new i($.modelPosition[0], $.modelPosition[1], $.modelPosition[2]).clone().distanceTo(F.camera.position)
|
|
16426
16426
|
})).sort(($, de) => $.distance - de.distance);
|
|
16427
16427
|
return Z.map(($) => {
|
|
16428
16428
|
const de = X.findIndex((he) => he.itemLabelItem.id === $.id);
|
|
@@ -16441,39 +16441,39 @@ function Vy(n, t, e) {
|
|
|
16441
16441
|
s.once("renderFrame", k);
|
|
16442
16442
|
}, W = () => {
|
|
16443
16443
|
window.addEventListener("resize", V, !1);
|
|
16444
|
-
},
|
|
16444
|
+
}, _ = () => {
|
|
16445
16445
|
h !== r && (e(1, u = Zh(r)), h = r, k());
|
|
16446
|
-
}, N = (
|
|
16446
|
+
}, N = (F, U) => {
|
|
16447
16447
|
let Z = [];
|
|
16448
16448
|
for (const { position: $, panoIndex: de } of U) {
|
|
16449
|
-
const he =
|
|
16449
|
+
const he = F.distanceTo($);
|
|
16450
16450
|
(c === void 0 || he <= c || s.state.mode !== dt.Mode.Panorama) && Z.push({ panoIndex: de, obVector: $, distance: he });
|
|
16451
16451
|
}
|
|
16452
16452
|
Z = Z.sort(($, de) => $.distance - de.distance);
|
|
16453
16453
|
let X;
|
|
16454
16454
|
for (const $ of Z) {
|
|
16455
16455
|
const { obVector: de, distance: he, panoIndex: Pe } = $;
|
|
16456
|
-
if (!Xh(s,
|
|
16456
|
+
if (!Xh(s, F, de, he)) {
|
|
16457
16457
|
X = Pe;
|
|
16458
16458
|
break;
|
|
16459
16459
|
}
|
|
16460
16460
|
}
|
|
16461
16461
|
return typeof X == "number" ? U[X] : void 0;
|
|
16462
|
-
}, G = (
|
|
16462
|
+
}, G = (F) => {
|
|
16463
16463
|
if (s.state.mode === dt.Mode.Panorama)
|
|
16464
16464
|
return;
|
|
16465
|
-
const U = s.work.observers, Z = new i().fromArray(
|
|
16466
|
-
if (X && (
|
|
16467
|
-
const $ = U[
|
|
16465
|
+
const U = s.work.observers, Z = new i().fromArray(F.position), X = N(Z, U);
|
|
16466
|
+
if (X && (F.observerIndex = X.panoIndex), typeof F.observerIndex == "number") {
|
|
16467
|
+
const $ = U[F.observerIndex], de = Z.clone().sub($.position).normalize(), he = {
|
|
16468
16468
|
longitude: Math.PI + Math.atan2(de.x, de.z),
|
|
16469
16469
|
latitude: Math.acos(de.y / de.length()) - Math.PI / 2
|
|
16470
16470
|
};
|
|
16471
16471
|
s.setState(se(D({}, he), {
|
|
16472
16472
|
mode: dt.Mode.Panorama,
|
|
16473
|
-
panoIndex:
|
|
16473
|
+
panoIndex: F.observerIndex
|
|
16474
16474
|
})), s.once("initAnimationEnded", () => {
|
|
16475
16475
|
e(1, u = u.map((Pe) => se(D({}, Pe), {
|
|
16476
|
-
isFold: Pe.id !==
|
|
16476
|
+
isFold: Pe.id !== F.id
|
|
16477
16477
|
}))), s.once("cameraUpdate", () => {
|
|
16478
16478
|
e(1, u = u.map((Pe) => se(D({}, Pe), { isFold: !1 })));
|
|
16479
16479
|
});
|
|
@@ -16481,7 +16481,7 @@ function Vy(n, t, e) {
|
|
|
16481
16481
|
}
|
|
16482
16482
|
};
|
|
16483
16483
|
Df(() => {
|
|
16484
|
-
|
|
16484
|
+
_();
|
|
16485
16485
|
}), Et(() => {
|
|
16486
16486
|
e(1, u = Zh(r)), h = r, k(), W(), s.on("cameraUpdate", E);
|
|
16487
16487
|
}), Bt(() => {
|
|
@@ -16490,8 +16490,8 @@ function Vy(n, t, e) {
|
|
|
16490
16490
|
function H() {
|
|
16491
16491
|
g = this.clientWidth, A = this.clientHeight, e(3, g), e(4, A);
|
|
16492
16492
|
}
|
|
16493
|
-
return n.$$set = (
|
|
16494
|
-
"five" in
|
|
16493
|
+
return n.$$set = (F) => {
|
|
16494
|
+
"five" in F && e(7, s = F.five), "modelOcclusionEnable" in F && e(8, o = F.modelOcclusionEnable), "itemLabels" in F && e(9, r = F.itemLabels), "hooks" in F && e(0, a = F.hooks), "displayStrategyType" in F && e(10, l = F.displayStrategyType), "maxVisibleDistance" in F && e(11, c = F.maxVisibleDistance);
|
|
16495
16495
|
}, [
|
|
16496
16496
|
a,
|
|
16497
16497
|
u,
|
|
@@ -16678,15 +16678,15 @@ class Gy extends rn {
|
|
|
16678
16678
|
this.setState(se(D({}, this.state), { enabled: this.enabled, visible: this.visible }), e);
|
|
16679
16679
|
}
|
|
16680
16680
|
}
|
|
16681
|
-
function
|
|
16681
|
+
function Fy(n) {
|
|
16682
16682
|
ge(n, "svelte-1irjijd", '.plugin-DoorLabelPlugin-item.svelte-1irjijd.svelte-1irjijd{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd::after{content:"";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-1irjijd.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTAgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aW1hZ2Ut566t5aS0PC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxyZWN0IGlkPSJwYXRoLTEiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PC9yZWN0PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iNjYuMDYyMTk3NSUiIHkxPSI1MCUiIHgyPSItMS4xMzY4NjgzOGUtMTElIiB5Mj0iNTAlIiBpZD0ibGluZWFyR3JhZGllbnQtMyI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0ZGRkZGRiIgc3RvcC1vcGFjaXR5PSIwLjg1IiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iODQuMzM5NzMxJSIgeTE9IjUwJSIgeDI9IjIzLjQyODMzNzclIiB5Mj0iNTAlIiBpZD0ibGluZWFyR3JhZGllbnQtNCI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIHN0b3Atb3BhY2l0eT0iMCIgb2Zmc2V0PSIwJSI+PC9zdG9wPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRkZGRkZGIiBzdG9wLW9wYWNpdHk9IjAuOCIgb2Zmc2V0PSIxMDAlIj48L3N0b3A+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IlZSLeWIhumXtOW8leWvvOagh+etvuWkh+S7vS0zIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzM5LjAwMDAwMCwgLTU0My4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC0y5aSH5Lu9LTEyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMDUuMDAwMDAwLCA1MzYuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iaW1hZ2Ut566t5aS0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNC4wMDAwMDAsIDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgICAgICAgICA8dXNlIGlkPSJCRyIgZmlsbC1vcGFjaXR5PSIwIiBmaWxsPSIjRDhEOEQ4IiBvcGFjaXR5PSIwLjUxMTQ2Mjk4NCIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTcuOTM4ODY5OCwxLjE0Mzc2MTI5IEM4LjI1NDY1NDA0LDEuMjU3NTgwMzUgOC4zMTc4Mjg0LDEuMzAyMTY5OTggOC4zMTc3ODUyMSwxLjM1ODE1MjIzIEM4LjMxNzc1MDcyLDEuNDAyODQzMzUgOC4zMDU3NDkwNywxLjQ0NzUyNTI0IDguMjgxNzg0MTEsMS40ODcyMDUyMSBMOC4yODE3ODQxMSwxLjQ4NzIwNTIxIEw2LjIwOTg5MDQxLDQuOTE3NzQyNDUgQzYuMTM3ODg4MDgsNS4wMzY5NjAyOSA2LjEwMTg4NjkxLDUuMTcxMjIwMiA2LjEwMTg4NjkxLDUuMzA1NDgwMTEgQzYuMTAxODg2OTEsNS40Mzk3NDAwMiA2LjEzNzg4ODA4LDUuNTczOTk5OTQgNi4yMDk4OTA0MSw1LjY5MzIxNzc4IEw2LjIwOTg5MDQxLDUuNjkzMjE3NzggTDguMjgxNzg0MTEsOS4xMjM3NTUwMSBDOC4zMTc0NzQzOCw5LjE4Mjg0OTE2IDguMzI1ODMzMjIsOS4yNTA4MTUyIDguMzEwNDk1OTUsOS4zMTI5MzAyOCBDOC4yOTUxNTg2OCw5LjM3NTA0NTM2IDguMjU2MTI1MzEsOS40MzEzMDk0NyA4LjE5NzAzMTE3LDkuNDY2OTk5NzMgQzguMTU3MzUxMTksOS40OTA5NjQ2OSA4LjExMjY2OTMxLDkuNTAyOTY2MzQgOC4wNjc5NzgxOCw5LjUwMzAwMDgzIEM4LjAyMzI4NzA2LDkuNTAzMDM1MzEgNy45Nzg1ODY3MSw5LjQ5MTEwMjYzIDcuOTM4ODY5OCw5LjQ2NzE5ODkzIEw3LjkzODg2OTgsOS40NjcxOTg5MyBMMS4zNzk5MTIxOCw1LjUxOTY3ODE1IEMxLjMyMDc2MzAyLDUuNDg0MDc5MTIgMS4yODE2NDI4Nyw1LjQyNzg3NTMyIDEuMjY2MjA5NzcsNS4zNjU3ODM5OCBDMS4yNTQ2OTI1Niw1LjMxOTQ0NzMyIDEuMjU2MzY2OTgsNS4yNjk4MzE4MiAxLjI3Mjc1MzMzLDUuMjIzMDU0MDUgTDEuMjcyNzUzMzMsNS4yMjMwNTQwNSBaIiBpZD0i566t5aS0IiBzdHJva2U9InVybCgjbGluZWFyR3JhZGllbnQtNCkiIHN0cm9rZS13aWR0aD0iMC41IiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTMpIiBtYXNrPSJ1cmwoI21hc2stMikiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUuMDM5MjAwLCA1LjMwNTQ4MCkgc2NhbGUoMSwgLTEpIHJvdGF0ZSgtOTAuMDAwMDAwKSB0cmFuc2xhdGUoLTUuMDM5MjAwLCAtNS4zMDU0ODApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI4cHgiIHZpZXdCb3g9IjAgMCAxMCA4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPueureWktDwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9IjEwLjYzODU4ODQlIiB5MT0iMCUiIHgyPSI5Ni41MTYxNDc0JSIgeTI9IjEyOS43MzEzNTQlIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRkYyQ0MiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0VBRDA5QSIgb2Zmc2V0PSI0OC43MTQ0NDc4JSI+PC9zdG9wPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRDFCMTdFIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPC9kZWZzPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i5pyq5p2l5a625aSH5Lu9LTI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzA1LjAwMDAwMCwgLTU0NS4wMDAwMDApIiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTEpIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0i57yW57uELTLlpIfku70tMTMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0NS4wMDAwMDAsIDUzNy4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJpbWFnZS3nrq3lpLQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYwLjAwMDAwMCwgNy4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNOC40OTU3ODI5NCwxLjYxNjQ1MTEgTDYuNDIzODg5MjUsNS4wNDY5ODgzMyBDNi4zMjc4ODYxMyw1LjIwNTk0NTQ1IDYuMzI3ODg2MTMsNS40MDUwMTQ3NyA2LjQyMzg4OTI1LDUuNTYzOTcxODkgTDguNDk1NzgyOTQsOC45OTQ1MDkxMiBDOC42Mzg1NDQwMSw5LjIzMDg4NTcxIDguNTYyNjUzNjQsOS41MzgyMzc1IDguMzI2Mjc3MDYsOS42ODA5OTg1NiBDOC4xNjc1NTcxNiw5Ljc3Njg1ODQgNy45Njg4MjE5NSw5Ljc3NzAxMTc1IDcuODA5OTU0MzEsOS42ODEzOTY5NyBMMS4yNTA5OTY2OSw1LjczMzg3NjE4IEMxLjAxNDQwMDA4LDUuNTkxNDgwMDcgMC45MzgwMzU0ODEsNS4yODQyNDU3NiAxLjA4MDQzMTU5LDUuMDQ3NjQ5MTQgQzEuMTIyNTE0OCw0Ljk3NzcyNjI4IDEuMTgxMDczODMsNC45MTkxNjcyNSAxLjI1MDk5NjY5LDQuODc3MDg0MDQgTDcuODA5OTU0MzEsMC45Mjk1NjMyNTMgQzguMDQ2NTUwOTMsMC43ODcxNjcxNDIgOC4zNTM3ODUyNCwwLjg2MzUzMTczOSA4LjQ5NjE4MTM1LDEuMTAwMTI4MzUgQzguNTkxNzk2MTMsMS4yNTg5OTYgOC41OTE2NDI3OCwxLjQ1NzczMTIgOC40OTU3ODI5NCwxLjYxNjQ1MTEgWiIgaWQ9IueureWktCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4wMzkyMDAsIDUuMzA1NDgwKSBzY2FsZSgxLCAtMSkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtNS4wMzkyMDAsIC01LjMwNTQ4MCkgIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}');
|
|
16683
16683
|
}
|
|
16684
|
-
function
|
|
16684
|
+
function _y(n) {
|
|
16685
16685
|
let t, e, i, s, o, r, a, l;
|
|
16686
16686
|
return {
|
|
16687
16687
|
c() {
|
|
16688
16688
|
t = S("div"), e = S("div"), i = S("span"), i.textContent = `${/*name*/
|
|
16689
|
-
n[8]}`, s = K(), o = S("i"), C(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), C(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), C(e, "class", r =
|
|
16689
|
+
n[8]}`, s = K(), o = S("i"), C(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), C(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), C(e, "class", r = _e(vt(
|
|
16690
16690
|
"plugin-DoorLabelPlugin-cnt",
|
|
16691
16691
|
/*props*/
|
|
16692
16692
|
n[0].toward
|
|
@@ -16713,7 +16713,7 @@ function Fy(n) {
|
|
|
16713
16713
|
},
|
|
16714
16714
|
p(c, [h]) {
|
|
16715
16715
|
h & /*props*/
|
|
16716
|
-
1 && r !== (r =
|
|
16716
|
+
1 && r !== (r = _e(vt(
|
|
16717
16717
|
"plugin-DoorLabelPlugin-cnt",
|
|
16718
16718
|
/*props*/
|
|
16719
16719
|
c[0].toward
|
|
@@ -16759,7 +16759,7 @@ function Wy(n, t, e) {
|
|
|
16759
16759
|
}
|
|
16760
16760
|
class Uy extends ce {
|
|
16761
16761
|
constructor(t) {
|
|
16762
|
-
super(), le(this, t, Wy,
|
|
16762
|
+
super(), le(this, t, Wy, _y, ae, { props: 0, onClick: 1 }, Fy);
|
|
16763
16763
|
}
|
|
16764
16764
|
}
|
|
16765
16765
|
function Yy(n, t) {
|
|
@@ -16858,22 +16858,22 @@ class Ky extends Gy {
|
|
|
16858
16858
|
const s = this.five.getElement(), o = s.clientWidth, r = s.clientHeight, a = i.getWorldDirection(new oe()), l = [], c = [...this.labelItems];
|
|
16859
16859
|
if (c.forEach((E, j) => {
|
|
16860
16860
|
if (E.visible) {
|
|
16861
|
-
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,
|
|
16862
|
-
E.left = H, E.top =
|
|
16861
|
+
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;
|
|
16862
|
+
E.left = H, E.top = F, E.inSight = U && N < Math.PI / 2, E.cameraToward = Xy(this.five), U ? l.push({ disFromCameraToLabel: V, left: H, top: F, index: j }) : E.transform = "translate(-50%, -50%)";
|
|
16863
16863
|
} else
|
|
16864
16864
|
E.inSight = !1;
|
|
16865
16865
|
}), l.length > 1) {
|
|
16866
16866
|
let E = 0;
|
|
16867
16867
|
l.sort((j, V) => V.disFromCameraToLabel - j.disFromCameraToLabel);
|
|
16868
16868
|
for (let j = 1; j < l.length; j++) {
|
|
16869
|
-
const { index: V, left: W, top:
|
|
16870
|
-
if (!
|
|
16869
|
+
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];
|
|
16870
|
+
if (!F || !U)
|
|
16871
16871
|
return;
|
|
16872
16872
|
const Z = {
|
|
16873
16873
|
left: o * W / 100,
|
|
16874
|
-
top: r *
|
|
16875
|
-
width: (f = (u = (h =
|
|
16876
|
-
height: (p = (A = (g =
|
|
16874
|
+
top: r * _ / 100,
|
|
16875
|
+
width: (f = (u = (h = F.children) == null ? void 0 : h[0]) == null ? void 0 : u.clientWidth) != null ? f : 0,
|
|
16876
|
+
height: (p = (A = (g = F.children) == null ? void 0 : g[0]) == null ? void 0 : A.clientHeight) != null ? p : 0
|
|
16877
16877
|
}, X = {
|
|
16878
16878
|
left: o * G / 100,
|
|
16879
16879
|
top: r * H / 100,
|
|
@@ -17020,23 +17020,23 @@ Pr.normal = function(t, e) {
|
|
|
17020
17020
|
Pr.direction = function(t, e, i) {
|
|
17021
17021
|
return dw(t, e, i), yg(t, t), t;
|
|
17022
17022
|
};
|
|
17023
|
-
var hi = Pr,
|
|
17023
|
+
var hi = Pr, Fi = [0, 0], To = [0, 0], ed = [0, 0], Ps = [0, 0], fw = function(n, t) {
|
|
17024
17024
|
var e = null, i = [];
|
|
17025
17025
|
t && (n = n.slice(), n.push(n[0]));
|
|
17026
17026
|
for (var s = n.length, o = 1; o < s; o++) {
|
|
17027
17027
|
var r = n[o - 1], a = n[o], l = o < n.length - 1 ? n[o + 1] : null;
|
|
17028
|
-
if (hi.direction(
|
|
17029
|
-
hi.normal(e,
|
|
17028
|
+
if (hi.direction(Fi, a, r), e || (e = [0, 0], hi.normal(e, Fi)), o === 1 && wa(i, e, 1), !l)
|
|
17029
|
+
hi.normal(e, Fi), wa(i, e, 1);
|
|
17030
17030
|
else {
|
|
17031
17031
|
hi.direction(To, l, a);
|
|
17032
|
-
var c = hi.computeMiter(ed, Ps,
|
|
17032
|
+
var c = hi.computeMiter(ed, Ps, Fi, To, 1);
|
|
17033
17033
|
wa(i, Ps, c);
|
|
17034
17034
|
}
|
|
17035
17035
|
}
|
|
17036
17036
|
if (n.length > 2 && t) {
|
|
17037
17037
|
var h = n[s - 2], u = n[0], f = n[1];
|
|
17038
|
-
hi.direction(
|
|
17039
|
-
var g = hi.computeMiter(ed, Ps,
|
|
17038
|
+
hi.direction(Fi, u, h), hi.direction(To, f, u), hi.normal(e, Fi);
|
|
17039
|
+
var g = hi.computeMiter(ed, Ps, Fi, To, 1);
|
|
17040
17040
|
i[0][0] = Ps.slice(), i[s - 1][0] = Ps.slice(), i[0][1] = g, i[s - 1][1] = g, i.pop();
|
|
17041
17041
|
}
|
|
17042
17042
|
return i;
|
|
@@ -17059,13 +17059,13 @@ function vw(n) {
|
|
|
17059
17059
|
const l = r.getPoints(a), c = l.length, h = fw(l.map((E) => [E.x, E.z])), f = (c - 1) * gw * mw, g = 2 * c, A = g * pw, p = g * Aw, m = new Uint32Array(f), b = new Float32Array(A), y = new Float32Array(p);
|
|
17060
17060
|
let P = 0, I = 0;
|
|
17061
17061
|
for (let E = 0; E < l.length; E++) {
|
|
17062
|
-
const [j, V] = h[E][0], W = l[E], { x:
|
|
17062
|
+
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);
|
|
17063
17063
|
b[E * 6 + 0] = H.x, b[E * 6 + 1] = H.y, b[E * 6 + 2] = H.z;
|
|
17064
|
-
const
|
|
17065
|
-
b[E * 6 + 3] =
|
|
17064
|
+
const F = new oe(_ - j * s, N + 0.05, G - V * s);
|
|
17065
|
+
b[E * 6 + 3] = F.x, b[E * 6 + 4] = F.y, b[E * 6 + 5] = F.z, P += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
|
|
17066
17066
|
const U = P / t / i;
|
|
17067
17067
|
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) {
|
|
17068
|
-
const Z = new w.Vector3().lerpVectors(H,
|
|
17068
|
+
const Z = new w.Vector3().lerpVectors(H, F, 0.5);
|
|
17069
17069
|
if (n.skipPositions.some(($) => $.distanceTo(Z) < 0.26))
|
|
17070
17070
|
continue;
|
|
17071
17071
|
}
|
|
@@ -17216,18 +17216,18 @@ function Tw(n) {
|
|
|
17216
17216
|
extraData: n.extraData
|
|
17217
17217
|
}), n;
|
|
17218
17218
|
}
|
|
17219
|
-
const
|
|
17219
|
+
const _n = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", Os = {};
|
|
17220
17220
|
var Nl = /* @__PURE__ */ ((n) => (n.Default = "default", n.GetAudioDuration = "getAudioDuration", n.PlayAudio = "playAudio", n))(Nl || {});
|
|
17221
17221
|
function Lw(n, t) {
|
|
17222
17222
|
const e = (t == null ? void 0 : t.namespace) || "default", i = Os[e] || (Os[e] = []);
|
|
17223
|
-
let s = i.find((o) => !o.realSrc || o.realSrc ===
|
|
17224
|
-
return s || (console.warn("未找到缓存音频,已新建", Os), s = new Pg(
|
|
17223
|
+
let s = i.find((o) => !o.realSrc || o.realSrc === _n);
|
|
17224
|
+
return s || (console.warn("未找到缓存音频,已新建", Os), s = new Pg(_n), i.push(s)), n && (s.src = n), s;
|
|
17225
17225
|
}
|
|
17226
17226
|
function jw(n, t) {
|
|
17227
17227
|
const e = (t == null ? void 0 : t.namespace) || "default", i = Os[e] || (Os[e] = []), s = n - i.length;
|
|
17228
17228
|
if (!(s <= 0))
|
|
17229
17229
|
for (let o = 0; o < s; o++)
|
|
17230
|
-
i.push(new Pg(
|
|
17230
|
+
i.push(new Pg(_n));
|
|
17231
17231
|
}
|
|
17232
17232
|
class Pg extends (() => typeof Audio == "undefined" ? class {
|
|
17233
17233
|
} : Audio)() {
|
|
@@ -17247,7 +17247,7 @@ class Pg extends (() => typeof Audio == "undefined" ? class {
|
|
|
17247
17247
|
};
|
|
17248
17248
|
}
|
|
17249
17249
|
get isBlankAudio() {
|
|
17250
|
-
return this.realSrc ===
|
|
17250
|
+
return this.realSrc === _n || !this.realSrc;
|
|
17251
17251
|
}
|
|
17252
17252
|
get src() {
|
|
17253
17253
|
return super.src;
|
|
@@ -17262,11 +17262,11 @@ class Pg extends (() => typeof Audio == "undefined" ? class {
|
|
|
17262
17262
|
super.muted = e;
|
|
17263
17263
|
}
|
|
17264
17264
|
clear() {
|
|
17265
|
-
this.currentTime = 0, this.src =
|
|
17265
|
+
this.currentTime = 0, this.src = _n;
|
|
17266
17266
|
}
|
|
17267
17267
|
}
|
|
17268
17268
|
function zw(n) {
|
|
17269
|
-
n && (n.inited || (n.src && (n.inited = !0, n.removeDocumentEventListener()), n.src ===
|
|
17269
|
+
n && (n.inited || (n.src && (n.inited = !0, n.removeDocumentEventListener()), n.src === _n && n.play()));
|
|
17270
17270
|
}
|
|
17271
17271
|
function sl(n, t) {
|
|
17272
17272
|
if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
@@ -17421,7 +17421,7 @@ class Nw extends rn {
|
|
|
17421
17421
|
const Qw = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
|
|
17422
17422
|
navigator.userAgent.toLowerCase().indexOf("android");
|
|
17423
17423
|
const Go = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, Gw = Qw && Go;
|
|
17424
|
-
function
|
|
17424
|
+
function Fw(n) {
|
|
17425
17425
|
if (n.length !== 4)
|
|
17426
17426
|
return !1;
|
|
17427
17427
|
const [t, e, i, s] = n, o = t.distanceTo(e), r = e.distanceTo(i), a = i.distanceTo(s), l = s.distanceTo(t), c = t.distanceTo(i), h = e.distanceTo(s);
|
|
@@ -17455,7 +17455,7 @@ class Ig extends w.BufferGeometry {
|
|
|
17455
17455
|
d(this, "name", "QuadrangleGeometry");
|
|
17456
17456
|
d(this, "points");
|
|
17457
17457
|
this.points = e;
|
|
17458
|
-
const s = i != null ? i :
|
|
17458
|
+
const s = i != null ? i : Fw(e) ? 64 : 1;
|
|
17459
17459
|
if (e.length !== 4) {
|
|
17460
17460
|
console.error("Invalid number of points, it's not a quadrangle");
|
|
17461
17461
|
return;
|
|
@@ -17482,7 +17482,7 @@ class Ig extends w.BufferGeometry {
|
|
|
17482
17482
|
this.setAttribute("position", new w.BufferAttribute(new Float32Array(g), 3)), this.setAttribute("uv", new w.BufferAttribute(new Float32Array(A), 2)), this.setIndex(new w.BufferAttribute(new Uint32Array(p), 1));
|
|
17483
17483
|
}
|
|
17484
17484
|
}
|
|
17485
|
-
function
|
|
17485
|
+
function _w(n, t) {
|
|
17486
17486
|
let e = !Go;
|
|
17487
17487
|
const i = t != null ? t : document.createElement("video");
|
|
17488
17488
|
i.preload = "metadata", i.crossOrigin = "anonymous", i.muted = !0, i.loop = !0, i.playsInline = !0, i.autoplay = !0;
|
|
@@ -17764,7 +17764,7 @@ class Mg extends Eg {
|
|
|
17764
17764
|
var s, o;
|
|
17765
17765
|
if ((s = this.videoTextureMap) != null && s.has(e))
|
|
17766
17766
|
return this.videoTextureMap.get(e);
|
|
17767
|
-
const i =
|
|
17767
|
+
const i = _w(e);
|
|
17768
17768
|
return (o = this.videoTextureMap) == null || o.set(e, i), i;
|
|
17769
17769
|
}
|
|
17770
17770
|
}
|
|
@@ -17968,7 +17968,7 @@ function od(n) {
|
|
|
17968
17968
|
const t = n.split("?")[0].split(".").pop();
|
|
17969
17969
|
return t ? t.toLowerCase() : "";
|
|
17970
17970
|
}
|
|
17971
|
-
const
|
|
17971
|
+
const Fs = (n, t) => {
|
|
17972
17972
|
if (!t)
|
|
17973
17973
|
return n;
|
|
17974
17974
|
const e = new w.Vector3(), i = new w.Quaternion(), s = new w.Vector3();
|
|
@@ -18020,7 +18020,7 @@ class Gl extends kg {
|
|
|
18020
18020
|
var s;
|
|
18021
18021
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.position;
|
|
18022
18022
|
if (i)
|
|
18023
|
-
return
|
|
18023
|
+
return Fs(i, this.transform);
|
|
18024
18024
|
}
|
|
18025
18025
|
/**
|
|
18026
18026
|
* @description: 获取全景点位和模型的地面坐标
|
|
@@ -18029,7 +18029,7 @@ class Gl extends kg {
|
|
|
18029
18029
|
var s;
|
|
18030
18030
|
const i = (s = this.getObserver(e)) == null ? void 0 : s.standingPosition;
|
|
18031
18031
|
if (i)
|
|
18032
|
-
return
|
|
18032
|
+
return Fs(i, this.transform);
|
|
18033
18033
|
}
|
|
18034
18034
|
/**
|
|
18035
18035
|
* @description: 获取observer
|
|
@@ -18040,6 +18040,15 @@ class Gl extends kg {
|
|
|
18040
18040
|
}
|
|
18041
18041
|
}
|
|
18042
18042
|
class Uw extends Nw {
|
|
18043
|
+
// private _cache_pointTag?: PointTagInstance[]
|
|
18044
|
+
// private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
|
|
18045
|
+
// private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
|
|
18046
|
+
// private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
|
|
18047
|
+
// private _cache_css3DTag?: (
|
|
18048
|
+
// | TagInstance<TagContentType, 'Plane'>
|
|
18049
|
+
// | TagInstance<TagContentType, 'Model'>
|
|
18050
|
+
// | TagInstance<TagContentType, '3DPoint'>
|
|
18051
|
+
// )[]
|
|
18043
18052
|
constructor(e) {
|
|
18044
18053
|
super(e);
|
|
18045
18054
|
d(this, "tags", []);
|
|
@@ -18058,11 +18067,6 @@ class Uw extends Nw {
|
|
|
18058
18067
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
18059
18068
|
});
|
|
18060
18069
|
d(this, "domEvents", new Ql(this.five));
|
|
18061
|
-
d(this, "_cache_pointTag");
|
|
18062
|
-
d(this, "_cache_2DPointTag");
|
|
18063
|
-
d(this, "_cache_imagePlane");
|
|
18064
|
-
d(this, "_cache_mediaModel");
|
|
18065
|
-
d(this, "_cache_css3DTag");
|
|
18066
18070
|
d(this, "loadVideoFirstFrame", () => {
|
|
18067
18071
|
Gw && this.hooks.emit("loadVideoFirstFrame");
|
|
18068
18072
|
});
|
|
@@ -18236,42 +18240,32 @@ class Uw extends Nw {
|
|
|
18236
18240
|
return Ca(this.getPositions(e));
|
|
18237
18241
|
}
|
|
18238
18242
|
get filterPointTag() {
|
|
18239
|
-
|
|
18240
|
-
const e = this.tags.filter((s) => s.stickType === "2DPoint" || s.stickType === "3DPoint").filter((s) => s.position);
|
|
18241
|
-
return this.tagsLengthWillUpdate && (this._cache_pointTag = e, this.tagsLengthWillUpdate = !1), (i = this._cache_pointTag) != null ? i : e;
|
|
18243
|
+
return this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position);
|
|
18242
18244
|
}
|
|
18243
18245
|
get filter2DPointTag() {
|
|
18244
|
-
|
|
18245
|
-
const e = this.tags.filter((s) => s.stickType === "2DPoint").filter((s) => s.position);
|
|
18246
|
-
return this.tagsLengthWillUpdate && (this._cache_2DPointTag = e, this.tagsLengthWillUpdate = !1), (i = this._cache_2DPointTag) != null ? i : e;
|
|
18246
|
+
return this.tags.filter((i) => i.stickType === "2DPoint").filter((i) => i.position);
|
|
18247
18247
|
}
|
|
18248
18248
|
get filterImagePlane() {
|
|
18249
|
-
|
|
18250
|
-
|
|
18251
|
-
(s) => s.contentType === "MediaPlane" && s.stickType === "Plane" && this.getRenderType(s) === "Mesh"
|
|
18249
|
+
return this.tags.filter(
|
|
18250
|
+
(i) => i.contentType === "MediaPlane" && i.stickType === "Plane" && this.getRenderType(i) === "Mesh"
|
|
18252
18251
|
);
|
|
18253
|
-
return this.tagsLengthWillUpdate && (this._cache_imagePlane = e, this.tagsLengthWillUpdate = !1), (i = this._cache_imagePlane) != null ? i : e;
|
|
18254
18252
|
}
|
|
18255
18253
|
get filterMediaModel() {
|
|
18256
|
-
|
|
18257
|
-
const e = this.tags.filter((s) => s.stickType === "Model" && s.contentType === "MediaModel");
|
|
18258
|
-
return this.tagsLengthWillUpdate && (this._cache_mediaModel = e, this.tagsLengthWillUpdate = !1), (i = this._cache_mediaModel) != null ? i : e;
|
|
18254
|
+
return this.tags.filter((i) => i.stickType === "Model" && i.contentType === "MediaModel");
|
|
18259
18255
|
}
|
|
18260
18256
|
get filterCSS3DTag() {
|
|
18261
|
-
|
|
18262
|
-
|
|
18263
|
-
|
|
18264
|
-
|
|
18265
|
-
|
|
18266
|
-
return o === "BehindDom" || o === "Dom";
|
|
18257
|
+
return this.tags.filter(
|
|
18258
|
+
(i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
|
|
18259
|
+
).filter((i) => {
|
|
18260
|
+
const s = this.getRenderType(i);
|
|
18261
|
+
return s === "BehindDom" || s === "Dom";
|
|
18267
18262
|
});
|
|
18268
|
-
return this.tagsLengthWillUpdate && (this._cache_css3DTag = e, this.tagsLengthWillUpdate = !1), (i = this._cache_css3DTag) != null ? i : e;
|
|
18269
18263
|
}
|
|
18270
18264
|
getTransformedPostion(e) {
|
|
18271
18265
|
if (!e)
|
|
18272
18266
|
return;
|
|
18273
18267
|
const i = this.workUtil.transform;
|
|
18274
|
-
return Array.isArray(e) && e.length === 4 ? e.map(Be).map((s) =>
|
|
18268
|
+
return Array.isArray(e) && e.length === 4 ? e.map(Be).map((s) => Fs(s, i)) : Fs(Be(e), i);
|
|
18275
18269
|
}
|
|
18276
18270
|
/**
|
|
18277
18271
|
* @description 检查是否已经销毁
|
|
@@ -18297,21 +18291,21 @@ class Uw extends Nw {
|
|
|
18297
18291
|
const o = {}, r = {}, a = {};
|
|
18298
18292
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P, I]) => {
|
|
18299
18293
|
var N, G;
|
|
18300
|
-
const k = P, E = k.split("-"), j = P.startsWith("["), V = j ? E[0].slice(1, -1) : void 0, W = j ? E.slice(1) : E,
|
|
18301
|
-
if (!
|
|
18302
|
-
if (W.length === 0 && (
|
|
18294
|
+
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;
|
|
18295
|
+
if (!_[k]) {
|
|
18296
|
+
if (W.length === 0 && (_[k] = I), W.length === 1) {
|
|
18303
18297
|
const [H] = W;
|
|
18304
|
-
(e.contentType === H || H === "Any") && (
|
|
18298
|
+
(e.contentType === H || H === "Any") && (_[k] = I);
|
|
18305
18299
|
}
|
|
18306
18300
|
if (W.length === 2) {
|
|
18307
|
-
const [H = "Any",
|
|
18308
|
-
H === "Mixin" && e.contentType ===
|
|
18301
|
+
const [H = "Any", F = "Any"] = W;
|
|
18302
|
+
H === "Mixin" && e.contentType === F && (_[k] = I), (e.stickType === H || H === "Any") && (e.contentType === F || F === "Any") && (_[k] = I);
|
|
18309
18303
|
}
|
|
18310
18304
|
if (W.length === 3) {
|
|
18311
|
-
const [H = "Any",
|
|
18312
|
-
if (
|
|
18305
|
+
const [H = "Any", F, U] = W;
|
|
18306
|
+
if (F === "Audio" && e.contentType === "Audio") {
|
|
18313
18307
|
const Z = e;
|
|
18314
|
-
(Z.stickType === H || H === "Any") && Z.data.appearance === U && (
|
|
18308
|
+
(Z.stickType === H || H === "Any") && Z.data.appearance === U && (_[k] = I);
|
|
18315
18309
|
}
|
|
18316
18310
|
}
|
|
18317
18311
|
}
|
|
@@ -18339,7 +18333,7 @@ function Yw(n, t) {
|
|
|
18339
18333
|
e.forEach((o) => {
|
|
18340
18334
|
var a, l, c;
|
|
18341
18335
|
const r = (l = (a = o.floorIndex) != null ? a : o.floor_index) != null ? l : 0;
|
|
18342
|
-
i[r] || (i[r] = []), i[r].push(
|
|
18336
|
+
i[r] || (i[r] = []), i[r].push(Fs(o.position, (c = n.options) == null ? void 0 : c.transform).y);
|
|
18343
18337
|
});
|
|
18344
18338
|
const s = i.map((o) => o.reduce((r, a) => r + a, 0) / o.length);
|
|
18345
18339
|
for (let o = s.length - 1; o > 0; o--)
|
|
@@ -18347,8 +18341,8 @@ function Yw(n, t) {
|
|
|
18347
18341
|
return o;
|
|
18348
18342
|
return 0;
|
|
18349
18343
|
}
|
|
18350
|
-
const
|
|
18351
|
-
|
|
18344
|
+
const Fo = new w.Raycaster();
|
|
18345
|
+
Fo.params.Points.threshold = 0.1;
|
|
18352
18346
|
class Xw extends Uw {
|
|
18353
18347
|
constructor(t) {
|
|
18354
18348
|
super(t);
|
|
@@ -18567,14 +18561,14 @@ class Xw extends Uw {
|
|
|
18567
18561
|
let a = 0, l = 0;
|
|
18568
18562
|
for (const A of r) {
|
|
18569
18563
|
const p = new w.Vector3().subVectors(A, o).normalize();
|
|
18570
|
-
|
|
18571
|
-
const m = o.distanceTo(A), [b] = this.five.model.intersectRaycaster(
|
|
18564
|
+
Fo.set(o, p);
|
|
18565
|
+
const m = o.distanceTo(A), [b] = this.five.model.intersectRaycaster(Fo), y = (() => {
|
|
18572
18566
|
if (!$t(t))
|
|
18573
18567
|
return;
|
|
18574
18568
|
const j = this.tags.filter($t).map((W) => {
|
|
18575
|
-
var
|
|
18576
|
-
return (
|
|
18577
|
-
}).filter(Me), [V] =
|
|
18569
|
+
var _;
|
|
18570
|
+
return (_ = W.model) == null ? void 0 : _.object;
|
|
18571
|
+
}).filter(Me), [V] = Fo.intersectObjects(j, !0);
|
|
18578
18572
|
return V;
|
|
18579
18573
|
})(), P = (h = i.distanceAccuracy) != null ? h : 0.01;
|
|
18580
18574
|
Math.min((u = b == null ? void 0 : b.distance) != null ? u : 1 / 0, (f = y == null ? void 0 : y.distance) != null ? f : 1 / 0) + P >= m ? a++ : l++;
|
|
@@ -18823,7 +18817,7 @@ function qw(n, t, e) {
|
|
|
18823
18817
|
f
|
|
18824
18818
|
];
|
|
18825
18819
|
}
|
|
18826
|
-
class
|
|
18820
|
+
class Fl extends ce {
|
|
18827
18821
|
constructor(t) {
|
|
18828
18822
|
super(), le(
|
|
18829
18823
|
this,
|
|
@@ -19209,8 +19203,8 @@ function aC(n, t, e) {
|
|
|
19209
19203
|
return E.slice().replace(V, (W) => `${c}${h}${W}${c}`).split(c).forEach((W) => W.startsWith(h) ? j.push({
|
|
19210
19204
|
id: nt(),
|
|
19211
19205
|
content: W.slice(h.length)
|
|
19212
|
-
}) : j.push(...W.split("").map((
|
|
19213
|
-
` ? f :
|
|
19206
|
+
}) : j.push(...W.split("").map((_) => _ === " " ? u : _ === `
|
|
19207
|
+
` ? f : _).map((_) => ({ id: nt(), content: _ })))), j;
|
|
19214
19208
|
}
|
|
19215
19209
|
function b() {
|
|
19216
19210
|
if (!A)
|
|
@@ -19231,7 +19225,7 @@ function aC(n, t, e) {
|
|
|
19231
19225
|
if (V > 0)
|
|
19232
19226
|
return V;
|
|
19233
19227
|
}();
|
|
19234
|
-
A =
|
|
19228
|
+
A = _o({
|
|
19235
19229
|
targets: E.slice(0, j).filter(Me),
|
|
19236
19230
|
autoplay: !1,
|
|
19237
19231
|
duration: 400,
|
|
@@ -19240,7 +19234,7 @@ function aC(n, t, e) {
|
|
|
19240
19234
|
opacity: [0, 1],
|
|
19241
19235
|
translateX: [4, 0],
|
|
19242
19236
|
translateY: [10, 0],
|
|
19243
|
-
delay:
|
|
19237
|
+
delay: _o.stagger(50),
|
|
19244
19238
|
easing: "easeInOutCubic"
|
|
19245
19239
|
}), a && A.seek(A.duration);
|
|
19246
19240
|
}
|
|
@@ -19625,7 +19619,7 @@ function gd(n) {
|
|
|
19625
19619
|
blurRadius: 120,
|
|
19626
19620
|
spreadRadius: 60
|
|
19627
19621
|
}
|
|
19628
|
-
}), i = new
|
|
19622
|
+
}), i = new Fl({
|
|
19629
19623
|
props: {
|
|
19630
19624
|
unfolded: (
|
|
19631
19625
|
/*unfolded*/
|
|
@@ -19666,7 +19660,7 @@ function gd(n) {
|
|
|
19666
19660
|
},
|
|
19667
19661
|
m(f, g) {
|
|
19668
19662
|
te(t, f, g), B(f, e, g), te(i, f, g), B(f, s, g), B(f, o, g), te(r, o, null), a = !0, l || (c = [
|
|
19669
|
-
|
|
19663
|
+
Ft(zi.call(null, o)),
|
|
19670
19664
|
Ae(
|
|
19671
19665
|
o,
|
|
19672
19666
|
"clientWidth",
|
|
@@ -20020,7 +20014,7 @@ function EC(n, t, e) {
|
|
|
20020
20014
|
8 && e(4, i = typeof (c == null ? void 0 : c.placeholder) == "string" || (c == null ? void 0 : c.inputting));
|
|
20021
20015
|
}, [r, a, l, c, i, o, s];
|
|
20022
20016
|
}
|
|
20023
|
-
class
|
|
20017
|
+
class _l extends ce {
|
|
20024
20018
|
constructor(t) {
|
|
20025
20019
|
super(), le(
|
|
20026
20020
|
this,
|
|
@@ -20044,7 +20038,7 @@ function MC(n) {
|
|
|
20044
20038
|
function Ad(n) {
|
|
20045
20039
|
var u, f;
|
|
20046
20040
|
let t, e, i, s, o, r, a, l, c;
|
|
20047
|
-
t = new
|
|
20041
|
+
t = new Fl({
|
|
20048
20042
|
props: {
|
|
20049
20043
|
unfolded: (
|
|
20050
20044
|
/*unfolded*/
|
|
@@ -20056,7 +20050,7 @@ function Ad(n) {
|
|
|
20056
20050
|
inDelay: 200,
|
|
20057
20051
|
useLinearColor: !0
|
|
20058
20052
|
}
|
|
20059
|
-
}), a = new
|
|
20053
|
+
}), a = new _l({
|
|
20060
20054
|
props: {
|
|
20061
20055
|
text: (
|
|
20062
20056
|
/*title*/
|
|
@@ -20151,7 +20145,7 @@ function Ad(n) {
|
|
|
20151
20145
|
function vd(n) {
|
|
20152
20146
|
var s;
|
|
20153
20147
|
let t, e, i;
|
|
20154
|
-
return e = new
|
|
20148
|
+
return e = new _l({
|
|
20155
20149
|
props: {
|
|
20156
20150
|
text: (
|
|
20157
20151
|
/*tag*/
|
|
@@ -20516,7 +20510,7 @@ class GC extends ce {
|
|
|
20516
20510
|
super(), le(this, t, QC, NC, ae, { active: 0 }, HC);
|
|
20517
20511
|
}
|
|
20518
20512
|
}
|
|
20519
|
-
function
|
|
20513
|
+
function FC(n) {
|
|
20520
20514
|
ge(n, "svelte-670fde", ".sc-carousel-dots__container.svelte-670fde{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 30px}.sc-carousel-dots__dot-container.svelte-670fde{height:calc(var(--sc-dot-size) + 14px);width:calc(var(--sc-dot-size) + 10px);display:flex;align-items:center;justify-content:center}");
|
|
20521
20515
|
}
|
|
20522
20516
|
function yd(n, t, e) {
|
|
@@ -20570,7 +20564,7 @@ function wd(n, t) {
|
|
|
20570
20564
|
}
|
|
20571
20565
|
};
|
|
20572
20566
|
}
|
|
20573
|
-
function
|
|
20567
|
+
function _C(n) {
|
|
20574
20568
|
let t, e = [], i = /* @__PURE__ */ new Map(), s, o = Array(
|
|
20575
20569
|
/*pagesCount*/
|
|
20576
20570
|
n[0]
|
|
@@ -20635,7 +20629,7 @@ function WC(n, t, e) {
|
|
|
20635
20629
|
}
|
|
20636
20630
|
class UC extends ce {
|
|
20637
20631
|
constructor(t) {
|
|
20638
|
-
super(), le(this, t, WC,
|
|
20632
|
+
super(), le(this, t, WC, _C, ae, { pagesCount: 0, currentPageIndex: 1 }, FC);
|
|
20639
20633
|
}
|
|
20640
20634
|
}
|
|
20641
20635
|
const Wn = "prev", Si = "next";
|
|
@@ -21105,10 +21099,10 @@ const Bs = (n, t, e) => {
|
|
|
21105
21099
|
n[t] && n[t]();
|
|
21106
21100
|
};
|
|
21107
21101
|
var SP = "Expected a function", jg = "__lodash_hash_undefined__", zg = 1 / 0, TP = "[object Function]", LP = "[object GeneratorFunction]", jP = "[object Symbol]", zP = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, OP = /^\w*$/, BP = /^\./, RP = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, VP = /[\\^$.*+?()[\]{}|]/g, HP = /\\(\\)?/g, NP = /^\[object .+?Constructor\]$/, QP = typeof Ot == "object" && Ot && Ot.Object === Object && Ot, GP = typeof self == "object" && self && self.Object === Object && self, Ul = QP || GP || Function("return this")();
|
|
21108
|
-
function
|
|
21102
|
+
function FP(n, t) {
|
|
21109
21103
|
return n == null ? void 0 : n[t];
|
|
21110
21104
|
}
|
|
21111
|
-
function
|
|
21105
|
+
function _P(n) {
|
|
21112
21106
|
var t = !1;
|
|
21113
21107
|
if (n != null && typeof n.toString != "function")
|
|
21114
21108
|
try {
|
|
@@ -21122,7 +21116,7 @@ var WP = Array.prototype, UP = Function.prototype, Og = Object.prototype, Ma = U
|
|
|
21122
21116
|
return n ? "Symbol(src)_1." + n : "";
|
|
21123
21117
|
}(), Bg = UP.toString, Yl = Og.hasOwnProperty, Rg = Og.toString, YP = RegExp(
|
|
21124
21118
|
"^" + Bg.call(Yl).replace(VP, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21125
|
-
), xd = Ul.Symbol, XP = WP.splice, ZP = Vg(Ul, "Map"),
|
|
21119
|
+
), xd = Ul.Symbol, XP = WP.splice, ZP = Vg(Ul, "Map"), _s = Vg(Object, "create"), Dd = xd ? xd.prototype : void 0, Sd = Dd ? Dd.toString : void 0;
|
|
21126
21120
|
function nn(n) {
|
|
21127
21121
|
var t = -1, e = n ? n.length : 0;
|
|
21128
21122
|
for (this.clear(); ++t < e; ) {
|
|
@@ -21131,14 +21125,14 @@ function nn(n) {
|
|
|
21131
21125
|
}
|
|
21132
21126
|
}
|
|
21133
21127
|
function JP() {
|
|
21134
|
-
this.__data__ =
|
|
21128
|
+
this.__data__ = _s ? _s(null) : {};
|
|
21135
21129
|
}
|
|
21136
21130
|
function qP(n) {
|
|
21137
21131
|
return this.has(n) && delete this.__data__[n];
|
|
21138
21132
|
}
|
|
21139
21133
|
function KP(n) {
|
|
21140
21134
|
var t = this.__data__;
|
|
21141
|
-
if (
|
|
21135
|
+
if (_s) {
|
|
21142
21136
|
var e = t[n];
|
|
21143
21137
|
return e === jg ? void 0 : e;
|
|
21144
21138
|
}
|
|
@@ -21146,11 +21140,11 @@ function KP(n) {
|
|
|
21146
21140
|
}
|
|
21147
21141
|
function $P(n) {
|
|
21148
21142
|
var t = this.__data__;
|
|
21149
|
-
return
|
|
21143
|
+
return _s ? t[n] !== void 0 : Yl.call(t, n);
|
|
21150
21144
|
}
|
|
21151
21145
|
function eI(n, t) {
|
|
21152
21146
|
var e = this.__data__;
|
|
21153
|
-
return e[n] =
|
|
21147
|
+
return e[n] = _s && t === void 0 ? jg : t, this;
|
|
21154
21148
|
}
|
|
21155
21149
|
nn.prototype.clear = JP;
|
|
21156
21150
|
nn.prototype.delete = qP;
|
|
@@ -21236,7 +21230,7 @@ function dI(n, t) {
|
|
|
21236
21230
|
function uI(n) {
|
|
21237
21231
|
if (!Ng(n) || AI(n))
|
|
21238
21232
|
return !1;
|
|
21239
|
-
var t = CI(n) ||
|
|
21233
|
+
var t = CI(n) || _P(n) ? YP : NP;
|
|
21240
21234
|
return t.test(yI(n));
|
|
21241
21235
|
}
|
|
21242
21236
|
function fI(n) {
|
|
@@ -21255,7 +21249,7 @@ function Er(n, t) {
|
|
|
21255
21249
|
return pI(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
21256
21250
|
}
|
|
21257
21251
|
function Vg(n, t) {
|
|
21258
|
-
var e =
|
|
21252
|
+
var e = FP(n, t);
|
|
21259
21253
|
return uI(e) ? e : void 0;
|
|
21260
21254
|
}
|
|
21261
21255
|
function mI(n, t) {
|
|
@@ -21344,8 +21338,8 @@ var jo = EI, or = {}, MI = {
|
|
|
21344
21338
|
}
|
|
21345
21339
|
};
|
|
21346
21340
|
(function(n, t) {
|
|
21347
|
-
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]", b = "[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]",
|
|
21348
|
-
he[o] = he[r] = he[k] = he[E] = he[a] = he[l] = he[j] = he[V] = he[W] = he[
|
|
21341
|
+
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]", b = "[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]", Z = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, de = /^(?:0|[1-9]\d*)$/, he = {};
|
|
21342
|
+
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[b] = he[y] = he[P] = he[G] = he[H] = he[F] = he[U] = !0, he[c] = he[h] = he[I] = !1;
|
|
21349
21343
|
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")(), Ge = t && !t.nodeType && t, ye = Ge && !0 && n && !n.nodeType && n, Ze = ye && ye.exports === Ge;
|
|
21350
21344
|
function ee(v, M) {
|
|
21351
21345
|
return v.set(M[0], M[1]), v;
|
|
@@ -21397,7 +21391,7 @@ var jo = EI, or = {}, MI = {
|
|
|
21397
21391
|
return v(M(R));
|
|
21398
21392
|
};
|
|
21399
21393
|
}
|
|
21400
|
-
function
|
|
21394
|
+
function Fe(v) {
|
|
21401
21395
|
var M = -1, R = Array(v.size);
|
|
21402
21396
|
return v.forEach(function(Y) {
|
|
21403
21397
|
R[++M] = Y;
|
|
@@ -21504,10 +21498,10 @@ var jo = EI, or = {}, MI = {
|
|
|
21504
21498
|
function Gr(v) {
|
|
21505
21499
|
return this.__data__.delete(v);
|
|
21506
21500
|
}
|
|
21507
|
-
function
|
|
21501
|
+
function Fr(v) {
|
|
21508
21502
|
return this.__data__.get(v);
|
|
21509
21503
|
}
|
|
21510
|
-
function
|
|
21504
|
+
function _r(v) {
|
|
21511
21505
|
return this.__data__.has(v);
|
|
21512
21506
|
}
|
|
21513
21507
|
function Wr(v, M) {
|
|
@@ -21520,7 +21514,7 @@ var jo = EI, or = {}, MI = {
|
|
|
21520
21514
|
}
|
|
21521
21515
|
return R.set(v, M), this;
|
|
21522
21516
|
}
|
|
21523
|
-
xt.prototype.clear = Qr, xt.prototype.delete = Gr, xt.prototype.get =
|
|
21517
|
+
xt.prototype.clear = Qr, xt.prototype.delete = Gr, xt.prototype.get = Fr, xt.prototype.has = _r, xt.prototype.set = Wr;
|
|
21524
21518
|
function fn(v, M) {
|
|
21525
21519
|
var R = ps(v) || pn(v) ? at(v.length, String) : [], Y = R.length, Ee = !!Y;
|
|
21526
21520
|
for (var pe in v)
|
|
@@ -21622,7 +21616,7 @@ var jo = EI, or = {}, MI = {
|
|
|
21622
21616
|
return M.lastIndex = v.lastIndex, M;
|
|
21623
21617
|
}
|
|
21624
21618
|
function qr(v, M, R) {
|
|
21625
|
-
var Y = M ? R(
|
|
21619
|
+
var Y = M ? R(Fe(v), !0) : Fe(v);
|
|
21626
21620
|
return tt(Y, ve, new v.constructor());
|
|
21627
21621
|
}
|
|
21628
21622
|
function Kr(v) {
|
|
@@ -21698,11 +21692,11 @@ var jo = EI, or = {}, MI = {
|
|
|
21698
21692
|
case j:
|
|
21699
21693
|
case V:
|
|
21700
21694
|
case W:
|
|
21701
|
-
case
|
|
21695
|
+
case _:
|
|
21702
21696
|
case N:
|
|
21703
21697
|
case G:
|
|
21704
21698
|
case H:
|
|
21705
|
-
case
|
|
21699
|
+
case F:
|
|
21706
21700
|
case U:
|
|
21707
21701
|
return $r(v, Y);
|
|
21708
21702
|
case f:
|
|
@@ -21797,8 +21791,8 @@ var rr = {}, xI = {
|
|
|
21797
21791
|
}
|
|
21798
21792
|
};
|
|
21799
21793
|
(function(n, t) {
|
|
21800
|
-
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]", b = "[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]",
|
|
21801
|
-
ye[H] = ye[
|
|
21794
|
+
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]", b = "[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]", Z = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", de = "[object Uint8ClampedArray]", he = "[object Uint16Array]", Pe = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, Ge = /^(?:0|[1-9]\d*)$/, ye = {};
|
|
21795
|
+
ye[H] = ye[F] = ye[U] = ye[Z] = ye[X] = 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;
|
|
21802
21796
|
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() {
|
|
21803
21797
|
try {
|
|
21804
21798
|
return at && at.binding && at.binding("util");
|
|
@@ -21817,7 +21811,7 @@ var rr = {}, xI = {
|
|
|
21817
21811
|
v[Ee + R] = M[R];
|
|
21818
21812
|
return v;
|
|
21819
21813
|
}
|
|
21820
|
-
function
|
|
21814
|
+
function Fe(v, M) {
|
|
21821
21815
|
for (var R = -1, Y = v == null ? 0 : v.length; ++R < Y; )
|
|
21822
21816
|
if (M(v[R], R, v))
|
|
21823
21817
|
return !0;
|
|
@@ -21940,17 +21934,17 @@ var rr = {}, xI = {
|
|
|
21940
21934
|
var M = Ht(this, v).delete(v);
|
|
21941
21935
|
return this.size -= M ? 1 : 0, M;
|
|
21942
21936
|
}
|
|
21943
|
-
function
|
|
21937
|
+
function Fr(v) {
|
|
21944
21938
|
return Ht(this, v).get(v);
|
|
21945
21939
|
}
|
|
21946
|
-
function
|
|
21940
|
+
function _r(v) {
|
|
21947
21941
|
return Ht(this, v).has(v);
|
|
21948
21942
|
}
|
|
21949
21943
|
function Wr(v, M) {
|
|
21950
21944
|
var R = Ht(this, v), Y = R.size;
|
|
21951
21945
|
return R.set(v, M), this.size += R.size == Y ? 0 : 1, this;
|
|
21952
21946
|
}
|
|
21953
|
-
xt.prototype.clear = Qr, xt.prototype.delete = Gr, xt.prototype.get =
|
|
21947
|
+
xt.prototype.clear = Qr, xt.prototype.delete = Gr, xt.prototype.get = Fr, xt.prototype.has = _r, xt.prototype.set = Wr;
|
|
21954
21948
|
function fn(v) {
|
|
21955
21949
|
var M = -1, R = v == null ? 0 : v.length;
|
|
21956
21950
|
for (this.__data__ = new xt(); ++M < R; )
|
|
@@ -22076,7 +22070,7 @@ var rr = {}, xI = {
|
|
|
22076
22070
|
break;
|
|
22077
22071
|
}
|
|
22078
22072
|
if (it) {
|
|
22079
|
-
if (!
|
|
22073
|
+
if (!Fe(M, function(ci, Gi) {
|
|
22080
22074
|
if (!ot(it, Gi) && (At === ci || Ee(At, ci, R, Y, pe)))
|
|
22081
22075
|
return it.push(Gi);
|
|
22082
22076
|
})) {
|
|
@@ -22182,7 +22176,7 @@ var rr = {}, xI = {
|
|
|
22182
22176
|
return dn.call(v, M);
|
|
22183
22177
|
}));
|
|
22184
22178
|
} : ca, Jt = Ni;
|
|
22185
|
-
(ls && Jt(new ls(new ArrayBuffer(1))) != G || Hi && Jt(new Hi()) != p || cs && Jt(cs.resolve()) != P || hs && Jt(new hs()) != E || ds && Jt(new ds()) !=
|
|
22179
|
+
(ls && Jt(new ls(new ArrayBuffer(1))) != G || Hi && Jt(new Hi()) != p || cs && Jt(cs.resolve()) != P || hs && Jt(new hs()) != E || ds && Jt(new ds()) != _) && (Jt = function(v) {
|
|
22186
22180
|
var M = Ni(v), R = M == y ? v.constructor : void 0, Y = R ? Pt(R) : "";
|
|
22187
22181
|
if (Y)
|
|
22188
22182
|
switch (Y) {
|
|
@@ -22195,7 +22189,7 @@ var rr = {}, xI = {
|
|
|
22195
22189
|
case Dr:
|
|
22196
22190
|
return E;
|
|
22197
22191
|
case Sr:
|
|
22198
|
-
return
|
|
22192
|
+
return _;
|
|
22199
22193
|
}
|
|
22200
22194
|
return M;
|
|
22201
22195
|
});
|
|
@@ -22664,7 +22658,7 @@ function QI(n) {
|
|
|
22664
22658
|
function GI(n) {
|
|
22665
22659
|
ge(n, "svelte-sme1z4", ":root{--sc-color-rgb-light-50p:rgba(93, 93, 93, 0.5);--sc-color-rgb-light:#5d5d5d;--sc-color-hex-dark-50p:rgba(30, 30, 30, 0.5);--sc-color-hex-dark:#1e1e1e}.sc-carousel__carousel-container.svelte-sme1z4{display:flex;width:100%;flex-direction:column;align-items:center}.sc-carousel__content-container.svelte-sme1z4{position:relative;display:flex;width:100%}.sc-carousel__pages-window.svelte-sme1z4{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative}.sc-carousel__pages-container.svelte-sme1z4{width:100%;display:flex;transition-property:transform}.sc-carousel__arrow-container.svelte-sme1z4{padding:5px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.sc-carousel-progress__container.svelte-sme1z4{width:100%;height:5px;background-color:var(--sc-color-rgb-light-50p);position:absolute;bottom:0}.sc-carousel-button{all:unset;cursor:pointer}.sc-carousel-button:focus{outline:5px auto}");
|
|
22666
22660
|
}
|
|
22667
|
-
const
|
|
22661
|
+
const FI = (n) => ({
|
|
22668
22662
|
currentPageIndex: n[0] & /*currentPageIndex*/
|
|
22669
22663
|
32,
|
|
22670
22664
|
pagesCount: n[0] & /*pagesCount*/
|
|
@@ -22688,7 +22682,7 @@ const _I = (n) => ({
|
|
|
22688
22682
|
/*loaded*/
|
|
22689
22683
|
n[6]
|
|
22690
22684
|
)
|
|
22691
|
-
}),
|
|
22685
|
+
}), _I = (n) => ({
|
|
22692
22686
|
loaded: n[0] & /*loaded*/
|
|
22693
22687
|
64,
|
|
22694
22688
|
currentPageIndex: n[0] & /*currentPageIndex*/
|
|
@@ -22894,7 +22888,7 @@ function Vd(n) {
|
|
|
22894
22888
|
/*$$scope*/
|
|
22895
22889
|
o[36],
|
|
22896
22890
|
r,
|
|
22897
|
-
|
|
22891
|
+
_I
|
|
22898
22892
|
) : ts(
|
|
22899
22893
|
/*$$scope*/
|
|
22900
22894
|
o[36]
|
|
@@ -22987,7 +22981,7 @@ function Hd(n) {
|
|
|
22987
22981
|
/*$$scope*/
|
|
22988
22982
|
o[36],
|
|
22989
22983
|
r,
|
|
22990
|
-
|
|
22984
|
+
FI
|
|
22991
22985
|
) : ts(
|
|
22992
22986
|
/*$$scope*/
|
|
22993
22987
|
o[36]
|
|
@@ -23092,7 +23086,7 @@ function JI(n) {
|
|
|
23092
23086
|
},
|
|
23093
23087
|
m(P, I) {
|
|
23094
23088
|
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), b && b.m(e, null), L(t, c), y && y.m(t, null), h = !0, u || (f = [
|
|
23095
|
-
|
|
23089
|
+
Ft(r = lP.call(null, o, {
|
|
23096
23090
|
thresholdProvider: (
|
|
23097
23091
|
/*swipeable_function*/
|
|
23098
23092
|
n[38]
|
|
@@ -23128,14 +23122,14 @@ function JI(n) {
|
|
|
23128
23122
|
/*handleSwipeThresholdReached*/
|
|
23129
23123
|
n[17]
|
|
23130
23124
|
),
|
|
23131
|
-
|
|
23125
|
+
Ft(uP.call(null, s)),
|
|
23132
23126
|
Ae(
|
|
23133
23127
|
s,
|
|
23134
23128
|
"hovered",
|
|
23135
23129
|
/*handleHovered*/
|
|
23136
23130
|
n[21]
|
|
23137
23131
|
),
|
|
23138
|
-
|
|
23132
|
+
Ft(AP.call(null, s)),
|
|
23139
23133
|
Ae(
|
|
23140
23134
|
s,
|
|
23141
23135
|
"tapped",
|
|
@@ -23225,13 +23219,13 @@ function qI(n, t, e) {
|
|
|
23225
23219
|
loaded: () => e(6, o = Ie)
|
|
23226
23220
|
})(re);
|
|
23227
23221
|
}), p = Ar();
|
|
23228
|
-
let { timingFunction: m = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: j = Si } = t, { pauseOnFocus: V = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots:
|
|
23229
|
-
function
|
|
23222
|
+
let { timingFunction: m = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: j = Si } = t, { pauseOnFocus: V = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots: _ = !0 } = t, { swiping: N = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: H = 1 } = t;
|
|
23223
|
+
function F(re, Ie) {
|
|
23230
23224
|
return Q(this, null, function* () {
|
|
23231
|
-
const
|
|
23225
|
+
const Fe = Bs(Ie, "animated", !0);
|
|
23232
23226
|
if (typeof re != "number")
|
|
23233
23227
|
throw new Error("pageIndex should be a number");
|
|
23234
|
-
yield g.showPage(re, { animated:
|
|
23228
|
+
yield g.showPage(re, { animated: Fe });
|
|
23235
23229
|
});
|
|
23236
23230
|
}
|
|
23237
23231
|
function U(re) {
|
|
@@ -23321,7 +23315,7 @@ function qI(n, t, e) {
|
|
|
23321
23315
|
}
|
|
23322
23316
|
const st = (re) => Ce(re.detail);
|
|
23323
23317
|
return n.$$set = (re) => {
|
|
23324
|
-
"timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, b = 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,
|
|
23318
|
+
"timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, b = 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);
|
|
23325
23319
|
}, n.$$.update = () => {
|
|
23326
23320
|
n.$$.dirty[0] & /*currentPageIndex*/
|
|
23327
23321
|
32 && p("pageChange", r), n.$$.dirty[0] & /*infinite*/
|
|
@@ -23338,7 +23332,7 @@ function qI(n, t, e) {
|
|
|
23338
23332
|
b,
|
|
23339
23333
|
y,
|
|
23340
23334
|
W,
|
|
23341
|
-
|
|
23335
|
+
_,
|
|
23342
23336
|
r,
|
|
23343
23337
|
o,
|
|
23344
23338
|
a,
|
|
@@ -23367,7 +23361,7 @@ function qI(n, t, e) {
|
|
|
23367
23361
|
N,
|
|
23368
23362
|
G,
|
|
23369
23363
|
H,
|
|
23370
|
-
|
|
23364
|
+
F,
|
|
23371
23365
|
U,
|
|
23372
23366
|
Z,
|
|
23373
23367
|
s,
|
|
@@ -23763,7 +23757,7 @@ function oE(n, t, e) {
|
|
|
23763
23757
|
o.videoInstance = G, e(0, o);
|
|
23764
23758
|
});
|
|
23765
23759
|
}
|
|
23766
|
-
const
|
|
23760
|
+
const _ = () => l === "withText" ? Hl : l === "withoutText" ? il : l, N = (G) => {
|
|
23767
23761
|
h && i && (e(10, i.muted = !1, i), i.play());
|
|
23768
23762
|
};
|
|
23769
23763
|
return n.$$set = (G) => {
|
|
@@ -23775,8 +23769,8 @@ function oE(n, t, e) {
|
|
|
23775
23769
|
16384 && s && m(), n.$$.dirty & /*videoInstance*/
|
|
23776
23770
|
1024 && i && e(11, A = i.paused), n.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
|
|
23777
23771
|
1540 && (a == null ? void 0 : a.type) === "Video" && !p) {
|
|
23778
|
-
const G = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1,
|
|
23779
|
-
i &&
|
|
23772
|
+
const G = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, F = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && G;
|
|
23773
|
+
i && F && i.paused && (document.removeEventListener("WeixinJSBridgeReady", P), document.removeEventListener("touchstart", P), document.removeEventListener("click", P), document.addEventListener("WeixinJSBridgeReady", P), document.addEventListener("touchstart", P), document.addEventListener("click", P));
|
|
23780
23774
|
}
|
|
23781
23775
|
}, [
|
|
23782
23776
|
o,
|
|
@@ -23800,7 +23794,7 @@ function oE(n, t, e) {
|
|
|
23800
23794
|
j,
|
|
23801
23795
|
V,
|
|
23802
23796
|
W,
|
|
23803
|
-
|
|
23797
|
+
_,
|
|
23804
23798
|
N
|
|
23805
23799
|
];
|
|
23806
23800
|
}
|
|
@@ -24034,7 +24028,7 @@ function lE(n) {
|
|
|
24034
24028
|
}
|
|
24035
24029
|
};
|
|
24036
24030
|
}
|
|
24037
|
-
function
|
|
24031
|
+
function Fd(n) {
|
|
24038
24032
|
let t, e, i;
|
|
24039
24033
|
const s = [
|
|
24040
24034
|
/*mediaItemConfig*/
|
|
@@ -24119,7 +24113,7 @@ function cE(n) {
|
|
|
24119
24113
|
n[10]
|
|
24120
24114
|
), s = [];
|
|
24121
24115
|
for (let r = 0; r < i.length; r += 1)
|
|
24122
|
-
s[r] =
|
|
24116
|
+
s[r] = Fd(Qd(n, i, r));
|
|
24123
24117
|
const o = (r) => O(s[r], 1, 1, () => {
|
|
24124
24118
|
s[r] = null;
|
|
24125
24119
|
});
|
|
@@ -24142,7 +24136,7 @@ function cE(n) {
|
|
|
24142
24136
|
let l;
|
|
24143
24137
|
for (l = 0; l < i.length; l += 1) {
|
|
24144
24138
|
const c = Qd(r, i, l);
|
|
24145
|
-
s[l] ? (s[l].p(c, a), x(s[l], 1)) : (s[l] =
|
|
24139
|
+
s[l] ? (s[l].p(c, a), x(s[l], 1)) : (s[l] = Fd(c), s[l].c(), x(s[l], 1), s[l].m(t.parentNode, t));
|
|
24146
24140
|
}
|
|
24147
24141
|
for (ue(), l = i.length; l < s.length; l += 1)
|
|
24148
24142
|
o(l);
|
|
@@ -24163,7 +24157,7 @@ function cE(n) {
|
|
|
24163
24157
|
e = !1;
|
|
24164
24158
|
},
|
|
24165
24159
|
d(r) {
|
|
24166
|
-
|
|
24160
|
+
_t(s, r), r && z(t);
|
|
24167
24161
|
}
|
|
24168
24162
|
};
|
|
24169
24163
|
}
|
|
@@ -24202,14 +24196,14 @@ function dE(n, t, e) {
|
|
|
24202
24196
|
const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = m;
|
|
24203
24197
|
let I = [], k = 0, E, j = null;
|
|
24204
24198
|
const V = Mi("hooks"), W = Mi("mediaStore");
|
|
24205
|
-
function
|
|
24199
|
+
function _() {
|
|
24206
24200
|
const U = I[k], Z = U == null ? void 0 : U.videoInstance;
|
|
24207
24201
|
Z && (Z.paused ? (Z.muted = !1, Z.play()) : Z.pause());
|
|
24208
24202
|
}
|
|
24209
24203
|
Et(() => {
|
|
24210
24204
|
V.on("click", (U) => {
|
|
24211
24205
|
var Z, X, $;
|
|
24212
|
-
($ = (X = (Z = a.tag3DContentSvelte) == null ? void 0 : Z.css3DInstance) == null ? void 0 : X.css3DObject) != null && $.opacityMesh && U.tag.id === a.id &&
|
|
24206
|
+
($ = (X = (Z = a.tag3DContentSvelte) == null ? void 0 : Z.css3DInstance) == null ? void 0 : X.css3DObject) != null && $.opacityMesh && U.tag.id === a.id && _();
|
|
24213
24207
|
}), j = setInterval(
|
|
24214
24208
|
() => {
|
|
24215
24209
|
r && (E == null || E.goToNext());
|
|
@@ -24217,7 +24211,7 @@ function dE(n, t, e) {
|
|
|
24217
24211
|
3e3
|
|
24218
24212
|
);
|
|
24219
24213
|
}), Bt(() => {
|
|
24220
|
-
clearInterval(j), V.off("click",
|
|
24214
|
+
clearInterval(j), V.off("click", _);
|
|
24221
24215
|
});
|
|
24222
24216
|
function N(U, Z) {
|
|
24223
24217
|
n.$$.not_equal(I[Z], U) && (I[Z] = U, e(8, I));
|
|
@@ -24230,7 +24224,7 @@ function dE(n, t, e) {
|
|
|
24230
24224
|
const H = (U) => {
|
|
24231
24225
|
i || W.set({ currentMediaElement: null }), e(11, k = U.detail);
|
|
24232
24226
|
};
|
|
24233
|
-
function
|
|
24227
|
+
function F(U) {
|
|
24234
24228
|
n.$$.not_equal(I[0], U) && (I[0] = U, e(8, I));
|
|
24235
24229
|
}
|
|
24236
24230
|
return n.$$set = (U) => {
|
|
@@ -24263,7 +24257,7 @@ function dE(n, t, e) {
|
|
|
24263
24257
|
N,
|
|
24264
24258
|
G,
|
|
24265
24259
|
H,
|
|
24266
|
-
|
|
24260
|
+
F
|
|
24267
24261
|
];
|
|
24268
24262
|
}
|
|
24269
24263
|
class Gg extends ce {
|
|
@@ -24294,7 +24288,7 @@ class Gg extends ce {
|
|
|
24294
24288
|
function uE(n) {
|
|
24295
24289
|
ge(n, "svelte-1f7m1lj", ".line.svelte-1f7m1lj{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%)}.text.svelte-1f7m1lj{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;font-weight:600}.media-wrapper.svelte-1f7m1lj{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;font-weight:600}");
|
|
24296
24290
|
}
|
|
24297
|
-
function
|
|
24291
|
+
function _d(n) {
|
|
24298
24292
|
let t, e, i, s, o, r, a, l;
|
|
24299
24293
|
t = new Yt({
|
|
24300
24294
|
props: {
|
|
@@ -24457,7 +24451,7 @@ function Ud(n) {
|
|
|
24457
24451
|
function fE(n) {
|
|
24458
24452
|
let t, e, i = (
|
|
24459
24453
|
/*tag*/
|
|
24460
|
-
n[0].state &&
|
|
24454
|
+
n[0].state && _d(n)
|
|
24461
24455
|
);
|
|
24462
24456
|
return {
|
|
24463
24457
|
c() {
|
|
@@ -24469,7 +24463,7 @@ function fE(n) {
|
|
|
24469
24463
|
p(s, [o]) {
|
|
24470
24464
|
/*tag*/
|
|
24471
24465
|
s[0].state ? i ? (i.p(s, o), o & /*tag*/
|
|
24472
|
-
1 && x(i, 1)) : (i =
|
|
24466
|
+
1 && x(i, 1)) : (i = _d(s), i.c(), x(i, 1), i.m(t.parentNode, t)) : i && (ue(), O(i, 1, 1, () => {
|
|
24473
24467
|
i = null;
|
|
24474
24468
|
}), fe());
|
|
24475
24469
|
},
|
|
@@ -24564,7 +24558,7 @@ function Jd(n) {
|
|
|
24564
24558
|
for (let f = 0; f < c.length; f += 1)
|
|
24565
24559
|
c[f] && c[f].m(e, null);
|
|
24566
24560
|
s || (o = [
|
|
24567
|
-
|
|
24561
|
+
Ft(zi.call(null, e)),
|
|
24568
24562
|
Ae(
|
|
24569
24563
|
e,
|
|
24570
24564
|
"clientHeight",
|
|
@@ -24602,7 +24596,7 @@ function Jd(n) {
|
|
|
24602
24596
|
}
|
|
24603
24597
|
},
|
|
24604
24598
|
d(h) {
|
|
24605
|
-
h && z(t),
|
|
24599
|
+
h && z(t), _t(a, h), _t(c, h), s = !1, et(o);
|
|
24606
24600
|
}
|
|
24607
24601
|
};
|
|
24608
24602
|
}
|
|
@@ -24791,7 +24785,7 @@ function AE(n) {
|
|
|
24791
24785
|
"transition-delay",
|
|
24792
24786
|
/*unfolded*/
|
|
24793
24787
|
n[4] ? zo + Oo + "ms" : "0ms"
|
|
24794
|
-
), C(t, "class", p =
|
|
24788
|
+
), C(t, "class", p = _e(`marketing ${/*theme*/
|
|
24795
24789
|
n[6]}`) + " svelte-sezqcq"), q(
|
|
24796
24790
|
t,
|
|
24797
24791
|
"unfolded",
|
|
@@ -24808,7 +24802,7 @@ function AE(n) {
|
|
|
24808
24802
|
B(E, t, j), te(e, t, null), L(t, i), L(t, s), L(t, o), L(t, r), b && b.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;
|
|
24809
24803
|
},
|
|
24810
24804
|
p(E, [j]) {
|
|
24811
|
-
var W,
|
|
24805
|
+
var W, _;
|
|
24812
24806
|
const V = {};
|
|
24813
24807
|
j & /*unfolded*/
|
|
24814
24808
|
16 && (V.visible = /*unfolded*/
|
|
@@ -24823,7 +24817,7 @@ function AE(n) {
|
|
|
24823
24817
|
8) && u !== (u = /*data*/
|
|
24824
24818
|
E[3].title + "") && De(f, u), /*primaryTags*/
|
|
24825
24819
|
((W = E[2].length) != null ? W : 0) + /*secondaryTags*/
|
|
24826
|
-
((
|
|
24820
|
+
((_ = E[5].length) != null ? _ : 0) > 0 ? y ? y.p(E, j) : (y = Jd(E), y.c(), y.m(r, A)) : y && (y.d(1), y = null), /*havePrice*/
|
|
24827
24821
|
E[7] || /*data*/
|
|
24828
24822
|
E[3].highlightText ? P ? P.p(E, j) : (P = $d(E), P.c(), P.m(r, null)) : P && (P.d(1), P = null), j & /*unfolded*/
|
|
24829
24823
|
16 && T(
|
|
@@ -24832,7 +24826,7 @@ function AE(n) {
|
|
|
24832
24826
|
/*unfolded*/
|
|
24833
24827
|
E[4] ? zo + Oo + "ms" : "0ms"
|
|
24834
24828
|
), (!m || j & /*theme*/
|
|
24835
|
-
64 && p !== (p =
|
|
24829
|
+
64 && p !== (p = _e(`marketing ${/*theme*/
|
|
24836
24830
|
E[6]}`) + " svelte-sezqcq")) && C(t, "class", p), (!m || j & /*theme, unfolded*/
|
|
24837
24831
|
80) && q(
|
|
24838
24832
|
t,
|
|
@@ -25144,7 +25138,7 @@ function PE(n, t, e) {
|
|
|
25144
25138
|
72 && c(r && !g ? "play" : "pause");
|
|
25145
25139
|
}, [a, p, o, r, l, f, g, s, i];
|
|
25146
25140
|
}
|
|
25147
|
-
let
|
|
25141
|
+
let Fg = class extends ce {
|
|
25148
25142
|
constructor(t) {
|
|
25149
25143
|
super(), le(
|
|
25150
25144
|
this,
|
|
@@ -25297,7 +25291,7 @@ function ME(n, t, e) {
|
|
|
25297
25291
|
u
|
|
25298
25292
|
];
|
|
25299
25293
|
}
|
|
25300
|
-
class
|
|
25294
|
+
class _g extends ce {
|
|
25301
25295
|
constructor(t) {
|
|
25302
25296
|
super(), le(
|
|
25303
25297
|
this,
|
|
@@ -25356,7 +25350,7 @@ function ru(n) {
|
|
|
25356
25350
|
n[5]
|
|
25357
25351
|
)
|
|
25358
25352
|
}
|
|
25359
|
-
}), u = new
|
|
25353
|
+
}), u = new Fl({
|
|
25360
25354
|
props: {
|
|
25361
25355
|
unfolded: (
|
|
25362
25356
|
/*unfolded*/
|
|
@@ -25393,7 +25387,7 @@ function ru(n) {
|
|
|
25393
25387
|
/*clickContent*/
|
|
25394
25388
|
n[7]
|
|
25395
25389
|
),
|
|
25396
|
-
|
|
25390
|
+
Ft(zi.call(null, l)),
|
|
25397
25391
|
Ae(
|
|
25398
25392
|
l,
|
|
25399
25393
|
"clientWidth",
|
|
@@ -25460,7 +25454,7 @@ function au(n) {
|
|
|
25460
25454
|
blurRadius: 15,
|
|
25461
25455
|
spreadRadius: 6
|
|
25462
25456
|
}
|
|
25463
|
-
}), s = new
|
|
25457
|
+
}), s = new Fg({
|
|
25464
25458
|
props: {
|
|
25465
25459
|
enable: (
|
|
25466
25460
|
/*unfolded*/
|
|
@@ -25542,7 +25536,7 @@ function au(n) {
|
|
|
25542
25536
|
}
|
|
25543
25537
|
function xE(n) {
|
|
25544
25538
|
let t, e, i;
|
|
25545
|
-
return e = new
|
|
25539
|
+
return e = new _g({ props: { playing: (
|
|
25546
25540
|
/*playing*/
|
|
25547
25541
|
n[2]
|
|
25548
25542
|
) } }), {
|
|
@@ -25651,7 +25645,7 @@ function LE(n) {
|
|
|
25651
25645
|
}
|
|
25652
25646
|
function lu(n) {
|
|
25653
25647
|
let t, e, i, s;
|
|
25654
|
-
return i = new
|
|
25648
|
+
return i = new Fg({
|
|
25655
25649
|
props: {
|
|
25656
25650
|
style: "width: max-content; height: max-content;",
|
|
25657
25651
|
enable: (
|
|
@@ -25773,10 +25767,10 @@ function jE(n) {
|
|
|
25773
25767
|
}
|
|
25774
25768
|
function zE(n) {
|
|
25775
25769
|
let t, e, i, s, o, r, a;
|
|
25776
|
-
return i = new
|
|
25770
|
+
return i = new _g({ props: { playing: (
|
|
25777
25771
|
/*playing*/
|
|
25778
25772
|
n[3]
|
|
25779
|
-
) } }), r = new
|
|
25773
|
+
) } }), r = new _l({
|
|
25780
25774
|
props: {
|
|
25781
25775
|
maxWidth: 72,
|
|
25782
25776
|
maxLine: 1,
|
|
@@ -26014,7 +26008,7 @@ class GE extends ce {
|
|
|
26014
26008
|
super(), le(this, t, QE, NE, ae, { tag: 0 });
|
|
26015
26009
|
}
|
|
26016
26010
|
}
|
|
26017
|
-
function
|
|
26011
|
+
function FE(n) {
|
|
26018
26012
|
ge(n, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
26019
26013
|
}
|
|
26020
26014
|
function cu(n) {
|
|
@@ -26104,7 +26098,7 @@ function cu(n) {
|
|
|
26104
26098
|
}
|
|
26105
26099
|
};
|
|
26106
26100
|
}
|
|
26107
|
-
function
|
|
26101
|
+
function _E(n) {
|
|
26108
26102
|
let t, e, i = (
|
|
26109
26103
|
/*tag*/
|
|
26110
26104
|
n[0].state && /*mediaData*/
|
|
@@ -26156,7 +26150,7 @@ function WE(n, t, e) {
|
|
|
26156
26150
|
}
|
|
26157
26151
|
class UE extends ce {
|
|
26158
26152
|
constructor(t) {
|
|
26159
|
-
super(), le(this, t, WE,
|
|
26153
|
+
super(), le(this, t, WE, _E, ae, { tag: 0 }, FE);
|
|
26160
26154
|
}
|
|
26161
26155
|
}
|
|
26162
26156
|
function Wg(n) {
|
|
@@ -27088,7 +27082,7 @@ function w2(n) {
|
|
|
27088
27082
|
"unfolded",
|
|
27089
27083
|
/*tag*/
|
|
27090
27084
|
(k = n[0].state) == null ? void 0 : k.unfolded
|
|
27091
|
-
), C(e, "class", "content__wrapper svelte-qz1wo5"), C(t, "class", g =
|
|
27085
|
+
), C(e, "class", "content__wrapper svelte-qz1wo5"), C(t, "class", g = _e(vt(
|
|
27092
27086
|
"content__container",
|
|
27093
27087
|
/*tag*/
|
|
27094
27088
|
n[0].className
|
|
@@ -27145,7 +27139,7 @@ function w2(n) {
|
|
|
27145
27139
|
/*tag*/
|
|
27146
27140
|
(V = k[0].state) == null ? void 0 : V.unfolded
|
|
27147
27141
|
), (!p || E & /*tag*/
|
|
27148
|
-
1 && g !== (g =
|
|
27142
|
+
1 && g !== (g = _e(vt(
|
|
27149
27143
|
"content__container",
|
|
27150
27144
|
/*tag*/
|
|
27151
27145
|
k[0].className
|
|
@@ -27217,7 +27211,7 @@ function C2(n) {
|
|
|
27217
27211
|
}
|
|
27218
27212
|
}), {
|
|
27219
27213
|
c() {
|
|
27220
|
-
t = S("div"), ne(e.$$.fragment), C(t, "class", i =
|
|
27214
|
+
t = S("div"), ne(e.$$.fragment), C(t, "class", i = _e(vt(
|
|
27221
27215
|
"content__container",
|
|
27222
27216
|
/*tag*/
|
|
27223
27217
|
n[0].className
|
|
@@ -27251,7 +27245,7 @@ function C2(n) {
|
|
|
27251
27245
|
)), c & /*rendererMap*/
|
|
27252
27246
|
8 && (h.rendererMap = /*rendererMap*/
|
|
27253
27247
|
l[3]), e.$set(h), (!o || c & /*tag*/
|
|
27254
|
-
1 && i !== (i =
|
|
27248
|
+
1 && i !== (i = _e(vt(
|
|
27255
27249
|
"content__container",
|
|
27256
27250
|
/*tag*/
|
|
27257
27251
|
l[0].className
|
|
@@ -27578,15 +27572,15 @@ function L2(n, t, e) {
|
|
|
27578
27572
|
return n.$$set = (V) => {
|
|
27579
27573
|
"withAnimation" in V && e(1, c = V.withAnimation), "tag" in V && e(0, h = V.tag), "hooks" in V && e(2, u = V.hooks), "rendererMap" in V && e(3, f = V.rendererMap), "contentTypeMap" in V && e(4, g = V.contentTypeMap), "state" in V && e(7, A = V.state), "mediaStore" in V && e(8, p = V.mediaStore), "temporaryState" in V && e(9, m = V.temporaryState);
|
|
27580
27574
|
}, n.$$.update = () => {
|
|
27581
|
-
var V, W,
|
|
27575
|
+
var V, W, _, N, G, H, F, U, Z, X, $;
|
|
27582
27576
|
n.$$.dirty & /*tag*/
|
|
27583
27577
|
1 && e(13, i = (V = h.state) == null ? void 0 : V.unfolded), n.$$.dirty & /*tag*/
|
|
27584
27578
|
1 && e(12, s = (W = h.state) == null ? void 0 : W.visible), n.$$.dirty & /*state, temporaryState, tag*/
|
|
27585
|
-
641 && e(14, o = A.visible && m.visible && ((
|
|
27579
|
+
641 && e(14, o = A.visible && m.visible && ((_ = h.state) == null ? void 0 : _.visible)), n.$$.dirty & /*tag*/
|
|
27586
27580
|
1 && (r = h.id), n.$$.dirty & /*tag, state, temporaryState*/
|
|
27587
27581
|
641 && e(6, a = !T2(h, A, m)), n.$$.dirty & /*isVisible*/
|
|
27588
27582
|
16384 && P(o), n.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
|
|
27589
|
-
15361 && h.hooks && (i !== void 0 && i !== y && (e(11, y = i), i ? (G = (N = h.hooks).emit) == null || G.call(N, "unfolded") : (
|
|
27583
|
+
15361 && h.hooks && (i !== void 0 && i !== y && (e(11, y = i), i ? (G = (N = h.hooks).emit) == null || G.call(N, "unfolded") : (F = h == null ? void 0 : (H = h.hooks).emit) == null || F.call(H, "folded")), s !== void 0 && s !== b && (e(10, b = s), s ? (Z = (U = h.hooks).emit) == null || Z.call(U, "show") : ($ = (X = h.hooks).emit) == null || $.call(X, "hide"))), n.$$.dirty & /*tag*/
|
|
27590
27584
|
1 && e(5, l = (() => !(typeof h.config.unfoldedConfig == "object" && h.config.unfoldedConfig.keep === "folded"))());
|
|
27591
27585
|
}, [
|
|
27592
27586
|
h,
|
|
@@ -27827,7 +27821,7 @@ function Au(n) {
|
|
|
27827
27821
|
}
|
|
27828
27822
|
return r = b(n), a = m[r] = p[r](n), {
|
|
27829
27823
|
c() {
|
|
27830
|
-
t = S("div"), e = S("div"), s.c(), o = K(), a.c(), C(e, "class", l =
|
|
27824
|
+
t = S("div"), e = S("div"), s.c(), o = K(), a.c(), C(e, "class", l = _e(vt(
|
|
27831
27825
|
"wrapper",
|
|
27832
27826
|
/*tag*/
|
|
27833
27827
|
n[0].className ? `${/*tag*/
|
|
@@ -27903,7 +27897,7 @@ function Au(n) {
|
|
|
27903
27897
|
r = b(y), r === k ? m[r].p(y, P) : (ue(), O(m[k], 1, 1, () => {
|
|
27904
27898
|
m[k] = null;
|
|
27905
27899
|
}), fe(), a = m[r], a ? a.p(y, P) : (a = m[r] = p[r](y), a.c()), x(a, 1), a.m(e, null)), (!u || P & /*tag*/
|
|
27906
|
-
1 && l !== (l =
|
|
27900
|
+
1 && l !== (l = _e(vt(
|
|
27907
27901
|
"wrapper",
|
|
27908
27902
|
/*tag*/
|
|
27909
27903
|
y[0].className ? `${/*tag*/
|
|
@@ -28159,7 +28153,7 @@ function G2(n) {
|
|
|
28159
28153
|
}
|
|
28160
28154
|
};
|
|
28161
28155
|
}
|
|
28162
|
-
function
|
|
28156
|
+
function F2(n, t, e) {
|
|
28163
28157
|
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: b = /* @__PURE__ */ new Map() } = t, { state: y } = t, { temporaryState: P } = t;
|
|
28164
28158
|
const I = Mi("hooks");
|
|
28165
28159
|
function k(E) {
|
|
@@ -28173,8 +28167,8 @@ function _2(n, t, e) {
|
|
|
28173
28167
|
var E, j, V, W;
|
|
28174
28168
|
n.$$.dirty & /*tag, rendererMap*/
|
|
28175
28169
|
9 && e(16, i = (() => {
|
|
28176
|
-
var
|
|
28177
|
-
return !(((N = (
|
|
28170
|
+
var _, N, G;
|
|
28171
|
+
return !(((N = (_ = A.style) == null ? void 0 : _.point) == null ? void 0 : N.enabled) === !1 || ((G = m.get(A.contentType)) == null ? void 0 : G.usePoint) === !1 || A.contentType === "Sticker" || A.contentType === "Link" || A.contentType === "VRLink" || A.contentType === "PanoLink" || A.contentType === "Panorama" || A.contentType === "Audio" && A.data.appearance === "plane");
|
|
28178
28172
|
})()), n.$$.dirty & /*tag*/
|
|
28179
28173
|
1 && e(15, s = (() => A.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
|
|
28180
28174
|
1 && e(14, o = A.id), n.$$.dirty & /*tag*/
|
|
@@ -28207,12 +28201,12 @@ function _2(n, t, e) {
|
|
|
28207
28201
|
k
|
|
28208
28202
|
];
|
|
28209
28203
|
}
|
|
28210
|
-
class
|
|
28204
|
+
class _2 extends ce {
|
|
28211
28205
|
constructor(t) {
|
|
28212
28206
|
super(), le(
|
|
28213
28207
|
this,
|
|
28214
28208
|
t,
|
|
28215
|
-
|
|
28209
|
+
F2,
|
|
28216
28210
|
G2,
|
|
28217
28211
|
ae,
|
|
28218
28212
|
{
|
|
@@ -28303,7 +28297,7 @@ function bu(n) {
|
|
|
28303
28297
|
}
|
|
28304
28298
|
function yu(n, t) {
|
|
28305
28299
|
let e, i, s;
|
|
28306
|
-
return i = new
|
|
28300
|
+
return i = new _2({
|
|
28307
28301
|
props: {
|
|
28308
28302
|
state: (
|
|
28309
28303
|
/*state*/
|
|
@@ -30913,7 +30907,7 @@ function nm(n, t, e) {
|
|
|
30913
30907
|
}
|
|
30914
30908
|
n.quaternion.copy(t);
|
|
30915
30909
|
}
|
|
30916
|
-
function
|
|
30910
|
+
function _i(n, t) {
|
|
30917
30911
|
const { max: e, min: i } = n;
|
|
30918
30912
|
switch (t) {
|
|
30919
30913
|
case 0:
|
|
@@ -32125,7 +32119,7 @@ const VM = "v1.0.1", HM = "Object3DHelper", $l = `${HM}@${VM}`, NM = () => {
|
|
|
32125
32119
|
}, GM = () => {
|
|
32126
32120
|
console.error(`${$l} is disabled`);
|
|
32127
32121
|
};
|
|
32128
|
-
class
|
|
32122
|
+
class FM {
|
|
32129
32123
|
constructor(t) {
|
|
32130
32124
|
d(this, "controllers", {});
|
|
32131
32125
|
d(this, "state", {
|
|
@@ -32226,7 +32220,7 @@ function za(n) {
|
|
|
32226
32220
|
return n * Math.PI / 180;
|
|
32227
32221
|
}
|
|
32228
32222
|
const Oa = new w.Quaternion();
|
|
32229
|
-
class
|
|
32223
|
+
class _M extends Ks {
|
|
32230
32224
|
constructor(...e) {
|
|
32231
32225
|
var c, h, u;
|
|
32232
32226
|
super(...e);
|
|
@@ -32312,7 +32306,7 @@ class FM extends Ks {
|
|
|
32312
32306
|
),
|
|
32313
32307
|
`${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
|
|
32314
32308
|
)[r] * o.angleDirection;
|
|
32315
|
-
if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(
|
|
32309
|
+
if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(_f(this.startInfo.angle)), h) {
|
|
32316
32310
|
const y = new w.Vector3().subVectors(l.position, h).applyQuaternion(g).add(h);
|
|
32317
32311
|
l.position.copy(y);
|
|
32318
32312
|
}
|
|
@@ -32414,7 +32408,7 @@ class WM extends Ks {
|
|
|
32414
32408
|
this.scale(i);
|
|
32415
32409
|
}
|
|
32416
32410
|
scale(e) {
|
|
32417
|
-
var W,
|
|
32411
|
+
var W, _;
|
|
32418
32412
|
if (!this.startInfo)
|
|
32419
32413
|
return;
|
|
32420
32414
|
const i = this.originObject3D, { startPoint: s, plane: o } = this.startInfo, r = this.helperObject3D.cornerPositions;
|
|
@@ -32427,8 +32421,8 @@ class WM extends Ks {
|
|
|
32427
32421
|
const G = new oe(0, 0, 0);
|
|
32428
32422
|
if (!this.startInfo)
|
|
32429
32423
|
return G;
|
|
32430
|
-
const H = (N === "ew" ? u : f).clone(),
|
|
32431
|
-
if (U.equals(
|
|
32424
|
+
const H = (N === "ew" ? u : f).clone(), F = c.clone().projectOnVector(H), U = a.clone().projectOnVector(H), Z = l.clone().projectOnVector(H);
|
|
32425
|
+
if (U.equals(F))
|
|
32432
32426
|
return G;
|
|
32433
32427
|
if (N === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
|
|
32434
32428
|
const de = new oe().subVectors(U, Z), he = de.x < 0 && H.x >= 0, Pe = de.y < 0 && H.y >= 0, Ce = de.z < 0 && H.z >= 0;
|
|
@@ -32438,19 +32432,19 @@ class WM extends Ks {
|
|
|
32438
32432
|
const de = new oe().subVectors(U, Z), he = de.x < 0 && H.x >= 0, Pe = de.y < 0 && H.y >= 0, Ce = de.z < 0 && H.z >= 0;
|
|
32439
32433
|
this.startInfo.dragPointInCenterLeft = he || Pe || Ce;
|
|
32440
32434
|
}
|
|
32441
|
-
const X = new oe().subVectors(U,
|
|
32435
|
+
const X = new oe().subVectors(U, F), $ = X.length();
|
|
32442
32436
|
return $ > 0.3 ? (console.warn("offset.length() > 0.3, skipped", $), G) : X;
|
|
32443
32437
|
}, A = g("ew"), p = g("ns"), m = () => {
|
|
32444
32438
|
const N = A;
|
|
32445
32439
|
this.helperObject3D.cornerPositions.forEach((G, H) => {
|
|
32446
|
-
var
|
|
32447
|
-
(
|
|
32440
|
+
var F;
|
|
32441
|
+
(F = this.startInfo) != null && F.dragPointInCenterLeft ? (H === 0 || H === 3) && G.add(N) : (H === 1 || H === 2) && G.add(N);
|
|
32448
32442
|
});
|
|
32449
32443
|
}, b = () => {
|
|
32450
32444
|
const N = p;
|
|
32451
32445
|
this.helperObject3D.cornerPositions.forEach((G, H) => {
|
|
32452
|
-
var
|
|
32453
|
-
(
|
|
32446
|
+
var F;
|
|
32447
|
+
(F = this.startInfo) != null && F.dragPointInCenterBottom ? (H === 0 || H === 1) && G.add(N) : (H === 2 || H === 3) && G.add(N);
|
|
32454
32448
|
});
|
|
32455
32449
|
};
|
|
32456
32450
|
switch (h) {
|
|
@@ -32467,7 +32461,7 @@ class WM extends Ks {
|
|
|
32467
32461
|
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);
|
|
32468
32462
|
i.isCSS3DObjectPlus ? i.applyScaleMatrix4(k) : i.scale.applyMatrix4(k), s.position.copy(a);
|
|
32469
32463
|
const E = new oe().addVectors(r[0], r[2]).divideScalar(2), j = new oe().subVectors(E, l), V = new w.Matrix4().setPosition(j);
|
|
32470
|
-
i.applyMatrix4(V), (W = this.helperObject3D.css3DInstance) == null || W.css3DObject.applyMatrix4(V), (
|
|
32464
|
+
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();
|
|
32471
32465
|
}
|
|
32472
32466
|
dragEnd() {
|
|
32473
32467
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());
|
|
@@ -32662,7 +32656,7 @@ class sm extends rn {
|
|
|
32662
32656
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
32663
32657
|
return;
|
|
32664
32658
|
}
|
|
32665
|
-
const s = new
|
|
32659
|
+
const s = new FM(), o = [], r = (y = this.five.getElement()) == null ? void 0 : y.parentElement, a = this.five.camera, c = D(D({}, {
|
|
32666
32660
|
moveHelper: !0,
|
|
32667
32661
|
rotateHelper: !0,
|
|
32668
32662
|
scaleHelper: !0,
|
|
@@ -32677,7 +32671,7 @@ class sm extends rn {
|
|
|
32677
32671
|
s.addControllers({ moveController: k.helperController }), o.push(() => k.dispose());
|
|
32678
32672
|
}
|
|
32679
32673
|
if (b(u)) {
|
|
32680
|
-
const P = D(D({}, this.getConfig(c.rotateHelper)), c), I = new SM(e, D({ container: r }, P)), k = new Es(this.five,
|
|
32674
|
+
const P = D(D({}, this.getConfig(c.rotateHelper)), c), I = new SM(e, D({ container: r }, P)), k = new Es(this.five, _M, e, I, P, p, m);
|
|
32681
32675
|
s.addControllers({ rotateController: k.helperController }), o.push(() => k.dispose());
|
|
32682
32676
|
}
|
|
32683
32677
|
if (b(g)) {
|
|
@@ -32757,7 +32751,7 @@ class sm extends rn {
|
|
|
32757
32751
|
return e;
|
|
32758
32752
|
}
|
|
32759
32753
|
}
|
|
32760
|
-
const
|
|
32754
|
+
const Fx = (n) => new sm(n), ek = (
|
|
32761
32755
|
/* glsl */
|
|
32762
32756
|
`
|
|
32763
32757
|
varying vec2 vUv;
|
|
@@ -32922,7 +32916,7 @@ class ku {
|
|
|
32922
32916
|
const t = {
|
|
32923
32917
|
value: 0
|
|
32924
32918
|
};
|
|
32925
|
-
|
|
32919
|
+
_o({
|
|
32926
32920
|
targets: t,
|
|
32927
32921
|
value: 1,
|
|
32928
32922
|
duration: 300,
|
|
@@ -33199,7 +33193,7 @@ class nk extends rn {
|
|
|
33199
33193
|
console.warn("⛔ ==> [PanoVideoPluginController]:", e);
|
|
33200
33194
|
}
|
|
33201
33195
|
}
|
|
33202
|
-
const
|
|
33196
|
+
const _x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33203
33197
|
__proto__: null
|
|
33204
33198
|
}, Symbol.toStringTag, { value: "Module" })), Wx = (n) => new nk(n);
|
|
33205
33199
|
function om(n) {
|
|
@@ -35166,7 +35160,7 @@ if (typeof window != "undefined") {
|
|
|
35166
35160
|
const n = window.hotkeys;
|
|
35167
35161
|
ut.noConflict = (t) => (t && window.hotkeys === ut && (window.hotkeys = n), ut), window.hotkeys = ut;
|
|
35168
35162
|
}
|
|
35169
|
-
const
|
|
35163
|
+
const Fk = 16777215, ju = 16777215, _k = 2, Yn = 0.6, Wk = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
|
|
35170
35164
|
let zu = null;
|
|
35171
35165
|
class Ys extends Lt {
|
|
35172
35166
|
constructor(e) {
|
|
@@ -35214,7 +35208,7 @@ class Ys extends Lt {
|
|
|
35214
35208
|
this.highlighted && (this.highlighted = !1, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight }));
|
|
35215
35209
|
}
|
|
35216
35210
|
}
|
|
35217
|
-
class Ou extends
|
|
35211
|
+
class Ou extends _m {
|
|
35218
35212
|
constructor(e) {
|
|
35219
35213
|
var i, s;
|
|
35220
35214
|
super(e);
|
|
@@ -35251,7 +35245,7 @@ class sn extends Lt {
|
|
|
35251
35245
|
d(this, "opacityBeforeHighlight");
|
|
35252
35246
|
const i = new cc(), s = new Ou({
|
|
35253
35247
|
color: new w.Color((r = e == null ? void 0 : e.lineColor) != null ? r : ju),
|
|
35254
|
-
linewidth: (a = e == null ? void 0 : e.lineWidth) != null ? a :
|
|
35248
|
+
linewidth: (a = e == null ? void 0 : e.lineWidth) != null ? a : _k,
|
|
35255
35249
|
dashScale: 40,
|
|
35256
35250
|
opacity: 1,
|
|
35257
35251
|
transparent: !0,
|
|
@@ -35718,7 +35712,7 @@ class nc extends Lt {
|
|
|
35718
35712
|
d(this, "meshBackground");
|
|
35719
35713
|
d(this, "_geometry", new w.BufferGeometry());
|
|
35720
35714
|
const i = new w.MeshBasicMaterial({
|
|
35721
|
-
color: (a = e == null ? void 0 : e.color) != null ? a :
|
|
35715
|
+
color: (a = e == null ? void 0 : e.color) != null ? a : Fk,
|
|
35722
35716
|
transparent: !0,
|
|
35723
35717
|
side: w.DoubleSide,
|
|
35724
35718
|
depthTest: !0,
|
|
@@ -36176,7 +36170,7 @@ class Vs extends Am {
|
|
|
36176
36170
|
super.unhighlight(), this.line.unhighlight();
|
|
36177
36171
|
}
|
|
36178
36172
|
}
|
|
36179
|
-
class
|
|
36173
|
+
class Fu extends Oi {
|
|
36180
36174
|
constructor(e, i) {
|
|
36181
36175
|
super(e, i);
|
|
36182
36176
|
d(this, "type", "Rectangle");
|
|
@@ -36303,7 +36297,7 @@ class dr extends o3 {
|
|
|
36303
36297
|
super.unhighlight(), this.edgeLine.unhighlight();
|
|
36304
36298
|
}
|
|
36305
36299
|
}
|
|
36306
|
-
class
|
|
36300
|
+
class _u extends Oi {
|
|
36307
36301
|
constructor(e, i) {
|
|
36308
36302
|
super(e, i);
|
|
36309
36303
|
d(this, "type", "Circle");
|
|
@@ -36747,7 +36741,7 @@ const Sn = class extends ii {
|
|
|
36747
36741
|
const a = se(D({}, r), {
|
|
36748
36742
|
style: D(D({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
|
|
36749
36743
|
});
|
|
36750
|
-
return r.type === "Point" ? new Hu(a, i) : r.type === "Polyline" ? new Vu(a, i) : r.type === "Polygon" ? new Qu(a, i) : r.type === "Prism" ? new Gu(a, i) : r.type === "Rectangle" ? new
|
|
36744
|
+
return r.type === "Point" ? new Hu(a, i) : r.type === "Polyline" ? new Vu(a, i) : r.type === "Polygon" ? new Qu(a, i) : r.type === "Prism" ? new Gu(a, i) : r.type === "Rectangle" ? new Fu(a, i) : r.type === "Circle" ? new _u(a, i) : r.type === "Cylinder" ? new Uu(a, i) : r.type === "Box" ? new Xu(a, i) : null;
|
|
36751
36745
|
});
|
|
36752
36746
|
this.group.add(...s), this.five.needsRender = !0;
|
|
36753
36747
|
}
|
|
@@ -36808,7 +36802,7 @@ const Sn = class extends ii {
|
|
|
36808
36802
|
createRectangle(e) {
|
|
36809
36803
|
return Q(this, null, function* () {
|
|
36810
36804
|
var i;
|
|
36811
|
-
return this.createItem(
|
|
36805
|
+
return this.createItem(Fu, D(D({}, (i = this.theme) == null ? void 0 : i.rectangle), e));
|
|
36812
36806
|
});
|
|
36813
36807
|
}
|
|
36814
36808
|
/**
|
|
@@ -36817,7 +36811,7 @@ const Sn = class extends ii {
|
|
|
36817
36811
|
createCircle(e) {
|
|
36818
36812
|
return Q(this, null, function* () {
|
|
36819
36813
|
var i;
|
|
36820
|
-
return this.createItem(
|
|
36814
|
+
return this.createItem(_u, D(D({}, (i = this.theme) == null ? void 0 : i.circle), e));
|
|
36821
36815
|
});
|
|
36822
36816
|
}
|
|
36823
36817
|
/**
|
|
@@ -37097,7 +37091,7 @@ const qu = (n, t) => {
|
|
|
37097
37091
|
};
|
|
37098
37092
|
class C3 extends Cm {
|
|
37099
37093
|
constructor(...t) {
|
|
37100
|
-
const e = t[0], i = Js(e.model), s = new w.Vector3().lerpVectors(
|
|
37094
|
+
const e = t[0], i = Js(e.model), s = new w.Vector3().lerpVectors(_i(i, 0), _i(i, 5), 0.5);
|
|
37101
37095
|
super(se(D({}, e), { position: s })), this.enable();
|
|
37102
37096
|
}
|
|
37103
37097
|
}
|
|
@@ -37172,8 +37166,8 @@ class P3 extends vi {
|
|
|
37172
37166
|
} else if (s.type === "box") {
|
|
37173
37167
|
const r = new hr(), { start: a, end: l, rotation: c = [0, 0, 0, 0], 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(), b = new w.Vector3().lerpVectors(f, g, 0.5), y = b.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));
|
|
37174
37168
|
r.setPoints({
|
|
37175
|
-
points: [
|
|
37176
|
-
heightPoint:
|
|
37169
|
+
points: [_i(k, 2), _i(k, 3), _i(k, 7), _i(k, 6)],
|
|
37170
|
+
heightPoint: _i(k, 0)
|
|
37177
37171
|
}), r.position.copy(b), r.quaternion.copy(p), r.setStyle({ color: u, opacity: h, lineColor: u, occlusionVisibility: !1 });
|
|
37178
37172
|
const E = new m3({ five: this.five, model: r, group: this.group, type: s.type, rawData: s });
|
|
37179
37173
|
this.items.push(E);
|
|
@@ -37252,7 +37246,7 @@ export {
|
|
|
37252
37246
|
$g as MoveController,
|
|
37253
37247
|
Qx as MovePlugin,
|
|
37254
37248
|
sm as Object3DHelperController,
|
|
37255
|
-
|
|
37249
|
+
Fx as Object3DHelperPlugin,
|
|
37256
37250
|
ec as PLUGIN,
|
|
37257
37251
|
B3 as PaintBrush,
|
|
37258
37252
|
Ii as PaintBrushTypeEnum,
|
|
@@ -37271,7 +37265,7 @@ export {
|
|
|
37271
37265
|
zx as PanoTagPlugin,
|
|
37272
37266
|
rl as PanoTagPluginController,
|
|
37273
37267
|
Wx as PanoVideoPlugin,
|
|
37274
|
-
|
|
37268
|
+
_x as PanoVideoPluginType,
|
|
37275
37269
|
Yx as PipelinePlugin,
|
|
37276
37270
|
Bw as PointType,
|
|
37277
37271
|
nx as ROOM_FETILE_TYPE_MAP,
|
|
@@ -37285,6 +37279,6 @@ export {
|
|
|
37285
37279
|
Ow as defaultGlobalConfig,
|
|
37286
37280
|
Mx as itemLabelPluginServerParams,
|
|
37287
37281
|
Cx as modelItemLabelPluginServerParams,
|
|
37288
|
-
|
|
37282
|
+
F3 as modelRoomLabelPluginServerParams,
|
|
37289
37283
|
jx as pluginFlag
|
|
37290
37284
|
};
|