import{r}from"./vendor-react-wBh_31cN.js";const f=(e,o,t)=>{const[s,u]=r.useState(e);return r.useEffect(()=>{const n=setTimeout(()=>{u(e),t&&t(e)},o);return()=>{clearTimeout(n)}},[e,o,t]),s};export{f as u};
