import{getStyleBackgroundByDevice as e,makeStyleResponsive as t}from"@gem-sdk/core";import{getBackgroundTranslated as r}from"../../helpers.js";import{CSSCode as i}from"../settings/configs/translate.js";let o=({setting:o,style:a,isLiquid:s,uid:l,pageContext:n,type:d="React"})=>{let{background:m}=o??{},g="Liquid"===d?r({background:m,uid:l,enableTranslate:!!i?.background?.id,pageContext:n,isTranslateVideo:!1}):m;return{...a,...t("ta",o?.align),...e(g||m,{liquid:s})}};export{o as getCodeStyle};
