{#if show_share_button && value !== null && value.length > 0}
{/if}
{#if value !== null && value.length > 0} {#each value as message_pair, i} {#each message_pair as message, j} {#if message !== null}
{#if avatar_images[j] !== null}
{j == 0 ? 'user' : 'bot'} avatar
{/if}
{#if (likeable && j !== 0) || (show_copy_button && message && typeof message === "string")}
{#if likeable && j == 1} handle_like(i, j, message, selected)} /> {/if} {#if show_copy_button && message && typeof message === "string"} {/if}
{/if}
{/if} {/each} {/each} {#if pending_message} {/if} {:else if placeholder !== null}
{/if}