function r(e) {
Y || t();
var o = e.target;
if (e.defaultPrevented || e.ctrlKey)
return !0;
if (h(D, "embed") || h(o, "embed") && /\.pdf/i.test(o.src) || h(D, "object") || o.shadowRoot)
return !0;
var r = -e.wheelDeltaX || e.deltaX || 0
, a = -e.wheelDeltaY || e.deltaY || 0;
N && (e.wheelDeltaX && y(e.wheelDeltaX, 120) && (r = -120 * (e.wheelDeltaX / Math.abs(e.wheelDeltaX))),
e.wheelDeltaY && y(e.wheelDeltaY, 120) && (a = -120 * (e.wheelDeltaY / Math.abs(e.wheelDeltaY)))),
r || a || (a = -e.wheelDelta || 0),
1 === e.deltaMode && (r *= 40,
a *= 40);
var i = u(o);
return i ? !!v(a) || (Math.abs(r) > 1.2 && (r *= z.stepSize / 120),
Math.abs(a) > 1.2 && (a *= z.stepSize / 120),
n(i, r, a),
e.preventDefault(),
void l()) : !O || !J || (Object.defineProperty(e, "target", {
value: window.frameElement
}),
parent.wheel(e))
}
При прокрутке страницы в консоли выбивает ошибку:"Unable to preventDefault inside passive event listener due to target being treated as passive."