{#snippet inner(step: Props['steps'][number], i: number, state: string)} {t.step(n(i + 1), n(steps.length))}: {step.label}{state === 'done' ? `, ${t.completed}` : state === 'current' ? `, ${t.current}` : ''}{step.error ? `, ${t.attention(step.error)}` : ''} {#if step.error} {:else if step.description}{step.description}{/if} {/snippet}