import{D as e,M as t,P as n,Y 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,w as m}from"../../client.js";var h=n(`<span class="mc-link__icon svelte-5kacnx"><!></span>`),g=n(`<span class="mc-link__icon svelte-5kacnx"><!></span>`),_=n(`<a><!> <span class="mc-link__label svelte-5kacnx"><!></span> <!></a>`),v={hash:`svelte-5kacnx`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-link.svelte-5kacnx {transition:box-shadow 200ms ease;display:inline-flex;align-items:center;justify-content:center;gap:0.25rem;min-height:1.5rem;text-decoration:none;color:var(--link-color-text-primary, #000000);font-size:0.875rem;}.mc-link__label.svelte-5kacnx {line-height:1.3;}.mc-link__icon.svelte-5kacnx {display:block;height:1.25rem;width:1.25rem;flex-shrink:0;fill:currentcolor;}.mc-link.svelte-5kacnx:hover:not(.mc-link--stand-alone, .mc-link--inline) .mc-link__label:where(.svelte-5kacnx) {text-decoration:underline;}.mc-link.svelte-5kacnx:focus {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-link--m.svelte-5kacnx {min-height:2rem;font-size:1rem;}.mc-link--secondary.svelte-5kacnx {color:var(--link-color-text-secondary, #666666);}.mc-link--accent.svelte-5kacnx {color:var(--link-color-text-accent, #117f03);}.mc-link--inverse.svelte-5kacnx {--focus-color-mid: var(--focus-color-outline-outer, #000000);--focus-color-outer: var(--focus-color-outline-mid, #ffffff);color:var(--link-color-text-inverse, #ffffff);}.mc-link--stand-alone.svelte-5kacnx {min-height:2rem;font-weight:var(--link-font-weight, 600);}.mc-link--stand-alone.svelte-5kacnx .mc-link__label:where(.svelte-5kacnx) {border-bottom:var(--border-width-s, 0.0625rem) solid currentcolor;}.mc-link--stand-alone.svelte-5kacnx:hover .mc-link__label:where(.svelte-5kacnx) {border-color:transparent;}.mc-link--inline.svelte-5kacnx {font-weight:inherit;text-decoration:underline;}.mc-link--inline.svelte-5kacnx .mc-link__label:where(.svelte-5kacnx) {line-height:1;}.mc-link--inline.svelte-5kacnx:hover {text-decoration:none;}.mc-link__icon.svelte-5kacnx:empty {display:none;}`};function y(n,p){f(p,!0),i(n,v);let y=c(p,`href`,7),b=c(p,`target`,7),x=c(p,`inline`,7),S=c(p,`appearance`,7,`standard`),C=c(p,`size`,7,`s`),w=c(p,`iconposition`,7,`left`),T=c(p,`class`,7),E=d(p,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`href`,`target`,`inline`,`appearance`,`size`,`iconposition`,`class`]);var D={get href(){return y()},set href(e){y(e),o()},get target(){return b()},set target(e){b(e),o()},get inline(){return x()},set inline(e){x(e),o()},get appearance(){return S()},set appearance(e=`standard`){S(e),o()},get size(){return C()},set size(e=`s`){C(e),o()},get iconposition(){return w()},set iconposition(e=`left`){w(e),o()},get class(){return T()},set class(e){T(e),o()}},O=_();s(O,()=>({class:[`mc-link`,`mc-link--${S()}`,`mc-link--${C()}`,x()&&`mc-link--inline`,!x()&&`mc-link--stand-alone`,T()],href:y(),target:b(),...E}),void 0,void 0,void 0,`svelte-5kacnx`);var k=u(O),A=e=>{var n=h();m(u(n),p,`icon`,{},null),a(n),t(e,n)};e(k,e=>{w()===`left`&&e(A)});var j=r(k,2);m(u(j),p,`default`,{},null),a(j);var M=r(j,2),N=e=>{var n=g();m(u(n),p,`icon`,{},null),a(n),t(e,n)};return e(M,e=>{w()===`right`&&e(N)}),a(O),t(n,O),l(D)}customElements.define(`m-link`,p(y,{inline:{attribute:`inline`,reflect:!0,type:`Boolean`},href:{},target:{},appearance:{},size:{},iconposition:{},class:{}},[`icon`,`default`],[],{mode:`open`}));
//# sourceMappingURL=Link.js.map