"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../_util/supportsPassive.js");function u(e,s,o,r){if(e&&e.addEventListener){let i=r;i===void 0&&t.default&&(s==="touchstart"||s==="touchmove"||s==="wheel")&&(i={passive:!1}),e.addEventListener(s,o,i)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(s,o)}}}exports.default=u;
