{#if isCollectionModalOpen} linkCollection(e)} on:unlink={(e) => removeFromCollection(e)} on:close={() => (isCollectionModalOpen = false)} linkedCollectionList={adventure.collections} /> {/if} {#if isWarningModalOpen} (isWarningModalOpen = false)} on:confirm={deleteAdventure} /> {/if}
{#if adventure.is_visited}
{:else}
{/if}
{#if adventure.category} {/if} {#if adventure.user && collection}
{#if adventure.user.profile_pic} {creatorDisplayName} {:else}
{creatorInitials.toUpperCase()}
{/if}
{/if}
{adventure.name}
{#if !readOnly} {#if (adventure.user && adventure.user.uuid == user?.uuid) || (collection && user && collection.shared_with?.includes(user.uuid)) || (collection && user && collection.user == user.uuid)} {/if} {/if}
{#if adventure.location}
{adventure.location}
{/if} {#if adventure.rating}
{#each renderStars(adventure.rating) as filled} {#if filled} {:else} {/if} {/each}
({adventure.rating}/5)
{/if} {#if adventurePriceLabel} 💰 {adventurePriceLabel} {/if}
{#if displayActivityTypes.length > 0}
{#each displayActivityTypes as tag} {tag} {/each} {#if remainingCount > 0} +{remainingCount} {/if}
{/if}
{#if !readOnly} {#if type == 'link'}
{/if} {/if}