@props([
'metrics' => [],
])
@php
$tabSwitches = $metrics['tab_switches'] ?? 0;
$focusLost = $metrics['focus_lost'] ?? 0;
$gazeAlerts = $metrics['gaze_alerts'] ?? 0;
$lowerGaze = $metrics['lower_gaze'] ?? 0;
$questionRepeat = $metrics['question_repeat'] ?? 0;
$externalAi = $metrics['external_ai'] ?? 0;
@endphp
merge(['class' => 'flex flex-col gap-0.5 text-xs']) }}>
Tab Switches: {{ $tabSwitches }}
Focus Loss / Overlay: {{ $focusLost }}
Eye Gaze Anomaly: {{ $gazeAlerts }}
@if($lowerGaze > 0)
Lower Gaze (>10s): {{ $lowerGaze }}
@endif
@if($questionRepeat > 0)
Question Repetition: {{ $questionRepeat }}
@endif
@if($externalAi > 0)
@endif