"use strict";var t=require("@gem-sdk/core");const e=()=>({size:{desktop:"1em",tablet:"1em",mobile:"1em"}});exports.getAddToCartButtonStyles=t=>({...t,...e(),enableTextStyle:!0}),exports.getBlankSpaceStyle=()=>({"--mr":"2px","--ml":"2px",display:"block !important"}),exports.getButtonBaseStyles=e,exports.getButtonStyle=(e,o)=>({...e,...t.makeStyleResponsive("ta",o?.align)}),exports.getSeparatorStyle=()=>({...t.makeStyle({mr:"8px",ml:"8px"})}),exports.getSoldOutButtonStyles=t=>{let{isCustomOutOfStock:o,oosBorder:r,oosShadow:l,oosRounded:s,oosBorderV2:a,oosShadowV2:n,oosTextColor:p,oosRoundedV2:S,oosBackground:m,oosTextColorV2:y,oosBackgroundV2:x,oosEnableShadow:i,...g}=t??{},d=JSON.parse(JSON.stringify(g));return Object.assign(d,{textColor:{normal:y},hasBoxShadowBtn:{normal:i},boxShadowBtn:{normal:l},roundedBtnV2:S,borderBtnV2:a,backgroundColorV2:x}),y?.normal&&(d.typo={...d.typo,attrs:{...d.typo?.attrs,color:y.normal}}),{...e(),...d}},exports.getSplitStyle=e=>{let[o,r]=t.splitStyle(["pos","top","left","bottom","right","z"],e);return{wrapStyle:o,restStyle:r}};
