<?php $__env->startSection('breadcrumb'); ?>
    <?php echo $__env->make('user.components.breadcrumb',['breadcrumbs' => [
        [
            'name'  => __("Dashboard"),
            'url'   => setRoute("user.dashboard"),
        ]
    ], 'active' => __()], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="body-wrapper">
    <div class="dashboard-header-wrapper mt-20">
        <h4 class="title"><?php echo e(__($page_title)); ?></h4>
    </div>
    <form action="<?php echo e(setRoute('user.gift.card.search')); ?>" method="GET">
        <div class="row mb-10-none">
            <div class="col-xl-3 col-lg-3 col-md-4 col-sm-6 mb-20">
                <div class="gift-card-form">
                    <div class="form-group">
                        <div class="input-group">
                            <select name="country" class="form--control select2-auto-tokenize" data-placeholder="<?php echo e(__('Select Country')); ?> data-old="">
                                <option selected disabled><?php echo e(__('Select Country')); ?></option>
                                <?php $__currentLoopData = get_all_countries() ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($country->iso2); ?>" <?php echo e(request()->country == $country->iso2 ? 'selected':''); ?>><?php echo e($country->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            <button class="input-group-text" type="submit">
                                <i class="las la-search"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
    <div class="row mb-20-none">
        <?php $__empty_1 = true; $__currentLoopData = $products ??[]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $card): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <?php
                $image = $card['logoUrls'][0];
            ?>
        <div class="col-xxl-2 col-xl-3 col-lg-3 col-md-4 col-sm-6 mb-20">
            <div class="gift-card-item">
                <div class="gift-card-thumb">
                    <a href="<?php echo e(setRoute('user.gift.card.details',$card['productId'])); ?>"><img src="<?php echo e($image??''); ?>" alt="gift-cards"></a>
                </div>
                <div class="gift-card-content">
                    <h5 class="title"><a href=" <?php echo e(setRoute('user.gift.card.details',$card['productId'])); ?>"><?php echo e($card['productName']); ?></a></h5>

                </div>
            </div>
        </div>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>

        <?php endif; ?>
        <?php if(count($products??[]) > 0): ?>
            <?php echo e($products->withQueryString()->setPath(url()->current())->links('pagination::bootstrap-4')); ?>

        <?php endif; ?>

    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('script'); ?>

<?php $__env->stopPush(); ?>

<?php echo $__env->make('user.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xampp 8.0.2\htdocs\strip_card\v3.5.0\resources\views/user/sections/gift-card/search.blade.php ENDPATH**/ ?>