{#if visible}
{#if type === 'success'}
{:else if type === 'error'}
{:else}
{/if}
{operation}
{#if type === 'error'}
{insufficientLabel}
{:else}
{isDeduction ? '-' : '+'}{formattedAmount}
{#if formattedRemaining !== null}
({formattedRemaining} {remainingLabel})
{/if} {/if}
{#if onDismiss}
{/if}
{/if}