{#if value === null}
{/if}
{#if active_source === "webcam" && (streaming || (!streaming && !value))}
handle_save(e.detail)}
on:stream={(e) => handle_save(e.detail)}
on:error
on:drag
on:upload={(e) => handle_save(e.detail)}
{mirror_webcam}
{streaming}
mode="image"
include_audio={false}
{i18n}
/>
{:else if value !== null && !streaming}
{/if}
{#if sources.length > 1 || sources.includes("clipboard")}