1import{b as w}from"./chunk-G3BRJQTZ.js";import{c as S,d as k,f as D}from"./chunk-ZDFFYNZB.js";import"./chunk-QAMCV7RW.js";import{Ab as C,Eb as O,Gc as U,Hc as R,I as g,Ib as T,Ja as E,P as I,cb as M,ec as l,fb as y,gc as j,jb as A,ub as N}from"./chunk-HVIIKB3M.js";import{Ea as n,Fa as c,Ha as u,Ia as o,Ja as a,S as p,gc as s,ua as v}from"./chunk-XJU45MUC.js";import{a as h}from"./chunk-2BAXZMGZ.js";var b=new u("UserAccountNormalizer");var _=new u("VerificationTokenNormalizer"),Z=new u("LoginFormSerializer"),d=class{},m=(()=>{class e{constructor(t){this.adapter=t}get(t){return this.adapter.load(t)}createVerificationToken(t){return this.adapter.createVerificationToken(t)}static{this.\u0275fac=function(r){return new(r||e)(o(d))}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac})}}return e})(),F=(()=>{class e{constructor(t,r,i){this.userAccountConnector=t,this.userIdService=r,this.query=i,this.userQuery=this.query.create(()=>this.userIdService.takeUserId(!0).pipe(v(f=>this.userAccountConnector.get(f))),{reloadOn:[D],resetOn:[R,U]})}getById(t){return this.userAccountConnector.get(t)}get(){return this.userQuery.get()}static{this.\u0275fac=function(r){return new(r||e)(o(m),o(j),o(O))}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac})}}return e})(),L=(()=>{class e{constructor(){this.connector=a(m),this.command=a(C),this.createVerificationTokenCommand=this.command.create(({verificationTokenCreation:t})=>this.connector.createVerificationToken(t))}createVerificationToken(t){return this.createVerificationTokenCommand.execute({verificationTokenCreation:t})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac})}}return e})(),K=[F,{provide:S,useExisting:F},L,{provide:k,useExisting:L}],x=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=s({type:e})}static{this.\u0275inj=c({providers:[m,...K]})}}return e})();var P={backend:{occ:{endpoints:{user:"users/${userId}",createVerificationToken:"users/anonymous/verificationToken"}}}},Q={"Content-Type":"application/json"},q=(()=>{class e{constructor(t,r,i){this.http=t,this.occEndpoints=r,this.converter=i,this.logger=a(A)}load(t){let r=this.occEndpoints.buildUrl("user",{urlParams:{userId:t}});return this.http.get(r).pipe(p(i=>{throw l(i,this.logger)}),this.converter.pipeable(b))}createVerificationToken(t){let r=this.occEndpoints.buildUrl("createVerificationToken"),i=y.createHeader(M,!0,new g(h({},Q)));return t=this.converter.convert(t,Z),this.http.post(r,t,{headers:i}).pipe(p(f=>{throw l(f,this.logger)}),this.converter.pipeable(_))}static{this.\u0275fac=function(r){return new(r||e)(o(I),o(N),o(T))}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac})}}return e})(),H=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=s({type:e})}static{this.\u0275inj=c({providers:[E(P),{provide:d,useClass:q}]})}}return e})();var le=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=s({type:e})}static{this.\u0275inj=c({imports:[x,H,w]})}}return e})();export{le as UserAccountModule};
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.