<?php
    $preview = AttachmentHelper::getPostPreviewData($post);
?>

<div class="px-0">
    <div class="d-flex justify-content-center align-items-center">
        <div class="w-100">
            <div class="w-100 locked-media position-relative <?php echo e($preview['backgroundClass']); ?>" style="background-image: url('<?php echo e($preview['backgroundImage']); ?>');">
                <?php if($preview['attachmentExists'] && $preview['hasBlurred'] && $post->price > 0): ?>
                    <?php echo $__env->make('elements.feed.locked-post-actions', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
            </div>

            <div class="non-blur-locked-actions">
                <?php if((!$preview['hasBlurred'] && $preview['attachmentExists'] && $post->price > 0) || (!$preview['attachmentExists'] && $post->price > 0)): ?>
                    <?php echo $__env->make('elements.feed.locked-post-actions', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /home/ygnbmjdo/funmate/resources/views/elements/feed/post-locked.blade.php ENDPATH**/ ?>