1import{R as a}from"./chunk-NL6KNZEE-Dh7cvbf_.js";const l=t=>{let e;const s=new Set,c=(n,i)=>{const o=typeof n=="function"?n(e):n;if(!Object.is(o,e)){const d=e;e=i??(typeof o!="object"||o===null)?o:Object.assign({},e,o),s.forEach(g=>g(e,d))}},r=()=>e,u={setState:c,getState:r,getInitialState:()=>b,subscribe:n=>(s.add(n),()=>s.delete(n))},b=e=t(c,r,u);return u},f=t=>t?l(t):l,I=t=>t;function j(t,e=I){const s=a.useSyncExternalStore(t.subscribe,()=>e(t.getState()),()=>e(t.getInitialState()));return a.useDebugValue(s),s}const S=t=>{const e=f(t),s=c=>j(e,c);return Object.assign(s,e),s},m=t=>t?S(t):S,O=m(t=>({user:void 0,credits:0,setUser:e=>t({user:e??null}),clearUser:()=>t({user:null}),setCredits:e=>t({credits:e})}));export{O as u};
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.