(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["modules-forgot-password-forgot-password-module"],{
/***/ "./src/app/models/forgot-password.ts":
/*!*******************************************!*\
!*** ./src/app/models/forgot-password.ts ***!
\*******************************************/
/*! exports provided: EmailForm */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmailForm", function() { return EmailForm; });
var EmailForm = /** @class */ (function () {
function EmailForm(email) {
this.email = email;
}
return EmailForm;
}());
/***/ }),
/***/ "./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.html":
/*!*************************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.html ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = "
"
/***/ }),
/***/ "./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.scss":
/*!*************************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.scss ***!
\*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = ".svg-Group-1-dims {\n width: 56.14px;\n height: 69.38px; }\n\n.svg-Group-2-dims {\n width: 67.58px;\n height: 67.12px; }\n\n.svg-Group-3-dims {\n width: 87.39px;\n height: 70.11px; }\n\n.svg-Group-34-dims {\n width: 101.57px;\n height: 109.85px; }\n\n.svg-Group-4-dims {\n width: 98.56px;\n height: 109px; }\n\n.svg-Group-5-dims {\n width: 66.47px;\n height: 60.9px; }\n\n.svg-Group-6-dims {\n width: 82.45px;\n height: 65.73px; }\n\n.svg-Group_15501-dims {\n width: 99.99px;\n height: 100px; }\n\n.svg-app-store-dims {\n width: 322.9px;\n height: 45.03px; }\n\n.svg-feature-1-dims {\n width: 64.5px;\n height: 80px; }\n\n.svg-feature-2-dims {\n width: 78.5px;\n height: 80px; }\n\n.svg-feature-3-dims {\n width: 80px;\n height: 80px; }\n\n.svg-feature-4-dims {\n width: 73.92px;\n height: 80px; }\n\n.svg-icon-back-dims {\n width: 12.27px;\n height: 20.89px; }\n\n.svg-icon-checked-dims {\n width: 32px;\n height: 32px; }\n\n.svg-icon-clear-dims {\n width: 17.67px;\n height: 17.67px; }\n\n.svg-icon-close-dims {\n width: 20.43px;\n height: 20.71px; }\n\n.svg-icon-menu-dims {\n width: 24px;\n height: 19px; }\n\n.svg-icon-next-dims {\n width: 28.16px;\n height: 47.93px; }\n\n.svg-icon-prev-dims {\n width: 28.16px;\n height: 47.93px; }\n\n.svg-icon-success-dims {\n width: 94.29px;\n height: 94.29px; }\n\n.svg-onedna-cancer-dims {\n width: 145.33px;\n height: 55px; }\n\n.svg-onedna-promotion-dims {\n width: 104px;\n height: 104px; }\n\n.svg-onedna-web-logo-dims {\n width: 1436px;\n height: 200px; }\n\n.svg-onedna-web-mobile-logo-dims {\n width: 672px;\n height: 136px; }\n\n.svg-onedna-wellness-dims {\n width: 145.75px;\n height: 55px; }\n\n.svg-pdf-file-dims {\n width: 48.79px;\n height: 63.54px; }\n\n.svg-tab-onedna-dims {\n width: 74px;\n height: 77px; }\n\n.svg-tab-wellness-cancer-dims {\n width: 83.87px;\n height: 97.16px; }\n\n.svg-icon-percent-dims {\n width: 45px;\n height: 32.5px; }\n\n.svg-icon-percent-zh-dims {\n width: 45px;\n height: 32.5px; }\n\n.forgot-password-form {\n max-width: 475px;\n margin: 0 auto;\n padding: 54px 0 270px 17px;\n text-align: center; }\n\n.forgot-password-form::ng-deep .form-input-wrapper {\n margin-bottom: 53px; }\n\n.title {\n font-size: 28px;\n font-weight: 600;\n margin-bottom: 24px;\n line-height: 38px; }\n\n.description {\n font-size: 18px;\n line-height: 22px;\n margin: 0 0 42px -17px; }\n\n.submit-btn {\n display: block;\n margin: auto;\n padding: 16px 62px; }\n\n.redirect {\n display: inline-block;\n font-size: 18px;\n margin-top: 37px; }\n\n@media only screen and (min-width: 768px) and (max-width: 991px) {\n .forgot-password-form {\n max-width: 62.5%;\n padding-bottom: 6.5rem; } }\n\n@media only screen and (max-width: 767px) {\n .title {\n font-size: 25px; }\n .forgot-password-form {\n padding: 54px 0;\n max-width: 92%; }\n .description {\n margin: 0 0 30px 0;\n font-size: 15px; }\n .redirect {\n font-size: 16px; } }\n"
/***/ }),
/***/ "./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.ts":
/*!***********************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.ts ***!
\***********************************************************************************************************/
/*! exports provided: ForgotPasswordFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ForgotPasswordFormComponent", function() { return ForgotPasswordFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js");
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../constants */ "./src/app/constants/index.ts");
/* harmony import */ var _services_loading_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../services/loading.service */ "./src/app/services/loading.service.ts");
/* harmony import */ var src_app_models_forgot_password__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/models/forgot-password */ "./src/app/models/forgot-password.ts");
/* harmony import */ var _services_forget_password_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../services/forget-password.service */ "./src/app/services/forget-password.service.ts");
/* harmony import */ var _services_data_shared_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../services/data-shared.service */ "./src/app/services/data-shared.service.ts");
/* harmony import */ var src_app_services_mixpanel_manager_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/services/mixpanel-manager.service */ "./src/app/services/mixpanel-manager.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ForgotPasswordFormComponent = /** @class */ (function () {
function ForgotPasswordFormComponent(loadingService, fortgetPasswordService, dataShared, mixpanelManagerService) {
this.loadingService = loadingService;
this.fortgetPasswordService = fortgetPasswordService;
this.dataShared = dataShared;
this.mixpanelManagerService = mixpanelManagerService;
this.eventName = 'Page Loaded - Web';
this.pageName = 'Forget PW: Email Sent - Web';
this.submitted = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
this.invalidEmail = false;
this.signInLink = '';
}
ForgotPasswordFormComponent.prototype.ngOnInit = function () {
this.forgetPasswordForm = new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormGroup"]({
'email': new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControl"]('', [
_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required
])
});
if (this.dataShared.currentLang === _constants__WEBPACK_IMPORTED_MODULE_2__["DEFAULT_LANG"]) {
this.signInLink = _constants__WEBPACK_IMPORTED_MODULE_2__["SIGN_IN"];
}
else {
this.signInLink = "/" + this.dataShared.currentLang + _constants__WEBPACK_IMPORTED_MODULE_2__["SIGN_IN"];
}
};
Object.defineProperty(ForgotPasswordFormComponent.prototype, "email", {
get: function () {
return this.forgetPasswordForm.get('email');
},
enumerable: true,
configurable: true
});
ForgotPasswordFormComponent.prototype.emailValidator = function () {
return _constants__WEBPACK_IMPORTED_MODULE_2__["EMAILREGEX"].test(this.email.value);
};
ForgotPasswordFormComponent.prototype.onInput = function () {
this.invalidEmail = false;
};
ForgotPasswordFormComponent.prototype.onSubmit = function () {
var _this = this;
this.loadingService.enableLoading();
this.mixpanelTrackSubmitBtnClicked();
if (this.emailValidator()) {
var data_1 = new src_app_models_forgot_password__WEBPACK_IMPORTED_MODULE_4__["EmailForm"](this.email.value);
this.fortgetPasswordService.fortgetPassword(data_1).subscribe(function () {
_this.submitted.emit();
_this.loadingService.disableLoading();
_this.mixpanelTrackPageLoaded(data_1);
}, function () {
_this.submitted.emit();
_this.loadingService.disableLoading();
});
}
else {
this.invalidEmail = true;
this.loadingService.disableLoading();
}
};
ForgotPasswordFormComponent.prototype.mixpanelTrackPageLoaded = function (formValue) {
var peopleProperties = {
'Last Forget PW Email sent': new Date().toISOString()
};
this.mixpanelManagerService.run('setDistinctId', formValue.email);
this.mixpanelManagerService.run('setUserProperties', peopleProperties);
this.mixpanelManagerService.run('trackingPageLoaded', this.eventName, this.pageName);
};
ForgotPasswordFormComponent.prototype.mixpanelTrackSubmitBtnClicked = function () {
this.mixpanelManagerService.run('trackingTabClicked', 'Forget PW - Reset Password Button Clicked - Web');
};
ForgotPasswordFormComponent.prototype.mixpanelTrackClick = function () {
this.mixpanelManagerService.run('trackingTabClicked', 'Forget PW: Back To Sign In - Web');
};
__decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
__metadata("design:type", Object)
], ForgotPasswordFormComponent.prototype, "submitted", void 0);
ForgotPasswordFormComponent = __decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
selector: 'app-forgot-password-form',
template: __webpack_require__(/*! ./forgot-password-form.component.html */ "./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.html"),
styles: [__webpack_require__(/*! ./forgot-password-form.component.scss */ "./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.scss")]
}),
__metadata("design:paramtypes", [_services_loading_service__WEBPACK_IMPORTED_MODULE_3__["LoadingService"],
_services_forget_password_service__WEBPACK_IMPORTED_MODULE_5__["ForgetPasswordService"],
_services_data_shared_service__WEBPACK_IMPORTED_MODULE_6__["DataSharedService"],
src_app_services_mixpanel_manager_service__WEBPACK_IMPORTED_MODULE_7__["MixpanelManagerService"]])
], ForgotPasswordFormComponent);
return ForgotPasswordFormComponent;
}());
/***/ }),
/***/ "./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.html":
/*!*******************************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.html ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = ""
/***/ }),
/***/ "./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.scss":
/*!*******************************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.scss ***!
\*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = ".svg-Group-1-dims {\n width: 56.14px;\n height: 69.38px; }\n\n.svg-Group-2-dims {\n width: 67.58px;\n height: 67.12px; }\n\n.svg-Group-3-dims {\n width: 87.39px;\n height: 70.11px; }\n\n.svg-Group-34-dims {\n width: 101.57px;\n height: 109.85px; }\n\n.svg-Group-4-dims {\n width: 98.56px;\n height: 109px; }\n\n.svg-Group-5-dims {\n width: 66.47px;\n height: 60.9px; }\n\n.svg-Group-6-dims {\n width: 82.45px;\n height: 65.73px; }\n\n.svg-Group_15501-dims {\n width: 99.99px;\n height: 100px; }\n\n.svg-app-store-dims {\n width: 322.9px;\n height: 45.03px; }\n\n.svg-feature-1-dims {\n width: 64.5px;\n height: 80px; }\n\n.svg-feature-2-dims {\n width: 78.5px;\n height: 80px; }\n\n.svg-feature-3-dims {\n width: 80px;\n height: 80px; }\n\n.svg-feature-4-dims {\n width: 73.92px;\n height: 80px; }\n\n.svg-icon-back-dims {\n width: 12.27px;\n height: 20.89px; }\n\n.svg-icon-checked-dims {\n width: 32px;\n height: 32px; }\n\n.svg-icon-clear-dims {\n width: 17.67px;\n height: 17.67px; }\n\n.svg-icon-close-dims {\n width: 20.43px;\n height: 20.71px; }\n\n.svg-icon-menu-dims {\n width: 24px;\n height: 19px; }\n\n.svg-icon-next-dims {\n width: 28.16px;\n height: 47.93px; }\n\n.svg-icon-prev-dims {\n width: 28.16px;\n height: 47.93px; }\n\n.svg-icon-success-dims {\n width: 94.29px;\n height: 94.29px; }\n\n.svg-onedna-cancer-dims {\n width: 145.33px;\n height: 55px; }\n\n.svg-onedna-promotion-dims {\n width: 104px;\n height: 104px; }\n\n.svg-onedna-web-logo-dims {\n width: 1436px;\n height: 200px; }\n\n.svg-onedna-web-mobile-logo-dims {\n width: 672px;\n height: 136px; }\n\n.svg-onedna-wellness-dims {\n width: 145.75px;\n height: 55px; }\n\n.svg-pdf-file-dims {\n width: 48.79px;\n height: 63.54px; }\n\n.svg-tab-onedna-dims {\n width: 74px;\n height: 77px; }\n\n.svg-tab-wellness-cancer-dims {\n width: 83.87px;\n height: 97.16px; }\n\n.svg-icon-percent-dims {\n width: 45px;\n height: 32.5px; }\n\n.svg-icon-percent-zh-dims {\n width: 45px;\n height: 32.5px; }\n\n.success {\n padding-top: 10%;\n padding-bottom: 20%;\n text-align: center; }\n\n.center-block {\n margin-bottom: 1.625rem; }\n\n.title {\n color: #153438;\n font-size: 1.75rem;\n margin-bottom: 2.75rem; }\n\n.description {\n display: block;\n color: #101010;\n font-size: 1rem;\n line-height: 1.5625rem;\n max-width: 600px;\n margin: 0.625rem auto;\n margin-bottom: 0;\n text-align: center; }\n\n.redirect {\n display: inline-block;\n font-size: 18px;\n margin-top: 37px; }\n\n@media only screen and (max-width: 768px) {\n .success {\n padding-top: 30%; }\n .title {\n margin-bottom: 2.5625rem; }\n .description {\n line-height: 1.5625rem;\n margin: 1.75rem auto;\n margin-bottom: 0;\n max-width: 285px; } }\n\n@media only screen and (max-width: 767px) {\n .redirect {\n font-size: 1rem; } }\n"
/***/ }),
/***/ "./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.ts":
/*!*****************************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.ts ***!
\*****************************************************************************************************************/
/*! exports provided: ForgotPasswordSuccessComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ForgotPasswordSuccessComponent", function() { return ForgotPasswordSuccessComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var src_app_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/constants */ "./src/app/constants/index.ts");
/* harmony import */ var _services_data_shared_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../services/data-shared.service */ "./src/app/services/data-shared.service.ts");
/* harmony import */ var src_app_services_mixpanel_manager_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/mixpanel-manager.service */ "./src/app/services/mixpanel-manager.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ForgotPasswordSuccessComponent = /** @class */ (function () {
function ForgotPasswordSuccessComponent(dataShared, mixpanelManagerService) {
this.dataShared = dataShared;
this.mixpanelManagerService = mixpanelManagerService;
this.signInLink = '';
}
ForgotPasswordSuccessComponent.prototype.ngOnInit = function () {
this.signInLink = "/" + this.dataShared.currentLang + src_app_constants__WEBPACK_IMPORTED_MODULE_1__["SIGN_IN"];
};
ForgotPasswordSuccessComponent.prototype.mixpanelTrackClick = function () {
this.mixpanelManagerService.run('trackingTabClicked', 'Forget PW: Back To Sign In - Web');
};
ForgotPasswordSuccessComponent = __decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
selector: 'app-forgot-password-success',
template: __webpack_require__(/*! ./forgot-password-success.component.html */ "./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.html"),
styles: [__webpack_require__(/*! ./forgot-password-success.component.scss */ "./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.scss")]
}),
__metadata("design:paramtypes", [_services_data_shared_service__WEBPACK_IMPORTED_MODULE_2__["DataSharedService"],
src_app_services_mixpanel_manager_service__WEBPACK_IMPORTED_MODULE_3__["MixpanelManagerService"]])
], ForgotPasswordSuccessComponent);
return ForgotPasswordSuccessComponent;
}());
/***/ }),
/***/ "./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.html":
/*!************************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.html ***!
\************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = ""
/***/ }),
/***/ "./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.scss":
/*!************************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.scss ***!
\************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = ".forgot-password-container {\n padding-top: 90px; }\n"
/***/ }),
/***/ "./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.ts":
/*!**********************************************************************************************************!*\
!*** ./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.ts ***!
\**********************************************************************************************************/
/*! exports provided: ForgotPasswordHomeComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ForgotPasswordHomeComponent", function() { return ForgotPasswordHomeComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _services_seo_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../services/seo.service */ "./src/app/services/seo.service.ts");
/* harmony import */ var src_app_services_mixpanel_manager_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/mixpanel-manager.service */ "./src/app/services/mixpanel-manager.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ForgotPasswordHomeComponent = /** @class */ (function () {
function ForgotPasswordHomeComponent(seoService, mixpanelManagerService) {
this.seoService = seoService;
this.mixpanelManagerService = mixpanelManagerService;
this.eventName = 'Page Loaded - Web';
this.pageName = 'Forget Password - Web VN';
this.submitted = false;
}
ForgotPasswordHomeComponent.prototype.ngOnInit = function () {
this.seoService.updateTitle('forgotPwd.tab');
this.seoService.updateDescription('forgotPwd.siteDes');
this.mixpanelManagerService.run('trackingPageLoaded', this.eventName, this.pageName);
};
ForgotPasswordHomeComponent.prototype.redirect = function () {
this.submitted = true;
};
ForgotPasswordHomeComponent = __decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
selector: 'app-forgot-password-home',
template: __webpack_require__(/*! ./forgot-password-home.component.html */ "./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.html"),
styles: [__webpack_require__(/*! ./forgot-password-home.component.scss */ "./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.scss")]
}),
__metadata("design:paramtypes", [_services_seo_service__WEBPACK_IMPORTED_MODULE_1__["SeoService"],
src_app_services_mixpanel_manager_service__WEBPACK_IMPORTED_MODULE_2__["MixpanelManagerService"]])
], ForgotPasswordHomeComponent);
return ForgotPasswordHomeComponent;
}());
/***/ }),
/***/ "./src/app/modules/forgot-password/forgot-password-routing.module.ts":
/*!***************************************************************************!*\
!*** ./src/app/modules/forgot-password/forgot-password-routing.module.ts ***!
\***************************************************************************/
/*! exports provided: ForgotPasswordRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ForgotPasswordRoutingModule", function() { return ForgotPasswordRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _container_forgot_password_home_forgot_password_home_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./container/forgot-password-home/forgot-password-home.component */ "./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var routes = [
{
path: '',
component: _container_forgot_password_home_forgot_password_home_component__WEBPACK_IMPORTED_MODULE_2__["ForgotPasswordHomeComponent"],
}
];
var ForgotPasswordRoutingModule = /** @class */ (function () {
function ForgotPasswordRoutingModule() {
}
ForgotPasswordRoutingModule = __decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
imports: [
_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(routes)
],
exports: [
_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]
]
})
], ForgotPasswordRoutingModule);
return ForgotPasswordRoutingModule;
}());
/***/ }),
/***/ "./src/app/modules/forgot-password/forgot-password.module.ts":
/*!*******************************************************************!*\
!*** ./src/app/modules/forgot-password/forgot-password.module.ts ***!
\*******************************************************************/
/*! exports provided: ForgotPasswordModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ForgotPasswordModule", function() { return ForgotPasswordModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared.module */ "./src/app/modules/shared.module.ts");
/* harmony import */ var _forgot_password_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./forgot-password-routing.module */ "./src/app/modules/forgot-password/forgot-password-routing.module.ts");
/* harmony import */ var _container_forgot_password_home_forgot_password_home_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./container/forgot-password-home/forgot-password-home.component */ "./src/app/modules/forgot-password/container/forgot-password-home/forgot-password-home.component.ts");
/* harmony import */ var _components_forgot_password_form_forgot_password_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/forgot-password-form/forgot-password-form.component */ "./src/app/modules/forgot-password/components/forgot-password-form/forgot-password-form.component.ts");
/* harmony import */ var _components_forgot_password_success_forgot_password_success_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/forgot-password-success/forgot-password-success.component */ "./src/app/modules/forgot-password/components/forgot-password-success/forgot-password-success.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var ForgotPasswordModule = /** @class */ (function () {
function ForgotPasswordModule() {
}
ForgotPasswordModule = __decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
imports: [
_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"],
_forgot_password_routing_module__WEBPACK_IMPORTED_MODULE_2__["ForgotPasswordRoutingModule"]
],
declarations: [
_container_forgot_password_home_forgot_password_home_component__WEBPACK_IMPORTED_MODULE_3__["ForgotPasswordHomeComponent"],
_components_forgot_password_form_forgot_password_form_component__WEBPACK_IMPORTED_MODULE_4__["ForgotPasswordFormComponent"],
_components_forgot_password_success_forgot_password_success_component__WEBPACK_IMPORTED_MODULE_5__["ForgotPasswordSuccessComponent"]
]
})
], ForgotPasswordModule);
return ForgotPasswordModule;
}());
/***/ }),
/***/ "./src/app/services/forget-password.service.ts":
/*!*****************************************************!*\
!*** ./src/app/services/forget-password.service.ts ***!
\*****************************************************/
/*! exports provided: ForgetPasswordService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ForgetPasswordService", function() { return ForgetPasswordService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./api.service */ "./src/app/services/api.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ForgetPasswordService = /** @class */ (function () {
function ForgetPasswordService(apiService) {
this.apiService = apiService;
}
ForgetPasswordService.prototype.fortgetPassword = function (email) {
return this.apiService.post('reset-password-email', email);
};
ForgetPasswordService = __decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
providedIn: 'root'
}),
__metadata("design:paramtypes", [_api_service__WEBPACK_IMPORTED_MODULE_1__["ApiService"]])
], ForgetPasswordService);
return ForgetPasswordService;
}());
/***/ }),
/***/ "./src/app/services/seo.service.ts":
/*!*****************************************!*\
!*** ./src/app/services/seo.service.ts ***!
\*****************************************/
/*! exports provided: SeoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SeoService", function() { return SeoService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/esm5/ngx-translate-core.js");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var SeoService = /** @class */ (function () {
function SeoService(title, meta, translateService) {
this.title = title;
this.meta = meta;
this.translateService = translateService;
}
SeoService.prototype.updateTitle = function (title) {
var _this = this;
this.translateService.get(title).subscribe(function (data) {
_this.title.setTitle(data);
});
};
SeoService.prototype.updateDescription = function (desc) {
var _this = this;
this.translateService.get(desc).subscribe(function (data) {
_this.meta.updateTag({ name: 'description', content: data });
});
};
SeoService = __decorate([
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
providedIn: 'root'
}),
__metadata("design:paramtypes", [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["Title"],
_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["Meta"],
_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"]])
], SeoService);
return SeoService;
}());
/***/ })
}]);
//# sourceMappingURL=modules-forgot-password-forgot-password-module.js.map