text: let hasLoaded=false;let initTemplate="";let mainUrl="https://latex.ppizarror.com/stats/";$(function(){printAboutInfo();generateFooter();writeTableHeader();initializeChartjsPlugins();try{let $mainsection=$("#mainSelector");for(let $i=0;$i<Object.keys(stat).length;$i+=1){if(stat[Object.keys(stat)[$i]].available){$mainsection.append($("<option>",{value:Object.keys(stat)[$i],text:stat[Object.keys(stat)[$i]].name}))}}$mainsection.on("change",function(){loadTemplate($mainsection.val())});$($mainsection).find("option[value='none']").attr("disabled","disabled")}catch(a){throwErrorID(errorID.errorretrievetemplatelist,a);return}finally{}initTemplate=$.urlParam("template");let $found;if(initTemplate!=null){$found=false;for(let $i=0;$i<Object.keys(stat).length;$i+=1){if(stat[Object.keys(stat)[$i]].tag===initTemplate&&stat[Object.keys(stat)[$i]].available){$("#mainSelector").val(Object.keys(stat)[$i]);setTimeout(function(){loadTemplate(Object.keys(stat)[$i])},timeProcessOnGETurl);$found=true;break}}if(!$found){throwErrorID(errorID.badtemplateid,"");return}}let $lockScrollUpClass=false;let $lockScrollDownClass=false;$(window).scroll(function(){let $tabledata=$("#tableData");if($(window).scrollTop()>pxScrollDownToFixTable){$lockScrollDownClass=false;if(!$lockScrollUpClass&&$(window).height()>=$tabledata.height()){$tabledata.removeClass("nonFixedTableData");$tabledata.addClass("fixedTableData");$lockScrollUpClass=true}}else{$lockScrollUpClass=false;if(!$lockScrollDownClass){$tabledata.addClass("nonFixedTableData");$tabledata.removeClass("fixedTableData");$lockScrollDownClass=true}}});$(window).resize(function(){let $tabledata=$("#tableData");$lockScrollDownClass=false;$lockScrollUpClass=false;if($(window).height()<$tabledata.height()){$tabledata.addClass("nonFixedTableData");$tabledata.removeClass("fixedTableData")}else{if($(window).scrollTop()>pxScrollDownToFixTable){$tabledata.removeClass("nonFixedTableData");$tabledata.addClass("fixedTableData")}}})});