1"use strict";(self.webpackChunkchava_sites=self.webpackChunkchava_sites||[]).push([[7141],{47141:(U,E,n)=>{n.r(E),n.d(E,{ListModule:()=>N});var r=n(36895),u=n(34793),f=n(98417),p=n(80919),_=n(14407),h=n(15861),M=n(39646),O=n(39841),L=n(83905),i=n(54004),t=n(94650),C=n(70348),d=n(88951),m=n(73546),v=n(24984),g=n(90293),P=n(29798),I=n(69131),D=n(65690);function c(o,s){if(1&o&&t._UZ(0,"app-contents-comments-new",6),2&o){const e=t.oxw(2);t.Q6J("service",e.guestbookEntityFormService)}}function T(o,s){if(1&o&&t._UZ(0,"app-contents-comments-list-item",9),2&o){const e=s.$implicit,a=s.last,l=t.oxw(3);t.ekj("mb-2",!a),t.Q6J("comment",e)("service",l.guestbookEntityFormService)}}function A(o,s){if(1&o&&(t.TgZ(0,"section",7),t.YNc(1,T,1,4,"app-contents-comments-list-item",8),t.qZA()),2&o){const e=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",e.guestbookEntities)}}function y(o,s){1&o&&(t.TgZ(0,"mat-card",10)(1,"mat-card-header")(2,"mat-card-title")(3,"h2",11),t._uU(4," Ins G\xe4stebuch schreiben "),t.qZA()()(),t.TgZ(5,"mat-card-content")(6,"p",12),t._uU(7," Melden Sie sich an, um einen Eintrag ins G\xe4stebuch schreiben zu k\xf6nnen. "),t.qZA(),t._UZ(8,"app-auth-login",13),t.qZA()()),2&o&&(t.xp6(8),t.Q6J("withMatCardStyle",!1))}function B(o,s){1&o&&(t.TgZ(0,"app-alert",14),t._uU(1," Es gibt zur Zeit keine G\xe4stebuch-Eintr\xe4ge."),t._UZ(2,"br"),t._uU(3," Schauen Sie doch gerne demn\xe4chst wieder vorbei! "),t.qZA()),2&o&&t.Q6J("isCentered",!0)("withFullWidth",!1)}function W(o,s){if(1&o&&(t.ynx(0),t.YNc(1,c,1,1,"app-contents-comments-new",2),t.YNc(2,A,2,1,"section",3),t.YNc(3,y,9,1,"ng-template",null,4,t.W1O),t.YNc(5,B,4,2,"ng-template",null,5,t.W1O),t.BQk()),2&o){const e=s.ngIf,a=t.MAs(4),l=t.MAs(6);t.xp6(1),t.Q6J("ngIf",e.user)("ngIfElse",a),t.xp6(1),t.Q6J("ngIf",e.guestbookEntities.length)("ngIfElse",l)}}function Z(o,s){1&o&&t._UZ(0,"app-spinner")}const R=[{path:"",component:(()=>{class o{constructor(e,a,l){this.guestbookEntityFormService=e,this.authService=a,this.router=l,this.vm$=(0,M.of)(null)}ngOnInit(){const e=this.guestbookEntityFormService.getEntities([{field:"createdAt",sort:"desc"}]).pipe((0,i.U)(a=>a.items));this.vm$=(0,O.a)([this.authService.user$,e]).pipe((0,i.U)(([a,l])=>({user:a,guestbookEntities:l})))}delete(e){var a=this;return(0,h.Z)(function*(){e&&(yield(0,L.z)(a.guestbookEntityFormService.delete(e)))})()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(C.V),t.Y36(d.e),t.Y36(u.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-pages-guestbook-entities-list"]],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loadingTemplate",""],["headerTitle","","class","d-block mb-2",3,"service",4,"ngIf","ngIfElse"],["itemscope","","itemtype","https://schema.org/ItemList",4,"ngIf","ngIfElse"],["loginTemplate",""],["noEntitiesTemplate",""],["headerTitle","",1,"d-block","mb-2",3,"service"],["itemscope","","itemtype","https://schema.org/ItemList"],["class","d-block",3,"mb-2","comment","service",4,"ngFor","ngForOf"],[1,"d-block",3,"comment","service"],[1,"mat-card-center","mb-3"],[1,""],[1,"mb-4"],["headingSize","h4",3,"withMatCardStyle"],["type","info",3,"isCentered","withFullWidth"]],template:function(e,a){if(1&e&&(t.YNc(0,W,7,4,"ng-container",0),t.ALo(1,"async"),t.YNc(2,Z,1,0,"ng-template",null,1,t.W1O)),2&e){const l=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,a.vm$))("ngIfElse",l)}},dependencies:[r.sg,r.O5,m.a8,m.dk,m.dn,m.n5,v.O,g.w,P.l,I.j,D.I,r.Ov],styles:[".list.contact-messages .mat-column-name-title-text{flex:0 0 10%;width:10%}\n"],encapsulation:2}),o})(),canActivate:[p.r],data:(0,f.Z)(_.A,{path:""})?.data}];let F=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[u.Bz.forChild(R),u.Bz]}),o})();var x=n(35202),K=n(38580),S=n(61795),J=n(4859),Q=n(97392),z=n(6970),Y=n(27242),G=n(41301);let N=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[F,r.ez,x.p,m.QW,J.ot,Q.Ps,K.F,S.n,z.G,G.R,Y.c]}),o})()},35202:(U,E,n)=>{n.d(E,{p:()=>D});var r=n(36895),u=n(34793),f=n(33562),p=n(7155),_=n(96308),h=n(97392),M=n(4859),O=n(56709),L=n(40567),i=n(73546),t=n(38580),C=n(61795),d=n(73162),m=n(11456),v=n(30359),g=n(98739),P=n(94226),I=n(94650);let D=(()=>{class c{}return c.\u0275fac=function(A){return new(A||c)},c.\u0275mod=I.oAB({type:c}),c.\u0275inj=I.cJS({providers:[{provide:g.ye,useClass:P.h}],imports:[r.ez,u.Bz,p.p0,_.JX,h.Ps,M.ot,O.p9,i.QW,d.Cv,g.TU,f.Um,L.z,t.F,C.n,m.P,v.D]}),c})()},98417:(U,E,n)=>{n.d(E,{Z:()=>O});var r=n(19625),u=n(78706),f=n(94157);const O=function p(L){return function(i,t,C){var d=Object(i);if(!(0,u.Z)(i)){var m=(0,r.Z)(t,3);i=(0,f.Z)(i),t=function(g){return m(d[g],g,d)}}var v=L(i,t,C);return v>-1?d[m?i[v]:v]:void 0}}(n(57513).Z)}}]);
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.