(()=>{"use strict";const e=window.wp.data,t=window.wp.element,o=window.wc.wcBlocksData,c=window.wc.blocksCheckout;(0,window.wp.plugins.registerPlugin)("checkout-observer",{render:()=>{const w=(0,e.useSelect)(e=>e(o.PAYMENT_STORE_KEY).getActivePaymentMethod());(0,t.useEffect)(()=>{(0,c.extensionCartUpdate)({namespace:"wc-koin-gateway-update-total",data:{payment_method:w}})},[w])},scope:"woocommerce-checkout"})})();