{#each lines as p (p.idx)}
onselect?.(p.idx)}>
{p.color === 'w' ? 'P1' : 'P2'}
{p.num}{p.color === 'w' ? '.' : '…'} {p.san}
{p.m.trash}
{/each}