(self["webpackChunkLearningchain"] = self["webpackChunkLearningchain"] || []).push([["src_app_pages_signup_signup_module_ts"],{

/***/ 1542:
/*!*******************************************************!*\
  !*** ./src/app/pages/signup/signup-routing.module.ts ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "SignupPageRoutingModule": () => (/* binding */ SignupPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 1855);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2741);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9535);
/* harmony import */ var _signup_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./signup.page */ 9483);




const routes = [
    {
        path: '',
        component: _signup_page__WEBPACK_IMPORTED_MODULE_0__.SignupPage
    }
];
let SignupPageRoutingModule = class SignupPageRoutingModule {
};
SignupPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule],
    })
], SignupPageRoutingModule);



/***/ }),

/***/ 5415:
/*!***********************************************!*\
  !*** ./src/app/pages/signup/signup.module.ts ***!
  \***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "SignupPageModule": () => (/* binding */ SignupPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 1855);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2741);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 6274);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ 6820);
/* harmony import */ var _signup_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./signup-routing.module */ 1542);
/* harmony import */ var _signup_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./signup.page */ 9483);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 3324);







let SignupPageModule = class SignupPageModule {
};
SignupPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.NgModule)({
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_5__.ReactiveFormsModule,
            _ionic_angular__WEBPACK_IMPORTED_MODULE_6__.IonicModule,
            _signup_routing_module__WEBPACK_IMPORTED_MODULE_0__.SignupPageRoutingModule
        ],
        declarations: [_signup_page__WEBPACK_IMPORTED_MODULE_1__.SignupPage]
    })
], SignupPageModule);



/***/ }),

/***/ 9483:
/*!*********************************************!*\
  !*** ./src/app/pages/signup/signup.page.ts ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "SignupPage": () => (/* binding */ SignupPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! tslib */ 1855);
/* harmony import */ var _raw_loader_signup_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./signup.page.html */ 2788);
/* harmony import */ var _signup_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./signup.page.scss */ 9233);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 2741);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 3324);
/* harmony import */ var _ionic_native_sqlite_ngx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ionic-native/sqlite/ngx */ 2397);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 6820);
/* harmony import */ var src_app_services_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/api.service */ 3734);
/* harmony import */ var src_app_services_common_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/common.service */ 6880);
/* harmony import */ var src_app_services_db_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/services/db.service */ 5185);
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/environments/environment */ 4766);











