1(self.webpackChunkclickdoc_host=self.webpackChunkclickdoc_host||[]).push([["apps_clickdoc-host_src_bootstrap_ts","node_modules_babel_runtime_helpers_esm_asyncToGenerator_js"],{903:(re,j,t)=>{t.d(j,{Z:()=>p});var n=t(63183),e=t(43209),l=t.n(e),y=t(75281);let p=(()=>{class g{isPrescriptionDateValid(C){if(!C)return!0;const x=l()(),h=l()(C).add(n.s,"day");return x.isBefore(h)}static{this.\u0275fac=function(x){return new(x||g)}}static{this.\u0275prov=y.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})()},983:(re,j,t)=>{t.d(j,{p:()=>x});var n=t(85506),e=t(67824),l=t(46669),y=t(19150),d=t(22147),p=t(75281),b=t(16035);let x=(()=>{class h{constructor(m){this.store=m}setFavoritePharmacyList(m){this.store.dispatch((0,d.$i)({list:m}))}startPhotoOrder(){this.store.dispatch((0,l.ur)({orderType:n.Z.PHOTO}))}startScanOrder(){this.store.dispatch((0,l.ur)({orderType:n.Z.SCAN}))}startOtcOrder(){this.store.dispatch((0,l.ur)({orderType:n.Z.OTC}))}startRedeemProcess(m,P,s){this.store.dispatch((0,d.Rk)({isAdhoc:P})),this.store.dispatch((0,l.ur)({orderType:n.Z.DIGITAL,selectedMedicationIdList:s})),this.store.dispatch((0,d.We)({prescription:m}))}startShippingOrder(m){this.store.dispatch((0,l.ur)({orderType:n.Z.SHIPPING})),this.store.dispatch((0,d.We)({prescription:m}))}continueWithPartner(m){this.store.dispatch((0,l.dk)({partner:m}))}finalizeIaOrder(m){this.store.dispatch((0,e.Dg)({order:m}))}performEHealthTecOrder(){this.store.dispatch((0,d.Ff)())}selectPharmacy(m){this.store.dispatch((0,y.u)({pharmacyId:m}))}requestDetailsNavigation(m){this.store.dispatch((0,l.uR)({prescriptionId:m}))}static{this.\u0275fac=function(P){return new(P||h)(p.\u0275\u0275inject(b.Store))}}static{this.\u0275prov=p.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},1255:(re,j,t)=>{t.d(j,{e:()=>L});var n=t(24200),l=t(75281),d=t(60648),g=t(58286),C=t(76306),h=t(87199),m=t(72982),s=t(68978),A=t(93960);let L=(()=>{class K{constructor(D,v,r,S,_,$,U,I,E,T){this.authStateService=D,this.cookiesService=v,this.gtmService=r,this.iframeService=S,this.loaderService=_,this.location=$,this.loginService=U,this.shellService=I,this.userProfileService=E,this.clientTokenService=T,this.clientTokenKey="u-datr"}reloginWithClientToken$(){const D=this.clientTokenService.isClientTokenAvailable();this.cookiesService.deleteCookie(this.clientTokenKey);const v=this.isOneTimeLoginUrl();if(this.urlIncludesAdHocAppointment()||v||!D)return(0,n.of)(!1);const S=this.clientTokenService.getDecryptedClientToken();return this.authStateService.reloginInProgressStatus$.updateState(!0),this.loaderService.displayLoader(),this.disableSessionExpiration(),this.loginService.reLogin(S).pipe((0,n.switchMap)(()=>this.updateUserProfile()),(0,n.map)(()=>(this.authStateService.reloginInProgressStatus$.updateState(!1),!0)),(0,n.tap)(()=>this.trackLoginWorkflow(!0)),(0,n.catchError)(()=>(this.authStateService.reloginInProgressStatus$.updateState(!1),(0,n.of)(!1))))}isOneTimeLoginUrl(){return!!new URLSearchParams(window.location.search).get("authToken")}updateUserProfile(){return this.userProfileService.getProfile$({withAvatar:!0}).pipe((0,n.finalize)(()=>{this.iframeService.setIframeUrl(null)}))}urlIncludesAdHocAppointment(){const D=this.location.path(!0);return D.includes("adHoc-appointment")||D.includes("adHocToken")}disableSessionExpiration(){this.shellService.setAllowReLogin(!0)}trackLoginWorkflow(D){this.gtmService.pushTag({event:"signInSuccess",autoLogin:D})}static{this.\u0275fac=function(v){return new(v||K)(l.\u0275\u0275inject(d.AuthStateService),l.\u0275\u0275inject(g.CookiesService),l.\u0275\u0275inject(g.GoogleTagManagerService),l.\u0275\u0275inject(C.IframeService),l.\u0275\u0275inject(g.LoaderService),l.\u0275\u0275inject(h.Location),l.\u0275\u0275inject(m.LoginService),l.\u0275\u0275inject(s.ShellService),l.\u0275\u0275inject(A.UserProfileService),l.\u0275\u0275inject(d.ClientTokenService))}}static{this.\u0275prov=l.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac,providedIn:"root"})}}return K})()},1444:(re,j,t)=>{t.d(j,{f:()=>d});var n=t(43209),e=t.n(n),l=t(75281);let d=(()=>
1{class p{getDateToDate(b=new Date){return e()(b).toDate()}subtractToDate(b=e()(),C=0,x="day"){return e()(b).subtract(C,x).toDate()}dateIsHigher(b,C){return e()(b).startOf("day").diff(e()(C).startOf("day"))>0}dateTimeIsHigher(b,C){return e()(b).diff(e()(C))>0}isValid(b){return b&&e()(b).isValid()}getCurrentDateMoment(){return e()()}formatDate(b,C){return e()(b).format(C)}addDays(b,C){return e()(b).add(C,"day")}static{this.\u0275fac=function(C){return new(C||p)}}static{this.\u0275prov=l.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac})}}return p})()},1558:(re,j,t)=>{t.d(j,{f:()=>x});var n=t(58286),l=t(87199),d=t(28606),g=t(75281);function C(h,B){if(1&h){const m=g.\u0275\u0275getCurrentView();g.\u0275\u0275elementStart(0,"img",2),g.\u0275\u0275pipe(1,"translate"),g.\u0275\u0275listener("error",function(){g.\u0275\u0275restoreView(m);const s=g.\u0275\u0275nextContext();return g.\u0275\u0275resetView(s.onError())}),g.\u0275\u0275elementEnd()}if(2&h){const m=g.\u0275\u0275nextContext();g.\u0275\u0275property("src",m.src,g.\u0275\u0275sanitizeUrl),g.\u0275\u0275attribute("alt",g.\u0275\u0275pipeBind1(1,2,"practice_avatar_image"))}}let x=(()=>{class h{constructor(){this.src="",this.defaultImage="./assets/img/avatars/neutrum.svg",this.class="",this.defaultAvatars={practice:"./assets/img/avatars/"+n.def_avatar.practice,physician:"./assets/img/avatars/"+n.def_avatar.doc_neutrum,user:"./assets/img/avatars/"+n.def_avatar.user_neutrum}}ngOnInit(){this.src=this.src||this.getDefaultAvatar()}onError(){this.src=this.getDefaultAvatar()}getDefaultAvatar(){return this.avatarType&&"physician"!==this.avatarType&&this.defaultAvatars[this.avatarType]?this.src=this.defaultAvatars[this.avatarType]:this.defaultImage}static{this.\u0275fac=function(P){return new(P||h)}}static{this.\u0275cmp=g.\u0275\u0275defineComponent({type:h,selectors:[["app-avatar"]],inputs:{src:"src",avatarType:"avatarType",defaultImage:"defaultImage",class:"class"},decls:2,vars:2,consts:[[1,"avatar-image",3,"ngClass"],["loading","lazy","class","avatar__element","data-automation","Avatar - Profile picture",3,"src","error",4,"ngIf"],["loading","lazy","data-automation","Avatar - Profile picture",1,"avatar__element",3,"error","src"]],template:function(P,s){1&P&&(g.\u0275\u0275elementStart(0,"div",0),g.\u0275\u0275template(1,C,2,4,"img",1),g.\u0275\u0275elementEnd()),2&P&&(g.\u0275\u0275property("ngClass",s.class),g.\u0275\u0275advance(),g.\u0275\u0275property("ngIf",s.src))},dependencies:[l.NgClass,l.NgIf,d.TranslatePipe],styles:[".avatar-image[_ngcontent-%COMP%]{border-radius:50%;background-color:#f9f9f9;width:120px;height:120px;overflow:hidden}@media screen and (max-width: 904px){.avatar-image[_ngcontent-%COMP%]:not(.one-size){width:80px;height:80px}}.avatar-image.xs-size[_ngcontent-%COMP%]{width:40px;height:40px}.avatar-image.small-size[_ngcontent-%COMP%]{width:50px;height:50px}.avatar-image.medium-size[_ngcontent-%COMP%]{width:56px;height:56px;box-shadow:0 0 4px #c1c6e980,0 2px 4px #ced3eebf,0 0 0 1px #a6b2c4}.avatar-image.extra-small[_ngcontent-%COMP%]{border:solid 1px var(--cdc-fc300);width:40px;height:40px}.avatar-image.extra-extra-small[_ngcontent-%COMP%]{border:none;box-shadow:none;width:24px;height:24px}.avatar-image.large-size[_ngcontent-%COMP%]{box-shadow:none;width:56px;height:56px}.avatar-image.no-box-shadow[_ngcontent-%COMP%]{box-shadow:unset}.avatar-image.border-grey[_ngcontent-%COMP%]{border:1px solid var(--cdc-fc300)}.avatar-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block}"],changeDetection:0})}}return h})()},1921:(re,j,t)=>{t.d(j,{Y:()=>g});var n=t(4557),e=t(75281),y=t(16035),p=t(983);let g=(()=>{class b{constructor(x,h){this.store=x,this.orderSharedDispatcher=h}deletePrescription(x){this.store.dispatch((0,n.Ig)({prescription:x}))}loadPrescriptionOrderData(){this.store.dispatch((0,n.XW)())}loadPrescriptionRequestList(){this.store.dispatch((0,n.U8)())}resetPrescriptionOrderData(){this.store.dispatch((0,n.A9)())}startRedeemProcess(x){this.orderSharedDispatcher.startRedeemProcess(x,!1)}manualRedeemMedication(x,h){this.store.dispatch((0,n.Ck)({prescriptionId:x,medicationId:h}))}manualUnRedeemMedication(x,h){this.store.dispatch((0,n.l9)({prescriptionId:x,medicationId:h}))}manualRedeemPrescription(x){this.store.dispatch((0,n.Nv)({prescriptionId:x}))}manualUnRedeemPrescription(x){this.store.dispatch((0,n.Y1)({prescriptionId:x}))}static{this.\u0275fac=function(h){return new(h||b)(e.\u0275\u0275inject(y.Store),e.\u0275\u0275inject(p.p))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},2812:(re,j,t)=>{t.d(j,{t:()=>C});var n=t(24200),l=t(84287),d=t(43209),p=t.n(d),g=t(75281);let C=(()=>{class x{constructor(){this.$messages=new n.Subject,this.messages=[]}displayToastrMessage(B,m,P,s){this.clearMessages(),this.addMessage(B,m,P,s)}addMessage(B,m,P,s){const Z={id:this.generateGuid(),text:B,data:m,date:p()().toDate(),maxAge:s,severity:(P||"danger").toLowerCase()};this.messages.push(Z),Z.maxAge&&setTimeout(()=>{this.removeMessage(Z.id)},1e3*Z.maxAge),this.$messages.next(this.messages)}removeMessage(B){(0,l.remove)(this.messages,m=>m.id===B),this.$messages.next(this.messages)}clearMessages(){this.messages=[],this.$messages.next(this.messages)}generateGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,B=>{const m=16*Math.random()|0;return("x"===B?m:3&m|8).toString(16)})}static{this.\u0275fac=function(m){return new(m||x)}}static{this.\u0275prov=g.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})()},3388:(re,j,t)=>
1{t.d(j,{V:()=>I});var n=t(5313),e=t(46433),l=t(87199),d=t(90163),g=t(24035),C=t(24667),h=t(14887),m=t(12613),s=t(82667),A=t(83515),L=t(58286),u=t(39356),D=t(92856),v=t(28606),S=t(75281);const $=(E,T)=>[E,T];function U(E,T){if(1&E&&(S.\u0275\u0275elementContainerStart(0),S.\u0275\u0275elementStart(1,"a",1)(2,"cd-card")(3,"cd-card-header",2)(4,"cd-entry")(5,"cd-entry-inline-start",3)(6,"cd-visual"),S.\u0275\u0275element(7,"cd-icon",4),S.\u0275\u0275elementEnd()(),S.\u0275\u0275elementStart(8,"cd-entry-headline",5),S.\u0275\u0275text(9),S.\u0275\u0275pipe(10,"date"),S.\u0275\u0275elementEnd(),S.\u0275\u0275elementStart(11,"cd-entry-title",6),S.\u0275\u0275text(12),S.\u0275\u0275elementEnd()()(),S.\u0275\u0275elementStart(13,"cd-card-content",7)(14,"div",8)(15,"div",9)(16,"cd-status",10),S.\u0275\u0275pipe(17,"orderStatusColor"),S.\u0275\u0275text(18),S.\u0275\u0275pipe(19,"orderStatusText"),S.\u0275\u0275elementEnd(),S.\u0275\u0275elementStart(20,"span",11),S.\u0275\u0275text(21),S.\u0275\u0275pipe(22,"translate"),S.\u0275\u0275elementEnd()()()(),S.\u0275\u0275elementStart(23,"cd-card-footer")(24,"a",12),S.\u0275\u0275text(25),S.\u0275\u0275pipe(26,"translate"),S.\u0275\u0275elementEnd()()()(),S.\u0275\u0275elementContainerEnd()),2&E){const f=S.\u0275\u0275nextContext();S.\u0275\u0275advance(),S.\u0275\u0275property("routerLink",S.\u0275\u0275pureFunction2(27,$,f.orderDetailsRoute,f.order.id)),S.\u0275\u0275advance(2),S.\u0275\u0275property("backgroundColor","primary"),S.\u0275\u0275advance(2),S.\u0275\u0275property("contentAlignment","center"),S.\u0275\u0275advance(2),S.\u0275\u0275classProp("history",f.isHistory),S.\u0275\u0275property("iconName","icon-shopping-cart"),S.\u0275\u0275advance(2),S.\u0275\u0275textInterpolate1(" ",S.\u0275\u0275pipeBind1(10,17,f.order.orderDate)," "),S.\u0275\u0275advance(3),S.\u0275\u0275textInterpolate1(" ",null==f.order.pharmacy||null==f.order.pharmacy.value?null:f.order.pharmacy.value.name," "),S.\u0275\u0275advance(4),S.\u0275\u0275property("color",S.\u0275\u0275pipeBind1(17,19,f.order.status))("isOutlined",!0),S.\u0275\u0275advance(2),S.\u0275\u0275textInterpolate1(" ",S.\u0275\u0275pipeBind1(19,21,f.order.status)," "),S.\u0275\u0275advance(3),S.\u0275\u0275textInterpolate2("",S.\u0275\u0275pipeBind1(22,23,"eprescription_prescription_status_order_id")," ",f.order.orderId,""),S.\u0275\u0275advance(3),S.\u0275\u0275property("color","cd-default")("outline","cd-outline-solid")("routerLink",S.\u0275\u0275pureFunction2(30,$,f.orderDetailsRoute,f.order.id)),S.\u0275\u0275advance(),S.\u0275\u0275textInterpolate1(" ",S.\u0275\u0275pipeBind1(26,25,"eprescription_show_order_details")," ")}}let I=(()=>{class E{constructor(){this.orderDetailsRoute=n.EI}ngOnChanges(){this.isHistory=e.Gn.isHistory(this.order)}static{this.\u0275fac=function(k){return new(k||E)}}static{this.\u0275cmp=S.\u0275\u0275defineComponent({type:E,selectors:[["app-medication-order-card"]],inputs:{order:"order"},features:[S.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[[4,"ngIf"],[1,"blank-link",3,"routerLink"],[3,"backgroundColor"],[3,"contentAlignment"],["inline","",3,"iconName"],["data-automation","order-origin-date"],["data-automation","order-institution"],["data-automation","order-card-content"],[1,"content"],[1,"details"],[3,"color","isOutlined"],["data-automation","order-id"],["cdStopClickPropagation","","cd-button","","data-automation","order-button-link",3,"color","outline","routerLink"]],template:function(k,Q){1&k&&S.\u0275\u0275template(0,U,27,33,"ng-container",0),2&k&&S.\u0275\u0275property("ngIf",Q.order)},dependencies:[l.NgIf,d.RouterLink,g.CardComponent,g.CardHeaderComponent,C.EntryComponent,C.EntryInlineStartComponent,h.VisualModule,h.VisualComponent,m.IconModule,m.IconComponent,C.EntryHeadlineComponent,C.EntryTitleComponent,g.CardContentComponent,s.StatusComponent,g.CardFooterComponent,A.ButtonModule,A.ButtonComponent,L.StopClickPropagationDirective,l.DatePipe,u.a,D.k,v.TranslatePipe],styles:["[_nghost-%COMP%]{display:grid}cd-card[_ngcontent-%COMP%]{display:grid}cd-card-content[_ngcontent-%COMP%]{height:100%}cd-status[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}cd-icon[_ngcontent-%COMP%]{color:var(--cdc-pc100);font-size:var(--cdc-sizing-300);margin:var(--cdc-spacing-100)}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-300);justify-content:space-between;
1height:100%}.blank-link[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%]:hover, .blank-link[_ngcontent-%COMP%]:visited{text-decoration:none;color:inherit;display:grid}.text-truncate[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-100);align-items:flex-start}.history[_ngcontent-%COMP%]{color:var(--cdc-fc200)}cd-card-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return E})()},4557:(re,j,t)=>{t.d(j,{A9:()=>y,AM:()=>v,Ck:()=>m,DZ:()=>u,Dp:()=>h,Ig:()=>_,Nl:()=>K,Nv:()=>A,RP:()=>r,St:()=>S,TR:()=>U,U8:()=>b,UH:()=>x,Uy:()=>M,Vt:()=>p,XW:()=>d,Y1:()=>L,_f:()=>g,dT:()=>D,dn:()=>P,hc:()=>l,iC:()=>C,l9:()=>s,qy:()=>$,yR:()=>Z});var n=t(16035);const l=(0,n.createAction)("[erezept-shared] prescription-request-list-success",(0,n.props)()),y=(0,n.createAction)("[erezept-shared] reset-prescription-order-data"),d=(0,n.createAction)("[erezept-shared] load-prescription-order-data"),p=(0,n.createAction)("[erezept-shared] load-prescription-order-data-failure",(0,n.props)()),g=(0,n.createAction)("[erezept-shared] load-prescription-order-data-success",(0,n.props)()),b=(0,n.createAction)("[erezept-shared] load-prescription-request-list"),C=(0,n.createAction)("[erezept-shared] load-prescription-request-list-failure"),x=(0,n.createAction)("[erezept-shared] submission-list-success",(0,n.props)()),h=(0,n.createAction)("[erezept-shared] submission-list-failure"),m=((0,n.createAction)("[erezept-shared] selected-medication-order-id-success",(0,n.props)()),(0,n.createAction)("[erezept-shared] manual-redeem-medication",(0,n.props)())),P=(0,n.createAction)("[erezept-shared] manual-redeem-medication-success"),s=(0,n.createAction)("[erezept-shared] manual-un-redeem-medication",(0,n.props)()),Z=(0,n.createAction)("[erezept-shared] manual-un-redeem-medication-success"),A=(0,n.createAction)("[erezept-shared] manual-redeem-prescription",(0,n.props)()),M=(0,n.createAction)("[erezept-shared] manual-redeem-prescription-success"),L=(0,n.createAction)("[erezept-shared] manual-un-redeem-prescription",(0,n.props)()),K=(0,n.createAction)("[erezept-shared] manual-un-redeem-prescription-success"),u=(0,n.createAction)("[erezept-shared] undo",(0,n.props)()),D=(0,n.createAction)("[erezept-shared] consistency-update-add-missing-submissions-success"),v=(0,n.createAction)("[erezept-shared] consistency-update-add-missing-submissions-failure"),r=(0,n.createAction)("[erezept-shared] consistency-update-remove-superfluous-submissions-success"),S=(0,n.createAction)("[erezept-shared] consistency-update-remove-superfluous-submissions-failure"),_=(0,n.createAction)("[erezept-shared] delete prescription",(0,n.props)()),$=(0,n.createAction)("[erezept-shared] delete prescription failure"),U=(0,n.createAction)("[erezept-shared] delete prescription success")},5313:(re,j,t)=>{t.d(j,{BE:()=>p,EI:()=>m,EO:()=>K,Gj:()=>L,RT:()=>h,Wf:()=>A,cb:()=>P,d:()=>e,dA:()=>l,jb:()=>Z,mD:()=>g,nE:()=>x,sZ:()=>C,wU:()=>B,yz:()=>M});var n=t(77052);const e=`/${n.g.BASE}`,l=`/${n.g.BASE}/${n.g.OVERVIEW}`,p=`/${n.g.BASE}/${n.g.FOLLOW_UP}/${n.g.SUCCESS}`,g=`/${n.g.BASE}/${n.g.HISTORY}`,C=`/${n.g.BASE}/${n.g.DETAIL}`,x=`/${n.g.BASE}/${n.g.DETAIL_ID_DYNAMIC}`,h=`/${n.g.BASE}/${n.g.ORDER}`,B=`/${n.g.BASE}/${n.g.ORDER}/${n.g.HISTORY}`,m=`/${n.g.BASE}/${n.g.ORDER}/${n.g.DETAIL}`,P=`/${n.g.BASE}/${n.g.EXTERNAL}`,Z=`/${n.g.BASE}/${n.g.ONSITE_OR_SHIP_PRESCRIPTION}/${n.g.SHIP_PRESCRIPTION_ORDER_RESULT}`,A=`/${n.g.BASE}/${n.g.ONSITE_OR_SHIP_PRESCRIPTION}/${n.g.SHIP_PRESCRIPTION_CHECKOUT}`,M=`/${n.g.BASE}/${n.g.ONSITE_OR_SHIP_PRESCRIPTION}`,L=`/${n.g.BASE}/${n.g.ADHOC_FEATURE_ENTRY}`,K=`/${L}/${n.g.ADHOC_SECURITY_QUESTION}`},12951:(re,j,t)=>{t.d(j,{f:()=>Z});var n=t(87199),l=t(90163),d=t(75313),p=t(39095),g=t(58762),b=t(12613),x=t(22146),B=t(28805),m=t(97487),P=t(75281);let Z=(()=>{class A{static{this.\u0275fac=function(K){return new(K||A)}}static{this.\u0275mod=P.\u0275\u0275defineNgModule({type:A})}static{this.\u0275inj=P.\u0275\u0275defineInjector({imports:[n.CommonModule,x.FeatureToggleModule,b.IconModule,g.G,l.RouterModule,m.b,B.Z,d.t,p.I]})}}return A})()},14444:(re,j,t)=>{t.d(j,{a:()=>d});var n=t(66283),l=t(75281);let d=(()=>{class p{static{this.\u0275fac=function(C){return new(C||p)}}static{this.\u0275cmp=l.\u0275\u0275defineComponent({type:p,selectors:[["app-erezept-card-skeleton"]],decls:19,vars:0,consts:[[1,"card-container"],[1,"header-container"],[1,"circle"],[1,"content-container"],[1,"text"],[1,"section-container"],[1,"status-box"],[1,"list"],[1,"bullet"]],template:function(C,x){1&C&&(l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275element(2,"cd-skeleton-circle",2),l.\u0275\u0275elementStart(3,"div",3),l.\u0275\u0275element(4,"cd-skeleton-rectangle",4)(5,"cd-skeleton-rectangle",4),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(6,"hr"),l.\u0275\u0275elementStart(7,"div",5)(8,"div",3),l.\u0275\u0275element(9,"cd-skeleton-rectangle",6),l.\u0275\u0275elementStart(10,"div",7)(11,"span",8),l.\u0275\u0275text(12,"\u2022"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(13,"cd-skeleton-rectangle",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(14,"div",7)(1
15,"span",8),l.\u0275\u0275text(16,"\u2022"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(17,"cd-skeleton-rectangle",4),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(18,"cd-skeleton-button"),l.\u0275\u0275elementEnd()())},dependencies:[n.SkeletonLoaderModule,n.SkeletonButtonComponent,n.SkeletonCircleComponent,n.SkeletonRectangleComponent],styles:["[_nghost-%COMP%]{background-color:var(--neutrals-light);border:1px solid var(--gray-medium);border-radius:var(--cdc-shape-corner-100);box-shadow:0 16px 24px #b2b2b224,0 6px 30px #b2b2b21f,0 8px 10px #b2b2b233;overflow:hidden}.card-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr)}.header-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:var(--cdc-sizing-600) 1fr;gap:var(--cdc-spacing-200);padding:var(--cdc-spacing-200);background-color:var(--gray-light)}@media screen and (min-width: 905px){.header-container[_ngcontent-%COMP%]{padding:var(--cdc-spacing-300)}}.section-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--cdc-spacing-300);padding:var(--cdc-spacing-200)}@media screen and (min-width: 905px){.section-container[_ngcontent-%COMP%]{padding:var(--cdc-spacing-300)}}.content-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-100)}.status-box[_ngcontent-%COMP%]{width:160px;height:24px;display:flex;max-width:100%}.list[_ngcontent-%COMP%]{display:grid;grid-template-columns:var(--cdc-sizing-300) 1fr}.bullet[_ngcontent-%COMP%]{justify-self:center}.circle[_ngcontent-%COMP%]{width:48px;height:48px}.text[_ngcontent-%COMP%]{max-width:480px;height:20px;width:100%}"]})}}return p})()},15270:(re,j,t)=>{t.d(j,{o:()=>n});var n=function(e){return e.Requested="REQUESTED",e.Issued="ISSUED",e.Rejected="REJECTED",e.Cancelled="CANCELLED",e.Removed="REMOVED",e.Mixed="MIXED",e}(n||{})},19150:(re,j,t)=>{t.d(j,{u:()=>l});var n=t(16035);const l=(0,n.createAction)("[order-shared] select-pharmacy",(0,n.props)())},22147:(re,j,t)=>{t.d(j,{$i:()=>l,Bt:()=>x,Ff:()=>s,J9:()=>P,L7:()=>g,Rk:()=>M,We:()=>d,Xo:()=>A,f6:()=>B,hg:()=>C,kQ:()=>Z,o$:()=>b,qN:()=>h,s:()=>m});var n=t(16035);const l=(0,n.createAction)("[order-shared] favorite-pharmacy-list-success",(0,n.props)()),d=((0,n.createAction)("[order-shared] favorite-pharmacy-list-failure"),(0,n.createAction)("[order-shared] prescription-success",(0,n.props)())),g=((0,n.createAction)("[order-shared] prescription-failure"),(0,n.createAction)("[order-shared] load-geolocation")),b=(0,n.createAction)("[order-shared] load-geolocation-success",(0,n.props)()),C=(0,n.createAction)("[order-shared] load-geolocation-failure"),x=(0,n.createAction)("[order-shared] load-prescription-attachment-success",(0,n.props)()),h=(0,n.createAction)("[order-shared] load-prescription-attachment-failure"),B=(0,n.createAction)("[order-shared] generate-session-id"),m=(0,n.createAction)("[order-shared] generate-session-id-success",(0,n.props)()),P=(0,n.createAction)("[order-shared] generate-session-id-failure"),s=(0,n.createAction)("[order-shared] perform-e-health-tec-order"),Z=(0,n.createAction)("[order-shared] perform-e-health-tec-order-success"),A=(0,n.createAction)("[order-shared] perform-e-health-tec-order-failure",(0,n.props)()),M=(0,n.createAction)("[order-shared] set-is-adhoc-process",(0,n.props)())},22971:(re,j,t)=>{t.d(j,{U:()=>n});var n=function(e){return e.Requested="REQUESTED",e.Issued="ISSUED",e.Rejected="REJECTED",e.PartiallyIssued="PARTIALLY_ISSUED",e.PartiallyRejected="PARTIALLY_REJECTED",e}(n||{})},23529:(re,j,t)=>{t.d(j,{G:()=>C});var n=t(54319),e=t(75281),l=t(24200),y=t(81508),d=t(63714),p=t(903),g=t(58286);let b=(()=>{class x{constructor(B,m,P){this.medicalService=B,this.erezeptValidatorService=m,this.localStorageService=P,this.notificationCount$=new l.BehaviorSubject(null),this.localStorageName="ErezeptNotificationDot"}triggerLoadNotificationCount(){this.medicalService.getErezeptMdoList$().pipe((0,y.tap)(B=>this.setValidPrescriptionCount(B)),(0,y.first)()).subscribe()}getNotificationCount$(){return this.notificationCount$.asObservable()}resetNotificationCount(){this.notificationCount$.next(null),this.mdoIdList?.length>0&&this.localStorageService.setObjectItem(this.localStorageName,this.mdoIdList)}setValidPrescriptionCount(B){const m=this.readSavedPrescriptionFromLocalStorage(),P=B.filter(s=>s.type===d.PrescriptionType.DIGITAL&&this.erezeptValidatorService.isPrescriptionDateV
1alid(s.date)).map(s=>s.id).filter(s=>!m.includes(s));this.mdoIdList=[...new Set([...m,...P])],this.notificationCount$.next(P.length)}readSavedPrescriptionFromLocalStorage(){const B=this.localStorageService.getObjectItem(this.localStorageName);return void 0===B?[]:B}static{this.\u0275fac=function(m){return new(m||x)(e.\u0275\u0275inject(d.MedicalService),e.\u0275\u0275inject(p.Z),e.\u0275\u0275inject(g.LocalStorageService))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})(),C=(()=>{class x{constructor(B){this.erezeptNotificationService=B,this.notificationServiceList=new Map,this.notificationServiceList.set(n._.E_PRESCRIPTION,this.erezeptNotificationService)}triggerLoadNotificationCountByType(B){this.notificationServiceList.get(B).triggerLoadNotificationCount()}getNotificationCountByType$(B){return this.notificationServiceList.get(B).getNotificationCount$()}resetNotificationCounterByType(B){this.notificationServiceList.get(B).resetNotificationCount()}resetAllNotificationCounter(){this.notificationServiceList.forEach(B=>B.resetNotificationCount())}static{this.\u0275fac=function(m){return new(m||x)(e.\u0275\u0275inject(b))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})()},28805:(re,j,t)=>{t.d(j,{Z:()=>P});var n=t(87199),l=t(75313),y=t(28606),p=t(75281),b=t(58286),x=t(63386);const h=s=>({france:s});function B(s,Z){if(1&s&&(p.\u0275\u0275elementStart(0,"div",5)(1,"h3",6),p.\u0275\u0275text(2),p.\u0275\u0275pipe(3,"translate"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(4,"div",7)(5,"a",8),p.\u0275\u0275pipe(6,"translate"),p.\u0275\u0275element(7,"img",9),p.\u0275\u0275pipe(8,"translate"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(9,"a",8),p.\u0275\u0275pipe(10,"translate"),p.\u0275\u0275element(11,"img",9),p.\u0275\u0275pipe(12,"translate"),p.\u0275\u0275elementEnd()()()),2&s){const A=p.\u0275\u0275nextContext(2);p.\u0275\u0275advance(2),p.\u0275\u0275textInterpolate1(" ",p.\u0275\u0275pipeBind1(3,10,"start_page_native_clickdoc_app_download_headline")," "),p.\u0275\u0275advance(2),p.\u0275\u0275property("ngClass",p.\u0275\u0275pureFunction1(20,h,"fr"===A.countryCode)),p.\u0275\u0275advance(),p.\u0275\u0275property("href",p.\u0275\u0275pipeBind1(6,12,"app-store.link"),p.\u0275\u0275sanitizeUrl),p.\u0275\u0275attribute("data-web-test","lp-clickdoc-app-store-button"),p.\u0275\u0275advance(2),p.\u0275\u0275property("src",A.correctAppStoreBagde,p.\u0275\u0275sanitizeUrl),p.\u0275\u0275attribute("alt",p.\u0275\u0275pipeBind1(8,14,"start_page_download_the_app_store")),p.\u0275\u0275advance(2),p.\u0275\u0275property("href",p.\u0275\u0275pipeBind1(10,16,"google-play.link"),p.\u0275\u0275sanitizeUrl),p.\u0275\u0275attribute("data-web-test","lp-clickdoc-google-play-button"),p.\u0275\u0275advance(2),p.\u0275\u0275property("src",A.correctGooglePlayBadge,p.\u0275\u0275sanitizeUrl),p.\u0275\u0275attribute("alt",p.\u0275\u0275pipeBind1(12,18,"start_page_google_play_download_android"))}}function m(s,Z){if(1&s&&(p.\u0275\u0275elementStart(0,"div",1)(1,"div",2)(2,"div",3),p.\u0275\u0275element(3,"app-login-user-content"),p.\u0275\u0275elementEnd(),p.\u0275\u0275template(4,B,13,22,"div",4),p.\u0275\u0275elementEnd()()),2&s){const A=p.\u0275\u0275nextContext();p.\u0275\u0275advance(4),p.\u0275\u0275property("ngIf",A.layoutMobileNavigation.showNativeDownloadBadges)}}let P=(()=>{class s{constructor(A,M,L){this.renderer=A,this.breakpointsService=M,this.hostEnvironmentService=L}ngOnInit(){this.correctAppStoreBagde=this.showCorrectBagde("apple-store"),this.correctGooglePlayBadge=this.showCorrectBagde("google-play-store"),this.countryCode=this.hostEnvironmentService.getEnvironment().configuration,this.layoutMobileNavigation=this.hostEnvironmentService.getAppConfig().layout.mobile.navigation,this.isSmallView$=this.breakpointsService.isSmallView$()}ngOnDestroy(){this.renderer.removeClass(document.body,"modal-open"),this.renderer.removeStyle(document.body,"overflow-y")}showCorrectBagde(A){const M=this.hostEnvironmentService.getEnvironment().configuration;return"de"===M?`assets/img/footer/${A}-badge-de.svg`:"fr"===M?`assets/img/footer/${A}-badge-fr.svg`:`assets/img/footer/${A}-badge.svg`}static{this.\u0275fac=function(M){return new(M||s)(p.\u0275\u0275directiveInject(p.Renderer2),p.\u0275\u0275directiveInject(b.BreakpointsService),p.\u0275\u0275directiveInject(x.N))}}static{this.\u0275cmp=p.\u0275\u0275defineComponent({type:s,selectors:[["app-login-or-register"]],decls:2,vars:3,consts:[["class","login-or-register-modal",4,"ngIf"],[1,"login-or-register-modal"],[1,"modal-container"],[1,"separator"],["class","downloads",4,"ngIf"],[1,"downloads"],[1,"t3-center"],[1,"app-download",3,"ngClass"],["target","_blank","rel","noopener",3,"href"],["loading","lazy",3,"src"]],template:function(M,L){1&M&&(p.\u0275\u0275template(0,m,5,1,"div",0),p.\u0275\u0275pipe(1,"async")),2&M&&p.\u0275\u0275property("ngIf",p.\u0275\u0275pipeBind1(1,1,L.isSmallView$))},dependencies:[n.NgIf,l.t,n.NgClass,n.AsyncPipe,y.TranslatePipe],styles:[".login-or-register-modal[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;text-align:left}
1.login-or-register-modal[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%]{background-image:linear-gradient(var(--neutrals-light),var(--neutrals-light));height:calc(100vh - 30px);width:100vw;display:flex;flex-direction:column;padding-bottom:var(--cdc-spacing-400);position:fixed;overflow:auto;margin-top:0;top:0;transform:translateY(-50%)}.login-or-register-modal[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{border-bottom:16px solid var(--gray-light)}.login-or-register-modal[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .downloads[_ngcontent-%COMP%]{padding:32px 24px}.login-or-register-modal[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .downloads[_ngcontent-%COMP%] .t3-center[_ngcontent-%COMP%]{font-family:var(--font-family-roboto);font-size:24px;font-weight:500;line-height:1.33;margin-bottom:24px;color:var(--neutrals-dark)}.login-or-register-modal[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .downloads[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-family:var(--font-family-roboto);font-size:16px;line-height:1.5;letter-spacing:.44px;color:#fff;margin-bottom:32px}.login-or-register-modal[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .downloads[_ngcontent-%COMP%] .app-download[_ngcontent-%COMP%]{display:flex}.login-or-register-modal[_ngcontent-%COMP%] .modal-container[_ngcontent-%COMP%] .downloads[_ngcontent-%COMP%] .app-download[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 16px 24px 0;height:45px;max-width:100%;min-width:-webkit-fill-available;min-width:-moz-available;min-width:stretch}"],changeDetection:0})}}return s})()},32314:(re,j,t)=>{t.d(j,{o:()=>_});var n=t(24200),e=t(93960),l=t(75281),y=t(60648),d=t(71910),p=t(40537),g=t(63386),b=t(12546),C=t(58286),x=t(87199),h=t(72982),B=t(81508),m=t(43209),P=t.n(m);var Z=t(94554),A=t(55720),M=t(87068),L=t(31360),K=t(2812),u=t(90163),D=t(29318);let v=(()=>{class ${constructor(I,E,T,f,k,Q,X,ee){this.sdkService=I,this.cryptoService=E,this.physicianSearchService=T,this.physicianMapperService=f,this.contactService=k,this.toastrService=Q,this.router=X,this.appAppointmentService=ee,this.patientService=this.sdkService.getPatientService()}acquireAppointment$(I,E){const T=this.cryptoService.parseBase64(E),f=this.appAppointmentService.acquireAppointment(I,T,null);return(0,n.from)(f)}redirectUserBasedOnAppointmentStatus$(I,E){return this.physicianSearchService.findPhysician(E).pipe((0,B.mergeMap)(T=>this.contactService.getContacts$().pipe((0,B.mergeMap)(f=>{const Q=!!f.find(X=>X.value?.referenceId===T.id);return Q?(this.navigateToPhysicianBasedOnAppointmentStatus(I.status,I.onboardingStatus,T),this.displayToastMesage(I,T,Q),(0,n.of)(!0)):this.contactService.createContact(T,!1).pipe((0,B.mergeMap)(()=>(this.navigateToPhysicianBasedOnAppointmentStatus(I.status,I.onboardingStatus,T),this.displayToastMesage(I,T,Q),(0,n.of)(!0))))}))))}grantAccess$(I){return(0,n.from)(this.patientService.grantAccess([I]))}navigateToPhysicianBasedOnAppointmentStatus(I,E,T){this.router.navigate("REMOTE_ACCEPTED"!==I||"CONFIRMED"!==E&&"CONFIRMED_PROCESSED"!==E?this.physicianMapperService.getPhysicianUrl(T,!1):["my-appointments"])}displayToastMesage(I,E,T){let f;T||(f=this.getToastrData(I,E,Z.a.SuccessAddedPhysicianToFavorite),this.toastrService.addMessage("toast.favorite.added.physician-message",f,"success",15)),"REMOTE_ACCEPTED"!==I.status||"CONFIRMED"!==I.onboardingStatus&&"CONFIRMED_PROCESSED"!==I.onboardingStatus?(f=this.getToastrData(I,E,Z.a.UnsuccessfulBookedAppointment),this.toastrService.addMessage("toast.unbooked.appointment-message",f,"warning",15)):(f=this.getToastrData(I,E,Z.a.SuccessBookedAppointment),this.toastrService.addMessage("toast.booked.appointment-message",f,"success",15))}getToastrData(I,E,T){let f;const k=E.extendedName?E.extendedName:E.name;switch(T){case Z.a.SuccessBookedAppointment:f={physicianName:k,appointmentDate:P()(I.date).add(I.timeOffset/60,"hour"),title:"toast.booked.appointment-title",case:Z.a.SuccessBookedAppointment};break;case Z.a.SuccessAddedPhysicianToFavorite:f={physicianName:k,title:"toast.favorite.added.physician-title",case:Z.a.SuccessAddedPhysicianToFavorite};break;case Z.a.UnsuccessfulBookedAppointment:f={title:"toast.unbooked.appointment-title"}}return f}static{this.\u0275fac=function(E){return new(E||$)(l.\u0275\u0275inject(A.SdkService),l.\u0275\u0275inject(M.CryptoService),l.\u0275\u0275inject(L.PhysicianSearchService),l.\u0275\u0275inject(b.PhysicianMapperService),l.\u0275\u0275inject(d.ContactService),l.\u0275\u0275inject(K.t),l.\u0275\u0275inject(u.Router),l.\u0275\u0275inject(D.AppApp
1ointmentService))}}static{this.\u0275prov=l.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();var r=t(68978),S=t(71422);let _=(()=>{class ${constructor(I,E,T,f,k,Q,X,ee,H,ge,fe,Pe,Ee,xe,ye,ve,ne,Se,F){this.authStateService=I,this.contactService=E,this.contractService=T,this.hostEnvironmentService=f,this.institutionMapperService=k,this.loaderService=Q,this.localStorageService=X,this.location=ee,this.loginService=H,this.onboardingAppointmentService=ge,this.physicianMapperService=fe,this.physicianSearchService=Pe,this.practiceService=Ee,this.router=xe,this.sdkService=ye,this.userProfileService=ve,this.clientTokenService=ne,this.shellService=Se,this.assistantConfigurationStateService=F,this.clientTokenKey="u-datr",this.accountService=this.sdkService.getAccountService()}oneTimeLogin$(){const I=this.hostEnvironmentService.getEnvironment().configuration,E=new URLSearchParams(window.location.search),T=E.get("authToken"),f=E.get("practiceId"),k=E.get("physicianId"),Q=E.get("appointmentId"),X=!!E.get("lp"),ee=E.get("appointmentKey"),H=E.get("sas"),ge=E.get("eq");return H&&"fr"!==I?(0,n.of)(!0):this.loginService.loginWithOneTimePassword(T).pipe((0,n.tap)(fe=>{H&&this.assistantConfigurationStateService.loginOptionalData$.updateState(fe?.optionalData||{})}),(0,n.map)(fe=>this.parseSingleSignOnData(fe)),(0,n.switchMap)(fe=>H?(this.userProfileService.updateUserProfile({}),(0,n.of)(!0)):(this.authStateService.singleSignOnData$.updateState(fe),this.authStateService.userAuthTokenConfigState$.updateState({country:I,practiceId:f,physicianId:k,appointmentId:Q,commingFromLandingPage:X,appointmentKey:ee,singleSignOnPayload:fe}),"de"===I?this.tryEnrollUserOrUpdateItsContracts$():this.loginUserWithAuthenticationToken$(ge))),(0,n.catchError)(()=>(this.userProfileService.updateUserType(e.UserTypeEnum.PATIENT),this.loaderService.hideLoader(),this.router.navigate([""]),(0,n.of)(!1))))}redirectUserWhenEnrollmentProcessIsCanceled(){this.loginService.logout();const I=this.authStateService.userAuthTokenConfigState$.getStateValue();if(I.singleSignOnPayload.insuranceType="",I.singleSignOnPayload&&I.singleSignOnPayload.insuranceType&&(I.singleSignOnPayload.insuranceType="",this.authStateService.userAuthTokenConfigState$.updateState(I)),I.physicianId){const T=this.getParsedPhysicianLink(I.physicianId);return void this.router.navigate([T])}if(I.practiceId){const T=this.institutionMapperService.getParsedInstitutionLink(I.practiceId);return void this.router.navigate([T])}const{redirect:E}=I.singleSignOnPayload;return E&&"APPOINTMENT"!==E.target?void this.handleSingleSignOnRedirect(E.target,E.id):(this.loaderService.hideLoader(),void this.router.navigate([""]))}getParsedPhysicianLink(I){return this.hostEnvironmentService.getAppConfig().doctor.urlSegment.base+"/"+I}proceedWithEnrollmentProcess$(){return this.authStateService.userContractsEnrollmentState$.getState$().pipe((0,n.switchMap)(I=>I.isUserEnrolled?this.updateUserContractsAndLoginWithAuthToken$():this.enrollUserAndLoginWithAuthToken$()))}loginUserWithAuthenticationToken$(I){return this.authStateService.userAuthTokenConfigState$.getState$().pipe((0,n.switchMap)(E=>this.userProfileService.getProfile$({withAvatar:!0}).pipe((0,n.map)(T=>(this.userProfileService.updateUserProfile(T),T)),(0,n.tap)(()=>{this.userHasTheSameClientToken()?this.disableSessionExpiration():(this.localStorageService.removeItem(this.clientTokenKey),this.enableSessionExpiration())}),(0,n.switchMap)(()=>E.practiceId?this.onboardingAppointmentService.grantAccess$(E.practiceId):(0,n.of)(!0)),(0,n.mergeMap)(()=>E.appointmentKey||E.appointmentId?(E.appointmentKey=decodeURI(E.appointmentKey),this.onboardingAppointmentService.acquireAppointment$(E.appointmentId,E.appointmentKey).pipe((0,n.mergeMap)(T=>this.onboardingAppointmentService.redirectUserBasedOnAppointmentStatus$(T,T.physicianId)))):(0,n.of)(!0)),(0,n.switchMap)(()=>!E.practiceId||E.appointmentKey||E.appointmentId?(0,n.of)(!1):this.navigateToPracticeFromCms$(E.practiceId,E.commingFromLandingPage)),(0,n.switchMap)(T=>
1!E.physicianId||E.appointmentKey||E.appointmentId?(0,n.of)(T):this.navigateToPhysicianFromCms$(E.physicianId,E.commingFromLandingPage)),(0,n.map)(T=>{if(E.appointmentKey&&E.appointmentId)return!1;const{redirect:f}=E.singleSignOnPayload;if(f)return this.handleSingleSignOnRedirect(f.target,f.id);if(!E.practiceId&&!E.physicianId){const k=this.location.path().split("?")[0].split("/");""===k[0]&&k.shift();const Q=k.length?k:"de"===E.country?[""]:["search"],X=new URLSearchParams(window.location.search),ee={};X.forEach((H,ge)=>{H&&"authToken"!==ge&&(ee[ge]=H)}),I||this.router.navigate(Q,{queryParams:{authToken:null,...ee},queryParamsHandling:"merge",replaceUrl:!0}),T=!1}return T}),(0,n.catchError)(()=>(this.loaderService.hideLoader(),this.router.navigate([""]),(0,n.of)(!1))))))}userHasTheSameClientToken(){if(!this.clientTokenService.isClientTokenAvailable())return!1;const E=this.clientTokenService.getDecryptedClientToken(),T=this.shellService.getLoginState().getParticipantId();return E.participantId===T}disableSessionExpiration(){this.shellService.setAllowReLogin(!0)}enableSessionExpiration(){this.shellService.setAllowReLogin(!1)}navigateToPracticeFromCms$(I,E){return this.practiceService.getByCgmUid(I).pipe((0,n.switchMap)(T=>this.contactService.getContacts$().pipe((0,n.map)(f=>({institution:T,userContacts:f,isFavoriteContact:!1})))),(0,n.map)(T=>{const f=T.userContacts.find(k=>k.value?.refParticipant===I);return T.isFavoriteContact=f,T}),(0,n.switchMap)(T=>{const f=this.institutionMapperService.createInstitutionProfileLink(T.institution,!1);return T.isFavoriteContact||E?(this.router.navigate(f),(0,n.of)(!0)):this.contactService.createContact(T.institution,!0).pipe((0,n.map)(()=>(this.router.navigate(f),!0)))}))}navigateToPhysicianFromCms$(I,E){return this.physicianSearchService.getPhysicianById(I).pipe((0,n.switchMap)(T=>this.contactService.getContacts$().pipe((0,n.map)(f=>({institutionPhysician:T,userContacts:f,isFavoriteContact:!1})))),(0,n.map)(T=>{const f=T.userContacts.find(k=>k.value?.refParticipant===I);return T.isFavoriteContact=f,T}),(0,n.switchMap)(T=>{const f=this.physicianMapperService.getPhysicianUrl(T.institutionPhysician,!1);return T.isFavoriteContact||E?(this.router.navigate(f),(0,n.of)(!0)):this.contactService.createContact(T.institutionPhysician,!1).pipe((0,n.map)(()=>(this.router.navigate(f),!0)))}))}handleSingleSignOnRedirect(I,E){const T=this.hostEnvironmentService.getAppConfig();switch(I){case"APPOINTMENT":return this.router.navigate(["my-appointments","overview",E]),!0;case"DOCTOR":return this.router.navigate([T.doctor.urlSegment.base,E]),!0;case"PRACTICE":return this.router.navigate([T.institution.urlSegment.base,E]),!0;case"SEARCH":return this.router.navigate([""]),!0;default:return!1}}updateUserContractsAndLoginWithAuthToken$(){this.loaderService.displayLoader();const I=this.authStateService.contractTypeSuitesForUpdate$.getStateValue(),E=this.shellService.getLoginState().getParticipantId(),T=this.contractService.prepareEnrollUser(I,E);return this.contractService.changeContractModuleVersionForPatient$(T).pipe((0,n.switchMap)(()=>this.loginUserWithAuthenticationToken$()),(0,n.tap)(f=>{f||this.loaderService.hideLoader()}))}enrollUserAndLoginWithAuthToken$(){this.loaderService.displayLoader();const I=this.authStateService.contractTypeSuitesForEnrollment$.getStateValue(),E=this.shellService.getLoginState().getParticipantId(),T=this.contractService.prepareEnrollUser(I,E),f=this.accountService.enrollPatient(T).then(k=>k);return(0,n.from)(f).pipe((0,n.switchMap)(()=>this.loginUserWithAuthenticationToken$()),(0,n.tap)(k=>{k||this.loaderService.hideLoader()}))}parseSingleSignOnData(I){const E={};if(!I?.optionalData)return E;const{BACKLINK_NAME:T,BACKLINK_URL:f,REDIRECT_ID:k,REDIRECT_TARGET:Q,INSURANCE_TYPE:X}=I.optionalData;return f&&(E.backLink={url:f,text:T}),Q&&(E.redirect={target:Q,id:k}),X&&(E.insuranceType=X),E}tryEnrollUserOrUpdateItsContracts$(){return this.contractService.getServiceStatusOfParticipant$().pipe((0,n.map)(I=>(this.authStateService.userContractsStatusState$.updateState(I),this.contractService.isUserEnrolled(I))),(0,n.switchMap)(I=>
1{if(!I)return this.contractService.findContractTypeSuitesForEnrollment$().pipe((0,n.map)(T=>{const f=this.authStateService.userContractsStatusState$.getStateValue(),k=this.contractService.mapEnrollmentContractsInfo(T,f),Q=this.contractService.getEnrollmentAccountDescription(k);return this.authStateService.contractTypeSuitesForEnrollment$.updateState(T),this.authStateService.userContractsEnrollmentState$.updateState({title:"enrollment_account_title",description:Q,isUserEnrolled:!1}),!1}));const E=this.shellService.getLoginState().getParticipantId();return this.contractService.getContractTypeSuiteForVersionUpdate$(E).pipe((0,n.switchMap)(T=>{if(!T||!T.baseContractModule||!T.baseContractModule.contractModuleTypeDocuments.length)return this.authStateService.userContractsEnrollmentState$.updateState({isUserEnrolled:!0}),(0,n.of)(!0);const f=this.authStateService.userContractsStatusState$.getStateValue(),k=this.contractService.mapEnrollmentContractsInfo(T,f),Q=this.contractService.getEnrollmentAccountDescription(k);return this.authStateService.contractTypeSuitesForUpdate$.updateState(T),this.authStateService.userContractsEnrollmentState$.updateState({title:"enrollment_update_account_title",description:Q,isUserEnrolled:!0}),(0,n.of)(!1)}))}),(0,n.switchMap)(I=>I?this.loginUserWithAuthenticationToken$():(0,n.of)(!1)),(0,n.tap)(I=>{I||this.loaderService.hideLoader()}))}static{this.\u0275fac=function(E){return new(E||$)(l.\u0275\u0275inject(y.AuthStateService),l.\u0275\u0275inject(d.ContactService),l.\u0275\u0275inject(p.y),l.\u0275\u0275inject(g.N),l.\u0275\u0275inject(b.InstitutionMapperService),l.\u0275\u0275inject(C.LoaderService),l.\u0275\u0275inject(C.LocalStorageService),l.\u0275\u0275inject(x.Location),l.\u0275\u0275inject(h.LoginService),l.\u0275\u0275inject(v),l.\u0275\u0275inject(b.PhysicianMapperService),l.\u0275\u0275inject(L.PhysicianSearchService),l.\u0275\u0275inject(b.PracticeService),l.\u0275\u0275inject(u.Router),l.\u0275\u0275inject(A.SdkService),l.\u0275\u0275inject(e.UserProfileService),l.\u0275\u0275inject(y.ClientTokenService),l.\u0275\u0275inject(r.ShellService),l.\u0275\u0275inject(S.AssistantConfigurationStateService))}}static{this.\u0275prov=l.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})()},32341:(re,j,t)=>{t.d(j,{$S:()=>Pe,AQ:()=>D,Ex:()=>T,GV:()=>w,Gw:()=>G,Kf:()=>k,Lw:()=>Ee,MR:()=>ge,N9:()=>U,O5:()=>he,QT:()=>E,T$:()=>f,T2:()=>te,TL:()=>I,UH:()=>oe,VN:()=>fe,cO:()=>q,e5:()=>Me,fn:()=>u,jm:()=>Se,k:()=>S,k$:()=>V,nk:()=>r,uP:()=>H,v8:()=>ie,wx:()=>X});var n=t(96782),e=t(58286),y=t(16035),p=t(84287),b=t(43209),C=t.n(b),x=t(22971),h=t(64172),B=t(15270),m=t(46433),P=t(63714),Z=t(71198);const A=(0,y.createFeatureSelector)(n.i),M=(0,y.createSelector)(A,W=>W.submissionList?.data),L=(0,y.createSelector)(A,W=>W.submissionList?.state),K=(0,y.createSelector)(L,W=>W===e.LoadingState.Done),u=(0,y.createSelector)(A,W=>W.prescriptionList.data),D=(0,y.createSelector)(A,W=>W.prescriptionList.state),v=(0,y.createSelector)(A,W=>W.prescriptionRequestList.data),r=(0,y.createSelector)(A,W=>W.prescriptionRequestList.state),S=(0,y.createSelector)(A,W=>W.orderList.data),_=(0,y.createSelector)(A,W=>W.orderList.state),$=(0,y.createSelector)(S,W=>{if(W)return[...W].sort(ze)}),U=(0,y.createSelector)(M,u,$,(W,ae,pe)=>ae.map(Ce=>Ce.type===P.PrescriptionType.DIGITAL?function Xe(W,ae,pe){W=W??[];const Ce=function et(W,ae){return ae.find(pe=>!!pe.medicationIdList?.find(Ce=>Ce===W))}(ae.id,pe=pe??[]),{id:be,createdOn:Oe}=function tt(W,ae){return ae.find(pe=>!!pe.prescriptionIdList?.find(Ce=>Ce===W))}(ae.id,W)??{},Ye=ae.medicationList,Ge={...ae,submissionId:be,medicationList:(0,p.map)(ae.medicationList,Ke=>function Ze(W,ae,pe,Ce){const be=ae??function qe(W,ae){return ae.find(pe=>!!pe.medicationIdList?.find(Ce=>Ce===W))}(W.id,pe),Oe=m._A.getMedicationStatus(W,be,Ce);return{...W,status:Oe}}(Ke,Ce,pe,Oe))};let We;if(Ye&&0!==Ye.length){const Ke=(0,p.map)(Ge.medicationList,Je=>Je.status);We=m._A.getDigitalPrescriptionStatusFromMedications(Ke)}else We=[m._A.getDigitalPrescriptionStatus(ae.date,Ce,Oe)];return{...Ge,statusList:We}}(W,Ce,pe):Ce)),I=W=>(0,y.createSelector)(U,ae=>ae?.find(pe=>pe.id===W)),E=(0,y.createSelector)(S,W=>W.filter(ae=>[h.R.IN_PROGRESS,h.R.READY_FOR_DELIVERY,h.R.READY_FOR_PICKUP].includes(ae.status))),T=(0,y.createSelector)(S,W=>
1W.filter(m.Gn.isHistory)),f=(0,y.createSelector)(S,W=>W.filter(ae=>[h.R.CANCELED].includes(ae.status))),k=(0,y.createSelector)(_,W=>W===e.LoadingState.Loading),Q=(0,y.createSelector)(_,W=>W===e.LoadingState.Done),X=(0,y.createSelector)(U,W=>[...W].sort((ae,pe)=>pe.date.getTime()-ae.date.getTime())),H=((0,y.createSelector)(X,W=>W.map(ae=>ae.id)),(0,y.createSelector)(X,W=>(0,p.filter)(W,_e))),ge=(0,y.createSelector)(X,W=>W.filter(m.e_.isHistory)),fe=(0,y.createSelector)(D,W=>W===e.LoadingState.Loading),Pe=(0,y.createSelector)(D,W=>W===e.LoadingState.Done),Ee=(0,y.createSelector)(U,W=>W.filter(ae=>ae.type===P.PrescriptionType.PHOTO)),xe=(0,y.createSelector)(X,W=>W.filter(ae=>ae.type===P.PrescriptionType.PHOTO)),Se=((0,y.createSelector)(xe,W=>W.map(ae=>ae.id)),(0,y.createSelector)(xe,W=>(0,p.filter)(W,_e)),(0,y.createSelector)(xe,W=>W.filter(m.e_.isHistory)),(0,y.createSelector)(U,W=>W.filter(ae=>ae.type===P.PrescriptionType.DIGITAL))),F=(0,y.createSelector)(X,W=>W.filter(ae=>ae.type===P.PrescriptionType.DIGITAL)),w=((0,y.createSelector)(F,W=>W.map(ae=>ae.id)),(0,y.createSelector)(F,W=>(0,p.filter)(W,_e))),oe=((0,y.createSelector)(F,W=>(0,p.filter)(W,m.e_.isHistory)),(0,y.createSelector)(Se,W=>{const ae=W.map(pe=>pe.originator);return(0,p.uniqBy)(ae,pe=>pe.refParticipant)})),q=((0,y.createSelector)(r,W=>W===e.LoadingState.Done),(0,y.createSelector)(r,W=>W===e.LoadingState.Loading)),Me=(0,y.createSelector)(v,oe,(W,ae)=>function Te(W,ae){return(0,p.values)((0,p.groupBy)(W,be=>be.createdOn.toDateString())).map(be=>(0,p.values)((0,p.groupBy)(be,Oe=>Oe.institutionId))).flat().map(be=>({originator:Re(ae,be[0].institutionId),createdOn:be[0].createdOn,status:Ie(be),requestList:Le(be)}))}(W,ae)),G=(0,y.createSelector)(Me,W=>W.filter(ae=>!m.tK.isHistory(ae))),V=(0,y.createSelector)(Me,W=>W.filter(m.tK.isHistory)),ie=(0,y.createSelector)(ge,V,(W,ae)=>[W,ae]),te=(0,y.createSelector)(fe,q,(W,ae)=>W||ae),he=(0,y.createSelector)(Pe,Q,K,(W,ae,pe)=>W&&ae&&pe);function _e(W){return!m.e_.isHistory(W)}function Le(W){return W.map(({id:ae,code:pe,status:Ce})=>({id:ae,code:pe,status:Ce}))}function Ie(W){return W.every(Oe=>Oe.status===B.o.Issued)?x.U.Issued:W.every(Oe=>Oe.status===B.o.Rejected)?x.U.Rejected:W.some(Oe=>Oe.status===B.o.Rejected)?x.U.PartiallyRejected:W.some(Oe=>Oe.status===B.o.Issued)?x.U.PartiallyIssued:x.U.Requested}
1function Re(W,ae){return W.find(pe=>pe.refParticipant===ae)||Z.e.parse({})}function ze(W,ae){return C()(W.orderDate).isAfter(C()(ae.orderDate))?-1:1}},33088:(re,j,t)=>{t.d(j,{i:()=>n});var n=function(e){return e.CANCELLED="CANCELLED",e.COMPLETED="COMPLETED",e.EXPIRED="EXPIRED",e.NEW="NEW",e.REDEEMED="REDEEMED",e}(n||{})},34371:(re,j,t)=>{t.d(j,{q:()=>C});var n=t(24200),l=t(81508),d=t(75281),g=t(55720);let C=(()=>{class x{constructor(B){this.sdkService=B,this.sdkPrescriptionService=this.sdkService.getPrescriptionService()}findOrderableDrugList$(B){if(0===B.length)return(0,n.of)([]);const m=B.map(P=>P.refParticipant);return(0,n.from)(this.sdkPrescriptionService.findOrderableDrugs(m,!1)).pipe((0,l.map)(P=>P.map(s=>this.mapToOrderableDrug(s,B))))}requestPrescriptionList$(B,m){return(0,n.from)(this.sdkPrescriptionService.requestPrescriptions(B,m))}getMyPrescriptionRequestList$(B){return(0,n.from)(this.sdkPrescriptionService.getMyPrescriptionRequests(B))}cancelPrescriptionRequests$(B){return(0,n.from)(this.sdkPrescriptionService.cancelPrescriptionRequests(B))}mapToOrderableDrug(B,m){if(!B)return{code:null,dosageForm:null,id:null,lastPrescriptionDate:null,name:null,originator:null};const P=m.find(L=>L.refParticipant===B?.institutionId),{id:s,code:Z,lastPrescriptionDate:A,dosageForm:M}=B;return{code:Z?.code,dosageForm:M,id:s,lastPrescriptionDate:A,name:Z?.description,originator:P}}static{this.\u0275fac=function(m){return new(m||x)(d.\u0275\u0275inject(g.SdkService))}}static{this.\u0275prov=d.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})()},34869:(re,j,t)=>{t.d(j,{J:()=>n});var n=function(e){return e.CANCELED="CANCELED",e.COMPLETED="COMPLETED",e.EXPIRED="EXPIRED",e.NEW="NEW",e.PARTIALLY_CANCELED="PARTIALLY_CANCELED",e.PARTIALLY_COMPLETED="PARTIALLY_COMPLETED",e.PARTIALLY_EXPIRED="PARTIALLY_EXPIRED",e.PARTIALLY_REDEEM="PARTIALLY_REDEEM",e.REDEEM="REDEEM",e}(n||{})},36350:(re,j,t)=>{t.d(j,{N:()=>T});var n=t(90163),l=t(58286),d=t(24200),g=t(81508),C=t(43209),x=t.n(C),h=t(68995),m=t(14887),s=t(40603),A=t(83515),L=t(28606),u=t(75281),v=t(63386),r=t(93960),_=t(12546),U=t(31360);const E=(f,k)=>({appointmentType:f,appointmentProvider:k});let T=(()=>{class f{constructor(Q,X,ee,H,ge,fe,Pe,Ee){this.hostEnvironmentService=Q,this.googleTagManagerService=X,this.router=ee,this.sharedService=H,this.userProfileService=ge,this.cdr=fe,this.physicianMapperService=Pe,this.physicianSearchService=Ee,this.isUserLoggedIn=!1}ngOnInit(){this.environment=this.hostEnvironmentService.getEnvironment(),this.currentUrl=window.location.origin+this.router.url,this.prepareIncompleteBookingBanner(),this.getPhysician().subscribe(),this.registerRouterEvents(),this.userProfileChanges=this.userProfileService.userProfileChanged$().pipe((0,d.tap)(Q=>{this.isUserLoggedIn=!!Q,this.prepareIncompleteBookingBanner()})).subscribe()}ngOnDestroy(){this.routerEvents.unsubscribe(),this.userProfileChanges.unsubscribe()}confirmExistingAppointment(){this.setSummaryInformation(),this.summaryInformation?(this.trackData({event:"appointmentBookingContinue",physicianName:this.summaryInformation.healthcareProvider,appointmentType:this.summaryInformation.appointmentTypeName,selectedPhysicianId:this.summaryInformation.selectedPhysicianId,isLoggedIn:this.isUserLoggedIn}),this.router.navigateByUrl(this.summaryInformation.forwardingUrl),this.sharedService.bannerSubject$.updateState(!1)):this.sharedService.bannerSubject$.updateState(!1)}cancelExistingAppointment(){this.trackData({event:"appointmentBookingCancel"}),localStorage.removeItem(`appointmentSummaryInformation-${this.environment.configuration}`),this.sharedService.bannerSubject$.updateState(!1)}prepareIncompleteBookingBanner(){this.setSummaryInformation(),this.appointmentType=this.summaryInformation.appointmentTypeName,this.setDate(),this.continueBookingUrl=this.summaryInformation.profileUrl}checkIncompleteBooking(){if(this.setSummaryInformation(),!this.summaryInformation)return;const Q=new Date(this.summaryInformation.expirationDate),X=new Date;this.setDate(),X>Q&&(localStorage.removeItem(`appointmentSummaryInformation-${this.environment.configuration}`),this.sharedService.bannerSubject$.updateState(!1))}trackData(Q){this.googleTagManagerService.pushTag(Q)}setSummaryInformation(){this.summaryInformation=JSON.parse(localStorage.getItem(`appointmentSummaryInformation-${this.environment.configuration}`))}registerRouterEvents(){this.routerEvents=this.router.events.pipe((0,d.filter)(Q=>
1Q instanceof n.NavigationEnd||Q instanceof n.NavigationStart),(0,d.tap)(()=>{this.currentUrl=window.location.origin+this.router.url,this.checkIncompleteBooking(),this.cdr.detectChanges()}),(0,d.filter)(Q=>Q instanceof n.NavigationEnd),(0,d.skip)(1),(0,g.switchMap)(()=>this.getPhysician())).subscribe()}getPhysician(){return this.physicianSearchService.findPhysician(this.summaryInformation.selectedPhysicianId).pipe((0,g.map)(Q=>{this.physician=Q,this.healthcareProviderAvatar=this.physicianMapperService.getAvatar(this.physician),this.healthcareProviderAvatarFallback=this.physicianMapperService.getGenderAvatar(this.physician),this.cdr.detectChanges()}),(0,g.catchError)(()=>(this.physician=null,this.healthcareProviderAvatar=null,this.healthcareProviderAvatarFallback=null,(0,d.of)(null))))}setDate(){this.setLocale();const Q=x()(this.summaryInformation.appointmentTime,"HH:mm:ss"),H=x()(this.summaryInformation.appointmentDate).hour(Q.hour()).minute(Q.minute()).locale(this.locale).format(this.dateFormat);this.formattedDate=H[0].toUpperCase()+H.slice(1)}setLocale(){const Q=this.hostEnvironmentService.getAppConfig();this.locale=Q.locale.replace("_","-"),this.dateFormat=Q.longDateFormat.LONG}static{this.\u0275fac=function(X){return new(X||f)(u.\u0275\u0275directiveInject(v.N),u.\u0275\u0275directiveInject(l.GoogleTagManagerService),u.\u0275\u0275directiveInject(n.Router),u.\u0275\u0275directiveInject(l.SharedService),u.\u0275\u0275directiveInject(r.UserProfileService),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(_.PhysicianMapperService),u.\u0275\u0275directiveInject(U.PhysicianSearchService))}}static{this.\u0275cmp=u.\u0275\u0275defineComponent({type:f,selectors:[["app-incomplete-appointment-banner"]],decls:19,vars:28,consts:[[1,"incomplete-appointment"],["data-track-content","","data-content-name","appointment_banner",1,"warning-banner",3,"background"],["prefix-content",""],["cdImage","",1,"avatar",3,"aspectRatio","src","cdImageFallback","alt"],["main-content",""],[1,"title"],[1,"time-details"],[1,"doctor-details",3,"innerText"],["action-area",""],["cd-button","","data-content-piece","cancel",3,"click","background","color"],["cd-button","","data-content-piece","continue",3,"click","background","color"]],template:function(X,ee){1&X&&(u.\u0275\u0275elementStart(0,"div",0)(1,"cd-banner",1)(2,"cd-visual",2),u.\u0275\u0275element(3,"img",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"div",4)(5,"span",5),u.\u0275\u0275text(6),u.\u0275\u0275pipe(7,"translate"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(8,"span",6),u.\u0275\u0275text(9),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(10,"span",7),u.\u0275\u0275pipe(11,"translate"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerStart(12,8),u.\u0275\u0275elementStart(13,"button",9),u.\u0275\u0275listener("click",function(){return ee.cancelExistingAppointment()}),u.\u0275\u0275text(14),u.\u0275\u0275pipe(15,"translate"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(16,"button",10),u.\u0275\u0275listener("click",function(){return ee.confirmExistingAppointment()}),u.\u0275\u0275text(17),u.\u0275\u0275pipe(18,"translate"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementEnd()()),2&X&&(u.\u0275\u0275advance(),u.\u0275\u0275property("background","cd-warn"),u.\u0275\u0275advance(2),u.\u0275\u0275property("aspectRatio","cdc-1-1")("src",ee.healthcareProviderAvatar,u.\u0275\u0275sanitizeUrl)("cdImageFallback",ee.healthcareProviderAvatarFallback)("alt",null==ee.summaryInformation?null:ee.summaryInformation.healthcareProvider),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(u.\u0275\u0275pipeBind1(7,16,"booking_assistant_incomplete_booking_title")),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate1("\xa0",ee.formattedDate,",\xa0"),u.\u0275\u0275advance(),u.\u0275\u0275property("innerText",u.\u0275\u0275pipeBind2(11,18,"booking_assistant_incomplete_booking_location",u.\u0275\u0275pureFunction2(25,E,ee.appointmentType,null==ee.summaryInformation?null:ee.summaryInformation.healthcareProvider))),u.\u0275\u0275advance(3),u.\u0275\u0275property("background","cd-no-fill")("color","cd-error"),u.\u0275\u0275attribute("data-content-target",ee.currentUrl),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" ",u.\u0275\u0275pipeBind1(15,21,"booking_assistant_cancel_booking_btn_title")," "),u.\u0275\u0275advance(2),u.\u0275\u0275property("background","cd-no-fill")("color","cd-default"),u.\u0275\u0275attribute("data-content-target",ee.continueBookingUrl),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" ",u.\u0275\u0275pipeBind1(18,23,"booking_assistant_continue_booking_btn_title")," "))},dependencies:[h.BannerComponent,m.VisualModule,m.VisualComponent,l.ImageFallbackDirective,s.ImageComponent,A.ButtonModule,A.ButtonComponent,L.TranslatePipe],styles:[".incomplete-appointment[_ngcontent-%COMP%]{position:relative;z-index:3}
1.avatar[_ngcontent-%COMP%]{height:var(--cdc-sizing-500)}.title[_ngcontent-%COMP%]{color:var(--neutrals-dark);font-family:Roboto;font-size:14px;font-weight:700;line-height:20px;letter-spacing:.25px}.time-details[_ngcontent-%COMP%], .doctor-details[_ngcontent-%COMP%]{color:var(--neutrals-dark);font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.warning-banner[_ngcontent-%COMP%]{position:relative;z-index:3}"],changeDetection:0})}}return f})()},39095:(re,j,t)=>{t.d(j,{I:()=>F});var n=t(90163),l=t(24200),d=t(81508),g=t(94767),b=t(32341),C=t(58286),h=t(93960),m=t(16035),s=t(87199),A=t(1558),M=t(22146),K=t(12613),D=t(28606),r=t(75281),_=t(69915),U=t(21270),E=t(63386),T=t(1921),f=t(60648);const Q=Y=>[Y];function X(Y,w){1&Y&&r.\u0275\u0275element(0,"span",23)}function ee(Y,w){if(1&Y){const N=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"button",19),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(le.goToMyDocuments())}),r.\u0275\u0275element(2,"span",20),r.\u0275\u0275elementStart(3,"span",21),r.\u0275\u0275text(4),r.\u0275\u0275pipe(5,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(6,X,1,0,"span",22),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()}if(2&Y){const N=r.\u0275\u0275nextContext().ngIf;r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(5,2,"main_navigation_go_to_documents")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",N.isMobile)}}function H(Y,w){1&Y&&r.\u0275\u0275element(0,"span",27)}function ge(Y,w){if(1&Y){const N=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",25),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext(3);return r.\u0275\u0275resetView(le.goToERezept())}),r.\u0275\u0275element(1,"span",26),r.\u0275\u0275elementStart(2,"span",12),r.\u0275\u0275text(3),r.\u0275\u0275pipe(4,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(5,H,1,0,"span",13),r.\u0275\u0275elementEnd()}if(2&Y){const N=r.\u0275\u0275nextContext(2).ngIf;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(4,2,"main_navigation_go_to_my_orders")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",N.isMobile)}}function fe(Y,w){if(1&Y&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,ge,6,4,"button",24),r.\u0275\u0275elementContainerEnd()),2&Y){const N=r.\u0275\u0275nextContext().ngIf;r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",N.hasERezeptData)}}function Pe(Y,w){1&Y&&r.\u0275\u0275element(0,"span",27)}function Ee(Y,w){if(1&Y){const N=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"button",28),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(le.goToMyFavorites())}),r.\u0275\u0275element(2,"span",29),r.\u0275\u0275elementStart(3,"span",12),r.\u0275\u0275text(4),r.\u0275\u0275pipe(5,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(6,Pe,1,0,"span",13),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()}if(2&Y){const N=r.\u0275\u0275nextContext().ngIf;r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(5,2,"main_navigation_go_to_my_favorites")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",N.isMobile)}}function xe(Y,w){1&Y&&r.\u0275\u0275element(0,"span",27)}function ye(Y,w){1&Y&&r.\u0275\u0275element(0,"cd-icon",34)}function ve(Y,w){if(1&Y){const N=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"a",30),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(le.closePopup())}),r.\u0275\u0275element(1,"cd-icon",31),r.\u0275\u0275elementStart(2,"span",32),r.\u0275\u0275text(3),r.\u0275\u0275pipe(4,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(5,ye,1,0,"cd-icon",33),r.\u0275\u0275elementEnd()}if(2&Y){const N=r.\u0275\u0275nextContext().ngIf,oe=r.\u0275\u0275nextContext();r.\u0275\u0275property("routerLink",r.\u0275\u0275pureFunction1(5,Q,oe.magazineLink)),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" ",r.\u0275\u0275pipeBind1(4,3,"main_navigation_go_to_magazine")," "),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",N.isMobile)}}function ne(Y,w){1&Y&&r.\u0275\u0275element(0,"span",27)}function Se(Y,w){if(1&Y){const N=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"div",3),r.\u0275\u0275element(4,"app-avatar",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"div",5)(6,"div",6),r.\u0275\u0275text(7),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"div",7),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext();
1return r.\u0275\u0275resetView(le.updateUserProfileDetails())}),r.\u0275\u0275text(9),r.\u0275\u0275pipe(10,"translate"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(11,"div",8),r.\u0275\u0275template(12,ee,7,4,"ng-container",0)(13,fe,2,1,"ng-container",9)(14,Ee,7,4,"ng-container",0),r.\u0275\u0275elementStart(15,"button",10),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(le.goToMyAccount())}),r.\u0275\u0275element(16,"span",11),r.\u0275\u0275elementStart(17,"span",12),r.\u0275\u0275text(18),r.\u0275\u0275pipe(19,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(20,xe,1,0,"span",13),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(21,ve,6,7,"a",14),r.\u0275\u0275elementStart(22,"button",15),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(le.goToHelp())}),r.\u0275\u0275element(23,"span",16),r.\u0275\u0275elementStart(24,"span",12),r.\u0275\u0275text(25),r.\u0275\u0275pipe(26,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(27,ne,1,0,"span",13),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(28,"div",17)(29,"button",18),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(N);const le=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(le.logout())}),r.\u0275\u0275text(30),r.\u0275\u0275pipe(31,"translate"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementContainerEnd()}if(2&Y){const N=w.ngIf,oe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275classMap(N.avatarClass),r.\u0275\u0275property("src",N.avatarUserImagePath),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate2("",N.firstName," ",N.lastName,""),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",r.\u0275\u0275pipeBind1(10,15,"main_navigation_go_to_account_portal_btn")," "),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",!N.isCountryCodeFr),r.\u0275\u0275advance(),r.\u0275\u0275property("cdFeatureToggle","ePrescription"),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",oe.supportFavoritesDropDownMenu),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(19,17,"main_navigation_go_to_my_account")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",N.isMobile),r.\u0275\u0275advance(),r.\u0275\u0275property("cdFeatureToggle","magazine"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(26,19,"main_navigation_go_to_help_page")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",N.isMobile),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" ",r.\u0275\u0275pipeBind1(31,21,"main_navigation_logout_btn")," ")}}let F=(()=>{class Y{constructor(N,oe,le,q,Me,G,V,ie,te,he){this.breakpointsService=N,this.loaderService=oe,this.modalService=le,this.router=q,this.userProfileService=Me,this.accountPortalService=G,this.hostEnvironmentService=V,this.store=ie,this.dispatcher=te,this.authService=he,this.supportFavoritesDropDownMenu=this.hostEnvironmentService.getAppConfig().supportFavoritesDropDownMenu,this.magazineLink=`/${this.hostEnvironmentService.getAppConfig().magazine?.urlSegment.base}`,this.viewModel$=(0,l.combineLatest)([this.breakpointsService.isSmallView$(),this.store.pipe((0,m.select)(g.tB),(0,d.filter)(_e=>!!_e)),this.store.select(b.fn).pipe((0,d.map)(_e=>_e?.length>0))]).pipe((0,d.map)(([_e,Te,Le])=>({isMobile:_e,isCountryCodeFr:"fr"===this.hostEnvironmentService.getEnvironment().configuration,hasERezeptData:Le,firstName:Te.name.first,lastName:Te.name.last,avatarUserImagePath:Te.avatar.source||this.defaultAvatarImagePath,avatarClass:Te.avatar.source?"large-size border-grey":"large-size"}))),this.defaultAvatarImagePath="./assets/img/avatars/profile.svg",this.unsubscribe$=new l.Subject}ngOnInit(){this.store.select(b.AQ).pipe((0,d.take)(1),(0,d.filter)(N=>N===C.LoadingState.Initial)).subscribe(()=>{this.dispatcher.loadPrescriptionOrderData()})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}updateUserProfileDetails(){this.accountPortalService.triggerWorkflowByName$(h.UserProfileService.USER_PROFILE_WORKFLOW,this.hostEnvironmentService.getEnvironment().configuration).pipe((0,d.takeUntil)(this.unsubscribe$),(0,d.exhaustMap)(()=>this.userProfileService.getProfile$({withAvatar:!0}))).subscribe()}goToMyDocuments(){this.router.navigate(["/documents"]),this.closePopup()}goToERezept(){this.router.navigate(["/erezept/bestellungen"]),this.closePopup()}goToMyFavorites(){this.router.navigate(["/my-doctors"]),this.closePopup()}goToMyAccount(){this.router.navigate(["/my-profile/details"])}goToHelp(){this.router.navigate([this.hostEnvironmentService.getAppConfig().help.urlSegment.base])}
1closePopup(){this.modalService.hide()}logout(){this.loaderService.displayLoader(),this.authService.logOut().pipe((0,d.takeUntil)(this.unsubscribe$),(0,d.map)(()=>{this.router.navigate([""])}),(0,d.finalize)(()=>{this.loaderService.hideLoader()})).subscribe()}static{this.\u0275fac=function(oe){return new(oe||Y)(r.\u0275\u0275directiveInject(C.BreakpointsService),r.\u0275\u0275directiveInject(C.LoaderService),r.\u0275\u0275directiveInject(_.BsModalService),r.\u0275\u0275directiveInject(n.Router),r.\u0275\u0275directiveInject(h.UserProfileService),r.\u0275\u0275directiveInject(U.AccountPortalService),r.\u0275\u0275directiveInject(E.N),r.\u0275\u0275directiveInject(m.Store),r.\u0275\u0275directiveInject(T.Y),r.\u0275\u0275directiveInject(f.AuthService))}}static{this.\u0275cmp=r.\u0275\u0275defineComponent({type:Y,selectors:[["app-user-profile-details"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"profile-modal-container"],[1,"profile-modal-container__header"],[1,"profile-modal-container__header-avatar"],[3,"src"],[1,"profile-modal-container__header-content"],[1,"profile-modal-container__header-content-name"],[1,"profile-modal-container__header-content-button",3,"click"],[1,"profile-modal-container-content"],[4,"cdFeatureToggle"],["data-automation","User Profile - Go to My Account",1,"link-item",3,"click"],[1,"icon","icon-account-card"],[1,"link-item__grow"],["class","icon icon-DS_chevron-forward",4,"ngIf"],["class","link-item",3,"routerLink","click",4,"cdFeatureToggle"],["data-automation","User Profile - Go to Help",1,"link-item",3,"click"],[1,"icon","icon-helpcircle"],[1,"profile-modal-container-button"],["data-automation","User Profile - Logout",1,"cd-button","cd-button-outlined","btn-weiter","logout-btn",3,"click"],["data-automation","User Profile - Go to my documents button",1,"link-item",3,"click"],["data-automation","User Profile - My documents icon",1,"icon","icon-documents"],["data-automation","User Profile - My documents text",1,"link-item__grow"],["class","icon icon-DS_chevron-forward","data-automation","User Profile - My documents right icon",4,"ngIf"],["data-automation","User Profile - My documents right icon",1,"icon","icon-DS_chevron-forward"],["class","link-item","data-automation","User Profile - Go to Erezept",3,"click",4,"ngIf"],["data-automation","User Profile - Go to Erezept",1,"link-item",3,"click"],[1,"icon-shopping-cart"],[1,"icon","icon-DS_chevron-forward"],["data-automation","User Profile - Go to My Favorites",1,"link-item",3,"click"],[1,"icon","icon-favorite"],[1,"link-item",3,"click","routerLink"],["iconName","icon-CD_magazine"],["data-automation","User Profile - Go to Magazine",1,"link-item__grow"],["
1iconName","icon-DS_chevron-forward",4,"ngIf"],["iconName","icon-DS_chevron-forward"]],template:function(oe,le){1&oe&&(r.\u0275\u0275template(0,Se,32,23,"ng-container",0),r.\u0275\u0275pipe(1,"async")),2&oe&&r.\u0275\u0275property("ngIf",r.\u0275\u0275pipeBind1(1,1,le.viewModel$))},dependencies:[s.NgIf,A.f,M.FeatureToggleDirective,n.RouterLink,K.IconModule,K.IconComponent,s.AsyncPipe,D.TranslatePipe],styles:[".profile-modal-container[_ngcontent-%COMP%]{font-family:var(--font-family-roboto);background-image:linear-gradient(var(--neutrals-light),var(--neutrals-light));display:flex;flex-direction:column;border-radius:8px;box-shadow:0 2px 16px #28282833}@media screen and (max-width: 904px){.profile-modal-container[_ngcontent-%COMP%]{height:100%;width:100%;top:0;border-radius:unset;box-shadow:none;overflow-y:scroll}}.profile-modal-container__header[_ngcontent-%COMP%]{padding:24px;border-bottom:var(--line-thickness-thin) solid var(--gray-medium);display:flex;align-items:center}@media screen and (max-width: 904px){.profile-modal-container__header[_ngcontent-%COMP%]{padding:16px 24px}}.profile-modal-container__header-avatar[_ngcontent-%COMP%]{margin-right:var(--cdc-spacing-200)}.profile-modal-container__header-content[_ngcontent-%COMP%]{width:100%}.profile-modal-container__header-content-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;line-height:24px;letter-spacing:.44px;color:var(--neutrals-dark);text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.profile-modal-container__header-content-button[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;color:var(--blue-primary-100);cursor:pointer}.profile-modal-container-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;color:var(--blue-primary-100);padding:0 24px;font-weight:400}@media screen and (max-width: 904px){.profile-modal-container-content[_ngcontent-%COMP%]{padding:16px 24px;border-bottom:16px solid var(--grays-gray-3-o)}}.profile-modal-container-content[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]{display:flex;align-items:center;border-bottom:var(--line-thickness-thin) solid var(--gray-medium);padding:var(--cdc-spacing-200) 0;font-size:16px;line-height:24px;letter-spacing:.44px;color:var(--blue-primary-100);cursor:pointer}.profile-modal-container-content[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]:hover{text-decoration:none}.profile-modal-container-content[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%] .link-item__grow[_ngcontent-%COMP%]{flex-grow:1;padding-left:var(--cdc-spacing-150);font-size:16px;line-height:1.5;letter-spacing:.44px;color:var(--blue-primary-100);text-align:start}.profile-modal-container-content[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]:last-child{border-bottom:none}.profile-modal-container-button[_ngcontent-%COMP%]{padding:var(--cdc-spacing-300)}@media screen and (max-width: 904px){.profile-modal-container-button[_ngcontent-%COMP%]{padding:var(--cdc-spacing-400) var(--cdc-spacing-300)}}.profile-modal-container-button[_ngcontent-%COMP%] .logout-btn[_ngcontent-%COMP%]{border-radius:8px;border:solid var(--line-thickness-thin) var(--blue-primary-100);font-size:14px;font-weight:500;letter-spacing:.25px;line-height:20px;padding:var(--cdc-spacing-200) 0;text-align:center;text-transform:uppercase;width:100%}button[_ngcontent-%COMP%]{border:none;background:var(--neutrals-light)}"],changeDetection:0})}}return Y})()},39356:(re,j,t)=>{t.d(j,{a:()=>p});
1var n=t(82667),l=t(64172),y=t(75281);let p=(()=>{class g{transform(C){switch(C){case l.R.IN_PROGRESS:return n.StatusColor.Violet;case l.R.READY_FOR_DELIVERY:case l.R.READY_FOR_PICKUP:return n.StatusColor.Green;case l.R.COMPLETED:return n.StatusColor.Gray;default:return n.StatusColor.Red}}static{this.\u0275fac=function(x){return new(x||g)}}static{this.\u0275pipe=y.\u0275\u0275definePipe({name:"orderStatusColor",type:g,pure:!0})}}return g})()},39545:(re,j,t)=>{t.d(j,{H:()=>$});var n=t(87199),e=t(77052),l=t(84287),y=t(46433),d=t(90163),p=t(24035),g=t(24667),b=t(14887),C=t(12613),x=t(82667),h=t(83515),B=t(58286),m=t(42242),P=t(22971),s=t(75281);let Z=(()=>{class U{transform(E){switch(E){case P.U.Requested:case P.U.PartiallyIssued:return x.StatusColor.Violet;case P.U.Rejected:case P.U.PartiallyRejected:return x.StatusColor.Orange;default:return x.StatusColor.Gray}}static{this.\u0275fac=function(T){return new(T||U)}}static{this.\u0275pipe=s.\u0275\u0275definePipe({name:"requestStatusColor",type:U,pure:!0})}}return U})();var A=t(28606);let M=(()=>{class U{constructor(E){this.translate=E}transform(E){switch(E){case P.U.Issued:return this.translate.instant("eprescription_followup_accepted_status");case P.U.PartiallyIssued:return this.translate.instant("eprescription_followup_partially_accepted_status");case P.U.PartiallyRejected:case P.U.Rejected:return this.translate.instant("eprescription_followup_consultation_required_status");case P.U.Requested:return this.translate.instant("eprescription_followup_requested_status");default:return null}}static{this.\u0275fac=function(T){return new(T||U)(s.\u0275\u0275directiveInject(A.TranslateService,16))}}static{this.\u0275pipe=s.\u0275\u0275definePipe({name:"requestStatusText",type:U,pure:!0})}}return U})();const L=U=>({date:U});function K(U,I){}function u(U,I){if(1&U&&s.\u0275\u0275template(0,K,0,0,"ng-template",18),2&U){s.\u0275\u0275nextContext(2);const E=s.\u0275\u0275reference(2);s.\u0275\u0275property("ngTemplateOutlet",E)}}function D(U,I){}function v(U,I){if(1&U&&s.\u0275\u0275template(0,D,0,0,"ng-template",18),2&U){s.\u0275\u0275nextContext(2);const E=s.\u0275\u0275reference(4);s.\u0275\u0275property("ngTemplateOutlet",E)}}function r(U,I){if(1&U&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"a",3)(2,"cd-card")(3,"cd-card-header",4)(4,"cd-entry")(5,"cd-entry-inline-start",5)(6,"cd-visual"),s.\u0275\u0275element(7,"cd-icon",6),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(8,"cd-entry-headline",7),s.\u0275\u0275text(9),s.\u0275\u0275pipe(10,"date"),s.\u0275\u0275pipe(11,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(12,"cd-entry-title",8)(13,"span",9),s.\u0275\u0275text(14),s.\u0275\u0275elementEnd()()()(),s.\u0275\u0275elementStart(15,"cd-card-content",10)(16,"div",11)(17,"div",12)(18,"cd-status",13),s.\u0275\u0275pipe(19,"requestStatusColor"),s.\u0275\u0275text(20),s.\u0275\u0275pipe(21,"requestStatusText"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerStart(22,14),s.\u0275\u0275template(23,u,1,1,"ng-template",15)(24,v,1,1,"ng-template",16),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275elementStart(25,"cd-card-footer")(26,"a",17)(27,"span"),s.\u0275\u0275text(28),s.\u0275\u0275pipe(29,"translate"),s.\u0275\u0275elementEnd()()()()(),s.\u0275\u0275elementContainerEnd()),2&U){const E=s.\u0275\u0275nextContext();s.\u0275\u0275advance(),s.\u0275\u0275property("routerLink",E.detailsLinkSegmentList),s.\u0275\u0275advance(2),s.\u0275\u0275property("backgroundColor","primary"),s.\u0275\u0275advance(2),s.\u0275\u0275property("contentAlignment","center"),s.\u0275\u0275advance(2),s.\u0275\u0275classProp("history",E.isHistory),s.\u0275\u0275property("iconName","icon-carrydiagnosisforward"),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind2(11,19,"eprescription_follow_up_request_from",s.\u0275\u0275pureFunction1(28,L,s.\u0275\u0275pipeBind2(10,16,E.request.createdOn,"dd.MM.yyyy")))," "),s.\u0275\u0275advance(5),s.\u0275\u0275textInterpolate1(" ",null==E.request.originator?null:E.request.originator.name," "),s.\u0275\u0275advance(4),s.\u0275\u0275property("color",s.\u0275\u0275pipeBind1(19,22,null==E.request?null:E.request.status))("isOutlined",!0),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(21,24,null==E.request?null:E.request.status)," "),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngPlural",E.medicationNameList.length),s.\u0275\u0275advance(4),s.\u0275\u0275property("color","cd-default")("outline","cd-outline-solid")("routerLink",E.detailsLinkSegmentList),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(29,26,"eprescription_moreInformation_button_title"))}}function S(U,I){if(1&U&&s.\u0275\u0275element(0,"app-truncated-list",19),2&U){const E=s.\u0275\u0275nextContext();s.\u0275\u0275property("itemList",E.medicationNameList)("numberOfLines",3)}}function _(U,I){1&U&&(s.\u0275\u0275elementStart(0,"div",20)(1,"span",21),s.\u0275\u0275text(2),s.\u0275\u0275pipe(3,"translate"),s.\u0275\u0275elementEnd()()),2&U&&(s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(3,1,"eprescription_order_details_title")))}let $=(()=>{class U{constructor(){this.medicationNameList=[]}ngOnChanges(){this.request&&(this.isHistory=y.tK.isHistory(this.request),this.medicationNameList=(0,l.sortBy)(this.request.requestList?.map(E=>E.code.description)),this.detailsLinkSegmentList=[...this.requestListBaseHrefSegmentList??[],e.g.FOLLOW_UP,e.g.DETAIL,this.request.originator.refParticipant,(0,n.formatDate)(this.request.createdOn,"yyyy-MM-dd","en-us")])}static{this.\u0275fac=function(T){return new(T||U)}}static{this.\u0275cmp=s.\u0275\u0275defineComponent({type:U,selectors:[["app-prescription-request-card"]],inputs:{request:"request",requestListBaseHrefSegmentList:"requestListBaseHrefSegmentList"},features:[s.\u0275\u0275NgOnChangesFeature],decls:5,vars:1,consts:[["medicinesTemplate",""],["emptyMedicineListTemplate",""],[4,"ngIf"],[1,"blank-link",3,"routerLink"],[3,"backgroundColor"],[3,"contentAlignment"],["inline","",3,"iconName"],["data-automation","prescription-origin-date"],["data-automation","prescription-physician"],[1,"originator"],["data-automation","prescription-request-card-content"],[1,"content"],[1,"details"],[3,"color","isOutlined"],[3,"ngPlural"],["ngPluralCase","other"],["ngPluralCase","=0"],["cdStopClickPropagation","","cd-button","","data-automation","prescription-medications-link",3,"color","outline","routerLink"],[3,"ngTemplateOutlet"],[1,"body-body--regular",3,"itemList","numberOfLines"],[1,"medicines","empty-state"],["data-automation","request-detail-text",1,"detail-text","text-truncate"]],template:function(T,f){1&T&&s.\u0275\u0275template(0,r,30,30,"ng-container",2)(1,S,1,2,"ng-template",null,0,s.\u0275\u0275templateRefExtractor)(3,_,4,3,"ng-template",null,1,s.\u0275\u0275templateRefExtractor),2&T&&s.\u0275\u0275property("ngIf",f.request)},dependencies:[n.NgIf,d.RouterLink,p.CardComponent,p.CardHeaderComponent,g.EntryComponent,g.EntryInlineStartComponent,b.VisualModule,b.VisualComponent,C.IconModule,C.IconComponent,g.EntryHeadlineComponent,g.EntryTitleComponent,p.CardContentComponent,x.StatusComponent,n.NgPlural,n.NgPluralCase,n.NgTemplateOutlet,p.CardFooterComponent,h.ButtonModule,h.ButtonComponent,B.StopClickPropagationDirective,m.e,n.DatePipe,Z,M,A.TranslatePipe],styles:[".content__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal}.section__subheader[_ngcontent-%COMP%]{margin:unset;margin:0 0 16px;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__subtitle[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.section__text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__hint-text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.comment__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.comment__text[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}
1.h1-h1--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:34px;line-height:45px;letter-spacing:.0025em}.h2-h2--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:24px;line-height:32px}.h2-h2--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:22px;line-height:28px}.h3-h3--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:22px;line-height:28px}.h3-h3--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:22px;line-height:28px}.h4-h4--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:20px;line-height:26px;letter-spacing:.0015em}.h4-h4--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:26px;letter-spacing:.0015em}.h5-h5--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px}
1.h5-h5--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:18px;line-height:24px}.h5-h5--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:18px;line-height:24px}.h5-h5--bold--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px;text-transform:uppercase}.body-body--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em;text-transform:uppercase}.small-small--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em;text-transform:uppercase}.cdc-display-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:400}
1.cdc-display-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:500}.cdc-display-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:700}.cdc-heading-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:400}.cdc-heading-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:500}.cdc-heading-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:700}.cdc-heading-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:400}.cdc-heading-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:500}.cdc-heading-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:700}.cdc-heading-03--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:400}.cdc-heading-03--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:500}.cdc-heading-03--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:700}.cdc-heading-04--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:400}.cdc-heading-04--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:500}.cdc-heading-04--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:400}
1.cdc-heading-05--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:500}.cdc-heading-05--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:400}.cdc-heading-05--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:500}.cdc-heading-05--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:700}.cdc-body-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:400}
1.cdc-body-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:500;--cdc-font-weight: 500}.cdc-body-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:700}.cdc-body-01--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:400}.cdc-body-01--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:500}.cdc-body-01--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:700}.cdc-body-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:400}.cdc-body-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:500}.cdc-body-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:700}.cdc-body-02--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:400}.cdc-body-02--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:500}.cdc-body-02--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:700}.cdc-caption-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px}
1.cdc-caption-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:500}.cdc-caption-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:700}cd-card[_ngcontent-%COMP%]{display:grid;height:100%}.medicine-list[_ngcontent-%COMP%]{display:flex;flex-direction:column}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-300);justify-content:space-between;height:100%}.content[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{text-decoration:none;color:inherit}.originator[_ngcontent-%COMP%]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-100);align-items:flex-start}cd-icon[_ngcontent-%COMP%]{color:var(--cdc-pc100);font-size:var(--cdc-sizing-300);margin:var(--cdc-spacing-100)}.medicines[_ngcontent-%COMP%]{margin-top:2px;display:flex;justify-content:space-between;align-items:center}.medicines__list[_ngcontent-%COMP%]{display:grid;grid-template-columns:var(--cdc-sizing-300) 1fr}.medicines__list[_ngcontent-%COMP%] .bullet[_ngcontent-%COMP%]{justify-self:center}.empty-state[_ngcontent-%COMP%]{margin-top:15px}cd-card-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%}.detail-text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.0044em;color:var(--neutrals-dark)}.text-truncate[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.more-placeholder[_ngcontent-%COMP%], .history[_ngcontent-%COMP%]{color:var(--neutrals-medium)}.blank-link[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%]:hover, .blank-link[_ngcontent-%COMP%]:visited{text-decoration:none;color:inherit}"],changeDetection:0})}}return U})()},39719:(re,j,t)=>{t.d(j,{b:()=>le});var n=t(87199),e=t(90163);function l(q,Me){let V,G=[];return function ie(te){return(Ie,Re)=>Re.type===q.type?(function he(Ie){G=G.filter(Re=>Re!==Ie)}(Re.actionToUndo),function _e(){return G.reduce((Ie,Re)=>te(Ie,Re),V)}()):(function Te(Ie){Ie.type?.startsWith("@ngrx")||G.push(Ie)}(Re),function Le(){Me&&G.length===Me+1&&(V=te(V,G[0]),G=G.slice(1,Me+1))}(),te(Ie,Re))}}var d=t(83515),p=t(12613),g=t(24667),b=t(14887),C=t(61476),x=t(16035),h=t(24200),B=t(33088),m=t(84287),P=t(75281),s=t(63714),Z=t(81796);let A=(()=>{class q{constructor(G,V){this.medicalService=G,this.prescriptionMapper=V}updateMedicationStatus$(G){if(!G)return(0,h.of)(void 0);const V=(0,m.map)(G.medicationList,ie=>ie.status);return this.medicalService.getEntry$(G.id).pipe((0,h.map)(ie=>this.getPrescriptionUpdatedMedicationStatus(ie,V)),(0,h.switchMap)(ie=>ie?this.medicalService.updateMdoWithDate$(ie).pipe((0,h.map)(te=>this.prescriptionMapper.mapToDigitalPrescription(te,[]))):(0,h.of)(void 0)))}getPrescriptionUpdatedMedicationStatus(G,V){return G?.value?{...G,value:{...G.value,entries:(0,m.zip)(G.value.entries,V).map(([ie,te])=>this.getMedicationUpdatesStatus(ie,te))}}:G}getMedicationUpdatesStatus(G,V){if(!G?.prescribedMedications)return G;const[ie,...te]=G.prescribedMedications;return{...G,prescribedMedications:[{...ie,status:this.mapToMdoStatus(V)},...te]}}mapToMdoStatus(G){return G===B.i.CANCELLED?"CANCELLED":G===B.i.REDEEMED?"REDEEMED":"NEW"}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(s.MedicalService),P.\u0275\u0275inject(Z.J))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})();var M=t(46669),L=t(77052);let K=(()=>{class q{constructor(G,V){this.actions$=G,this.router=V,this.navigateToDetailsPage$=(0,C.createEffect)(()=>this.actions$.pipe((0,C.ofType)(M.uR),(0,h.tap)(({prescriptionId:ie})=>{this.router.navigate([L.g.BASE,L.g.DETAIL,ie])})),{dispatch:!1})}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(C.Actions),P.\u0275\u0275inject(e.Router))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})();var u=t(24276),D=t(24035),v=t(66283),r=t(35521),S=t(82667),_=t(3388),$=t(65892),U=t(85516),I=t(49436),E=t(68688),T=t(39545),f=t(55720);let k=(()=>{class q{constructor(G){this.sdkService=G,this.sdkSubmissionService=this.sdkService.getSubmissionService()}getSubmissionByMdoId$(G){return(0,h.from)(this.sdkSubmissionService.getSubmissionsByMdoIds(G))}createSubmissionForErezept$(G,V){return(0,h.from)(this.sdkSubmissionService.createSubmission(G,V,V,"eREZEPT"))}deleteSubmission$(G){return(0,h.from)(this.sdkSubmissionService.deleteSubmission(G))}getOwnerSubmissions$(){return(0,h.from)(this.sdkSubmissionService.getOwnerSubmissions("eREZEPT"))}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(f.SdkService))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})(),Q=(()=>{class q{constructor(G){this.submissionService=G}createSubmissions$(G,V){return this.getOwnerSubmissionList$().pipe((0,h.switchMap)(ie=>{const te=(0,m.flatMap)(ie,_e=>_e.prescriptionIdList),he=(0,m.filter)(G,_e=>!te.includes(_e));return(0,h.forkJoin)((0,m.map)(he,_e=>this.submissionService.createSubmissionForErezept$([_e],V))).pipe((0,h.switchMap)(()=>this.getOwnerSubmissionList$()))}))}createSubmission$(G,V){return this.getOwnerSubmissionList$().pipe((0,h.switchMap)(ie=>(0,m.find)(ie,{prescriptionIdList:[G]})?(0,h.of)(ie):this.submissionService.createSubmissionForErezept$([G],V).pipe((0,h.switchMap)(()=>this.getOwnerSubmissionList$()))))}deleteSubmissions$(G){return this.getOwnerSubmissionList$().pipe((0,h.switchMap)(V=>{const ie=(0,m.filter)((0,m.map)(G,te=>(0,m.find)(V,{prescriptionIdList:[te]})),(0,m.negate)(m.isNil));return(0,h.forkJoin)((0,m.map)(ie,({id:te})=>this.submissionService.deleteSubmission$(te))).pipe((0,h.switchMap)(()=>this.getOwnerSubmissionList$()))}))}deleteSubmission$(G){return this.getOwnerSubmissionList$().pipe((0,h.switchMap)(V=>{const ie=(0,m.find)(V,{prescriptionIdList:[G]});return ie?this.submissionService.deleteSubmission$(ie.id).pipe((0,h.switchMap)(()=>this.getOwnerSubmissionList$())):(0,h.of)(V)}))}getOwnerSubmissionList$(){return this.submissionService.getOwnerSubmissions$().pipe((0,h.map)(G=>(G??[]).map(V=>this.mapToSubmission(V))))}mapToSubmission(G){return{createdOn:G?.createdOn,id:G?.id,prescriptionIdList:(G?.mdos??[]).map(V=>V?.mdoId)}}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(k))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})();var X=t(14444),ee=t(81508),H=t(4557),ge=t(54596);let fe=(()=>{class q{constructor(G,V){this.actions$=G,this.service=V,this.getPrescriptionOrderData$=(0,C.createEffe
1ct)(()=>this.actions$.pipe((0,C.ofType)(H.XW),(0,ee.switchMap)(()=>this.service.getPrescriptionOrderData$().pipe((0,ee.map)(({orderList:ie,digitalPrescriptionList:te,photoPrescriptionList:he})=>(0,H._f)({orderList:ie,prescriptionList:[...te,...he]})),(0,ee.catchError)(ie=>(0,h.of)((0,H.Vt)({error:ie})))))))}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(C.Actions),P.\u0275\u0275inject(ge.w))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})(),Pe=(()=>{class q{constructor(G,V){this.actions$=G,this.service=V,this.getPrescriptionRequestList$=(0,C.createEffect)(()=>this.actions$.pipe((0,C.ofType)(H.U8),(0,ee.switchMap)(()=>this.service.getPrescriptionRequestList$().pipe((0,ee.map)(ie=>(0,H.hc)({list:ie})),(0,ee.catchError)(()=>(0,h.of)((0,H.iC)()))))))}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(C.Actions),P.\u0275\u0275inject(ge.w))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})(),Ee=(()=>{class q{constructor(G,V){this.actions$=G,this.submissionService=V,this.getSubmissionData$=(0,C.createEffect)(()=>this.actions$.pipe((0,C.ofType)(H.XW),(0,ee.switchMap)(()=>this.submissionService.getOwnerSubmissionList$().pipe((0,ee.map)(ie=>(0,H.UH)({submissionList:ie})),(0,ee.catchError)(()=>(0,h.of)((0,H.Dp)()))))))}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(C.Actions),P.\u0275\u0275inject(Q))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})(),xe=(()=>{class q{constructor(G,V){this.actions$=G,this.router=V,this.$requestPartnerSelection=(0,C.createEffect)(()=>this.actions$.pipe((0,C.ofType)(M.yv),(0,ee.tap)(()=>{this.router.navigate([L.g.BASE,L.g.ONSITE_OR_SHIP_PRESCRIPTION])})),{dispatch:!1})}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(C.Actions),P.\u0275\u0275inject(e.Router))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})();var ye=t(94767),ve=t(34303),ne=t(32341),Se=t(72306),F=t(28606);let Y=(()=>{class q{constructor(G,V,ie,te,he,_e,Te){this.actions$=G,this.modalService=V,this.prescriptionSdkService=ie,this.prescriptionSubmissionService=te,this.snackBar=he,this.store=_e,this.translateService=Te,this.updateStatus$=(0,C.createEffect)(()=>this.actions$.pipe((0,C.ofType)(H.Ck,H.l9,H.Nv,H.Y1),(0,ee.tap)(()=>this.snackBar.dismiss()),(0,h.switchMap)(Le=>(0,h.merge)(this.redeemPrescription$(Le),this.unRedeemPrescription$(Le),this.redeemMedication$(Le),this.unRedeemMedication$(Le)))))}redeemPrescription$(G){return(0,h.of)(G).pipe((0,C.ofType)(H.Nv),(0,ve.concatLatestFrom)(({prescriptionId:V})=>this.store.select((0,ne.TL)(V))),(0,ve.concatLatestFrom)(()=>this.store.select(ye.B$)),(0,h.switchMap)(([[V,ie],te])=>ie?this.prescriptionSdkService.updateMedicationStatus$(ie).pipe((0,h.switchMap)(()=>this.prescriptionSubmissionService.createSubmission$(ie.id,te).pipe((0,ee.tap)(()=>this.openSnackBar()),(0,h.switchMap)(he=>[(0,H.Uy)(),(0,H.UH)({submissionList:he})]))),(0,h.catchError)(()=>(this.modalService.showError({}),(0,h.of)((0,H.DZ)({actionToUndo:V}))))):(0,h.of)((0,H.DZ)({actionToUndo:V}))))}unRedeemPrescription$(G){return(0,h.of)(G).pipe((0,C.ofType)(H.Y1),(0,ve.concatLatestFrom)(({prescriptionId:V})=>this.store.select((0,ne.TL)(V))),(0,h.switchMap)(([V,ie])=>ie?this.prescriptionSdkService.updateMedicationStatus$(ie).pipe((0,h.switchMap)(()=>this.prescriptionSubmissionService.deleteSubmission$(ie.id).pipe((0,h.switchMap)(te=>[(0,H.Nl)(),(0,H.UH)({submissionList:te})]))),(0,h.catchError)(()=>(this.modalService.showError({}),(0,h.of)((0,H.DZ)({actionToUndo:V}))))):(0,h.of)((0,H.DZ)({actionToUndo:V}))))}redeemMedication$(G){return(0,h.of)(G).pipe((0,C.ofType)(H.Ck),(0,ve.concatLatestFrom)(({prescriptionId:V})=>this.store.select((0,ne.TL)(V))),(0,ve.concatLatestFrom)(()=>this.store.select(ye.B$)),(0,h.switchMap)(([[V,ie],te])=>ie?this.prescriptionSdkService.updateMedicationStatus$(ie).pipe((0,h.switchMap)(()=>ie.submissionId?this.prescriptionSubmissionService.createSubmission$(ie.id,te).pipe((0,ee.tap)(()=>this.openSnackBar()),(0,h.switchMap)(he=>[(0,H.dn)(),(0,H.UH)({submissionList:he})])):[(0,H.dn)()]),(0,h.catchError)(()=>(0,h.of)((0,H.DZ)({actionToUndo:V})))):(0,h.of)((0,H.DZ)({actionToUndo:V}))))}unRedeemMedication$(G){return(0,h.of)(G).pipe((0,C.ofType)(H.l9),(0,ve.concatLatestFrom)(({prescriptionId:V})=>this.store.select((0,ne.TL)(V))),(0,h.switchMap)(([V,ie])=>ie?this.prescriptionSdkService.updateMedicationStatus$(ie).pipe((0,h.switchMap)(()=>this.prescriptionSubmissionService.deleteSubmission$(ie.id).pipe((0,h.switchMap)(te=>[(0,H.yR)(),(0,H.UH)({submissionList:te})]))),(0,h.catchError)(()=>(0,h.of)((0,H.DZ)({actionToUndo:V})))):(0,h.of)((0,H.DZ)({actionToUndo:V}))))}openSnackBar(){const G=this.translateService.instant("eprescription_prescription_snackbar_redeemed_text"),V=this.translateService.instant("general_ok");this.snackBar.open(G,V)}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(C.Actions),P.\u0275\u0275inject(Se.ModalsService),P.\u0275\u0275inject(A),P.\u0275\u0275inject(Q),P.\u0275\u0275inject(r.SnackbarService),P.\u0275\u0275inject(x.Store),P.\u0275\u0275inject(F.TranslateService))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})();var w=t(46433);let N=(()=>{class q{constructor(G,V,ie){this.actions$=G,this.store=V,this.submissionService=ie,this.addMissingSubmissions$=(0,C.createEffe
1ct)(()=>this.actions$.pipe((0,C.ofType)(H._f),(0,h.switchMap)(()=>this.store.select(ne.O5).pipe((0,h.filter)(te=>te),(0,h.take)(1),(0,ve.concatLatestFrom)(()=>this.store.select(ne.N9)),(0,ve.concatLatestFrom)(()=>this.store.select(ye.B$)),(0,h.switchMap)(([[,te],he])=>he&&te?this.addMissingSubmissions(te,he):(0,h.of)((0,H.dT)())))))),this.removeSuperfluousSubmissions$=(0,C.createEffect)(()=>this.actions$.pipe((0,C.ofType)(H._f),(0,h.switchMap)(()=>this.store.select(ne.O5).pipe((0,h.filter)(te=>te),(0,h.take)(1),(0,ve.concatLatestFrom)(()=>this.store.select(ne.N9)),(0,h.switchMap)(([,te])=>te?this.deleteSuperfluousSubmissions(te):(0,h.of)((0,H.RP)()))))))}deleteSuperfluousSubmissions(G){const V=(0,m.map)(this.getPrescriptionsWithSuperfluousSubmission(G),({id:ie})=>ie);return 0===V.length?(0,h.of)((0,H.RP)()):this.submissionService.deleteSubmissions$(V).pipe((0,h.switchMap)(ie=>[(0,H.RP)(),(0,H.UH)({submissionList:ie})]),(0,h.catchError)(()=>(0,h.of)((0,H.St)())))}getPrescriptionsWithSuperfluousSubmission(G){const V=(0,m.filter)(G,{type:s.PrescriptionType.DIGITAL}),ie=(0,m.filter)(V,({submissionId:te})=>!!te);return(0,m.filter)(ie,w._A.containsAtLeastOneNewMedication)}addMissingSubmissions(G,V){const ie=(0,m.map)(this.getPrescriptionsWithMissingSubmission(G),({id:te})=>te);return 0===ie.length?(0,h.of)((0,H.dT)()):this.submissionService.createSubmissions$(ie,V).pipe((0,h.switchMap)(te=>[(0,H.dT)(),(0,H.UH)({submissionList:te})]),(0,h.catchError)(()=>(0,h.of)((0,H.AM)())))}getPrescriptionsWithMissingSubmission(G){const V=(0,m.filter)(G,{type:s.PrescriptionType.DIGITAL}),ie=(0,m.filter)(V,({submissionId:he})=>!he),te=(0,m.filter)(ie,(0,m.negate)(w._A.containsAtLeastOneNewMedication));return(0,m.filter)(te,w._A.containsAtLeastOneRedeemedMedication)}static{this.\u0275fac=function(V){return new(V||q)(P.\u0275\u0275inject(C.Actions),P.\u0275\u0275inject(x.Store),P.\u0275\u0275inject(Q))}}static{this.\u0275prov=P.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}}return q})();var oe=t(96782);let le=(()=>{class q{static{this.\u0275fac=function(V){return new(V||q)}}static{this.\u0275mod=P.\u0275\u0275defineNgModule({type:q})}static{this.\u0275inj=P.\u0275\u0275defineInjector({providers:[Q,A],imports:[b.VisualModule,D.CardModule,n.CommonModule,d.ButtonModule,C.EffectsModule.forFeature([fe,Pe,Ee,xe,K,Y,N]),p.IconModule,g.EntryModule,u.MessageDialogModule,e.RouterModule,v.SkeletonLoaderModule,r.SnackbarModule,S.StatusModule,x.StoreModule.forFeature(oe.i,oe.X,{metaReducers:[l(H.DZ,100)]}),X.a,_.V,$.C,I.U,U.K,E.u,T.H]})}}return q})()},40537:(re,j,t)=>{t.d(j,{y:()=>P});var n=t(24200),l=t(84287),d=t(81508),g=t(75281),C=t(55720),h=t(28606),m=t(63386);let P=(()=>{class s{constructor(A,M,L){this.sdkService=A,this.translateService=M,this.hostEnvironmentService=L,this.contractService=this.sdkService.getPlatformContractService()}changeContractModuleVersionForPatient$(A){const M=this.contractService.changeContractModuleVersionForPatient(A);return(0,n.from)(M)}getContractTypeSuiteForVersionUpdate$(A){const M=this.hostEnvironmentService.getAppConfig().contractType,L=this.contractService.getContractTypeSuiteForVersionUpdate(A,"PATIENT",M);return(0,n.from)(L)}getServiceStatusOfParticipant$(){const A=this.hostEnvironmentService.getAppConfig().clientIdentifier;return this.getServiceStatusForService$(A)}getServiceStatusForService$(A){return(0,n.from)(this.contractService.getServiceStatusOfParticipant(A))}mapEnrollmentContractsInfo(A,M){const L=[],K=M.service?M.service.identifier:"";return A.baseContractModule.contractModuleTypeDocuments.forEach(u=>{u.identifier.includes(K)&&L.push({title:u.name,link:u.documentRef})}),L}isUserEnrolled(A){if(!A||"NOT_ENROLLED"===A.activationStateOfContract)return!1;let L=[];return A.contractStatus.length&&(L=A.contractStatus.filter(K=>K.identifierOfContractModuleType===this.hostEnvironmentService.getAppConfig().contractType)),!!L.length}getEnrollmentAccountDescription(A){let M=this.translateService.instant("enrollment_account_prefix");const L=this.translateService.instant("enrollment_account_suffix");if(A.length>1){const K=this.translateService.instant("general.conjunction.last");return A.forEach((u,D)=>{M+=` <a target="_blank" href="${u.link}">${u.title}</a> `,A.length-1!==D&&(M+=`${K} `)}),M+=L,M}return M+=`\n <a target="_blank" href="${A[0].link}">${A[0].title}</a>\n ${L}`,M}findContractTypeSuitesByContractTypes$(){const A=this.hostEnvironmentService.getEnvironment();return(0,n.from)(this.contractService.findContractTypeSuitesByContractTypes(null,A.appConfig.participantType,A.configuration,A.appConfig.id,[A.appConfig.contractType]).then(M=>M[0])).pipe((0,n.catchError)(()=>(0,n.of)(null)))}findContractTypeSuitesForEnrollment$(){const A=this.hostEnvironmentService.getEnvironment();return(0,n.from)(this.contractService.findContractTypeSuitesForEnrollment(null,A.appConfig.participantType,A.appConfig.clientIdentifier,A.configuration,A.appConfig.id,null,A.appConfig.contractType).then(M=>(M[0].baseContractModule&&(M[0].baseContractModule.contractModuleTypeDocuments=M[0].baseContractModule.contractModuleTypeDocuments.filter(L=>!L.identifier.includes("MYLIFEACCOUNT"))),M[0])))}prepareEnrollUser(A,M){const L=A.baseContractModule.identifier,K=(0,l.map)(A.baseContractModule.contractModuleTypeDocuments,u=>u.uid);return this.prepareEnrollUserForContract(M,L,K)}prepareEnrollUserForContract(A,M,L,K){const u=this.hostEnvironmentService.getEnvironment();return{patientUid:A,region:{code:u.appConfig.countryIdentifier},actingSamClient:{identifier:u.appConfig.id}
1,service:{identifier:K||u.appConfig.clientIdentifier},regInstVxNumber:null,contractModuleEnrollmentDatas:[{identifierOfDesiredCMT:M,confirmedDocuments:L}]}}processDataConsentForEnrollment$(){return this.findContractTypeSuitesByContractTypes$().pipe((0,d.map)(A=>{const M=this.hostEnvironmentService.getAppConfig().footerObligationLinks.linkFooterAboutPrivacyPolicy;return A?.baseContractModule?.contractModuleTypeDocuments[1]?.documentRef??M}))}static{this.\u0275fac=function(M){return new(M||s)(g.\u0275\u0275inject(C.SdkService),g.\u0275\u0275inject(h.TranslateService),g.\u0275\u0275inject(m.N))}}static{this.\u0275prov=g.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})()},41744:(re,j,t)=>{t.d(j,{y:()=>x});var n=t(24200),l=t(81508),d=t(75281),g=t(33922),C=t(63386);let x=(()=>{class h{constructor(m,P){this.suggestionService=m,this.hostEnvironmentService=P}retrieveTopSearches$(m){const P=this.hostEnvironmentService.getEnvironment().appConfig.defaultState.seoUrl;return(0,n.from)(this.suggestionService.searchTopSuggestions$(m)).pipe((0,l.map)(s=>{const Z=[];return s.suggestions.forEach(A=>{Z.push({translate:A.label,link:`${P}/${A?.value.specialisation}/${A?.value.city}`,internalLink:!0}
1)}),Z}))}static{this.\u0275fac=function(P){return new(P||h)(d.\u0275\u0275inject(g.SuggestionService),d.\u0275\u0275inject(C.N))}}static{this.\u0275prov=d.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},42242:(re,j,t)=>{t.d(j,{e:()=>h});var n=t(87199),l=t(28606),d=t(75281);const g=B=>({numberOfItems:B});function b(B,m){if(1&B&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"li"),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd()),2&B){const P=m.$implicit,s=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(),d.\u0275\u0275classProp("single-item",s.isSingleItem),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate(P)}}function C(B,m){if(1&B&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"li",2),d.\u0275\u0275text(2),d.\u0275\u0275pipe(3,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd()),2&B){const P=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind2(3,1,"general_more_items",d.\u0275\u0275pureFunction1(4,g,P.numberItemsTruncated)))}}function x(B,m){if(1&B&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"ul"),d.\u0275\u0275template(2,b,3,3,"ng-container",1)(3,C,4,6,"ng-container",0),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd()),2&B){const P=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("ngForOf",P.truncatedList),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",P.numberItemsTruncated)}}let h=(()=>{class B{ngOnChanges(){if(this.itemList=this.itemList??[],this.numberOfLines=this.numberOfLines??0,this.isSingleItem=1===this.itemList.length,this.itemList.length<=this.numberOfLines)return this.truncatedList=this.itemList,void(this.numberItemsTruncated=0);this.truncatedList=this.itemList.slice(0,this.numberOfLines-1),this.numberItemsTruncated=this.itemList.length-this.numberOfLines+1}static{this.\u0275fac=function(s){return new(s||B)}}static{this.\u0275cmp=d.\u0275\u0275defineComponent({type:B,selectors:[["app-truncated-list"]],inputs:{itemList:"itemList",numberOfLines:"numberOfLines"},features:[d.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"more"]],template:function(s,Z){1&s&&d.\u0275\u0275template(0,x,4,2,"ng-container",0),2&s&&d.\u0275\u0275property("ngIf",Z.itemList&&Z.numberOfLines)},dependencies:[n.NgIf,n.NgFor,l.TranslatePipe],styles:['@charset "UTF-8";ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none;display:grid}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"\\2022";display:inline-flex;justify-content:center;align-items:center;width:var(--cdc-sizing-300);height:var(--cdc-sizing-300)}ul[_ngcontent-%COMP%] li.single-item[_ngcontent-%COMP%]:before{display:none}ul[_ngcontent-%COMP%] li.more[_ngcontent-%COMP%]:before{content:"+"}ul[_ngcontent-%COMP%] li.more[_ngcontent-%COMP%]{color:var(--neutrals-medium)}'],changeDetection:0})}}return B})()},43872:(re,j,t)=>{t.d(j,{e:()=>l});var n=t(67338);const l=(0,n.object)({city:(0,n.string)().nullish(),country:(0,n.string)().nullish(),houseNumber:(0,n.string)().nullish(),street:(0,n.string)().nullish(),zip:(0,n.string)().nullish()}).transform(y=>({city:y.city??void 0,country:y.country??void 0,houseNumber:y.houseNumber??void 0,street:y.street??void 0,zip:y.zip??void 0}))},45906:(re,j,t)=>{t.d(j,{H:()=>L});var n=t(94767),e=t(58286),y=t(93960),p=t(16035),b=t(24200),x=t(75281),B=t(68978),P=t(60648),Z=t(1255),A=t(32314),M=t(63386);let L=(()=>{class K{constructor(D,v,r,S,_,$,U,I){this.store=D,this.userProfileService=v,this.shellService=r,this.authService=S,this.clientTokenService=_,this.reloginService=$,this.enrollmentService=U,this.hostEnvironmentService=I}userChanged$(){return this.userProfileService.userProfileChanged$().pipe((0,b.map)(D=>this.userProfileService.getUserTypeStateValue()===y.UserTypeEnum.SAS?null:this.mapProfile(D)))}login$(){const D=this.hostEnvironmentService.getEnvironment().configuration;return this.authService.login$(D)}initialLogin$(){return this.reloginService.isOneTimeLoginUrl()?this.enrollmentService.oneTimeLogin$().pipe((0,b.take)(1)):this.clientTokenService.isClientTokenAvailable()?this.reloginService.reloginWithClientToken$():(0,b.of)(!1)}initialLoginDone$(){return this.store.pipe((0,p.select)(n.p0),(0,b.filter)(D=>!D),(0,b.withLatestFrom)(this.store.select(n.Ep)),(0,b.map)(([,D])=>D))}isLoggedOutDone$(){return this.store.pipe((0,p.select)(n.p0),(0,b.filter)(D=>!D),(0,b.switchMap)(()=>this.store.select(n.lA)),(0,b.filter)(D=>D))}mapProfile(D){return{address:this.getAddress(D?.address),avatar:{source:this.getAvatarSource(D)},birthDate:this.getBirthDate(D?.dateOfBirth),email:this.getTelecom(D?.telecoms,"EMAIL"),gender:this.getGender(D?.gender),id:this.shellService.getLoginState()?.participantId,insurance:{name:D?.insuranceData?.insuranceName,number:D?.insuranceData?.insuredPersonNumber},name:{first:D?.givenName,last:D?.familyName,middle:D?.middleName},phone:{mobile:this.getTelecom(D?.telecoms,"PHONE_MOBILE"),private:this.getTelecom(D?.telecoms,"PHONE_PRIVATE")},salutation:D?.salutation,title:D?.title}}getAvatarSource(D){const v=D?._image;return v?`data:${String(v?.mimeType??"image/png")};base64,${String(v?.photo)}`:""}getBirthDate(D){return D instanceof Date?D:D?new Date(D):void 0}getTelecom(D,v){return D?.find(S=>S.type.code===v)?.telecomData}getGender(D){if(D)return"MALE"===D.code?e.Gender.MALE:"FEMALE"===D.code?e.Gender.FEMALE:e.Gender.UNKNOWN}
1getAddress(D){return{city:D?.city,country:D?.country,houseNumber:D?.houseNumber,street:D?.street,zip:D?.zip}}static{this.\u0275fac=function(v){return new(v||K)(x.\u0275\u0275inject(p.Store),x.\u0275\u0275inject(y.UserProfileService),x.\u0275\u0275inject(B.ShellService),x.\u0275\u0275inject(P.AuthService),x.\u0275\u0275inject(P.ClientTokenService),x.\u0275\u0275inject(Z.e),x.\u0275\u0275inject(A.o),x.\u0275\u0275inject(M.N))}}static{this.\u0275prov=x.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac,providedIn:"root"})}}return K})()},46433:(re,j,t)=>{t.d(j,{Gn:()=>r,_A:()=>D,e_:()=>v,tK:()=>S});var n=t(84287),l=t(43209),y=t.n(l),d=t(34869),p=t(33088),g=t(63183),b=t(64172),C=t(15270);function M(_){return y()(_).add(g.s,"day").endOf("day").isBefore()}const D={containsAtLeastOneCancelledMedication:function L(_){return(0,n.some)(_?.medicationList,{status:p.i.CANCELLED})},containsAtLeastOneNewMedication:function K(_){return(0,n.some)(_?.medicationList,{status:p.i.NEW})},containsAtLeastOneRedeemedMedication:function u(_){return(0,n.some)(_?.medicationList,{status:p.i.REDEEMED})},getDigitalPrescriptionStatus:function Z(_,$,U){if($&&"CANCELLED"!==$?.orderStatus)return d.J.COMPLETED;const T=y()(U).add(1,"day"),f=y()().isSameOrBefore(T);return U&&f?d.J.REDEEM:U&&!f?d.J.COMPLETED:M(_)?d.J.EXPIRED:d.J.NEW},getDigitalPrescriptionStatusFromMedications:function m(_){if(!_||0===_.length)return[];const $=_.some(H=>H===p.i.NEW),U=_.some(H=>H===p.i.CANCELLED),I=_.every(H=>H===p.i.CANCELLED),E=_.some(H=>H===p.i.REDEEMED),T=_.every(H=>H===p.i.REDEEMED),f=_.some(H=>H===p.i.COMPLETED),k=_.every(H=>H===p.i.COMPLETED),Q=_.some(H=>H===p.i.EXPIRED),X=_.every(H=>H===p.i.EXPIRED);if(I)return[d.J.CANCELED];if(T)return[d.J.REDEEM];if(k)return[d.J.COMPLETED];if(X)return[d.J.EXPIRED];let ee=[];return $&&ee.push(d.J.NEW),U&&ee.push(d.J.PARTIALLY_CANCELED),E&&ee.push(d.J.PARTIALLY_REDEEM),f&&ee.push(d.J.PARTIALLY_COMPLETED),ee=function P(_){return _.includes(d.J.PARTIALLY_COMPLETED)&&_.includes(d.J.PARTIALLY_REDEEM)?_.filter($=>$!==d.J.PARTIALLY_COMPLETED):_}(ee),Q&&ee.push(d.J.PARTIALLY_EXPIRED),ee=function s(_){return(0,n.isEqual)(_,[d.J.PARTIALLY_REDEEM])?[d.J.REDEEM]:_}(ee),ee.slice(0,2)},getMedicationStatus:function A(_,$,U){if(_?.status===p.i.CANCELLED)return p.i.CANCELLED;if($&&$?.status!==b.R.CANCELED)return p.i.COMPLETED;const T=y()(U).add(1,"day"),f=y()().isSameOrBefore(T);return _?.status===p.i.REDEEMED&&U&&!f?p.i.COMPLETED:_?.status===p.i.REDEEMED?p.i.REDEEMED:M(_?.validFrom)?p.i.EXPIRED:p.i.NEW}},v={isHistory:function h(_){return!_?.statusList?.some($=>[d.J.NEW,d.J.REDEEM,d.J.PARTIALLY_REDEEM].includes($))}},r={isHistory:function x(_){return!!_&&[b.R.COMPLETED,b.R.CANCELED].includes(_.status)}},S={isHistory:function B(_){return!(!_||!_.requestList)&&_.requestList.map($=>$.status).every($=>$!==C.o.Requested)}}},46669:(re,j,t)=>{t.d(j,{Cs:()=>m,Uv:()=>g,Zq:()=>d,bJ:()=>p,dk:()=>x,p4:()=>b,uR:()=>h,ur:()=>l,yv:()=>C,zf:()=>B});var n=t(16035);const l=(0,n.createAction)("[order-shared] start-order-process",(0,n.props)()),d=((0,n.createAction)("[order-shared] start-order-process-success",(0,n.props)()),(0,n.createAction)("[order-shared] ia-order-handoff")),p=(0,n.createAction)("[order-shared] request medication selection"),g=(0,n.createAction)("[order-shared] request medication selection success",(0,n.props)()),b=(0,n.createAction)("[order-shared] request medication selection failure"),C=(0,n.createAction)("[order-shared] request-partner-selection"),x=(0,n.createAction)("[order-shared] request-partner-success",(0,n.props)()),h=(0,n.createAction)("[order-shared] request-details-navigation",(0,n.props)()),B=(0,n.createAction)("[order-shared] perform-order-success"),m=(0,n.createAction)("[order-shared] perform-order-failure",(0,n.props)())},49400:(re,j,t)=>{t.d(j,{m:()=>b});var n=t(34869),e=t(43209),l=t.n(e),y=t(75281),p=t(28606);let b=(()=>{class C{constructor(h){this.translate=h}transform(h,B){if(!h)return null;switch(h){case n.J.NEW:return this.calculateDifferentFromToday(B);case n.J.REDEEM:case n.J.COMPLETED:return this.translate.instant("eprescription_prescription_status_completed_text");case n.J.PARTIALLY_REDEEM:case n.J.PARTIALLY_COMPLETED:return this.translate.instant("eprescription_prescription_status_partially_redeemed_text");case n.J.EXPIRED:return this.translate.instant("eprescription_prescription_status_expired_text");case n.J.PARTIALLY_EXPIRED:return this.translate.instant("eprescription_prescription_status_partially_expired_text");case n.J.CANCELED:return this.translate.instant("eprescription_prescription_status_canceled_text");case n.J.PARTIALLY_CANCELED:return this.translate.instant("eprescription_prescription_status_partially_canceled_text");default:return null}}calculateDifferentFromToday(h){const B=l()(h,"DD.MM.YYYY").endOf("day"),m=l()().startOf("day"),P=B.diff(m,"day");switch(P){case 0:return this.translate.instant("eprescription_remaining_today_status");case 1:return this.translate.instant("eprescription_remaining_one_day_status");default:return this.translate.instant("eprescription_remaining_days_status",{days:P})}}static{this.\u0275fac=function(B){return new(B||C)(y.\u0275\u0275directiveInject(p.TranslateService,16))}}static{this.\u0275pipe=y.\u0275\u0275definePipe({name:"prescriptionStatusText",type:C,pure:!0})}}return C})()},49436:(re,j,t)=>{t.d(j,{U:()=>L});var n=t(84287),l=t(75281),d=t(87199),g=t(85516),b=t(39545);const C=K=>({$implicit:K});function x(K,u){1&K&&l.\u0275\u0275elementContainer(0)}function h(K,u){if(1&K&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,x,1,0,"ng-container",7),l.\u0275\u0275elementContainerEnd()),2&K){const D=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275nextContext(2);const v=l.\u0275\u0275reference(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngTemplateOutlet",v)("ngTemplateOutletContext",l.\u0275\u0275pureFunction1(2,C,D.data))}}function B(K,u){1&K&&l.\u0275\u0275elementContainer(0)}function m(K,u){if(1&K&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,B,1,0,"ng-container",7),l.\u0275\u0275elementContainerEnd()),2&K){const D=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275nextContext(2);const v=l.\u0275\u0275reference(4);l.\u0275\u0275advance(),l.\u0275\u0275property("ngTemplateOutlet",v)("ngTemplateOutletContext",l.\u0275\u0275pureFunction1(2,C,D.data))}}function P(K,u){if(1&K&&(l.\u0275\u0275elementContainerStart(0)(1,5),l.\u0275\u0275template(2,h,2,4,"ng-container",6)(3,m,2,4,"ng-container",6),l.\u0275\u0275elementContainerEnd()()),2&K){const D=u.$implicit,v=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngSwitch",D.type),l.\u0275\u0275advance(),l.\u0275\u0275property("ngSwitchCase",v.CardType.Prescription),l.\u0275\u0275advance(),l.\u0275\u0275property("ngSwitchCase",v.CardType.Request)}}function s(K,u){if(1&K&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",3),l.\u0275\u0275template(2,P,4,3,"ng-container",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()),2&K){const D=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("ngForOf",D.mergedPrescriptionList)}}function Z(K,u){if(1&K){const D=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",8)(1,"app-prescription-list-entry",9),l.\u0275\u0275listener("redeem",function(){const r=l.\u0275\u0275restoreView(D).$implicit,S=l.\u0275\u0275nextContext();
1return l.\u0275\u0275resetView(S.startPrescriptionOrder(r))}),l.\u0275\u0275elementEnd()()}if(2&K){const D=u.$implicit,v=l.\u0275\u0275nextContext();l.\u0275\u0275advance(),l.\u0275\u0275property("prescription",D)("prescriptionListBaseHrefSegmentList",v.prescriptionListBaseHrefSegmentList)}}function A(K,u){if(1&K&&(l.\u0275\u0275elementStart(0,"div",10),l.\u0275\u0275element(1,"app-prescription-request-card",11),l.\u0275\u0275elementEnd()),2&K){const D=u.$implicit,v=l.\u0275\u0275nextContext();l.\u0275\u0275advance(),l.\u0275\u0275property("request",D)("requestListBaseHrefSegmentList",v.prescriptionListBaseHrefSegmentList)}}var M=function(K){return K[K.Prescription=0]="Prescription",K[K.Request=1]="Request",K}(M||{});let L=(()=>{class K{constructor(){this.orderRequested=new l.EventEmitter,this.CardType=M}ngOnChanges(){this.sanitizeInputs(),this.mergePrescriptionInputs(),this.deriveProperties()}startPrescriptionOrder(D){this.orderRequested.emit(D)}deriveProperties(){this.hasCards=this.mergedPrescriptionList.length>0}sanitizeInputs(){this.prescriptionList=this.prescriptionList??[],this.prescriptionRequestList=this.prescriptionRequestList??[]}mergePrescriptionInputs(){const D=this.prescriptionList.map(r=>this.mapPrescriptionToCard(r)),v=this.prescriptionRequestList.map(r=>this.mapPrescriptionRequestToCard(r));this.mergedPrescriptionList=(0,n.sortBy)([...D,...v],r=>this.getDate(r)).reverse().slice(0,this.limit??void 0)}getDate(D){return D.type===M.Prescription?D.data.date:D.type===M.Request?D.data.createdOn:void 0}mapPrescriptionToCard(D){return{type:M.Prescription,data:D}}mapPrescriptionRequestToCard(D){return{type:M.Request,data:D}}static{this.\u0275fac=function(v){return new(v||K)}}static{this.\u0275cmp=l.\u0275\u0275defineComponent({type:K,selectors:[["app-prescription-list"]],inputs:{prescriptionList:"prescriptionList",prescriptionRequestList:"prescriptionRequestList",limit:"limit",prescriptionListBaseHrefSegmentList:"prescriptionListBaseHrefSegmentList"},outputs:{orderRequested:"orderRequested"},features:[l.\u0275\u0275NgOnChangesFeature],decls:5,vars:1,consts:[["prescriptionCard",""],["requestCard",""],[4,"ngIf"],[1,"prescription-list"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-automation","actual-prescription-card"],[3,"redeem","prescription","prescriptionListBaseHrefSegmentList"],["data-automation","actual-prescription-request-card"],[3,"request","requestListBaseHrefSegmentList"]],template:function(v,r){1&v&&l.\u0275\u0275template(0,s,3,1,"ng-container",2)(1,Z,2,2,"ng-template",null,0,l.\u0275\u0275templateRefExtractor)(3,A,2,2,"ng-template",null,1,l.\u0275\u0275templateRefExtractor),2&v&&l.\u0275\u0275property("ngIf",r.hasCards)},dependencies:[d.NgIf,d.NgFor,d.NgSwitch,d.NgSwitchCase,d.NgTemplateOutlet,g.K,b.H],styles:[".content__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal}.section__subheader[_ngcontent-%COMP%]{margin:unset;margin:0 0 16px;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__subtitle[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.section__text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__hint-text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.comment__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.comment__text[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}
1.h1-h1--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:34px;line-height:45px;letter-spacing:.0025em}.h2-h2--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:24px;line-height:32px}.h2-h2--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:22px;line-height:28px}.h3-h3--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:22px;line-height:28px}.h3-h3--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:22px;line-height:28px}.h4-h4--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:20px;line-height:26px;letter-spacing:.0015em}.h4-h4--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:26px;letter-spacing:.0015em}.h5-h5--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px}
1.h5-h5--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:18px;line-height:24px}.h5-h5--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:18px;line-height:24px}.h5-h5--bold--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px;text-transform:uppercase}.body-body--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em;text-transform:uppercase}.small-small--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em;text-transform:uppercase}.cdc-display-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:400}
1.cdc-display-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:500}.cdc-display-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:700}.cdc-heading-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:400}.cdc-heading-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:500}.cdc-heading-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:700}.cdc-heading-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:400}.cdc-heading-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:500}.cdc-heading-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:700}.cdc-heading-03--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:400}.cdc-heading-03--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:500}.cdc-heading-03--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:700}.cdc-heading-04--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:400}.cdc-heading-04--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:500}.cdc-heading-04--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:400}
1.cdc-heading-05--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:500}.cdc-heading-05--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:400}.cdc-heading-05--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:500}.cdc-heading-05--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:700}.cdc-body-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:400}
1.cdc-body-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:500;--cdc-font-weight: 500}.cdc-body-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:700}.cdc-body-01--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:400}.cdc-body-01--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:500}.cdc-body-01--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:700}.cdc-body-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:400}.cdc-body-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:500}.cdc-body-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:700}.cdc-body-02--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:400}.cdc-body-02--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:500}.cdc-body-02--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:700}.cdc-caption-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px}
1.cdc-caption-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:500}.cdc-caption-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:700}.skeleton-prescription-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--cdc-spacing-300)}@media screen and (min-width: 905px){.skeleton-prescription-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;gap:var(--cdc-spacing-400)}}.prescription-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--cdc-spacing-300)}@media screen and (min-width: 905px){.prescription-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;gap:var(--cdc-spacing-400)}}.empty-state[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--cdc-spacing-200)}@media screen and (min-width: 905px){.empty-state[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr);gap:var(--cdc-spacing-400)}}.empty-state__text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.0044em;grid-column:auto/span 4}@media screen and (min-width: 905px){.empty-state__text[_ngcontent-%COMP%]{grid-column:auto/span 6}}"],changeDetection:0})}}return K})()},54319:(re,j,t)=>{t.d(j,{_:()=>n});var n=function(e){return e.E_PRESCRIPTION="E_PRESCRIPTION",e}(n||{})},54596:(re,j,t)=>{t.d(j,{w:()=>K});var n=t(63714),e=t(84287),l=t(24200),y=t(81508),d=t(75281),p=t(81796),g=t(34371),b=t(64172),C=t(28606);let x=(()=>{class u{constructor(v){this.translate=v,this.medicationOrderType="core.prescription.MedicationOrder",this.orderStatusGenerated="GENERATED",this.orderStatusTransferred="TRANSFERRED",this.orderStatusInProcess="IN_PROCESS",this.orderStatusReadyForDelivery="READY_FOR_DELIVERY",this.orderStatusDelivered="DELIVERED",this.orderStatusCompleted="COMPLETED",this.orderStatusCancelled="CANCELLED",this.deliveryTypeSelfPickup="SELF_PICKUP"}mapToMedicationOrder(v,r){const{id:S,createdOn:_,orderStatusMessage:$,externalOrderId:U,prescriptionMdoIds:I,orderStatus:E,deliveryType:T,pharmacyContactMdoId:f,medicationMdoIds:k}=v,Q=this.findPharmacy(f,r),X=this.mapStatus(E,T);return{id:S,message:$,name:this.createMedicationOrderInfoName(),noticeInfo:this.setNoticeInfo(X,$),orderDate:_,orderId:U,pharmacy:Q,status:X,deliveryType:T,type:this.medicationOrderType,prescriptionIdList:this.mapPrescriptionIdList(I),medicationIdList:I,otcOrderIdList:k}}mapPrescriptionIdList(v){const r=(0,e.map)(v,S=>{const[_]=S.split("|");return _});return(0,e.uniq)(r)}findPharmacy(v,r){return r.find(S=>S?.id===v)}createMedicationOrderInfoName(){return this.translate.instant("eprescription_prescription_otc_prescription_type_name")}mapStatus(v,r){return v===this.orderStatusGenerated||v===this.orderStatusTransferred||v===this.orderStatusInProcess?b.R.IN_PROGRESS:v===this.orderStatusReadyForDelivery?r===this.deliveryTypeSelfPickup?b.R.READY_FOR_PICKUP:b.R.READY_FOR_DELIVERY:v===this.orderStatusDelivered||v===this.orderStatusCompleted?b.R.COMPLETED:v===this.orderStatusCancelled?b.R.CANCELED:b.R.IN_PROGRESS}setNoticeInfo(v,r){if(!v||!r&&v!==b.R.CANCELED)return{iconClass:null,isWarning:null,text:null};const S={};return v===b.R.CANCELED?(S.isWarning=!0,S.iconClass="icon-AT_endangerment",S.text=r??"eprescription_prescription_status_canceled_pharmacy_notification_info_text"):r&&(S.iconClass="icon-PD_description-info",S.text=r),S}static{this.\u0275fac=function(r){return new(r||u)(d.\u0275\u0275inject(C.TranslateService))}}static{this.\u0275prov=d.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var h=t(34869),B=t(63183),m=t(43209),P=t.n(m);let s=(()=>{class u{constructor(v){this.translate=v}mapToPhotoPrescription(v,r){const{id:S,date:_,value:$}=v,U=this.findOrderByPrescriptionId(S,r);return{contentSize:this.mapContentSize($),date:_ instanceof Date?_:new Date(_),hasFileAttached:this.hasFileAttached($),id:S,mimetype:this.mapMimetype($),name:this.createPrescriptionName(_),statusList:[h.J.COMPLETED],latestOrderId:U?.id,type:n.PrescriptionType.PHOTO,validUntil:this.extractValidUntil(_)}}createPrescriptionName(v){const r=P()(v).format("DD.MM.YYYY");return this.translate.instant("eprescription_prescription_doctor_prescription_type_name",{date:r})}findOrderByPrescriptionId(v,r){return[...r].reverse()?.find(_=>!!_?.prescriptionMdoIds?.find($=>$===v))}mapContentSize(v){if(!v||"object"!=typeof v)return null;const{contentSize:r}=v;return r?Number(r):null}mapMimetype(v){if(!v||"object"!=typeof v)return null;const{mimetype:r}=v;
1return r?String(r):null}extractValidUntil(v){return v?P()(v).add(B.s,"day").format("DD.MM.YYYY"):""}hasFileAttached(v){if(!v||"object"!=typeof v)return!1;const{mimetype:r}=v;return!!r}static{this.\u0275fac=function(r){return new(r||u)(d.\u0275\u0275inject(C.TranslateService))}}static{this.\u0275prov=d.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var Z=t(15270);let A=(()=>{class u{mapToPrescriptionRequestList(v){return v?v.map(r=>this.mapToPrescriptionRequest(r)):[]}mapToPrescriptionRequest(v){const{id:r=null,code:S=null,createdOn:_=null,status:$=null,institutionId:U=null}=v||{};return{id:r,code:this.mapRequestCodedEntry(S),createdOn:_,status:this.mapStatus($),institutionId:U}}mapStatus(v){switch(v){case"REQUESTED":return Z.o.Requested;case"ISSUED":return Z.o.Issued;case"REJECTED":return Z.o.Rejected;case"CANCELLED":return Z.o.Cancelled;case"REMOVED":return Z.o.Removed;case"MIXED":return Z.o.Mixed;default:return null}}mapRequestCodedEntry(v){let r={catalogName:null,catalogVersion:null,code:null,codeText:null,description:null};return v&&(r={catalogName:v.catalogName,catalogVersion:v.catalogVersion,code:v.code,codeText:v.codeText,description:v.description}),r}static{this.\u0275fac=function(r){return new(r||u)}}static{this.\u0275prov=d.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var M=t(68978),L=t(55720);let K=(()=>{class u{constructor(v,r,S,_,$,U,I,E){this.digitalPrescriptionMapperService=v,this.medicalService=r,this.prescriptionService=S,this.medicationOrderMapperService=_,this.photoPrescriptionMapperService=$,this.prescriptionRequestMapperService=U,this.shellService=I,this.sdkService=E,this.pharmacyOrderService=this.sdkService.getPharmacyOrderService()}getPrescriptionOrderData$(){return(0,l.combineLatest)([this.medicalService.getErezeptMdoList$(),this.getPharmacyOrders$(),this.getFavoritePharmacyList$()]).pipe((0,y.switchMap)(([v,r,S])=>{const _=this.filterPhotoPrescriptionList(v,r),$=this.filterDigitalPrescriptionList(v,r),U=r.map(T=>this.medicationOrderMapperService.mapToMedicationOrder(T,S)).reverse(),I=this.getPhotoPrescriptionWithoutOrderList(_,U);if(0===I.length)return(0,l.of)({orderList:U,photoPrescriptionList:_,digitalPrescriptionList:$,favoritePharmacyList:S});const E=_.filter(T=>!I.includes(T.id));return this.medicalService.deleteEntries$(I).pipe((0,y.map)(()=>({digitalPrescriptionList:$,orderList:U,photoPrescriptionList:E,favoritePharmacyList:S})))}))}getFavoritePharmacyList$(){return this.medicalService.getMdoByTypes$(["core.contact"]).pipe((0,y.map)(v=>v&&v.length?v.filter(S=>{const _=S.value&&S.value;return _&&"PHARMACY"===_.referenceType&&!0===_.favorite}).map(S=>{const{id:_,date:$,value:U}=S;return{date:$,value:U,id:_}}):null))}getPrescriptionRequestList$(){return this.prescriptionService.getMyPrescriptionRequestList$().pipe((0,y.map)(v=>this.prescriptionRequestMapperService.mapToPrescriptionRequestList(v)))}getPhotoPrescriptionWithoutOrderList(v,r){return(0,e.differenceWith)(v,r,(S,_)=>_.prescriptionIdList.includes(S.id)).map(S=>S.id)}filterPhotoPrescriptionList(v,r){return v.filter(S=>S.type===n.PrescriptionType.PHOTO).map(S=>this.photoPrescriptionMapperService.mapToPhotoPrescription(S,r))}filterDigitalPrescriptionList(v,r){return v.filter(S=>S.type===n.PrescriptionType.DIGITAL).map(S=>this.digitalPrescriptionMapperService.mapToDigitalPrescription(S,r))}getPharmacyOrders$(){const v=this.shellService.getLoginState();return(0,l.from)(this.pharmacyOrderService.findPharmacyOrders(v.participantId))}static{this.\u0275fac=function(r){return new(r||u)(d.\u0275\u0275inject(p.J),d.\u0275\u0275inject(n.MedicalService),d.\u0275\u0275inject(g.q),d.\u0275\u0275inject(x),d.\u0275\u0275inject(s),d.\u0275\u0275inject(A),d.\u0275\u0275inject(M.ShellService),d.\u0275\u0275inject(L.SdkService))}}static{this.\u0275prov=d.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},58762:(re,j,t)=>{t.d(j,{G:()=>ve});var n=t(75944),e=t(32839),l=t(8113),y=t(69915),d=t(56721),p=t(55407),g=t(96155),b=t(87199),C=t(20213),x=t(5237),h=t(90163),B=t(58286),m=t(75281),P=t(43209),s=t.n(P),Z=t(28606),A=t(63386);const M=["day"],L=["month"],K=["year"];function u(ne,Se){1&ne&&(m.\u0275\u0275elementContainerStart(0),m.\u0275\u0275elementStart(1,"span",9),m.\u0275\u0275text(2),m.\u0275\u0275pipe(3,"translate"),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(4,"span",10),m.\u0275\u0275text(5),m.\u0275\u0275pipe(6,"translate"),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(7,"span",11),m.\u0275\u0275text(8),m.\u0275\u0275pipe(9,"translate"),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementContainerEnd()),2&ne&&(m.\u0275\u0275advance(2),m.\u0275\u0275textInterpolate(m.\u0275\u0275pipeBind1(3,3,"adhocAppointment_birthdayCheckModal_dayInput")),m.\u0275\u0275advance(3),m.\u0275\u0275textInterpolate(m.\u0275\u0275pipeBind1(6,5,"adhocAppointment_birthdayCheckModal_monthInput")),m.\u0275\u0275advance(3),m.\u0275\u0275textInterpolate(m.\u0275\u0275pipeBind1(9,7,"adhocAppointment_birthdayCheckModal_yearInput")))}function D(ne,Se){if(1&ne&&(m.\u0275\u0275elementContainerStart(0),m.\u0275\u0275text(1),m.\u0275\u0275elementContainerEnd()),2&ne){const F=m.\u0275\u0275nextContext();m.\u0275\u0275advance(),m.\u0275\u0275textInterpolate1(" ",F.error," ")}}let v=(()=>{class ne{constructor(F,Y){this.formBuilder=F,this.hostEnvironmentService=Y,this.changed=new m.EventEmitter,this.isFormFullField=new m.EventEmitter,this.countryCode=this.hostEnvironmentService.getEnvironment()?.configuration,this.currentYear=s()().get("year"),this.form=this.formBuilder.group({day:[""],month:[""],year:[""]}
1)}ngOnInit(){this.dayRef.nativeElement.focus()}ngAfterViewInit(){this.isFocused&&setTimeout(()=>this.dayRef.nativeElement.focus(),0)}dayInput(){const F=this.form.get("day");this.shouldSelectNextElement(F)&&(this.monthRef.nativeElement.focus(),this.monthRef.nativeElement.select()),this.emitValue()}monthInput(F){const Y=this.form.get("month");this.shouldSelectPreviousElement(Y,F.key)&&(this.dayRef.nativeElement.focus(),this.dayRef.nativeElement.select()),this.shouldSelectNextElement(Y)&&(this.yearRef.nativeElement.focus(),this.yearRef.nativeElement.select()),this.emitValue()}yearInput(F){const Y=this.form.get("year");this.shouldSelectPreviousElement(Y,F.key)&&(this.monthRef.nativeElement.focus(),this.monthRef.nativeElement.select()),this.emitValue()}shouldSelectNextElement(F){return 2===F?.value?.length}shouldSelectPreviousElement(F,Y){return"Backspace"===Y&&0===F?.value?.length}emitValue(){const{day:F,month:Y,year:w}=this.form?.value??{},N=`${w}-${Y}-${F}`,oe=s()(N,"YYYY-M-D",!0);this.changed.emit(oe.isValid()?oe.toDate():void 0);const le=/\D+/g,q=Object.keys(this.form.value).every(Me=>""!==(this.form?.value[Me]).replaceAll(le,""))&&this.form.value.year.replaceAll(le,"").length>=4;this.isFormFullField.emit(q)}static{this.\u0275fac=function(Y){return new(Y||ne)(m.\u0275\u0275directiveInject(x.UntypedFormBuilder),m.\u0275\u0275directiveInject(A.N))}}static{this.\u0275cmp=m.\u0275\u0275defineComponent({type:ne,selectors:[["app-date-input"]],viewQuery:function(Y,w){if(1&Y&&(m.\u0275\u0275viewQuery(M,7),m.\u0275\u0275viewQuery(L,7),m.\u0275\u0275viewQuery(K,7)),2&Y){let N;m.\u0275\u0275queryRefresh(N=m.\u0275\u0275loadQuery())&&(w.dayRef=N.first),m.\u0275\u0275queryRefresh(N=m.\u0275\u0275loadQuery())&&(w.monthRef=N.first),m.\u0275\u0275queryRefresh(N=m.\u0275\u0275loadQuery())&&(w.yearRef=N.first)}},inputs:{error:"error",isFocused:"isFocused"},outputs:{changed:"changed",isFormFullField:"isFormFullField"},decls:10,vars:15,consts:[["day",""],["month",""],["year",""],[3,"formGroup"],["cdAppFormatNumber","","type","text","inputmode","numeric","pattern","[0-9]*","min","1","max","31","maxlength","2","formControlName","day","data-automation","Date input - Day",1,"form-control",3,"keyup","placeholder"],["cdAppFormatNumber","","type","text","inputmode","numeric","pattern","[0-9]*","placeholder","MM","min","1","max","12","maxlength","2","formControlName","month","data-automation","Date input - Month",1,"form-control",3,"keyup"],["cdAppFormatNumber","","type","text","inputmode","numeric","pattern","[0-9]*","maxlength","4","formControlName","year","data-automation","Date input - Year",1,"form-control",3,"keyup","placeholder","max"],[1,"hint"],[4,"ngIf"],["data-automation","Date input - Day label"],["data-automation","Date input - Month label"],["data-automation","Date input - Year label"]],template:function(Y,w){if(1&Y){const N=m.\u0275\u0275getCurrentView();m.\u0275\u0275elementStart(0,"form",3)(1,"input",4,0),m.\u0275\u0275listener("keyup",function(){return m.\u0275\u0275restoreView(N),m.\u0275\u0275resetView(w.dayInput())}),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(3,"input",5,1),m.\u0275\u0275listener("keyup",function(le){return m.\u0275\u0275restoreView(N),m.\u0275\u0275resetView(w.monthInput(le))}),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(5,"input",6,2),m.\u0275\u0275listener("keyup",function(le){return m.\u0275\u0275restoreView(N),m.\u0275\u0275resetView(w.yearInput(le))}),m.\u0275\u0275elementEnd()(),m.\u0275\u0275elementStart(7,"div",7),m.\u0275\u0275template(8,u,10,9,"ng-container",8)(9,D,2,1,"ng-container",8),m.\u0275\u0275elementEnd()}2&Y&&(m.\u0275\u0275property("formGroup",w.form),m.\u0275\u0275advance(),m.\u0275\u0275classProp("error",w.error),m.\u0275\u0275property("placeholder","de"===w.countryCode?"TT":"JJ"),m.\u0275\u0275advance(2),m.\u0275\u0275classProp("error",w.error),m.\u0275\u0275advance(2),m.\u0275\u0275classProp("error",w.error),m.\u0275\u0275property("placeholder","de"===w.countryCode?"JJJJ":"AAAA")("max",w.currentYear),m.\u0275\u0275advance(2),m.\u0275\u0275classProp("hint--error",w.error),m.\u0275\u0275attribute("data-automation","Date input - "+(w.error?"Error text":"Labels")),m.\u0275\u0275advance(),m.\u0275\u0275property("ngIf",!w.error),m.\u0275\u0275advance(),m.\u0275\u0275property("ngIf",w.error))},dependencies:[x.FormsModule,x.\u0275NgNoValidate,x.DefaultValueAccessor,x.NgControlStatus,x.NgControlStatusGroup,x.MaxLengthValidator,x.PatternValidator,x.ReactiveFormsModule,x.FormGroupDirective,x.FormControlName,B.FormatNumberDirective,b.NgIf,Z.TranslatePipe],styles:["form[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}input[_ngcontent-%COMP%], .hint[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;width:74px;margin-right:16px;text-align:center}input[_ngcontent-%COMP%]:last-child, .hint[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{width:96px;margin-right:0}input[_ngcontent-%COMP%]{height:48px;font-size:24px;margin-bottom:8px;border-radius:8px}input[_ngcontent-%COMP%]::placeholder{color:#ced4da}input.error[_ngcontent-%COMP%]{border-color:#cd334f99;background-color:#cd334f0d}.hint[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;font-size:16px;line-height:24px;color:var(--neutrals-medium);min-height:40px;text-align:center}.hint--error[_ngcontent-%COMP%]{color:#cd334f}"],changeDetection:0})}}return ne})();var r=t(24200),S=t(81508),_=t(72306);let $=(()=>{class ne{constructor(F,Y,w,N){this.document=F,this.modalsService=Y,this.loaderService=w,this.sharedService=N}intercept(F,Y){return Y.handle(F).pipe((0,S.catchError)(w=>{try{if(w&&w.error){const N=JSON.parse(w.error);if(N.error&&N.error.type&&!this.openedAppErrorDialog)switch(N.error.type){case"com.cgm.life.appstore.exceptions.AppVersionLockedException":return this.showAppError({initialState:{message:"lock-screen",headerImage:"assets/img/locked.svg"}}),(0,r.throwError)(()=>({}));case"com.cgm.life.appstore.exceptions.AppVersionExpiredException":return this.showAppError({initialState:{message:"expired-screen",headerImage:"assets/img/refresh.svg"}}),(0,r.throwError)(()=>({}))}}}catch{}return(0,r.throwError)(()=>w)}))}showAppError(F){this.openedAppErrorDialog=this.modalsService.showAppError(F),this.loaderService.hideLoader(),this.sharedService.blurActiveElement(),this.document.body.classList.add("app-blocked")}static{this.\u0275fac=function(Y){return new(Y||ne)(m.\u0275\u0275inject(b.DOCUMENT),m.\u0275\u0275inject(_.ModalsService),m.\u0275\u0275inject(B.LoaderService),m.\u0275\u0275inject(B.SharedService))}}static{this.\u0275prov=m.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}}return ne})(),U=(()=>{class ne{constructor(){this.cancelPendingRequests$=new r.Subject}cancelPendingRequests(){this.cancelPendingRequests$.next()}onCancelPendingRequests$(){return this.cancelPendingRequests$.asObservable()}static{this.\u0275fac=function(Y){return new(Y||ne)}}static{this.\u0275prov=m.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})(),I=(()=>{class ne{constructor(F){this.httpCancelService=F}intercept(F,Y){return Y.handle(F).pipe((0,S.takeUntil)(this.httpCancelService.onCancelPendingRequests$()))}static{this.\u0275fac=function(Y){return new(Y||ne)(m.\u0275\u0275inject(U))}}static{this.\u0275prov=m.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}}return ne})(),E=(()=>{class ne{constructor(F){this.router=F}intercept(F,Y){return Y.handle(F).pipe((0,S.catchError)(w=>{try{if(w&&w.error){if(/sendAppointmentMails/.test(w.url)){const oe=new C.HttpResponse({body:"[]",status:200});return(0,r.of)(oe)}const N=JSON.parse(w.error);if(N.error&&N.error.type)switch(N.error.type){case"com.cgm.life.appstore.exceptions.AppVersionLockedException":return this.router.navigate(["/app-locked"]),(0,r.throwError)(()=>({}));case"com.cgm.life.appstore.exceptions.AppVersionExpiredException":return this.router.navigate(["/app-expired"]),(0,r.throwError)(()=>({}))}}}catch{}return(0,r.throwError)(()=>w)}))}static{this.\u0275fac=function(Y){return new(Y||ne)(m.\u0275\u0275inject(h.Router))}}static{this.\u0275prov=m.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}}return ne})();var T=t(93960),f=t(59639),k=t(68978),Q=t(1255),X=t(60648);let ee=(()=>{class ne{constructor(F,Y,w,N,oe,le,q,Me,G){this.loaderService=F,this.dialogService=Y,this.translateService=w,this.router=N,this.shellService=oe,this.userProfileService=le,this.reloginService=q,this.clientTokenService=Me,this.authService=G,this.showSessionExpiredModal=!0,this.userProfileService.userProfileChanged$().subscribe(V=>{V&&(this.showSessionExpiredModal=!0)})}intercept(F,Y){return Y.handle(F).pipe((0,S.catchError)(w=>{try{const N=JSON.parse(w.error),oe=this.shellService.getLoginState(),le=!(!oe||!oe.participantId);if("ADHOC"===oe.userType)return(0,r.throwError)(w);if(/com\.cgm\.life\.common\.exceptions\.NotLoggedInException/.test(N.error.type)&&le)if(this.clientTokenService.isClientTokenAvailable()&&this.userProfileService.getUserTypeStateValue()!==T.UserTypeEnum.SAS)this.reloginWithClientToken();else{if(!this.showSessionExpiredModal)return;this.showSessionExpiredModal=!1,this.dialogService.openMessage({title:this.translateService.instant("message.modal.headline"),message:this.translateService.instant("error.notloggedin"),buttonText:this.translateService.instant("general.action.ok")}),this.logOutUser().subscribe()}}catch{}return(0,r.throwError)(w)}))}reloginWithClientToken(){this.loaderService.displayLoader(),this.reloginService.reloginWithClientToken$().pipe((0,S.catchError)(()=>(this.loaderService.hideLoader(),(0,r.of)(!1)))).subscribe(()=>{this.loaderService.hideLoader()})}logOutUser(){return this.authService.logOut().pipe((0,S.tap)(()=>{this.userProfileService.updateUserProfile(null),this.userProfileService.updateUserType(T.UserTypeEnum.PATIENT),this.router.navigate([""])}),(0,S.finalize)(()=>{this.loaderService.hideLoader()}))}static{this.\u0275fac=function(Y){return new(Y||ne)(m.\u0275\u0275inject(B.LoaderService),m.\u0275\u0275inject(f.ClickdocDialogService),m.\u0275\u0275inject(Z.TranslateService),m.\u0275\u0275inject(h.Router),m.\u0275\u0275inject(k.ShellService),m.\u0275\u0275inject(T.UserProfileService),m.\u0275\u0275inject(Q.e),m.\u0275\u0275inject(X.ClientTokenService),m.\u0275\u0275inject(X.AuthService))}}static{this.\u0275prov=m.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();var H=t(1444),ge=t(68995),fe=t(36350),Pe=t(14887),Ee=t(83515),xe=t(40603),ye=t(43618);let ve=(()=>{class ne{static{this.\u0275fac=function(Y){return new(Y||ne)}}static{this.\u0275mod=m.\u0275\u0275defineNgModule({type:ne})}static{this.\u0275inj=m.\u0275\u0275defineInjector({providers:[H.f,{provide:C.HTTP_INTERCEPTORS,useClass:ee,multi:!0},{multi:!0,provide:C.HTTP_INTERCEPTORS,useClass:I},{provide:C.HTTP_INTERCEPTORS,useClass:E,multi:!0},{provide:C.HTTP_INTERCEPTORS,useClass:$,multi:!0},{provide:C.HTTP_INTERCEPTORS,useClass:ye.RecaptchaInterceptor,multi:!0}],imports:[v,fe.N,Pe.VisualModule,ge.BannerComponent,l.BsDropdownModule,Ee.ButtonModule,n.CarouselModule,e.CollapseModule,b.CommonModule,x.FormsModule,xe.ImageModule,g.LayoutModule,y.ModalModule,B.PipeModule,x.ReactiveFormsModule,h.RouterModule,d.TooltipModule,p.TypeaheadModule.forRoot(),v,fe.N,l.BsDropdownModule,n.CarouselModule,e.CollapseModule,b.CommonModule,x.FormsModule,B.PipeModule,x.ReactiveFormsModule,h.RouterModule,p.TypeaheadModule,Ee.ButtonModule,Pe.VisualModule]})}}return ne})()},59658:(re,j,t)=>{t.d(j,{J:()=>Z,p:()=>s});
1var n=t(75281),l=t(90163),d=t(45906),p=t(63386),g=t(60648),C=t(58286),h=t(24200),m=t(81508);const s=(L,K)=>{const u=(0,n.inject)(C.LoaderService),D=(0,n.inject)(d.H),v=(0,n.inject)(g.AuthService),r=(0,n.inject)(l.Router),S=(0,n.inject)(C.SharedService),_=(0,n.inject)(p.N).getEnvironment().configuration;return A(u,D,v,r,S,_,K)},Z=()=>{const L=(0,n.inject)(C.LoaderService),K=(0,n.inject)(d.H),u=(0,n.inject)(g.AuthService),D=(0,n.inject)(l.Router),v=(0,n.inject)(C.SharedService),r=(0,n.inject)(p.N).getEnvironment().configuration;return A(L,K,u,D,v,r)},A=(L,K,u,D,v,r,S)=>(L.displayLoader(),K.initialLoginDone$().pipe((0,m.switchMap)(_=>_?(0,h.of)(!0):u.login$(r)),(0,m.tap)(_=>{_||M(S,D,v),L.hideLoader()}))),M=(L,K,u)=>{(!L||u.isStatePathName(L.url))&&K.navigate([""])}},63183:(re,j,t)=>{t.d(j,{s:()=>n});const n=28},63386:(re,j,t)=>{t.d(j,{N:()=>b});var n=t(25474);const d={at:{configuration:"at",appConfig:{id:"com.cgmlife.patientroom.at",locale:"de_AT",landing_page:"",recaptchaSiteKey:"6Ld3-WAUAAAAAJNE3y4RcWKxMQipPz0-osHholQ4",captchaTurnstileCloudflareSiteKey:"0x4AAAAAAA0AUz0XTwNsHfAw",defaultState:{name:"",url:"search",seoUrl:"termin"},participantType:"PATIENT",clientIdentifier:"DOCTORSEARCH_AT",dataProcessingConsentIdentifier:"DOCTORSEARCH_SUB_DATAPROCESSING_PATIENT_AT",eRezeptConsentIdentifier:"",countryIdentifier:"AT",contractType:"DOCTORSEARCH_BASIC_PATIENT_AT",pimcore:{marketPlace:"at"},help:{urlSegment:{base:"hilfe"}},magazine:void 0,videoConsultation:void 0,eRezept:void 0,meineGesundheit:void 0,phr:{urlSegment:{base:"documents"}},eOrdonnance:void 0,appointmentbooking:{urlSegment:{base:"appointmentbooking"}},myAppointments:{urlSegment:{base:"my-appointments"}},adHocAppointment:{urlSegment:{base:"adHoc-appointment"}},institution:{urlSegment:{base:"institution"}},practice:{urlSegment:{base:"practice"}},physician:{urlSegment:{base:"physician"}},doctor:{urlSegment:{base:"arzt"}},myDoctors:{urlSegment:{base:"my-doctors"}},myProfile:{urlSegment:{base:"my-profile"}},search:void 0,searchAlternative:void 0,mobile:{urlSegment:{base:"mobile"}},imprint:{urlSegment:{base:"imprint"},i18n:{pageTitle:"imprint.content.impressum.headline"},showContactSectionOne:!0,showContactSectionTwo:!0,showTitleSectionOne:!0,showDetail
1s:!1,showManagementAndRegister:!0,showDescriptionSectionTwo:!1,showDescriptionSectionThree:!0},dataProtection:{urlSegment:{base:"data-protection"}},accessibility:{urlSegment:{base:"accessibility"}},topSpecialisations:{urlSegment:{base:"fachgebiete"}},topSearches:{urlSegment:{base:"suchanfragen"}},insuranceTypes:[{value:"egal",i18n:"search.insuranceTypes.default"},{value:"privat",i18n:"search.insuranceTypes.feesWithoutExceeding"},{value:"gesetzlich",i18n:"search.insuranceTypes.feesWithModerateOverruns"}],startPage:{heroArea:!0,searchArea:!1,nextAppointments:!0,favoritePhysicians:!0,ePrescription:!1,ourServices:!1,healthFeed:!1,nativeAppsDetails:!1,otherServices:!1,clickdocpro:!0},layout:{mobile:{navigation:{showNativeDownloadBadges:!1}}},supportFavorites:!1,supportFavoritesDropDownMenu:!0,supportDocumentsDropDownMenu:!0,showConsentManagementSection:!0,enableMyAppointmentsSearchPhysicianButton:!1,enableERezeptAndVideoConsultationSection:!1,topSpecialisationsPage:"fachgebiete",topSearchesPage:"suchanfragen",oppeningHoursFormat:{short:"HH:mm"},longDateFormat:{LT:"HH:mm 'Uhr'",MLT:"HH:mm [Uhr]",L:"dd.MM.yyyy",LL:"dd DD.MM.",LLL:"EEEE, dd. MMMM yyyy",LD:"EEEE",LF:"d MMM y",LA:"d. MMMM",LM:"D. MMMM",LY:"dd. MMMM yyyy",SD:"d. MMMM yyyy",LB:"dd MMMM yyyy",LLM:"EEEE, dd. MMMM yyyy",LDT:"EEEE, dd. MMMM yyyy 'um'",MEDIUM_SHORT:"EE, d. MMM y",LONG:"dddd, D. MMMM YYYY, HH:mm [Uhr]"},faqLink:"/cms-at/FAQ",footerObligationLinks:{linkFooterAboutTerms:"https://de.cgmlife.com/AWS/eu-inventory/Nutzungsvereinbarung_CLICKDOC_LIFE-AT_20240322.pdf",linkFooterAboutPrivacyPolicy:"https://de.cgmlife.com/AWS/eu-inventory/Datenschutzerklaerung_CLICKDOC_LIFE-AT_20240322.pdf",linkFooterAboutDoctor:"",linkFooterAboutHealth:"",linkFooterFacebook:"",linkFooterYoutube:"",linkFooterInstagram:"",linkFooterLinkedin:""},footerLayout:"row",footerTitles:{footer_title_about_clickdoc:[{translate:"footer_about_us_text",link:"https://www.cgm.com/aut_de",internalLink:!1,featureFlag:"",imagePath:""},{translate:"footer_about_career_text",link:"https://cgm.wd3.myworkdayjobs.com/de-DE/cgm/jobs?locationCountry=d004c0d1a6c84511ab048669fcdf9fd7",internalLink:!1,featureFlag:"",imagePath:""},{translate:"footer_about_help_text",link:"hilfe",internalLink:!0,featureFlag:"",imagePath:""}],footer_title_for_doctors:[],footer_title_frequently_searched_specializations:[]},metadata:{showDetailedAddressInTitle:!0}}},de:{configuration:"de",appConfig:{id:"com.cgmlife.patientroom",locale:"de_DE",landing_page:"",recaptchaSiteKey:"6Ld3-WAUAAAAAJNE3y4RcWKxMQipPz0-osHholQ4",captchaTurnstileCloudflareSiteKey:"0x4AAAAAAAxD-K4AYsW7xw-Y",defaultState:{name:"",url:"search",seoUrl:"termin"},participantType:"PATIENT",clientIdentifier:"DOCTORSEARCH",dataProcessingConsentIdentifier:"DOCTORSEARCH_SUB_DATAPROCESSING_PATIENT_DE",eRezeptConsentIdentifier:"DOCTORSEARCH_SUB_IA_EREZEPT_PATIENT_DE",countryIdentifier:"DE",contractType:"DOCTORSEARCH_BASIC_PATIENT_DE",pimcore:{marketPlace:"de"},help:{urlSegment:{base:"hilfe"}},magazine:{urlSegment:{base:"magazin"}},videoConsultation:{urlSegment:{base:"videosprechstunde"}},phr:{urlSegment:{base:"documents"}},eOrdonnance:void 0,appointmentbooking:{urlSegment:{base:"appointmentbooking"}},myAppointments:{urlSegment:{base:"my-appointments"}},adHocAppointment:{urlSegment:{base:"adHoc-appointment"}},institution:{urlSegment:{base:"institution"}},practice:{urlSegment:{base:"practice"}},physician:{urlSegment:{base:"physician"}},doctor:{urlSegment:{base:"arzt"}},myDoctors:{urlSegment:{base:"my-doctors"}},eRezept:{urlSegment:{base:"eRezept"}},meineGesundheit:{urlSegment:{base:"meine-gesundheit"}},myProfile:{urlSegment:{base:"my-profile"}},search:{urlSegment:{base:"search"}},searchAlternative:{urlSegment:{base:"termin"}},mobile:{urlSegment:{base:"mobile"}},imprint:{urlSegment:{base:"imprint"},i18n:{pageTitle:"imprint.content.impressum.headline"},showContactSectionOne:!0,showContactSectionTwo:!0,showTitleSectionOne:!0,showDetail
1s:!1,showManagementAndRegister:!0,showDescriptionSectionTwo:!1,showDescriptionSectionThree:!0},dataProtection:{urlSegment:{base:"data-protection"}},accessibility:{urlSegment:{base:"accessibility"}},topSpecialisations:{urlSegment:{base:"fachgebiete"}},topSearches:{urlSegment:{base:"suchanfragen"}},insuranceTypes:[{value:"egal",i18n:"search.insuranceTypes.default"},{value:"privat",i18n:"search.insuranceTypes.feesWithoutExceeding"},{value:"gesetzlich",i18n:"search.insuranceTypes.feesWithModerateOverruns"}],startPage:{heroArea:!1,searchArea:!0,nextAppointments:!0,favoritePhysicians:!0,ePrescription:!0,ourServices:!0,healthFeed:!0,nativeAppsDetails:!0,otherServices:!0,clickdocpro:!1},layout:{mobile:{navigation:{showNativeDownloadBadges:!0}}},supportFavorites:!0,supportFavoritesDropDownMenu:!0,supportDocumentsDropDownMenu:!0,showConsentManagementSection:!0,enableMyAppointmentsSearchPhysicianButton:!0,enableERezeptAndVideoConsultationSection:!0,topSpecialisationsPage:"fachgebiete",topSearchesPage:"suchanfragen",oppeningHoursFormat:{short:"HH:mm"},longDateFormat:{LT:"HH:mm 'Uhr'",MLT:"HH:mm [Uhr]",L:"dd.MM.yyyy",LL:"dd DD.MM.",LLL:"EEEE, dd. MMMM yyyy",LD:"EEEE",LF:"d MMM y",LA:"d. MMMM",LM:"D. MMMM",LY:"dd. MMMM yyyy",SD:"d. MMMM yyyy",LB:"dd MMMM yyyy",LLM:"EEEE, dd. MMMM yyyy",LDT:"EEEE, dd. MMMM yyyy 'um'",MEDIUM_SHORT:"EE, d. MMM y",LONG:"dddd, D. MMMM YYYY, HH:mm [Uhr]"},faqLink:"/cms-de/FAQ",footerObligationLinks:{linkFooterAboutTerms:"https://de.cgmlife.com/AWS/eu-inventory/Nutzungsvereinbarung_CLICKDOC_22-04-06.pdf",linkFooterAboutPrivacyPolicy:"https://de.cgmlife.com/AWS/eu-inventory/21-01-04_Datenschutzerklaerung_CLICKDOC.pdf",linkFooterAboutDoctor:"https://www.arzt-auskunft.de",linkFooterAboutHealth:"https://www.stiftung-gesundheit.de",linkFooterFacebook:"https://www.facebook.com/clickdoc.de",linkFooterYoutube:"https://www.youtube.com/channel/UC-q08AaIYQwHPo7yVZHuJIQ/videos",linkFooterInstagram:"https://www.instagram.com/accounts/login/?next=/clickdoc/",linkFooterLinkedin:"https://www.linkedin.com/showcase/cgm-clickdoc/"},footerLayout:"column",footerTitles:{footer_title_about_clickdoc:[{translate:"footer_about_us_text",link:"https://www.cgm.com/deu_de/plattformen/clickdoc.html",internalLink:!1,featureFlag:"",imagePath:""},{translate:"footer_about_career_text",link:"https://cgm.wd3.myworkdayjobs.com/de-DE/cgm/jobs?locationCountry=dcc5b7608d8644b3a93716604e78e995",internalLink:!1,featureFlag:"",imagePath:""},{internalLink:!0,link:"magazin",translate:"main_navigation_go_to_magazine",featureFlag:"magazine",imagePath:""},{translate:"footer_about_help_text",link:"hilfe",internalLink:!0,featureFlag:"",imagePath:""},{translate:"",link:"start_page_app_store_link",internalLink:!1,featureFlag:"",imagePath:"assets/img/footer/apple-store-badge-de.svg"},{translate:"",link:"start_page_google_play_link",internalLink:!1,featureFlag:"",imagePath:"assets/img/footer/google-play-store-badge-de.svg"}],footer_title_for_doctors:[{translate:"footer_about_video_consultation_text",link:"https://www.cgm.com/deu_de/plattformen/clickdoc/zertifizierte-videosprechstunde.html",internalLink:!1},{translate:"footer_about_clickdoc_calendar_text",link:"https://www.cgm.com/deu_de/plattformen/clickdoc/clickdoc-kalender.html",internalLink:!1}],footer_title_frequently_searched_specializations:[{translate:"footer_all_specialties",link:"/cd-de",internalLink:!1}]},metadata:{showDetailedAddressInTitle:!0}}},fr:{configuration:"fr",appConfig:{id:"com.cgmlife.patientroom.fr",locale:"fr_FR",landing_page:"",recaptchaSiteKey:"6Ld3-WAUAAAAAJNE3y4RcWKxMQipPz0-osHholQ4",captchaTurnstileCloudflareSiteKey:"0x4AAAAAAAxEx1xDR4D2-X-9",defaultState:{name:"search.index",url:"search",seoUrl:"annuaire"},participantType:"PATIENT",clientIdentifier:"DOCTORSEARCH_FR",dataProcessingConsentIdentifier:"",eRezeptConsentIdentifier:"",countryIdentifier:"FR",contractType:"DOCTORSEARCH_BASIC_PATIENT_FR",pimcore:{marketPlace:"fr"},help:{urlSegment:{base:"aide"}},magazine:{urlSegment:{base:"magazine"}},videoConsultation:{urlSegment:{base:"vid\xe9o-consultation"}},phr:{urlSegment:{base:"documents"}}
1,eOrdonnance:{urlSegment:{base:"eOrdonnance"}},appointmentbooking:{urlSegment:{base:"appointmentbooking"}},myAppointments:{urlSegment:{base:"my-appointments"}},adHocAppointment:{urlSegment:{base:"adHoc-appointment"}},institution:{urlSegment:{base:"structure"}},practice:{urlSegment:{base:"practice"}},physician:{urlSegment:{base:"physician"}},doctor:{urlSegment:{base:"m\xe9decin"}},myDoctors:{urlSegment:{base:"my-doctors"}},eRezept:void 0,meineGesundheit:void 0,myProfile:{urlSegment:{base:"my-profile"}},search:{urlSegment:{base:"search"}},searchAlternative:{urlSegment:{base:"annuaire"}},mobile:{urlSegment:{base:"mobile"}},imprint:{urlSegment:{base:"imprint"},i18n:{pageTitle:"imprint.content.impressum.section1.headline"},showContactSectionOne:!1,showContactSectionTwo:!1,showTitleSectionOne:!1,showDetails:!0,showManagementAndRegister:!1,showDescriptionSectionTwo:!0,showDescriptionSectionThree:!1},dataProtection:{urlSegment:{base:"data-protection"}},accessibility:{urlSegment:{base:"accessibility"}},topSpecialisations:{urlSegment:{base:"specialities"}},topSearches:{urlSegment:{base:"recherches"}},insuranceTypes:[{value:"indifferent",i18n:"search.insuranceTypes.default"},{value:"fees-without-exceeding",i18n:"search.insuranceTypes.feesWithoutExceeding"},{value:"fees-with-moderate-overruns",i18n:"search.insuranceTypes.feesWithModerateOverruns"}],startPage:{heroArea:!1,searchArea:!0,nextAppointments:!0,favoritePhysicians:!0,ePrescription:!1,ourServices:!1,healthFeed:!0,nativeAppsDetails:!0,otherServices:!1,clickdocpro:!0},layout:{mobile:{navigation:{showNativeDownloadBadges:!0}}},supportFavorites:!0,supportFavoritesDropDownMenu:!1,supportDocumentsDropDownMenu:!1,showConsentManagementSection:!1,enableMyAppointmentsSearchPhysicianButton:!0,enableERezeptAndVideoConsultationSection:!1,topSpecialisationsPage:"specialities",topSearchesPage:"recherches",oppeningHoursFormat:{short:"HH[h]mm"},longDateFormat:{LT:"HH'h'mm",MLT:"HH[h]mm",L:"dd/MM/yyyy",LL:"dd DD/MM",LLL:"EEEE d MMMM yyyy",LD:"EEEE",LF:"d MMM y",LA:"d MMMM",LM:"D MMMM",SD:"d MMMM yyyy",LY:"dd MMMM yyyy",LDT:"EEEE d MMMM yyyy '\xe0'",MEDIUM_SHORT:"EE d MMM y",LONG:"dddd D MMMM YYYY, HH[h]mm",LB:"",LLM:""},faqLink:"/cms-fr/FAQ",footerObligationLinks:{linkFooterAboutTerms:"https://de.cgmlife.com/AWS/eu-inventory/CLICKDOC_Conditions_Generales_dUtilisation_2021_01.pdf",linkFooterAboutPrivacyPolicy:"https://de.cgmlife.com/AWS/eu-inventory/CLICKDOC_Politique_Donnees_Personnelles_2021_01.pdf",linkFooterAboutDoctor:"",linkFooterAboutHealth:"",linkFooterFacebook:"",linkFooterYoutube:"",linkFooterInstagram:"",linkFooterLinkedin:""},footerLayout:"column",footerTitles:{footer_title_about_clickdoc:[{translate:"footer_about_us_text",link:"https://www.cgm.com/fra_fr/le-groupe/a-propos-de-nous.html",internalLink:!1,featureFlag:"",imagePath:""},{translate:"footer_about_press_text",link:"https://www.cgm.com/fra_fr/le-groupe/cote-presse.html",internalLink:!1,featureFlag:"",imagePath:""},{translate:"footer_about_career_text",link:"https://www.cgm.com/fra_fr/carriere.html",internalLink:!1,featureFlag:"",imagePath:""},{translate:"footer_about_group_text",link:"https://www.cgm.com/fra_fr",internalLink:!1,featureFlag:"",imagePath:""},{internalLink:!0,link:"magazine",translate:"main_navigation_go_to_magazine",featureFlag:"magazine",imagePath:""},{translate:"footer_about_help_text",link:"aide",internalLink:!0,featureFlag:"",imagePath:""},{translate:"",link:"start_page_app_store_link",internalLink:!1,featureFlag:"",imagePath:"assets/img/footer/apple-store-badge-fr.svg"},{translate:"",link:"start_page_google_play_link",internalLink:!1,featureFlag:"",imagePath:"assets/img/footer/google-play-store-badge-fr.svg"}],footer_title_for_doctors:[{translate:"footer_about_video_consultation_text",link:"https://www.cgm.com/fra_fr/produits/teleconsultation/clickdoc-pro-teleconsultation.html",internalLink:!1},{translate:"footer_about_clickdoc_calendar_text",link:"https://www.cgm.com/fra_fr/produits/agenda-pro-gratuit.html",internalLink:!1},{translate:"footer_about_appointment_text",link:"https://www.cgm.com/fra_fr/produits/organisation-du-cabinet/clickdoc-pro-agenda-rendez-vous-en-ligne.html",internalLink:!1},{translate:"footer_about_telesecretariat_text",link:"https://www.cgm.com/fra_fr/produits/clickdoc-pro-telesecretariat.html",internalLink:!1}
1,{translate:"footer_about_software_clickdoc_pro_text",link:"https://www.cgm.com/fra_fr/produits/logiciel-du-cabinet/gamme-clickdoc-pro.html",internalLink:!1}],footer_title_frequently_searched_specializations:[{translate:"footer_all_specialties",link:"/cd-fr",internalLink:!1}]},metadata:{showDetailedAddressInTitle:!1}}}},p={dev:{baseIaHref:"https://qa.ihreapotheken.de/",pimcoreApiKey:"76585efcff5690e32c7d87db1c0c2597cf8a85fb207a73d8bbecc5827e8fb814",pimcoreBaseHref:"https://healthcenter.clickdoc.de101.cgm.ag",baseIaIframe:"https://qacgm.ihreapotheken.de",eHealthTecHref:"https://jenkins.clickdoc.cloud.c3.cgm.ag:7070/",eHealthTecSecret:"u6oBZPQmRki9YACsoszRm0M8ODm8jNJq",healthCenterUrl:"https://healthcenter.clickdoc.de101.cgm.ag",iaApiKey:"6c677f9bea602e7b469231bd78e5daca3bbbba32d79679368a97eb90295be1e0",googleMapsApiKey:"AIzaSyCwvmmXXfuLKl0aOyMWLSDKZKiSxTXlSF0",cgmLifeUrl:{url:"int.cgmlife.com",protocolPrefix:"https://"},i18nBaseHref:"https://de.clickdoc.de101.cgm.ag/cdc-i18n/cd"},int:{baseIaHref:"https://qa.ihreapotheken.de/",pimcoreApiKey:"76585efcff5690e32c7d87db1c0c2597cf8a85fb207a73d8bbecc5827e8fb814",pimcoreBaseHref:"https://preprod.healthcenter.clickdoc.de",baseIaIframe:"https://qacgm.ihreapotheken.de",eHealthTecHref:"https://ept-qa.clickdoc.de/",eHealthTecSecret:"u6oBZPQmRki9YACsoszRm0M8ODm8jNJq",healthCenterUrl:"https://int.clickdoc.de/healthcenter",iaApiKey:"6c677f9bea602e7b469231bd78e5daca3bbbba32d79679368a97eb90295be1e0",googleMapsApiKey:"AIzaSyCOI6kyFv8JYqw2lrEN9a4GJzSjw_Yq12w",cgmLifeUrl:{url:"int.cgmlife.com",protocolPrefix:"https://"},i18nBaseHref:"https://int.clickdoc.de/cdc-i18n/cd"},demo:{baseIaHref:"https://ihreapotheken.de/",pimcoreApiKey:"76585efcff5690e32c7d87db1c0c2597cf8a85fb207a73d8bbecc5827e8fb814",pimcoreBaseHref:"https://preprod.healthcenter.clickdoc.de",baseIaIframe:"https://cgm.ihreapotheken.de",eHealthTecHref:"https://ept-qa.clickdoc.de/",eHealthTecSecret:"u6oBZPQmRki9YACsoszRm0M8ODm8jNJq",healthCenterUrl:"https://int.clickdoc.de/healthcenter",iaApiKey:"8832c8542c09bc23a88439408a2a8bde404d989dcde05161796a9f499f75cf78",googleMapsApiKey:"AIzaSyCOI6kyFv8JYqw2lrEN9a4GJzSjw_Yq12w",cgmLifeUrl:{url:"demo.cgmlife.com",protocolPrefix:"https://"},i18nBaseHref:"https://demo.clickdoc.de/cdc-i18n/cd"},prod:{baseIaHref:"https://ihreapotheken.de/",pimcoreApiKey:"76585efcff5690e32c7d87db1c0c2597cf8a85fb207a73d8bbecc5827e8fb814",pimcoreBaseHref:"https://healthcenter.clickdoc.de",baseIaIframe:"https://cgm.ihreapotheken.de",eHealthTecHref:"https://ept.clickdoc.de/",eHealthTecSecret:"oQc7DAJL7p2IRtWL6YxJA1nP8V8mZ6Z3",healthCenterUrl:"https://clickdoc.de/healthcenter",iaApiKey:"8832c8542c09bc23a88439408a2a8bde404d989dcde05161796a9f499f75cf78",googleMapsApiKey:"AIzaSyDWugaXVRYbuiX3PYFVGghkXMJBgAvZfrk",cgmLifeUrl:{url:"de.cgmlife.com",protocolPrefix:"https://"},i18nBaseHref:"https://clickdoc.de/cdc-i18n/cd"}};var g=t(75281);let b=(()=>{class C extends n.BaseEnvironmentConfig{configureI18nLoader(h){return this.getTranslationLoader(h,`${this.getStageConfig().i18nBaseHref}/${this.getCountry()}/`)}getAppConfig(){return d[this.country].appConfig}getEnvironment(){return d[this.country]}getStageConfig(){const h=localStorage.getItem("life-stage-selection");return"dev"===this.stage&&h&&(p[this.stage].cgmLifeUrl.url=h),p[this.stage]}getBaseHref(){const h=this.document.querySelector("base")?.getAttribute("href")??"";return h.length>1?h:h.slice(0,-1)}runningLocalOrOnDevStage(){return"dev"===this.stage}static{this.\u0275fac=(()=>{let h;return function(m){return(h||(h=g.\u0275\u0275getInheritedFactory(C)))(m||C)}})()}static{this.\u0275prov=g.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},64172:(re,j,t)=>{t.d(j,{R:()=>n});var n=function(e){return e.IN_PROGRESS="IN_PROGRESS",e.READY_FOR_DELIVERY="READY_FOR_DELIVERY",e.READY_FOR_PICKUP="READY_FOR_PICKUP",e.COMPLETED="COMPLETED",e.CANCELED="CANCELED",e}(n||{})},65892:(re,j,t)=>{t.d(j,{C:()=>$});var n=t(46433),e=t(87199),y=t(24035),p=t(24667),b=t(14887),x=t(12613),B=t(82667),P=t(42242),s=t(94844),Z=t(49400),A=t(28606),L=t(75281
1);const u=["*"],D=U=>({date:U});function v(U,I){if(1&U&&(L.\u0275\u0275elementContainerStart(0),L.\u0275\u0275elementStart(1,"cd-status",14),L.\u0275\u0275pipe(2,"prescriptionStatusColor"),L.\u0275\u0275text(3),L.\u0275\u0275pipe(4,"prescriptionStatusText"),L.\u0275\u0275elementEnd(),L.\u0275\u0275elementContainerEnd()),2&U){const E=I.$implicit,T=L.\u0275\u0275nextContext(2);L.\u0275\u0275advance(),L.\u0275\u0275property("color",L.\u0275\u0275pipeBind1(2,3,E))("isOutlined",!0),L.\u0275\u0275advance(2),L.\u0275\u0275textInterpolate1(" ",L.\u0275\u0275pipeBind2(4,5,E,T.item.validUntil)," ")}}function r(U,I){1&U&&L.\u0275\u0275elementContainer(0)}function S(U,I){if(1&U&&(L.\u0275\u0275elementContainerStart(0),L.\u0275\u0275elementStart(1,"cd-card")(2,"cd-card-header",2)(3,"cd-entry")(4,"cd-entry-inline-start",3)(5,"cd-visual"),L.\u0275\u0275element(6,"cd-icon",4),L.\u0275\u0275elementEnd()(),L.\u0275\u0275elementStart(7,"cd-entry-headline",5),L.\u0275\u0275text(8),L.\u0275\u0275pipe(9,"date"),L.\u0275\u0275pipe(10,"translate"),L.\u0275\u0275elementEnd(),L.\u0275\u0275elementStart(11,"cd-entry-title",6)(12,"span",7),L.\u0275\u0275text(13),L.\u0275\u0275elementEnd()()()(),L.\u0275\u0275elementStart(14,"cd-card-content",8)(15,"div",9)(16,"div",10)(17,"div",11),L.\u0275\u0275template(18,v,5,8,"ng-container",12),L.\u0275\u0275pipe(19,"slice"),L.\u0275\u0275elementEnd(),L.\u0275\u0275template(20,r,1,0,"ng-container",13),L.\u0275\u0275elementEnd()()(),L.\u0275\u0275elementStart(21,"cd-card-footer"),L.\u0275\u0275projection(22),L.\u0275\u0275elementEnd()(),L.\u0275\u0275elementContainerEnd()),2&U){const E=L.\u0275\u0275nextContext(),T=L.\u0275\u0275reference(2);L.\u0275\u0275advance(2),L.\u0275\u0275property("backgroundColor","primary"),L.\u0275\u0275advance(2),L.\u0275\u0275property("contentAlignment","center"),L.\u0275\u0275advance(2),L.\u0275\u0275classProp("history",E.isHistory),L.\u0275\u0275property("iconName","icon-qr"),L.\u0275\u0275advance(2),L.\u0275\u0275textInterpolate1(" ",L.\u0275\u0275pipeBind2(10,13,"eprescription_erezept_from",L.\u0275\u0275pureFunction1(20,D,L.\u0275\u0275pipeBind2(9,10,E.item.date,"dd.MM.yyyy")))," "),L.\u0275\u0275advance(5),L.\u0275\u0275textInterpolate1(" ",null==E.item.originator?null:E.item.originator.name," "),L.\u0275\u0275advance(5),L.\u0275\u0275property("ngForOf",L.\u0275\u0275pipeBind3(19,16,E.item.statusList,0,2)),L.\u0275\u0275advance(2),L.\u0275\u0275property("ngIf",E.medicinesAvailable)("ngIfThen",T)}}function _(U,I){if(1&U&&L.\u0275\u0275element(0,"app-truncated-list",15),2&U){const E=L.\u0275\u0275nextContext();L.\u0275\u0275property("itemList",E.medicationNameList)("numberOfLines",3)}}let $=(()=>{class U{constructor(){this.medicationNameList=[],this.medicinesAvailable=!1}ngOnChanges(){this.item?.medicationList&&(this.initializeMedicationNames(this.item.medicationList),this.initializeShowMedicationsTemplate(),this.initializeHistoryState())}initializeMedicationNames(E){E.forEach(T=>{const f=T?.drug?.name;f&&this.medicationNameList.push(f)})}initializeShowMedicationsTemplate(){this.medicinesAvailable=this.medicationNameList.length>0}initializeHistoryState(){this.isHistory=n.e_.isHistory(this.item)}static{this.\u0275fac=function(T){return new(T||U)}}static{this.\u0275cmp=L.\u0275\u0275defineComponent({type:U,selectors:[["app-prescription-digital-card"]],inputs:{detailsLinkSegmentList:"detailsLinkSegmentList",item:"item"},features:[L.\u0275\u0275NgOnChangesFeature],ngContentSelectors:u,decls:3,vars:1,consts:[["medicinesTemplate",""],[4,"ngIf"],[3,"backgroundColor"],[3,"contentAlignment"],["inline","",3,"iconName"],["data-automation","prescription-origin-date"],["data-automation","prescription-physician"],[1,"originator"],["data-automation","prescription-card-content"],[1,"content"],[1,"details"],[1,"status"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfThen"],[3,"color","isOutlined"],[1,"body-body--regular",3,"itemList","numberOfLines"]],template:function(T,f){1&T&&(L.\u0275\u0275projectionDef(),L.\u0275\u0275template(0,S,23,22,"ng-container",1)(1,_,1,2,"ng-template",null,0,L.\u0275\u0275templateRefExtractor)),2&T&&L.\u0275\u0275property("ngIf",f.item)},dependencies:[e.NgIf,y.CardComponent,y.CardHeaderComponent,p.EntryComponent,p.EntryInlineStartComponent,b.VisualModule,b.VisualComponent,x.IconModule,x.IconComponent,p.EntryHeadlineComponent,p.EntryTitleComponent,y.CardContentComponent,e.NgFor,B.StatusComponent,y.CardFooterComponent,P.e,e.SlicePipe,e.DatePipe,s.A,Z.m,A.TranslatePipe],styles:["cd-card[_ngcontent-%COMP%]{display:grid;height:100%}.medicine-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:var(--cdc-sizing-300) 1fr}.medicine-list[_ngcontent-%COMP%] .bullet[_ngcontent-%COMP%]{justify-self:center}.originator[_ngcontent-%COMP%]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-300);justify-content:space-between;
1height:100%}.details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-100);align-items:flex-start}.details[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .details[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{text-decoration:none;color:inherit}.status[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--cdc-spacing-100);max-width:100%}cd-status[_ngcontent-%COMP%]{max-width:100%}cd-icon[_ngcontent-%COMP%]{color:var(--cdc-pc100);font-size:var(--cdc-sizing-300);margin:var(--cdc-spacing-100)}cd-icon.history[_ngcontent-%COMP%]{color:var(--cdc-fc200)}"],changeDetection:0})}}return U})()},67824:(re,j,t)=>{t.d(j,{Dg:()=>l,IZ:()=>p,QS:()=>b,YU:()=>x,_n:()=>y,bI:()=>C,fQ:()=>d,tR:()=>h,zc:()=>g});var n=t(16035);const l=(0,n.createAction)("[order-shared] finalize-ia-order",(0,n.props)()),y=(0,n.createAction)("[order-shared] finalize-ia-order-success"),d=(0,n.createAction)("[order-shared] finalize-ia-order-failure"),p=(0,n.createAction)("[order-shared] finalize-ehealthtec-digital-order"),g=(0,n.createAction)("[order-shared] finalize-ehealthtec-digital-order-success"),b=(0,n.createAction)("[order-shared] finalize-ehealthtec-digital-order-failure"),C=(0,n.createAction)("[order-shared] finalize-ehealthtec-scan-order"),x=(0,n.createAction)("[order-shared] finalize-ehealthtec-scan-order-success"),h=(0,n.createAction)("[order-shared] finalize-ehealthtec-scan-order-failure")},68361:(re,j,t)=>{t.d(j,{_:()=>g});var n=t(24200),l=t(75281),d=t(33922);let g=(()=>{class b{constructor(x){this.suggestionService=x}getTopSpecialization(x){return(0,n.from)(this.suggestionService.searchTopSuggestions$(x))}static{this.\u0275fac=function(h){return new(h||b)(l.\u0275\u0275inject(d.SuggestionService))}}static{this.\u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},68688:(re,j,t)=>{t.d(j,{u:()=>v});var n=t(46433),e=t(87199),y=t(24035),p=t(24667),b=t(14887),x=t(12613),B=t(82667),P=t(94844),s=t(49400),Z=t(28606),M=t(75281);const K=["*"],u=r=>({date:r});function D(r,S){if(1&r&&(M.\u0275\u0275elementContainerStart(0),M.\u0275\u0275elementStart(1,"cd-card")(2,"cd-card-header",1)(3,"cd-entry")(4,"cd-entry-inline-start",2)(5,"cd-visual"),M.\u0275\u0275element(6,"cd-icon",3),M.\u0275\u0275elementEnd()(),M.\u0275\u0275elementStart(7,"cd-entry-headline",4),M.\u0275\u0275text(8),M.\u0275\u0275pipe(9,"date"),M.\u0275\u0275pipe(10,"translate"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(11,"cd-entry-title",5),M.\u0275\u0275text(12),M.\u0275\u0275pipe(13,"translate"),M.\u0275\u0275elementEnd()()(),M.\u0275\u0275elementStart(14,"cd-card-content")(15,"div",6)(16,"cd-status",7),M.\u0275\u0275pipe(17,"prescriptionStatusColor"),M.\u0275\u0275text(18),M.\u0275\u0275pipe(19,"prescriptionStatusText"),M.\u0275\u0275elementEnd(),M.\u0275\u0275elementStart(20,"div",8),M.\u0275\u0275element(21,"img",9),M.\u0275\u0275pipe(22,"translate"),M.\u0275\u0275elementStart(23,"span"),M.\u0275\u0275text(24),M.\u0275\u0275pipe(25,"translate"),M.\u0275\u0275elementEnd()()()(),M.\u0275\u0275elementStart(26,"cd-card-footer"),M.\u0275\u0275projection(27),M.\u0275\u0275elementEnd()(),M.\u0275\u0275elementContainerEnd()),2&r){const _=M.\u0275\u0275nextContext();M.\u0275\u0275advance(2),M.\u0275\u0275property("backgroundColor","primary"),M.\u0275\u0275advance(2),M.\u0275\u0275property("contentAlignment","center"),M.\u0275\u0275advance(2),M.\u0275\u0275classProp("history",_.isHistory),M.\u0275\u0275property("iconName","icon-photoupload"),M.\u0275\u0275advance(2),M.\u0275\u0275textInterpolate1(" ",M.\u0275\u0275pipeBind2(10,14,"eprescription_prescription_image_from",M.\u0275\u0275pureFunction1(28,u,M.\u0275\u0275pipeBind1(9,12,_.item.date)))," "),M.\u0275\u0275advance(4),M.\u0275\u0275textInterpolate1(" ",M.\u0275\u0275pipeBind1(13,17,"eprescription_image_photo_or_scan")," "),M.\u0275\u0275advance(4),M.\u0275\u0275property("color",M.\u0275\u0275pipeBind1(17,19,null==_.item.statusList?null:_.item.statusList[0]))("isOutlined",!0),M.\u0275\u0275advance(2),M.\u0275\u0275textInterpolate1(" ",M.\u0275\u0275pipeBind2(19,21,null==_.item.statusList?null:_.item.statusList[0],_.item.validUntil)," "),M.\u0275\u0275advance(3),M.\u0275\u0275attribute("alt",M.\u0275\u0275pipeBind1(22,24,"eprescription_checkout_cart_prescription_thumbnail_alt")),M.\u0275\u0275advance(3),M.\u0275\u0275textInterpolate(M.\u0275\u0275pipeBind1(25,26,"eprescription_photo_prescription"))}}let v=(()=>{class r{ngOnChanges(){this.isHistory=n.e_.isHistory(this.item)}static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275cmp=M.\u0275\u0275defineComponent({type:r,selectors:[["app-prescription-photo-card"]],inputs:{item:"item"},features:[M.\u0275\u0275NgOnChangesFeature],ngContentSelectors:K,decls:1,vars:1,consts:[[4,"ngIf"],[3,"backgroundColor"],[3,"contentAlignment"],["inline","",3,"iconName"],["data-automation","photo-prescription-date"],["data-automation","prescription-photo"],[1,"content"],[3,"color","isOutlined"],[1,"details"],["loading","lazy","src","assets/img/erezept/e-rezept-thmb.png"]],template:function($,U){1&$&&(M.\u0275\u0275projectionDef(),M.\u0275\u0275template(0,D,28,30,"ng-container",0)),2&$&&M.\u0275\u0275property("ngIf",U.item)},dependencies:[e.NgIf,y.CardComponent,y.CardHeaderComponent,p.EntryComponent,p.EntryInlineStartComponent,b.VisualModule,b.VisualComponent,x.IconModule,x.IconComponent,p.EntryHeadlineComponent,p.EntryTitleComponent,y.CardContentComponent,B.StatusComponent,y.CardFooterComponent,e.DatePipe,P.A,s.m,Z.TranslatePipe],styles:[".details[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--cdc-spacing-300)}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--cdc-spacing-200)}cd-icon[_ngcontent-%COMP%]{color:var(--cdc-pc100);font-size:var(--cdc-sizing-300);margin:var(--cdc-spacing-100)}cd-icon.history[_ngcontent-%COMP%]{color:var(--cdc-fc200)}"],changeDetection:0})}}return r})()},71198:(re,j,t)=>{t.d(j,{e:()=>y});var n=t(43872),e=t(67338);const y=(0,e.object)({address:n.e.nullish(),name:(0,e.string)().nullish(),phoneBusiness:(0,e.string)().nullish(),refParticipant:(0,e.string)().nullish(),comment:(0,e.string)().nullish()}).transform(d=>({address:d.address??n.e.parse({}),name:d.name??void 0,phoneBusiness:d.phoneBusiness??void 0,refParticipant:d.refParticipant??void 0,comment:d.comment??void 0}))},72454:(re,j,t)=>{var n=t(84974),e=t(75281),l=t(28606),y=t(63386),d=t(9094),p=t(20213),g=t(24200);
1var C=function(o){return o[o.NotDefined=0]="NotDefined",o[o.PhysicianLink=1]="PhysicianLink",o[o.InstitutionLink=2]="InstitutionLink",o}(C||{});let x=(()=>{class o{constructor(){this.breadcrumbState=new g.BehaviorSubject(null)}getBreadcrumbState$(){return this.breadcrumbState.asObservable()}getLastSearchQueryParams(i){return i&&0!==i.length?i.find(c=>c.queryParams)?.queryParams??null:null}getBreadcrumbCustomClass(i){if(!i||0===i.length)return null;const a=i.find(c=>c.className);return a?a.className:null}createBreadcrumbs(i,a,c){this.removeTrailingBreadcrumbs(c,i);const O=this.getPathParams(i,a),z={key:i.snapshot.data.breadcrumb&&i.snapshot.data.breadcrumb.key,label:i.snapshot.data.breadcrumb&&i.snapshot.data.breadcrumb.label,url:O.path,queryParams:O.queryParams,className:"",contextLink:C.NotDefined};return z.key&&c.push(z),i.firstChild&&this.createBreadcrumbs(i.firstChild,O,c),c}redirectToBreadcrumbItem(i,a,c){a[i].queryParams?c.navigate([a[i].url],{queryParams:a[i].queryParams}):c.navigate([a[i].url])}setCustomBreadcrumbsForDocumentsPage(i,a){const c=[];c.push({key:"MyDocuments",label:"breadcrumb.my-documents",className:"custom-breadcrumb",url:"documents/overview",orderIndex:0,contextLink:C.NotDefined}),i&&c.splice(1,0,{key:"MyDocumentsDetails",label:"breadcrumb.my-documents.details",url:`documents/overview/${a}/view-document`,className:"custom-breadcrumb",orderIndex:1,contextLink:C.NotDefined}),this.updateBreadcrumbState(c)}updateBreadcrumbState(i){this.breadcrumbState.next(i)}tryFindBreadcrumbIndex(i,a){let c=-1;for(let O=a.length-1;O>=0;O--)if(a[O].key===i){c=O;break}return c}removeTrailingBreadcrumbs(i,a){if(i&&i.length>0){const O=this.tryFindBreadcrumbIndex(a.snapshot.data.breadcrumb&&a.snapshot.data.breadcrumb.key,i);O>=0&&i.splice(O)}}getPathParams(i,a){let c="";if(c=i.snapshot.url.map(O=>O.path).join("/"),""!==c){if(i.snapshot.queryParamMap.keys.length>0){a.queryParams={};for(const O of i.snapshot.queryParamMap.keys)a.queryParams[O]=i.snapshot.queryParamMap.get(O)}a.path+=`/${c}`}return a}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o})();var h=t(92765),B=t(81994),m=t(25624),P=t(90163),Z=t(92277),A=t(28227),M=t(68866),L=t(98574),K=t(86066),u=t(58286),D=t(22146),v=t(16035),r=t(81508),S=t(1921),_=t(94767);const $=()=>{const o=(0,e.inject)(v.Store),R=o.select(_.Ep),i=o.select((0,D.selectFeatureToggle)("ePrescription")),a=(0,e.inject)(S.Y),c=(0,e.inject)(P.Router);R.pipe((0,r.filter)(O=>!O)).subscribe({next:()=>{a.resetPrescriptionOrderData()}}),(0,g.combineLatest)([R,U(c),i]).pipe((0,r.filter)(([,,O])=>O),(0,r.map)(([O,z])=>O&&z),(0,r.filter)(O=>O)).subscribe({next:()=>{a.loadPrescriptionOrderData()}})},U=o=>o.events.pipe((0,r.filter)(R=>R instanceof P.NavigationEnd),(0,r.map)(R=>I(R.url))),I=o=>{const[R]=o.split("?");return"/"===R};var E=t(54319),T=t(23529);const f=()=>{const o=(0,e.inject)(T.G);(0,e.inject)(v.Store).select(_.Ep).subscribe(i=>{i?o.triggerLoadNotificationCountByType(E._.E_PRESCRIPTION):o.resetAllNotificationCounter()})};var k=t(12546),Q=t(31360),X=t(93960);const ee=()=>{const o=(0,e.inject)(P.Router),R=(0,e.inject)(X.UserProfileService),i=(0,e.inject)(u.LoaderService),a=(0,e.inject)(k.PhysicianMapperService),c=(0,e.inject)(Q.PhysicianSearchService),O=new URLSearchParams(window.location.search),z=O.get("sas"),J=O.get("physicianId")?.lastIndexOf("/")>0?O.get("physicianId")?.slice(0,O.get("physicianId")?.lastIndexOf("/")):O.get("physicianId"),ce=(0,e.inject)(y.N).getEnvironment().configuration;return z&&"fr"===ce?(i.displayLoader(),c.getPhysicianById(J).pipe((0,g.map)(de=>{if(!de)return R.updateUserType(X.UserTypeEnum.PATIENT),o.navigate(["/search"]),!0;const ue=a.getPhysicianUrl(de,!1);return o.navigate(ue,{replaceUrl:!0}),!1}),(0,g.catchError)(()=>(R.updateUserType(X.UserTypeEnum.PATIENT),o.navigate([""]),(0,g.of)(!0))))):(0,g.of)(!0)};var H=t(59658),ge=t(60648);const fe=()=>{const o=(0,e.inject)(P.Router),R=(0,e.inject)(ge.AuthService),i=(0,e.inject)(y.N).getEnvironment().configuration;return o.navigate([""]),R.login$(i).pipe((0,r.catchError)(()=>(0,g.of)(!1)),(0,r.map)(a=>a))};var Pe=t(55720);let Ee=(()=>{class o{constructor(){this.sdk=(0,e.inject)(Pe.SdkService)}isValidTinyUrlId(i){return!(!i||8!==i.length)&&/^[a-zA-Z0-9]+$/.test(i)}resolveTinyUrl(i){return(0,g.from)(this.sdk.getPlatformShortSmsLinkService().find(i))}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o}
1)();const xe=o=>{const R=(0,e.inject)(Ee),i=(0,e.inject)(P.Router),a=(0,e.inject)(u.LoaderService),c=o.fragment;if(!c)return!0;if(/[?&]institution=([^&]+)/.exec(c)){const se=c.replace(/^[^?&]*[?&]/,""),J={};new URLSearchParams(se).forEach((de,ue)=>{J[ue]=de});const ce=c.split(/[?&]/)[0].replaceAll(/^\/+|\/+$/g,"");return i.createUrlTree(["/"],{queryParams:J,fragment:ce||void 0})}const z=c.split(/[?&]/)[0];return!(!z.includes("=")&&R.isValidTinyUrlId(z))||(a.displayLoader(),R.resolveTinyUrl(z).pipe((0,g.map)(se=>{const{pathname:J,search:ce,hash:de}=new URL(se);let me=J.slice(1).replace(/^\/?cd-(?:de|fr|at)\/?/,"");me=me.replaceAll(/\/{2,}/g,"/").replace(/\/$/,"");const Ue=`${me?`/${me}`:"/"}${ce}${de}`,Ne=globalThis.location.origin;return globalThis.history.replaceState(null,"",`${Ne}${Ue}`),i.parseUrl(Ue)}),(0,g.catchError)(()=>(0,g.of)(i.createUrlTree(["/"]))),(0,g.finalize)(()=>a.hideLoader())))};var ye=t(84287),ve=t(43209),ne=t.n(ve),Se=t(34994),F=t(36642);let Y=(()=>{class o{constructor(i){this.dictionaryMapperService=i}getChainAppointmentTypeSelection(i,a,c){return this.mapToAppointmentTypeInfosFromAppTypeChains(i,a).find(z=>z.id===c)}mapToAppointmentTypeInfos(i){return i?i.map(a=>this.mapToAppointmentTypeInfo(a,k.AppointmentTypeSource.FromAppointmentTypes)):[]}mapToAppointmentTypeInfosFromAppTypeChains(i,a){if(!i)return[];const c=[];return i.filter(O=>O.chainLinks).forEach(O=>{const z=O.chainLinks[a],J=(z&&z.possibleTypes?z.possibleTypes:[]).map(ce=>this.mapToAppointmentTypeInfoFrom(ce,k.AppointmentTypeSource.FromAppointmentTypeChains,O.name,O.description));c.push(...J)}),c}mapToAppointmentTypeSelectionFromAppTypeChains(i,a){if(!i)return[];const c=[];return i.filter(O=>O.chainLinks).forEach(O=>{const z=O.chainLinks[a],J=(z&&z.possibleTypes?z.possibleTypes:[]).map(ce=>(ce.name=O.name,ce));c.push(...J)}),c}mapToAppointmentTypeChainSelectionFromAppTypeChains(i,a){if(!i)return[];const c=[];return i.filter(O=>O.chainLinks).forEach(O=>{const z=O.chainLinks[a];!z||!z.possibleTypes||0===z.possibleTypes.length||c.push(O)}),c}mapToCalendarAppointmentTypeChainSelection(i,a,c){if(!i)return[];const O=[];return i.filter(z=>z.chainLinks).forEach(z=>{const se=z.chainLinks[c];!se||!se.possibleTypes||0===se.possibleTypes.length||se.possibleTypes.forEach(J=>{a?.has(J.id)&&O.findIndex(ce=>ce.id===z.id)<0&&O.push(z)})}),O}extractPossibleAppointmentTypeFromChainAppointment(i,a,c){if(!a||0===a.length)return[];let O=[];return a.filter(z=>z.name===i&&z.chainLinks).forEach(z=>{const se=z.chainLinks[c],J=se.possibleTypes?se.possibleTypes:[];O=[...O,...J]}),O}mapAppointmentsWithCalendarToAppointmentPhysicians(i,a,c){if(!i||0===i.length)return c;if(!c||0==c.length)return null;const O=new Map;i.forEach(J=>{const ce=c.find(ue=>ue.physicianId===J.physicianId);!ce||(ce.appointmentTypes||(ce.appointmentTypes=[]),!ce.appointmentTypes.find(ue=>ue.id===J.id&&this.hasAppointmentProposals(ue))&&!ce.pooled)||(O.has(J.physicianId)?O.set(J.physicianId,[...O.get(J.physicianId),J]):O.set(J.physicianId,[J]))});const se=this.mapToAppointmentTypeSelectionFromAppTypeChains(a,0);return c.forEach(J=>{J.appointmentTypes||(J.appointmentTypes=[]),se.filter(de=>de.physicianId===J.physicianId).forEach(de=>{!J.appointmentTypes.find(me=>me.id===de.id&&this.hasAppointmentProposals(me))&&!J.pooled||(O.has(de.physicianId)?O.set(de.physicianId,[...O.get(de.physicianId),de]):O.set(de.physicianId,[de]))})}),c.map(J=>(J.appointmentTypes=O.has(J.physicianId)?O.get(J.physicianId):[],J))}extractAppointmentTypesMap(i,a){if(!i)return null;const c=new Map,O=i.reduce((J,ce)=>ce.appointmentTypes?[...ce.appointmentTypes,...J]:J,[]);O.forEach(J=>{c.set(J.id,J)});const z=i.filter(J=>J.pooled),se=a&&a.filter(J=>z.some(ce=>ce.exId===J.physicianExId));return O.forEach(J=>{c.set(J.id,J)}),se&&se.length>0&&se.forEach(J=>{c.set(J.id,J)}),c}hasAppointmentProposals(i){return i.properties&&i.properties.hasProposals&&"true"===i.properties.hasProposals}mapToAppointmentTypeInfo(i,a){return{properties:this.dictionaryMapperService.convertToJsMap(i.properties),name:i.name,chainDescription:"",id:i.id,exId:i.exId,physicianId:i.physicianId,videoAppointment:i.videoAppointment,sourceAppointmentType:a}}mapToAppointmentTypeInfoFrom(i,a,c,O){return{properties:this.dictionaryMapperService.convertToJsMap(i.properties),name:c,chainDescription:O,id:i.id,exId:i.exId,physicianId:i.physicianId,videoAppointment:i.videoAppointment,sourceAppointmentType:a}}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(u.DictionaryMapperService))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o}
1)();var w=t(59639),N=t(29318);let oe=(()=>{class o{constructor(i,a,c,O,z,se,J,ce,de,ue,me,Be){this.practiceService=i,this.practiceConfigService=a,this.physicianSearchService=c,this.calendarService=O,this.appointmentTypeMapperService=z,this.router=se,this.loaderService=J,this.dialogService=ce,this.translateService=de,this.appAppointmentService=ue,this.hostEnvironmentService=me,this.sharedService=Be}resolveContext$(i){if(!i.p)return(0,g.of)(null);const a=i.d&&i.a;let c;return this.mapRequiredBookingContextInfo(i).pipe((0,r.tap)(O=>{c=O,(!this.isPhysicianHidden(O.physician)||"true"===i.isLocalstorage)&&this.mapAppointmentsSelection(!!a,O,i)}),(0,r.mergeMap)(O=>{if(this.isPhysicianHidden(O.physician)&&"true"!==i.isLocalstorage)return(0,g.of)(null);const z=a?i.d:i.d1,se=this.mapOptionsForSelectedTimeSlot(c,z,0);return this.practiceService.isDirectConnection(c.institutionInitConfigResult.institutionConfig)?this.findAvailableTimeSlotForDirectConnection$(c,z,se):this.findAvailableTimeSlots$(c,z,se,i)}),(0,r.map)(O=>(c.timeSlots=O,c)))}handleNotAvailableTimeSlotErrors(){this.router.navigate([""]);const i=this.hostEnvironmentService.getEnvironment().configuration;localStorage.removeItem(`appointmentSummaryInformation-${i}`),this.dialogService.openMessage({title:this.translateService.instant("modal.notavailable.timeslot.title"),message:this.translateService.instant("booking.error.still.booked"),buttonText:this.translateService.instant("general.action.ok")}),this.loaderService.hideLoader()}isPhysicianHidden(i){return"ALL"!==i.searchVisibility}findAvailableTimeSlots$(i,a,c,O){return O.d2?this.findAvailableChainTimeSlots$(i,c,a,O):this.findAvailableTimeSlot$(i,c,a)}findAvailableChainTimeSlots$(i,a,c,O){return this.findAvailableTimeSlot$(i,a,c).pipe((0,r.mergeMap)(se=>this.calendarService.findAppointmentProposalPaths$(se[0],0,O.d2).pipe((0,r.map)(J=>[se[0],J]))))}findAvailableTimeSlot$(i,a,c){return this.calendarService.findAppointmentsForPhysicians([i.physician],a).pipe((0,r.map)(O=>{const z=this.getSelectedTimeSlotFromCalendar(O[0],i.selectedAppointmentTypes[0].id,c);return z||this.handleNotAvailableTimeSlotErrors(),[z]}))}mapAppointmentsSelection(i,a,c){const O=i?c.a:c.a1,z=i?null:c.a2;i?this.mapNormalAppointmentSelection(a,O):this.mapChainAppointmentSelections(a,O,z)}mapRequiredBookingContextInfo(i){const a=this.createEmptyBookingContextInfoState(),c=this.hostEnvironmentService.getAppConfig().clientIdentifier;return(0,g.forkJoin)([this.physicianSearchService.getPhysicianById(i.p).pipe((0,r.tap)(O=>{if(this.isPhysicianHidden(O)&&"true"!==i.isLocalstorage){const z=this.hostEnvironmentService.getEnvironment().configuration;this.sharedService.bannerSubject$.updateState(!1),localStorage.removeItem(`appointmentSummaryInformation-${z}`)}})),this.practiceConfigService.getInitConfig(i.practiceId,c).pipe((0,r.catchError)(O=>(0,g.throwError)(()=>this.dialogService.openMessage({title:this.translateService.instant("message.modal.headline"),message:this.translateService.instant("com.cgm.life.common.exceptions.BadArgumentException"===O.type?"general.form.invalid.hint":"general.text.errorMessage"),buttonText:this.translateService.instant("general.action.ok")})))),this.calendarService.getCompleteBookingConfig(i.practiceId),this.practiceService.getByCgmUid(i.practiceId)]).pipe((0,r.map)(([O,z,se,J])=>(a.physician=O||{physicianId:i.p},a.institutionInitConfigResult=z,a.institutionBookingConfig=se,a.practice=i.departmentId?null:J,a.parentHospitalPractice=i.departmentId?J:null,a.selectedDepartmentId=i.departmentId,a.hasPatientQualifiers=!!i.hasPatientQualifiers&&JSON.parse(i.hasPatientQualifiers),a.multiLocationId=i.multiLocationId??"",a.isLocalstorage="true"===i.isLocalstorage||null,a)))}createEmptyBookingContextInfoState(){return{selectedAppointmentTypes:[]}}mapOptionsForSelectedTimeSlot(i,a,c){return{appointmentType:i.selectedAppointmentTypes[c],from:ne().unix(Number(a)).format("YYYY-MM-DD"),maxDays:1,tmax:ne().unix(Number(a)).format("HH:mm"),tmin:ne().unix(Number(a)).format("HH:mm")}}findAvailableTimeSlotForDirectConnection$(i,a,c){return c.from=ne()(c.from,"YYYY-MM-DD"),this.mapAppointmentProposalsOnPracticeCalendarForDC(i.physician,c).pipe((0,r.map)(O=>{const z=this.getSelectedTimeSlotFromCalendar(O,i.selectedAppointmentTypes[0].exId,a);if(!z)throw Error();
1return z.type.name=i.selectedAppointmentTypes[0].name,[z]}))}mapNormalAppointmentSelection(i,a){const c=i?.institutionBookingConfig?.appointmentTypes?.find(O=>O.id.toString()===a);if(!c)throw Error();i.selectedAppointmentTypes.push(c)}mapChainAppointmentSelections(i,a,c){const O=i?.institutionBookingConfig?.appointmentTypeChains;if(!O?.length)throw Error();const z=this.appointmentTypeMapperService.getChainAppointmentTypeSelection(O,0,a);i.selectedAppointmentTypes.push(z);const se=this.appointmentTypeMapperService.getChainAppointmentTypeSelection(O,1,c);if(i.selectedAppointmentTypes.push(se),!z||!se)throw Error()}getSelectedTimeSlotFromCalendar(i,a,c){const O=ne().unix(Number(c)),z=O.format("YYYY-MM-DD"),se=O.format("HH:mm:ss");return i&&i.calendar&&i.calendar[a]&&i.calendar[a][z]?i.calendar[a][z].find(J=>J.time.toString()===se):null}mapAppointmentProposalsOnPracticeCalendarForDC(i,a={}){if(!i||!i?.cgmUid)return(0,g.of)(i);let c=null;const O=this.calendarService.createDefaultOptionsForAppointments(a);let z=this.calendarService.convertDate(ne()().startOf("isoWeek"));const se=this.calendarService.convertDate(a.to?O.to:O.from.clone().add(7,"day"));if(a.from&&(z=this.calendarService.convertDate(O.from)),c=this.calendarService.createFieldFromToFilter("date",z,se),!c)return(0,g.of)(null);const J=u.appointmentSearchOptions.minAppointmentProposalOffset;return this.appAppointmentService.getAppointmentProposalsDirectConnection(i.cgmUid,[a.appointmentType],ne()(c.from).toDate(),ne()(c.to).toDate(),null,null,null,null,null,J,null,null).pipe((0,r.map)(ce=>{ce=(0,ye.map)(ce,me=>(me.type.physicianId=a.appointmentType.physicianId,me.type.physicianName=a.appointmentType.physicianName,me));const de=(0,ye.groupBy)(ce,me=>me.type.exId),ue={};return(0,ye.forEach)(de,(me,Be)=>{ue[Be]=(0,ye.groupBy)(me,Ue=>Ue.date)}),i.calendar=ue,i}),(0,r.catchError)(ce=>(0,g.of)(ce)))}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(k.PracticeService),e.\u0275\u0275inject(Se.PracticeConfigService),e.\u0275\u0275inject(Q.PhysicianSearchService),e.\u0275\u0275inject(F.CalendarService),e.\u0275\u0275inject(Y),e.\u0275\u0275inject(P.Router),e.\u0275\u0275inject(u.LoaderService),e.\u0275\u0275inject(w.ClickdocDialogService),e.\u0275\u0275inject(l.TranslateService),e.\u0275\u0275inject(N.AppAppointmentService),e.\u0275\u0275inject(y.N),e.\u0275\u0275inject(u.SharedService))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var le=t(87068),q=t(67338),Me=t(71422);const G=o=>{const R=(0,e.inject)(u.LoaderService),i=(0,e.inject)(le.CryptoService),a=(0,e.inject)(y.N),c=(0,e.inject)(oe),O=(0,e.inject)(k.ContactMapperService),z=(0,e.inject)(P.Router),se=(0,e.inject)(Me.AssistantConfigurationStateService),J=(0,e.inject)(w.ClickdocDialogService),ce=(0,e.inject)(l.TranslateService);if(R.displayLoader(),!o.queryParams.localStorage)return!0;if(!o.queryParams.eq&&!o.queryParams.p)return V(z,J,ce,R),!1;let de;if(o.queryParams.eq){const me=decodeURIComponent(o.queryParams.eq);de=i.decryptData(me,a.getAppConfig().id,(0,q.record)((0,q.string)()))??(0,q.record)((0,q.string)()).parse(o.queryParams.eq),"true"===o.queryParams.localStorage&&(de.isLocalstorage="true")}else de=o.queryParams;const ue=de.flowPath===a.getAppConfig().doctor.urlSegment.base;return(0,g.of)(de).pipe((0,r.mergeMap)(me=>c.resolveContext$(me)),(0,r.map)(me=>{if(!me)return void V(z,J,ce,R);const Ne=`appointmentbooking/${O.getContactUrl(ue?me.physician:me.parentHospitalPractice||me.practice)}`;return me.isOnPhysicianFlow=ue,se.bookingContextInfo$.updateState(me),R.hideLoader(),z.parseUrl(Ne)}),(0,r.catchError)(()=>(V(z,J,ce,R),(0,g.of)(!1))))},V=(o,R,i,a)=>{o.navigate([""]),R.openMessage({title:i.instant("message.modal.headline"),message:i.instant("general.text.errorMessage"),buttonText:i.instant("general.action.ok")}),a.hideLoader()};var ie=t(77701),te=t(87199);function he(o,R){1&o&&(e.\u0275\u0275elementStart(0,"div",18),e.\u0275\u0275element(1,"span",19),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd()),2&o&&(e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(2,1,"imprint.content.impressum.section1.headline"),e.\u0275\u0275sanitizeHtml))}function _e(o,R){1&o&&(e.\u0275\u0275elementStart(0,"div",4),e.\u0275\u0275element(1,"div",20),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275element(3,"div",20),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd()),2&o&&(e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(2,2,"imprint.content.impressum.section1.address"),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(4,4,"imprint.content.impressum.section1.contact"),e.\u0275\u0275sanitizeHtml))}function Te(o,R){1&o&&(e.\u0275\u0275elementStart(0,"div",4),e.\u0275\u0275element(1,"div",21),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd()),2&o&&(e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(2,1,"imprint.content.impressum.section1.details"),e.\u0275\u0275sanitizeHtml))}function Le(o,R){1&o&&(e.\u0275\u0275elementStart(0,"div",11)(1,"div",4),e.\u0275\u0275element(2,"div",20),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275element(4,"div",20),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()()),2&o&&(e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(3,2,"imprint.content.impressum.section1.management"),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(5,4,"imprint.content.impressum.section1.register"),e.\u0275\u0275sanitizeHtml))}function Ie(o,R){1&o&&(e.\u0275\u0275element(0,"div",22),e.\u0275\u0275pipe(1,"translate")),2&o&&e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(1,1,"imprint.content.impressum.section2.contact"),e.\u0275\u0275sanitizeHtml)}function Re(o,R){1&o&&(e.\u0275\u0275element(0,"div",21),e.\u0275\u0275pipe(1,"translate")),2&o&&e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(1,1,"imprint.content.impressum.section2.description"),e.\u0275\u0275sanitizeHtml)}function Xe(o,R){1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"div",23)(2,"div",24),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementContainerEnd()),2&o&&(e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(3,1,"imprint.content.impressum.section3.description"),e.\u0275\u0275sanitizeHtml))}let Ze=(()=>{class o{constructor(i,a,c){this.route=i,this.loaderService=a,this.hostEnvironmentService=c,this.imprintEnvironmentData=this.hostEnvironmentService.getAppConfig().imprint,this.unsubscribe$=new g.Subject}ngOnInit(){this.route.queryParams.pipe((0,r.takeUntil)(this.unsubscribe$)).subscribe(i=>{i.authToken||this.loaderService.hideLoader()})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(P.ActivatedRoute),e.\u0275\u0275directiveInject(u.LoaderService),e.\u0275\u0275directiveInject(y.N))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-imprint"]],decls:25,vars:16,consts:[[1,"imprint","container","container-page","container-wrapper"],[1,"col-lg-12","col-md-12"],[1,"page-title"],[1,"card","col-12"],[1,"row"],[1,"col-12"],[1,"header","card-title"],[1,"title"],[1,"col-sm","horizontal-line-container"],[1,"line"],["class","subtitle-card-text col-12 margin-top-0",4,"ngIf"],[1,"col-12","imprint-data-container"],["class","row",4,"ngIf"],["class","col-12 imprint-data-container",4,"ngIf"],[1,"col-12","subtitle-card-text",3,"innerHTML"],["class","col-sm-12 col-md-4 imprint-data-container",3,"innerHTML",4,"ngIf"],["class","col-sm-12",3,"innerHTML",4,"ngIf"],[4,"ngIf"],[1,"subtitle-card-text","col-12","margin-top-0"],[1,"title",3,"innerHTML"],[1,"col-sm-12","col-md-4",3,"innerHTML"],[1,"col-sm-12",3,"innerHTML"],[1,"col-sm-12","col-md-4","imprint-data-container",3,"innerHTML"],["translate","imprint.content.impressum.section3.headline",1,"col-12","subtitle-card-text"],[1,"col-12",3,"innerHTML"]],template:function(a,c){1&a&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"span",7),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",8),e.\u0275\u0275element(14,"div",9),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(15,he,3,3,"div",10),e.\u0275\u0275elementStart(16,"div",11),e.\u0275\u0275template(17,_e,5,6,"div",12)(18,Te,3,3,"div",12),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(19,Le,6,6,"div",13),e.\u0275\u0275element(2
10,"div",14),e.\u0275\u0275pipe(21,"translate"),e.\u0275\u0275template(22,Ie,2,3,"div",15)(23,Re,2,3,"div",16)(24,Xe,4,3,"ng-container",17),e.\u0275\u0275elementEnd()()()),2&a&&(e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,10,c.imprintEnvironmentData.i18n.pageTitle)),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(12,12,c.imprintEnvironmentData.i18n.pageTitle)),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",c.imprintEnvironmentData.showTitleSectionOne),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",c.imprintEnvironmentData.showContactSectionOne),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.imprintEnvironmentData.showDetails),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.imprintEnvironmentData.showManagementAndRegister),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(21,14,"imprint.content.impressum.section2.headline"),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",c.imprintEnvironmentData.showContactSectionTwo),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.imprintEnvironmentData.showDescriptionSectionTwo),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.imprintEnvironmentData.showDescriptionSectionThree))},dependencies:[l.TranslatePipe,l.TranslateDirective,te.NgIf],styles:[".imprint[_ngcontent-%COMP%]{padding-bottom:100px}@media screen and (max-width: 904px){.imprint[_ngcontent-%COMP%]{margin-bottom:80px}}.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{padding:30px}@media screen and (max-width: 904px){.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{padding:15px}}.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .imprint-section-link-container[_ngcontent-%COMP%]{margin-top:10px}.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{word-break:break-word;margin-bottom:20px}.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{height:auto}.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .imprint-data-container[_ngcontent-%COMP%]{margin-bottom:15px}.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .subtitle-card-text[_ngcontent-%COMP%]{margin:15px 0;font-size:14px;font-weight:900;line-height:1.38;color:#6e7f99cc;text-transform:uppercase}.imprint[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .margin-top-0[_ngcontent-%COMP%]{margin-top:0}"]})}}return o})();const qe=()=>{const o=(0,e.inject)(n.APP_BASE_URL_TOKEN,{optional:!0}),R=(0,e.inject)(y.N),i=(0,e.inject)(u.LoaderService),a=R.getEnvironment().configuration;return(0,g.from)(fetch(`${o||""}assets/data-protection/${a}.json`).then(O=>O.json())).pipe((0,g.tap)(()=>{i.hideLoader()}))},et=o=>{const R=(0,e.inject)(l.TranslateService);(0,e.inject)(d.MetadataDispatcher).setMetadata({title:R.instant("landing-page.title"),description:R.instant("landing-page.description")},d.FromRootPath.create(o))};class tt{constructor(R={}){this.releaseVersion="",this.sdkVersion="",this.clickdocSdkVersion="",Object.assign(this,R)}}var ze=t(47100),W=t(40537);const ae=()=>["/imprint"],pe=()=>["/accessibility"];function Ce(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",15)(1,"div",16)(2,"strong"),e.\u0275\u0275text(3,"Artifact"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"br"),e.\u0275\u0275text(5),e.\u0275\u0275element(6,"br"),e.\u0275\u0275elementStart(7,"strong"),e.\u0275\u0275text(8,"Version"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"br"),e.\u0275\u0275text(10),e.\u0275\u0275element(11,"br"),e.\u0275\u0275elementStart(12,"strong"),e.\u0275\u0275text(13,"Server version"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(14,"br"),e.\u0275\u0275text(15),e.\u0275\u0275element(16,"br"),e.\u0275\u0275elementStart(17,"strong"),e.\u0275\u0275text(18,"Core SDK version"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"br"),e.\u0275\u0275text(20),e.\u0275\u0275element(21,"br"),e.\u0275\u0275elementStart(22,"strong"),e.\u0275\u0275text(23,"Clickdoc SDK version"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(24,"br"),e.\u0275\u0275text(25),e.\u0275\u0275element(26,"br"),e.\u0275\u0275elementStart(27,"strong"),e.\u0275\u0275text(28,"Date"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(29,"br"),e.\u0275\u0275text(30),e.\u0275\u0275element(31,"br"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"span",17),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(c.closeInfo())}),e.\u0275\u0275elementEnd()()}if(2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null==i.information||null==i.information.buildInfo?null:i.information.buildInfo.name," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null==i.information||null==i.information.buildInfo?null:i.information.buildInfo.number," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null==i.information?null:i.information.releaseVersion," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null==i.information?null:i.information.sdkVersion," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null==i.information?null:i.information.clickdocSdkVersion," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null==i.information||null==i.information.buildInfo?null:i.information.buildInfo.date," ")}}function be(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"a",18),e.\u0275\u0275element(1,"a",19)(2,"span",20)(3,"a",21),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("href",i.legalsObligationLinks.linkFooterAboutDoctor,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(2),e.\u0275\u0275property("href",i.legalsObligationLinks.linkFooterAboutHealth,e.\u0275\u0275sanitizeUrl)}}function Oe(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"span",22)(1,"a",23),e.\u0275\u0275element(2,"img",24),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("href",i.legalsObligationLinks.linkFooterFacebook,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(3,2,"facebook_icon"))}}function Ye(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"span",22)(1,"a",23),e.\u0275\u0275element(2,"img",25),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("href",i.legalsObligationLinks.linkFooterYoutube,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(3,2,"youtube_icon"))}}function Ge(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"span",22)(1,"a",23),e.\u0275\u0275element(2,"img",26),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("href",i.legalsObligationLinks.linkFooterInstagram,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(3,2,"instagram_icon"))}}function We(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"span",22)(1,"a",23),e.\u0275\u0275element(2,"img",27),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("href",i.legalsObligationLinks.linkFooterLinkedin,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(3,2,"linkedin_icon"))}}function Ke(o,R){1&o&&(e.\u0275\u0275element(0,"div",28),e.\u0275\u0275pipe(1,"translate")),2&o&&e.\u0275\u0275propertyInterpolate("innerHtml",e.\u0275\u0275pipeBind1(1,1,"recaptcha_terms_info"),e.\u0275\u0275sanitizeHtml)}let Je=(()=>{class o{constructor(i,a,c,O,z,se,J,ce){this.breakpointsService=i,this.sdkService=a,this.currentFeatureLoadedService=c,this.httpClient=O,this.contractService=z,this.changeDetectorRef=se,this.hostEnvironmentService=J,this.dialogService=ce,this.legalsObligationLinks=this.hostEnvironmentService.getAppConfig().footerObligationLinks,this.countClick=0,this.information=new tt,this.unsubscribe$=new g.Subject}ngOnInit(){this.contractService.findContractTypeSuitesByContractTypes$().pipe((0,g.takeUntil)(this.unsubscribe$)).subscribe(i=>{this.updateContractTypeSuites(i)}),this.sdkService.getReleaseVersion().pipe((0,g.takeUntil)(this.unsubscribe$)).subscribe(i=>{this.information.releaseVersion=i}),this.information.sdkVersion=this.sdkService.getCoreSdkVersion(),this.information.clickdocSdkVersion=this.sdkService.getClickdocSdkVersion(),this.httpClient.get("assets/build.json").pipe((0,g.takeUntil)(this.unsubscribe$)).subscribe({next:i=>{this.information.buildInfo=i},error:()=>this.information.buildInfo={name:"localhost-cgm-life-clickdoc",number:"0.0.0",date:(new Date).toString()}}),this.information.year=(new Date).getFullYear(),this.country=this.hostEnvironmentService.getEnvironment().configuration,this.isMobileBreakpoint$=this.breakpointsService.isSmallView$(),this.currentFeatureLoadedService.isAdhocAppointmentModuleLoaded$.pipe((0,g.takeUntil)(this.unsubscribe$)).subscribe(i=>{this.target=i?"_blank":"_self"})}clickInfo(){3!==this.countClick&&this.countClick++}closeInfo(){this.countClick=0}consentGdpr(){this.dialogService.open(ze.ConsentGdprContainerComponent,{clickOutside:!1,contentStyle:{padding:"0"},modality:!0,closable:!1,baseZIndex:9005})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}updateContractTypeSuites(i){if(i?.baseContractModule?.contractModuleTypeDocuments){const[a,c]=i.baseContractModule.contractModuleTypeDocuments;this.legalsObligationLinks.linkFooterAboutTerms=a.documentRef||this.legalsObligationLinks.linkFooterAboutTerms,this.legalsObligationLinks.linkFooterAboutPrivacyPolicy=c.documentRef||this.legalsObligationLinks.linkFooterAboutPrivacyPolicy,this.changeDetectorRef.detectChanges()}}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(u.Breakp
1ointsService),e.\u0275\u0275directiveInject(Pe.SdkService),e.\u0275\u0275directiveInject(u.CurrentFeatureLoadedService),e.\u0275\u0275directiveInject(p.HttpClient),e.\u0275\u0275directiveInject(W.y),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(y.N),e.\u0275\u0275directiveInject(w.ClickdocDialogService))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-footer-legal-links"]],decls:22,vars:21,consts:[[1,"footer-legal-obligations-info","text-center"],[1,"container","content"],["loading","lazy","width","165","height","30","src","assets/img/logo/logo.svg",1,"logo-content",3,"click"],["class","build-information pt-2 b-2",4,"ngIf"],[1,"links"],[1,"links-legal-obligations-info","first-line"],["target","_blank","translate","footer_about_terms_and_conditions_text","rel","noopener nofollow",1,"text-link","content-bar",3,"href"],["target","_blank","translate","footer_about_privacy_policy_text","rel","noopener nofollow",1,"text-link","content-bar",3,"href"],["translate","footer_about_imprint",1,"text-link","content-bar",3,"routerLink","target"],[1,"text-link","content-bar",3,"routerLink","target"],["rel","noopener","target","_blank","translate","footer_about_cookie_settings_text",1,"text-link","content-bar",3,"click"],["class","text-link",4,"ngIf"],[1,"content-icons"],["class","icon",4,"ngIf"],["class","recaptcha-info",3,"innerHtml",4,"cdFeatureToggle"],[1,"build-information","pt-2","b-2"],[1,"col-sm-12"],[1,"icon","icon-TB_cancel",3,"click"],[1,"text-link"],["target","_blank","translate","footer_about_doctor_information_text","rel","noopener nofollow",1,"text-link","content-space","content-bar",3,"href"],["translate","footer_about_us_der_word",1,"text-link","content-space","der-word"],["target","_blank","translate","about_us_health_foundation_title","rel","noopener nofollow",1,"text-link","content-bar",3,"href"],[1,"icon"],["target","_blank","rel","noopener nofollow",3,"href"],["src","assets/img/social-media-icons/Facebook.svg","loading","lazy",1,"media-icons"],["src","assets/img/social-media-icons/Youtube.svg","loading","lazy",1,"media-icons"],["src","assets/img/social-media-icons/Instagram.svg","loading","lazy",1,"media-icons"],["src","assets/img/social-media-icons/Linkedin.svg","loading","lazy",1,"media-icons"],[1,"recaptcha-info",3,"innerHtml"]],template:function(a,c){1&a&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"img",2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275listener("click",function(){return c.clickInfo()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,Ce,33,6,"div",3),e.\u0275\u0275elementStart(5,"div",4)(6,"div",5),e.\u0275\u0275element(7,"a",6)(8,"a",7)(9,"a",8),e.\u0275\u0275elementStart(10,"a",9),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"a",10),e.\u0275\u0275listener("click",function(){return c.consentGdpr()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(14,be,4,2,"a",11),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div")(16,"div",12),e.\u0275\u0275template(17,Oe,4,4,"span",13)(18,Ye,4,4,"span",13)(19,Ge,4,4,"span",13)(20,We,4,4,"span",13),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(21,Ke,2,3,"div",14)),2&a&&(e.\u0275\u0275advance(2),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(3,15,"clickdoc_logo")),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",3===c.countClick),e.\u0275\u0275advance(3),e.\u0275\u0275property("href",c.legalsObligationLinks.linkFooterAboutTerms,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(),e.\u0275\u0275property("href",c.legalsObligationLinks.linkFooterAboutPrivacyPolicy,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(19,ae))("target",c.target),e.\u0275\u0275advance(),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(20,pe))("target",c.target),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(12,17,"accessibility.content.accessibility.headline")," "),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",c.legalsObligationLinks.linkFooterAboutDoctor&&c.legalsObligationLinks.linkFooterAboutHealth),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",c.legalsObligationLinks.linkFooterFacebook),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.legalsObligationLinks.linkFooterYoutube),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.legalsObligationLinks.linkFooterInstagram),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.legalsObligationLinks.linkFooterLinkedin),e.\u0275\u0275advance(),e.\u0275\u0275property("cdFeatureToggle","recaptcha"))},dependencies:[D.FeatureToggleDirective,te.NgIf,P.RouterModule,P.RouterLink,l.TranslateDirective,l.TranslatePipe],styles:['.footer-legal-obligations-info[_ngcontent-%COMP%]{font-family:var(--font-family-roboto);padding:38px 0 40px;background-color:var(--blue-primary-100);display:flex;justify-content:center}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 64px);max-width:1372px;margin:0 auto;padding-right:0;padding-left:0}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .logo-content[_ngcontent-%COMP%]{height:30px;width:auto;margin:9px 0}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .build-information[_ngcontent-%COMP%]{text-align:initial;position:absolute;
1left:15px;min-height:100px;min-width:200px;z-index:99999;background-color:var(--neutrals-light);font-size:11px}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .build-information[_ngcontent-%COMP%] .icon-TB_cancel[_ngcontent-%COMP%]{position:absolute;top:5px;right:5px;cursor:pointer;font-size:18px}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%]{max-width:755px;padding:0 32px;font-weight:400;cursor:pointer}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] .text-link[_ngcontent-%COMP%]{color:var(--neutrals-light);font-size:16px;letter-spacing:.44px;text-decoration:none}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] .text-link[_ngcontent-%COMP%] .content-space[_ngcontent-%COMP%]:after{content:" "}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] .content-bar[_ngcontent-%COMP%]:hover{text-decoration:underline}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] .content-bar[_ngcontent-%COMP%]:hover:after{text-decoration:underline;-webkit-text-decoration-color:var(--blue-primary-100);text-decoration-color:var(--blue-primary-100)}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] .content-bar[_ngcontent-%COMP%]:after{content:" | ";font-size:16px;text-decoration:none;overflow:hidden;white-space:nowrap}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] .content-bar[_ngcontent-%COMP%]:last-child:after{display:none}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] .der-word[_ngcontent-%COMP%]{cursor:default}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-icons[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:center;min-width:144px}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-icons[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{padding-right:16px;font-size:0}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-icons[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] .media-icons[_ngcontent-%COMP%]{height:32px;width:32px}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-icons[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:last-child{padding-right:0}@media (max-width: 904px){.footer-legal-obligations-info[_ngcontent-%COMP%]{padding:24px}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:0;flex-direction:column;width:100%}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .logo-content[_ngcontent-%COMP%]{height:30px;width:auto}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%]{margin:24px 0;display:grid}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .links-legal-obligations-info[_ngcontent-%COMP%] [_ngcontent-%COMP%]:last-child:after{display:none}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .first-line[_ngcontent-%COMP%]{margin-bottom:0}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] .first-line[_ngcontent-%COMP%] .content-bar[_ngcontent-%COMP%]:last-child:after{display:inline}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-icons[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{padding-right:16px}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-icons[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px;width:32px}.footer-legal-obligations-info[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-icons[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:last-child{padding-right:0}.page-footer[_ngcontent-%COMP%]{width:100%}}'],changeDetection:0})}}return o}
1)();var ke=function(o){return o.PARAM1="param1",o.PARAM2="param2",o.PARAM3="param3",o.PARAM4="param4",o}(ke||{});const He=()=>(0,n.loadRemote)("cd-doctor-search-remote","routes").then(o=>o.remoteRoutes),$e={title:"general.pageTitle",seo:{title:"search-page.seo.title",metaTags:[{name:"description",content:"search-page.seo.description"},{property:"og:description",content:"search-page.seo.description"}]},searchBaseEntryPath:"search",rootBasePath:"/"},ft=(o,R)=>{const i={componentRef:Je,environmentInjectorRef:R};return[{path:o.search?.urlSegment.base,data:{...$e,breadcrumb:{key:"Search",label:"breadcrumb.search"},searchPropMobileCustomBottomComponentConfig:i},loadChildren:()=>He()},{path:o.searchAlternative?.urlSegment.base,data:{...$e,breadcrumb:null,searchPropMobileCustomBottomComponentConfig:i},children:[{path:`:${ke.PARAM1}`,data:{...$e},loadChildren:()=>He()},{path:`:${ke.PARAM1}/:${ke.PARAM2}`,data:{...$e},loadChildren:()=>He()},{path:`:${ke.PARAM1}/:${ke.PARAM2}/:${ke.PARAM3}`,data:{...$e},loadChildren:()=>He()},{path:`:${ke.PARAM1}/:${ke.PARAM2}/:${ke.PARAM3}/:${ke.PARAM4}`,data:{...$e},loadChildren:()=>He()}]}]};var Ve=t(85102);const Qe=o=>{const R=(0,e.inject)(v.Store),i=function ht(o){return([R,i])=>(R=`/${R}`).includes(o.myDoctors.urlSegment.base)?[{name:"main_navigation_go_to_my_favorites",path:`/${o.myDoctors.urlSegment.base}`}]:R.includes(o.search?.urlSegment.base)||R.includes(o.searchAlternative?.urlSegment.base)?[{name:"breadcrumb.search-results",path:R,queryParams:i}]:R.includes(o.myAppointments.urlSegment.base)?[{name:"breadcrumb.my-appointments.physician.details-page",path:R}]:[]}((0,e.inject)(y.N).getAppConfig()),a=o.data.breadcrumbList??[],c=R.select(Ve.selectCurrentPath),O=R.select(Ve.selectCurrentQueryParams);return(0,g.combineLatest)([c,O]).pipe((0,g.map)(i),(0,g.map)(z=>[...a,...z]),(0,g.take)(1))};var _t=t(82249);const vt=()=>{const o=(0,e.inject)(n.APP_BASE_URL_TOKEN,{optional:!0}),R=(0,e.inject)(y.N),i=(0,e.inject)(u.LoaderService),a=R.getEnvironment().configuration;let c;return c=o&&!o.includes("localhost")?`${o}api-v1.5/page/cd-web-${a}-accessibility`:`${o??""}assets/accessibility/${a}.json`,(0,g.from)(fetch(c).then(z=>z.json())).pipe((0,g.tap)(()=>{i.hideLoader()}))},Ct=o=>{const R=(0,e.inject)(P.Router),i=(0,e.inject)(u.LoaderService),a=(0,e.inject)(Se.PracticeConfigService),c=(0,e.inject)(y.N),z=(0,e.inject)(te.DOCUMENT).defaultView.location,se=o.queryParams.institution;return!se||(i.displayLoader(),a.getInstitutionConfigByIdentifier(se).pipe((0,g.map)(J=>{if(!J.properties?.clickdocRedirectByCountry)return R.createUrlTree(["/"]);if("legacy"===J.properties?.clickdocRedirectByCountry){const ce=c.getStageConfig().cgmLifeUrl.url,de=new URLSearchParams(o.queryParams).toString(),ue=o.fragment;return z.href=ue?`https://${ce}/legacyeservices/#/${ue}/?${de}`:`https://${ce}/legacyeservices/?${de}`,!0}if("de"===J.properties.clickdocRedirectByCountry.toLowerCase())return R.parseUrl(`/institution/${J.id}`);{const ce=(0,n.getCurrentStage)(window.location.host);return ce===n.Stage.LOCAL?R.parseUrl(`/institution/${J.id}`):(window.location.href=ce===n.Stage.DEV?`https://at.${ce}/institution/${J.id}`:`https://${ce}.at/institution/${J.id}`,!0)}}),(0,g.catchError)(()=>(0,g.of)(R.createUrlTree(["/"]))),(0,g.finalize)(()=>i.hideLoader())))};let nt=(()=>{class o{constructor(i){this.hostEnvironmentService=i,this.featureFlagStateService=(0,e.inject)(D.FeatureFlagStateService),this.envInjector=(0,e.inject)(e.EnvironmentInjector)}getRoutes(){const i=this.hostEnvironmentService.getEnvironment().configuration,a=this.getMainRouteConfigChildren(),c={path:"",canActivate:[xe,Ct],resolve:{defaultMetadataResolver:et,loadPrescriptionAndMedicationOrderResolver:$,notificationTriggerResolver:f},children:[]};return a.push(...this.getFederatedRemoteRoutes()),"fr"===i?a.push(...this.getFrenchEprescriptionRoutes()):("de"===i||"at"===i)&&a.push(this.getFederatedGermanDocumentRemoteRoute()),a.push({path:"",loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_tslib_tslib"),t.e("apps_clickdoc-host_src_app_feature_overview_overview_module_ts")]).then(t.bind(t,34814)).then(O=>O.OverviewModule)}),a.push({path:"**",redirectTo:""}),c.children=a,[c]}getMainRouteConfigChildren(){const i=this.hostEnvironmentService.getAppConfig(),a={path:"",loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_dialog_clickdoc_cdc-design_dialog"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_hero-banner_clickdoc_cdc-design_h-a6b9d2"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_cd-my-appointments-remote_domain_cg-5db000"),t.e("default-webpack_sharing_consume_default_observable-webworker_observable-webworker"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_sdk_blacklist-participant-se-a85ef6"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_medical_cgm-life-clickdoc_sh-d1505c"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_legacy-ui-components_cgm-lif-563072"),t.e("default-apps_clickdoc-host_src_app_order-shared_order-shared_module_ts"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_presentation_physician-card_-c4a25f"),t.e("apps_clickdoc-host_src_app_feature_landing-page_landing-page_module_ts")]).then(t.bind(t,16470)).then(z=>
1z.LandingPageModule),canActivate:[u.canActivateAdHocAppointment,ee],pathMatch:"full"},c=[{path:"register",loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_dialog_clickdoc_cdc-design_dialog"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_divider_clickdoc_cdc-design_divider"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_info-box_clickdoc_cdc-design_info-box"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_list_clickdoc_cdc-design_list"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_sdk_remote-workflow_cgm-life-8c8a79"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_breadcrumb-header_cgm-life-c-7d7d67"),t.e("apps_clickdoc-host_src_app_feature_user-account_user-acount_module_ts")]).then(t.bind(t,94888)).then(z=>z.UserAccountModule),canActivate:[fe]},{path:"login",loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_dialog_clickdoc_cdc-design_dialog"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_divider_clickdoc_cdc-design_divider"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_info-box_clickdoc_cdc-design_info-box"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_list_clickdoc_cdc-design_list"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_sdk_remote-workflow_cgm-life-8c8a79"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_breadcrumb-header_cgm-life-c-7d7d67"),t.e("apps_clickdoc-host_src_app_feature_user-account_user-acount_module_ts")]).then(t.bind(t,94888)).then(z=>
1z.UserAccountModule),canActivate:[fe]},{path:i.myProfile.urlSegment.base,canMatch:[H.J],canActivate:[H.p],loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_dialog_clickdoc_cdc-design_dialog"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_divider_clickdoc_cdc-design_divider"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_info-box_clickdoc_cdc-design_info-box"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_list_clickdoc_cdc-design_list"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_sdk_remote-workflow_cgm-life-8c8a79"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_breadcrumb-header_cgm-life-c-7d7d67"),t.e("apps_clickdoc-host_src_app_feature_user-account_user-acount_module_ts")]).then(t.bind(t,94888)).then(z=>z.UserAccountModule)},{path:i.meineGesundheit?.urlSegment.base,loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_pimcore_cgm-life-clickdoc_sh-daef8d"),t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_hero-banner_clickdoc_cdc-design_h-a6b9d2"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_faq_cgm-life-clickdoc_shared-ddc9e1"),t.e("apps_clickdoc-host_src_app_feature_meine-gesundheit-landing-page_meine-gesundheit-landing-pag-8dff89")]).then(t.bind(t,82484)).then(z=>z.MeineGesundheitLandingPageModule)},{path:i.myDoctors.urlSegment.base,data:{breadcrumb:{key:"FavoritePhysicians",label:"breadcrumb.my-physicians"}},loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_medical_cgm-life-clickdoc_sh-d1505c"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_presentation_physician-card_-c4a25f"),t.e("apps_clickdoc-host_src_app_feature_favorite-physicians_favorite-physicians_module_ts")]).then(t.bind(t,69119)).then(z=>z.FavoritePhysiciansModule)},{path:i.eRezept?.urlSegment.base,redirectTo:"erezept"},{path:i.eRezept?.urlSegment.base.toLowerCase(),loadChildren:()=>Promise.all([t.e("default-webpack_sharing_consume_default_clickdoc_cdc-design_dialog_clickdoc_cdc-design_dialog"),t.e("default-webpack_sharing_consume_default_observable-webworker_observable-webworker"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_medical_cgm-life-clickdoc_sh-d1505c"),t.e("default-apps_clickdoc-host_src_app_order-shared_order-shared_module_ts"),t.e("default-webpack_sharing_consume_default_cgm-life-clickdoc_shared_breadcrumb-header_cgm-life-c-7d7d67"),t.e("apps_clickdoc-host_src_app_feature_erezept_erezept_module_ts")]).then(t.bind(t,58505)).then(z=>z.ErezeptModule)},{path:i.mobile.urlSegment.base,loadChildren:()=>t.e("apps_clickdoc-host_src_app_feature_mobile_mobile_module_ts").then(t.bind(t,57715)).then(z=>z.MobileModule)}],O=(0,u.validateRoutingConfig)(c);return O.unshift(a),O}getFrenchEprescriptionRoutes(){const i=this.hostEnvironmentService.getAppConfig();return(0,u.validateRoutingConfig)([{path:i.eOrdonnance.urlSegment.base,loadChildren:()=>(0,n.loadRemote)("cd-eprescription-remote","routes").then(a=>a.remoteRoutes)}])}getFederatedGermanDocumentRemoteRoute(){return{path:this.hostEnvironmentService.getAppConfig().phr.urlSegment.base,canMatch:[H.J],canActivate:[H.p],loadChildren:()=>(0,n.loadRemote)("cd-phr-remote","Module").then(a=>a.RemoteEntryModule)}}loadRemoteModuleRoutes(i,a,c){return(0,g.from)((0,n.loadRemote)(i,a).then(O=>O[c]))}loadRemoteImprintRoute(){return this.featureFlagStateService.getFeatureFlagState$("a-b-imprint").pipe((0,g.switchMap)(i=>i?this.loadRemoteModuleRoutes("cd-legal-remote","ImprintModule","ImprintRemoteEntryModule"):(0,g.of)([{path:"",component:Ze,data:{title:"footer.about.imprint"}}])))}loadRemoteDataProtectionRoute(){return this.featureFlagStateService.getFeatureFlagState$("data-protection").pipe((0,g.switchMap)(i=>i?this.loadRemoteModuleRoutes("cd-legal-remote","DataProtectionModule","DataProtectionRemoteEntryModule"):(0,g.of)([{path:"",component:ie.X,resolve:{dataProtection:qe}}])))}loadRemoteAccessibilityRoute(){return this.featureFlagStateService.getFeatureFlagState$("accessibility").pipe((0,g.switchMap)(i=>i?this.loadRemoteModuleRoutes("cd-legal-remote","AccessibilityModule","AccessibilityRemoteEntryM
1odule"):(0,g.of)([{path:"",component:_t.I,resolve:{accessibility:vt}}])))}getFederatedRemoteRoutes(){const i=this.hostEnvironmentService.getAppConfig();return(0,u.validateRoutingConfig)([...ft(i,this.envInjector),{path:i.help.urlSegment.base,loadChildren:()=>(L.HelpPath.BASE=this.hostEnvironmentService.getAppConfig().help.urlSegment.base,(0,n.loadRemote)("cd-help-remote","routes").then(a=>a.remoteRoutes))},{path:i.magazine?.urlSegment.base,canActivate:[(0,D.featureToggleGuard)("magazine")],loadChildren:()=>(K.MagazinePath.BASE=this.hostEnvironmentService.getAppConfig().magazine?.urlSegment.base,(0,n.loadRemote)("cd-magazine-remote","Module").then(a=>a.RemoteEntryModule)),data:{breadcrumbList:[{name:"main_navigation_go_to_landing_page",path:"/"}]}},{path:i.appointmentbooking.urlSegment.base,canActivate:[G],loadChildren:()=>(0,n.loadRemote)("cd-appointment-booking-remote","Module").then(a=>a.RemoteEntryModule),data:{accountPortalFlowProvided:!0}},{path:i.adHocAppointment.urlSegment.base,loadChildren:()=>(0,n.loadRemote)("cd-my-appointments-remote","AdHocAppointmentModule").then(a=>a.RemoteEntryModule)},{path:"wl",redirectTo:"waiting-list",pathMatch:"full"},{path:"waiting-list",loadChildren:()=>(0,n.loadRemote)("cd-my-appointments-remote","WaitingListModule").then(a=>a.RemoteEntryModule)},{path:i.myAppointments.urlSegment.base,canMatch:[H.J],canActivate:[H.p],loadChildren:()=>(0,n.loadRemote)("cd-my-appointments-remote","MyAppointmentsModule").then(a=>a.RemoteEntryModule)},{path:i.physician.urlSegment.base,loadChildren:()=>(0,g.from)((0,n.loadRemote)("cd-practice-profile-remote","PhysicianModule").then(a=>a.RemoteEntryModule)),data:{breadcrumbList:[{name:"breadcrumb.landing-page",path:"/"}]},resolve:{breadcrumbList:Qe}},{path:i.doctor.urlSegment.base,loadChildren:()=>(0,g.from)((0,n.loadRemote)("cd-practice-profile-remote","PhysicianModule").then(a=>a.RemoteEntryModule)),data:{breadcrumbList:[{name:"breadcrumb.landing-page",path:"/"}]},resolve:{breadcrumbList:Qe}},{path:i.institution.urlSegment.base,loadChildren:()=>(0,g.from)((0,n.loadRemote)("cd-practice-profile-remote","InstitutionModule").then(a=>a.RemoteEntryModule)),data:{breadcrumbList:[{name:"breadcrumb.landing-page",path:"/"}]},resolve:{breadcrumbList:Qe}},{path:i.practice.urlSegment.base,loadChildren:()=>(0,g.from)((0,n.loadRemote)("cd-practice-profile-remote","InstitutionModule").then(a=>a.RemoteEntryModule)),data:{breadcrumbList:[{name:"breadcrumb.landing-page",path:"/"}]},resolve:{breadcrumbList:Qe}},{path:i.imprint.urlSegment.base,loadChildren:()=>this.loadRemoteImprintRoute()},{path:i.dataProtection.urlSegment.base,loadChildren:()=>this.loadRemoteDataProtectionRoute()},{path:i.accessibility.urlSegment.base,loadChildren:()=>this.loadRemoteAccessibilityRoute()}])}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(y.N))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o})(),Pt=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:o})}static{this.\u0275inj=e.\u0275\u0275defineInjector({providers:[{provide:nt,useClass:nt,deps:[y.N]},{provide:P.ROUTES,multi:!0,useFactory:i=>i.getRoutes(),deps:[nt]}],imports:[P.RouterModule.forRoot([]),P.RouterModule]})}}return o})();var yt=t(46423),Mt=t(8113),Et=t(32839),Ot=t(64492),De=t(61476),xt=t(90230);let St=(()=>{class o{constructor(i){this.appAppointmentService=i}getAbsenceTimes(i){return this.appAppointmentService.findTimeLockSequencesByFilter({institutionIds:[i]},null)}getAbsenceTimeOfPhysician(i,a){const c=i.filter(O=>"PHYSICIAN"===O.lockType&&O.lockedId===a);return this.getCurrentAbsenceTimeWithNote(c)}getAbsenceTimeOfInstitution(i){const a=i.filter(c=>"INSTITUTION"===c.lockType);return this.getCurrentAbsenceTimeWithNote(a)}getCurrentAbsenceTimeWithNote(i){const a=ne()();if(i)return i.find(c=>(a.isBefore(c.dateUntil)&&a.isAfter(c.dateFrom)||a.isSame(c.dateFrom)||a.isSame(c.dateUntil)||c.wholeDay&&a.isSame(c.dateFrom,"day")&&a.isSame(c.dateFrom,"month")&&a.isSame(c.dateFrom,"year"))&&c.patientNote)}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(N.AppAppointmentService))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o}
1)(),bt=(()=>{class o{constructor(){this.categories=/[\p{Mn}\p{Me}]+/u,this.defaultThreshold=.55}detectZalgo(){return i=>i&&i.value&&this.isZalgo(i.value)?{isZalgo:!0}:null}isZalgo(i){const a=this.defaultThreshold,c=this.computeScores(i);return this.percentile(c,.75)>=a}computeScores(i){const a=[];if(i.trim().length)for(const c of this.decompose(i).split(/\s+/)){let O=0;for(const se of c)this.categories.test(se)&&++O;a.push(O/c.length)}else a.push(0);return a}decompose(i){return i.normalize("NFD")}percentile(i,a){if(0===(i=this.numbers(i)).length||null==a||a<0)return NaN;a>1&&(a=1);const c=(i=this.nsort(i)).length*a-.5;if((0|c)===c)return i[c];const O=0|c,z=c-O;return(1-z)*i[O]+z*i[Math.min(O+1,i.length-1)]}numbers(i){const a=[];return null==i||i.forEach(c=>{this.isNumber(c)&&a.push(+c)}),a}isNumber(i){return null!=i&&""!==i&&!isNaN(Number(i.toString()))}nsort(i){return i.sort((a,c)=>a-c)}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o})(),Dt=(()=>{class o{intercept(i,a){return a.handle(i)}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o})(),It=(()=>{class o{constructor(i,a,c){this.actions$=i,this.router=a,this.service=c,this.navigateToHelp$=(0,De.createEffect)(()=>this.actions$.pipe((0,De.ofType)(K.navigateToHelp),(0,r.tap)(()=>this.navigate()),(0,r.catchError)(()=>(0,g.of)((0,K.navigateToHelpFailure)()))),{dispatch:!1})}navigate(){const i=this.service.getAppConfig().help.urlSegment.base;this.router.navigateByUrl(i)}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(De.Actions),e.\u0275\u0275inject(P.Router),e.\u0275\u0275inject(y.N))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o})();var Fe=t(72594),st=t(45906);let Tt=(()=>{class o{constructor(i,a){this.actions$=i,this.loginService=a,this.loaderService=(0,e.inject)(u.LoaderService),this.initialLogin$=(0,De.createEffect)(()=>this.actions$.pipe((0,De.ofType)(Fe.initialLogin),(0,r.switchMap)(()=>this.loginService.initialLogin$().pipe((0,r.map)(()=>(0,Fe.initialLoginSuccess)()),(0,r.tap)(()=>this.loaderService.hideLoader()),(0,r.catchError)(()=>(0,g.of)((0,Fe.initialLoginFailure)())))))),this.login$=(0,De.createEffect)(()=>this.actions$.pipe((0,De.ofType)(Fe.login),(0,r.switchMap)(()=>this.loginService.login$())),{dispatch:!1}),this.userChanged$=(0,De.createEffect)(()=>this.loginService.userChanged$().pipe((0,r.map)(c=>(0,Fe.userChanged)({user:c}))))}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(De.Actions),e.\u0275\u0275inject(st.H))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o})(),Lt=(()=>{class o{constructor(i,a,c,O){this.router=i,this.seoService=a,this.jsonLdService=c,this.translate=O,this.removeStructuredDataLegacy$=(0,De.createEffect)(()=>this.router.events.pipe((0,g.filter)(z=>z instanceof P.NavigationStart),(0,g.map)(()=>this.getActivatedRouteSnapshot()),(0,g.filter)(z=>"primary"===z.outlet),(0,g.tap)(()=>this.jsonLdService.removeStructuredData())),{dispatch:!1}),this.updateLegacyMetaData$=(0,De.createEffect)(()=>this.router.events.pipe((0,g.filter)(z=>z instanceof P.NavigationEnd),(0,g.map)(()=>this.getActivatedRouteSnapshot()),(0,g.filter)(z=>"primary"===z.outlet),(0,g.tap)(z=>this.setMetaData(z.data))),{dispatch:!1})}getActivatedRouteSnapshot(){let i=this.router.routerState.root;for(;i.firstChild;)i=i.firstChild;return i.snapshot}setMetaData(i){if(i.title){let a=this.seoService.getTranslatedKey(i.title);const c=a[0].toUpperCase();a=this.getPageTitle(a,c),this.seoService.setPageTitle(a)}i.seo&&(this.seoService.setPageTitle(i.seo.title),this.seoService.updateMetaTags(i.seo.metaTags),this.jsonLdService.insertStructuredData(this.jsonLdService.websiteSchema()))}getPageTitle(i,a,c){const O=this.translate.instant("general.pageTitle");if(c)return(c.extendedName?c.extendedName:c.name)+" | "+O;{const z=i.replace(i[0],a)+" | "+O;return i===O?O:z}}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(P.Router),e.\u0275\u0275inject(d.SeoService),e.\u0275\u0275inject(d.JsonLDService),e.\u0275\u0275inject(l.TranslateService))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o}
1)();var ct=t(85736);let Rt=(()=>{class o{constructor(){this.document=(0,e.inject)(te.DOCUMENT),this.action$=(0,e.inject)(De.Actions),this.cryptoService=(0,e.inject)(le.CryptoService),this.deviceDetectorService=(0,e.inject)(ct.DeviceDetectorService),this.hostEnvironmentService=(0,e.inject)(y.N),this.googleTagManagerService=(0,e.inject)(u.GoogleTagManagerService),this.store=(0,e.inject)(v.Store),this.deviceInfo=this.deviceDetectorService.getDeviceInfo(),this.environment=this.hostEnvironmentService.getEnvironment(),this.sessionId=this.cryptoService.generateUuid(),this.navigation$=this.store.pipe((0,v.select)(Ve.selectCurrentUrl),(0,r.filter)(i=>!!i)),this.manualTrigger$=this.action$.pipe((0,De.ofType)(Fe.generalInformation),(0,r.withLatestFrom)(this.store.select(Ve.selectCurrentUrl)),(0,r.map)(([,i])=>i)),this.userProfileWithHashedEmail$=this.store.pipe((0,v.select)(_.tB),(0,r.map)(i=>this.getProfileWithHashedEmail(i))),this.trackGeneralInformation$=(0,De.createEffect)(()=>(0,g.merge)(this.navigation$,this.manualTrigger$).pipe((0,r.withLatestFrom)(this.store.select(Ve.selectPreviousUrl),this.userProfileWithHashedEmail$),(0,r.tap)(([i,a,c])=>this.trackGeneralInformationEvent(i,a,c))),{dispatch:!1})}trackGeneralInformationEvent(i,a,c){const O=this.deviceDetectorService.isMobile();this.googleTagManagerService.pushTag({browserName:this.deviceInfo.browser,browserVersion:this.deviceInfo.browser_version,countryCode:this.environment.appConfig.countryIdentifier,deviceViewportSize:`${this.document.defaultView.innerWidth}x${this.document.defaultView.innerHeight}`,emh:c?.email,event:"generalInformation",gender:c?.gender,locale:`${this.environment.configuration}-${this.environment.appConfig.countryIdentifier}`,os:this.deviceInfo.os,pagePath:i,pageReferrer:a,responsiveSize:O?"mobile":"web",sessionId:this.sessionId,userId:c?.id,userLocation:c?.address?.zip,userLoginState:c?.id?"logged in":"logged out"})}getProfileWithHashedEmail(i){return i?.email?{...i,email:this.cryptoService.hashString(i?.email)}:i}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}}return o})();const At={[_.m_]:_.BC},Bt=o=>o.runningLocalOrOnDevStage()?new Ot.PimcoreStagingInterceptorService:new Dt;let kt=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:o})}static{this.\u0275inj=e.\u0275\u0275defineInjector({providers:[St,bt,l.TranslateService,{provide:p.HTTP_INTERCEPTORS,useFactory:Bt,multi:!0,deps:[y.N]}],imports:[te.CommonModule,ze.ConsentGdprModule,xt.ConsentStateModule,De.EffectsModule.forRoot([It,Tt,Lt,Rt]),v.StoreModule.forRoot(At),d.MetadataModule.withConfiguration(()=>{const i=(0,e.inject)(y.N);return{country:i.getEnvironment().configuration,pimcoreBaseHref:i.getStageConfig().pimcoreBaseHref,baseHref:i.getBaseHref()}}),ze.ConsentGdprModule]})}}return o})();var Ut=t(39719),we=t(5237),lt=t(69915),wt=t(12951),jt=t(16898),zt=t(75504),dt=t(7718),je=t(13780),Ft=t(58762),Nt=t(36066),it=t(80795),$t=t(56721),Ae=t(28941),Wt=t(97816),pt=t(76306),Kt=t(38210),Ht=t(5313),Vt=t(43618),Yt=t(29386),Gt=t(97487),Jt=t(28805),Qt=t(1558),Xt=t(63714);let Zt=(()=>{class o{constructor(i){this.medicalService=i}getDocuments$(){return this.medicalService.getEntries$(null,null,["core.document"],null,null,null,null)}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(Xt.MedicalService))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var mt=t(40206);const qt=o=>({"navigation-container--medium":o}),en=(o,R,i,a)=>({"no-border":o,"border-grey":R,"border-blue":i,"color-blue":a});function tn(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",3),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275elementStart(2,"button",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.goToEOrdonnance())}),e.\u0275\u0275element(3,"span",11),e.\u0275\u0275elementStart(4,"span",6),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()()()}if(2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("active",!1===e.\u0275\u0275pipeBind1(1,3,i.isLoginOrRegisterModalOpen)&&i.router.url.indexOf("eOrdonnance")>-1),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,5,"main_navigation_go_to_eRezept"))}}function nn(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",3),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275elementStart(2,"button",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(c.goToErezept())}),e.\u0275\u0275element(3,"span",12),e.\u0275\u0275elementStart(4,"span",6),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()()()}if(2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("active",!1===e.\u0275\u0275pipeBind1(1,3,i.isLoginOrRegisterModalOpen)&&i.router.url.indexOf("erezept")>-1),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,5,"main_navigation_go_to_eRezept"))}}function on(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",3),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275elementStart(2,"button",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.goToMyFavorites())}),e.\u0275\u0275element(3,"span",13),e.\u0275\u0275elementStart(4,"span",6),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()()()}if(2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("active",!1===e.\u0275\u0275pipeBind1(1,3,i.isLoginOrRegisterModalOpen)&&i.router.url.indexOf("my-doctors")>-1),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,5,"main_navigation_go_to_my_favorites"))}}function rn(o,R){if(1&o&&(e.\u0275\u0275element(0,"app-avatar",16),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275pipe(3,"async"),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275pipe(6,"async")),2&o){const i=e.\u0275\u0275nextContext(3);e.\u0275\u0275property("src",e.\u0275\u0275pipeBind1(1,2,i.avatarUser))("ngClass",e.\u0275\u0275pureFunction4(14,en,e.\u0275\u0275pipeBind1(2,4,i.avatarUser)===i.defaultAvatarImagePath,e.\u0275\u0275pipeBind1(3,6,i.avatarUser)!==i.defaultAvatarImagePath,e.\u0275\u0275pipeBind1(4,8,i.isProfileIconActive),e.\u0275\u0275pipeBind1(5,10,i.isProfileIconActive)&&e.\u0275\u0275pipeBind1(6,12,i.avatarUser)===i.defaultAvatarImagePath))}}function an(o,R){1&o&&e.\u0275\u0275element(0,"span",17)}function sn(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",3),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275elementStart(2,"button",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.goToMyProfile())}),e.\u0275\u0275template(3,rn,7,19,"app-avatar",14),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275template(5,an,1,0,"span",15),e.\u0275\u0275pipe(6,"async"),e.\u0275\u0275elementStart(7,"span",6),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd()()()}if(2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("active",e.\u0275\u0275pipeBind1(1,5,i.isProfileIconActive)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(4,7,i.avatarUser)!==i.defaultAvatarImagePath),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(6,9,i.avatarUser)===i.defaultAvatarImagePath),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(9,11,"main_navigation_go_to_myProfile"))}}function cn(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",3),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementStart(3,"button",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.goToRegisterOrLogin())}),e.\u0275\u0275element(4,"span",17),e.\u0275\u0275elementStart(5,"span",6),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd()()()}if(2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("active",e.\u0275\u0275pipeBind1(1,3,i.isLoginOrRegisterModalOpen)||e.\u0275\u0275pipeBind1(2,5,i.isProfileIconActive)),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(7,7,"main_navigation_sign_in_btn"))}}function ln(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",1)(1,"div",2),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementStart(3,"div",3),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275elementStart(5,"button",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(c.goToLandingPage())}),e.\u0275\u0275element(6,"span",5),e.\u0275\u0275elementStart(7,"span",6),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(10,tn,7,7,"div",7)(11,nn,7,7,"div",7),e.\u0275\u0275elementStart(12,"div",3),e.\u0275\u0275pipe(13,"async"),e.\u0275\u0275elementStart(14,"button",8),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(c.goToMyAppointmens())}),e.\u0275\u0275element(15,"span",9),e.\u0275\u0275elementStart(16,"span",10),e.\u0275\u0275text(17),e.\u0275\u0275pipe(18,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(19,on,7,7,"div",7)(20,sn,10,13,"div",7),e.\u0275\u0275pipe(21,"async"),e.\u0275\u0275template(22,cn,8,9,"div",7),e.\u0275\u0275pipe(23,"async"),e.\u0275\u0275pipe(24,"async"),e.\u0275\u0275elementEnd()()}if(2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(28,qt,e.\u0275\u0275pipeBind1(2,12,i.displayDocumentsBtn))),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("active",!1===e.\u0275\u0275pipeBind1(4,14,i.isLoginOrRegisterModalOpen)&&i.setStartIconActive()),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(9,16,"main_navigation_go_to_landing_page")),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf","fr"===i.countryCode),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","de"===i.countryCode),e.\u0275\u0275advance(),e.\u0275\u0275classProp("active",!1===e.\u0275\u0275pipeBind1(13,18,i.isLoginOrRegisterModalOpen)&&i.router.url.indexOf("my-appointments/overview")>-1),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(18,20,"main_navigation_go_to_my_appointments")," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf","fr"===i.countryCode),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(21,22,i.profile)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",void 0===e.\u0275\u0275pipeBind1(23,24,i.profile)||null===e.\u0275\u0275pipeBind1(24,26,i.profile))}}let dn=(()=>{class o{constructor(i,a,c,O,z,se,J,ce){this.bottomNavigationService=i,this.breakpointsService=a,this.modalService=c,this.searchMobileStateService=O,this.searchModalsService=z,this.userProfileService=se,this.router=J,this.hostEnvironmentService=ce,this.helpLandingPage=this.hostEnvironmentService.getAppConfig().help.urlSegment.base,this.profile=new g.BehaviorSubject(void 0),this.defaultAvatarImagePath="./assets/img/avatars/profile.svg",this.avatarUser=new g.BehaviorSubject(""),this.isLoginOrRegisterModalOpen=new g.BehaviorSubject(!1),this.countryCode=this.hostEnvironmentService.getEnvironment().configuration,this.displayDocumentsBtn=new g.BehaviorSubject(!1),this.isProfileIconActive=new g.BehaviorSubject(!1),this.unsubscribe$=new g.Subject}ngOnInit(){this.isMobileBreakpoint$=this.breakpointsService.isSmallView$(),this.userProfileService.userProfileChanged$().pipe((0,r.takeUntil)(this.unsubscribe$)).subscribe(c=>{if(this.profile.next(c),c){const O=c._image?this.userProfileService.getAvatarURL(c._image):this.defaultAvatarImagePath;this.avatarUser.next(O),"fr"===this.countryCode&&this.hasDocumentsOnAccount()}else this.displayDocumentsBtn.next(!1)});const i=this.userProfileService.userProfileChanged$(),a=this.router.url;(0,g.combineLatest)([this.router.events.pipe((0,r.filter)(c=>c instanceof P.NavigationEnd),(0,r.map)(c=>c?.url),(0,r.startWith)(a)),i]).pipe((0,r.takeUntil)(this.unsubscribe$)).subscribe(([c,O])=>{this.isProfileIconActive.next(O?this.setProfileIconActive(c):c.indexOf(this.helpLandingPage)>-1)})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}goToLandingPage(){this.modalService.getModalsCount()&&this.modalService.hide(),this.searchMobileStateService.updateSearchStepState(u.SearchMobileSteps.SearchFirstStep),this.router.navigateByUrl("/")}goToErezept(){this.modalService.getModalsCount()&&this.modalService.hide(),this.router.navigateByUrl("/erezept")}goToMyProfile(){this.router.navigateByUrl("/my-profile")}
1goToRegisterOrLogin(){this.modalService.getModalsCount()||(this.searchModalsService.showConsentModal(Jt.Z,{backdrop:!1}),this.isLoginOrRegisterModalOpen.next(!0),this.modalService.onHide.pipe((0,r.take)(1)).subscribe(()=>{this.isLoginOrRegisterModalOpen.next(!1)}))}goToMyAppointmens(){this.router.navigate(["/my-appointments/overview"]),this.modalService.hide()}goToMyFavorites(){this.router.navigate(["/my-doctors"]),this.modalService.hide()}goToEOrdonnance(){this.router.navigate(["/eOrdonnance"]),this.modalService.hide()}setStartIconActive(){return"/"===this.router.url||this.router.url.indexOf("search")>-1||this.router.url.indexOf("termin")>-1||this.router.url.indexOf("annuaire")>-1}hasDocumentsOnAccount(){this.bottomNavigationService.getDocuments$().pipe((0,r.takeUntil)(this.unsubscribe$)).subscribe(i=>{i&&i?.length>0&&this.displayDocumentsBtn.next(this.hostEnvironmentService.runningLocalOrOnDevStage())})}setProfileIconActive(i){return!!("de"===this.countryCode?["my-profile","my-doctors","documents",this.helpLandingPage]:["my-profile",this.helpLandingPage]).find(c=>i.indexOf(c)>-1)}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(Zt),e.\u0275\u0275directiveInject(u.BreakpointsService),e.\u0275\u0275directiveInject(lt.BsModalService),e.\u0275\u0275directiveInject(mt.SearchMobileStateService),e.\u0275\u0275directiveInject(u.SearchModalsService),e.\u0275\u0275directiveInject(X.UserProfileService),e.\u0275\u0275directiveInject(P.Router),e.\u0275\u0275directiveInject(y.N))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-bottom-navigation"]],decls:2,vars:3,consts:[["class","navigation-wrapper",4,"ngIf"],[1,"navigation-wrapper"],[1,"navigation-container",3,"ngClass"],[1,"navigation-item"],[3,"click"],[1,"navigation-icon","icon","icon-DS_search"],[1,"menu-item-label"],["class","navigation-item",3,"active",4,"ngIf"],["data-automation","Navigation - Go to my appointments button",3,"click"],["data-automation","Navigation - My appointments icon",1,"navigation-icon","icon","icon-my-appointments"],["data-automation","Navigation - My appointments text",1,"menu-item-label"],[1,"navigation-icon","icon","icon-documents"],[1,"navigation-icon","icon","icon-CD_erezept"],[1,"navigation-icon","icon","icon-favorite"],["class","extra-extra-small",3,"src","ngClass",4,"ngIf"],["class","navigation-icon icon icon-CD_profile",4,"ngIf"],[1,"extra-extra-small",3,"src","ngClass"],[1,"navigation-icon","icon","icon-CD_profile"]],template:function(a,c){1&a&&(e.\u0275\u0275template(0,ln,25,30,"div",0),e.\u0275\u0275pipe(1,"async")),2&a&&e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(1,1,c.isMobileBreakpoint$))},dependencies:[te.NgIf,te.NgClass,Qt.f,te.AsyncPipe,l.TranslatePipe],styles:["[_nghost-%COMP%]{position:fixed;bottom:0;left:0;right:0;height:64px;line-height:70px;width:100vw;max-width:100%;z-index:9004!important}.navigation-wrapper[_ngcontent-%COMP%]{border-top:1px solid var(--gray-medium);background-color:var(--neutrals-light);width:100%}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;margin:0 auto;padding:var(--cdc-spacing-100) 0;max-width:672px}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container[_ngcontent-%COMP%] .navigation-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 1 auto;color:var(--neutrals-medium);font-family:var(--font-family-roboto);font-weight:700;font-size:12px;line-height:1.33;letter-spacing:.4px;text-align:center;cursor:pointer;position:relative;max-width:168px;width:25%}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container[_ngcontent-%COMP%] .navigation-item[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--neutrals-medium);background:transparent;border:none;display:flex;align-items:center;flex-direction:column;height:62px;padding:0}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container[_ngcontent-%COMP%] .navigation-item.active[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:var(--blue-primary-100);font-weight:700}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container[_ngcontent-%COMP%] .navigation-item[_ngcontent-%COMP%] .navigation-icon[_ngcontent-%COMP%]{height:28px;width:28px}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container[_ngcontent-%COMP%] .navigation-item[_ngcontent-%COMP%] .navigation-icon.active[_ngcontent-%COMP%]{color:var(--blue-primary-100)}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container[_ngcontent-%COMP%] .navigation-item[_ngcontent-%COMP%] .menu-item-label[_ngcontent-%COMP%]{margin-top:4px}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container--medium[_ng
1content-%COMP%]{max-width:840px}.navigation-wrapper[_ngcontent-%COMP%] .navigation-container--medium[_ngcontent-%COMP%] .navigation-item[_ngcontent-%COMP%]{width:20%}.navigation-wrapper[_ngcontent-%COMP%] .no-border[_ngcontent-%COMP%]{border:none;box-shadow:none;margin:2px auto}.navigation-wrapper[_ngcontent-%COMP%] .border-grey[_ngcontent-%COMP%]{border:1px solid var(--cdc-fc300);border-radius:50%;margin:1px auto}.navigation-wrapper[_ngcontent-%COMP%] .border-blue[_ngcontent-%COMP%]{border:1px solid var(--blue-primary-100);border-radius:50%;margin:1px auto}"],changeDetection:0})}}return o})();var ot=t(99686),gt=t(68978),pn=t(72982);let mn=(()=>{class o{constructor(i,a,c){this.shellService=i,this.loginService=a,this.preventBrowserPopupStateService=c}onClick(){var i=this;return(0,ot.A)(function*(){i.appSingleSignOnBackLink&&(i.preventBrowserPopupStateService.hidePopup(),window.open(yield i.getRedirectUrl(),"_self"))})()}getRedirectUrl(){var i=this;return(0,ot.A)(function*(){let a="",c=i.appSingleSignOnBackLink;const O=i.shellService.getLoginState();return O&&O.participantId?a=yield(0,g.lastValueFrom)(i.loginService.createOneTimeLogin()):c=c.replace("?authToken=",""),Promise.resolve(`${c}${a}`)})()}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(gt.ShellService),e.\u0275\u0275directiveInject(pn.LoginService),e.\u0275\u0275directiveInject(h.H))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:o,selectors:[["","appSingleSignOnBackLink",""]],hostBindings:function(a,c){1&a&&e.\u0275\u0275listener("click",function(){return c.onClick()})},inputs:{appSingleSignOnBackLink:"appSingleSignOnBackLink"}})}}return o})();function gn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275element(2,"span",2)(3,"img",3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementStart(5,"span",4),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&o){const i=R.ngIf;e.\u0275\u0275advance(),e.\u0275\u0275property("appSingleSignOnBackLink",i.url),e.\u0275\u0275advance(2),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(4,3,"backwards_icon")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(7,5,i.text||"general.action.back")," ")}}let un=(()=>{class o{constructor(i){this.authStateService=i}ngOnInit(){this.singleSignOnBackLink$=this.authStateService.singleSignOnData$.getState$().pipe((0,r.map)(i=>i?.backLink))}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(ge.AuthStateService))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-single-sign-on-back-link"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"single-sign-on-back-link",3,"appSingleSignOnBackLink"],[1,"single-sign-on-back-link__icon-web","icon-M_logout"],["src","assets/img/backwards.svg","data-automation","backwards",1,"single-sign-on-back-link__icon-mobile"],[1,"single-sign-on-back-link__link"]],template:function(a,c){1&a&&(e.\u0275\u0275template(0,gn,8,7,"ng-container",0),e.\u0275\u0275pipe(1,"async")),2&a&&e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(1,1,c.singleSignOnBackLink$))},dependencies:[te.NgIf,mn,te.AsyncPipe,l.TranslatePipe],styles:[".single-sign-on-back-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;padding:16px 0;width:100%;cursor:pointer}@media screen and (max-width: 904px){.single-sign-on-back-link[_ngcontent-%COMP%]{padding:8px 0;background-color:#fff}}.single-sign-on-back-link__icon-web[_ngcontent-%COMP%]{color:#339cd3;font-size:24px;margin-right:6px}@media screen and (max-width: 904px){.single-sign-on-back-link__icon-web[_ngcontent-%COMP%]{display:none}}.single-sign-on-back-link__icon-mobile[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 904px){.single-sign-on-back-link__icon-mobile[_ngcontent-%COMP%]{display:flex;width:24px;height:24px;margin-right:8px}}.single-sign-on-back-link__link[_ngcontent-%COMP%]{color:#339cd3;font-size:16px}@media screen and (max-width: 904px){.single-sign-on-back-link__link[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;height:24px;line-height:1.5;letter-spacing:.44px;text-align:center;color:var(--blue-primary-100)}}"]})}}return o}
1)();const fn=o=>({"custom-breadcrumb":o}),hn=o=>({"my-appointments-breadcrumb":o});function _n(o,R){1&o&&e.\u0275\u0275element(0,"span",13)}function vn(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",14),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext().index,O=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(O.redirectToBreadcrumbItem(c))}),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()}if(2&o){const i=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275attribute("data-automation",e.\u0275\u0275pipeBind1(1,2,"Breadcrumb - "+i.key)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(3,4,i.label)," ")}}function Cn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"span",15),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275attribute("data-automation",e.\u0275\u0275pipeBind1(1,2,"Breadcrumb - "+i.key)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(3,4,i.label)," ")}}function Pn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275template(1,_n,1,0,"span",10)(2,vn,4,6,"span",11)(3,Cn,4,6,"span",12),e.\u0275\u0275elementEnd()),2&o){const i=R.$implicit,a=R.index,c=e.\u0275\u0275nextContext(3);e.\u0275\u0275classProp("active",c.isActiveBreadcrumb(a)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",i.label),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!c.isActiveBreadcrumb(a)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",c.isActiveBreadcrumb(a))}}function yn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"ol",8),e.\u0275\u0275template(1,Pn,4,5,"li",9),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",i.breadcrumbs)}}function Mn(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(c.goBack())}),e.\u0275\u0275element(4,"span",5),e.\u0275\u0275elementStart(5,"span",6),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(8,yn,2,1,"ol",7),e.\u0275\u0275elementEnd()()()}if(2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275classMap(i.isBreadcrumbsDisplayed?i.breadCrumbCustomClass:""),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(8,fn,i.isOnMyAppointments||i.isOnDocumentsRoute)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(10,hn,i.isOnEditAppointment)),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(7,6,"general_action_go_back")," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",i.isBreadcrumbsDisplayed&&(null==i.breadcrumbs?null:i.breadcrumbs.length))}}let En=(()=>{class o{constructor(i,a,c,O,z){this.breadcrumbNavigationService=i,this.router=a,this.activatedRoute=c,this.location=O,this.routingState=z,this.isBreadcrumbsDisplayed=!0,this.breadcrumbContextType=C,this.unsubscribe$=new g.Subject}ngOnInit(){this.router.events.pipe((0,r.takeUntil)(this.unsubscribe$),(0,r.filter)(i=>i instanceof P.NavigationEnd),(0,r.map)(()=>this.activatedRoute),(0,r.map)(i=>
1{for(;i.firstChild;)i=i.firstChild;return i}),(0,r.mergeMap)(i=>i.data),(0,r.map)(i=>{const a="PhysicianProfile"===i?.breadcrumb?.key||"InstitutionProfile"===i?.breadcrumb?.key;return this.previousBreadcrumbKey===i?.breadcrumb?.key&&a?(this.breadcrumbNavigationService.updateBreadcrumbState(this.breadcrumbs),i):(this.breadcrumbs=this.breadcrumbNavigationService.createBreadcrumbs(this.activatedRoute.root,{path:""},[]),this.isBreadcrumbsDisplayed=!(0,ye.isEmpty)(this.breadcrumbs),this.breadCrumbCustomClass=null,this.isOnMyAppointments=this.checkRoute("my-appointments"),this.isOnDocumentsRoute=this.checkRoute("documents"),this.isSearchPage=this.checkRoute("search"),this.isOnQuestionnaireRoute=this.checkRoute("questionnaire"),this.isOnEditAppointment=this.checkRoute("edit"),this.isOnConfirmation=this.checkRoute("confirmation"),this.isOnReschedulingError=this.checkRoute("rescheduling-error"),this.previousBreadcrumbKey=i?.breadcrumb?.key,i)})).subscribe(),this.breadcrumbNavigationService.getBreadcrumbState$().pipe((0,r.delay)(0),(0,r.takeUntil)(this.unsubscribe$),(0,r.filter)(i=>!!i),(0,r.tap)(i=>{this.lastSearchQuery=this.breadcrumbNavigationService.getLastSearchQueryParams(i),this.breadCrumbCustomClass=this.breadcrumbNavigationService.getBreadcrumbCustomClass(i)})).subscribe(i=>{const a=Object.fromEntries(this.breadcrumbs.map(c=>[c.key,c]));(0,ye.forEach)(i,c=>{c.label&&!a[c.key]?this.breadcrumbs.push(c):a[c.key]&&c.label&&(a[c.key].label=c.label,a[c.key].orderIndex=c.orderIndex,a[c.key].url=c.url??"")}),this.breadcrumbs=this.breadcrumbs.sort((c,O)=>c.orderIndex>O.orderIndex?1:-1)})}ngOnDestroy(){this.unsubscribe$.next()}redirectToBreadcrumbItem(i){this.breadcrumbNavigationService.redirectToBreadcrumbItem(i,this.breadcrumbs,this.router)}isActiveBreadcrumb(i){return i===this.breadcrumbs.length-1||i===this.breadcrumbs.length-1&&void 0}goBack(){const i=this.routingState.getRoutingHistoryUrlsValue();i.length>1?i[i.length-2].includes("booking")?this.router.navigate(["search"]):this.location.back():this.router.navigate([""])}checkRoute(i){return this.router.url.includes(i)}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(x),e.\u0275\u0275directiveInject(P.Router),e.\u0275\u0275directiveInject(P.ActivatedRoute),e.\u0275\u0275directiveInject(te.Location),e.\u0275\u0275directiveInject(u.RoutingHistoryStateService))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-breadcrumb-navigation"]],decls:1,vars:1,consts:[["class","breadcrumb-container",3,"ngClass","class",4,"ngIf"],[1,"breadcrumb-container",3,"ngClass"],[1,"container",3,"ngClass"],[1,"row"],[1,"back-to-search-btn",3,"click"],[1,"icon","icon-G3_hideLeft"],[1,"text"],["class","breadcrumb",4,"ngIf"],[1,"breadcrumb"],[3,"active",4,"ngFor","ngForOf"],["class","icon icon-G3_hideRight","data-automation","Breadcrumb - Right arrow icon",4,"ngIf"],["class","breadcrumb-label",3,"click",4,"ngIf"],["class","active-breadcrumb",4,"ngIf"],["data-automation","Breadcrumb - Right arrow icon",1,"icon","icon-G3_hideRight"],[1,"breadcrumb-label",3,"click"],[1,"active-breadcrumb"]],template:function(a,c){1&a&&e.\u0275\u0275template(0,Mn,9,12,"div",0),2&a&&e.\u0275\u0275property("ngIf",!(c.isSearchPage||c.isOnQuestionnaireRoute||c.isOnConfirmation||c.isOnReschedulingError||c.isOnDocumentsRoute||c.isOnMyAppointments))},dependencies:[te.NgIf,te.NgClass,te.NgFor,l.TranslatePipe],styles:['.breadcrumb-container[_ngcontent-%COMP%] .container.my-appointments-breadcrumb[_ngcontent-%COMP%]{padding:0;margin:auto;max-width:1372px;width:calc(100% - 64px)}.breadcrumb-container[_ngcontent-%COMP%] .back-to-search-btn[_ngcontent-%COMP%]{cursor:pointer;color:#339cd3;font-weight:900;display:none}.breadcrumb-container[_ngcontent-%COMP%] .back-to-search-btn[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:24px;font-weight:900}.breadcrumb-container[_ngcontent-%COMP%] .back-to-search-btn[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:14px;margin-left:4px;line-height:1.43em;text-transform:uppercase}.breadcrumb-container.profile-breadcrumb[_ngcontent-%COMP%]{background-color:#ffffffe6;position:absolute;width:100%;padding-top:16px;padding-bottom:16px;min-height:56px;z-index:1}@media screen and (max-width: 1200px){.breadcrumb-container.profile-breadcrumb[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}}@media screen and (max-width: 904px){.breadcrumb-container.profile-breadcrumb[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px}}@media screen and (max-width: 904px){.breadcrumb-container.profile-breadcrumb[_ngcontent-%COMP%] .back-to-search-btn[_ngcontent-%COMP%]{display:flex;align-items:center}}.breadcrumb-container.profile-breadcrumb[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{padding:0}.breadcrumb-container.custom-breadcrumb[_ngcontent-%COMP%]{font-family:var(--font-family-roboto);background-color:var(--white);width:calc(100% - 64px);max-width:1372px;margin:auto}.breadcrumb-container.custom-breadcrumb[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{margin:0;padding:0}.breadcrumb-container.custom-breadcrumb[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{padding-left:15px}.breadcrumb-container.custom-breadcrumb[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .breadcrumb-label[_ngcontent-%COMP%]{color:var(--blue-primary-100);letter-spacing:.25px}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{background:none;font-weight:400;line-height:1.43;padding:24px 0 0;margin-bottom:0;display:block;width:100%}@media screen and (max-width: 1200px){.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}}@media screen and (max-width: 904px){.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{display:none}}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .breadcrumb-label[_ngcontent-%COMP%]{color:#339cd3}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .breadcrumb-label[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:none}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .active-breadcrumb[_ngcontent-%COMP%]{color:#6e7f9999;cursor:context-menu}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;color:#6e7f9999;vertical-align:text-bottom}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:inline;word-break:break-all;align-items:center}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child .icon[_ngcontent-%COMP%]:before{content:""}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child .icon[_ngcontent-%COMP%]{padding-right:3px}.breadcrumb-container[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:only-child .icon[_ngcontent-%COMP%]{padding-right:0}']})}}return o}
1)(),On=(()=>{class o{constructor(i,a){this.el=i,this.sharedService=a}ngOnInit(){this.sharedService.blurActiveElement(),this.preventActions()}preventActions(){this.el.nativeElement.addEventListener("wheel",this.sharedService.stopEvents),this.el.nativeElement.addEventListener("click",this.sharedService.stopEvents),this.el.nativeElement.addEventListener("touchstart",this.sharedService.stopEvents)}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(u.SharedService))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-loader"]],decls:5,vars:3,consts:[[1,"container"],[1,"loader","d-flex","flex-column","justify-content-center"],[1,"align-self-center"],["loading","lazy","src","assets/img/Pulse.gif",1,"img-pulse"]],template:function(a,c){1&a&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2),e.\u0275\u0275element(3,"img",3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd()()()),2&a&&(e.\u0275\u0275advance(3),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(4,1,"loader_pulse_image")))},dependencies:[l.TranslatePipe],styles:[".loader[_ngcontent-%COMP%]{height:100%;width:100%;background-color:#eef0fccc;object-fit:contain;position:fixed;left:0;right:0;top:0;z-index:9999999}.loader[_ngcontent-%COMP%] .img-pulse[_ngcontent-%COMP%]{height:100px;width:100px}"]})}}return o})();var xn=t(36350);const Sn=o=>({browser:o});let bn=(()=>{class o{constructor(){this.browser={chrome:{url:"https://www.google.com/chrome/"},firefox:{url:"https://www.mozilla.org/firefox/"}}}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-ie-information"]],decls:15,vars:12,consts:[[1,"container","ie-info"],[1,"col-sm-12","col-md-8","offset-md-2","mb-5"],[1,"row","align-items-center","justify-content-center","mb-4"],["loading","lazy","src","assets/img/attention.png",1,"subtitle-image"],[1,"row","align-items-center","justify-content-center"],[1,"d-flex","justify-content-center","mb-5"],[1,"mr-2"],[1,"icon","icon-AT_information"],[3,"innerHTML"]],template:function(a,c){1&a&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2),e.\u0275\u0275element(3,"img",3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",4)(6,"h2"),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"div",5)(10,"div",6),e.\u0275\u0275element(11,"span",7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div"),e.\u0275\u0275element(13,"span",8),e.\u0275\u0275pipe(14,"translate"),e.\u0275\u0275elementEnd()()()()),2&a&&(e.\u0275\u0275advance(3),e.\u0275\u0275attribute("alt",e.\u0275\u0275pipeBind1(4,3,"success_icon")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(8,5,"ie.info.title")),e.\u0275\u0275advance(6),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind2(14,7,"ie.info.text",e.\u0275\u0275pureFunction1(10,Sn,c.browser)),e.\u0275\u0275sanitizeHtml))},dependencies:[l.TranslatePipe],styles:[".ie-info[_ngcontent-%COMP%]{margin-top:60px;padding:60px;background-color:#fff;border-radius:17px;box-shadow:0 0 4px #c1c6e980,0 2px 4px #ced3eebf;font-size:16px;line-height:26px}.ie-info[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#ba6dcd}@media screen and (max-width: 904px){.ie-info[_ngcontent-%COMP%]{padding:60px 30px}}.ie-info[_ngcontent-%COMP%] .subtitle-image[_ngcontent-%COMP%]{width:80px}"]})}}return o})(),Dn=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-service-status-banner"]],decls:3,vars:3,consts:[[1,"service-status-banner"],[1,"service-status-banner__text",3,"innerHTML"]],template:function(a,c){1&a&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275element(1,"span",1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd()),2&a&&(e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(2,1,"service_status_banner_message"),e.\u0275\u0275sanitizeHtml))},dependencies:[l.TranslatePipe],styles:[".service-status-banner[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:10px;background-color:#fbba00;width:100%;position:relative;z-index:20}.service-status-banner__text[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:.25px;color:#282828;text-align:center}"],changeDetection:0})}}return o}
1)();const In=["developmentMode"];function Tn(o,R){}let Ln=(()=>{class o{constructor(){this.hostEnvironmentService=(0,e.inject)(y.N),this.changeDetectorRef=(0,e.inject)(e.ChangeDetectorRef)}ngAfterViewInit(){this.hostEnvironmentService.runningLocalOrOnDevStage()&&this.loadDevToolsStageSelector()}loadDevToolsStageSelector(){var i=this;return(0,ot.A)(function*(){const{StagingSelectorComponent:a}=yield t.e("webpack_sharing_consume_default_cgm-life-clickdoc_shared_dev-tools_ui_cgm-life-clickdoc_share-3ddc4b").then(t.t.bind(t,97220,23));i.devModeContainer.createComponent(a),i.changeDetectorRef.markForCheck()})()}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-dev-tools"]],viewQuery:function(a,c){if(1&a&&e.\u0275\u0275viewQuery(In,5,e.ViewContainerRef),2&a){let O;e.\u0275\u0275queryRefresh(O=e.\u0275\u0275loadQuery())&&(c.devModeContainer=O.first)}},decls:2,vars:0,consts:[["developmentMode",""]],template:function(a,c){1&a&&e.\u0275\u0275template(0,Tn,0,0,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)},encapsulation:2,changeDetection:0})}}return o})();var Rn=t(60315);const An=(o,R)=>[o,R],rt=o=>({$implicit:o});function Bn(o,R){1&o&&e.\u0275\u0275elementContainer(0)}function kn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"footer"),e.\u0275\u0275template(1,Bn,1,0,"ng-container",5),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext(),a=e.\u0275\u0275reference(3),c=e.\u0275\u0275reference(5);e.\u0275\u0275advance(),e.\u0275\u0275property("cdIfLayout",e.\u0275\u0275pureFunction2(3,An,i.Breakpoint.X_SMALL,i.Breakpoint.SMALL))("cdIfLayoutThen",a)("cdIfLayoutElse",c)}}function Un(o,R){1&o&&e.\u0275\u0275elementContainer(0)}function wn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Un,1,0,"ng-container",8),e.\u0275\u0275elementContainerEnd()),2&o){const i=R.$implicit;e.\u0275\u0275nextContext(2);const a=e.\u0275\u0275reference(7);e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",a)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(2,rt,i))}}function jn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"footer",6),e.\u0275\u0275template(1,wn,2,4,"ng-container",7),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",i.footerColumns)}}function zn(o,R){1&o&&e.\u0275\u0275elementContainer(0)}function Fn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"cd-expansion-panel")(2,"cd-expansion-panel-title")(3,"h4"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"cd-expansion-panel-content"),e.\u0275\u0275template(7,zn,1,0,"ng-container",8),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&o){const i=R.$implicit;e.\u0275\u0275nextContext(2);const a=e.\u0275\u0275reference(7);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,3,i)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngTemplateOutlet",a)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(5,rt,i))}}function Nn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"cd-accordion",9),e.\u0275\u0275template(1,Fn,8,7,"ng-container",7),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",i.footerColumns)}}function $n(o,R){1&o&&e.\u0275\u0275elementContainer(0)}function Wn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",11)(2,"h4"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,$n,1,0,"ng-container",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&o){const i=R.$implicit;e.\u0275\u0275nextContext(2);const a=e.\u0275\u0275reference(7);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,3,i)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",a)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(5,rt,i))}}function Kn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"div",10),e.\u0275\u0275template(1,Wn,6,7,"ng-container",7),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",i.footerColumns)}}function Hn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"a",15),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext(3).$implicit;e.\u0275\u0275propertyInterpolate("title",e.\u0275\u0275pipeBind1(1,3,i.translate)),e.\u0275\u0275property("href",i.link,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(3,5,i.translate)," ")}}function Vn(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",16),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(5);
1return e.\u0275\u0275resetView(c.updateIsComingFromFooter())}),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()}if(2&o){const i=e.\u0275\u0275nextContext(3).$implicit,a=e.\u0275\u0275nextContext(2);e.\u0275\u0275propertyInterpolate("title",e.\u0275\u0275pipeBind1(1,4,i.translate)),e.\u0275\u0275property("routerLink",i.link)("target",a.target),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(3,6,i.translate)," ")}}function Yn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Hn,4,7,"a",13)(2,Vn,4,8,"a",14),e.\u0275\u0275elementContainerEnd()),2&o){const i=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!i.internalLink),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",i.internalLink)}}function Gn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"a",17),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275element(3,"img",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&o){const i=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("href",e.\u0275\u0275pipeBind1(2,2,i.link),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(2),e.\u0275\u0275property("src",i.imagePath,e.\u0275\u0275sanitizeUrl)}}function Jn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"li"),e.\u0275\u0275template(2,Yn,3,2,"ng-container",3)(3,Gn,4,4,"ng-container",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&o){const i=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!i.imagePath),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",i.imagePath)}}function Qn(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Jn,4,2,"ng-container",12),e.\u0275\u0275elementContainerEnd()),2&o){const i=R.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("cdFeatureToggle",i.featureFlag||!0)}}function Xn(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"ul"),e.\u0275\u0275template(1,Qn,2,1,"ng-container",7),e.\u0275\u0275elementEnd()),2&o){const i=R.$implicit,a=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",a.footerTitles[i])}}let Zn=(()=>{class o{constructor(i,a,c){this.currentFeatureLoadedService=i,this.hostEnvironmentService=a,this.commonSearchSectionsService=c,this.Breakpoint=Z.Breakpoint,this.footerColumns=[],this.seoSearchUrl=this.hostEnvironmentService.getAppConfig().defaultState.seoUrl,this.footerLayout=this.hostEnvironmentService.getAppConfig().footerLayout}ngOnInit(){this.footerColumns=Object.keys(this.footerTitles),this.getTopSpecialisations(),this.currentFeatureLoadedService.isAdhocAppointmentModuleLoaded$.subscribe(i=>{this.target=i?"_blank":"_self"})}getTopSpecialisations(){this.footerTitles.footer_title_frequently_searched_specializations.length&&(this.footerTitles.footer_title_frequently_searched_specializations.splice(0,this.footerTitles.footer_title_frequently_searched_specializations.length-1),this.addTopSpecialisations())}addTopSpecialisations(){this.specialisationsList.forEach(i=>{this.footerTitles.footer_title_frequently_searched_specializations.push({translate:i.label,link:`/${this.seoSearchUrl}/${i.label}`,internalLink:!0}
1)}),this.footerTitles.footer_title_frequently_searched_specializations.shift(),this.footerTitles.footer_title_frequently_searched_specializations.push({translate:"footer_all_specialties",link:`/${this.hostEnvironmentService.getAppConfig().topSpecialisationsPage}`,internalLink:!0})}updateIsComingFromFooter(){this.commonSearchSectionsService.updateIfUserReturnsFromProfilePage({fromSuggestionsList:!1,fromSearchResults:!1,fromFooter:!0})}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(u.CurrentFeatureLoadedService),e.\u0275\u0275directiveInject(y.N),e.\u0275\u0275directiveInject(k.CommonSearchSectionsService))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-footer"]],inputs:{isMobileBreakpoint:"isMobileBreakpoint",specialisationsList:"specialisationsList",footerTitles:"footerTitles"},decls:8,vars:2,consts:[["accordionView",""],["columnView",""],["footerLinkColumn",""],[4,"ngIf"],["class","row-footer-links","cdBreakpointClass","",4,"ngIf"],[4,"cdIfLayout","cdIfLayoutThen","cdIfLayoutElse"],["cdBreakpointClass","",1,"row-footer-links"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["multi","","hideLastSeparator",""],["cdPageMarginLayout","",1,"cdc-footer"],[1,"cdc-footer__column"],[4,"cdFeatureToggle"],["cd-text-link","","target","_blank",3,"href","title",4,"ngIf"],["cd-text-link","","rel","noopener nofollow",3,"routerLink","target","title","click",4,"ngIf"],["cd-text-link","","target","_blank",3,"href","title"],["cd-text-link","","rel","noopener nofollow",3,"click","routerLink","target","title"],["target","_blank","rel","noopener",1,"footer-link-image",3,"href"],["loading","lazy","alt","","width","128","height","38",3,"src"]],template:function(a,c){1&a&&e.\u0275\u0275template(0,kn,2,6,"footer",3)(1,jn,2,1,"footer",4)(2,Nn,2,1,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)(4,Kn,2,1,"ng-template",null,1,e.\u0275\u0275templateRefExtractor)(6,Xn,2,1,"ng-template",null,2,e.\u0275\u0275templateRefExtractor),2&a&&(e.\u0275\u0275property("ngIf","column"===c.footerLayout),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","row"===c.footerLayout))},dependencies:[te.NgIf,Z.IfLayoutDirective,Z.BreakpointClassDirective,te.NgFor,te.NgTemplateOutlet,A.AccordionModule,A.AccordionComponent,A.ExpansionPanelComponent,A.ExpansionPanelContentComponent,A.ExpansionPanelTitleComponent,Rn.PageMarginLayoutDirective,D.FeatureToggleDirective,it.TextLinkModule,it.TextLinkComponent,P.RouterLink,l.TranslatePipe],styles:['.content__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal}.section__subheader[_ngcontent-%COMP%]{margin:unset;margin:0 0 16px;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__subtitle[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.section__text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__hint-text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.comment__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.comment__text[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}
1.h1-h1--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:34px;line-height:45px;letter-spacing:.0025em}.h2-h2--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:24px;line-height:32px}.h2-h2--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:22px;line-height:28px}.h3-h3--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:22px;line-height:28px}.h3-h3--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:22px;line-height:28px}.h4-h4--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:20px;line-height:26px;letter-spacing:.0015em}.h4-h4--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:26px;letter-spacing:.0015em}.h5-h5--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px}
1.h5-h5--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:18px;line-height:24px}.h5-h5--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:18px;line-height:24px}.h5-h5--bold--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px;text-transform:uppercase}.body-body--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em;text-transform:uppercase}.small-small--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em;text-transform:uppercase}.cdc-display-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:400}
1.cdc-display-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:500}.cdc-display-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:700}.cdc-heading-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:400}.cdc-heading-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:500}.cdc-heading-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:700}.cdc-heading-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:400}.cdc-heading-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:500}.cdc-heading-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:700}.cdc-heading-03--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:400}.cdc-heading-03--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:500}.cdc-heading-03--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:700}.cdc-heading-04--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:400}.cdc-heading-04--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:500}.cdc-heading-04--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:400}
1.cdc-heading-05--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:500}.cdc-heading-05--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:400}.cdc-heading-05--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:500}.cdc-heading-05--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:700}.cdc-body-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:400}
1.cdc-body-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:500;--cdc-font-weight: 500}.cdc-body-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:700}.cdc-body-01--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:400}.cdc-body-01--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:500}.cdc-body-01--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:700}.cdc-body-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:400}.cdc-body-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:500}.cdc-body-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:700}.cdc-body-02--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:400}.cdc-body-02--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:500}.cdc-body-02--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:700}.cdc-caption-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px}
1.cdc-caption-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:500}.cdc-caption-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:700}footer[_ngcontent-%COMP%]{padding:var(--cdc-spacing-300);background-color:var(--cdc-fc600)}[_ngcontent-%COMP%]:not(.row-footer-links) ul[_ngcontent-%COMP%]{display:grid;gap:var(--cdc-spacing-100);grid-auto-rows:max-content}[_ngcontent-%COMP%]:not(.row-footer-links) ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:grid}ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:400}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:-moz-fit-content;max-width:fit-content}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.footer-link-image[_ngcontent-%COMP%]{max-width:128px}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.footer-link-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto}h4[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:500;--cdc-font-weight: 500}.cdc-footer[_ngcontent-%COMP%]{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:var(--cdc-spacing-400)}.cdc-footer__column[_ngcontent-%COMP%]{display:grid;gap:var(--cdc-spacing-200);grid-auto-rows:max-content}.row-footer-links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap}.row-footer-links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:400;display:list-item}.row-footer-links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child):after{content:" | ";color:var(--blue-primary-100);text-decoration:none;overflow:hidden;white-space:nowrap;margin-right:var(--cdc-spacing-050)}.row-footer-links.cdc-small[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .row-footer-links[_ngcontent-%COMP%] .cdc-x-small[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:400}']})}}return o})();function qn(o,R){1&o&&e.\u0275\u0275element(0,"div",7)}function ei(o,R){if(1&o&&(e.\u0275\u0275elementStart(0,"div",4),e.\u0275\u0275element(1,"div",5)(2,"div",5)(3,"div",5)(4,"div",5)(5,"div",5)(6,"div",5)(7,"div",5)(8,"div",5)(9,"div",5),e.\u0275\u0275template(10,qn,1,0,"div",6),e.\u0275\u0275elementEnd()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-M":"bar-XL skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-XL":"bar-S skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-XL":"bar-M skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-XL":"bar-M skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-XL":"bar-L skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-XL":"bar-XL skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-XL":"bar-XL skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-L":"bar-XL skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngClass",i.isMobileBreakpoint?"mobile bar-mobile-L":"bar-XL skeleton-loading"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",i.isMobileBreakpoint)}}let ti=(()=>{class o{constructor(){this.columns=[]}ngOnChanges(){this.columns=new Array(this.isMobileBreakpoint?1:4)}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-footer-skeleton"]],inputs:{isMobileBreakpoint:"isMobileBreakpoint"},features:[e.\u0275\u0275NgOnChangesFeature],decls:4,vars:1,consts:[[1,"skeleton-detail
1s-section-container"],[1,"skeleton-links"],[1,"content"],["class","column",4,"ngFor","ngForOf"],[1,"column"],[1,"skeleton-animation",3,"ngClass"],["class","skeleton-animation mobile bar-mobile-L",4,"ngIf"],[1,"skeleton-animation","mobile","bar-mobile-L"]],template:function(a,c){1&a&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2),e.\u0275\u0275template(3,ei,11,10,"div",3),e.\u0275\u0275elementEnd()()()),2&a&&(e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",c.columns))},dependencies:[te.NgFor,te.NgClass,te.NgIf],styles:[".skeleton-animation[_ngcontent-%COMP%]{animation:loading 1.6s infinite linear;background-image:linear-gradient(90deg,#fff0,#fff9,#fff0);background-repeat:no-repeat;border-radius:4px}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%]{background-color:var(--grays-gray-3-o);display:flex;align-items:center;justify-content:center}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:100%;max-width:1372px;display:flex;align-items:center;justify-content:space-between}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{width:100%;margin-right:32px}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{width:100%}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar-Xl[_ngcontent-%COMP%]{max-width:320px}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar-S[_ngcontent-%COMP%]{max-width:150px}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar-M[_ngcontent-%COMP%]{max-width:200px}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar-L[_ngcontent-%COMP%]{max-width:270px}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .skeleton-loading[_ngcontent-%COMP%]{background-color:var(--gray-medium);height:24px;margin-bottom:8px}.skeleton-details-section-container[_ngcontent-%COMP%] .skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]:last-child{margin-right:0}@media (min-width: 904px){.skeleton-links[_ngcontent-%COMP%]{padding:0 32px}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:32px 0 52px}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{max-width:320px}}@media (max-width: 904px){.skeleton-links[_ngcontent-%COMP%]{padding:0 24px}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:28px 0 44px}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{max-width:100%}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .mobile[_ngcontent-%COMP%]{background-color:var(--gray-medium);margin-bottom:8px}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar-mobile-XL[_ngcontent-%COMP%]{width:100%;height:20px}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar-mobile-L[_ngcontent-%COMP%]{height:24px;margin:32px 87px 0 0}.skeleton-links[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .bar-mobile-M[_ngcontent-%COMP%]{height:24px;margin:0 167px 16px 0}}"]})}}return o})();var ni=t(68361),ii=t(41744);function oi(o,R){if(1&o&&(e.\u0275\u0275element(0,"app-footer",3),e.\u0275\u0275pipe(1,"async")),2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("footerTitles",i.footerTitles)("isMobileBreakpoint",e.\u0275\u0275pipeBind1(1,3,i.isMobileBreakpoint$))("specialisationsList",i.specialisationsList)}}function ri(o,R){if(1&o&&(e.\u0275\u0275element(0,"app-footer-skeleton",4),e.\u0275\u0275pipe(1,"async")),2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("isMobileBreakpoint",e.\u0275\u0275pipeBind1(1,1,i.isMobileBreakpoint$))}}function ai(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,oi,2,5,"app-footer",1),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275template(3,ri,2,3,"app-footer-skeleton",2),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275elementContainerEnd()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(2,2,i.footerDataLoaded$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===e.\u0275\u0275pipeBind1(4,4,i.footerDataLoaded$)||null===e.\u0275\u0275pipeBind1(5,6,i.footerDataLoaded$))}}let si=(()=>{class o{constructor(i,a,c,O,z){this.topSuggestions=i,this.footerResourcesService=a,this.store=c,this.breakpointsService=O,this.hostEnvironmentService=z,this.isNotFunnel$=this.store.pipe((0,v.select)(je.selectIsFunnelMode),(0,r.map)(se=>!se)),this.shouldShowFooter$=this.store.select(je.selectShouldShowFooter),this.specialisationsList=[],this.footerTitles={...this.hostEnvironmentService.getAppConfig().footerTitles,footer_title_frequently_searches:[]},this.unsubscribe$=new g.Subject}ngOnInit(){this.country=this.hostEnvironmentService.getEnvironment().configuration,this.footerDataLoaded$=this.hostEnvironmentService.getAppConfig().search?.urlSegment.base?this.retrieveFooterTopSearches$():(0,g.of)(!0),this.isMobileBreakpoint$=this.breakpointsService.isSmallView$()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}retrieveFooterTopSearches$(){const i={requestType:"CITY_SPECIALISATION",country:this.country,physicianThreshold:5,results:8};return(0,g.forkJoin)([this.getTopSpecializations(),this.getTopSearches(i)]).pipe((0,r.takeUntil)(this.unsubscribe$),(0,r.map)(()=>!0))}getTopSpecializations(){return this.topSuggestions.getTopSpecialization({requestType:"SPECIALISATION",country:this.country,physicianThreshold:20,results:8}).pipe((0,r.tap)(i=>{i?.suggestions?.length?this.specialisationsList=i.suggestions:this.deleteColumn("topSpecializations")}),(0,r.catchError)(()=>(this.deleteColumn("topSpecializations"),(0,g.of)({}))))}getTopSearches(i){return this.footerResourcesService.retrieveTopSearches$(i).pipe((0,r.tap)(a=>{a?this.footerTitles.footer_title_frequently_searches=a.concat({translate:"footer_about_all_searches_text",link:`/${this.hostEnvironmentService.getAppConfig().topSearchesPage}`,internalLink:!0}
1):this.deleteColumn("topSearches")}),(0,r.catchError)(()=>(this.deleteColumn("topSearches"),(0,g.of)([]))))}deleteColumn(i){"topSpecializations"===i&&(delete this.footerTitles.footer_title_frequently_searched_specializations,delete this.footerTitles.footer_title_frequently_searched_specializations),"topSearches"===i&&(delete this.footerTitles.footer_title_frequently_searches,delete this.footerTitles.footer_title_frequently_searches)}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(ni._),e.\u0275\u0275directiveInject(ii.y),e.\u0275\u0275directiveInject(v.Store),e.\u0275\u0275directiveInject(u.BreakpointsService),e.\u0275\u0275directiveInject(y.N))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-footer-wrapper"]],decls:4,vars:5,consts:[[4,"ngIf"],[3,"footerTitles","isMobileBreakpoint","specialisationsList",4,"ngIf"],[3,"isMobileBreakpoint",4,"ngIf"],[3,"footerTitles","isMobileBreakpoint","specialisationsList"],[3,"isMobileBreakpoint"]],template:function(a,c){1&a&&(e.\u0275\u0275template(0,ai,6,8,"ng-container",0),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275element(3,"app-footer-legal-links")),2&a&&e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(1,1,c.isNotFunnel$)&&e.\u0275\u0275pipeBind1(2,3,c.shouldShowFooter$))},dependencies:[te.NgIf,Zn,ti,Je,te.AsyncPipe],styles:[".server-presets[_ngcontent-%COMP%]{margin-top:25px}.server-presets[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%], .server-presets[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]{text-transform:lowercase}"],changeDetection:0})}}return o})();var ci=t(72306),li=t(32314),di=t(1255),pi=t(15438);let mi=(()=>{class o{constructor(i){this.sdkService=i,this.serviceDown$=new g.BehaviorSubject(!1)}isServiceDown$(){return this.serviceDown$.asObservable()}checkServiceStatus(){this.sdkService.getReleaseVersion().pipe((0,g.map)(()=>(this.serviceDown$.next(!1),!1)),(0,g.catchError)(()=>(this.serviceDown$.next(!0),(0,g.of)(!0)))).subscribe()}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275inject(Pe.SdkService))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();const gi=(o,R,i)=>({"neutrals-light":o,"gradient-blue":R,"light-blue":i}),ui=(o,R,i,a,c)=>({"bg-landing-page":o,"application-wrapper":R,"no-footer-wrapper":i,"full-height-wrapper":a,"full-min-height":c});function fi(o,R){1&o&&e.\u0275\u0275element(0,"app-service-status-banner")}function hi(o,R){if(1&o&&(e.\u0275\u0275element(0,"app-top-navigation",9),e.\u0275\u0275pipe(1,"async")),2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("isMenuVisible",e.\u0275\u0275pipeBind1(1,1,i.isTopBarMenuVisible))}}function _i(o,R){1&o&&e.\u0275\u0275element(0,"app-incomplete-appointment-banner")}function vi(o,R){1&o&&e.\u0275\u0275element(0,"app-breadcrumb-navigation")}function Ci(o,R){1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"app-loader"),e.\u0275\u0275elementContainerEnd())}function Pi(o,R){1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"app-footer-wrapper"),e.\u0275\u0275elementContainerEnd())}function yi(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"cd-recaptcha",11),e.\u0275\u0275elementContainerEnd()),2&o){const i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("locale",i.environment.appConfig.locale)("recaptchaSiteKey",i.environment.appConfig.recaptchaSiteKey)}}function Mi(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"cd-captcha-turnstile-cloudflare",12),e.\u0275\u0275elementContainerEnd()),2&o){const i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("language",i.language)("captchaTurnstileCloudflareSiteKey",i.environment.appConfig.captchaTurnstileCloudflareSiteKey)}}function Ei(o,R){1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,yi,2,2,"ng-container",10)(2,Mi,2,2,"ng-container",10),e.\u0275\u0275elementContainerEnd()),2&o&&(e.\u0275\u0275advance(),e.\u0275\u0275property("cdFeatureToggle","recaptcha"),e.\u0275\u0275advance(),e.\u0275\u0275property("cdFeatureToggle","recaptcha-cloudflare"))}function Oi(o,R){1&o&&(e.\u0275\u0275element(0,"div",14),e.\u0275\u0275pipe(1,"translate")),2&o&&e.\u0275\u0275propertyInterpolate("innerHtml",e.\u0275\u0275pipeBind1(1,1,"recaptcha_terms_info"),e.\u0275\u0275sanitizeHtml)}function xi(o,R){1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Oi,2,3,"div",13),e.\u0275\u0275elementContainerEnd()),2&o&&(e.\u0275\u0275advance(),e.\u0275\u0275property("cdFeatureToggle","recaptcha"))}function Si(o,R){1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"app-bottom-navigation"),e.\u0275\u0275elementContainerEnd()),2&o&&(e.\u0275\u0275advance(),e.\u0275\u0275property("@SlideOutAnimation",void 0))}function bi(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"button",24),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(c.acceptAllContracts())}),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(c.closeModal())}),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&o){const i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("disabled",i.agreeTerms.invalid),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(3,3,"checking_module_accept_all")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(6,5,"enrollment.decline.title")," ")}}function Di(o,R){if(1&o){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"cd-modal-wrapper",15),e.\u0275\u0275listener("modalIsClosing",function(){e.\u0275\u0275restoreView(i);const c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.closeModal())}),e.\u0275\u0275elementContainerStart(1,16),e.\u0275\u0275elementStart(2,"h4",17),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementContainerStart(5,18),e.\u0275\u0275elementStart(6,"div",19),e.\u0275\u0275element(7,"input",20)(8,"label",21)(9,"span",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementContainerStart(10,23),e.\u0275\u0275template(11,bi,7,7,"ng-container",2),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementEnd()}if(2&o){const i=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("initialModalState",i.modalOptions)("modalSource",i.modalSource),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,6,i.userContractsEnrollmentState.title)),e.\u0275\u0275advance(4),e.\u0275\u0275property("formControl",i.agreeTerms),e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHtml",i.userContractsEnrollmentState.description,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",i.agreeTerms)}}function Ii(o,R){if(1&o&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",3),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275element(3,"app-single-sign-on-back-link"),e.\u0275\u0275elementStart(4,"div",4),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275pipe(6,"async"),e.\u0275\u0275pipe(7,"async"),e.\u0275\u0275template(8,fi,1,0,"app-service-status-banner",2),e.\u0275\u0275pipe(9,"async"),e.\u0275\u0275elementStart(10,"div",5),e.\u0275\u0275pipe(11,"async"),e.\u0275\u0275pipe(12,"async"),e.\u0275\u0275pipe(13,"async"),e.\u0275\u0275pipe(14,"async"),e.\u0275\u0275pipe(15,"async"),e.\u0275\u0275pipe(16,"async"),e.\u0275\u0275pipe(17,"async"),e.\u0275\u0275elementStart(18,"cd-layout-header"),e.\u0275\u0275template(19,hi,2,3,"app-top-navigation",6),e.\u0275\u0275pipe(20,"async"),e.\u0275\u0275pipe(21,"async"),e.\u0275\u0275pipe(22,"async"),e.\u0275\u0275pipe(23,"async"),e.\u0275\u0275pipe(24,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(25,_i,1,0,"app-incomplete-appointment-banner",2),e.\u0275\u0275pipe(26,"async"),e.\u0275\u0275template(27,vi,1,0,"app-breadcrumb-navigation",2),e.\u0275\u0275pipe(28,"async"),e.\u0275\u0275element(29,"router-outlet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(30,Ci,2,0,"ng-container",2),e.\u0275\u0275pipe(31,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(32,Pi,2,0,"ng-container",2),e.\u0275\u0275pipe(33,"async"),e.\u0275\u0275pipe(34,"async"),e.\u0275\u0275pipe(35,"async"),e.\u0275\u0275pipe(36,"async"),e.\u0275\u0275template(37,Ei,3,2,"ng-container",2),e.\u0275\u0275pipe(38,"async"),e.\u0275\u0275template(39,xi,2,1,"ng-container",2),e.\u0275\u0275pipe(40,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(41,Si,2,1,"ng-container",2),e.\u0275\u0275pipe(42,"async"),e.\u0275\u0275template(43,Di,12,8,"cd-modal-wrapper",7),e.\u0275\u0275element(44,"div",8),e.\u0275\u0275elementContainerEnd()),2&o){const i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275classProp("bottom-nav-padding",e.\u0275\u0275pipeBind1(2,14,i.showBottomNavigation$)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction3(68,gi,e.\u0275\u0275pipeBind1(5,16,i.applicationBackgroun
1d$)===i.Background.NeutralsLight,e.\u0275\u0275pipeBind1(6,18,i.applicationBackground$)===i.Background.GradientBlue,e.\u0275\u0275pipeBind1(7,20,i.applicationBackground$)===i.Background.LightBlue)),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(9,22,i.isLifeServiceDown$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction5(72,ui,e.\u0275\u0275pipeBind1(11,24,i.isLandingPageDisplayed),!1===e.\u0275\u0275pipeBind1(12,26,i.isRouteLoading)&&!1===e.\u0275\u0275pipeBind1(13,28,i.proUserContext),e.\u0275\u0275pipeBind1(14,30,i.proUserContext),e.\u0275\u0275pipeBind1(15,32,i.isRouteLoading)||e.\u0275\u0275pipeBind1(16,34,i.isOnMobileQuestionnaireRoute),e.\u0275\u0275pipeBind1(17,36,i.contentMinHeight$)===i.ContentHeight.FullHeight)),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(20,38,i.isWebView$)&&!1===e.\u0275\u0275pipeBind1(21,40,i.hideHeaderForERezeptPaths)&&!1===e.\u0275\u0275pipeBind1(22,42,i.isOnDataProtectionRoute)&&!1===e.\u0275\u0275pipeBind1(23,44,i.isOnEServicesLadingPageRoute)||e.\u0275\u0275pipeBind1(24,46,i.proUserContext)),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(26,48,i.showAppointmentBanner$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===e.\u0275\u0275pipeBind1(28,50,i.proUserContext)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(31,52,i.isLoading)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===e.\u0275\u0275pipeBind1(33,54,i.isFooterHiddenOnSearchMobileView)&&!1===e.\u0275\u0275pipeBind1(34,56,i.isOnMobileQuestionnaireRoute)&&!1===e.\u0275\u0275pipeBind1(35,58,i.proUserContext)&&!1===e.\u0275\u0275pipeBind1(36,60,i.isOnEServicesLadingPageRoute)),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!1===e.\u0275\u0275pipeBind1(38,62,i.isOnMobileQuestionnaireRoute)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(40,64,i.proUserContext)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(42,66,i.showBottomNavigation$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null==i.userContractsEnrollmentState?null:i.userContractsEnrollmentState.title)}}function Ti(o,R){1&o&&e.\u0275\u0275element(0,"app-ie-information")}function Li(o,R){1&o&&e.\u0275\u0275element(0,"app-dev-tools")}const Ri=["^/data-protection.*","^/appointmentbooking/.+","^/my-appointments/overview/.+","^/documents/overview/.+","^/my-profile/details/*$","^/magazin.*","^/campaign.*","^/hilfe.*","^/aide.*","^/imprint/*$","^/my-profile/*$","^/adHoc-appointment.*","^/institution/eServices-landing-page/.+"];let Ai=(()=>{class o{constructor(i,a,c,O,z,se,J,ce,de,ue,me,Be,Ue,Ne,Bi,ki,Ui,wi,ji,zi,Fi,Ni,$i,Wi,Ki,Hi,Vi,Yi,Gi,Ji,Qi){this.assistantConfigurationStateService=i,this.consentGdprService=a,this.cookiesService=c,this.coreDispatcher=O,this.currentFeatureLoadedService=z,this.featureToggleDispatcher=se,this.deviceDetectorService=J,this.domService=ce,this.hostEnvironmentService=de,this.iframeService=ue,this.loaderService=me,this.loginService=Be,this.metaService=Ue,this.modalService=Ne,this.preventBrowserPopupService=Bi,this.route=ki,this.router=Ui,this.routingState=wi,this.searchMobileMatomoService=ji,this.sharedService=zi,this.store=Fi,this.userProfileService=Ni,this.authStateService=$i,this.enrollmentService=Wi,this.reloginService=Ki,this.shellService=Hi,this.breakpointsService=Vi,this.multiLocationStateStateService=Yi,this.dialogService=Gi,this.translateService=Ji,this.lifeServiceStatusService=Qi,this.agreeTerms=null,this.applicationBackground$=this.store.select(je.selectApplicationBackground),this.Background=je.Background,this.ContentHeight=je.ContentHeight,this.contentMinHeight$=this.store.select(je.selectContentMinHeight),this.hideHeaderForERezeptPaths=new g.BehaviorSubject(!1),this.isIE11=new g.BehaviorSubject(!1),this.isFooterHiddenOnSearchMobileView=new g.BehaviorSubject(!1),this.isLandingPageDisplayed=new g.BehaviorSubject(!1),this.isRouteLoading=new g.BehaviorSubject(!1),this.proUserContext=new g.ReplaySubject(1),this.isOnMobileQuestionnaireRoute=new g.ReplaySubject(1),this.isTopBarMenuVisible=new g.BehaviorSubject(!1),this.isOnDataProtectionRoute=new g.BehaviorSubject(!1),this.isOnEServicesLadingPageRoute=new g.BehaviorSubject(!1),this.isLoading=new g.BehaviorSubject(!1),this.modalOptions={},this.userContractsEnrollmentState={},this.unsubscribe$=new g.Subject,this.routingHistoryChange=u.RoutingHistoryChange.Push,this.environment=this.hostEnvironmentService.getEnvironment(),this.country=this.environment.configuration,this.language="at"===this.country?"de":this.country;const ut=this.deviceDetectorService.getDeviceInfo();this.isIE11.next("IE"===ut.browser&&"11.0"===ut.browser_version),this.navigationEnd$=(0,g.combineLatest)([this.router.events.pipe((0,r.filter)(at=>at instanceof P.NavigationEnd),(0,r.map)(at=>at.urlAfterRedirects)),this.route.queryParamMap])}ngOnInit(){this.initializeEnvironment(),this.initializeUserProfile(),this.initializeCookiesConsent(),this.initializeFeatureToggles(),this.subscribeToUserContractsEnrollmentState(),this.subscribeToFooterVisibility(),this.subscribeToRouterEvents(),this.checkAppointmentSummaryInformation(),this.scrollToTop(),this.subscribeToLoaderAndReloginStatus(),this.subscribeToIframeUrl(),this.subscribeToLoggedUsers(),this.oneTimeLogin(),this.updateMetaTagsBasedOnCountry(),this.initializeWebViewAndBottomN
1avigation(),this.initializeAppointmentBanner(),this.initializeServiceStatusCheck(),this.openConsentGdprDialog()}openConsentGdprDialog(){(0,g.combineLatest)([this.proUserContext,this.isOnMobileQuestionnaireRoute]).subscribe(([i,a])=>{const c=this.consentGdprService.showPopup();i||a||c&&this.dialogService.open(ze.ConsentGdprContainerComponent,{clickOutside:!1,contentStyle:{padding:"0"},modality:!0,closable:!1,baseZIndex:9005})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}closeModal(){this.userContractsEnrollmentState=null,this.loaderService.displayLoader(),this.enrollmentService.redirectUserWhenEnrollmentProcessIsCanceled()}acceptAllContracts(){this.agreeTerms.markAsTouched(),!this.agreeTerms.invalid&&(this.modalOptions.isModalDisplayedBehindLoader=!0,this.modalOptions=Object.assign({},this.modalOptions),this.enrollmentService.proceedWithEnrollmentProcess$().pipe((0,r.takeUntil)(this.unsubscribe$)).subscribe(()=>{this.userContractsEnrollmentState=null}))}initializeEnvironment(){this.environment=this.hostEnvironmentService.getEnvironment(),this.country=this.environment.configuration,this.language="at"===this.country?"de":this.country,this.translateService.setDefaultLanguage$(this.hostEnvironmentService.getStageConfig().i18nBaseHref,this.language).subscribe()}initializeUserProfile(){this.userProfileService.initializeUserType(this.country),this.userProfileService.getUserTypeState$().pipe((0,r.takeUntil)(this.unsubscribe$),(0,r.tap)(i=>{this.proUserContext.next(i===X.UserTypeEnum.SAS)})).subscribe()}initializeCookiesConsent(){const i=this.cookiesService.isConsent();this.consentGdprService.updateIsCookieConsentGiven$(i),this.coreDispatcher.initialLogin()}initializeFeatureToggles(){this.featureToggleDispatcher.loadFeatureToggle()}subscribeToUserContractsEnrollmentState(){this.authStateService.userContractsEnrollmentState$.getState$().pipe((0,r.takeUntil)(this.unsubscribe$),(0,r.filter)(i=>null!==i)).subscribe(i=>{this.agreeTerms=new we.UntypedFormControl(null,we.Validators.requiredTrue),this.modalOptions.headerCloseButtonAvailable=!0,this.userContractsEnrollmentState=i,this.modalSource=i.isUserEnrolled?"update contract":"enrollment"})}subscribeToFooterVisibility(){this.sharedService.isFooterHidden$.getState$().subscribe(i=>{this.isFooterHiddenOnSearchMobileView.next(i)})}subscribeToRouterEvents(){this.router.events.pipe((0,r.takeUntil)(this.unsubscribe$),(0,r.tap)(i=>this.handleRouterEvent(i)),(0,r.filter)(i=>i instanceof P.NavigationEnd||i instanceof P.NavigationStart),(0,r.tap)(i=>this.handleRouterStateChange(i)),(0,r.filter)(i=>i instanceof P.NavigationEnd)).subscribe(i=>this.handleNavigationEnd(i))}handleRouterEvent(i){"popstate"===i.navigationTrigger&&(this.modalService.closeModal(),this.iframeService.setIframeUrl(null),this.loaderService.hideLoader()),(i instanceof P.NavigationError||i instanceof P.NavigationCancel)&&this.isRouteLoading.next(!1),i?.url?.includes("context")&&this.sharedService.bannerSubject$.updateState(!1)}handleRouterStateChange(i){i instanceof P.NavigationStart&&(this.routingHistoryChange=this.getRoutingHistoryChange(i),this.isRouteLoading.next(!0),this.isOnMobileQuestionnaireRoute.next(i.url.includes("/mobile")),this.hideHeaderForERezeptPaths.next(i.url.startsWith(Ht.Gj)||i.url.startsWith(Wt.ADHOC_FR_BASE)),this.isOnDataProtectionRoute.next(i.url.includes("/data-protection")),this.isOnEServicesLadingPageRoute.next(i.url.includes("/eServices-landing-page"))),i instanceof P.NavigationEnd&&(this.hideIncompleteBannerByUrl(i.url),this.isLandingPageDisplayed.next(("/"===i.url||i.url==="/"+this.environment.appConfig.landing_page)&&"de"===this.country),this.currentFeatureLoadedService.previousRoute=i.url)}handleNavigationEnd(i){this.isTopBarMenuVisible.next(!(i.url.includes("adHoc-appointment")||i.url.includes("#adHocToken=")||i.url.includes("documents/adhoc"))),this.userProfileService.getUserTypeStateValue()===X.UserTypeEnum.SAS&&this.isTopBarMenuVisible.next(!1),this.assistantConfigurationStateService.shouldResetAssistantConfiguration(i.url,this.environment.appConfig.institution.urlSegment.base,this.environment.appConfig.doctor.urlSegment.base)&&(this.multiLocationStateStateService.locationFragment$.updateState(""),this.assistantConfigurationStateService.selectedDepartmentId$.updateState("")),this.isRouteLoading.next(!1),this.consentGdprService.isOnAdHocAppointmentPage=!this.isTopBarMenuVisible.value,this.routingState.updateRoutingHistoryState(i.urlAfterRedirects,this.routingHistoryChange)}getRoutingHistoryChange(i){return"popstate"===i.navigationTrigger?u.RoutingHistoryChange.Pop:this.router.getCurrentNavigation()?.extras?.replaceUrl?u.RoutingHistoryChange.Replace:u.RoutingHistoryChange.Push}checkAppointmentSummaryInformation(){localStorage.getItem(`appointmentSummaryInformation-${this.country}`)&&this.userProfileService.getUserTypeStateValue()===X.UserTypeEnum.PATIENT&&this.sharedService.bannerSubject$.updateState(!0)}subscribeToLoaderAndReloginStatus(){this.loaderService.status.pipe((0,r.switchMap)(i=>this.authStateService.reloginInProgressStatus$.getState$().pipe((0,r.map)(a=>({loaderStatus:i,reloginStatus:a}))))).subscribe(i=>
1{setTimeout(()=>{i.loaderStatus?this.isLoading.next(!0):this.hideLoaderWhenReloginIsNotInProgress(i)})})}subscribeToIframeUrl(){this.iframeService.getIframeUrl$().subscribe(i=>{i?this.domService.appendComponent(pt.IframeDialogComponent):this.domService.removeComponent()})}subscribeToLoggedUsers(){this.filterNotLoggedUsers().subscribe(i=>{i&&this.userProfileService.getProfile$({withAvatar:!0}).pipe((0,r.takeUntil)(this.unsubscribe$),(0,r.map)(a=>(this.userProfileService.updateUserProfile(a),a))).subscribe({next:()=>this.loaderService.hideLoader(),error:()=>this.loaderService.hideLoader()})})}updateMetaTagsBasedOnCountry(){"de"===this.country?(this.metaService.updateTag({name:"apple-itunes-app",content:"app-id=1427585221"}),this.metaService.updateTag({name:"goole-play-app",content:"app-id=com.clickdoc.de"})):(this.metaService.removeTag('name="apple-itunes-app"'),this.metaService.removeTag('name="goole-play-app"'))}initializeWebViewAndBottomNavigation(){this.isWebView$=this.breakpointsService.isSmallView$().pipe((0,r.map)(i=>!i)),this.showBottomNavigation$=this.displayBottomNavigationForUrl()}initializeServiceStatusCheck(){this.isLifeServiceDown$=this.lifeServiceStatusService.isServiceDown$(),this.lifeServiceStatusService.checkServiceStatus()}initializeAppointmentBanner(){this.userProfileService.getUserTypeStateValue()===X.UserTypeEnum.PATIENT&&(this.showAppointmentBanner$=this.sharedService.bannerSubject$.getState$())}hideLoaderWhenReloginIsNotInProgress(i){!i.loaderStatus&&!i.reloginStatus&&this.isLoading.next(!1)}filterNotLoggedUsers(){return new g.Observable(i=>{if(this.shellService.isLogged())return i.next(!0)})}scrollToTop(){this.router.events.pipe((0,r.takeUntil)(this.unsubscribe$)).subscribe(i=>{i instanceof P.NavigationEnd&&window.scrollTo(0,0)})}oneTimeLogin(){this.loginService.isLoggedOutDone$().subscribe(()=>this.authStateService.singleSignOnData$.updateState(null)),this.reloginService.isOneTimeLoginUrl()?this.loaderService.displayLoader():this.userContractsEnrollmentState=null}displayBottomNavigationForUrl(){const i="/profile/"+encodeURI(this.environment.appConfig.institution.urlSegment.base),a="/profile/"+encodeURI(this.environment.appConfig.doctor.urlSegment.base),c="/"+encodeURI(this.environment.appConfig.doctor.urlSegment.base),O="/"+encodeURI(this.environment.appConfig.institution.urlSegment.base),z="/"+encodeURI(this.environment.appConfig.appointmentbooking.urlSegment.base);return(0,g.combineLatest)([this.breakpointsService.isSmallView$(),this.navigationEnd$,this.searchMobileMatomoService.getViewModeState$(),this.store.select(je.selectShowBottomNavigation)]).pipe((0,r.switchMap)(([se,[J,ce],de,ue])=>{if(!se)return(0,g.of)(!1);const me=J.startsWith("/search")&&0!==ce.keys.length,Be=J.startsWith("/termin")||J.startsWith("/annuaire");return J.startsWith("/search")&&0===ce.keys.length||J.startsWith("/search")&&"Map mode"===de||Be&&"Map mode"===de||J.startsWith("/my-profile/details")||J.startsWith("/adHoc-appointment")||J.startsWith("/documents/adhoc")||J.startsWith("/mobile")||J.includes("/documents/overview/")||J.includes("/consent-management")||J.includes("/my-appointments/overview/")||J.includes("/waiting-list")||J.includes("/eServices-landing-page")||J.includes("/eOrdonnance/adhoc")||J.includes("/eOrdonnance/detail")||/(?=.*?my-appointments)(?=.*?edit)/.test(J)||J.startsWith("/booking")||J.startsWith(i)||J.startsWith(a)||J.startsWith(c)||J.startsWith(O)||J.startsWith(z)||/\/erezept\/(?!(bestellungen|uebersicht)).*/.test(J)||/\/erezept\/bestellungen\/.*/.test(J)||/\/erezept\/uebersicht\/.*/.test(J)?(0,g.of)(!1):me||Be?this.sharedService.isBottomNavigationHidden$.getState$().pipe((0,r.map)(Ne=>!Ne)):(0,g.of)(ue)}))}unloadHandler(i){this.preventBrowserPopupService.getPreventPopupShow().pipe((0,r.takeUntil)(this.unsubscribe$)).subscribe(a=>{a||this.shellService.isLogged()&&(i.preventDefault(),i.returnValue="")})}hideIncompleteBannerByUrl(i){i&&(Ri.some(c=>!!RegExp(c,"gi").exec(i))?this.sharedService.bannerSubject$.updateState(!1):this.sharedService.resetAppointmentBanner(this.country))}static{this.\u0275fac=function(a){return new(a||o)(e.\u0275\u0275directiveInject(Me.AssistantConfigurationStateService),e.\u0275\u0275directiveInject(ze.ConsentGdprService),e.\u0275\u0275directiveInject(u.CookiesService),e.\u0275\u0275directiveInject(Fe.CoreDispatcher),e.\u0275\u0275directiveInject(u.CurrentFeatureLoadedService),e.\u0275\u0275directiveInject(D.FeatureToggleDispatcher),e.\u0275\u0275directiveInject(ct.DeviceDetectorService),e.\u0275\u0275directiveInject(d.DomSeoService),e.\u0275\u0275directiveInject(y.N),e.\u0275\u0275directiveInject(pt.IframeService),e.\u0275\u0275directiveInject(u.LoaderService),e.\u0275\u0275directiveInject(st.H),e.\u0275\u0275directiveInject(m.Meta),e.\u0275\u0275directiveInject(ci.ModalsService),e.\u0275\u0275directiveInject(h.H),e.\u0275\u0275directiveInject(P.ActivatedRoute),e.\u0275\u0275directiveInject(P.Router),e.\u0275\u0275directiveInject(u.RoutingHistoryStateService),e.\u0275\u0275directiveInject(mt.SearchMobileMatomoService),e.\u0275\u0275directiveInject(u.SharedService),e.\u0275\u0275directiveInject(v.Store),e.\u0275\u0275directiveInject(X.UserProfileService),e.\u0275\u0275directiveInject(ge.AuthStateService),e.\u0275\u0275directiveInject(li.o),e.\u0275\u0275directiveInject(di.e),e.\u0275\u0275directiveInject(gt.ShellService),e.\u0275\u0275directiveInject(u.Breakp
1ointsService),e.\u0275\u0275directiveInject(Me.MultiLocationStateService),e.\u0275\u0275directiveInject(w.ClickdocDialogService),e.\u0275\u0275directiveInject(pi.TranslateService),e.\u0275\u0275directiveInject(mi))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-root"]],hostBindings:function(a,c){1&a&&e.\u0275\u0275listener("beforeunload",function(z){return c.unloadHandler(z)},!1,e.\u0275\u0275resolveWindow)},decls:6,vars:7,consts:[["IEInfo",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["cdBreakpointClass","",1,"app-container"],[1,"app-content",3,"ngClass"],[3,"ngClass"],[3,"isMenuVisible",4,"ngIf"],[3,"initialModalState","modalSource","modalIsClosing",4,"ngIf"],[1,"fullscreen-container"],[3,"isMenuVisible"],[4,"cdFeatureToggle"],[3,"locale","recaptchaSiteKey"],[3,"language","captchaTurnstileCloudflareSiteKey"],["class","recaptcha-info",3,"innerHtml",4,"cdFeatureToggle"],[1,"recaptcha-info",3,"innerHtml"],[3,"modalIsClosing","initialModalState","modalSource"],["modal-header",""],[1,"modal-title"],["modal-body",""],[1,"custom-control","custom-checkbox","modal-message"],["name","terms","type","checkbox","id","terms",1,"custom-control-input",3,"formControl"],["for","terms",1,"custom-control-label","d-flex"],[3,"innerHtml"],["modal-footer-actions",""],["type","button",1,"btn","btn-primary","no-shadow",3,"click","disabled"],["type","button",1,"btn","btn-inactive","no-shadow","less-visible",3,"click"]],template:function(a,c){if(1&a&&(e.\u0275\u0275template(0,Ii,45,78,"ng-container",1),e.\u0275\u0275pipe(1,"async"),e.\u0275\u0275template(2,Ti,1,0,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)(4,Li,1,0,"app-dev-tools",2),e.\u0275\u0275pipe(5,"async")),2&a){const O=e.\u0275\u0275reference(3);e.\u0275\u0275property("ngIf",!1===e.\u0275\u0275pipeBind1(1,3,c.isIE11))("ngIfElse",O),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",!1===e.\u0275\u0275pipeBind1(5,5,c.isOnEServicesLadingPageRoute))}},dependencies:[te.NgIf,te.NgClass,te.AsyncPipe,P.RouterOutlet,we.ReactiveFormsModule,we.CheckboxControlValueAccessor,we.NgControlStatus,we.FormControlDirective,l.TranslatePipe,Z.BreakpointClassDirective,dt.LayoutHeaderComponent,D.FeatureToggleDirective,Kt.ModalWrapperComponent,Vt.RecaptchaComponent,Yt.CaptchaTurnstileCloudflareComponent,Gt.b,dn,un,En,On,xn.N,bn,Dn,Ln,si],styles:[".custom-control[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]:before{top:2px;width:16px;height:16px;box-shadow:none}.custom-control[_ngcontent-%COMP%] .custom-control-label[_ngcontent-%COMP%]:after{top:2px;width:16px;height:16px}.flex-equal[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1}@media (min-width: 768px){.flex-md-equal[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1}}.overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}.application-wrapper[_ngcontent-%COMP%]{min-height:calc(100vh - 270px)}.full-min-height[_ngcontent-%COMP%]{min-height:100vh;display:grid;grid-template-rows:auto auto auto 1fr}.no-footer-wrapper[_ngcontent-%COMP%]{min-height:calc(100vh - 52px)}.full-height-wrapper[_ngcontent-%COMP%]{min-height:100vh;margin-bottom:var(--cdc-full-height-wrapper-margin-bottom, unset)}.bg-landing-page[_ngcontent-%COMP%]{background-color:#fff}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.less-visible[_ngcontent-%COMP%]{border:none;font-weight:400;text-transform:none}.app-content[_ngcontent-%COMP%]{position:relative}@media screen and (max-width: 904px){.bottom-nav-padding[_ngcontent-%COMP%]{padding-bottom:4rem}}.neutrals-light[_ngcontent-%COMP%]{background:var(--neutrals-light)}.gradient-blue[_ngcontent-%COMP%]{background:var(--gradient-blue--solid)}.light-blue[_ngcontent-%COMP%]{background:var(--cdc-pc105)}#dAopener.dAopener[_ngcontent-%COMP%]{z-index:4!important}"],data:{animation:[(0,Ae.trigger)("SlideOutAnimation",[(0,Ae.transition)("* => *",[(0,Ae.query)(":enter",(0,Ae.stagger)(0,[(0,Ae.style)({opacity:0,transform:"translateY(50px)"}),(0,Ae.animate)(".2s ease-in-out",(0,Ae.style)({opacity:1,transform:"translateY(0px)"}))]),{optional:!0}),(0,Ae.query)(":leave",(0,Ae.stagger)(0,[(0,Ae.style)({opacity:1,transform:"translateY(0px)"}),(0,Ae.animate)(".2s ease-in-out",(0,Ae.style)({opacity:0,transform:"translateY(50px)"}))]),{optional:!0})])])]},changeDetection:0})}}return o}
1)();(0,n.registerLocales)(),(0,m.bootstrapApplication)(Ai,{providers:[(0,e.importProvidersFrom)(A.AccordionModule,M.AppointmentCleanupModule,Pt,Z.BreakpointModule,m.BrowserModule,Mt.BsDropdownModule.forRoot(),Et.CollapseModule.forRoot(),kt,Ut.b,D.FeatureToggleModule,we.FormsModule,p.HttpClientModule,lt.ModalModule.forRoot(),wt.f,jt.PimcoreLandingPageStateModule.withConfiguration(()=>{const o=(0,e.inject)(y.N);return{pimcoreBaseHref:o.getStageConfig().pimcoreBaseHref,marketplace:o.getAppConfig().pimcore.marketPlace,pimcoreApiKey:o.getStageConfig().pimcoreApiKey}}),k.PracticeModule.withConfiguration(()=>{const o=(0,e.inject)(y.N);return{country:o.getEnvironment().configuration,institutionUrlBase:o.getAppConfig().institution.urlSegment.base,doctorUrlBase:o.getAppConfig().doctor.urlSegment.base,shortOppeningHoursFormat:o.getAppConfig().oppeningHoursFormat.short,cgmLifeUrl:o.getStageConfig().cgmLifeUrl.url}}),we.ReactiveFormsModule,zt.SharedAppearanceStateModule,dt.SharedLayoutOrchestratorModule,je.SharedLayoutStateModule,Ft.G,Nt.StateUtilsModule,it.TextLinkModule,$t.TooltipModule.forRoot(),l.TranslateModule.forRoot({loader:{provide:l.TranslateLoader,useFactory:(o,R)=>R.configureI18nLoader(o),deps:[p.HttpClient,y.N]}})),{provide:n.APP_BASE_URL_TOKEN,useValue:t.p},(0,e.provideAppInitializer)(()=>((R,i)=>()=>R.use(i.getEnvironment().configuration))((0,e.inject)(l.TranslateService),(0,e.inject)(y.N))()),(0,e.provideAppInitializer)(()=>(0,n.loadFederatedManifest)()),(0,e.provideAppInitializer)(()=>(R=>()=>{const i=R.getEnvironment();ne().updateLocale(i.configuration,i.appConfig.longDateFormat)})((0,e.inject)(y.N))()),(0,e.provideAppInitializer)(()=>((R,i)=>()=>R.initSdk({id:i.getAppConfig().id,locale:i.getAppConfig().locale,host:i.getStageConfig().cgmLifeUrl.url}))((0,e.inject)(n.SdkBootstrapService),(0,e.inject)(y.N))()),{provide:e.LOCALE_ID,useFactory:o=>o.getAppConfig().locale,deps:[y.N]},d.SeoService,p.HttpClientModule,x,h.H,B.ParticipantService,m.Title,d.JsonLDService,{provide:P.UrlSerializer,useClass:class s{constructor(){this._defaultUrlSerializer=new P.DefaultUrlSerializer}parse(R){return R=R.replace(/\(/g,"%28").replace(/\)/g,"%29"),this._defaultUrlSerializer.parse(R)}serialize(R){return this._defaultUrlSerializer.serialize(R)}}},{provide:Z.CDC_DATE_LOCALE,useFactory:o=>o.getEnvironment().appConfig.locale.replace("_","-"),deps:[y.N]},(0,yt.provideAnimations)()]}).catch(o=>console.error(o))},75313:(re,j,t)=>{t.d(j,{t:()=>U});var n=t(24200),l=t(81508),d=t(87199),g=t(90163),C=t(12613),h=t(22146),m=t(28606),s=t(75281
1),A=t(69915),L=t(60648),u=t(63386);const D=I=>[I],v=()=>["/documents"],r=()=>["/my-doctors"];function S(I,E){if(1&I){const T=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"a",10),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(T);const k=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(k.closePopup())}),s.\u0275\u0275element(1,"cd-icon",14),s.\u0275\u0275elementStart(2,"span",15),s.\u0275\u0275text(3),s.\u0275\u0275pipe(4,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(5,"cd-icon",13),s.\u0275\u0275elementEnd()}2&I&&(s.\u0275\u0275property("routerLink",s.\u0275\u0275pureFunction0(4,v)),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(4,2,"main_navigation_go_to_documents")," "))}function _(I,E){if(1&I){const T=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"a",10),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(T);const k=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(k.closePopup())}),s.\u0275\u0275element(1,"cd-icon",16),s.\u0275\u0275elementStart(2,"span",17),s.\u0275\u0275text(3),s.\u0275\u0275pipe(4,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(5,"cd-icon",13),s.\u0275\u0275elementEnd()}2&I&&(s.\u0275\u0275property("routerLink",s.\u0275\u0275pureFunction0(4,r)),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(4,2,"main_navigation_go_to_my_favorites")," "))}function $(I,E){if(1&I){const T=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"a",10),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(T);const k=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(k.closePopup())}),s.\u0275\u0275element(1,"cd-icon",18),s.\u0275\u0275elementStart(2,"span",19),s.\u0275\u0275text(3),s.\u0275\u0275pipe(4,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(5,"cd-icon",13),s.\u0275\u0275elementEnd()}if(2&I){const T=s.\u0275\u0275nextContext();s.\u0275\u0275property("routerLink",s.\u0275\u0275pureFunction1(4,D,T.magazineLink)),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(4,2,"main_navigation_go_to_magazine")," ")}}let U=(()=>{class I{constructor(T,f,k){this.modalService=T,this.authService=f,this.hostEnvironmentService=k,this.supportFavoritesDropDownMenu=this.hostEnvironmentService.getAppConfig().supportFavoritesDropDownMenu,this.supportDocumentsDropDownMenu=this.hostEnvironmentService.getAppConfig().supportDocumentsDropDownMenu,this.magazineLink=`/${this.hostEnvironmentService.getAppConfig().magazine?.urlSegment.base}`,this.helpLink=`/${this.hostEnvironmentService.getAppConfig().help.urlSegment.base}`,this.unsubscribe$=new n.Subject,this.countryCode=this.hostEnvironmentService.getEnvironment().configuration}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}login(){this.authService.login$(this.countryCode).pipe((0,l.takeUntil)(this.unsubscribe$)).subscribe(),this.modalService.hide()}register(){this.authService.login$(this.countryCode,null,"REGISTRATION").subscribe(),this.closePopup()}closePopup(){this.modalService.hide()}static{this.\u0275fac=function(f){return new(f||I)(s.\u0275\u0275directiveInject(A.BsModalService),s.\u0275\u0275directiveInject(L.AuthService),s.\u0275\u0275directiveInject(u.N))}}static{this.\u0275cmp=s.\u0275\u0275defineComponent({type:I,selectors:[["app-login-user-content"]],decls:28,vars:24,consts:[[1,"login-user-content"],[1,"header"],[1,"modal-title"],[1,"modal-message"],["data-web-test","login-button",1,"btn","btn-primary","btn-login",3,"click"],[1,"modal-message",3,"click"],[1,"register"],[1,"links-container"],["class","link-item",3,"routerLink","click",4,"ngIf"],["class","link-item",3,"routerLink","click",4,"cdFeatureToggle"],[1,"link-item",3,"click","routerLink"],["iconName","icon-helpcircle"],["data-automation","Login user content - Go to Help page section",1,"link-item__grow"],["
1iconName","icon-DS_chevron-forward"],["iconName","icon-documents"],["data-automation","Login user content - Go to Documents section",1,"link-item__grow"],["iconName","icon-favorite"],["data-automation","Login user content - Go to My doctors section",1,"link-item__grow"],["iconName","icon-CD_magazine"],["data-automation","Login user content - Go to Magazine page section",1,"link-item__grow"]],template:function(f,k){1&f&&(s.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"span",2),s.\u0275\u0275text(3),s.\u0275\u0275pipe(4,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(5,"span",3),s.\u0275\u0275text(6),s.\u0275\u0275pipe(7,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(8,"button",4),s.\u0275\u0275listener("click",function(){return k.login()}),s.\u0275\u0275text(9),s.\u0275\u0275pipe(10,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(11,"span",5),s.\u0275\u0275listener("click",function(){return k.register()}),s.\u0275\u0275text(12),s.\u0275\u0275pipe(13,"translate"),s.\u0275\u0275elementStart(14,"a",6),s.\u0275\u0275text(15),s.\u0275\u0275pipe(16,"translate"),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275elementStart(17,"div",7),s.\u0275\u0275elementContainerStart(18),s.\u0275\u0275template(19,S,6,5,"a",8)(20,_,6,5,"a",8),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275template(21,$,6,6,"a",9),s.\u0275\u0275elementStart(22,"a",10),s.\u0275\u0275listener("click",function(){return k.closePopup()}),s.\u0275\u0275element(23,"cd-icon",11),s.\u0275\u0275elementStart(24,"span",12),s.\u0275\u0275text(25),s.\u0275\u0275pipe(26,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(27,"cd-icon",13),s.\u0275\u0275elementEnd()()()),2&f&&(s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(4,10,"main_navigation_not_logged_title")),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(7,12,"main_navigation_not_logged_subtitle")),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(10,14,"main_navigation_sign_in_btn")," "),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(13,16,"main_navigation_no_account_yet")," "),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(16,18,"main_navigation_register_cta")),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",k.supportDocumentsDropDownMenu),s.\u0275\u0275advance(),s.\u0275\u0275property("ngIf",k.supportFavoritesDropDownMenu),s.\u0275\u0275advance(),s.\u0275\u0275property("cdFeatureToggle","magazine"),s.\u0275\u0275advance(),s.\u0275\u0275property("routerLink",s.\u0275\u0275pureFunction1(22,D,k.helpLink)),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(26,20,"main_navigation_go_to_help_page")," "))},dependencies:[d.NgIf,g.RouterLink,C.IconModule,C.IconComponent,h.FeatureToggleDirective,m.TranslatePipe],styles:[".login-user-content[_ngcontent-%COMP%]{font-weight:400}.login-user-content[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;font-family:var(--font-family-roboto);flex-direction:column;text-align:left;padding:32px var(--cdc-spacing-300);border-bottom:1px solid var(--gray-medium)}@media screen and (max-width: 904px){.login-user-content[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{padding:56px var(--cdc-spacing-300) 32px}}.login-user-content[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-size:24px;line-height:1.33;color:var(--neutrals-dark)}.login-user-content[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .modal-message[_ngcontent-%COMP%]{margin-top:16px;font-size:16px;font-family:Roboto,sans-serif;line-height:1.5;letter-spacing:.44px;color:var(--neutrals-dark)}.login-user-content[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .btn-login[_ngcontent-%COMP%]{letter-spacing:.44px;display:flex;justify-content:center;height:48px;line-height:20px;margin-top:8px;font-family:Roboto,sans-serif;background-color:var(--blue-primary-100);color:#fff;text-transform:uppercase;font-size:14px;text-decoration:none;align-items:center;padding:10px 0;border-radius:8px;box-shadow:none;border:solid 1px var(--blue-in-progress)}.login-user-content[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .register[_ngcontent-%COMP%]{cursor:pointer;color:var(--blue-primary-100);text-decoration:none}.login-user-content[_ngcontent-%COMP%] .links-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;color:var(--blue-primary-100);padding:0 var(--cdc-spacing-300) 8px}@media screen and (max-width: 904px){.login-user-content[_ngcontent-%COMP%] .links-container[_ngcontent-%COMP%]{padding:16px var(--cdc-spacing-300)}}.login-user-content[_ngcontent-%COMP%] .links-container[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]{display:flex;align-items:center;border-bottom:1px solid var(--gray-medium);font-family:Roboto,sans-serif;font-size:16px;line-height:1.5;letter-spacing:.44px;color:var(--blue-primary-100);padding:16px 0;cursor:pointer}.login-user-content[_ngcontent-%COMP%] .links-container[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]:hover{text-decoration:none}.login-user-content[_ngcontent-%COMP%] .links-container[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%] .link-item__grow[_ngcontent-%COMP%]{flex-grow:1;padding-left:var(--cdc-spacing-150);font-size:16px;font-weight:400;line-height:1.5;letter-spacing:.44px;color:var(--blue-primary-100);text-align:start}.login-user-content[_ngcontent-%COMP%] .links-container[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]:last-child{border-bottom:none}button[_ngcontent-%COMP%]{background-color:var(--neutrals-light);border:none}"],changeDetection:0})}}return I})()}
1,77052:(re,j,t)=>{t.d(j,{g:()=>n});var n=function(e){return e.EMPTY="",e.BASE="erezept",e.ORDER="bestellungen",e.HISTORY="abgelaufen",e.DETAIL="detail",e.UPLOAD="upload",e.ONSITE_OR_SHIP_PRESCRIPTION="online-einloesen",e.SHIP_PRESCRIPTION_CHECKOUT="bestelluebersicht",e.SHIP_PRESCRIPTION_ORDER_RESULT="bestellstatus",e.ADHOC_FEATURE_ENTRY="adhoc",e.ADHOC_ACTION_CARDS="naechste-schritte",e.ADHOC_SECURITY_QUESTION="sicherheitsabfrage",e.ADHOC_LANDING_PAGE="willkommen",e.ADHOC_REDEEM_PRESCRIPTION="online-einloesen",e.ADHOC_MATRIX="data-matrix",e.ADHOC_CHECKOUT="bestelluebersicht",e.ADHOC_ORDER_RESULT="bestellstatus",e.REDEEM="einreichen",e.EXTERNAL="start",e.DETAIL_ID_DYNAMIC="detail/:id",e.MEDICATION_INDEX_DYNAMIC="medikament/:index",e.ID_DYNAMIC=":id",e.FOLLOW_UP="anfragen",e.SEARCH="search",e.SUCCESS="erfolgreich",e.HOMEPAGE="",e.REQUEST_DETAIL="detail/:institutionId/:date",e.OVERVIEW="uebersicht",e.DOCUMENT="beleg",e}(n||{})},77701:(re,j,t)=>{t.d(j,{X:()=>K});var n=t(87199),e=t(89903),l=t(92277),y=t(49107),d=t(75281);let p=(()=>{class u{constructor(v,r){this.el=v,this.renderer=r}ngAfterViewInit(){if(this.text){const v=/(https?:\/\/[^\s]+)/g;this.text.split(v).forEach(S=>{if(v.test(S)){const _=this.renderer.createElement("a");this.renderer.setAttribute(_,"href",S),this.renderer.appendChild(_,this.renderer.createText(S)),this.renderer.appendChild(this.el.nativeElement,_)}else this.renderer.appendChild(this.el.nativeElement,this.renderer.createText(S))})}}static{this.\u0275fac=function(r){return new(r||u)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.Renderer2))}}static{this.\u0275dir=d.\u0275\u0275defineDirective({type:u,selectors:[["","appLinkBuilder",""]],inputs:{text:[0,"appLinkBuilder","text"]}})}}return u})();var g=t(90163);const b=(u,D)=>[u,D];function C(u,D){1&u&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"cd-top-bar")(2,"cd-top-bar-title"),d.\u0275\u0275element(3,"cd-clickdoc-logo-asset"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementContainerEnd())}function x(u,D){if(1&u&&d.\u0275\u0275element(0,"div",11),2&u){const v=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275property("appLinkBuilder",v.value)}}function h(u,D){if(1&u&&d.\u0275\u0275element(0,"div",12),2&u){const v=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275property("appLinkBuilder",v.value)}}function B(u,D){if(1&u&&d.\u0275\u0275element(0,"div",13),2&u){const v=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275property("appLinkBuilder",v.value)}}function m(u,D){if(1&u&&d.\u0275\u0275element(0,"div",14),2&u){const v=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275property("appLinkBuilder",v.value)}}function P(u,D){1&u&&d.\u0275\u0275element(0,"li",17),2&u&&d.\u0275\u0275property("appLinkBuilder",D.$implicit)}function s(u,D){if(1&u&&(d.\u0275\u0275elementStart(0,"ul",15),d.\u0275\u0275template(1,P,1,1,"li",16),d.\u0275\u0275elementEnd()),2&u){const v=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.value)}}function Z(u,D){1&u&&d.\u0275\u0275element(0,"li",17),2&u&&d.\u0275\u0275property("appLinkBuilder",D.$implicit)}function A(u,D){if(1&u&&(d.\u0275\u0275elementStart(0,"ul",18),d.\u0275\u0275template(1,Z,1,1,"li",16),d.\u0275\u0275elementEnd()),2&u){const v=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.value)}}function M(u,D){if(1&u&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275template(1,x,1,1,"div",5)(2,h,1,1,"div",6)(3,B,1,1,"div",7)(4,m,1,1,"div",8)(5,s,2,1,"ul",9)(6,A,2,1,"ul",10),d.\u0275\u0275elementEnd()),2&u){const v=D.$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf","text"===v.type),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf","section-title"===v.type),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf","subsection-title"===v.type),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf","subsection-text"===v.type),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf","list"===v.type),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf","subsection-list"===v.type)}}function L(u,D){if(1&u&&(d.\u0275\u0275elementStart(0,"div")(1,"div",4),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,M,7,6,"div",3),d.\u0275\u0275elementEnd()),2&u){const v=D.$implicit;d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(v.title),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.content)}}let K=(()=>
1{class u{constructor(v){this.route=v,this.Breakpoint=l.Breakpoint}ngOnInit(){this.dataProtection=this.route.snapshot.data.dataProtection}static{this.\u0275fac=function(r){return new(r||u)(d.\u0275\u0275directiveInject(g.ActivatedRoute))}}static{this.\u0275cmp=d.\u0275\u0275defineComponent({type:u,selectors:[["app-data-protection"]],decls:5,vars:6,consts:[[4,"cdIfLayout"],["cdBreakpointClass","",1,"data-protection-container"],[1,"data-protection-title","cdc-heading-03--regular"],[4,"ngFor","ngForOf"],[1,"data-protection-spacing-medium","cdc-heading-05--bold"],["class","data-protection-spacing-medium cdc-body-01--regular",3,"appLinkBuilder",4,"ngIf"],["class","data-protection-spacing-medium cdc-heading-05--bold",3,"appLinkBuilder",4,"ngIf"],["class","subsection-title data-protection-spacing-medium cdc-body-01--bold",3,"appLinkBuilder",4,"ngIf"],["class","subsection-text data-protection-spacing-medium cdc-body-01--regular",3,"appLinkBuilder",4,"ngIf"],["class","data-protection-spacing-medium cdc-body-01--regular",4,"ngIf"],["class","subsection-list data-protection-spacing-medium cdc-body-01--regular",4,"ngIf"],[1,"data-protection-spacing-medium","cdc-body-01--regular",3,"appLinkBuilder"],[1,"data-protection-spacing-medium","cdc-heading-05--bold",3,"appLinkBuilder"],[1,"subsection-title","data-protection-spacing-medium","cdc-body-01--bold",3,"appLinkBuilder"],[1,"subsection-text","data-protection-spacing-medium","cdc-body-01--regular",3,"appLinkBuilder"],[1,"data-protection-spacing-medium","cdc-body-01--regular"],[3,"appLinkBuilder",4,"ngFor","ngForOf"],[3,"appLinkBuilder"],[1,"subsection-list","data-protection-spacing-medium","cdc-body-01--regular"]],template:function(r,S){1&r&&(d.\u0275\u0275template(0,C,4,0,"ng-container",0),d.\u0275\u0275elementStart(1,"div",1)(2,"div",2),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(4,L,4,2,"div",3),d.\u0275\u0275elementEnd()),2&r&&(d.\u0275\u0275property("cdIfLayout",d.\u0275\u0275pureFunction2(3,b,S.Breakpoint.X_SMALL,S.Breakpoint.SMALL)),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(S.dataProtection.title),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",S.dataProtection.chapters))},dependencies:[l.BreakpointModule,l.BreakpointClassDirective,l.IfLayoutDirective,e.ClickdocLogoAssetModule,e.ClickdocLogoAssetComponent,p,n.NgFor,n.NgIf,y.TopBarModule,y.TopBarComponent,y.TopBarTitleComponent],styles:[".data-protection-container[_ngcontent-%COMP%]{padding:var(--cdc-spacing-400) 0;display:flex;flex-direction:column}
1.data-protection-container.cdc-medium[_ngcontent-%COMP%], .data-protection-container.cdc-large[_ngcontent-%COMP%], .data-protection-container.cdc-x-large[_ngcontent-%COMP%]{width:calc(100% - 64px);max-width:1372px;margin:auto;background-color:var(--white)}.data-protection-container.cdc-small[_ngcontent-%COMP%], .data-protection-container.cdc-x-small[_ngcontent-%COMP%]{width:calc(100% - 48px);margin:auto}.data-protection-container[_ngcontent-%COMP%] .data-protection-spacing-medium[_ngcontent-%COMP%]{margin-bottom:var(--cdc-spacing-150);white-space:pre-line}.data-protection-container[_ngcontent-%COMP%] .data-protection-title[_ngcontent-%COMP%]{margin-bottom:var(--cdc-spacing-300)}.data-protection-container[_ngcontent-%COMP%] .subsection-title[_ngcontent-%COMP%], .data-protection-container[_ngcontent-%COMP%] .subsection-list[_ngcontent-%COMP%], .data-protection-container[_ngcontent-%COMP%] .subsection-text[_ngcontent-%COMP%]{margin-left:var(--cdc-spacing-300)}"]})}}return u})()},81796:(re,j,t)=>{t.d(j,{J:()=>T});var n=t(43209),e=t.n(n),l=t(75281),y=t(28606),d=t(84287),p=t(67338),g=t(63183),b=t(63714),C=t(33088);const x=(0,p.object)({catalogName:(0,p.string)().nullish(),catalogVersion:(0,p.string)().nullish(),code:(0,p.string)().nullish(),codeText:(0,p.string)().nullish(),description:(0,p.string)().nullish()}).transform(f=>({catalogName:f.catalogName??void 0,catalogVersion:f.catalogVersion??void 0,code:f.code??void 0,codeText:f.codeText??void 0,description:f.description??void 0})),h=(0,p.object)({unit:(0,p.string)().nullish(),unitCoding:x.nullish(),value:(0,p.number)().nullish(),valueText:(0,p.string)().nullish()}).transform(f=>({unit:f.unit??void 0,unitCoding:f.unitCoding??x.parse({}),value:f.value??void 0,valueText:f.valueText??void 0})),B=(0,p.object)({afternoon:(0,p.number)().nullish(),afternoonValueText:(0,p.string)().nullish(),amount:h.nullish(),description:(0,p.string)().nullish(),evening:(0,p.number)().nullish(),eveningValueText:(0,p.string)().nullish(),forenoon:(0,p.number)().nullish(),forenoonValueText:(0,p.string)().nullish(),intervalNumber:(0,p.number)().nullish(),intervalTime:(0,p.number)().nullish(),morning:(0,p.number)().nullish(),morningValueText:(0,p.string)().nullish(),night:(0,p.number)().nullish(),nightValueText:(0,p.string)().nullish(),noon:(0,p.number)().nullish(),noonValueText:(0,p.string)().nullish(),onDemand:(0,p.boolean)().nullish(),perInterval:(0,p.number)().nullish(),perIntervalValueText:(0,p.string)().nullish(),routeOfAdministration:x.nullish(),singleDose:h.nullish(),weekdays:(0,p.array)((0,p.number)()).nullish()}).transform(f=>({afternoon:f.afternoon??void 0,afternoonValueText:f.afternoonValueText??void 0,amount:f.amount??h.parse({}),description:f.description??void 0,evening:f.evening??void 0,eveningValueText:f.eveningValueText??void 0,forenoon:f.forenoon??void 0,forenoonValueText:f.forenoonValueText??void 0,intervalNumber:f.intervalNumber??void 0,intervalTime:f.intervalTime??void 0,morning:f.morning??void 0,morningValueText:f.morningValueText??void 0,night:f.night??void 0,nightValueText:f.nightValueText??void 0,noon:f.noon??void 0,noonValueText:f.noonValueText??void 0,onDemand:f.onDemand??void 0,perInterval:f.perInterval??void 0,perIntervalValueText:f.perIntervalValueText??void 0,routeOfAdministration:f.routeOfAdministration??x.parse({}),singleDose:f.singleDose??h.parse({}),weekdays:f.weekdays??[]})),m=(0,p.object)({code:(0,p.string)().nullish(),codeText:(0,p.string)().nullish(),description:(0,p.string)().nullish()}).transform(f=>({code:f.code??void 0,name:f.codeText??void 0,description:f.description??void 0})),P=(0,p.object)({code:m.nullish(),dosageForm:x.nullish(),packageSize:(0,p.string)().nullish(),packageNorm:(0,p.string)().nullish(),divisibility:(0,p.string)().nullish()}).transform(f=>{const k=f.code??m.parse({});return{divisibility:f.divisibility??void 0,name:k.name,packageNorm:f.packageNorm??void 0,packageSize:f.packageSize??void 0,dosageForm:f.dosageForm??x.parse({}),pzn:k.code,revenueNote:k.description}});var s=t(71198);const Z=(0,p.object)({comment:(0,p.string)().nullish(),discharged:(0,p.boolean)().nullish(),dosage:B.nullish(),drug:P.nullish(),originator:s.e.nullish(),permanent:(0,p.boolean)().nullish(),reasonForMedication:(0,p.string)().nullish(),validFrom:(0,p.date)().nullish(),validUntil:(0,p.date)().nullish()}).transform(f=>({comment:f.comment??void 0,discharged:f.discharged??void 0,dosage:f.dosage??B.parse({}),drug:f.drug??P.parse({}),originator:f.originator??s.e.parse({}),permanent:f.permanent??void 0,reasonForMedication:f.reasonForMedication??void 0,validFrom:f.validFrom??void 0,validUntil:f.validUntil??void 0})),A=(0,p.object)({medications:Z.nullish(),status:(0,p.string)().nullish()}).transform(f=>({medications:f.medications??void 0,status:f.status??void 0})),M=(0,p.object)({token:(0,p.string)().nullish(),prescribedMedications:(0,p.array)(A).nullish()}).transform(f=>{const k=f.prescribedMedications?.[0].medications,Q=f.prescribedMedications?.[0].status;return{comment:k?.comment,discharged:k?.discharged,dosage:k?.dosage,drug:k?.drug,medicationToken:f.token??void 0,originator:k?.originator,permanent:k?.permanent,reasonForMedication:k?.reasonForMedication,status:Q,validFrom:k?.validFrom,validUntil:k?.validUntil}});function L(f,k){return"CANCELLED"===f?C.i.CANCELLED:"REDEEMED"===f?C.i.REDEEMED:function u(f){return e()(f).add(g.s,"day").endOf("day").isBefore()}(k)?C.i.EXPIRED:C.i.NEW}function K(f,k){const[,X]=/Task\/(.*)\//g.exec(k)??["",""];return`${f}|${X}`}const v_transform2Medication=function D(f,k,Q){let X=f.validFrom,ee=f.validUntil;return X||(X=Q),ee||(ee=e()(Q).add(g.s,"day").toDate()),{...f,id:K(k,f.medicationToken),status:L(f.status,Q),validFrom:X,validUntil:ee}};var r=t(43872);const S=(0,p.object)({address:r.e.nullish(),dateOfBirth:(0,p.string)().nullish(),familyName:(0,p.string)().nullish(),givenName:(0,p.string)().nullish(),title:(0,p.string)().nullish()}).transform(f=>({address:f.address??r.e.parse({}),birthDate:f.dateOfBirth??void 0,familyName:f.familyName??void 0,givenName:f.givenName??void 0,title:f.title??void 0})),_=(0,p.object)({comment:(0,p.string)().nullish(),entries:(0,p.array)(M).nullish(),format:(0,p.string)().nullish(),originator:s.e.nullish(),patient:S.nullish(),issuingPractice:s.e.nullish(),pdf:(0,p.string)().nullish(),pdfSize:(0,p.number)().nullish(),token:(0,p.string)().nullish(),mimetype:(0,p.string)().nullish()}).transform(f=>({comment:f.comment??void 0,format:f.format??void 0,medicationList:f.entries??[],originator:f.originator??s.e.parse({}),patient:f.patient??S.parse({}),issuingPractice:f.issuingPractice??s.e.parse({}),pdf:f.pdf??void 0,pdfSize:f.pdfSize??void 0,summaryToken:f.token??void 0,mimetype:f.mimetype??void 0})),$=(0,p.object)({comment:(0,p.string)().nullish(),date:(0,p.date)().nullish(),id:(0,p.string)().nullish(),value:_.nullish(),owner:(0,p.string)().nullish()}).transform(f=>{const k=f.value??_.parse({});return{comment:f.comment??void 0,date:f.date??void 0,format:k.format,id:f.id??void 0,issuingPractice:k.issuingPractice,medicationList:k.medicationList,mimeType:k.mimetype,originator:k.originator,owner:f.owner??void 0,patient:k.patient,pdf:k.pdf,pdfSize:k.pdfSize,summaryToken:k.summaryToken,type:b.PrescriptionType.DIGITAL}});function U(f){return f?e()(f).add(g.s,"day").format("DD.MM.YYYY"):""}const E_transform2DigitalPrescription=function I(f,k,Q){const X=(0,d.map)(f.medicationList,ee=>v_transform2Medication(ee,f.id,f.date));return{...f,hasFileAttached:!!f.mimeType||!!f.pdfSize,latestOrderId:Q?.id,medicationList:X,name:k,statusList:[],submissionId:null,validUntil:U(f.date)}};let T=(()=>{class f{constructor(){this.translate=(0,l.inject)(y.TranslateService)}mapToDigitalPrescription(Q,X){const ee=$.parse(Q),H=this.createPrescriptionName(ee.date),ge=this.findOrderByPrescriptionId(ee.i
1d,X);return E_transform2DigitalPrescription(ee,H,ge)}createPrescriptionName(Q){const X=e()(Q).format("DD.MM.YYYY");return this.translate.instant("eprescription_prescription_doctor_prescription_type_name",{date:X})}findOrderByPrescriptionId(Q,X){return[...X].reverse()?.find(H=>!!H?.prescriptionMdoIds?.find(ge=>ge===Q))}static{this.\u0275fac=function(X){return new(X||f)}}static{this.\u0275prov=l.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},82249:(re,j,t)=>{t.d(j,{I:()=>K});var n=t(87199),l=t(89903),d=t(92277),g=t(49107),C=t(96515),h=t(86369),m=t(28606),s=t(75281),A=t(90163);function L(u,D){if(1&u&&(s.\u0275\u0275elementStart(0,"cd-detail",1)(1,"cd-detail-title"),s.\u0275\u0275text(2),s.\u0275\u0275pipe(3,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(4,"cd-detail-main-content"),s.\u0275\u0275element(5,"cd-cms-article",2),s.\u0275\u0275elementEnd()()),2&u){const v=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(3,2,"accessibility.content.accessibility.headline")),s.\u0275\u0275advance(3),s.\u0275\u0275property("rawHtml",v.accessibility.imprint)}}let K=(()=>{class u{constructor(v){this.route=v}ngOnInit(){this.accessibility=this.route.snapshot.data.accessibility}static{this.\u0275fac=function(r){return new(r||u)(s.\u0275\u0275directiveInject(A.ActivatedRoute))}}static{this.\u0275cmp=s.\u0275\u0275defineComponent({type:u,selectors:[["app-accessibility"]],decls:1,vars:1,consts:[["contentMargin","auto",4,"ngIf"],["contentMargin","auto"],[3,"rawHtml"]],template:function(r,S){1&r&&s.\u0275\u0275template(0,L,6,4,"cd-detail",0),2&r&&s.\u0275\u0275property("ngIf",S.accessibility)},dependencies:[d.BreakpointModule,l.ClickdocLogoAssetModule,n.NgIf,g.TopBarModule,C.CmsContentModule,C.CmsArticleComponent,h.DetailModule,h.DetailComponent,h.DetailTitleComponent,h.DetailMainContentComponent,m.TranslatePipe],encapsulation:2})}}return u})()},85506:(re,j,t)=>{t.d(j,{Z:()=>n});var n=function(e){return e.OTC="OTC_ORDER",e.PHOTO="PHOTO_ORDER",e.SCAN="SCAN_ORDER",e.SHIPPING="SHIPPING_ORDER",e.DIGITAL="DIGITAL",e}(n||{})},85516:(re,j,t)=>{t.d(j,{K:()=>f});var n=t(75281),l=t(34869),y=t(77052),d=t(5313),p=t(63714),b=t(87199),x=t(90163),B=t(65892),m=t(68688),P=t(83515),Z=t(58286),M=t(22146),K=t(28606);const D=(k,Q)=>[k,Q];function v(k,Q){if(1&k&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275elementStart(1,"app-prescription-digital-card",5),n.\u0275\u0275elementContainer(2,6)(3,6),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementContainerEnd()),2&k){const X=n.\u0275\u0275nextContext(2),ee=n.\u0275\u0275reference(2),H=n.\u0275\u0275reference(6);n.\u0275\u0275advance(),n.\u0275\u0275property("item",X.prescription),n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",ee),n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",H)}}function r(k,Q){if(1&k&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275elementStart(1,"app-prescription-photo-card",5),n.\u0275\u0275elementContainer(2,6)(3,6),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementContainerEnd()),2&k){const X=n.\u0275\u0275nextContext(2),ee=n.\u0275\u0275reference(2),H=n.\u0275\u0275reference(4);n.\u0275\u0275advance(),n.\u0275\u0275property("item",X.prescription),n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",ee),n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",H)}}function S(k,Q){if(1&k&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275elementStart(1,"a",4),n.\u0275\u0275template(2,v,4,3,"ng-container",3)(3,r,4,3,"ng-container",3),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementContainerEnd()),2&k){const X=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("routerLink",X.detailsLinkSegmentList),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf",(null==X.prescription?null:X.prescription.type)===X.PrescriptionType.DIGITAL),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf",(null==X.prescription?null:X.prescription.type)===X.PrescriptionType.PHOTO)}}function _(k,Q){if(1&k&&(n.\u0275\u0275elementStart(0,"a",7)(1,"span"),n.\u0275\u0275text(2),n.\u0275\u0275pipe(3,"translate"),n.\u0275\u0275elementEnd()()),2&k){const X=n.\u0275\u0275nextContext();n.\u0275\u0275property("color","cd-default")("outline","cd-outline-solid")("routerLink",X.detailsLinkSegmentList),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(3,4,"eprescription_show_prescription_details"))}}function $(k,Q){if(1&k&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275elementStart(1,"a",8)(2,"span"),n.\u0275\u0275text(3),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementContainerEnd()),2&k){const X=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(),n.\u0275\u0275property("color","cd-default")("outline","cd-outline-solid")("routerLink",n.\u0275\u0275pureFunction2(6,D,X.OrderDetailsRoute,X.prescription.latestOrderId)),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(4,4,"eprescription_show_order")," ")}}function U(k,Q){if(1&k&&n.\u0275\u0275template(0,$,5,9,"ng-container",3),2&k
1){const X=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngIf",null==X.prescription?null:X.prescription.latestOrderId)}}function I(k,Q){if(1&k){const X=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",10),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(X);const H=n.\u0275\u0275nextContext(3);return n.\u0275\u0275resetView(H.onRedeem())}),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()}2&k&&(n.\u0275\u0275property("color","cd-primary"),n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(2,2,"eprescription_redeem_button_title")," "))}function E(k,Q){1&k&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275template(1,I,3,4,"button",9),n.\u0275\u0275elementContainerEnd()),2&k&&(n.\u0275\u0275advance(),n.\u0275\u0275property("cdFeatureToggle","datamatrix-flow"))}function T(k,Q){if(1&k&&n.\u0275\u0275template(0,E,2,1,"ng-container",3),2&k){const X=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngIf",(null==X.prescription?null:X.prescription.statusList[0])===X.Status.NEW)}}let f=(()=>{class k{constructor(){this.redeem=new n.EventEmitter,this.OrderDetailsRoute=d.EI,this.PrescriptionType=p.PrescriptionType,this.Status=l.J}ngOnChanges(){this.prescription&&(this.detailsLinkSegmentList=[...this.prescriptionListBaseHrefSegmentList??[],y.g.DETAIL,this.prescription.id])}onRedeem(){this.redeem.emit()}static{this.\u0275fac=function(ee){return new(ee||k)}}static{this.\u0275cmp=n.\u0275\u0275defineComponent({type:k,selectors:[["app-prescription-list-entry"]],inputs:{prescriptionListBaseHrefSegmentList:"prescriptionListBaseHrefSegmentList",prescription:"prescription"},outputs:{redeem:"redeem"},features:[n.\u0275\u0275NgOnChangesFeature],decls:7,vars:1,consts:[["detailButton",""],["orderButton",""],["redeemButton",""],[4,"ngIf"],[1,"blank-link",3,"routerLink"],[3,"item"],[3,"ngTemplateOutlet"],["cdStopClickPropagation","","cd-button","","data-automation","prescription-medications-link",3,"color","outline","routerLink"],["cdStopClickPropagation","","cd-button","","data-automation","show-order-for-prescription-button",3,"color","outline","routerLink"],["cdStopClickPropagation","","cd-button","","data-automation","redeem-button",3,"color","click",4,"cdFeatureToggle"],["cdStopClickPropagation","","cd-button","","data-automation","redeem-button",3,"click","color"]],template:function(ee,H){1&ee&&n.\u0275\u0275template(0,S,4,3,"ng-container",3)(1,_,4,6,"ng-template",null,0,n.\u0275\u0275templateRefExtractor)(3,U,1,1,"ng-template",null,1,n.\u0275\u0275templateRefExtractor)(5,T,1,1,"ng-template",null,2,n.\u0275\u0275templateRefExtractor),2&ee&&n.\u0275\u0275property("ngIf",H.prescription)},dependencies:[b.NgIf,x.RouterLink,B.C,b.NgTemplateOutlet,m.u,P.ButtonModule,P.ButtonComponent,Z.StopClickPropagationDirective,M.FeatureToggleDirective,K.TranslatePipe],styles:[".blank-link[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%]:hover, .blank-link[_ngcontent-%COMP%]:visited{text-decoration:none;color:inherit}.blank-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%]:hover button[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%]:visited a[_ngcontent-%COMP%], .blank-link[_ngcontent-%COMP%]:visited button[_ngcontent-%COMP%]{width:100%}.blank-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(:last-child), .blank-link[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(:last-child), .blank-link[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]:not(:last-child), .blank-link[_ngcontent-%COMP%]:hover button[_ngcontent-%COMP%]:not(:last-child), .blank-link[_ngcontent-%COMP%]:visited a[_ngcontent-%COMP%]:not(:last-child), .blank-link[_ngcontent-%COMP%]:visited button[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--cdc-spacing-200)}"],changeDetection:0})}}return k})()},92765:(re,j,t)=>{t.d(j,{H:()=>g});var n=t(24200),l=t(81508),d=t(75281);let g=(()=>{class b{constructor(){this.preventPopupShow$=new n.BehaviorSubject(!1)}hidePopup(){this.preventPopupShow$.next(!0)}showPopup(){this.preventPopupShow$.next(!1)}popupState(){return(0,n.of)(!0).pipe((0,l.tap)(()=>{this.hidePopup()}),(0,l.delay)(1e3),(0,l.tap)(()=>{this.showPopup()}))}getPreventPopupShow(){return this.preventPopupShow$.asObservable()}static{this.\u0275fac=function(h){return new(h||b)}}static{this.\u0275prov=d.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac})}}return b})()},92856:(re,j,t)=>{t.d(j,{k:()=>p});var n=t(64172),e=t(75281),y=t(28606);let p=(()=>{class g{constructor(C){this.translate=C}transform(C){switch(C){case n.R.IN_PROGRESS:return this.translate.instant("eprescription_prescription_status_in_progress_text");case n.R.READY_FOR_DELIVERY:return this.translate.instant("eprescription_prescription_status_ready_delivery_text");case n.R.READY_FOR_PICKUP:return this.translate.instant("eprescription_prescription_status_ready_pickup_text");case n.R.COMPLETED:return this.translate.instant("eprescription_prescription_status_completed_text");case n.R.CANCELED:return this.translate.instant("eprescription_prescription_status_canceled_text");default:return null}}static{this.\u0275fac=function(x){return new(x||g)(e.\u0275\u0275directiveInject(y.TranslateService,16))}}static{this.\u0275pipe=e.\u0275\u0275definePipe({name:"orderStatusText",type:g,pure:!0})}}return g})()},94554:(re,j,t)=>{t.d(j,{a:()=>n});var n=function(e){return e[e.SuccessBookedAppointment=0]="SuccessBookedAppointment",e[e.UnsuccessfulBookedAppointment=1]="UnsuccessfulBookedAppointment",e[e.SuccessAddedPhysicianToFavorite=2]="SuccessAddedPhysicianToFavorite",e[e.SuccessAddedPracticeToFavorite=3]="SuccessAddedPracticeToFavorite",e}(n||{})},94767:(re,j,t)=>{t.d(j,{B$:()=>A,BC:()=>g,Cx:()=>
1P,Ep:()=>x,Jo:()=>s,iR:()=>Z,lA:()=>h,m_:()=>p,no:()=>m,p0:()=>B,tB:()=>C});var n=t(16035),l=t(72594);const p="user",g=(0,n.createReducer)({loginPending:null,user:null},(0,n.on)(l.initialLogin,M=>({...M,loginPending:!0})),(0,n.on)(l.initialLoginFailure,l.initialLoginSuccess,M=>({...M,loginPending:!1})),(0,n.on)(l.userChanged,(M,{user:L})=>({...M,user:L}))),b=(0,n.createFeatureSelector)(p),C=(0,n.createSelector)(b,M=>M.user),x=(0,n.createSelector)(C,M=>!!M?.id),h=(0,n.createSelector)(C,M=>!M?.id),B=(0,n.createSelector)(b,M=>M.loginPending),m=(0,n.createSelector)(C,M=>M?.address),P=(0,n.createSelector)(C,M=>M?.birthDate),s=(0,n.createSelector)(C,M=>M?.phone?.mobile),Z=(0,n.createSelector)(C,M=>M?.name),A=(0,n.createSelector)(C,M=>M?.id)},94844:(re,j,t)=>{t.d(j,{A:()=>p});var n=t(34869),e=t(82667),y=t(75281);let p=(()=>{class g{transform(C){switch(C){case n.J.NEW:return e.StatusColor.Green;case n.J.COMPLETED:case n.J.PARTIALLY_COMPLETED:case n.J.REDEEM:case n.J.PARTIALLY_REDEEM:case n.J.EXPIRED:case n.J.PARTIALLY_EXPIRED:return e.StatusColor.Gray;default:return e.StatusColor.Red}}static{this.\u0275fac=function(x){return new(x||g)}}static{this.\u0275pipe=y.\u0275\u0275definePipe({name:"prescriptionStatusColor",type:g,pure:!0})}}return g})()},96782:(re,j,t)=>{t.d(j,{X:()=>P,i:()=>B});var n=t(58286),l=t(16035),d=t(32497),g=t(33088),b=t(64172),C=t(84287),h=t(4557);const B="erezept-shared",P=(0,l.createReducer)({orderList:{state:n.LoadingState.Initial,data:[]},prescriptionList:{state:n.LoadingState.Initial,data:[]},prescriptionRequestList:{state:n.LoadingState.Initial,data:[]},submissionList:{state:n.LoadingState.Initial,data:[]}},(0,l.on)(h.A9,_=>({..._,orderList:{state:n.LoadingState.Initial,data:[]},prescriptionList:{state:n.LoadingState.Initial,data:[]},prescriptionRequestList:{state:n.LoadingState.Initial,data:[]},submissionList:{state:n.LoadingState.Initial,data:[]}})),(0,l.on)(h.Ig,(_,{prescription:$})=>({..._,prescriptionList:{..._.prescriptionList,data:[..._.prescriptionList.data.filter(U=>U.id!==$.id)]}})),(0,l.on)(h.XW,_=>({..._,orderList:{state:n.LoadingState.Loading,data:[]},prescriptionList:{state:n.LoadingState.Loading,data:[]},submissionList:{state:n.LoadingState.Loading,data:[]}})),(0,l.on)(h.Vt,_=>({..._,orderList:{state:n.LoadingState.Error,data:[]},prescriptionList:{state:n.LoadingState.Error,data:[]},submissionList:{state:n.LoadingState.Error,data:[]}})),(0,l.on)(h._f,(_,{prescriptionList:$,orderList:U})=>({..._,prescriptionList:{state:n.LoadingState.Done,data:$},orderList:{state:n.LoadingState.Done,data:U}})),(0,l.on)(h.hc,(_,{list:$})=>({..._,prescriptionRequestList:{state:n.LoadingState.Done,data:$??[]}})),(0,l.on)(h.iC,_=>({..._,prescriptionRequestList:{state:n.LoadingState.Error,data:[]}})),(0,l.on)(h.U8,_=>({..._,prescriptionRequestList:{state:n.LoadingState.Loading,data:[]}})),(0,l.on)(h.UH,(_,{submissionList:$})=>({..._,submissionList:{state:n.LoadingState.Done,data:$??[]}})),(0,l.on)(h.Dp,_=>({..._,submissionList:{state:n.LoadingState.Error,data:[]}})),(0,l.on)(h.Ck,(_,{prescriptionId:$,medicationId:U})=>{const I=_.prescriptionList.data?.find(({id:f})=>f===$);if(!I)return _;const E=L(I,U,!0),T={..._,prescriptionList:{..._.prescriptionList,data:_.prescriptionList.data.map(f=>f.id===E.id?E:f)}};return S(E,_.orderList.data)?T:{...T,submissionList:{..._.submissionList,data:Z(E,_.submissionList.data)}}}),(0,l.on)(h.l9,(_,{prescriptionId:$,medicationId:U})=>{const I=_.prescriptionList.data?.find(({id:f})=>f===$);if(!I)return _;const E=L(I,U,!1),T={..._,prescriptionList:{..._.prescriptionList,data:_.prescriptionList.data.map(f=>f.id===E.id?E:f)}};return S(E,_.orderList.data)?{...T,submissionList:{..._.submissionList,data:s(E,_.submissionList.data)}}:T}),(0,l.on)(h.Nv,(_,{prescriptionId:$})=>{const U=_.prescriptionList.data?.find(({id:I})=>I===$);return U?{..._,prescriptionList:{..._.prescriptionList,data:A(_.prescriptionList.data,$,!0)},submissionList:{..._.submissionList,data:Z(U,_.submissionList.data)}}:_}),(0,l.on)(h.Y1,(_,{prescriptionId:$})=>{const U=_.prescriptionList.data?.find(({id:I})=>I===$);return U?{..._,prescriptionList:{..._.prescriptionList,data:A(_.prescriptionList.data,$,!1)},submissionList:{..._.submissionList,data:s(U,_.submissionList.data)}}:_}));function s(_,$){return($??[]).filter(({prescriptionIdList:U})=>!U.includes(_.id))}function Z(_,$){return(0,C.some)($,U=>U.prescriptionIdList.includes(_.id))?$:[...$??[],{createdOn:new Date,id:(0,d.v4)(),prescriptionIdList:[_.id]}]}function A(_,$,U){return _.map(I=>I.id!==$?I:function M(_,$){return{..._,medicationList:(_.medicationList??[]).map($?v:u)}}(I,U))}function L(_,$,U){return{..._,medicationList:K(_.medicationList,$,U)}}function K(_,$,U){return(_??[]).map(I=>I.id!==$?I:U?v(I):u(I))}function u(_){return function D(_){return _.status===g.i.REDEEMED}(_)?{..._,status:g.i.NEW}:_}function v(_){return function r(_){return _.status===g.i.NEW}(_)?{..._,status:g.i.REDEEMED}:_}function S(_,$){const U=(0,C.map)((0,C.filter)(_.medicationList,{status:g.i.NEW}),({id:T})=>T);if(0===U.length)return!1;const I=(0,C.filter)($,T=>!(0,C.isEmpty)((0,C.intersection)(T.medicationIdList,U)));return(0,C.filter)(I,T=>T.status!==b.R.CANCELED).length<U.length}},97487:(re,j,t)=>{t.d(j,{b:()=>Se});
1var n=t(75281),e=t(90163),l=t(8113),y=t(24200),d=t(81508),p=t(93960),g=t(60315),b=t(87199),C=t(22146),x=t(75313),h=t(1558),B=t(39095),m=t(94554),P=t(28606),s=t(2812),Z=t(63386);const A=F=>({physicianName:F}),M=F=>({practiceName:F}),L=(F,Y,w)=>({physicianName:F,appointmentDate:Y,appointmentHour:w});function K(F,Y){1&F&&n.\u0275\u0275element(0,"span",18)}function u(F,Y){1&F&&n.\u0275\u0275element(0,"span",19)}function D(F,Y){1&F&&n.\u0275\u0275element(0,"span",20)}function v(F,Y){1&F&&n.\u0275\u0275element(0,"span",21)}function r(F,Y){if(1&F&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),2&F){const w=n.\u0275\u0275nextContext().$implicit;n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind2(2,1,w.text,n.\u0275\u0275pureFunction1(4,A,w.data.physicianName))," ")}}function S(F,Y){if(1&F&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),2&F){const w=n.\u0275\u0275nextContext().$implicit;n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind2(2,1,w.text,n.\u0275\u0275pureFunction1(4,M,w.data.practiceName))," ")}}function _(F,Y){if(1&F&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"date"),n.\u0275\u0275pipe(3,"date"),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd()),2&F){const w=n.\u0275\u0275nextContext().$implicit,N=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind2(4,7,w.text,n.\u0275\u0275pureFunction3(10,L,w.data.physicianName,n.\u0275\u0275pipeBind2(2,1,w.data.appointmentDate,N.dateLongFormat),n.\u0275\u0275pipeBind2(3,4,w.data.appointmentDate,"HH:mm")))," ")}}function $(F,Y){if(1&F&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),2&F){const w=n.\u0275\u0275nextContext().$implicit;n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(2,1,w.text)," ")}}function U(F,Y){if(1&F){const w=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",3),n.\u0275\u0275listener("click",function(){const oe=n.\u0275\u0275restoreView(w).$implicit,le=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(le.dismissMessage(oe))}),n.\u0275\u0275elementStart(1,"div",4)(2,"div",5),n.\u0275\u0275element(3,"span",6),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"div",7)(5,"div",8),n.\u0275\u0275text(6),n.\u0275\u0275pipe(7,"translate"),n.\u0275\u0275pipe(8,"uppercase"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(9,"div",9),n.\u0275\u0275template(10,K,1,0,"span",10)(11,u,1,0,"span",11)(12,D,1,0,"span",12)(13,v,1,0,"span",13),n.\u0275\u0275elementStart(14,"div",14),n.\u0275\u0275text(15),n.\u0275\u0275pipe(16,"translate"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(17,"div",15),n.\u0275\u0275template(18,r,3,6,"div",16)(19,S,3,6,"div",16)(20,_,5,14,"div",16)(21,$,3,3,"div",17),n.\u0275\u0275elementEnd()()()}if(2&F){const w=Y.$implicit,N=n.\u0275\u0275nextContext();n.\u0275\u0275classMapInterpolate1("toastr-message type-",w.severity,""),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngClass","toastr-"+w.severity),n.\u0275\u0275advance(),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(8,16,n.\u0275\u0275pipeBind1(7,14,"toast.severity-"+w.severity))),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngIf","success"===w.severity),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf","danger"===w.severity),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf","info"===w.severity),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf","warning"===w.severity),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(16,18,w.data.title)),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngSwitch",w.data.case),n.\u0275\u0275advance(),n.\u0275\u0275property("ngSwitchCase",N.toastrMessagesCases.SuccessAddedPhysicianToFavorite),n.\u0275\u0275advance(),n.\u0275\u0275property("ngSwitchCase",N.toastrMessagesCases.SuccessAddedPracticeToFavorite),n.\u0275\u0275advance(),n.\u0275\u0275property("ngSwitchCase",N.toastrMessagesCases.SuccessBookedAppointment)}}let I=(()=>{class F{constructor(w,N,oe){this.toastrService=w,this.router=N,this.hostEnvironmentService=oe,this.dateLongFormat=this.hostEnvironmentService.getAppConfig().longDateFormat.LB,this.messages=[],this.toastrMessagesCases=m.a,this.unsubscribe$=new y.Subject}ngOnInit(){this.router.events.pipe((0,d.takeUntil)(this.unsubscribe$),(0,d.map)(w=>{w instanceof e.NavigationStart&&this.toastrService.clearMessages()})).subscribe(),this.toastrService.$messages.pipe((0,d.takeUntil)(this.unsubscribe$),(0,d.map)(w=>{this.messages=w})).subscribe()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}dismissMessage(w){this.toastrService.removeMessage(w.id)}static{this.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(s.t),n.\u0275\u0275directiveInject(e.Router),n.\u0275\u0275directiveInject(Z.N))}}static{this.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["app-toastr"]],decls:3,vars:1,consts:[[1,"toastr"],[1,"toastr-messages"],[3,"class","click",4,"ngFor","ngForOf"],[3,"click"],[1,"toastr-data-container"],[1,"toastr-close"],[1,"icon","icon-CO_close"],[1,"toastr-severity"],[1,"toastr-text",3,"ngClass"],[1,"toastr-header"],["class","icon icon-BI_true success",4,"ngIf"],["class","icon icon-TB_cancel danger",4,"ngIf"],["class","icon icon-AT_information info",4,"ngIf"],["class","icon icon-AT_endangerment warning",4,"ngIf"],[1,"toastr-title"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"icon","icon-BI_true","success"],[1,"icon","icon-TB_cancel","danger"],[1,"icon","icon-AT_information","info"],[1,"icon","icon-AT_endangerment","warning"]],template:function(N,oe){1&N&&(n.\u0275\u0275elementStart(0,"div",0)(1,"div",1),n.\u0275\u0275template(2,U,22,20,"div",2),n.\u0275\u0275elementEnd()()),2&N&&(n.\u0275\u0275advance(2),n.\u0275\u0275property("ngForOf",oe.messages))},dependencies:[b.NgFor,b.NgClass,b.NgIf,b.NgSwitch,b.NgSwitchCase,b.NgSwitchDefault,b.UpperCasePipe,b.DatePipe,P.TranslatePipe],styles:['.toastr[_ngcontent-%COMP%]{z-index:9999999999;position:absolute;right:0;top:100%;max-width:500px;margin:24px 24px 8px auto}@media screen and (max-width: 904px){.toastr[_ngcontent-%COMP%]{position:fixed;left:0;width:calc(100% - 30px);top:inherit;margin:16px auto 8px;max-width:100%}}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%]{box-shadow:0 1px 18px #9199c91f,0 6px 10px #9199c924,0 3px 5px -1px #9199c933;background-color:#fff;position:relative;cursor:pointer;margin-bottom:8px;border-radius:5px}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:24px;margin-right:8px}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%]:before{border-bottom-left-radius:5px;border-top-left-radius:5px;position:absolute;content:"";height:100%;width:6px;left:0;top:0}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-info[_ngcontent-%COMP%]:before{background-color:var(--blue-primary-100)}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-info[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:var(--blue-primary-100)}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-success[_ngcontent-%COMP%]:before{background-color:#3a9d26}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-success[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#3a9d26}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-danger[_ngcontent-%COMP%]:before{background-color:#cc231a}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-danger[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#cc231a}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-warning[_ngcontent-%COMP%]:before{background-color:#eca540}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message.type-warning[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#eca540}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%]{padding:24px}@media screen and (max-width: 904px){.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%]{padding:16px}}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-close[_ngcontent-%COMP%]{position:absolute;top:8px;right:8px}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-close[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:0;color:#339cd3}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-severity[_ngcontent-%COMP%]{font-size:12px;font-weight:900;line-height:1.33}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-severity[_ngcontent-%COMP%] .toastr-success[_ngcontent-%COMP%]{color:#3a9d26}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-severity[_ngcontent-%COMP%] .toastr-info[_ngcontent-%COMP%]{color:var(--blue-primary-100)}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-severity[_ngcontent-%COMP%] .toastr-danger[_ngcontent-%COMP%]{color:#cc231a}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-severity[_ngcontent-%COMP%] .toastr-warning[_ngcontent-%COMP%]{color:#eca540}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-header[_ngcontent-%COMP%]{display:flex;align-items:center;margin:8px 0}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-header[_ngcontent-%COMP%] .toastr-title[_ngcontent-%COMP%]{font-size:18px;font-weight:900;line-height:1.22em;color:#32566f}.toastr[_ngcontent-%COMP%] .toastr-messages[_ngcontent-%COMP%] .toastr-message[_ngcontent-%COMP%] .toastr-data-container[_ngcontent-%COMP%] .toastr-text[_ngcontent-%COMP%]{font-size:14px;line-height:1.43em;color:#32566f99}']})}}return F})();var E=t(60648),T=t(58286),f=t(72982),k=t(92765);const Q=F=>({"remove-cursor-pointer":F}),X=()=>({exact:!0});function ee(F,Y){1&F&&(n.\u0275\u0275elementStart(0,"li",15)(1,"a",21)(2,"span",12),n.\u0275\u0275text(3),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd()()()),2&F&&(n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(4,1,"main_navigation_go_to_eRezept")))}function H(F,Y){1&F&&(n.\u0275\u0275elementStart(0,"li",18)(1,"a",22)(2,"span",12),n.\u0275\u0275text(3),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd()()()),2&F&&(n.\u0275\u0275property("routerLinkActive","menu-item-active"),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(4,2,"main_navigation_go_to_eRezept")))}function ge(F,Y){if(1&F&&(n.\u0275\u0275elementStart(0,"li",18)(1,"a",23)(2,"span",12),n.\u0275\u0275text(3),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd()()()),2&F){const w=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("routerLinkActive","menu-item-active"),n.\u0275\u0275advance(),n.\u0275\u0275property("routerLink",w.MagazinePage),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(4,3,"main_navigation_go_to_magazine"))}}function fe(F,Y){if(1&F&&(n.\u0275\u0275elementStart(0,"li",18)(1,"a",23)(2,"span",12),n.\u0275\u0275text(3),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd()()()),2&F){const w=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("routerLinkActive","menu-item-active"),n.\u0275\u0275advance(),n.\u0275\u0275property("routerLink",w.HelpLandingPage),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(4,3,"main_navigation_go_to_help_page"))}}function Pe(F,Y){1&F&&(n.\u0275\u0275elementStart(0,"li",15)(1,"a",24)(2,"span",12),n.\u0275\u0275text(3),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd()()()),2&F&&(n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(4,1,"main_navigation_go_to_my_favorites")))}function Ee(F,Y){1&F&&(n.\u0275\u0275elementStart(0,"div",30)(1,"div",31),n.\u0275\u0275element(2,"app-login-user-content"),n.\u0275\u0275elementEnd()())}function xe(F,Y){if(1&F){const w=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"li",25,0)(2,"a",26),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(w),n.\u0275\u0275resetVie
1w(!1)}),n.\u0275\u0275elementStart(3,"div",27),n.\u0275\u0275text(4),n.\u0275\u0275pipe(5,"translate"),n.\u0275\u0275element(6,"span",28),n.\u0275\u0275elementEnd()(),n.\u0275\u0275template(7,Ee,3,0,"div",29),n.\u0275\u0275elementEnd()}2&F&&(n.\u0275\u0275advance(4),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(5,1,"main_navigation_sign_in_btn")," "))}function ye(F,Y){1&F&&(n.\u0275\u0275elementStart(0,"div",30),n.\u0275\u0275element(1,"app-user-profile-details"),n.\u0275\u0275elementEnd())}function ve(F,Y){if(1&F){const w=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"li",32,1)(2,"a",33),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(w),n.\u0275\u0275resetView(!1)}),n.\u0275\u0275element(3,"app-avatar",34),n.\u0275\u0275pipe(4,"async"),n.\u0275\u0275elementStart(5,"span",35),n.\u0275\u0275text(6),n.\u0275\u0275pipe(7,"translate"),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(8,"span",28),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(9,ye,2,0,"div",29),n.\u0275\u0275elementEnd()}if(2&F){const w=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(3),n.\u0275\u0275property("src",n.\u0275\u0275pipeBind1(4,2,w.avatarUser)),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(7,4,"main_navigation_go_to_myProfile"))}}function ne(F,Y){if(1&F){const w=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div")(1,"ul",9)(2,"li",10)(3,"a",11),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(w);const oe=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(oe.goToStartPage())}),n.\u0275\u0275elementStart(4,"span",12),n.\u0275\u0275text(5),n.\u0275\u0275pipe(6,"translate"),n.\u0275\u0275elementEnd()()(),n.\u0275\u0275template(7,ee,5,3,"li",13)(8,H,5,4,"li",14),n.\u0275\u0275elementStart(9,"li",15)(10,"a",16)(11,"span",12),n.\u0275\u0275text(12),n.\u0275\u0275pipe(13,"translate"),n.\u0275\u0275elementEnd()()(),n.\u0275\u0275template(14,ge,5,5,"li",17)(15,fe,5,5,"li",18)(16,Pe,5,3,"li",13)(17,xe,8,3,"li",19),n.\u0275\u0275pipe(18,"async"),n.\u0275\u0275pipe(19,"async"),n.\u0275\u0275template(20,ve,10,6,"li",20),n.\u0275\u0275pipe(21,"async"),n.\u0275\u0275elementEnd()()}if(2&F){const w=n.\u0275\u0275nextContext();n.\u0275\u0275advance(2),n.\u0275\u0275property("routerLinkActiveOptions",n.\u0275\u0275pureFunction0(20,X)),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(6,10,"main_navigation_go_to_landing_page")),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngIf","fr"===w.countryCode),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf","de"===w.countryCode),n.\u0275\u0275advance(4),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(13,12,"main_navigation_go_to_my_appointments")),n.\u0275\u0275advance(2),n.\u0275\u0275property("cdFeatureToggle","magazine"),n.\u0275\u0275advance(),n.\u0275\u0275conditional("fr"!==w.countryCode?15:-1),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf","fr"===w.countryCode),n.\u0275\u0275advance(),n.\u0275\u0275property("ngIf",void 0===n.\u0275\u0275pipeBind1(18,14,w.profile)||null===n.\u0275\u0275pipeBind1(19,16,w.profile)),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",n.\u0275\u0275pipeBind1(21,18,w.profile))}}let Se=(()=>{class F{constructor(w,N,oe,le,q,Me,G,V){this.authService=w,this.hostEnvironmentService=N,this.loaderService=oe,this.loginService=le,this.preventBrowserPopupService=q,this.router=Me,this.sharedService=G,this.userProfileService=V,this.isMenuVisible=(0,n.input)(),this.dropdown=(0,n.viewChild)(l.BsDropdownDirective),this.dropdown2=(0,n.viewChild)(l.BsDropdownDirective),this.HelpLandingPage="/"+this.hostEnvironmentService.getAppConfig().help.urlSegment.base,this.faqLink=this.hostEnvironmentService.getAppConfig().faqLink,this.defaultAvatarImagePath="./assets/img/avatars/profile.svg",this.profile=new y.BehaviorSubject(void 0),this.avatarUser=new y.BehaviorSubject(""),this.navigationOnSearchPage=new y.BehaviorSubject(!1),this.MagazinePage="/"+this.hostEnvironmentService.getAppConfig().magazine?.urlSegment.base,this.unsubscribe$=new y.Subject}ngOnInit(){this.countryCode=this.hostEnvironmentService.getEnvironment().configuration,this.userProfileService.userProfileChanged$().pipe((0,d.takeUntil)(this.unsubscribe$)).subscribe(N=>{if(this.userProfileService.getUserTypeStateValue()!==p.UserTypeEnum.SAS&&(this.profile.next(N),N)){const oe=N._image?this.userProfileService.getAvatarURL(N._image):this.defaultAvatarImagePath;this.avatarUser.next(oe)}});const w=this.router.url;this.router.events.pipe((0,d.takeUntil)(this.unsubscribe$),(0,d.filter)(N=>N instanceof e.NavigationEnd),(0,d.map)(N=>N.urlAfterRedirects),(0,d.startWith)(w)).subscribe(N=>{this.navigationOnSearchPage.next(N&&(N.includes("/search")||N.includes("/termin")||N.includes("/annuaire")))})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}logout(w){this.loaderService.displayLoader(),this.sharedService.stopEvents(w),this.authService.logOut().pipe((0,d.takeUntil)(this.unsubscribe$),(0,d.map)(()=>{this.profile.next(void 0),this.router.navigate([""])}),(0,d.finalize)(()=>{this.loaderService.hideLoader()})).subscribe()}wsLogin(){this.authService.login$(this.countryCode).subscribe()}goToStartPage(){this.preventBrowserPopupService.hidePopup(),this.router.navigate([""])}goToFaq(w){this.preventBrowserPopupService.hidePopup(),this.sharedService.stopEvents(w),this.redirectWithOtp(this.faqLink)}goToLandingPage(w){w.preventDefault(),this.isMenuVisible()&&this.router.navigate([""])}redirectWithOtp(w,N="authToken"){this.loginService.createOneTimeLogin().pipe((0,d.takeUntil)(this.unsubscribe$),(0,d.map)(oe=>{oe&&window.open(`${w}?${N}=${oe}`,"_self")})).subscribe()}closeNavigationDrodown(){this.dropdown()?.isOpen&&this.dropdown().toggle(!0),this.dropdown2()?.isOpen&&this.dropdown2().toggle(!0)}static{this.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(E.AuthService),n.\u0275\u0275directiveInject(Z.N),n.\u0275\u0275directiveInject(T.LoaderService),n.\u0275\u0275directiveInject(f.LoginService),n.\u0275\u0275directiveInject(k.H),n.\u0275\u0275directiveInject(e.Router),n.\u0275\u0275directiveInject(T.SharedService),n.\u0275\u0275directiveInject(p.UserProfileService))}}static{this.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["app-top-navigation"]],viewQuery:function(N,oe){1&N&&(n.\u0275\u0275viewQuerySignal(oe.dropdown,l.BsDropdownDirective,5),n.\u0275\u0275viewQuerySignal(oe.dropdown2,l.BsDropdownDirective,5)),2&N&&n.\u0275\u0275queryAdvance(2)},hostBindings:function(N,oe){1&N&&n.\u0275\u0275listener("popstate",function(q){return oe.closeNavigationDrodown(q)},!1,n.\u0275\u0275resolveWindow)("keydown.tab",function(q){return oe.closeNavigationDrodown(q)})},inputs:{isMenuVisible:[1,"isMenuVisible"]},decls:10,vars:10,consts:[["dropdown","bs-dropdown"],["dropdown2","bs-dropdown"],[1,"header"],["cdPageMarginLayout","",1,"header-wrapper"],[1,"",3,"ngClass"],[1,"header-logo"],[1,"logo",3,"click","ngClass"],["loading","lazy","width","165","height","93","src","assets/img/logo/logo.svg"],[4,"ngIf"],[1,"menu-desktop"],["routerLinkActive","menu-item-active",1,"menu-item",3,"routerLinkActiveOptions"],["routerLink","",1,"menu-link",3,"click"],[1,"menu-text"],["class","menu-item","routerLinkActive","menu-item-active",4,"ngIf"],["class","menu-item",3,"routerLinkActive",4,"ngIf"],["routerLinkActive","menu-item-active",1,"menu-item"],["routerLink","/my-appointments/overview","data-automation","Top navigation - My appointments link",1,"menu-link"],["class","menu-item",3,"routerLinkActive",4,"cdFeatureToggle"],[1,"menu-item",3,"routerLinkActive"],["class","menu-item fullOpacity","routerLinkActive","menu-item-active","dropdown","","placement","bottom right",4,"ngIf"],["class","menu-item fullOpacity menu-dropdown-item","dropdown","","placement","bottom right",4,"ngIf"],["routerLink","/eOrdonnance",1,"menu-link"],["routerLink","/erezept",1,"menu-link"],[1,"menu-link",3,"routerLink"],["routerLink","/my-doctors",1,"menu-link"],["routerLinkActive","menu-item-active","dropdown","","placement","bottom right",1,"menu-item","fullOpacity"],["href","","dropdownToggle","",1,"menu-button",3,"click"],[1,"menu-button-label","d-flex"],[1,"icon","icon-G3_dropdownList"],["class","dropdown-menu","aria-labelledby","navbarDropdown",4,"dropdownMenu"],["aria-labelledby","navbarDropdown",1,"dropdown-menu"],[1,"dropdown-container","not-logged-modal"],["dropdown","","placement","bottom right",1,"menu-item","fullOpacity","menu-dropdown-item"],["href","","dropdownToggle","",1,"menu-button","user-profile-dropdown-toggle",3,"click"],[1,"extra-extra-small",3,"src"],[1,"profile-button-label"]],template:function(N,oe){1&N&&(n.\u0275\u0275elementStart(0,"div",2)(1,"div",3)(2,"div",4),n.\u0275\u0275pipe(3,"async"),n.\u0275\u0275elementStart(4,"div",5)(5,"a",6),n.\u0275\u0275listener("click",function(q){return oe.goToLandingPage(q)}),n.\u0275\u0275element(6,"img",7),n.\u0275\u0275pipe(7,"translate"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275template(8,ne,22,21,"div",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275element(9,"app-toastr"),n.\u0275\u0275elementEnd()),2&N&&(n.\u0275\u0275advance(2),n.\u0275\u0275property("ngClass",!1===n.\u0275\u0275pipeBind1(3,4,oe.navigationOnSearchPage)?"header-container":"full-width-header-container"),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction1(8,Q,!oe.isMenuVisible())),n.\u0275\u0275advance(),n.\u0275\u0275attribute("alt",n.\u0275\u0275pipeBind1(7,6,"clickdoc_logo")),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngIf",oe.isMenuVisible()))},dependencies:[g.PageMarginLayoutDirective,b.NgClass,b.NgIf,e.RouterLinkActive,e.RouterLink,C.FeatureToggleDirective,l.BsDropdownDirective,l.BsDropdownToggleDirective,l.BsDropdownMenuDirective,x.t,h.f,B.I,I,b.AsyncPipe,P.TranslatePipe],styles:['.content__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal}.section__subheader[_ngcontent-%COMP%]{margin:unset;margin:0 0 16px;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__subtitle[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.section__text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.section__hint-text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}.comment__header[_ngcontent-%COMP%]{margin:unset;margin:0;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.44px}.comment__text[_ngcontent-%COMP%]{margin:unset;margin:0 0 2px;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.25px}
1.h1-h1--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:34px;line-height:45px;letter-spacing:.0025em}.h2-h2--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:24px;line-height:32px}.h2-h2--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:22px;line-height:28px}.h3-h3--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:22px;line-height:28px}.h3-h3--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:22px;line-height:28px}.h4-h4--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:20px;line-height:26px;letter-spacing:.0015em}.h4-h4--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:26px;letter-spacing:.0015em}.h5-h5--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px}
1.h5-h5--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:18px;line-height:24px}.h5-h5--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:18px;line-height:24px}.h5-h5--bold--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:24px;text-transform:uppercase}.body-body--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:700;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.0044em}.body-body--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:16px;line-height:24px;letter-spacing:.0044em;text-transform:uppercase}.small-small--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.0025em}.small-small--medium--uppercase[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.0025em;text-transform:uppercase}.cdc-display-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:400}
1.cdc-display-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:500}.cdc-display-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:42px;line-height:63px;letter-spacing:.25px;font-weight:700}.cdc-heading-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:400}.cdc-heading-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:500}.cdc-heading-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:36px;line-height:54px;letter-spacing:.25px;font-weight:700}.cdc-heading-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:400}.cdc-heading-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:500}.cdc-heading-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:32px;line-height:48px;letter-spacing:.25px;font-weight:700}.cdc-heading-03--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:400}.cdc-heading-03--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:500}.cdc-heading-03--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:28px;line-height:42px;letter-spacing:.25px;font-weight:700}.cdc-heading-04--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:400}.cdc-heading-04--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:500}.cdc-heading-04--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:24px;line-height:36px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:400}
1.cdc-heading-05--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:500}.cdc-heading-05--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;font-weight:700}.cdc-heading-05--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:400}.cdc-heading-05--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:500}.cdc-heading-05--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:20px;line-height:30px;letter-spacing:.25px;text-transform:uppercase;font-weight:700}.cdc-body-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:400}
1.cdc-body-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:500;--cdc-font-weight: 500}.cdc-body-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:700}.cdc-body-01--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:400}.cdc-body-01--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:500}.cdc-body-01--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;text-transform:uppercase;font-weight:700}.cdc-body-02--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:400}.cdc-body-02--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:500}.cdc-body-02--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;font-weight:700}.cdc-body-02--uppercase--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:400}.cdc-body-02--uppercase--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:500}.cdc-body-02--uppercase--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;letter-spacing:1.25px;text-transform:uppercase;font-weight:700}.cdc-caption-01--regular[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px}
1.cdc-caption-01--medium[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:500}.cdc-caption-01--bold[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;font-weight:700}a[_ngcontent-%COMP%]{cursor:pointer}a[_ngcontent-%COMP%]:visited:focus{outline:none}a[_ngcontent-%COMP%]:focus{outline-color:var(--colorthemes-themes-primary-on-primary)!important}ul[_ngcontent-%COMP%]{margin-bottom:0}.menu-item-active[_ngcontent-%COMP%]:before{content:"";position:absolute;border-radius:2px;top:56px;right:0;width:100%;height:4px;background-color:var(--colorthemes-themes-primary-on-primary)}.header[_ngcontent-%COMP%]{position:relative;width:100%;z-index:9000;background-color:var(--colorthemes-themes-primary-primary)}.header.hidden[_ngcontent-%COMP%]{visibility:hidden}.header.visible[_ngcontent-%COMP%]{visibility:visible}.header[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%] .header-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;max-width:1372px}.header[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%] .header-container[_ngcontent-%COMP%] .header-logo[_ngcontent-%COMP%]{padding:14px 0}.header[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%] .header-container[_ngcontent-%COMP%] .header-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:30px}.header[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%] .full-width-header-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.header[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%] .full-width-header-container[_ngcontent-%COMP%] .header-logo[_ngcontent-%COMP%]{padding:14px 0}.header[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%] .full-width-header-container[_ngcontent-%COMP%] .header-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:30px}.header[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%] .full-width-header-container[_ngcontent-%COMP%] .header-logo[_ngcontent-%COMP%] .remove-cursor-pointer[_ngcontent-%COMP%]{cursor:auto}.header[_ngcontent-%COMP%] .menu-notifier[_ngcontent-%COMP%]{width:10px;height:10px;border:solid 2px #339cd3;border-radius:5px;background-color:#ff9757}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:var(--cdc-spacing-400)}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]{padding:14px 0;list-style:none;align-items:center;display:flex;position:relative;height:60px}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .icon-notification-fill[_ngcontent-%COMP%]:hover{cursor:pointer;opacity:.7}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:hover:not(.menu-dropdown-item), .header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item.menu-item-active[_ngcontent-%COMP%]{opacity:1}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-icon[_ngcontent-%COMP%]{align-items:center;display:flex;font-size:19px}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%]{display:flex;align-items:center}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%]:hover{opacity:.7}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%]:hover .white-icon[_ngcontent-%COMP%]{display:none}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%]:hover .colored-icon[_ngcontent-%COMP%]{display:block}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%] .colored-icon[_ngcontent-%COMP%]{display:none}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%] .menu-icon[_ngcontent-%COMP%]{align-items:center;display:flex;font-size:19px}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%] .menu-text[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:700;color:var(--colorthemes-themes-primary-on-primary);white-space:nowrap;bottom:0}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%] .menu-item-notifier[_ngcontent-%COMP%]{position:absolute;
1left:36px;bottom:36px}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .profile-button-label[_ngcontent-%COMP%]{margin-left:8px}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%]:after{content:"";position:absolute;border-radius:var(--cdc-space-025);height:var(--cdc-space-050);background-color:var(--colorthemes-themes-primary-on-primary);width:0px;inset:56px 0 0 50%;opacity:.7;transition:all ease-in-out .2s}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-link[_ngcontent-%COMP%]:hover:after{width:100%;left:0}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{margin:unset;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:24px;--cdc-font-family: variables-design.$font-roboto;--cdc-font-size: 16px;--cdc-font-style: normal;--cdc-font-weight: 400;--cdc-letter-spacing: .25px;--cdc-line-height: 24px;font-weight:700;display:flex;align-items:center;color:var(--colorthemes-themes-primary-on-primary);border:1px solid var(--colorthemes-themes-primary-on-primary);border-radius:4px;padding:4px 0 4px 8px;width:auto;text-decoration:none}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .menu-button-label[_ngcontent-%COMP%]{margin-top:0}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .icon-G3_dropdownList[_ngcontent-%COMP%]{font-weight:600;margin:0 13px}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:last-child{margin-right:0}.header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%] .fullOpacity[_ngcontent-%COMP%]{opacity:1}.header[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{left:auto!important;right:0!important;margin-top:10px;box-shadow:0 2px 16px #28282833;border-radius:8px;z-index:1;border:0;padding:0;width:320px}.cdc-medium[_nghost-%COMP%] .header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%], .cdc-medium [_nghost-%COMP%] .header[_ngcontent-%COMP%] .menu-desktop[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:var(--cdc-spacing-300)}'],changeDetection:0})}}return F})()},99686:(re,j,t)=>{function n(l,y,d,p,g,b,C){try{var x=l[b](C),h=x.value}catch(B){return void d(B)}x.done?y(h):Promise.resolve(h).then(p,g)}function e(l){return function(){var y=this,d=arguments;return new Promise(function(p,g){var b=l.apply(y,d);function C(h){n(b,p,g,C,x,"next",h)}function x(h){n(b,p,g,C,x,"throw",h)}C(void 0)})}}t.d(j,{A:()=>e})}}]);
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.