Files
discord-decomp/sources/modules/premium/experiments/MobileNitroManageSubscriptionsSettingsExperiment.tsx
2026-07-28 01:06:53 +03:00

30 lines
2.2 KiB
TypeScript

/* Metro module 7557; source: modules/premium/experiments/MobileNitroManageSubscriptionsSettingsExperiment.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 _fun60765(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7735:6, offset: 0x0170e348, size: 173 bytes, params: 8, frame: 21
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = ApexModule;
value = value.createApexExperiment({'name': '2026-06-macaron', 'kind': 'user', defaultConfig: {enabled: false},
variations: {[1]: {enabled: true}}});
(FileImportTrackerModule).fileFinishedImporting('modules/premium/experiments/MobileNitroManageSubscriptionsSettingsExperiment.tsx');
exports.default = value;
exports.useMobileNitroManageSubscriptionsSettingsExperiment = useMobileNitroManageSubscriptionsSettingsExperiment;
exports.getMobileNitroManageSubscriptionsSettingsExperiment = getMobileNitroManageSubscriptionsSettingsExperiment;
function useMobileNitroManageSubscriptionsSettingsExperiment({location}) { // fn#60766, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7735:408, 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;
}
function getMobileNitroManageSubscriptionsSettingsExperiment({location}) { // fn#60767, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7735:579, 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;
}
}
global.__d(_fun60765, 7557, [1854, 2]) /* metro module 7557, dependencies: [1854, 2] */;