{#snippet profileCard()} {#if currentCard}
{#if !restricted && currentCard.banner} {/if}
{#if !restricted}{/if} {}} />

{(!restricted && currentCard.displayName) || `@${currentCard.handle}`}

@{currentCard.handle} {#if restricted}

This profile is hidden by your moderation settings.

{:else} {#if currentCard.pronouns}

{currentCard.pronouns}

{/if} {#if currentCard.description}

{currentCard.description}

{/if} {#if currentCard.links.length}{/if} {/if} {#if currentCard.labels.length}
Account labels ({currentCard.labels.length})
    {#each currentCard.labels as label}
  • {label.value}{label.source}
  • {/each}
{/if}
{:else if profileError}
{profileError}
{:else}
Loading profile…
{/if} {/snippet}
{#if currentCard && !restricted && moderation}
{#if loading}Loading media…{/if} {#if mediaError}{mediaError} {:else if started && !items.length && !loading}No media to show.{/if} {#if !mediaError && started && cursor && scanned < 500} {#if paused}

Resume the wall to load more.

{/if} {/if} {#if scanned >= 500}

Showing media from the latest 500 posts.

{/if}
{/if}
{#if selected && !settingsOpen} (selectedId = undefined)} onselect={open} onreveal={reveal} /> {/if}