1import{P as c,o as i,d as u}from"./main-Ch-kpcoJ.js";const f={__name:"AnimateSpyScreen",props:{direction:String},setup(r){const o=r,n=c(),a=()=>{switch(o.direction){case"top":return["-translate-y-full"];case"bottom":return["translate-y-full"];case"left":return["-translate-x-full"];case"right":return["translate-x-full"]}};i(()=>{const t=n.default()[0].el;t.classList.add("ease-out","delay-300","duration-1000","opacity-0",...a()),new IntersectionObserver(l).observe(t)});const l=(t,s)=>{t.forEach(e=>{e.isIntersecting&&(e.target.classList.remove(...a(),"opacity-0"),e.target.classList.add("opacity-100","translate-y-0","translate-x-0"),s.unobserve(e.target))})};return(t,s)=>u(t.$slots,"default")}};export{f as default};
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.