
<?php if($data->isNotEmpty()): ?>
    <div class="fslider flex-thumb-grid grid-8 mb-5" data-pagi="false" data-speed="650" data-pause="3500" data-animation="fade"
         data-arrows="true" data-thumbs="true">
        <div class="flexslider">
            <div class="slider-wrap">
                <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $res): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="slide" data-thumb="<?php echo e($res->file ? asset('storage/'.$res->file) : asset('default.jpg')); ?>">
                        <div class="entry mb-0">
                            <img src="<?php echo e($res->file ? asset('storage/'.$res->file) : asset('default.jpg')); ?>" onerror="this.src='<?php echo e(asset('default.jpg')); ?>'" alt="Image">
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php /**PATH /Users/aptika/Workspace/stunting/resources/views/components/guest/slider.blade.php ENDPATH**/ ?>