2026-08-05 07:35:12 +00:00
// Module ID: 9166
// Function ID: 9167
// Dependencies: [38, 4223, 9167, 1959, 709, 2]
2026-07-20 16:05:17 +00:00
2026-08-05 07:35:12 +00:00
// Module 9166
2026-07-23 10:11:24 +00:00
const result = require ( "GetButton" ) . fileFinishedImporting ( "modules/game_profile/GameProfileActionCreators.native.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default {
openGameProfileModal ( arg0 ) {
let gameId ;
let gameProfileModalChecks ;
let source ;
let sourceUserId ;
2026-07-29 08:29:29 +00:00
let stackingBehavior ;
2026-07-20 16:05:17 +00:00
( { gameId , gameProfileModalChecks } = arg0 ) ;
2026-07-29 08:29:29 +00:00
( { source , sourceUserId , stackingBehavior } = arg0 ) ;
importDefault ( 38 ) ( gameProfileModalChecks . shouldOpenGameProfile , "Passed a false value for [gameProfileModalChecks]. Are you using the useShouldOpenGameProfile hook correctly?" ) ;
importDefault ( 38 ) ( gameProfileModalChecks . gameId === gameId , "Passed an unexpected [gameId]. Are you passing a different one than you passed to useShouldOpenGameProfileModal?" ) ;
2026-08-05 07:35:12 +00:00
let obj = importDefault ( 4223 ) ;
2026-07-29 08:29:29 +00:00
obj = { gameId , source , sourceUserId } ;
2026-08-05 07:35:12 +00:00
obj . openLazy ( require ( 1959 ) /* asyncRequireImpl */ ( 9167 , dependencyMap . paths ) , "game-profile-" + gameId , obj , stackingBehavior ) ;
2026-07-20 16:05:17 +00:00
} ,
returnToGameProfile ( gameId ) {
let initialScrollOffset ;
let source ;
gameId = gameId . gameId ;
( { source , initialScrollOffset } = gameId ) ;
2026-07-29 08:29:29 +00:00
importDefault ( 709 ) . dispatch ( { type : "GAME_PROFILE_CLEAR_PENDING_RETURN" , gameId } ) ;
const obj = importDefault ( 709 ) ;
2026-08-05 07:35:12 +00:00
const obj2 = importDefault ( 4223 ) ;
obj2 . openLazy ( require ( 1959 ) /* asyncRequireImpl */ ( 9167 , dependencyMap . paths ) , "game-profile-" + gameId , { gameId , source , initialScrollOffset } ) ;
2026-07-20 16:05:17 +00:00
} ,
setGameProfilePendingReturn ( arg0 ) {
let channelId ;
let gameId ;
let initialScrollOffset ;
( { gameId , channelId , initialScrollOffset } = arg0 ) ;
2026-07-29 08:29:29 +00:00
importDefault ( 709 ) . dispatch ( { type : "GAME_PROFILE_SET_PENDING_RETURN" , gameId , channelId , initialScrollOffset } ) ;
2026-07-20 16:05:17 +00:00
} ,
2026-07-29 08:29:29 +00:00
clearGameProfilePendingReturn ( id ) {
let obj = importDefault ( 709 ) ;
obj = { type : "GAME_PROFILE_CLEAR_PENDING_RETURN" , gameId : id } ;
obj . dispatch ( obj ) ;
}
2026-07-20 16:05:17 +00:00
} ;