import{Pt as t,pt as a,yt as e}from"./630ba094.L_X-5TXi.js";import{AO as n,Dp as r,EE as i,Gg as o,_f as c,wb as l,xO as u}from"./6ec9a0fa.rdcQt2v8.js";function s({manualPaymentMethod:s}){const m=l("alternativePaymentCurrency"),{i18n:y,checkout:{negotiator:f}}=u(),p=f.current.fields.alternativePaymentCurrency,d=i(),_=t(()=>{if(!d.value){const t=f.initialAlternativePaymentCurrency.value;return t.loading?void 0:t.totalWithoutGiftCards}if(!m.value)return p.value?.totalWithoutGiftCards});return e(o,{gap:"base",children:e(c,{children:e(a,{when:_,fallback:e(r,{inlineSize:"base"}),children:t=>{const a={amount_due:e(n,{type:"strong",children:y.formatCurrency(t.amount,{currency:t.currencyCode,form:"explicit"})})};return s?y.translate("payment.alternative_payment_currency_total_manual_payment_notice",a):y.translate("payment.alternative_payment_currency_total_notice",a)}})})})}export{s as t};