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

28 lines
682 B
TypeScript
Raw Normal View History

// Module ID: 7416
// Function ID: 7417
2026-07-20 16:05:17 +00:00
// Name: getDeviceSpecificString
// Dependencies: [1115, 1610, 2]
2026-07-20 16:05:17 +00:00
// Exports: getDeviceSpecificString
// Module 7416 (getDeviceSpecificString)
import util from "util" /* 1115 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
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;
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
}
const intl = util.intl;
2026-07-29 08:29:29 +00:00
return intl.string(tmp3);
2026-07-20 16:05:17 +00:00
};