{#each timelineData as entry, i}
{#if openStates[i]}
{:else}
{/if}

{entry.duration}

{#if openStates[i]}

{@html entry.description}

{/if}
{/each}