import{getDynamicSourceLocales as e}from"../../../../helpers.js";let getButtonDynamicSourceLocales=({setting:a,builderProps:t,pageContext:l})=>{let o={pageContext:l,uid:t?.uid},i=(t,l,i)=>{let n=e({...o,translate:a?.translate?i:void 0,settingId:t,val:l??""});return n};return{outOfStockButtonLabel:i("outOfStockLabel",a?.outOfStockLabel,"outOfStockLabel"),unavailableButtonLabel:i("unavailableLabel","Unavailable","unavailableLabel"),variantSelectionRequiredMessage:i("variantSelectionRequiredMessage",a?.variantSelectionRequiredMessage,"variantSelectionRequiredMessage")}};export{getButtonDynamicSourceLocales};
