{#if !largeScreen} {#if $showControls} { showControls.set(false); }} >
{#if $showCallOverlay}
{ showControls.set(false); }} />
{:else if $showOverview} { showMessage(e.detail.node.data.message); }} on:close={() => { showControls.set(false); }} /> {:else} { showControls.set(false); }} {models} bind:chatFiles bind:params /> {/if}
{/if} {:else}
{ if (size === 0) { showControls.set(false); } else { if (!$showControls) { showControls.set(true); } localStorage.setItem('chat-controls-size', size); } }} >
{#if $showCallOverlay}
{ showControls.set(false); }} />
{:else if $showOverview} { showMessage(e.detail.node.data.message); }} on:close={() => { showControls.set(false); }} /> {:else} { showControls.set(false); }} {models} bind:chatFiles bind:params /> {/if}
{/if}