import{r as e,h as r}from"./p-e97fde0a.js";const t=':host{display:block;position:var(--sc-block-ui-position, absolute);top:-5px;left:-5px;right:-5px;bottom:-5px;overflow:hidden;display:flex;align-items:center;justify-content:center}:host>*{z-index:1}:host:after{content:"";position:var(--sc-block-ui-position, absolute);top:0;left:0;right:0;bottom:0;cursor:var(--sc-block-ui-cursor, wait);background:var(--sc-block-ui-background-color, var(--sc-color-white));opacity:var(--sc-block-ui-opacity, 0.15)}:host.transparent:after{background:transparent}.overlay__content{font-size:var(--sc-font-size-large);font-weight:var(--sc-font-weight-semibold);display:grid;gap:0.5em;text-align:center}';const o=t;const s=class{constructor(r){e(this,r);this.zIndex=1;this.transparent=undefined;this.spinner=undefined}render(){return r("div",{key:"54a9ee90eba3d65c2d2d12d854d918cf7ac04969",part:"base",class:{overlay:true,transparent:this.transparent},style:{"z-index":this.zIndex.toString()}},r("div",{key:"3cd0ff07b3d6c7053b12c9f1b52cf172620f4373",class:"overlay__content",part:"content"},r("slot",{key:"073f834808d3be2f615b3c6c4e03bad15564141b",name:"spinner"},!this.transparent&&this.spinner&&r("sc-spinner",{key:"12c49adfbe44f9ed92a95df469b7e95e525a7c13"})),r("slot",{key:"2edd5da92d47b1cd5508407b737985f9d53b942a"})))}};s.style=o;const i=":host{--track-color:#0d131e20;--indicator-color:var(--sc-color-primary-500);--stroke-width:2px;--spinner-size:1em;display:inline-block}.spinner{display:inline-block;width:var(--spinner-size);height:var(--spinner-size);border-radius:50%;border:solid var(--stroke-width) var(--track-color);border-top-color:var(--indicator-color);border-right-color:var(--indicator-color);animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";const a=i;const n=class{constructor(r){e(this,r)}render(){return r("span",{key:"877d3ccd83e3c0584fc01eb705fe646a5c2408e4",part:"base",class:"spinner","aria-busy":"true","aria-live":"polite"})}};n.style=a;export{s as sc_block_ui,n as sc_spinner};
//# sourceMappingURL=p-f6323747.entry.js.map