1$(function () { 2 $("img.lazy").lazyload({ 3 effect: "fadeIn", 4 failurelimit: 10000 5 }); 6 7 var url = window.location.href; 8 var index = 0; 9 $('#top_navbar li a').each(function () { 10 index++; 11 if (url.includes($(this).attr('href'))) { 12 $('#top_navbar li').removeClass('active'); 13 $(this).parent().addClass('active'); 14 if (index === 5) { 15 $('.top-header_hot').animate({ 16 scrollLeft: 200 17 }, 500); 18 } 19 if (index === 6) { 20 $('.top-header_hot').animate({ 21 scrollLeft: 300 22 }, 500); 23 } 24 if (index > 6) { 25 $('.top-header_hot').animate({ 26 scrollLeft: 400 27 }, 500); 28 } 29 } 30 }); 31 $('#nba_match_tabs li a').each(function () { 32 if (url.includes($(this).attr('href'))) { 33 $('#nba_match_tabs li').removeClass('active'); 34 $(this).parent().addClass('active'); 35 } 36 }); 37 38 $('#match_tabs li').on('click', function () { 39 $(this).addClass('active').siblings().removeClass('active'); 40 }); 41 42 $('#ranking__tabs .sven_ranking__tabs-item').on('mouseenter', function () { 43 $(this).addClass('active').siblings().removeClass('active'); 44 $('.sven_ranking__table-bd').hide(); 45 $('#' + $(this).data('name')).show(); 46 }); 47 48 match__menus_active(); 49 50 $('.sven_match__menus a').on('click', function () { 51 match__menus_active($(this)); 52 }) 53 54}); 55 56function playurl(id, url) { 57 window.open(decodeURI(atob(url)), '_blank'); 58} 59 60function isMobile() { 61 var sUserAgent = navigator.userAgent.toLowerCase(); 62 var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; 63 var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os"; 64 var bIsMidp = sUserAgent.match(/midp/i) == "midp"; 65 var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4"; 66 var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb"; 67 var bIsAndroid = sUserAgent.match(/android/i) == "android"; 68 var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce"; 69 var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; 70 if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) { 71 return true; 72 } 73 return false; 74} 75 76function match__menus_active(el) { 77 $('.sven_match__menus a').removeClass('active'); 78 if(el) { 79 el.addClass('active'); 80 } 81}
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.