{#if showSearch} {:else}
Spaces
{#if PLATFORM_RELAYS.length === 0} {/if}
{/if}
{#each PLATFORM_RELAYS as url (url)} {:else} {#await loadUserGroupList()}
Loading your spaces...
{:then} {#if inviteData} Search results {#key inviteData.url} {/key} {/if} {#if filteredUserUrls.length > 0} Your spaces {#each filteredUserUrls as url (url)}
onDragStart(e, url)} ondragover={onDragOver} ondragenter={e => onDragEnter(e, url)} ondrop={e => onDrop(e, url)} ondragend={onDragEnd}>
{/each} {:else if !term}

You haven't joined any spaces yet.

{/if} {filteredUserUrls.length > 0 ? "More Spaces" : "Browse Spaces"} {#each otherSpaces.slice(0, limit) as relay (relay.url)} {/each}
{#await sleep(5000)} Looking for spaces... {:then} {#if otherSpaces.length === 0} No other spaces found. {/if} {/await}
{/await} {/each}