{#if isSpectateOpen}
(isSpectateOpen = false)} on:keydown={() => (isSpectateOpen = false)} >
{/if} {#if isFriendOpen}
(isFriendOpen = false)} on:keydown={() => (isFriendOpen = false)} >
{/if} {#if isHistoryOpen}
(isHistoryOpen = false)} on:keydown={() => (isHistoryOpen = false)} >
{/if} {#if isProfileOpen}
(isProfileOpen = false)} on:keydown={() => (isProfileOpen = false)} >
{/if}