{#each images as image, index}
{#if image.contentWarning && !revealedWarnings[index]}
{:else}
void open(index, event.currentTarget)} >
{#if image.contentWarning}
(revealedWarnings[index] = false)}>
{/if} {/if}
{/each}
{#if active !== undefined}
event.target === event.currentTarget && void close()} >
void close()}>
{#if images.length > 1}
move(-1)}>
{/if}
{#if images.length > 1}
{active + 1}/{images.length}
move(1)}>
{/if}
{/if}