"use strict";

Liferay.Loader.define("product-navigation-control-menu$dom-helpers@5.2.0/cjs/removeEventListener", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    exports.__esModule = true;
    exports.default = void 0;

    function removeEventListener(node, eventName, handler, options) {
      var capture = options && typeof options !== 'boolean' ? options.capture : options;
      node.removeEventListener(eventName, handler, capture);

      if (handler.__once) {
        node.removeEventListener(eventName, handler.__once, capture);
      }
    }

    var _default = removeEventListener;
    exports.default = _default;
    module.exports = exports["default"];
  }
});
//# sourceMappingURL=removeEventListener.js.map