function c(){const e=document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:n}}function l(e){const n=e.getBoundingClientRect(),t=document.documentElement;return{left:n.left+(window.scrollX||t.scrollLeft)-(t.clientLeft||document.body.clientLeft||0),top:n.top+(window.scrollY||t.scrollTop)-(t.clientTop||document.body.clientTop||0)}}function i(e){return Array.prototype.slice.apply(e).map(t=>`${t}: ${e.getPropertyValue(t)};`).join("")}function r(e){return Object.keys(e).reduce((n,t)=>{const o=e[t];return typeof o=="undefined"||o===null||(n+=`${t}: ${e[t]};`),n},"")}export{l as a,i as b,c as g,r as s};
