PageSourceSearch

https://www.ottonova.de/web-app/295.33322bc6293b9fb3.js

js ottonova.de collected 2026-09-25 19:18:00 UTC 274,748 bytes, 4 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be8e1b69-abd8-5d9d-8096-74cbe97d3c59")}catch(e){}}();
3(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[295],{22567:($,x,n)=>{n.d(x,{V:()=>Q});var t=n(94485),e=n(58527),o=n(65377),i=n(22380),l=n(66990),c=n(51376),h=n(61177),b=n(52713),_=n(60494),C=n(80560),g=n(85687),p=n(84975),M=n(40450),O=n(6663),s=n(65667),y=n(66447),u=n(35888);const w={[c.e_9.Employer]:"Diese Bescheinigung ben\xf6tigt dein Arbeitgeber, um deinen monatlichen Zuschuss zur privaten Krankenversicherung korrekt zu ermitteln. Sie enth\xe4lt alle relevanten Beitragsdaten und wird j\xe4hrlich vorgelegt.",[c.e_9.PrivateInsurance]:"Detaillierter Nachweis \xfcber deine private Krankenversicherung mit genauen Beitragsdaten. Diesen ben\xf6tigst du h\xe4ufig f\xfcr Beh\xf6rden, Banken, Jobcenter, Sozial\xe4mter oder andere Institutionen.",[c.e_9.HealthInsurance]:"Diese Bescheinigung ben\xf6tigen Beh\xf6rden, Botschaften oder andere Stellen als Nachweis, dass du krankenversichert bist. Sie enth\xe4lt bewusst keine Beitragsdaten und best\xe4tigt nur deinen Versicherungsstatus.",[c.e_9.HealthInsuranceExpats]:"Diese Bescheinigung ben\xf6tigen Ausl\xe4nderbeh\xf6rden oder Botschaften als Nachweis deiner Krankenversicherung f\xfcr Visum- und Aufenthaltsverfahren. Speziell auf die Anforderungen f\xfcr Expats und Drittstaatsangeh\xf6rige zugeschnitten.",[c.e_9.Aid]:"Diese Bescheinigung ben\xf6tigt deine Beihilfestelle als Nachweis deines Beihilfeanspruchs und Prozentsatzes. Wird oft zusammen mit Rechnungen eingereicht, um den Erstattungsprozess deiner Behandlungskosten zu optimieren.",[c.e_9.TravelCertificate]:"Bescheinigt deinen Krankenversicherungsschutz im Ausland \u2013 z. B. f\xfcr Einreise oder Visum."},D={[c.e_9.Employer]:"Arbeitgeberbescheinigung",[c.e_9.PrivateInsurance]:"PKV-Bescheinigung",[c.e_9.HealthInsurance]:"Versicherungsnachweis",[c.e_9.HealthInsuranceExpats]:"Versicherungsnachweis Expats",[c.e_9.Aid]:"Beihilfebescheinigung",[c.e_9.TravelCertificate]:"Auslandsbescheinigung"},N=[c.e_9.Employer,c.e_9.HealthInsurance,c.e_9.HealthInsuranceExpats,c.e_9.PrivateInsurance,c.e_9.Aid,c.e_9.TravelCertificate];let Q=(()=>{class J{store=(0,e.WQX)(b.il);http=(0,e.WQX)(t.Qq);alertService=(0,e.WQX)(i.uE);logService=(0,e.WQX)(h.Kc);router=(0,e.WQX)(o.Ix);apiUrl=(0,e.WQX)(l.rA);certificateFeedbackService=(0,e.WQX)(y.U);generateCertificateAndNavigate(L,R,Y){return this.generateCertificate(L,R,Y).pipe((0,_.W)(X=>(this.handleGenerationError(X,R,L),C.w)),(0,g.p)(Boolean),(0,p.n)(({document_id:X})=>(this.certificateFeedbackService.setCertificateId(X),this.certificateFeedbackService.setProfileId(L),(0,M.H)(this.router.navigate(["document",L,X])))))}hasSupportedCertificates(){return this.store.select(u.oy).pipe((0,g.p)(Boolean),(0,O.T)(L=>this.hasCertificates(L)))}hasSupportedCertificate(L){return this.store.select(u.oy).pipe((0,g.p)(Boolean),(0,O.T)(R=>this.hasCertificate(R,L)))}getSupportedCertificates(){return this.store.select(u.oy).pipe((0,g.p)(Boolean),(0,O.T)(L=>{if(this.hasCertificates(L))return L.supported_certificates?.filter(this.isCertificateSupported).map(R=>({type:R,name:D[R],description:w[R]}))}))}fetchCountries(){return this.http.get(`${this.apiUrl}/customer/customer/countries`)}handleGenerationError(L,R,Y){switch(L.status){case t.kG.TooManyRequests:this.alertService.error("Du hast dieses Dokument schon erstellt.<br>Schau einfach in deinem Dokumentenbereich nach \u2013 dort findest du es."),this.router.navigateByUrl("/document");break;case t.kG.BadRequest:this.alertService.error(R===c.e_9.TravelCertificate?L.error.error.message:s.B.pleaseTryAgainLater),this.logService.error(`[CertificateService] Failed to generate "${R}" document for profileId "${Y}"`,L);break;default:this.alertService.error(s.B.pleaseTryAgainLater),this.logService.error(`[CertificateService] Failed to generate "${R}" document for profileId "${Y}"`,L)}}generateCertificate(L,R,Y){return this.http.post(`${this.apiUrl}/customer/customer/profiles/${L}/certificates/${R}`,Y??null)}hasCertificates(L){return L?.supported_certificates?.some(R=>this.isCertificateSupported(R))??!1}hasCertificate(L,R){return L?.supported_certificates?.some(Y=>R===Y&&this.isCertificateSupported(Y))??!1}isCertificateSupported(L){return N.includes(L)}static \u0275fac=function(R){return new(R||J)};static \u0275prov=e.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})()},31385:($,x,n)=>{n.d(x,{F:()=>L});var t=n(61142),e=n(65377),o=n(46140),i=n(89344),l=n(27555),c=n(24153),h=n(85618),b=n(23818),_=n(54575),C=n(11135),g=n(82015),p=n(6839),M=n(85657),O=n(3395),s=n(87443),y=n(60168),u=n(15887),w=n(36363),D=n(71599),N=n(37735),Q=n(7710
35),J=n(32802),G=n(58527);let L=(()=>{class R{static \u0275fac=function(q){return new(q||R)};static \u0275mod=G.$C({type:R});static \u0275inj=G.G2t({imports:[t.MD,e.iI,b.o,c.U,_.sb,C.F,o.tm,h.VM,i.xy,g.u,l.xB,M.f,s.R,y.u,N.EmptyChatComponent,O.c,u.Y,D.ChatComponent,J.ConversationWindowComponent,Q.NewChatComponent,w.E,p.P,_.sb]})}return R})()},6839:($,x,n)=>{n.d(x,{P:()=>h});var t=n(58527),e=n(24153),o=n(85618),i=n(23818),l=n(73466),c=n(2590);let h=(()=>{class b{modalInstanceService=(0,t.WQX)(i.g7);closeModal(){this.modalInstanceService.dismiss()}static \u0275fac=function(g){return new(g||b)};static \u0275cmp=t.VBU({type:b,selectors:[["wa-bkv-video-call-modal"]],standalone:!0,features:[t.aNF],decls:12,vars:5,consts:[[3,"onDismissClick"],["modalBody","",1,"bkv-modal"],["type","svg","file","video-call.svg",1,"bkv-modal-icon",3,"stretchToContainer"],[1,"bkv-modal-title"],[1,"bkv-modal-text"],[1,"bkv-modal-links-wrapper"],["href","https://apps.apple.com/de/app/teleclinic-online-arzt/id1094776229",1,"bkv-modal-link",3,"targetBlank"],["type","svg","file","apple_app_store.svg",1,"bkv-modal-link-icon",3,"stretchToContainer"],["href","https://play.google.com/store/apps/details?id=com.teleClinic.teleClinic",1,"bkv-modal-link",3,"targetBlank"],["type","svg","file","google_play_store.svg",1,"bkv-modal-link-icon",3,"stretchToContainer"]],template:function(g,p){1&g&&(t.j41(0,"frontend-default-modal",0),t.bIt("onDismissClick",function(){return p.closeModal()}),t.j41(1,"div",1),t.nrm(2,"frontend-image",2),t.j41(3,"h3",3),t.EFF(4,"Videosprechstunde"),t.k0s(),t.j41(5,"div",4),t.EFF(6," Danke f\xfcr dein Interesse. Bitte beachte, dass in den meisten F\xe4llen die Nutzung des Arzt-Video-Calls von deiner gesetzlichen Krankenkasse \xfcbernommen wird. Als Dienstleister kannst du TeleClinic nutzen. "),t.k0s(),t.j41(7,"div",5)(8,"frontend-link",6),t.nrm(9,"frontend-image",7),t.k0s(),t.j41(10,"frontend-link",8),t.nrm(11,"frontend-image",9),t.k0s()()()()),2&g&&(t.R7$(2),t.Y8G("stretchToContainer",!0),t.R7$(6),t.Y8G("targetBlank",!0),t.R7$(),t.Y8G("stretchToContainer",!0),t.R7$(),t.Y8G("targetBlank",!0),t.R7$(),t.Y8G("stretchToContainer",!0))},dependencies:[i.o,e.U,l.h,o.VM,c.g],styles:[".bkv-modal[_ngcontent-%COMP%]{--store-button-width: 160px;text-align:center}.bkv-modal-icon[_ngcontent-%COMP%]{display:block;width:112px;height:84px;margin:4px auto 12px}.bkv-modal-title[_ngcontent-%COMP%]{margin-bottom:8px;font-size:20px;font-weight:700;line-height:28px}.bkv-modal-text[_ngcontent-%COMP%]{max-width:400px;margin:0 auto 56px}.bkv-modal-links-wrapper[_ngcontent-%COMP%]{display:grid;justify-content:center;margin-bottom:6px;gap:16px;grid-template-columns:var(--store-button-width) var(--store-button-width)}.bkv-modal-link[_ngcontent-%COMP%]{width:var(--store-button-width);min-width:var(--store-button-width);height:48px}"]})}return b})()},85657:($,x,n)=>{n.d(x,{f:()=>b});var t=n(58527),e=n(45768),o=n(65377),i=n(85618),l=n(22332),c=n(2590);function h(_,C){1&_&&(t.j41(0,"div",0),t.EFF(1," Unser Chat ist an Werktagen (Mo - Fr) von 8 bis 18 Uhr live besetzt. Au\xdferhalb dieser Zeiten kannst du uns trotzdem schreiben, wir melden uns w\xe4hrend der Servicezeiten bei dir. Telefonisch erreichst du uns jederzeit unter "),t.j41(2,"frontend-link",1),t.EFF(3,"+49 89 12140712"),t.k0s(),t.EFF(4,". Antworten auf die h\xe4ufigsten Fragen findest du auch in unserem "),t.j41(5,"frontend-link",2),t.EFF(6,"FAQ-Bereich"),t.k0s(),t.EFF(7,". "),t.k0s())}let b=(()=>{class _{chatService=(0,t.WQX)(l.m);areAgentsAvailable=(0,e.ot)(this.chatService.getChatAgentsAvailability(),{initialValue:!0});static \u0275fac=function(p){return new(p||_)};static \u0275cmp=t.VBU({type:_,selectors:[["wa-chat-info-message"]],standalone:!0,features:[t.aNF],decls:1,vars:1,consts:[[1,"chat-info"],["href","tel:+498912140712",1,"chat-info-tel"],["routerLink","/faq"]],template:function(p,M){1&p&&t.DNE(0,h,8,0,"div",0),2&p&&t.vxM(M.areAgentsAvailable()?-1:0)},dependencies:[i.VM,c.g,o.Wk],styles:[".chat-info[_ngcontent-%COMP%]{padding:8px;margin-bottom:0;background-color:var(--text-background-purple);border-radius:var(--border-radius-sm);color:var(--text-purple);font-size:14px;font-weight:500;line-height:20px}.chat-info-tel[_ngcontent-%COMP%]{white-space:nowrap}"]})}return _})()},3395:($,x,n)=>{n.d(x,{c:()=>J});var t=n(61142),e=n(58527),o=n(65377),i=n(46140),l=n(24153),c=n(23818),h=n(52713),b=n(77392),_=n(58468),C=n(6663),g=n(21252),p=n(39611),M=n(13740),O=n(71645),s=n(22332),y=n(36363),u=n(73466),w=n(63752);
3function D(G,L){if(1&G&&(e.j41(0,"span",3),e.EFF(1),e.nI1(2,"async"),e.k0s()),2&G){const R=e.XpG();e.R7$(),e.SpI(" ",R.customPartnerName||e.bMT(2,1,R.partner$).name," ")}}function N(G,L){if(1&G){const R=e.RV6();e.j41(0,"div")(1,"frontend-button",5),e.bIt("onClick",function(){e.eBV(R);const X=e.XpG();return e.Njj(X.handleReopenChatClick())}),e.EFF(2,"Erneut \xf6ffnen"),e.k0s()()}2&G&&(e.R7$(),e.Y8G("link",!0))}function Q(G,L){if(1&G){const R=e.RV6();e.j41(0,"button",6),e.bIt("click",function(){e.eBV(R);const X=e.XpG();return e.Njj(X.closeAndRate())}),e.nrm(1,"frontend-image",7),e.EFF(2," Erledigt? "),e.k0s()}if(2&G){const R=e.XpG();e.Y8G("disabled",R.closeRequestWasSent),e.R7$(),e.Y8G("stretchToContainer",!0)}}let J=(()=>{class G{customPartnerName;hideReopenChat=!0;isUiBlocked$;partner$;closeRequestWasSent=!1;store=(0,e.WQX)(h.il);chatService=(0,e.WQX)(s.m);modalService=(0,e.WQX)(c.Bg);firebaseService=(0,e.WQX)(O.f);conversationId=this.store.selectSignal(M.oN);component$=new b.B;ngOnInit(){this.isUiBlocked$=this.store.select(M.D2).pipe((0,_.Q)(this.component$)),this.partner$=this.store.select(M.lI).pipe((0,C.T)(R=>R?.partner),(0,g.M)(()=>this.closeRequestWasSent=!1),(0,_.Q)(this.component$)),this.firebaseService.getRemoteConfig().then(R=>{this.hideReopenChat=this.firebaseService.isChatReopenDisabled(R)})}ngOnDestroy(){this.component$.next(),this.component$.complete()}closeAndRate(){if(this.closeRequestWasSent)return;const R=this.conversationId();R&&(this.firebaseService.logSimpleEvent(p.B8.ConversationResolved),this.closeRequestWasSent=!0,this.chatService.closeConversationRequest(R))}handleReopenChatClick(){this.hideReopenChat||(this.firebaseService.logSimpleEvent(p.B8.ConversationReopenPrompt),this.modalService.show(y.E).pipe((0,_.Q)(this.component$)).subscribe(()=>this.reopenConversation()))}reopenConversation(){this.firebaseService.logSimpleEvent(p.B8.ConversationReopenPromptConfirm);const R=this.conversationId();R&&this.chatService.reopenConversation(R)}static \u0275fac=function(Y){return new(Y||G)};static \u0275cmp=e.VBU({type:G,selectors:[["wa-chat-controls"]],inputs:{customPartnerName:"customPartnerName",hideReopenChat:"hideReopenChat"},standalone:!0,features:[e.aNF],decls:9,vars:10,consts:[[1,"chat-controls"],["routerLink","/chat",1,"chat-controls-back"],["type","svg","file","file-preview-previous.svg",3,"stretchToContainer"],[1,"partner-name"],["title","Diesen Chat beenden",1,"archive-button",3,"disabled"],[3,"onClick","link"],["title","Diesen Chat beenden",1,"archive-button",3,"click","disabled"],["type","svg","file","resolved-chat-icon.svg",1,"archive-icon",3,"stretchToContainer"]],template:function(Y,X){if(1&Y&&(e.j41(0,"div",0)(1,"a",1),e.nrm(2,"frontend-image",2),e.k0s(),e.DNE(3,D,3,3,"span",3),e.nI1(4,"async"),e.DNE(5,N,3,1,"div"),e.nI1(6,"async"),e.DNE(7,Q,3,2,"button",4),e.nI1(8,"async"),e.k0s()),2&Y){let q;e.R7$(2),e.Y8G("stretchToContainer",!0),e.R7$(),e.vxM(X.customPartnerName||null!=(q=e.bMT(4,4,X.partner$))&&q.name?3:-1),e.R7$(2),e.vxM(!X.hideReopenChat&&e.bMT(6,6,X.isUiBlocked$)?5:-1),e.R7$(2),e.vxM(e.bMT(8,8,X.isUiBlocked$)?-1:7)}},dependencies:[o.Wk,l.U,u.h,i.tm,w.Q,t.Jj],styles:[".chat-controls[_ngcontent-%COMP%]{display:flex;min-height:56px;align-items:center;justify-content:space-between;padding:8px 16px}.chat-controls[_ngcontent-%COMP%]   .chat-controls-back[_ngcontent-%COMP%]{display:inline-block;width:22px;min-width:22px;height:22px;margin-right:16px;color:var(--sec-light-100)}@media (min-width: 768px){.chat-controls[_ngcontent-%COMP%]   .chat-controls-back[_ngcontent-%COMP%]{display:none}}.chat-controls[_ngcontent-%COMP%]   .partner-name[_ngcontent-%COMP%]{font-size:16px;font-weight:700}@media (min-width: 768px){.chat-controls[_ngcontent-%COMP%]   .partner-name[_ngcontent-%COMP%]{font-size:18px}}.chat-controls[_ngcontent-%COMP%]   .unarchive-button[_ngcontent-%COMP%]:hover{color:var(--primary-darker);transform:translateY(0)}.chat-controls[_ngcontent-%COMP%]   .archive-button[_ngcontent-%COMP%]{display:flex;align-items:center;padding-left:18px;border:none;margin-left:auto;background:none;color:var(--success);font-size:16px;font-weight:700;outline:none;transition:all .2s ease-in-out}
3.chat-controls[_ngcontent-%COMP%]   .archive-button[_ngcontent-%COMP%]:hover{color:var(--success-darker)}.chat-controls[_ngcontent-%COMP%]   .archive-button[_ngcontent-%COMP%]:disabled{color:var(--sec-light-20);cursor:default}.chat-controls[_ngcontent-%COMP%]   .archive-icon[_ngcontent-%COMP%]{display:none}@media (min-width: 576px){.chat-controls[_ngcontent-%COMP%]   .archive-icon[_ngcontent-%COMP%]{display:inline-block;width:18px;height:19px;margin-right:8px;transform:translateY(-1px)}}"]})}return G})()},87443:($,x,n)=>{n.d(x,{R:()=>s});var t=n(58527),e=n(24153),o=n(69956),i=n(54575),l=n(56055),c=n(22332),h=n(73466);function b(y,u){if(1&y&&(t.j41(0,"i"),t.EFF(1),t.k0s()),2&y){const w=t.XpG();t.R7$(),t.SpI(" ",void 0===(null==w.message.data?null:w.message.data.rating)?"Bewertung ausstehend":"Chat wurde bewertet"," ")}}function _(y,u){1&y&&(t.j41(0,"div",0)(1,"div"),t.nrm(2,"frontend-image",1),t.k0s(),t.j41(3,"div",2),t.EFF(4,"eedoctors"),t.k0s()())}function C(y,u){if(1&y&&t.EFF(0),2&y){const w=t.XpG();t.SpI(" ",null==w.message?null:w.message.data.content," ")}}let g=(()=>{class y{message;static \u0275fac=function(D){return new(D||y)};static \u0275cmp=t.VBU({type:y,selectors:[["wa-chat-conversation-last-message"]],inputs:{message:"message"},decls:3,vars:1,consts:[[1,"eedoctors-voucher"],["file","eedoctors.svg","width","18px","height","18px"],[1,"eedoctors-voucher-title"]],template:function(D,N){if(1&D&&t.DNE(0,b,2,1,"i")(1,_,5,0,"div",0)(2,C,1,1),2&D){let Q;t.vxM("RATING"===(Q=null==N.message?null:N.message.type)?0:"voucher"===Q?1:2)}},dependencies:[h.h],styles:[".eedoctors-voucher[_ngcontent-%COMP%]{display:flex;align-items:center}.eedoctors-voucher-title[_ngcontent-%COMP%]{margin-left:4px}"]})}return y})();const p=()=>({showTodayWithTime:!0,showYesterdayAsASingleWord:!0});function M(y,u){1&y&&t.nrm(0,"span",1)}function O(y,u){1&y&&(t.EFF(0),t.nI1(1,"longDateFormat")),2&y&&t.SpI(" ",t.i5U(1,1,u,t.lJ4(4,p))," ")}let s=(()=>{class y{conversation;active;chatService=(0,t.WQX)(c.m);get partnerName(){return this.conversation.partner?.name||this.conversation.partner?.email||"ottonova Concierge"}get hasUnreadMessage(){const w=this.conversation.isArchived&&this.conversation.ratingStatus===l.ZO.Pending;return this.chatService.unreadConversations.has(this.conversation.conversationId)||w}static \u0275fac=function(D){return new(D||y)};static \u0275cmp=t.VBU({type:y,selectors:[["wa-chat-conversation"]],inputs:{conversation:"conversation",active:"active"},standalone:!0,features:[t.aNF],decls:12,vars:7,consts:[[1,"conversation"],[1,"unread"],[1,"avatar"],[1,"avatar-logo"],["file","logo-on.svg",3,"stretchToContainer"],[1,"details"],[1,"h6","partner"],[1,"last-message"],[3,"message"],[1,"time"]],template:function(D,N){if(1&D&&(t.j41(0,"div",0),t.DNE(1,M,1,0,"span",1),t.j41(2,"div",2)(3,"div",3),t.nrm(4,"frontend-image",4),t.k0s()(),t.j41(5,"div",5)(6,"div",6),t.EFF(7),t.k0s(),t.j41(8,"div",7),t.nrm(9,"wa-chat-conversation-last-message",8),t.k0s()(),t.j41(10,"div",9),t.DNE(11,O,2,5),t.k0s()()),2&D){let Q;t.AVh("active",N.active),t.R7$(),t.vxM(N.hasUnreadMessage?1:-1),t.R7$(3),t.Y8G("stretchToContainer",!0),t.R7$(3),t.SpI(" ",N.partnerName," "),t.R7$(2),t.Y8G("message",N.conversation.lastMessage),t.R7$(2),t.vxM((Q=null==N.conversation||null==N.conversation.lastMessage?null:N.conversation.lastMessage.timestamp)?11:-1,Q)}},dependencies:[e.U,h.h,i.sb,g,o.UP],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-family:inherit;color:var(--text-heading);line-height:1.25}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-weight:900}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-weight:700}h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:50px;margin:24px 0}@media (max-width: 991px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:40px}}@media (max-width: 767px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:32px}}@media (max-width: 575px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 320px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:24px}}h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:40px;margin:20px 0}@media (max-width: 991px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:32px}}@media (max-width: 767px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 575px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:26px}}@media (max-width: 320px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:22px}}h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-size:32px;margin:12px 0}@media (max-width: 991px){h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-size:24px}}h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{font-size:24px;margin:12px 0}@media (max-width: 991px){h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{font-size:20px}}h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]{font-size:20px;margin:8px 0}@media (max-width: 991px){h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]{font-size:18px}}h6[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-size:16px;margin:4px 0}.caption[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;font-weight:900;display:block;letter-spacing:.5px;color:var(--text-light);margin:16px 0}.label[_ngcontent-%COMP%]{font-size:14px;line-height:18px;font-weight:700;display:block;color:var(--text);margin:0 0 2px}p[_ngcontent-%COMP%]{margin:0 0 20px}p.subline[_ngcontent-%COMP%]{font-size:24px}@media (max-width: 991px){p.subline[_ngcontent-%COMP%]{font-size:20px}}@media (max-width: 767px){p.subline[_ngcontent-%COMP%]{font-size:16px}}p.copy[_ngcontent-%COMP%]{font-size:20px}@media (max-width: 767px){p.copy[_ngcontent-%COMP%]{font-size:16px}}p[_ngcontent-%COMP%]:empty{display:none}p.quote[_ngcontent-%COMP%]{font-family:Merriweather,serif;line-height:1.8;font-size:20px}@media (max-width: 767px){p.quote[_ngcontent-%COMP%]{font-size:16px}}@keyframes _ngcontent-%COMP%_blinkLinear{50%{opacity:1}75%{opacity:0}
3to{opacity:1}}.conversation[_ngcontent-%COMP%]{position:relative;display:flex;width:100%;padding:12px 16px;background-color:var(--white);cursor:pointer}.conversation[_ngcontent-%COMP%]:before{position:absolute;top:0;bottom:0;left:0;display:block;width:30%;background:linear-gradient(to right,var(--primary-10) 0%,var(--white) 100%);content:"";transform:translate(-100%);transition:all .3s ease-in-out}.conversation.active[_ngcontent-%COMP%]:hover{background:var(--white);cursor:default}.conversation.active[_ngcontent-%COMP%]:before{transform:translate(0)}.conversation[_ngcontent-%COMP%]:hover:not(.active){background-color:var(--sec-light-02)}.conversation[_ngcontent-%COMP%]:hover:not(.active)   .details[_ngcontent-%COMP%]   .last-message[_ngcontent-%COMP%]:after{background:linear-gradient(90deg,#fafafb03,#fafafb 80%)}.conversation[_ngcontent-%COMP%]   .unread[_ngcontent-%COMP%]{position:absolute;top:50%;left:4px;display:inline-block;width:10px;height:10px;margin-top:-4px;animation:_ngcontent-%COMP%_blinkLinear 2.5s infinite;background:var(--primary);border-radius:10px}.conversation[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{z-index:1;display:flex;width:42px;min-width:42px;height:42px;align-items:center;align-self:center;justify-content:center;border:1px solid var(--border-light);margin-right:10px;background-color:var(--white);border-radius:50%}.conversation[_ngcontent-%COMP%]   .avatar-logo[_ngcontent-%COMP%]{width:22px;height:22px}.conversation[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{position:relative;z-index:1;width:100%;padding-top:2px}.conversation[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .partner[_ngcontent-%COMP%], .conversation[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .last-message[_ngcontent-%COMP%]{overflow:hidden}.conversation[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .partner[_ngcontent-%COMP%]{margin:0 0 2px;color:var(--text-heading);text-overflow:ellipsis;white-space:nowrap}.conversation[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .last-message[_ngcontent-%COMP%]{position:relative;max-height:38px;color:var(--text);font-size:14px;line-height:18px;word-break:break-word}.conversation[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .last-message[_ngcontent-%COMP%]:after{position:absolute;right:0;bottom:0;display:block;width:50px;height:20px;background:linear-gradient(90deg,#ffffff03 .01%,#fff 80%);content:""}.conversation[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{padding-top:2px;margin-left:auto;color:var(--sec-light-40);font-size:12px;line-height:16px;white-space:nowrap}']})}return y})()},60168:($,x,n)=>{n.d(x,{u:()=>de});var t=n(61142),e=n(58527),o=n(65377),i=n(27555),l=n(24153),c=n(23818),h=n(69956),b=n(51376),_=n(52713),C=n(77392),g=n(58468),p=n(39611),M=n(8682),O=n(11135),s=n(13740),y=n(71645),u=n(51335),w=n(99361),D=n(35888),N=n(46904),Q=n(22332),J=n(6839),G=n(87443),L=n(73466);let R=(()=>{class U{store=(0,e.WQX)(_.il);isConnected=this.store.selectSignal(s.UJ);static \u0275fac=function(m){return new(m||U)};static \u0275cmp=e.VBU({type:U,selectors:[["wa-chat-connection-status"]],decls:2,vars:3,consts:[[1,"connection-status-container"],[1,"connection-status-icon"]],template:function(m,k){1&m&&(e.j41(0,"div",0),e.nrm(1,"i",1),e.k0s()),2&m&&(e.AVh("connected",k.isConnected()),e.BMQ("title",k.isConnected()?"Du bist mit dem Chat-Server verbunden.":"Die Verbindung zum Chat-Server ist abgebrochen. Bitte kontrolliere deine Internetverbindung."))},styles:[".connection-status-container[_ngcontent-%COMP%]{width:22px;height:22px}.connection-status-container[_ngcontent-%COMP%]   .connection-status-icon[_ngcontent-%COMP%]{display:inline-block;width:14px;height:14px;border:2px solid var(--border-light);background-color:var(--danger);border-radius:15px;vertical-align:middle}.connection-status-container[_ngcontent-%COMP%]   .connection-status-indicator[_ngcontent-%COMP%]{color:var(--danger)}.connection-status-container.connected[_ngcontent-%COMP%]   .connection-status-indicator[_ngcontent-%COMP%]{color:var(--success)}.connection-status-container.connected[_ngcontent-%COMP%]   .connection-status-icon[_ngcontent-%COMP%]{background-color:var(--success)}"]})}return U})();const Y=(U,A)=>A.conversationId;function X(U,A){1&U&&e.nrm(0,"span",5)}function q(U,A){if(1&U){const P=e.RV6();e.j41(0,"frontend-icon-button",14),e.bIt("onClick",function(){e.eBV(P);const k=e.XpG();return e.Njj(k.onRequestVideoConsultationClick())}),e.k0s(),e.j41(1,"frontend-icon-button",15),e.bIt("onClick",function(){e.eBV(P);const k=e.XpG();return e.Njj(k.onPhoneCallClick())}),e.k0s()}2&U&&(e.Y8G("tabIndex",1)("color","primary"),e.R7$(),e.Y8G("tabIndex",1)("color","primary"))}function re(U,A){if(1&U){const P=e.RV6();e.j41(0,"div",12)(1,"wa-chat-conversation",16),e.bIt("click",function(){const k=e.eBV(P).$implicit,E=e.XpG();return e.Njj(E.selectConversation(k))}),e.k0s()()}if(2&U){const P=A.$implicit;e.XpG();const m=e.r8f(18);e.R7$(),e.Y8G("active",m===P.conversationId)("conversation",P)}}let de=(()=>{class U{currentProfile;conversations$;isArchivedShown$;unreadArchivedMessagesCount$;selectedConversationId$;sorter=Q.m.defaultSorter;showVideoConsultationButtons=!1;component$=new C.B;store=(0,e.WQX)(_.il);router=(0,e.WQX)(o.Ix);modalService=(0,e.WQX)(c.Bg);chatService=(0,e.WQX)(Q.m);profileService=(0,e.WQX)(u.p);webAppStore=(0,e.WQX)(_.il);firebaseService=(0,e.WQX)(y.f);ngOnInit(){this.conversations$=this.store.select(s.lS).pipe((0,g.Q)(this.component$)),this.selectedConversationId$=this.store.select(s.oN).pipe((0,g.Q)(this.component$)),this.isArchivedShown$=this.store.select(s.o3).pipe((0,g.Q)(this.component$)),this.unreadArchivedMessagesCount$=this.webAppStore.select(D.Vc).pipe((0,g.Q)(this.component$))}ngOnDestroy(){this.component$.next(),this.component$.complete()}ngOnChanges(P){if(P.currentProfile?.currentValue&&P.currentProfile?.previousValue!==P.currentProfile?.currentValue){const m=this.profileService.getAttributeValue(b.L6M.VideoConsultationAvailable);this.showVideoConsultationButtons=m===b.eKl.Enabled||this.profileService.isBkvCustomer()&&m===b.eKl.Disabled}}selectConversation(P){this.router.navigate(["chat",P.conversationId])}showOpen(){this.store.dispatch(new M.qS)}showArchived(){this.store.dispatch(new M.E_)}onComposeConversation(){this.router.navigate(["chat","new-chat"])}onRequestVideoConsultationClick(){if(this.firebaseService.logSimpleEvent(p.B8.StartVideoConsultation),!this.profileService.isBkvCustomer())return this.currentProfile.has_confirmed_consultation?this.sendVideoConsultationRequestMessage():void this.modalService.show(N.K,{data:{ski
3pConfirmation:!0,profile:this.currentProfile}}).subscribe(P=>{if(this.store.dispatch(new w.BS(P.profile_id,P)),P.has_confirmed_consultation)return this.sendVideoConsultationRequestMessage()});this.modalService.show(J.P).subscribe()}onPhoneCallClick(){this.firebaseService.logSimpleEvent(p.B8.CallOttonova),window.location.href="tel:+498912140712"}sendVideoConsultationRequestMessage(){this.chatService.initConversationWithTextMessage("Ich m\xf6chte einen Digitalen Arztbesuch nutzen.",this.currentProfile).subscribe(P=>this.selectConversation(P))}static \u0275fac=function(m){return new(m||U)};static \u0275cmp=e.VBU({type:U,selectors:[["wa-chat-conversations"]],inputs:{currentProfile:"currentProfile"},standalone:!0,features:[e.OA$,e.aNF],decls:26,vars:20,consts:[[1,"conversations"],[1,"header"],[1,"tabs"],["tabindex","1","data-cy","open-chats-button",1,"text",3,"click"],["tabindex","1","data-cy","archived-chats-button",1,"text",3,"click"],[1,"unread"],[1,"controls"],[1,"compose-wrapper"],["title","Neuen Chat starten","data-cy","start-new-chat-button",1,"compose",3,"click"],["type","svg","file","compose.svg"],[1,"chat-connection-status"],["data-cy","chat-conversations-list",1,"list"],["data-cy","chat-conversation-item",1,"list-item"],["hidden",""],["title","Digitaler Arztbesuch starten","icon","chat-icon-video.svg",1,"video",3,"onClick","tabIndex","color"],["title","089 / 121 407 12","icon","chat-icon-phone.svg",1,"phone",3,"onClick","tabIndex","color"],[3,"click","active","conversation"]],template:function(m,k){if(1&m){const E=e.RV6();e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),e.nI1(4,"async"),e.bIt("click",function(){return e.eBV(E),e.Njj(k.showOpen())}),e.EFF(5," Offene Chats "),e.k0s(),e.j41(6,"button",4),e.nI1(7,"async"),e.bIt("click",function(){return e.eBV(E),e.Njj(k.showArchived())}),e.DNE(8,X,1,0,"span",5),e.nI1(9,"async"),e.EFF(10," Archiv "),e.k0s()(),e.j41(11,"div",6),e.DNE(12,q,2,4),e.j41(13,"div",7)(14,"button",8),e.bIt("click",function(){return e.eBV(E),e.Njj(k.onComposeConversation())}),e.nrm(15,"frontend-image",9),e.k0s(),e.nrm(16,"wa-chat-connection-status",10),e.k0s()()(),e.j41(17,"div",11),e.SS7(18),e.nI1(19,"async"),e.Z7z(20,re,2,2,"div",12,Y),e.nI1(22,"async"),e.nI1(23,"ngcSort"),e.k0s()(),e.j41(24,"div",13),e.EFF(25," Ich m\xf6chte einen Digitalen Arztbesuch nutzen. "),e.k0s()}2&m&&(e.R7$(3),e.AVh("active",!e.bMT(4,6,k.isArchivedShown$)),e.R7$(3),e.AVh("active",e.bMT(7,8,k.isArchivedShown$)),e.R7$(2),e.vxM(e.bMT(9,10,k.unreadArchivedMessagesCount$)>0?8:-1),e.R7$(4),e.vxM(k.showVideoConsultationButtons?12:-1),e.R7$(6),e.bH3(e.bMT(19,12,k.selectedConversationId$)),e.R7$(2),e.Dyx(e.i5U(23,17,e.bMT(22,15,k.conversations$),k.sorter)))},dependencies:[i.xB,l.U,L.h,O.F,R,G.R,t.Jj,h.FC],styles:['@keyframes _ngcontent-%COMP%_blinkLinear{50%{opacity:1}75%{opacity:0}to{opacity:1}}.conversations[_ngcontent-%COMP%]{width:342px;height:100%;background-color:transparent}.conversations-viewport[_ngcontent-%COMP%]{height:100%}@media (max-width: 767px){.conversations[_ngcontent-%COMP%]{width:100%;padding:0 10px}}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:grid;align-items:center;padding:0 5px;margin:15px 0;font-size:14px;grid-template-areas:"tabs controls";grid-template-columns:1fr 130px}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{height:32px;margin:0;color:rgba(var(--dark-rgb),.5);font-size:14px;font-weight:700;text-decoration:none}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .text.active[_ngcontent-%COMP%]{color:var(--sec-light-100)}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]:first-child{border-right:1px solid var(--border-light)}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .tabs[_ngcontent-%COMP%]{display:grid;justify-content:left;grid-area:tabs;grid-template-columns:120px 70px}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]{grid-area:phone}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%]{grid-area:video}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]{display:grid;justify-content:right;grid-area:controls;grid-template-areas:"video phone compose";grid-template-columns:repeat(3,1fr)}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .compose-wrapper[_ngcontent-%COMP%]{position:relative;height:32px;grid-area:compose}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .compose-wrapper[_ngcontent-%COMP%]   .compose[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;border:none;background-color:var(--primary);border-radius:20px;
3box-shadow:var(--box-shadow-sm);vertical-align:middle}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .compose-wrapper[_ngcontent-%COMP%]   .chat-connection-status[_ngcontent-%COMP%]{position:absolute;top:-8px;right:-9px}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%], .conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%], .conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .compose[_ngcontent-%COMP%]{width:48px;height:32px;padding:0;line-height:0}.conversations[_ngcontent-%COMP%]   .unread[_ngcontent-%COMP%]{display:inline-block;width:10px;height:10px;animation:_ngcontent-%COMP%_blinkLinear 2.5s infinite;background:var(--primary);border-radius:10px}.conversations[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{overflow:auto;max-height:calc(100vh - 161px);border-radius:8px;box-shadow:var(--box-sha
3dow-xs)}.conversations[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   .list-item[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--border-light)}.conversations[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding:0;border:none;background-color:transparent;border-radius:0;box-shadow:none}']})}return U})()},15887:($,x,n)=>{n.d(x,{Y:()=>C});var t=n(22380),e=n(54575),o=n(17465),i=n(58527),l=n(52713),c=n(8682),h=n(73466);let b=(()=>{class g{message=i.hFB.required();store=(0,i.WQX)(l.il);openConversation(){this.store.dispatch(new c._J(this.message().conversationId))}static \u0275fac=function(O){return new(O||g)};static \u0275cmp=i.VBU({type:g,selectors:[["wa-chat-notification"]],inputs:{message:[1,"message"]},decls:8,vars:2,consts:[[1,"chat-notification",3,"click"],[1,"avatar"],["file","logo-on.svg","width","48px","height","48px"],[1,"details"],[1,"partner"],[1,"last-message"]],template:function(O,s){1&O&&(i.j41(0,"div",0),i.bIt("click",function(){return s.openConversation()}),i.j41(1,"div",1),i.nrm(2,"frontend-image",2),i.k0s(),i.j41(3,"div",3)(4,"div",4),i.EFF(5),i.k0s(),i.j41(6,"div",5),i.EFF(7),i.k0s()()()),2&O&&(i.R7$(5),i.JRh(s.message().author.name),i.R7$(2),i.SpI(" ",s.message().data.content," "))},dependencies:[h.h],styles:[".chat-notification[_ngcontent-%COMP%]{position:relative;height:88px;padding:12px 15px 12px 80px;background-color:var(--white);
3box-shadow:var(--box-shadow-md);cursor:pointer}.chat-notification[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{position:absolute;top:21px;left:16px;width:48px;height:48px}.chat-notification[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{position:relative}.chat-notification[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .partner[_ngcontent-%COMP%], .chat-notification[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .last-message[_ngcontent-%COMP%]{overflow:hidden;font-size:15px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.chat-notification[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .partner[_ngcontent-%COMP%]{margin-bottom:6px;font-weight:700}"]})}return g})();function _(g,p){1&g&&i.nrm(0,"wa-chat-notification",1),2&g&&i.Y8G("message",p.message)}let C=(()=>{class g{NOTIFICATION_TEMPLATE_ID=o.x;static \u0275fac=function(O){return new(O||g)};static \u0275cmp=i.VBU({type:g,selectors:[["wa-chat-notifications"]],standalone:!0,features:[i.aNF],decls:1,vars:1,consts:[[3,"frontendNotificationTemplate"],[3,"message"]],template:function(O,s){1&O&&i.DNE(0,_,1,1,"ng-template",0),2&O&&i.Y8G("frontendNotificationTemplate",s.NOTIFICATION_TEMPLATE_ID)},dependencies:[e.sb,b,t.N8],encapsulation:2})}return g})()},36363:($,x,n)=>{n.d(x,{E:()=>o});var t=n(58527),e=n(23818);let o=(()=>{class i{modalInstance=(0,t.WQX)(e.g7);closeModal(){this.modalInstance.dismiss()}onReopenClick(){this.modalInstance.close()}static \u0275fac=function(h){return new(h||i)};static \u0275cmp=t.VBU({type:i,selectors:[["wa-unarchive-chat-modal"]],standalone:!0,features:[t.aNF],decls:3,vars:0,consts:[["title","Chat erneut \xf6ffnen?","dismissButtonText","Abbrechen","submitButtonText","OK",3,"onDismissClick","onSubmitClick"],["modalBody",""]],template:function(h,b){1&h&&(t.j41(0,"frontend-default-modal",0),t.bIt("onDismissClick",function(){return b.closeModal()})("onSubmitClick",function(){return b.onReopenClick()}),t.j41(1,"p",1),t.EFF(2," Dieser Chat wird aus dem Archiv zu deinen offenen Chats verschoben. "),t.k0s()())},dependencies:[e.o],encapsulation:2})}return i})()},71599:($,x,n)=>{n.r(x),n.d(x,{ChatComponent:()=>p});var t=n(61142),e=n(58527),o=n(65377),i=n(52713),l=n(85687),c=n(6663),h=n(62997),b=n(13740),_=n(35888),C=n(60168);let p=(()=>{class M{currentProfile$;isConversationOpen$;onFakeChatCreationPage$;chatStore=(0,e.WQX)(i.il);store=(0,e.WQX)(i.il);router=(0,e.WQX)(o.Ix);changeDetector=(0,e.WQX)(e.gRc);ngOnInit(){this.currentProfile$=this.store.select(_.oy).pipe((0,l.p)(Boolean)),this.isConversationOpen$=this.chatStore.select(b.oN).pipe((0,c.T)(s=>!!s)),this.onFakeChatCreationPage$=this.router.events.pipe((0,l.p)(s=>s instanceof o.wF),(0,c.T)(s=>s.url),(0,h.Z)(this.router.url),(0,c.T)(s=>s.includes("new-chat")))}ngAfterViewChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(y){return new(y||M)};static \u0275cmp=e.VBU({type:M,selectors:[["wa-chat-admin"]],standalone:!0,features:[e.aNF],decls:9,vars:11,consts:[[1,"chat-wrapper"],[1,"conversations",3,"currentProfile"],[1,"content"]],template:function(y,u){if(1&y&&(e.SS7(0),e.nI1(1,"async"),e.SS7(2),e.nI1(3,"async"),e.j41(4,"div",0),e.nrm(5,"wa-chat-conversations",1),e.nI1(6,"async"),e.j41(7,"div",2),e.nrm(8,"router-outlet"),e.k0s()()),2&y){const w=e.bMT(1,5,u.isConversationOpen$),D=e.bMT(3,7,u.onFakeChatCreationPage$);e.R7$(5),e.AVh("hidden-part",w||D),e.Y8G("currentProfile",e.bMT(6,9,u.currentProfile$)),e.R7$(2),e.AVh("hidden-part",!w&&!D)}},dependencies:[C.u,o.n3,t.Jj],styles:[".chat-wrapper[_ngcontent-%COMP%]{display:flex;height:100%;min-height:100%;flex-direction:row;margin:auto}.chat-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%}@media (max-width: 767px){.chat-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}}@media (min-width: 768px){.chat-wrapper[_ngcontent-%COMP%]{max-width:1090px;padding-top:8px}}.chat-wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:100%;padding:0 16px 20px;background-color:var(--sec-light-02)}@media (min-width: 768px){.chat-wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:62px 16px 2px}}@media (min-width: 992px){.chat-wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:62px 80px 2px}}.chat-wrapper[_ngcontent-%COMP%]   .hidden-part[_ngcontent-%COMP%]{display:none}@media (min-width: 768px){.chat-wrapper[_ngcontent-%COMP%]   .hidden-part[_ngcontent-%COMP%]{display:block}}"]})}return M})()},37735:($,x,n)=>{n.r(x),n.d(x,{EmptyChatComponent:()=>p});
3var t=n(58527),e=n(65377),o=n(52713),i=n(77392),l=n(27639),c=n(58468),h=n(39611),b=n(13740),_=n(56055),C=n(82015),g=n(71645);let p=(()=>{class M{message;iconName;isEmptyActionEnabled=!1;component$=new i.B;store=(0,t.WQX)(o.il);router=(0,t.WQX)(e.Ix);firebaseService=(0,t.WQX)(g.f);ngOnInit(){(0,l.z)([this.store.select(b.J5),this.store.select(b.j),this.store.select(b.R4)]).pipe((0,c.Q)(this.component$)).subscribe(([s,y,u])=>{switch(!0){case!s?.length&&u===_.KI.Open:this.message="Keine offenen Chats",this.iconName="empty-screen-concierge.svg",this.isEmptyActionEnabled=!0;break;case!y?.length&&u===_.KI.Archived:this.message="Keine archivierten Chats",this.iconName="empty-screen-archived.svg",this.isEmptyActionEnabled=!1;break;default:this.message="Du hast keinen Chat ausgew\xe4hlt",this.iconName="empty-screen-concierge.svg",this.isEmptyActionEnabled=!1}})}ngOnDestroy(){this.component$.next(),this.component$.complete()}onEmptyButtonClick=()=>{this.firebaseService.logSimpleEvent(h.B8.ConversationClickFromEmpty),this.router.navigate(["chat","new-chat"])};static \u0275fac=function(y){return new(y||M)};static \u0275cmp=t.VBU({type:M,selectors:[["wa-chat-empty-conversation"]],standalone:!0,features:[t.aNF],decls:1,vars:5,consts:[[3,"message","iconName","isEmptyActionEnabled","buttonText","buttonClick"]],template:function(y,u){1&y&&t.nrm(0,"wa-empty-screen-placeholder",0),2&y&&t.Y8G("message",u.message)("iconName",u.iconName)("isEmptyActionEnabled",u.isEmptyActionEnabled)("buttonText","Neuen Chat starten")("buttonClick",u.onEmptyButtonClick)},dependencies:[C.u],encapsulation:2})}return M})()}
3,77105:($,x,n)=>{n.r(x),n.d(x,{NewChatComponent:()=>N});var t=n(61142),e=n(58527),o=n(65377),i=n(52713),l=n(77392),c=n(58468),h=n(85687),b=n(21252),_=n(84975),C=n(39611),g=n(54575),p=n(13740),M=n(71645),O=n(35888),s=n(85657),y=n(3395),u=n(22332),w=n(10004),D=n(36907);let N=(()=>{class Q{isConnected$;today;component$=new l.B;currentProfile;store=(0,e.WQX)(i.il);chatService=(0,e.WQX)(u.m);webAppStore=(0,e.WQX)(i.il);router=(0,e.WQX)(o.Ix);firebaseService=(0,e.WQX)(M.f);ngOnInit(){this.isConnected$=this.store.select(p.UJ).pipe((0,c.Q)(this.component$)),this.today=(new Date).toUTCString(),this.webAppStore.select(O.oy).pipe((0,h.p)(G=>!!G),(0,c.Q)(this.component$)).subscribe(G=>{G&&(this.currentProfile=G)})}ngOnDestroy(){this.component$.next(),this.component$.complete()}handleFakeChatCreation(G){this.currentProfile&&("documentId"in G?this.chatService.initConversationWithDocument(G,this.currentProfile):this.chatService.initConversationWithTextMessage(G.content,this.currentProfile)).pipe((0,b.M)(()=>this.firebaseService.logSimpleEvent(C.B8.ConversationStart)),(0,_.n)(R=>this.router.navigate(["chat",R.conversationId])),(0,c.Q)(this.component$)).subscribe()}static \u0275fac=function(L){return new(L||Q)};static \u0275cmp=e.VBU({type:Q,selectors:[["wa-new-chat"]],standalone:!0,features:[e.aNF],decls:10,vars:6,consts:[[1,"chat"],[1,"chat-controls"],["customPartnerName","Concierge",3,"hideReopenChat"],[1,"chat-window"],[3,"timestamp"],[1,"greet-message"],[1,"chat-info-message"],[3,"onFakeChatCreation","canSubmit","fakeChatCreation"]],template:function(L,R){1&L&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"wa-chat-controls",2),e.k0s(),e.j41(3,"div",3),e.nrm(4,"wa-chat-pinned-date",4),e.j41(5,"div",5),e.EFF(6," Hallo! Was k\xf6nnen wir f\xfcr dich tun? "),e.k0s()(),e.nrm(7,"wa-chat-info-message",6),e.j41(8,"wa-chat-form",7),e.nI1(9,"async"),e.bIt("onFakeChatCreation",function(X){return R.handleFakeChatCreation(X)}),e.k0s()()),2&L&&(e.R7$(2),e.Y8G("hideReopenChat",!0),e.R7$(2),e.Y8G("timestamp",R.today),e.R7$(4),e.Y8G("canSubmit",e.bMT(9,4,R.isConnected$))("fakeChatCreation",!0))},dependencies:[y.c,g.sb,w.m,D.s,s.f,t.Jj],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.chat[_ngcontent-%COMP%]{position:relative;display:flex;height:100%;flex-direction:column;background-color:var(--white);border-radius:var(--border-radius-md);
3box-shadow:var(--box-shadow-xs)}.chat-controls[_ngcontent-%COMP%]{border-bottom:1px solid var(--border-light)}.chat[_ngcontent-%COMP%]   frontend-chat-pinned-date[_ngcontent-%COMP%]{display:flex;justify-content:center}.chat-info-message[_ngcontent-%COMP%]:not(:empty){margin:0 16px 12px}.chat-window[_ngcontent-%COMP%]{position:relative;overflow:hidden;flex-grow:1;padding:0 16px}.chat[_ngcontent-%COMP%]   .greet-message[_ngcontent-%COMP%]{display:inline-block;padding:6px 12px;margin-top:62px;background-color:var(--sec-light-05);border-radius:17px;color:var(--sec-light-100);font-size:16px;line-height:22px}"]})}return Q})()},32802:($,x,n)=>{n.r(x),n.d(x,{ConversationWindowComponent:()=>Co});var t=n(61142),e=n(58527),o=n(65377),i=n(61177),l=n(52713),c=n(22199);var s=n(2899),y=n(89046);function N(a){var f=this.__data__=new c.A(a);this.size=f.size}N.prototype.clear=function h(){this.__data__=new c.A,this.size=0},N.prototype.delete=function _(a){var f=this.__data__,r=f.delete(a);return this.size=f.size,r},N.prototype.get=function g(a){return this.__data__.get(a)},N.prototype.has=function M(a){return this.__data__.has(a)},N.prototype.set=function w(a,f){var r=this.__data__;if(r instanceof c.A){var d=r.__data__;if(!s.A||d.length<199)return d.push([a,f]),this.size=++r.size,this;r=this.__data__=new y.A(d)}return r.set(a,f),this.size=r.size,this};const Q=N;function X(a){var f=-1,r=null==a?0:a.length;for(this.__data__=new y.A;++f<r;)this.add(a[f])}X.prototype.add=X.prototype.push=function G(a){return this.__data__.set(a,"__lodash_hash_undefined__"),this},X.prototype.has=function R(a){return this.__data__.has(a)};const q=X,ce=function re(a,f){for(var r=-1,d=null==a?0:a.length;++r<d;)if(f(a[r],r,a))return!0;return!1},U=function de(a,f){return a.has(f)},k=function m(a,f,r,d,T,S){var H=1&r,te=a.length,ne=f.length;if(te!=ne&&!(H&&ne>te))return!1;var V=S.get(a),fe=S.get(f);if(V&&fe)return V==f&&fe==a;var se=-1,ie=!0,ue=2&r?new q:void 0;for(S.set(a,f),S.set(f,a);++se<te;){var pe=a[se],me=f[se];if(d)var Ce=H?d(me,pe,se,f,a,S):d(pe,me,se,a,f,S);if(void 0!==Ce){if(Ce)continue;ie=!1;break}if(ue){if(!ce(f,function(Me,Pe){if(!U(ue,Pe)&&(pe===Me||T(pe,Me,r,d,S)))return ue.push(Pe)})){ie=!1;break}}else if(pe!==me&&!T(pe,me,r,d,S)){ie=!1;break}}return S.delete(a),S.delete(f),ie};var E=n(58573),I=n(2777);const ee=I.A.Uint8Array;var ae=n(72148);const be=function xe(a){var f=-1,r=Array(a.size);return a.forEach(function(d,T){r[++f]=[T,d]}),r},he=function ve(a){var f=-1,r=Array(a.size);return a.forEach(function(d){r[++f]=d}),r};var K=E.A?E.A.prototype:void 0,ge=K?K.valueOf:void 0;var Fe=n(48541);var Nt=Object.prototype.propertyIsEnumerable,et=Object.getOwnPropertySymbols;const $t=et?function(a){return null==a?[]:(a=Object(a),function Wt(a,f){for(var r=-1,d=null==a?0:a.length,T=0,S=[];++r<d;){var H=a[r];f(H,r,a)&&(S[T++]=H)}return S}(et(a),function(f){return Nt.call(a,f)}))}:function jt(){return[]};var Ue=n(88225),We=n(87670);const tt=function Vt(a){return(0,We.A)(a)&&"[object Arguments]"==(0,Ue.A)(a)};var nt=Object.prototype,Xt=nt.hasOwnProperty,Qt=nt.propertyIsEnumerable;const Ht=tt(function(){return arguments}())?tt:function(a){return(0,We.A)(a)&&Xt.call(a,"callee")&&!Qt.call(a,"callee")};var at="object"==typeof exports&&exports&&!exports.nodeType&&exports,ot=at&&"object"==typeof module&&module&&!module.nodeType&&module,rt=ot&&ot.exports===at?I.A.Buffer:void 0;const Ge=(rt?rt.isBuffer:void 0)||function Jt(){return!1};var an=/^(?:0|[1-9]\d*)$/;const rn=function on(a,f){var r=typeof a;return!!(f=f??9007199254740991)&&("number"==r||"symbol"!=r&&an.test(a))&&a>-1&&a%1==0&&a<f},it=function cn(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=9007199254740991};var Z={};Z["[object Float32Array]"]=Z["[object Float64Array]"]=Z["[object Int8Array]"]=Z["[object Int16Array]"]=Z["[object Int32Array]"]=Z["[object Uint8Array]"]=Z["[object Uint8ClampedArray]"]=Z["[object Uint16Array]"]=Z["[object Uint32Array]"]=!0,Z["[object Arguments]"]=Z["[object Array]"]=Z["[object ArrayBuffer]"]=Z["[object Boolean]"]=Z["[object DataView]"]=Z["[object Date]"]=Z["[object Error]"]=Z["[object Function]"]=Z["[object Map]"]=Z["[object Number]"]=Z["[object Object]"]=Z["[object RegExp]"]=Z["[object Set]"]=Z["[object String]"]=Z["[object WeakMap]"]=!1;var jn=n(68276),st="object"==typeof exports&&exports&&!exports.nodeType&&exports,Se=st&&"object"==typeof module&&module&&!module.nodeType&&module,Ve=Se&&Se.exports===st&&jn.A.process,Un=function(){try{return Se&&Se.require&&Se.require("util").t
3ypes||Ve&&Ve.binding&&Ve.binding("util")}catch{}}(),dt=Un&&Un.isTypedArray;const lt=dt?function Wn(a){return function(f){return a(f)}}(dt):function In(a){return(0,We.A)(a)&&it(a.length)&&!!Z[(0,Ue.A)(a)]};var $n=Object.prototype.hasOwnProperty;const zn=function Kn(a,f){var r=(0,Fe.A)(a),d=!r&&Ht(a),T=!r&&!d&&Ge(a),S=!r&&!d&&!T&&lt(a),H=r||d||T||S,te=H?function Kt(a,f){for(var r=-1,d=Array(a);++r<a;)d[r]=f(r);return d}(a.length,String):[],ne=te.length;for(var V in a)(f||$n.call(a,V))&&(!H||!("length"==V||T&&("offset"==V||"parent"==V)||S&&("buffer"==V||"byteLength"==V||"byteOffset"==V)||rn(V,ne)))&&te.push(V);return te};var Gn=Object.prototype;const Hn=function Qn(a,f){return function(r){return a(f(r))}}(Object.keys,Object);var Zn=Object.prototype.hasOwnProperty;const ea=function qn(a){if(!function Vn(a){var f=a&&a.constructor;return a===("function"==typeof f&&f.prototype||Gn)}(a))return Hn(a);var f=[];for(var r in Object(a))Zn.call(a,r)&&"constructor"!=r&&f.push(r);return f};var ta=n(51214);const ra=function oa(a){return function na(a){return null!=a&&it(a.length)&&!(0,ta.A)(a)}(a)?zn(a):ea(a)},gt=function ia(a){return function It(a,f,r){var d=f(a);return(0,Fe.A)(a)?d:function At(a,f){for(var r=-1,d=f.length,T=a.length;++r<d;)a[T+r]=f[r];return a}(d,r(a))}(a,ra,$t)};var da=Object.prototype.hasOwnProperty;var Ne=n(58221);const Xe=(0,Ne.A)(I.A,"DataView"),Qe=(0,Ne.A)(I.A,"Promise"),Ye=(0,Ne.A)(I.A,"Set"),He=(0,Ne.A)(I.A,"WeakMap");var ke=n(85421),ft="[object Map]",pt="[object Promise]",mt="[object Set]",ht="[object WeakMap]",ut="[object DataView]",ba=(0,ke.A)(Xe),va=(0,ke.A)(s.A),_a=(0,ke.A)(Qe),Ca=(0,ke.A)(Ye),xa=(0,ke.A)(He),ye=Ue.A;(Xe&&ye(new Xe(new ArrayBuffer(1)))!=ut||s.A&&ye(new s.A)!=ft||Qe&&ye(Qe.resolve())!=pt||Ye&&ye(new Ye)!=mt||He&&ye(new He)!=ht)&&(ye=function(a){var f=(0,Ue.A)(a),r="[object Object]"==f?a.constructor:void 0,d=r?(0,ke.A)(r):"";if(d)switch(d){case ba:return ut;case va:return ft;case _a:return pt;case Ca:return mt;case xa:return ht}return f});const bt=ye;var vt="[object Arguments]",_t="[object Array]",Le="[object Object]",Ct=Object.prototype.hasOwnProperty;const ka=function Pa(a,f,r,d,T,S){var H=(0,Fe.A)(a),te=(0,Fe.A)(f),ne=H?_t:bt(a),V=te?_t:bt(f),fe=(ne=ne==vt?Le:ne)==Le,se=(V=V==vt?Le:V)==Le,ie=ne==V;if(ie&&Ge(a)){if(!Ge(f))return!1;H=!0,fe=!1}if(ie&&!fe)return S||(S=new Q),H||lt(a)?k(a,f,r,d,T,S):function Ie(a,f,r,d,T,S,H){switch(r){case"[object DataView]":if(a.byteLength!=f.byteLength||a.byteOffset!=f.byteOffset)return!1;a=a.buffer,f=f.buffer;case"[object ArrayBuffer]":return!(a.byteLength!=f.byteLength||!S(new ee(a),new ee(f)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,ae.A)(+a,+f);case"[object Error]":return a.name==f.name&&a.message==f.message;case"[object RegExp]":case"[object String]":return a==f+"";case"[object Map]":var te=be;case"[object Set]":if(te||(te=he),a.size!=f.size&&!(1&d))return!1;var V=H.get(a);if(V)return V==f;d|=2,H.set(a,f);var fe=k(te(a),te(f),d,T,S,H);return H.delete(a),fe;case"[object Symbol]":if(ge)return ge.call(a)==ge.call(f)}return!1}(a,f,ne,r,d,T,S);if(!(1&r)){var ue=fe&&Ct.call(a,"__wrapped__"),pe=se&&Ct.call(f,"__wrapped__");
3if(ue||pe){var me=ue?a.value():a,Ce=pe?f.value():f;return S||(S=new Q),T(me,Ce,r,d,S)}}return!!ie&&(S||(S=new Q),function la(a,f,r,d,T,S){var H=1&r,te=gt(a),ne=te.length;if(ne!=gt(f).length&&!H)return!1;for(var se=ne;se--;){var ie=te[se];if(!(H?ie in f:da.call(f,ie)))return!1}var ue=S.get(a),pe=S.get(f);if(ue&&pe)return ue==f&&pe==a;var me=!0;S.set(a,f),S.set(f,a);for(var Ce=H;++se<ne;){var Me=a[ie=te[se]],Pe=f[ie];if(d)var Dt=H?d(Pe,Me,ie,f,a,S):d(Me,Pe,ie,a,f,S);if(!(void 0===Dt?Me===Pe||T(Me,Pe,r,d,S):Dt)){me=!1;break}Ce||(Ce="constructor"==ie)}if(me&&!Ce){var Ke=a.constructor,ze=f.constructor;Ke!=ze&&"constructor"in a&&"constructor"in f&&!("function"==typeof Ke&&Ke instanceof Ke&&"function"==typeof ze&&ze instanceof ze)&&(me=!1)}return S.delete(a),S.delete(f),me}(a,f,r,d,T,S))},Oa=function xt(a,f,r,d,T){return a===f||(null==a||null==f||!(0,We.A)(a)&&!(0,We.A)(f)?a!=a&&f!=f:ka(a,f,r,d,xt,T))},yt=function Ea(a,f){return Oa(a,f)};var wa=n(77392),Je=n(6663),Ta=n(62997),Da=n(92411),Aa=n(20223),Mt=n(64785),Pt=n(21252),$e=n(58468),Ia=n(85687),kt=n(8682),Ra=n(54575),Oe=n(13740),Wa=n(99361),Sa=n(35888),ja=n(85657),Fa=n(3395),Ua=n(22332),je=n(45768),Na=n(27639),La=n(84975),$a=n(17796),Ka=n(80489),Ot=n(48181),_e=n(85279),Et=n(51405),wt=n(40058),za=n(46628);const Ga=()=>({showTodayAsASingleWord:!0});let Ze=(()=>{class a{elementRef=(0,e.WQX)(e.aKT);timestamp;static \u0275fac=function(d){return new(d||a)};static \u0275cmp=e.VBU({type:a,selectors:[["wa-chat-date"]],inputs:{timestamp:"timestamp"},decls:3,vars:5,consts:[[1,"chat-date"]],template:function(d,T){1&d&&(e.j41(0,"div",0),e.EFF(1),e.nI1(2,"longDateFormat"),e.k0s()),2&d&&(e.R7$(),e.SpI(" ",e.i5U(2,1,T.timestamp,e.lJ4(4,Ga)),"\n"))},dependencies:[za.U],styles:["[_nghost-%COMP%]{display:block;text-align:center}[_nghost-%COMP%]   .chat-date[_ngcontent-%COMP%]{display:inline-block;margin:15px auto 0;color:var(--sec-light-40);font-size:14px;font-weight:700}"],changeDetection:0})}return a})();var Va=n(73466),Xa=n(63752),Qa=n(87555),Ya=n(42929),Ha=n(74257),Ja=n(52481),Za=n(56157),qa=n(10004),Tt=n(56055);let eo=(()=>{class a{availableColors=["ag-success","ag-danger","ag-info","ag-warning","ag-highlight","ag-yellow"];transform(r,d=Tt.hK.Agent,T){if(d!==Tt.hK.Agent||!r)return r;const S=new Map;let H=0;return r.reduce((te,ne)=>{const{id:V,type:fe}=ne.author;if("agent"===fe){if(!S.has(V)){const se=T&&V===T;S.set(V,se?"ag-primary":this.availableColors[H%this.availableColors.length]),se||H++}ne.author.styleColor=S.get(V)}return[...te,ne]},[])}static \u0275fac=function(d){return new(d||a)};static \u0275pipe=e.EJ8({name:"markAgentsColors",type:a,pure:!0})}return a})();const to=["widgets"],no=(a,f)=>f.messageId,ao=a=>["message",a];function oo(a,f){if(1&a&&e.nrm(0,"wa-chat-date",1),2&a){const r=e.XpG().$implicit;e.Y8G("timestamp",r.timestamp)}}function ro(a,f){if(1&a&&e.nrm(0,"wa-chat-message-rating",5,0),2&a){const r=e.XpG().$implicit;e.Y8G("message",r)}}function io(a,f){if(1&a&&e.nrm(0,"wa-chat-message-eedoctors",5,0),2&a){const r=e.XpG().$implicit;e.Y8G("message",r)}}function so(a,f){if(1&a&&e.nrm(0,"wa-chat-message-text",6,0),2&a){const r=e.XpG().$implicit,d=e.XpG();e.Y8G("message",r)("showAllNames",d.showAllNames)}}function co(a,f){if(1&a&&e.nrm(0,"wa-chat-message-document",6,0),2&a){const r=e.XpG().$implicit,d=e.XpG();e.Y8G("message",r)("showAllNames",d.showAllNames)}}function lo(a,f){if(1&a&&e.nrm(0,"wa-chat-message-prompt",5,0),2&a){const r=e.XpG().$implicit;e.Y8G("message",r)}}function go(a,f){if(1&a){const r=e.RV6();e.j41(0,"frontend-button",11),e.bIt("onClick",function(){e.eBV(r);const T=e.XpG(2).$implicit,S=e.XpG();return e.Njj(S.retry(T))}),e.EFF(1," Erneut senden "),e.k0s()}2&a&&e.Y8G("link",!0)}function fo(a,f){if(1&a){const r=e.RV6();e.j41(0,"frontend-button",7)(1,"div",8),e.DNE(2,go,2,1,"frontend-button",9),e.j41(3,"frontend-button",10),e.bIt("onClick",function(){e.eBV(r);const T=e.XpG().$implicit,S=e.XpG();return e.Njj(S.remove(T))}),e.EFF(4," L\xf6schen "),e.k0s()()()}if(2&a){const r=e.XpG(2);e.Y8G("link",!0)("wide",!0),e.R7$(2),e.vxM(r.isConnected?2:-1),e.R7$(),e.Y8G("link",!0)}}function po(a,f){if(1&a&&(e.DNE(0,oo,1,1,"wa-chat-date",1),e.j41(1,"div")(2,"div"),e.DNE(3,ro,2,1,"wa-chat-message-rating",5)(4,io,2,1,"wa-chat-message-eedoctors",5)(5,so,2,2,"wa-chat-message-text",6)(6,co,2,2,"wa-chat-message-document",6)(7,lo,2,1,"wa-chat-message-prompt",5),e.k0s()(),e.DNE(8,fo,5,4,"frontend-button",7)),2&a){let r;const d=f.$implicit,T=f.$index,S=e.XpG();e.vxM(S.isSameDay(S.messages[T-1],d)?-1:0),e.R7$(),e.HbH(e.eq3(8,ao,d.whose)),e.R7$(),e.ZvI("message-type-container ",d.type.toLowerCase(),""),e.R7$(),e.vxM("rating"===(r=d.type)?3:"voucher"===r?4:"text"===r?5:"document"===r?6:"certificate-prompt"===r?7:-1),e.R7$(5),e.vxM(d.status===S.messageStatus.Failed?8:-1)}}let qe=(()=>{class a{messageStatus=_e.qp;view=_e.hK.Default;showScrollToBottomButton=!1;showAllNames=!1;messages;isConnected;chatService=(0,e.WQX)(Ot.T);newMessagesClick=(0,e.CGW)();pinnedChatDateTimestamp=(0,e.vPA)("");widgets=(0,e.dtW)("widgets");chatDates=(0,e.dtW)(Ze);chatDatesObserver;widgetsObserver;widgetsInView={elements:new Set,components:[]};dateService=(0,e.WQX)(i.kT);store=(0,e.WQX)(l.il);elementRef=(0,e.WQX)(e.aKT);constructor(){(0,je.br)(this.widgets).pipe((0,Mt.F)(yt),(0,Pt.M)(()=>this.initPinnedChatDateObservation()),(0,je.pQ)()).subscribe()}isSameDay(r,d){return!!r&&this.dateService.isSame(r.timestamp,d.timestamp,"day")}retry(r){this.store.dispatch(new wt.VS(r))}remove(r){this.store.dispatch(new wt.LG({conversationId:r.conversationId,sendId:r.sendId}))}ngOnDestroy(){this.cleanupWidgetsObserver(),this.cleanupChatDatesObserver(),this.cleanupWidgetsInView()}initPinnedChatDateObservation(){this.cleanupWidgetsObserver(),this.cleanupChatDatesObserver(),this.cleanupWidgetsInView(),this.observeWidgets(),this.observeChatDates()}cleanupChatDatesObserver(){this.chatDatesObserver?.disconnect(),this.chatDatesObserver=null}cleanupWidgetsObserver(){this.widgetsObserver?.disconnect(),this.widgetsObserver=null}cleanupWidgetsInView(){this.widgetsInView={elements:new Set,components:[]}}observeChatDates(){const r=new IntersectionObserver(()=>this.updatePinnedChatDateTimestamp(),{root:this.elementRef.nativeElement.parentElement,threshold:[1]});
3this.chatDates().forEach(d=>r.observe(d.elementRef.nativeElement)),this.chatDatesObserver=r}observeWidgets(){const r=new IntersectionObserver(d=>this.onWidgetIntersection(d),{root:this.elementRef.nativeElement.parentElement,threshold:[0]});this.widgets().filter(d=>d.container?.element?.nativeElement).forEach(d=>r.observe(d.container.element.nativeElement)),this.widgetsObserver=r}onWidgetIntersection(r){const d=r.filter(V=>V.isIntersecting).map(V=>V.target),T=r.filter(V=>!V.isIntersecting).map(V=>V.target),S=new Set(T),H=Array.from(this.widgetsInView.elements).filter(V=>!S.has(V)).concat(d),te=new Set(H),ne=this.widgets().filter(V=>te.has(V.container?.element?.nativeElement));this.widgetsInView={elements:te,components:ne},this.updatePinnedChatDateTimestamp()}updatePinnedChatDateTimestamp(){this.pinnedChatDateTimestamp.set(this.getEarliestTimestampFromVisibleWidgets())}getEarliestTimestampFromVisibleWidgets(){return this.widgetsInView.components.reduce((r,d)=>{const T=d.message();return new Date(r)<new Date(T.timestamp)?r:T.timestamp},this.dateService.today())}static \u0275fac=function(d){return new(d||a)};static \u0275cmp=e.VBU({type:a,selectors:[["wa-chat-message-list"]],viewQuery:function(d,T){1&d&&(e.wEZ(T.widgets,to,5),e.wEZ(T.chatDates,Ze,5)),2&d&&e.NyB(2)},inputs:{showScrollToBottomButton:"showScrollToBottomButton",showAllNames:"showAllNames",messages:"messages",isConnected:"isConnected"},outputs:{newMessagesClick:"newMessagesClick"},decls:8,vars:7,consts:[["widgets",""],[3,"timestamp"],["role","button",1,"new-messages",3,"click"],["file","arrow-down-white.svg"],[1,"new-message-title"],[3,"message"],[3,"message","showAllNames"],[3,"link","wide"],[1,"message-failed-controls"],["title","Die Nachricht wurde nicht verschickt. Du kannst versuchen sie erneut zu schicken.",3,"link"],["title","Die Nachricht wurde nicht verschickt. Du kannst sie aus der Unterhaltung entfernen.",3,"onClick","link"],["title","Die Nachricht wurde nicht verschickt. Du kannst versuchen sie erneut zu schicken.",3,"onClick","link"]],template:function(d,T){1&d&&(e.nrm(0,"wa-chat-pinned-date",1),e.Z7z(1,po,9,10,null,null,no),e.nI1(3,"markAgentsColors"),e.j41(4,"button",2),e.bIt("click",function(){return T.newMessagesClick.emit()}),e.nrm(5,"frontend-image",3),e.j41(6,"p",4),e.EFF(7,"Neue Nachricht"),e.k0s()()),2&d&&(e.Y8G("timestamp",T.pinnedChatDateTimestamp()),e.R7$(),e.Dyx(e.brH(3,3,T.messages,T.view,T.chatService.identity.id)),e.R7$(3),e.AVh("visible",T.showScrollToBottomButton))},dependencies:[Va.h,Xa.Q,Qa.l,Ya.j,Ha.N,Ja.X,Za.o,Ze,qa.m,eo],styles:[".message[_ngcontent-%COMP%]{display:flex}.message.me[_ngcontent-%COMP%], .message.agent[_ngcontent-%COMP%]{justify-content:flex-end}.message.you[_ngcontent-%COMP%]{justify-content:flex-start}.message.system[_ngcontent-%COMP%]   .message-type-container[_ngcontent-%COMP%]{width:100%}.message[_ngcontent-%COMP%]   .message-type-container.rating[_ngcontent-%COMP%]{margin:10px auto 5px}.new-messages[_ngcontent-%COMP%]{position:absolute;bottom:-50px;left:50%;display:flex;height:40px;align-items:center;padding:0 24px;border:none;margin:auto;background-color:var(--sec-light-80);border-radius:30px;
3box-shadow:var(--box-shadow-sm);color:var(--white);transform:translate(-50%);transition:.2s all ease-in-out}.new-messages[_ngcontent-%COMP%]:focus{outline:none}.new-messages[_ngcontent-%COMP%]:active{transform:translate(-50%) scale(.94)}.new-messages.visible[_ngcontent-%COMP%]{bottom:15px}.message-failed-controls[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding-right:8px;gap:12px}.new-message-title[_ngcontent-%COMP%]{margin-bottom:0;margin-left:8px}"],changeDetection:0})}return a})();const mo=["container"];function ho(a,f){if(1&a&&(e.j41(0,"strong"),e.EFF(1),e.k0s()),2&a){const r=f.$implicit;e.AVh("comma",f.$index!==f.$count-1),e.R7$(),e.SpI(" ",r.client.name?r.client.name:"Partner"," ")}}let uo=(()=>{class a{messages$;typing$;isConnected$;showScrollToBottomButton=!1;onUnreadStatusChange=(0,e.CGW)();messageList=e.ebz.required(qe);container=e.ebz.required("container");intersectionObserver;observedWidgets={};store=(0,e.WQX)(l.il);chatService=(0,e.WQX)(Ot.T);customParser=(0,e.WQX)(Et.mC,{optional:!0});parsers=(0,e.WQX)(Et.oO);injector=(0,e.WQX)(e.zZn);destroyRef=(0,e.WQX)(e.abz);ngOnInit(){this.messages$=this.getMessages(),this.typing$=this.store.select(Oe.KT),this.isConnected$=this.store.select(Oe.UJ),this.messages$.pipe((0,je.pQ)(this.destroyRef)).subscribe(r=>{this.showScrollToBottomButton=r.some(d=>this.canMarkAsRead(d)),(r.length&&"me"===r.at(-1)?.whose||this.isScrollNearTheBottom())&&this.scrollToBottom()})}ngAfterViewInit(){this.intersectionObserver=new IntersectionObserver(r=>this.markMessagesRead(r),{root:this.container().nativeElement,threshold:[.5]}),(0,je.br)(this.messageList().widgets,{injector:this.injector}).pipe((0,je.pQ)(this.destroyRef)).subscribe(r=>{r.forEach(d=>{if(!this.canMarkAsRead(d.message())&&d.container?.element?.nativeElement)return delete this.observedWidgets[d.message().messageId],void this.intersectionObserver.unobserve(d.container.element.nativeElement);d.container?.element?.nativeElement&&(this.observedWidgets[d.message().messageId]=d,this.intersectionObserver.observe(d.container.element.nativeElement))})})}markMessagesRead(r){r.forEach(d=>{if(!d.isIntersecting)return;const T=Object.values(this.observedWidgets).find(S=>S.container.element.nativeElement===d.target);if(T){if(!this.canMarkAsRead(T.message()))return delete this.observedWidgets[T.message().messageId],void this.intersectionObserver.unobserve(d.target);this.chatService.markMessageRead(T.message().conversationId,T.message().messageId),this.onUnreadStatusChange.emit(T.message().conversationId)}})}scrollToBottom(){this.showScrollToBottomButton=!1,requestAnimationFrame(()=>{this.container().nativeElement.scrollTop=this.container().nativeElement.scrollHeight})}getMessages(){return(0,Na.z)([this.store.select(Oe.ez),this.store.select(Oe.oN)]).pipe((0,Je.T)(([r,d])=>{if(!d)return[];const T=r[d];return T?T.map(S=>this.parseMessage(S)):[]}),(0,La.n)(r=>{const d=this.customParser;return d?(0,Ka.p)(r.map(T=>d.parse(T))):(0,$a.of)(r)}))}canMarkAsRead(r){return this.chatService.identity.type===_e.ut.Agent?r.status!==_e.qp.Read&&(r.author.type===_e.ut.Customer||r.author.type===_e.ut.Anonymous):r.status!==_e.qp.Read&&r.author.type!==_e.ut.Customer}parseMessage(r){return this.parsers.reduce((d,T)=>T.parse(d),{...r})}isScrollNearTheBottom(){const r=this.container().nativeElement;return r.scrollHeight-(r.scrollTop+r.offsetHeight)<=100}static \u0275fac=function(d){return new(d||a)};static \u0275cmp=e.VBU({type:a,selectors:[["wa-chat-widgets"]],viewQuery:function(d,T){1&d&&(e.wEZ(T.messageList,qe,5),e.wEZ(T.container,mo,5)),2&d&&e.NyB(2)},outputs:{onUnreadStatusChange:"onUnreadStatusChange"},decls:16,vars:13,consts:[["container",""],[1,"chat-view"],[3,"newMessagesClick","messages","isConnected","showScrollToBottomButton"],[1,"typing-message"],[3,"comma"]],template:function(d,T){if(1&d){const S=e.RV6();e.SS7(0),e.nI1(1,"async"),e.SS7(2),e.j41(3,"div",1,0)(5,"wa-chat-message-list",2),e.nI1(6,"async"),e.nI1(7,"async"),e.bIt("newMessagesClick",function(){return e.eBV(S),e.Njj(T.scrollToBottom())}),e.k0s()(),e.j41(8,"div",3)(9,"span"),e.Z7z(10,ho,2,3,"strong",4,e.fX1),e.EFF(12," schreibt "),e.k0s(),e.nrm(13,"em")(14,"em")(15,"em"),e.k0s()}if(2&d){const S=e.bMT(1,7,T.typing$),H=S.length;e.R7$(3),e.AVh("typing",H),e.R7$(2),e.Y8G("messages",e.bMT(6,9,T.messages$))("isConnected",e.bMT(7,11,T.
3isConnected$))("showScrollToBottomButton",T.showScrollToBottomButton),e.R7$(3),e.AVh("visible",H),e.R7$(2),e.Dyx(S)}},dependencies:[qe,t.Jj],styles:['.chat-view[_ngcontent-%COMP%]{width:100%;padding:10px 16px 16px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.chat-view.typing[_ngcontent-%COMP%]{margin-bottom:25px}.typing-message[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding-left:10%;color:var(--sec-light-40);font-size:12px;visibility:hidden}.typing-message.visible[_ngcontent-%COMP%]{visibility:visible}.typing-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-right:2px}.typing-message[_ngcontent-%COMP%]   strong.comma[_ngcontent-%COMP%]:after{display:inline;margin-left:-2px;content:","}.typing-message[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{display:inline-block;width:2px;height:2px;margin-left:2px;animation:_ngcontent-%COMP%_updown .8s ease infinite;background:var(--sec-light-40);border-radius:50%;transform:translateY(1px)}.typing-message[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]:first-child{animation-delay:0s}.typing-message[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]:nth-child(odd){animation-delay:.2s}.typing-message[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]:last-child{animation-delay:.4s}.typing-message[_ngcontent-%COMP%]   em.visible[_ngcontent-%COMP%]{visibility:visible}@keyframes _ngcontent-%COMP%_updown{50%{transform:translateY(-1px)}}'],changeDetection:0})}return a})();var bo=n(36907);function vo(a,f){1&a&&(e.j41(0,"div",2),e.EFF(1," Archivierter Chat "),e.k0s())}function _o(a,f){if(1&a&&(e.nrm(0,"wa-chat-info-message",4)(1,"wa-chat-form",5),e.nI1(2,"async"),e.nI1(3,"async")),2&a){const r=e.XpG();e.R7$(),e.Y8G("canAttach",!0)("attachmentProfile",e.bMT(2,3,r.attachmentProfile$))("canSubmit",e.bMT(3,5,r.isConnected$))}}let Co=(()=>{class a{isConnected$;conversationId;isUiBlocked;attachmentProfile$;component$=new wa.B;store=(0,e.WQX)(l.il);route=(0,e.WQX)(o.nX);chatService=(0,e.WQX)(Ua.m);webAppStore=(0,e.WQX)(l.il);ngOnInit(){this.route.paramMap.pipe((0,Je.T)(r=>r.get("conversationId")),(0,Ta.Z)(null),function Ba(){return(0,Da.N)((a,f)=>{let r,d=!1;a.subscribe((0,Aa._)(f,T=>{const S=r;r=T,d&&f.next([S,T]),d=!0}))})}(),(0,Mt.F)(yt),(0,Pt.M)(([r,d])=>{r&&this.store.dispatch((0,kt.H$)({conversationId:r})),d&&this.store.dispatch((0,kt.id)({conversationId:d}))}),(0,$e.Q)(this.component$)).subscribe(),this.attachmentProfile$=this.webAppStore.select(Sa.r7).pipe((0,Ia.p)(r=>!!r),(0,Je.T)(r=>r.map(d=>({name:(0,i.nD)({first_name:d.first_name,last_name:d.last_name},!0),profileId:d.profile_id}))),(0,$e.Q)(this.component$)),this.isConnected$=this.store.select(Oe.UJ).pipe((0,$e.Q)(this.component$)),this.store.select(Oe.D2).pipe((0,$e.Q)(this.component$)).subscribe(r=>this.isUiBlocked=r)}ngOnDestroy(){this.chatService.deselectLastConversation(),this.component$.next(),this.component$.complete()}setUnreadChatMessages(r){this.chatService.unreadConversations.delete(r),this.webAppStore.dispatch(new Wa.V7)}static \u0275fac=function(d){return new(d||a)};static \u0275cmp=e.VBU({type:a,selectors:[["wa-conversation-window"]],standalone:!0,features:[e.aNF],decls:6,vars:2,consts:[[1,"chat"],[1,"chat-controls"],[1,"chat-archived"],[3,"onUnreadStatusChange"],[1,"chat-info-message"],[3,"canAttach","attachmentProfile","canSubmit"]],template:function(d,T){1&d&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"wa-chat-controls"),e.k0s(),e.DNE(3,vo,2,0,"div",2),e.j41(4,"wa-chat-widgets",3),e.bIt("onUnreadStatusChange",function(H){return T.setUnreadChatMessages(H)}),e.k0s(),e.DNE(5,_o,4,7),e.k0s()),2&d&&(e.R7$(3),e.vxM(T.isUiBlocked?3:-1),e.R7$(2),e.vxM(T.isUiBlocked?-1:5))},dependencies:[Fa.c,Ra.sb,uo,bo.s,ja.f,t.Jj],styles:[".chat[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;background-color:var(--white);border-radius:var(--border-radius-md);
3box-shadow:var(--box-shadow-xs)}.chat-controls[_ngcontent-%COMP%]{border-bottom:1px solid var(--border-light)}.chat-info-message[_ngcontent-%COMP%]:not(:empty){margin:0 16px 12px}.chat[_ngcontent-%COMP%]   wa-chat-widgets[_ngcontent-%COMP%]{position:relative;display:flex;overflow:hidden;flex-grow:1}.chat[_ngcontent-%COMP%]   .chat-archived[_ngcontent-%COMP%]{padding:4px 16px;margin:16px 16px 4px;background:var(--text-background-purple);border-radius:var(--border-radius-sm);color:var(--text-purple);text-align:center}"],changeDetection:0})}return a})()},23327:($,x,n)=>{n.d(x,{Y:()=>g});var t=n(58527),e=n(61177),o=n(94236),i=n(84975),l=n(6663),c=n(60494),h=n(17796),b=n(21252),_=n(48219),C=n(47906);let g=(()=>{class p{loadDocuments$=(0,o.EH)((O=(0,t.WQX)(o.En),s=(0,t.WQX)(_.D))=>O.pipe((0,o.gp)(C.P_),(0,i.n)(y=>s.requestDocumentsWithClaims(y.profileId,y.filters).pipe((0,l.T)(({documents:u,claims:w})=>{const{documentsWithClaims:D,unreadDocumentsCount:N}=s.getDocumentsData(u,w);return C.kN({documents:D,claims:w,unreadDocumentsCount:N>0?N:0})}),(0,c.W)(u=>(0,h.of)(C.QM({error:u})))))));loadTimelineEventsDocuments$=(0,o.EH)((O=(0,t.WQX)(o.En),s=(0,t.WQX)(_.D))=>O.pipe((0,o.gp)(C.WF),(0,i.n)(y=>s.requestDocumentsWithClaims(y.profileId,y.filters).pipe((0,l.T)(({documents:u,claims:w})=>{const{documentsWithClaims:D}=s.getDocumentsData(u,w);return C.dl({timelineEventDocuments:D})}),(0,c.W)(u=>(0,h.of)(C.QM({error:u})))))));fetchDocumentsFailed$=(0,o.EH)((O=(0,t.WQX)(o.En),s=(0,t.WQX)(e.Kc))=>O.pipe((0,o.gp)(C.QM),(0,b.M)(y=>{s.error("[DocumentEffects] Error while retrieving customer documents",y.error)})),{dispatch:!1});static \u0275fac=function(s){return new(s||p)};static \u0275prov=t.jDH({token:p,factory:p.\u0275fac})}return p})()},28700:($,x,n)=>{n.d(x,{W:()=>i});var t=n(52713),e=n(47906);const i=(0,t.vy)({documents:[],allDocuments:[],timelineEventDocuments:[],claims:[],unreadDocumentsCount:0,showedConfettiDocumentIds:[],active:!1,loading:!1},(0,t.on)(e.p$,(l,c)=>({...l,loading:c.loading})),(0,t.on)(e.P_,l=>({...l,loading:!0})),(0,t.on)(e.QM,l=>({...l,loading:!1})),(0,t.on)(e.kN,(l,c)=>({...l,allDocuments:0===l.allDocuments.length?[...c.documents]:l.allDocuments,documents:[...c.documents],claims:[...c.claims],unreadDocumentsCount:c.unreadDocumentsCount,loading:!1})),(0,t.on)(e.WF,l=>({...l,loading:!0})),(0,t.on)(e.dl,(l,c)=>({...l,timelineEventDocuments:[...c.timelineEventDocuments],loading:!1})),(0,t.on)(e.xY,l=>({...l,timelineEventDocuments:[]})),(0,t.on)(e.Iv,(l,c)=>({...l,showedConfettiDocumentIds:[...c.showedConfettiDocumentIds]})),(0,t.on)(e.tc,(l,c)=>({...l,unreadDocumentsCount:c.unreadDocumentsCount})),(0,t.on)(e.lU,(l,c)=>{const h=l.documents.findIndex(_=>_.uuid===c.documentId),b=[...l.documents];return b[h]={...b[h],...c.newValue},{...l,documents:b}}),(0,t.on)(e.M0,(l,c)=>({...l,documents:[c.document,...l.documents]})))},3067:($,x,n)=>{n.d(x,{HK:()=>i,Kb:()=>l,NA:()=>_,PH:()=>c,YE:()=>h,ZN:()=>o,gP:()=>C,sj:()=>b});var t=n(52713);const e=(0,t.UX)("documents"),o=(0,t.Mz)(e,g=>0===g.documents.length&&g.loading),i=(0,t.Mz)(e,g=>g.documents),l=(0,t.Mz)(e,g=>g.claims),c=(0,t.Mz)(e,g=>g.timelineEventDocuments),h=g=>(0,t.Mz)(e,p=>(p.documents||[]).find(M=>M.uuid===g)),b=(0,t.Mz)(e,g=>g.showedConfettiDocumentIds),_=(0,t.Mz)(e,g=>g.unreadDocumentsCount),C=(0,t.Mz)(e,g=>g.allDocuments)},86092:($,x,n)=>{n.r(x),n.d(x,{ProtectedComponent:()=>l});var t=n(65377),e=n(48185),o=n(15887),i=n(58527);let l=(()=>{class c{static \u0275fac=function(_){return new(_||c)};static \u0275cmp=i.VBU({type:c,selectors:[["wa-protected"]],standalone:!0,features:[i.aNF],decls:5,vars:0,consts:[[1,"wa-container"],[1,"wa-content"]],template:function(_,C){1&_&&(i.j41(0,"div",0),i.nrm(1,"wa-nav-bar"),i.j41(2,"div",1),i.nrm(3,"router-outlet"),i.k0s(),i.nrm(4,"wa-chat-notifications"),i.k0s())},dependencies:[e.M,t.n3,o.Y],encapsulation:2})}return c})()},9295:($,x,n)=>{n.r(x),n.d(x,{ProtectedModule:()=>Be});var t=n(61142),e=n(56106),o=n(24153),i=n(65377),l=n(23818),c=n(24855),h=n(58527);let b=(()=>{class W{static \u0275fac=function(j){return new(j||W)};static \u0275mod=h.$C({type:W});static \u0275inj=h.G2t({imports:[o.U,l.o,c.n]})}return W})();var _=n(27555),C=n(66935),g=n(94236),p=n(52713),M=n(48219),O=n(23327),s=n(28700),y=n(31840),u=n(95254),w=n(48185),D=n(67362);let N=(()=>{class W{static \u0275fac=function(j){return new(j||W)};static \u0275mod=h.$C({type:W});static \u0275inj=h.G2t({providers:[M.D,y.y],imports:[t.MD,i.iI,C.f,o.U,_.xB,p.md.forFeature
3("documents",s.W),g.Vm.forFeature([O.Y]),u.Q,D.W,w.M]})}return W})(),Q=(()=>{class W{static \u0275fac=function(j){return new(j||W)};static \u0275mod=h.$C({type:W});static \u0275inj=h.G2t({imports:[i.iI,t.MD,e.YN,N,o.U,b,N]})}return W})();var J=n(31385),G=n(86092),L=n(51376),R=n(39611),Y=n(78374),X=n(84975),q=n(17796),re=n(60494),ce=n(22567);const de=W=>()=>{const le=(0,h.WQX)(i.Ix),v=(0,h.WQX)(ce.V),j=()=>le.navigate(["/"]).then(()=>!1);return(W?v.hasSupportedCertificate(W):v.hasSupportedCertificates()).pipe((0,Y.s)(1),(0,X.n)(F=>F?(0,q.of)(!0):j()),(0,re.W)(()=>j()))};var U=n(74351),A=n(66990),P=n(61177),m=n(6663),k=n(21252),E=n(16920),I=n(51335),z=n(35888);const ae=()=>{const W=(0,h.WQX)(I.p),le=(0,h.WQX)(P.Kc),v=(0,h.WQX)(i.Ix),j=(0,h.WQX)(p.il),B=(0,h.WQX)(A.jf);return j.select(z.r7).pipe((0,Y.s)(1),(0,X.n)(F=>void 0!==F&&F.length>0?(0,q.of)(!0):W.retrieveProfiles().pipe((0,k.M)(K=>{K.length&&W.setProfiles(K)}),(0,X.n)(K=>K.length>0?(0,q.of)(!0):((W,le,v)=>W.retrieveSignups().pipe((0,m.T)(j=>j.some(F=>F.is_closed)?le.createUrlTree(["/profile-incomplete"]):(v.location.href=E.c.signupAppUri,!1))))(W,v,B)),(0,re.W)(K=>(le.error(`[profilesGuard] Failed to retrieve profiles: ${JSON.stringify(K)}`),(0,q.of)(!1))))))};var xe=n(53518);const be="Ereignis";var he=n(98404),oe=n(27395);let Ee=(()=>{class W{timelineEvents$=(0,g.EH)((v=(0,h.WQX)(g.En),j=(0,h.WQX)(he.h))=>v.pipe((0,g.gp)(oe.ae),(0,X.n)(B=>j.getEvents(B.profileId).pipe((0,m.T)(F=>oe.hI({timelineEvents:F})),(0,re.W)(F=>(0,q.of)(oe.J2({error:F})))))));fetchTimelineFailed$=(0,g.EH)((v=(0,h.WQX)(g.En),j=(0,h.WQX)(P.Kc))=>v.pipe((0,g.gp)(oe.J2),(0,k.M)(B=>{j.error("[TimelineEffects] Error while retrieving timeline events",B.error)})),{dispatch:!1});static \u0275fac=function(j){return new(j||W)};static \u0275prov=h.jDH({token:W,factory:W.\u0275fac})}return W})();const Te=(0,p.vy)({events:[],loading:!1},(0,p.on)(oe.ae,W=>({...W,loading:!0})),(0,p.on)(oe.J2,W=>({...W,loading:!1})),(0,p.on)(oe.hI,(W,le)=>({...W,events:[...le.timelineEvents]}))),De=[(0,h.oKB)(p.md.forFeature("timeline",Te),g.Vm.forFeature([Ee]))],Ae=i.iI.forChild([{path:"",loadComponent:()=>Promise.resolve().then(n.bind(n,86092)).then(W=>W.ProtectedComponent),children:[{path:"",redirectTo:"timeline",pathMatch:"full"},{path:"timeline",canActivate:[ae],data:{screenName:R.MC.Timeline},providers:De,children:[{path:"",loadComponent:()=>Promise.all([n.e(716),n.e(546)]).then(n.bind(n,43546)).then(W=>W.TimelineComponent),title:"Ereignis\xfcbersicht"},{path:":profileId",redirectTo:"",pathMatch:"full"},{path:":profileId/:eventId",loadComponent:()=>Promise.all([n.e(716),n.e(76),n.e(661)]).then(n.bind(n,20661)).then(W=>W.TimelineDetailsContainerComponent),canActivate:[U.E],data:{screenName:R.MC.TimelineDetail},title:W=>{const le=(0,h.WQX)(p.il),v=W.params?.eventId;return v?le.select((0,xe.wj)(v)).pipe((0,Y.s)(1),(0,re.W)(()=>(0,q.of)(null)),(0,m.T)(j=>(j?.title?`${j.title} | `:"")+be)):(0,q.of)(be)}}]},{path:"chat",canActivate:[ae],loadChildren:()=>n.e(930).then(n.bind(n,60930)).then(W=>W.ChatModule),title:"Concierge Service"},{path:"document",canActivate:[ae],loadChildren:()=>Promise.all([n.e(286),n.e(76),n.e(593)]).then(n.bind(n,99593)).then(W=>W.DocumentsModule),title:"Dokumente"},{path:"files",redirectTo:"documents"},{path:"settings",canActivate:[ae],loadChildren:()=>n.e(128).then(n.bind(n,29128)).then(W=>W.SETTINGS_ROUTES)},{path:"faq",canActivate:[ae],loadComponent:()=>Promise.all([n.e(76),n.e(269)]).then(n.bind(n,52269)).then(W=>W.FaqComponent),data:{screenName:R.MC.Faq},title:"H\xe4ufig gestellte Fragen"},{path:"todo",canActivate:[ae],loadChildren:()=>Promise.all([n.e(527),n.e(76),n.e(117)]).then(n.bind(n,43117)).then(W=>W.TodoModule),title:"To-dos"},{path:"certificate",canActivate:[ae,de],data:{screenName:R.MC.Certificates},children:[{path:"",loadComponent:()=>Promise.all([n.e(527),n.e(76),n.e(13)]).then(n.bind(n,19013)).then(W=>W.CertificateComponent),title:"Bescheinigung anfordern"},{path:"travel-certificate",loadComponent:()=>Promise.all([n.e(286),n.e(638)]).then(n.bind(n,67638)).then(W=>W.TravelCertificateComponent),canActivate:[de(L.e_9.TravelCertificate)],title:"Auslandsbescheinigung"}]},{path:"profile-incomplete",loadComponent:()=>n.e(275).then(n.bind(n,56275)).then(W=>W.ProfileIncompleteComponent),title:"Profil unvollst\xe4ndig"}]}]);let Be=(()=>{class W{static \u0275fac=function(j){return new(j||W)};static \u0275mod=h.$C({type:W});static \u0275inj=h.G2t({providers:[he.h],imports:[t.MD,e.YN,Ae,Q,o.U,J.F,G.ProtectedComponent]})}return W})()},98404:($,x,n)=>{n.d(x,{h:()=>h});var t=n(94485),e=n(58527),o=n(60494),i=n(17796),l=n(6663),c=n(69131);let h=(()=>{class b{http=(0,e.WQX)(t.Qq);apiUrls=(0,e.WQX)(c.k);getEvents(C){const g=this.apiUrls.timelineEvents(C);return this.http.get(g).pipe((0,o.W)(()=>(0,i.of)([])),(0,l.T)(p=>this.sortEventsByDate(p)))}getEventDetails(C,g){const p=this.apiUrls.timelineEventDetails(g,C);return this.http.get(p)}sortEventsByDate(C){return C?.sort((g,p)=>new Date(p.timestamp).getTime()-new Date(g.timestamp).getTime())||[]}static \u0275fac=function(g){return new(g||b)};static \u0275prov=e.jDH({token:b,factory:b.\u0275fac})}return b})()},27395:($,x,n)=>{n.d(x,{J2:()=>i,ae:()=>o,hI:()=>l});var t=n(52713),e=function(c){return c.FetchTimeline="[WebApp][Timeline] Fetch events",c.FetchTimelineFailed="[WebApp][Timeline] Fetch events failed",c.ProcessTimeline="[WebApp][Timeline] Process events",c}(e||{});const o=(0,t.VP)(e.FetchTimeline,(0,t.xk)()),i=(0,t.VP)(e.FetchTimelineFailed,(0,t.xk)()),l=(0,t.VP)(e.ProcessTimeline,(0,t.xk)())},53518:($,x,n)=>{n.d(x,{U:()=>o,rf:()=>i,wj:()=>l});var t=n(52713);const e=(0,t.UX)("timeline"),o=(0,t.Mz)(e,c=>0===c.events.length&&c.loading),i=(0,t.Mz)(e,c=>c.events),l=c=>(0,t.Mz)(e,h=>(h.events||[]).find(b=>b.uuid===c))},54575:($,x,n)=>{n.d(x,{sb:()=>w});var t=n(56106),e=n(28161),o=n(46140),i=n(89344),l=n(24153),c=n(8820),h=n(23818),b=n(72901),_=n(48476),C=n(61177),g=n(150),p=n(87555),M=n(42929),O=n(56157),s=n(52481),y=n(74257),u=n(58527);let w=(()=>{class D{static \u0275fac=function(J){return new(J||D)};static \u0275mod=u.$C({type:D});static \u0275inj=u.G2t({providers:[C.kT],imports:[l.U,e.z0,b.V,o.tm,t.X1,_.x,c.iZ,i.xy,h.o,p.l,M.j,y.N,s.X,O.o,g.X]})}return D})()},11135:($,x,n)=>{n.d(x,{F:()=>i});var t=n(61142),e=n(24153),o=n(58527);let i=(()=>{class l{static \u0275fac=function(b){return new(b||l)};static \u0275mod=o.$C({type:l});static \u0275inj=o.G2t({imports:[t.MD,e.U]})}return l})()},36907:($,x,n)=>{n.d(x,{s:()=>de});var t=n(58527),e=n(52713),o=n(77392),i=n(83485),l=n(58468),c=n(23329),h=n(11521),b=n(92411),_=n(20223),C=n(97293),p=n(84932);var O=n(21252),s=n(78374),y=n(13740),u=n(30958),w=n(48181),D=n(15769),N=n(73466),Q=n(28161);let J=(()=>{class U{clickOutside=(0,t.CGW)();escPressed=(0,t.CGW)();elementRef=(0,t.WQX)(t.aKT);onClick(P){const m=P.target;m&&this.elementRef.nativeElement.contains(m)||this.clickOutside.emit()}onEsc(P){"Escape"===P.key&&(P.stopPropagation(),this.escPressed.emit
3())}static \u0275fac=function(m){return new(m||U)};static \u0275dir=t.FsC({type:U,selectors:[["","clickOutside",""]],hostBindings:function(m,k){1&m&&t.bIt("click",function(I){return k.onClick(I)},!1,t.EBC)("keyup",function(I){return k.onEsc(I)},!1,t.EBC)},outputs:{clickOutside:"clickOutside",escPressed:"escPressed"},standalone:!0})}return U})();var G=n(61142);const L=["messageInput"];function R(U,A){if(1&U){const P=t.RV6();t.j41(0,"button",12),t.bIt("click",function(){t.eBV(P);const k=t.XpG(),E=t.sdS(2);return t.Njj(k.attachDocument(E.value))}),t.nrm(1,"frontend-image",13),t.k0s()}2&U&&(t.R7$(),t.Y8G("stretchToContainer",!0))}function Y(U,A){1&U&&t.nrm(0,"frontend-image",7),2&U&&t.Y8G("stretchToContainer",!0)}function X(U,A){1&U&&t.nrm(0,"frontend-image",8),2&U&&t.Y8G("stretchToContainer",!0)}let de=(()=>{class U{canAttach;canSubmit=!1;isEventOnly=!1;fakeChatCreation=!1;attachmentProfile=[];send=new t.bkB;onFakeChatCreation=new t.bkB;messageInput;isEmojiPickerOpen=!1;enteredMessage$;showMaxHeightTextarea=!1;textAreaPosition=-1;component$=new o.B;selectedConversation$=new i.t(null);store=(0,t.WQX)(e.il);chatService=(0,t.WQX)(w.T);emojiService=(0,t.WQX)(D.E);changeDetector=(0,t.WQX)(t.gRc);attachmentService=(0,t.WQX)(u.V);constructor(){this.enteredMessage$=this.store.select(y.PR)}ngOnInit(){this.store.pipe((0,e.Lt)(y.lI),(0,l.Q)(this.component$)).subscribe(this.selectedConversation$)}ngAfterViewInit(){this.resetChat(),this.messageInput.nativeElement.focus(),(0,c.R)(this.messageInput.nativeElement,"input").pipe(function M(U,A=h.E,P){const m=(0,p.O)(U,A);return function g(U,A){return(0,b.N)((P,m)=>{const{leading:k=!0,trailing:E=!1}=A??{};let I=!1,z=null,ee=null,ae=!1;const xe=()=>{ee?.unsubscribe(),ee=null,E&&(he(),ae&&m.complete())},be=()=>{ee=null,ae&&m.complete()},ve=oe=>ee=(0,C.Tg)(U(oe)).subscribe((0,_._)(m,xe,be)),he=()=>{if(I){I=!1;const oe=z;z=null,m.next(oe),!ae&&ve(oe)}};P.subscribe((0,_._)(m,oe=>{I=!0,z=oe,(!ee||ee.closed)&&(k?he():ve(oe))},()=>{ae=!0,(!(E&&I&&ee)||ee.closed)&&m.complete()}))})}(()=>m,P)}(1e3,void 0,{trailing:!0,leading:!0}),(0,O.M)(()=>this.chatService.typing(this.messageInput.nativeElement.value)),(0,l.Q)(this.component$)).subscribe(),this.enteredMessage$.pipe((0,l.Q)(this.component$)).subscribe(()=>{requestAnimationFrame(()=>{this.autoResizeTextarea(),this.messageInput.nativeElement.focus()})})}ngOnDestroy(){this.component$.next(),this.component$.complete()}onEnter(P,m){if(13===P.keyCode&&!P.shiftKey){if(P.preventDefault(),!this.canSubmit)return;this.messageInput.nativeElement.value="",this.sendMessage(this.emojiService.parseMessageWithEmojies(m))}}onSpace(P){const m=this.emojiService.parseMessageWithEmojies(P);P!==m&&(this.messageInput.nativeElement.value=m,this.changeDetector.markForCheck())}sendMessage(P){if(P&&this.canSubmit){if(this.fakeChatCreation)return this.resetChat(),this.onFakeChatCreation.emit({content:P});this.isEventOnly||this.chatService.sendTextMessage({content:P}),this.send.emit({content:P}),this.resetChat()}}addEmoji(P){const m=this.messageInput.nativeElement.value,k=-1===this.textAreaPosition?this.messageInput.nativeElement.textLength:this.textAreaPosition;this.messageInput.nativeElement.value=`${m.slice(0,k)}${P.emoji.native}${m.slice(k)}`,this.textAreaPosition=k+P.emoji.native.length,this.changeDetector.markForCheck()}toggleEmojiPicker(){this.isEmojiPickerOpen=!this.isEmojiPickerOpen,this.textAreaPosition=this.isEmojiPickerOpen?this.messageInput.nativeElement.selectionStart:-1}closeEmojiPicker(){this.isEmojiPickerOpen=!1}toggleTextareaSize(){this.showMaxHeightTextarea=!this.showMaxHeightTextarea,this.showMaxHeightTextarea?this.setMaxHeight():this.setMinHeight(),this.chatService.formSizeChanged.emit()}attachDocument(P){this.attachmentService.attachDocument(this.selectedConversation$.getValue(),P,this.attachmentProfile).pipe((0,s.s)(1)).subscribe(m=>{if(this.fakeChatCreation)return this.resetChat(),this.onFakeChatCreation.emit(m);this.isEventOnly||this.chatService.sendDocumentMessage(m),this.send.emit(m),this.resetChat()})}autoResizeTextarea(){const P=this.messageInput.nativeElement;if(!this.showMaxHeightTextarea){this.setMinHeight();const m=Math.max(42,P.scrollHeight);m>=554?this.setMaxHeight():(P.style.height=m+"px",this.chatService.formSizeChanged.emit())}}setMinHeight(){this.showMaxHeightTextarea=!1,this.setHeight(42)}setMaxHeight(){this.showMaxHeightTextarea=!0,this.setHeight(554)}setHeight(P){this.messageInput.nativeElement.style.height=P+"px",this.chatService.formSizeChanged.emit()}resetChat(){this.messageInput.nativeElement.value="",this.changeDetector.markForCheck(),this.setMinHeight(),this.closeEmojiPicker()}static \u0275fac=function(m){return new(m||U)};static \u0275cmp=t.VBU({type:U,selectors:[["wa-chat-form"]],viewQuery:function(m,k){if(1&m&&t.GBs(L,5),2&m){let E;t.mGM(E=t.lsd())&&(k.messageInput=E.first)}},inputs:{canAttach:"canAttach",canSubmit:"canSubmit",isEventOnly:"isEventOnly",fakeChatCreation:"fakeChatCreation",attachmentProfile:"attachmentProfile"},outputs:{send:"send",onFakeChatCreation:"onFakeChatCreation"},decls:13,vars:14,consts:[["messageInput",""],[1,"chat-reply",3,"escPressed","clickOutside"],["placeholder","Hier schreiben","maxlength","10000","data-cy","chat-message",1,"message",3,"focus","keydown.enter","keydown.space","keydown.shift.space","value"],["role","button","data-cy","chat-emoji",1,"chat-icon-button","chat-open-emoji",3,"click"],["type","svg","file","input-emoji.svg",1,"chat-icon",3,"stretchToContainer"],["role","button","data-cy","chat-attach",1,"chat-icon-button","chat-attach-document"],["role","button","data-cy","chat-resize",1,"chat-icon-button","chat-resize",3,"click"],["type","svg","file","input-minimize.svg","data-cy","chat-minimize",1,"chat-icon",3,"stretchToContainer"],["type","svg","file","input-maximize.svg","data-cy","chat-maximize",1,"chat-icon",3,"stretchToContainer"],["role","button","data-cy","chat-send",1,"chat-icon-button","chat-submit",3,"click","disabled"],["type","svg","file","chat-send.svg",3,"stretchToContainer"],["data-cy","chat-emoji-mart",1,"emoji-picker",3,"emojiSelect","isNative","showPreview"],["role","button","data-cy","chat-attach",1,"chat-icon-button","chat-attach-document",3,"click"],["type","svg","file","icon-attach-document.svg",1,"chat-icon",3,"stretchToContainer"]],template:function(m,k){if(1&m){const E=t.RV6();t.j41(0,"div",1),t.bIt("escPressed",function(){return t.eBV(E),t.Njj(k.closeEmojiPicker())})("clickOutside",function(){return t.eBV(E),t.Njj(k.closeEmojiPicker())}),t.j41(1,"textarea",2,0),t.nI1(3,"async"),t.bIt("focus",function(){return t.eBV(E),t.Njj(k.closeEmojiPicker())})("keydown.enter",function(z){t.eBV(E);const ee=t.sdS(2);return t.Njj(k.onEnter(z,ee.value))})("keydown.space",function(){t.eBV(E);const z=t.sdS(2);return t.Njj(k.onSpace(z.value))})("keydown.shift.space",function(){t.eBV(E);const z=t.sdS(2);return t.Njj(k.onSpace(z.value))}),t.k0s(),t.j41(4,"button",3),t.bIt("click",function(){return t.eBV(E),t.Njj(k.toggleEmojiPicker())}),t.nrm(5,"frontend-image",4),t.k0s(),t.DNE(6,R,2,1,"button",5),t.j41(7,"button",6),t.bIt("click",function(){return t.eBV(E),t.Njj(k.toggleTextareaSize())}),t.DNE(8,Y,1,1,"frontend-image",7)(9,X,1,1,"frontend-image",8),t.k0s(),t.j41(10,"button",9),t.bIt("click",function(){t.eBV(E);const z=t.sdS(2);return t.Njj(k.sendMessage(z.value))}),t.nrm(11,"frontend-image",10),t.k0s(),t.j41(12,"emoji-mart",11),t.bIt("emojiSelect",function(z){return t.eBV(E),t.Njj(k.addEmoji(z))}),t.k0s()()}if(2&m){const E=t.sdS(2);t.AVh("attachment",k.canAttach),t.R7$(),t.Y8G("value",t.bMT(3,12,k.enteredMessage$)),t.R7$(4),t.Y8G("stretchToContainer",!0),t.R7$(),t.vxM(k.canAttach?6:-1),t.R7$(2),t.vxM(k.showMaxHeightTextarea?8:9),t.R7$(2),t.Y8G("disabled",!E.value||!k.canSubmit),t.R7$(),t.Y8G("stretchToContainer",!0),t.R7$(),t.AVh("hidden",!k.isEmojiPickerOpen),t.Y8G("isNative",!0)("showPreview",!1)}},dependencies:[N.h,Q.Ic,J,G.Jj],styles:[".chat-reply[_ngcontent-%COMP%]{position:relative;width:100%;padding:0 16px 16px}.chat-reply.attachment[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding-right:150px}.chat-reply.attachment[_ngcontent-%COMP%]   .chat-open-emoji[_ngcontent-%COMP%]{right:130px}.chat-reply.attachment[_ngcontent-%COMP%]   .chat-attach-document[_ngcontent-%COMP%]{right:98px;display:block}.chat-reply[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{position:relative;display:block;width:100%;height:42px;max-height:calc(100vh - 340px);padding:10px 120px 9px 16px;border:1px solid var(--border-light);margin:0;-webkit-appearance:none;appearance:none;border-radius:5px;color:var(--sec-light-100);font-size:16px;line-height:21px;resize:none;scrollbar-color:var(--sec-light-60) transparent;scrollbar-width:thin}.chat-reply[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px}.chat-reply[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:transparent}.chat-reply[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{height:40px;border:2px solid transparent;background-clip:content-box;background-color:var(--sec-light-60);border-radius:var(--border-radius-md)}.chat-reply[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]:focus{outline:none}.chat-reply[_ngcontent-%COMP%]   .chat-icon-button[_ngcontent-%COMP%]{position:absolute;bottom:21px;
3display:block;width:32px;height:32px;padding:5px;border:0;background:transparent;color:var(--sec-light-60);transition:all .2s ease-in-out}.chat-reply[_ngcontent-%COMP%]   .chat-icon-button[_ngcontent-%COMP%]:focus{outline:none}.chat-reply[_ngcontent-%COMP%]   .chat-icon-button[_ngcontent-%COMP%]:hover{color:var(--sec-light-80)}.chat-reply[_ngcontent-%COMP%]   .chat-open-emoji[_ngcontent-%COMP%]{right:98px}.chat-reply[_ngcontent-%COMP%]   .chat-attach-document[_ngcontent-%COMP%]{display:none}.chat-reply[_ngcontent-%COMP%]   .chat-resize[_ngcontent-%COMP%]{right:66px}.chat-reply[_ngcontent-%COMP%]   .chat-submit[_ngcontent-%COMP%]{right:28px;padding:0;border-radius:50%;color:var(--primary)}.chat-reply[_ngcontent-%COMP%]   .chat-submit[disabled][_ngcontent-%COMP%]{color:var(--sec-light-10);pointer-events:none}.chat-reply[_ngcontent-%COMP%]   .emoji-picker[_ngcontent-%COMP%]{position:absolute;z-index:1002;right:50%;bottom:80px;transform:translate(50%)}@media (min-width: 768px){.chat-reply[_ngcontent-%COMP%]   .emoji-picker[_ngcontent-%COMP%]{right:16px;transform:initial}}.chat-reply[_ngcontent-%COMP%]   .emoji-picker.hidden[_ngcontent-%COMP%]{display:none}"],changeDetection:0})}return U})()},150:($,x,n)=>{n.d(x,{X:()=>O});var t=n(58527),e=n(24153),o=n(69956),i=n(85279),l=n(73466);function c(s,y){if(1&s&&(t.j41(0,"span",2),t.EFF(1),t.k0s()),2&s){const u=t.XpG(2);t.R7$(),t.SpI("von ",u.message().nameToDisplay||u.message().author.name||u.message().author.email,"")}}function h(s,y){1&s&&t.nrm(0,"frontend-image",3),2&s&&t.Y8G("stretchToContainer",!0)}function b(s,y){1&s&&(t.j41(0,"span",4),t.EFF(1," ! "),t.k0s())}function _(s,y){1&s&&t.nrm(0,"frontend-image",5),2&s&&t.Y8G("stretchToContainer",!0)}function C(s,y){1&s&&t.nrm(0,"frontend-image",6),2&s&&t.Y8G("stretchToContainer",!0)}function g(s,y){1&s&&t.nrm(0,"frontend-image",7),2&s&&t.Y8G("stretchToContainer",!0)}function p(s,y){if(1&s&&t.DNE(0,h,1,1,"frontend-image",3)(1,b,2,0,"span",4)(2,_,1,1,"frontend-image",5)(3,C,1,1,"frontend-image",6)(4,g,1,1,"frontend-image",7),2&s){let u;const w=t.XpG(2);t.vxM((u=w.message().status)===w.messageStatus.Pending?0:u===w.messageStatus.Failed?1:u===w.messageStatus.Sent?2:u===w.messageStatus.Received?3:u===w.messageStatus.Read?4:-1)}}function M(s,y){if(1&s&&(t.j41(0,"div",1),t.EFF(1),t.nI1(2,"datetime"),t.DNE(3,c,2,1,"span",2)(4,p,5,1),t.k0s()),2&s){const u=t.XpG();t.HbH(u.message().whose),t.R7$(),t.SpI(" ",t.i5U(2,5,u.message().timestamp,"HH:mm")," "),t.R7$(2),t.vxM(u.showName()?3:-1),t.R7$(),t.vxM("me"===u.message().whose||"agent"===u.message().whose?4:-1)}}let O=(()=>{class s{message=t.hFB.required();showName=(0,t.hFB)(!1);messageStatus=i.qp;static \u0275fac=function(w){return new(w||s)};static \u0275cmp=t.VBU({type:s,selectors:[["wa-chat-message-status"]],inputs:{message:[1,"message"],showName:[1,"showName"]},standalone:!0,features:[t.aNF],decls:1,vars:1,consts:[["data-cy","message-time",1,"message-status",3,"class"],["data-cy","message-time",1,"message-status"],["data-cy","message-text"],["title","wird gesendet","alt","wird gesendet","file","icon-message-sending.svg","data-cy","message-status-sending",1,"status-icon",3,"stretchToContainer"],["title","fehlgeschlagen","alt","fehlgeschlagen","data-cy","message-status-failed",1,"failed-icon"],["title","gesendet","alt","gesendet","file","icon-message-sent.svg","data-cy","message-status-sent",1,"status-icon",3,"stretchToContainer"],["title","empfangen","alt","empfangen","file","icon-message-received.svg","data-cy","message-status-received",1,"status-icon",3,"stretchToContainer"],["title","gelesen","alt","gelesen","file","icon-message-read.svg","data-cy","message-status-read",1,"status-icon",3,"stretchToContainer"]],template:function(w,D){1&w&&t.DNE(0,M,5,8,"div",0),2&w&&t.vxM("system"!==D.message().author.id?0:-1)},dependencies:[e.U,l.h,o.Ax],styles:[".message-status[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:2px;color:var(--sec-light-40);font-size:11px;font-weight:700;gap:4px;line-height:16px}.message-status.you[_ngcontent-%COMP%]{justify-content:flex-start;margin-left:12px}.message-status.me[_ngcontent-%COMP%], .message-status.agent[_ngcontent-%COMP%]{justify-content:flex-end;margin-right:12px;text-align:right}.message-status[_ngcontent-%COMP%]   .status-icon[_ngcontent-%COMP%]{display:inline-block;height:8px}.message-status[_ngcontent-%COMP%]   .icon-hidden[_ngcontent-%COMP%]{display:none}.message-status[_ngcontent-%COMP%]   .failed-icon[_ngcontent-%COMP%]{font-weight:900}"]})}return s})()},29197:($,x,n)=>{n.d(x,{U:()=>h,V:()=>b});var t=n(58527),e=n(74150),o=n(61177),i=n(52713),l=n(85279);const c=["container"];let h=(()=>{class _{container;message=t.hFB.required();store=(0,t.WQX)(i.il);static \u0275fac=function(p){return new(p||_)};static \u0275dir=t.FsC({type:_,viewQuery:function(p,M){if(1&p&&t.GBs(c,7,t.c1b),2&p){let O;t.mGM(O=t.lsd())&&(M.container=O.first)}},inputs:{message:[1,"message"]}})}return _})(),b=(()=>{class _ extends h{messageStatus=l.qp;showAllNames=(0,t.hFB)(!1);isSystem=(0,t.EWP)(()=>"system"===this.message().author.id);showName=(0,t.EWP)(()=>
3this.showAllNames()||!this.isSystem()&&"you"===this.message().whose||"agent"===this.message().whose);content=(0,t.EWP)(()=>{try{const g=this.message().data.content.replace(/<img[^>]*>/gi,"").replace(/\n/gi,"<br/>");return this.sanitizer.sanitize(t.WPN.HTML,g)??""}catch{this.logService.error("Failed to sanitize message",[this.message().data.content])}return""});sanitizer=(0,t.WQX)(e.up);logService=(0,t.WQX)(o.Kc);static \u0275fac=(()=>{let g;return function(M){return(g||(g=t.xGo(_)))(M||_)}})();static \u0275dir=t.FsC({type:_,inputs:{showAllNames:[1,"showAllNames"]},features:[t.Vt3]})}return _})()},87555:($,x,n)=>{n.d(x,{l:()=>b});var t=n(58527),e=n(65377),o=n(24153),i=n(71645),l=n(150),c=n(29197),h=n(73466);let b=(()=>{class _ extends c.U{trackingService=(0,t.WQX)(i.f);router=(0,t.WQX)(e.Ix);navigateToCertificates(){this.trackingService.logCertificateMessageClick(),this.router.navigate(["certificate"])}static \u0275fac=(()=>{let g;return function(M){return(g||(g=t.xGo(_)))(M||_)}})();static \u0275cmp=t.VBU({type:_,selectors:[["wa-chat-message-prompt"]],standalone:!0,features:[t.Vt3,t.aNF],decls:10,vars:5,consts:[["container",""],[1,"bubble","certificate-prompt",3,"click"],["file","certificate.svg",3,"stretchToContainer"],[1,"content"],[1,"title"],[1,"sub-title"],["width","5px","height","10px","file","chevron-left.svg",1,"chevron-icon"],[3,"message","showName"]],template:function(p,M){if(1&p){const O=t.RV6();t.j41(0,"div",1,0),t.bIt("click",function(){return t.eBV(O),t.Njj(M.navigateToCertificates())}),t.nrm(2,"frontend-image",2),t.j41(3,"div",3)(4,"div",4),t.EFF(5,"Bescheinigung"),t.k0s(),t.j41(6,"div",5),t.EFF(7,"Selbst generieren"),t.k0s()(),t.nrm(8,"frontend-image",6),t.k0s(),t.nrm(9,"wa-chat-message-status",7)}2&p&&(t.HbH(M.message().whose),t.R7$(2),t.Y8G("stretchToContainer",!0),t.R7$(7),t.Y8G("message",M.message())("showName",!0))},dependencies:[o.U,h.h,l.X],styles:[".system-message-wrapper[_ngcontent-%COMP%]{display:flex}.bubble[_ngcontent-%COMP%]{--message-margin-s: 50px;--message-margin-m: 110px;position:relative;padding:6px 12px;margin:0;border-radius:var(--border-radius-xl);font-size:18px;line-height:24px}.bubble[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.bubble.visible[_ngcontent-%COMP%]{visibility:visible}.bubble[_ngcontent-%COMP%]:first-child{margin-top:16px}.bubble.system[_ngcontent-%COMP%]{display:flex;align-items:center;padding:4px 8px;margin:12px auto;background-color:var(--text-background-green);border-radius:20px;color:var(--success-darker);font-size:14px;gap:8px;line-height:22px;text-align:center}.bubble[_ngcontent-%COMP%]   .system-info-icon[_ngcontent-%COMP%]{display:inline-block;width:18px;min-width:18px;height:18px;color:var(--success-darker)}.bubble.simple-message[_ngcontent-%COMP%]{box-sizing:border-box;font-size:16px;line-height:22px;overflow-wrap:break-word;transition:box-shadow .2s ease-in-out;-ms-word-break:break-all;word-break:break-word;word-wrap:break-word}.bubble.simple-message.suggestion-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 8px color-mix(in srgb,var(--purple) 50%,transparent)}
3.bubble[_ngcontent-%COMP%]   .author-name[_ngcontent-%COMP%]{margin-bottom:0;font-size:16px;font-weight:700;line-height:24px}.bubble[_ngcontent-%COMP%]   .author-name_label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;background:var(--primary-02);border-radius:var(--border-radius-lg);color:var(--text)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-primary[_ngcontent-%COMP%]{color:var(--primary)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-success[_ngcontent-%COMP%]{color:var(--success)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-danger[_ngcontent-%COMP%]{color:var(--danger)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-info[_ngcontent-%COMP%]{color:var(--info)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-warning[_ngcontent-%COMP%]{color:var(--warning)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-highlight[_ngcontent-%COMP%]{color:var(--pink)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-yellow[_ngcontent-%COMP%]{color:#fc0}.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-right:0;margin-left:var(--message-margin-s);background-color:var(--primary);color:#fff}@media (min-width: 992px){.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-left:var(--message-margin-m)}}.bubble.me.failed[_ngcontent-%COMP%], .bubble.agent.failed[_ngcontent-%COMP%]{background-color:var(--red)}.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-s);margin-left:0;background-color:var(--sec-light-05);color:var(--sec-light-100)}@media (min-width: 992px){.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-m)}}.bubble[_ngcontent-%COMP%]   .message-time[_ngcontent-%COMP%]{font-size:11px;font-style:italic;line-height:15px;text-align:right}",".bubble.certificate-prompt[_ngcontent-%COMP%]{display:flex;align-items:center;padding:10px 12px;border:1px solid var(--sec-light-10);background:#fff;border-radius:17px;cursor:pointer;gap:12px}.bubble.certificate-prompt[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--sec-light-100);font-size:16px;font-weight:600;line-height:20px}.bubble.certificate-prompt[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{color:var(--sec-light-100);font-size:14px;font-weight:450;line-height:18px}.bubble.certificate-prompt[_ngcontent-%COMP%]   .chevron-icon[_ngcontent-%COMP%]{margin-left:16px;transform:rotate(180deg)}"],changeDetection:0})}return _})()},42929:($,x,n)=>{n.d(x,{j:()=>O});var t=n(61142),e=n(94485),o=n(58527),i=n(45768),l=n(18096),c=n(66990),h=n(52490),b=n(84975),_=n(6663),C=n(60494),g=n(17796),p=n(150),M=n(29197);let O=(()=>{class s extends M.V{thumbnail$=(0,i.br)(this.message).pipe((0,b.n)(u=>this.loadDocumentThumbnail(u.data.documentOwnerProfileId,u.data.documentId)),(0,_.T)(u=>"data:image/jpeg;base64,"+h.iI(new Uint8Array(u))),(0,C.W)(u=>(this.logService.info(`Error while retrieving thumbnail for file ${this.message().data.documentId} with error: ${JSON.stringify(u)}`),(0,g.of)(""))));window=(0,o.WQX)(c.jf);apiUrl=(0,o.WQX)(c.rA);appEnvironment=(0,o.WQX)(c.uH);appUrl=(0,o.WQX)(c.oO);http=(0,o.WQX)(e.Qq);openDocumentPreview(u,w){const D=this.isAdminApp()?`/crm/customers/${u}/documents/${w}`:`/document/${u}/${w}`;this.window.open(`${this.appUrl}${D}`,"_blank")}isAdminApp(){return this.appEnvironment.includes("admin-app")}loadDocumentThumbnail(u,w){return this.http.get(`${this.getCustomerServiceUrl()}/profiles/${u}/documents/${w}/thumbnail`,{responseType:"arraybuffer"})}getCustomerServiceUrl(){return`${this.apiUrl}/customer${this.isAdminApp()?"/customer-support":"/customer"}`}static \u0275fac=(()=>{let u;return function(D){return(u||(u=o.xGo(s)))(D||s)}})();static \u0275cmp=o.VBU({type:s,selectors:[["wa-chat-message-document"]],standalone:!0,features:[o.Vt3,o.aNF],decls:9,vars:15,consts:[["container",""],[1,"simple-message","bubble"],[1,"document-button",3,"click"],[3,"content","multiline","position"],[1,"document-thumbnail",3,"src"],[1,"document-message",3,"innerHTML"],[3,"message","showName"]],template:function(w,D){if(1&w){const N=o.RV6();o.j41(0,"div",1,0),o.SS7(2),o.nI1(3,"async"),o.j41(4,"div",2),o.bIt("click",function(){return o.eBV(N),o.Njj(D.openDocumentPreview(D.message().data.documentOwnerProfileId,D.message().data.documentId))}),o.j41(5,"frontend-tooltip",3),o.nrm(6,"img",4),o.k0s()(),o.nrm(7,"p",5),o.k0s(),o.nrm(8,"
3wa-chat-message-status",6)}if(2&w){o.HbH(D.message().whose),o.AVh("failed",D.message().status===D.messageStatus.Failed);const N=o.bMT(3,13,D.thumbnail$);o.R7$(4),o.AVh("placeholder",!N),o.R7$(),o.Y8G("content",N?D.message().data.documentTitle:null)("multiline",!1)("position","me"===D.message().whose?"top-left":"top-right"),o.R7$(),o.Y8G("src",N,o.B4B),o.R7$(),o.Y8G("innerHTML",D.content(),o.npT),o.R7$(),o.Y8G("message",D.message())("showName",D.showName())}},dependencies:[t.Jj,l.b,p.X],styles:[".system-message-wrapper[_ngcontent-%COMP%]{display:flex}.bubble[_ngcontent-%COMP%]{--message-margin-s: 50px;--message-margin-m: 110px;position:relative;padding:6px 12px;margin:0;border-radius:var(--border-radius-xl);font-size:18px;line-height:24px}.bubble[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.bubble.visible[_ngcontent-%COMP%]{visibility:visible}.bubble[_ngcontent-%COMP%]:first-child{margin-top:16px}.bubble.system[_ngcontent-%COMP%]{display:flex;align-items:center;padding:4px 8px;margin:12px auto;background-color:var(--text-background-green);border-radius:20px;color:var(--success-darker);font-size:14px;gap:8px;line-height:22px;text-align:center}.bubble[_ngcontent-%COMP%]   .system-info-icon[_ngcontent-%COMP%]{display:inline-block;width:18px;min-width:18px;height:18px;color:var(--success-darker)}.bubble.simple-message[_ngcontent-%COMP%]{box-sizing:border-box;font-size:16px;line-height:22px;overflow-wrap:break-word;transition:box-shadow .2s ease-in-out;-ms-word-break:break-all;word-break:break-word;word-wrap:break-word}.bubble.simple-message.suggestion-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 8px color-mix(in srgb,var(--purple) 50%,transparent)}
3.bubble[_ngcontent-%COMP%]   .author-name[_ngcontent-%COMP%]{margin-bottom:0;font-size:16px;font-weight:700;line-height:24px}.bubble[_ngcontent-%COMP%]   .author-name_label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;background:var(--primary-02);border-radius:var(--border-radius-lg);color:var(--text)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-primary[_ngcontent-%COMP%]{color:var(--primary)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-success[_ngcontent-%COMP%]{color:var(--success)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-danger[_ngcontent-%COMP%]{color:var(--danger)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-info[_ngcontent-%COMP%]{color:var(--info)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-warning[_ngcontent-%COMP%]{color:var(--warning)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-highlight[_ngcontent-%COMP%]{color:var(--pink)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-yellow[_ngcontent-%COMP%]{color:#fc0}.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-right:0;margin-left:var(--message-margin-s);background-color:var(--primary);color:#fff}@media (min-width: 992px){.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-left:var(--message-margin-m)}}.bubble.me.failed[_ngcontent-%COMP%], .bubble.agent.failed[_ngcontent-%COMP%]{background-color:var(--red)}.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-s);margin-left:0;background-color:var(--sec-light-05);color:var(--sec-light-100)}@media (min-width: 992px){.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-m)}}.bubble[_ngcontent-%COMP%]   .message-time[_ngcontent-%COMP%]{font-size:11px;font-style:italic;line-height:15px;text-align:right}",".document-button[_ngcontent-%COMP%]{position:relative;display:inline-block;padding:0;margin:6px 0 8px;cursor:pointer}.document-thumbnail[_ngcontent-%COMP%]{overflow:hidden;max-width:120px;max-height:120px;border-radius:var(--border-radius-lg)}.document-message[_ngcontent-%COMP%]{margin-bottom:0}.document-name[_ngcontent-%COMP%]{margin-bottom:4px}.placeholder[_ngcontent-%COMP%]{width:80px;height:120px;background-color:var(--white)}"],changeDetection:0})}return s})()},56157:($,x,n)=>{n.d(x,{o:()=>O});var t=n(61142),e=n(58527),o=n(24153),i=n(51335),l=n(150),c=n(29197),h=n(73466);const b=s=>["bubble","voucher",s];function _(s,y){if(1&s&&(e.j41(0,"div",5)(1,"div"),e.nrm(2,"frontend-image",6),e.k0s(),e.j41(3,"div",7)(4,"p",8),e.EFF(5,"eedoctors Gutschein Code"),e.k0s(),e.j41(6,"p",9),e.EFF(7),e.k0s()()()),2&s){const u=e.XpG();e.R7$(6),e.AVh("text-strike-through",!u.hasConfirmedConsultation),e.R7$(),e.SpI(" ",u.message().data.voucher," ")}}function C(s,y){1&s&&e.eu8(0)}function g(s,y){if(1&s&&(e.j41(0,"div",2),e.DNE(1,C,1,0,"ng-container",10),e.k0s()),2&s){e.XpG();const u=e.sdS(1);e.R7$(),e.Y8G("ngTemplateOutlet",u)}}function p(s,y){1&s&&e.eu8(0)}function M(s,y){if(1&s&&(e.j41(0,"div",3),e.DNE(1,p,1,0,"ng-container",10),e.k0s()),2&s){e.XpG();const u=e.sdS(1);e.R7$(),e.Y8G("ngTemplateOutlet",u)}}let O=(()=>{class s extends c.U{profileService=(0,e.WQX)(i.p);get hasConfirmedConsultation(){const u=this.profileService.getProfile();return!u||!!u.has_confirmed_consultation}static \u0275fac=(()=>{let u;return function(D){return(u||(u=e.xGo(s)))(D||s)}})();static \u0275cmp=e.VBU({type:s,selectors:[["wa-chat-message-eedoctors"]],standalone:!0,features:[e.Vt3,e.aNF],decls:7,vars:6,consts:[["voucher",""],["container",""],["t
3itle","Diesen Gutschein-Link kannst du an deinem Smartphone \xfcber die ottonova App nutzen."],["title","Vor Verwendung der Zugangscodes f\xfcr den Digitalen Arztbesuch bei eedoctors im Rahmen des Concierge Services von ottonova musst du zun\xe4chst die entsprechende Einwilligungserkl\xe4rung abgeben. Wir weisen darauf hin, dass die Verwendung der Gutscheincodes ohne Einwilligungserkl\xe4rung unzul\xe4ssig ist."],[3,"message"],[1,"eedoctors-voucher"],["file","eedoctors.svg","width","36px","height","36px"],[1,"voucher-content"],[1,"voucher-title"],[1,"voucher-code"],[4,"ngTemplateOutlet"]],template:function(w,D){1&w&&(e.DNE(0,_,8,3,"ng-template",null,0,e.C5r),e.j41(2,"div",null,1),e.DNE(4,g,2,1,"div",2)(5,M,2,1,"div",3),e.nrm(6,"wa-chat-message-status",4),e.k0s()),2&w&&(e.R7$(2),e.HbH(e.eq3(4,b,D.message().whose)),e.R7$(2),e.vxM(D.hasConfirmedConsultation?4:5),e.R7$(2),e.Y8G("message",D.message()))},dependencies:[t.T3,o.U,h.h,l.X],styles:[".system-message-wrapper[_ngcontent-%COMP%]{display:flex}.bubble[_ngcontent-%COMP%]{--message-margin-s: 50px;--message-margin-m: 110px;position:relative;padding:6px 12px;margin:0;border-radius:var(--border-radius-xl);font-size:18px;line-height:24px}.bubble[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.bubble.visible[_ngcontent-%COMP%]{visibility:visible}.bubble[_ngcontent-%COMP%]:first-child{margin-top:16px}.bubble.system[_ngcontent-%COMP%]{display:flex;align-items:center;padding:4px 8px;margin:12px auto;background-color:var(--text-background-green);border-radius:20px;color:var(--success-darker);font-size:14px;gap:8px;line-height:22px;text-align:center}.bubble[_ngcontent-%COMP%]   .system-info-icon[_ngcontent-%COMP%]{display:inline-block;width:18px;min-width:18px;height:18px;color:var(--success-darker)}.bubble.simple-message[_ngcontent-%COMP%]{box-sizing:border-box;font-size:16px;line-height:22px;overflow-wrap:break-word;transition:box-shadow .2s ease-in-out;-ms-word-break:break-all;word-break:break-word;word-wrap:break-word}.bubble.simple-message.suggestion-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 8px color-mix(in srgb,var(--purple) 50%,transparent)}
3.bubble[_ngcontent-%COMP%]   .author-name[_ngcontent-%COMP%]{margin-bottom:0;font-size:16px;font-weight:700;line-height:24px}.bubble[_ngcontent-%COMP%]   .author-name_label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;background:var(--primary-02);border-radius:var(--border-radius-lg);color:var(--text)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-primary[_ngcontent-%COMP%]{color:var(--primary)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-success[_ngcontent-%COMP%]{color:var(--success)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-danger[_ngcontent-%COMP%]{color:var(--danger)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-info[_ngcontent-%COMP%]{color:var(--info)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-warning[_ngcontent-%COMP%]{color:var(--warning)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-highlight[_ngcontent-%COMP%]{color:var(--pink)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-yellow[_ngcontent-%COMP%]{color:#fc0}.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-right:0;margin-left:var(--message-margin-s);background-color:var(--primary);color:#fff}@media (min-width: 992px){.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-left:var(--message-margin-m)}}.bubble.me.failed[_ngcontent-%COMP%], .bubble.agent.failed[_ngcontent-%COMP%]{background-color:var(--red)}.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-s);margin-left:0;background-color:var(--sec-light-05);color:var(--sec-light-100)}@media (min-width: 992px){.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-m)}}.bubble[_ngcontent-%COMP%]   .message-time[_ngcontent-%COMP%]{font-size:11px;font-style:italic;line-height:15px;text-align:right}",".bubble.voucher[_ngcontent-%COMP%]{border:1px solid var(--border-light);background-color:var(--white)}.bubble.voucher[_ngcontent-%COMP%]   .voucher-content[_ngcontent-%COMP%]{margin-left:8px}.bubble.voucher[_ngcontent-%COMP%]   .voucher-title[_ngcontent-%COMP%]{margin-bottom:0;color:var(--sec-light-40);cursor:default}.bubble.voucher[_ngcontent-%COMP%]   .voucher-code[_ngcontent-%COMP%]{margin-bottom:0;color:var(--sec-light-100);cursor:text;font-weight:700;letter-spacing:2px;text-transform:uppercase;word-break:break-all}.eedoctors-voucher[_ngcontent-%COMP%]{display:flex;align-items:center}"],changeDetection:0})}return s})()},52481:($,x,n)=>{n.d(x,{X:()=>U});var t=n(58527),e=n(46140),o=n(24153),i=n(51376),l=n(40058),c=n(48181),h=n(85279),b=n(29197),_=n(73466),C=n(63752);function g(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Geht gar nicht"),t.k0s())}function p(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Naja"),t.k0s())}function M(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Okay"),t.k0s())}function O(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Super"),t.k0s())}function s(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Perfekt"),t.k0s())}function y(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Bitte w\xe4hle eine Bewertung"),t.k0s())}function u(A,P){if(1&A){const m=t.RV6();t.j41(0,"button",8),t.bIt("click",function(){const E=t.eBV(m).$implicit,I=t.XpG(3);return t.Njj(I.selectAnswer(E))}),t.j41(1,"div",9),t.nrm(2,"frontend-image",10),t.k0s()()}if(2&A){const m=P.$implicit,k=t.XpG(3);t.AVh("active",k.answer===m),t.R7$(2),t.Y8G("file","rating-"+m+".png")("stretchToContainer",!0)}}function w(A,P){if(1&A&&(t.j41(0,"div",2),t.Z7z(1,u,3,4,"button",7,t.fX1),t.k0s()),2&A){const m=t.XpG(2);t.R7$(),t.Dyx(m.message().data.content)}}function D(A,P){if(1&A){const m=t.RV6();t.j41(0,"h1"),t.EFF(1,"Wie bewertest du die Konversation mit dem Concierge Service?"),t.k0s(),t.j41(2,"h2")(3,"div"),t.DNE(4,g,2,0,"div")(5,p,2,0,"div")(6,M,2,0,"div")(7,O,2,0,"div")(8,s,2,0,"div")(9,y,2,0,"div"),t.k0s()(),t.DNE(10,w,3,0,"div",2),t.j41(11,"div",3),t.EFF(12," Danke, dass du uns bewertest! So hilfst du uns, unseren Service kontinuierlich zu verbessern. "),t.k0s(),t.j41(13,"div",4)(14,"frontend-button",5),t.bIt("onClick",function(){t.eBV(m);const E=t.XpG();return t.Njj(E.pick())}),t.EFF(15," Bewertung abgeben "),t.k0s(),t.j41(16,"frontend-button",6),t.bIt("onClick",function(){t.eBV(m);const E=t.XpG();
3return t.Njj(E.close())}),t.EFF(17,"Nein Danke"),t.k0s()()}if(2&A){let m;const k=t.XpG();t.R7$(2),t.AVh("no-label",!k.answer),t.R7$(2),t.vxM(1===(m=k.answer)?4:2===m?5:3===m?6:4===m?7:5===m?8:9),t.R7$(6),t.vxM(k.message().data?10:-1),t.R7$(4),t.Y8G("wide",!0)("disabled",!k.answer),t.R7$(2),t.Y8G("size",k.componentSize.Sm)("link",!0)}}function N(A,P){1&A&&(t.j41(0,"h1"),t.EFF(1,"So wurde der Chat bewertet:"),t.k0s())}function Q(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Geht gar nicht"),t.k0s())}function J(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Naja"),t.k0s())}function G(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Okay"),t.k0s())}function L(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Super"),t.k0s())}function R(A,P){1&A&&(t.j41(0,"div"),t.EFF(1,"Perfekt"),t.k0s())}function Y(A,P){if(1&A&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&A){const m=t.XpG(3);t.R7$(),t.SpI(" ",null===m.message().data.rating?"Keine Bewertung abgegeben":"Bewertung ausstehend"," ")}}function X(A,P){if(1&A&&(t.j41(0,"button",12)(1,"div",9),t.nrm(2,"frontend-image",10),t.k0s()()),2&A){let m;const k=P.$implicit,E=t.XpG(4);t.AVh("active",(null==(m=E.message().data)?null:m.rating)===k),t.Y8G("disabled",E.isAgent),t.R7$(2),t.Y8G("file","rating-"+k+".png")("stretchToContainer",!0)}}function q(A,P){if(1&A&&(t.j41(0,"div",2),t.Z7z(1,X,3,5,"button",11,t.fX1),t.k0s()),2&A){const m=t.XpG(3);t.R7$(),t.Dyx(m.message().data.content)}}function re(A,P){if(1&A&&(t.DNE(0,N,2,0,"h1"),t.j41(1,"h2")(2,"div"),t.DNE(3,Q,2,0,"div")(4,J,2,0,"div")(5,G,2,0,"div")(6,L,2,0,"div")(7,R,2,0,"div")(8,Y,2,1,"div"),t.k0s()(),t.DNE(9,q,3,0,"div",2)),2&A){let m,k,E;const I=t.XpG(2);t.vxM(void 0!==(null==(m=I.message().data)?null:m.rating)?0:-1),t.R7$(),t.AVh("no-label",!(null!=(k=I.message().data)&&k.rating)),t.R7$(2),t.vxM(1===(E=I.message().data.rating)?3:2===E?4:3===E?5:4===E?6:5===E?7:8),t.R7$(6),t.vxM(I.message().data&&I.message().data.rating>=1?9:-1)}}function ce(A,P){1&A&&(t.j41(0,"i"),t.EFF(1,"Chat wurde bewertet"),t.k0s())}function de(A,P){if(1&A&&t.DNE(0,re,10,5)(1,ce,2,0,"i"),2&A){const m=t.XpG();t.vxM(m.isAgent?0:1)}}let U=(()=>{class A extends b.U{componentSize=i.H7o;conversationId=null;answer;isAgent=!1;chatService=(0,t.WQX)(c.T);constructor(){super(),this.isAgent=this.chatService.identity.type===h.ut.Agent}selectAnswer(m){this.answer=m}pick(){this.chatService.closeConversation(this.conversationId,this.answer,this.message().messageId).then(m=>this.store.dispatch(new l.iq(m)))}close(){this.chatService.closeConversation(this.conversationId,void 0,this.message().messageId).then(m=>this.store.dispatch(new l.iq(m)))}static \u0275fac=function(k){return new(k||A)};static \u0275cmp=t.VBU({type:A,selectors:[["wa-chat-message-rating"]],standalone:!0,features:[t.Vt3,t.aNF],decls:4,vars:1,consts:[["container",""],[1,"bubble","question"],[1,"rating-row"],[1,"description"],[1,"rate-buttons"],[1,"send-rating",3,"onClick","wide","disabled"],[3,"onClick","size","link"],[1,"rating-button",3,"active"],[1,"rating-button",3,"click"],[1,"rating-button-image"],["type","retina",3,"file","stretchToContainer"],[1,"rating-button",3,"active","disabled"],[1,"rating-button",3,"disabled"]],template:function(k,E){if(1&k&&(t.j41(0,"div",1,0),t.DNE(2,D,18,8)(3,de,2,1),t.k0s()),2&k){let I;t.R7$(2),t.vxM(E.isAgent||void 0!==(null==(I=E.message().data)?null:I.rating)?3:2)}},dependencies:[o.U,_.h,e.tm,C.Q],styles:[".system-message-wrapper[_ngcontent-%COMP%]{display:flex}.bubble[_ngcontent-%COMP%]{--message-margin-s: 50px;--message-margin-m: 110px;position:relative;padding:6px 12px;margin:0;border-radius:var(--border-radius-xl);font-size:18px;line-height:24px}.bubble[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.bubble.visible[_ngcontent-%COMP%]{visibility:visible}.bubble[_ngcontent-%COMP%]:first-child{margin-top:16px}.bubble.system[_ngcontent-%COMP%]{display:flex;align-items:center;padding:4px 8px;margin:12px auto;background-color:var(--text-background-green);border-radius:20px;color:var(--success-darker);font-size:14px;gap:8px;line-height:22px;text-align:center}.bubble[_ngcontent-%COMP%]   .system-info-icon[_ngcontent-%COMP%]{display:inline-block;width:18px;min-width:18px;height:18px;color:var(--success-darker)}.bubble.simple-message[_ngcontent-%COMP%]{box-sizing:border-box;font-size:16px;line-height:22px;overflow-wrap:break-word;
3transition:box-shadow .2s ease-in-out;-ms-word-break:break-all;word-break:break-word;word-wrap:break-word}.bubble.simple-message.suggestion-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 8px color-mix(in srgb,var(--purple) 50%,transparent)}.bubble[_ngcontent-%COMP%]   .author-name[_ngcontent-%COMP%]{margin-bottom:0;font-size:16px;font-weight:700;line-height:24px}.bubble[_ngcontent-%COMP%]   .author-name_label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;background:var(--primary-02);border-radius:var(--border-radius-lg);color:var(--text)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-primary[_ngcontent-%COMP%]{color:var(--primary)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-success[_ngcontent-%COMP%]{color:var(--success)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-danger[_ngcontent-%COMP%]{color:var(--danger)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-info[_ngcontent-%COMP%]{color:var(--info)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-warning[_ngcontent-%COMP%]{color:var(--warning)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-highlight[_ngcontent-%COMP%]{color:var(--pink)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-yellow[_ngcontent-%COMP%]{color:#fc0}.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-right:0;margin-left:var(--message-margin-s);background-color:var(--primary);color:#fff}@media (min-width: 992px){.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-left:var(--message-margin-m)}}.bubble.me.failed[_ngcontent-%COMP%], .bubble.agent.failed[_ngcontent-%COMP%]{background-color:var(--red)}.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-s);margin-left:0;background-color:var(--sec-light-05);color:var(--sec-light-100)}@media (min-width: 992px){.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-m)}}.bubble[_ngcontent-%COMP%]   .message-time[_ngcontent-%COMP%]{font-size:11px;font-style:italic;line-height:15px;text-align:right}",'[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.btn[_ngcontent-%COMP%]{--color: #fff;--background: var(--primary);--border-radius: var(--border-radius-sm);--focus-shadow: 0 0 0 4px rgba(0, 119, 255, .2);--active: var(--primary);display:inline-flex;justify-content:center;align-items:center;gap:4px;text-align:center;vertical-align:middle;touch-action:manipulation;position:relative;white-space:nowrap;border:none;padding:12px 24px;font-size:16px;line-height:24px;font-weight:700;border-radius:var(--border-radius);transition:color .2s ease-in-out,background .2s ease-in-out,opacity .2s ease-in-out,box-shadow .2s ease-in-out;
3box-shadow:var(--box-shadow-sm);transform:translateZ(0);background:var(--background);color:var(--color)}.btn.gold[_ngcontent-%COMP%]{--active: var(--satisfaction-strong)}.btn.green[_ngcontent-%COMP%], .btn.success[_ngcontent-%COMP%]{--active: var(--success)}.btn.expats[_ngcontent-%COMP%]{--active: var(--expats)}.btn.info[_ngcontent-%COMP%]{--active: var(--info)}.btn.warning[_ngcontent-%COMP%]{--active: var(--warning)}.btn.red[_ngcontent-%COMP%], .btn.danger[_ngcontent-%COMP%]{--active: var(--danger)}.btn.highlight[_ngcontent-%COMP%]{--active: var(--pink)}.btn[_ngcontent-%COMP%]:link, .btn[_ngcontent-%COMP%]:active, .btn[_ngcontent-%COMP%]:visited, .btn[_ngcontent-%COMP%]:focus{color:var(--color)}.btn[_ngcontent-%COMP%]:focus-visible{outline:3px solid var(--active);outline-offset:3px}.btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{display:inline-block;width:1rem;height:1rem;vertical-align:top;position:relative;transform:translateZ(0)}.btn.comprehensive[_ngcontent-%COMP%]{--background: var(--comprehensive);--color: #fff}.btn.first[_ngcontent-%COMP%]{--background: var(--first);--color: #fff}.btn.business[_ngcontent-%COMP%]{--background: var(--business);--color: #fff}.btn.economy[_ngcontent-%COMP%]{--background: var(--economy);--color: #fff}.btn.premium-economy[_ngcontent-%COMP%]{--background: var(--premium-economy);--color: #fff}.btn.civil[_ngcontent-%COMP%]{--background: var(--civil);--color: #fff}.btn.exclusive[_ngcontent-%COMP%]{--background: var(--exclusive);--color: #fff}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats);--color: #fff}.btn.dental[_ngcontent-%COMP%]{--background: var(--dental);--color: #fff}.btn.company[_ngcontent-%COMP%]{--background: var(--company);--color: #fff}.btn.dental-70[_ngcontent-%COMP%]{--background: var(--dental-70);--color: #fff}.btn.dental-85[_ngcontent-%COMP%]{--background: var(--dental-85);--color: #fff}.btn.clinic[_ngcontent-%COMP%]{--background: var(--clinic);--color: #fff}.btn.zweibett[_ngcontent-%COMP%]{--background: var(--zweibett);--color: #fff}.btn.einbett[_ngcontent-%COMP%]{--background: var(--einbett);--color: #fff}.btn.satisfaction[_ngcontent-%COMP%]{--background: var(--satisfaction);--color: #fff}.btn.study-free[_ngcontent-%COMP%]{--background: var(--study-free);--color: #fff}.btn.study-protect[_ngcontent-%COMP%]{--background: var(--study-protect);--color: #fff}.btn.option[_ngcontent-%COMP%]{--background: var(--option);--color: #fff}.btn.sm[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:6px 16px}.btn.sm[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.sm[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{width:.875rem;height:.875rem}.btn.lg[_ngcontent-%COMP%]{padding:16px 24px}.btn.xs[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:4px 8px;line-height:19px}.btn.center[_ngcontent-%COMP%]{display:table;margin-left:auto;margin-right:auto}.btn.block[_ngcontent-%COMP%]{display:block;width:100%}.btn[_ngcontent-%COMP%]:hover:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn.white[_ngcontent-%COMP%]{--background: #fff;--color: var(--primary)}.btn.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.white[_ngcontent-%COMP%]:active{--background: #fff;--color: var(--primary-darker)}.btn.white.outline[_ngcontent-%COMP%]{--color: #fff;--outline: #fff;--background: none}.btn.lightblue[_ngcontent-%COMP%]{--background: var(--primary-10);--color: var(--primary)}.btn.lightblue[_ngcontent-%COMP%]:hover:not(:disabled), .btn.lightblue[_ngcontent-%COMP%]:active{--background: var(--primary-20);--color: var(--primary-darker)}.btn.red[_ngcontent-%COMP%]{--background: var(--danger)}.btn.red[_ngcontent-%COMP%]:hover:not(:disabled), .btn.red[_ngcontent-%COMP%]:active{--background: var(--danger-darker)}.btn.green[_ngcontent-%COMP%]{--background: var(--success)}.btn.green[_ngcontent-%COMP%]:hover:not(:disabled), .btn.green[_ngcontent-%COMP%]:active{--background: var(--success-darker)}.btn.highlight[_ngcontent-%COMP%]{--background: var(--pink)}.btn.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.highlight[_ngcontent-%COMP%]:active{--background: var(--pink-darker)}.btn.gold[_ngcontent-%COMP%]{--background: var(--satisfaction-darker)}.btn.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.gold[_ngcontent-%COMP%]:active{--background: var(--satisfaction-strong)}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats)}.btn.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.expats[_ngcontent-%COMP%]:active{--background: var(--expats-darker)}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled){--shine-size: 250px;overflow:hidden}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled):after{content:"";width:var(--shine-size);height:100%;position:absolute;top:0;transform:skew(-20deg);background-image:linear-gradient(to right,#fff0,#fff6,#fff0);animation:_ngcontent-%COMP%_btnShine 5s linear infinite}@keyframes _ngcontent-%COMP%_btnShine{0%,25%{left:calc(-1 * var(--shine-size))}45%,to{left:100%}}.btn.link[_ngcontent-%COMP%]{--background: none;--color: var(--primary);box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled), .btn.link[_ngcontent-%COMP%]:active:not(:disabled){--background: none;box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled):not(.loader), .btn.link[_ngcontent-%COMP%]:active:not(:disabled):not(.loader){color:var(--primary-darker)}.btn.link[_ngcontent-%COMP%]:focus-visible{filter:var(--focus-shadow-text-primary)}.btn.link.noPadding[_ngcontent-%COMP%]{padding:0}.btn.link[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default;box-shadow:none}.btn.outline[_ngcontent-%COMP%]{--color: var(--background);--outline: var(--background);background:none;box-shadow:none}.btn.outline[_ngcontent-%COMP%]:before{content:"";top:0;left:0;width:100%;height:100%;position:absolute;z-index:0;border-radius:inherit;transition:opacity .3s ease,border .3s ease;opacity:.75;border:1px solid var(--outline)}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled), .btn.outline[_ngcontent-%COMP%]:active:not(:disabled){box-shadow:none}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled):before, .btn.outline[_ngcontent-%COMP%]:active:not(:disabled):before{opacity:1}.btn.outline.grey[_ngcontent-%COMP%]{--color: var(--sec-light-60);--outline: var(--sec-light-60)}
3.btn.outline.grey[_ngcontent-%COMP%]:hover{--outline: var(--border-dark)}.btn.outline.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker);--outline: var(--satisfaction-darker)}.btn.outline.gold[_ngcontent-%COMP%]:hover{--outline: var(--satisfaction-strong)}.btn.outline.expats[_ngcontent-%COMP%]{--color: var(--expats);--outline: var(--expats)}.btn.outline.expats[_ngcontent-%COMP%]:hover{--outline: var(--expats-darker)}.btn.outline.dashed[_ngcontent-%COMP%]:before{border-style:dashed}.btn.outline[_ngcontent-%COMP%]:disabled{--outline: var(--sec-light-20);--color: var(--sec-light-20)}.btn.icon-right[_ngcontent-%COMP%]{justify-content:space-between}.btn.icon-right[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.icon-right.svg[_ngcontent-%COMP%]{order:99}.btn.icon[_ngcontent-%COMP%]{--background: none;--color: var(--sec-light-60);--border-radius: var(--border-radius-sm);box-shadow:none;padding:5px;line-height:normal}.btn.icon[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05);box-shadow:none}.btn.icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:1.375rem;height:1.375rem;left:0;margin:0}.btn.icon.dark[_ngcontent-%COMP%]{--color: var(--sec-light-80)}.btn.icon.dark[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.dark[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.light[_ngcontent-%COMP%]{--color: var(--sec-light-40)}.btn.icon.light[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.light[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.primary[_ngcontent-%COMP%]{--color: var(--primary)}.btn.icon.primary[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.primary[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-05)}.btn.icon.success[_ngcontent-%COMP%]{--color: var(--success)}.btn.icon.success[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.success[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--success-light)}.btn.icon.danger[_ngcontent-%COMP%]{--color: var(--danger)}.btn.icon.danger[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.danger[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--danger-light)}.btn.icon.info[_ngcontent-%COMP%]{--color: var(--info)}.btn.icon.info[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.info[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--info-light)}.btn.icon.warning[_ngcontent-%COMP%]{--color: var(--warning)}.btn.icon.warning[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.warning[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--warning-light)}.btn.icon.highlight[_ngcontent-%COMP%]{--color: var(--pink)}.btn.icon.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.highlight[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--pink-light)}.btn.icon.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker)}.btn.icon.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.gold[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--satisfaction-pale)}.btn.icon.expats[_ngcontent-%COMP%]{--color: var(--expats-darker)}.btn.icon.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.expats[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--expats-pale)}.btn.icon[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default}.btn.icon[_ngcontent-%COMP%]:disabled:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:disabled:active:not(:disabled){--background: none;--color: var(--sec-light-20)}.btn.icon.white[_ngcontent-%COMP%]{--color: #fff}.btn.icon.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.white[_ngcontent-%COMP%]:active:not(:disabled){--color: #fff;--background: var(--sec-dark-10) }.btn.rounded[_ngcontent-%COMP%]{--border-radius: 50px}.btn[_ngcontent-%COMP%]:disabled{--color: #fff;--background: var(--sec-light-20);cursor:default;box-shadow:none}.btn.loader[_ngcontent-%COMP%]{--color: transparent}.btn.loader[_ngcontent-%COMP%]:disabled{--color: transparent;--color-spinner: var(--sec-light-20);--color-bg: var(--sec-light-05)}.btn.loader[_ngcontent-%COMP%]   svg.otto-loader--simple[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--validate[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--logo[_ngcontent-%COMP%]{position:absolute;
3left:0;width:100%}.btn.wide-on-mobile[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.btn.wide-on-mobile[_ngcontent-%COMP%]{width:auto}}.btn.flat[_ngcontent-%COMP%]{box-shadow:none}.bubble[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:space-between}.bubble.question[_ngcontent-%COMP%]{padding:25px;background-color:var(--white);color:var(--sec-light-100);word-break:normal}@media (min-width: 576px){.bubble.question[_ngcontent-%COMP%]{width:500px}}.bubble.question[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:40px;font-size:20px;line-height:27px;text-align:center}.bubble.question[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:8px;font-size:24px;font-weight:700;line-height:33px;text-align:center;text-transform:uppercase}.bubble.question[_ngcontent-%COMP%]   h2.no-label[_ngcontent-%COMP%]{color:var(--sec-light-20)}.bubble.question[_ngcontent-%COMP%]   .rating-row[_ngcontent-%COMP%]{max-width:240px;margin-bottom:16px;text-align:center}@media (min-width: 576px){.bubble.question[_ngcontent-%COMP%]   .rating-row[_ngcontent-%COMP%]{max-width:initial}}.bubble.question[_ngcontent-%COMP%]   .rating-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{position:relative;width:56px;height:56px;padding:0;border:none;border:2px solid var(--border-light);margin:0 10px 0 0;background:none;background-color:var(--primary-02);border-radius:30px;box-shadow:none;outline:none}.bubble.question[_ngcontent-%COMP%]   .rating-row[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{border:2px solid var(--border-primary)}.bubble.question[_ngcontent-%COMP%]   .rating-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:last-child{margin-right:0}.bubble.question[_ngcontent-%COMP%]   .rating-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .rating-button-image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-around}.bubble.question[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin-bottom:54px;color:var(--sec-light-40);font-size:15px;line-height:20px;text-align:center}@media (min-width: 576px){.bubble.question[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{width:380px}}.bubble.question[_ngcontent-%COMP%]   .rate-buttons[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;align-items:center}.bubble.question[_ngcontent-%COMP%]   .rate-buttons[_ngcontent-%COMP%]   .send-rating[_ngcontent-%COMP%]{align-self:stretch;margin-bottom:16px}'],changeDetection:0})}return A})()},74257:($,x,n)=>{n.d(x,{N:()=>h});var t=n(24153),e=n(150),o=n(29197),i=n(58527),l=n(73466);function c(b,_){1&b&&i.nrm(0,"frontend-image",3),2&b&&i.Y8G("stretchToContainer",!0)}let h=(()=>{class b extends o.V{static \u0275fac=(()=>{let C;return function(p){return(C||(C=i.xGo(b)))(p||b)}})();static \u0275cmp=i.VBU({type:b,selectors:[["wa-chat-message-text"]],standalone:!0,features:[i.Vt3,i.aNF],decls:6,vars:11,consts:[["container",""],["data-cy","message-bubble"],[1,"simple-message","bubble"],["type","svg","file","info-icon.svg",1,"system-info-icon",3,"stretchToContainer"],[1,"simple-message-text",3,"innerHTML"],[3,"message","showName"]],template:function(g,p){1&g&&(i.j41(0,"div",1,0)(2,"div",2),i.DNE(3,c,1,1,"frontend-image",3),i.nrm(4,"div",4),i.k0s()(),i.nrm(5,"wa-chat-message-status",5)),2&g&&(i.AVh("system-message-wrapper","system"===p.message().whose),i.R7$(2),i.HbH(p.message().whose),i.AVh("failed",p.message().status===p.messageStatus.Failed),i.BMQ("data-cy","message-bubble-"+p.message().whose),i.R7$(),i.vxM("system"===p.message().whose?3:-1),i.R7$(),i.Y8G("innerHTML",p.content(),i.npT),i.R7$(),i.Y8G("message",p.message())("showName",p.showName()))},dependencies:[t.U,l.h,e.X],styles:[".system-message-wrapper[_ngcontent-%COMP%]{display:flex}.bubble[_ngcontent-%COMP%]{--message-margin-s: 50px;--message-margin-m: 110px;position:relative;padding:6px 12px;margin:0;border-radius:var(--border-radius-xl);font-size:18px;line-height:24px}.bubble[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.bubble.visible[_ngcontent-%COMP%]{visibility:visible}.bubble[_ngcontent-%COMP%]:first-child{margin-top:16px}.bubble.system[_ngcontent-%COMP%]{display:flex;align-items:center;padding:4px 8px;margin:12px auto;background-color:var(--text-background-green);border-radius:20px;color:var(--success-darker);font-size:14px;gap:8px;line-height:22px;text-align:center}.bubble[_ngcontent-%COMP%]   .system-info-icon[_ngcontent-%COMP%]{display:inline-block;width:18px;min-width:18px;height:18px;color:var(--success-darker)}.bubble.simple-message[_ngcontent-%COMP%]{box-sizing:border-box;font-size:16px;line-height:22px;overflow-wrap:break-word;
3transition:box-shadow .2s ease-in-out;-ms-word-break:break-all;word-break:break-word;word-wrap:break-word}.bubble.simple-message.suggestion-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 8px color-mix(in srgb,var(--purple) 50%,transparent)}.bubble[_ngcontent-%COMP%]   .author-name[_ngcontent-%COMP%]{margin-bottom:0;font-size:16px;font-weight:700;line-height:24px}.bubble[_ngcontent-%COMP%]   .author-name_label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;background:var(--primary-02);border-radius:var(--border-radius-lg);color:var(--text)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-primary[_ngcontent-%COMP%]{color:var(--primary)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-success[_ngcontent-%COMP%]{color:var(--success)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-danger[_ngcontent-%COMP%]{color:var(--danger)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-info[_ngcontent-%COMP%]{color:var(--info)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-warning[_ngcontent-%COMP%]{color:var(--warning)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-highlight[_ngcontent-%COMP%]{color:var(--pink)}.bubble[_ngcontent-%COMP%]   .author-name_label.ag-yellow[_ngcontent-%COMP%]{color:#fc0}.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-right:0;margin-left:var(--message-margin-s);background-color:var(--primary);color:#fff}@media (min-width: 992px){.bubble.me[_ngcontent-%COMP%], .bubble.agent[_ngcontent-%COMP%]{margin-left:var(--message-margin-m)}}.bubble.me.failed[_ngcontent-%COMP%], .bubble.agent.failed[_ngcontent-%COMP%]{background-color:var(--red)}.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-s);margin-left:0;background-color:var(--sec-light-05);color:var(--sec-light-100)}@media (min-width: 992px){.bubble.you[_ngcontent-%COMP%]{margin-right:var(--message-margin-m)}}.bubble[_ngcontent-%COMP%]   .message-time[_ngcontent-%COMP%]{font-size:11px;font-style:italic;line-height:15px;text-align:right}"],changeDetection:0})}return b})()},10004:($,x,n)=>{n.d(x,{m:()=>l});var t=n(58527),e=n(46628);const o=()=>({showTodayAsASingleWord:!0});function i(c,h){if(1&c&&(t.j41(0,"div",0)(1,"div",1),t.EFF(2),t.nI1(3,"longDateFormat"),t.k0s()()),2&c){const b=t.XpG();t.R7$(2),t.SpI(" ",t.i5U(3,1,b.timestamp,t.lJ4(4,o))," ")}}let l=(()=>{class c{elementRef=(0,t.WQX)(t.aKT);timestamp;static \u0275fac=function(_){return new(_||c)};static \u0275cmp=t.VBU({type:c,selectors:[["wa-chat-pinned-date"]],inputs:{timestamp:"timestamp"},decls:1,vars:1,consts:[[1,"pinned-chat-date-container"],["data-cy","chat-pinned-date",1,"pinned-chat-date"]],template:function(_,C){1&_&&t.DNE(0,i,4,5,"div",0),2&_&&t.vxM(C.timestamp?0:-1)},dependencies:[e.U],styles:[".pinned-chat-date-container[_ngcontent-%COMP%]{display:none}@media (min-width: 768px){.pinned-chat-date-container[_ngcontent-%COMP%]{position:absolute;z-index:995;top:0;left:50%;display:inline-flex;padding:16px;transform:translate(-50%)}}.pinned-chat-date-container[_ngcontent-%COMP%]   .pinned-chat-date[_ngcontent-%COMP%]{padding:3px 8px 1px;background-color:var(--white);border-radius:20px;
3box-shadow:var(--box-shadow-xs);color:var(--sec-light-40);font-size:14px;font-weight:700;line-height:22px;text-align:center}"],changeDetection:0})}return c})()},16029:($,x,n)=>{n.d(x,{U:()=>i});var t=n(58527),e=n(56106),o=n(61163);let i=(()=>{class l{selectedRatingIndex=(0,t.vPA)(void 0);isSubmitting=(0,t.vPA)(!1);commentPlaceholder=(0,t.EWP)(()=>{const h=this.selectedRatingIndex(),b=void 0!==h?this.ratingButtons[h]?.value:3;return b?this.getPlaceholderForRating(b):""});isSubmitDisabled=(0,t.EWP)(()=>void 0===this.selectedRatingIndex()||this.isSubmitting());MAX_COMMENT_LENGTH=500;commentControl=new e.MJ("",[e.k0.maxLength(this.MAX_COMMENT_LENGTH)]);ratingButtons=(0,o.l)({1:"Viel schwieriger als erwartet",2:"Schwieriger als erwartet",3:"Wie erwartet",4:"Einfacher als erwartet",5:"Viel einfacher als erwartet"});handleRatingButtonClick(h,b){h.preventDefault(),this.selectedRatingIndex.set(b)}getFeedbackResult(){const h=this.selectedRatingIndex();return void 0!==h&&this.ratingButtons[h]?.value?{rating:this.ratingButtons[h].value,feedbackText:this.commentControl.value||""}:null}getPlaceholderForRating(h){return"function"==typeof this.feedbackPlaceholdersByRating?this.feedbackPlaceholdersByRating(h):this.feedbackPlaceholdersByRating[h]||""}static \u0275fac=function(b){return new(b||l)};static \u0275dir=t.FsC({type:l})}return l})()},61163:($,x,n)=>{function t(e){return Object.entries(e).map(([o,i])=>({value:+o,iconName:`face-${o}-off.svg`,selectedIconName:`face-${o}-on.svg`,text:i}))}n.d(x,{l:()=>t})},24855:($,x,n)=>{n.d(x,{n:()=>l});var t=n(58527),e=n(24153),o=n(23818),i=n(73466);let l=(()=>{class c{modalInstance=(0,t.WQX)(o.g7);closeModal(){this.modalInstance.dismiss()}static \u0275fac=function(_){return new(_||c)};static \u0275cmp=t.VBU({type:c,selectors:[["wa-download-mobile-apps-modal"]],standalone:!0,features:[t.aNF],decls:14,vars:4,consts:[["title","App-Download",3,"onDismissClick","titleCentered"],["modalBody","",1,"modal-qr-body"],[1,"modal-qr-description"],[1,"modal-links-description"],["type","png","file","download-apps-qr.png",1,"modal-qr",3,"stretchToContainer"],[1,"modal-links"],["href","https://apps.apple.com/de/app/ottonova/id1174272231","target","_blank","rel","noopener noreferrer",1,"ios-link"],["type","svg","file","app-store.svg",1,"store-icon",3,"stretchToContainer"],["href","https://play.google.com/store/apps/details?id=de.ottonova.mobile&hl=de&gl=US","target","_blank","rel","noopener noreferrer",1,"android-link"],["type","svg","file","google-play.svg",1,"store-icon",3,"stretchToContainer"]],template:function(_,C){1&_&&(t.j41(0,"frontend-default-modal",0),t.bIt("onDismissClick",function(){return C.closeModal()}),t.j41(1,"div",1)(2,"div",2),t.EFF(3," Scanne einfach den QR-Code mit deiner Smartphone-Kamera "),t.k0s(),t.j41(4,"div",3),t.EFF(5," Mit der ottonova App kannst du noch mehr Funktionen nutzen "),t.k0s(),t.nrm(6,"frontend-image",4),t.j41(7,"div",5)(8,"a",6),t.nrm(9,"frontend-image",7),t.EFF(10," App Store "),t.k0s(),t.j41(11,"a",8),t.nrm(12,"frontend-image",9),t.EFF(13," Google Play "),t.k0s()()()()),2&_&&(t.Y8G("titleCentered",!0),t.R7$(6),t.Y8G("stretchToContainer",!0),t.R7$(3),t.Y8G("stretchToContainer",!0),t.R7$(3),t.Y8G("stretchToContainer",!0))},dependencies:[o.o,e.U,i.h],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.modal-links-description[_ngcontent-%COMP%]{margin:0 auto 20px}@media (min-width: 576px){.modal-links-description[_ngcontent-%COMP%]{display:none}}.modal-qr[_ngcontent-%COMP%]{display:none}@media (min-width: 576px){.modal-qr[_ngcontent-%COMP%]{display:inline-flex;width:240px;height:240px;margin-bottom:32px}}.modal-qr-body[_ngcontent-%COMP%]{margin-bottom:20px;text-align:center}.modal-qr-description[_ngcontent-%COMP%]{display:none}@media (min-width: 576px){.modal-qr-description[_ngcontent-%COMP%]{display:block;margin:0 auto 28px}}.modal-links[_ngcontent-%COMP%]{font-size:14px}.ios-link[_ngcontent-%COMP%]{margin-right:16px}.ios-link[_ngcontent-%COMP%], .android-link[_ngcontent-%COMP%]{color:var(--primary);transition:all .2s ease-in-out}.ios-link[_ngcontent-%COMP%]:hover, .android-link[_ngcontent-%COMP%]:hover{color:var(--primary-darker);text-decoration:none}.store-icon[_ngcontent-%COMP%]{display:inline-block;width:21px;height:21px;transform:translateY(-2px);vertical-align:middle}"]})}return c})()},82015:($,x,n)=>{n.d(x,{u:()=>_});var t=n(46140),e=n(24153),o=n(58527),i=n(63752),l=n(73466);function c(C,g){1&C&&o.eu8(0)}function h(C,g){if(1&C&&o.DNE(0,c,1,0,"ng-container",5),2&C){const p=o.XpG();o.Y8G("ngTemplateOutlet",p.messageTemplate)}}function b(C,g){if(1&C){const p=o.RV6();o.j41(0,"div",4)(1,"frontend-button",6),o.bIt("click",function(){o.eBV(p);const O=o.XpG();return o.Njj(O.onButtonClicked())}),o.EFF(2),o.k0s()()}if(2&C){const p=o.XpG();o.R7$(),o.Y8G("rounded",!0),o.R7$(),o.SpI(" ",p.buttonText," ")}}let _=(()=>{class C{message;iconName;isEmptyActionEnabled;buttonText;buttonClick;messageTemplate;onButtonClicked(){this.buttonClick?.()}static \u0275fac=function(M){return new(M||C)};static \u0275cmp=o.VBU({type:C,selectors:[["wa-empty-screen-placeholder"]],inputs:{message:"message",iconName:"iconName",isEmptyActionEnabled:"isEmptyActionEnabled",buttonText:"buttonText",buttonClick:"buttonClick",messageTemplate:"messageTemplate"},standalone:!0,features:[o.aNF],decls:7,vars:5,consts:[["data-cy","empty-screen-placeholder",1,"empty-screen-placeholder"],[1,"empty-screen-placeholder-icon"],["type","svg",3,"file","stretchToContainer"],[1,"empty-screen-placeholder-message"],[1,"empty-screen-placeholder-action"],[4,"ngTemplateOutlet"],["data-cy","start-new-chat-empty",1,"empty-screen-placeholder-btn",3,"click","rounded"]],template:function(M,O){1&M&&(o.j41(0,"div",0)(1,"div",1),o.nrm(2,"frontend-image",2),o.k0s(),o.j41(3,"div",3),o.EFF(4),o.DNE(5,h,1,1,"ng-container"),o.k0s(),o.DNE(6,b,3,2,"div",4),o.k0s()),2&M&&(o.R7$(2),o.Y8G("file",O.iconName)("stretchToContainer",!0),o.R7$(2),o.SpI(" ",O.message," "),o.R7$(),o.vxM(O.messageTemplate?5:-1),o.R7$(),o.vxM(O.isEmptyActionEnabled?6:-1))},dependencies:[t.tm,i.Q,e.U,l.h],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.empty-screen-placeholder[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;font-family:figtree,avenir,arial,sans-serif}.empty-screen-placeholder-icon[_ngcontent-%COMP%]{width:120px;height:90px;margin-bottom:16px}.empty-screen-placeholder-message[_ngcontent-%COMP%]{color:var(--text);font-size:13px;font-weight:500;line-height:19px;text-align:center}@media (min-width: 576px){.empty-screen-placeholder-message[_ngcontent-%COMP%]{font-size:14px;line-height:20px}}.empty-screen-placeholder-btn[_ngcontent-%COMP%]{display:block;margin-top:31px}"]})}return C})()},54378:($,x,n)=>{n.d(x,{A:()=>p});var t=n(58527),e=n(56106),o=n(24153),i=n(23818),l=n(53683),c=n(16029);const h=M=>{switch(M){case 1:case 2:return"Was k\xf6nnen wir besser machen?";case 3:return"Bitte erz\xe4hle uns, was wir besser machen k\xf6nnen. Damit hilfst du uns den Einreichungsprozess zu optimieren und zuk\xfcnftig R\xfcckfragen hierzu zu reduzieren.";case 4:case 5:return"Was k\xf6nnen wir noch verbessern?"}};var b=n(73466),_=n(75092);function C(M,O){if(1&M&&t.EFF(0),2&M){let s;const y=t.XpG();t.SpI(" ",null==(s=y.ratingButtons[y.selectedRatingIndex()])?null:s.text," ")}}function g(M,O){if(1&M){const s=t.RV6();t.j41(0,"button",9),t.bIt("click",function(u){const w=t.eBV(s).$index,D=t.XpG();return t.Njj(D.handleRatingButtonClick(u,w))}),t.nrm(1,"frontend-image",10),t.k0s()}if(2&M){const s=O.$implicit,y=O.$index,u=t.XpG();t.R7$(),t.Y8G("file",y===u.selectedRatingIndex()?s.selectedIconName:s.iconName)("stretchToContainer",!0)}}let p=(()=>{class M extends c.U{data=(0,t.WQX)(i.e5);feedbackPlaceholdersByRating;modalInstance=(0,t.WQX)(i.g7);ngOnInit(){this.feedbackPlaceholdersByRating=this.data.textareaPlaceholders||h}dismissModal(){this.modalInstance.dismiss()}handleSuccessButtonClick(){const s=this.getFeedbackResult();s&&this.modalInstance.close(s)}static \u0275fac=(()=>{let s;return function(u){return(s||(s=t.xGo(M)))(u||M)}})();static \u0275cmp=t.VBU({type:M,selectors:[["wa-feedback-modal"]],standalone:!0,features:[t.Vt3,t.aNF],decls:16,vars:14,consts:[[3,"onSubmitClick","onDismissClick","title","titleCentered","submitButtonText","submitDisabled"],["modalBody","",1,"feedback-modal"],[1,"feedback-modal-subtitle"],[1,"feedback-modal-rating"],[1,"feedback-modal-rating-title"],[1,"feedback-modal-rating-button"],[1,"feedback-modal-textarea"],[3,"formControl","rows","placeholder","maxLength"],[1,"feedback-modal-textarea-symbols"],[1,"feedback-modal-rating-button",3,"click"],["type","svg",1,"feedback-modal-rating-image",3,"file","stretchToContainer"]],template:function(y,u){if(1&y){const w=t.RV6();
3t.SS7(0),t.j41(1,"frontend-default-modal",0),t.bIt("onSubmitClick",function(){return t.eBV(w),t.Njj(u.handleSuccessButtonClick())})("onDismissClick",function(){return t.eBV(w),t.Njj(u.dismissModal())}),t.j41(2,"div",1)(3,"p",2),t.EFF(4),t.k0s(),t.j41(5,"div",3)(6,"div",4),t.DNE(7,C,1,1),t.k0s(),t.Z7z(8,g,2,2,"button",5,t.fX1),t.k0s(),t.j41(10,"form"),t.SS7(11),t.j41(12,"div",6),t.nrm(13,"frontend-textarea",7),t.j41(14,"div",8),t.EFF(15),t.k0s()()()()()}if(2&y){let w;const D=void 0!==u.selectedRatingIndex();t.R7$(),t.Y8G("title",u.data.title)("titleCentered",!0)("submitButtonText",u.data.successButtonText)("submitDisabled",!D),t.R7$(3),t.JRh(u.data.subtitle),t.R7$(3),t.vxM(D?7:-1),t.R7$(),t.Dyx(u.ratingButtons);const N=null!==(w=u.commentControl.value)&&void 0!==w?w:"";t.R7$(5),t.Y8G("formControl",u.commentControl)("rows",5)("placeholder",u.commentPlaceholder())("maxLength",u.MAX_COMMENT_LENGTH),t.R7$(),t.AVh("feedback-modal-textarea-symbols-error",N.length>u.MAX_COMMENT_LENGTH),t.R7$(),t.Lme(" ",N.length," / ",u.MAX_COMMENT_LENGTH," ")}},dependencies:[i.o,o.U,b.h,e.YN,e.qT,e.BC,e.cb,e.cV,e.X1,e.l_,l.N,_.Q],styles:[".feedback-modal[_ngcontent-%COMP%]{margin-top:-12px;text-align:center}.feedback-modal-subtitle[_ngcontent-%COMP%]{max-width:340px;margin:0 auto 24px;font-size:16px;line-height:20px}.feedback-modal-rating[_ngcontent-%COMP%]{margin-bottom:32px}.feedback-modal-rating-title[_ngcontent-%COMP%]{min-height:20px;margin-bottom:20px;color:var(--black);font-size:14px;font-weight:700;line-height:20px}.feedback-modal-rating-button[_ngcontent-%COMP%]{display:inline-block;width:56px;height:56px;border:none;margin:0 12px;background:none;outline:none}.feedback-modal-textarea-symbols[_ngcontent-%COMP%]{font-size:12px;font-weight:500;text-align:left}.feedback-modal-textarea-symbols-error[_ngcontent-%COMP%]{color:var(--danger)}"]})}return M})()},74351:($,x,n)=>{n.d(x,{E:()=>h});var t=n(58527),e=n(61177),o=n(52713),i=n(17796),l=n(16920),c=n(99361);const h=b=>{const _=(0,t.WQX)(o.il),C=(0,t.WQX)(e.n$),g=b.paramMap.get("profileId"),p=C.getItem(l.c.tokenTitles.currentProfile);return g&&g!==p&&_.dispatch(new c.$s(g)),(0,i.of)(!0)}},95254:($,x,n)=>{n.d(x,{Q:()=>g});var t=n(61142),e=n(58527),o=n(65377),i=n(24153),l=n(52713),c=n(77392),h=n(58468),b=n(3067),_=n(35888),C=n(73466);let g=(()=>{class p{onAction=new e.bkB;unreadDocumentsCount$;unreadChatMessagesCount$;location=(0,e.WQX)(t.aZ);webAppStore=(0,e.WQX)(l.il);documentStore=(0,e.WQX)(l.il);component$=new c.B;ngOnInit(){this.unreadDocumentsCount$=this.documentStore.select(b.NA).pipe((0,h.Q)(this.component$)),this.unreadChatMessagesCount$=this.webAppStore.select(_.NP).pipe((0,h.Q)(this.component$))}get path(){return this.location.path()}actionExecuted(){window.scrollTo(0,0),this.onAction.emit(!0)}ngOnDestroy(){this.component$.next(),this.component$.complete()}static \u0275fac=function(s){return new(s||p)};static \u0275cmp=e.VBU({type:p,selectors:[["wa-nav-bar-main-menu"]],outputs:{onAction:"onAction"},standalone:!0,features:[e.aNF],decls:24,vars:26,consts:[["isTimelineActive","routerLinkActive"],["isChatActive","routerLinkActive"],["isDocumentsActive","routerLinkActive"],[1,"navbar-nav",3,"click"],["routerLink","/timeline","routerLinkActive","","data-cy","timeline-tab",1,"nav-item"],[1,"navbar-icon",3,"file","stretchToContainer"],["title","Deine Ereignisse",1,"nav-link"],["routerLink","/chat","routerLinkActive","",1,"nav-item"],["title","Dein Concierge Service",1,"nav-link"],["routerLink","/document","routerLinkActive","",1,"nav-item"],["title","Deine Dokumente",1,"nav-link"],[1,"nav-item","mobile-only"],["href","https://www.ottonova.de/impressum","target","_blank",1,"nav-link"],["href","https://www.ottonova.de/datenschutz","target","_blank",1,"nav-link"]],template:function(s,y){if(1&s){const u=e.RV6();e.j41(0,"ul",3),e.bIt("click",function(){return e.eBV(u),e.Njj(y.actionExecuted())}),e.j41(1,"li",4,0),e.nrm(3,"frontend-image",5),e.j41(4,"a",6),e.EFF(5," Ereignisse "),e.k0s()(),e.j41(6,"li",7,1),e.nI1(8,"async"),e.nrm(9,"frontend-image",5),e.j41(10,"a",8),e.EFF(11," Concierge "),e.k0s()(),e.j41(12,"li",9,2),e.nI1(14,"async"),e.nrm(15,"frontend-image",5),e.j41(16,"a",10),e.EFF(17," Dokumente "),e.k0s()(),e.j41(18,"li",11)(19,"a",12),e.EFF(20," Impressum "),e.k0s()(),e.j41(21,"li",11)(22,"a",13),e.EFF(23," Datenschutz "),e.k0s()()()}if(2&s){const u=e.sdS(2),w=e.sdS(7),D=e.sdS(13);e.R7$(3),e.Y8G("file","header-timeline-"+(u.isActive?"active":"inactive")+".svg")("stretchToContainer",!0),e.R7$(),e.AVh("active",u.isActive),e.R7$(2),e.AVh("has-unread-indicator",e.bMT(8,22,y.unreadChatMessagesCount$)>0),e.R7$(3),e.Y8G("file","header-concierge-"+(w.isActive?"active":"inactive")+".svg")("stretchToContainer",!0),e.R7$(),e.AVh("active",w.isActive),e.R7$(2),e.AVh("has-unread-indicator",e.bMT(14,24,y.unreadDocumentsCount$)>0),e.R7$(3),e.Y8G("file","header-documents-"+(D.isActive?"active":"inactive")+".svg")("stretchToContainer",!0),e.R7$(),e.AVh("active",D.isActive),e.R7$(3),e.BMQ("data-category","sign-up-other")("data-action",y.path)("data-label","imprint"),e.R7$(3),e.BMQ("data-category","sign-up-other")("data-action",y.path)("data-label","data-protection")}},dependencies:[o.Wk,o.wQ,i.U,C.h,t.Jj],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.has-unread-indicator[_ngcontent-%COMP%]:before{top:12px;left:28px}@media (min-width: 768px){.has-unread-indicator[_ngcontent-%COMP%]:before{top:-4px;left:17px}}@media (min-width: 992px){.has-unread-indicator[_ngcontent-%COMP%]:before{top:2px}}.navbar-nav[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0;list-style:none}@media (min-width: 768px){.navbar-nav[_ngcontent-%COMP%]{flex-direction:row;padding-bottom:0;gap:50px}}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{display:flex;align-items:center;padding-left:10px;border-radius:5px}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:hover{background-color:var(--sec-light-05)}@media (min-width: 768px){.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:hover{background-color:transparent}}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:nth-last-child(3){margin-right:0}.navbar-nav[_ngcontent-%COMP%]   .nav-item.mobile-only[_ngcontent-%COMP%]{display:block}.navbar-nav[_ngcontent-%COMP%]   .nav-item.mobile-only[_ngcontent-%COMP%]:first-child{margin-top:.5rem}@media (min-width: 768px){.navbar-nav[_ngcontent-%COMP%]   .nav-item.mobile-only[_ngcontent-%COMP%]{display:none}}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .navbar-icon[_ngcontent-%COMP%]{margin-right:12px}@media (min-width: 768px){.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .navbar-icon[_ngcontent-%COMP%]{margin-right:0}}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{display:block;padding:12px 0 8px;color:var(--sec-light-100)}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:var(--primary)}@media (min-width: 768px){.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{padding:8px;color:var(--sec-light-40)}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:var(--primary)}}@media (min-width: 768px){.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{padding-left:0;border-radius:0}}"]})}return p})()},48185:($,x,n)=>{n.d(x,{M:()=>P});var t=n(61142),e=n(58527),o=n(65377),i=n(59643),l=n(27555),c=n(24153),h=n(66935),b=n(61177),_=n(52713),C=n(77392),g=n(85687),p=n(58468),M=n(48219),O=n(99361),s=n(35888),y=n(95254),u=n(67362),w=n(12686),D=n(73466);const N=[[["nav"]],[["primary"]],[["secondary"]]],Q=["nav","primary","secondary"];function J(m,k){if(1&m){const E=e.RV6();e.j41(0,"frontend-image",5),e.bIt("click",function(){e.eBV(E);const z=e.XpG();return e.Njj(z.close())}),e.k0s()}}function G(m,k){if(1&m){const E=e.RV6();e.j41(0,"div",6),e.bIt("click",function(){e.eBV(E);const z=e.XpG();return e.Njj(z.close())}),e.j41(1,"span"),e.EFF(2,"\xd7"),e.k0s()()}}function L(m,k){1&m&&(e.j41(0,"div",7),e.SdG(1,1),e.k0s(),e.j41(2,"div",8),e.SdG(3,2),e.k0s())}let R=(()=>{class m{theme="default";action="close";sidenavOpened=!1;component$=new C.B;navigationService=(0,e.WQX)(w.T);ngOnInit(){this.navigationService.events.pipe((0,p.Q)(this.component$)).subscribe(E=>this.sidenavOpened=E)}ngOnDestroy(){this.component$.next(),this.component$.complete()}open(){this.sidenavOpened=!0}close(){this.sidenavOpened=!1}preventScroll(E){E.preventDefault()}onResize(){this.close()}static \u0275fac=function(I){return new(I||m)};static \u0275cmp=e.VBU({type:m,selectors:[["frontend-navigation"]],hostBindings:function(I,z){1&I&&e.bIt("resize",function(){return z.onResize()},!1,e.tSv)},inputs:{theme:"theme",action:"action"},features:[e.Jv_([w.T])],ngContentSelectors:Q,decls:7,vars:7,consts:[["data-cy","nav-sidebar-header",1,"sidenav-header"],[1,"sidenav",3,"ngClass"],["file","chevron-left.svg",1,"back"],["aria-label","Schlie\xdfen",1,"close"],[1,"sidenav-overlay",3,"click","touchmove","mousewheel"],["file","chevron-left.svg",1,"back",3,"click"],["aria-label","Schlie\xdfen",1,"close",3,"click"],[1,"primary"],[1,"secondary"]],template:function(I,z){1&I&&(e.NAR(N),e.j41(0,"div",0),e.SdG(1),e.k0s(),e.j41(2,"div",1),e.DNE(3,J,1,0,"frontend-image",2)(4,G,3,0,"div",3)(5,L,4,0),e.k0s(),e.j41(6,"div",4),e.bIt("click",function(){return z.close()})("touchmove",function(ae){return z.preventScroll(ae)})("mousewheel",function(ae){return z.preventScroll(ae)}),e.k0s()),2&I&&(e.R7$(2),e.AVh("opened",z.sidenavOpened),e.Y8G("ngClass",z.theme),e.R7$(),e.vxM("back"===z.action?3:4),e.R7$(2),e.vxM(z.sidenavOpened?5:-1),e.R7$(),e.AVh("opened",z.sidenavOpened))},dependencies:[t.YU,D.h],styles:[":root,:host{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast] *{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.sidenav-header{box-sizing:border-box;font-size:16px;font-weight:400;line-height:24px;text-align:left}.sidenav-header .navbar{z-index:998;display:flex;height:64px;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 16px;background-attachment:scroll;background-clip:border-box;background-color:var(--white);
3box-shadow:var(--box-shadow-xs);gap:16px}.sidenav-header .navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.sidenav-header .fixed-top{position:fixed;top:0;right:0;left:0}.sidenav-header .navbar-nav{display:flex;height:64px;flex-direction:row;align-items:center;padding-left:0;margin-top:0;margin-bottom:0;gap:5px;list-style-type:none}@media (min-width: 1800px){.sidenav-header .navbar-nav{gap:30px}}.sidenav-header .navbar-nav .nav-item{display:flex}.sidenav-header .navbar-nav .nav-item.active .nav-link,.sidenav-header .navbar-nav .nav-item:hover .nav-link{color:var(--primary)}.sidenav-header .navbar-nav .nav-item .nav-link{display:block;padding:8px;color:var(--sec-light-40);font-size:16px;font-weight:700;text-decoration-line:none;transition:all .25s ease 0s}.sidenav{position:fixed;z-index:1016;top:0;right:0;bottom:0;display:flex;width:290px;flex-direction:column;align-items:flex-start;padding:40px 30px;background:var(--white);overflow-y:scroll;transform:translate(100%);transition:transform .3s ease}.sidenav.opened{box-shadow:var(--box-sha
3dow-sm);transform:translate(0)}.sidenav .close{position:absolute;top:14px;right:20px;width:30px;color:var(--sec-light-60);cursor:pointer;font-size:2rem;opacity:.5;text-align:center}.sidenav .close:hover{opacity:.75}.sidenav .primary{display:flex;height:100%;margin:30px 0 auto}.sidenav .primary primary{display:flex;flex:1;flex-direction:column}.sidenav .secondary{width:100%}.sidenav primary ul.navbar-nav a.nav-link frontend-image,.sidenav secondary ul.navbar-nav a.nav-link frontend-image{margin:0 8px 0 0}.sidenav primary ul.navbar-nav li.nav-item.active a.nav-link,.sidenav secondary ul.navbar-nav li.nav-item.active a.nav-link{color:var(--primary)}.sidenav primary ul.navbar-nav li.nav-item.button,.sidenav secondary ul.navbar-nav li.nav-item.button{padding:2px 30px;margin:15px 0 0;background:var(--primary);border-radius:4px;cursor:pointer;text-align:center;transition:all .25s ease 0s}.sidenav primary ul.navbar-nav li.nav-item.button:hover,.sidenav secondary ul.navbar-nav li.nav-item.button:hover{background:var(--primary-darker)}.sidenav primary ul.navbar-nav li.nav-item.button a,.sidenav secondary ul.navbar-nav li.nav-item.button a{color:var(--white);font-size:16px;line-height:26px}.sidenav primary ul.navbar-nav{height:100%;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:20px}.sidenav primary ul.navbar-nav a.nav-link{color:var(--primary);font-size:20px;font-weight:600}.sidenav primary ul.navbar-nav a.nav-link:hover{color:var(--primary-darker)}.sidenav secondary ul.navbar-nav a.nav-link{color:var(--sec-light-40);font-size:16px;font-weight:700}.sidenav secondary ul.navbar-nav a.nav-link:hover{color:var(--sec-light-60)}.sidenav.quote-details{width:375px;padding:20px;background:var(--sec-light-02)}@media (max-width: 767px){.sidenav.quote-details{width:100%}}.sidenav.quote-details .primary{width:100%;margin:0}.sidenav.quote-details .back{position:absolute;top:17px;cursor:pointer}.sidenav-overlay{position:fixed;z-index:1015;inset:0;background:var(--overlay-light);opacity:0;transition:all .1s ease;visibility:hidden}.sidenav-overlay.opened{opacity:1;visibility:visible}\n"],encapsulation:2})}return m})();const Y=()=>({sidebarConnected:!1}),X=()=>({sidebarConnected:!0}),q=()=>[];function re(m,k){1&m&&e.eu8(0)}function ce(m,k){1&m&&e.eu8(0)}function de(m,k){if(1&m){const E=e.RV6();e.j41(0,"wa-nav-bar-profile-menu",11),e.nI1(1,"async"),e.bIt("onAction",function(){e.eBV(E),e.XpG(2);const z=e.sdS(1);return e.Njj(z.close())}),e.k0s()}if(2&m){const E=e.XpG().sidebarConnected,I=e.XpG(2);e.AVh("sidebar-connected",E),e.Y8G("sidebarConnected",E)("currentProfile",I.currentProfile)("profiles",e.bMT(1,5,I.profiles$)||e.lJ4(7,q))}}function U(m,k){if(1&m&&e.DNE(0,de,2,8,"wa-nav-bar-profile-menu",10),2&m){const E=e.XpG(2);e.vxM(E.currentProfile?0:-1)}}function A(m,k){if(1&m){const E=e.RV6();e.j41(0,"frontend-navigation",null,0)(2,"nav",2)(3,"a",3),e.nrm(4,"frontend-image",4),e.k0s(),e.j41(5,"div",5)(6,"frontend-icon-button",6),e.bIt("onClick",function(){e.eBV(E);const z=e.sdS(1);return e.Njj(z.open())}),e.k0s()(),e.j41(7,"wa-nav-bar-main-menu",7),e.bIt("onAction",function(){e.eBV(E);const z=e.sdS(1);return e.Njj(z.close())}),e.k0s(),e.DNE(8,re,1,0,"ng-container",8),e.k0s(),e.j41(9,"primary")(10,"wa-nav-bar-main-menu",9),e.bIt("onAction",function(){e.eBV(E);const z=e.sdS(1);return e.Njj(z.close())}),e.k0s()(),e.j41(11,"secondary"),e.DNE(12,ce,1,0,"ng-container",8),e.k0s()(),e.DNE(13,U,1,1,"ng-template",null,1,e.C5r)}if(2&m){const E=e.sdS(14);e.R7$(4),e.Y8G("stretchToContainer",!0),e.R7$(2),e.Y8G("height",32)("width",32),e.R7$(2),e.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",e.lJ4(7,Y)),e.R7$(4),e.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",e.lJ4(8,X))}}let P=(()=>{class m{currentProfile;profiles$;store=(0,e.WQX)(_.il);documentService=(0,e.WQX)(M.D);authService=(0,e.WQX)(i.x6);tokenService=(0,e.WQX)(b.By);component$=new C.B;ngOnInit(){const E=this.tokenService.retrieveAccessToken();if(E){const I=this.authService.getUserIdFromAccessToken(E);I&&this.store.dispatch(new O.RZ({accountId:I}))}this.profiles$=this.store.select(s.r7).pipe((0,g.p)(Boolean)),this.store.select(s.oy).pipe((0,g.p)(Boolean),(0,p.Q)(this.component$)).subscribe(I=>{this.currentProfile=I,this.documentService.loadUnreadDocumentsCount(I.profile_id)})}ngOnDestroy(){this.component$.next(),this.component$.complete()}static \u0275fac=function(I){return new(I||m)};static \u0275cmp=e.VBU({type:m,selectors:[["wa-nav-bar"]],standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["sidenav",""],["profileMenu",""],[1,"navbar","fixed-top"],["routerLink","/",1,"navbar-brand"],["file","logo-on.svg",3,"stretchToContainer"],[1,"navbar-toggler"],["icon","burger.svg",3,"onClick","height","width"],[1,"main-menu",3,"onAction"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"onAction"],[1,"profile-menu",3,"sidebar-connected","sidebarConnected","currentProfile","profiles"],[1,"profile-menu",3,"onAction","sidebarConnected","currentProfile","profiles"]],template:function(I,z){1&I&&e.DNE(0,A,15,9),2&I&&e.vxM(z.currentProfile?0:-1)},dependencies:[h.f,R,o.Wk,c.U,D.h,l.xB,y.Q,t.T3,u.W,t.Jj],styles:[".main-menu[_ngcontent-%COMP%], .profile-menu[_ngcontent-%COMP%]{height:100%}.main-menu[_ngcontent-%COMP%]:not(.sidebar-connected), .profile-menu[_ngcontent-%COMP%]:not(.sidebar-connected), .desktop-only[_ngcontent-%COMP%]{display:none}@media (min-width: 768px){.main-menu[_ngcontent-%COMP%]:not(.sidebar-connected), .profile-menu[_ngcontent-%COMP%]:not(.sidebar-connected), .desktop-only[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center}}.navbar-toggler[_ngcontent-%COMP%], .mobile-only[_ngcontent-%COMP%]{display:block}@media (min-width: 768px){.navbar-toggler[_ngcontent-%COMP%], .mobile-only[_ngcontent-%COMP%]{display:none}}.navbar-brand[_ngcontent-%COMP%]{width:32px;height:32px}"]})}return m})()},67362:($,x,n)=>{n.d(x,{W:()=>le});var t=n(61142),e=n(58527),o=n(65377),i=n(73955),l=n(24153),c=n(23818),h=n(52713),b=n(77392),_=n(58468),C=n(22567),g=n(24855),p=n(51335),M=n(99361),O=n(35888),s=n(73466);const y=()=>({abbreviated:!0}),u=v=>({profile:v});function w(v,j){1&v&&e.eu8(0)}function D(v,j){1&v&&e.eu8(0)}function N(v,j){1&v&&e.eu8(0)}function Q(v,j){if(1&v){const B=e.RV6();e.j41(0,"div",18),e.bIt("click",function(){e.eBV(B);const K=e.XpG(2);return e.Njj(K.actionExecuted())}),e.DNE(1,N,1,0,"ng-container",12),e.k0s()}if(2&v){e.XpG(2);const B=e.sdS(7);e.R7$(),e.Y8G("ngTemplateOutlet",B)}}function J(v,j){1&v&&e.eu8(0)}function G(v,j){1&v&&e.eu8(0)}function L(v,j){1&v&&e.eu8(0)}function R(v,j){1&v&&e.eu8(0)}function Y(v,j){1&v&&e.eu8(0)}function X(v,j){if(1&v){const B=e.RV6();e.j41(0,"div",15),e.bIt("click",function(){e.eBV(B);const K=e.XpG().$implicit,ge=e.XpG(3);return e.Njj(ge.switchProfile(K.profile_id))}),e.DNE(1,Y,1,0,"ng-container",16),e.k0s()}if(2&v){const B=e.XpG().$implicit;e.XpG(3);const F=e.sdS(17);e.R7$(),e.Y8G("ngTemplateOutlet",F)("ngTemplateOutletContext",e.eq3(2,u,B))}}function q(v,j){if(1&v&&e.DNE(0,X,2,4,"div",20),2&v){const B=j.$implicit,F=e.XpG(3);e.vxM(F.currentProfile.profile_id!==B.profile_id?0:-1)}}function re(v,j){if(1&v&&(e.j41(0,"div",19),e.DNE(1,R,1,0,"ng-container",12),e.k0s(),e.Z7z(2,q,1,1,null,null,e.fX1)),2&v){const B=e.XpG(2),F=e.sdS(15);e.R7$(),e.Y8G("ngTemplateOutlet",F),e.R7$(),e.Dyx(B.profiles)}}function ce(v,j){if(1&v){const B=e.RV6();e.j41(0,"div",10)(1,"div",11),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.actionExecuted())}),e.DNE(2,w,1,0,"ng-container",12),e.k0s(),e.j41(3,"div",13),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.actionExecuted())}),e.DNE(4,D,1,0,"ng-container",12),e.k0s(),e.DNE(5,Q,2,1,"div",14),e.nI1(6,"async"),e.j41(7,"div",15),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.showMobileAppsPopup())}),e.DNE(8,J,1,0,"ng-container",12),e.k0s(),e.j41(9,"div",11),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.actionExecuted())}),e.DNE(10,G,1,0,"ng-container",16),e.k0s(),e.j41(11,"div",17),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.logout())}),e.DNE(12,L,1,0,"ng-container",12),e.k0s(),e.DNE(13,re,4,1),e.k0s()}if(2&v){const B=e.XpG(),F=e.sdS(3),K=e.sdS(5),ge=e.sdS(9),Ie=e.sdS(11),Re=e.sdS(13);
3e.AVh("has-divider",B.profiles.length>1),e.R7$(),e.Y8G("routerLink","/settings/overview"),e.R7$(),e.Y8G("ngTemplateOutlet",F),e.R7$(2),e.Y8G("ngTemplateOutlet",K),e.R7$(),e.vxM(e.bMT(6,12,B.hasSupportedCertificates$)?5:-1),e.R7$(3),e.Y8G("ngTemplateOutlet",ge),e.R7$(),e.Y8G("routerLink","/faq"),e.R7$(),e.Y8G("ngTemplateOutlet",Ie)("ngTemplateOutletContext",e.lJ4(14,y)),e.R7$(2),e.Y8G("ngTemplateOutlet",Re),e.R7$(),e.vxM(B.profiles.length>1?13:-1)}}function de(v,j){1&v&&e.eu8(0)}function U(v,j){1&v&&e.eu8(0)}function A(v,j){1&v&&e.eu8(0)}function P(v,j){if(1&v){const B=e.RV6();e.j41(0,"frontend-dropdown-item",32),e.bIt("click",function(){e.eBV(B);const K=e.XpG(2);return e.Njj(K.actionExecuted())}),e.DNE(1,A,1,0,"ng-container",12),e.k0s()}if(2&v){e.XpG(2);const B=e.sdS(7);e.R7$(),e.Y8G("ngTemplateOutlet",B)}}function m(v,j){1&v&&e.eu8(0)}function k(v,j){1&v&&e.eu8(0)}function E(v,j){1&v&&e.eu8(0)}function I(v,j){1&v&&e.eu8(0)}function z(v,j){1&v&&e.eu8(0)}function ee(v,j){if(1&v){const B=e.RV6();e.j41(0,"frontend-dropdown-item",30),e.bIt("click",function(){e.eBV(B);const K=e.XpG().$implicit,ge=e.XpG(3);return e.Njj(ge.switchProfile(K.profile_id))}),e.DNE(1,z,1,0,"ng-container",16),e.k0s()}if(2&v){const B=e.XpG().$implicit;e.XpG(3);const F=e.sdS(17);e.R7$(),e.Y8G("ngTemplateOutlet",F)("ngTemplateOutletContext",e.eq3(2,u,B))}}function ae(v,j){if(1&v&&e.DNE(0,ee,2,4,"frontend-dropdown-item",34),2&v){const B=j.$implicit,F=e.XpG(3);e.vxM(F.currentProfile.profile_id!==B.profile_id?0:-1)}}function xe(v,j){if(1&v&&(e.j41(0,"frontend-dropdown-group")(1,"frontend-dropdown-item",33),e.DNE(2,I,1,0,"ng-container",12),e.k0s(),e.Z7z(3,ae,1,1,null,null,e.fX1),e.k0s()),2&v){const B=e.XpG(2),F=e.sdS(15);e.R7$(),e.Y8G("isGroupItem",!0),e.R7$(),e.Y8G("ngTemplateOutlet",F),e.R7$(),e.Dyx(B.profiles)}}function be(v,j){if(1&v){const B=e.RV6();e.j41(0,"frontend-dropdown",9)(1,"div",21),e.nrm(2,"frontend-image",22),e.j41(3,"div",23)(4,"div",24),e.EFF(5),e.k0s()()(),e.qex(6,25),e.j41(7,"frontend-dropdown-group",26)(8,"frontend-dropdown-item",27),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.actionExecuted())}),e.DNE(9,de,1,0,"ng-container",12),e.k0s(),e.j41(10,"frontend-dropdown-item",28),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.actionExecuted())}),e.DNE(11,U,1,0,"ng-container",12),e.k0s(),e.DNE(12,P,2,1,"frontend-dropdown-item",29),e.nI1(13,"async"),e.j41(14,"frontend-dropdown-item",30),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.showMobileAppsPopup())}),e.DNE(15,m,1,0,"ng-container",12),e.k0s(),e.j41(16,"frontend-dropdown-item",27),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.actionExecuted())}),e.DNE(17,k,1,0,"ng-container",12),e.k0s(),e.j41(18,"frontend-dropdown-item",31),e.bIt("click",function(){e.eBV(B);const K=e.XpG();return e.Njj(K.logout())}),e.DNE(19,E,1,0,"ng-container",12),e.k0s()(),e.DNE(20,xe,5,2,"frontend-dropdown-group"),e.bVm(),e.k0s()}if(2&v){const B=e.XpG(),F=e.sdS(3),K=e.sdS(5),ge=e.sdS(9),Ie=e.sdS(11),Re=e.sdS(13);e.Y8G("alignRight",!0)("width",240),e.R7$(),e.AVh("active",B.isSettingsPage())("has-unread-indicator",B.hasUnreadIndicator),e.R7$(),e.Y8G("file","header-profile-"+(B.isSettingsPage()?"active":"inactive")+".svg")("stretchToContainer",!0),e.R7$(3),e.JRh(B.currentProfile.first_name),e.R7$(2),e.Y8G("hasDivider",B.profiles.length>1),e.R7$(),e.Y8G("routerLink","/settings/overview"),e.R7$(),e.Y8G("ngTemplateOutlet",F),e.R7$(2),e.Y8G("ngTemplateOutlet",K),e.R7$(),e.vxM(e.bMT(13,19,B.hasSupportedCertificates$)?12:-1),e.R7$(3),e.Y8G("ngTemplateOutlet",ge),e.R7$(),e.Y8G("routerLink","/faq"),e.R7$(),e.Y8G("ngTemplateOutlet",Ie),e.R7$(2),e.Y8G("ngTemplateOutlet",Re),e.R7$(),e.vxM(B.profiles.length>1?20:-1)}}function ve(v,j){1&v&&(e.nrm(0,"frontend-image",35),e.EFF(1," Mein Profil\n")),2&v&&e.Y8G("stretchToContainer",!0)}function he(v,j){if(1&v&&(e.j41(0,"span",37),e.EFF(1),e.k0s()),2&v){const B=e.XpG(2);e.R7$(),e.JRh(B.openedTodosByProfile[B.currentProfile.profile_id])}}function oe(v,j){if(1&v&&(e.nrm(0,"frontend-image",36),e.EFF(1," To-dos "),e.DNE(2,he,2,1,"span",37)),2&v){const B=e.XpG();e.Y8G("stretchToContainer",!0),e.R7$(2),e.vxM(B.openedTodosByProfile[B.currentProfile.profile_id]?2:-1)}}function Ee(v,j){1&v&&(e.nrm(0,"frontend-image",38),e.EFF(1," Bescheinigung\n")),2&v&&e.Y8G("stretchToContainer",!0)}function we(v,j){1&v&&(e.nrm(0,"frontend-image",39),e.EFF(1," App-Download\n")),2&v&&e.Y8G("stretchToContainer",!0)}function Te(v,j){if(1&v&&(e.nrm(0,"frontend-image",40),e.EFF(1)),2&v){const B=j.abbreviated;e.Y8G("stretchToContainer",!0),e.R7$(),e.SpI(" ",B?"FAQs":"H\xe4ufig gestellte Fragen","\n")}}function De(v,j){1&v&&(e.nrm(0,"frontend-image",41),e.EFF(1," Ausloggen\n")),2&v&&e.Y8G("stretchToContainer",!0)}function Ae(v,j){1&v&&e.EFF(0," Benutzer wechseln")}function Be(v,j){if(1&v&&(e.j41(0,"span",37),e.EFF(1),e.k0s()),2&v){const B=e.XpG().profile,F=e.XpG();e.R7$(),e.SpI(" ",F.openedTodosByProfile[B.profile_id]," ")}}function W(v,j){if(1&v&&(e.nrm(0,"frontend-image",42),e.EFF(1),e.DNE(2,Be,2,1,"span",37)),2&v){const B=j.profile,F=e.XpG();e.Y8G("stretchToContainer",!0),e.R7$(),e.SpI(" ",B.display_name," "),e.R7$(),e.vxM(F.openedTodosByProfile[B.profile_id]?2:-1)}}let le=(()=>{class v{currentProfile;profiles;sidebarConnected=!1;onAction=new e.bkB;openedTodosByProfile;hasUnreadIndicator;hasSupportedCertificates$;modalService=(0,e.WQX)(c.Bg);profileService=(0,e.WQX)(p.p);router=(0,e.WQX)(o.Ix);store=(0,e.WQX)(h.il);certificateService=(0,e.WQX)(C.V);component$=new b.B;ngOnInit(){this.store.select(O.HW).pipe((0,_.Q)(this.component$)).subscribe(B=>{this.openedTodosByProfile=B;const F=Object.values(B).reduce((K,ge)=>K+ge,0);this.hasUnreadIndicator=F>0}),this.store.dispatch(new M.V7),this.hasSupportedCertificates$=this.certificateService.hasSupportedCertificates()}ngOnDestroy(){this.component$.next(),this.component$.complete()}switchProfile(B){this.store.dispatch(new M.$s(B)),this.actionExecuted()}actionExecuted(){this.onAction.emit(!0)}showMobileAppsPopup(){this.modalService.show(g.n,{size:c.rI.Size360})}logout(){this.profileService.logout()}isSettingsPage(){return this.router.url.startsWith("/settings")}static \u0275fac=function(F){return new(F||v)};static \u0275cmp=e.VBU({type:v,selectors:[["wa-nav-bar-profile-menu"]],inputs:{currentProfile:"currentProfile",profiles:"profiles",sidebarConnected:"sidebarConnected"},outputs:{onAction:"onAction"},standalone:!0,features:[e.aNF],decls:18,vars:1,consts:[["menuProfile",""],["menuTodos",""],["menuCertificates",""],["menuMobileApps",""],["menuFaq",""],["menuLogout",""],["menuSelectCustomerHeader",""],["menuSelectCustomer",""],[1,"navbar-nav",3,"has-divider"],[3,"alignRight","
3width"],[1,"navbar-nav"],["data-label","settings",1,"nav-item",3,"click","routerLink"],[4,"ngTemplateOutlet"],["routerLink","/todo",1,"nav-item",3,"click"],["routerLink","/certificate",1,"nav-item"],[1,"nav-item",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-label","logout",1,"nav-item",3,"click"],["routerLink","/certificate",1,"nav-item",3,"click"],[1,"nav-item-header"],[1,"nav-item"],["mainElement","",1,"dropdown-main-element"],[3,"file","stretchToContainer"],[1,"profile-name-wrapper"],[1,"name"],["list",""],[3,"hasDivider"],["data-label","settings",1,"profile-menu-item",3,"click","routerLink"],["routerLink","/todo",1,"profile-menu-item",3,"click"],["routerLink","/certificate",1,"profile-menu-item"],[1,"profile-menu-item",3,"click"],["data-label","logout",1,"profile-menu-item",3,"click"],["routerLink","/certificate",1,"profile-menu-item",3,"click"],[1,"dropdown-header",3,"isGroupItem"],[1,"profile-menu-item"],["type","svg","file","settings.svg",1,"navbar-icon",3,"stretchToContainer"],["type","svg","file","todos.svg",1,"navbar-icon",3,"stretchToContainer"],[1,"todos-count"],["type","svg","file","certificates.svg",1,"navbar-icon",3,"stretchToContainer"],["type","svg","file","mobile-phone.svg",1,"navbar-icon",3,"stretchToContainer"],["type","svg","file","faq.svg",1,"navbar-icon",3,"stretchToContainer"],["type","svg","file","logout.svg",1,"navbar-icon",3,"stretchToContainer"],["type","svg","file","profile-coinsured.svg",1,"navbar-icon",3,"stretchToContainer"]],template:function(F,K){1&F&&e.DNE(0,ce,14,15,"div",8)(1,be,21,21,"frontend-dropdown",9)(2,ve,2,1,"ng-template",null,0,e.C5r)(4,oe,3,2,"ng-template",null,1,e.C5r)(6,Ee,2,1,"ng-template",null,2,e.C5r)(8,we,2,1,"ng-template",null,3,e.C5r)(10,Te,2,2,"ng-template",null,4,e.C5r)(12,De,2,1,"ng-template",null,5,e.C5r)(14,Ae,1,0,"ng-template",null,6,e.C5r)(16,W,3,3,"ng-template",null,7,e.C5r),2&F&&e.vxM(K.sidebarConnected?0:1)},dependencies:[o.Wk,t.T3,l.U,s.h,t.Jj,i.Ps,i.WZ,i.S$],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.dropdown-main-element[_ngcontent-%COMP%]{display:flex;color:var(--sec-light-40);cursor:pointer;font-weight:700}.dropdown-main-element.active[_ngcontent-%COMP%]{color:var(--primary)}.dropdown-main-element.has-unread-indicator[_ngcontent-%COMP%]:before{top:-7px;left:14px}@media (max-width: 767px){.dropdown-main-element[_ngcontent-%COMP%]{display:none}}.profile-name-wrapper[_ngcontent-%COMP%]{max-width:180px;margin-left:8px}.profile-name-wrapper[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-item[_ngcontent-%COMP%]{font-weight:400}.profile-menu-item[_ngcontent-%COMP%]:has(.todos-count), .nav-item[_ngcontent-%COMP%]:has(.todos-count){position:relative}.dropdown-header[_ngcontent-%COMP%]{color:var(--sec-light-40);text-transform:uppercase}.navbar-icon[_ngcontent-%COMP%]{display:inline-block;width:18px;min-width:18px;height:18px;margin-right:8px;color:var(--sec-light-40);transform:translateY(7px)}@media (min-width: 768px){.navbar-icon[_ngcontent-%COMP%]{transform:translateY(3px)}}.todos-count[_ngcontent-%COMP%]{position:absolute;top:50%;right:8px;width:20px;height:20px;background-color:var(--pink);border-radius:50%;color:var(--white);font-size:12px;font-weight:700;line-height:20px;text-align:center;transform:translateY(-50%)}.navbar-nav[_ngcontent-%COMP%]{padding:0;margin:auto 0;font-size:18px;font-weight:500;line-height:2rem;list-style:none;white-space:normal}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{display:flex;padding:6px 10px;border-radius:5px}.navbar-nav[_ngcontent-%COMP%]   .nav-item-header[_ngcontent-%COMP%]{padding:10px 0 5px 10px;border-top:1px solid var(--line);margin-top:8px;color:#6c757d;font-size:14px;text-transform:uppercase;white-space:nowrap}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:hover{background-color:var(--sec-light-05);cursor:pointer}@media (min-width: 768px){.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:hover{background-color:transparent}}"]})}return v})()},66447:($,x,n)=>{n.d(x,{U:()=>p});var t=n(58527),e=n(23818),o=n(84975),i=n(60494),l=n(80560),c=n(78374),h=n(2489),b=n(52182),_=n(54378),C=n(71645),g=n(51335);let p=(()=>{class M{firebaseService=(0,t.WQX)(C.f);modalService=(0,t.WQX)(e.Bg);profileService=(0,t.WQX)(g.p);certificateId;profileId;featureCertificateDisabled;constructor(){this.firebaseService.getRemoteConfig().then(s=>{this.featureCertificateDisabled=this.firebaseService.isFeedbackCertificateDisabled(s)})}setCertificateId(s){this.certificateId=s}setProfileId(s){this.profileId=s}onDocumentClosed(s){s!==this.certificateId||!this.feedbackModalCanBeShown()||this.askForFeedback()}askForFeedback=()=>{localStorage.setItem(h.yw,"true"),this.firebaseService.logFeedbackDialogShown(b.e.Certificate),this.show
3FeedbackModal().pipe((0,o.n)(({rating:s,feedbackText:y})=>(this.firebaseService.logFeedbackSend(s),this.profileService.sendFeedback(this.profileId,s,b.e.Certificate,y))),(0,i.W)(s=>(console.error("[CertificateFeedbackService] Feedback could not be sent: ",s),l.w)),(0,c.s)(1)).subscribe()};feedbackModalCanBeShown(){return"true"!==localStorage.getItem(h.yw)&&!this.featureCertificateDisabled}showFeedbackModal(){return this.modalService.show(_.A,{data:{title:"Wie einfach war es, die Bescheinigung zu erstellen?",subtitle:"",successButtonText:"Senden",textareaPlaceholders:this.feedbackTextareaPlaceholders}})}feedbackTextareaPlaceholders=s=>{switch(s){case 1:return"Was hat nicht funktioniert? Wo k\xf6nnen wir besser werden?";case 2:return"Was war schwierig bei der Erstellung? Wie k\xf6nnen wir es verbessern?";case 3:return"Was hat gut geklappt und was k\xf6nnen wir noch besser machen?";case 4:return"Was hat dir besonders gefallen und was k\xf6nnen wir noch optimieren?";case 5:return"Super! Was hat dir besonders gut gefallen?"}};static \u0275fac=function(y){return new(y||M)};static \u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},65667:($,x,n)=>{n.d(x,{B:()=>t});const t={documentUploadFailed:"Das Hochladen des Dokumentes ist leider fehlgeschlagen.",pleaseTryAgain:"Bitte versuche es erneut.",invalidMimeType:"Es wurde ein ung\xfcltiges Dateiformat bereitgestellt.",fileSize:"Das Dokument ist gr\xf6\xdfer als die maximal unterst\xfctzte Dateigr\xf6\xdfe von 50 MB per Upload. Bitte Dateien verkleinern oder lade sie in Teilen hoch.",todoProvideDateTextInvalid:"Das Enddatum ist ung\xfcltig.",todoProvideDateTextInvalidPast:"Das Enddatum darf nicht vor heute liegen.",todoProvideDateTextFailed:"Das Datum konnte nicht angegeben werden. Bitte versuche es erneut.",todoBookSalesSlotUnavailable:"Der Termin wurde gerade durch jemand anderen gebucht. Bitte w\xe4hle einen anderen Termin aus.",todoProvideDateTextSuccessTitle:"Vielen Dank!",todoProvideDateTextSuccessMessage:"Wir kommen rechtzeitig auf dich zu, um mit dir \xfcber eine Fortf\xfchrung deines Vertrags zu sprechen.",todoBookSalesCallSuccessTitle:"Termin gebucht",todoBookSalesCallSuccessMessage:"Dein Beratungstermin ist gebucht. Du erh\xe4ltst zus\xe4tzlich eine Best\xe4tigung via E-Mail. Wir freuen uns auf dich.",pleaseTryAgainLater:"Ein Fehler ist aufgetreten. Bitte versuche es sp\xe4ter nochmal."}},2489:($,x,n)=>{n.d(x,{CY:()=>c,E$:()=>o,Ty:()=>C,UZ:()=>b,VK:()=>h,e1:()=>i,kJ:()=>l,yw:()=>_,zi:()=>g});var t=n(51376),e=n(52182);const o="feedback_todo_shown",i="feedback_incomplete_claimable_document_shown",l="feedback_enrollment_proof_shown",c="category_student_expiry_date_shown",h="category_civil_servant_applicant_expiry_date_shown",b="feedback_upsell_shown",_="feedback_certificate_shown",C={[t.NKN.CurrentVisa]:e.e.VisaUpload,[t.NKN.IncompleteClaimableDocument]:e.e.IncompleteClaimableDocument,[t.NKN.EnrollmentProof]:e.e.EnrollmentProof,[t.NKN.CategoryCivilServantApplicantExpiryDate]:e.e.CategoryCivilServantApplicantExpiryDate,[t.NKN.CategoryStudentExpiryDate]:e.e.CategoryStudentExpiryDate,[t.NKN.Upsell]:e.e.Upsell},g={[t.NKN.CurrentVisa]:o,[t.NKN.IncompleteClaimableDocument]:i,[t.NKN.EnrollmentProof]:l,[t.NKN.CategoryCivilServantApplicantExpiryDate]:h,[t.NKN.CategoryStudentExpiryDate]:c,[t.NKN.Upsell]:b}},73955:($,x,n)=>{n.d(x,{OP:()=>h.O,Ps:()=>t.P,WZ:()=>l,S$:()=>c.S});var t=n(83145),e=n(58527);const o=["*"];function i(b,_){if(1&b&&e.nrm(0,"div",1),2&b){const C=e.XpG();e.Y8G("innerHTML",C.caption(),e.npT),e.BMQ("data-cy",C.captionDataCy())}}let l=(()=>{class b{caption=(0,e.hFB)();hasDivider=(0,e.hFB)(!1);captionDataCy=(0,e.hFB)();static \u0275fac=function(g){return new(g||b)};static \u0275cmp=e.VBU({type:b,selectors:[["frontend-dropdown-group"]],inputs:{caption:[1,"caption"],hasDivider:[1,"hasDivider"],captionDataCy:[1,"captionDataCy"]},standalone:!0,features:[e.aNF],ngContentSelectors:o,decls:3,vars:3,consts:[[1,"otto-dropdown-group"],[1,"otto-dropdown-caption",3,"innerHTML"]],template:function(g,p){1&g&&(e.NAR(),e.j41(0,"div",0),e.DNE(1,i,1,2,"div",1),e.SdG(2),e.k0s()),2&g&&(e.AVh("with-border",p.hasDivider()),e.R7$(),e.vxM(p.caption()?1:-1))},styles:[".otto-dropdown-group[_ngcontent-%COMP%]{padding:8px}.otto-dropdown-group.with-border[_ngcontent-%COMP%]{border-bottom:1px solid var(--border-light)}.otto-dropdown-group[_ngcontent-%COMP%]   .otto-dropdown-caption[_ngcontent-%COMP%]{margin-bottom:8px;margin-left:var(--caption-offset, unset);color:var(--sec-light-60);font-size:12px}"]})}return b})();var c=n(1330),h=n(95800)},66935:($,x,n)=>{n.d(x,{f:()=>c});var t=n(61142),e=n(27555),o=n(24153),i=n(12686),l=n(58527);let c=(()=>{class h{static \u0275fac=function(C){return new(C||h)};static \u0275mod=l.$C({type:h});static \u0275inj=l.G2t({providers:[i.T],imports:[t.MD,o.U,e.xB]})}return h})()},12686:($,x,n)=>{n.d(x,{T:()=>e});var t=n(58527);let e=(()=>{class o{emitter=new t.bkB;get events(){return this.emitter}open(){return this.emitter.emit(!0)}static \u0275fac=function(c){return new(c||o)};static \u0275prov=t.jDH({token:o,factory:o.\u0275fac})}return o}
3)()},72901:($,x,n)=>{n.d(x,{V:()=>o});var t=n(61142),e=n(58527);let o=(()=>{class i{static \u0275fac=function(h){return new(h||i)};static \u0275mod=e.$C({type:i});static \u0275inj=e.G2t({imports:[t.MD]})}return i})()},75092:($,x,n)=>{n.d(x,{Q:()=>_});var t=n(58527),e=n(56106),o=n(51376),i=n(77392),l=n(58468),c=n(61142);const h=["textareaRef"];function b(C,g){if(1&C&&(t.j41(0,"label",3),t.EFF(1),t.k0s()),2&C){const p=t.XpG();t.R7$(),t.SpI(" ",p.label," ")}}let _=(()=>{class C{size;rows=4;placeholder="";label;isDisabled=!1;hasError=!1;dataCy;maxLength;autofocus=!1;textareaRef;form;componentSize=o.H7o;component$=new i.B;formBuilder=(0,t.WQX)(e.ok);ngOnInit(){this.form=this.formBuilder.group({value:null}),this.form.controls.value.valueChanges.pipe((0,l.Q)(this.component$)).subscribe(p=>{this.onChange(p),this.onTouched()})}ngAfterViewInit(){this.autofocus&&this.textareaRef?.nativeElement.focus()}ngOnDestroy(){this.component$.next(),this.component$.complete()}writeValue(p){this.form.setValue(p?{value:p}:{value:null})}setDisabledState(p){this.isDisabled=p,p?this.form.disable():this.form.enable()}registerOnChange(p){this.onChange=p}registerOnTouched(p){this.onTouched=p}onChange=()=>{};onTouched=()=>{};static \u0275fac=function(M){return new(M||C)};static \u0275cmp=t.VBU({type:C,selectors:[["frontend-textarea"]],viewQuery:function(M,O){if(1&M&&t.GBs(h,5,t.aKT),2&M){let s;t.mGM(s=t.lsd())&&(O.textareaRef=s.first)}},inputs:{size:"size",rows:"rows",placeholder:"placeholder",label:"label",isDisabled:"isDisabled",hasError:"hasError",dataCy:"dataCy",maxLength:"maxLength",autofocus:"autofocus"},features:[t.Jv_([{provide:e.kq,useExisting:(0,t.Rfq)(()=>C),multi:!0}])],decls:7,vars:14,consts:[["textareaRef",""],[1,"frontend-textarea",3,"ngClass","formGroup"],[1,"otto-form-element"],[1,"label"],[1,"otto-field-wrapper","otto-textarea"],["formControlName","value",1,"otto-field","data-hj-suppress","heap-ignore",3,"placeholder","rows"]],template:function(M,O){1&M&&(t.j41(0,"div",1)(1,"div",2),t.DNE(2,b,2,1,"label",3),t.j41(3,"div",4)(4,"textarea",5,0),t.EFF(6,"      "),t.k0s()()()()),2&M&&(t.Y8G("ngClass",O.size)("formGroup",O.form),t.R7$(),t.AVh("disabled",O.isDisabled)("empty",!(null!=O.form.controls.value.value&&O.form.controls.value.value.length))("error",O.hasError),t.R7$(),t.vxM(O.label?2:-1),t.R7$(2),t.Y8G("placeholder",O.placeholder)("rows",O.rows),t.BMQ("data-cy",O.dataCy)("maxlength",O.maxLength)("autofocus",O.autofocus))},dependencies:[e.me,e.BC,e.cb,e.j4,e.JD,c.YU],styles:['.otto-form-element[_ngcontent-%COMP%]{position:relative;--color: var(--dark);--color-accent: var(--text);--placeholder-color: var(--text-light);--border-color: var(--border);--background: var(--white);--font-size: 16px;--line-height: 22px;--padding: 12px 16px;--border-radius: var(--border-radius-sm);--padding-between: 8px;--color-icon: var(--sec-light-20)}.otto-form-element[_ngcontent-%COMP%]:hover{--border-color: var(--border-dark)}.otto-form-element[_ngcontent-%COMP%]:focus-within, .otto-form-element.focused[_ngcontent-%COMP%]{--border-color: var(--primary);--color-accent: var(--primary);--color-icon: var(--primary)}.otto-form-element.disabled[_ngcontent-%COMP%]{--background: var(--disabled);--color: var(--sec-light-40);--color-accent: var(--text-light);--placeholder-color: var(--text-lighter);--border-color: var(--border);pointer-events:none}.otto-form-element.disabled[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--color-spinner: var(--sec-light-20);--color-bg: var(--sec-light-05)}.otto-form-element.error[_ngcontent-%COMP%]{--border-color: var(--danger);--color-accent: var(--danger);--color-icon: var(--danger)}.otto-form-element.error[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--color-spinner: var(--danger)}.otto-form-element[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{position:absolute;left:0;font-weight:700;font-size:12px;color:var(--danger)}.otto-form-element.empty[_ngcontent-%COMP%]   .otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{color:var(--placeholder-color)}.otto-form-element.text-centered[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{text-align:center}.otto-field-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;font-size:var(--font-size);line-height:var(--line-height);font-weight:500;border-radius:var(--border-radius);border:1px solid var(--border-color);color:var(--color);background:var(--background);transition:border .3s ease,color .3s ease,background .3s ease}.otto-field-wrapper[_ngcontent-%COMP%]:focus-within{outline:3px solid var(--primary);outline-offset:3px}.otto-field[_ngcontent-%COMP%]{flex-grow:1;width:100%;border:none;background:none;border-radius:var(--border-radius);margin:0;color:inherit;outline:none;-webkit-appearance:none;padding:var(--padding)}.otto-field[_ngcontent-%COMP%]:focus{outline:none}.otto-field[_ngcontent-%COMP%]::placeholder{color:var(--placeholder-color)}.otto-field[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, .otto-field[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.otto-field[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]{--line-height: 22px;--padding: 7px 12px 5px;--font-size: 14px;--border-radius: var(--border-radius-xs)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]{--padding: 25px 16px 7px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{line-height:var(--line-height);z-index:1;color:var(--color-accent);font-weight:400;position:absolute;
3left:16px;pointer-events:none;transition:.2s;top:7px;font-size:.8em}.lg[_ngcontent-%COMP%]   .otto-form-element.text-centered[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%], .lg.otto-form-element.text-centered[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{left:50%;transform:translate(-50%)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::placeholder, .lg.otto-form-element[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::placeholder{color:var(--text-lighter)}.otto-field-wrapper.otto-input[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:not(:first-child){padding-left:var(--padding-between)}.otto-field-wrapper.otto-input[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:not(:last-child){padding-right:var(--padding-between)}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{color:var(--color-accent);padding:var(--padding)}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%]{padding-right:0}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{padding-left:0}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-label-prefix[_ngcontent-%COMP%]{display:none}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{display:flex;align-items:center}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]{width:var(--font-size)}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--padding: 6px 12px}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%]{padding:6px 12px 6px 0}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%]{--padding: 17px 16px 6px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--padding: 6px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]:not(.empty)   .otto-prefix[_ngcontent-%COMP%], .lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]:focus-within   .otto-prefix[_ngcontent-%COMP%], .lg[_ngcontent-%COMP%]   .otto-form-element.focused[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]:not(.empty)   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]:focus-within   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element.focused[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%]{opacity:1}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .label-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .label-prefix[_ngcontent-%COMP%]{display:inline;margin-right:var(--padding-between)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%]{padding:6px 16px 6px 0}.otto-input-icon[_ngcontent-%COMP%]{align-items:center;cursor:pointer;display:flex;padding:12px 16px 12px 0}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%], .otto-input-icon[_ngcontent-%COMP%]   .input-icon-wrapper[_ngcontent-%COMP%], .otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]{width:16px;height:16px;background-color:var(--sec-light-20);border-radius:50%;color:var(--white);cursor:pointer;transition:var(--transition)}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]:hover{background-color:var(--sec-light-40)}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]   .crossed-icon[_ngcontent-%COMP%]{display:block;width:8px;height:8px}.otto-input-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{display:block;width:16px;height:16px;transition:var(--transition);color:var(--color-icon)}.otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]{position:relative;width:20px;height:20px;
3box-shadow:var(--box-shadow-xs);background-color:var(--white);border-radius:50%;color:var(--sec-light-80);cursor:pointer}.otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]   .tooltip-icon[_ngcontent-%COMP%]{display:block;width:10px;height:10px}.otto-input-icon[_ngcontent-%COMP%]:not(:last-child):not(:only-of-type){padding-right:10px}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;width:10px;height:6px;right:16px;top:50%;z-index:1;pointer-events:none;transform:translateY(-50%);transition:opacity .3s ease;background-image:url(\'data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%23999FB7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{padding-right:34px}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::-ms-expand{display:none}@supports (-moz-appearance: none){.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{margin-left:-4px}}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:required:invalid{color:var(--placeholder-color)}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before, .sm.otto-form-element[_ngcontent-%COMP%]   .otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before{right:12px;transform:translateY(-50%) scale(.85)}.lg[_ngcontent-%COMP%]   .otto-field-wrapper.otto-textarea[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{padding-top:0;margin-top:26px;resize:vertical}']})}return C})()},53683:($,x,n)=>{n.d(x,{N:()=>i});var t=n(61142),e=n(56106),o=n(58527);let i=(()=>{class l{static \u0275fac=function(b){return new(b||l)};static \u0275mod=o.$C({type:l});static \u0275inj=o.G2t({imports:[e.X1,t.MD]})}return l})()}}]);
4//# debugId=be8e1b69-abd8-5d9d-8096-74cbe97d3c59

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.