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

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

/** @typedef {{ n: NonNullable<unknown> }} Catalogue_Rank_RankedInputs */

const en_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} novels ranked from last catalogue scrape`)
};

const ru_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} новелл отсортированы по последнему парсингу каталога`)
};

const id_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} novel diurutkan dari scrape katalog terakhir`)
};

const pt_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} romances classificados do último scrape do catálogo`)
};

const fr_catalogue_rank_ranked = /** @type {(inputs: Catalogue_Rank_RankedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} romans classés depuis le dernier scrape du catalogue`)
};

/**
* | output |
* | --- |
* | "{n} novels ranked from last catalogue scrape" |
*
* @param {Catalogue_Rank_RankedInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const catalogue_rank_ranked = /** @type {((inputs: Catalogue_Rank_RankedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Catalogue_Rank_RankedInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_catalogue_rank_ranked(inputs)
	if (locale === "ru") return ru_catalogue_rank_ranked(inputs)
	if (locale === "id") return id_catalogue_rank_ranked(inputs)
	if (locale === "pt") return pt_catalogue_rank_ranked(inputs)
	return fr_catalogue_rank_ranked(inputs)
});