{#if previewUrl} {:else}
{label ?? `#${orderIndex}`} {#if idLabel}

{idLabel}

{:else if sceneId != null}

{t('clipMonitor.sceneId', { id: sceneId })}

{/if}

{heading || t('clipMonitor.untitled')}

{#if status === 'pending' || status === 'running'}
{status === 'running' ? t('clipMonitor.generating') : t('clipMonitor.queued')}
{#if status === 'running'} {/if}
{:else if status === 'failed'}

{error || t('clipMonitor.generationFailed')}

{#if errorLong} {/if}
{:else}

{t('clipMonitor.noRenderHint')}

{/if}
{/if}
{label ?? `#${orderIndex}`} {#if idLabel} {idLabel} {:else if sceneId != null} {t('clipMonitor.id', { id: sceneId })} {/if}
{#if previewUrl}
{t('clipMonitor.downloadClip')}
{/if}