decord/source/modules/app_startup/native/executeHeadlessTask.tsx
2026-08-06 08:05:19 +00:00

99 lines
2.8 KiB
TypeScript

// Module ID: 16906
// Function ID: 16907
// Name: _executeHeadlessTask
// Dependencies: [5, 17, 1218, 16186, 676, 3, 1208, 675, 15, 9, 12851, 698, 503, 4170, 2]
// Exports: default
// Module 16906 (_executeHeadlessTask)
import timestamp from "timestamp";
import { AppState } from "get ActivityIndicator";
import fetchFingerprint from "fetchFingerprint";
import linkFromAppsFlyer from "linkFromAppsFlyer";
import { AnalyticEvents } from "ME";
let error;
let metroImportAll;
const require = arg1;
function _executeHeadlessTask() {
const self = this;
const tmp = callback((arg0, arg1, arg2) => {
let closure_0 = arg0;
let closure_1 = arg1;
let closure_2 = arg2;
let c11 = 0;
let c12 = 0;
let c9 = 0;
return (function*(arg0, arg1, arg2) {
if (c12 === 2) {
c12 = 3;
HermesBuiltin.throwTypeError();
} else if (tmp11 === 3) {
if (arg0 === 1) {
throw arg1;
} else if (arg0 === 2) {
let obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
return { value: "T", done: null };
}
} else {
try {
if (arg0 === 1) {
c12 = 3;
throw arg1;
} else {
if (arg0 !== 2) {
let c9 = 0;
c12 = 3;
}
c9 = 0;
c12 = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
}
} catch (tmp12) {
let closure_10 = tmp12;
if (tmp4 === c9) {
c12 = tmp3;
throw tmp12;
} else if (tmp2 === tmp14) {
let c11 = tmp2;
} else if (tmp === tmp14) {
c11 = tmp;
} else if (tmp3 === tmp14) {
c11 = tmp9;
} else if (tmp5 === tmp14) {
c11 = tmp8;
} else if (tmp9 === tmp14) {
c11 = tmp7;
} else {
c11 = tmp6;
}
}
}
})();
});
const _executeHeadlessTask = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
}
({ initHeadlessTask: error, applicationReady: metroImportAll } = linkFromAppsFlyer);
const result = require("fetchFingerprint").fileFinishedImporting("modules/app_startup/native/executeHeadlessTask.tsx");
export default function executeHeadlessTask() {
const self = this;
const apply = _executeHeadlessTask.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
};