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

46 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 4492
// Function ID: 4493
2026-07-20 16:05:17 +00:00
// Name: isIOSWithWebM
2026-08-08 06:10:11 +00:00
// Dependencies: [500, 4283, 2]
2026-07-20 16:05:17 +00:00
// Exports: isIOSWithWebM
2026-08-08 06:10:11 +00:00
// Module 4492 (isIOSWithWebM)
2026-07-29 08:29:29 +00:00
const ARM64_ = "ARM64_";
2026-07-23 10:11:24 +00:00
const result = require("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-08 06:10:11 +00:00
const str = tmp(4283).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-07-29 08:29:29 +00:00
obj = require(500) /* set */;
tmp = require;
2026-07-20 16:05:17 +00:00
};