31 lines
2.3 KiB
TypeScript
31 lines
2.3 KiB
TypeScript
/* Metro module 7249; source: modules/premium/experiments/AndroidTwoWeekTrialsExperiment.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 _fun58269(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#58269, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7427:6, offset: 0x016c35ca, size: 207 bytes, params: 8, frame: 20
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ApexModule;
|
|
value = value.createApexExperiment({'name': '2026-06-android-two-week-trials', 'kind': 'user',
|
|
defaultConfig: {'enabled': false, 'trialCTAEnabled': false}, variations: {[1]: {'enabled': true,
|
|
'trialCTAEnabled': true}, [2]: {'enabled': true, 'trialCTAEnabled': false}}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/premium/experiments/AndroidTwoWeekTrialsExperiment.tsx');
|
|
exports.AndroidTwoWeekTrialsExperiment = value;
|
|
exports.isAndroidTwoWeekTrialsExperimentEnabled = isAndroidTwoWeekTrialsExperimentEnabled;
|
|
exports.isAndroidTwoWeekTrialsTrialCTAEnabled = isAndroidTwoWeekTrialsTrialCTAEnabled;
|
|
function isAndroidTwoWeekTrialsExperimentEnabled({location}) { // fn#58270, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7427:481, 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 isAndroidTwoWeekTrialsTrialCTAEnabled({location}) { // fn#58271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7427:626, offset: 0x016c3699, size: 40 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const getConfig = binding.getConfig;
|
|
return Reflect.apply(getConfig, binding, [{location: location}]).trialCTAEnabled;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun58269, 7249, [1854, 2]) /* metro module 7249, dependencies: [1854, 2] */;
|