decord/source/utils/native/SupportUtils.tsx

102 lines
3.1 KiB
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 14791
// Function ID: 14792
2026-07-20 16:05:17 +00:00
// Name: _emailSupport
2026-08-12 06:57:52 +00:00
// Dependencies: [5, 1994, 1625, 4324, 4058, 1993, 2]
2026-07-20 16:05:17 +00:00
// Exports: emailSupport
2026-08-12 06:57:52 +00:00
// Module 14791 (_emailSupport)
2026-07-29 08:29:29 +00:00
import combined from "combined";
import _getSystemLocale from "_getSystemLocale";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-20 16:05:17 +00:00
function _emailSupport() {
2026-07-29 08:29:29 +00:00
const self = this;
const tmp = callback(function*() {
if (dependencyMap === 2) {
dependencyMap = 3;
HermesBuiltin.throwTypeError();
} else if (tmp3 === 3) {
if (arg0 === 1) {
throw arg1;
} else if (arg0 === 2) {
let obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
2026-08-08 06:10:11 +00:00
return { value: "HermesInternal", done: null };
2026-07-29 08:29:29 +00:00
}
} else {
try {
dependencyMap = 2;
if (0 === c2) {
if (arg0 === 1) {
dependencyMap = 3;
throw arg1;
} else if (arg0 === 2) {
dependencyMap = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
2026-08-12 06:57:52 +00:00
const tmp10 = outer1_1(4058);
2026-07-29 08:29:29 +00:00
let closure_1 = tmp10;
const openURL = tmp10.openURL;
2026-08-11 06:20:06 +00:00
let obj1 = outer1_1(1993);
2026-07-29 08:29:29 +00:00
c2 = 1;
dependencyMap = 1;
obj1 = { value: null, done: false };
obj1[0] = obj1.getSubmitRequestURL((function getSessionInfo() {
const constants = v1(table[2]).getConstants();
let str2 = "N/A";
if (str.trim().length > 0) {
str2 = constants.Manifest;
}
const obj = v1(table[2]);
str = constants.Manifest;
const systemVersion = openURL(table[3]).getSystemVersion();
const obj2 = openURL(table[3]);
return "App version: " + constants.Version + "\n Manifest: " + str2 + "\n iOS version: " + systemVersion + "\n Device: " + openURL(table[3]).getDeviceInfo() + "\n Language: " + locale.locale;
})());
return obj1;
}
} else if (arg0 === 1) {
dependencyMap = 3;
throw arg1;
} else if (arg0 === 2) {
dependencyMap = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
openURL(arg1);
dependencyMap = 3;
2026-08-08 06:10:11 +00:00
return { value: "HermesInternal", done: null };
2026-07-29 08:29:29 +00:00
}
} catch (tmp11) {
dependencyMap = tmp;
throw tmp11;
}
}
});
const _emailSupport = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const result = require("getConstants").fileFinishedImporting("utils/native/SupportUtils.tsx");
2026-07-20 16:05:17 +00:00
export const emailSupport = function emailSupport() {
2026-07-29 08:29:29 +00:00
const self = this;
const apply = _emailSupport.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
};