<div class="col-lg-4">
    <div class="restaurants_card wow fadeInUp">
        <div class="img_box">
            <a href="<?php echo e(url(getCurrentLocale().'/provider/'.$provider->id)); ?>" class="d-block w-100 h-100">
                <div class="swiper-container resCard_swiper">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <img src="<?php echo e(asset($provider->photo)); ?>" class="sec-img" alt=""/>
                        </div>
                        <?php $__currentLoopData = $provider->photos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <img src="<?php echo e(asset($photo->image)); ?>" class="sec-img" alt=""/>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </a>
            <button class="butn loc_butn sm_butn white_butn" data-id="<?php echo e($provider->id); ?>"  onclick="showLoc(this)">
                <img src="<?php echo e(url('')); ?>/assets/web/images/icons/loc.svg" class="icon" alt=""/>
            </button>

        </div>
        <div class="card-body">
            <div class="in-flex mb-3">
                <a href="#" class="title mb-0 fw-bold color-secondary"><?php echo e($provider->name); ?></a>
                <span class="rate">
                    <i class="fa-solid fa-star"></i> <?php echo e($provider->rate); ?>

                </span>
            </div>
            <p class="p">
                <img src="<?php echo e(url('')); ?>/assets/web/images/icons/loc-2.svg" class="icon icon-15 me-2" alt=""/>  <?php echo e($provider->country->descriptions()->name); ?> | <?php echo e($provider->city->descriptions()->name); ?>

            </p>
            <div class="prices d-flex align-items-end">
                <h5 class="price mb-0 me-3"><?php echo e(__('web.start_from')); ?>  <b><?php echo e($provider->cost); ?> </b> <small><?php echo e(__('web.sar')); ?></small></h5>
            </div>
            <?php if(count($provider->events) > 0): ?>
                <div class="event_row  mt-4">
                    <?php $__currentLoopData = $provider->events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <a style="cursor:pointer;" data-id="<?php echo e($event->id); ?>" onclick="showEvent(this)">
                            <div class="row">
                                <div class="col-6">
                                    <p class="p fw-bold">
                                        <i class="fa-solid fa-tag"></i><?php echo e($event->descriptions()->name); ?>

                                    </p>
                                </div>
                                <div class="col-6">
                                    <p class="p">
                                        <i class="fa-solid fa-calendar-days"></i> <?php echo e($event->show_date); ?>

                                    </p>
                                </div>
                            </div>
                        </a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            <?php endif; ?>
        </div>
    </div>
</div>
<?php /**PATH /Applications/MAMP/htdocs/youdra/resources/views/web/pages/components/provider/providerComponent.blade.php ENDPATH**/ ?>