"use strict";function e(o){if(!o)return;const t=o.parentElement,s=o.offsetTop+o.offsetHeight,f=t.scrollTop+t.offsetHeight;o.offsetTop<t.scrollTop?t.scrollTop=o.offsetTop:s>f&&(t.scrollTop=s-t.offsetHeight)}exports.scroll=e;
