import{useMemo as i}from"react";var r=function(r){var e=r.isRadiusToolActive,n=r.isRadiusDrawingDragging,s=r.radiusPhase,a=r.isRadiusHoveringEdge,g=r.isRadiusHoveringInside,t=r.isShiftHeld,o=r.boxStateIsActive,d=r.isLassoActive,c=r.lassoPhase,u=r.hoveredWell,f=r.isDragging,v=r.isDrawing,b=r.isEditingPolygon,l=r.isEditingVertices;return i((function(){if(e){if(n||"drawing"===s)return"grabbing";if("placing-center"===s)return"crosshair";if("confirming"===s)return a?"ew-resize":g?"grab":u?"pointer":"default"}return t&&!o&&!v&&!b&&!l||o?"crosshair":d?u?"pointer":"confirming"===c&&!b&&!l?"grab":void 0:f?"grabbing":u?"pointer":"grab"}),[e,n,s,a,g,t,o,d,c,u,f,v,b,l])};export{r as useMapCursor};
//# sourceMappingURL=useMapCursor.js.map
