{$t('player.nowPlaying').toUpperCase()}
🎵
{$t('player.queueEmpty')}
{$t('player.queueEmptyDescription')}
{$t('player.recentlyPlayed').toUpperCase()}
{#if historyTracks.length > 0}
{#each historyTracks.slice(0, historyDisplayCount) as track}
{:else}
handleHistoryTrackClick(track)}
onmouseenter={() => hoveredHistoryTrack = track.id}
onmouseleave={() => hoveredHistoryTrack = null}
role="button"
tabindex="0"
>
{track.duration}
{#if hoveredHistoryTrack === track.id}
{/if}
{/each}
{#if historyTracks.length > historyDisplayCount}
{/if}
{track.title}
{track.artist}
{$t('player.noHistoryYet')}