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

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

/** @typedef {{ n: NonNullable<unknown>, percent: NonNullable<unknown> }} Reader_Ch_PreparingInputs */

const en_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Preparing Ch.${i?.n}… ${i?.percent}%`)
};

const ru_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Подготовка гл.${i?.n}… ${i?.percent}%`)
};

const id_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Menyiapkan Bab.${i?.n}… ${i?.percent}%`)
};

const pt_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Preparando Cap.${i?.n}… ${i?.percent}%`)
};

const fr_reader_ch_preparing = /** @type {(inputs: Reader_Ch_PreparingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Préparation Ch.${i?.n}… ${i?.percent}%`)
};

/**
* | output |
* | --- |
* | "Preparing Ch.{n}… {percent}%" |
*
* @param {Reader_Ch_PreparingInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const reader_ch_preparing = /** @type {((inputs: Reader_Ch_PreparingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Reader_Ch_PreparingInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_reader_ch_preparing(inputs)
	if (locale === "ru") return ru_reader_ch_preparing(inputs)
	if (locale === "id") return id_reader_ch_preparing(inputs)
	if (locale === "pt") return pt_reader_ch_preparing(inputs)
	return fr_reader_ch_preparing(inputs)
});