const e=(e,t)=>{const o=document.createElement("bce-ripple"),c=e.getBoundingClientRect();o.x=t.clientX-c.left,o.y=t.clientY-c.top,e.appendChild(o),setTimeout(()=>o.parentElement.removeChild(o),500)};export{e as r};