@php $therapistMediaSlides = $therapist['gallery'] ?? []; $therapistMediaCount = count($therapistMediaSlides); @endphp
@if (!empty($therapistMediaCount))
@foreach ($therapistMediaSlides as $mi => $slide)
@if ($slide['type'] === 'video') @php $videoUrl = asset($slide['image'] ?? ''); @endphp @if ($videoUrl !== '') @endif @else {{ $slide['name'] ?? '' }} @endif
@endforeach
@if ($therapistMediaCount > 1)
@for ($di = 0; $di < $therapistMediaCount; $di++) @endfor
@endif
@endif

{{ __('frontend::messages.page_therapists_title') }}

{{ $therapist['name'] ?? '' }}

@if (!empty($therapist['time']))
{{ __('frontend::messages.therapist_years_exp', ['years' => $therapist['time']]) }}
@endif @if (!empty($therapist['desc']))

“{{ $therapist['desc'] }}”

@endif @if (!empty($therapist['detail']))

{{ $therapist['detail'] ?? '' }}

@endif