1import{ia as s,oa as a}from"./chunk-IIXPTABD.js";var m=300,o=1e3,i=null,l=!1;function g(){l||(l=!0,window.addEventListener("focus",()=>{i=performance.now()}))}function S(){if(!document.hasFocus())return!0;if(i===null)return!1;let n=performance.now()-i;return n>=0&&n<o}function v(n,d){let e=s("");return a(f=>{let r=n();if(e.set(""),!r||!d)return;g();let t,u=w=>{clearTimeout(t),t=setTimeout(()=>e.set(r),w)},c=()=>u(o);window.addEventListener("focus",c),u(S()?o:m),f(()=>{window.removeEventListener("focus",c),clearTimeout(t)})}),e.asReadonly()}export{v as a};
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.