decord/source/modules/age_gate/AgeGateStore.tsx
2026-08-25 06:04:03 +00:00

32 lines
1,006 B
TypeScript

// Module ID: 15309
// Function ID: 15310
// Name: isUnderageAnonymous
// Dependencies: [1221, 589, 709, 2]
// Module 15309 (isUnderageAnonymous)
import set from "set" /* 2 */;
import initializeDefault from "initialize" /* 589 */;
import dispatcherDefault from "dispatcher" /* 709 */;
import result2 from "result" /* 1221 */;
const AGE_GATE_REGISTER_TIMEOUT_MS = result2.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 = set.fileFinishedImporting("modules/age_gate/AgeGateStore.tsx");
export default ageGateStore;