<?php $__env->startSection('title', __('Login')); ?>

<?php $__env->startSection('content'); ?>
    <div class="container-fluid h-100">
        <div class="row justify-content-center align-items-center h-100">
            <div class="col-sm-6 col-md-5">
                <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.frontend.card','data' => []]); ?>
<?php $component->withName('frontend.card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
                     <?php $__env->slot('header', null, []); ?> 
                    <div class="setting-lang d-flex align-items-center">
                        <i class="fa fa-language fa-2x" aria-hidden="true"></i> &nbsp;
                        <label class="mb-0 mr-2"><?php echo e(__('string.login.setting-lang')); ?></label> </i> &nbsp
                        <select class="form-control form-control-sm multi-lang custom-select" style="width: auto;"> 
                            <option value="en" <?php echo e(getCurrentLang() == 'en' ? 'selected' : ''); ?>>
                                <?php echo e(__('string.login.lang-en')); ?></option>
                            <option value="ja" <?php echo e(getCurrentLang() == 'ja' ? 'selected' : ''); ?>>
                                <?php echo e(__('string.login.lang-ja')); ?></option>
                        </select>
                    </div>

                        <div class="text-center row mt-3">
                            <h5><strong><?php echo e(__('string.login.login')); ?></strong></h5>
                            <small><?php echo e(__('string.login.guide_to_login')); ?></small>
                        </div>
                     <?php $__env->endSlot(); ?>

                     <?php $__env->slot('body', null, []); ?> 
                        <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.forms.post','data' => ['action' => route('frontend.auth.login')]]); ?>
<?php $component->withName('forms.post'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('frontend.auth.login'))]); ?>
                            <div class="form-group row  mb-1">
                                <label for="username" class="col-md-4 col-form-label text-md-right">
                                    <?php echo e(__('string.login.user_id')); ?>

                                </label>

                                <div class="col-md-6">
                                    <input type="text" name="username" id="username"
                                        class="form-control <?php echo e($errors->has('username') ? 'is-invalid' : ''); ?>"
                                        placeholder="<?php echo e(__('string.login.enter_user_id')); ?>"
                                        value="<?php echo e(old('username')); ?>" maxlength="255"
                                        autofocus autocomplete="username" />
                                </div>
                            </div><!--form-group-->
                            
                            <div class="form-group row mb-3">
                                <label for="password" class="col-md-4 col-form-label text-md-right">
                                    <?php echo e(__('string.login.password')); ?>

                                </label>

                                <div class="col-md-6">
                                    <input type="password" name="password" id="password"
                                        class="form-control <?php echo e($errors->has('password') ? 'is-invalid' : ''); ?>"
                                        placeholder="<?php echo e(__('string.login.enter_password')); ?>" maxlength="100"
                                        autocomplete="current-password" />
                                </div>
                            </div><!--form-group-->
            
                            <?php if(config('boilerplate.access.captcha.login')): ?>
                                <div class="row">
                                    <div class="col">
                                        <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script><div id="_g-recaptcha"></div>
                <div class="g-recaptcha"
                    data-sitekey=""
                    data-size="invisible"
                    data-callback="_submitForm"
                    data-badge="bottomright">
                </div><script src="https://www.google.com/recaptcha/api.js" async defer></script><script>var _submitForm,_captchaForm,_captchaSubmit,_execute=true;</script><script>window.addEventListener('load', _loadCaptcha);function _loadCaptcha(){
                _captchaForm=document.querySelector("#_g-recaptcha").closest("form");
                _captchaSubmit=_captchaForm.querySelector('[type=submit]');
                _submitForm=function(){if(typeof _submitEvent==="function"){_submitEvent();grecaptcha.reset();}else{_captchaForm.submit();}};
                _captchaForm.addEventListener('submit',function(e){e.preventDefault();
                if(typeof _beforeSubmit==='function'){_execute=_beforeSubmit(e);}
                if(_execute){grecaptcha.execute();}});}</script>
            
                                        <input type="hidden" name="captcha_status" value="true" />
                                    </div><!--col-->
                                </div><!--row-->
                            <?php endif; ?>

                            <div class="form-group row">
                                <div class="col-md-12 text-center">
                                    <?php if($errors->any()): ?>
                                    <span class="text-danger danger-helper mt-3">
                                        <?php echo e(__('string.login.login_failed')); ?>

                                    </span>
                                    <?php endif; ?>
                                </div>
                            </div>

                            <div class="form-group row">
                                <div class="col-12 d-flex justify-content-end">
                                    <button class="btn btn-primary" type="submit">
                                        <?php echo e(__('string.login.button_login')); ?>

                                    </button>
                                </div>
                            </div><!--form-group-->
                         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
                     <?php $__env->endSlot(); ?>
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
            </div><!--col-md-8-->
        </div><!--row-->
    </div><!--container-->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/cc-faceeye-web/resources/views/frontend/auth/login.blade.php ENDPATH**/ ?>