{#if inputMode === "image"}
{t("actions.openImage")}
{ const f = (e.target as HTMLInputElement).files?.[0]; if (f) onupload(f); }} />
{/if} {#if canDownload}
{/if}