@if (!isLoading) { @if (pages.length > 0) { @if (scrollMode === CbxScrollMode.PAGINATED) {
@for (url of imageUrls; track url) { Page Image }
@if (isAtLastPage && nextBookInSeries) {
} } @else {
@for (url of infiniteScrollImageUrls; track url; let i = $index) { Page {{ infiniteScrollPages[i] + 1 }} } @if (isLoadingMore) {
} @if (infiniteScrollPages.length > 0 && infiniteScrollPages[infiniteScrollPages.length - 1] >= pages.length - 1 && nextBookInSeries) {
}
} } @else {

No pages available.

} } @else {

Processing pages... This may take a few seconds on first load. Future loads will be significantly faster.

}