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

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

/** @typedef {{ speed: NonNullable<unknown> }} Player_Speed_LabelInputs */

const en_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Playback speed ${i?.speed}x`)
};

const ru_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Скорость ${i?.speed}x`)
};

const id_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Kecepatan ${i?.speed}x`)
};

const pt_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Velocidade ${i?.speed}x`)
};

const fr_player_speed_label = /** @type {(inputs: Player_Speed_LabelInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Vitesse ${i?.speed}x`)
};

/**
* | output |
* | --- |
* | "Playback speed {speed}x" |
*
* @param {Player_Speed_LabelInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const player_speed_label = /** @type {((inputs: Player_Speed_LabelInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Player_Speed_LabelInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_player_speed_label(inputs)
	if (locale === "ru") return ru_player_speed_label(inputs)
	if (locale === "id") return id_player_speed_label(inputs)
	if (locale === "pt") return pt_player_speed_label(inputs)
	return fr_player_speed_label(inputs)
});