/* Metro module 10944; source: modules/notifications/settings/native/NotificationSettingsPresets.tsx; dependencies: [31, 27, 33, 1244, 4867, 4073, 10945, 10629, 4501, 697, 8853, 4573, 4578, 9221, 10947, 10941, 2] */ function _fun83905(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83905, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11130:6, offset: 0x01f2db7a, size: 294 bytes, params: 8, frame: 24 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = importAll(31) /* metro dependency 31 */; const env0_3 = (require(27) /* metro dependency 27 */).View; let value = require(33) /* metro dependency 33 */; const env0_4 = value.jsx; const env0_5 = value.jsxs; value = require(4501) /* metro dependency 4501: createStyles */; const createStyles = value.createStyles; const object = {'padding': 16, 'minHeight': 82, 'display': 'flex', 'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'center'}; object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg + 8; const REDESIGN_INPUT_CONTROL_ACTIVE_BG = (importDefault(697) /* metro dependency 697: native */).colors.REDESIGN_INPUT_CONTROL_ACTIVE_BG; object.backgroundColor = REDESIGN_INPUT_CONTROL_ACTIVE_BG; const env0_6 = Reflect.apply(createStyles, value, [{customContainer: object}]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/notifications/settings/native/NotificationSettingsPresets.tsx'); exports.NotificationSettingsGuildPresets = NotificationSettingsGuildPresets; exports.NotificationSettingsChannelPresets = NotificationSettingsChannelPresets; } function NotificationSettingsPresets(a0) { // fn#83906, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11130:391, offset: 0x01f2dca0, size: 1086 bytes, params: 2, frame: 29 var r0; const Text = (require(4573) /* metro dependency 4573: Text */).Text; var items2; var items3; var Button; const env0_0 = a0; const value2 = undefined; const styles = useStyles(); let preset = a0.preset; const Presets = (require(4867) /* metro dependency 4867: notificationSettingsPresetUtils */).Presets; let ALL_MESSAGES = Presets.ALL_MESSAGES; const value3 = 0; const r8 = preset === ALL_MESSAGES ? value3 : a0.preset === (require(4867) /* metro dependency 4867: notificationSettingsPresetUtils */).Presets.MENTIONS ? 1 : a0.preset !== (require(4867) /* metro dependency 4867: notificationSettingsPresetUtils */).Presets.NOTHING ? value2 : 2; const segmentedControlStateNativeModule = require(8853) /* metro dependency 8853: SegmentedControlStateNative */; const useSegmentedControlState = segmentedControlStateNativeModule.useSegmentedControlState; const object5 = {pageWidth: value3, onSetActiveIndex: onSetActiveIndex_83907}; const object6 = {}; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const t = (require(1244) /* metro dependency 1244: indexNative */).t; object6.label = Reflect.apply(string, intl, [t.hZrr6k]); ALL_MESSAGES = Presets.ALL_MESSAGES; object6.id = ALL_MESSAGES; const CircleCheckIcon = (require(4073) /* metro dependency 4073: CircleCheckIcon */).CircleCheckIcon; object6.icon = ; object6.page = null; const items4 = [object6]; const object7 = {}; object7.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.y59NJm); const MENTIONS = Presets.MENTIONS; object7.id = MENTIONS; const MagicWandIcon = (require(10945) /* metro dependency 10945: MagicWandIcon */).MagicWandIcon; object7.icon = ; object7.page = null; items4[1] = object7; const object8 = {}; object8.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['pGn/bJ']); const NOTHING = Presets.NOTHING; object8.id = NOTHING; const BellSlashIcon = (require(10629) /* metro dependency 10629: BellSlashIcon */).BellSlashIcon; object8.icon = ; object8.page = null; items4[2] = object8; object5.items = items4; object5.defaultIndex = r8; const value6 = Reflect.apply(useSegmentedControlState, segmentedControlStateNativeModule, [object5]); value6.useEffect(_fun83908, [r8, value6]); preset = a0.preset; const CUSTOM = Presets.CUSTOM; if (preset === CUSTOM) { var viewBindingProps = {style: styles.customContainer}; string = intl.string; items2 = [{Reflect.apply(string, intl, [t['32yow9']])}]; string = intl.string; items2[1] = {Reflect.apply(string, intl, [t.l3doVX])}; items3 = [{items2}]; Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button; string = intl.string; items3[1] =