1import{r as e}from"./module-g4nfU4qS.js";import{a as E,b,c as p}from"./module-DkegjUUZ.js";import{E as i}from"./module-v-CXq_RL.js";function l(r={},t=[]){const s=e.useRef(r),n=e.useRef(t),[u,o]=e.useState(),[c,m]=e.useState(),a=e.useCallback(()=>{u&&u.reInit(s.current,n.current)},[u]);return e.useEffect(()=>{E(s.current,r)||(s.current=r,a())},[r,a]),e.useEffect(()=>{b(n.current,t)||(n.current=t,a())},[t,a]),e.useEffect(()=>{if(p()&&c){i.globalOptions=l.globalOptions;const f=i(c,s.current,n.current);return o(f),()=>f.destroy()}else o(void 0)},[c,o]),[m,u]}l.globalOptions=void 0;export{l 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.