DeveloperInstantGamesEditInGameEventModal.react",["fbt","$InternalEnum","DeveloperInstantGamesInGameEventAssetsAndDetails.react","DeveloperInstantGamesInGameEventInfo.react","DeveloperInstantGamesInGameEventsHelper","GeoStep.react","GeoStepperModal.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useState,l=b("$InternalEnum").Mirrored(["EventInfo","EventAssetsAndDetails"]);function a(a){var b=a.appID,e=a.event,f=a.isShown,g=a.onHide,i=e==null;a=k({event:e!=null?e:d("DeveloperInstantGamesInGameEventsHelper").placeholderEvent,landscapeImageHandle:null,portraitImageHandle:null,proofAssetHandle:null});var m=a[0],n=a[1];a=k({currentStep:l.EventInfo,steps:(e={},e[l.EventInfo]={nextStep:l.EventAssetsAndDetails,currentStatus:i?"pending":"completed"},e[l.EventAssetsAndDetails]={nextStep:null,currentStatus:i?"pending":"completed"},e)});var o=a[0],p=a[1],q=function(){var a=o.currentStep,b=o.steps[a].nextStep;if(b!=null){var c;p(babelHelpers["extends"]({},o,{steps:babelHelpers["extends"]({},o.steps,(c={},c[a]=babelHelpers["extends"]({},o.steps[a],{currentStatus:"completed"}),c)),currentStep:b}))}};return j.jsx(c("GeoStepperModal.react"),{activeStepID:o.currentStep,hideOnBlur:!1,isShown:f,onHide:g,onStepperChange:function(a){p(babelHelpers["extends"]({},o,{currentStep:a}))},stepperHeader:i?h._(/*BTDS*/"Create Event"):h._(/*BTDS*/"Edit Event"),steps:[j.jsx(c("GeoStep.react"),{id:l.EventInfo,label:h._(/*BTDS*/"Event info"),status:o.steps[l.EventInfo].currentStatus},l.EventInfo),j.jsx(c("GeoStep.react"),{id:l.EventAssetsAndDetails,label:h._(/*BTDS*/"Event assets and details"),status:o.steps[l.EventAssetsAndDetails].currentStatus},l.EventAssetsAndDetails)],width:800,children:function(a){a=a.activeStepID;switch(a){case l.EventInfo:return j.jsx(c("DeveloperInstantGamesInGameEventInfo.react"),{advanceStepper:q,editConfig:m,onHide:g,setEditConfig:n});case l.EventAssetsAndDetails:return j.jsx(c("DeveloperInstantGamesInGameEventAssetsAndDetails.react"),{appID:b,editConfig:m,isNewEvent:i,onHide:g,setEditConfig:n})}}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
DeveloperInstantGamesInGameEventAssetsAndDetails_SaveMutation.graphql",["DeveloperInstantGamesInGameEventAssetsAndDetails_SaveMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}];c=[{alias:"event",args:[{kind:"Variable",name:"input_data",variableName:"input"}],concreteType:"XFBInstantGameInGameEvent",kind:"LinkedField",name:"xfb_instant_games_save_in_game_event",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"XFBInstantGameInGameEventEventName",kind:"LinkedField",name:"event_name",plural:!0,selections:c,storageKey:null},{alias:null,args:null,concreteType:"XFBInstantGameInGameEventEventShortDescription",kind:"LinkedField",name:"event_short_description",plural:!0,selections:c,storageKey:null},{alias:null,args:null,concreteType:"XFBInstantGameInGameEventEventLongDescription",kind:"LinkedField",name:"event_long_description",plural:!0,selections:c,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_seasonal",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deep_link_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_iap_focused",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_translate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"event_platform",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"landscape_image_source_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"portrait_image_source_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"proof_asset_source_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"event_status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"event_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_date",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"end_date",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"long_event_reason",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"DeveloperInstantGamesInGameEventAssetsAndDetails_SaveMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"DeveloperInstantGamesInGameEventAssetsAndDetails_SaveMutation",selections:c},params:{id:b("DeveloperInstantGamesInGameEventAssetsAndDetails_SaveMutation_facebookRelayOperation"),metadata:{},name:"DeveloperInstantGamesInGameEventAssetsAndDetails_SaveMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
DeveloperInstantGamesInGameEventAssetsAndDetails_SaveMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24031436383114914"}),null);
-----