1"use strict";(self.webpackChunktt_com_www_ng=self.webpackChunktt_com_www_ng||[]).push([["apps_tt-com-www_ng_src_app_pages_newsletter_evening-newsletter_evening-newsletter_component_ts"],{45569(u,C,n){n.d(C,{EveningNewsletterComponent:()=>A});var g=n(77084),r=n(89417),s=n(18359),h=n(6980),M=n(3186),P=n(79698),_=n(3138),m=n(23192),t=n(35547),c=n(85802),O=n(34006),p=n(91413),b=n(60177),w=n(88834),d=n(82765),v=n(33746),f=n(79296);function x(i,l){if(1&i&&(t.j41(0,"li"),t.nrm(1,"img",13)(2,"span",14),t.k0s()),2&i){const e=l.$implicit;t.R7$(),t.Y8G("src",e.image,t.B4B)("alt",e.text),t.R7$(),t.Y8G("innerHTML",e.text,t.npT)}}function D(i,l){1&i&&(t.j41(0,"mat-error"),t.EFF(1,"Bitte geben Sie eine g\xfcltige E-Mail Adresse ein."),t.k0s())}function I(i,l){1&i&&(t.j41(0,"mat-error",20),t.EFF(1,"Akzeptieren Sie die AGB um den Newsletter zu abonnieren."),t.k0s())}function T(i,l){if(1&i){const e=t.RV6();t.j41(0,"form",15),t.bIt("ngSubmit",function(){c.eBV(e);const o=t.XpG();return c.Njj(o.handleSubmit(o.formGroup))}),t.j41(1,"mat-form-field",16)(2,"mat-label"),t.EFF(3,"E-Mail"),t.k0s(),t.nrm(4,"input",17),t.nVh(5,D,2,0,"mat-error"),t.k0s(),t.j41(6,"mat-checkbox",18),t.bIt("click",function(){c.eBV(e);const o=t.XpG();return c.Njj(o.toggleCheckbox())}),t.EFF(7,"Ich akzeptiere die "),t.j41(8,"a",7),t.bIt("click",function(){c.eBV(e);const o=t.XpG();return c.Njj(o.openTermsDialog())}),t.EFF(9,"AGB."),t.k0s()(),t.j41(10,"div",19),t.nVh(11,I,2,0,"mat-error",20),t.k0s(),t.j41(12,"button",21)(13,"span"),t.EFF(14,"Jetzt abonnieren"),t.k0s()()()}if(2&i){const e=t.XpG();t.Y8G("formGroup",e.formGroup),t.R7$(5),t.vxM(e.formGroup.controls.email.invalid?5:-1),t.R7$(6),t.vxM(e.agbNotAccepted?11:-1)}}function k(i,l){1&i&&(t.j41(0,"div",12)(1,"h5"),t.EFF(2,"Bitte pr\xfcfen Sie Ihr E-Mail-Postfach, um die Anmeldung abzuschlie\xdfen."),t.k0s()())}function F(i,l){1&i&&(t.j41(0,"div",12)(1,"h5"),t.EFF(2,"Die Anmeldung ist leider fehlgeschlagen. Bitte versuchen Sie es erneut."),t.k0s()())}let A=(()=>{class i{constructor(e,a,o,E,B,N,U){this.formBuilder=e,this.dialog=a,this.http=o,this.viewportScroller=E,this.newsletterApiEndpoint=B,this.assetsBucketName=N,this.ttComProcessingEndpoint=U,this.imagesConfig=M.ay,this.picturePath=`${this.assetsBucketName}/assets/5um5/`,this.sources=[{versions:[(0,_.Mn)(this.imagesConfig.topImage.desktopImageConfig,1.5),this.imagesConfig.topImage.desktopImageConfig,(0,_.Mn)(this.imagesConfig.topImage.desktopImageConfig,.5)],uri:`${this.picturePath}header.jpg`,media:"(min-width: 551px)"},{versions:[(0,_.Mn)(this.imagesConfig.topImage.mobileImageConfig,1.5),this.imagesConfig.topImage.mobileImageConfig,(0,_.Mn)(this.imagesConfig.topImage.mobileImageConfig,.5)],uri:`${this.picturePath}header-mobile.jpg`,media:"(max-width: 550px)"}],this.iconConfig=M.QW,this.formGroup=this.formBuilder.group({email:["",[r.k0.required,r.k0.email]],checkbox:["",[r.k0.required]]}),this.submitted=!1,this.subscriptions=new s.yU,this.infoItems=[{text:"F\xfcnf Artikel des Tages t\xe4glich um 17:00 Uhr per E-Mail.",image:(0,m.L)(`https://${this.ttComProcessingEndpoint}/image/${this.picturePath}uhr.png`,this.iconConfig)},{text:'Kurz und kompakt: <a href="https://link.newsletters.tt.com/archive.php?p=878295842_3005945" target="_blank">Beispiel-Newsletter</a> gef\xe4llig?',image:(0,m.L)(`https://${this.ttComProcessingEndpoint}/image/${this.picturePath}devices.png`,this.iconConfig)},{text:"Der Newsletter ist gratis.",image:(0,m.L)(`https://${this.ttComProcessingEndpoint}/image/${this.picturePath}info.png`,this.iconConfig)}]}ngOnDestroy(){this.subscriptions.unsubscribe()}scrollTo(e){this.viewportScroller.scrollToAnchor(e)}openTermsDialog(){this.dialog.open(h.v)}toggleCheckbox(){this.agbNotAccepted=void 0!==this.agbNotAccepted&&!this.agbNotAccepted}handleSubmit(e){if(this.agbNotAccepted=e.controls.checkbox.invalid,e.valid){const a=e.value.email;console.log("subscribe to newsletter with mail",a),this.subEveningNewsletter(a)}}subEveningNewsletter(e){this.subscriptions.add(this.http.post(`${this.newsletterApiEndpoint}/subscribe/email/5um5/${e}`,null).subscribe({next:()=>{this.submitted=!0,this.succeeded=!0},error:o=>{this.submitted=!0,this.succeeded=!1,console.error(o)}}))}static{this.\u0275fac=function(a){return new(a||i)(t.rXU(r.ze),t.rXU(O.bZ),t.rXU(p.Qq),t.rXU(b.Xr),t.rXU(g.NEWSLETTER_API_ENDPOINT),t.rXU(g.TT_ASSETS_BUCKET_NAME),t.rXU(g.TT_COM_PROCESSING_ENDPOINT))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-evening-newsletter"]],decls:33,vars:6,consts:[[1,"content-wrap"],[1,"image-wrapper","to
1p-image"],[3,"sourceConfig","defaultCropConfig","alt"],[1,"image-text","image-text-left"],[1,"text-bg"],[1,"highlighted"],[1,"header-widget"],[3,"click"],[1,"content-info-wrapper"],["id","registration-form"],["name","registration-form",1,"registration-form"],[3,"formGroup"],[1,"submit-message"],[3,"src","alt"],[3,"innerHTML"],[3,"ngSubmit","formGroup"],["appearance","outline",1,"input","element"],["matInput","","type","email","formControlName","email","name","email","placeholder","E-Mail","required",""],["matInput","","color","primary","formControlName","checkbox","onKeyDown","toggleCheckbox()","required","",1,"checkbox","element",3,"click"],[1,"error-wrapper"],[1,"error","element"],["mat-raised-button","","type","submit",1,"button","element"]],template:function(a,o){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"lib-image-source-set",2),t.j41(3,"div",3)(4,"h1")(5,"span",4)(6,"span",5),t.EFF(7,"5 um F\xfcnf:"),t.k0s(),t.EFF(8," Die Top-Themen"),t.k0s(),t.nrm(9,"br"),t.j41(10,"span",4),t.EFF(11,"des Tages per E-Mail"),t.k0s()(),t.j41(12,"div",6)(13,"button",7),t.bIt("click",function(){return o.scrollTo("registration-form")}),t.EFF(14,"Gratis abonnieren"),t.k0s()()()(),t.j41(15,"div",8)(16,"h2"),t.EFF(17,"Das t\xe4gliche News-Update um 17:00 Uhr"),t.k0s(),t.j41(18,"p"),t.EFF(19," Sie haben tags\xfcber nicht die Zeit, das aktuelle Nachrichtengeschehen zu verfolgen oder wollen wissen, was Tirol derzeit bewegt? Dann sind Sie mit unserem Newsletter "),t.j41(20,"b"),t.EFF(21,"5 um F\xfcnf"),t.k0s(),t.EFF(22," bestens versorgt. Egal ob auf dem Weg nach Hause, vor dem Fitnesstraining oder auf der Couch im Wohnzimmer. "),t.k0s(),t.j41(23,"ul"),t.Z7z(24,x,3,3,"li",null,t.fX1),t.k0s(),t.nrm(26,"div",9),t.j41(27,"div",10)(28,"h3"),t.EFF(29,"Newsletter Anmeldung"),t.k0s(),t.nVh(30,T,15,3,"form",11),t.nVh(31,k,3,0,"div",12),t.nVh(32,F,3,0,"div",12),t.k0s()()()),2&a&&(t.R7$(2),t.Y8G("sourceConfig",o.sources)("defaultCropConfig",o.imagesConfig.topImage.desktopImageConfig)("alt","5 um F\xfcnf"),t.R7$(22),t.Dyx(o.infoItems),t.R7$(6),t.vxM(o.submitted?-1:30),t.R7$(),t.vxM(o.submitted&&o.succeeded?31:-1),t.R7$(),t.vxM(o.submitted&&!o.succeeded?32:-1))},dependencies:[P.w,w.$z,d.So,f.rl,f.nJ,f.TL,v.fg,r.qT,r.me,r.BC,r.cb,r.YS,r.j4,r.JD,_.EN],styles:["[_nghost-%COMP%]{display:block;scroll-behavior:smooth}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%]{border-top:1px solid #eeeeee;font-size:18px}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:Merriweather,Merriweather-Fallback,serif}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer;border:none;border-radius:4px}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%]{display:block;position:relative}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .header-widget[_ngcontent-%COMP%]{position:absolute;bottom:1rem}@media(min-width:375px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .header-widget[_ngcontent-%COMP%]{bottom:0}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .header-widget[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.9rem 4rem;background-color:#008253;color:#fff;font-size:1.2rem;font-weight:400}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .header-widget[_ngcontent-%COMP%] button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%]{position:absolute}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text.image-text-left[_ngcontent-%COMP%]{left:.9rem;top:3rem;right:0;bottom:2rem}@media(min-width:375px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text.image-text-left[_ngcontent-%COMP%]{bottom:3rem}}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text.image-text-left[_ngcontent-%COMP%]{left:5rem;top:3rem;bottom:3rem}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1rem;color:#000;margin-top:0;font-size:1.4rem;line-height:2.6rem}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{color:#008253}@media(min-width:375px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1.7rem;line-height:3.3rem}}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.5rem;line-height:4.5rem}}@media(min-width:1024px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.3rem;line-height:3.8rem}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%] .text-bg[_ngcontent-%COMP%]{background:#fff;padding:.2rem .35rem}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] .image-text[_ngcontent-%COMP%] .text-bg[_ngcontent-%COMP%]{padding:.25rem .5rem}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%]{background:#eee;text-align:center;padding:0 2rem 2rem}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%]{padding:2rem 2rem 4rem}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2.25rem;color:#008253;padding-top:2rem;margin-top:0}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{border:none}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto;color:#000;line-height:2rem}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:70%}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#000;font-size:1.5rem;margin:3rem auto;width:80%;line-height:2.1rem}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3rem auto 0;padding:0}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:60%}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;margin:1rem auto;color:#000;align-items:center}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:75%}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-right:1.5rem}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-align:left;flex:0 0 75%}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%]{position:relative;padding:1.5rem;padding-top:0;width:100%;margin:0 auto;margin-top:5rem;border:1px solid #ccc;border-radius:3px;border-top:3px solid #008253;text-align:left;background-color:#fff}@media(min-width:768px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%]{width:40%}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:500;width:100%;border-bottom:1px solid #ccc;margin-bottom:2rem;padding-bottom:.5rem}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%]{position:relative;display:block;font-size:1.2rem}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{font-size:75%;padding:0 1em;margin-top:.6666666667em;font-weight:400;line-height:1.125}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] .element[_ngcontent-%COMP%]{display:block;font-size:1.2rem}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] .element.checkbox[_ngcontent-%COMP%]{font-weight:400;margin-top:1.5rem;padding-left:.25rem}@media(min-width:678px){[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] .element.checkbox[_ngcontent-%COMP%]{margin-top:.5rem}}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] .element.button[_ngcontent-%COMP%]{width:100%;color:#fff;background-color:#008253;margin-top:1.5rem;font-weight:400}[_nghost-%COMP%] .content-wrap[_ngcontent-%COMP%] .content-info-wrapper[_ngcontent-%COMP%] .registration-form[_ngcontent-%COMP%] .submit-message[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:1.25rem;color:#008253}"]})}}return i})()},79698(u,C,n){n.d(C,{w:()=>O});var g=n(53880),r=n(53351),s=n(49769),h=n(53719),M=n(89417),P=n(33746),_=n(82765),m=n(88834),t=n(35547),c=n(85802);let O=(()=>{class p{static{this.\u0275fac=function(d){return new(d||p)}}static{this.\u0275mod=t.$C({type:p})}static{this.\u0275inj=c.G2t({imports:[s.MD,g.Uz,r.t6,m.Hl,_.g7,h.RG,P.fS,M.X1,s.MD,g.Uz,r.t6,m.Hl,_.g7,h.RG,P.fS,M.X1]})}}return p})()},3186(u,C,n){n.d(C,{QW:()=>r,ay:()=>g,uk:()=>s});const g={topImage:{desktopImageConfig:{resize:{width:950,height:430,fit:"cover"}},mobileImageConfig:{resize:{width:768,height:800,fit:"cover"}}},bottomImage:{desktopImageConfig:{resize:{width:950,height:430,fit:"cover"}},mobileImageConfig:{resize:{width:450,height:390,fit:"cover"}}}},r={resize:{height:50,width:50,fit:"cover"},format:"webp"},s={resize:{height:200,width:200,fit:"cover"}}}}]);
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.