"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=new Set;let t;exports.resizeWindow=function(n){return e.add(n),t||(t=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};e.forEach((e=>e(t)))},window.addEventListener("resize",t)),()=>{e.delete(n),e.size||"function"!=typeof t||(window.removeEventListener("resize",t),t=void 0)}};
//# sourceMappingURL=handle-window.mjs.js.map
