1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6391],{56391:(B,d,n)=>{n.r(d),n.d(d,{OnboardingEditableSummaryAllocationModule:()=>Y});var s=n(60316),g=n(31046),v=n(19856),y=n(6656),P=n(3449),b=n(31783),A=n(84111),r=n(27696),e=n(46227),S=n(19999),I=n(58481),m=n(52188),o=n(34768),u=n(57703),p=n(55044),f=n(86459),h=n(80436),X=n(64702);function U(t,x){if(1&t&&o.nrm(0,"app-allocation-details",1),2&t){const i=o.XpG();o.Y8G("allocation",i.allocation)}}let E=(()=>{class t extends m._{constructor(i,a,l,c,C,N){super(i,C,N),this.route=a,this.portfolioApi=l,this.recommendedPortfolioService=c}getAllocations(){return this.recommendedPortfolio?.allocations}allocationDataIsLoaded(){return!(0,e.isNil)(this.allocation)}onInit(){this.subscribe((0,S.z)([this.route.params,this.recommendedPortfolioService.recommendedBoPortfolio$()]),([i,a])=>{(0,e.isNil)(a)||(0,e.isNil)(i)||(this.recommendedPortfolio=a,this.allocationSlug=i.slug,this.findAndSetAllocation(this.recommendedPortfolio.allocations))})}findAndSetAllocation(i){this.allocation=i.find(a=>a.security.slug===this.allocationSlug)}static{this.\u0275fac=function(a){return new(a||t)(o.rXU(u.I),o.rXU(r.nX),o.rXU(I.A),o.rXU(p.v),o.rXU(f.Y),o.rXU(h.hE))}}static{this.\u0275cmp=o.VBU({type:t,selectors:[["app-onboarding-editable-summary-allocation-details"]],features:[o.Vt3],decls:1,vars:1,consts:[[3,"allocation",4,"ngIf"],[3,"allocation"]],template:function(a,l){1&a&&o.DNE(0,U,1,1,"app-allocation-details",0),2&a&&o.Y8G("ngIf",l.allocationDataIsLoaded())},dependencies:[s.bT,X.O],encapsulation:2})}}return t})();var O=n(84318);function D(t,x){if(1&t&&o.nrm(0,"app-allocation-component",1),2&t){const i=o.XpG();o.Y8G("anyPortfolio",i.boPortfolio)}}const G=[{path:"",component:(()=>{class t extends m._{constructor(i,a,l,c){super(l,a,c),this.portfolioService=i}onInit(){super.onInit(),this.subscribe(this.portfolioService.currentBoPortfolio$(),i=>this.boPortfolio=i)}static{this.\u0275fac=function(a){return new(a||t)(o.rXU(p.v),o.rXU(f.Y),o.rXU(u.I),o.rXU(h.hE))}}static{this.\u0275cmp=o.VBU({type:t,selectors:[["app-onboarding-editable-summary-allocation"]],features:[o.Vt3],decls:1,vars:1,consts:[[3,"anyPortfolio",4,"ngIf"],[3,"anyPortfolio"]],template:function(a,l){1&a&&o.DNE(0,D,1,1,"app-allocation-component",0),2&a&&o.Y8G("ngIf",l.boPortfolio)},dependencies:[s.bT,O.I],encapsulation:2})}}return t})()},{path:"detail/:slug",component:E}];let T=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=o.$C({type:t})}static{this.\u0275inj=o.G2t({imports:[r.iI.forChild(G),r.iI]})}}return t})(),Y=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=o.$C({type:t})}static{this.\u0275inj=o.G2t({imports:[s.MD,g.R,T,y.p,v.J,b.q,P.j,A.bv]})}}return t})()}}]); 2//# sourceMappingURL=6391.0318a5713b29404a.js.map
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.