{#if status === 'loading'}
🌙
Moon
Loading moon phase…
{:else if status === 'ready' && today}
🌙
Moon
{@html moonSVG(today.phase)}
{phaseName}
{Math.round(illum * 100)}% illuminated
{#if info}
🕓
{info.name}
{#if info.daysUntil === 0}is today{:else if info.daysUntil === 1}in 1 day{:else}in {info.daysUntil} days{/if}
{formatDate(info.date)}
{/if}
{:else}
🌙
Moon
Moon data unavailable
{/if}