let getLabelAttrs=({label:t="",positionId:e="left",componentUid:a})=>({label:t,positionId:e,uid:a}),getLabelLiquidAttrs=({translate:t,pageContext:e,translateLabel:a})=>({translate:t,pageContext:e,translateLabel:a}),getImagePlaceholderAttrs=({width:t=0,height:e=0})=>({src:"",width:t,height:e,"data-testid":"temp-image"}),getBaseImageAttrs=({src:t,title:e=""})=>({src:t,title:e}),getImageLiquidAttrs=({id:t,src:e,title:a="",priority:g=!1,isDisableObjectFit:r=!1,isDisableAspectStyle:s=!1})=>({...getBaseImageAttrs({src:e,title:a}),id:t,priority:g,isDisableObjectFit:r,isDisableAspectStyle:s}),getImageReactAttrs=({src:t,testId:e,width:a=0,height:g=0,title:r="",priority:s=!1})=>{let i=s?{fetchpriority:"high",loading:"eager"}:{loading:"lazy",fetchpriority:"low"},l=getBaseImageAttrs({src:t,title:r});return{...l,...i,width:a,height:g,"data-testid":e,"base-src":s?"":l.src}};export{getBaseImageAttrs,getImageLiquidAttrs,getImagePlaceholderAttrs,getImageReactAttrs,getLabelAttrs,getLabelLiquidAttrs};
