PageSourceSearch

https://autokeyworder.com/assets/use-in-view-DdzCAMeH.js

js autokeyworder.com collected 2026-09-24 13:33:28 UTC 786 bytes, 1 lines download raw bytes

1import{a as p,r as g}from"./index-BHZD3iC4.js";const E={some:0,all:1};function I(s,r,{root:i,margin:c,amount:t="some"}={}){const f=p(s),n=new WeakMap,u=a=>{a.forEach(e=>{const l=n.get(e.target);if(e.isIntersecting!==!!l)if(e.isIntersecting){const d=r(e);typeof d=="function"?n.set(e.target,d):o.unobserve(e.target)}else typeof l=="function"&&(l(e),n.delete(e.target))})},o=new IntersectionObserver(u,{root:i,rootMargin:c,threshold:typeof t=="number"?t:E[t]});return f.forEach(a=>o.observe(a)),()=>o.disconnect()}function w(s,{root:r,margin:i,amount:c,once:t=!1}={}){const[f,n]=g.useState(!1);return g.useEffect(()=>{if(!s.current||t&&f)return;const u=()=>(n(!0),t?void 0:()=>n(!1)),o={root:r&&r.current||void 0,margin:i,amount:c};return I(s.current,u,o)},[r,s,i,t,c]),f}export{w 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.