30 lines
2.1 KiB
TypeScript
30 lines
2.1 KiB
TypeScript
/* Metro module 7630; source: modules/collectibles/experiments/CollectiblesProfileFrameGiftingExperiment.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 _fun61130(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61130, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7808:6, offset: 0x0171b385, size: 183 bytes, params: 8, frame: 22
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ApexModule;
|
|
value = value.createApexExperiment({'name': '2026-04-profile-frame-gifting', 'kind': 'user',
|
|
defaultConfig: {enabled: false}, variations: {[0]: {enabled: false}, [1]: {enabled: true}}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/experiments/CollectiblesProfileFrameGiftingExperiment.tsx');
|
|
exports.default = value;
|
|
exports.getIsProfileFrameGiftingEnabled = getIsProfileFrameGiftingEnabled;
|
|
exports.useIsProfileFrameGiftingEnabled = useIsProfileFrameGiftingEnabled;
|
|
function getIsProfileFrameGiftingEnabled(a0) { // fn#61131, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7808:411, offset: 0x00e3651f, size: 34 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const getConfig = binding.getConfig;
|
|
return Reflect.apply(getConfig, binding, [{location: a0}]).enabled;
|
|
}
|
|
|
|
function useIsProfileFrameGiftingEnabled(a0) { // fn#61132, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7808:482, offset: 0x00e364db, size: 34 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const useConfig = binding.useConfig;
|
|
return Reflect.apply(useConfig, binding, [{location: a0}]).enabled;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun61130, 7630, [1854, 2]) /* metro module 7630, dependencies: [1854, 2] */;
|