0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.12.147.12


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/85.77fd69bf.chunk.js.map

{"version":3,"sources":["../node_modules/reactstrap/es/CardGroup.js","pages/registration/Login/Login.js","../node_modules/reactstrap/es/Button.js","../node_modules/reactstrap/es/Card.js","../node_modules/reactstrap/es/CardBody.js"],"names":["propTypes","tag","utils","className","prop_types_default","a","string","cssModule","object","CardGroup_CardGroup","props","Tag","attributes","Object","objectWithoutPropertiesLoose","classes","classnames_default","react_default","createElement","esm_extends","defaultProps","es_CardGroup","Login","state","fmobileno","fpasswd","fmobileerror","fpasswderror","login","_callee","e","data","_this$state","error","_error","_error2","regenerator_default","wrap","_context","prev","next","preventDefault","_this","header","content","showError","setState","abrupt","length","stop","handleChange","test","value","name","defineProperty","Container","errorMessage","Card","style","width","CardBody","height","display","alignItems","alignContent","Form","onSubmit","this","Field","Input","maxLength","minLength","autoFocus","icon","iconPosition","placeholder","onChange","autoComplete","type","Button","color","textAlign","Link","to","margin","active","tabIndex","Component","connect","logindet","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__","_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__","_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__","react__WEBPACK_IMPORTED_MODULE_4__","react__WEBPACK_IMPORTED_MODULE_4___default","n","prop_types__WEBPACK_IMPORTED_MODULE_5__","prop_types__WEBPACK_IMPORTED_MODULE_5___default","classnames__WEBPACK_IMPORTED_MODULE_6__","classnames__WEBPACK_IMPORTED_MODULE_6___default","_utils__WEBPACK_IMPORTED_MODULE_7__","bool","aria-label","block","disabled","outline","innerRef","oneOfType","func","onClick","size","children","node","close","_React$Component","call","bind","_proto","prototype","render","_this$props","ariaLabel","aria-hidden","btnOutlineColor","href","defaultAriaLabel","undefined","ref","__webpack_exports__","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","prop_types__WEBPACK_IMPORTED_MODULE_3__","prop_types__WEBPACK_IMPORTED_MODULE_3___default","classnames__WEBPACK_IMPORTED_MODULE_4__","classnames__WEBPACK_IMPORTED_MODULE_4___default","_utils__WEBPACK_IMPORTED_MODULE_5__","inverse","body"],"mappings":"yRAMAA,EAAA,CACAC,IAAOC,EAAA,EACPC,UAAaC,EAAAC,EAASC,OACtBC,UAAaH,EAAAC,EAASG,QAMlBC,EAAS,SAAAC,GACb,IAAAP,EAAAO,EAAAP,UACAI,EAAAG,EAAAH,UACAI,EAAAD,EAAAT,IACAW,EAAmBC,OAAAC,EAAA,EAAAD,CAA6BH,EAAA,iCAEhDK,EAAgBF,OAAAX,EAAA,EAAAW,CAAgBG,IAAUb,EAAA,cAAAI,GAC1C,OAASU,EAAAZ,EAAKa,cAAAP,EAAoBE,OAAAM,EAAA,EAAAN,CAAQ,GAAGD,EAAA,CAC7CT,UAAAY,MAIAN,EAAST,YACTS,EAASW,aAjBT,CACAnB,IAAA,OAiBe,IAAAoB,EAAA,iECpBTC,6MACJC,MAAQ,CACNC,UAAW,GACXC,QAAS,GACTC,cAAc,EACdC,cAAc,KAGhBC,4CAAQ,SAAAC,EAAOC,EAAGC,GAAV,IAAAC,EAAAR,EAAAC,EAAAQ,EAAAC,EAAAC,EAAAP,EAAA,OAAAQ,EAAA/B,EAAAgC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,UACNV,EAAEW,iBADIT,EAEyBU,EAAKnB,MAA5BC,EAFFQ,EAEER,UAAWC,EAFbO,EAEaP,QACD,KAAdD,EAHE,CAAAc,EAAAE,KAAA,eAIEP,EAAQ,CAAEU,OAAQ,QAASC,QAAS,oBAC1CF,E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/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n  tag: tagPropType,\n  className: PropTypes.string,\n  cssModule: PropTypes.object\n};\nvar defaultProps = {\n  tag: 'div'\n};\n\nvar CardGroup = function CardGroup(props) {\n  var className = props.className,\n      cssModule = props.cssModule,\n      Tag = props.tag,\n      attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\"]);\n\n  var classes = mapToCssModules(classNames(className, 'card-group'), cssModule);\n  return React.createElement(Tag, _extends({}, attributes, {\n    className: classes\n  }));\n};\n\nCardGroup.propTypes = propTypes;\nCardGroup.defaultProps = defaultProps;\nexport default CardGroup;","import React, { useState, Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { Form } from \"semantic-ui-react\";\nimport { Button, Card, CardBody, CardGroup, Container } from \"reactstrap\";\nimport { connect } from \"react-redux\";\nimport { login } from \"../../../actions/registration/loginRegn\";\nimport { showError } from \"../../../actions\";\nimport ErrorModal from \"../../../containers/DefaultLayout/errorMessage\";\n\nclass Login extends Component {\n  state = {\n    fmobileno: \"\",\n    fpasswd: \"\",\n    fmobileerror: false,\n    fpasswderror: false\n  };\n\n  login = async (e, data) => {\n    e.preventDefault();\n    const { fmobileno, fpasswd } = this.state;\n    if (fmobileno === \"\") {\n      const error = { header: \"Error\", content: \"Enter Mobile No.\" };\n      this.props.showError(error);\n      this.setState({ fmobileerror: true });\n      return;\n    }\n    if (fmobileno.length < 10) {\n      const error = {\n        header: \"Error\",\n        content: \"Enter 10 digits for Mobile No.\"\n      };\n      this.props.showError(error);\n      this.setState({ fmobileerror: true });\n      return;\n    }\n    if (fpasswd === \"\") {\n      const error = { header: \"Error\", content: \"Enter Your password\" };\n      this.props.showError(error);\n      this.setState({ fpasswderror: true });\n      return;\n    }\n    const login = { fmobileno: fmobileno, fpasswd: fpasswd };\n    await this.props.login(login);\n  };\n\n  handleChange = (e, data) => {\n    // validation for accepting only numbers\n    this.setState({ fmobileerror: false, fpasswderror: false });\n    if (!/^\\d*$/.test(data.value) && data.name == \"fmobileno\") return;\n    this.setState({ [data.name]: data.value });\n  };\n\n  render() {\n    return (\n      <div className=\"app flex-row align-items-center\">\n        <Container>\n          <div className=\"row justify-content-center\">\n            <ErrorModal />\n            <div className=\"col-md-8\">\n              <CardGroup>\n                <Card\n                  className=\"text-white bg-blue py-5 d-md-down-none\"\n                  style={{ width: \"44%\" }}\n                >\n                  <CardBody className=\"text-center\">\n                    <div\n                      style={{\n                        height: \"100%\",\n                        display: \"flex\",\n                        alignItems: \"center\",\n                        alignContent: \"center\"\n                      }}\n                    >\n                      <h2 style={{ width: \"100%\" }}>E-Governance Portal</h2>\n                    </div>\n                  </CardBody>\n                </Card>\n                <Card className=\"p-4\">\n                  <CardBody>\n                    <Form onSubmit={this.login}>\n                      <h1>Login</h1>\n                      <p className=\"text-muted\">Sign In to your account</p>\n                      <Form.Field>\n                        <Form.Input\n                          error={this.state.fmobileerror}\n                          maxLength=\"10\"\n                          minLength=\"10\"\n                          name=\"fmobileno\"\n                          autoFocus\n                          icon=\"mobile alternate\"\n                          iconPosition=\"left\"\n                          placeholder=\"Mobile No.\"\n                          value={this.state.fmobileno}\n                          onChange={this.handleChange}\n                          autoComplete=\"off\"\n                        />\n                      </Form.Field>\n                      <Form.Field>\n                        <Form.Input\n                          error={this.state.fpasswderror}\n                          name=\"fpasswd\"\n                          type=\"password\"\n                          icon=\"lock\"\n                          iconPosition=\"left\"\n                          placeholder=\"Password....\"\n                          maxLength=\"25\"\n                          value={this.state.fpasswd}\n                          onChange={this.handleChange}\n                        />\n                      </Form.Field>\n                      <div className=\"row\">\n                        <div className=\"col-md-6\">\n                          <Button color=\"primary\" className=\"px-4\">\n                            Login\n                          </Button>\n                        </div>\n                        <div\n                          className=\"col-md-6\"\n                          style={{ textAlign: \"right\" }}\n                        >\n                          <Link to=\"/forgot-passwd\">\n                            <Button color=\"link\" className=\"px-0\">\n                              <b>Forgot password?</b>\n                            </Button>\n                          </Link>\n                        </div>\n                      </div>\n                      <div className=\"row\">\n                        <div style={{ margin: \"0 auto\" }}>\n                          <Link to=\"/register\">\n                            <Button\n                              color=\"link\"\n                              className=\"mt-3\"\n                              active\n                              tabIndex={-1}\n                            >\n                              <b>Click here to Register</b>\n                            </Button>\n                          </Link>\n                        </div>\n                      </div>\n                    </Form>\n                  </CardBody>\n                </Card>\n              </CardGroup>\n            </div>\n          </div>\n        </Container>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  return {\n    logindet: state.login\n  };\n};\nexport default connect(\n  mapStateToProps,\n  {\n    login,\n    showError\n  }\n)(Login);\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n  active: PropTypes.bool,\n  'aria-label': PropTypes.string,\n  block: PropTypes.bool,\n  color: PropTypes.string,\n  disabled: PropTypes.bool,\n  outline: PropTypes.bool,\n  tag: tagPropType,\n  innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),\n  onClick: PropTypes.func,\n  size: PropTypes.string,\n  children: PropTypes.node,\n  className: PropTypes.string,\n  cssModule: PropTypes.object,\n  close: PropTypes.bool\n};\nvar defaultProps = {\n  color: 'secondary',\n  tag: 'button'\n};\n\nvar Button = /*#__PURE__*/function (_React$Component) {\n  _inheritsLoose(Button, _React$Component);\n\n  function Button(props) {\n    var _this;\n\n    _this = _React$Component.call(this, props) || this;\n    _this.onClick = _this.onClick.bind(_assertThisInitialized(_assertThisInitialized(_this)));\n    return _this;\n  }\n\n  var _proto = Button.prototype;\n\n  _proto.onClick = function onClick(e) {\n    if (this.props.disabled) {\n      e.preventDefault();\n      return;\n    }\n\n    if (this.props.onClick) {\n      this.props.onClick(e);\n    }\n  };\n\n  _proto.render = function render() {\n    var _this$props = this.props,\n        active = _this$props.active,\n        ariaLabel = _this$props['aria-label'],\n        block = _this$props.block,\n        className = _this$props.className,\n        close = _this$props.close,\n        cssModule = _this$props.cssModule,\n        color = _this$props.color,\n        outline = _this$props.outline,\n        size = _this$props.size,\n        Tag = _this$props.tag,\n        innerRef = _this$props.innerRef,\n        attributes = _objectWithoutPropertiesLoose(_this$props, [\"active\", \"aria-label\", \"block\", \"className\", \"close\", \"cssModule\", \"color\", \"outline\", \"size\", \"tag\", \"innerRef\"]);\n\n    if (close && typeof attributes.children === 'undefined') {\n      attributes.children = React.createElement(\"span\", {\n        \"aria-hidden\": true\n      }, \"\\xD7\");\n    }\n\n    var btnOutlineColor = \"btn\" + (outline ? '-outline' : '') + \"-\" + color;\n    var classes = mapToCssModules(classNames(className, {\n      close: close\n    }, close || 'btn', close || btnOutlineColor, size ? \"btn-\" + size : false, block ? 'btn-block' : false, {\n      active: active,\n      disabled: this.props.disabled\n    }), cssModule);\n\n    if (attributes.href && Tag === 'button') {\n      Tag = 'a';\n    }\n\n    var defaultAriaLabel = close ? 'Close' : null;\n    return React.createElement(Tag, _extends({\n      type: Tag === 'button' && attributes.onClick ? 'button' : undefined\n    }, attributes, {\n      className: classes,\n      ref: innerRef,\n      onClick: this.onClick,\n      \"aria-label\": ariaLabel || defaultAriaLabel\n    }));\n  };\n\n  return Button;\n}(React.Component);\n\nButton.propTypes = propTypes;\nButton.defaultProps = defaultProps;\nexport default Button;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, deprecated, tagPropType } from './utils';\nvar propTypes = {\n  tag: tagPropType,\n  inverse: PropTypes.bool,\n  color: PropTypes.string,\n  block: deprecated(PropTypes.bool, 'Please use the props \"body\"'),\n  body: PropTypes.bool,\n  outline: PropTypes.bool,\n  className: PropTypes.string,\n  cssModule: PropTypes.object,\n  innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n  tag: 'div'\n};\n\nvar Card = function Card(props) {\n  var className = props.className,\n      cssModule = props.cssModule,\n      color = props.color,\n      block = props.block,\n      body = props.body,\n      inverse = props.inverse,\n      outline = props.outline,\n      Tag = props.tag,\n      innerRef = props.innerRef,\n      attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"color\", \"block\", \"body\", \"inverse\", \"outline\", \"tag\", \"innerRef\"]);\n\n  var classes = mapToCssModules(classNames(className, 'card', inverse ? 'text-white' : false, block || body ? 'card-body' : false, color ? (outline ? 'border' : 'bg') + \"-\" + color : false), cssModule);\n  return React.createElement(Tag, _extends({}, attributes, {\n    className: classes,\n    ref: innerRef\n  }));\n};\n\nCard.propTypes = propTypes;\nCard.defaultProps = defaultProps;\nexport default Card;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n  tag: tagPropType,\n  className: PropTypes.string,\n  cssModule: PropTypes.object,\n  innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n  tag: 'div'\n};\n\nvar CardBody = function CardBody(props) {\n  var className = props.className,\n      cssModule = props.cssModule,\n      innerRef = props.innerRef,\n      Tag = props.tag,\n      attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"innerRef\", \"tag\"]);\n\n  var classes = mapToCssModules(classNames(className, 'card-body'), cssModule);\n  return React.createElement(Tag, _extends({}, attributes, {\n    className: classes,\n    ref: innerRef\n  }));\n};\n\nCardBody.propTypes = propTypes;\nCardBody.defaultProps = defaultProps;\nexport default CardBody;"],"sourceRoot":""}