<div class="row" id="kyc-detail">
    <?php $__empty_1 = true; $__currentLoopData = auth()->user()->kyc->data ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
        <?php if($item->type == 'file'): ?>
            <div class="col-xl-6 col-lg-6 col-md-6 form-group">
                <?php
                    $file_link = get_file_link('kyc-files', $item->value);
                ?>
                <span class="kyc-title"><?php echo e(__($item->label)); ?>:</span>
                <?php if(its_image($item->value)): ?>
                    <div class="information-img">
                        <img src="<?php echo e($file_link); ?>" alt="<?php echo e($item->label); ?>">
                    </div>
                <?php else: ?>
                    <span class="text--danger">
                        <?php
                            $file_info = get_file_basename_ext_from_link($file_link);
                        ?>
                        <a href="<?php echo e(setRoute('file.download', ['kyc-files', $item->value])); ?>">
                            <?php echo e(Str::substr($file_info->base_name ?? '', 0, 20) . '...' . $file_info->extension ?? ''); ?>

                        </a>
                    </span>
                <?php endif; ?>
            </div>
        <?php elseif($item->type == 'select' || $item->type == 'text'): ?>
            <div class="personal-details pb-5">
                <div class="col-lg-12 col-md-12">
                    <div class="kyc-information-data">
                        <h4 class="title"><?php echo e(__($item->label)); ?>: </h4>
                        <p class="type"><?php echo e($item->value); ?></p>
                    </div>
                </div>
            </div>
        <?php endif; ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
    <?php endif; ?>
</div>
<?php /**PATH C:\xampp\htdocs\Payload\resources\views/user/components/profile/kyc.blade.php ENDPATH**/ ?>