{#if !interactive}
gradio.dispatch("select", detail)}
on:share={({ detail }) => gradio.dispatch("share", detail)}
on:error={({ detail }) => gradio.dispatch("error", detail)}
{value}
{label}
{show_label}
{show_download_button}
selectable={_selectable}
{show_share_button}
i18n={gradio.i18n}
{show_fullscreen_button}
/>
{:else}
gradio.dispatch("clear_status", loading_status)}
/>
gradio.dispatch("edit")}
on:clear={() => {
gradio.dispatch("clear");
}}
on:stream={({ detail }) => gradio.dispatch("stream", detail)}
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:close_stream={() => {
gradio.dispatch("close_stream", "stream");
}}
{label}
{show_label}
{pending}
{streaming}
{mirror_webcam}
{stream_every}
bind:modify_stream={_modify_stream}
bind:set_time_limit
max_file_size={gradio.max_file_size}
i18n={gradio.i18n}
upload={(...args) => gradio.client.upload(...args)}
stream_handler={gradio.client?.stream}
>
{#if active_source === "upload" || !active_source}
{:else if active_source === "clipboard"}
{:else}
{/if}
{/if}