import{p as t,H as i,c as s,h as e,t as o}from"./p-CHfEnK-2.js";const a=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.imgPosition=s(this,"imgPosition",7)}src;alt;position;imgPosition;handlePosition(t){this.imgPosition.emit(t)}componentWillLoad(){this.handlePosition(this.position)}componentDidUpdate(){this.handlePosition(this.position)}render(){return e("img",{key:"9e3f0b0f3b8f14e591772d8e464f39d562f974af",src:this.src,alt:this.alt,class:"card-image"})}static get style(){return".card-image{width:100%;height:100%;vertical-align:bottom;object-fit:cover}"}},[513,"ifx-card-image",{src:[1],alt:[1],position:[1]}]),n=a,c=function(){"undefined"!=typeof customElements&&["ifx-card-image"].forEach((t=>{"ifx-card-image"===t&&(customElements.get(o(t))||customElements.define(o(t),a))}))};export{n as IfxCardImage,c as defineCustomElement}