(function () {
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

  (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["my-profile-my-profile-module"], {
    /***/
    "GOi3":
    /*!*********************************************************!*\
      !*** ./src/app/my-profile/my-profile-routing.module.ts ***!
      \*********************************************************/

    /*! exports provided: MyProfilePageRoutingModule */

    /***/
    function GOi3(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "MyProfilePageRoutingModule", function () {
        return MyProfilePageRoutingModule;
      });
      /* harmony import */


      var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! tslib */
      "mrSG");
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/core */
      "fXoL");
      /* harmony import */


      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "tyNb");
      /* harmony import */


      var _my_profile_page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./my-profile.page */
      "RJJZ");

      var routes = [{
        path: '',
        component: _my_profile_page__WEBPACK_IMPORTED_MODULE_3__["MyProfilePage"]
      }];

      var MyProfilePageRoutingModule = function MyProfilePageRoutingModule() {
        _classCallCheck(this, MyProfilePageRoutingModule);
      };

      MyProfilePageRoutingModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"].forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"]]
      })], MyProfilePageRoutingModule);
      /***/
    },

    /***/
    "IptF":
    /*!*************************************************!*\
      !*** ./src/app/my-profile/my-profile.module.ts ***!
      \*************************************************/

    /*! exports provided: MyProfilePageModule */

    /***/
    function IptF(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "MyProfilePageModule", function () {
        return MyProfilePageModule;
      });
      /* harmony import */


      var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! tslib */
      "mrSG");
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/core */
      "fXoL");
      /* harmony import */


      var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/common */
      "ofXK");
      /* harmony import */


      var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/forms */
      "3Pt+");
      /* harmony import */


      var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @ngx-translate/core */
      "sYmb");
      /* harmony import */


      var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! @ionic/angular */
      "TEn/");
      /* harmony import */


      var _my_profile_routing_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./my-profile-routing.module */
      "GOi3");
      /* harmony import */


      var _my_profile_page__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./my-profile.page */
      "RJJZ");

      var MyProfilePageModule = function MyProfilePageModule() {
        _classCallCheck(this, MyProfilePageModule);
      };

      MyProfilePageModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_3__["FormsModule"], _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["IonicModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateModule"], _my_profile_routing_module__WEBPACK_IMPORTED_MODULE_6__["MyProfilePageRoutingModule"]],
        declarations: [_my_profile_page__WEBPACK_IMPORTED_MODULE_7__["MyProfilePage"]]
      })], MyProfilePageModule);
      /***/
    },

    /***/
    "P2Tq":
    /*!*************************************************!*\
      !*** ./src/app/my-profile/my-profile.page.scss ***!
      \*************************************************/

    /*! exports provided: default */

    /***/
    function P2Tq(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = ".banner {\n  background: var(--profile_header_gradient);\n  padding: 10px 20px 0px 20px;\n}\n.banner .truck_details {\n  padding-bottom: 14px;\n}\n.banner .truck_details .truck_img {\n  min-width: 95px;\n  max-width: 95px;\n  height: 85px;\n  position: relative;\n  overflow: hidden;\n  margin-right: 23px;\n}\n.banner .truck_details .truck_img .img_box {\n  min-width: 85px;\n  max-width: 85px;\n  height: 85px;\n  border-radius: 50%;\n  border: 2px solid var(--white);\n}\n.banner .truck_details .truck_img ion-icon {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  margin: auto 0;\n  background: var(--primary);\n  color: var(--white);\n  text-align: center;\n  z-index: 999;\n  border-radius: 50%;\n  width: 22px;\n  height: 22px;\n  font-size: 0.85rem;\n  line-height: 23px;\n  border: 1px solid;\n}\n.banner .truck_details .text_box {\n  width: 100%;\n}\n.banner .truck_details .text_box h2 {\n  margin: 0;\n  color: var(--green_color);\n  font-size: 1.12rem;\n  font-weight: 700;\n  letter-spacing: 0;\n  padding-bottom: 7px;\n}\n.banner .truck_details .text_box p {\n  color: var(--white);\n  margin: 0;\n  font-size: 0.95rem;\n}\n.banner .truck_details .text_box p span {\n  font-size: var(--title_font_size);\n  font-weight: 600;\n  margin: 0 4px;\n}\n.banner .truck_details .text_box p ion-icon {\n  font-size: 1.8rem;\n  width: 14px;\n}\n.banner ion-segment {\n  max-width: calc(100% - 80px);\n  margin: 0 auto;\n}\n.banner ion-segment ion-segment-button {\n  background: none !important;\n  position: relative;\n  color: var(--text-light) !important;\n  text-transform: unset !important;\n  letter-spacing: 0;\n  --color-checked: var(--transparent) !important;\n  text-align: justify !important;\n  --background-checked: var(--transparent) !important;\n  --border-width: 0 !important;\n  --border-radius: 0 !important;\n  padding: 0px 0;\n  text-align: justify;\n  opacity: 1;\n  font-size: 1rem;\n  font-weight: 700;\n}\n.banner ion-segment ion-segment-button.segment-button-checked {\n  opacity: 1;\n  color: var(--white) !important;\n}\n.banner ion-segment ion-segment-button.segment-button-checked::after {\n  content: \"\";\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  width: 55px;\n  height: 3.5px;\n  border-radius: 0px;\n  background: var(--primary);\n  margin: 0 auto;\n}\nion-content {\n  --background: rgba(204, 204, 204, 0);\n}\n.form {\n  position: relative;\n  z-index: 99;\n  width: calc(100% - 15px);\n  margin-top: 11px;\n}\n.form ion-list {\n  box-shadow: none;\n}\n.form ion-list ion-item {\n  padding: 10px 18px 17.5px 18px;\n  margin-bottom: 7px;\n}\n.form ion-list ion-item ion-label {\n  padding: 0;\n  color: var(--text-light) !important;\n  width: 100% !important;\n  padding-bottom: 23px;\n  font-weight: 400 !important;\n  font-size: var(--text_font_size) !important;\n}\n.form ion-list ion-item ion-input {\n  color: var(--text-dark);\n  font-weight: 700 !important;\n  font-size: var(--sub_title_font_size) !important;\n  border-bottom: 1px solid #ccc;\n}\n.form ion-list ion-item.item-select ion-select {\n  color: var(--text-dark);\n  font-weight: 700 !important;\n  font-size: 1rem !important;\n  border-bottom: 1px solid #ccc;\n  padding-bottom: 7px;\n}\nion-list ion-icon {\n  font-size: 40px;\n  color: var(--primary);\n  border-radius: 50%;\n  padding: 5px;\n  text-align: center;\n  margin: 10px;\n  border: 2px solid var(--primary);\n}\nion-list ion-item h4 {\n  color: var(--secondary);\n}\nion-footer .button.btn {\n  font-size: 1.1rem;\n  height: 53px;\n}\n/*# sourceMappingURL=data:application/json;base64,  */";
      /***/
    },

    /***/
    "RJJZ":
    /*!***********************************************!*\
      !*** ./src/app/my-profile/my-profile.page.ts ***!
      \***********************************************/

    /*! exports provided: MyProfilePage */

    /***/
    function RJJZ(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */


      __webpack_require__.d(__webpack_exports__, "MyProfilePage", function () {
        return MyProfilePage;
      });
      /* harmony import */


      var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! tslib */
      "mrSG");
      /* harmony import */


      var _raw_loader_my_profile_page_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! raw-loader!./my-profile.page.html */
      "uPVF");
      /* harmony import */


      var _my_profile_page_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./my-profile.page.scss */
      "P2Tq");
      /* harmony import */


      var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/core */
      "fXoL");
      /* harmony import */


      var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/router */
      "tyNb");
      /* harmony import */


      var src_services_myevent_services__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! src/services/myevent.services */
      "ThQF");
      /* harmony import */


      var src_services_common_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! src/services/common.service */
      "FBGF");

      var MyProfilePage = /*#__PURE__*/function () {
        function MyProfilePage(route, _commonService, dataService) {
          _classCallCheck(this, MyProfilePage);

          this.route = route;
          this._commonService = _commonService;
          this.dataService = dataService;
          this.tab = "about_driver";
          this.fileName = 'my-profile.page.ts';
        }

        _createClass(MyProfilePage, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            try {
              this.profileData = this._commonService.getLocalProfileData();
              ;
              console.log({
                data: this.profileData
              });
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'ngOnInit()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "ionViewWillEnter",
          value: function ionViewWillEnter() {
            try {
              this.ngOnInit();
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'ionViewWillEnter()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "ngOnDestroy",
          value: function ngOnDestroy() {
            try {
              this.profileData = null;
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'ngOnDestroy()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "trip_info",
          value: function trip_info() {
            try {
              this.route.navigate(['./trip-info']);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'trip_info()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "goToUpdateMobile",
          value: function goToUpdateMobile() {
            try {
              this.dataService.setHideLogo(true);
              this.dataService.setheaderName("Update Mobile Number");
              this.dataService.setIsMobUpdate(true);
              this.route.navigate(['./update-mobile-info']);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'goToUpdateMobile()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }, {
          key: "goToUpdateEmail",
          value: function goToUpdateEmail() {
            try {
              this.dataService.setHideLogo(true);
              this.dataService.setContent1("Updating your email id will migrate your data to new email id.");
              this.dataService.setContent2("If you are updating the email id with old email id, please confirm that you are able to receive email at your new email id.");
              this.dataService.setheaderName("Update Email ID");
              this.dataService.setIsMobUpdate(false);
              this.route.navigate(['./update-mobile-info']);
            } catch (error) {
              var obj = {
                fileName: this.fileName,
                functionName: 'goToUpdateEmail()',
                error: error
              };

              this._commonService.systemException(obj);
            }
          }
        }]);

        return MyProfilePage;
      }();

      MyProfilePage.ctorParameters = function () {
        return [{
          type: _angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"]
        }, {
          type: src_services_common_service__WEBPACK_IMPORTED_MODULE_6__["CommonService"]
        }, {
          type: src_services_myevent_services__WEBPACK_IMPORTED_MODULE_5__["MyEvent"]
        }];
      };

      MyProfilePage = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({
        selector: 'app-my-profile',
        template: _raw_loader_my_profile_page_html__WEBPACK_IMPORTED_MODULE_1__["default"],
        styles: [_my_profile_page_scss__WEBPACK_IMPORTED_MODULE_2__["default"]]
      }), Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"])("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"], src_services_common_service__WEBPACK_IMPORTED_MODULE_6__["CommonService"], src_services_myevent_services__WEBPACK_IMPORTED_MODULE_5__["MyEvent"]])], MyProfilePage);
      /***/
    },

    /***/
    "uPVF":
    /*!***************************************************************************************!*\
      !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/my-profile/my-profile.page.html ***!
      \***************************************************************************************/

    /*! exports provided: default */

    /***/
    function uPVF(module, __webpack_exports__, __webpack_require__) {
      "use strict";

      __webpack_require__.r(__webpack_exports__);
      /* harmony default export */


      __webpack_exports__["default"] = "<ion-header>\r\n\t<ion-toolbar>\r\n\t\t<ion-buttons slot=\"start\">\r\n\t\t\t<ion-menu-button></ion-menu-button>\r\n\t\t</ion-buttons>\r\n\t\t<ion-title>My Profile</ion-title>\r\n\t</ion-toolbar>\r\n\t<div class=\"banner\">\r\n\t\t<div class=\"truck_details d-flex\">\r\n\t\t\t<div class=\"truck_img\">\r\n\t\t\t\t<div class=\"img_box center_img\">\r\n\t\t\t\t\t<img src=\"./assets/imgs/user-avtar.png\" class=\"crop_img\">\r\n\t\t\t\t</div>\r\n\t\t\t\t<ion-icon name=\"camera-outline\"></ion-icon>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"text_box\">\r\n\t\t\t\t<!-- <h2>In Transist</h2> -->\r\n\t\t\t\t<p class=\"d-flex\"><span>{{profileData.full_name}}</span>\r\n\t\t\t\t</p>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!-- <ion-segment mode=\"md\" lines=\"none\" [(ngModel)]=\"tab\">\r\n\t\t\t<ion-segment-button value=\"about_driver\" lines=\"none\" class=\"ion-text-center\">\r\n\t\t\t\t{{'my_info' | translate}}\r\n\t\t\t</ion-segment-button>\r\n\t\t\t<ion-segment-button value=\"trip_history\" lines=\"none\" class=\"ion-text-center\">\r\n\t\t\t\t{{'my_request' | translate}}\r\n\t\t\t</ion-segment-button>\r\n\t\t</ion-segment> -->\r\n\t</div>\r\n</ion-header>\r\n<ion-content fullscreen>\r\n\t<div class=\"tab_container\">\r\n\t\t<div class=\"form\">\r\n\t\t\t<ion-list lines=\"none\">\r\n\t\t\t\t<ion-item lines=\"none\">\r\n\t\t\t\t\t<ion-label position=\"floating\">{{'driver_name' | translate}}</ion-label>\r\n\t\t\t\t\t<ion-input readonly type=\"name\" value=\"{{profileData.full_name}}\"></ion-input>\r\n\t\t\t\t</ion-item>\r\n\t\t\t\t<ion-item lines=\"none\">\r\n\t\t\t\t\t<ion-label position=\"floating\">{{'mobile_number' | translate}}</ion-label>\r\n\t\t\t\t\t<ion-input readonly type=\"text\" value=\"{{profileData.phone}}\"></ion-input>\r\n\t\t\t\t</ion-item>\r\n\t\t\t\t<ion-item lines=\"none\">\r\n\t\t\t\t\t<ion-label position=\"floating\">{{'Email ID' | translate}}</ion-label>\r\n\t\t\t\t\t<ion-input readonly type=\"text\" value=\"{{profileData.email}}\"></ion-input>\r\n\t\t\t\t</ion-item>\r\n\t\t\t</ion-list>\r\n\t\t</div>\r\n\t\t<!-- <ion-list no-lines class=\"trip_history\" *ngSwitchCase=\"'trip_history'\">\r\n\t\t\t <ion-list lines=\"none\">\r\n\t\t\t\t<ion-item (click)=\"goToUpdateMobile()\" class=\"in_transist\">\r\n\t\t\t\t\t<div class=\"truck_details d-flex\">\r\n\t\t\t\t\t\t<div class=\"img_box center_img\">\r\n\t\t\t\t\t\t\t<ion-icon class=\"info-icon zmdi zmdi-smartphone-android\"></ion-icon>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"text_box\">\r\n\t\t\t\t\t\t\t<h2 class=\"d-flex\">\r\n\t\t\t\t\t\t\t\t{{'update_mobile_number' | translate }}\r\n\t\t\t\t\t\t\t</h2>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ion-item>\r\n\t\t\t\t<ion-item (click)=\"goToUpdateEmail()\" class=\"in_transist\">\r\n\t\t\t\t\t<div class=\"truck_details d-flex\">\r\n\t\t\t\t\t\t<div class=\"img_box center_img\">\r\n\t\t\t\t\t\t\t<ion-icon class=\"info-icon zmdi zmdi-email\"></ion-icon>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"text_box\">\r\n\t\t\t\t\t\t\t<h2 class=\"d-flex\">\r\n\t\t\t\t\t\t\t\t{{'update_email_id' | translate }}\r\n\t\t\t\t\t\t\t</h2>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ion-item>\r\n\t\t\t</ion-list> \r\n\t\t\t<ion-list>\r\n\t\t\t\t<ion-item lines=\"full\" (click)=\"goToUpdateMobile()\">\r\n\t\t\t\t\t<div class=\"item_inner d-flex\">\r\n\t\t\t\t\t\t<ion-icon class=\"zmdi zmdi-smartphone-android\"></ion-icon>\r\n\t\t\t\t\t\t<h4 class=\"ion-text-right\">{{'update_mobile_number' | translate }}</h4>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ion-item>\r\n\t\t\t\t<ion-item lines=\"full\" (click)=\"goToUpdateEmail()\">\r\n\t\t\t\t\t<div class=\"item_inner d-flex\">\r\n\t\t\t\t\t\t<ion-icon class=\"zmdi zmdi-email\"></ion-icon>\r\n\t\t\t\t\t\t<h4 class=\"ion-text-right\">{{'update_email_id' | translate }}</h4>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ion-item>\r\n\t\t\t\t\r\n\t\t\t</ion-list>  \r\n\t\t</ion-list> -->\r\n\t</div>\r\n</ion-content>\r\n<!-- <ion-footer *ngIf=\"tab == 'about_driver'\" class=\"ion-no-border\">\r\n\t<ion-button size=\"large\" shape=\"full\" class=\"btn\">{{'update_profile' | translate}}</ion-button>\r\n</ion-footer> -->";
      /***/
    }
  }]);
})();
//# sourceMappingURL=my-profile-my-profile-module-es5.js.map