$child): ?>
spouseFamilies()->map(static function (Family $family): Collection { return $family->children(); })->flatten() ?>
isNotEmpty()): ?>
1): ?>
= view('modules/hourglass-chart/children', ['children' => $grandchildren, 'generations' => $generations - 1, 'show_spouse' => $show_spouse]) ?>
= view('icons/arrow-left') ?>
= view('chart-box', ['individual' => $child]) ?>
spouseFamilies() as $spouse_family): ?>
= view('chart-box', ['individual' => $spouse_family->spouse($child)]) ?>
count() === 1): ?>
count()): ?>