<?php if($images = (array)$object->images): ?>
    <div class="boxsliderdetail">
        <?php if(count($images) > 1): ?>
            <div class="slidetop">
                <div class="owl-carousel" id="listcarousel">
                    <?php $__currentLoopData = $images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="item">
                            <img src="<?php echo e(RvMedia::getImageUrl($image, null, false, RvMedia::getDefaultImage())); ?>"
                                class="showfullimg"
                                rel="<?php echo e($loop->index); ?>"
                                alt="<?php echo e($object->name); ?>"
                                title="<?php echo e($object->name); ?>"
                                data-mfp-src="<?php echo e(RvMedia::getImageUrl($image, null, false, RvMedia::getDefaultImage())); ?>">
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
            <?php else: ?>
                <div class="featured-image">
                    <?php
                        $image = Arr::first($images);
                    ?>

                    <img src="<?php echo e(RvMedia::getImageUrl($image, null, false, RvMedia::getDefaultImage())); ?>"
                         class="showfullimg"
                         rel="0"
                         alt="<?php echo e($object->name); ?>"
                         title="<?php echo e($object->name); ?>"
                         data-mfp-src="<?php echo e(RvMedia::getImageUrl($image, null, false, RvMedia::getDefaultImage())); ?>">
                </div>
            <?php endif; ?>
        <div class="slidebot">
            <div class="row">
                <div class="col-6 col-md-7 col-sm-6">
                    <div>
                        <div class="owl-carousel" id="listcarouselthumb">
                            <?php $__currentLoopData = $images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="item cthumb" rel="<?php echo e($loop->index); ?>">
                                    <img src="<?php echo e(RvMedia::getImageUrl($image, null, false, RvMedia::getDefaultImage())); ?>"
                                        class="showfullimg"
                                        rel="<?php echo e($loop->index); ?>"
                                        alt="<?php echo e($object->name); ?>"
                                        data-mfp-src="<?php echo e(RvMedia::getImageUrl($image, null, false, RvMedia::getDefaultImage())); ?>"
                                        title="<?php echo e($object->name); ?>">
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                        <i class="fas fa-chevron-right ar-next"></i>
                        <i class="fas fa-chevron-left ar-prev"></i>
                    </div>
                </div>
                <div class="col-6 col-md-5 col-sm-6" style="align-self: center">
                    <div class="row control justify-content-sm-end justify-content-center">
                        <?php if($object->video_url): ?>
                            <div class="col-6 col-sm-4 col-md-4 col-lg-2 itemct px-1 popup-youtube" href="<?php echo e(Botble\Theme\Supports\Youtube::getYoutubeVideoEmbedURL($object->video_url)); ?>">
                                <div class="icon">
                                    <i class="fab fa-youtube"></i>
                                    <p><?php echo e(__('YouTube')); ?></p>
                                </div>
                            </div>
                        <?php endif; ?>

                        <?php if(count($images) > 1): ?>
                            <div class="col-sm-4 col-md-4 col-lg-2 itemct d-none d-sm-block px-1 show-gallery-image">
                                <div class="icon">
                                    <i class="fas fa-th"></i>
                                    <p><?php echo e(__('Gallery')); ?></p>
                                </div>
                            </div>
                        <?php endif; ?>

                        <?php if($object->latitude && $object->longitude && theme_option('real_estate_show_map_on_single_detail_page', 'yes') === 'yes'): ?>
                            <div class="col-6 col-sm-4 col-md-4 col-lg-2 itemct px-1"
                                data-magnific-popup="#trafficMap"
                                data-map-id="trafficMap"
                                 data-tile-layer="<?php echo e(RealEstateHelper::getMapTileLayer()); ?>"
                                data-popup-id="#traffic-popup-map-template"
                                data-map-icon="<?php echo e($object->map_icon); ?>"
                                data-center="<?php echo e(json_encode([$object->latitude, $object->longitude])); ?>">
                                <div class="icon">
                                    <i class="far fa-map"></i>
                                    <p><?php echo e(__('Map')); ?></p>
                                </div>
                            </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php else: ?>
    <?php if($object->latitude && $object->longitude): ?>
        <div class="d-none"
             data-magnific-popup="#trafficMap"
             data-map-id="trafficMap"
             data-tile-layer="<?php echo e(RealEstateHelper::getMapTileLayer()); ?>"
             data-popup-id="#traffic-popup-map-template"
             data-map-icon="<?php echo e($object->map_icon); ?>"
             data-center="<?php echo e(json_encode([$object->latitude, $object->longitude])); ?>">
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/gyannewsoftware/public_html/realestate13_FlexHome/platform/themes/flex-home/views/real-estate/includes/slider.blade.php ENDPATH**/ ?>