-
Notifications
You must be signed in to change notification settings - Fork 0
/
967.49c8d9e3cfe65e38.js
1 lines (1 loc) · 1.69 KB
/
967.49c8d9e3cfe65e38.js
1
"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[967],{4967:(y,i,n)=>{n.r(i),n.d(i,{TreatmentModule:()=>T});var a=n(177),l=n(6354),t=n(3953),m=n(1626),p=n(800);function d(e,c){if(1&e&&(t.j41(0,"div",6),t.nrm(1,"ph-encyclopedia-procedure-card",7),t.k0s()),2&e){const o=c.$implicit;t.R7$(),t.Y8G("procedure",o)("type","TRT")}}function u(e,c){if(1&e&&(t.qex(0),t.j41(1,"section",1)(2,"span",2),t.EFF(3,"Treatments"),t.k0s(),t.j41(4,"div",3),t.EFF(5),t.k0s()(),t.j41(6,"section",4),t.DNE(7,d,2,2,"div",5),t.k0s(),t.bVm()),2&e){const o=c.ngIf;t.R7$(5),t.SpI(" Total treatments: ",o.length," "),t.R7$(2),t.Y8G("ngForOf",o)}}let h=(()=>{class e{constructor(o){this.http=o,this.treatment$=this.http.get("assets/procedures/treatments.json").pipe((0,l.T)(s=>Object.values(s||{}).sort((r,v)=>r.name.localeCompare(v.name))))}static#t=this.\u0275fac=function(s){return new(s||e)(t.rXU(m.Qq))};static#e=this.\u0275cmp=t.VBU({type:e,selectors:[["ph-encyclopedia-treatment-list"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"mb-2","flex","flex-col"],[1,"font-medium","text-2xl","text-blue-900"],[1,"text-lg","text-blue-900"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4"],["class","col-span-1",4,"ngFor","ngForOf"],[1,"col-span-1"],[3,"procedure","type"]],template:function(s,r){1&s&&(t.DNE(0,u,8,2,"ng-container",0),t.nI1(1,"async")),2&s&&t.Y8G("ngIf",t.bMT(1,1,r.treatment$))},dependencies:[a.Sq,a.bT,p.H,a.Jj],encapsulation:2})}return e})();var f=n(4626),g=n(7945);let T=(()=>{class e{static#t=this.\u0275fac=function(s){return new(s||e)};static#e=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[a.MD,f.E,g.iI.forChild([{path:"",component:h,pathMatch:"full"}])]})}return e})()}}]);