import{n as e,s as t}from"./rolldown-runtime-BG2f4sTM.js";import{Mvt as n,Nvt as r}from"./app-initial-BHB6SClA.js";function i(e){let t=(0,a.c)(5),n;t[0]===e?n=t[1]:(n=()=>typeof window>`u`||typeof window.matchMedia!=`function`?!1:window.matchMedia(e).matches,t[0]=e,t[1]=n);let[r,i]=(0,o.useState)(n),s,c;return t[2]===e?(s=t[3],c=t[4]):(s=()=>{if(typeof window>`u`||typeof window.matchMedia!=`function`)return;let t=window.matchMedia(e);i(t.matches);let n=e=>{i(e.matches)};return typeof t.addEventListener==`function`?(t.addEventListener(`change`,n),()=>{t.removeEventListener(`change`,n)}):(t.addListener(n),()=>{t.removeListener(n)})},c=[e],t[2]=e,t[3]=s,t[4]=c),(0,o.useEffect)(s,c),r}var a,o,s=e((()=>{a=n(),o=t(r(),1)}));export{i as n,s as t};
//# sourceMappingURL=use-media-query-_4fcOL58.js.map