import{useMapCursor as e}from"./useMapCursor.js";import{useHintsMode as i}from"./useHintsMode.js";import{useMapEventCallbacks as s}from"./useMapEventCallbacks.js";var a=function(a){var o=s({mapRef:a.mapRef,isViewOnly:a.isViewOnly,isRadiusToolActive:a.isRadiusToolActive,radiusDrawingHandlers:a.radiusDrawingHandlers,shouldSuppressClickRef:a.shouldSuppressClickRef,handleChangeOffsetWell:a.handleChangeOffsetWell,showTooltip:a.showTooltip,showClusterTooltip:a.showClusterTooltip,hideTooltip:a.hideTooltip,subjectWell:a.subjectWell,subjectWellCoords:a.subjectWellCoords}),l=o.isDragging,t=o.handleDragStart,n=o.handleDragEnd,d=o.handleMapClick,r=o.handleMouseMove,g=o.handleMouseLeave,u=o.handleMouseDown,h=o.handleSubjectWellMouseEnter,c=o.handleSubjectWellMouseLeave,v=i({isRadiusToolActive:a.isRadiusToolActive,isLassoActive:a.isLassoActive,boxStateIsActive:a.boxStateIsActive,isShiftHeld:a.isShiftHeld,isDrawing:a.isDrawing,isEditingPolygon:a.isEditingPolygon,isEditingVertices:a.isEditingVertices});return{isDragging:l,cursor:e({isRadiusToolActive:a.isRadiusToolActive,isRadiusDrawingDragging:a.isRadiusDrawingDragging,radiusPhase:a.radiusState.phase,isRadiusHoveringEdge:a.isRadiusHoveringEdge,isRadiusHoveringInside:a.isRadiusHoveringInside,isShiftHeld:a.isShiftHeld,boxStateIsActive:a.boxStateIsActive,isLassoActive:a.isLassoActive,lassoPhase:a.lassoState.phase,hoveredWell:a.hoveredWell,isDragging:l,isDrawing:a.isDrawing,isEditingPolygon:a.isEditingPolygon,isEditingVertices:a.isEditingVertices}),hintsMode:v,handleDragStart:t,handleDragEnd:n,handleMapClick:d,handleMouseMove:r,handleMouseLeave:g,handleMouseDown:u,handleSubjectWellMouseEnter:h,handleSubjectWellMouseLeave:c}};export{a as useMapInteractionHandlers};
//# sourceMappingURL=useMapInteractionHandlers.js.map
