function t(o){return o.getBoundingClientRect()}function g(o,r){return{get collidedTop(){return t(o).top<t(r).top},get collidedBottom(){return t(o).bottom>t(r).bottom},get collidedLeft(){return t(o).left<t(r).left},get collidedRight(){return t(o).right>t(r).right},get overflowTop(){return t(r).top-t(o).top},get overflowBottom(){return t(o).bottom-t(r).bottom},get overflowLeft(){return t(r).left-t(o).left},get overflowRight(){return t(o).right-t(r).right}}}export{g as d};