{#if state.base.type === "file"}
Size
{formatDataVolume(state.base.file_size, 3)}
{:else if state.base.type === "dir" || state.base.type === "bucket"}
Directories
{formatThousands(total_directories, 3)}
Files
{formatThousands(total_files, 3)}
Total size
{formatDataVolume(total_file_size, 3)}
{/if}
{navigator.open_sibling(-1)}}>
skip_previous
{state.shuffle = !state.shuffle}} class:button_highlight={state.shuffle}>
shuffle
{navigator.open_sibling(1)}}>
skip_next
{#if state.base.type === "file"}
dispatch("download")} class="toolbar_button">
save
Download
{/if}
save
DL all files
content_copy
C
opy Link
sharebar_visible = !sharebar_visible} class="toolbar_button" class:button_highlight={sharebar_visible}>
share
Share
details_visible = !details_visible} class="toolbar_button" class:button_highlight={details_visible}>
help
Deta
i
ls
{#if state.base.path !== "/"}
edit_window.edit(state.base)} class="toolbar_button" class:button_highlight={edit_visible}>
edit
E
dit
{/if}