{#if remoteView}
{$t('routes.post.instanceWarning')}
{$t('routes.post.remoteView')}
{#if $profile?.jwt}
{ if ($profile?.jwt) { fetchOnHome($profile?.jwt) } }} >
{$t('routes.post.localView')}
{/if}
{/if}
history.back()} size="square-md">
{#if post.post_view.post.body}
{/if}
toast({ content: 'The post was edited successfully.', type: 'success', })} {type} />
{#if post.cross_posts?.length > 0}
{post.cross_posts.length}
{$t('routes.post.crosspostCount')}
{#each post.cross_posts as crosspost}
{/each}
{/if}
{#if data.thread.showContext}
{$t('routes.post.thread.part')}
{$t('routes.post.thread.context')}
{:else if data.thread.singleThread}
{$t('routes.post.thread.single')}
{$t('routes.post.thread.allComments')}
{/if}
{$t('routes.post.commentCount')}
{$t('filter.sort.hot')}
{$t('filter.sort.top.label')}
{$t('filter.sort.new')}
{$t('filter.sort.old')}
{$t('filter.sort.controversial')}
{#await data.comments}
{#each new Array(10) as empty}
{/each}
{:then comments} {#if $profile?.jwt}
(comments.comments = [ comment.detail.comment_view, ...comments.comments, ])} locked={(post.post_view.post.locked && !( $profile?.user?.local_user_view.local_user.admin || $profile?.user?.moderates .map((c) => c.community.id) .includes(data.post.community_view.community.id) )) || $page.params.instance.toLowerCase() != $instance.toLowerCase()} banned={data.post.community_view.banned_from_community} on:focus={() => (commenting = true)} tools={commenting} preview={commenting} placeholder={commenting ? undefined : $t('routes.post.addComment')} rows={commenting ? 7 : 1} /> {/if}
!( ($userSettings.hidePosts.deleted && c.comment.deleted) || ($userSettings.hidePosts.removed && c.comment.removed) ) )} isParent={true} /> {/await} {#if post.post_view.counts.comments > 5}
{post.post_view.counts.comments}
{$t('routes.post.commentCount')}
window.scrollTo({ top: 0, behavior: 'smooth' })} slot="action" >
{$t('routes.post.scrollToTop')}
{/if}