PageSourceSearch

https://www.illumeo.com/wp-content/plugins/edwiser-bridge-pro/publ…/js/bridge-woocommerce-public.js?ver=4.2.2

js illumeo.com collected 2026-09-24 11:16:52 UTC 1,664 bytes, 61 lines download raw bytes

1jQuery(document).ready(function($){
2	if (jQuery('#wi-thanq-wrapper').length) {
3		wiThankYouRedirection();
4	}
5
6	if (jQuery('.wi-scc-wrapper').length) {
7		if (jQuery('#wi-scc-url').length) {
8			$('input[name="redirect"]').val(jQuery('#wi-scc-url').val());
9			$('input[name="_wp_http_referer"]').val(jQuery('#wi-scc-url').val());
10		}
11	}
12
13	$('#purchase-for-someone-else-checkbox').on('change', function(){
14		if ($(this).is(':checked')) {
15			$('.eb-purchase-for-someone-else').show();
16		} else {
17			$('.eb-purchase-for-someone-else').hide();
18		}
19	});
20});
21
22function wiThankYouRedirection()
23{
24	// Countdown.
25	var countDownElement = document.getElementById("wi-countdown");
26	var counter = 10;
27	var id = wiCountDown(countDownElement, counter);
28
29	// Cancel redirect.
30	jQuery(document).on('click', '#wi-cancel-redirect', function(){
31		if (jQuery(this).attr('data-wi-auto-redirect') === 'on') {
32        	jQuery(this).attr('data-wi-auto-redirect', 'off');
33        	jQuery(this).text(wiPublic.resume);
34        	clearInterval(id);
35        } else {
36        	jQuery(this).attr('data-wi-auto-redirect', 'on');
37        	jQuery(this).text(wiPublic.cancel);
38        	id = wiCountDown(countDownElement, jQuery(countDownElement).text());
39        }
40	});
41}
42
43function wiCountDown(countDownElement, counter)
44{
45	var id = setInterval(function() {
46	    counter--;
47	    if(counter < 0) {
48	        clearInterval(id);
49
50	        // Redirect
51	        if (jQuery('#wi-cancel-redirect').attr('data-wi-auto-redirect') === 'on') {
52	        	window.location.href = wiPublic.myCoursesUrl;
53	        }
54	    } else {
55	    	jQuery(countDownElement).text(counter.toString());
56	    }
57	}, 1000);
58
59	return id;
60}
61

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.