<?php $__env->startSection('content'); ?>
<?php echo $__env->make('layouts.headers.guest', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<div class="container lw-guest-page-container-block pb-2">
    <div class="row justify-content-center">
        <div class="col-lg-6 col-md-8">
            <div class="card lw-form-card-box shadow border-0">
                <h1 class="card-header text-center text-dark">
                    <div class="my-2">
                        <i class="fa fa-lock text-success"></i>  <?php echo e(__tr('Account Access')); ?>

                    </div>
                </h1>
                <?php if(isDemo()): ?>
                    <div class="card-header text-center">
                        <button onclick="document.getElementById('lwLoginEmail').value='demosuperadmin';document.getElementById('lwLoginPassword').value='demopass12';" class="btn btn-sm btn-danger"><?php echo e(__tr('Demo Super Admin Login')); ?></button>
                        <button onclick="document.getElementById('lwLoginEmail').value='testcompany';document.getElementById('lwLoginPassword').value='demopass12';" class="btn btn-sm btn-danger"><?php echo e(__tr('Demo Company Login')); ?></button>
                    </div>
                <?php endif; ?>
                <div class="card-body px-4 py-2">
                    <?php if (isset($component)) { $__componentOriginald0b55ee435ec3aeeadffee8b0df479da = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald0b55ee435ec3aeeadffee8b0df479da = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.lw.form','data' => ['id' => 'lwLoginForm','dataSecured' => 'true','action' => route('auth.login.process')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('lw.form'); ?>
<?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(['id' => 'lwLoginForm','data-secured' => 'true','action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('auth.login.process'))]); ?>
                        <div class="form-group<?php echo e($errors->has('email') ? ' has-danger' : ''); ?> mb-3">
                            <div class="input-group input-group-alternative">
                                <div class="input-group-prepend">
                                    <span class="input-group-text"><i class="fa fa-user-alt"></i></span>
                                </div>
                                <input id="lwLoginEmail" class="form-control<?php echo e($errors->has('email') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__tr('Email or Username or Mobile Number')); ?>" type="text" name="email" value="" required autofocus autocomplete="email">
                            </div>
                            <h5><span class="text-light"><?php echo e(__tr("Mobile number should be with country code without 0 or +")); ?></span></h5>
                        
                        </div>
                        <div class="form-group<?php echo e($errors->has('password') ? ' has-danger' : ''); ?>">
                            <div class="input-group input-group-alternative">
                                <div class="input-group-prepend">
                                    <span class="input-group-text"><i class="fa fa-lock"></i></span>
                                </div>
                                <input id="lwLoginPassword" class="form-control<?php echo e($errors->has('password') ? ' is-invalid' : ''); ?>" name="password" placeholder="<?php echo e(__tr('Password')); ?>" type="password" value="" required autocomplete="current-password">
                            </div>
                        </div>
                        <div class="custom-control custom-control-alternative custom-checkbox">
                            <input class="custom-control-input" name="remember" id="customCheckLogin" type="checkbox" <?php echo e(old('remember') ? 'checked' : ''); ?>>
                            <label class="custom-control-label" for="customCheckLogin">
                                <span class="text-light"><?php echo e(__tr('Remember me')); ?></span>
                            </label>
                            <?php if(Route::has('auth.password.request')): ?>
                            <a href="<?php echo e(route('auth.password.request')); ?>" class="text-light float-right">
                                <small><?php echo e(__tr('Forgot password?')); ?></small>
                            </a>
                            <?php endif; ?>
                        </div>
                        <div class="text-center">
                            <button type="submit" class="btn btn-success my-4 btn-lg btn-block"><?php echo e(__tr('Login')); ?></button>
                        </div>
                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald0b55ee435ec3aeeadffee8b0df479da)): ?>
<?php $attributes = $__attributesOriginald0b55ee435ec3aeeadffee8b0df479da; ?>
<?php unset($__attributesOriginald0b55ee435ec3aeeadffee8b0df479da); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald0b55ee435ec3aeeadffee8b0df479da)): ?>
<?php $component = $__componentOriginald0b55ee435ec3aeeadffee8b0df479da; ?>
<?php unset($__componentOriginald0b55ee435ec3aeeadffee8b0df479da); ?>
<?php endif; ?>
                </div>
                <hr class="m-0">
                <div class="card-footer text-center">
                    <!-- social login links -->
                    <?php if(getAppSettings('allow_google_login')): ?>
                    <a href="<?= route('login.google') ?>" class="btn btn-google btn-user btn-block">
                        <i class="fab fa-google fa-fw"></i> <?= __tr('Continue with Google')  ?>
                    </a>
                    <?php endif; ?>
                    <?php if(getAppSettings('allow_facebook_login')): ?>
                    <a href="<?= route('login.facebook') ?>" class="btn btn-facebook btn-user btn-block">
                        <i class="fab fa-facebook-f fa-fw"></i> <?= __tr('Continue with Facebook')  ?>
                    </a>
                    <?php endif; ?>
                    <?php if(getAppSettings('enable_vendor_registration')): ?>
                    <!-- social login links -->
                    <div class="mb-3 mt-5 text-dark">
                        <?php echo e(__tr('If you don\'t have an Account yet? Create One! Its Free!!')); ?>

                    </div>
                    <a href="<?php echo e(route('auth.register')); ?>" class="btn btn-lg btn-warning">
                        <?php echo e(__tr('Create New Account')); ?>

                    </a>
                    <?php elseif(getAppSettings('message_for_disabled_registration')): ?>
                    <div class="mb-3 mt-5">
                        <?php echo e(__tr('Want to create New Account?')); ?>

                    </div>
                    <a href="<?php echo e(route('auth.register')); ?>" class="btn btn-lg btn-warning">
                        <small><?php echo e(__tr('More Info')); ?></small>
                    </a>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', ['class' => 'main-content-has-bg'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/agentkoncepts/public_html/resources/views/auth/login.blade.php ENDPATH**/ ?>