/* Metro module 9959; source: modules/game_profile/GameProfileActionCreators.native.tsx; dependencies: [44, 4080, 9960, 1962, 694, 2] */ function _fun77958(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77958, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10145:6, offset: 0x01e13f1c, size: 150 bytes, params: 8, frame: 19 var object2; const env0_0 = require; const closure = clearGameProfilePendingReturn; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object2 = {openGameProfileModal: openGameProfileModal, returnToGameProfile: returnToGameProfile, setGameProfilePendingReturn: setGameProfilePendingReturn, clearGameProfilePendingReturn: closure}; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_profile/GameProfileActionCreators.native.tsx'); exports.default = object2; } function clearGameProfilePendingReturn(a0) { // fn#77959, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10145:43, offset: 0x01e13fb2, size: 57 bytes, params: 2, frame: 13 (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'GAME_PROFILE_CLEAR_PENDING_RETURN', gameId: a0}); } function openGameProfileModal({gameId, gameProfileModalChecks, source, sourceUserId}) { // fn#77960, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10145:232, offset: 0x01e13feb, size: 200 bytes, params: 2, frame: 22 importDefault(dependencyMap[0])(gameProfileModalChecks.shouldOpenGameProfile, 'Passed a false value for [gameProfileModalChecks]. Are you using the useShouldOpenGameProfile hook correctly?'); importDefault(dependencyMap[0])(gameProfileModalChecks.gameId === gameId, 'Passed an unexpected [gameId]. Are you passing a different one than you passed to useShouldOpenGameProfileModal?'); const defaultImport3 = importDefault(dependencyMap[1]); const openLazy = defaultImport3.openLazy; let value = require(dependencyMap[3]); value = value(dependencyMap[2], dependencyMap.paths); Reflect.apply(openLazy, defaultImport3, [value, 'game-profile-' + gameId, {gameId: gameId, source: source, sourceUserId: sourceUserId}]); } function returnToGameProfile({gameId, source, initialScrollOffset}) { // fn#77961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10145:721, offset: 0x01e140b3, size: 143 bytes, params: 2, frame: 19 clearGameProfilePendingReturn(gameId); const defaultImport = importDefault(dependencyMap[1]); const openLazy = defaultImport.openLazy; let value = require(dependencyMap[3]); value = value(dependencyMap[2], dependencyMap.paths); Reflect.apply(openLazy, defaultImport, [value, 'game-profile-' + gameId, {gameId: gameId, source: source, initialScrollOffset: initialScrollOffset}]); } function setGameProfilePendingReturn({gameId, channelId, initialScrollOffset}) { // fn#77962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10145:957, offset: 0x01e14142, size: 83 bytes, params: 2, frame: 16 const dispatcher = importDefault(694) /* metro dependency 694: Dispatcher */; dispatcher.dispatch({type: 'GAME_PROFILE_SET_PENDING_RETURN', gameId: gameId, channelId: channelId, initialScrollOffset: initialScrollOffset}); }