Files
2026-07-28 01:06:53 +03:00

48 lines
3.1 KiB
TypeScript

/* Metro module 10354; source: modules/user_profile/PrivateProfilesExperiment.tsx; dependencies: [1854, 10355, 10356, 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 */
import * as PrivateProfilesStrictExperimentModule from './PrivateProfilesStrictExperiment.tsx'; /* Metro dependency 10355 */
import * as PrivateProfilesStrictGbExperimentModule from './PrivateProfilesStrictGbExperiment.tsx'; /* Metro dependency 10356 */
function _fun80234(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#80234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10540:6, offset: 0x01e72821, size: 197 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = ApexModule;
value = value.createApexExperiment({'name': '2026-02-private-profiles', 'kind': 'user',
defaultConfig: {enabled: false}, variations: {[0]: {enabled: false}, [1]: {enabled: true}}});
(FileImportTrackerModule).fileFinishedImporting('modules/user_profile/PrivateProfilesExperiment.tsx');
exports.PrivateProfilesExperiment = value;
exports.useIsInPrivateProfilesExperiment = useIsInPrivateProfilesExperiment;
exports.getIsInPrivateProfilesExperiment = getIsInPrivateProfilesExperiment;
function useIsInPrivateProfilesExperiment(a0) { // fn#80235, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10540:393, offset: 0x01e728e6, size: 102 bytes, params: 2, frame: 15
const binding = env0_2;
const useConfig = binding.useConfig;
const enabled = Reflect.apply(useConfig, binding, [{location: a0}]).enabled;
let value = PrivateProfilesStrictExperimentModule;
value = value.useIsInPrivateProfilesStrictExperiment(a0);
const value2 = (PrivateProfilesStrictGbExperimentModule).useIsInPrivateProfilesStrictGbExperiment(a0);
let r0 = enabled || value;
r0 = !r0 ? value2 : r0;
return r0;
}
function getIsInPrivateProfilesExperiment(a0) { // fn#80236, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10540:594, offset: 0x01e7294c, size: 106 bytes, params: 2, frame: 14
var value;
const binding = env0_2;
const getConfig = binding.getConfig;
let r0 = Reflect.apply(getConfig, binding,
[{location: a0}]).enabled || (require(10355) /* metro dependency 10355: PrivateProfilesStrictExperiment */).getIsInPrivateProfilesStrictExperiment(a0);
if (!r0) {
value = require(10356) /* metro dependency 10356: PrivateProfilesStrictGbExperiment */;
value = value.getIsInPrivateProfilesStrictGbExperiment(a0);
r0 = value;
}
return r0;
}
}
global.__d(_fun80234, 10354, [1854, 10355, 10356,
2]) /* metro module 10354, dependencies: [1854, 10355, 10356, 2] */;