"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("../RadiusInput/RadiusInput.js"),i=require("../MapControls/MapControls.js"),t=require("../LayerSwitcher/LayerSwitcher.js"),a=require("../ScaleIndicator/ScaleIndicator.js"),o=require("../BoxSelectionOverlay/BoxSelectionOverlay.js"),l=require("../MapHints/MapHints.js"),n=require("../SelectionToast/SelectionToast.js"),r=require("../../OffsetWellMap.module.css.js");exports.MapOverlayControls=function(c){return e.jsxs(e.Fragment,{children:[c.showRadiusInput&&null!==c.drawingRadiusMiles&&e.jsx(s.RadiusInput,{radius:c.drawingRadiusMiles,editable:!0,isSatellite:c.isSatellite,onChange:c.setDrawingRadiusMiles,className:r.radiusFilter}),e.jsx(i.MapControls,{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:r.mapControls}),e.jsx(a.ScaleIndicator,{distance:c.distance,className:r.scaleIndicator}),e.jsx(t.LayerSwitcher,{mapStyle:c.mapStyle,onChange:c.setMapStyle,className:r.layerSwitcher}),!c.isViewOnly&&e.jsx(l.MapHints,{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:r.mapHints}),c.boxState.isActive&&e.jsx(o.BoxSelectionOverlay,{startPoint:c.boxState.startPoint,endPoint:c.boxState.endPoint,wellsCount:c.wellsInBoxCount,isSatellite:c.isSatellite}),c.toast&&e.jsx("div",{className:r.toastWrapper,children:e.jsx(n.SelectionToast,{message:c.toast.message,variant:c.toast.variant})})]})};
//# sourceMappingURL=MapOverlayControls.js.map
