<?php
    Theme::layout('full-width');
    Theme::set('breadcrumbEnabled', 'no');

    Theme::asset()->usePath()->add('leaflet', 'plugins/leaflet/leaflet.css');
    Theme::asset()->container('footer')->usePath()->add('fancybox', 'plugins/fancybox/jquery.fancybox.min.js');
    Theme::asset()->container('footer')->usePath()->add('leaflet', 'plugins/leaflet/leaflet.js');

    $style = theme_option('real_estate_project_detail_layout', 1);
    $style = in_array($style, range(1, 4)) ? $style : 1;
    Theme::set('pageTitle', $project->name);

    $firstImage = $project->images[0] ?? null;
    $headerMeta = '';
    if ($firstImage) {
        $headerMeta .= '<link rel="preload" as="image" href="' . RvMedia::getImageUrl($firstImage) . '">';
    }
    $headerMeta .= '<link rel="stylesheet" href="' . Theme::asset()->url('plugins/fancybox/jquery.fancybox.min.css') . '" media="print" onload="this.media=\'all\'">';
    $headerMeta .= '<noscript><link rel="stylesheet" href="' . Theme::asset()->url('plugins/fancybox/jquery.fancybox.min.css') . '"></noscript>';
    Theme::set('headerMeta', $headerMeta);
?>

<?php echo $__env->make(Theme::getThemeNamespace("views.real-estate.single-layouts.style-$style"), ['model' => $project], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<template id="map-popup-content">
    <div class="map-popup-content">
        <a class="map-popup-content-thumb" href="<?php echo e($project->url); ?>">
            <?php echo e(RvMedia::image($project->image_thumb, $project->name, lazy: false)); ?>

            <?php echo BaseHelper::clean($project->status_html); ?>

        </a>
        <div class="map-popup-content__details">
            <h5 class="map-popup-content__title">
                <a href="<?php echo e($project->url); ?>" target="_blank" class="map-popup-content__link"><?php echo e($project->name); ?></a>
            </h5>
            <div class="map-popup-content__price"><?php echo e($project->category_name); ?></div>
            <div class="map-popup-content__city">
                <?php if (isset($component)) { $__componentOriginal73995948b3bd877b76251b40caf28170 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal73995948b3bd877b76251b40caf28170 = $attributes; } ?>
<?php $component = Botble\Icon\View\Components\Icon::resolve(['name' => 'ti ti-map-pin'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('core::icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Botble\Icon\View\Components\Icon::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal73995948b3bd877b76251b40caf28170)): ?>
<?php $attributes = $__attributesOriginal73995948b3bd877b76251b40caf28170; ?>
<?php unset($__attributesOriginal73995948b3bd877b76251b40caf28170); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal73995948b3bd877b76251b40caf28170)): ?>
<?php $component = $__componentOriginal73995948b3bd877b76251b40caf28170; ?>
<?php unset($__componentOriginal73995948b3bd877b76251b40caf28170); ?>
<?php endif; ?>
                <?php echo e($project->short_address); ?>

            </div>
        </div>
    </div>
</template><?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/views/real-estate/project.blade.php ENDPATH**/ ?>