{#if filteredProjects.length > 0 || prompt.split(' ')?.at(0)?.substring(1).startsWith('http')}
#
{#each filteredProjects as project, idx} {/each} {#if prompt .split(' ') .some((s) => s.substring(1).startsWith('https://www.youtube.com') || s .substring(1) .startsWith('https://youtu.be'))} {:else if prompt.split(' ')?.at(0)?.substring(1).startsWith('http')} {/if}
{/if}