@php
Theme::asset()->usePath()->add('leaflet-css', 'plugins/leaflet.css');
Theme::asset()->usePath()->add('jquery-bar-rating', 'plugins/jquery-bar-rating/themes/fontawesome-stars.css');
Theme::asset()->container('footer')->usePath()->add('leaflet-js', 'plugins/leaflet.js');
Theme::asset()->usePath()->add('magnific-css', 'plugins/magnific-popup.css');
Theme::asset()->container('footer')->usePath()->add('magnific-js', 'plugins/jquery.magnific-popup.min.js');
Theme::asset()->container('footer')->usePath()->add('property-js', 'js/property.js');
Theme::asset()->container('footer')->usePath()->add('jquery-bar-rating-js', 'plugins/jquery-bar-rating/jquery.barrating.min.js');
Theme::asset()->container('footer')->usePath()->add('wishlist', 'js/wishlist.js', [], []);
$headerLayout = MetaBox::getMetaData($property, 'header_layout', true);
$headerLayout = !empty($headerLayout) ? $headerLayout : theme_option('property_header_layout', 'layout-1');
$allowShareViaWhatsapp = theme_option('allow_share_via_whatsapp', 'no');
$video = $property->getMetaData('video', true);
$videoUrl = $video['url'] ?? '';
$propertyLabel = $property->label;
@endphp
{!! Theme::partial('real-estate.properties.headers.' . $headerLayout, compact('property', 'propertyLabel')) !!}
{{ $property->name }}
{{ $property->location . ', ' . $property->city_name }}
{{ $property->price_html }}
{!! Theme::partial('real-estate.elements.list-fx-features', compact('property')) !!}