{#if item?.type === 'collection'} {#if item?.type}
{item.type}
• {/if} {#if item?.description}
{item.description}
• {/if} {#if item?.created_at}
{dayjs(item.created_at * 1000).format('LL')}
{/if} {/if} {#if item.size}
{formatFileSize(item.size)}
• {/if} {#if item?.file?.data?.content}
{getLineCount(item?.file?.data?.content ?? '')} extracted lines
Formatting may be inconsistent from source.
{/if}
{#if edit}
{#if enableFullContent} Using Entire Document {:else} Using Focused Retrieval {/if} { item.context = e.detail ? 'full' : undefined; }} />
{/if}
{#if item?.type === 'collection'}
{#each item?.files as file}
{file?.meta?.name}
{/each}
{:else if isPDF}