import{a8 as s}from"./index-BtzXKQwE.js";const r=(n,e)=>{if(!s||!n||!e)return!1;const t=n.getBoundingClientRect();let o;return e instanceof Element?o=e.getBoundingClientRect():o={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},t.topo.top&&t.right>o.left&&t.left{let e=0,t=n;for(;t;)e+=t.offsetTop,t=t.offsetParent;return e},l=(n,e)=>Math.abs(i(n)-i(e));export{l as g,r as i};