import{getDynamicSourceLocales as e}from"../../../../helpers.js";let getSortingTextDisplayVal=({setting:t,builderProps:a,pageContext:l},i)=>{let{sortingTextDisplay:n,translate:s}=t??{};return"react"==i?n:e({val:n,uid:a?.uid,settingId:"sortingTextDisplay",pageContext:l,translate:s})},getQuantityTextDisplayVal=({setting:t,builderProps:a,pageContext:l},i)=>{let{quantityTextDisplay:n,translate:s}=t??{};return"react"==i?n:e({val:n,uid:a?.uid,settingId:"quantityTextDisplay",isLiquid:!0,pageContext:l,translate:s})},SORT_OPTIONS=[{name:"Best selling",value:"best-selling"},{name:"Featured",value:"manual"},{name:"Alphabetically, A-Z",value:"title-ascending"},{name:"Alphabetically, Z-A",value:"title-descending"},{name:"Price, low to high",value:"price-ascending"},{name:"Price, high to low",value:"price-descending"},{name:"Date, new to old",value:"created-descending"},{name:"Date, old to new",value:"created-ascending"}],sortBy="manual";export{SORT_OPTIONS,getQuantityTextDisplayVal,getSortingTextDisplayVal,sortBy};
