import{U as s,p as d,o,d as l,aa as n,q as c,a as i,b as p,aM as u,e as t,by as m}from"./main-CJbVOHh0.js";import{_ as y}from"./_plugin-vue_export-helper-DlAUqK2U.js";const f=["width","height"],_="/images/loader.gif",b=s({__name:"OverlayLoader",props:{loading:{type:Boolean},size:{default:64},width:{default:4},color:{default:"primary"},backdropOpacity:{default:.3},blurAmount:{default:"4px"},zIndex:{default:9999}},setup(r){const e=r;return(g,a)=>(o(),d(m,{to:"body"},[l(n,{name:"fade"},{default:c(()=>[e.loading?(o(),i("div",{key:0,class:"overlay-loader",style:u({zIndex:e.zIndex,"--backdrop-opacity":e.backdropOpacity,"--blur-amount":e.blurAmount})},[a[0]||(a[0]=t("div",{class:"overlay-backdrop"},null,-1)),t("img",{class:"overlay-spinner",src:_,width:e.size,height:e.size,alt:"Loading..."},null,8,f)],4)):p("",!0)]),_:1})]))}}),v=y(b,[["__scopeId","data-v-634cc6d6"]]);export{v as O};
