{ if (clickHandler === null) { if (url) { if (type === 'file') { window.open(`${url}/content`, '_blank').focus(); } else { window.open(`${url}`, '_blank').focus(); } } } else { clickHandler(); } }} >
{#if status === 'processed'}
{:else}
{/if}
{name}
{#if type === 'file'} {$i18n.t('File')} {:else if type === 'doc'} {$i18n.t('Document')} {:else if type === 'collection'} {$i18n.t('Collection')} {:else}
{type}
{/if} {#if size}
{formatSize(size)}
{/if}
{#if dismissible}
{ dispatch('dismiss'); }} >
{/if}