PageSourceSearch

https://bex.co/assets/use-impression-CCluiIpj.js

js bex.co collected 2026-10-09 23:14:42 UTC 551 bytes, 1 lines download raw bytes

1import{r as t}from"./index-C1toZImK.js";const l=.5,v=1e3;function m(s,r){const c=t.useRef(null),o=t.useRef(r);return t.useEffect(()=>{o.current=r},[r]),t.useEffect(()=>{const i=c.current;if(!i||!s||typeof IntersectionObserver>"u")return;let e,u=!1;const n=new IntersectionObserver(a=>{if(u)return;if(!a.some(f=>f.isIntersecting&&f.intersectionRatio>=l)){clearTimeout(e),e=void 0;return}e===void 0&&(e=setTimeout(()=>{u=!0,o.current(),n.disconnect()},v))},{threshold:l});return n.observe(i),()=>{clearTimeout(e),n.disconnect()}},[s]),c}export{m 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.