<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('frontend.template-1.breadcrumb.breadcrumb', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <!-- ========== inner-page-banner end ============= -->

    <div class="signup-section pt-120 pb-120">
        <img alt="image" src="<?php echo e(asset('frontend/images/bg/section-bg.png')); ?>" class="section-bg-top">
        <img alt="image" src="<?php echo e(asset('frontend/images/bg/section-bg.png')); ?>" class="section-bg-bottom">
        <div class="container">
            <div class="row d-flex justify-content-center">
                <div class="col-xl-6 col-lg-8 col-md-10">
                    <div class="form-wrapper wow fadeInUp" data-wow-duration="1.5s" data-wow-delay=".2s">
                        <div class="form-title">
                            <h3><?php echo e(translate('Become a Merchant')); ?></h3>
                            <p><?php echo e(translate('Do you already have an account?')); ?> <a
                                    href="<?php echo e(url('login')); ?>"><?php echo e(translate('Log in here')); ?></a></p>
                        </div>
                        <form class="w-100 register-form" action="<?php echo e(route('merchant.register')); ?>" method="post">
                            <?php echo csrf_field(); ?>
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-inner">
                                        <label><?php echo e(translate('First Name')); ?> <span class="text-danger">*</span></label>
                                        <input type="text" value="<?php echo e(old('first_name')); ?>"
                                            class="<?php $__errorArgs = ['first_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="first_name"
                                            placeholder="<?php echo e(translate('First Name')); ?>">
                                        <?php $__errorArgs = ['first_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="form-inner">
                                        <label><?php echo e(translate('Last Name')); ?> <span class="text-danger">*</span></label>
                                        <input type="text" value="<?php echo e(old('last_name')); ?>"
                                            class="<?php $__errorArgs = ['last_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="last_name"
                                            placeholder="<?php echo e(translate('Last Name')); ?>">
                                        <?php $__errorArgs = ['last_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <div class="form-inner">
                                        <label><?php echo e(translate('Username')); ?> <span class="text-danger">*</span></label>
                                        <input type="text" value="<?php echo e(old('username')); ?>"
                                            class="<?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="username"
                                            placeholder="<?php echo e(translate('Username')); ?>">
                                        <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <div class="form-inner">
                                        <label><?php echo e(translate('Shop Name')); ?> <span class="text-danger">*</span></label>
                                        <input type="text" id="shop_name" value="<?php echo e(old('shop_name')); ?>"
                                            class="<?php $__errorArgs = ['shop_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="shop_name"
                                            placeholder="<?php echo e(translate('Shop Name')); ?>">
                                        <?php $__errorArgs = ['shop_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <span id="error_shop_name"></span>
                                    </div>
                                </div>

                                <div class="col-md-12">
                                    <div class="form-inner">
                                        <label><?php echo e(translate('Enter Your Email')); ?> <span
                                                class="text-danger">*</span></label>
                                        <input type="email" value="<?php echo e(old('email')); ?>"
                                            class="<?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="email"
                                            placeholder="<?php echo e(translate('Enter Your Email')); ?>">
                                        <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <div class="form-inner">
                                        <label><?php echo e(translate('Password')); ?> <span class="text-danger">*</span></label>
                                        <input type="password" class="<?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                            name="password" id="password" placeholder="<?php echo e(translate('Password')); ?>" />
                                        <i class="bi bi-eye-slash" id="togglePassword"></i>
                                        <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <span class="invalid-feedback" role="alert">
                                                <strong><?php echo e($message); ?></strong>
                                            </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <div class="form-inner">
                                        <label><?php echo e(translate('Confirm Password')); ?> <span
                                                class="text-danger">*</span></label>
                                        <input type="password" name="password_confirmation" id="password2"
                                            placeholder="<?php echo e(translate('Confirm Password')); ?>" />
                                        <i class="bi bi-eye-slash" id="togglePassword2"></i>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <div class="form-agreement form-inner d-flex justify-content-between flex-wrap">
                                        <div class="form-group">
                                            <input type="checkbox" name="terms_policy" value="1" id="terms_policy"
                                                <?php echo e(old('terms_policy') == 1 ? 'checked' : ''); ?> required>
                                            <label
                                                for="terms_policy"><?php echo e(translate('I agree to the Terms & Policy')); ?></label><br>



                                            <span class="terms_policy" style="display:none;">
                                                <strong
                                                    class="text-danger"><?php echo e(translate('The Terms & Policy field is required')); ?>.</strong>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <?php if(get_setting('google_recapcha_check') == 1): ?>
                                <div class="g-recaptcha mt-3" data-sitekey="<?php echo e(get_setting('recaptcha_key')); ?>"></div>
                                <?php if(Session::has('g-recaptcha-response')): ?>
                                    <p class="text-danger"> <?php echo e(Session::get('g-recaptcha-response')); ?></p>
                                <?php endif; ?>
                            <?php endif; ?>
                            <button type="submit" class="account-btn"><?php echo e(translate('Create Account')); ?></button>
                        </form>

                        <div class="form-poicy-area mt-3">
                            <p><?php echo e(translate('By clicking the "signup" button, you create a Customer account, and you agree to Customers')); ?>

                                <a href="<?php echo e(get_setting('term_conditions_link')); ?>"
                                    target="_blank"><?php echo e(translate('Terms & Conditions')); ?></a> &
                                <a href="<?php echo e(get_setting('privacy_policy_link')); ?>"
                                    target="_blank"><?php echo e(translate('Privacy Policy')); ?>.</>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.template-1.partials.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\ServBay\www\bidout-update\resources\views/frontend/template-1/auth/merchant_register.blade.php ENDPATH**/ ?>