decord/source/modules/dismissible_content/DCFEventStore.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

37 lines
1.1 KiB
TypeScript

// Module ID: 1946
// Function ID: 1947
// Name: getDCFEvents
// Dependencies: [504, 573, 2]
// Module 1946 (getDCFEvents)
import initializeDefault from "initialize" /* 504 */;
import dispatcherDefault from "dispatcher" /* 573 */;
let obj = { DC_SHOWN: 0, [0]: "DC_SHOWN", DC_SHOW_REQUEST: 1, [1]: "DC_SHOW_REQUEST", DC_DISMISSED: 2, [2]: "DC_DISMISSED" };
let closure_1 = [];
const Store = initializeDefault.Store;
class DCFEventStore extends Store {
}
DCFEventStore.prototype["getDCFEvents"] = function getDCFEvents() {
return closure_1;
};
DCFEventStore.displayName = "DCFEventStore";
obj = {
LOGOUT: function reset() {
closure_1 = [];
},
DCF_EVENT_LOGGED: function handleGenericEvent(arg0) {
({ eventType, dismissibleContent } = arg0);
},
DCF_HANDLE_DC_DISMISSED: function handleDCDismissed(arg0) {
},
DCF_HANDLE_DC_SHOWN: function handleDCShownToUser(arg0) {
}
};
const dCFEventStore = new DCFEventStore(dispatcherDefault, obj);
const result = require("set").fileFinishedImporting("modules/dismissible_content/DCFEventStore.tsx");
export default dCFEventStore;
export const DCFEventTypes = obj;