1var __webpack_modules__={2511(U,R,e){e.d(R,{L:()=>x});var i=e(6563),a=e(3305),t=e(9302);const s="portal-id-provider";let x=(()=>{class E{#t=(0,i.WQX)(a.Ix);#e=(0,i.WQX)(t.c);get(M){return!!M&&M.idp||this.#t.routerState.root.snapshot.queryParams.idp||this.#e.localStorage.getItem(s)}store(M){M&&this.#e.localStorage.setItem(s,M)}clear(){this.#e.localStorage.removeItem(s)}static{this.\u0275fac=function(_){return new(_||E)}}static{this.\u0275prov=i.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})()},1340(U,R,e){e.d(R,{J:()=>i});var i=function(a){return a.OAUTH="oauth",a.FUSION="fusion",a}(i||{})},4244(U,R,e){e.d(R,{P:()=>b});var i=e(698),a=e(6563),t=e(6328),s=e(8503),x=e(7697),E=e(9452),C=e(1318),M=e(271),_=e(6647),g=e(2354),f=e(1340);const S={"LOGIN.VALIDATION.NO-TAN-PROCEDURE":"LOGIN_ERROR_PAGE.LOGIN.VALIDATION.HEADLINE","LOGIN.AUTHENTICATION-FAILURE":"LOGIN_ERROR_PAGE.MIFID_HEADLINE","LOGIN.ERROR.CAS-CONFIG":"LOGIN_ERROR_PAGE.MIFID_HEADLINE","AUTHORIZE.ERROR.NETSCALER":"LOGIN_ERROR_PAGE.MIFID_HEADLINE","LOGIN.ERROR.SERVICE-FAILURE":"LOGIN_ERROR_PAGE.MIFID_HEADLINE","LOGIN.ERROR.POSSIBLE-CSRF-DETECTED":"SESSION_EXPIRED_HEADLINE","STRUCTURE.ERROR":"LOGIN_ERROR_PAGE.STRUCTURE.HEADLINE"},l={DEFAULT:"h161f73b","LOGIN.AUTHENTICATION-FAILURE":"74b5535a","LOGIN.VALIDATION.NO-TAN-PROCEDURE":"253aa06b","LOGIN.ERROR.CAS-CONFIG":"352eafc5","AUTHORIZE.ERROR.NETSCALER":"c3048fda","LOGIN.ERROR.SERVICE-FAILURE":"3f8f09c7","LOGIN.ERROR.POSSIBLE-CSRF-DETECTED":"e061e73a","STRUCTURE.ERROR":"b4045gda"};let b=(()=>{class h{#t=(0,a.WQX)(i.Qq);#e=(0,a.WQX)(s.c$);#n=(0,a.WQX)(t.x3);#o=(0,a.WQX)(t.j);loginErrorMessage(O,c=""){if(!O)return this.#i(c);const N=O.toUpperCase(),k="LOGIN_ERROR_PAGE."+N;return this.#e.get([k,"LOGIN_ERROR_PAGE.DEFAULT_TRACE_MESSAGE"],{tracePrefix:l[N]??l.DEFAULT,traceId:c}).pipe((0,_.n)(z=>(0,x.T)(()=>z[k]!==k,(0,E.of)({msg:z[k],traceMsg:z["LOGIN_ERROR_PAGE.DEFAULT_TRACE_MESSAGE"],type:f.J.OAUTH,illustration:"./assets/illustrations_ultra/default/illu_ultra_hint_001_default.svg",header:S[N]}),this.#r(O,c))))}#i(O){return this.#e.get(["LOGIN_ERROR_PAGE.DEFAULT_TRACE_MESSAGE","LOGIN_ERROR_PAGE.DEFAULT"],{tracePrefix:l.DEFAULT,traceId:O}).pipe((0,M.T)(c=>({msg:c["LOGIN_ERROR_PAGE.DEFAULT"],traceMsg:c["LOGIN_ERROR_PAGE.DEFAULT_TRACE_MESSAGE"],type:f.J.OAUTH,illustration:"./assets/illustrations_ultra/default/illu_ultra_hint_001_default.svg",header:"LOGIN_ERROR_PAGE.HEADLINE"})))}#r(O,c){return this.#t.get(`${this.#n}${this.#o}/message/${O}`).pipe((0,g.w)(1e3),(0,M.T)(N=>({type:N.type||f.J.OAUTH,msg:N.text})),(0,C.W)(N=>this.#i(c)))}static{this.\u0275fac=function(c){return new(c||h)}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac})}}return h})()},4291(U,R,e){e.d(R,{O:()=>lt});var i=e(6563),a=e(639),t=e(3978),s=e(271),x=e(8764),E=e(6223),C=e(698),M=e(9452),_=e(1128),g=e(7649),f=e(1311);let l=(()=>{class ${url(X,at){return at&&Object.keys(at).length>0?X+"?"+Object.entries(at).map(dt=>dt[0]+"="+dt[1]).join("&"):X}static{this.\u0275fac=function(at){return new(at||$)}}static{this.\u0275prov=i.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();var b=e(6328);let h=(()=>{class ${#t;#e;constructor(){this.httpOptions={headers:{"Content-Type":"application/x-www-form-urlencoded"},withCredentials:!0},this.#t=(0,i.WQX)(_.WT),this.#e=(0,i.WQX)(E.aZ);const X=(0,i.WQX)(b.j,{optional:!0});this.tokenPath=`${X||"portal-oauth"}/oauth/token`,this.authorizePath=`${X||"portal-oauth"}/oauth/authorize`}redirectUri(X){return this.#t.nativeWindow.location.origin+this.#e.prepareExternalUrl(`/login&response_type=code&state=${X}`)}static{this.\u0275fac=function(at){return new(at||$)}}static{this.\u0275prov=i.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();class m{constructor(){this.sessionStorageRef=(0,i.WQX)(g.n),this.urlBuilder=(0,i.WQX)(l),this.windowRef=(0,i.WQX)(_.WT),this.authServerConfig=(0,i.WQX)(h);const pt=(0,i.WQX)(_.wf);this.CLIENT_ID=pt.getValueOfFeatureToggle("defaultClientId")||"acme"}#t(pt){const X=this.#e();this.#n(X);const dt={redirect_uri:this.authServerConfig.redirectUri(X),...pt};this.windowRef.nativeWindow.location.href=this.urlBuilder.url(this.authServerConfig.authorizePath,dt)}authorizeLogin(pt){document.prerendering?document.addEventListener("prerenderingchange",()=>{this.#t(pt)},{once:!0}):this.#t(pt)}#e(){return(0,f.A)()}#n(pt){this.sessionStorageRef.sessionStorage.setItem("oauthState",pt)}}var O=e(6124);let c=(()=>{class $ extends m{#t=(0,i.WQX)(C.Qq);#e=(0,i.WQX)(E.aZ);get windowLocation(){return this.windowRef.nativeWindow.location}get locationSearchParams(){const X=this.windowLocation.href.replace("#","");return new URLSearchParams(new URL(X).search)}login(){const X=this.locationSearchParams;if(this.#n(X)){const at=this.#o(X);return super.authorizeLogin(at),(0,M.of)(null)}return this.#t.post(this.authServerConfig.tokenPath,this.#i(X),this.authServerConfig.httpOptions)}#n(X){const at=X.get("code"),dt=X.get("state"),H=this.sessionStorageRef.sessionStorage.getItem("oauthState");return!at||!dt||dt!==H}#o(X){const at={client_id:this.CLIENT_ID},dt={...X.get("sst")&&{sst:X.get("sst")},...at};return this.#r(dt,X)}#i(X){const dt={code:X.get("code"),grant_type:"authorization_code",redirect_uri:`${this.windowLocation.origin}${this.#e.prepareExternalUrl("/login")}`},H=this.#r(dt,X);return new URLSearchParams(H).toString()}#r(X,at){const dt=at.get("line");return dt?{...X,line:dt}:X}static{this.\u0275fac=(()=>{let X;return function(dt){return(X||(X=O.xGo($)))(dt||$)}})()}static{this.\u0275prov=i.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();var N=e(3305),k=e(4296),q=e(7919),z=function($){return $.NO_ISSUER_URL="NoIssuerUrl",$}(z||{});let K=(()=>{class $ extends m{#t=(0,i.WQX)(k.J);#e=(0,i.WQX)(N.nX);login(){this.#t.log("try login: genobroker");const X=this.#e.snapshot.queryParams.issuer_url;return X?(super.authorizeLogin({idp:"genobroker",client_id:this.CLIENT_ID,issuer_url:X}),(0,M.of)(null)):this.#n(z.NO_ISSUER_URL)}#n(X){return this.#t.error(`login err: ${X}`),(0,q.$)(X)}static{this.\u0275fac=(()=>{let X;return function(dt){return(X||(X=O.xGo($)))(dt||$)}})()}static{this.\u0275prov=i.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();var j=e(2265),it=function($){return $.NO_CODE="NoCode",$.NO_REDIRECT="NoRedirect",$.NO_REDIRECT_CANCEL="NoRedirectCancel",$.WRONG_IDP="WronIdp",$}(it||{});let et=(()=>{class $ extends m{#t=(0,i.WQX)(C.Qq);#e=(0,i.WQX)(k.J);#n=(0,i.WQX)(j.S);#o=(0,i.WQX)(N.nX);#i=this.authServerConfig.tokenPath;login(X){return["pdoa","paydirektma"].includes(X)?(this.#e.log(`try login: ${X}`),"pdoa"===X?this.#r():this.#a()):this.#l(it.WRONG_IDP)}#r(){const X=this.#o.snapshot.queryParams.code;if(!X)return this.#l(it.NO_CODE);if(!this.#o.snapshot.queryParams.redirect)return this.#l(it.NO_REDIRECT);const at=decodeURIComponent(this.#o.snapshot.queryParams.redirect);return this.#s(`code=${X}&grant_type=authorization_code`,at)}#a(){const X=this.#o.snapshot.queryParams.redirect;if(!X)return this.#l(it.NO_REDIRECT);const at=this.#o.snapshot.queryParams.redirect_cancel;return at?(this.#n.store(X),super.authorizeLogin({idp:"paydirektma",client_id:this.CLIENT_ID,redirect_cancel_uri:at}),(0,M.of)(null)):this.#l(it.NO_REDIRECT_CANCEL)}#s(X,at){return this.#t.post(this.#i,X,this.authServerConfig.httpOptions).pipe(this.#u(at))}#u(X){return(0,x.M)(()=>{this.#n.store(X)})}#l(X){return this.#e.error(`login err: ${X}`),(0,q.$)(X)}static{this.\u0275fac=(()=>{let X;return function(dt){return(X||(X=O.xGo($)))(dt||$)}})()}static{this.\u0275prov=i.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),F=(()=>{class $ extends m{#t=(0,i.WQX)(_.wf);login(X){return"online-banking-mock"===X&&!this.#t.feature("enableIDPMock")||super.authorizeLogin({idp:X,client_id:this.CLIENT_ID,...this.#n}),(0,M.of)(null)}get#e(){return this.windowRef.nativeWindow.location}get#n(){const X=this.#e.href.replace("#","");return Object.fromEntries(new URLSearchParams(new URL(X).search))}static{this.\u0275fac=(()=>{let X;return function(dt){return(X||(X=O.xGo($)))(dt||$)}})()}static{this.\u0275prov=i.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),lt=(()=>{class ${#t;#e=(0,i.WQX)(a.M);#n=(0,i.WQX)(c);#o=(0,i.WQX)(et);#i=(0,i.WQX)(K);#r=(0,i.WQX)(F);#a=(0,i.WQX)(t.kh);login(X){return this.#e.removeTokenExpirations(),this.#s(X).pipe((0,s.T)(at=>{at&&this.#e.setTokenExpirations(at.expires_in,at.sessionExpiresInSeconds,this.#t)}),(0,x.M)(()=>this.#a.afterLogin()))}#s(X){switch(X){case"pdoa":case"paydirektma":return this.#t=a.A.AUTHORIZATION_CODE,this.#o.login(X);case"genobroker":return this.#t=a.A.NONE,this.#i.login();case"sgp_pin_only":case"brokerageplus":case"online-banking-mock":return this.#t=a.A.NONE,this.#r.login(X);default:return this.#t=a.A.AUTHORIZATION_CODE,this.#n.login()}}static{this.\u0275fac=function(at){return new(at||$)}}static{this.\u0275prov=i.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})()},4352(U,R,e){e.d(R,{C:()=>z});var i=e(9748),a=e(6563),t=e(935),s=e(436),x=e(3305),E=e(2064),C=e(5784),M=e(5056),_=e(9333),g=e(7580),f=e(1567),S=e(4334),l=e(8764),b=e(6328),h=e(2111),m=e(6124);
1function O(K,j){if(1&K&&m.Hgh(0,"iframe",0),2&K){const it=m.XpG();m.Avn("src",it.iFrameUrl,m.f$h)}}let c=(()=>{class K{#t=(0,a.WQX)(b.x3);#e=(0,a.WQX)(s.up);#n=(0,a.WQX)(h.J);#o=(0,a.WQX)(g.gRc);constructor(){this.showCasIframe$=this.#n.hasSession.pipe((0,f.p)(Boolean),(0,S.s)(1),(0,l.M)(()=>this.#o.markForCheck()))}get iFrameUrl(){return this.#e.bypassSecurityTrustResourceUrl(`${this.#t}cas-session-iframe`)}static{this.\u0275fac=function(et){return new(et||K)}}static{this.\u0275cmp=m.VBU({type:K,selectors:[["sob-cas-iframe"]],decls:2,vars:3,consts:[["width","0","height","0","title","technial frame for Single Sign on purpose","aria-hidden","true","tabindex","-1","id","cas-session-iframe",3,"src"]],template:function(et,F){1&et&&(m.nVh(0,O,1,1,"iframe",0),m.nI1(1,"async")),2&et&&m.vxM(m.bMT(1,1,F.showCasIframe$)?0:-1)},dependencies:[i.Jj],styles:["iframe[_ngcontent-%COMP%]{position:absolute;border:0}"],changeDetection:0})}}return K})();var N=e(1882);function k(K,j){1&K&&m.eu8(0)}function q(K,j){1&K&&m.nrm(0,"sob-portal-header")}let z=(()=>{class K{constructor(){this.#t=(0,a.WQX)(M.o),this.#e=(0,a.WQX)(t.tp),this.#n=(0,a.WQX)(s.up),this.#o=["ic_calender_32","ic_callback_32","ic_co-browsing_32","ic_mail_32","ic_videochat_32","ic_message_32","ic_micro_24","ic_neue-mitteilung_32"],this.DataAutomationIds=N.K}#t;#e;#n;#o;ngOnInit(){this.structure$=this.#t.navigation$,this.#i(this.#o)}#i(it){it.forEach(et=>{this.#e.addSvgIcon(et,this.#n.bypassSecurityTrustResourceUrl(`./assets/img/${et}.svg`))})}static{this.\u0275fac=function(et){return new(et||K)}}static{this.\u0275cmp=m.VBU({type:K,selectors:[["sob-shell"]],decls:10,vars:5,consts:[[4,"sobPortalContentId"],[1,"main-row"],[1,"main-coll"],[1,"body-container"],[1,"page-wrapper","kf-d-flex","kf-flex-column"]],template:function(et,F){1&et&&(m.DNE(0,k,1,0,"ng-container",0),m.j41(1,"div",1)(2,"div",2),m.nVh(3,q,1,0,"sob-portal-header"),m.nI1(4,"async"),m.nrm(5,"sob-cas-iframe"),m.j41(6,"div",3)(7,"div",4),m.nrm(8,"router-outlet"),m.k0s(),m.nrm(9,"sob-portal-footer"),m.k0s()()()),2&et&&(m.Y8G("sobPortalContentId","api-usage-metrics"),m.R7$(3),m.vxM(m.bMT(4,3,F.structure$)?3:-1),m.R7$(6),m.BMQ("data-automation-id",F.DataAutomationIds.PORTAL_SHELL_LIB_PORTAL_FOOTER))},dependencies:[_.$,C.z,c,x.n3,E.n,i.Jj],styles:[".main-coll[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column}.main-coll[_ngcontent-%COMP%] .body-container[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column}.page-wrapper[_ngcontent-%COMP%]{flex:1;padding:0}.page-wrapper[_ngcontent-%COMP%] > router-outlet[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{flex-grow:1}.page-wrapper[_ngcontent-%COMP%] .tile-container[_ngcontent-%COMP%]{text-align:center}.page-wrapper[_ngcontent-%COMP%] .tile-container[_ngcontent-%COMP%] .tile[_ng
1content-%COMP%]{text-align:center;min-height:200px;padding:15px;margin:1%;box-shadow:0 0 15px 0 var(--color-grey-200);min-width:340px;max-width:340px;display:inline-flex}.page-wrapper[_ngcontent-%COMP%] .tile-container[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--color-grey-50)}[_nghost-%COMP%]{flex-direction:column;flex-grow:1}"]})}}return K})()},1882(U,R,e){e.d(R,{K:()=>i,S:()=>a});let i=(()=>{class t{static{this.PORTAL_SHELL_LIB_PORTAL_FOOTER="footer-component"}}return t})(),a=(()=>{class t{static{this.CMS_COMPONENTS_PATH="webcomponents/cms-components/main.js"}}return t})()},5813(U,R,e){var i=e(7580),a=e(4967),s=(e(4124),e(6563)),x=e(7941),E=e(4296),C=e(7649),M=e(2111),_=e(7158),g=e(8185),f=e(1567),S=e(2782),l=e(1128),b=e(8123),h=e(8503),m=e(6124);let O=(()=>{class u{#t=(0,s.WQX)(l.WT).nativeWindow;onClickReload(){this.#t.location.replace("/")}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275cmp=m.VBU({type:u,selectors:[["sob-multiple-session-warning"]],decls:15,vars:9,consts:[[1,"kf-popup"],[1,"kf-popup-header-icon"],["name","ic_error_96",1,"kf-popup-icon"],[1,"kf-popup-container"],["id","kf-popup-header"],[1,"mat-body-1"],[1,"kf-popup-buttons"],["color","primary","mat-flat-button","",3,"click"]],template:function(v,L){1&v&&(m.j41(0,"div",0)(1,"div",1),m.nrm(2,"kf-icon",2),m.k0s(),m.j41(3,"div",3)(4,"h1",4),m.EFF(5),m.nI1(6,"translate"),m.k0s(),m.j41(7,"div",5),m.EFF(8),m.nI1(9,"translate"),m.k0s(),m.j41(10,"div",6)(11,"button",7),m.bIt("click",function(){return L.onClickReload()}),m.j41(12,"span"),m.EFF(13),m.nI1(14,"translate"),m.k0s()()()()()),2&v&&(m.R7$(5),m.SpI(" ",m.bMT(6,3,"MULTIPLE_SESSION_WARNING.TITLE")," "),m.R7$(3),m.SpI(" ",m.bMT(9,5,"MULTIPLE_SESSION_WARNING.DESCRIPTION")," "),m.R7$(5),m.SpI(" ",m.bMT(14,7,"MULTIPLE_SESSION_WARNING.RELOAD")," "))},dependencies:[h.h,b.KY,S.Hl,S.$z,h.TranslatePipe],encapsulation:2})}}return u})();var c=e(3305);let N=(()=>{class u{#t=(0,s.WQX)(E.J);#e=(0,s.WQX)(C.n);#n=(0,s.WQX)(M.J);#o=(0,s.WQX)(_.l);#i=(0,s.WQX)(x.bZ);#r=(0,s.WQX)(g.c);ngOnInit(){"skip"===this.#e.sessionStorage.getItem("portal_skip_custom_elements_support_check")&&this.#t.warn("Unsupported browser is in use","Warning about unsupported browser was skipped"),this.#o.messages$.pipe((0,f.p)(()=>!!this.#n.relyingPartyClientId),(0,f.p)(p=>p.type==_.P.SESSION_UPDATE),(0,f.p)(p=>p.payload.relyingPartyClientId!==this.#n.relyingPartyClientId)).subscribe(()=>{this.#i.open(O,{panelClass:"kf-popup-wrap",maxWidth:"36.25rem",autoFocus:!1,ariaModal:!0,ariaLabelledBy:"kf-popup-header",disableClose:!0})}),this.#r.activate()}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275cmp=m.VBU({type:u,selectors:[["sob-root"]],decls:2,vars:0,consts:[["id","main-content"]],template:function(v,L){1&v&&(m.j41(0,"div",0),m.nrm(1,"router-outlet"),m.k0s())},dependencies:[c.n3],encapsulation:2})}}return u})();var k=e(6264),q=e(3725),z=e(8012),K=e(2849),j=e(9791),it=e(9015),et=e(6911),F=e(9128),lt=e(698);let $=(()=>{class u{static forRoot(p){return{ngModule:u,providers:[{provide:F.Z,useFactory:p}]}}constructor(p,v){if(p)throw new Error("StructureServiceApiModule is already loaded. Import in your base AppModule only.");if(!v)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static{this.\u0275fac=function(v){return new(v||u)(s.KVO(u,12),s.KVO(lt.Qq,8))}}static{this.\u0275mod=m.$C({type:u})}static{this.\u0275inj=s.G2t({})}}return u})();var pt=e(2453);let X=(()=>{class u{static forRoot(p){return{ngModule:u,providers:[{provide:pt.g,useFactory:p}]}}constructor(p,v){if(p)throw new Error("PortalLoggingApiModule is already loaded. Import in your base AppModule only.");if(!v)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static{this.\u0275fac=function(v){return new(v||u)(s.KVO(u,12),s.KVO(lt.Qq,8))}}static{this.\u0275mod=m.$C({type:u})}static{this.\u0275inj=s.G2t({})}}return u})();var at=e(9395),dt=e(1134),H=e(5056);let nt=(()=>{class u{constructor(){const p=(0,s.WQX)(H.o);p.navigation$.subscribe(()=>{p.navigateToStartPage()})}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275cmp=m.VBU({type:u,selectors:[["sob-entry-route-handling"]],decls:2,vars:0,consts:[[1,"spinner-wrapper"]],template:function(v,L){1&v&&(m.j41(0,"div",0),m.nrm(1,"mat-spinner"),m.k0s())},dependencies:[dt.LG],styles:["mat-spinner[_ngcontent-%COMP%]{margin:auto}.spinner-wrapper[_ngcontent-%COMP%]{align-items:center;display:flex;min-height:calc(100vh - 435px)}"]})}}return u})();var T=e(9204),y=e(8812),w=e(2265),I=e(271);const A="function"==typeof calculateBaseHref?calculateBaseHref():"",ot={serviceGatewayUrl:A+"proxy-gateway/",serviceOAuthUrl:A+"portal-oauth/",restUrl:A+"proxy-rest/",portalOrigin:window.location.origin,kscPath:A+"agree21ksc/",mock:!1,showAdminMenu:!0,theme:"theme-1",rzbk:"0",markenID:"0",buildTimestamp:null,production:!0,oauthEnabled:!0,buildTimestamp:"1789392464755"};var ct=e(4291),Ct=e(2511);const P=function(){var u=(0,T.A)(function*(G,p){const v=(0,s.WQX)(y.u),L=(0,s.WQX)(ct.O),Z=(0,s.WQX)(Ct.L),st=(0,s.WQX)(w.S);return!0!==v.isLoggedIn()&&ot.oauthEnabled?v.checkToken().then(mt=>!!mt||((mt,bt)=>(st.store(st.getAndRemove()||mt.url),L.login(Z.get(bt))))(p,G.queryParams).pipe((0,I.T)(bt=>null!=bt)).toPromise()).catch(mt=>(console.error("Error in AuthGuardFn:",mt),!1)):Promise.resolve(!0)});return function(p,v){return u.apply(this,arguments)}}(),V=[(u,G)=>{const p=(0,s.WQX)(H.o),v=(0,s.WQX)(l.WT),{state:st,appTarget:gt}=(mt=>{if(!mt)return{};const bt=mt.split("?").map(St=>St.replace("appTarget=",""));return{state:bt[0],appTarget:bt[1]}})(u.queryParams?.state);if(!gt)return!0;
1if("de.fiduciagad.banking.vr://redirected"===(mt=gt)||"de.sparda.banking.app://redirected"===mt||/de\.[A-Za-z0-9]+\.bankingapp:\/\/redirected/.test(mt)){const mt={...u.queryParams,state:st},bt=new lt.Nl({fromObject:mt});v.nativeWindow.location.href=`${gt}?${bt.toString()}`}else p.navigate("/error",{},{errMsgTranslationId:"DEEPLINK_APPTARGET_REROUTE"});var mt;return!1},P],rt=(u,G)=>{const p=(0,s.WQX)(y.u),v=(0,s.WQX)(w.S),L=(0,s.WQX)(H.o),Z=(0,s.WQX)(l.WT);if(p.isLoggedIn()){let st=v.getAndRemove();const gt=new URLSearchParams(Z.nativeWindow.location.search).get("redirect");gt&&(st=gt);const mt=(0,l.vA)(st),bt=(0,l.b7)(st),St=Object.assign({},mt?(0,l.UA)(mt):{},u.queryParams);if(bt&&G?.url!==bt)return L.navigate(bt,St),!1}return!0};var vt=e(5047),Et=e(6647),It=e(4334),yt=e(8764);const B=(u,G)=>{const p=(0,s.WQX)(H.o);return(0,s.WQX)(vt.kj).authChanges.pipe((0,f.p)(L=>L===vt.BW.CUSTOMER),(0,Et.n)(()=>p.navigation$),(0,It.s)(1),(0,I.T)(L=>!L?.menus?.find(Z=>"enforcedPageAfterLogin"===Z.name)),(0,yt.M)(L=>{!1===L&&p.navigate("/post-login")}))};var Tt=e(4352),tt=e(4244);const ht=[{path:at.g0.LOGIN,loadChildren:()=>e.e(951).then(e.bind(e,7951)).then(u=>u.LOGIN_ROUTES)},{path:at.g0.LOGOUT,loadChildren:()=>e.e(88).then(e.bind(e,4088)).then(u=>u.LOGOUT_ROUTES)},{path:at.g0.ERROR,loadChildren:()=>e.e(987).then(e.bind(e,4987)).then(u=>u.ERROR_PAGE_ROUTES),providers:function Y(){return[tt.P]}()},{path:at.g0.CTT_ERROR,loadChildren:()=>e.e(440).then(e.bind(e,5440)).then(u=>u.EMBEDDED_ERROR_PAGE_ROUTES)},{path:at.g0.DEEPLINK,canActivate:[(u,G)=>!V.some(p=>!1===p(u,G)),B],loadChildren:()=>e.e(574).then(e.bind(e,6574)).then(u=>u.DEEPLINK_ROUTE_HANDLING_ROUTES)},{path:at.g0.POST_LOGIN,loadChildren:()=>e.e(294).then(e.bind(e,294)).then(u=>u.POST_LOGIN_ROUTES),canActivate:[P]},{path:"",canActivate:[P,rt,B],component:Tt.C,children:[{path:"",pathMatch:"full",component:nt},{path:at.Tq.MONOLITH,canActivate:[P,rt,B],loadChildren:()=>e.e(892).then(e.bind(e,2892)).then(u=>u.MONOLITH_PAGE_ROUTES)},{path:at.Tq.WEBCOMP,canActivate:[P,rt,B],loadChildren:()=>Promise.all([e.e(489),e.e(812)]).then(e.bind(e,3812)).then(u=>u.WEB_COMPONENT_ROUTES)},{path:at.Tq.CONTENT,canActivate:[P,rt,B],loadChildren:()=>Promise.all([e.e(489),e.e(97)]).then(e.bind(e,9097)).then(u=>u.CONTENT_ROUTE_ROUTES)},{path:"**",loadChildren:()=>Promise.all([e.e(76),e.e(26)]).then(e.bind(e,8026)).then(u=>u.PAGE_NOT_FOUND_ROUTES)}]}];var _t=e(6328),Lt=e(9647);const Ye=[y.u,{provide:Lt.k,useExisting:y.u},{provide:vt.lf,useClass:vt.TI},{provide:vt.kj,useExisting:vt.lf},{provide:vt.TI,useClass:vt.TI},{provide:_t.jL,useValue:ot.serviceOAuthUrl.endsWith("/")?ot.serviceOAuthUrl.slice(0,-1):ot.serviceOAuthUrl},{provide:_t.ff,useValue:ot.oauthEnabled}];var Je=e(6672),Nt=e(7571),Ze=e(9999),zt=e(2435),Yt=e(1817),ue=e(7470),Jt=e(6275);let le=(()=>{class u{#t;#e=null;#n=(0,s.WQX)(Jt.Pp);#o=(0,s.WQX)(Nt.P);#i=(0,s.WQX)(h.c$);constructor(){const p=this.#n.structure$.pipe((0,zt.$)()),v=this.#o.localeChanges.pipe((0,Yt.F)(),(0,ue.i)(1));this.#t=(0,Ze.z)([p,v]).pipe((0,yt.M)(([L,Z])=>{this.#n.invalidateNavigationCache(),this.#n.fetchNavigation(),this.#i.use(Z)}))}activate(){null===this.#e&&(this.#e=this.#t.subscribe())}ngOnDestroy(){null===this.#e&&this.#e.unsubscribe()}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();const de=ot.buildTimestamp?`.json?ts=${ot.buildTimestamp}`:".json",he=h.h.forRoot({loader:{provide:h.Wr,useFactory:function qe(u){return new Je.l(u,[{prefix:"./assets/i18n/core/",suffix:de},{prefix:"./assets/i18n/shared/gv-components/",suffix:de}])},deps:[lt.JV]}}),tn=[Nt.P,le,h.TranslatePipe,{provide:_t.SC,useValue:["de-DE","en-GB"]},{provide:_t.Xn,useFactory:function me(u){return u.feature("use_english_as_fallback_language")?"en-GB":"de-DE"},deps:[l.wf]},{provide:m.Lp4,useValue:"xlf"},{provide:m.xe9,useValue:"de"},{provide:m.b5y,useValue:""},{provide:m.ZtX,useValue:m.ZtX.Ignore}];var Ot=e(3978),Dt=e(6223);let on=(()=>{class u{#t=(0,s.WQX)(_t.x3);#e=(0,s.WQX)(H.o);#n=(0,s.WQX)(Dt.aZ);getAppBasePath(){if(this.isStaticRoute())return this.staticBasePath();
1const p=this.gvRouteFromLocation(),v=this.#e.findItemByKey(p),L=this.#e.calculateProcessPathInfo(v);return this.toAppBasePath(L)}toAppBasePath(p){return(this.#t+p.path).replace(/\/\//g,"/")}gvRouteFromLocation(){return this.appRelativePath(!0).replace(/^\/webcomp\//,"").replace(/^\//,"")}isStaticRoute(){return this.appRelativePath().startsWith(this.staticRoutePrefix())}staticBasePath(){const p=this.appRelativePath(!0).substring(this.staticRoutePrefix().length).split(/[/?#]/)[0];if(p)return`${this.staticRoutePrefix()}${p}/`}appRelativePath(p=!1){const v=this.#n.path(p),L=v.startsWith(this.#t)?v.substring(this.#t.length):v;return L.startsWith("/")?L:`/${L}`}staticRoutePrefix(){return"/s/"}isOwnRoute(p){return!1}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}}return u})();var ge=e(619);let rn=(()=>{class u extends ge.Pi{#t=(0,s.WQX)(Nt.P);getLocale(){return this.#t.localeChanges}static{this.\u0275fac=(()=>{let p;return function(L){return(p||(p=m.xGo(u)))(L||u)}})()}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}}return u})();var ve=e(3230),Gt=e(4205),an=e(5797),sn=e(3900);let cn=(()=>{class u{#t=new Gt.B;#e=new an.t(void 0);initializeContextInfo(p){p.selectedItem$.pipe((0,I.T)(({key:v,keyContentId:L,menuText:Z})=>({key:v,keyContentId:L,menuText:Z})),(0,sn.Q)(this.#t)).subscribe(v=>{const Z={id:this.#n(v.key,v.keyContentId),title:v.menuText};this.#e.next(Z)})}ngOnDestroy(){this.#t.next(),this.#t.complete()}getMainContent(){return Promise.resolve(this.#e.value)}#n(p,v){return v||p.replaceAll("/","-").replaceAll("#","")}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var be=e(4600),jt=e(1318),qt=e(6196),te=e(8338);const un=["containerTemplate"];function ln(u,G){1&u&&m.Hgh(0,"div",1)}let dn=(()=>{class u{#t=(0,s.WQX)(s.uvJ);createBasicContainerTemplate(){const p=(0,i.a0P)(mn,{environmentInjector:this.#t});return p.changeDetectorRef.detectChanges(),p.instance.containerTemplate}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})(),mn=(()=>{class u{static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275cmp=m.VBU({type:u,selectors:[["sob-dynamic-template-ref"]],viewQuery:function(v,L){if(1&v&&m.GBs(un,5),2&v){let Z;m.mGM(Z=m.lsd())&&(L.containerTemplate=Z.first)}},decls:2,vars:0,consts:[["containerTemplate",""],[1,"container"]],template:function(v,L){1&v&&m.PeT(0,ln,1,0,"ng-template",null,0,m.C5r)},encapsulation:2})}}return u})();var hn=e(101);let Ee=(()=>{class u{#t=(0,s.WQX)(hn.a);loadContent(p){return new Promise((v,L)=>{const Z=`script-${p.contentId}`;if(document.getElementById(Z))return void v();const st=document.createElement("script"),gt=()=>{st.removeEventListener("load",mt),st.removeEventListener("error",bt)},mt=()=>{gt(),v()},bt=St=>{gt(),L(St.error??new Error(`Failed to load script: ${st.src}`))};st.src=this.#t.resolveBundleUrl(p),st.type="module",st.id=Z,st.addEventListener("load",mt),st.addEventListener("error",bt),document.head.appendChild(st)})}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var Me=e(443);let _e=(()=>{class u{constructor(){this.#t=(0,Me.WG)("WebComponentFactory"),this.createTag=(p,v,L,Z,st,gt)=>{const mt=document.createElement(Z.webComponent.tagName),bt=p.indexOf(v),St={...gt?.params};if(function pn(u,G){G&&Object.entries(G).forEach(([p,v])=>ye(u,p,v))}(mt,St),function Ce(u,G={},p,v){for(const[L,Z]of Object.entries(G))u instanceof HTMLElement?u.addEventListener(L,st=>Z(st.detail)):v.error(`Could not find event emitter for event: ${L} on component: ${p}`)}(mt,gt?.events,Z.contentId,this.#t),bt>=0)return p.remove(bt),p.createEmbeddedView(L,void 0,bt).rootNodes.pop().appendChild(mt),function fn(u){return{setParams:G=>Object.entries(G).forEach(([p,v])=>u(p,v)),setParam:(G,p)=>u(G,p)}}((ko,zo)=>ye(mt,ko,zo))}}#t;static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();function ye(u,G,p){u[G]=p}let gn=(()=>{class u{#t=(0,s.WQX)(dn);#e=(0,s.WQX)(Ee);#n=(0,s.WQX)(te.n);#o=(0,s.WQX)(_e);#i=(0,s.WQX)(s.zZn);createContent(p,v,L){const Z=this.#r(L?.hostTemplate),st=this.#s(v,Z,L),gt=this.#n.contentId(p).pipe((0,Et.n)(mt=>(0,be.H)(this.#e.loadContent(mt)).pipe((0,I.T)(()=>this.#o.createTag(v,st,Z,mt,this.#i,L)))),(0,jt.W)(mt=>this.#a(mt,v,st,L)));return(0,qt._)(gt)}#r(p){return p||this.#t.createBasicContainerTemplate()}#a(p,v,L,Z){const st=v.indexOf(L);throw st>
1=0&&(v.remove(st),Z?.errorTemplate&&v.createEmbeddedView(Z.errorTemplate,void 0,st)),p}#s(p,v,L){const Z=p.length,st=L?.position?.index,gt=L?.loadingTemplate??v,mt=L?.position?.override;if(this.#u(Z,st))throw new Error(`The component couldn't be placed on container index: '${st}'. An index between 0 and '${Z}' is expected.`);return mt&&st&&p.remove(st),p.createEmbeddedView(gt,void 0,st)}#u(p,v){return v&&(v<0||v>p)}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var Te=e(9452);let Ie=(()=>{class u extends Ot.GK{#t=(0,s.WQX)(te.n);#e=(0,s.WQX)(_t.x3);getScript(p){return(0,qt._)(this.#t.contentId(p).pipe((0,I.T)(v=>{if(ve.p.SCRIPT===v.integrationType)return{id:p,module:"module"===v.scriptAttributes.attributes?.type,path:this.scriptPath(v)};throw`${p} is not a script`}),(0,jt.W)(()=>(0,Te.of)(void 0))))}scriptPath(p){return p.scriptAttributes.src||`${this.#e}ui/${p.serviceName}/${p.scriptAttributes.path}/${p.scriptAttributes.bundleName}`.replaceAll(/(\/+)/g,"/")}static{this.\u0275fac=(()=>{let p;return function(L){return(p||(p=m.xGo(u)))(L||u)}})()}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}}return u})(),bn=(()=>{class u{#t=(0,s.WQX)(_t.x3)+"ui/";getAssetPath(p,v){if(void 0===v)throw new Error("Unsupported operation: ServiceName is mandatory");const L=p,Z=v.startsWith("/assets")?v:Dt.aZ.joinWithSlash("/assets",v);return this.#t+Dt.aZ.joinWithSlash(L,Z)}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}}return u})();var Pe;let At=(()=>{class u extends Ot.FX{constructor(){super(...arguments),this.#t=(0,s.WQX)(H.o),this.#e=(0,s.WQX)(s.SKi),this.#n=(0,s.WQX)(Ot.kh),this.#o=(0,Me.WG)(Pe),this.#i=(0,s.WQX)(_t.x3),this.#r=(0,s.WQX)(c.Ix),this.WEBCOMP_PREFIX="/webcomp",this.MONOLITH_PREFIX="/m"}#t;#e;#n;#o;#i;#r;navigateToStartPage(){return this.navigateByUrl(this.#t.startPage())}getRouterPathForId(p){return(0,qt._)(this.#t.findItemByContentId(p).pipe((0,I.T)(v=>v?this.#t.calculateProcessPathInfo(v).path:p)))}navigateById(p,v){var L=this;return(0,T.A)(function*(){try{const Z=yield L.getRouterPathForId(p),{queryParams:st,...gt}=v??{},mt=L.addExtrasToPath(Z,v);return L.navigateByUrl(mt,gt)}catch(Z){return L.#o.info("navigateById error",Z),yield L.#r.navigate(["/404"]),!1}})()}navigateByUrl(p,v){var L=this;return(0,T.A)(function*(){L.#o.info("navigateByUrl",{url:p,extras:v});try{const Z=yield L.#e.run(()=>L.#t.navigateInternal(p,v?.queryParams,v));return Z&&L.#a(p,v),Z}catch(Z){return L.#o.info("navigateByUrl error",Z),yield L.#r.navigate(["/404"]),!1}})()}#a(p,v){const L=p.startsWith(this.#i)?p.slice(this.#i.length):p,Z=L.startsWith("/")?L:`/${L}`,gt=Z===this.WEBCOMP_PREFIX||Z.startsWith(`${this.WEBCOMP_PREFIX}/`)||Z===this.MONOLITH_PREFIX||Z.startsWith(`${this.MONOLITH_PREFIX}/`)?Z:Dt.aZ.joinWithSlash(this.WEBCOMP_PREFIX,Z),bt={url:Dt.aZ.joinWithSlash(this.#i,gt),extras:v};this.#o.info("routeChanges",bt),this.#n.onRouteChanged(bt)}static{this.\u0275fac=(()=>{let p;return function(L){return(p||(p=m.xGo(u)))(L||u)}})()}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}}return u})();Pe=At;let xe=(()=>{class u{#t=(0,s.WQX)(l.wf);isFeatureAvailable(p){return(0,Te.of)(this.#t.feature(p))}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac})}}return u})();var wt=e(9442),En=e(137),ee=e(3270),Mn=e(5483),Oe=e(2424),Se=e(9495),_n=e(9096),Cn=e(722),Re=e(9074),yn=e(8793),ke=e(591);function $t(u){const G={};for(const[p,v]of u.entries())G[p]=v instanceof Map?$t(v):v;return G}let Bt=(()=>{class u{#t=(0,s.WQX)(y.u);#e(p){const v=new Map;return v.set("RZBK",this.#t.rzbk),v.set("brand",this.#t.markenID),v.set("timeStamp",Date.now()),v.set("attributes",p.attributes),v.set("category",p.category),v}createEvent(p){const v=new Map;return v.set("event","custom.link"),v.set("eventInfo",this.#e(p)),$t(v)}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();const Ae={WEB_PORTAL:"web:portal"},Xt_PARAM_NAMES_PARTNER_ID=["partnerID","partnerId","partnerid"],Xt_PARAM_NAMES_WERBE_ID=["werbeID","werbeId","werbeid"],Sn={utm_source:"source",utm_advertiser:"advertiser",utm_agency:"agency",utm_campaign:"campaign",utm_partner:"partner",utm_placement:"placement",utm_medium:"medium",utm_adgroup:"adgroup",utm_ad:"ad",utm_term:"term",utm_marketing_tactic:"marketingTactic",utm_content:"content",utm_geo:"geo",utm_traffic:"traffic",utm_audience:"audience",gclid:"gclid",fbclid:"fbclid"},Rn={"0002":"analytics","0003":"personalization","0004":"marketing"},Ln=()=>{const u=new Map,G=Nn();return u.set("categories",G.join(",")),u.set("analytics",!1),u.set("marketing",!1),u.set("personalization",!1),Un(u,G),u},Nn=()=>{const G=(0,s.WQX)(l.WT).nativeWindow.OnetrustActiveGroups;
1return G?G.split(",").filter(Boolean).map(p=>p.slice(1)):[]},Un=(u,G)=>{G.forEach(p=>{const v=Rn[p];v&&u.set(v,!0)})},Kt=(u,G,p)=>{const v=(0,s.WQX)(l.WT),L=(0,s.WQX)(y.u),Z=(0,s.WQX)(H.o),st=new Map;return st.set("pageName",wn(u.pageName)),st.set("pageID",Z.selectedItem.key),st.set("breadCrumbs",Rt(u.pageName)),st.set("RZBK",L.rzbk),st.set("brand",L.markenID),st.set("URL",v.nativeWindow.location.href),st.set("referringURL",p),st.set("language",Wn()),st.set("pageType",G.pageType),st.set("siteSection",kt(G.siteSections)),st.set("title",Z.selectedItem.menuText),st},wn=u=>`${Ae.WEB_PORTAL}:${u}`,Rt=u=>u.split(":"),Wn=()=>(0,s.WQX)(Nt.P).getLocale().split("-")[0],kt=u=>[Ae.WEB_PORTAL,...u].join(":"),Fn=()=>{const u=new Map;return u.set("browserLanguage",Gn()),u.set("name",jn()),u.set("platformType","Website"),u},Gn=()=>window.navigator.language,jn=()=>document.querySelector('meta[name="portal_stage"]')?.content||"",$n=()=>{const u=Xn(),G=new Map;return G.set("trackingCode",Kn(u)),Vn(u),Yn(G,u),G},Xn=()=>{const u=(0,s.WQX)(l.WT),G=(0,l.vA)(u.nativeWindow.location.href);return G?Be(G):oe()},oe=()=>({utm_source:"",utm_advertiser:"",utm_agency:"",utm_campaign:"",utm_partner:"",utm_placement:"",utm_medium:"",utm_adgroup:"",utm_ad:"",utm_term:"",utm_marketing_tactic:"",utm_content:"",utm_geo:"",utm_traffic:"",utm_audience:"",gclid:"",fbclid:""}),Be=u=>{const G=new URLSearchParams(u),p={};return G.forEach((v,L)=>{p[L]=v}),p},Kn=u=>Object.entries(u).filter(([p])=>p.startsWith("utm_")).map(([p,v])=>`${p}=${v}`).join("&").replace(/\+/g," "),Vn=u=>{const G=Qn(u);if(!Hn(G))return;const p=zn(G);u.utm_term=p,u.utm_source||(u.utm_source="affiliate")},Qn=u=>({partnerID:Le(u,Xt_PARAM_NAMES_PARTNER_ID),werbeID:Le(u,Xt_PARAM_NAMES_WERBE_ID)}),Le=(u,G)=>{for(const p of G)if(u[p])return u[p]},Hn=u=>!(!u.partnerID&&!u.werbeID),zn=u=>u.partnerID&&u.werbeID?`${u.partnerID}|${u.werbeID}`:u.partnerID||u.werbeID||"",Yn=(u,G)=>{Object.entries(G).forEach(([p,v])=>{const L=Sn[p];L&&u.set(L,v)})},Zn=u=>({emailHashed:u?.emailHashed||"",phoneNumberHashed:u?.phoneNumberHashed||""});var ie,qn=e(3313),to=e(797);let re=(()=>{class u{#t=(0,s.WQX)(l.wf);#e=(0,s.WQX)(s.zZn);#n=(0,s.WQX)(Bt);#o=(0,s.WQX)(l.WT);#i=(0,s.WQX)(qn.p);#r=(0,s.WQX)(to.I);#a=(0,s.WQX)(ge.Wj).on(yn.H).pipe((0,f.p)(Boolean),(0,I.T)(p=>this.#m(p)),(0,Re.pQ)());#s=(()=>({createEvent(u,G,p){const v=((u,G)=>{const p=new Map;return G||(G={emailHashed:"",phoneNumberHashed:"",RZBKCustomerIDHashed:"",customerIDHashed:""}),p.set("event",u),p.set("user",G),p})(`form.${String(u)}`,G),L=(u=>{const G=(0,s.WQX)(y.u),p=new Map;return u.product&&!Array.isArray(u.product)&&(u.product=[u.product]),p.set("attributes",u),p.set("timeStamp",Math.floor(Date.now()/1e3)),p.set("RZBK",G.rzbk),p.set("brand",G.markenID),p})(p);return v.set("eventInfo",L),$t(v)}}))();#u=(()=>({createEvent(u,G,p,v,L){const Z=(()=>{const u=new Map;return u.set("event","pageview"),u})(),st=((u,G)=>{const p=(0,s.WQX)(y.u),v=Zn(u),L=new Map;return L.set("loginState","logged_in"),L.set("consent",Ln()),L.set("emailHashed",v.emailHashed),L.set("phoneNumberHashed",v.phoneNumberHashed),L.set("customerType",G),L.set("customerIDHashed",p.hashedVrNetkey),L.set("RZBKCustomerIDHashed",p.hashedRzbkAndVrNetkey),L})(G,p),gt=((u,G,p)=>{const v=new Map;return v.set("pageInfo",Kt(u,G,p)),v.set("environment",Fn()),v.set("campaign",$n()),v})(u,(u=>({pageType:u?.pageType||"Page",siteSections:u?.siteSections||[]}))(v),L);return Z.set("user",st),Z.set("page",gt),$t(Z)}}))();#l=document.referrer;#c=!1;#d="N";static{this.PAGE_VIEW_DELAY_MS=1e3}static{this.UMLAUT_MAP={\u00e4:"ae",\u00f6:"oe",\u00fc:"ue",\u00df:"ss"}}constructor(){this.#c=this.#h(),window.adobeDataLayer=window.adobeDataLayer||[],this.#g(),this.#v(),this.#a.subscribe(p=>this.#d=p)}sendFormEvent(p,v,L){if(!this.#c)return;let Z;(0,s.N4e)(this.#e,()=>{Z=this.#s.createEvent(p,L,v)}),window.adobeDataLayer?.push(Z)}sendPageViewEvent(p,v,L){if(!this.#c)return;let Z;(0,s.N4e)(this.#e,()=>{Z=this.#u.createEvent(p,v,this.#d,L,this.#l)}),window.adobeDataLayer.push(Z),this.#l=this.#o.nativeWindow.location.href}sendCustomLinkEvent(p){this.#c&&window.adobeDataLayer.push(this.#n.createEvent(p))}#m(p){let v="N";return p&&p.given&&(v="F"),v}#h(){const p=this.#t.feature(l.Hw),v=this.#t.feature(l.uR);return p||v}#f(p){const v=this.#r.getSelectedPath(p);return this.#b(v)}#g(){window.addEventListener("OneTrustGroupsUpdated",()=>
1{this.#E()},{once:!0,passive:!0})}#v(){this.#i.currentStructureItem$.pipe((0,f.p)(Boolean),(0,Yt.F)(),(0,ke.c)(ie.PAGE_VIEW_DELAY_MS),(0,Re.pQ)()).subscribe(p=>{const v=this.#f(p);this.sendPageViewEvent({pageName:v})})}#b(p){return p.map(v=>v.menuText).map(v=>this.#p(v)).join(":")}#p(p){return p.toLowerCase().replace(/[\xe4\xf6\xfc\xdf]/g,v=>ie.UMLAUT_MAP[v]||v).replace(/[^\w]/g,"")}#E(){const p=window.adobeDataLayer,v=this.#o.nativeWindow.OnetrustActiveGroups,L={"0002":"analytics","0003":"personalization","0004":"marketing"};if(p&&v&&1===p.length){const Z=p.shift(),st=v.split(",").filter(Boolean).map(gt=>gt.slice(1));Z.user.consent.categories=st.join(","),st.forEach(gt=>{if(L[gt]){const mt=L[gt];mt&&(Z.user.consent[mt]=!0)}}),p.push(Z)}}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();ie=re;class eo extends Event{constructor(G){super("okp-api-usage"),this.payload=G}}const no=u=>{const G=(v,L,Z)=>{window.dispatchEvent(new eo({path:[v,L],trace:(new Error)?.stack?.toString(),apiName:"PortalContext",apiLocation:Z}))};return{createProxy:(v,L,Z=["*"],st)=>u?new Proxy(v,{get:(mt,bt,St)=>{!bt.startsWith("_")&&!bt.startsWith("#")&&(Z.includes("*")||Z.includes(bt))&&G(L,bt,st);const ze=mt[bt];return ze instanceof Function?function(...ko){return ze.apply(this===St?mt:this,ko)}:ze},set:(mt,bt,St)=>((Z.includes("*")||Z.includes(bt))&&G(L,bt),Reflect.set(mt,bt,St))}):v}};let oo=(()=>{class u{createDeprecationProxy(p,v){return new Proxy(p,{get(L,Z){const st=v.find(mt=>mt.methodName===Z);if(st)throw new Error("PortalContext: Usage of deprecated method detected. "+st.methodName+" is deprecated. "+st.message);const gt=Reflect.get(L,Z,L);return"function"==typeof gt?gt.bind(L):gt}})}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})(),Ne=(()=>{class u{#t=(0,s.WQX)(l.wf);#e=(0,s.WQX)(Nt.P);#n=(0,s.WQX)(E.J);#o=(0,s.WQX)(H.o);#i=(0,s.WQX)(y.u);#r=(0,s.WQX)(Mn.N);#a=(0,s.WQX)(Oe.J);#s=(0,s.WQX)(Se.x);#u=(0,s.WQX)(_n.h);#l=(0,s.WQX)(Cn.B);#c=(0,s.WQX)(re);#d=(0,s.WQX)(oo);init(){const p=this.#m("window");window.okpGlobal||(window.okpGlobal={}),window.okpGlobal.portalContext=p,typeof Zone<"u"&&(Zone.current._properties.PortalContext=this.#h())}#m(p){const v=no(this.#t.feature("enableProxyLoggingV2"));return{getLocalizationService:()=>this.#d.createDeprecationProxy(v.createProxy(this.#e,"LocalizationService",["localeChanges","getAvailableLocales","getLocale","setLocale"],p),[]),getLoggingService:()=>v.createProxy(this.#n,"LoggingService",["log","warn","error","dlog"],p),getNavigationService:()=>this.#d.createDeprecationProxy(v.createProxy(this.#o,"NavigationService",["selectedItem$","selectedItem","selectedPath$","navigation$","activeSection","navigate","navigateToStartPage","selectItem","calculateProcessPathInfo","getSiblingsOfKey","getPortalBasePath"],p),[]),getSecurityService:()=>this.#d.createDeprecationProxy(v.createProxy(this.#i,"SecurityService",["getContextId","logout","getSessionExpiry","refreshToken","ensureTokenForApiCall","relogin"],p),[]),getCttService:()=>v.createProxy(this.#r,"CttService",["hasCttToken","isCttValid"],p),getApiEndpointService:()=>v.createProxy(this.#a,"ApiEndpointService",["getServiceUrl"],p),getDataExchangeService:()=>v.createProxy(this.#s,"DataExchangeService",["dispatch","observeOn"],p),getWebComponentService:()=>v.createProxy(this.#u,"WebComponentService",["getWebComponentData"],p),getVpContextService:()=>v.createProxy(this.#l,"VpContextService",["vpContext$"],p),getMarketingService:()=>v.createProxy(this.#c,"MarketingService",["sendFormEvent","sendPageViewEvent"],p)}}#h(){return this.#m("zone"),new Proxy(new wt.ES,{get:(L,Z)=>{throw new Error("PortalContext: accessing PortalContext via Zone is deprecated. Please use PortalContextProvider or access PortalContext via window.okpGlobal['portalContext'].")}})}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();const io="X-Portal-Id-Provider",we=(()=>{const u=document.getElementsByTagName("base");return u.length>0?u[u.length-1].getAttribute("href")??"/":"/"})(),Qt=[{provide:wt.ES,useFactory:wt.qs},wt.lJ,Ne,{provide:_t.x3,useValue:we},{provide:_t.yS,useValue:"proxy-gateway/serviceproxy"},{provide:_t.j,useValue:"portal-oauth"},{provide:_t.Z9,useValue:"webapps"},{provide:_t.C3,useValue:"m"}],co=(0,lt.$R)((0,lt.b$)([Ot.id,(u,G)=>{const v=(0,s.WQX)(Ct.L).get();return G(v?u.clone({setHeaders:{[io]:v}}):u)}
1])),uo=[{provide:Ot.mV,useValue:(u=document,G=>new Promise((p,v)=>{if(u.getElementById(G.id))return void p();const L=u.createElement("script"),Z=()=>{p(),gt()},st=mt=>{v(new Error(mt.message)),gt()};function gt(){L.removeEventListener("load",Z),L.removeEventListener("error",st)}L.src=G.path,L.type=G.module?"module":"",L.defer=!0,L.id=G.id,L.addEventListener("load",Z),L.addEventListener("error",st),u.body.appendChild(L)}))},(0,Ot.HC)({type:"OnlineBanking",basePath:"/services_cloud/portal/",serviceProxyPath:"/services_cloud/portal/proxy-gateway/serviceproxy",contentCollectorBasePath:"NOT_USED",featuresBasePath:"OMITTED",headerTag:"lib-portal-header"},{appBasePathProvider:{useClass:on},localizationService:{useClass:rn},contentLookupService:{useClass:ve.E},contentInfoService:{useClass:cn},contentFactory:{useClass:gn},errorHandler:{useClass:class vn extends Ot.zc{handleError(G){}}},scriptDefinitionLoader:{useClass:Ie}},(0,Ot.xd)(u=>{u.add(G=>G.getAssetService(),{useClass:bn}),u.add(G=>G.getNavigationService(),{useClass:At}),u.add(G=>G.getPortalFeaturesService(),{useClass:xe})}),(0,Ot.b$)((()=>{const u={withAdditionalInterceptors:[ee.UZ,ee.pp,ee.BI].map(G=>({useFactory:()=>G}))};return u.withTokenInterceptor={pathsToInclude:["proxy-gateway"],tokenRefreshFn:{useFactory:G=>()=>(0,En.v)(()=>G.ensureTokenForApiCall()),deps:[y.u]}},u.withUnauthorizedRetryInterceptor={maxRetries:1,pathsToIgnore:/(webcomponents|kf-theme|oauth)/},u})()))];var u,lo=e(8473),We=e(3674),mo=e(639);let Fe=(()=>{class u{#t=(0,s.WQX)(y.u);#e=(0,s.WQX)(l.wf);#n=(0,s.WQX)(mo.M);#o=(0,s.WQX)(vt.kj);#i=new Gt.B;#r=["keydown","click"];constructor(){document.addEventListener("click",this.#u,{capture:!0}),document.addEventListener("keydown",this.#u,{capture:!0})}init(){const p=this.#t;this.#i.pipe((0,Et.n)(v=>this.#o.authChanges.pipe((0,I.T)(L=>({timestamp:v,authState:L})))),(0,f.p)(v=>v.authState===vt.BW.CUSTOMER),(0,I.T)(v=>v.timestamp),(0,We.c)(179700,lo.E,{leading:!0,trailing:!0}),(0,yt.M)(v=>{p.refreshToken(!0,this.#a(v))})).subscribe()}#a(p){const v=1e3*this.#n.sessionExpiresInSeconds,L=Date.now()-p,Z=this.#s(v,L);return Z>=0?Z:v}#s(p,v){return Math.floor((p-v)/1e3)}#u=p=>{("keydown"===p.type||"click"===p.type&&this.#r.indexOf(p.type)>-1)&&this.#i.next(Date.now())};static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var ho=e(4672),Ge=e(7870),je=e(3701),$e=e(7130);const po=[E.J,Se.x,re,Oe.J,te.n,l.wf,Jt.Pp,Fe],Xe=(0,ho.oA)({contextServiceBasePath:"/services_cloud/portal/proxy-gateway/serviceproxy/portal-context-service"},(0,Ge.Lq)((0,Ge.ik)("portal-context-provider-customer")),(0,je.bc)((0,je.ik)("portal-context-provider-mandator")),(0,$e.mq)((0,$e.ik)("portal-context-provider-identity")));var fo=e(9995),go=e(4025);const vo=(0,fo.$z)({trackerUrl:"https://l2026.netfed.de/matomo.php",siteId:"79",scriptUrl:"https://l2026.netfed.de/matomo.js",disabled:!(0,l.N4)("enableDZBankTrackingScript")},(0,go.y)());var Ke=e(1212);let bo=(()=>{class u{static forRoot(p){return{ngModule:u,providers:[{provide:Ke.T,useFactory:p}]}}constructor(p,v){if(p)throw new Error("PortalFrontpageApiModule is already loaded. Import in your base AppModule only.");if(!v)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static{this.\u0275fac=function(v){return new(v||u)(s.KVO(u,12),s.KVO(lt.Qq,8))}}static{this.\u0275mod=m.$C({type:u})}static{this.\u0275inj=s.G2t({})}}return u})();class Ve{}let ae=(()=>{class u{constructor(){const p=(0,s.WQX)(l.WT).nativeWindow;this.globalState=p.okpGlobal=p.okpGlobal||{}}get(p){return this.globalState[p]}set(p,v){this.globalState[p]=v}static{this.\u0275fac=function(v){return new(v||u)}}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();const se=`@online_banking_portal/api_v${new s.RxE("1.0.0").major}`;let Po=(()=>{class u extends Ve{#t=(0,s.WQX)(y.u);logout(p){this.#t.logout(p)}relogin(p,v){this.#t.relogin(p,v)}static{this.\u0275fac=(()=>{let p;return function(L){return(p||(p=m.xGo(u)))(L||u)}})()}static{this.\u0275prov=s.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();class xo{#t=(0,s.WQX)(s.zZn);getTabNameService(){return this.#t.get(g.c)}getLogoutService(){return this.#t.get(Po)}}e(9137);const ce=`@faq_bot_navigation/api_v${new s.RxE("1.0.0").major}`,n=["mainMenu","right-header-bar","footerMenu","kontaktBoxMenu"];function r(u,G,p){const v=D(G??""),L=D(d(p??""));return`${v}${L?`/${L}`:""}/dl/${d(u??"")}`}function d(u){let G=0;for(;G<u.length&&"/"===u.charAt(G);)G++;return u.slice(G)}function D(u){let G=u.length;for(;G>0&&"/"===u.charAt(G-1);)G--;return u.slice(0,G)}const ut=/[\p{L}\p{N}]/u;function Pt(u,G,p,v){return(u??[]).flatMap(L=>function Ft(u,G,p,v){if(!u)return[];const L=u.menuText?.trim(),Z=function Ht(u){return!!u&&ut.test(u)}(L)?[...G,L]:G,gt=Pt(u.menuEntries??[],Z,p,v);return"gvRoute"===u.keyType&&u.key?[{title:Z.join(" >
1 "),key:u.key,keyContentId:u.keyContentId,link:r(u.key,p,v)},...gt]:gt}(L,G,p,v))}class He{#t=(0,s.WQX)(l.WT);#e;constructor(G){this.#e=G}getNavigationEntries(){return function Mt(u,G,p){return(u?.menus??[]).filter(v=>n.includes(v?.name)).flatMap(v=>Pt(v.menuEntries,[],G,p))}(this.#e.getNavigation(),this.#t.nativeWindow.location.origin,this.#e.basePortalPath)}}var Vo=e(4568);const Qo=[a.Bb,q.wb,K._T,x.hM,z.Pd,he,$.forRoot(()=>new F.Z({basePath:"/services_cloud/portal/proxy-gateway/serviceproxy/structure-service",withCredentials:!0})),X.forRoot(()=>new pt.g({basePath:"/services_cloud/portal/proxy-gateway/serviceproxy/portal-logging",withCredentials:!0})),bo.forRoot(()=>new Ke.T({basePath:"/services_cloud/portal/proxy-gateway/serviceproxy/portal-frontpage-v1",withCredentials:!0})),j.WJ.register(`${we}service-worker.js`)],$o=[(0,k.Ii)({onSameUrlNavigation:"reload"}),(0,k.oH)({scrollPositionRestoration:"enabled"})],Ho={providers:[(0,i.Jn2)(),(0,s.oKB)(...Qo),...Qt,(0,m.phd)(function Ko(){window.ngZone=(0,s.WQX)(s.SKi),(0,s.WQX)(le).activate(),(0,s.WQX)(Jt.Pp).loadConfiguration(),(0,s.WQX)(Ne).init(),(0,s.WQX)(Fe).init(),(0,s.WQX)(Ot.kh).onPortalInit(),function Oo(){const u=(0,s.WQX)(ae);if(u.get(se))throw Error(`${se} is already defined.`);u.set(se,new xo)}(),function Xo(){if(!(0,s.WQX)(l.wf).feature("faqBotNavigationApi"))return;const u=(0,s.WQX)(H.o);!function Ro(u){const G=(0,s.WQX)(ae);if(G.get(ce))throw Error(`${ce} is already defined.`);G.set(ce,new He(u))}({getNavigation:()=>u.structure,basePortalPath:u.getPortalBasePath()})}()}),co,...uo,Xe,...po,...Ye,...tn,(0,k.lh)(ht,...ot.production?$o:[...$o,(0,k._5)()]),(0,et.gD)(),(0,Vo.d)(),(0,it.qg)(),vo]};ot.production&&(0,i.SmG)(),(0,a.B8)(N,Ho).catch(u=>console.error(u))},1212(U,R,e){e.d(R,{T:()=>i});class i{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder,this.encodeParam=t.encodeParam?t.encodeParam
1:s=>this.defaultEncodeParam(s),this.credentials=t.credentials?t.credentials:{},this.credentials.bearerAuth||(this.credentials.bearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(t){if(0===t.length)return;const s=t.find(x=>this.isJsonMime(x));return void 0===s?t[0]:s}selectHeaderAccept(t){if(0===t.length)return;const s=t.find(x=>this.isJsonMime(x));return void 0===s?t[0]:s}isJsonMime(t){const s=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(s.test(t)||"application/json-patch+json"===t.toLowerCase())}lookupCredential(t){const s=this.credentials[t];return"function"==typeof s?s():s}defaultEncodeParam(t){const s="date-time"===t.dataFormat&&t.value instanceof Date?t.value.toISOString():t.value;return encodeURIComponent(String(s))}}},138(U,R,e){e.d(R,{G:()=>C});var i=e(698);class a{encodeKey(_){return encodeURIComponent(_)}encodeValue(_){return encodeURIComponent(_)}decodeKey(_){return decodeURIComponent(_)}decodeValue(_){return decodeURIComponent(_)}}var t=e(6563);const s=new t.nKC("basePath");var E=e(2453);let C=(()=>{class M{constructor(g,f,S){if(this.httpClient=g,this.basePath="https://portal-logging-kundenportal-etu.apps.caas-ekad-test01.rz.bankenit.de",this.defaultHeaders=new i.Lr,this.configuration=new E.g,S&&(this.configuration=S),"string"!=typeof this.configuration.basePath){const l=Array.isArray(f)?f[0]:void 0;null!=l&&(f=l),"string"!=typeof f&&(f=this.basePath),this.configuration.basePath=f}this.encoder=this.configuration.encoder||new a}addToHttpParams(g,f,S){return"object"!=typeof f||f instanceof Date?this.addToHttpParamsRecursive(g,f,S):this.addToHttpParamsRecursive(g,f)}addToHttpParamsRecursive(g,f,S){if(null==f)return g;if("object"==typeof f)if(Array.isArray(f))f.forEach(l=>g=this.addToHttpParamsRecursive(g,l,S));else if(f instanceof Date){if(null==S)throw Error("key may not be null if value is Date");g=g.append(S,f.toISOString().substring(0,10))}else Object.keys(f).forEach(l=>g=this.addToHttpParamsRecursive(g,f[l],null!=S?`${S}.${l}`:l));else{if(null==S)throw Error("key may not be null if value is not object or array");g=g.append(S,f)}return g}logEntry(g,f="body",S=!1,l){if(null==g)throw new Error("Required parameter rOLogData was null or undefined when calling logEntry.");let b=this.defaultHeaders,h=l&&l.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept([])),void 0!==h&&(b=b.set("Accept",h));let m=l&&l.context;void 0===m&&(m=new i._y);let O=l&&l.transferCache;void 0===O&&(O=!0);const N=this.configuration.selectHeaderContentType(["application/json"]);void 0!==N&&(b=b.set("Content-Type",N));let k="json";return h&&(k=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.request("post",`${this.configuration.basePath}/rest/de.fiduciagad.portal.logging.v1.LoggingApi/logging/logEntry`,{context:m,body:g,responseType:k,withCredentials:this.configuration.withCredentials,headers:b,observe:f,transferCache:O,reportProgress:S})}static{this.\u0275fac=function(f){return new(f||M)(t.KVO(i.Qq),t.KVO
1(s,8),t.KVO(E.g,8))}}static{this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},2453(U,R,e){e.d(R,{g:()=>i});class i{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder,this.encodeParam=t.encodeParam?t.encodeParam:s=>this.defaultEncodeParam(s),this.credentials=t.credentials?t.credentials:{}}selectHeaderContentType(t){if(0===t.length)return;const s=t.find(x=>this.isJsonMime(x));return void 0===s?t[0]:s}selectHeaderAccept(t){if(0===t.length)return;const s=t.find(x=>this.isJsonMime(x));return void 0===s?t[0]:s}isJsonMime(t){const s=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(s.test(t)||"application/json-patch+json"===t.toLowerCase())}lookupCredential(t){const s=this.credentials[t];return"function"==typeof s?s():s}defaultEncodeParam(t){const s="date-time"===t.dataFormat&&t.value instanceof Date?t.value.toISOString():t.value;return encodeURIComponent(String(s))}}},2749(U,R,e){e.d(R,{X:()=>C});var i=e(698);class a{encodeKey(_){return encodeURIComponent(_)}encodeValue(_){return encodeURIComponent(_)}decodeKey(_){return decodeURIComponent(_)}decodeValue(_){return decodeURIComponent(_)}}var t=e(6563);const s=new t.nKC("basePath");var E=e(9128);let C=(()=>{class M{constructor(g,f,S){if(this.httpClient=g,this.basePath="https://structure-service-kundenportal-etu-feature-dev.apps.caas-ekad-test01.rz.bankenit.de",this.defaultHeaders=new i.Lr,this.configuration=new E.Z,S&&(this.configuration=S),"string"!=typeof this.configuration.basePath){const l=Array.isArray(f)?f[0]:void 0;null!=l&&(f=l),"string"!=typeof f&&(f=this.basePath),this.configuration.basePath=f}this.encoder=this.configuration.encoder||new a}addToHttpParams(g,f,S){return"object"!=typeof f||f instanceof Date?this.addToHttpParamsRecursive(g,f,S):this.addToHttpParamsRecursive(g,f)}addToHttpParamsRecursive(g,f,S){if(null==f)return g;if("object"==typeof f)if(Array.isArray(f))f.forEach(l=>g=this.addToHttpParamsRecursive(g,l,S));else if(f instanceof Date){if(null==S)throw Error("key may not be null if value is Date");g=g.append(S,f.toISOString().substring(0,10))}else Object.keys(f).forEach(l=>g=this.addToHttpParamsRecursive(g,f[l],null!=S?`${S}.${l}`:l));else{if(null==S)throw Error("key may not be null if value is not object or array");g=g.append(S,f)}return g}getContent(g="body",f=!1,S){let l=this.defaultHeaders,b=S&&S.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(l=l.set("Accept",b));let h=S&&S.context;void 0===h&&(h=new i._y);let m=S&&S.transferCache;void 0===m&&(m=!0);let O="json";return b&&(O=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.request("get",`${this.configuration.basePath}/api/v1/content`,{context:h,responseType:O,withCredentials:this.configuration.withCredentials,headers:l,observe:g,transferCache:m,reportProgress:f})}getNavigationV3(g,f,S="body",l=!1,b){let h=new i.Nl({encoder:this.encoder});null!=g&&(h=this.addToHttpParams(h,g,"appType"));let m=this.defaultHeaders;null!=f&&(m=m.set("X-VP-App-Locale",String(f)));let O=b&&b.httpHeaderAccept;void 0===O&&(O=this.configuration.selectHeaderAccept(["application/json"])),void 0!==O&&(m=m.set("Accept",O));let c=b&&b.context;void 0===c&&(c=new i._y);let N=b&&b.transferCache;void 0===N&&(N=!0);let k="json";return O&&(k=O.startsWith("text")?"text":this.configuration.isJsonMime(O)?"json":"blob"),this.httpClient.request("get",`${this.configuration.basePath}/api/v3/ui/navigation`,{context:c,params:h,responseType:k,withCredentials:this.configuration.withCredentials,headers:m,observe:S,transferCache:N,reportProgress:l})}getSchemaV5(g="body",f=!1,S){let l=this.defaultHeaders,b=S&&S.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(l=l.set("Accept",b));let h=S&&S.context;void 0===h&&(h=new i._y);let m=S&&S.transferCache;void 0===m&&(m=!0);let O="json";return b&&(O=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.request("get",`${this.configuration.basePath}/api/schema/5.0.0`,{context:h,responseType:O,withCredentials:this.configuration.withCredentials,headers:l,observe:g,transferCache:m,reportProgress:f})}static{this.\u0275fac=function(f){return new(f||M)(t.KVO(i.Qq),t.KVO
1(s,8),t.KVO(E.Z,8))}}static{this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},9128(U,R,e){e.d(R,{Z:()=>i});class i{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder,this.encodeParam=t.encodeParam?t.encodeParam:s=>this.defaultEncodeParam(s),this.credentials=t.credentials?t.credentials:{}}selectHeaderContentType(t){if(0===t.length)return;const s=t.find(x=>this.isJsonMime(x));return void 0===s?t[0]:s}selectHeaderAccept(t){if(0===t.length)return;const s=t.find(x=>this.isJsonMime(x));return void 0===s?t[0]:s}isJsonMime(t){const s=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(s.test(t)||"application/json-patch+json"===t.toLowerCase())}lookupCredential(t){const s=this.credentials[t];return"function"==typeof s?s():s}defaultEncodeParam(t){const s="date-time"===t.dataFormat&&t.value instanceof Date?t.value.toISOString():t.value;return encodeURIComponent(String(s))}}},3270(U,R,e){e.d(R,{V0:()=>dt,BT:()=>it,WW:()=>g,Z_:()=>O,BI:()=>at,Pv:()=>x,UZ:()=>z,pp:()=>j});var i=e(4876),a=e(1365),t=e(7953),s=e(1318);const x=({maxRetryAttempts:H=3,scalingDuration:nt=1e3,includedStatusCodes:ft=[],preRetryHook:T}={})=>y=>y.pipe((0,a.Z)((w,I)=>{const A=I+1;if(A>H||!ft.find(ot=>ot===w.status))throw w;const Q=(0,i.O)(A*nt);return T?Q.pipe((0,t.p)(()=>T.pipe((0,s.W)(()=>{throw w})))):Q}));var E=e(2611),C=e(6563);const M=/\/(login|oauth\/(token|auth|revoke))/gi;let g=(()=>{class H{intercept(ft,T){return((H,nt)=>H.url.match(M)||H.url.indexOf("/content")>=0&&-1===H.url.indexOf("portal-content/content")?nt(H):nt(H).pipe((0,E.l)(x({maxRetryAttempts:1,scalingDuration:100,includedStatusCodes:[401]}))))(ft,y=>T.handle(y))}static{this.\u0275fac=function(T){return new(T||H)}}static{this.\u0275prov=C.jDH({token:H,factory:H.\u0275fac})}}return H})();var f=e(137),S=e(6647),l=e(9442);let b;let O=(()=>{class H{intercept(ft,T){return((H,nt)=>H.url.match(/assets\/|\/(login|oauth\/(token|auth)|assets|config\/externalRouteConfig|portal-logging|banking-private)|portal-oauth\/message|atruvia\.scene7\.com/gi)?nt(H):(b||(b=(0,l.qs)().getSecurityService()),function h(){return(0,f.v)(()=>b.ensureTokenForApiCall())}().pipe((0,S.n)(()=>(H=H.clone({withCredentials:!0}),nt(H))))))(ft,y=>T.handle(y))}static{this.\u0275fac=function(T){return new(T||H)}}static{this.\u0275prov=C.jDH({token:H,factory:H.\u0275fac})}}return H})();var c=e(7919),N=e(9647);const q=/\/oauth\/token/gi,z=(H,nt)=>{let ft;return ft||(ft=(0,N.u)((0,l.qs)().getSecurityService())),H.url.match(q)&&ft.isLoggedIn()?nt(H).pipe((0,s.W)(T=>{return(401===T.status||403===T.status||400===(w=T).status&&"invalid_grant"===w.error.error)&&ft.relogin(),(0,c.$)(T);var w})):nt(H)},j=(H,nt)=>{if(H.url?.match(/atruvia\.scene7\.com/gi))return nt(H);const ft=(0,l.qs)().getLocalizationService();return nt(ft?.getLocale()?H.clone({setHeaders:{"X-VP-App-Locale":ft.getLocale()}}):H)};let it=(()=>{class H{intercept(ft,T){return j(ft,y=>T.handle(y))}static{this.\u0275fac=function(T){return new(T||H)}}static{this.\u0275prov=C.jDH({token:H,factory:H.\u0275fac})}}return H})();var et=e(8764),F=function(H){return H[H.INVALID_CTT=470]="INVALID_CTT",H}(F||{});let lt,$;const at=(H,nt)=>{const T=localStorage.getItem("X-CTT");return H.url.match(/assets\/|\/(login|oauth\/(token|auth)|assets|config\/externalRouteConfig|portal-oauth\/message)/gi)||!T?nt(H):($||($=(0,l.qs)().getCttService()),$.setCttToken(T),nt(function X(H,nt){return H.clone({setHeaders:{"X-CTT":nt}})}(H,T)).pipe((0,et.M)(()=>$.setCttValid(!0)),(0,s.W)(y=>{throw function pt(H){lt||(lt=(0,l.qs)().getNavigationService()),H.status===F.INVALID_CTT&&($.setCttValid(!1),lt.navigate("/ctterror",{},{errMsgTranslationId:"CTT_ERROR.INVALID",headlineMsgTranslationId:"CTT_ERROR.HEADLINE"}))}(y),y})))};let dt=(()=>{class H{intercept(ft,T){return at(ft,y=>T.handle(y))}static{this.\u0275fac=function(T){return new(T||H)}}static{this.\u0275prov=C.jDH({token:H,factory:H.\u0275fac})}}return H})()},2127(U,R,e){e.d(R,{k:()=>i});let i=(()=>{class a{static{this.MAIN_MENU="mainMenu"}static{this.GV_ROUTE="gvRoute"}static{this.FORWARD="forward"}}return a})()},9333(U,R,e){e.d(R,{$:()=>f});var i=e(7580),a=e(6563),t=e(6124),s=e(9074),x=e(1567),E=e(6647),C=e(8338),M=e(7511),_=e(6328);let g=(()=>{class S{#t;#e;constructor(){this.#t=(0,a.WQX)(_.x3),this.#e=(0,a.WQX)(t.aKT),this.content=(0,i.hFB)(),this.scriptTag=(0,M.EW)(()=>{const b=this.content();if(b){const h=document.createElement("script");return h.src=b.scriptAttributes.src||`${this.#t}ui/${b.serviceName}/${b.scriptAttributes.path}/${b.scriptAttributes.bundleName}`.replaceAll(/(\/+)/g,"/"),Object.keys(b.scriptAttributes.attributes||{}
1).forEach(m=>h.setAttribute(m,b.scriptAttributes.attributes[m])),h}return null}),(0,a.QZP)(()=>{const b=this.scriptTag();if(b){const h=this.#e.nativeElement;h.innerHTML="",h.appendChild(b)}})}static{this.\u0275fac=function(h){return new(h||S)}}static{this.\u0275cmp=t.VBU({type:S,selectors:[["sob-script"]],inputs:{content:[1,"content"]},decls:0,vars:0,template:function(h,m){},encapsulation:2})}}return S})(),f=(()=>{class S{#t;#e;#n;constructor(){this.contentId=(0,i.hFB)(void 0,{alias:"sobPortalContentId"}),this.#t=(0,a.WQX)(t.c1b),this.#e=(0,a.WQX)(C.n),this.#n=(0,s.br)(this.contentId).pipe((0,x.p)(b=>!!b),(0,E.n)(b=>this.#e.contentId(b))).subscribe({next:b=>{"script"===b?.integrationType&&this.#t.createComponent(g).setInput("content",b)},error:()=>{this.#t.clear()}})}ngOnDestroy(){this.#n?.unsubscribe()}static{this.\u0275fac=function(h){return new(h||S)}}static{this.\u0275dir=t.FsC({type:S,selectors:[["","sobPortalContentId",""]],inputs:{contentId:[1,"sobPortalContentId","contentId"]}})}}return S})()},6328(U,R,e){e.d(R,{C3:()=>x,SC:()=>b,Xn:()=>h,Z9:()=>C,ff:()=>t,j:()=>a,jL:()=>s,x3:()=>E,yS:()=>_});var i=e(6563);const a=new i.nKC("PortalOAuthPath"),t=new i.nKC("should OAuth be enabled"),s=new i.nKC("the OAuth base url"),x=new i.nKC("AppName"),E=new i.nKC("BasePortalPath"),C=new i.nKC("SupAppsBasePath"),_=new i.nKC("ProxyGatewayPath"),b=new i.nKC("All available locales"),h=new i.nKC("Default locale to use")},2424(U,R,e){e.d(R,{J:()=>t});var i=e(6563),a=e(6328);let t=(()=>{class s{#t=(0,i.WQX)(a.x3);#e=(0,i.WQX)(a.yS);getServiceUrl(E,C){return this.#t+this.#e+"/"+E+C}static{this.\u0275fac=function(C){return new(C||s)}}static{this.\u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})()},9302(U,R,e){e.d(R,{c:()=>t});var i=e(6563);let t=(()=>{class s{get localStorage(){return function a(){return localStorage}()}static{this.\u0275fac=function(C){return new(C||s)}}static{this.\u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})()},7649(U,R,e){e.d(R,{n:()=>t});var i=e(6563);let t=(()=>{class s{get sessionStorage(){return function a(){return sessionStorage}()}static{this.\u0275fac=function(C){return new(C||s)}}static{this.\u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})()},9495(U,R,e){e.d(R,{x:()=>b});var i=e(4847),a=e.n(i),t=e(6042),s=e(1817),x=e(1870),E=e(8397),C=e.n(E),M=e(2725),_=e.n(M),g=e(1700),f=e.n(g),S=e(1570),l=e(6563);let b=(()=>{class h{#t={};#e;#n="component";constructor(){this.#e=_().createStore([f()],[C()]),this.#e.observe("component",O=>{Object.keys(this.#t).forEach(c=>this.#o(O,c))})}dispatch(O){const c=this.#e.get(this.#n)||{data:{}};c.data[O.selector]=O.data,this.#e.set(this.#n,c)}observeOn(O){return this.#t[O]||(this.#t[O]=new t.m(1)),this.#o(sessionStorage.getItem(this.#n),O),this.#t[O].pipe((0,s.F)((c,N)=>(0,S.bD)(c,N)),(0,x.u)())}#o(O,c){if(O){let N={};if("string"==typeof O)try{N=JSON.parse(O)}catch(q){console.error("Could not parse json",q)}else N=O;
1const k=a()(N,`data.${c}`);this.#t[c].next(k)}}static{this.\u0275fac=function(c){return new(c||h)}}static{this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},8338(U,R,e){e.d(R,{n:()=>g});var i=e(7824),a=e(6563),t=e(8768),s=e(271),x=e(2749),E=e(3942),C=e(1567),M=e(6647),_=e(5047);let g=(()=>{class f{#t=(0,a.WQX)(x.X);#e=(0,a.WQX)(_.kj);fetchContents(){return this.#e.authChanges.pipe((0,C.p)(l=>l!==_.BW.UNAUTHENTICATED),(0,M.n)(()=>this.#t.getContent()))}contentId(l){return this.fetchContents().pipe((0,s.T)(b=>b.find(h=>h.contentId===l)),(0,s.T)(b=>{if(!b)throw`Content with ID ${l} not found.`;return b}))}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return(0,i.Cg)([(0,t.R)(),(0,i.Sn)("design:type",Function),(0,i.Sn)("design:paramtypes",[]),(0,i.Sn)("design:returntype",E.c)],f.prototype,"fetchContents",null),f})()},3230(U,R,e){e.d(R,{E:()=>x,p:()=>s});var i=e(9204),a=e(6563),t=e(2171),s=function(C){return C.DYNAMIC_ROUTE="dynamicRoute",C.PORTAL="portal",C.SCRIPT="script",C.WEB_COMPONENT="webComponent",C}(s||{});let x=(()=>{class C{constructor(){this.#t=(0,a.WQX)(t.$),this.currentContent$=this.#t.currentContent$,this.contentError$=this.#t.contentError$}#t;search(_){var g=this;return(0,i.A)(function*(){return(yield g.#t.search(_)).map(E)})()}get(_){var g=this;return(0,i.A)(function*(){const f=yield g.#t.get(_);return f?E(f):void 0})()}searchInternal(){var _=this;return(0,i.A)(function*(g={}){const f=yield _.#t.searchInternal(g);return Array.isArray(f)?f.map(E):E(f)}).apply(this,arguments)}static{this.\u0275fac=function(g){return new(g||C)}}static{this.\u0275prov=a.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})();function E(C){return{id:C.contentId,name:C.serviceName}}},2171(U,R,e){e.d(R,{$:()=>g});var i=e(6563),a=e(5797),t=e(6042),s=e(6196),x=e(9452),E=e(1318),C=e(271),M=e(8764),_=e(8338);let g=(()=>{class f{#t=new a.t(void 0);#e=new t.m(1);#n=(0,i.WQX)(_.n);get currentContent$(){return this.#t.asObservable()}get contentError$(){return this.#e.asObservable()}search(l){const b=this.#n.fetchContents().pipe((0,C.T)(h=>h.filter(m=>l.withIds.includes(m.contentId))));return(0,s._)(b)}get(l){const b=this.#n.contentId(l).pipe((0,E.W)(h=>(this.#e.next(h),(0,x.of)(void 0))),(0,M.M)(h=>this.#t.next(h)));return(0,s._)(b)}searchInternal(l={}){const b=this.#n.contentId(l.withId).pipe((0,M.M)(h=>this.#t.next(h)));return(0,s._)(b)}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275prov=i.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},7571(U,R,e){e.d(R,{P:()=>_});var i=e(6563),a=e(1128),t=e(8503),s=e(5797),x=e(1817),E=e(6328),C=e(4296);const M=new Map([["de","de-DE"],["en","en-GB"]]);let _=(()=>{class f{#t;#e=(0,i.WQX)(t.c$);#n=(0,i.WQX)(C.J);#o=(0,i.WQX)(E.SC);#i=(0,i.WQX)(E.Xn);#r=(0,i.WQX)(a.O1);#a=(0,i.WQX)(a.wf);#s=(0,i.WQX)(a.WT);constructor(){this.#u()}#u(){const l=this.#l();this.#n.dlog("init with localeAtStart %o",l),this.#t=new s.t(l),this.localeChanges=this.#t.asObservable().pipe((0,x.F)()),this.#e.setDefaultLang(this.#i),this.#e.addLangs(this.#o),this.setLocale(l),this.#s.nativeWindow.addEventListener("vp-ctx-sprachwechsel",b=>this.setLocale(b.detail))}#l(){if(!this.#a.feature(a.Uz))return this.#i;const l=function g(f){const l=(f.nativeWindow.navigator&&f.nativeWindow.navigator.languages||[]).map(b=>M.has(b)?M.get(b):b);return[...new Set(l)]}(this.#s).filter(m=>this.#o.includes(m)),b=m=>O=>O===m,h=this.#r.getCookieValue("x-vp-ctx-sprache");return this.#o.find(b(h))||this.#o.find(b(l[0]))||this.#i}getLocale(){return this.#t.getValue()}getAvailableLocales(){return this.#o}setLocale(l){this.#n.dlog("trying to set locale to %o",l),document.documentElement.lang=l.substring(0,2),M.has(l)&&(l=M.get(l)),this.#o.includes(l)?(this.#n.dlog(`passing locale ${l} to translation-service`),this.#e.use(l),this.#t.next(l)):this.#n.warn(`Locale "${l} is not available.\n Please choose from the list of available locales: ${this.#o.join(", ")}`)}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275prov=i.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},4296(U,R,e){e.d(R,{J:()=>b});var i=e(6563),a=e(1128),t=e(4205),s=e(9240),x=e(9452),E=e(1567),C=e(8799),M=e(1318),_=function(h){return h.DEBUG="DEBUG",h.INFO="INFO",h.WARN="WARN",h.ERROR="ERROR",h}(_||{}),g=e(6328),f=e(5483),S=e(138),l=e(5047);let b=(()=>{class h{#t=new t.B;#e=(0,i.WQX)(f.N);#n=(0,i.WQX)(S.G);#o=(0,i.WQX)(a.wf);#i=(0,i.WQX)(l.TI);#r=(0,i.WQX)(g.C3);constructor(){(0,i.WQX)(i.SKi).runOutsideAngular(()=>{const c=(0,s.Y)(500).pipe((0,E.p)(()=>this.#i.currentAuthentication!==l.BW.UNAUTHENTICATED&&this.#e.hasValidTokenState()));this.#t.pipe((0,C.r)(c),(0,E.p)(N=>0!=N.length)).subscribe(N=>
1{N.forEach(k=>this.#n.logEntry(k).pipe((0,M.W)(q=>(console.error("Error while trying to send log entry.",q,k),(0,x.of)(!1)))).toPromise())})})}log(...O){this.#a(_.INFO,O),this.#s(_.INFO,O)}warn(...O){this.#a(_.WARN,O),this.#s(_.WARN,O)}error(...O){this.#a(_.ERROR,O),this.#s(_.ERROR,O)}dlog(...O){this.#a(_.DEBUG,O)}#a(O,c){if(!this.#o.feature("logToJsConsole"))return;let N;switch(O){case _.DEBUG:case _.INFO:N=console.log;break;case _.WARN:N=console.warn;break;case _.ERROR:N=console.error}N(`[${O}] [${this.#r}]`,...c)}#s(O,c){try{c.unshift({APP_NAME:this.#r});const N=JSON.stringify(c);this.#t.next({logLevel:O,message:N})}catch(N){return void console.error("Error while preparing data to send to logging server.",N,c)}}static{this.\u0275fac=function(c){return new(c||h)}}static{this.\u0275prov=i.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},3313(U,R,e){e.d(R,{p:()=>k});var i=e(6563),a=e(9074),t=e(3305),s=e(1128),x=e(6042),E=e(4205),C=e(5797),M=e(1567),_=e(5842),g=e(8764),f=e(271),S=e(1817),l=e(2127),b=e(7505),h=e(4296),c=e(6275),N=e(6223);let k=(()=>{class q{constructor(){this.structureLoaded$=new x.m(1),this.navigationEnd$=new E.B,this.pageView$=new E.B,this.currentStructureItem$=new C.t(null),this.hasStructure$=new C.t(!1),this.#t=(0,i.WQX)(c.Pp),this.#e=(0,i.WQX)(t.Ix),this.#n=(0,i.WQX)(h.J),this.#o=(0,i.WQX)(s.WT),this.#i=(0,i.WQX)(i.abz),this.#r=(0,i.WQX)(N.aZ)}#t;#e;#n;#o;#i;#r;setupStructureHandling(K){this.#t.structure$.pipe((0,a.pQ)(this.#i)).subscribe(({structure:j,shouldSelectPath:it})=>{this.cacheNavigation(j);const et=(0,b.a)(j.menus,F=>F.name===l.k.MAIN_MENU);K.next(j),this.hasStructure$.next(!0),this.structureLoaded$.next({structure:j,mainMenu:et,shouldSelectPath:it})}),this.#t.structureError$.pipe((0,a.pQ)(this.#i)).subscribe(j=>{this.#a(j)})}setupRouterHandling(){this.#e.events.pipe((0,M.p)(K=>K instanceof t.wF),(0,_.E)(this.hasStructure$),(0,M.p)(([K,j])=>j),(0,g.M)(()=>this.#n.dlog("navigation end event")),(0,_.E)(this.currentStructureItem$),(0,g.M)(([K,j])=>{j&&this.pageView$.next({item:j,timestamp:Date.now()})}),(0,a.pQ)(this.#i)).subscribe(()=>{this.navigationEnd$.next({timestamp:Date.now()})})}setupLifecycleHandling(K){this.#e.events.pipe((0,M.p)(j=>j instanceof t.wF),(0,f.T)(j=>this.#r.prepareExternalUrl(j.urlAfterRedirects)),(0,S.F)(),(0,a.pQ)(this.#i)).subscribe(j=>{K.onRouteChanged({url:j})})}cacheNavigation(K){this.#o.nativeWindow.localStorage.setItem("structure",JSON.stringify(function m(q){const z=new WeakMap;return function K(j,it){let et,F;return"object"!=typeof j||null===j||j instanceof Boolean||j instanceof Date||j instanceof Number||j instanceof RegExp||j instanceof String?j:(et=z.get(j),void 0!==et?{$ref:et}:(z.set(j,it),Array.isArray(j)?(F=[],j.forEach(function(lt,$){F[$]=K(lt,it+"["+$+"]")})):(F={},Object.keys(j).forEach(function(lt){F[lt]=K(j[lt],it+"["+JSON.stringify(lt)+"]")})),F))}(q,"$")}(K)))}getCachedNavigation(){return function O(q){const z=/^\$(?:\[\d+\]|\["(?:[^\\"]|\\.)*"\])*$/;function K(it,et){const F=et.split(/[[\]]+/).filter(Boolean);let lt=it;for(const $ of F){if("$"===$)continue;const pt=$.startsWith('"')?JSON.parse($):parseInt($,10);if(void 0===lt[pt])return;lt=lt[pt]}return lt}return function j(it){if("object"!=typeof it||null===it)return;const et=Array.isArray(it)?it.entries():Object.entries(it);for(const[F,lt]of et)if("object"==typeof lt&&null!==lt){const pt=lt.$ref;"string"==typeof pt&&z.test(pt)?it[F]=K(q,pt):j(lt)}}(q),q}(JSON.parse(this.#o.nativeWindow.localStorage.getItem("structure")))}#a(K){this.#e.navigate(["/error"],{state:{errMsgTranslationId:"STRUCTURE.ERROR",traceId:K.traceId}})}static{this.\u0275fac=function(j){return new(j||q)}}static{this.\u0275prov=i.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})()},2265(U,R,e){e.d(R,{S:()=>E});var i=e(6328),a=e(6563),t=e(7649);const s="entryPointUri";let E=(()=>{class C{#t;#e;constructor(_,g){this.#t=_,this.#e=g}store(_){_&&this.#t.sessionStorage.setItem(s,this.#n(_))}getAndRemove(){let _=this.#t.sessionStorage.getItem(s);return this.#t.sessionStorage.removeItem(s),_&&this.#n(_)}#n(_){return _.replace(this.#e,"").replace(/^webapps\//,"").replace(/^webcomp\//,"")}static{this.\u0275fac=function(g){return new(g||C)(a.KVO(t.n),a.KVO(i.x3))}}
1static{this.\u0275prov=a.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},863(U,R,e){e.d(R,{g:()=>x});var i=e(6563),a=e(1128),t=e(6328),s=e(7442);let x=(()=>{class C{#t=(0,i.WQX)(t.x3);#e=(0,i.WQX)(t.Z9);extractKeyFromPath(_){if(!_)return _;let g=_;return g=g.replace(this.#t,""),g=g.replace(this.#e,""),g=s.X.removeIntegrationPrefixFromPath(g),g=(0,a.b7)(g),g=g.replace(/^\//,""),g}appendParentLink(_){if(_.menuEntries)for(const g of _.menuEntries)g.parentItem=_,this.appendParentLink(g)}collectAllMatches(_,g,f,S){if(_)for(const l of _){const b=l,h=f(b,g);h>0&&S(b,h),l.menuEntries&&l.menuEntries.length>0&&this.collectAllMatches(l.menuEntries,g,f,S)}}findBestMatch(_,g){if(!_||0===_.length)return;let f,S=0;for(const l of _){const b=g(l);b>S&&(S=b,f=l)}return f}static{this.\u0275fac=function(g){return new(g||C)}}static{this.\u0275prov=i.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},2547(U,R,e){e.d(R,{P:()=>S});var i=e(6563),a=e(1128),t=e(4296),s=e(863),x=e(9332),E=e(7442);let C=(()=>
1{class l{extractSearchCriteriaFromUrl(h){if(!h)return{key:""};const m=h.indexOf("?"),O=h.indexOf("#");let c,N,k;if(-1===m&&-1===O)c=h;else if(-1===m&&-1!==O){const $=h.split("#");c=$[0],k=$.slice(1).join("#")}else if(-1!==m&&-1===O){const $=h.split("?");c=$[0],N=$.slice(1).join("?")}else if(m<O){const[$,pt]=h.split("?"),[X,at]=pt.split("#");c=$,N=X,k=at}else{const[$,pt]=h.split("#"),[X,at]=pt.split("?");c=$,k=X,N=at}const q=N?this.parseQueryString(N):void 0,z=E.X.removeIntegrationPrefixFromPath(c),j=this.normalizePath(z).split("/").filter(Boolean);if(0===j.length)return{key:"",queryParameter:q,hashFragment:k};const it=this.extractKey(j),et=it.split("/").filter(Boolean),F=j.slice(et.length);return{key:it,pathParameter:F.length>0?"/"+F.join("/"):void 0,queryParameter:q,hashFragment:k}}parseQueryString(h){const m={};if(!h)return m;const O=h.startsWith("?")?h.substring(1):h;return O&&O.split("&").forEach(c=>{if(!c)return;const[N,...k]=c.split("="),q=k.join("=");if(N)try{m[decodeURIComponent(N)]=decodeURIComponent(q||"")}catch{m[N]=q||""}}),m}matchPathParameters(h,m){const O={},c=h.split("/").filter(Boolean),N=m.split("/").filter(Boolean);if(N.length!==c.length)return{};for(let k=0;k<c.length&&k<N.length;k++){const q=c[k];if(!q.startsWith(":")&&N[k]!==c[k])return{};q.startsWith(":")&&(O[q.substring(1)]=N[k])}return O}normalizePath(h){return h?h.replace(/\/+/g,"/").replace(/^\//,"").replace(/\/$/,""):""}extractKey(h){return 0===h.length?"":h[0]}static{this.\u0275fac=function(m){return new(m||l)}}static{this.\u0275prov=i.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})();const g=l=>b=>b.key===l;let S=(()=>{class l{#t=(0,i.WQX)(t.J);#e=(0,i.WQX)(s.g);#n=(0,i.WQX)(C);#o=(0,i.WQX)(x.Z);#i=(0,i.WQX)(a.wf);findByContentId(h,m){return this.findMenuEntryByMatchingFunction(O=>O.keyContentId===h,m)}findItemByUrl(h,m){const c=this.#e.extractKeyFromPath(h);let N;if(this.#t.dlog("find item by url",c),c){const k=this.#r(c,m,g);if(k&&k.key===c)return this.#t.dlog("found exact match",k),k;let q=null;c.includes("#")&&(q=this.#r(c.replace("#",""),m,g));const z=k?.key.length??0;N=(q?.key.length??0)>=z?q:k}return N}#r(h,m,O){const c=h.split(/\//).filter(Boolean);let N=null;for(;!N&&c.length>0;){const k=(0,a.b7)(c.join("/"));this.#t.dlog("find",k,"in",m),N=this.findMenuEntryByMatchingFunction(O(k),m),N||c.pop()}return N}findItemInEntries(h,m){let O;return h&&(O=this.#a(g(h),{menuEntries:m}),!O&&h.length>=3&&(O=this.#a((l=>b=>{let h=!1,m=l;for(let O=l.split("/").length;O>0;O--){if(m===b.key){h=!0;break}m=l.slice(0,m.lastIndexOf("/")+1)}return h=h||b.key.includes("/")&&0===b.key.indexOf(l),l.length>=3&&h})(h),{menuEntries:m}))),O}findRootEntryFor(h){return h?.parentItem?this.findRootEntryFor(h.parentItem):h}findTopLevelItem(h,m){for(const O of m)if(O.menuEntries){const c=this.findTopLevelItem(h,O.menuEntries);if(c)return c}else if(h===O.key)return O}findMenuEntryWithGvRouteInMenus(h,m){return this.findMenuEntryByMatchingFunction((l=>b=>"gvRoute"===b.keyType&&b.key===l)(h),m)||this.findMenuEntryByMatchingFunction((l=>b=>"gvRoute"===b.keyType&&l.length>=3&&b.key?.startsWith(l))(h.replace("#","")),m)}findMenuEntryByMatchingFunction(h,m=[]){let O;t:for(const c of m)if(Object.hasOwn(c,"menuEntries")){const N=c.menuEntries;if(N)for(const k of N)if(O=this.#a(h,k),O)break t}else if(h(c)){O=c;break t}return O}#a(h,m){let O;if(m)if(h(m))O=m;else if(m.menuEntries)for(const c of m.menuEntries)if(O=this.#a(h,c),O)break;return O}findNavigationItem(h,m,O){if(!h?.menuEntries||!m)return;const c=this.#n.extractSearchCriteriaFromUrl(m);return O&&(c.configuration=O),this.findBestMatchingEntry(h.menuEntries,c)}findBestMatchingEntry(h,m){if(!h||0===h.length)return;let O,c=0;return this.#e.collectAllMatches(h,m,(N,k)=>this.#o.calculateMatchScore(N,k),(N,k)=>{k>c&&(c=k,O=N)}),O}static{this.\u0275fac=function(m){return new(m||l)}}static{this.\u0275prov=i.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})()},9332(U,R,e){e.d(R,{Z:()=>t});var i=e(1128),a=e(6563);let t=(()=>{class s{static{this.SCORE_BASE_KEY_MATCH=1e3}static{this.BONUS_MULTI_PART_KEY=50}static{this.BONUS_PATH_PARAMETER_MATCH=500}static{this.BONUS_QUERY_PARAMETER_MATCH=300}static{this.BONUS_CONFIGURATION_MATCH=200}calculateMatchScore(E,C){let M=0;const _=this.matchesKey(E,C);return _.matches?(M+=s.SCORE_BASE_KEY_MATCH,_.isMultiPartKeyMatch&&(M+=s.BONUS_MULTI_PART_KEY,M+=_.matchedKeyLength),this.matchesPathParameter(E,C
1)&&(M+=s.BONUS_PATH_PARAMETER_MATCH),this.matchesQueryParameter(E,C)&&(M+=s.BONUS_QUERY_PARAMETER_MATCH),this.matchesConfiguration(E,C)&&(M+=s.BONUS_CONFIGURATION_MATCH),M):0}matchesKey(E,C){const M={matches:!1,isMultiPartKeyMatch:!1,matchedKeyLength:0};if("forward"===E.keyType)return M;const _=E.key,g=C.key;if(_===g)return{matches:!0,isMultiPartKeyMatch:!1,matchedKeyLength:_.length};if(C.pathParameter||C.hashFragment){const f=g+(C.pathParameter??"")+(C.hashFragment??""),S=_.split(/[#/]+/).filter(Boolean),l=f.split(/[#/]+/).filter(Boolean);if(this.isSegmentPrefix(S,l))return{matches:!0,isMultiPartKeyMatch:!0,matchedKeyLength:_.replace(/\/+/g,"/").length}}return M}matchesPathParameter(E,C){if(!E.pathParameter||!C.pathParameter)return!1;const M=E.pathParameter,_=C.pathParameter;if(M===_)return!0;const g=M.split("/").filter(Boolean),f=_.split("/").filter(Boolean);if(g.length!==f.length)return!1;for(let S=0;S<g.length;S++){const l=g[S],b=f[S];if(!l.startsWith(":")&&l!==b)return!1}return!0}matchesQueryParameter(E,C){if(!E.queryParameter||!C.queryParameter)return!1;const M=(0,i.rZ)(E);for(const _ of Object.keys(M))if(M[_]!==C.queryParameter[_])return!1;return!0}matchesConfiguration(E,C){return!!C.configuration&&E.configParameter===C.configuration}isSegmentPrefix(E,C){return!(E.length>C.length)&&E.every((M,_)=>M===C[_])}static{this.\u0275fac=function(C){return new(C||s)}}static{this.\u0275prov=a.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})()},7442(U,R,e){e.d(R,{X:()=>i});class i{static{this.PORTAL=new i("portal","m")}static{this.WEBCOMPONENT=new i("dynamicRoute","webcomp")}constructor(t,s){this.keyIntegrationType=t,this.prefix=s}static monolithIntegrationTypes(){return[i.PORTAL.keyIntegrationType,i.WEBCOMPONENT.keyIntegrationType]}static monolithPrefixes(){return[i.PORTAL.prefix,i.WEBCOMPONENT.prefix]}static values(){return[i.PORTAL,i.WEBCOMPONENT]}static isValidKeyIntegrationType(t){for(const s of i.values())if(s.keyIntegrationType===t)return!0;return!1}static getInstanceForKeyIntegrationType(t){for(const s of i.values())if(s.keyIntegrationType===t)return s}static getInstanceForRoutePrefix(t){for(const s of i.values())if(s.prefix===t)return s}static removeIntegrationPrefixFromPath(t){const s=t.replace(/^\//,""),x=i.values().find(E=>s.startsWith(`${E.prefix}/`));return null!=x?s.substring(x.prefix.length+1):t}static toPathArray(t){return i.removeIntegrationPrefixFromPath(t).split("/").filter(Boolean)}}},9395(U,R,e){e.d(R,{Tq:()=>a,g0:()=>i,kS:()=>x});var i=function(E){return E.LOGIN="login",E.LOGOUT="logout",E.CTT_ERROR="ctterror",E.ERROR="error",E.DEEPLINK="dl",E.POST_LOGIN="post-login",E}(i||{}),a=function(E){return E.MONOLITH="m",E.WEBCOMP="webcomp",E.CONTENT="s",E}(a||{});const x=E=>E.length>0&&(Object.values(i).indexOf(E[0])>=0||Object.values(a).indexOf(E[0])>=0)},5056(U,R,e){e.d(R,{o:()=>H});var i=e(9204),a=e(6563),t=e(3305),s=e(1128),x=e(3978),E=e(5797),C=e(4205),M=e(6042),_=e(1567),g=e(271),f=e(3900),S=e(4334),l=e(2127),b=e(6328),h=e(2424),m=e(3230),O=e(4296),c=e(9452),N=e(9332);let k=(()=>{class nt{constructor(){this.highlight$=new C.B,this.navigationRequest$=new C.B,this.#t=(0,a.WQX)(O.J),this.#e=(0,a.WQX)(m.E),this.#n=(0,a.WQX)(N.Z),this.#o=(0,a.WQX)(s.WT),this.#i=(0,a.WQX)(b.x3)}#t;#e;#n;#o;#i;findByContentId(T,y){const w=this.findAllEntriesByContentId(T,y);return w.length>0?w[0]:void 0}findItemByContentId(T,y){return(0,c.of)(this.findByContentId(T,y))}findAllEntriesByContentId(T,y){const w=[];if(!y)return w;for(const I of y)I?.menuEntries&&this.#s(I.menuEntries,T,w);return w}setupAutomaticHighlighting(T){this.#e.currentContent$.pipe((0,_.p)(y=>!!y),(0,_.p)(y=>y.integrationType===m.p.DYNAMIC_ROUTE||y.integrationType===m.p.WEB_COMPONENT)).subscribe(y=>{const w=this.findAllEntriesByContentId(y.contentId,[T]);let I;if(1===w.length)I=w[0];else if(w.length>1){const A=this.#o.nativeWindow.location.href,Q=(0,s.UA)(A);I=this.findBestMatchingEntry(w,(0,s.b7)(A),Q,void 0)}I&&(this.#t.dlog("Highlighting menu entry:",I),this.highlight$.next({entry:I,contentId:y.contentId}))})}navigateByContentId(T,y,w,I,A){const Q=this.findAllEntriesByContentId(T,y);let ot,ct;return this.#t.dlog(`navigateByContentId: Found ${Q.length} entries for contentId: ${T}`,Q),1===Q.length?ot=Q[0]:Q.length>1&&(ot=this.findBestMatchingEntry(Q,w,I,A)),ct=ot?this.#r(ot,T,w,I):this.#a(T,Q.length,w,I),this.navigationRequest$.next(ct),Promise.resolve(ct)}buildWebComponentPath(T,y){const w=`webcomp/${T}`;return y?`${w}/${y}`:w}
1buildPathFromEntry(T,y){let w=T.key;const I=y||T.pathParameter;return I&&(w=`${w}/${I}`),w}extractQueryParamsForEntry(T){return T.queryParameter&&0!=T.queryParameter.length?(0,s.rZ)(T):null}findBestMatchingEntry(T,y,w,I){let A,Q=-1;for(const ot of T){const ct=y?y.indexOf(ot.key):-1;if(y&&-1===ct)continue;const P=ct>-1?y.substring(ct+ot.key.length):y,J=this.#n.calculateMatchScore(ot,{key:ot.key,pathParameter:P,queryParameter:w,configuration:I});this.#t.dlog(`Scoring candidate '${ot.key}': ${J}`,ot),J>Q&&(Q=J,A=ot)}return A}findContentByPath(){var T=this;return(0,i.A)(function*(){const y=T.#o.nativeWindow.location.hash??"",w=y.startsWith("#")?y.slice(1):y,A=(T.#u(T.#o.nativeWindow.location.pathname)+(w?"/"+w:"")).split("/").filter(Boolean);for(let Q=A.length;Q>0;Q--){const ct=A.slice(0,Q).join("/").replace(/\//g,"-");try{if(1===(yield T.#e.search({withIds:[ct]})).length)return T.#t.dlog("content found for",ct),yield T.#e.get(ct);T.#t.dlog(`no content returned for ${ct}, trying shorter path`)}catch{T.#t.dlog(`content not found for ${ct}, trying shorter path`)}}return null})()}#r(T,y,w,I){const A=this.buildPathFromEntry(T,w),Q=this.extractQueryParamsForEntry(T),ot=Q||I?{...Q,...I}:void 0;return this.#t.log(`Redirecting to ${A} for contentId: ${y}`),{path:A,params:ot}}#a(T,y,w,I){0===y?this.#t.warn(`No menu entry found for appId: ${T}. Using direct WebComponent integration.`):this.#t.warn(`Multiple menu entries found for appId: ${T}. Using direct WebComponent integration.`);const A=this.buildWebComponentPath(T,w);return this.#t.log(`Navigating to webcomp path: ${A}`),{path:A,params:I}}#s(T,y,w){for(const I of T)I.keyContentId===y&&w.push(I),I.menuEntries?.length&&this.#s(I.menuEntries,y,w)}#u(T){if(!this.#i||!T)return T;const y=["webcomp","s","m","dl"],w=this.#i.replace(/\/$/,"");for(const I of y){const A=`${w}/${I}/`;
1if(T.startsWith(A))return T.substring(A.length)||"/"}return T}static{this.\u0275fac=function(y){return new(y||nt)}}static{this.\u0275prov=a.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();var q=e(2265),z=e(2547),K=e(4047),j=e(7442);const it=nt=>(nt.startsWith("/")||(nt="/"+nt),nt.replace(/\/\//g,"/"));let F=(()=>{class nt{#t=(0,a.WQX)(b.C3);apply({originalPath:T}){const y=this.#t===j.X.PORTAL.prefix;return{path:it(T),pathType:y?K.y.ROUTE:K.y.HREF}}canBeApplied({path:T,originalPath:y}){const w=j.X.removeIntegrationPrefixFromPath(y||T||"").split("/").filter(Boolean);return this.#e(w)}#e(T){return T.length>0&&"dl"===T[0]}static{this.\u0275fac=function(y){return new(y||nt)}}static{this.\u0275prov=a.jDH({token:nt,factory:nt.\u0275fac})}}return nt})();var lt=e(9395);let $=(()=>{class nt{#t=(0,a.WQX)(b.C3);#e=(0,a.WQX)(b.x3);apply({path:T,integrationType:y,originalPath:w}){const I=j.X.toPathArray(w||T||""),A=y;return this.#o(A,I),!(0,lt.kS)(I)&&!A&&I.unshift(j.X.PORTAL.prefix),this.#n(I),{pathType:K.y.HREF,path:it(I.join("/"))}}#n(T){T.unshift(this.#e)}#o(T,y){j.X.isValidKeyIntegrationType(T)&&y.unshift(j.X.getInstanceForKeyIntegrationType(T).prefix)}canBeApplied({path:T,integrationType:y,originalPath:w,openInNewTab:I}){const A=j.X.toPathArray(w||T||""),Q=this.#t===j.X.PORTAL.prefix,ot=y,ct=j.X.monolithIntegrationTypes().includes(ot)||void 0===ot,Ct=(0,lt.kS)(A),P=Q&&!ct&&!Ct,V=!Q&&(ct||Ct),J=this.#i(Q,A,ot);return P||V||J||I}#i(T,y,w){return!T&&this.#t!==y[0]&&"subApp"===w}static{this.\u0275fac=function(y){return new(y||nt)}}static{this.\u0275prov=a.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})(),pt=(()=>{class nt{apply({path:T,integrationType:y,originalPath:w}){const I=j.X.toPathArray(w||T||""),A=y;return j.X.isValidKeyIntegrationType(A)?I.unshift(j.X.getInstanceForKeyIntegrationType(A).prefix):(0,lt.kS)(I)||I.unshift(j.X.PORTAL.prefix),{pathType:K.y.ROUTE,path:it(I.join("/"))}}canBeApplied({openInNewTab:T}){return!T}static{this.\u0275fac=function(y){return new(y||nt)}}static{this.\u0275prov=a.jDH({token:nt,factory:nt.\u0275fac})}}return nt})(),X=(()=>{class nt{#t=[];#e=(0,a.WQX)(z.P);constructor(){this.#t.push(new F,new $,new pt)}calculateProcessPathInfo(T,y,w=T.key,I){let A=T;return"forward"===T?.keyType&&(A=this.#e.findMenuEntryWithGvRouteInMenus(T.key,y?.menus)||T),this.#t.find(ot=>ot.canBeApplied({path:A?.key,integrationType:A?.keyIntegrationType,originalPath:w,openInNewTab:I})).apply({path:A?.key,integrationType:A?.keyIntegrationType,originalPath:w,openInNewTab:I})}static{this.\u0275fac=function(y){return new(y||nt)}}static{this.\u0275prov=a.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();var at=e(3313),dt=e(797);let H=(()=>{class nt{#t=new E.t(null);#e;#n=new C.B;#o=(0,a.WQX)(b.x3);#i=(0,a.WQX)(s.WT);#r=(0,a.WQX)(O.J);#a=(0,a.WQX)(h.J);#s=(0,a.WQX)(X);#u=(0,a.WQX)(q.S);#l=(0,a.WQX)(x.kh);#c=(0,a.WQX)(dt.I);#d=(0,a.WQX)(k);#m=(0,a.WQX)(m.E);#h=(0,a.WQX)(at.p);#f=(0,a.WQX)(t.Ix);constructor(){this.navigation$=new M.m(1),this.selectedPath$=new M.m(1),this.selectedItem$=this.selectedPath$.pipe((0,_.p)(T=>T.length>1),(0,g.T)(T=>T[1])),this.selectedItem$.subscribe(T=>this.#t.next(T)),this.navigation$.subscribe(T=>{T&&(this.structure=T)}),this.#v(),this.#g()}get selectedItem(){return this.#t.value}#g(){this.#h.setupStructureHandling(this.navigation$),this.#h.setupRouterHandling(),this.#h.setupLifecycleHandling(this.#l)}#v(){this.#h.structureLoaded$.pipe((0,f.Q)(this.#n)).subscribe(T=>{if(this.structure=T.structure,this.mainMenu=T.mainMenu,this.#d.setupAutomaticHighlighting(this.mainMenu),T.shouldSelectPath)this.selectItemByUrl();else{const y=this.#c.findRootItemByUrl(T.structure);this.activeSection=y}}),this.#h.navigationEnd$.pipe((0,f.Q)(this.#n)).subscribe(()=>{this.selectItemByUrl()}),this.#c.currentStructureItem$.pipe((0,f.Q)(this.#n)).subscribe(T=>{this.#e=T,this.#h.currentStructureItem$.next(T)}),this.#d.highlight$.pipe((0,f.Q)(this.#n)).subscribe(T=>{this.selectedPath$.next(this.#c.getSelectedPath(T.entry)),this.activeSection=this.#c.findRootEntryFor(T.entry)}),this.#d.navigationRequest$.pipe((0,f.Q)(this.#n)).subscribe(T=>{this.navigate(T.path,T.params)})}navigate(T,y,w){this.navigateInternal(T,y,w?{state:w}:void 0)}navigateInternal(T="",y,w,I){this.#p()&&this.#i.nativeWindow.history.replaceState({},"",this.#o),this.#e=this.#c.findStructureItemByUrl(this.structure,T,I);const A=this.#c.findMenuEntryMatching(this.structure,T,I),Q=this.calculateProcessPathInfo(A,T,w?.openInNewTab);this.#r.log(`navigate to ${Q.path}`),this.selectItem(this.#e,!1);const ot=(0,s.Ws)(y);return this.#f.navigateByUrl(`${Q.path}${ot}`,w)}navigateByContentId(T,y,w,I){var A=this;return(0,i.A)(function*(){return A.#d.navigateByContentId(T,A.structure?.menus??[],y,w,I)})()}selectItem(T,y=!1){if(!T)return;this.#r.dlog("select item",T,y);const w=this.#c.findRootEntryFor(T);if(this.activeSection=w,this.selectedPath$.next(this.#c.getSelectedPath(T)),this.#m.get(T.keyContentId),y&&this.navigate(T.key),T.keyType===l.k.FORWARD){const I=this.#c.resolveForwardChain(T);I&&this.selectItem(I,!1)}}
1calculateProcessPathInfo(T,y,w){return this.#s.calculateProcessPathInfo(T,this.structure??this.#h.getCachedNavigation(),y,w)}findItemByContentId(T){return this.#d.findItemByContentId(T,this.structure?.menus??[])}selectContent(T,y){var w=this;return(0,i.A)(function*(){w.#r.dlog("select content",T,y);const A=w.#d.findByContentId(T.contentId,w.structure?.menus??[]),Q=w.#c.findRootEntryFor(A);w.activeSection=Q,w.selectedPath$.next(w.#c.getSelectedPath(A)),y&&(yield w.navigateInternal(A.key))})()}navigateToMainMenuForward(T){const y=this.startPage();y&&this.navigate(y,T)}navigateToStartPage(){this.navigation$.pipe((0,S.s)(1)).subscribe(T=>{T.restrictedNavigation?(this.#u.getAndRemove(),this.navigateToMainMenuForward()):this.#b(T)?this.navigate("/post-login"):this.navigateToDesiredPage()})}navigateToDesiredPage(){const T=this.#u.getAndRemove(),{target:y,queryParams:w}=this.#c.parseDeepLink(T);T&&this.#c.isDeepLink(T)?this.navigate(y,w):this.navigateToMainMenuForward(w)}findItemByKey(T){return this.#c.findItemByKey(T,this.structure)}getSiblingsOfKey(T){let y=[];return this.structure?.menus.forEach(w=>{w.menuEntries.forEach(I=>{const A=this.#c.getItemParent(T,I);A?.menuEntries&&(y=A.menuEntries)})}),y}getServiceUrl(T,y){return this.#a.getServiceUrl(T,y)}getPortalBasePath(){return this.#o}startPage(){return this.structure?.menus.find(T=>!!T.forward)?.forward}isDeepLink(T){return this.#c.isDeepLink(T)}ngOnDestroy(){this.#n.next(),this.#n.complete()}selectItemByUrl(){var T=this;return(0,i.A)(function*(){const y=T.#c.findStructureItemByUrl(T.structure);if(!y)return T.#r.dlog("no item found by url, keeping current selection"),void((yield T.#d.findContentByPath())||(yield T.#m.get("404")));T.#r.dlog("found item by url",y),T.selectItem(y,!1)})()}#b(T){return!!T.menus.find(y=>"enforcedPageAfterLogin"===y.name)?.menuEntries[0]}#p(){return!!["/login","post-login"].find(T=>this.#i.nativeWindow.location.pathname?.endsWith(T))}static{this.\u0275fac=function(y){return new(y||nt)}}static{this.\u0275prov=a.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})()},6275(U,R,e){e.d(R,{Pp:()=>X});var i=e(7824),a=e(698),t=e(6563),s=e(9074),x=e(6911),E=e(619),C=e(3942),M=e(4205),_=e(6042),g=e(1873),f=e(3617),S=e(7919),l=e(1318),b=e(1567),h=e(2435),m=e(271),O=e(8764),c=e(2749),N=e(8768),k=e(2127),q=e(6328),z=e(7505),K=e(9495),j=e(4296),it=e(5047),et=e(8812),F=e(863);const lt=new _.m(1),$="FKS_SET_AS_STARTPAGE",pt=(0,E.Rp)($);let X=(()=>{class y{#t=new M.B;#e=new _.m(1);#n=(0,t.WQX)(et.u);#o=(0,t.WQX)(x.ec);#i=(0,t.WQX)(a.Qq);#r=(0,t.WQX)(j.J);#a=(0,t.WQX)(F.g);#s=(0,t.WQX)(q.C3);#u=(0,t.WQX)(q.x3);#l=(0,t.WQX)(c.X);#c=(0,t.WQX)(it.kj);#d=(0,l.W)(I=>(this.#t.next({origin:"m"===this.#s?"monolith":"subApp",traceId:I.headers.get("traceId")||I.headers.get("A01-Fgi-Trace-Id")}),(0,S.$)(()=>I)));#m=(0,t.WQX)(K.x);#h=(0,t.WQX)(E.Wj);constructor(){this.#f()}get structure$(){return this.#e.asObservable()}get structureError$(){return this.#t.asObservable()}invalidateNavigationCache(){lt.next()}loadConfiguration(){this.#c.authChanges.pipe((0,b.p)(I=>I===it.BW.CUSTOMER),(0,O.M)(()=>{this.fetchNavigation(),this.#g()}),(0,h.$)()).toPromise()}fetchNavigation(){(0,g.p)([this.loadStructure(),this.loadExternalRouteConfig()]).pipe((0,m.T)(at),(0,m.T)(function dt(y){return w=>{const{navigation:I,routes:A}=w;return{navigation:I,emulatedMenuEntries:A.filter(Q=>Q!==y).map(Q=>({key:Q,keyIntegrationType:"subApp",keyType:"gvRoute",menuEntries:[],menuText:Q}))}}}(this.#s)),(0,m.T)(H),(0,m.T)(nt),(0,m.T)(this.#v.bind(this)),(0,O.M)(I=>{this.#r.dlog("navigation",I)})).subscribe({next:I=>{this.#e.next({structure:I,shouldSelectPath:!1})},error:I=>{console.error(I)}})}loadStructure(){return this.#l.getNavigationV3(null,null,"response").pipe(this.#d.bind(this),(0,m.T)(I=>I.body))}loadExternalRouteConfig(){return this.#i.get(this.#u+"config/externalRouteConfig",{observe:"response"}).pipe(this.#d.bind(this),(0,m.T)(I=>I.body))}#f(){const I=this.#h.on(pt),A=this.#m.observeOn($);(0,f.h)(I,A).pipe((0,b.p)(ot=>null!=ot),(0,s.pQ)()).subscribe(()=>{this.invalidateNavigationCache(),this.fetchNavigation()})}#g(){this.#o.applyThemeByID(`${this.#n.rzbk}_${this.#n.markenID}`)}#v(I){const A=(0,z.a)(I.menus,Q=>Q.name===k.k.MAIN_MENU);if(A)for(const Q of A.menuEntries)this.#a.appendParentLink(Q);return I}static{this.\u0275fac=function(A){return new(A||y)}}static{this.\u0275prov=t.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return(0,i.Cg)([(0,N.R)({cacheBusterObserver:lt}),(0,i.Sn)("design:type",Function),(0,i.Sn)("design:paramtypes",[]),(0,i.Sn)("design:returntype",C.c)],y.prototype,"loadStructure",null),(0,i.Cg)([(0,N.R)(),(0,i.Sn)("design:type",Function),(0,i.Sn)("design:paramtypes",[]),(0,i.Sn)("design:returntype",C.c)],y.prototype,"loadExternalRouteConfig",null),y})();function at(y){const[w,I]=y;return{navigation:w,routes:I.externalRoutes||[]}}function H(y){const{navigation:w,emulatedMenuEntries:I}=y;return{navigation:w,menu:{name:"emulated",menuEntries:I}}}function nt(y){return y.navigation.menus.push(y.menu),y.navigation}},797(U,R,e){e.d(R,{I:()=>g});var i=e(6563),a=e(1128),t=e(5797),s=e(2127),x=e(6328),E=e(4296),C=e(863),M=e(2547),_=e(7442);let g=(()=>{class f{constructor(){this.currentStructureItem$=new t.t(void 0),this.#t=(0,i.WQX)(E.J),this.#e=(0,i.WQX)(M.P),this.#n=(0,i.WQX)(C.g),this.#o=(0,i.WQX)(a.WT),this.#i=(0,i.WQX)(x.x3)}#t;#e;#n;#o;#i;findStructureItemByUrl(l,b,h){const m=this.#o.nativeWindow.location.hash??"",O=b||this.#o.nativeWindow.location.pathname+m,c=this.#a(O);this.#t.dlog("current url",c);const N=l?.menus;if(N){for(const k of N){const q=this.#e.findNavigationItem(k,c,h);if(q){const z=q;return this.currentStructureItem$.next(z),z}}this.currentStructureItem$.next(void 0)}}findRootItemByUrl(l){const b=this.findStructureItemByUrl(l);return this.findRootEntryFor(b)}findMenuEntryMatching(l,b,h){const m=this.#a(b),O=this.#n.extractKeyFromPath(m),c=l?.menus;if(!c)return;for(const k of c){const q=this.#e.findNavigationItem(k,O,h);if(q)return q}const N=_.X.getInstanceForRoutePrefix((0,a.b7)(b.replace(O,"")).replace(/\//g,"").replace("#",""));
1return{key:O.split("/").filter(Boolean)[0]||"",keyIntegrationType:N?N.keyIntegrationType:void 0}}findItemByKey(l,b){return this.#e.findItemByUrl(l,b?.menus)}findRootEntryFor(l){return this.#e.findRootEntryFor(l)}findItemInEntries(l,b){return this.#e.findItemInEntries(l,b)}resolveForwardChain(l){return l?.keyType!==s.k.FORWARD?void 0:this.findItemInEntries(l.key,l.menuEntries)||void 0}getSelectedPath(l){let b=this.#r(l);const h=[];do{h.unshift(b),b=b.parentItem}while(b);return h}getItemParent(l,b){if(b.menuEntries)for(const h of b.menuEntries){if(h?.menuEntries?.length>0){const m=this.getItemParent(l,h);if(m)return m}if(l.indexOf(h.key)>=0)return b}}parseDeepLink(l){return{target:(0,a.b7)(l),queryParams:(0,a.UA)(l)??{}}}isDeepLink(l){return l.split("/").filter(h=>h&&!/(^m$|^\?|^m\?)/.test(h)).length>0}#r(l){if("forward"===l?.keyType&&l.menuEntries?.length>0){const b=l.menuEntries.find(h=>l.key===h.key);if(b&&"gvRoute"===b.keyType)return b;if(b&&"forward"===b.keyType)return this.#r(b)}return l}#a(l){if(!this.#i||!l)return l;const b=this.#i.replace(/\/$/,"");return l.startsWith(b)?l.substring(b.length)||"/":l}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275prov=i.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},5047(U,R,e){e.d(R,{BW:()=>E,TI:()=>C,kj:()=>s,lf:()=>x});var i=e(5797),a=e(6124),t=e(6563);class s{}class x extends s{}var E=function(M){return M[M.UNAUTHENTICATED=0]="UNAUTHENTICATED",M[M.ANONYMOUS=1]="ANONYMOUS",M[M.CUSTOMER=2]="CUSTOMER",M}(E||{});let C=(()=>{class M extends x{#t=new i.t(E.UNAUTHENTICATED);setAuthState(g){this.#t.next(g)}get authChanges(){return this.#t.asObservable()}get currentAuthentication(){return this.#t.value}static{this.\u0275fac=(()=>{let g;return function(S){return(g||(g=a.xGo(M)))(S||M)}})()}static{this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac})}}return M})()},8812(U,R,e){e.d(R,{u:()=>Q});var i=e(9204),a=e(698),t=e(6563),s=e(7941),x=e(1128),E=e(3270),C=e(9647),M=e(3978),_=e(4672),g=e(4355),f=e(9452),S=e(6196),l=e(7697),b=e(137),h=e(5682),m=e(271),O=e(1318),c=e(8764),N=e(1365),k=e(9475),q=e(2611),z=e(7580),K=e(2782),j=e(8503);let it=(()=>{class ct{static{this.SECURITY_PROCEDURES_TITLE="security-procedures-title"}static{this.SECURITY_PROCEDURES_SUBTITLE="security-procedures-subtitle"}static{this.SECURITY_PROCEDURES_FAQ_LINK="security-procedures-faq-link"}static{this.SECURITY_PROCEDURES_HINT="security-procedures-hint"}static{this.FAQ_ANCHOR="faq-anchor"}static{this.BUTTON_WITHOUT_PROCEDURE="button-without-procedure"}static{this.BUTTON_GOTO_PROCEDURE="button-goto-procedure"}}return ct})(),et=(()=>{class ct{static{this.CONTEXT_ID="okp-context-id"}}return ct})();var F=e(6124);function lt(ct,Ct){if(1&ct){const P=F.RV6();F.j41(0,"a",6),F.bIt("click",function(){t.eBV(P);const J=F.XpG();return t.Njj(J.openFaqLink())}),F.EFF(1),F.nI1(2,"translate"),F.k0s(),F.nrm(3,"br")(4,"br")}if(2&ct){const P=F.XpG();F.BMQ("data-automation-id",P.DataAutomationIds.SECURITY_PROCEDURES_FAQ_LINK)("data-automation-id",P.DataAutomationIds.FAQ_ANCHOR),F.R7$(),F.SpI(" ",F.bMT(2,3,"NOSECURITYPROCEDURE.FAQ")," ")}}let $=(()=>{class ct{constructor(){this.confirm=(0,z.CGW)(),this.hostClass="kf-popup",this.notShowFaq=!1,this.#t=(0,t.WQX)(x.wf),this.#e=(0,t.WQX)(x.WT),this.DataAutomationIds=it}#t;#e;ngOnInit(){this.notShowFaq=this.#t.feature("not-show-faq")}get faqLink(){const V=this.#t.getValueOfFeatureToggle("faqLink");return V.length>0?V:"/services_cloud/portal/dl/onlinehilfe#/faq/detailansicht/M-00050344"}get procedureLink(){return this.#t.feature("zugangsverwaltung:useOVWcomp:1")?"/services_cloud/portal/webcomp/ov-wcomp/datenschutzUndSicherheit":"/services_cloud/portal/dl/onlinezugangsverwaltung/sicherheit"}openFaqLink(){this.#e.nativeWindow.open(this.faqLink,"nsp","width=600,height=600")}static{this.\u0275fac=function(V){return new(V||ct)}}static{this.\u0275cmp=F.VBU({type:ct,selectors:[["ng-component"]],hostVars:2,hostBindings:function(V,J){2&V&&F.HbH(J.hostClass)},outputs:{confirm:"confirm"},decls:20,vars:23,consts:[[1,"kf-popup-container"],["tabindex","0",1,"kf-popup-header","mat-h1"],["tabindex","0"],["id","btn-container"],["mat-stroked-button","","color","primary","tabindex","0",3,"click"],["mat-raised-button","","color","primary","tabindex","0",3,"click","href"],["href","javascript:void(0);","tabindex","0",3,"click"]],template:function(V,J){1&V&&(F.j41(0,"div",0)(1,"h1",1),F.EFF(2),F.nI1(3,"translate"),F.k0s(),F.j41(4,"div")(5,"p",2),F.EFF(6),F.nI1(7,"translate"),F.k0s(),F.nVh(8,lt,5,5),F.j41(9,"div")(10,"p",2),F.EFF(11),F.nI1(12,"translate"),F.k0s()()(),F.j41(13,"div",3)(14,"button",4),F.bIt("click",function(){return J.confirm.emit()}),F.EFF(15),F.nI1(16,"translate"),F.k0s(),F.j41(17,"a",5),F.bIt("click",function(){return J.confirm.emit()}),F.EFF(18),F.nI1(19,"translate"),F.k0s()()()),2&V&&(F.R7$(),F.BMQ("data-automation-id",J.DataAutomationIds.SECURITY_PROCEDURES_TITLE),F.R7$(),F.SpI(" ",F.bMT(3,13,"NOSECURITYPROCEDURE.TITLE")," "),F.R7$(3),F.BMQ("data-automation-id",J.DataAutomationIds.SECURITY_PROCEDURES_SUBTITLE),F.R7$(),F.SpI(" ",F.bMT(7,15,"NOSECURITYPROCEDURE.SUBTITLE")," "),F.R7$(2),F.vxM(J.notShowFaq?-1:8),F.R7$(2),F.BMQ("data-automation-id",J.DataAutomationIds.SECURITY_PROCEDURES_HINT),F.R7$(),F.SpI(" ",F.bMT(12,17,"NOSECURITYPROCEDURE.HINT")," "),F.R7$(3),F.BMQ("data-automation-id",J.DataAutomationIds.BUTTON_WITHOUT_PROCEDURE),F.R7$(),F.SpI(" ",F.bMT(16,19,"NOSECURITYPROCEDURE.BUTTON_WITHOUT_PROCEDURE")," "),F.R7$(2),F.Y8G("href",F.mNQ(J.procedureLink),F.B4B),F.BMQ("data-automation-id",J.DataAutomationIds.BUTTON_GOTO_PROCEDURE),F.R7$(),F.SpI(" ",F.bMT(19,21,"NOSECURITYPROCEDURE.BUTTON_GOTO_PROCEDURE")," "))},dependencies:[K.$z,j.TranslatePipe],styles:["[_nghost-%COMP%]{display:block;max-width:600px;background-color:var(--color-background-dialog)}#btn-container[_ngcontent-%COMP%]{display:flex}
1@media screen and (min-width:900px){#btn-container[_ngcontent-%COMP%]{justify-content:space-between}}@media screen and (max-width:899px){#btn-container[_ngcontent-%COMP%]{flex-direction:column}a[_ngcontent-%COMP%]{margin-top:10px}}"]})}}return ct})();var pt=e(6328),X=e(9302),at=e(7649),dt=e(2265),H=e(722),nt=e(5047),ft=e(2111),T=e(639);const y=/^([^.]*)\.(.*)$/,w="Tk9UX1NFVA==";let Q=(()=>{class ct extends C.k{#t=(0,t.WQX)(pt.x3);#e=(0,t.WQX)(pt.ff);#n=(0,t.WQX)(pt.jL);#o=(0,t.WQX)(a.Qq);#i=(0,t.WQX)(dt.S);#r=(0,t.WQX)(ft.J);#a=(0,t.WQX)(x.WT);#s=(0,t.WQX)(T.M);#u=(0,t.WQX)(s.bZ);#l=(0,t.WQX)(x.wf);#c=(0,t.WQX)(X.c);#d=(0,t.WQX)(at.n);#m=(0,t.WQX)(H.B);#h=(0,t.WQX)(M.kh);#f=(0,t.WQX)(_.RT);#g=(0,t.WQX)(g.VT);#v=(0,t.WQX)(nt.lf);#b=!1;#p;#E;#M="0";#C="0";#_="";#T;#y="line-parameter";#I=["epi.engineering"];get rzbk(){return this.#C}get hashedVrNetkey(){return this.#_}get hashedRzbkAndVrNetkey(){return this.#_?`${this.rzbk}-${this.#_}`:""}get hlsid(){return this.#T}get markenID(){return this.#M}get userName(){return this.#E}get lineParameter(){return this.#c.localStorage.getItem(this.#y)}getUserDisplayName(){return this.userName}getContextId(){const P=this.#c.localStorage.getItem(et.CONTEXT_ID);return"null"===P||"undefined"===P?null:P}refreshToken(P,V){if(!this.#p&&!this.#s.isSessionExpired()){const J=this.#n+"/oauth/token",It=this.#o.post(J,`grant_type=${T.A.REFRESH_TOKEN}&refresh_token=0${P?"":"&extendSessionExpiry=false"}${V?`&extendSessionDuration=PT${V}s`:""}`,{headers:{"Content-Type":"application/x-www-form-urlencoded","x-portal-locked-request":"true"},withCredentials:!0}).pipe(this.#P(),(0,m.T)(yt=>{this.#s.setTokenExpirations(yt.expires_in,yt.sessionExpiresInSeconds,T.A.REFRESH_TOKEN),this.#r.extendSession()}),(0,O.W)(yt=>(this.#m.removeVpContext(),console.error(`Error during token refresh: ${JSON.stringify(yt)}`),(0,f.of)(null))));this.#p=(0,S._)(It.pipe((0,c.M)(()=>{this.#p=null})))}return this.#p}checkToken(){var P=this;return(0,i.A)(function*(){if(!1===P.#e)return!0;if(!P.#s.getAccessTokenExpiry()||P.#s.isGrantTypeOKVPClient())return!1;P.#s.isAccessTokenAboutToExpire()&&(yield P.refreshToken(!0));const V={"x-portal-locked-request":"true"},J=P.#l.feature("useUserInfoEndpoint"),rt=J?P.#o.get(P.#n+"/userinfo",{headers:V,withCredentials:!0}):P.#o.post(P.#n+"/oauth/check_token?token=GetTokenFromCookie","",{headers:V,withCredentials:!0});return yield(0,S._)(rt.pipe(P.#O(),P.#R(),P.#k(),P.#P(),P.#x(),P.#D(),P.#N(),P.#j(),P.#A(),P.#B(),P.#U(J?[400,401]:[400]),P.#w(),P.#W()))})()}logout(P){var V=this;return(0,i.A)(function*(){if(V.#m.removeVpContext(),V.#b||!1===V.#e)return Promise.resolve();let J=Promise.resolve();V.#p&&(J=V.#p),V.#b=!0,yield J;const rt=yield V.revokeToken();return V.#L(),V.#b=!1,V.#F(P),rt})()}relogin(P,V){var J=this;return(0,i.A)(function*(){if(P){const rt=P+(V?`${(0,x.Ws)(V)}`:"");J.#i.store(rt)}return J.revokeToken().finally(()=>{const rt=J.#a.nativeWindow.location.search||"";J.#a.nativeWindow.location.href=J.#t+"login"+rt})})()}revokeToken(){var P=this;return(0,i.A)(function*(){const V=P.#n+"/oauth/revoke",J={withCredentials:!0};return P.#o.post(V,null,J).pipe((0,N.Z)(rt=>{if(rt.endSessionEndpoint){const vt={...J,headers:{"Content-Type":"application/x-www-form-urlencoded"}},Et=new URLSearchParams;return Et.append("client_id",P.#r.relyingPartyClientId),Et.append("logout_hint",P.#r.ssoSessionId),P.#o.post(rt.endSessionEndpoint,Et.toString(),vt)}return(0,f.of)(rt)}),(0,O.W)(rt=>(console.warn(`Error during token revoke: ${rt}`),(0,f.of)(rt))),(0,k.j)(()=>{P.#v.setAuthState(nt.BW.UNAUTHENTICATED),P.removeToken()})).toPromise()})()}ensureTokenForApiCall(){return(0,l.T)(()=>!!this.#p,(0,b.v)(()=>this.#p),(0,l.T)(()=>this.#s.isAccessTokenAboutToExpire(),(0,b.v)(()=>this.refreshToken()),(0,f.of)(void 0))).pipe((0,O.W)(()=>(0,f.of)(void 0)))}#x(){return(0,h.F)((0,c.M)(P=>{P.mlp_line&&this.#c.localStorage.setItem(this.#y,P.mlp_line)}))}#O(){return(0,h.F)((0,c.M)(P=>{if(!P["okp-context-id"]||"null"===P["okp-context-id"])return;this.#c.localStorage.setItem(et.CONTEXT_ID,P["okp-context-id"]);const V=this.#S(P["okp-context-id"]);this.#f.setContextToken(V),this.#g.setContextChanges([{type:"context.okp.rz.bankenit.de/customerContext/v1",modification:"CHANGE"},{type:"context.okp.rz.bankenit.de/mandatorContext/v1",modification:"CHANGE"},{type:"context.okp.rz.bankenit.de/identityContext/v3",modification:"CHANGE"}])}
1))}#S(P){return{serialized:P,get globalId(){const V=P.match(y)?.[2];return V===w?void 0:V},get localId(){const V=P.match(y)?.[1];return V===w?void 0:V}}}#P(){return(0,h.F)((0,c.M)(P=>{P.ssoSessionId&&P.relyingPartyClientId&&this.#r.setSessionData({ssoSessionId:P.ssoSessionId,relyingPartyClientId:P.relyingPartyClientId})}))}#R(){return(0,h.F)((0,c.M)(P=>{void 0!==P.markenID&&(this.#M=P.markenID);const V=ot(P.mandant);void 0!==V&&(this.#C=V)}))}#k(){return(0,h.F)((0,c.M)(P=>{this.#T=P.hlsid}))}#D(){return(0,h.F)((0,c.M)(P=>{const V=this.#d.sessionStorage.getItem("security_hint"),J=this.#a.nativeWindow.location.href.includes("faq");if("no_active_security_procedure"===P.security_hint&&!V&&!J){const vt=this.#u.open($,{disableClose:!0,autoFocus:"first-heading"});vt.componentInstance.confirm.subscribe(()=>{vt.close(),this.#d.sessionStorage.setItem("security_hint","confirmed")})}}))}#A(){return(0,h.F)((0,c.M)(P=>{P.user_name||this.removeToken()}))}#B(){return(0,h.F)((0,m.T)(P=>P?.user_name?.length>0))}#L(){this.#c.localStorage.removeItem(et.CONTEXT_ID)}getSessionExpiry(){return this.#s.getSessionExpiry()}isLoggedIn(){return this.#v.currentAuthentication===nt.BW.CUSTOMER}#N(){return(0,h.F)((0,c.M)(P=>{P.user_name&&(this.#E=P.user_name)}))}#U(P){return(0,h.F)((0,q.l)((0,E.Pv)({maxRetryAttempts:1,scalingDuration:100,includedStatusCodes:P,preRetryHook:(0,b.v)(()=>this.refreshToken(!1)).pipe((0,m.T)(()=>""))})))}#w(){return(0,h.F)((0,c.M)(P=>{this.#v.setAuthState(nt.BW.CUSTOMER),P&&this.#h.whenAuthenticated()}))}removeToken(){this.#s.removeTokenExpirations()}#W(){return(0,h.F)((0,O.W)(P=>(console.error(`Error during token check: ${P}`),this.removeToken(),this.#v.setAuthState(nt.BW.UNAUTHENTICATED),(0,f.of)(!1))))}#F(P){P?this.#G(P)?this.#a.nativeWindow.location.href=P:(console.warn("Blocked redirect to untrusted URL"),this.#a.nativeWindow.location.href=this.#t+"logout"):this.#a.nativeWindow.location.href=this.#t+"logout"}#G(P){try{const V=new URL(P);return"https:"===V.protocol&&this.#I.some(J=>V.hostname===J||V.hostname.endsWith(`.${J}`))}catch{return console.error("Invalid redirect URL"),!1}}#j(){return(0,h.F)((0,c.M)(P=>{P.vrnetkey_sha256&&(this.#_=P.vrnetkey_sha256)}))}static{this.\u0275fac=(()=>{let P;return function(J){return(P||(P=F.xGo(ct)))(J||ct)}})()}static{this.\u0275prov=t.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})();const ot=ct=>{const Ct=(ct||"").split(".");return Ct.length>=2?Ct[1]:void 0}},2111(U,R,e){e.d(R,{J:()=>x});var i=e(6563),a=e(1128),t=e(5797),s=e(7158);let x=(()=>{class E{constructor(){this.#t=(0,i.WQX)(s.l),this.#e=(0,i.WQX)(a.WT).nativeWindow.document,this.hasSession=new t.t(!1)}#t;#e;#n;get ssoSessionId(){return this.#n?.ssoSessionId}get relyingPartyClientId(){return this.#n?.relyingPartyClientId}setSessionData(M){this.#n=M,this.hasSession.next(!0),this.#t.sendBroadcastMessage({type:s.P.SESSION_UPDATE,payload:M})}extendSession(){this.#n&&this.#e.querySelector("#cas-session-iframe")?.contentWindow?.postMessage(this.#n)}static{this.\u0275fac=function(_){return new(_||E)}}static{this.\u0275prov=i.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})()},5483(U,R,e){e.d(R,{N:()=>a});var i=e(6563);let a=(()=>{class t{constructor(){this.validCtt=!1}setCttToken(x){this.cttToken=x}hasCttToken(){return!!this.cttToken}isCttValid(){return this.validCtt}setCttValid(x){this.validCtt=x}hasValidCttToken(){return this.hasCttToken()&&this.isCttValid()}hasValidTokenState(){return!this.hasCttToken()||this.hasValidCttToken()}static{this.\u0275fac=function(E){return new(E||t)}}static{this.\u0275prov=i.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()},639(U,R,e){e.d(R,{A:()=>b,M:()=>h});var i=e(6563),a=e(5797),t=e(9302),s=e(7649),x=e(9495);let E=(()=>{class m{getCurrentDateTimeAsMillis(){return Date.now()}static{this.\u0275fac=function(N){return new(N||m)}}static{this.\u0275prov=i.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();var C;const _="expires_at",g="sessionExpiry",f="sessionExpiresInSeconds",S="grant_type";var b=function(m){return m.AUTHORIZATION_CODE="authorization_code",m.NONE="none",m.OKVP_CLIENT="okvp_client_credentials",m.REFRESH_TOKEN="refresh_token",m}(b||{});let h=(()=>{class m{static{this.PORTAL_SESSION_EXPIRY_DATA_EXCHANGE_KEY="PORTAL_SESSION_EXPIRY_DATA"}#t=(0,i.WQX)(E);#e=(0,i.WQX)(t.c);#n=(0,i.WQX)(s.n);#o=(0,i.WQX)(x.x);#i=new a.t(300);get sessionExpiresInSeconds$(){return this.#i.asObservable()}get sessionExpiresInSeconds(){return this.#i.getValue()}
1isGrantTypeOKVPClient(){return this.#r()===b.OKVP_CLIENT}#r(){return this.#e.localStorage.getItem(S)}getSessionExpiry(){const c=this.#e.localStorage.getItem(g),N=Number.parseInt(c,10)||0,k=this.#e.localStorage.getItem(f),q=Number.parseInt(k,10)||0;return Math.max(N,q)}isSessionExpired(){return this.getSessionExpiry()<=this.#t.getCurrentDateTimeAsMillis()}getAccessTokenExpiry(){const c=this.#e.localStorage.getItem(_);return Number.parseInt(c,10)||0}isAccessTokenAboutToExpire(){const c=this.#t.getCurrentDateTimeAsMillis()+2500;return this.getAccessTokenExpiry()<c}setTokenExpirations(c,N,k){const q=1e3*c+this.#t.getCurrentDateTimeAsMillis(),z=1e3*N+this.#t.getCurrentDateTimeAsMillis();this.#s(q),this.#a(z),this.#u(k),this.#i.next(N)}removeTokenExpirations(){this.#e.localStorage.removeItem(_),this.#n.sessionStorage.removeItem(_),this.#e.localStorage.removeItem(g),this.#n.sessionStorage.removeItem(g),this.#e.localStorage.removeItem(S),this.#e.localStorage.removeItem(f),this.#n.sessionStorage.removeItem(f),this.#o.dispatch({selector:C.PORTAL_SESSION_EXPIRY_DATA_EXCHANGE_KEY,data:null})}#a(c){this.#e.localStorage.setItem(g,c.toString()),this.#n.sessionStorage.setItem(g,c.toString()),this.#e.localStorage.setItem(f,c.toString()),this.#n.sessionStorage.setItem(f,c.toString()),this.#o.dispatch({selector:C.PORTAL_SESSION_EXPIRY_DATA_EXCHANGE_KEY,data:c})}#s(c){this.#e.localStorage.setItem(_,c.toString()),this.#n.sessionStorage.setItem(_,c.toString())}#u(c){this.#e.localStorage.setItem(S,c)}static{this.\u0275fac=function(N){return new(N||m)}}static{this.\u0275prov=i.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();C=h},7158(U,R,e){e.d(R,{P:()=>s,l:()=>t});var i=e(4205),a=e(6563);let t=(()=>{class x{#t=new BroadcastChannel("portal-ui");#e=new i.B;get messages$(){return this.#e.asObservable()}constructor(){this.#t.addEventListener("message",C=>{this.#e.next(C.data)})}sendBroadcastMessage(C){this.#t.postMessage(C)}static{this.\u0275fac=function(M){return new(M||x)}}static{this.\u0275prov=a.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})();var s=function(x){return x.SESSION_UPDATE="SESSION_UPDATE",x}(s||{})},8185(U,R,e){e.d(R,{c:()=>l});var i=e(698),a=e(6563),t=e(436),s=e(3305),x=e(9999),E=e(1567),C=e(2435),M=e(271),_=e(3037),g=e(2424),f=e(5056),S=e(5047);let l=(()=>{class b{#t="Banking Portal";#e=(0,a.WQX)(f.o);#n=(0,a.WQX)(t.hE);#o=(0,a.WQX)(i.Qq);#i=(0,a.WQX)(s.Ix);#r=(0,a.WQX)(g.J);#a=(0,a.WQX)(S.kj);#s;#u;adjustTitle(m){let O=this.#n.getTitle();O.includes("-")&&(O=O.split("-")[0]),this.#l(`${m} - ${O}`.trim())}activate(){this.#a.authChanges.pipe((0,E.p)(c=>c===S.BW.CUSTOMER),(0,C.$)()).subscribe(()=>this.#c());const m=this.#i.events.pipe((0,E.p)(c=>c instanceof s.wF),(0,M.T)(c=>c.url),(0,_.Z)(this.#i.url)),O=this.#e.selectedPath$.pipe((0,M.T)(c=>c[c.length-1]));this.#u=(0,x.z)([m,O]).subscribe(([c,N])=>{let k=null;N&&(k=!c||c.endsWith(N.key)?N.menuText:null),this.#l(k)})}ngOnDestroy(){this.#u&&this.#u.unsubscribe()}#l(m){this.#s?this.#n.setTitle(m?`${m} - ${this.#s}`:this.#s):this.#n.setTitle(m||this.#t)}#c(){const m=this.#r.getServiceUrl("portal-content/api","/settingsV2");this.#o.get(m).pipe((0,C.$)()).subscribe(c=>{const N=c?.de?.name;N&&(this.#s=N.replace(/<[^>]*>/g,""))})}static{this.\u0275fac=function(O){return new(O||b)}}static{this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},722(U,R,e){e.d(R,{B:()=>g});var i=e(6563),a=e(3305),t=e(1128),s=e(5797),x=e(1567),E=e(271),C=e(6328),M=e(7649),_=e(138);let g=(()=>{class f{#t=(0,i.WQX)(a.nX);#e=(0,i.WQX)(M.n);#n=(0,i.WQX)(t.wf);#o=(0,i.WQX)(_.G);#i=(0,i.WQX)(C.C3);#r="portal-ui:brokeragePlus:1";#a="vpContext";#s;#u=this.#e.sessionStorage.removeItem;constructor(){const l=this.#e.sessionStorage.getItem(this.#a);let b;l&&(b=JSON.parse(l)),this.#s=new s.t(b),this.#t.queryParams.pipe((0,E.T)(h=>h[this.#a]),(0,x.p)(h=>!!h),(0,x.p)(h=>this.#n.feature("portal-ui:brokeragePlus:1")||!this.#n.feature("portal-ui:brokeragePlus:1")&&"brokerageplus"!==h),(0,E.T)(h=>({identifier:h}))).subscribe(h=>{this.setContext(h),this.#c()})}get vpContextKey(){return this.#a}get vpContext$(){return this.#s.asObservable()}getVpContext(){return this.#s.getValue()}removeVpContext(){this.#s.next(void 0),this.#e.sessionStorage.removeItem(this.#a)}setContext(l){this.#e.sessionStorage.setItem(this.#a,JSON.stringify(l)),this.#s.next(l)}#l(l,...b){const h=[{APP_NAME:this.#i},...b];let m;try{m=JSON.stringify(h),this.#o.logEntry({logLevel:l,message:m}).subscribe({error:c=>{console.error("Error while trying to send log entry.",c,m)}})}catch(O){console.error("Failed to stringify log arguments.",O,h)}}#c(){this.#n.feature(this.#r)&&(this.#e.sessionStorage.removeItem=l=>{if(l===this.#a){const b=(new Error).stack;this.#l("The vpContext is removed. Stack trace: ",b)}this.#u.call(this.#e.sessionStorage,l)})}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275prov=i.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},101(U,R,e){e.d(R,{a:()=>_});var i=e(6563),a=e(1128),t=e(2789),x=e(6328),E=e(2547),C=e(5056);let _=(()=>{class g{#t=(0,i.WQX)(x.x3);#e=(0,i.WQX)(E.P);#n=(0,i.WQX)(C.o).structure.menus;resolveBundleUrl(S){return this.isV4OrHigher(S.serviceConfigVersion)?this.#o(S):this.#i(S)}isV4OrHigher(S){return!(!S||!(0,t.valid)(S))&&(0,t.compare)(S,"4.0.0")>=0}extractPathFromKey(S){return(0,a.b7)(S).replace(/^\//,"").split("#")[0]}deriveTagNameFromPath(S){const l=S.replace(/\//g,"-");return l.includes("-")?l:""}isKeyEqualToPath(S,l){return S===l||this.extractPathFromKey(S)===l}#o(S){return`${this.#t}ui/${S.serviceName}${S.webComponent.path}${S.webComponent.bundleName}`}#i(S){const l=this.#e.findByContentId(S.contentId,this.#n);return`${this.#t}webcomponents/${(l?.key?this.extractPathFromKey(l.key):void 0)??(0,a.b7)(S.serviceName).replace("#/","").replaceAll("-","/")}/${S.webComponent.bundleName}`}static{this.\u0275fac=function(l){return new(l||g)}}static{this.\u0275prov=i.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})()},9096(U,R,e){e.d(R,{h:()=>t});var i=e(6563),a=e(6328);let t=(()=>{class s{#t=(0,i.WQX)(a.x3);getWebComponentData(E){if(!E.webComponent)throw`Menu entry {key: "${E.key}", keyIntegrationType: "${E.keyIntegrationType}"} does not describe a webcomponent menu entry.`;const C={};return C.url=`${this.#t}webcomponents/${E.key}/${E.webComponent.bundleName||"main.js"}`,C.tagName=E.webComponent.tagName,C}static{this.\u0275fac=function(C){return new(C||s)}}static{this.\u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})()},7505(U,R,e){e.d(R,{a:()=>i});const i=(a,t)=>a?a.find(t):null},4157(U,R,e){e.d(R,{D:()=>a});var i=e(6563);let a=(()=>{class t{getCurrentDateTimeAsMillis(){return Date.now()}static{this.\u0275fac=function(E){return new(E||t)}}static{this.\u0275prov=i.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()},9937(U,R,e){e.d(R,{J:()=>s});var i=e(5797);let a=(()=>{class x{static{this.HEADER_BURGER_MENU_BUTTON="burger-button"}}return x})();var t=e(6563);let s=(()=>{class x{#t=new i.t(!1);toggleMenu(C){const M=null==C||null==C?!this.#t.getValue():C;this.#t.next(M),M||this.getFocusBackOnce()}closeMenu(){this.toggleMenu(!1)}
1getNavMenuExpandedObservable(){return this.#t.asObservable()}getFocusBackOnce(){const C=document.querySelector(`[data-automation-id="${a.HEADER_BURGER_MENU_BUTTON}"]`);C&&C!==document.activeElement&&C.focus()}static{this.\u0275fac=function(M){return new(M||x)}}static{this.\u0275prov=t.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})()},2914(U,R,e){e.d(R,{BurgerMenuItemComponent:()=>g});var i=e(9748),a=e(7580),t=e(6563),s=e(8123),x=e(6124);let E=(()=>{class f{constructor(){this.mouseOverClasses=(0,a.hFB)([],{alias:"hoverMouseOverClasses"}),this.mouseOverStyles=(0,a.hFB)([],{alias:"hoverMouseOverStyles"}),this.#t=(0,t.WQX)(x.aKT)}#t;onMouseEnter(){const l=this.mouseOverClasses();l&&l.forEach(h=>{h&&!this.#t.nativeElement.classList.contains(h)&&(this.#t.nativeElement.classList.add(h),console.log(h))});const b=this.mouseOverStyles();if(b){const h=[...b].join(";");this.#t.nativeElement.style.cssText=h}}onMouseLeave(){const l=this.mouseOverClasses();l&&l.forEach(h=>{h&&this.#t.nativeElement.classList.contains(h)&&this.#t.nativeElement.classList.remove(h)});const b=this.mouseOverStyles();b&&b.forEach(h=>{const m=h.substring(0,h.indexOf(":"));m&&this.#t.nativeElement.style.removeProperty(m)})}onTouchStart(){const l=this.mouseOverClasses();l&&l.forEach(b=>{b&&!this.#t.nativeElement.classList.contains(b)&&this.#t.nativeElement.classList.add(b)})}onTouchEnd(){const l=this.mouseOverClasses();l&&l.forEach(b=>{b&&this.#t.nativeElement.classList.contains(b)&&this.#t.nativeElement.classList.remove(b)})}onMousedown(){const l=this.mouseOverClasses();l&&l.forEach(b=>{b&&!this.#t.nativeElement.classList.contains(b)&&this.#t.nativeElement.classList.add(b)})}onMouseup(){const l=this.mouseOverClasses();l&&l.forEach(b=>{b&&this.#t.nativeElement.classList.contains(b)&&this.#t.nativeElement.classList.remove(b)})}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275dir=x.FsC({type:f,selectors:[["","sobHoverDirective",""]],hostBindings:function(b,h){1&b&&x.bIt("mouseenter",function(){return h.onMouseEnter()})("mouseleave",function(){return h.onMouseLeave()})("touchstart",function(){return h.onTouchStart()})("touchend",function(){return h.onTouchEnd()})("mousedown",function(){return h.onMousedown()})("mouseup",function(){return h.onMouseup()})},inputs:{mouseOverClasses:[1,"hoverMouseOverClasses","mouseOverClasses"],mouseOverStyles:[1,"hoverMouseOverStyles","mouseOverStyles"]}})}}return f})();var C=e(8503);const M=(f,S)=>({"portal-menu-item-border-bottom":f,"portal-menu-item-selected-symbol":S});function _(f,S){1&f&&x.nrm(0,"kf-icon",1)}let g=(()=>{class f{constructor(){this.hasMenuItemChildren=(0,a.hFB)(),this.isLastMenuItem=(0,a.hFB)(),this.isMenuItemSelected=(0,a.hFB)(),this.menuItem=(0,a.hFB)(),this.goToMenuItem=(0,a.CGW)(),this.#t=(0,t.WQX)(C.c$)}#t;onSelectMenuItem(l){this.goToMenuItem.emit(l)}getAriaLabel(l){return this.hasMenuItemChildren()?this.#t.instant("BURGER_MENU.ARIA.SUB_MENU",{entry:l}):this.#t.instant("BURGER_MENU.ARIA.LINK",{entry:l})}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275cmp=x.VBU({type:f,selectors:[["sob-ui-burger-menu-item"]],inputs:{hasMenuItemChildren:[1,"hasMenuItemChildren"],isLastMenuItem:[1,"isLastMenuItem"],isMenuItemSelected:[1,"isMenuItemSelected"],menuItem:[1,"menuItem"]},outputs:{goToMenuItem:"goToMenuItem"},decls:3,vars:10,consts:[["sobHoverDirective","","data-test-id","burger-menu-item","role","menuitem",1,"kf-d-flex","kf-align-items-center","kf-justify-content-between","kf-w-100","kf-p-r-16","kf-p-l-16","kf-header-bg","kf-text-break","kf-border-0","portal-menu-item",3,"click","ngClass","id"],["name","ic_chevron-right_24",1,"portal-menu-item-chevron-icon"]],template:function(b,h){if(1&b&&(x.j41(0,"button",0),x.bIt("click",function(){return h.onSelectMenuItem(h.menuItem())}),x.EFF(1),x.nVh(2,_,1,0,"kf-icon",1),x.k0s()),2&b){let m,O,c;x.Y8G("id",x.mNQ((null==(m=h.menuItem())?null:m.menuText)+(null==(m=h.menuItem())?null:m.key)))("ngClass",x.l_i(7,M,!h.isLastMenuItem(),h.isMenuItemSelected())),x.BMQ("aria-label",h.getAriaLabel(null==(O=h.menuItem())?null:O.menuText))("aria-current",h.isMenuItemSelected()),x.R7$(),x.SpI(" ",null==(c=h.menuItem(
1))?null:c.menuText," "),x.R7$(),x.vxM(h.hasMenuItemChildren()?2:-1)}},dependencies:[E,i.YU,s.KY],styles:['.portal-menu-item[_ngcontent-%COMP%]{height:52px;color:var(--header-burger-menu-navigation-text-color-active)}.portal-menu-item-border-bottom[_ngcontent-%COMP%]{border-bottom:solid 1px var(--header-burger-menu-navigation-border-color)!important}.portal-menu-item-chevron-icon[_ngcontent-%COMP%]{color:var(--header-burger-menu-icon-color)}.portal-menu-item[_ngcontent-%COMP%]:focus{outline:auto;outline-color:var(--options-focus-box-shadow-color)}.portal-menu-item-selected-symbol[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;width:5px;height:24px;transition:top .1s ease-out;margin-inline-start:4px;border-radius:3px;background-color:var(--header-bank-subnavigation-active-emphasis-color)}']})}}return f})()},5285(U,R,e){e.d(R,{BurgerMenuContactBoxComponent:()=>g});var i=e(9015),a=e(6563),t=e(9937),s=e(9442),x=e(3624),E=e(6124);function C(f,S){if(1&f){const l=E.RV6();E.j41(0,"ksc-sidebar-contact",3),E.bIt("contactItemClickedEmitter",function(){a.eBV(l);const h=E.XpG();return a.Njj(h.closeSidebar())}),E.k0s()}if(2&f){const l=E.XpG();E.Y8G("portalContext",l.portalContext)("showMenuText",!0)}}function M(f,S){}function _(f,S){}let g=(()=>{class f{#t=(0,a.WQX)(t.J);#e=(0,a.WQX)(s.lJ);constructor(){this.portalContext=this.#e.portalContext;const l=this.portalContext.getNavigationService();this.contactBoxUrl=l.getPortalBasePath()+x.S.CONTACT_BOX_PATH}closeSidebar(){this.#t.closeMenu()}static{this.\u0275fac=function(b){return new(b||f)}}static{this.\u0275cmp=E.VBU({type:f,selectors:[["sob-ui-burgermenu-contactbox"]],decls:5,vars:4,consts:[["loadingGv",""],["errorGv",""],[3,"portalContext","showMenuText","contactItemClickedEmitter",4,"axLazyElement","axLazyElementModule","axLazyElementLoadingTemplate","axLazyElementErrorTemplate"],[3,"contactItemClickedEmitter","portalContext","showMenuText"]],template:function(b,h){if(1&b&&E.DNE(0,C,1,2,"ksc-sidebar-contact",2)(1,M,0,0,"ng-template",null,0,E.C5r)(3,_,0,0,"ng-template",null,1,E.C5r),2&b){const m=E.sdS(2),O=E.sdS(4);E.Y8G("axLazyElement",h.contactBoxUrl)("axLazyElementModule",!0)("axLazyElementLoadingTemplate",m)("axLazyElementErrorTemplate",O)}},dependencies:[i.sO],styles:["[_nghost-%COMP%]{background-color:var(--options-header-background);display:flex;justify-content:center;padding:24px 0}"]})}}return f})()},2046(U,R,e){e.d(R,{BurgerMenuMetaMenuItemComponent:()=>S});var i=e(9748),a=e(7580),t=e(1128),s=e(8123),x=e(6191),E=e(8503),C=e(3624),M=e(6124);const _=(l,b)=>({"kf-header-burger-menu-border-bottom":l,"kf-cursor-default":b}),g=l=>({entry:l});function f(l,b){1&l&&M.nrm(0,"kf-icon",5)}let S=(()=>{class l{constructor(){this.activeMetaMenuItemKey=(0,a.hFB)(void 0),this.isLastMetaMenuItem=(0,a.hFB)(void 0),this.metaMenuItem=(0,a.hFB)(void 0),this.openMenuItem=(0,a.CGW)(),this.DataAutomationIds=C.K}get isMetaMenuItemActive(){return(0,t.F9)(this.metaMenuItem())===this.activeMetaMenuItemKey()}onOpenMetaMenuItem(){this.openMenuItem.emit(this.metaMenuItem())}static{this.\u0275fac=function(m){return new(m||l)}}static{this.\u0275cmp=M.VBU({type:l,selectors:[["sob-ui-burger-menu-meta-menu-item"]],inputs:{activeMetaMenuItemKey:[1,"activeMetaMenuItemKey"],isLastMetaMenuItem:[1,"isLastMetaMenuItem"],metaMenuItem:[1,"metaMenuItem"]},outputs:{openMenuItem:"openMenuItem"},decls:8,vars:18,consts:[["href","#","data-test-id","burger-menu-meta-menu-item","role","menuitem",1,"kf-d-flex","kf-align-items-center","kf-p-l-16","kf-p-r-16","kf-text-decoration-none","kf-w-100","portal-reset-btn-styles","mat-body-1","portal-text-color",3,"click","ngClass","id"],[1,"kf-justify-content-between","kf-d-flex","kf-w-100","kf-m-t-8"],[1,"kf-d-flex"],["tabindex","-1",1,"kf-flex-shrink-0","kf-m-r-16","portal-menu-icon-color",3,"mobile","menuEntry"],["data-test-id","burger-menu-meta-menu-item-text",1,"kf-m-t-4"],["name","ic_chevron-right_24",1,"kf-flex-shrink-0","kf-m-t-4","portal-menu-icon-color"]],template:function(m,O){if(1&m&&(M.j41(0,"button",0),M.nI1(1,"translate"),M.bIt("click",function(){return O.onOpenMetaMenuItem()}),M.j41(2,"div",1)(3,"div",2),M.nrm(4,"sob-portal-menu-icon",3),M.j41(5,"p",4),M.EFF(6),M.k0s()(),M.nVh(7,f,1,0,"kf-icon",5),M.k0s()()),2&m){let c,N,k,q,z;M.Y8G("id",M.mNQ((null==(c=O.metaMenuItem())?null:c.menuText)+(null==(c=O.metaMenuItem())?null:c.key)))("ngClass",M.l_i(13,_,!O.isLastMetaMenuItem(),!(null!=(N=O.metaMenuItem().menuEntries)&&N.length))),M.BMQ("data-automation-id",O.isMetaMenuItemActive?O.DataAutomationIds.SELECTED_FIRST_LEVEL_MENU_ELEMENT:"")("data-automation-id",O.DataAutomationIds.META_MEN_ITEM_BUTTON)("aria-label",M.i5U(1,10,"BURGER_MENU.ARIA.SUB_MENU",M.eq3(16,g,null==(k=O.metaMenuItem())?null:k.menuText))),M.R7$(4),M.Y8G("mobile",!0)("menuEntry",O.metaMenuItem()),M.R7$(2),M.SpI(" ",null==(q=O.metaMenuItem())?null:q.menuText," "),M.R7$(),M.vxM(null!=(z=O.metaMenuItem())&&null!=z.menuEntries&&z.menuEntries.length?7:-1)}},dependencies:[i.YU,x.I,s.KY,E.TranslatePipe],styles:[".portal-menu-icon-color[_ngcontent-%COMP%]{color:var(--header-burger-menu
1-icon-color)}button[_ngcontent-%COMP%]{color:var(--header-burger-menu-user-text-color)!important}.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--options-focus-box-shadow)!important}.portal-reset-btn-styles[_ngcontent-%COMP%]{padding:0;margin:0;border:none;background:none;box-sizing:border-box;text-align:left}.portal-reset-btn-styles[_ngcontent-%COMP%]:focus{outline:auto;outline-color:var(--options-focus-box-shadow-color)}.portal-text-color[_ngcontent-%COMP%]{color:var(--header-burger-menu-navigation-text-color-active)!important}"]})}}return l})()},3624(U,R,e){e.d(R,{K:()=>i,S:()=>a});let i=(()=>{class t{static{this.CLOSE_MOBILE_MENU_BUTTON="close-mobile-menu-button"}static{this.META_NAV_LEVEL_1_BURGER_MENU="meta-nav-level-1-burger-menu"}static{this.META_NAV_LEVEL_2_BURGER_MENU="meta-nav-level-2-burger-menu"}static{this.SELECTED_FIRST_LEVEL_MENU_ELEMENT="selected-first-level-menu-element"}static{this.LOGOUT_BUTTON_BURGER_MENU="logout-button-burger-menu"}static{this.META_MEN_ITEM_BUTTON="first-level-menu-link"}static{this.PROFILE_MENU_BURGER_MENU="profile-menu-burger-menu"}static{this.PROFILE_MENU_SMALL_USERNAME="profile-menu-small-username"}static{this.PROFILE_MENU_FULL_USERNAME="profile-menu-full-username"}static{this.LOGOUT_TIMER_BURGER_MENU="logout-timer-burger-menu"}static{this.META_NAV_BURGER_MENU="meta-nav-burger-menu"}}return t})(),a=(()=>{class t{static{this.CONTACT_BOX_PATH="ui/ksc-contact-widgets-portal/ksc-sidebar-contact-wcomp/main.js"}}return t})()},2064(U,R,e){e.d(R,{n:()=>yt});var i=e(6563),a=e(6124),t=e(1128),s=e(9442),x=e(9015);let E=(()=>{class B{static{this.CONTACT_BOX_PATH="ui/ksc-contact-widgets-portal/ksc-sidebar-contact-wcomp/main.js"}static{this.CMS_COMPONENTS_PATH="webcomponents/cms-components/main.js"}static{this.LANG_SELECTOR_PATH="portal-language-selector/main.js"}}return B})();function C(B,Tt){1&B&&a.nrm(0,"bank-info",1)}let M=(()=>{class B{#t=(0,i.WQX)(s.lJ).portalContext.getNavigationService();get businessPartnerWebCompURL(){return`${this.#t.getPortalBasePath()}${E.CMS_COMPONENTS_PATH}`}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-footer-business-partner"]],decls:1,vars:2,consts:[["type","logoleiste","class","kf-row kf-text-center kf-p-t-24 kf-p-b-8 kf-m-r-0 kf-m-l-0 kf-justify-content-center","data-test-id","business-partner-bank-info",4,"axLazyElement","axLazyElementModule"],["type","logoleiste","data-test-id","business-partner-bank-info",1,"kf-row","kf-text-center","kf-p-t-24","kf-p-b-8","kf-m-r-0","kf-m-l-0","kf-justify-content-center"]],template:function(Y,ht){1&Y&&a.DNE(0,C,1,0,"bank-info",0),2&Y&&a.Y8G("axLazyElement",ht.businessPartnerWebCompURL)("axLazyElementModule",!0)},dependencies:[x.sO],styles:["lib-logoleiste[_ngcontent-%COMP%]{background-color:var(--footer-bottom-background);color:var(--footer-bottom-text-color)}"]})}}return B})();var _=e(3230),g=e(2782),f=e(6911),S=e(8123),l=e(8503);let b=(()=>{class B{#t=(0,i.WQX)(f.WT);onOpenConsentPopup(){const tt=this.#t.nativeWindow;"function"==typeof tt.OneTrust?.ToggleInfoDisplay&&tt.OneTrust.ToggleInfoDisplay()}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-consent-button"]],hostBindings:function(Y,ht){1&Y&&a.bIt("click",function(){return ht.onOpenConsentPopup()})("keydown.enter",function(){return ht.onOpenConsentPopup()})("keydown.space",function(){return ht.onOpenConsentPopup()})},decls:4,vars:3,consts:[["name","ic_neues_fenster_12"]],template:function(Y,ht){1&Y&&(a.j41(0,"span"),a.EFF(1),a.nI1(2,"translate"),a.k0s(),a.nrm(3,"kf-icon",0)),2&Y&&(a.R7$(),a.SpI(" ",a.bMT(2,1,"FOOTER.COOKIE_SETTINGS")))},dependencies:[l.h,S.KY,g.Hl,l.TranslatePipe],styles:['[_nghost-%COMP%]{color:var(--footer-top-text-color, white);margin:8px 32px;display:flex;align-items:center;justify-content:center;gap:4px}[_nghost-%COMP%]:hover{cursor:pointer}span[_ngcontent-%COMP%]{font-family:var(--typography-font-family, "GenosGFG");font-weight:700;font-size:13px;line-height:16px}']})}}return B})();var h=e(9748);function m(B,Tt){if(1&B&&(a.nrm(0,"sob-language-selector",2),a.nI1(1,"async")),2&B){const tt=a.XpG();a.Y8G("availableLocales",tt.availableLocales)("appLocale",a.bMT(1,3,tt.currentLocale$))("checkOwnSettings",!1)}}let O=(()=>{class B{constructor(){const tt=(0,i.WQX)(s.lJ),Y=tt.portalContext.getNavigationService();this.webComponentPath=Y.getPortalBasePath()+E.LANG_SELECTOR_PATH,this.currentLocale$=tt.portalContext.getLocalizationService().localeChanges,this.availableLocales=tt.portalContext.getLocalizationService().getAvailableLocales()}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-language-changer-wrapper"]],decls:2,vars:1,consts:[[1,"kf-d-flex","kf-justify-content-center"],[3,"availableLocales","appLocale","checkOwnSettings",4,"axLazyElement"],[3,"availableLocales","appLocale","checkOwnSettings"]],template:function(Y,ht){1&Y&&(a.j41(0,"div",0),a.DNE(1,m,2,5,"sob-language-selector",1),a.k0s()),2&Y&&(a.R7$(),a.Y8G("axLazyElement",ht.webComponentPath))},dependencies:[x.sO,h.Jj],styles:["div[_ngcontent-%COMP%]{margin-right:32px}"]})}}return B})();var c=e(4102);let N=(()=>{class B{static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-vertical-divider"]],decls:1,vars:3,consts:[[3,"vertical"]],template:function(Y,ht){1&Y&&a.nrm(0,"mat-divider",0),2&Y&&(a.xc7("height",2,"rem"),a.Y8G("vertical",!0))},dependencies:[c.w,c.q],styles:["mat-divider.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:var(--footer-top-text-color-disabled, white)}@media(max-width:599px){mat-divider[_ngcontent-%COMP%]{display:none}}"]})}}return B})();function k(B,Tt){1&B&&a.nrm(0,"sob-language-changer-wrapper")}function q(B,Tt){1&B&&a.nrm(0,"sob-vertical-divider")}function z(B,Tt){1&B&&a.nrm(0,"sob-consent-button",0)}let K=(()=>{class B{#t;#e;constructor(){this.#t=(0,i.WQX)(t.wf),this.#e=(0,i.WQX)(_.E),this.hasLanguageChanger=!1,this.hasConsent=!1,this.hasConsentDivider=!1,this.CONSENT_CONTENT_IDS=["adobe-consent","adobe-etag-manager","adobe-data-layer"],this.REQUIRED_CONTENT_IDS=[...this.CONSENT_CONTENT_IDS],this.hasLanguageChanger=this.#t.feature(t.Uz)}ngOnInit(){this.#e.search({withIds:this.REQUIRED_CONTENT_IDS}).then(tt=>{const Y=new Set(tt.map(ht=>
1ht.id));this.hasConsent=this.CONSENT_CONTENT_IDS.every(ht=>Y.has(ht)),this.hasConsentDivider=this.hasConsent&&this.hasLanguageChanger}).catch(()=>{this.hasConsent=!1,this.hasConsentDivider=!1})}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-consent-language-wrapper-component"]],decls:3,vars:3,consts:[["tabindex","0"]],template:function(Y,ht){1&Y&&(a.nVh(0,k,1,0,"sob-language-changer-wrapper"),a.nVh(1,q,1,0,"sob-vertical-divider"),a.nVh(2,z,1,0,"sob-consent-button",0)),2&Y&&(a.vxM(ht.hasLanguageChanger?0:-1),a.R7$(),a.vxM(ht.hasConsentDivider?1:-1),a.R7$(),a.vxM(ht.hasConsent?2:-1))},dependencies:[N,O,b],styles:["[_nghost-%COMP%]{display:flex;align-items:center;padding-top:32px;margin-bottom:32px;justify-content:center}[_nghost-%COMP%] lib-consent-button[_ngcontent-%COMP%]:focus{box-shadow:var(--footer-top-focus-box-shadow);outline:none;border-radius:2px}@media(max-width:599px){[_nghost-%COMP%]{flex-direction:column;align-items:center;padding-top:24px;margin-bottom:0;gap:24px}}"]})}}return B})();var j=e(7580),it=e(1591);function et(B,Tt){}function F(B,Tt){}function lt(B,Tt){if(1&B&&a.nrm(0,"ksc-sidebar-contact",5),2&B){const tt=a.XpG();a.Y8G("portalContext",tt.portalContext)("showContactBox",!0)("showMenuText",!0)}}let $=(()=>{class B{#t;#e;constructor(){this.navigation=(0,j.CGW)(),this.requiredChildSelectorForContactsGuide=["#button-wrapper .action"];const tt=(0,i.WQX)(s.lJ);this.#t=tt.portalContext.getNavigationService(),this.portalContext=tt.portalContext}ngOnInit(){this.#e=this.#t.getPortalBasePath(),this.contactBoxWcompUrl=this.getContactBoxUrl(this.#e)}getContactBoxUrl(tt){return tt+E.CONTACT_BOX_PATH}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-contact-box-wrapper"]],outputs:{navigation:"navigation"},decls:10,vars:11,consts:[["loadingGv",""],["errorGv",""],["id","footer-right","sobKfTourGuidePosition","middle-right","sobKfTourGuideCategory","portal-footer","sobKfTourGuideOrder","100000",3,"sobKfTourGuide","sobKfTourGuideTitle","sobKfTourGuideRequireChildren"],["id","ksc-webcomponent"],[3,"portalContext","showContactBox","showMenuText",4,"axLazyElement","axLazyElementModule","axLazyElementLoadingTemplate","axLazyElementErrorTemplate"],[3,"portalContext","showContactBox","showMenuText"]],template:function(Y,ht){if(1&Y&&(a.j41(0,"div",2),a.nI1(1,"translate"),a.nI1(2,"translate"),a.j41(3,"div",3),a.DNE(4,et,0,0,"ng-template",null,0,a.C5r)(6,F,0,0,"ng-template",null,1,a.C5r),a.j41(8,"div"),a.DNE(9,lt,1,3,"ksc-sidebar-contact",4),a.k0s()()()),2&Y){const _t=a.sdS(5),Lt=a.sdS(7);a.Y8G("sobKfTourGuide",a.bMT(1,7,"FOOTER.TOUR_GUIDE.CONTACT_BOX.DESCRIPTION"))("sobKfTourGuideTitle",a.bMT(2,9,"FOOTER.TOUR_GUIDE.CONTACT_BOX.TITLE"))("sobKfTourGuideRequireChildren",ht.requiredChildSelectorForContactsGuide),a.R7$(9),a.Y8G("axLazyElement",ht.contactBoxWcompUrl)("axLazyElementModule",!0)("axLazyElementLoadingTemplate",_t)("axLazyElementErrorTemplate",Lt)}},dependencies:[it.o,x.sO,l.TranslatePipe],encapsulation:2})}}return B})();const pt=[[["","id","imprint-line"]],[["","id","language-changer"]],[["","id","contract-revocation"]],[["","id","contact-box"]],[["","id","business-partner"]],[["","id","faq-bot"]]],X=["#imprint-line","#language-changer","#contract-revocation","#contact-box","#business-partner","#faq-bot"];let at=(()=>{class B{constructor(){this.customStylesTopContainer=(0,j.hFB)(void 0),this.customStylesBottomContainer=(0,j.hFB)(void 0)}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-footer-template"]],inputs:{customStylesTopContainer:[1,"customStylesTopContainer"],customStylesBottomContainer:[1,"customStylesBottomContainer"]},ngContentSelectors:X,decls:15,vars:2,consts:[[1,"footer-top-container","kf-d-flex","kf-justify-content-center","kf-p-t-48",3,"ngStyle"],[1,"footer-section","footer-section_top-right_first-row"],[1,"footer-section","footer-section_top-right_second-row"],[1,"footer-section","footer-section_top-right_third-row"],[1,"footer-section","footer-section_top-left"],[1,"footer-section","footer-section_bottom","kf-d-flex","kf-justify-content-center",3,"ngStyle"],[1,"footer-section","footer-section_bottom-right"]],template:function(Y,ht){1&Y&&(a.NAR(pt),a.j41(0,"footer")(1,"div",0)(2,"div")(3,"section",1),a.SdG(4),a.k0s(),a.j41(5,"section",2),a.SdG(6,1),a.k0s(),a.j41(7,"section",3),a.SdG(8,2),a.k0s()(),a.j41(9,"section",4),a.SdG(10,3),a.k0s()(),a.j41(11,"section",5),a.SdG(12,4),a.k0s(),a.j41(13,"section",6),a.SdG(14,5),a.k0s()()),2&Y&&(a.R7$(),a.Y8G("ngStyle",ht.customStylesTopContainer()),a.R7$(10),a.Y8G("ngStyle",ht.customStylesBottomContainer()))},dependencies:[h.B3],styles:[".footer-top-container[_ngcontent-%COMP%]{display:grid;align-items:center;background-color:var(--footer-top-background);color:var(--footer-top-text-color);border-top:var(--footer-top-border-top)}@media screen and (max-width:599px){.footer-top-container[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr);gap:6px;padding:40px 16px 32px}}@media screen and (min-width:600px)and (max-width:1023px){.footer-top-container[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr);gap:24px;padding:40px 24px 32px}}@media screen and (min-width:1024px)and (max-width:1199px){.footer-top-container[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr);gap:32px;padding:40px 32px 32px}}@media screen and (min-width:1200px)and (max-width:1491px){.footer-top-container[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr);gap:40px;padding:40px 64px 32px}}@media screen and (min-width:1492px){.footer-top-container[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr);gap:40px;padding:40px calc((100% - 1364px)/2) 32px calc((100% - 1364px)/2)}}.footer-section_bottom[_ngcontent-%COMP%]{background-color:var(--footer-bottom-background);color:var(--footer-bottom-text-color)}"]})}}return B})();function dt(B,Tt){1&B&&a.nrm(0,"bank-info",1)}let H=(()=>{class B{#t=(0,i.WQX)(s.lJ);#e=this.#t.portalContext.getNavigationService();get imprintLineWebCompURL(){return`${this.#e.getPortalBasePath()}${E.CMS_COMPONENTS_PATH}`}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-footer-imprint-line"]],decls:1,vars:2,consts:[["type","fussleiste","data-test-id","imprint-line-bank-info",4,"axLazyElement","axLazyElementModule"],["type","fussleiste","data-test-id","imprint-line-bank-info"]],template:function(Y,ht){1&Y&&a.DNE(0,dt,1,0,"bank-info",0),2&Y&&a.Y8G("axLazyElement",ht.imprintLineWebCompURL)("axLazyElementModule",!0)},dependencies:[x.sO],encapsulation:2})}}return B})();var nt=e(9204),ft=e(7511),T=e(443);const y=["contentPlaceholder"];function w(B,Tt){if(1&B&&(a.rj2(0,"div",1),a.Hgh(1,"div",2,0),a.eux()),2&B){const tt=a.XpG();a.R7$(),a.Avn("hidden",tt.shouldBeHidden())}}let I=(()=>{class B{constructor(){this.#t="vac-chatui-homepage",this.#e=(0,i.WQX)(T.C4),this.#n=(0,i.WQX)(t.wf),this.#o=(0,i.vPA)(this.#n.feature("showFaqBot")),this.#i=(0,i.vPA)(this.#n.feature(t.Um)),this.shouldBeHidden=(0,i.vPA)(!1),this.shouldShowFaqBot=(0,ft.EW)(()=>this.#o()&&this.#i())}#t;#e;#n;#o;#i;ngAfterViewInit(){var tt=this;return(0,nt.A)(function*(){!tt.shouldShowFaqBot()||!(tt.vcr instanceof a.c1b)||(yield tt.#e.createContent(tt.#t,tt.vcr),tt.shouldBeHidden.set(!0))})()}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-faq-bot-wrapper"]],viewQuery:function(Y,ht){if(1&Y&&a.GBs(y,5,a.c1b),2&Y){let _t;a.mGM(_t=a.lsd())&&(ht.vcr=_t.first)}},decls:1,vars:1,consts:[["contentPlaceholder",""],["id","faq-webcomponent"],["id","contentPlaceholder",3,"hidden"]],template:function(Y,ht){1&Y&&a.nVh(0,w,3,1,"div",1),2&Y&&a.vxM(ht.shouldShowFaqBot()?0:-1)},encapsulation:2})}}return B})();const A=()=>({entryPoint:"footer"});function Q(B,Tt){1&B&&a.nrm(0,"div",0)}function ot(B,Tt){if(1&B&&a.DNE(0,Q,1,0,"div",1),2&B){const tt=a.XpG();
1a.Y8G("okpContent",tt.WIDERRUF_ID)("okpContentParams",a.lJ4(2,A))}}let ct=(()=>{class B{constructor(){this.WIDERRUF_ID="ku-widerruf-absprung",this.hasWiderruf=(0,i.vPA)(!1),this.#t=(0,i.WQX)(_.E)}#t;ngOnInit(){this.#t.search({withIds:[this.WIDERRUF_ID]}).then(tt=>{const Y=new Set(tt.map(ht=>ht.id));this.hasWiderruf.set(Y.has(this.WIDERRUF_ID))}).catch(()=>{this.hasWiderruf.set(!1)})}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-contract-revocation"]],decls:1,vars:1,consts:[[1,"kf-d-flex","kf-flex-column","kf-align-items-center","kf-p-t-24","kf-p-t-md-0"],["class","kf-d-flex kf-flex-column kf-align-items-center kf-p-t-24 kf-p-t-md-0",4,"okpContent","okpContentParams"]],template:function(Y,ht){1&Y&&a.nVh(0,ot,1,3,"div",0),2&Y&&a.vxM(ht.hasWiderruf()?0:-1)},dependencies:[T.$q],encapsulation:2})}}return B})(),Ct=(()=>{class B{static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-footer-default-footer"]],decls:7,vars:0,consts:[["id","imprint-line"],["id","language-changer"],["id","contact-box","data-test","contact-box"],["id","contract-revocation","data-test","sob-contract-revocation"],["id","business-partner"],["id","faq-bot","data-test","faq-box"]],template:function(Y,ht){1&Y&&(a.j41(0,"sob-footer-template"),a.nrm(1,"sob-footer-imprint-line",0)(2,"sob-consent-language-wrapper-component",1)(3,"sob-contact-box-wrapper",2)(4,"sob-contract-revocation",3)(5,"sob-footer-business-partner",4)(6,"sob-faq-bot-wrapper",5),a.k0s())},dependencies:[at,H,K,$,M,I,ct],encapsulation:2})}}return B})(),P=(()=>{class B{static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-footer-ksc-context-footer"]],decls:7,vars:0,consts:[[1,"kf-d-none"],["id","imprint-line"],["id","language-changer"],["id","contract-revocation","data-test","sob-contract-revocation"],["id","contact-box","data-test","contact-box"],["id","business-partner"],["id","faq-bot","data-test","faq-box"]],template:function(Y,ht){1&Y&&(a.j41(0,"sob-footer-template",0),a.nrm(1,"sob-footer-imprint-line",1)(2,"sob-consent-language-wrapper-component",2)(3,"sob-contract-revocation",3)(4,"sob-contact-box-wrapper",4)(5,"sob-footer-business-partner",5)(6,"sob-faq-bot-wrapper",6),a.k0s())},dependencies:[at,H,K,$,M,I,ct],encapsulation:2})}}return B})(),V=(()=>{class B{constructor(){this.customStylesTopContainer={"padding-bottom":"3.0rem"}}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-minimal-footer"]],decls:2,vars:1,consts:[[3,"customStylesTopContainer"],["id","imprint-line"]],template:function(Y,ht){1&Y&&(a.j41(0,"sob-footer-template",0),a.nrm(1,"sob-footer-imprint-line",1),a.k0s()),2&Y&&a.Y8G("customStylesTopContainer",ht.customStylesTopContainer)},dependencies:[at,H],encapsulation:2})}}return B})(),J=(()=>{class B{constructor(){this.customStylesTopContainer={backgroundColor:"var(--options-footer-background)"}}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-footer-old-footer"]],decls:6,vars:1,consts:[[3,"customStylesTopContainer"],["id","imprint-line"],["id","language-changer"],["id","contact-box","data-test","contact-box"],["id","business-partner"],["id","faq-bot","data-test","faq-box"]],template:function(Y,ht){1&Y&&(a.j41(0,"sob-footer-template",0),a.nrm(1,"sob-footer-imprint-line",1)(2,"sob-consent-language-wrapper-component",2)(3,"sob-contact-box-wrapper",3)(4,"sob-footer-business-partner",4)(5,"sob-faq-bot-wrapper",5),a.k0s()),2&Y&&a.Y8G("customStylesTopContainer",ht.customStylesTopContainer)},dependencies:[at,H,K,$,M,I],encapsulation:2})}}return B})();var rt=function(B){return B.None="none",B.Default="default",B.Old="old",B.Minimal="minimal",B.ImprintLogin="imprintLogin",B.DzBank="dzBank",B.KscContext="kscContext",B.Rci="rci",B}(rt||{});let vt=(()=>{class B{#t=(0,i.WQX)(t.wf);#e;#n;#o;#i;#r=[{footer:rt.Default,footerVariantComponent:Ct},{footer:rt.Old,footerVariantComponent:J},{footer:rt.Minimal,footerVariantComponent:V},{footer:rt.KscContext,footerVariantComponent:P},{footer:rt.Rci,footerVariantComponent:Ct},{footer:rt.DzBank,footerVariantComponent:Ct}];#a={ksc:rt.KscContext};constructor(){const tt=(0,i.WQX)(s.lJ).portalContext,Y=tt.getNavigationService(),ht=tt.getVpContextService();this.#o=Y.selectedItem,this.#o&&(this.#i=this.#o.layout);const _t=ht.vpContext$.subscribe(Lt=>{this.#n=Lt?.identifier});this.#e=this.#s(rt.Default),_t.unsubscribe()}#s(tt){return this.#r.find(ht=>ht.footer===tt)||this.#e}getFooterComponent(){const tt=this.#u();return this.#s(tt).footerVariantComponent}#u(){let tt;switch(this.#i){case"STANDARD":default:tt=this.#l();break;case"USE_CASE_CENTRIC":tt=rt.ImprintLogin;break;case"ENFORCED_PAGE_AFTER_LOGIN":tt=rt.Default}return this.#n?this.#a[this.#n]:tt}#l(){return this.#n?this.#a[this.#n]:this.#t.getValueOfFeatureToggle("footer_variant")||rt.Default}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275prov=i.jDH({token:B,factory:B.\u0275fac})}}return B})(),Et=(()=>{class B{#t=(0,i.WQX)(a.c1b);#e=(0,i.WQX)(vt);#n;constructor(){this.#n=this.#e.getFooterComponent()}ngOnInit(){this.#o()}#o(){this.#t.clear(),this.#t.createComponent(this.#n)}static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275dir=a.FsC({type:B,selectors:[["","sobLoadFooterVariant",""]],features:[a.Jv_([vt])]})}}return B})();function It(B,Tt){}let yt=(()=>{class B{static{this.\u0275fac=function(Y){return new(Y||B)}}static{this.\u0275cmp=a.VBU({type:B,selectors:[["sob-portal-footer"]],decls:1,vars:0,consts:[["sobLoadFooterVariant",""]],template:function(Y,ht){1&Y&&a.DNE(0,It,0,0,"ng-template",0)},dependencies:[Et],encapsulation:2})}}return B})()},5784(U,R,e){e.d(R,{z:()=>So});var i=e(6563),a=e(1128),t=e(6124),s=e(2111),x=e(9442),E=e(1567),C=e(4334),M=e(9748),_=e(7580),g=e(9015),f=e(9223);function S(o,W){1&o&&t.nrm(0,"zwp-pwa-webcomp",0)}function l(o,W){if(1&o&&t.DNE(0,S,1,0,"zwp-pwa-webcomp",1),2&o){const n=t.XpG();t.Y8G("axLazyElement",n.zwpPwaWebcompUrl)}}let b=(()=>{class o{constructor(){this.zwpPwaWebcompUrl="";const n=(0,i.WQX)(x.lJ).portalContext.getNavigationService();if(void 0===n)return void console.error("Component zwangsprozess-zustimmungen could not load INavigationService to extract BASE_PORTAL_PATH. Doing nothing.");const r=n.getPortalBasePath();this.zwpPwaWebcompUrl=`${r}${f.S.ZWP_PWA_PATH}`,console.log("Component zwangsprozess-zustimmungen loaded with ",{zwpPwaWebcompUrl:this.zwpPwaWebcompUrl})}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-zwangsprozess-zustimmungen"]],decls:1,vars:1,consts:[["role","dialog","aria-hidden","false","tabindex","-1"],["role","dialog","aria-hidden","false","tabindex","-1",4,"axLazyElement"]],template:function(r,d){1&r&&t.nVh(0,l,1,1,"zwp-pwa-webcomp",0),2&r&&t.vxM(d.zwpPwaWebcompUrl.length>0?0:-1)},dependencies:[g.sO],encapsulation:2})}}return o}
1)();var h=e(7941),m=e(4157),O=e(4630),c=e(2782),N=e(227),k=e(8503);let q=(()=>{class o{#t=".cdk-live-announcer-element";#e=(0,i.WQX)(k.c$);announce(n){const r=this.#e.instant(n);this.getAnnouncerElement()&&(this.setAnnouncerMessage(r),this.clearAnnouncerAfterDelay(1e3))}announceAndRestoreFocus(n,r,d=150){const D=this.#e.instant(n);this.getAnnouncerElement()?(this.setAnnouncerMessage(D),this.clearAndRestoreFocus(r,d)):r&&r.focus()}getAnnouncerElement(){return document.querySelector(this.#t)}setAnnouncerMessage(n){this.getAnnouncerElement().textContent=n}clearAnnouncerAfterDelay(n){setTimeout(()=>{this.clearAnnouncer()},n)}clearAnnouncer(){this.setAnnouncerMessage("")}clearAndRestoreFocus(n,r=150){setTimeout(()=>{n&&n.focus(),this.clearAnnouncer()},r)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275prov=i.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var z=e(5797),K=e(271);function j(o,W){if(1&o&&(t.rj2(0,"span",1),t.vzT("digit-leave"),t.QR4("digit-enter"),t.EFF(1),t.eux()),2&o){const n=t.XpG(2);t.R7$(),t.JRh(0===n.aDigit()&&n.blankIfZero()?"":n.aDigit())}}function it(o,W){if(1&o&&(t.rj2(0,"span",0),t.nVh(1,j,2,1,"span",1),t.eux()),2&o){const n=t.XpG();t.R7$(),t.vxM(n.show()?1:-1)}}let et=(()=>{class o{constructor(){this.blankIfZero=(0,_.hFB)(!1),this.aDigit=(0,_.hFB)(),this.show=(0,i.vPA)(!1),(0,i.QZP)(()=>{null!=this.aDigit()&&(this.show.set(!1),queueMicrotask(()=>this.show.set(!0)))})}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-countdown-digit"]],inputs:{blankIfZero:[1,"blankIfZero"],aDigit:[1,"aDigit"]},decls:1,vars:1,consts:[[1,"barrel"],[1,"digit"]],template:function(r,d){1&r&&t.nVh(0,it,2,1,"span",0),2&r&&t.vxM(null!==d.aDigit()&&void 0!==d.aDigit()?0:-1)},styles:["[_nghost-%COMP%]{display:inline-block}.barrel[_ngcontent-%COMP%]{position:relative;display:inline-block;vertical-align:top;width:1ch;overflow:hidden;height:1lh}.digit[_ngcontent-%COMP%]{position:absolute;left:0;top:0}.digit-enter[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_digit-slide-in .5s ease forwards}.digit-leave[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_digit-slide-out .5s ease forwards}@keyframes _ngcontent-%COMP%_digit-slide-in{0%{top:-1lh}to{top:0}}@keyframes _ngcontent-%COMP%_digit-slide-out{0%{top:0}to{top:1lh}}"],changeDetection:0})}}return o})(),F=(()=>{class o{#t;#e;#n;#o;constructor(){this.hostClass="kf-popup",this.#t=(0,i.WQX)(q),this.#e=(0,i.WQX)(k.c$),this.#o=new z.t(0),this.tenDigit$=this.#o.pipe((0,K.T)(r=>Math.floor(r%100/10))),this.oneDigit$=this.#o.pipe((0,K.T)(r=>r%10));const n=(0,i.WQX)(h.Vh);this.#n=n?.focusRestoreElement,this.#o.next(n?.initialSecondsLeft??0)}updateRemainingSeconds(n){this.#o.next(n)}ngOnDestroy(){const n=this.#e.instant("SESSION_TIMEOUT.EXTENDED_NOTIFICATION");this.#t.announceAndRestoreFocus(n,this.#n)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-logout-warning"]],hostVars:2,hostBindings:function(r,d){2&r&&t.HbH(d.hostClass)},decls:22,vars:22,consts:[["data-test","logout-timer-header","aria-hidden","true",1,"kf-popup-header-img","kf-p-t-b-24"],["data-test","logout-timer-icon","height","200px","width","100%","src","./assets/illustrations_ultra/default/illu_ultra_hint_019_default.svg",1,"kf-align-bottom"],["data-test","number",1,"kf-popup-container","kf-p-t-24"],["data-test","logout-timer-countdown",1,"kf-mt-2"],["aria-hidden","true",1,"mat-h2","kf-mb-2","kf-text-center"],["aria-hidden","true",1,"mat-h1","countdown"],[3,"aDigit","blankIfZero"],[3,"aDigit"],["data-test","logout-timer-description","aria-hidden","true",1,"mat-body-1","kf-mt-2","kf-text-center"],[1,"kf-popup-buttons"],["mat-dialog-close","","data-test","confirm","mat-flat-button","","color","accent"]],template:function(r,d){1&r&&(t.j41(0,"div",0),t.nrm(1,"kf-img",1),t.k0s(),t.j41(2,"div",2)(3,"div",3)(4,"div",4),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"div",5),t.nrm(8,"sob-countdown-digit",6),t.nI1(9,"async"),t.nrm(10,"sob-countdown-digit",7),t.nI1(11,"async"),t.EFF(12),t.nI1(13,"translate"),t.k0s()(),t.j41(14,"div",8),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"div",9)(18,"button",10),t.nI1(19,"translate"),t.EFF(20),t.nI1(21,"translate"),t.k0s()()()),2&r&&(t.R7$(5),t.SpI(" ",t.bMT(6,8,"LOGOUT_WARNING.LOGOUT_IN"),"\xa0 "),t.R7$(3),t.Y8G("aDigit",t.bMT(9,10,d.tenDigit$))("blankIfZero",!0),t.R7$(2),t.Y8G("aDigit",t.bMT(11,12,d.oneDigit$)),t.R7$(2),t.SpI(" ",t.bMT(13,14,"LOGOUT_WARNING.SECONDS")," "),t.R7$(3),t.SpI(" ",t.bMT(16,16,"LOGOUT_WARNING.DESCRIPTION")," "),t.R7$(3),t.BMQ("aria-label",t.bMT(19,18,"LOGOUT_WARNING.ARIA.DIALOG_BUTTON")),t.R7$(2),t.SpI(" ",t.bMT(21,20,"LOGOUT_WARNING.CONFIRM")," "))},dependencies:[N.SH,et,c.$z,h.tx,M.Jj,k.TranslatePipe],styles:["[_nghost-%COMP%]{display:block;max-width:548px;background-color:var(--color-background-dialog)}.kf-popup-buttons[_ngcontent-%COMP%]{justify-content:center!important}.kf-popup-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:unset!important}.countdown[_ngcontent-%COMP%]{text-align:center;font-variant-numeric:tabular-nums}"]})}}return o}
1)(),$=(()=>{class o{#t=(0,i.WQX)(x.lJ).portalContext.getSecurityService();#e;#n=!1;#o=(0,i.WQX)(h.bZ);#i=(0,i.WQX)(O.f);#r=(0,i.WQX)(m.D);#a=(0,i.WQX)(k.c$);#s;constructor(){this.#s=(0,i.QZP)(()=>{this.#u(this.#i.countdown())})}destroy(){this.#s.destroy(),this.#e?.close()}#u(n){const r=d=>{d<1?this.#t.logout():d<=60&&!this.#n?this.#m?this.#e.componentInstance.updateRemainingSeconds(d):this.#c():d>60&&this.#m&&this.#d()};this.#h(n)?this.#t.refreshToken(!0).then(()=>{r(n)}):r(n)}#l(){this.#n=!0,this.#t.refreshToken(!0).then(()=>{this.#n=!1})}#c(){const n=document.activeElement;this.#e=this.#o.open(F,{autoFocus:!1,role:"alertdialog",restoreFocus:!1,ariaLabel:this.#a.instant("LOGOUT_WARNING.ARIA.DIALOG_TITLE"),data:{focusRestoreElement:n,initialSecondsLeft:this.#i.countdown()}}),this.#e.afterClosed().subscribe(()=>this.#l())}#d(){this.#e.close(),this.#e=null}get#m(){return!!this.#e&&0===this.#e.getState()}#h(n){return(this.#t.getSessionExpiry()-this.#r.getCurrentDateTimeAsMillis())/1e3<=60&&n>60}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275prov=i.jDH({token:o,factory:o.\u0275fac})}}return o})();const pt=[[["","id","main-navigation"]],[["","id","right-header-bar"]],[["","id","bank-logo"]],[["","id","bank-name"]],[["","id","session-box"]],[["","id","sub-navigation"]]],X=["#main-navigation","#right-header-bar","#bank-logo","#bank-name","#session-box","#sub-navigation"];function at(o,W){1&o&&t.nrm(0,"sob-zwangsprozess-zustimmungen")}let dt=(()=>
1{class o{constructor(){this.customStylesFirstRow=(0,_.hFB)(void 0),this.customStylesSecondRow=(0,_.hFB)(void 0),this.customStylesThirdRow=(0,_.hFB)(void 0),this.coerciveDetermination=(0,_.hFB)(void 0),this.#t=(0,i.WQX)($)}#t;ngOnDestroy(){this.#t.destroy()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-header-template"]],inputs:{customStylesFirstRow:[1,"customStylesFirstRow"],customStylesSecondRow:[1,"customStylesSecondRow"],customStylesThirdRow:[1,"customStylesThirdRow"],coerciveDetermination:[1,"coerciveDetermination"]},features:[t.Jv_([$])],ngContentSelectors:X,decls:11,vars:4,consts:[[1,"header-section","header-section_first-row",3,"ngStyle"],[1,"header-section","header-section_second-row",3,"ngStyle"],[1,"header-section_third-row",3,"ngStyle"]],template:function(r,d){1&r&&(t.NAR(pt),t.j41(0,"header")(1,"section",0),t.SdG(2),t.SdG(3,1),t.k0s(),t.j41(4,"section",1),t.SdG(5,2),t.SdG(6,3),t.SdG(7,4),t.k0s(),t.j41(8,"section",2),t.SdG(9,5),t.k0s()(),t.nVh(10,at,1,0,"sob-zwangsprozess-zustimmungen")),2&r&&(t.R7$(),t.Y8G("ngStyle",d.customStylesFirstRow()),t.R7$(3),t.Y8G("ngStyle",d.customStylesSecondRow()),t.R7$(4),t.Y8G("ngStyle",d.customStylesThirdRow()),t.R7$(2),t.vxM(d.coerciveDetermination()?10:-1))},dependencies:[M.B3,b],styles:["[_nghost-%COMP%]{background-color:var(--header-bank-background)}@media screen and (max-width:599px){[_nghost-%COMP%]{max-height:73px}}.header-section[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0;margin:0}.header-section_first-row[_ngcontent-%COMP%]{background-color:var(--header-metanavigation-background)}@media screen and (max-width:599px){.header-section_first-row[_ngcontent-%COMP%]{height:0!important}}.header-section_second-row[_ngcontent-%COMP%]{background-color:var(--header-bank-background)}@media screen and (max-width:599px){.header-section_first-row[_ngcontent-%COMP%], .header-section_second-row[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr);gap:6px;padding:0 16px}}@media screen and (min-width:600px)and (max-width:1023px){.header-section_first-row[_ngcontent-%COMP%], .header-section_second-row[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr);gap:24px;padding:0 24px}}@media screen and (min-width:1024px)and (max-width:1199px){.header-section_first-row[_ngcontent-%COMP%], .header-section_second-row[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr);gap:32px;padding:0 32px}}@media screen and (min-width:1200px)and (max-width:1491px){.header-section_first-row[_ngcontent-%COMP%], .header-section_second-row[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr);gap:40px;padding:0 64px}}@media screen and (min-width:1492px){.header-section_first-row[_ngcontent-%COMP%], .header-section_second-row[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr);gap:40px;padding:0 calc((100% - 1364px)/2)}}@media screen and (min-width:600px)and (max-width:1023px){.header-section_second-row[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px}}@media screen and (min-width:1024px)and (max-width:1199px){.header-section_second-row[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px}}@media screen and (min-width:1200px)and (max-width:1491px){.header-section_second-row[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}}@media screen and (min-width:1492px){.header-section_second-row[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}}"]})}}return o})();var H=e(3624),nt=e(8012),ft=e(2204),T=e(8123),y=e(9937),w=e(1817),I=e(6196),Q=function(o){return o[o.FIRST_LEVEL=0]="FIRST_LEVEL",o[o.SECOND_LEVEL=1]="SECOND_LEVEL",o[o.THIRD_LEVEL=2]="THIRD_LEVEL",o}(Q||{});let ot=(()=>{class o{#t=(0,i.WQX)(x.lJ).portalContext.getNavigationService();#e;#n;constructor(){this.#t?this.#e=new z.t({level:Q.SECOND_LEVEL,entry:this.#t.activeSection}):this.#e=new z.t({level:Q.FIRST_LEVEL,entry:void 0})}get lastFocusedElement(){return this.#n}set lastFocusedElement(n){this.#n=n}get activeMenu$(){return this.#e.asObservable()}get activeMenu(){return this.#e.getValue()}get isFirstLevelMenuActive(){return this.#e.getValue().level===Q.FIRST_LEVEL}get isSecondLevelMenuActive(){return this.#e.getValue().level===Q.SECOND_LEVEL}get isThirdLevelMenuActive(){return this.#e.getValue().level===Q.THIRD_LEVEL}
1changeActiveMenu({level:n,entry:r}){this.#e.next({level:n,entry:r})}hasChildMenuItemChildren(n){return"gvRoute"!==n.keyType&&n.menuEntries&&(n.menuEntries?.length>1||1===n.menuEntries?.length&&n.key!==n.menuEntries?.[0].key)}subscribeToMainMenuEntries(){return this.#t.navigation$.pipe((0,E.p)(Boolean),(0,K.T)(n=>n.menus),(0,E.p)(Boolean),(0,w.F)(),(0,K.T)(n=>n.find(r=>"mainMenu"===r.name)),(0,E.p)(Boolean),(0,K.T)(n=>n.menuEntries))}get mainMenuEntries(){return(0,I._)(this.subscribeToMainMenuEntries())}findChildMenuItemAndItsParentMenuItem(n,r){let d,D;for(const ut of n){if(d=ut,ut.key===r){D={...ut};break}if(ut.menuEntries&&(({childMenuItem:D}=this.findChildMenuItemAndItsParentMenuItem(ut.menuEntries,r)),D))break}return{parentMenuItem:d,childMenuItem:D}}getFocusBackAfterMenuChange(){this.#n&&this.waitUntilElementRemovedFromDomBeforeExecutingCallback(this.#n,()=>{try{const r=this.#n.id?.trim().toLowerCase(),d=this.#n.tagName?.trim().toLowerCase(),D=Array.from(document.querySelectorAll("div.burger-menu-container *, div.pt-mobile-menu *")),ut=performance.now();let Mt=null;for(;!Mt&&performance.now()-ut<=100;)for(const Pt of D){const Ft=Pt.id?.trim().toLowerCase(),Ht=Pt.tagName?.trim().toLowerCase();
1if(r&&""!=r&&Ft&&""!=Ft&&r==Ft&&d==Ht){Mt=Pt;break}}Mt&&"focus"in Mt&&"function"==typeof Mt.focus&&Mt.focus()}finally{this.#n=document.activeElement}},50)}waitUntilElementRemovedFromDomBeforeExecutingCallback(n,r,d){let D=n,ut=r,Mt=!1;const Ft=performance.now(),Ht=Ro=>{try{if(D&&!document.body.contains(D))return void ut();if(Ro-Ft>=d)return;return void(He=requestAnimationFrame(Ht))}finally{Mt||(Mt=!0,cancelAnimationFrame(He),D=null,ut=null)}};let He=requestAnimationFrame(Ht)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275prov=i.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var ct=function(o){return o.ArrowUp="ArrowUp",o.ArrowDown="ArrowDown",o.Tab="Tab",o}(ct||{});const J=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]'],It=["hidden","collapse"];function yt(o){const W=globalThis.getComputedStyle(o);return!("none"!==W.display&&!It.includes(W.visibility)&&!o.hasAttribute("hidden"))||"true"===o.getAttribute("aria-hidden")}function Y(o){return!!o&&function Tt(o){return!!function B(o){let W=o;for(;W&&W!==document.documentElement;){if(yt(W))return!1;W=W.parentElement}return!0}(o)&&o.getClientRects().length>0}(o)&&function tt(o){const W=o.getAttribute("tabindex");if(null===W)return!0;const n=Number.parseInt(W,10);return!Number.isNaN(n)&&n>=0}(o)}let _t=(()=>{class o{#t=(0,i.WQX)(ot);#e=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[tabindex]"];handleKeyboardNavigation(n){if(!n)return;const r=function Ct(o){return o.key===ct.ArrowDown||!o.shiftKey&&o.key===ct.Tab?"forward":o.key===ct.ArrowUp||o.shiftKey&&o.key===ct.Tab?"backward":null}(n);if(!r)return;const d=function rt(o){return o instanceof HTMLElement?o.closest(".burger-menu-container, .pt-mobile-menu"):null}(n.target);if(!d)return;const D=function vt(o){return Array.from(o.querySelectorAll(J.join(",")))}(d);if(0===D.length||!this.#t.lastFocusedElement)return;const ut=D.indexOf(this.#t.lastFocusedElement);if(-1!==ut){n.preventDefault(),n.stopPropagation();try{const Pt=function P(o,W,n,r){if(0===o.length)return null;const d=o.length;let D=W;do{D=(D+n+d)%d}while(!r(o[D])&&D!==W);return D===W?null:o[D]}(D,ut,"forward"===r?1:-1,Y);Pt&&Pt.focus()}finally{this.#t.lastFocusedElement=document.activeElement}}}callGetFocusBackAfterMenuChangeFromMenuService(){this.#t.getFocusBackAfterMenuChange()}forwardLastFocusedElementToMenuService(n){this.#t.lastFocusedElement=n}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275prov=i.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();const Lt=[[["","id","mailbox"]],[["","id","help"]],[["","id","extra-header-webcomp"]],[["","id","first-level-menu"]],[["","id","second-level-menu"]],[["","id","third-level-menu"]],[["","id","profile-menu"]],[["","id","logout-box"]],[["","id","contact-box"]]],Ye=["#mailbox","#help","#extra-header-webcomp","#first-level-menu","#second-level-menu","#third-level-menu","#profile-menu","#logout-box","#contact-box"],Je=o=>({"d-none":o}),Nt=o=>({"burger-menu-overlay__opened":o}),Ze=o=>({"burger-menu-container__opened":o});let zt=(()=>{class o{#t;#e;constructor(){this.#t=(0,i.WQX)(y.J),this.#e=(0,i.WQX)(_t),this.DataAutomationIds=H.K,this.isMenuOpened$=this.#t.getNavMenuExpandedObservable(),this.#e.forwardLastFocusedElementToMenuService(document.activeElement)}closeBurgerMenu(){this.#t.closeMenu()}handleKeyboardNavigationInMobileMenu(n){this.#e.forwardLastFocusedElementToMenuService(document.activeElement),this.#e.handleKeyboardNavigation(n)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-individual-burger-menu-template"]],hostBindings:function(r,d){1&r&&t.bIt("keydown",function(ut){return d.handleKeyboardNavigationInMobileMenu(ut)})},ngContentSelectors:Ye,decls:22,vars:26,consts:[[3,"cdkTrapFocus","cdkTrapFocusAutoCapture","ngClass"],[1,"burger-menu-overlay","kf-bg-grey-400","kf-d-xl-none",3,"click","ngClass"],["role","application",1,"burger-menu
1-container","kf-header-bg","kf-p-b-8",3,"ngClass"],[1,"burger-menu-header","kf-align-items-center"],["cdkFocusInitial","","mat-icon-button","",1,"burger-menu-header--close",3,"click","disableRipple"],["name","ic_clear_24"],["tabindex","-1",1,"burger-menu-content"]],template:function(r,d){1&r&&(t.NAR(Lt),t.j41(0,"div",0),t.nI1(1,"async"),t.nI1(2,"async"),t.nI1(3,"async"),t.j41(4,"div",1),t.nI1(5,"async"),t.bIt("click",function(){return d.closeBurgerMenu()}),t.k0s(),t.j41(6,"div",2),t.nI1(7,"async"),t.j41(8,"header",3)(9,"button",4),t.nI1(10,"translate"),t.bIt("click",function(){return d.closeBurgerMenu()}),t.nrm(11,"kf-icon",5),t.k0s(),t.SdG(12),t.SdG(13,1),t.SdG(14,2),t.k0s(),t.j41(15,"section",6),t.SdG(16,3),t.SdG(17,4),t.SdG(18,5),t.SdG(19,6),t.SdG(20,7),t.SdG(21,8),t.k0s()()()),2&r&&(t.Y8G("cdkTrapFocus",t.bMT(1,8,d.isMenuOpened$))("cdkTrapFocusAutoCapture",t.bMT(2,10,d.isMenuOpened$))("ngClass",t.eq3(20,Je,!1===t.bMT(3,12,d.isMenuOpened$))),t.R7$(4),t.Y8G("ngClass",t.eq3(22,Nt,t.bMT(5,14,d.isMenuOpened$))),t.R7$(2),t.Y8G("ngClass",t.eq3(24,Ze,t.bMT(7,16,d.isMenuOpened$))),t.R7$(3),t.Y8G("disableRipple",!0),t.BMQ("aria-label",t.bMT(10,18,"BURGER_MENU.ARIA.CLOSE_BUTTON"))("data-automation-id",d.DataAutomationIds.CLOSE_MOBILE_MENU_BUTTON))},dependencies:()=>[nt.kB,M.YU,ft.iY,T.KY,M.Jj,k.TranslatePipe],styles:[".burger-menu-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:998;opacity:0;visibility:hidden;transition:visibility 0ms ease-out .4s,opacity .4s ease-out}.burger-menu-overlay__opened[_ngcontent-%COMP%]{opacity:.6;visibility:visible;transition:visibility 0ms ease-out,opacity .4s ease-out}.burger-menu-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;width:100vw;max-width:344px;box-shadow:0 0 10px 7px var(--color-grey-400);transform:translate(-100%);transition:transform .4s ease-out,margin-left .4s ease-out;z-index:1001;background-color:var(--header-burger-menu-separator-background);visibility:hidden}.burger-menu-container__opened[_ngcontent-%COMP%]{visibility:visible;margin-left:0;transform:translate(0)}.burger-menu-container[_ngcontent-%COMP%] .burger-menu-header[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;background-color:var(--header-metanavigation-background);min-height:72px}.burger-menu-container[_ngcontent-%COMP%] .burger-menu-header[_ngcontent-%COMP%] .burger-menu-header--close[_ngcontent-%COMP%]{color:var(--header-metanavigation-text-color)}.burger-menu-container[_ngcontent-%COMP%] .burger-menu-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}"]})}}return o})(),Yt=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-brokerage-plus-title"]],decls:2,vars:0,consts:[[1,"sob-brokerage-plus-title-content"]],template:function(r,d){1&r&&(t.rj2(0,"div",0),t.EFF(1,"Brokerage plus"),t.eux())},styles:[".sob-brokerage-plus-title-content[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--header-metanavigation-text-color);font-family:var(--header-bank-name-font-family);font-size:16px;font-weight:700;line-height:100%;min-height:40px}@media(min-width:1200px){.sob-brokerage-plus-title-content[_ngcontent-%COMP%]{font-size:18px}}"]})}}return o})();var ue=e(9204),Jt=e(3305),le=e(4296),de=e(7571),qe=e(4205),me=e(3900),he=e(2914);const tn=o=>({entry:o});function Ot(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-burger-menu-item",3),t.bIt("goToMenuItem",function(d){i.eBV(n);const D=t.XpG(3);return i.Njj(D.openMenuEntry(d))}),t.k0s()}if(2&o){const n=W.$implicit,r=W.$index,d=W.$count,D=t.XpG(3);t.Y8G("hasMenuItemChildren",D.hasMenuItemChildren(n))("isLastMenuItem",r===d-1)("isMenuItemSelected",D.isChildMenuItemSelected(n))("menuItem",n)}}function Do(o,W){if(1&o&&(t.j41(0,"nav",0),t.Z7z(1,Ot,1,4,"sob-ui-burger-menu-item",2,t.Vm6),t.nI1(3,"visibleMenuEntries"),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.Dyx(t.bMT(3,0,n.activeMenuEntry.menuEntries))}}function Ao(o,W){if(1&o){const n=t.RV6();t.j41(0,"button",4),t.nI1(1,"translate"),t.bIt("click",function(){i.eBV(n);const d=t.XpG(2);return i.Njj(d.backToSecondLevelMenu())}),t.nrm(2,"kf-icon",5),t.EFF(3),t.k0s()}if(2&o){const n=t.XpG(2);t.Y8G("id",t.mNQ((null==n.activeMenuEntry?null:n.activeMenuEntry.menuText)+(null==n.activeMenuEntry?null:n.activeMenuEntry.key))),t.BMQ("data-automation-id",n.DataAutomationIds.META_NAV_LEVEL_2_BURGER_MENU)("aria-label",t.i5U(1,5,"BURGER_MENU.ARIA.PARENT_MENU",t.eq3(8,tn,null==n.activeMenuEntry?null:n.activeMenuEntry.menuText))),t.R7$(3),t.SpI(" ",null==n.activeMenuEntry?null:n.activeMenuEntry.menuText," ")}}function Bo(o,W){if(1&o&&t.nVh(0,Do,4,2,"nav",0)(1,Ao,4,10,"button",1),2&o){const n=t.XpG();t.vxM(n.isSecondLevelMenuActive?0:n.isThirdLevelMenuActive?1:-1)}}let Zt=(()=>{class o{constructor(){this.#t=(0,i.WQX)(le.J),this.#e=null,this.#n=(0,i.WQX)(ot),this.#o=(0,i.WQX)(y.J),this.#i=(0,i.WQX)(x.lJ).portalContext.getNavigationService(),this.#r=new qe.B,this.#a=(0,i.WQX)(Jt.Ix),this.#s=(0,i.WQX)(de.P),this.DataAutomationIds=H.K}#t;#e;#n;#o;#i;#r;#a;#s;get activeMenuEntry(){return this.#n.activeMenu.entry}get isSecondLevelMenuActive(){return this.#n.isSecondLevelMenuActive}get isThirdLevelMenuActive(){return this.#n.isThirdLevelMenuActive}ngOnInit(){var n=this;this.#n.isSecondLevelMenuActive&&(this.#n.activeMenu$.pipe((0,me.Q)(this.#r)).subscribe(function(){var r=(0,ue.A)(function*(d){if(null===d.entry){const Mt=(yield n.#n.mainMenuEntries)?.filter(Pt=>"banking_start"==Pt.key.toLowerCase());if(!Mt||0==Mt.length)return void n.#t.warn("The list of menu entries with key banking_start was empty. This should not happen. Reselecting of initial menu entry aborted!");if(Mt.length>1){n.#t.warn("The list of menu entries with key banking_start had more than 1 entry. This should not happen. Reselecting of initial menu entry aborted! The entries were:");for(const Pt of Mt)n.#t.warn(JSON.stringify(Pt));return}n.#e=Mt[0],n.#n.changeActiveMenu({level:Q.SECOND_LEVEL,entry:n.#e})}});return function(d){return r.apply(this,arguments)}}()),this.#e=this.#n.activeMenu?.entry,this.#m(),this.#u())}#u(){var n=this;this.#s.localeChanges.pipe((0,me.Q)(this.#r)).subscribe((0,ue.A)(function*(){const r=yield n.#n.mainMenuEntries;n.#l(r),n.#c(r)}))}#l(n){this.#e&&(this.#e=n.find(r=>r.key===this.#e.key))}#c(n){if(!this.activeMenuEntry)return;const r=this.#d(n,d=>d.key===this.activeMenuEntry.key);r.selectedMenuItem&&(r.isThirdLevelEntry?this.openMenuEntry(r.selectedMenuItem):this.#n.changeActiveMenu({entry:r.selectedMenuItem,level:Q.SECOND_LEVEL}))}#d(n,r){const d={selectedMenuItem:null,isThirdLevelEntry:!1};d.selectedMenuItem=n.find(ut=>r(ut)),d.isThirdLevelEntry=!d.selectedMenuItem;let D=0;for(;!d.selectedMenuItem&&D<n.length;)d.selectedMenuItem=n[D]?.menuEntries?.find(ut=>r(ut)),D++;return D>0&&(d.isThirdLevelEntry=!!d.selectedMenuItem),d}
1#m(){const n=this.#a.url.split("#")[0].trim(),r=this.#n.activeMenu.entry?.menuEntries;if(!r||0===r.length)return;const d=this.#d(r,Mt=>n.endsWith(Mt.key.trim())&&"forward"!==Mt.keyType);if(!d.selectedMenuItem)return;const D=this.#h(d),ut=r.find(Mt=>Mt.key===D.key)??D;this.hasMenuItemChildren(ut)&&this.#f(ut)}#h(n){return n.isThirdLevelEntry&&"parentItem"in n.selectedMenuItem?n.selectedMenuItem.parentItem:n.selectedMenuItem}backToSecondLevelMenu(){this.#n.lastFocusedElement=document.activeElement;let n=this.#n.activeMenu?.entry;"parentItem"in n&&(n=n.parentItem),this.#n.changeActiveMenu({level:Q.SECOND_LEVEL,entry:n})}hasMenuItemChildren(n){return n.menuEntries?.filter(a.zN).length>0}isChildMenuItemSelected(n){return(0,a.gD)(n,this.#i.selectedItem)}openMenuEntry(n){this.#n.lastFocusedElement=document.activeElement,this.hasMenuItemChildren(n)?this.#f(n):(this.#i.navigate((0,a.qd)(n),(0,a.rZ)(n)),this.#o.closeMenu())}#f(n){this.#e={...this.#n.activeMenu.entry,pathParameter:n.pathParameter??this.#n.activeMenu.entry.pathParameter,queryParameter:n.queryParameter??this.#n.activeMenu.entry.queryParameter},this.#n.changeActiveMenu({level:Q.THIRD_LEVEL,entry:n})}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-individual-second-level-menu"]],decls:1,vars:1,consts:[["role","menu","aria-live","polite","aria-relevant","additions removals",1,"kf-position-relative","kf-m-t-16","kf-m-b-16","kf-border-top","kf-border-bottom","portal-menu-item-border-top","portal-menu-item-border-bottom","kf-header-bg"],["data-test-id","burger-menu-navigation-to-previous-menu-level-button","role","menuitem",1,"kf-d-flex","kf-align-items-center","kf-w-100","kf-header-color-act-text","kf-border-0","portal-back-to-second-level-menu-btn",3,"id"],[3,"hasMenuItemChildren","isLastMenuItem","isMenuItemSelected","menuItem"],[3,"goToMenuItem","hasMenuItemChildren","isLastMenuItem","isMenuItemSelected","menuItem"],["data-test-id","burger-menu-navigation-to-previous-menu-level-button","role","menuitem",1,"kf-d-flex","kf-align-items-center","kf-w-100","kf-header-color-act-text","kf-border-0","portal-back-to-second-level-menu-btn",3,"click","id"],["name","ic_chevron-left_24",1,"kf-m-r-8","pui-chevron-left"]],template:function(r,d){1&r&&t.nVh(0,Bo,2,1),2&r&&t.vxM(d.activeMenuEntry?0:-1)},dependencies:[he.BurgerMenuItemComponent,T.KY,k.TranslatePipe,a.o0],styles:[".portal-menu-item-border-top[_ngcontent-%COMP%]{border-top-color:var(--header-burger-menu-navigation-border-color)!important}.portal-menu-item-border-bottom[_ngcontent-%COMP%]{border-bottom-color:var(--header-burger-menu-navigation-border-color)!important}.portal-back-to-second-level-menu-btn[_ngcontent-%COMP%]{font-weight:var(--typography-headline-font-we
1ight);background-color:var(--header-burger-menu-entry-background);height:52px;border-bottom:solid 1px var(---header-burger-menu-navigation-border-color)!important;color:var(--header-burger-menu-navigation-text-color-active)}.portal-back-to-second-level-menu-btn[_ngcontent-%COMP%]:focus{outline:auto;outline-color:var(--options-focus-box-shadow-color)}.portal-back-to-second-level-menu-btn[_ngcontent-%COMP%]{margin-top:3px!important}"]})}}return o})();function Lo(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-burger-menu-item",2),t.nI1(1,"async"),t.bIt("goToMenuItem",function(d){i.eBV(n);const D=t.XpG(2);return i.Njj(D.openThirdLevelMenuEntry(d))}),t.k0s()}if(2&o){const n=W.$implicit,r=W.$index,d=W.$count,D=t.XpG(2);t.Y8G("isLastMenuItem",r===d-1)("isMenuItemSelected",D.isActive(n,t.bMT(1,3,D.selectedEntry)))("menuItem",n)}}function en(o,W){if(1&o&&(t.j41(0,"nav",0),t.Z7z(1,Lo,2,5,"sob-ui-burger-menu-item",1,t.Vm6),t.nI1(3,"visibleMenuEntries"),t.k0s()),2&o){const n=t.XpG();t.R7$(),t.Dyx(t.bMT(3,0,n.menuEntriesOfActiveMenu))}}let pe=(()=>{class o{#t=(0,i.WQX)(ot);#e=(0,i.WQX)(y.J);#n=(0,i.WQX)(x.lJ).portalContext.getNavigationService();get isThirdLevelMenuActive(){return this.#t.isThirdLevelMenuActive}get menuEntriesOfActiveMenu(){return this.#t.activeMenu.entry?.menuEntries}isActive(n,r){return(0,a.gD)(n,r)}constructor(){this.selectedEntry=this.#n.selectedPath$.pipe((0,K.T)(n=>n.at(-1)),(0,K.T)(n=>n))}openThirdLevelMenuEntry(n){this.#n.navigate((0,a.qd)(n),(0,a.rZ)(n)),this.#e.closeMenu()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-individual-third-level-menu"]],decls:1,vars:1,consts:[["role","menu","aria-live","polite","aria-relevant","additions removals",1,"kf-position-relative","kf-m-t-16","kf-m-b-16","kf-border-top","kf-border-bottom","portal-menu-item-border-top","portal-menu-item-border-bottom","kf-header-bg"],[3,"isLastMenuItem","isMenuItemSelected","menuItem"],[3,"goToMenuItem","isLastMenuItem","isMenuItemSelected","menuItem"]],template:function(r,d){1&r&&t.nVh(0,en,4,2,"nav",0),2&r&&t.vxM(d.isThirdLevelMenuActive?0:-1)},dependencies:[he.BurgerMenuItemComponent,M.Jj,a.o0],styles:[".portal-menu-item-border-top[_ngcontent-%COMP%]{border-top-color:var(--header-burger-menu-navigation-border-color)!important}.portal-menu-item-border-bottom[_ngcontent-%COMP%]{border-bottom-color:var(--header-burger-menu-navigation-border-color)!important}"]})}}return o})();var fe=e(9599);function No(o,W){1&o&&t.nrm(0,"wpdepot-sessiontan-action-wcomp",1)}let nn=(()=>{class o{constructor(){const n=(0,i.WQX)(x.lJ).portalContext.getNavigationService();this.sessionTanWebCompURL=`${n.getPortalBasePath()}${f.S.SESSION_TAN_PATH}`}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-session-tan"]],decls:1,vars:1,consts:[["data-test-id","session-tan-webcomp",4,"axLazyElement"],["data-test-id","session-tan-webcomp"]],template:function(r,d){1&r&&t.DNE(0,No,1,0,"wpdepot-sessiontan-action-wcomp",0),2&r&&t.Y8G("axLazyElement",d.sessionTanWebCompURL)},dependencies:[g.sO],encapsulation:2})}}return o})();var Ut=e(2535),Dt=e(5285);let on=(()=>{class o{#t;constructor(n){this.DataAutomationIds=H.K,this.#t=n}closeMenu(){this.#t.closeMenu()}static{this.\u0275fac=function(r){return new(r||o)(t.rXU(y.J))}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-brokerage-plus-burger-menu"]],decls:11,vars:7,consts:[["id","extra-header-webcomp",1,"sob-brokerage-plus-title","kf-w-100","kf-d-flex","kf-p-r-16","kf-flex-column","kf-align-items-end"],["id","second-level-menu"],["id","third-level-menu","role","menu"],["id","profile-menu","tabindex","0",1,"kf-align-self-center","portal-countdown"],[1,"portal-countdown-counter",3,"screenReaderLabelOutput"],["id","logout-box-session-tan",1,"kf-align-self-center","w-75","kf-m-t-16","kf-p-l-r-16",3,"click","keyup"],["id","logout-box",1,"kf-align-self-center","w-75","kf-m-t-16","kf-p-l-r-16",3,"hasBorder","showTextOnSmallScreens"],["id","contact-box"]],template:function(r,d){1&r&&(t.j41(0,"sob-individual-burger-menu-template"),t.nrm(1,"sob-brokerage-plus-title",0)(2,"sob-individual-second-level-menu",1)(3,"sob-individual-third-level-menu",2),t.j41(4,"div",3),t.EFF(5),t.nI1(6,"translate"),t.j41(7,"sob-ui-countdown",4),t.bIt("screenReaderLabelOutput",function(ut){return d.logoutTimerScreenReaderLabel=ut}),t.k0s()(),t.j41(8,"sob-session-tan",5),t.bIt("click",function(){return d.closeMenu()})("keyup",function(){return d.closeMenu()}),t.k0s(),t.nrm(9,"sob-ui-logout-button",6)(10,"sob-ui-burgermenu-contactbox",7),t.k0s()),2&r&&(t.R7$(4),t.BMQ("aria-label",d.logoutTimerScreenReaderLabel),t.R7$(),t.SpI(" ",t.bMT(6,5,"LOGOUT_WARNING.LOGOUT_IN"),"\xa0 "),t.R7$(4),t.Y8G("hasBorder",!0)("showTextOnSmallScreens",!0),t.BMQ("data-automation-id",d.DataAutomationIds.LOGOUT_BUTTON_BURGER_MENU))},dependencies:[zt,Yt,Zt,pe,fe.N,nn,Ut.m,Dt.BurgerMenuContactBoxComponent,k.TranslatePipe],styles:[".portal-countdown[_ngcontent-%COMP%]{font-weight:400;font-size:13px;color:var(--header-bank-subnavigation-text-color)}.portal-countdown-counter[_ngcontent-%COMP%]{color:var(--color-primary)}"]})}}return o}
1)();var ge=e(9751),rn=e(6625),ve=e(9898),Gt=e(778);const an=()=>({afterLoginProcess:!0});function sn(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-web-component-menu-entry",2),t.nI1(1,"async"),t.nI1(2,"sobMatchesMenuEntry"),t.nI1(3,"async"),t.nI1(4,"sobMatchesMenuEntry"),t.bIt("click",function(){i.eBV(n);const d=t.XpG(),D=t.XpG();return i.Njj(D.onContainerItemClicked(d))})("keyup",function(d){i.eBV(n);const D=t.XpG(),ut=t.XpG();return i.Njj(ut.onContainerItemKeyUp(d,D))}),t.k0s()}if(2&o){const n=t.XpG(),r=t.XpG();t.AVh("active",t.i5U(2,9,t.bMT(1,7,r.selectedPath$),n)),t.Y8G("activeEntry",t.i5U(4,14,t.bMT(3,12,r.selectedPath$),n))("sobFirstGroupOfMobileMenu",!0)("menuEntry",n),t.BMQ("aria-label",n.menuText)("data-automation-id",n.menuText)}}function cn(o,W){1&o&&t.DNE(0,sn,5,17,"sob-ui-web-component-menu-entry",1),2&o&&t.Y8G("sobRemoveInRestrictedMode",t.lJ4(1,an))}let be=(()=>{class o{#t;constructor(){this.menuKey=(0,_.hFB)(void 0),this.navigationService=(0,i.WQX)(x.lJ).portalContext.getNavigationService(),this.#t=(0,i.WQX)(y.J),this.selectedPath$=this.navigationService.selectedPath$}ngOnInit(){this.containerElement$=this.navigationService.navigation$.pipe((0,E.p)(Boolean),(0,K.T)(n=>n.menus.find(r=>"right-header-bar"===r.name)),(0,E.p)(Boolean),(0,K.T)(n=>n.menuEntries),(0,K.T)(n=>n.find(r=>r.key===this.menuKey())),(0,Gt.U)(void 0)),console.log("init of individual mailbox")}onContainerItemClicked(n){["question-mark","dev/widget"].includes(n.key)||this.#t.closeMenu()}onContainerItemKeyUp(n,r){("Enter"==n.key||" "==n.key)&&this.onContainerItemClicked(r)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-individual-header-menu-entry"]],inputs:{menuKey:[1,"menuKey"]},decls:2,vars:3,consts:[["data-test","container-element",1,"header-bar-comp-btn","webcomp-margin",3,"active","activeEntry","sobFirstGroupOfMobileMenu","menuEntry"],["class","header-bar-comp-btn webcomp-margin","data-test","container-element",3,"active","activeEntry","sobFirstGroupOfMobileMenu","menuEntry","click","keyup",4,"sobRemoveInRestrictedMode"],["data-test","container-element",1,"header-bar-comp-btn","webcomp-margin",3,"click","keyup","activeEntry","sobFirstGroupOfMobileMenu","menuEntry"]],template:function(r,d){if(1&r&&(t.nVh(0,cn,1,2,"sob-ui-web-component-menu-entry",0),t.nI1(1,"async")),2&r){let D;t.vxM((D=t.bMT(1,1,d.containerElement$))?0:-1,D)}},dependencies:[a.rb,ge._,rn.f,M.Jj,ve.n],styles:['.header-bar-comp-btn[_ngcontent-%COMP%]{position:relative}.header-bar-comp-btn.active[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;right:0;background:var(--header-metanavigation-active-emphasis-color);height:3px;border-radius:2px;margin-bottom:2px}.header-bar-comp-btn[_ngcontent-%COMP%]:hover{background-color:var(--header-metanavigation-background-hover)}.webcomp-margin[_ngcontent-%COMP%]{margin:0 8px}']})}}return o})();var jt=e(9074),qt=e(6191),te=e(2046);const un=o=>({entry:o}),ln=(o,W)=>({"portal-menu-icon-color":o,"kf-header-color-text":W});function dn(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-burger-menu-meta-menu-item",3),t.bIt("openMenuItem",function(){const d=i.eBV(n).$implicit,D=t.XpG(2);return i.Njj(D.openSecondLevelMenuEntry(d))}),t.k0s()}if(2&o){const n=W.$implicit,r=W.$index,d=W.$count,D=t.XpG(2);t.Y8G("activeMetaMenuItemKey",D.getMenuItemIdentifier(n))("isLastMetaMenuItem",r===d-1)("metaMenuItem",n)}}function mn(o,W){if(1&o&&(t.j41(0,"nav",0),t.Z7z(1,dn,1,3,"sob-ui-burger-menu-meta-menu-item",2,t.Vm6),t.nI1(3,"visibleMenuEntries"),t.k0s()),2&o){const n=t.XpG();t.BMQ("data-automation-id",n.DataAutomationIds.META_NAV_BURGER_MENU),t.R7$(),t.Dyx(t.bMT(3,1,n.menuEntries))}}function hn(o,W){if(1&o){const n=t.RV6();t.j41(0,"button",4),t.nI1(1,"translate"),t.bIt("click",function(){i.eBV(n);const d=t.XpG();return i.Njj(d.backToFirstLevelMenu())}),t.nrm(2,"kf-icon",5)(3,"sob-portal-menu-icon",6),t.j41(4,"span",7),t.EFF(5),t.k0s()()}if(2&o){const n=t.XpG();t.BMQ("data-automation-id",n.DataAutomationIds.META_NAV_LEVEL_1_BURGER_MENU)("aria-label",t.i5U(1,6,"BURGER_MENU.ARIA.MAIN_MENU",t.eq3(9,un,null==n.firstLevelMenuItem||null==n.firstLevelMenuItem.entry?null:n.firstLevelMenuItem.entry.menuText))),t.R7$(3),t.Y8G("ngClass",t.l_i(11,ln,null==n.firstLevelMenuItem?null:n.firstLevelMenuItem.active,!(null!=n.firstLevelMenuItem&&n.firstLevelMenuItem.active)))("mobile",!0)("menuEntry",null==n.firstLevelMenuItem?null:n.firstLevelMenuItem.entry),t.R7$(2),t.SpI(" ",null==n.firstLevelMenuItem||null==n.firstLevelMenuItem.entry?null:n.firstLevelMenuItem.entry.menuText," ")}}let Ee=(()=>{class o{#t;#e;#n;#o;#i;get firstLevelMenuItem(){return this.#t}get isFirstLevelMenuActive(){return this.#n.isFirstLevelMenuActive}get menuEntries(){return this.#e}constructor(){this.#n=(0,i.WQX)(ot),this.#i=(0,i.WQX)(x.lJ),this.DataAutomationIds=H.K,this.#o=this.#i.portalContext.getNavigationService(),this.#n.subscribeToMainMenuEntries().pipe((0,jt.pQ)()).subscribe(n=>{this.#e=[...n];const r=this.#n.activeMenu?.entry;if(r){const d=this.#e.find(D=>D.key.trim()===r.key.trim());if(d)return void this.openSecondLevelMenuEntry(d);for(const D of this.#e){const ut=D.menuEntries.find(Mt=>Mt.key.trim()===r.key.trim());if(ut)return void this.#r(Q.THIRD_LEVEL,ut)}}}),this.#n.activeMenu$.pipe((0,jt.pQ)()).subscribe(n=>{this.#n.isFirstLevelMenuActive||(n.entry?this.#t=this.#a(n):this.#n.changeActiveMenu({level:Q.FIRST_LEVEL,entry:null})),this.#n.getFocusBackAfterMenuChange()})}#r(n,r){this.#n.lastFocusedElement=document.activeElement,this.#n.changeActiveMenu({level:n,entry:r})}#a(n){const{parentMenuItem:r}=this.#n.findChildMenuItemAndItsParentMenuItem(this.#e,n.entry?.key),{childMenuItem:d}=this.#n.findChildMenuItemAndItsParentMenuItem(r.menuEntries,this.#o.activeSection?.key);return{active:!!d,entry:r}}backToFirstLevelMenu(){this.#n.lastFocusedElement=document.activeElement,this.#n.changeActiveMenu({level:Q.FIRST_LEVEL,entry:void 0})}openSecondLevelMenuEntry(n){this.#r(Q.SECOND_LEVEL,n)}getMenuItemIdentifier(n){return(0,a.F9)(n)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-individual-first-level-menu"]],decls:2,vars:1,consts:[["role","menu","aria-live","polite","aria-relevant","additions removals",1,"kf-m-t-4","kf-m-b-16","kf-border-bottom","kf-header-bg"],["data-test-id","burger-menu
1-navigation-to-first-menu-level-button","role","menuitem",1,"portal-mobile-first-menu-level-open-btn","kf-d-flex","kf-align-items-center","kf-flex-shrink-0","kf-w-100","kf-p-l-8","kf-p-r-16","kf-text-decoration-none","kf-header-color-text","kf-header-color-act-text","kf-border-top","kf-border-bottom","portal-reset-btn-styles"],[3,"activeMetaMenuItemKey","isLastMetaMenuItem","metaMenuItem"],[3,"openMenuItem","activeMetaMenuItemKey","isLastMetaMenuItem","metaMenuItem"],["data-test-id","burger-menu-navigation-to-first-menu-level-button","role","menuitem",1,"portal-mobile-first-menu-level-open-btn","kf-d-flex","kf-align-items-center","kf-flex-shrink-0","kf-w-100","kf-p-l-8","kf-p-r-16","kf-text-decoration-none","kf-header-color-text","kf-header-color-act-text","kf-border-top","kf-border-bottom","portal-reset-btn-styles",3,"click"],["name","ic_chevron-left_24",1,"kf-flex-shrink-0","kf-m-r-4","portal-menu-icon-color"],[1,"kf-flex-shrink-0","kf-m-r-16",3,"ngClass","mobile","menuEntry"],[1,"mat-body-2","portal-text-color"]],template:function(r,d){1&r&&t.nVh(0,mn,4,3,"nav",0)(1,hn,6,14,"button",1),2&r&&t.vxM(d.isFirstLevelMenuActive?0:1)},dependencies:[te.BurgerMenuMetaMenuItemComponent,T.KY,qt.I,M.YU,k.TranslatePipe,a.o0],styles:[".portal-mobile-first-menu-level-open-btn[_ngcontent-%COMP%]{color:var(--header-burger-menu-navigation-text-color-active);border-top-color:transparent;border-bottom-color:var(--header-burger-menu-navigation-border-color)!important;height:60px;background-color:var(--header-burger-menu-entry-background)!important}.portal-mobile-first-menu-level-open-btn[_ngcontent-%COMP%]:focus{outline:auto;outline-color:var(--options-focus-box-shadow-color)}.portal-mobile-first-menu-level-open-btn[_ngcontent-%COMP%]{margin-top:3px!important}.portal-menu-icon-color[_ngcontent-%COMP%]{color:var(--header-burger-menu-icon-color)}.portal-text-color[_ngcontent-%COMP%]{color:var(--header-burger-menu-user-text-color)!important}.portal-reset-btn-styles[_ngcontent-%COMP%]{padding:0;margin:1px 0;border:none;background:none;box-sizing:border-box;text-align:left}.portal-reset-btn-styles[_ngcontent-%COMP%]:focus{outline:auto;outline-color:var(--options-focus-box-shadow-color)}"]})}}return o})();var Me=e(353),_e=e(5682),Ce=e(8764);let pn=(()=>{class o{#t;#e;#n;#o;get activeProfileMenuEntryIndex(){return this.#t}get userMenuEntries(){return this.#e}set userMenuEntries(n){this.#e=n,this.isUserMenuEntriesAndSelectedItemData&&this.updateProfileMenuActiveItemNumber()}get isUserMenuEntriesAndSelectedItemData(){return!!(this.userMenuEntries&&this.userMenuEntries.length&&this.#o)}constructor(){const n=(0,i.WQX)(x.lJ).portalContext;this.#n=n.getNavigationService(),this.#n?.selectedPath$?.subscribe(r=>{r.length>0&&(this.#i(r),this.updateProfileMenuActiveItemNumber())}),this.#n.navigation$.pipe((0,Ce.M)(r=>{this.isCustomer=!!r.menus.find(d=>"kontaktBoxMenu"===d.name)}),this.#r(this.#a),this.#r(r=>r.menuEntries),this.#r(this.#s),this.#r(r=>r.menuEntries),(0,E.p)(Boolean),(0,Gt.U)([])).subscribe(r=>{this.userMenuEntries=r})}updateProfileMenuActiveItemNumber(){this.isUserMenuEntriesAndSelectedItemData&&(this.#t=this.userMenuEntries.findIndex(n=>n.key===this.#o||n.menuEntries&&n.menuEntries.some(r=>r.key===this.#o))+1)}#i(n){this.#o=n[n.length-1].key}#r(n){return(0,_e.F)((0,E.p)(Boolean),(0,K.T)(n))}#a(n){return n.menus.find(r=>"right-header-bar"===r.name)}#s(n){return n.find(r=>r.portalComponent&&"profile"===r.portalComponent)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275prov=i.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();const ye=["userMenu"],Uo=(o,W,n,r)=>({"mt-3px":o,"mb-3px":W,"kf-header-color-text":n,"kf-header-color-text-active":r});function fn(o,W){if(1&o&&(t.j41(0,"section",2),t.nrm(1,"kf-icon",3),t.j41(2,"div")(3,"span",4),t.EFF(4),t.k0s(),t.j41(5,"div",5)(6,"span",6),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.nrm(9,"sob-ui-countdown"),t.k0s()()()),2&o){const n=t.XpG();t.R7$(3),t.BMQ("data-automation-id",n.DataAutomationIds.PROFILE_MENU_SMALL_USERNAME),t.R7$(),t.SpI(" ",n.userName," "),t.R7$(3),t.SpI("",t.bMT(8,3,"LOGOUT_WARNING.LOGOUT_IN"),"\xa0")}}function gn(o,W){if(1&o){const n=t.RV6();t.j41(0,"button",16,1),t.bIt("click",function(d){const D=i.eBV(n).$implicit,ut=t.XpG
1(2);return i.Njj(ut.onClickMenuItem(d,D))}),t.EFF(2),t.k0s()}if(2&o){const n=W.$implicit,r=W.$index,d=W.$count,D=t.XpG(2);t.Y8G("id",t.mNQ(n.menuText+n.key))("ngClass",t.ziG(6,Uo,0===r,r===d-1,D.profileMenuService.activeProfileMenuEntryIndex!==r+1,D.profileMenuService.activeProfileMenuEntryIndex===r+1)),t.BMQ("aria-current",D.profileMenuService.activeProfileMenuEntryIndex===r+1)("aria-label",D.getAriaLabelForMenuEntry(n.menuText)),t.R7$(2),t.SpI(" ",n.menuText," ")}}function vn(o,W){if(1&o&&t.nrm(0,"div",17),2&o){const n=t.XpG(2);t.xc7("top",48*(n.profileMenuService.activeProfileMenuEntryIndex-1)+12,"px")}}function Te(o,W){if(1&o){const n=t.RV6();t.j41(0,"button",7),t.bIt("click",function(d){return i.eBV(n),t.XpG().toggleProfileMenu(d),i.Njj(d.preventDefault())}),t.j41(1,"div",8),t.nrm(2,"kf-icon",3),t.j41(3,"div")(4,"span",9),t.EFF(5),t.k0s(),t.j41(6,"div",10),t.EFF(7),t.k0s(),t.j41(8,"div",5)(9,"span",6),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.nrm(12,"sob-ui-countdown",11),t.k0s()(),t.nrm(13,"kf-icon",12),t.k0s()(),t.j41(14,"mat-expansion-panel",13,0),t.bIt("opened",function(){i.eBV(n);const d=t.XpG();return i.Njj(d.changeLogoutButtonVisibility(!1))})("closed",function(){i.eBV(n);const d=t.XpG();return i.Njj(d.changeLogoutButtonVisibility(!0))}),t.Z7z(16,gn,3,11,"button",14,t.Vm6),t.nVh(18,vn,1,2,"div",15),t.k0s()}if(2&o){const n=t.sdS(15),r=t.XpG();t.AVh("opened",!!n.expanded),t.BMQ("aria-expanded",!!n.expanded)("aria-label",r.profilemenuButtonScreenReaderText),t.R7$(5),t.JRh(r.profilemenuButtonScreenReaderText),t.R7$(),t.BMQ("data-automation-id",r.DataAutomationIds.PROFILE_MENU_FULL_USERNAME),t.R7$(),t.SpI(" ",r.userName," "),t.R7$(3),t.SpI("",t.bMT(11,11,"LOGOUT_WARNING.LOGOUT_IN"),"\xa0 "),t.R7$(2),t.BMQ("data-automation-id",r.DataAutomationIds.LOGOUT_TIMER_BURGER_MENU),t.R7$(2),t.Y8G("expanded",!!r.profileMenuService.activeProfileMenuEntryIndex),t.R7$(2),t.Dyx(r.profileMenuService.userMenuEntries),t.R7$(2),t.vxM(r.profileMenuService.activeProfileMenuEntryIndex?18:-1)}}let Ie=(()=>{class o{#t;#e;#n;#o;constructor(){this.topLogoutButtonIsVisible=!0,this.#e=(0,i.WQX)(y.J),this.#n=(0,i.WQX)(k.c$),this.profileMenuService=(0,i.WQX)(pn),this.DataAutomationIds=H.K;const n=(0,i.WQX)(x.lJ).portalContext,r=n.getSecurityService();this.userName=r.getUserDisplayName(),this.#t=n.getNavigationService(),this.#o=n.getLoggingService()}ngOnInit(){const n=this.#n.instant("PROFILE_MENU.BUTTON_SCREEN_READER_PREFIX_TEXT"),r=this.#n.instant("PROFILE_MENU.BUTTON_SCREEN_READER_POSTFIX_TEXT");this.profilemenuButtonScreenReaderText=`${n} ${this.userName} ${r}`}toggleProfileMenu(n){n.preventDefault(),this.profileMenu.toggle()}onClickMenuItem(n,r){n.preventDefault();const d=(0,a.TT)(r);d?(this.#t.navigate((0,a.qd)(d),(0,a.rZ)(d)),this.#e.closeMenu()):this.#o.warn(`No navigatable route found for menu entry: ${r.key}`)}changeLogoutButtonVisibility(n){this.topLogoutButtonIsVisible=n}getAriaLabelForMenuEntry(n){return n+" link"}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-individual-profile-menu"]],viewQuery:function(r,d){if(1&r&&t.GBs(ye,5),2&r){let D;t.mGM(D=t.lsd())&&(d.profileMenu=D.first)}},decls:2,vars:1,consts:[["userMenu",""],["userMenuLink",""],["tabindex","-1","role","menuItem",1,"kf-m-t-16","kf-m-l-16","kf-d-flex","kf-w-100"],["name","ic_person-mit-kreis_24",1,"kf-m-t-b-auto","pt-text-color-active","kf-m-r-16"],[1,"kf-d-flex","kf-w-100","line-height-16","pt-user-text-color"],[1,"pt-logout-text"],["aria-hidden","true"],["role","menuitem",1,"kf-w-100","kf-d-block","profile-menu-button","new-header-font","kf-p-b-16",3,"click"],[1,"kf-d-flex","kf-w-100","line-height-16","kf-m-t-16"],[1,"cdk-visually-hidden"],["aria-hidden","true",1,"kf-text-left","new-header-font"],[1,"sob-ui-countdown-color"],["name","ic_chevron-down_24",1,"arrow-icon","kf-flex-shrink-0","kf-m-t-b-auto","pt-menu-icon-color"],["data-automation-id","profile-menu-burger-menu",1,"kf-position-relative","mat-elevation-z",3,"opened","closed","expanded"],["href","#","role","menuitem",1,"profile-menu-button","profile-menu-entry-button",3,"ngClass","id"],[1,"active-line","kf-header-bg-accent",3,"top"],["href","#","role","menuitem",1,"profile-menu-button","profile-menu-entry-button",3,"click","ngClass","id"],[1,"active-line","kf-header-bg-accent"]],template:function(r,d){1&r&&t.nVh(0,fn,10,5,"section",2)(1,Te,19,13),2&r&&t.vxM(d.profileMenuService.userMenuEntries?1:0)}
1,dependencies:[T.KY,fe.N,Me.GK,M.YU,k.TranslatePipe],styles:["@media screen and (min-width:600px){[_nghost-%COMP%]{display:none}}[_nghost-%COMP%]{background-color:var(--header-bank-background);border-top:1px solid var(--header-bank-border-color);flex-grow:1}.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--header-metanavigation-focus-box-shadow)!important}.profile-menu-button[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0 16px;text-decoration:none;background:transparent;border:none}.profile-menu-button.opened[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}.profile-menu-button[_ngcontent-%COMP%]:focus-visible{outline:auto;outline-color:var(--options-focus-box-shadow-color)}.pt-user-text-color[_ngcontent-%COMP%]{color:var(--color-foreground-text)!important;font-size:16px}.pt-logout-text[_ngcontent-%COMP%]{font-weight:400;font-size:13px;color:var(--header-bank-subnavigation-text-color)}.sob-ui-countdown-color[_ngcontent-%COMP%]{color:var(--header-bank-text-color)}.line-height-16[_ngcontent-%COMP%]{line-height:16px}.pt-mobile-user-m-btn-arrow[_ngcontent-%COMP%]{transition:transform .3s ease-out}.profile-menu-entry-button[_ngcontent-%COMP%]{color:var(--header-bank-subnavigation-text-color);border-bottom:1px solid var(--header-burger-menu-navigation-border-color);font-size:16px;letter-spacing:0;line-height:24px;font-weight:400;height:48px}.profile-menu-entry-button[_ngcontent-%COMP%], .profile-menu-button[_ngcontent-%COMP%]{width:100%}.arrow-icon[_ngcontent-%COMP%]{margin-left:auto;transition:transform .3s ease-out;color:var(--header-burger-menu-icon-color)}.new-header-icon-color[_ngcontent-%COMP%]{color:var(--header-burger-menu-icon-color)}.new-header-font[_ngcontent-%COMP%]{font-weight:700;font-size:16px;letter-spacing:0;line-height:24px;color:var(--header-burger-menu-navigation-text-color-active)}.new-header[_ngcontent-%COMP%], .icon-color[_ngcontent-%COMP%]{color:var(--header-burger-menu-navigation-text-color-active)}.active-line[_ngcontent-%COMP%]{position:absolute;left:0;width:3px;height:24px;transition:top .1s ease-out}[_nghost-%COMP%] .mat-expansion-panel-body{padding:0!important}.kf-header-color-text-active[_ngcontent-%COMP%]{font-weight:var(--mdc-typography-body1-font-weight)}.mt-3px[_ngcontent-%COMP%]{margin-top:3px!important}.mb-3px[_ngcontent-%COMP%]{margin-bottom:3px!important}"]})}}return o})(),bn=(()=>{class o{constructor(){this.DataAutomationIds=H.K}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-default-burger-menu"]],decls:9,vars:5,consts:[["id","mailbox",3,"menuKey"],["id","help",3,"menuKey"],["id","first-level-menu"],["id","second-level-menu"],["id","third-level-menu"],["id","profile-menu"],["id","logout-box",1,"kf-d-flex","kf-justify-content-end","kf-m-t-16","kf-p-l-r-16",3,"hasBorder","showTextOnSmallScreens"],["id","contact-box"]],template:function(r,d){1&r&&(t.j41(0,"sob-individual-burger-menu-template"),t.nrm(1,"sob-individual-header-menu-entry",0)(2,"sob-individual-header-menu-entry",1)(3,"sob-individual-first-level-menu",2)(4,"sob-individual-second-level-menu",3)(5,"sob-individual-third-level-menu",4)(6,"sob-individual-profile-menu",5)(7,"sob-ui-logout-button",6)(8,"sob-ui-burgermenu-contactbox",7),t.k0s()),2&r&&(t.R7$(),t.Y8G("menuKey","postfach/menu"),t.R7$(),t.Y8G("menuKey","question-mark"),t.R7$(5),t.Y8G("hasBorder",!0)("showTextOnSmallScreens",!0),t.BMQ("data-automation-id",d.DataAutomationIds.LOGOUT_BUTTON_BURGER_MENU))},dependencies:[zt,be,Ee,Zt,pe,Ie,Ut.m,Dt.BurgerMenuContactBoxComponent],encapsulation:2})}}return o})(),Pe=(()=>{class o{constructor(){this.DataAutomationIds=H.K}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-dz-bank-burger-menu"]],decls:9,vars:5,consts:[["id","mailbox",3,"menuKey"],["id","help",3,"menuKey"],["id","first-level-menu"],["id","second-level-menu"],["id","third-level-menu"],["id","profile-menu"],["id","logout-box",1,"kf-d-flex","kf-justify-content-end","kf-m-t-16","kf-p-l-r-16",3,"hasBorder","showTextOnSmallScreens"],["id","contact-box"]],template:function(r,d){1&r&&(t.j41(0,"sob-individual-burger-menu
1-template"),t.nrm(1,"sob-individual-header-menu-entry",0)(2,"sob-individual-header-menu-entry",1)(3,"sob-individual-first-level-menu",2)(4,"sob-individual-second-level-menu",3)(5,"sob-individual-third-level-menu",4)(6,"sob-individual-profile-menu",5)(7,"sob-ui-logout-button",6)(8,"sob-ui-burgermenu-contactbox",7),t.k0s()),2&r&&(t.R7$(),t.Y8G("menuKey","postfach/menu"),t.R7$(),t.Y8G("menuKey","question-mark"),t.R7$(5),t.Y8G("hasBorder",!0)("showTextOnSmallScreens",!0),t.BMQ("data-automation-id",d.DataAutomationIds.LOGOUT_BUTTON_BURGER_MENU))},dependencies:[zt,be,Ee,Zt,pe,Ie,Ut.m,Dt.BurgerMenuContactBoxComponent],encapsulation:2})}}return o})();var At=function(o){return o.Default="default",o.DZBank="dzbank",o.BrokeragePlus="brokerageplus",o}(At||{});let xe=(()=>{class o{#t=(0,i.WQX)(a.wf);#e=(0,i.WQX)(s.J);#n(){const n=this.#e.relyingPartyClientId,r=Object.keys(At).find(d=>At[d]===n);return r?At[r]:this.#t.getValueOfFeatureToggle("individualBurgerMenuVariant")}getIndividualBurgerMenuVariant(){switch(this.#n()){case At.BrokeragePlus:return on;case At.DZBank:return Pe;default:return bn}}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275prov=i.jDH({token:o,factory:o.\u0275fac})}}return o})(),wt=(()=>{class o{#t=(0,i.WQX)(xe);#e=(0,i.WQX)(t.c1b);ngOnInit(){this.#e.clear();const n=this.#t.getIndividualBurgerMenuVariant();this.#e.createComponent(n)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-individual-burger-menu"]],features:[t.Jv_([xe])],decls:0,vars:0,template:function(r,d){},encapsulation:2})}}return o})();const En=()=>[e.e(398).then(e.bind(e,398)).then(o=>o.BurgermenuHeaderComponent),Promise.resolve().then(e.bind(e,2046)).then(o=>o.BurgerMenuMetaMenuItemComponent),e.e(12).then(e.bind(e,2012)).then(o=>o.BurgerMenuNavigationComponent),Promise.resolve().then(e.bind(e,2914)).then(o=>o.BurgerMenuItemComponent),e.e(392).then(e.bind(e,1392)).then(o=>o.BurgerMenuProfileMenu),Promise.resolve().then(e.bind(e,5285)).then(o=>o.BurgerMenuContactBoxComponent),Promise.resolve().then(e.bind(e,8503)).then(o=>o.TranslatePipe),a.o0],ee=o=>({"d-none":o});function Mn(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-burger-menu-meta-menu-item",10),t.bIt("openMenuItem",function(d){i.eBV(n);const D=t.XpG(4);return i.Njj(D.openMetaMenuItem(d))}),t.k0s()}if(2&o){const n=W.$implicit,r=W.$index,d=W.$count,D=t.XpG(4);t.Y8G("activeMetaMenuItemKey",D.getMetaMenuItemIdentifier())("isLastMetaMenuItem",r===d-1)("metaMenuItem",n)}}function Oe(o,W){if(1&o&&(t.j41(0,"nav",7),t.nI1(1,"translate"),t.Z7z(2,Mn,1,3,"sob-ui-burger-menu-meta-menu-item",9,t.Vm6),t.nI1(4,"visibleMenuEntries"),t.k0s()),2&o){let n;const r=t.XpG(3),d=t.r8f(0);t.BMQ("data-automation-id",r.DataAutomationIds.META_NAV_BURGER_MENU)("aria-label",t.bMT(1,3,"BURGER_MENU.NAVIGATION"))("aria-expanded",d),t.R7$(2),t.Dyx(t.bMT(4,5,null==(n=r.mainMenu())?null:n.menuEntries))}}function Se(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-burger-menu-item",14),t.bIt("goToMenuItem",function(d){i.eBV(n);const D=t.XpG(4);return i.Njj(D.selectChildMenuItem(d))}),t.k0s()}if(2&o){const n=W.$implicit,r=W.$index,d=W.$count,D=t.XpG(4);t.Y8G("hasMenuItemChildren",D.hasChildMenuItemChildren(n))("isLastMenuItem",r===d-1)("isMenuItemSelected",D.isChildMenuItemSelected(n))("menuItem",n)}}function _n(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-burger-menu-navigation",11),t.bIt("goToFirstMenuLevel",function(){i.eBV(n);const d=t.XpG(3);return i.Njj(d.backToMetaMenu())})("goToPreviousMenuLevel",function(d){i.eBV(n);const D=t.XpG(3);return i.Njj(D.selectParentMenuItem(d))}),t.k0s(),t.j41(1,"nav",12),t.Z7z(2,Se,1,4,"sob-ui-burger-menu-item",13,t.Vm6),t.nI1(4,"visibleMenuEntries"),t.k0s()}if(2&o){const n=t.XpG(3);t.Y8G("currentFirstLevelMenuItem",n.currentMetaMenuItem)("currentMenuItem",n.currentChildMenuItem)("isCurrentFirstLevelMenuItemActive",n.isCurrentMetaMenuItemActive),t.R7$(2),t.Dyx(t.bMT(4,3,null==n.currentChildMenuItem?null:n.currentChildMenuItem.menuEntries))}}function Cn(o,W){1&o&&t.nrm(0,"sob-ui-burgermenu-contactbox")}function Re(o,W){if(1&o&&(t.j41(0,"div",3)(1,"div",4),t.nrm(2,"sob-burgermenu-header"),t.j41(3,"div",5)(4,"div",6),t.nVh(5,Oe,5,7,"nav",7)(6,_n,5,5),t.nrm(7,"sob-ui-burgermenu-profilemenu",8),t.k0s(),t.nVh(8,Cn,1,0,"sob-ui-burgermenu-contactbox"),t.k0s()()()),2&o){const n=t.XpG(2),r=t.r8f(0);t.AVh("open",r),t.R7$(5),t.vxM(n.currentChildMenuItem?6:5),t.R7$(2),t.Y8G("profileMenuEntries",n.userMenuEntries)("profileMenuActiveItemNumber",n.activeProfileMenuEntryIndex),t.R7$(),t.vxM(n.isCu
1stomer?8:-1)}}function yn(o,W){if(1&o&&t.nVh(0,Re,9,6,"div",2),2&o){t.XpG();const n=t.r8f(0);t.vxM(n?0:-1)}}let ke=(()=>{class o{#t;#e;#n;#o;#i;#r;#a;#s;#u;#l;#c;#d;get currentChildMenuItem(){return this.#i}get currentMetaMenuItem(){return this.#r}set currentMetaMenuItem(n){this.#r=n}get isCurrentMetaMenuItemActive(){const n=this.#s?.[0];return!(!n||!this.currentMetaMenuItem)&&(0,a.gD)(n,this.currentMetaMenuItem)}get isUserMenuEntriesAndSelectedItemData(){return!!(this.userMenuEntries&&this.userMenuEntries.length&&this.#a)}get userMenuEntries(){return this.#d}set userMenuEntries(n){this.#d=n,this.isUserMenuEntriesAndSelectedItemData&&this.updateProfileMenuActiveItemNumber()}getMetaMenuItemIdentifier(){return(0,a.F9)(this.currentMetaMenuItem)}constructor(){this.mainMenu=(0,_.hFB)(),this.isCustomer=!1,this.#t=(0,i.WQX)(y.J),this.#e=(0,i.WQX)(x.lJ),this.#n=(0,i.WQX)(_t),this.#o=(0,i.WQX)(_.gRc),this.#c=[],this.DataAutomationIds=H.K,this.#n.forwardLastFocusedElementToMenuService(document.activeElement);const n=this.#e.portalContext;this.#l=n.getNavigationService(),this.#u=n.getDataExchangeService(),this.isMenuOpened$=this.#t.getNavMenuExpandedObservable(),(0,jt.br)(this.mainMenu).subscribe(()=>{this.#s&&this.#m(this.#s)})}ngOnInit(){this.#M(),this.#C(),this.#_()}ngOnDestroy(){this.#c.forEach(n=>n.unsubscribe())}updateProfileMenuActiveItemNumber(){this.isUserMenuEntriesAndSelectedItemData&&(this.activeProfileMenuEntryIndex=this.userMenuEntries.findIndex(n=>n.key===this.#a.key||n.menuEntries&&n.menuEntries.some(r=>r.key===this.#a.key))+1)}closeMenu(){this.#t.closeMenu()}#m(n){if(!n?.length||!this.mainMenu()?.menuEntries?.length)return this.#r=null,void(this.#i=null);const r=n[n.length-1];this.#a=r;const d=n[0],D=this.#h(this.mainMenu().menuEntries,d.key);if(!D)return this.#r=null,void(this.#i=null);this.#r=this.#f(D,d);const ut=this.#h(this.mainMenu().menuEntries,r.key);this.#i=ut?this.#f(ut,r):null}#h(n,r){for(const d of n){if(d.key===r)return d;if(d.menuEntries?.length){const D=this.#h(d.menuEntries,r);if(D)return D}}return null}#f(n,r){return n?{...n,pathParameter:r.pathParameter??n.pathParameter,queryParameter:r.queryParameter??n.queryParameter}:null}#g(n){return(0,_e.F)((0,E.p)(Boolean),(0,K.T)(n))}#v(n,r){let d=null,D=null;for(const ut of n){if(d=ut,(0,a.c9)(ut,r)){D={...ut};break}if(ut.menuEntries){const Mt=this.#v(ut.menuEntries,r);if(Mt.childMenuItem){D=Mt.childMenuItem;break}}}return{parentMenuItem:d,childMenuItem:D}}#b(n){return n.find(r=>r.portalComponent&&"profile"===r.portalComponent)}#p(n){return n.menus.find(r=>"right-header-bar"===r.name)}#E(n){this.#i=n?{...n}:null}#M(){this.#c.push(this.#l.navigation$.pipe((0,Ce.M)(n=>{this.isCustomer=!!n.menus.find(r=>"kontaktBoxMenu"===r.name)}),this.#g(this.#p),this.#g(n=>n.menuEntries),this.#g(this.#b),this.#g(n=>n.menuEntries),(0,E.p)(Boolean),(0,Gt.U)([])).subscribe(n=>{this.userMenuEntries=n}))}#C(){this.#c.push(this.#l?.selectedPath$?.subscribe(n=>{this.#s=n,n?.length>0&&(this.#m(n),this.updateProfileMenuActiveItemNumber())}))}#_(){this.#c.push(this.#u.observeOn("tour-guide-opened").subscribe(n=>{n&&this.#u.dispatch({selector:"tour-guide-opened",data:void 0})}))}backToMetaMenu(){this.#n.forwardLastFocusedElementToMenuService(document.activeElement),this.#i=null,this.#o.detectChanges(),this.#n.callGetFocusBackAfterMenuChangeFromMenuService()}isChildMenuItemSelected(n){return(0,a.gD)(this.#a,n)}hasChildMenuItemChildren(n){return"gvRoute"!==n.keyType&&n.menuEntries&&(n.menuEntries.length>1||1===n.menuEntries.length&&n.key!==n.menuEntries[0].key)}openMetaMenuItem(n){this.#n.forwardLastFocusedElementToMenuService(document.activeElement),this.#r={...n},this.#i={...n},this.#o.detectChanges(),this.#n.callGetFocusBackAfterMenuChangeFromMenuService()}selectParentMenuItem(n){this.#n.forwardLastFocusedElementToMenuService(document.activeElement);const{parentMenuItem:r}=this.#v(this.mainMenu().menuEntries,n);this.#i=r?{...r}:null,this.#o.detectChanges(),this.#n.callGetFocusBackAfterMenuChangeFromMenuService()}selectChildMenuItem(n){this.#n.forwardLastFocusedElementToMenuService(document.activeElement),this.hasChildMenuItemChildren(n)?(this.#E(n),this.#o.detectChanges(),this.#n.callGetFocusBackAfterMenuChangeFromMenuService()):(this.#l.navigate((0,a.qd)(n),(0,a.rZ)(n)),this.closeMenu())}handleKeyboardNavigationInMobileMenu(n){this.#n.forwardLastFocusedElementToMenuService(document.activeElement),this.#n.handleKeyboardNavigation(n)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-burger-menu"]],hostBindings:function(r,d){1&r&&t.bIt("keydown",function(ut){return d.handleKeyboardNavigationInMobileMenu(ut)})},inputs:{mainMenu:[1,"mainMenu"]},decls:7,vars:11,consts:[[3,"cdkTrapFocus","cdkTrapFocusAutoCapture","ngClass"],[1,"pt-mobile-menu-overlay","kf-bg-grey-400","kf-d-xl-none",3,"click"],["data-test-id","burger-menu
1-inner-container","role","application",1,"pt-mobile-menu","kf-header-bg","kf-d-xl-none",3,"open"],["data-test-id","burger-menu-inner-container","role","application",1,"pt-mobile-menu","kf-header-bg","kf-d-xl-none"],[1,"burger-menu-bg","kf-d-flex","kf-flex-column","kf-w-100","kf-h-100"],[1,"pt-mobile-menu-inner","kf-d-flex","kf-flex-column","kf-flex-grow-1"],[1,"kf-d-flex","kf-flex-column","kf-flex-grow-1","kf-flex-shrink-0"],["role","menu","aria-live","polite","aria-relevant","additions removals",1,"kf-m-t-4","kf-m-b-16","kf-border-bottom","kf-header-burger-menu-border-bottom","kf-header-bg"],[3,"profileMenuEntries","profileMenuActiveItemNumber"],[3,"activeMetaMenuItemKey","isLastMetaMenuItem","metaMenuItem"],[3,"openMenuItem","activeMetaMenuItemKey","isLastMetaMenuItem","metaMenuItem"],[3,"goToFirstMenuLevel","goToPreviousMenuLevel","currentFirstLevelMenuItem","currentMenuItem","isCurrentFirstLevelMenuItemActive"],[1,"kf-position-relative","kf-m-t-16","kf-m-b-16","kf-border-top","kf-border-bottom","pt-menu-item-border-top","pt-menu-item-border-bottom","kf-header-bg"],[3,"hasMenuItemChildren","isLastMenuItem","isMenuItemSelected","menuItem"],[3,"goToMenuItem","hasMenuItemChildren","isLastMenuItem","isMenuItemSelected","menuItem"]],template:function(r,d){if(1&r&&(t.SS7(0),t.nI1(1,"async"),t.j41(2,"div",0)(3,"div",1),t.bIt("click",function(){return d.closeMenu()}),t.k0s(),t.PeT(4,yn,1,1),t.nv$(5,4,En),t.k0s()),2&r){const D=t.bH3(t.bMT(1,6,d.isMenuOpened$));t.R7$(2),t.Y8G("cdkTrapFocus",D)("cdkTrapFocusAutoCapture",D)("ngClass",t.eq3(9,ee,!1===D)),t.R7$(),t.AVh("open",D),t.R7$(2),t.LVR(D)}},dependencies:[nt.kB,M.YU,M.Jj],styles:[".pt-mobile-menu-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1000;opacity:0;visibility:hidden;transition:visibility 0ms ease-out .4s,opacity .4s ease-out}.pt-mobile-menu-overlay.open[_ngcontent-%COMP%]{opacity:.6;visibility:visible;transition:visibility 0ms ease-out,opacity .4s ease-out}.pt-mobile-menu[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;width:100vw;max-width:344px;margin-left:-13px;box-shadow:0 0 10px 7px var(--color-grey-400);transform:translate(-100%);transition:transform .4s ease-out,margin-left .4s ease-out;z-index:1001}.pt-mobile-menu.open[_ngcontent-%COMP%]{margin-left:0;transform:translate(0)}.pt-mobile-menu-inner[_ngcontent-%COMP%]{height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--header-burger-menu-separator-background)}bar-container-v3[_ngcontent-%COMP%] .pt-header-user-b, bar-container-v3[_ngcontent-%COMP%] .pt-header-user-btn, bar-container[_ngcontent-%COMP%] .pt-header-user-b, bar-container[_ngcontent-%COMP%] .pt-header-user-btn{display:none!important}.pt-menu-item-border-top[_ngcontent-%COMP%]{border-top-color:var(--header-burger-menu-navigation-border-color)!important}.pt-menu-item-border-bottom[_ngcontent-%COMP%]{border-bottom-color:var(--header-burger-menu-navigation-border-color)!important}.pt-text-color[_ngcontent-%COMP%]{color:var(--header-burger-menu-navigation-text-color-active)!important}.pt-user-text-color[_ngcontent-%COMP%]{color:var(--header-burger-menu-user-text-color)!important}.pt-mobile-main-menu-i[_ngcontent-%COMP%]{height:52px}.pt-mobile-main-menu-ink-bar[_ngcontent-%COMP%], .pt-mobile-user-menu-ink-bar[_ngcontent-%COMP%]{position:absolute;left:0;width:3px;height:24px;transition:top .1s ease-out}.pt-mobile-main-menu-ink-bar[_ngcontent-%COMP%]{margin-top:14px}.pt-mobile-main-menu-ink-bar-color[_ngcontent-%COMP%]{background-color:var(--header-bank-subnavigation-active-emphasis-color)!important}.pt-mobile-user-menu-ink-bar[_ngcontent-%COMP%]{margin-top:12px}.burger-menu-bg[_ngcontent-%COMP%]{background-color:var(--header-burger-menu-entry-background)!important}.pt-mobile-user-m-btn[_ngcontent-%COMP%], .pt-mobile-user-menu-i[_ngcontent-%COMP%]{border-bottom:1px solid var(--header-burger-menu-navigation-border-color);height:48px}.pt-mobile-user-m-btn.opened[_ngcontent-%COMP%] .pt-mobile-user-m-btn-arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.pt-mobile-user-m-btn-arrow[_ngcontent-%COMP%]{transition:transform .3s ease-out}.kf-cursor-default[_ngcontent-%COMP%]{cursor:default}mat-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0!important}@media screen and (max-width:1199px){ .lock-page-scroll{position:fixed;overflow:hidden}}[_nghost-%COMP%] .pt-header-pf-btn, [_nghost-%COMP%] .pt-header-user-btn{position:relative}[_nghost-%COMP%] .pt-header-pf-btn.active:before, [_nghost-%COMP%] .pt-header-user-btn.active:before{transform:translateY(-28px)}[_nghost-%COMP%] .kf-header-color-text-active:active{color:var(--header-metanavigation-text-color-active)}"]}
1)}}return o})();var $t=e(722);let Bt=(()=>{class o{static{this.HEADER_BURGER_MENU_BUTTON="burger-button"}static{this.META_NAVIGATION="meta-navigation"}static{this.LOGOUT_COUNTER="logout-counter"}static{this.TOOLBAR_CONTAINER="toolbar-container"}static{this.BANK_NAME="bankname"}static{this.BANK_LOGO="banklogo"}}return o})(),De=(()=>{class o{static{this.CMS_COMPONENTS_PATH="webcomponents/cms-components/main.js"}}return o})();var Wt=e(1591);let ne=(()=>{class o{constructor(){this.#t=(0,i.WQX)(y.J),this.isExpanded$=this.#t.getNavMenuExpandedObservable(),this.DataAutomationIds=Bt}#t;onClickBurgerBtn(){this.#t.toggleMenu()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-burger-button"]],decls:5,vars:11,consts:[["mat-icon-button","","sobKfTourGuidePosition","above-right","sobKfTourGuideCategory","portal-header","sobKfTourGuideOrder","150",1,"kf-d-xl-none","burger-menu",3,"click","disableRipple","sobKfTourGuide","sobKfTourGuideTitle"],["name","ic_menue_liste_24","aria-hidden","true"]],template:function(r,d){1&r&&(t.j41(0,"button",0),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.bIt("click",function(){return d.onClickBurgerBtn()}),t.nrm(4,"kf-icon",1),t.k0s()),2&r&&(t.Y8G("disableRipple",!0)("sobKfTourGuide",t.bMT(1,5,"HEADER.TOUR_GUIDE.BURGER_MENU.DESCRIPTION"))("sobKfTourGuideTitle",t.bMT(2,7,"HEADER.TOUR_GUIDE.BURGER_MENU.TITLE")),t.BMQ("data-automation-id",d.DataAutomationIds.HEADER_BURGER_MENU_BUTTON)("aria-label",t.bMT(3,9,"HEADER.BURGER_MENU_BUTTON")))},dependencies:[ft.iY,Wt.o,T.KY,k.TranslatePipe],styles:[".burger-menu[_ngcontent-%COMP%]{color:var(--header-metanavigation-text-color)}@media screen and (max-width:599px){.burger-menu[_ngcontent-%COMP%]{color:var(--header-bank-text-color)}}.burger-menu.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--header-metanavigation-focus-box-shadow)}@media screen and (max-width:599px){.burger-menu.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--options-focus-box-shadow)}}@media screen and (max-width:599px){[_nghost-%COMP%] {margin-left:-12px}}@media screen and (min-width:600px)and (max-width:1200px){[_nghost-%COMP%] {margin-left:-8px}}[_nghost-%COMP%] .mat-icon-button:not([disabled]):hover .mat-button-focus-overlay{background-color:var(--header-metanavigation-background-hover);opacity:1}@media screen and (max-width:599px){[_nghost-%COMP%] .mat-icon-button:not([disabled]):hover .mat-button-focus-overlay{background-color:var(--color-primary);opacity:var(--options-button-hover-opacity, .05)}}"]})}}return o})(),Tn=(()=>{class o{transform(n,r,d){return"string"==typeof n&&"string"==typeof r&&"string"==typeof d?n.replace(new RegExp(r,"g"),d):n}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275pipe=t.EJ8({name:"sobReplaceText",type:o,pure:!0})}}return o})();const In=()=>({afterLoginProcess:!0}),Pn=o=>({active:o}),xn=o=>({menuText:o});function Ae(o,W){if(1&o){const n=t.RV6();t.j41(0,"li",5),t.nI1(1,"translate"),t.bIt("click",function(){i.eBV(n);const d=t.XpG().$implicit,D=t.XpG(3);return i.Njj(D.selectItem(d))})("keydown.enter",function(){i.eBV(n);const d=t.XpG().$implicit,D=t.XpG(3);return i.Njj(D.selectItem(d))})("keydown.space",function(d){i.eBV(n);const D=t.XpG().$implicit;return t.XpG(3).selectItem(D),i.Njj(d.preventDefault())}),t.j41(2,"span",6),t.EFF(3),t.nI1(4,"sobReplaceText"),t.k0s()()}
1if(2&o){const n=t.XpG().$implicit,r=t.XpG(3);t.Y8G("ngClass",t.eq3(12,Pn,n===r.activeSection())),t.BMQ("aria-current",n===r.activeSection()?"page":"false")("data-automation-id",n.menuText)("aria-label",t.i5U(1,5,"NAVIGATION.ARIA.SUB_MENU",t.eq3(14,xn,n.menuText))),t.R7$(3),t.SpI(" ",t.brH(4,8,n.menuText,"(?:^&\\\\s+|\\\\s+&\\\\s+)"," &\\u00A0")," ")}}function On(o,W){if(1&o&&t.nVh(0,Ae,5,16,"li",4),2&o){const n=W.$implicit;t.vxM(n.menuEntries&&n.menuEntries.length>0?0:-1)}}function Xt(o,W){if(1&o&&(t.j41(0,"ul",3),t.Z7z(1,On,1,1,null,null,t.BUC().trackByMenuEntry,!0),t.nI1(3,"visibleMenuEntries"),t.k0s()),2&o){let n;const r=t.XpG(2);t.R7$(),t.Dyx(t.bMT(3,0,null==(n=r.mainMenu())?null:n.menuEntries))}}function Sn(o,W){if(1&o&&(t.qex(0),t.j41(1,"nav",2),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nVh(5,Xt,4,2,"ul",3),t.k0s(),t.bVm()),2&o){let n;const r=t.XpG();t.R7$(),t.Y8G("sobKfTourGuide",t.bMT(2,5,"HEADER.TOUR_GUIDE.META_NAV.DESCRIPTION"))("sobKfTourGuideTitle",t.bMT(3,7,"HEADER.TOUR_GUIDE.META_NAV.TITLE")),t.BMQ("aria-label",t.bMT(4,9,"NAVIGATION.META"))("data-automation-id",r.DataAutomationIds.META_NAVIGATION),t.R7$(4),t.vxM((null==(n=r.mainMenu())?null:n.menuEntries.length)>0?5:-1)}}function Rn(o,W){if(1&o&&(t.j41(0,"nav",7),t.nrm(1,"ul",8),t.k0s()),2&o){const n=t.XpG();t.BMQ("data-automation-id",n.DataAutomationIds.META_NAVIGATION)}}let kn=(()=>{class o{constructor(){this.mainMenu=(0,_.hFB)(void 0),this.activeSection=(0,_.hFB)(void 0),this.itemSelected=(0,_.CGW)(),this.DataAutomationIds=Bt}selectItem(n){this.itemSelected.emit(n)}trackByMenuEntry(n,r){return r.key}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-meta-navigation"]],inputs:{mainMenu:[1,"mainMenu"],activeSection:[1,"activeSection"]},outputs:{itemSelected:"itemSelected"},decls:3,vars:3,consts:[["emptyBar",""],[4,"sobRemoveInRestrictedMode","sobRemoveInRestrictedModeAlternativeForProcessAfterLogin"],["sobKfTourGuideCategory","portal-header","sobKfTourGuideOrder","100","id","meta-navigation","role","menu","aria-live","polite","aria-relevant","additions removals",1,"meta-wrapper","noselect",3,"sobKfTourGuide","sobKfTourGuideTitle"],["role","none",1,"meta-menu","kf-m-b-0"],["role","link","tabindex","0",1,"menu-entry","kf-header-fill-primary-contrast",3,"ngClass"],["role","link","tabindex","0",1,"menu-entry","kf-header-fill-primary-contrast",3,"click","keydown.enter","keydown.space","ngClass"],[1,"menu-entry-label"],["role","menu","aria-live","polite","aria-relevant","additions removals",1,"meta-wrapper","noselect"],[1,"meta-menu","kf-header-bg","kf-m-b-0"]],template:function(r,d){if(1&r&&t.DNE(0,Sn,6,11,"ng-container",1)(1,Rn,2,1,"ng-template",null,0,t.C5r),2&r){const D=t.sdS(2);t.Y8G("sobRemoveInRestrictedMode",t.lJ4(2,In))("sobRemoveInRestrictedModeAlternativeForProcessAfterLogin",D)}},dependencies:[a.rb,Wt.o,M.YU,k.TranslatePipe,Tn,a.o0],styles:['.meta-wrapper[_ngcontent-%COMP%]{width:100%}.meta-menu[_ngcontent-%COMP%]{display:flex;align-items:center;width:auto;height:44px;padding:0;margin:0;position:relative;z-index:1000;transition:height .3s ease-out;background-color:transparent}.menu-entry[_ngcontent-%COMP%]{height:40px;display:flex;align-items:center;padding:0 4px;margin-left:20px;margin-bottom:0;outline:none;background-color:transparent;color:var(--header-metanavigation-text-color);width:auto;position:relative;border:none;cursor:pointer}.menu-entry[_ngcontent-%COMP%]:hover{background-color:var(--header-metanavigation-background-hover)}.menu-entry.active[_ngcontent-%COMP%]{color:var(--header-metanavigation-text-color-active)}.menu-entry.active[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;right:0;background:var(--header-metanavigation-active-emphasis-color);height:3px;border-radius:2px}.menu-entry[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--header-metanavigation-focus-box-shadow)}.menu-entry[_ngcontent-%COMP%]:first-of-type{margin-left:0}.menu-entry-label[_ngcontent-%COMP%]{line-height:18px;font-size:13px;letter-spacing:0;font-family:var(--typography-font-family);
1font-weight:var(--typography-body-2-font-weight)}.noselect[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}'],changeDetection:0})}}return o})();const Dn=()=>({context:"ksc"}),An=()=>({context:"ksc",afterLoginProcess:!0});function Bn(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-meta-navigation",4),t.bIt("itemSelected",function(d){i.eBV(n);const D=t.XpG();return i.Njj(D.navigate(d))}),t.k0s()}if(2&o){const n=t.XpG();t.Y8G("activeSection",n.activeSection)("mainMenu",n.mainMenu)}}function Ln(o,W){1&o&&t.nrm(0,"sob-ui-burger-button")}function Nn(o,W){1&o&&t.nrm(0,"sob-individual-burger-menu",2)}function Un(o,W){if(1&o&&(t.nrm(0,"sob-ui-burger-menu",3),t.nI1(1,"translate")),2&o){const n=t.XpG();t.jOp("aria-label",t.mNQ(t.bMT(1,3,"NAVIGATION.BURGER"))),t.Y8G("mainMenu",n.mainMenu)}}let Kt=(()=>{class o{#t;#e;#n=(0,i.WQX)(x.lJ);#o;#i;#r=(0,i.WQX)(a.wf);#a=(0,i.WQX)($t.B);get activeSection(){return this.#i.activeSection}get mainMenu(){return this.#t}get isIndividualBurgerMenu(){return this.#r.feature("individualBurgerMenu")||"brokerageplus"===this.#a.getVpContext()?.identifier}constructor(){this.#o=this.#n.portalContext.getLoggingService(),this.#i=this.#n.portalContext.getNavigationService()}ngOnInit(){this.#e=this.#i.navigation$.pipe((0,E.p)(Boolean),(0,K.T)(n=>n.menus),(0,E.p)(Boolean),(0,w.F)(),(0,K.T)(n=>n.find(r=>"mainMenu"===r.name)),(0,E.p)(Boolean)).subscribe(n=>{this.#t=n})}ngOnDestroy(){this.#e.unsubscribe()}navigate(n){this.#o.dlog("HeaderComponent.selectItem",n),this.#i.navigate((0,a.qd)(n),(0,a.rZ)(n))}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-main-navigation"]],decls:4,vars:5,consts:[["class","pt-header-main-m kf-flex-shrink-0 kf-d-none kf-d-xl-block",3,"activeSection","mainMenu","itemSelected",4,"sobRemoveInRestrictedMode"],[4,"sobRemoveInRestrictedMode"],["data-test-id","individual-burger-menu"],["data-test-id","burger-menu",3,"mainMenu","aria-label"],[1,"pt-header-main-m","kf-flex-shrink-0","kf-d-none","kf-d-xl-block",3,"itemSelected","activeSection","mainMenu"]],template:function(r,d){1&r&&(t.DNE(0,Bn,1,2,"sob-ui-meta-navigation",0)(1,Ln,1,0,"sob-ui-burger-button",1),t.nVh(2,Nn,1,0,"sob-individual-burger-menu",2)(3,Un,2,5,"sob-ui-burger-menu",3)),2&r&&(t.Y8G("sobRemoveInRestrictedMode",t.lJ4(3,Dn)),t.R7$(),t.Y8G("sobRemoveInRestrictedMode",t.lJ4(4,An)),t.R7$(),t.vxM(d.isIndividualBurgerMenu?2:3))},dependencies:[a.rb,kn,ne,wt,ke,k.TranslatePipe],encapsulation:2})}}return o})();function wn(o,W){if(1&o){const n=t.RV6();t.j41(0,"bank-info",1),t.bIt("keydown.enter",function(d){i.eBV(n);const D=t.XpG();return i.Njj(D.navigateToStartPage(d))})("keydown.space",function(d){i.eBV(n);const D=t.XpG();return i.Njj(D.navigateToStartPage(d))})("click",function(d){i.eBV(n);const D=t.XpG();return i.Njj(D.navigateToStartPage(d))}),t.k0s()}if(2&o){const n=t.XpG();t.BMQ("data-automation-id",n.DataAutomationIds.BANK_LOGO)}}let Rt=(()=>{class o{constructor(){this.#t=(0,i.WQX)(x.lJ),this.#e=this.#t.portalContext.getNavigationService(),this.DataAutomationIds=Bt}#t;#e;get bankLogoWebCompURL(){return`${this.#e.getPortalBasePath()}${De.CMS_COMPONENTS_PATH}`}navigateToStartPage(n){n.preventDefault(),this.#e.navigateToStartPage()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-bank-logo"]],decls:1,vars:2,consts:[["type","logo","cdkMonitorElementFocus","","tabindex","0","data-test-id","pui-bank-logo",3,"keydown.enter","keydown.space","click",4,"axLazyElement","axLazyElementModule"],["type","logo","cdkMonitorElementFocus","","tabindex","0","data-test-id","pui-bank-logo",3,"keydown.enter","keydown.space","click"]],template:function(r,d){1&r&&t.DNE(0,wn,1,1,"bank-info",0),2&r&&t.Y8G("axLazyElement",d.bankLogoWebCompURL)("axLazyElementModule",!0)},dependencies:[g.sO],styles:["@media screen and (max-width:599px){bank-info[_ngcontent-%COMP%]{height:32px}}@media screen and (min-width:600px)and (max-width:1199px){bank-info[_ngcontent-%COMP%]{height:36px}}@media screen and (max-width:1199px){bank-info[_ngcontent-%COMP%]{display:var(--header-bank-logo-show-responsive-small-display, inherit)}}bank-info[_ngcontent-%COMP%]{display:block;height:40px;cursor:pointer}bank-info.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--options-focus-box-sha
1dow);outline:0}"]})}}return o})();function Wn(o,W){if(1&o){const n=t.RV6();t.j41(0,"bank-info",1),t.bIt("keydown.enter",function(d){i.eBV(n);const D=t.XpG();return i.Njj(D.navigateToStartPage(d))})("keydown.space",function(d){i.eBV(n);const D=t.XpG();return i.Njj(D.navigateToStartPage(d))})("click",function(d){i.eBV(n);const D=t.XpG();return i.Njj(D.navigateToStartPage(d))}),t.k0s()}if(2&o){const n=t.XpG();t.Y8G("ngStyle",n.customStylesBankName()),t.BMQ("data-automation-id",n.DataAutomationIds.BANK_NAME)}}let kt=(()=>{class o{constructor(){this.customStylesBankName=(0,_.hFB)(void 0),this.#t=(0,i.WQX)(x.lJ),this.#e=this.#t.portalContext.getNavigationService(),this.DataAutomationIds=Bt}#t;#e;get bankNameWebCompURL(){return`${this.#e.getPortalBasePath()}${De.CMS_COMPONENTS_PATH}`}navigateToStartPage(n){n.preventDefault(),this.#e.navigateToStartPage()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-bank-name"]],inputs:{customStylesBankName:[1,"customStylesBankName"]},decls:1,vars:2,consts:[["type","name","cdkMonitorElementFocus","","tabindex","0","data-test-id","pui-bank-name",3,"ngStyle","keydown.enter","keydown.space","click",4,"axLazyElement","axLazyElementModule"],["type","name","cdkMonitorElementFocus","","tabindex","0","data-test-id","pui-bank-name",3,"keydown.enter","keydown.space","click","ngStyle"]],template:function(r,d){1&r&&t.DNE(0,Wn,1,2,"bank-info",0),2&r&&t.Y8G("axLazyElement",d.bankNameWebCompURL)("axLazyElementModule",!0)},dependencies:[g.sO,M.B3],styles:["bank-info[_ngcontent-%COMP%]{height:40px;font-size:18px}@media screen and (max-width:599px){bank-info[_ngcontent-%COMP%]{height:32px;font-size:14px;max-width:243px}}@media screen and (min-width:600px)and (max-width:1199px){bank-info[_ngcontent-%COMP%]{height:36px;font-size:16px}}bank-info[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-family:var(--header-bank-name-font-family);color:var(--header-bank-name-color);font-weight:700;line-height:100%;max-width:398px}bank-info.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--options-focus-box-shadow);outline:0}"]})}}return o})();const Fn=()=>({afterLoginProcess:!0});function Gn(o,W){if(1&o&&(t.qex(0),t.nrm(1,"sob-ui-countdown",2),t.bVm()),2&o){const n=t.XpG();t.R7$(),t.BMQ("data-automation-id",n.DataAutomationIds.LOGOUT_COUNTER)}}let jn=(()=>{class o{constructor(){this.DataAutomationIds=Bt}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-logout"]],decls:3,vars:2,consts:[[1,"portal-ui-logout-container"],[4,"sobRemoveInRestrictedMode"],["tabindex","0"]],template:function(r,d){1&r&&(t.j41(0,"div",0),t.DNE(1,Gn,2,1,"ng-container",1),t.nrm(2,"sob-ui-logout-button"),t.k0s()),2&r&&(t.R7$(),t.Y8G("sobRemoveInRestrictedMode",t.lJ4(1,Fn)))},dependencies:[a.rb,fe.N,Ut.m],styles:[".portal-ui-logout-container[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:13px;color:var(--header-bank-text-color);flex-direction:row}@media screen and (max-width:599px){.portal-ui-logout-container[_ngcontent-%COMP%]{flex-direction:column-reverse}}@media screen and (max-width:599px){#portal-ui-logout-btn-text[_ngcontent-%COMP%]{display:none}}"]})}}return o})();const $n=()=>({context:"ksc"});function Xn(o,W){if(1&o&&(t.nrm(0,"sob-ui-logout",1),t.nI1(1,"translate"),t.nI1(2,"translate")),2&o){const n=t.XpG();t.Y8G("sobKfTourGuide",t.bMT(1,3,"HEADER.TOUR_GUIDE.LOGOUT.DESCRIPTION"))("sobKfTourGuideTitle",t.bMT(2,5,"HEADER.TOUR_GUIDE.LOGOUT.TITLE"))("sobKfTourGuideRequireChildren",n.tourGuideLogoutButton)}}let oe=(()=>{class o{constructor(){this.tourGuideLogoutButton=['*[data-tour-guide-logout-step="logout"]']}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-session-box"]],decls:1,vars:2,consts:[["sobKfTourGuideCategory","portal-header","sobKfTourGuidePosition","above-right","sobKfTourGuideOrder","332","class","pt-header-logout",3,"sobKfTourGuide","sobKfTourGuideTitle","sobKfTourGuideRequireChildren",4,"sobRemoveInRestrictedMode"],["sobKfTourGuideCategory","portal-header","sobKfTourGuidePosition","above-right","sobKfTourGuideOrder","332",1,"pt-header-logout",3,"sobKfTourGuide","sobKfTourGuideTitle","sobKfTourGuideRequireChildren"]],template:function(r,d){1&r&&t.DNE(0,Xn,3,7,"sob-ui-logout",0),2&r&&t.Y8G("sobRemoveInRestrictedMode",t.lJ4(1,$n))},dependencies:[a.rb,jn,Wt.o,k.TranslatePipe],encapsulation:2})}}return o}
1)();var Be=e(7511);function Kn(o,W){1&o&&(t.rj2(0,"span"),t.EFF(1," & "),t.eux())}function Vn(o,W){if(1&o&&(t.nVh(0,Kn,2,0,"span"),t.EFF(1)),2&o){const n=W.$implicit;t.vxM(W.$index>0?0:-1),t.R7$(),t.SpI(" ",n,"\n")}}let Qn=(()=>{class o{constructor(){this.menuText=(0,_.hFB)(),this.textParts=(0,Be.EW)(()=>{const n=this.menuText();return n?n.split("&"):[]})}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-portal-menu-label"]],inputs:{menuText:[1,"menuText"]},decls:2,vars:0,template:function(r,d){1&r&&t.Z7z(0,Vn,2,2,null,null,t.Vm6),2&r&&t.Dyx(d.textParts())},encapsulation:2})}}return o})();const Le=["scrollContainer"],Hn=["navList"],zn=()=>["a"],Yn=o=>({menuText:o}),Jn=(o,W)=>W.key;function Zn(o,W){if(1&o){const n=t.RV6();t.j41(0,"button",9),t.bIt("click",function(){i.eBV(n);const d=t.XpG();return i.Njj(d.scroll("prev"))}),t.nrm(1,"kf-icon",10),t.k0s()}}function qn(o,W){if(1&o){const n=t.RV6();t.j41(0,"li",11)(1,"a",12),t.nI1(2,"translate"),t.bIt("click",function(d){const D=i.eBV(n).$implicit;return t.XpG().navigateToMenuEntry.emit(D),i.Njj(d.preventDefault())})("keydown.enter",function(d){const D=i.eBV(n).$implicit;return t.XpG().navigateToMenuEntry.emit(D),i.Njj(d.preventDefault())})("keydown.space",function(d){const D=i.eBV(n).$implicit;return t.XpG().navigateToMenuEntry.emit(D),i.Njj(d.preventDefault())}),t.nrm(3,"sob-portal-menu-label",13),t.k0s()()}
1if(2&o){const n=W.$implicit,r=t.XpG();t.AVh("active",r.getItemIdentifier(n)===r.selectedItemKey()),t.R7$(),t.BMQ("aria-label",t.i5U(2,6,"NAVIGATION.ARIA.LINK",t.eq3(9,Yn,n.menuText)))("data-automation-id",n.menuText)("aria-current",r.getItemIdentifier(n)===r.selectedItemKey()?"page":null),t.R7$(2),t.Y8G("menuText",n.menuText)}}function to(o,W){if(1&o){const n=t.RV6();t.j41(0,"button",14),t.bIt("click",function(){i.eBV(n);const d=t.XpG();return i.Njj(d.scroll("next"))}),t.nrm(1,"kf-icon",15),t.k0s()}}let ie=(()=>{class o{#t;#e;constructor(){this.secondLevelMenuEntries=_.hFB.required(),this.selectedItemKey=(0,_.hFB)(),this.navigateToMenuEntry=(0,_.CGW)(),this.scrollContainer=_.ebz.required("scrollContainer"),this.navList=_.ebz.required("navList"),this.#t=(0,i.WQX)(x.lJ).portalContext.getNavigationService(),this.#e=(0,i.WQX)(i.zZn),this.showPrevButton=(0,i.vPA)(!1),this.showNextButton=(0,i.vPA)(!1),this.inkBarWidth=(0,i.vPA)("0px"),this.inkBarLeft=(0,i.vPA)("0px"),this.extendedMenuEntries=(0,Be.EW)(()=>this.secondLevelMenuEntries().map(n=>{const r=this.#t.calculateProcessPathInfo(n);return{...n,path:r.path}})),(0,i.QZP)(()=>{const n=this.navList(),r=this.selectedItemKey(),d=this.extendedMenuEntries();if(!n||!r||0===d.length)return this.inkBarWidth.set("0px"),this.inkBarLeft.set("0px"),this.showPrevButton.set(!1),void this.showNextButton.set(!1);(0,i.N4e)(this.#e,()=>{(0,t.mal)(()=>{this.#n()})})})}onResize(){this.#n()}updatePaginator(){const n=this.scrollContainer().nativeElement;this.showPrevButton.set(n.scrollLeft>0),this.showNextButton.set(Math.round(n.scrollLeft)<n.scrollWidth-n.clientWidth)}scroll(n){const r=this.scrollContainer().nativeElement,d=.8*r.clientWidth;r.scrollTo({left:r.scrollLeft+("next"===n?d:-d),behavior:"smooth"})}getItemIdentifier(n){return(0,a.F9)(n)}#n(){this.updatePaginator(),this.updateInkBar()}updateInkBar(){const n=this.navList()?.nativeElement.querySelector(".active");if(!n)return this.inkBarWidth.set("0px"),void this.inkBarLeft.set("0px");const d=n.offsetLeft;this.inkBarWidth.set(`${n.offsetWidth}px`),this.inkBarLeft.set(`${d}px`)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-menu-entry"]],viewQuery:function(r,d){1&r&&t.wEZ(d.scrollContainer,Le,5)(d.navList,Hn,5),2&r&&t.NyB(2)},hostBindings:function(r,d){1&r&&t.bIt("resize",function(){return d.onResize()},t.tSv)},inputs:{secondLevelMenuEntries:[1,"secondLevelMenuEntries"],selectedItemKey:[1,"selectedItemKey"]},outputs:{navigateToMenuEntry:"navigateToMenuEntry"},decls:14,vars:19,consts:[["scrollContainer",""],["navList",""],["id","second-level-navigation","sobKfTourGuideChildSelector","portal-ui-menu-entry","sobKfTourGuideCategory","portal-header","sobKfTourGuideOrder","300",1,"custom-nav-wrapper",3,"sobKfTourGuide","sobKfTourGuideTitle","sobKfTourGuideRequireChildren"],["tabindex","-1",1,"nav-arrow","prev"],[1,"nav-scroll-container",3,"scroll"],["role","menu"],["role","none",3,"active"],[1,"ink-bar"],["tabindex","-1",1,"nav-arrow","next"],["tabindex","-1",1,"nav-arrow","prev",3,"click"],["name","ic_chevron_links_16"],["role","none"],["href","#","role","menuitem","cdkMonitorSubtreeFocus","",3,"click","keydown.enter","keydown.space"],[3,"menuText"],["tabindex","-1",1,"nav-arrow","next",3,"click"],["name","ic_chevron_rechts_16"]],template:function(r,d){1&r&&(t.j41(0,"nav",2),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nVh(4,Zn,2,0,"button",3),t.j41(5,"div",4,0),t.bIt("scroll",function(){return d.updatePaginator()}),t.j41(7,"ul",5,1),t.Z7z(9,qn,4,11,"li",6,Jn),t.nI1(11,"visibleMenuEntries"),t.k0s(),t.nrm(12,"div",7),t.k0s(),t.nVh(13,to,2,0,"button",8),t.k0s()),2&r&&(t.Y8G("sobKfTourGuide",t.bMT(1,10,"HEADER.TOUR_GUIDE.NAV.DESCRIPTION"))("sobKfTourGuideTitle",t.bMT(2,12,"HEADER.TOUR_GUIDE.NAV.TITLE"))("sobKfTourGuideRequireChildren",t.lJ4(18,zn)),t.BMQ("aria-label",t.bMT(3,14,"NAVIGATION.SECOND")),t.R7$(4),t.vxM(d.showPrevButton()?4:-1),t.R7$(5),t.Dyx(t.bMT(11,16,d.extendedMenuEntries())),t.R7$(3),t.xc7("width",d.inkBarWidth())("left",d.inkBarLeft()),t.R7$(),t.vxM(d.showNextButton()?13:-1))},dependencies:[Wt.o,Qn,T.KY,k.TranslatePipe,a.o0],styles:["[_nghost-%COMP%]{display:block;position:relative}.custom-nav-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;border-bottom:1px solid #e0e0e0;line-height:18px;height:48px;padding-bottom:2px}.nav-scroll-container[_ngcontent-%COMP%]{flex-grow:1;overflow-x:hidden;position:relative}ul[_ngcontent-%COMP%]{position:relative;display:flex;list-style:none;margin:0;padding:4px 0;width:max-content}li[_ngcontent-%COMP%]{cursor:pointer;margin-bottom:0!important;margin-left:8px}li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;padding:8px;text-decoration:none;font-weight:700;font-size:13px;color:var(--header-bank-subnavigation-text-color);position:relative;transition:color .3s ease}li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--header-bank-subnavigation-text-color-active);background-color:var(--state-default-hover)}li[_ngcontent-%COMP%] a.cdk-mouse-focused[_ngcontent-%COMP%]{outline:none;box-shadow:none!important}li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--header-bank-subnavigation-text-color-active, #3f51b5)}
1.ink-bar[_ngcontent-%COMP%]{position:absolute;bottom:0;height:3px;background-color:var(--header-bank-subnavigation-active-emphasis-color, #3f51b5);transition:width .25s cubic-bezier(.35,0,.25,1),left .25s cubic-bezier(.35,0,.25,1);transform-origin:left;width:1px;margin-bottom:1px;border-radius:1.5px}.nav-arrow[_ngcontent-%COMP%]{background:transparent;border:none;cursor:pointer;-webkit-user-select:none;user-select:none;width:45px;height:45px;padding:0;border-radius:50%;box-shadow:var(--options-effect-overlay);display:flex;align-items:center;justify-content:center;color:var(--color-primary);transition:background-color .3s ease}.nav-arrow[_ngcontent-%COMP%]:hover{background-color:var(--state-default-hover)}.nav-arrow[_ngcontent-%COMP%]:focus{outline:none}"]})}}return o})();const re=()=>({context:"ksc",afterLoginProcess:!0});function eo(o,W){if(1&o){const n=t.RV6();t.j41(0,"sob-ui-menu-entry",5),t.bIt("navigateToMenuEntry",function(d){i.eBV(n);const D=t.XpG(3);return i.Njj(D.navigate(d))}),t.k0s()}if(2&o){const n=t.XpG(3);t.Y8G("secondLevelMenuEntries",n.secondLevelMenuEntries)("selectedItemKey",n.getItemIdentifier(W))}}function no(o,W){if(1&o&&(t.j41(0,"div",2)(1,"div",3),t.nVh(2,eo,1,2,"sob-ui-menu-entry",4),t.nI1(3,"async"),t.k0s()()),2&o){let n;const r=t.XpG(2);t.R7$(2),t.vxM((n=t.bMT(3,1,r.selectedItem$))?2:-1,n)}}function oo(o,W){if(1&o&&(t.qex(0),t.nVh(1,no,4,3,"div",2),t.nI1(2,"async"),t.bVm()),2&o){const n=t.XpG();t.R7$(),t.vxM(t.bMT(2,1,n.mainMenu$)?1:-1)}}let Ne=(()=>{class o{#t;#e;#n;constructor(){this.structure$=_.hFB.required({alias:"navigation"}),this.#e=(0,i.WQX)(y.J),this.#n=(0,i.WQX)(_.gRc),this.mobileViewport=a.H5.UP_TO_L;const n=(0,i.WQX)(x.lJ);this.navigationService=n.portalContext.getNavigationService(),this.#t=n.portalContext.getLoggingService()}ngOnInit(){this.selectedItem$=this.navigationService.selectedItem$,this.mainMenu$=this.structure$().pipe((0,E.p)(Boolean),(0,K.T)(n=>n.menus),(0,K.T)(n=>n.find(r=>"mainMenu"===r.name),(0,E.p)(Boolean))),this.menuOpened$=this.#e.getNavMenuExpandedObservable()}get secondLevelMenuEntries(){return this.activeSection?.menuEntries||[]}get activeSection(){return this.navigationService.activeSection}navigate(n){this.#t.dlog("PortalUiSecondLevelNavigationComponent.selectItem",n),this.navigationService.navigate((0,a.qd)(n),(0,a.rZ)(n))}getItemIdentifier(n){return(0,a.F9)(n)}toggleMenu(){this.#e.toggleMenu(),this.#t.dlog("PortalUiSecondLevelNavigationComponent.toggleMenu")}closeMenu(){this.#e.closeMenu(),this.#t.dlog("PortalUiSecondLevelNavigationComponent.closeMenu")}ngAfterViewChecked(){this.#n.detectChanges()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-second-level-navigation"]],inputs:{structure$:[1,"navigation","structure$"]},decls:2,vars:2,consts:[["id","fiducia-navigation-container",1,"kf-header-bg","remove-for-print","kf-header-border-bottom"],[4,"sobRemoveInRestrictedMode"],[1,"content-wrapper","kf-w-100"],[1,"pt-header-tab-nav-m-wrap","kf-d-none","kf-d-xl-block"],[3,"secondLevelMenuEntries","selectedItemKey"],[3,"navigateToMenuEntry","secondLevelMenuEntries","selectedItemKey"]],template:function(r,d){1&r&&(t.j41(0,"div",0),t.DNE(1,oo,3,3,"ng-container",1),t.k0s()),2&r&&(t.R7$(),t.Y8G("sobRemoveInRestrictedMode",t.lJ4(1,re)))},dependencies:[a.rb,ie,M.Jj],styles:[".pt-header-tab-nav-m-wrap[_ngcontent-%COMP%]{margin:0 64px}@media(min-width:1500px){.pt-header-tab-nav-m-wrap[_ngcontent-%COMP%]{margin:0;padding:0 calc(64px + (100% - 1500px)/2)}}.pt-header-tab-nav-m[_ngcontent-%COMP%]{border-bottom:none!important}#fiducia-navigation-container[_ngcontent-%COMP%]{max-width:100%;border-bottom-width:1px;border-bottom-style:solid}.info-banner[_ngcontent-%COMP%]{padding-inline-start:68px;font-weight:700}[_nghost-%COMP%] .mat-mdc-tab-header{overflow:visible;padding-bottom:2px}[_nghost-%COMP%] .mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-radius:2px;border-color:var(--header-bank-subnavigation-active-emphasis-color)!important;border-top-width:3px!important}[_nghost-%COMP%] .mat-mdc-tab-header .mat-mdc-tab-links{border-bottom:none!important}[_nghost-%COMP%] .mat-mdc-tab-header .mat-mdc-tab-header-pagination{border-radius:22px;height:44px;min-width:40px;background:var(--header-bank-subnavigation-pagebutton-background);box-shadow:var(--header-bank-subnavigation-pagebutton-shadow)}[_nghost-%COMP%] .mat-mdc-tab-header .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--header-bank-subnavigation-pagebutton-icon-color)}"],changeDetection:0})}}return o}
1)(),Vt=(()=>{class o{#t=(0,i.WQX)(x.lJ).portalContext.getNavigationService();#e;get structure$(){return this.#e}ngOnInit(){this.#e=this.#t.navigation$}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-sub-navigation"]],decls:1,vars:1,consts:[[3,"navigation"]],template:function(r,d){1&r&&t.nrm(0,"sob-ui-second-level-navigation",0),2&r&&t.Y8G("navigation",d.structure$)},dependencies:[Ne],styles:["[_nghost-%COMP%]{flex:1}"]})}}return o})();function io(o,W){1&o&&t.nrm(0,"sob-ui-main-navigation",3)}let wo=(()=>{class o{constructor(){this.#t=(0,i.WQX)(a.wf),this.customStylesSecondRow={justifyContent:"space-between"},this.toL=a.H5.UP_TO_L}#t;get isIndividualBurgerMenu(){return this.#t.feature("individualBurgerMenu")}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-brokerage-plus-header"]],decls:9,vars:3,consts:[[3,"customStylesSecondRow","coerciveDetermination"],["id","bank-logo",4,"sobIfViewport"],["id","main-navigation",1,"sob-brokerage-plus-title"],["id","bank-logo"],["id","bank-name",1,"kf-d-flex","kf-justify-content-start","kf-align-items-center","kf-flex-grow-1"],[1,"portal-bank-name"],["id","session-box"],["id","sub-navigation"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.DNE(1,io,1,0,"sob-ui-main-navigation",1),t.nrm(2,"sob-brokerage-plus-title",2)(3,"sob-ui-bank-logo",3),t.j41(4,"div",4),t.nrm(5,"sob-ui-bank-name",5),t.k0s(),t.nrm(6,"sob-session-tan",6)(7,"sob-ui-session-box",6)(8,"sob-ui-sub-navigation",7),t.k0s()),2&r&&(t.Y8G("customStylesSecondRow",d.customStylesSecondRow)("coerciveDetermination",!0),t.R7$(),t.Y8G("sobIfViewport",d.toL))},dependencies:[dt,a.Nq,Kt,Yt,Rt,kt,nn,oe,Vt],styles:["[_nghost-%COMP%] button.burger-menu{color:var(--header-bank-text-color)!important}[_nghost-%COMP%] .portal-bank-name{width:100%!important}@media(min-width:768px){[_nghost-%COMP%] .portal-bank-name{width:55%!important}}@media(min-width:992px){[_nghost-%COMP%] .portal-bank-name{width:40%!important}}@media(min-width:1200px){[_nghost-%COMP%] .portal-bank-name{width:30%!important}}@media(min-width:1400px){[_nghost-%COMP%] .portal-bank-name{width:25%!important}}"]})}}return o})();var ro=e(4161);let Ue=(()=>{class o{constructor(){this.DataAutomationIds=f.K;const n=(0,i.WQX)(x.lJ).portalContext.getSecurityService();this.userName=n.getUserDisplayName()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-ksc-toolbar"]],decls:4,vars:2,consts:[[1,"ksc-user","kf-d-flex","kf-justify-content-end","kf-align-items-center","kf-header-color-text"],["name","ic_person-mit-kreis_24",1,"pt-user-m-person-icon","kf-flex-shrink-0"],[1,"notranslate","pt-header-user-name","kf-m-l-8"]],template:function(r,d){1&r&&(t.j41(0,"div",0),t.nrm(1,"kf-icon",1),t.j41(2,"span",2),t.EFF(3),t.k0s()()),2&r&&(t.R7$(2),t.BMQ("data-automation-id",d.DataAutomationIds.USER_NAME),t.R7$(),t.SpI(" ",d.userName," "))},dependencies:[T.KY],styles:["@media screen and (min-width:1200px){.ksc-user[_ngcontent-%COMP%]{padding-top:4px}}.ksc-user[_ngcontent-%COMP%]{flex:1 1 360px;padding-left:8px;color:var(--header-metanavigation-text-color)}"]})}}return o})();const ao=()=>({context:"ksc"});function so(o,W){if(1&o&&(t.j41(0,"div",2),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nrm(3,"sob-ui-bar-container",3),t.nI1(4,"translate"),t.nI1(5,"translate"),t.k0s()),2&o){const n=t.XpG();t.Y8G("sobKfTourGuide",t.bMT(1,8,"HEADER.TOUR_GUIDE.POSTFACH.DESCRIPTION"))("sobKfTourGuideTitle",t.bMT(2,10,"HEADER.TOUR_GUIDE.POSTFACH.TITLE"))("sobKfTourGuideChildSelector",n.tourGuideLogoutSelectorMail)("sobKfTourGuideRequireChildren",n.kfTourGuideRequireChildrenForMail),t.BMQ("data-automation-id",n.DataAutomationIds.TOOLBAR_CONTAINER),t.R7$(3),t.Y8G("sobKfTourGuide",t.bMT(4,12,"HEADER.TOUR_GUIDE.CONTROL_BAR.DESCRIPTION"))("sobKfTourGuideTitle",t.bMT(5,14,"HEADER.TOUR_GUIDE.CONTROL_BAR.TITLE"))("sobKfTourGuideRequireChildren",n.controlBarTourGuideProfileElement)}}function we(o,W){1&o&&t.nrm(0,"sob-ui-ksc-toolbar")}let Qt=(()=>{class o{constructor(){this.controlBarTourGuideProfileElement=['*[data-tour-guide-required-element="profile-element"]'],this.kfTourGuideRequireChildrenForMail=[".pt-header-pf-btn"],this.tourGuideLogoutSelectorMail=".pt-header-pf-btn",this.DataAutomationIds=Bt}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-right-header-bar"]],decls:3,vars:3,consts:[["ksc_toolbar",""],["sobKfTourGuidePosition","above-right","sobKfTourGuideCategory","portal-header","sobKfTourGuideOrder","195","class","right-header-bar kf-d-flex kf-justify-content-end kf-align-items-center pt-header-btn-state",3,"sobKfTourGuide","sobKfTourGuideTitle","sobKfTourGuideChildSelector","sobKfTourGuideRequireChildren",4,"sobRemoveInRestrictedMode","sobRemoveInRestrictedModeAlternativeForContext"],["sobKfTourGuidePosition","above-right","sobKfTourGuideCategory","portal-header","sobKfTourGuideOrder","195",1,"right-header-bar","kf-d-flex","kf-justify-content-end","kf-align-items-center","pt-header-btn-state",3,"sobKfTourGuide","sobKfTourGuideTitle","sobKfTourGuideChildSelector","sobKfTourGuideRequireChildren"],["sobKfTourGuidePosition","above-right","sobKfTourGuideCategory","portal-header","sobKfTourGuideOrder","200",1,"kf-d-flex",3,"sobKfTourGuide","sobKfTourGuideTitle","sobKfTourGuideRequireChildren"]],template:function(r,d){if(1&r&&t.DNE(0,so,6,16,"div",1)(1,we,1,0,"ng-template",null,0,t.C5r),2&r){const D=t.sdS(2);t.Y8G("sobRemoveInRestrictedMode",t.lJ4(2,ao))("sobRemoveInRestrictedModeAlternativeForContext",D)}},dependencies:[a.rb,Wt.o,ro.a,Ue,k.TranslatePipe],encapsulation:2})}}return o}
1)();function co(o,W){1&o&&t.nrm(0,"sob-ui-main-navigation",8)}function uo(o,W){1&o&&t.nrm(0,"sob-ui-main-navigation",4)}let lo=(()=>{class o{constructor(){this.fromM=a.H5.FROM_M,this.toS=a.H5.UP_TO_S,this.customStylesFirstRow={justifyContent:"space-between"}}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-default-header"]],decls:8,vars:4,consts:[[3,"customStylesFirstRow","coerciveDetermination"],["id","main-navigation",4,"sobIfViewport"],["id","right-header-bar"],["id","bank-logo",4,"sobIfViewport"],["id","bank-logo"],["id","bank-name",1,"kf-flex-grow-1"],["id","session-box"],["id","sub-navigation"],["id","main-navigation"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.DNE(1,co,1,0,"sob-ui-main-navigation",1),t.nrm(2,"sob-ui-right-header-bar",2),t.DNE(3,uo,1,0,"sob-ui-main-navigation",3),t.nrm(4,"sob-ui-bank-logo",4)(5,"sob-ui-bank-name",5)(6,"sob-ui-session-box",6)(7,"sob-ui-sub-navigation",7),t.k0s()),2&r&&(t.Y8G("customStylesFirstRow",d.customStylesFirstRow)("coerciveDetermination",!0),t.R7$(),t.Y8G("sobIfViewport",d.fromM),t.R7$(2),t.Y8G("sobIfViewport",d.toS))},dependencies:[dt,a.Nq,Kt,Qt,Rt,kt,oe,Vt],encapsulation:2})}}return o})(),We=(()=>{class o{#t=(0,i.WQX)(x.lJ);#e=this.#t.portalContext.getNavigationService();navigateToStartPage(n){n.preventDefault(),this.#e.navigateToStartPage()}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-dz-bank-home-icon"]],decls:3,vars:3,consts:[["mat-button","","color","primary","data-test-id","pui-dz-home-icon",1,"favoritButton",3,"keydown.enter","keydown.space","click"],["name","ic_haus_24",3,"alt"]],template:function(r,d){1&r&&(t.j41(0,"button",0),t.bIt("keydown.enter",function(ut){return d.navigateToStartPage(ut)})("keydown.space",function(ut){return d.navigateToStartPage(ut)})("click",function(ut){return d.navigateToStartPage(ut)}),t.nrm(1,"kf-icon",1),t.nI1(2,"translate"),t.k0s()),2&r&&(t.R7$(),t.Y8G("alt",t.bMT(2,1,"HEADER.BACK_TO_HOMEPAGE.ALT")))},dependencies:[c.$z,T.KY,k.TranslatePipe],encapsulation:2})}}return o})();const mo=()=>({context:"ksc",afterLoginProcess:!0});function Fe(o,W){1&o&&t.nrm(0,"sob-ui-main-navigation",10)}function ho(o,W){1&o&&t.nrm(0,"sob-ui-burger-button")}function Ge(o,W){1&o&&(t.qex(0,4),t.DNE(1,ho,1,0,"sob-ui-burger-button",11),t.bVm()),2&o&&(t.R
17$(),t.Y8G("sobRemoveInRestrictedMode",t.lJ4(1,mo)))}function je(o,W){1&o&&t.nrm(0,"sob-individual-burger-menu",8)}function $e(o,W){if(1&o&&(t.nrm(0,"sob-ui-burger-menu",9),t.nI1(1,"translate")),2&o){const n=t.XpG();t.jOp("aria-label",t.mNQ(t.bMT(1,3,"NAVIGATION.BURGER"))),t.Y8G("mainMenu",n.mainMenu)}}let po=(()=>{class o{#t;#e;get mainMenu(){return this.#t}get isIndividualBurgerMenu(){return this.#e.feature("individualBurgerMenu")}constructor(){this.#e=(0,i.WQX)(a.wf),this.toS=a.H5.ONLY_S,this.fromM=a.H5.FROM_M,this.customStylesFirstRow={display:"flex",justifyContent:"space-between"},(0,i.WQX)(x.lJ).portalContext.getNavigationService().navigation$.pipe((0,C.s)(1),(0,E.p)(Boolean),(0,K.T)(r=>r.menus),(0,E.p)(Boolean),(0,w.F)(),(0,K.T)(r=>r.find(d=>"mainMenu"===d.name)),(0,E.p)(Boolean)).subscribe(r=>{this.#t=r})}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-dz-bank-header-with-meta-navigation"]],decls:12,vars:5,consts:[[3,"customStylesFirstRow","coerciveDetermination"],["id","main-navigation",4,"sobIfViewport"],["id","right-header-bar"],["id","bank-logo",4,"sobIfViewport"],["id","bank-logo"],["id","bank-name",1,"kf-d-flex","kf-align-items-center","kf-flex-grow-1"],["id","session-box"],["id","sub-navigation"],["data-test-id","individual-burger-menu"],["data-test-id","burger-menu",3,"mainMenu","aria-label"],["id","main-navigation"],[4,"sobRemoveInRestrictedMode"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.DNE(1,Fe,1,0,"sob-ui-main-navigation",1),t.nrm(2,"sob-ui-right-header-bar",2),t.DNE(3,Ge,2,2,"ng-container",3),t.nrm(4,"sob-ui-bank-logo",4),t.j41(5,"div",5),t.nrm(6,"sob-ui-bank-name"),t.k0s(),t.j41(7,"div",6),t.nrm(8,"sob-ui-dz-bank-home-icon"),t.k0s(),t.nrm(9,"sob-ui-sub-navigation",7),t.k0s(),t.nVh(10,je,1,0,"sob-individual-burger-menu",8)(11,$e,2,5,"sob-ui-burger-menu",9)),2&r&&(t.Y8G("customStylesFirstRow",d.customStylesFirstRow)("coerciveDetermination",!0),t.R7$(),t.Y8G("sobIfViewport",d.fromM),t.R7$(2),t.Y8G("sobIfViewport",d.toS),t.R7$(7),t.vxM(d.isIndividualBurgerMenu?10:11))},dependencies:[dt,a.Nq,Kt,Qt,a.rb,ne,Rt,kt,We,Vt,wt,ke,k.TranslatePipe],encapsulation:2})}}return o})();const Xe=()=>({context:"ksc",afterLoginProcess:!0});function fo(o,W){1&o&&t.nrm(0,"sob-ui-burger-button",10)}function go(o,W){1&o&&(t.qex(0,8),t.DNE(1,fo,1,0,"sob-ui-burger-button",9),t.bVm()),2&o&&(t.R
17$(),t.Y8G("sobRemoveInRestrictedMode",t.lJ4(1,Xe)))}function vo(o,W){1&o&&t.nrm(0,"sob-ui-burger-button")}function Ke(o,W){1&o&&(t.qex(0,4),t.DNE(1,vo,1,0,"sob-ui-burger-button",11),t.bVm()),2&o&&(t.R7$(),t.Y8G("sobRemoveInRestrictedMode",t.lJ4(1,Xe)))}let bo=(()=>{class o{#t;#e;get mainMenu(){return this.#t}get isIndividualBurgerMenu(){return this.#e.feature("individualBurgerMenu")}constructor(){this.#e=(0,i.WQX)(a.wf),this.toS=a.H5.ONLY_S,this.betweenML=a.H5.BETWEEN_M_L,this.customStylesFirstRow={display:"flex",justifyContent:"end"},(0,i.WQX)(x.lJ).portalContext.getNavigationService().navigation$.pipe((0,C.s)(1),(0,E.p)(Boolean),(0,K.T)(r=>r.menus),(0,E.p)(Boolean),(0,w.F)(),(0,K.T)(r=>r.find(d=>"mainMenu"===d.name)),(0,E.p)(Boolean)).subscribe(r=>{this.#t=r})}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-dz-bank-header"]],decls:10,vars:4,consts:[[3,"customStylesFirstRow","coerciveDetermination"],["id","main-navigation",4,"sobIfViewport"],["id","right-header-bar"],["id","bank-logo",4,"sobIfViewport"],["id","bank-logo"],["id","bank-name",1,"kf-d-flex","kf-align-items-center","kf-flex-grow-1"],["id","session-box"],["id","sub-navigation"],["id","main-navigation"],["class","kf-flex-grow-1",4,"sobRemoveInRestrictedMode"],[1,"kf-flex-grow-1"],[4,"sobRemoveInRestrictedMode"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.DNE(1,go,2,2,"ng-container",1),t.nrm(2,"sob-ui-right-header-bar",2),t.DNE(3,Ke,2,2,"ng-container",3),t.nrm(4,"sob-ui-bank-logo",4),t.j41(5,"div",5),t.nrm(6,"sob-ui-bank-name"),t.k0s(),t.j41(7,"div",6),t.nrm(8,"sob-ui-dz-bank-home-icon"),t.k0s(),t.nrm(9,"sob-ui-sub-navigation",7),t.k0s()),2&r&&(t.Y8G("customStylesFirstRow",d.customStylesFirstRow)("coerciveDetermination",!0),t.R7$(),t.Y8G("sobIfViewport",d.betweenML),t.R7$(2),t.Y8G("sobIfViewport",d.toS))},dependencies:[dt,a.Nq,a.rb,ne,Qt,Rt,kt,We,Vt],encapsulation:2})}}return o})();var Ve=e(4102);let ae=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-header-divider"]],decls:1,vars:0,template:function(r,d){1&r&&t.nrm(0,"mat-divider")},dependencies:[Ve.q],styles:["[_nghost-%COMP%]{width:100%}mat-divider[_ngcontent-%COMP%]{width:100%}"]})}}return o})(),Eo=(()=>{class o{constructor(){this.customStylesSecondRow={"padding-inline-start":"16px","align-items":"end"},this.customStylesFirstRow={height:"44px"}}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-ksc-context-header"]],decls:4,vars:3,consts:[[3,"customStylesSecondRow","customStylesFirstRow","coerciveDetermination"],["id","bank-logo"],["id","bank-name"],["id","sub-navigation"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.nrm(1,"sob-ui-bank-logo",1)(2,"sob-ui-bank-name",2)(3,"sob-ui-header-divider",3),t.k0s()),2&r&&t.Y8G("customStylesSecondRow",d.customStylesSecondRow)("customStylesFirstRow",d.customStylesFirstRow)("coerciveDetermination",!0)},dependencies:[dt,Rt,kt,ae],encapsulation:2})}}return o})(),Mo=(()=>{class o{constructor(){this.customStylesSecondRow={"padding-inline-start":"16px"},this.customStylesFirstRow={height:"44px"}}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-ui-minimal-header"]],decls:4,vars:3,consts:[[3,"customStylesSecondRow","customStylesFirstRow","coerciveDetermination"],["id","bank-logo"],["id","bank-name"],["id","sub-navigation"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.nrm(1,"sob-ui-bank-logo",1)(2,"sob-ui-bank-name",2)(3,"sob-ui-header-divider",3),t.k0s()),2&r&&t.Y8G("customStylesSecondRow",d.customStylesSecondRow)("customStylesFirstRow",d.customStylesFirstRow)("coerciveDetermination",!0)},dependencies:[dt,Rt,kt,ae],encapsulation:2})}}return o})(),_o=(()=>{class o{constructor(){this.customStylesFirstRow={height:"44px","flex-direction":"row-reverse"},this.customStylesSecondRow={"padding-inline-start":"20px"}}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-profile-selector-header"]],decls:5,vars:3,consts:[[3,"customStylesFirstRow","customStylesSecondRow","coerciveDetermination"],["id","right-header-bar"],["id","bank-logo"],["id","bank-name",1,"kf-flex-grow-1"],["id","session-box"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.nrm(1,"sob-ui-ksc-toolbar",1)(2,"sob-ui-bank-logo",2)(3,"sob-ui-bank-name",3)(4,"sob-ui-logout-button",4),t.k0s()),2&r&&t.Y8G("customStylesFirstRow",d.customStylesFirstRow)("customStylesSecondRow",d.customStylesSecondRow)("coerciveDetermination",!1)},dependencies:[dt,Ue,Rt,kt,Ut.m],encapsulation:2})}}return o}
1)();var Co=e(8438);function yo(o,W){1&o&&t.nrm(0,"sob-ui-main-navigation",8)}function To(o,W){1&o&&t.nrm(0,"sob-ui-main-navigation",9)}let Wo=(()=>{class o{constructor(){this.#t=(0,i.WQX)(Co.Q),this.featureService=(0,i.WQX)(a.wf),this.fromM=a.H5.FROM_M,this.toS=a.H5.UP_TO_S,this.customStylesFirstRow={justifyContent:"space-between"},this.#e={marginLeft:"-38px",fontSize:"37px"},this.#n={...this.#e},this.#o="(max-width: 599px)",this.#i="(max-width: 1024px)",this.#r="(max-width: 1199px)"}#t;get isIndividualBurgerMenu(){return this.featureService.feature("individualBurgerMenu")}#e;#n;#o;#i;#r;get customStylesBankName(){return this.#n}ngOnInit(){this.#a(),this.#t.observe([this.#o,this.#i,this.#r]).subscribe(n=>{this.#a(n)})}#a(n){n?.breakpoints?.[this.#o]||window.matchMedia(this.#o).matches?this.#n={...this.#n,marginLeft:"-6px",fontSize:"23px"}:n?.breakpoints?.[this.#i]||window.matchMedia(this.#i).matches?this.#n={...this.#n,marginLeft:"-24px",fontSize:"23px"}:n?.breakpoints?.[this.#r]||window.matchMedia(this.#r).matches?this.#n={...this.#n,marginLeft:"-30px",fontSize:"37px"}:this.#n={...this.#n,...this.#e}}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-rci-header"]],decls:10,vars:5,consts:[[3,"customStylesFirstRow","coerciveDetermination"],["id","main-navigation",4,"sobIfViewport"],["id","right-header-bar"],["id","bank-logo",4,"sobIfViewport"],["id","bank-name",1,"vertical-line"],["id","bank-name",1,"kf-flex-grow-1",3,"customStylesBankName"],["id","session-box"],["id","sub-navigation"],["id","main-navigation"],["id","bank-logo"]],template:function(r,d){1&r&&(t.j41(0,"sob-ui-header-template",0),t.DNE(1,yo,1,0,"sob-ui-main-navigation",1),t.nrm(2,"sob-ui-right-header-bar",2),t.DNE(3,To,1,0,"sob-ui-main-navigation",3),t.nrm(4,"div",4)(5,"sob-ui-bank-name",5),t.j41(6,"div",6),t.nrm(7,"sob-ui-bank-logo")(8,"sob-ui-session-box"),t.k0s(),t.nrm(9,"sob-ui-sub-navigation",7),t.k0s()),2&r&&(t.Y8G("customStylesFirstRow",d.customStylesFirstRow)("coerciveDetermination",!0),t.R7$(),t.Y8G("sobIfViewport",d.fromM),t.R7$(2),t.Y8G("sobIfViewport",d.toS),t.R7$(2),t.Y8G("customStylesBankName",d.customStylesBankName))},dependencies:[dt,a.Nq,Kt,Qt,kt,Rt,oe,Vt],styles:["@media screen and (min-width:1200px){portal-ui-bank-name[_ngcontent-%COMP%]{align-self:baseline;padding-top:9px}}@media screen and (max-width:1199px){portal-ui-bank-logo[_ngcontent-%COMP%]{display:none}portal-ui-bank-name[_ngcontent-%COMP%]{margin-inline-start:15px}.vertical-line[_ngcontent-%COMP%]{background-color:var(--color-accent);float:left;height:54px;margin-left:12px;width:10px}}@media screen and (max-width:1199px)and (max-width:599px){.vertical-line[_ngcontent-%COMP%]{height:38px;margin-left:6px}}#session-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}[_nghost-%COMP%] portal-ui-header-template portal-ui-main-navigation portal-ui-meta-navigation nav ul.meta-menu li.menu-entry:hover{color:var(--header-metanavigation-text-color-active)}[_nghost-%COMP%] portal-ui-header-template sob-ui-bar-container sob-ui-web-component-menu-entry static-postfach-menu-element .postfach-icon:hover, [_nghost-%COMP%] portal-ui-header-template sob-ui-bar-container sob-ui-web-component-menu-entry question-mark-webcomp .question-mark-block:hover{color:var(--header-metanavigation-text-color-active)}[_nghost-%COMP%] portal-ui-header-template sob-ui-bar-container sob-ui-profilemenu button.pt-header-profile-arrow-btn:hover{color:var(--header-metanavigation-text-color-active)}[_nghost-%COMP%] portal-ui-header-template portal-ui-session-box portal-ui-logout sob-ui-logout-button .portal-ui-logout-btn .mdc-button__label:hover{color:var(--header-metanavigation-text-color-active)}[_nghost-%COMP%] portal-ui-header-template portal-ui-bank-logo bank-info{height:60px!important}[_nghost-%COMP%] portal-ui-header-template portal-ui-bank-logo bank-info img{height:auto!important}[_nghost-%COMP%] portal-ui-header-template portal-ui-sub-navigation portal-ui-menu-entry .nav-arrow{color:var(--header-bank-subnavigation-text-color)}"]})}}return o}
1)();var xt=function(o){return o.None="none",o.Default="default",o.Old="old",o.Minimal="minimal",o.Slimmed="slimmed",o.DzBank="dzBank",o.DzBank2="dzBank2",o.KSC="ksc",o.Rci="rci",o.BrokeragePlus="brokerageplus",o}(xt||{});let Qe=(()=>{class o{#t;#e;#n;#o=(0,i.WQX)(a.wf);#i=(0,i.WQX)(s.J);#r=[{header:xt.Default,headerVariantComponent:lo},{header:xt.Minimal,headerVariantComponent:Mo},{header:xt.Slimmed,headerVariantComponent:_o},{header:xt.KSC,headerVariantComponent:Eo},{header:xt.Rci,headerVariantComponent:Wo},{header:xt.DzBank,headerVariantComponent:bo},{header:xt.DzBank2,headerVariantComponent:po},{header:xt.BrokeragePlus,headerVariantComponent:wo}];constructor(){const n=(0,i.WQX)(x.lJ).portalContext,r=n.getNavigationService(),d=n.getVpContextService();this.#e=r.selectedItem,this.#e&&(this.#t=this.#e.layout),d.vpContext$.pipe((0,E.p)(Boolean),(0,C.s)(1)).subscribe(D=>{this.#n=D?.identifier})}#a(n){return this.#r.find(r=>r.header===n)}#s(){switch(this.#t){case"USE_CASE_CENTRIC":return this.#a(xt.Minimal);case"ENFORCED_PAGE_AFTER_LOGIN":return this.#a(xt.Slimmed);default:return}}#u(){const n=this.#i.relyingPartyClientId,r=this.#a(n);if(r)return r;const d=this.#a(this.#n);if(d)return d;const D=this.#o.getValueOfFeatureToggle("header_variant");return this.#a(D)||this.#a(xt.Default)}getHeaderComponent(){return this.#s()?.headerVariantComponent??this.#u()?.headerVariantComponent}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275prov=i.jDH({token:o,factory:o.\u0275fac})}}return o})(),Io=(()=>{class o{#t;#e=(0,i.WQX)(t.c1b);#n=(0,i.WQX)(Qe);constructor(){this.#t=this.#n.getHeaderComponent()}ngOnInit(){this.#o()}#o(){this.#e.clear(),this.#e.createComponent(this.#t)}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275dir=t.FsC({type:o,selectors:[["","sobLoadHeaderVariant",""]],features:[t.Jv_([Qe])]})}}return o})();var Fo=e(9333);function se(o,W){}function Po(o,W){1&o&&t.eu8(0)}function xo(o,W){1&o&&t.eu8(0)}function Oo(o,W){1&o&&t.eu8(0)}function Go(o,W){1&o&&t.eu8(0)}function jo(o,W){1&o&&t.eu8(0)}function ce(o,W){1&o&&t.DNE(0,Po,1,0,"ng-container",1)(1,xo,1,0,"ng-container",1)(2,Oo,1,0,"ng-container",1)(3,Go,1,0,"ng-container",1)(4,jo,1,0,"ng-container",1),2&o&&(t.Y8G("sobPortalContentId","adobe-consent"),t.R7$(),t.Y8G("sobPortalContentId","adobe-etag-manager"),t.R7$(),t.Y8G("sobPortalContentId","adobe-data-layer"),t.R7$(),t.Y8G("sobPortalContentId","adobe-data-layer-enabler"),t.R7$(),t.Y8G("sobPortalContentId","kundenfeedback-nps"))}let So=(()=>{class o{constructor(){this.isNonLoginRoute=!(0,i.WQX)(a.WT).nativeWindow.location.pathname.includes("/post-login")}static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["sob-portal-header"]],decls:2,vars:1,consts:[["sobLoadHeaderVariant",""],[4,"sobPortalContentId"]],template:function(r,d){1&r&&(t.DNE(0,se,0,0,"ng-template",0),t.nVh(1,ce,5,5)),2&r&&(t.R7$(),t.vxM(d.isNonLoginRoute?1:-1))},dependencies:[Io,Fo.$],encapsulation:2})}}return o})()},8793(U,R,e){e.d(R,{H:()=>a});const a=(0,e(619).Rp)("businessContext")},1128(U,R,e){e.d(R,{O1:()=>x,wf:()=>K,Nq:()=>m,H5:()=>h,rb:()=>k,Um:()=>$,Hw:()=>F,uR:()=>lt,Uz:()=>et,aB:()=>X,o0:()=>ot,WT:()=>t,gD:()=>dt,c9:()=>H,qd:()=>ft,N4:()=>j,TT:()=>nt,F9:()=>at,vA:()=>A,zN:()=>Ct,UA:()=>y,rZ:()=>w,b7:()=>I,Ws:()=>Q});var i=e(6563);let t=(()=>{class P{get nativeWindow(){return function a(){return window}()}static{this.\u0275fac=function(rt){return new(rt||P)}}static{this.\u0275prov=i.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})();var s=e(8415);let x=(()=>{class P{#t;constructor(){const J=(0,i.WQX)(i.qQL);try{this.#t=s.q(J.cookie)}catch{this.#t={}}}getCookieValue(J){return this.#t[J]}static{this.\u0275fac=function(rt){return new(rt||P)}}static{this.\u0275prov=i.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})();var E=e(8438),C=e(6124),M=e(7580),_=e(5424),g=e(1817);const f_S_from=0,f_S_to=599,f_M_from=600,f_M_to=1023,f_L_from=1024,f_L_to=1199,f_XL_from=1200,f_XL_to=1491,S=(P,V)=>`(min-width: ${P}px) and (max-width: ${V}px)`,l=P=>`(min-width: ${P}px)`,b=P=>`(max-width: ${P}px)`,h={ONLY_S:b(f_S_to),ONLY_M:S(f_M_from,f_M_to),ONLY_L:S(f_L_from,f_L_to),ONLY_XL:S(f_XL_from,f_XL_to),BETWEEN_S_M:S(f_S_from,f_M_to),BETWEEN_M_L:S(f_M_from,f_L_to),BETWEEN_L_XL:S(f_L_from,f_XL_to),FROM_S:l(f_S_from),FROM_M:l(f_M_from),FROM_L:l(f_L_from),FROM_XL:l(f_XL_from),FROM_XXL:l(1492),UP_TO_S:b(f_S_to),UP_TO_M:b(f_M_to),UP_TO_L:b(f_L_to),UP_TO_XL:b(f_XL_to)};let m=(()=>{class P{#t;#e;#n;#o;constructor(){this.#e=(0,i.WQX)(C.c1b),this.#n=(0,i.WQX)(C.C4Q),this.#o=(0,i.WQX)(E.Q),this.sobIfViewport=M.hFB.required(),(0,i.QZP)(()=>{const J=this.sobIfViewport();this.#r(),this.#t=this.#o.observe(J).pipe((0,_.E)("matches"),(0,g.F)()).subscribe(rt=>{this.#i(rt)})})}#i(J){J?this.#e.createEmbeddedView(this.#n):this.#e.clear()}ngOnDestroy(){this.#r()}#r(){this.#t&&this.#t.unsubscribe()}static{this.\u0275fac=function(rt){return new(rt||P)}}static{this.\u0275dir=C.FsC({type:P,selectors:[["","sobIfViewport",""]],inputs:{sobIfViewport:[1,"sobIfViewport"]}})}}return P})();var O=e(9074),c=e(9442),N=e(9999);let k=(()=>{class P{#t;#e;#n;#o;#i;#r;constructor(){this.#t=[],this.#e={},this.#n={},this.#o={},this.#i=(0,i.WQX)(C.c1b),this.#r=(0,i.WQX)(C.C4Q),this.sobRemoveInRestrictedMode=(0,M.hFB)({}),this.sobRemoveInRestrictedModeAlternativeForContext=(0,M.hFB)(null),this.sobRemoveInRestrictedModeAlternativeForProcessAfterLogin=(0,M.hFB)(null),this.#s=(Et,It,yt)=>{const B=[];return Et.context&&Et.context?.toLowerCase()===It.context?.toLowerCase()&&(B.push(()=>this.#i.clear()),yt.context&&B.push(()=>{this.#i.createEmbeddedView(yt.context).detectChanges()})),B},this.#u=(Et,It,yt)=>{const B=[];return Et.afterLoginProcess&&It.afterLoginProcess&&(B.push(()=>this.#i.clear()),yt.afterLoginProcess&&B.push(()=>{this.#i.createEmbeddedView(yt.afterLoginProcess).detectChanges()})),B},this.#l=()=>[()=>this.#i.clear(),()=>{this.#i.createEmbeddedView(this.#r).detectChanges()}],this.#c=[this.#s.bind(this),this.#u.bind(this),this.#l.bind(this)];const J=(0,i.WQX)(c.lJ),rt=J.portalContext.getVpContextService(),vt=J.portalContext.getNavigationService();this.#t.push(vt.navigation$.subscribe(Et=>{this.#n.afterLoginProcess=!!Et?.menus?.find(It=>"enforcedPageAfterLogin"===It.name),this.#a()})),this.#t.push(rt?.vpContext$.subscribe(Et=>{this.#n.context=Et?.identifier,this.#a()})),this.#t.push((0,N.z)([(0,O.br)(this.sobRemoveInRestrictedMode),(0,O.br)(this.sobRemoveInRestrictedModeAlternativeForContext),(0,O.br)(this.sobRemoveInRestrictedModeAlternativeForProcessAfterLogin)]).subscribe(([Et,It,yt])=>{this.#e={...this.#e,...Et},this.#o.context=It,this.#o.afterLoginProcess=yt,this.#a()}))}ngOnDestroy(){this.#t.forEach(J=>J?.unsubscribe())}#a(){const J=[];this.#c.find(vt=>{const Et=vt(this.#e,this.#n,this.#o),It=Et.length>0;return J.push(...Et),It})&&J.forEach(vt=>vt())}#s;#u;#l;#c;static{this.\u0275fac=function(rt){return new(rt||P)}}static{this.\u0275dir=C.FsC({type:P,selectors:[["","sobRemoveInRestrictedMode",""]],inputs:{sobRemoveInRestrictedMode:[1,"sobRemoveInRestrictedMode"],sobRemoveInRestrictedModeAlternativeForContext:[1,"sobRemoveInRestrictedModeAlternativeForContext"],sobRemoveInRestrictedModeAlternativeForProcessAfterLogin:[1,"sobRemoveInRestrictedModeAlternativeForProcessAfterLogin"]},features:[C.Jv_([c.lJ])]})}}return P})();const q="portal_features";let K=(()=>{class P{feature(J){return"on"===this.getValueOfFeatureToggle(J)}features(){const J=it(q),rt=it("portal_settings");return rt||J?{...J,...rt}:{}}getValueOfFeatureToggle(J){return this.features()[J]||""}static{this.\u0275fac=function(rt){return new(rt||P)}}static{this.\u0275prov=i.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})();function j(P){try{return"on"===it(q)[P]}catch{return!1}}function it(P){const V=document.querySelector(`meta[name="${P}"]`);if(!V||!("content"in V)||!V.content)return{};const J=V.content;try{return JSON.parse(decodeURIComponent(J))}catch{return{}}}const et="portal-ui:multiLingualismSwitcher:1",F="sme:featureOne:1",lt="sme:shopValidation:1",$="HomepageChatBot:imOnlineBanking:1";var pt=e(436);let X=(()=>{class P{constructor(){this.domSanitizer=(0,i.WQX)(pt.up)}transform(J){return this.domSanitizer.sanitize(i.WPN.HTML,J)}static{this.\u0275fac=function(rt){return new(rt||P)}}static{this.\u0275pipe=C.EJ8({name:"sobSanitize",type:P,pure:!0})}}return P})();function at(P){return P?[P.key??"",P.pathParameter??"",P.queryParameter??""].join("|"):""}function dt(P,V){return!P&&!V||!(!P||!V)&&at(P)===at(V)}function H(P,V){return!P&&!V||!(!P||!V)&&P.key===V.key}function nt(P){return"gvRoute"===P.keyType?P:P.menuEntries?.find(V=>"gvRoute"===V.keyType)??null}function ft(P){return P.key+(P.pathParameter??"")}const T=P=>new URL(P,window.location.origin),y=P=>{if(P&&P.indexOf("?")>-1){const V=A(P);if(V){const J=new URLSearchParams(V),rt={};return J.forEach((vt,Et)=>{rt[Et]=vt.toString()}),rt}}return null},w=P=>{const V=P.queryParameter?.trim();return V&&0!==V.length?y(V.startsWith("?")?V:`?${V}`):null},I=P=>P&&-1===P.indexOf("?")||!P?P:P.includes("#")?P.split("#").map(T).map(V=>V.pathname).join("#"):T(P).pathname,A=P=>{const V=P?P.indexOf("?"):-1;if(V>=0&&V<P.length-1){const J=P.split("#").map(T).find(rt=>rt?.searchParams?.toString());return J?J.searchParams.toString():""}return""},Q=P=>{let V;if(P){const J=Object.entries(P).map(([rt,vt])=>[rt,"object"==typeof vt?JSON.stringify(vt):""+vt]);V=new URLSearchParams(J).toString()}else V="";return V?`?${V}`:""};let ot=(()=>{class P{transform(J){return J?.filter(Ct)??[]}static{this.\u0275fac=function(rt){return new(rt||P)}}static{this.\u0275pipe=C.EJ8({name:"visibleMenuEntries",type:P,pure:!0})}}return P})();const ct=P=>"true"===P.hidden?.trim().toLowerCase(),Ct=P=>!(ct(P)||"forward"===P.keyType&&!P.menuEntries?.some(V=>!ct(V)))},9137(){},6191(U,R,e){e.d(R,{I:()=>C});var i=e(7580),a=e(7511),t=e(8123),s=e(6124);function x(M,_){if(1&M&&s.nrm(0,"kf-icon",0),2&M){const g=s.XpG();s.Y8G("name",g.getIconName())}}const E={"ic_metanavi-beratung-und-angebote":"ic_metanavigation-beratung-und-angebote","ic_metanavi-banking-und-vertrage":"ic_metanavigation-banking-und-vertraege","ic_metanavi-wertpapier-und-markte":"ic_metanavigation-wertpapier-und-depot","ic_metanavi-strategien-und-impulse":"ic_metanavgation-sie-und-ihr-unternehmen","ic_metanavi-service":"ic_metanavigation-service-und-mehrwerte"};let C=(()=>{class M{constructor(){this.#t="ic_metanavi-banking-und-vertrage",this.mobile=(0,i.hFB)(void 0),this.menuEntry=(0,i.hFB)(void 0),this.showIcon=(0,a.EW)(()=>{const g=this.menuEntry();return void 0===g||!!g?.menuIcon})}#t;getIconName(){const g=this.mobile()?"_32":"_40";return this.#n()+g}#e(g){return E[g]??g}#n(){let g=this.menuEntry()?.menuIcon??this.#t;return this.mobile()&&(g=this.#e(g)),g}static{this.\u0275fac=function(f){return new(f||M)}}static{this.\u0275cmp=s.VBU({type:M,selectors:[["sob-portal-menu-icon"]],inputs:{mobile:[1,"mobile"],menuEntry:[1,"menuEntry"]},decls:1,vars:1,consts:[[3,"name"]],template:function(f,S){1&f&&s.nVh(0,x,1,1,"kf-icon",0),2&f&&s.vxM(S.showIcon()?0:-1)},dependencies:[t.KY],styles:[".margin-left-0[_ngcontent-%COMP%]:before{margin-left:0!important}"],changeDetection:0})}}return M})()},4161(U,R,e){e.d(R,{a:()=>T});var i=e(8438),a=e(9748),t=e(7580),s=e(6563),x=e(2204),E=e(5363),C=e(1128),M=e(8123),_=e(9937),g=e(9442),f=e(1567),S=e(271),l=e(778),b=e(6625),h=e(9898),m=e(2023),O=e(8503),c=e(6124);let N=(()=>{class y{constructor(){this.inMobileMenu=(0,t.hFB)(!1,{alias:"sobSecondGroupOfMobileMenu"}),this.#t=(0,s.WQX)(c.aKT)}#t;ngOnInit(){this.inMobileMenu()?this.#t.nativeElement.classList.add("d-flex","d-sm-none"):this.#t.nativeElement.classList.add("d-none","d-sm-flex","ml-2")}static{this.\u0275fac=function(A){return new(A||y)}}static{this.\u0275dir=c.FsC({type:y,selectors:[["","sobSecondGroupOfMobileMenu",""]],inputs:{inMobileMenu:[1,"sobSecondGroupOfMobileMenu","inMobileMenu"]}})}}return y})();var k=e(9599),q=e(2535);const z=y=>({active:y});
1function K(y,w){if(1&y&&(c.j41(0,"div",2),c.nrm(1,"kf-icon",14),c.j41(2,"span",15),c.EFF(3),c.k0s()()),2&y){const I=c.XpG();c.Y8G("sobSecondGroupOfMobileMenu",I.inMobileMenu()),c.R7$(3),c.SpI(" ",I.userName," ")}}function j(y,w){if(1&y&&(c.j41(0,"button",16,1),c.bIt("click",function(){return!1})("keydown.arrowleft",function(A){return A.preventDefault()})("keydown.arrowright",function(A){return A.preventDefault()}),c.nrm(2,"kf-icon",17),c.j41(3,"span",18),c.EFF(4),c.k0s(),c.nrm(5,"kf-icon",19),c.k0s()),2&y){const I=c.sdS(1),A=c.XpG(),Q=c.sdS(3);c.AVh("opened",I.menuOpen),c.Y8G("sobSecondGroupOfMobileMenu",A.inMobileMenu())("matMenuTriggerFor",Q),c.BMQ("aria-label",A.profilemenuButtonScreenReaderText),c.R7$(4),c.SpI(" ",A.userName," ")}}function it(y,w){if(1&y){const I=c.RV6();c.SS7(0),c.nI1(1,"async"),c.j41(2,"button",20),c.nI1(3,"sobMatchesMenuEntry"),c.nI1(4,"sobMatchesMenuEntry"),c.bIt("click",function(){const Q=s.eBV(I).$implicit,ot=c.XpG();return s.Njj(ot.onProfileMenuEntryClicked(Q))})("keydown.enter",function(){const Q=s.eBV(I).$implicit,ot=c.XpG();return s.Njj(ot.onProfileMenuEntryClicked(Q))})("keydown.space",function(){const Q=s.eBV(I).$implicit,ot=c.XpG();return s.Njj(ot.onProfileMenuEntryClicked(Q))}),c.j41(5,"div",21),c.nrm(6,"span",22),c.j41(7,"span"),c.EFF(8),c.k0s()()()}if(2&y){const I=w.$implicit,A=c.XpG(),Q=c.bMT(1,6,A.selectedPath$);c.R7$(2),c.Y8G("id",c.mNQ(I.menuText+I.key))("ngClass",c.eq3(14,z,!!Q&&c.i5U(3,8,Q,I))),c.BMQ("aria-current",!!Q&&c.i5U(4,11,Q,I)),c.R7$(5),c.BMQ("aria-label",A.getAriaLabelForMenuEntry(I.menuText)),c.R7$(),c.JRh(I.menuText)}}let et=(()=>{class y{set matMenuTrigger(I){this.#l=I}set logoutButton(I){this.#u=I}#t;#e;#n;#o;#i;#r;#a;#s;#u;#l;constructor(){this.menuEntry=(0,t.hFB)(void 0),this.activeEntry=(0,t.hFB)(void 0),this.inMobileMenu=(0,t.hFB)(void 0),this.#o=(0,s.WQX)(_.J),this.#i=(0,s.WQX)(C.WT),this.#r=(0,s.WQX)(O.c$);const I=(0,s.WQX)(g.lJ);this.#t=I.portalContext.getSecurityService(),this.#e=I.portalContext.getNavigationService(),this.#n=I.portalContext.getLoggingService(),this.#a=this.#e.navigation$.subscribe(A=>{this.#s=!!A?.menus?.find(Q=>"enforcedPageAfterLogin"===Q.name)})}ngOnInit(){this.#i.nativeWindow.addEventListener("resize",this.#c.bind(this)),this.selectedPath$=this.#e.selectedPath$,this.userName=this.#t.getUserDisplayName();const I=this.#r.instant("PROFILE_MENU.BUTTON_SCREEN_READER_PREFIX_TEXT"),A=this.#r.instant("PROFILE_MENU.BUTTON_SCREEN_READER_POSTFIX_TEXT");this.profilemenuButtonScreenReaderText=`${I} ${this.userName} ${A}`}ngOnDestroy(){this.#i.nativeWindow.removeEventListener("resize",this.#c.bind(this)),this.#a.unsubscribe()}get hasProfileMenu(){const I=this.menuEntry();return!this.#s&&I&&I.menuEntries&&I.menuEntries.length>0}onProfileMenuEntryClicked(I){this.#o.closeMenu();const A=(0,C.TT)(I);A?this.#e.navigate((0,C.qd)(A),(0,C.rZ)(A)):this.#n.warn("StaticMenuElementComponent","onProfileMenuEntryClicked","navigation structure is corrupt","menu entry without attached navigatable key or child",I.key)}focusLogout(){this.#u.focus()}#c(){this.#l&&this.#l.closeMenu()}getAriaLabelForMenuEntry(I){return I+" link"}static{this.\u0275fac=function(A){return new(A||y)}}static{this.\u0275cmp=c.VBU({type:y,selectors:[["sob-ui-profilemenu"]],viewQuery:function(A,Q){if(1&A&&c.GBs(m.Cp,5)(q.m,5),2&A){let ot;c.mGM(ot=c.lsd())&&(Q.matMenuTrigger=ot.first),c.mGM(ot=c.lsd())&&(Q.logoutButton=ot.first)}},inputs:{menuEntry:[1,"menuEntry"],activeEntry:[1,"activeEntry"],inMobileMenu:[1,"inMobileMenu"]},decls:21,vars:13,consts:[["profileMenu","matMenu"],["profileMenuTrigger","matMenuTrigger"],["data-test","profile",1,"pt-header-profile-arrow-btn","kf-align-items-center","kf-text-decoration-none",3,"sobSecondGroupOfMobileMenu"],["data-test","profile","aria-haspopup","menu",1,"pt-header-profile-arrow-btn","kf-align-items-center","kf-text-decoration-none",3,"sobSecondGroupOfMobileMenu","opened","matMenuTriggerFor"],[1,"pt-profile-menu"],["mat-menu-item","","role","menuitem",1,"profile-menu-item",3,"ngClass","id"],["data-test","session-section","mat-menu-item","",1,"pt-session-detail
1s","kf-p-16","no-visible-focus",3,"keyup.arrowup","keyup.arrowdown","keydown.arrowleft","keydown.arrowright"],[1,"kf-d-flex"],["name","ic_person-mit-kreis_32",1,"kf-m-t-b-auto","pt-text-color-active"],[1,"pt-user-name","pt-session-user-name","notranslate"],[1,"pt-logout-text","mat-small"],["aria-hidden","true"],[1,"kf-d-flex","kf-p-t-16","kf-justify-content-end"],[3,"hasDarkBackground","hasBorder"],["name","ic_person-mit-kreis_24",1,"kf-flex-shrink-0"],["data-test","user-name",1,"notranslate","pt-header-user-name","kf-m-l-8"],["data-test","profile","aria-haspopup","menu",1,"pt-header-profile-arrow-btn","kf-align-items-center","kf-text-decoration-none",3,"click","keydown.arrowleft","keydown.arrowright","sobSecondGroupOfMobileMenu","matMenuTriggerFor"],["name","ic_person-mit-kreis_24",1,"kf-m-r-8"],["data-test","user-name",1,"notranslate","pt-user-name","pt-header-user-name","kf-m-l-8"],["name","ic_chevron-down_24",1,"pt-header-user-arrow","kf-flex-shrink-0","kf-m-l-4"],["mat-menu-item","","role","menuitem",1,"profile-menu-item",3,"click","keydown.enter","keydown.space","ngClass","id"],["data-test","profile-menu-item",1,"profile-menu-item__label"],[1,"active-line"]],template:function(A,Q){if(1&A&&(c.nVh(0,K,4,2,"div",2)(1,j,6,6,"button",3),c.j41(2,"mat-menu",4,0),c.Z7z(4,it,9,16,"button",5,c.Vm6),c.nI1(6,"visibleMenuEntries"),c.j41(7,"section",6),c.nI1(8,"translate"),c.bIt("keyup.arrowup",function(){return Q.focusLogout()})("keyup.arrowdown",function(){return Q.focusLogout()})("keydown.arrowleft",function(ct){return ct.preventDefault()})("keydown.arrowright",function(ct){return ct.preventDefault()}),c.j41(9,"div",7),c.nrm(10,"kf-icon",8),c.j41(11,"div")(12,"div",9),c.EFF(13),c.k0s(),c.j41(14,"div",10)(15,"span",11),c.EFF(16),c.nI1(17,"translate"),c.k0s(),c.nrm(18,"sob-ui-countdown"),c.k0s()()(),c.j41(19,"div",12),c.nrm(20,"sob-ui-logout-button",13),c.k0s()()()),2&A){let ot;c.vxM(Q.hasProfileMenu?1:0),c.R7$(4),c.Dyx(c.bMT(6,7,null==(ot=Q.menuEntry())?null:ot.menuEntries)),c.R7$(3),c.BMQ("aria-label",c.bMT(8,9,"PROFILE_MENU.SESSION_DETAILS"))("role","complementary"),c.R7$(6),c.SpI(" ",Q.userName," "),c.R7$(3),c.SpI("",c.bMT(17,11,"LOGOUT_WARNING.LOGOUT_IN"),"\xa0"),c.R7$(4),c.Y8G("hasDarkBackground",!0)("hasBorder",!0)}},dependencies:[N,M.KY,m.Cp,m.kk,m.fb,a.YU,k.N,q.m,a.Jj,O.TranslatePipe,h.n,C.o0],styles:['.mat-mdc-menu-panel.pt-profile-menu{min-height:40px!important;background-color:var(--header-usermenu-background)!important;max-width:280px!important} .mat-mdc-menu-panel.pt-profile-menu .mat-mdc-menu-content:not(:empty){padding:0} .pt-session-details .mat-mdc-menu-item-text{display:block!important}.pt-header-user-arrow[_ngcontent-%COMP%]{transition:transform .3s ease-out}.pt-header-profile-arrow-btn[_ngcontent-%COMP%]{color:inherit;height:40px;background-color:transparent;border:0;margin:0!important}.pt-header-profile-arrow-btn.opened[_ngcontent-%COMP%]{background-color:var(--header-metanavigation-background-hover)}.pt-header-profile-arrow-btn.opened[_ngcontent-%COMP%] .pt-header-user-arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.pt-header-profile-arrow-btn[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--header-metanavigation-focus-box-shadow)!important}.pt-header-profile-arrow-btn[_ngcontent-%COMP%]:hover:not(div){background-color:var(--header-metanavigation-background-hover)}.pt-user-name[_ngcontent-%COMP%]{margin-left:0!important;line-height:16px;font-size:16px;max-width:160px;font-weight:700;overflow-wrap:break-word;text-overflow:ellipsis;overflow:hidden;vertical-align:middle;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-user-select:none;user-select:none}.pt-header-user-name[_ngcontent-%COMP%]{font-size:13px}.active[_ngcontent-%COMP%]{color:var(--color-foreground-text);background-color:var(--header-usermenu-background)!important}[_nghost-%COMP%]{display:block}.profile-menu-item[_ngcontent-%COMP%]{background-color:transparent}.mat-mdc-menu-item.profile-menu-item[_ngcontent-%COMP%]{min-width:208px;max-width:360px;padding:0!important}.profile-menu-item[_ngcontent-%COMP%] .profile-menu-item__label[_ngcontent-%COMP%]{padding:12px 16px;line-height:24px;font-size:16px;white-space:normal;color:var(--header-usermenu-text-color);display:flex;align-items:center}.mat-mdc-menu-item.profile-menu-item.active[_ngcontent-%COMP%]{font-weight:700;color:var(--header-usermenu-text-color-active)}.mat-mdc-menu-item.profile-menu-item.active[_ngcontent-%COMP%] .profile-menu-item__label[_ngcontent-%COMP%]{padding:12px 16px 12px 2px}.mat-mdc-menu-item[_ngcontent-%COMP%]:hover:not([disabled],.no-hover){background-color:var(--header-usermenu-background-hover)}.mat-mdc-menu-item.profile-menu-item.active[_ngcontent-%COMP%] .profile-menu-item__label[_ngcontent-%COMP%] .active-line[_ngcontent-%COMP%]{margin-right:11px;content:"";position:relative;bottom:0;left:0;right:0;background:var(--header-usermenu-active-emphasis-color);height:24px;width:3px;border-radius:3px}.profile-menu-item[_ngcontent-%COMP%] kf-icon[_ngcontent-%COMP%]{margin-right:0}
1.pt-session-details[_ngcontent-%COMP%]{line-height:18px;font-size:13px;font-weight:700;background-color:var(--header-metanavigation-background);color:var(--header-metanavigation-text-color);cursor:default}.pt-session-details.no-visible-focus[_ngcontent-%COMP%]:after{box-shadow:none!important}.pt-session-details.mat-mdc-menu-item[_ngcontent-%COMP%]:hover, .pt-session-details.mat-mdc-menu-item[_ngcontent-%COMP%]:focus{background-color:var(--header-metanavigation-background)!important}.pt-session-details[_ngcontent-%COMP%] .mat-mdc-menu-item-text[_ngcontent-%COMP%]{display:block!important}.pt-session-details[_ngcontent-%COMP%] .pt-logout-text[_ngcontent-%COMP%]{font-weight:400;color:var(--header-metanavigation-text-color)}.pt-session-details[_ngcontent-%COMP%] .pt-session-user-name[_ngcontent-%COMP%]{white-space:normal;color:var(--header-metanavigation-text-color-active)}.pt-session-details[_ngcontent-%COMP%] .pt-text-color-active[_ngcontent-%COMP%]{color:var(--header-metanavigation-text-color-active)}']})}}return y})();var F=e(9751);const lt=y=>({"flex-wrap":y}),$=()=>({afterLoginProcess:!0});function pt(y,w){if(1&y){const I=c.RV6();c.j41(0,"button",4),c.nI1(1,"async"),c.nI1(2,"sobMatchesMenuEntry"),c.bIt("click",function(){s.eBV(I);const Q=c.XpG(2).$implicit,ot=c.XpG();return s.Njj(ot.onContainerItemClicked(Q))})("keyup",function(Q){s.eBV(I);const ot=c.XpG(2).$implicit,ct=c.XpG();return s.Njj(ct.onContainerItemKeyUp(Q,ot))}),c.nrm(3,"kf-icon",5),c.k0s()}if(2&y){const I=c.XpG(2).$implicit,A=c.XpG();c.AVh("active",c.i5U(2,12,c.bMT(1,10,A.selectedPath$),I)),c.Y8G("matTooltip",c.mNQ(I.menuText))("sobFirstGroupOfMobileMenu",A.inMobileMenu())("disableRipple",!0)("matTooltipShowDelay",500),c.BMQ("data-automation-id",I.menuText)("aria-label",I.menuText),c.R7$(3),c.Y8G("name",I.menuIcon)}}function X(y,w){1&y&&c.DNE(0,pt,4,15,"button",3),2&y&&c.Y8G("sobRemoveInRestrictedMode",c.lJ4(1,$))}function at(y,w){if(1&y){const I=c.RV6();c.j41(0,"sob-ui-web-component-menu-entry",7),c.nI1(1,"async"),c.nI1(2,"sobMatchesMenuEntry"),c.nI1(3,"async"),c.nI1(4,"sobMatchesMenuEntry"),c.bIt("click",function(){s.eBV(I);const Q=c.XpG(2).$implicit,ot=c.XpG();return s.Njj(ot.onContainerItemClicked(Q))})("keyup",function(Q){s.eBV(I);const ot=c.XpG(2).$implicit,ct=c.XpG();return s.Njj(ct.onContainerItemKeyUp(Q,ot))}),c.k0s()}if(2&y){const I=c.XpG(2).$implicit,A=c.XpG();c.AVh("active",c.i5U(2,9,c.bMT(1,7,A.selectedPath$),I)),c.Y8G("activeEntry",c.i5U(4,14,c.bMT(3,12,A.selectedPath$),I))("sobFirstGroupOfMobileMenu",A.inMobileMenu())("menuEntry",I),c.BMQ("aria-label",I.menuText)("data-automation-id",I.menuText)}}function dt(y,w){1&y&&c.DNE(0,at,5,17,"sob-ui-web-component-menu-entry",6),2&y&&c.Y8G("sobRemoveInRestrictedMode",c.lJ4(1,$))}
1function H(y,w){if(1&y&&(c.nrm(0,"sob-ui-profilemenu",9),c.nI1(1,"async"),c.nI1(2,"sobMatchesMenuEntry"),c.nI1(3,"async"),c.nI1(4,"sobMatchesMenuEntry")),2&y){const I=c.XpG(2).$implicit,A=c.XpG();c.AVh("active",c.i5U(2,9,c.bMT(1,7,A.selectedPath$),I)),c.Y8G("activeEntry",c.i5U(4,14,c.bMT(3,12,A.selectedPath$),I))("menuEntry",I)("inMobileMenu",A.inMobileMenu()),c.BMQ("data-automation-id",I.menuText)("aria-label",I.menuText)}}function nt(y,w){if(1&y&&c.nVh(0,H,5,17,"sob-ui-profilemenu",8),2&y){const I=c.XpG(2);c.vxM(I.hideProfileInBurgerMenu()?-1:0)}}function ft(y,w){if(1&y&&c.nVh(0,X,1,2,"button",1)(1,dt,1,2,"sob-ui-web-component-menu-entry",2)(2,nt,1,1),2&y){let I;c.vxM("link"===(I=w.$implicit.elementType)?0:"webComponent"===I?1:"profile"===I?2:-1)}}let T=(()=>{class y{#t;#e;#n;constructor(){this.currentPreviousGroup="#meta-navigation",this.inMobileMenu=(0,t.hFB)(void 0),this.hideProfileInBurgerMenu=(0,t.hFB)(void 0),this.#t=(0,s.WQX)(_.J),this.#e=(0,s.WQX)(i.Q),this.#n=(0,s.WQX)(g.lJ).portalContext.getNavigationService(),this.selectedPath$=this.#n.selectedPath$,this.#e.observe([C.H5.FROM_L]).subscribe(I=>{this.currentPreviousGroup=I.matches?"#meta-navigation":".burger-menu"}),this.#e.observe([C.H5.FROM_M])}ngOnInit(){this.barContainerElements=this.#n.navigation$.pipe((0,f.p)(Boolean),(0,S.T)(I=>I.menus.find(A=>"right-header-bar"===A.name)),(0,f.p)(Boolean),(0,S.T)(I=>I.menuEntries),(0,S.T)(I=>I.map(this.#o)),(0,l.U)([]))}onContainerItemClicked(I){"link"===I.elementType&&this.#n.navigate((0,C.qd)(I),(0,C.rZ)(I)),["question-mark","dev/widget"].includes(I.key)||this.#t.closeMenu()}onContainerItemKeyUp(I,A){("Enter"==I.key||" "==I.key)&&this.onContainerItemClicked(A)}#o(I){let A;return"gvRoute"===I.keyType?A="link":"menuComponent"===I.keyType&&("portalComponent"===I.keyIntegrationType?A="profile"===I.portalComponent?"profile":"portalComponent":"webComponent"===I.keyIntegrationType&&(A="webComponent")),{...I,elementType:A}}static{this.\u0275fac=function(A){return new(A||y)}}static{this.\u0275cmp=c.VBU({type:y,selectors:[["sob-ui-bar-container"]],inputs:{inMobileMenu:[1,"inMobileMenu"],hideProfileInBurgerMenu:[1,"hideProfileInBurgerMenu"]},decls:4,vars:5,consts:[["id","bar-container",1,"kf-d-flex","kf-align-items-center",3,"ngClass"],["data-test","container-element","mat-icon-button","",1,"header-bar-comp-btn","kf-header-color-text","kf-header-color-act-text","menu-entry",3,"active","sobFirstGroupOfMobileMenu","disableRipple","matTooltip","matTooltipShowDelay"],["data-test","container-element",1,"header-bar-comp-btn","webcomp-margin",3,"active","activeEntry","sobFirstGroupOfMobileMenu","menuEntry"],["class","header-bar-comp-btn kf-header-color-text kf-header-color-act-text menu-entry","data-test","container-element","mat-icon-button","",3,"active","sobFirstGroupOfMobileMenu","disableRipple","matTooltip","matTooltipShowDelay","click","keyup",4,"sobRemoveInRestrictedMode"],["data-test","container-element","mat-icon-button","",1,"header-bar-comp-btn","kf-header-color-text","kf-header-color-act-text","menu-entry",3,"click","keyup","sobFirstGroupOfMobileMenu","disableRipple","matTooltip","matTooltipShowDelay"],["aria-hidden","true",3,"name"],["class","header-bar-comp-btn webcomp-margin","data-test","container-element",3,"active","activeEntry","sobFirstGroupOfMobileMenu","menuEntry","click","keyup",4,"sobRemoveInRestrictedMode"],["data-test","container-element",1,"header-bar-comp-btn","webcomp-margin",3,"click","keyup","activeEntry","sobFirstGroupOfMobileMenu","menuEntry"],["data-test","profile-element","data-tour-guide-required-element","profile-element","element","profile",1,"profile-bar-comp-btn","menu-entry",3,"active","activeEntry","menuEntry","inMobileMenu"],["data-test","profile-element","data-tour-guide-required-element","profile-element","element","profile",1,"profile-bar-comp-btn","menu-entry",3,"activeEntry","menuEntry","inMobileMenu"]],template:function(A,Q){1&A&&(c.j41(0,"div",0),c.Z7z(1,ft,3,1,null,null,c.Vm6),c.nI1(3,"async"),c.k0s()),2&A&&(c.Y8G("ngClass",c.eq3(3,lt,Q.inMobileMenu())),c.R7$(),c.Dyx(c.bMT(3,1,Q.barContainerElements)))},dependencies:[a.YU,C.rb,x.iY,b.f,E.oV,M.KY,F._,et,a.Jj,h.n],styles:['.header-bar-comp-btn[_ngcontent-%COMP%], .profile-bar-comp-btn[_ngcontent-%COMP%]{position:relative}.header-bar-comp-btn.active[_ngcontent-%COMP%]:after, .profile-bar-comp-btn.active[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;right:0;background:var(--header-metanavigation-active-emphasis-color);height:3px;border-radius:2px;margin-bottom:2px}.header-bar-comp-btn[_ngcontent-%COMP%]:hover{background-color:var(--header-metanavigation-background-hover)}.profile-bar-comp-btn[_ngcontent-%COMP%]{color:var(--header-metanavigation-text-color)}.profile-bar-comp-btn.active[_ngcontent-%COMP%]{color:var(--header-metanavigation-text-color-active)}.webcomp-margin[_ngcontent-%COMP%]{margin:0 8px}']})}}return y})()},9599(U,R,e){e.d(R,{N:()=>M});var i=e(6563),a=e(7511),t=e(8503),s=e(4630),x=e(6124);function E(_,g){if(1&_&&(x.rj2(0,"span",0),x.EFF(1),x.eux()),2&_){const f=x.XpG();x.R7$(),x.JRh(f.counter())}}function C(_,g){1&_&&(x.rj2(0,"span",0),x.EFF(1,"5:00"),x.eux())}let M=(()=>{class _{#t;#e;#n;#o;#i;#r;#a;#s;#u;#l;constructor(){this.screenReaderLabelOutput=new i.bkB,this.#t=(0,i.WQX)(s.f),this.#e=(0,i.WQX)(t.c$),this.#l=void 0,this.#c=(0,a.EW)(()=>Math.floor(this.#t.countdown()/3600)),this.#d=(0,a.EW)(()=>Math.floor(this.#t.countdown()%3600/60)),this.#m=(0,a.EW)(()=>this.#t.countdown()%60),this.counter=(0,a.EW)(()=>{let f=this.#f();return f.length>8&&(f=""),f}),this.#h="",this.screenReaderLabel=(0,a.EW)(()=>{const f=this.#t.countdown();if(!this.#l||f>this.#l||Math.abs(this.#l-f)>=30){this.#l=f;let l=`${this.#n} `;this.#c()>0&&(l+=`${this.#c()} ${1===this.#c()?this.#i:this.#o} `),l+=`${this.#d()} ${1===this.#d()?this.#a:this.#r} `,l+=`${this.#m()} ${1===this.#m()?this.#u:this.#s}`,this.#h=l,this.screenReaderLabelOutput.emit(this.#h)}return this.#h}),this.#n=this.#e.instant("COUNTDOWN.BEGINNING"),this.#o=this.#e.instant("COUNTDOWN.HOURS"),this.#i=this.#e.instant("COUNTDOWN.HOUR"),this.#r=this.#e.instant("COUNTDOWN.MINUTES"),this.#a=this.#e.instant("COUNTDOWN.MINUTE"),this.#s=this.#e.instant("COUNTDOWN.SECONDS"),this.#u=this.#e.instant("COUNTDOWN.SECOND")}#c;#d;#m;#h;#f(){const f=this.#m()%60;let S="";return this.#c()>0&&(S+=this.#c().toString().padStart(2,"0")+":"),S+=this.#d().toString().padStart(2,"0")+":",S+=f.toString().padStart(2,"0"),S}static{this.\u0275fac=function(S){return new(S||_)}}static{this.\u0275cmp=x.VBU({type:_,selectors:[["sob-ui-countdown"]],outputs:{screenReaderLabelOutput:"screenReaderLabelOutput"},decls:4,vars:2,consts:[["aria-hidden","true"],["aria-atomic","true",1,"cdk-visually-hidden"]],template:function(S,l){1&S&&(x.nVh(0,E,2,1,"span",0)(1,C,2,0,"span",0),x.rj2(2,"span",1),x.EFF(3),x.eux()),2&S&&(x.vxM(l.counter()?0:1),x.R7$(3),x.JRh(l.screenReaderLabel()))},styles:["[_nghost-%COMP%]:focus, .focus-visible[_nghost-%COMP%]{box-shadow:var(--options-focus-box-sha
1dow);outline:0}"]})}}return _})()},4630(U,R,e){e.d(R,{f:()=>q});var i=e(6563),a=e(1128),t=e(639),s=e(9495),x=e(5047),E=e(4157),C=e(9442),M=e(1567),_=e(8537),g=e(3617),f=e(5797),S=e(7092),l=e(4205),b=e(9240),h=e(3900);let m=(()=>{class z{#t;#e;#n;constructor(){this.oneSecondIntervall$=new f.t(1),this.#e=new S.yU,this.#n=new l.B,this.#t=(0,b.Y)(1e3).pipe((0,h.Q)(this.#n))}ngOnDestroy(){this.#n.next(),this.#n.complete(),this.#e.unsubscribe()}startInterval(){this.#e.add(this.#t.subscribe(j=>{this.oneSecondIntervall$.next(j+1)}))}static{this.\u0275fac=function(it){return new(it||z)}}static{this.\u0275prov=i.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})();const c=1e3,N="portal-ui-countdown-current",k="portal-ui-countdown-initialize";let q=(()=>{class z{#t;#e;#n;#o;#i;#r;#a;#s;#u;#l;#c;#d;#m;constructor(){this.#t=(0,i.WQX)(C.lJ),this.#e=(0,i.WQX)(E.D),this.#n=(0,i.WQX)(m),this.#o=(0,i.WQX)(t.M),this.#i=(0,i.WQX)(a.WT),this.#r=(0,i.WQX)(s.x),this.#a=(0,i.WQX)(x.kj),this.#s=this.#t.portalContext.getNavigationService(),this.#u="portalCountdownRegisteredInterval",this.#c=0,this.#d=0,this.countdown=(0,i.vPA)(300),this.#b(),this.#a.authChanges.pipe((0,M.p)(F=>F===x.BW.CUSTOMER),(0,M.p)(()=>!this.#m)).subscribe(()=>{this.#m=this.#_(),this.#v()}),this.#o.sessionExpiresInSeconds$.pipe((0,M.p)(F=>this.#h(F)||this.#f(F))).subscribe(F=>{this.#m=F,this.#y({key:k,value:this.#m}),this.#E()});const j=(0,_.R)(document,"click"),it=(0,_.R)(document,"keydown"),et=(0,_.R)(document,"keyup");(0,g.h)(j,it,et).subscribe(()=>this.#E()),this.#r.observeOn(t.M.PORTAL_SESSION_EXPIRY_DATA_EXCHANGE_KEY).pipe((0,M.p)(F=>null===F)).subscribe(()=>this.removeCountdownFromLocalStorage())}get worker(){return this.#l}#h(j){return null==this.#m||j>this.#m}#f(j){return this.#M>-1&&Math.ceil(this.#M/c)<j}#g(){return new Date(this.#e.getCurrentDateTimeAsMillis()).getTime()+60*(new Date).getTimezoneOffset()*c}#v(){const j=this.#o.sessionExpiresInSeconds*c;this.#m&&(this.#M<j||!this.#c)&&this.#E()}#b(){if(typeof Worker<"u")this.#l=this.#C();else{if(window[this.#u])return;this.#n.startInterval(),window[this.#u]=this.#n.oneSecondIntervall$.subscribe(()=>{this.#p()})}}#p(){const j=this.#g(),it=Math.max(0,this.#c-j),et=Math.ceil(it/c);this.#I(et),this.countdown.set(et)}#E(){const j=this.#g();this.#c=j+this.#m*c,this.#p()}get#M(){return this.#o.getSessionExpiry()-this.#e.getCurrentDateTimeAsMillis()}#C(){const j=new Worker(new URL(`${this.#s.getPortalBasePath()}js/countdown-worker-v2.js`,window.location.origin));return j.onmessage=()=>{this.#p()},j.onerror=()=>{j.terminate()},j}#_(){const j=this.#i.nativeWindow.localStorage.getItem(k);return null!=j?Number(j):void 0}#T(){const j=this.#i.nativeWindow.localStorage.getItem(N);return null!=j?Number(j):void 0}#y({key:j,value:it}){this.#i.nativeWindow.localStorage.setItem(j,String(it))}#I(j){if(document.hidden){const it=this.#T();this.#d!==it&&it>j&&(this.#c=this.#g()+it*c),this.#d=it}else this.#y({key:N,value:j})}removeCountdownFromLocalStorage(){this.#i.nativeWindow.localStorage.removeItem(k),this.#i.nativeWindow.localStorage.removeItem(N)}static{this.\u0275fac=function(it){return new(it||z)}}static{this.\u0275prov=i.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})()},2535(U,R,e){e.d(R,{m:()=>O});var i=e(9748),a=e(7580),t=e(6563),s=e(2782),x=e(8123),E=e(9442),C=e(8503),M=e(3978),_=e(9223),g=e(6124);const f=["logoutButton"],S=(c,N,k)=>({"meta-nav-active-text":c,"portal-ui-logout-btn":N,"kf-color-primary":k}),l=c=>({"d-block":c}),b=(c,N,k)=>({"meta-nav-active-text":c,"portal-ui-logout-btn":N,"kf-color-primary-contrast":k});function h(c,N){if(1&c){const k=g.RV6();g.j41(0,"button",3,0),g.nI1(2,"translate"),g.bIt("click",function(z){t.eBV(k);const K=g.XpG();return t.Njj(K.logout(z))}),g.j41(3,"span",4),g.EFF(4),g.nI1(5,"translate"),g.k0s(),g.nrm(6,"kf-icon",5),g.k0s()}if(2&c){const k=g.XpG();g.Y8G("ngClass",g.sMw(10,S,k.hasDarkBackground(),!k.showTextOnSmallScreens(),!k.hasDarkBackground()))("disableRipple",!0),g.BMQ("data-automation-id",k.DataAutomationIds.LOGOUT_BUTTON)("aria-label",g.bMT(2,6,"NAVIGATION.LOGOUT")),g.R7$(3),g.Y8G("ngClass",g.eq3(14,l,k.showTextOnSmallScreens())),g.R7$(),g.JRh(g.bMT(5,8,"LOGOUT_BUTTON.TEXT"))}}function m(c,N){if(1&c){const k=g.RV6();g.j41(0,"button",6,0),g.nI1(2,"translate"),g.bIt("click",function(z){t.eBV(k);const K=g.XpG();return t.Njj(K.logout(z))}),g.j41(3,"span",4),g.EFF(4),g.nI1(5,"translate"),g.k0s(),g.nrm(6,"kf-icon",5),g.k0s()}if(2&c){const k=g.XpG();
1g.Y8G("ngClass",g.sMw(10,b,k.hasDarkBackground(),!k.showTextOnSmallScreens(),k.hasDarkBackground()))("disableRipple",!0),g.BMQ("data-automation-id",k.DataAutomationIds.LOGOUT_BUTTON_BORDER)("aria-label",g.bMT(2,6,"NAVIGATION.LOGOUT")),g.R7$(3),g.Y8G("ngClass",g.eq3(14,l,k.showTextOnSmallScreens())),g.R7$(),g.JRh(g.bMT(5,8,"LOGOUT_BUTTON.TEXT"))}}let O=(()=>{class c{constructor(){this.#t=(0,t.WQX)(E.lJ).portalContext.getSecurityService(),this.#e=(0,t.WQX)(M.kh),this.hasDarkBackground=(0,a.hFB)(!1),this.hasBorder=(0,a.hFB)(!1),this.showTextOnSmallScreens=(0,a.hFB)(!1),this.DataAutomationIds=_.K}#t;#e;set logutButton(k){this.#n=k}#n;logout(k){k.stopPropagation(),this.#e.beforeClose(),this.#t.logout()}focus(){this.#n.focus()}static{this.\u0275fac=function(q){return new(q||c)}}static{this.\u0275cmp=g.VBU({type:c,selectors:[["sob-ui-logout-button"]],viewQuery:function(q,z){if(1&q&&g.GBs(f,5),2&q){let K;g.mGM(K=g.lsd())&&(z.logutButton=K.first)}},inputs:{hasDarkBackground:[1,"hasDarkBackground"],hasBorder:[1,"hasBorder"],showTextOnSmallScreens:[1,"showTextOnSmallScreens"]},decls:2,vars:1,consts:[["logoutButton",""],["mat-button","","data-tour-guide-logout-step","logout",1,"portal-ui-logout-btn-color","mb-2px",3,"ngClass","disableRipple"],["mat-stroked-button","","data-tour-guide-logout-step","logout",1,"portal-ui-logout-btn-color","mb-2px",3,"ngClass","disableRipple"],["mat-button","","data-tour-guide-logout-step","logout",1,"portal-ui-logout-btn-color","mb-2px",3,"click","ngClass","disableRipple"],["id","portal-ui-logout-btn-text",3,"ngClass"],["name","ic_abmelden_24"],["mat-stroked-button","","data-tour-guide-logout-step","logout",1,"portal-ui-logout-btn-color","mb-2px",3,"click","ngClass","disableRipple"]],template:function(q,z){1&q&&g.nVh(0,h,7,16,"button",1)(1,m,7,16,"button",2),2&q&&g.vxM(z.hasBorder()?1:0)},dependencies:[s.$z,i.YU,x.KY,C.TranslatePipe],styles:["@media screen and (max-width:599px){#portal-ui-logout-btn-text[_ngcontent-%COMP%]{display:none}}.portal-ui-logout-btn[_ngcontent-%COMP%]{margin-left:8px}.portal-ui-logout-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:var(--typography-body-2-font-weight)}@media screen and (max-width:599px){.portal-ui-logout-btn[_ngcontent-%COMP%]{margin-left:0;max-height:32px;min-width:32px;padding:0}}.mb-2px[_ngcontent-%COMP%]{margin-bottom:2px!important}.portal-ui-logout-btn-color[_ngcontent-%COMP%]{color:var(--header-bank-text-color)!important;border-color:var(--header-bank-text-color)!important}.meta-nav-active-text[_ngcontent-%COMP%]{color:var(--header-metanavigation-text-color-active)!important;border-color:var(--header-metanavigation-text-color-active)!important}@media screen and (max-width:599px){[_nghost-%COMP%] .mdc-button:not([disabled]) kf-icon{margin-left:0}}[_nghost-%COMP%] .mdc-button:not([disabled]):hover .mat-button-focus-overlay{background-color:var(--color-primary);opacity:var(--options-button-hover-opacity, .05)}[_nghost-%COMP%] .mdc-button:not([disabled]):focus{box-shadow:0 0 0 2px var(--header-metanavigation-background),0 0 0 3px var(--header-metanavigation-text-color-active),0 0 4px 4px var(--header-metanavigation-text-color-active)!important}"]})}}return c})()},9751(U,R,e){e.d(R,{_:()=>S});var i=e(9015),a=e(9748),t=e(7580),s=e(6563),x=e(7511),E=e(9937),C=e(271),M=e(4957),_=e(6124);function g(l,b){if(1&l){const h=_.RV6();_.j41(0,"ax-lazy-element",2),_.bIt("closeBurgerMenu",function(){s.eBV(h);const O=_.XpG(2);return s.Njj(O.onClosingBurgerMenu())}),_.k0s()}if(2&l){const h=_.XpG(2);_.Y8G("isActiveMenuEntry",h.activeEntry())("menuEntry",h.menuEntry())("showMenuText",!0)}}function f(l,b){if(1&l&&_.DNE(0,g,1,3,"ax-lazy-element",1),2&l){const h=b;_.Y8G("axLazyElementDynamic",h.webcTag)("axLazyElementDynamicUrl",h.webcUrl)("axLazyElementDynamicModule",!0)}}let S=(()=>{class l{constructor(){this.menuEntry=(0,t.hFB)(void 0),this.activeEntry=(0,t.hFB)(void 0),this.data$=(0,x.EW)(()=>{const h=this.menuEntry();return h?this.#e.toContent(h).pipe((0,C.T)(m=>this.#e.getWebComponentAttributes(m))):null}),this.#t=(0,s.WQX)(E.J),this.#e=(0,s.WQX)(M.Y)}#t;#e;onClosingBurgerMenu(){this.#t.closeMenu()}static{this.\u0275fac=function(m){return new(m||l)}}static{this.\u0275cmp=_.VBU({type:l,selectors:[["sob-ui-web-component-menu-entry"]],inputs:{menuEntry:[1,"menuEntry"],activeEntry:[1,"activeEntry"]},features:[_.Jv_([M.Y])],decls:2,vars:3,consts:[["tabindex","-1",3,"isActiveMenuEntry","menuEntry","showMenuText"],["tabindex","-1",3,"isActiveMenuEntry","menuEntry","showMenuText","closeBurgerMenu",4,"axLazyElementDynamic","axLazyElementDynamicUrl","axLazyElementDynamicModule"],["tabindex","-1",3,"closeBurgerMenu","isActiveMenuEntry","menuEntry","showMenuText"]],template:function(m,O){if(1&m&&(_.nVh(0,f,1,3,"ax-lazy-element",0),_.nI1(1,"async")),2&m){let c;_.vxM((c=_.bMT(1,1,O.data$()))?0:-1,c)}},dependencies:[i.jo,a.Jj],encapsulation:2})}}return l})()},9223(U,R,e){e.d(R,{K:()=>i,S:()=>a});let i=(()=>{class t{static{this.PROFILE_MENU_BURGER_MENU="profile-menu-burger-menu"}static{this.PROFILE_MENU_SMALL_USERNAME="profile-menu-small-username"}static{this.PROFILE_MENU_FULL_USERNAME="profile-menu-full-username"}static{this.PROFILE_MENU_ICON="profilemenu-icon"}static{this.PROFILE_MENU_TEXT='profilemenu-text"'}static{this.PROFILE_MENU_TRIGGER="profilemenu-trigger"}static{this.LOGOUT_BUTTON="logout-button"}static{this.LOGOUT_BUTTON_BORDER="logout-button-border"}static{this.USER_NAME="user-name"}}return t})(),a=(()=>{class t{static{this.SESSION_TAN_PATH="webcomponents/wpdepot/sessiontan/wcomp/v1/main.js"}static{this.ZWP_PWA_PATH="webcomponents/zwp-core-angular/pwa-webcomp.js"}}return t})()},6625(U,R,e){e.d(R,{f:()=>s});var i=e(7580),a=e(6124),t=e(6563);let s=(()=>{class x{constructor(){this.inMobileMenu=(0,i.hFB)(!1,{alias:"sobFirstGroupOfMobileMenu"}),this.#t=(0,t.WQX)(a.aKT)}#t;ngOnInit(){this.inMobileMenu()?this.#t.nativeElement.classList.add("d-sm-none"):this.#t.nativeElement.classList.add("d-none","d-sm-block")}static{this.\u0275fac=function(M){return new(M||x)}}static{this.\u0275dir=a.FsC({type:x,selectors:[["","sobFirstGroupOfMobileMenu",""]],inputs:{inMobileMenu:[1,"sobFirstGroupOfMobileMenu","inMobileMenu"]}})}}return x})()},9898(U,R,e){e.d(R,{n:()=>t});var i=e(1128),a=e(6124);let t=(()=>
1{class s{transform(E,C){return!!(E&&0!==E.length&&C&&C.key)&&this.#t(E[E.length-1],C)}#t(E,C){if((0,i.gD)(E,C))return!0;if(C.menuEntries&&C.menuEntries.length>0)for(const M of C.menuEntries)if(this.#t(E,M))return!0;return!1}static{this.\u0275fac=function(C){return new(C||s)}}static{this.\u0275pipe=a.EJ8({name:"sobMatchesMenuEntry",type:s,pure:!0})}}return s})()},4957(U,R,e){e.d(R,{Y:()=>O});var i=e(6563),a=e(3305),t=e(8338),s=e(3230),x=e(5056),E=e(3617),C=e(9452),M=e(2575),_=e(1817),g=e(1567),f=e(271),S=e(3037),l=e(6647),b=e(8764),h=e(101);let O=(()=>{class k{#t=(0,i.WQX)(a.Ix);#e=(0,i.WQX)(x.o);#n=(0,i.WQX)(t.n);#o=(0,i.WQX)(h.a);constructor(){let z=null;const K=this.#t.events.pipe((0,g.p)(et=>et instanceof a.wF),(0,f.T)(et=>et.url),(0,S.Z)(this.#t.url),(0,g.p)(et=>et.includes("webcomp")),(0,f.T)(N("webcomp")),(0,l.n)(et=>{const F=this.#i(et);return F?.keyContentId?this.toContent(F):(0,C.of)(et)}));let j=this.#e.selectedItem?.key;const it=this.#e.selectedPath$.pipe((0,g.p)(et=>!!et),(0,f.T)(et=>et[et.length-1]),(0,g.p)(et=>j!==et.key),(0,b.M)(et=>j=et.key),(0,l.n)(et=>this.toContent(et)),(0,g.p)(et=>et.integrationType===s.p.DYNAMIC_ROUTE||et.integrationType===s.p.WEB_COMPONENT));this.webComponentChanges=(0,E.h)(K,it).pipe((0,f.T)(et=>("string"==typeof et&&(!z||!this.#o.isKeyEqualToPath(z.key,et))&&(z=this.#r(et)),function c(k){return"object"==typeof k&&null!==k&&"string"==typeof k.key&&"string"==typeof k.contentId}(et)&&(et.key!==z?.key||et.contentId!==z?.contentId)&&(z=et),z)),(0,_.F)(),(0,f.T)(et=>this.getWebComponentAttributes(et)),(0,M.B)(100))}getWebComponentAttributes(z){return{webcTag:z.webComponent.tagName,webcUrl:this.#o.resolveBundleUrl(z)}}toContent(z){return this.#n.contentId(z.keyContentId).pipe((0,f.T)(K=>({...K,key:z.key})))}#i(z){let K=this.#e.findItemByKey(z);for(;"forward"===K?.keyType;)K=K.menuEntries.find(j=>j.key===K.key);return K}#r(z){const K=this.#o.extractPathFromKey(z);return{key:z,serviceConfigVersion:"3.0.0",webComponent:{bundleName:"main.js",tagName:this.#o.deriveTagNameFromPath(K),path:"/"}}}static{this.\u0275fac=function(K){return new(K||k)}}static{this.\u0275prov=i.jDH({token:k,factory:k.\u0275fac})}}return k})();const N=k=>q=>q.split("/").filter(Boolean).filter(z=>z!==k).join("/")},1591(U,R,e){e.d(R,{o:()=>t});var i=e(7580),a=e(6124);let t=(()=>{class s{constructor(){this.sobKfTourGuide=(0,i.hFB)(void 0),this.sobKfTourGuideTitle=(0,i.hFB)(void 0),this.sobKfTourGuideOrder=(0,i.hFB)(null),this.sobKfTourGuidePosition=(0,i.hFB)(void 0),this.sobKfTourGuideIndents=(0,i.hFB)("asdf"),this.sobKfTourGuideChildSelector=(0,i.hFB)(null),this.sobKfTourGuideRequireChildren=(0,i.hFB)([]),this.sobKfTourGuideCategory=(0,i.hFB)("default")}static{this.\u0275fac=function(C){return new(C||s)}}static{this.\u0275dir=a.FsC({type:s,selectors:[["","sobKfTourGuide",""]],inputs:{sobKfTourGuide:[1,"sobKfTourGuide"],sobKfTourGuideTitle:[1,"sobKfTourGuideTitle"],sobKfTourGuideOrder:[1,"sobKfTourGuideOrder"],sobKfTourGuidePosition:[1,"sobKfTourGuidePosition"],sobKfTourGuideIndents:[1,"sobKfTourGuideIndents"],sobKfTourGuideChildSelector:[1,"sobKfTourGuideChildSelector"],sobKfTourGuideRequireChildren:[1,"sobKfTourGuideRequireChildren"],sobKfTourGuideCategory:[1,"sobKfTourGuideCategory"]}})}}return s})()},9647(U,R,e){e.d(R,{k:()=>i,u:()=>a});class i{}function a(t){return Object.hasOwn(t,"isLoggedIn")||(t.isLoggedIn=()=>!0),t}},4047(U,R,e){e.d(R,{y:()=>i});var i=function(a){return a.HREF="href",a.ROUTE="route",a}(i||{})},9442(U,R,e){e.d(R,{ES:()=>t,lJ:()=>a,qs:()=>x});var i=e(6563);let a=(()=>{class E{get portalContext(){return x()}static{this.\u0275fac=function(_){return new(_||E)}}static{this.\u0275prov=i.jDH({token:E,factory:E.\u0275fac})}}return E})();class t{getLocalizationService(){console.warn(`${this.constructor.name}.getLocalizationService not implemented.`)}getLoggingService(){console.warn(`${this.constructor.name}.getLoggingService not implemented.`)}getNavigationService(){console.warn(`${this.constructor.name}.getNavigationService not implemented.`)}getCttService(){console.warn(`${this.constructor.name}.getCttService not implemented.`)}getSecurityService(){console.warn(`${this.constructor.name}
1.getSecurityService not implemented.`)}getApiEndpointService(){console.warn(`${this.constructor.name}.getApiEndpointService not implemented.`)}getDataExchangeService(){console.warn(`${this.constructor.name}.getDataExchangeService not implemented.`)}getWebComponentService(){console.warn(`${this.constructor.name}.getWebComponentService not implemented.`)}getVpContextService(){console.warn(`${this.constructor.name}.getVpContextService not implemented.`)}getMarketingService(){console.warn(`${this.constructor.name}.getMarketingService not implemented.`)}}function x(){const E=typeof Zone<"u"?Zone.current:void 0,C=window;return C.okpGlobal&&C.okpGlobal.portalContext?C.okpGlobal.portalContext:E&&E._properties.PortalContext?E._properties.PortalContext:new t}}},__webpack_module_cache__={};function __webpack_require__(U){var R=__webpack_module_cache__[U];if(void 0!==R)return R.exports;var e=__webpack_module_cache__[U]={exports:{}};return __webpack_modules__[U](e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,(()=>{var U=[];__webpack_require__.O=(R,e,i,a)=>{if(!e){var s=1/0;for(t=0;t<U.length;t++){for(var[e,i,a]=U[t],x=!0,E=0;E<e.length;E++)(!1&a||s>=a)&&Object.keys(__webpack_require__.O).every(S=>__webpack_require__.O[S](e[E]))?e.splice(E--,1):(x=!1,a<s&&(s=a));if(x){U.splice(t--,1);var C=i();void 0!==C&&(R=C)}}return R}a=a||0;for(var t=U.length;t>0&&U[t-1][2]>a;t--)U[t]=U[t-1];U[t]=[e,i,a]}})(),__webpack_require__.n=U=>{var R=U&&U.__esModule?()=>U.default:()=>U;return __webpack_require__.d(R,{a:R}),R},__webpack_require__.d=(U,R)=>{for(var e in R)__webpack_require__.o(R,e)&&!__webpack_require__.o(U,e)&&Object.defineProperty(U,e,{enumerable:!0,get:R[e]})},__webpack_require__.f={},__webpack_require__.e=U=>Promise.all(Object.keys(__webpack_require__.f).reduce((R,e)=>(__webpack_require__.f[e](U,R),R),[])),__webpack_require__.u=U=>(76===U?"common":U)+"."+{12:"a4a31e665fc15542",26:"9734015acc459de0",76:"af7e8d4e75938311",88:"ff5fb371578bb18c",97:"5b0d596e0c664e6e",294:"d9219d4357a6d8c0",392:"8a503258a10d5545",398:"e54a8cecf10c5943",440:"519b51be6556d477",489:"50b2dfe3efb2f626",515:"4281e938312d3a0e",574:"d5ee7c37b9ae710d",812:"740ea95bd871ba6a",892:"76871c7b35d8513d",913:"8e7492c92a333001",951:"bab6981d6dddcaed",987:"24c160bf78ca866f"}[U]+".js",__webpack_require__.miniCssF=U=>{},__webpack_require__.o=(U,R)=>Object.prototype.hasOwnProperty.call(U,R),(()=>{var U={},R="portal-ui:";__webpack_require__.l=(e,i,a,t)=>{if(U[e])U[e].push(i);else{var s,x;if(void 0!==a)for(var E=document.getElementsByTagName("script"),C=0;C<E.length;C++){var M=E[C];if(M.getAttribute("src")==e||M.getAttribute("data-webpack")==R+a){s=M;break}}s||(x=!0,(s=document.createElement("script")).type="module",s.charset="utf-8",__webpack_require__.nc&&s.setAttribute("nonce",__webpack_require__.nc),s.setAttribute("data-webpack",R+a),s.src=__webpack_require__.tu(e)),U[e]=[i];var _=(f,S)=>{s.onerror=s.onload=null,clearTimeout(g);var l=U[e];if(delete U[e],s.parentNode&&s.parentNode.removeChild(s),l&&l.forEach(b=>b(S)),f)return f(S)},g=setTimeout(_.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=_.bind(null,s.onerror),s.onload=_.bind(null,s.onload),x&&document.head.appendChild(s)}}})(),(()=>{var U;__webpack_require__.tt=()=>(void 0===U&&(U={createScriptURL:R=>R},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(U=trustedTypes.createPolicy("angular#bundler",U))),U)})(),__webpack_require__.tu=U=>__webpack_require__.tt().createScriptURL(U),__webpack_require__.p="",(()=>{var U={792:0};__webpack_require__.f.j=(i,a)=>{var t=__webpack_require__.o(U,i)?U[i]:void 0;if(0!==t)if(t)a.push(t[2]);else{var s=new Promise((M,_)=>t=U[i]=[M,_]);a.push(t[2]=s);var x=__webpack_require__.p+__webpack_require__.u(i),E=new Error;__webpack_require__.l(x,M=>{if(__webpack_require__.o(U,i)&&(0!==(t=U[i])&&(U[i]=void 0),t)){var _=M&&("load"===M.type?"missing":M.type),g=M&&M.target&&M.target.src;E.message="Loading chunk "+i+" failed.\n("+_+": "+g+")",E.name="ChunkLoadError",E.type=_,E.request=g,t[1](E)}},"chunk-"+i,i)}},__webpack_require__.O.j=i=>0===U[i];var R=(i,a)=>{var E,C,[t,s,x]=a,M=0;if(t.some(g=>0!==U[g])){for(E in s)__webpack_require__.o(s,E)&&(__webpack_require__.m[E]=s[E]);if(x)var _=x(__webpack_require__)}for(i&&i(a);M<t.length;M++)__webpack_require__.o(U,C=t[M])&&U[C]&&U[C][0](),U[C]=0;return __webpack_require__.O(_)},e=self.webpackChunkportal_ui=self.webpackChunkportal_ui||[];e.forEach(R.bind(null,0)),e.push=R.bind(null,e.push.bind(e))})();var __webpack_exports__=__webpack_require__.O(void 0,[121],()=>__webpack_require__(5813));__webpack_exports__=__webpack_require__.O(__webpack_exports__);
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.