/* Metro module 9726; source: modules/app_dms/native/AppDMOptionsBottomSheet.tsx; dependencies: [31, 27, 5109, 661, 33, 4501, 697, 566, 8743, 4080, 7007, 6779, 6275, 6231, 6238, 1244, 2] */ function _fun76418(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76418, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9912:6, offset: 0x01dceabe, size: 290 bytes, params: 8, frame: 21 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importAll(31) /* metro dependency 31 */; const env0_4 = (require(27) /* metro dependency 27 */).View; const authorizedAppsStore = importDefault(5109) /* metro dependency 5109: AuthorizedAppsStore */; const env0_6 = (require(661) /* metro dependency 661: Constants */).UserSettingsSections; let value = require(33) /* metro dependency 33 */; const env0_7 = value.jsx; const env0_8 = value.jsxs; value = require(4501) /* metro dependency 4501: createStyles */; const createStyles = value.createStyles; const BACKGROUND_BASE_LOWEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWEST; const env0_9 = Reflect.apply(createStyles, value, [{sheet: {backgroundColor: BACKGROUND_BASE_LOWEST}, content: {'paddingLeft': 16, 'paddingRight': 16, 'paddingBottom': 24}}]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_dms/native/AppDMOptionsBottomSheet.tsx'); exports.default = AppDMOptionsBottomSheet; } function AppDMOptionsBottomSheet({userId, channel, application}) { // fn#76419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9912:430, offset: 0x01dcebe0, size: 490 bytes, params: 2, frame: 30 const styles = useStyles(); const newestTokenForApplication = (require(566) /* metro dependency 566: flux */).useStateFromStores([AuthorizedAppsStore], function() { return AuthorizedAppsStore.getNewestTokenForApplication(application?.id); }); const binding = newestTokenForApplication; const value2 = binding.useCallback(_fun76421, [channel.id, userId]); const value3 = binding.useCallback(_fun76422, [application, newestTokenForApplication]); binding.useEffect(_fun76423, []); const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet; const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup; const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const tableRow = ; string = intl.string; const KUsDNI = (require(1244) /* metro dependency 1244: indexNative */).t.KUsDNI; return ( {tableRow} ); } function _fun76421() { // fn#76421, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9912:618, offset: 0x01dcedf9, size: 80 bytes, params: 1, frame: 15 const value = environment.__proto__; (importDefault(8743) /* metro dependency 8743: showUserProfileActionSheet */)({userId: userId, channelId: channel.id}); (importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet(); } function _fun76422() { // fn#76422, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9912:713, offset: 0x01dcee49, size: 126 bytes, params: 1, frame: 16 var value4; if (application != null && newestTokenForApplication != null) { value4 = environment.__proto__; (require(7007) /* metro dependency 7007: openUserSettings */).openUserSettings({screen: UserSettingsSections.AUTHORIZED_APP, params: {oauth2Token: newestTokenForApplication}}); (importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet(); } } function _fun76423() { // fn#76423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9912:869, offset: 0x01dceec7, size: 37 bytes, params: 1, frame: 11 const value = environment.__proto__; (importDefault(6779) /* metro dependency 6779: AuthorizedAppsActionCreators */).fetch(); }