/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/9.0.39
 * Generated at: 2021-06-04 16:44:12 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class baccount_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent,
                 org.apache.jasper.runtime.JspSourceImports {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(1);
    _jspx_dependants.put("/components/invalid.jsp", Long.valueOf(1622667768096L));
  }

  private static final java.util.Set<java.lang.String> _jspx_imports_packages;

  private static final java.util.Set<java.lang.String> _jspx_imports_classes;

  static {
    _jspx_imports_packages = new java.util.HashSet<>();
    _jspx_imports_packages.add("javax.servlet");
    _jspx_imports_packages.add("javax.servlet.http");
    _jspx_imports_packages.add("javax.servlet.jsp");
    _jspx_imports_classes = null;
  }

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public java.util.Set<java.lang.String> getPackageImports() {
    return _jspx_imports_packages;
  }

  public java.util.Set<java.lang.String> getClassImports() {
    return _jspx_imports_classes;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
  }

  public void _jspDestroy() {
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
      throws java.io.IOException, javax.servlet.ServletException {

    if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
      final java.lang.String _jspx_method = request.getMethod();
      if ("OPTIONS".equals(_jspx_method)) {
        response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
        return;
      }
      if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
        response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
        response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
        return;
      }
    }

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html; charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write(" <meta charset=\"ISO-8859-1\">\r\n");
      out.write("    <title>Artifacts | Account</title>\r\n");
      out.write("    <link rel = \"icon\" href = \"images/icon.jpg\" type = \"image/x-icon\">\r\n");
      out.write("        <link rel=\"stylesheet\" href=\"styleb.css\">\r\n");
      out.write("    <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">\r\n");
      out.write("        <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">\r\n");
      out.write("        <link href=\"https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Poppins:wght@300;400;500;600;700;900&display=swap\" rel=\"stylesheet\">\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write(" \t<div class=\"container\">\r\n");
      out.write(" \t\t<a href=\"about.jsp\">\r\n");
      out.write("            <img src=\"images/logos2.png\" class=\"logo\">\r\n");
      out.write("        </a>\r\n");
      out.write("        <div class=\"card\">\r\n");
      out.write("            <div class=\"inner-box\" id=\"card\">\r\n");
      out.write("                <div class=\"card-front\">\r\n");
      out.write("                ");

String message = (String)session.getAttribute("message");
if (message!=null){
	

      out.write("\t\r\n");
      out.write("<style>\r\n");
      out.write(".alert {\r\n");
      out.write("  padding: 20px;\r\n");
      out.write("  background-color: #f44336;\r\n");
      out.write("  color: white;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write(".closebtn {\r\n");
      out.write("  margin-left: 15px;\r\n");
      out.write("  color: white;\r\n");
      out.write("  font-weight: bold;\r\n");
      out.write("  float: right;\r\n");
      out.write("  font-size: 22px;\r\n");
      out.write("  line-height: 20px;\r\n");
      out.write("  cursor: pointer;\r\n");
      out.write("  transition: 0.3s;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write(".closebtn:hover {\r\n");
      out.write("  color: black;\r\n");
      out.write("}\r\n");
      out.write("</style>\r\n");
      out.write("\r\n");
      out.write("<div class=\"alert\">\r\n");
      out.write("  <span class=\"closebtn\" onclick=\"this.parentElement.style.display='none';\">&times;</span>\r\n");
      out.write("  ");
      out.print( message );
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("\t\r\n");
	
	session.removeAttribute("message");
}



      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                    <h2>LOGIN</h2>\r\n");
      out.write("                    <form action=\"SloginServlet\" method=\"post\">\r\n");
      out.write("                        <div class=\"fields\">\r\n");
      out.write("                            <span class=\"fa fa-user\"></span>\r\n");
      out.write("                            <input name=\"email\" type=\"email\" placeholder=\"Your Email ID\" required>\r\n");
      out.write("                        </div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                        <div class=\"fields space\">\r\n");
      out.write("                            <span class=\"fa fa-lock\"></span>\r\n");
      out.write("                            <input name=\"password\" type=\"password\" class=\"pass-key\" placeholder=\"Password\" required>\r\n");
      out.write("                            <span class=\"show\">SHOW</span>\r\n");
      out.write("                        </div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                        <button type=\"submit\" class=\"submit-btn\"> LOGIN </button>\r\n");
      out.write("                    </form>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                    <a href=\" \"> Forgot Password ?</a>\r\n");
      out.write("\r\n");
      out.write("                    <button type=\"button\" class=\"btn\" onclick=\"openResgister()\"> Don't have Account? </button>\r\n");
      out.write("\r\n");
      out.write("                    <img src=\"images/hands.png\" width=\"450\" height=\"230\" style=\"vertical-align:bottom;margin:10px 150px\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                </div>\r\n");
      out.write("                <section id=\"registerb\"> \r\n");
      out.write("                <div class=\"card-back\">\r\n");
      out.write("                    <h2>REGISTER</h2>\r\n");
      out.write("                    <form action=\"SregisterServlet\" method=\"post\">\r\n");
      out.write("                        <div>\r\n");
      out.write("                            <div class=\"field\">\r\n");
      out.write("                                <span class=\"fa fa-user-circle\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_name\" type=\"text\" placeholder=\"Your Name\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field industry\">\r\n");
      out.write("                                <span class=\"fa fa-industry\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_inds\" type=\"text\" placeholder=\"Industry\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                            <div class=\"field mail\">\r\n");
      out.write("                                <span class=\"fa fa-user\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_email\" type=\"email\" placeholder=\"Your Email ID\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field space\">\r\n");
      out.write("                                <span class=\"fa fa-lock\"></span>\r\n");
      out.write("                                <input name=\"seller_password\" type=\"password\" class=\"pas-key\" placeholder=\"Password\" required>\r\n");
      out.write("                                <span class=\"shows\">SHOW</span>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field type\">\r\n");
      out.write("                                <span class=\"fa fa-shopping-bag\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_btype\" type=\"text\" placeholder=\"Business Type\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("\r\n");
      out.write("                            <div class=\"field address\">\r\n");
      out.write("\r\n");
      out.write("                                <span class=\"fa fa-address-card\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_ad\" type=\"text\" placeholder=\"Address line(1)\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field line\">\r\n");
      out.write("                                <span class=\"fa fa-address-card\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_aline\" type=\"text\" placeholder=\"Address line(2)\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field phone\">\r\n");
      out.write("                                <span class=\"fa fa-phone\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_phone\" type=\"text\" placeholder=\"Your Phone Number\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("\r\n");
      out.write("                            <div class=\"field city\">\r\n");
      out.write("                                <span class=\"fa fa-home\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_city\" type=\"text\" placeholder=\"City\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field pincode\">\r\n");
      out.write("                                <span class=\"fa fa-address-book\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_pincode\" type=\"text\" placeholder=\"Pincode\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field country\">\r\n");
      out.write("                                <span class=\"fa fa-home\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_country\"  type=\"text\" placeholder=\"Country\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("                            <div class=\"field state\">\r\n");
      out.write("                                <span class=\"fa fa-home\"></span>\r\n");
      out.write("\r\n");
      out.write("                                <input name=\"seller_state\"  type=\"text\" placeholder=\"State\" required>\r\n");
      out.write("                            </div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                            <button type=\"submit\" class=\"submit-btn\"> Sign Up </button>\r\n");
      out.write("                        </div>\r\n");
      out.write("\r\n");
      out.write("                    </form>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("                    <button type=\"button\" class=\"btn\" onclick=\"openLogin()\">ALready Have An Account? </button>\r\n");
      out.write("\r\n");
      out.write("                </div>\r\n");
      out.write("                \r\n");
      out.write("              </section>\r\n");
      out.write("            </div>\r\n");
      out.write("        </div>\r\n");
      out.write("\r\n");
      out.write("    </div>\r\n");
      out.write("\r\n");
      out.write("    <script>\r\n");
      out.write("        var card = document.getElementById(\"card\");\r\n");
      out.write("\r\n");
      out.write("        function openResgister() {\r\n");
      out.write("            card.style.transform = \"rotateY(-180deg)\";\r\n");
      out.write("\r\n");
      out.write("        }\r\n");
      out.write("\r\n");
      out.write("        function openLogin() {\r\n");
      out.write("            card.style.transform = \"rotateY( 0deg)\";\r\n");
      out.write("\r\n");
      out.write("        }\r\n");
      out.write("    </script>\r\n");
      out.write("\r\n");
      out.write("    <script>\r\n");
      out.write("        const pass_field = document.querySelector('.pass-key');\r\n");
      out.write("        const showBtn = document.querySelector('.show');\r\n");
      out.write("        showBtn.addEventListener('click', function() {\r\n");
      out.write("            if (pass_field.type === \"password\") {\r\n");
      out.write("                pass_field.type = \"text\";\r\n");
      out.write("                showBtn.textContent = \"HIDE\";\r\n");
      out.write("                showBtn.style.color = \"#3498db\";\r\n");
      out.write("            } else {\r\n");
      out.write("                pass_field.type = \"password\";\r\n");
      out.write("                showBtn.textContent = \"SHOW\";\r\n");
      out.write("                showBtn.style.color = \"#222\";\r\n");
      out.write("            }\r\n");
      out.write("        });\r\n");
      out.write("    </script>\r\n");
      out.write("    <script>\r\n");
      out.write("        const pas_field = document.querySelector('.pas-key');\r\n");
      out.write("        const shownBtn = document.querySelector('.shows');\r\n");
      out.write("        shownBtn.addEventListener('click', function() {\r\n");
      out.write("            if (pas_field.type === \"password\") {\r\n");
      out.write("                pas_field.type = \"text\";\r\n");
      out.write("                shownBtn.textContent = \"HIDE\";\r\n");
      out.write("                shownBtn.style.color = \"#3498db\";\r\n");
      out.write("            } else {\r\n");
      out.write("                pas_field.type = \"password\";\r\n");
      out.write("                shownBtn.textContent = \"SHOW\";\r\n");
      out.write("                shownBtn.style.color = \"#222\";\r\n");
      out.write("            }\r\n");
      out.write("        });\r\n");
      out.write("    </script>\r\n");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
