1function gpFollowItem($){$('.gp-follow-item').on('click',function(e){e.preventDefault();var button=$(this),followText=button.data('follow-text'),unfollowText=button.data('unfollow-text');button.addClass('gp-loading');$.ajax({type:'GET',url:ghostpool_button_params.ajax_url,data:{action:'follow_item',type:button.data('type'),post_id:button.data('post-id'),user_id:button.data('user-id'),nonce:button.data('data-nonce')},dataType:'html',success:function(data){if('unfollow-all'===button.data('type')){button.hide();$('.gp-follow-item').removeClass('gp-following');$('.gp-follow-item .gp-button-text').text($('.gp-follow-item').data('follow-text'));}else if('follow-unfollow'===button.data('type')){if(button.hasClass('gp-following')){button.removeClass('gp-following');button.find('.gp-button-text').text(followText);}else{button.addClass('gp-following');button.find('.gp-button-text').text(unfollowText);}} 2button.removeClass('gp-loading');}});});} 3jQuery(function($){'use strict';gpFollowItem($);});
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.