{{ t('title') }}

{{ t('description') }}

@if (showAdvanced) {
}
@if (activeGroups.length > 0) { }
@if (isMerging()) { } @if (hasScanned() && activeGroups.length > 0) {
{{ t('helpText') }}
}
@if (isScanning()) {

{{ t('scanning') }}

} @else if (!hasScanned()) {

{{ t('scanPrompt') }}

} @else if (activeGroups.length === 0 && groups.length === 0) {

{{ t('noDuplicates') }}

} @else if (activeGroups.length === 0 && groups.length > 0) {

{{ t('allMerged') }}

} @else {
@for (group of pagedGroups; track group.suggestedTargetBookId) {
{{ t('groupLabel', { index: pageFirst + $index + 1 }) }} @if (hasSameFormatConflict(group)) { }
@if (getDeleteSelectedCount(group) > 0) { }
@for (book of group.books; track book.id) {
@if (book.id !== group.selectedTargetBookId) { }
}
}
@if (activeGroups.length > pageSize) { } }