const require_zh_CN = require("./zh-CN.js");
const require_en_US = require("./en-US.js");
const require_zh_TW = require("./zh-TW.js");
const require_ja = require("./ja.js");
const require_pt = require("./pt.js");
const require_locale = require("../utils/locale.js");
//#region src/locales/index.ts
const langMap = {
	"zh-CN": require_zh_CN.default,
	"en-US": require_en_US.default,
	"zh-TW": require_zh_TW.default,
	"zh-HK": require_zh_TW.default,
	en: require_en_US.default,
	original: require_en_US.default,
	ja: require_ja.default,
	pt: require_pt.default
};
const getText = (id) => {
	var _langMap$locale;
	if (!id) return;
	let locale = require_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
exports.getText = getText;
