(()=>{"use strict";const e=window.wc.wcBlocksRegistry,t=window.wp.i18n,n=window.wc.wcSettings,i=window.wp.htmlEntities,o=window.wc.sanitize,s=window.wp.element,w=window.ReactJSXRuntime;var c;const a=(0,n.getPaymentMethodData)("cheque",{}),d=(0,t.__)("Check payment","woocommerce"),r=(0,i.decodeEntities)(a?.title||"")||d,m=()=>(0,w.jsx)(s.RawHTML,{children:(0,o.sanitizeHTML)(a.description||"")}),l=e=>{const{PaymentMethodLabel:t}=e.components;return(0,w.jsx)(t,{text:r})},p={name:"cheque",label:(0,w.jsx)(l,{}),content:(0,w.jsx)(m,{}),edit:(0,w.jsx)(m,{}),canMakePayment:()=>!0,ariaLabel:r,supports:{features:null!==(c=a?.supports)&&void 0!==c?c:[]}};(0,e.registerPaymentMethod)(p)})();