/* Metro module 10949; source: modules/notifications/settings/utils/notificationSettingsPresetOptionUtils.tsx; dependencies: [661, 4865, 1244, 2] */ import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */ import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */ import * as ReadStateConstantsModule from '../../../read_states/ReadStateConstants.tsx'; /* Metro dependency 4865 */ function _fun83929(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83929, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11135:6, offset: 0x01f2ee62, size: 152 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/notifications/settings/utils/notificationSettingsPresetOptionUtils.tsx'); exports.getPushNotificationSelectOptions = getPushNotificationSelectOptions; exports.getUnreadSelectOptions = getUnreadSelectOptions; function getPushNotificationSelectOptions() { // fn#83930, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11135:302, offset: 0x01f2eefa, size: 218 bytes, params: 1, frame: 18 const intl = (IndexNativeModule).intl; let string = intl.string; const t = (IndexNativeModule).t; const ALL_MESSAGES = UserNotificationSettings.ALL_MESSAGES; const items2 = [{label: Reflect.apply(string, intl, [t['HVah/3']]), value: ALL_MESSAGES}]; object = {}; object.label = intl.string(t['tu+ZWJ']); const ONLY_MENTIONS = UserNotificationSettings.ONLY_MENTIONS; object.value = ONLY_MENTIONS; items2[1] = object; string = intl.string; const X4wWUi = t.X4wWUi; const NO_MESSAGES = UserNotificationSettings.NO_MESSAGES; items2[2] = {label: Reflect.apply(string, intl, [X4wWUi]), value: NO_MESSAGES}; return items2; } function getUnreadSelectOptions(a0) { // fn#83931, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11135:540, offset: 0x01f2efd4, size: 190 bytes, params: 2, frame: 18 const value2 = undefined; const intl = (IndexNativeModule).intl; const string = intl.string; const t = (IndexNativeModule).t; let ALL_MESSAGES = UnreadSetting.ALL_MESSAGES; const items2 = [{label: Reflect.apply(string, intl, [t['HVah/3']]), value: ALL_MESSAGES}]; object = {}; const ONLY_MENTIONS = UnreadSetting.ONLY_MENTIONS; object.value = ONLY_MENTIONS; object.label = intl.string(t['tu+ZWJ']); const notificationSetting = a0 == null ? value2 : a0.notificationSetting; ALL_MESSAGES = UserNotificationSettings.ALL_MESSAGES; object.disabled = notificationSetting === ALL_MESSAGES; items2[1] = object; return items2; } } global.__d(_fun83929, 10949, [661, 4865, 1244, 2]) /* metro module 10949, dependencies: [661, 4865, 1244, 2] */;