@if (book$ | async; as book) {
@if (!compact) {
@if (coverUrl !== null) { cover-image }
@if (book.description) {
} } @if (compact) { @if (coverUrl !== null) { cover-image } @if (book.description) {
} }
@if (compact) {

{{ t('book-details.title') }} {{ book.title }}

} @if ($authorNames(); as authorNames) {

{{ t('book-details.authors') }} @for (author of authorNames; track author; let i = $index) { {{ author }} @if (i !== authorNames.length - 1) { , } }

}

{{ t('book-details.publisher') }} {{ $publisherName() }}

@if (book.publishedDate; as publishedDate) {

{{ t('book-details.published') }} {{ publishedDate | date }}

} @if (book.pageCount || book.printedPageCount) {

{{ t('book-details.pages') }} {{ book.pageCount || book.printedPageCount }}

} @if (book.language) {

{{ t('book-details.language') }} {{ book.language | language }}

} @if (book.language) {

{{ t('book-details.isbn') }} {{ book.isbn | isbn }}

} @if (!compact) { }
}