decord/source/modules/app_startup/native/executeHeadlessTask.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

97 lines
2.7 KiB
TypeScript

// Module ID: 17928
// Function ID: 17929
// Name: _executeHeadlessTask
// Dependencies: [5, 17, 502, 17228, 1074, 3, 1232, 7757, 15, 9, 13666, 1242, 1250, 17348, 4447, 2]
// Exports: default
// Module 17928 (_executeHeadlessTask)
import closure_4 from "asyncGeneratorStep" /* 5 */;
import { AppState } from "get ActivityIndicator" /* 17 */;
import closure_6 from "fetchFingerprint" /* 502 */;
import linkFromAppsFlyer from "linkFromAppsFlyer" /* 17228 */;
import { AnalyticEvents } from "ME" /* 1074 */;
const require = arg1;
function _executeHeadlessTask() {
const self = this;
const tmp = callback((arg0, arg1, arg2) => {
closure_0 = arg0;
closure_1 = arg1;
closure_2 = arg2;
c11 = 0;
c12 = 0;
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: "HermesInternal", done: null };
}
} else {
try {
if (arg0 === 1) {
c12 = 3;
throw arg1;
} else {
if (arg0 !== 2) {
c9 = 0;
c12 = 3;
}
c9 = 0;
c12 = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
}
} catch (tmp12) {
closure_10 = tmp12;
if (tmp4 === c9) {
c12 = tmp3;
throw tmp12;
} else if (tmp2 === tmp14) {
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;
}
}
}
})();
});
closure_10 = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
}
({ initHeadlessTask: error, applicationReady: closure_8 } = linkFromAppsFlyer);
const result = require("set").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;
};