let SignupPage = class SignupPage {
    constructor(navCtrl, platform, sqlite, apiService, dbService, commonService, formBuilder) {
        this.navCtrl = navCtrl;
        this.platform = platform;
        this.sqlite = sqlite;
        this.apiService = apiService;
        this.dbService = dbService;
        this.commonService = commonService;
        this.formBuilder = formBuilder;
        this.row_data = [];
        this.token = '';
        this.walletAddress = '';
        this.passwordType = 'password';
        this.passwordIcon = 'eye-off';
        this.cpasswordType = 'password';
        this.cpasswordIcon = 'eye-off';
    }
    ngOnInit() {
        this.resetForm();
    }
    ionViewDidEnter() {
        this.platform.ready().then(() => {
            this.dbService.createDB();
        }).catch(error => {
            console.log(error);
        });
    }
    login() {
        this.navCtrl.navigateRoot(['/home']);
    }
    checkcondition() {
        // if(this.signUpForm.value.nowallet === true) {
        //   this.generatetoken();
        // }
        //  else
        //  {
        //    this.signup();
        //  } 
        this.commonService.showLoader();
        this.generatetoken();
    }
    signup() {
        this.commonService.showLoader();
        this.dbService.databaseObj.executeSql("INSERT INTO learningchaintb(UserId,UserName,FirstName,LastName,Blockchainaddress,Password) VALUES ('" + this.signUpForm.value.userName + "','" + this.signUpForm.value.userName + "','" + this.signUpForm.value.firstName + "','" + this.signUpForm.value.lastName + "','" + this.walletAddress + "','" + this.signUpForm.value.password + "') ", [])
            .then(() => {
            this.navCtrl.navigateRoot(['/home']);
            this.commonService.showToast('Registration done successfully');
            setTimeout(() => {
                this.commonService.dismissLoader();
            }, 1000);
        })
            .catch(e => {
            this.commonService.showErrorShowToast("Unable to do Registration. Please contact admin");
        });
        // console.log("first name is ", this.signUpForm.value.firstName); 
        // console.log("nowallet value ",this.signUpForm.value.nowallet);
        // alert("nowallet value is "+ this.signUpForm.value.nowallet);
        // if(this.signUpForm.value.nowallet === true)
        // {
        //   this.dbService.databaseObj.executeSql("INSERT INTO learningchaintb(UserName,FirstName,LastName,Blockchainaddress,Password) VALUES ('"+ this.signUpForm.value.userName +"','"+ this.signUpForm.value.firstName+"','"+ this.signUpForm.value.lastName+"','"+ this.walletAddress+"','"+ this.signUpForm.value.password+"') ", [])
        //   .then(() => {
        //     this.navCtrl.navigateRoot(['/login'])
        //   })
        //   .catch(e => {
        //     alert("error " + JSON.stringify(e))
        //   });
        // }
        // else {
        //   if(this.signUpForm.value.walletid.trim() != '')
        //   {
        //     this.dbService.databaseObj.executeSql("INSERT INTO learningchaintb(UserName,FirstName,LastName,Blockchainaddress,Password) VALUES ('"+ this.signUpForm.value.userName +"','"+ this.signUpForm.value.firstName+"','"+ this.signUpForm.value.lastName+"','"+ this.signUpForm.value.walletid+"','"+ this.signUpForm.value.password+"') ", [])
        //   .then(() => {
        //     this.navCtrl.navigateRoot(['/login'])
        //   })
        //   .catch(e => {
        //     alert("error " + JSON.stringify(e))
        //   });
        //   }
        //   else {
        //     alert("Enter value for wallet id ")
        //   }
        // }    
        // this.dbService.databaseObj.executeSql("INSERT INTO learningchaintb(UserName,FirstName,LastName,Password) VALUES ('"+ this.signUpForm.value.userName +"','"+ this.signUpForm.value.firstName+"','"+ this.signUpForm.value.lastName+"','" + this.signUpForm.value.password+"') ", [])
        // .then(() => {
        //  // this.commonService.showToast('Row Inserted! with given wallet id');
        //   this.navCtrl.navigateRoot(['/login'])
        //  // this.getRows();
        // })
        // .catch(e => {
        //   alert("error " + JSON.stringify(e))
        // });
    }
    generatetoken() {
        let data = {
            clientID: src_environments_environment__WEBPACK_IMPORTED_MODULE_6__.environment.clientID,
            secretKey: src_environments_environment__WEBPACK_IMPORTED_MODULE_6__.environment.secretKey
        };
        this.apiService.postData('users/authenticate', data).subscribe((response) => {
            setTimeout(() => {
            }, 1000);
            this.token = response.token;
            // this.signup(); 
            this.createwallet();
        }, err => {
            this.commonService.showToast(err.message);
            // alert("message in err "+ JSON.stringify(err))
            setTimeout(() => {
                this.commonService.dismissLoader();
            }, 1000);
        });
    }
    createwallet() {
        this.walletAddress = '';
        let data = {
            tenantID: this.signUpForm.value.userName,
            password: this.signUpForm.value.password
        };
        this.apiService.postDataToken('student/createTenantWallet', data).subscribe((response) => {
            if (response.Status === 'Success') {
                this.walletAddress = response.Address;
                this.commonService.showToast(response.Message);
                if (response.Message != 'Wallet already exist')
                    this.signup();
                else {
                    setTimeout(() => {
                        this.commonService.dismissLoader();
                    }, 1000);
                }
            }
            else {
                // this.commonService.showAlert();
                this.commonService.showToast(response.message);
            }
        }, err => {
            this.commonService.showToast(err.message);
            setTimeout(() => {
                this.commonService.dismissLoader();
            }, 1000);
        });
    }
    resetForm() {
        this.signUpForm = this.formBuilder.group({
            userName: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.compose([_angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.maxLength(10), _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.minLength(10), _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.pattern("[0-9]{10}")])],
            firstName: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.compose([_angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.required])],
            lastName: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.compose([_angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.required])],
            password: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.compose([_angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.minLength(8)])],
            confirmPassword: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.compose([_angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.Validators.minLength(8)])],
        });
    }
    checklength() {
        //  let len = this.signUpForm.value.userName().length;
    }
    // Retrieve rows from table
    getRows() {
        this.dbService.databaseObj.executeSql(`
                            SELECT * FROM learningchaintb
                            `, [])
            .then((res) => {
            this.row_data = [];
            if (res.rows.length > 0) {
                for (var i = 0; i < res.rows.length; i++) {
                    this.row_data.push(res.rows.item(i));
                }
            }
        })
            .catch(e => {
            this.commonService.showErrorShowToast("Something went wrong with fetching data");
        });
    }
    walletcheck(event) {
    }
    hideShowPassword() {
        this.passwordType = this.passwordType === 'text' ? 'password' : 'text';
        this.passwordIcon = this.passwordIcon === 'eye-off' ? 'eye' : 'eye-off';
    }
    hideShowCPassword() {
        this.cpasswordType = this.cpasswordType === 'text' ? 'password' : 'text';
        this.cpasswordIcon = this.cpasswordIcon === 'eye-off' ? 'eye' : 'eye-off';
    }
};
SignupPage.ctorParameters = () => [
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.NavController },
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.Platform },
    { type: _ionic_native_sqlite_ngx__WEBPACK_IMPORTED_MODULE_2__.SQLite },
    { type: src_app_services_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService },
    { type: src_app_services_db_service__WEBPACK_IMPORTED_MODULE_5__.DbService },
    { type: src_app_services_common_service__WEBPACK_IMPORTED_MODULE_4__.CommonService },
    { type: _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormBuilder }
];
SignupPage = (0,tslib__WEBPACK_IMPORTED_MODULE_9__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_10__.Component)({
        selector: 'app-signup',
        template: _raw_loader_signup_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_signup_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], SignupPage);



