@if($this->showRequiresTwoFactorAlert())
@svg('heroicon-s-shield-exclamation', 'w-5 h-5 text-danger-600')

{{ __('filament-breezy::default.profile.2fa.must_enable') }}

@endif @unless ($user->hasEnabledTwoFactor())

@svg('heroicon-o-exclamation-circle', 'w-6') {{__('filament-breezy::default.profile.2fa.not_enabled.title') }}

{{ __('filament-breezy::default.profile.2fa.not_enabled.description') }}

{{ $this->enableAction }}
@else @if ($user->hasConfirmedTwoFactor())

@svg('heroicon-o-shield-check', 'w-6') {{ __('filament-breezy::default.profile.2fa.enabled.title') }}

{{ __('filament-breezy::default.profile.2fa.enabled.description') }}

@if($showRecoveryCodes)

{{ __('filament-breezy::default.profile.2fa.enabled.store_codes') }}

@foreach ($this->recoveryCodes->toArray() as $code ) {{ $code }} @endforeach
@endif
{{ $this->regenerateCodesAction }} {{ $this->disableAction()->color('danger') }}
@else

@svg('heroicon-o-question-mark-circle', 'w-6') {{ __('filament-breezy::default.profile.2fa.finish_enabling.title') }}

{{ __('filament-breezy::default.profile.2fa.finish_enabling.description') }}

{!! $this->getTwoFactorQrCode() !!}

{{ __('filament-breezy::default.profile.2fa.setup_key') }} {{ decrypt($this->user->two_factor_secret) }}

{{ __('filament-breezy::default.profile.2fa.enabled.store_codes') }}

@foreach ($this->recoveryCodes->toArray() as $code ) {{ $code }} @endforeach
{{ $this->confirmAction }} {{ $this->disableAction }}
@endif @endunless