<?php
    $files = is_string($record?->files) ? json_decode($record->files, true) : [];
?>

<div class="space-y-2">
    
    <label class="text-sm font-medium text-gray-700 dark:text-gray-300">
        <?php echo e(__('admin.resources.user_verify.fields.files')); ?>

    </label>

    <!--[if BLOCK]><![endif]--><?php if(!empty($files)): ?>
        <div class="flex overflow-x-auto gap-4 py-2">
            <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $files; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $file): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="w-150 shrink-0">
                    <?php echo $__env->make('filament.partials.file-preview-box', [
                        'asset' => $file,
                        'attachment' => $record,
                    ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
        </div>
    <?php else: ?>
        <span class="text-sm text-gray-500"><?php echo e(__('No attachments available.')); ?></span>
    <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
</div>
<?php /**PATH /home/ygnbmjdo/funmate/resources/views/filament/partials/file-preview-wrapper.blade.php ENDPATH**/ ?>