"use strict";var core=require("@gem-sdk/core");const getClassContainerCollectionDes=({setting:e})=>{let s=core.composeTypographyClassName(e?.typo,e?.typography);return composeClasses(core.cls("gp-relative p-description-wrapper gp-p-description-text gp-break-words safari:[&_p]:gp-inline safari:[&_p]:after:gp-whitespace-pre",s,core.getGlobalColorClass("text",e?.color),"data-[browser=safari]:after:gp-content-[' '] data-[browser=safari]:after:gp-absolute data-[browser=safari]:after:gp-left-0 data-[browser=safari]:after:gp-right-0 data-[browser=safari]:after:gp-bottom-0 data-[browser=safari]:after:gp-w-full data-[browser=safari]:after:gp-h-1/2 data-[browser=safari]:after:gp-bg-gradient-to-t data-[browser=safari]:after:gp-from-white"))},getClassEmptyCollectionDes=()=>composeClasses(core.cls("gp-p-2 gp-text-center gp-text-sm gp-font-semibold gp-text-gray-500 gp-py-2 !gp-text-center")),getClassButtonViewMore=({setting:e})=>{let s=core.composeTypographyClassName(e?.typo,e?.typography);return composeClasses(core.cls("p-description-show-more","gp-mt-4 hover:gp-opacity-80 gp-transition-all gp-w-full gp-items-center",s,core.getGlobalColorClass("text",e?.showMoreColor)))},getDescriptionClasses=({advanced:e})=>composeClasses(core.cls("gp-collection-description",e?.cssClass)),getShowMoreIconClasses=()=>composeClasses(core.cls("gp-show-more-icon gp-ml-1 gp-flex gp-items-center")),getShowMoreTextClasses=()=>composeClasses(core.cls("gp-show-more-text")),getClassPreBuilt=()=>composeClasses(core.cls("gp-rotate-180 gp-hidden")),composeClasses=e=>e.trim().split(/\s+/).reduce((e,s)=>(e[s]=!0,e),{});exports.getClassButtonViewMore=getClassButtonViewMore,exports.getClassContainerCollectionDes=getClassContainerCollectionDes,exports.getClassEmptyCollectionDes=getClassEmptyCollectionDes,exports.getClassPreBuilt=getClassPreBuilt,exports.getDescriptionClasses=getDescriptionClasses,exports.getShowMoreIconClasses=getShowMoreIconClasses,exports.getShowMoreTextClasses=getShowMoreTextClasses;
