-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path831.f9d1de4b5f9ae870.js
1 lines (1 loc) · 3.62 KB
/
831.f9d1de4b5f9ae870.js
1
"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[831],{800:(z,y,c)=>{c.d(y,{H:()=>H});var i=c(4438),_=c(177),m=c(5596),u=c(2810);const w=(a,g)=>g.name,x=a=>[a],v=a=>({skills:a,title:"Doctor"}),M=a=>({skills:a,title:"Lab Specialist"});function S(a,g){}function T(a,g){if(1&a&&i.DNE(0,S,0,0,"ng-template",11),2&a){const s=i.XpG(),d=i.sdS(17);i.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",i.eq3(2,v,s.formattedProcedure.raw.required_doctors))}}function C(a,g){}function G(a,g){if(1&a&&i.DNE(0,C,0,0,"ng-template",11),2&a){const s=i.XpG(),d=i.sdS(17);i.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",i.eq3(4,M,i.eq3(2,x,s.formattedProcedure.raw.required_lab_spec)))}}function b(a,g){if(1&a&&(i.j41(0,"section",16)(1,"div",4),i.nrm(2,"img",5),i.k0s(),i.j41(3,"div",17),i.EFF(4),i.k0s()()),2&a){const s=g.$implicit;i.R7$(2),i.Mz_("src","assets/icons/ph_icon_",s.icon_index,".png",i.B4B),i.R7$(2),i.SpI(" ",s.name," ")}}function k(a,g){if(1&a&&(i.j41(0,"mat-card",12)(1,"mat-card-content",13)(2,"div",14),i.EFF(3),i.k0s(),i.j41(4,"div",15),i.Z7z(5,b,5,3,"section",16,w),i.k0s()()()),2&a){const s=g.skills,d=g.title;i.R7$(3),i.SpI(" Required ",d," Skills "),i.R7$(2),i.Dyx(s)}}let H=(()=>{class a{set procedure(s){const[d,h]=s.description.split("\\n\\n");this._formattedProcedure={raw:s,desc:d,req_rooms:h}}get formattedProcedure(){return this._formattedProcedure}static#t=this.\u0275fac=function(d){return new(d||a)};static#e=this.\u0275cmp=i.VBU({type:a,selectors:[["ph-encyclopedia-procedure-card"]],inputs:{procedure:"procedure",type:"type"},standalone:!1,decls:18,vars:10,consts:[["skillList",""],[1,"h-full"],[1,"rounded-t",3,"ngClass"],[1,"flex","flex-row","space-x-1","pb-4","justify-between"],[1,"w-10"],["fallbackSrc","",1,"object-contain",3,"src"],[1,"flex","flex-1","items-center","text-md","text-white","font-medium"],[1,"flex","flex-col","mt-2","space-y-2"],[1,"flex","flex-col","text-gray-600","space-y-2","text-sm"],[1,"italic","text-justify"],[1,"font-medium","text-xs"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["appearance","outlined"],[1,"flex","flex-col","space-y-1"],[1,"text-red-900","font-bold","text-sm"],[1,"space-y-1"],[1,"flex","flex-1","space-x-1","items-center","text-sm","text-blue-900"],[1,"font-medium"]],template:function(d,h){1&d&&(i.j41(0,"mat-card",1)(1,"mat-card-header",2)(2,"div",3)(3,"div",4),i.nrm(4,"img",5),i.k0s(),i.j41(5,"span",6),i.EFF(6),i.k0s()()(),i.j41(7,"mat-card-content")(8,"section",7)(9,"div",8)(10,"span",9),i.EFF(11),i.k0s(),i.j41(12,"span",10),i.EFF(13),i.k0s()(),i.DNE(14,T,1,4,null,11)(15,G,1,6,null,11),i.k0s()()(),i.DNE(16,k,7,1,"ng-template",null,0,i.C5r)),2&d&&(i.R7$(),i.Y8G("ngClass",i.eq3(8,x,"EXM"===h.type?"bg-green-700":"bg-blue-700")),i.R7$(3),i.Mz_("src","assets/icons/ph_icon_",h.formattedProcedure.raw.icon_index,".png",i.B4B),i.R7$(2),i.SpI(" ",h.formattedProcedure.raw.name," "),i.R7$(5),i.JRh(h.formattedProcedure.desc),i.R7$(2),i.JRh(h.formattedProcedure.req_rooms),i.R7$(),i.vxM(null!=h.formattedProcedure.raw.required_doctors&&h.formattedProcedure.raw.required_doctors.length?14:-1),i.R7$(),i.vxM(h.formattedProcedure.raw.required_lab_spec?15:-1))},dependencies:[_.YU,_.T3,m.RN,m.m2,m.MM,u.$],encapsulation:2})}return a})()},4626:(z,y,c)=>{c.d(y,{E:()=>F});var i=c(177),_=c(5596),m=c(4438),u=c(3);let D=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=m.$C({type:o});static \u0275inj=m.G2t({imports:[u.Np,u.yE,u.Np,u.yE]})}return o})();var E=c(3239);let F=(()=>{class o{static#t=this.\u0275fac=function(r){return new(r||o)};static#e=this.\u0275mod=m.$C({type:o});static#i=this.\u0275inj=m.G2t({imports:[i.MD,_.Hu,E.Fg,D]})}return o})()}}]);