PageSourceSearch

https://plastic.es/wp-content/plugins/cf7-builder/script/cf7b_frontend.js?ver=2.0.8

js plastic.es collected 2026-10-08 02:16:13 UTC 2,298 bytes, 65 lines download raw bytes

1jQuery('document').ready(function () {
2
3  jQuery(".cf7b-content").each(function () {
4    var ind = 1;
5    jQuery(this).find(".cf7b-page").each(function () {
6      jQuery(this).attr("data-page",ind);
7      if( ind !== 1) {
8        jQuery(this).addClass("cf7b-hidden");
9      } else {
10        jQuery(this).addClass("cf7b-active");
11      }
12      ind++;
13    });
14
15    if( jQuery(this).find(".cf7b-page").length > 1 ) {
16      jQuery(this).append("<div class='cf7b-pagination-row'><span class='cf7b-prev'>Prev</span><span class='cf7b-next'>Next</span></div>");
17    }
18
19  });
20
21
22  jQuery(".cf7b-next").on("click", function() {
23    var content = jQuery(this).closest(".cf7b-content");
24    var active = parseInt(content.find(".cf7b-active").attr("data-page"));
25    var next = active+1;
26    if( content.find(".cf7b-page[data-page="+next+"]").length > 0 ) {
27      content.find(".cf7b-active").addClass("cf7b-hidden");
28      content.find(".cf7b-page").removeClass("cf7b-active");
29      content.find(".cf7b-page[data-page="+next+"]").addClass("cf7b-active").removeClass("cf7b-hidden");
30    }
31  });
32
33  jQuery(".cf7b-prev").on("click", function() {
34    var content = jQuery(this).closest(".cf7b-content");
35    var active = parseInt(content.find(".cf7b-active").attr("data-page"));
36    var prev = active-1;
37    if( content.find(".cf7b-page[data-page="+prev+"]").length > 0 ) {
38      content.find(".cf7b-active").addClass("cf7b-hidden");
39      content.find(".cf7b-page").removeClass("cf7b-active");
40      content.find(".cf7b-page[data-page="+prev+"]").addClass("cf7b-active").removeClass("cf7b-hidden");
41    }
42  });
43
44  /* Action after submit part */
45  cf7b_action_after_submit();
46});
47
48function cf7b_action_after_submit() {
49  document.addEventListener( 'wpcf7submit', function( event ) {
50    var cf7b_action_type = cf7b_settings.action_type;
51    var cf7b_action_value = cf7b_settings.action_value;
52
53    if( cf7b_action_type == 0 || cf7b_action_value === '' ) {
54      return;
55    }
56
57    if( cf7b_action_type == 1 || cf7b_action_type == 2 || cf7b_action_type == 4) {
58      location = cf7b_action_value;
59    } else {
60      $success_msg = "<p class='success'>"+cf7b_action_value+"</p>";
61      jQuery(".wpcf7-form").before($success_msg);
62    }
63  }, false );
64
65}

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.