(()=>{"use strict";var e={20:(e,t,r)=>{var n=r(609),o=Symbol.for("react.element"),s=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,c={},d=null,p=null;for(n in void 0!==r&&(d=""+r),void 0!==t.key&&(d=""+t.key),void 0!==t.ref&&(p=t.ref),t)s.call(t,n)&&!a.hasOwnProperty(n)&&(c[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===c[n]&&(c[n]=t[n]);return{$$typeof:o,type:e,key:d,ref:p,props:c,_owner:i.current}}t.jsx=c,t.jsxs=c},609:e=>{e.exports=window.React},848:(e,t,r)=>{e.exports=r(20)}},t={};const r=window.wc.wcBlocksRegistry,n=window.wp.i18n,o=window.wc.wcSettings,s=window.wp.htmlEntities,i=window.wp.element;var a=function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}(848);const c=(0,o.getPaymentMethodData)("paidy",{}),d=(0,n.__)("Paidy","woocommerce-for-japan"),p=(0,s.decodeEntities)(c?.title||"")||d,l=c.description+c.paidy_description,w=c.icons||"",y=()=>(0,a.jsx)(i.RawHTML,{children:l||""}),f=e=>{const{PaymentMethodLabel:t,PaymentMethodIcons:r}=e.components,n=(()=>{const[[e,{src:t,alt:r}]]=Object.entries(w);return[{id:e,src:t,alt:r}]})();return(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,a.jsx)(t,{text:p}),(0,a.jsx)(r,{icons:n,align:"left"})]})},_={name:"paidy",label:(0,a.jsx)(f,{}),content:(0,a.jsx)(y,{}),edit:(0,a.jsx)(y,{}),canMakePayment:()=>!0,ariaLabel:p,supports:{features:c.supports}};(0,r.registerPaymentMethod)(_)})();