<?php if (isset($component)) { $__componentOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.application-no-widget-wrapper','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('application-no-widget-wrapper'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <?php if (isset($component)) { $__componentOriginal0e8b16662ac81a14be4700ec450d8cbc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.page-wrapper','data' => ['title' => trans('contact.contactUs'),'heading' => 'h1']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('page-wrapper'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(trans('contact.contactUs')),'heading' => 'h1']); ?>
        <div class="row">
            <div class="col-md-12">
                <form id="frm-contact" method="POST" action="<?php echo e(route('contact.send')); ?>">
                    <?php echo csrf_field(); ?>
                    <div class="form-group mb-3">
                        <label class="form-label" for="email"><?php echo e(trans('contact.attributes.email')); ?></label>
                        <input type="text" name="email"
                            class="form-control<?php echo e($errors->has('email') ? ' is-invalid' : ''); ?>" id="email"
                            value="<?php echo e(old('email')); ?>">
                        <?php if($errors->has('email')): ?>
                            <span class="invalid-feedback">
                                <?php echo e($errors->first('email')); ?>

                            </span>
                        <?php endif; ?>
                    </div>
                    <div class="form-group <?php echo e($errors->has('subject') ? 'has-error' : ''); ?> mb-3">
                        <label for="subject" class="form-label"><?php echo e(trans('contact.attributes.subject')); ?></label>
                        <input type="text" name="subject"
                            class="form-control<?php echo e($errors->has('subject') ? ' is-invalid' : ''); ?>" id="subject"
                            value="<?php echo e(old('subject')); ?>">
                        <?php if($errors->has('subject')): ?>
                            <span class="invalid-feedback">
                                <?php echo e($errors->first('subject')); ?>

                            </span>
                        <?php endif; ?>
                    </div>
                    <div class="form-group mb-3">
                        <label for="message" class="form-label"><?php echo e(trans('contact.attributes.message')); ?></label>
                        <textarea name="message" rows="7" id="message"
                            class="form-control<?php echo e($errors->has('message') ? ' is-invalid' : ''); ?>" aria-labelledby="<?php echo app('translator')->get('contact.attributes.message'); ?>"><?php echo e(old('message')); ?></textarea>
                        <?php if($errors->has('message')): ?>
                            <span class="invalid-feedback">
                                <?php echo e($errors->first('message')); ?>

                            </span>
                        <?php endif; ?>
                    </div>
                    <?php if($errors->has('captcha')): ?>
                        <div class="form-group mb-3">
                            <div class="is-invalid"></div>
                            <span class="invalid-feedback">
                                <?php echo e($errors->first('captcha')); ?>

                            </span>
                        </div>
                    <?php endif; ?>
                    <?php if(setting('recaptcha_status', 0) && setting('recaptcha_contact', 0)): ?>
                        <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['class' => 'g-recaptcha','dataSitekey' => ''.e(setting('recaptcha_site')).'','dataCallback' => 'onSubmit']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('primary-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'g-recaptcha','data-sitekey' => ''.e(setting('recaptcha_site')).'','data-callback' => 'onSubmit']); ?>
                            <?php echo e(trans('contact.submit')); ?>

                         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
                    <?php else: ?>
                        <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['dataLoading' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('primary-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['data-loading' => true]); ?>
                            <?php echo e(trans('contact.submit')); ?>

                         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
                    <?php endif; ?>
                </form>
            </div>
        </div>
        <?php if (isset($component)) { $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.ad-slot','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('ad-slot'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $attributes = $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $component = $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc)): ?>
<?php $attributes = $__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc; ?>
<?php unset($__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0e8b16662ac81a14be4700ec450d8cbc)): ?>
<?php $component = $__componentOriginal0e8b16662ac81a14be4700ec450d8cbc; ?>
<?php unset($__componentOriginal0e8b16662ac81a14be4700ec450d8cbc); ?>
<?php endif; ?>
    <?php if(setting('recaptcha_status', 0) && setting('recaptcha_contact', 0)): ?>
        <?php $__env->startPush('page_scripts'); ?>
            <script type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=<?php echo e(app()->getLocale()); ?>" async defer>
            </script>
            <script type="text/javascript">
                function onSubmit(token) {
                    document.getElementById("frm-contact").submit();
                }
            </script>
        <?php $__env->stopPush(); ?>
    <?php endif; ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a)): ?>
<?php $attributes = $__attributesOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a; ?>
<?php unset($__attributesOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a)): ?>
<?php $component = $__componentOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a; ?>
<?php unset($__componentOriginal3a3e7e9869e34d36f8b5dfc3a5626f2a); ?>
<?php endif; ?>
<?php /**PATH /www/wwwroot/webtoolzone.com/resources/themes/canvas/pages/contact.blade.php ENDPATH**/ ?>