import{h}from"./index-25e5af33.js";const ManualPaymentMethods=({methods:e})=>(e||[]).map((e=>h("sc-payment-method-choice",{"is-manual":!0,"processor-id":null==e?void 0:e.id},h("span",{slot:"summary"},null==e?void 0:e.name),h("sc-card",null,h("sc-payment-selected",{label:wp.i18n.sprintf(
// translators: Manual payment method.
wp.i18n.__("%s selected for check out.","surecart"),null==e?void 0:e.name)},h("div",{innerHTML:null==e?void 0:e.description})))))),MockProcessor=({processor:e})=>(null==e?void 0:e.id)?h("sc-payment-method-choice",{key:null==e?void 0:e.id,"processor-id":"mock"},h("span",{slot:"summary",class:"sc-payment-toggle-summary"},h("sc-icon",{name:"credit-card",style:{fontSize:"24px"},"aria-hidden":"true"}),h("span",null,wp.i18n.__("Test Processor","surecart"))),h("sc-card",null,h("sc-payment-selected",{label:wp.i18n.__("Test processor selected for check out.","surecart")},h("sc-icon",{slot:"icon",name:"credit-card","aria-hidden":"true"}),wp.i18n.__("This is a test payment processor used to simulate test transactions. It is only available in test mode.","surecart")))):null;export{ManualPaymentMethods as M,MockProcessor as a};