import{Cb as p,Gc as f,Kc as c,Sa as d,Ya as l,eb as s,pb as a,rc as m,ta as r}from"./chunk-GM43ZGTR.js";import{i as o}from"./chunk-SLIYHYWC.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:aa38438cfc6bb6877c9985433629bf5f310ba8cfd6183982ad2c0c8f601d3935*/
//# sourceMappingURL=chunk-EVSP32E6.js.map
