HEX
Server: LiteSpeed
System: Linux premium212.web-hosting.com 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
User: vitanhod (1367)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/vitanhod/www/wp-content/plugins/woocommerce/assets/client/blocks/wc-payment-method-cod.js
(()=>{"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,a=window.ReactJSXRuntime,c=(0,n.getPaymentMethodData)("cod",{}),r=(0,t.__)("Cash on delivery","woocommerce"),d=(0,i.decodeEntities)(c?.title||"")||r,w=()=>(0,a.jsx)(s.RawHTML,{children:(0,o.sanitizeHTML)(c.description||"")}),l=e=>{const{PaymentMethodLabel:t}=e.components;return(0,a.jsx)(t,{text:d})},p={name:"cod",label:(0,a.jsx)(l,{}),content:(0,a.jsx)(w,{}),edit:(0,a.jsx)(w,{}),canMakePayment:({cartNeedsShipping:e,selectedShippingMethods:t})=>{if(c.enableForVirtual&&!e)return!0;if(!c.enableForShippingMethods.length)return!0;const n=Object.values(t);return 0===n.length||c.enableForShippingMethods.some(e=>n.some(t=>t.includes(e)))},ariaLabel:d,supports:{features:c?.supports??[]}};(0,e.registerPaymentMethod)(p)})();