{#if currentMemory} goto(AppRoute.PHOTOS)} forceDark>

{currentMemory.title}

{#if !galleryInView}
(paused = !paused)} /> {#each currentMemory.assets as _, index} {/each}

{assetIndex + 1}/{currentMemory.assets.length}

{/if}
{#if galleryInView}
{/if}
{#key currentAsset.id} {/key} {#if canGoBack}
{/if} {#if canGoForward}
{/if}

{fromLocalDateTime(currentMemory.assets[0].localDateTime).toLocaleString(DateTime.DATE_FULL)}

{currentAsset.exifInfo?.city || ''} {currentAsset.exifInfo?.country || ''}

(galleryInView = true)} on:hidden={() => (galleryInView = false)} bottom={-200} >
{/if}