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

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

/** @typedef {{ percent: NonNullable<unknown> }} Player_GeneratingInputs */

const en_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Generating… ${i?.percent}%`)
};

const ru_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Генерация… ${i?.percent}%`)
};

const id_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Membuat… ${i?.percent}%`)
};

const pt_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Gerando… ${i?.percent}%`)
};

const fr_player_generating = /** @type {(inputs: Player_GeneratingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Génération… ${i?.percent}%`)
};

/**
* | output |
* | --- |
* | "Generating… {percent}%" |
*
* @param {Player_GeneratingInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const player_generating = /** @type {((inputs: Player_GeneratingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Player_GeneratingInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_player_generating(inputs)
	if (locale === "ru") return ru_player_generating(inputs)
	if (locale === "id") return id_player_generating(inputs)
	if (locale === "pt") return pt_player_generating(inputs)
	return fr_player_generating(inputs)
});