{#each FILTER_SUGGESTIONS as item, index (item.token)} {#if index > 0 && FILTER_SUGGESTIONS[index - 1].key !== item.key} {/if} {@const checked = filter.effective[item.key] === item.value} {@const isDefault = checked && filter.defaults?.[item.key] === item.value && filter.activeTyped[item.key] === undefined} {/each} {#if filter.hasTyped} {/if}