{#await data.graphics then graphics} {#await data.drivers then drivers} (drivers, "id", racepick?.pxx ?? "")?.headshot_url ?? get_driver_headshot_template(graphics)} imgid="headshot_preview" width="w-full sm:w-auto" imgwidth={DRIVER_HEADSHOT_WIDTH} imgheight={DRIVER_HEADSHOT_HEIGHT} imgonclick={(event: Event) => modalStore.close()} > modalStore.close()} > {#if racepick && !disabled} {/if} {#await active_drivers_and_substitutes then pxx_drivers} P{data.currentrace?.pxx ?? "XX"} {/await} {#await active_drivers_and_substitutes then pxx_drivers} DNF {/await} {#if racepick} Save Changes Delete {:else} Make Pick {/if} {/await} {/await}