PageSourceSearch

https://banking.apobank.de/auth/ui/3374.d8fe2b91f331bf7a.js

js apobank.de collected 2026-09-24 10:06:27 UTC 13,119 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3374],{3843:(G,A,n)=>{n.r(A),n.d(A,{Airlock2FADeviceManagementModule:()=>ce});var D=n(5231),o=n(1552),u=n(7673),m=n(7348);class F{}class C{}class _{}var b=n(274),v=n(6354),r=n(9437),h=n(1397),p=n(8452),g=n(7875),f=n(7805),k=n(7939),T=n(6979),e=n(4438),w=n(1626),I=n(7235);class S extends I.d{}let x=(()=>{class a{constructor(t,i,s,l,re,le){this.http=t,this.config=i,this.pages=s,this.protectedUiService=l,this.flowsService=re,this.accessService=le}getAirlock2FADeviceManagement(){return this.fetchUsersAppDevices().pipe((0,b.H)(t=>this.fetchUsersHardwareDevices().pipe((0,b.H)(i=>this.flowsService.retrieveSelfServiceFlows().pipe((0,v.T)(s=>this.createManagement(t,i,s)))))))}navigateToExitTarget(){this.pages.routes.navigateTo(this.config.pageExitTarget)}startFlowToChangeDisplayName(t){return this.startFlowAndSelectDevice(t,this.config.flowToChangeDisplayName)}startFlowToDeleteDevice(t){return this.startFlowAndDeleteDevice(t,this.config.flowToDeleteDevice)}startFlowToActivateAppDevice(){const t=this.config.flowToActivateAppDevice;return this.protectedUiService.startFlow(t).pipe((0,r.W)(i=>this.handleAccessError(i,this.pages.routes.protected.select.flow.append(t).url,t)))}getUiConfig(){return(0,u.of)(this.config)}createManagement(t,i,s){const l=new _;return l.appDevices=t,l.hardwareDevices=i,l.canRename=s.isAccessible(this.config.flowToChangeDisplayName),l.canDelete=s.isAccessible(this.config.flowToDeleteDevice)&&this.shouldShowDeleteButton(t.length),l.canAdd=s.isAccessible(this.config.flowToActivateAppDevice),l.hasExitTarget=!!this.config.pageExitTarget,l}shouldShowDeleteButton(t){return!(!this.config.flowToDeleteDevice||!this.config.canUserDeleteAllDevices&&1===t)}fetchUsersAppDevices(){return this.http.get((0,m.OZ)(["/protected","self-service","airlock-2fa","app-devices"])).pipe((0,v.T)(t=>this.toAppDevices(t.data)),(0,r.W)(t=>this.handleErrorResponse(t)))}fetchUsersHardwareDevices(){return this.http.get((0,m.OZ)(["/protected","self-service","airlock-2fa","hardware-devices"])).pipe((0,v.T)(t=>this.toHardwareDevices(t.data)),(0,r.W)(t=>this.handleErrorResponse(t)))}handleErrorResponse(t){return 404===t.status?(0,u.of)([]):this.handleAccessError(t,this.pages.routes.protected.tokens.airlock2fa.devices.url)}startFlowAndSelectDevice(t,i){return this.protectedUiService.startFlow(i).pipe((0,h.Z)(()=>this.selectAirlock2FADevice(t.id)),(0,r.W)(s=>this.handleAccessError(s,this.pages.routes.protected.tokens.airlock2fa.devices.url,
1i)))}startFlowAndDeleteDevice(t,i){return this.protectedUiService.startFlow(i).pipe((0,h.Z)(()=>this.deleteAirlock2FADevice(t.id)),(0,r.W)(s=>this.handleAccessError(s,this.pages.routes.protected.tokens.airlock2fa.devices.url,i)))}handleAccessError(t,i,s){return this.accessService.handleAccessError(t,i,s)}selectAirlock2FADevice(t){return this.http.post((0,m.OZ)(["/protected","self-service","airlock-2fa","devices",t,"select"]),null,{observe:"response"}).pipe((0,v.T)(i=>new p.d(i)))}deleteAirlock2FADevice(t){return this.http.post((0,m.OZ)(["/protected","self-service","airlock-2fa","devices",t,"remove"]),null,{observe:"response"}).pipe((0,v.T)(i=>new p.d(i)))}toAppDevices(t){return t.map(i=>this.toAppDevice(i))}toAppDevice(t){const i=new F;return i.id=t.id,i.displayName=t.attributes.displayName,i.appVersion=t.attributes.appVersion,i.appVersionSupported=t.attributes.appVersionSupported,i.type=t.attributes.type,i}toHardwareDevices(t){return t.map(i=>this.toHardwareDevice(i))}toHardwareDevice(t){const i=new C;return i.id=t.id,i.serialNumber=t.attributes.serialNumber,i}static#e=this.\u0275fac=function(i){return new(i||a)(e.KVO(w.Qq),e.KVO(S),e.KVO(f.b),e.KVO(g.S),e.KVO(T.u),e.KVO(k.s))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var R=n(5558),N=n(5060),U=n(7613);let y=(()=>{class a{constructor(t){this.http=t}getDeviceManagementConfig(){return this.http.get((0,m.OZ)(["protected","self-service","ui","configuration","tokens","airlock-2fa"]))}static#e=this.\u0275fac=function(i){return new(i||a)(e.KVO(w.Qq))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();class d{static#e=this.PROVIDER={provide:S,useFactory:d.resolveConfig,deps:[D.nX]};constructor(c,t,i){this.service=c,this.accessService=t,this.routes=i}resolve(){return this.service.getDeviceManagementConfig().pipe((0,r.W)(c=>(404===c.status?this.routes.error.notFound.navigate():this.accessService.handleAccessError(c,this.routes.protected.tokens.airlock2fa.devices.url),N.t)))}static resolveConfig(c){return c.snapshot.data.deviceManagementConfig}static#t=this.\u0275fac=function(t){return new(t||d)(e.KVO(y),e.KVO(k.s),e.KVO(U.BV))};static#i=this.\u0275prov=e.jDH({token:d,factory:d.\u0275fac})}var V=n(5964),E=n(7988),O=n(5159),Y=n(1460),M=n(177),j=n(6198),L=n(57),H=n(4160),X=n(4598),$=n(2426),W=n(3813),B=n(1463),K=n(3851);const P=a=>({keyPrefix:"protected.tokens.airlock-2fa.app-device.types",values:a}),Z=a=>({type:a}),Q=a=>({version:a});function J(a,c){1&a&&e.nrm(0,"iam-alert",6),2&a&&e.Y8G("text","protected.tokens.airlock-2fa.app-device.missing")("type","info")("id","airlock2FADevicesMissing")}function z(a,c){if(1&a){const t=e.RV6();e.j41(0,"iam-button",11),e.bIt("buttonClick",function(){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(2);return e.Njj(l.renameAirlock2FADevice(s))}),e.k0s()}if(2&a){const t=e.XpG().index;e.Y8G("id","changeAirlock2FADisplayName["+t+"]")("text","protected.tokens.airlock-2fa.app-device.actions.rename")}}function q(a,c){if(1&a){const t=e.RV6();e.j41(0,"iam-button",12),e.bIt("buttonClick",function(){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(2);return e.Njj(l.showDeviceDeleteConfirmationDialog(s))}),e.k0s()}if(2&a){const t=e.XpG().index;e.Y8G("id","deleteAirlock2FADevice["+t+"]")("type","error")("text","protected.tokens.airlock-2fa.app-device.actions.delete")}}function ee(a,c){if(1&a&&(e.j41(0,"iam-card",7),e.nI1(1,"translatedEnum"),e.nrm(2,"iam-text-row",8)(3,"iam-text-row",8),e.nI1(4,"translate"),e.j41(5,"iam-button-row"),e.DNE(6,z,1,2,"iam-button",9)(7,q,1,3,"iam-button",10),e.k0s()()),2&a){const t=c.$implicit,i=c.index,s=e.XpG().ngIf;e.Y8G("id","airlock2FAAppDevice["+i+"]")("title","protected.tokens.airlock-2fa.app-device.title")("titleArguments",e.eq3(19,Z,t.type?"("+e.bMT(1,12,e.eq3(17,P,t.type))+")":""))("detailCard",!0),e.R7$(2),e.Y8G("id","airlock2FADisplayName["+i+"]")("label","protected.tokens.airlock-2fa.app-device.display-name")("value",t.displayName?t.displayName:"-"),e.R7$(),e.Y8G("id","airlock2FAAppVersion["+i+"]")("label","protected.tokens.airlock-2fa.app-device.app-version.label")("value",e.i5U(4,14,"protected.tokens.airlock-2fa.app-device.app-version."+(t.appVersionSupported?"up-to-date":"out-of-date"),e.eq3(21,Q,t.appVersion))),e.R7$(3),e.Y8G("ngIf",s.canRename),e.R7$(),e.Y8G("ngIf",s.canDelete)}}function te(a,c){if(1&a&&(e.j41(0,"iam-card",13),e.nrm(1,"iam-text-row",8),e.k0s()),2&a){const t=c.$implicit,i=c.index;e.Y8G("id","airlock2FAHardwareDevice["+i+"]")("title","protected.tokens.airlock-2fa.hardware-device.title")("detailCard",!0),e.R7$(),e.Y8G("id","airlock2FAHardwareDeviceSerial["+i+"]")("label","protected.tokens.airlock-2fa.hardware-device.serial-number")("value",t.serialNumber)}}function ie(a,c){if(1&a){const t=e.RV6();e.j41(0,"iam-button",11),e.bIt("buttonClick",function(){e.eBV(t);const s=e.XpG(3);return e.Njj(s.activateAppDevice())}),e.k0s()}2&a&&e.Y8G("id","activateAirlock2FAAppDevice")("text","protected.tokens.airlock-2fa.actions.activate-app-device")}function ae(a,c){if(1&a){const t=e.RV6();e.j41(0,"iam-button",11),e.bIt("buttonClick",function(){e.eBV(t);const s=e.XpG(3);return e.Njj(s.navigateToExitTarget())}),e.k0s()}2&a&&e.Y8G("id","exitAirlock2FADeviceManagement")("text","protected.tokens.airlock-2fa.actions.exit")}function ne(a,c){if(1&a&&(e.j41(0,"iam-button-row",14),e.DNE(1,ie,1,2,"iam-button",9)(2,ae,1,2,"iam-button",9),e.k0s()),2&a){const t=e.XpG().ngIf;e.Y8G("rowNgClass","iam-mt-3"),e.R7$(),e.Y8G("ngIf",t.canAdd),e.R7$(),e.Y8G("ngIf",t.hasExitTarget)}}function oe(a,c){if(1&a&&(e.j41(0,"iam-page",1),e.DNE(1,J,1,3,"iam-alert",2)(2,ee,8,23,"iam-card",3)(3,te,2,6,"iam-card",4)(4,ne,3,3,"iam-button-row",5),e.k0s()),2&a){const t=c.ngIf,i=e.XpG();e.Y8G("pageId",i.pageId)("bodyAttributes",i.bodyAttributes)("title","protected.tokens.airlock-2fa.title")("hideMaintenanceMessages",!0),e.R7$(),e.Y8G("ngIf",0===t.appDevices.length&&0===t.hardwareDevices.length),e.R7$(),e.Y8G("ngForOf",t.appDevices),e.R7$(),e.Y8G("ngForOf",t.hardwareDevices),e.R7$(),e.Y8G("ngIf",t.canAdd||t.hasExitTarget)}}const se=[{path:"",pathMatch:"full",redirectTo:"devices"},{path:"devices",component:(()=>
1{class a extends E.t{constructor(t,i,s){super(),this.deviceManagementService=t,this.pageDialog=i,this.protectedUiService=s,this.bodyAttributes={[E.I]:O.g.ProtectedSelfService},this.pageId="iamProtectedAirlock2FADeviceManagement"}ngOnInit(){this.airlock2FADeviceManagement=this.initUiConfig().pipe((0,R.n)(()=>this.deviceManagementService.getAirlock2FADeviceManagement()))}showDeviceDeleteConfirmationDialog(t){this.pageDialog.show({text:"protected.tokens.airlock-2fa.deletion.dialog.text",title:"protected.tokens.airlock-2fa.deletion.dialog.title"}).pipe((0,V.p)(i=>i.ok)).subscribe(()=>this.deleteAirlock2FADevice(t))}deleteAirlock2FADevice(t){this.deviceManagementService.startFlowToDeleteDevice(t).subscribe({next:i=>this.protectedUiService.handleSuccessfulStep(i),error:i=>this.protectedUiService.handleFailedStep(i)})}renameAirlock2FADevice(t){this.deviceManagementService.startFlowToChangeDisplayName(t).subscribe({next:i=>this.protectedUiService.handleSuccessfulStep(i),error:i=>this.protectedUiService.handleFailedStep(i)})}activateAppDevice(){this.deviceManagementService.startFlowToActivateAppDevice().subscribe({next:t=>this.protectedUiService.handleSuccessfulStep(t),error:t=>this.protectedUiService.handleFailedStep(t)})}navigateToExitTarget(){this.deviceManagementService.navigateToExitTarget()}getUiConfig(){return this.deviceManagementService.getUiConfig()}static#e=this.\u0275fac=function(i){return new(i||a)(e.rXU(x),e.rXU(Y.y),e.rXU(g.S))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["ng-component"]],standalone:!1,features:[e.Jv_([T.u,x,d.PROVIDER]),e.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title","hideMaintenanceMessages",4,"ngIf"],[3,"pageId","bodyAttributes","title","hideMaintenanceMessages"],[3,"text","type","id",4,"ngIf"],[3,"id","title","titleArguments","detailCard",4,"ngFor","ngForOf"],[3,"id","title","detailCard",4,"ngFor","ngForOf"],[3,"rowNgClass",4,"ngIf"],[3,"text","type","id"],[3,"id","title","titleArguments","detailCard"],[3,"id","label","value"],[3,"id","text","buttonClick",4,"ngIf"],[3,"id","type","text","buttonClick",4,"ngIf"],[3,"buttonClick","id","text"],[3,"buttonClick","id","type","text"],[3,"id","title","detailCard"],[3,"rowNgClass"]],template:function(i,s){1&i&&(e.DNE(0,oe,5,8,"iam-page",0),e.nI1(1,"async")),2&i&&e.Y8G("ngIf",e.bMT(1,1,s.airlock2FADeviceManagement))},dependencies:[M.Sq,M.bT,j.C,L.m,H.Q,X.i,$.J,W.H,M.Jj,B.t,K.G],encapsulation:2})}return a})(),resolve:{deviceManagementConfig:()=>(0,e.WQX)(d).resolve()},runGuardsAndResolvers:"always"}];let ce=(()=>{class a{static#e=this.\u0275fac=function(i){return new(i||a)};static#t=this.\u0275mod=e.$C({type:a});static#i=this.\u0275inj=e.G2t({providers:[y,d],imports:[D.iI.forChild(se),o.G]})}return a})()},9856:(G,A,n)=>{n.d(A,{U:()=>v});var D=n(7006),o=n(4438),u=n(177),m=n(1463);const F=["*"];function C(r,h){if(1&r&&(o.nrm(0,"label",3),o.nI1(1,"translate")),2&r){const p=o.XpG();o.AVh("required",p.required),o.Y8G("innerHTML",o.bMT(1,4,p.label),o.npT),o.BMQ("for",p.labelFor)}}function _(r,h){1&r&&(o.j41(0,"span",5),o.EFF(1,"\xa0"),o.k0s())}function b(r,h){if(1&r&&o.DNE(0,_,2,0,"span",4),2&r){const p=o.XpG();o.Y8G("ngIf",!p.withoutLabel)}}let v=(()=>{class r{constructor(){this.label="",this.labelFor="",this.labelClass="",this.rowNgClass={},this.required=!1,this.withoutLabel=!1}hasLabel(){return D.D.isNotBlank(this.label)&&!this.withoutLabel}static#e=this.\u0275fac=function(g){return new(g||r)};static#t=this.\u0275cmp=o.VBU({type:r,selectors:[["iam-row-with-label"]],inputs:{label:"label",labelFor:"labelFor",labelClass:"labelClass",rowNgClass:"rowNgClass",required:"required",withoutLabel:"withoutLabel"},standalone:!1,ngContentSelectors:F,decls:6,vars:6,consts:[["emptyLabel",""],[1,"iam-form-group","iam-row",3,"ngClass"],["class","iam-col-12 iam-col-md-5 iam-col-form-label",3,"required","innerHTML",4,"ngIf","ngIfElse"],[1,"iam-col-12","iam-col-md-5","iam-col-form-label",3,"innerHTML"],["class","iam-col-12 iam-col-md-5 iam-col-form-label",4,"ngIf"],[1,"iam-col-12","iam-col-md-5","iam-col-form-label"]],template:function(g,f){if(1&g&&(o.NAR(),o.j41(0,"div",1),o.DNE(1,C,2,6,"label",2)(2,b,1,1,"ng-template",null,0,o.C5r),o.j41(4,"div"),o.SdG(5),o.k0s()()),2&g){const k=o.sdS(3);o.Y8G("ngClass",f.rowNgClass),o.R7$(),o.Y8G("ngIf",f.hasLabel())("ngIfElse",k),o.R7$(3),o.ZvI("iam-col-12 ",f.withoutLabel?"iam-col-md-12":"iam-col-md-7","")}},dependencies:[u.YU,u.bT,m.t],encapsulation:2})}return r})()}}]);

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.