PageSourceSearch

https://facagro.com/wp-content/plugins/fac-shortcodes/js/event_ver-1.0.js

js facagro.com collected 2026-10-03 22:25:09 UTC 4,648 bytes, 145 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10(function($) {
11
12/*
13  if($(".owl-carousel").length>0){
14    setTimeout(function(){
15      $(".owl-carousel").owlCarousel({
16        loop:true,
17        // nav:true,
18        dots:true,
19        responsiveClass:true,
20        items:5
21      });
22    }, 500);
23  }
24
25  $( "#accordion" ).accordion({
26      collapsible: true,
27      "active" : ":last"
28  });
29  */
30
31  $( "#dialog_program" ).dialog({
32    autoOpen: false,
33    width: "60%",
34    maxWidth: "600px"
35  });
36
37  // $( ".program-title" ).on( "click", function() {
38
39  //   var content = decodeURIComponent($(this).data("content")).replace( /\+/g, ' ' );
40  //   $(".dialog_content").html( content );
41
42  //   $( "#dialog_program" ).dialog( "open" );
43  // });
44
45  $(".program-title").click(function(){
46        $(this).parent().find(".section_content").slideToggle();
47  });
48
49    
50
51
52  $( "#dialog" ).dialog({
53    autoOpen: false,
54    width: "60%",
55    maxWidth: "600px"
56  });
57
58  $( ".person-wrap" ).on( "click", function() {
59
60    var imge = $(this).find(".avatar").attr("src");
61    var cv = $(this).data("bio");
62    var disc = "<p><strong>Name: </strong>" + $(this).find(".user-name").text() + "</p>";
63    if ($('.user-business').length > 0) {
64      disc += "<p><strong>Business title: </strong>" + $(this).find(".user-business").text() + "</p>";
65    }
66    if ($('.user-org').length > 0) {
67      disc += "<p><strong>Organization: </strong>" + $(this).find(".user-org").text() + "</p>";
68    }
69    if ($(this).data("info") != "") {
70      disc += "<p><strong>Bio: </strong>" + $(this).data("info") + "</p>";
71    }
72    disc += "<p>"+cv+"</p>";
73    console.log("imge = " + imge);
74
75    $(".dialog_left").find("img").attr("src", imge);
76    $(".dialog_right").html( disc );
77
78    $( "#dialog" ).dialog( "open" );
79  });
80
81  if( $('#person_info').length )         // use this if you are using id to check
82  {
83    var current_name = "";
84    $("#person_info").slideUp();
85
86    $(".info-close").click(function()
87    {
88      $("#person_info").slideUp();
89      current_name = "";
90    });
91
92    $("#persons3_wrap .people").click(function()
93    {
94      var imge = $(this).find("img").attr("src");
95      var cv = $(this).data("bio");
96      var disc = "<p><strong>Name: </strong>" + $(this).find(".user-name").text() + "</p>";
97
98      if ($(this).data("title") != "") {
99
100        if (current_name == $(this).data("title")) {
101          $("#person_info").slideUp();
102          current_name = "";
103        }
104        else
105        {
106          current_name = $(this).data("title");
107          console.log("data-title = " + $(this).data("title"));
108          $(".info-name").text($(this).data("title"));
109
110          if ($(this).data("description") != "") {
111            console.log("data-description = " + $(this).data("description"));
112            $(".info-bio").text($(this).data("description"));
113          }
114          else {
115            $(".info-bio").text("");
116          }
117          if ($(this).data("business") != "") {
118            console.log("data-business = " + $(this).data("business"));
119            $(".info-business").text($(this).data("business"));
120          }
121          if ($(this).data("org") != "") {
122            console.log("data-org = " + $(this).data("org"));
123            $(".info-org").text($(this).data("org"));
124          }
125          if ($(this).data("info") != "") {
126            console.log("data-info = " + $(this).data("info"));
127            disc += "<p><strong>Bio: </strong>" + $(this).data("info") + "</p>";
128          }
129          if ($(this).data("category") != "") {
130            console.log("data-category = " + $(this).data("category"));
131          }
132          if ($(this).data("largesrc") != "") {
133            console.log("data-largesrc = " + $(this).data("largesrc"));
134            $(".info-fullimg img").attr("src", $(this).data("largesrc"));
135          }
136          $("#person_info").slideDown();
137          window.scrollTo(0, $("#persons3_wrap").offset().top);
138        }
139      }
140    });
141  }
142
143	
144})( jQuery );
145}

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.