2026-08-25 06:04:03 +00:00
// Module ID: 9425
// Function ID: 9426
// Dependencies: [38, 4347, 9426, 2009, 709, 2]
2026-07-20 16:05:17 +00:00
2026-08-25 06:04:03 +00:00
// Module 9425
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */ ;
import _modDef38 from "module_38" /* 38 */ ;
import dispatcherDefault from "dispatcher" /* 709 */ ;
2026-08-25 06:04:03 +00:00
import asyncRequireImpl from "asyncRequireImpl" /* 2009 */ ;
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4347 */ ;
2026-08-24 06:08:38 +00:00
const result = set . fileFinishedImporting ( "modules/game_profile/GameProfileActionCreators.native.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default {
openGameProfileModal ( arg0 ) {
( { gameId , gameProfileModalChecks } = arg0 ) ;
2026-07-29 08:29:29 +00:00
( { source , sourceUserId , stackingBehavior } = arg0 ) ;
2026-08-24 06:08:38 +00:00
_modDef38 ( gameProfileModalChecks . shouldOpenGameProfile , "Passed a false value for [gameProfileModalChecks]. Are you using the useShouldOpenGameProfile hook correctly?" ) ;
_modDef38 ( gameProfileModalChecks . gameId === gameId , "Passed an unexpected [gameId]. Are you passing a different one than you passed to useShouldOpenGameProfileModal?" ) ;
let obj = ACTION_SHEET_HEIGHT_HALFDefault ;
2026-07-29 08:29:29 +00:00
obj = { gameId , source , sourceUserId } ;
2026-08-25 06:04:03 +00:00
obj . openLazy ( asyncRequireImpl ( 9426 , dependencyMap . paths ) , "game-profile-" + gameId , obj , stackingBehavior ) ;
2026-07-20 16:05:17 +00:00
} ,
returnToGameProfile ( gameId ) {
gameId = gameId . gameId ;
( { source , initialScrollOffset } = gameId ) ;
2026-08-24 06:08:38 +00:00
dispatcherDefault . dispatch ( { type : "GAME_PROFILE_CLEAR_PENDING_RETURN" , gameId } ) ;
const obj = dispatcherDefault ;
const obj2 = ACTION_SHEET_HEIGHT_HALFDefault ;
2026-08-25 06:04:03 +00:00
obj2 . openLazy ( asyncRequireImpl ( 9426 , dependencyMap . paths ) , "game-profile-" + gameId , { gameId , source , initialScrollOffset } ) ;
2026-07-20 16:05:17 +00:00
} ,
setGameProfilePendingReturn ( arg0 ) {
( { gameId , channelId , initialScrollOffset } = arg0 ) ;
2026-08-24 06:08:38 +00:00
dispatcherDefault . 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 ) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault ;
2026-07-29 08:29:29 +00:00
obj = { type : "GAME_PROFILE_CLEAR_PENDING_RETURN" , gameId : id } ;
obj . dispatch ( obj ) ;
}
2026-07-20 16:05:17 +00:00
} ;