• File: paystack-two.js
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/woo-paystack/assets/js/blocks/frontend/blocks/paystack-two.js
  • Date Modified: 11/16/2026 4:32 AM
  • File size: 1.06 KB
  • MIME-type: text/plain
  • Charset: utf-8
(()=>{"use strict";const t=window.wc.wcBlocksRegistry,e=window.wc.wcSettings,i=window.wp.i18n,s=window.wp.htmlEntities,l=window.ReactJSXRuntime,a=(0,i.__)("Paystack ","woo-paystack"),o=({title:t})=>(0,s.decodeEntities)(t)||a,r=({description:t})=>(0,s.decodeEntities)(t||""),d=({logoUrls:t,label:e})=>(0,l.jsx)("div",{style:{display:"flex",flexDirection:"row",gap:"0.5rem",flexWrap:"wrap"},children:t.map((t,i)=>(0,l.jsx)("img",{src:t,alt:e},i))}),n=({logoUrls:t,title:e})=>(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"row",gap:"0.5rem"},children:[(0,l.jsx)("div",{children:o({title:e})}),(0,l.jsx)(d,{logoUrls:t,label:o({title:e})})]})}),c=(0,e.getSetting)("paystack-two_data",{}),w=o({title:c.title}),p={name:"paystack-two",label:(0,l.jsx)(n,{logoUrls:c.logo_urls,title:c.title}),content:(0,l.jsx)(r,{description:c.description}),edit:(0,l.jsx)(r,{description:c.description}),canMakePayment:()=>!0,ariaLabel:w,supports:{showSavedCards:c.allow_saved_cards,showSaveOption:c.allow_saved_cards,features:c.supports}};(0,t.registerPaymentMethod)(p)})();