{#if $profile?.jwt} {#snippet label()} {$t('profile.profile')} {/snippet} {#snippet label()} {$t('profile.inbox')} {#if $notifications.inbox} {$notifications.inbox} {/if} {/snippet} {#snippet label()} {$t('profile.saved')} {/snippet} {:else} {#snippet label()} {$t('account.login')} {/snippet} {#snippet label()} {$t('account.signup')} {/snippet} {#snippet label()} {$t('nav.menu.settings')} {/snippet} {/if} {#if $profileData.profiles.length >= 1}
{#snippet title()} {$t('account.accounts')} {#snippet action()} {$profileData.profiles.length} {/snippet} {/snippet} {#each [...$profileData.profiles] as prof, index (prof.id)}
{/each} {$t('account.accounts')}
{/if}
{#if $profile?.favorites && $profile?.favorites.length > 0} {#snippet title()} {$t('routes.profile.favorites')} {#snippet action()} {$profile.favorites?.length} {/snippet} {/snippet}
{/if} {#if $profile?.user} {#if $profile?.user.moderates.length > 0} {#snippet title()} {$t('routes.profile.moderates')} {#snippet action()} {$profile.user?.moderates.length} {/snippet} {/snippet} i.community)} />
{/if} {#snippet title()} {$t('profile.subscribed')} {#snippet action()} {$profile.user?.follows.length} {/snippet} {/snippet} i.community)} /> {/if}