Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
woo-paystack
/
assets
/
js
/
blocks
/
frontend
/
blocks
:
paystack-two.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
(()=>{"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)})();