1import{j as t}from"./index-b1g_5Tpl.js";import{z as u}from"./vendor-mux-MQivGizc.js";import{r as o}from"./vendor-react-CO4_mtH0.js";import{a as f}from"./plans-pUJ-7hQ-.js";const l="9RFL02GVZ5E7u01JKLok00RqRKG01TMFP5opdfq9B00wOnSM";function w(){const r=o.useRef(null),s=o.useRef(null),[n,i]=o.useState(!1);return o.useEffect(()=>{const e=r.current;if(!e)return;const a=new IntersectionObserver(c=>{const[m]=c;i(m.isIntersecting)},{threshold:.3});return a.observe(e),()=>{a.disconnect()}},[]),o.useEffect(()=>{const e=s.current;e&&(n?e.play().catch(()=>{}):e.pause())},[n]),t.jsx(f,{children:t.jsx("div",{ref:r,className:"aspect-video w-full max-w-6xl overflow-hidden rounded-lg sm:rounded-xl shadow-lg sm:shadow-2xl",children:t.jsx(u,{ref:s,playbackId:l,poster:`https://image.mux.com/${l}/thumbnail.png?time=1`,streamType:"on-demand",autoPlay:!1,loop:!0,muted:!0,preload:"none",metadata:{video_title:"LongTerMemory Demo"},"aria-label":"LongTerMemory platform demo video showing how to transform study materials into lasting knowledge",accentColor:"#16a34a",className:"h-full w-full"})})})}export{w 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.