@page "/product/{BookId:long}" @rendermode InteractiveServer
@if (IsLoading) {
Loading product details...

Loading curated details...

} else if (CurrentProduct == null) {

Artifact Not Found

The requested book could not be found in our current catalog.

} else {
@AuthorName
@for (int i = 1; i <= 5; i++) { } (4.8)

@CurrentProduct.Name

R @LivePrice.ToString("N2")
@(StockCount <= 0 ? 0 : Quantity)
@if (StockCount > 0) { } else { }

@if (!string.IsNullOrWhiteSpace(CurrentProduct.Description)) {

Description

@CurrentProduct.Description

}

About the Author

@(string.IsNullOrWhiteSpace(CurrentProduct.Metadata?.Manufacturer) ? "Details regarding this publisher/author are maintained inside our curated archives." : $"{CurrentProduct.Metadata.Manufacturer} is globally recognized for their direct contribution to this specific genre spectrum.")

}