decord/source/modules/messages/WebViewWebmSupportTest.native.tsx

50 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 4572
// Function ID: 4573
2026-07-20 16:05:17 +00:00
// Name: isIOSWithWebM
2026-08-25 06:04:03 +00:00
// Dependencies: [500, 4359, 2]
2026-07-20 16:05:17 +00:00
// Exports: isIOSWithWebM
2026-08-25 06:04:03 +00:00
// Module 4572 (isIOSWithWebM)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import set2 from "set" /* 500 */;
2026-08-25 06:04:03 +00:00
import DCDDeviceManager from "DCDDeviceManager" /* 4359 */;
2026-08-24 06:08:38 +00:00
2026-07-29 08:29:29 +00:00
const ARM64_ = "ARM64_";
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/messages/WebViewWebmSupportTest.native.tsx");
2026-07-20 16:05:17 +00:00
export const isIOSWithWebM = function isIOSWithWebM() {
if (obj.isIOS()) {
2026-08-24 06:08:38 +00:00
const str = DCDDeviceManager.getSocName();
2026-07-20 16:05:17 +00:00
let tmp4 = null == str;
if (!tmp4) {
2026-07-29 08:29:29 +00:00
tmp4 = !str.startsWith(ARM64_);
2026-07-20 16:05:17 +00:00
}
if (!tmp4) {
2026-07-29 08:29:29 +00:00
const str2 = str.substring(6);
let tmp6 = "T" !== str2[0];
if (tmp6) {
tmp6 = "S" !== str2[0];
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (!tmp6) {
const substr = str2.substring(1);
let tmp8 = "7" !== substr[0];
if (tmp8) {
let tmp9 = "8" !== substr[0];
if (!tmp9) {
2026-07-20 16:05:17 +00:00
const _parseInt = parseInt;
2026-07-29 08:29:29 +00:00
tmp9 = parseInt(substr, 10) >= 8101;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
tmp8 = tmp9;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
tmp6 = tmp8;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
tmp4 = tmp6;
2026-07-20 16:05:17 +00:00
}
return tmp4;
} else {
return false;
}
2026-08-24 06:08:38 +00:00
obj = set2;
const tmp = require;
2026-07-20 16:05:17 +00:00
};