"use strict";var core=require("@gem-sdk/core"),helper=require("../../common/helper.js");const getValue=e=>{if(!e)return"";let t=["0px","0%","1px"];return t.includes(e)?"100%":e},getStyle=e=>{let t=Object.entries(e??{}).reduce((e,[t,r])=>(e[t]=getValue(r),e),{});return{...core.makeStyleResponsiveWidth(t)}},getTextStyle=({typo:e,textAlign:t})=>{let r={};return e&&(r.typo=e),t&&(r.textAlign=t),r},getComponentStyles=()=>({color:helper.postPurchaseTextColor.defaultLink});exports.getComponentStyles=getComponentStyles,exports.getStyle=getStyle,exports.getTextStyle=getTextStyle;
