PageSourceSearch

https://www.emilygriffith.edu/wp-content/plugins/woocommerce-googl…/public/free/wc-hooks.61457d30.chunk.min.js

js emilygriffith.edu collected 2026-09-24 10:39:23 UTC 2,319 bytes, 3 lines download raw bytes

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)};function o(e,o){let t;return function(...c){clearTimeout(t),t=setTimeout(()=>e.apply(this,c),o)}}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 t=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=>{t(e)});const c=o(e=>{const o=e?.storeCart?.billingAddress||{},t=e?.storeCart?.shippingAddress||{};pmw.bus.emit("pmw:add-contact-info",{email:o.email||"",phone:o.phone||t.phone||"",firstName:o.first_name||t.first_name||"",lastName:o.last_name||t.last_name||"",address:{zip:o.postcode||t.postcode||"",city:o.city||t.city||"",countryCode:o.country||t.country||"",provinceCode:o.state||t.state||""}})},2e3);wp.hooks.addAction("experimental__woocommerce_blocks-checkout-set-email-address","pixel-manager-for-woocommerce",e=>{c(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.61457d30.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.