(()=>{"use strict";const e=window.React,t=window.wp.i18n,c=wcSettings.paymentMethodData.mycred,o=()=>c&&(0,e.createElement)("div",{class:"mycred-woo-fields-wrapper"},(0,e.createElement)("div",{class:"mycred-woo-order-total"},(0,e.createElement)("span",{class:"mycred-woo-order-total-label"},(0,t.__)(c.order_total_label,"mycred-woocommerce")),(0,e.createElement)("span",{class:"mycred-woo-order-total-value"},c.order_total)),(0,e.createElement)("div",{class:"mycred-woo-total-credit"},(0,e.createElement)("span",{class:"mycred-woo-total-credit-label"},(0,t.__)(c.balance_label,"mycred-woocommerce")),(0,e.createElement)("span",{class:"mycred-woo-total-credit-value"},c.balance))),{registerPlugin:r}=wp.plugins,{ExperimentalOrderMeta:a}=wc.blocksCheckout;r("mycredwoo",{render:()=>(0,e.createElement)(a,null,(0,e.createElement)(o,null)),scope:"woocommerce-checkout"})})();