"use strict";var e=require("@gem-sdk/core");exports.getContainerClasses=s=>{let{progressBarPosition:o="bottom"}=s??{},p="bottom"===o;return{...e.composeClasses("gp-inline-block gp-flex"),"gp-flex-col":p,"gp-flex-col-reverse":!p}},exports.getIconClasses=()=>({...e.composeClasses("[&>svg]:!gp-h-[var(--w)] [&>svg]:!gp-w-auto tablet:[&>svg]:!gp-h-[var(--w-tablet)] mobile:[&>svg]:!gp-h-[var(--w-mobile)]")}),exports.getLiquidTagClasses=s=>({...e.composeClasses("gp-product-stock-counter data-[visible=true]:gp-block data-[visible=false]:gp-hidden"),...e.composeClasses(s?.cssClass)}),exports.getOuterIconClasses=()=>({...e.composeClasses("gp-shrink-0 ")}),exports.getProgressBarClasses=s=>{let{effect:o}=s??{},p=o?e.composeClasses("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.composeClasses("gp-sc-progress-bar gp-relative gp-w-full -gp-scale-100 !gp-bg-[length:200%] gp-mt-2"),...p}},exports.getTextClasses=s=>{let{typo:o}=s??{},p=e.composeTypographyClassName(o,s?.typography);return{...e.composeClasses(p),"!gp-whitespace-normal gp-min-w-4":!0}},exports.getWrapperClasses=(s,o)=>{let{hiddenCounterWhenOutOfStock:p}=s??{};return{...e.composeClasses("gp-flex"),"gp-opacity-50":o&&p}},exports.getWrapperIconClasses=s=>{let{iconPosition:o="left"}=s??{};return{...e.composeClasses("gp-flex gp-items-baseline gp-gap-x-1"),"gp-flex-row":"left"===o,"gp-flex-row-reverse gp-justify-end":"right"===o}};
