+
+ {#if $isFocused}
+ {#if $searchTerm.length > 0 && results === undefined}
+
+
+
+ {:else if results?.length > 0}
+
+
+ {#each results as entry (entry)}
+
+ {/each}
+
+ {:else if $searchTerm.length > 0 || $recentlySeen?.length > 0 || $recentThemes?.length > 0}
+
+ {#if $searchTerm.length > 0}
+
+
+
+ {/if}
+
+ {#if $recentlySeen?.length > 0}
+
+
+
+
+ {#each $recentlySeen as entry}
+
+ {/each}
+
+ {/if}
+
+ {#if $recentThemes?.length > 0 && $allowOtherThemes}
+
+
+
+
+ {#each $recentThemes as themeId (themeId)}
+
+ {/each}
+
+ {/if}
+
+ {/if}
+ {/if}
+