function getQueryVariable(e){var t=window.location.search.substring(1);var r=t.split("&");for(var i=0;ia").text().indexOf("CorePress")==-1||jQuery(".theme-copyright").css("visibility")!="visible"||jQuery(".theme-copyright").css("display")=="none"||jQuery(".theme-copyright>a").css("visibility")!="visible"||jQuery(".theme-copyright>a").css("display")=="none"){jQuery("html").remove();clearInterval(window.clearIntervalid)}}}function htmlEncodeByRegExp(e){return jQuery("
").text(e).html()}function htmlDecodeByRegExp(e){var t=jQuery("
").html(e).text()}function isElementInViewport(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function replaceTag(e){return e.replace("&","")}function addarelt(e,t){var r='';if(t=="succ"){r=''}else if(t=="erro"){r=''}var i="";jQuery("body").append('
'+r+e+"
");setTimeout(function(){jQuery(".corepress-alert-main").addClass("corepress-alert-main-show")},20);setTimeout(function(){jQuery(".corepress-alert-main:first").removeClass("corepress-alert-main-show")},3e3);setTimeout(function(){jQuery(".corepress-alert:first").remove()},3500)}function JScopyText(e){copynotmsg=1;jQuery("body").append('');var t=new ClipboardJS("#tem-copy",{text:function(){return e}});jQuery("#tem-copy").trigger("click");t.destroy();jQuery("#tem-copy").remove()}function isChinese(e){var t=/.*[\u4e00-\u9fa5]+.*$/;if(t.test(e))return true;return false}function haveNumandLetter(e){var t=/[0-9]/;var r=/[a-z]/i;if(t.test(e)&&r.test(e))return true;return false}function isEmail(e){var t=/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;if(t.test(e)!=true){return false}else{return true}}