"use strict";var e=require("@gem-sdk/core");exports.getTextProps=(r,i)=>{let{setting:o,styles:c,builderProps:t,classNames:n,pageContext:a}=r,p=o?.priceType==="compare",l=e.getGlobalColorClass("decoration",c?.lineColor);return{id:`p-price-${t?.uid}`,styles:{...c,lineThrough:p&&c?.lineThrough,lineColor:{normal:c?.lineColor},opacity:o?.opacityPrice},setting:{text:i??`${p?`
      {% if variant.compare_at_price  %}
        {{ variant.compare_at_price | ${a?.showPriceCurrency?"money_with_currency":"money"}}}
      {% else %}

      {% endif %}
    `:`
     {% if variant.price %}
       {{ variant.price | ${a?.showPriceCurrency?"money_with_currency":"money"}}}
     {% endif %}
   `}`,excludeFlex:!0},className:e.cls("gp-price",{"gp-money":!p,"gp-product-compare-price":p},l,n)}};
