import{Ec as r,Jb as c,Mc as p,Na as d,Zc as g,gb as s,hb as a,mb as m,pb as l}from"./chunk-NY4TI4KT.js";import{i as o}from"./chunk-IQVXR75E.js";function h(t,e){if(t&1&&l(0,"div",0),t&2){let f=c();m("ngStyle",f.getStyle())}}var w=(()=>{let e=class e{loading=r(!1,{transform:p});size=r();sizes={sm:{width:"1rem",height:"1rem","border-width":"0.15rem"},md:{width:"1.5rem",height:"1.5rem","border-width":"0.15rem"},xl:{width:"3rem",height:"3rem"}};getStyle(){let i=this.size();if(i)return this.sizes[i]}};o(e,"\u0275fac",function(n){return new(n||e)}),o(e,"\u0275cmp",d({type:e,selectors:[["my-loader"]],inputs:{loading:[1,"loading"],size:[1,"size"]},decls:1,vars:1,consts:[["role","status",1,"spinner-border",3,"ngStyle"]],template:function(n,u){n&1&&s(0,h,1,1,"div",0),n&2&&a(u.loading()?0:-1)},dependencies:[g],encapsulation:2}));let t=e;return t})();export{w as a};
/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*/
//# sourceMappingURL=chunk-PR244PNT.js.map
