decord/source/modules/age_gate/AgeGateStore.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

32 lines
1 KiB
TypeScript

// Module ID: 16031
// Function ID: 16032
// Name: AgeGateStore
// Dependencies: [1098, 504, 573, 2]
// Module 16031 (AgeGateStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
import AgeGateConstants from "AgeGateConstants" /* 1098 */;
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;