decord/alpha/source/modules/intl/overrides/getDeviceSpecificString.tsx

31 lines
767 B
TypeScript
Raw Normal View History

2026-10-03 08:58:59 +00:00
// Module ID: 7452
// Function ID: 7453
2026-07-20 16:05:17 +00:00
// Name: getDeviceSpecificString
2026-10-03 08:58:59 +00:00
// Dependencies: [1126, 1615, 2]
2026-07-20 16:05:17 +00:00
// Exports: getDeviceSpecificString
2026-10-03 08:58:59 +00:00
// Module 7452 (getDeviceSpecificString)
import MetaQuestUtils from "MetaQuestUtils" /* 1615 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-10-03 08:58:59 +00:00
let tmp;
const intl2 = tmp(1126);
const result = size.fileFinishedImporting("modules/intl/overrides/getDeviceSpecificString.tsx");
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
export const getDeviceSpecificString = function getDeviceSpecificString(arg0, _2Yp7dF) {
2026-07-20 16:05:17 +00:00
let str = null;
2026-10-03 08:58:59 +00:00
const obj = MetaQuestUtils;
2026-07-20 16:05:17 +00:00
if (obj.isMetaQuest()) {
str = "quest";
}
2026-07-29 08:29:29 +00:00
let tmp3 = null;
2026-07-20 16:05:17 +00:00
if (null != str) {
2026-07-29 08:29:29 +00:00
tmp3 = arg0[str];
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (tmp3 == null) {
tmp3 = _2Yp7dF;
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
const intl = intl2.intl;
2026-07-29 08:29:29 +00:00
return intl.string(tmp3);
2026-07-20 16:05:17 +00:00
};