import{f as e}from"./p-a7fc1e02.js";import{_ as r,y as s}from"./p-d0993bb9.js";function t(s){const t=r();e((()=>{t.dispatchEvent(new CustomEvent("sqm:request-rerender",{detail:!0,bubbles:!0,composed:!0}))}),s)}function n(){const t=r(),[n,o]=s();return e((()=>{const e=e=>{e.stopPropagation(),o()};return t.addEventListener("sqm:request-rerender",e),()=>{t.removeEventListener("sqm:request-rerender",e)}}),[]),n}export{t as a,n as u}