import zh_CN_default from "./zh-CN.js";
import en_US_default from "./en-US.js";
import zh_TW_default from "./zh-TW.js";
import ja_default from "./ja.js";
import pt_default from "./pt.js";
import { getCurrentLocale } from "../utils/locale.js";
//#region src/locales/index.ts
const langMap = {
	"zh-CN": zh_CN_default,
	"en-US": en_US_default,
	"zh-TW": zh_TW_default,
	"zh-HK": zh_TW_default,
	en: en_US_default,
	original: en_US_default,
	ja: ja_default,
	pt: pt_default
};
const getText = (id) => {
	var _langMap$locale;
	if (!id) return;
	let locale = getCurrentLocale();
	return (langMap === null || langMap === void 0 || (_langMap$locale = langMap[locale]) === null || _langMap$locale === void 0 ? void 0 : _langMap$locale[id]) || langMap["en-US"][id] || id;
};
//#endregion
export { getText };
