{#if score.grade != 'F'}
{score.user.user.username}
{formatDistance(score.date, new Date(), { addSuffix: true })}
{#if stat == 'score'} {score.score.toLocaleString()} {:else if stat == 'accuracy'} {(score.accuracy * 100).toFixed(2)}% {:else if stat == 'combo'} {score.max_combo.toLocaleString()}x {:else if stat == 'pp'} {Math.round(score.pp ?? 0).toLocaleString()}pp {/if}
{:else}
Score by {score.user.user.username}
{/if}