{ dialog = node; node.showModal(); }} onclose={onclose} aria-labelledby="detail-title">
Book details
{#if book.coverUrl && !failedImage}{`Cover failedImage = true}/>{:else}{/if}
{book.subgenres.map((g) => genreLabels[g] ?? g).join(' · ')}

{book.title}

by {book.author}

{#if series}

{current?.number != null ? ` · Book ${current.number}` : ''}

{:else if book.series}

{book.series}{book.seriesNumber != null ? ` · Book ${book.seriesNumber}` : ''}

{/if}

★ {book.rating?.toFixed(2) ?? 'Not yet rated'} {book.ratingCount.toLocaleString()} Audible ratings

{#if rateable}
Your rating{#each [1,2,3,4,5] as value (value)}{/each}
{:else}

Tracked through its series. Only numbered audiobooks carry their own progress and rating.

{/if}
{#if release && release.state === 'scheduled'}Audio {displayDate(release.date)}{:else if release && release.state === 'unknown'}Release not confirmed{:else}{displayDate(release?.date ?? book.releaseDate)}{/if}{formatRuntime(book.runtimeMinutes)}{editionKind === 'podcast' ? 'Podcast' : book.edition === 'dramatized' ? 'Dramatized audio' : book.edition === 'collection' ? 'Audio collection' : 'Audiobook'}

Narrated by {book.narrator || 'a narrator yet to be listed'}

About the book

{book.description || 'We’re still gathering a description for this book.'}

{#if series}{/if}{#if book.url}View on Audible {/if}
{#if book.assessment}

Reading traits

Estimated
{#each Object.entries(book.assessment.taste) as [key, value] (key)}{#if value && value.confidence >= 0.45}
{tasteLabels[key as Taste]}
{/if}{/each}

Estimated from the publisher’s description. Uncertain traits are left out.

{/if}
Content notes & source information

“Unknown” means there isn’t enough evidence. It does not mean a book is free of that content. AI writing is only flagged when the source discloses it.

{#each Object.entries(book.content) as [key, signal] (key)}
{contentLabels[key as keyof CatalogBook['content']]}{signal.verdict === 'unknown' || signal.confidence < 0.8 ? 'Unknown' : signal.verdict === 'present' ? 'Flagged' : 'Not indicated'} · {sourceLabels[signal.source] ?? 'Source unclear'}
{#if readerNote(signal.note)}

{readerNote(signal.note)}

{/if}
{/each}

{book.sources.map((s) => `${s.name} · fetched ${displayDate(s.fetchedAt.slice(0,10))}`).join(' / ') || 'Source timestamp unavailable'}

{#if readerIssues(book.issues).length}

Gaps in this listing: {readerIssues(book.issues).join(' · ')}

{/if}
{#if series && siblings.length > 1}

In {series.title}

{siblings.length} audiobooks in reading order

{#each siblings as sibling (sibling.work.id)}{/each}
{/if}