1import{t as e}from"./DK3Fl9T5.js";import{Nt as t,R as n,at as r,b as i,ft as a,l as o,p as s,v as c}from"./BJg1If1H.js";import{t as l}from"./D_-7u_JW.js";var u={class:`bg-alpha/10 relative grid aspect-video w-full place-items-center overflow-hidden`},d=i({__name:`YouTubeImage`,props:{thumbnails:{}},setup(e){let i=e,d=o(()=>{let e=i.thumbnails?.find(e=>e.type===`Maxres`)?.url,t=i.thumbnails?.find(e=>e.type===`High`)?.url;return e||t||i.thumbnails?.[0]?.url}),f=r(!1);return(e,r)=>{let i=l;return n(),s(`figure`,u,[c(i,{src:a(d),alt:`YouTube thumbnail`,class:t([`transition-opacity duration-500`,a(f)?`opacity-100`:`opacity-0`]),onLoad:r[0]||=e=>f.value=!0},null,8,[`src`,`class`])])}}}),f=e({default:()=>p}),p=Object.assign(d,{__name:`YouTubeImage`});export{f as n,p 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.