import{composeTypographyClassName as e,cls as t,getGlobalColorClass as r}from"@gem-sdk/core";let a=({setting:a})=>{let s=e(a?.typo,a?.typography);return f(t("gp-relative p-description-wrapper gp-p-description-text gp-break-words safari:[&_p]:gp-inline safari:[&_p]:after:gp-whitespace-pre",s,r("text",a?.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"))},s=()=>f(t("gp-p-2 gp-text-center gp-text-sm gp-font-semibold gp-text-gray-500 gp-py-2 !gp-text-center")),o=({setting:a})=>{let s=e(a?.typo,a?.typography);return f(t("p-description-show-more","gp-mt-4 hover:gp-opacity-80 gp-transition-all gp-w-full gp-items-center",s,r("text",a?.showMoreColor)))},p=({advanced:e})=>f(t("gp-collection-description",e?.cssClass)),g=()=>f(t("gp-show-more-icon gp-ml-1 gp-flex gp-items-center")),i=()=>f(t("gp-show-more-text")),l=()=>f(t("gp-rotate-180 gp-hidden")),f=e=>e.trim().split(/\s+/).reduce((e,t)=>(e[t]=!0,e),{});export{o as getClassButtonViewMore,a as getClassContainerCollectionDes,s as getClassEmptyCollectionDes,l as getClassPreBuilt,p as getDescriptionClasses,g as getShowMoreIconClasses,i as getShowMoreTextClasses};
