"use strict";exports.getButtonLiquidSettings=(t,e)=>{let{redirectNewTab:l}=t??{},n=e?.hasCollectionHandle?"{% if collection %}{{ collection.url }}/products/{{ product.handle }}{% else %}{{ product.url }}{% endif %}":"{{ product.url }}";return{btnLink:{link:n,target:l?"_blank":"_self"},enableBtnLink:!0}},exports.getButtonSettings=t=>{let{label:e,iconSvg:l,iconAlign:n,iconVisible:r,shouldClearSpace:i,enableHoverEffect:o}=t??{};return{label:e,iconSvg:l,iconAlign:n,iconVisible:r,shouldClearSpace:i,htmlType:"submit",enableHoverEffect:o}};
