"use strict";var core=require("@gem-sdk/core");const getBaseClasses=t=>({"gp-block":!0,[`wrap__button--unbranded__${t}`]:!0,[String.raw`[&_.shopify-payment-button\_\_button--unbranded]:gp-min-h-fit`]:!0,[String.raw`disabled:[&_.shopify-payment-button\_\_button--unbranded]:gp-pointer-events-none`]:!0}),getTypographyClass=t=>t?{[String.raw`[&_.shopify-payment-button\_\_button--unbranded]:!${core.genTypoClass(t)}`]:!0}:{},getSpacingClass=t=>t?{[String.raw`[&_.shopify-payment-button\_\_button--unbranded]:!${core.genSizeClass(t)}`]:!0}:{},getButtonClasses=({uid:t="",styles:e})=>({...getBaseClasses(t),...getTypographyClass(e?.typo?.type),...getSpacingClass(e?.btnSpacing?.type),[core.getGlobalColorStateClassDynamicBtn("text",e?.textColor)]:!0});exports.getButtonClasses=getButtonClasses;
