{#if show_share_button && value !== null && value.length > 0}
{/if}
{#if value === null || value.length == 0}
{#if placeholder_image}
{/if} {#if placeholder_title}

{placeholder_title}

{/if}
{:else} {#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, true)} /> handle_like(i, j, message, false)} /> {/if} {#if show_copy_button && message && typeof message === "string"} {/if}
{/if}
{/if} {/each} {/each} {#if pending_message} {/if} {/if}