@php $securityDashboard = $securityDashboard ?? ['score' => 0, 'label' => 'needs attention', 'tone' => 'danger', 'factors' => [], 'recommendations' => [], 'alerts' => []]; $recoveryRemaining = $recoveryRemaining ?? 0; $trustedDevices = $trustedDevices ?? collect(); $currentTrustedDevice = $currentTrustedDevice ?? null; $activeSessions = $activeSessions ?? []; $passkeys = $passkeys ?? collect(); $authMethods = $authMethods ?? collect(); $loginHistories = $loginHistories ?? null; $privacyPolicy = $privacyPolicy ?? []; $mfaSettings = $mfaSettings ?? []; $pendingTotpSecret = $pendingTotpSecret ?? null; $pendingTotpQrUrl = $pendingTotpQrUrl ?? null; @endphp