import{n as e}from"./rolldown-runtime-Bh1tDfsg.js";import{r as t}from"./vendor-react-CnQ8cts2.js";var n=e(t(),1),r=`is-translating-cursor`;function i(e){(0,n.useEffect)(()=>{if(e)return document.documentElement.classList.add(r),()=>{document.documentElement.classList.remove(r)}},[e])}export{i as t};