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

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

/** @typedef {{ local: NonNullable<unknown>, remote: NonNullable<unknown> }} Catalogue_Search_Local_CountInputs */

const en_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`(${i?.local} local, ${i?.remote} from novelfire)`)
};

const ru_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`(${i?.local} локальных, ${i?.remote} с novelfire)`)
};

const id_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`(${i?.local} lokal, ${i?.remote} dari novelfire)`)
};

const pt_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`(${i?.local} local, ${i?.remote} do novelfire)`)
};

const fr_catalogue_search_local_count = /** @type {(inputs: Catalogue_Search_Local_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`(${i?.local} local, ${i?.remote} depuis novelfire)`)
};

/**
* | output |
* | --- |
* | "({local} local, {remote} from novelfire)" |
*
* @param {Catalogue_Search_Local_CountInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const catalogue_search_local_count = /** @type {((inputs: Catalogue_Search_Local_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Catalogue_Search_Local_CountInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_catalogue_search_local_count(inputs)
	if (locale === "ru") return ru_catalogue_search_local_count(inputs)
	if (locale === "id") return id_catalogue_search_local_count(inputs)
	if (locale === "pt") return pt_catalogue_search_local_count(inputs)
	return fr_catalogue_search_local_count(inputs)
});