1/*! Copyright 2025 SweetCode. All rights reserved. */ 2(self.webpackChunkPixel_Manager_for_WooCommerce=self.webpackChunkPixel_Manager_for_WooCommerce||[]).push([[194],{7191(){const e=(e,o,t)=>{"function"!=typeof pmw.emitBlocksEventOnce?t():pmw.emitBlocksEventOnce(e,o,t)};wp.hooks.addAction("experimental__woocommerce_blocks-cart-add-item","pixel-manager-for-woocommerce",e=>{pmw.addProductToCart(e.product.id,1)}),wp.hooks.addAction("experimental__woocommerce_blocks-cart-set-item-quantity","pixel-manager-for-woocommerce",e=>{e.quantity>e.product.quantity&&pmw.addProductToCart(e.product.id,e.quantity-e.product.quantity),e.quantity<e.product.quantity&&pmw.removeProductFromCart(e.product.id,e.product.quantity-e.quantity)}),wp.hooks.addAction("experimental__woocommerce_blocks-cart-remove-item","pixel-manager-for-woocommerce",e=>{pmw.removeProductFromCart(e.product.id,e.quantity)});const o=function(e,o){let t;return function(...r){clearTimeout(t),t=setTimeout(()=>e.apply(this,r),o)}}(o=>{o.storeCart.shippingAddress&&["first_name","last_name","address_1","city","postcode","country"].every(e=>o.storeCart.shippingAddress[e])&&e("add_shipping_info",2e3,()=>pmw.bus.emit("pmw:add-shipping-info",o))},2e3);wp.hooks.addAction("experimental__woocommerce_blocks-checkout-set-shipping-address","pixel-manager-for-woocommerce",e=>{o(e)}),wp.hooks.addAction("experimental__woocommerce_blocks-checkout-set-active-payment-method","pixel-manager-for-woocommerce",o=>{let t={paymentType:{text:o.value}};e("add_payment_info",2e3,()=>pmw.bus.emit("pmw:add-payment-info",t))}),wp.hooks.addAction("experimental__woocommerce_blocks-checkout-submit","pixel-manager-for-woocommerce",()=>{e("place_order",5e3,()=>pmw.bus.emit("pmw:place-order",{}))})}}]); 3//# sourceMappingURL=wc-hooks.0df46ac3.chunk.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.