(()=>{"use strict";const t=window.wp.htmlEntities,e=window.ReactJSXRuntime,{registerPaymentMethod:i}=window.wc.wcBlocksRegistry,{getSetting:s}=window.wc.wcSettings,n=s("china_payments_stripe_alipay_data",{}),a=(0,t.decodeEntities)(n.title),c=()=>(0,t.decodeEntities)(n.description||""),d=()=>n.icon?(0,e.jsx)("img",{src:n.icon,style:{height:"24px",width:"auto",maxWidth:"120px",marginLeft:"auto"}}):"",o=()=>(0,e.jsxs)("span",{style:{width:"100%",display:"flex",alignItems:"center"},children:[a,(0,e.jsx)(d,{})]});i({name:"china_payments_stripe_alipay",label:(0,e.jsx)(o,{}),content:(0,e.jsx)(c,{}),edit:(0,e.jsx)(c,{}),canMakePayment:()=>!0,ariaLabel:a,supports:{features:n.supports}})})();