@if( isset($carouseIndicators) ) {[ $index = 0 ]}
    @foreach( $carouselImages as $key => $image ) {[ $active = $index === 0 ? ' class="active"' : NULL ]}
  1. {[ $index++ ]} @endforeach
@endif {[ $index = 0 ]}
@foreach( $carouselImages as $key => $image ) {[ $active = $index === 0 ? ' active' : NULL; if( ! is_numeric($key) ) { $attr = $image; $image = $key; } else { $attr = NULL; } ]}
{{ $attr['alt'] ?? ZN\Filesystem::removeExtension(ZN\Datatype::divide($image, '/', -1)) }} @if( $caption = ($attr['caption'] ?? NULL) )

{{$caption[0] ?? NULL}}

{{$caption[1] ?? NULL}}

@endif
{[$index++]} @endforeach
{{ $carouselPrevName ?: 'Previous' }} {{ $carouselNextName ?: 'Next' }}