/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/element-size@1.1.1/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
function getSize(e){if(e===window||e===document.body)return[window.innerWidth,window.innerHeight];if(!e.parentNode){var t=!0;document.body.appendChild(e)}var r=e.getBoundingClientRect(),n=getComputedStyle(e),o=(0|r.height)+parse(n.getPropertyValue("margin-top"))+parse(n.getPropertyValue("margin-bottom")),i=(0|r.width)+parse(n.getPropertyValue("margin-left"))+parse(n.getPropertyValue("margin-right"));return t&&document.body.removeChild(e),[i,o]}function parse(e){return parseFloat(e)||0}module.exports=getSize;
//# sourceMappingURL=/sm/1ad0e2b6efd98be719a70f1205f6d002f146a75a3087f7b17219c191935512eb.map