;/*FB_PKG_DELIM*/ __d("CometLoggedInAccountSwitcherRemoveAccountMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5005921456113509"}),null); __d("CometLoggedInAccountSwitcherRemoveAccountMutation.graphql",["CometLoggedInAccountSwitcherRemoveAccountMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"id"},{defaultValue:null,kind:"LocalArgument",name:"nonce"}],c=[{alias:null,args:[{kind:"Variable",name:"account_id",variableName:"id"},{kind:"Variable",name:"nonce",variableName:"nonce"}],concreteType:"RemoveAccountFromLoggedInAccountSwitcherResponsePayload",kind:"LinkedField",name:"remove_account_from_logged_in_account_switcher",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometLoggedInAccountSwitcherRemoveAccountMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometLoggedInAccountSwitcherRemoveAccountMutation",selections:c},params:{id:b("CometLoggedInAccountSwitcherRemoveAccountMutation_facebookRelayOperation"),metadata:{},name:"CometLoggedInAccountSwitcherRemoveAccountMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometLoggedInAccountSwitcherRemoveAccountMutation",["CometLoggedInAccountSwitcherRemoveAccountMutation.graphql","CometRelay"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,c){var e=c.id;c=c.nonce;function f(a){a=a.getRoot().getLinkedRecord("viewer");if(a==null)return;var b=a.getLinkedRecords("device_switchable_accounts");if(b==null)return;b=b.filter(function(a){if(a==null)return a;var b=a.getLinkedRecord("user");return b==null?a:b.getValue("id")!==e});a.setLinkedRecords(b,"device_switchable_accounts");b=b.find(function(a){if(a==null)return!1;a=a.getValue("unread_notification_count");return typeof a!=="number"?!1:a>0});a.setValue(Boolean(b),"device_switchable_account_has_notification")}return d("CometRelay").commitMutation(a,{mutation:h!==void 0?h:h=b("CometLoggedInAccountSwitcherRemoveAccountMutation.graphql"),optimisticUpdater:f,updater:f,variables:{id:e,nonce:c}})}g.commit=a}),98); __d("PaymentsCometTransactionHubLeftNavRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5568043293292236"}),null);