import{r as i}from"./index.BIRwh3HZ.js";function t(e){return i.useSyncExternalStore(n=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const r=window.matchMedia(e);return r.addEventListener("change",n),()=>r.removeEventListener("change",n)},()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches,()=>!1)}function a(){return t("(max-width: 992px)")}function o(){return t("(prefers-reduced-motion: reduce)")}export{o as a,a as b,t as u};
