decord/source/modules/headless_tasks/android/DirectReply.tsx

55 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 17248
// Function ID: 17249
2026-07-20 16:05:17 +00:00
// Name: promise
2026-08-24 06:08:38 +00:00
// Dependencies: [5, 17, 4670, 3, 17242, 7465, 2]
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
// Module 17248 (promise)
import timestampDefault from "timestamp" /* 3 */;
import closure_2 from "asyncGeneratorStep" /* 5 */;
import { NativeModules } from "get ActivityIndicator" /* 17 */;
import { MessageSendLocation } from "MESSAGE_GROUP_SPACING" /* 4670 */;
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
let closure_5 = new timestampDefault("DirectReply");
let tmp = new timestampDefault("DirectReply");
let result = require("set").fileFinishedImporting("modules/headless_tasks/android/DirectReply.tsx");
2026-07-20 16:05:17 +00:00
export default (arg0) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
2026-07-20 16:05:17 +00:00
return new Promise((arg0) => {
2026-07-23 10:11:24 +00:00
const lib = arg0;
2026-08-24 06:08:38 +00:00
closure_1_5.log("Executing DirectReply");
let PushNotificationAndroid = closure_1_3.PushNotificationAndroid;
2026-07-29 08:29:29 +00:00
let result = PushNotificationAndroid.markNotificationAsDirectReply(lib.channelId);
2026-08-24 06:08:38 +00:00
lib(closure_1_1[4]).awaitStorage(() => {
2026-07-20 16:05:17 +00:00
function _sendMessage() {
2026-07-29 08:29:29 +00:00
const self = this;
2026-08-24 06:08:38 +00:00
const tmp = closure_3_2((arg0) => {
closure_0 = arg0;
c3 = 0;
c4 = 0;
return (/* F121886 */ function*() { ... })();
2026-07-29 08:29:29 +00:00
});
2026-08-24 06:08:38 +00:00
closure_0 = 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
closure_2_5.log("Storage loaded");
2026-07-23 10:11:24 +00:00
(function sendMessage(closure_0) {
2026-07-29 08:29:29 +00:00
const self = this;
const apply = _sendMessage.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-23 10:11:24 +00:00
})(closure_0);
2026-07-20 16:05:17 +00:00
});
});
};