2026-09-14 20:04:03 +00:00
|
|
|
// Module ID: 15571
|
|
|
|
|
// Function ID: 15572
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: FamilyCenterAgeGroupPrefetch
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [7640, 7642, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: prefetchFamilyCenterAgeGroupWhen
|
|
|
|
|
|
2026-09-14 20:04:03 +00:00
|
|
|
// Module 15571 (FamilyCenterAgeGroupPrefetch)
|
2026-09-12 13:45:10 +00:00
|
|
|
import FamilyCenterActionCreatorsDefault from "FamilyCenterActionCreators" /* 7642 */;
|
|
|
|
|
import FamilyCenterStore from "FamilyCenterStore" /* 7640 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const prefetchFamilyCenterAgeGroupWhen = function prefetchFamilyCenterAgeGroupWhen(isFamilyCenterV3Enabled) {
|
|
|
|
|
let tmp = isFamilyCenterV3Enabled;
|
|
|
|
|
if (isFamilyCenterV3Enabled) {
|
2026-09-10 05:38:07 +00:00
|
|
|
tmp = null == FamilyCenterStore.getAgeGroup();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (tmp) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (!FamilyCenterStore.isLoading()) {
|
2026-07-29 08:29:29 +00:00
|
|
|
if (obj.canRefetch()) {
|
2026-09-10 05:38:07 +00:00
|
|
|
FamilyCenterActionCreatorsDefault.initialPageLoad();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
obj = FamilyCenterStore;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|