{ if (!o) onClose(); }} >
{mode === 'copy' ? 'Copy' : 'Move'} heap to folder {heap?.Title ?? ''} · {heap?.PhotoCount ?? 0} photo{heap?.PhotoCount === 1 ? '' : 's'}
Destination
{#if foldersQuery.isPending} {:else if (foldersQuery.data ?? []).length === 0} {:else} (pickedPath = p)} selectedPath={pickedPath} readonly /> {/if}