"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function getClientPosition(event) {
  if ("TouchEvent" in window && event instanceof window.TouchEvent) {
    const touch = event.touches[0];
    return touch.clientX;
  }
  return event.clientX;
}
exports.getClientPosition = getClientPosition;
