1"use strict";(self.webpackChunkchava_sites=self.webpackChunkchava_sites||[]).push([[7282,1795,305],{60077:(D,b,t)=>{t.d(b,{A:()=>x});var e=t(24006),p=t(71047),f=t(88291),u=t(39646),i=t(39841),s=t(54004),I=t(94650);let x=(()=>{class h extends p.R{constructor(m){super(),this.formBuilder=m}getModel(m){return(0,u.of)(new f.x(m))}getForm(m,a){return(0,i.a)([this.ensureModel$(m),this.controlMetas$]).pipe((0,s.U)(([N,L])=>this.enhanceForm({formGroup:new e.cw({bank:new e.NI(N.bank,{validators:[e.kI.maxLength(100)],nonNullable:!0}),iban:new e.NI(N.iban,{validators:[e.kI.minLength(22),e.kI.maxLength(22)],nonNullable:!0}),bic:new e.NI(N.bic,{validators:[e.kI.minLength(11),e.kI.maxLength(11)],nonNullable:!0})}),controlMetas:L,model:N},a)))}getControlMetas(){return this.enhanceControlMetas({bank:{input:{label:"Bank"}},iban:{input:{label:"IBAN"}},bic:{input:{label:"BIC"}}})}}return h.\u0275fac=function(m){return new(m||h)(I.LFG(e.qu))},h.\u0275prov=I.Yz7({token:h,factory:h.\u0275fac,providedIn:"any"}),h})()},60932:(D,b,t)=>{t.d(b,{E:()=>f});var e=t(47166),p=t(76552);class f extends e.Y{constructor(i,s){super(i,s),this.personNameOptions=new p.w,i&&(this.personNameOptions=i.personNameOptions?i.personNameOptions instanceof p.w?i.personNameOptions:new p.w(i.personNameOptions):this.personNameOptions)}}},23045:(D,b,t)=>{t.d(b,{j:()=>h});var e=t(24006),p=t(71047),f=t(39646),u=t(39841),i=t(63900),s=t(54004),I=t(40997),x=t(94650);let h=(()=>{class g extends p.R{constructor(a){super(),this.formBuilder=a}getModel(a){return(0,f.of)(new I.z(a))}getForm(a,N){return(0,u.a)([this.ensureModel$(a),this.controlMetas$]).pipe((0,i.w)(([L,M])=>(0,u.a)([(0,f.of)(null)]).pipe((0,s.U)(([w])=>new e.cw({meUrlId:new e.NI(L.meUrlId,{validators:[e.kI.maxLength(50)],nonNullable:!0})})),(0,s.U)(w=>this.enhanceForm({formGroup:w,controlMetas:M,model:L},N)))))}getControlMetas(){return(0,u.a)([(0,f.of)(null)]).pipe((0,i.w)(([a])=>this.enhanceControlMetas({meUrlId:{input:{label:"Me URL ID",hint:"https://paypal.me/Me-URL-ID"}}})))}}return g.\u0275fac=function(a){return new(a||g)(x.LFG(e.qu))},g.\u0275prov=x.Yz7({token:g,factory:g.\u0275fac,providedIn:"any"}),g})()},50644:(D,b,t)=>{t.d(b,{A:()=>Z});var e=t(24006),p=t(43176),f=t(39165),u=t(39841),i=t(39646),s=t(63900),I=t(54004),x=t(72568),h=t(95053),g=t(60932),m=t(1992),a=t(94650),N=t(66978),L=t(65412),M=t(91645),w=t(88951),G=t(91565),k=t(43305),$=t(71047),S=t(48519),B=t(49878);let K=(()=>{class d extends $.R{constructor(r,l,n){super(),this.formBuilder=r,this.authService=l,this.settingsService=n}getModel(r){return(0,i.of)(new k.G(r))}getForm(r,l){return(0,u.a)([this.ensureModel$(r),this.controlMetas$]).pipe((0,s.w)(([n,o])=>(0,u.a)([this.authService.user$]).pipe((0,I.U)(([v])=>{let E;return E=v?.hasRole?.("admin")?new e.cw({isContributer:new e.NI(n.isContributer,{nonNullable:!0}),isAuthor:new e.NI(n.isAuthor,{nonNullable:!0}),isEditor:new e.NI(n.isEditor,{nonNullable:!0}),isStaff:new e.NI(n.isStaff,{nonNullable:!0}),isAdmin:new e.NI(n.isAdmin,{nonNullable:!0}),isSuperAdmin:new e.NI(n.isSuperAdmin,{nonNullable:!0})}):new e.cw({label:new e.NI(n.label,{nonNullable:!0})}),E}),(0,I.U)(v=>this.enhanceForm({formGroup:v,controlMetas:o,model:n},l)))))}getControlMetas(){return(0,u.a)([this.settingsService.settings$,this.authService.user$]).pipe((0,s.w)(([r,l])=>{let n;return n=l?.hasRole?.("admin")?{isContributer:{checkbox:{text:S.K$.find(o=>"contributer"===o.value)?.text||""}},isAuthor:{checkbox:{text:S.K$.find(o=>"author"===o.value)?.text||""}},isEditor:{checkbox:{text:S.K$.find(o=>"editor"===o.value)?.text||""}},isStaff:{checkbox:{text:S.K$.find(o=>"staff"===o.value)?.text||""}},isAdmin:{checkbox:{text:S.K$.find(o=>"admin"===o.value)?.text||""},contexts:l?.hasRole?.("superAdmin")?null:["detail"]},isSuperAdmin:{checkbox:{text:S.K$.find(o=>"superAdmin"===o.value)?.text||""},contexts:["detail"]}}:{label:{input:{label:"Rolle"},contexts:["detail"]}},this.enhanceControlMetas(n)}))}}return d.\u0275fac=function(r){return new(r||d)(a.LFG(e.qu),a.LFG(w.e),a.LFG(B.g))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac,providedIn:"any"}),d})();var T=t(59674),W=t(60077),_=t(23045),j=t(3405),z=t(55384);let Z=(()=>{class d extends f.r{constructor(r,l,n,o,v,E,c,A,O,U,R,C,y,F){super(l,l,n,o,v,A),this.formBuilder=r,this.personNameService=E,this.rolesService=c,this.postalAddressService=O,this.bankAccountService=U,this.paypalService=R,this.validatorService=C,this.apiService=y,this.environmentConfig=F}getForm(r,l){return(0,u.a)([this.ensureModel$(r),this.controlMetas$]).pipe((0,s.w)(([n,o])=>this.settingsService.settings$.pipe((0,s.w)(v=>{const c={formGroupOptions:new g.E({withStreetRequired:v.auth.user.withUserAddress,withZipRequired:v.auth.user.withUserAddress,withCityRequired:v.auth.user.withUserAddress})};return(0,u.a)([this.authService.user$,this.rolesService.getForm(n.roles?(0,i.of)(n.roles):null),this.personNameService.getForm(n.name?(0,i.of)(n.name):null),this.postalAddressService.getForm(n.address?(0,i.of)(n.address):null,c),this.bankAccountService.getForm(n.bankAccount?(0,i.of)(n.bankAccount):null),this.paypalService.getForm(n.paypal?(0,i.of)(n.paypal):null)]).pipe((0,I.U)(([A,O,U,R,C,y])=>new e.cw({isActive:new e.NI(n.isActive,{nonNullable:!0}),withEmailNotifications:new e.NI(n.withEmailNotifications,{nonNullable:!0}),withSmsNotifications:new e.NI(n.withSmsNotifications,{nonNullable:!0}),emailVerified:new e.NI(n.emailVerified,{nonNullable:!0}),number:new e.NI(n.number,{validators:[e.kI.maxLength(7),e.kI.pattern(x.D.integer.pattern)],asyncValidators:[this.validatorService.validateIsNumberFree(this.entryStoreService?.collectionName,n.id)]}),email:new e.NI(n.email,{validators:[e.kI.required,e.kI.email,e.kI.maxLength(100)],nonNullable:!0}),nickname:new e.NI(n.nickname,{validators:[e.kI.maxLength(50)],nonNullable:!0}),name:U.formGroup,organizationName:new e.NI(n.organizationName,{validators:[e.kI.required,e.kI.maxLength(100)],nonNullable:!0}),address:R.formGroup,phone:new e.NI(n.phone,{validators:[e.kI.required,e.kI.pattern(x.D.phone.pattern),e.kI.maxLength(30)],nonNullable:!0}),wechatId:new e.NI(n.wechatId,{validators:[e.kI.required,e.kI.maxLength(100)],nonNullable:!0}),bankAccount:C.formGroup,paypal:y.formGroup,password:new e.NI(n.password,{validators:[e.kI.required,e.kI.pattern(x.D.password.pattern),e.kI.minLength(6),e.kI.maxLength(25)],nonNullable:!0}),roles:O.formGroup,hasUnlockedDatabaseEnsured:new e.NI(n.hasUnlockedDatabaseEnsured,{nonNullable:!0}),shopConfigJson:new e.NI(n.shopConfigJson,{nonNullable:!0}),id:new e.NI(n.id,{nonNullable:!0})}
1)),(0,I.U)(A=>super.enhanceForm({formGroup:A,controlMetas:o,model:n},l)))}))))}getControlMetas(){return this.settingsService.settings$.pipe((0,s.w)(r=>(0,u.a)([this.postalAddressService.controlMetas$,this.rolesService.controlMetas$,this.personNameService.controlMetas$,this.bankAccountService.controlMetas$,this.paypalService.controlMetas$,this.authService.user$]).pipe((0,s.w)(([l,n,o,v,E,c])=>{const A={isActive:{checkbox:{text:"Aktiv"},contexts:c?.hasRole?.("superAdmin")?null:[]},withEmailNotifications:{checkbox:{text:"Ich m\xf6chte \xfcber Neuigkeiten informiert werden (Newsletter)",withLineBreak:!0}},withSmsNotifications:{checkbox:{text:"Ich m\xf6chte bei Benachrichtigung eine SMS erhalten",withLineBreak:!0,hint:"Ben\xf6tigt eine g\xfcltige Mobilnummer"},contexts:c?.hasRole?.("superAdmin")?null:[]},emailVerified:{checkbox:{text:"E-Mail-Adresse ist best\xe4tigt"},contexts:c?.hasRole?.("superAdmin")?null:["detail"]},number:{input:{label:r.auth.user.userNumberLabel},contexts:c?.hasRole?.("superAdmin")&&!r.auth.user.withUserNumberAutoCreation?null:["detail"]},email:{input:{label:"E-Mail",type:p.n.Email},contexts:c?.hasRole?.("superAdmin")?null:["detail"]},nickname:{input:{label:"Nickname"},isActive:r.auth.user.withUserNickname},name:{controlMetas:(0,h.Z)(o)},organizationName:{input:{label:"Firma"},isActive:!(!this.environmentConfig.app.withShop||!r.shop.isBusinessToBusiness)},address:{controlMetas:(0,h.Z)(l)},phone:{input:{label:"Telefon"},isActive:r.auth.user.withUserPhone},wechatId:{input:{label:"WeChat ID"},isActive:r.auth.user.withUserWechatId},bankAccount:{group:{label:"Bankdaten",labelMode:"heading"},isActive:!!r.shop?.affiliate?.commissionSellerLevel1?.value,controlMetas:(0,h.Z)(v)},paypal:{group:{label:"PayPal",labelMode:"heading"},isActive:!!r.shop?.affiliate?.commissionSellerLevel1?.value,controlMetas:(0,h.Z)(E)},password:{input:{label:"Passwort",type:p.n.Password,hint:"Bitten geben Sie einen Wert mit Zahlen und Buchstaben ein (mindestens 6-stellig)."},contexts:["new"]},roles:{controlMetas:(0,h.Z)(n)},hasUnlockedDatabaseEnsured:{checkbox:{text:"Datenbank-Eingaben immer erm\xf6glichen"},contexts:c?.hasRole?.("superAdmin")?null:[]},shopConfigJson:{textarea:{label:"Shop-Konfiguration",hint:"Als JSON"},contexts:this.environmentConfig.app.withShop&&c?.hasRole?.("superAdmin")?null:[]},id:{input:{label:"ID"},contexts:c?.hasRole?.("superAdmin")?["detail"]:[]}};return c?.hasRole?.("admin")&&(A.roles.group={label:"Rollen",withoutHighlighting:!0}),this.enhanceControlMetas(A)}))))}get columnMetas$(){return this.settingsService.settings$.pipe((0,s.w)(r=>(0,u.a)([(0,i.of)(r),this.authService.user$,this.postalAddressService.getColumnMetas()]).pipe((0,s.w)(([l,n,o])=>{const E={select:{},number:{title:l.auth.user.userNumberLabel},"name.last":{title:"Nachname"},"name.first":{title:"Vorname"},phone:{title:"Telefon",isActive:l.auth.user.withUserPhone},email:{title:"E-Mail"},...Object.keys(o).reduce((c,A)=>(c["address."+A]={...o[A],isDownloadOnly:!0,isActive:r.auth.user.withUserAddress},c),{}),"roles.label":{title:"Rolle"},emailVerified:{title:"E-Mail best\xe4tigt"},hasUnlockedDatabaseEnsured:{title:"DB-Eingaben erm\xf6glicht"},isActive:{title:"Aktiv",isFilteringOnly:!0},detail:{},edit:{},delete:{isActive:n?.hasRole?.("superAdmin")}};return this.enhanceColumnMetas(E)}))))}delete(r,l){return this.getModel(r).pipe((0,s.w)(n=>{const o={titleLong:"Registrierten Benutzer l\xf6schen",body:`M\xf6chten Sie den registrierten Benutzer "${n.displayName}" l\xf6schen?`,...l};return super.delete(r,o)}))}}return d.\u0275fac=function(r){return new(r||d)(a.LFG(e.qu),a.LFG(N.p),a.LFG(L.uw),a.LFG(M.M),a.LFG(w.e),a.LFG(G.U),a.LFG(K),a.LFG(B.g),a.LFG(T.J),a.LFG(W.A),a.LFG(_.j),a.LFG(j.o),a.LFG(z.s),a.LFG(m.L))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac,providedIn:"any"}),d})()},61795:(D,b,t)=>{t.d(b,{n:()=>u});var e=t(36895),p=t(97392),f=t(94650);let u=(()=>{class i{}return i.\u0275fac=function(I){return new(I||i)},i.\u0275mod=f.oAB({type:i}),i.\u0275inj=f.cJS({imports:[e.ez,p.Ps]}),i})()}}]);
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.