"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(){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 c(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>"u"||o===null||(n+=`${t}: ${e[t]};`),n},"")}exports.getClientSize=i;exports.getOffset=l;exports.styleObjectToString=r;exports.styleToString=c;
