"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isAuxClick = void 0;
/**
 * Returns true for genuine middle-clicks (button === 1).
 * Filters out Windows right-clicks, which fire onAuxClick with button === 2
 * in addition to onContextMenu, to prevent double-counting.
 */
var isAuxClick = exports.isAuxClick = function isAuxClick(e) {
  return e.button === 1;
};