import{M as e,P as t,W as n,_ as r,b as i,ft as a,it as o,l as s,n as c,ot as l,q as u,r as d,st as f,t as p,v as m}from"../../client.js";import h from"../loader/Loader.js";var g=t(`<div><div><!></div></div>`),_={hash:`svelte-111c1z1`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-loading-loader.svelte-111c1z1 {background-color:var(--overlay-color-background, rgba(0, 0, 0, 0.5));inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity 0.4s ease, visibility 0ms 0.4s;z-index:var(--overlay-z-index, 4);}.mc-loading-loader.is-visible.svelte-111c1z1 {opacity:1;pointer-events:all;transition:opacity 0.4s ease, visibility 0ms;visibility:visible;}.mc-loading-loader.svelte-111c1z1 {align-items:center;display:flex;justify-content:center;}`};function v(t,p){f(p,!0),i(t,_);let v=c(p,`isvisible`,7),y=c(p,`text`,7),b=c(p,`class`,7),x=d(p,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`isvisible`,`text`,`class`]);var S={get isvisible(){return v()},set isvisible(e){v(e),o()},get text(){return y()},set text(e){y(e),o()},get class(){return b()},set class(e){b(e),o()}},C=g(),w=u(C);return s(w,()=>({role:`dialog`,tabindex:`-1`,"aria-label":y(),...x}),void 0,void 0,void 0,`svelte-111c1z1`),h(u(w),{size:`l`,appearance:`inverse`,get text(){return y()}}),a(w),a(C),n(()=>r(C,1,m([`mc-loading-loader`,v()&&`is-visible`,b()]),`svelte-111c1z1`)),e(t,C),l(S)}customElements.define(`m-loading-overlay`,p(v,{isvisible:{attribute:`isvisible`,reflect:!0,type:`Boolean`},text:{},class:{}},[],[],{mode:`open`}));
//# sourceMappingURL=LoadingOverlay.js.map