1function bp_init_activity(){jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),void 0!==jq.cookie("bp-activity-filter")&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+jq.cookie("bp-activity-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-activity-scope")&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+jq.cookie("bp-activity-scope")+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(t){jq(t).each(function(e){void 0!==jq.cookie("bp-"+t[e]+"-filter")&&jq("#"+t[e]+"-order-select select").length&&jq("#"+t[e]+'-order-select select option[value="'+jq.cookie("bp-"+t[e]+"-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-"+t[e]+"-scope")&&jq("div."+t[e]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+t[e]+"-"+jq.cookie("bp-"+t[e]+"-scope")+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(t,e,i,a,s,n,o,r,l){return"activity"!==t&&(null===i&&(i="all"),jq.cookie("bp-"+t+"-scope",i,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-"+t+"-filter",e,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-"+t+"-extras",o,{path:"/",secure:"https:"===window.location.protocol}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+t+"-"+i+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+e+'"]').prop("selected",!0),"friends"!==t&&"group_members"!==t||(t="members"),bp_ajax_request&&bp_ajax_request.abort(),void(bp_ajax_request=jq.post(ajaxurl,{action:t+"_filter",cookie:bp_get_cookies(),object:t,filter:e,search_terms:s,scope:i,page:n,extras:o,template:l},function(t){if("pag-bottom"===r&&jq("#subnav").length){var e=jq("#subnav").parent();jq("html,body").animate({scrollTop:e.offset().top},"slow",function(){jq(a).fadeOut(100,function(){jq(this).html(t),jq(this).fadeIn(100)})})}else jq(a).fadeOut(100,function(){jq(this).html(t),jq(this).fadeIn(100)});jq(".item-list-tabs li.selected").removeClass("loading")})))}function bp_activity_request(t,e){null!==t&&jq.cookie("bp-activity-scope",t,{path:"/",secure:"https:"===window.location.protocol}),null!==e&&jq.cookie("bp-activity-filter",e,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+t+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+e+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort(),bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:bp_get_cookies(),_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:t,filter:e},function(t){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(t.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),void 0!==t.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",t.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var t,e,i,a=jq("div.activity-comments");return!!a.length&&void a.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),t=comments_div.parents("#activity-stream > li"),e=jq(this).children("ul").children("li"),i=" ",jq("#"+t.attr("id")+" a.acomment-reply span").length&&(i=jq("#"+t.attr("id")+" a.acomment-reply span").html()),e.each(function(a){a<e.length-5&&(jq(this).addClass("hidden"),jq(this).toggle(),a||jq(this).before('<li class="show-all"><a href="#'+t.attr("id")+'/show-all/" title="'+BP_DTheme.show_all_comments+'">'+BP_DTheme.show_x_comments.replace("%d",i)+"</a></li>"))}))})}function checkAll(){var t,e=document.getElementsByTagName("input");for(t=0;t<e.length;t++)"checkbox"===e[t].type&&(""===$("check_all").checked?e[t].checked="":e[t].checked="checked")}function clear(t){if(t=document.getElementById(t)){var e=t.getElementsByTagName("INPUT"),i=t.getElementsByTagName("OPTION"),a=0;if(e)for(a=0;a<e.length;a++)e[a].checked="";if(i)for(a=0;a<i.length;a++)i[a].selected=!1}}function bp_get_cookies(){var t,e,i,a,s,n=document.cookie.split(";"),o={},r="bp-";for(t=0;t<n.length;t++)e=n[t],i=e.indexOf("="),a=jq.trim(unescape(e.slice(0,i))),s=u
1nescape(e.slice(i+1)),0===a.indexOf(r)&&(o[a]=s);return encodeURIComponent(jq.param(o))}function scrollToNavCurElement(){var t=jq("#buddypress .bbp-main-nav, #buddypress #object-nav");t.length&&t.scrollLeft(jq("#buddypress .bbp-main-nav .current, #buddypress .bbp-main-nav .selected").offset().left-parseInt(jq(".bbp-container").css("padding-left")))}function gfyMoreBadgeFunc(){if(jq(".gfy-badge-more-func").length){var t=jq(".gfy-badge-more-func"),e=t.attr("data-badge-count"),i=jq(".gfy-badge-more-func .the-badge").length,a=t.attr("data-execute"),s=".gfy-badge-more-func .more-badge",n=function(){t.addClass("item-show"),setTimeout(function(){t.addClass("item-fade")},10)};if(i>e){var o=function(){"undefined"!=typeof e&&e!==!1&&(jq(function(){var t,a=parseInt(e)-1,o=i-e;t=o>99?'<div class="more-badge the-badge"><span class="gfy-icon-btn icon-lg gfy-icon-plus"></span></div>':'<div class="more-badge the-badge"><span class="gfy-icon-btn icon-lg "><span class="more-badge-icon gfy-icon-plus"></span><span class="more-badge-txt">'+o+"</span></span></div>",jq(".gfy-badge-more-func .the-badge:eq("+a+")").after(t),jq(s).nextAll().addClass("item-hide menu-item"),n()}),jq(document).on("click",s,function(t){var e=jq(s);e.nextAll().removeClass("item-hide"),jq(this).addClass("item-hide"),setTimeout(function(){e.nextAll().addClass("item-fade")},10)}))};switch(a){case"mobile":var r=setInterval(function(){jq("html.touchevents").length&&(o(),clearInterval(r))},100),l=setInterval(function(){jq("html.no-touchevents").length&&(n(),clearInterval(l))},100);break;case"all":o()}}else n()}}function gfyTabs(t,e){jq(".gfy-tabs .tabs-menu a").click(function(t){t.preventDefault();var e=jq(this).attr("href"),i=jq(e),a=jq(this).parent();a.siblings().removeClass("active"),a.addClass("active"),i.siblings().removeClass("active"),i.addClass("active")})}function closeGfyPopup(){jQuery(".gfy-popup-overlay").remove()}var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0;jq(document).ready(function(){function t(t,e){t.find(".captcha").attr("src",BP_DTheme.captcha_file_url+"?"+Math.random()+"&type="+e+"&w=207&h=33").end().removeClass("loading")}"-1"===window.location.search.indexOf("new")&&jq("div.forums").length?jq("#new-topic-post").hide():jq("#new-topic-post").show(),bp_init_activity();var e=["members","groups","blogs","forums","group_members"],i=jq("#whats-new");if(bp_init_objects(e),i.length&&bp_get_querystring("r")){var a=i.val();jq("#whats-new-options").slideDown(),i.animate({height:"3.8em"}),jq.scrollTo(i,500,{offset:-125,easing:"swing"}),i.val("").focus().val(a)}else jq("#whats-new-options").hide();if(scrollToNavCurElement(),i.focus(function(){jq("#whats-new-options").slideDown(),jq(this).animate({height:"3.8em"}),jq("#aw-whats-new-submit").prop("disabled",!1),jq(this).parent().addClass("active"),jq("#whats-new-content").addClass("active");var t=jq("form#whats-new-form"),e=jq("#activity-all");t.hasClass("submitted")&&t.removeClass("submitted"),e.length&&(e.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),e.children("a").trigger("click")))}),jq("#whats-new-form").on("focusout",function(t){var e=jq(this);setTimeout(function(){if(!e.find(":hover").length){if(""!==i.val())return;i.animate({height:"2.2em"}),jq("#whats-new-options").slideUp(),jq("#aw-whats-new-submit").prop("disabled",!0),jq("#whats-new-content").removeClass("active"),i.parent().removeClass("active")}},0)}),jq("#aw-whats-new-submit").on("click",function(){var t,e=0,i=jq(this),a=i.closest("form#whats-new-form"),s={};return jq.each(a.serializeArray(),function(t,e){"_"!==e.name.substr(0,1)&&"whats-new"!==e.name.substr(0,9)&&(s[e.name]?jq.isArray(s[e.name])?s[e.name].push(e.value):s[e.name]=new Array(s[e.name],e.value):s[e.name]=e.value)}),a.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!0)}),jq("div.error").remove(),i.addClass("loading"),i.prop("disabled",!0),a.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(e=timestamp[1]),item_id>0&&(object=jq("#whats-new-post-object").val()),t=jq.extend({action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:e,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},s),jq.post(ajaxurl,t,function(t){if(a.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!1)}),t[0]+t[1]==="-1")a.prepend(t.substr(2,t.length)),jq("#"+a.attr("id")+" div.error").hide().fadeIn(200);else{if(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(t),e||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length){var i=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),s=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),n=jq("#activity-stream li.new-update .activity-content .activity-inner p").text(),o="";""!==n&&(o=i+" "),o+='<a href="'+s+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(o),jq("#latest-update").slideDown(300)})}jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),a.get(0).reset(),newest_activities="",activity_last_recorded=0}
1jq("#whats-new-options").slideUp(),jq("#whats-new-form textarea").animate({height:"2.2em"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading"),jq("#whats-new-content").removeClass("active")}),!1}),jq("div.activity-type-tabs").on("click",function(t){var e,i,a=jq(t.target).parent();if("STRONG"===t.target.nodeName||"SPAN"===t.target.nodeName)a=a.parent();else if("A"!==t.target.nodeName)return!1;return jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),e=a.attr("id").substr(9,a.attr("id").length),i=jq("#activity-filter-select select").val(),"mentions"===e&&jq("#"+a.attr("id")+" a strong").remove(),bp_activity_request(e,i),!1}),jq("#activity-filter-select select").change(function(){var t,e=jq("div.activity-type-tabs li.selected"),i=jq(this).val();return t=e.length?e.attr("id").substr(9,e.attr("id").length):null,bp_activity_request(t,i),!1}),jq("div.activity").on("click",function(t){var e,i,a,s,n,o,r,l,c,d,p=jq(t.target);return p.hasClass("fav")||p.hasClass("unfav")?(e=p.hasClass("fav")?"fav":"unfav",i=p.closest(".activity-item"),a=i.attr("id").substr(9,i.attr("id").length),p.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+e,cookie:bp_get_cookies(),id:a},function(t){p.removeClass("loading"),p.fadeOut(200,function(){jq(this).html(t),jq(this).attr("title","fav"===e?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"===e?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),p.removeClass("fav"),p.addClass("unfav")):(p.removeClass("unfav"),p.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&p.closest(".activity-item").slideUp(100)}),!1):p.hasClass("delete-activity")?(s=p.parents("div.activity ul li"),n=s.attr("id").substr(9,s.attr("id").length),o=p.attr("href"),r=o.split("_wpnonce="),l=s.prop("class").match(/date-recorded-([0-9]+)/),r=r[1],p.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:n,_wpnonce:r},function(t){t[0]+t[1]==="-1"?(s.prepend(t.substr(2,t.length)),s.children("#message").hide().fadeIn(300)):(s.slideUp(300),l&&activity_last_recorded===l[1]&&(newest_activities="",activity_last_recorded=0))}),!1):p.hasClass("spam-activity")?(s=p.parents("div.activity ul li"),l=s.prop("class").match(/date-recorded-([0-9]+)/),p.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:s.attr("id").substr(9,s.attr("id").length),_wpnonce:p.attr("href").split("_wpnonce=")[1]},function(t){t[0]+t[1]==="-1"?(s.prepend(t.substr(2,t.length)),s.children("#message").hide().fadeIn(300)):(s.slideUp(300),l&&activity_last_recorded===l[1]&&(newest_activities="",activity_last_recorded=0))}),!1):p.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),null===jq.cookie("bp-activity-oldestpage")&&jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),c=1*jq.cookie("bp-activity-oldestpage")+1,d=[],jq(".activity-list li.just-posted").each(function(){d.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:c,exclude_just_posted:d.join(",")},load_more_search=bp_get_querystring("s"),load_more_search&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(t){jq("#buddypress li.load-more").removeClass("loading"),jq.cookie("bp-activity-oldestpage",c,{path:"/",secure:"https:"===window.location.protocol}),jq("#buddypress ul.activity-list").append(t.contents),p.parent().hide()},"json"),!1):void(p.parent().hasClass("load-newest")&&(t.preventDefault(),p.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(t,e){"LI"===e.nodeName&&jq(e).hasClass("just-posted")&&jq("#"+jq(e).attr("id")).length&&jq("#"+jq(e).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(t){var e,i,a=jq(t.target),s=a.parent().attr("id").split("-"),n=s[3],o=s[0];return e="acomment"===o?"acomment-content":"activity-inner",i=jq("#"+o+"-"+n+" ."+e+":first"),jq(a).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:n},function(t){jq(i).slideUp(300).html(t).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(t){var e,i,a,s,n,o,r,l,c,d,p,u,m,h,j,v,f=jq(t.target);return f.hasClass("acomment-reply")||f.parent().hasClass("acomment-reply")?(f.parent().hasClass("acomment-reply")&&(f=f.parent()),e=f.attr("id"),i=e.split("-"),a=i[2],s=f.attr("href").substr(10,f.attr("href").length),n=jq("#ac-form-"+a),n.css("display","none"),n.removeClass("root"),jq(".ac-form").hide(),n.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),"comment"!==i[1]?jq("#acomment-"+s).append(n):jq("#activity-"+a+" .activity-comments").append(n),n.parent().hasClass("activity-comments")&&n.addClass("root"),n.slideDown(200),jq.scrollTo(n,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+i[2]+" textarea").focus(),!1):"ac_form_submit"===f.attr("name")?(n=f.parents("form"),o=n.parent(),r=n.attr("id").split("-"),o.hasClass("activity-comments")?c=r[2]:(l=o.attr("id").split("-"),c=l[1]),content=jq("#"+n.attr("id")+" textarea"),jq("#"+n.attr("id")+" div.error").hide(),f.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),d={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment").val(),comment_id:c,form_id:r[2],content:content.val()},p=jq("#_bp_as_nonce_"+c).val(),p&&(d["_bp_as_nonce_"+c]=p),jq.post(ajaxurl,d,function(t){if(f.removeClass("loading"),content.removeClass("loading"),t[0]+t[1]==="-1")n.append(jq(t.substr(2,t.length)).hide().fadeIn(200));else{var e=n.parent();n.fadeOut(200,function(){0===e.children("ul").length&&(e.hasClass("activity-comments")?e.prepe
1nd("<ul></ul>"):e.append("<ul></ul>"));var i=jq.trim(t);e.children("ul").append(jq(i).hide().fadeIn(200)),n.children("textarea").val(""),e.parent().addClass("has-comments")}),jq("#"+n.attr("id")+" textarea").val(""),jq("#activity-"+r[2]+" a.acomment-reply span").html(Number(jq("#activity-"+r[2]+" a.acomment-reply span").html())+1),u=e.find(".show-all").find("a"),u&&(m=jq("li#activity-"+r[2]+" a.acomment-reply span").html(),u.html(BP_DTheme.show_x_comments.replace("%d",m)))}jq(f).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):f.hasClass("acomment-delete")?(h=f.attr("href"),j=f.parent().parent(),n=j.parents("div.activity-comments").children("form"),v=h.split("_wpnonce="),v=v[1],c=h.split("cid="),c=c[1].split("&"),c=c[0],f.addClass("loading"),jq(".activity-comments ul .error").remove(),j.parents(".activity-comments").append(n),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:v,id:c},function(t){if(t[0]+t[1]==="-1")j.prepend(jq(t.substr(2,t.length)).hide().fadeIn(200));else{var e,i,a,s=jq("#"+j.attr("id")+" ul").children("li"),n=0;jq(s).each(function(){jq(this).is(":hidden")||n++}),j.fadeOut(200,function(){j.remove()}),e=jq("#"+j.parents("#activity-stream > li").attr("id")+" a.acomment-reply span"),i=e.html()-(1+n),e.html(i),a=j.siblings(".show-all").find("a"),a&&a.html(BP_DTheme.show_x_comments.replace("%d",i)),0===i&&jq(j.parents("#activity-stream > li")).removeClass("has-comments")}}),!1):f.hasClass("spam-activity-comment")?(h=f.attr("href"),j=f.parent().parent(),f.addClass("loading"),jq(".activity-comments ul div.error").remove(),j.parents(".activity-comments").append(j.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:h.split("_wpnonce=")[1],id:h.split("cid=")[1].split("&")[0]},function(t){if(t[0]+t[1]==="-1")j.prepend(jq(t.substr(2,t.length)).hide().fadeIn(200));else{var e,i=jq("#"+j.attr("id")+" ul").children("li"),a=0;jq(i).each(function(){jq(this).is(":hidden")||a++}),j.fadeOut(200),e=j.parents("#activity-stream > li"),jq("#"+e.attr("id")+" a.acomment-reply span").html(jq("#"+e.attr("id")+" a.acomment-reply span").html()-(1+a))}}),!1):f.parent().hasClass("show-all")?(f.parent().addClass("loading"),setTimeout(function(){f.parent().parent().children("li").fadeIn(200,function(){f.parent().remove()})},600),!1):f.hasClass("ac-reply-cancel")?(jq(f).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).keydown(function(t){if(t=t||window.event,t.target?element=t.target:t.srcElement&&(element=t.srcElement),3===element.nodeType&&(element=element.parentNode),t.ctrlKey!==!0&&t.altKey!==!0&&t.metaKey!==!0){var e=t.keyCode?t.keyCode:t.which;27===e&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}}),jq(".dir-search, .groups-members-search").on("click",function(t){if(!jq(this).hasClass("no-ajax")){var e,i,a,s=jq(t.target);return"submit"===s.attr("type")?(e=jq(".item-list-tabs li.selected").attr("id").split("-"),i=e[0],a=null,"groups-members-search"===t.currentTarget.className&&(i="group_members",a="groups/single/members"),bp_filter_request(i,jq.cookie("bp-"+i+"-filter"),jq.cookie("bp-"+i+"-scope"),"div."+i,s.parent().children("label").children("input").val(),1,jq.cookie("bp-"+i+"-extras"),null,a),!1):void 0}}),jq("div.item-list-tabs").on("click",function(t){if(!jq(this).hasClass("no-ajax")&&!jq(t.target).hasClass("no-ajax")){var e,i,a,s,n,o="SPAN"===t.target.nodeName?t.target.parentNode:t.target,r=jq(o).parent();return"LI"!==r[0].nodeName||r.hasClass("last")?void 0:(e=r.attr("id").split("-"),i=e[0],"activity"!==i&&(a=e[1],s=jq("#"+i+"-order-select select").val(),n=jq("#"+i+"_search").val(),bp_filter_request(i,s,a,"div."+i,n,1,jq.cookie("bp-"+i+"-extras")),!1))}}),jq(".filter select").change(function(){var t,e,i,a,s,n,o,r;return t=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":this),e=t.attr("id").split("-"),i=e[0],a=e[1],s=jq(this).val(),n=!1,o=null,jq(".dir-search input").length&&(n=jq(".dir-search input").val()),r=jq(".groups-members-search input"),r.length&&(n=r.val(),i="members",a="groups"),"members"===i&&"groups"===a&&(i="group_members",o="groups/single/members"),"friends"===i&&(i="members"),bp_filter_request(i,s,a,"div."+i,n,1,jq.cookie("bp-"+i+"-extras"),null,o),!1}),jq("#buddypress").on("click",function(t){var e,i,a,s,n,o,r,l,c,d=jq(t.target);return!!d.hasClass("button")||(d.parent().parent().hasClass("pagination")&&!d.parent().parent().hasClass("no-ajax")?!d.hasClass("dots")&&!d.hasClass("current")&&(e=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":"li.filter select"),i=e.attr("id").split("-"),a=i[0],s=!1,n=jq(d).closest(".pagination-links").attr("id"),o=null,jq("div.dir-search input").length&&(s=jq(".dir-search input"),s=!s.val()&&bp_get_querystring(s.attr("name"))?jq(".dir-search input").prop("placeholder"):s.val()),r=jq(d).hasClass("next")||jq(d).hasClass("prev")?jq(".pagination span.current").html():jq(d).html(),r=Number(r.replace(/\D/g,"")),jq(d).hasClass("next")?r++:jq(d).hasClass("prev")&&r--,l=jq(".groups-members-search input"),l.length&&(s=l.val(),a="members"),"members"===a&&"groups"===i[1]&&(a="group_members",o="groups/single/members"),"admin"===a&&jq("body").hasClass("membership-requests")&&(a="requests"),c=n.indexOf("pag-bottom")!==-1?"pag-bottom":null,bp_filter_request(a,jq.cookie("bp-"+a+"-filter"),jq.cookie("bp-"+a+"-scope"),"div."+a,s,r,jq.cookie("bp-"+a+"-extras"),c,o),!1):void 0)}),jq("a.show-hide-new").on("click",function(){return!!jq("#new-topic-post").length&&(jq("#new-topic-post").is(":visible")?jq("#new-topic-post").slideUp(200):jq("#new-topic-post").slideDown(200,function(){jq("#topic_title").focus()}),!1)}),jq("#submit_topic_cancel").on("click",function(){return!!jq("#new-topic-post").length&&(jq("#new-topic-post").slideUp(200),!1)}),jq("#forum-directory-tags a").on("click",function(){return bp_filter_request("forums","tags",jq.cookie("bp-forums-scope"),"div.forums",jq(this).html().replace(/ /g,"-"),1,jq.cookie("bp-forums-extras")),!1}),jq("#send-invite-form").on("click","#invite-list input",function(){var t,e,i=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),i&&jq(this).parents("ul").find("input").prop("disabled",!0),t=jq(this).val(),e=jq(this).prop("checked")===!0?"invite":"uninvite",i||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:e,co
1okie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:t,group_id:jq("#group_id").val()},function(a){jq("#message")&&jq("#message").hide(),i?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===e?jq("#friend-list").append(a):"uninvite"===e&&jq("#friend-list li#uid-"+t).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var t=jq("#send-invite-form > .invite").length,e=jq(this).attr("id");return jq(".ajax-loader").toggle(),e=e.split("-"),e=e[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:e,group_id:jq("#group_id").val()},function(i){t?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+e).remove(),jq("#invite-list #f-"+e).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(t){t.preventDefault(),jq(this).parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(t){t.preventDefault();var e=jq(this).parent(),i=e.find("input:checked").parent().text();e.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(i).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change(function(){var t=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){t=!1}),window.onbeforeunload=function(e){if(t)return BP_DTheme.unsaved_changes}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var t,e=jq(this),i=jq(this).parents("#friend-list li"),a=jq(this).parents("li div.action"),s=i.attr("id").substr(11,i.attr("id").length),n=e.attr("href"),o=n.split("_wpnonce=")[1];return!jq(this).hasClass("accepted")&&!jq(this).hasClass("rejected")&&(jq(this).hasClass("accept")?(t="accept_friendship",a.children("a.reject").css("visibility","hidden")):(t="reject_friendship",a.children("a.accept").css("visibility","hidden")),e.addClass("loading"),jq.post(ajaxurl,{action:t,cookie:bp_get_cookies(),id:s,_wpnonce:o},function(t){e.removeClass("loading"),t[0]+t[1]==="-1"?(i.prepend(t.substr(2,t.length)),i.children("#message").hide().fadeIn(200)):e.fadeOut(100,function(){jq(this).hasClass("accept")?(a.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted).contents().unwrap()):(a.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected).contents().unwrap())})}),!1)}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var t=jq(this).attr("id"),e=jq(this).attr("href"),i=jq(this);return t=t.split("-"),t=t[1],e=e.split("?_wpnonce="),e=e[1].split("&"),e=e[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:t,_wpnonce:e},function(t){var e=i.attr("rel");parentdiv=i.parent(),"add"===e?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(t)}):"remove"===e&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(t)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){if(!1===confirm(BP_DTheme.leave_group_confirm))return!1}),jq("#groups-dir-list").on("click",".group-button a",function(){var t=jq(this).parent().attr("id"),e=jq(this).attr("href"),i=jq(this);return t=t.split("-"),t=t[1],e=e.split("?_wpnonce="),e=e[1].split("&"),e=e[0],(!i.hasClass("leave-group")||!1!==confirm(BP_DTheme.leave_group_confirm))&&(jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:t,_wpnonce:e},function(t){var e=i.parent();jq("body.directory").length?jq(e).fadeOut(200,function(){e.fadeIn(200).html(t);var a=jq("#groups-personal span"),s=1;i.hasClass("leave-group")?(e.hasClass("hidden")&&e.closest("li").slide
1Up(200),s=0):i.hasClass("request-membership")&&(s=!1),a.length&&s!==!1&&(s?a.text((a.text()>>0)+1):a.text((a.text()>>0)-1))}):window.location.reload()}),!1)}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")){var s=jq("#signup_with_blog");s.prop("checked")||jq("#blog-details").toggle(),s.change(function(){jq("#blog-details").toggle()})}jq(".message-search").on("click",function(t){if(!jq(this).hasClass("no-ajax")){var e,i=jq(t.target);return"submit"===i.attr("type")||"button"===i.attr("type")?(e="messages",bp_filter_request(e,jq.cookie("bp-"+e+"-filter"),jq.cookie("bp-"+e+"-scope"),"div."+e,jq("#messages_search").val(),1,jq.cookie("bp-"+e+"-extras")),!1):void 0}}),jq("#send_reply_button").click(function(){var t=jq("#messages_order").val()||"ASC",e=jq("#message-recipients").offset(),i=jq("#send_reply_button");return jq(i).addClass("loading"),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(a){a[0]+a[1]==="-1"?jq("#send-reply").prepend(a.substr(2,a.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===t?jq("#send-reply").before(a):(jq("#message-recipients").after(a),jq(window).scrollTop(e.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(i).removeClass("loading")}),!1}),jq("#mark_as_read, #mark_as_unread").click(function(){var t,e,i,a,s,n,o,r,l="",c=jq('#message-threads tr td input[type="checkbox"]');return"mark_as_unread"===jq(this).attr("id")?(t="read",e="unread",i=1,a=0,s="inline",n="messages_markunread"):(t="unread",e="read",i=0,a=1,s="none",n="messages_markread"),c.each(function(a){jq(this).is(":checked")&&jq("#m-"+jq(this).attr("value")).hasClass(t)&&(l+=jq(this).attr("value"),jq("#m-"+jq(this).attr("value")).removeClass(t),jq("#m-"+jq(this).attr("value")).addClass(e),r=jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(),jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(i),jq("#m-"+jq(this).attr("value")+" td span.unread-count").css("display",s),o=jq("tr.unread").length,jq("#user-messages span").html(o),a!==c.length-1&&(l+=","))}),jq.post(ajaxurl,{action:n,thread_ids:l}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var t=this.value,e=jq('td input[type="checkbox"]'),i="checked";switch(e.each(function(t){e[t].checked=""}),t){case"unread":e=jq('tr.unread td input[type="checkbox"]');break;case"read":e=jq('tr.read td input[type="checkbox"]');break;case"":i=""}e.each(function(t){e[t].checked=i})}),jq("body.messages #item-body div.messages").on("click",".messages-options-nav a",function(){if(-1!==jq.inArray(this.id,Array("delete_sentbox_messages","delete_inbox_messages")))return checkboxes_tosend="",checkboxes=jq('#message-threads tr td input[type="checkbox"]'),jq("#message").remove(),jq(this).addClass("loading"),jq(checkboxes).each(function(t){jq(this).is(":checked")&&(checkboxes_tosend+=jq(this).attr("value")+",")}),""===checkboxes_tosend?(jq(this).removeClass("loading"),!1):(jq.post(ajaxurl,{action:"messages_delete",thread_ids:checkboxes_tosend},function(t){t[0]+t[1]==="-1"?jq("#message-threads").prepend(t.substr(2,t.length)):(jq("#message-threads").before('<div id="message" class="updated"><p>'+t+"</p></div>"), 2jq(checkboxes).each(function(t){jq(this).is(":checked")&&(jq(this).attr("checked",!1),jq(this).parent().parent().fadeOut(150))})),jq("#message").hide().slideDown(150),jq("#delete_inbox_messages, #delete_sentbox_messages").removeClass("loading")}),!1)}),jq("#select-all-messages").click(function(t){this.checked?jq(".message-check").each(function(){this.checked=!0}):jq(".message-check").each(function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),starAction=function(){var t=jq(this);return jq.post(ajaxurl,{action:"messages_star",message_id:t.data("message-id"),star_status:t.data("star-status"),nonce:t.data("star-nonce"),bulk:t.data("star-bulk")},function(e){1===parseInt(e,10)&&("unstar"===t.data("star-status")?(t.data("star-status","star"),t.removeClass("message-action-unstar").addClass("message-action-star"),t.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_star),1===BP_PM_Star.is_single_thread?t.prop("title",BP_PM_Star.strings.title_star):t.prop("title",BP_PM_Star.strings.title_star_thread)):(t.data("star-status","unstar"),t.removeClass("message-action-star").addClass("message-action-unstar"),t.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_unstar),1===BP_PM_Star.is_single_thread?t.prop("title",BP_PM_Star.strings.title_unstar):t.prop("title",BP_PM_Star.strings.title_unstar_thread)))}),!1},jq("#message-threads").on("click","td.thread-star a",starAction),jq("#message-thread").on("click",".message-star-actions a",starAction),jq("#message-threads td.bulk-select-check :checkbox").on("change",function(){var t=jq(this),e=t.closest("tr").find(".thread-star a");t.prop("checked")?"unstar"===e.data("star-status")?BP_PM_Star.star_counter++:BP_PM_Star.unstar_counter++:"unstar"===e.data("star-status")?BP_PM_Star.star_counter--:BP_PM_Star.unstar_counter--,BP_PM_Star.star_counter>0&&0===parseInt(BP_PM_Star.unstar_counter,10)?jq('option[value="star"]').hide():jq('option[value="star"]').show(),BP_PM_Star.unstar_counter>0&&0===parseInt(BP_PM_Star.star_counter,10)?jq('option[value="unstar"]').hide():jq('option[value="unstar"]').show()}),jq("#select-all-notifications").click(function(t){this.checked?jq(".notification-check").each(function(){this.checked=!0}):jq(".notification-check").each(function(){this.checked=!1}
2)}),jq("#notification-bulk-manage").attr("disabled","disabled"),jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length)},function(t){jq("#close-notice").removeClass("loading"),t[0]+t[1]==="-1"?(jq(".notice").prepend(t.substr(2,t.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseover(function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseout(function(){jq(this).removeClass("sfhover")}),jq("#wp-admin-bar-logout, a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-oldestpage",{path:"/",secure:"https:"===window.location.protocol});var t=["members","groups","blogs","forums"];jq(t).each(function(e){jq.removeCookie("bp-"+t[e]+"-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+t[e]+"-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+t[e]+"-extras",{path:"/",secure:"https:"===window.location.protocol})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&"undefined"!=typeof wp.heartbeat&&"undefined"!=typeof BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}));var n=0;jq(document).on("heartbeat-send.buddypress",function(t,e){n=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/),timestamp&&(n=timestamp[1])),(0===activity_last_recorded||Number(n)>activity_last_recorded)&&(activity_last_recorded=Number(n)),e.bp_activity_last_recorded=activity_last_recorded,last_recorded_search=bp_get_querystring("s"),last_recorded_search&&(e.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(t,e){e.bp_activity_newest_activities&&(newest_activities=e.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(e.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))}),jq("#header-cover-image").length&&jq(".bp-cover-image").length&&window.bp.CoverImage.Attachment.on("change:url",function(t){t.attributes.url?jq("#buddypress").removeClass("bbp-no-cover-img"):jq("#buddypress").addClass("bbp-no-cover-img")}),jq("body").on("click",".bp-auth-refresh-captcha",function(){var e=jq(this),i=e.closest(".captcha-container"),a=e.data("action");return t(i,a),!1}),jq(".bp-auth-refresh-captcha").each(function(){jq(this).trigger("click")}),jq("#profile-details-section .bbp-editfield").each(function(){var t=jq(this),e=t.find(" > label"),i=e.text().replace(/\s/g,"").replace("*"," *"),a=t.find("input, textarea");a.attr("placeholder",i)}),jq("body").on("click","#bb-bp-btn-resend",function(){var t=jq(this),e=t.data("id"),i=t.data("token"),a=t.parent();return!(!e||!i)&&(a.show().html(BP_DTheme.auth_loading_message),jq.post(ajaxurl,{action:"bb_bp_resend_activation_email",id:e,token:i},function(t){a.parents("#sign-in").find("form")[0].reset(),a.show().html(t.data.message)}),!1)})}),function(t){t.fn.gfyTooltip=function(e){var i=t.extend({defaultTooltipStyle:"",autoAdjustStyle:!0,closeOnContentHover:!1,tooltipHMargin:20,tooltipVMargin:20,reserveHSpacing:20,reserveVSpacing:50},e),a=t(this),s=".gfy-toggle-tooltip",n=".gfy-tooltip";
2if(a.length){var o=function(t,e,i){for(var a=t.attr("class").split(" "),s=0;s<a.length;s++)if(a[s].match(e)){if(0==i)return!0;t.removeClass(a[s])}},r=function(t){var e=t.find(n),i=t.find(n+" .tooltip-arrow");i.removeAttr("style"),e.removeAttr("style"),o(e,"^tooltip-",1)},l=function(e){t(e.target).is(s+" *")||t(s).removeClass("active")};if(t(document).on("click","body",function(t){l(t)}),t(document).on("touchend","body",function(t){l(t)}),t(s).on("touchstart click",function(e){t(s).not(this).removeClass("active"),t(this).addClass("active")}),i.closeOnContentHover){var c="gfy-tooltip-visible",d=function(e){e.find(n).mouseenter(function(e){var i=t(this);setTimeout(function(){i.removeClass(c)},55)}).mouseleave(function(e){t(this).off("mouseenter")})};a.addClass("close-on-content-hover"),a.mouseenter(function(e){var i=t(this);i.find(n).addClass(c),setTimeout(function(){d(i)},55)}).mouseleave(function(e){t(this).find(n).removeClass(c),a.find(n).off("mouseenter")})}if(""!=i.defaultTooltipStyle&&i.defaultTooltipStyle.match("(left|right)")&&(r(a),a.find(n).addClass(i.defaultTooltipStyle)),i.autoAdjustStyle||i.defaultTooltipStyle.match("(top|bottom)")){var p=function(t){t.find(n+" .tooltip-inner").removeAttr("style"),t.find(n+".tooltip-left .tooltip-inner").css("margin-right",i.tooltipHMargin+"px"),t.find(n+".tooltip-right .tooltip-inner").css("margin-left",i.tooltipHMargin+"px"),t.find(n+".tooltip-top .tooltip-inner").css("margin-bottom",i.tooltipVMargin+"px"),t.find(n+".tooltip-bottom .tooltip-inner").css("margin-top",i.tooltipVMargin+"px")},u=function(e){r(e),""!=i.defaultTooltipStyle&&e.find(n).addClass(i.defaultTooltipStyle);var a=i.reserveHSpacing,s=i.reserveVSpacing,l=i.tooltipHMargin,c=i.tooltipVMargin,d=e.outerWidth(),p=e.outerHeight(),u=e.find(n),m=e.find(".tooltip-arrow"),h=u.outerWidth(!0),j=u.outerHeight(!0),v=h+a+l,f=j+s+c,q=t(window).width(),g=t(window).height(),_=t(window).scrollTop(),b=e.offset().top,y=e.offset().left,w=q-y-d,k=b-_,C=g-k-p;if(i.autoAdjustStyle&&(o(u,"^tooltip-",1),w>v?k>f/2&&C>f/2?u.addClass("tooltip-right"):C>f?u.addClass("tooltip-bottom"):u.addClass("tooltip-top"):y>v&&w<v/3?u.addClass("tooltip-left"):k>f?u.addClass("tooltip-top"):u.addClass("tooltip-bottom")),o(u,"(top|bottom)",0)){var x,T=u.offset().left,P=q-u.offset().left,S=h+a;if(T<0)u.css("margin-left",Math.abs(T)+a+"px"),x=parseInt(m.css("margin-left"))-(Math.abs(T)+a)+"px",m.css("margin-left",x);else if(P<v){var B=P-S;u.css("margin-left",B+"px"),x=parseInt(m.css("margin-left"))-B+"px",m.css("margin-left",x)}}},m=function(){a.each(function(e){u(t(this)),p(t(this))})};t(function(){m()}),t(window).scroll(function(){m()}),t(window).resize(function(){m()})}}}}(jQuery),jq(".gfy-toggle-tooltip.tooltip-general").gfyTooltip({}),jq(".gfy-toggle-tooltip.tooltip-bottom-style").gfyTooltip({defaultTooltipStyle:"tooltip-bottom",autoAdjustStyle:!1}),jq(".gfy-toggle-tooltip.tooltip-top-style").gfyTooltip({defaultTooltipStyle:"tooltip-top",autoAdjustStyle:!1}),jq(".gfy-toggle-tooltip.tooltip-left-style").gfyTooltip({defaultTooltipStyle:"tooltip-left",autoAdjustStyle:!1}),jq(".gfy-toggle-tooltip.tooltip-right-style").gfyTooltip({defaultTooltipStyle:"tooltip-right",autoAdjustStyle:!1}),jq(".gfy-toggle-tooltip.tooltip-minimal").gfyTooltip({defaultTooltipStyle:"tooltip-bottom",closeOnContentHover:!0,tooltipVMargin:12,autoAdjustStyle:!1}),gfyMoreBadgeFunc(),gfyTabs();
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.