@if($showAvatar) @endif
@if($url = $comment->commentatorProperties()?->url) {{ $comment->commentatorProperties()->name }} @else {{ $comment->commentatorProperties()?->name ?? __('comments::comments.guest') }} @endif
@if($comment->isPending())
{{__('comments::comments.awaits_approval')}} @can('reject', $comment) @endcan @can('approve', $comment) @endcan
@endif @if($isEditing)
@error('editText')

{{ $message }}

@enderror {{ __('comments::comments.edit_comment') }} {{ __('comments::comments.cancel') }}
@else
{!! $comment->text !!}
@if($writable || $comment->reactions->summary()->isNotEmpty())
@foreach($comment->reactions->summary() as $summary)
$summary['commentator_reacted']]) > {{ $summary['reaction'] }} {{ $summary['count'] }}
@endforeach @if($writable)
@can('react', $comment)
@foreach(config('comments.allowed_reactions') as $reaction) @php $commentatorReacted = ! is_bool(array_search( $reaction, array_column($comment->reactions->toArray(), 'reaction'), )); @endphp @endforeach
@endcan
@endif
@endif @endif
@if($showReplies) @if($comment->isTopLevel())
@if($this->newestFirst) @if(auth()->check() || config('comments.allow_anonymous_comments')) @include('comments::livewire.partials.replyTo') @endif @endif @foreach ($comment->nestedComments as $nestedComment) @can('see', $nestedComment) @endcan @endforeach @if(! $this->newestFirst) @if(auth()->check() || config('comments.allow_anonymous_comments')) @include('comments::livewire.partials.replyTo') @endif @endif
@endif @endif