(showAssetCount = true)} on:mouseleave={() => (showAssetCount = false)} > {#if showAssetCount}
{#await getAssetCount()} {:then data}

{data.videos.toLocaleString(locale)} Videos

{data.photos.toLocaleString(locale)} Photos

{/await}
{/if}
(showSharingCount = true)} on:mouseleave={() => (showSharingCount = false)} > {#if showSharingCount}
{#await getAlbumCount()} {:then data}

{(data.shared + data.sharing).toLocaleString(locale)} Albums

{/await}
{/if}

LIBRARY

(showFavoritesCount = true)} on:mouseleave={() => (showFavoritesCount = false)} > {#if showFavoritesCount}
{#await getFavoriteCount()} {:then data}

{data.favorites} Favorites

{/await}
{/if}
(showAlbumsCount = true)} on:mouseleave={() => (showAlbumsCount = false)} > {#if showAlbumsCount}
{#await getAlbumCount()} {:then data}

{data.owned.toLocaleString(locale)} Albums

{/await}
{/if}