Split
{#each modes as m (m.value)} {/each}
{#if mode === 'percent'}

Total {(pctTotalBp / 100).toFixed(2)}% · {((10000 - pctTotalBp) / 100).toFixed(2)}% remaining

{:else if mode === 'exact'}

Assigned {formatCents(exactTotal, currency)} · {formatCents( amountCents - exactTotal, currency )} remaining

{/if}