Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
27 lines
915 B
TypeScript
27 lines
915 B
TypeScript
// Module ID: 15487
|
|
// Function ID: 15488
|
|
// Name: FamilyCenterAgeGroupPrefetch
|
|
// Dependencies: [7537, 7539, 2]
|
|
// Exports: prefetchFamilyCenterAgeGroupWhen
|
|
|
|
// Module 15487 (FamilyCenterAgeGroupPrefetch)
|
|
import FamilyCenterActionCreatorsDefault from "FamilyCenterActionCreators" /* 7539 */;
|
|
import FamilyCenterStore from "FamilyCenterStore" /* 7537 */;
|
|
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx");
|
|
|
|
export const prefetchFamilyCenterAgeGroupWhen = function prefetchFamilyCenterAgeGroupWhen(isFamilyCenterV3Enabled) {
|
|
let tmp = isFamilyCenterV3Enabled;
|
|
if (isFamilyCenterV3Enabled) {
|
|
tmp = null == FamilyCenterStore.getAgeGroup();
|
|
}
|
|
if (tmp) {
|
|
if (!FamilyCenterStore.isLoading()) {
|
|
if (obj.canRefetch()) {
|
|
FamilyCenterActionCreatorsDefault.initialPageLoad();
|
|
}
|
|
}
|
|
obj = FamilyCenterStore;
|
|
}
|
|
};
|