{#if loading}
Blast radius
calculating…
{:else if error}
Blast radius
{error}
{:else if grouped && total > 0}
{total} affected entit{total === 1 ? 'y' : 'ies'}
{#each Object.entries(grouped).sort(([a], [b]) => Number(a) - Number(b)) as [depth, slugs]}
{Number(depth) === 1 ? 'Directly affected' : `${depth} hops`} ({slugs.length})
{#each slugs as slug}
{slug}
{/each}
{/each}
{:else}
Blast radius
no affected entities found
{/if}