decord/source/stores/native/AlertStore.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

39 lines
1 KiB
TypeScript

// Module ID: 11477
// Function ID: 11478
// Name: getAlert
// Dependencies: [586, 706, 2]
// Module 11477 (getAlert)
import initializeDefault from "initialize" /* 586 */;
import dispatcherDefault from "dispatcher" /* 706 */;
let c0 = null;
let c1 = -1;
let c2 = null;
const Store = initializeDefault.Store;
class AlertStore extends Store {
}
const prototype = AlertStore.prototype;
prototype["getAlert"] = function getAlert() {
return c0;
};
prototype["getAlertKey"] = function getAlertKey() {
return "alert-store-" + c1;
};
prototype["isAlertDismissable"] = function isAlertDismissable() {
return c2;
};
AlertStore.displayName = "AlertStore";
const alertStore = new AlertStore(dispatcherDefault, {
ALERT_OPEN: function handleOpen(arg0) {
closure_1 = closure_1 + 1;
({ alert: c0, isDismissable: c2 } = arg0);
},
ALERT_CLOSE: function handleClose() {
c0 = null;
c2 = null;
}
});
const result = require("set").fileFinishedImporting("stores/native/AlertStore.tsx");
export default alertStore;