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

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

/** @typedef {{ n: NonNullable<unknown>, s: NonNullable<unknown>, q: NonNullable<unknown> }} Catalogue_Search_ResultsInputs */

const en_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} result${i?.s} for "${i?.q}"`)
};

const ru_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} результат${i?.s} по запросу «${i?.q}»`)
};

const id_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} hasil untuk "${i?.q}"`)
};

const pt_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} resultado${i?.s} para "${i?.q}"`)
};

const fr_catalogue_search_results = /** @type {(inputs: Catalogue_Search_ResultsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} résultat${i?.s} pour « ${i?.q} »`)
};

/**
* | output |
* | --- |
* | "{n} result{s} for \"{q}\"" |
*
* @param {Catalogue_Search_ResultsInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const catalogue_search_results = /** @type {((inputs: Catalogue_Search_ResultsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Catalogue_Search_ResultsInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_catalogue_search_results(inputs)
	if (locale === "ru") return ru_catalogue_search_results(inputs)
	if (locale === "id") return id_catalogue_search_results(inputs)
	if (locale === "pt") return pt_catalogue_search_results(inputs)
	return fr_catalogue_search_results(inputs)
});