@props([ 'blocker', // ['type','message','cta','section','count'] 'primary' => false, // render as the prominent next-action button ]) @php [$icon, $variant] = match ($blocker['type']) { 'required' => ['asterisk', 'danger'], 'review' => ['lightbulb-on-outline', 'warning'], 'conflict' => ['alert-octagon-outline', 'danger'], default => ['information-outline', 'secondary'], }; // goToBlocker(section) — a review blocker has no section, the action resolves one. $arg = $blocker['section'] ? "'".$blocker['section']."'" : 'null'; @endphp @if($primary) @else