1import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t}from"./jsx-runtime-DRF4vMFQ.js";import{n}from"./client-DgKKs8H6.js";var r=e(t(),1);function i(){let[e,t]=(0,r.useState)(null),[i,a]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let{data:e}=n.auth.onAuthStateChange((e,n)=>{t(n),a(!1)});return n.auth.getSession().then(({data:e})=>{t(e.session),a(!1)}),()=>e.subscription.unsubscribe()},[]),{session:e,user:e?.user??null,loading:i}}export{i as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.