{poolName} Maps

{#if !error && !isLoading} {/if}

Maps in this Pool

{#if isLoading}

Loading maps data...

{:else if error}
error_outline

{error}

{:else if maps.length === 0}
music_note

No maps have been added to this pool yet

{:else}
{#each maps as map}
{map.taData.gameplayParameters?.beatmap?.name} cover

{map.taData.gameplayParameters?.beatmap?.name}

By {map.beatsaverData.metadata.levelAuthorName || "Unknown Artist"}

{#if map.taData.gameplayParameters?.beatmap?.difficulty} speed {MapDifficulty[map.taData.gameplayParameters?.beatmap?.difficulty]} {/if} {#if map.beatsaverData.metadata.duration} access_time {Math.floor(map.beatsaverData.metadata.duration / 60)} minutes {map.beatsaverData.metadata.duration - Math.floor(map.beatsaverData.metadata.duration / 60) * 60} seconds {/if}
Active Modifiers
{#each getModifierArray(map) as modifier} {modifier} {:else} No modifiers active {/each}
{/each}
{/if}
{#if showEditMapModal} map.taData.guid == currentEditMap?.guid)} on:close={closeEditMapModal} on:mapUpdated={handleMapUpdated} on:mapAdded={handleMapAdded} mode='playing' /> {/if} {#if showInfoPopup} {/if} {#if showDeleteConfirmation} {/if}