{#if iconUrl} ((e.target as HTMLImageElement).style.display = "none")} /> {/if}
{isLocal ? 'Local Source' : 'In Library'} {extensionName}
{#if !loading} {isLocal ? allManga.length + (localHasNext ? '+' : '') : `${filtered.length}${filtered.length !== allManga.length ? ` / ${allManga.length}` : ''}`} {/if}
{#if isLocal} {:else} {/if}
{#if !isLocal}
{#if filterOpen} {/if}
{#if sources.length > 0} {/if} {/if}
{#if loading}
{#each Array(12) as _}
{/each}
{:else if filtered.length === 0}
{isLocal ? 'No manga found in local source. Add manga folders to your local source directory.' : allManga.length === 0 ? 'Nothing from this extension is in your library.' : 'No matches.'}
{:else} {#if !isLocal && groups.length > 1}
{#each groups as group}
{group.displayName} {group.manga.length}
{/each}
{:else if !isLocal && groups.length === 1}
{groups[0].displayName}
{/if}
{#each filtered as m (m.id)} {@const isCompleted = !m.unreadCount && m.downloadCount > 0} {/each}
{#if isLocal && localHasNext}
{/if} {/if}
{#if migrateTarget} migrateTarget = null} onDone={() => { migrateTarget = null; load(); }} /> {/if}