import{r as e}from"./index-CqIc3cxq.js";import{a as o}from"./root-loader-BOzEMapJ.js";function t(){return window.navigator.onLine}function r(n){return window.addEventListener("online",n),window.addEventListener("offline",n),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}function u(){const n=o();return e.useSyncExternalStore(r,t,()=>n.online)}export{u};
//# sourceMappingURL=online-DiNLkgTC.js.map
