{#snippet leftPane()} {/snippet} {#snippet rightPanel()} {#if readmeContent && !currentFile}

README

{#if readmePath && supportsPreview((readmePath.split('.').pop() || '').toLowerCase())} {/if} {#if readmePath} View Raw {/if}
{#if showFilePreview && readmeHtml && readmeHtml.trim()}
{@html readmeHtml}
{:else if readmeContent}
{readmeContent}
{/if}
{:else if currentFile}
{currentFile}
{#if branches.length > 0 && isMaintainer} {:else if currentBranch && isMaintainer} {currentBranch} {/if} {#if hasChanges} ● Unsaved changes {/if} {#if currentFile && supportsPreview((currentFile.split('.').pop() || '').toLowerCase()) && !isMaintainer} {/if} {#if currentFile && fileContent} {/if} {#if isMaintainer} {:else if userPubkey} Only maintainers can edit files. Submit a PR instead. {/if}
{#if loading}
Loading file...
{:else}
{#if isMaintainer} { editedContent = value; hasChanges = value !== fileContent; onContentChange(value); }} /> {:else}
{#if isImageFile && imageUrl}
{currentFile?.split('/').pop()
{:else if currentFile && showFilePreview && fileHtml && supportsPreview((currentFile.split('.').pop() || '').toLowerCase())}
{@html fileHtml}
{:else if highlightedFileContent}
{@html highlightedFileContent}
{:else}
{fileContent}
{/if}
{/if}
{/if} {#if hasChanges && isMaintainer} {/if}
{:else}

Select a file to view or edit

{/if} {/snippet}