"use strict";var core=require("@gem-sdk/core"),helper=require("../../../../common/helper.js");const getDisplayLabelStyles=e=>({"--pb":"14px","--pt":"14px","--ta":e??"center"}),getVariantItemWrapperStyles=(e,t)=>core.filterTruthyStyles({"--mt":"dropdown"!==e?`-${t}`:"0px","--ml":"dropdown"!==e?`-${t}`:"0px"}),getWrapperStyles=e=>{let{setting:t,styles:r,style:p}=e,{width:l,fullWidth:a,variantSpacing:s}=r??{},{column:o}=t??{},i=core.makeStyleResponsive("w",core.makeWidth(l,a));return{...core.optionLayoutStyle(o),...core.removeNullUndefined(i),...p,gap:helper.postPurchaseSpacing[s||"none"]??""}},getDisplayLabelSettingStyles=()=>({typo:{attrs:{transform:"capitalize"},custom:{fontSize:{desktop:"medium",tablet:"medium",mobile:"medium"}}}});exports.getDisplayLabelSettingStyles=getDisplayLabelSettingStyles,exports.getDisplayLabelStyles=getDisplayLabelStyles,exports.getVariantItemWrapperStyles=getVariantItemWrapperStyles,exports.getWrapperStyles=getWrapperStyles;
