<?php if($paginator->hasPages()): ?>
<nav class="d-flex justify-items-center justify-content-between">
    <div class="d-flex justify-content-between flex-fill d-sm-none">
        <ul class="pagination mb-0">
            
            <?php if($paginator->onFirstPage()): ?>
            <li class="page-item disabled" aria-disabled="true">
                <span class="page-link"><i class="bi bi-chevron-left"></i> Previous</span>
            </li>
            <?php else: ?>
            <li class="page-item">
                <a class="page-link" href="<?php echo e($paginator->previousPageUrl()); ?>" rel="prev"><i class="bi bi-chevron-left"></i> Previous</a>
            </li>
            <?php endif; ?>

            
            <?php if($paginator->hasMorePages()): ?>
            <li class="page-item">
                <a class="page-link" href="<?php echo e($paginator->nextPageUrl()); ?>" rel="next">Next <i class="bi bi-chevron-right"></i></a>
            </li>
            <?php else: ?>
            <li class="page-item disabled" aria-disabled="true">
                <span class="page-link">Next <i class="bi bi-chevron-right"></i></span>
            </li>
            <?php endif; ?>
        </ul>
    </div>

    <div class="d-none flex-sm-fill d-sm-flex align-items-sm-center justify-content-sm-between">
        <div>
            <p class="small text-muted mb-0">
                Showing
                <span class="fw-semibold"><?php echo e($paginator->firstItem() ?? 0); ?></span>
                to
                <span class="fw-semibold"><?php echo e($paginator->lastItem() ?? 0); ?></span>
                of
                <span class="fw-semibold"><?php echo e($paginator->total()); ?></span>
                results
            </p>
        </div>

        <div>
            <ul class="pagination mb-0">
                
                <?php if($paginator->onFirstPage()): ?>
                <li class="page-item disabled" aria-disabled="true" aria-label="Previous">
                    <span class="page-link" aria-hidden="true"><i class="bi bi-chevron-left"></i></span>
                </li>
                <?php else: ?>
                <li class="page-item">
                    <a class="page-link" href="<?php echo e($paginator->previousPageUrl()); ?>" rel="prev" aria-label="Previous"><i class="bi bi-chevron-left"></i></a>
                </li>
                <?php endif; ?>

                
                <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                
                <?php if(is_string($element)): ?>
                <li class="page-item disabled" aria-disabled="true"><span class="page-link"><?php echo e($element); ?></span></li>
                <?php endif; ?>

                
                <?php if(is_array($element)): ?>
                <?php $__currentLoopData = $element; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if($page == $paginator->currentPage()): ?>
                <li class="page-item active" aria-current="page"><span class="page-link"><?php echo e($page); ?></span></li>
                <?php else: ?>
                <li class="page-item"><a class="page-link" href="<?php echo e($url); ?>"><?php echo e($page); ?></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 class="page-item">
                    <a class="page-link" href="<?php echo e($paginator->nextPageUrl()); ?>" rel="next" aria-label="Next"><i class="bi bi-chevron-right"></i></a>
                </li>
                <?php else: ?>
                <li class="page-item disabled" aria-disabled="true" aria-label="Next">
                    <span class="page-link" aria-hidden="true"><i class="bi bi-chevron-right"></i></span>
                </li>
                <?php endif; ?>
            </ul>
        </div>
    </div>
</nav>
<?php endif; ?><?php /**PATH D:\xampp82\htdocs\AutoPromix\backend\resources\views\vendor\pagination\bootstrap-5.blade.php ENDPATH**/ ?>