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

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

/** @typedef {{ username: NonNullable<unknown> }} User_Library_HeadingInputs */

const en_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.username}'s Library`)
};

const ru_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Библиотека ${i?.username}`)
};

const id_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Perpustakaan ${i?.username}`)
};

const pt_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Biblioteca de ${i?.username}`)
};

const fr_user_library_heading = /** @type {(inputs: User_Library_HeadingInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Bibliothèque de ${i?.username}`)
};

/**
* | output |
* | --- |
* | "{username}'s Library" |
*
* @param {User_Library_HeadingInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const user_library_heading = /** @type {((inputs: User_Library_HeadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<User_Library_HeadingInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_user_library_heading(inputs)
	if (locale === "ru") return ru_user_library_heading(inputs)
	if (locale === "id") return id_user_library_heading(inputs)
	if (locale === "pt") return pt_user_library_heading(inputs)
	return fr_user_library_heading(inputs)
});