decord/beta/source/modules/saved_messages/SavedMessagesManager.tsx
github-actions 6fbb1b046c chore: update source for beta 347.8
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-22 14:21:44 +00:00

93 lines
2.8 KiB
TypeScript

// Module ID: 17887
// Function ID: 17888
// Name: SavedMessagesManager
// Dependencies: [5, 8103, 11831, 17888, 7365, 2]
// Module 17887 (SavedMessagesManager)
import ForLaterExperiment from "ForLaterExperiment" /* 8103 */;
import SavedMessagesActions from "SavedMessagesActions" /* 11831 */;
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7365 */;
require = fn;
let closure_3 = async function _refreshSavedMessages(arg0, value) {
if (c2 === 2) {
c2 = 3;
throw new TypeError("Generator functions may not be called on executing generators");
} else if (tmp3 === 3) {
if (arg0 === 1) {
throw value;
} else if (arg0 === 2) {
const obj2 = { value, done: true };
return obj2;
} else {
return { value: "IconComponent", done: null };
}
} else {
try {
c2 = 2;
if (0 === c1) {
if (arg0 === 1) {
c2 = 3;
throw value;
} else if (arg0 === 2) {
c2 = 3;
const obj5 = { value, done: true };
return obj5;
} else {
closure_0 = tmp4;
if (obj3.isForLaterExperimentOn("saved_messages_manager")) {
c1 = 1;
c2 = 1;
const obj6 = { value: SavedMessagesActions.fetchAndUpdateSavedMessages(), done: false };
return obj6;
} else {
c2 = 3;
}
obj3 = ForLaterExperiment;
}
} else if (arg0 === 1) {
c2 = 3;
throw value;
} else if (arg0 !== 2) {
const result = closure_128_0(closure_128_1[3]).showOverdueRemindersToast();
const obj = closure_128_0(closure_128_1[3]);
}
c2 = 3;
const obj7 = { value, done: true };
return obj7;
} catch (tmp13) {
c2 = tmp;
throw tmp13;
}
}
};
const prototype = function SavedMessagesManager() {
let applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
require = applyArgumentsResult;
applyArgumentsResult.actions = {
POST_CONNECTION_OPEN() {
return applyArgumentsResult.handlePostConnectionOpen();
}
};
applyArgumentsResult.handlePostConnectionOpen = function handlePostConnectionOpen() {
!(function refreshSavedMessages() {
const self = this;
const apply = closure_1_3.apply;
if (typeof apply === "unknown") {
applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
})();
};
return applyArgumentsResult;
}.prototype;
class prototype extends tmp2 {
}
const prototype1 = new prototype();
const size = fn(2);
let result = size.fileFinishedImporting("modules/saved_messages/SavedMessagesManager.tsx");
export default prototype1;