{#if photos.length > 0}
{#if obscured && warnLabel}
{warnLabel}
onShow?.()}>Show
{/if}
{#each photos as photo, i}
(e.currentTarget as HTMLImageElement).classList.add('loaded')} />
{#if photo.alt}
(activeAltIndex = i)}>ALT
{/if} {#if activeAltIndex === i}
(activeAltIndex = null)}> {photo.alt}
{/if}
{/each}
{#if photos.length > 1 && currentIndex > 0}
goTo(currentIndex - 1)} aria-label="Previous">
{/if} {#if photos.length > 1 && currentIndex < photos.length - 1}
goTo(currentIndex + 1)} aria-label="Next">
{/if} {#if photos.length > 1}
{#each visibleDots as i}
{/each}
{/if} {#if showHeartAnim}
{/if}
{/if}