1"use strict";(self.webpackChunkdemoapp=self.webpackChunkdemoapp||[]).push([[987],{80987(y,x,o){o.d(x,{TreatmentExamplesModule:()=>B});var l=o(72200),_=o(93887),s=o(38132),c=o(10467),u=o(42244),g=o(95816),r=o(2615);let d=(()=>{var e;class a{constructor(m){this.httpService=m}getTreatmentExample(m){var n=this;return(0,c.A)(function*(){return yield n.httpService.send("GET",{url:`treatment_examples/${m}`,isNotShowLoader:!0})})()}static#t=e=()=>(this.\u0275fac=function(n){return new(n||a)(r.KVO(g.k))},this.\u0275prov=r.jDH({token:a,factory:a.\u0275fac,providedIn:"root"}))}return e(),a})();var t=o(73664),h=o(96614);function f(e,a){if(1&e){const i=t.RV6();t.j41(0,"div",16)(1,"img",17),t.bIt("click",function(){r.eBV(i);const n=t.XpG(2);return r.Njj(n.openPhotoViewer(0))}),t.k0s(),t.j41(2,"span",18),t.EFF(3,"Before"),t.k0s()()}if(2&e){const i=t.XpG(2);t.R7$(),t.Y8G("src",i.treatmentExampleDetail.before_photo,t.B4B)}}function E(e,a){if(1&e){const i=t.RV6();t.j41(0,"div",16)(1,"img",19),t.bIt("click",function(){r.eBV(i);const n=t.XpG(2);return r.Njj(n.openPhotoViewer(1))}),t.k0s(),t.j41(2,"span",20),t.EFF(3,"After"),t.k0s()()}if(2&e){const i=t.XpG(2);t.R7$(),t.Y8G("src",i.treatmentExampleDetail.after_photo,t.B4B)}}function F(e,a){if(1&e&&(t.j41(0,"span",21),t.EFF(1),t.k0s()),2&e){const i=a.$implicit;t.R7$(),t.SpI(" ",i," ")}}function v(e,a){if(1&e&&(t.j41(0,"div",14)(1,"h3",10),t.EFF(2,"\u30c9\u30af\u30bf\u30fc\u304b\u3089\u306e\u30b3\u30e1\u30f3\u30c8"),t.k0s(),t.j41(3,"p",9),t.EFF(4),t.k0s()()),2&e){const i=t.XpG(2);t.R7$(4),t.JRh(i.treatmentExampleDetail.doctor_comment)}}function C(e,a){if(1&e&&(t.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),t.DNE(4,f,4,1,"div",5)(5,E,4,1,"div",5),t.k0s(),t.j41(6,"h1",6),t.EFF(7),t.k0s(),t.j41(8,"section",7)(9,"h2",8),t.EFF(10,"\u65bd\u8853\u5185\u5bb9"),t.k0s(),t.j41(11,"p",9),t.EFF(12),t.k0s()(),t.j41(13,"section",7)(14,"h3",10),t.EFF(15,"\u30ab\u30c6\u30b4\u30ea\u30fc"),t.k0s(),t.j41(16,"div",11),t.DNE(17,F,2,1,"span",12),t.k0s()(),t.j41(18,"section",13)(19,"div",14)(20,"h3",10),t.EFF(21,"\u6027\u5225"),t.k0s(),t.j41(22,"p",9),t.EFF(23),t.k0s()(),t.j41(24,"div",14)(25,"h3",10),t.EFF(26,"\u5e74\u4ee3"),t.k0s(),t.j41(27,"p",9),t.EFF(28),t.k0s()(),t.j41(29,"div",14)(30,"h3",10),t.EFF(31,"\u8cbb\u7528"),t.k0s(),t.j41(32,"p",9),t.EFF(33),t.k0s()(),t.j41(34,"div",14)(35,"h3",10),t.EFF(36,"\u526f\u4f5c\u7528\u30fb\u30ea\u30b9\u30af"),t.k0s(),t.j41(37,"p",9),t.EFF(38),t.k0s()(),t.DNE(39,v,5,1,"div",15),t.k0s()()()()),2&e){const i=t.XpG();t.R7$(4),t.Y8G("ngIf",i.treatmentExampleDetail.before_photo),t.R7$(),t.Y8G("ngIf",i.treatmentExampleDetail.after_photo),t.R7$(2),t.JRh(i.treatmentExampleDetail.treatment_name),t.R7$(5),t.JRh(i.treatmentExampleDetail.treatment_description),t.R7$(5),t.Y8G("ngForOf",i.treatmentExampleDetail.category_names),t.R7$(6),t.JRh(i.treatmentExampleDetail.gender||"-"),t.R7$(5),t.JRh(i.treatmentExampleDetail.age_group||"-"),t.R7$(5),t.JRh(i.treatmentExampleDetail.treatment_price),t.R7$(5),t.JRh(i.treatmentExampleDetail.treatment_risk),t.R7$(),t.Y8G("ngIf",i.treatmentExampleDetail.doctor_comment)}}const k=[{path:":id",component:(()=>{var e;class a{constructor(m,n,p){this.route=m,this.treatmentExamplesService=n,this.lightbox=p}ngOnInit(){var m=this;return(0,c.A)(function*(){const n=m.route.snapshot.paramMap.get("id");m.treatmentExampleDetail=yield m.treatmentExamplesService.getTreatmentExample(n)})()}openPhotoViewer(m){const n=[];this.treatmentExampleDetail.before_photo&&n.push({src:this.treatmentExampleDetail.before_photo,thumb:this.treatmentExampleDetail.before_photo}),this.treatmentExampleDetail.after_photo&&n.push({src:this.treatmentExampleDetail.after_photo,thumb:this.treatmentExampleDetail.after_photo}),this.lightbox.open(n,m,{showImageNumberLabel:!0,albumLabel:"%1 / %2"})}ngOnDestroy(){this.lightbox.close()}static#t=e=()=>(this.\u0275fac=function(n){return new(n||a)(t.rXU(h.nX),t.rXU(d),t.rXU(u.Yf))},this.\u0275cmp=t.VBU({type:a,selectors:[["app-treatment-example-detail"]],standalone:!1,decls:1,vars:1,consts:[["class","treatment-example",4,"ngIf"],[1,"treatment-example"],[1,"container"],[1,"treatment-example__container"],[1,"treatment-example__images"],["class","treatment-example__image-wrapper",4,"ngIf"],[1,"treatment-example__title"],[1,"treatment-example__section"],[1,"treatment-example__section-title"],[1,"treatment-example__text"],[1,"treatment-example__label"],[1,"treatment-example__categories"],["class","treatment-example__category",4,"ngFor","ngForOf"],[1,"treatment-example__details"],[1,"treatment-example__detail-item"],["class","treatment-example__detail-item",4,"ngIf"],[1,"treatment-example__image-wrapper"],["alt","\u75c7\u4f8b\u306e\u30d3\u30d5\u30a9\u30fc\u753b\u50cf",1,"treatment-example__image",3,"click","
1src"],[1,"treatment-example__image-label","treatment-example__image-label--before"],["alt","\u75c7\u4f8b\u306e\u30a2\u30d5\u30bf\u30fc\u753b\u50cf",1,"treatment-example__image",3,"click","src"],[1,"treatment-example__image-label","treatment-example__image-label--after"],[1,"treatment-example__category"]],template:function(n,p){1&n&&t.DNE(0,C,40,10,"div",0),2&n&&t.Y8G("ngIf",p.treatmentExampleDetail)},dependencies:[l.Sq,l.bT],styles:[".treatment-example[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:48px}.treatment-example__container[_ngcontent-%COMP%]{background-color:#fff;padding:20px 0 48px;margin:0 -16px}.treatment-example__images[_ngcontent-%COMP%]{display:flex;gap:8px;margin-bottom:18px;padding:0 16px;justify-content:center}.treatment-example__image-wrapper[_ngcontent-%COMP%]{position:relative;width:167px;height:167px;cursor:pointer}.treatment-example__image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.treatment-example__image-label[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:60px;height:22px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;line-height:100%;color:#fff}.treatment-example__image-label--before[_ngcontent-%COMP%]{background-color:#999999b2}.treatment-example__image-label--after[_ngcontent-%COMP%]{background-color:#e99373b2}.treatment-example__title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:24px;line-height:1.4;padding:0 16px}.treatment-example__section[_ngcontent-%COMP%]{margin-bottom:20px;padding:0 16px}.treatment-example__section-title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:8px}.treatment-example__label[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-bottom:3px}.treatment-example__text[_ngcontent-%COMP%]{font-size:14px;line-height:1.6;white-space:pre-wrap;margin-bottom:0}.treatment-example__categories[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;column-gap:8px;row-gap:2px}.treatment-example__category[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:6.5px 6px 5.5px;margin-top:4px;font-size:10px;font-weight:600;line-height:1;border:1px solid #ddd;border-radius:4px}.treatment-example__details[_ngcontent-%COMP%]{background-color:#f9f9f9;padding:16px 12px;margin:0 16px}.treatment-example__detail-item[_ngcontent-%COMP%]{margin-bottom:12px}.treatment-example__detail-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}"]}))}return e(),a})(),data:{name:o(65897).L.treatmentExampleDetail}}];let j=(()=>{var e;class a{static#t=e=()=>(this.\u0275fac=function(n){return new(n||a)},this.\u0275mod=t.$C({type:a}),this.\u0275inj=r.G2t({imports:[s.iI.forChild(k),s.iI]}))}return e(),a})(),B=(()=>{var e;class a{static#t=e=()=>(this.\u0275fac=function(n){return new(n||a)},this.\u0275mod=t.$C({type:a}),this.\u0275inj=r.G2t({imports:[l.MD,_.G,j]}))}return e(),a})()}}]);
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.