/**
 * @internal
 * @remarks \@since 6.0.0
 */ /**
 * @internal
 * @remarks \@since 6.0.0
 */ export const getClientPosition = (options)=>{
    const { event, vertical } = options;
    const key = vertical ? "clientY" : "clientX";
    if ("clientX" in event) {
        return event[key];
    }
    // this should pretty much always be defined
    return event.changedTouches[0]?.[key] || 0;
};

//# sourceMappingURL=getClientPosition.js.map