{#if page.recording}Recording started{/if}
{#if needsDownload} {:else}
{page.recording ? 'Stop' : modelLoading ? 'Loading' : 'Record'}
{#if page.recording} {#each [0.4, 0.8, 0.5, 1, 0.6, 0.9, 0.4, 0.7, 0.5, 0.8, 0.3, 0.6] as h, i} {#if reduceMotion} {:else} {/if} {/each} {:else} {#if modelLoading} Loading model... {:else if !tauriRuntimeAvailable} Desktop app required for local transcription {:else if saved} Saved{#if extractedCount > 0} · {extractedCount} task{extractedCount === 1 ? '' : 's'} extracted{/if} {:else} Press record or {settings.globalHotkey} {/if} {/if}
{page.timerText} {#if page.recording} REC {:else if modelLoading} Loading {:else} Ready {/if}
{#if templates.length > 0}
{#if showTemplateMenu}
{#each templates as template} {/each}
{/if}
{/if}
{#if showExportMenu}
{#each [["txt", "Plain Text"], ["md", "Markdown"], ["csv", "CSV"], ["html", "HTML"], ["srt", "SRT Subtitles"], ["vtt", "WebVTT"]] as [fmt, label]} {/each}
{/if}
{#if activeTemplate}
Template: {activeTemplate} Click a section, then record to fill it
{/if} {#if error}
{error}
{/if} {#if recoverableDraft}
Recovered draft from {recoverableDraftAgo}
{/if} {#if liveWarning && !error}
{liveWarning}
{/if}
{#if transcriptionFailed && !transcript.trim() && !page.recording}
{:else if !transcript.trim() && !page.recording && !transcribing}
{:else}
{#if showScrollHint} {/if}
{/if}
{#if wordCount > 0} {wordCount} {wordCount === 1 ? 'word' : 'words'} {:else} 0 words {/if} {#if insertPos >= 0 && page.recording} · inserting at cursor {/if}
{#if aiStatus} {aiStatus} · {/if} {settings.formatMode} · {page.activeProfile === "None" ? "No profile" : page.activeProfile} {#if transcript.trim()} {/if}
{/if}