/***/ }),

/***/ 9233:
/*!***********************************************!*\
  !*** ./src/app/pages/signup/signup.page.scss ***!
  \***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (".mainblock {\n  width: 100%;\n  padding: 15px;\n}\n\n.hcenter {\n  margin-left: auto;\n  margin-right: auto;\n  align-items: center;\n  display: block;\n}\n\n.btmblock {\n  width: 100%;\n  bottom: 20px;\n  position: absolute;\n  font-size: 14px;\n}\n\n.logintxt {\n  color: var(--ion-color-primary);\n  font-weight: 600;\n}\n\n.cbdiv {\n  padding-top: 10px;\n}\n\n.checksubdiv {\n  height: 17px;\n}\n\n.check {\n  --border-width: 1px;\n  width: 17px;\n  height: 17px;\n  --ion-color-base: var(--ion-color-light, #f4f5f8);\n  --border-color: #aaaaaa;\n  --border-radius: 2px;\n  margin-top: auto;\n  margin-bottom: auto;\n  align-items: center;\n}\n\n.checklabel {\n  margin-left: 10px;\n  text-align: left;\n  font: var(--ion-font-family5);\n  font-size: 14px;\n  color: #818181;\n  line-height: 17px !important;\n}\n\n.footertext2 {\n  color: #0000EE;\n  font-size: 14px;\n}\n\nion-label {\n  color: #282121;\n  margin-left: 4px !important;\n}\n\n.showpwd {\n  font-size: 20px;\n  color: black;\n}\n\n.showpwdbtn {\n  background: transparent !important;\n}\n\n.fright {\n  right: 20px;\n  position: absolute;\n}\n\n.pwd {\n  --background: transparent;\n  background: transparent;\n  right: 40px;\n  position: absolute;\n  font-size: 20px;\n  align-items: center;\n  display: flex;\n  text-align: baseline;\n  top: 40px;\n}\n\nion-item {\n  --background: transparent;\n  margin-bottom: 16px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNpZ251cC5wYWdlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDb0IsV0FBQTtFQUNBLGFBQUE7QUFDcEI7O0FBRUE7RUFDb0IsaUJBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0VBQ0EsY0FBQTtBQUNwQjs7QUFFQTtFQUNvQixXQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EsZUFBQTtBQUNwQjs7QUFFQTtFQUNvQiwrQkFBQTtFQUNBLGdCQUFBO0FBQ3BCOztBQUdBO0VBQ29CLGlCQUFBO0FBQXBCOztBQUdBO0VBQ29CLFlBQUE7QUFBcEI7O0FBR0E7RUFDb0IsbUJBQUE7RUFDQSxXQUFBO0VBQ0EsWUFBQTtFQUNBLGlEQUFBO0VBQ0EsdUJBQUE7RUFDQSxvQkFBQTtFQUNBLGdCQUFBO0VBQ0EsbUJBQUE7RUFDQSxtQkFBQTtBQUFwQjs7QUFHQTtFQUNvQixpQkFBQTtFQUNBLGdCQUFBO0VBQ0EsNkJBQUE7RUFDQSxlQUFBO0VBQ0EsY0FBQTtFQUNBLDRCQUFBO0FBQXBCOztBQUdBO0VBQ29CLGNBQUE7RUFDQSxlQUFBO0FBQXBCOztBQUdBO0VBQ29CLGNBQUE7RUFDQSwyQkFBQTtBQUFwQjs7QUFHQTtFQUNJLGVBQUE7RUFDQSxZQUFBO0FBQUo7O0FBR0E7RUFDSSxrQ0FBQTtBQUFKOztBQUdBO0VBQ0ksV0FBQTtFQUNBLGtCQUFBO0FBQUo7O0FBR0E7RUFDUSx5QkFBQTtFQUNBLHVCQUFBO0VBQ0EsV0FBQTtFQUNBLGtCQUFBO0VBQ0EsZUFBQTtFQUNBLG1CQUFBO0VBQ0EsYUFBQTtFQUNBLG9CQUFBO0VBR0EsU0FBQTtBQUZSOztBQUtDO0VBQ0cseUJBQUE7RUFDQSxtQkFBQTtBQUZKIiwiZmlsZSI6InNpZ251cC5wYWdlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubWFpbmJsb2NrIHtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGggOiAxMDAlOyBcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZyA6IDE1cHg7XG59XG5cbi5oY2VudGVyIHtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQgOiBhdXRvO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQgOiBhdXRvO1xuICAgICAgICAgICAgICAgICAgICBhbGlnbi1pdGVtcyA6IGNlbnRlcjtcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheSA6IGJsb2NrO1xufVxuXG4uYnRtYmxvY2sge1xuICAgICAgICAgICAgICAgICAgICB3aWR0aCA6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbSA6IDIwcHg7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uIDogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZSA6IDE0cHg7XG59XG5cbi5sb2dpbnR4dCB7XG4gICAgICAgICAgICAgICAgICAgIGNvbG9yIDogdmFyKC0taW9uLWNvbG9yLXByaW1hcnkpOyAgXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0IDogNjAwO1xufVxuXG4vL2NoZWNrIGJveCBzdHlsZXNcbi5jYmRpdiB7XG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmctdG9wIDogMTBweDtcbn1cblxuLmNoZWNrc3ViZGl2IHtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0IDogMTdweDtcbn1cblxuLmNoZWNrIHtcbiAgICAgICAgICAgICAgICAgICAgLS1ib3JkZXItd2lkdGggIDogMXB4O1xuICAgICAgICAgICAgICAgICAgICB3aWR0aCAgICAgICAgICAgOiAxN3B4O1xuICAgICAgICAgICAgICAgICAgICBoZWlnaHQgICAgICAgICAgOiAxN3B4O1xuICAgICAgICAgICAgICAgICAgICAtLWlvbi1jb2xvci1iYXNlIDogdmFyKC0taW9uLWNvbG9yLWxpZ2h0LCAjZjRmNWY4KTtcbiAgICAgICAgICAgICAgICAgICAgLS1ib3JkZXItY29sb3IgIDogI2FhYWFhYTtcbiAgICAgICAgICAgICAgICAgICAgLS1ib3JkZXItcmFkaXVzIDogMnB4O1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tdG9wICAgICAgOiBhdXRvO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tICAgOiBhdXRvO1xuICAgICAgICAgICAgICAgICAgICBhbGlnbi1pdGVtcyAgICAgOiBjZW50ZXI7XG59XG5cbi5jaGVja2xhYmVsIHtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQgOiAxMHB4O1xuICAgICAgICAgICAgICAgICAgICB0ZXh0LWFsaWduIDogbGVmdDtcbiAgICAgICAgICAgICAgICAgICAgZm9udCAgICAgICA6IHZhcigtLWlvbi1mb250LWZhbWlseTUpO1xuICAgICAgICAgICAgICAgICAgICBmb250LXNpemUgIDogMTRweDtcbiAgICAgICAgICAgICAgICAgICAgY29sb3IgICAgICA6ICM4MTgxODE7XG4gICAgICAgICAgICAgICAgICAgIGxpbmUtaGVpZ2h0IDogMTdweCAhaW1wb3J0YW50O1xufVxuXG4uZm9vdGVydGV4dDIge1xuICAgICAgICAgICAgICAgICAgICBjb2xvciA6ICMwMDAwRUU7XG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZSA6IDE0cHg7XG59XG5cbmlvbi1sYWJlbCB7XG4gICAgICAgICAgICAgICAgICAgIGNvbG9yIDogIzI4MjEyMTtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQgOiA0cHggIWltcG9ydGFudDtcbn1cblxuLnNob3dwd2Qge1xuICAgIGZvbnQtc2l6ZTogMjBweDtcbiAgICBjb2xvcjogYmxhY2s7XG59XG5cbi5zaG93cHdkYnRuIHtcbiAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudCAhaW1wb3J0YW50O1xufVxuXG4uZnJpZ2h0IHtcbiAgICByaWdodDogMjBweDtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG59XG5cbi5wd2Qge1xuICAgICAgICAtLWJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xuICAgICAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICAgICAgcmlnaHQ6IDQwcHg7XG4gICAgICAgIHBvc2l0aW9uIDogYWJzb2x1dGU7XG4gICAgICAgIGZvbnQtc2l6ZSA6IDIwcHg7XG4gICAgICAgIGFsaWduLWl0ZW1zIDogY2VudGVyO1xuICAgICAgICBkaXNwbGF5IDogZmxleDtcbiAgICAgICAgdGV4dC1hbGlnbiA6IGJhc2VsaW5lO1xuICAgICAgICAvLyBoZWlnaHQ6IDEwMCU7XG4gICAgICAgIC8vIHRvcDogMTdweDtcbiAgICAgICAgdG9wOiA0MHB4O1xuICAgIH1cblxuIGlvbi1pdGVtIHtcbiAgICAtLWJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xuICAgIG1hcmdpbi1ib3R0b206IDE2cHg7XG4gfSJdfQ== */");

