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

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

/** @typedef {{ n: NonNullable<unknown>, total: NonNullable<unknown> }} Book_Detail_Reading_ChInputs */

const en_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Reading ch.${i?.n} of ${i?.total}`)
};

const ru_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Читается гл.${i?.n} из ${i?.total}`)
};

const id_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Membaca bab.${i?.n} dari ${i?.total}`)
};

const pt_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Lendo cap.${i?.n} de ${i?.total}`)
};

const fr_book_detail_reading_ch = /** @type {(inputs: Book_Detail_Reading_ChInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Lecture ch.${i?.n} sur ${i?.total}`)
};

/**
* | output |
* | --- |
* | "Reading ch.{n} of {total}" |
*
* @param {Book_Detail_Reading_ChInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const book_detail_reading_ch = /** @type {((inputs: Book_Detail_Reading_ChInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Book_Detail_Reading_ChInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_book_detail_reading_ch(inputs)
	if (locale === "ru") return ru_book_detail_reading_ch(inputs)
	if (locale === "id") return id_book_detail_reading_ch(inputs)
	if (locale === "pt") return pt_book_detail_reading_ch(inputs)
	return fr_book_detail_reading_ch(inputs)
});