<div class="row">
    <div class="col-12">
        <div class="pagination">
            <ul class="page-numbers">
                <?php if($paginator->onFirstPage()): ?>

                <?php else: ?>
                    <li><a aria-label="<?php echo e(__('Previous')); ?>" href="<?php echo e($paginator->previousPageUrl()); ?>"><i class="fas fa-long-arrow-alt-left"></i></a>
                    </li>
                <?php endif; ?>

                <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                    <?php if(count($element) < 2): ?>


                    <?php else: ?>

                        <?php $__currentLoopData = $element; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $el): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li>
                        <?php if($key == $paginator->currentPage()): ?>
                            <span><?php echo e($key); ?></span></li>
                        <?php else: ?>
                            <li>
                            <a aria-label="<?php echo e($key); ?>" href="<?php echo e($el); ?>"><?php echo e($key); ?></a>
                            </li> <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


                <?php if($paginator->hasMorePages()): ?>
                 <li><a aria-label="<?php echo e(__('Next')); ?>" href="<?php echo e($paginator->nextPageUrl()); ?>"><i class="fas fa-long-arrow-alt-right"></i></a>
                    </li>
                <?php endif; ?>

            </ul>
        </div>
    </div>
</div>
<?php /**PATH D:\laragon\www\docment_latest\main_files\resources\views/patient/paginator.blade.php ENDPATH**/ ?>