function printDiv(e){var t=document.getElementById(e).innerHTML,n=document.body.innerHTML;document.body.innerHTML=t,window.print(),document.body.innerHTML=n}function copyToClip(e,t=""){function n(t){t.clipboardData.setData("text/html",e),t.clipboardData.setData("text/plain",e),t.preventDefault()}document.addEventListener("copy",n),document.execCommand("copy"),document.removeEventListener("copy",n),t.length>0&&$("#"+t).html(txt_copied)}function handleFileSelect(e){if(window.File&&window.FileReader&&window.FileList&&window.Blob)if(e=e)if(e.files)if(e.files[0]){var t=e.files[0],n=new FileReader;n.readAsText(t),n.onload=function(){t.size/1e3>max_content_size_kb?alert("Please select file less than "+max_content_size_kb+" kb"):($('[name="content"]').val(n.result),"undefined"!=typeof editor&&null!==editor&&editor.setValue(n.result,-1))}}else alert("Please select a file before clicking 'Load'");else alert("This browser doesn't seem to support the `files` property of file inputs.");else alert("Um, couldn't find the fileinput element.");else alert("The File APIs are not fully supported in this browser.")}$(document).ready(function(){(new WOW).init(),$(".select2").select2()}),$(function(){$("#load_file").on("click",function(e){e.preventDefault(),$("#paste_file:hidden").trigger("click")})}),isAdBlockActive&&$("main > div").html('