import{a as g,C as b,b as l,m as r,g as m,p as a,q as v,M as f,ac as P,u as n,Z as S,D as i}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{u as w}from"./useSinglePayment-DcJMpQlI.js";import{a as C}from"./widget-BUAABBRb.js";import{u as k}from"./translationsStore-DBJu9sBR.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const x=""+new URL("cash_payment-Cg857gkt.webp",import.meta.url).href,R={class:"ccb-payment"},T={class:"ccb-payment-header"},B={class:"ccb-payment-header__label"},D=["name"],V={class:"ccb-radio-label"},G={class:"calc-payment_header__img"},L=["src"],M={key:0,class:"ccb-payment-body"},j=g({__name:"Cash",props:{name:{}},setup(p){const d=p,{name:u}=b(d),{paymentType:s}=w(),_=k(),o=C(),c=l(()=>{var t,e;return(e=(t=o.getPaymentGateway)==null?void 0:t.cashPayment)==null?void 0:e.type}),y=l(()=>{var t,e;return((e=(t=o.getPaymentGateway)==null?void 0:t.cashPayment)==null?void 0:e.label)||_.getTranslations.cash});return(t,e)=>(m(),r("div",R,[a("label",null,[a("div",T,[a("div",B,[f(a("input",{type:"radio",name:n(u),value:"cash","onUpdate:modelValue":e[0]||(e[0]=h=>S(s)?s.value=h:null)},null,8,D),[[P,n(s)]]),a("span",V,i(y.value),1)]),a("div",G,[a("img",{src:n(x),alt:"card-payment-image",style:{"max-width":"32px"}},null,8,L)])]),n(s)==="cash"&&c.value?(m(),r("div",M,[a("span",null,i(c.value),1)])):v("",!0)])]))}});export{j as default};
//# sourceMappingURL=Cash-Boqhe14T.js.map
