PageSourceSearch

https://app.gvcgaesco.es/app-web/es/chunk-YBWHHF2E.js

js gvcgaesco.es collected 2026-10-03 22:24:53 UTC 39,547 bytes, 2 lines download raw bytes

1import{b as Lt}from"./chunk-JC3IHSRL.js";import{a as Wt}from"./chunk-525RYI4M.js";import{Ai as vt,Bg as oe,Ch as ft,Eh as Ct,Gi as ae,Mm as $t,Od as tt,Of as lt,Pg as ut,Pj as Rt,Rj as bt,Sg as X,Si as Tt,Tf as st,Ui as Mt,Vd as it,Wg as pt,Xg as Et,Xj as ee,Yd as nt,Zh as At,Zm as Vt,al as Ht,b as Ye,bg as _t,c as et,cg as ct,fg as dt,gg as mt,hh as gt,lf as h,mf as rt,mk as Ot,nj as yt,of as Q,pf as J,ph as Pt,pi as ht,pk as It,qf as L,qh as K,rh as Y,sh as w,sj as re,tk as xt,uh as St,vk as Nt,wf as F,xe as ot,ye as at,yg as Z}from"./chunk-SL5IVQML.js";import{K as Ke,f as Qe,k as Je,q as Ze}from"./chunk-P3YERWGJ.js";import"./chunk-ZWGPDTUC.js";import{$a as a,$b as O,Dc as R,Ec as k,Fc as B,Gc as U,Mc as Be,Nb as P,Nc as Fe,Ob as S,Oc as ne,Pb as $,Rb as x,Sb as N,Tb as _,Ub as i,Uc as V,Vb as n,Vc as Xe,Wb as s,_b as b,ac as We,bc as G,ga as f,gc as Le,gd as ze,hc as De,ic as g,jd as qe,kc as Ge,la as v,lc as we,ld as je,ma as T,mb as I,mc as M,md as A,nd as Ue,oc as E,qd as W,sa as Ve,sb as D,sc as z,tc as q,uc as j,wa as H,yc as ke}from"./chunk-GX6UZ3TY.js";import"./chunk-4PVKNW3T.js";var Dt=(()=>{class e{financialDecimalLimits=h;movement=W.required();static ɵfac=function(r){return new(r||e)();};static ɵcmp=I({type:e,selectors:[["app-movement-preview-item"]],hostAttrs:[1,"block","cursor-pointer","hover:bg-surface-100","dark:hover:bg-surface-800","transition-colors","duration-200"],inputs:{movement:[1,"movement"]},decls:9,vars:11,consts:[[1,"flex","items-center","justify-between","gap-3","py-3"],[1,"flex","flex-col","gap-1","overflow-hidden"],[1,"flex-1","min-w-0","truncate","text-color","text-base","font-semibold"],[1,"flex-1","min-w-0","truncate","text-muted-color","text-sm","font-medium"],[1,"flex","flex-col","items-end","gap-1","shrink-0"],["customClass","font-semibold text-sm",3,"value","currency","colored","addPlusSymbol","maxNumberOfDecimals"],[3,"value","customClass","format"]],template:function(r,o){if(r&1&&(i(0,"div",0)(1,"div",1)(2,"p",2),R(3),n(),i(4,"p",3),R(5),n()(),i(6,"div",4),s(7,"lib-label-price",5)(8,"lib-label-date",6),n()()),r&2){let l;a(3),B(" ",o.movement().concepto," "),a(2),U(" ",o.movement().alias," \xB7 ",o.movement().cuentaId," "),a(2),_("value",o.movement().importe)("currency",((l=o.movement().divisa)==null?null:l.codigo)||"EUR")("colored",!0)("addPlusSymbol",!0)("maxNumberOfDecimals",o.financialDecimalLimits.Balance),a(),_("value",o.movement().fecha)("customClass","text-sm text-muted-color")("format","dd/MM/yy");}},dependencies:[L,w],encapsulation:2});}return e;})();var Gt=(()=>{class e{order=W.required();tagPreset=Z;statusSeverity=A(()=>{let t=this.order().estado?.codigo;return!t||!ae[t]?"secondary":ae[t].severity;});static ɵfac=function(r){return new(r||e)();};static ɵcmp=I({type:e,selectors:[["app-order-preview-item"]],hostAttrs:[1,"block","cursor-pointer","hover:bg-surface-100","dark:hover:bg-surface-800","transition-colors","duration-200"],inputs:{order:[1,"order"]},decls:7,vars:9,consts:[[1,"flex","items-center","justify-between","gap-3","py-3"],["size","md",1,"flex-1","min-w-0",3,"instrument"],[1,"flex","flex-col","items-end","gap-1","shrink-0"],[1,"text-base",3,"code","description"],[1,"flex","items-center","gap-2"],[3,"dt","severity","value"],[3,"value","customClass","format"]],template:function(r,o){if(r&1&&(i(0,"div",0),s(1,"lib-instrument-data-order",1),i(2,"div",2),s(3,"lib-label-transaction-type",3),i(4,"div",4),s(5,"p-tag",5)(6,"lib-label-date",6),n()()()),r&2){let l,u,y;a(),_("instrument",o.order().instrumento),a(2),_("code",(l=o.order().operacion)==null?null:l.codigo)("description",(u=o.order().operacion)==null?null:u.descripcion),a(2),_("dt",o.tagPreset)("severity",o.statusSeverity())("value",((y=o.order().estado)==null?null:y.descripcion)??""),a(),_("value",o.order().fechaIntroduccion)("customClass","text-sm text-muted-color")("format","dd/MM/yy");}},dependencies:[ft,Tt,w,K,Pt],encapsulation:2});}return e;})();function Bt(e,c){if(e&1&&(s(0,"lib-label-price",5),i(1,"div",6),s(2,"lib-label-date",7),n()),e&2){let t=E();_("value",t.amount())("currency",t.currency())("colored",!1)("addPlusSymbol",!0)("colored",!0)("maxNumberOfDecimals",t.financialDecimalLimits.Balance),a(2),_("value",t.date())("customClass","text-sm text-muted-color")("format","dd/MM/yy");}}function Ft(e,c){if(e&1&&(s(0,"lib-label-price",8),i(1,"div",6),s(2,"lib-label-date",7),n()),e&2){let t=E(2);_("value",t.amount())("currency",t.currency())("colored",!0)("addPlusSymbol",!1)("maxNumberOfDecimals",t.financialDecimalLimits.Balance),a(2),_("value",t.date())("customClass","text-sm text-muted-color")("format","dd/MM/yy");}}function Xt(e,c){if(e&1&&(s(0,"lib-label-price",5),i(1,"div",6),s(2,"lib-label-date",7),n()),e&2){let t=E(2);_("value",t.amount())("currency",t.currency())("colored",!1)("addPlusSymbol",!1)("maxNumberOfDecimals",t.financialDecimalLimits.Balance),a(2),_("value",t.date())("customClass","text-sm text-muted-color")("format","dd/MM/yy");}}function zt(e,c){if(e&1&&P(0,Ft,3,8)(1,Xt,3,8),e&2){let t=E();S(t.activityType()==="F"?0:t.activityType()==="P"?1:-1);}}var wt=(()=>{class e{financialDecimalLimits=h;payment=W.required();tagPreset=Z;amount=A(()=>this.isActivity?this.payment().traspasoTransferenciaImporte:this.isMovement?this.payment().importe:0);currency=A(()=>this.isActivity?this.payment().divisa:this.isMovement?this.payment().divisa?.codigo:"");status=A(()=>this.isActivity?this.payment().estado?.descripcion:this.isMovement?"Ejecutado":"");concept=A(()=>this.isActivity?this.payment().informacion01:this.isMovement?this.payment().concepto:"");date=A(()=>(console.log(this.payment()),this.isActivity?this.payment().fechaIntroduccion:this.isMovement?this.payment().fecha:""));activityType=A(()=>this.isActivity?this.payment().operacion?.codigo:"");get isActivity(){return"idTraspaso"in this.payment();}get isMovement(){return"concepto"in this.payment();}static ɵfac=function(r){return new(r||e)();};static ɵcmp=I({type:e,selectors:[["app-payment-preview-item"]],hostAttrs:[1,"block","cursor-pointer","hover:bg-surface-100","dark:hover:bg-surface-800","transition-colors","duration-200"],inputs:{payment:[1,"payment"]},decls:9,vars:3,consts:[[1,"flex","items-center","justify-between","gap-3","py-3"],[1,"flex","flex-col","gap-1","overflow-hidden"],[1,"flex-1","min-w-0","truncate","text-color","text-base","font-semibold"],[1,"flex-1","min-w-0","truncate","text-muted-color","text-xs","font-medium"],[1,"flex","flex-col","items-end","gap-1","
1shrink-0"],["customClass","font-semibold text-base",3,"value","currency","colored","addPlusSymbol","maxNumberOfDecimals"],[1,"flex","items-center","gap-2"],[3,"value","customClass","format"],["customClass","font-semibold",3,"value","currency","colored","addPlusSymbol","maxNumberOfDecimals"]],template:function(r,o){r&1&&(i(0,"div",0)(1,"div",1)(2,"p",2),R(3),n(),i(4,"p",3),R(5),n()(),i(6,"div",4),P(7,Bt,3,9)(8,zt,2,1),n()()),r&2&&(a(3),B(" ",o.concept()," "),a(2),B(" ",o.status()," "),a(2),S(o.isMovement?7:o.isActivity?8:-1));},dependencies:[L,w,K],encapsulation:2});}return e;})();function jt(e,c){if(e&1&&s(0,"lib-label-percentage",4),e&2){E();let t=ne(0);_("value",t==null?null:t.dayDiffPercentage)("colored",!0)("tabularNums",!0);}}function Ut(e,c){e&1&&s(0,"p-skeleton",5);}function Qt(e,c){if(e&1&&s(0,"lib-label-price",6),e&2){let t=E(),r=ne(0);_("value",r==null?null:r.lastPrice)("showCurrency",!1)("colored",!1)("flash",!0)("tabularNums",!0)("minNumberOfDecimals",t.financialMinimumDecimalLimits.IndexPrice)("maxNumberOfDecimals",t.financialDecimalLimits.IndexPrice);}}function Jt(e,c){e&1&&s(0,"p-skeleton",7);}var kt=(()=>{class e{equitiesResearchStore=f(ee);entry=W.required();currency=A(()=>this.entry()?.divisa?.simbolo);financialMinimumDecimalLimits=rt;financialDecimalLimits=h;static ɵfac=function(r){return new(r||e)();};static ɵcmp=I({type:e,selectors:[["app-ticker-item"]],hostAttrs:[1,"flex-shrink-0"],inputs:{entry:[1,"entry"]},decls:10,vars:7,consts:[[1,"flex","items-center","gap-2","px-4"],["shape","circle",1,"!w-5","!h-5",3,"image"],[1,"text-xs","font-bold","uppercase","whitespace-nowrap","text-color"],["size","sm",3,"calidadDelayRt","calidadDelayInstrument"],["mode","tag","tagSize","sm",3,"value","colored","tabularNums"],["width","3.5rem","height","1.125rem","borderRadius","1rem"],["customClass","text-xs font-semibold text-color",3,"value","showCurrency","colored","flash","tabularNums","minNumberOfDecimals","maxNumberOfDecimals"],["width","3.5rem","height","1rem","borderRadius","0.5rem"]],template:function(r,o){if(r&1&&(Be(0),i(1,"div",0),s(2,"p-avatar",1),i(3,"span",2),R(4),n(),s(5,"lib-market-data-indicator",3),P(6,jt,1,3,"lib-label-percentage",4)(7,Ut,1,0,"p-skeleton",5),P(8,Qt,1,7,"lib-label-price",6)(9,Jt,1,0,"p-skeleton",7),n()),r&2){let l=Fe(o.equitiesResearchStore.selectRtEntity(o.entry().codigo));a(2),_("image",o.entry().urlImagen),a(2),k(o.entry().descripcion),a(),_("calidadDelayRt",l==null?null:l.calidadDelayRt)("calidadDelayInstrument",l==null?null:l.calidadDelay),a(),S((l==null?null:l.dayDiffPercentage)!==null&&(l==null?null:l.dayDiffPercentage)!==void 0?6:7),a(2),S((l==null?null:l.lastPrice)!==null&&(l==null?null:l.lastPrice)!==void 0?8:9);}},dependencies:[Et,pt,J,Q,L,Y,St],encapsulation:2});}return e;})();var Zt=["orderDetailDialog"],Kt=["movementDetail"],Yt=["assetsChart"],ei=e=>({hidden:e}),ie=()=>[1,2,3],le=()=>[],ti=(e,c)=>c.accountId,ii=(e,c)=>c.codigo;function ni(e,c){e&1&&(i(0,"div",34),s(1,"p-skeleton",84),n()),e&2&&(a(),_("shape","rectangle")("borderRadius","0px"));}function oi(e,c){if(e&1&&(i(0,"div",35)(1,"div",85),We(2,86)(3,86),n()()),e&2){E();let t=ke(143);_("speed",.5)("dragEnabled",!1),a(2),_("ngTemplateOutlet",t),a(),_("ngTemplateOutlet",t);}}function ai(e,c){if(e&1&&(i(0,"span"),Le(1,25),s(2,"strong",87),De(),n()),e&2){let t=E(2);a(2),Ge(t.userName()),we(1);}}function ri(e,c){e&1&&(i(0,"span"),g(1,26),n());}function li(e,c){if(e&1&&(i(0,"h1",37),P(1,ai,3,1,"span")(2,ri,2,0,"span"),n()),e&2){let t=E();a(),S(t.userName()?1:2);}}function si(e,c){if(e&1&&s(0,"fa-icon",88),e&2){let t=E();_("icon",t.redirectIcon);}}function _i(e,c){e&1&&s(0,"p-skeleton",49);}function ci(e,c){if(e&1&&s(0,"lib-label-price",50),e&2){let t,r=E();_("value",(t=r.investmentsWidgetHomeStore.totalSummarySelectedAccounts())==null?null:t.totalEuros)("currency",r.currency())("colored",!1)("maxNumberOfDecimals",r.financialDecimalLimits.Balance);}}function di(e,c){e&1&&(i(0,"div",53),s(1,"p-skeleton",89)(2,"p-skeleton",90),n()),e&2&&(a(),_("borderRadius","6px"));}function mi(e,c){if(e&1&&(i(0,"div",53),s(1,"lib-label-percentage",91)(2,"lib-label-price",92),n()),e&2){let t=E();a(),_("value",t.investmentsWidgetHomeStore.totalSummarySelectedAccounts().dayEurosReturn.percentage),a(),_("value",t.investmentsWidgetHomeStore.totalSummarySelectedAccounts().dayEurosReturn.value)("addPlusSymbol",!0)("currency",t.currency())("colored",!0)("maxNumberOfDecimals",t.financialDecimalLimits.Balance)("tabularNums",!0);}}function ui(e,c){e&1&&(i(0,"div",53),s(1,"p-skeleton",89)(2,"p-skeleton",56),n()),e&2&&(a(),_("borderRadius","6px"));}
1function pi(e,c){if(e&1&&(i(0,"div",53),s(1,"lib-label-percentage",91)(2,"lib-label-price",92),n()),e&2){let t=E();a(),_("value",t.investmentsWidgetHomeStore.totalSummarySelectedAccounts().gainLossEurosReturn.percentage),a(),_("value",t.investmentsWidgetHomeStore.totalSummarySelectedAccounts().gainLossEurosReturn.value)("addPlusSymbol",!0)("currency",t.currency())("colored",!0)("maxNumberOfDecimals",t.financialDecimalLimits.Balance)("tabularNums",!0);}}function Ei(e,c){e&1&&s(0,"p-skeleton",56);}function gi(e,c){if(e&1&&s(0,"lib-label-price",57),e&2){let t=E();_("value",t.cashStore.cashTotalSummary().disponibleEuros)("currency",t.currency())("colored",!1)("maxNumberOfDecimals",t.financialDecimalLimits.Balance)("tabularNums",!0);}}function Pi(e,c){e&1&&s(0,"p-skeleton",56);}function Si(e,c){if(e&1&&s(0,"lib-label-price",57),e&2){let t=E();_("value",t.cashStore.cashTotalSummary().efectivoEuros)("currency",t.currency())("colored",!1)("maxNumberOfDecimals",t.financialDecimalLimits.Balance)("tabularNums",!0);}}function fi(e,c){e&1&&(i(0,"tr")(1,"td"),s(2,"p-skeleton",93),n(),i(3,"td"),s(4,"p-skeleton",93),n(),i(5,"td"),s(6,"p-skeleton",93),n(),i(7,"td"),s(8,"p-skeleton",93),n()());}function Ci(e,c){e&1&&x(0,fi,9,0,"tr",null,$),e&2&&N(V(0,ie));}function Ai(e,c){if(e&1){let t=G();i(0,"tr",94),M("click",function(){let o=v(t).$implicit,l=E(2);return T(l.selectAccountAndGoToInvestments(o.accountId));}),i(1,"td")(2,"div",95)(3,"p",96),R(4),n(),i(5,"p",97),R(6),n()()(),i(7,"td",98),s(8,"lib-label-price",99),n(),i(9,"td",98)(10,"div",100),s(11,"lib-label-price",101)(12,"lib-label-percentage",102),n()(),i(13,"td",98)(14,"div",100),s(15,"lib-label-price",103)(16,"lib-label-percentage",102),n()()();}if(e&2){let t=c.$implicit,r=E(2);a(4),k(t.alias),a(2),U("",t.accountId," - ",t.role),a(2),_("value",t.totalEuros)("currency",r.currency())("colored",!1)("maxNumberOfDecimals",r.financialDecimalLimits.Balance),a(3),_("value",t.gainLossEurosReturn.value)("currency",r.currency())("maxNumberOfDecimals",r.financialDecimalLimits.Balance)("colored",!0)("addPlusSymbol",!0),a(),_("value",t.gainLossEurosReturn.percentage),a(3),_("value",t.dayEurosReturn.value)("currency",r.currency())("colored",!0)("addPlusSymbol",!0)("maxNumberOfDecimals",r.financialDecimalLimits.Balance),a(),_("value",t.dayEurosReturn.percentage);}}
1function hi(e,c){if(e&1&&x(0,Ai,17,19,"tr",null,ti),e&2){let t=E().investmentsWidgetHomeStore.totalSummaryByAccount();N(t);}}function vi(e,c){e&1&&(i(0,"div",71)(1,"div",104),s(2,"p-skeleton",105),n(),i(3,"div",106)(4,"div",107),s(5,"p-skeleton",108)(6,"p-skeleton",109),n(),i(7,"div",107),s(8,"p-skeleton",108)(9,"p-skeleton",109),n(),i(10,"div",107),s(11,"p-skeleton",108)(12,"p-skeleton",109),n(),i(13,"div",107),s(14,"p-skeleton",108)(15,"p-skeleton",109),n()()());}function Ti(e,c){e&1&&s(0,"app-placeholder-message",72);}function Mi(e,c){if(e&1&&s(0,"fa-icon",88),e&2){let t=E();_("icon",t.redirectIcon);}}function yi(e,c){e&1&&s(0,"p-skeleton",110);}function Ri(e,c){e&1&&(i(0,"div",77),x(1,yi,1,0,"p-skeleton",110,$),n()),e&2&&(a(),N(V(0,ie)));}function bi(e,c){if(e&1){let t=G();i(0,"app-movement-preview-item",112),M("click",function(){let o=v(t).$implicit,l=E(2);return T(l.showMovementDetail(o));}),n();}if(e&2){let t=c.$implicit;_("movement",t);}}function Oi(e,c){if(e&1&&x(0,bi,1,1,"app-movement-preview-item",111,$),e&2){let t=E();N(t.movementsWidget()??V(0,le));}}function Ii(e,c){if(e&1&&(i(0,"div",78),s(1,"app-placeholder-message",113),n()),e&2){let t=E();a(),_("preset","error")("message",t.movementsStore.error());}}function xi(e,c){e&1&&(i(0,"div",78),s(1,"app-placeholder-message",114),n());}function Ni(e,c){if(e&1&&s(0,"fa-icon",88),e&2){let t=E();_("icon",t.redirectIcon);}}function Hi(e,c){e&1&&s(0,"p-skeleton",110);}function $i(e,c){e&1&&(i(0,"div",77),x(1,Hi,1,0,"p-skeleton",110,$),n()),e&2&&(a(),N(V(0,ie)));}function Vi(e,c){if(e&1){let t=G();i(0,"app-order-preview-item",116),M("click",function(){let o=v(t).$implicit,l=E(2);return T(l.showOrderDetail(o));}),n();}if(e&2){let t=c.$implicit;_("order",t);}}function Wi(e,c){e&1&&(i(0,"div",78),s(1,"app-placeholder-message",117),n());}function Li(e,c){if(e&1&&(x(0,Vi,1,1,"app-order-preview-item",115,$),P(2,Wi,2,0,"div",78)),e&2){let t,r=E();N(r.activitiesWidget()??V(1,le)),a(2),S(((t=r.activitiesWidget())==null?null:t.length)===0?2:-1);}}function Di(e,c){if(e&1&&s(0,"fa-icon",88),e&2){let t=E();_("icon",t.redirectIcon);}}function Gi(e,c){e&1&&s(0,"p-skeleton",110);}function wi(e,c){e&1&&(i(0,"div",77),x(1,Gi,1,0,"p-skeleton",110,$),n()),e&2&&(a(),N(V(0,ie)));}function ki(e,c){if(e&1&&s(0,"app-payment-preview-item",118),e&2){let t=c.$implicit;_("payment",t);}}function Bi(e,c){e&1&&(i(0,"div",78),s(1,"app-placeholder-message",119),n());}function Fi(e,c){if(e&1&&(x(0,ki,1,1,"app-payment-preview-item",118,$),P(2,Bi,2,0,"div",78)),e&2){let t,r=E();N(r.paymentsWidget()??V(1,le)),a(2),S(((t=r.paymentsWidget())==null?null:t.length)===0?2:-1);}}function Xi(e,c){if(e&1){let t=G();i(0,"app-ticker-item",121),M("click",function(){let o=v(t).$implicit,l=E(2);return T(l.goToEquityIndex(o));}),n();}if(e&2){let t=c.$implicit;_("entry",t);}}function zi(e,c){if(e&1&&(i(0,"div",85),x(1,Xi,1,1,"app-ticker-item",120,ii),n()),e&2){let t=E();a(),N(t.compositionsItemsCarousel());}}var kn=(()=>{class e{tourSvc=f(At);destroyRef=f(Ve);equitiesResearchStore=f(ee);accountSettingsStore=f(vt);accountSettingsSvc=f(Ct);router=f(Ke);localStorageService=f($t);movementsStore=f(It);activitiesStore=f(Rt);paymentsStore=f(Nt);dataStorage=f(nt);investmentsWidgetHomeStore=f(Ot);cashStore=f(bt);orderDetailsStore=f(xt);generalSvc=f(ut);userStore=f(Vt);locale=f(qe);orderDetailDialog;movementDetailDlg;assetsChart;redirectIcon=gt;accountsTableColumns=[{title:"Cuenta",side:"left"},{title:"Posici\xF3n",side:"right"},{title:"Ganancia / P\xE9rdida",side:"right"},{title:"Var. hoy",side:"right"}];userName=H(void 0);currency=H("EUR");showGreeting=H(!sessionStorage.getItem("home_greeted"));currencySymbol=A(()=>this.generalSvc.getCurrencySymbol(this.currency()));activeChartTab=H("assets");assetsChartData=H([]);isChartsLoading=H(!0);isChartEmpty=H(!1);isChartViewReady=H(!1);intervalChartRendering=null;timeOutChartRendering=null;compositionsItemsCarousel=this.equitiesResearchStore.compositionsItemsCarousel;movementsWidget=this.movementsStore.dataWidget;activitiesWidget=this.activitiesStore.dataWidget.activities;paymentsWidget=this.paymentsStore.dataWidget;isInvestmentsLoading=A(()=>this.investmentsWidgetHomeStore.isLoading()||this.investmentsWidgetHomeStore.data()!=null&&!this.investmentsWidgetHomeStore.canShowInvestmentsUi());isCashLoading=A(()=>this.cashStore.isLoading());isGlobalPositionLoading=A(()=>this.isInvestmentsLoading()||this.isCashLoading());globalPositionTitle=A(()=>{let t=this.accountSettingsStore.selected();return!t||t.tipo===re.GRUPO&&t.id===Mt?"Posici\xF3n global":t.tipo===re.GRUPO?"Posici\xF3n grupo de cuentas":"Posici\xF3n cuenta";});financialDecimalLimits=h;async ngOnInit(){this.tourSvc.startIfPending("welcome");let t=this.userStore.profilePersonalInformation().name;t&&this.userName.set(t),sessionStorage.setItem("home_greeted","1"),this.accountSettingsSvc.accountChanged$.pipe(it(this.destroyRef)).subscribe(async()=>{this.resetChart(),this.isChartViewReady.set(!0),this.cashStore.loadCashData(),this.investmentsWidgetHomeStore.loadInvestmentsWidgetHome(),this.loadMovementsWidget(),await this.loadActivitiesWidget(),this.loadPaymentsWidget();}),this.loadInvestmentsWidget(),this.cashStore.loadCashData(),this.loadEquitiesResearch(),this.loadMovementsWidget(),await this.loadActivitiesWidget(),this.loadPaymentsWidget();}ngOnDestroy(){this.investmentsWidgetHomeStore.leaveHomePage(),this.equitiesResearchStore.leaveEquitiesResearchPage(),this.resetChart();}ngAfterViewInit(){this.isChartViewReady.set(!0);}initializeChartEffect=Ue(()=>{let t=this.investmentsWidgetHomeStore.canShowInvestmentsUi(),r=!this.cashStore.isLoading();!this.isChartViewReady()||!t||!r||je(()=>{this.timeOutChartRendering=setTimeout(()=>{this.loadChartData();},300);});});loadInvestmentsWidget(){this.investmentsWidgetHomeStore.enterHomePage(),this.investmentsWidgetHomeStore.loadInvestmentsWidgetHome();}loadEquitiesResearch(){this.equitiesResearchStore.enterEquitiesResearchPage(),this.equitiesResearchStore.loadCompositionZones();}resetChart(){this.intervalChartRendering&&clearInterval(this.intervalChartRendering),this.timeOutChartRendering&&clearTimeout(this.timeOutChartRendering),this.intervalChartRendering=null,this.isChartsLoading.set(!0),this.isChartEmpty.set(!1),this.isChartViewReady.set(!1),this.timeOutChartRendering=null;}loadChartData(){switch(this.intervalChartRendering&&clearInterval(this.intervalChartRendering),this.activeChartTab()){case"assets":{this.renderAssetsChart(),this.intervalChartRendering=setInterval(()=>{this.renderAssetsChart();},1e4);break;}case"equities":this.renderEquitiesCompositionChart(),this.intervalChartRendering=setInterval(()=>{this.renderEquitiesCompositionChart();},1e4);break;case"funds":this.renderFundsCompositionChart(),this.intervalChartRendering=setInterval(()=>{this.renderFundsCompositionChart();},1e4);break;case"currencies":{this.renderCurrenciesChart(),this.intervalChartRendering=setInterval(()=>{this.renderCurrenciesChart();},1e4);break;}}}renderAssetsChart(){let t=[],r=0,o=X(this.locale),l=this.investmentsWidgetHomeStore.totalSummarySelectedAccounts()?.totalEurosByGroup?.size;if(l===0){this.isChartsLoading.set(!1),this.isChartEmpty.set(!0);return;}else if(l===1&&this.investmentsWidgetHomeStore.totalSummarySelectedAccounts()?.totalEurosByGroup?.get("CASH")!=null&&this.investmentsWidgetHomeStore.totalSummarySelectedAccounts()?.totalEurosByGroup?.get("CASH")?.totalEuros===0){this.isChartsLoading.set(!1),this.isChartEmpty.set(!0);return;}this.investmentsWidgetHomeStore.totalSummarySelectedAccounts()?.totalEurosByGroup?.forEach(u=>{t.push({value:u.percentage??0,label:u.description,tooltip:u.percentage!=null?`${Number(u.percentage.toFixed(2)).toLocaleStr
1ing(o)}% (${this.generalSvc.formatCurrency(u.totalEuros,this.currency(),this.locale,h.Balance,h.Balance)})`:void 0,color:F(`chart-pallete-${r%10}`)}),r++;}),t.sort((u,y)=>y.value-u.value),this.isChartsLoading()&&this.isChartsLoading.set(!1),this.isChartEmpty()&&this.isChartEmpty.set(!1),this.assetsChart.renderChart(t);}renderCurrenciesChart(){let t=[],r=0,o=X(this.locale),l=this.cashStore.cashSubtotalsByDivisaItems();if(l.reduce((C,d)=>C+(d.disponible??0),0)==0){this.isChartsLoading.set(!1),this.isChartEmpty.set(!0);return;}let y=l.reduce((C,d)=>C+(d.disponible??0),0);l.forEach(C=>{let d=(C.disponible??0)/y*100;t.push({value:d,label:C.divisa?.descripcion??"",tooltip:Number(d.toFixed(2)).toLocaleString(o)+"% ("+this.generalSvc.formatCurrency(C.disponible??0,C.divisa?.codigo??"EUR",this.locale,h.Balance,h.Balance)+")",color:F(`chart-pallete-${r%10}`)}),r++;}),t.sort((C,d)=>d.value-C.value),this.isChartsLoading()&&this.isChartsLoading.set(!1),this.isChartEmpty()&&this.isChartEmpty.set(!1),this.assetsChart.renderChart(t);}renderEquitiesCompositionChart(){let t=[],r=X(this.locale),l=this.investmentsWidgetHomeStore.data()?.resumen?.grupos?.find(d=>d.grupoId===oe.V)?.instrumentos??[];if(l.length===0){this.isChartsLoading.set(!1),this.isChartEmpty.set(!0);return;}let u={},y=0;if(l.forEach(d=>{let p=d.instrumento?.sector;!p||!p.codigo||(u[p.codigo]||(u[p.codigo]={codigo:p.codigo,description:p.descripcion||p.codigo,totalEuros:0}),u[p.codigo].totalEuros+=d.actualEuros?.total??0,y+=d.actualEuros?.total??0);}),Object.keys(u).length===0){this.isChartsLoading.set(!1),this.isChartEmpty.set(!0);return;}let C=0;Object.values(u).forEach(d=>{let p=d.totalEuros/y*100;t.push({value:p??0,label:d.description,tooltip:p!=null?`${Number(p.toFixed(2)).toLocaleString(r)}% (${this.generalSvc.formatCurrency(d.totalEuros,this.currency(),this.locale,h.Balance,h.Balance)})`:void 0,color:F(`chart-pallete-${C%10}`)}),C++;}),t.sort((d,p)=>p.value-d.value),this.isChartsLoading()&&this.isChartsLoading.set(!1),this.isChartEmpty()&&this.isChartEmpty.set(!1),this.assetsChart.renderChart(t);}renderFundsCompositionChart(){let t=[],o=this.investmentsWidgetHomeStore.data()?.resumen?.grupos?.find(d=>d.grupoId===oe.Fo)?.instrumentos??[];if(o.length===0){this.isChartsLoading.set(!1),this.isChartEmpty.set(!0);return;}let l={},u=0;if(o.forEach(d=>{let p=d.fondo?.clase;!p||!p.codigo||(l[p.codigo]||(l[p.codigo]={codigo:p.codigo,description:p.descripcion||p.codigo,totalEuros:0}),l[p.codigo].totalEuros+=d.actualEuros?.total??0,u+=d.actualEuros?.total??0);}),Object.keys(l).length===0){this.isChartsLoading.set(!1),this.isChartEmpty.set(!0);return;}let y=X(this.locale),C=0;Object.values(l).forEach(d=>{let p=d.totalEuros/u*100;t.push({value:p??0,label:d.description,tooltip:p!=null?`${Number(p.toFixed(2)).toLocaleString(y)}% (${this.generalSvc.formatCurrency(d.totalEuros,this.currency(),this.locale,h.Balance,h.Balance)})`:void 0,color:F(`chart-pallete-${C%10}`)}),C++;}),t.sort((d,p)=>p.value-d.value),this.isChartsLoading()&&this.isChartsLoading.set(!1),this.isChartEmpty()&&this.isChartEmpty.set(!1),this.assetsChart.renderChart(t);}loadMovementsWidget(){this.movementsStore.loadMovementsWidget();}async loadActivitiesWidget(){this.paymentsStore.setWidgetLoading(!0),await this.investmentsWidgetHomeStore.loadOrdersWidgetHome(3);}async refreshOrders(){await this.investmentsWidgetHomeStore.loadOrdersWidgetHome(3);}loadPaymentsWidget(){this.paymentsStore.loadPaymentsWidget(3);}setActiveChartTab(t){this.activeChartTab.set(t),this.isGlobalPositionLoading()||this.loadChartData();}goToInvestments(){let t=this.localStorageService.getCurrentTokenIdFromRoute();if(!t){console.warn("No tokenId found, redirecting to login"),this.router.navigate(["/login"]);return;}this.router.navigate(["/private-area",t,"investments"]);}async selectAccountAndGoToInvestments(t){let r=this.localStorageService.getCurrentTokenIdFromRoute();if(!r){console.warn("No tokenId found, redirecting to login"),this.router.navigate(["/login"]);return;}this.router.navigate(["/private-area",r,"investments"],{queryParams:{changeAccount:t}});}goToMovements(){let t=this.localStorageService.getCurrentTokenIdFromRoute();if(!t){console.warn("No tokenId found, redirecting to login"),this.router.navigate(["/login"]);return;}this.router.navigate(["/private-area",t,"transactions"],{queryParams:{type:"movements"}});}goToOrders(){let t=this.localStorageService.getCurrentTokenIdFromRoute();if(!t){console.warn("No tokenId found, redirecting to login"),this.router.navigate(["/login"]);return;}this.router.navigate(["/private-area",t,"transactions"],{queryParams:{type:"orders"}});}goToPayments(){let t=this.localStorageService.getCurrentTokenIdFromRoute();if(!t){console.warn("No tokenId found, redirecting to login"),this.router.navigate(["/login"]);return;}this.router.navigate(["/private-area",t,"payments"]);}
1goToEquityIndex(t){let r=this.localStorageService.getCurrentTokenIdFromRoute();if(!r){console.warn("No tokenId found, redirecting to login"),this.router.navigate(["/login"]);return;}this.router.navigate(["/private-area",r,"equities","detail",t.codigo]);}showOrderDetail(t){this.orderDetailDialog.showDialog(t);}hideOrderDetail(){this.orderDetailsStore.resetData();}async showMovementDetail(t){this.movementsStore.setItemDetails(t),this.movementDetailDlg.showDialog();}hideMovementDetail(){this.movementsStore.clearItemDetails();}static ɵfac=function(r){return new(r||e)();};static ɵcmp=I({type:e,selectors:[["app-home"]],viewQuery:function(r,o){if(r&1&&(z(Zt,5),z(Kt,5),z(Yt,5)),r&2){let l;q(l=j())&&(o.orderDetailDialog=l.first),q(l=j())&&(o.movementDetailDlg=l.first),q(l=j())&&(o.assetsChart=l.first);}},decls:148,vars:33,consts:()=>{let t;t="Ver inversiones";let r;r="Error";let o;o="No hay datos para mostrar";let l;l="Ver todo";let u;u="Ver todo";let y;y="Ver todo";let C;C="Valor total de todas tus posiciones de inversi\xF3n y efectivo en todas las cuentas seleccionadas.";let d;d="Variaci\xF3n hoy";let p;p="Variaci\xF3n en el d\xEDa de las posiciones de Renta Variable, ETFs y derivados que tienes en las cuentas seleccionadas. Dato actualizado con el \xFAltimo precio disponible para cada producto. ";let se;se="Ganancia / P\xE9rdida";let _e;_e="Beneficio o p\xE9rdida de todas las posiciones que tienes actualmente en las cuentas seleccionadas desde que invertiste en ellas. Dato actualizado con el \xFAltimo precio disponible para cada producto.";let ce;ce="Disponible para operar";let de;de="Importe de efectivo disponible para realizar nuevas operaciones de compra o adquisici\xF3n de activos, considerando el efectivo, valoraci\xF3n del fondo vinculado, importe bloqueado, operaciones realizadas y pendientes.";let me;me="Efectivo";let ue;ue="Saldo total de efectivo incluyendo operaciones pendientes de liquidar e importes bloqueados por operaciones pendientes de ejecutar.";let pe;pe="Cuentas";let Ee;Ee="Resumen de cada una de las cuentas seleccionadas con su valoraci\xF3n actual.";let ge;ge="Activos";let Pe;Pe="Renta variable";let Se;Se="Fondos";let fe;fe="Divisas";let Ce;Ce="Movimientos";let Ae;Ae="\xDAltimos movimientos de las cuentas seleccionadas.";let he;he="\xD3rdenes";let ve;ve="\xDAltimas \xF3rdenes introducidas de las cuentas seleccionadas.";let Te;Te="Transferencias";let Me;Me="\xDAltimas transferencias y traspasos realizados en las cuentas seleccionadas.";let ye;ye=" \xA1Hola de nuevo, "+"\uFFFD#2\uFFFD"+""+"\uFFFD0\uFFFD"+""+"\uFFFD/#2\uFFFD"+"!";let Re;Re="\xA1Hola de nuevo!";let be;be="Error";let Oe;Oe="Sin datos";let Ie;Ie="No hay datos para mostrar en este momento";let xe;xe="Sin datos";let Ne;Ne="No hay datos para mostrar en este momento";let He;He="Sin datos";let $e;return $e="No hay datos para mostrar en este momento",[["assetsChart",""],["t
1ickerItems",""],["orderDetailDialog",""],["movementDetail",""],C,d,p,se,_e,ce,de,me,ue,pe,Ee,ge,Pe,Se,fe,Ce,Ae,he,ve,Te,Me,ye,Re,[1,"fixed","inset-0","z-0","overflow-hidden","pointer-events-none","bg-[linear-gradient(241deg,#fafafa_0%,#e8ebee_100%)]","dark:bg-[linear-gradient(241deg,var(--p-surface-950)_0%,var(--p-surface-900)_100%)]"],[1,"absolute","w-[803px]","h-[803px]","-left-[150px]","top-[532px]","rounded-full","bg-[var(--color-primary,#009ca3)]","opacity-10","blur-[122.5px]","dark:opacity-10","blob-drift"],[1,"absolute","flex","items-center","justify-center","w-[816px]","h-[725px]","left-[492px]","-top-[362px]"],[1,"w-[760px]","h-[343px]","rounded-[48px]","opacity-15","blur-[64px]","bg-[linear-gradient(91deg,var(--p-primary-200,#80ced1)_1%,var(--p-primary-500,#009ca3)_48%)]","dark:opacity-10","blob-float"],[1,"absolute","flex","items-center","justify-center","w-[816px]","h-[725px]","left-[1173px]","top-[31px]"],[1,"w-[760px]","h-[343px]","rounded-[48px]","opacity-20","blur-[64px]","bg-[linear-gradient(91deg,var(--p-primary-400,#2badb2)_1%,var(--p-primary-800,#004e52)_48%)]","dark:opacity-15","blob-wander"],[1,"bg-surface-0","dark:bg-surface-900","absolute","top-[60px]","left-0","w-full","h-[32px]","border-b","border-surface-200","dark:border-surface-700"],[1,"relative","overflow-x-auto","hide-scrollbar","whitespace-nowrap","h-full"],["autoScrollX","",1,"relative","overflow-x-auto","hide-scrollbar","whitespace-nowrap","h-full",3,"speed","dragEnabled"],[1,"relative","z-1","py-8","mt-[32px]"],[1,"text-2xl","text-color","mt-0","mb-8"],["id","global-position-card",1,"card-basic","flex","flex-col","gap-2","!bg-surface-0","dark:!bg-surface-900"],[1,"flex","items-start","justify-between","gap-x-2","sm:gap-x-4"],[1,"flex","items-center","gap-2"],[1,"text-xl","text-color","font-semibold","font-primary"],[3,"hasCustomContent"],["tooltip-content",""],[1,"text-sm"],["label",t,"severity","secondary","variant","text",3,"onClick"],["pTemplate","icon"],[1,"flex","flex-col","gap-3"],[1,"flex","flex-col","gap-2"],["width","260px","height","40px"],["customClass","text-3xl sm:text-4xl text-color font-semibold font-secondary",3,"value","currency","colored","maxNumberOfDecimals"],[1,"grid","grid-cols-2","md:grid-cols-4","gap-x-6","gap-y-3"],[1,"flex","flex-col","gap-0.5"],[1,"flex","items-center","gap-1"],[1,"text-sm","text-muted-color","font-semibold","font-primary"],["color","surface","size","sm",3,"hasCustomContent"],["width","120px","height","22px"],["customClass","text-base text-color font-medium font-secondary",3,"value","currency","colored","maxNumberOfDecimals","tabularNums"],[1,"grid","grid-cols-1","xl:grid-cols-12","gap-4","mt-4"],["data-tour-id","accounts-card",1,"xl:col-span-6","card-basic","flex","flex-col","gap-2","!bg-surface-0","dark:!bg-surface-900"],[1,"flex","items-center","justify-between","gap-x-4"],[1,"-mx-2",3,"columns","fontSize","spacingSize"],["table-body",""],["data-tour-id","charts-card",1,"xl:col-span-6","card-basic","flex","flex-col","gap-2","!bg-surface-0","dark:!bg-surface-900"],["value","assets",1,"-mt-4","-mx-5",3,"scrollable"],["value","assets",3,"click"],["value","equities",3,"click"],["value","funds",3,"click"],["value","currencies",3,"click"],[1,"flex","flex-col","w-full",3,"ngClass"],["customClassChart","h-[175px] aspect-square self-center my-auto",3,"doughnutType","legendType","unit","textSize"],[1,"flex","w-full","items-center","justify-center","gap-8"],["title",r,"message",o,"preset","error"],[1,"grid","grid-cols-1","md:grid-cols-2","xl:grid-cols-3","gap-4","mt-4"],["data-tour-id","movements-card",1,"card-basic","flex","flex-col","gap-2","!bg-surface-0","dark:!bg-surface-900"],["label",l,"severity","secondary","variant","text","size","small",3,"onClick"],[1,"divide-y","divide-surface-200","dark:divide-surface-700","h-full"],[1,"flex","flex-col","items-center","justify-center","h-full","gap-2"],[1,"flex","items-center","justify-center","h-full"],["data-tour-id","orders-card",1,"card-basic","flex","flex-col","gap-2","!bg-surface-0","dark:!bg-surface-900"],["label",u,"severity","secondary","variant","text","size","small",3,"onClick"],["data-tour-id","payments-card",1,"card-basic","flex","flex-col","gap-2","!bg-surface-0","dark:!bg-surface-900"],["label",y,"severity","secondary","variant","text","size","small",3,"onClick"],[3,"closedDialog"],["height","32px","width","100%",1,"w-full",3,"shape","borderRadius"],[1,"flex","items-center","h-full"],[3,"ngTemplateOutlet"],[1,"font-semibold"],[3,"icon"],["width","64px","height","22px",3,"borderRadius"],["width","100px","height","22px"],["mode","tag","size","sm",3,"value"],["customClass","text-base font-medium font-secondary",3,"value","addPlusSymbol","currency","colored","maxNumberOfDecimals","tabularNums"],["width","100%","height","22px"],[3,"click"],[1,"flex","flex-col"],[1,"text-base","font-bold"],[1,"text-muted-color"],[1,"text-right"],[3,"value","currency","colored","maxNumberOfDecimals"],[1,"flex","gap-2","justify-end"],[3,"value","currency","maxNumberOfDecimals","colored","addPlusSymbol"],["mode","tag","tagSize","sm",3,"value"],[3,"value","currency","colored","addPlusSymbol","maxNumberOfDecimals"],[1,"flex","flex-col","w-full","items-center","justify-center","h-[175px]"],["shape","circle","size","12rem"],[1,"flex","flex-col","justify-between","w-full","gap-2"],[1,"flex","gap-2"],["width","10%","shape","rounded","height","22px"],["width","60%","shape","rounded","height","22px"],["height","3.5rem","width","100%",1,"w-full"],[1,"-mx-5","px-5",3,"movement"],[1,"-mx-5","px-5",3,"click","movement"],["title",be,3,"preset","message"],["title",Oe,"message",Ie],[1,"-mx-5","px-5",3,"order"],[1,"-mx-5","px-5",3,"click","order"],["title",xe,"message",Ne],[1,"-mx-5","px-5",3,"payment"],["title",He,"message",$e],[1,"curs
1or-pointer",3,"entry"],[1,"cursor-pointer",3,"click","entry"]];},template:function(r,o){if(r&1){let l=G();i(0,"div",27),s(1,"div",28),i(2,"div",29),s(3,"div",30),n(),i(4,"div",31),s(5,"div",32),n()(),i(6,"div",33),P(7,ni,2,2,"div",34)(8,oi,4,4,"div",35),n(),i(9,"section",36),P(10,li,3,1,"h1",37),i(11,"div",38)(12,"div",39)(13,"div",40)(14,"h6",41),R(15),n(),i(16,"lib-info-tooltip",42),b(17,43),i(18,"p",44),g(19,4),n(),O(),n()(),i(20,"p-button",45),M("onClick",function(){return v(l),T(o.goToInvestments());}),D(21,si,1,1,"ng-template",46),n()(),i(22,"div",47)(23,"div",48),P(24,_i,1,0,"p-skeleton",49)(25,ci,1,4,"lib-label-price",50),n(),i(26,"div",51)(27,"div",52)(28,"div",53)(29,"span",54),g(30,5),n(),i(31,"lib-info-tooltip",55),b(32,43),i(33,"p",44),g(34,6),n(),O(),n()(),P(35,di,3,1,"div",53)(36,mi,3,7,"div",53),n(),i(37,"div",52)(38,"div",53)(39,"span",54),g(40,7),n(),i(41,"lib-info-tooltip",55),b(42,43),i(43,"p",44),g(44,8),n(),O(),n()(),P(45,ui,3,1,"div",53)(46,pi,3,7,"div",53),n(),i(47,"div",52)(48,"div",53)(49,"span",54),g(50,9),n(),i(51,"lib-info-tooltip",55),b(52,43),i(53,"p",44),g(54,10),n(),O(),n()(),P(55,Ei,1,0,"p-skeleton",56)(56,gi,1,5,"lib-label-price",57),n(),i(57,"div",52)(58,"div",53)(59,"span",54),g(60,11),n(),i(61,"lib-info-tooltip",55),b(62,43),i(63,"p",44),g(64,12),n(),O(),n()(),P(65,Pi,1,0,"p-skeleton",56)(66,Si,1,5,"lib-label-price",57),n()()()(),i(67,"div",58)(68,"div",59)(69,"div",60)(70,"div",40)(71,"h6",41),g(72,13),n(),i(73,"lib-info-tooltip",42),b(74,43),i(75,"p",44),g(76,14),n(),O(),n()()(),i(77,"lib-table",61),b(78,62),P(79,Ci,2,1)(80,hi,2,0),O(),n()(),i(81,"div",63)(82,"p-tabs",64)(83,"p-tablist")(84,"p-tab",65),M("click",function(){return v(l),T(o.setActiveChartTab("assets"));}),g(85,15),n(),i(86,"p-tab",66),M("click",function(){return v(l),T(o.setActiveChartTab("equities"));}),g(87,16),n(),i(88,"p-tab",67),M("click",function(){return v(l),T(o.setActiveChartTab("funds"));}),g(89,17),n(),i(90,"p-tab",68),M("click",function(){return v(l),T(o.setActiveChartTab("currencies"));}),g(91,18),n()()(),i(92,"div",69),s(93,"lib-pie-chart",70,0),n(),P(95,vi,16,0,"div",71)(96,Ti,1,0,"app-placeholder-message",72),n()(),i(97,"div",73)(98,"div",74)(99,"div",60)(100,"div",40)(101,"h6",41),g(102,19),n(),i(103,"lib-info-tooltip",42),b(104,43),i(105,"p",44),g(106,20),n(),O(),n()(),i(107,"p-button",75),M("onClick",function(){return v(l),T(o.goToMovements());}),D(108,Mi,1,1,"ng-template",46),n()(),i(109,"div",76),P(110,Ri,3,1,"div",77)(111,Oi,2,1)(112,Ii,2,2,"div",78)(113,xi,2,0,"div",78),n()(),i(114,"div",79)(115,"div",60)(116,"div",40)(117,"h6",41),g(118,21),n(),i(119,"lib-info-tooltip",42),b(120,43),i(121,"p",44),g(122,22),n(),O(),n()(),i(123,"p-button",80),M("onClick",function(){return v(l),T(o.goToOrders());}),D(124,Ni,1,1,"ng-template",46),n()(),i(125,"div",76),P(126,$i,3,1,"div",77)(127,Li,3,2),n()(),i(128,"div",81)(129,"div",60)(130,"div",40)(131,"h6",41),g(132,23),n(),i(133,"lib-info-tooltip",42),b(134,43),i(135,"p",44),g(136,24),n(),O(),n()(),i(137,"p-button",82),M("onClick",function(){return v(l),T(o.goToPayments());}),D(138,Di,1,1,"ng-template",46),n()(),i(139,"div",76),P(140,wi,3,1,"div",77)(141,Fi,3,2),n()()()(),D(142,zi,3,0,"ng-template",null,1,ze),i(144,"app-order-detail",83,2),M("closedDialog",function(){return v(l),T(o.hideOrderDetail());}),n(),i(146,"app-movement-detail",83,3),M("closedDialog",function(){return v(l),T(o.hideMovementDetail());}),n();}if(r&2){let l;a(7),S(o.equitiesResearchStore.isLoading()?7:8),a(3),S(o.showGreeting()?10:-1),a(5),k(o.globalPositionTitle()),a(),_("hasCustomContent",!0),a(8),S(o.isGlobalPositionLoading()?24:25),a(7),_("hasCustomContent",!0),a(4),S(o.isInvestmentsLoading()?35:36),a(6),_("hasCustomContent",!0),a(4),S(o.isInvestmentsLoading()?45:46),a(6),_("hasCustomContent",!0),a(4),S(o.isCashLoading()?55:56),a(6),_("hasCustomContent",!0),a(4),S(o.isCashLoading()?65:66),a(8),_("hasCustomContent",!0),a(4),_("columns",o.accountsTableColumns)("fontSize","sm")("spacingSize","md"),a(2),S(o.isGlobalPositionLoading()?79:80),a(3),_("scrollable",!0),a(10),_("ngClass",Xe(31,ei,o.isChartsLoading()||o.isChartEmpty())),a(),_("doughnutType",!0)("legendT
1ype","progress")("unit","%")("textSize","sm"),a(2),S(o.isChartsLoading()?95:o.isChartEmpty()?96:-1),a(8),_("hasCustomContent",!0),a(7),S(o.movementsStore.isLoading()?110:(((l=o.movementsWidget())==null?null:l.length)??0)>0?111:o.movementsStore.error()?112:113),a(9),_("hasCustomContent",!0),a(7),S(o.investmentsWidgetHomeStore.orders.isLoading()?126:127),a(7),_("hasCustomContent",!0),a(7),S(o.paymentsStore.loading.widget()?140:141);}},dependencies:[Ze,Qe,Je,L,Y,ht,at,ot,tt,et,Ye,st,mt,dt,_t,ct,Dt,Gt,wt,yt,kt,J,Q,lt,Lt,Wt,Ht],styles:[`app-home{display:contents}
2`],encapsulation:2});}return e;})();export{kn as HomeComponent};/**i18n:1cc6fd6acf528f4ac632f21c11457e1dbd62b2496120ea2a01242afde973a654*/

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.