{#if player.album}
openViewer(player.album?.art_path)} role="button" tabindex="0" onkeydown={() => {}} aria-label={"View album artwork" + (player.album?.title ? " — " + player.album.title : "")}>
{#if !small}
{#if nextEntry} {/if}
{:else}
{#if face === "lyrics"}
{ e.preventDefault(); openHalf("lyrics"); }} role="presentation"> {#if lyr.status === "loading"}
Looking for the words…
{:else if lyr.lines.length} {#each lyr.lines as l, i (i)} {#if !l.text.trim()}
{:else} {/if} {/each} {:else if lyr.plain}
{lyr.plain}
Plain lyrics — nothing timed for this recording.
{:else if lyr.status === "instrumental"}
Instrumental.
{:else if lyr.failed}
Couldn't look up the words — the lookup didn't answer.
{:else}
No lyrics found for this track.
{/if}
{:else}

Up next · from {player.from || player.album.title}

{#each player.queue.slice(player.qi + 1, player.qi + 41) as e, k (player.qi + 1 + k)} {@const prevAlbum = k === 0 ? player.album?.title : player.queue[player.qi + k]?.album?.title} {#if e.album?.title !== prevAlbum}
{e.album?.artist} · {e.album?.title}
{/if} {/each} {#if player.qi + 1 >= player.queue.length}
End of the queueNothing after this.
{/if}
{/if}
{/if}
{player.track?.title}
{#if artistInLibrary} {:else} {artistName} {/if}
{mmss(player.position)}-{mmss(remaining)}
{#each [["art", "disc", "Art"], ["lyrics", "lyrics", "Lyrics"], ["queue", "playlist", "Queue"]] as [f, ic, lb] (f)} {/each}
{/if}