File: //var/www/lipovac/wp-content/plugins/Ultimate_VC_Addons/assets/min-js/jquery.vhparallax.min.js
!function(){var e=jQuery(window),r=e.height();e.resize(function(){r=e.height()}),jQuery.fn.vparallax=function(a,t,i){function n(){var i=e.scrollTop();u.each(function(){s=jQuery(this).offset().top;var e=jQuery(this),n=e.offset().top,u=l(e);if(!(i>n+u||n>i+r)){var o=Math.round((s-i)*t);if(o=-o,jQuery(this).parent().hasClass("vcpb-mlvp-jquery"))var h=jQuery(this).parent().parent().data("img-parallax-mobile-disable").toString();else var h=jQuery(this).parent().data("img-parallax-mobile-disable").toString();if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var p="true";else var p="false";if("true"==h&&"true"==p)var y="true";else var y="false";"false"==y&&jQuery(this).css("backgroundPosition",a+" "+o+"px")}})}var l,s,u=jQuery(this);l=i?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===a)&&(a="50%"),(arguments.length<2||null===t)&&(t=.5),(arguments.length<3||null===i)&&(i=!0),e.bind("scroll",n).resize(n),n()},jQuery.fn.hparallax=function(a,t,i){function n(){var i=e.scrollTop();u.each(function(){s=jQuery(this).offset().top;var e=jQuery(this),n=e.offset().top,u=l(e);if(!(i>n+u||n>i+r)){var h=jQuery(this).css("backgroundPosition"),p=h.indexOf("px"),y=h.substring(0,p),c=0;0>=o-i?c=parseInt(y)-parseInt(t*Math.abs(o-i)):(c=parseInt(y)+parseInt(t*(o-i)),c>0&&(c=0));var f=jQuery(this).parent().data("img-parallax-mobile-disable").toString();if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var v="true";else var v="false";if("true"==v&&"true"==f)var d="true";else var d="false";"false"==d&&jQuery(this).css("backgroundPosition",c+"px "+a)}}),o=i}var l,s,u=jQuery(this);l=i?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===a)&&(a="50%"),(arguments.length<2||null===t)&&(t=.5),(arguments.length<3||null===i)&&(i=!0),t=jQuery(this).data("parallax_sense")/100,a="0px";var o=e.scrollTop();e.bind("scroll",n).resize(n),n()}}(jQuery),jQuery(document).ready(function(){if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var e="true";else var e="false";jQuery(".vcpb-mlvp-jquery").each(function(){var e=jQuery(this),r=e.data("img-array");r=r.split(",");for(var a=r.length,t=0;a>t;t++)jQuery(e).prepend('<div class="vertical_layer_parallax" style="position:absolute;background-image:url('+r[t]+');"></div>');var i=jQuery(e).find(".vertical_layer_parallax");i.css({"max-width":"none",position:"absolute"})}),jQuery(".vcpb-mlvp-jquery").each(function(){var r=jQuery(this).find(".vertical_layer_parallax").length,a=parseInt(jQuery(this).data("parallax_sense"))/100,t=jQuery(this).parent().data("img-parallax-mobile-disable").toString();if(r=a/r,a=0,"true"==e&&"true"==t)var i="true";else var i="false";jQuery(this).find(".vertical_layer_parallax").each(function(){a+=r,jQuery(this).css({height:jQuery(this).parent().outerHeight()+"px",width:jQuery(this).parent().outerWidth()+"px"}).attr("data-p-sense",a),"false"==i&&jQuery(this).vparallax("0%",a)})}),jQuery(".vcpb-vz-jquery").each(function(){var r=jQuery(this).parent().data("img-parallax-mobile-disable");if("true"==e&&"true"==r)var a="true";else var a="false";"false"==a&&jQuery(this).vparallax("50%",jQuery(this).data("parallax_sense")/100)}),jQuery(".vcpb-hz-jquery").hparallax(),jQuery(".vcpb-hz-jquery").length>0&&setTimeout(function(){jQuery(window).scrollTop(0)},1e3)});