PageSourceSearch

https://bodegaspinoso.com/wp-content/plugins/popup-notifier-for-co…/js/popupnotifiercf7.js?ver=1.0.0

js bodegaspinoso.com collected 2026-10-10 00:55:39 UTC 2,471 bytes, 68 lines download raw bytes

1//
2//	Define variables
3//
4
5var isAutoClose = PopUpParamsCF7.popupnotifiercf7_option_isAutoClose == 1 ? true : false;
6var isConfirmButton = PopUpParamsCF7.popupnotifiercf7_option_isConfirmButton == 1 ? true : false;
7var isShowIcon = PopUpParamsCF7.popupnotifiercf7_option_isShowIcon == 1 ? true : false;
8var customSeconds = PopUpParamsCF7.popupnotifiercf7_option_customSeconds ? PopUpParamsCF7.popupnotifiercf7_option_customSeconds : 2500;
9customSeconds = isAutoClose ? customSeconds : undefined;
10var customTextButton = PopUpParamsCF7.popupnotifiercf7_option_customTextButton ? PopUpParamsCF7.popupnotifiercf7_option_customTextButton : 'Close';
11var customTextButtonBackground = PopUpParamsCF7.popupnotifiercf7_option_customTextButtonBackground;
12
13//
14//	Sweetalert
15//
16
17document.addEventListener( 'wpcf7mailsent', function( event ) {
18	Swal.fire({
19	  title: event.detail.apiResponse.message,
20	  icon: isShowIcon ? 'success' : undefined,
21	  showConfirmButton: isConfirmButton,
22	  timer: customSeconds,
23	  confirmButtonText: customTextButton,
24	  confirmButtonColor: customTextButtonBackground,
25	})
26}, false );
27
28document.addEventListener( 'wpcf7invalid', function( event ) {
29	Swal.fire({
30	  title: event.detail.apiResponse.message,
31	  icon: isShowIcon ? 'error' : undefined,
32	  showConfirmButton: isConfirmButton,
33	  timer: customSeconds,
34	  confirmButtonText: customTextButton,
35	  confirmButtonColor: customTextButtonBackground,
36	})
37}, false );
38
39document.addEventListener( 'wpcf7spam', function( event ) {
40	Swal.fire({
41	  title: event.detail.apiResponse.message,
42	  icon: isShowIcon ? 'warning' : undefined,
43	  showConfirmButton: isConfirmButton,
44	  timer: customSeconds,
45	  confirmButtonText: customTextButton,
46	  confirmButtonColor: customTextButtonBackground,
47	})
48}, false );
49
50document.addEventListener( 'wpcf7mailfailed', function( event ) {
51	Swal.fire({
52	  title: event.detail.apiResponse.message,
53	  icon: isShowIcon ? 'warning' : undefined,
54	  showConfirmButton: isConfirmButton,
55	  timer: customSeconds,
56	  confirmButtonText: customTextButton,
57	  confirmButtonColor: customTextButtonBackground,
58	})
59}, false );
60
61document.addEventListener( 'wpcf7submit', function( event ) {
62	var divsToHide = document.getElementsByClassName("wpcf7-response-output");
63	for(var i = 0; i < divsToHide.length; i++){
64	    divsToHide[i].style.visibility = "hidden";
65	    divsToHide[i].style.display = "none";
66	}
67}, false );
68

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.