1import{a as B}from"./chunk-CSVBOB5R.js";import{d as N}from"./chunk-7NDCV4TH.js";import"./chunk-M4BBHMUQ.js";import"./chunk-7MZZCFIS.js";import"./chunk-RJQSDUSN.js";import"./chunk-CEBYSYQU.js";import"./chunk-VDIDQJV5.js";import"./chunk-ZJOXLAVQ.js";import"./chunk-FQFTTORG.js";import{a as A}from"./chunk-E3ODC5JH.js";import"./chunk-KWW7ODW3.js";import"./chunk-A2WID2JB.js";import"./chunk-2PK6NSNI.js";import"./chunk-FZE7YJYO.js";import"./chunk-GLOBIKT5.js";import"./chunk-77XT72XF.js";import"./chunk-LJAAT2KU.js";import"./chunk-UPRX65TO.js";import{A as C}from"./chunk-7YCYXNAM.js";import{Dc as D,Gc as _,Ib as m,Uc as l,Vc as p,Wc as R,ec as v,ed as w,gc as u,hc as h,jb as b,jc as E,kc as M,lc as S,mc as f,nc as x,oc as I,pa as P,pb as n,pc as d,qc as s,rc as O,sd as c,td as a,ub as y,wc as T}from"./chunk-AYKCQY4O.js";import"./chunk-COYXNZ6O.js";function k(e,t){if(e&1&&(d(0,"li"),l(1),s()),e&2){let i=_(3);n(),p(i.selectedService==null||i.selectedService.paymentPolicy==null?null:i.selectedService.paymentPolicy.description)}}function L(e,t){if(e&1&&(d(0,"li"),l(1),c(2,"returnPolicyTextPipe"),s()),e&2){let i=t.$implicit;n(),p(a(2,1,i))}}function j(e,t){if(e&1&&(d(0,"div",1)(1,"h3"),l(2),c(3,"translate"),s(),d(4,"div",4),v(5,k,2,1,"li"),E(6,L,3,3,"li",null,h),s()()),e&2){let i=_(2);n(2),p(a(3,2,"SEARCH_DOCTORS.PRICE_RETURN_POLICIES")),n(3),u(!(i.selectedService==null||i.selectedService.paymentPolicy==null)&&i.selectedService.paymentPolicy.description?5:-1),n(),M(i.selectedService==null||i.selectedService.paymentPolicy==null?null:i.selectedService.paymentPolicy.returnPolicies)}}function V(e,t){if(e&1&&(v(0,j,8,4,"div",1),d(1,"div",2)(2,"div",3)(3,"li"),l(4),c(5,"translate"),s()()()),e&2){let i=_();u(i.selectedService!=null&&i.selectedService.paymentPolicy?0:-1),n(4),p(a(5,2,"APPOINTMENTS.SERVICE_DESCRIPTION_PRICE_RULE"))}}var F=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["app-doctor-service-description-modal-inner"]],inputs:{selectedService:"selectedService"},decls:2,vars:2,consts:[[1,"whitespace-pre-line",3,"innerHTML"],[1,"step-4-box","step-4-box-clinic"],[1,"step-4-box","step-4-box-boghrat"],[1,"step-4-box-inner"],[1,"step-4-box-inner","step-4-box-inner-error"]],template:function(o,r){o&1&&(O(0,"div",0),v(1,V,6,4)),o&2&&(T("innerHTML",r.selectedService==null?null:r.selectedService.description,b),n(),u(r.selectedService!=null&&r.selectedService.price?1:-1))},dependencies:[C,B],styles:["[_nghost-%COMP%]{--doctor-service-boghrat-border: #699ef6;display:flex;flex-direction:column;gap:var(--vertical-space-small);max-height:90vh;overflow-y:auto}.step-4-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;border-radius:var(--radius-normal);padding:var(--vertical-space-small);border:1px solid var(--boghrat-border)}.step-4-box[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{font-size:15px;font-weight:600;margin-bottom:var(--vertical-space-x-small);display:flex;align-items:center;justify-content:space-between}.step-4-box-clinic[_ngcontent-%COMP%]{border-color:var(--boghrat-text-success-light)}.step-4-box-boghrat[_ngcontent-%COMP%]{border-color:var(--doctor-service-boghrat-border)}.step-4-box-success[_ngcontent-%COMP%]{border-color:var(--success-light)}.step-4-box-inner[_ngcontent-%COMP%]{border-radius:var(--radius-large);display:flex;flex-direction:column;padding:0;border:none;margin-bottom:var(--vertical-space-mini)}.step-4-box-inner[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:disc inside;text-align:justify}.step-4-box-inner-error[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{color:var(--error-light)}.step-4-box-inner[_ngcontent-%COMP%]:last-child{margin:0}"]});let e=t;return e})();var ee=(()=>{let t=class t{constructor(){this.onFinish=new y,this._matDialogRef=P(N)}finish(){this.onFinish.emit(!0),this._matDialogRef.close()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["app-doctor-service-description-modal"]],inputs:{selectedService:"selectedService"},outputs:{onFinish:"onFinish"},decls:10,vars:8,consts:[[1,"modal-header"],[1,"modal-header-title"],[1,"modal-body","flex","flex-col","gap-3"],[3,"selectedService"],[1,"modal-footer"],["color","success",3,"clicked","title"]],template:function(o,r){o&1&&(f(0,"div",0)(1,"div",1)(2,"span"),l(3),c(4,"translate"),x()()(),f(5,"div",2),I(6,"app-doctor-service-description-modal-inner",3),x(),f(7,"div",4)(8,"app-button",5),c(9,"translate"),D("clicked",function(){return r.finish()}),x()()),o&2&&(n(3),R(" ",a(4,4,"APPOINTMENTS.SERVICE_TIPS")," "),n(3),S("selectedService",r.selectedService),n(2),S("title",w(a(9,6,"APPOINTMENTS.I_HAVE_READ"))))},dependencies:[A,F,C],styles:[".modal-body[_ngcontent-%COMP%]{overflow-y:auto;max-height:calc(var(--doc-height) - 110px)}.modal-footer[_ngcontent-%COMP%] > app-button[_ngcontent-%COMP%]{flex:1}"]});let e=t;return e})();export{ee as DoctorServiceDescriptionModalComponent};
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.