/* Metro module 14557; source: modules/guild_themes/native/GuildThemeNuxActionSheet.tsx; dependencies: [5, 57, 31, 27, 3969, 4042, 1376, 33, 3, 4501, 697, 14558, 4044, 566, 4080, 1244, 6275, 14559, 4573, 7988, 7987, 1305, 4578, 2] */ function _fun110088(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110088, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14754:6, offset: 0x02369b02, size: 560 bytes, params: 8, frame: 24 var object3; const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(5) /* metro dependency 5 */; const env0_4 = importDefault(57) /* metro dependency 57 */; const env0_5 = importAll(31) /* metro dependency 31 */; const env0_6 = (require(27) /* metro dependency 27 */).View; const selectedGuildStore = importDefault(3969) /* metro dependency 3969: SelectedGuildStore */; const guildThemeRuntimeStore = importDefault(4042) /* metro dependency 4042: GuildThemeRuntimeStore */; const env0_9 = (require(1376) /* metro dependency 1376: DismissibleContentConstants */).ContentDismissActionType; let value = require(33) /* metro dependency 33 */; const env0_10 = value.jsx; const env0_11 = value.jsxs; value = importDefault(3) /* metro dependency 3: Logger */; value = new value('GuildThemeNuxActionSheet'); value = require(4501) /* metro dependency 4501: createStyles */; const createStyles = value.createStyles; object3 = {}; const object4 = {}; const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object4.padding = PX_16; let PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8; object4.paddingTop = PX_8; object4.paddingBottom = 0; object3.container = object4; PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8; object3.title = {textAlign: 'center', marginBottom: PX_8}; const PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object3.description = {textAlign: 'center', marginBottom: PX_24}; let PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12; object3.options = {marginBottom: PX_12}; PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12; object3.warning = {marginBottom: PX_12}; PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8; object3.footer = {gap: PX_8}; const env0_13 = Reflect.apply(createStyles, value, [object3]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_themes/native/GuildThemeNuxActionSheet.tsx'); exports.default = GuildThemeNuxActionSheet; exports.GUILD_THEME_NUX_ACTION_SHEET_KEY = 'GuildThemeNuxActionSheet'; } function GuildThemeNuxActionSheet({guildId, markAsDismissed}) { // fn#110089, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14754:758, offset: 0x02369d32, size: 1596 bytes, params: 2, frame: 38 const HelpMessage = (require(1305) /* metro dependency 1305: native */).HelpMessage; const styles = useStyles(); const binding = env0_5; let useState = binding.useState; const getInitialGuildThemeNuxSelection = (require(14558) /* metro dependency 14558: GuildThemeNuxUtils */).getInitialGuildThemeNuxSelection; const value2 = Reflect.apply(useState, binding, [getInitialGuildThemeNuxSelection]); const binding2 = env0_4; const value3 = binding2(value2, 2); const property = value3[0]; const env0_2 = value3[1]; useState = binding.useState; const value5 = binding2(Reflect.apply(useState, binding, [null]), 2); const property2 = value5[0]; const env0_3 = value5[1]; useState = binding.useState; const value6 = binding2(Reflect.apply(useState, binding, [false]), 2); const property3 = value6[0]; var env0_4 = value6[1]; var env0_5 = binding.useRef(false); const GuildThemeSourcePreference = (require(4044) /* metro dependency 4044: Client */).GuildThemeSourcePreference; let PERSONAL = GuildThemeSourcePreference.PERSONAL; const value7 = property === PERSONAL; const guildId2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([SelectedGuildStore], function() { return SelectedGuildStore.getGuildId(); }); const value8 = (require(566) /* metro dependency 566: flux */).useStateFromStores([GuildThemeRuntimeStore], _fun110091, [guildId]); binding.useEffect(_fun110092, [guildId, guildId2]); const value9 = binding.useCallback(_fun110093, []); const value10 = binding.useCallback(_fun110094, [markAsDismissed]); const value12 = binding.useCallback(env0_3(_fun110096), [guildId, value7, markAsDismissed, guildId2]); const value13 = binding.useCallback(_fun110097, [value10]); const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const t = (require(1244) /* metro dependency 1244: indexNative */).t; const r12 = value7 ? Reflect.apply(string, intl, [t.cvoikF]) : Reflect.apply(string, intl, [t['cY+Oob']]); const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet; const bottomSheetProps = {startExpanded: true, dismissAccessibilityLabel: intl.string((require(1244) /* metro dependency 1244: indexNative */).t.cpT0Cq), onDismiss: value13, contentStyles: styles.container}; const items2 = [((Component) => )(importDefault(14559) /* metro dependency 14559: GuildThemeNuxPreviewGraphic */)]; const Text = (require(4573) /* metro dependency 4573: Text */).Text; string = intl.string; const Q9zFy9 = (require(1244) /* metro dependency 1244: indexNative */).t.Q9zFy9; items2[1] = {Reflect.apply(string, intl, [Q9zFy9])}; string = intl.string; const XLpBLj = (require(1244) /* metro dependency 1244: indexNative */).t.XLpBLj; items2[2] = {Reflect.apply(string, intl, [XLpBLj])}; const TableRadioGroup = (require(7988) /* metro dependency 7988: TableRadioGroupNative */).TableRadioGroup; const TableRadioRow = (require(7987) /* metro dependency 7987: TableRadioRowNative */).TableRadioRow; string = intl.string; const aN3RNQ = (require(1244) /* metro dependency 1244: indexNative */).t.aN3RNQ; const GUILD = GuildThemeSourcePreference.GUILD; const tableRadioRow = ; string = intl.string; const js8y7t = (require(1244) /* metro dependency 1244: indexNative */).t.js8y7t; PERSONAL = GuildThemeSourcePreference.PERSONAL; items2[3] = {tableRadioRow}; items2[4] = value7 ? {intl.string((require(1244) /* metro dependency 1244: indexNative */).t.tTHQAy)} : null; items2[5] = property2 != null ? {property2} : null; const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button; items2[6] =