docs: function parentOffsetEl(element) {
  	let offsetParent = element.offsetParent || document;
  	while (offsetParent && offsetParent !== document && isStaticPositioned(offsetParent)) {
  		offsetParent = offsetParent.offsetParent;
  	}
  	return offsetParent || document;
  }