Loading
function(e,t,n){n.d(t,{A:()=>u});var s=n(17928),r=n(228366);let i={},l=new Set;class a extends s.Ay.Store{static displayName="WalletBalanceStore";getBalance(e){return i[e]??null}getIsFetching(e){return l.has(e)}}let u=new a(r.h,{BILLING_WALLET_BALANCE_FETCH_START:function(e){(l=new Set(l)).add(e.paymentSourceId)},BILLING_WALLET_BALANCE_FETCH_SUCCESS:function(e){(l=new Set(l)).delete(e.paymentSourceId),i={...i,[e.paymentSourceId]:{currency:e.currency,amount:e.amount}}},BILLING_WALLET_BALANCE_FETCH_FAIL:function(e){(l=new Set(l)).delete(e.paymentSourceId)},WALLET_BALANCE_UPDATE:function(e){i={...i,[e.paymentSourceId]:{currency:e.currency,amount:e.balance}}},LOGOUT:function(){i={},l=new Set}})}