1var Genie={commentListContainer:null,reply:function(e,t,o,n){o=void 0!==o?o:jQ("#comment_text"),n=void 0!==n?n:jQ("#comment_replies");var a=__passportHeader_config.loggedIn;if(o.length&&a){if(o.focus(),-1===o.val().indexOf("@"+t+":")){if(o[0].selectionStart||"0"==o[0].selectionStart){var i=o[0].selectionStart,r=o[0].selectionEnd;o.val(o.val().substring(0,i)+"@"+t+": "+o.val().substring(r,o.val().length))}else o.val(o.val()+"@"+t+": ");n.val().length?n.val(n.val()+","+e):n.val(e),n.val()}}else a||(window.location.href=Blog.domain+"/user/login?redirect_to="+encodeURIComponent(window.location.origin+window.location.pathname+"#commentForm"))},changeUser:function(e,t){t=void 0!==t?t:jQ("#comment_user_id");var o=e.replace(":id",t.val());o=o.replace(":url",encodeURIComponent(window.location.href)),window.location.href=o},saveComment:{save:function(e,t){"localStorage"in window&&null!==window.localStorage&&localStorage.setItem("comment_"+t,e)},get:function(e){return"localStorage"in window&&null!==window.localStorage?localStorage.getItem("comment_"+e):""},flush:function(e){"localStorage"in window&&null!==window.localStorage&&localStorage.removeItem("comment_"+e)}},moderation:{moderateLinkback:function(e){var t=jQ(e);jQ.post("/comments/moderate",{itemKey:t.data("itemkey"),element_id:t.data("linkback_id"),user_id:0,moderate_comment:"-",moderate_user:"-",moderate_note:"",moderate_linkback:1,type:"linkback"},function(e){e&&e.moderateLinkback&&"success"==e.moderateLinkback.status&&e.moderateLinkback.linkbacks.length&&jQ(".comment.linkback[data-linkback_id="+t.data("linkback_id")+"]").remove()},"json")},toggleCommentModerationForm:function(e){var t=jQ(e),o=jQ(".moderation_container[data-comment_id="+t.data("comment_id")+"]");if("guest"==t.data("user"))var n=jQ("#genie_guest_moderation_form");else{if("user"!=t.data("user"))return!1;n=jQ("#genie_user_moderation_form")}if(o.length)if(o.html().length)o.html("");else{var a=n.clone().show();a.find("#submit_moderation").click(function(){jQ.post("/comments/moderate",{itemKey:t.data("itemkey"),element_id:t.data("comment_id"),user_id:t.data("user_id"),moderate_comment:a.find(".moderate-comment-dropdown").val(),moderate_user:a.find(".moderate-user-dropdown").val(),moderate_note:a.find(".feedback_ban_comment").val(),moderate_linkback:"-",type:t.data("user")},function(e){e&&(o.html(""),e.moderateComment&&"success"==e.moderateComment.status&&e.moderateComment.hasOwnProperty("comments")&&e.moderateComment.comments.length&&jQ.each(e.moderateComment.comments,function(e,t){jQ(".comment[data-comment_id="+t+"]").remove()}))},"json")}),o.html(a)}},hideCommentModerationForm:function(e){jQ(e).parentsUntil(".moderation_container").remove()}},radar:{addSubscription:function(e){jQ.post("/radar/kovet",{pid:e},function(e){jQ("#linktofollow").hide(),jQ("#removesuccess").hide(),jQ("#followsuccess").show(),jQ("#linktoremove").show()})},delSubscription:function(e){jQ.post("/radar/torol",{pid:e},function(e){jQ("#alreadyfollow").hide(),jQ("#followsuccess").hide(),jQ("#linktoremove").hide(),jQ("#removesuccess").show(),jQ("#linktofollow").show()})}},pager:{loading:!1,currentPage:null,pageCount:null,reverse:!0,first:function(e){var t=this;return 1!=e.data("disabled")&&0==this.loading&&(e.html(jQ("<span />")),this.reverse=!1,this.loading=!0,Genie.loadCommentList(Genie.commentListContainer,{reverse:!1,page_id:1},function(){jQ('a[name="comment-last"]')[0].scrollIntoView(!0),e.html(""),t.disableButtons(),t.loading=!1})),!1},last:function(e){var t=this;return 1!=e.data("disabled")&&0==this.loading&&(e.html(jQ("<span />")),this.loading=!0,this.reverse=!0,Genie.loadCommentList(Genie.commentListContainer,{reverse:!0,page_id:1},function(){jQ("#comments")[0].scrollIntoView(!0),e.html(""),t.disableButtons(),t.loading=!1})),!1},next:function(e){var t=this;return 1!=e.data("disabled")&&0==this.loading&&(e.html(jQ("<span />")),this.loading=!0,Genie.loadCommentList(Genie.commentListContainer,{page_id:t.reverse?--this.currentPage:++this.currentPage,reverse:t.reverse},function(){jQ("#comments")[0].scrollIntoView(!0),e.html(""),t.disableButtons(),t.loading=!1})),!1},prev:function(e){var t=this;return 1!=e.data("disabled")&&0==this.loading&&(e.html(jQ("<span />")),this.loading=!0,Genie.loadCommentList(Genie.commentListContainer,{page_id:t.reverse?++this.currentPage:--this.currentPage,reverse:t.reverse},function(){jQ('a[name="comment-last"]')[0].scrollIntoView(!0),e.html(""),t.disableButtons(),t.loading=!1})),!1},disableButtons:function(){jQ(".comment-pager-btn").removeClass("disabled").data("disabled",!1),1==this.reverse&&this.currentPage==this.pageCount?(jQ(".comment-pager-first").addClass("disabled").data("disabled",!0),jQ(".comment-pager-left").addClass("disabled").data("disabled",!0)):1==this.currentPage&&1==this.reverse?(jQ(".comment-pager-last").addClass("disabled").data("disabled",!0),jQ(".comment-pager-right").addClass("disabled").data("disabled",!0)):0==this.reverse&&1==this.currentPage?(jQ(".comment-pager-first").addClass("disabled").data("disabled",!0),jQ(".comment-pager-left").addClass("disabled").data("disabled",!0)):0==this.reverse&&this.currentPage==this.pageCount&&(jQ(".comment-pager-last").addClass("disabled").data("disabled",!0),jQ(".comment-pager-right").addClass("disabled").data("disabled",!0))}},commentListError:function(e){var t=this,o=jQ("<a />").html("Hozzászólások újratöltése"),n=jQ("<div />").attr("id","reload-comments").html("A Hozzászólások betöltése nem sikerült");o.click(function(){t.loadCommentList(t.commentListContainer,1)}),n.append(jQ("<h2>").html(o)),e.html(n)},loadCommentList:function(e,t,o){var n=this;if(this.commentListContainer=e,void 0===t){t={reverse:!0,page_id:1};var a=!0;this.pager.reverse=!0,this.pager.disableButtons()}jQ.extend(t,{post_id:e.data("post_id")}),jQ.ajax("/ajax/comments",{dataType:"json",data:t,success:function(t){if(jQ(".comment-footer").show(),t){try{a||n.measure(),n.pager.currentPage=t.page_id,n.pager.pageCount=t.pages,e.html(t.response),n.pager.disableButtons()}catch(t){n.commentListError(e)}try{o()}catch(e){}}a=!1},error:function(){n.commentListError(e)}})},loadCommentForm:function(container){container=void 0!==container?container:jQ("#comment-form");var item_id=container.data("item_id");container.load(Blog.url+"/comments/form/post/"+item_id,function(resp){jQ("#commentForm").length&&(jQ.getJSON(Blog.url+"/user/json",function(e){e.loggedin&&e.users.length&&jQ.each(e.users,function(e,t){1==t.selected&&jQ(".reply_nick_"+t.id).addClass("reply_nick")})}),jQ(".replyComment").show());for(var scripts,scriptsFinder=/<script[^>]*>([\s\S]+?)<\/script>/gi;scripts=scriptsFinder.exec(resp.responseText);)eval(scripts[1])})},loadMeasure:function(){jQ("body").append('\x3c!-- merokodok komment lapozashoz --\x3e<iframe src="" witdh="1" height="1" style="display:none;" id="blh_comment_pageview_merokodok"></iframe>')},measure:function(){var e=Blog.url+window.location.pathname+"?layout=3&nogemius=1";jQ("#blh_comment_pageview_merokodok").attr("src",""),jQ("#blh_comment_pageview_merokodok").attr("src",e),void 0!==pp_gemius_identifier&&pp_gemius_hit(pp_gemius_identifier)}};function followCommentReply(e){var t=jQ("#cdiv"+e),o=jQ("#c"+e);return!t&&!o||(window.location.hash="c"+e,!1)}jQ(document).ready(function(){Genie.loadMeasure()});
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.