{#each tabs as tab (tab.id)}
openTab(tab.id)} class="mr-1 px-3 py-2.5 font-sans text-xs font-medium transition-colors {activeTab === tab.id && open ? 'border-b-2 border-brand-navy text-brand-navy' : 'text-gray-400 hover:text-brand-navy'}" aria-pressed={activeTab === tab.id && open} > {tab.label()}
{/each}
{#if open}
{/if}
{#if open}
{#if activeTab === 'metadata'}
{:else if activeTab === 'transcription'}
{:else if activeTab === 'discussion'}
{:else if activeTab === 'history'}
{/if}
{/if}