{#if constructor && initialSettings && (visible || inSelectedPath) && !builderHidden}
{#if errorState}
{:else}
{#if children.length} {#each children as child (child._id)}
{/each} {:else if emptyState} {#if isRoot}
{:else}
{/if} {:else if isBlock}
{/if}
{/if}
{/if}