@php $isRendered = false; $advertisementThree = null; $isLazyLoad = ! isset($lazyload) ? true : ( $lazyload ? true : false ); @endphp @if ( $velocityMetaData && $velocityMetaData->advertisement ) @php $advertisement = json_decode($velocityMetaData->advertisement, true); if (isset($advertisement[3]) && is_array($advertisement[3])) { $advertisementThree = array_values(array_filter($advertisement[3])); } @endphp @if ($advertisementThree) @php $isRendered = true; @endphp @endif @endif @if (! $isRendered) @endif