decord/source/modules/age_gate/AgeGateStore.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

32 lines
1 KiB
TypeScript

// Module ID: 16079
// Function ID: 16080
// Name: AgeGateStore
// Dependencies: [1099, 504, 573, 2]
// Module 16079 (AgeGateStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
import AgeGateConstants from "AgeGateConstants" /* 1099 */;
import size from "module_2" /* 2 */;
const AGE_GATE_REGISTER_TIMEOUT_MS = AgeGateConstants.AGE_GATE_REGISTER_TIMEOUT_MS;
let c0 = false;
const Store = initializeDefault.Store;
class AgeGateStore extends Store {
}
AgeGateStore.prototype["isUnderageAnonymous"] = function isUnderageAnonymous() {
return c0;
};
AgeGateStore.displayName = "AgeGateStore";
const ageGateStore = new AgeGateStore(DispatcherDefault, {
AGE_GATE_PREVENT_UNDERAGE_REGISTRATION: function handleMarkUnderageAnonymous() {
c0 = true;
const timestamp = Date.now();
},
LOGIN_SUCCESS: function handleLogin() {
c0 = false;
}
});
const result = size.fileFinishedImporting("modules/age_gate/AgeGateStore.tsx");
export default ageGateStore;