/*! * Envision * * @version 3.1.0 * * @author Wptation * @link http://envision.wptation.com/ * @license ThemeForest Split Licence * @copyright 2019 */ !function(s){var g;(g={}).mozilla=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase()),g.webkit=/webkit/.test(navigator.userAgent.toLowerCase()),g.opera=/opera/.test(navigator.userAgent.toLowerCase()),g.msie=/msie/.test(navigator.userAgent.toLowerCase()),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var i=this.length>>>0,t=Number(arguments[1])||0;for((t=t<0?Math.ceil(t):Math.floor(t))<0&&(t+=i);t").appendTo("body").css({display:"none",width:0,height:0,overflow:"hidden"});for(var e=0;u.length>e;e++)s.ajax({url:u[e],type:"HEAD",complete:function(e){n||f(this.url)}})},f=function(e){var i=s("").attr("src",e).appendTo(o);b(i)},b=function(e){l++,e.imagesLoaded(function(e){y()})},y=function(){var e=++t/l*100;s(c).stop().animate({width:e+"%",minWidth:e+"%"},200),1==v.percentage&&s(h).text(Math.ceil(e)+"%"),t==l&&S()},S=function(){s(o).remove(),n=!0,v.onLoadComplete()},w=function(){var e="absolute";"BODY"==r.prop("tagName")?e="fixed":r.css("position","relative"),a=s("
").css({width:"100%",height:"100%",backgroundColor:v.backgroundColor,backgroundPosition:"fixed",position:e,zIndex:666999,top:0,left:0}).appendTo(r),c=s("
").css({height:v.barHeight+"px",marginTop:"-"+v.barHeight/2+"px",width:"0%",position:"absolute",top:"50%"}).appendTo(a),1==v.percentage&&(h=s("

").text("0%").css({height:"40px",width:"100px",position:"absolute",fontSize:"3em",top:"50%",left:"50%",marginTop:"-"+(59+v.barHeight)+"px",textAlign:"center",marginLeft:"-50px",color:v.barColor}).appendTo(a)),d.length||S()};s.fn.queryLoader2=function(e){return e&&s.extend(v,e),this.each(function(){i(this),1==v.deepSearch&&s(this).find("*:not(script)").each(function(){i(this)})}),function(e){r=e,n=!1;var i=new Date;p=i.getTime(),0