PageSourceSearch

https://www.growstrongindustries.com/wp-content/plugins/recaptcha-woo/js/rcfwc.js

js growstrongindustries.com collected 2026-10-04 13:29:46 UTC 1,178 bytes, 32 lines download raw bytes

1/* Woo Checkout */
2jQuery( document ).ready(function() {
3    jQuery( document.body ).on( 'update_checkout updated_checkout applied_coupon_in_checkout removed_coupon_in_checkout checkout_error', function() {
4        if(jQuery('.g-recaptcha').length > 0) {
5            if (typeof grecaptcha !== "undefined" && typeof grecaptcha.reset === "function") {
6                var count = 0;
7                jQuery(".g-recaptcha").each(function () {
8                    grecaptcha.reset(count);
9                    count++;
10                });
11            }
12        }
13    });
14});
15
16/* Woo Checkout Block */
17if ( wp && wp.data ) {
18    var unsubscribe = wp.data.subscribe(function() {
19        const recaptcha = document.querySelector('.g-recaptcha');
20        if(recaptcha) {
21            grecaptcha.render(recaptcha, {
22                sitekey: recaptcha.dataset.sitekey,
23                callback: function(data) {
24                    wp.data.dispatch('wc/store/checkout').__internalSetExtensionData('rcfwc', {
25                        token: data
26                    })
27                }
28            });
29        }
30        unsubscribe();
31    }, 'wc/store/cart');
32}

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.