let t=(t,a,e)=>{let{displayByDefault:s,scarcityThreshold:r=0,template:i,outOfStockMessage:l,continueSelling:o,unlimitedQuantityMessage:d,hiddenCounterWhenOutOfStock:p}=a??{},{displayProgressBar:g,textColor:c,oosTextColor:n,typo:u}=e??{},y=u?.attrs?.color;return{"data-id":t?.uid??"","data-visible":"{{ should_display }}","data-policy":"{{ variant_policy_list | escape }}","gp-setting":JSON.stringify({displayByDefault:s,displayProgressBar:g,scarcityThreshold:r,template:i,outOfStockMessage:l,continueSelling:o,unlimitedQuantityMessage:d,color:c||"brand",hiddenCounterWhenOutOfStock:p,oosTextColor:n,typoColor:y}).replaceAll('"',"&#34;")}},a=()=>({"data-slot-type":"progress-bar","data-visible":"{{ show_progress_bar }}"}),e=()=>({"data-slot-type":"message"}),s=t=>({"data-id":t?.uid??""}),r=(t,a)=>({"data-slot-type":t?"oos-icon":"has-stock-icon","data-visible":a?"true":"false"});export{r as getIconAttrs,a as getLiquidProgressBarAttrs,t as getLiquidTagAttrs,e as getLiquidTextAttrs,s as getWrapperAttrs};
