import{Ar as Tu,Gr as Va,Ia as f$,Q as EV,Qi as bV,T as C3,Za as gx,_s as ph,ec as th}from"./chunk-B_pj7Jpm.js";function u(n,t){if(n&1&&th(0,`div`,0),n&2)gx(`ngStyle`,f$().getStyle())}var p=class n{loading=ph(!1,{transform:Tu});size=ph();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 t=this.size();if(t)return this.sizes[t]}static ɵfac=function(e){return new(e||n)};static ɵcmp=Va({type:n,selectors:[[`my-loader`]],inputs:{loading:[1,`loading`],size:[1,`size`]},decls:1,vars:1,consts:[[`role`,`status`,1,`spinner-border`,3,`ngStyle`]],template:function(e,g){e&1&&EV(0,u,1,1,`div`,0),e&2&&bV(g.loading()?0:-1)},dependencies:[C3],encapsulation:2,changeDetection:1})};export{p as t};
//# debugId=d1a37024-5b39-58f5-b791-59aba62123b5
//# sourceMappingURL=chunk-cztdWiEo2.js.map