1"use strict";(self.webpackChunkmyplanner=self.webpackChunkmyplanner||[]).push([[1134],{43286:(lt,G,l)=>{l.d(G,{N:()=>Z});var g=l(65730),y=l(94650),Y=l(65938),F=l(34793),r=l(4859);let Z=(()=>{class J{constructor(o,B){this.dialogRef=o,this.router=B}ngOnInit(){}updateSetting(){this.router.navigate(["/admin/transactions/mutualFund/settings/manage-credentials/arn-ria-creds"]),this.close(!1)}close(o){o&&g.e.setInvalidCredsTimeZone((new Date).getTime()),this.dialogRef.close()}}return J.\u0275fac=function(o){return new(o||J)(y.Y36(Y.so),y.Y36(F.F0))},J.\u0275cmp=y.Xpm({type:J,selectors:[["app-credentials-error-popup"]],decls:18,vars:0,consts:[[1,"p-20"],[1,"row"],[1,"col-md-10","p-0"],[1,"m-0","pb-16","f-500"],[1,"pt-16","pb-16","mb-0","text-black","l-21","f-16"],[1,"mb-0","text-black","f-16"],[1,"col-md-2","p-0","d-flex","justify-content-end"],[1,"material-icons","c-p",3,"click"],[1,"row","pt-24"],[1,"col-md-12","d-flex","justify-content-end","pr-0","right","text-right"],["mat-button","","mat-dialog-close","",1,"text-custom","f-500","c-p",3,"click"],["mat-button","",1,"text-primary","ml-10","f-500","c-p",3,"click"]],template:function(o,B){1&o&&(y.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),y._uU(4,"UPDATE SETTING"),y.qZA(),y.TgZ(5,"p",4),y._uU(6,"We found that you have provided Invalid User Credentials [Broker code or User code or Password]. You can Update it right away by clicking on the Update button below."),y.qZA(),y.TgZ(7,"p",5),y._uU(8,"Please note that the API Password would be different from the normal password that you use to login to NSE/BSE."),y.qZA()(),y.TgZ(9,"div",6)(10,"i",7),y.NdJ("click",function(){return B.close(!1)}),y._uU(11," close "),y.qZA()()(),y.TgZ(12,"div",8)(13,"div",9)(14,"button",10),y.NdJ("click",function(){return B.close(!0)}),y._uU(15,"IGNORE"),y.qZA(),y.TgZ(16,"button",11),y.NdJ("click",function(){return B.updateSetting()}),y._uU(17,"UPDATE"),y.qZA()()()())},dependencies:[r.lW,Y.ZT]}),J})()},1716:(lt,G,l)=>{l.d(G,{B:()=>X});var g=l(65730),y=l(21856),Y=l(87051),F=l(73799),r=l(94650),Z=l(36895),J=l(34793),W=l(4859);const o=function(){return["/admin/account-billing/homepage"]};function B(P,$){if(1&P){const x=r.EpF();r.TgZ(0,"div",4)(1,"div",5),r._UZ(2,"img",6),r.TgZ(3,"h3",7),r._uU(4," You have a new unpaid invoice. "),r.qZA()(),r.TgZ(5,"div",8)(6,"button",9),r._UZ(7,"img",10),r._uU(8,"View & pay"),r.qZA(),r.TgZ(9,"img",11),r.NdJ("click",function(){r.CHM(x);const N=r.oxw();return r.KtG(N.closeFooter())}),r.qZA()()()}2&P&&(r.xp6(6),r.Q6J("routerLink",r.DdM(1,o)))}function w(P,$){if(1&P){const x=r.EpF();r.TgZ(0,"div",4)(1,"div",5),r._UZ(2,"img",6),r.TgZ(3,"h3",7),r._uU(4," Your unpaid invoice is approaching due date soon. "),r.qZA()(),r.TgZ(5,"div",8)(6,"button",9),r._UZ(7,"img",10),r._uU(8,"View & pay"),r.qZA(),r.TgZ(9,"img",11),r.NdJ("click",function(){r.CHM(x);const N=r.oxw();return r.KtG(N.closeFooter())}),r.qZA()()()}2&P&&(r.xp6(6),r.Q6J("routerLink",r.DdM(1,o)))}function it(P,$){if(1&P){const x=r.EpF();r.TgZ(0,"div",12)(1,"div",5),r._UZ(2,"img",13),r.TgZ(3,"h3",14),r._uU(4),r.qZA()(),r.TgZ(5,"div",8)(6,"button",15),r._UZ(7,"img",16),r._uU(8,"View & pay"),r.qZA(),r.TgZ(9,"img",11),r.NdJ("click",function(){r.CHM(x);const N=r.oxw();return r.KtG(N.closeFooter())}),r.qZA()()()}if(2&P){const x=r.oxw();r.xp6(4),r.AsE(" [ATTENTION - ",x.daysRemaining," days left] Due date of your unpaid invoice is ",x.thirtyDays,". Act fast. "),r.xp6(2),r.Q6J("routerLink",r.DdM(3,o))}}function K(P,$){if(1&P){const x=r.EpF();r.TgZ(0,"div",17)(1,"div",5),r._UZ(2,"img",6),r.TgZ(3,"h3",18),r._uU(4),r.qZA()(),r.TgZ(5,"div",8)(6,"button",19),r._UZ(7,"img",20),r._uU(8,"View & pay"),r.qZA(),r.TgZ(9,"img",11),r.NdJ("click",function(){r.CHM(x);const N=r.oxw();return r.KtG(N.closeFooter())}),r.qZA()()()}if(2&P){const x=r.oxw();r.xp6(4),r.AsE("[URGENT] Your account is overdue by ",x.daysRemaining," days. If no payment is made it will be locked on ",x.lockdate,"."),r.xp6(2),r.Q6J("routerLink",r.DdM(3,o))}}function st(P,$){if(1&P){const x=r.EpF();r.TgZ(0,"div",21)(1,"div",5),r._UZ(2,"img",6),r.TgZ(3,"h3",7),r._uU(4," [IMPORTANT] Your account has been locked for non payment of dues."),r.qZA()(),r.TgZ(5,"div",8)(6,"button",22),r._UZ(7,"img",23),r._uU(8,"View & pay"),r.qZA(),r.TgZ(9,"img",11),r.NdJ("click",function(){r.CHM(x);const N=r.oxw();return r.KtG(N.closeFooter())}),r.qZA()()()}2&P&&(r.xp6(6),r.Q6J("routerLink",r.DdM(1,o)))}function rt(P,$){if(1&P){const x=r.EpF();r.TgZ(0,"div",21)(1,"div",5),r._UZ(2,"img",6),r.TgZ(3,"h3",24),r._uU(4," [IMPORTANT] Your IFANOW subscription has been cancelled for non payment of dues."),r.qZA()(),r.TgZ(5,"div",8)(6,"button",25),r._UZ(7,"img",23),r._uU(8,"Resubscribe"),r.qZA(),r.TgZ(9,"img",11),r.NdJ("click",function(){r.CHM(x);const N=r.oxw();return r.KtG(N.closeFooter())}),r.qZA()()()}2&P&&(r.xp6(6),r.Q6J("routerLink",r.DdM(1,o)))}let X=(()=>{class P{constructor(x,f,N,A,M,v,S){this.auth=x,this.enumDataService=f,this.datePipe=N,this.accountService=A,this.loginService=M,this.router=v,this.activatedRoute=S,this.show
1Fifteen=!1,this.showTwentyFive=!1,this.showThirty=!1,this.accountStatus=null,this.lock=!1}ngOnInit(){this.userData=g.e.getUserInfo(),this.updateUserInfo(),this.getcontent()}updateUserInfo(){const x={advisorId:g.e.getAdvisorId()};this.accountService.updateUser(x).subscribe(f=>{if(f){let N=Object.assign(this.userData,f);this.auth.setUserInfo(N),this.userData=g.e.getUserInfo(),this.calculateDates()}})}getcontent(){this.loginService.getFreeAccessContentDetails({status:this.userData.offerId}).subscribe(f=>{this.enumDataService.PRODUCTION||console.log(f),this.contentDetails=f})}calculateDates(){this.accountStatus=this.userData.accountStatus;let x=new Date,f=new Date(this.userData.lockDate),N=new Date(this.userData.paidUpto);this.invoiceDate=this.datePipe.transform(N,"dd/MM/yyyy"),this.lockdate=this.datePipe.transform(f,"dd/MM/yyyy"),this.lock=this.differenceBetweenTwoDates(f,x)<=0;let A=this.futureDate(N,15),M=this.futureDate(N,25),v=this.futureDate(N,30);this.thirtyDays=this.datePipe.transform(v,"dd/MM/yyyy"),this.showFifteen=this.flagDateOne(N,x,A),this.showTwentyFive=this.flagDateOne(A,x,M),this.showThirty=this.flagDateOne(M,x,v),this.lockThirty=this.flagDateOne(v,x,f),this.daysRemaining=Math.abs(this.differenceBetweenTwoDates(v,x))}differenceBetweenTwoDates(x,f){let N=x.getTime()-f.getTime();return Math.ceil(N/864e5)}flagDateOne(x,f,N){return x.getTime()<f.getTime()&&f.getTime()<N.getTime()}closeFooter(){this.accountStatus=null}futureDate(x,f){return new Date(x.getTime()+24*f*60*60*1e3)}}return P.\u0275fac=function(x){return new(x||P)(r.Y36(g.e),r.Y36(F.p),r.Y36(Z.uU),r.Y36(Y.B),r.Y36(y.r6),r.Y36(J.F0),r.Y36(J.gz))},P.\u0275cmp=r.Xpm({type:P,selectors:[["app-pricing-footers"]],decls:6,vars:6,consts:[["class","row bottom-fixed-firstfooter pt-12 pb-12 d-none-768",4,"ngIf"],["class","row bottom-fixed-secondfooter pt-12 pb-12 d-none-768",4,"ngIf"],["class","row bottom-fixed-firstfooter bg-ltorange pt-12 pb-12 d-none-768",4,"ngIf"],["class","row bottom-fixed-firstfooter bg-danger pt-12 pb-12 d-none-768",4,"ngIf"],[1,"row","bottom-fixed-firstfooter","pt-12","pb-12","d-none-768"],[1,"col-md-8","col-12","pl-20","mob-pl-15","d-flex"],["src","/assets/images/svg/bottom-danger.svg","width","30"],[1,"mb-0","ml-20","text-white","f-20","mob-pt-15","mt-4"],[1,"col-md-4","col-12","pl-0","text-center-768"],["mat-stroked-button","",1,"bg-white","text-success","h-40","f-16","f-500",3,"routerLink"],["src","https://res.cloudinary.com/futurewise/image/upload/v1635400367/Padlock_gvnkjf.png",1,"pr-8"],["alt","close icon","height","20","src","/assets/images/svg/white-close.svg","width","20",1,"close-icons-pgim",3,"click"],[1,"row","bottom-fixed-secondfooter","pt-12","pb-12","d-none-768"],["src","https://res.cloudinary.com/futurewise/image/upload/v1635408043/Group_tjehzs.png","width","30"],[1,"mb-0","ml-20","text-black","f-20","mob-pt-15"],["mat-stroked-button","",1,"bg-grey-lighter","text-black","h-40","f-16","f-500",3,"routerLink"],["src","https://res.cloudinary.com/futurewise/image/upload/v1635407949/Padlock_icfg1z.png",1,"pr-8"],[1,"row","bottom-fixed-firstfooter","bg-ltorange","pt-12","pb-12","d-none-768"],[1,"mb-0","ml-20","text-white","f-17","mob-pt-15","mt-4"],["mat-stroked-button","",1,"bg-white","text-ltorange","h-40","f-16","f-500",3,"routerLink"],["src","https://res.cloudinary.com/futurewise/image/upload/v1635412606/Padlock_gdzbsz.png",1,"pr-8"],[1,"row","bottom-fixed-firstfooter","bg-danger","pt-12","pb-12","d-none-768"],["mat-stroked-button","",1,"bg-white","text-danger","h-40","f-16","f-500",3,"routerLink"],["src","https://res.cloudinary.com/futurewise/image/upload/v1635405798/Padlock_jz58vy.png",1,"pr-8"],[1,"mb-0","ml-20","text-white","mt-4","f-20","mob-pt-15"],["S","","mat-stroked-button","",1,"bg-white","text-danger","h-40","f-16","f-500",3,"routerLink"]],template:function(x,f){1&x&&(r.YNc(0,B,10,2,"div",0),r.YNc(1,w,10,2,"div",0),r.YNc(2,it,10,4,"div",1),r.YNc(3,K,10,4,"div",2),r.YNc(4,st,10,2,"div",3),r.YNc(5,rt,10,2,"div",3)),2&x&&(r.Q6J("ngIf",2==f.accountStatus&&f.showFifteen&&0==f.userData.adminAdvisorId),r.xp6(1),r.Q6J("ngIf",2==f.accountStatus&&f.showTwentyFive&&0==f.userData.adminAdvisorId),r.xp6(1),r.Q6J("ngIf",2==f.accountStatus&&f.showThirty&&0==f.userData.adminAdvisorId),r.xp6(1),r.Q6J("ngIf",2==f.accountStatus&&f.lockThirty&&0==f.userData.adminAdvisorId),r.xp6(1),r.Q6J("ngIf",2==f.accountStatus&&f.lock&&0==f.userData.adminAdvisorId),r.xp6(1),r.Q6J("ngIf",(0==f.accountStatus||3==f.accountStatus)&&f.lock&&0==f.userData.adminAdvisorId))},dependencies:[W.lW,Z.O5,J.rH],styles:[".bottom-fixed-firstfooter[_ngcontent-%COMP%]{background-color:#2fd17c;position:fixed;bottom:0;align-items:center;z-index:100;width:100%}.bottom-fixed-firstfooter[_ngcontent-%COMP%] .close-icons-pgim[_ngcontent-%COMP%]{position:absolute;top:11px;left:185px;cursor:pointer}.bottom-fixed-secondfooter[_ngcontent-%COMP%]{background-color:#ffe050;position:fixed;bottom:0;align-items:center;z-index:9;width:100%}.bottom-fixed-secondfooter[_ngcontent-%COMP%] .close-icons-pgim[_ngcontent-%COMP%]{position:absolute;top:11px;left:185px;cursor:pointer}.bottom-fixed-thirdfooter[_ngcontent-%COMP%]{background-color:#ffc350;position:fixed;bottom:0;align-items:center;z-index:9;width:100%}.bottom-fixed-thirdfooter[_ngcontent-%COMP%] .close-icons-pgim[_ngcontent-%COMP%]{position:absolute;top:11px;left:185px;cursor:pointer}"]}),P})()},17806:(lt,G,l)=>{l.d(G,{I:()=>r});var g=l(34793),y=l(7978),Y=l(94650);const F=[{path:"",component:y.M}];let r=(()=>{class Z{}
1return Z.\u0275fac=function(W){return new(W||Z)},Z.\u0275mod=Y.oAB({type:Z}),Z.\u0275inj=Y.cJS({imports:[g.Bz.forChild(F),g.Bz]}),Z})()},7978:(lt,G,l)=>{l.d(G,{M:()=>Wd});var g=l(6682),y=l(44835),Y=l(7461),F=l(53626),r=l(46783),Z=l(65730),J=l(70591),W=l(41074),o=l(74226),B=l(54441),w=l(67241),it=l(38491),K=l(32107),st=l(84829),rt=l(77491),X=l(93584),P=l(33580),$=l(18457),x=l(79715),f=l(24006),N=l(85215),A=l(80363),M=l(65923),v=l(28914),S=l(5029),D=l(93470),nt=l(73799),xt=l(70661),Tt=l(8929),Zt=l(61715),Dt=l(16555),Ct=l(99086),yt=l(43286),wt=l(98182),At=l(106),Mt=l(85075),It=l(58809),St=l(2027),Ut=l(87051),kt=l(6606),Ot=l(70814),Nt=l(39899),qt=l(66581),Pt=l(96071),Lt=l(100),Et=l(55313),Jt=l(3941),Ft=l(33476),tt=l(37340),gt=l(7625),Qt=l(52235),t=l(94650),ut=l(80853),Rt=l(65938),_t=l(34793),Yt=l(23767),et=l(36895),Bt=l(47849),jt=l(48242),ht=l(47957),Kt=l(47873),Gt=l(4859),ft=l(90811),Wt=l(56709),$t=l(97392),_=l(59549),h=l(284),d=l(28255),p=l(73162),u=l(71948),b=l(90455),k=l(3848),q=l(10266),Q=l(33152),E=l(81638),C=l(21112),ot=l(95315),dt=l(1716),_e=l(29322);const pe=["view1"],me=["view2"],ge=["view3"];function ue(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",169)(1,"div",170)(2,"p",84),t._uU(3,"1-1 Demo"),t.qZA()(),t.TgZ(4,"div")(5,"button",171),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.scheduleDemo("Request"))}),t._uU(6," Request A Demo "),t.qZA()()()}if(2&i){const e=t.oxw();
1t.xp6(5),t.Q6J("disabled",e.enumDataService.Vapt)}}function he(i,a){1&i&&(t.TgZ(0,"h5",172),t._uU(1," Key metrics "),t.qZA())}function fe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"img",176),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.toggleUnmask(!0))}),t.qZA()}}function ve(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"img",177),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.toggleUnmask(!1))}),t.qZA()}}function be(i,a){if(1&i&&(t.TgZ(0,"div",173),t.YNc(1,fe,1,0,"img",174),t.YNc(2,ve,1,0,"ng-template",null,175,t.W1O),t.qZA()),2&i){const e=t.MAs(3),n=t.oxw();t.xp6(1),t.Q6J("ngIf",!n.isUnmasked)("ngIfElse",e)}}function xe(i,a){if(1&i&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2),t.qZA(),t._UZ(3,"br"),t.TgZ(4,"span"),t._uU(5),t.qZA(),t.BQk()),2&i){const e=t.oxw(4);t.xp6(2),t.hij("\u20b9 ",e.mfAumValue.split(" ")[0],""),t.xp6(3),t.Oqu(e.mfAumValue.split(" ")[1])}}function Te(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u20b9 0"),t.qZA())}function Ze(i,a){if(1&i&&(t.ynx(0),t.YNc(1,xe,6,2,"ng-container",30),t.YNc(2,Te,2,0,"ng-template",null,189,t.W1O),t.BQk()),2&i){const e=t.MAs(3),n=t.oxw(3);t.xp6(1),t.Q6J("ngIf",n.mfAumValue)("ngIfElse",e)}}function De(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Ze,4,2,"ng-container",117),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.keyMatrixFlag)}}function Ce(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}function ye(i,a){if(1&i&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2),t.qZA(),t._UZ(3,"br"),t.TgZ(4,"span"),t._uU(5),t.qZA(),t.BQk()),2&i){const e=t.oxw(4);t.xp6(2),t.hij("\u20b9 ",e.keyMetricSipCount.sipBook.split(" ")[0],""),t.xp6(3),t.Oqu(e.keyMetricSipCount.sipBook.split(" ")[1])}}function we(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u20b9 0"),t.qZA())}function Ae(i,a){if(1&i&&(t.ynx(0),t.YNc(1,ye,6,2,"ng-container",30),t.YNc(2,we,2,0,"ng-template",null,190,t.W1O),t.BQk()),2&i){const e=t.MAs(3),n=t.oxw(3);t.xp6(1),t.Q6J("ngIf",n.keyMetricSipCount.sipBook)("ngIfElse",e)}}function Me(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Ae,4,2,"ng-container",117),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.keyMatrixFlag)}}function Ie(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}function Se(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Oqu(e.keyMetricJson.clientCount?e.keyMetricJson.clientCount:"0")}}function Ue(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Se,2,1,"span",117),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.keyMatrixFlag)}}function ke(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}function Oe(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Oqu(e.keyMetricJson.InvestorCount?e.keyMetricJson.InvestorCount:"0")}}function Ne(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Oe,2,1,"span",117),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.keyMatrixFlag)}}function qe(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}const pt=function(i){return{"event-none":i}},I=function(i){return{height24:i}};function Pe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",178)(1,"div",179),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.goToBackOffice(0))}),t.TgZ(2,"p",180),t._uU(3,"MF AUM"),t.qZA(),t.TgZ(4,"div",28)(5,"div",29)(6,"h3",181),t.YNc(7,De,2,1,"ng-container",30),t.YNc(8,Ce,2,0,"ng-template",null,182,t.W1O),t.qZA()()()(),t.TgZ(10,"div",183),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.goToBackOffice(2))}),t.TgZ(11,"p",33),t._uU(12,"SIP book"),t.qZA(),t.TgZ(13,"div",28)(14,"div",29)(15,"h3",181),t.YNc(16,Me,2,1,"ng-container",30),t.YNc(17,Ie,2,0,"ng-template",null,184,t.W1O),t.qZA()()()(),t.TgZ(19,"div",185),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.goToPeopleSection())}),t.TgZ(20,"p",33),t._uU(21,"Clients"),t.qZA(),t.TgZ(22,"div",28)(23,"div",29)(24,"h3",181),t.YNc(25,Ue,2,1,"ng-container",30),t.YNc(26,ke,2,0,"ng-template",null,186,t.W1O),t.qZA()()()(),t.TgZ(28,"div",187)(29,"p",180),t._uU(30,"MF Investors"),t.qZA(),t.TgZ(31,"h3",27)(32,"div",28)(33,"div",29),t.YNc(34,Ne,2,1,"ng-container",30),t.YNc(35,qe,2,0,"ng-template",null,188,t.W1O),t.qZA()()()()()}if(2&i){const e=t.MAs(9),n=t.MAs(18),s=t.MAs(27),c=t.MAs(36),m=t.oxw();t.Q6J("appSkeletonLoading",m.keyMatrixFlag),t.xp6(1),t.Q6J("ngClass",t.VKq(16,pt,m.keyMatrixFlag||m.redirectFlag)),t.xp6(4),t.Q6J("ngClass",t.VKq(18,I,m.keyMatrixFlag)),t.xp6(2),t.Q6J("ngIf",m.isUnmasked)("ngIfElse",e),t.xp6(3),t.Q6J("ngClass",t.VKq(20,pt,m.keyMatrixFlag||m.redirectFlag)),t.xp6(4),t.Q6J("ngClass",t.VKq(22,I,m.keyMatrixFlag)),t.xp6(2),t.Q6J("ngIf",m.isUnmasked)("ngIfElse",n),t.xp6(3),t.Q6J("ngClass",t.VKq(24,pt,m.keyMatrixFlag||m.redirectFlag)),t.xp6(4),t.Q6J("ngClass",t.VKq(26,I,m.keyMatrixFlag)),t.xp6(2),t.Q6J("ngIf",m.isUnmasked)("ngIfElse",s),t.xp6(8),t.Q6J("ngClass",t.VKq(28,I,m.keyMatrixFlag)),t.xp6(1),t.Q6J("ngIf",m.isUnmasked)("ngIfElse",c)}}function Le(i,a){1&i&&(t.TgZ(0,"h5",19),t._uU(1,"Activity overview"),t.qZA())}function Ee(i,a){if(1&i&&(t.TgZ(0,"div",191)(1,"div",192)(2,"p",33),t._uU(3,"Awaiting consent "),t.qZA(),t.TgZ(4,"h3",27)(5,"div",28)(6,"div",29),t._uU(7," 78 "),t.qZA()()()(),t.TgZ(8,"div",193)(9,"p",33),t._uU(10,"Advice to be reviewed "),t.qZA(),t.TgZ(11,"h3",27)(12,"div",28)(13,"div",29),t._uU(14," 41 "),t.qZA()()()(),t.TgZ(15,"div",194)(16,"p",33),t._uU(17,"Money to be deployed"),t.qZA(),t.TgZ(18,"h3",27)(19,"div",28)(20,"div",29),t._uU(21," 712.35
1L "),t.qZA()()()(),t.TgZ(22,"div",37)(23,"p",33),t._uU(24,"Action plans in process"),t.qZA(),t.TgZ(25,"h3",27)(26,"div",28)(27,"div",29),t._uU(28," 4 "),t.qZA()()()()()),2&i){const e=t.oxw();t.xp6(6),t.Q6J("ngClass",t.VKq(4,I,e.isLoading)),t.xp6(7),t.Q6J("ngClass",t.VKq(6,I,e.isLoading)),t.xp6(7),t.Q6J("ngClass",t.VKq(8,I,e.isLoading)),t.xp6(7),t.Q6J("ngClass",t.VKq(10,I,e.isLoading))}}function Je(i,a){1&i&&(t.TgZ(0,"h5",19),t._uU(1,"Subscription overview"),t.qZA())}function Fe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"img",197),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.togglesubscriptionOverview(!0))}),t.qZA()}}function Qe(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"img",198),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.togglesubscriptionOverview(!1))}),t.qZA()}}function Re(i,a){if(1&i&&(t.TgZ(0,"div",173),t.YNc(1,Fe,1,0,"img",195),t.YNc(2,Qe,1,0,"ng-template",null,196,t.W1O),t.qZA()),2&i){const e=t.MAs(3),n=t.oxw();t.xp6(1),t.Q6J("ngIf",!n.unmaskFlag)("ngIfElse",e)}}function Ye(i,a){1&i&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2,"****"),t.qZA(),t.BQk())}function Be(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.hij("",e.dataSourceClientWithSub&&e.dataSourceClientWithSub.hasOwnProperty("activeClientPer")?e.dataSourceClientWithSub.activeClientPer:0,"%")}}function je(i,a){if(1&i&&t.YNc(0,Be,2,1,"span",117),2&i){const e=t.oxw(2);t.Q6J("ngIf",!e.subOverviewFlag)}}function Ke(i,a){1&i&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2,"****"),t.qZA(),t.BQk())}function Ge(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Oqu(null==e.dataSourceClientWithSub?null:e.dataSourceClientWithSub.cancelledSubscriptions)}}function We(i,a){if(1&i&&t.YNc(0,Ge,2,1,"span",117),2&i){const e=t.oxw(2);t.Q6J("ngIf",!e.subOverviewFlag)}}function $e(i,a){1&i&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2,"****"),t.qZA(),t.BQk())}function He(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u20b9"),t.qZA())}function Ve(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Oqu(e.totalSales)}}function ze(i,a){if(1&i&&(t.YNc(0,He,2,0,"span",117),t.YNc(1,Ve,2,1,"span",117)),2&i){const e=t.oxw(2);t.Q6J("ngIf",!e.subOverviewFlag&&0!==e.totalSales),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag)}}function Xe(i,a){1&i&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2,"****"),t.qZA(),t.BQk())}function ti(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u20b9"),t.qZA())}function ei(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Oqu(e.feeRecieved)}}function ii(i,a){if(1&i&&(t.YNc(0,ti,2,0,"span",117),t.YNc(1,ei,2,1,"span",117)),2&i){const e=t.oxw(2);t.Q6J("ngIf",!e.subOverviewFlag&&0!==e.totalSales),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag)}}function ni(i,a){if(1&i&&(t.TgZ(0,"div",199)(1,"div",24)(2,"p",33),t._uU(3,"Clients with "),t._UZ(4,"br",26),t._uU(5," subscription"),t.qZA(),t.TgZ(6,"h3",27)(7,"div",28)(8,"div",29),t.YNc(9,Ye,3,0,"ng-container",30),t.YNc(10,je,1,1,"ng-template",null,200,t.W1O),t.qZA()()()(),t.TgZ(12,"div",32)(13,"p",33),t._uU(14,"Subscriptions "),t._UZ(15,"br",26),t._uU(16," cancelled"),t.qZA(),t.TgZ(17,"h3",27)(18,"div",28)(19,"div",29),t.YNc(20,Ke,3,0,"ng-container",30),t.YNc(21,We,1,1,"ng-template",null,201,t.W1O),t.qZA()()()(),t.TgZ(23,"div",35)(24,"p",33),t._uU(25,"Total fees "),t._UZ(26,"br",26),t._uU(27," charged"),t.qZA(),t.TgZ(28,"h3",27)(29,"div",28)(30,"div",29),t.YNc(31,$e,3,0,"ng-container",30),t.YNc(32,ze,2,2,"ng-template",null,202,t.W1O),t.qZA()()()(),t.TgZ(34,"div",37)(35,"p",33),t._uU(36,"Fees "),t._UZ(37,"br",26),t._uU(38," received"),t.qZA(),t.TgZ(39,"h3",27)(40,"div",28)(41,"div",29),t.YNc(42,Xe,3,0,"ng-container",30),t.YNc(43,ii,2,2,"ng-template",null,203,t.W1O),t.qZA()()()()()),2&i){const e=t.MAs(11),n=t.MAs(22),s=t.MAs(33),c=t.MAs(44),m=t.oxw();t.Q6J("appSkeletonLoading",m.subOverviewFlag),t.xp6(8),t.Q6J("ngClass",t.VKq(13,I,m.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!m.unmaskFlag)("ngIfElse",e),t.xp6(10),t.Q6J("ngClass",t.VKq(15,I,m.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!m.unmaskFlag)("ngIfElse",n),t.xp6(10),t.Q6J("ngClass",t.VKq(17,I,m.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!m.unmaskFlag)("ngIfElse",s),t.xp6(10),t.Q6J("ngClass",t.VKq(19,I,m.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!m.unmaskFlag)("ngIfElse",c)}}function oi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"img",204),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.toggledocumentOverview(!0))}),t.qZA()}}function ai(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"img",205),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.toggledocumentOverview(!1))}),t.qZA()}}function si(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.documentSizeData.familyMemberCount?e.documentSizeData.familyMemberCount:"0")}}function ri(i,a){if(1&i&&(t.ynx(0),t.YNc(1,si,2,1,"span",117),t.BQk()),2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!e.docOverviewFlag)}}function di(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}function ci(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.documentSizeData.totalClients)}}function li(i,a){if(1&i&&(t.ynx(0),t.YNc(1,ci,2,1,"span",117),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",!e.docOverviewFlag)}}function _i(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}function pi(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.TgZ(2,"span",206),t._uU(3," MB"),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(1),t.hij("",e.documentSizeData.totalMbs," ")}}function mi(i,a){if(1&i&&(t.ynx(0),t.YNc(1,pi,4,1,"span",117),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",!e.docOverviewFlag)}}function gi(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}function ui(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.documentSizeData.totalDocs)}}function hi(i,a){if(1&i&&(t.ynx(0),t.YNc(1,ui,2,1,"span",117),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",!e.docOverviewFlag)}}function fi(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"****"),t.qZA())}function vi(i,a){if(1&i&&(t.TgZ(0,"div",207)(1,"h3",208),t._uU(2),t.qZA(),t.TgZ(3,"p",209),t._uU(4,"Your business dashboard is ready!"),t.qZA()()),2&i){const e=t.oxw();
1t.xp6(2),t.AsE("",e.greeting," ",e.advisorName,"")}}function bi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.scheduleDemo("Reschedule"))}),t._uU(1,"Reschedule"),t.qZA()}}function xi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.viewAll(s.allDemos))}),t._uU(1,"View All "),t.qZA()}}function Ti(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.cancelDemo(s.closestDemos))}),t._uU(1,"Cancel"),t.qZA()}}function Zi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",210)(1,"div",211)(2,"div",87)(3,"div"),t._UZ(4,"img",88),t.qZA(),t.TgZ(5,"div",212)(6,"p",90),t._uU(7,"Demo Scheduled"),t.qZA(),t.TgZ(8,"p",91),t._uU(9),t.qZA(),t.TgZ(10,"p",93),t._uU(11),t.qZA()()(),t.TgZ(12,"div",213)(13,"div",214),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.joinDemo(s.closestDemos))}),t._uU(14,"Join Demo"),t.qZA(),t.TgZ(15,"div",96),t._UZ(16,"img",97),t.qZA(),t.TgZ(17,"mat-menu",null,98)(19,"button",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.scheduleDemo("Request"))}),t._uU(20,"Request a Demo"),t.qZA(),t.YNc(21,bi,2,0,"button",100),t.YNc(22,xi,2,0,"button",100),t.YNc(23,Ti,2,0,"button",100),t.qZA()()()()}if(2&i){const e=t.MAs(18),n=t.oxw();t.xp6(9),t.AsE("",null==n.closestDemos?null:n.closestDemos.moduleName," Demo | ",null==n.closestDemos?null:n.closestDemos.rmName,""),t.xp6(2),t.AsE(" ",(null==n.closestDemos?null:n.closestDemos.slotStartFrom)+" - "+(null==n.closestDemos?null:n.closestDemos.slotEndTo)," / ",n.showformateDate," "),t.xp6(4),t.Q6J("matMenuTriggerFor",e),t.xp6(6),t.Q6J("ngIf",n.rescheduleBtn),t.xp6(1),t.Q6J("ngIf",n.rescheduleBtn),t.xp6(1),t.Q6J("ngIf",n.rescheduleBtn)}}const Di=function(){return["/admin/transactions/smallcase/overview"]};function Ci(i,a){1&i&&(t.TgZ(0,"div",216)(1,"div"),t._UZ(2,"img",217),t.qZA(),t.TgZ(3,"div",218)(4,"div",219)(5,"p",220),t._uU(6,"This"),t.qZA(),t._UZ(7,"img",221),t.TgZ(8,"p",222),t._uU(9,"invest in"),t.qZA(),t._UZ(10,"img",223),t.qZA(),t.TgZ(11,"p",224),t._uU(12,"Going live on "),t.TgZ(13,"span",225),t._uU(14,"IFANOW"),t.qZA(),t._uU(15," during the "),t.TgZ(16,"span",225),t._uU(17,"Muhurat trading session*"),t.qZA(),t._uU(18,","),t._UZ(19,"br"),t._uU(20," a perfect start for your festive investments."),t.qZA(),t.TgZ(21,"div",226)(22,"button",227),t._uU(23,"GO TO SMALLCASE"),t.qZA()(),t.TgZ(24,"p",228),t._uU(25," *Friday, November 01, 2024 from 6:15 pm onwards."),t.qZA(),t.TgZ(26,"p",229)(27,"a",230),t._uU(28,"Click here"),t.qZA(),t._uU(29," to take a survey to help us better shape the product."),t.qZA()()()),2&i&&(t.xp6(22),t.Q6J("routerLink",t.DdM(1,Di)))}function yi(i,a){1&i&&t._UZ(0,"div",231)}function wi(i,a){if(1&i&&t._UZ(0,"img",240),2&i){const e=t.oxw().$implicit;t.Q6J("ngSrc",e.imageUrl)("alt",e.imageTitle)}}function Ai(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,wi,1,2,"img",239),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",1===e.imageOrder)}}const oe=function(i,a,e,n){return{"background-color":i,color:a,"border-width":e,"border-style":n}};function Mi(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",241),t._uU(2),t.qZA()()),2&i){const e=t.oxw(3).$implicit;t.xp6(1),t.Q6J("ngStyle",t.l5B(2,oe,e.widgetStatusBannerModel.bannerBackgroundColor||"transparent",e.widgetStatusBannerModel.bannerFontColor,e.widgetStatusBannerModel.bannerBorderThickness+"px",1===e.widgetStatusBannerModel.bannerBorderStyle?"solid":"dashed")),t.xp6(1),t.Oqu(e.widgetStatusBannerModel.bannerText)}}const Ht=function(i,a,e,n,s){return{"font-size":i,"line-height":a,"text-align":e,"font-weight":n,color:s}};function Ii(i,a){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"div",242),t.qZA()),2&i){const e=t.oxw(3).$implicit;t.xp6(1),t.Q6J("ngStyle",t.qbA(2,Ht,e.widgetSubTitleMappingModel.subTitleFontSize+"px",e.widgetSubTitleMappingModel.subTitleFontLineSpacing+"px",1===e.widgetSubTitleMappingModel.subTitleFontAlignment?"left":2===e.widgetTitleFontAlignment?"center":"right",e.widgetSubTitleMappingModel.subTitleFontStyle,e.subTitleFontColor))("innerHTML",e.widgetSubTitleMappingModel.subTitle,t.oJD)}}const ae=function(i,a,e){return{"font-weight":i,color:a,"font-size":e}}
1;function Si(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",243),t._uU(2),t.qZA()()),2&i){const e=t.oxw(3).$implicit;t.xp6(1),t.Q6J("ngStyle",t.kEZ(2,ae,e.widgetCtaMappingModel.ctaFontStyle,e.widgetCtaMappingModel.ctaFontColor,e.widgetCtaMappingModel.ctaFontSize+"px")),t.xp6(1),t.hij("",e.widgetCtaMappingModel.ctaText," ")}}const Vt=function(i,a,e){return{"border-color":i,"background-color":a,color:e}};function Ui(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",246),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit,c=t.oxw(4);return t.KtG(c.onButtonClickwidget(s))}),t._uU(1),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.Q6J("ngStyle",t.kEZ(2,Vt,e.buttonBorderColor,e.buttonColor,e.fontColor)),t.xp6(1),t.hij(" ",e.buttonName,"")}}function ki(i,a){if(1&i&&(t.TgZ(0,"div",244),t.YNc(1,Ui,2,6,"button",245),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",1===e.buttonOrder)}}function Oi(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",246),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit,c=t.oxw(4);return t.KtG(c.onButtonClickwidget(s))}),t._uU(1),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.Q6J("ngStyle",t.kEZ(2,Vt,e.buttonBorderColor,e.buttonColor,e.fontColor)),t.xp6(1),t.hij(" ",e.buttonName," ")}}function Ni(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Oi,2,6,"button",247),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",2===e.buttonOrder)}}const se=function(i,a,e,n,s){return{"background-color":i,"background-image":a,"border-color":e,"border-width":n,"border-style":s}};function qi(i,a){if(1&i&&(t.ynx(0),t.TgZ(1,"div",234)(2,"div",235),t.YNc(3,Ai,2,1,"div",45),t.YNc(4,Mi,3,7,"div",117),t.qZA(),t.TgZ(5,"div")(6,"p",236),t._uU(7),t.qZA(),t.YNc(8,Ii,2,8,"div",117),t.TgZ(9,"p",237),t._uU(10),t.qZA(),t.TgZ(11,"div",235),t.YNc(12,Si,3,6,"div",117),t.TgZ(13,"div",87),t.YNc(14,ki,2,1,"div",238),t.YNc(15,Ni,2,1,"div",45),t.qZA()()()(),t.BQk()),2&i){const e=t.oxw(2),n=e.index,s=e.$implicit,c=t.oxw();t.xp6(1),t.ekj("fade-in",n===c.currentIndex)("fade-out",n!==c.currentIndex),t.Q6J("ngStyle",t.qbA(14,se,s.widgetBackgroundColor||"transparent","url("+s.widgetBackgroundImgUrl+")",s.widgetBorderMappingModel.borderColor,s.widgetBorderMappingModel.borderThickness+"px",1===s.widgetBorderMappingModel.borderStyle?"solid":"dashed")),t.xp6(2),t.Q6J("ngForOf",s.widgetImageMappingModelList),t.xp6(1),t.Q6J("ngIf",s.widgetStatusBannerModel&&c.isNotEmpty(s.widgetStatusBannerModel)),t.xp6(2),t.Q6J("ngStyle",t.qbA(20,Ht,s.widgetTitleFontSize+"px",s.widgetTitleFontLineSpacing+"px",1===s.widgetTitleFontAlignment?"left":2===s.widgetTitleFontAlignment?"center":"right",s.widgetTitleFontStyle,s.widgetTitleFontColor)),t.xp6(1),t.hij(" ",s.widgetTitle," "),t.xp6(1),t.Q6J("ngIf",s.widgetSubTitleMappingModel&&c.isNotEmpty(s.widgetSubTitleMappingModel)),t.xp6(2),t.Oqu(s.widgetShortBody),t.xp6(2),t.Q6J("ngIf",s.widgetCtaMappingModel&&c.isNotEmpty(s.widgetCtaMappingModel)),t.xp6(2),t.Q6J("ngForOf",s.widgetButtonMappingModelList),t.xp6(1),t.Q6J("ngForOf",s.widgetButtonMappingModelList)}}function Pi(i,a){if(1&i&&t._UZ(0,"img",256),2&i){const e=t.oxw().$implicit;t.Q6J("src",e.imageUrl,t.LSH)("alt",e.imageTitle)}}function Li(i,a){if(1&i&&(t.TgZ(0,"div",254),t.YNc(1,Pi,1,2,"img",255),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",1===e.imageOrder)}}const Ei=function(i,a,e,n,s){return{"font-size":i,"line-height":a,"text-align":e,"font-family":n,color:s}};function Ji(i,a){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"div",242),t.qZA()),2&i){const e=t.oxw(3).$implicit;t.xp6(1),t.Q6J("ngStyle",t.qbA(2,Ei,e.widgetSubTitleMappingModel.subTitleFontSize+"px",e.widgetSubTitleMappingModel.subTitleFontLineSpacing+"px",1===e.widgetSubTitleMappingModel.subTitleFontAlignment?"left":2===e.widgetTitleFontAlignment?"center":"right",e.widgetSubTitleMappingModel.subTitleFontStyle.toLowerCase(),e.subTitleFontColor))("innerHTML",e.widgetSubTitleMappingModel.subTitle,t.oJD)}}function Fi(i,a){if(1&i&&(t.TgZ(0,"div",87)(1,"p",241),t._uU(2),t.qZA()()),2&i){const e=t.oxw(3).$implicit;t.xp6(1),t.Q6J("ngStyle",t.l5B(2,oe,e.widgetStatusBannerModel.bannerBackgroundColor||"transparent",e.widgetStatusBannerModel.bannerFontColor,e.widgetStatusBannerModel.bannerBorderThickness+"px",1===e.widgetStatusBannerModel.bannerBorderStyle?"solid":"dashed")),t.xp6(1),t.hij(" ",e.widgetStatusBannerModel.bannerText,"")}}function Qi(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",243),t._uU(2),t.qZA()()),2&i){const e=t.oxw(3).$implicit;t.xp6(1),t.Q6J("ngStyle",t.kEZ(2,ae,e.widgetCtaMappingModel.ctaFontStyle+"px",e.widgetCtaMappingModel.ctaFontColor,e.widgetCtaMappingModel.ctaFontSize+"px")),t.xp6(1),t.hij("",e.widgetCtaMappingModel.ctaText," ")}}function Ri(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div")(1,"button",246),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(4);return t.KtG(m.onButtonClickwidget(c))}),t._uU(2),t.qZA()()}if(2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngStyle",t.kEZ(2,Vt,e.buttonBorderColor,e.buttonColor,e.fontColor)),t.xp6(1),t.hij(" ",e.buttonName,"")}}function Yi(i,a){if(1&i&&(t.TgZ(0,"div",258),t._UZ(1,"img",259),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("src",e.imageUrl,t.LSH)("alt",e.imageTitle)}}function Bi(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Yi,2,2,"div",257),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",2===e.imageOrder)}}function ji(i,a){if(1&i&&(t.ynx(0),t.TgZ(1,"div",248)(2,"div",249),t.YNc(3,Li,2,1,"div",250),t.TgZ(4,"div")(5,"p",251),t._uU(6),t.qZA(),t.YNc(7,Ji,2,8,"div",117),t.TgZ(8,"p",237),t._uU(9),t.qZA(),t.YNc(10,Fi,3,7,"div",252),t.TgZ(11,"div",253),t.YNc(12,Qi,3,6,"div",117),t.YNc(13,Ri,3,6,"div",45),t.qZA()()(),t.YNc(14,Bi,2,1,"div",45),t.qZA(),t.BQk()),2&i){const e=t.oxw(2),n=e.index,s=e.$implicit,c=t.oxw();
1t.xp6(1),t.ekj("fade-in",n===c.currentIndex)("fade-out",n!==c.currentIndex),t.Q6J("ngStyle",t.qbA(14,se,s.widgetBackgroundColor||"transparent","url("+s.widgetBackgroundImgUrl+")",s.widgetBorderMappingModel.borderColor,s.widgetBorderMappingModel.borderThickness+"px",1===s.widgetBorderMappingModel.borderStyle?"solid":"dashed")),t.xp6(2),t.Q6J("ngForOf",s.widgetImageMappingModelList),t.xp6(2),t.Q6J("ngStyle",t.qbA(20,Ht,s.widgetTitleFontSize+"px",s.widgetTitleFontLineSpacing+"px",1===s.widgetTitleFontAlignment?"left":2===s.widgetTitleFontAlignment?"center":"right",s.widgetTitleFontStyle,s.widgetTitleFontColor)),t.xp6(1),t.Oqu(s.widgetTitle),t.xp6(1),t.Q6J("ngIf",s.widgetSubTitleMappingModel&&c.isNotEmpty(s.widgetSubTitleMappingModel)),t.xp6(2),t.Oqu(s.widgetShortBody),t.xp6(1),t.Q6J("ngIf",s.widgetStatusBannerModel&&c.isNotEmpty(s.widgetStatusBannerModel)),t.xp6(2),t.Q6J("ngIf",s.widgetCtaMappingModel&&c.isNotEmpty(s.widgetCtaMappingModel)),t.xp6(1),t.Q6J("ngForOf",s.widgetButtonMappingModelList),t.xp6(1),t.Q6J("ngForOf",s.widgetImageMappingModelList)}}function Ki(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",233),t.NdJ("mouseenter",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.onHoverIn())})("mouseleave",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.onHoverOut())}),t.YNc(1,qi,16,26,"ng-container",117),t.YNc(2,ji,15,26,"ng-container",117),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",1===e.widgetTypeMasterId),t.xp6(1),t.Q6J("ngIf",2===e.widgetTypeMasterId)}}function Gi(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Ki,3,2,"div",232),t.qZA()),2&i){const e=a.index,n=t.oxw();t.xp6(1),t.Q6J("ngIf",e===n.currentIndex&&!1===n.widgetloader)}}function Wi(i,a){if(1&i&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2," . "),t.qZA(),t.BQk()),2&i){const e=a.index,n=t.oxw(2);t.xp6(1),t.ekj("text-primary",e===n.currentIndex)("text-primitive",e!==n.currentIndex)}}function $i(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",260)(1,"mat-icon",261),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.showPrevCard())}),t._uU(2,"keyboard_arrow_left"),t.qZA(),t.TgZ(3,"p",262),t.YNc(4,Wi,3,4,"ng-container",45),t.qZA(),t.TgZ(5,"mat-icon",261),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.showNextCard())}),t._uU(6,"keyboard_arrow_right"),t.qZA()()}if(2&i){const e=t.oxw();
1t.xp6(4),t.Q6J("ngForOf",e.widgetData)}}function Hi(i,a){if(1&i&&(t.TgZ(0,"div",231)(1,"div",158)(2,"h5",263),t._uU(3,"Asset classes"),t.qZA(),t.TgZ(4,"div",264)(5,"div",265)(6,"div",158)(7,"div",266)(8,"div",28),t._UZ(9,"div",267),t.qZA()(),t.TgZ(10,"div",268)(11,"div",269)(12,"div",28),t._UZ(13,"div",29),t.qZA(),t.TgZ(14,"div",28),t._UZ(15,"div",29),t.qZA(),t.TgZ(16,"div",28),t._UZ(17,"div",29),t.qZA()()()()()()()()),2&i){const e=t.oxw();t.xp6(5),t.Q6J("appSkeletonLoading",e.tabsLoaded.portfolioData.isLoading),t.xp6(8),t.Q6J("ngClass",t.VKq(4,I,e.tabsLoaded.portfolioData.isLoading)),t.xp6(2),t.Q6J("ngClass",t.VKq(6,I,e.tabsLoaded.portfolioData.isLoading)),t.xp6(2),t.Q6J("ngClass",t.VKq(8,I,e.tabsLoaded.portfolioData.isLoading))}}function Vi(i,a){if(1&i&&(t.TgZ(0,"div",277),t._UZ(1,"span",278),t.TgZ(2,"span",279),t._uU(3),t.ALo(4,"number"),t.qZA(),t.TgZ(5,"p",280),t._uU(6),t.qZA()()),2&i){const e=a.$implicit,n=t.oxw(2);t.xp6(1),t.Udp("background-color",e.color),t.xp6(2),t.hij("",t.xi3(4,4,e.y/n.chartTotal*100,"0.2-2"),"%"),t.xp6(3),t.Oqu(e.name)}}function zi(i,a){if(1&i&&(t.TgZ(0,"div",231)(1,"h5",270),t._uU(2," Asset classes"),t.qZA(),t.TgZ(3,"div",271)(4,"div",272)(5,"div",273),t._UZ(6,"div",274),t.qZA(),t.TgZ(7,"div",275),t.YNc(8,Vi,7,7,"div",276),t.qZA()()()()),2&i){const e=t.oxw();
1t.xp6(6),t.Q6J("chart",e.assetAllocationPieConfig),t.xp6(2),t.Q6J("ngForOf",e.newchartData)}}function Xi(i,a){1&i&&(t.TgZ(0,"div",284)(1,"div",285)(2,"div",286)(3,"h3",287),t._uU(4,"Not enough data to display"),t.qZA(),t.TgZ(5,"p",288),t._uU(6," We could not find any Business snapshot to show.There is not enough data to show "),t.qZA()(),t.TgZ(7,"div",289),t._UZ(8,"img",290),t.qZA()()())}const tn=function(i){return{height300:i}};function en(i,a){if(1&i&&(t.TgZ(0,"div",308),t._UZ(1,"div",29),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Q6J("ngClass",t.VKq(1,tn,e.isLoadingGraphData))}}function nn(i,a){1&i&&t._UZ(0,"div",309)}function on(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.AsE(" ",e.monthName," ",e.Year," ")}}const an=function(i){return{width20:i}};function sn(i,a){if(1&i&&(t.TgZ(0,"td",310)(1,"div",28)(2,"div",29),t.YNc(3,on,2,2,"span",117),t.qZA()()()),2&i){const e=t.oxw(3);t.Q6J("ngClass",t.VKq(3,an,e.isLoadingGraphData)),t.xp6(2),t.Q6J("ngClass",t.VKq(5,I,e.isLoadingGraphData)),t.xp6(1),t.Q6J("ngIf",!e.isLoadingGraphData)}}function rn(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.GrossSale)}}function dn(i,a){if(1&i&&(t.TgZ(0,"td",311)(1,"div",28)(2,"div",29),t.YNc(3,rn,2,1,"span",117),t.qZA()()()),2&i){const e=a.$implicit,n=t.oxw(3);t.s9C("matTooltip",e.grossSaleInRupees),t.xp6(2),t.Q6J("ngClass",t.VKq(3,I,n.isLoading)),t.xp6(1),t.Q6J("ngIf",!n.isLoadingGraphData)}}function cn(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.Redemption)}}function ln(i,a){if(1&i&&(t.TgZ(0,"td",311)(1,"div",28)(2,"div",29),t.YNc(3,cn,2,1,"span",117),t.qZA()()()),2&i){const e=a.$implicit,n=t.oxw(3);t.s9C("matTooltip",e.redemptionInRupees),t.xp6(2),t.Q6J("ngClass",t.VKq(3,I,n.isLoading)),t.xp6(1),t.Q6J("ngIf",!n.isLoadingGraphData)}}function _n(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.netSales)}}function pn(i,a){if(1&i&&(t.TgZ(0,"td",312)(1,"div",28)(2,"div",29),t.YNc(3,_n,2,1,"span",117),t.qZA()()()),2&i){const e=a.$implicit,n=t.oxw(3);t.s9C("matTooltip",e.netSalesInRupees),t.xp6(2),t.Q6J("ngClass",t.VKq(3,I,n.isLoading)),t.xp6(1),t.Q6J("ngIf",!n.isLoadingGraphData)}}function mn(i,a){if(1&i&&(t.TgZ(0,"div",291)(1,"div",271)(2,"div",292),t.YNc(3,en,2,3,"div",293),t.YNc(4,nn,1,0,"div",294),t.TgZ(5,"div",295)(6,"div")(7,"div",296)(8,"table",297)(9,"tr",298)(10,"th",299),t._uU(11,"Month"),t.qZA(),t.YNc(12,sn,4,7,"td",300),t.qZA(),t.TgZ(13,"tr")(14,"th",301),t._uU(15,"Gross sales"),t.qZA(),t.YNc(16,dn,4,5,"td",302),t.qZA(),t.TgZ(17,"tr")(18,"th",303),t._uU(19,"Outflow"),t.qZA(),t.YNc(20,ln,4,5,"td",302),t.qZA(),t.TgZ(21,"tr")(22,"th",304),t._uU(23,"Net sales"),t.qZA(),t.YNc(24,pn,4,5,"td",305),t.qZA()()()(),t.TgZ(25,"div",306)(26,"p",307),t._uU(27,"Fig in \u20b9 Lacs "),t.qZA()()()()()()),2&i){const e=t.oxw(2);t.Q6J("appSkeletonLoading",e.isLoadingGraphData),t.xp6(3),t.Q6J("ngIf",e.isLoadingGraphData),t.xp6(1),t.Q6J("ngIf",!e.isLoadingGraphData),t.xp6(4),t.Q6J("appSkeletonLoading",e.isLoadingGraphData),t.xp6(4),t.Q6J("ngForOf",e.displayData),t.xp6(4),t.Q6J("ngForOf",e.displayData),t.xp6(4),t.Q6J("ngForOf",e.displayData),t.xp6(4),t.Q6J("ngForOf",e.displayData)}}function gn(i,a){if(1&i&&(t.TgZ(0,"div",281)(1,"h5",270),t._uU(2," Business snapshot - Mutual funds"),t.qZA(),t.YNc(3,Xi,9,0,"div",282),t.YNc(4,mn,28,8,"div",283),t.qZA()),2&i){const e=t.oxw();
1t.xp6(3),t.Q6J("ngIf",0==e.noData),t.xp6(1),t.Q6J("ngIf",0!=e.noData)}}const un=function(){return["/admin/backoffice-file-upload"]};function hn(i,a){1&i&&(t.TgZ(0,"div",313)(1,"h5",314),t._uU(2," Asset allocation"),t.qZA(),t.TgZ(3,"div",315)(4,"div",316)(5,"div",317)(6,"p",318),t._uU(7,"Once your data is uploaded, this chart will come to life"),t.qZA(),t.TgZ(8,"p",319),t._uU(9,"Let\u2019s get some data in here. There are lot\u2019s of things you can add to your portfolio. Let\u2019s get going."),t.qZA(),t.TgZ(10,"button",320),t._uU(11," Add data "),t.qZA()(),t.TgZ(12,"div",321),t._UZ(13,"img",322),t.qZA()()()()),2&i&&(t.xp6(10),t.Q6J("routerLink",t.DdM(1,un)))}function fn(i,a){if(1&i&&(t.TgZ(0,"h5",340),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.name," ")}}function vn(i,a){if(1&i&&(t.TgZ(0,"h5",341),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.s9C("matTooltip",e.name),t.xp6(1),t.hij(" ",e.shortName," ")}}function bn(i,a){1&i&&(t.TgZ(0,"h5",342),t._uU(1," Anniversary "),t.qZA())}function xn(i,a){1&i&&(t.TgZ(0,"h5",342),t._uU(1," Birthday "),t.qZA())}function Tn(i,a){if(1&i&&(t.TgZ(0,"h5",343),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.name," ")}}function Zn(i,a){1&i&&(t.TgZ(0,"span",288),t._uU(1,"Today"),t.qZA())}function Dn(i,a){1&i&&(t.TgZ(0,"span",288),t._uU(1,"Tomorrow"),t.qZA())}function Cn(i,a){if(1&i&&(t.TgZ(0,"span",288),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" In ",e.daysToGo," days ")}}function yn(i,a){if(1&i&&(t.TgZ(0,"span",288),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.daysToGo," ")}}function wn(i,a){if(1&i&&(t.TgZ(0,"p",344),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.dateToShow,"dd/MM/yyyy")," ")}}function An(i,a){if(1&i&&(t.TgZ(0,"p",344),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.dateToShow,"dd/MM/yyyy")," ")}}function Mn(i,a){if(1&i&&(t.TgZ(0,"p",344),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.age," years ")}}function In(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",326)(1,"div",327),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(2);return t.KtG(m.getClient(c))}),t.TgZ(2,"div",328)(3,"div",329),t.YNc(4,fn,2,1,"h5",330),t.YNc(5,vn,2,2,"h5",331),t.YNc(6,bn,2,0,"h5",332),t.YNc(7,xn,2,0,"h5",332),t.YNc(8,Tn,2,1,"h5",333),t.qZA()(),t.TgZ(9,"div",158)(10,"div",334),t._UZ(11,"img",335),t.qZA(),t.TgZ(12,"div",336)(13,"h5",337),t.YNc(14,Zn,2,0,"span",338),t.YNc(15,Dn,2,0,"span",338),t.YNc(16,Cn,2,1,"span",338),t.YNc(17,yn,2,1,"span",338),t.qZA(),t.YNc(18,wn,3,4,"p",339),t.YNc(19,An,3,4,"p",339),t.YNc(20,Mn,2,1,"p",339),t.qZA()()()()}if(2&i){const e=a.$implicit;t.xp6(4),t.Q6J("ngIf",!e.shortName),t.xp6(1),t.Q6J("ngIf",e.shortName),t.xp6(1),t.Q6J("ngIf",2==e.birthDayOrAnniversary),t.xp6(1),t.Q6J("ngIf",1==e.birthDayOrAnniversary),t.xp6(1),t.Q6J("ngIf",3==e.userType),t.xp6(6),t.Q6J("ngIf",0==e.daysToGo),t.xp6(1),t.Q6J("ngIf",1==e.daysToGo),t.xp6(1),t.Q6J("ngIf",0!=e.daysToGo&&1!=e.daysToGo&&"N/A"!=e.daysToGo),t.xp6(1),t.Q6J("ngIf","N/A"==e.daysToGo),t.xp6(1),t.Q6J("ngIf",1===e.birthDayOrAnniversary),t.xp6(1),t.Q6J("ngIf",2===e.birthDayOrAnniversary),t.xp6(1),t.Q6J("ngIf",1===e.birthDayOrAnniversary)}}function Sn(i,a){if(1&i&&(t.TgZ(0,"div",345)(1,"div",346)(2,"div",158)(3,"div",53)(4,"div",28),t._UZ(5,"div",347),t.qZA()()(),t.TgZ(6,"div",158)(7,"div",348)(8,"div",28),t._UZ(9,"div",349),t.qZA()(),t.TgZ(10,"div",350)(11,"div",28),t._UZ(12,"div",347),t.qZA(),t.TgZ(13,"div",28),t._UZ(14,"div",347),t.qZA()()()(),t.TgZ(15,"div",346)(16,"div",158)(17,"div",53)(18,"div",28),t._UZ(19,"div",347),t.qZA()()(),t.TgZ(20,"div",158)(21,"div",348)(22,"div",28),t._UZ(23,"div",349),t.qZA()(),t.TgZ(24,"div",350)(25,"div",28),t._UZ(26,"div",347),t.qZA(),t.TgZ(27,"div",28),t._UZ(28,"div",347),t.qZA()()()(),t.TgZ(29,"div",346)(30,"div",158)(31,"div",53)(32,"div",28),t._UZ(33,"div",347),t.qZA()()(),t.TgZ(34,"div",158)(35,"div",348)(36,"div",28),t._UZ(37,"div",349),t.qZA()(),t.TgZ(38,"div",350)(39,"div",28),t._UZ(40,"div",347),t.qZA(),t.TgZ(41,"div",28),t._UZ(42,"div",347),t.qZA()()()()()),2&i){const e=t.oxw(2);t.Q6J("appSkeletonLoading",e.isBirhtdayLoader)}}function Un(i,a){if(1&i&&(t.TgZ(0,"div",52)(1,"div",53)(2,"h5",54),t._uU(3,"Birthdays & Anniversaries"),t.qZA(),t.TgZ(4,"div",323),t.YNc(5,In,21,12,"div",324),t.qZA(),t.YNc(6,Sn,43,1,"div",325),t.qZA()()),2&i){const e=t.oxw();
1t.xp6(5),t.Q6J("ngForOf",e.birthdayAnniList),t.xp6(1),t.Q6J("ngIf",e.isBirhtdayLoader)}}function kn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"mat-option",59)(1,"div",351),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw();return t.KtG(m.openFactsheet(c))}),t.TgZ(2,"p",352),t._uU(3),t.qZA(),t.TgZ(4,"div",353)(5,"div",354)(6,"p",355),t._uU(7,"Latest NAV"),t.qZA(),t.TgZ(8,"p",356),t._uU(9),t.qZA()(),t.TgZ(10,"div",354)(11,"p",355),t._uU(12,"Previous NAV"),t.qZA(),t.TgZ(13,"p",356),t._uU(14),t.qZA()(),t.TgZ(15,"div",354)(16,"p",355),t._uU(17,"52 Week NAV High"),t.qZA(),t.TgZ(18,"p",356),t._uU(19),t.qZA()(),t.TgZ(20,"div",354)(21,"p",355),t._uU(22,"52 Week NAV Low"),t.qZA(),t.TgZ(23,"p",356),t._uU(24),t.qZA()()()()()}if(2&i){const e=a.$implicit;t.xp6(3),t.Oqu(e.schemeName),t.xp6(6),t.Oqu(e.latestNav),t.xp6(5),t.Oqu(e.previousNav),t.xp6(5),t.Oqu(e.fiftyTwoWeekNavHigh?e.fiftyTwoWeekNavHigh:"-"),t.xp6(5),t.Oqu(e.fiftyTwoWeekNavLow?e.fiftyTwoWeekNavLow:"-")}}function On(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Client"),t.qZA())}function Nn(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",369),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(3);return t.KtG(m.openAddTask(c))}),t.TgZ(1,"div",370),t._uU(2),t.qZA()()}if(2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.client," ")}}function qn(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Task"),t.qZA())}function Pn(i,a){if(1&i&&(t.TgZ(0,"div",258)(1,"span",373),t._uU(2),t.qZA(),t.TgZ(3,"span",373),t._uU(4),t._UZ(5,"img",374),t.qZA()()),2&i){const e=t.oxw().$implicit;t.xp6(2),t.AsE(" ",e.subTaskCompleted,"/",e.totalSubTasks," "),t.xp6(2),t.hij(" ",e.commentsCount," ")}}function Ln(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",369),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(3);return t.KtG(m.openAddTask(c))}),t.TgZ(1,"div",370)(2,"div",158)(3,"div",371),t._uU(4),t.qZA(),t.TgZ(5,"div",372),t.YNc(6,Pn,6,3,"div",257),t.qZA()()()()}if(2&i){const e=a.$implicit,n=t.oxw(3);t.xp6(4),t.hij(" ",e.des," "),t.xp6(2),t.Q6J("ngIf",!n.isLoading)}}function En(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Assigned to"),t.qZA())}function Jn(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",370),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.assigned," ")}}function Fn(i,a){1&i&&t._UZ(0,"tr",376)}function Qn(i,a){1&i&&t._UZ(0,"tr",377)}function Rn(i,a){if(1&i&&(t.TgZ(0,"div")(1,"table",359),t.ynx(2,360),t.YNc(3,On,2,0,"th",361),t.YNc(4,Nn,3,1,"td",362),t.BQk(),t.ynx(5,363),t.YNc(6,qn,2,0,"th",361),t.YNc(7,Ln,7,2,"td",362),t.BQk(),t.ynx(8,364),t.YNc(9,En,2,0,"th",361),t.YNc(10,Jn,3,1,"td",365),t.BQk(),t.YNc(11,Fn,1,0,"tr",366),t.YNc(12,Qn,1,0,"tr",367),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("dataSource",e.dataSource2)("appSkeletonLoading",e.isLoading),t.xp6(10),t.Q6J("matHeaderRowDef",e.displayedColumns2),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns2)}}const Yn=function(){return["/admin/activities/tasks/list"]};function Bn(i,a){1&i&&(t.TgZ(0,"div",378)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4," No today's tasks added yet "),t.qZA(),t.TgZ(5,"p",288),t._uU(6," In order to collaborate with your team in an efficient way, you can create tasks and track them here. "),t.qZA(),t.TgZ(7,"button",380),t._uU(8," Go to task section "),t.qZA()(),t.TgZ(9,"div",381),t._UZ(10,"img",382),t.qZA()()()),2&i&&(t.xp6(7),t.Q6J("routerLink",t.DdM(1,Yn)))}function jn(i,a){if(1&i&&(t.TgZ(0,"div",357)(1,"div",53)(2,"h5",54),t._uU(3,"Today\u2019s tasks"),t.qZA(),t.YNc(4,Rn,13,4,"div",117),t.YNc(5,Bn,11,2,"div",358),t.qZA()()),2&i){const e=t.oxw();
1t.xp6(4),t.Q6J("ngIf",e.dataSource2.data),t.xp6(1),t.Q6J("ngIf",null==e.dataSource2.data)}}function Kn(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," BSE Star MF"),t.qZA())}function Gn(i,a){1&i&&(t.TgZ(0,"span",394),t._uU(1," Pending "),t.qZA())}function Wn(i,a){1&i&&(t.TgZ(0,"span",394),t._uU(1,"Rejection"),t.qZA())}function $n(i,a){if(1&i&&(t.TgZ(0,"td",392),t.YNc(1,Gn,2,0,"span",393),t.YNc(2,Wn,2,0,"span",393),t.qZA()),2&i){const e=a.index;t.Q6J("ngClass",0==e?"pendingClass":1==e?"rejectionsClass":""),t.xp6(1),t.Q6J("ngIf",0==e),t.xp6(1),t.Q6J("ngIf",1==e)}}function Hn(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," UCC"),t.qZA())}function Vn(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.InnOrUcc?e.InnOrUcc:0)}}function zn(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",370),t.YNc(2,Vn,2,1,"span",117),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!e.last7DaysFlag)}}function Xn(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Mandate"),t.qZA())}function to(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.mandate?e.mandate:0)}}function eo(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",370),t.YNc(2,to,2,1,"span",117),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!e.last7DaysFlag)}}function io(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Transaction"),t.qZA())}function no(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transact?e.transact:0,"")}}function oo(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",370),t.YNc(2,no,2,1,"span",117),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!e.last7DaysFlag)}}function ao(i,a){1&i&&t._UZ(0,"tr",376)}function so(i,a){1&i&&t._UZ(0,"tr",377)}function ro(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," NSE Invest"),t.qZA())}function co(i,a){1&i&&(t.TgZ(0,"span",394),t._uU(1," Pending "),t.qZA())}function lo(i,a){1&i&&(t.TgZ(0,"span",394),t._uU(1,"Rejection"),t.qZA())}function _o(i,a){if(1&i&&(t.TgZ(0,"td",392),t.YNc(1,co,2,0,"span",393),t.YNc(2,lo,2,0,"span",393),t.qZA()),2&i){const e=a.index;t.Q6J("ngClass",0==e?"pendingClass":1==e?"rejectionsClass":""),t.xp6(1),t.Q6J("ngIf",0==e),t.xp6(1),t.Q6J("ngIf",1==e)}}function po(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," UCC"),t.qZA())}function mo(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.InnOrUcc?e.InnOrUcc:0,"")}}function go(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",370),t.YNc(2,mo,2,1,"span",117),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!e.last7DaysFlag)}}function uo(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Mandate"),t.qZA())}function ho(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.mandate?e.mandate:0,"")}}function fo(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",370),t.YNc(2,ho,2,1,"span",117),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!e.last7DaysFlag)}}function vo(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Transaction"),t.qZA())}function bo(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transact?e.transact:0,"")}}function xo(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",370),t.YNc(2,bo,2,1,"span",117),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!e.last7DaysFlag)}}function To(i,a){1&i&&t._UZ(0,"tr",376)}function Zo(i,a){1&i&&t._UZ(0,"tr",377)}const Do=function(){return["/admin/transactions/mutualFund/overview"]};function Co(i,a){if(1&i&&(t.TgZ(0,"div",383)(1,"div",329)(2,"h5",384),t._uU(3,"Transaction - Pending & Rejections"),t.qZA()(),t.TgZ(4,"div",385)(5,"p",386),t._uU(6,"Last 7 days"),t.qZA()(),t.TgZ(7,"div",295)(8,"table",387),t.ynx(9,360),t.YNc(10,Kn,2,0,"th",361),t.YNc(11,$n,3,3,"td",388),t.BQk(),t.ynx(12,363),t.YNc(13,Hn,2,0,"th",361),t.YNc(14,zn,3,1,"td",365),t.BQk(),t.ynx(15,364),t.YNc(16,Xn,2,0,"th",361),t.YNc(17,eo,3,1,"td",365),t.BQk(),t.ynx(18,389),t.YNc(19,io,2,0,"th",361),t.YNc(20,oo,3,1,"td",365),t.BQk(),t.YNc(21,ao,1,0,"tr",366),t.YNc(22,so,1,0,"tr",367),t.qZA()(),t.TgZ(23,"div",390)(24,"table",391),t.ynx(25,360),t.YNc(26,ro,2,0,"th",361),t.YNc(27,_o,3,3,"td",388),t.BQk(),t.ynx(28,363),t.YNc(29,po,2,0,"th",361),t.YNc(30,go,3,1,"td",365),t.BQk(),t.ynx(31,364),t.YNc(32,uo,2,0,"th",361),t.YNc(33,fo,3,1,"td",365),t.BQk(),t.ynx(34,389),t.YNc(35,vo,2,0,"th",361),t.YNc(36,xo,3,1,"td",365),t.BQk(),t.YNc(37,To,1,0,"tr",366),t.YNc(38,Zo,1,0,"tr",367),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("routerLink",t.DdM(9,Do)),t.xp6(8),t.Q6J("appSkeletonLoading",e.last7DaysFlag)("dataSource",e.bseData),t.xp6(13),t.Q6J("matHeaderRowDef",e.displayedColumns3),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns3),t.xp6(2),t.Q6J("appSkeletonLoading",e.last7DaysFlag)("dataSource",e.nscData),t.xp6(13),t.Q6J("matHeaderRowDef",e.displayedColumns4),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns4)}}const yo=function(){return["/admin/transactions/overview"]};function wo(i,a){1&i&&(t.TgZ(0,"button",400),t._uU(1,"View All"),t.qZA()),2&i&&t.Q6J("routerLink",t.DdM(1,yo))}function Ao(i,a){1&i&&(t.TgZ(0,"button",417),t._uU(1,"Pending "),t.qZA())}function Mo(i,a){1&i&&(t.TgZ(0,"button",418),t._uU(1,"Rejected "),t.qZA())}function Io(i,a){1&i&&(t.TgZ(0,"button",419),t._uU(1,"Investment ready "),t.qZA())}function So(i,a){if(1&i&&(t.TgZ(0,"div",403)(1,"div",158)(2,"div",404)(3,"h5",405),t._uU(4," UCC "),t.qZA(),t.TgZ(5,"h5",406),t._uU(6),t.qZA()(),t.TgZ(7,"div",407),t._uU(8),t.qZA()(),t.TgZ(9,"div",408)(10,"div",409)(11,"p",410),t._uU(12),t.qZA()(),t.TgZ(13,"div",411)(14,"p",412),t._uU(15),t.qZA()()(),t.TgZ(16,"div",408)(17,"div",413),t.YNc(18,Ao,2,0,"button",414),t.YNc(19,Mo,2,0,"button",415),t.YNc(20,Io,2,0,"button",416),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(6),t.hij(" ",e.clientName," "),t.xp6(2),t.hij(" ",2==e.aggregatorType?"BSE":"NSE"," "),t.xp6(4),t.hij(" ",e.taxDesc,""),t.xp6(3),t.hij(" ",e.holdingTypeName," "),t.xp6(3),t.Q6J("ngIf","Pending"==(null==e?null:e.statusStringTemp)),t.xp6(1),t.Q6J("ngIf","Rejected"==(null==e?null:e.statusStringTemp)||"DEACTIVATED"==(null==e?null:e.statusStringTemp)||"Deactivated"==(null==e?null:e.statusStringTemp)),t.xp6(1),t.Q6J("ngIf","Investment ready"==(null==e?null:e.statusStringTemp))}}function Uo(i,a){if(1&i&&(t.TgZ(0,"div",401)(1,"div",87),t.YNc(2,So,21,7,"div",402),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngForOf",e.LastSevenDaysInvestmentAccounts)}}function ko(i,a){if(1&i&&(t.TgZ(0,"div",158)(1,"div",265)(2,"div",87)(3,"div",420)(4,"div",158)(5,"div",421)(6,"div",28),t._UZ(7,"div",422),t.qZA()(),t.TgZ(8,"div",423)(9,"div",28),t._UZ(10,"div",422),t.qZA()()(),t.TgZ(11,"div",158)(12,"div",424)(13,"div",28),t._UZ(14,"div",425),t.qZA()()(),t.TgZ(15,"div",158)(16,"div",421)(17,"div",28),t._UZ(18,"div",422),t.qZA()(),t.TgZ(19,"div",423)(20,"div",28),t._UZ(21,"div",422),t.qZA()()(),t.TgZ(22,"div",158)(23,"div",426)(24,"div",28),t._UZ(25,"div",347),t.qZA()()()(),t.TgZ(26,"div",420)(27,"div",158)(28,"div",421)(29,"div",28),t._UZ(30,"div",422),t.qZA()(),t.TgZ(31,"div",423)(32,"div",28),t._UZ(33,"div",422),t.qZA()()(),t.TgZ(34,"div",158)(35,"div",424)(36,"div",28),t._UZ(37,"div",425),t.qZA()()(),t.TgZ(38,"div",158)(39,"div",421)(40,"div",28),t._UZ(41,"div",422),t.qZA()(),t.TgZ(42,"div",423)(43,"div",28),t._UZ(44,"div",422),t.qZA()()(),t.TgZ(45,"div",158)(46,"div",426)(47,"div",28),t._UZ(48,"div",347),t.qZA()()()()()()()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("appSkeletonLoading",e.investmentAccountFlag)}}function Oo(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",378)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4,"Not enough data to display"),t.qZA(),t.TgZ(5,"p",288),t._uU(6,"If you have registered with NSE Invest or BSE Star MF then you can open client\u2019s investmetn accounts from here and track their real time status."),t.qZA(),t.TgZ(7,"button",427),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.openAddCredential("addCredentials",""))}),t._uU(8," Add NSE/BSE credentials "),t.qZA(),t.TgZ(9,"div",428)(10,"mat-checkbox")(11,"span",429),t._uU(12,"Do not show this again"),t.qZA()()()(),t.TgZ(13,"div",381),t._UZ(14,"img",430),t.qZA()()()}}function No(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",378)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4,"Not recent investment accounts"),t.qZA(),t.TgZ(5,"p",288),t._uU(6,"Please add new investors by clicking on the button below"),t.qZA(),t.TgZ(7,"button",427),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.openNewCustomerIIN())}),t._uU(8," Add New Investor "),t.qZA(),t.TgZ(9,"div",431)(10,"mat-checkbox",168),t.NdJ("ngModelChange",function(s){t.CHM(e);const c=t.oxw(2);return t.KtG(c.chkbox1=s)})("change",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.showHide("recentInvestmentAccounts",s.chkbox1))}),t.TgZ(11,"span",429),t._uU(12,"Do not show this again"),t.qZA()()()(),t.TgZ(13,"div",381),t._UZ(14,"img",430),t.qZA()()()}if(2&i){const e=t.oxw(2);t.xp6(10),t.Q6J("ngModel",e.chkbox1)}}function qo(i,a){if(1&i&&(t.TgZ(0,"div",395)(1,"div",149)(2,"div",396)(3,"h5",384),t._uU(4,"Recent investment accounts"),t.qZA()(),t.TgZ(5,"div",397),t.YNc(6,wo,2,2,"button",398),t.qZA()(),t.YNc(7,Uo,3,1,"div",399),t.YNc(8,ko,49,1,"div",141),t.YNc(9,Oo,15,0,"div",358),t.YNc(10,No,15,1,"div",358),t.qZA()),2&i){const e=t.oxw();
1t.xp6(6),t.Q6J("ngIf",e.LastSevenDaysInvestmentAccounts&&e.LastSevenDaysInvestmentAccounts.length>4),t.xp6(1),t.Q6J("ngIf",e.LastSevenDaysInvestmentAccounts&&e.LastSevenDaysInvestmentAccounts.length>=0),t.xp6(1),t.Q6J("ngIf",e.investmentAccountFlag),t.xp6(1),t.Q6J("ngIf",e.LastSevenDaysInvestmentAccounts&&0==e.LastSevenDaysInvestmentAccounts.length&&!e.credentialsAdded),t.xp6(1),t.Q6J("ngIf",e.LastSevenDaysInvestmentAccounts&&0==e.LastSevenDaysInvestmentAccounts.length&&e.dashboardViewingOption&&0==e.dashboardViewingOption.recentInvestmentAccounts)}}const Po=function(){return["/admin/transactions/mutualFund/transactions"]};function Lo(i,a){1&i&&(t.TgZ(0,"button",435),t._uU(1,"View All "),t.qZA()),2&i&&t.Q6J("routerLink",t.DdM(1,Po))}function Eo(i,a){if(1&i&&(t.TgZ(0,"span",452),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Jo(i,a){if(1&i&&(t.TgZ(0,"span",453),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Fo(i,a){if(1&i&&(t.TgZ(0,"span",454),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Qo(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Ro(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Yo(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Bo(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function jo(i,a){if(1&i&&(t.TgZ(0,"span",456),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Ko(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ","Redemption"==e.transactionTypeString?e.transactionStatus:"Order processed"," ")}}function Go(i,a){if(1&i&&(t.TgZ(0,"div",436)(1,"div",158)(2,"div",404)(3,"p",437),t._uU(4),t.qZA()(),t.TgZ(5,"div",438)(6,"p",439),t._uU(7),t.qZA()()(),t.TgZ(8,"div",440)(9,"div",441)(10,"p",442),t._uU(11),t.qZA()(),t.TgZ(12,"div",443)(13,"p",439),t._uU(14),t.ALo(15,"date"),t.qZA()()(),t.TgZ(16,"div",440)(17,"div",444)(18,"p",445),t._uU(19),t.qZA()()(),t.TgZ(20,"div",408)(21,"div",53)(22,"p",446),t._uU(23),t.qZA()(),t.TgZ(24,"div",53),t.YNc(25,Eo,2,1,"span",447),t.YNc(26,Jo,2,1,"span",448),t.YNc(27,Fo,2,1,"span",449),t.YNc(28,Qo,2,1,"span",450),t.YNc(29,Ro,2,1,"span",450),t.YNc(30,Yo,2,1,"span",450),t.YNc(31,Bo,2,1,"span",450),t.YNc(32,jo,2,1,"span",451),t.YNc(33,Ko,2,1,"span",450),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(4),t.hij(" ",e.transactionType,""),t.xp6(3),t.Oqu(e.platformName),t.xp6(4),t.AsE(" ","amount"==(null==e.amtUnitType?null:e.amtUnitType.toLowerCase())?"\u20b9 ":"Units ","",e.amount," "),t.xp6(3),t.hij(" ",t.xi3(15,17,e.orderDate,"dd/MM/yyyy")," "),t.xp6(3),t.s9C("matTooltip",e.schemeName),t.xp6(2),t.hij(" ",e.schemeName,""),t.xp6(4),t.hij("",e.clientName," "),t.xp6(2),t.Q6J("ngIf",0==e.status),t.xp6(1),t.Q6J("ngIf",1==e.status),t.xp6(1),t.Q6J("ngIf",2==e.status),t.xp6(1),t.Q6J("ngIf",3==e.status),t.xp6(1),t.Q6J("ngIf",4==e.status),t.xp6(1),t.Q6J("ngIf",5==e.status),t.xp6(1),t.Q6J("ngIf",6==e.status),t.xp6(1),t.Q6J("ngIf",7==e.status),t.xp6(1),t.Q6J("ngIf",8==e.status)}}function Wo(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",378)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4,"Not enough data to display"),t.qZA(),t.TgZ(5,"p",288),t._uU(6,"If you have registered with NSE Invest or BSE Star MF then you can initiate online transactions from here and track their real time status."),t.qZA(),t.TgZ(7,"button",457),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.openAddCredential("addCredentials",""))}),t._uU(8," Add NSE/BSE credentials "),t.qZA(),t.TgZ(9,"div",428)(10,"mat-checkbox",168),t.NdJ("ngModelChange",function(s){t.CHM(e);const c=t.oxw(2);return t.KtG(c.chkbox2=s)})("change",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.showHide("recentOnlineTransactionsMF",s.chkbox2))}),t.TgZ(11,"span",429),t._uU(12,"Do not show this again"),t.qZA()()()(),t.TgZ(13,"div",381),t._UZ(14,"img",458),t.qZA()()()}if(2&i){const e=t.oxw(2);t.xp6(10),t.Q6J("ngModel",e.chkbox2)}}function $o(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",378)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4,"No recent online transactions"),t.qZA(),t.TgZ(5,"p",288),t._uU(6,"Please add new transactions by clicking on the button below"),t.qZA(),t.TgZ(7,"button",427),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.openTransaction())}),t._uU(8," Add New Transaction "),t.qZA(),t.TgZ(9,"div",431)(10,"mat-checkbox",168),t.NdJ("ngModelChange",function(s){t.CHM(e);const c=t.oxw(2);return t.KtG(c.chkbox3=s)})("change",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.showHide("transactionPendingRejections",s.chkbox3))}),t.TgZ(11,"span",429),t._uU(12,"Do not show this again"),t.qZA()()()(),t.TgZ(13,"div",381),t._UZ(14,"img",459),t.qZA()()()}if(2&i){const e=t.oxw(2);t.xp6(10),t.Q6J("ngModel",e.chkbox3)}}function Ho(i,a){if(1&i&&(t.TgZ(0,"div",460)(1,"div",265)(2,"div",87)(3,"div",420)(4,"div",158)(5,"div",421)(6,"div",28),t._UZ(7,"div",422),t.qZA()(),t.TgZ(8,"div",423)(9,"div",28),t._UZ(10,"div",422),t.qZA()()(),t.TgZ(11,"div",158)(12,"div",421)(13,"div",28),t._UZ(14,"div",422),t.qZA()(),t.TgZ(15,"div",423)(16,"div",28),t._UZ(17,"div",422),t.qZA()()(),t.TgZ(18,"div",158)(19,"div",424)(20,"div",28),t._UZ(21,"div",425),t.qZA()()(),t.TgZ(22,"div",158)(23,"div",426)(24,"div",28),t._UZ(25,"div",347),t.qZA()()()(),t.TgZ(26,"div",420)(27,"div",158)(28,"div",421)(29,"div",28),t._UZ(30,"div",422),t.qZA()(),t.TgZ(31,"div",423)(32,"div",28),t._UZ(33,"div",422),t.qZA()()(),t.TgZ(34,"div",158)(35,"div",421)(36,"div",28),t._UZ(37,"div",422),t.qZA()(),t.TgZ(38,"div",423)(39,"div",28),t._UZ(40,"div",422),t.qZA()()(),t.TgZ(41,"div",158)(42,"div",424)(43,"div",28),t._UZ(44,"div",425),t.qZA()()(),t.TgZ(45,"div",158)(46,"div",426)(47,"div",28),t._UZ(48,"div",347),t.qZA()()()()()()()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("appSkeletonLoading",e.transactionFlag)}}function Vo(i,a){if(1&i&&(t.TgZ(0,"div",395)(1,"div",149)(2,"div",396)(3,"h5",384),t._uU(4,"Recent online transactions (MF)"),t.qZA()(),t.TgZ(5,"div",397),t.YNc(6,Lo,2,2,"button",432),t.qZA()(),t.TgZ(7,"div",401)(8,"div",87),t.YNc(9,Go,34,20,"div",433),t.qZA()(),t.YNc(10,Wo,15,1,"div",358),t.YNc(11,$o,15,1,"div",358),t.YNc(12,Ho,49,1,"div",434),t.qZA()),2&i){const e=t.oxw();
1t.xp6(6),t.Q6J("ngIf",e.LastSevenDaysTransactions&&e.LastSevenDaysTransactions.length>4),t.xp6(3),t.Q6J("ngForOf",e.LastSevenDaysTransactions),t.xp6(1),t.Q6J("ngIf",e.LastSevenDaysTransactions&&0==e.LastSevenDaysTransactions.length&&e.dashboardViewingOption&&0==e.dashboardViewingOption.recentOnlineTransactionsMF),t.xp6(1),t.Q6J("ngIf",e.LastSevenDaysInvestmentAccounts&&0==e.LastSevenDaysInvestmentAccounts.length&&e.credentialsAdded&&e.dashboardViewingOption&&0==(null==e.dashboardViewingOption?null:e.dashboardViewingOption.transactionPendingRejections)),t.xp6(1),t.Q6J("ngIf",null==e.LastSevenDaysTransactions)}}const re=function(){return["/admin/backoffice-mis/mutual-funds"]},zo=function(){return{Tab:2}};function Xo(i,a){1&i&&(t.TgZ(0,"button",465),t._uU(1,"View All "),t.qZA()),2&i&&t.Q6J("routerLink",t.DdM(2,re))("queryParams",t.DdM(3,zo))}function ta(i,a){1&i&&(t.TgZ(0,"div",284)(1,"div",285)(2,"div",286)(3,"h3",287),t._uU(4,"No Rejected transaction in last 15 days"),t.qZA(),t.TgZ(5,"p",288),t._uU(6," We could not find any Rejections or reversal transactions to show. Either there is not enough data yet, or you have not provided your RTA details yet. "),t.qZA()(),t.TgZ(7,"div",289),t._UZ(8,"img",466),t.qZA()()())}function ea(i,a){1&i&&(t.TgZ(0,"th",470),t._uU(1," Client / Scheme"),t.qZA())}function ia(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t._UZ(3,"br"),t.TgZ(4,"span",373),t._uU(5),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.ownerName,""),t.xp6(3),t.AsE("",e.schemeName,"",e.folioNumber?" | "+e.folioNumber:"","")}}function na(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Type"),t.qZA())}function oa(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471)(2,"span",472),t._uU(3),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(3),t.Oqu(e.transactionNature?e.transactionNature:"-")}}function aa(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Details"),t.qZA())}function sa(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.ALo(3,"date"),t._UZ(4,"br"),t.TgZ(5,"span",373),t._uU(6),t.qZA(),t.TgZ(7,"span",473),t._uU(8),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",t.xi3(3,3,e.transactionDate,"dd/MM/yyyy"),""),t.xp6(4),t.Oqu(e.amount?"\u20b9 ":""),t.xp6(2),t.Oqu(e.amount)}}function ra(i,a){1&i&&t._UZ(0,"tr",376)}function da(i,a){1&i&&t._UZ(0,"tr",377)}function ca(i,a){if(1&i&&(t.TgZ(0,"div",467)(1,"table",468),t.ynx(2,360),t.YNc(3,ea,2,0,"th",469),t.YNc(4,ia,6,3,"td",365),t.BQk(),t.ynx(5,363),t.YNc(6,na,2,0,"th",361),t.YNc(7,oa,4,1,"td",365),t.BQk(),t.ynx(8,364),t.YNc(9,aa,2,0,"th",361),t.YNc(10,sa,9,6,"td",365),t.BQk(),t.YNc(11,ra,1,0,"tr",366),t.YNc(12,da,1,0,"tr",367),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("dataSource",e.dataSource5)("appSkeletonLoading",e.last7DaysLoading),t.xp6(10),t.Q6J("matHeaderRowDef",e.displayedColumns5),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns5)}}function la(i,a){if(1&i&&(t.TgZ(0,"div",461)(1,"div",371)(2,"h5",462),t._uU(3,"Rejections and Reversals"),t.qZA(),t.TgZ(4,"span",288),t._uU(5," (Last 15 days data) "),t.qZA()(),t.TgZ(6,"div",397),t.YNc(7,Xo,2,4,"button",463),t.qZA(),t.YNc(8,ta,9,0,"div",282),t.YNc(9,ca,13,4,"div",464),t.qZA()),2&i){const e=t.oxw();
1t.xp6(7),t.Q6J("ngIf",e.dataSource5.length>4),t.xp6(1),t.Q6J("ngIf",0==e.dataSource5.length),t.xp6(1),t.Q6J("ngIf",e.dataSource5.length>0)}}const _a=function(){return{Tab:1}};function pa(i,a){1&i&&(t.TgZ(0,"button",465),t._uU(1,"View All "),t.qZA()),2&i&&t.Q6J("routerLink",t.DdM(2,re))("queryParams",t.DdM(3,_a))}function ma(i,a){1&i&&(t.TgZ(0,"div",284)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4,"No transaction found"),t.qZA(),t.TgZ(5,"p",288),t._uU(6," We could not find any transactions to show. Either there is not enough data yet, or you have not provided your RTA details yet. "),t.qZA()(),t.TgZ(7,"div",381),t._UZ(8,"img",477),t.qZA()()())}function ga(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Client / Scheme"),t.qZA())}function ua(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t._UZ(3,"br"),t.TgZ(4,"span",373),t._uU(5),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.ownerName,""),t.xp6(3),t.AsE("",e.schemeName,"",e.folioNumber?" | "+e.folioNumber:"","")}}function ha(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Type"),t.qZA())}function fa(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471)(2,"span",472),t._uU(3),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(3),t.Oqu(e.fwTransactionType?e.fwTransactionType:"-")}}function va(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Details"),t.qZA())}function ba(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.ALo(3,"date"),t._UZ(4,"br"),t.TgZ(5,"span",373),t._uU(6),t.qZA(),t.TgZ(7,"span",473),t._uU(8),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",t.xi3(3,3,e.transactionDate,"dd/MM/yyyy"),""),t.xp6(4),t.Oqu(e.amount?"\u20b9 ":""),t.xp6(2),t.Oqu(e.amount)}}function xa(i,a){1&i&&t._UZ(0,"tr",376)}function Ta(i,a){1&i&&t._UZ(0,"tr",377)}function Za(i,a){if(1&i&&(t.TgZ(0,"div",478)(1,"table",468),t.ynx(2,360),t.YNc(3,ga,2,0,"th",361),t.YNc(4,ua,6,3,"td",365),t.BQk(),t.ynx(5,363),t.YNc(6,ha,2,0,"th",361),t.YNc(7,fa,4,1,"td",365),t.BQk(),t.ynx(8,364),t.YNc(9,va,2,0,"th",361),t.YNc(10,ba,9,6,"td",365),t.BQk(),t.YNc(11,xa,1,0,"tr",366),t.YNc(12,Ta,1,0,"tr",367),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("dataSource",e.dataSource8)("appSkeletonLoading",e.isLoadingTransaction),t.xp6(10),t.Q6J("matHeaderRowDef",e.displayedColumns8),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns8)}}function Da(i,a){if(1&i&&(t.TgZ(0,"div",461)(1,"div",404)(2,"h5",474),t._uU(3,"Transaction summary"),t.qZA()(),t.TgZ(4,"div",475),t.YNc(5,pa,2,4,"button",463),t.qZA(),t.YNc(6,ma,9,0,"div",282),t.YNc(7,Za,13,4,"div",476),t.qZA()),2&i){const e=t.oxw();
1t.xp6(5),t.Q6J("ngIf",e.dataSource8.length>0),t.xp6(1),t.Q6J("ngIf",0==e.dataSource8.length),t.xp6(1),t.Q6J("ngIf",e.dataSource8.length>0)}}function Ca(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Client name"),t.qZA())}function ya(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",493),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(3);return t.KtG(m.openPlanSlider("SUBSCRIPTIONS","open",c))}),t.TgZ(1,"div",471),t._uU(2),t.qZA()()}if(2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.clientName," ")}}function wa(i,a){1&i&&(t.TgZ(0,"th",494),t._uU(1," Service name"),t.qZA())}function Aa(i,a){if(1&i&&(t.TgZ(0,"td",495)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.serviceName," ")}}function Ma(i,a){1&i&&(t.TgZ(0,"th",496),t._uU(1," Fees "),t.qZA())}function Ia(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",493),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(3);return t.KtG(m.Open(c))}),t.TgZ(1,"div",497),t._uU(2),t.qZA()()}if(2&i){const e=t.oxw(3);t.xp6(2),t.hij(" ",e.isLoadingSubSummary?" ":"View details"," ")}}function Sa(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Next billing date"),t.qZA())}function Ua(i,a){if(1&i&&(t.TgZ(0,"div",471),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.nextBillingDate,"dd/MM/yyyy")," ")}}function ka(i,a){if(1&i&&(t.TgZ(0,"div",471),t._uU(1),t.qZA()),2&i){const e=t.oxw(4);t.xp6(1),t.hij(" ",e.isLoadingSubSummary?"":"Not Started"," ")}}function Oa(i,a){if(1&i&&(t.TgZ(0,"td",375),t.YNc(1,Ua,3,4,"div",498),t.YNc(2,ka,2,1,"div",498),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.nextBillingDate),t.xp6(1),t.Q6J("ngIf",!e.nextBillingDate)}}function Na(i,a){1&i&&t._UZ(0,"th",499)}function qa(i,a){1&i&&t._UZ(0,"img",504)}function Pa(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",500)(1,"div",471),t.YNc(2,qa,1,0,"img",501),t.qZA(),t.TgZ(3,"mat-menu",null,502)(5,"a",215),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(3);return t.KtG(m.Open(c))}),t._uU(6,"View fee structure"),t.qZA(),t.TgZ(7,"a",503),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(3);return t.KtG(m.openPlanSlider("billerSettings","open",c))}),t._uU(8,"Change biller"),t.qZA(),t.TgZ(9,"a",215),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(3);return t.KtG(m.openPlanSlider("changePayee","open",c))}),t._uU(10,"Change payee"),t.qZA(),t.TgZ(11,"a",503),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(3);return t.KtG(s.delete("cancelSubscription"))}),t._uU(12,"Cancel subscription"),t.qZA(),t.TgZ(13,"a",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(3);return t.KtG(s.deleteModal("SUBSCRIPTION"))}),t._uU(14,"Delete subscription"),t.qZA()()()}if(2&i){const e=t.MAs(4),n=t.oxw(3);t.Q6J("matMenuTriggerFor",e),t.xp6(2),t.Q6J("ngIf",!n.isLoadingSubSummary)}}function La(i,a){1&i&&t._UZ(0,"tr",376)}function Ea(i,a){1&i&&t._UZ(0,"tr",377)}function Ja(i,a){if(1&i&&(t.TgZ(0,"div",158)(1,"div",482)(2,"table",387)(3,"tbody"),t.ynx(4,363),t.YNc(5,Ca,2,0,"th",361),t.YNc(6,ya,3,1,"td",483),t.BQk(),t.ynx(7,484),t.YNc(8,wa,2,0,"th",485),t.YNc(9,Aa,3,1,"td",486),t.BQk(),t.ynx(10,487),t.YNc(11,Ma,2,0,"th",488),t.YNc(12,Ia,3,1,"td",483),t.BQk(),t.ynx(13,489),t.YNc(14,Sa,2,0,"th",361),t.YNc(15,Oa,3,2,"td",365),t.BQk(),t.ynx(16,490),t.YNc(17,Na,1,0,"th",491),t.YNc(18,Pa,15,2,"td",492),t.BQk(),t.YNc(19,La,1,0,"tr",366),t.YNc(20,Ea,1,0,"tr",367),t.qZA()()()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("appSkeletonLoading",e.isLoadingSubSummary)("dataSource",e.dashBoardSummary),t.xp6(17),t.Q6J("matHeaderRowDef",e.displayedDashboardSummary),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedDashboardSummary)}}const de=function(){return["/admin/subscription/subscriptions"]};function Fa(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",378)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4,"No upcoming subscription added yet"),t.qZA(),t.TgZ(5,"p",288),t._uU(6," Subscriptions is carefully designed for RIAs. You can define your core offerings, fee structure, deliverables, agreements and automate the whole process around it. This will act as a foundation for your RIA practice. "),t.qZA(),t.TgZ(7,"button",380),t._uU(8," Explore subscriptions "),t.qZA(),t.TgZ(9,"div",431)(10,"mat-checkbox",168),t.NdJ("ngModelChange",function(s){t.CHM(e);const c=t.oxw(2);return t.KtG(c.chkbox4=s)})("change",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.showHide("subscriptionSummary",s.chkbox4))}),t.TgZ(11,"span",429),t._uU(12,"Do not show this again"),t.qZA()()()(),t.TgZ(13,"div",381),t._UZ(14,"img",505),t.qZA()()()}if(2&i){const e=t.oxw(2);t.xp6(7),t.Q6J("routerLink",t.DdM(2,de)),t.xp6(3),t.Q6J("ngModel",e.chkbox4)}}function Qa(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",506)(1,"button",507),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.changeParentsTab(3))}
1),t._uU(2,"View All"),t.qZA()()}}function Ra(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",395)(1,"div",149)(2,"div",150)(3,"h5",479),t._uU(4,"Subscription summary"),t.qZA()(),t.TgZ(5,"div",480)(6,"mat-button-toggle-group",153),t.NdJ("change",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.getSummaryDataDashboard())})("ngModelChange",function(s){t.CHM(e);const c=t.oxw();return t.KtG(c.subscriptionSummaryStatusFilter=s)}),t.TgZ(7,"mat-button-toggle",154),t._uU(8,"NOT STARTED"),t.qZA(),t.TgZ(9,"mat-button-toggle",155),t._uU(10,"UPCOMING"),t.qZA()()()(),t.YNc(11,Ja,21,4,"div",141),t.YNc(12,Fa,15,3,"div",358),t.YNc(13,Qa,3,0,"div",481),t.qZA()}if(2&i){const e=t.oxw();t.xp6(6),t.Q6J("ngModel",e.subscriptionSummaryStatusFilter),t.xp6(5),t.Q6J("ngIf",(null==e.dashBoardSummary?null:e.dashBoardSummary.length)>0),t.xp6(1),t.Q6J("ngIf",0==(null==e.dashBoardSummary?null:e.dashBoardSummary.length)&&e.dashboardViewingOption&&0==e.dashboardViewingOption.subscriptionSummary),t.xp6(1),t.Q6J("ngIf",(null==e.dashBoardSummary?null:e.dashBoardSummary.length)>4)}}const zt=function(){return["/admin/backoffice-aum-reconciliation/reconciliation"]};function Ba(i,a){1&i&&(t.TgZ(0,"button",400),t._uU(1,"View All"),t.qZA()),2&i&&t.Q6J("routerLink",t.DdM(1,zt))}function ja(i,a){1&i&&(t.TgZ(0,"th",513),t._uU(1," RTA"),t.qZA())}function Ka(i,a){if(1&i&&(t.TgZ(0,"td",514)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.rtName," ")}}function Ga(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," ARN/RIA"),t.qZA())}function Wa(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.arnRiaNumber," ")}}function $a(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Done on"),t.qZA())}function Ha(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.ALo(3,"date"),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",t.xi3(3,1,e.doneOn,"dd/MM/yyyy")," ")}}function Va(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Done by"),t.qZA())}function za(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.Oqu(e.doneBy)}}function Xa(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Unmatch"),t.qZA())}function ts(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij("",e.unMatched," ")}}function es(i,a){1&i&&t._UZ(0,"tr",376)}function is(i,a){1&i&&t._UZ(0,"tr",377)}function ns(i,a){if(1&i&&(t.TgZ(0,"div",158)(1,"div",509)(2,"table",387),t.ynx(3,360),t.YNc(4,ja,2,0,"th",510),t.YNc(5,Ka,3,1,"td",511),t.BQk(),t.ynx(6,363),t.YNc(7,Ga,2,0,"th",361),t.YNc(8,Wa,3,1,"td",365),t.BQk(),t.ynx(9,364),t.YNc(10,$a,2,0,"th",361),t.YNc(11,Ha,4,4,"td",365),t.BQk(),t.ynx(12,389),t.YNc(13,Va,2,0,"th",361),t.YNc(14,za,3,1,"td",365),t.BQk(),t.ynx(15,512),t.YNc(16,Xa,2,0,"th",361),t.YNc(17,ts,3,1,"td",365),t.BQk(),t.YNc(18,es,1,0,"tr",366),t.YNc(19,is,1,0,"tr",367),t.qZA()()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("appSkeletonLoading",e.aumFlag)("dataSource",e.aumReconList),t.xp6(16),t.Q6J("matHeaderRowDef",e.displayedColumns7),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns7)}}function os(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",378)(1,"div",285)(2,"div",515)(3,"h3",287),t._uU(4,"Not enough data to display"),t.qZA(),t.TgZ(5,"p",288),t._uU(6," Once, you add your RTA details and get your feeds uploaded, you will be able to see status of the AUM reconciliation for your ARN/RIA code. "),t.qZA(),t.TgZ(7,"button",380),t._uU(8," Add ARN/RIA details "),t.qZA(),t.TgZ(9,"div",431)(10,"mat-checkbox",168),t.NdJ("ngModelChange",function(s){t.CHM(e);const c=t.oxw(2);return t.KtG(c.chkbox5=s)})("change",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.showHide("latestAumReconciliationReport",s.chkbox5))}),t.TgZ(11,"span",429),t._uU(12,"Do not show this again"),t.qZA()()()(),t.TgZ(13,"div",516),t._UZ(14,"img",517),t.qZA()()()}if(2&i){const e=t.oxw(2);t.xp6(7),t.Q6J("routerLink",t.DdM(2,zt)),t.xp6(3),t.Q6J("ngModel",e.chkbox5)}}function as(i,a){if(1&i&&(t.TgZ(0,"div",395)(1,"div",158)(2,"div",159)(3,"h5",508),t._uU(4,"Latest AUM Reconciliation report"),t.qZA()(),t.TgZ(5,"div",397),t.YNc(6,Ba,2,2,"button",398),t.qZA()(),t.YNc(7,ns,20,4,"div",141),t.YNc(8,os,15,3,"div",358),t.qZA()),2&i){const e=t.oxw();
1t.xp6(6),t.Q6J("ngIf",(null==e.aumReconList?null:e.aumReconList.length)>4),t.xp6(1),t.Q6J("ngIf",(null==e.aumReconList?null:e.aumReconList.length)>0),t.xp6(1),t.Q6J("ngIf",0==(null==e.aumReconList?null:e.aumReconList.length)&&e.dashboardViewingOption&&0==(null==e.dashboardViewingOption?null:e.dashboardViewingOption.latestAumReconciliationReport))}}function ss(i,a){1&i&&(t.TgZ(0,"div",525)(1,"div",265)(2,"div",53)(3,"div",526),t._UZ(4,"div",527),t.qZA()()()()),2&i&&(t.xp6(1),t.Q6J("appSkeletonLoading",!1))}function rs(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",534),t._uU(2),t.ALo(3,"indianNumberMask"),t.qZA(),t.TgZ(4,"p",535),t._uU(5),t.ALo(6,"date"),t.qZA()()),2&i){const e=t.oxw(4);t.xp6(2),t.hij("Estimated Billing Amount : \u20b9",t.Dn7(3,2,null==e.billEstimateData?null:e.billEstimateData.grossPayable,0,0)," "),t.xp6(3),t.hij("Billing Cycle: ",t.xi3(6,6,e.endDatebilling,"dd")," of every month")}}function ds(i,a){if(1&i&&(t.TgZ(0,"div",536),t._UZ(1,"div",537),t.qZA()),2&i){const e=t.oxw(4);t.xp6(1),t.Udp("width",null==e.pointsDatagames?null:e.pointsDatagames.progressValue,"%"),t.Q6J("matTooltip","Points Earned: "+(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints))}}function cs(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",528),t._uU(2,"Credit Point Balance"),t.qZA(),t.TgZ(3,"p",529),t._uU(4),t.ALo(5,"number"),t.TgZ(6,"span",530),t._uU(7,"credit points"),t.qZA()(),t.YNc(8,rs,7,9,"div",117),t.YNc(9,ds,2,3,"div",531),t.TgZ(10,"p",532),t._uU(11),t.ALo(12,"number"),t.qZA(),t.TgZ(13,"p",533),t._uU(14),t.ALo(15,"number"),t.qZA()()),2&i){const e=t.oxw(3);t.xp6(4),t.hij(" ",t.xi3(5,5,e.credits,"1.0-0"),""),t.xp6(4),t.Q6J("ngIf",e.isMorethen7days),t.xp6(1),t.Q6J("ngIf",(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints)>0),t.xp6(2),t.hij("Current progress:",t.xi3(12,8,null==e.pointsDatagames?null:e.pointsDatagames.progressValue,"1.0-2"),"%"),t.xp6(3),t.hij("You have exciting opportunity to earn upto \u20b9",t.xi3(15,11,null==e.processedMissionscards?null:e.processedMissionscards.maxoverallpoints,"1.0-0")," in credits. Complete tasks now! ")}}function ls(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",528),t._uU(2,"Exciting opportunity to earn "),t.qZA(),t.TgZ(3,"p",538),t._uU(4),t.TgZ(5,"span",530),t._uU(6,"credit points"),t.qZA()(),t.TgZ(7,"p",533),t._uU(8,"Completing tasks allow you to earn IFANOW credit points, giving you a chance to fully offset your monthly bill! "),t.qZA()()),2&i){const e=t.oxw(3);t.xp6(4),t.hij("",null==e.pointsDatagames?null:e.pointsDatagames.pointsToBeEarned," ")}}function _s(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,cs,16,14,"div",117),t.YNc(2,ls,9,1,"div",117),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints)>0),t.xp6(1),t.Q6J("ngIf",(null==e.pointsDatagames?null:e.pointsDatagames.pointsToBeEarned)>0&&0===(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints))}}function ps(i,a){if(1&i&&(t.TgZ(0,"div",536),t._UZ(1,"div",537),t.qZA()),2&i){const e=t.oxw(4);t.xp6(1),t.Udp("width",null==e.pointsDatagames?null:e.pointsDatagames.progressValue,"%"),t.Q6J("matTooltip","Points Earned: "+(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints))}}function ms(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",528),t._uU(2,"Exciting opportunity to earn"),t.qZA(),t.TgZ(3,"p",529),t._uU(4),t.TgZ(5,"span",530),t._uU(6,"credit points"),t.qZA()(),t.YNc(7,ps,2,3,"div",531),t.TgZ(8,"p",532),t._uU(9),t.ALo(10,"number"),t.qZA()()),2&i){const e=t.oxw(3);t.xp6(4),t.hij("",null==e.processedMissionscards?null:e.processedMissionscards.maxoverallpoints," "),t.xp6(3),t.Q6J("ngIf",(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints)>0),t.xp6(2),t.hij("Current progress:",t.xi3(10,3,null==e.pointsDatagames?null:e.pointsDatagames.progressValue,"1.0-2"),"%")}}function gs(i,a){if(1&i&&(t.TgZ(0,"div")(1,"p",528),t._uU(2,"Exciting opportunity to earn "),t.qZA(),t.TgZ(3,"p",538),t._uU(4),t.TgZ(5,"span",530),t._uU(6,"credit points"),t.qZA()()()),2&i){const e=t.oxw(3);t.xp6(4),t.hij(" ",null==e.processedMissionscards?null:e.processedMissionscards.maxoverallpoints,"")}}function us(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,ms,11,6,"div",117),t.YNc(2,gs,7,1,"div",117),t.TgZ(3,"p",533),t._uU(4,"Complete tasks through this section to earn IFANOW credit points which will help reduce your monthly billing!"),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints)>0),t.xp6(1),t.Q6J("ngIf",(null==e.pointsDatagames?null:e.pointsDatagames.pointsToBeEarned)>0&&0===(null==e.pointsDatagames?null:e.pointsDatagames.collectedPoints))}}function hs(i,a){1&i&&(t.O4$(),t.kcU(),t.TgZ(0,"p",543),t._uU(1,"New Mission coming soon"),t.qZA())}function fs(i,a){if(1&i&&(t.TgZ(0,"div",539),t.O4$(),t.TgZ(1,"svg",540),t._UZ(2,"path",541),t.qZA(),t.YNc(3,hs,2,0,"p",542),t.qZA()),2&i){const e=t.oxw(2);t.xp6(3),t.Q6J("ngIf",null==e.processedMissionscards?null:e.processedMissionscards.showNewMissioncomingsoon)}}function vs(i,a){if(1&i&&(t.O4$(),t.kcU(),t.TgZ(0,"p",543),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.hij(" ",null!=e.processedMissionscards&&e.processedMissionscards.showNewTasksUnlockedBanner?"New Tasks worth "+(null==e.processedMissionscards?null:e.processedMissionscards.newTasksUnlockedPoints)+" Points unlocked!":"New Mission worth "+(null==e.processedMissionscards?null:e.processedMissionscards.newMissionUnlockedPoints)+" Points unlocked!","")}}function bs(i,a){if(1&i&&(t.TgZ(0,"div",539),t.O4$(),t.TgZ(1,"svg",540),t._UZ(2,"path",544),t.qZA(),t.YNc(3,vs,2,1,"p",542),t.qZA()),2&i){const e=t.oxw(2);t.xp6(3),t.Q6J("ngIf",(null==e.processedMissionscards?null:e.processedMissionscards.showNewMissionUnlockedBanner)||(null==e.processedMissionscards?null:e.processedMissionscards.showNewTasksUnlockedBanner))}}function xs(i,a){if(1&i&&(t.TgZ(0,"div",545),t._UZ(1,"img",546),t.TgZ(2,"p",547),t._uU(3),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(3),t.hij(" Tasks worth ",null==e.processedMissionscards?null:e.processedMissionscards.tasksEndingSoonPoints," Points ending soon! ")}}const Ts=function(i){return{div1:i}};function Zs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",518),t.YNc(1,ss,5,1,"div",519),t.TgZ(2,"div")(3,"p",520),t._uU(4,"Earn more with IFANOW"),t.qZA(),t.TgZ(5,"div",521),t.YNc(6,_s,3,2,"div",117),t.YNc(7,us,5,2,"div",117),t.qZA(),t.YNc(8,fs,4,1,"div",522),t.YNc(9,bs,4,1,"div",522),t.YNc(10,xs,4,1,"div",523),t.qZA(),t.TgZ(11,"button",524),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.viewtasksgames())}),t._uU(12,"View Tasks"),t.qZA()()}if(2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(7,Ts,!e.missionloader&&(null==e.selectclubres?null:e.selectclubres.length)>0)),t.xp6(1),t.Q6J("ngIf",e.missionloader),t.xp6(5),t.Q6J("ngIf",e.selectclubkey),t.xp6(1),t.Q6J("ngIf",!e.selectclubkey),t.xp6(1),t.Q6J("ngIf",null==e.processedMissionscards?null:e.processedMissionscards.showNewMissioncomingsoon),t.xp6(1),t.Q6J("ngIf",!0===(null==e.processedMissionscards?null:e.processedMissionscards.showNewTasksUnlockedBanner)||!0===(null==e.processedMissionscards?null:e.processedMissionscards.showNewMissionUnlockedBanner)),t.xp6(1),t.Q6J("ngIf",!0===(null==e.processedMissionscards?null:e.processedMissionscards.showTasksEndingSoonBanner))}}function Ds(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",548)(1,"div",549)(2,"p",84),t._uU(3,"1-1 Demo"),t.qZA()(),t.TgZ(4,"div")(5,"button",550),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.scheduleDemo("Request"))}),t._uU(6," Request A Demo "),t.qZA()()()}if(2&i){const e=t.oxw();
1t.xp6(5),t.Q6J("disabled",e.enumDataService.Vapt)}}function Cs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",566),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(3);return t.KtG(s.showInput=!0)}),t._uU(1,"Add a to-do"),t.qZA()}}function ys(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"input",567,568),t.NdJ("ngModelChange",function(s){t.CHM(e);const c=t.oxw(3);return t.KtG(c.todoDescription=s)})("keyup.enter",function(){t.CHM(e);const s=t.MAs(1),c=t.oxw(3);return t.KtG(c.addTodoList(s.value))}),t.qZA()}if(2&i){const e=t.oxw(3);t.Q6J("ngModel",e.todoDescription)}}function ws(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"span",569),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(3);return t.KtG(s.addTodoList(s.todoDescription))}),t._uU(1," done "),t.qZA()}}function As(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"span",570),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(3);return s.showInput=!1,t.KtG(s.todoDescription="")}),t._uU(1," clear "),t.qZA()}}function Ms(i,a){1&i&&(t.TgZ(0,"span",581),t._uU(1,"Today"),t.qZA())}function Is(i,a){1&i&&(t.TgZ(0,"span",582),t._uU(1,"Yesterday"),t.qZA())}function Ss(i,a){if(1&i&&(t.TgZ(0,"span",582),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.createdDate)}}function Us(i,a){if(1&i&&(t.TgZ(0,"div",583),t._UZ(1,"mat-radio-button",584),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.s9C("value",e.id)}}function ks(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"p",585),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit,c=t.oxw(3);return t.KtG(c.doubleClick(s))}),t._uU(1),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.activityName," ")}}function Os(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",586),t._UZ(1,"input",587),t.TgZ(2,"span",588),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit,c=t.oxw(3);return t.KtG(c.updateTodoList(s))}),t._uU(3," done "),t.qZA()()}if(2&i){const e=t.oxw().$implicit,n=t.oxw(3);t.xp6(1),t.s9C("autofocus",e.update),t.Q6J("formControl",n.updateNote)}}function Ns(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",589)(1,"div",87)(2,"span",569),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(),c=s.$implicit,m=s.index,T=t.oxw(3);return t.KtG(T.deleteTodoList(c,m))}),t._uU(3," done "),t.qZA(),t.TgZ(4,"span",570),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(),c=s.$implicit,m=s.index,T=t.oxw(3);return t.KtG(T.deleteTodoList(c,m))}),t._uU(5," delete "),t.qZA()()()}}function qs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",590)(1,"span",591),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().$implicit,c=t.oxw(3);return t.KtG(c.doubleClick(s))}),t._uU(2," mode_edit "),t.qZA()()}}const Ps=function(i,a){return{"w-70 pl-10":i,"col-md-12":a}};function Ls(i,a){if(1&i&&(t.TgZ(0,"div",571),t.YNc(1,Ms,2,0,"span",572),t.YNc(2,Is,2,0,"span",573),t.YNc(3,Ss,2,1,"span",573),t.TgZ(4,"div",574),t.YNc(5,Us,2,1,"div",575),t.TgZ(6,"div",576),t.YNc(7,ks,2,1,"p",577),t.YNc(8,Os,4,2,"div",578),t.qZA(),t.YNc(9,Ns,6,0,"div",579),t.YNc(10,qs,3,0,"div",580),t.qZA()()),2&i){const e=a.$implicit,n=t.oxw(3);t.xp6(1),t.Q6J("ngIf",0==e.createdDate),t.xp6(1),t.Q6J("ngIf",1==e.createdDate),t.xp6(1),t.Q6J("ngIf",1!=e.createdDate&&0!=e.createdDate),t.xp6(2),t.Q6J("ngIf",0==e.update),t.xp6(1),t.Q6J("ngClass",t.WLB(9,Ps,0==e.update,e.update)),t.xp6(1),t.Q6J("ngIf",0==e.update),t.xp6(1),t.Q6J("ngIf",e.update),t.xp6(1),t.Q6J("ngIf",n.selectedItem.value==e.id&&0==e.update),t.xp6(1),t.Q6J("ngIf",n.selectedItem.value!=e.id&&0==e.update)}}function Es(i,a){if(1&i&&(t.TgZ(0,"div",554)(1,"div",555)(2,"div",158)(3,"div",556),t.YNc(4,Cs,2,0,"button",557),t.TgZ(5,"div",558),t.YNc(6,ys,2,1,"input",559),t.TgZ(7,"div",560),t.YNc(8,ws,2,0,"span",561),t.YNc(9,As,2,0,"span",562),t.qZA()()()()(),t.TgZ(10,"div",563)(11,"mat-radio-group",564),t.YNc(12,Ls,11,12,"div",565),t.qZA()()()),2&i){const e=t.oxw(2);t.xp6(4),t.Q6J("ngIf",0==e.showInput),t.xp6(2),t.Q6J("ngIf",e.showInput),t.xp6(2),t.Q6J("ngIf",e.showInput),t.xp6(1),t.Q6J("ngIf",e.showInput),t.xp6(2),t.Q6J("formControl",e.selectedItem),t.xp6(1),t.Q6J("ngForOf",e.todoListData)}}function Js(i,a){1&i&&(t.TgZ(0,"button",599),t._uU(1,"Add a to-do"),t.qZA())}function Fs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"input",567,568),t.NdJ("ngModelChange",function(s){t.CHM(e);const c=t.oxw(3);return t.KtG(c.todoDescription=s)})("keyup.enter",function(){t.CHM(e);const s=t.MAs(1),c=t.oxw(3);return t.KtG(c.addTodoList(s.value))}),t.qZA()}if(2&i){const e=t.oxw(3);t.Q6J("ngModel",e.todoDescription)}}function Qs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"span",600),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(3);return t.KtG(s.addTodoList(s.todoDescription))}),t._uU(1," done "),t.qZA()}}function Rs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"span",601),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(3);return s.showInput=!1,t.KtG(s.todoDescription="")}),t._uU(1," clear "),t.qZA()}}function Ys(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",592)(1,"p"),t._uU(2,"No To-do\u2019s exist "),t._UZ(3,"br")(4,"br"),t._uU(5," This is the perfect place to add some quick tasks, thoughts, notes etc. "),t._UZ(6,"br")(7,"br"),t._uU(8," Go ahead, add something. "),t.qZA(),t.TgZ(9,"div",593)(10,"div",594),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.showInput=!0)}),t.YNc(11,Js,2,0,"button",595),t.qZA(),t.TgZ(12,"div",558),t.YNc(13,Fs,2,1,"input",559),t.TgZ(14,"div",560),t.YNc(15,Qs,2,0,"span",596),t.YNc(16,Rs,2,0,"span",597),t.qZA()()(),t._UZ(17,"img",598),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(11),t.Q6J("ngIf",0==e.showInput),t.xp6(2),t.Q6J("ngIf",e.showInput),t.xp6(2),t.Q6J("ngIf",e.showInput),t.xp6(1),t.Q6J("ngIf",e.showInput)}}function Bs(i,a){if(1&i&&(t.TgZ(0,"mat-tab",551),t.YNc(1,Es,13,6,"div",552),t.YNc(2,Ys,18,4,"div",553),t.qZA()),2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.todoListData),t.xp6(1),t.Q6J("ngIf",null==e.todoListData)}}function js(i,a){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-calendar-schedule",603),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("dashEvents",e.dashEvent)}}function Ks(i,a){if(1&i&&(t.TgZ(0,"mat-tab",602)(1,"div",554),t.YNc(2,js,2,1,"div",117),t.qZA()()),2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngIf",e.excessAllow)}}function Gs(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.scheduleDemo("Reschedule"))}),t._uU(1,"Reschedule"),t.qZA()}}function Ws(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.viewAll(s.allDemos))}),t._uU(1,"View All "),t.qZA()}}function $s(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"button",215),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.cancelDemo(s.closestDemos))}),t._uU(1,"Cancel"),t.qZA()}}function Hs(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw();
1t.xp6(1),t.Oqu(e.mfAumValue?e.mfAumValue:"0")}}function Vs(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.keyMetricSipCount.sipBook?e.keyMetricSipCount.sipBook:"0")}}function zs(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.keyMetricJson.clientCount?e.keyMetricJson.clientCount:"0")}}function Xs(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.keyMetricJson.InvestorCount?e.keyMetricJson.InvestorCount:"0")}}function tr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.hij("",e.dataSourceClientWithSub&&e.dataSourceClientWithSub.hasOwnProperty("activeClientPer")?e.dataSourceClientWithSub.activeClientPer:0," %")}}function er(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.dataSourceClientWithSub.cancelledSubscriptions)}}function ir(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u20b9 "),t.qZA())}function nr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.totalSales)}}function or(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u20b9 "),t.qZA())}function ar(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Oqu(e.feeRecieved)}}function sr(i,a){if(1&i&&(t.TgZ(0,"mat-tab",604)(1,"div",605)(2,"div",126)(3,"div",114)(4,"p",115),t._uU(5,"Clients with subscription "),t.qZA(),t.TgZ(6,"h3",606)(7,"div",28)(8,"div",29),t.YNc(9,tr,2,1,"span",117),t.qZA()()()()(),t.TgZ(10,"div",129)(11,"div",114)(12,"p",115),t._uU(13," Subscriptions cancelled "),t.qZA(),t.TgZ(14,"h3",128)(15,"div",28)(16,"div",29),t.YNc(17,er,2,1,"span",117),t.qZA()()()()(),t.TgZ(18,"div",130)(19,"div",114)(20,"p",115),t._uU(21,"Total fees charged "),t.qZA(),t.TgZ(22,"h3",128)(23,"div",28)(24,"div",29),t.YNc(25,ir,2,0,"span",117),t.YNc(26,nr,2,1,"span",117),t.qZA()()()()(),t.TgZ(27,"div",131)(28,"div",114)(29,"p",115),t._uU(30,"Fees received"),t.qZA(),t.TgZ(31,"h3",128)(32,"div",28)(33,"div",29),t.YNc(34,or,2,0,"span",117),t.YNc(35,ar,2,1,"span",117),t.qZA()()()()()()()),2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("appSkeletonLoading",e.subOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(11,I,e.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(13,I,e.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(15,I,e.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag&&0!=e.totalSales),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(17,I,e.subOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag&&0!=e.totalSales),t.xp6(1),t.Q6J("ngIf",!e.subOverviewFlag)}}function rr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.documentSizeData.familyMemberCount?e.documentSizeData.familyMemberCount:"0")}}function dr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.documentSizeData.totalClients)}}function cr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.TgZ(2,"span",206),t._uU(3," MB "),t.qZA()()),2&i){const e=t.oxw();t.xp6(1),t.hij("",e.documentSizeData.totalMbs," ")}}function lr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw();
1t.xp6(1),t.hij(" ",e.documentSizeData.totalDocs,"")}}function _r(i,a){if(1&i&&(t.TgZ(0,"h5",615),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.name," ")}}function pr(i,a){if(1&i&&(t.TgZ(0,"h5",616),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.s9C("matTooltip",e.name),t.xp6(1),t.hij(" ",e.shortName," ")}}function mr(i,a){1&i&&(t.TgZ(0,"h5",342),t._uU(1," Group head "),t.qZA())}function gr(i,a){if(1&i&&(t.TgZ(0,"h5",343),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.name," ")}}function ur(i,a){1&i&&(t.TgZ(0,"div",617)(1,"button",618),t._uU(2,"Anniv "),t.qZA()())}function hr(i,a){1&i&&(t.TgZ(0,"span",288),t._uU(1,"Today"),t.qZA())}function fr(i,a){1&i&&(t.TgZ(0,"span",288),t._uU(1,"Tomorrow"),t.qZA())}function vr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" In ",e.daysToGo," days ")}}function br(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.daysToGo," ")}}function xr(i,a){if(1&i&&(t.TgZ(0,"p",344),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.dateToShow,"dd/MM/yyyy")," ")}}function Tr(i,a){if(1&i&&(t.TgZ(0,"p",344),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.dateToShow,"dd/MM/yyyy")," ")}}function Zr(i,a){if(1&i&&(t.TgZ(0,"p",344),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.age," years ")}}function Dr(i,a){if(1&i&&(t.TgZ(0,"div",610)(1,"div",158)(2,"div",329),t.YNc(3,_r,2,1,"h5",611),t.YNc(4,pr,2,2,"h5",612),t.YNc(5,mr,2,0,"h5",332),t.YNc(6,gr,2,1,"h5",333),t.qZA(),t.YNc(7,ur,3,0,"div",613),t.qZA(),t.TgZ(8,"div",158)(9,"div",334),t._UZ(10,"img",614),t.qZA(),t.TgZ(11,"div",336)(12,"h5",337),t.YNc(13,hr,2,0,"span",338),t.YNc(14,fr,2,0,"span",338),t.YNc(15,vr,2,1,"span",117),t.YNc(16,br,2,1,"span",117),t.qZA(),t.YNc(17,xr,3,4,"p",339),t.YNc(18,Tr,3,4,"p",339),t.YNc(19,Zr,2,1,"p",339),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(3),t.Q6J("ngIf",!e.shortName),t.xp6(1),t.Q6J("ngIf",e.shortName),t.xp6(1),t.Q6J("ngIf",2==e.userType),t.xp6(1),t.Q6J("ngIf",3==e.userType),t.xp6(1),t.Q6J("ngIf",2===e.birthDayOrAnniversary),t.xp6(6),t.Q6J("ngIf",0==e.daysToGo),t.xp6(1),t.Q6J("ngIf",1==e.daysToGo),t.xp6(1),t.Q6J("ngIf",0!=e.daysToGo&&1!=e.daysToGo&&"N/A"!=e.daysToGo),t.xp6(1),t.Q6J("ngIf","N/A"==e.daysToGo),t.xp6(1),t.Q6J("ngIf",1===e.birthDayOrAnniversary),t.xp6(1),t.Q6J("ngIf",2===e.birthDayOrAnniversary),t.xp6(1),t.Q6J("ngIf",1===e.birthDayOrAnniversary)}}function Cr(i,a){if(1&i&&(t.TgZ(0,"div",345)(1,"div",346)(2,"div",158)(3,"div",53)(4,"div",28),t._UZ(5,"div",347),t.qZA()()(),t.TgZ(6,"div",158)(7,"div",348)(8,"div",28),t._UZ(9,"div",349),t.qZA()(),t.TgZ(10,"div",350)(11,"div",28),t._UZ(12,"div",347),t.qZA(),t.TgZ(13,"div",28),t._UZ(14,"div",347),t.qZA()()()(),t.TgZ(15,"div",346)(16,"div",158)(17,"div",53)(18,"div",323),t._UZ(19,"div",347),t.qZA()()(),t.TgZ(20,"div",158)(21,"div",348)(22,"div",28),t._UZ(23,"div",349),t.qZA()(),t.TgZ(24,"div",350)(25,"div",28),t._UZ(26,"div",347),t.qZA(),t.TgZ(27,"div",28),t._UZ(28,"div",347),t.qZA()()()(),t.TgZ(29,"div",346)(30,"div",158)(31,"div",53)(32,"div",28),t._UZ(33,"div",347),t.qZA()()(),t.TgZ(34,"div",158)(35,"div",348)(36,"div",28),t._UZ(37,"div",349),t.qZA()(),t.TgZ(38,"div",350)(39,"div",28),t._UZ(40,"div",347),t.qZA(),t.TgZ(41,"div",28),t._UZ(42,"div",347),t.qZA()()()()()),2&i){const e=t.oxw(2);t.Q6J("appSkeletonLoading",e.isBirhtdayLoader)}}function yr(i,a){if(1&i&&(t.TgZ(0,"div",607)(1,"div",53)(2,"h5",608),t._uU(3,"Birthdays & Anniversaries"),t.qZA(),t.TgZ(4,"div",323),t.YNc(5,Dr,20,12,"div",609),t.qZA(),t.YNc(6,Cr,43,1,"div",325),t.qZA()()),2&i){const e=t.oxw();
1t.xp6(5),t.Q6J("ngForOf",e.birthdayAnniList),t.xp6(1),t.Q6J("ngIf",e.isBirhtdayLoader)}}function wr(i,a){if(1&i&&(t.TgZ(0,"div",621)(1,"div",622)(2,"div",623)(3,"p",624),t._uU(4),t.qZA(),t.TgZ(5,"p",625),t._uU(6," Open bank FD"),t.qZA(),t.TgZ(7,"p",626),t._uU(8),t.qZA(),t.TgZ(9,"div",440)(10,"div",627)(11,"button",628),t._uU(12),t.qZA()(),t.TgZ(13,"div",629)(14,"p",630),t._uU(15),t.qZA()()(),t.TgZ(16,"div",631)(17,"div",627)(18,"p",632),t._uU(19," Progress"),t.qZA()(),t.TgZ(20,"div",629)(21,"p",630),t._uU(22),t.qZA()(),t.TgZ(23,"div",633),t._UZ(24,"mat-progress-bar",634),t.qZA()(),t.TgZ(25,"div",635)(26,"div",636)(27,"p",630),t._uU(28),t.qZA()()(),t.TgZ(29,"div",637)(30,"div",636)(31,"p",638),t._uU(32),t.qZA()()()()()()),2&i){const e=a.$implicit;t.xp6(4),t.hij(" ",e.des,""),t.xp6(4),t.Oqu(e.client),t.xp6(4),t.Oqu(e.taskStatusName),t.xp6(3),t.Oqu(e.dueDate),t.xp6(7),t.hij("",e.percentage,"% "),t.xp6(2),t.Q6J("value",e.percentage),t.xp6(4),t.hij("",e.commentsCount," Comments"),t.xp6(4),t.hij(" ",e.assigned,"")}}function Ar(i,a){if(1&i&&(t.TgZ(0,"div",619)(1,"div",53)(2,"h5",608),t._uU(3,"Today\u2019s tasks"),t.qZA(),t.TgZ(4,"div",323),t.YNc(5,wr,33,8,"div",620),t.qZA()()()),2&i){const e=t.oxw();
1t.xp6(5),t.Q6J("ngForOf",e.taskData)}}function Mr(i,a){1&i&&(t.TgZ(0,"div",639)(1,"div",636)(2,"h5",640),t._uU(3,"Online Transactions "),t.qZA()()())}function Ir(i,a){1&i&&(t.TgZ(0,"span",648),t._uU(1," Pending "),t.qZA())}function Sr(i,a){1&i&&(t.TgZ(0,"span",649),t._uU(1,"Rejection"),t.qZA())}function Ur(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.InnOrUcc?e.InnOrUcc:0)}}function kr(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.mandate?e.mandate:0)}}function Or(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transact?e.transact:0,"")}}function Nr(i,a){if(1&i&&(t.TgZ(0,"div",621)(1,"div",622)(2,"div",643)(3,"div",158)(4,"div",644)(5,"p",638),t.YNc(6,Ir,2,0,"span",645),t.YNc(7,Sr,2,0,"span",646),t.qZA()(),t.TgZ(8,"div",647)(9,"p",638),t._uU(10," BSE Star MF"),t.qZA()()(),t.TgZ(11,"div",637)(12,"div",627)(13,"p",632),t._uU(14," UCC"),t.qZA()(),t.TgZ(15,"div",629)(16,"p",630),t.YNc(17,Ur,2,1,"span",117),t.qZA()()(),t.TgZ(18,"div",637)(19,"div",627)(20,"p",632),t._uU(21," Mandate"),t.qZA()(),t.TgZ(22,"div",629)(23,"p",630),t.YNc(24,kr,2,1,"span",117),t.qZA()()(),t.TgZ(25,"div",637)(26,"div",627)(27,"p",632),t._uU(28," Transaction"),t.qZA()(),t.TgZ(29,"div",629)(30,"p",630),t.YNc(31,Or,2,1,"span",117),t.qZA()()()()()()),2&i){const e=a.index,n=t.oxw(2);t.xp6(6),t.Q6J("ngIf",0==e),t.xp6(1),t.Q6J("ngIf",1==e),t.xp6(10),t.Q6J("ngIf",!n.last7DaysFlag),t.xp6(7),t.Q6J("ngIf",!n.last7DaysFlag),t.xp6(7),t.Q6J("ngIf",!n.last7DaysFlag)}}function qr(i,a){1&i&&(t.TgZ(0,"span",648),t._uU(1," Pending "),t.qZA())}function Pr(i,a){1&i&&(t.TgZ(0,"span",649),t._uU(1,"Rejection"),t.qZA())}function Lr(i,a){if(1&i&&(t.TgZ(0,"div",621)(1,"div",622)(2,"div",643)(3,"div",158)(4,"div",644)(5,"p",650),t.YNc(6,qr,2,0,"span",645),t.YNc(7,Pr,2,0,"span",646),t.qZA()(),t.TgZ(8,"div",627)(9,"p",638),t._uU(10," NSE Invest"),t.qZA()()(),t.TgZ(11,"div",637)(12,"div",627)(13,"p",632),t._uU(14," UCC"),t.qZA()(),t.TgZ(15,"div",629)(16,"p",630),t._uU(17),t.qZA()()(),t.TgZ(18,"div",637)(19,"div",627)(20,"p",632),t._uU(21," Mandate"),t.qZA()(),t.TgZ(22,"div",629)(23,"p",630),t._uU(24),t.qZA()()(),t.TgZ(25,"div",637)(26,"div",627)(27,"p",632),t._uU(28," Transaction"),t.qZA()(),t.TgZ(29,"div",629)(30,"p",630),t._uU(31),t.qZA()()()()()()),2&i){const e=a.$implicit,n=a.index;t.xp6(6),t.Q6J("ngIf",0==n),t.xp6(1),t.Q6J("ngIf",1==n),t.xp6(10),t.hij(" ",e.InnOrUcc?e.InnOrUcc:0,""),t.xp6(7),t.hij(" ",e.mandate?e.mandate:0,""),t.xp6(7),t.hij(" ",e.transact?e.transact:0,"")}}function Er(i,a){if(1&i&&(t.TgZ(0,"mat-tab",641)(1,"div",642),t.YNc(2,Nr,32,5,"div",620),t.YNc(3,Lr,32,5,"div",620),t.qZA()()),2&i){const e=t.oxw();
1t.xp6(2),t.Q6J("ngForOf",e.bseData),t.xp6(1),t.Q6J("ngForOf",e.nscData)}}function Jr(i,a){if(1&i&&(t.TgZ(0,"div",403)(1,"div",158)(2,"div",404)(3,"h5",405),t._uU(4," UCC "),t.qZA(),t.TgZ(5,"h5",406),t._uU(6),t.qZA()(),t.TgZ(7,"div",407),t._uU(8," BSE "),t.qZA()(),t.TgZ(9,"div",408)(10,"div",409)(11,"p",410),t._uU(12," Individual"),t.qZA()(),t.TgZ(13,"div",411)(14,"p",412),t._uU(15," Anyone or survivor "),t.qZA()()(),t.TgZ(16,"div",408)(17,"div",413)(18,"button",652),t._uU(19,"INVESTMENT READY "),t.qZA()()()()),2&i){const e=a.$implicit;t.xp6(6),t.hij(" ",e.clientName," ")}}function Fr(i,a){if(1&i&&(t.TgZ(0,"div",651)(1,"div",87),t.YNc(2,Jr,20,1,"div",402),t.qZA()()),2&i){const e=t.oxw();t.xp6(2),t.Q6J("ngForOf",e.LastSevenDaysInvestmentAccounts)}}function Qr(i,a){if(1&i&&(t.TgZ(0,"div",158)(1,"div",265)(2,"div",87)(3,"div",420)(4,"div",158)(5,"div",653)(6,"div",28),t._UZ(7,"div",422),t.qZA()(),t.TgZ(8,"div",654)(9,"div",28),t._UZ(10,"div",422),t.qZA()()(),t.TgZ(11,"div",158)(12,"div",655)(13,"div",28),t._UZ(14,"div",425),t.qZA()()(),t.TgZ(15,"div",158)(16,"div",653)(17,"div",28),t._UZ(18,"div",422),t.qZA()(),t.TgZ(19,"div",654)(20,"div",28),t._UZ(21,"div",422),t.qZA()()(),t.TgZ(22,"div",158)(23,"div",656)(24,"div",28),t._UZ(25,"div",347),t.qZA()()()(),t.TgZ(26,"div",420)(27,"div",158)(28,"div",653)(29,"div",28),t._UZ(30,"div",422),t.qZA()(),t.TgZ(31,"div",654)(32,"div",28),t._UZ(33,"div",422),t.qZA()()(),t.TgZ(34,"div",158)(35,"div",655)(36,"div",28),t._UZ(37,"div",425),t.qZA()()(),t.TgZ(38,"div",158)(39,"div",653)(40,"div",28),t._UZ(41,"div",422),t.qZA()(),t.TgZ(42,"div",654)(43,"div",28),t._UZ(44,"div",422),t.qZA()()(),t.TgZ(45,"div",158)(46,"div",656)(47,"div",28),t._UZ(48,"div",347),t.qZA()()()()()()()),2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("appSkeletonLoading",e.investmentAccountFlag)}}function Rr(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",657)(1,"div",658)(2,"div",659),t._UZ(3,"img",660),t.qZA(),t.TgZ(4,"div",636)(5,"h3",287),t._uU(6,"Not enough data to display"),t.qZA(),t.TgZ(7,"p",288),t._uU(8,"If you have registered with NSE Invest or BSE Star MF then you can open client\u2019s investmetn accounts from here and track their real time status."),t.qZA(),t.TgZ(9,"button",427),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.openAddCredential("addCredentials",""))}),t._uU(10," Add NSE/BSE credentials "),t.qZA(),t.TgZ(11,"div",431)(12,"mat-checkbox")(13,"span",429),t._uU(14,"Do not show this again"),t.qZA()()()()()()}}function Yr(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",661)(1,"div",662)(2,"div",636),t._UZ(3,"img",660),t.qZA(),t.TgZ(4,"div",636)(5,"h3",287),t._uU(6,"Not recent investment accounts"),t.qZA(),t.TgZ(7,"p",288),t._uU(8,"Please add new investors by clicking on the button below"),t.qZA(),t.TgZ(9,"button",427),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.openNewCustomerIIN())}),t._uU(10," Add New Investor "),t.qZA(),t.TgZ(11,"div",431)(12,"mat-checkbox")(13,"span",429),t._uU(14,"Do not show this again"),t.qZA()()()()()()}}function Br(i,a){if(1&i&&(t.TgZ(0,"span",454),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function jr(i,a){if(1&i&&(t.TgZ(0,"span",665),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Kr(i,a){if(1&i&&(t.TgZ(0,"span",454),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Gr(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Wr(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function $r(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Hr(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function Vr(i,a){if(1&i&&(t.TgZ(0,"span",456),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.transactionStatus," ")}}function zr(i,a){if(1&i&&(t.TgZ(0,"span",455),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ","Redemption"==e.transactionTypeString?e.transactionStatus:"Order processed"," ")}}function Xr(i,a){if(1&i&&(t.TgZ(0,"div",436)(1,"div",158)(2,"div",404)(3,"p",437),t._uU(4),t.qZA()(),t.TgZ(5,"div",438)(6,"p",439),t._uU(7),t.qZA()()(),t.TgZ(8,"div",440)(9,"div",441)(10,"p",442),t._uU(11),t.qZA()(),t.TgZ(12,"div",443)(13,"p",439),t._uU(14),t.ALo(15,"date"),t.qZA()()(),t.TgZ(16,"div",440)(17,"div",444)(18,"p",445),t._uU(19),t.qZA()()(),t.TgZ(20,"div",408)(21,"div",53)(22,"p",446),t._uU(23),t.qZA()(),t.TgZ(24,"div",53),t.YNc(25,Br,2,1,"span",449),t.YNc(26,jr,2,1,"span",664),t.YNc(27,Kr,2,1,"span",449),t.YNc(28,Gr,2,1,"span",450),t.YNc(29,Wr,2,1,"span",450),t.YNc(30,$r,2,1,"span",450),t.YNc(31,Hr,2,1,"span",450),t.YNc(32,Vr,2,1,"span",451),t.YNc(33,zr,2,1,"span",450),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(4),t.hij(" ",e.transactionType,""),t.xp6(3),t.hij(" ",e.platformName," "),t.xp6(4),t.AsE(" ",e.amount?"\u20b9 ":""," ",e.amount," "),t.xp6(3),t.hij(" ",t.xi3(15,17,e.orderDate,"dd/MM/yyyy")," "),t.xp6(3),t.s9C("matTooltip",e.schemeName),t.xp6(2),t.hij(" ",e.schemeName,""),t.xp6(4),t.hij(" ",e.clientName," "),t.xp6(2),t.Q6J("ngIf",0==e.status),t.xp6(1),t.Q6J("ngIf",1==e.status),t.xp6(1),t.Q6J("ngIf",2==e.status),t.xp6(1),t.Q6J("ngIf",3==e.status),t.xp6(1),t.Q6J("ngIf",4==e.status),t.xp6(1),t.Q6J("ngIf",5==e.status),t.xp6(1),t.Q6J("ngIf",6==e.status),t.xp6(1),t.Q6J("ngIf",7==e.status),t.xp6(1),t.Q6J("ngIf",8==e.status)}}function td(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",666)(1,"div",662)(2,"div",636),t._UZ(3,"img",667),t.qZA(),t.TgZ(4,"div",655)(5,"h3",287),t._uU(6,"Not enough data to display"),t.qZA(),t.TgZ(7,"p",288),t._uU(8,"If you have registered with NSE Invest or BSE Star MF then you can initiate online transactions from here and track their real time status."),t.qZA(),t.TgZ(9,"button",457),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.openAddCredential("addCredentials",""))}),t._uU(10," Add NSE/BSE credentials "),t.qZA(),t.TgZ(11,"div",428)(12,"mat-checkbox",null,668)(14,"span",429),t._uU(15,"Do n
1ot show this again"),t.qZA()()()()()()}}function ed(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",666)(1,"div",662)(2,"div",636),t._UZ(3,"img",667),t.qZA(),t.TgZ(4,"div",655)(5,"h3",287),t._uU(6,"No recent online transactions"),t.qZA(),t.TgZ(7,"p",288),t._uU(8,"Please add new transactions by clicking on the button below"),t.qZA(),t.TgZ(9,"button",427),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(2);return t.KtG(s.openTransaction())}),t._uU(10," Add New Transaction "),t.qZA()()()()}}function id(i,a){if(1&i&&(t.TgZ(0,"div",460)(1,"div",265)(2,"div",87)(3,"div",420)(4,"div",158)(5,"div",653)(6,"div",28),t._UZ(7,"div",422),t.qZA()(),t.TgZ(8,"div",654)(9,"div",28),t._UZ(10,"div",422),t.qZA()()(),t.TgZ(11,"div",158)(12,"div",653)(13,"div",28),t._UZ(14,"div",422),t.qZA()(),t.TgZ(15,"div",654)(16,"div",28),t._UZ(17,"div",422),t.qZA()()(),t.TgZ(18,"div",158)(19,"div",655)(20,"div",28),t._UZ(21,"div",425),t.qZA()()(),t.TgZ(22,"div",158)(23,"div",656)(24,"div",28),t._UZ(25,"div",347),t.qZA()()()(),t.TgZ(26,"div",420)(27,"div",158)(28,"div",653)(29,"div",28),t._UZ(30,"div",422),t.qZA()(),t.TgZ(31,"div",654)(32,"div",28),t._UZ(33,"div",422),t.qZA()()(),t.TgZ(34,"div",158)(35,"div",653)(36,"div",28),t._UZ(37,"div",422),t.qZA()(),t.TgZ(38,"div",654)(39,"div",28),t._UZ(40,"div",422),t.qZA()()(),t.TgZ(41,"div",158)(42,"div",655)(43,"div",28),t._UZ(44,"div",425),t.qZA()()(),t.TgZ(45,"div",158)(46,"div",656)(47,"div",28),t._UZ(48,"div",347),t.qZA()()()()()()()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("appSkeletonLoading",e.transactionFlag)}}function nd(i,a){if(1&i&&(t.TgZ(0,"mat-tab",663)(1,"div",651)(2,"div",87),t.YNc(3,Xr,34,20,"div",433),t.qZA()(),t.YNc(4,td,16,0,"div",156),t.YNc(5,ed,11,0,"div",156),t.YNc(6,id,49,1,"div",434),t.qZA()),2&i){const e=t.oxw();
1t.xp6(3),t.Q6J("ngForOf",e.LastSevenDaysTransactions),t.xp6(1),t.Q6J("ngIf",e.LastSevenDaysTransactions&&e.LastSevenDaysTransactions.length<=0&&!e.credentialsAdded),t.xp6(1),t.Q6J("ngIf",e.LastSevenDaysInvestmentAccounts&&0==e.LastSevenDaysTransactions.length&&e.credentialsAdded),t.xp6(1),t.Q6J("ngIf",null==e.LastSevenDaysTransactions)}}function od(i,a){1&i&&(t.TgZ(0,"div",669)(1,"div",636)(2,"h5",670),t._uU(3,"RTA Feeds"),t.qZA()()())}function ad(i,a){1&i&&(t.TgZ(0,"div",673)(1,"div",674)(2,"div",655),t._UZ(3,"img",675),t.qZA(),t.TgZ(4,"div",676)(5,"h3",287),t._uU(6,"No Rejected transaction Recently"),t.qZA(),t.TgZ(7,"p",288),t._uU(8," We could not find any Rejections or reversal transactions to show. Either there is not enough data yet, or you have not provided your RTA details yet. "),t.qZA()()()())}function sd(i,a){if(1&i&&(t.TgZ(0,"div",436)(1,"div",158)(2,"div",404)(3,"p",437),t._uU(4),t.qZA()()(),t.TgZ(5,"div",440)(6,"div",441)(7,"p",677)(8,"span",373),t._uU(9),t.qZA(),t.TgZ(10,"span",473),t._uU(11),t.qZA()()(),t.TgZ(12,"div",443)(13,"p",678),t._uU(14),t.ALo(15,"date"),t.qZA()()(),t.TgZ(16,"div",440)(17,"div",679)(18,"p",445),t._uU(19),t.qZA()()(),t.TgZ(20,"div",408)(21,"div",53)(22,"p",446),t._uU(23),t.qZA()(),t.TgZ(24,"div",53)(25,"button",680),t._uU(26),t.qZA()()()()),2&i){const e=a.$implicit;t.xp6(4),t.hij(" ",e.ownerName," "),t.xp6(5),t.Oqu(e.amount?"\u20b9 ":""),t.xp6(2),t.Oqu(e.amount),t.xp6(3),t.hij(" ",t.xi3(15,7,e.transactionDate,"dd/MM/yyyy")," "),t.xp6(5),t.hij(" ",e.schemeName," "),t.xp6(4),t.hij("",e.folioNumber," "),t.xp6(3),t.hij("",e.transactionNature?e.transactionNature:"-"," ")}}function rd(i,a){if(1&i&&(t.TgZ(0,"div",651)(1,"div",87),t.YNc(2,sd,27,10,"div",433),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngForOf",e.dataSource5)}}function dd(i,a){if(1&i&&(t.TgZ(0,"mat-tab",671),t.YNc(1,ad,9,0,"div",672),t.YNc(2,rd,3,1,"div",140),t.qZA()),2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",0==e.dataSource5.length),t.xp6(1),t.Q6J("ngIf",!e.rtaLoader)}}function cd(i,a){1&i&&(t.TgZ(0,"div",284)(1,"div",285)(2,"div",379)(3,"h3",287),t._uU(4,"No transaction found"),t.qZA(),t.TgZ(5,"p",288),t._uU(6," We could not find any transactions to show. Either there is not enough data yet, or you have not provided your RTA details yet. "),t.qZA()(),t.TgZ(7,"div",381),t._UZ(8,"img",682),t.qZA()()())}function ld(i,a){if(1&i&&(t.TgZ(0,"div",436)(1,"div",158)(2,"div",636)(3,"p",437),t._uU(4),t.qZA()()(),t.TgZ(5,"div",440)(6,"div",441)(7,"p",677)(8,"span",373),t._uU(9),t.qZA(),t.TgZ(10,"span",473),t._uU(11),t.qZA()()(),t.TgZ(12,"div",443)(13,"p",678),t._uU(14),t.ALo(15,"date"),t.qZA()()(),t.TgZ(16,"div",440)(17,"div",683)(18,"p",445),t._uU(19),t.qZA()()(),t.TgZ(20,"div",408)(21,"div",53)(22,"p",446),t._uU(23),t.qZA()(),t.TgZ(24,"div",53)(25,"button",680),t._uU(26),t.qZA()()()()),2&i){const e=a.$implicit;t.xp6(4),t.hij(" ",e.ownerName,""),t.xp6(5),t.Oqu(e.amount?"\u20b9 ":""),t.xp6(2),t.Oqu(e.amount),t.xp6(3),t.hij(" ",t.xi3(15,7,e.transactionDate,"dd/MM/yyyy")," "),t.xp6(5),t.hij(" ",e.schemeName," "),t.xp6(4),t.hij(" ",e.folioNumber," "),t.xp6(3),t.hij("",e.fwTransactionType?e.fwTransactionType:"-"," ")}}function _d(i,a){if(1&i&&(t.TgZ(0,"mat-tab",681),t.YNc(1,cd,9,0,"div",282),t.TgZ(2,"div",651)(3,"div",87),t.YNc(4,ld,27,10,"div",433),t.qZA()()()),2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",0==e.dataSource8.length),t.xp6(3),t.Q6J("ngForOf",e.dataSource8)}}function pd(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Client name"),t.qZA())}function md(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",493),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(2);return t.KtG(m.openPlanSlider("SUBSCRIPTIONS","open",c))}),t.TgZ(1,"div",471),t._uU(2),t.qZA()()}if(2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.clientName," ")}}function gd(i,a){1&i&&(t.TgZ(0,"th",494),t._uU(1," Service name"),t.qZA())}function ud(i,a){if(1&i&&(t.TgZ(0,"td",495)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.serviceName," ")}}function hd(i,a){1&i&&(t.TgZ(0,"th",496),t._uU(1," Fees "),t.qZA())}function fd(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"td",493),t.NdJ("click",function(){const c=t.CHM(e).$implicit,m=t.oxw(2);return t.KtG(m.Open(c))}),t.TgZ(1,"div",497),t._uU(2),t.qZA()()}if(2&i){const e=t.oxw(2);t.xp6(2),t.hij(" ",e.isLoadingSubSummary?" ":"View details"," ")}}function vd(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Next billing date"),t.qZA())}function bd(i,a){if(1&i&&(t.TgZ(0,"div",471),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e.nextBillingDate,"dd/MM/yyyy")," ")}}function xd(i,a){if(1&i&&(t.TgZ(0,"div",471),t._uU(1),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.hij(" ",e.isLoadingSubSummary?"":"Not Started"," ")}}function Td(i,a){if(1&i&&(t.TgZ(0,"td",375),t.YNc(1,bd,3,4,"div",498),t.YNc(2,xd,2,1,"div",498),t.qZA()),2&i){const e=a.$implicit;t.xp6(1),t.Q6J("ngIf",e.nextBillingDate),t.xp6(1),t.Q6J("ngIf",!e.nextBillingDate)}}function Zd(i,a){1&i&&t._UZ(0,"th",499)}function Dd(i,a){1&i&&t._UZ(0,"td",685)}function Cd(i,a){1&i&&t._UZ(0,"tr",376)}function yd(i,a){1&i&&t._UZ(0,"tr",377)}function wd(i,a){if(1&i&&(t.TgZ(0,"div",158)(1,"div",482)(2,"table",387)(3,"tbody"),t.ynx(4,363),t.YNc(5,pd,2,0,"th",361),t.YNc(6,md,3,1,"td",483),t.BQk(),t.ynx(7,484),t.YNc(8,gd,2,0,"th",485),t.YNc(9,ud,3,1,"td",486),t.BQk(),t.ynx(10,487),t.YNc(11,hd,2,0,"th",488),t.YNc(12,fd,3,1,"td",483),t.BQk(),t.ynx(13,489),t.YNc(14,vd,2,0,"th",361),t.YNc(15,Td,3,2,"td",365),t.BQk(),t.ynx(16,490),t.YNc(17,Zd,1,0,"th",491),t.YNc(18,Dd,1,0,"td",684),t.BQk(),t.YNc(19,Cd,1,0,"tr",366),t.YNc(20,yd,1,0,"tr",367),t.qZA()()()()),2&i){const e=t.oxw();
1t.xp6(2),t.Q6J("appSkeletonLoading",e.isLoadingSubSummary)("dataSource",e.dashBoardSummary),t.xp6(17),t.Q6J("matHeaderRowDef",e.displayedDashboardSummary),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedDashboardSummary)}}function Ad(i,a){1&i&&(t.TgZ(0,"div",666)(1,"div",674)(2,"div",636),t._UZ(3,"img",686),t.qZA(),t.TgZ(4,"div",655)(5,"h3",287),t._uU(6,"No upcoming subscription added yet"),t.qZA(),t.TgZ(7,"p",288),t._uU(8," Subscriptions is carefully designed for RIAs. You can define your core offerings, fee structure, deliverables, agreements and automate the whole process around it. This will act as a foundation for your RIA practice. "),t.qZA(),t.TgZ(9,"button",380),t._uU(10," Explore subscriptions "),t.qZA()()()()),2&i&&(t.xp6(9),t.Q6J("routerLink",t.DdM(1,de)))}function Md(i,a){1&i&&(t.TgZ(0,"th",513),t._uU(1," RTA"),t.qZA())}function Id(i,a){if(1&i&&(t.TgZ(0,"td",514)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.rtName," ")}}function Sd(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," ARN/RIA"),t.qZA())}function Ud(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.arnRiaNumber," ")}}function kd(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Done on"),t.qZA())}function Od(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.ALo(3,"date"),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",t.xi3(3,1,e.doneOn,"dd/MM/yyyy")," ")}}function Nd(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Done by"),t.qZA())}function qd(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.Oqu(e.doneBy)}}function Pd(i,a){1&i&&(t.TgZ(0,"th",368),t._uU(1," Unmatch"),t.qZA())}function Ld(i,a){if(1&i&&(t.TgZ(0,"td",375)(1,"div",471),t._uU(2),t.qZA()()),2&i){const e=a.$implicit;t.xp6(2),t.hij("",e.unMatched," ")}}function Ed(i,a){1&i&&(t.TgZ(0,"th",690),t._uU(1," Report"),t.qZA())}function Jd(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"Report"),t.qZA())}function Fd(i,a){if(1&i&&(t.TgZ(0,"td",691)(1,"div",471),t.YNc(2,Jd,2,0,"span",117),t.qZA()()),2&i){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!e.aumFlag)}}function Qd(i,a){1&i&&t._UZ(0,"tr",376)}function Rd(i,a){1&i&&t._UZ(0,"tr",377)}function Yd(i,a){if(1&i&&(t.TgZ(0,"div",158)(1,"div",509)(2,"table",387),t.ynx(3,360),t.YNc(4,Md,2,0,"th",510),t.YNc(5,Id,3,1,"td",511),t.BQk(),t.ynx(6,363),t.YNc(7,Sd,2,0,"th",361),t.YNc(8,Ud,3,1,"td",365),t.BQk(),t.ynx(9,364),t.YNc(10,kd,2,0,"th",361),t.YNc(11,Od,4,4,"td",365),t.BQk(),t.ynx(12,389),t.YNc(13,Nd,2,0,"th",361),t.YNc(14,qd,3,1,"td",365),t.BQk(),t.ynx(15,512),t.YNc(16,Pd,2,0,"th",361),t.YNc(17,Ld,3,1,"td",365),t.BQk(),t.ynx(18,687),t.YNc(19,Ed,2,0,"th",688),t.YNc(20,Fd,3,1,"td",689),t.BQk(),t.YNc(21,Qd,1,0,"tr",366),t.YNc(22,Rd,1,0,"tr",367),t.qZA()()()),2&i){const e=t.oxw();
1t.xp6(2),t.Q6J("appSkeletonLoading",e.aumFlag)("dataSource",e.aumReconList),t.xp6(19),t.Q6J("matHeaderRowDef",e.displayedColumns7),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns7)}}function Bd(i,a){1&i&&(t.TgZ(0,"div",692)(1,"div",662)(2,"div",636),t._UZ(3,"img",693),t.qZA(),t.TgZ(4,"div",655)(5,"h3",287),t._uU(6,"Not enough data to display"),t.qZA(),t.TgZ(7,"p",288),t._uU(8," Once, you add your RTA details and get your feeds uploaded, you will be able to see status of the AUM reconciliation for your ARN/RIA code. "),t.qZA(),t.TgZ(9,"button",380),t._uU(10," Add ARN/RIA details "),t.qZA()()()()),2&i&&(t.xp6(9),t.Q6J("routerLink",t.DdM(1,zt)))}function jd(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",694)(1,"button",695),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.openBottomSheet())}),t._UZ(2,"img",696),t.qZA()()}}const Kd=function(i){return{div2:i}},Gd=function(i){return{"mwx-100":i}};let Wd=(()=>{class i{constructor(e,n,s,c,m,T,O,R,j,U,z,vt,$d,Hd,Vd,zd,Xd,tc,ec,ic,nc,oc,ac,sc,rc,dc,cc,lc,_c,pc){this.auth=e,this.ngZone=n,this.enumService=s,this.dialog=c,this.subService=m,this.rewardsService=T,this.eventService=O,this.peopleService=R,this.accountService=j,this.researchService=U,this.router=z,this.activatedRoute=vt,this.subInjectService=$d,this.backoffice=Hd,this.transactionService=Vd,this.dashboardService=zd,this.calenderService=Xd,this.emailService=tc,this.utils=ec,this.datePipe=ic,this.crmTaskService=nc,this.customerService=oc,this.enumDataService=ac,this.enumServiceService=sc,this.cancelFlagService=rc,this.roleService=dc,this.MfServiceService=cc,this.assetValidation=lc,this._bottomSheet=_c,this.authService=pc,this.BSECredentials=[],this.accountStatus=null,this.lock=!1,this.arnRiaValue=-1,this.displayData=[],this.aumIdList=[],this.aumList=[],this.isUnmasked=!1,this.unmaskFlag=!1,this.documentUnmaskFlag=!1,this.widgetData=[],this.widgetloader=!1,this.isHovered=!1,this.currentIndex=0,this.targetDate=Date.UTC(2025,2,8,8,30,0),this.days=0,this.hour=0,this.minutes=0,this.apiCallsMade=new Set,this.gamecapabilityId=[],this.gamesdata=[],this.missionloader=!1,this.animationgames=!1,this.destroy$=new Tt.xQ,this.currentDate=new Date,this.selectclubres=[],this.navDetails={schemeList:[]},this.chartTotal=0,this.source=(0,Zt.F)(72e5),this.chartData=[{name:"EQUITY",y:20,color:M.$.DONUT_CHART_COLORS[0],dataLabels:{enabled:!1}},{name:"DEBT",y:20,color:M.$.DONUT_CHART_COLORS[1],dataLabels:{enabled:!1}},{name:"HYBRID",y:20,color:M.$.DONUT_CHART_COLORS[2],dataLabels:{enabled:!1}},{name:"COMMODITY",y:0,color:M.$.DONUT_CHART_COLORS[4],dataLabels:{enabled:!1}},{name:"LIQUID",y:0,color:M.$.DONUT_CHART_COLORS[6],dataLabels:{enabled:!1}},{name:"OTHERS",y:20,color:M.$.DONUT_CHART_COLORS[3],dataLabels:{enabled:!1}}],this.taskSummaryDashboardCount=null,this.keyMatrixFlag=!0,this.answerObj={},this.documentSizeData={},this.last7DaysLoading=!0,this.isLoadingSubSummary=!1,this.credentialsAdded=!1,this.keyMetricJson={mfAum:"",sipBook:"",clientCount:"",InvestorCount:""},this.portFolioData=[],this.taskData=[],this.dashEvent=!0,this.displayedDashboardSummary=["name","service","amt","billing","icons"],this.subscriptionSummaryStatusFilter="1",this.showInput=!1,this.selectedItem=new f.p4,this.updateNote=new f.p4,this.displayedColumns=["position","name","weight","symbol","apr","may"],this.dataSource=[],this.displayedColumns2=["position","name","weight"],this.dataSource2=new F.by([]),this.displayedColumns3=["position","name","weight","symbol"],this.dataSource3=[],this.displayedColumns4=["position","name","weight","symbol"],this.dataSource4=[],this.displayedColumns5=["position","name","weight"],this.dataSource5=[],this.displayedColumns6=["position","name","weight","symbol","icons"],this.dataSource6=[],this.displayedColumns7=["position","name","weight","symbol","match"],this.dataSource7=[],this.dataSource8=[],this.displayedColumns8=["position","name","weight"],this.displayedColumns9=["Month","grossSales","redemptions","netSales"],this.sliderConfig={slidesToShow:1,infinite:!0,variableWidth:!0,outerEdgeLimit:!0,nextArrow:"<div style='position: absolute; top: 35%; right: 0; cursor: pointer;' class='nav-btn classNextArrow next-slide'><img src='/assets/images/svg/next-arrow.svg'></div>",prevArrow:"<div style='position: absolute; top: 35%; left: -5px; z-index: 1; cursor: pointer;' class='nav-btn classNextArrow next-slide'><img src='/assets/images/svg/pre-arrow.svg'></div>"},this.sliderConfig_investment={slidesToShow:1,infinite:!0,variableWidth:!0,outerEdgeLimit:!0,nextArrow:"<div style='position: absolute; top: 35%; right: 0; cursor: pointer;' class='nav-btn classNextArrow next-slide'><img src='/assets/images/svg/next-arrow.svg'></div>",prevArrow:"<div style='position: absolute; top: 35%; left: -5px; z-index: 1; cursor: pointer;' class='nav-btn classNextArrow next-slide'><img src='/assets/images/svg/pre-arrow.svg'></div>"},this.sliderConfig_transactions={slidesToShow:1,infinite:!0,variableWidth:!0,outerEdgeLimit:!0,nextArrow:"<div style='position: absolute; top: 35%; right: 0; cursor: pointer;' class='nav-btn classNextArrow next-slide'><img src='/assets/images/svg/next-arrow.svg'></div>",prevArrow:"<div style='position: absolute; top: 35%; left: -5px; z-index: 1; cursor: pointer;' class='nav-btn classNextArrow next-slide'><img src='/assets/images/svg/pre-arrow.svg'></div>"},this.LastSevenDaysTransactions=[],this.rejectedFAILURE=[],this.lastSevenDays=(new Date).setDate((new Date).getDate()-7),this.mfAllocationData=[{name:"EQUITY",y:0,color:M.$.DONUT_CHART_COLORS[0],dataLabels:{enabled:!1}},{name:"DEBT",y:0,color:M.$.DONUT_CHART_COLORS[1],dataLabels:{enabled:!1}},{name:"HYBRID",y:0,color:M.$.DONUT_CHART_COLORS[2],dataLabels:{enabled:!1}},{name:"COMMODITY",y:0,color:M.$.DONUT_CHART_COLORS[4],dataLabels:{enabled:!1}},{name:"LIQUID",y:0,color:M.$.DONUT_CHART_COLORS[6],dataLabels:{enabled:!1}},{name:"OTHERS",y:0,color:M.$.DONUT_CHART_COLORS[3],dataLabels:{enabled:!1}}],this.tabsLoaded={portfolioData:{dataLoaded:!1,hasData:!1,isLoading:!0},rtaFeeds:{dataLoaded:!1,hasData:!1,isLoading:!0},recentTransactions:{dataLoaded:!1,hasData:!1,isLoading:!0},documentsVault:{dataLoaded:!1,hasData:!1,isLoading:!0},riskProfile:{dataLoaded:!1,hasData:!1,isLoading:!0},globalRiskProfile:{dataLoaded:!1,hasData:!1,isLoading:!0},goalsData:{dataLoaded:!1,hasData:!1,isLoading:!0,displaySection:!1},cashflowData:{dataLoaded:!1,hasData:!1,isLoading:!0},customerProfile:{dataLoaded:!1,hasData:!1,isLoading:!0},mfPortfolioSummaryData:{dataLoaded:!1,hasData:!1,isLoading:!0,displaySection:!1},mfSubCategorySummaryData:{dataLoaded:!1,hasData:!1,isLoading:!0,displaySection:!1},familyMembers:{dataLoaded:!1,hasData:!1,isLoading:!0}}
1,this.update=!0,this.todoDescription="",this.showFifteen=!1,this.showTwentyFive=!1,this.showThirty=!1,this.popupShowCount=0,this.privacyMode=!1,this.isMorethen7days=!1,this.getClosestDemo=()=>{const Xt=new Date;if(Xt.setSeconds(0,0),0===this.scheduledDemosData.length)return null;this.enumDataService.PRODUCTION||console.log("Now:",Xt.toISOString());const te=new Date;te.setHours(0,0,0,0);let ee=this.scheduledDemosData.map(V=>{let H=new Date(V.dates),[ne,bt]=V.slotStartFrom.trim().split(" "),[at,ct]=ne.split(":").map(Number);"PM"===bt&&12!==at&&(at+=12),"AM"===bt&&12===at&&(at=0),H.setHours(at,ct,0,0);let mt=new Date(H);mt.setMinutes(mt.getMinutes()+10);let le=new Date(H);return le.setHours(0,0,0,0),le.getTime()===te.getTime()&&Xt<=mt?{...V,fullDateTime:H}:null}).filter(Boolean).sort((V,H)=>V.fullDateTime.getTime()-H.fullDateTime.getTime());if(this.enumDataService.PRODUCTION||console.log("Filtered Today Demos:",ee),ee.length>0)return ee[0];let ie=this.scheduledDemosData.map(V=>{let H=new Date(V.dates),ne=V.slotStartFrom.trim().replace(/(AM|PM)$/," $1"),[bt,at]=ne.split(" "),[ct,mt]=bt.split(":").map(Number);return"PM"===at&&12!==ct&&(ct+=12),"AM"===at&&12===ct&&(ct=0),H.setHours(ct,mt,0,0),{...V,fullDateTime:H}}).filter(V=>{let H=new Date(V.fullDateTime);return H.setHours(0,0,0,0),H.getTime()>te.getTime()}).sort((V,H)=>V.fullDateTime.getTime()-H.fullDateTime.getTime());return this.enumDataService.PRODUCTION||console.log("Future Demos:",ie),ie.length>0?ie[0]:null},this.userInfo=Z.e.getUserInfo(),this.accountStatus=this.userInfo.accountStatus,this.adminId=Z.e.getAdminId();const mc=new Date("2024-11-02T12:00:00"),gc=new Date;this.shouldHideDiv=gc>mc;const ce=(new Date).getHours();this.greeting=ce<12?"Good morning":ce<16?"Good afternoon":"Good evening",this.advisorId=Z.e.getAdvisorId(),this.updateUserInfo(),this.MfServiceService.clearStorage(),this.utils.clearServiceData(),this.authService.isAdvisorLogin.next(!0)}ngOnInit(){if(this.onResize(),this.isEnterPrise=Z.e.isEnterprise(),this.userData=Z.e.getUserInfo(),this.gamificationsubscribe=this.enumDataService.collectedData$.subscribe(e=>{this.pointsDatagames=e}),this.getBillEstimateData(),this.getWalletDetails(),this.isMorethen7days=this.dashboardService.checkIfExactDays(this.userData.createdDate),this.subscription2=Z.e.getPrivacyMode().subscribe(e=>{this.privacyMode=e}),this.scheduledDemos(),this.startCountdown(),this.getMahaRewardsCampaign(),g.s.widgetData?(this.widgetData=g.s.widgetData,this.widgetloader=!1,this.initializeWidgetScroll()):this.widgetDataget(),this.popupShowCount=this.utils.popupShowCount?this.utils.popupShowCount:0,0==this.popupShowCount&&(this.popupShowCount+=1,this.utils.popupShowCount=this.popupShowCount,this.utils.notificationPopup(1)),this.subscription=this.source.subscribe(e=>this.getKeyMetrics()),Z.e.getInvalidCredsTimeZone()&&(this.hours=(new Date).getHours()-new Date(Z.e.getInvalidCredsTimeZone()).getHours(),this.hours>4&&(sessionStorage.removeItem("invalidPopup"),this.hours=void 0)),this.credentialsAdded=!0,this.parentId=Z.e.getAdminAdvisorId(),this.clientData=Z.e.getClientData(),this.advisorName=Z.e.getUserInfo().name,this.aumList=w.fK.getAumFilterList(),this.aumIdList=w.fK.getFilterSelectedAumIDs(this.aumList),this.calculateDates(),this.excessAllow=localStorage.getItem("successStoringToken"),this.finalStartDate=w.fK.getStartOfTheDay(new Date((new Date).valueOf()-6048e5)).getTime(),this.finalEndDate=w.fK.getEndOfDay(new Date).getTime(),g.s.dashKeyMetrics?(this.getKeyMetricsRes(g.s.dashKeyMetrics),this.getSipcountGetRes(g.s.sipBookCount)):(this.getKeyMetrics(),this.sipBookCount()),g.s.dashMisData?this.getMisDataRes(g.s.dashMisData):this.getMisData(),g.s.dashAnswerData?this.answerObj=g.s.dashAnswerData:this.getAnswerData(),g.s.dashTotalRecivedByDash?this.getTotalRecivedRes(g.s.dashTotalRecivedByDash):this.getTotalRecivedByDash(),g.s.dashClientWithSubscription?this.clientWithSubscriptionRes(g.s.dashClientWithSubscription):this.clientWithSubscription(),this.getBSECredentials(),g.s.dashDocumentTotalSize?this.getDocumentTotalSizeRes(g.s.dashDocumentTotalSize):this.getDocumentTotalSize(),g.s.dashLatesAumReconciliationDataRes?this.getLatesAumReconciliationDataRes(g.s.dashLatesAumReconciliationDataRes):this.getLatesAumReconciliationData(),this.initializePieChart(),g.s.dashChartData?this.getChartDataRes(g.s.dashChartData):this.getChartData(),g.s.dashTodoListData?this.todoListData=g.s.dashTodoListData:this.getTodoListData(),g.s.dashView?this.dashboardViewingOption=g.s.dashView:this.getDashboardView(),g.s.aumGraph?this.generateAumChart(g.s.aumGraph):this.getGraphData(),this.getNewThemeData(),0===this.userInfo.adminAdvisorId&&(this.missionloader=!0,g.s.selectclubUser?(this.selectclubkey=g.s.selectclubUser,this.processAdvisorByClubStatus()):this.gamification(),history.state&&history.state.capabilityId)){let e=Number(history.state.capabilityId);this.selectedTabIndex=e-1,this.selectclubkey=g.s.selectclubUser,this.selectclubkey?this.selectclubcache():this.selectclubres=this.dashboardService.getPreviousAMCResponse(),this.processedMissionscards=this.pointsDatagames.cardbanner,this.gamecapabilityId=history.state.capabilityId,setTimeout(()=>{this.viewtasksgames(history.state.stateFlag)},600)}}gamification(){this.selectclubkey=this.userInfo?.advisorCouponCodeId>0,this.dashboardService.setSelectclubuserkey(this.selectclubkey),this.processAdvisorByClubStatus()}processAdvisorByClubStatus(){!0===this.selectclubkey?g.s.missions?this.selectclubcache():this.getquesmission():this.getAMCquesmission()}searchScheme(e){let n={limit:10,offset:0,filter:{},ratingTab:{},filterType:"name",orderBy:"asc",advisorId:Z.e.getAdvisorId(),dataTab:"navDetails",schemeName:e};e.length>=3&&this.researchService.getAccordScreenerList(n).subscribe(s=>{this.navDetails=s})}openFactsheet(e){this.researchService.openFactsheet(e)}onToggleChange(e){Z.e.setPrivacyMode(this.privacyMode)}widgetDataget(){this.widgetloader=!0;let e={adminId:Z.e.getAdminId()};this.dashboardService.getwidgetdata(e).subscribe(n=>{n?(g.s.widgetData=n,this.widgetData=n,this.widgetloader=!1,this.initializeWidgetScroll()):(g.s.widgetData=null,this.widgetData=[],this.widgetloader=!1)})}isNotEmpty(e){return e&&Object.keys(e).length>0}viewtasksgames(e){let s={flag:this.selectclubkey,datagames:this.selectclubres,comingsoondata:this.processedMissionscards?.tasksEndingSoon||[],billdata:{isMorethen7days:this.isMorethen7days,credits:this.credits??0,billEstimateData:this.billEstimateData??0,endDatebilling:this.endDatebilling??0},currentprogress:this.pointsDatagames?.progressValue??0,openmissionIndex:-1};e&&(s.openmissionIndex=this.selectedTabIndex);const m=this.subInjectService.changeNewRightSliderState({flag:"games",id:1,data:s,state:"open50",componentName:Ft.F}).subscribe(T=>{w.fK.isDialogClose(T)&&(this.selectclubkey&&this.getWalletDetails(),T.refreshRequired||this.cancelFlagService.getCancelFlag(),m.unsubscribe())})}getAMCquesmission(){this.missionloader=!0,this.dashboardService.getAMCquestion({adminId:this.adminId}).pipe((0,gt.R)(this.destroy$)).subscribe(n=>{const s=this.dashboardService.getPreviousAMCResponse(),c=JSON.stringify(s),m=JSON.stringify(n);null!=n?m!==c?(this.dashboardService.updatePointsData(n),this.processedMissionscards=this.pointsDatagames.cardbanner,this.dashboardService.setPreviousAMCResponse(n),this.selectclubres=n):(this.processedMissionscards=this.pointsDatagames.cardbanner,this.selectclubres=this.dashboardService.getPreviousAMCResponse()):this.selectclubres=[],this.missionloader=!1,this.animationgames=!0},n=>{this.eventService.openSnackBar(n,"Dismiss"),this.missionloader=!1,this.missions=[],this.retryfailed=!0})}selectclubcache(){this.missions=g.s.missions,this.selectclubres=this.missions,this.missionloader=!1,this.processedMissionscards=this.pointsDatagames.cardbanner}getWalletDetails(){this.accountService.getWalletDetails({advisorId:this.advisorId}).subscribe(n=>{this.credits=n.credits})}getBillEstimateData(){this.accountService.getBillEstimategamification({advisorId:this.advisorId}).subscribe(n=>{n&&(this.billEstimateData=n,this.endDatebilling=this.datePipe.transform(this.userData.paidUpto,"dd MMM yyyy"))})}getquesmission(){this.missionloader=!0,this.dashboardService.getmissiondata({adminId:this.adminId}).pipe((0,gt.R)(this.destroy$)).subscribe(n=>{null!=n?(this.dashboardService.updatePointsData(n),this.processedMissionscards=this.pointsDatagames.cardbanner,this.selectclubres=n,this.missionloader=!1,setTimeout(()=>{this.animationgames=!0},1e3)):(this.selectclubres=[],this.missionloader=!1)},n=>{this.eventService.openSnackBar(n,"Dismiss"),this.missionloader=!1,this.missions=[],this.retryfailed=!0})}formatDate(e){return new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}onButtonClickwidget(e){this.dashboardService.postwidgetbuttonlog({widgetMasterId:e.widgetMasterId,buttonId:e.id,adminId:this.advisorId}).subscribe(s=>{}),e.buttonRedirectionUrl.includes("admin")?this.router.navigate([e.buttonRedirectionUrl]):e.buttonRedirectionUrl.startsWith("http://")||e.buttonRedirectionUrl.startsWith("https://")?window.open(e.buttonRedirectionUrl,"_blank"):window.open("http://"+e.buttonRedirectionUrl,"_blank")}initializeWidgetScroll(){if(this.widgetData.length>1&&!1===this.widgetloader){let n=1e3*this.widgetData[this.currentIndex].widgetTimer;this.isHovered||(this.autoScrollInterval=setTimeout(()=>{this.scrollWidgets()},n))}}scrollWidgets(){this.currentIndex=(this.currentIndex+1)%this.widgetData.length,this.initializeWidgetScroll()}onHoverIn(){this.isHovered=!0,this.autoScrollInterval&&(clearTimeout(this.autoScrollInterval),this.autoScrollInterval=null)}onHoverOut(){this.isHovered=!1,this.initializeWidgetScroll()}showNextCard(){this.currentIndex=(this.currentIndex+1)%this.widgetData.length}showPrevCard(){this.currentIndex=(this.currentIndex-1+this.widgetData.length)%this.widgetData.length}openRewardsPopup(){this.dialog.open(Nt.H,{width:"665px"})}getNewThemeData(){this.peopleService.getThemeData({advisorId:this.advisorId}).subscribe(n=>{n&&Z.e.setTheme(n)})}
1rewardsPopupDetailsFun(){this.rewardsService.rewardsPopupDetails({adminId:this.advisorId}).subscribe(n=>{n&&(this.popupDetails=n,1==this.popupDetails.popUpEnable&&this.openRewardsPopup())},n=>{})}openDetailedPopUp(e,n){this.dialog.open(kt.j,{width:"open"==n?"500px":"90%",height:"open"==n?"":"90%",data:n}).afterClosed().subscribe(c=>{})}updateUserInfo(){this.accountService.updateUser({advisorId:this.advisorId}).subscribe(n=>{if(n){let s=Object.assign(this.userData,n);this.authService.setUserInfo(s)}})}ngOnDestroy(){g.s.dashAnswerData=this.answerObj?this.answerObj:null,this.interval&&clearInterval(this.interval),this.autoScrollInterval&&clearInterval(this.autoScrollInterval),this.gamificationsubscribe.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}initPointForTask(){g.s.dashTaskDashboardCount?this.getTaskDashboardCountRes(g.s.dashTaskDashboardCount):this.getTaskDashboardCount(),g.s.dashTodaysTaskList?this.dataSource2.data=g.s.dashTodaysTaskList:this.getTodaysTaskList()}getAnswerData(){this.answerFlag=!0,this.dashboardService.getOnBoardingQuestionAnswer({advisorId:this.advisorId}).subscribe(n=>{n&&(g.s.dashAnswerData=n,this.answerFlag=!1,this.answerObj=n)})}getChartData(){this.tabsLoaded.portfolioData.isLoading=!0;const e={advisorId:this.advisorId,targetDate:(new Date).getTime()};this.dashboardService.getChartData(e).subscribe(n=>{this.tabsLoaded.portfolioData.isLoading=!1,n?(g.s.dashChartData=n,this.getChartDataRes(n)):this.tabsLoaded.portfolioData.hasData=!1},n=>{this.hasError=!0,this.tabsLoaded.portfolioData.isLoading=!1})}getChartDataRes(e){this.tabsLoaded.portfolioData.isLoading=!1,this.tabsLoaded.portfolioData.hasData=!0;const n=[];e.forEach((s,c)=>{this.chartTotal+=Math.round(s.totalAum),s.name&&n.push({y:Math.round(s.totalAum),name:s.name,color:M.$.DONUT_CHART_COLORS[c],dataLabels:{enabled:!1}})}),this.newchartData=n,this.assetAllocationPieChartDataMgnt(this.newchartData),this.tabsLoaded.portfolioData.dataLoaded=!0}getBSECredentials(){this.isLoading=!0;const e={advisorId:Z.e.getAdminId(),onlyBrokerCred:!0};this.transactionService.getBSECredentials(e).subscribe(n=>this.getBSECredentialsRes(n),n=>{this.isLoading=!1,this.BSECredentials=[]})}getBSECredentialsRes(e){this.isLoading=!1,this.BSECredentials=e||[]}openAddCredential(e,n,s){s||(s=this.gamesdata);const m=this.subInjectService.changeNewRightSliderState({flag:n,data:{gamesdata:s,data:e},id:1,state:"open35",componentName:wt.I}).subscribe(T=>{w.fK.isDialogClose(T)&&(w.fK.isRefreshRequired(T)&&(this.getBSECredentials(),this.credentialsAdded=!0),m.unsubscribe())})}refresh(e){this.dontHide=!0}openTransaction(){const n=this.subInjectService.changeNewRightSliderState({flag:"addNewTransaction",data:{isAdvisorSection:!0,flag:"addNewTransaction"},id:1,state:"open65",backDrop:!0,componentName:Mt.j}).subscribe(s=>{w.fK.isDialogClose(s)&&(w.fK.isRefreshRequired(s)&&this.refresh(!0),n.unsubscribe())})}openNewCustomerIIN(){const e={flag:"addNewCustomer",id:1,direction:"top",componentName:At.n,state:"open"};Z.e.setSubscriptionUpperSliderData(e);const n=this.eventService.changeUpperSliderState(e).subscribe(s=>{w.fK.isDialogClose(s)&&n.unsubscribe()})}getTaskDashboardCount(){this.dashboardService.getTaskDashboardCountValues({advisorId:this.advisorId}).subscribe(e=>{e&&(this.getTaskDashboardCountRes(e),g.s.dashTaskDashboardCount=e)})}getTaskDashboardCountRes(e){this.taskSummaryDashboardCount=e,this.taskSummaryCount=this.taskSummaryDashboardCount.weekTaskCount+this.taskSummaryDashboardCount.monthTaskCount+this.taskSummaryDashboardCount.overDueTaskCount}openBottomSheet(){this._bottomSheet.open(It.t)}getAssetAllocationData(){const e={clientId:122326,advisorId:this.advisorId,targetDate:(new Date).getTime()};this.tabsLoaded.portfolioData.isLoading=!0,this.customerService.getAllFeedsPortFolio(e).subscribe(n=>{if(this.tabsLoaded.portfolioData.isLoading=!1,null==n)this.portFolioData=[],this.tabsLoaded.portfolioData.hasData=!1;else{this.tabsLoaded.portfolioData.hasData=!0;const s=n.find(U=>6==U.assetType);this.portFolioData=n,s&&(this.portFolioData=this.portFolioData.filter(U=>6!=U.assetType),this.portFolioData.unshift(s));const c=[];let m=0;const T={y:0,name:"Others",color:M.$.DONUT_CHART_COLORS[4],dataLabels:{enabled:!1}};let O=1,R=n.length;n.filter(U=>2!=U.assetType&&0!=U.currentValue).forEach(U=>{U.investedAmount>0?(O+=U.investedAmount,m<4?c.push({y:U.investedAmount,name:U.assetTypeString,color:M.$.DONUT_CHART_COLORS[m],dataLabels:{enabled:!1}}
1):T.y+=U.investedAmount,m++):R--}),O-=1,0===O&&(this.chartTotal=0,this.tabsLoaded.portfolioData.hasData=!1),m>4&&c.push(T),m>0&&(this.chartTotal=O,this.chartData=c)}this.tabsLoaded.portfolioData.isLoading=!1,this.tabsLoaded.portfolioData.dataLoaded=!0},n=>{this.hasError=!0,this.tabsLoaded.portfolioData.isLoading=!1,this.eventService.openSnackBar(n,"Dismiss")})}getGraphData(){this.isLoadingGraphData=!0;const e={advisorId:this.parentId==this.advisorId?0:this.advisorId,arnRiaDetailsId:this.arnRiaValue,parentId:this.parentId,month:6};this.aumIdList.length>0&&(e.rtId=this.aumIdList),this.displayData=[{},{},{},{},{}],this.backoffice.aumGraphGet(e).subscribe(n=>{null==n?this.noData=0:this.generateAumChart(n)},n=>{this.eventService.showErrorMessage(n),this.displayData=[{},{},{},{},{}]})}generateAumChart(e){const n=[];e.forEach(s=>n.push(Object.assign({},s))),this.noData=1,this.graphDataRes(e),this.dashboardService.setAumGraph(n),setTimeout(()=>{this.pieChart("pieChartAum",n)},1e3)}graphDataRes(e){let n=["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];e.forEach((s,c)=>{s.grossSaleInRupees=s.GrossSale.toLocaleString("en-IN",{style:"currency",currency:"INR",maximumFractionDigits:0}),s.redemptionInRupees=s.Redemption.toLocaleString("en-IN",{style:"currency",currency:"INR",maximumFractionDigits:0}),s.netSalesInRupees=(s.GrossSale-s.Redemption).toLocaleString("en-IN",{style:"currency",currency:"INR",maximumFractionDigits:0}),s.monthName=n[s.Month],s.GrossSale/=Math.pow(10,5),s.GrossSale=s.GrossSale.toFixed(2),s.Redemption/=Math.pow(10,5),s.Redemption=s.Redemption.toFixed(2),s.netSales/=Math.pow(10,5),s.netSales=(s.GrossSale-e[c].Redemption).toFixed(2),s.Year=s.Year.toString().substring(e[c].Year.toString().length-2)}),e.sort((s,c)=>s.Year-c.Year||s.Month-c.Month),this.isLoadingGraphData=!1,this.displayData=e}pieChart(e,n){n.sort((U,z)=>
1z.Year-U.Year||z.Month-U.Month),n.forEach(U=>{U.GrossSale=parseFloat(U.GrossSale.toFixed(3)),U.Redemption=parseFloat(U.Redemption.toFixed(3))});let s=n[5],c=n[4],m=n[3],T=n[2],O=n[1],R=n[0],j=["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];this.graphChart=D.chart("pieChartAum",{chart:{height:300,type:"column"},title:{text:""},xAxis:{categories:[j[s.Month]+"-"+s.Year,j[c.Month]+"-"+c.Year,j[m.Month]+"-"+m.Year,j[T.Month]+"-"+T.Year,j[O.Month]+"-"+O.Year,j[R.Month]+"-"+R.Year]},yAxis:{visible:!1},credits:{enabled:!1},series:[{tooltip:{pointFormatter(){const z=(new Intl.NumberFormat).format(this.y);return`<span style="color:#5DC644">\u25cf${this.series.name}</span>:<b>\u20b9${z}</b><br>`}},type:void 0,name:"Gross Sales",color:"#5DC644",data:[s.GrossSale,c.GrossSale,m.GrossSale,T.GrossSale,O.GrossSale,R.GrossSale]},{tooltip:{pointFormatter(){const z=(new Intl.NumberFormat).format(this.y);return`<span style="color:#FF7272">\u25cf${this.series.name}</span>:<b>\u20b9${z}</b><br>`}},type:void 0,name:"Outflow",color:"#FF7272",data:[s.Redemption,c.Redemption,m.Redemption,T.Redemption,O.Redemption,R.Redemption]},{tooltip:{pointFormatter(){const z=(new Intl.NumberFormat).format(this.y);return`<span style="color:#83959D">\u25cf${this.series.name}</span>:<b>\u20b9${z}</b><br>`}},type:void 0,name:"Net Sales",color:"#83959D",data:[parseFloat((s.GrossSale-s.Redemption).toFixed(3)),parseFloat((c.GrossSale-c.Redemption).toFixed(3)),parseFloat((m.GrossSale-m.Redemption).toFixed(3)),parseFloat((T.GrossSale-T.Redemption).toFixed(3)),parseFloat((O.GrossSale-O.Redemption).toFixed(3)),parseFloat((R.GrossSale-R.Redemption).toFixed(3))]}]})}assetAllocationPieChartDataMgnt(e){this.assetAllocationPieConfig.addSeries({type:"pie",name:"Asset classes",animation:!1,innerSize:"60%",data:e},!0,!0)}
1initializePieChart(){const e={chart:{plotBackgroundColor:null,plotBorderWidth:0,plotShadow:!1,animation:!1},title:{text:"",align:"center",verticalAlign:"middle",y:60},tooltip:{pointFormat:" <b>{point.percentage:.1f}%</b>"},plotOptions:{pie:{dataLabels:{enabled:!0,distance:-50,style:{fontWeight:"bold",color:"white"}},startAngle:0,endAngle:360,center:["50%","50%"],size:"100%"}},exporting:{enabled:!1},series:[{type:"pie",name:"Asset allocation",animation:!1,innerSize:"60%",data:this.newchartData}]};this.assetAllocationPieConfig=new S.kL(e),e.series=[{type:"pie",animation:!1,name:"MF Asset allocation",innerSize:"60%",data:this.mfAllocationData}],this.mfAllocationPieConfig=new S.kL(e),this.mfSubCategoryPieConfig=new S.kL(e)}getTodaysTaskList(){this.isLoading=!0,this.crmTaskService.getTaskStatusValues({}).subscribe(e=>{e&&(this.taskStatusList=e.taskStatus,this.getAllTaskList())})}getTaskNameFromTaskStatusList(e){return this.taskStatusList.find(n=>n.id===e).name}openAddTask(e){const s=this.subInjectService.changeNewRightSliderState({flag:"addActivityTask",data:e,id:1,state:"open50",componentName:y.M}).subscribe(c=>{w.fK.isDialogClose(c)&&(w.fK.isRefreshRequired(c)&&(g.s.dashTaskDashboardCount=null,g.s.dashTodaysTaskList=null,this.initPointForTask()),s.unsubscribe())})}getAllTaskList(){this.crmTaskService.getNewAllTaskListValues({advisorId:this.advisorId,offset:0,limit:-1,dateFilter:1}).subscribe(n=>{if(this.isLoading=!1,n){const s=[];n.forEach((c,m)=>{let T=0,O=0;c.subTasks&&c.subTasks.length>0&&(c.subTasks.forEach(U=>{1==U.status&&T++}),O=T/c.subTasks.length*100);const R=new Date(c.dueDate),j=R.getDate()+"/"+(R.getMonth()+1)+"/"+R.getFullYear();s.push({client:c.clientName,member:c.familyMemberName,des:c.description,cat:c.description,assigned:c.assignedToName,dueDate:j,dueDateTimeStamp:c.dueDate,taskStatus:this.getTaskNameFromTaskStatusList(c.status),id:c.id,advisorId:c.advisorId,clientId:c.clientId,familyMemberId:c.familyMemberId,assignedTo:c.assignedTo,taskTemplateId:c.taskTemplateId,categoryId:c.categoryId,subCategoryId:c.subCategoryId,subSubCategoryId:c.subSubCategoryId,adviceId:c.adviceId,adviceTypeId:c.adviceTypeId,linkedItemId:c.linkedItemId,status:c.status,completionDate:c.completionDate,commentsCount:c.commentsCount,totalSubTasks:c.totalSubTasks,subTaskCompleted:c.subTaskCompleted,subTasks:c.subTasks,collaborators:c.collaborators,attachments:c.attachments,comments:c.comments,menuList:"",percentage:Math.round(O)})}),g.s.setTodaysTaskList(s),this.taskData=s,this.dataSource2.data=s,g.s.dashTodaysTaskList=s}else this.taskData=null,this.dataSource2.data=null})}mailConnect(e){this.excessAllow=e}getLastSevenDaysInvestmentAccounts(){const e={advisorId:this.advisorId,startDate:(new Date).getTime(),endDate:new Date(this.lastSevenDays).getTime()};this.investmentAccountFlag=!0,this.dashboardService.getLastSevenDaysInvestmentAccounts(e).subscribe(n=>{n?(g.s.dashLastSevenDaysInvestmentAccounts=n,this.getLastSevenDaysInvestmentAccountsRes(n)):(this.investmentAccountFlag=!1,this.LastSevenDaysInvestmentAccounts=[])},n=>{this.investmentAccountFlag=!1,this.LastSevenDaysInvestmentAccounts=[]})}getLastSevenDaysInvestmentAccountsRes(e){this.investmentAccountFlag=!1,e.forEach(n=>{n.statusStringTemp=n.tpUserCredFamilyMappingId&&n.tpUserCredFamilyMappingId>0&&n.status>1||1==n.aggregatorType&&n.tpUserCredFamilyMappingId&&n.tpUserCredFamilyMappingId>0&&2==n.status&&1==n.elogStatus?"Investment ready":"Pending"}),this.LastSevenDaysInvestmentAccounts=x.u.setHoldingTypeEnum(e),this.LastSevenDaysInvestmentAccounts=x.u.setTaxStatusDesc(this.LastSevenDaysInvestmentAccounts,this.enumServiceService)}getLastSevenDaysTransactions(){this.last7DaysLoading=!0;const e={advisorId:this.advisorId,startDate:new Date(this.lastSevenDays).getTime(),endDate:(new Date).getTime(),adminId:Z.e.getAdminId(),investorName:"",count:100,pageIndex:1,tpUserCredentialId:0,brokerCode:"",aggregatorType:null,aggregatorKey:[],orderType:[],statusKey:[],brokerCodeKey:[]},n={advisorId:this.advisorId,parentId:this.parentId,days:15};this.rtaLoader=!0,this.dashboardService.getLastSevenDaysTransactionsNew(n).subscribe(s=>{s?(g.s.dashLastSevenDaysTransactionsNew=s,this.getLastSevenDaysTransactionsNewRes(s)):(this.last7DaysLoading=!1,this.dataSource5=[]),this.rtaLoader=!1},s=>{this.last7DaysLoading=!1,this.dataSource5=[]}),this.transactionFlag=!0,this.dashboardService.getLastSevenDaysTransactions(e).subscribe(s=>{s?(g.s.dashLastSevenDaysTransactions=s.list,this.getLastSevenDaysTransactionsRes(s.list)):(this.transactionFlag=!1,this.LastSevenDaysTransactions=[])},s=>{this.transactionFlag=!1,this.LastSevenDaysTransactions=[],"Something went wrong !"===s&&this.eventService.openSnackBar(s,"Dismefault/stockfeediss")})}getLastSevenDaysTransactionsNewRes(e){this.last7DaysLoading=!1,this.dataSource5=e}getLastSevenDaysTransactionsRes(e){this.transactionFlag=!1,this.LastSevenDaysTransactions=e,this.LastSevenDaysTransactions=x.u.setPlatformEnum(e),this.LastSevenDaysTransactions=x.u.setTransactionStatus(e)}getSummaryDataDashboard(){const e={advisorId:this.advisorId,limit:9,offset:0,dateType:0,statusIdList:[this.subscriptionSummaryStatusFilter],fromDate:null,toDate:null};this.dashBoardSummary=[{},{},{}],this.isLoadingSubSummary=!0,this.subService.filterSubscription(e).subscribe(n=>
1{g.s.dashSummaryDataDashboard=n,this.getSubSummaryRes(n)},n=>{this.isLoadingSubSummary=!1,this.dataSource=[]})}getTodoListData(){this.todoListFlag=!0,this.dashboardService.getNotes({advisorId:this.advisorId}).subscribe(n=>{this.todoListFlag=!1,n&&n.length>0?(n.forEach(s=>{s.update=!1,s.createdDate=this.calculateDifferenc(s.createdOn)<=1?this.calculateDifferenc(s.createdOn):this.datePipe.transform(s.createdOn,"MMMM d, y")}),this.todoListData=n,g.s.dashTodoListData=n):(this.todoListData=void 0,this.todoListFlag=!1)},n=>{this.todoListData=void 0,this.todoListFlag=!1})}getDashboardView(){this.dashboardService.getDashboardViewingOption({advisorId:this.advisorId}).subscribe(n=>{this.dashboardViewingOption=n||{recentInvestmentAccounts:!1,recentOnlineTransactionsMF:!1,latestAumReconciliationReport:!1,transactionPendingRejections:!1,subscriptionSummary:!1}},n=>{this.dashboardViewingOption={recentInvestmentAccounts:!1,recentOnlineTransactionsMF:!1,latestAumReconciliationReport:!1,transactionPendingRejections:!1,subscriptionSummary:!1}})}showHide(e,n){this.key=e,this.event=n,this.updateDashboardView(this.dashboardViewingOption)}updateDashboardView(e){const n={id:e.id,advisorId:this.advisorId,transactionPendingRejections:"transactionPendingRejections"==this.key?e.transactionPendingRejections=this.event:e.transactionPendingRejections,recentInvestmentAccounts:"recentInvestmentAccounts"==this.key?e.recentInvestmentAccounts=this.event:e.recentInvestmentAccounts,recentOnlineTransactionsMF:"recentOnlineTransactionsMF"==this.key?e.recentOnlineTransactionsMF=this.event:e.recentOnlineTransactionsMF,subscriptionSummary:"subscriptionSummary"==this.key?e.subscriptionSummary=this.event:e.subscriptionSummary,latestAumReconciliationReport:"latestAumReconciliationReport"==this.key?e.latestAumReconciliationReport=this.event:e.latestAumReconciliationReport};this.dashboardService.updateDashboardViewingOption(n).subscribe(s=>{this.dashboardViewingOption=s||{recentInvestmentAccounts:!1,recentOnlineTransactionsMF:!1,latestAumReconciliationReport:!1,transactionPendingRejections:!1,subscriptionSummary:!1}})}getClient(e){if(3==e.userType)this.peopleService.getClientOrLeadData({clientId:e.clientId}).subscribe(s=>{null!=s&&(this.auth.setClientData(s),this.ngZone.run(()=>{this.roleService.getAdvisorClientRoleDetails(s.roleId,this.userInfo.roleId,c=>{let m;this.roleService.constructClientDataSource(c),m=this.roleService.overviewPermission.subModules.myFeed.enabled?"/customer/detail/overview/myfeed":this.roleService.goToValidClientSideUrl(),this.router.navigate([m],{state:{...s}})})}))},s=>{console.error(s)});else if(this.auth.setClientData(e),this.enumService.getClientRole(),e.roleId)this.ngZone.run(()=>{this.roleService.getAdvisorClientRoleDetails(e.roleId,this.userInfo.roleId,s=>{let c;this.roleService.constructClientDataSource(s),c=this.roleService.overviewPermission.subModules.myFeed.enabled?"/customer/detail/overview/myfeed":this.roleService.goToValidClientSideUrl(),this.router.navigate([c],{state:{...e}})})});else{let s;s=this.roleService.overviewPermission.subModules.profile.enabled?"/customer/detail/overview/profile":this.roleService.goToValidClientSideUrl(),this.router.navigate([s],{state:{...e}})}}addTodoList(e){const n={id:0,advisorId:this.advisorId,activityName:this.authService.sanitizeInput(e)};this.dashboardService.addNotes(n).subscribe(s=>{this.todoDescription="",s&&(g.s.dashTodaysTaskList=null,this.eventService.openSnackBar("To-Do note is added","Dismiss"),this.showInput=!1,s.forEach(c=>{c.update=!1,this.selectedItem.reset(),c.createdDate=this.calculateDifferenc(c.createdOn)<=1?this.calculateDifferenc(c.createdOn):this.datePipe.transform(c.createdOn,"MMMM d, y")}),Z.e.setToDoList(s),this.todoListData=s)})}doubleClick(e){e.update=!0,this.updateNote.setValue(e.activityName)}focusOutFunction(e){e.update=!1}updateTodoList(e){if(""==this.updateNote.value)return void this.eventService.openSnackBar("Please type something","Dismiss");const n={id:e.id,advisorId:this.advisorId,activityName:this.authService.sanitizeInput(this.updateNote.value)};this.dashboardService.updateNotes(n).subscribe(s=>{s&&(this.eventService.openSnackBar("To-Do note is updated","Dismiss"),this.showInput=!1,s.forEac
1h(c=>{c.update=!1,this.selectedItem.reset(),c.createdDate=this.calculateDifferenc(c.createdOn)<=1?this.calculateDifferenc(c.createdOn):this.datePipe.transform(c.createdOn,"MMMM d, y")}),this.todoListData=s)})}deleteTodoList(e,n){this.dashboardService.deleteNotes(e.id).subscribe(s=>{this.getTodoListData()})}getBirthdayOrAnniversary(){const e=new Date;e.setDate((new Date).getDate()+7);const n={advisorId:this.advisorId,fromDate:(new Date).getTime(),toDate:e.getTime()};this.isBirhtdayLoader=!0,this.dashboardService.getBirthdayOrAnniversary(n).subscribe(s=>{s?(g.s.dashBirthdayOrAnniversary=s,this.getBirthdayOrAnniversaryRes(s)):(this.birthdayAnniList=[],this.isBirhtdayLoader=!1)},s=>{this.birthdayAnniList=[],this.isBirhtdayLoader=!1})}getBirthdayOrAnniversaryRes(e){this.isBirhtdayLoader=!1;let n=[];e&&e.length>0&&(e.forEach(s=>{s.displayName.length>15&&(s.shortName=s.name.substr(0,this.getPosition(s.name," ",2)))}),n=e),this.birthdayAnniList=n.filter(s=>s.daysToGo>=0&&0===s.isDeath),this.birthdayAnniList=this.birthdayAnniList.sort((s,c)=>s.daysToGo>c.daysToGo?1:s.daysToGo===c.daysToGo?0:-1)}getPosition(e,n,s){return e.split(n,s).join(n).length}calculateDates(){this.accountStatus=this.userData.accountStatus;let e=new Date,n=new Date(this.userData.lockDate),s=new Date(this.userData.paidUpto);this.invoiceDate=this.datePipe.transform(s,"dd/MM/yyyy"),this.lockdate=this.datePipe.transform(n,"dd/MM/yyyy"),this.lock=this.differenceBetweenTwoDates(n,e)<=0;let c=this.futureDate(s,15),m=this.futureDate(s,25),T=this.futureDate(s,30);this.thirtyDays=this.datePipe.transform(T,"dd/MM/yyyy"),this.showFifteen=this.flagDateOne(s,e,c),this.showTwentyFive=this.flagDateOne(c,e,m),this.showThirty=this.flagDateOne(m,e,T),this.lockThirty=this.flagDateOne(T,e,n),this.daysRemaining=Math.abs(this.differenceBetweenTwoDates(T,e))}differenceBetweenTwoDates(e,n){let s=e.getTime()-n.getTime();return Math.ceil(s/864e5)}flagDateOne(e,n,s){return e.getTime()<n.getTime()&&n.getTime()<s.getTime()}closeFooter(){this.accountStatus=null}futureDate(e,n){return new Date(e.getTime()+24*n*60*60*1e3)}calculateBirthdayOrAnniversary(e){let n,s,m;return n=(new Date).getDate(),s=new Date(e).getDate(),m=s-n,m}calculateDifferenc(e){const n=new Date(e),s=new Date,c=Math.abs((s.getTime()-n.getTime())/864e5);return Math.round(c)}getLast7DaysTransactionStatus(){this.last7DaysFlag=!0,this.nscData=[{},{}],this.bseData=[{},{}],this.dashboardService.last7DaysTransactionStatus({advisorId:this.advisorId}).subscribe(n=>{n?(g.s.dashLast7DaysTransactionStatus=n,this.getLast7DaysTransactionStatusRes(n)):(this.last7DaysFlag=!1,this.nscData=[{},{}],this.bseData=[{},{}])},n=>{this.last7DaysFlag=!1,this.nscData=[{},{}],this.bseData=[{},{}]})}onResize(){console.log("onResize",window.innerWidth),this.redirectFlag=window.innerWidth<=1024}getLast7DaysTransactionStatusRes(e){this.last7DaysFlag=!1,this.nscData=e.nse,this.bseData=e.bse}getDocumentTotalSize(){this.docOverviewFlag=!0,this.dashboardService.getDocumentTotalSize({advisorId:this.advisorId}).subscribe(n=>{n&&(this.documentOverview=n,g.s.dashDocumentTotalSize=n,this.getDocumentTotalSizeRes(n))})}toggledocumentOverview(e){this.documentUnmaskFlag=e}getDocumentTotalSizeRes(e){this.docOverviewFlag=!1,this.documentSizeData=e}getLatesAumReconciliationData(){this.aumReconList=[{},{},{}],this.aumFlag=!0,this.dashboardService.getLatestAumReconciliation({id:this.advisorId}).subscribe(n=>{n?(g.s.dashLatesAumReconciliationDataRes=n,this.getLatesAumReconciliationDataRes(n)):(this.aumFlag=!1,this.aumReconList=[])},n=>{this.aumFlag=!1,this.aumReconList=[]})}getLatesAumReconciliationDataRes(e){this.aumFlag=!1,this.aumReconList=e}getGoalSummaryData(){this.isGoalSummaryLoaderFlag=!0,this.dashboardService.getGoalSummarydata({advisorId:this.advisorId}).subscribe(n=>{n&&(g.s.dashGoalSummaryData=n,this.getGoalSummaryDataRes(n))},n=>{})}getGoalSummaryDataRes(e){this.isGoalSummaryLoaderFlag=!1,this.goalSummaryData=e}connectAccountWithGoogle(){this.calenderLoader=!0,this.emailService.getProfile().subscribe(e=>{e?(this.connectedToGmail=!0,this.calenderLoader=!1,localStorage.setItem("googleOAuthToken","oauthtoken"),localStorage.setItem("successStoringToken","true"),localStorage.setItem("associatedGoogleEmailId",Z.e.getUserInfo().userName),this.router.navigate(["/admin/emails/inbox"],{relativeTo:this.activatedRoute}),this.getEvent()):(this.calenderLoader=!1,this.connectedToGmail=!1)},e=>{this.calenderLoader=!1,this.connectedToGmail=!1})}getEvent(){const e={calendarId:Z.e.getUserInfo().userName,userId:Z.e.getUserInfo().advisorId};
1this.calenderService.getEvent(e).subscribe(n=>{if(null!=n){this.eventData=n,this.formatedEvent=[];for(const s of this.eventData)s.start&&(s.day=this.formateDate(s.start.dateTime?new Date(s.start.dateTime):new Date(s.created)),s.month=this.formateMonth(s.start.dateTime?new Date(s.start.dateTime):new Date(s.created)),s.year=this.formateYear(s.start.dateTime?new Date(s.start.dateTime):new Date(s.created)),s.startTime=this.formateTime(s.start.dateTime?new Date(s.start.dateTime):new Date(s.created)),s.endTime=this.formateTime(s.end.dateTime?new Date(s.end.dateTime):new Date(s.created)),this.formatedEvent.push(s))}})}formateDate(e){return new Date(e).getDate()}formateMonth(e){return new Date(e).getMonth()+1}formateYear(e){return new Date(e).getFullYear()}formateTime(e){let n=e.getHours()>12?e.getHours()-12:e.getHours(),s=e.getMinutes();return n=n<10?"0"+n:n,s=s<10?"0"+s:s,n+":"+s+(e.getHours()>12?"pm":"am")+" "}getRecentTransactionData(){this.isRecentTransactionFlag=!0;const e={advisorId:this.advisorId,startDate:this.finalStartDate,endDate:this.finalEndDate,adminId:Z.e.getAdminId(),investorName:"",count:100,pageIndex:1,tpUserCredentialId:0,brokerCode:"",aggregatorType:null,aggregatorKey:[],orderType:[],statusKey:[],brokerCodeKey:[]};this.transactionService.getSearchScheme(e).subscribe(n=>{n&&(g.s.dashRecentTransactionData=n,this.getRecentTransactionDataRes(n))},n=>{"Something went wrong !"===n&&this.eventService.openSnackBar(n,"Dismefault/stockfeediss")})}getRecentTransactionDataRes(e){this.isRecentTransactionFlag=!1,this.transactionList=e,this.transactionList=x.u.setPlatformEnum(e),this.transactionList=x.u.setTransactionStatus(e)}openCredentialsErrorPopup(){this.dialog.open(yt.N,{width:"400px"}).afterClosed().subscribe(n=>{})}changeParentsTab(e){this.eventService.tabData(e),3===e?this.router.navigate(["/admin/subscription/subscriptions"]):5===e&&this.router.navigate(["/admin/subscription/billing"])}getSubSummaryRes(e){this.isLoadingSubSummary=!1,this.dashBoardSummary=e||[]}Open(e){let n;e.isCreateSub=!0,n=1==e.subscriptionPricing.feeTypeId?o.B:B.i;const c=this.subInjectService.changeNewRightSliderState({data:e,id:1,state:"open",componentName:n}).subscribe(m=>{w.fK.isDialogClose(m)&&c.unsubscribe()})}openPlanSlider(e,n,s){let c;"billerSettings"==e?c=it.P:"changePayee"==e?c=st.a:"SUBSCRIPTIONS"==e?c=K.F:e=1==s.subscriptionPricing.feeTypeId?"createSubFixed":"createSubVariable",s.isCreateSub=!1;const T=this.subInjectService.changeNewRightSliderState({flag:e,data:s,id:1,state:"open",componentName:c}).subscribe(O=>{w.fK.isDialogClose(O)&&T.unsubscribe()})}delete(e){"cancelSubscription"===e&&this.dialog.open(rt.i,{width:"400px",data:{flag:e},autoFocus:!1})}deleteModal(e){this.dialog.open(X.$,{width:"400px",data:{data:e,header:"DELETE",body:"Are you sure you want to delete the document?",body2:"This cannot be undone.",btnYes:"CANCEL",btnNo:"DELETE"},autoFocus:!1}).afterClosed().subscribe(c=>{})}getTotalRecivedByDash(){const e=new Date;e.setMonth(e.getMonth()-1);const n={advisorId:this.advisorId,fromDate:w.fK.getStartOfTheDay(e).getTime(),toDate:w.fK.getEndOfDay(new Date).getTime()};this.subService.getTotalRecived(n).subscribe(s=>{g.s.dashTotalRecivedByDash=s,this.getTotalRecivedRes(s)})}getTotalRecivedRes(e){this.totalSales=null!=e?w.fK.getNumberToWord(e.totalSales):"0",this.feeRecieved=null!=e?w.fK.getNumberToWord(e.feeRecieved):"0"}clientWithSubscription(){this.subOverviewFlag=!0,this.subService.clientWithSubcribe({advisorId:this.advisorId}).subscribe(n=>{this.subscriptionOverview=n,g.s.dashClientWithSubscription=n,this.clientWithSubscriptionRes(n)},n=>{this.subOverviewFlag=!1,this.dataSourceClientWithSub={}})}togglesubscriptionOverview(e){this.unmaskFlag=e}clientWithSubscriptionRes(e){e?(this.subOverviewFlag=!1,this.dataSourceClientWithSub=e):(this.subOverviewFlag=!1,this.dataSourceClientWithSub={})}sipCountGet(){this.backoffice.getSipcountGet({advisorId:this.parentId==this.advisorId?0:[this.advisorId],arnRiaDetailsIds:[],parentId:this.parentId,dashboard:1,fromSip:2}).subscribe(n=>{this.sipCount=n.totalAmountInWords},n=>{this.sipCount=""})}goToBackOffice(e){this.roleService.backofficePermission.enabled&&this.roleService.backofficePermission.subModule.mis.enabled&&this.router.navigate(["/admin/backoffice-mis/mutual-funds"],{queryParams:{Tab:e}})}goToPeopleSection(){this.roleService.peoplePermission.subModule.clients.enabled&&this.router.navigate(["/admin/people/clients"])}goToPeopleSectionMob(){this.roleService.peoplePermission.subModule.clients.enabled&&this.router.navigate(["/admin/people/clients"])}goToBackOfficeMob(){}sipBookCount(){this.isKeyMatrix=!0,this.backoffice.getSipcountGet({advisorId:this.parentId==this.advisorId?0:this.advisorId,arnRiaDetailsIds:[],parentId:this.parentId,rtId:[1,2,4,5],dashboard:1,fromSip:2}).subscribe(n=>
1{g.s.sipBookCount=n,this.getSipcountGetRes(n)},n=>{this.keyMetricSipCount=""})}getSipcountGetRes(e){e?(this.isKeyMatrix=!1,e.sipBook=w.fK.getNumberToWord(e.totalAmount),this.keyMetricSipCount=e,this.loaderFun()):(this.isKeyMatrix=!1,this.keyMetricSipCount={sipBook:0},this.loaderFun())}getKeyMetrics(){this.dashboardService.getKeyMetrics({id:this.advisorId}).subscribe(n=>{this.keyMatrics=n,g.s.dashKeyMetrics=n,this.getKeyMetricsRes(n),this.isUnmasked=n.unmask},n=>{this.keyMetricJson=""})}toggleUnmask(e){this.isUnmasked=e}getKeyMetricsRes(e){e.sipBook=w.fK.getNumberToWord(e.totalAmount),delete e.mfAum,this.keyMetricJson=e,this.loaderFun()}openGuideDialog(){this.dashboardService.onBoardingQuestionMaster({}).subscribe(n=>{n&&this.dialog.open(r.g,{maxWidth:"100vw",width:"90vw",data:{userData:this.userData,masterGet:n,stepFlag:this.answerObj.nextStep}}).afterClosed().subscribe(c=>{this.cancelFlagService.getCancelFlag()&&(this.cancelFlagService.setCancelFlag(void 0),this.getAnswerData())})})}getMisData(){this.mfDataflag=!0,this.backoffice.getMisData({advisorId:this.parentId==this.advisorId?0:this.advisorId,arnRiaDetailsId:-1,parentId:this.parentId,rtId:[1,2,3,4,5]}).subscribe(n=>{this.mfDataflag=!1,n&&(g.s.dashMisData=n,this.mfData=n,this.getMisDataRes(n)),this.loaderFun()},n=>{})}getAllTrsanction(){this.isLoadingTransaction=!0,this.backoffice.getMfTransactions({parentId:this.parentId,startFlag:0,endFlag:5,advisorId:this.advisorId,count:0}).subscribe(n=>{n?(g.s.allTransactions=n.mutualFundTransactionList,this.getTransactionResponse(n.mutualFundTransactionList)):(this.isLoadingTransaction=!1,this.dataSource8=[])},n=>{this.isLoadingTransaction=!1,this.dataSource8=[]})}getTransactionResponse(e){this.isLoadingTransaction=!1,this.dataSource8=e&&e.length>0?e:[]}getMisDataRes(e){this.keyMetricJson.mfAum=e.totalAumRupees,this.mfAumValue=e.totalAumRupees}loaderFun(){this.keyMatrixFlag=!(!this.isKeyMatrix&&!this.mfDataflag)}getTnxStatus(e){return w.fK.getTransactionStatusFromStatusId(e)}openWarning(){this.dialog.open(St.f,{width:"40%",data:""}).afterClosed().subscribe(n=>{})}isToday(e){const n=new Date,s=new Date(e);return`${n.getDate().toString().padStart(2,"0")}/${(n.getMonth()+1).toString().padStart(2,"0")}`==`${s.getDate().toString().padStart(2,"0")}/${(s.getMonth()+1).toString().padStart(2,"0")}`}ngAfterViewInit(){const e=[{element:this.view1,api:this.view1Api},{element:this.view2,api:this.view2Api},{element:this.view3,api:this.view3Api}],n=new IntersectionObserver(c=>{c.forEach(m=>{if(m.isIntersecting){const T=m.target.id;this.apiCallsMade.has(T)||(this.apiCallsMade.add(T),e.find(R=>R.element.nativeElement.id===T)?.api.call(this))}})},{threshold:.1});e.forEach(c=>{n.observe(c.element.nativeElement)});let s=JSON.parse(localStorage.getItem("gamification")||"[]");this.gamecapabilityId=s.filter(c=>3==c.gamificationRolesCapabilityMasterId),this.gamecapabilityId.length>0&&(this.gamesdata=this.gamecapabilityId)}view1Api(){g.s.dashBirthdayOrAnniversary?this.getBirthdayOrAnniversaryRes(g.s.dashBirthdayOrAnniversary):this.getBirthdayOrAnniversary(),this.initPointForTask(),g.s.dashLast7DaysTransactionStatus?this.getLast7DaysTransactionStatusRes(g.s.dashLast7DaysTransactionStatus):this.getLast7DaysTransactionStatus()}view2Api(){g.s.dashLastSevenDaysInvestmentAccounts?this.getLastSevenDaysInvestmentAccountsRes(g.s.dashLastSevenDaysInvestmentAccounts):this.getLastSevenDaysInvestmentAccounts(),g.s.dashLastSevenDaysTransactions&&g.s.dashLastSevenDaysTransactionsNew?(this.getLastSevenDaysTransactionsRes(g.s.dashLastSevenDaysTransactions),this.getLastSevenDaysTransactionsNewRes(g.s.dashLastSevenDaysTransactionsNew)):this.getLastSevenDaysTransactions(),g.s.allTransactions?this.getTransactionResponse(g.s.allTransactions):this.getAllTrsanction()}view3Api(){g.s.dashSummaryDataDashboard?this.getSubSummaryRes(g.s.dashSummaryDataDashboard):this.getSummaryDataDashboard(),g.s.dashLatesAumReconciliationDataRes?this.getLatesAumReconciliationDataRes(g.s.dashLatesAumReconciliationDataRes):this.getLatesAumReconciliationData()}getMahaRewardsCampaign(){this.rewardsService.getMahaRewardsCampaign({adminId:this.advisorId}).subscribe(n=>{this.mahaCampaign=n,Array.isArray(n)&&n.length>0&&(this.mahaCampaignScheme=n[0],this.mahaCampaignScheme.startDate=new Date(n[0].startDate).toUTCString(),this.tag=this.mahaCampaignScheme.tag)},n=>{this.eventService.openSnackBar(n)})}startCountdown(){this.updateCountdown(),this.interval=setInterval(()=>{this.updateCountdown()},1e3)}updateCountdown(){const e=(new Date).getTime(),n=this.targetDate-e;n>0?(this.days=Math.floor(n/864e5),this.hour=Math.floor(n%864e5/36e5),this.minutes=Math.floor(n%36e5/6e4)):clearInterval(this.interval)}joinDemo(e){window.open(e.meetLink,"_blank")}scheduleDemo(e){"Reschedule"==e?(this.showResceduleScreen=!0,this.scheduledDemosData=this.closestDemos,this.isFrom=e):(this.showResceduleScreen=!1,this.isFrom=e),this.dialog.open(Pt.O,{width:"1200px",data:{value:this.scheduledDemosData,showResceduleScreen:this.showResceduleScreen,from:this.isFrom,gamedata:this.gamesdata}}).afterClosed().subscribe(s=>{this.scheduledDemos()})}
1scheduledDemos(){this.calenderService.scheduledDemos({advisorId:this.advisorId}).subscribe(n=>{n?(this.allDemos=n,this.scheduledDemosData=n,this.rescheduleBtn=!0,this.closestDemos=this.getClosestDemo(),this.openReviewPopup(this.allDemos),setTimeout(()=>{this.showformateDate=this.formatDateNew(this.closestDemos.dates)},1e3),this.showJoinDemobtn=!0):(this.showJoinDemobtn=!1,this.closestDemos=null,this.rescheduleBtn=!1)},n=>{})}openReviewPopup(e){const n=new Date,s=e.filter(T=>{const O=new Date(T.dates);return O.getFullYear()===n.getFullYear()&&O.getMonth()===n.getMonth()&&O.getDate()===n.getDate()&&0===T.isRemark});if(!s||0===s.length)return;const c=s.filter(T=>{const O=T.slotEndTo.trim(),[R,j]=O.split(" ");let[U,z]=R.split(":").map(Number);"PM"===j&&12!==U&&(U+=12),"AM"===j&&12===U&&(U=0);const vt=new Date(T.dates);return vt.setHours(U,z,0,0),n>vt});if(0===c.length)return;const m=c.reduce((T,O)=>O.slotId>T.slotId?O:T,c[0]);this.enumDataService.PRODUCTION||console.log("Show Popup Object:",m),m.isFrom="geetingStarted",null!=m&&this.dialog.open(Jt.N,{width:"530px",height:"550px",data:m}).afterClosed().subscribe(O=>{this.enumDataService.PRODUCTION||console.log(O)})}formatDateNew(e){const n=new Date(e),s=n.getDate();return`${s}${this.getDaySuffix(s)} ${this.datePipe.transform(n,"MMMM, EEEE")}`}getDaySuffix(e){if(e>=11&&e<=13)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}viewAll(e){this.dialog.open(Lt.E,{width:"1200px",data:e}).afterClosed().subscribe(s=>{this.scheduledDemos()})}cancelDemo(e){this.dialog.open(Et.M,{width:"430px",data:e}).afterClosed().subscribe(s=>{s&&this.calenderService.deleteEvent({eventId:e.eventId}).subscribe(m=>{m?(this.eventService.openSnackBar("Meeting cancelled successfully!"),this.scheduledDemos()):this.scheduledDemos()},m=>{})})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(Z.e),t.Y36(t.R0b),t.Y36(ut.c),t.Y36(Rt.uw),t.Y36(J.F),t.Y36(qt.d),t.Y36(W.P),t.Y36(Ot.g),t.Y36(Ut.B),t.Y36(Qt.k),t.Y36(_t.F0),t.Y36(_t.gz),t.Y36(Yt.f),t.Y36(P.z),t.Y36($.D),t.Y36(g.s),t.Y36(N.K),t.Y36(A.u),t.Y36(w.fK),t.Y36(et.uU),t.Y36(Y.j),t.Y36(v.v),t.Y36(nt.p),t.Y36(ut.c),t.Y36(Bt.r),t.Y36(xt.N),t.Y36(Dt.C),t.Y36(Ct.P),t.Y36(jt.ch),t.Y36(Z.e))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-dashboard"]],viewQuery:function(e,n){if(1&e&&(t.Gf(pe,5),t.Gf(me,5),t.Gf(ge,5)),2&e){let s;t.iGM(s=t.CRH())&&(n.view1=s.first),t.iGM(s=t.CRH())&&(n.view2=s.first),t.iGM(s=t.CRH())&&(n.view3=s.first)}},decls:285,vars:141,consts:[[3,"hidden"],["id","ui-advisor-dashboard-header"],[1,"row","fade-in"],[1,"col-md-2"],[1,"m-0","pt-16"],[1,"col-md-10","p-0","pt-12"],[1,"subnav-fixed"],["mat-tab-nav-bar","",2,"border-bottom","0px !important"],["class","d-flex pr-10 justify-content-between align-items-center",4,"ngIf"],["id","ui-dashboard-advisor",1,"row","pt-120","d-none-768","roboto","fade-in",3,"resize"],["id","keyMetrics",1,"col-xl-3","col-md-5","pl-20","pr-20","new-grid-842","pb-28","mob-mt-15"],[1,"sticky-top","z-0"],[1,"flex-container"],["class","m-0 roboto f-500 pb-16",4,"ngIf"],["class","c-p",4,"ngIf"],["appSkeletonLoading","","class","row bg-grey lter text-center ba-primitive br-4 p-8 skeletonAnimation","style","height: auto ;",3,"appSkeletonLoading",4,"ngIf"],["class","m-0 roboto f-500 pb-16 pt-28",4,"ngIf"],["class","row bg-grey lter text-center ba-primitive br-4 p-8",4,"ngIf"],["appSkeletonLoading","","class","row bg-grey lter text-center ba-primitive br-4 p-8 skeletonAnimation",3,"appSkeletonLoading",4,"ngIf"],[1,"m-0","roboto","f-500","pb-16","pt-28"],[1,"flex-item","c-p"],["class","eyesPassword-1 c-p pt-10","style","width: 24px; height: 40px;","src","https://res.cloudinary.com/futurewise/image/upload/v1619606687/myplanner/images/svg/visibility-gery.svg","matSuffix","","alt","not-visible",3,"click",4,"ngIf","ngIfElse"],["visibleImagess",""],["appSkeletonLoading","",1,"row","bg-grey","lter","text-center","ba-primitive","br-4","p-8","skeletonAnimation",2,"height","250px",3,"appSkeletonLoading"],[1,"col-md-6","pt-24","pb-24","bb-half","pl-8","bb-1-842",2,"height","120px"],[1,"m-0","text-primitive","roboto","f-400","lh-16","ws-nowrap"],[1,"d-none-575"],[1,"m-0","roboto","f-400","text-black","pt-8"],[1,"relClass"],[1,"bar",3,"ngClass"],[4,"ngIf","ngIfElse"],["maskedFamilyMembers",""],[1,"col-md-6","pt-24","pb-24","bl-half","bb-half","bb-1-842",2,"height","120px"],[1,"m-0","text-primitive","roboto","f-400","lh-16"],["maskedTotalClients",""],[1,"col-md-6","pt-24","pb-24","pl-8","bb-1-842"],["maskedTotalSize",""],[1,"col-md-6","pt-24","pb-24","bl-half"],["maskedTotalDocs",""],[1,"col-xl-6","col-md-7","bl-1","br","p-0","pt-24","pb-28","mob-pt-0"],[1,"pl-24","pr-24","plr-16-992"],["class","advisor-status pl-20 mb-24",4,"ngIf"],["class"," pt-10",4,"ngIf"],["class","text-center","style","position: relative; justify-content: center;\ndisplay: flex;\n",4,"ngIf"],["class","mt-20",4,"ngIf"],[4,"ngFor","ngForOf"],["class","d-flex justify-content-center mt-10",4,"ngIf"],["style","font-size: small;","class","mt-40",4,"ngIf"],["class","col-12 p-0 pt-40",4,"ngIf"],["id","view1"],["view1",""],["class","row pt-40 mob-pt-20",4,"ngIf"],[1,"row","pt-40","mob-pt-20"],[1,"col-md-12","p-0"],[1,"f-500","roboto","text-black","m-0","pb-10"],[1,"relative","option-panel","pt"],["appearance","standard","floatLabel","never"],["type","text","placeholder","Search Scheme","matInput","",1,"form-control",2,"padding-left","30px !important","
1width","93% !important",3,"matAutocomplete","input"],["inputSearch",""],[1,"option-panel"],["autoGroup","matAutocomplete"],["class","option-panel",4,"ngFor","ngForOf"],["src","https://res.cloudinary.com/futurewise/image/upload/v1768193614/myplanner/Icon_36.svg",1,"absolute"],["class","row pt-30 today-task mob-pt-20",4,"ngIf"],["class","row pt-60 transctions-status-advisor mob-pt-20 c-p",3,"routerLink",4,"ngIf"],["id","view2"],["view2",""],["class","dasBoradBox mt-40 mob-mt-20",4,"ngIf"],["class","row pt-40 rejections-advisor mob-pt-20",4,"ngIf"],["id","view3"],["view3",""],["class"," dasBoradBox mt-40 mob-mt-20",4,"ngIf"],[1,"col-xl-3","col-md-12","mt-0","p-0","bg-lter","lter","wrapper"],["class","ml-15 mr-15 mb-5",3,"ngClass",4,"ngIf"],["class","d-flex pr-10 justify-content-between align-items-center","style","display:none !important",4,"ngIf"],[1,"bg-white",3,"ngClass"],[1,"mt-15","mb-15",2,"border-bottom","1px solid #BCC6CA"],[1,"sticky-top","z-0","bg-4-todo","pt-0"],["animationDuration","0ms","id","advisor-radio",3,"ngClass"],["label","To-do",4,"ngIf"],["label","Calendar",4,"ngIf"],[1,"pt-10",2,"display","none !important"],[1,"d-flex","pr-10","pl-10","justify-content-between","align-items-center"],[1,"ml-0","mt-30"],[1,"f-600","f-16","roboto","text-primary","mb-0"],["mat-button","",1,"btn-primary","ml-20","mt-20",3,"disabled","click"],[1,"mt-15","mb-15","pl-0",2,"border-bottom","1px solid #BCC6CA"],[1,"d-flex"],["src","https://res.cloudinary.com/futurewise/image/upload/v1743765605/myplanner/Telecommuting-rafiki_1_3x.png",2,"height","96px","width","96px"],[1,"mt-15","mb-15",2,"border-bottom","1px solid #BCC6CA pl-0"],[1,"br-20","ml-5","mb-0","f-500","f-16","roboto","text-black","lh-18","mt-5","pb-10"],[1,"br-20","ml-5","mb-0","f-400","f-12","roboto","text-primitive","pb-0","lh-18"],[1,"br-20","ml-5","mb-0","f-400","f-12","roboto","text-primitive","pb-5","lh-18"],[1,"br-20","ml-5","mb-5","f-400","f-12","roboto","text-primary","lh-18"],[1,"d-flex","c-p","pl-20"],[1,"f-400","f-14","roboto","bg-primary","text-white","nowrap","col-md-10","pl-20",2,"padding","8px 20px","text-align","center",3,"click"],[1,"primary-border","d-flex","align-items-center","pl-10","pr-10",3,"matMenuTriggerFor"],["src","https://res.cloudinary.com/futurewise/image/upload/v1741088607/myplanner/Polygon.svg"],["demoMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"dashboard-mobile-only","mob-common-bg-color",2,"display","none"],[1,"row","pt-80"],["id","keyMetrics",1,"col-12","pb-28","pl-10","pr-10"],[1,"row","bg-white","br-4","pt-12","pb-12","align-items-center","gm"],[1,"col-9"],[1,"f-12","roboto","lh-14","text-custom","m-0"],[1,"m-0","roboto","f-18","lh-21","f-700"],[1,"col-3","text-right"],["src","https://res.cloudinary.com/futurewise/image/upload/v1621338781/myplanner/images/svg/webp/people.webp"],["animationDuration","0ms","id","common-tabs",1,"mt-12"],["label","Key metrics"],["appSkeletonLoading","",1,"row","skeletonAnimation","pt-12",3,"appSkeletonLoading"],[1,"col-6","overflow-hidden","pl-0","c-p","pb-10","pr-5",3,"ngClass"],[1,"bg-white","pt-24","pb-24","pl-12","pr-12","pb-12","br-4","h-90"],[1,"m-0","text-primitive","roboto","f-400","lh-12","f-12"],[1,"mb-0","roboto","f-400","f-18","text-primary","mt-8"],[4,"ngIf"],[1,"col-6","overflow-hidden","c-p","pb-10","pr-0","pl-5",3,"ngClass","click"],[1,"mb-0","roboto","f-400","mt-8","f-18","text-primary"],[1,"col-6","overflow-hidden","pl-0","c-p","pr-5",3,"ngClass","click"],[1,"col-6","overflow-hidden","pr-0","pl-5"],[1,"bar","f-18","text-primary",3,"ngClass"],["label","Subscription overview",4,"ngIf"],["label","Document Overview"],["appSkeletonLoading","",1,"row","br-4","pt-12","skeletonAnimation",3,"appSkeletonLoading"],[1,"col-6","pb-10","pl-0","pr-5"],[1,"m-0","text-primitive","roboto","f-400","lh-12","f-12","ws-nowrap"],[1,"m-0","roboto","f-400","text-primary","pt-8"],[1,"col-6","pb-10","pl-5","pr-0"],[1,"col-6","pl-0","pr-5"],[1,"col-6","pr-0","pl-5"],["class","row pt-28",4,"ngIf"],[1,"col-12","bl-1","br","p-0","pt-24","mob-pt-0","blr-0-1024"],[1,"pl-8","pr-8","pb-48"],["class","row pt-40 today-task mob-pt-20",4,"ngIf"],["class","row pt-40 rejections-advisor pb-16",4,"ngIf"],["animationDuration","0ms","id","common-tabs"],["label","Pending & Rejections",4,"ngIf"],["label","Recent investment a/c"],["class","overflow-myfeed pt-12",4,"ngIf"],["class","row",4,"ngIf"],["class","ba-primitive bg-white br-4 p-18",4,"ngIf"],["class","ba-primitive bg-white br-4",4,"ngIf"],["label","Recent online transactions",4,"ngIf"],["class","row pt-40",4,"ngIf"],["label","Rejections and Reversals",4,"ngIf"],["label","Transaction summary",4,"ngIf"],[1,"dasBoradBox","pt-40","d-none"],[1,"row","pb-10"],[1,"col-xl-6","col-lg-6","col-md-12","p-0","mob-pb-10"],[1,"m-0","f-500","text-black","roboto","pl-8"],[1,"col-xl-6","col-lg-6","col-md-12","p-0","text-center","pt-15-992","text-center-575","mob-pt-0","subs-dashboard"],["id","custom-toggle","multiple","false",1,"subscription-summary",3,"ngModel","change","ngModelChange"],["value","1",1,"f-14"],["value","3",1,"f-14"],["class","ba-primitive br-4 bg-white",4,"ngIf"],[1,"dasBoradBox","mt-40","mob-mt-20","d-none"],[1,"row"],[1,"col-md-9","p-0","d-flex","align-items-center"],[1,"mb-8","f-500","text-black","roboto","mt-0","pl-8"],["class","bg-white ba-primitive br-4",4,"ngIf"],["class","document-bottom-action",4,"ngIf"],[1,"p-20","pt-140","d-flex","container",2,"align-items","center"],[1,"centered-div"],[1,"f-400","roboto",2,"font-size","26px"],[1,"f-400","roboto","f-14","text-center"],[1,"text-center"],[3,"ngModel","ngModelChange","change"],[1,"d-flex","pr-10","justify-content-between","align-items-center"],[1,"mr-20"],["mat-button","",1,"btn-primary","d-flex","justify-content-end",3,"disabled","click"],[1,"m-0","roboto","f-500","pb-16"],[1,"c-p"],["class","eyesPassword-1 c-p pb-16","style","width: 24px; height: 40px;","src","https://res.cloudinary.com/futurewise/image/upload/v1619606687/myplanner/images/svg/visibility-gery.svg","matSuffix","","alt","not-visible",3,"click",4,"ngIf","ngIfElse"],["visibleImage",""],["src","https://res.cloudinary.com/futurewise/image/upload/v1619606687/myplanner/images/svg/visibility-gery.svg","matSuffix","","alt","not-visible",1,"eyesPassword-1","c-p","pb-16",2,"width","24px","height","40px",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619607007/myplanner/images/svg/visibilitys.svg","matSuffix","","alt","visible",1,"eyesPassword-1","c-p","pb-16",3,"click"],["appSkeletonLoading","",1,"row","bg-grey","lter","text-center","ba-primitive","br-4","p-8","skeletonAnimation",2,"height","auto",3,"appSkeletonLoading"],[1,"col-md-6","overflow-hidden","pt-24","pb-24","bb-half","pl-8","bb-1-842","c-p",2,"height","113px",3,"ngClass","click"],[1,"m-0","text-primitive","roboto","f-400","lh-16",2,"text-wrap","nowrap"],[1,"mb-0","roboto","f-400","text-black","mt-8"],["maskedAum",""],[1,"col-md-6","overflow-hidden","pt-24","pb-24","bl-half","bb-half","bb-1-842","c-p",2,"height","113px",3,"ngClass","click"],["maskedSipBook",""],[1,"col-md-6","overflow-hidden","pt-24","pb-24","pl-8","bb-1-842","c-p",3,"ngClass","click"],["maskedClientCount",""],[1,"col-md-6","overflow-hidden","pt-24","pb-24","bl-half","pl-12"],["maskedInvestorCount",""],["noMfAumValue",""],["noSipBook",""],[1,"row","bg-grey","lter","text-center","ba-primitive","br-4","p-8"],[1,"col-md-6","pt-24","pb-24","bb-half","pl-8"],[1,"col-md-6","pt-24","pb-24","bl-half","bb-half"],[1,"col-md-6","pt-24","pb-24","pl-8"],["class","eyesPassword-1 c-p","style","width: 24px; height: 40px;","src","https://res.cloudinary.com/futurewise/image/upload/v1619606687/myplanner/images/svg/visibility-gery.svg","matSuffix","","alt","not-visible",3,"click",4,"ngIf","ngIfElse"],["visibleImages",""],["src","https://res.cloudinary.com/futurewise/image/upload/v1619606687/myplanner/images/svg/visibility-gery.svg","matSuffix","","alt","not-visible",1,"eyesPassword-1","c-p",2,"width","24px","height","40px",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619607007/myplanner/images/svg/visibilitys.svg","matSuffix","","alt","visible",1,"eyesPassword-1","c-p",3,"click"],["appSkeletonLoading","",1,"row","bg-grey","lter","text-center","ba-primitive","br-4","p-8","skeletonAnimation",3,"appSkeletonLoading"],["unmaskedClientsWithSub",""],["unmaskedCancelledSubs",""],["unmaskedTotalFees",""],["unmaskedFeesReceived",""],["src","https://res.cloudinary.com/futurewise/image/upload/v1619606687/myplanner/images/svg/visibility-gery.svg","matSuffix","","alt","not-visible",1,"eyesPassword-1","c-p","pt-10",2,"width","24px","height","40px",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619607007/myplanner/images/svg/visibilitys.svg","matSuffix","","alt","visible",1,"eyesPassword-1","c-p","pt-10",3,"click"],[1,"f-12"],[1,"advisor-status","pl-20","mb-24"],[1,"m-0","roboto","f-400","f-18","text-black","pt-20"],[1,"m-0","roboto","f-400","f-12","lh-20","text-black","pb-16"],[1,"pt-10"],[1,"d-flex","align-items-center","p-10","br-4","b","justify-content-between"],[1,"ml-10"],[1,"d-flex","c-p"],[1,"f-400","f-14","roboto","bg-primary","text-white","nowrap","pl-20",2,"padding","8px 20px","text-align","center",3,"click"],["mat-menu-item","",3,"click"],[1,"text-center",2,"position","relative","justify-content","center","display","flex"],["src","https://res.cloudinary.com/futurewise/image/upload/v1729592693/myplanner/Advisor_side_-_smallcase_card.png",1,"b","br-10",2,"width","100%","height","auto"],[2,"position","absolute"],[1,"d-flex","align-items-center","mb-15","pt-60","justify-content-center"],[1,"mb-0","f-400","f-16","roboto","mr-4"],["src","https://res.cloudinary.com/futurewise/image/upload/v1729323308/myplanner/Diwali.png",1,"pb-8","w-20"],[1,"mb-0","f-400","f-16","roboto","mr-4","ml-4"],["src","https://res.cloudinary.com/futurewise/image/upload/v1729325207/myplanner/Smallcase-logo.svg",1,"w-30"],[1,"f-400","f-14","roboto","mb-15","lh-20"],[1,"f-700"],[1,"d-flex","justify-content-center"],[1,"btn-primary","mb-5","text-uppercase",3,"routerLink"],[1,"f-500","f-10","roboto","mb-5"],[1,"f-500","f-10","roboto","mb-0","lh-12"],["href","https://docs.google.com/forms/d/e/1FAIpQLSfkwg-IvpEKfKcfbDTHZ7O1ZwCbf_sci0NcjGOi7TzS473rTQ/viewform",1,"text-primary","c-p"],[1,"mt-20"],["class","mt-20",3,"mouseenter","mouseleave",4,"ngIf"],[1,"mt-20",3,"mouseenter","mouseleave"],[1,"br-5","p-15","d-flex","flex-column","justify-content-between",2,"min-height","310px",3,"ngStyle"],[1,"d-flex","justify-content-between","align-items-center"],[1,"mt-20",3,"ngStyle"],[1,"f-400","f-14","roboto","lh-19","mb-16"],["class","mr-10",4,"ngFor","ngForOf"],["loading","lazy","width","148","height","50",3,"ngSrc","alt",4,"ngIf"],["loading","lazy","width","148","height","50",3,"ngSrc","alt"],[1,"f-400","f-14","roboto","br-2","mb-0","p-2",2,"padding","2px 7px!important",3,"ngStyle"],[1,"",3,"ngStyle","innerHTML"],[1,"f-400","roboto","mb-0",3,"ngStyle"],[1,"mr-10"],["class"," h-40","style","border:1px solid ",3,"ngStyle","click",4,"ngIf"],[1,"h-40",2,"border","1p
1x solid",3,"ngStyle","click"],["class"," h-40","style","border:1px solid ",3,"ngStyle","click",4,"ngIf"],[1,"br-5","d-flex","justify-content-between",2,"min-height","310px",3,"ngStyle"],[1,"p-15","pb-10","w-70","d-flex","flex-column","justify-content-between"],["class"," pb-10 w-60",4,"ngFor","ngForOf"],[1,"",3,"ngStyle"],["class","d-flex",4,"ngIf"],[1,"mt-5","d-flex","justify-content-between","align-items-center"],[1,"pb-10","w-60"],["style","height:50px",3,"src","alt",4,"ngIf"],[2,"height","50px",3,"src","alt"],["class","text-right",4,"ngIf"],[1,"text-right"],["loading","lazy",2,"width","100%","height","310px",3,"src","alt"],[1,"d-flex","justify-content-center","mt-10"],[1,"text-primitive","c-p",3,"click"],[1,"text-primitive","f-40",2,"position","relative","bottom","10px"],[1,"roboto","mb-10"],[1,"borderChatBox","col-md-12","p-0","b-a","bg-white"],["appSkeletonLoading","",1,"skeletonAnimation",3,"appSkeletonLoading"],[1,"col-xl-6","col-lg-6","col-md-12","pl-0","text-center"],[1,"bar180","height180"],[1,"col-xl-6","col-lg-6","col-md-12","pl-0","pl-15-992"],[1,"mt-60","mt-0-992"],[1,"text-black","f-16","roboto","mb-10","f-500"],[1,"bg-white","br-10"],[1,"row","b-a","pt-20","pb-20","br-4"],[1,"col-xl-6","col-lg-6","col-md-12","p-0","full-center-992"],[1,"h-200","responsive-asset-chart",3,"chart"],[1,"col-xl-6","col-lg-6","col-md-12","pl-0","flex-column","d-flex","justify-content-center","pl-15-992","align-items-center-992"],["class","chart-data d-flex",4,"ngFor","ngForOf"],[1,"chart-data","d-flex"],[1,"pointNumber"],["appFormatNumber","",1,"f-12","lh-12","roboto","f-400","m-0"],[1,"f-12","lh-12","roboto","text-custom","m-0","f-400","mb-10","ml-10"],[1,"mt-40",2,"font-size","small"],["class","ba-primitive br-4 mt-10 p-18",4,"ngIf"],["class","ba-primitive br-4 mt-10 p-18 skeletonAnimation","appSkeletonLoading","",3,"appSkeletonLoading",4,"ngIf"],[1,"ba-primitive","br-4","mt-10","p-18"],[1,"row","column-reverse-992","text-center-992"],[1,"col-xl-7","col-lg-7","col-md-12","p-0","text-center-767"],[1,"f-16","roboto","f-600"],[1,"f-14"],[1,"col-xl-5","col-lg-5","col-md-12","text-center","pr-0","mob-pl-0"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592711/myplanner/images/svg/reconciliation-img.svg","height","120","width","120","alt","rejection reversal"],["appSkeletonLoading","",1,"ba-primitive","br-4","mt-10","p-18","skeletonAnimation",3,"appSkeletonLoading"],[1,"br-4"],["class","w-488 relClass",4,"ngIf"],["id","pieChartAum","class","highcharts-figure",4,"ngIf"],[1,"col-md-12","p-0","pt-10","mob-overflow-table-575"],[1,"bg-white","slide"],["id","table-low","appSkeletonLoading","",1,"skeletonAnimation","mt-16",3,"appSkeletonLoading"],[1,"h-40"],[1,"br","f-500","text-black-lt"],["style","font-weight: bold; text-align:center;background-color: #F5F7F7;","class","br",3,"ngClass",4,"ngFor","ngForOf"],[1,"br",2,"color","#5DC644"],["class","br","style","text-align: right;",3,"matTooltip",4,"ngFor","ngForOf"],[1,"br",2,"color","#FF7272"],[1,"br","text-black-lt","f-500"],["style","font-weight: bold;background-color: #F5F7F7;text-align: right","class","br",3,"matTooltip",4,"ngFor","ngForOf"],[1,"col-md-12","p-0","text-right","mob-pt-10"],[1,"m-0","f-400","roboto","text-black","f-12",2,"font-style","italic"],[1,"w-488","relClass"],["id","pieChartAum",1,"highcharts-figure"],[1,"br",2,"font-weight","bold","text-align","center","background-color","#F5F7F7",3,"ngClass"],[1,"br",2,"text-align","right",3,"matTooltip"],[1,"br",2,"font-weight","bold","background-color","#F5F7F7","text-align","right",3,"matTooltip"],[1,"col-12","p-0","pt-40"],[1,"m-0","text-black","f-16","roboto","pb-16","f-500"],[1,"bg-white","br-10","ba-primitive"],[1,"row","pt-20","pb-20","column-reverse-992","text-center-992"],[1,"col-xl-6","col-lg-6","col-md-12"],[1,"m-0","roboto","f-400","pt-15-992"],[1,"m-0","roboto","f-400","pt-16","pb-16"],["mat-stroked-button","",1,"vaultBtn","mb-4","btn-primary","f-16",3,"routerLink"],[1,"col-xl-6","col-lg-6","col-md-12","full-center","pl-0"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592585/myplanner/images/svg/asset-allocation-empty-state.svg","alt","blank pie chart",1,"img-max-width","w-auto-992"],[1,"d-flex","overflow-myfeed"],["class","fundBoxDashboard d-flex flex-column justify-content-between bg-white slide ",4,"ngFor","ngForOf"],["class","bg-white d-flex skeletonAnimation ","appSkeletonLoading","",3,"appSkeletonLoading",4,"ngIf"],[1,"fundBoxDashboard","d-flex","flex-column","justify-content-between","bg-white","slide"],[1,"c-p",3,"click"],[1,"row","c-p"],[1,"col-md-8","p-0"],["class","m-0 ellipsisClass roboto f-400",4,"ngIf"],["class","m-0 ellipsisClass roboto f-400 c-p",3,"matTooltip",4,"ngIf"],["class","mb-4 roboto f-400 f-12 text-custom",4,"ngIf"],["class","mb-4 roboto f-400 f-12 text-custom ws-nowrap",4,"ngIf"],[1,"col-md-4","col-4","p-0"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592043/myplanner/images/webp/people.webp","height","40","width","40","alt","people"],[1,"col-md-8","col-8","p-0","d-flex","justify-content-center","flex-column"],[1,"m-0","f-12","lh-16","roboto","f-400","f-12"],["class","f-14",4,"ngIf"],["class","m-0 f-12 lh-16 roboto text-custom f-400 f-12",4,"ngIf"],[1,"m-0","ellipsisClass","roboto","f-400"],[1,"m-0","ellipsisClass","roboto","f-400","c-p",3,"matTooltip"],[1,"mb-4","roboto","f-400","f-12","text-custom"],[1,"mb-4","roboto","f-400","f-12","text-custom","ws-nowrap"],[1,"m-0","f-12","lh-16","roboto","text-custom","f-400","f-12"],["appSkeletonLoading","",1,"bg-white","d-flex","skeletonAnimation",3,"appSkeletonLoading"],[1,"fundBoxDashboard_loader"],[1,"bar","height24"],[1,"col-md-4","p-0"],[1,"bar40","height40"],[1,"col-md-8","pr-0","pl-4","d-flex","justify-content-center","flex-column"],[3,"click"],[1,"mb-4","f-400","f-15","roboto","pl-10","pr-10","pt-5"],[1,"d-flex","pl-10","pr-10","pb-10"],[1,"w-25"],[1,"f-400","f-11","roboto","lh-10","text-primitive","mb-0"],[1,"f-400","f-13","roboto","mb-0"],[1,"row","pt-30","today-task","mob-pt-20"],["class","ba-primitive br-4 p-18",4,"ngIf"],["mat-table","","appSkeletonLoading","","id","table-low",1,"skeletonAnimation",3,"dataSource","appSkeletonLoading"],["matColumnDef","position"],["mat-header-cell","","class","br",4,"matHeaderCellDef"],["mat-cell","","class","br",3,"click",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","weight"],["mat-cell","","class","br",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"br"],["mat-cell","",1,"br",3,"click"],[1,"bar","w-100"],[1,"col-md-9","p-0"],[1,"col-md-3","p-0"],[1,"text-custom"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592740/myplanner/images/svg/task-msg.svg","alt","task msg icon"],["mat-cell","",1,"br"],["mat-header-row",""],["mat-row",""],[1,"ba-primitive","br-4","p-18"],[1,"col-xl-7","col-lg-7","col-md-12","p-0"],["mat-button","",1,"btn-primary","btn40",3,"routerLink"],[1,"col-xl-5","col-lg-5","col-md-12","text-center","pr-0"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592743/myplanner/images/svg/today_-tasks.svg","height","120","width","120","alt","tasks"],[1,"row","pt-60","transctions-status-advisor","mob-pt-20","c-p",3,"routerLink"],[1,"m-0","f-500","roboto","text-black"],[1,"col-md-4","p-0","text-right","mob-pt-10"],[1,"m-0","f-400","roboto","text-black","f-12"],["mat-table","","appSkeletonLoading","","id","table-low",1,"skeletonAnimation",3,"appSkeletonLoading","dataSource"],["mat-cell","","class","br",3,"ngClass",4,"matCellDef"],["matColumnDef","symbol"],[1,"col-md-12","p-0","mob-overflow-table-575"],["appSkeletonLoading","","mat-table","","id","table-low",1,"skeletonAnimation","mt-20",3,"appSkeletonLoading","dataSource"],["mat-cell","",1,"br",3,"ngClass"],["class","text-white",4,"ngIf"],[1,"text-white"],[1,"dasBoradBox","mt-40","mob-mt-20"],[1,"col-md-9","d-flex","align-items-center","p-0"],[1,"col-md-3","p-0","text-right"],["mat-stroked-button","","class","advisor-view-all",3,"routerLink",4,"ngIf"],["class","overflow-myfeed",4,"ngIf"],["mat-stroked-button","",1,"advisor-view-all",3,"routerLink"],[1,"overflow-myfeed"],["class","fundBox bg-white slide",4,"ngFor","ngForOf"],[1,"fundBox","bg-white","slide"],[1,"col-9","p-0"],[1,"m-0","f-400","roboto","text-black","f-14","lh-16"],[1,"m-0","f-400","f-14","roboto","text-black","pt-10","lh-16"],[1,"col-3","pl-0","d-flex","justify-content-end","f-14","pr-0","text-primitive"],[1,"row","pt-16"],[1,"col-6","pr-8","pl-0"],[1,"m-0","text-primitive","f-12"],[1,"col-6","pr-0","pl-0","text-right"],[1,"m-0","text-primitive","f-12","lh-12","pt-4","ws-nowrap"],[1,"col-md-12","pl-0"],["mat-stroked-button","","class","btn-primary-outline text-primary h-20 lh-20 br-2 pr-5 pl-5 f-12",4,"ngIf"],["mat-stroked-button","","class","btn-danger-outline text-warning h-20 lh-20 br-2 pr-5 pl-5 f-12",4,"ngIf"],["mat-stroked-button","","class","btn-success-outline text-success h-20 lh-20 br-2 pr-5 pl-5 f-12",4,"ngIf"],["mat-stroked-button","",1,"btn-primary-outline","text-primary","h-20","lh-20","br-2","pr-5","pl-5","f-12"],["mat-stroked-button","",1,"btn-danger-outline","text-warning","h-20","lh-20","br-2","pr-5","pl-5","f-12"],["mat-stroked-button","",1,"btn-success-outline","text-success","h-20","lh-20","br-2","pr-5","pl-5","f-12"],[1,"investmentBox","b-a","br-10"],[1,"col-md-6","pr-0"],[1,"bar","height24","mb-10"],[1,"col-md-6"],[1,"col-md-12"],[1,"bar","mb-10","height24"],[1,"col-md-7"],["mat-button","",1,"btn-primary","btn40",3,"click"],[1,"d-block","d-none-768"],[1,"text-primitive","pl-4","f-12"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592710/myplanner/images/svg/recent-investment-accounts.svg","alt","recent accounts icon"],[1,"d-block","mt-8","d-none-768"],["mat-stroked-button","","routerLinkActive","router-link-active","class","advisor-view-all",3,"routerLink",4,"ngIf"],["class","fundBox bg-white slide h-160 ",4,"ngFor","ngForOf"],["class","row no-wrap",4,"ngIf"],["mat-stroked-button","","routerLinkActive","router-link-active",1,"advisor-view-all",3,"routerLink"],[1,"fundBox","bg-white","slide","h-160"],[1,"mb-0","f-400","roboto","text-black","lh-16"],[1,"col-3","p-0"],[1,"m-0","f-400","roboto","text-custom","lh-16"],[1,"row","pt-12"],[1,"col-6","p-0"],[1,"f-400","roboto","text-black","mb-0","f-18","lh-16"],[1,"col-6","p-0","text-right"],[1,"col-md-12","p-0",3,"matTooltip"],[1,"m-0","f-400","roboto","text-custom","lh-16","f-12","text-truncate"],[1,"m-0","text-black","f-400","roboto","lh-16","pb-6"],["class","text-primary br-1 primary-border f-12 p2-5",4,"ngIf"],["class","text-danger p2-5 br-1 borderDanger f-12",4,"ngIf"],["class","text-primary p2-5 br-1 primary-border f-12",4,"ngIf"],["class","text-success p2-5 br-1 borderSuccess f-12",4,"ngIf"],["class","text-warning p2-5 br-1 borderWarning f-12",4,"ngIf"],[1,"text-primary","br-1","primary-border","f-12","p2-5"],[1,"text-danger","p2-5","br-1","borderDanger","f-12"],[1,"text-primary","p2-5","br-1","primary-border","f-12"],[1,"text-success","p2-5","br-1","borderSuccess","f-12"],[1,"text-warning","p2-5","br-1","borderWarning","f-12"],["id","nse/bse","mat-button","",1,"btn-primary","btn40",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592710/myplanner/images/svg/recent-online-transactions_MF.svg","alt","recent transactions MF"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592710/myplanner/images/svg/recent-online-transactions_MF.svg","alt","recent transactions icon"],[1,"row","no-wrap"],[1,"row","pt-40","rejections-advisor","mob-pt-20"],[1,"m-0","f-500","roboto","text-black","pt-2","d-inline"],["mat-stroked-button","","routerLinkActive","router-link-active","class","advisor-view-all mb-12",3,"routerLink","queryParams",4,"ngIf"],["class","col-md-12 p-0 pt-10 overflow-table-992",4,"ngIf"],["mat-stroked-button","","routerLinkActive","router-link-active",1,"advisor-view-all","mb-12",3,"routerLink","queryParams"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592714/myplanner/images/svg/rejections-and-reversals.svg","height","120","width","120","alt","rejection reversal"],[1,"col-md-12","p-0","pt-10","overflow-table-992"],["mat-table","","id","table-low","appSkeletonLoading","",1,"skeletonAnimation",3,"dataSource","appSkeletonLoading"],["mat-header-cell","","class","br ws-nowrap-575",4,"matHeaderCellDef"],["mat-header-cell","",1,"br","ws-nowrap-575"],[1,"bar"],[1,"ws-nowrap-575"],["appFormatNumber","",1,"text-custom"],[1,"m-0","f-500","roboto","text-black","pt-2"],[1,"col-3","p-0","text-right"],["class","col-md-12 p-0 overflow-table-992",4,"ngIf"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592714/myplanner/images/svg/rejections-and-reversals.svg","alt","rejections reversals image"],[1,"col-md-12","p-0","overflow-table-992"],[1,"m-0","f-500","text-black","roboto","pt-8"],[1,"col-xl-6","col-lg-6","col-md-12","p-0","text-right","pt-15-992","text-center-575","mob-pt-0"],["class","col-md-12 text-right pt-8 pr-0",4,"ngIf"],[1,"col-md-12","p-0","pt-8","overflow-table-992","mob-overflow-table-575"],["class","c-p br","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","service"],["mat-header-cell","","class","br w-25",4,"matHeaderCellDef"],["class","c-p br","mat-cell","",4,"matCellDef"],["matColumnDef","amt"],["class","br w-20","mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","billing"],["matColumnDef","icons"],["class","f-18","mat-header-cell","",4,"matHeaderCellDef"],["class","c-p","mat-cell","",3,"matMenuTriggerFor",4,"matCellDef"],["mat-cell","",1,"c-p","br",3,"click"],["mat-header-cell","",1,"br","w-25"],["mat-cell","",1,"c-p","br"],["mat-header-cell","",1,"br","w-20"],[1,"bar","text-primary","text-underline"],["class","bar",4,"ngIf"],["mat-header-cell","",1,"f-18"],["mat-cell","",1,"c-p",3,"matMenuTriggerFor"],["class","c-p","src","https://res.cloudinary.com/futurewise/image/upload/v1619592625/myplanner/images/svg/dot-menu.svg","height","16","width","4","alt","menu",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",1,"bt-1",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592625/myplanner/images/svg/dot-menu.svg","height","16","width","4","alt","menu",1,"c-p"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592738/myplanner/images/svg/Subscription-empty-img.svg","alt","empty subscription image"],[1,"col-md-12","text-right","pt-8","pr-0"],["mat-stroked-button","",1,"advisor-view-all",3,"click"],[1,"mb-8","f-500","text-black","roboto","mt-8"],[1,"col-md-12","p-0","pt-10","overflow-table-992","mob-overflow-table-575"],["mat-header-cell","","class","br w-11",4,"matHeaderCellDef"],["mat-cell","","class","br w-11 wb",4,"matCellDef"],["matColumnDef","match"],["mat-header-cell","",1,"br","w-11"],["mat-cell","",1,"br","w-11","wb"],[1,"col-lg-6","col-md-12","p-0"],[1,"col-lg-6","col-md-12","text-center","pr-0"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592711/myplanner/images/svg/reconciliation-img.svg","alt","reconciliation img"],[1,"ml-15","mr-15","mb
1-5",3,"ngClass"],["class","p-10 mb-8 br-4 b",4,"ngIf"],[1,"mb-10","f-500","f-16","roboto","mt-20"],[1,"p-10","mb-8","br-4","primary-border","bg-primary",2,"background-image","url('https://autouploademail.s3.ap-south-1.amazonaws.com/resource_vault/web_icons/Gamification_bg.png')","background-position","right bottom","background-size","cover"],["class","p-10 mb-8 dynamic-color-lighter d-flex align-items-center br-4",4,"ngIf"],["class","p-10 mb-8 dynamic-color d-flex align-items-center br-4",4,"ngIf"],[1,"btn-primary","w-100",3,"click"],[1,"p-10","mb-8","br-4","b"],[1,"mt-0-992"],[1,"skeleton-box"],[1,"f-400","f-16","roboto","mb-5"],[1,"f-700","f-32","roboto","mb-10","text-primary"],[1,"text-black","f-400","f-12","roboto","text-uppercase"],["class","custom-progress-bar-new mt-10 primary-border br-2",4,"ngIf"],[1,"f-400","f-12","roboto","mb-10","mt-10"],[1,"f-300","f-12","roboto","mb-0","lh-15"],[1,"f-400","f-12","roboto","mb-0","text-primitive","mt-10"],[1,"f-400","f-12","roboto","mb-0","text-primitive"],[1,"custom-progress-bar-new","mt-10","primary-border","br-2"],[1,"progress-segment","bg-primary",3,"matTooltip"],[1,"f-700","f-32","roboto","mb-8","pt-8","text-primary"],[1,"p-10","mb-8","dynamic-color-lighter","d-flex","align-items-center","br-4"],["width","22","height","22","viewBox","0 0 22 22","xmlns","http://www.w3.org/2000/svg"],["d","M7.6 21.5L5.7 18.3L2.1 17.5L2.45 13.8L0 11L2.45 8.2L2.1 4.5L5.7 3.7L7.6 0.5L11 1.95L14.4 0.5L16.3 3.7L19.9 4.5L19.55 8.2L22 11L19.55 13.8L19.9 17.5L16.3 18.3L14.4 21.5L11 20.05L7.6 21.5ZM8.45 18.95L11 17.85L13.6 18.95L15 16.55L17.75 15.9L17.5 13.1L19.35 11L17.5 8.85L17.75 6.05L15 5.45L13.55 3.05L11 4.15L8.4 3.05L7 5.45L4.25 6.05L4.5 8.85L2.65 11L4.5 13.1L4.25 15.95L7 16.55L8.45 18.95ZM9.95 14.55L15.6 8.9L14.2 7.45L9.95 11.7L7.8 9.6L6.4 11L9.95 14.55Z",1,"svg-primary"],["class","f-500 f-12 roboto text-primary mb-0 ml-10",4,"ngIf"],[1,"f-500","f-12","roboto","text-primary","mb-0","ml-10"],["d","M7.6 21.5L5.7 18.3L2.1 17.5L2.45 13.8L0 11L2.45 8.2L2.1 4.5L5.7 3.7L7.6 0.5L11 1.95L14.4 0.5L16.3 3.7L19.9 4.5L19.55 8.2L22 11L19.55 13.8L19.9 17.5L16.3 18.3L14.4 21.5L11 20.05L7.6 21.5ZM8.45 18.95L11 17.85L13.6 18.95L15 16.55L17.75 15.9L17.5 13.1L19.35 11L17.5 8.85L17.75 6.05L15 5.45L13.55 3.05L11 4.15L8.4 3.05L7 5.45L4.25 6.05L4.5 8.85L2.65 11L4.5 13.1L4.25 15.95L7 16.55L8.45 18.95ZM9.95 14.55L15.6 8.9L14.2 7.45L9.95 11.7L7.8 9.6L6.4 11L9.95 14.55Z","fill","#008FFF",1,"svg-primary"],[1,"p-10","mb-8","dynamic-color","d-flex","align-items-center","br-4"],["src","https://res.cloudinary.com/futurewise/image/upload/v1745564233/myplanner/timer.svg"],[1,"f-500","f-12","roboto","text-danger","mb-0","ml-10"],[1,"d-flex","pr-10","justify-content-between","align-items-center",2,"display","none !important"],[1,"ml-10","mt-30"],["mat-button","",1,"btn-primary","d-flex","justify-content-end","mt-20",3,"disabled","click"],["label","To-do"],["class","max-scroll ",4,"ngIf"],["class","emptyTo-Do mt-40 text-center",4,"ngIf"],[1,"max-scroll"],[1,"pt-12","pb-12"],[1,"col-md-12","p-0","addTo-DO"],["mat-stroked-button","","class","btn-primary pr-8 pl-8 right mr-12",3,"click",4,"ngIf"],[1,"todo-wrraper"],["class","form-control bb-custom","matInput","","autofocus","","placeholder","Enter note",3,"ngModel","ngModelChange","keyup.enter",4,"ngIf"],[1,"todo-btn"],["class","material-icons text-primitive f-20 c-p",3,"click",4,"ngIf"],["class","material-icons f-20 c-p pl-8 text-primitive",3,"click",4,"ngIf"],[1,"radio-buttons-advisor"],["aria-label","Select an option",3,"formControl"],["class","pt-12 pb-12 bb-1 bt-1 ",4,"ngFor","ngForOf"],["mat-stroked-button","",1,"btn-primary","pr-8","pl-8","right","mr-12",3,"click"],["matInput","","autofocus","","placeholder","Enter note",1,"form-control","bb-custom",3,"ngModel","ngModelChange","keyup.enter"],["inputValue",""],[1,"material-icons","text-primitive","f-20","c-p",3,"click"],[1,"material-icons","f-20","c-p","pl-8","text-primitive",3,"click"],[1,"pt-12","pb-12","bb-1","bt-1"],["class","f-16 pl-20 f-500",4,"ngIf"],["class","f-16 f-500 pl-20",4,"ngIf"],[1,"row","align-items-baseline","pt-12","pb-0","my-custom-todo"],["class","w-10 pl-12",4,"ngIf"],[1,"pr-0",3,"ngClass"],["class","text-break c-p f-14 pl-10 roboto f-400 mb-0",3,"click",4,"ngIf"],["class","pb-8 pt-0 pl-10 d-flex align-items-center mob-pl-0",4,"ngIf"],["class","w-20 text-center pl-0 pr-4 d-flex",4,"ngIf"],["class","col-md-2 col-2","style","top: 5px;",4,"ngIf"],[1,"f-16","pl-20","f-500"],[1,"f-16","f-500","pl-20"],[1,"w-10","pl-12"],[3,"value"],[1,"text-break","c-p","f-14","pl-10","roboto","f-400","mb-0",3,"click"],[1,"pb-8","pt-0","pl-10","d-flex","align-items-center","mob-pl-0"],["appAutofocus","","matInput","","placeholder","Enter note",1,"form-control",3,"formControl","autofocus"],[1,"material-icons","f-20","c-p","pl-8","text-primitive","mob-pr-12",3,"click"],[1,"w-20","text-center","pl-0","pr-4","d-flex"],[1,"col-md-2","col-2",2,"top","5px"],[1,"edit-todo-icons","material-icons","c-p","text-primitive","f-20",3,"click"],[1,"emptyTo-Do","mt-40","text-center"],[1,"col-md-12","mt-20","mb-8","pl-0","addTo-DO"],[1,"d-flex","justify-content-center","align-items-center","mt-10","mb-8","c-p",3,"click"],["mat-stroked-button","","class","btn-primary",4,"ngIf"],["class","material-icons f-20 c-p",3,"click",4,"ngIf"],["class","material-icons f-20 c-p pl-8",3,"click",4,"ngIf"],["width","200","height","143","ngSrc","https://res.cloudinary.com/futurewise/image/upload/v1704784612/My-Planner_Whitewashed/to-do-emptyimg-w_2.2-cropped-svg.svg","alt","to do empty img",1,"mt-20","btn-primary"],["mat-stroked-button","",1,"btn-primary"],[1,"material-icons","f-20","c-p",3,"click"],[1,"material-icons","f-20","c-p","pl-8",3,"click"],["label","Calendar"],[3,"dashEvents"],["label","Subscription overview"],["appSkeletonLoading","",1,"row","pt-12","skeletonAnimation",3,"appSkeletonLoading"],[1,"m-0","roboto","f-400","text-primary","pt-8","f-15"],[1,"row","pt-28"],[1,"f-500","roboto","text-black","m-0","pb-10","pl-8"],["class","fundBoxDashboard bg-white slide ",4,"ngFor","ngForOf"],[1,"fundBoxDashboard","bg-white","slide"],["class","m-0 ellipsisClass roboto f-12 f-400",4,"ngIf"],["class","m-0 ellipsisClass roboto f-400 c-p f-12",3,"matTooltip",4,"ngIf"],["class","col-md-4 text-right p-0",4,"ngIf"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592043/myplanner/images/webp/people.webp","height","40","width","40","alt","IFAnow"],[1,"m-0","ellipsisClass","roboto","f-12","f-400"],[1,"m-0","ellipsisClass","roboto","f-400","c-p","f-12",3,"matTooltip"],[1,"col-md-4","text-right","p-0"],["mat-stroked-button","",1,"btn-primary-outline","mw-40","p-0","h-20","lh-20","br-2","f-12","rigtht"],[1,"row","pt-40","today-task","mob-pt-20"],["class","mr-12",4,"ngFor","ngForOf"],[1,"mr-12"],[1,"row","w-226"],[1,"co-12","bg-white","br-4","p-8","w-100"],[1,"m-0","roboto","f-400"],[1,"m-0","roboto","f-400","f-12","text-custom","pt-10"],[1,"m-0","roboto","f-400","f-14","pt-32"],[1,"col-8","pl-0"],["mat-stroked-button","",1,"f-12","btn-primary-outline","lh-12","h-20","pl-4","pr-4","br-2"],[1,"col-4","p-0","text-right"],[1,"m-0","roboto","f-400","f-12","text-custom"],[1,"row","pt-20"],[1,"m-0","roboto","f-400","f-12"],[1,"col-12","pt-10","p-0"],["mode","determinate","id","btn-primary",3,"value"],[1,"row","bb-dashed-grey","pt-12","pb-12"],[1,"col-12","p-0"],[1,"row","pt-8"],[1,"m-0","roboto","f-400","f-14"],[1,"row","pt-40","rejections-advisor","pb-16"],[1,"m-0","f-500","roboto","text-black","pl-8"],["label","Pending & Rejections"],[1,"d-flex","overflow-myfeed","pt-12"],[1,"co-12","bg-white","br-4","p-8","w-100","h-135"],[1,"col-12","p-0","text-right"],["class","text-warning",4,"ngIf"],["class","text-danger ",4,"ngIf"],[1,"col-8","pt-0","pl-0"],[1,"text-warning"],[1,"text-danger"],[1,"m-0","roboto","f-400","f-14","text-warning"],[1,"overflow-myfeed","pt-12"],["mat-stroked-button","",1,"btn-success-outline","h-20","lh-20","br-2","pr-5","pl-5","f-12"],[1,"col-6","pr-0"],[1,"col-6"],[1,"col-12"],[1,"col-7"],[1,"ba-primitive","bg-white","br-4","p-18"],[1,"row","text-center"],[1,"col-12","text-center","pr-0"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592710/myplanner/images/svg/recent-investment-accounts.svg"],[1,"ba-primitive","bg-white","br-4"],[1,"row","text-center","pt-12","pb-12"],["label","Recent online transactions"],["class","text-danger p-2 br-1 borderDanger f-12",4,"ngIf"],[1,"text-danger","p-2","br-1","borderDanger","f-12"],[1,"ba-primitive","br-4","bg-white"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592710/myplanner/images/svg/recent-online-transactions_MF.svg"],["checkbox",""],[1,"row","pt-40"],[1,"m-0","f-500","roboto","text-black","pb-10","pl-8"],["label","Rejections and Reversals"],["class","bg-white ba-primitive br-4 mt-12",4,"ngIf"],[1,"bg-white","ba-primitive","br-4","mt-12"],[1,"row","text-center","pt-12"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592714/myplanner/images/svg/rejections-and-reversals.svg","height","120","width","120","alt","IFAnow"],[1,"col-12","pt-8"],[1,"m-0","f-400","roboto","text-black","f-18","lh-16"],[1,"f-400","roboto","text-custom","mb-0","lh-16"],["matTooltip","Mirae Asset Cash Management Fund - Regular Growth Plan",1,"col-md-12","p-0"],["mat-stroked-button","",1,"btn-danger-outline","h-20","lh-20","br-2","pr-5","pl-5","f-12"],["label","Transaction summary"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592714/myplanner/images/svg/rejections-and-reversals.svg"],["matTooltip","singleTransaction.schemeName",1,"col-md-12","p-0"],["class","c-p","mat-cell","",4,"matCellDef"],["mat-cell","",1,"c-p"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592738/myplanner/images/svg/Subscription-empty-img.svg"],["matColumnDef","report"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","text-primary",4,"matCellDef"],["mat-header-cell",""],["mat-cell","",1,"text-primary"],[1,"bg-white","ba-primitive","br-4"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592711/myplanner/images/svg/reconciliation-img.svg"],[1,"document-bottom-action"],["mat-stroked-button","",1,"btn-primary","z-9",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1624885143/logos/factcheckwhite.svg","alt","IFAnow"]],template:function(e,n){if(1&e){const s=t.EpF();t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h3",4),t._uU(5,"Dashboard"),t.qZA()(),t.TgZ(6,"div",5)(7,"div",6)(8,"nav",7),t.YNc(9,ue,7,1,"div",8),t.qZA()()()()(),t._UZ(10,"app-pricing-footers"),t.TgZ(11,"div",9),t.NdJ("resize",function(){return n.onResize()},!1,t.Jf7),t.TgZ(12,"div",10)(13,"div",11)(14,"div",12),t.YNc(15,he,2,0,"h5",13),t.YNc(16,be,4,2,"div",14),t.qZA(),t.YNc(17,Pe,37,30,"div",15),t.YNc(18,Le,2,0,"h5",16),t.YNc(19,Ee,29,12,"div",17),t.TgZ(20,"div",12),t.YNc(21,Je,2,0,"h5",16),t.YNc(22,Re,4,2,"div",14),t.qZA(),t.YNc(23,ni,45,21,"div",18),t.TgZ(24,"div",12)(25,"h5",19),t._uU(26,"Document overview"),t.qZA(),t.TgZ(27,"div",20),t.YNc(28,oi,1,0,"img",21),t.YNc(29,ai,1,0,"ng-template",null,22,t.W1O),t.qZA()(),t.TgZ(31,"div",23)(32,"div",24)(33,"p",25),t._uU(34,"Family"),t._UZ(35,"br",26),t._uU(36," members"),t.qZA(),t.TgZ(37,"h3",27)(38,"div",28)(39,"div",29),t.YNc(40,ri,2,1,"ng-container",30),t.YNc(41,di,2,0,"ng-template",null,31,t.W1O),t.qZA()()()(),t.TgZ(43,"div",32)(44,"p",33),t._uU(45,"Total "),t._UZ(46,"br",26),t._uU(47," clients"),t.qZA(),t.TgZ(48,"h3",27)(49,"div",28)(50,"div",29),t.YNc(51,li,2,1,"ng-container",30),t.YNc(52,_i,2,0,"ng-template",null,34,t.W1O),t.qZA()()()(),t.TgZ(54,"div",35)(55,"p",33),t._uU(56,"Total "),t._UZ(57,"br",26),t._uU(58," size"),t.qZA(),t.TgZ(59,"h3",27)(60,"div",28)(61,"div",29),t.YNc(62,mi,2,1,"ng-container",30),t.YNc(63,gi,2,0,"ng-template",null,36,t.W1O),t.qZA()()()(),t.TgZ(65,"div",37)(66,"p",33),t._uU(67,"Total documents"),t.qZA(),t.TgZ(68,"h3",27)(69,"div",28)(70,"div",29),t.YNc(71,hi,2,1,"ng-container",30),t.YNc(72,fi,2,0,"ng-template",null,38,t.W1O),t.qZA()()()()()()(),t.TgZ(74,"div",39)(75,"div",40),t.YNc(76,vi,5,2,"div",41),t.YNc(77,Zi,24,8,"div",42),t.YNc(78,Ci,30,2,"div",43),t.YNc(79,yi,1,0,"div",44),t.YNc(80,Gi,2,1,"div",45),t.YNc(81,$i,7,1,"div",46),t.YNc(82,Hi,18,10,"div",44),t.YNc(83,zi,9,2,"div",44),t.YNc(84,gn,5,2,"div",47),t.YNc(85,hn,14,2,"div",48),t.TgZ(86,"div",49,50),t.YNc(88,Un,7,2,"div",51),t.TgZ(89,"div",52)(90,"div",53)(91,"h5",54),t._uU(92,"MF NAV and Factsheet"),t.qZA(),t.TgZ(93,"div",55)(94,"mat-form-field",56)(95,"input",57,58),t.NdJ("input",function(){t.CHM(s);const m=t.MAs(96);return t.KtG(n.searchScheme(m.value))}),t.qZA(),t.TgZ(97,"mat-autocomplete",59,60),t.YNc(99,kn,25,5,"mat-option",61),t.qZA(),t._UZ(100,"img",62),t.qZA()()()(),t.YNc(101,jn,6,2,"div",63),t.YNc(102,Co,39,10,"div",64),t.qZA(),t.TgZ(103,"div",65,66),t.YNc(105,qo,11,5,"div",67),t.YNc(106,Vo,13,5,"div",67),t.YNc(107,la,
110,3,"div",68),t.YNc(108,Da,8,3,"div",68),t.qZA(),t.TgZ(109,"div",69,70),t.YNc(111,Ra,14,4,"div",67),t.YNc(112,as,9,3,"div",71),t.qZA()()(),t.TgZ(113,"div",72),t.YNc(114,Zs,13,9,"div",73),t.YNc(115,Ds,7,1,"div",74),t.TgZ(116,"div",75),t._UZ(117,"div",76),t.TgZ(118,"div",77)(119,"mat-tab-group",78),t.YNc(120,Bs,3,2,"mat-tab",79),t.YNc(121,Ks,3,1,"mat-tab",80),t.qZA()()(),t.TgZ(122,"div",81)(123,"div",82)(124,"div",83)(125,"p",84),t._uU(126,"1-1 Demo"),t.qZA()(),t.TgZ(127,"div")(128,"button",85),t.NdJ("click",function(){return n.scheduleDemo("Request")}),t._uU(129," Request A Demo "),t.qZA()()(),t._UZ(130,"div",86),t.TgZ(131,"div",87)(132,"div"),t._UZ(133,"img",88),t.qZA(),t.TgZ(134,"div"),t._UZ(135,"div",89),t.TgZ(136,"p",90),t._uU(137,"Demo Scheduled"),t.qZA(),t.TgZ(138,"p",91),t._uU(139),t.qZA(),t.TgZ(140,"p",92),t._uU(141),t.qZA(),t.TgZ(142,"p",93),t._uU(143),t.qZA()()(),t.TgZ(144,"div",94)(145,"div",95),t.NdJ("click",function(){return n.joinDemo(n.closestDemos)}),t._uU(146,"Join Demo"),t.qZA(),t.TgZ(147,"div",96),t._UZ(148,"img",97),t.qZA()(),t.TgZ(149,"mat-menu",null,98)(151,"button",99),t.NdJ("click",function(){return n.scheduleDemo("Request")}),t._uU(152,"Request a Demo"),t.qZA(),t.YNc(153,Gs,2,0,"button",100),t.YNc(154,Ws,2,0,"button",100),t.YNc(155,$s,2,0,"button",100),t.qZA()()(),t.TgZ(156,"div",101)(157,"div",102)(158,"div",103)(159,"div",104)(160,"div",105)(161,"p",106),t._uU(162),t.qZA(),t.TgZ(163,"h3",107),t._uU(164),t.qZA()(),t.TgZ(165,"div",108),t._UZ(166,"img",109),t.qZA()(),t.TgZ(167,"mat-tab-group",110)(168,"mat-tab",111)(169,"div",112)(170,"div",113)(171,"div",114)(172,"p",115),t._uU(173,"MF AUM"),t.qZA(),t.TgZ(174,"div",28)(175,"div",29)(176,"h3",116),t.YNc(177,Hs,2,1,"span",117),t.qZA()()()()(),t.TgZ(178,"div",118),t.NdJ("click",function(){return n.goToBackOfficeMob()}),t.TgZ(179,"div",114)(180,"p",115),t._uU(181,"SIP book"),t.qZA(),t.TgZ(182,"div",28)(183,"div",29)(184,"h3",119),t.YNc(185,Vs,2,1,"span",117),t.qZA()()()()(),t.TgZ(186,"div",120),t.NdJ("click",function(){return n.goToPeopleSectionMob()}),t.TgZ(187,"div",114)(188,"p",115),t._uU(189,"Clients"),t.qZA(),t.TgZ(190,"div",28)(191,"div",29)(192,"h3",119),t.YNc(193,zs,2,1,"span",117),t.qZA()()()()(),t.TgZ(194,"div",121)(195,"div",114)(196,"p",115),t._uU(197,"MF Investors"),t.qZA(),t.TgZ(198,"h3",27)(199,"div",28)(200,"div",122),t.YNc(201,Xs,2,1,"span",117),t.qZA()()()()()()(),t.YNc(202,sr,36,19,"mat-tab",123),t.TgZ(203,"mat-tab",124)(204,"div",125)(205,"div",126)(206,"div",114)(207,"p",127),t._uU(208,"Family members"),t.qZA(),t.TgZ(209,"h3",128)(210,"div",28)(211,"div",29),t.YNc(212,rr,2,1,"span",117),t.qZA()()()()(),t.TgZ(213,"div",129)(214,"div",114)(215,"p",115),t._uU(216,"Total clients"),t.qZA(),t.TgZ(217,"h3",128)(218,"div",28)(219,"div",29),t.YNc(220,dr,2,1,"span",117),t.qZA()()()()(),t.TgZ(221,"div",130)(222,"div",114)(223,"p",115),t._uU(224,"Total size"),t.qZA(),t.TgZ(225,"h3",128)(226,"div",28)(227,"div",29),t.YNc(228,cr,4,1,"span",117),t.qZA()()()()(),t.TgZ(229,"div",131)(230,"div",114)(231,"p",115),t._uU(232,"Total documents"),t.qZA(),t.TgZ(233,"h3",128)(234,"div",28)(235,"div",29),t.YNc(236,lr,2,1,"span",117),t.qZA()()()()()()()(),t.YNc(237,yr,7,2,"div",132),t.qZA(),t.TgZ(238,"div",133)(239,"div",134),t.YNc(240,Ar,6,1,"div",135),t.YNc(241,Mr,4,0,"div",136),t.TgZ(242,"mat-tab-group",137),t.YNc(243,Er,4,2,"mat-tab",138),t.TgZ(244,"mat-tab",139),t.YNc(245,Fr,3,1,"div",140),t.YNc(246,Qr,49,1,"div",141),t.YNc(247,Rr,15,0,"div",142),t.YNc(248,Yr,15,0,"div",143),t.qZA(),t.YNc(249,nd,7,4,"mat-tab",144),t.qZA(),t.YNc(250,od,4,0,"div",145),t.TgZ(251,"mat-tab-group",137),t.YNc(252,dd,3,2,"mat-tab",146),t.YNc(253,_d,5,2,"mat-tab",147),t.qZA(),t.TgZ(254,"div",148)(255,"div",149)(256,"div",150)(257,"h5",151),t._uU(258,"Subscription summary"),t.qZA()(),t.TgZ(259,"div",152)(260,"mat-button-toggle-group",153),t.NdJ("change",function(){return n.getSummaryDataDashboard()})("ngModelChange",function(m){return n.subscriptionSummaryStatusFilter=m}),t.TgZ(261,"mat-button-toggle",154),t._uU(262,"NOT STARTED"),t.qZA(),t.TgZ(263,"mat-button-toggle",155),t._uU(264,"UPCOMING"),t.qZA()()()(),t.YNc(265,wd,21,4,"div",141),t.YNc(266,Ad,11,2,"div",156),t.qZA(),t.TgZ(267,"div",157)(268,"div",158)(269,"div",159)(270,"h5",160),t._uU(271,"Latest AUM Reconciliation report"),t.qZA()()(),t.YNc(272,Yd,23,4,"div",141),t.YNc(273,Bd,11,2,"div",161),t.qZA()()()(),t.YNc(274,j
1d,3,0,"div",162),t.qZA()()(),t.TgZ(275,"div",0)(276,"div",163)(277,"div",164)(278,"div",165),t._uU(279,"You are in Privacy Mode, which hides your Dashboard information."),t.qZA(),t.TgZ(280,"div",166),t._uU(281,"To see the data, please click the button below."),t.qZA(),t.TgZ(282,"div",167)(283,"mat-slide-toggle",168),t.NdJ("ngModelChange",function(m){return n.privacyMode=m})("change",function(m){return n.onToggleChange(m)}),t._uU(284),t.qZA()()()()()}if(2&e){const s=t.MAs(30),c=t.MAs(42),m=t.MAs(53),T=t.MAs(64),O=t.MAs(73),R=t.MAs(98),j=t.MAs(150);t.Q6J("hidden",n.privacyMode),t.xp6(9),t.Q6J("ngIf",null==n.closestDemos&&!n.isEnterPrise),t.xp6(6),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.Key_metrics),t.xp6(1),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.Key_metrics),t.xp6(1),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.Key_metrics),t.xp6(1),t.Q6J("ngIf",!1),t.xp6(1),t.Q6J("ngIf",!1),t.xp6(2),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.Subscription_overview),t.xp6(1),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.Subscription_overview),t.xp6(1),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.Subscription_overview),t.xp6(5),t.Q6J("ngIf",!n.documentUnmaskFlag)("ngIfElse",s),t.xp6(3),t.Q6J("appSkeletonLoading",n.docOverviewFlag),t.xp6(8),t.Q6J("ngClass",t.VKq(107,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",n.documentUnmaskFlag)("ngIfElse",c),t.xp6(10),t.Q6J("ngClass",t.VKq(109,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",n.documentUnmaskFlag)("ngIfElse",m),t.xp6(10),t.Q6J("ngClass",t.VKq(111,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",n.documentUnmaskFlag)("ngIfElse",T),t.xp6(8),t.Q6J("ngClass",t.VKq(113,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",n.documentUnmaskFlag)("ngIfElse",O),t.xp6(5),t.Q6J("ngIf",null==n.closestDemos),t.xp6(1),t.Q6J("ngIf",null!=n.closestDemos),t.xp6(1),t.Q6J("ngIf",!n.shouldHideDiv),t.xp6(1),t.Q6J("ngIf",n.widgetloader),t.xp6(1),t.Q6J("ngForOf",n.widgetData),t.xp6(1),t.Q6J("ngIf",(null==n.widgetData?null:n.widgetData.length)>1),t.xp6(1),t.Q6J("ngIf",n.tabsLoaded.portfolioData.isLoading),t.xp6(1),t.Q6J("ngIf",n.tabsLoaded.portfolioData.dataLoaded&&n.tabsLoaded.portfolioData.hasData&&!n.tabsLoaded.portfolioData.isLoading&&n.chartTotal>0),t.xp6(1),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled),t.xp6(1),t.Q6J("ngIf",!(n.tabsLoaded.portfolioData.dataLoaded&&n.tabsLoaded.portfolioData.hasData||n.tabsLoaded.portfolioData.isLoading)),t.xp6(3),t.Q6J("ngIf",n.birthdayAnniList&&n.birthdayAnniList.length>0),t.xp6(7),t.Q6J("matAutocomplete",R),t.xp6(4),t.Q6J("ngForOf",n.navDetails.schemeList),t.xp6(2),t.Q6J("ngIf",n.roleService.activityPermission.subModule.tasks.enabled),t.xp6(1),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled),t.xp6(3),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled&&n.dashboardViewingOption&&0==(null==n.dashboardViewingOption?null:n.dashboardViewingOption.recentInvestmentAccounts)),t.xp6(1),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled&&n.dashboardViewingOption&&(0==(null==n.dashboardViewingOption?null:n.dashboardViewingOption.recentOnlineTransactionsMF)||0==(null==n.dashboardViewingOption?null:n.dashboardViewingOption.transactionPendingRejections))),t.xp6(1),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled),t.xp6(1),t.Q6J("ngIf",n.roleService.transactionPermission.enabled),t.xp6(3),t.Q6J("ngIf",n.roleService.subscriptionPermission.enabled&&n.dashboardViewingOption&&0==(null==n.dashboardViewingOption?null:n.dashboardViewingOption.subscriptionSummary)),t.xp6(1),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.aumreconciliation.enabled&&n.dashboardViewingOption&&0==(null==n.dashboardViewingOption?null:n.dashboardViewingOption.latestAumReconciliationReport)),t.xp6(2),t.Q6J("ngIf",!n.missionloader&&(null==n.selectclubres?null:n.selectclubres.length)>0),t.xp6(1),t.Q6J("ngIf",null==n.closestDemos),t.xp6(1),t.Q6J("ngClass",t.VKq(115,Kd,!n.missionloader&&(null==n.selectclubres?null:n.selectclubres.length)>0)),t.xp6(3),t.Q6J("ngClass",t.VKq(117,Gd,n.enumDataService.PRODUCTION)),t.xp6(1),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.To_do),t.xp6(1),t.Q6J("ngIf",!n.enumDataService.PRODUCTION),t.xp6(7),t.Q6J("disabled",n.enumDataService.Vapt),t.xp6(11),t.hij("",null==n.closestDemos?null:n.closestDemos.moduleName," Demo "),t.xp6(2),t.hij("",null==n.closestDemos?null:n.closestDemos.rmName," "),t.xp6(2),t.AsE(" ",(null==n.closestDemos?null:n.closestDemos.slotStartFrom)+" - "+(null==n.closestDemos?null:n.closestDemos.slotEndTo)," / ",n.showformateDate," "),t.xp6(4),t.Q6J("matMenuTriggerFor",j),t.xp6(4),t.Q6J("disabled",n.enumDataService.Vapt),t.xp6(2),t.Q6J("ngIf",n.rescheduleBtn),t.xp6(1),t.Q6J("ngIf",n.rescheduleBtn),t.xp6(1),t.Q6J("ngIf",n.rescheduleBtn),t.xp6(7),t.hij("",n.greeting," "),t.xp6(2),t.Oqu(n.advisorName),t.xp6(5),t.Q6J("appSkeletonLoading",n.keyMatrixFlag),t.xp6(1),t.Q6J("ngClass",t.VKq(119,pt,n.keyMatrixFlag||n.redirectFlag)),t.xp6(5),t.Q6J("ngClass",t.VKq(121,I,n.keyMatrixFlag)),t.xp6(2),t.Q6J("ngIf",!n.keyMatrixFlag),t.xp6(1),t.Q6J("ngClass",t.VKq(123,pt,n.keyMatrixFlag||n.redirectFlag)),t.xp6(5),t.Q6J("ngClass",t.VKq(125,I,n.keyMatrixFlag)),t.xp6(2),t.Q6J("ngIf",!n.keyMatrixFlag),t.xp6(1),t.Q6J("ngClass",t.VKq(127,pt,n.keyMatrixFlag||n.redirectFlag)),t.xp6(5),t.Q6J("ngClass",t.VKq(129,I,n.keyMatrixFlag)),t.xp6(2),t.Q6J("ngIf",!n.keyMatrixFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(131,I,n.keyMatrixFlag)),t.xp6(1),t.Q6J("ngIf",!n.keyMatrixFlag),t.xp6(1),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.Subscription_overview),t.xp6(2),t.Q6J("appSkeletonLoading",n.docOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(133,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!n.docOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(135,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!n.docOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(137,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!n.docOverviewFlag),t.xp6(7),t.Q6J("ngClass",t.VKq(139,I,n.docOverviewFlag)),t.xp6(1),t.Q6J("ngIf",!n.docOverviewFlag),t.xp6(1),t.Q6J("ngIf",n.birthdayAnniList&&n.birthdayAnniList.length>0),t.xp6(3),t.Q6J("ngIf",n.taskData),t.xp6(1),t.Q6J("ngIf",n.roleService.transactionPermission.enabled),t.xp6(2),t.Q6J("ngIf",n.roleService.transactionPermission.enabled),t.xp6(2),t.Q6J("ngIf",n.LastSevenDaysInvestmentAccounts&&n.LastSevenDaysInvestmentAccounts.length>=0),t.xp6(1),t.Q6J("ngIf",n.investmentAccountFlag),t.xp6(1),t.Q6J("ngIf",n.LastSevenDaysInvestmentAccounts&&0==n.LastSevenDaysInvestmentAccounts.length&&!n.credentialsAdded),t.xp6(1),t.Q6J("ngIf",n.LastSevenDaysInvestmentAccounts&&0==n.LastSevenDaysInvestmentAccounts.length&&n.credentialsAdded),t.xp6(1),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled),t.xp6(1),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled),t.xp6(2),t.Q6J("ngIf",n.roleService.backofficePermission.subModule.mis.enabled),t.xp6(1),t.Q6J("ngIf",n.roleService.transactionPermission.enabled),t.xp6(7),t.Q6J("ngModel",n.subscriptionSummaryStatusFilter),t.xp6(5),t.Q6J("ngIf",(null==n.dashBoardSummary?null:n.dashBoardSummary.length)>0),t.xp6(1),t.Q6J("ngIf",0==(null==n.dashBoardSummary?null:n.dashBoardSummary.length)),t.xp6(6),t.Q6J("ngIf",(null==n.aumReconList?null:n.aumReconList.length)>0),t.xp6(1),t.Q6J("ngIf",0==(null==n.aumReconList?null:n.aumReconList.length)),t.xp6(1),t.Q6J("ngIf",n.roleService.dashboardPermission.dashboardCapability.To_do),t.xp6(1),t.Q6J("hidden",!n.privacyMode),t.xp6(8),t.Q6J("ngModel",n.privacyMode),t.xp6(1),t.hij(" ",n.privacyMode?"Turn off":"Turn on"," Privacy Mode ")}},dependencies:[et.mk,et.sg,et.O5,et.PC,ht.XC,ht.ZL,Kt.ey,Gt.lW,ft.A9,ft.Yi,Wt.oG,$t.Hw,_.KE,_.R9,h.Nt,d.VK,d.OP,d.p6,p.pW,u.VQ,u.U0,b.Rr,F.BZ,F.fO,F.as,F.w1,F.Dz,F.nj,F.ge,F.ev,F.XQ,F.Gk,k.SP,k.uX,k.BU,q.gM,f.Fj,f.JJ,f.On,f.oH,Q.k,E.d,C.R,_t.rH,_t.Od,ot.x,dt.B,et.Zd,S.Jj,et.JJ,et.uU,_e.Us],styles:['@charset "UTF-8";.noDataFound[_ngcontent-%COMP%]{width:100%;text-align:center;padding:10px}
1.noDataFound[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:200px}table[_ngcontent-%COMP%], th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{border-collapse:collapse}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:5px}.noTransactionFound[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:138px}.noInvAccFound[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px}.pointNumber[_ngcontent-%COMP%]{width:10px;height:10px;display:inline-block;border-radius:50%;margin-right:8px}.sticky-top[_ngcontent-%COMP%]{position:sticky;top:140px;z-index:1020}.max-scroll[_ngcontent-%COMP%]{height:590px;overflow-y:auto}.max-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.max-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#F1F1F1}.max-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}#piechartMutualFund[_ngcontent-%COMP%]{height:100px;width:100px}.addTo-DO[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{border:transparent!important}.height180[_ngcontent-%COMP%]{height:180px;margin:20px auto}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%]{position:relative}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{background-color:#e7e7e7;width:100%}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after{position:absolute;transform:translateY(-50%);top:50%;left:0;content:"";display:block;width:100%;height:24px;background-image:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 80%);background-size:100px 24px;background-position:-10px 0;background-repeat:no-repeat;animation:loading 1s infinite}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar120[_ngcontent-%COMP%]{background-color:#e7e7e7;width:120px}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar120[_ngcontent-%COMP%]:after{position:absolute;transform:translateY(-50%);top:50%;left:0;content:"";display:block;width:100%;height:120px;background-image:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 80%);background-size:100px 120px;background-position:-10px 0;background-repeat:no-repeat;animation:loading 1s infinite}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar180[_ngcontent-%COMP%]{background-color:#e7e7e7;width:180px;border-radius:50%}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar180[_ngcontent-%COMP%]:after{position:absolute;transform:translateY(-50%);top:50%;left:0;content:"";display:block;width:100%;height:180px;background-image:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 80%);background-size:100px 180px;background-position:-10px 0;background-repeat:no-repeat;animation:loading 1s infinite}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar200[_ngcontent-%COMP%]{background-color:#e7e7e7;width:200px;border-radius:50%}.skeletonAnimation[_ngcontent-%COMP%] .relClass[_ngcontent-%COMP%] .bar200[_ngcontent-%COMP%]:after{position:absolute;transform:translateY(-50%);top:50%;left:0;content:"";display:block;width:100%;height:200px;background-image:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 80%);background-size:100px 200px;background-position:-10px 0;background-repeat:no-repeat;animation:loading 1s infinite}.height24[_ngcontent-%COMP%]{height:24px;margin-bottom:6px}.height300[_ngcontent-%COMP%]{height:250px}.width20[_ngcontent-%COMP%]{width:20%}.btn40[_ngcontent-%COMP%]{height:40px}.dasBoradBox[_ngcontent-%COMP%]{width:100%}.fundBoxDashboard[_ngcontent-%COMP%]{min-width:180px;height:125px;border-radius:10px;padding:10px;border:1px solid #D9DEE1;margin-right:10px}.rightBorder[_ngcontent-%COMP%]{border-right:.5px dashed #83959D}.ellipsisClass[_ngcontent-%COMP%]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pendingClass[_ngcontent-%COMP%]{background:#FDAF40}.rejectionsClass[_ngcontent-%COMP%]{background:#FF7272}.fundBoxDashboard_loader[_ngcontent-%COMP%]{min-width:155px;height:102px;border-radius:10px;padding:10px;border:1px solid #D9DEE1;margin-right:10px}.height40[_ngcontent-%COMP%]{height:40px;width:100%!important;border-radius:50%}.investmentBox[_ngcontent-%COMP%]{width:230px!important;margin-right:15px;padding:10px 0}.fundBox[_ngcontent-%COMP%]{min-width:240px;height:140px;border-radius:4px;padding:10px;border:1px solid #D9DEE1;margin-right:20px}.shadowBox[_ngcontent-%COMP%]{background-color:#fff;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.openGuideBox[_ngcontent-%COMP%]{border:1px solid #FF9F00;border-radius:4px}.openGuideBox[_ngcontent-%COMP%] .orangeBox[_ngcontent-%COMP%]{background:linear-gradient(180deg,rgba(253,175,64,.79) 12.92%,#FDAF40 99.1%,rgba(253,175,64,.890604) 99.11%);padding:20px}.openGuideBox[_ngcontent-%COMP%] .orangeBox[_ngcontent-%COMP%] .openGuideBtn[_ngcontent-%COMP%]{width:164px;
1height:34px;padding:0!important;color:#ff9f00;font-size:14px;background:#fff;border-radius:4px!important}.todo-wrraper[_ngcontent-%COMP%]{position:relative}.todo-wrraper[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{padding-right:60px!important}.todo-wrraper[_ngcontent-%COMP%] .todo-btn[_ngcontent-%COMP%]{position:absolute;top:10px;right:0}.bg-4-todo[_ngcontent-%COMP%]{padding-top:25px;top:126px}.bottom-fixed-firstfooter[_ngcontent-%COMP%]{background-color:#2fd17c;position:fixed;bottom:0;align-items:center;z-index:9;width:100%}.bottom-fixed-firstfooter[_ngcontent-%COMP%] .close-icons-pgim[_ngcontent-%COMP%]{position:absolute;top:11px;left:185px;cursor:pointer}.bottom-fixed-secondfooter[_ngcontent-%COMP%]{background-color:#ffe050;position:fixed;bottom:0;align-items:center;z-index:9;width:100%}.bottom-fixed-secondfooter[_ngcontent-%COMP%] .close-icons-pgim[_ngcontent-%COMP%]{position:absolute;top:11px;left:185px;cursor:pointer}.bottom-fixed-thirdfooter[_ngcontent-%COMP%]{background-color:#ffc350;position:fixed;bottom:0;align-items:center;z-index:9;width:100%}.bottom-fixed-thirdfooter[_ngcontent-%COMP%] .close-icons-pgim[_ngcontent-%COMP%]{position:absolute;top:11px;left:185px;cursor:pointer}.emptyTo-Do[_ngcontent-%COMP%]{padding-left:12px;padding-right:12px}.h-160[_ngcontent-%COMP%]{height:160px!important}.dashboard-mobile-layout[_ngcontent-%COMP%]{display:none}@media (max-width: 1024px){#ui-dashboard-advisor.d-none-768[_ngcontent-%COMP%]{display:flex!important}.dashboard-mobile-layout.d-none[_ngcontent-%COMP%]{display:block!important}}@media (max-width: 575px){.dashboard-mobile-layout[_ngcontent-%COMP%] .h-90[_ngcontent-%COMP%]{height:auto!important;min-height:100px}.dashboard-mobile-layout[_ngcontent-%COMP%] .text-primitive.f-12[_ngcontent-%COMP%]{line-height:16px!important;white-space:normal!important}.dashboard-mobile-layout[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{line-height:20px}}@media (max-width: 768px){[_nghost-%COMP%] .dashboard-mobile-layout #common-tabs .mat-tab-header{min-height:48px;margin-bottom:10px}[_nghost-%COMP%] .dashboard-mobile-layout #common-tabs .mat-tab-label{min-height:48px;height:auto!important;padding-top:6px;padding-bottom:6px;align-items:center}[_nghost-%COMP%] .dashboard-mobile-layout #common-tabs .mat-tab-label-content{white-space:normal;text-align:center;line-height:16px}[_nghost-%COMP%] .dashboard-mobile-layout #common-tabs .mat-tab-body-wrapper{margin-top:10px}}@media (max-width: 768px){.rightBorder[_ngcontent-%COMP%]{border:0px!important}.btn40[_ngcontent-%COMP%]{display:none!important}}.flex-item[_ngcontent-%COMP%]{display:flex;align-items:center}.skeleton-loader-box[_ngcontent-%COMP%]{width:100%;padding:20px;background-color:#f0f0f0;border-radius:10px;display:flex;justify-content:center;align-items:center;overflow:hidden}.skeleton-loader[_ngcontent-%COMP%]{width:100%;max-width:400px;padding:20px;background-color:#fff;border-radius:8px;box-shadow:0 4px 8px #0000001a;display:flex;justify-content:center;align-items:center}.skeleton-box[_ngcontent-%COMP%]{width:100%;height:150px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);animation:loading 1.5s infinite;border-radius:8px}@keyframes loading{0%{background-position:-200px 0}to{background-position:200px 0}}.fade-in[_ngcontent-%COMP%]{animation:fadeIn 1s ease-in}.fade-out[_ngcontent-%COMP%]{animation:fadeOut 1s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100vh}.centered-div[_ngcontent-%COMP%]{padding:20px} .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#fafafa!important} .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#008fff!important}.custom-progress-bar-new[_ngcontent-%COMP%]{display:flex;height:20px;background-color:#f1f1f1;overflow:hidden}.progress-segment[_ngcontent-%COMP%]{height:100%;transition:width .5s ease-in-out}.bl-half[_ngcontent-%COMP%]{border-left:.5px dashed #83959D}.flex-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.div1[_ngcontent-%COMP%]{overflow:hidden;max-height:0;animation:expand 3s ease forwards}@keyframes expand{0%{max-height:0}to{max-height:500px}}.absolute[_ngcontent-%COMP%]{position:absolute;top:9px;left:5px}.relative[_ngcontent-%COMP%]{position:relative}
1 .mat-option.option-panel{height:auto!important;padding:0!important;align-items:flex-start!important;line-height:43px!important} .pt .mat-form-field-appearance-standard .mat-form-field-flex{padding-top:0!important}@media (max-width: 768px){#keyMetrics[_ngcontent-%COMP%] .text-primitive[_ngcontent-%COMP%]{white-space:normal!important;word-break:break-word}#keyMetrics[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{line-height:20px}}#keyMetrics[_ngcontent-%COMP%] [style*=height][_ngcontent-%COMP%]{height:auto!important}#keyMetrics[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{overflow:visible}#keyMetrics[_ngcontent-%COMP%] .col-md-6[_ngcontent-%COMP%]{display:block}'],data:{animation:[(0,tt.X$)("slideUp",[(0,tt.eR)(":enter",[(0,tt.oB)({transform:"translateY(-100%)",opacity:0}),(0,tt.jt)("600ms ease-out",(0,tt.oB)({transform:"translateY(0)",opacity:1}))]),(0,tt.eR)(":leave",[(0,tt.jt)("600ms ease-in",(0,tt.oB)({transform:"translateY(-100%)",opacity:0}))])])]}}),i})()},71134:(lt,G,l)=>{l.r(G),l.d(G,{DashboardModule:()=>B});var g=l(36895),y=l(14528),Y=l(24006),F=l(49028),r=l(17806),Z=l(6682),J=l(10049),W=l(5029),o=l(94650);let B=(()=>{class w{constructor(){}}return w.\u0275fac=function(K){return new(K||w)},w.\u0275mod=o.oAB({type:w}),w.\u0275inj=o.cJS({providers:[Z.s],imports:[g.ez,y.q,Y.u5,Y.UX,F.Q,r.I,J.Z,W.SD]}),w})()},33476:(lt,G,l)=>{l.d(G,{F:()=>$t});var g=l(6682),y=l(73799),Y=l(18825),F=l(70661),r=l(65730),Z=l(41074),J=l(37340),W=l(87051),o=l(94650),B=l(65938),w=l(34793),it=l(23767),K=l(36895),st=l(97392),rt=l(73162),X=l(3848),P=l(10266),$=l(29322);const x=["matTabGroup"];function f(_,h){if(1&_&&(o.TgZ(0,"div")(1,"p",33),o._uU(2,"CREDIT POINTS"),o._UZ(3,"br"),o._uU(4,"BALANCE"),o.qZA(),o.TgZ(5,"p",34),o._uU(6),o.ALo(7,"number"),o.qZA()()),2&_){const d=o.oxw(2);let p;o.xp6(6),o.hij(" ",o.xi3(7,1,null!==(p=d.credits)&&void 0!==p?p:0,"1.0-0"),"")}}function N(_,h){if(1&_&&(o.TgZ(0,"div")(1,"p",35),o._uU(2,"POINTS EARNED"),o.qZA(),o.TgZ(3,"p",34),o._uU(4),o.qZA()()),2&_){const d=o.oxw(2);let p;o.xp6(4),o.Oqu(null!==(p=d.missions[0].totalPointsEarned)&&void 0!==p?p:0)}}function A(_,h){if(1&_&&(o.TgZ(0,"div")(1,"p",36),o._uU(2),o.ALo(3,"indianNumberMask"),o.ALo(4,"date"),o.qZA()()),2&_){const d=o.oxw(2);o.xp6(2),o.AsE("Average Billing Amount : \u20b9",null!=d.data&&null!=d.data.billdata&&null!=d.data.billdata.billEstimateData&&d.data.billdata.billEstimateData.grossPayable?o.Dn7(3,2,d.data.billdata.billEstimateData.grossPayable,0,0):"0","| Billing Cycle: ",null!=d.data&&null!=d.data.billdata&&d.data.billdata.endDatebilling?o.xi3(4,6,d.data.billdata.endDatebilling,"dd"):"0"," of every month")}}function M(_,h){1&_&&o._UZ(0,"span",45)}function v(_,h){if(1&_&&(o.TgZ(0,"p",43),o._uU(1),o.YNc(2,M,1,0,"span",44),o.qZA()),2&_){const d=o.oxw(2).$implicit,p=o.oxw(2);o.xp6(1),o.AsE("",d.completedCount," / ",d.questionMaster.length," "),o.xp6(1),o.Q6J("ngIf",p.hasCollectTask(d))}}function S(_,h){1&_&&(o.TgZ(0,"p",46),o._UZ(1,"img",47),o.qZA())}function D(_,h){if(1&_&&(o.TgZ(0,"div")(1,"p",40),o._uU(2),o.qZA(),o.YNc(3,v,3,3,"p",41),o.YNc(4,S,2,0,"p",42),o.qZA()),2&_){const d=o.oxw().$implicit,p=o.oxw(2);o.xp6(1),o.Q6J("matTooltip",d.isTabDisabled?p.getUnlockMessage(d.missionStartDate):""),o.xp6(1),o.hij(" Mission ",d.missionNumberExternal," "),o.xp6(1),o.Q6J("ngIf",!d.isTabDisabled),o.xp6(1),o.Q6J("ngIf",d.isTabDisabled)}}function L(_,h){1&_&&o._UZ(0,"span",45)}function nt(_,h){if(1&_&&(o.TgZ(0,"p",43),o._uU(1),o.YNc(2,L,1,0,"span",44),o.qZA()),2&_){const d=o.oxw(2).$implicit,p=o.oxw(2);o.xp6(1),o.AsE("",d.completedCount," / ",d.questionMaster.length," "),o.xp6(1),o.Q6J("ngIf",p.hasCollectTask(d))}}function xt(_,h){1&_&&(o.TgZ(0,"p",46),o._UZ(1,"img",47),o.qZA())}function Tt(_,h){if(1&_&&(o.TgZ(0,"div")(1,"p",40),o._uU(2),o.qZA(),o.YNc(3,nt,3,3,"p",48),o.YNc(4,xt,2,0,"p",42),o.qZA()),2&_){const d=o.oxw().$implicit,p=o.oxw(2);o.xp6(1),o.Q6J("matTooltip",d.isTabDisabled?p.getUnlockMessage(d.missionStartDate):""),o.xp6(1),o.hij(" Mission ",d.missionNumberExternal," "),o.xp6(1),o.Q6J("ngIf",!d.isTabDisabled),o.xp6(1),o.Q6J("ngIf",d.isTabDisabled)}}function Zt(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"div",59),o.NdJ("mouseenter",function(){o.CHM(d);const u=o.oxw(5);return o.KtG(u.onHoverIn())})("mouseleave",function(){o.CHM(d);const u=o.oxw(5);return o.KtG(u.onHoverOut())}),o.TgZ(1,"div",60),o._UZ(2,"img",61),o.qZA(),o.TgZ(3,"div",62),o._uU(4),o.qZA(),o.TgZ(5,"div",63),o._UZ(6,"img",64),o.TgZ(7,"p",65),o._uU(8),o.qZA()(),o.TgZ(9,"div",66)(10,"button",67),o.NdJ("click",function(){o.CHM(d);const u=o.oxw().$implicit,b=o.oxw(4);return o.KtG(b.checkcomplete(u))}),o._uU(11),o.qZA()()()}if(2&_){const d=o.oxw(),p=d.index,u=d.$implicit,b=o.oxw(4);o.ekj("fade-in",p===b.currentIndex)("fade-out",p!==b.currentIndex),o.xp6(4),o.hij(" ",u.questionText," "),o.xp6(4),o.hij("",u.daysleft," Days Left"),o.xp6(3),o.Oqu(u.buttonTitle)}}function Dt(_,h){if(1&_&&(o.TgZ(0,"div",57),o.YNc(1,Zt,12,7,"div",58),o.qZA()),2&_){const d=h.index,p=o.oxw(4);o.xp6(1),o.Q6J("ngIf",d===p.currentIndex)}}function Ct(_,h){if(1&_&&(o.ynx(0),o.TgZ(1,"span"),o._uU(2," . "),o.qZA(),o.BQk()),2&_){const d=h.index,p=o.oxw(5);o.xp6(1),o.ekj("text-primary",d===p.currentIndex)("text-primitive",d!==p.currentIndex)}}function yt(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"div",68)(1,"mat-icon",69),o.NdJ("click",function(){o.CHM(d);const u=o.oxw(4);return o.KtG(u.showPrevCard())}),o._uU(2,"keyboard_arrow_left"),o.qZA(),o.TgZ(3,"p",70),o.YNc(4,Ct,3,4,"ng-container",71),o.qZA(),o.TgZ(5,"mat-icon",69),o.NdJ("click",function(){o.CHM(d);const u=o.oxw(4);return o.KtG(u.showNextCard())}),o._uU(6,"keyboard_arrow_right"),o.qZA()()}if(2&_){const d=o.oxw(4);o.xp6(4),o.Q6J("ngForOf",d.taskendingsoon)}}function wt(_,h){1&_&&o._UZ(0,"div",72)}function At(_,h){1&_&&o._UZ(0,"img",94)}function Mt(_,h){if(1&_&&(o.TgZ(0,"p",95),o._uU(1),o.qZA()),2&_){const d=o.oxw().$implicit;o.xp6(1),o.hij(" ",0===d.daysleft?"Expiring Today":1===d.daysleft?"1 Day Left":d.daysleft+" Days Left"," ")}}function It(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"mat-tab")(1,"div",78)(2,"div",79)(3,"div",80),o._UZ(4,"img",81),o.qZA(),o.TgZ(5,"div",82)(6,"div",83)(7,"div",84)(8,"div",85)(9,"div",66)(10,"p",86),o._uU(11),o.qZA()()(),o.TgZ(12,"div",85)(13,"div",87),o._UZ(14,"img",88),o.TgZ(15,"p",89),o._uU(16),o.qZA(),o.YNc(17,At,1,0,"img",90),o.YNc(18,Mt,2,1,"p",91),o.qZA()()(),o.TgZ(19,"div",92)(20,"button",93),o.NdJ("click",function(){const b=o.CHM(d).$implicit,k=o.oxw(5);return o.KtG(k.checkcomplete(b))}),o._uU(21),o.qZA()()()()()()()}if(2&_){const d=h.$implicit;o.xp6(11),o.hij(" ",d.questionText," "),o.xp6(5),o.Oqu(d.points),o.xp6(1),o.Q6J("ngIf",-1!==d.daysleft),o.xp6(1),o.Q6J("ngIf",-1!==d.daysleft),o.xp6(3),o.Oqu(d.buttonTitle)}}function St(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"div",96),o.NdJ("click",function(){const b=o.CHM(d).index,k=o.oxw(5);return o.KtG(k.goToNextTab(b))}),o.qZA()}if(2&_){const d=h.index,p=o.oxw(5);
1o.ekj("active",d===p.selectedTabIndex1)}}function Ut(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"div",73),o.NdJ("mouseenter",function(){o.CHM(d);const u=o.oxw(4);return o.KtG(u.onHoverIn2())})("mouseleave",function(){o.CHM(d);const u=o.oxw(4);return o.KtG(u.onHoverOut2())}),o.TgZ(1,"mat-tab-group",74,75),o.NdJ("selectedIndexChange",function(u){o.CHM(d);const b=o.oxw(4);return o.KtG(b.selectedTabIndex1=u)}),o.YNc(3,It,22,5,"mat-tab",71),o.qZA(),o.TgZ(4,"div",76),o.YNc(5,St,1,2,"div",77),o.qZA()()}if(2&_){const d=o.oxw(4);o.xp6(1),o.Q6J("selectedIndex",d.selectedTabIndex1),o.xp6(2),o.Q6J("ngForOf",d.taskendingsoon),o.xp6(2),o.Q6J("ngForOf",d.taskendingsoon)}}function kt(_,h){1&_&&o._UZ(0,"div",97)}function Ot(_,h){1&_&&o._UZ(0,"lottie-player",113,114),2&_&&o.Q6J("src","https://lottie.host/f1e94a13-4b82-4187-8344-c1da4b962d5e/ADvQVJbd6g.json ")}function Nt(_,h){if(1&_&&o._UZ(0,"img",115),2&_){const d=o.oxw().$implicit,p=o.oxw(5);o.Q6J("src",p.questionImage[d.pointsCollected],o.LSH)}}const qt=function(_){return{clickable:_}};function Pt(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"span",116),o.NdJ("click",function(){o.CHM(d);const u=o.oxw().$implicit,b=o.oxw(5);return o.KtG(b.handleKnowMoreAction(u))}),o._uU(1),o.qZA()}if(2&_){const d=o.oxw().$implicit;o.Q6J("matTooltip",1===d.termsConditionsType?d.termsConditionsDesc:"")("ngClass",o.VKq(3,qt,2===d.termsConditionsType||3===d.termsConditionsType)),o.xp6(1),o.hij(" ",d.termsConditionsTitle," ")}}function Lt(_,h){1&_&&(o.TgZ(0,"div")(1,"button",117),o._uU(2,"Complete Goal"),o.qZA()())}function Et(_,h){1&_&&(o.TgZ(0,"div",87),o._UZ(1,"img",118),o.TgZ(2,"p",119),o._uU(3,"Expired"),o.qZA()())}function Jt(_,h){1&_&&o._UZ(0,"img",94)}function Ft(_,h){if(1&_&&(o.TgZ(0,"p",95),o._uU(1),o.qZA()),2&_){const d=o.oxw().$implicit;o.xp6(1),o.hij(" ",0===d.daysleft?"Expiring Today":1===d.daysleft?"1 Day Left":d.daysleft+" Days Left"," ")}}function tt(_,h){1&_&&(o.TgZ(0,"div")(1,"div",120),o._uU(2," Completed"),o.qZA()())}const gt=function(_,h){return{"text-primitive b bg-white":_,"text-primary primary-border bg-white ":h}};function Qt(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"button",121),o.NdJ("click",function(){o.CHM(d);const u=o.oxw().$implicit,b=o.oxw(5);return o.KtG(b.checkcomplete(u))}),o._uU(1),o.qZA()}if(2&_){const d=o.oxw().$implicit;o.Q6J("ngClass",o.WLB(4,gt,d.Expired,!d.Expired))("disabled",d.Expired)("matTooltip",1===d.gamificationRoleFeaturesMasterId?d.termsConditionsDesc:""),o.xp6(1),o.Oqu(d.buttonTitle)}}function t(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"button",122),o.NdJ("click",function(){o.CHM(d);const u=o.oxw().$implicit,b=o.oxw(3).$implicit,k=o.oxw(2);return o.KtG(k.collect(b,u))}),o._UZ(1,"img",123),o.TgZ(2,"span",124),o._uU(3," \xa0COLLECT"),o.qZA(),o._UZ(4,"lottie-player",125),o.qZA()}if(2&_){const d=o.oxw().$implicit;o.Q6J("disabled",d.buttonDisabled)}}function ut(_,h){1&_&&(o.TgZ(0,"div",126),o._uU(1," Completed"),o.qZA())}function Rt(_,h){1&_&&(o.TgZ(0,"div",127),o._UZ(1,"img",88),o.TgZ(2,"p",128),o._uU(3,"2000"),o.qZA(),o.TgZ(4,"p",129),o._uU(5,"Earned"),o.qZA(),o.TgZ(6,"p",128),o._uU(7,"\u20b92Lac"),o.qZA(),o.TgZ(8,"p",129),o._uU(9,"Invested"),o.qZA(),o.TgZ(10,"p",128),o._uU(11,"\u20b92Lac"),o.qZA(),o.TgZ(12,"p",129),o._uU(13,"Max"),o.qZA()())}function _t(_,h){if(1&_&&(o.TgZ(0,"div",130),o._UZ(1,"mat-progress-bar",131),o.TgZ(2,"div",132),o._uU(3),o.qZA()()),2&_){const d=o.oxw().$implicit;o.xp6(1),o.Q6J("value",d.progressValue),o.xp6(2),o.AsE(" ",d.attemptedQuestions," /",d.totalQuestions," ")}}function Yt(_,h){if(1&_&&(o.TgZ(0,"div",100,101)(2,"div",85)(3,"div",79)(4,"div",80),o.YNc(5,Ot,2,1,"lottie-player",102),o.YNc(6,Nt,1,1,"ng-template",103),o.qZA(),o.TgZ(7,"div",82)(8,"div",83)(9,"div",104)(10,"div",85)(11,"div",66)(12,"p",86),o._uU(13),o.YNc(14,Pt,2,5,"span",105),o.qZA()(),o.YNc(15,Lt,3,0,"div",13),o.qZA(),o.TgZ(16,"div",85)(17,"div",87),o._UZ(18,"img",88),o.TgZ(19,"p",89),o._uU(20),o.qZA(),o.YNc(21,Et,4,0,"div",106),o.YNc(22,Jt,1,0,"img",90),o.YNc(23,Ft,2,1,"p",91),o.qZA(),o.YNc(24,tt,3,0,"div",13),o.qZA()(),o.TgZ(25,"div",107),o.YNc(26,Qt,2,7,"button",108),o.YNc(27,t,5,1,"button",109),o.YNc(28,ut,2,0,"div",110),o.qZA()(),o.YNc(29,Rt,14,0,"div",111),o.YNc(30,_t,4,3,"div",112),o.qZA()()(),o._UZ(31,"div",97),o.qZA()),2&_){const d=h.$implicit,p=o.oxw(5);o.ekj("highlight",p.highlightedQuestionId===d.id),o.Q6J("id","question-"+d.id),o.xp6(5),o.Q6J("ngIf",d.isAnimating),o.xp6(1),o.Q6J("ngIf",!d.isAnimating),o.xp6(7),o.hij(" ",d.questionText," "),o.xp6(1),o.Q6J("ngIf",1===d.termsConditionsType||2===d.termsConditionsType||3===d.termsConditionsType),o.xp6(1),o.Q6J("ngIf",!1),o.xp6(5),o.Oqu(d.points),o.xp6(1),o.Q6J("ngIf",d.Expired),o.xp6(1),o.Q6J("ngIf",-1!=d.daysleft),o.xp6(1),o.Q6J("ngIf",-1!==d.daysleft),o.xp6(1),o.Q6J("ngIf",!1),o.xp6(1),o.Q6J("ngSwitch",d.taskStatus),o.xp6(1),o.Q6J("ngSwitchCase","Complete Now"),o.xp6(1),o.Q6J("ngSwitchCase","COLLECT"),o.xp6(1),o.Q6J("ngSwitchCase","Completed"),o.xp6(1),o.Q6J("ngIf",!1),o.xp6(1),o.Q6J("ngIf",d.totalQuestions>0&&1!=d.totalQuestions)}}function et(_,h){if(1&_&&(o.TgZ(0,"div",98),o.YNc(1,Yt,32,19,"div",99),o.qZA()),2&_){const d=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngForOf",d.questionMaster)}}function Bt(_,h){if(1&_&&(o.TgZ(0,"div")(1,"div",49),o.YNc(2,Dt,2,1,"div",50),o.qZA(),o.TgZ(3,"div",51),o.YNc(4,yt,7,1,"div",52),o.YNc(5,wt,1,0,"div",53),o.qZA(),o.YNc(6,Ut,6,3,"div",54),o.YNc(7,kt,1,0,"div",55),o.YNc(8,et,2,1,"div",56),o.qZA()),2&_){const d=o.oxw().$implicit,p=o.oxw(2);o.xp6(2),o.Q6J("ngForOf",p.taskendingsoon),o.xp6(2),o.Q6J("ngIf",(null==p.taskendingsoon?null:p.taskendingsoon.length)>1),o.xp6(1),o.Q6J("ngIf",(null==p.taskendingsoon?null:p.taskendingsoon.length)>0),o.xp6(1),o.Q6J("ngIf",(null==p.taskendingsoon?null:p.taskendingsoon.length)>0),o.xp6(1),o.Q6J("ngIf",(null==p.taskendingsoon?null:p.taskendingsoon.length)>0),o.xp6(1),o.Q6J("ngIf",!p.isTabDisabled(d.missionStartDate,d))}}function jt(_,h){1&_&&(o.TgZ(0,"mat-tab",37),o.YNc(1,D,5,4,"ng-template",38),o.YNc(2,Tt,5,4,"ng-template",38),o.YNc(3,Bt,9,6,"ng-template",39),o.qZA()),2&_&&o.Q6J("disabled",h.$implicit.isTabDisabled)}function ht(_,h){if(1&_){const d=o.EpF();o.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8)(4,"p",9),o._uU(5,"Earn More with IFANOW"),o.qZA(),o.TgZ(6,"p",10),o._uU(7,"Earn credit points by participating in Rewards program"),o.qZA()(),o.TgZ(8,"div",11)(9,"div",12),o.YNc(10,f,8,4,"div",13),o.YNc(11,N,5,1,"div",13),o.qZA()()(),o.TgZ(12,"div",14)(13,"div")(14,"p",15),o._uU(15),o.ALo(16,"number"),o.qZA()(),o.YNc(17,A,5,9,"div",13),o.qZA(),o.TgZ(18,"div",16)(19,"div",17),o._UZ(20,"div",18)(21,"div",19)(22,"div",20),o.qZA(),o.TgZ(23,"div",21)(24,"div",22)(25,"p",23),o._UZ(26,"img",24),o._uU(27,"Points earned"),o.qZA(),o.TgZ(28,"p",15),o._uU(29),o.qZA()(),o.TgZ(30,"div",22)(31,"p",23),o._UZ(32,"img",25),o._uU(33,"Points yet to collect "),o.qZA(),o.TgZ(34,"p",15),o._uU(35),o.qZA()(),o.TgZ(36,"div",26)(37,"p",23),o._UZ(38,"img",27),o._uU(39,"Ma
1x You Can Earn"),o.qZA(),o.TgZ(40,"p",15),o._uU(41),o.qZA()()()(),o._UZ(42,"div",28),o.TgZ(43,"div",29)(44,"mat-tab-group",30),o.NdJ("selectedIndexChange",function(u){o.CHM(d);const b=o.oxw();return o.KtG(b.selectedTabIndex=u)}),o.YNc(45,jt,4,1,"mat-tab",31),o._UZ(46,"mat-tab",32),o.qZA()()()()}if(2&_){const d=o.oxw();let p;o.xp6(10),o.Q6J("ngIf",null==d.data?null:d.data.flag),o.xp6(1),o.Q6J("ngIf",!(null!=d.data&&d.data.flag)),o.xp6(4),o.hij("Current progress:",o.xi3(16,15,null!==(p=null==d.data?null:d.data.currentprogress)&&void 0!==p?p:0,"1.0-2"),"%"),o.xp6(2),o.Q6J("ngIf",(null==d.data||null==d.data.billdata?null:d.data.billdata.isMorethen7days)&&d.data.flag),o.xp6(3),o.Udp("width",d.missions[0].collectedPercentage,"%"),o.xp6(1),o.Udp("width",d.missions[0].collectiblePercentage,"%"),o.xp6(1),o.Udp("width",d.missions[0].notcollectiblePercentage,"%"),o.xp6(7),o.Oqu(d.missions[0].totalPointsEarned),o.xp6(6),o.Oqu(d.missions[0].totalPointsYet),o.xp6(6),o.Oqu(d.missions[0].maxpointstotal),o.xp6(3),o.Q6J("selectedIndex",d.selectedTabIndex),o.xp6(1),o.Q6J("ngForOf",d.missions)}}function Kt(_,h){if(1&_&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&_){const d=o.oxw(2);let p;o.xp6(1),o.hij(" ",null!==(p=null==d.missions[0]?null:d.missions[0].totalPointsEarned)&&void 0!==p?p:0," ")}}function Gt(_,h){1&_&&(o.TgZ(0,"div"),o._UZ(1,"img",140),o.TgZ(2,"p",141),o._uU(3,"No goals to show"),o.qZA()())}const ft=function(_){return{"skeleton-loading":_}};function Wt(_,h){if(1&_&&(o.TgZ(0,"div",5)(1,"div",133)(2,"div",134)(3,"div",66)(4,"p",9),o._uU(5,"Earn More with IFANOW"),o.qZA(),o.TgZ(6,"p",10),o._uU(7,"Earn points by participating in Rewards program"),o.qZA()(),o.TgZ(8,"div")(9,"p",35),o._uU(10,"POINTS EARNED"),o.qZA(),o.TgZ(11,"div",135)(12,"div",136),o.YNc(13,Kt,2,1,"span",13),o.qZA()()()(),o._UZ(14,"div",137),o.TgZ(15,"div",138)(16,"div",139),o.YNc(17,Gt,4,0,"div",13),o.qZA()()()()),2&_){const d=o.oxw();o.xp6(11),o.Q6J("ngClass",o.VKq(3,ft,d.missionloader)),o.xp6(2),o.Q6J("ngIf",!d.missionloader),o.xp6(4),o.Q6J("ngIf",!1===d.missionloader)}}let $t=(()=>{class _{constructor(d,p,u,b,k,q,Q,E,C){this.dashboardservice=d,this.enumDataService=p,this.dialog=u,this.roleService=b,this.authService=k,this.router=q,this.eventService=Q,this.subInjectService=E,this.accountService=C,this.missionloader=!0,this.missions=[],this.currentDate=new Date,this.selectedTabIndex=0,this.adminId=r.e.getAdminId(),this.taskendingsoon=[],this.currentIndex=0,this.isHovered=!1,this.isRefreshFlag=!1,this.isselectclubUser=!1,this.selectedTabIndex1=0,this.tabArray=[0,1],this.credits=0,this.questionImage={false:"https://res.cloudinary.com/futurewise/image/upload/v1738145015/myplanner/Groupdot.svg",true:"https://res.cloudinary.com/futurewise/image/upload/v1738040377/myplanner/Groupoo.svg"}}startAutoTabScroll(){this.taskendingsoon?.length>1&&(this.intervalId=setInterval(()=>{this.isHovered||(this.selectedTabIndex1=(this.selectedTabIndex1+1)%this.taskendingsoon.length)},4e3))}onHoverIn2(){this.isHovered=!0}onHoverOut2(){this.isHovered=!1}goToNextTab(d){const p=d+1;this.selectedTabIndex1=p<=this.taskendingsoon.length?p-1:0}ngOnInit(){this.data&&(this.advisorId=r.e.getAdvisorId(),this.missions=this.data?.datagames,this.taskendingsoon=this.data?.comingsoondata,this.isselectclubUser=this.data?.flag,this.credits=this.data?.billdata?.credits),this.selectclubprocess(),this.dashboardservice.pointsDatagames$.subscribe(d=>{this.pointsDatagames=d}),this.startAutoTabScroll()}initializeWidgetScroll(){this.taskendingsoon.length>1&&!1===this.missionloader&&(this.isHovered||(this.autoScrollInterval=setTimeout(()=>{this.scrollWidgets()},7e3)))}onHoverIn(){this.isHovered=!0,this.autoScrollInterval&&(clearTimeout(this.autoScrollInterval),this.autoScrollInterval=null)}onHoverOut(){this.isHovered=!1,this.initializeWidgetScroll()}scrollWidgets(){this.currentIndex=(this.currentIndex+1)%this.taskendingsoon.length,this.initializeWidgetScroll()}showNextCard(){this.currentIndex=(this.currentIndex+1)%this.taskendingsoon.length}showPrevCard(){this.currentIndex=(this.currentIndex-1+this.taskendingsoon.length)%this.taskendingsoon.length}selectclubprocess(){if(this.data.datagames){let d=this.data.datagames.map(u=>({...u,missionStartDate:this.formatDate(u.missionStartDate),missionEndDate:this.formatDate(u.missionEndDate),isTabDisabled:this.isTabDisabled(this.formatDate(u.missionStartDate),u),questionMaster:u.questionMaster&&u.questionMaster.length>0?u.questionMaster.map(b=>(b.taskStatus=this.getTaskStatus(b),b.progressValue=this.updateProgressbar(b),b.buttondisabled=!1,b.isAnimating=!1,b.missionNumber=u.missionNumberExternal,b.daysleft=this.countnumberofdays(b),b.Expired=this.expirecheck(b),b)).sort((b,k)=>{const q=["Collect","Complete Now","Completed"];return q.indexOf(b.taskStatus)-q.indexOf(k.taskStatus)}):[],completedCount:u.questionMaster?.reduce((b,k)=>b+("Completed"===k.taskStatus?1:0),0)})).sort((u,b)=>Number(u.missionNumberExternal)-Number(b.missionNumberExternal));d=this.dashboardservice.progressbargamesvalue(d),g.s.missions=d;const p=d.flatMap(u=>u.questionMaster).filter(u=>1===u.gamificationFrontendTaskCheck&&u.attemptedQuestions<u.totalQuestions);localStorage.setItem("gamification",JSON.stringify(p)),this.missions=d,this.openLatestMission(),this.missionloader=!1}else this.missions=[],this.missionloader=!1}updateProgressbar(d){return d?.totalQuestions?Math.min(d.attemptedQuestions/d.totalQuestions*100):0}getTaskStatus(d){return this.startOfDay(this.currentDate).getTime(),this.startOfDay(d.endDate).getTime(),d.attemptedQuestions>=d.totalQuestions&&!d.pointsCollected?"COLLECT":d.totalQuestions!==d.attemptedQuestions?"Complete Now":d.pointsCollected?"Completed":"Complete Now"}startOfDay(d){const p=new Date(d);return new Date(p.getFullYear(),p.getMonth(),p.getDate())}expirecheck(d){return this.startOfDay(this.currentDate).getTime()>this.startOfDay(d.endDate).getTime()}
1countnumberofdays(d){if(d.expireDate&&d.endDate&&!d.pointsCollected){const p=this.startOfDay(new Date(d.expireDate)),u=this.startOfDay(new Date(d.endDate)),b=864e5;return p<=u&&p<=this.startOfDay(this.currentDate)&&this.startOfDay(this.currentDate)<=u?Math.floor((u.getTime()-this.startOfDay(this.currentDate).getTime())/b):-1}return-1}openLatestMission(){if(0===this.missions.length)return;if(-1!=this.data.openmissionIndex)return void(this.selectedTabIndex=this.data.openmissionIndex);let d=-1;for(let p=this.missions.length-1;p>=0;p--)if(!this.missions[p].isTabDisabled){d=p;break}this.selectedTabIndex=-1!==d?d:0}formatDate(d){return new Date(d).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}isTabDisabled(d,p){return new Date(d)>this.currentDate||!(!p?.questionMaster||0!==p.questionMaster.length)}getUnlockMessage(d){const p=new Date,u=new Date(d);if(isNaN(u.getTime()))return"Unlock date is invalid";const b=u.getTime()-p.getTime(),k=Math.ceil(b/864e5);return 1===k?"This Mission is currently locked.Please check again after 1 day":k>1?`This mission starts in ${k} days. Stay tuned for more tasks and earning opportunities!`:"There was a problem loading your data.Please try again after some time."}hasCollectTask(d){return d.questionMaster.some(p=>"COLLECT"===p.taskStatus)}handleKnowMoreAction(d){switch(d.termsConditionsType){case 1:break;case 2:this.openKnowMore(d);break;case 3:d.termsConditionsDesc&&window.open(d.termsConditionsDesc,"_self");break;default:console.warn("Unknown termsConditionsType:",d.termsConditionsType)}}openKnowMore(d){this.dialog.open(Y.j,{data:d,width:"450px"}).afterClosed().subscribe(u=>{})}checkcomplete(d){switch(d.gamificationRoleFeaturesMasterId){case 0:this.completeonlyredirect(d);break;case 1:break;case 2:this.openKnowMore(d);break;case 3:this.completeopen(d)}}completeonlyredirect(d){if(d.buttonUrl.includes("admin")){this.advisorRolesData=this.roleService;const p=d.buttonUrl.split("?"),u=p[0].trim().replace(/^:\s*/,""),b=new URLSearchParams(p[1]);let k={};if(b.forEach((q,Q)=>{k[Q]=q}),d.buttonUrl.includes("admin/sub-broker")){const q=this.authService.getTrialOver(17),Q=this.authService.getsinglepricingObj(17);this.authService.setStateCurrentUrl({researchObj:Q,redirectTo:d.buttonUrl}),this.router.navigate(q?["/admin/sub-broker/pricing-confirmation"]:this.roleService.backofficePermission.subModule.brokAndPay.subModule.brokDash.enabled?["/admin/sub-broker/mutual-funds/dashboard"]:["unauthorized"])}else if(d.buttonUrl.includes("admin/research")){const q=this.authService.getsinglepricingObj(15);this.authService.getTrialOver(15)?(this.authService.setStateCurrentUrl({researchObj:q,redirectTo:"/admin/research/mutualFund/overview"}),this.router.navigate(["/admin/research/pricing-confirmation"])):this.router.navigate(this.roleService.mfResearchPermission.subModule.researchoverview.showModule?["/admin/research/mutualFund/overview"]:["unauthorised"])}else this.router.navigate([u],{queryParams:k,state:{capabilityId:d}})}else d.buttonUrl.startsWith("http://")||d.buttonUrl.startsWith("https://")?window.open(d.buttonUrl,"_blank"):window.open("http://"+d.buttonUrl,"_blank")}completeopen(d){if(d.buttonUrl.includes("admin")){const p=d.buttonUrl.split("?"),u=p[0].trim().replace(/^:\s*/,""),b=new URLSearchParams(p[1]);let k={};if(b.forEach((q,Q)=>{k[Q]=q}),d.buttonUrl.includes("admin/sub-broker")){const q=this.authService.getTrialOver(17),Q=this.authService.getsinglepricingObj(17);this.authService.setStateCurrentUrl({researchObj:Q,redirectTo:d.buttonUrl}),q?this.router.navigate(["/admin/sub-broker/pricing-confirmation"]):this.roleService.backofficePermission.subModule.brokAndPay.subModule.brokDash.enabled?d.buttonUrl.includes("/admin/sub-broker/mutual-funds/dashboard")?this.router.navigate(["/admin/sub-broker/mutual-funds/dashboard"],{state:{capabilityId:d}}):d.buttonUrl.includes("/admin/sub-broker/mutual-funds/set-brokerage")&&this.router.navigate(["/admin/sub-broker/mutual-funds/set-brokerage"],{state:{capabilityId:d}}):this.router.navigate(["unauthorized"])}else this.router.navigate([u],{queryParams:k,state:{capabilityId:d}})}}collect(d,p){p.buttonDisabled=!0;let u={adminId:this.adminId,id:p.id};this.dashboardservice.postpointscollect(u).subscribe(b=>{if(b){let k=this.missions.find(q=>q.missionNumberExternal===d.missionNumberExternal)?.questionMaster.find(q=>q.id===p.id);k&&(k.pointsCollected=!0,k.taskStatus="Completed",p.buttonDisabled=!1,p.isAnimating=!0)}setTimeout(()=>{this.isselectclubUser?this.dashboardservice.getmissiondata({adminId:this.adminId}).subscribe(q=>{g.s.missions=[];let Q=q.map(E=>
1({...E,missionStartDate:this.formatDate(E.missionStartDate),missionEndDate:this.formatDate(E.missionEndDate),isTabDisabled:this.isTabDisabled(this.formatDate(E.missionStartDate),E),questionMaster:E.questionMaster&&E.questionMaster.length>0?E.questionMaster.map(C=>(C.taskStatus=this.getTaskStatus(C),C.progressValue=this.updateProgressbar(C),C.isAnimating=!1,C.missionNumber=E.missionNumberExternal,C.daysleft=this.countnumberofdays(C),C.Expired=this.expirecheck(C),C)).sort((C,ot)=>{const dt=["Collect","Complete Now","Completed"];return dt.indexOf(C.taskStatus)-dt.indexOf(ot.taskStatus)}):[],completedCount:E.questionMaster?.reduce((C,ot)=>C+("Completed"===ot.taskStatus?1:0),0)})).sort((E,C)=>Number(E.missionNumberExternal)-Number(C.missionNumberExternal));this.getWalletDetails(),Q=this.dashboardservice.progressbargamesvalue(Q),this.dashboardservice.updatePointsData(q),this.isRefreshFlag=!0,g.s.missions=Q,this.missions=Q,this.missionloader=!1},q=>{this.eventService.openSnackBar(q,"Dismiss"),this.missionloader=!1}):this.dashboardservice.getAMCquestion(u).subscribe(q=>{this.dashboardservice.setPreviousAMCResponse(b),g.s.missions=[];let Q=q.map(E=>({...E,missionStartDate:this.formatDate(E.missionStartDate),missionEndDate:this.formatDate(E.missionEndDate),isTabDisabled:this.isTabDisabled(this.formatDate(E.missionStartDate),E),questionMaster:E.questionMaster&&E.questionMaster.length>0?E.questionMaster.map(C=>(C.taskStatus=this.getTaskStatus(C),C.progressValue=this.updateProgressbar(C),C.isAnimating=!1,C.missionNumber=E.missionNumberExternal,C.daysleft=this.countnumberofdays(C),C.Expired=this.expirecheck(C),C)).sort((C,ot)=>{const dt=["Collect","Complete Now","Completed"];return dt.indexOf(C.taskStatus)-dt.indexOf(ot.taskStatus)}):[],completedCount:E.questionMaster?.reduce((C,ot)=>C+("Completed"===ot.taskStatus?1:0),0)})).sort((E,C)=>Number(E.missionNumberExternal)-Number(C.missionNumberExternal));Q=this.dashboardservice.progressbargamesvalue(Q),this.dashboardservice.updatePointsData(q),this.isRefreshFlag=!0,g.s.missions=Q,this.missions=Q,this.missionloader=!1},q=>{this.eventService.openSnackBar(q,"Dismiss"),this.missionloader=!1})},2500)},b=>{this.eventService.openSnackBar(b,"Dismiss")})}close(d){this.subInjectService.changeNewRightSliderState({state:"close",refreshRequired:this.isRefreshFlag})}getWalletDetails(){this.accountService.getWalletDetails({advisorId:this.advisorId}).subscribe(p=>{this.credits=p.credits})}ngOnDestroy(){this.autoScrollInterval&&(clearTimeout(this.autoScrollInterval),this.autoScrollInterval=null),this.intervalId&&clearInterval(this.intervalId)}}return _.\u0275fac=function(d){return new(d||_)(o.Y36(g.s),o.Y36(y.p),o.Y36(B.uw),o.Y36(F.N),o.Y36(r.e),o.Y36(w.F0),o.Y36(Z.P),o.Y36(it.f),o.Y36(W.B))},_.\u0275cmp=o.Xpm({type:_,selectors:[["app-gamification"]],viewQuery:function(d,p){if(1&d&&o.Gf(x,5),2&d){let u;o.iGM(u=o.CRH())&&(p.tabGroup=u.first)}},inputs:{data:"data"},decls:5,vars:2,consts:[[2,"height","100vh","overflow","auto"],[1,"d-flex","justify-content-end","pr-20","pt-20","pb-20","bb"],["height","14","width","14","src","https://res.cloudinary.com/futurewise/image/upload/v1622610962/myplanner/images/svg/close-icon.svg",1,"c-p",3,"click"],["class","ml-20 mr-20",4,"ngIf"],["class","ml-20 mr-20 ",4,"ngIf"],[1,"ml-20","mr-20"],[1,"container","p-0",2,"height","100%"],[1,"d-flex","justify-content-between","align-items-center","p-10"],[1,"mr-10","w-70"],[1,"f-500","f-16","roboto","text-primary","mb-5"],[1,"mb-0","f-400","f-14","roboto"],[1,"w-30"],[1,"pl-20","pr-20","pt-6","pb-6",2,"background-color","#F5F7F7"],[4,"ngIf"],[1,"d-flex","justify-content-between","align-items-center","pl-10","pr-10"],[1,"f-400","f-12","roboto","mb-0"],[1,"hover-wrapper","w-100"],[1,"custom-progress-bar-new","ml-10","mr-10","mt-15","primary-border","hover-target"],[1,"progress-segment","bg-primary"],[1,"progress-segment","dynamic-color-lighter"],[1,"progress-segment-grey",2,"background-color","#F5F7F7"],[1,"hover-box","bg-white"],[1,"p-8","bb-dashed-2","d-flex","justify-content-between"],[1,"f-400","f-12","roboto","mb-0","mr-40","nowrap"],["src","https://res.cloudinary.com/futurewise/image/upload/v1751863332/myplanner/Ellipse_2360dd.png",1,"mr-10"],["src","https://res.cloudinary.com/futurewise/image/upload/v1751863332/myplanner/Ellipse_2360_1.png",1,"mr-10"],[1,"p-8","d-flex","justify-content-between"],["src","https://res.cloudinary.com/futurewise/image/upload/v1751863397/myplanner/Ellipse_2360ww.png",1,"mr-10"],[1,"mt-15","mb
1-15",2,"border-bottom","1px dashed #BCC6CA"],[1,"p-10","pt-0","tab-shadow","tab-scroll"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],[3,"disabled",4,"ngFor","ngForOf"],["disabled","true"],[1,"mb-8","f-500","f-14","roboto","text-center","lh-18"],[1,"mb-0","f-500","f-20","roboto","text-primary","text-center"],[1,"mb-8","f-500","f-14","roboto","text-center"],[1,"f-500","f-10","roboto","text-primitive","lh-15","mb-0"],[3,"disabled"],["mat-tab-label",""],["matTabContent",""],[1,"f-600","f-14","mb-0","text-center","mt-10","lh-14",3,"matTooltip"],["class","f-400 f-12 mb-0 text-center ",4,"ngIf"],["class","f-400 f-12 mb-0 text-center text-black",4,"ngIf"],[1,"f-400","f-12","mb-0","text-center"],["class","blue-dot mb-2 bg-primary",4,"ngIf"],[1,"blue-dot","mb-2","bg-primary"],[1,"f-400","f-12","mb-0","text-center","text-black"],["src","https://res.cloudinary.com/futurewise/image/upload/v1738212653/myplanner/noun-padlock-3392786_1.svg","alt","Lock"],["class","f-400 f-12 mb-0 text-center ",4,"ngIf"],[1,"mt-10","mb-10","ml-10","mr-10","p-10","w-100",2,"background-color","#FF682333","display","none"],["class","w-100",4,"ngFor","ngForOf"],[2,"display","none"],["class","d-flex justify-content-center mt-10",4,"ngIf"],["style","border-bottom: 1px dashed #BCC6CA;","class","mt-10 mb-10",4,"ngIf"],["class","testimonial mt-15",3,"mouseenter","mouseleave",4,"ngIf"],["style","border-bottom: 1px dashed #bcc6ca","class","mt-15 mb-15",4,"ngIf"],["class","pt-10 scrollable-container pr-0",4,"ngIf"],[1,"w-100"],["class","d-flex align-items-center",3,"fade-in","fade-out","mouseenter","mouseleave",4,"ngIf"],[1,"d-flex","align-items-center",3,"mouseenter","mouseleave"],[1,"mr-10","w-5"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592656/myplanner/images/svg/info-black.svg"],[1,"f-400","f-14","roboto","mr-10","lh-18","w-50"],[1,"mr-10","d-flex","align-items-center"],["height","22","width","23","src","https://res.cloudinary.com/futurewise/image/upload/v1737549234/myplanner/Alarm_on.png","alt","alarm",1,"ml-20","pb-4"],[1,"highlight-text","mb-0","lh-30","nowrap","mr-10"],[1,"mr-10"],[1,"text-primary","primary-border","bg-white","w-100","text-center",3,"click"],[1,"d-flex","justify-content-center","mt-10"],[1,"text-primitive","c-p",3,"click"],[1,"text-primitive","f-40",2,"position","relative","bottom","10px"],[4,"ngFor","ngForOf"],[1,"mt-10","mb-10",2,"border-bottom","1px dashed #BCC6CA"],[1,"testimonial","mt-15",3,"mouseenter","mouseleave"],["headerPosition","top",1,"testimonial-tabs",3,"selectedIndex","selectedIndexChange"],["matTabGroup",""],[1,"dots-container","d-flex","justify-content-center","mt-10"],["class","dot1",3,"active","click",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-between","align-items-center","br-4","pt-15","pb-15","pl-15","pr-15",2,"background-color","#FFE1D3","box-shadow","0px 1px 3px 0px #00000033"],[1,"d-flex","align-items-center","w-100"],[1,"w-15"],["src","https://res.cloudinary.com/futurewise/image/upload/v1751265571/myplanner/Group3.png","alt","exppiry Image",1,"mr-10","ml-5"],[1,"d-flex","flex-column","w-100"],[1,"d-flex","justify-content-between"],[1,"w-68"],[1,"d-flex","justify-content-between","align-items-center"],[1,"f-400","f-14","roboto","mb-5"],[1,"d-flex","align-items-center"],["src","https://res.cloudinary.com/futurewise/image/upload/v1737549090/myplanner/noun-coins-7354309_1.png","alt","coins",1,"mr-4"],[1,"f-600","f-16","roboto","mb-0"],["class","ml-20","src","https://res.cloudinary.com/futurewise/image/upload/v1737549234/myplanner/Alarm_on.png","alt","alarm",4,"ngIf"],["class","highlight-text mb-0",4,"ngIf"],[1,"w-32"],[1,"text-primary","primary-border","bg-white","w-100",3,"click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1737549234/myplanner/Alarm_on.png","alt","alarm",1,"ml-20"],[1,"highlight-text","mb-0"],[1,"dot1",3,"click"],[1,"mt-15","mb-15",2,"border-bottom","1px dashed #bcc6ca"],[1,"pt-10","scrollable-container","pr-0"],["class"," pt-35 divaddlogicforloop scrollable-container pr-0",3,"highlight","id",4,"ngFor","ngForOf"],[1,"pt-35","divaddlogicforloop","scrollable-container","pr-0",3,"id"],["questionElement",""],["style","width: 39px;
1","class","mr-20","background","transparent","speed","1","autoplay","",3,"src",4,"ngIf"],[3,"ngIf"],[1,"w-65"],["class","link-text f-400 f-12 text-primitive",3,"matTooltip","ngClass","click",4,"ngIf"],["class","d-flex align-items-center",4,"ngIf"],[1,"w-32",3,"ngSwitch"],["class"," bg-white w-100 p-0 text-center",3,"ngClass","disabled","matTooltip","click",4,"ngSwitchCase"],["class","btn-primary collect-button","style","width:100% !important",3,"disabled","click",4,"ngSwitchCase"],["class","h-40 w-100 d-flex justify-content-center align-items-center text-success",4,"ngSwitchCase"],["class","mt-10 pt-10 pb-10 mb-5 d-flex","style","border-right: 4px solid #2388FF;background: linear-gradient(90deg, rgba(0, 143, 255, 0.026) 0%, rgba(35, 136, 255, 0.1846) 100%);",4,"ngIf"],["class","progress-container ",4,"ngIf"],["background","transparent","speed","1","autoplay","",1,"mr-20",2,"width","39px",3,"src"],["lottieAnimation",""],["alt","Game Image",1,"mr-20","w-50","ml-5",3,"src"],[1,"link-text","f-400","f-12","text-primitive",3,"matTooltip","ngClass","click"],[1,"text-primary","primary-border","bg-white"],["src","https://res.cloudinary.com/futurewise/image/upload/v1750924491/myplanner/Group_1000011129kk.png","alt","alarm",1,"ml-20"],[1,"text-primitive","mb-0","ml-5"],[1,"f-400","f-14","roboto","text-success"],[1,"bg-white","w-100","p-0","text-center",3,"ngClass","disabled","matTooltip","click"],[1,"btn-primary","collect-button",2,"width","100% !important",3,"disabled","click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1740559909/myplanner/noun-coins-7354309_1_1.svg",2,"position","relative","z-index","2"],[1,"button-text"],["src","https://lottie.host/6ff79294-544f-40f9-8b6a-2e8bf1e3dc19/UKmigOGaPf.json","background","transparent","loop","","autoplay","",1,"button-animation"],[1,"h-40","w-100","d-flex","justify-content-center","align-items-center","text-success"],[1,"mt-10","pt-10","pb-10","mb-5","d-flex",2,"border-right","4px solid #2388FF","background","linear-gradient(90deg, rgba(0, 143, 255, 0.026) 0%, rgba(35, 136, 255, 0.1846) 100%)"],[1,"f-600","f-16","roboto","mb-0","mr-4"],[1,"f-400","f-16","roboto","mb-0","mr-20"],[1,"progress-container"],["mode","determinate",1,"custom-progress-bar",3,"value"],[1,"progress-text","f-600","f-16","text-primitive"],[2,"height","716px !important"],[1,"d-flex","justify-content-between","p-10","pb-0"],[1,"mb-0","f-500","f-20","roboto","text-primary","text-center","skeletonAnimation",3,"ngClass"],[1,"bar"],[1,"mt-4","mb-15",2,"border-bottom","1px dashed #BCC6CA"],[1,"right-panel-container"],[1,"loading-content"],["src","https://res.cloudinary.com/futurewise/image/upload/v1740465298/myplanner/undraw_add_files_re_v09g_1ll.svg"],[1,"f-400","f-14","roboto","mt-20","text-center","mb-100"]],template:function(d,p){1&d&&(o.TgZ(0,"div",0)(1,"div",1)(2,"img",2),o.NdJ("click",function(){return p.close("close")}),o.qZA()(),o.YNc(3,ht,47,18,"div",3),o.YNc(4,Wt,18,5,"div",4),o.qZA()),2&d&&(o.xp6(3),o.Q6J("ngIf",p.missions.length>0&&!p.missionloader),o.xp6(1),o.Q6J("ngIf",0===p.missions.length))},dependencies:[K.mk,K.sg,K.O5,K.RF,K.n9,st.Hw,rt.pW,X.SP,X.uD,X.uX,X.Vc,P.gM,K.JJ,K.uU,$.Us],styles:['.select-pt-0[_ngcontent-%COMP%] .mat-form-field-appearance-standard .mat-form-field-flex{padding-top:0!important}[_nghost-%COMP%] .mat-header-row{top:-1px!important}[_nghost-%COMP%] .mat-paginator-container{padding-top:0!important}[_nghost-%COMP%] .mat-tab-labels{flex-direction:row}.br-2[_ngcontent-%COMP%]{border-radius:2px!important}mat-tab-group[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column}[_nghost-%COMP%] .mat-tab-body-wrapper{flex-grow:1;display:flex;flex-direction:column}.h-120[_ngcontent-%COMP%]{height:120px}mat-tab-body[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column}[_nghost-%COMP%] .mat-ink-bar{display:none}[_nghost-%COMP%] .mat-tab-label.mat-tab-label-active{background-color:transparent!important;border-top:1px solid #BCC6CA!important;border-right:1px solid #BCC6CA!important;border-left:1px solid #BCC6CA!important;border-bottom:none!important;color:#000!important;font-weight:400!important;font-size:14px!important;line-height:19px!important;padding:18px!important}[_nghost-%COMP%] .mat-tab-label{background-color:transparent;height:53px!important;font-weight:400!important;font-size:14px!important;color:#000!important;border-top:1px solid white!important;line-height:19px!important;border-bottom:1px solid #BCC6CA!important;padding:18px!important}[_nghost-%COMP%] .mat-tab-header{border-bottom:0px!important}.highlight-text[_ngcontent-%COMP%]{color:#ff6823!important}.primary[_ngcontent-%COMP%]{color:var(--primary)}.progress-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin:10px 0;position:relative}
1.custom-progress-bar[_ngcontent-%COMP%]{flex:1;margin-right:10px}.progress-text[_ngcontent-%COMP%]{font-size:14px;color:#000;white-space:nowrap}.complete[_ngcontent-%COMP%]{color:#5dc644}.color[_ngcontent-%COMP%] .mat-progress-bar-fill:after{background-color:red!important}.blue-dot[_ngcontent-%COMP%]{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:4px}.lock-icon[_ngcontent-%COMP%]{font-size:20px;color:gray;margin-top:4px}.example-tooltip[_ngcontent-%COMP%]{font-size:30px!important}.scrollable-container[_ngcontent-%COMP%]{height:100%;overflow-y:auto;overflow-x:hidden;padding-right:10px}.right-panel-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%;text-align:center}.loading-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:14px;font-weight:400;color:#333}.loading-content[_ngcontent-%COMP%]{padding-bottom:36%}.w-50[_ngcontent-%COMP%]{width:50%}.skeleton-loading[_ngcontent-%COMP%]{background:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0 50%,#e0e0e0 75%);background-size:200% 100%;animation:skeletonLoading 1.5s infinite;width:107px;height:30px;border-radius:5px}@keyframes skeletonLoading{0%{background-position:200% 0}to{background-position:-200% 0}} .mat-form-field-appearance-standard .mat-form-field-flex{padding-top:0!important} .mat-tooltip{background-color:#d9dee1!important;color:#1b1f26b8!important;font-size:12px!important;font-weight:400!important;font-family:Roboto!important}
1.blue-dot[_ngcontent-%COMP%]{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:4px}.clickable[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}.profile-container[_ngcontent-%COMP%]{width:50px;height:50px;display:flex;justify-content:center;align-items:center;overflow:hidden}.profile-img[_ngcontent-%COMP%]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.dropdown-container[_ngcontent-%COMP%]{width:118px}.dropdown-field[_ngcontent-%COMP%]{width:100%}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:0}.mat-select-panel[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto}.mat-option[_ngcontent-%COMP%]{font-size:14px}.mat-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;border:1px solid #BCC6CA}.mat-header-cell[_ngcontent-%COMP%], .mat-cell[_ngcontent-%COMP%]{text-align:left;border:1px solid #BCC6CA;padding:10px}.mat-header-cell[_ngcontent-%COMP%]{text-align:center;font-weight:700;background-color:#f5f5f5}.file-code[_ngcontent-%COMP%]{font-size:.9em;color:gray;margin-left:8px}.success-icon[_ngcontent-%COMP%]{margin-top:5px;color:#02b875}.text-danger[_ngcontent-%COMP%]{color:#ff6823}.video-container[_ngcontent-%COMP%]{width:100%;max-width:256px;height:auto;margin:0 auto;cursor:pointer;text-align:center}.video-thumbnail[_ngcontent-%COMP%]{width:100%;height:auto;border:1px solid #BCC6CA;border-radius:5px}@media (max-width: 768px){.video-container[_ngcontent-%COMP%]{max-width:100%}.video-thumbnail[_ngcontent-%COMP%]{max-width:100%;height:auto}}.info-icon[_ngcontent-%COMP%]{font-size:14px;color:#007bff;cursor:pointer}.gmail-auth-container[_ngcontent-%COMP%]{margin:10px 0 32px;padding-top:13px}.gmail-auth-btn[_ngcontent-%COMP%]{border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:14px;color:#444;width:100%;height:45px;box-shadow:0 2px 6px #0003}.gmail-auth-btn[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:27px;height:27px;margin-right:10px}.gmail-auth-btn[_ngcontent-%COMP%]:hover{box-shadow:0 2px 6px #0003}.notification-banner[_ngcontent-%COMP%]{background-color:#fd6;border-radius:10px;padding:15px;display:flex;align-items:center;box-shadow:0 2px 4px #0000001a;margin:20px 10px}.info-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-radius:50%;margin-right:15px;margin-left:5px;color:#090804}.notification-text[_ngcontent-%COMP%]{font-size:14px;color:#000;font-family:Roboto,Arial,sans-serif;line-height:1.5;margin:0}.tabs-container[_ngcontent-%COMP%]{margin:10px;display:flex;justify-content:space-between;align-items:center}.custom-tab-group[_ngcontent-%COMP%]{flex:1}.btn-refresh[_ngcontent-%COMP%]{background-color:#007bff;color:#fff;padding:5px 15px;font-size:14px;font-weight:500;border:none;cursor:pointer;display:flex;align-items:center;margin-right:10px}.btn-refresh[_ngcontent-%COMP%] .refresh-icon[_ngcontent-%COMP%]{font-size:18px;margin-right:5px;margin-top:5px}.btn-refresh[_ngcontent-%COMP%]:hover{background-color:#0056b3}.arn-dropdown[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{border-color:#d9d9d9}.arn-dropdown[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{font-size:14px;color:#6c757d}.right-actions[_ngcontent-%COMP%]{justify-content:flex-end;gap:3px} .mat-form-field-appearance-outline .mat-form-field-flex{padding:0}.sync-progress-container[_ngcontent-%COMP%]{overflow:hidden;transition:max-height .5s ease-in-out;max-height:500px}.sync-progress-container.closed[_ngcontent-%COMP%]{max-height:0}.table-design[_ngcontent-%COMP%]{width:100%;font-family:Roboto,sans-serif;border-collapse:collapse;margin:0}.table-header[_ngcontent-%COMP%]{font-weight:700;font-size:14px;text-align:left;background-color:#f8f9fa;padding:8px}.table-cell[_ngcontent-%COMP%]{font-size:14px;text-align:left;padding:8px;vertical-align:middle;color:#212529}.table-cell[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-style:italic;font-weight:400}.success-icon[_ngcontent-%COMP%]{color:#28a745;vertical-align:middle;font-size:16px}.text-danger[_ngcontent-%COMP%]{color:#dc3545;font-weight:500}.text-warning[_ngcontent-%COMP%]{color:#ffc107;font-weight:500}.file-data[_ngcontent-%COMP%]{margin-left:5px}.pb-13[_ngcontent-%COMP%]{padding-bottom:13px}.m-15[_ngcontent-%COMP%]{margin:15px}[_nghost-%COMP%] .mat-tab-label.mat-tab-disabled:last-child{flex-grow:1!important}.timeline[_ngcontent-%COMP%]{max-width:650px;margin:auto;position:relative;padding:10px 10px 0}.step[_ngcontent-%COMP%]{display:flex;align-items:flex-start;position:relative;padding-bottom:15px}.number[_ngcontent-%COMP%]{width:40px;height:40px;font-weight:600;font-size:20px;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-right:15px;flex-shrink:0}.content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:700}.content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:3px 0 0;font-size:14px;color:#333;line-height:1.5}.step[_ngcontent-%COMP%]:not(:last-child):after{content:"";position:absolute;
1left:20px;top:39px;height:100%;width:2px;background-color:#e0e0e0} .mat-menu-panel{min-height:auto!important}.p-6[_ngcontent-%COMP%]{padding:6px!important}.col.b[_ngcontent-%COMP%]{color:#008fff} .mat-select-arrow{display:none!important}.container2[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100vh}.collect-button[_ngcontent-%COMP%]{position:relative;width:100%;height:36px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:none;background:none;cursor:pointer}.button-text[_ngcontent-%COMP%]{position:relative;z-index:2;color:#fff}.button-animation[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:150%;transform:scale(2.1);height:100%;pointer-events:none}.speed-animation[_ngcontent-%COMP%]{animation:lottieSlow linear infinite;animation-duration:5s}.scrollable-container[_ngcontent-%COMP%]{scroll-behavior:smooth}.highlight[_ngcontent-%COMP%]{transition:border-left .3s ease-in-out}.custom-progress-bar-new[_ngcontent-%COMP%]{display:flex;height:20px;width:96%;background-color:#f1f1f1;overflow:hidden}.progress-segment[_ngcontent-%COMP%]{height:100%;transition:width .5s ease-in-out}.tab-shadow[_ngcontent-%COMP%] .mat-elevation-z4{box-shadow:none!important}.tab-shadow[_ngcontent-%COMP%] .mat-tab-header{align-items:center!important}.tab-scroll[_ngcontent-%COMP%] .mat-tab-body-content{overflow:visible!important;overflow:initial!important}.fade-in[_ngcontent-%COMP%]{animation:fadeIn 1s ease-in}.fade-out[_ngcontent-%COMP%]{animation:fadeOut 1s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.testimonial-tabs[_ngcontent-%COMP%] .mat-tab-labels{display:none!important}.dots-container[_ngcontent-%COMP%]{margin-top:10px}.dot1[_ngcontent-%COMP%]{height:10px;width:10px;background-color:gray;border-radius:50%!important;display:inline-block;margin:0 5px}.dot1.active[_ngcontent-%COMP%]{background-color:var(--primary)!important;height:10px;width:10px;border-radius:50%!important;display:inline-block;margin:0 5px}.hover-wrapper[_ngcontent-%COMP%]{position:relative;display:inline-block}.hover-box[_ngcontent-%COMP%]{position:absolute;top:100%;left:10px;display:none;z-index:10;border-radius:4px;border:1px solid #BCC6CA;box-shadow:0 2px 5px #0003}.hover-wrapper[_ngcontent-%COMP%]:hover .hover-box[_ngcontent-%COMP%]{display:block}'],data:{animation:[(0,J.X$)("slideInOut",[(0,J.eR)(":enter",[(0,J.jt)("600ms ease-in",(0,J.oB)({transform:"translateX(0%)",opacity:0}))]),(0,J.eR)(":leave",[(0,J.jt)("600ms ease-out",(0,J.oB)({transform:"translateX(100%)",opacity:1}))])])]}}),_})()},58809:(lt,G,l)=>{l.d(G,{t:()=>N});var g=l(65730),y=l(6682),Y=l(41074),F=l(24006),r=l(94650),Z=l(48242),J=l(36895),W=l(59549),o=l(284),B=l(71948),w=l(33152);function it(A,M){1&A&&(r.TgZ(0,"span"),r._uU(1,"Today"),r.qZA())}function K(A,M){1&A&&(r.TgZ(0,"span"),r._uU(1,"Yesterday"),r.qZA())}function st(A,M){if(1&A&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&A){const v=r.oxw(2).$implicit;r.xp6(1),r.Oqu(v.createdDate)}}function rt(A,M){if(1&A&&(r.TgZ(0,"p",24),r._uU(1),r.YNc(2,it,2,0,"span",25),r.YNc(3,K,2,0,"span",25),r.YNc(4,st,2,1,"span",25),r.qZA()),2&A){const v=r.oxw().$implicit;r.xp6(1),r.hij("",v.activityName," "),r.xp6(1),r.Q6J("ngIf",0==v.createdDate),r.xp6(1),r.Q6J("ngIf",1==v.createdDate),r.xp6(1),r.Q6J("ngIf",1!=v.createdDate&&0!=v.createdDate)}}function X(A,M){if(1&A){const v=r.EpF();r.TgZ(0,"mat-form-field",9)(1,"input",26),r.NdJ("ngModelChange",function(D){r.CHM(v);const L=r.oxw().$implicit;return r.KtG(L.activityName=D)}),r.qZA()()}if(2&A){const v=r.oxw().$implicit;r.xp6(1),r.Q6J("ngModel",v.activityName)}}function P(A,M){if(1&A){const v=r.EpF();r.TgZ(0,"span",27),r.NdJ("click",function(){r.CHM(v);const D=r.oxw().$implicit,L=r.oxw();return r.KtG(L.editMode(D))}),r._uU(1," mode_edit "),r.qZA()}}function $(A,M){if(1&A){const v=r.EpF();r.TgZ(0,"span",28),r.NdJ("click",function(){r.CHM(v);const D=r.oxw().$implicit,L=r.oxw();return r.KtG(L.updateTodoList(D))}),r._uU(1," done "),r.qZA()}}function x(A,M){if(1&A&&(r.TgZ(0,"div",7)(1,"div",14)(2,"mat-radio-group",15),r._UZ(3,"mat-radio-button",16),r.qZA()(),r.TgZ(4,"div",17),r.YNc(5,rt,5,4,"p",18),r.TgZ(6,"div",19)(7,"div",20),r.YNc(8,X,2,1,"mat-form-field",21),r.qZA()()(),r.TgZ(9,"div",22),r.YNc(10,P,2,0,"span",23),r.YNc(11,$,2,0,"span",13),r.qZA()()),2&A){const v=M.$implicit;r.xp6(5),r.Q6J("ngIf",0==v.update),r.xp6(3),r.Q6J("ngIf",v.update),r.xp6(2),r.Q6J("ngIf",0==v.update),r.xp6(1),r.Q6J("ngIf",v.update)}}function f(A,M){if(1&A){const v=r.EpF();r.TgZ(0,"span",28),r.NdJ("click",function(){r.CHM(v);const D=r.oxw();return r.KtG(D.addTodoList(D.todoDescription))}),r._uU(1," done "),r.qZA()}}let N=(()=>{class A{constructor(v,S,D,L,nt){this._bottomSheetRef=v,this.dashboardService=S,this.eventService=D,this.datePipe=L,this.changeDetectorRef=nt,this.updateNote=new F.p4}ngOnInit(){this.advisorId=g.e.getAdvisorId(),this.getTodoListData()}openLink(v){this._bottomSheetRef.dismiss(),v.preventDefault()}getTodoListData(){this.todoListFlag=!0,this.dashboardService.getNotes({advisorId:this.advisorId}).subscribe(S=>{this.todoListFlag=!1,S&&S.length>0?(S.forEach(D=>{D.update=!1,D.createdDate=this.calculateDifferenc(D.createdOn)<=1?this.calculateDifferenc(D.createdOn):this.datePipe.transform(D.createdOn,"MMMM d, y")}),this.todoListData=S,y.s.dashTodoListData=S,this.changeDetectorRef.detectChanges()):(this.todoListData=void 0,this.todoListFlag=!1)},S=>{this.todoListData=void 0,this.todoListFlag=!1})}addTodoList(v){this.dashboardService.addNotes({id:0,advisorId:this.advisorId,activityName:v}).subscribe(D=>{this.todoDescription="",D&&(y.s.dashTodaysTaskList=null,this.eventService.openSnackBar("To-Do note is added","Dismiss"),D.forEach(L=>{L.update=!1,L.createdDate=this.calculateDifferenc(L.createdOn)<=1?this.calculateDifferenc(L.createdOn):this.datePipe.transform(L.createdOn,"MMMM d, y")}),g.e.setToDoList(D),this.todoListData=D,this.changeDetectorRef.detectChanges())})}updateTodoList(v){""!=this.updateNote.value?this.dashboardService.updateNotes({id:v.id,advisorId:this.advisorId,activityName:v.activityName}).subscribe(D=>{D&&(this.eventService.openSnackBar("To-Do note is updated","Dismiss"),D.forEach(L=>{L.update=!1,L.createdDate=this.calculateDifferenc(L.createdOn)<=1?this.calculateDifferenc(L.createdOn):this.datePipe.transform(L.createdOn,"MMMM d, y")}),this.todoListData=D,this.changeDetectorRef.detectChanges())}):this.eventService.openSnackBar("Please type something","Dismiss")}calculateDifferenc(v){const S=new Date(v),D=new Date,L=Math.abs((D.getTime()-S.getTime())/864e5);return Math.round(L)}editMode(v){v.update=!v.update}close(){this._bottomSheetRef.dismiss()}}return A.\u0275fac=function(v){return new(v||A)(r.Y36(Z.oL),r.Y36(y.s),r.Y36(Y.P),r.Y36(J.uU),r.Y36(r.sBO))},A.\u0275cmp=r.Xpm({type:A,selectors:[["app-todo-bottom-sheet"]],decls:15,vars:3,consts:[[1,"row","fixed-headers","mob-bg-main"],[1,"col-10","pt-16","pb-16"],[1,"m-0","roboto","f-500","text-white"],[1,"col-2","full-end"],["alt","close icon","src","https://res.cloudinary.com/futurewise/image/upload/v1624948988/logos/close_white_24dp_ndiitq.svg",1,"c-p",3,"click"],[1,"add-to-do-advisor","my-custom-todo","remove-top"],["class","row bb-1 align-items-center pt-8 pb-8 ",4,"ngFor","ngForOf"],[1,"row","bb-1","align-items-center","pt-8","pb-8"],[1,"col-10","pr-0","remove-top"],["floatLabel","never","appearance","standard"],["autofocus","","matInput","","placeholder","Enter note",1,"form-control",3,"ngModel","ngModelChange","keyup.enter"],["inputValue",""],[1,"col-2","pr-8","text-right"],["class","material-icons text-primitive f-20 c-p",3,"click",4,"ngIf"],[1,"col-1"],["aria-label","Select an option"],["value","1"],[1,"col-10","edit-todo-icons-hover"],["class","m-0 roboto f-400 text-custom",4,"ngIf"],[1,"row"],[1,"col-12","p-0"],["floatLabel","never","appearance","standard",4,"ngIf"],[1,"col-2","pl-0"],["class","edit-todo-icons material-icons c-p text-primitive",3,"click",4,"ngIf"],[1,"m-0","roboto","f-400","text-custom"],[4,"ngIf"],["autofocus","","matInput","","placeholder","Enter note",1,"form-control",3,"ngModel","ngModelChange"],[1,"edit-todo-icons","material-icons","c-p","text-primitive",3,"click"],[1,"material-icons","text-primitive","f-20","c-p",3,"click"]],template:function(v,S){if(1&v){const D=r.EpF();r.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),r._uU(3,"Todo"),r.qZA()(),r.TgZ(4,"div",3)(5,"img",4),r.NdJ("click",function(){return S.close()}),r.qZA()()(),r.TgZ(6,"div",5),r.YNc(7,x,12,4,"div",6),r.TgZ(8,"div",7)(9,"div",8)(10,"mat-form-field",9)(11,"input",10,11),r.NdJ("ngModelChange",function(nt){return S.todoDescription=nt})("keyup.enter",function(){r.CHM(D);const nt=r.MAs(12);return r.KtG(S.addTodoList(nt.value))}),r.qZA()()(),r.TgZ(13,"div",12),r.YNc(14,f,2,0,"span",13),r.qZA()()()}if(2&v){const D=r.MAs(12);r.xp6(7),r.Q6J("ngForOf",S.todoListData),r.xp6(4),r.Q6J("ngModel",S.todoDescription),r.xp6(3),r.Q6J("ngIf",D.value.length>0)}},dependencies:[J.sg,J.O5,W.KE,o.Nt,B.VQ,B.U0,F.Fj,F.JJ,F.On,w.k]}),A})()}}]);
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.