import{D as e,M as t,P as n,W as r,Y as i,b as a,d as o,ft as s,it as c,j as l,l as u,n as d,ot as f,q as p,r as m,st as h,t as g}from"../../client.js";var _=n(`<span class="mc-loader__text svelte-g7kvnj"> </span>`),v=n(`<div><span class="mc-loader__spinner svelte-g7kvnj"><svg class="mc-loader__icon svelte-g7kvnj" xmlns="http://www.w3.org/2000/svg"><circle class="mc-loader__path svelte-g7kvnj" cx="50%" cy="50%"></circle></svg></span> <!></div>`),y={hash:`svelte-g7kvnj`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-loader.svelte-g7kvnj .mc-loader__spinner:where(.svelte-g7kvnj) {height:2rem;width:2rem;}.mc-loader.svelte-g7kvnj .mc-loader__path:where(.svelte-g7kvnj) {stroke-width:4;}.mc-loader.svelte-g7kvnj {color:var(--loader-color-standard, #464e63);}.mc-loader.svelte-g7kvnj .mc-loader__path:where(.svelte-g7kvnj) {stroke:currentcolor;}.mc-loader.svelte-g7kvnj {align-items:center;display:inline-flex;flex-direction:column;}.mc-loader__spinner.svelte-g7kvnj:not(:only-child) {margin-bottom:1rem;}.mc-loader__icon.svelte-g7kvnj {
  animation: svelte-g7kvnj-rotate-loader 2s linear infinite;transform-origin:center;}.mc-loader__path.svelte-g7kvnj {fill:none;stroke-dasharray:1, 200;stroke-dashoffset:0;stroke-linecap:round;
  animation: svelte-g7kvnj-animate-dash-loader 2s ease-in-out infinite;}.mc-loader__text.svelte-g7kvnj {font-size:var(--font-size-150, 1rem);color:currentcolor;}.mc-loader.svelte-g7kvnj:not(.mc-loader--text-visible) .mc-loader__text:where(.svelte-g7kvnj) {clip-path:inset(100%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;padding:0;width:1px;}.mc-loader--xs.svelte-g7kvnj .mc-loader__spinner:where(.svelte-g7kvnj) {height:1.25rem;width:1.25rem;}.mc-loader--xs.svelte-g7kvnj .mc-loader__path:where(.svelte-g7kvnj) {stroke-width:2;}.mc-loader--s.svelte-g7kvnj .mc-loader__spinner:where(.svelte-g7kvnj) {height:1.5rem;width:1.5rem;}.mc-loader--s.svelte-g7kvnj .mc-loader__path:where(.svelte-g7kvnj) {stroke-width:4;}.mc-loader--l.svelte-g7kvnj .mc-loader__spinner:where(.svelte-g7kvnj) {height:4rem;width:4rem;}.mc-loader--l.svelte-g7kvnj .mc-loader__path:where(.svelte-g7kvnj) {stroke-width:8;}.mc-loader--accent.svelte-g7kvnj {color:var(--loader-color-accent, #117f03);}.mc-loader--accent.svelte-g7kvnj .mc-loader__path:where(.svelte-g7kvnj) {stroke:currentcolor;}.mc-loader--inverse.svelte-g7kvnj {color:var(--loader-color-inverse, #ffffff);}.mc-loader--inverse.svelte-g7kvnj .mc-loader__path:where(.svelte-g7kvnj) {stroke:currentcolor;}

@keyframes svelte-g7kvnj-rotate-loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(270deg);
  }
}
@keyframes svelte-g7kvnj-animate-dash-loader {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}`};function b(n,g){h(g,!0),a(n,y);let b=d(g,`size`,7,`m`),x=d(g,`appearance`,7,`standard`),S=d(g,`text`,7),C=d(g,`class`,7),w=m(g,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`size`,`appearance`,`text`,`class`]),T=()=>{let e;switch(b()){case`xs`:e=`0 0 20 20`;break;case`s`:e=`0 0 24 24`;break;case`l`:e=`0 0 64 64`;break;default:e=`0 0 32 32`}return e},E=()=>{let e;switch(b()){case`xs`:e=6;break;case`s`:e=6;break;case`l`:e=19;break;default:e=9}return e};var D={get size(){return b()},set size(e=`m`){b(e),c()},get appearance(){return x()},set appearance(e=`standard`){x(e),c()},get text(){return S()},set text(e){S(e),c()},get class(){return C()},set class(e){C(e),c()}},O=v();u(O,()=>({class:[`mc-loader`,`mc-loader--${b()}`,`mc-loader--${x()}`,S()&&`mc-loader--text-visible`,C()],...w}),void 0,void 0,void 0,`svelte-g7kvnj`);var k=p(O),A=p(k),j=p(A);s(A),s(k);var M=i(k,2),N=e=>{var n=_(),i=p(n,!0);s(n),r(()=>l(i,S())),t(e,n)};return e(M,e=>{S()&&e(N)}),s(O),r((e,t)=>{o(A,`viewBox`,e),o(j,`r`,t)},[()=>T(),()=>E()]),t(n,O),f(D)}customElements.define(`m-loader`,g(b,{size:{},appearance:{},text:{},class:{}},[],[],{mode:`open`}));export{b as default};
//# sourceMappingURL=Loader.js.map