PageSourceSearch

https://ai-commerce-flows.lovable.app/assets/LazyTestimonialVideo-DnIsSHS_.js

js ai-commerce-flows.lovable.app collected 2026-10-03 03:20:32 UTC 1,097 bytes, 1 lines download raw bytes

1import{r,j as e}from"./index-Dtqe_piS.js";const f=r.memo(function({src:n,poster:o}){const[a,i]=r.useState(!1),[u,l]=r.useState(!1),t=r.useRef(null);return r.useEffect(()=>{const s=new IntersectionObserver(([c])=>{c.isIntersecting&&(i(!0),s.disconnect())},{threshold:0,rootMargin:"100px"});return t.current&&s.observe(t.current),()=>s.disconnect()},[]),e.jsx("div",{ref:t,className:"aspect-[9/16] bg-black/20 rounded-xl overflow-hidden border border-white/20",children:a?e.jsx("video",{className:"w-full h-full object-cover",controls:!0,playsInline:!0,preload:"metadata",poster:o,onLoadedData:()=>l(!0),children:e.jsx("source",{src:n,type:"video/mp4"})}):e.jsx("div",{className:"w-full h-full bg-cover bg-center flex items-center justify-center",style:{backgroundImage:`url(${o})`},children:e.jsx("div",{className:"w-12 h-12 rounded-full bg-white/20 backdrop-blur-sm flex items-center justify-center",children:e.jsx("div",{className:"w-0 h-0 border-l-[16px] border-l-white border-t-[10px] border-t-transparent border-b-[10px] border-b-transparent ml-1"})})})})});export{f as LazyTestimonialVideo};

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.