"use strict";var e=require("../../../../helpers.js");exports.getAttrs=(t,{isILP:r,productId:a,shouldHiddenComparePrice:i}={})=>{let{builderAttrs:d,setting:p,builderProps:c}=t,n=p?.priceType==="compare";return e.filterTruthyObject({...d,id:`shopify-text-element-${c?.uid}`,"data-id":c?.uid,"data-product-id":a,"data-hidden":!!n&&(r?String(i):"{% if variant.compare_at_price > variant.price and variant.compare_at_price >= 0 %}false{% else %}true{% endif %}")})};
