{#if $socket.status === SocketStatus.Open} {#if $socket.auth.status === AuthStatus.None} Connected {:else if $socket.auth.status === AuthStatus.Requested} Authenticating {:else if $socket.auth.status === AuthStatus.PendingSignature} Authenticating {:else if $socket.auth.status === AuthStatus.DeniedSignature} Failed to Authenticate {:else if $socket.auth.status === AuthStatus.PendingResponse} Authenticating {:else if $socket.auth.status === AuthStatus.Forbidden} Access Denied {:else if $socket.auth.status === AuthStatus.Ok} Connected {/if} {:else if $socket.status === SocketStatus.Opening} Connecting {:else if $socket.status === SocketStatus.Closing} Not Connected {:else if $socket.status === SocketStatus.Closed} Not Connected {:else if $socket.status === SocketStatus.Error} Failed to Connect {/if}