PageSourceSearch

https://banking.apobank.de/auth/ui/common.2cffda5bf8003b8e.js

js apobank.de collected 2026-09-24 10:05:27 UTC 57,933 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2076],{5276:(P,l,t)=>{t.d(l,{c:()=>c});var a=t(4438);let c=(()=>{class r{poll(){return"public/authentication/airlock-2fa/status/poll"}goOffline(){return"public/authentication/airlock-2fa/offline"}static#t=this.\u0275fac=function(d){return new(d||r)};static#o=this.\u0275prov=a.jDH({token:r,factory:r.\u0275fac})}return r})()},665:(P,l,t)=>{t.d(l,{N:()=>c});var a=t(4438);let c=(()=>{class r{verify(){return"public/authentication/fido/assertion-response/check"}reportFailure(){return"public/authentication/fido/failure/report"}static#t=this.\u0275fac=function(d){return new(d||r)};static#o=this.\u0275prov=a.jDH({token:r,factory:r.\u0275fac})}return r})()},4735:(P,l,t)=>{t.d(l,{f:()=>o});var a=t(5231),c=t(2007),r=t(4438),m=t(4074);class o{static#t=this.PROVIDER={provide:c.r,useFactory:o.resolveConfig,deps:[a.nX]};constructor(n){this.logoutConfigService=n}resolve(n){return this.logoutConfigService.getLogoutConfiguration(n.queryParams)}static resolveConfig(n){return n.snapshot.data.logoutConfig}static#o=this.\u0275fac=function(s){return new(s||o)(r.KVO(m.W))};static#n=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac})}},4074:(P,l,t)=>{t.d(l,{W:()=>m});var a=t(7348),c=t(1626),r=t(4438);let m=(()=>{class o{constructor(n){this.http=n}getLogoutConfiguration(n){const s=(0,a.OZ)(["public","authentication","ui","configuration","logout"]);return this.http.get(s,{params:new c.Nl({fromObject:n})})}static#t=this.\u0275fac=function(s){return new(s||o)(r.KVO(c.Qq))};static#o=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac})}return o})()},2007:(P,l,t)=>{t.d(l,{p:()=>m,r:()=>r});var a=t(7006),c=t(7235);class r extends c.d{}class m{constructor(d){this.url=d}hasTarget(){return a.D.isNotBlank(this.url)}}},7289:(P,l,t)=>{t.d(l,{k:()=>E});var a=t(7673),c=t(8141),r=t(1397),m=t(6354),o=t(7348),d=t(2367),n=t(951),s=t(7613),_=t(6366),f=t(7006),D=t(7805),g=t(2007),e=t(4438),I=t(1626);let E=(()=>{class R{static#t=this.SLO_REDIRECT_URI_HEADER_NAME="X-SLO-REDIRECT-URI";constructor(y,x,G,T,F){this.http=y,this.store=x,this.routes=G,this.pages=T,this.logoutConfig=F}logout(y){return this.store.clearAllPreservingLanguage(),this.storeLogoutTarget(y),this.performLogout().pipe((0,c.M)(x=>this.storeSloUris(x)),(0,r.Z)(()=>this.pages.routes.navigateTo(this.pages.routes.auth.logout.resume.url)))}getDisclaimerContinueTarget(){return new g.p(this.logoutConfig.target)}getUiConfig(){return(0,a.of)(this.logoutConfig)}performLogout(){return this.http.delete((0,o.OZ)(["public","authentication"]),{observe:"response"}).pipe((0,m.T)(y=>this.extractSingleLogoutUris(y)))}storeLogoutTarget(y){const x=this.getTargetUrl(y);f.D.isNotBlank(x)&&this.store.setValue(n.f.LOGOUT_TARGET_URI,x)}getTargetUrl(y){if(y)return y;const x=this.logoutConfig.target;return"SHOW_LOGOUT_CONFIRMATION"===this.logoutConfig.type?(this.store.setObject(n.f.SHOW_DISCLAIMER_PAGE,!0),x):x||this.routes.auth.root.url}extractSingleLogoutUris(y){const x=new _.q;for(let G=1;;G++){const T=this.sloHeaderName(G);if(!f.D.isNotBlank(y.headers.get(T)))break;x.register(y.headers.get(T))}return x}sloHeaderName(y){return R.SLO_REDIRECT_URI_HEADER_NAME+y}storeSloUris(y){this.store.setObject(n.f.SINGLE_LOGOUT_REDIRECT_URIS,y)}static#o=this.\u0275fac=function(x){return new(x||R)(e.KVO(I.Qq),e.KVO(d.u),e.KVO(s.BV),e.KVO(D.b),e.KVO(g.r))};static#n=this.\u0275prov=e.jDH({token:R,factory:R.\u0275fac})}return R})()},6366:(P,l,t)=>{t.d(l,{q:()=>a});class a{constructor(){this.uris=[]}register(r){this.uris.push(r)}getUris(){return this.uris}isEmpty(){return 0===this.uris.length}popFirst(){return this.uris.shift()}}},5894:(P,l,t)=>{t.d(l,{R:()=>r});var a=t(7348),c=t(4438);let r=(()=>{class m{refreshAuthorizationRequest(){return(0,a.OZ)(["public","authentication","oauth2","client","authorization","uri","retrieve"])}check(){return(0,a.OZ)(["public","authentication","oauth2","client","authorization","check"])}static#t=this.\u0275fac=function(n){return new(n||m)};static#o=this.\u0275prov=c.jDH({token:m,factory:m.\u0275fac})}return m})()},184:(P,l,t)=>{t.d(l,{z:()=>c});var a=t(4438);let c=(()=>{class r{poll(){return"protected/self-service/approval/airlock-2fa/status/poll"}goOffline(){return"protected/self-service/approval/airlock-2fa/offline"}static#t=this.\u0275fac=function(d){return new(d||r)};static#o=this.\u0275prov=a.jDH({token:r,factory:r.\u0275fac})}return r})()},6979:(P,l,t)=>{t.d(l,{u:()=>g});
1var a=t(7673),c=t(5060),r=t(7348),m=t(6354),o=t(9437),d=t(7805),n=t(7939);class s{}class _{constructor(I){this.indexByFlowId={},I.forEach(E=>this.indexByFlowId[E.id]=E)}isAccessible(I){if(!I)return!1;const E=this.indexByFlowId[I];return!!E&&E.accessible}isAuthorized(I){if(!I)return!1;const E=this.indexByFlowId[I];return!!E&&E.authorized}isAccessibleAndAuthorized(I){return this.isAccessible(I)&&this.isAuthorized(I)}}var f=t(4438),D=t(1626);let g=(()=>{class e{constructor(E,R,b){this.http=E,this.pages=R,this.accessService=b}retrieveSelfServiceFlows(){return this.http.get((0,r.OZ)(["protected","self-service","flows"])).pipe((0,m.T)(E=>new _(this.toFlowInfos(E.data))),(0,o.W)(E=>this.handleErrorResponse(E)))}handleErrorResponse(E){return 404===E.status?(0,a.of)(new _([])):(this.accessService.handleAccessError(E,this.pages.routes.protected.tokens.airlock2fa.devices.url),c.t)}toFlowInfos(E){return E.map(R=>this.toFlowInfo(R))}toFlowInfo(E){const R=new s;return R.id=E.id,R.accessible=E.attributes.accessible,R.authorized=E.attributes.authorized,R}static#t=this.\u0275fac=function(R){return new(R||e)(f.KVO(D.Qq),f.KVO(d.b),f.KVO(n.s))};static#o=this.\u0275prov=f.jDH({token:e,factory:e.\u0275fac})}return e})()},6103:(P,l,t)=>{t.d(l,{z:()=>c});var a=t(4438);let c=(()=>{class r{poll(){return"public/self-service/approval/airlock-2fa/status/poll"}goOffline(){return"public/self-service/approval/airlock-2fa/offline"}static#t=this.\u0275fac=function(d){return new(d||r)};static#o=this.\u0275prov=a.jDH({token:r,factory:r.\u0275fac})}return r})()},7884:(P,l,t)=>{t.d(l,{D:()=>N});var a=t(5451),c=t(6247),r=t(7805);class m{constructor(){this.otp=""}}var o=t(9651),d=t(6354),n=t(8141),s=t(2263),_=t(2695),f=t(4438),D=t(177),g=t(57),e=t(4160),I=t(5033),E=t(9099),R=t(7493),b=t(9710),y=t(3076),x=t(3001),G=t(6453),T=t(3813),F=t(7041);function V(L,W){1&L&&f.nrm(0,"iam-latest-authentication")}function B(L,W){if(1&L){const S=f.RV6();f.j41(0,"iam-page",1),f.nrm(1,"iam-text-message",2)(2,"iam-image-row",3),f.j41(3,"iam-form",4),f.bIt("formSubmit",function(){f.eBV(S);const U=f.XpG();return f.Njj(U.checkOtp())}),f.nrm(4,"iam-input-row",5)(5,"iam-dynamic-step-activation-checkboxes"),f.j41(6,"iam-button-row"),f.nrm(7,"iam-button",6)(8,"iam-cancel-button")(9,"iam-goto-buttons"),f.k0s()(),f.DNE(10,V,1,0,"iam-latest-authentication",7),f.k0s()}if(2&L){const S=W.ngIf,M=f.XpG();f.Y8G("pageId",M.pageId)("bodyAttributes",M.bodyAttributes)("title",M.translationPrefix+".title"),f.R7$(),f.Y8G("id","airlock2FAOfflineQrCodeInstructions")("text",M.translationPrefix+".instructions"),f.R7$(),f.Y8G("id","airlock2FAOfflineQrCodeImage")("imgClass","iam-mx-auto iam-d-block iam-qr-code")("withoutLabel",!0)("src",S.dataUrl),f.R7$(),f.Y8G("form",M.form),f.R7$(),f.Y8G("id","otp")("control",M.form.controls.otp)("label",M.translationPrefix+".otp"),f.R7$(3),f.Y8G("id","checkOtp")("disabled",M.form.pristine||!M.form.valid)("submit",!0)("text",M.translationPrefix+".actions.check-otp"),f.R7$(3),f.Y8G("ngIf",M.showLatestAuthentication)}}let N=(()=>{class L extends a.V{constructor(S,M,U){super(M,U),this.service=S,this.showLatestAuthentication=!1}ngOnInit(){this.qrCodeImage=this.initUiConfig().pipe((0,d.T)(S=>new _._(S.additionalAttribute("challengeImage"))),(0,n.M)(()=>this.initializeForm()))}checkOtp(){this.service.verifyOfflineQrCodeOtp(this.form.model).subscribe({next:S=>this.handleSuccessfulStep(S),error:S=>this.handleFailedStep(S)})}initializeForm(){this.form=s.l.of(new m,{required:["otp"]})}static#t=this.\u0275fac=function(M){return new(M||L)(f.rXU(o.d),f.rXU(c.z),f.rXU(r.b))};static#o=this.\u0275cmp=f.VBU({type:L,selectors:[["iam-airlock-2fa-offline-qr-code"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId",showLatestAuthentication:"showLatestAuthentication"},standalone:!1,features:[f.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"id","text"],[3,"id","imgClass","withoutLabel","src"],[3,"formSubmit","form"],[3,"id","control","label"],[3,"id","disabled","submit","text"],[4,"ngIf"]],template:function(M,U){1&M&&(f.DNE(0,B,11,18,"iam-page",0),f.nI1(1,"async")),2&M&&f.Y8G("ngIf",f.bMT(1,1,U.qrCodeImage))},dependencies:[D.bT,g.m,e.Q,I.Q,E.a,R.E,b.s,y.j,x.e,G.I,T.H,F.t,D.Jj],encapsulation:2})}return L})()},9898:(P,l,t)=>{t.d(l,{k:()=>d});var a=t(1552),c=t(9651),r=t(4720),m=t(6484),o=t(4438);let d=(()=>{class n{static#t=this.\u0275fac=function(f){return new(f||n)};static#o=this.\u0275mod=o.$C({type:n});static#n=this.\u0275inj=o.G2t({providers:[c.d],imports:[a.G,r.S,m.O]})}return n})()},7219:(P,l,t)=>{t.d(l,{M:()=>a});class a{}},9651:(P,l,t)=>{t.d(l,{d:()=>s});var a=t(7348),c=t(6354),r=t(5482),m=t(2652),o=t(4438),d=t(1626),n=t(7219);let s=(()=>{class _{constructor(D,g,e){this.http=D,this.restEndpoints=g,this.flowSessionService=e}verifyOfflineQrCodeOtp(D){const g=JSON.stringify(D);return this.http.post((0,a.OZ)(this.restEndpoints.checkOtp()),g,(0,m.R)()).pipe((0,c.T)(e=>this.flowSessionService.createFlowSession(e)))}static#t=this.\u0275fac=function(g){return new(g||_)(o.KVO(d.Qq),o.KVO(n.M),o.KVO(r.Q))};static#o=this.\u0275prov=o.jDH({token:_,factory:_.\u0275fac})}return _})()},8205:(P,l,t)=>{t.d(l,{P:()=>y});var a=t(6354),c=t(8141),r=t(7988),m=t(7805),o=t(6247),d=t(4003),s=(t(5159),t(4438)),_=t(2858),f=t(5231),D=t(177),g=t(57),e=t(4160),I=t(6453),E=t(3813);function R(x,G){if(1&x){const T=s.RV6();s.j41(0,"iam-button-row")(1,"iam-button",4),s.bIt("buttonClick",function(){s.eBV(T);const V=s.XpG(2);return s.Njj(V.continue(V.info))}),s.k0s()()}if(2&x){const T=s.XpG(2);s.R7$(),s.Y8G("id","continue")("text",T.translationPrefix+".confirmation.actions.continue")("autofocus",!0)("right",!0)}}function b(x,G){if(1&x&&(s.j41(0,"iam-page",1),s.nrm(1,"iam-text-message",2),s.DNE(2,R,2,4,"iam-button-row",3),s.k0s()),2&x){const T=s.XpG();s.Y8G("pageId",T.pageId)("hideMaintenanceMessages",!0)("title",T.translationPrefix+".confirmation.title")("bodyAttributes",T.bodyAttributes),s.R7$(),s.Y8G("id","confirmationMessage")("text",T.translationPrefix+".confirmation.message"),s.R7$(),s.Y8G("ngIf",!!T.info.targetUri)}}let y=(()=>{class x extends r.t{constructor(T,F,V,B){super(),this.info=T,this.route=F,this.pages=V,this.flowPageService=B,this.bodyAttributes={}}onInitAbstractUiConfig(T){super.onInitAbstractUiConfig(T),this.bodyAttributes[r.I]=this.domain,this.navigateToTargetIfNoConfirmationPageShown(T)}continue(T){this.flowPageService.clearState(),this.pages.routes.navigateTo(T.targetUri)}getUiConfig(){return this.route.params.pipe((0,a.T)(T=>T.flowId),(0,c.M)(T=>this.bodyAttributes["data-iam-flow-id"]=T),(0,a.T)(()=>this.info))}navigateToTargetIfNoConfirmationPageShown(T){T.showConfirmationPage||(this.pages.pageAlertService.info(this.translationPrefix+".pages.messages.completed"),this.continue(T))}static#t=this.\u0275fac=function(F){return new(F||x)(s.rXU(_.j),s.rXU(f.nX),s.rXU(m.b),s.rXU(o.z))};static#o=this.\u0275cmp=s.VBU({type:x,selectors:[["iam-confirmation"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId",domain:"domain"},standalone:!1,features:[s.Jv_([d.$.PROVIDER]),s.Vt3],decls:2,vars:1,consts:[[3,"pageId","hideMaintenanceMessages","title","bodyAttributes",4,"ngIf"],[3,"pageId","hideMaintenanceMessages","title","bodyAttributes"],[3,"id","text"],[4,"ngIf"],[3,"buttonClick","id","text","autofocus","right"]],template:function(F,V){1&F&&(s.qex(0),s.DNE(1,b,3,7,"iam-page",0),s.bVm()),2&F&&(s.R7$(),s.Y8G("ngIf",V.info.showConfirmationPage))},dependencies:[D.bT,g.m,e.Q,I.I,E.H],encapsulation:2})}return x})()},6192:(P,l,t)=>{t.d(l,{i:()=>o});var a=t(1552),c=t(4003),r=t(1089),m=t(4438);let o=(()=>{class d{static#t=this.\u0275fac=function(_){return new(_||d)};static#o=this.\u0275mod=m.$C({type:d});static#n=this.\u0275inj=m.G2t({providers:[r.t,c.$],imports:[a.G]})}return d})()},2325:(P,l,t)=>{t.d(l,{_:()=>a});class a{}},1089:(P,l,t)=>{t.d(l,{t:()=>_});
1var a=t(5060),c=t(7348),r=t(6354),m=t(9437),o=t(5624),d=t(4438),n=t(1626),s=t(2325);let _=(()=>{class f{constructor(g,e,I){this.http=g,this.endpoints=e,this.errors=I}getOnCompletedInfo(g){return this.http.get((0,c.OZ)(this.endpoints.onCompleted(g))).pipe((0,r.T)(e=>e.data.attributes),(0,m.W)(e=>(this.errors.showErrorPage(e),a.t)))}static#t=this.\u0275fac=function(e){return new(e||f)(d.KVO(n.Qq),d.KVO(s._),d.KVO(o.I))};static#o=this.\u0275prov=d.jDH({token:f,factory:f.\u0275fac})}return f})()},4003:(P,l,t)=>{t.d(l,{$:()=>o});var a=t(5231),c=t(2858),r=t(1089),m=t(4438);class o{static#t=this.PROVIDER={provide:c.j,useFactory:o.resolveConfig,deps:[a.nX]};constructor(n){this.confirmationService=n}resolve(n){return this.confirmationService.getOnCompletedInfo(n.params.flowId)}static resolveConfig(n){return n.snapshot.data.onCompleteInfo}static#o=this.\u0275fac=function(s){return new(s||o)(m.KVO(r.t))};static#n=this.\u0275prov=m.jDH({token:o,factory:o.\u0275fac})}},2858:(P,l,t)=>{t.d(l,{j:()=>c});var a=t(7235);class c extends a.d{}},6296:(P,l,t)=>{t.d(l,{M:()=>S});var a=t(7348),c=t(6354),r=t(5482),m=t(2652),o=t(4438),d=t(1626),n=t(435);let s=(()=>{class M{constructor(C,i,u){this.http=C,this.restEndpoints=i,this.flowSessionService=u}completeCrontoDeviceActivation(C){const i=JSON.stringify(C);return this.http.post((0,a.OZ)(this.restEndpoints.completeCrontoActivation()),i,(0,m.R)()).pipe((0,c.T)(u=>this.flowSessionService.createFlowSession(u)))}static#t=this.\u0275fac=function(i){return new(i||M)(o.KVO(d.Qq),o.KVO(n.
1V),o.KVO(r.Q))};static#o=this.\u0275prov=o.jDH({token:M,factory:M.\u0275fac})}return M})();var _=t(5451),f=t(2263);class D{constructor(){this.secondOtp="",this.label=""}}var g=t(5293),e=t(6247),I=t(7805),E=t(8141),R=t(177),b=t(57),y=t(4160),x=t(5033),G=t(9099),T=t(7493),F=t(9710),V=t(3076),B=t(3001),N=t(6453),L=t(3813);function W(M,U){if(1&M){const C=o.RV6();o.j41(0,"iam-page",1),o.nrm(1,"iam-text-message",2)(2,"iam-image-row",3),o.j41(3,"iam-form",4),o.bIt("formSubmit",function(){o.eBV(C);const u=o.XpG();return o.Njj(u.completeCrontoDeviceActivation())}),o.nrm(4,"iam-input-row",5)(5,"iam-input-row",6)(6,"iam-dynamic-step-activation-checkboxes"),o.j41(7,"iam-button-row"),o.nrm(8,"iam-button",7)(9,"iam-cancel-button")(10,"iam-goto-buttons"),o.k0s()()()}if(2&M){const C=U.ngIf,i=o.XpG();o.Y8G("pageId",i.pageId)("bodyAttributes",i.bodyAttributes)("title",i.translationPrefix+".cronto.activation.complete.title"),o.R7$(),o.Y8G("id","activationCompleteInstructions")("text",i.translationPrefix+".cronto.activation.complete.instructions"),o.R7$(),o.Y8G("imgClass","iam-mx-sm-auto iam-mx-md-n2 iam-d-block")("id","crontoChallenge")("src",C.dataUrl),o.R7$(),o.Y8G("form",i.form),o.R7$(),o.Y8G("id","code")("control",i.form.controls.secondOtp)("label",i.translationPrefix+".cronto.activation.code"),o.R7$(),o.Y8G("id","deviceName")("control",i.form.controls.label)("autocapitalize",!1)("label",i.translationPrefix+".cronto.activation.complete.device-name"),o.R7$(3),o.Y8G("id","activateButton")("disabled",i.form.pristine||!i.form.valid)("submit",!0)("text",i.translationPrefix+".cronto.activation.complete.actions.activate")}}let S=(()=>{class M extends _.V{constructor(C,i,u){super(i,u),this.crontoActivationCompleteService=C}ngOnInit(){this.challengeImage=this.initUiConfig().pipe((0,c.T)(C=>new g.xJ(C.additionalAttribute("activationChallenge").challengeImage)),(0,E.M)(()=>this.initializeForm()))}completeCrontoDeviceActivation(){this.crontoActivationCompleteService.completeCrontoDeviceActivation(this.form.model).subscribe({next:C=>this.handleSuccessfulStep(C),error:C=>this.handleFailedStep(C)})}initializeForm(){this.form=f.l.of(new D,{required:["secondOtp","label"]})}static#t=this.\u0275fac=function(i){return new(i||M)(o.rXU(s),o.rXU(e.z),o.rXU(I.b))};static#o=this.\u0275cmp=o.VBU({type:M,selectors:[["iam-cronto-activation-complete"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId"},standalone:!1,features:[o.Jv_([s]),o.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"id","text"],[3,"imgClass","id","src"],[3,"formSubmit","form"],[3,"id","control","label"],[3,"id","control","autocapitalize","label"],[3,"id","disabled","submit","text"]],template:function(i,u){1&i&&(o.DNE(0,W,11,20,"iam-page",0),o.nI1(1,"async")),2&i&&o.Y8G("ngIf",o.bMT(1,1,u.challengeImage))},dependencies:[R.bT,b.m,y.Q,x.Q,G.a,T.E,F.s,V.j,B.e,N.I,L.H,R.Jj],encapsulation:2})}return M})()},2570:(P,l,t)=>{t.d(l,{R:()=>m});var a=t(4720),c=t(1552),r=t(4438);let m=(()=>{class o{static#t=this.\u0275fac=function(s){return new(s||o)};static#o=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[a.S,c.G]})}return o})()},435:(P,l,t)=>{t.d(l,{V:()=>a});class a{}},6189:(P,l,t)=>{t.d(l,{U:()=>a});class a{}},4091:(P,l,t)=>{t.d(l,{s:()=>_});var a=t(5451),c=t(8785),r=t(7805),m=t(6247),o=t(5482),d=t(3408),n=t(4438),s=t(2786);let _=(()=>{class f extends a.V{constructor(g,e,I,E,R){super(e,I),this.configurableUiService=g,this.languageService=E,this.flowSessionService=R}get pageId(){return this.stepUiConfig?this.stepUiConfig.pageId:void 0}get pageTitle(){const g=this.translationPrefix+".data.page."+this.pageId+".title";return this.languageService.hasTranslation(g)?g:this.translationPrefix+".data.page.title"}onInitAbstractUiConfig(g){super.onInitAbstractUiConfig(g),this.stepUiConfig=g,this.configurableUiService.createForm(this.stepUiConfig).subscribe(e=>this.form=e)}handleSuccessfulResponse(g){this.handleSuccessfulStep(this.flowSessionService.createFlowSession(g))}static#t=this.\u0275fac=function(e){return new(e||f)(n.rXU(c.g),n.rXU(m.z),n.rXU(r.b),n.rXU(d.g),n.rXU(o.Q))};
1static#o=this.\u0275cmp=n.VBU({type:f,selectors:[["iam-data"]],inputs:{translationPrefix:"translationPrefix"},standalone:!1,features:[n.Vt3],decls:1,vars:6,consts:[[3,"successfulRemoting","failedRemoting","pageId","bodyAttributes","title","instructions","stepUiConfig","form"]],template:function(e,I){1&e&&(n.j41(0,"iam-configurable-ui-page",0),n.bIt("successfulRemoting",function(R){return I.handleSuccessfulResponse(R)})("failedRemoting",function(R){return I.handleFailedStep(R)}),n.k0s()),2&e&&n.Y8G("pageId",I.pageId)("bodyAttributes",I.bodyAttributes)("title",I.pageTitle)("instructions",I.translationPrefix+".data.page.instructions")("stepUiConfig",I.stepUiConfig)("form",I.form)},dependencies:[s.o],encapsulation:2})}return f})()},8154:(P,l,t)=>{t.d(l,{t:()=>o});var a=t(4720),c=t(1552),r=t(8840),m=t(4438);let o=(()=>{class d{static#t=this.\u0275fac=function(_){return new(_||d)};static#o=this.\u0275mod=m.$C({type:d});static#n=this.\u0275inj=m.G2t({imports:[a.S,c.G,r.I]})}return d})()},163:(P,l,t)=>{t.d(l,{D:()=>C});var a=t(7805),c=t(5451),r=t(6247),m=t(6354),o=t(1397),d=t(8141),n=t(9437),s=t(5060),_=t(8027),f=t(7912),D=t(5459),g=t(2412),e=t(4438),I=t(1
177),E=t(57),R=t(4160),b=t(5033),y=t(9099),x=t(7493),G=t(6453),T=t(3813),F=t(7041);const V=i=>({publicSelfServiceLink:i}),B=i=>({userSelfRegistrationLink:i});function N(i,u){1&i&&e.nrm(0,"iam-latest-authentication")}function L(i,u){if(1&i&&e.nrm(0,"iam-text-message",5),2&i){const h=e.XpG().ngIf,A=e.XpG();e.Y8G("id","publicSelfService")("text",A.translationPrefix+".actions.open-self-service")("textArguments",e.eq3(3,V,h.links.publicSelfServiceLink))}}function W(i,u){if(1&i&&e.nrm(0,"iam-text-message",5),2&i){const h=e.XpG().ngIf,A=e.XpG();e.Y8G("id","userSelfRegistration")("text",A.translationPrefix+".actions.sign-up")("textArguments",e.eq3(3,B,h.links.userSelfRegistrationLink))}}function S(i,u){if(1&i){const h=e.RV6();e.j41(0,"iam-button",6),e.bIt("buttonClick",function(){const O=e.eBV(h).$implicit,j=e.XpG(3);return e.Njj(j.navigate(O))}),e.k0s()}if(2&i){const h=u.$implicit,A=e.XpG(3);e.Y8G("id","additionalAuthenticationTarget-"+h.applicationId)("text",A.translationPrefix+".actions.target."+h.applicationId)}}function M(i,u){if(1&i&&(e.j41(0,"iam-button-row"),e.Z7z(1,S,1,2,"iam-button",2,e.Vm6),e.k0s()),2&i){const h=e.XpG().ngIf;e.R7$(),e.Dyx(h.links.additionalAuthenticationTargets)}}function U(i,u){if(1&i){const h=e.RV6();e.j41(0,"iam-page",1),e.nrm(1,"iam-text-message",2)(2,"iam-dynamic-step-activation-checkboxes"),e.j41(3,"iam-button-row")(4,"iam-button",3),e.bIt("buttonClick",function(){e.eBV(h);const O=e.XpG();return e.Njj(O.startFidoAuthentication())}),e.k0s(),e.nrm(5,"iam-cancel-button")(6,"iam-goto-buttons"),e.k0s(),e.DNE(7,N,1,0,"iam-latest-authentication",4)(8,L,1,5,"iam-text-message",5)(9,W,1,5,"iam-text-message",5)(10,M,3,0,"iam-button-row"),e.k0s()}if(2&i){const h=u.ngIf,A=e.XpG();e.Y8G("pageId",A.pageId)("bodyAttributes",A.bodyAttributes)("title",A.translationPrefix+".verification.title"),e.R7$(),e.Y8G("id","instructions")("text",A.translationPrefix+".verification.instructions"),e.R7$(3),e.Y8G("id",A.fidoButtonId)("submit",!0)("text",A.translationPrefix+".actions."+A.defaultAction)("disabled",!A.isWebAuthnAvailable),e.R7$(3),e.Y8G("ngIf",A.showLatestAuthentication),e.R7$(),e.vxM(A.showLinksAndButtons&&h.links.publicSelfServiceLink?8:-1),e.R7$(),e.vxM(A.showLinksAndButtons&&h.links.userSelfRegistrationLink?9:-1),e.R7$(),e.vxM(A.showLinksAndButtons&&h.links.additionalAuthenticationTargets.length>0?10:-1)}}let C=(()=>{class i extends c.V{constructor(h,A,O,j){super(O,j),this.verificationService=h,this.webauthn=A,this.showLatestAuthentication=!1,this.showLinksAndButtons=!1,this.isWebAuthnAvailable=this.webauthn.isAvailable()}ngOnInit(){this.pageSettings=this.initUiConfig().pipe((0,m.T)(h=>this.toPageSettings(h))),this.isWebAuthnAvailable||this.reportFailure(_.f.NO_WEB_AUTHN,"WebAuthn not available. User agent: "+navigator.userAgent)}startFidoAuthentication(){this.getUiConfig().pipe((0,m.T)(h=>this.toCredentialRequestOptions(h.additionalAttribute("fidoChallenge"))),(0,o.Z)(h=>this.getCredentials(h)),(0,d.M)(h=>console.log("Response: "+JSON.stringify(h))),(0,o.Z)(h=>this.verificationService.verify(h))).subscribe({next:h=>this.handleSuccessfulStep(h),error:h=>this.handleFailedStep(h)})}navigate(h){this.pages.routes.navigateTo(h.targetUrl)}toPageSettings(h){const A=new D.nQ;return A.links=D.R$.toPageLinks(h),A}getCredentials(h){return this.webauthn.getCredentials(h).pipe((0,n.W)(A=>this.handleGetCredentialsFailed(A)))}handleGetCredentialsFailed(h){let A;return this.webauthn.isAbortError(h)?A=_.f.ABORTED:this.webauthn.isNotAllowedError(h)?A=_.f.NOT_ALLOWED:(console.error("Error while getting WebAuthn credentials: "+JSON.stringify(h)),A=_.f.UNKNOWN),this.reportFailure(A,h.name+": "+h.message),s.t}reportFailure(h,A){this.verificationService.reportFailure(h,A).subscribe({next:O=>this.handleSuccessfulStep(O),error:O=>this.handleFailedStep(O)})}toCredentialRequestOptions(h){return{allowCredentials:h.allowCredentials?.map(A=>this.toAllowCredentials(A)),challenge:(0,g.tP)(h.challenge),rpId:h.rpId,timeout:h.timeout,userVerification:h.userVerification}}toAllowCredentials(h){const A={id:(0,g.tP)(h.id),type:h.type};return h.transports&&h.transports.length>0&&(A.transports=h.transports),A}static#t=this.\u0275fac=function(A){return new(A||i)(e.rXU(_.z),e.rXU(f.u7),e.rXU(r.z),e.rXU(a.b))};static#o=this.\u0275cmp=e.VBU({type:i,selectors:[["iam-fido-verification"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId",fidoButtonId:"fidoButtonId",defaultAction:"defaultAction",showLatestAuthentication:"showLatestAuthentication",showLinksAndButtons:"showLinksAndButtons"},standalone:!1,features:[e.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"id","text"],[3,"buttonClick","id","submit","text","disabled"],[4,"ngIf"],[3,"id","text","textArguments"],[3,"buttonClick","id","text"]],template:function(A,O){1&A&&(e.DNE(0,U,11,13,"iam-page",0),e.nI1(1,"async")),2&A&&e.Y8G("ngIf",e.bMT(1,1,O.pageSettings))},dependencies:[I.bT,E.m,R.Q,b.Q,y.a,x.E,G.I,T.H,F.t,I.Jj],encapsulation:2})}return i})()},1138:(P,l,t)=>{t.d(l,{I:()=>n});var a=t(1552),c=t(4720),r=t(8027),m=t(7912),o=t(6484),d=t(4438);let n=(()=>{class s{static#t=this.\u0275fac=function(D){return new(D||s)};static#o=this.\u0275mod=d.$C({type:s});static#n=this.\u0275inj=d.G2t({providers:[r.z,m.u7],imports:[c.S,a.G,o.O]})}return s})()},7531:(P,l,t)=>{t.d(l,{O:()=>a});class a{}},8027:(P,l,t)=>{t.d(l,{f:()=>s,z:()=>_});var a=t(6354),c=t(7348),r=t(5482),m=t(2652),o=t(4438),d=t(1626),n=t(7531),s=function(f){return f[f.ABORTED=0]="ABORTED",f[f.NOT_ALLOWED=1]="NOT_ALLOWED",f[f.NO_WEB_AUTHN=2]="NO_WEB_AUTHN",f[f.UNKNOWN=3]="UNKNOWN",f}(s||{});let _=(()=>{class f{constructor(g,e,I){this.http=g,this.restEndpoints=e,this.flowSessionService=I}verify(g){const e=JSON.stringify(g);return this.http.post((0,c.OZ)(this.restEndpoints.verify()),e,(0,m.R)()).pipe((0,a.T)(I=>this.flowSessionService.createFlowSession(I)))}reportFailure(g,e){const I=JSON.stringify({reason:s[g],message:e});return this.http.post((0,c.OZ)(this.restEndpoints.reportFailure()),I,(0,m.R)()).pipe((0,a.T)(E=>
1this.flowSessionService.createFlowSession(E)))}static#t=this.\u0275fac=function(e){return new(e||f)(o.KVO(d.Qq),o.KVO(n.O),o.KVO(r.Q))};static#o=this.\u0275prov=o.jDH({token:f,factory:f.\u0275fac})}return f})()},4126:(P,l,t)=>{t.d(l,{Y:()=>o});var a=t(7348),c=t(6354),r=t(4438),m=t(1626);let o=(()=>{class d{constructor(s){this.http=s}retrieveFlowInfo(){return this.http.get((0,a.OZ)(["public","flow"]),{observe:"response"}).pipe((0,c.T)(s=>this.toFlowInfo(s)))}toFlowInfo(s){return{flowType:{type:()=>s.body.data.attributes.flowType},flowId:s.body.data.id,nextStep:s.body.data.attributes.nextStep}}static#t=this.\u0275fac=function(_){return new(_||d)(r.KVO(m.Qq))};static#o=this.\u0275prov=r.jDH({token:d,factory:d.\u0275fac})}return d})()},1400:(P,l,t)=>{t.d(l,{_:()=>a});class a{}},7199:(P,l,t)=>{t.d(l,{G:()=>s});var a=t(5451),c=t(7805),r=t(6247),m=t(5482),o=t(8785),d=t(4438),n=t(2786);let s=(()=>{class _ extends a.V{constructor(D,g,e,I){super(D,g),this.flowSessionService=e,this.configurableUiService=I,this.supportsCaptcha=!0}handleSuccessfulResponse(D){this.handleSuccessfulStep(this.flowSessionService.createFlowSession(D))}onInitAbstractUiConfig(D){super.onInitAbstractUiConfig(D),this.stepUiConfig=D,this.configurableUiService.createForm(this.stepUiConfig).subscribe(g=>this.form=g)}static#t=this.\u0275fac=function(g){return new(g||_)(d.rXU(r.z),d.rXU(c.b),d.rXU(m.Q),d.rXU(o.g))};static#o=this.\u0275cmp=d.VBU({type:_,selectors:[["iam-identification-by-userdata"]],inputs:{translationPrefix:"translationPrefix",supportsCaptcha:"supportsCaptcha",pageId:"pageId"},standalone:!1,features:[d.Vt3],decls:1,vars:6,consts:[[3,"successfulRemoting","failedRemoting","pageId","bodyAttributes","title","instructions","stepUiConfig","form"]],template:function(g,e){1&g&&(d.j41(0,"iam-configurable-ui-page",0),d.bIt("successfulRemoting",function(E){return e.handleSuccessfulResponse(E)})("failedRemoting",function(E){return e.handleFailedStep(E)}),d.k0s()),2&g&&d.Y8G("pageId",e.pageId)("bodyAttributes",e.bodyAttributes)("title",e.translationPrefix+".userdata.title")("instructions",e.translationPrefix+".userdata.instructions")("stepUiConfig",e.stepUiConfig)("form",e.form)},dependencies:[n.o],encapsulation:2})}return _})()},4318:(P,l,t)=>{t.d(l,{X:()=>o});var a=t(1552),c=t(4720),r=t(8840),m=t(4438);let o=(()=>{class d{static#t=this.\u0275fac=function(_){return new(_||d)};static#o=this.\u0275mod=m.$C({type:d});static#n=this.\u0275inj=m.G2t({imports:[c.S,a.G,r.I]})}return d})()},9363:(P,l,t)=>{t.d(l,{l:()=>M});var a=t(5451),c=t(1413),r=t(5558),m=t(7786);class o{constructor(C){this.challenges=C}}class d{constructor(){this.challengeResponse={}}}var n=t(6247),s=t(8425),_=t(7805),f=t(8141),D=t(6354),g=t(2263),e=t(4438),I=t(1
177),E=t(57),R=t(4160),b=t(5033),y=t(9099),x=t(7493),G=t(9710),T=t(3001),F=t(6453),V=t(3813),B=t(7041),N=t(1463);function L(U,C){if(1&U&&(e.qex(0),e.nrm(1,"iam-input-row",7),e.nI1(2,"translate"),e.bVm()),2&U){const i=C.$implicit,u=C.index,h=e.XpG(2);e.R7$(),e.Y8G("id","challenge["+u+"]")("control",h.form.controls["challengeResponse."+i])("label",e.bMT(2,3,h.translationPrefix+".matrix.challenge-label")+i)}}function W(U,C){1&U&&e.nrm(0,"iam-latest-authentication")}function S(U,C){if(1&U){const i=e.RV6();e.j41(0,"iam-page",1)(1,"iam-form",2),e.bIt("formSubmit",function(){e.eBV(i);const h=e.XpG();return e.Njj(h.checkChallenge())}),e.nrm(2,"iam-text-message",3),e.DNE(3,L,3,5,"ng-container",4),e.nrm(4,"iam-dynamic-step-activation-checkboxes"),e.j41(5,"iam-button-row"),e.nrm(6,"iam-button",5)(7,"iam-cancel-button")(8,"iam-goto-buttons"),e.k0s()(),e.DNE(9,W,1,0,"iam-latest-authentication",6),e.k0s()}if(2&U){const i=C.ngIf,u=e.XpG();e.Y8G("pageId",u.pageId)("bodyAttributes",u.bodyAttributes)("title",u.translationPrefix+".matrix.title"),e.R7$(),e.Y8G("form",u.form),e.R7$(),e.Y8G("id","instructions")("text",u.translationPrefix+".matrix.instructions"),e.R7$(),e.Y8G("ngForOf",i.challenges),e.R7$(3),e.Y8G("id","checkChallenges")("submit",!0)("disabled",u.form.pristine||!u.form.valid)("text",u.translationPrefix+".matrix.actions.check-challenges"),e.R7$(3),e.Y8G("ngIf",u.showLatestAuthentication)}}let M=(()=>{class U extends a.V{constructor(i,u,h){super(i,u),this.service=h,this.showLatestAuthentication=!1,this.onRetry=new c.B}ngOnInit(){this.matrixChallenge=this.initUiConfig().pipe((0,r.n)(()=>this.onRetrieveChallenge()),(0,f.M)(i=>this.initializeForm(i)))}checkChallenge(){this.service.checkChallenge(this.form.model).subscribe({next:i=>this.handleSuccessfulStep(i),error:i=>{this.handleRetry(i),this.handleFailedStep(i)}})}handleRetry(i){const u=i.error.meta.matrixChallenges;u&&this.onRetry.next(new o(u))}onRetrieveChallenge(){return(0,m.h)(this.retrieveChallengeFromUiConfig(),this.onRetry)}retrieveChallengeFromUiConfig(){return this.flowPageService.getStepUiConfig().pipe((0,D.T)(i=>new o(i.additionalAttribute("matrixChallenges"))))}initializeForm(i){const u=new d;i.challenges.forEach(h=>u.challengeResponse[h]=""),this.form=g.l.of(u,{required:this.requiredControls(u)})}requiredControls(i){return Object.keys(i.challengeResponse).map(u=>"challengeResponse."+u)}static#t=this.\u0275fac=function(u){return new(u||U)(e.rXU(n.z),e.rXU(_.b),e.rXU(s.Z))};static#o=this.\u0275cmp=e.VBU({type:U,selectors:[["iam-matrix"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId",showLatestAuthentication:"showLatestAuthentication"},standalone:!1,features:[e.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"formSubmit","form"],[3,"id","text"],[4,"ngFor","ngForOf"],[3,"id","submit","disabled","text"],[4,"ngIf"],[3,"id","control","label"]],template:function(u,h){1&u&&(e.DNE(0,S,10,12,"iam-page",0),e.nI1(1,"async")),2&u&&e.Y8G("ngIf",e.bMT(1,1,h.matrixChallenge))},dependencies:[I.Sq,I.bT,E.m,R.Q,b.Q,y.a,x.E,G.s,T.e,F.I,V.H,B.t,I.Jj,N.t],encapsulation:2})}return U})()},6424:(P,l,t)=>{t.d(l,{G:()=>o});var a=t(8425),c=t(1552),r=t(6484),m=t(4438);let o=(()=>{class d{static#t=this.\u0275fac=function(_){return new(_||d)};static#o=this.\u0275mod=m.$C({type:d});static#n=this.\u0275inj=m.G2t({providers:[a.Z],imports:[c.G,r.O]})}return d})()},9277:(P,l,t)=>{t.d(l,{Y:()=>a});class a{}},8425:(P,l,t)=>{t.d(l,{Z:()=>s});var a=t(6354),c=t(5482),r=t(7348),m=t(2652),o=t(4438),d=t(1626),n=t(9277);let s=(()=>{class _{constructor(D,g,e){this.http=D,this.flowSessionService=g,this.restEndpoints=e}checkChallenge(D){const g=JSON.stringify(D);return this.http.post((0,r.OZ)(this.restEndpoints.checkChallenge()),g,(0,m.R)()).pipe((0,a.T)(e=>this.flowSessionService.createFlowSession(e)))}static#t=this.\u0275fac=function(g){return new(g||_)(o.KVO(d.Qq),o.KVO(c.Q),o.KVO(n.Y))};static#o=this.\u0275prov=o.jDH({token:_,factory:_.\u0275fac})}return _})()},9263:(P,l,t)=>{t.d(l,{s:()=>a});class a{}},2453:(P,l,t)=>{t.d(l,{a:()=>A});var a=t(6354),c=t(8141),r=t(2263),m=t(7805),o=t(7348),d=t(5482),n=t(2652),s=t(4438),_=t(1626),f=t(9263);let D=(()=>{class O{constructor(p,v,K){this.http=p,this.restEndpoints=v,this.flowSessionService=K}
1checkOtp(p){const v=JSON.stringify(p);return this.http.post((0,o.OZ)(this.restEndpoints.checkOtp()),v,(0,n.R)()).pipe((0,a.T)(K=>this.flowSessionService.createFlowSession(K)))}resendOtp(){return this.http.post((0,o.OZ)(this.restEndpoints.resendOtp()),null,{observe:"response"}).pipe((0,a.T)(p=>this.flowSessionService.createFlowSession(p)))}static#t=this.\u0275fac=function(v){return new(v||O)(s.KVO(_.Qq),s.KVO(f.s),s.KVO(d.Q))};static#o=this.\u0275prov=s.jDH({token:O,factory:O.\u0275fac})}return O})();class g{constructor(){this.otp=""}}class e{constructor(j){this.isResendPossible=j}}var I=t(5451),E=t(6247),R=t(1413),b=t(5558),y=t(7786),x=t(177),G=t(57),T=t(4160),F=t(5033),V=t(9099),B=t(7493),N=t(9710),L=t(3001),W=t(6453),S=t(3813),M=t(7041);function U(O,j){if(1&O&&s.nrm(0,"iam-text-message",8),2&O){const p=s.XpG(2);s.Y8G("id","mtanInstructions")("text",p.translationPrefix+".mtan.send-info")}}function C(O,j){if(1&O&&s.nrm(0,"iam-text-message",9),2&O){const p=s.XpG(2);s.Y8G("id","resendOtpInstructions")("textNgClass","iam-mt-3")("text",p.translationPrefix+".mtan.resend-instructions")}}function i(O,j){if(1&O){const p=s.RV6();s.j41(0,"iam-button-row")(1,"iam-button",10),s.bIt("buttonClick",function(){s.eBV(p);const K=s.XpG(2);return s.Njj(K.resendOtp())}),s.k0s()()}if(2&O){const p=s.XpG(2);s.R7$(),s.Y8G("id","resendOtp")("text",p.translationPrefix+".mtan.actions.resend")}}function u(O,j){1&O&&s.nrm(0,"iam-latest-authentication")}function h(O,j){if(1&O){const p=s.RV6();s.j41(0,"iam-page",1),s.DNE(1,U,1,2,"iam-text-message",2),s.j41(2,"iam-form",3),s.bIt("formSubmit",function(){s.eBV(p);const K=s.XpG();return s.Njj(K.checkOtp())}),s.nrm(3,"iam-input-row",4)(4,"iam-dynamic-step-activation-checkboxes"),s.j41(5,"iam-button-row"),s.nrm(6,"iam-button",5)(7,"iam-cancel-button")(8,"iam-goto-buttons"),s.k0s()(),s.DNE(9,C,1,3,"iam-text-message",6)(10,i,2,2,"iam-button-row",7)(11,u,1,0,"iam-latest-authentication",7),s.k0s()}if(2&O){const p=j.ngIf,v=s.XpG();s.Y8G("pageId",v.pageId)("bodyAttributes",v.bodyAttributes)("title",v.translationPrefix+".mtan.title"),s.R7$(),s.Y8G("ngIf",v.hasTranslation(v.translationPrefix+".mtan.send-info")),s.R7$(),s.Y8G("form",v.form),s.R7$(),s.Y8G("id","otp")("control",v.form.controls.otp)("label",v.translationPrefix+".mtan.otp"),s.R7$(3),s.Y8G("id","checkOtp")("submit",!0)("disabled",v.form.pristine||!v.form.valid)("text",v.translationPrefix+".mtan.actions.check-otp"),s.R7$(3),s.Y8G("ngIf",p.isResendPossible),s.R7$(),s.Y8G("ngIf",p.isResendPossible),s.R7$(),s.Y8G("ngIf",v.showLatestAuthentication)}}let A=(()=>{class O extends I.V{constructor(p,v,K){super(v,K),this.service=p,this.showLatestAuthentication=!1,this.onResend=new R.B}ngOnInit(){this.resendInfo=this.initUiConfig().pipe((0,b.n)(()=>this.onUpdateResendInfo()),(0,a.T)(p=>new e(p)),(0,c.M)(()=>this.initializeForm()),(0,c.M)(()=>this.pages.pageAlertService.display()))}checkOtp(){this.service.checkOtp(this.form.model).subscribe({next:p=>this.handleSuccessfulStep(p),error:p=>this.handleFailedStep(p)})}resendOtp(){this.service.resendOtp().pipe((0,a.T)(p=>p.additionalAttribute("resendPossible")),(0,c.M)(()=>this.storeResendInfoAlert())).subscribe({next:p=>this.onResend.next(!!p),error:p=>this.handleFailedStep(p)})}onUpdateResendInfo(){return(0,y.h)(this.onResend,this.flowPageService.getStepUiConfig().pipe((0,a.T)(p=>!!p.additionalAttribute("resendPossible"))))}storeResendInfoAlert(){this.pages.pageAlertService.info(this.translationPrefix+".mtan.resend-info")}initializeForm(){this.form=r.l.of(new g,{required:["otp"]})}static#t=this.\u0275fac=function(v){return new(v||O)(s.rXU(D),s.rXU(E.z),s.rXU(m.b))};static#o=this.\u0275cmp=s.VBU({type:O,selectors:[["iam-mtan"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId",showLatestAuthentication:"showLatestAuthentication"},standalone:!1,features:[s.Jv_([D]),s.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"id","text",4,"ngIf"],[3,"formSubmit","form"],[3,"id","control","label"],[3,"id","submit","disabled","text"],[3,"id","textNgClass","text",4,"ngIf"],[4,"ngIf"],[3,"id","text"],[3,"id","textNgClass","text"],[3,"buttonClick","id","text"]],template:function(v,K){1&v&&(s.DNE(0,h,12,15,"iam-page",0),s.nI1(1,"async")),2&v&&s.Y8G("ngIf",s.bMT(1,1,K.resendInfo))},dependencies:[x.bT,G.m,T.Q,F.Q,V.a,B.E,N.s,L.e,W.I,S.H,M.t,x.Jj],encapsulation:2})}return O})()},6889:(P,l,t)=>{t.d(l,{r:()=>o});var a=t(1552),c=t(4720),r=t(6484),m=t(4438);let o=(()=>{class d{static#t=this.\u0275fac=function(_){return new(_||d)};static#o=this.\u0275mod=m.$C({type:d});static#n=this.\u0275inj=m.G2t({imports:[c.S,a.G,r.O]})}return d})()},2057:(P,l,t)=>{t.d(l,{v:()=>V});
1var a=t(6354),c=t(5482),r=t(7348),m=t(2652),o=t(4438),d=t(1626),n=t(4428);let s=(()=>{class B{constructor(L,W,S){this.http=L,this.restEndpoints=W,this.flowSessionService=S}checkIak(L){const W=JSON.stringify(L);return this.http.post((0,r.OZ)(this.restEndpoints.checkIak()),W,(0,m.R)()).pipe((0,a.T)(S=>this.flowSessionService.createFlowSession(S)))}static#t=this.\u0275fac=function(W){return new(W||B)(o.KVO(d.Qq),o.KVO(n.S),o.KVO(c.Q))};static#o=this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}return B})();var _=t(5451),f=t(2263);class D{constructor(){this.iak=""}}var g=t(6247),e=t(7805),I=t(57),E=t(4160),R=t(5033),b=t(9099),y=t(7493),x=t(9710),G=t(3001),T=t(6453),F=t(3813);let V=(()=>{class B extends _.V{constructor(L,W,S){super(W,S),this.service=L}ngOnInit(){super.ngOnInit(),this.initializeForm()}checkIak(){this.service.checkIak(this.form.model).subscribe({next:L=>this.handleSuccessfulStep(L),error:L=>this.handleFailedStep(L)})}initializeForm(){this.form=f.l.of(new D,{required:["iak"]})}static#t=this.\u0275fac=function(W){return new(W||B)(o.rXU(s),o.rXU(g.z),o.rXU(e.b))};static#o=this.\u0275cmp=o.VBU({type:B,selectors:[["iam-iak"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId"},standalone:!1,features:[o.Jv_([s]),o.Vt3],decls:9,vars:13,consts:[[3,"pageId","bodyAttributes","title"],[3,"formSubmit","form"],[3,"id","text"],[3,"id","control","label"],[3,"id","submit","disabled","text"]],template:function(W,S){1&W&&(o.j41(0,"iam-page",0)(1,"iam-form",1),o.bIt("formSubmit",function(){return S.checkIak()}),o.nrm(2,"iam-text-message",2)(3,"iam-input-row",3)(4,"iam-dynamic-step-activation-checkboxes"),o.j41(5,"iam-button-row"),o.nrm(6,"iam-button",4)(7,"iam-cancel-button")(8,"iam-goto-buttons"),o.k0s()()()),2&W&&(o.Y8G("pageId",S.pageId)("bodyAttributes",S.bodyAttributes)("title",S.translationPrefix+".mtan.registration.verification.iak.title"),o.R7$(),o.Y8G("form",S.form),o.R7$(),o.Y8G("id","iakInfo")("text",S.translationPrefix+".mtan.registration.verification.iak.iak-info"),o.R7$(),o.Y8G("id","iak")("control",S.form.controls.iak)("label",S.translationPrefix+".mtan.registration.verification.iak.iak"),o.R7$(3),o.Y8G("id","checkIak")("submit",!0)("disabled",S.form.pristine||!S.form.valid)("text",S.translationPrefix+".mtan.registration.verification.iak.actions.check-iak"))},dependencies:[I.m,E.Q,R.Q,b.a,y.E,x.s,G.e,T.I,F.H],encapsulation:2})}return B})()},2461:(P,l,t)=>{t.d(l,{w:()=>m});var a=t(4720),c=t(1552),r=t(4438);let m=(()=>{class o{static#t=this.\u0275fac=function(s){return new(s||o)};static#o=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[a.S,c.G]})}return o})()},4428:(P,l,t)=>{t.d(l,{S:()=>a});class a{}},4602:(P,l,t)=>{t.d(l,{O:()=>M});var a=t(2263),c=t(7805),r=t(6354),m=t(7348),o=t(5482),d=t(2652),n=t(4438),s=t(1626),_=t(8651);let f=(()=>{class U{constructor(i,u,h){this.http=i,this.restEndpoint=u,this.flowSessionService=h}selectToken(i){return this.http.post((0,m.OZ)(this.restEndpoint.selectToken(i)),null,(0,d.R)()).pipe((0,r.T)(u=>this.flowSessionService.createFlowSession(u)))}static#t=this.\u0275fac=function(u){return new(u||U)(n.KVO(s.Qq),n.KVO(_.b),n.KVO(o.Q))};static#o=this.\u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})();var D=t(7376);class g{constructor(){this.number="",this.label="",this.defaultNumber=!1,this.id=""}getFormattedLabel(){return this.label?'<span class="iam-font-weight-bold">'+(0,D.escape)(this.label)+"</span>: "+(0,D.escape)(this.number):this.number}}var e=t(5451),I=t(6247),E=t(8141),R=t(7006),b=t(177),y=t(57),x=t(4160),G=t(5033),T=t(9099),F=t(7493),V=t(9710),B=t(6955),N=t(6453),L=t(3813);function W(U,C){if(1&U&&n.nrm(0,"iam-radio",6),2&U){const i=C.$implicit,u=n.XpG(2);n.Y8G("id","mtanNumber-"+i.id)("value",i.id)("label",i.getFormattedLabel())("control",u.form.controls.id)}}function S(U,C){if(1&U){const i=n.RV6();n.j41(0,"iam-page",1)(1,"iam-form",2),n.bIt("formSubmit",function(){n.eBV(i);const h=n.XpG();return n.Njj(h.selectToken(h.form.model.id))}),n.nrm(2,"iam-text-message",3),n.DNE(3,W,1,4,"iam-radio",4),n.nrm(4,"iam-dynamic-step-activation-checkboxes"),n.j41(5,"iam-button-row"),n.nrm(6,"iam-button",5)(7,"iam-cancel-button")(8,"iam-goto-buttons"),n.k0s()()()}if(2&U){const i=C.ngIf,u=n.XpG();n.Y8G("pageId",u.pageId)("bodyAttributes",u.bodyAttributes)("title",u.translationPrefix+".mtan.selection.title"),n.R7$(),n.Y8G("form",u.form),n.R7$(),n.Y8G("id","selectionInstructions")("text",u.translationPrefix+".mtan.selection.selection-instructions"),n.R7$(),n.Y8G("ngForOf",i),n.R7$(3),n.Y8G("id","selectToken")("submit",!0)("disabled",!u.form.valid)("autofocus",u.hasDefaultToken(i))("text",u.translationPrefix+".mtan.selection.actions.select-token")}}let M=(()=>{class U extends e.V{constructor(i,u,h){super(u,h),this.service=i}ngOnInit(){this.tokens=this.initUiConfig().pipe((0,r.T)(i=>this.toMtanTokens(i.additionalAttribute("numberChoices"))),(0,E.M)(i=>this.initializeForm(i)))}selectToken(i){this.service.selectToken(i).subscribe({next:u=>this.handleSuccessfulStep(u),error:u=>this.handleFailedStep(u)})}hasDefaultToken(i){return!R.D.isBlank(this.getDefaultMtanTokenId(i))}initializeForm(i){this.form=a.l.of({id:this.getDefaultMtanTokenId(i)},{required:["id"]})}getDefaultMtanTokenId(i){let u="";
1return i.forEach(h=>{h.defaultNumber&&(u=h.id)}),u}toMtanTokens(i){const u=[];for(const h of i){const A=new g;A.number=h.number,A.label=h.label||"",A.defaultNumber=h.defaultNumber,A.id=h.id,u.push(A)}return u}static#t=this.\u0275fac=function(u){return new(u||U)(n.rXU(f),n.rXU(I.z),n.rXU(c.b))};static#o=this.\u0275cmp=n.VBU({type:U,selectors:[["iam-mtan-selection"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId"},standalone:!1,features:[n.Jv_([f]),n.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"formSubmit","form"],[3,"id","text"],[3,"id","value","label","control",4,"ngFor","ngForOf"],[3,"id","submit","disabled","autofocus","text"],[3,"id","value","label","control"]],template:function(u,h){1&u&&(n.DNE(0,S,9,12,"iam-page",0),n.nI1(1,"async")),2&u&&n.Y8G("ngIf",n.bMT(1,1,h.tokens))},dependencies:[b.Sq,b.bT,y.m,x.Q,G.Q,T.a,F.E,V.s,B.v,N.I,L.H,b.Jj],encapsulation:2})}return U})()},6210:(P,l,t)=>{t.d(l,{l:()=>m});var a=t(4720),c=t(1552),r=t(4438);let m=(()=>{class o{static#t=this.\u0275fac=function(s){return new(s||o)};static#o=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[a.S,c.G]})}return o})()},8651:(P,l,t)=>{t.d(l,{b:()=>a});class a{}},9025:(P,l,t)=>{t.d(l,{b:()=>m,k:()=>r});var a=t(4438),c=t(3408);const r=new a.nKC("scope.translation.prefix");let m=(()=>{class o{constructor(n,s){this.languageService=n,this.translationPrefix=s}translate(n){return n.translatedScope||this.translateLocally(this.translationPrefix,n.scope)||n.scope}translateLocally(n,s){const _=n+s;if(this.languageService.hasTranslation(_))return this.languageService.translate(_)}static#t=this.\u0275fac=function(s){return new(s||o)(a.KVO(c.g),a.KVO(r))};static#o=this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac})}return o})()},8854:(P,l,t)=>{t.d(l,{w:()=>m});class a{constructor(d){this.scopes=d}hasScopes(){return 0!==this.scopes.length}asStrings(){return this.scopes.map(d=>d.translatedScope)}}var c=t(9025),r=t(4438);let m=(()=>{class o{constructor(n){this.scopeTranslationService=n}createOAuth2Scopes(n){return new a(n.map(s=>this.toScope(s)))}toScope(n){return{scope:n.scope,translatedScope:this.scopeTranslationService.translate(n),granted:!!n.granted,updatedAt:n.updatedAt}}static#t=this.\u0275fac=function(s){return new(s||o)(r.KVO(c.b))};static#o=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac})}return o})()},1039:(P,l,t)=>{t.d(l,{k:()=>g});var a=t(8141),c=t(6354),r=t(7348),m=t(5482),o=t(516),d=t(7805),n=t(3510),s=t(6247),_=t(4438),f=t(1626),D=t(3897);let g=(()=>{class e{constructor(E,R,b,y,x,G){this.uiService=E,this.http=R,this.restEndpoints=b,this.flowSessionService=y,this.validations=x,this.pages=G}canActivate(E){return this.check(E.queryParams).pipe((0,a.M)({next:R=>this.uiService.handleSession(R),error:R=>this.handleError(R)}),(0,c.T)(()=>!1))}handleError(E){if(this.validations.getServerValidationErrorsWithCodes(E,["ACCOUNT_ALREADY_LINKED"]).length>0)return this.pages.pageAlertService.error("error.account-already-linked"),void this.pages.routes.protected.accountLinks.navigate();if(this.validations.getServerValidationErrorsWithCodes(E,["OAUTH2_CLIENT_AUTHORIZATION_FAILED"]).length>0)return void this.pages.errors.showErrorPage(this.oauth2Error());const y=this.validations.getServerValidationErrors(E);y.length>0?this.pages.errors.showErrorPage(new n.vj({title:"error.oauth2-client-authorization-failed.title",description:this.pages.validations.translationKeyFromError(y[0])})):(console.warn("An unknown OAuth error occurred: "+E.message),this.pages.errors.showErrorPage())}oauth2Error(){return new n.vj({title:"error.oauth2-client-authorization-failed.title",description:"error.oauth2-client-authorization-failed.oauth2-error"})}check(E){const R=JSON.stringify({queryString:(0,r.zJ)(E)});return this.http.post(this.restEndpoints.check(),R,{observe:"response"}).pipe((0,c.T)(b=>this.flowSessionService.createFlowSession(b)))}static#t=this.\u0275fac=function(R){return new(R||e)(_.KVO(s.z),_.KVO(f.Qq),_.KVO(D.J),_.KVO(m.Q),_.KVO(o.R),_.KVO(d.b))};static#o=this.\u0275prov=_.jDH({token:e,factory:e.\u0275fac})}return e})()},3897:(P,l,t)=>{t.d(l,{J:()=>a});class a{}},7242:(P,l,t)=>{t.d(l,{v:()=>s});var a=t(7673),c=t(7805),r=t(1397),m=t(6354),o=t(4438),d=t(1626),n=t(3897);let s=(()=>{class _{constructor(D,g,e){this.http=D,this.restEndpoints=g,this.pages=e}canActivate(){return this.refreshAuthorizationRequest().pipe((0,r.Z)(D=>this.performRedirect(D)))}refreshAuthorizationRequest(){return this.http.post(this.restEndpoints.refreshAuthorizationRequest(),null,{observe:"response"}).pipe((0,m.T)(D=>D.body.data.attributes))}performRedirect(D){const g=D.authorizationRequestUri;return g?this.pages.routes.navigateTo(g):(console.error("No authorizationRequestUri found in OAuth2 authorization request."),this.pages.routes.error.root.navigate(),(0,a.of)(!1))}static#t=this.\u0275fac=function(g){return new(g||_)(o.KVO(d.Qq),o.KVO(n.J),o.KVO(c.b))};static#o=this.\u0275prov=o.jDH({token:_,factory:_.\u0275fac})}return _})()},1114:(P,l,t)=>{t.d(l,{N:()=>A});var a=t(1397),c=t(6354),r=t(5482),m=t(7348),o=t(2652),d=t(339),n=t(4438),s=t(1626),_=t(1309);let f=(()=>{class O{constructor(p,v,K,Y){this.http=p,this.flowSessionService=v,this.e2eeService=K,this.endpoints=Y}changePassword(p,v){return this.createBody(p,v).pipe((0,a.Z)(K=>this.sendPost(K)),(0,c.T)(K=>this.flowSessionService.createFlowSession(K)))}createBody(p,v){return p.oldPassword?this.e2eeService.handleE2ee([p.oldPassword,p.newPassword],v).pipe((0,c.T)(K=>JSON.stringify({oldPassword:K[0],newPassword:K[1]}))):this.e2eeService.handleE2ee([p.newPassword],v).pipe((0,c.T)(K=>JSON.stringify({newPassword:K[0]})))}sendPost(p){return this.http.post((0,m.OZ)(this.endpoints.changePassword()),p,(0,o.R)())}static#t=this.\u0275fac=function(v){return new(v||O)(n.KVO(s.Qq),n.KVO(r.Q),n.KVO(d.h),n.KVO(_.G))};static#o=this.\u0275prov=n.jDH({token:O,factory:O.\u0275fac})}return O})();var D=t(5451),g=t(2263);class e{constructor(j){j&&(this.oldPassword=""),this.newPassword="",this.confirmation=""}}class I{constructor(j,p){this.oldPasswordRequired=j,this.jweEncryptionInfo=p}}var E=t(6884),R=t(7805),b=t(661),y=t(980),x=t(8141),G=t(6247),T=t(14
113),F=t(7786),V=t(177),B=t(57),N=t(4160),L=t(5033),W=t(9099),S=t(7493),M=t(9710),U=t(3001),C=t(6453),i=t(3813);function u(O,j){if(1&O&&n.nrm(0,"iam-input-row",4),2&O){const p=n.XpG(2);n.Y8G("id","oldPassword")("control",p.form.controls.oldPassword)("readonly",p.disableFields)("label",p.translationPrefix+".old-password")("type","password")}}function h(O,j){if(1&O){const p=n.RV6();n.j41(0,"iam-page",1)(1,"iam-form",2),n.bIt("formSubmit",function(){const K=n.eBV(p).ngIf,Y=n.XpG();return n.Njj(Y.changePassword(K))}),n.DNE(2,u,1,5,"iam-input-row",3),n.nrm(3,"iam-input-row",4)(4,"iam-input-row",4)(5,"iam-dynamic-step-activation-checkboxes"),n.j41(6,"iam-button-row"),n.nrm(7,"iam-button",5)(8,"iam-cancel-button")(9,"iam-goto-buttons"),n.k0s(),n.nrm(10,"iam-text-message",6),n.k0s()()}if(2&O){const p=j.ngIf,v=n.XpG();n.Y8G("pageId",v.pageId)("bodyAttributes",v.bodyAttributes)("title",v.translationPrefix+".title"),n.R7$(),n.Y8G("form",v.form),n.R7$(),n.Y8G("ngIf",p.oldPasswordRequired),n.R7$(),n.Y8G("id","newPassword")("control",v.form.controls.newPassword)("readonly",v.disableFields)("label",v.translationPrefix+".new-password")("type","password"),n.R7$(),n.Y8G("id","confirmation")("control",v.form.controls.confirmation)("readonly",v.disableFields)("label",v.translationPrefix+".new-password-confirmation")("type","password"),n.R7$(3),n.Y8G("id","changePassword")("submit",!0)("disabled",v.form.pristine||!v.form.valid)("text",v.translationPrefix+".actions.change-password"),n.R7$(3),n.Y8G("id","passwordChangeRequirements")("text",v.translationPrefix+".requirements")}}let A=(()=>{class O extends D.V{static#t=this.TOO_YOUNG_ERROR_KEY="error.password-policy-violated.too-young";constructor(p,v,K,Y){super(v,K),this.service=p,this.pageAlertService=Y,this.onSettingsUpdate=new T.B,this.disableFields=!1}ngOnInit(){this.settings=(0,F.h)(this.onSettingsUpdate,this.getPasswordChangeSettings())}changePassword(p){this.service.changePassword(this.form.model,p.jweEncryptionInfo).pipe((0,y.j)(()=>this.collectErrorsAndClearFields())).subscribe({next:v=>this.handleSuccessfulStep(v),error:v=>this.handleFailedChange(v,p)})}getPasswordChangeSettings(){return this.initUiConfig().pipe((0,c.T)(p=>this.toPasswordChangeSettings(p)),(0,x.M)(p=>this.initForm(p)))}handleFailedChange(p,v){const K=p.error?.meta?.e2eEncryptionInformation;K&&(v.jweEncryptionInfo=K,this.onSettingsUpdate.next(v)),this.handleFailedStep(p)}toPasswordChangeSettings(p){const v=!1!==p.pageAttribute("oldPasswordRequired");return new I(v,p.additionalAttribute("e2eEncryptionInformation"))}initForm(p){const v=p.oldPasswordRequired?["oldPassword","newPassword","confirmation"]:["newPassword","confirmation"];this.form=g.l.of(new e(p.oldPasswordRequired),{required:v,extra:{validator:b.k.matchingFields("newPassword","confirmation","error.password-policy-violated.not-identical")}})}collectErrorsAndClearFields(){Object.keys(this.form.controls).forEach(p=>this.collectError(this.form.controls[p])),this.form.hasFormErrors()&&this.pageAlertService.display(),this.hasTooYoungViolation(this.form.controls.newPassword)&&(this.disableFields=!0),this.form.reset()}collectError(p){p.errors&&p.errors.error&&this.pageAlertService.error(p.errors.error.errorKey)}hasTooYoungViolation(p){return!!p.errors&&!!p.errors.error&&p.errors.error.errorKey===O.TOO_YOUNG_ERROR_KEY}static#o=this.\u0275fac=function(v){return new(v||O)(n.rXU(f),n.rXU(G.z),n.rXU(R.b),n.rXU(E.D))};static#n=this.\u0275cmp=n.VBU({type:O,selectors:[["iam-password-change"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId"},standalone:!1,features:[n.Jv_([f]),n.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"formSubmit","form"],[3,"id","control","readonly","label","type",4,"ngIf"],[3,"id","control","readonly","label","type"],[3,"id","submit","disabled","text"],[3,"id","text"]],template:function(v,K){1&v&&(n.DNE(0,h,11,21,"iam-page",0),n.nI1(1,"async")),2&v&&n.Y8G("ngIf",n.bMT(1,1,K.settings))},dependencies:[V.bT,B.m,N.Q,L.Q,W.a,S.E,M.s,U.e,C.I,i.H,V.Jj],encapsulation:2})}return O})()},2264:(P,l,t)=>{t.d(l,{K:()=>m});var a=t(1552),c=t(2568),r=t(4438);let m=(()=>{class o{static#t=this.\u0275fac=function(s){return new(s||o)};static#o=this.\u0275mod=r.$C({type:o});
1static#n=this.\u0275inj=r.G2t({imports:[a.G,c.g]})}return o})()},1309:(P,l,t)=>{t.d(l,{G:()=>a});class a{}},2194:(P,l,t)=>{t.d(l,{g:()=>S});var a=t(6354),c=t(7348),r=t(5482),m=t(2652),o=t(4438),d=t(1626),n=t(5853);let s=(()=>{class M{constructor(C,i,u){this.http=C,this.flowSessionService=i,this.endpoints=u}selectSelectionOption(C){return this.http.post((0,c.OZ)(this.endpoints.selectOption(C.id)),null,(0,m.R)()).pipe((0,a.T)(i=>this.flowSessionService.createFlowSession(i)))}static#t=this.\u0275fac=function(i){return new(i||M)(o.KVO(d.Qq),o.KVO(r.Q),o.KVO(n.V))};static#o=this.\u0275prov=o.jDH({token:M,factory:M.\u0275fac})}return M})();var _=t(5451),f=t(7805),D=t(2263);class g{}class e{constructor(){this.id=""}}var I=t(6247),E=t(8141),R=t(177),b=t(57),y=t(4160),x=t(5033),G=t(9099),T=t(7493),F=t(9710),V=t(1534),B=t(6453),N=t(3813),L=t(8033);function W(M,U){if(1&M){const C=o.RV6();o.j41(0,"iam-page",1)(1,"iam-form",2),o.bIt("formSubmit",function(){o.eBV(C);const u=o.XpG();return o.Njj(u.selectSelectionOption())}),o.nrm(2,"iam-text-message",3)(3,"iam-radio-row",4),o.nI1(4,"toRadio"),o.nrm(5,"iam-dynamic-step-activation-checkboxes"),o.j41(6,"iam-button-row"),o.nrm(7,"iam-button",5)(8,"iam-cancel-button")(9,"iam-goto-buttons"),o.k0s()()()}if(2&M){const C=U.ngIf,i=o.XpG();o.Y8G("pageId",i.pageId)("bodyAttributes",i.bodyAttributes)("title",i.translationPrefix+".selection.title"),o.R7$(),o.Y8G("form",i.form),o.R7$(),o.Y8G("id","selectionInstructions")("text",i.translationPrefix+".selection.instructions"),o.R7$(),o.Y8G("id","radioButtonRow")("name","selectionOptions")("label",i.translationPrefix+".selection.selection")("control",i.form.controls.id)("radios",o.i5U(4,17,C,i.translationPrefix+".selection.options.{{id}}"))("inline",!1),o.R7$(4),o.Y8G("id","selectButton")("submit",!0)("disabled",!i.form.valid)("autofocus",i.hasLastSelection)("text",i.translationPrefix+".selection.actions.select")}}let S=(()=>{class M extends _.V{constructor(C,i,u){super(i,u),this.selectionService=C,this.hasLastSelection=!1}ngOnInit(){this.options=this.initUiConfig().pipe((0,a.T)(C=>this.extractOptions(C)),(0,E.M)(C=>this.initializeForm(C)))}initializeForm(C){const i=C.find(h=>h.lastSelected),u=new e;i&&(u.id=i.id,this.hasLastSelection=!0),this.form=D.l.of(u,{required:["id"]})}selectSelectionOption(){this.selectionService.selectSelectionOption(this.form.model).subscribe({next:C=>this.handleSuccessfulStep(C),error:C=>this.handleFailedStep(C)})}extractOptions(C){const i=C.additionalAttribute("selectionInfo"),u=i.lastSelected,h=[];for(const A of i.options){const O=new g;O.id=A,O.lastSelected=A==u,h.push(O)}return h}static#t=this.\u0275fac=function(i){return new(i||M)(o.rXU(s),o.rXU(I.z),o.rXU(f.b))};static#o=this.\u0275cmp=o.VBU({type:M,selectors:[["iam-selection"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId"},standalone:!1,features:[o.Jv_([s]),o.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"formSubmit","form"],[3,"id","text"],[3,"id","name","label","control","radios","inline"],[3,"id","submit","disabled","autofocus","text"]],template:function(i,u){1&i&&(o.DNE(0,W,10,20,"iam-page",0),o.nI1(1,"async")),2&i&&o.Y8G("ngIf",o.bMT(1,1,u.options))},dependencies:[R.bT,b.m,y.Q,x.Q,G.a,T.E,F.s,V.n,B.I,N.H,R.Jj,L.C],encapsulation:2})}return M})()},3336:(P,l,t)=>{t.d(l,{R:()=>m});var a=t(1552),c=t(4720),r=t(4438);let m=(()=>{class o{static#t=this.\u0275fac=function(s){return new(s||o)};static#o=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[a.G,c.S]})}return o})()},5853:(P,l,t)=>{t.d(l,{V:()=>a});class a{}},3851:(P,l,t)=>{t.d(l,{G:()=>r});var a=t(3408),c=t(4438);let r=(()=>{class m{constructor(d){this.languageService=d}transform(d){if(Array.isArray(d.values)){const n=[];for(const s of d.values)n.push(this.translate(d.keyPrefix,s));return n}return this.translate(d.keyPrefix,d.values)}translate(d,n){return this.languageService.translate(d+"."+n)}static#t=this.\u0275fac=function(n){return new(n||m)(c.rXU(a.g,16))};static#o=this.\u0275pipe=c.EJ8({name:"translatedEnum",type:m,pure:!1,standalone:!1})}return m})()},9557:(P,l,t)=>{t.d(l,{n:()=>c});var a=t(4438);let c=(()=>{class r{static#t=this.\u0275fac=function(d){return new(d||r)};static#o=this.\u0275cmp=a.VBU({type:r,selectors:[["ng-component"]],standalone:!1,decls:0,vars:0,template:function(d,n){},encapsulation:2})}return r})()},2426:(P,l,t)=>{t.d(l,{J:()=>m});var a=t(4438),c=t(9856);const r=["*"];let m=(()=>{class o{constructor(){this.label="",this.value=""}get hostCss(){return"iam-row-group"}static#t=this.\u0275fac=function(s){return new(s||o)};static#o=this.\u0275cmp=a.VBU({type:o,selectors:[["iam-text-row"]],hostVars:2,hostBindings:function(s,_){2&s&&a.HbH(_.hostCss)},inputs:{label:"label",value:"value",id:"id"},standalone:!1,ngContentSelectors:r,decls:4,vars:3,consts:[[3,"label"],[1,"iam-form-control-static"]],template:function(s,_){1&s&&(a.NAR(),a.j41(0,"iam-row-with-label",0)(1,"div",1),a.EFF(2),a.SdG(3),a.k0s()()),2&s&&(a.Y8G("label",_.label),a.R7$(),a.BMQ("id",_.id),a.R7$(),a.SpI(" ",_.value," "))},dependencies:[c.U],encapsulation:2})}return o}
1)()}}]);

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.