!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const e="/Users/sebastian/Work/DePay/web3-woocommerce-depay-payments/src/block.js";!function(t){const n=window.wc.wcSettings.getPaymentMethodData("depay_wc_payments");if(n){const a=({})=>t.createElement("span",{__self:this,__source:{fileName:e,lineNumber:9}},n.title,t.createElement("span",{className:"wc-depay-icons-container",__self:this,__source:{fileName:e,lineNumber:11}},n.blockchains.map(((a,c)=>t.createElement("img",{className:"wc-depay-blockchain-icon",key:c,title:`Payments on ${a}`,src:`${n.pluginUrl}images/blockchains/${a}.svg`,__self:this,__source:{fileName:e,lineNumber:14}}))))),c=({})=>t.createElement(t.Fragment,null,n.description&&n.description.length>0&&t.createElement("div",{__self:this,__source:{fileName:e,lineNumber:26}},n.description));window.wc.wcBlocksRegistry.registerPaymentMethod({name:"depay_wc_payments",label:Object(window.wp.element.createElement)(a,null),ariaLabel:n.title,content:Object(window.wp.element.createElement)(c,null),edit:Object(window.wp.element.createElement)(c,null),canMakePayment:()=>!0,paymentMethodId:"depay_wc_payments",supports:{features:["products"]}})}["arbitrum","avalanche","base","bsc","ethereum","fantom","gnosis","optimism","polygon","worldchain","solana"].forEach((n=>{const a=window.wc.wcSettings.getPaymentMethodData(`depay_wc_payments_${n}`);if(a){const c=({})=>t.createElement("span",{__self:this,__source:{fileName:e,lineNumber:68}},a.title,t.createElement("span",{className:"wc-depay-icons-container",__self:this,__source:{fileName:e,lineNumber:70}},t.createElement("img",{className:"wc-depay-blockchain-icon",title:`Payments on ${n}`,src:`${a.pluginUrl}images/blockchains/${n}.svg`,__self:this,__source:{fileName:e,lineNumber:71}}))),i=({})=>t.createElement(t.Fragment,null,a.description&&t.createElement("div",{__self:this,__source:{fileName:e,lineNumber:81}},a.description));window.wc.wcBlocksRegistry.registerPaymentMethod({name:`depay_wc_payments_${n}`,label:Object(window.wp.element.createElement)(c,null),ariaLabel:a.title,content:Object(window.wp.element.createElement)(i,null),edit:Object(window.wp.element.createElement)(i,null),canMakePayment:()=>!0,paymentMethodId:`depay_wc_payments_${n}`,supports:{features:["products"]}})}}))}(window.React)}));
