import{jsxs as e,Fragment as i,jsx as s}from"react/jsx-runtime";import{RadiusInput as t}from"../RadiusInput/RadiusInput.js";import{MapControls as o}from"../MapControls/MapControls.js";import{LayerSwitcher as a}from"../LayerSwitcher/LayerSwitcher.js";import{ScaleIndicator as l}from"../ScaleIndicator/ScaleIndicator.js";import{BoxSelectionOverlay as n}from"../BoxSelectionOverlay/BoxSelectionOverlay.js";import{MapHints as r}from"../MapHints/MapHints.js";import{SelectionToast as d}from"../SelectionToast/SelectionToast.js";import m from"../../OffsetWellMap.module.css.js";var c=function(c){return e(i,{children:[c.showRadiusInput&&null!==c.drawingRadiusMiles&&s(t,{radius:c.drawingRadiusMiles,editable:!0,isSatellite:c.isSatellite,onChange:c.setDrawingRadiusMiles,className:m.radiusFilter}),s(o,{onZoomIn:c.handleZoomInWithSync,onZoomOut:c.handleZoomOutWithSync,onResetZoom:c.handleResetZoom,canZoomIn:c.canZoomIn,canZoomOut:c.canZoomOut,isResetDisabled:c.isZoomReset,isRadiusActive:c.isRadiusToolActive,onRadiusToggle:c.handleRadiusToggle,isLassoActive:c.isLassoActive,onLassoToggle:c.handleLassoToggle,isSatellite:c.isSatellite,className:m.mapControls}),s(l,{distance:c.distance,className:m.scaleIndicator}),s(a,{mapStyle:c.mapStyle,onChange:c.setMapStyle,className:m.layerSwitcher}),!c.isViewOnly&&s(r,{ref:c.hintsRef,mode:c.hintsMode,isBoxActive:c.boxState.isActive,hasCircle:!1,isDrawing:c.isDrawing,pointCount:c.drawingPointCount,isEditingPolygon:c.isEditingPolygon,isEditingVertices:c.isEditingVertices,hasPolygon:c.hasValidPolygon,showBoxSelectionHint:!c.isViewOnly,isTooZoomedOut:c.effectiveZoomedOut,isLoadAllWells:c.isLoadAllWells,lassoPhase:c.lassoPhase,radiusPhase:c.radiusPhase,isSatellite:c.isSatellite,className:m.mapHints}),c.boxState.isActive&&s(n,{startPoint:c.boxState.startPoint,endPoint:c.boxState.endPoint,wellsCount:c.wellsInBoxCount,isSatellite:c.isSatellite}),c.toast&&s("div",{className:m.toastWrapper,children:s(d,{message:c.toast.message,variant:c.toast.variant})})]})};export{c as MapOverlayControls};
//# sourceMappingURL=MapOverlayControls.js.map
