{#each STACK_ORDER as component, index (component)}
{@const state = shownState(component)}
{@const message = stack[component]?.message}
-
{String(index + 1).padStart(2, "0")}
{COMPONENT_LABEL[component]}
{COMPONENT_DETAIL[component]}
{STACK_STATE_LABEL[state]}
{#if message}
{message}
{/if}
{/each}