29 lines
2.1 KiB
TypeScript
29 lines
2.1 KiB
TypeScript
/* Metro module 13899; source: modules/notifications/friend_online/FriendOnlineNotificationExperiment.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 _fun105582(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#105582, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14096:6, offset: 0x022bd3f8, size: 192 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-03-friend-is-online-v3',
|
|
defaultConfig: {showSettingsToggle: false}, variations: {[1]: {showSettingsToggle: true},
|
|
[2]: {showSettingsToggle: true}}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/notifications/friend_online/FriendOnlineNotificationExperiment.tsx');
|
|
exports.default = value;
|
|
exports.useFriendOnlineNotificationExperiment = useFriendOnlineNotificationExperiment;
|
|
exports.isEligibleForFriendOnlineNotifications = isEligibleForFriendOnlineNotifications;
|
|
function useFriendOnlineNotificationExperiment(a0) { // fn#105583, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14096:448, offset: 0x01373b1d, size: 29 bytes, params: 2, frame: 12
|
|
return env0_0.useConfig({location: a0});
|
|
}
|
|
|
|
function isEligibleForFriendOnlineNotifications(a0) { // fn#105584, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14096:573, offset: 0x022bd4b8, size: 35 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const getConfig = binding.getConfig;
|
|
return Reflect.apply(getConfig, binding, [{location: a0}]).showSettingsToggle;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun105582, 13899, [1854, 2]) /* metro module 13899, dependencies: [1854, 2] */;
|