{#if queue.isPaused} {$t('paused')} {:else if statistics.active > 0} {$t('active')} {/if}
{#if subtitle}
{subtitle}
{/if} {#if description} {@const SvelteComponent = description}
{/if}

{$t('active')}

{statistics.active.toLocaleString($locale)}

{waitingCount.toLocaleString($locale)}

{$t('waiting')}

{#if disabled} onCommand({ command: QueueCommand.Start, force: false })} > {$t('disabled')} {/if} {#if !disabled && !isIdle} {#if waitingCount > 0} onCommand({ command: QueueCommand.Empty, force: false })}> {$t('clear')} {/if} {#if queue.isPaused} {@const size = waitingCount > 0 ? '24' : '48'} onCommand({ command: QueueCommand.Resume, force: false })}> {$t('resume')} {:else} onCommand({ command: QueueCommand.Pause, force: false })}> {$t('pause')} {/if} {/if} {#if !disabled && multipleButtons && isIdle} {#if allText} onCommand({ command: QueueCommand.Start, force: true })}> {allText} {/if} {#if refreshText} onCommand({ command: QueueCommand.Start, force: undefined })}> {refreshText} {/if} onCommand({ command: QueueCommand.Start, force: false })}> {missingText} {/if} {#if !disabled && !multipleButtons && isIdle} onCommand({ command: QueueCommand.Start, force: false })}> {missingText} {/if}