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