{#if !interactive} gradio.dispatch("select", detail)} on:share={({ detail }) => gradio.dispatch("share", detail)} on:error={({ detail }) => gradio.dispatch("error", detail)} value={_value} {label} {show_label} {show_download_button} {show_share_button} i18n={gradio.i18n} /> {:else} gradio.dispatch("edit")} on:clear={() => gradio.dispatch("clear")} on:drag={({ detail }) => (dragging = detail)} on:upload={() => gradio.dispatch("upload")} on:select={({ detail }) => gradio.dispatch("select", detail)} on:share={({ detail }) => gradio.dispatch("share", detail)} on:error={({ detail }) => { loading_status = loading_status || {}; loading_status.status = "error"; gradio.dispatch("error", detail); }} on:click={() => gradio.dispatch("error", "bad thing happened")} on:error {label} {show_label} i18n={gradio.i18n} > {#if sources.includes("upload")} {:else} {/if} {/if}