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