import{hh as c,hk as l,hl as f}from"./BC4hLSsA.js";import{n as a,c as m}from"./3Z1LeTmD.js";const p=c` :host { display: block; background: linear-gradient( 90deg, ${({tokens:e})=>e.theme.foregroundSecondary} 0%, ${({tokens:e})=>e.theme.foregroundTertiary} 50%, ${({tokens:e})=>e.theme.foregroundSecondary} 100% ); background-size: 200% 100%; animation: shimmer 1s ease-in-out infinite; border-radius: ${({borderRadius:e})=>e[2]}; } :host([data-rounded='true']) { border-radius: ${({borderRadius:e})=>e[16]}; } @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } `;var n=function(e,o,i,s){var d=arguments.length,t=d<3?o:s===null?s=Object.getOwnPropertyDescriptor(o,i):s,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(e,o,i,s);else for(var u=e.length-1;u>=0;u--)(h=e[u])&&(t=(d<3?h(t):d>3?h(o,i,t):h(o,i))||t);return d>3&&t&&Object.defineProperty(o,i,t),t};let r=class extends l{constructor(){super(...arguments),this.width="",this.height="",this.variant="default",this.rounded=!1}render(){return this.style.cssText=` width: ${this.width}; height: ${this.height}; `,this.dataset.rounded=this.rounded?"true":"false",f``}};r.styles=[p];n([a()],r.prototype,"width",void 0);n([a()],r.prototype,"height",void 0);n([a()],r.prototype,"variant",void 0);n([a({type:Boolean})],r.prototype,"rounded",void 0);r=n([m("wui-shimmer")],r);