{#if nestingLevel >= MAX_NESTING_LEVEL}
{ e.preventDefault(); goto(`/events?id=${nostrIdentifier}`); }} > {nostrIdentifier}
{:else if loading}
Loading event...
{:else if error}
⚠️ Failed to load event
{ e.preventDefault(); goto(`/events?id=${nostrIdentifier}`); }} > View event directly
{:else if event}
Kind {event.kind} ({getEventType(event.kind || 0)}) {#if event.pubkey} Author:
{#if toNpub(event.pubkey)} {@render userBadge( toNpub(event.pubkey) as string, authorDisplayName, )} {:else} {authorDisplayName || event.pubkey.slice(0, 8)}...{event.pubkey.slice(-4)} {/if}
{/if}
{#if getEventTitle(event)}

{getEventTitle(event)}

{/if} {#if event.kind !== 1 && getEventSummary(event)}

{getEventSummary(event)}

{/if} {#if event.kind === 1 || repostKinds.includes(event.kind)}
{@render parsedContent(event.content.slice(0, 300))} {#if event.content.length > 300} ... {/if}
{:else if event.kind === 0 && profile}
{#if profile.picture} Profile {/if} {#if profile.about}

{profile.about.slice(0, 200)} {#if profile.about.length > 200} ... {/if}

{/if}
{/if}
ID: {event.id.slice(0, 8)}...{event.id.slice(-4)} {#if isAddressableEvent(event)} Address: {getNaddrUrl(event).slice(0, 12)}...{getNaddrUrl(event).slice(-8)} {/if}
{/if}