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]="e75ce02c-b1b7-56f0-b5a3-576537478e41")}catch(e){}}(); 3(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[546],{43546:(U,v,n)=>{n.r(v),n.d(v,{TimelineComponent:()=>Q});var h=n(61142),e=n(58527),g=n(65377),b=n(76716),d=n(52713),M=n(77392),s=n(58468),c=n(85687),C=n(6663),y=n(21252),I=n(51335),m=n(35888),p=n(46140),u=n(24153),l=n(23818),$=n(69956),E=n(51376),O=n(61177),S=n(60494),w=n(80560),D=n(78374),F=n(71645),f=n(73466),x=n(63752);let P=(()=>{class o{modalInstance=(0,e.WQX)(l.g7);confirm(t){this.modalInstance.close(t)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["wa-confirmation-modal"]],standalone:!0,features:[e.aNF],decls:12,vars:3,consts:[["title","",3,"onDismissClick"],["modalBody","",1,"insurance-card-confirmation-modal-body"],["file","insurance-card.svg","width","60px","height","40px"],[1,"headline"],[1,"text"],["modalFooter","",1,"insurance-card-confirmation-modal-footer"],[1,"button",3,"onClick","outlined","wide"],[1,"button",3,"onClick","wide"]],template:function(i,r){1&i&&(e.j41(0,"frontend-default-modal",0),e.bIt("onDismissClick",function(){return r.confirm(!1)}),e.j41(1,"div",1),e.nrm(2,"frontend-image",2),e.j41(3,"div",3),e.EFF(4,"Versicherungskarte erhalten?"),e.k0s(),e.j41(5,"div",4),e.EFF(6,"Best\xe4tige kurz die Zustellung deiner Versicherungskarte."),e.k0s()(),e.j41(7,"footer",5)(8,"frontend-button",6),e.bIt("onClick",function(){return r.confirm(!1)}),e.EFF(9," Abbrechen "),e.k0s(),e.j41(10,"frontend-button",7),e.bIt("onClick",function(){return r.confirm(!0)}),e.EFF(11," Best\xe4tigen "),e.k0s()()()),2&i&&(e.R7$(8),e.Y8G("outlined",!0)("wide",!0),e.R7$(2),e.Y8G("wide",!0))},dependencies:[l.o,u.U,f.h,p.tm,x.Q],styles:[".insurance-card-confirmation-modal-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.insurance-card-confirmation-modal-body[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%]{margin:30px 0 8px;color:var(--sec-light-100);font-size:20px;font-weight:700}.insurance-card-confirmation-modal-body[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:var(--sec-light-60);font-size:16px;font-weight:350;text-align:center}.insurance-card-confirmation-modal-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:24px}.insurance-card-confirmation-modal-footer[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{flex:1 1 0}"]})}return o})();function R(o,z){if(1&o){const t=e.RV6();e.j41(0,"div",0)(1,"div",1),e.nrm(2,"frontend-image",2),e.j41(3,"div",3),e.EFF(4),e.nI1(5,"datetime"),e.k0s()(),e.j41(6,"frontend-button",4),e.bIt("click",function(){e.eBV(t);const r=e.XpG(),a=e.r8f(0);return e.Njj(r.markAsReceived(a.estimated_delivery_date))}),e.EFF(7," Erhalten "),e.k0s()()}if(2&o){const t=e.XpG(),i=e.r8f(0);e.R7$(2),e.Y8G("stretchToContainer",!0),e.R7$(2),e.SpI(" Du solltest deine Versicherungs\xadkarte bis zum ",e.bMT(5,7,i.estimated_delivery_date)," erhalten. "),e.R7$(2),e.Y8G("rounded",!0)("size",t.componentSize.Sm)("color",t.buttonColor.LightBlue)("flat",!0)("wideOnMobile",!0)}}let j=(()=>{class o{componentSize=E.H7o;buttonColor=p.mq;insuranceCard$;isInsuranceCardReceived=(0,e.vPA)(!1);store=(0,e.WQX)(d.il);modalService=(0,e.WQX)(l.Bg);firebaseService=(0,e.WQX)(F.f);dateService=(0,e.WQX)(O.kT);INSURANCE_CARD_RECEIVED_DATE="insurance_card_received_date";storageKey;ngOnInit(){this.insuranceCard$=this.store.select(m.oy).pipe((0,c.p)(Boolean),(0,S.W)(()=>w.w),(0,C.T)(t=>(this.storageKey=this.getInsuranceCardStorageKey(t.profile_id),this.isInsuranceCardReceived.set(!!localStorage.getItem(this.storageKey)),t.insurance_card)))}markAsReceived(t){this.modalService.show(P,{size:l.rI.Size480}).pipe((0,c.p)(Boolean),(0,D.s)(1)).subscribe(()=>{this.isInsuranceCardReceived.set(!0);const i=this.dateService.getDaysDiff(t),r=this.dateService.today();localStorage.setItem(this.storageKey,r),this.firebaseService.logInsuranceCardDeliveredAction(i)})}getInsuranceCardStorageKey(t){return`${this.INSURANCE_CARD_RECEIVED_DATE}:${t}`}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["wa-insurance-card-disclaimer"]],standalone:!0,features:[e.aNF],decls:3,vars:4,consts:[[1,"insurance-card-disclaimer"],[1,"icon-and-info"],["width","36px","height","24px","file","insurance-card.svg",3,"stretchToContainer"],[1,"info"],[3,"click","rounded","size","color","flat","wideOnMobile"]],template:function(i,r){if(1&i&&(e.SS7(0),e.nI1(1,"async"),e.DNE(2,R,8,9,"div",0)),2&i){const a=e.bH3(e.bMT(1,1,r.insuranceCard$));e.R7$(2),e.vxM(a&&!r.isInsuranceCardReceived()?2:-1)}},dependencies:[h.Jj,$.Ax,u.U,f.h,p.tm,x.Q],styles:[".insurance-card-disclaimer[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:16px;margin-bottom:24px;background-color:#fff;border-radius:12px;box-shadow:0 1px 2px #00104b33;gap:16px}.insurance-card-disclaimer[_ngcontent-%COMP%] .icon-and-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:16px}.insurance-card-disclaimer[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{color:var(--color-secondary-100);font-size:13px;font-weight:450;letter-spacing:0;vertical-align:middle}"]})}return o}
3)(),k=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["wa-thryve-welcome-message"]],standalone:!0,features:[e.aNF],decls:9,vars:2,consts:[["routerLink","/settings/schritte-challenge",1,"thryve-wrapper"],[1,"thryve-icon"],["file","thryve-event.png",1,"thryve-icon",3,"stretchToContainer"],[1,"thryve-text"],[1,"thryve-title"],[1,"thryve-subtitle"],["type","svg","file","big-grey-arrow-right.svg",1,"arrow-icon",3,"stretchToContainer"]],template:function(i,r){1&i&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"frontend-image",2),e.k0s(),e.j41(3,"div",3)(4,"div",4),e.EFF(5,"Schritte-Challenge"),e.k0s(),e.j41(6,"div",5),e.EFF(7,"Jetzt mitmachen"),e.k0s()(),e.nrm(8,"frontend-image",6),e.k0s()),2&i&&(e.R7$(2),e.Y8G("stretchToContainer",!0),e.R7$(6),e.Y8G("stretchToContainer",!0))},dependencies:[u.U,f.h,g.Wk],styles:[".thryve-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;padding:12px 18px;background-color:var(--primary);border-radius:var(--border-radius-md);color:var(--white);cursor:pointer;transition:var(--transition)}.thryve-wrapper[_ngcontent-%COMP%]:hover{background-color:var(--primary-darker)}.thryve-wrapper[_ngcontent-%COMP%]:hover .arrow-icon[_ngcontent-%COMP%]{transform:translate(4px)}.thryve-wrapper[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{position:absolute;top:50%;right:16px;display:inline-block;width:8px;height:13px;margin-top:-6px;transition:var(--transition)}.thryve-icon[_ngcontent-%COMP%]{width:42px;min-width:42px;height:42px;margin-right:16px}.thryve-title[_ngcontent-%COMP%]{margin-bottom:0;font-size:17px;font-weight:500;line-height:23px}.thryve-subtitle[_ngcontent-%COMP%]{font-size:13px;line-height:21px}"]})}return o})();var A=n(27395),T=n(53518);function B(o,z){1&o&&(e.j41(0,"div",0),e.nrm(1,"wa-thryve-welcome-message"),e.k0s())}let Q=(()=>{class o{timelineEvents$;isLoading$;hasThryveAccess$;webAppStore=(0,e.WQX)(d.il);profileService=(0,e.WQX)(I.p);router=(0,e.WQX)(g.Ix);store=(0,e.WQX)(d.il);component$=new M.B;ngOnInit(){this.isLoading$=this.store.select(T.U).pipe((0,s.Q)(this.component$)),this.timelineEvents$=this.store.select(T.rf).pipe((0,s.Q)(this.component$)),this.webAppStore.select(m.oy).pipe((0,c.p)(Boolean),(0,C.T)(t=>t.profile_id),(0,y.M)(t=>{this.hasThryveAccess$=this.profileService.checkThryveAccess(t),this.store.dispatch((0,A.ae)({profileId:t}))}),(0,s.Q)(this.component$)).subscribe()}ngOnDestroy(){this.component$.next(),this.component$.complete()}navigateToTimelineDetails(t){this.webAppStore.select(m.Lq).pipe((0,c.p)(Boolean),(0,y.M)(i=>this.router.navigateByUrl(`/timeline/${i}/${t.uuid}`)),(0,s.Q)(this.component$)).subscribe()}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["wa-timeline"]],standalone:!0,features:[e.aNF],decls:4,vars:6,consts:[[1,"thryve-message","container"],[3,"eventClicked","isLoading$","timelineEvents$","hideHeader"]],template:function(i,r){1&i&&(e.DNE(0,B,2,0,"div",0),e.nI1(1,"async"),e.j41(2,"frontend-timeline",1),e.bIt("eventClicked",function(W){return r.navigateToTimelineDetails(W)}),e.nrm(3,"wa-insurance-card-disclaimer"),e.k0s()),2&i&&(e.vxM(e.bMT(1,4,r.hasThryveAccess$)?0:-1),e.R7$(2),e.Y8G("isLoading$",r.isLoading$)("timelineEvents$",r.timelineEvents$)("hideHeader",!0))},dependencies:[k,h.Jj,b.Dl,j],styles:[".thryve-message[_ngcontent-%COMP%]{padding:40px 15px 0}"]})}return o})()}}]); 4//# debugId=e75ce02c-b1b7-56f0-b5a3-576537478e41
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.