@if ($shouldShow) @if ($canReact) @if ($reactedByReactor)
@if ($showCounter)
{{ $count > 0 ? $count : '0' }}
@endif
@else
@if ($showCounter)
{{ $count > 0 ? $count : '0' }}
@endif
@endif @elseif ($disabledReason === 'not_logged_in' && $redirectUrl) @if ($count > 0)
{!! $iconSvg !!}
@if ($showCounter)
{{ $count }}
@endif
@endif @else @if ($disabledReasonText)
{!! $iconSvg !!}
{{ __($disabledReasonText) }}
@if ($showCounter)
{{ $count > 0 ? $count : '0' }}
@endif
@else @if ($showCounter && $count > 0)
{!! $iconSvg !!}
{{ $count }}
@endif @endif @endif @endif {{-- Component is completely hidden if shouldShow is false --}}
@if($typeName === 'reserve' && $targetModel && is_object($targetModel)) {{ __('Confirm reservation') }}

{{ __('Are you sure you want to reserve a spot for this event?') }}

@if(method_exists($targetModel, 'translations') && $targetModel->translations->first())
{{ __('Event') }}: {{ $targetModel->translations->first()->title }}
@if(isset($targetModel->meeting)) @if(isset($targetModel->meeting->venue))
{{ __('Venue') }}: {{ $targetModel->meeting->venue }}
@endif @if(isset($targetModel->meeting->address))
{{ __('Address') }}: {{ $targetModel->meeting->address }}
@endif @if(isset($targetModel->meeting->from))
{{ __('Date & Time') }}: {{ \Illuminate\Support\Carbon::parse($targetModel->meeting->from)->isoFormat('dddd D MMMM YYYY, H:mm') }}
@endif @endif
@endif
{{ __('Cancel') }} {{ __('Confirm reservation') }}
@endif
@push('scripts') @endpush