PageSourceSearch

https://clients.bhagawealth.com/5011.b6e0a9f31f77fd14.js

js bhagawealth.com collected 2026-10-02 01:26:33 UTC 61,476 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmyplanner=self.webpackChunkmyplanner||[]).push([[5011],{65485:(K,Z,l)=>{l.d(Z,{U:()=>Ue});var E=l(28914),L=l(65730),v=l(53626),f=l(46522),C=l(10195),I=l(41074),O=l(67241),x=l(15221),A=l(47873),F=l(8277),T=l(73799),t=l(94650),y=l(65938),w=l(36895),M=l(23767),S=l(4859),e=l(56709),N=l(77331),B=l(99602),W=l(59549),$=l(284),H=l(98739),G=l(84385),z=l(96308),R=l(10266),q=l(24006),V=l(33152),X=l(81638);function ee(r,u){if(1&r){const i=t.EpF();t.ynx(0),t.TgZ(1,"mat-chip",34),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3);return t.KtG(c.openDialogFilter())}),t._uU(2),t.TgZ(3,"span",35),t._uU(4),t.qZA()(),t.BQk()}if(2&r){const i=t.oxw().$implicit;t.xp6(2),t.hij(" ",i.name," "),t.xp6(2),t.hij(" ",null==i?null:i.count," ")}}function j(r,u){if(1&r&&(t.ynx(0),t.YNc(1,ee,5,2,"ng-container",33),t.BQk()),2&r){const i=u.$implicit;t.xp6(1),t.Q6J("ngIf",i.count>0)}}function te(r,u){if(1&r){const i=t.EpF();t.TgZ(0,"div",25,26)(2,"div",27),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openDialogFilter())}),t.TgZ(3,"p",28)(4,"u"),t._uU(5,"Applied filters"),t.qZA()()(),t.TgZ(6,"div",29,30)(8,"mat-chip-list",31),t.YNc(9,j,2,1,"ng-container",32),t.qZA()()()}if(2&r){const i=t.oxw();t.xp6(9),t.Q6J("ngForOf",i.filterData)}}function ne(r,u){if(1&r){const i=t.EpF();t.TgZ(0,"div")(1,"mat-checkbox",60),t.NdJ("change",function(c){t.CHM(i);const o=t.oxw(3);return t.KtG(o.selectAllStatus(c))}),t.qZA()()}if(2&r){const i=t.oxw(3);t.xp6(1),t.Q6J("checked",i.selectedData==i.dataSource.data.length)("indeterminate",i.selectedData<i.dataSource.data.length&&i.selectedData>0)}}function ae(r,u){if(1&r&&(t.TgZ(0,"th",59),t.YNc(1,ne,2,2,"div",33),t.qZA()),2&r){const i=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!i.isLoading)}}function ie(r,u){if(1&r){const i=t.EpF();t.TgZ(0,"td",61)(1,"div",62)(2,"mat-checkbox",63),t.NdJ("change",function(c){const d=t.CHM(i).$implicit,D=t.oxw(2);return t.KtG(D.changeTranscationStatus(d.id,d.fupDueDate,d.policyStatusId,c))}),t.qZA()()()}if(2&r){const i=u.$implicit,s=t.oxw(2);t.xp6(2),t.Q6J("checked",i.selected||s.showSaveButton)}}function oe(r,u){1&r&&(t.TgZ(0,"th",64),t._uU(1," Policy number"),t.qZA())}function se(r,u){if(1&r&&(t.TgZ(0,"td",61)(1,"div",62),t._uU(2),t.qZA()()),2&r){const i=u.$implicit;t.xp6(2),t.hij(" ",i.policyNumber," ")}}function re(r,u){1&r&&(t.TgZ(0,"th",64),t._uU(1," Client name "),t.qZA())}function ce(r,u){if(1&r&&(t.TgZ(0,"td",61)(1,"div",62),t._uU(2),t.qZA()()),2&r){const i=u.$implicit,s=t.oxw(2);t.xp6(2),t.hij(" ",s.isLoading?"":i.lifeAssuredName?i.lifeAssuredName:"-"," ")}}function le(r,u){1&r&&(t.TgZ(0,"th",65),t._uU(1," Agency "),t.qZA())}function _e(r,u){if(1&r&&(t.TgZ(0,"td",61)(1,"div",62),t._uU(2),t.qZA()()),2&r){const i=u.$implicit,s=t.oxw(2);t.xp6(2),t.hij(" ",s.isLoading?"":i.agencyName?i.agencyName:"-"," ")}}function pe(r,u){1&r&&(t.TgZ(0,"th",66),t._uU(1," Insurer "),t.qZA())}function de(r,u){if(1&r&&(t.TgZ(0,"td",61)(1,"div",62),t._uU(2),t.ALo(3,"titlecase"),t.qZA()()),2&r){const i=u.$implicit,s=t.oxw(2);t.xp6(2),t.hij(" ",s.isLoading?"":i.companyName?t.lcZ(3,1,i.companyName):"-"," ")}}function ue(r,u){1&r&&(t.TgZ(0,"th",65),t._uU(1,"Payment Frequency "),t.qZA())}function me(r,u){if(1&r&&(t.TgZ(0,"td",61)(1,"div",62),t._uU(2),t.qZA()()),2&r){const i=u.$implicit,s=t.oxw(2);t.xp6(2),t.Oqu(s.STATUS[i.frequency])}}function ge(r,u){1&r&&(t.TgZ(0,"th",66),t._uU(1," Current FUP date"),t.qZA())}function he(r,u){if(1&r&&(t.TgZ(0,"td",67)(1,"div",62),t._uU(2),t.ALo(3,"date"),t.qZA()()),2&r){const i=u.$implicit;t.xp6(2),t.hij(" ",t.xi3(3,1,i.fupDate,"dd/MM/yyyy")," ")}}function fe(r,u){1&r&&(t.TgZ(0,"th",66),t._uU(1," Due date "),t.qZA())}function ve(r,u){if(1&r){const i=t.EpF();t.TgZ(0,"td",68)(1,"mat-form-field",69)(2,"input",70),t.NdJ("ngModelChange",function(c){const d=t.CHM(i).$implicit,D=t.oxw(2);return t.KtG(D.onDateChange(d,c))})("ngModelChange",function(c){const d=t.CHM(i).$implicit;return t.KtG(d.fupDueDate=c)}),t.qZA(),t._UZ(3,"mat-datepicker-toggle",71)(4,"mat-datepicker",null,72),t.qZA()()}if(2&r){const i=u.$implicit,s=t.MAs(5),c=t.oxw(2);t.xp6(2),t.Q6J("matDatepicker",s)("min",c.getMinDate(i))("ngModel",i.fupDueDate)("disabled",c.isDatePickerDisabled),t.xp6(1),t.Q6J("for",s)}}function xe(r,u){1&r&&(t.TgZ(0,"th",66),t._uU(1," Policy status"),t.qZA())}function De(r,u){if(1&r){const i=t.EpF();
1t.TgZ(0,"td",73)(1,"mat-select",74),t.NdJ("selectionChange",function(c){t.CHM(i);const o=t.oxw(2);return t.KtG(o.onPolicyStatusChange(c))})("ngModelChange",function(c){const d=t.CHM(i).$implicit;return t.KtG(d.policyStatusId=c)}),t.TgZ(2,"mat-option",75),t._uU(3,"LIVE "),t.qZA(),t.TgZ(4,"mat-option",75),t._uU(5,"Lapsed"),t.qZA(),t.TgZ(6,"mat-option",75),t._uU(7,"Fully Paid up"),t.qZA(),t.TgZ(8,"mat-option",75),t._uU(9,"Reduced Paid up"),t.qZA()()()}if(2&r){const i=u.$implicit;t.xp6(1),t.Q6J("disabled",!i.fupDueDate)("ngModel",i.policyStatusId),t.xp6(1),t.Q6J("value",1),t.xp6(2),t.Q6J("value",2),t.xp6(2),t.Q6J("value",3),t.xp6(2),t.Q6J("value",4)}}function Ce(r,u){1&r&&t._UZ(0,"tr",76)}function be(r,u){1&r&&t._UZ(0,"tr",77)}function Ie(r,u){if(1&r&&(t.TgZ(0,"table",36),t.ynx(1,37),t.YNc(2,ae,2,1,"th",38),t.YNc(3,ie,3,1,"td",39),t.BQk(),t.ynx(4,40),t.YNc(5,oe,2,0,"th",41),t.YNc(6,se,3,1,"td",42),t.BQk(),t.ynx(7,43),t.YNc(8,re,2,0,"th",44),t.YNc(9,ce,3,1,"td",42),t.BQk(),t.ynx(10,45),t.YNc(11,le,2,0,"th",46),t.YNc(12,_e,3,1,"td",42),t.BQk(),t.ynx(13,47),t.YNc(14,pe,2,0,"th",48),t.YNc(15,de,4,3,"td",42),t.BQk(),t.ynx(16,49),t.YNc(17,ue,2,0,"th",46),t.YNc(18,me,3,1,"td",42),t.BQk(),t.ynx(19,50),t.YNc(20,ge,2,0,"th",48),t.YNc(21,he,4,4,"td",51),t.BQk(),t.ynx(22,52),t.YNc(23,fe,2,0,"th",48),t.YNc(24,ve,6,5,"td",53),t.BQk(),t.ynx(25,54),t.YNc(26,xe,2,0,"th",55),t.YNc(27,De,10,6,"td",56),t.BQk(),t.YNc(28,Ce,1,0,"tr",57),t.YNc(29,be,1,0,"tr",58),t.qZA()),2&r){const i=t.oxw();t.Q6J("appSkeletonLoading",i.isLoading)("dataSource",i.dataSource),t.xp6(28),t.Q6J("matHeaderRowDef",i.displayedColumns)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",i.displayedColumns)}}function Te(r,u){1&r&&(t.TgZ(0,"div",78),t._UZ(1,"img",79),t.TgZ(2,"h4",80),t._uU(3," No data found "),t.qZA()())}function Oe(r,u){if(1&r){const i=t.EpF();t.TgZ(0,"mat-checkbox",81),t.NdJ("ngModelChange",function(c){t.CHM(i);const o=t.oxw();return t.KtG(o.isFupChecked=c)})("change",function(c){t.CHM(i);const o=t.oxw();return t.KtG(o.updateFUPDates(c))}),t._uU(1," Update all FUP dates to the upcoming due date"),t.qZA()}if(2&r){const i=t.oxw();t.Q6J("ngModel",i.isFupChecked)}}function we(r,u){if(1&r&&(t.TgZ(0,"span",82),t._uU(1),t.qZA()),2&r){const i=t.oxw();t.xp6(1),t.AsE(" (",i.clientCount," clients selected out of ",i.clientCount," )")}}function Me(r,u){if(1&r){const i=t.EpF();t.TgZ(0,"div",83)(1,"p",84),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.close())}),t._uU(2," Close "),t.qZA(),t.TgZ(3,"button",85),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.updateFupDates())}),t._uU(4,"SAVE "),t.qZA()()}}const Ae=function(r){return{"pe-none":r}},ye=function(r){return{"table-scroll":r}},Pe=function(r){return{"overflow-y":"auto",height:r}},Ze=function(r){return{"cursor-not-allowed":r}},Ee={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};var k=(()=>{return(r=k||(k={}))[r.Yearly=1]="Yearly",r[r["Half Yearly"]=2]="Half Yearly",r[r["Single premium"]=3]="Single premium",r[r.Quartery=4]="Quartery",r[r.Monthly=12]="Monthly",k;var r})();let Ue=(()=>{class r{constructor(i,s,c,o,d,D,J){this.customerService=i,this.dialog=s,this.datePipe=c,this.eventService=o,this.UtilService=d,this.subInjectService=D,this.enumDataService=J,this.STATUS=k,this.isDatePickerDisabled=!1,this.isFupChecked=!1,this.reqObj=[],this.storeSidebarData=[],this.showSaveButton=!1,this.isLoading=!1,this.dataSource=new v.by,this.date1=null,this.currentPageIndex=0,this.selectedData=0,this.displayedColumns=["check","position","name","mandate","weight","symbol","bank","bankac","amt"],this.filterList=["sdhdnvn","vbhjbv"]}ngOnInit(){this.advisorId=L.e.getAdvisorId(),this.getDate(),this.getLifeInsurance(0,!1)}updateSelectedFUPDates(i){this.reqObj=this.selectedFupDates.filter(s=>s.fupDueDate).map(s=>({id:s.id,fupDate:this.formatFupDate(s.fupDueDate),policyStatusId:s.policyStatusId}))}selectAllStatus(i){1==i.checked?this.showSaveButton=!0:(this.showSaveButton=!1,this.dataSource.data.forEach(s=>{s.selected=!0})),this.dataSource.data.every(s=>!0===s.selected)?this.dataSource.data.forEach(s=>{s.selected=!1}):(this.dataSource.data.some(s=>!0===s.selected),this.dataSource.data.forEach(s=>{s.selected=!0})),this.updateTranscationStatusCount()}updateTranscationStatusCount(){let i=this.dataSource.data.filter(c=>!0===c.selected);this.selectedData=i.length,i.length!=this.dataSource.data.length?(this.showAllDateselected=!0,this.selectedFupDates=i):this.showAllDateselected=!1}changeTranscationStatus(i,s,c,o){const d=this.dataSource.data.find(D=>D.id===i);d.selected=!d.selected,this.updateTranscationStatusCount(),this.updateFUPDates(o)}searchClientFamilyMember(i){}uploadFile(i,s){const o=this.subInjectService.changeNewRightSliderState({id:1,state:"open65",componentName:C.J}).subscribe(d=>{O.fK.isDialogClose(d)&&(O.fK.isRefreshRequired(d),o.unsubscribe())})}getMinDate(i){return i&&i.fupDueDate?new Date(i.fupDueDate):null}onDateChange(i,s){i.selected=!0;const o=new Date;if(i.premiumPayingTerm){const D=new Date(o);D.setFullYear(D.getFullYear()+i.premiumPayingTerm),s>D?(i.fupDueDate=null,i.policyStatusId=3):(i.fupDueDate=void 0,i.policyStatusId=i.uncheckPolicyStatusId)}-1===this.selectedFupDates.findIndex(D=>D===i)&&(this.selectedFupDates.push(i),this.showAllDateselected=!0)}close(){}updateFUPDates(i){if(this.showAllDateselected)if(1==i.checked){this.allFupDateChange=!0;const s=new Date;
1this.selectedFupDates.forEach(c=>{let o;switch(c.frequency){case 1:case 3:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+12);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+12));break;case 2:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+6);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+6));break;case 4:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+3);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+3));break;case 12:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+1);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+1));break;default:o=o=new Date}if(c.premiumPayingTerm){const d=new Date(s);d.setFullYear(d.getFullYear()+c.premiumPayingTerm),o>d?(c.fupDueDate=null,c.policyStatusId=3):c.fupDueDate=o}else c.fupDueDate=o})}else this.allFupDateChange=!1,this.dataSource.data.forEach(s=>{!1===s.selected&&(s.fupDueDate=null,s.policyStatusId=s.uncheckPolicyStatusId)}),this.isDatePickerDisabled=!1;else if(1==i.checked){const s=new Date;this.dataSource.data.forEach(c=>{let o;switch(c.frequency){case 1:case 3:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+12);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+12));break;case 2:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+6);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+6));break;case 4:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+3);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+3));break;case 12:if(c.fupDate){o=new Date(c.fupDate),o.setMonth(o.getMonth()+1);break}o=new Date(s),o=new Date(o.setMonth((new Date).getMonth()+1));break;default:o=o=new Date}if(c.premiumPayingTerm){const d=new Date(s);d.setFullYear(d.getFullYear()+c.premiumPayingTerm),o>d?(c.fupDueDate=null,c.policyStatusId=3):c.fupDueDate=o}else c.fupDueDate=o}),this.isDatePickerDisabled=!0}else this.dataSource.data.forEach(s=>{s.fupDueDate=null,s.policyStatusId=s.uncheckPolicyStatusId}),this.isDatePickerDisabled=!1}onPolicyStatusChange(i){}getDate(){var i=new Date;this.StartDate=(new Date).getTime(),i.setDate(i.getDate()+30),this.EndDate=i.getTime(),this.formateDatee(this.StartDate,this.EndDate)}formateDatee(i,s){this.sdate=this.datePipe.transform(i,"yyyy-MM-dd"),this.edate=this.datePipe.transform(s,"yyyy-MM-dd")}applyFilter(i,s,c){if(this.isLoading=!0,i){this.storeSidebarData=i;let o=[],d=[],D=[],J=[];i[0].data.forEach(P=>{P.selected&&o.push(P.id)}),this.agencyIds=o,i[1].data.forEach(P=>{P.selected&&d.push(P.id)}),this.insurerIds=d,i[2].data.forEach(P=>{P.selected&&D.push(P.id)}),this.frequency=D,i[4].data.forEach(P=>{P.selected&&J.push(P.id)}),this.policyStatus=J}this.objInsurance={advisorId:this.advisorId,limit:20,offset:s,policyStatus:[1,2,4]},c&&c.length>=3&&(this.objInsurance.name=c),i&&(this.objInsurance.agencyIds=this.agencyIds,this.objInsurance.insurerIds=this.insurerIds,this.objInsurance.frequency=this.frequency,this.policyStatus.length>0&&(this.objInsurance.policyStatus=this.policyStatus),i[3].data[0].selected&&i[3].data[0].startDate&&(this.objInsurance.startDate=i[3].data[0].startDate),i[3].data[0].selected&&i[3].data[0].endDate&&(this.objInsurance.endDate=i[3].data[0].endDate)),this.customerService.getFupInsuranceData(this.objInsurance).subscribe(o=>{o?(this.dataSource.data=o.insurance,this.dataSource.data.forEach(d=>{d.fupDueDate=null,d.selected=!1,d.uncheckPolicyStatusId=d.policyStatusId}),this.isLoading=!1,this.clientCount=o.count):(this.isLoading=!1,this.dataSource.data=[])},o=>{this.isLoading=!1,this.dataSource.data=[]})}convertToTimestampInSeconds(i){const s=new Date(i);return Math.floor(s.getTime()/1e3)}openFilter(i=!1){const c=this.subInjectService.changeNewRightSliderState({data:this.filterData,id:1,state:i?"open100":"open25",componentName:f.V}).subscribe(o=>{O.fK.isDialogClose(o)&&(o?.filterData&&(this.filterData=o.filterData.filter,this.applyFilter(o.filterData.filter,0),this.isFilterApplied=this.filterData.some(d=>d.count>0)),c.unsubscribe())})}openDialogFilter(){this.dialog.open(x.s,{data:this.filterData}).afterClosed().subscribe(s=>{0!=s&&(s?.addMore||(this.filterData=JSON.parse(JSON.stringify(s.data)),this.isFilterApplied=this.filterData.some(c=>c.count>0),this.applyFilter(this.filterData,this.currentPageIndex)),s?.addMore&&this.openFilter())})}onPaginationChange(i){const{pageIndex:s}=i;return this.currentPageIndex=20*s,this.applyFilter(this.filterData,this.currentPageIndex),i}formatFupDate(i){return this.datePipe.transform(i,"yyyy-MM-dd")}updateFupDates(){this.isFupChecked=!1,this.showAllDateselected?(this.reqObj=this.selectedFupDates.filter(i=>i.fupDueDate).map(i=>({id:i.id,fupDate:this.formatFupDate(i.fupDueDate),policyStatusId:i.policyStatusId})),this.customerService.postFupDates(this.reqObj).subscribe(i=>{i&&this.getLifeInsurance(this.currentPageIndex,!1)},i=>{})):(this.reqObj2={advisorId:this.advisorId,limit:-1,offset:0,policyStatus:[1,2,4]},this.storeSidebarData.length>0&&(this.agencyIds.length>0&&(this.reqObj2.agencyIds=this.agencyIds),this.insurerIds.length>0&&(this.reqObj2.insurerIds=this.insurerIds),this.frequency.length&&(this.reqObj2.frequency=this.frequency),this.policyStatus.length>0&&(this.reqObj2.policyStatus=this.policyStatus),this.storeSidebarData[3].data[0].selected&&this.storeSidebarData[3].data[0].startDate&&(this.reqObj2.startDate=this.storeSidebarData[3].data[0].startDate),this.storeSidebarData[3].data[0].selected&&this.storeSidebarData[3].data[0].endDate&&(this.reqObj2.endDate=this.storeSidebarData[3].data[0].endDate)),this.customerService.postFupdateInbulk(this.reqObj2).subscribe(i=>{i&&this.getLifeInsurance(this.currentPageIndex,!1)},i=>{}))}formateDateFup(i){if(!i)return"";const[s,c,o]=i.split("-");return`${o}-${c}-${s}`}searchByAdvisor(i){(i.length>=3||0==i.length||1==i.length)&&this.applyFilter(this.filterData,this.currentPageIndex,i)}getLifeInsurance(i,s){this.filterData=null,this.isFilterApplied=!1,this.selectedData=0,this.dataSource.data.forEach(c=>{c.selected=!1}),this.dataSource.data=[{id:0,selected:!1},{id:0,selected:!1},{id:0,selected:!1}],this.selectedFupDates=[],this.isLoading=!0,this.objInsurance={advisorId:this.advisorId,policyStatus:[1,2,4],limit:20,offset:i},this.customerService.getFupInsuranceData(this.objInsurance).subscribe(c=>{c?(this.isLoading=!1,this.clientCount=c.count,this.dataSource.data=c.insurance,this.dataSource.data.forEach(o=>{o.fupDueDate=null,o.selected=!1,o.uncheckPolicyStatusId=o.policyStatusId})):this.dataSource.data=[]},c=>{})}parseDate(i){if(!i)return null;const[s,c,o]=i.split("-").map(Number);return new Date(s,c-1,o)}}return r.\u0275fac=function(i){return new(i||r)(t.Y36(E.v),t.Y36(y.uw),t.Y36(w.uU),t.Y36(I.P),t.Y36(O.fK),t.Y36(M.f),t.Y36(T.p))},r.\u0275cmp=t.Xpm({type:r,selectors:[["app-fup-batch-update"]],features:[t._Bn([{provide:A._A,useClass:F.t7,deps:[A.Ad,F.o8]},{provide:A.sG,useValue:Ee}])],decls:30,vars:23,consts:[[1,"row","d-none-768","fade-in"],["class"," w-100 mr-20 mb-15 d-flex justify-content-end ",4,"ngIf"],[1,"col-md-2","d-flex","align-items-center","pr-0","mob-pb-10"],[1,"m-0","roboto","f-400"],[1,"col-md-10","d-flex","justify-content-end"],[1,"col-md-4"],["appearance"," standard","floatLabel","never",1,"searchInputWidth","mr-10"],["autocomplete","off","matInput","","placeholder","Type to search client",1,"form-control","br-0","pt-8","mb-0",3,"input"],["inputSearch",""],["mat-stroked-button","",1,"btn-default","ml-10","h-40","addon",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1622786830/myplanner/images/svg/filter-vector.svg","height","25","width","25","alt","filter icon",1,"material-icons2"],["mat-stroked-button","",1,"btn-primary","h-40","ml-10",3,"matTooltip","disabled","click"],[1,"row","pt-10","d-none-768",3,"ngClass"],[1,"col-md-12","people-clients"],[3,"ngClass","ngStyle"],["id","table-low","appSkeletonLoading","","class","skeletonAnimation","id","tbs","mat-table","","matSort","",3,"appSkeletonLoading","dataSource",4,"ngIf"],["class","col-md-12 p-0  text-center",4,"ngIf"],[1,"d-flex","w-100","p-0"],[1,"w-80"],["class","mt-20 ml-20",3,"ngModel","ngModelChange","change",4,"ngIf"],["class","pl-10",4,"ngIf"],[1,"w-50","p-0","pt-10","paginationClass","d-flex","justify-content-end"],[3,"length","hidePageSize","pageSize","ngClass","page"],["paginator",""],["class","wrapper-12 d-flex justify-content-between align-items-center","style","background-color: #757575;",4,"ngIf"],[1,"w-100","mr-20","mb-15","d-flex","justify-content-end"],["filterBox",""],[3,"click"],[1,"mb-0","f-500","f-14","roboto","mr-10","c-p"],[1,"content","d-flex","chip"],["content",""],["aria-label","items"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"mr-0","pr-0","c-p",2,"cursor","pointer",3,"click"],[1,"ml-10","mr-1","text-center",2,"width","16px","height","16px","background","white","border-radius","10px"],["id","table-low","appSkeletonLoading","","id","tbs","mat-table","","matSort","",1,"skeletonAnimation",3,"appSkeletonLoading","dataSource"],["matColumnDef","check"],["mat-header-cell","","class","br",4,"matHeaderCellDef"],["mat-cell","","class","br ",4,"matCellDef"],["matColumnDef","position"],["style","white-space: nowrap","class","br  ","mat-header-cell","","sticky","",4,"matHeaderCellDef"],["class","br ","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["class","br","mat-header-cell","","sticky","","style","white-space: nowrap",4,"matHeaderCellDef"],["matColumnDef","mandate"],["class","br text-left-headers","mat-header-cell","","sticky","",4,"matHeaderCellDef"],["matColumnDef","weight"],["class","br","mat-header-cell","","sticky","",4,"matHeaderCellDef"],["matColumnDef","symbol"],["matColumnDef","bank"],["class","br ","style","width:150px","mat-cell","",4,"matCellDef"],["matColumnDef","bankac"],["class","br ","mat-cell","","style","width:145px ",4,"matCellDef"],["matColumnDef","amt"],["class","text-right","class","br","mat-header-cell","","sticky","",4,"matHeaderCellDef"],["class","br  nowrap","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"br"],[3,"checked","indeterminate","change"],["mat-cell","",1,"br"],[1,"bar"],[3,"checked","change"],["mat-header-cell","","sticky","",1,"br",2,"white-space","nowrap"],["mat-header-cell","","sticky","",1,"br","text-left-headers"],["mat-header-cell","","sticky","",1,"br"],["mat-cell","",1,"br",2,"width","150px"],["mat-cell","",1,"br",2,"width","145px"],["appearance","fill"],["matInput","","readonly","",3,"matDatepicker","min","ngModel","disabled","ngModelChange"],["matSuffix","",3,"for"],["picker",""],["mat-cell","",1,"br","nowrap"],[1,"form-control",3,"disabled","ngModel","selectionChange","ngModelChange"],[3,"value"],["mat-header-row",""],["mat-row",""],[1,"col-md-12","p-0","text-center"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592623/myplanner/images/svg/dialogs4.svg","alt","dialog4 icon"],[1,"d-flex","justify-content-center"],[1,"mt-20","ml-20",3,"ngModel","ngModelChange","change"],[1,"pl-10"],[1,"wrapper-12","d-flex","justify-content-between","align-items-center",2,"background-color","#757575"],[1,"mb-0","text-white",3,"click"],[1,"btn-primary",2,"font-size","0.7rem !important",3,"click"]],template:function(i,s){if(1&i){const c=t.EpF();t.TgZ(0,"div",0),t.YNc(1,te,10,1,"div",1),t.TgZ(2,"div",2)(3,"h3",3),t._uU(4,"FUP Update"),t.qZA()(),t.TgZ(5,"div",4)(6,"div",5)(7,"mat-form-field",6)(8,"input",7,8),t.NdJ("input",function(){t.CHM(c);const d=t.MAs(9);return t.KtG(s.searchByAdvisor(d.value))})("input",function(){t.CHM(c);const d=t.MAs(9);return t.KtG(s.searchClientFamilyMember(d.value))}),t.qZA()()(),t.TgZ(10,"div")(11,"button",9),t.NdJ("click",function(){return s.openFilter()}),t._UZ(12,"img",10),t._uU(13," FILTERS "),t.qZA()(),t.TgZ(14,"div")(15,"button",11),t.NdJ("click",function(){return s.uploadFile({},"TEst")}),t._uU(16," UPLOAD LIC PDF"),t.qZA()()()(),t.TgZ(17,"div",12)(18,"div",13)(19,"div",14),t.YNc(20,Ie,30,5,"table",15),t.YNc(21,Te,4,0,"div",16),t.qZA()(),t.TgZ(22,"div",17)(23,"div",18),t.YNc(24,Oe,2,1,"mat-checkbox",19),t.YNc(25,we,2,2,"span",20),t.qZA(),t.TgZ(26,"div",21)(27,"mat-paginator",22,23),t.
1NdJ("page",function(d){return s.isLoading?"":s.pageEvent=s.onPaginationChange(d)}),t.qZA()()()(),t.YNc(29,Me,5,0,"div",24)}2&i&&(t.xp6(1),t.Q6J("ngIf",s.isFilterApplied),t.xp6(14),t.Q6J("matTooltip",s.enumDataService.Vapt?"Won\u2019t work on UAT":"")("disabled",s.enumDataService.Vapt),t.xp6(2),t.Q6J("ngClass",t.VKq(15,Ae,s.isLoading)),t.xp6(2),t.Q6J("ngClass",t.VKq(17,ye,0==s.isLoading))("ngStyle",t.VKq(19,Pe,s.selectedFupDates.length>0||s.showSaveButton?"calc(100vh - 361px)":"calc(100vh - 300px)")),t.xp6(1),t.Q6J("ngIf",s.dataSource.data.length>0),t.xp6(1),t.Q6J("ngIf",0==s.dataSource.data.length&&0==s.isLoading),t.xp6(3),t.Q6J("ngIf",s.showSaveButton),t.xp6(1),t.Q6J("ngIf",s.showSaveButton),t.xp6(2),t.Q6J("length",s.clientCount)("hidePageSize",!0)("pageSize",20)("ngClass",t.VKq(21,Ze,s.isLoading)),t.xp6(2),t.Q6J("ngIf",s.selectedFupDates.length>0||s.showSaveButton))},dependencies:[w.mk,w.sg,w.O5,w.PC,A.ey,S.lW,e.oG,N.qn,N.HS,B.Mq,B.hl,B.nW,W.KE,W.R9,$.Nt,H.NW,G.gD,z.YE,v.BZ,v.fO,v.as,v.w1,v.Dz,v.nj,v.ge,v.ev,v.XQ,v.Gk,R.gM,q.Fj,q.JJ,q.On,V.k,X.d,w.rS,w.uU],styles:["[_nghost-%COMP%]     .mat-header-row{top:-1px!important}  .mat-paginator-range-label{margin:0!important}"]}),r})()},25538:(K,Z,l)=>{l.d(Z,{S:()=>Ct});var E=l(73799),L=l(8929),v=l(41074),f=l(33580),C=l(65730),I=l(16939),O=l(67241),x=l(36895),A=l(67065),T=l(53626),t=l(28914),y=l(29120),w=l(61199),M=l(51223),S=l(70814),e=l(94650),N=l(81704),B=l(23767),W=l(65938),$=l(4859),H=l(97392),G=l(59549),z=l(284),R=l(28255),q=l(98739),V=l(73162),X=l(51572),ee=l(96308),j=l(3848),te=l(10266),ne=l(81638),ae=l(21112),ie=l(29322);function oe(a,_){1&a&&(e.TgZ(0,"p",62),e._uU(1," TOTAL ANNUAL PREMIUM"),e.qZA())}function se(a,_){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.overviewData?n.overviewData.liInsuranceCount:"0","")}}function re(a,_){1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function ce(a,_){1&a&&(e.TgZ(0,"p",63),e._uU(1,"Insurance Count "),e.qZA())}function le(a,_){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"indianNumberMask"),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.hij("",n.overviewData.liaveragePremium?"\u20b9"+e.xi3(2,1,n.overviewData.liaveragePremium,0):"-"," ")}}function _e(a,_){1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function pe(a,_){1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu("0"))}function de(a,_){1&a&&(e.TgZ(0,"p",64),e._uU(1,"Average Premium Size "),e.qZA())}function ue(a,_){if(1&a&&(e.TgZ(0,"div",65)(1,"div",66),e._UZ(2,"mat-progress-bar",67),e.TgZ(3,"p",68)(4,"span"),e._uU(5),e.ALo(6,"number"),e.qZA(),e._uU(7,"% Clients without Life insurance "),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(2),e.Q6J("value",n.lipercentNoInsurance),e.xp6(3),e.hij("",e.xi3(6,2,n.lipercentNoInsurance,"1.2-2")," ")}}function me(a,_){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.overviewData?n.overviewData.giInsuranceCount:"0","")}}function ge(a,_){1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function he(a,_){1&a&&(e.TgZ(0,"p",63),e._uU(1,"Insurance Count "),e.qZA())}function fe(a,_){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"indianNumberMask"),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.hij("",n.overviewData.giaveragePremium?"\u20b9"+e.xi3(2,1,n.overviewData.giaveragePremium,0):"-"," ")}}function ve(a,_){1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function xe(a,_){1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu("0"))}function De(a,_){1&a&&(e.TgZ(0,"p",64),e._uU(1,"Average Premium Size "),e.qZA())}function Ce(a,_){if(1&a&&(e.TgZ(0,"div",65)(1,"div",66),e._UZ(2,"mat-progress-bar",67),e.TgZ(3,"p",68)(4,"span"),e._uU(5),e.ALo(6,"number"),e.qZA(),e._uU(7,"% Clients without General insurance "),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(2),e.Q6J("value",n.gipercentNoInsurance),e.xp6(3),e.hij("",e.xi3(6,2,n.gipercentNoInsurance,"1.2-2")," ")}}function be(a,_){if(1&a&&(e.TgZ(0,"a",69),e._UZ(1,"img",70),e.qZA()),2&a){e.oxw();const n=e.MAs(59);e.Q6J("matMenuTriggerFor",n)}}function Ie(a,_){1&a&&e._UZ(0,"mat-spinner",71),2&a&&e.Q6J("diameter",30)}function Te(a,_){1&a&&(e.TgZ(0,"th",88),e._uU(1," Policy number"),e.qZA())}function Oe(a,_){if(1&a&&(e.TgZ(0,"td",89)(1,"div",90),e._uU(2),e.qZA()()),2&a){const n=_.$implicit,p=e.oxw(3);e.xp6(2),e.hij(" ",p.isLoading?"":n.policyNumber?n.policyNumber:"-"," ")}}function we(a,_){1&a&&(e.TgZ(0,"th",91),e._uU(1," Client name "),e.qZA())}function Me(a,_){if(1&a&&(e.TgZ(0,"td",89)(1,"div",90),e._uU(2),e.qZA()()),2&a){const n=_.$implicit,p=e.oxw(3);e.xp6(2),e.hij(" ",p.isLoading?"":n.lifeAssuredName?n.lifeAssuredName:"-"," ")}}function Ae(a,_){1&a&&(e.TgZ(0,"th",91),e._uU(1," Insurer "),e.qZA())}function ye(a,_){if(1&a&&(e.TgZ(0,"td",89)(1,"div",90),e._uU(2),e.qZA()()),2&a){const n=_.$implicit,p=e.oxw(3);e.xp6(2),e.hij(" ",p.isLoading?"":n.companyName?n.companyName:"-"," ")}}function Pe(a,_){1&a&&(e.TgZ(0,"th",91),e._uU(1," Sum assured "),e.qZA())}function Ze(a,_){if(1&a&&e._UZ(0,"span",93),2&a){const n=e.oxw().$implicit;e.Q6J("formatWithSymbolAndPoint",n.sumAssured)}}function Ee(a,_){if(1&a&&(e.TgZ(0,"td",89)(1,"div",90),e.YNc(2,Ze,1,1,"span",92),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.Q6J("ngIf",!n.isLoading)}}function k(a,_){1&a&&(e.TgZ(0,"th",91),e._uU(1," Mobile No. "),e.qZA())}function Ue(a,_){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.number?n.number:"-","")}}function r(a,_){if(1&a&&(e.TgZ(0,"td",89)(1,"div",90),e.YNc(2,Ue,2,1,"span",20),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.Q6J("ngIf",!n.isLoading)}}function u(a,_){1&a&&(e.TgZ(0,"th",91),e._uU(1," Policy name "),e.qZA())}function i(a,_){if(1&a&&(e.TgZ(0,"span",95),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.policyName,"")}}function s(a,_){if(1&a&&(e.TgZ(0,"td",89)(1,"div",90),e.YNc(2,i,2,1,"span",94),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.Q6J("ngIf",!n.isLoading)}}function c(a,_){1&a&&(e.TgZ(0,"th",91),e._uU(1," Premium "),e.qZA())}function o(a,_){if(1&a&&e._UZ(0,"span",93),2&a){const n=e.oxw().$implicit;e.Q6J("formatWithSymbolAndPoint",n.premiumAmount)}}function d(a,_){if(1&a&&(e.TgZ(0,"td",89)(1,"div",90),e.YNc(2,o,1,1,"span",92),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.Q6J("ngIf",!n.isLoading)}}function D(a,_){1&a&&(e.TgZ(0,"th",91),e._uU(1," Policy status"),e.qZA())}function J(a,_){1&a&&(e.TgZ(0,"span",103),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.hij(" ","LIVE"," "))}function P(a,_){1&a&&(e.TgZ(0,"span",104),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.hij(" ","MATURED"," "))}function Le(a,_){1&a&&(e.TgZ(0,"span",105),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.hij(" ","LAPSED"," "))}function Se(a,_){1&a&&(e.TgZ(0,"span",106),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.hij(" ","REDUCE PAID UP"," "))}function Ne(a,_){1&a&&(e.TgZ(0,"span",107),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.hij(" ","FULLY PAID UP"," "))}function Fe(a,_){if(1&a&&(e.TgZ(0,"td",96)(1,"div",97),e.YNc(2,J,2,1,"span",98),e.YNc(3,P,2,1,"span",99),e.YNc(4,Le,2,1,"span",100),e.YNc(5,Se,2,1,"span",101),e.YNc(6,Ne,2,1,"span",102),e.qZA()()),2&a){const n=_.$implicit;e.xp6(2),e.Q6J("ngIf",1==n.policyStatusId),e.xp6(1),e.Q6J("ngIf","MATURED"==n.policyStatusId),e.xp6(1),e.Q6J("ngIf",2==n.policyStatusId),e.xp6(1),e.Q6J("ngIf",4==n.policyStatusId),e.xp6(1),e.Q6J("ngIf",3==n.policyStatusId)}}function Be(a,_){1&a&&e._UZ(0,"tr",108)}function Ye(a,_){1&a&&e._UZ(0,"tr",109)}function ke(a,_){if(1&a&&(e.TgZ(0,"table",72),e.ynx(1,73),e.YNc(2,Te,2,0,"th",74),e.YNc(3,Oe,3,1,"td",75),e.BQk(),e.ynx(4,76),e.YNc(5,we,2,0,"th",77),e.YNc(6,Me,3,1,"td",75),e.BQk(),e.ynx(7,78),e.YNc(8,Ae,2,0,"th",77),e.YNc(9,ye,3,1,"td",75),e.BQk(),e.ynx(10,79),e.YNc(11,Pe,2,0,"th",77),e.YNc(12,Ee,3,1,"td",75),e.BQk(),e.ynx(13,80),e.YNc(14,k,2,0,"th",77),e.YNc(15,r,3,1,"td",75),e.BQk(),e.ynx(16,81),e.YNc(17,u,2,0,"th",77),e.YNc(18,s,3,1,"td",75),e.BQk(),e.ynx(19,82),e.YNc(20,c,2,0,"th",77),e.YNc(21,d,3,1,"td",75),e.BQk(),e.ynx(22,83),e.YNc(23,D,2,0,"th",84),e.YNc(24,Fe,7,5,"td",85),e.BQk(),e.YNc(25,Be,1,0,"tr",86),e.YNc(26,Ye,1,0,"tr",87),e.qZA()),2&a){const n=e.oxw(2);e.Q6J("appSkeletonLoading",n.isLoading)("dataSource",n.dataSource),e.xp6(25),e.Q6J("matHeaderRowDef",n.displayedColumns)("matHeaderRowDefSticky",!0),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns)}}
1function Je(a,_){1&a&&(e.TgZ(0,"div",110),e._UZ(1,"img",111),e.TgZ(2,"h4",112),e._uU(3," No data found "),e.qZA()())}function Qe(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div")(1,"button",118),e.NdJ("click",function(){const h=e.CHM(n).$implicit,b=e.oxw(3);return e.KtG(b.changeValueOfArnRia(h))}),e._uU(2),e.qZA()()}if(2&a){const n=_.$implicit;e.xp6(1),e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.number)}}function Re(a,_){if(1&a&&(e.TgZ(0,"div",113),e.ynx(1),e.TgZ(2,"button",114),e._uU(3),e.TgZ(4,"mat-icon",115),e._uU(5,"keyboard_arrow_down "),e.qZA()(),e.TgZ(6,"mat-menu",null,116),e.YNc(8,Qe,3,2,"div",117),e.qZA(),e.BQk(),e.qZA()),2&a){const n=e.MAs(7),p=e.oxw(2);e.xp6(2),e.Q6J("matMenuTriggerFor",n),e.xp6(1),e.hij(" ",p.viewMode," "),e.xp6(5),e.Q6J("ngForOf",p.arnRiaListShow)}}function qe(a,_){if(1&a&&(e.TgZ(0,"p",126),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.name?n.name:"-","")}}function Ke(a,_){1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function We(a,_){if(1&a&&(e.TgZ(0,"p",127),e._uU(1),e.ALo(2,"indianNumberMask"),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.premium?"\u20b9"+e.xi3(2,1,n.premium,0):"-","")}}const je=function(a){return{bar:a}};function $e(a,_){if(1&a&&(e.TgZ(0,"p",121),e._uU(1),e.qZA()),2&a){const n=e.oxw(3);e.Q6J("ngClass",e.VKq(2,je,n.insuranceOverviewLoading)),e.xp6(1),e.Oqu("")}}const Q=function(a,_){return{height23:a,bar:_}};function He(a,_){if(1&a&&(e.TgZ(0,"div",119)(1,"div",120)(2,"div",121),e.YNc(3,qe,2,1,"p",122),e.YNc(4,Ke,2,1,"p",20),e.qZA()(),e.TgZ(5,"div",123)(6,"div",121),e.YNc(7,We,3,4,"p",124),e.YNc(8,$e,2,4,"p",125),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.WLB(6,Q,n.insuranceOverviewLoading,n.insuranceOverviewLoading)),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(2),e.Q6J("ngClass",e.WLB(9,Q,n.insuranceOverviewLoading,n.insuranceOverviewLoading)),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading)}}function Ge(a,_){1&a&&(e.TgZ(0,"div",128),e._uU(1," No Data Found "),e.qZA())}function ze(a,_){if(1&a&&(e.TgZ(0,"p",132),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.Q6J("matTooltip",n.pan),e.xp6(1),e.hij(" ",n.name?n.name:"-","")}}function Ve(a,_){1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function Xe(a,_){if(1&a&&(e.TgZ(0,"p",127),e._uU(1),e.ALo(2,"indianNumberMask"),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.premium?"\u20b9"+e.xi3(2,1,n.premium,0):"-","")}}function et(a,_){1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function tt(a,_){if(1&a&&(e.TgZ(0,"div",119)(1,"div",129)(2,"div",121),e.YNc(3,ze,2,2,"p",130),e.YNc(4,Ve,2,1,"p",20),e.qZA()(),e.TgZ(5,"div",131)(6,"div",121),e.YNc(7,Xe,3,4,"p",124),e.YNc(8,et,2,1,"p",20),e.qZA()()()),2&a){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.WLB(6,Q,n.insuranceOverviewLoading,n.insuranceOverviewLoading)),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(2),e.Q6J("ngClass",e.WLB(9,Q,n.insuranceOverviewLoading,n.insuranceOverviewLoading)),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading)}}function nt(a,_){1&a&&(e.TgZ(0,"div",128),e._uU(1," No Data Found "),e.qZA())}function at(a,_){if(1&a&&(e.TgZ(0,"p",126),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.name?n.name:"-","")}}function it(a,_){1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function ot(a,_){if(1&a&&(e.TgZ(0,"p",127),e._uU(1),e.ALo(2,"indianNumberMask"),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.premium?"\u20b9"+e.xi3(2,1,n.premium,0):"-","")}}function st(a,_){1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function rt(a,_){if(1&a&&(e.TgZ(0,"div",119)(1,"div",120)(2,"div",121),e.YNc(3,at,2,1,"p",122),e.YNc(4,it,2,1,"p",20),e.qZA()(),e.TgZ(5,"div",123)(6,"div",121),e.YNc(7,ot,3,4,"p",124),e.YNc(8,st,2,1,"p",20),e.qZA()()()),2&a){const n=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.WLB(6,Q,n.insuranceOverviewLoading,n.insuranceOverviewLoading)),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(2),e.Q6J("ngClass",e.WLB(9,Q,n.insuranceOverviewLoading,n.insuranceOverviewLoading)),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading)}}function ct(a,_){if(1&a&&(e.TgZ(0,"div",52),e.YNc(1,rt,9,12,"div",53),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",n.overviewData.giTopClient)}}function lt(a,_){1&a&&(e.TgZ(0,"div",128),e._uU(1," No Data Found "),e.qZA())}function _t(a,_){if(1&a&&(e.TgZ(0,"p",126),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.name,"")}}function pt(a,_){1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function dt(a,_){if(1&a&&(e.TgZ(0,"p",127),e._uU(1),e.ALo(2,"indianNumberMask"),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.premium?"\u20b9"+e.xi3(2,1,n.premium,0):"-","")}}function ut(a,_){1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a&&(e.xp6(1),e.Oqu(""))}function mt(a,_){if(1&a&&(e.TgZ(0,"div",119)(1,"div",133),e.YNc(2,_t,2,1,"p",122),e.YNc(3,pt,2,1,"p",20),e.qZA(),e.TgZ(4,"div",134),e.YNc(5,dt,3,4,"p",124),e.YNc(6,ut,2,1,"p",20),e.qZA()()),2&a){const n=e.oxw(3);e.xp6(2),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(2),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading)}}function gt(a,_){if(1&a&&(e.TgZ(0,"div",52),e.YNc(1,mt,7,4,"div",53),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",n.giTopClientByInsurer)}}function ht(a,_){1&a&&(e.TgZ(0,"div",128),e._uU(1," No data found "),e.qZA())}const ft=function(a){return{"pe-none":a}},vt=function(a){return{"table-scroll":a}},xt=function(a){return{"cursor-not-allowed":a}};function Dt(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7)(5,"div",5)(6,"div",8)(7,"div",9)(8,"div",10)(9,"div",5)(10,"div",11)(11,"h1",12)(12,"span"),e._uU(13),e.qZA()(),e.YNc(14,oe,2,0,"p",13),e.qZA()()()()(),e.ynx(15),e.TgZ(16,"div",14)(17,"div",9)(18,"div",15)(19,"div",16)(20,"div",17)(21,"div",18)(22,"h1",19),e.YNc(23,se,2,1,"span",20),e.YNc(24,re,2,1,"span",20),e.qZA(),e.YNc(25,ce,2,0,"p",21),e.qZA()(),e.TgZ(26,"div",22)(27,"h1",23),e.YNc(28,le,3,4,"span",20),e.YNc(29,_e,2,1,"span",20),e.YNc(30,pe,2,1,"span",20),e.qZA(),e.YNc(31,de,2,0,"p",24),e.qZA(),e.YNc(32,ue,8,5,"div",25),e.qZA()()()(),e.TgZ(33,"div",14)(34,"div",9)(35,"div",15)(36,"div",16)(37,"div",17)(38,"div",18)(39,"h1",19),e.YNc(40,me,2,1,"span",20),e.YNc(41,ge,2,1,"span",20),e.qZA(),e.YNc(42,he,2,0,"p",21),e.qZA()(),e.TgZ(43,"div",22)(44,"h1",23),e.YNc(45,fe,3,4,"span",20),e.YNc(46,ve,2,1,"span",20),e.YNc(47,xe,2,1,"span",20),e.qZA(),e.YNc(48,De,2,0,"p",24),e.qZA(),e.YNc(49,Ce,8,5,"div",25),e.qZA()()()(),e.BQk(),e.TgZ(50,"div",26)(51,"div",27)(52,"mat-form-field",28)(53,"input",29,30),e.NdJ("input",function(){e.CHM(n);const m=e.MAs(54),h=e.oxw();return e.KtG(h.searchByAdvisor(m.value))}),e.qZA()()(),e.TgZ(55,"div",31)(56,"img",32),e.NdJ("click",function(){e.CHM(n);const m=e.oxw();return e.KtG(m.GetOverviewData(1))}),e.qZA()(),e.YNc(57,be,2,1,"a",33),e.TgZ(58,"mat-menu",null,34)(60,"button",35),e.NdJ("click",function(){e.CHM(n);const m=e.oxw();
1return e.KtG(m.downloadExcel("Insurance","XLS"))}),e._uU(61,"XLS"),e.qZA(),e.TgZ(62,"button",35),e.NdJ("click",function(){e.CHM(n);const m=e.oxw();return e.KtG(m.downloadExcel("Insurance","XLSX"))}),e._uU(63,"XLSX"),e.qZA()(),e.YNc(64,Ie,1,1,"mat-spinner",36),e.qZA()()(),e.TgZ(65,"div",5)(66,"div",37)(67,"div",38)(68,"div",39),e.YNc(69,ke,27,5,"table",40),e.qZA(),e.TgZ(70,"div",41)(71,"mat-paginator",42,43),e.NdJ("page",function(m){e.CHM(n);const h=e.oxw();return e.KtG(h.isLoading?"":h.pageEvent=h.onPaginationChange(m))}),e.qZA()(),e.YNc(73,Je,4,0,"div",44),e.qZA()()()(),e.TgZ(74,"div",45),e.YNc(75,Re,9,3,"div",46),e.TgZ(76,"div",47)(77,"div",48)(78,"p",49),e._uU(79,"life Insurance"),e.qZA(),e.TgZ(80,"mat-tab-group",50),e.NdJ("selectedTabChange",function(m){e.CHM(n);const h=e.oxw();return e.KtG(h.onAmcClientTabChanged(m))}),e.TgZ(81,"mat-tab",51)(82,"div",52),e.YNc(83,He,9,12,"div",53),e.qZA(),e.YNc(84,Ge,2,0,"div",54),e.qZA(),e.TgZ(85,"mat-tab",55)(86,"div",56),e.YNc(87,tt,9,12,"div",57),e.qZA(),e.YNc(88,nt,2,0,"div",54),e.qZA()()(),e.TgZ(89,"div",58)(90,"p",49),e._uU(91,"General Insurance"),e.qZA(),e.TgZ(92,"mat-tab-group",59)(93,"mat-tab",51),e.YNc(94,ct,2,1,"div",60),e.YNc(95,lt,2,0,"div",54),e.qZA(),e.TgZ(96,"mat-tab",61),e.YNc(97,gt,2,1,"div",60),e.YNc(98,ht,2,0,"div",54),e.qZA()()()()()()()()}if(2&a){const n=e.oxw();e.xp6(4),e.Q6J("appSkeletonLoading",n.insuranceOverviewLoading),e.xp6(2),e.Q6J("ngClass",n.transactionLevel?"col-lg-12":"col-lg-4"),e.xp6(7),e.hij(" ",n.insuranceOverviewLoading?"":n.premiumSum?"\u20b9"+n.checkCroreOrNot(n.premiumSum):"0"," "),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(9),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(3),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading&&!n.overviewData),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(8),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(3),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading&&!n.overviewData),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading),e.xp6(8),e.Q6J("ngIf",n.dataSource.data.length>0),e.xp6(7),e.Q6J("ngIf",n.fragmentData.isSpinner),e.xp6(2),e.Q6J("ngClass",e.VKq(41,ft,n.isLoading)),e.xp6(2),e.Q6J("ngClass",e.VKq(43,vt,0==n.isLoading)),e.xp6(1),e.Q6J("ngIf",n.dataSource.data.length>0),e.xp6(2),e.Q6J("length",n.clientCount)("hidePageSize",!0)("pageSize",20)("ngClass",e.VKq(45,xt,n.isLoading)),e.xp6(2),e.Q6J("ngIf",0==n.dataSource.data.length&&0==n.isLoading),e.xp6(2),e.Q6J("ngIf",!1),e.xp6(5),e.Q6J("appSkeletonLoading",n.insuranceOverviewLoading),e.xp6(3),e.Q6J("ngForOf",n.liTopClient),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading&&0==(null==n.liTopClient?null:n.liTopClient.length)),e.xp6(3),e.Q6J("ngForOf",n.liTopClientByInsurer),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading&&0==(null==n.liTopClientByInsurer?null:n.liTopClientByInsurer.length)),e.xp6(4),e.Q6J("appSkeletonLoading",n.insuranceOverviewLoading),e.xp6(2),e.Q6J("ngIf",n.overviewData),e.xp6(1),e.Q6J("ngIf",!n.insuranceOverviewLoading&&0==(null==n.overviewData.giTopClient?null:n.overviewData.giTopClient.length)),e.xp6(2),e.Q6J("ngIf",n.subcategory),e.xp6(1),e.Q6J("ngIf",0==(null==n.giTopClientByInsurer?null:n.giTopClientByInsurer.length))}}let Ct=(()=>{class a{constructor(n,p,m,h,b,U,Y,g,bt,It,Tt){this.backoffice=n,this.eventService=p,this.reconService=m,this.peopleService=h,this.excel=b,this.authService=U,this.misAumDataStorageService=Y,this.enumDataService=g,this.subInjectService=bt,this.customerService=It,this.dialog=Tt,this.showMainWrapperFlag=!0,this.categoryshow=!1,this.showSubTable=!1,this.showAddBtn=!0,this.amcTotalAum=[{},{},{}],this.category=[{},{},{}],this.subcategory=[{},{},{}],this.MiscData1={},this.aumComponent=!0,this.isLoading=!1,this.adminAdvisorIds=[],this.isLoadingTopClients=!1,this.isLoadingCategory=!1,this.aumList=[],this.aumIdList=[],this.filter=!1,this.arnRiaListShow=[],this.teamMembers=[],this.noDataGraph=!0,this.graphLoading=!0,this.allClientList=null,this.currentPageIndex=0,this.teamMemberId=2929,this.arnRiaValue=-1,this.asOnDate=new Date,this.transactionLevel=!1,this.transactionLevelDisabled=!1,this.isCompanySelected=!0,this.isFilterApplied=!1,this.appliedFilterObj=[],this.dataSource=new T.by([{},{},{}]),this.displayedColumns=["position","name","weight","annulpremium","number","policyname","sumassured","amt"],this.fragmentData={isSpinner:!1},this.destroy$=new L.xQ,this.userInfo=C.e.getUserInfo()}ngOnInit(){this.advisorId=C.e.getAdvisorId(),this.parentId=C.e.getAdminAdvisorId(),this.getLifeInsurance(0,!1),this.GetOverviewData(0),this.advisorDetails=C.e.getProfileDetails(),this.getNewThemeData(),this.aumId=0,this.viewModeID="All",this.backoffice.getTeamMember().pipe((0,A.takeUntil)(this.destroy$)).subscribe(n=>{this.teamMemberList=n}),this.backoffice.getArnRia().pipe((0,A.takeUntil)(this.destroy$)).subscribe(n=>{this.arnRiaList=n})}getNewThemeData(){const n={advisorId:C.e.getAdvisorId()};this.peopleService.getThemeData(n).subscribe(p=>{p&&(C.e.setTheme(p),this.getThemeData=C.e.getTheme(),this.colorData=this.authService.getColor(this.getThemeData))})}getLifeInsurance(n,p){this.dataSource.data=[{},{},{}],this.isLoading=!0,this.customerService.getFupInsuranceData({advisorId:this.advisorId,limit:20,offset:n,policyStatus:[1,2,4]}).subscribe(h=>{h?(this.isLoading=!1,this.clientCount=h.count,this.dataSource.data=h.insurance,this.dataSource.data.forEach(b=>{b.fupDueDate=null,b.selected=!1})):(this.isLoading=!1,this.dataSource.data=[])},h=>{this.isLoading=!1,this.dataSource.data=[]})}openDialogFilter(){this.dialog.open(w.$,{data:this.filterData}).afterClosed().subscribe(p=>{0!=p&&(p?.addMore||(this.filterData=JSON.parse(JSON.stringify(p.data)),this.isFilterApplied=this.filterData.some(m=>m.count>0),this.callLifeInsuranceAppliedData(this.currentPageIndex,this.filterData)),p?.addMore&&this.openFilterOverview(""))})}openFilterOverview(n){this.componentWise=n,this.aumComponent=!1,this.objTosend={id:1}}downloadExcerAfterData(n,p,m){if(m&&m.length>0){const h=[];m.forEach(g=>{g.frequency=1===g.frequency?"Yearly":2===g.frequency?"Half Yearly":3===g.frequency?"Single Premium":4===g.frequency?"Quarterly":12===g.frequency?"Monthly":"Invalid Frequency",g.policyStatusId=1===g.policyStatusId?"LIVE":2===g.policyStatusId?"Lapsed":3===g.policyStatusId?"Fully Paid up":4===g.policyStatusId?"Reduced Paid up":"Invalid Frequency",g.agencyName=g.agencyName?g.agencyName:"-",g.fupDate=g.fupDate?g.fupDate:"-",h.push([g.policyNumber,g.lifeAssuredName,g.policyName,g.companyName,g.frequency,g.premiumAmount,g.fupDate,g.number,g.agencyName,g.policyStatusId])}),this.excel.userinfo=this.userInfo,this.excel.footerColor=!1;let b={name:n,date:"Report as on: "+(0,x.p6)((new Date).getTime(),"dd-MM-yyyy","en-US")};const U=["Policy number","Client name","Policy name","Insurer","Payment Frequency","Premium","Current FUP date","Mobile number","Agency","Policy status"],Y=this.excel.exportToExcel(U,this.advisorDetails,this.colorData,b,n);this.excel.exportExcelFile(U,h,this.advisorDetails,this.colorData,n,Y.ws,Y.wb,p),this.excel.footerColor=!0,this.fragmentData.isSpinner=!1}}callFupdataForExcel(n,p){this.customerService.getFupInsuranceData({advisorId:this.advisorId,limit:-1,offset:0,policyStatus:[1,2,4]}).subscribe(h=>{h?this.downloadExcerAfterData(n,p,h.insurance):this.fragmentData.isSpinner=!1},h=>{})}
1downloadExcel(n,p){this.fragmentData.isSpinner=!0,this.callFupdataForExcel(n,p)}searchByAdvisor(n){(n.length>=3||0==n.length||1==n.length)&&this.callLifeInsuranceAppliedData(this.currentPageIndex,null,n)}callLifeInsuranceAppliedData(n,p,m){if(this.isLoading=!0,p){let b=[];p[0].data.forEach(g=>{!0===g.checked&&b.push(g.id)}),this.insurerId=b;let U=[];p[1].data.forEach(g=>{!0===g.checked&&U.push(g.id)}),this.freqIds=U;let Y=[];p[2].data.forEach(g=>{!0===g.checked&&Y.push(g.id)}),this.statusId=Y,0==this.statusId.length&&(this.statusId=[1,2,4])}let h={advisorId:this.advisorId,limit:20,offset:n,policyStatus:[1,2,4]};p&&(h.insurerIds=this.insurerId,h.frequency=this.freqIds,h.policyStatus=this.statusId),m&&m.length>=3&&(h.name=m),this.customerService.getFupInsuranceData(h).subscribe(b=>{b?(this.isLoading=!1,this.clientCount=b.count,this.dataSource.data=b.insurance,this.dataSource.data.forEach(U=>{U.fupDueDate=null,U.selected=!1})):(this.dataSource.data=[],this.isLoading=!1)},b=>{})}onPaginationChange(n){const{pageIndex:p}=n;return this.currentPageIndex=20*p,this.callLifeInsuranceAppliedData(this.currentPageIndex,this.filterData),n}arnFilterList(){let n=0,p=!1;for(let m=0;m<this.arnRiaList.length;m++){for(let h=0;h<this.arnRiaListShow.length;h++)this.arnRiaList[m].number==this.arnRiaListShow[h].number&&(p=!0);n++,1==n&&0==p&&this.arnRiaListShow.push(this.arnRiaList[m]),p=!1,n=0}}changeValueOfArnRia(n){this.clientTotalAum=[{},{},{}],this.amcTotalAum=[{},{},{}],this.category=[{},{},{}],this.subcategory=[{},{},{}],this.viewMode=n.number,"All"!=n.number?(this.arnRiaValue=n.id,this.misAumDataStorageService.setArnRiaDetail(n.id)):(this.arnRiaValue=-1,this.misAumDataStorageService.setArnRiaDetail(n.id)),this.misAumDataStorageService.doDataExist()&&this.misAumDataStorageService.callApiData(),this.initPoint()}initPoint(){this.filter=!0,this.MiscData1={},this.clientWithoutMF=0}filterIDWise(n,p){this.viewModeID=p,this.aumId=n}aumFilterRes(n){n.aumId&&0!=n.aumId?(this.aumId=n.aumId,this.viewModeID=n.viewModeID):(this.aumId=0,this.viewModeID="All")}showMainWrapper(){this.categoryshow=!1,this.showMainWrapperFlag=!0}categorywise(){this.categoryshow=!0,this.showMainWrapperFlag=!1}GetOverviewData(n){this.insuranceOverviewLoading=!0,this.backoffice.getOverviewData({advisorId:this.advisorId,insuranceTypeId:[1,2],updateRedis:n}).subscribe(m=>{m?(this.overviewData=m,this.premiumSum=this.overviewData.premiumSum,this.gipercentNoInsurance=this.overviewData.gipercentNoInsurance,this.lipercentNoInsurance=this.overviewData.lipercentNoInsurance,this.liTopClient=this.overviewData.liTopClient,this.liTopClientByInsurer=this.overviewData.liTopClientByInsurer,this.giTopClientByInsurer=this.overviewData.giTopClientByInsurer,this.insuranceOverviewLoading=!1):this.insuranceOverviewLoading=!1},m=>{this.insuranceOverviewLoading=!1})}checkCroreOrNot(n){if(null==n||isNaN(n))return"";const p=new Intl.NumberFormat("en-IN");return n>=1e7?`${p.format(+(n/1e7).toFixed(2))} Cr`:`${p.format(n)}`}onAmcClientTabChanged(n){}getFileResponseDataForSub(n){this.isLoadingCategory=!1,this.category=n.category,this.subcategory=n.subcategory}getFileResponseDataForSubScheme(n){this.MiscData=n.categories}getFileResponseDataForSubSchemeName(n){}getFilerrorResponse(n){this.eventService.showErrorMessage(n)}ngOnDestroy(){this.misAumDataStorageService.setFilterChanged(),this.misAumDataStorageService.resetFilterApplied(),this.destroy$.next(),this.destroy$.complete()}openFilter(n){const m=this.subInjectService.changeNewRightSliderState({data:{insurerList:n.data[0],paymentFreq:n.data[1],policyStatus:n.data[2]},id:1,state:"open25",componentName:y.f}).pipe((0,A.takeUntil)(this.destroy$)).subscribe(h=>{O.fK.isDialogClose(h)&&m.unsubscribe()})}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(f.z),e.Y36(v.P),e.Y36(I.d),e.Y36(S.g),e.Y36(M.d),e.Y36(C.e),e.Y36(N.G),e.Y36(E.p),e.Y36(B.f),e.Y36(t.v),e.Y36(W.uw))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-insurance-overview"]],decls:3,vars:1,consts:[["id","ui-misreport"],[1,"bg-white"],["class","pb-36",4,"ngIf"],[1,"pb-36"],[1,"mr-12"],[1,"row"],[1,"col-md-12","col-xl-9","p-0"],["appSkeletonLoading","",1,"skeletonAnimation",3,"appSkeletonLoading"],[1,"col-md-12","pr-0","mb-10","relClass",3,"ngClass"],[1,"bar180"],[1,"bg-grey","lter","pt-24","pb-24","text-center","br-2","height180"],[1,"col-md-12","p-0"],[1,"relClass","text-diff","f-44","f-300","pt-32"],["class","f-16 pt-4 text-diff",4,"ngIf"],[1,"col-md-12","col-lg-4","relClass","mb-10","pr-0"],[1,"bg-grey","lter","br-2","height180","pr-20","pl-12"],[1,"row","pt-12"],[1,"col-md-5","text-left","p-0"],[1,"pl-12"],[1,"f-24","text-diff","mb-0","pb-8"],[4,"ngIf"],["class","f-12 text-diff mb-0",4,"ngIf"],[1,"col-md-7","p-0","text-right"],[1,"text-diff","f-24","mb-0","pb-8"],["class","f-12 mb-0 text-diff",4,"ngIf"],["class","col-md-12 pr-0",4,"ngIf"],[1,"d-flex","justify-content-between","w-100","pl-20","pr-20"],[1,"col-md-4",2,"padding-left","0px"],["appearance"," standard","floatLabel","never",1,"searchInputWidth","mr-10"],["autocomplete","off","matInput","","placeholder","Type to search client",1,"form-control","br-0","pt-8","mb-0",3,"input"],["inputSearch",""],[1,"mr-10",2,"margin-left","auto !important"],["src","https://res.cloudinary.com/futurewise/image/upload/v1661855936/myplanner/images/svg/Group_5010.svg","height","36","width","42","alt","refresh",1,"c-p",3,"click"],["class","c-p downloadPdfIcon mr-10",3,"matMenuTriggerFor",4,"ngIf"],["menu5","matMenu"],["mat-menu-item","",3,"click"],["class","mr-10",3,"diameter",4,"ngIf"],[1,"row","pt-10","d-none-768",2,"width","100%",3,"ngClass"],[1,"col-md-12","people-clients"],[2,"overflow-y","auto !important","max-height","374px",3,"ngClass"],["
1id","table-low","appSkeletonLoading","","class","skeletonAnimation","id","tbs","mat-table","","matSort","",3,"appSkeletonLoading","dataSource",4,"ngIf"],[1,"p-0","pt-10","paginationClass","flex-end",2,"padding-left","300px"],[3,"length","hidePageSize","pageSize","ngClass","page"],["paginator",""],["class","col-md-12 p-0  text-center",4,"ngIf"],[1,"col-md-12","col-xl-3","pr-0"],["class","pl-16  pb-16 text-right",4,"ngIf"],[1,"row","tab-2"],["id","mistabs1",1,"col-xl-12","b","col-md-6","p-0","pr-10-1200"],[1,"f-400","f-14","roboto","text-center","text-uppercase","pb-10","mt-10","mb-0","bb","f-bold"],["appSkeletonLoading","",1,"bg-white","pt-0","skeletonAnimation",3,"appSkeletonLoading","selectedTabChange"],["label","Top clients ",1,"min-w140"],[1,"b-white"],["class","row bb ",4,"ngFor","ngForOf"],["style","padding-top: 90px;","class","text-center",4,"ngIf"],["label","Top insurer"],[1,"b-white","scrollable-container"],["class","row bb",4,"ngFor","ngForOf"],["id","mistabs1",1,"col-xl-12","tab-2","col-md-6","b","aumtabs","p-0","mt-20","pl-10-1200","mt-0-1200"],["appSkeletonLoading","",1,"bg-white","skeletonAnimation",3,"appSkeletonLoading"],["class","b-white ",4,"ngIf"],["label","Top insurer "],[1,"f-16","pt-4","text-diff"],[1,"f-12","text-diff","mb-0"],[1,"f-12","mb-0","text-diff"],[1,"col-md-12","pr-0"],[1,"pt-20"],["mode","determinate",1,"text-diff",3,"value"],[1,"text-diff","f-12","pt-4","mb-0","pb-8"],[1,"c-p","downloadPdfIcon","mr-10",3,"matMenuTriggerFor"],["src","assets/images/svg/download-bordered.svg","alt","download icon"],[1,"mr-10",3,"diameter"],["id","table-low","appSkeletonLoading","","id","tbs","mat-table","","matSort","",1,"skeletonAnimation",3,"appSkeletonLoading","dataSource"],["matColumnDef","position","sticky",""],["class","br no-sticky-992 ","mat-header-cell","",4,"matHeaderCellDef"],["class","br ","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["class","br","mat-header-cell","","sticky","",4,"matHeaderCellDef"],["matColumnDef","weight"],["matColumnDef","sumassured"],["matColumnDef","number"],["matColumnDef","policyname"],["matColumnDef","annulpremium"],["matColumnDef","amt"],["class","text-right","class","br","mat-header-cell","","sticky","",4,"matHeaderCellDef"],["class","br  nowrap","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"br","no-sticky-992"],["mat-cell","",1,"br"],[1,"bar"],["mat-header-cell","","sticky","",1,"br"],["appFormatNumber","",3,"formatWithSymbolAndPoint",4,"ngIf"],["appFormatNumber","",3,"formatWithSymbolAndPoint"],["appFormatNumber","",4,"ngIf"],["appFormatNumber",""],["mat-cell","",1,"br","nowrap"],[1,"bar","text-right"],["class","text-primary",4,"ngIf"],["class","text-success",4,"ngIf"],["class","text-danger",4,"ngIf"],["class","text-warning",4,"ngIf"],["class","text-info",4,"ngIf"],[1,"text-primary"],[1,"text-success"],[1,"text-danger"],[1,"text-warning"],[1,"text-info"],["mat-header-row",""],["mat-row",""],[1,"col-md-12","p-0","text-center"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592623/myplanner/images/svg/dialogs4.svg","alt","dialog4 icon"],[1,"d-flex","justify-content-center"],[1,"pl-16","pb-16","text-right"],["mat-stroked-button","",1,"ba-black","borderLine","br-0",3,"matMenuTriggerFor"],["aria-hidden","false","aria-label","Example home icon"],["menu","matMenu"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"value","click"],[1,"row","bb"],[1,"relClass","col-md-7","p-0"],[3,"ngClass"],["class","mb-0 f-bold f-13 p-8 ",4,"ngIf"],[1,"relClass","col-md-5","p-0","text-right"],["class","mb-0 f-13 p-4 pr-8 text-custom  pt-8","appFormatNumber","",4,"ngIf"],[3,"ngClass",4,"ngIf"],[1,"mb-0","f-bold","f-13","p-8"],["appFormatNumber","",1,"mb-0","f-13","p-4","pr-8","text-custom","pt-8"],[1,"text-center",2,"padding-top","90px"],[1,"col-md-7","p-0","relClass"],["class","mb-0 f-bold f-13 p-8 ",3,"matTooltip",4,"ngIf"],[1,"relClass","col-md-5","text-right","p-0"],[1,"mb-0","f-bold","f-13","p-8",3,"matTooltip"],[1,"bar","col-md-7","p-0"],[1,"bar","col-md-5","text-right","p-0"]],template:function(n,p){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Dt,99,47,"div",2),e.qZA()()),2&n&&(e.xp6(2),e.Q6J("ngIf",1==p.aumComponent))},dependencies:[x.mk,x.sg,x.O5,$.lW,H.Hw,G.KE,z.Nt,R.VK,R.OP,R.p6,q.NW,V.pW,X.Ou,ee.YE,T.BZ,T.fO,T.as,T.w1,T.Dz,T.nj,T.ge,T.ev,T.XQ,T.Gk,j.SP,j.uX,te.gM,ne.d,ae.R,x.JJ,ie.Us],styles:['#pieChartAum[_ngcontent-%COMP%]{height:400px}.highcharts-figure[_ngcontent-%COMP%], .highcharts-data-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{min-width:310px;max-width:800px;margin:1em auto}.highcharts-data-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border-collapse:collapse;border:1px solid #EBEBEB;margin:10px auto;text-align:center;width:100%;max-width:500px}.highcharts-data-table[_ngcontent-%COMP%]   caption[_ngcontent-%COMP%]{padding:1em 0;font-size:1.2em;color:#555}.highcharts-data-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-weight:600;padding:.5em}.highcharts-data-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .highcharts-data-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .highcharts-data-table[_ngcontent-%COMP%]   caption[_ngcontent-%COMP%]{padding:.5em}.highcharts-data-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%], .highcharts-data-table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(even){background:#f8f8f8}.highcharts-data-table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background:#f1f7ff}.height180[_ngcontent-%COMP%]{height:180px!important;padding-top:20px!important}.bxo[_ngcontent-%COMP%]{box-shadow:inset 0 4px 5px #0003}.h-365[_ngcontent-%COMP%]{height:365px!important}.second-header[_ngcontent-%COMP%]{position:fixed;padding-right:100px;margin-top:125px;padding-top:16px;padding-bottom:16px;z-index:2;background:#fff}  #mistabs1 .mat-ink-bar,   #mistabs2 .mat-ink-bar{display:block!important}.borderBottom[_ngcontent-%COMP%]{border-bottom:1px solid #BCC6CA!important}  #mistabs1 .mat-tab-label{border-bottom:1px solid #DADCE0}  #mistabs2 .mat-tab-label{border-bottom:1px solid #DADCE0;min-width:50%!important}.skeletonAnimation[_ngcontent-%COMP%]   .relClass[_ngcontent-%COMP%]{position:relative}.skeletonAnimation[_ngcontent-%COMP%]   .relClass[_ngcontent-%COMP%]   .bar[_ngcontent-%COMP%]{background-color:#e7e7e7;width:100%}.skeletonAnimation[_ngcontent-%COMP%]   .relClass[_ngcontent-%COMP%]   .bar[_ngcontent-%COMP%]:after{position:absolute;transform:translateY(-50%);top:50%;left:0;content:"";display:block;width:100%;height:24px;background-image:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 80%);background-size:100px 24px;background-position:-10px 0;background-repeat:no-repeat;animation:loading 1s infinite}.skeletonAnimation[_ngcontent-%COMP%]   .relClass[_ngcontent-%COMP%]   .bar180[_ngcontent-%COMP%]{background-color:#e7e7e7;width:100%}.skeletonAnimation[_ngcontent-%COMP%]   .relClass[_ngcontent-%COMP%]   .bar180[_ngcontent-%COMP%]:after{position:absolute;transform:translateY(-50%);top:50%;left:0;content:"";display:block;width:100%;height:180px;background-image:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 80%);background-size:100px 180px;background-position:-10px 0;background-repeat:no-repeat;animation:loading 1s infinite}
1.height23[_ngcontent-%COMP%]{height:23px}.flex-box[_ngcontent-%COMP%]{display:flex}@media screen and (min-width: 768px) and (max-width: 991px){.flex-box[_ngcontent-%COMP%]{display:block}#ui-misreport[_ngcontent-%COMP%]   .width183[_ngcontent-%COMP%]{width:48%;margin-right:15px;display:inline-block;margin-bottom:10px}#ui-misreport[_ngcontent-%COMP%]   .tabMrNone[_ngcontent-%COMP%]{margin-right:0}}.appliedFilter[_ngcontent-%COMP%]     .mat-standard-chip{min-height:26px!important}.disabled-click[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed;pointer-events:none}.scrollable-container[_ngcontent-%COMP%]{max-height:300px;overflow-y:auto;overflow-x:hidden}  #mistabs1 .mat-tab-label.mat-tab-label-active{border:0px solid #bcc6ca}.f-32[_ngcontent-%COMP%]{font-size:32px!important}']}),a})()},84942:(K,Z,l)=>{l.d(Z,{w:()=>C});var E=l(34793),L=l(47041),v=l(94650);const f=[{path:"",component:L.W}];let C=(()=>{class I{}return I.\u0275fac=function(x){return new(x||I)},I.\u0275mod=v.oAB({type:I}),I.\u0275inj=v.cJS({imports:[E.Bz.forChild(f),E.Bz]}),I})()},47041:(K,Z,l)=>{l.d(Z,{W:()=>t});var E=l(70661),L=l(73799),v=l(33580),f=l(94650),C=l(34793),I=l(81704),O=l(3848),x=l(65485),A=l(25538);function F(y,w){1&y&&f._UZ(0,"app-insurance-overview")}function T(y,w){1&y&&f._UZ(0,"app-fup-batch-update")}let t=(()=>{class y{constructor(M,S,e,N,B){this.route=M,this.enumDataService=S,this.roleService=e,this.misDataService=N,this.backOfficeService=B}ngOnDestroy(){this.misDataService.setFilterChanged(),this.backOfficeService.setTeamMember("")}ngOnInit(){this.route.queryParams.subscribe(M=>{M.Tab&&(this.selected=M.Tab?M.Tab:0)})}}return y.\u0275fac=function(M){return new(M||y)(f.Y36(C.gz),f.Y36(L.p),f.Y36(E.N),f.Y36(I.G),f.Y36(v.z))},y.\u0275cmp=f.Xpm({type:y,selectors:[["app-insurance-utility"]],decls:7,vars:1,consts:[["id","ui-settingsHeaders",1,"bg-white","fade-in"],[1,"bg-white"],["mat-align-tabs","","animationDuration","0ms","id","ui-settings-subs",1,"bg-white","mt-60",3,"selectedIndex","selectedIndexChange"],["label","Overview"],["matTabContent",""],["label","FUP Batch Update"]],template:function(M,S){1&M&&(f.TgZ(0,"div",0)(1,"div",1)(2,"mat-tab-group",2),f.NdJ("selectedIndexChange",function(N){return S.selected=N}),f.TgZ(3,"mat-tab",3),f.YNc(4,F,1,0,"ng-template",4),f.qZA(),f.TgZ(5,"mat-tab",5),f.YNc(6,T,1,0,"ng-template",4),f.qZA()()()()),2&M&&(f.xp6(2),f.Q6J("selectedIndex",S.selected))},dependencies:[O.SP,O.uX,O.Vc,x.U,A.S]}),y})()},55011:(K,Z,l)=>{l.r(Z),l.d(Z,{InsuranceUtilityModule:()=>O});var E=l(36895),L=l(84942),v=l(14528),f=l(24006),C=l(49028),I=l(94650);let O=(()=>{class x{}return x.\u0275fac=function(F){return new(F||x)},x.\u0275mod=I.oAB({type:x}),x.\u0275inj=I.cJS({imports:[E.ez,L.w,v.q,f.UX,f.u5,C.Q,C.Q]}),x})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.