{#each detailsMap as detail} {@const property = getProperty(detail.property, media)} {#if property}
{#if detail.custom !== 'icon'} {:else}
{detail.icon}
{/if}
{#if detail.custom === 'property'} {#await getCustomProperty(detail, media)} Fetching... {:then res } {res} {/await} {:else} {property.toString().replace(/_/g, ' ').toLowerCase()} {/if}
{/if} {/each}