PageSourceSearch

https://kqbd.cafe/wp-content/uploads/2026/09/main.min_.js

js kqbd.cafe collected 2026-10-09 22:33:01 UTC 9,064 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){var lazyloadImages;if("IntersectionObserver"in window){lazyloadImages=document.querySelectorAll(".lazy");var imageObserver=new IntersectionObserver(function(entries,observer){entries.forEach(function(entry){if(entry.isIntersecting){var image=entry.target;image.src=image.dataset.src;image.classList.remove("lazy");imageObserver.unobserve(image)}})});lazyloadImages.forEach(function(image){imageObserver.observe(image)})}else{var lazyloadThrottleTimeout;lazyloadImages=document.querySelectorAll(".lazy");function lazyload(){if(lazyloadThrottleTimeout){clearTimeout(lazyloadThrottleTimeout)}lazyloadThrottleTimeout=setTimeout(function(){var scrollTop=window.pageYOffset;lazyloadImages.forEach(function(img){if(img.offsetTop<window.innerHeight+scrollTop){img.src=img.dataset.src;img.classList.remove("lazy")}});if(lazyloadImages.length==0){document.removeEventListener("scroll",lazyload);window.removeEventListener("resize",lazyload);window.removeEventListener("orientationChange",lazyload)}},20)}document.addEventListener("scroll",lazyload);window.addEventListener("resize",lazyload);window.addEventListener("orientationChange",lazyload)}});var LiverscoreNew={goalPopupContent:"",goalRedContent:"",audioGoal:null,audioRed:null,liveInterval:null,showpoupGoal:true,setRunAudio:function(value){localStorage.setItem("livescore_run_audio",value)},checkRunAudio:function(){if(localStorage.getItem("livescore_run_audio")=="0"){return false}return true},clickSound:function(element){$(element).toggleClass("muted");if($(element).hasClass("muted")){LiverscoreNew.setRunAudio("0")}else{LiverscoreNew.setRunAudio("1")}},setLivescore:function(){this.setLivescoreByTime();this.runLivescore()},filter:function(element){$(".sub-menu .li-sbumenu").removeClass("sub-menu-active");$(element).parent().addClass("sub-menu-active");$(".item-live-home").hide();$(".lv2-title-league").hide();$(".item-live-home").each(function(){if($(this).find(".icon-star.active").length>0){$(this).show();$(".title-league-"+$(this).data("league")).show()}})},setLivescoreOption:function(showpoupGoal){this.setLivescoreByTime();this.runLivescore();this.showpoupGoal=showpoupGoal},loadView:function(url,selector,elementClick){$(selector).html('<p class="text-center pad10"><img src="/themes/default/images/loading.gif" /></p>');$.get(url,function(res){$(selector).html(res);if(!LiverscoreNew.checkRunAudio()){$(".set-sound-data").addClass("muted")}var favorite_ids=localStorage.getItem("favorite_ids");var count_favorite=0;if(favorite_ids!==null){favorite_ids=JSON.parse(favorite_ids);for(let index=0;index<favorite_ids.length;index++){$(".icon-star-"+favorite_ids[index]).addClass("active");count_favorite++}$(".count-yeuthich").text(count_favorite)}$(".icon_new.icon-star.active").each(function(){var idelementMain=$(this).data("id");var elementMain=$("#tb_"+idelementMain);if(!elementMain.hasClass("tr24_ft")&&elementMain.data("type")=="time"){var htmlClone=elementMain.clone();elementMain.remove();if($(".isTopYT").length>0){htmlClone.insertAfter($(".isTopYT")[$(".isTopYT").length-1]);$("#tb_"+idelementMain).addClass("isTopYT")}else{htmlClone.insertAfter($("#tr_0"));$("#tb_"+idelementMain).addClass("isTopYT")}}})})},reloadLive:function(){if(this.liveInterval!==null){clearInterval(this.liveInterval)}this.setLivescore()},setLivescoreByTime:function(){var that=this;this.liveInterval=setInterval(function(){that.runLivescore()},15e3)},runLivescore:function(){this.goalPopupContent="";this.rePopupContent="";var that=this;$.get("/files/tiktok2.txt",function(response){if(response){var totalEle=response.length;for(var i=0;i<totalEle;i++){that.applyChangeScore(response[i])}if(that.goalPopupContent.length>0){}setTimeout(function(){$(".guestS").removeClass("on");$(".homeS").removeClass("on");$(".team .name").removeClass("ballIn");$(".hOdds span").removeClass("o-down");$(".hOdds span").removeClass("o-up")},1e4)}},"json")},applyChangeScore:function(oneChange){var elements=oneChange.split(",");var divID=elements[0];var isChangeHomeScore=false;var isChangeAwayScore=false;var countHomeScore=0;if($("#tb_"+divID).length){if($("#tb_"+divID).hasClass("tr24_ft"))return"";$("#text-vs-"+divID).text("-");var statusCurrent=$("#state_"+divID).text();if(!$("#tb_"+divID).hasClass("tr24_ft")&&elements[1]=="FT"){$("#tb_"+divID).addClass("tr24_ft");$("#tb_"+divID).removeClass("tr24_live")}else if(!$("#tb_"+divID).hasClass("tr24_live")){$("#tb_"+divID).addClass("tr24_live");$("#tb_"+divID).removeClass("tr24_ft")}if(statusCurrent==="FT")return"";if(!isNaN(elements[1])||elements[1]=="45+"||elements[1]=="90+"){this.changeOneScoreCell("#state_"+divID,elements[1]+"'","");this.changeOneScoreCell("#s_minute_"+divID,elements[1]+"'","")}if(elements[2]!=$("#hsc_"+divID).text()){this.changeOneScoreCell("#hsc_"+divID,elements[2],"on");$("#ht_"+divID).addClass("ballIn");if(elements[2]!=0){isChangeHomeScore=true}}if(elements[3]!=$("#gsc_"+divID).text()){this.changeOneScoreCell("#gsc_"+divID,elements[3],"on");$("#gt_"+divID).addClass("ballIn");if(elements[3]!=0){isChangeAwayScore=true}}if((isChangeHomeScore||isChangeAwayScore)&&countHomeScore<5&&this.showpoupGoal){this.goalPopupContent+='<div class="ballInBox">\n'+'<div class="timeBox">'+$("#state_"+divID).html()+"</div>\n"+'<div class="teamBox">\n'+'<div class="team home">\n'+'<div class="name">'+$("#ht_"+divID).text()+"</div>\n"+'<span class="'+(isChangeHomeScore?"red":"")+'">'+$("#hsc_"+divID).text()+"</span>\n"+"</div>\n"+'<div class="team guest">\n'+'<div class="name">'+$("#gt_"+divID).text()+"</div>\n"+'<span class="'+(isChangeAwayScore?"red":"")+'">'+$("#gsc_"+divID).text()+"</span>\n"+"</div>\n"+"</div>\n"+"</div>"}this.changeOneScoreCell("#htit_"+divID,elements[4],"");this.changeOneScoreCell("#hht_"+divID,elements[5],"");this.changeOneScoreCell("#ght_"+divID,elements[6],"");if(elements[7]>0){this.changeOneScoreCell("#hR_"+divID,"<i>"+elements[7]+"</i>","")}else{this.changeOneScoreCell("#hR_"+divID,"","")}if(elements[8]>0){this.changeOneScoreCell("#hY_"+divID,"<i>"+elements[8]+"</i>","")}else{this.changeOneScoreCell("#hY_"+divID,"","")}if(elements[9]>0){this.changeOneScoreCell("#gR_"+divID,"<i>"+elements[9]+"</i>","")}else{this.changeOneScoreCell("#gR_"+divID,"","")}if(elements[10]>0){this.changeOneScoreCell("#gY_"+divID,"<i>"+elements[10]+"</i>","")}else{this.changeOneScoreCell("#gY_"+divID,"","")}this.changeOneScoreCell("#corner_"+divID,elements[11],"");if(elements[1]=="FT"&&elements[1]!=statusCurrent&&$("#lv2_title_results").length>0){var htmlClone=$("#tb_"+divID).clone();$("#tb_"+divID).remove();$("#lv2_title_results").after(htmlClone)}}},changeOneScoreCell:function(selector,newVal,changeClass){var currentVal=$(selector).html();$(selector).html(newVal);if(currentVal!=newVal&&changeClass.length>0){$(selector).addClass(changeClass)}}};$(document).ready(function(){$("#back-to-top").hide();$("#back-to-top").click(function(){$("html,body").animate({scrollTop:0},400);return false});$(document).on("click",".icon-span-v",function(){var parentV=$(this).parent().parent();if(!parentV.hasClass("open")){$(".league-right-mobile").removeClass("open");parentV.addClass("open")}else{parentV.removeClass("open")}})});$(window).scroll(function(){if($(this).scrollTop()>100){$("#back-to-top").fadeIn()}else{$("#back-to-top").fadeOut()}});$("#button-newest").click(function(){$(".one-tab-link").removeClass("round-active");$(this).addClass("round-active");$.ajax({url:"/result/ajax-ket-qua-moi-nhat",dataType:"html",type:"GET",beforeSend:function(){$(".wait").show()},success:function(res){$("#wr-ajax-content").html(res)},error:function(xhr,status,error){console.log(xhr.statusText);console.log(status);console.log(error)}})});$("#button-odds-live").click(function(){$(".one-tab-link").removeClass("round-active");$(this).addClass("round-active");$.ajax({url:"/ajax-keo-bong-da-truc-tuyen",dataType:"html",type:"GET",beforeSend:function(){$(".wait").show()},success:function(res){$("#wr-ajax-content").html(res)},error:function(xhr,status,error){console.log(xhr.statusText);console.log(status);console.log(error)}})});$(".one-tab-link-tennis").click(function(){$(".one-tab-link").removeClass("round-active");$(this).addClass("round-active");var type=$(this).data("type");$.ajax({url:"/ajax-tennis?type="+type,dataType:"html",type:"GET",beforeSend:function(){$(".wait").show()},success:function(res){$("#wr-ajax-content").html(res)},error:function(xhr,status,error){console.log(xhr.statusText);console.log(status);console.log(error)}})});$(".one-tab-link-basketball").click(function(){$(".one-tab-link").removeClass("round-active");$(this).addClass("round-active");var type=$(this).data("type");$.ajax({url:"/ajax-bong-ro?type="+type,dataType:"html",type:"GET",beforeSend:function(){$(".wait").show()},success:function(res){$("#wr-ajax-content").html(res)},error:function(xhr,status,error){console.log(xhr.statusText);console.log(status);console.log(error)}})});$(document).on("click",".expand-corner",function(){$(this).parent().children(".dialog").toggleClass("show")});

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.