2026-09-10 05:38:07 +00:00
|
|
|
// Module ID: 15991
|
|
|
|
|
// Function ID: 15992
|
|
|
|
|
// Name: ParentalConsentStore
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [504, 573, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 15991 (ParentalConsentStore)
|
2026-09-05 10:56:28 +00:00
|
|
|
import initializeDefault from "initialize" /* 504 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
let c0 = false;
|
2026-08-24 06:08:38 +00:00
|
|
|
const PersistedStore = initializeDefault.PersistedStore;
|
2026-07-29 08:29:29 +00:00
|
|
|
class ParentalConsentStore extends PersistedStore {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const prototype = ParentalConsentStore.prototype;
|
|
|
|
|
prototype["initialize"] = function initialize(shouldShowGuardianConnect) {
|
|
|
|
|
let flag;
|
|
|
|
|
if (shouldShowGuardianConnect != null) {
|
|
|
|
|
flag = shouldShowGuardianConnect.shouldShowGuardianConnect;
|
|
|
|
|
}
|
|
|
|
|
if (flag == null) {
|
|
|
|
|
flag = false;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
c0 = flag;
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
prototype["getShouldShowGuardianConnect"] = function getShouldShowGuardianConnect() {
|
|
|
|
|
return c0;
|
|
|
|
|
};
|
|
|
|
|
prototype["getState"] = function getState() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return { shouldShowGuardianConnect };
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
ParentalConsentStore.displayName = "ParentalConsentStore";
|
|
|
|
|
ParentalConsentStore.persistKey = "ParentalConsentStore";
|
2026-09-10 05:38:07 +00:00
|
|
|
const parentalConsentStore = new ParentalConsentStore(DispatcherDefault, {
|
2026-07-20 16:05:17 +00:00
|
|
|
GUARDIAN_CONNECT_REQUIRED: function handleGuardianConnectRequired(shouldShowGuardianConnect) {
|
2026-09-10 05:38:07 +00:00
|
|
|
c0 = true === shouldShowGuardianConnect.shouldShowGuardianConnect;
|
2026-07-29 08:29:29 +00:00
|
|
|
parentalConsentStore.persist();
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
GUARDIAN_CONNECT_CLEARED: function handleGuardianConnectCleared() {
|
2026-08-24 06:08:38 +00:00
|
|
|
c0 = false;
|
2026-07-29 08:29:29 +00:00
|
|
|
parentalConsentStore.persist();
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
NUF_COMPLETE: function handleNUFCompleted() {
|
2026-08-24 06:08:38 +00:00
|
|
|
c0 = false;
|
2026-07-29 08:29:29 +00:00
|
|
|
parentalConsentStore.persist();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
});
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/parent_tools/ParentalConsentStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default parentalConsentStore;
|