/***/ }),

/***/ 2788:
/*!*************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/signup/signup.page.html ***!
  \*************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header>\n          <ion-toolbar>\n                        <ion-buttons slot=\"start\">\n                                  <ion-back-button  icon=\"arrow-back\" defaultHref=\"/home\"> </ion-back-button>\n                        </ion-buttons>\n                        <ion-title>Sign Up</ion-title>\n          </ion-toolbar>\n</ion-header>\n\n<ion-content>\n\n                  <div class=\"mainblock\">\n\n                                <form [formGroup]=\"signUpForm\"> \n\n                                      <ion-item lines=\"none\"> \n                                              <ion-label position=\"stacked\">Mobile Number</ion-label>\n                                              <ion-input type=\"tel\" required class=\"inputbox\" placeholder=\"Mobile Number\" formControlName=\"userName\" (ionFocus)=\"checklength()\"><span class=\"star\">*</span><img src=\"../assets/images/user.png\" class=\"inptimg1\"/></ion-input>\n                                      </ion-item>  \n\n                                      <p class=\"valid_message\" *ngIf=\"( signUpForm.controls.userName.hasError('pattern') ) && signUpForm.controls.userName.touched\">\n                                                    Mobile number must contain only numbers and it must be 10 digits long\n                                      </p>     \n\n                                      <ion-item lines=\"none\">\n                                            <ion-label position=\"stacked\">First Name</ion-label>\n                                            <ion-input type=\"text\" required class=\"inputbox\" placeholder=\"First Name\" formControlName=\"firstName\"><span class=\"star\">*</span><img src=\"../assets/images/user.png\" class=\"inptimg1\"/></ion-input>\n                                      </ion-item>\n\n                                      <ion-item lines=\"none\">\n                                            <ion-label position=\"stacked\">Last Name</ion-label>\n                                            <ion-input type=\"text\" required class=\"inputbox\" placeholder=\"Last Name\" formControlName=\"lastName\"><span class=\"star\">*</span><img src=\"../assets/images/user.png\" class=\"inptimg1\"/></ion-input>\n                                      </ion-item>\n\n                                      <!-- <ion-item lines=\"none\">\n                                        <ion-input type=\"text\" required class=\"inputbox\" placeholder=\"mobileNumber\" formControlName=\"mobileNumber\"><img src=\"../assets/images/call.png\" class=\"inptimg1\"/></ion-input>\n                                      </ion-item> -->\n                                      <!-- <ion-item lines=\"none\">\n                                        <ion-input type=\"text\"  class=\"inputbox\" placeholder=\"Wallet Id\" formControlName=\"walletid\"><img src=\"../assets/images/call.png\" class=\"inptimg1\"/></ion-input>\n                                      </ion-item> -->\n\n                                      <ion-item lines=\"none\">\n                                              <ion-label position=\"stacked\">Password</ion-label>\n                                              <div style=\"display: flex;width: 100%;\" class=\"inputbox\" >\n                                              <ion-input  [type]=\"passwordType\" required placeholder=\"Password\"  style=\"max-width: 83% !important;\" formControlName=\"password\"><img src=\"../assets/images/padlock.png\" class=\"inptimg1\"/>\n                                              </ion-input>\n                                              <button ion-button clear type=\"button\"  class=\"pwd fright\" item-right>   <ion-icon  [name]=\"passwordIcon\" style=\"color: black;\" (click)='hideShowPassword()'> </ion-icon></button>\n                                              <span class=\"star\" style=\"right:26px !important\">*</span>\n                                              </div>\n                                      </ion-item>   \n\n                                      <p class=\"valid_message\" *ngIf=\"( signUpForm.controls.password.hasError('minlength') ) && signUpForm.controls.password.touched\">\n                                                    Required  minimum 8 characters for your Password\n                                      </p>   \n\n                                      <ion-item lines=\"none\">\n                                              <ion-label position=\"stacked\">Confirm Password</ion-label>\n                                              <div style=\"display: flex;width: 100%;\" class=\"inputbox\" >\n                                              <ion-input [type]=\"cpasswordType\" required  placeholder=\"Confirm Password\" style=\"max-width: 83% !important;\" formControlName=\"confirmPassword\"><img src=\"../assets/images/padlock.png\" class=\"inptimg1\"/> </ion-input>\n                                                <button ion-button clear type=\"button\"  class=\"pwd fright\" item-right> <ion-icon [name]=\"cpasswordIcon\"   style=\"color: black;\"  (click)='hideShowCPassword()'> </ion-icon></button>\n                                                <span class=\"star\" style=\"right:26px !important\">*</span>                                             \n                                              </div>\n                                      </ion-item>\n\n                                      <p class=\"valid_message\" *ngIf=\"(signUpForm.value.password != signUpForm.value.confirmPassword)\">\n                                                Password and Confirm password should be same\n                                      </p>\n\n                                      <p  class=\"valid_message\" *ngIf=\"(signUpForm.controls.userName.hasError('required') && signUpForm.controls.userName.touched) || (signUpForm.controls.firstName.hasError('required') && signUpForm.controls.firstName.touched) || (signUpForm.controls.lastName.hasError('required') && signUpForm.controls.lastName.touched) || (signUpForm.controls.password.hasError('required') && signUpForm.controls.password.touched) || (signUpForm.controls.confirmPassword.hasError('required') && signUpForm.controls.confirmPassword.touched)\">\n                                                Please fill all the mandatory(*) fields\n                                      </p>  \n\n                                          <!-- <ion-item lines=\"none\" class=\"mt10\">\n                                          <ion-checkbox color=\"light\" class=\"check\" (ionChange)=\"walletcheck($event)\" formControlName=\"nowallet\"></ion-checkbox>\n                                          <ion-label class=\"checklabel\">I don't have<span class=\"footertext2 pl5\">wallet</span></ion-label>\n                                          </ion-item>        -->\n\n                                      <ion-button type=\"submit\" class=\"btn hcenter\" (click)=\"signup()\"  [disabled]=\"(!signUpForm.valid) || ((signUpForm.value.password != signUpForm.value.confirmPassword))\">Sign up</ion-button> \n\n                                </form>\n\n                  </div> \n\n                  <div class=\"ion-text-center btmblock\">\n                                  Already have an account? <span class=\"logintxt\" (click)=\"login()\">Log In</span>\n                  </div>\n\n</ion-content>\n");

/***/ })

}]);
//# sourceMappingURL=src_app_pages_signup_signup_module_ts.js.map