PageSourceSearch

https://finanzportal.vermoegenszentrum.ch/auth/ui/8990.5df3aeef1193135a.js

js vermoegenszentrum.ch collected 2026-10-02 06:02:17 UTC 9,606 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8990],{3459:(C,u,i)=>{i.r(u),i.d(u,{DeviceTokenManagementModule:()=>z});var p=i(5231),o=i(1552),f=i(7673),d=i(7348),D=i(274),l=i(6354),v=i(9437);class T{}class M{}var r=i(7805),k=i(7939),m=i(6979),h=i(7893),e=i(4438),_=i(1626),w=i(7235);class x extends w.d{}let I=(()=>{class n{constructor(t,a,c,q,ee,te){this.http=t,this.pages=a,this.accessService=c,this.config=q,this.flowsService=ee,this.dates=te}getDeviceTokenManagment(){return this.fetchUsersDeviceTokens().pipe((0,D.H)(t=>this.flowsService.retrieveSelfServiceFlows().pipe((0,l.T)(()=>this.createManagement(t)))))}navigateToExitTarget(){this.pages.routes.navigateTo(this.config.pageExitTarget)}getUiConfig(){return(0,f.of)(this.config)}fetchUsersDeviceTokens(){return this.http.get((0,d.OZ)(["/protected","self-service","device-token","tokens"])).pipe((0,l.T)(t=>this.toDeviceTokens(t.data)),(0,v.W)(t=>this.handleErrorResponse(t)))}createManagement(t){const a=new M;return a.deviceTokens=t,a.hasExitTarget=!!this.config.pageExitTarget,a}handleErrorResponse(t){return 404===t.status?(0,f.of)([]):this.handleAccessError(t,this.pages.routes.protected.tokens.device.tokens.url)}handleAccessError(t,a,c){return this.accessService.handleAccessError(t,a,c)}toDeviceTokens(t){return t.map(a=>this.toDeviceToken(a))}toDeviceToken(t){const a=new T;return a.id=t.id,a.totalUsages=t.attributes.totalUsages,a.label=t.attributes.label,a.validTo=this.dates.toDateTimeFromServer(t.attributes.validTo),a.latestUsageDate=this.dates.toDateTimeFromServer(t.attributes.latestUsageDate),a.activationDate=this.dates.toDateTimeFromServer(t.attributes.activationDate),a}static#e=this.\u0275fac=function(a){return new(a||n)(e.KVO(_.Qq),e.KVO(r.b),e.KVO(k.s),e.KVO(x),e.KVO(m.u),e.KVO(h.A))};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})();var R=i(5558),O=i(5060),y=i(7613);let E=(()=>{class n{constructor(t){this.http=t}getDeviceTokenManagementConfig(){return this.http.get((0,d.OZ)(["protected","self-service","ui","configuration","tokens","device-token"]))}static#e=this.\u0275fac=function(a){return new(a||n)(e.KVO(_.Qq))};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})();class g{static#e=this.PROVIDER={provide:x,useFactory:g.resolveConfig,deps:[p.nX]};constructor(s,t,a){this.service=s,this.accessService=t,this.routes=a}resolve(){return this.service.getDeviceTokenManagementConfig().pipe((0,v.W)(s=>(404===s.status?this.routes.error.notFound.navigate():this.accessService.handleAccessError(s,this.routes.protected.tokens.device.tokens.url),O.t)))}static resolveConfig(s){return s.snapshot.data.deviceTokenManagementConfig}static#t=this.\u0275fac=function(t){return new(t||g)(e.KVO(E),e.KVO(k.s),e.KVO(y.BV))};static#n=this.\u0275prov=e.jDH({token:g,factory:g.\u0275fac})}var G=i(7988),U=i(5159),b=i(177),L=i(6198),Y=i(57),A=i(4160),F=i(4598),S=i(2426),V=i(3813),$=i(2506);function P(n,s){1&n&&e.nrm(0,"iam-alert",5),2&n&&e.Y8G("text","protected.tokens.device-token.token.missing")("type","info")("id","deviceTokensMissing")}function K(n,s){if(1&n&&e.nrm(0,"iam-text-row",8),2&n){const t=e.XpG(),a=t.$implicit;e.Y8G("id","deviceTokenId["+t.index+"]")("label","protected.tokens.device-token.token.id")("value",a.id)}}function N(n,s){if(1&n&&e.nrm(0,"iam-text-row",8),2&n){const t=e.XpG(),a=t.$implicit;e.Y8G("id","deviceTokenLabel["+t.index+"]")("label","protected.tokens.device-token.token.label")("value",a.label)}}function j(n,s){if(1&n&&(e.nrm(0,"iam-text-row",8),e.nI1(1,"formatDate")),2&n){const t=e.XpG(),a=t.$implicit;e.Y8G("id","deviceTokenValidTo["+t.index+"]")("label","protected.tokens.device-token.token.valid-to")("value",e.bMT(1,3,a.validTo))}}function W(n,s){if(1&n&&(e.nrm(0,"iam-text-row",8),e.nI1(1,"formatDate")),2&n){const t=e.XpG(),a=t.$implicit;e.Y8G("id","deviceTokenLatestUsageDate["+t.index+"]")("label","protected.tokens.device-token.token.latest-usage-d
1ate")("value",e.bMT(1,3,a.latestUsageDate))}}function X(n,s){if(1&n&&(e.nrm(0,"iam-text-row",8),e.nI1(1,"formatDate")),2&n){const t=e.XpG(),a=t.$implicit;e.Y8G("id","deviceTokenActivationDate["+t.index+"]")("label","protected.tokens.device-token.token.activation-date")("value",e.bMT(1,3,a.activationDate))}}function B(n,s){if(1&n&&(e.j41(0,"iam-card",6),e.DNE(1,K,1,3,"iam-text-row",7)(2,N,1,3,"iam-text-row",7)(3,j,2,5,"iam-text-row",7)(4,W,2,5,"iam-text-row",7)(5,X,2,5,"iam-text-row",7),e.nrm(6,"iam-text-row",8),e.k0s()),2&n){const t=s.$implicit,a=s.index;e.Y8G("id","deviceToken["+a+"]")("title","protected.tokens.device-token.token.title")("detailCard",!0),e.R7$(),e.Y8G("ngIf",!t.label),e.R7$(),e.Y8G("ngIf",t.label),e.R7$(),e.Y8G("ngIf",t.validTo),e.R7$(),e.Y8G("ngIf",t.latestUsageDate),e.R7$(),e.Y8G("ngIf",t.activationDate),e.R7$(),e.Y8G("id","deviceTokenTotalUsages["+a+"]")("label","protected.tokens.device-token.token.total-usages")("value",t.totalUsages.toString())}}function H(n,s){if(1&n){const t=e.RV6();e.j41(0,"iam-button",11),e.bIt("buttonClick",function(){e.eBV(t);const c=e.XpG(3);return e.Njj(c.navigateToExitTarget())}),e.k0s()}2&n&&e.Y8G("id","exitDeviceTokenManagement")("text","protected.tokens.device-token.actions.exit")}function Q(n,s){if(1&n&&(e.j41(0,"iam-button-row",9),e.DNE(1,H,1,2,"iam-button",10),e.k0s()),2&n){const t=e.XpG().ngIf;e.Y8G("rowNgClass","iam-mt-3"),e.R7$(),e.Y8G("ngIf",t.hasExitTarget)}}function J(n,s){if(1&n&&(e.j41(0,"iam-page",1),e.DNE(1,P,1,3,"iam-alert",2)(2,B,7,11,"iam-card",3)(3,Q,2,2,"iam-button-row",4),e.k0s()),2&n){const t=s.ngIf,a=e.XpG();e.Y8G("pageId",a.pageId)("title","protected.tokens.device-token.title")("bodyAttributes",a.bodyAttributes)("hideMaintenanceMessages",!0),e.R7$(),e.Y8G("ngIf",0===t.deviceTokens.length),e.R7$(),e.Y8G("ngForOf",t.deviceTokens),e.R7$(),e.Y8G("ngIf",t.hasExitTarget)}}const Z=[{path:"",pathMatch:"full",component:(()=>{class n extends G.t{constructor(t){super(),this.deviceTokenManagementService=t,this.bodyAttributes={[G.I]:U.g.ProtectedSelfService},this.pageId="iamProtectedDeviceTokenManagement"}ngOnInit(){this.deviceTokenManagement=this.initUiConfig().pipe((0,R.n)(()=>this.deviceTokenManagementService.getDeviceTokenManagment()))}navigateToExitTarget(){this.deviceTokenManagementService.navigateToExitTarget()}getUiConfig(){return this.deviceTokenManagementService.getUiConfig()}static#e=this.\u0275fac=function(a){return new(a||n)(e.rXU(I))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],standalone:!1,features:[e.Jv_([m.u,I,g.PROVIDER]),e.Vt3],decls:2,vars:3,consts:[[3,"pageId","title","bodyAttributes","hideMaintenanceMessages",4,"ngIf"],[3,"pageId","title","bodyAttributes","hideMaintenanceMessages"],[3,"text","type","id",4,"ngIf"],[3,"id","title","detailCard",4,"ngFor","ngForOf"],[3,"rowNgClass",4,"ngIf"],[3,"text","type","id"],[3,"id","title","detailCard"],[3,"id","label","value",4,"ngIf"],[3,"id","label","value"],[3,"rowNgClass"],[3,"id","text","buttonClick",4,"ngIf"],[3,"buttonClick","id","text"]],template:function(a,c){1&a&&(e.DNE(0,J,4,7,"iam-page",0),e.nI1(1,"async")),2&a&&e.Y8G("ngIf",e.bMT(1,1,c.deviceTokenManagement))},dependencies:[b.Sq,b.bT,L.C,Y.m,A.Q,F.i,S.J,V.H,b.Jj,$.I],encapsulation:2})}return n})(),resolve:{deviceTokenManagementConfig:()=>(0,e.WQX)(g).resolve()},runGuardsAndResolvers:"always"}];let z=(()=>{class n{static#e=this.\u0275fac=function(a){return new(a||n)};static#t=this.\u0275mod=e.$C({type:n});static#n=this.\u0275inj=e.G2t({providers:[g,E],imports:[p.iI.forChild(Z),o.G]})}return n})()},2506:(C,u,i)=>{i.d(u,{I:()=>f});var p=i(7893),o=i(4438);let f=(()=>{class d{constructor(l){this.dates=l}transform(l,v=p.c.DATE_TIME){const T="string"==typeof l?this.dates.toDate(l):l;return T?this.dates.toString(T,v):void 0}static#e=this.\u0275fac=function(v){return new(v||d)(o.rXU(p.A,16))};static#t=this.\u0275pipe=o.EJ8({name:"formatDate",type:d,pure:!1,standalone:!1})}return d})()},9856:(C,u,i)=>{i.d(u,{U:()=>M});var p=i(7006),o=i(4438),f=i(177),d=i(1463);const D=["*"];function l(r,k){if(1&r&&(o.nrm(0,"label",3),o.nI1(1,"translate")),2&r){const m=o.XpG();o.AVh("required",m.required),o.Y8G("innerHTML",o.bMT(1,4,m.label),o.npT),o.BMQ("for",m.labelFor)}}function v(r,k){1&r&&(o.j41(0,"span",5),o.EFF(1,"\xa0"),o.k0s())}function T(r,k){if(1&r&&o.DNE(0,v,2,0,"span",4),2&r){const m=o.XpG();o.Y8G("ngIf",!m.withoutLabel)}}let M=(()=>
1{class r{constructor(){this.label="",this.labelFor="",this.labelClass="",this.rowNgClass={},this.required=!1,this.withoutLabel=!1}hasLabel(){return p.D.isNotBlank(this.label)&&!this.withoutLabel}static#e=this.\u0275fac=function(h){return new(h||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:D,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(h,e){if(1&h&&(o.NAR(),o.j41(0,"div",1),o.DNE(1,l,2,6,"label",2)(2,T,1,1,"ng-template",null,0,o.C5r),o.j41(4,"div"),o.SdG(5),o.k0s()()),2&h){const _=o.sdS(3);o.Y8G("ngClass",e.rowNgClass),o.R7$(),o.Y8G("ngIf",e.hasLabel())("ngIfElse",_),o.R7$(3),o.ZvI("iam-col-12 ",e.withoutLabel?"iam-col-md-12":"iam-col-md-7","")}},dependencies:[f.YU,f.bT,d.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.