{#if $result.length === 0} {#if $someLoading}
{:else} {/if} {:else}
{#each $result as image (image.pictureUrl)} {highlighted.set(image.pictureUrl)}} on:mouseleave={() =>{ highlighted.set(undefined); selected.set(undefined)}} > {/each}
{/if}
{#if $someLoading && $result.length > 0} {/if} {#if $errors.length > 0} {/if}