{#if item.auctions.length > 0} {#each item.auctions as auction} {@const [x, y] = getAuctionCoordinates(auction)} {/each} {/if}