{$_("fast_card_replacement")}

{#if state === "done"}

{$_("done")}

{cardCode}
{runnerinfo.firstname} {runnerinfo.lastname} [#{runnerinfo.id}]

{:else if state === "assigning"}

{$_("please_wait_a_moment_while_we_assign_the_card")}
{cardCode}

{:else if state === "error_runner"}

{$_("runner_not_found")}

{:else if state === "error_card"}

{$_("card_not_found")}

{:else} {#if runnerinfo.id === 0}

{$_("scan_runner")}

{$_("select-runner")}

{/if} {#if runnerinfo.id !== 0 && state !== "scan_card"} {/if} {#if state === "scan_card" || runnerinfo.id !== 0} {/if} {/if}