{#if showShortcuts} (showShortcuts = !showShortcuts)} /> {/if} {#if $assetStore.timelineHeight > viewport.height} handleScrollbarClick(e.detail)} on:onscrollbardrag={(e) => handleScrollbarDrag(e.detail)} /> {/if}
{#if assetGridElement} {#if showMemoryLane} {/if}
{#each $assetStore.buckets as bucket, bucketIndex (bucketIndex)} assetStore.cancelBucket(bucket)} let:intersecting top={750} bottom={750} root={assetGridElement} >
{#if intersecting} {/if}
{/each}
{/if}
{#if $showAssetViewer} { assetViewingStore.showAssetViewer(false); }} on:archived={handleArchiveSuccess} /> {/if}