97 lines
2.7 KiB
TypeScript
97 lines
2.7 KiB
TypeScript
// Module ID: 17508
|
|
// Function ID: 17509
|
|
// Name: _executeHeadlessTask
|
|
// Dependencies: [5, 17, 1218, 16806, 676, 3, 1208, 675, 15, 9, 13322, 698, 503, 16926, 4362, 2]
|
|
// Exports: default
|
|
|
|
// Module 17508 (_executeHeadlessTask)
|
|
import closure_4 from "asyncGeneratorStep" /* 5 */;
|
|
import { AppState } from "get ActivityIndicator" /* 17 */;
|
|
import closure_6 from "fetchFingerprint" /* 1218 */;
|
|
import linkFromAppsFlyer from "linkFromAppsFlyer" /* 16806 */;
|
|
import { AnalyticEvents } from "ME" /* 676 */;
|
|
|
|
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;
|
|
};
|