import{r as i,h as e,H as a}from"./p-4afc0173.js";import{c as d}from"./p-c5b591fd.js";const r=class{constructor(e){i(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.description=void 0,this.align=void 0,this.rounded=!1}render(){return e(a,{key:"bad90cef455ec934bed2b346ff8865bd8354dc81",class:d({"media-rounded":this.rounded,"media-right":"right"===this.align})},this.src&&e("img",{key:"4f962d6ed8e19ce2ffbe868df273fe70469d3f0e",style:{width:this.width,height:this.height},src:this.src,alt:this.description,"aria-label":this.description}),e("div",{key:"940361a41ac0372f3ce49c5d67136ec6f78afb7d",class:"media-body"},e("slot",{key:"f7dbf1e1f86e472f7a93e1fc789cb986956077ae"})))}};r.style="x-media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;margin:0;padding:0;text-align:inherit}x-media>img{margin:0 1.5rem 0 0;max-width:100%;height:auto;background-color:rgba(0, 0, 0, 0.1);-webkit-box-shadow:0px 3px 1rem rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);box-shadow:0px 3px 1rem rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);-webkit-animation:loadingBG 0.5s infinite alternate;animation:loadingBG 0.5s infinite alternate}.is-dark-mode x-media>img{background-color:rgba(255, 255, 255, 0.1)}x-media>div.media-body{-ms-flex:1;flex:1}x-media.media-rounded>img{border-radius:0.45em}x-media.media-right>img{margin:0 0 0 1.5rem;-ms-flex-order:999;order:999}";export{r as x_media}