1import{d as a,p as r,s as v,N as u,o as p,c as f,j as m}from"./CmQ1EJKF.js";const b=a({__name:"IntersectionObserver",props:{options:{type:Object,default:null}},emits:["intersect"],setup(i,{emit:l}){const e=r(void 0),s=r(),o=l,c=i;return v(()=>{const n=c.options||{};e.value=new IntersectionObserver(([t])=>{t&&t.isIntersecting?o("intersect",{visible:!0,...s.value}):t.isIntersecting||o("intersect",{visible:!1,...s.value})},n),e.value.observe(s.value)}),u(()=>{e.value.disconnect(),e.value=void 0}),(n,t)=>(p(),f("div",{ref_key:"element",ref:s,class:"observer h-full"},[m(n.$slots,"default")],512))}});export{b as _};
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.