30 lines
2.0 KiB
TypeScript
30 lines
2.0 KiB
TypeScript
/* Metro module 5188; source: modules/parent_tools/FamilyCenterV3Experiment.tsx; dependencies: [1854, 2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ApexModule from '../experiments/apex/index.tsx'; /* Metro dependency 1854 */
|
|
|
|
function _fun45701(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#45701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5366:6, offset: 0x01195b9d, size: 183 bytes, params: 8, frame: 22
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ApexModule;
|
|
value = value.createApexExperiment({'kind': 'user', 'name': '2026-01-family-center-v3',
|
|
defaultConfig: {enabled: false}, variations: {[0]: {enabled: false}, [1]: {enabled: true}}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/FamilyCenterV3Experiment.tsx');
|
|
exports.default = value;
|
|
exports.getIsFamilyCenterV3Enabled = getIsFamilyCenterV3Enabled;
|
|
exports.useIsFamilyCenterV3Enabled = useIsFamilyCenterV3Enabled;
|
|
function getIsFamilyCenterV3Enabled({location}) { // fn#45702, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5366:376, offset: 0x01195c54, size: 39 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const getConfig = binding.getConfig;
|
|
return Reflect.apply(getConfig, binding, [{location: location}]).enabled;
|
|
}
|
|
|
|
function useIsFamilyCenterV3Enabled({location}) { // fn#45703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5366:497, offset: 0x01195c7b, size: 39 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const useConfig = binding.useConfig;
|
|
return Reflect.apply(useConfig, binding, [{location: location}]).enabled;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun45701, 5188, [1854, 2]) /* metro module 5188, dependencies: [1854, 2] */;
|