{#if codes.length === 0}

{t('locales.empty')}

{:else} {/if}
{#if !addOpen} {:else}
setTimeout(() => { if (addOpen && !addQuery) closeAdd(); }, 150)} placeholder={t('locales.searchPlaceholder')} class="ls-add-input" autocomplete="off" spellcheck="false" type="text" />
{#each suggestions as s, i (s.code)} {/each} {#if canAddCustom} {/if} {#if suggestions.length === 0 && !canAddCustom}
{t('locales.noSuggestions')}
{/if}
{/if}

{t('locales.orderHint')}