{(!loaded || exhausted) && (
)}
{!exhausted && (

{
const img = e.currentTarget
setWalk((s) => ({ ...s, ...onThumbnailLoad(s, img) }))
}}
onError={() => setWalk((s) => ({ ...s, ...onThumbnailError(s) }))}
className={`relative h-full w-full object-cover transition-opacity duration-300 ${loaded ? 'opacity-100' : 'opacity-0'}`}
/>
)}
{/* Decorative play affordance over a real still only; the parent handles the click. */}
{loaded && !exhausted && (
)}
)
}