function pill ( text ) { return /* html */`
${ text }
` } export default async function ( video, options = {} ) { const { width = '325px', classes = 'w-full flex-shrink-0 flex-grow-0 border-2 border-transparent rounded-2xl overflow-hidden' } = options // Setup inline lazysizes // await this.usingComponent( 'node_modules/lazysizes/lazysizes.min.js' ) // console.log('video', video) return /* html */`
${video.name}
${ (video.tags.includes('benchmark')) ? pill('Benchmark') : '' }
${ video.name }
` }