<?php $__env->startSection('header'); ?>
    <div class="inner-header text-center" style="background-image: url(<?php echo e($image ? asset($image) : asset('assets/web/images/about.jpg')); ?>);">
        <h4><span><?php echo e($title ?? __('privileges.inner_page')); ?></span></h4>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <section class="data-info section-padding">
        <div class="container">
            <div class="side-head">
                <p><?php echo e($title ?? __('privileges.inner_page')); ?></p>
            </div>

            <h4><?php echo e(__('privileges.privilege_you_have')); ?></h4>
            <div class="text"><?php echo e($description ? strip_tags($description) : ''); ?></div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <script>
        $(document).ready(function () {
            $('.contact_us_button').click(async function (e) {
                e.preventDefault();

                let interval = setInterval(function () {
                    $('.ajaxError, .ajaxSuccess').slideUp(400);
                    clearInterval(interval)
                }, 3000);

                let form = $('.contact_us_form'),
                    data = new FormData(form[0]),
                    url = form.attr('action'),
                    method = form.attr('method');

                const response=await ajax({
                    url,
                    data,
                    dataType: 'json',
                    method
                });

                if (response.errors) {
                    $('.ajaxError').removeClass('d-none').slideDown().html(response.errors);
                    $('.ajaxSuccess').addClass('d-none');
                }
                if (response.message) {
                    $('.ajaxSuccess').removeClass('d-none').slideDown().html(response.message);
                    $('.ajaxError').addClass('d-none');
                    $('.contact_us_form input, textarea').val('')
                }
            });
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\wamp64\www\nhz\resources\views/web/pages/privileges.blade.php ENDPATH**/ ?>