decord/source/modules/app_startup/native/executeHeadlessTask.tsx

98 lines
2.7 KiB
TypeScript
Raw Normal View History

2026-08-27 16:17:25 +00:00
// Module ID: 17421
// Function ID: 17422
2026-07-20 16:05:17 +00:00
// Name: _executeHeadlessTask
2026-08-27 16:17:25 +00:00
// Dependencies: [5, 17, 1218, 16719, 676, 3, 1208, 675, 15, 9, 13236, 698, 503, 16839, 4329, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-27 16:17:25 +00:00
// Module 17421 (_executeHeadlessTask)
2026-08-24 06:08:38 +00:00
import closure_4 from "asyncGeneratorStep" /* 5 */;
import { AppState } from "get ActivityIndicator" /* 17 */;
import closure_6 from "fetchFingerprint" /* 1218 */;
2026-08-27 16:17:25 +00:00
import linkFromAppsFlyer from "linkFromAppsFlyer" /* 16719 */;
2026-08-24 06:08:38 +00:00
import { AnalyticEvents } from "ME" /* 676 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-20 16:05:17 +00:00
function _executeHeadlessTask() {
2026-07-29 08:29:29 +00:00
const self = this;
const tmp = callback((arg0, arg1, arg2) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
closure_1 = arg1;
closure_2 = arg2;
c11 = 0;
c12 = 0;
c9 = 0;
2026-07-29 08:29:29 +00:00
return (function*(arg0, arg1, arg2) {
if (c12 === 2) {
c12 = 3;
2026-08-04 08:36:32 +00:00
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 {
2026-08-26 06:04:24 +00:00
return { value: "HermesInternal", done: null };
2026-08-04 08:36:32 +00:00
}
2026-07-29 08:29:29 +00:00
} else {
2026-08-04 08:36:32 +00:00
try {
2026-07-29 08:29:29 +00:00
if (arg0 === 1) {
2026-08-04 08:36:32 +00:00
c12 = 3;
2026-07-29 08:29:29 +00:00
throw arg1;
2026-08-04 08:36:32 +00:00
} else {
if (arg0 !== 2) {
2026-08-24 06:08:38 +00:00
c9 = 0;
2026-08-04 08:36:32 +00:00
c12 = 3;
}
c9 = 0;
c12 = 3;
obj = { value: null, done: true };
2026-07-29 08:29:29 +00:00
obj[0] = arg1;
return obj;
}
2026-08-04 08:36:32 +00:00
} catch (tmp12) {
2026-08-24 06:08:38 +00:00
closure_10 = tmp12;
2026-08-04 08:36:32 +00:00
if (tmp4 === c9) {
c12 = tmp3;
throw tmp12;
} else if (tmp2 === tmp14) {
2026-08-24 06:08:38 +00:00
c11 = tmp2;
2026-08-04 08:36:32 +00:00
} 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;
2026-07-29 08:29:29 +00:00
}
}
}
})();
});
2026-08-24 06:08:38 +00:00
closure_10 = tmp;
2026-07-29 08:29:29 +00:00
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-08-24 06:08:38 +00:00
({ initHeadlessTask: error, applicationReady: closure_8 } = linkFromAppsFlyer);
const result = require("set").fileFinishedImporting("modules/app_startup/native/executeHeadlessTask.tsx");
2026-07-20 16:05:17 +00:00
export default function executeHeadlessTask() {
2026-07-29 08:29:29 +00:00
const self = this;
const apply = _executeHeadlessTask.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
};