import{getGlobalColorStateClassDynamicBtn as t,genTypoClass as n,genSizeClass as e}from"@gem-sdk/core";let 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]:!${n(t)}`]:!0}:{},getSpacingClass=t=>t?{[String.raw`[&_.shopify-payment-button\_\_button--unbranded]:!${e(t)}`]:!0}:{},getButtonClasses=({uid:n="",styles:e})=>({...getBaseClasses(n),...getTypographyClass(e?.typo?.type),...getSpacingClass(e?.btnSpacing?.type),[t("text",e?.textColor)]:!0});export{getButtonClasses};
