(()=>{"use strict";const e=window.React;function t(t){const c=window.wc.wcSettings.getSetting("stitch-express_data");return(0,e.createElement)("span",null,c.checkout_description)}const{registerPaymentMethod:c}=window.wc.wcBlocksRegistry;c({label:(0,e.createElement)((function(t){const c=window.wc.wcSettings.getSetting("stitch-express_data");return(0,e.createElement)("div",{className:"UxZcXi_y2qynokK0PSsy"},(0,e.createElement)("span",{className:"UmqPaUuJYLCVz6igFbTW"},c.checkout_title),(0,e.createElement)("div",{className:"IGKYqJZGeWmHgWNjllAN"},(0,e.createElement)("img",{src:c.icon_block_master_card,alt:"Master card logo"}),(0,e.createElement)("img",{src:c.icon_block_visa,alt:"visa logo"}),(0,e.createElement)("img",{src:c.icon_block_apple_pay,alt:"apple pay logo"}),(0,e.createElement)("img",{src:c.icon_block_google_pay,alt:"google pay logo"}),(0,e.createElement)("img",{src:c.icon_block_capitec_pay,alt:"capitec pay logo"}),(0,e.createElement)("img",{src:c.icon_block_bnpl,alt:"BNPL logo"})))}),null),ariaLabel:"Pay with Stitch Express",content:(0,e.createElement)(t,null),edit:(0,e.createElement)(t,null),name:"stitch-express",canMakePayment(e){const{currency_code:t,total_price:c}=e.cartTotals;return"ZAR"===t&&parseInt(c,10)>=100},supports:{features:["products","refunds"]},placeOrderButtonLabel:"Pay"})})();