{#if loading}

Loading profile...

{:else if profile}
{#if profile.picture} {profile.name {/if}

{profile.name || 'Anonymous'}

{#if profile.about}

{profile.about}

{/if} {#if userStatus}

{userStatus}

{/if} {#if profile.website && profile.website.length > 0}
{#each profile.website as website} {website} {/each}
{/if} {#if profile.nip05 && profile.nip05.length > 0}
{#each profile.nip05 as nip05} {@const isValid = nip05Validations[nip05]} {@const wellKnownUrl = getNIP05WellKnownUrl(nip05)} {nip05} {#if isValid === true} {:else if isValid === false} {#if wellKnownUrl} {:else} {/if} {:else} {/if} {/each}
{/if}
{#if currentUserPubkey && currentUserPubkey !== decodePubkey($page.params.pubkey)} {/if}
{#if activeTab === 'posts'} {#if posts.length === 0}

No posts yet.

{:else}
{#each posts as post (post.id)} {/each}
{/if} {:else if activeTab === 'responses'} {#if responses.length === 0}

No responses yet.

{:else}
{#each responses as response (response.id)} {/each}
{/if} {:else if activeTab === 'interactions'} {#if interactionsWithMe.length === 0}

No interactions with you yet.

{:else}
{#each interactionsWithMe as interaction (interaction.id)} {/each}
{/if} {/if}
{:else}

Profile not found

{/if}