/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';

/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */

/** @typedef {{ title: NonNullable<unknown> }} Book_Detail_Page_TitleInputs */

const en_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.title} — libnovel`)
};

const ru_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.title} — libnovel`)
};

const id_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.title} — libnovel`)
};

const pt_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.title} — libnovel`)
};

const fr_book_detail_page_title = /** @type {(inputs: Book_Detail_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.title} — libnovel`)
};

/**
* | output |
* | --- |
* | "{title} — libnovel" |
*
* @param {Book_Detail_Page_TitleInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const book_detail_page_title = /** @type {((inputs: Book_Detail_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Book_Detail_Page_TitleInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_book_detail_page_title(inputs)
	if (locale === "ru") return ru_book_detail_page_title(inputs)
	if (locale === "id") return id_book_detail_page_title(inputs)
	if (locale === "pt") return pt_book_detail_page_title(inputs)
	return fr_book_detail_page_title(inputs)
});