decord/source/modules/mobile_native_updater/MobileNativeUpdateConstants.tsx

75 lines
2 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4113
2026-07-27 11:26:19 +00:00
// Function ID: 34035
2026-07-20 16:05:17 +00:00
// Name: currentUpdateConfig
2026-07-25 08:10:48 +00:00
// Dependencies: [3713, 477, 1443, 1554, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 4113 (currentUpdateConfig)
2026-07-23 10:11:24 +00:00
import importDefaultResult from "t";
2026-07-20 16:05:17 +00:00
import durationResult from "module_6";
2026-07-23 10:11:24 +00:00
const require = arg1;
const tmp3 = (function currentUpdateConfig() {
2026-07-20 16:05:17 +00:00
let tmp = null;
if (undefined !== process.env.INTERNAL_UPDATE_URL) {
const _process2 = process;
tmp = null;
if ("" !== process.env.INTERNAL_UPDATE_URL) {
2026-07-23 10:11:24 +00:00
let obj = require(477) /* set */;
2026-07-20 16:05:17 +00:00
if (obj.isIOS()) {
const _process = process;
2026-07-23 10:11:24 +00:00
let toURLSafeResult = importDefault(1443).toURLSafe(process.env.INTERNAL_UPDATE_URL);
const obj3 = importDefault(1443);
2026-07-20 16:05:17 +00:00
} else {
toURLSafeResult = null;
2026-07-23 10:11:24 +00:00
const obj2 = require(477) /* set */;
2026-07-20 16:05:17 +00:00
}
tmp = toURLSafeResult;
}
}
2026-07-23 10:11:24 +00:00
const constants = require(1554) /* getConstants */.getConstants();
2026-07-20 16:05:17 +00:00
let Build;
if (null != constants) {
Build = constants.Build;
}
const parsed = parseInt(Build);
let tmp12 = null;
if (!Number.isNaN(parsed)) {
tmp12 = null;
if (0 !== parsed) {
tmp12 = null;
if (123456 !== parsed) {
tmp12 = null;
if (1234567890 !== parsed) {
tmp12 = parsed;
}
}
}
}
2026-07-23 10:11:24 +00:00
const obj4 = require(1554) /* getConstants */;
const constants1 = require(1554) /* getConstants */.getConstants();
2026-07-20 16:05:17 +00:00
let Version;
if (null != constants1) {
Version = constants1.Version;
}
let tmp15 = null;
if (null != Version) {
tmp15 = Version;
}
let tmp16 = null;
if (null !== tmp) {
tmp16 = null;
if (null !== tmp12) {
tmp16 = null;
if (null !== tmp15) {
obj = { url: tmp, currentBuild: tmp12, currentVersion: tmp15 };
tmp16 = obj;
}
}
}
return tmp16;
2026-07-23 10:11:24 +00:00
})();
const result = require("isOriginalContentTypeDifferent").fileFinishedImporting("modules/mobile_native_updater/MobileNativeUpdateConstants.tsx");
2026-07-20 16:05:17 +00:00
export const UPDATE_CHECK_INTERVAL = durationResult;
export const UPDATE_CONFIG = tmp3;