"use strict";var helpers=require("../../../../helpers.js");const getSortingTextDisplayVal=({setting:e,builderProps:t,pageContext:a},l)=>{let{sortingTextDisplay:i,translate:n}=e??{};return"react"==l?i:helpers.getDynamicSourceLocales({val:i,uid:t?.uid,settingId:"sortingTextDisplay",pageContext:a,translate:n})},getQuantityTextDisplayVal=({setting:e,builderProps:t,pageContext:a},l)=>{let{quantityTextDisplay:i,translate:n}=e??{};return"react"==l?i:helpers.getDynamicSourceLocales({val:i,uid:t?.uid,settingId:"quantityTextDisplay",isLiquid:!0,pageContext:a,translate:n})},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";exports.SORT_OPTIONS=SORT_OPTIONS,exports.getQuantityTextDisplayVal=getQuantityTextDisplayVal,exports.getSortingTextDisplayVal=getSortingTextDisplayVal,exports.sortBy="manual";
