PageSourceSearch

https://crossmediadesigns.com/assets/use-in-view-wJ1v8ULJ.js

js crossmediadesigns.com collected 2026-10-08 07:57:32 UTC 902 bytes, 1 lines download raw bytes

1import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{dn as t}from"./router-compat-Chw5lb4z.js";import{v as n}from"./Layout-0SNMu0qz.js";var r=e(t(),1),i={some:0,all:1};function a(e,t,{root:r,margin:a,amount:o=`some`}={}){let s=n(e),c=new WeakMap,l=new IntersectionObserver(e=>{e.forEach(e=>{let n=c.get(e.target);if(e.isIntersecting!==!!n)if(e.isIntersecting){let n=t(e.target,e);typeof n==`function`?c.set(e.target,n):l.unobserve(e.target)}else typeof n==`function`&&(n(e),c.delete(e.target))})},{root:r,rootMargin:a,threshold:typeof o==`number`?o:i[o]});return s.forEach(e=>l.observe(e)),()=>l.disconnect()}function o(e,{root:t,margin:n,amount:i,once:o=!1,initial:s=!1}={}){let[c,l]=(0,r.useState)(s);return(0,r.useEffect)(()=>{if(!e.current||o&&c)return;let r=()=>(l(!0),o?void 0:()=>l(!1)),s={root:t&&t.current||void 0,margin:n,amount:i};return a(e.current,r,s)},[t,e,n,o,i]),c}export{o as t};

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.