{m.communityAffirmationTitle()}

{#if unread} {/if} {#if items.length > 1}
carousel?.scrollPrevious()} onnext={() => carousel?.scrollNext()} />
{/if}
{#if !$session}
{m.communityAffirmationGuest()} {m.login()}
{:else if items.length}

{m.communityAffirmationIntro()}

{ canScrollPrevious = state.canPrevious; canScrollNext = state.canNext; }} > {:else if loading}

{m.communityAffirmationLoading()}

{:else if error}
{m.communityAffirmationError()} {#if authError} {m.communityAffirmationRefreshPermissions()} {:else} {/if}
{:else}

{completed ? m.communityAffirmationDone() : m.communityAffirmationEmpty()}

{/if}