Web Search
{#if sources} Completed {:else} {"message" in lastMessage ? lastMessage.message : "An error occurred"} {/if}
{#if webSearchMessages.length === 0}
{:else}
    {#each webSearchMessages as message} {#if message.subtype === MessageWebSearchUpdateType.Update}
  1. {message.message}

    {#if message.args}

    {message.args}

    {/if}
  2. {:else if message.subtype === MessageWebSearchUpdateType.Error}
  3. {message.message}

    {#if message.args}

    {message.args}

    {/if}
  4. {/if} {/each}
{/if}