{#each { length: max } as _, i} {#if interactive}
iconClick(i)}> {#if isFull(value, i)}
{:else if isHalf(value, i)}
{:else}
{/if}
{:else}
{#if isFull(value, i)}
{:else if isHalf(value, i)}
{:else}
{/if}
{/if} {/each}