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