webpackJsonp([35],{"+Bg1":function(e,l,n){"use strict";n.d(l,"a",function(){return o});var t=n("TO51"),o=function(){function e(){this.loaderSubject=new t.Subject,this.loaderState=this.loaderSubject.asObservable()}return e.prototype.show=function(e){this.loaderSubject.next({show:!0})},e.prototype.hide=function(){this.loaderSubject.next({show:!1})},e.ctorParameters=function(){return[]},e}()},0:function(e,l,n){e.exports=n("cDNt")},"1ZVG":function(e,l,n){"use strict";n.d(l,"a",function(){return v}),l.b=h;var t=n("/oeL"),o=n("l8Xo"),r=n("5Uky"),a=n("bm2B"),i=n("4cOY"),u=(n.n(i),n("PnRv")),s=(n.n(u),n("fc+i")),d=n("JhYc"),c=n("fZht"),p=(n.n(c),n("NYDW")),_=(n.n(p),n("bCgQ")),m=n("WDs4"),g=n("+Bg1"),f=n("fN4G"),v=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function h(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,6,"p-fileUpload",[["auto","auto"],["name","file[]"],["ngDefaultControl",""]],null,[[null,"onUpload"],[null,"onBeforeSend"],[null,"onError"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0,r=e.component;"input"===l&&(o=!1!==t["\u0275nov"](e,2)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,2).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,2)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,2)._compositionEnd(n.target.value)&&o);"onUpload"===l&&(o=!1!==r.onUpload(n)&&o);"onBeforeSend"===l&&(o=!1!==r.onBeforeSend(n)&&o);"onError"===l&&(o=!1!==r.onUploadError(n)&&o);return o},r.b,r.a)),t["\u0275prd"](5120,null,a.NG_VALUE_ACCESSOR,function(e){return[e]},[a.DefaultValueAccessor]),t["\u0275did"](2,16384,null,0,a.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,a.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](512,null,i.DomHandler,i.DomHandler,[]),t["\u0275did"](4,5488640,null,1,u.FileUpload,[i.DomHandler,s.DomSanitizer,t.NgZone],{name:[0,"name"],url:[1,"url"],accept:[2,"accept"],auto:[3,"auto"],maxFileSize:[4,"maxFileSize"],invalidFileSizeMessageSummary:[5,"invalidFileSizeMessageSummary"],chooseLabel:[6,"chooseLabel"]},{onBeforeSend:"onBeforeSend",onUpload:"onUpload",onError:"onError"}),t["\u0275qud"](603979776,1,{templates:1}),(e()(),t["\u0275ted"](-1,null,[" \n"])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275eld"](8,0,null,null,2,"p-growl",[],null,null,null,d.b,d.a)),t["\u0275prd"](512,null,i.DomHandler,i.DomHandler,[]),t["\u0275did"](10,4636672,null,0,c.Growl,[t.ElementRef,i.DomHandler,t.IterableDiffers,[2,p.MessageService]],{value:[0,"value"]},null)],function(e,l){var n=l.component;e(l,4,0,"file[]",n.fileUploadUrl,n.accept,"auto",n.maxSize,n.maxSizeMessage,n.uploadButtonLabel),e(l,10,0,n.message)},null)}t["\u0275ccf"]("app-file-uploader",o.a,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-file-uploader",[],null,null,null,h,v)),t["\u0275did"](1,114688,null,0,o.a,[_.a,m.a,g.a,f.a],null,null)],function(e,l){e(l,1,0)},null)},{accept:"accept",uploadButtonLabel:"uploadButtonLabel"},{onFileUpload:"onFileUpload",onFileUploadEvent:"onFileUploadEvent"},[])},"2SYn":function(e,l,n){"use strict";n.d(l,"a",function(){return i});var t=n("2X1u"),o=n("AP4T"),r=n("bCgQ"),a=n("JSCA"),i=function(){function e(e,l){this.restApiService=e,this.storageService=l,this.metaData={}}return e.prototype.getMetaData=function(e){var l=this;return this.metaData[e]?o.a.of(this.metaData[e]):this.restApiService.get("/"+e+"/metadata").do(function(n){l.metaData[e]=n})},e.prototype.getTimeSettingByKey=function(e,l,n){return this.metaData[e]&&this.metaData[e].timeSettingsList?o.a.of(this.metaData[e].timeSettingsList[l]):this.getMetaData(e).map(function(e){return e.timeSettingsList[l]})},e.prototype.getSinglePropMetaData=function(e,l){return this.metaData[e]&&this.metaData[e].vehicleTypeList?o.a.of(this.metaData[e].vehicleTypeList):this.getMetaData(e).map(function(e){return e.vehicleTypeList})},e.prototype.getdocumentDownload=function(e){return this.restApiService.image(a.a.BASE_URL+"/"+a.a.TENANT+"/file/"+e,e)},e.prototype.updateTruckBookingStatus=function(e){return this.restApiService.put("/secure/truck-booking-status",e,"page-center")},e.prototype.addTruckEmergency=function(e){return this.restApiService.post("/secure/truck-emergency",e,"page-center")},e.prototype.cancelTruckEmergency=function(e){return this.restApiService.put("/secure/truck-booking-cancel?appType=WEB",e,"page-center")},e.prototype.resumeTruckEmergency=function(e){return this.restApiService.put("/secure/truck-emergency",e,"page-center")},e.prototype.bookingDetails=function(e){return this.restApiService.get("/secure/truck-booking/"+e)},e.prototype.bookingInvoice=function(e){return this.restApiService.get("/secure/truck-booking-bill/"+e)},e.prototype.verifyOtp=function(e,l){return this.restApiService.put("/secure/truck-booking-otp/"+e+"/verify",l,"page-center")},e.prototype.sendOtp=function(e){return this.restApiService.get("/secure/truck-booking-otp/"+e+"/send","page-center")},e.prototype.getBookingInvoice=function(e,l){return this.restApiService.post("/secure/truck-booking/"+e+"/invoice?invoiceType="+l,"page-center")},e.prototype.sendEmailInovice=function(e){return this.restApiService.post("/secure/truck-booking/"+e+"/invoice","page-center")},e.ctorParameters=function(){return[{type:t.a},{type:r.a}]},e}()},"2X1u":function(e,l,n){"use strict";n.d(l,"a",function(){return d});var t=n("/oeL"),o=n("CPp0"),r=n("AP4T"),a=n("JSCA"),i=n("bCgQ"),u=n("BkNc"),s=(n("ivSB"),n("HT7u"),n("PSNg"),n("+Bg1")),d=function(){function e(e,l,n,t,o){this.http=e,this.zone=l,this.router=n,this.storageService=t,this.loaderService=o}return e.prototype.prependApiUrl=function(e){return a.a.BASE_URL+"/"+a.a.TENANT+e},e.prototype.get=function(e,l,n){var t=this;return void 0===n&&(n={headers:this.getHeaders()}),this.showLoader(l),this.http.get(this.prependApiUrl(e),n).map(function(e){return t.handleSuccess(e)}).catch(function(e){return t.handleError(e)})},e.prototype.post=function(e,l,n,t){var o=this;return void 0===t&&(t={headers:this.getHeaders()}),this.showLoader(n),this.http.post(this.prependApiUrl(e),l,t).map(function(e){return o.handleSuccess(e)}).catch(function(e){return o.handleError(e)})},e.prototype.put=function(e,l,n,t){var o=this;return void 0===t&&(t={headers:this.getHeaders()}),this.showLoader(n),this.http.put(this.prependApiUrl(e),l,t).map(function(e){return o.handleSuccess(e)}).catch(function(e){return o.handleError(e)})},e.prototype.delete=function(e,l,n){var t=this;return void 0===n&&(n={headers:this.getHeaders()}),this.showLoader(l),this.http.delete(this.prependApiUrl(e),n).map(function(e){return t.handleSuccess(e)}).catch(function(e){return t.handleError(e)})},e.prototype.patch=function(e,l,n,t){return void 0===t&&(t={headers:this.getHeaders()}),this.showLoader(n),this.http.patch(this.prependApiUrl(e),l,t)},e.prototype.head=function(e,l,n){return void 0===n&&(n={headers:this.getHeaders()}),this.showLoader(l),this.http.head(this.prependApiUrl(e),n)},e.prototype.options=function(e,l,n){return void 0===n&&(n={headers:this.getHeaders()}),this.showLoader(l),this.http.options(this.prependApiUrl(e),n)},e.prototype.excel=function(e,l,n,t){var r=this;return void 0===t&&(t={headers:this.getHeaders(),responseType:o.i.Blob}),this.showLoader(n),this.http.get(e,t).subscribe(function(e){return r.downloadFile(e,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",l)}),function(e){return r.handleError(e)}},e.prototype.pdf=function(e,l,n,t){var r=this;return void 0===t&&(t={headers:this.getHeaders(),responseType:o.i.Blob}),this.showLoader(n),this.http.get(e,t).subscribe(function(e){return r.downloadFile(e,"application/pdf",l)}),function(e){return r.handleError(e)}},e.prototype.image=function(e,l,n,t){var r=this;return void 0===t&&(t={headers:this.getHeaders(),responseType:o.i.Blob}),this.showLoader(n),this.http.get(e,t).subscribe(function(e){return r.downloadFile(e,r.getContentType(l),l)}),function(e){return r.handleError(e)}},e.prototype.getHeaders=function(){var e=new o.d;e.append("Accept-Language",a.a.HEADER_ACCEPT_LANGUAGE),e.append("Content-Type",a.a.HEADER_CONTENT_TYPE),e.append("Accept",a.a.HEADER_CONTENT_TYPE);var l=(new Date).toString();return a.a.HEADER_TIMEZONE_VALUE=l.substr(l.search(a.a.TIME_ZONE_FIRST_STRING),l.search(a.a.TIME_ZONE_SECOND_STRING)).replace("(","").replace(")",""),null!==a.a.HEADER_AUTHORIZATION_VALUE&&e.append("Authorization","Bearer "+this.storageService.getItem(a.a.TOKEN_KEY)),e},e.prototype.handleError=function(e){this.hideLoader();var l=e.json()||"";if(400===e.status){if(e instanceof o.h){var n=l.error||JSON.stringify(l);return r.a.throw(n)}}else{if(500===e.status||403===e.status)return r.a.throw(l);401===e.status&&(console.log(l),console.log(e.status),this.router.navigate(["/signin"]))}},e.prototype.handleSuccess=function(e){return this.hideLoader(),e.json()||{}},e.prototype.downloadFile=function(e,l,n){var t=new Blob([e.blob()],{type:l}),o=document.createElement("a");o.href=window.URL.createObjectURL(t),o.download=n,o.click(),this.hideLoader(),setTimeout(o.remove(),1e3)},e.prototype.getContentType=function(e){switch(e.substring(e.lastIndexOf(".")+1).toLowerCase()){case"jpeg":case"jpg":return"image/jpeg";case"png":return"image/png";case"gif":return"image/gif";case"bmp":return"image/x-ms-bmp";case"pdf":return"application/pdf";case"xls":return"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}return""},e.prototype.onEnd=function(){this.hideLoader()},e.prototype.showLoader=function(e){void 0!==e&&null!==e&&"none"!==e.toLowerCase()&&this.loaderService.show(e)},e.prototype.hideLoader=function(){this.loaderService.hide()},e.ctorParameters=function(){return[{type:o.e},{type:t.NgZone},{type:u.Router},{type:i.a},{type:s.a}]},e}()},"3ue9":function(e,l,n){"use strict";n.d(l,"a",function(){return o});var t=n("ge1L"),o=(n.n(t),function(){function e(){}return e.prototype.transform=function(e,l){return t(e).fromNow(!0)},e}())},"6TFg":function(e,l,n){"use strict";n.d(l,"a",function(){return r});var t=n("/oeL"),o=n("fN4G"),r=function(){function e(e,l){this.commonBindingDataService=l,this._el=e.nativeElement}return e.prototype.ngOnChanges=function(){var e=this;this.menuAccessList=this.commonBindingDataService.getSelectedMenuAccessesList(),this.menuAccessList.find(function(l){return l.accessCode===e.accessCode})||(this._el.style.display="none")},e.ctorParameters=function(){return[{type:t.ElementRef},{type:o.a}]},e}()},"7FNe":function(e,l,n){"use strict";n.d(l,"a",function(){return r});var t=n("JSCA"),o=n("/oeL"),r=function(){function e(e){var l=this;this.setAddress=new o.EventEmitter,this._el=e.nativeElement;var n=this._el;this.autocomplete=new google.maps.places.Autocomplete(n,{}),this.autocomplete.setComponentRestrictions({country:t.a.SUPPORTED_COUNTRY}),google.maps.event.addListener(this.autocomplete,"place_changed",function(){var e=l.autocomplete.getPlace(),t={name:e.name,address:e.formatted_address,lat:e.geometry.location.lat(),lng:e.geometry.location.lng(),id:n.id};l.invokeEvent(t)})}return e.prototype.invokeEvent=function(e){this.setAddress.emit(e)},e.ctorParameters=function(){return[{type:o.ElementRef}]},e}()},"8Sw2":function(e,l,n){var t={"./af":"FQor","./af.js":"FQor","./ar":"EcI0","./ar-dz":"cw72","./ar-dz.js":"cw72","./ar-kw":"fu+8","./ar-kw.js":"fu+8","./ar-ly":"7CVz","./ar-ly.js":"7CVz","./ar-ma":"1dFW","./ar-ma.js":"1dFW","./ar-sa":"UxV2","./ar-sa.js":"UxV2","./ar-tn":"nm31","./ar-tn.js":"nm31","./ar.js":"EcI0","./az":"EbpX","./az.js":"EbpX","./be":"SQlX","./be.js":"SQlX","./bg":"R3V+","./bg.js":"R3V+","./bn":"cAX3","./bn.js":"cAX3","./bo":"dHgA","./bo.js":"dHgA","./br":"W7ww","./br.js":"W7ww","./bs":"lZ6K","./bs.js":"lZ6K","./ca":"udbC","./ca.js":"udbC","./cs":"oSQb","./cs.js":"oSQb","./cv":"yPEm","./cv.js":"yPEm","./cy":"PpYB","./cy.js":"PpYB","./da":"oiZG","./da.js":"oiZG","./de":"LYe6","./de-at":"KOG5","./de-at.js":"KOG5","./de-ch":"o3JY","./de-ch.js":"o3JY","./de.js":"LYe6","./dv":"OkYT","./dv.js":"OkYT","./el":"QFnp","./el.js":"QFnp","./en-au":"dBGl","./en-au.js":"dBGl","./en-ca":"vv0C","./en-ca.js":"vv0C","./en-gb":"IoCy","./en-gb.js":"IoCy","./en-ie":"qVAg","./en-ie.js":"qVAg","./en-nz":"FbT0","./en-nz.js":"FbT0","./eo":"y/6j","./eo.js":"y/6j","./es":"ivpd","./es-do":"DBbP","./es-do.js":"DBbP","./es.js":"ivpd","./et":"FrUj","./et.js":"FrUj","./eu":"LAVD","./eu.js":"LAVD","./fa":"J2cK","./fa.js":"J2cK","./fi":"5FCP","./fi.js":"5FCP","./fo":"jIZb","./fo.js":"jIZb","./fr":"Lq8I","./fr-ca":"ICRA","./fr-ca.js":"ICRA","./fr-ch":"QWmo","./fr-ch.js":"QWmo","./fr.js":"Lq8I","./fy":"Fbnp","./fy.js":"Fbnp","./gd":"zhFu","./gd.js":"zhFu","./gl":"o10m","./gl.js":"o10m","./gom-latn":"UoXv","./gom-latn.js":"UoXv","./he":"gbvS","./he.js":"gbvS","./hi":"+UQz","./hi.js":"+UQz","./hr":"qGYH","./hr.js":"qGYH","./hu":"hGGh","./hu.js":"hGGh","./hy-am":"1AR5","./hy-am.js":"1AR5","./id":"Ie9h","./id.js":"Ie9h","./is":"piS+","./is.js":"piS+","./it":"5P9/","./it.js":"5P9/","./ja":"3cRe","./ja.js":"3cRe","./jv":"vwCJ","./jv.js":"vwCJ","./ka":"R7aq","./ka.js":"R7aq","./kk":"d8hV","./kk.js":"d8hV","./km":"nCdc","./km.js":"nCdc","./kn":"5K8n","./kn.js":"5K8n","./ko":"1jN3","./ko.js":"1jN3","./ky":"74/W","./ky.js":"74/W","./lb":"XAyT","./lb.js":"XAyT","./lo":"w/Mz","./lo.js":"w/Mz","./lt":"IetG","./lt.js":"IetG","./lv":"CRPd","./lv.js":"CRPd","./me":"1mee","./me.js":"1mee","./mi":"yRr3","./mi.js":"yRr3","./mk":"bfn1","./mk.js":"bfn1","./ml":"r1ky","./ml.js":"r1ky","./mr":"+K6p","./mr.js":"+K6p","./ms":"asMk","./ms-my":"IcWU","./ms-my.js":"IcWU","./ms.js":"asMk","./my":"Isng","./my.js":"Isng","./nb":"FjNp","./nb.js":"FjNp","./ne":"P9zQ","./ne.js":"P9zQ","./nl":"pejQ","./nl-be":"c3/i","./nl-be.js":"c3/i","./nl.js":"pejQ","./nn":"ALD8","./nn.js":"ALD8","./pa-in":"1YTd","./pa-in.js":"1YTd","./pl":"Gs99","./pl.js":"Gs99","./pt":"eunO","./pt-br":"uHKL","./pt-br.js":"uHKL","./pt.js":"eunO","./ro":"1FZw","./ro.js":"1FZw","./ru":"Cy48","./ru.js":"Cy48","./sd":"+28k","./sd.js":"+28k","./se":"EiHj","./se.js":"EiHj","./si":"77bI","./si.js":"77bI","./sk":"BgyH","./sk.js":"BgyH","./sl":"K7sG","./sl.js":"K7sG","./sq":"pwQJ","./sq.js":"pwQJ","./sr":"N0T2","./sr-cyrl":"9OoP","./sr-cyrl.js":"9OoP","./sr.js":"N0T2","./ss":"Mh9L","./ss.js":"Mh9L","./sv":"YZAt","./sv.js":"YZAt","./sw":"/7jV","./sw.js":"/7jV","./ta":"VKBt","./ta.js":"VKBt","./te":"TIcV","./te.js":"TIcV","./tet":"BlC1","./tet.js":"BlC1","./th":"Zi3L","./th.js":"Zi3L","./tl-ph":"D4Y9","./tl-ph.js":"D4Y9","./tlh":"muBP","./tlh.js":"muBP","./tr":"82s3","./tr.js":"82s3","./tzl":"vjXv","./tzl.js":"vjXv","./tzm":"Vhfe","./tzm-latn":"m0Pg","./tzm-latn.js":"m0Pg","./tzm.js":"Vhfe","./uk":"Y3Ex","./uk.js":"Y3Ex","./ur":"4DIg","./ur.js":"4DIg","./uz":"wDue","./uz-latn":"Li28","./uz-latn.js":"Li28","./uz.js":"wDue","./vi":"UbP6","./vi.js":"UbP6","./x-pseudo":"fQLM","./x-pseudo.js":"fQLM","./yo":"evMD","./yo.js":"evMD","./zh-cn":"DV5H","./zh-cn.js":"DV5H","./zh-hk":"iEKH","./zh-hk.js":"iEKH","./zh-tw":"X9uL","./zh-tw.js":"X9uL"};function o(e){return n(r(e))}function r(e){var l=t[e];if(!(l+1))throw new Error("Cannot find module '"+e+"'.");return l}o.keys=function(){return Object.keys(t)},o.resolve=r,e.exports=o,o.id="8Sw2"},BMcr:function(e,l,n){"use strict";n.d(l,"a",function(){return r});var t=n("JSCA"),o=n("2X1u"),r=function(){function e(e){this.restApiService=e,this.canFetchNotification=!1}return e.prototype.getDetails=function(e,l,n){return this.restApiService.get("/secure/notification/list?offset="+l+"&limit="+e+"&corporateId="+n,"page-center")},e.prototype.getCount=function(e){return this.restApiService.get("/secure/notification/unreadcount?corporateId="+e)},e.prototype.startFetchingNotifications=function(e){var l=this;t.a.CLEAR_NOTIFICATION_INTERVAL||(t.a.CLEAR_NOTIFICATION_INTERVAL=setInterval(function(){l.canFetchNotification&&e()},t.a.NOTIFICATION_INTERVAL))},e.prototype.stopFetchingNotifications=function(){t.a.CLEAR_NOTIFICATION_INTERVAL&&(clearInterval(t.a.CLEAR_NOTIFICATION_INTERVAL),t.a.CLEAR_NOTIFICATION_INTERVAL=void 0)},e.ctorParameters=function(){return[{type:o.a}]},e}()},Iaxx:function(e,l,n){"use strict";n.d(l,"a",function(){return o});var t=n("bm2B"),o=function(){function e(e){this.ngControl=e}return Object.defineProperty(e.prototype,"appDisableControl",{set:function(e){var l=e?"disable":"enable";this.ngControl.control[l]()},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:t.NgControl}]},e}()},JSCA:function(e,l,n){"use strict";n.d(l,"a",function(){return o});var t=n("p5Ee"),o=function(){return function(){this.TRUCK_BOOKING_STATUS={NEW_REQUEST:1e3,CANCELED:1050,REJECTED:1100,REGRET:1150,DRIVER_ASSIGNED:1200,DRIVER_ON_WAY:1250,TRUCK_EMERGENCY:1300,DRIVER_ARRIVED:1350,LOADING_STARTED:1400,LOADING_COMPLETE:1450,START_TRIP:1500,REACHED:1550,UNLOADING_STARTED:1600,UNLOADING_COMPLETE:1650,DELIVERED:1700,COMPLETED:1750},this.BOOKING_STATUS_NAME={1e3:"New Request",1050:"Canceled",1100:"Rejected",1150:"Regret",1200:"Driver Assigned",1250:"Driver On Way",1300:"Truck Emergency",1350:"Driver Arrived",1400:"Loading Started",1450:"Loading Complete",1500:"Start Trip",1550:"Reached",1600:"Unloading Started",1650:"Unloading Completed",1700:"Delivered",1750:"Completed"},this.EMERGENCY_STATUS=[this.TRUCK_BOOKING_STATUS.LOADING_COMPLETE,this.TRUCK_BOOKING_STATUS.START_TRIP]}}();o.BASE_URL=t.a.basePath,o.TENANT=t.a.tenant,o.SUPPORTED_COUNTRY=t.a.supportedCountry,o.HEADER_CONTENT_TYPE=" ",o.HEADER_AUTHORIZATION="Authorization",o.HEADER_TIMEZONE="Timezone",o.HEADER_TIMEZONE_VALUE="",o.HEADER_ACCEPT_LANGUAGE="en-US",o.HEADER_AUTHORIZATION_VALUE="",o.USER=null,o.TOKEN_KEY="Token",o.USER_DETAILS="userDetails",o.FILE_UPLOAD_ID="",o.FILE_UPLOAD_NAME="",o.PROFILE_UPLOAD_ID="",o.PROFILE_UPLOAD_NAME="",o.FAQ=null,o.ACCESS_MENU="ACCESS_MENU",o.SERVICE_AREA_ID="SERVICE_AREA_ID",o.CURRENT_USER_CORPORATE_ID="CURRENT_USER_CORPORATE_ID",o.TIME_SETTINGS="TIME_SETTINGS",o.SETTING_SERVICE_ID="",o.SERVICE_TYPE="ServiceType",o.SETTING_RENTAL_WITHOUT_SERVICE="",o.SETTING_RENTAL_WITH_SERVICE="",o.SETTING_TAXI_SERVICE="",o.SETTING_CHAUFFEUR_SERVICE="",o.SETTING_RENTAL_WITHOUT_SERVICE_KEY="Rental without driver",o.SETTING_RENTAL_WITH_SERVICE_KEY="Rental with driver",o.SERVICE_CODE_RENTAL="Rental",o.SETTING_TAXI_SERVICE_KEY="Taxi",o.SETTING_STAFF_TRANSPORT_SERVICE_KEY="StaffTransport",o.SETTING_CHAUFFEUR_SERVICE_KEY="Chauffeur",o.TAXI_BOOK_MAX_TIME="book_later_maximum_time",o.TAXI_BOOK_MIN_TIME="book_later_minimum_time",o.RENTAL_BOOK_MIN_TIME="book_later_minimum_time_rental",o.CHAUFFEUR_BOOK_MIN_TIME="book_later_minimum_time_chauffeur",o.AUTOMATIC="AUTO",o.MANUAL="MANL",o.MIN_DISTANCE=.1,o.MAX_DISTANCE=1,o.UPLOAD_FILE_URL=o.BASE_URL+"/"+o.TENANT+"/secure/file",o.GET_FILE_URL=o.BASE_URL+"/"+o.TENANT+"/file",o.GET_FILE_THUMB_URL=o.BASE_URL+"/"+o.TENANT+"/file/thumbnail_",o.EXPORT_URL=o.BASE_URL+"/"+o.TENANT,o.PRINT_URL=o.BASE_URL+"/"+o.TENANT,o.DEFAULT_PROFILE_IMAGE_URL="/assets/images/temp/default_profile.png",o.SUCCESS_FLAG="success",o.SELECTED_MENU="",o.WEBSITE_PATTERN=new RegExp(["^(http://www.|https://www.|http://|https://)?","[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(:[0-9]{1,5})","?(/.*)?$"].join("")),o.NAME_PATTERN=new RegExp(["^[A-Za-z\\d-_\\s]*$"].join("")),o.ROLE_PATTERN=new RegExp(["^[A-Za-z\\d-_\\s/\\\\]*$"].join("")),o.PHONE_PATTERN="^[0-9][0-9]*$",o.NUMBER_PATTERN=/^\+?[0-9\-]+$/,o.AMOUNT_PATTERN=new RegExp(["^[0-9\\d.]*$"].join("")),o.PHONE_CODE=/([0-9]{4,})|[1-9]/,o.EMAIL_PATTERN=new RegExp(["^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}$"].join("")),o.ZIPCODE_PATTERN=new RegExp(["^[0-9]"].join("")),o.DIGIT_PATTERN=new RegExp(["^[\\d]*$"].join("")),o.RADIUS_DIGIT_PATTERN=/^[0-9|.|0-9]+$/,o.FLOAT_NUMBER_PATTERN=/^\d+(\.\d+)?$/,o.NUMBER_NOT_ZERO=new RegExp(["^[1-9][0-9]*$"].join("")),o.FEE_PATTERN=new RegExp(["^\\d+(.\\d{1,2})?$"].join("")),o.ALPHA_NUMERIC=new RegExp(["^[A-Za-z0-9]"].join("")),o.VALUE_ONE_TO_HUNDRED=new RegExp(["^[1-9][0-9]?$|^100$"].join("")),o.NON_ZERO_VALUES=new RegExp(["^[1-9][0-9]*$"].join("")),o.ALPHA_NUMERICLE=new RegExp(["^[a-zA-Z0-9]+$"].join("")),o.MULTIPLE_SPACES_REGEX=new RegExp(["^[a-zA-Z0-9@./#&'+-,_]+( [a-zA-Z0-9@./#&'+-,_]+)*$"].join("")),o.HOTEL_PROFILE_UPLOAD_ID="",o.HOTEL_PROFILE_UPLOAD_NAME="",o.PERSON_NAME_PATTERN="^[a-zA-Z][a-zA-Z\\s-_]+$",o.COMPANY_AND_PERSON_NAME_PATTERN="^[a-zA-Z0-9][a-zA-Z0-9\\s-_]+$",o.FAX_PATTERN=/^\+?[0-9\-]+$/,o.TIME_ZONE_FIRST_STRING=/[(]/gi,o.TIME_ZONE_SECOND_STRING=/[)]/gi,o.DAYS_COLLECTION=[{label:"Sun",value:"1"},{label:"Mon",value:"2"},{label:"Tue",value:"3"},{label:"Wed",value:"4"},{label:"Thu",value:"5"},{label:"Fri",value:"6"},{label:"Sat",value:"7"}],o.LOGGED_IN_ROLE="",o.ADMINROLEID="Tenant Admin",o.DISPATCHERROLEID="Dispatcher Admin",o.CORPORATEROLEID="Corporate Admin",o.HOTELBOOKINGROLECODE="Hotel Booking",o.CORPORATEBOOKINGROLECODE="Corporate Booking",o.EMPLOYEE_ID="",o.DEPARTMENT_ID="",o.SALES_QUOTATION_TRIP_STATUS=[{label:"Select",value:""},{label:"New Request",value:"NEW_REQUEST"},{label:"Quote Sent",value:"QUOTE_SENT"},{label:"Quote Rejected",value:"QUOTE_REJECTED"},{label:"Quote Accepted",value:"QUOTE_ACCEPTED"},{label:"Cancelled",value:"CANCELED"}],o.INTERVAL=3e4,o.BOOKING_STATUS=[{label:"All",value:""},{label:"New Request",value:10},{label:"Quotation Sent",value:20},{label:"Quotation Accepted",value:30},{label:"Driver Assigned",value:40},{label:"Rejected",value:50},{label:"Timed Out",value:60},{label:"Regret",value:70},{label:"Driver On The Way",value:80},{label:"Driver Arrived",value:90},{label:"Security Check",value:100},{label:"Delivery Check",value:110},{label:"Cancelled",value:120},{label:"On Trip",value:130},{label:"Trip Ended",value:140},{label:"Car Return Check",value:150},{label:"Return Security Check",value:160},{label:"Completed",value:170}],o.BOOKING_DRIVER_ASSIGNED_STATUS=[20,90,70,80,40,130,120,170,50,140,150,160,100],o.RENTAL_SERVICE_TYPE=["Rental with driver with fuel","Rental without driver without fuel","Rental with driver without fuel","Rental without driver with fuel","Chauffeur"],o.ASSIGN_BOOKING_STATUS_ARRAY=[10],o.DRIVER_IS_ARRIVED=[90],o.BOOOKING_QUOTATION_ACCEPTED=[30],o.REASSIGN_BOOKING_STATUS_ARRAY=[80,40],o.COMPLETE_BOOKING_STATUS_ARRAY=[130,120,170,50],o.DRIVER_ON_THE_WAY=[80],o.SECURITY_CHECK=[100],o.END_TRIP=[110],o.CAR_RETURN_CHECK=[140],o.RETURN_SECURITY_CHECK=[150],o.ON_TRIP=[130],o.BOOKING_DETAILS_STATUS_DISABLE_ARRAY=[120,170,50,30],o.TRANSMISSION_TYPE=[{label:"Please select",value:""},{label:"Both (Automatic/Manual)",value:"BOTH"},{label:"Automatic",value:"AUTO"},{label:"Manual",value:"MANL"}],o.HOTEL_PRICING_LINK="pricing-packages-details",o.HOTEL_ROUTE_LINK="route-pricing-details",o.HOTEL_Profile_image="/assets/images/temp/default_hotel.png",o.NOTIFICATION_INTERVAL=18e5,o.MAP_OPTION={center:{lat:26.8467,lng:80.9462},zoom:11,zoomControl:!0},o.DATE_FORMATTER="MMM DD, YYYY hh:mm A",o.DATE_FORMAT="DD-MM-YYYY",o.PASSENGER_TYPES=[{label:"Private",value:"Private"},{label:"Corporate",value:"corporate"}],o.twentyThreeFiftyNineLapse=86399e3,o.IGNORE_LINK=["edit-corporate","corporate-details","hotel-details","reports","settings"],o.FILE_UPLOAD_MAX_SIZE_IN_BYTE=1e7,o.HEADER_NOT_REQUIRED=["/admin-dashboard","/corporate-dashboard/taxi-booking","/corporate-dashboard/rental-car-booking","/corporate-dashboard/chauffeur-booking"],o.METADATA_TYPE={TRUCK_DRIVER:"truck_driver",SHIPPER:"shipper",TRUCK_ADMIN:"truck_admin"},o.MESSAGE_TYPE={SUCCESS:"success",ERROR:"error"},o.TRUCK_BOOK_LATER_MIN_TIME="book_later_minimum_time",o.TRUCK_BOOKING_STATUS=[{label:"New Request",value:1e3},{label:"Canceled",value:1050},{label:"Rejected",value:1100},{label:"Regret",value:1150},{label:"Driver Assigned",value:1200},{label:"Driver On Way",value:1250},{label:"Truck Emergency",value:1300},{label:"Driver Arrived",value:1350},{label:"Loading Started",value:1400},{label:"Loading Complete",value:1450},{label:"Start Trip",value:1500},{label:"Reached",value:1550},{label:"Unloading Started",value:1600},{label:"Unloading Complete",value:1650},{label:"Delivered",value:1700},{label:"Completed",value:1750}],o.TRUCK_BOOKING_DRIVER_ASSIGNED_STATUS_CODES=[1200,1250,1350,1400,1450,1500,1550,1600,1650,1700,1050,1100],o.DRIVER_STATUS={BUSY:"Busy",AVAILABLE:"Available",OFFLINE:"Offline"},o.SECURITY_CHECK_TYPE={security:"SECURITY_CHECK",delivery:"DELIVERY_CHECK",carReturn:"CAR_RETURN_CHECK",returnSecurity:"RETURN_SECURITY_CHECK"},o.PAYMENT_MODE=[{label:"Cash",value:"CASH"}],o.VERIFICATION_TYPE={EMAIL:"Email",PHONE_NUM:"PhoneNumber"},o.DEFAULT_MAP_ROUTE_COLOR="#3B7BFF"},"LkK+":function(e,l,n){"use strict";n.d(l,"a",function(){return i});var t=n("BMcr"),o=n("BkNc"),r=n("bCgQ"),a=n("JSCA"),i=function(){function e(e,l,n){this.storageService=e,this.router=l,this.notificationService=n}return e.prototype.canActivate=function(e,l){return this.storageService.getItem(a.a.TOKEN_KEY)?(this.notificationService.canFetchNotification=!0,!0):(this.router.navigate(["/signin"]),this.notificationService.canFetchNotification=!1,!1)},e.ctorParameters=function(){return[{type:r.a},{type:o.Router},{type:t.a}]},e}()},bCgQ:function(e,l,n){"use strict";n.d(l,"a",function(){return t});var t=function(){function e(){}return e.prototype.getItem=function(e){var l=null;return null!=(l=localStorage.getItem(e))&&(l=JSON.parse(l)),l},e.prototype.setItem=function(e,l){localStorage.setItem(e,JSON.stringify(l))},e.prototype.removeItem=function(e){localStorage.removeItem(e)},e.prototype.removeAll=function(){localStorage.clear()},e.ctorParameters=function(){return[]},e}()},c0TX:function(e,l,n){"use strict";n.d(l,"a",function(){return t});var t=function(){function e(){}return e.prototype.onAPIValidationError=function(e,l){e=JSON.parse(e);for(var n in e)if(e.hasOwnProperty(n)){l[0][n]=!0,l[n]=e[n],this.hideErrorMessage(l,n);break}},e.prototype.onAPIValidationSuccess=function(e,l){for(var n in e)if(e.hasOwnProperty(n)){l[0][n]=!0,l[n]=e[n],this.hideErrorMessage(l,n);break}},e.prototype.hideErrorMessage=function(e,l){setTimeout(function(){e[0][l]=!1},5e3)},e.ctorParameters=function(){return[]},e}()},cDNt:function(e,l,n){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=n("/oeL"),o=n("p5Ee"),r=function(){function e(){}return e.forRoot=function(){return{ngModule:e}},e.ctorParameters=function(){return[]},e}(),a=n("BMcr"),i=function(){function e(e){this.notificationsService=e,this.title="Mobisoft Cab Booking Management Solution",this.showSidebar=!0,this.rightColClass="col-md-9"}return e.prototype.ngOnInit=function(){this.showSidebar||(this.rightColClass="col-md-12")},e.ctorParameters=function(){return[{type:a.a}]},e}(),u=n("GxUr"),s=n("WDs4"),d=n("T5dK"),c=n("Il9Y"),p=n("bm2B"),_=n("qbdv"),m=n("JSCA"),g=n("n3JN"),f=n("9Qcf"),v=n("BkNc"),h=n("rrPH"),b=n("bCgQ"),C=n("fN4G"),y=n("u8Ap"),E=function(){function e(e,l,n,t,o,r,a,i,u){this.formBuilder=e,this.uiService=l,this.signInService=n,this.translate=t,this.router=o,this.storageService=r,this.commonBindingDataService=a,this.sidebarService=i,this.notificationService=u,this.message=[],this.forgotPopup=!1,this.loginErrors={username:"",password:{hasError:!1,error:[]},general:{hasError:!1,error:[]}},this.isSubmitted=!1,this.otpPopup=!1,this.setPasswordPopup=!1,this.signInForm=new p.FormGroup({username:new p.FormControl,password:new p.FormControl})}return e.prototype.ngOnInit=function(){var e=this,l=this.storageService.getItem(m.a.TOKEN_KEY);void 0!==l&&null!==l&&this.signInService.getUserProfile().subscribe(function(l){e.storageService.setItem(m.a.USER_DETAILS,l),m.a.USER=l,e.notificationService.canFetchNotification=!0,e.setServiceAreaId(),e.getServiceAreaId()},function(l){e.onAPIValidation(l)}),this.signInForm=this.formBuilder.group({password:["",[p.Validators.required]],username:["",[p.Validators.required]]})},e.prototype.setServiceAreaId=function(){var e=this;this.signInService.getServiceAreaId().subscribe(function(l){e.storageService.setItem("SERVICE_AREA_ID",l[0].id)})},e.prototype.onAPIValidation=function(e){(e=JSON.parse(e)).general?(this.loginErrors.general.hasError=!0,this.loginErrors.general.error=e.general):e.password&&(this.loginErrors.password.hasError=!0,this.loginErrors.password.error=e.password)},e.prototype.doSignIn=function(){var e={};e=this.signInForm.controls.username.value.match(m.a.EMAIL_PATTERN)?{email:this.signInForm.controls.username.value,password:this.signInForm.controls.password.value,tenantId:m.a.TENANT}:{username:this.signInForm.controls.username.value,password:this.signInForm.controls.password.value,tenantId:m.a.TENANT},this.signInApiCall(e)},e.prototype.signInApiCall=function(e){var l=this;this.signInService.signIn(JSON.stringify(e)).subscribe(function(e){void 0!==e&&void 0!==e.sessionToken&&(l.signInResponse=e,l.notificationService.canFetchNotification=!0,l.setSessionAndUserDetails(e),l.getServiceAreaId())},function(e){var n=JSON.parse(e);l.message=[],l.message.push({severity:"error",summary:"Error",detail:n.general[0].message})})},e.prototype.setSessionAndUserDetails=function(e){this.storageService.setItem(m.a.TOKEN_KEY,e.sessionToken),null!==this.signInResponse.accessGroup?(this.storageService.setItem(m.a.USER_DETAILS,e.user),this.storageService.setItem(m.a.ACCESS_MENU,this.signInResponse.accessGroup),m.a.HEADER_AUTHORIZATION_VALUE=e.sessionToken,m.a.USER=e.user,null!==e.user.userDetails&&this.storageService.setItem(m.a.CURRENT_USER_CORPORATE_ID,e.user.userDetails.corporateId)):(this.message=[],this.message.push({severity:"error",summary:"Error",detail:"Unauthorized access."}),this.signOut())},e.prototype.signOut=function(){var e=this;this.signInService.signOut().subscribe(function(l){e.storageService.removeAll(),e.notificationService.stopFetchingNotifications(),e.notificationService.canFetchNotification=!1,window.location.reload()},function(e){})},e.prototype.getServiceAreaId=function(){var e=this;this.signInService.getServiceAreaId().subscribe(function(l){try{e.storageService.setItem("SERVICE_AREA_ID",l[0].id)}catch(e){}e.getServiceType()},function(l){e.onAPIValidation(l)})},e.prototype.getServiceType=function(){var e=this;this.commonBindingDataService.getServiceTypeOnLogin().subscribe(function(l){e.storageService.setItem(m.a.SERVICE_TYPE,l),e.getTimeSetting()},function(l){e.onAPIValidation(l)})},e.prototype.getTimeSetting=function(){var e=this;this.commonBindingDataService.getTiming().subscribe(function(l){e.storageService.setItem(m.a.TIME_SETTINGS,l),e.setRolesAndGenerateSidebar()},function(l){e.onAPIValidation(l)})},e.prototype.setRolesAndGenerateSidebar=function(){var e=this.storageService.getItem(m.a.USER_DETAILS);if(void 0!==e.roles[0].roleCode&&null!==e.roles[0].roleCode)m.a.LOGGED_IN_ROLE=e.roles[0].roleCode,this.sidebarService.generateLeftMenuBar(),this.uiService.profileUpdated();else{this.storageService.removeAll();var l={general:[{message:this.commonBindingDataService.getLabel("label_invalid_role")}]};this.onAPIValidation(JSON.stringify(l))}this.isSubmitted=!1},e.prototype.forgotPassword=function(){this.forgotPopup=!0},e.prototype.onPopClose=function(e){this.forgotPopup=!1},e.prototype.onOtpPopClose=function(e){this.otpPopup=!1},e.prototype.onSetPasswordPopClose=function(e){this.setPasswordPopup=!1},e.prototype.onOtpPopSave=function(e){void 0!==e.general?(this.message=[],this.message.push({severity:"error",summary:"OTP",detail:e.general[0].message})):e.otpId&&(this.otpId=e.otpId,this.message=[],this.message.push({severity:"success",summary:"OTP Verified",detail:"OTP matched."}),this.setPasswordPopup=!0),this.forgotPopup=!1,this.otpPopup=!1},e.prototype.onPopSave=function(e){this.otpEmail=e.email,this.otpPhone=e.phone,this.message=[],this.message=[],this.message.push({severity:"success",summary:"Forgot Password.",detail:e.general[0].message}),this.forgotPopup=!1,this.otpPopup=!0},e.prototype.eventHandler=function(e){13===e.keyCode&&this.doSignIn()},e.ctorParameters=function(){return[{type:p.FormBuilder},{type:h.a},{type:g.a},{type:f.b},{type:v.Router},{type:b.a},{type:C.a},{type:y.a},{type:a.a}]},e}(),S=n("SSOi"),T=n("4cOY"),P=n("01UM"),R=n("4VUa"),A=n("wiMU"),I=n("HXr0"),D=n("/zAi"),N=function(){function e(e,l,n,o,r,a){this.formBuilder=e,this.storageService=l,this.translate=n,this.commonServices=o,this.uiSerice=r,this.commonBindingDataService=a,this.onPopClose=new t.EventEmitter,this.onPopSave=new t.EventEmitter,this.message=[],this.editforgotForm=new p.FormGroup({username:new p.FormControl})}return e.prototype.ngOnInit=function(){this.editforgotForm=this.formBuilder.group({username:["",[p.Validators.required]]})},e.prototype.closeEditForgot=function(e){this.editforgotForm.reset(),this.onPopClose.emit()},e.prototype.changePassword=function(e){var l,n,t,o=this;this.message=[];var r=this.editforgotForm.controls.username.value;r.match(m.a.EMAIL_PATTERN)?(n=r,l={email:r,tenantId:m.a.TENANT}):r.match(m.a.PHONE_PATTERN)?(t=r,l={phoneNum:r,tenantId:m.a.TENANT}):l={username:r,tenantId:m.a.TENANT},this.commonServices.forgotPassword(JSON.stringify(l)).subscribe(function(e){e.email=n,e.phone=t,o.onPopSave.emit(e),o.editforgotForm.reset()},function(e){o.dispalyMessage(e,"error")})},e.prototype.dispalyMessage=function(e,l){this.message=[],e=JSON.parse(e),this.message.push({severity:l,summary:l,detail:e.general[0].message})},e.ctorParameters=function(){return[{type:p.FormBuilder},{type:b.a},{type:f.b},{type:g.a},{type:h.a},{type:C.a}]},e}(),w=n("JhYc"),k=n("fZht"),M=n("NYDW"),O=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function F(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n email_required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"")},function(e,l){e(l,2,0,!l.component.editforgotForm.controls.username.errors.required)})}function U(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,45,"div",[["class","ui-g form-container"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,42,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,l,n){var o=!0;"submit"===l&&(o=!1!==t["\u0275nov"](e,4).onSubmit(n)&&o);"reset"===l&&(o=!1!==t["\u0275nov"](e,4).onReset()&&o);return o},null,null)),t["\u0275did"](3,16384,null,0,p["\u0275bf"],[],null,null),t["\u0275did"](4,540672,null,0,p.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,p.ControlContainer,null,[p.FormGroupDirective]),t["\u0275did"](6,16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](8,0,null,null,24,"div",[["class","ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](10,0,null,null,21,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](12,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](14,0,null,null,2,"label",[["for","username"],["translate",""]],null,null,null,null,null)),t["\u0275did"](15,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["Username"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](19,0,null,null,8,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](21,0,null,null,5,"input",[["formControlName","username"],["pInputText",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,22)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,22).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,22)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,22)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](22,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](24,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](26,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,F)),t["\u0275did"](30,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](34,0,null,null,9,"div",[["class","form-buttons ui-g-12 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](36,0,null,null,2,"button",[["class","negative-button"],["icon","fa-close"],["label","Cancel"],["pButton",""],["type","button"]],null,[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.closeEditForgot(n)&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](38,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](40,0,null,null,2,"button",[["icon","fa-check"],["label","Send"],["pButton",""],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.changePassword(n)&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](42,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](47,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](49,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null)],function(e,l){var n=l.component;e(l,4,0,n.editforgotForm);e(l,15,0,"");e(l,24,0,"username"),e(l,30,0,n.editforgotForm.controls.username.errors&&(n.editforgotForm.controls.username.dirty||n.editforgotForm.controls.username.touched));e(l,38,0,"Cancel","fa-close");e(l,42,0,"Send","fa-check"),e(l,49,0,n.message)},function(e,l){var n=l.component;e(l,2,0,t["\u0275nov"](l,6).ngClassUntouched,t["\u0275nov"](l,6).ngClassTouched,t["\u0275nov"](l,6).ngClassPristine,t["\u0275nov"](l,6).ngClassDirty,t["\u0275nov"](l,6).ngClassValid,t["\u0275nov"](l,6).ngClassInvalid,t["\u0275nov"](l,6).ngClassPending),e(l,21,0,t["\u0275nov"](l,26).ngClassUntouched,t["\u0275nov"](l,26).ngClassTouched,t["\u0275nov"](l,26).ngClassPristine,t["\u0275nov"](l,26).ngClassDirty,t["\u0275nov"](l,26).ngClassValid,t["\u0275nov"](l,26).ngClassInvalid,t["\u0275nov"](l,26).ngClassPending),e(l,40,0,!n.editforgotForm.valid)})}t["\u0275ccf"]("app-forgot-password",N,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-forgot-password",[],null,null,null,U,O)),t["\u0275did"](1,114688,null,0,N,[p.FormBuilder,b.a,s.a,g.a,h.a,C.a],null,null)],function(e,l){e(l,1,0)},null)},{},{onPopClose:"onPopClose",onPopSave:"onPopSave"},[]);var L=function(){function e(e,l,n,o,r){this.formBuilder=e,this.storageService=l,this.commonServices=n,this.uiSerice=o,this.commonBindingDataService=r,this.onOtpPopClose=new t.EventEmitter,this.onOtpPopSave=new t.EventEmitter,this.msg=[],this.otpForm=new p.FormGroup({otpInput:new p.FormControl})}return e.prototype.ngOnInit=function(){this.otpForm=this.formBuilder.group({otpInput:["",[p.Validators.required]]})},e.prototype.closeEditForgot=function(e){this.otpForm.reset(),this.onOtpPopClose.emit()},e.prototype.changePassword=function(e){var l,n=this;this.msg=[],l={otp:this.otpForm.controls.otpInput.value,email:this.email},this.commonServices.validateOtp(JSON.stringify(l)).subscribe(function(e){n.onOtpPopSave.emit(e),n.otpForm.reset()},function(e){e=JSON.parse(e),n.dispalyMessage(e,"error")})},e.prototype.dispalyMessage=function(e,l){this.msg=[],this.msg.push({severity:l,summary:"Error",detail:e.general[0].message})},e.ctorParameters=function(){return[{type:p.FormBuilder},{type:b.a},{type:g.a},{type:h.a},{type:C.a}]},e}(),V=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function B(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n invalid_otp\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"")},function(e,l){e(l,2,0,!l.component.otpForm.controls.otpInput.errors.required)})}function q(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,45,"div",[["class","ui-g form-container"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,42,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,l,n){var o=!0;"submit"===l&&(o=!1!==t["\u0275nov"](e,4).onSubmit(n)&&o);"reset"===l&&(o=!1!==t["\u0275nov"](e,4).onReset()&&o);return o},null,null)),t["\u0275did"](3,16384,null,0,p["\u0275bf"],[],null,null),t["\u0275did"](4,540672,null,0,p.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,p.ControlContainer,null,[p.FormGroupDirective]),t["\u0275did"](6,16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](8,0,null,null,24,"div",[["class","ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](10,0,null,null,21,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](12,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](14,0,null,null,2,"label",[["for","username"],["translate",""]],null,null,null,null,null)),t["\u0275did"](15,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["label_otp_msg"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](19,0,null,null,8,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](21,0,null,null,5,"input",[["formControlName","otpInput"],["pInputText",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,22)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,22).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,22)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,22)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](22,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](24,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](26,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,B)),t["\u0275did"](30,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](34,0,null,null,9,"div",[["class","form-buttons ui-g-12 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](36,0,null,null,2,"button",[["class","negative-button"],["icon","fa-close"],["label","Cancel"],["pButton",""],["type","button"]],null,[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.closeEditForgot(n)&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](38,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](40,0,null,null,2,"button",[["icon","fa-check"],["label","Send"],["pButton",""],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.changePassword(n)&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](42,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](47,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](49,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null)],function(e,l){var n=l.component;e(l,4,0,n.otpForm);e(l,15,0,"");e(l,24,0,"otpInput"),e(l,30,0,n.otpForm.controls.otpInput.errors&&(n.otpForm.controls.otpInput.dirty||n.otpForm.controls.otpInput.touched));e(l,38,0,"Cancel","fa-close");e(l,42,0,"Send","fa-check"),e(l,49,0,n.msg)},function(e,l){var n=l.component;e(l,2,0,t["\u0275nov"](l,6).ngClassUntouched,t["\u0275nov"](l,6).ngClassTouched,t["\u0275nov"](l,6).ngClassPristine,t["\u0275nov"](l,6).ngClassDirty,t["\u0275nov"](l,6).ngClassValid,t["\u0275nov"](l,6).ngClassInvalid,t["\u0275nov"](l,6).ngClassPending),e(l,21,0,t["\u0275nov"](l,26).ngClassUntouched,t["\u0275nov"](l,26).ngClassTouched,t["\u0275nov"](l,26).ngClassPristine,t["\u0275nov"](l,26).ngClassDirty,t["\u0275nov"](l,26).ngClassValid,t["\u0275nov"](l,26).ngClassInvalid,t["\u0275nov"](l,26).ngClassPending),e(l,40,0,!n.otpForm.valid)})}t["\u0275ccf"]("app-otp-verifiy",L,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-otp-verifiy",[],null,null,null,q,V)),t["\u0275did"](1,114688,null,0,L,[p.FormBuilder,b.a,g.a,h.a,C.a],null,null)],function(e,l){e(l,1,0)},null)},{email:"email",phone:"phone"},{onOtpPopClose:"onOtpPopClose",onOtpPopSave:"onOtpPopSave"},[]);var G=n("c0TX"),x=function(){function e(e,l,n,o){this.formBuilder=e,this.signOutService=l,this.commonService=n,this.errorBindingService=o,this.onSetPasswordPopClose=new t.EventEmitter,this.passwordError=[{message:!1}],this.errorMessage=[],this.setPasswordForm=new p.FormGroup({newPassword:new p.FormControl,newConfirmPassword:new p.FormControl})}return e.prototype.ngOnInit=function(){this.setPasswordForm=this.formBuilder.group({newPassword:["",[p.Validators.required]],newConfirmPassword:["",[p.Validators.required]]})},e.prototype.passwordNotMatched=function(){if(this.setPasswordForm.controls.newPassword.value===this.setPasswordForm.controls.newConfirmPassword.value)return!0;var e={general:[{message:this.commonService.getLabel("label_password_match")}]};this.errorBindingService.onAPIValidationError(JSON.stringify(e),this.passwordError)},e.prototype.requestData=function(){return{otpId:this.otpId,password:this.setPasswordForm.controls.newPassword.value}},e.prototype.doChangePassword=function(){var e=this;if(this.passwordNotMatched()){var l=this.requestData(),n=this;this.signOutService.setPassword(JSON.stringify(l)).subscribe(function(l){null!==l.general&&void 0!==l.general&&(l.general.forEach(function(l){e.errorMessage=[],e.errorMessage.push({severity:"success",summary:"Success",detail:l.message})}),setTimeout(function(){e.setPasswordForm.reset(),e.onSetPasswordPopClose.emit(!1)},2e3))},function(e){null!==(e=JSON.parse(e)).general&&void 0!==e.general&&e.general.forEach(function(e){n.errorMessage=[],n.errorMessage.push({severity:"warn",summary:"Error",detail:e.message})})})}},e.prototype.onCancel=function(){this.setPasswordForm.reset(),this.onSetPasswordPopClose.emit(!1)},e.ctorParameters=function(){return[{type:p.FormBuilder},{type:g.a},{type:C.a},{type:G.a}]},e}(),H=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function j(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](1,null,["\n ","\n "]))],null,function(e,l){e(l,1,0,l.context.$implicit.message)})}function K(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,4,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n New Password is required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,2,0,!l.component.setPasswordForm.controls.newPassword.errors.required)})}function Y(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,4,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n Please Confirm Password\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,2,0,!l.component.setPasswordForm.controls.newConfirmPassword.errors.required)})}function z(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,87,"div",[["class","ui-g form-container"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,84,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,l,n){var o=!0;"submit"===l&&(o=!1!==t["\u0275nov"](e,4).onSubmit(n)&&o);"reset"===l&&(o=!1!==t["\u0275nov"](e,4).onReset()&&o);return o},null,null)),t["\u0275did"](3,16384,null,0,p["\u0275bf"],[],null,null),t["\u0275did"](4,540672,null,0,p.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,p.ControlContainer,null,[p.FormGroupDirective]),t["\u0275did"](6,16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,77,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](10,0,null,null,10,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](12,0,null,null,7,"div",[["class","form-field ui-g-12 UI-MD-12 ui-lg-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](14,0,null,null,4,"div",[["class","form-errors alert alert-danger"]],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,j)),t["\u0275did"](17,802816,null,0,_.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n \n "])),(e()(),t["\u0275eld"](22,0,null,null,23,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](24,0,null,null,20,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](26,0,null,null,4,"div",[["class","form-label ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](28,0,null,null,1,"label",[["for","newPassword"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["New Password"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](32,0,null,null,8,"div",[["class","form-control ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](34,0,null,null,5,"input",[["formControlName","newPassword"],["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,35)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,35).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,35)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,35)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](35,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](37,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](39,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,K)),t["\u0275did"](43,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](47,0,null,null,23,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](49,0,null,null,20,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](51,0,null,null,4,"div",[["class","form-label ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](53,0,null,null,1,"label",[["for","newConfirmPassword"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["New Confirm Password"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](57,0,null,null,8,"div",[["class","form-control ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](59,0,null,null,5,"input",[["formControlName","newConfirmPassword"],["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,60)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,60).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,60)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,60)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](60,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](62,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](64,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Y)),t["\u0275did"](68,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](72,0,null,null,12,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](74,0,null,null,9,"div",[["class","form-buttons ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](76,0,null,null,2,"button",[["icon","fa-check"],["label","Save"],["pButton",""],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.doChangePassword()&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](78,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](80,0,null,null,2,"button",[["class","negative-button"],["icon","fa-close"],["label","Cancel"],["pButton",""],["type","button"]],null,[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.onCancel()&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](82,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275eld"](89,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](91,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null)],function(e,l){var n=l.component;e(l,4,0,n.setPasswordForm),e(l,17,0,n.passwordError.general);e(l,37,0,"newPassword"),e(l,43,0,n.setPasswordForm.controls.newPassword.errors&&(n.setPasswordForm.controls.newPassword.dirty||n.setPasswordForm.controls.newPassword.touched));e(l,62,0,"newConfirmPassword"),e(l,68,0,n.setPasswordForm.controls.newConfirmPassword.errors&&(n.setPasswordForm.controls.newConfirmPassword.dirty||n.setPasswordForm.controls.newConfirmPassword.touched));e(l,78,0,"Save","fa-check");e(l,82,0,"Cancel","fa-close"),e(l,91,0,n.errorMessage)},function(e,l){var n=l.component;e(l,2,0,t["\u0275nov"](l,6).ngClassUntouched,t["\u0275nov"](l,6).ngClassTouched,t["\u0275nov"](l,6).ngClassPristine,t["\u0275nov"](l,6).ngClassDirty,t["\u0275nov"](l,6).ngClassValid,t["\u0275nov"](l,6).ngClassInvalid,t["\u0275nov"](l,6).ngClassPending),e(l,14,0,!n.passwordError[0].general),e(l,34,0,t["\u0275nov"](l,39).ngClassUntouched,t["\u0275nov"](l,39).ngClassTouched,t["\u0275nov"](l,39).ngClassPristine,t["\u0275nov"](l,39).ngClassDirty,t["\u0275nov"](l,39).ngClassValid,t["\u0275nov"](l,39).ngClassInvalid,t["\u0275nov"](l,39).ngClassPending),e(l,59,0,t["\u0275nov"](l,64).ngClassUntouched,t["\u0275nov"](l,64).ngClassTouched,t["\u0275nov"](l,64).ngClassPristine,t["\u0275nov"](l,64).ngClassDirty,t["\u0275nov"](l,64).ngClassValid,t["\u0275nov"](l,64).ngClassInvalid,t["\u0275nov"](l,64).ngClassPending),e(l,76,0,!n.setPasswordForm.valid)})}t["\u0275ccf"]("app-set-password",x,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-set-password",[],null,null,null,z,H)),t["\u0275did"](1,114688,null,0,x,[p.FormBuilder,g.a,C.a,G.a],null,null)],function(e,l){e(l,1,0)},null)},{otpId:"otpId"},{onSetPasswordPopClose:"onSetPasswordPopClose"},[]);var Q=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Z(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](1,null,["\n ","\n "]))],null,function(e,l){e(l,1,0,l.context.$implicit.message)})}function J(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n email_required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"")},function(e,l){e(l,2,0,!l.component.signInForm.controls.username.errors.required)})}function W(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](1,null,["\n ","\n "]))],null,function(e,l){e(l,1,0,l.context.$implicit.message)})}function X(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,4,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](3,null,["\n ","\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,2,0,!l.component.signInForm.controls.password.errors.required);e(l,3,0,"Password is required")})}function $(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,101,"div",[["class","signin-box-container ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,98,"div",[["class","signin-box-inner-container"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,95,"div",[["class","signin-box ui-g-10 ui-md-6 ui-lg-6 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](6,0,null,null,3,"div",[["class","company-logo"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,0,"img",[["src","/assets/images/temp/truck-logo-black.png"],["width","200"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](11,0,null,null,87,"p-panel",[["header","Sign In"]],null,null,null,d.b,d.a)),t["\u0275did"](12,49152,null,1,c.Panel,[t.ElementRef],{header:[0,"header"]},null),t["\u0275qud"](335544320,1,{footerFacet:0}),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](15,0,null,1,82,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,l,n){var o=!0;"submit"===l&&(o=!1!==t["\u0275nov"](e,17).onSubmit(n)&&o);"reset"===l&&(o=!1!==t["\u0275nov"](e,17).onReset()&&o);return o},null,null)),t["\u0275did"](16,16384,null,0,p["\u0275bf"],[],null,null),t["\u0275did"](17,540672,null,0,p.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,p.ControlContainer,null,[p.FormGroupDirective]),t["\u0275did"](19,16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](21,0,null,null,75,"div",[["class","form-container ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](23,0,null,null,7,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](25,0,null,null,4,"div",[["class","alert alert-danger"]],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Z)),t["\u0275did"](28,802816,null,0,_.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](32,0,null,null,22,"div",[["class","form-field ui-g-12 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](34,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](36,0,null,null,2,"label",[["for","username"],["translate",""]],null,null,null,null,null)),t["\u0275did"](37,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["label_username"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](41,0,null,null,9,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](43,0,null,null,6,"input",[["class","full-width"],["formControlName","username"],["pInputText",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"ui-inputtext",null],[2,"ui-corner-all",null],[2,"ui-state-default",null],[2,"ui-widget",null],[2,"ui-state-filled",null]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0,r=e.component;"input"===l&&(o=!1!==t["\u0275nov"](e,44)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,44).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,44)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,44)._compositionEnd(n.target.value)&&o);"input"===l&&(o=!1!==t["\u0275nov"](e,49).onInput(n)&&o);"keypress"===l&&(o=!1!==r.eventHandler(n)&&o);return o},null,null)),t["\u0275did"](44,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](46,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](48,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),t["\u0275did"](49,278528,null,0,S.InputText,[t.ElementRef],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,J)),t["\u0275did"](53,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](56,0,null,null,39,"div",[["class","form-field ui-g-12 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](58,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](60,0,null,null,2,"label",[["for","passwd"],["translate",""]],null,null,null,null,null)),t["\u0275did"](61,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,[" Password "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](65,0,null,null,15,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](67,0,null,null,6,"input",[["class","full-width"],["formControlName","password"],["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"ui-inputtext",null],[2,"ui-corner-all",null],[2,"ui-state-default",null],[2,"ui-widget",null],[2,"ui-state-filled",null]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0,r=e.component;"input"===l&&(o=!1!==t["\u0275nov"](e,68)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,68).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,68)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,68)._compositionEnd(n.target.value)&&o);"input"===l&&(o=!1!==t["\u0275nov"](e,73).onInput(n)&&o);"keypress"===l&&(o=!1!==r.eventHandler(n)&&o);return o},null,null)),t["\u0275did"](68,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](70,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](72,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),t["\u0275did"](73,278528,null,0,S.InputText,[t.ElementRef],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](75,0,null,null,4,"div",[["class","alert alert-danger"]],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,W)),t["\u0275did"](78,802816,null,0,_.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,X)),t["\u0275did"](83,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](85,0,null,null,9,"div",[["class","form-buttons ui-g-12 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](87,0,null,null,2,"a",[["class","forgot-password-link"],["translate",""]],null,[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.forgotPassword()&&t);return t},null,null)),t["\u0275did"](88,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["forgot_password"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](91,0,null,null,2,"button",[["label","Sign In"],["pButton",""],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.doSignIn()&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](93,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n\n"])),(e()(),t["\u0275eld"](103,0,null,null,12,"p-dialog",[["modal","false"],["position","center center"],["responsive","true"],["styleClass","edit-popup"]],null,[[null,"visibleChange"]],function(e,l,n){var t=!0,o=e.component;"visibleChange"===l&&(t=!1!==(o.forgotPopup=n)&&t);return t},R.b,R.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](105,12763136,null,2,A.Dialog,[t.ElementRef,T.DomHandler,t.Renderer2,t.NgZone],{modal:[0,"modal"],closable:[1,"closable"],responsive:[2,"responsive"],styleClass:[3,"styleClass"],visible:[4,"visible"]},{visibleChange:"visibleChange"}),t["\u0275qud"](603979776,2,{headerFacet:1}),t["\u0275qud"](603979776,3,{footerFacet:1}),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](109,0,null,0,2,"p-header",[],null,null,null,I.q,I.h)),t["\u0275did"](110,49152,[[2,4]],0,D.Header,[],null,null),(e()(),t["\u0275ted"](-1,0,["\n Reset Password\n "])),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](113,0,null,1,1,"app-forgot-password",[],null,[[null,"onPopClose"],[null,"onPopSave"]],function(e,l,n){var t=!0,o=e.component;"onPopClose"===l&&(t=!1!==o.onPopClose(n)&&t);"onPopSave"===l&&(t=!1!==o.onPopSave(n)&&t);return t},U,O)),t["\u0275did"](114,114688,null,0,N,[p.FormBuilder,b.a,s.a,g.a,h.a,C.a],null,{onPopClose:"onPopClose",onPopSave:"onPopSave"}),(e()(),t["\u0275ted"](-1,1,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](117,0,null,null,12,"p-dialog",[["modal","false"],["position","center center"],["responsive","true"],["styleClass","edit-popup"]],null,[[null,"visibleChange"]],function(e,l,n){var t=!0,o=e.component;"visibleChange"===l&&(t=!1!==(o.otpPopup=n)&&t);return t},R.b,R.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](119,12763136,null,2,A.Dialog,[t.ElementRef,T.DomHandler,t.Renderer2,t.NgZone],{modal:[0,"modal"],closable:[1,"closable"],responsive:[2,"responsive"],styleClass:[3,"styleClass"],visible:[4,"visible"]},{visibleChange:"visibleChange"}),t["\u0275qud"](603979776,4,{headerFacet:1}),t["\u0275qud"](603979776,5,{footerFacet:1}),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](123,0,null,0,2,"p-header",[],null,null,null,I.q,I.h)),t["\u0275did"](124,49152,[[4,4]],0,D.Header,[],null,null),(e()(),t["\u0275ted"](-1,0,["\n Validate OTP\n "])),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](127,0,null,1,1,"app-otp-verifiy",[],null,[[null,"onOtpPopClose"],[null,"onOtpPopSave"]],function(e,l,n){var t=!0,o=e.component;"onOtpPopClose"===l&&(t=!1!==o.onOtpPopClose(n)&&t);"onOtpPopSave"===l&&(t=!1!==o.onOtpPopSave(n)&&t);return t},q,V)),t["\u0275did"](128,114688,null,0,L,[p.FormBuilder,b.a,g.a,h.a,C.a],{email:[0,"email"],phone:[1,"phone"]},{onOtpPopClose:"onOtpPopClose",onOtpPopSave:"onOtpPopSave"}),(e()(),t["\u0275ted"](-1,1,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](131,0,null,null,12,"p-dialog",[["modal","false"],["position","center center"],["responsive","true"],["styleClass","edit-popup"]],null,[[null,"visibleChange"]],function(e,l,n){var t=!0,o=e.component;"visibleChange"===l&&(t=!1!==(o.setPasswordPopup=n)&&t);return t},R.b,R.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](133,12763136,null,2,A.Dialog,[t.ElementRef,T.DomHandler,t.Renderer2,t.NgZone],{modal:[0,"modal"],closable:[1,"closable"],responsive:[2,"responsive"],styleClass:[3,"styleClass"],visible:[4,"visible"]},{visibleChange:"visibleChange"}),t["\u0275qud"](603979776,6,{headerFacet:1}),t["\u0275qud"](603979776,7,{footerFacet:1}),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](137,0,null,0,2,"p-header",[],null,null,null,I.q,I.h)),t["\u0275did"](138,49152,[[6,4]],0,D.Header,[],null,null),(e()(),t["\u0275ted"](-1,0,["\n Validate OTP\n "])),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](141,0,null,1,1,"app-set-password",[],null,[[null,"onSetPasswordPopClose"]],function(e,l,n){var t=!0,o=e.component;"onSetPasswordPopClose"===l&&(t=!1!==o.onSetPasswordPopClose(n)&&t);return t},z,H)),t["\u0275did"](142,114688,null,0,x,[p.FormBuilder,g.a,C.a,G.a],{otpId:[0,"otpId"]},{onSetPasswordPopClose:"onSetPasswordPopClose"}),(e()(),t["\u0275ted"](-1,1,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](145,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](147,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null)],function(e,l){var n=l.component;e(l,12,0,"Sign In"),e(l,17,0,n.signInForm),e(l,28,0,n.loginErrors.general.error);e(l,37,0,"");e(l,46,0,"username"),e(l,49,0),e(l,53,0,n.signInForm.controls.username.errors&&(n.signInForm.controls.username.dirty||n.signInForm.controls.username.touched));e(l,61,0,"");e(l,70,0,"password"),e(l,73,0),e(l,78,0,n.loginErrors.password.error),e(l,83,0,n.signInForm.controls.password.errors&&(n.signInForm.controls.password.dirty||n.signInForm.controls.password.touched));e(l,88,0,"");e(l,93,0,"Sign In");e(l,105,0,"false",!1,"true","edit-popup",n.forgotPopup),e(l,114,0);e(l,119,0,"false",!1,"true","edit-popup",n.otpPopup),e(l,128,0,n.otpEmail,n.otpPhone);e(l,133,0,"false",!1,"true","edit-popup",n.setPasswordPopup),e(l,142,0,n.otpId),e(l,147,0,n.message)},function(e,l){var n=l.component;e(l,15,0,t["\u0275nov"](l,19).ngClassUntouched,t["\u0275nov"](l,19).ngClassTouched,t["\u0275nov"](l,19).ngClassPristine,t["\u0275nov"](l,19).ngClassDirty,t["\u0275nov"](l,19).ngClassValid,t["\u0275nov"](l,19).ngClassInvalid,t["\u0275nov"](l,19).ngClassPending),e(l,25,0,!n.loginErrors.general.hasError);e(l,43,1,[t["\u0275nov"](l,48).ngClassUntouched,t["\u0275nov"](l,48).ngClassTouched,t["\u0275nov"](l,48).ngClassPristine,t["\u0275nov"](l,48).ngClassDirty,t["\u0275nov"](l,48).ngClassValid,t["\u0275nov"](l,48).ngClassInvalid,t["\u0275nov"](l,48).ngClassPending,!0,!0,!0,!0,t["\u0275nov"](l,49).filled]);e(l,67,1,[t["\u0275nov"](l,72).ngClassUntouched,t["\u0275nov"](l,72).ngClassTouched,t["\u0275nov"](l,72).ngClassPristine,t["\u0275nov"](l,72).ngClassDirty,t["\u0275nov"](l,72).ngClassValid,t["\u0275nov"](l,72).ngClassInvalid,t["\u0275nov"](l,72).ngClassPending,!0,!0,!0,!0,t["\u0275nov"](l,73).filled]),e(l,75,0,!n.loginErrors.password.hasError),e(l,91,0,!n.signInForm.valid)})}var ee=t["\u0275ccf"]("app-sign-in",E,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-sign-in",[],null,null,null,$,Q)),t["\u0275did"](1,114688,null,0,E,[p.FormBuilder,h.a,g.a,s.a,v.Router,b.a,C.a,y.a,a.a],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]),le=function(){function e(){}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[]},e}(),ne=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function te(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n sign-up works!\n"])),(e()(),t["\u0275ted"](-1,null,["\n"]))],null,null)}var oe=t["\u0275ccf"]("app-sign-up",le,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-sign-up",[],null,null,null,te,ne)),t["\u0275did"](1,114688,null,0,le,[],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]),re=n("2X1u"),ae=function(){function e(e){this.restApiService=e}return e.prototype.emailVerify=function(e){return this.restApiService.put("/email-phonenum-verification",e,"page-center")},e.prototype.setPassword=function(e){return this.restApiService.post("/users/set-verified-user-password",e,"page-center")},e.ctorParameters=function(){return[{type:re.a}]},e}(),ie=function(){function e(e,l,n){this.route=e,this.emailVerifyService=l,this.uiService=n,this.newPassword="",this.confirmPassword="",this.msgs=[],this.emailVerify=!1,this.verifyMessage="",this.getResponse=!1,this.passwordSetSucessFully=!1}return e.prototype.ngOnInit=function(){var e=this;this.route.queryParams.map(function(e){return e.token}).subscribe(function(l){e.token=l}),this.route.queryParams.map(function(e){return e.setPass}).subscribe(function(l){e.setPass=l}),this.verifyEmail()},e.prototype.verifyEmail=function(){var e=this,l={verifyTokenId:this.token};this.emailVerifyService.emailVerify(l).subscribe(function(l){e.emailVerify=!0,e.getResponse=!0,e.verifyMessage=l.general[0].message},function(l){l=JSON.parse(l);for(var n in l)e.verifyMessage=l[n][0].message;e.getResponse=!0})},e.prototype.setPassword=function(){var e=this,l={verifyTokenId:this.token,password:this.newPassword};this.emailVerifyService.setPassword(l).subscribe(function(l){e.msgs=[],e.msgs.push({severity:"success",summary:"Confirmed",detail:l.general[0].message}),e.passwordSetSucessFully=!0},function(l){e.msgs=[],l=JSON.parse(l);for(var n in l)e.msgs.push({severity:"error",summary:"Error",detail:l.general[0].message})})},e.ctorParameters=function(){return[{type:v.ActivatedRoute},{type:ae},{type:h.a}]},e}(),ue=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function se(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,18,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,4,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,1,"label",[["for","note"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["New Password :"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,9,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](10,0,null,null,6,"input",[["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"ui-inputtext",null],[2,"ui-corner-all",null],[2,"ui-state-default",null],[2,"ui-widget",null],[2,"ui-state-filled",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0,r=e.component;"input"===l&&(o=!1!==t["\u0275nov"](e,11)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,11).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,11)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,11)._compositionEnd(n.target.value)&&o);"input"===l&&(o=!1!==t["\u0275nov"](e,16).onInput(n)&&o);"ngModelChange"===l&&(o=!1!==(r.newPassword=n)&&o);return o},null,null)),t["\u0275did"](11,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](13,671744,null,0,p.NgModel,[[8,null],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),t["\u0275prd"](2048,null,p.NgControl,null,[p.NgModel]),t["\u0275did"](15,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),t["\u0275did"](16,278528,null,0,S.InputText,[t.ElementRef],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,13,0,l.component.newPassword),e(l,16,0)},function(e,l){e(l,10,1,[t["\u0275nov"](l,15).ngClassUntouched,t["\u0275nov"](l,15).ngClassTouched,t["\u0275nov"](l,15).ngClassPristine,t["\u0275nov"](l,15).ngClassDirty,t["\u0275nov"](l,15).ngClassValid,t["\u0275nov"](l,15).ngClassInvalid,t["\u0275nov"](l,15).ngClassPending,!0,!0,!0,!0,t["\u0275nov"](l,16).filled])})}function de(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,18,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,4,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,1,"label",[["for","note"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["Confirm Password :"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,9,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](10,0,null,null,6,"input",[["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"ui-inputtext",null],[2,"ui-corner-all",null],[2,"ui-state-default",null],[2,"ui-widget",null],[2,"ui-state-filled",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0,r=e.component;"input"===l&&(o=!1!==t["\u0275nov"](e,11)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,11).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,11)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,11)._compositionEnd(n.target.value)&&o);"input"===l&&(o=!1!==t["\u0275nov"](e,16).onInput(n)&&o);"ngModelChange"===l&&(o=!1!==(r.confirmPassword=n)&&o);return o},null,null)),t["\u0275did"](11,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](13,671744,null,0,p.NgModel,[[8,null],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),t["\u0275prd"](2048,null,p.NgControl,null,[p.NgModel]),t["\u0275did"](15,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),t["\u0275did"](16,278528,null,0,S.InputText,[t.ElementRef],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,13,0,l.component.confirmPassword),e(l,16,0)},function(e,l){e(l,10,1,[t["\u0275nov"](l,15).ngClassUntouched,t["\u0275nov"](l,15).ngClassTouched,t["\u0275nov"](l,15).ngClassPristine,t["\u0275nov"](l,15).ngClassDirty,t["\u0275nov"](l,15).ngClassValid,t["\u0275nov"](l,15).ngClassInvalid,t["\u0275nov"](l,15).ngClassPending,!0,!0,!0,!0,t["\u0275nov"](l,16).filled])})}function ce(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","ui-g-12"],["style","text-align:center"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"button",[["label","Set Password"],["pButton",""]],[[8,"disabled",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.setPassword()&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](4,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"]},null),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,4,0,"Set Password")},function(e,l){var n=l.component;e(l,2,0,n.newPassword!==n.confirmPassword||""===n.newPassword||""===n.confirmPassword||n.newPassword.length<8)})}function pe(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,21,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,18,"div",[["class","ui-g-offset-4 ui-g-4 ui-sm-offset-2 ui-sm-8"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,12,"div",[["class","email-verified"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](6,0,null,null,0,"img",[["src","assets/images/temp/email-verified.png"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),t["\u0275ted"](9,null,["",""])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,se)),t["\u0275did"](12,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,de)),t["\u0275did"](15,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,ce)),t["\u0275did"](19,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){var n=l.component;e(l,12,0,"true"===n.setPass&&!n.passwordSetSucessFully),e(l,15,0,"true"===n.setPass&&!n.passwordSetSucessFully),e(l,19,0,"true"===n.setPass&&!n.passwordSetSucessFully)},function(e,l){e(l,9,0,l.component.verifyMessage)})}function _e(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,12,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,9,"div",[["class","ui-g-offset-4 ui-g-4"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,6,"div",[["class","email-verified"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](6,0,null,null,0,"img",[["src","assets/images/temp/email-verified-error.png"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),t["\u0275ted"](9,null,["",""])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,9,0,l.component.verifyMessage)})}function me(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,11,"div",[["class","email-verification"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,pe)),t["\u0275did"](3,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n\n\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,_e)),t["\u0275did"](6,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](10,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n"]))],function(e,l){var n=l.component;e(l,3,0,n.emailVerify&&n.getResponse),e(l,6,0,!n.emailVerify&&n.getResponse),e(l,10,0,n.msgs)},null)}var ge=t["\u0275ccf"]("app-email-phone-verify",ie,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-email-phone-verify",[],null,null,null,me,ue)),t["\u0275did"](1,114688,null,0,ie,[v.ActivatedRoute,ae,h.a],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]),fe=n("o6tO"),ve=n("3ue9"),he=function(){function e(e){this.commonBindingDataService=e,this.reloadNotification=new t.EventEmitter,this.message=[]}return e.prototype.ngOnInit=function(){},e.prototype.readNotification=function(e){if(!e.readStatus){this.readNotificationsCall(e,{readStatus:!0})}},e.prototype.readNotificationsCall=function(e,l){var n=this;this.commonBindingDataService.readNotifications(e.id,l).subscribe(function(l){e.readStatus=!0,n.reloadNotification.emit()},function(e){e=JSON.parse(e),n.message=[],n.message.push({severity:"error",summary:"error",detail:e.general[0].message})})},e.ctorParameters=function(){return[{type:C.a}]},e}(),be=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ce(e){return t["\u0275vid"](0,[t["\u0275pid"](0,fe.a,[]),t["\u0275pid"](0,ve.a,[]),(e()(),t["\u0275eld"](2,0,null,null,21,"div",[["class","ui-g notification-card"]],[[2,"is-unread",null]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.readNotification(o.notificationData)&&t);return t},null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,2,"div",[["class","ui-g-6 secondary-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](5,null,["\n ","\n "])),t["\u0275ppd"](6,1),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,2,"div",[["class","ui-g-6 secondary-label ago"]],null,null,null,null,null)),(e()(),t["\u0275ted"](9,null,["\n ","\n "])),t["\u0275ppd"](10,1),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](12,0,null,null,1,"div",[["class","ui-g-12 info-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](13,null,["\n "," \n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](15,0,null,null,2,"div",[["class","ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](19,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](21,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](23,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null)],function(e,l){e(l,23,0,l.component.message)},function(e,l){var n=l.component;e(l,2,0,!n.notificationData.readStatus),e(l,5,0,t["\u0275unv"](l,5,0,e(l,6,0,t["\u0275nov"](l,0),n.notificationData.createdAt))),e(l,9,0,t["\u0275unv"](l,9,0,e(l,10,0,t["\u0275nov"](l,1),n.notificationData.createdAt))),e(l,13,0,n.notificationData.message)})}t["\u0275ccf"]("app-notification-mg1",he,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-notification-mg1",[],null,null,null,Ce,be)),t["\u0275did"](1,114688,null,0,he,[C.a],null,null)],function(e,l){e(l,1,0)},null)},{notificationData:"notificationData"},{reloadNotification:"reloadNotification"},[]);var ye=function(){function e(e,l,n,t,o){this.uiService=e,this.userCommandService=l,this.router=n,this.storageService=t,this.NotificationsService=o,this.message=[],this.profileUrl=m.a.DEFAULT_PROFILE_IMAGE_URL,this.changePasswordPopup=!1,this.editProfilePopup=!1,this.myDate=new Date(1496314866e3),this.myDateLong=1496314866e3,this.minuts=240,this.notifications=[],this.unReadNotificatonsCount=0,this.limit=5,this.offset=0,this.showMoreOff=!0}return e.prototype.ngOnInit=function(){var e=this;this.items=[{label:"Edit Profile",icon:"fa fa-user-circle-o",command:function(l){e.editProfile()}},{label:"Change password",icon:"fa fa-key",command:function(l){e.changePassword()}},{label:"Logout",icon:"fa fa-sign-out",command:function(l){e.doSignOut()}}];var l=this.storageService.getItem(m.a.USER_DETAILS);void 0!==l&&null!==l&&(this.userFullName=l.firstName+" "+l.lastName,void 0!==l.userDetails&&null!==l.userDetails&&null!==l.userDetails.profileImage&&(this.profileUrl=m.a.GET_FILE_THUMB_URL+l.userDetails.profileImage)),this.subscription=this.uiService.profileUpdatedEvent.subscribe(function(l){e.updateProfileContent(),e.notificationProcessInitialization()}),this.getNotificationUnReadcountCount(),this.notificationProcessInitialization()},e.prototype.notificationProcessInitialization=function(){var e=this;this.NotificationsService.startFetchingNotifications(function(){e.getNotificationUnReadcountCount()})},e.prototype.getNotificationUnReadcountCount=function(){var e=this;this.unReadNotificatonsCount=0,this.corpId=this.storageService.getItem(m.a.CURRENT_USER_CORPORATE_ID),null===this.corpId&&(this.corpId=""),this.storageService.getItem(m.a.TOKEN_KEY)&&this.NotificationsService.getCount(this.corpId).subscribe(function(l){e.unReadNotificatonsCount=l.unReadcount})},e.prototype.getNotificationListAndToggle=function(e,l){this.limit=5,this.offset=0,this.notifications=[],this.getNotificationList(),l.toggle(e)},e.prototype.getNotificationList=function(){var e=this;this.corpId=this.storageService.getItem(m.a.CURRENT_USER_CORPORATE_ID),this.NotificationsService.getDetails(this.limit,this.offset,this.corpId).subscribe(function(l){l.count>=l.limit&&(e.offset=e.offset+l.limit),e.notifications=e.notifications.concat(l.data),e.limitReached(l)})},e.prototype.limitReached=function(e){e.limit+e.offset>=e.count?this.showMoreOff=!0:this.showMoreOff=!1},e.prototype.onSideMenuClick=function(e){e.preventDefault(),document.getElementsByTagName("body")[0].classList.toggle("closed"),this.uiService.sidebarToggled()},e.prototype.doSignOut=function(){var e=this;this.userCommandService.signOut().subscribe(function(l){e.storageService.removeAll(),e.NotificationsService.stopFetchingNotifications(),e.unReadNotificatonsCount=0,e.NotificationsService.canFetchNotification=!1,e.router.navigate(["/signin"])},function(l){e.errorMessage(l)})},e.prototype.updateProfileContent=function(){var e=this;this.userCommandService.getUserProfile().subscribe(function(l){e.storageService.setItem(m.a.USER_DETAILS,l),m.a.USER=l,e.userFullName=l.firstName+" "+l.lastName,void 0!==l.userDetails&&null!==l.userDetails&&null!==l.userDetails.profileImage&&(e.profileUrl=m.a.GET_FILE_THUMB_URL+l.userDetails.profileImage),console.log(e.profileUrl)},function(l){e.errorMessage(l)})},e.prototype.changePassword=function(){this.changePasswordPopup=!0},e.prototype.editProfile=function(){this.editProfilePopup=!0,this.editPro.setData()},e.prototype.onCancelEditProfile=function(e){this.editProfilePopup=!this.editProfilePopup},e.prototype.onCancelChangePassword=function(e){this.changePasswordPopup=!this.changePasswordPopup},e.prototype.ngOnDestroy=function(){this.NotificationsService.stopFetchingNotifications(),this.subscription.unsubscribe()},e.prototype.errorMessage=function(e){e=JSON.parse(e),this.message=[],this.message.push({severity:"error",summary:"error",detail:e.general[0].message})},e.ctorParameters=function(){return[{type:h.a},{type:g.a},{type:v.Router},{type:b.a},{type:a.a}]},e}(),Ee=n("QtJL"),Se=n("583M"),Te=n("LA/2"),Pe=n("V0p3"),Re=function(){function e(e,l,n,o){this.formBuilder=e,this.signOutService=l,this.commonService=n,this.errorBindingService=o,this.passwordError=[{message:!1}],this.errorMessage=[],this.isShowChangePassword=new t.EventEmitter,this.chagePasswordForm=new p.FormGroup({oldPassword:new p.FormControl,newPassword:new p.FormControl,newConfirmPassword:new p.FormControl})}return e.prototype.ngOnInit=function(){this.chagePasswordForm=this.formBuilder.group({oldPassword:["",[p.Validators.required]],newPassword:["",[p.Validators.required]],newConfirmPassword:["",[p.Validators.required]]})},e.prototype.passwordNotMatched=function(){if(this.chagePasswordForm.controls.newPassword.value===this.chagePasswordForm.controls.newConfirmPassword.value)return!0;var e={general:[{message:this.commonService.getLabel("label_password_match")}]};this.errorBindingService.onAPIValidationError(JSON.stringify(e),this.passwordError)},e.prototype.requestData=function(){return{oldPassword:this.chagePasswordForm.controls.oldPassword.value,newPassword:this.chagePasswordForm.controls.newPassword.value}},e.prototype.doChangePassword=function(){var e=this;if(this.passwordNotMatched()){var l=this.requestData(),n=this;this.signOutService.passwordChange(JSON.stringify(l)).subscribe(function(l){null!==l.general&&void 0!==l.general&&(l.general.forEach(function(l){e.errorMessage=[],e.errorMessage.push({severity:"success",summary:"Success",detail:l.message})}),setTimeout(function(){e.chagePasswordForm.reset(),e.isShowChangePassword.emit(!1)},2e3))},function(e){null!==(e=JSON.parse(e)).general&&void 0!==e.general&&e.general.forEach(function(e){n.errorMessage=[],n.errorMessage.push({severity:"warn",summary:"Error",detail:e.message})})})}},e.prototype.onCancel=function(){this.chagePasswordForm.reset(),this.isShowChangePassword.emit(!1)},e.ctorParameters=function(){return[{type:p.FormBuilder},{type:g.a},{type:C.a},{type:G.a}]},e}(),Ae=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ie(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](1,null,["\n ","\n "]))],null,function(e,l){e(l,1,0,l.context.$implicit.message)})}function De(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,4,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n Old Password is required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,2,0,!l.component.chagePasswordForm.controls.oldPassword.errors.required)})}function Ne(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,4,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n New Password is required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,2,0,!l.component.chagePasswordForm.controls.newPassword.errors.required)})}function we(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,4,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,1,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n Please Confirm Password\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,2,0,!l.component.chagePasswordForm.controls.newConfirmPassword.errors.required)})}function ke(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,112,"div",[["class","ui-g form-container"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,109,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,l,n){var o=!0;"submit"===l&&(o=!1!==t["\u0275nov"](e,4).onSubmit(n)&&o);"reset"===l&&(o=!1!==t["\u0275nov"](e,4).onReset()&&o);return o},null,null)),t["\u0275did"](3,16384,null,0,p["\u0275bf"],[],null,null),t["\u0275did"](4,540672,null,0,p.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,p.ControlContainer,null,[p.FormGroupDirective]),t["\u0275did"](6,16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,102,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](10,0,null,null,10,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](12,0,null,null,7,"div",[["class","form-field ui-g-12 UI-MD-12 ui-lg-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](14,0,null,null,4,"div",[["class","form-errors alert alert-danger"]],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Ie)),t["\u0275did"](17,802816,null,0,_.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](22,0,null,null,23,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](24,0,null,null,20,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](26,0,null,null,4,"div",[["class","form-label ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](28,0,null,null,1,"label",[["for","oldPassword"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["Old Password"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](32,0,null,null,8,"div",[["class","form-control ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](34,0,null,null,5,"input",[["formControlName","oldPassword"],["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,35)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,35).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,35)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,35)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](35,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](37,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](39,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,De)),t["\u0275did"](43,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](47,0,null,null,23,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](49,0,null,null,20,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](51,0,null,null,4,"div",[["class","form-label ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](53,0,null,null,1,"label",[["for","newPassword"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["New Password"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](57,0,null,null,8,"div",[["class","form-control ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](59,0,null,null,5,"input",[["formControlName","newPassword"],["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,60)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,60).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,60)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,60)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](60,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](62,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](64,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Ne)),t["\u0275did"](68,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](72,0,null,null,23,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](74,0,null,null,20,"div",[["class","form-field ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](76,0,null,null,4,"div",[["class","form-label ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](78,0,null,null,1,"label",[["for","newConfirmPassword"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["New Confirm Password"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](82,0,null,null,8,"div",[["class","form-control ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](84,0,null,null,5,"input",[["formControlName","newConfirmPassword"],["pInputText",""],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,85)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,85).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,85)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,85)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](85,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](87,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](89,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,we)),t["\u0275did"](93,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](97,0,null,null,12,"div",[["class","ui-g"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](99,0,null,null,9,"div",[["class","form-buttons ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](101,0,null,null,2,"button",[["icon","fa-check"],["label","Save"],["pButton",""],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.doChangePassword()&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](103,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](105,0,null,null,2,"button",[["class","negative-button"],["icon","fa-close"],["label","Cancel"],["pButton",""],["type","button"]],null,[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.onCancel()&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](107,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275eld"](114,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](116,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null)],function(e,l){var n=l.component;e(l,4,0,n.chagePasswordForm),e(l,17,0,n.passwordError.general);e(l,37,0,"oldPassword"),e(l,43,0,n.chagePasswordForm.controls.oldPassword.errors&&(n.chagePasswordForm.controls.oldPassword.dirty||n.chagePasswordForm.controls.oldPassword.touched));e(l,62,0,"newPassword"),e(l,68,0,n.chagePasswordForm.controls.newPassword.errors&&(n.chagePasswordForm.controls.newPassword.dirty||n.chagePasswordForm.controls.newPassword.touched));e(l,87,0,"newConfirmPassword"),e(l,93,0,n.chagePasswordForm.controls.newConfirmPassword.errors&&(n.chagePasswordForm.controls.newConfirmPassword.dirty||n.chagePasswordForm.controls.newConfirmPassword.touched));e(l,103,0,"Save","fa-check");e(l,107,0,"Cancel","fa-close"),e(l,116,0,n.errorMessage)},function(e,l){var n=l.component;e(l,2,0,t["\u0275nov"](l,6).ngClassUntouched,t["\u0275nov"](l,6).ngClassTouched,t["\u0275nov"](l,6).ngClassPristine,t["\u0275nov"](l,6).ngClassDirty,t["\u0275nov"](l,6).ngClassValid,t["\u0275nov"](l,6).ngClassInvalid,t["\u0275nov"](l,6).ngClassPending),e(l,14,0,!n.passwordError[0].general),e(l,34,0,t["\u0275nov"](l,39).ngClassUntouched,t["\u0275nov"](l,39).ngClassTouched,t["\u0275nov"](l,39).ngClassPristine,t["\u0275nov"](l,39).ngClassDirty,t["\u0275nov"](l,39).ngClassValid,t["\u0275nov"](l,39).ngClassInvalid,t["\u0275nov"](l,39).ngClassPending),e(l,59,0,t["\u0275nov"](l,64).ngClassUntouched,t["\u0275nov"](l,64).ngClassTouched,t["\u0275nov"](l,64).ngClassPristine,t["\u0275nov"](l,64).ngClassDirty,t["\u0275nov"](l,64).ngClassValid,t["\u0275nov"](l,64).ngClassInvalid,t["\u0275nov"](l,64).ngClassPending),e(l,84,0,t["\u0275nov"](l,89).ngClassUntouched,t["\u0275nov"](l,89).ngClassTouched,t["\u0275nov"](l,89).ngClassPristine,t["\u0275nov"](l,89).ngClassDirty,t["\u0275nov"](l,89).ngClassValid,t["\u0275nov"](l,89).ngClassInvalid,t["\u0275nov"](l,89).ngClassPending),e(l,101,0,!n.chagePasswordForm.valid)})}t["\u0275ccf"]("app-change-password",Re,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-change-password",[],null,null,null,ke,Ae)),t["\u0275did"](1,114688,null,0,Re,[p.FormBuilder,g.a,C.a,G.a],null,null)],function(e,l){e(l,1,0)},null)},{changePasswordPopup:"changePasswordPopup"},{isShowChangePassword:"isShowChangePassword"},[]);var Me=function(){function e(e,l,n,o,r,a){this.formBuilder=e,this.storageService=l,this.translate=n,this.commonServices=o,this.uiSerice=r,this.commonBindingDataService=a,this.showProfilePopup=new t.EventEmitter,this.editProfileForm=new p.FormGroup({firstName:new p.FormControl,lastName:new p.FormControl,email:new p.FormControl,username:new p.FormControl,phone:new p.FormControl,phoneCode:new p.FormControl}),this.emailVerifyLabel="",this.emailNotVerifiedLabel="",this.phoneNotVerifiedlabel="",this.mobileNumberVerified="",this.resendEmail="",this.isEmailVerified=!0,this.isPhoneVerified=!0,this.errorMessage=[],this.profileUrl=m.a.DEFAULT_PROFILE_IMAGE_URL,this.userId="",this.uploadedImgId="",this.resendSucessMessage="",this.fileUploadUrl=m.a.UPLOAD_FILE_URL}return e.prototype.ngOnInit=function(){this.emailVerifyLabel=this.commonBindingDataService.getLabel("label_email_verified"),this.emailNotVerifiedLabel=this.commonBindingDataService.getLabel("label_email_not_verified"),this.resendEmail=this.commonBindingDataService.getLabel("label_verify"),this.resendSucessMessage=this.commonBindingDataService.getLabel("label_email_resend"),this.phoneNotVerifiedlabel=this.commonBindingDataService.getLabel("label_phone_not_verified"),this.mobileNumberVerified=this.commonBindingDataService.getLabel("label_phone_verified"),this.setData()},e.prototype.setData=function(){var e=this;this.chooseLabel=this.commonBindingDataService.getLabel("label_choose");this.storageService.getItem(m.a.USER_DETAILS);var l="",n="",t="",o="",r="";this.commonServices.getUserProfile().subscribe(function(a){l=a.firstName,n=a.lastName,t=a.email,o=a.phoneNum,r=a.numCountryCode,e.userId=a.id,e.isEmailVerified=a.emailVerified,e.isPhoneVerified=a.phoneNumVerified,null!==a.userDetails&&(e.uploadedImgId=a.userDetails.profileImage),void 0!==a.userDetails&&null!==a.userDetails&&null!==a.userDetails.profileImage&&(e.profileUrl=m.a.GET_FILE_THUMB_URL+a.userDetails.profileImage),e.setFormData(l,n,t,o,r)},function(e){})},e.prototype.setFormData=function(e,l,n,t,o){this.editProfileForm=this.formBuilder.group({firstName:[e,[p.Validators.required]],lastName:[l,[p.Validators.required]],email:[n,[p.Validators.required,p.Validators.pattern(m.a.EMAIL_PATTERN)]],phone:[t,[p.Validators.required,p.Validators.pattern(m.a.PHONE_PATTERN),p.Validators.maxLength(13),p.Validators.minLength(4)]],phoneCode:[o,[p.Validators.required]]})},e.prototype.closeEditProfile=function(e){this.showProfilePopup.emit(!1)},e.prototype.onUploadProfileImage=function(e){this.profileUrl=m.a.GET_FILE_THUMB_URL+e.fileId,this.uploadedImgId=e.fileId},e.prototype.updateProfile=function(e){var l=this,n={firstName:this.editProfileForm.controls.firstName.value,lastName:this.editProfileForm.controls.lastName.value,email:this.editProfileForm.controls.email.value,phoneNum:this.editProfileForm.controls.phone.value,profileImage:this.uploadedImgId,numCountryCode:this.editProfileForm.controls.phoneCode.value};this.commonServices.updateUserProfile(n).subscribe(function(e){null!==e.userModel&&void 0!==e.userModel&&(l.storageService.setItem(m.a.USER_DETAILS,e.userModel),l.errorMessage=[],l.errorMessage.push({severity:"success",summary:"Success",detail:"Profile is updated Successfully"}),setTimeout(function(){l.showProfilePopup.emit(!1),l.uiSerice.profileUpdated()},1e3))},function(e){e=JSON.parse(e),l.errorMessage=[],l.errorMessage.push({severity:"error",summary:"error",detail:e.general[0].message})})},e.prototype.resendEmailVerificationLink=function(e){this.resendVerification(m.a.VERIFICATION_TYPE.EMAIL)},e.prototype.resendMobileVerificationLink=function(e){this.resendVerification(m.a.VERIFICATION_TYPE.PHONE_NUM)},e.prototype.resendVerification=function(e){var l=this;this.commonServices.resendEmailVerificationLink(this.userId,e).subscribe(function(e){l.errorMessage.push({severity:"success",summary:"Success",detail:e.general[0].message})},function(e){e=JSON.parse(e),l.errorMessage.push({severity:"error",summary:"Error",detail:e.general[0].message})})},e.ctorParameters=function(){return[{type:p.FormBuilder},{type:b.a},{type:f.b},{type:g.a},{type:h.a},{type:C.a}]},e}(),Oe=n("1ZVG"),Fe=n("l8Xo"),Ue=n("+Bg1"),Le=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ve(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n error_first_name_required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"")},function(e,l){e(l,2,0,!l.component.editProfileForm.controls.firstName.errors.required)})}function Be(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n error_last_name_required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"")},function(e,l){e(l,2,0,!l.component.editProfileForm.controls.lastName.errors.required)})}function qe(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,3,"span",[],[[8,"title",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-check"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,0,0,l.component.emailVerifyLabel)})}function Ge(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,3,"span",[],[[8,"title",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-exclamation"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,0,0,l.component.emailNotVerifiedLabel)})}function xe(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,3,"span",[["class","resend-email"]],[[8,"title",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.resendEmailVerificationLink(n)&&t);return t},null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-paper-plane"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,0,0,l.component.resendEmail)})}function He(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n email_required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"")},function(e,l){e(l,2,0,!l.component.editProfileForm.controls.email.errors.required)})}function je(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,3,"span",[],[[8,"title",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-check"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,0,0,l.component.mobileNumberVerified)})}function Ke(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,3,"span",[],[[8,"title",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-exclamation"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,0,0,l.component.phoneNotVerifiedlabel)})}function Ye(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,3,"span",[["class","resend-email"]],[[8,"title",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.resendMobileVerificationLink(n)&&t);return t},null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-paper-plane"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "]))],null,function(e,l){e(l,0,0,l.component.resendEmail)})}function ze(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,9,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n contact_number_require\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](6,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](7,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n route_pattern\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"");e(l,7,0,"")},function(e,l){var n=l.component;e(l,2,0,!n.editProfileForm.controls.phone.errors.required),e(l,6,0,!n.editProfileForm.controls.phone.errors.pattern)})}function Qe(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,5,"div",[["class","form-errors"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,2,"div",[["translate",""]],[[8,"hidden",0]],null,null,null,null)),t["\u0275did"](3,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["\n country_code_required\n "])),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,3,0,"")},function(e,l){e(l,2,0,!l.component.editProfileForm.controls.phoneCode.errors.required)})}function Ze(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,176,"div",[["class","ui-g form-container edit-profile"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,173,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,l,n){var o=!0;"submit"===l&&(o=!1!==t["\u0275nov"](e,4).onSubmit(n)&&o);"reset"===l&&(o=!1!==t["\u0275nov"](e,4).onReset()&&o);return o},null,null)),t["\u0275did"](3,16384,null,0,p["\u0275bf"],[],null,null),t["\u0275did"](4,540672,null,0,p.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,p.ControlContainer,null,[p.FormGroupDirective]),t["\u0275did"](6,16384,null,0,p.NgControlStatusGroup,[p.ControlContainer],null,null),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](8,0,null,null,166,"div",[["class","ui-g-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](10,0,null,null,9,"div",[["class","ui-g-3"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](12,0,null,null,0,"img",[["style","width:100%"]],[[8,"src",4]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](14,0,null,null,4,"div",[["class","display-image profile-btn"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](16,0,null,null,1,"app-file-uploader",[["accept","image/*"]],null,[[null,"onFileUpload"]],function(e,l,n){var t=!0,o=e.component;"onFileUpload"===l&&(t=!1!==o.onUploadProfileImage(n)&&t);return t},Oe.b,Oe.a)),t["\u0275did"](17,114688,null,0,Fe.a,[b.a,s.a,Ue.a,C.a],{accept:[0,"accept"],uploadButtonLabel:[1,"uploadButtonLabel"]},{onFileUpload:"onFileUpload"}),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](21,0,null,null,152,"div",[["class","ui-g-9"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](23,0,null,null,21,"div",[["class","form-field ui-g-12 ui-md-6 ui-lg-6"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](25,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](27,0,null,null,2,"label",[["for","firstName"],["translate",""]],null,null,null,null,null)),t["\u0275did"](28,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["f_name"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](32,0,null,null,8,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](34,0,null,null,5,"input",[["formControlName","firstName"],["pInputText",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,35)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,35).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,35)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,35)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](35,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](37,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](39,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Ve)),t["\u0275did"](43,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](46,0,null,null,21,"div",[["class","form-field ui-g-12 ui-md-6 ui-lg-6"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](48,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](50,0,null,null,2,"label",[["for","lastName"],["translate",""]],null,null,null,null,null)),t["\u0275did"](51,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["l_name"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](55,0,null,null,8,"div",[["class","form-control"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](57,0,null,null,5,"input",[["formControlName","lastName"],["pInputText",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,58)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,58).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,58)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,58)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](58,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](60,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](62,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Be)),t["\u0275did"](66,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](69,0,null,null,36,"div",[["class","form-field ui-g-12 ui-md-12 ui-lg-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](71,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](73,0,null,null,2,"label",[["for","email"],["translate",""]],null,null,null,null,null)),t["\u0275did"](74,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["email"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](78,0,null,null,23,"div",[["class","form-control ui-g-12 ui-md-12 ui-lg-12 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](80,0,null,null,8,"div",[["class","form-control ui-g-10 ui-md-10 ui-lg-10 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](82,0,null,null,5,"input",[["formControlName","email"],["pInputText",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,83)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,83).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,83)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,83)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](83,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](85,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](87,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](90,0,null,null,10,"div",[["class","ui-g-2 ui-md-2 ui-lg-2 ui-g-nopad verify-icon"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,qe)),t["\u0275did"](93,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Ge)),t["\u0275did"](96,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,xe)),t["\u0275did"](99,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,He)),t["\u0275did"](104,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](107,0,null,null,48,"div",[["class","form-field ui-g-12 ui-md-12 ui-lg-12"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](109,0,null,null,5,"div",[["class","form-label"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](111,0,null,null,2,"label",[["for","phone"],["translate",""]],null,null,null,null,null)),t["\u0275did"](112,8536064,null,0,u.a,[s.a,t.ElementRef,t.ChangeDetectorRef],{translate:[0,"translate"]},null),(e()(),t["\u0275ted"](-1,null,["phone"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](116,0,null,null,38,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](118,0,null,null,13,"div",[["class","ui-g-3 ui-inputgroup mobile-number"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](120,0,null,null,3,"span",[["class","ui-inputgroup-addon"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](122,0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](125,0,null,null,5,"input",[["class","input-mobile-code"],["formControlName","phoneCode"],["pInputText",""],["placeholder","Code"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,126)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,126).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,126)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,126)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](126,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](128,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](130,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](133,0,null,null,8,"div",[["class","form-control ui-g-7 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](135,0,null,null,5,"input",[["formControlName","phone"],["pInputText",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,l,n){var o=!0;"input"===l&&(o=!1!==t["\u0275nov"](e,136)._handleInput(n.target.value)&&o);"blur"===l&&(o=!1!==t["\u0275nov"](e,136).onTouched()&&o);"compositionstart"===l&&(o=!1!==t["\u0275nov"](e,136)._compositionStart()&&o);"compositionend"===l&&(o=!1!==t["\u0275nov"](e,136)._compositionEnd(n.target.value)&&o);return o},null,null)),t["\u0275did"](136,16384,null,0,p.DefaultValueAccessor,[t.Renderer2,t.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),t["\u0275prd"](1024,null,p.NG_VALUE_ACCESSOR,function(e){return[e]},[p.DefaultValueAccessor]),t["\u0275did"](138,671744,null,0,p.FormControlName,[[3,p.ControlContainer],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,p.NgControl,null,[p.FormControlName]),t["\u0275did"](140,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](143,0,null,null,10,"div",[["class","ui-g-2 ui-md-2 ui-lg-2 ui-g-nopad verify-icon"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,je)),t["\u0275did"](146,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Ke)),t["\u0275did"](149,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Ye)),t["\u0275did"](152,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,ze)),t["\u0275did"](158,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,Qe)),t["\u0275did"](161,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](163,0,null,null,9,"div",[["class","form-buttons ui-g-12 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](165,0,null,null,2,"button",[["class","negative-button"],["icon","fa-close"],["label","Cancel"],["pButton",""],["type","button"]],null,[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.closeEditProfile(n)&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](167,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](169,0,null,null,2,"button",[["icon","fa-check"],["label","Save"],["pButton",""],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.updateProfile(n)&&t);return t},null,null)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](171,4341760,null,0,P.Button,[t.ElementRef,T.DomHandler],{label:[0,"label"],icon:[1,"icon"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275eld"](178,0,null,null,2,"p-growl",[["life","2000"]],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](180,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{life:[0,"life"],immutable:[1,"immutable"],value:[2,"value"]},null)],function(e,l){var n=l.component;e(l,4,0,n.editProfileForm);e(l,17,0,"image/*",n.chooseLabel);e(l,28,0,"");e(l,37,0,"firstName"),e(l,43,0,n.editProfileForm.controls.firstName.errors&&(n.editProfileForm.controls.firstName.dirty||n.editProfileForm.controls.firstName.touched));e(l,51,0,"");e(l,60,0,"lastName"),e(l,66,0,n.editProfileForm.controls.lastName.errors&&(n.editProfileForm.controls.lastName.dirty||n.editProfileForm.controls.lastName.touched));e(l,74,0,"");e(l,85,0,"email"),e(l,93,0,n.isEmailVerified),e(l,96,0,!n.isEmailVerified),e(l,99,0,!n.isEmailVerified),e(l,104,0,n.editProfileForm.controls.email.errors&&(n.editProfileForm.controls.email.dirty||n.editProfileForm.controls.email.touched));e(l,112,0,"");e(l,128,0,"phoneCode");e(l,138,0,"phone"),e(l,146,0,n.isPhoneVerified),e(l,149,0,!n.isPhoneVerified),e(l,152,0,!n.isPhoneVerified),e(l,158,0,n.editProfileForm.controls.phone.errors&&(n.editProfileForm.controls.phone.dirty||n.editProfileForm.controls.phone.touched)),e(l,161,0,n.editProfileForm.controls.phoneCode.errors&&(n.editProfileForm.controls.phoneCode.dirty||n.editProfileForm.controls.phoneCode.touched));e(l,167,0,"Cancel","fa-close");e(l,171,0,"Save","fa-check");e(l,180,0,"2000",!1,n.errorMessage)},function(e,l){var n=l.component;e(l,2,0,t["\u0275nov"](l,6).ngClassUntouched,t["\u0275nov"](l,6).ngClassTouched,t["\u0275nov"](l,6).ngClassPristine,t["\u0275nov"](l,6).ngClassDirty,t["\u0275nov"](l,6).ngClassValid,t["\u0275nov"](l,6).ngClassInvalid,t["\u0275nov"](l,6).ngClassPending),e(l,12,0,n.profileUrl),e(l,34,0,t["\u0275nov"](l,39).ngClassUntouched,t["\u0275nov"](l,39).ngClassTouched,t["\u0275nov"](l,39).ngClassPristine,t["\u0275nov"](l,39).ngClassDirty,t["\u0275nov"](l,39).ngClassValid,t["\u0275nov"](l,39).ngClassInvalid,t["\u0275nov"](l,39).ngClassPending),e(l,57,0,t["\u0275nov"](l,62).ngClassUntouched,t["\u0275nov"](l,62).ngClassTouched,t["\u0275nov"](l,62).ngClassPristine,t["\u0275nov"](l,62).ngClassDirty,t["\u0275nov"](l,62).ngClassValid,t["\u0275nov"](l,62).ngClassInvalid,t["\u0275nov"](l,62).ngClassPending),e(l,82,0,t["\u0275nov"](l,87).ngClassUntouched,t["\u0275nov"](l,87).ngClassTouched,t["\u0275nov"](l,87).ngClassPristine,t["\u0275nov"](l,87).ngClassDirty,t["\u0275nov"](l,87).ngClassValid,t["\u0275nov"](l,87).ngClassInvalid,t["\u0275nov"](l,87).ngClassPending),e(l,125,0,t["\u0275nov"](l,130).ngClassUntouched,t["\u0275nov"](l,130).ngClassTouched,t["\u0275nov"](l,130).ngClassPristine,t["\u0275nov"](l,130).ngClassDirty,t["\u0275nov"](l,130).ngClassValid,t["\u0275nov"](l,130).ngClassInvalid,t["\u0275nov"](l,130).ngClassPending),e(l,135,0,t["\u0275nov"](l,140).ngClassUntouched,t["\u0275nov"](l,140).ngClassTouched,t["\u0275nov"](l,140).ngClassPristine,t["\u0275nov"](l,140).ngClassDirty,t["\u0275nov"](l,140).ngClassValid,t["\u0275nov"](l,140).ngClassInvalid,t["\u0275nov"](l,140).ngClassPending),e(l,169,0,!n.editProfileForm.valid)})}t["\u0275ccf"]("app-edit-profile",Me,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-edit-profile",[],null,null,null,Ze,Le)),t["\u0275did"](1,114688,null,0,Me,[p.FormBuilder,b.a,s.a,g.a,h.a,C.a],null,null)],function(e,l){e(l,1,0)},null)},{editProfilePopup:"editProfilePopup"},{showProfilePopup:"showProfilePopup"},[]);var Je=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function We(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"div",[["class","new-notification-count"]],null,null,null,null,null)),(e()(),t["\u0275ted"](1,null,["\n ","\n "]))],null,function(e,l){e(l,1,0,l.component.unReadNotificatonsCount)})}function Xe(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"div",[["class","m-20"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n No notification found\n "]))],null,null)}function $e(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,9,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,1,"app-notification-mg1",[],null,[[null,"reloadNotification"]],function(e,l,n){var t=!0,o=e.component;"reloadNotification"===l&&(t=!1!==o.getNotificationUnReadcountCount()&&t);return t},Ce,be)),t["\u0275did"](5,114688,null,0,he,[C.a],{notificationData:[0,"notificationData"]},{reloadNotification:"reloadNotification"}),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "]))],function(e,l){e(l,5,0,l.context.$implicit)},null)}function el(e){return t["\u0275vid"](0,[t["\u0275qud"](402653184,1,{editPro:0}),(e()(),t["\u0275eld"](1,0,null,null,9,"div",[["class","app-header ui-g-1 ui-md-1 ui-lg-1 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](3,0,null,null,6,"div",[["class","top-bar-item"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](5,0,null,null,3,"a",[["class","hamburger-menu"]],null,[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.onSideMenuClick(n)&&t);return t},null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](7,0,null,null,0,"i",[["class","fa fa-bars"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275eld"](12,0,null,null,30,"div",[["class","ui-g-11 ui-md-11 ui-lg-11 ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n\n "])),(e()(),t["\u0275eld"](14,0,null,null,27,"div",[["class","nav-right-menu"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](16,0,null,null,10,"div",[["class","top-bar-item notifications-bell"]],null,[[null,"click"]],function(e,l,n){var o=!0,r=e.component;"click"===l&&(o=!1!==r.getNotificationListAndToggle(n,t["\u0275nov"](e,46))&&o);return o},null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](18,0,null,null,7,"a",[["class","nav-notifications-icon"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](20,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-bell-o"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,[" \n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,We)),t["\u0275did"](23,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n\n\n "])),(e()(),t["\u0275eld"](28,0,null,null,12,"div",[["class","profile-menu-button top-bar-item"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](30,0,null,null,2,"p-menu",[["popup","popup"]],null,[["window","resize"]],function(e,l,n){var o=!0;"window:resize"===l&&(o=!1!==t["\u0275nov"](e,32).onResize(n)&&o);return o},Ee.b,Ee.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](32,4374528,[["menu",4]],0,Se.Menu,[t.ElementRef,T.DomHandler,t.Renderer2],{model:[0,"model"],popup:[1,"popup"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](34,0,null,null,5,"a",[],null,[[null,"click"]],function(e,l,n){var o=!0;"click"===l&&(o=!1!==t["\u0275nov"](e,32).toggle(n)&&o);return o},null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](36,0,null,null,0,"img",[["class","user-photo"]],[[8,"src",4]],null,null,null,null)),(e()(),t["\u0275ted"](37,null,["\n ","\n "])),(e()(),t["\u0275eld"](38,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-angle-down"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](44,0,null,null,17,"p-overlayPanel",[["class","notification-try"]],null,null,null,Te.b,Te.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](46,12763136,[["notificationTry",4]],0,Pe.OverlayPanel,[t.ElementRef,T.DomHandler,t.Renderer2,t.ChangeDetectorRef],null,null),(e()(),t["\u0275ted"](-1,0,["\n "])),(e()(),t["\u0275ted"](-1,0,["\n "])),(e()(),t["\u0275and"](16777216,null,0,1,null,Xe)),t["\u0275did"](50,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,0,["\n "])),(e()(),t["\u0275and"](16777216,null,0,1,null,$e)),t["\u0275did"](53,802816,null,0,_.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),t["\u0275ted"](-1,0,["\n "])),(e()(),t["\u0275eld"](55,0,null,0,5,"div",[["class","notification-show-more-link"]],[[8,"hidden",0]],[[null,"click"]],function(e,l,n){var t=!0,o=e.component;"click"===l&&(t=!1!==o.getNotificationList()&&t);return t},null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](57,0,null,null,2,"a",[],null,null,null,null,null)),(e()(),t["\u0275eld"](58,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-plus-circle"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,[" Show More... "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,0,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](63,0,null,null,12,"p-dialog",[["modal","true"],["styleClass","add-terms-popup"]],null,[[null,"visibleChange"]],function(e,l,n){var t=!0,o=e.component;"visibleChange"===l&&(t=!1!==(o.changePasswordPopup=n)&&t);return t},R.b,R.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](65,12763136,null,2,A.Dialog,[t.ElementRef,T.DomHandler,t.Renderer2,t.NgZone],{modal:[0,"modal"],closable:[1,"closable"],styleClass:[2,"styleClass"],visible:[3,"visible"]},{visibleChange:"visibleChange"}),t["\u0275qud"](603979776,2,{headerFacet:1}),t["\u0275qud"](603979776,3,{footerFacet:1}),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](69,0,null,0,2,"p-header",[],null,null,null,I.q,I.h)),t["\u0275did"](70,49152,[[2,4]],0,D.Header,[],null,null),(e()(),t["\u0275ted"](-1,0,["\n Change Password\n "])),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](73,0,null,1,1,"app-change-password",[],null,[[null,"changePasswordPopupChange"],[null,"isShowChangePassword"]],function(e,l,n){var t=!0,o=e.component;"changePasswordPopupChange"===l&&(t=!1!==(o.changePasswordPopup=n)&&t);"isShowChangePassword"===l&&(t=!1!==o.onCancelChangePassword(n)&&t);return t},ke,Ae)),t["\u0275did"](74,114688,null,0,Re,[p.FormBuilder,g.a,C.a,G.a],{changePasswordPopup:[0,"changePasswordPopup"]},{isShowChangePassword:"isShowChangePassword"}),(e()(),t["\u0275ted"](-1,1,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n\n"])),(e()(),t["\u0275eld"](77,0,null,null,12,"p-dialog",[["modal","false"],["position","center center"],["responsive","true"],["styleClass","edit-profile-popup"]],null,[[null,"visibleChange"]],function(e,l,n){var t=!0,o=e.component;"visibleChange"===l&&(t=!1!==(o.editProfilePopup=n)&&t);return t},R.b,R.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](79,12763136,null,2,A.Dialog,[t.ElementRef,T.DomHandler,t.Renderer2,t.NgZone],{modal:[0,"modal"],responsive:[1,"responsive"],styleClass:[2,"styleClass"],visible:[3,"visible"]},{visibleChange:"visibleChange"}),t["\u0275qud"](603979776,4,{headerFacet:1}),t["\u0275qud"](603979776,5,{footerFacet:1}),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](83,0,null,0,2,"p-header",[],null,null,null,I.q,I.h)),t["\u0275did"](84,49152,[[4,4]],0,D.Header,[],null,null),(e()(),t["\u0275ted"](-1,0,["\n Edit Profile\n "])),(e()(),t["\u0275ted"](-1,1,["\n "])),(e()(),t["\u0275eld"](87,0,null,1,1,"app-edit-profile",[],null,[[null,"editProfilePopupChange"],[null,"showProfilePopup"]],function(e,l,n){var t=!0,o=e.component;"editProfilePopupChange"===l&&(t=!1!==(o.editProfilePopup=n)&&t);"showProfilePopup"===l&&(t=!1!==o.onCancelEditProfile(n)&&t);return t},Ze,Le)),t["\u0275did"](88,114688,[[1,4]],0,Me,[p.FormBuilder,b.a,s.a,g.a,h.a,C.a],{editProfilePopup:[0,"editProfilePopup"]},{showProfilePopup:"showProfilePopup"}),(e()(),t["\u0275ted"](-1,1,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](91,0,null,null,2,"p-growl",[],null,null,null,w.b,w.a)),t["\u0275prd"](512,null,T.DomHandler,T.DomHandler,[]),t["\u0275did"](93,4636672,null,0,k.Growl,[t.ElementRef,T.DomHandler,t.IterableDiffers,[2,M.MessageService]],{value:[0,"value"]},null),(e()(),t["\u0275ted"](-1,null,["\n"]))],function(e,l){var n=l.component;e(l,23,0,n.unReadNotificatonsCount);e(l,32,0,n.items,"popup"),e(l,50,0,0==n.notifications.length),e(l,53,0,n.notifications);e(l,65,0,"true",!1,"add-terms-popup",n.changePasswordPopup),e(l,74,0,n.changePasswordPopup);e(l,79,0,"false","true","edit-profile-popup",n.editProfilePopup),e(l,88,0,n.editProfilePopup),e(l,93,0,n.message)},function(e,l){var n=l.component;e(l,36,0,t["\u0275inlineInterpolate"](1,"",n.profileUrl,"")),e(l,37,0,n.userFullName),e(l,55,0,n.showMoreOff)})}t["\u0275ccf"]("app-header",ye,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-header",[],null,null,null,el,Je)),t["\u0275did"](1,245760,null,0,ye,[h.a,g.a,v.Router,b.a,a.a],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]);var ll=function(){function e(e){this.loaderService=e,this.show=!1,this.cssClass="loader-page-center-overlay"}return e.prototype.ngOnInit=function(){var e=this;this.subscription=this.loaderService.loaderState.subscribe(function(l){e.show=l.show})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.ctorParameters=function(){return[{type:Ue.a}]},e}(),nl=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function tl(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,12,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,9,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,6,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](6,0,null,null,0,"i",[["class","fa fa-spinner fa-pulse fa-5x fa-fw"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["Loading..."])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"]))],null,function(e,l){var n=l.component;e(l,0,0,!n.show),e(l,2,0,n.cssClass),e(l,4,0,!n.show)})}t["\u0275ccf"]("app-loader",ll,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-loader",[],null,null,null,tl,nl)),t["\u0275did"](1,245760,null,0,ll,[Ue.a],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]);var ol=n("tOEQ"),rl=n("j1B4"),al=function(){function e(e,l,n){this.storageService=e,this.uiService=l,this.sidebarService=n}return e.prototype.ngOnInit=function(){var e=this;this.initSidebarItems(),this.subscription=this.uiService.profileUpdatedEvent.subscribe(function(l){e.initSidebarItems()})},e.prototype.initSidebarItems=function(){this.corpId=this.storageService.getItem(m.a.CURRENT_USER_CORPORATE_ID),this.items=[],this.user=this.storageService.getItem(m.a.USER_DETAILS),this.items.length<=0&&null!==this.user&&void 0!==this.user&&(this.items=this.getMenu()),this.updateItems(),this.manageActiveStatus()},e.prototype.updateItems=function(e){e&&(this.items=e),this.items=this.removeDuplicates(this.items,"label")},e.prototype.removeDuplicates=function(e,l){return e.filter(function(e,n,t){return t.map(function(e){return e[l]}).indexOf(e[l])===n})},e.prototype.manageActiveStatus=function(){for(var e=0;e=1&&document.location.pathname===l.routerLink[0]&&(l.expanded=!0)}},e.prototype.selectedMenuClick=function(e){m.a.SELECTED_MENU=e.srcElement.textContent.trim()},e.prototype.getMenu=function(){return this.sidebarService.sideBarMenu},e.ctorParameters=function(){return[{type:b.a},{type:h.a},{type:y.a}]},e}(),il=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ul(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,3,"div",[["class","company-logo"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,0,"img",[["src","/assets/images/temp/truck-logo-black.png"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275eld"](5,0,null,null,1,"p-panelMenu",[["class","sidebar-panel-menu"]],null,null,null,ol.b,ol.a)),t["\u0275did"](6,49152,null,0,rl.PanelMenu,[],{model:[0,"model"]},null)],function(e,l){e(l,6,0,l.component.items)},null)}t["\u0275ccf"]("app-sidebar",al,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-sidebar",[],null,null,null,ul,il)),t["\u0275did"](1,114688,null,0,al,[b.a,h.a,y.a],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]);var sl=function(){function e(e,l){var n=this;this.router=e,this.storageService=l,this.headerHidden=!0,this.breadCrumArray=[],e.events.subscribe(function(e){e instanceof v.NavigationEnd&&n.fillBreaCrumArray()})}return e.prototype.ngOnInit=function(){var e=this;this.router.events.subscribe(function(l){m.a.HEADER_NOT_REQUIRED.includes(l.url)?e.headerHidden=!1:e.headerHidden=!0})},e.prototype.ngOnChanges=function(e){this.fillBreaCrumArray()},e.prototype.fillBreaCrumArray=function(){for(var e=this;this.breadCrumArray.length>0;)this.breadCrumArray.pop();var l=this,n=this.router.url,t=n;n.lastIndexOf("?")>0&&(t=n.split("?")[0]);var o=t.split("/"),r="",a=o.length,i=0;o.forEach(function(t){if(-1===m.a.IGNORE_LINK.indexOf(t)){r+=t+"/";var o="",u=void 0;0===t.length?(o="Dashboard",u="#"+e.storageService.getItem("dashboard")):t.indexOf("dashboard")<0&&(o="> "+l.capitalizeFirstLetter(t),(u=r).endsWith("/")&&(u="#"+(u=u.substring(0,u.lastIndexOf("/"))))),++i===a&&void 0!==n.split("?")[1]&&(u=u+"?"+n.split("?")[1]),l.breadCrumArray.push({name:decodeURIComponent(o)})}}),this.headerStr=this.breadCrumArray[this.breadCrumArray.length-1].name.replace(">","")},e.prototype.capitalizeFirstLetter=function(e){if(void 0!==e&&e.length>0){for(var l=(e=e.replace(/-/g," ")).split(" "),n="",t=0;t0?n+=o.charAt(0).toUpperCase()+o.slice(1):n+=o,n+=" "}return n.trim()}return e},e.ctorParameters=function(){return[{type:v.Router},{type:b.a}]},e}(),dl=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function cl(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,8,"div",[["class","ui-g page-header"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](2,0,null,null,4,"div",[["class","ui-g-12 ui-md-5 ui-lg-5"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](4,0,null,null,1,"h1",[["class","page-title"]],null,null,null,null,null)),(e()(),t["\u0275ted"](5,null,["",""])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"]))],null,function(e,l){e(l,5,0,l.component.headerStr)})}function pl(e){return t["\u0275vid"](0,[(e()(),t["\u0275and"](16777216,null,null,1,null,cl)),t["\u0275did"](1,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n"]))],function(e,l){e(l,1,0,l.component.headerHidden)},null)}t["\u0275ccf"]("app-page-header",sl,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-page-header",[],null,null,null,pl,dl)),t["\u0275did"](1,638976,null,0,sl,[v.Router,b.a],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]);var _l=[[""]],ml=t["\u0275crt"]({encapsulation:0,styles:_l,data:{}});function gl(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-header",[["class","top-nav ui-g ui-g-nopad"]],null,null,null,el,Je)),t["\u0275did"](1,245760,null,0,ye,[h.a,g.a,v.Router,b.a,a.a],null,null)],function(e,l){e(l,1,0)},null)}function fl(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-loader",[],null,null,null,tl,nl)),t["\u0275did"](1,245760,null,0,ll,[Ue.a],null,null),(e()(),t["\u0275ted"](-1,null,["\n"])),(e()(),t["\u0275eld"](3,0,null,null,19,"div",[["class","ui-g ui-g-nopad device-height"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](5,0,null,null,1,"app-sidebar",[["class","sidebar ui-g-12 ui-md-3 left-panel ui-g-nopad"]],null,null,null,ul,il)),t["\u0275did"](6,114688,null,0,al,[b.a,h.a,y.a],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](8,0,null,null,13,"div",[["class","main-panel ui-g-12 ui-md-9 right-panel ui-g-nopad"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275and"](16777216,null,null,1,null,gl)),t["\u0275did"](11,16384,null,0,_.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](13,0,null,null,7,"div",[["class","inner-container"]],null,null,null,null,null)),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](15,0,null,null,1,"app-page-header",[],null,null,null,pl,dl)),t["\u0275did"](16,638976,null,0,sl,[v.Router,b.a],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275eld"](18,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),t["\u0275did"](19,212992,null,0,v.RouterOutlet,[v.ChildrenOutletContexts,t.ViewContainerRef,t.ComponentFactoryResolver,[8,null],t.ChangeDetectorRef],null,null),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n "])),(e()(),t["\u0275ted"](-1,null,["\n"]))],function(e,l){var n=l.component;e(l,1,0),e(l,6,0),e(l,11,0,null==n.notificationsService?null:n.notificationsService.canFetchNotification),e(l,16,0),e(l,19,0)},null)}var vl=t["\u0275ccf"]("app-root",i,function(e){return t["\u0275vid"](0,[(e()(),t["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,fl,ml)),t["\u0275did"](1,114688,null,0,i,[a.a],null,null)],function(e,l){e(l,1,0)},null)},{},{},[]),hl=n("fc+i"),bl=n("f9zQ"),Cl=n("fL27"),yl=n("EyWH"),El=n("CPp0"),Sl=n("Y6e2"),Tl=n("NmEI"),Pl=n("7FNe"),Rl=n("Iaxx"),Al=n("6TFg"),Il=n("LkK+"),Dl=n("xKXb"),Nl=n("wEij"),wl=n("2SYn"),kl=n("tXlQ"),Ml=n("6cGx"),Ol=n("kmr5"),Fl=(Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,Il.a,Dl.a,function(){return function(){}}()),Ul=n("cl8y"),Ll=n("AS1N"),Vl=n("KaAv"),Bl=n("D01R"),ql=n("PnRv"),Gl=n("u6uT"),xl=n("mBPg"),Hl=n("Tbyt"),jl=n("wRXj"),Kl=n("4fhF"),Yl=n("gxwg"),zl=n("Z62t"),Ql=n("ob1q"),Zl=n("uFcq"),Jl=n("akcY"),Wl=n("pTZ9"),Xl=n("LJ7c"),$l=n("maBJ"),en=n("a3e3"),ln=n("nYo1"),nn=n("t0d0"),tn=n("R08E"),on=n("Qg/J"),rn=n("pmHk"),an=n("wFAi"),un=t["\u0275cmf"](r,[i],function(e){return t["\u0275mod"]([t["\u0275mpd"](512,t.ComponentFactoryResolver,t["\u0275CodegenComponentFactoryResolver"],[[8,[ee,oe,ge,vl]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["\u0275mpd"](5120,t.LOCALE_ID,t["\u0275m"],[[3,t.LOCALE_ID]]),t["\u0275mpd"](4608,_.NgLocalization,_.NgLocaleLocalization,[t.LOCALE_ID]),t["\u0275mpd"](5120,t.APP_ID,t["\u0275f"],[]),t["\u0275mpd"](5120,t.IterableDiffers,t["\u0275k"],[]),t["\u0275mpd"](5120,t.KeyValueDiffers,t["\u0275l"],[]),t["\u0275mpd"](4608,hl.DomSanitizer,hl["\u0275e"],[_.DOCUMENT]),t["\u0275mpd"](6144,t.Sanitizer,null,[hl.DomSanitizer]),t["\u0275mpd"](4608,hl.HAMMER_GESTURE_CONFIG,hl.HammerGestureConfig,[]),t["\u0275mpd"](5120,hl.EVENT_MANAGER_PLUGINS,function(e,l,n,t){return[new hl["\u0275DomEventsPlugin"](e),new hl["\u0275KeyEventsPlugin"](l),new hl["\u0275HammerGesturesPlugin"](n,t)]},[_.DOCUMENT,_.DOCUMENT,_.DOCUMENT,hl.HAMMER_GESTURE_CONFIG]),t["\u0275mpd"](4608,hl.EventManager,hl.EventManager,[hl.EVENT_MANAGER_PLUGINS,t.NgZone]),t["\u0275mpd"](135680,hl["\u0275DomSharedStylesHost"],hl["\u0275DomSharedStylesHost"],[_.DOCUMENT]),t["\u0275mpd"](4608,hl["\u0275DomRendererFactory2"],hl["\u0275DomRendererFactory2"],[hl.EventManager,hl["\u0275DomSharedStylesHost"]]),t["\u0275mpd"](5120,bl.a,Cl.d,[]),t["\u0275mpd"](5120,bl.c,Cl.e,[]),t["\u0275mpd"](4608,bl.b,Cl.c,[bl.a,bl.c]),t["\u0275mpd"](5120,t.RendererFactory2,Cl.f,[hl["\u0275DomRendererFactory2"],bl.b,t.NgZone]),t["\u0275mpd"](6144,hl["\u0275SharedStylesHost"],null,[hl["\u0275DomSharedStylesHost"]]),t["\u0275mpd"](4608,t.Testability,t.Testability,[t.NgZone]),t["\u0275mpd"](4608,hl.Meta,hl.Meta,[_.DOCUMENT]),t["\u0275mpd"](4608,hl.Title,hl.Title,[_.DOCUMENT]),t["\u0275mpd"](4608,yl.AnimationBuilder,Cl.b,[t.RendererFactory2,hl.DOCUMENT]),t["\u0275mpd"](4608,p["\u0275i"],p["\u0275i"],[]),t["\u0275mpd"](4608,p.FormBuilder,p.FormBuilder,[]),t["\u0275mpd"](4608,El.c,El.c,[]),t["\u0275mpd"](4608,El.j,El.b,[]),t["\u0275mpd"](5120,El.l,El.m,[]),t["\u0275mpd"](4608,El.k,El.k,[El.c,El.j,El.l]),t["\u0275mpd"](4608,El.g,El.a,[]),t["\u0275mpd"](5120,El.e,El.n,[El.k,El.g]),t["\u0275mpd"](5120,v.ActivatedRoute,v["\u0275f"],[v.Router]),t["\u0275mpd"](4608,v.NoPreloading,v.NoPreloading,[]),t["\u0275mpd"](6144,v.PreloadingStrategy,null,[v.NoPreloading]),t["\u0275mpd"](135680,v.RouterPreloader,v.RouterPreloader,[v.Router,t.NgModuleFactoryLoader,t.Compiler,t.Injector,v.PreloadingStrategy]),t["\u0275mpd"](4608,v.PreloadAllModules,v.PreloadAllModules,[]),t["\u0275mpd"](5120,v.ROUTER_INITIALIZER,v["\u0275i"],[v["\u0275g"]]),t["\u0275mpd"](5120,t.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[v.ROUTER_INITIALIZER]),t["\u0275mpd"](4608,Sl.Ng2ComponentFactory,Sl.Ng2ComponentFactory,[t.ComponentFactoryResolver]),t["\u0275mpd"](6144,Tl.BaseComponentFactory,null,[Sl.Ng2ComponentFactory]),t["\u0275mpd"](4608,Ue.a,Ue.a,[]),t["\u0275mpd"](4608,b.a,b.a,[]),t["\u0275mpd"](4608,re.a,re.a,[El.e,t.NgZone,v.Router,b.a,Ue.a]),t["\u0275mpd"](4608,h.a,h.a,[]),t["\u0275mpd"](4608,g.a,g.a,[re.a]),t["\u0275mpd"](4608,G.a,G.a,[]),t["\u0275mpd"](4608,C.a,C.a,[re.a,b.a,s.a]),t["\u0275mpd"](4608,Pl.a,Pl.a,[t.ElementRef]),t["\u0275mpd"](4608,Rl.a,Rl.a,[p.NgControl]),t["\u0275mpd"](4608,Al.a,Al.a,[t.ElementRef,C.a]),t["\u0275mpd"](4608,a.a,a.a,[re.a]),t["\u0275mpd"](4608,Il.a,Il.a,[b.a,v.Router,a.a]),t["\u0275mpd"](4608,Dl.a,Dl.a,[C.a]),t["\u0275mpd"](4608,Nl.ConfirmationService,Nl.ConfirmationService,[]),t["\u0275mpd"](4608,y.a,y.a,[s.a,C.a,b.a,re.a,v.Router,v.ActivatedRoute]),t["\u0275mpd"](4608,wl.a,wl.a,[re.a,b.a]),t["\u0275mpd"](4608,kl.a,kl.a,[]),t["\u0275mpd"](4608,ae,ae,[re.a]),t["\u0275mpd"](512,_.CommonModule,_.CommonModule,[]),t["\u0275mpd"](1024,t.ErrorHandler,hl["\u0275a"],[]),t["\u0275mpd"](1024,t.NgProbeToken,function(){return[v["\u0275b"]()]},[]),t["\u0275mpd"](512,v["\u0275g"],v["\u0275g"],[t.Injector]),t["\u0275mpd"](1024,t.APP_INITIALIZER,function(e,l,n){return[hl["\u0275c"](e,l),v["\u0275h"](n)]},[[2,hl.NgProbeToken],[2,t.NgProbeToken],v["\u0275g"]]),t["\u0275mpd"](512,t.ApplicationInitStatus,t.ApplicationInitStatus,[[2,t.APP_INITIALIZER]]),t["\u0275mpd"](131584,t["\u0275e"],t["\u0275e"],[t.NgZone,t["\u0275Console"],t.Injector,t.ErrorHandler,t.ComponentFactoryResolver,t.ApplicationInitStatus]),t["\u0275mpd"](2048,t.ApplicationRef,null,[t["\u0275e"]]),t["\u0275mpd"](512,t.ApplicationModule,t.ApplicationModule,[t.ApplicationRef]),t["\u0275mpd"](512,hl.BrowserModule,hl.BrowserModule,[[3,hl.BrowserModule]]),t["\u0275mpd"](512,Cl.a,Cl.a,[]),t["\u0275mpd"](512,p["\u0275ba"],p["\u0275ba"],[]),t["\u0275mpd"](512,p.FormsModule,p.FormsModule,[]),t["\u0275mpd"](512,p.ReactiveFormsModule,p.ReactiveFormsModule,[]),t["\u0275mpd"](512,El.f,El.f,[]),t["\u0275mpd"](512,D.SharedModule,D.SharedModule,[]),t["\u0275mpd"](512,c.PanelModule,c.PanelModule,[]),t["\u0275mpd"](512,S.InputTextModule,S.InputTextModule,[]),t["\u0275mpd"](512,Ml.EditorModule,Ml.EditorModule,[]),t["\u0275mpd"](512,A.DialogModule,A.DialogModule,[]),t["\u0275mpd"](512,P.ButtonModule,P.ButtonModule,[]),t["\u0275mpd"](512,k.GrowlModule,k.GrowlModule,[]),t["\u0275mpd"](512,Ol.MultiSelectModule,Ol.MultiSelectModule,[]),t["\u0275mpd"](1024,v["\u0275a"],v["\u0275d"],[[3,v.Router]]),t["\u0275mpd"](512,v.UrlSerializer,v.DefaultUrlSerializer,[]),t["\u0275mpd"](512,v.ChildrenOutletContexts,v.ChildrenOutletContexts,[]),t["\u0275mpd"](256,v.ROUTER_CONFIGURATION,{useHash:!0},[]),t["\u0275mpd"](1024,_.LocationStrategy,v["\u0275c"],[_.PlatformLocation,[2,_.APP_BASE_HREF],v.ROUTER_CONFIGURATION]),t["\u0275mpd"](512,_.Location,_.Location,[_.LocationStrategy]),t["\u0275mpd"](512,t.Compiler,t.Compiler,[]),t["\u0275mpd"](512,t.NgModuleFactoryLoader,t.SystemJsNgModuleLoader,[t.Compiler,[2,t.SystemJsNgModuleLoaderConfig]]),t["\u0275mpd"](1024,v.ROUTES,function(){return[[{path:"",pathMatch:"full",redirectTo:"/signin",canActivate:[Il.a]},{path:"signin",pathMatch:"full",component:E},{path:"signup",pathMatch:"full",component:le,data:{title:"",breadCrumbs:""}},{path:"email-phone-verify",pathMatch:"full",component:ie},{path:"corporate-dashboard",canActivate:[Il.a],loadChildren:"./modules/corporate-dashboard/corporate-dashboard.module#CorporateDashboardModule"},{path:"sales-quotation",canActivate:[Il.a],loadChildren:"./modules/sales-quotation/sales-quotation.module#SalesQuotationModule"},{path:"bookings",canActivate:[Il.a],loadChildren:"./modules/bookings/bookings.module#BookingsModule",data:{headerHidden:!0}},{path:"hotel-bookings",canActivate:[Il.a],loadChildren:"./modules/hotel-booking/hotel-booking.module#HotelBookingModule",data:{headerHidden:!0}},{path:"dispatchers",canActivate:[Il.a],loadChildren:"./modules/dispatchers/dispatchers.module#DispatchersModule"},{path:"drivers",canActivate:[Il.a],loadChildren:"./modules/drivers/drivers.module#DriversModule"},{path:"vehicles",canActivate:[Il.a],loadChildren:"./modules/vehicles/vehicles.module#VehiclesModule"},{path:"corporates",canActivate:[Il.a],loadChildren:"./modules/corporates/corporates.module#CorporatesModule"},{path:"app-settings",canActivate:[Il.a],loadChildren:"./modules/tenant-settings/tenant-settings.module#TenantSettingsModule"},{path:"settings",canActivate:[Il.a],loadChildren:"./modules/settings/settings.module#SettingsModule"},{path:"notifications",canActivate:[Il.a],loadChildren:"./modules/notifications/notifications.module#NotificationsModule"},{path:"emergency-request",canActivate:[Il.a],loadChildren:"./modules/emergency-request/emergency-request.module#EmergencyRequestModule"},{path:"staff-transport",canActivate:[Il.a],loadChildren:"./modules/staff-transport/staff-transport.module#StaffTransportModule"},{path:"hotels",canActivate:[Il.a],loadChildren:"./modules/hotels/hotels.module#HotelsModule"},{path:"corporate",canActivate:[Il.a],loadChildren:"./modules/corporate-pricing/corporate-pricing.module#CorporatePricingModule"},{path:"corporate-charge-code",canActivate:[Il.a],loadChildren:"./modules/corporate-charge-code/corporate-charge-code.module#CorporateChargeCodeModule"},{path:"corporate-department",canActivate:[Il.a],loadChildren:"./modules/corporate-manage-department/corporate-manage-department.module#CorporateManageDepartmentModule"},{path:"corporate-employee",canActivate:[Il.a],loadChildren:"./modules/corporate-manage-employee/corporate-manage-employee.module#CorporateManageEmployeeModule"},{path:"dispatcher-dashboard",canActivate:[Il.a],loadChildren:"./modules/dispatcher-dashboard/dispatcher-dashboard.module#DispatcherDashboardModule"},{path:"passengers",canActivate:[Il.a],loadChildren:"./modules/passengers/passengers.module#PassengersModule"},{path:"corporate-booking",canActivate:[Il.a],loadChildren:"./modules/corporate-bookings/corporate-bookings.module#CorporateBookingsModule"},{path:"pending-for-approval",canActivate:[Il.a],loadChildren:"./modules/corporate-pending-for-approval/corporate-pending-for-approval.module#CorporatePendingForApprovalModule"},{path:"reports",canActivate:[Il.a],loadChildren:"./modules/reports/reports.module#ReportsModule"},{path:"admin-dashboard",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-admin-dashboard/truck-admin-dashboard.module#TruckAdminDashboardModule",data:{headerHidden:!0}},{path:"truck-bookings",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-bookings/truck-bookings.module#TruckBookingsModule"},{path:"truck-vehicles",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-vehicles/truck-vehicles.module#TruckVehiclesModule"},{path:"truck-drivers",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-drivers/truck-drivers.module#TruckDriversModule"},{path:"truck-marketing",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-marketing/truck-marketing.module#TruckMarketingModule"},{path:"truck-settings",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-settings/truck-settings.module#TruckSettingsModule"},{path:"truck-app-settings",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-tenant-settings/truck-tenant-settings.module#TruckTenantSettingsModule"},{path:"truck-shippers",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-shipper/truck-shipper.module#TruckShipperModule"},{path:"truck-user-management",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-user-management/truck-user-management.module#TruckUserManagementModule"},{path:"truck-reports",canActivate:[Il.a,Dl.a],loadChildren:"./modules/truck-reports/truck-reports.module#TruckReportsModule"}]]},[]),t["\u0275mpd"](1024,v.Router,v["\u0275e"],[t.ApplicationRef,v.UrlSerializer,v.ChildrenOutletContexts,_.Location,t.Injector,t.NgModuleFactoryLoader,t.Compiler,v.ROUTES,v.ROUTER_CONFIGURATION,[2,v.UrlHandlingStrategy],[2,v.RouteReuseStrategy]]),t["\u0275mpd"](512,v.RouterModule,v.RouterModule,[[2,v["\u0275a"]],[2,v.Router]]),t["\u0275mpd"](512,Fl,Fl,[]),t["\u0275mpd"](512,Ul.FieldsetModule,Ul.FieldsetModule,[]),t["\u0275mpd"](512,Pe.OverlayPanelModule,Pe.OverlayPanelModule,[]),t["\u0275mpd"](512,Ll.CalendarModule,Ll.CalendarModule,[]),t["\u0275mpd"](512,Vl.ProgressBarModule,Vl.ProgressBarModule,[]),t["\u0275mpd"](512,Bl.MessagesModule,Bl.MessagesModule,[]),t["\u0275mpd"](512,ql.FileUploadModule,ql.FileUploadModule,[]),t["\u0275mpd"](512,Gl.ConfirmDialogModule,Gl.ConfirmDialogModule,[]),t["\u0275mpd"](512,rl.PanelMenuModule,rl.PanelMenuModule,[]),t["\u0275mpd"](512,xl.RatingModule,xl.RatingModule,[]),t["\u0275mpd"](512,Hl.ChartModule,Hl.ChartModule,[]),t["\u0275mpd"](512,Se.MenuModule,Se.MenuModule,[]),t["\u0275mpd"](512,jl.DropdownModule,jl.DropdownModule,[]),t["\u0275mpd"](512,Kl.RadioButtonModule,Kl.RadioButtonModule,[]),t["\u0275mpd"](512,Yl.CheckboxModule,Yl.CheckboxModule,[]),t["\u0275mpd"](512,zl.AutoCompleteModule,zl.AutoCompleteModule,[]),t["\u0275mpd"](512,Ql.BlockUIModule,Ql.BlockUIModule,[]),t["\u0275mpd"](512,Zl.SpinnerModule,Zl.SpinnerModule,[]),t["\u0275mpd"](512,Jl.TabMenuModule,Jl.TabMenuModule,[]),t["\u0275mpd"](512,Wl.TabViewModule,Wl.TabViewModule,[]),t["\u0275mpd"](512,f.a,f.a,[]),t["\u0275mpd"](512,Xl.AgGridModule,Xl.AgGridModule,[]),t["\u0275mpd"](512,$l.a,$l.a,[]),t["\u0275mpd"](512,en.b,ln.a,[]),t["\u0275mpd"](512,nn.a,nn.b,[]),t["\u0275mpd"](512,tn.b,tn.a,[]),t["\u0275mpd"](512,on.b,rn.a,[]),t["\u0275mpd"](256,s.b,void 0,[]),t["\u0275mpd"](256,s.c,void 0,[]),t["\u0275mpd"](512,s.a,s.a,[$l.a,en.b,nn.a,tn.b,on.b,s.b,s.c]),t["\u0275mpd"](512,an.a,an.a,[s.a]),t["\u0275mpd"](512,r,r,[])])});o.a.production&&Object(t.enableProdMode)(),Object(hl.platformBrowser)().bootstrapModuleFactory(un)},fN4G:function(e,l,n){"use strict";n.d(l,"a",function(){return u});var t=n("2X1u"),o=n("AP4T"),r=(n("GQSG"),n("bCgQ")),a=n("JSCA"),i=n("9Qcf"),u=function(){function e(e,l,n){this.restApiService=e,this.storageService=l,this.translateService=n}return e.prototype.getServiceType=function(){return null!==this.storageService.getItem(a.a.SERVICE_TYPE)?o.a.of(this.storageService.getItem(a.a.SERVICE_TYPE)):this.restApiService.get("/secure/service-types?clientType=WEB")},e.prototype.toGMT=function(e){return new Date(e.getTime()-6e4*e.getTimezoneOffset()).getTime()},e.prototype.toLocalTime=function(e){var l=new Date(e);return new Date(e+6e4*l.getTimezoneOffset()).getTime()},e.prototype.toLocalDate=function(e){var l=new Date(e);return new Date(e+6e4*l.getTimezoneOffset())},e.prototype.unitConversionMToKm=function(e){var l=e/1e3;return l>0?l:0},e.prototype.unitConversionKMToM=function(e){var l=1e3*e;return l>0?l:0},e.prototype.unitConversionMinToMiliseconds=function(e){var l=60*e*1e3;return l>0?l:0},e.prototype.getBookLaterMinTime=function(e,l){var n=this.getSpecificTimeout(e,l);return new Date((new Date).getTime()+n)},e.prototype.unitConversionMilisecondsToMin=function(e){var l=e/60/1e3;return l>0?l:0},e.prototype.addLapseTimeInEndDate=function(e){return e+a.a.twentyThreeFiftyNineLapse},e.prototype.centerLatLng=function(e){if(0===e.lenght)return 0;for(var l=[],n=[],t=0,o=e;t0&&(void 0!==this.sideBarMenu[0].routerLink&&null!==this.sideBarMenu[0].routerLink?(this.router.navigate(this.sideBarMenu[0].routerLink),this.storageService.setItem("dashboard",this.sideBarMenu[0].routerLink)):void 0!==this.sideBarMenu[0].items&&this.sideBarMenu[0].items.length>0&&(this.router.navigate(this.sideBarMenu[0].items[0].routerLink),this.storageService.setItem("dashboard",this.sideBarMenu[0].items[0].routerLink))))},e.prototype.generateMenuItem=function(e){var l=null;void 0!==e&&null!==e&&"COMMON"!==e.accessGroupCode&&(l=this.generateSubmenu(e.subMenuList).length>0?{label:e.name,icon:e.icon,items:this.generateSubmenu(e.subMenuList)}:{label:e.name,icon:e.icon,routerLink:[e.displayUrl],accessCode:e.accessGroupCode,command:function(){r.a.SELECTED_MENU=e.accessGroupCode}});return l},e.prototype.generateSubmenu=function(e){var l=this,n=[];return void 0!==e&&null!==e&&e.forEach(function(e){var t=null;t=l.generateSubmenu(e.subMenuList).length>0?{label:e.name,icon:e.icon,items:l.generateSubmenu(e.subMenuList)}:{label:e.name,icon:e.icon,routerLink:[e.displayUrl],accessCode:e.accessGroupCode,command:function(){r.a.SELECTED_MENU=e.accessGroupCode}},n.push(t)}),n},e.ctorParameters=function(){return[{type:s.b},{type:i.a},{type:a.a},{type:o.a},{type:t.Router},{type:t.ActivatedRoute}]},e}()},wFAi:function(e,l,n){"use strict";n.d(l,"a",function(){return C});var t=n("9Qcf"),o=n("b7/h"),r=(n.n(o),n("rrPH")),a=n("2X1u"),i=n("n3JN"),u=n("bCgQ"),s=n("c0TX"),d=n("fN4G"),c=n("u8Ap"),p=n("LkK+"),_=n("xKXb"),m=n("+Bg1"),g=n("7FNe"),f=n("Iaxx"),v=n("6TFg"),h=n("2SYn"),b=n("tXlQ"),C=function(){function e(e){e.setDefaultLang("en"),e.use("en")}return e.forRoot=function(){return{ngModule:e,providers:[m.a,a.a,r.a,i.a,u.a,s.a,d.a,g.a,f.a,v.a,p.a,_.a,o.ConfirmationService,t.b,c.a,h.a,b.a]}},e.ctorParameters=function(){return[{type:t.b}]},e}()},xKXb:function(e,l,n){"use strict";n.d(l,"a",function(){return o});var t=n("fN4G"),o=function(){function e(e){this.commonBindingDataService=e}return e.prototype.canLoad=function(e){return this.checkForAccess(e.path)},e.prototype.canActivate=function(e,l){return this.checkForAccess(l.url)},e.prototype.checkForAccess=function(e){return this.commonBindingDataService.checkAndSetSelectedMenu(e)},e.ctorParameters=function(){return[{type:t.a}]},e}()}},[0]);