{t.chainTitle}

{#if game.state.chain.length === 0}

{t.chainEmpty}

{:else}
    {#each entries as entry, index (entry.word)} {@const open = game.isExpanded(entry.word)} {@const panelId = `meaning-${entries.length - 1 - index}`}
  1. {#if entry.byMe && entry.typed && entry.typed !== entry.word} {fill(t.correctedFrom, { typed: entry.typed, word: entry.word })} {/if} {#if entry.parts.length}

    {entry.parts .map((/** @type {any} */ p) => `+${p.value} ${pointKindLabels[p.kind] ?? ''}`) .join(' · ')}

    {/if} {#if open} {#if entry.meanings.length}
      {#each entry.meanings as sense (sense.gloss)}
    1. {sense.pos ? `(${sense.pos}) ` : ''}{sense.gloss}
    2. {/each}
    {:else}

    {t.meaningNone}

    {/if} {/if}
  2. {/each}
{/if}