"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@vueuse/core"),t=require("lodash-unified"),i=new WeakMap;let n;r.isClient&&(n=new ResizeObserver(e=>{e.forEach(s=>{const o=i.get(s.target);t.isFunction(o)&&o(s)})}));function c(e,s){i.set(e,s),n?.observe(e)}function u(e){i.has(e)&&i.delete(e),n?.unobserve(e)}const a=()=>({observe:c,unobserve:u});exports.useResize=a;
