34 lines
1.9 KiB
TypeScript
34 lines
1.9 KiB
TypeScript
/* Metro module 13876; source: modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx; dependencies: [5116, 5118, 2] */
|
|
import FamilyCenterStore from './FamilyCenterStore.tsx'; /* Metro dependency 5116 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun105502(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#105502, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14073:6, offset: 0x022bb0eb, size: 114 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx');
|
|
exports.prefetchFamilyCenterAgeGroupWhen = prefetchFamilyCenterAgeGroupWhen;
|
|
function prefetchFamilyCenterAgeGroupWhen(a0) { // fn#105503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14073:228, offset: 0x022bb15d, size: 105 bytes, params: 2, frame: 11
|
|
var r0;
|
|
var familyCenterStoreBinding;
|
|
let value = a0;
|
|
if (value) {
|
|
value = FamilyCenterStore.getAgeGroup();
|
|
value = value == null;
|
|
r0 = value;
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
if (r0) {
|
|
if (!Reflect.apply(FamilyCenterStore.isLoading, familyCenterStoreBinding, [])) {
|
|
familyCenterStoreBinding = FamilyCenterStore;
|
|
if (familyCenterStoreBinding.canRefetch()) {
|
|
(importDefault(5118) /* metro dependency 5118: FamilyCenterActionCreators */).initialPageLoad();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun105502, 13876, [5116, 5118, 2]) /* metro module 13876, dependencies: [5116, 5118, 2] */;
|