"use strict";var e=require("@gem-sdk/core");exports.getContainerClass=()=>({"gp-inline-flex gp-flex-wrap gp-items-end gp-gap-3":!0}),exports.getProductTagClass=e=>({"gp-block data-[disabled=true]:gp-hidden":!0,...e?.cssClass&&{[e?.cssClass]:!0}}),exports.getRootClass=({mode:e,salePrice:s,priceSave:l,bundleItem:t})=>({"gp-opacity-0 ":"edit"!==e&&(s<=0||0>=Math.ceil(l/(s/100))),"gp-opacity-20 ":"edit"===e&&(s<=0||0>=Math.ceil(l/(s/100)))&&!t}),exports.getWrapperTextClass=s=>{let{backgroundColor:l,borderTag:t,textColor:a}=s??{},o=e.getGlobalColorClass("border",t?.color),r=e.getGlobalColorClass("text",a),g=e.getGlobalColorClass("bg",l);return{...e.composeClasses("gp-flex gp-items-center gp-w-full gp-h-full"),[o]:!0,[r]:!0,[g]:!0}};
