const e=require("../../../_util/raf.js");let t=require("vue");function n(n){let r=(0,t.ref)(null),i=(0,t.reactive)({...n}),a=(0,t.ref)([]);return(0,t.onMounted)(()=>{r.value&&e.default.cancel(r.value)}),[i,t=>{r.value===null&&(a.value=[],r.value=e.default(()=>{let e;a.value.forEach(t=>{e={...e,...t}}),Object.assign(i,e),r.value=null})),a.value.push(t)}]}exports.default=n;