{#if value === null || value.url === undefined}
{#if active_source === "upload"} dispatch("error", detail)} {root} {upload} {stream_handler} > {:else if active_source === "webcam"} {/if}
{:else if playable()} {#key value?.url} {/key} {:else if value.size}
{value.orig_name || value.url}
{prettyBytes(value.size)}
{/if}