import { isPrimaryPointer } from "./index237.js";
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
function extractEventInfo(event) {
	return { point: {
		x: event.pageX,
		y: event.pageY
	} };
}
var addPointerInfo = (handler) => (event) => isPrimaryPointer(event) && handler(event, extractEventInfo(event));
//#endregion
export { addPointerInfo, extractEventInfo };

//# sourceMappingURL=index340.js.map