1"use strict";(self.webpackChunkmyplanner=self.webpackChunkmyplanner||[]).push([[3442],{39102:(U,D,d)=>{d.d(D,{X:()=>A});var b=d(34793),t=d(48749),x=d(94650);const g=[{path:"",component:t.K}];let A=(()=>{class f{}return f.\u0275fac=function(p){return new(p||f)},f.\u0275mod=x.oAB({type:f}),f.\u0275inj=x.cJS({imports:[b.Bz.forChild(g),b.Bz]}),f})()},48749:(U,D,d)=>{d.d(D,{K:()=>hl});var b=d(15861),t=d(94650),x=d(67241),g=d(65730),A=d(28914),f=d(93584),I=d(96308),p=d(53626),S=d(41074),y=d(99283),T=d(68238),L=d(73470),P=d(2594),q=d(97740),E=d(56289),F=d(8819),M=d(4938),Y=d(88211),B=d(87530),W=d(95224),O=d(73799),k=d(46254),V=d(3478),G=d(70661),K=d(48453),w=d(36895),H=d(65938),j=d(69443),$=d(23767),z=d(48242),X=d(99650),tt=d(86562),Q=d(34793),et=d(27011),at=d(4859),nt=d(56709),N=d(28255),ot=d(51572),lt=d(47873),it=d(81638),st=d(21112);const rt=["tableEl"],ct=["tableEl2"],ut=["lifeInsurance"],dt=["generalInsurance"],Z=function(a){return{"bg-grey lt":a}};function pt(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"li",56),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(2);return c.showFamilyWiseDataFlag=!1,c.getInsuranceTypeData(1,s.id),c.selectedInsuranceName=s.name,t.KtG(c.getCapabilityListTypeWise(1))}),t.TgZ(1,"div")(2,"div",57)(3,"div",58),t._uU(4),t.qZA(),t.TgZ(5,"div",59),t._uU(6),t.qZA()()()()}if(2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngClass",t.VKq(3,Z,e.id==n.insuranceSubTypeId)),t.xp6(4),t.Oqu(e.name),t.xp6(2),t.hij(" ",e.count?e.count:"0"," ")}}function _t(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"ul",50)(1,"li",51)(2,"div",52),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return l.showFamilyWiseDataFlag=!1,l.getInsuranceData(1),l.selectedInsuranceName="LIFE INSURANCE",t.KtG(l.getCapabilityListTypeWise(1))}),t.TgZ(3,"div",53),t._uU(4,"LIFE INSURANCE"),t.qZA(),t.TgZ(5,"div",54),t._uU(6),t.qZA()()(),t.YNc(7,pt,7,5,"li",55),t.qZA()}if(2&a){const e=t.oxw();
1t.xp6(1),t.Q6J("ngClass",t.VKq(3,Z,e.lifeInsuranceFlag)),t.xp6(5),t.hij(" ",e.lifeInsuranceCount?e.lifeInsuranceCount:"0",""),t.xp6(1),t.Q6J("ngForOf",e.lifeInsuranceList)}}function mt(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"li",64),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(2);return c.showFamilyWiseDataFlag=!1,c.getInsuranceTypeData(2,s.id),c.selectedInsuranceName=s.name,t.KtG(c.getCapabilityListTypeWise(2))}),t.TgZ(1,"div",57)(2,"div",65),t._uU(3),t.qZA(),t.TgZ(4,"div",66),t._uU(5),t.qZA()()()}if(2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngClass",t.VKq(3,Z,e.id==n.insuranceSubTypeId)),t.xp6(3),t.Oqu(e.name),t.xp6(2),t.hij(" ",e.count?e.count:"0"," ")}}const gt=function(a){return{"b-t pt-12 mt-12":a}};function ft(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"ul",60)(1,"li",51)(2,"div",52),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return l.showFamilyWiseDataFlag=!1,l.getInsuranceTypeData(2,0),l.selectedInsuranceName="GENERAL INSURANCE",t.KtG(l.getCapabilityListTypeWise(2))}),t.TgZ(3,"div",61),t._uU(4,"GENERAL INSURANCE"),t.qZA(),t.TgZ(5,"div",62),t._uU(6),t.qZA()()(),t.YNc(7,mt,6,5,"li",63),t.qZA()}if(2&a){const e=t.oxw();t.Q6J("ngClass",t.VKq(4,gt,e.showLifeInsurance)),t.xp6(1),t.Q6J("ngClass",t.VKq(6,Z,e.generalInsuranceFlag)),t.xp6(5),t.hij(" ",e.generalInsuranceCount?e.generalInsuranceCount:"0"," "),t.xp6(1),t.Q6J("ngForOf",e.generalLifeInsuranceList)}}function ht(a,o){1&a&&t._UZ(0,"mat-spinner",79),2&a&&t.Q6J("diameter",30)}function xt(a,o){if(1&a&&(t.TgZ(0,"a",80),t._UZ(1,"img",81),t.qZA()),2&a){t.oxw();const e=t.MAs(6);t.Q6J("matMenuTriggerFor",e)}}function Tt(a,o){1&a&&t._UZ(0,"mat-spinner",79),2&a&&t.Q6J("diameter",30)}function It(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",72),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.filterInsurance(1==l.insuranceTypeId?"status":"statusId","Lapsed"))}),t._uU(1," STATUS - LAPSED "),t.qZA()}if(2&a){const e=t.oxw(2);t.Q6J("disabled",1==e.showFamilyWiseDataFlag)}}function Dt(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",72),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.filterInsurance(1==l.insuranceTypeId?"status":"statusId","Reduced paid up"))}),t._uU(1," STATUS - REDUCED PAID UP "),t.qZA()}if(2&a){const e=t.oxw(2);t.Q6J("disabled",1==e.showFamilyWiseDataFlag)}}function bt(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",72),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.filterInsurance(1==l.insuranceTypeId?"status":"statusId","Fully paid up"))}),t._uU(1," STATUS - FULLY PAID UP "),t.qZA()}if(2&a){const e=t.oxw(2);t.Q6J("disabled",1==e.showFamilyWiseDataFlag)}}function yt(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",82),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.openAddInsurance(null))}),t._uU(1," ADD NEW "),t.qZA()}}function wt(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",67)(1,"div")(2,"div",68),t.YNc(3,ht,1,1,"mat-spinner",69),t.qZA(),t.YNc(4,xt,2,1,"a",70),t.TgZ(5,"mat-menu",null,71)(7,"button",72),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return t.KtG(l.generatePdf("Insurance"))}),t._uU(8,"PDF"),t.qZA(),t.TgZ(9,"button",73),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return t.KtG(1==l.insuranceTypeId||2==l.insuranceTypeId?l.Excel(l.showInsurance,"XLS"):null)}),t._uU(10,"XLS"),t.qZA(),t.TgZ(11,"button",73),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return t.KtG(1==l.insuranceTypeId||2==l.insuranceTypeId?l.Excel(l.showInsurance,"XLSX"):null)}),t._uU(12,"XLSX"),t.qZA()(),t.YNc(13,Tt,1,1,"mat-spinner",69),t.qZA(),t.TgZ(14,"button",74),t._UZ(15,"img",75),t._uU(16,"FILTERS"),t.qZA(),t.TgZ(17,"mat-menu",null,76)(19,"button",73),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return t.KtG(l.filterInsurance(1==l.insuranceTypeId?"status":"statusId","ALL"))}),t._uU(20," STATUS - ALL "),t.qZA(),t.TgZ(21,"button",72),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return t.KtG(l.filterInsurance(1==l.insuranceTypeId?"status":"statusId","LIVE"))}),t._uU(22," STATUS - LIVE "),t.qZA(),t.TgZ(23,"button",72),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return t.KtG(1==l.insuranceTypeId?l.filterInsurance("status","MATURED"):l.filterInsurance("statusId","EXPIRED"))}),t._uU(24),t.qZA(),t.YNc(25,It,2,1,"button",77),t.YNc(26,Dt,2,1,"button",77),t.YNc(27,bt,2,1,"button",77),t.qZA(),t.YNc(28,yt,2,0,"button",78),t.qZA()}if(2&a){const e=t.MAs(18),n=t.oxw();
1t.xp6(3),t.Q6J("ngIf",1==n.isLoadingUpload),t.xp6(1),t.Q6J("ngIf",!n.fragmentData.isSpinner&&n.insuranceCapabilityList.Download),t.xp6(3),t.Q6J("disabled",n.enumDataService.Vapt),t.xp6(6),t.Q6J("ngIf",n.fragmentData.isSpinner),t.xp6(1),t.Q6J("matMenuTriggerFor",e),t.xp6(7),t.Q6J("disabled",1==n.showFamilyWiseDataFlag),t.xp6(2),t.Q6J("disabled",1==n.showFamilyWiseDataFlag),t.xp6(1),t.hij(" ",1==n.insuranceTypeId?"STATUS - MATURED":"STATUS - EXPIRED"," "),t.xp6(1),t.Q6J("ngIf",1==n.insuranceTypeId),t.xp6(1),t.Q6J("ngIf",1==n.insuranceTypeId),t.xp6(1),t.Q6J("ngIf",1==n.insuranceTypeId),t.xp6(1),t.Q6J("ngIf",n.showAdd&&n.insuranceCapabilityList.Add)}}function vt(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",83)(1,"mat-checkbox",84),t.NdJ("change",function(l){t.CHM(e);const s=t.oxw();return t.KtG(s.showFamilyWiseData(l))}),t.TgZ(2,"span",85),t._uU(3," View Family member wise data "),t.qZA()()()}if(2&a){const e=t.oxw();t.xp6(1),t.Q6J("checked",e.showFamilyWiseDataFlag)("disabled",e.isDisabled)}}const r=function(a,o){return{"background-color":a,color:o}};function At(a,o){if(1&a&&(t.TgZ(0,"th",148),t._uU(1," No."),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))}}const u=function(a){return{color:a}};function St(a,o){if(1&a&&(t.TgZ(0,"td",149)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.index,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",n.isLoading?"":e+1," ")}}function Zt(a,o){if(1&a&&t._UZ(0,"td",151),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}const v=function(a){return{bl:a}};function Ct(a,o){if(1&a&&(t.TgZ(0,"th",152),t._uU(1," Life assured "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("ngClass",t.VKq(6,v,1==e.showFamilyWiseDataFlag))("disabled",1==e.showFamilyWiseDataFlag)}}function Lt(a,o){if(1&a&&(t.TgZ(0,"td",153)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowText))("ngClass",t.VKq(5,v,1==n.showFamilyWiseDataFlag)),t.xp6(2),t.hij(" ",e.lifeAssuredName," ")}}function Pt(a,o){if(1&a&&t._UZ(0,"td",154),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))("ngClass",t.VKq(5,v,1==e.showFamilyWiseDataFlag))}}function Nt(a,o){if(1&a&&(t.TgZ(0,"th",155),t._uU(1," Policy name "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function Ut(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",e.policyName," ")}}function Qt(a,o){if(1&a&&(t.TgZ(0,"td",157),t._uU(1," Grand Total "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Jt(a,o){if(1&a&&(t.TgZ(0,"td",158)(1,"div",150)(2,"span",159),t._uU(3),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(4,r,null==n.colorData?null:n.colorData.bgTotalRow,null==n.colorData?null:n.colorData.colorTotalRow)),t.uIk("colspan",2),t.xp6(3),t.AsE("",e.schemeName," (",e.memberName,") ")}}function Rt(a,o){if(1&a&&(t.TgZ(0,"th",160),t._uU(1," Sum assured "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function qt(a,o){if(1&a&&(t.TgZ(0,"td",161)(1,"div",150),t._uU(2),t.TgZ(3,"span",162),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.Oqu(n.isLoading?"":"\u20b9 "),t.xp6(2),t.Oqu(e.sumAssured)}}function Et(a,o){if(1&a&&(t.TgZ(0,"td",163)(1,"div"),t._uU(2),t._UZ(3,"span",164),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow)),t.xp6(2),t.Oqu(!e.isLoading&&e.totalSumAssuredLifeIns?"\u20b9 ":""),t.xp6(1),t.Q6J("value",e.totalSumAssuredLifeIns?e.totalSumAssuredLifeIns:"-")}}function Ft(a,o){if(1&a&&(t.TgZ(0,"td",165)(1,"div",166),t._uU(2),t.TgZ(3,"span",167),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(4,r,null==n.colorData?null:n.colorData.bgTotalRow,null==n.colorData?null:n.colorData.colorTotalRow)),t.xp6(2),t.Oqu(n.isLoading?" ":"\u20b9 "),t.xp6(1),t.Q6J("value",e.subtotalSumAssured),t.xp6(1),t.Oqu(e.subtotalSumAssured)}}function Mt(a,o){if(1&a&&(t.TgZ(0,"th",168),t._uU(1," Current value "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function Yt(a,o){if(1&a&&t._UZ(0,"span",164),2&a){const e=t.oxw().$implicit;t.Q6J("value",e.vestedBonus?e.vestedBonus:e.currentValue?e.currentValue:"-")}}function Bt(a,o){if(1&a&&(t.TgZ(0,"td",161)(1,"div",150),t._uU(2),t.YNc(3,Yt,1,1,"span",169),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",n.isLoading||0==e.currentValue&&0==e.vestedBonus?"":"\u20b9 "," "),t.xp6(1),t.Q6J("ngIf",!n.isLoading)}}function Wt(a,o){if(1&a&&(t.TgZ(0,"td",163)(1,"div"),t._uU(2),t._UZ(3,"span",164),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow)),t.xp6(2),t.Oqu(e.isLoading?" ":0!=e.totalCurrentValue?"\u20b9 ":""),t.xp6(1),t.Q6J("value",e.totalCurrentValue?e.totalCurrentValue:"-")}}function Ot(a,o){if(1&a&&(t.TgZ(0,"td",165)(1,"div",166),t._uU(2),t.TgZ(3,"span",167),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(4,r,null==n.colorData?null:n.colorData.bgTotalRow,null==n.colorData?null:n.colorData.colorTotalRow)),t.xp6(2),t.Oqu(n.isLoading?" ":"\u20b9 "),t.xp6(1),t.Q6J("value",e.subtotalCurrentValue),t.xp6(1),t.Oqu(e.subtotalCurrentValue)}}function kt(a,o){if(1&a&&(t.TgZ(0,"th",170),t._uU(1," Premium "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function Vt(a,o){if(1&a&&(t.TgZ(0,"td",161)(1,"div",150),t._uU(2),t.TgZ(3,"span",162),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.Oqu(n.isLoading?"":"\u20b9 "),t.xp6(2),t.Oqu(e.premiumAmount)}}function Gt(a,o){if(1&a&&(t.TgZ(0,"td",163)(1,"div"),t._uU(2),t._UZ(3,"span",164),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow)),t.xp6(2),t.Oqu(!e.isLoading&&e.totalPremiunAmountLifeIns?"\u20b9 ":""),t.xp6(1),t.Q6J("value",e.totalPremiunAmountLifeIns?e.totalPremiunAmountLifeIns:"-")}}function Kt(a,o){if(1&a&&(t.TgZ(0,"td",165)(1,"div",166),t._uU(2),t.TgZ(3,"span",167),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(4,r,null==n.colorData?null:n.colorData.bgTotalRow,null==n.colorData?null:n.colorData.colorTotalRow)),t.xp6(2),t.Oqu(n.isLoading?" ":"\u20b9 "),t.xp6(1),t.Q6J("value",e.subtotalPremium),t.xp6(1),t.Oqu(e.subtotalPremium)}}function Ht(a,o){if(1&a&&(t.TgZ(0,"th",171),t._uU(1," Payment frequency "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function jt(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",1==e.frequency?"Yearly":2==e.frequency?"Half Yearly":4==e.frequency?"Quarterly":12==e.frequency?"Monthly":5==e.frequency?"Single premium":""," ")}}function $t(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function zt(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"
1span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Xt(a,o){if(1&a&&(t.TgZ(0,"th",174),t._uU(1," PPT "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function te(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij("",e.premiumPayingTerm," ")}}function ee(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function ae(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function ne(a,o){if(1&a&&(t.TgZ(0,"th",175),t._uU(1," PT "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function oe(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",e.policyTenure," ")}}function le(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function ie(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function se(a,o){if(1&a&&(t.TgZ(0,"th",176),t._uU(1," Duration remaining "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function re(a,o){if(1&a&&(t.TgZ(0,"span",179),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ","MATURED"==e.status?"-":e.durationRemaining?e.durationRemaining:"-"," ")}}function ce(a,o){if(1&a&&(t.TgZ(0,"td",177)(1,"div",150),t.YNc(2,re,2,1,"span",178),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorTableRowText)),t.xp6(2),t.Q6J("ngIf",!e.isLoading)}}function ue(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function de(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function pe(a,o){if(1&a&&(t.TgZ(0,"th",180),t._uU(1," Plan type "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function _e(a,o){if(1&a&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",1==e.insuranceSubTypeId?"Term":2==e.insuranceSubTypeId?"Traditional":3==e.insuranceSubTypeId?"ULIP":"-"," ")}}function me(a,o){1&a&&(t.TgZ(0,"div",150),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.Oqu(""))}function ge(a,o){if(1&a&&(t.TgZ(0,"td",156),t.YNc(1,_e,2,1,"div",23),t.YNc(2,me,2,1,"div",181),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==e.colorData?null:e.colorData.colorTableRowText)),t.xp6(1),t.Q6J("ngIf",!e.isLoading),t.xp6(1),t.Q6J("ngIf",e.isLoading)}}function fe(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function he(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"
1span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function xe(a,o){if(1&a&&(t.TgZ(0,"th",182),t._uU(1," Policy number "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function Te(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",e.policyNumber," ")}}function Ie(a,o){if(1&a&&t._UZ(0,"td",183),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function De(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function be(a,o){if(1&a&&(t.TgZ(0,"th",184),t._uU(1," Status "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function ye(a,o){1&a&&(t.TgZ(0,"span",191),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","LIVE"," "))}function we(a,o){1&a&&(t.TgZ(0,"span",192),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","MATURED"," "))}function ve(a,o){1&a&&(t.TgZ(0,"span",193),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","LAPSED"," "))}function Ae(a,o){1&a&&(t.TgZ(0,"span",194),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","REDUCE PAID UP"," "))}function Se(a,o){1&a&&(t.TgZ(0,"span",195),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","FULLY PAID UP"," "))}function Ze(a,o){if(1&a&&(t.TgZ(0,"td",185)(1,"div",150),t.YNc(2,ye,2,1,"span",186),t.YNc(3,we,2,1,"span",187),t.YNc(4,ve,2,1,"span",188),t.YNc(5,Ae,2,1,"span",189),t.YNc(6,Se,2,1,"span",190),t.qZA()()),2&a){const e=o.$implicit;t.xp6(2),t.Q6J("ngIf","LIVE"==e.status),t.xp6(1),t.Q6J("ngIf","MATURED"==e.status),t.xp6(1),t.Q6J("ngIf","Lapsed"==e.status),t.xp6(1),t.Q6J("ngIf","Reduced paid up"==e.status),t.xp6(1),t.Q6J("ngIf","Fully paid up"==e.status)}}function Ce(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Le(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Pe(a,o){if(1&a&&t._UZ(0,"th",196),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))}}function Ne(a,o){1&a&&t._UZ(0,"img",203)}function Ue(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(e);const l=t.oxw().$implicit,s=t.oxw(2);return t.KtG(s.openAddInsurance(l))}),t._uU(1,"Edit"),t.qZA()}}function Qe(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(e);const l=t.oxw().$implicit,s=t.oxw(2);return t.KtG(s.deleteModal("INSURANCE",l))}),t._uU(1,"Delete"),t.qZA()}}function Je(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"td",197),t.YNc(1,Ne,1,0,"img",198),t.TgZ(2,"mat-menu",null,199),t.YNc(4,Ue,2,0,"button",200),t.TgZ(5,"button",73),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(2);return t.KtG(c.open(s))}),t._uU(6,"Detailed view"),t.qZA(),t.TgZ(7,"button",201),t._uU(8,"Upload file "),t.TgZ(9,"input",202),t.NdJ("change",function(l){const c=t.CHM(e).$implicit,i=t.oxw(2);return t.KtG(i.fetchData("Life Insurance",l,c))}),t.qZA()(),t.YNc(10,Qe,2,0,"button",200),t.qZA()()}if(2&a){const e=t.MAs(3),n=t.oxw(2);t.Q6J("matMenuTriggerFor",e),t.xp6(1),t.Q6J("ngIf",!n.isLoading),t.xp6(3),t.Q6J("ngIf",n.insuranceCapabilityList.Edit),t.xp6(3),t.Q6J("disabled",n.enumDataService.Vapt),t.xp6(3),t.Q6J("ngIf",n.insuranceCapabilityList.Delete)}}function Re(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function qe(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"
1span",159),t.qZA()()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ee(a,o){1&a&&t._UZ(0,"tr",204)}function Fe(a,o){1&a&&t._UZ(0,"tr",205)}function Me(a,o){1&a&&t._UZ(0,"tr",205)}function Ye(a,o){if(1&a&&t._UZ(0,"tr",206),2&a){const e=t.oxw(2);t.Q6J("hidden",e.isLoading)}}function Be(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"table",86,87),t.NdJ("matSortChange",function(l){t.CHM(e);const s=t.oxw();return t.KtG(s.matSortChange(l))}),t.ynx(2,88),t.YNc(3,At,2,4,"th",89),t.YNc(4,St,3,4,"td",90),t.YNc(5,Zt,1,4,"td",91),t.BQk(),t.ynx(6,92),t.YNc(7,Ct,2,8,"th",93),t.YNc(8,Lt,3,7,"td",94),t.YNc(9,Pt,1,7,"td",95),t.BQk(),t.ynx(10,96),t.YNc(11,Nt,2,5,"th",97),t.YNc(12,Ut,3,4,"td",98),t.YNc(13,Qt,2,4,"td",99),t.BQk(),t.ynx(14,100),t.YNc(15,Jt,4,7,"td",101),t.BQk(),t.ynx(16,102),t.YNc(17,Rt,2,5,"th",103),t.YNc(18,qt,5,5,"td",104),t.YNc(19,Et,4,6,"td",105),t.BQk(),t.ynx(20,106),t.YNc(21,Ft,5,7,"td",107),t.BQk(),t.ynx(22,108),t.YNc(23,Mt,2,5,"th",109),t.YNc(24,Bt,4,5,"td",104),t.YNc(25,Wt,4,6,"td",105),t.BQk(),t.ynx(26,110),t.YNc(27,Ot,5,7,"td",107),t.BQk(),t.ynx(28,111),t.YNc(29,kt,2,5,"th",112),t.YNc(30,Vt,5,5,"td",104),t.YNc(31,Gt,4,6,"td",105),t.BQk(),t.ynx(32,113),t.YNc(33,Kt,5,7,"td",107),t.BQk(),t.ynx(34,114),t.YNc(35,Ht,2,5,"th",115),t.YNc(36,jt,3,4,"td",98),t.YNc(37,$t,1,4,"td",116),t.BQk(),t.ynx(38,117),t.YNc(39,zt,3,4,"td",118),t.BQk(),t.ynx(40,119),t.YNc(41,Xt,2,5,"th",120),t.YNc(42,te,3,4,"td",98),t.YNc(43,ee,1,4,"td",116),t.BQk(),t.ynx(44,121),t.YNc(45,ae,3,4,"td",118),t.BQk(),t.ynx(46,122),t.YNc(47,ne,2,5,"th",123),t.YNc(48,oe,3,4,"td",98),t.YNc(49,le,1,4,"td",116),t.BQk(),t.ynx(50,124),t.YNc(51,ie,3,4,"td",118),t.BQk(),t.ynx(52,125),t.YNc(53,se,2,5,"th",126),t.YNc(54,ce,3,4,"td",127),t.YNc(55,ue,1,4,"td",116),t.BQk(),t.ynx(56,128),t.YNc(57,de,3,4,"td",118),t.BQk(),t.ynx(58,129),t.YNc(59,pe,2,5,"th",130),t.YNc(60,ge,3,5,"td",98),t.YNc(61,fe,1,4,"td",116),t.BQk(),t.ynx(62,131),t.YNc(63,he,3,4,"td",118),t.BQk(),t.ynx(64,132),t.YNc(65,xe,2,5,"th",133),t.YNc(66,Te,3,4,"td",98),t.YNc(67,Ie,1,4,"td",134),t.BQk(),t.ynx(68,135),t.YNc(69,De,3,4,"td",118),t.BQk(),t.ynx(70,136),t.YNc(71,be,2,5,"th",137),t.YNc(72,Ze,7,5,"td",138),t.YNc(73,Ce,1,4,"td",116),t.BQk(),t.ynx(74,139),t.YNc(75,Le,3,4,"td",118),t.BQk(),t.ynx(76,140),t.YNc(77,Pe,1,4,"th",141),t.YNc(78,Je,11,5,"td",142),t.YNc(79,Re,1,4,"td",116),t.BQk(),t.ynx(80,143),t.YNc(81,qe,3,4,"td",118),t.BQk(),t.YNc(82,Ee,1,0,"tr",144),t.YNc(83,Fe,1,0,"tr",145),t.YNc(84,Me,1,0,"tr",146),t.YNc(85,Ye,1,1,"tr",147),t.qZA()}if(2&a){const e=t.oxw();t.Q6J("appSkeletonLoading",e.isLoading)("dataSource",e.dataSource),t.xp6(82),t.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumnsTotal)("matRowDefWhen",e.isTotal),t.xp6(1),t.Q6J("matFooterRowDef",e.displayedColumns)}}function We(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",82),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.openAddInsurance(null))}),t._uU(1,"ADD NEW "),t.qZA()}}function Oe(a,o){if(1&a&&(t.TgZ(0,"div",207),t._UZ(1,"img",208),t.TgZ(2,"h4",209),t._uU(3,"No data found"),t.qZA(),t.YNc(4,We,2,0,"button",78),t.qZA()),2&a){const e=t.oxw();
1t.xp6(4),t.Q6J("ngIf",e.insuranceCapabilityList.Add)}}function ke(a,o){if(1&a&&(t.TgZ(0,"th",148),t._uU(1," No."),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))}}function Ve(a,o){if(1&a&&(t.TgZ(0,"td",149)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.index,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",n.isLoading?"":e+1," ")}}function Ge(a,o){if(1&a&&t._UZ(0,"td",151),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ke(a,o){if(1&a&&(t.TgZ(0,"th",238),t._uU(1),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(4,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("ngClass",t.VKq(7,v,1==e.showFamilyWiseDataFlag))("disabled",1==e.showFamilyWiseDataFlag),t.xp6(1),t.hij(" ",e.showPolicyHolder,"")}}function He(a,o){if(1&a&&(t.TgZ(0,"td",153)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowText))("ngClass",t.VKq(5,v,1==n.showFamilyWiseDataFlag)),t.xp6(2),t.hij(" ",n.isLoading?"":e.displayHolderName," ")}}function je(a,o){if(1&a&&t._UZ(0,"td",154),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))("ngClass",t.VKq(5,v,1==e.showFamilyWiseDataFlag))}}function $e(a,o){if(1&a&&(t.TgZ(0,"th",239),t._uU(1),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(3,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag),t.xp6(1),t.hij(" ",7==e.insuranceSubTypeId?"Name of insurer":"Plan & insurer's name"," ")}}function ze(a,o){if(1&a&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(3);t.xp6(1),t.hij(" ",7==n.insuranceSubTypeId?e.insurerName:e.planName?e.insurerName+" - "+e.planName:e.insurerName," ")}}function Xe(a,o){1&a&&(t.TgZ(0,"div",150),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.Oqu(""))}function ta(a,o){if(1&a&&(t.TgZ(0,"td",156),t.YNc(1,ze,2,1,"div",23),t.YNc(2,Xe,2,1,"div",181),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.VKq(3,u,null==e.colorData?null:e.colorData.colorTableRowText)),t.xp6(1),t.Q6J("ngIf",!e.isLoading),t.xp6(1),t.Q6J("ngIf",e.isLoading)}}function ea(a,o){if(1&a&&(t.TgZ(0,"td",183),t._uU(1," Grand Total "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function aa(a,o){if(1&a&&(t.TgZ(0,"td",158)(1,"div",150)(2,"span",159),t._uU(3),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.WLB(4,r,null==n.colorData?null:n.colorData.bgTotalRow,null==n.colorData?null:n.colorData.colorTotalRow)),t.uIk("colspan",2),t.xp6(3),t.AsE("",e.schemeName," (",e.memberName,") ")}}function na(a,o){if(1&a&&(t.TgZ(0,"th",240),t._uU(1),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(4,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag),t.xp6(1),t.AsE(" Sum insured",8==e.insuranceSubTypeId?" (USD)":"","",4==e.insuranceSubTypeId?" (IDV)":""," ")}}function oa(a,o){if(1&a&&(t.TgZ(0,"td",161)(1,"div",150),t._uU(2),t.TgZ(3,"span",162),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.Oqu(n.isLoading||8==n.insuranceSubTypeId?"":"\u20b9 "),t.xp6(2),t.Oqu(e.sumAssured)}}function la(a,o){if(1&a&&(t.TgZ(0,"td",163)(1,"div"),t._uU(2),t._UZ(3,"span",164),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(3,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow)),t.xp6(2),t.Oqu(e.isLoading||8==e.insuranceSubTypeId?"":"\u20b9 "),t.xp6(1),t.Q6J("value",e.totalSumAssured)}}function ia(a,o){if(1&a&&(t.TgZ(0,"td",165)(1,"div",166),t._uU(2),t.TgZ(3,"span",167),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.WLB(4,r,null==n.colorData?null:n.colorData.bgTotalRow,null==n.colorData?null:n.colorData.colorTotalRow)),t.xp6(2),t.hij("",n.isLoading?" ":"\u20b9 "," "),t.xp6(1),t.Q6J("value",e.subtotalSumAssured),t.xp6(1),t.Oqu(e.subtotalSumAssured)}}function sa(a,o){if(1&a&&(t.TgZ(0,"th",170),t._uU(1," Premium "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function ra(a,o){if(1&a&&(t.TgZ(0,"td",161)(1,"div",150),t._uU(2),t.TgZ(3,"span",162),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.Oqu(n.isLoading?"":"\u20b9 "),t.xp6(2),t.Oqu(e.premiumAmount)}}function ca(a,o){if(1&a&&(t.TgZ(0,"td",163)(1,"div"),t._uU(2),t._UZ(3,"span",164),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(3,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow)),t.xp6(2),t.Oqu(e.isLoading?" ":"\u20b9 "),t.xp6(1),t.Q6J("value",e.totalPremiunAmount)}}function ua(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",166),t._uU(2),t.TgZ(3,"span",167),t._uU(4),t.qZA()()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.WLB(4,r,null==n.colorData?null:n.colorData.bgTotalRow,null==n.colorData?null:n.colorData.colorTotalRow)),t.xp6(2),t.Oqu(n.isLoading?" ":"\u20b9 "),t.xp6(1),t.Q6J("value",e.subtotalPremium),t.xp6(1),t.Oqu(e.subtotalPremium)}}function da(a,o){if(1&a&&(t.TgZ(0,"th",241),t._uU(1," Expiry date "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function pa(a,o){if(1&a&&(t.TgZ(0,"td",242)(1,"div",150),t._uU(2),t.ALo(3,"date"),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(5,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",t.xi3(3,2,e.policyExpiryDate,"dd/MM/yyyy")," ")}}function _a(a,o){if(1&a&&t._UZ(0,"td",243),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function ma(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"
1span",159),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function ga(a,o){if(1&a&&(t.TgZ(0,"th",244),t._uU(1," Duration remaining "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function fa(a,o){if(1&a&&(t.TgZ(0,"span",179),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit;t.xp6(1),t.Oqu("EXPIRED"==e.statusId?"-":e.durationRemaining?e.durationRemaining:"-")}}function ha(a,o){if(1&a&&(t.TgZ(0,"td",242)(1,"div",150),t.YNc(2,fa,2,1,"span",178),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorTableRowText)),t.xp6(2),t.Q6J("ngIf",!e.isLoading)}}function xa(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ta(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ia(a,o){if(1&a&&(t.TgZ(0,"th",245),t._uU(1),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(4,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag),t.xp6(1),t.AsE(" ",e.showType,"",8==e.insuranceSubTypeId?" & Geography":""," ")}}function Da(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(4,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.lnq(" ",5==e.insuranceSubTypeId?0==e.policyFeatureId?"Standard, ":1==e.policyFeatureId?"Top up, ":2==e.policyFeatureId?"Super top up, ":"":"","",e.policyType?e.policyType:e.planName,"",8==n.insuranceSubTypeId&&e.geographyId?1==e.geographyId?" - Worldwide":2==e.geographyId?" - Worldwide excluding USA & Canada":3==e.geographyId?" - Asia":"":""," ")}}function ba(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function ya(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function wa(a,o){if(1&a&&(t.TgZ(0,"th",246),t._uU(1," Policy number "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function va(a,o){if(1&a&&(t.TgZ(0,"td",242)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",e.policyNumber," ")}}function Aa(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Sa(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Za(a,o){if(1&a&&(t.TgZ(0,"th",247),t._uU(1," Vehicle model "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function Ca(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",n.isLoading?"":e.vehicleModel?e.vehicleModel:"-"," ")}}function La(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Pa(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"
1span",159),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Na(a,o){if(1&a&&(t.TgZ(0,"th",248),t._uU(1," Description "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function Ua(a,o){if(1&a&&(t.TgZ(0,"td",156)(1,"div",150),t._uU(2),t.qZA()()),2&a){const e=o.$implicit,n=t.oxw(3);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowText)),t.xp6(2),t.hij(" ",e.description?e.description:"-"," ")}}function Qa(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ja(a,o){if(1&a&&(t.TgZ(0,"th",184),t._uU(1," Status "),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(2,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))("disabled",1==e.showFamilyWiseDataFlag)}}function Ra(a,o){1&a&&(t.TgZ(0,"span",191),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","LIVE"," "))}function qa(a,o){1&a&&(t.TgZ(0,"span",193),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","EXPIRED"," "))}function Ea(a,o){if(1&a&&(t.TgZ(0,"td",249)(1,"div",150),t.YNc(2,Ra,2,1,"span",186),t.YNc(3,qa,2,1,"span",188),t.qZA()()),2&a){const e=o.$implicit;t.xp6(2),t.Q6J("ngIf","LIVE"==e.statusId),t.xp6(1),t.Q6J("ngIf","EXPIRED"==e.statusId)}}function Fa(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ma(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ya(a,o){if(1&a&&t._UZ(0,"th",196),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgColor,null==e.colorData?null:e.colorData.colorText))}}function Ba(a,o){1&a&&t._UZ(0,"img",203)}function Wa(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(e);const l=t.oxw().$implicit,s=t.oxw(3);return t.KtG(s.openAddInsurance(l))}),t._uU(1,"Edit"),t.qZA()}}function Oa(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(e);const l=t.oxw().$implicit,s=t.oxw(3);return t.KtG(s.deleteModal("INSURANCE",l))}),t._uU(1,"Delete"),t.qZA()}}function ka(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"td",250),t.YNc(1,Ba,1,0,"img",198),t.TgZ(2,"mat-menu",null,199),t.YNc(4,Wa,2,0,"button",200),t.TgZ(5,"button",73),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(3);return t.KtG(c.open(s))}),t._uU(6,"Detailed view"),t.qZA(),t.TgZ(7,"button",201),t._uU(8,"Upload file "),t.TgZ(9,"input",202),t.NdJ("change",function(l){const c=t.CHM(e).$implicit,i=t.oxw(3);return t.KtG(i.fetchData("General Insurance",l,c))}),t.qZA()(),t.YNc(10,Oa,2,0,"button",200),t.qZA()()}if(2&a){const e=t.MAs(3),n=t.oxw(3);t.Q6J("matMenuTriggerFor",e),t.xp6(1),t.Q6J("ngIf",!n.isLoading),t.xp6(3),t.Q6J("ngIf",n.insuranceCapabilityList.Edit),t.xp6(3),t.Q6J("disabled",n.enumDataService.Vapt),t.xp6(3),t.Q6J("ngIf",n.insuranceCapabilityList.Delete)}}function Va(a,o){if(1&a&&t._UZ(0,"td",172),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ga(a,o){if(1&a&&(t.TgZ(0,"td",173)(1,"div",150),t._UZ(2,"span",159),t.qZA()()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRow,null==e.colorData?null:e.colorData.colorTotalRow))}}function Ka(a,o){1&a&&t._UZ(0,"tr",204)}function Ha(a,o){1&a&&t._UZ(0,"tr",205)}function ja(a,o){1&a&&t._UZ(0,"tr",205)}function $a(a,o){if(1&a&&t._UZ(0,"tr",206),2&a){const e=t.oxw(3);t.Q6J("hidden",e.isLoading)}}function za(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"table",86,211),t.NdJ("matSortChange",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.sortedData())}),t.ynx(2,88),t.YNc(3,ke,2,4,"th",89),t.YNc(4,Ve,3,4,"td",90),t.YNc(5,Ge,1,4,"td",91),t.BQk(),t.ynx(6,92),t.YNc(7,Ke,2,9,"th",212),t.YNc(8,He,3,7,"td",94),t.YNc(9,je,1,7,"td",213),t.BQk(),t.ynx(10,214),t.YNc(11,$e,2,6,"th",215),t.YNc(12,ta,3,5,"td",98),t.YNc(13,ea,2,4,"td",134),t.BQk(),t.ynx(14,216),t.YNc(15,aa,4,7,"td",101),t.BQk(),t.ynx(16,217),t.YNc(17,na,2,7,"th",218),t.YNc(18,oa,5,5,"td",104),t.YNc(19,la,4,6,"td",105),t.BQk(),t.ynx(20,219),t.YNc(21,ia,5,7,"td",107),t.BQk(),t.ynx(22,220),t.YNc(23,sa,2,5,"th",112),t.YNc(24,ra,5,5,"td",104),t.YNc(25,ca,4,6,"td",105),t.BQk(),t.ynx(26,221),t.YNc(27,ua,5,7,"td",118),t.BQk(),t.ynx(28,222),t.YNc(29,da,2,5,"th",223),t.YNc(30,pa,4,7,"td",224),t.YNc(31,_a,1,4,"td",225),t.BQk(),t.ynx(32,117),t.YNc(33,ma,3,4,"td",118),t.BQk(),t.ynx(34,226),t.YNc(35,ga,2,5,"th",227),t.YNc(36,ha,3,4,"td",224),t.YNc(37,xa,1,4,"td",116),t.BQk(),t.ynx(38,121),t.YNc(39,Ta,3,4,"td",118),t.BQk(),t.ynx(4
10,228),t.YNc(41,Ia,2,7,"th",229),t.YNc(42,Da,3,6,"td",98),t.YNc(43,ba,1,4,"td",116),t.BQk(),t.ynx(44,124),t.YNc(45,ya,3,4,"td",118),t.BQk(),t.ynx(46,230),t.YNc(47,wa,2,5,"th",231),t.YNc(48,va,3,4,"td",224),t.YNc(49,Aa,1,4,"td",116),t.BQk(),t.ynx(50,128),t.YNc(51,Sa,3,4,"td",118),t.BQk(),t.ynx(52,232),t.YNc(53,Za,2,5,"th",233),t.YNc(54,Ca,3,4,"td",98),t.YNc(55,La,1,4,"td",116),t.BQk(),t.ynx(56,131),t.YNc(57,Pa,3,4,"td",118),t.BQk(),t.ynx(58,234),t.YNc(59,Na,2,5,"th",235),t.YNc(60,Ua,3,4,"td",98),t.YNc(61,Qa,1,4,"td",116),t.BQk(),t.ynx(62,136),t.YNc(63,Ja,2,5,"th",137),t.YNc(64,Ea,4,2,"td",236),t.YNc(65,Fa,1,4,"td",116),t.BQk(),t.ynx(66,135),t.YNc(67,Ma,3,4,"td",118),t.BQk(),t.ynx(68,140),t.YNc(69,Ya,1,4,"th",141),t.YNc(70,ka,11,5,"td",237),t.YNc(71,Va,1,4,"td",116),t.BQk(),t.ynx(72,139),t.YNc(73,Ga,3,4,"td",118),t.BQk(),t.YNc(74,Ka,1,0,"tr",144),t.YNc(75,Ha,1,0,"tr",145),t.YNc(76,ja,1,0,"tr",146),t.YNc(77,$a,1,1,"tr",147),t.qZA()}if(2&a){const e=t.oxw(2);t.Q6J("appSkeletonLoading",e.isLoading)("dataSource",e.dataSourceGeneralInsurance),t.xp6(74),t.Q6J("matHeaderRowDef",e.displayedColumns2)("matHeaderRowDefSticky",!0),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns2),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns2Total)("matRowDefWhen",e.isTotal),t.xp6(1),t.Q6J("matFooterRowDef",e.displayedColumns2)}}function Xa(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"button",82),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(3);return t.KtG(l.openAddInsurance(null))}),t._uU(1,"ADD NEW "),t.qZA()}}function tn(a,o){if(1&a&&(t.TgZ(0,"div",207),t._UZ(1,"img",208),t.TgZ(2,"h4",209),t._uU(3,"No data found"),t.qZA(),t.YNc(4,Xa,2,0,"button",78),t.qZA()),2&a){const e=t.oxw(2);t.xp6(4),t.Q6J("ngIf",e.showAdd&&e.insuranceCapabilityList.Add)}}function en(a,o){if(1&a&&(t.TgZ(0,"div",210),t.YNc(1,za,78,8,"table",15),t.YNc(2,tn,5,1,"div",16),t.qZA()),2&a){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.dataSourceGeneralInsurance.data.length>0),t.xp6(1),t.Q6J("ngIf",2==e.insuranceTypeId&&0==e.dataSourceGeneralInsurance.data.length)}}function an(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",253),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",null==e.financialPlan?null:e.financialPlan.reportLogoUrl,t.LSH)}}function nn(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",254),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",e.financialPlan.logoUrl,t.LSH)}}function on(a,o){if(1&a&&(t.TgZ(0,"p",255),t._uU(1),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",null==e.financialPlan?null:e.financialPlan.companyName," ")}}function ln(a,o){if(1&a&&(t.TgZ(0,"tr")(1,"td",251),t.YNc(2,an,2,1,"div",23),t.YNc(3,nn,2,1,"div",23),t.qZA(),t.TgZ(4,"td",24),t.YNc(5,on,2,4,"p",252),t.qZA()()),2&a){const e=t.oxw();t.xp6(2),t.Q6J("ngIf",e.financialPlan&&null!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)),t.xp6(1),t.Q6J("ngIf",e.financialPlan&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=e.financialPlan.logoUrl&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"==e.financialPlan.reportLogoUrl),t.xp6(2),t.Q6J("ngIf",e.financialPlan&&(null==e.financialPlan?null:e.financialPlan.companyName))}}function sn(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",253),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",null==e.financialPlan?null:e.financialPlan.reportLogoUrl,t.LSH)}}function rn(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",254),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",e.financialPlan.logoUrl,t.LSH)}}function cn(a,o){if(1&a&&(t.TgZ(0,"p",255),t._uU(1),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",null==e.financialPlan?null:e.financialPlan.name," ")}}function un(a,o){if(1&a&&(t.TgZ(0,"tr")(1,"td",251),t.YNc(2,sn,2,1,"div",23),t.YNc(3,rn,2,1,"div",23),t.qZA(),t.TgZ(4,"td",24),t.YNc(5,cn,2,4,"p",252),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(2),t.Q6J("ngIf",e.financialPlan&&null!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)),t.xp6(1),t.Q6J("ngIf",e.financialPlan&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=e.financialPlan.logoUrl&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"==e.financialPlan.reportLogoUrl),t.xp6(2),t.Q6J("ngIf",e.financialPlan&&(null==e.financialPlan?null:e.financialPlan.name))}}function dn(a,o){if(1&a&&(t.TgZ(0,"p",256),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",e.advisorTagline," ")}}function pn(a,o){if(1&a&&(t.TgZ(0,"p",256),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(3,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.AsE(" (",e.arnRiaNumber,", ",e.arnRiaType,") ")}}function _n(a,o){if(1&a&&(t.TgZ(0,"p",27),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Email ID: ",null==e.financialPlan?null:e.financialPlan.email," ")}}function mn(a,o){if(1&a&&(t.TgZ(0,"p",27),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Mobile no.: ",null==e.financialPlan?null:e.financialPlan.mobile," ")}}function gn(a,o){if(1&a&&(t.TgZ(0,"span",257),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",null==e.clientDetailsPdf?null:e.clientDetailsPdf.display_name," ")}}function fn(a,o){if(1&a&&(t.TgZ(0,"span",258),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" (",null==e.clientDetailsPdf?null:e.clientDetailsPdf.pan,") ")}}function hn(a,o){if(1&a&&(t.TgZ(0,"p",260),t._uU(1),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Mobile no.: ",null==e.clientDetailsPdf?null:e.clientDetailsPdf.mobile," ")}}function xn(a,o){if(1&a&&(t.TgZ(0,"tr")(1,"td",29),t.YNc(2,hn,2,4,"p",259),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(2),t.Q6J("ngIf",null==e.clientDetailsPdf?null:e.clientDetailsPdf.mobile)}}function Tn(a,o){if(1&a&&(t.TgZ(0,"p",261),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Email ID: ",null==e.clientDetailsPdf?null:e.clientDetailsPdf.email," ")}}function In(a,o){if(1&a&&(t.TgZ(0,"td",269),t._uU(1," No. "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf))}}function Dn(a,o){if(1&a&&(t.TgZ(0,"td",279),t._uU(1),t.qZA()),2&a){const e=t.oxw().index,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e+1,"")}}function bn(a,o){if(1&a&&(t.TgZ(0,"td",280),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e.lifeAssuredName,"")}}function yn(a,o){if(1&a&&(t.TgZ(0,"td",281),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==n.colorData?null:n.colorData.bgTotalRowPdf,null==n.colorData?null:n.colorData.colorTotalRowPdf)),t.xp6(1),t.AsE(" ",e.schemeName," (",e.memberName,")")}}function wn(a,o){if(1&a&&(t.TgZ(0,"td",282),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==n.colorData?null:n.colorData.bgTotalRowPdf,null==n.colorData?null:n.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.subtotalSumAssured?"\u20b9 ":"",""),t.xp6(2),t.Oqu(e.subtotalSumAssured?e.subtotalSumAssured:0)}}function vn(a,o){if(1&a&&(t.TgZ(0,"td",282),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==n.colorData?null:n.colorData.bgTotalRowPdf,null==n.colorData?null:n.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.subtotalCurrentValue?"\u20b9 ":"",""),t.xp6(2),t.Oqu(e.subtotalCurrentValue?e.subtotalCurrentValue:0)}}function An(a,o){if(1&a&&(t.TgZ(0,"td",282),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==n.colorData?null:n.colorData.bgTotalRowPdf,null==n.colorData?null:n.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.subtotalPremium?"\u20b9 ":"",""),t.xp6(2),t.Oqu(e.subtotalPremium?e.subtotalPremium:0)}}function Sn(a,o){if(1&a&&(t.TgZ(0,"td",283),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Zn(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Cn(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Ln(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Pn(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Nn(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Un(a,o){if(1&a&&(t.TgZ(0,"td",280),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e.policyName?e.policyName:"-"," ")}}function Qn(a,o){if(1&a&&(t.TgZ(0,"td",284),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.sumAssured?"\u20b9 ":"",""),t.xp6(2),t.Oqu(e.sumAssured?e.sumAssured:0)}}
1function Jn(a,o){if(1&a&&(t.TgZ(0,"td",284),t._uU(1),t._UZ(2,"span",164),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",n.isLoading||0==e.currentValue&&0==e.vestedBonus?"":"\u20b9 ",""),t.xp6(1),t.Q6J("value",e.vestedBonus?e.vestedBonus:e.currentValue?e.currentValue:"-")}}function Rn(a,o){if(1&a&&(t.TgZ(0,"td",284),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.premiumAmount?"\u20b9 ":"",""),t.xp6(2),t.hij(" ",e.premiumAmount?e.premiumAmount:0,"")}}function qn(a,o){if(1&a&&(t.TgZ(0,"td",284)(1,"span"),t._uU(2),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(2),t.hij(" ",1==e.frequency?"Yearly":2==e.frequency?"Half Yearly":4==e.frequency?"Quarterly":12==e.frequency?"Monthly":5==e.frequency?"Single premium":"","")}}function En(a,o){if(1&a&&(t.TgZ(0,"td",285),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e.premiumPayingTerm?e.premiumPayingTerm:"-","")}}function Fn(a,o){if(1&a&&(t.TgZ(0,"td",285),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e.policyTenure?e.policyTenure:"-","")}}function Mn(a,o){if(1&a&&(t.TgZ(0,"td",286),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ","MATURED"==e.status?"-":e.durationRemaining?e.durationRemaining:"-"," ")}}function Yn(a,o){if(1&a&&(t.TgZ(0,"td",285),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",1==e.insuranceSubTypeId?"Term":2==e.insuranceSubTypeId?"Traditional":3==e.insuranceSubTypeId?"ULIP":"-"," ")}}function Bn(a,o){if(1&a&&(t.TgZ(0,"td",285),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e.policyNumber?e.policyNumber:"-","")}}function Wn(a,o){1&a&&(t.TgZ(0,"span",191),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","LIVE"," "))}function On(a,o){1&a&&(t.TgZ(0,"span",192),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","MATURED"," "))}function kn(a,o){1&a&&(t.TgZ(0,"span",193),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","LAPSED"," "))}function Vn(a,o){1&a&&(t.TgZ(0,"span",194),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","REDUCE PAID UP"," "))}function Gn(a,o){1&a&&(t.TgZ(0,"span",195),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","FULLY PAID UP"," "))}function Kn(a,o){if(1&a&&(t.TgZ(0,"td",285),t.YNc(1,Wn,2,1,"span",186),t.YNc(2,On,2,1,"span",187),t.YNc(3,kn,2,1,"span",188),t.YNc(4,Vn,2,1,"span",189),t.YNc(5,Gn,2,1,"span",190),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(6,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.Q6J("ngIf","LIVE"==e.status),t.xp6(1),t.Q6J("ngIf","MATURED"==e.status),t.xp6(1),t.Q6J("ngIf","Lapsed"==e.status),t.xp6(1),t.Q6J("ngIf","Reduced paid up"==e.status),t.xp6(1),t.Q6J("ngIf","Fully paid up"==e.status)}}function Hn(a,o){if(1&a&&(t.TgZ(0,"tr",270),t.YNc(1,Dn,2,4,"td",271),t.YNc(2,bn,2,4,"td",272),t.YNc(3,yn,2,6,"td",273),t.YNc(4,wn,4,6,"td",274),t.YNc(5,vn,4,6,"td",274),t.YNc(6,An,4,6,"td",274),t.YNc(7,Sn,2,4,"td",275),t.YNc(8,Zn,2,4,"td",274),t.YNc(9,Cn,2,4,"td",274),t.YNc(10,Ln,2,4,"td",274),t.YNc(11,Pn,2,4,"td",274),t.YNc(12,Nn,2,4,"td",274),t.YNc(13,Un,2,4,"td",272),t.YNc(14,Qn,4,5,"td",276),t.YNc(15,Jn,3,5,"td",276),t.YNc(16,Rn,4,5,"td",276),t.YNc(17,qn,3,4,"td",276),t.YNc(18,En,2,4,"td",277),t.YNc(19,Fn,2,4,"td",277),t.YNc(20,Mn,2,4,"td",278),t.YNc(21,Yn,2,4,"td",277),t.YNc(22,Bn,2,4,"td",277),t.YNc(23,Kn,6,8,"td",277),t.qZA()),2&a){const e=o.$implicit,n=t.oxw(2);
1t.xp6(1),t.Q6J("ngIf",0==n.showFamilyWiseDataFlag),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName)}}function jn(a,o){if(1&a&&t._UZ(0,"td",280),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function $n(a,o){if(1&a&&(t.TgZ(0,"tr",287),t.YNc(1,jn,1,4,"td",272),t._UZ(2,"td",288),t.TgZ(3,"td",289),t._uU(4," Grand Total "),t.qZA(),t.TgZ(5,"td",284),t._uU(6),t._UZ(7,"span",164),t.qZA(),t.TgZ(8,"td",284),t._uU(9),t._UZ(10,"span",164),t.qZA(),t.TgZ(11,"td",284),t._uU(12),t._UZ(13,"span",164),t.qZA(),t._UZ(14,"td",284)(15,"td",284)(16,"td",284)(17,"td",284)(18,"td",284)(19,"td",284)(20,"td",284),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",0==e.showFamilyWiseDataFlag),t.xp6(1),t.Q6J("ngStyle",t.WLB(19,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(22,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(25,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!e.isLoading&&e.totalSumAssuredLifeIns?"\u20b9 ":"",""),t.xp6(1),t.Q6J("value",e.totalSumAssuredLifeIns?e.totalSumAssuredLifeIns:"0"),t.xp6(1),t.Q6J("ngStyle",t.WLB(28,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!e.isLoading&&e.totalCurrentValue?"\u20b9 ":"",""),t.xp6(1),t.Q6J("value",e.totalCurrentValue?e.totalCurrentValue:"-"),t.xp6(1),t.Q6J("ngStyle",t.WLB(31,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!e.isLoading&&e.totalPremiunAmountLifeIns?"\u20b9 ":"",""),t.xp6(1),t.Q6J("value",e.totalPremiunAmountLifeIns?e.totalPremiunAmountLifeIns:"-"),t.xp6(1),t.Q6J("ngStyle",t.WLB(34,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(37,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(40,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(43,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(46,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(49,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(52,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function zn(a,o){if(1&a&&(t.TgZ(0,"div")(1,"table",262)(2,"tr",263),t.YNc(3,In,2,4,"td",264),t.TgZ(4,"td",265),t._uU(5," Life assured "),t.qZA(),t.TgZ(6,"td",265),t._uU(7," Policy name "),t.qZA(),t.TgZ(8,"td",266),t._uU(9," Sum assured "),t.qZA(),t.TgZ(10,"td",266),t._uU(11," Current value "),t.qZA(),t.TgZ(12,"td",266),t._uU(13," Premium "),t.qZA(),t.TgZ(14,"td",266),t._uU(15," Payment frequency "),t.qZA(),t.TgZ(16,"td",265),t._uU(17," PPT "),t.qZA(),t.TgZ(18,"td",265),t._uU(19," PT "),t.qZA(),t.TgZ(20,"td",265),t._uU(21," Duration remaining "),t.qZA(),t.TgZ(22,"td",265),t._uU(23," Plan type "),t.qZA(),t.TgZ(24,"td",265),t._uU(25," Policy number "),t.qZA(),t.TgZ(26,"td",265),t._uU(27," Status "),t.qZA()(),t.YNc(28,Hn,24,23,"tr",267),t.YNc(29,$n,21,55,"tr",268),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(3),t.Q6J("ngIf",0==e.showFamilyWiseDataFlag),t.xp6(1),t.Q6J("ngStyle",t.WLB(15,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(18,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(21,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(24,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(27,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(30,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(33,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(36,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(39,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(42,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(45,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(48,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngForOf",e.dataSource.data),t.xp6(1),t.Q6J("ngIf",(null==e.dataSource||null==e.dataSource.data?null:e.dataSource.data.length)>0)}}const J=function(a){return{"account-empty-state":a}};function Xn(a,o){if(1&a&&(t.TgZ(0,"div",290),t._UZ(1,"img",208),t.TgZ(2,"h4",291),t._uU(3,"No data found "),t.qZA()()),2&a){const e=t.oxw();t.Q6J("ngClass",t.VKq(1,J,0==e.dataSource.data.length))}}function to(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",253),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",null==e.financialPlan?null:e.financialPlan.reportLogoUrl,t.LSH)}}function eo(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",254),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",e.financialPlan.logoUrl,t.LSH)}}function ao(a,o){if(1&a&&(t.TgZ(0,"p",255),t._uU(1),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",null==e.financialPlan?null:e.financialPlan.companyName," ")}}function no(a,o){if(1&a&&(t.TgZ(0,"tr")(1,"td",251),t.YNc(2,to,2,1,"div",23),t.YNc(3,eo,2,1,"div",23),t.qZA(),t.TgZ(4,"td",24),t.YNc(5,ao,2,4,"p",252),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(2),t.Q6J("ngIf",e.financialPlan&&null!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)),t.xp6(1),t.Q6J("ngIf",e.financialPlan&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=e.financialPlan.logoUrl&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"==e.financialPlan.reportLogoUrl),t.xp6(2),t.Q6J("ngIf",e.financialPlan&&(null==e.financialPlan?null:e.financialPlan.companyName))}}function oo(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",253),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",null==e.financialPlan?null:e.financialPlan.reportLogoUrl,t.LSH)}}function lo(a,o){if(1&a&&(t.TgZ(0,"div"),t._UZ(1,"img",254),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("src",e.financialPlan.logoUrl,t.LSH)}}function io(a,o){if(1&a&&(t.TgZ(0,"p",255),t._uU(1),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",null==e.financialPlan?null:e.financialPlan.name," ")}}function so(a,o){if(1&a&&(t.TgZ(0,"tr")(1,"td",251),t.YNc(2,oo,2,1,"div",23),t.YNc(3,lo,2,1,"div",23),t.qZA(),t.TgZ(4,"td",24),t.YNc(5,io,2,4,"p",252),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(2),t.Q6J("ngIf",e.financialPlan&&null!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=(null==e.financialPlan?null:e.financialPlan.reportLogoUrl)),t.xp6(1),t.Q6J("ngIf",e.financialPlan&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"!=e.financialPlan.logoUrl&&"https://res.cloudinary.com/futurewise/image/upload/v1566029063/icons_fakfxf.png"==e.financialPlan.reportLogoUrl),t.xp6(2),t.Q6J("ngIf",e.financialPlan&&(null==e.financialPlan?null:e.financialPlan.name))}}function ro(a,o){if(1&a&&(t.TgZ(0,"p",256),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",e.advisorTagline," ")}}function co(a,o){if(1&a&&(t.TgZ(0,"p",256),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(3,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.AsE(" (",e.arnRiaNumber,", ",e.arnRiaType,") ")}}function uo(a,o){if(1&a&&(t.TgZ(0,"p",27),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Email ID: ",null==e.financialPlan?null:e.financialPlan.email," ")}}function po(a,o){if(1&a&&(t.TgZ(0,"p",27),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Mobile no.: ",null==e.financialPlan?null:e.financialPlan.mobile," ")}}function _o(a,o){if(1&a&&(t.TgZ(0,"span",257),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" ",null==e.clientDetailsPdf?null:e.clientDetailsPdf.display_name," ")}}function mo(a,o){if(1&a&&(t.TgZ(0,"span",258),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" (",null==e.clientDetailsPdf?null:e.clientDetailsPdf.pan,") ")}}function go(a,o){if(1&a&&(t.TgZ(0,"p",260),t._uU(1),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Mobile no.: ",null==e.clientDetailsPdf?null:e.clientDetailsPdf.mobile," ")}}function fo(a,o){if(1&a&&(t.TgZ(0,"tr")(1,"td",29),t.YNc(2,go,2,4,"p",259),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(2),t.Q6J("ngIf",null==e.clientDetailsPdf?null:e.clientDetailsPdf.mobile)}}function ho(a,o){if(1&a&&(t.TgZ(0,"p",261),t._uU(1),t.qZA()),2&a){const e=t.oxw();t.Q6J("ngStyle",t.VKq(2,u,null==e.colorData?null:e.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Email ID: ",null==e.clientDetailsPdf?null:e.clientDetailsPdf.email," ")}}function xo(a,o){if(1&a&&(t.TgZ(0,"td",269),t._uU(1," No. "),t.qZA()),2&a){const e=t.oxw(2);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf))}}function To(a,o){if(1&a&&(t.TgZ(0,"td",279),t._uU(1),t.qZA()),2&a){const e=t.oxw().index,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e+1,"")}}function Io(a,o){if(1&a&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&a){const e=o.$implicit,n=t.oxw(2).$implicit;t.xp6(1),t.hij(" ",1==n.insuredMembers.length?e.name:e.name+","," ")}}function Do(a,o){if(1&a&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&a){const e=t.oxw(2).$implicit;t.xp6(1),t.hij(" ",e.policyHolderName," ")}}function bo(a,o){if(1&a&&(t.TgZ(0,"td",280),t.YNc(1,Io,2,1,"span",300),t.YNc(2,Do,2,1,"span",23),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.Q6J("ngForOf",e.insuredMembers),t.xp6(1),t.Q6J("ngIf",0==(null==e.insuredMembers?null:e.insuredMembers.length)&&!n.isLoading)}}function yo(a,o){if(1&a&&(t.TgZ(0,"td",281),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==n.colorData?null:n.colorData.bgTotalRowPdf,null==n.colorData?null:n.colorData.colorTotalRowPdf)),t.xp6(1),t.AsE(" ",e.schemeName," (",e.memberName,") ")}}function wo(a,o){if(1&a&&(t.TgZ(0,"td",282),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==n.colorData?null:n.colorData.bgTotalRowPdf,null==n.colorData?null:n.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.subtotalSumAssured?"\u20b9 ":"",""),t.xp6(2),t.Oqu(e.subtotalSumAssured?e.subtotalSumAssured:0)}}function vo(a,o){if(1&a&&(t.TgZ(0,"td",282),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.WLB(3,r,null==n.colorData?null:n.colorData.bgTotalRowPdf,null==n.colorData?null:n.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.subtotalPremium?"\u20b9 ":"",""),t.xp6(2),t.Oqu(e.subtotalPremium?e.subtotalPremium:0)}}function Ao(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function So(a,o){if(1&a&&(t.TgZ(0,"td",283),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Zo(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Co(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Lo(a,o){if(1&a&&(t.TgZ(0,"td",282),t._UZ(1,"span"),t.qZA()),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Po(a,o){if(1&a&&(t.TgZ(0,"td",280),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",7==n.insuranceSubTypeId?e.insurerName:e.planName?e.insurerName+"-"+e.planName:e.insurerName," ")}}function No(a,o){if(1&a&&(t.TgZ(0,"td",289),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.sumAssured?"\u20b9 ":"",""),t.xp6(2),t.Oqu(e.sumAssured?e.sumAssured:0)}}function Uo(a,o){if(1&a&&(t.TgZ(0,"td",289),t._uU(1),t.TgZ(2,"span",162),t._uU(3),t.qZA()()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",!n.isLoading&&e.premiumAmount?"\u20b9 ":"",""),t.xp6(2),t.hij(" ",e.premiumAmount,"")}}function Qo(a,o){if(1&a&&(t.TgZ(0,"td",301),t._uU(1),t.ALo(2,"date"),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(5,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",t.xi3(2,2,e.policyExpiryDate,"dd/MM/yyyy"),"")}}function Jo(a,o){if(1&a&&(t.TgZ(0,"td",286),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ","EXPIRED"==e.statusId?"-":e.durationRemaining?e.durationRemaining:"-"," ")}}function Ro(a,o){if(1&a&&(t.TgZ(0,"td",285),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(4,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.lnq(" ",5==e.insuranceSubTypeId?0==e.policyFeatureId?"Standard, ":1==e.policyFeatureId?"Top up, ":2==e.policyFeatureId?"Super top up, ":"":"","",e.policyType?e.policyType:e.planName,"",8==n.insuranceSubTypeId&&e.geographyId?1==e.geographyId?" - Worldwide":2==e.geographyId?" - Worldwide excluding USA & Canada":3==e.geographyId?" - Asia":"":"","")}}function qo(a,o){if(1&a&&(t.TgZ(0,"td",285),t._uU(1),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(2,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.hij(" ",e.policyNumber,"")}}function Eo(a,o){1&a&&(t.TgZ(0,"span",191),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","LIVE"," "))}function Fo(a,o){1&a&&(t.TgZ(0,"span",193),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","EXPIRED"," "))}function Mo(a,o){1&a&&(t.TgZ(0,"span",193),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","LAPSED"," "))}function Yo(a,o){1&a&&(t.TgZ(0,"span",194),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","REDUCE PAID UP"," "))}function Bo(a,o){1&a&&(t.TgZ(0,"span",195),t._uU(1),t.qZA()),2&a&&(t.xp6(1),t.hij(" ","FULLY PAID UP"," "))}function Wo(a,o){if(1&a&&(t.TgZ(0,"td",285),t.YNc(1,Eo,2,1,"span",186),t.YNc(2,Fo,2,1,"span",188),t.YNc(3,Mo,2,1,"span",188),t.YNc(4,Yo,2,1,"span",189),t.YNc(5,Bo,2,1,"span",190),t.qZA()),2&a){const e=t.oxw().$implicit,n=t.oxw(2);t.Q6J("ngStyle",t.VKq(6,u,null==n.colorData?null:n.colorData.colorTableRowTextPdf)),t.xp6(1),t.Q6J("ngIf","LIVE"==e.statusId),t.xp6(1),t.Q6J("ngIf","EXPIRED"==e.statusId),t.xp6(1),t.Q6J("ngIf","Lapsed"==e.status),t.xp6(1),t.Q6J("ngIf","Reduced paid up"==e.status),t.xp6(1),t.Q6J("ngIf","Fully paid up"==e.status)}}function Oo(a,o){if(1&a&&(t.TgZ(0,"tr",270),t.YNc(1,To,2,4,"td",294),t.YNc(2,bo,3,5,"td",272),t.YNc(3,yo,2,6,"td",295),t.YNc(4,wo,4,6,"td",296),t.YNc(5,vo,4,6,"td",296),t.YNc(6,Ao,2,4,"td",296),t.YNc(7,So,2,4,"td",297),t.YNc(8,Zo,2,4,"td",296),t.YNc(9,Co,2,4,"td",296),t.YNc(10,Lo,2,4,"td",296),t.YNc(11,Po,2,4,"td",272),t.YNc(12,No,4,5,"td",298),t.YNc(13,Uo,4,5,"td",298),t.YNc(14,Qo,3,7,"td",299),t.YNc(15,Jo,2,4,"td",278),t.YNc(16,Ro,2,6,"td",277),t.YNc(17,qo,2,4,"td",277),t.YNc(18,Wo,6,8,"td",277),t.qZA()),2&a){const e=o.$implicit,n=t.oxw(2);
1t.xp6(1),t.Q6J("ngIf",0==n.showFamilyWiseDataFlag),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"==e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName),t.xp6(1),t.Q6J("ngIf","Sub Total"!=e.schemeName)}}function ko(a,o){if(1&a&&t._UZ(0,"td",279),2&a){const e=t.oxw(3);t.Q6J("ngStyle",t.WLB(1,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Vo(a,o){if(1&a&&(t.TgZ(0,"tr",287),t.YNc(1,ko,1,4,"td",271),t._UZ(2,"td",288),t.TgZ(3,"td",289),t._uU(4," Grand Total "),t.qZA(),t.TgZ(5,"td",284),t._uU(6),t._UZ(7,"span",164),t.qZA(),t.TgZ(8,"td",284),t._uU(9),t._UZ(10,"span",164),t.qZA(),t._UZ(11,"td",284)(12,"td",284)(13,"td",284)(14,"td",284)(15,"td",284),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",0==e.showFamilyWiseDataFlag),t.xp6(1),t.Q6J("ngStyle",t.WLB(14,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(17,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(20,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!e.isLoading&&e.totalSumAssured?"\u20b9 ":"",""),t.xp6(1),t.Q6J("value",e.totalSumAssured),t.xp6(1),t.Q6J("ngStyle",t.WLB(23,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.hij(" ",!e.isLoading&&e.totalPremiunAmount?"\u20b9 ":"",""),t.xp6(1),t.Q6J("value",e.totalPremiunAmount),t.xp6(1),t.Q6J("ngStyle",t.WLB(26,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(29,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(32,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(35,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf)),t.xp6(1),t.Q6J("ngStyle",t.WLB(38,r,null==e.colorData?null:e.colorData.bgTotalRowPdf,null==e.colorData?null:e.colorData.colorTotalRowPdf))}}function Go(a,o){if(1&a&&(t.TgZ(0,"div")(1,"table",262)(2,"tr",292),t.YNc(3,xo,2,4,"td",293),t.TgZ(4,"td",265),t._uU(5),t.qZA(),t.TgZ(6,"td",265),t._uU(7),t.qZA(),t.TgZ(8,"td",266),t._uU(9," Sum insured "),t.qZA(),t.TgZ(10,"td",266),t._uU(11," Premium "),t.qZA(),t.TgZ(12,"td",265),t._uU(13," Policy expiry date "),t.qZA(),t.TgZ(14,"td",265),t._uU(15," Duration remaining "),t.qZA(),t.TgZ(16,"td",265),t._uU(17),t.qZA(),t.TgZ(18,"td",265),t._uU(19," Policy number "),t.qZA(),t.TgZ(20,"td",265),t._uU(21," Status "),t.qZA()(),t.YNc(22,Oo,19,18,"tr",267),t.YNc(23,Vo,16,41,"tr",268),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(3),t.Q6J("ngIf",0==e.showFamilyWiseDataFlag),t.xp6(1),t.Q6J("ngStyle",t.WLB(16,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(1),t.hij(" ",e.showPolicyHolder,""),t.xp6(1),t.Q6J("ngStyle",t.WLB(19,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(1),t.hij(" ",7==e.insuranceSubTypeId?"Name of insurer":"Plan & insurer's name"," "),t.xp6(1),t.Q6J("ngStyle",t.WLB(22,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(25,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(28,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(31,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(34,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(1),t.AsE(" ",e.showType,"",8==e.insuranceSubTypeId?" & Geography":""," "),t.xp6(1),t.Q6J("ngStyle",t.WLB(37,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngStyle",t.WLB(40,r,null==e.colorData?null:e.colorData.bgColorpdf,null==e.colorData?null:e.colorData.colorTextpdf)),t.xp6(2),t.Q6J("ngForOf",e.dataSourceGeneralInsurance.data),t.xp6(1),t.Q6J("ngIf",(null==e.dataSourceGeneralInsurance||null==e.dataSourceGeneralInsurance.data?null:e.dataSourceGeneralInsurance.data.length)>0)}}function Ko(a,o){if(1&a&&(t.TgZ(0,"div",290),t._UZ(1,"img",208),t.TgZ(2,"h4",291),t._uU(3,"No data found "),t.qZA()()),2&a){const e=t.oxw();t.Q6J("ngClass",t.VKq(1,J,0==e.dataSource.data.length))}}const Ho=function(){return["/customer/detail/account/summary"]};function jo(a,o){1&a&&(t.TgZ(0,"div",302)(1,"span",303),t._uU(2," keyboard_backspace "),t.qZA()()),2&a&&t.Q6J("routerLink",t.DdM(1,Ho))}function $o(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",304),t.NdJ("click",function(){t.CHM(e);const l=t.oxw();return l.showDetailView=!1,t.KtG(l.showHeader="15"==l.insureData.assetType?"General insurance":"Life insurance")}),t.TgZ(1,"span",303),t._uU(2," keyboard_backspace "),t.qZA()()}}function zo(a,o){if(1&a&&(t.TgZ(0,"div",305)(1,"div",306)(2,"div",307)(3,"div",308),t._uU(4),t.qZA()(),t.TgZ(5,"div",309)(6,"p",310),t._uU(7,"Sum Assured"),t.qZA(),t.TgZ(8,"h3",311),t._uU(9,"Rs."),t._UZ(10,"span",164),t.qZA()()()()),2&a){const e=t.oxw();
1t.xp6(4),t.Oqu(15==e.insureData.assetType?"GI":"LI"),t.xp6(6),t.Q6J("value",15==e.insureData.assetType?e.generalSumAssured:e.lifeSumAssured)}}function Xo(a,o){1&a&&(t.TgZ(0,"div",312)(1,"div",306)(2,"div",313)(3,"div",314),t._UZ(4,"div",315),t.qZA()(),t.TgZ(5,"div",316)(6,"p",310),t._uU(7,"Current Value"),t.qZA(),t.TgZ(8,"div",317),t._UZ(9,"div",318),t.qZA()()()())}function tl(a,o){1&a&&(t.TgZ(0,"div")(1,"div",319)(2,"div",320)(3,"div",314),t._UZ(4,"div",318),t.qZA()(),t.TgZ(5,"div",321)(6,"div",314),t._UZ(7,"div",318),t.qZA()()(),t.TgZ(8,"div",319)(9,"div",320)(10,"div",314),t._UZ(11,"div",318),t.qZA()(),t.TgZ(12,"div",321)(13,"div",314),t._UZ(14,"div",318),t.qZA()()(),t.TgZ(15,"div",319)(16,"div",320)(17,"div",314),t._UZ(18,"div",318),t.qZA()(),t.TgZ(19,"div",321)(20,"div",314),t._UZ(21,"div",318),t.qZA()()(),t.TgZ(22,"div",319)(23,"div",320)(24,"div",314),t._UZ(25,"div",318),t.qZA()(),t.TgZ(26,"div",321)(27,"div",314),t._UZ(28,"div",318),t.qZA()()(),t.TgZ(29,"div",319)(30,"div",320)(31,"div",314),t._UZ(32,"div",318),t.qZA()(),t.TgZ(33,"div",321)(34,"div",314),t._UZ(35,"div",318),t.qZA()()(),t.TgZ(36,"div",319)(37,"div",320)(38,"div",314),t._UZ(39,"div",318),t.qZA()(),t.TgZ(40,"div",321)(41,"div",314),t._UZ(42,"div",318),t.qZA()()(),t.TgZ(43,"div",319)(44,"div",320)(45,"div",314),t._UZ(46,"div",318),t.qZA()(),t.TgZ(47,"div",321)(48,"div",314),t._UZ(49,"div",318),t.qZA()()()())}function el(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",323),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(3);return c.showDetailView=!0,c.getInsuranceTypeData(2,s.id),c.selectedInsuranceName=s.name,c.getCapabilityListTypeWise(2),t.KtG(c.openSubAsset("",s))}),t.TgZ(1,"div",320)(2,"p",324),t._uU(3),t.qZA()(),t.TgZ(4,"div",325)(5,"p",326),t._uU(6),t._UZ(7,"span",164),t.qZA()()()}if(2&a){const e=o.$implicit;t.Q6J("matRippleCentered",!0),t.xp6(3),t.Oqu(e.name),t.xp6(3),t.Oqu(e.sumAssured?"\u20b9 ":""),t.xp6(1),t.Q6J("value",e.sumAssured?e.sumAssured:"-")}}function al(a,o){if(1&a&&(t.TgZ(0,"div"),t.YNc(1,el,8,4,"div",322),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.generalLifeInsuranceList)}}function nl(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",323),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(3);return c.getInsuranceTypeData(1,s.id),c.selectedInsuranceName=s.name,c.getCapabilityListTypeWise(1),t.KtG(c.openSubAsset("",s))}),t.TgZ(1,"div",320)(2,"p",324),t._uU(3),t.qZA()(),t.TgZ(4,"div",325)(5,"p",326),t._uU(6),t._UZ(7,"span",164),t.qZA()()()}if(2&a){const e=o.$implicit;t.Q6J("matRippleCentered",!0),t.xp6(3),t.Oqu(e.name),t.xp6(3),t.Oqu(e.sumAssured?"\u20b9 ":""),t.xp6(1),t.Q6J("value",e.sumAssured?e.sumAssured:"-")}}function ol(a,o){if(1&a&&(t.TgZ(0,"div"),t.YNc(1,nl,8,4,"div",322),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.lifeInsuranceList)}}function ll(a,o){if(1&a&&(t.TgZ(0,"div"),t.YNc(1,al,2,1,"div",23),t.YNc(2,ol,2,1,"div",23),t.qZA()),2&a){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",15==e.insureData.assetType),t.xp6(1),t.Q6J("ngIf",14==e.insureData.assetType)}}function il(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",331),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(2);return t.KtG(c.open(s))}),t.TgZ(1,"div",332)(2,"div",333)(3,"p",324)(4,"span",162),t._uU(5),t.qZA()()(),t.TgZ(6,"div",334)(7,"p",326),t._uU(8),t.TgZ(9,"span",162),t._uU(10),t.qZA()()(),t.TgZ(11,"div",335),t._UZ(12,"img",336),t.qZA()()()}if(2&a){const e=o.$implicit,n=o.index;t.Q6J("matRippleCentered",!0),t.xp6(5),t.AsE(" ",e.insurerName?e.insurerName:"GI "+(n+1)," ","| "+e.policyNumber," "),t.xp6(3),t.hij("",e.sumInsuredIdv?"\u20b9 ":""," "),t.xp6(2),t.Oqu(e.sumInsuredIdv?e.sumInsuredIdv:"-")}}function sl(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",337)(1,"button",338)(2,"img",339),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.openAddInsurance(null))}),t.qZA()()()}}function rl(a,o){1&a&&(t.TgZ(0,"div",340)(1,"div",341),t._UZ(2,"img",342),t.TgZ(3,"p",343),t._uU(4,"No data found"),t.qZA()()())}function cl(a,o){if(1&a&&(t.TgZ(0,"div")(1,"div",327)(2,"div",49),t.YNc(3,il,13,5,"div",328),t.qZA(),t.YNc(4,sl,3,0,"div",329),t.YNc(5,rl,5,0,"div",330),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(3),t.Q6J("ngForOf",e.dataSourceGeneralInsurance.data),t.xp6(1),t.Q6J("ngIf",e.insuranceCapabilityList.Add),t.xp6(1),t.Q6J("ngIf",!e.dataSourceGeneralInsurance.data)}}function ul(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",331),t.NdJ("click",function(){const s=t.CHM(e).$implicit,c=t.oxw(2);return t.KtG(c.open(s))}),t.TgZ(1,"div",332)(2,"div",344)(3,"p",324)(4,"span",345),t._uU(5),t.qZA()()(),t.TgZ(6,"div",346)(7,"p",347),t._uU(8),t.TgZ(9,"span",162),t._uU(10),t.qZA()()(),t.TgZ(11,"div",348),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.openAddInsurance(null))}),t._UZ(12,"img",349),t.qZA()()()}if(2&a){const e=o.$implicit,n=o.index;t.Q6J("matRippleCentered",!0),t.xp6(5),t.AsE(" ",e.policyName?e.policyName:"LI "+(n+1)," ","| "+e.policyNumber," "),t.xp6(3),t.hij(" ",0!=e.sumAssured||0!=e.vestedBonus?"\u20b9 ":""," "),t.xp6(2),t.Oqu(0!=e.vestedBonus?e.vestedBonus:e.sumAssured)}}function dl(a,o){if(1&a){const e=t.EpF();t.TgZ(0,"div",337)(1,"button",338)(2,"img",339),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2);return t.KtG(l.openAddInsurance(null))}),t.qZA()()()}}function pl(a,o){1&a&&(t.TgZ(0,"div",340)(1,"div",341),t._UZ(2,"img",342),t.TgZ(3,"p",343),t._uU(4,"No data found"),t.qZA()()())}function _l(a,o){if(1&a&&(t.TgZ(0,"div")(1,"div",327)(2,"div",49),t.YNc(3,ul,13,5,"div",328),t.qZA(),t.YNc(4,dl,3,0,"div",329),t.YNc(5,pl,5,0,"div",330),t.qZA()()),2&a){const e=t.oxw();
1t.xp6(3),t.Q6J("ngForOf",e.dataSource.data),t.xp6(1),t.Q6J("ngIf",e.insuranceCapabilityList.Add),t.xp6(1),t.Q6J("ngIf",!e.dataSource.data)}}function ml(a,o){1&a&&(t.TgZ(0,"div")(1,"div",319)(2,"div",320)(3,"div",314),t._UZ(4,"div",318),t.qZA()(),t.TgZ(5,"div",321)(6,"div",314),t._UZ(7,"div",318),t.qZA()()(),t.TgZ(8,"div",319)(9,"div",320)(10,"div",314),t._UZ(11,"div",318),t.qZA()(),t.TgZ(12,"div",321)(13,"div",314),t._UZ(14,"div",318),t.qZA()()(),t.TgZ(15,"div",319)(16,"div",320)(17,"div",314),t._UZ(18,"div",318),t.qZA()(),t.TgZ(19,"div",321)(20,"div",314),t._UZ(21,"div",318),t.qZA()()(),t.TgZ(22,"div",319)(23,"div",320)(24,"div",314),t._UZ(25,"div",318),t.qZA()(),t.TgZ(26,"div",321)(27,"div",314),t._UZ(28,"div",318),t.qZA()()(),t.TgZ(29,"div",319)(30,"div",320)(31,"div",314),t._UZ(32,"div",318),t.qZA()(),t.TgZ(33,"div",321)(34,"div",314),t._UZ(35,"div",318),t.qZA()()(),t.TgZ(36,"div",319)(37,"div",320)(38,"div",314),t._UZ(39,"div",318),t.qZA()(),t.TgZ(40,"div",321)(41,"div",314),t._UZ(42,"div",318),t.qZA()()(),t.TgZ(43,"div",319)(44,"div",320)(45,"div",314),t._UZ(46,"div",318),t.qZA()(),t.TgZ(47,"div",321)(48,"div",314),t._UZ(49,"div",318),t.qZA()()()())}const gl=function(a){return{hide:a}},fl=function(a){return{"table-scroll":a}},R=function(){return{"margin-top":"28px"}};let hl=(()=>{class a{constructor(e,n,l,s,c,i,_,m,h,C,xl,Tl,Il,Dl,bl,yl,wl){this.cd=e,this.eventService=n,this.dialog=l,this.fileUpload=s,this.PdfScan=c,this.subInjectService=i,this.customerService=_,this.utils=m,this.authService=h,this.excelSer=C,this._bottomSheet=xl,this.enumDataService=Tl,this.summaryPlanService=Il,this.insService=Dl,this.route=bl,this.roleService=yl,this.customerOverview=wl,this.bankList=[],this.totalFundValues=0,this.globalArray=[],this.dataLoaded=!1,this.stopLoadingGi=!1,this.countGi=0,this.stopLoadingLi=!1,this.countLi=0,this.loadedData=[],this.countOthers=0,this.displayedColumns=["no","life","name","sum","cvalue","premium","frequency","term","pterm","Duration","desc","number","status","icons"],this.displayedColumnsTotal=["subTotal","subtotalSumAssured","subtotalCurrentValue","subtotalPremium","emptyCell1","emptyCell2","emptyCell3","emptyCell4","emptyCell5","emptyCell6","emptyCell7","emptyCell8"],this.displayedColumns1=["no","owner","cvalue","amt","mvalue","rate","mdate","type","ppf","desc","status","icons"],this.displayedColumns2=["no","life","insurerName","sumInsured","premiumAmount","policyExpiryDate","Duration","planName","policyNumber","status","icons"],this.displayedColumns2Total=["subTotalGeneral","subTotalSumAssured","subTotalPremium","emptyCell1","emptyCell2","emptyCell3","emptyCell4","emptyCell5","emptyCell6"],this.showTabs=!0,this.isLoading=!1,this.data=[{},{},{}],this.dataSource=new p.by(this.data),this.data2=[{},{},{}],this.fragmentData={isSpinner:!1},this.dataSourceGeneralInsurance=new p.by(this.data),this.lifeInsuranceList=[{name:"Term",id:1,count:"",sumAssured:0},{name:"Traditional",id:2,count:"",sumAssured:0},{name:"ULIP",id:3,count:"",sumAssured:0}],this.generalLifeInsuranceList=[{name:"Health",id:5,count:"",sumAssured:0},{name:"Personal accident",id:7,count:"",sumAssured:0},{name:"Critical illness",id:6,count:"",sumAssured:0},{name:"Motor",id:4,count:"",sumAssured:0},{name:"Travel",id:8,count:"",sumAssured:0},{name:"Home",id:9,count:"",sumAssured:0},{name:"Fire & special perils",id:10,count:"",sumAssured:0},{name:"Others",id:11,count:"",sumAssured:0}],this.allInsurance=[{name:"Term",id:1},{name:"Traditional",id:2},{name:"ULIP",id:3},{name:"Health",id:5},{name:"Personal accident",id:7},{name:"Critical illness",id:6},{name:"Motor",id:4},{name:"Travel",id:8},{name:"Home",id:9},{name:"Fire & special perils",id:10},{name:"Others",id:11}],this.sumAssured=0,this.totalSumAssured=0,this.totalPremiunAmount=0,this.totalCurrentValue=0,this.totalPremiunAmountLifeIns=0,this.totalSumAssuredLifeIns=0,this.showType="Plan type",this.showPolicyHolder="Policy holder's name",this.showAdd=!0,this.myFiles=[],this.selectedInsuranceName="LIFE INSURANCE",this.loaded=new t.vpe,this.insuranceCapabilityList={},this.showDetailView=!1,this.PerSumAssured=0,this.OtherSumAssured=0,this.CriSumAssured=0,this.FireSumAssured=0,this.MotorSumAssured=0,this.HomeSumAssured=0,this.TravelSumAssured=0,this.HealthSumAssured=0,this.traditionalSumAssured=0,this.ULIPSumAssured=0,this.TermAssured=0,this.lifeSumAssured=0,this.generalSumAssured=0,this.advisorImg="",this.finalList=[],this.show
1FamilyWiseDataFlag=!1,this.groupedData=[],this.isTotal=(Sl,vl)=>"Sub Total"==vl.schemeName,this.clientData=g.e.getClientData(),this.userInfo=g.e.getUserInfo(),this.getAdvisorDetail=g.e.getAdvisorDetails(),this.details=g.e.getProfileDetails(),this.getOrgData=g.e.getOrgDetails(),this.advisorImg=this.getAdvisorDetail.profilePic}ngOnInit(){this.enumDataService.setBankAccountTypes(),this.summaryPlanService.getRouting().subscribe(e=>{this.insureData=e,15==this.insureData.assetType?(this.showHeader="General Insurance",this.getGeneralInsuranceSubType()):(this.showHeader="Life Insurance",this.getLifeInsuranceSubType()),""==e&&(this.insureData={},this.insureData.assetType=15,this.showHeader="General Insurance",this.getGeneralInsuranceSubType())}),this.lifeInsuranceFlag=!0,this.generalInsuranceFlag=!1,this.getCapabilityListTypeWise(this.roleService.portfolioPermission.subModule.insurance.subModule.lifeInsurance.enabled?1:2),this.checkShowOrHide(),this.reportDate=new Date,this.isExpandedLife=!0,this.isExpandedGeneral=!1,this.advisorId=g.e.getAdvisorId(),this.clientId=g.e.getClientId(),this.personalProfileData=g.e.getProfileDetails(),this.getBankList(this.clientData),this.insuranceTypeId=1,this.insuranceSubTypeId=0,this.insService.getCountData().subscribe(e=>{this.countData="",this.countData=e}),this.insService.getInsData().subscribe(e=>{this.storedData="",this.storedData=e}),this.insService.getdataLoaded().subscribe(e=>{this.loadedId=e}),this.countData?this.getCountRes(this.countData):this.getCount(),this.getGlobalDataInsurance(),this.finPlanObj?this.finPlanLoadingFunction():this.showLifeInsurance?this.getInsuranceData(1):this.getInsuranceTypeData(2,0),this.customerService.getAppearanceSettings().subscribe(e=>{this.customerOverview.appearancePortfolio=e,this.appearancePortfolio=e.find(n=>1==n.appearanceOptionId)}),this.showRequiring="1",this.getAppearancePortfolio(),this.getClientDetails(),this.getAdvisorTagline(),this.familymemberWiseView(),this.getThemeData=g.e.getTheme(),this.colorData=this.authService.getColor(this.getThemeData)}getAppearancePortfolio(){this.customerService.getAppearanceSettings().subscribe(e=>{this.customerOverview.appearancePortfolio=e,this.appearancePortfolio=e.find(n=>1==n.appearanceOptionId)})}getClientDetails(){this.customerService.getClientDetailsPdf().subscribe(e=>{this.clientDetailsPdf=e})}getAdvisorTagline(){this.customerService.getAdvisorTaglinePreference().subscribe(e=>{e.hasOwnProperty("advisorTagLine")&&(this.advisorTagline=e.advisorTagLine.tagline,this.footer=e.footer,this.arnRiaNumber=e.arnRiaNumber,this.arnRiaType=e.arnRiaType),e.hasOwnProperty("portfolio")&&(this.financialPlan=e.portfolio)})}checkShowOrHide(){this.roleService.portfolioPermission.subModule.insurance.subModule.lifeInsurance.enabled&&this.roleService.portfolioPermission.subModule.insurance.subModule.generalInsurance.enabled?(this.showLifeInsurance=!0,this.showGeneralInsurance=!0,this.lifeInsuranceFlag=!0,this.generalInsuranceFlag=!1,this.showInsurance="Life"):this.roleService.portfolioPermission.subModule.insurance.subModule.lifeInsurance.enabled?(this.showLifeInsurance=!0,this.lifeInsuranceFlag=!0,this.generalInsuranceFlag=!1,this.showInsurance="Life"):this.roleService.portfolioPermission.subModule.insurance.subModule.generalInsurance.enabled?this.roleService.portfolioPermission.subModule.insurance.subModule.generalInsurance.enabled?(this.showGeneralInsurance=!0,this.lifeInsuranceFlag=!1,this.generalInsuranceFlag=!0,this.showInsurance="General"):this.roleService.portfolioPermission.subModule.insurance.subModule.generalInsurance.enabled||(this.showGeneralInsurance=!1,this.lifeInsuranceFlag=!0,this.generalInsuranceFlag=!1,this.showInsurance="Life"):(this.showGeneralInsurance=!1,this.lifeInsuranceFlag=!1,this.generalInsuranceFlag=!0,this.showInsurance="General")}finPlanLoadingFunction(){switch(this.finPlanObj.sectionName){case"All life insurances":this.getInsuranceData(1);break;case"Term insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,1,1);break;case"Traditional insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,1,2);break;case"Ulip insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,1,3);break;case"All General insurance":default:this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,0);break;case"Health insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,5);break;case"Personal accident":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,7);break;case"Critical illness":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,6);break;case"Motor insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,4);break;case"Travel insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,8);break;case"Home insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,9);break;case"Fire & special perils":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,10);break;case"Others Insurance":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,11)}}changeExpression(){this.isExpandedLife=!0,this.isExpandedGeneral=!1}changeExpressionGeneral(){this.isExpandedGeneral=!0,this.isExpandedLife=!1}
1showFamilyWiseData(e){switch(1==e.checked?this.showFamilyWiseDataFlag=!0:0==e.checked&&(this.showFamilyWiseDataFlag=!1),this.selectedInsuranceName){case"LIFE INSURANCE":this.getInsuranceData(1);break;case"Term":this.getInsuranceSubTypeData(this.advisorId,this.clientId,1,1);break;case"Traditional":this.getInsuranceSubTypeData(this.advisorId,this.clientId,1,2);break;case"ULIP":this.getInsuranceSubTypeData(this.advisorId,this.clientId,1,3);break;case"GENERAL INSURANCE":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,0);break;case"Health":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,5);break;case"Personal accident":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,7);break;case"Critical illness":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,6);break;case"Motor":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,4);break;case"Travel":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,8);break;case"Home":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,9);break;case"Fire & special perils":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,10);break;case"Others":this.getInsuranceSubTypeData(this.advisorId,this.clientId,2,11)}}familymemberWiseView(){this.customerService.getFamilyMemberListForCasMapping({clientId:this.clientId}).subscribe(n=>{n&&n.length>1&&(this.familyMemberList=n,this.finalList.fmWiseAssetList=this.customerService.groupByFamilyMembers(this.familyMemberList,this.lifeInsuranceData,"lifeInsurance",this.showRequiring))})}matSortChange(e){"asc"==e.direction||"desc"==e.direction?this.isDisabled=!0:""==e.direction&&(this.isDisabled=!1)}fetchData(e,n,l){var s=this;return(0,b.Z)(function*(){let c;1==s.insuranceTypeId?(c=l.familyMemberIdLifeAssured,l.isClient=l.familyMemberIdLifeAssured==s.clientId?2:3):l.insuredMembers&&l.insuredMembers.length>0?(c=l.insuredMembers[0].familyMemberId,l.isClient=l.insuredMembers[0].familyMemberId==s.clientId?2:3):(c=l.policyHolderId,l.isClient=l.policyHolderId==s.clientId?2:3),s.isLoadingUpload=!0;let i={advisorId:s.advisorId,clientId:s.clientId,familyMemberId:c==s.clientId?0:c,asset:e,element:l};const _=n.target;if(_.files&&0!==_.files.length){s.myFiles=[];for(let m=0;m<_.files.length;m++){const h=_.files[m],C=yield s.PdfScan.validatePdf(h);C.valid?s.myFiles.push(h):(s.isLoadingUpload=!1,s.eventService.openSnackBar(`Invalid PDF: ${C.reason}`))}0!==s.myFiles.length&&(s._bottomSheet.open(k.y,{data:s.myFiles}),s.fileUploadData=s.fileUpload.fetchFileUploadData(i,s.myFiles),setTimeout(()=>{s.isLoadingUpload=!1},7e3))}})()}getGeneralInsuranceSubType(){let e={advisorId:g.e.getAdvisorId(),clientId:g.e.getClientId()};this.customerService.getGeneralInsuranceSubType(e).subscribe(n=>{this.isLoading=!0,this.generalLifeInsuranceList.forEach(l=>{"Health"==l.name&&(l.sumAssured=n.HealthInsurance.sumAssured),"Personal accident"==l.name&&(l.sumAssured=n.PersonalAccident.sumAssured),"Critical illness"==l.name&&(l.sumAssured=n.CriticalIllness.sumAssured),"Motor"==l.name&&(l.sumAssured=n.MotorInsurance.sumAssured),"Travel"==l.name&&(l.sumAssured=n.TravelInsurance.sumAssured),"Home"==l.name&&(l.sumAssured=n.HomeInsurance.sumAssured),"Others"==l.name&&(l.sumAssured=n.Others.sumAssured),"Fire & special perils"==l.name&&(l.sumAssured=n.FireAndSpecialPerilsInsurance.sumAssured),this.generalSumAssured+=l.sumAssured}),this.isLoading=!1}),this.isLoading=!1}getLifeInsuranceSubType(){this.isLoading=!0;let e={advisorId:g.e.getAdvisorId(),clientId:g.e.getClientId()};this.customerService.getLifeInsuranceSubType(e).subscribe(n=>{this.isLoading=!0,this.lifeInsuranceList.forEach(l=>{"Term"==l.name&&(l.sumAssured=n.Term.sumAssured),"ULIP"==l.name&&(l.sumAssured=n.ULIP.sumAssured),"Traditional"==l.name&&(l.sumAssured=n.Traditional.sumAssured),this.lifeSumAssured+=l.sumAssured}),this.isLoading=!1}),this.isLoading=!1}getBankList(e){this.customerService.getBankList([{userId:e.clientId,userType:e.userType}]).subscribe(l=>{l&&l.length>0&&(this.bankList=l)},l=>{this.bankList=[]})}getCount(){this.customerService.getInsuranceCount({advisorId:this.advisorId,clientId:this.clientId}).subscribe(n=>{this.getCountRes(n)},n=>this.eventService.showErrorMessage(n))}getCountRes(e){e&&(this.lifeInsuranceCount=e.LifeInsurance,this.generalInsuranceCount=e.GeneralInsurance,this.lifeInsuranceList[0].count=e.Term,this.lifeInsuranceList[1].count=e.Traditional,this.lifeInsuranceList[2].count=e.ULIP,this.generalLifeInsuranceList[0].count=e.HealthInsurance,this.generalLifeInsuranceList[1].count=e.PersonalAccident,this.generalLifeInsuranceList[2].count=e.CriticalIllness,this.generalLifeInsuranceList[3].count=e.MotorInsurance,this.generalLifeInsuranceList[4].count=e.TravelInsurance,this.generalLifeInsuranceList[5].count=e.HomeInsurance,this.generalLifeInsuranceList[6].count=e.FireAndSpecialPerilsInsurance,this.generalLifeInsuranceList[7].count=e.Others,this.insService.setCountData(e))}getInsuranceSubTypeData(e,n,l,s){2==l&&0==s&&this.countGi++,this.allInsurance.forEach(i=>
1{i.id==s?this.showInsurance=i.name:2==l&&0==s?this.showInsurance="General":1==l&&0==s&&(this.showInsurance="Life")}),null==this.isAdded&&(this.isLoading=!0);const c={advisorId:e,clientId:n,insuranceSubTypeId:s,insuranceTypeId:l,id:this.insuranceId?this.insuranceId:0};this.finPlanObj&&(this.dataLoaded=!0),11===s?(delete c.insuranceTypeId,0==this.countOthers?(this.dataSourceGeneralInsurance=new p.by([{},{},{}]),this.customerService.getOtherInsurance(c).subscribe(i=>{this.countOthers++,i=this.filterOtherData(i),this.checkAndPush(i),this.insuranceId?(this.loadApiAndData=this.loadAndGetData(s,"generalInsurance"),this.getGeneralInsuranceDataRes(this.loadApiAndData)):this.getGeneralInsuranceDataRes(i)},i=>{this.isLoading=!1,this.eventService.showErrorMessage(i),this.dataSourceGeneralInsurance.data=[]})):(this.loadApiAndData=this.loadAndGetData(s,"generalInsurance"),this.loadApiAndData.dataLoaded?(null==this.isAdded&&(this.dataSourceGeneralInsurance=new p.by([{},{},{}])),this.customerService.getOtherInsurance(c).subscribe(i=>{this.countOthers++,i=this.filterOtherData(i),this.checkAndPush(i),this.insuranceId?(this.loadApiAndData=this.loadAndGetData(s,"generalInsurance"),this.getGeneralInsuranceDataRes(this.loadApiAndData)):this.getGeneralInsuranceDataRes(i)},i=>{this.isLoading=!1,this.eventService.showErrorMessage(i),this.dataSourceGeneralInsurance.data=[]})):this.getGeneralInsuranceDataRes(this.loadApiAndData))):1===l?(this.loadApiAndData=this.loadAndGetData(s,"lifeInsurance"),this.loadApiAndData.dataLoaded?(null==this.isAdded&&(this.dataSource=new p.by([{},{},{}])),this.customerService.getLifeInsuranceData(c).subscribe(i=>{this.checkAndPush(i),this.insuranceId?(this.loadApiAndData=this.loadAndGetData(s,"lifeInsurance"),this.getInsuranceDataResponse(this.loadApiAndData)):this.getInsuranceDataResponse(i)},i=>{this.isLoading=!1,this.eventService.showErrorMessage(i),this.dataSource.data=[]})):this.getInsuranceDataResponse(this.loadApiAndData)):(delete c.insuranceTypeId,this.loadApiAndData=this.loadAndGetData(s,"generalInsurance"),2==l&&0==s&&(this.loadApiAndData.generalInsuranceList=this.loadApiAndData.generalInsuranceList.filter(i=>11!==i.insuranceSubTypeId)),this.loadApiAndData.dataLoaded?(null==this.isAdded&&(this.dataSourceGeneralInsurance=new p.by([{},{},{}])),this.customerService.getGeneralInsuranceData(c).subscribe(i=>{this.checkAndPush(i),this.insuranceId?(this.loadApiAndData=this.loadAndGetData(s,"generalInsurance"),this.getGeneralInsuranceDataRes(this.loadApiAndData)):this.getGeneralInsuranceDataRes(i)},i=>{this.isLoading=!1,this.eventService.showErrorMessage(i),this.dataSourceGeneralInsurance.data=[]})):this.getGeneralInsuranceDataRes(this.loadApiAndData))}filterOtherData(e){return e?e.otherInsuranceList.forEach(l=>{l.insuranceSubTypeId=11,l.sumAssured=0,l.premiumAmount=l.premium,l.policyStartDate=l.startDate,l.policyExpiryDate=l.expiryDate,l.sumInsuredIdv=l.sumAssuredIdv,l.durationRemaining=this.calDiffe(l.policyExpiryDate,new Date),l.exclusion=l.specialCondition,l.hypothetication=l.financierName,l.linkedBankAccount=l.linkedBankAccountId,l.bankAccount=l.linkedBankAccountId,l.insuredMembers=this.filteInsuredMember(l.otherInsuranceInsuredMembers),l.addOns=this.filteOtherInsuranceAddCovers(l.otherInsuranceAddCovers),l.policyFeatures=this.filteOtherInsuranceFeatureList(l.otherInsuranceFeatureList),l.insuredMembers.forEach(s=>{l.sumAssured+=s.sumInsured?s.sumInsured:0}),l.nominees&&l.nominees.length>0&&l.nominees.forEach(s=>{s.relationName=s.relationship})}):e=[],e}calDiffe(e,n){const l=new Date(e-n);return this.year(l)}year(e){var n=Math.floor(e/31536e6),l=Math.floor(e%31536e6/2628e6),s=Math.floor(e%31536e6%2628e6/864e5);return(0!=n?n+"Y ":"")+(0!=l?l+"M ":"")+(0!=s?Math.floor(s)+"D":"")}filterOtherInsuranceSingleData(e){return e&&(e.insuranceSubTypeId=11,e.sumAssured=0,e.premiumAmount=e.premium,e.policyStartDate=e.startDate,e.policyExpiryDate=e.expiryDate,e.durationRemaining=this.calDiffe(e.policyExpiryDate,new Date),e.exclusion=e.specialCondition,e.hypothetication=e.financierName,e.linkedBankAccount=e.linkedBankAccountId,e.bankAccount=e.linkedBankAccountId,e.sumInsuredIdv=e.sumAssuredIdv,e.insuredMembers=this.filteInsuredMember(e.otherInsuranceInsuredMembers),e.addOns=this.filteOtherInsuranceAddCovers(e.otherInsuranceAddCovers),e.policyFeatures=this.filteOtherInsuranceFeatureList(e.otherInsuranceFeatureList),e.insuredMembers.forEac
1h(n=>{e.sumAssured+=n.sumInsured?n.sumInsured:0}),e.nominees&&e.nominees.length>0&&e.nominees.forEach(n=>{n.relationName=n.relationship})),e}filteInsuredMember(e){return e.forEach(n=>{n.familyMemberId=n.insuredMemberId,n.sumInsured=n.share,n.generalInsuranceId=n.otherInsuranceId}),e}filteOtherInsuranceAddCovers(e){return e.forEach(n=>{n.generalInsuranceId=n.otherInsuranceId,n.addOnId=n.addOns,n.addOnSumInsured=n.sumInsured}),e}filteOtherInsuranceFeatureList(e){return e.forEach(n=>{n.generalInsuranceId=n.otherInsuranceId,n.policyFeatureId=n.feature,n.featureSumInsured=n.sumInsured}),e}checkAndPush(e){if(e&&null==this.isAdded){let n=e?e.otherInsuranceList?e.otherInsuranceList:e.insuranceList?e.insuranceList:e.generalInsuranceList:e.insuranceList;e.otherInsuranceList||(n=n.filter(l=>1===l.realOrFictitious)),n=[...new Map(n.map(l=>[l.id,l])).values()],this.storedData?(this.storedData.push(n),this.storedData=this.storedData.flat(),this.storedData=[...new Map(this.storedData.map(l=>[l.id,l])).values()],this.insService.setInsData(this.storedData)):(this.globalArray.push(n),this.globalArray=this.globalArray.flat(),this.insService.setInsData(this.globalArray))}else if(this.isAdded)""==this.storedData&&(this.storedData=[]),this.storedData.push(e?e.otherInsuranceList?e.otherInsuranceList:e.insuranceList?e.insuranceList:e.generalInsuranceList:e.insuranceList),this.storedData=this.storedData.flat(),this.storedData=[...new Map(this.storedData.map(l=>[l.id,l])).values()],this.insService.setInsData(this.storedData);else if(0==this.isAdded){let n=e?e.otherInsuranceList?e.otherInsuranceList:e.insuranceList?e.insuranceList:e.generalInsuranceList:e.insuranceList;this.storedData=this.storedData.filter(l=>l.id!=this.insuranceId),this.storedData.push(n),this.storedData=this.storedData.flat(),this.storedData=[...new Map(this.storedData.map(l=>[l.id,l])).values()],this.insService.setInsData(this.storedData)}this.loadedData.push({id:this.insuranceSubTypeId}),this.loadedData=[...new Map(this.loadedData.map(n=>[n.id,n])).values()],this.insService.setdataLoaded(this.loadedData),this.isAdded=null}filterInsurance(e,n){let l;1==this.insuranceTypeId?(l="ALL"==n?this.lifeInsuranceFilter:this.lifeInsuranceFilter.filter(function(s){return s[e]===n}),l.length>0?(this.dataSource.data=l,this.dataSource=new p.by(this.dataSource.data),this.totalPremiunAmountLifeIns=0,this.totalSumAssuredLifeIns=0,this.totalCurrentValue=0,this.dataSource.data.forEach(s=>{this.totalFundValues=0,s.ulipFundDetails.length>0&&3==s.insuranceSubTypeId&&s.ulipFundDetails.forEach(c=>{this.totalFundValues+=1==c.fundValueOrNav?c.units*c.nav:c.fundValue,s.currentValue=this.totalFundValues}),"ALL"==n?("MATURED"!=s.status&&(this.totalCurrentValue+=0!=this.totalFundValues?this.totalFundValues:0!=s.vestedBonus?s.vestedBonus:s.currentValue),"MATURED"!=s.status&&"Reduced paid up"!=s.status&&"Fully paid up"!=s.status&&"Lapsed"!=s.status&&(this.totalPremiunAmountLifeIns+=s.premiumAmount*s.frequency),"MATURED"!=s.status&&(this.totalSumAssuredLifeIns+=s.sumAssured?s.sumAssured:0),"MATURED"==s.status&&(s.currentValueDupl=s.currentValue,s.currentValue=0)):("MATURED"==s.status&&(s.currentValue=s.currentValueDupl),this.totalCurrentValue+=0!=this.totalFundValues?this.totalFundValues:0!=s.vestedBonus?s.vestedBonus:s.currentValue,this.totalPremiunAmountLifeIns+=s.premiumAmount*s.frequency,this.totalSumAssuredLifeIns+=s.sumAssured?s.sumAssured:0)})):this.eventService.openSnackBar("No data found","Dismiss")):(l="ALL"==n?this.generalInsuranceDataFilter:this.generalInsuranceDataFilter.filter(function(s){return s[e]===n}),l.length>0?(this.dataSourceGeneralInsurance.data=l,this.dataSourceGeneralInsurance=new p.by(this.dataSourceGeneralInsurance.data),this.dataSourceGeneralInsurance.sort=this.sort,this.totalSumAssured=0,this.totalPremiunAmount=0,this.dataSourceGeneralInsurance.data.forEach(s=>{this.dislayList&&(this.dislayList.policyTypes.forEach(c=>{s.policyTypeId?c.id==s.policyTypeId&&(s.policyType=c.policy_type,this.showType="plan Type"):this.showType="PlanName"}),this.showPolicyHolder=0==s.insuredMembers.length?"Policy holder's name ":"Name of insured members"),this.sumAssured=0,s.insuredMembers.length>
10?(s.insuredMembers.forEach(c=>{this.sumAssured+=c.sumInsured}),s.sumAssured=this.sumAssured):s.policyFeatures.length>0?(s.policyFeatures.forEach(c=>{this.sumAssured+=c.featureSumInsured}),s.sumAssured=this.sumAssured):s.sumAssured=s.sumInsuredIdv,s.addOns&&s.addOns.length>0&&s.addOns.forEach(c=>{s.sumAssured+=c.addOnSumInsured})}),this.dataSourceGeneralInsurance.data.forEach(s=>{this.totalSumAssured+=s.sumAssured,this.totalPremiunAmount+=s.premiumAmount}),this.isLoading=!1):this.eventService.openSnackBar("No data found","Dismiss"))}getInsuranceDataResponse(e){this.isLoading=!1,e?(e.insuranceList.length>0&&(e.insuranceList=e.insuranceList.filter(n=>1===n.realOrFictitious)),this.dataSource.data=e.insuranceList,this.finalList.data=e,this.lifeInsuranceData=e.insuranceList,this.showRequiring="1",this.familymemberWiseView(),1==this.showFamilyWiseDataFlag?(this.dataSource=new p.by(this.finalList.fmWiseAssetList),this.displayedColumns=["life","name","sum","cvalue","premium","frequency","term","pterm","Duration","desc","number","status","icons"]):0==this.showFamilyWiseDataFlag&&(this.dataSource=new p.by(this.dataSource.data),this.displayedColumns=["no","life","name","sum","cvalue","premium","frequency","term","pterm","Duration","desc","number","status","icons"]),this.dataSource.sort=this.sort,this.lifeInsuranceFilter=this.dataSource.data,this.totalPremiunAmountLifeIns=0,this.totalSumAssuredLifeIns=0,this.totalCurrentValue=0,e.insuranceList.forEach(n=>{this.totalFundValues=0,n.ulipFundDetails.length>0&&3==n.insuranceSubTypeId&&n.ulipFundDetails.forEach(l=>{this.totalFundValues+=1==l.fundValueOrNav?l.units*l.nav:l.fundValue,n.currentValue=this.totalFundValues}),"MATURED"!=n.status&&(this.totalCurrentValue+=0!=this.totalFundValues?this.totalFundValues:0!=n.vestedBonus?n.vestedBonus:n.currentValue),"MATURED"!=n.status&&"Reduced paid up"!=n.status&&"Fully paid up"!=n.status&&"Lapsed"!=n.status&&(this.totalPremiunAmountLifeIns+=n.premiumAmount*n.frequency),"MATURED"!=n.status&&(this.totalSumAssuredLifeIns+=n.sumAssured?n.sumAssured:0),"MATURED"==n.status&&(n.currentValueDupl=n.currentValue,n.currentValue=0)})):this.dataSource.data=[],this.cd.detectChanges(),this.cd.markForCheck(),this.loaded.emit(this.lifeInsurance.nativeElement)}getInsuranceData(e){this.countLi++,this.stopLoadingLi=!(this.countLi>1),this.checkShowOrHide(),null==this.isAdded&&(this.isLoading=!0,this.dataSource=new p.by([{},{},{}]),this.dataSourceGeneralInsurance=new p.by([{},{},{}])),this.insuranceTypeId=1,this.insuranceSubTypeId=0,this.showAdd=0!=this.insuranceSubTypeId||2!=this.insuranceTypeId;const n={advisorId:this.advisorId,clientId:this.clientId,insuranceTypeId:e,id:this.insuranceId?this.insuranceId:0};this.loadApiAndData=this.loadAndGetData(0,"lifeInsurance"),this.loadApiAndData.dataLoaded?this.customerService.getInsuranceData(n).subscribe(l=>{this.checkAndPush(l),this.insuranceId?(this.loadApiAndData=this.loadAndGetData(this.insuranceSubTypeId,"lifeInsurance"),this.getInsuranceDataRes(this.loadApiAndData)):this.getInsuranceDataRes(l)},l=>{this.dataSource.data=[]}):this.getInsuranceDataRes(this.loadApiAndData)}loadAndGetData(e,n){let c,l="generalInsurance"==n?"insuranceSubTypeId":0==e?"insuranceTypeId":"insuranceSubTypeId",s=[],i={dataLoaded:!0,insuranceList:s,generalInsuranceList:s};if(this.storedData){let _=this.storedData.flat();_=[...new Map(_.map(m=>[m.id,m])).values()],_=_.filter("lifeInsurance"==n?m=>m.insuranceSubTypeId<=3:m=>m.insuranceSubTypeId>3),_.forEach(m=>{0==e&&"generalInsurance"==n?m[l]>3&&(s.push(m),c=1==this.countGi):0!=e&&"generalInsurance"==n?m[l]==e?(s.push(m),i.dataLoaded=!1,c=!1):this.countGi>=1?c=!1:this.loadedId?this.loadedId.forEach(h=>{h.id==this.insuranceSubTypeId&&(c=!1)}):c=!0:m[l]==e?(s.push(m),i.dataLoaded=!1):c=!1}),0==_.length&&(0==e&&"generalInsurance"==n?c=1==this.countGi:0!=e&&"generalInsurance"==n?this.loadedId?this.loadedId.forEach(m=>{m.id==this.insuranceSubTypeId&&(c=!1)}):c=!(this.countGi>=1):c=!(this.countLi>=1))}else 0==e&&"generalInsurance"==n?c=1==this.countGi:0!=e&&"generalInsurance"==n?this.loadedId?this.loadedId.forEac
1h(_=>{_.id==this.insuranceSubTypeId&&(c=!1)}):c=!(this.countGi>=1):c=!(0!=e||"lifeInsurance"!=n||!this.stopLoadingLi);return i.dataLoaded=!(!s||!this.dataLoaded)||(0==c||1==c?c:!(s.length>0)),this.dataLoaded=!1,i}getStatusId(e){e.forEach(n=>{n.statusId=new Date(n.maturityDate?n.maturityDate:n.policyExpiryDate)<new Date?1==this.insuranceTypeId?"MATURED":"EXPIRED":"LIVE"})}getInsuranceDataRes(e){e?(e.insuranceList.length>0&&(e.insuranceList=e.insuranceList.filter(n=>1===n.realOrFictitious)),this.dataSource.data=e.insuranceList,this.finalList.data=e,this.lifeInsuranceData=e.insuranceList,this.showRequiring="1",this.familymemberWiseView(),1==this.showFamilyWiseDataFlag?(this.dataSource=new p.by(this.finalList.fmWiseAssetList),this.displayedColumns=["life","name","sum","cvalue","premium","frequency","term","pterm","Duration","desc","number","status","icons"]):0==this.showFamilyWiseDataFlag&&(this.dataSource=new p.by(this.dataSource.data),this.displayedColumns=["no","life","name","sum","cvalue","premium","frequency","term","pterm","Duration","desc","number","status","icons"]),this.dataSource.sort=this.sort,this.lifeInsuranceFilter=this.dataSource.data,this.totalCurrentValue=0,this.totalPremiunAmountLifeIns=0,this.totalSumAssuredLifeIns=0,e.insuranceList.forEach(n=>{this.totalFundValues=0,n.ulipFundDetails.length>0&&3==n.insuranceSubTypeId&&n.ulipFundDetails.forEach(l=>{this.totalFundValues+=1==l.fundValueOrNav?l.units*l.nav:l.fundValue,n.currentValue=this.totalFundValues}),"MATURED"!=n.status&&(this.totalCurrentValue+=0!=this.totalFundValues?this.totalFundValues:0!=n.vestedBonus?n.vestedBonus:n.currentValue),"MATURED"!=n.status&&"Reduced paid up"!=n.status&&"Fully paid up"!=n.status&&"Lapsed"!=n.status&&(this.totalPremiunAmountLifeIns+=n.premiumAmount*n.frequency),"MATURED"!=n.status&&(this.totalSumAssuredLifeIns+=n.sumAssured?n.sumAssured:0),"MATURED"==n.status&&(n.currentValueDupl=n.currentValue,n.currentValue=0)}),this.isLoading=!1):(this.isLoading=!1,this.dataSource.data=[]),this.cd.detectChanges(),this.cd.markForCheck(),this.loaded.emit(this.lifeInsurance.nativeElement)}getGeneralInsuranceDataRes(e){e?(this.finalList.data=e.generalInsuranceList?e.generalInsuranceList:e.otherInsuranceList,this.lifeInsuranceData=e.generalInsuranceList?e.generalInsuranceList:e.otherInsuranceList,this.generalInsuranceData=e.generalInsuranceList?e.generalInsuranceList:e.otherInsuranceList,this.showRequiring="2",this.familymemberWiseView(),1==this.showFamilyWiseDataFlag?(this.dataSourceGeneralInsurance.data=this.finalList.fmWiseAssetList,this.displayedColumns2=["life","insurerName","sumInsured","premiumAmount","policyExpiryDate","Duration","planName","policyNumber","status","icons"]):9==this.home?(this.dataSourceGeneralInsurance.data=e.generalInsuranceList?e.generalInsuranceList:e.otherInsuranceList,this.displayedColumns2=["no","life","insurerName","sumInsured","premiumAmount","policyExpiryDate","planName","policyNumber","Description","status","icons"],this.displayedColumns2Total=["subTotalGeneral","subTotalSumAssured","subTotalPremium","emptyCell1","emptyCell2","emptyCell3","emptyCell4","emptyCell5","emptyCell6"]):(this.dataSourceGeneralInsurance.data=e.generalInsuranceList?e.generalInsuranceList:e.otherInsuranceList,this.displayedColumns2=["no","life","insurerName","sumInsured","premiumAmount","policyExpiryDate","Duration","planName","policyNumber","status","icons"]),this.dataSourceGeneralInsurance.data&&(this.dataSourceGeneralInsurance.data&&!e.otherInsuranceList&&(this.dataSourceGeneralInsurance.data=this.dataSourceGeneralInsurance.data.filter(n=>1===n.realOrFictitious||!n.realOrFictitious)),this.generalInsuranceData.forEach(n=>{if(n.insuredMembers&&n.insuredMembers.length>0){if(n.displayHolderName=n.insuredMembers[0].name,n.insuredMembers.length>1)for(let l=1;l<n.insuredMembers.length;l++)if(n.insuredMembers[l].name){const s=n.insuredMembers[l].name.trim().split(" ")[0];n.displayHolderName+=", "+s}}else n.displayHolderName=n.policyHolderName})),this.dataSourceGeneralInsurance.sort=this.sort,this.generalInsuranceDataFilter=this.dataSourceGeneralInsurance.data,this.get
1StatusId(this.dataSourceGeneralInsurance.data),this.totalSumAssured=0,this.totalPremiunAmount=0,this.generalInsuranceData.forEach(n=>{this.dislayList&&(this.dislayList.policyTypes.forEach(l=>{n.policyTypeId?l.id==n.policyTypeId&&(n.policyType=l.policy_type,"Multi-trip Travel Insurance Plan"==n.policyType&&(n.policyType="Multi Trip Travel Insurance Plan"),this.showType="Plan type"):this.showType="Plan name"}),this.showPolicyHolder=0==n.insuredMembers?.length?"Policy holder's name":"Name of insured members",4==this.insuranceSubTypeId&&(n.planName="NA"!=n.policyName?n.policyName:n.planName)),this.sumAssured=0,n.policyFeatures?.length>0?(n.policyFeatures.forEach(l=>{this.sumAssured+=l.featureSumInsured?l.featureSumInsured:0}),0!=this.sumAssured&&(n.sumAssured=this.sumAssured),n.sumAssured||(n.sumAssured=n.sumInsuredIdv?n.sumInsuredIdv:0)):n.sumAssured=n.sumInsuredIdv?n.sumInsuredIdv:n.sumAssured,n.addOns&&!n.sumAssured&&n.addOns.length>0&&n.addOns.forEach(l=>{n.sumAssured+=l.addOnSumInsured})}),this.generalInsuranceData.forEach(n=>{"EXPIRED"!=n.statusId&&n.sumAssured&&(this.totalSumAssured+=n.sumAssured),"EXPIRED"!=n.statusId&&(this.totalPremiunAmount+=n.premiumAmount)}),this.insuranceId=0,this.isLoading=!1):(this.isLoading=!1,this.dataSourceGeneralInsurance.data=[]),this.cd.detectChanges(),this.cd.markForCheck(),this.loaded.emit(this.generalInsurance.nativeElement)}getGlobalDataInsurance(){this.customerService.getInsuranceGlobalData({}).subscribe(n=>{this.dislayList=n})}Excel(e,n){let l=[],s=[],c=[];1==this.insuranceTypeId?this.showFamilyWiseDataFlag?(l=["Life assured","Policy name","Sum assured","Current value","Premium","Payment frequency","PPT","PT","Duration remaining","Plan type","Policy number","Status"],this.dataSource.data.forEach(i=>{s.push([i.schemeName?i.schemeName:i.lifeAssuredName,i.policyName?i.policyName:"",i.sumAssured?i.sumAssured:i.subtotalSumAssured,i.vestedBonus?i.vestedBonus:i.currentValue?i.currentValue:i.subtotalCurrentValue,i.premiumAmount?i.premiumAmount:i.subtotalPremium,1==i.frequency?"Yearly":2==i.frequency?"Half Yearly":4==i.frequency?"Quarterly":12==i.frequency?"Monthly":5==i.frequency?"Single premium":"",i.premiumPayingTerm?i.premiumPayingTerm:"",i.policyTenure?i.policyTenure:i.subtotalAmountOutstandingBalance,"MATURED"==i.status?"":i.durationRemaining?i.durationRemaining:"",1==i.insuranceSubTypeId?"Term":2==i.insuranceSubTypeId?"Traditional":3==i.insuranceSubTypeId?"ULIP":"",i.policyNumber?"string"==typeof i.policyNumber&&/^\d+$/.test(i.policyNumber)?Number(i.policyNumber):i.policyNumber:"",i.schemeName?"":i.status])}),c=["Total","",this.totalSumAssuredLifeIns,this.totalCurrentValue,this.totalPremiunAmountLifeIns,"","","","","","",""]):(l=["No","Life assured","Policy name","Sum assured","Current value","Premium","Payment frequency","PPT","PT","Duration remaining","Plan type","Policy number","Status"],this.dataSource.data.forEach((i,_)=>{s.push([_+1,i.lifeAssuredName,i.policyName?i.policyName:"",i.sumAssured,i.vestedBonus?i.vestedBonus:i.currentValue?i.currentValue:"",i.premiumAmount,1==i.frequency?"Yearly":2==i.frequency?"Half Yearly":4==i.frequency?"Quarterly":12==i.frequency?"Monthly":5==i.frequency?"Single premium":"",i.premiumPayingTerm?i.premiumPayingTerm:"",i.policyTenure,"MATURED"==i.status?"":i.durationRemaining?i.durationRemaining:"",1==i.insuranceSubTypeId?"Term":2==i.insuranceSubTypeId?"Traditional":3==i.insuranceSubTypeId?"ULIP":"",i.policyNumber?"string"==typeof i.policyNumber&&/^\d+$/.test(i.policyNumber)?Number(i.policyNumber):i.policyNumber:"",i.status])}),c=["","Total","",this.totalSumAssuredLifeIns,this.totalCurrentValue,this.totalPremiunAmountLifeIns,"","","","","","",""]):2==this.insuranceTypeId&&(this.showFamilyWiseDataFlag?(l=[this.showPolicyHolder,7==this.insuranceSubTypeId?"Name of insurer":"Plan & insurers name","Sum insured","Premium","Expiry date","Duration remaining",this.showType+(8==this.insuranceSubTypeId?" & Geography":""),"Policy number","Status"],this.dataSourceGeneralInsurance.data.forEach(i=>{s.push([i.schemeName?i.schemeName:i.displayHolderName,7==this.insuranceSubTypeId?i.insurerName:i.planName?i.insurerName+""+i.planName:i.insurerName,i.sumAssured?i.sumAssured:i.subtotalSumAssured,i.premiumAmount?i.premiumAmount:i.subtotalPremium,i.policyExpiryDate?new Date(i.policyExpiryDate):"","EXPIRED"==i.statusId?"":i.durationRemaining?i.durationRemaining:"",5==i.insuranceSubTypeId?0==i.policyFeatureId?"Standard, ":1==i.policyFeatureId?"Top up, ":2==i.policyFeatureId?"Super top up, ":"":(i.policyType?i.policyType:i.planName)+(8==this.insuranceSubTypeId&&i.geographyId?1==i.geographyId?" - Worldwide":2==i.geographyId?" - Worldwide excluding USA & Canada":3==i.geographyId?" - Asia":"":""),i.policyNumber?"string"==typeof i.policyNumber&&/^\d+$/.test(i.policyNumber)?Number(i.policyNumber):i.policyNumber:"",i.schemeName?"":i.statusId?i.statusId:i.status])}),c=["Total","",this.totalSumAssured,this.totalPremiunAmount,"","","","",""]):(l=["No",this.showPolicyHolder,7==this.insuranceSubTypeId?"Name of insurer":"Plan & insurers name","Sum insured","Premium","Expiry date","Duration remaining",this.showType+(8==this.insuranceSubTypeId?" & Geography":""),"Policy number","Status"],this.dataSourceGeneralInsurance.data.forEach((i,_)=>{s.push([_+1,i.displayHolderName,7==this.insuranceSubTypeId?i.insurerName:i.planName?i.insurerName+""+i.planName:i.insurerName,i.sumAssured?i.sumAssured:"",i.premiumAmount,i.policyExpiryDate?new Date(i.policyExpiryDate):"","EXPIRED"==i.statusId?"":i.durationRemaining?i.durationRemaining:"",5==i.insuranceSubTypeId?0==i.policyFeatureId?"Standard, ":1==i.policyFeatureId?"Top up, ":2==i.policyFeatureId?"Super top up, ":"":(i.policyType?i.policyType:i.planName)+(8==this.insuranceSubTypeId&&i.geographyId?1==i.geographyId?" - Worldwide":2==i.geographyId?" - Worldwide excluding USA & Canada":3==i.geographyId?" - Asia":"":""),i.policyNumber?"string"==typeof i.policyNumber&&/^\d+$/.test(i.policyNumber)?Number(i.policyNumber):i.policyNumber:"",i.statusId?i.statusId:i.status])}),c=["","Total","",this.totalSumAssured,this.totalPremiunAmount,"","","","",""])),this.excelDownload(l,s,c,e,n)}excelDownload(e,n,l,s,c){let _={name:s+" insurance",date:"Report as on: "+(0,w.p6)((new Date).getTime(),"dd-MM-yyyy","en-US")};
1const h=this.excelSer.exportMFExcel(e,this.financialPlan,this.advisorTagline,{arnRiaNumber:this.arnRiaNumber,arnRiaType:this.arnRiaType},this.clientDetailsPdf,this.colorData,_,s);this.excelSer.exportAssetExcel(e,n,l,this.colorData,s,h.ws,h.wb,c)}generatePdf(e){if(this.fragmentData.isSpinner=!0,1==this.insuranceTypeId){let n=document.getElementById("templateIns");this.utils.htmlToPdf("",n.innerHTML,e,"true",this.fragmentData,"","",!0,this.footer?this.footer:"",null)}else{let n=document.getElementById("templateGen");this.utils.htmlToPdf("",n.innerHTML,e,"true",this.fragmentData,"","",!0,this.footer?this.footer:"",null)}}sortedData(){this.dataSourceGeneralInsurance.sortData(this.dataSourceGeneralInsurance.data,this.dataSourceGeneralInsurance.sort),this.dataSourceGeneralInsurance.data=this.dataSourceGeneralInsurance.filteredData}getInsuranceTypeData(e,n){this.home=n,this.showDetailView=!0,4==n?(this.displayedColumns2=["no","life","insurerName","sumInsured","premiumAmount","policyExpiryDate","Duration","planName","policyNumber","vehicleModel","status","icons"],this.displayedColumns2Total=["subTotalGeneral","subTotalSumAssured","subTotalPremium","emptyCell1","emptyCell2","emptyCell3","emptyCell4","emptyCell5","emptyCell6","emptyCell7"]):(this.displayedColumns2=["no","life","insurerName","sumInsured","premiumAmount","policyExpiryDate","Duration","planName","policyNumber","status","icons"],this.displayedColumns2Total=["subTotalGeneral","subTotalSumAssured","subTotalPremium","emptyCell1","emptyCell2","emptyCell3","emptyCell4","emptyCell5","emptyCell6"]),this.lifeInsuranceFlag=!1,this.generalInsuranceFlag=!1,this.generalInsuranceFlag=2==e&&0==n,this.insuranceTypeId=e,this.insuranceSubTypeId=n,this.showAdd=0!=this.insuranceSubTypeId||2!=this.insuranceTypeId,this.getInsuranceSubTypeData(this.advisorId,this.clientId,e,n)}deleteModal(e,n){const s=this.dialog.open(f.$,{width:"400px",data:{data:e,header:"DELETE",body:"Are you sure you want to delete?",body2:"This cannot be undone.",btnYes:"CANCEL",btnNo:"DELETE",positiveMethod:()=>{this.showFamilyWiseDataFlag=!1;let c=n?n.insuranceSubTypeId:this.insuranceSubTypeId;this.insuranceSubTypeId=0,this.deletedId=n.id,1==this.insuranceTypeId?(this.insuranceSubTypeId="Life"==this.showInsurance?0:c,this.customerService.deleteInsurance(n.id).subscribe(i=>{this.getCount(),this.dataLoaded=!1,this.eventService.openSnackBar("Insurance is deleted","Dismiss"),s.close(),this.deleteIdOfInsurance(this.deletedId),1==this.insuranceTypeId&&0==this.insuranceSubTypeId?(this.loadApiAndData=this.loadAndGetData(this.insuranceSubTypeId,"lifeInsurance"),this.getInsuranceDataRes(this.loadApiAndData)):(this.loadApiAndData=this.loadAndGetData(this.insuranceSubTypeId,"lifeInsurance"),this.getInsuranceDataResponse(this.loadApiAndData))},i=>this.eventService.showErrorMessage(i))):11==c?(this.dataLoaded=!0,this.insuranceSubTypeId="General"==this.showInsurance?0:c,this.customerService.deleteOtherInsurance(n.id).subscribe(i=>{this.getCount(),this.dataLoaded=!1,this.deleteIdOfInsurance(this.deletedId),this.eventService.openSnackBar("Insurance is deleted","Dismiss"),s.close(),this.loadApiAndData=this.loadAndGetData(this.insuranceSubTypeId,"generalInsurance"),this.getGeneralInsuranceDataRes(this.loadApiAndData)},i=>this.eventService.showErrorMessage(i))):(this.dataLoaded=!0,this.insuranceSubTypeId="General"==this.showInsurance?0:c,this.customerService.deleteGeneralInsurance(n.id).subscribe(i=>{this.getCount(),this.dataLoaded=!1,this.deleteIdOfInsurance(this.deletedId),this.eventService.openSnackBar("Insurance is deleted","Dismiss"),s.close(),this.loadApiAndData=this.loadAndGetData(this.insuranceSubTypeId,"generalInsurance"),this.getGeneralInsuranceDataRes(this.loadApiAndData)},i=>this.eventService.showErrorMessage(i)))},negativeMethod:()=>{}},autoFocus:!1});s.afterClosed().subscribe(c=>{})}deleteIdOfInsurance(e){return this.globalArray=this.storedData.filter(l=>l.id!=e),this.globalArray=[...new Map(this.globalArray.map(l=>[l.id,l])).values()],this.insService.setInsData(this.globalArray),{dataLoaded:!1,insuranceList:this.globalArray,generalInsuranceList:this.globalArray}}toggle(e){"lifeInsurance"===e?(this.lifeInsuranceFlag=!0,this.generalInsuranceFlag=!1,this.insuranceSubTypeId=0,this.lifeInsuranceList=[],[{name:"Term",id:1,count:"",sumAssured:0},{name:"Traditional",id:2,count:"",sumAssured:0},{name:"ULIP",id:3,count:"",sumAssured:0}].map(n=>{this.lifeInsuranceList.push(n)})):(this.lifeInsuranceFlag=!1,this.generalInsuranceFlag=!0,this.generalLifeInsuranceList=[],[{name:"Health",id:5,count:"",sumAssured:0},{name:"Personal accident",id:7,count:"",sumAssured:0},{name:"Critical illness",id:6,count:"",sumAssured:0},{name:"Motor",id:4,count:"",sumAssured:0},{name:"Travel",id:8,count:"",sumAssured:0},{name:"Home",id:9,count:"",sumAssured:0},{name:"Fire & special perils",id:10,count:"",sumAssured:0},{name:"Others",id:11,count:"",sumAssured:0}].map(n=>{this.generalLifeInsuranceList.push(n)}))}editInsurance(e){}open(e){const n={flag:"detailedView",data:{},insuranceTypeId:this.insuranceTypeId,insuranceSubTypeId:this.insuranceSubTypeId,state:"open",componentName:null};n.data={data:e,displayList:this.dislayList,allInsurance:this.allInsurance,insuranceTypeId:this.insuranceTypeId,insuranceSubTypeId:this.insuranceSubTypeId,showInsurance:this.showInsurance}
1,n.componentName=1==this.insuranceTypeId?Y.$:B.G;const l=this.subInjectService.changeNewRightSliderState(n).subscribe(s=>{x.fK.isDialogClose(s)&&(l.unsubscribe(),this.showDetailView=!0)})}getCapabilityListTypeWise(e){this.insuranceCapabilityList=1==e?this.roleService.portfolioPermission.subModule.insurance.subModule.lifeInsurance.capabilityList:this.roleService.portfolioPermission.subModule.insurance.subModule.generalInsurance.capabilityList}openAddInsurance(e){this.insuranceSubTypeId=e?e.insuranceSubTypeId:this.insuranceSubTypeId;const n={data:e,insuranceTypeId:this.insuranceTypeId,insuranceSubTypeId:this.insuranceSubTypeId,displayList:this.dislayList,showInsurance:this.showInsurance},l={flag:"addInsurance",data:n,componentName:null,state:"open"};switch(this.insuranceSubTypeId){case 1:l.componentName=y.G,n.showInsurance="TERM ";break;case 2:n.showInsurance="TRADITIONAL ",l.componentName=y.G;break;case 3:n.showInsurance="ULIP ",l.componentName=y.G;break;case 5:l.componentName=T.S;break;case 7:l.componentName=L.B;break;case 6:l.componentName=P.g;break;case 4:l.componentName=q.u;break;case 8:l.componentName=E.J;break;case 9:l.componentName=F.M;break;case 10:l.componentName=M.O;break;case 11:l.componentName=V.H;break;default:l.componentName=y.G}const s=this.subInjectService.changeNewRightSliderState(l).subscribe(c=>{this.showFamilyWiseDataFlag=!1;let i=c.data?c.data.insuranceSubTypeId:this.insuranceSubTypeId;if(this.insuranceId=c.data.id,this.isAdded=c.data.isAdded,("General"==this.showInsurance||"Life"==this.showInsurance)&&(this.insuranceSubTypeId=0),x.fK.isDialogClose(c)){if(this.dataLoaded=!0,c.data)if(1==this.insuranceTypeId)this.getCount(),this.insuranceSubTypeId="Life"==this.showInsurance?0:i,1==this.insuranceTypeId&&0==this.insuranceSubTypeId?this.getInsuranceData(this.insuranceTypeId):this.getInsuranceSubTypeData(this.advisorId,this.clientId,this.insuranceTypeId,this.insuranceSubTypeId);else if(2==this.insuranceTypeId&&11==i)if(c.data.Insdata){this.getCount();let _=this.filterOtherInsuranceSingleData(c.data.Insdata);this.storedData.push(_),this.loadApiAndData=this.loadAndGetData(i,"generalInsurance"),this.getGeneralInsuranceDataRes(this.loadApiAndData),this.insService.setInsData(this.storedData),this.insuranceId=0}else this.insuranceSubTypeId="General"==this.showInsurance?0:i,this.getInsuranceSubTypeData(this.advisorId,this.clientId,this.insuranceTypeId,this.insuranceSubTypeId);else this.insuranceSubTypeId="General"==this.showInsurance?0:i,this.getCount(),this.getInsuranceSubTypeData(this.advisorId,this.clientId,this.insuranceTypeId,this.insuranceSubTypeId);s.unsubscribe()}})}openSubAsset(e,n){this.showHeader=n.name+" Insurance"}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.sBO),t.Y36(S.P),t.Y36(H.uw),t.Y36(W.b),t.Y36(j.d),t.Y36($.f),t.Y36(A.v),t.Y36(x.fK),t.Y36(g.e),t.Y36(K.x),t.Y36(z.ch),t.Y36(O.p),t.Y36(X.M),t.Y36(tt.y),t.Y36(Q.gz),t.Y36(G.N),t.Y36(et.a))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-insurance"]],viewQuery:function(e,n){if(1&e&&(t.Gf(I.YE,5),t.Gf(rt,5),t.Gf(ct,5),t.Gf(ut,5),t.Gf(dt,5)),2&e){let l;t.iGM(l=t.CRH())&&(n.sort=l.first),t.iGM(l=t.CRH())&&(n.tableEl=l.first),t.iGM(l=t.CRH())&&(n.tableEl2=l.first),t.iGM(l=t.CRH())&&(n.lifeInsurance=l.first),t.iGM(l=t.CRH())&&(n.generalInsurance=l.first)}},inputs:{finPlanObj:"finPlanObj"},outputs:{loaded:"loaded"},decls:98,vars:78,consts:[["id","ui-insurance",1,"d-none-768",3,"ngClass"],[1,"row","fade-in"],[1,"col-md-3","col-lg-2","p-0","pt-8","pb-20"],[1,"vertical-menu","bg-grey","lter"],["class","d-block ",4,"ngIf"],["class","d-block",3,"ngClass",4,"ngIf"],[1,"col-md-9","col-lg-10","p-0","min-height","pt-28"],[1,"wrapper-8"],[1,"row","pb-12"],[1,"col-md-5","d-flex","align-items-center","p-0"],[1,"m-0","text-black","roboto"],[3,"ngStyle"],["class","col-md-7 p-0 right text-right justify-content-end d-flex align-items-center",4,"ngIf"],["class","row pb-6 full-end",4,"ngIf"],[1,"col-md-12","new-border-table","p-0","liabilities","overflow-hidden",3,"ngClass"],["appSkeletonLoading","","class","skeletonAnimation","id","tbs","mat-table","","matSort","",3,"appSkeletonLoading","dataSource","matSortChange",4,"ngIf"],["class","w-100 mt-70 d-flex flex-column align-items-center",4,"ngIf"],["class","new-border-table",4,"ngIf"],["id","templateIns",1,"hide"],["lifeInsurance",""],["charset","UTF-8"],[2,"margin-bottom","20px"],["align","center",2,"border-collapse","collapse","border","0px","padding","0p
1x 20px 0px 20px","width","100%","font-family","'Roboto', sans-serif","font-weight","500"],[4,"ngIf"],[2,"text-align","right","vertical-align","top","width","50%"],["style","margin: 0px; font-weight: 500; font-size: 12px; margin-bottom: 5px; white-space: nowrap; color: #333333;",3,"ngStyle",4,"ngIf"],["style","margin: 0px; font-weight: 500; font-size: 16px; margin-bottom: 5px; white-space: nowrap; color: #121212;",3,"ngStyle",4,"ngIf"],[2,"margin","0px","font-weight","500","font-size","16px","margin-bottom","5px","white-space","nowrap","color","#121212",3,"ngStyle"],["align","center",2,"border-collapse","collapse","border","0px","padding","0px 20px 0px 20px","width","100%",3,"ngStyle"],[2,"text-align","left","vertical-align","top"],["style","margin: 0px; font-weight: 600; font-size: 16px; color: #000000;",3,"ngStyle",4,"ngIf"],["style","margin: 0px; font-weight: 500; font-size: 12px; color: #333333;",3,"ngStyle",4,"ngIf"],["rowspan","3",2,"text-align","right","vertical-align","bottom"],[2,"margin","0px","font-size","18px","font-weight","600","color","#000000",3,"ngStyle"],["style","margin: 0px; font-size: 14px; margin-bottom: 5px;color: #121212;",3,"ngStyle",4,"ngIf"],["class","w-100 d-flex flex-column align-items-center",3,"ngClass",4,"ngIf"],["id","templateGen",1,"hide"],["generalInsurance",""],[1,"d-none","d-block-768"],["id","mob-fixed-income"],[1,"row","mob-bg-common","pb-12","mobtop-navfixed"],["class","col-2",3,"routerLink",4,"ngIf"],["class","col-2",3,"click",4,"ngIf"],[1,"col-9","p-0"],[1,"m-0","f-18","text-white"],["appSkeletonLoading","",1,"pt-72","min-vh-100","p-8","pb-48","skeletonAnimation",3,"appSkeletonLoading"],["class","bg-white mb-12",4,"ngIf"],["class","bg-white br-4",4,"ngIf"],[1,""],[1,"bg-white"],[1,"d-block"],[1,"pb-8","c-p",3,"ngClass"],[1,"row",3,"click"],[1,"col-lg-9","col-md-10","p-0","f-700","roboto"],[1,"col-lg-3","col-md-2","pl-0","pr-20","text-right","text-custom","roboto"],["class","c-p pb-8",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"c-p","pb-8",3,"ngClass","click"],[1,"row"],[1,"col-lg-9","col-md-10","p-0","roboto"],[1,"col-lg-3","col-md-2","pl-0","pr-20","text-right","roboto","text-custom"],[1,"d-block",3,"ngClass"],[1,"col-md-10","p-0","f-700","roboto"],[1,"col-md-2","pl-0","pr-20","roboto","text-right","text-custom"],["class","pb-8 c-p",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"pb-8","c-p",3,"ngClass","click"],[1,"col-md-9","p-0","roboto"],[1,"col-md-3","pl-0","roboto","pr-20","text-right","text-custom"],[1,"col-md-7","p-0","right","text-right","justify-content-end","d-flex","align-items-center"],[1,"p-0","d-flex","align-items-center","justify-content-center"],[3,"diameter",4,"ngIf"],["class","c-p downloadPdfIcon",3,"matMenuTriggerFor",4,"ngIf"],["menu1","matMenu"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"click"],["mat-stroked-button","",1,"btn-default","addon","ml-8","mr-8","v-middle",3,"matMenuTriggerFor"],["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"],["insuranceMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["class","btn-primary addon v-middle","mat-stroked-button","",3,"click",4,"ngIf"],[3,"diameter"],[1,"c-p","downloadPdfIcon",3,"matMenuTriggerFor"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592629/myplanner/images/svg/download-bordered.svg","height","18","width","18","alt","download icon"],["mat-stroked-button","",1,"btn-primary","addon","v-middle",3,"click"],[1,"row","pb-6","full-end"],[3,"checked","disabled","change"],[1,"pl-4","f-12"],["appSkeletonLoading","","id","tbs","mat-table","","matSort","",1,"skeletonAnimation",3,"appSkeletonLoading","dataSource","matSortChange"],["tableEl",""],["matColumnDef","no","sticky",""],["style","font-weight: bold;","class","br bl w-5","mat-header-cell","",3,"ngStyle",4,"matHeaderCellDef"],["class","br bl","mat-cell","",3,"ngStyle",4,"matCellDef"],["class","bl-1 p-8 text-left","mat-footer-cell","",3,"ngStyle",4,"matFooterCellDef"],["matColumnDef","life"],["style","font-weight: bold;","class","br w-13 bb","mat-sort-header","lifeAssuredName",3,"ngStyle","ngClass","disabled",4,"matHeaderCellDef"],["class","br","mat-cell","",3,"ngStyle","ngClass",4,"matCellDef"],["class","p-8 text-left","mat-footer-cell","",3,"ngStyle","ngClass",4,"matFooterCellDef"],["matColumnDef","name"],["style","font-weight: bold;","class","br w-17 bb","mat-sort-header","policyName",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","br","mat-cell","",3,"ngStyle",4,"matCellDef"],["class","f-600 p-8 proximaFont text-right br","mat-footer-cell","",3,"ngStyle",4,"matFooterCellDef"],["matColumnDef","subTotal"],["class","bl br text-right zIndex","mat-cell","",3,"ngStyle",4,"matCellDef"],["matColumnDef","sum"],["style","font-weight: bold;","class","br right-hcb","mat-header-cell","","mat-sort-header","sumAssured",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","br text-right nowrap","mat-cell","",3,"ngStyle",4,"matCellDef"],["class","br f-600 p-8 amt text-right nowrap","mat-footer-cell","",3,"ngStyle",4,"matFooterCellDef"],["matColumnDef","subtotalSumAssured"],["class","br text-right zIndex nowrap","mat-cell","",3,"ngStyle",4,"matCellDef"],["matColumnDef","cvalue"],["style","font-weight: bold;","class","br w-10 right-hcb","mat-header-cell","","mat-sort-header","currentValue",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","subtotalCurrentValue"],["matColumnDef","premium"],["style","font-weight: bold;","class","br right-hcb","mat-header-cell","","mat-sort-header","premiumAmount",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","subtotalPremium"],["matColumnDef","frequency"],["style","font-weight: bold;","class","br textLeft","mat-header-cell","","mat-sort-header","premiumFrequency",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","br p-8 text-left","mat-footer-cell","",3,"ngStyle",4,"matFooterCellDef"],["matColumnDef","emptyCell1"],["class","br text-right zIndex","mat-cell","",3,"ngStyle",4,"matCellDef"],["matColumnDef","term"],["style","font-weight: bold;","class","br textLeft","mat-header-cell","","mat-sort-header","premiumPayingTerm",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","emptyCell2"],["matColumnDef","pterm"],["style","font-weight: bold;","class","br textLeft","mat-header-cell","","mat-sort-header","policyTenure",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","emptyCell3"],["matColumnDef","Duration"],["style","font-weight: bold;","class","br text-left-headers","mat-header-cell","","mat-sort-header","durationRemaining",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","br text-left","mat-cell","",3,"ngStyle",4,"matCellDef"],["matColumnDef","emptyCell4"],["matColumnDef","desc"],["style","font-weight: bold;","class","br text-left-headers","mat-header-cell","","mat-sort-header","insuranceSubTypeId",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","emptyCell5"],["matColumnDef","number"],["style","font-weight: bold;","class","br text-left-headers w-11 bb","mat-sort-header","policyNumber",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","f-600 br p-8 proximaFont text-right","mat-footer-cell","",3,"ngStyle",4,"matFooterCellDef"],["matColumnDef","emptyCell6"],["matColumnDef","status"],["style","font-weight: bold;","class","br","mat-header-cell","","mat-sort-header","status",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","br text-primary","mat-cell","",4,"matCellDef"],["matColumnDef","emptyCell7"],["matColumnDef","icons","sticky",""],["class","t-2 br","mat-header-cell","",3,"ngStyle",4,"matHeaderCellDef"],["class","t-2 br mat-menu-trigger text-center c-p","mat-cell","",3,"matMenuTriggerFor",4,"matCellDef"],["matColumnDef","emptyCell8"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],["mat-header-cell","",1,"br","bl","w-5",2,"font-weight","bold",3,"ngStyle"],["mat-cell","",1,"br","bl",3,"ngStyle"],[1,"bar"],["mat-footer-cell","",1,"bl-1","p-8","text-left",3,"ngStyle"],["mat-sort-header","lifeAssuredName",1,"br","w-13","bb",2,"font-weight","bold",3,"ngStyle","ngClass","disabled"],["mat-cell","",1,"br",3,"ngStyle","ngClass"],["mat-footer-cell","",1,"p-8","text-left",3,"ngStyle","ngClass"],["mat-sort-header","policyName",1,"br","w-17","bb",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-cell","",1,"br",3,"ngStyle"],["mat-footer-cell","",1,"f-600","p-8","proximaFont","text-right","br",3,"ngStyle"],["mat-cell","",1,"bl","br","text-right","zIndex",3,"ngStyle"],[1,"f-700"],["mat-header-cell","","mat-sort-header","sumAssured",1,"br","right-hcb",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-cell","",1,"br","text-right","nowrap",3,"ngStyle"],["appFormatNumber",""],["mat-footer-cell","",1,"br","f-600","p-8","amt","text-right","nowrap",3,"ngStyle"],["appFormatNumber","",3,"value"],["mat-cell","",1,"br","text-right","zIndex","
1nowrap",3,"ngStyle"],[1,"bar","f-700"],["appFormatNumber","",1,"f-700",3,"value"],["mat-header-cell","","mat-sort-header","currentValue",1,"br","w-10","right-hcb",2,"font-weight","bold",3,"ngStyle","disabled"],["appFormatNumber","",3,"value",4,"ngIf"],["mat-header-cell","","mat-sort-header","premiumAmount",1,"br","right-hcb",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","premiumFrequency",1,"br","textLeft",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-footer-cell","",1,"br","p-8","text-left",3,"ngStyle"],["mat-cell","",1,"br","text-right","zIndex",3,"ngStyle"],["mat-header-cell","","mat-sort-header","premiumPayingTerm",1,"br","textLeft",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","policyTenure",1,"br","textLeft",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","durationRemaining",1,"br","text-left-headers",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-cell","",1,"br","text-left",3,"ngStyle"],["style","text-transform: lowercase;",4,"ngIf"],[2,"text-transform","lowercase"],["mat-header-cell","","mat-sort-header","insuranceSubTypeId",1,"br","text-left-headers",2,"font-weight","bold",3,"ngStyle","disabled"],["class","bar",4,"ngIf"],["mat-sort-header","policyNumber",1,"br","text-left-headers","w-11","bb",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-footer-cell","",1,"f-600","br","p-8","proximaFont","text-right",3,"ngStyle"],["mat-header-cell","","mat-sort-header","status",1,"br",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-cell","",1,"br","text-primary"],["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-cell","",1,"t-2","br",3,"ngStyle"],["mat-cell","",1,"t-2","br","mat-menu-trigger","text-center","c-p",3,"matMenuTriggerFor"],["class","c-p","src","https://res.cloudinary.com/futurewise/image/upload/v1619592625/myplanner/images/svg/dot-menu.svg","width","4","height","16","alt","menu icon",4,"ngIf"],["menu4","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled"],["id","file-4","multiple","","type","file",1,"uploadInput",3,"change"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592625/myplanner/images/svg/dot-menu.svg","width","4","height","16","alt","menu icon",1,"c-p"],["mat-header-row",""],["mat-row",""],["mat-footer-row","",3,"hidden"],[1,"w-100","mt-70","d-flex","flex-column","align-items-center"],["src","https://res.cloudinary.com/futurewise/image/upload/v1704796984/My-Planner_Whitewashed/documents-empty-states-w_2.2-svg_1.svg","alt","empty doc icon",1,"bg-primary"],[1,"text-center","mt-12","mb-20"],[1,"new-border-table"],["tableEl2",""],["style","font-weight: bold;","class","br textLeft w-15 bb","mat-sort-header","policyHolderName",3,"ngStyle","ngClass","disabled",4,"matHeaderCellDef"],["class"," p-8 text-left","mat-footer-cell","",3,"ngStyle","ngClass",4,"matFooterCellDef"],["matColumnDef","insurerName"],["style","font-weight: bold;","class","br w-15 textLeft bb","mat-sort-header","insurerName",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","subTotalGeneral"],["matColumnDef","sumInsured"],["style","font-weight: bold;","class","br w-10 right-hcb bb","mat-sort-header","sumAssured",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","subTotalSumAssured"],["matColumnDef","premiumAmount"],["matColumnDef","subTotalPremium"],["matColumnDef","policyExpiryDate",1,"matshort-text-right"],["style","font-weight: bold;","class","br text-right w-10 matshort-text-right","mat-header-cell","","mat-sort-header","policyExpiryDate",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","br text-right","mat-cell","",3,"ngStyle",4,"matCellDef"],["class","br p-8 text-right","mat-footer-cell","",3,"ngStyle",4,"matFooterCellDef"],["matColumnDef","Duration",1,"matshort-text-right"],["style","font-weight: bold;","class","br w-9 text-right matshort-text-right","mat-header-cell","","mat-sort-header","durationRemaining",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","planName"],["style","font-weight: bold;","class","br textLeft","mat-header-cell","","mat-sort-header","showType",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","policyNumber",1,"matshort-text-right"],["class","br f-600 matshort-text-right","mat-header-cell","","mat-sort-header","policyNumber",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","vehicleModel"],["style","font-weight: bold;","class","br w-13 textLeft","mat-header-cell","","mat-sort-header","vehicleModel",3,"ngStyle","disabled",4,"matHeaderCellDef"],["matColumnDef","Description"],["style","font-weight: bold;","class","br w-10","mat-header-cell","","mat-sort-header","Description",3,"ngStyle","disabled",4,"matHeaderCellDef"],["class","br","mat-cell","",4,"matCellDef"],["class","t-2 text-center br mat-menu-trigger c-p","mat-cell","",3,"matMenuTriggerFor",4,"matCellDef"],["mat-sort-header","policyHolderName",1,"br","textLeft","w-15","bb",2,"font-weight","bold",3,"ngStyle","ngClass","disabled"],["mat-sort-header","insurerName",1,"br","w-15","textLeft","bb",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-sort-header","sumAssured",1,"br","w-10","right-hcb","bb",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","policyExpiryDate",1,"br","text-right","w-10","matshort-text-right",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-cell","",1,"br","text-right",3,"ngStyle"],["mat-footer-cell","",1,"br","p-8","text-right",3,"ngStyle"],["mat-header-cell","","mat-sort-header","durationRemaining",1,"br","w-9","text-right","matshort-text-right",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","showType",1,"br","textLeft",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","policyNumber",1,"br","f-600","matshort-text-right",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","vehicleModel",1,"br","w-13","textLeft",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-header-cell","","mat-sort-header","Description",1,"br","w-10",2,"font-weight","bold",3,"ngStyle","disabled"],["mat-cell","",1,"br"],["mat-cell","",1,"t-2","text-center","br","mat-menu-trigger","c-p",3,"matMenuTriggerFor"],["rowspan","2",2,"text-align","left","vertical-align","top","width","50%"],["style","margin: 0px; font-weight: 600; font-size: 18px; white-space: nowrap; color: #000000;",3,"ngStyle",4,"ngIf"],["width","120px",3,"src"],["width","140px",3,"src"],[2,"margin","0px","font-weight","600","font-size","18px","white-space","nowrap","color","#000000",3,"ngStyle"],[2,"margin","0px","font-weight","500","font-size","12px","margin-bottom","5px","white-space","nowrap","color","#333333",3,"ngStyle"],[2,"margin","0px","font-weight","600","font-size","16px","color","#000000",3,"ngStyle"],[2,"margin","0px","font-weight","500","font-size","12px","color","#333333",3,"ngStyle"],["style","margin: 0px; font-size: 14px; margin-bottom: 5px; margin-top: 5px;color: #121212;",3,"ngStyle",4,"ngIf"],[2,"margin","0px","font-size","14px","margin-bottom","5px","margin-top","5px","color","#121212",3,"ngStyle"],[2,"margin","0px","font-size","14px","margin-bottom","5px","color","#121212",3,"ngStyle"],[2,"width","100%","border-collapse","collapse"],[2,"page-break-inside","avoid","background-color","#F5F7F7","height","40px","border","1p
1x solid #404040"],["style","padding: 7px 8px;font-weight: 600;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040; border-left: 1px solid #404040; border-top: 1px solid #404040; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],[2,"padding","7px 8px","font-weight","600","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","border-bottom","1px solid #404040","border-top","1px solid #404040",3,"ngStyle"],[2,"padding","7px 8px","font-weight","600","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","border-bottom","1px solid #404040","border-top","1px solid #404040","text-align","right",3,"ngStyle"],["style","border-left: 1px solid #404040;border-bottom: 1px solid #404040;height: 40px !important;",4,"ngFor","ngForOf"],["style","font-weight: 700;border-left: 1px solid #404040;border-bottom: 1px solid #404040;height: 40px !important;",4,"ngIf"],[2,"padding","7px 8px","font-weight","600","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","border-left","1px solid #404040","border-top","1px solid #404040","border-bottom","1px solid #404040",3,"ngStyle"],[2,"border-left","1px solid #404040","border-bottom","1px solid #404040","height","40px !important"],["style","padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040; border-bottom: 1px solid #404040; border-left: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["style","padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["colspan","2","style","font-weight: 700;padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-left: 1px solid #404040; border-right: 1px solid #404040; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["style","font-weight: 700;padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-left: 1px solid #404040; border-right: 1px solid #404040; border-bottom: 1px solid #404040;text-align: right;",3,"ngStyle",4,"ngIf"],["style","font-weight: 700;padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-left: 1px solid #404040; border-right: 1px solid #404040; border-bottom: 1px solid #404040;text-align: right;text-transform: lowercase;",3,"ngStyle",4,"ngIf"],["style","padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040;text-align: right; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["style","padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040;text-align: left; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["style","text-transform: lowercase;padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040;text-align: left; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],[2,"padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","border-bottom","1px solid #404040","border-left","1px solid #404040",3,"ngStyle"],[2,"padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","border-bottom","1px solid #404040",3,"ngStyle"],["colspan","2",2,"font-weight","700","padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-left","1px solid #404040","border-right","1px solid #404040","border-bottom","1px solid #404040",3,"ngStyle"],[2,"font-weight","700","padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-left","1px solid #404040","border-right","1px solid #404040","border-bottom","1px solid #404040","text-align","right",3,"ngStyle"],[2,"font-weight","700","padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-left","1px solid #404040","border-right","1px solid #404040","border-bottom","1px solid #404040","text-align","right","text-transform","lowercase",3,"ngStyle"],[2,"padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","text-align","right","border-bottom","1px solid #404040",3,"ngStyle"],[2,"padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","text-align","left","border-bottom","1px solid #404040",3,"ngStyle"],[2,"text-transform","lowercase","padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","text-align","left","border-bottom","1px solid #404040",3,"ngStyle"],[2,"font-weight","700","border-left","1px solid #404040","border-bottom","1px solid #404040","height","40px !important"],["appFormatNumber","",2,"padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","border-bottom","1px solid #404040",3,"ngStyle"],["appFormatNumber","",2,"padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","text-align","right","border-bottom","1px solid #404040",3,"ngStyle"],[1,"w-100","d-flex","flex-column","align-items-center",3,"ngClass"],[1,"text-center","pt-12"],[2,"background-color","#F5F7F7","height","40px","border","1p
1x solid #404040"],["style","padding: 7px 8px;font-weight: 600;font-size: 13px !important;line-height: 16px !important;color: #202020; border-right: 1px solid #404040; border-left: 1px solid #404040; border-top: 1px solid #404040; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["style","padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040; border-bottom: 1px solid #404040; border-left: 1px solid #404040; ",3,"ngStyle",4,"ngIf"],["colspan","2","style","font-weight: 700;padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-left: 1px solid #404040;border-right: 1px solid #404040; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["style","font-weight: 700;padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-left: 1px solid #404040;border-right: 1px solid #404040; border-bottom: 1px solid #404040;text-align: right;",3,"ngStyle",4,"ngIf"],["style","font-weight: 700;padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-left: 1px solid #404040;border-right: 1px solid #404040; border-bottom: 1px solid #404040;text-align: right; text-transform: lowercase;",3,"ngStyle",4,"ngIf"],["appFormatNumber","","style","padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040;text-align: right; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],["appFormatNumber","","style","padding: 7px 8px;font-size: 13px !important;line-height: 16px !important;color: #202020;border-right: 1px solid #404040;text-align: left; border-bottom: 1px solid #404040;",3,"ngStyle",4,"ngIf"],[4,"ngFor","ngForOf"],["appFormatNumber","",2,"padding","7px 8px","font-size","13px !important","line-height","16px !important","color","#202020","border-right","1px solid #404040","text-align","left","border-bottom","1px solid #404040",3,"ngStyle"],[1,"col-2",3,"routerLink"],[1,"material-icons","text-white"],[1,"col-2",3,"click"],[1,"bg-white","mb-12"],[1,"row","pt-20","pb-20"],[1,"col-2"],[1,"mf","hw-40","f-14","pt-16"],[1,"col-10","pt-4"],[1,"m-0","f-12","lh-12"],[1,"mob-text-success","mb-0","pt-4"],[1,"bg-white","br-4"],[1,"col-3"],[1,"relClass"],[1,"bar90","height55","br-50"],[1,"col-9","pl-8","pt-4"],[1,"relClass","mt-10"],[1,"bar","height24"],[1,"row","pt-20","pb-20","mob-bb-1"],[1,"col-8"],[1,"col-4","text-right","pl-8","pr-8"],["matRipple","","class","row pt-20 pb-20 mob-bb-1",3,"matRippleCentered","click",4,"ngFor","ngForOf"],["matRipple","",1,"row","pt-20","pb-20","mob-bb-1",3,"matRippleCentered","click"],[1,"mb-0"],[1,"col-4","text-right","pl-0"],[1,"m-0"],[1,"details-view"],["matRipple","",3,"matRippleCentered","click",4,"ngFor","ngForOf"],["class","document-bottom-action",4,"ngIf"],["class","row full-center h-80vh ",4,"ngIf"],["matRipple","",3,"matRippleCentered","click"],[1,"row","pt-12","pb-12","mob-bb-1","align-items-center"],[1,"col-7"],[1,"col-4","text-right","pl-0","pr-8"],[1,"col-1","full-center","pl-0"],["src","https://res.cloudinary.com/futurewise/image/upload/v1621579234/myplanner/images/svg/webp/right-arrow-.webp","height","12","width","7.41","alt","",1,"material-icons","c-p"],[1,"document-bottom-action"],["mat-stroked-button","",1,"btn-primary"],["alt","IFAnow","height","25","src","https://res.cloudinary.com/futurewise/image/upload/v1619592702/myplanner/images/svg/plus.svg","width","17",3,"click"],[1,"row","full-center","h-80vh"],[1,"col-12","text-center","pt-24","pb-24"],["src","/assets/images/svg/documents-empty-states.svg"],[1,"m-0","f-14","roboto","f-400","pt-20","pb-20","text-center"],[1,"col-7","pr-0"],["appFormatNumber","",1,"lh-18"],[1,"col-4","text-right","pr-10","pl-0"],[1,"m-0","pt-4"],[1,"col-1","full-center","pl-0",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1621579234/myplanner/images/svg/webp/right-arrow-.webp","height","12","width","7.41","alt"," chevron_right",1,"material-icons","c-p"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),t.YNc(4,_t,8,5,"ul",4),t.YNc(5,ft,8,8,"ul",5),t.qZA()(),t.TgZ(6,"div",6)(7,"div")(8,"div",7)(9,"div",8)(10,"div",9)(11,"h4",10)(12,"span",11),t._uU(13),t.qZA()()(),t.YNc(14,wt,29,12,"div",12),t.qZA(),t.YNc(15,vt,4,2,"div",13),t.TgZ(16,"div",14),t.YNc(17,Be,86,8,"table",15),t.YNc(18,Oe,5,1,"div",16),t.YNc(19,en,3,2,"div",17),t.qZA()()()()()(),t.TgZ(20,"div",18,19),t._UZ(22,"meta",20),t.TgZ(23,"div",21)(24,"table",22),t.YNc(25,ln,6,3,"tr",23),t.YNc(26,un,6,3,"tr",23),t.TgZ(27,"tr")(28,"td",24),t.YNc(29,dn,2,4,"p",25),t.YNc(30,pn,2,5,"p",25),t.YNc(31,_n,2,4,"p",26),t.YNc(32,mn,2,4,"p",26),t.TgZ(33,"p",27),t._uU(34),t.ALo(35,"date"),t.qZA()()()(),t.TgZ(36,"table",28)(37,"tr")(38,"td",29),t.YNc(39,gn,2,4,"span",30),t.YNc(40,fn,2,4,"span",31),t.qZA(),t.TgZ(41,"td",32)(42,"p",33),t._uU(43),t.qZA()()(),t.YNc(44,xn,3,1,"tr",23),t.TgZ(45,"tr")(46,"td",29),t.YNc(47,Tn,2,4,"p",34),t.qZA()()()(),t.YNc(48,zn,30,51,"div",23),t.YNc(49,Xn,4,3,"div",35),t.qZA(),t.TgZ(50,"div",36,37),t._UZ(52,"meta",20),t.TgZ(53,"div",21)(54,"table",22),t.YNc(55,no,6,3,"tr",23),t.YNc(56,so,6,3,"tr",23),t.TgZ(57,"tr")(58,"td",24),t.YNc(59,ro,2,4,"p",25),t.YNc(60,co,2,5,"p",25),t.YNc(61,uo,2,4,"p",26),t.YNc(62,po,2,4,"p",26),t.TgZ(63,"p",27),t._uU(64),t.ALo(65,"date"),t.qZA()()()(),t.TgZ(66,"table",28)(67,"tr")(68,"td",29),t.YNc(69,_o,2,4,"span",30),t.YNc(70,mo,2,4,"span",31),t.qZA(),t.TgZ(71,"td",32)(72,"p",33),t._uU(73),t.qZA()()(),t.YNc(74,fo,3,1,"tr",23),t.TgZ(75,"tr")(76,"td",29),t.YNc(77,ho,2,4,"p",34),t.qZA()()()(),t.YNc(78,Go,24,43,"div",23),t.YNc(79,Ko,4,3,"div",35),t.qZA(),t.TgZ(80,"div",38)(81,"div",39)(82,"div",40),t.YNc(83,jo,3,2,"div",41),t.YNc(84,$o,3,0,"div",42),t.TgZ(85,"div",43)(86,"h5",44),t._uU(87),t.qZA()()(),t.TgZ(88,"div",45),t.YNc(89,zo,11,2,"div",46),t.YNc(90,Xo,10,0,"div",47),t.YNc(91,tl,50,0,"div",23),t.TgZ(92,"div",48)(93,"div",49),t.YNc(94,ll,3,2,"div",23),t.YNc(95,cl,6,3,"div",23),t.YNc(96,_l,6,3,"div",23),t.YNc(97,ml,50,0,"div",23),t.qZA()()()()()),2&e&&(t.Q6J("ngClass",t.VKq(62,gl,null==n.finPlanObj?null:n.finPlanObj.hideForFinPlan)),t.xp6(4),t.Q6J("ngIf",n.showLifeInsurance),t.xp6(1),t.Q6J("ngIf",n.showGeneralInsurance),t.xp6(7),t.Q6J("ngStyle",t.VKq(64,u,null==n.colorData?null:n.colorData.colorReportName)),t.xp6(1),t.hij(" ",n.showInsurance," insurance "),t.xp6(1),t.Q6J("ngIf",n.dataSource.data.length>0&&1==n.insuranceTypeId&&!n.isLoading||n.dataSourceGeneralInsurance.data.length>0&&2==n.insuranceTypeId&&!n.isLoading),t.xp6(1),t.Q6J("ngIf",n.dataSource.data.length>0&&1==n.insuranceTypeId&&!n.isLoading||n.dataSourceGeneralInsurance.data.length>0&&2==n.insuranceTypeId&&!n.isLoading&&"Others"!=n.selectedInsuranceName),t.xp6(1),t.Q6J("ngClass",t.VKq(66,fl,0==n.isLoading)),t.xp6(1),t.Q6J("ngIf",n.showLifeInsurance&&1==n.insuranceTypeId&&n.dataSource&&n.dataSource.data.length>0),t.xp6(1),t.Q6J("ngIf",n.showLifeInsurance&&1==n.insuranceTypeId&&0==n.dataSource.data.length),t.xp6(1),t.Q6J("ngIf",n.showGeneralInsurance&&2==n.insuranceTypeId),t.xp6(6),t.Q6J("ngIf",2===(null==n.appearancePortfolio?null:n.appearancePortfolio.advisorOrOrganisation)),t.xp6(1),t.Q6J("ngIf",1===(null==n.appearancePortfolio?null:n.appearancePortfolio.advisorOrOrganisation)),t.xp6(3),t.Q6J("ngIf",n.financialPlan&&n.advisorTagline),t.xp6(1),t.Q6J("ngIf",n.advisorTagline&&n.arnRiaNumber&&n.arnRiaType),t.xp6(1),t.Q6J("ngIf",n.financialPlan&&(null==n.financialPlan?null:n.financialPlan.email)),t.xp6(1),t.Q6J("ngIf",n.financialPlan&&(null==n.financialPlan?null:n.financialPlan.mobile)),t.xp6(1),t.Q6J("ngStyle",t.VKq(68,u,null==n.colorData?null:n.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Report as on: ",t.xi3(35,56,n.reportDate,"d-MMM-y")," "),t.xp6(2),t.Q6J("ngStyle",null!=n.clientDetailsPdf&&n.clientDetailsPdf.mobile&&null!=n.clientDetailsPdf&&n.clientDetailsPdf.email?"":t.DdM(70,R)),t.xp6(3),t.Q6J("ngIf",null==n.clientDetailsPdf?null:n.clientDetailsPdf.display_name),t.xp6(1),t.Q6J("ngIf",null==n.clientDetailsPdf?null:n.clientDetailsPdf.pan),t.xp6(2),t.Q6J("ngStyle",t.VKq(71,u,null==n.colorData?null:n.colorData.colorReportNamePdf)),t.xp6(1),t.hij(" ",n.showInsurance," insurance "),t.xp6(1),t.Q6J("ngIf",(null==n.clientDetailsPdf?null:n.clientDetailsPdf.mobile)&&(null==n.clientDetailsPdf?null:n.clientDetailsPdf.email)),t.xp6(3),t.Q6J("ngIf",null==n.clientDetailsPdf?null:n.clientDetailsPdf.email),t.xp6(1),t.Q6J("ngIf",(null==n.dataSource||null==n.dataSource.data?null:n.dataSource.data.length)>0),t.xp6(1),t.Q6J("ngIf",0==(null==n.dataSource||null==n.dataSource.data?null:n.dataSource.data.length)),t.xp6(6),t.Q6J("ngIf",2===(null==n.appearancePortfolio?null:n.appearancePortfolio.advisorOrOrganisation)),t.xp6(1),t.Q6J("ngIf",1===(null==n.appearancePortfolio?null:n.appearancePortfolio.advisorOrOrganisation)),t.xp6(3),t.Q6J("ngIf",n.financialPlan&&n.advisorTagline),t.xp6(1),t.Q6J("ngIf",n.advisorTagline&&n.arnRiaNumber&&n.arnRiaType),t.xp6(1),t.Q6J("ngIf",n.financialPlan&&(null==n.financialPlan?null:n.financialPlan.email)),t.xp6(1),t.Q6J("ngIf",n.financialPlan&&(null==n.financialPlan?null:n.financialPlan.mobile)),t.xp6(1),t.Q6J("ngStyle",t.VKq(73,u,null==n.colorData?null:n.colorData.colorYourDetailPdf)),t.xp6(1),t.hij(" Report as on: ",t.xi3(65,59,n.reportDate,"d-MMM-y")," "),t.xp6(2),t.Q6J("ngStyle",null!=n.clientDetailsPdf&&n.clientDetailsPdf.mobile&&null!=n.clientDetailsPdf&&n.clientDetailsPdf.email?"":t.DdM(75,R)),t.xp6(3),t.Q6J("ngIf",null==n.clientDetailsPdf?null:n.clientDetailsPdf.display_name),t.xp6(1),t.Q6J("ngIf",null==n.clientDetailsPdf?null:n.clientDetailsPdf.pan),t.xp6(2),t.Q6J("ngStyle",t.VKq(76,u,null==n.colorData?null:n.colorData.colorReportNamePdf)),t.xp6(1),t.hij(" ",n.showInsurance," insurance "),t.xp6(1),t.Q6J("ngIf",(null==n.clientDetailsPdf?null:n.clientDetailsPdf.mobile)&&(null==n.clientDetailsPdf?null:n.clientDetailsPdf.email)),t.xp6(3),t.Q6J("ngIf",null==n.clientDetailsPdf?null:n.clientDetailsPdf.email),t.xp6(1),t.Q6J("ngIf",(null==n.dataSourceGeneralInsurance||null==n.dataSourceGeneralInsurance.data?null:n.dataSourceGeneralInsurance.data.length)>0),t.xp6(1),t.Q6J("ngIf",0==(null==n.dataSourceGeneralInsurance||null==n.dataSourceGeneralInsurance.data?null:n.dataSourceGeneralInsurance.data.length)),t.xp6(4),t.Q6J("ngIf",!n.showDetailVie
1w),t.xp6(1),t.Q6J("ngIf",n.showDetailView),t.xp6(3),t.hij("",n.showHeader," "),t.xp6(1),t.Q6J("appSkeletonLoading",n.isLoading),t.xp6(1),t.Q6J("ngIf",!n.isLoading&&!n.showDetailView),t.xp6(1),t.Q6J("ngIf",n.isLoading&&!n.showDetailView),t.xp6(1),t.Q6J("ngIf",n.isLoading),t.xp6(3),t.Q6J("ngIf",!n.isLoading&&!n.showDetailView),t.xp6(1),t.Q6J("ngIf",!n.isLoading&&n.showDetailView&&15==n.insureData.assetType),t.xp6(1),t.Q6J("ngIf",!n.isLoading&&n.showDetailView&&14==n.insureData.assetType),t.xp6(1),t.Q6J("ngIf",n.isLoading))},dependencies:[w.mk,w.sg,w.O5,w.PC,Q.rH,at.lW,nt.oG,N.VK,N.OP,N.p6,ot.Ou,lt.wG,I.YE,I.nU,p.BZ,p.fO,p.as,p.w1,p.Dz,p.nj,p.mD,p.Ke,p.ge,p.ev,p.yh,p.XQ,p.Gk,p.Q2,it.d,st.R,w.uU],styles:[".pdfClass[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:end;margin-right:10px}.hide[_ngcontent-%COMP%]{display:none} .rightText .mat-sort-header-container{display:block!important} .rightText .mat-sort-header-container .mat-sort-header-arrow{float:right} .rightText .mat-sort-header-container .mat-sort-header-button{float:right} .rightTextHide .mat-sort-header-container{display:block!important;position:relative} .rightTextHide .mat-sort-header-container .mat-sort-header-arrow{float:right;opacity:0!important;position:absolute;right:2px;width:100%;height:auto;min-width:100%;color:transparent} .rightTextHide .mat-sort-header-container .mat-sort-header-button{float:right;text-align:right}.uploadInput[_ngcontent-%COMP%]{position:absolute;font-size:50px;opacity:0;right:0;top:0}.sticky-top[_ngcontent-%COMP%]{position:sticky;top:135px;z-index:1020}.dot_bk[_ngcontent-%COMP%]{padding:0!important}.table-scroll-liability[_ngcontent-%COMP%]{height:auto;overflow:auto!important;max-height:600px}.deskLiabilities[_ngcontent-%COMP%]{display:none}@media screen and (min-width: 768px) and (max-width: 991px){.tabViewLiabilities[_ngcontent-%COMP%]{display:none}.deskLiabilities[_ngcontent-%COMP%]{display:block;margin-top:20px}.deskLiabilities[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:300px}.table-scroll-liability[_ngcontent-%COMP%]{height:auto;overflow:auto!important;max-height:600px}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.matshort-text-right[_ngcontent-%COMP%] .mat-sort-header-container{justify-content:end!important}"]}),a})()},73442:(U,D,d)=>{d.r(D),d.d(D,{InsuranceModule:()=>y});var b=d(36895),t=d(39102),x=d(14528),g=d(24006),A=d(49028),f=d(47873),I=d(8277),p=d(94562),S=d(94650);let y=(()=>{class T{}return T.\u0275fac=function(P){return new(P||T)},T.\u0275mod=S.oAB({type:T}),T.\u0275inj=S.cJS({providers:[{provide:f._A,useClass:I.t7,deps:[f.Ad]},{provide:f.sG,useValue:p.c}],imports:[b.ez,t.X,x.q,g.u5,g.UX,A.Q]}),T})()}}]);
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.