import{composeClasses as e,composeTypographyClassName as t}from"@gem-sdk/core";let g=t=>{let{effect:g}=t??{},s=g?e("before:gp-absolute before:gp-left-0 before:gp-h-full before:gp-w-full before:gp-animate-shift before:gp-content-[''] before:gp-bg-stock-counter-animate before:gp-bg-[length:60px_100%] before:gp-shadow-stock-counter"):{};return{...e("gp-sc-progress-bar gp-relative gp-w-full -gp-scale-100 !gp-bg-[length:200%] gp-mt-2"),...s}},s=t=>{let{progressBarPosition:g="bottom"}=t??{},s="bottom"===g;return{...e("gp-inline-block gp-flex"),"gp-flex-col":s,"gp-flex-col-reverse":!s}},r=t=>({...e("gp-product-stock-counter data-[visible=true]:gp-block data-[visible=false]:gp-hidden"),...e(t?.cssClass)}),p=t=>{let{iconPosition:g="left"}=t??{};return{...e("gp-flex gp-items-baseline gp-gap-x-1"),"gp-flex-row":"left"===g,"gp-flex-row-reverse gp-justify-end":"right"===g}},l=()=>({...e("[&>svg]:!gp-h-[var(--w)] [&>svg]:!gp-w-auto tablet:[&>svg]:!gp-h-[var(--w-tablet)] mobile:[&>svg]:!gp-h-[var(--w-mobile)]")}),o=()=>({...e("gp-shrink-0 ")}),a=g=>{let{typo:s}=g??{},r=t(s,g?.typography);return{...e(r),"!gp-whitespace-normal gp-min-w-4":!0}},n=(t,g)=>{let{hiddenCounterWhenOutOfStock:s}=t??{};return{...e("gp-flex"),"gp-opacity-50":g&&s}};export{s as getContainerClasses,l as getIconClasses,r as getLiquidTagClasses,o as getOuterIconClasses,g as getProgressBarClasses,a as getTextClasses,n as getWrapperClasses,p as getWrapperIconClasses};
