(composing = true)} oncompositionend={() => (composing = false)} onbeforeinput={guardInput} oninput={undoInput} />
{t.submit}
{#if game.state.rejection}
{game.state.rejection.word}
— {game.state.rejection.message}
{#if game.state.rejection.suggestion || game.state.rejection.reason === RejectReason.NOT_IN_DICTIONARY}
{#if game.state.rejection.suggestion}
{fill(t.suggestionPrompt, { word: game.state.rejection.suggestion })}
{/if} {#if game.state.rejection.reason === RejectReason.NOT_IN_DICTIONARY}
{t.reportWord}
{/if}
{/if} {/if} {#if game.state.reportConfirmation}
{game.state.reportConfirmation}
{/if}