<?php if($paginator->hasPages()): ?>
    <nav role="navigation" aria-label="<?php echo e(__('Pagination Navigation')); ?>" class="pagination-container">
        <div class="pagination-mobile">
            <?php if($paginator->onFirstPage()): ?>
                <span class="pagination-link-btn disabled">
                    <?php echo __('pagination.previous'); ?>

                </span>
            <?php else: ?>
                <a href="<?php echo e($paginator->previousPageUrl()); ?>" class="pagination-link-btn">
                    <?php echo __('pagination.previous'); ?>

                </a>
            <?php endif; ?>

            <?php if($paginator->hasMorePages()): ?>
                <a href="<?php echo e($paginator->nextPageUrl()); ?>" class="pagination-link-btn">
                    <?php echo __('pagination.next'); ?>

                </a>
            <?php else: ?>
                <span class="pagination-link-btn disabled">
                    <?php echo __('pagination.next'); ?>

                </span>
            <?php endif; ?>
        </div>

        <div class="pagination-desktop">
            <div class="pagination-info">
                Showing 
                <span class="info-highlight"><?php echo e($paginator->firstItem()); ?></span>
                to
                <span class="info-highlight"><?php echo e($paginator->lastItem()); ?></span>
                of
                <span class="info-highlight"><?php echo e($paginator->total()); ?></span>
                Results
            </div>

            <div class="pagination-links-group">
                
                <?php if($paginator->onFirstPage()): ?>
                    <span class="pagination-link nav-icon disabled" aria-disabled="true">
                        <i data-lucide="chevron-left" size="16"></i>
                    </span>
                <?php else: ?>
                    <a href="<?php echo e($paginator->previousPageUrl()); ?>" rel="prev" class="pagination-link nav-icon" aria-label="<?php echo e(__('pagination.previous')); ?>">
                        <i data-lucide="chevron-left" size="16"></i>
                    </a>
                <?php endif; ?>

                
                <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if(is_string($element)): ?>
                        <span class="pagination-link disabled" aria-disabled="true"><?php echo e($element); ?></span>
                    <?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()): ?>
                                <span class="pagination-link active" aria-current="page"><?php echo e($page); ?></span>
                            <?php else: ?>
                                <a href="<?php echo e($url); ?>" class="pagination-link" aria-label="<?php echo e(__('Go to page :page', ['page' => $page])); ?>">
                                    <?php echo e($page); ?>

                                </a>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                
                <?php if($paginator->hasMorePages()): ?>
                    <a href="<?php echo e($paginator->nextPageUrl()); ?>" rel="next" class="pagination-link nav-icon" aria-label="<?php echo e(__('pagination.next')); ?>">
                        <i data-lucide="chevron-right" size="16"></i>
                    </a>
                <?php else: ?>
                    <span class="pagination-link nav-icon disabled" aria-disabled="true">
                        <i data-lucide="chevron-right" size="16"></i>
                    </span>
                <?php endif; ?>
            </div>
        </div>
    </nav>
    <script>lucide.createIcons();</script>
<?php endif; ?>
<?php /**PATH /home/u784977635/domains/git-test.in/public_html/pump-selection/resources/views/partials/pagination.blade.php ENDPATH**/ ?>