import{Bb as p,Cc as f,Gc as c,Ra as d,Xa as l,db as s,nc as m,ob as a,sa as r}from"./chunk-IDYB4NXF.js";import{i as o}from"./chunk-AI7IVZV2.js";function y(t,e){if(t&1&&a(0,"div",1),t&2){let g=p();s("ngStyle",g.getStyle())}}var S=(()=>{let e=class e{loading=r(void 0,{transform:m});size=r(void 0);sizes={sm:{width:"1rem",height:"1rem","border-width":"0.15rem"},xl:{width:"3rem",height:"3rem"}};getStyle(){let n=this.size();if(n)return this.sizes[n]}};o(e,"\u0275fac",function(i){return new(i||e)}),o(e,"\u0275cmp",d({type:e,selectors:[["my-loader"]],inputs:{loading:[1,"loading"],size:[1,"size"]},decls:1,vars:1,consts:[["class","spinner-border","role","status",3,"ngStyle",4,"ngIf"],["role","status",1,"spinner-border",3,"ngStyle"]],template:function(i,u){i&1&&l(0,y,1,1,"div",0),i&2&&s("ngIf",u.loading())},dependencies:[f,c],encapsulation:2}));let t=e;return t})();export{S as a};
/**i18n:1cf7c077143c4c267fdafbe5508f191afcef21bad6aba22a3a8dc180e1003753*/
//# sourceMappingURL=chunk-UQZGWEA7.js.map
