@props(['images' => [], 'videoLink' => null, 'image_properties' => null, "ad_title" => null, 'ad'])
@assets
@endassets
@php
$customizationSettings = optional(current($customizationSettings->ad_detail_page));
$images = (count($images) > 0) ? $images : [getAdPlaceholderImage($ad->id)];
@endphp
{{-- --}}
@foreach ($images as $key=>$banner)
@endforeach
@if ($customizationSettings['enable_autoplay'])
@endif
@if (count($images) > 1)
@endif
@if ($customizationSettings['enable_price_below_image'] && ($ad->adType?->disable_price_type == false || in_array($ad->adType?->marketplace, [ONLINE_SHOP_MARKETPLACE, POINT_SYSTEM_MARKETPLACE])))
@endif