"use strict";var core=require("@gem-sdk/core");const getClassContainer=()=>composeClasses("gp_collection-toolbar"),getClassToolbarWrapper=()=>composeClasses("gp_collection-toolbar-wrapper gp-inline-flex"),getClassToolbarSortWrapper=()=>composeClasses("gp_collection-toolbar-wrapper_sort gp-flex gp-items-center gp-bg-transparent"),getClassSelect=e=>{let{typoSorting:s,typographySorting:o,colorSorting:r}=e??{};return composeClasses(core.cls(core.getGlobalColorClass("text",r),core.composeTypographyClassName(s,o)))},getClassToolbarWrapperQuantity=e=>{let{typoQuantity:s,typographyQuantity:o,colorQuantity:r}=e??{};return composeClasses(core.cls("gp_collection-toolbar-wrapper_quantity gp-flex gp-flex-1 gp-items-center gp-justify-end",core.getGlobalColorClass("text",r),core.composeTypographyClassName(s,o)))},composeClasses=e=>e.trim().split(/\s+/).reduce((e,s)=>(e[s]=!0,e),{});exports.getClassContainer=getClassContainer,exports.getClassSelect=getClassSelect,exports.getClassToolbarSortWrapper=getClassToolbarSortWrapper,exports.getClassToolbarWrapper=getClassToolbarWrapper,exports.getClassToolbarWrapperQuantity=getClassToolbarWrapperQuantity;
