import{r as i,h as s,H as t,g as e}from"./p-8e4e97b4.js";const c=":host{display:block}ic-link{position:absolute;left:-9999px}ic-link:focus{z-index:var(--ic-z-index-skip-link);left:var(--ic-space-sm);padding:var(--ic-space-sm);box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);width:-moz-fit-content;width:fit-content}.display-top:focus{top:var(--ic-skip-link-position-top, var(--ic-space-sm))}.inline:focus{position:static;display:inline-block;margin:var(--ic-space-xs) 0}.full-width:focus{display:flex;right:var(--ic-space-sm);width:auto}.inline.full-width:focus{justify-content:start}.show-background{background:var(--ic-skip-link-background)}";const a=c;const o=class{constructor(s){i(this,s);this.fullWidth=false;this.inline=false;this.label="Skip to main content";this.monochrome=false;this.theme="inherit";this.transparentBackground=false}async setFocus(){if(this.linkEl)this.linkEl.setFocus()}render(){const{fullWidth:i,inline:e,label:c,monochrome:a,target:o,theme:n,transparentBackground:r}=this;return s(t,{key:"90a25f2594d0169a8ee6f1d03b30a30fccb17168",class:{[`ic-theme-${n}`]:n!=="inherit"}},s("ic-link",{key:"79c0f5121c3ac8bae5992756f3c628f381ebe576",class:{"display-top":!e,"full-width":!!i,"show-background":!r,inline:!!e},href:`#${o}`,monochrome:a,theme:n,ref:i=>this.linkEl=i},c))}get el(){return e(this)}};o.style=a;export{o as ic_skip_link};
//# sourceMappingURL=p-aad03a3c.entry.js.map