!function(a){function b(){return!!jquery("body").hasclass("rtl")}jquery(document).ready(function(){function c(){if(/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent))return!1;jquery(".enable-on-viewport").each(function(a,b){var c=jquery(this).isvdoonscreen();jquery(this).hasclass("hosted-video")&&!jquery(this).hasclass("override-controls")&&(c?(jquery(this)[0].play(),jquery(this).parent().parent().parent().find(".video-controls").attr("data-action","play"),jquery(this).parent().parent().parent().find(".video-controls").html('')):(jquery(this)[0].pause(),jquery(this).parent().parent().parent().find(".video-controls").attr("data-action","pause"),jquery(this).parent().parent().parent().find(".video-controls").html('')))})}function d(a){a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,b,c,d){return b+b+c+c+d+d});var b=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return b?{r:parseint(b[1],16),g:parseint(b[2],16),b:parseint(b[3],16)}:null}function e(b,c){var e=b.data("seperator"),f=b.data("seperator-type"),g=b.data("seperator-shape-size"),h=b.data("seperator-background-color"),i=b.data("seperator-border"),j=b.data("seperator-border-color"),k=b.data("seperator-border-width"),l=b.data("seperator-svg-height"),m=b.data("seperator-full-width"),n=b.data("seperator-position");void 0!==n&&""!=n||(n="top_seperator");var o=b.data("icon");o=void 0===o?"":'
'+o+"
";var p=seperator_class=seperator_border_css=seperator_border_line_css=seperator_css="";if(void 0!==e&&"true"==e.tostring()){var q=shape_css=svg=inner_html=seperator_css=shape_css="",r=!1,s=math.floor(9999999999999*math.random()),t="uvc-seperator-"+s;void 0!==g&&""!=g&&"undefined"!=g||(g=0),g=parseint(g);var u=g/2,v=0;if("triangle_seperator"==f)seperator_class="ult-trinalge-seperator";else if("circle_seperator"==f)seperator_class="ult-circle-seperator";else if("diagonal_seperator"==f)seperator_class="ult-double-diagonal";else if("triangle_svg_seperator"==f)seperator_class="ult-svg-triangle",svg='',r=!0;else if("circle_svg_seperator"==f)seperator_class="ult-svg-circle",svg='',r=!0;else if("xlarge_triangle_seperator"==f)seperator_class="ult-xlarge-triangle",svg='',r=!0;else if("xlarge_triangle_left_seperator"==f)seperator_class="ult-xlarge-triangle-left",svg='',r=!0;else if("xlarge_triangle_right_seperator"==f)seperator_class="ult-xlarge-triangle-right",svg='',r=!0;else if("xlarge_circle_seperator"==f)seperator_class="ult-xlarge-circle",svg='',r=!0;else if("curve_up_seperator"==f)seperator_class="ult-curve-up-seperator",svg='',r=!0;else if("curve_down_seperator"==f)seperator_class="ult-curve-down-seperator",svg='',r=!0;else if("tilt_left_seperator"==f)seperator_class="ult-tilt-left-seperator",svg='',r=!0;else if("tilt_right_seperator"==f)seperator_class="ult-tilt-right-seperator",svg='',r=!0;else if("waves_seperator"==f)seperator_class="ult-wave-seperator",svg='',r=!0;else if("clouds_seperator"==f)seperator_class="ult-cloud-seperator",svg='',r=!0;else if("multi_triangle_seperator"==f){seperator_class="ult-multi-trianle";var w=d(h);svg='\t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t ',r=!0}else if("round_split_seperator"==f){var x=temp_border_before=temp_border_after=temp_border_line="";temp_padding=0,seperator_class="ult-rounded-split-seperator-wrapper";jquery(b).outerheight();if(0!=g){var y=parseint(jquery(b).css("padding-bottom"));jquery(b).css({"padding-bottom":g+"px"}),0==y&&(temp_padding=g)}if("top_seperator"==n)var z="top-split-seperator",a="0px",b="auto",c="border-radius: 0 0 "+g+"px 0 !important;",d="border-radius: 0 0 0 "+g+"px !important;";else if("bottom_seperator"==n)var z="bottom-split-seperator",a="auto",b="0px",c="border-radius: 0 "+g+"px 0 0 !important;",d="border-radius: "+g+"px 0 0 0 !important;";else var z="top-bottom-split-seperator",e="0px",f="auto",g="auto",h="0px",i="border-radius: 0 0 "+g+"px 0 !important;",j="border-radius: 0 0 0 "+g+"px !important;",k="border-radius: 0 "+g+"px 0 0 !important;",l="border-radius: "+g+"px 0 0 0 !important;";inner_html='
',"none"!=i&&(temp_border_line=k+"px "+i+" "+j,temp_border_before="border-top: "+temp_border_line+"; border-right: "+temp_border_line+";",temp_border_after="border-top: "+temp_border_line+"; border-left: "+temp_border_line+";"),"top_seperator"==n||"bottom_seperator"==n?(x="",jquery("head").append(x)):(x="",temp_css_bottom="",jquery("head").append(x+temp_css_bottom))}else seperator_class="ult-no-shape-seperator";if(void 0!==k&&""!=k&&0!=k&&(v=parseint(k)),shape_css='content: "";width:'+g+"px; height:"+g+"px; bottom: -"+(u+v)+"px;",""!=h&&(shape_css+="background-color:"+h+";"),"none"!=i&&"ult-rounded-split-seperator-wrapper"!=seperator_class&&0==r&&(seperator_border_line_css=k+"px "+i+" "+j,shape_css+="border-bottom:"+seperator_border_line_css+"; border-right:"+seperator_border_line_css+";",seperator_css+="border-bottom:"+seperator_border_line_css+";",p="bottom:"+k+"px !important"),"ult-no-shape-seperator"!=seperator_class&&"ult-rounded-split-seperator-wrapper"!=seperator_class&&0==r){var q="";jquery("head").append(q)}if(1==r&&(inner_html=svg),"top_bottom_seperator"==n){var m='
'+inner_html+"
"+o+"
";m+='
'+inner_html+"
"+o+"
"}else var m='
'+inner_html+"
"+o+"
";if(c.prepend(m),seperator_css="",""!=p&&(p="",seperator_css+=p),""!=o){var n=l/2;seperator_css+="none_seperator"==f||"circle_svg_seperator"==f||"triangle_svg_seperator"==f?"":""}1==r&&(jquery("."+t).find("svg").css("height",l),settimeout(function(){"multi_triangle_seperator"==f&&jquery(".ult-multi-trianle").each(function(b,c){var d=a(c).find("svg").height();a(c).hasclass("top_seperator")||a(c).hasclass("bottom_seperator")&&a(c).css("bottom",d-1)})},300)),jquery("head").append(seperator_css)}}function f(){jquery(".ult-vc-seperator").each(function(a,b){var c=jquery(this).data("full-width"),d=jquery(this).parent().data("rtl");void 0===d&&(d="false");var e=jquery(this).parent().find(".upb_row_bg").data("bg-override");if(void 0===e)var e=jquery(this).parent().find(".upb_video-bg").data("bg-override");if(("ex-full"==e||"full"==e||"browser_size"==e)&&1==c){var f=jquery("html").width();if(jquery(this).hasclass("ult-rounded-split-seperator-wrapper")){var g=jquery(this).data("border"),h=jquery(this).data("border-width");void 0!==g&&"none"!=g&&"undefined"!=g&&(f-=h)}var i=jquery(this).offset().left;jquery(this).find(".ult-main-seperator-inner").width(f),"true"==d.tostring()?jquery(this).find(".ult-main-seperator-inner").css({"margin-right":-i+"px"}):jquery(this).find(".ult-main-seperator-inner").css({"margin-left":-i+"px"})}})}/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent)&&a("html").addclass("ult-remove-fixed-background"),jquery(window).scroll(function(){c()}),jquery(window).load(function(){c()}),jquery.fn.isvdoonscreen=function(){var a=jquery(window),b={top:a.scrolltop(),left:a.scrollleft()};b.right=b.left+a.width(),b.bottom=b.top+a.height()-200;var c=this.parent().offset();return c.right=c.left+this.parent().outerwidth(),c.bottom=c.top+this.parent().outerheight()-300,!(b.rightc.right||b.bottomc.bottom)},jquery.fn.ultimate_video_bg=function(a){return jquery(this).each(function(){var b=jquery(this),d=b.data("ultimate-video"),f=b.data("ultimate-video2"),g=b.data("ultimate-video-muted"),h=b.data("ultimate-video-loop"),i=b.data("ultimate-video-autoplay"),j=b.data("ultimate-video-poster"),k=b.data("bg-override"),l=b.data("start-time"),m=b.data("stop-time"),n=b.data("upb-bg-animation"),o=b.data("overlay"),p=b.data("overlay-color"),q=b.data("overlay-pattern"),r=b.data("overlay-pattern-opacity"),s=b.data("overlay-pattern-size"),t=b.data("overlay-pattern-attachment"),u=b.data("viewport-video"),v=b.data("controls"),w=b.data("controls-color"),x=b.data("fadeout"),y=b.data("fadeout-percentage"),z=b.data("parallax-content"),a=b.data("parallax-content-sense"),b=b.data("row-effect-mobile-disable"),c=b.data("hide-row"),d=b.data("rtl"),e=b.data("video_fixer"),f="",g="",h=b.data("custom-vc-row"),i=b.data("vc"),j=b.data("theme-support"),k=b.data("is_old_vc");void 0!==h&&""!==h||(h="wpb_row"),void 0===i&&(i=0),void 0===k&&(k=!1),void 0===j&&(j="disable"),b.data("multi-color-overlay")&&(f=b.data("multi-color-overlay"),g=b.data("multi-color-overlay-opacity"));var l=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="";if(void 0!==o&&"true"===o.tostring()&&(""!=q&&(""!=s&&(s="background-size:"+s+"px;"),void 0!==t&&""!=t&&(overlay_pattern_attachment_css="background-attachment:"+t+";"),overlay_pattern_html='
'),""!=p&&(overlay_color_html='
'),""!=f&&(overlay_multi_color_html='
'),l=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),m=0!=m?m:"",1==k||"enable"==j)if(b.prev().is("p")||b.prev().is("style"))var m=b.prev().prev();else var m=b.prev();else var m=b.prevall("."+h+":first");m.css("position","relative");var n=m.attr("class"),o=b;b=m;!function(){var a,c,d;if(d=b,resize_selector=d.find(".upb_video-bg"),"full"==k&&(d=jquery("body")),"ex-full"==k&&(d=jquery("html")),!isnan(k))for(var e=0;e'}if("browser_size"==k&&(b.wrapinner('
'),b.find(".upb_video-text-wrapper").find(".upb_video-text").addclass(n)),"parallax_content_value"==z){b.addclass("vc-row-translate"),b.attr("data-parallax-content-sense",a),b.wrapinner('
');var s=b.css("padding-top"),t=b.css("padding-bottom");b.find(".vc-row-translate-wrapper").css({"padding-top":s,"padding-bottom":t}),b[0].style.setproperty("padding-top","0px","important"),b[0].style.setproperty("padding-bottom","0px","important")}var u="";if("true"==e.tostring()&&(u="uvc-video-fixer"),"youtube"==a||"vimeo"==a?b.prepend('
'+l+"
"):b.prepend('
'+p+l+"
"),e(o,b),o.remove(),"youtube"==a){d=d.substring(d.indexof("watch?v=")+8,d.indexof("watch?v=")+19);var v=b.find(".upb_video-bg");"loop"==h&&(h=!0),"muted"==g&&(g=!0),v.attr("data-vdo",d),v.attr("data-loop",h),v.attr("data-poster",j),v.attr("data-muted",g),v.attr("data-start",l),v.attr("data-stop",m),!0===u&&(v.addclass("enable-on-viewport"),v.addclass("youtube-video"),c())}else if("vimeo"==a){d=d.substring(d.indexof("vimeo.com/")+10,d.indexof("vimeo.com/")+18);var v=b.find(".upb_video-bg");v.html('')}else{var v=b.find(".upb_video-src");if(hosted_wrapper=v.parent(),/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent)&&"display_control"!=v)"display_control"!=v&&(""!=j&&v.parent().find(".video-controls").hide(),v.remove());else{if(jquery("",{type:"video/mp4",src:d}).appendto(v),void 0!==f&&""!==f){var w="";f.match(/.ogg/i)?w="video/ogg":f.match(/.webm/i)&&(w="video/webm"),""!=w&&jquery("",{type:w,src:f}).appendto(v)}"muted"==g&&v.attr({"data-mute":"muted"}),"loop"==h&&v.attr({loop:h}),v.attr({preload:"auto"}),!0===u?(v.addclass("enable-on-viewport"),v.addclass("hosted-video"),c()):"autoplay"==i&&v.attr({autoplay:i})}}""!=j&&(console.log(v),v.is(".utube")?v.css({"background-image":"url("+j+")"}):hosted_wrapper.css({"background-image":"url("+j+")"})),jquery(".upb_video-src").each(function(a,b){var c=jquery(b).attr("data-mute");if(void 0===c&&(c=!1),"muted"===c){jquery(b)[0].muted="muted"}})}),this},jquery.fn.ultimate_bg_shift=function(){return jquery(this).each(function(){var a=jquery(this),c=a.data("ultimate-bg"),d=a.data("ultimate-bg-style"),f=a.prev().css("background-color"),g=a.data("bg-img-repeat"),h=a.data("bg-img-size"),i=a.data("bg-img-position"),j=a.data("parallx_sense"),k=a.data("bg-override"),l=a.data("bg_img_attach"),m=a.data("upb-bg-animation"),n="",o=a.data("overlay"),n=a.data("overlay-color"),p=a.data("overlay-pattern"),q=a.data("overlay-pattern-opacity"),r=a.data("overlay-pattern-size"),s=a.data("overlay-pattern-attachment"),t=a.data("fadeout"),u=a.data("fadeout-percentage"),v=a.data("parallax-content"),w=a.data("parallax-content-sense"),x=a.data("bg-animation"),y=a.data("bg-animation-type"),z=a.data("animation-repeat"),a=a.data("row-effect-mobile-disable"),b=a.data("img-parallax-mobile-disable"),c=a.data("hide-row"),d=a.data("rtl"),e="",f="",g=a.data("custom-vc-row"),h=a.data("vc"),i=a.data("theme-support"),j=a.data("is_old_vc");void 0!==g&&""!==g||(g="wpb_row"),void 0===h&&(h=0),void 0===j&&(j=!1),void 0===i&&(i="disable"),a.data("multi-color-overlay")&&(e=a.data("multi-color-overlay"),f=a.data("multi-color-overlay-opacity"));var k=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="";if(void 0!==o&&"true"===o.tostring()&&(""!=p&&(""!=r&&(r="background-size:"+r+"px;"),void 0!==s&&""!=s&&(overlay_pattern_attachment_css="background-attachment:"+s+";"),overlay_pattern_html='
'),""!=n&&(overlay_color_html='
'),""!=e&&(overlay_multi_color_html='
'),k=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),1==j||"enable"==i)if(a.prev().is("p")||a.prev().is("style"))var l=a.prev().prev();else var l=a.prev();else var l=a.prevall("."+g+":first");l.css("position","relative");var m=l.attr("class");if("browser_size"==k&&(l.wrapinner('
'),a.parent().find(".upb-background-text-wrapper").addclass("full-browser-size"),a.parent().find(".upb-background-text-wrapper").find(".upb-background-text").addclass(m)),"parallax_content_value"==v){l.addclass("vc-row-translate"),l.attr("data-parallax-content-sense",w),l.wrapinner('
');var n=l.css("padding-top"),o=l.css("padding-bottom");l.find(".vc-row-translate-wrapper").css({"padding-top":n,"padding-bottom":o}),void 0!==l[0]&&""!==l&&(l[0].style.setproperty("padding-top","0px","important"),l[0].style.setproperty("padding-bottom","0px","important"))}""!=c&&(l.addclass("ult-vc-hide-row"),l.attr("data-hide-row",c)),l.attr("data-rtl",d),l.prepend('
'+k+"
"),a.remove(),e(a,l),a=l,a.attr("data-row-effect-mobile-disable",a),a.attr("data-img-parallax-mobile-disable",b),"fadeout_row_value"==t&&(a.addclass("vc-row-fade"),a.attr("data-fadeout-percentage",u)),a.css("background-image",""),a=a.find(".upb_row_bg"),a.attr("data-upb_br_animation",m),"automatic"!=h?a.css({"background-size":h}):a.addclass("upb_bg_size_automatic"),a.css({"background-repeat":g,"background-position":i,"background-color":f}),"vcpb-fs-jquery"==d||"vcpb-mlvp-jquery"==d?a.attr("data-img-array",c):a.css({"background-image":c,"background-attachment":l}),a.attr("data-parallax_sense",j),a.attr("data-bg-override",k),a.attr("data-bg-animation",x),a.attr("data-bg-animation-type",y),a.attr("data-animation-repeat",z),a.addclass(d);var p=function(){var c,d,e,f;if(d=a.parent(),"full"==k&&(d=jquery("body"),e=0),"ex-full"==k&&(d=jquery("html"),e=0),!isnan(k)){for(var g=0;gwh&&(wh=h),a.parent().css("height",wh+"px"),a.parent().find(".upb-background-text-wrapper").css("height",wh+"px")}};p(),jquery(window).load(function(){p()}),jquery(window).resize(function(){p()})}),this},jquery.fn.ultimate_grad_shift=function(){return jquery(this).each(function(){var a=jquery(this),c=a.data("grad"),d=(a.data("grad-type"),a.data("grad-custom-degree"),jquery(this).data("bg-override")),f=a.data("overlay"),g=a.data("overlay-color"),h=a.data("overlay-pattern"),i=a.data("overlay-pattern-opacity"),j=a.data("overlay-pattern-size"),k=a.data("overlay-pattern-attachment"),l=a.data("upb-bg-animation"),m=a.data("fadeout"),n=a.data("fadeout-percentage"),o=a.data("parallax-content"),p=a.data("parallax-content-sense"),q=a.data("row-effect-mobile-disable"),r=a.data("hide-row"),s=a.data("rtl"),t="",u="",v=a.data("custom-vc-row"),w=a.data("vc"),x=a.data("theme-support"),y=a.data("is_old_vc");if(void 0!==v&&""!==v||(v="wpb_row"),void 0===w&&(w=0),void 0===y&&(y=!1),void 0===x&&(x="disable"),a.data("multi-color-overlay")&&(t=a.data("multi-color-overlay"),u=a.data("multi-color-overlay-opacity")),1==y||"enable"==x)if(a.prev().is("p")||a.prev().is("style"))var z=a.prev().prev();else var z=a.prev();else var z=a.prevall("."+v+":first");z.css("position","relative");var a=z.attr("class");a.remove();var b=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="" ;if(void 0!==f&&"true"===f.tostring()&&(""!=h&&(""!=j&&(j="background-size:"+j+"px;"),void 0!==k&&""!=k&&(overlay_pattern_attachment_css="background-attachment:"+k+";"),overlay_pattern_html='
'),""!=g&&(overlay_color_html='
'),""!=t&&(overlay_multi_color_html='
'),b=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),"browser_size"==d&&(z.wrapinner('
'),z.find(".upb-background-text-wrapper").find(".upb-background-text").addclass(a),z.addclass("full-browser-size")),"parallax_content_value"==o){z.addclass("vc-row-translate"),z.attr("data-parallax-content-sense",p),z.wrapinner('
');var c=z.css("padding-top"),d=z.css("padding-bottom");z.find(".vc-row-translate-wrapper").css({"padding-top":c,"padding-bottom":d}),void 0!==z[0]&&""!==z&&(z[0].style.setproperty("padding-top","0px","important"),z[0].style.setproperty("padding-bottom","0px","important"))}""!=r&&(z.addclass("ult-vc-hide-row"),z.attr("data-hide-row",r)),z.attr("data-rtl",s),z.prepend('
'+b+"
"),e(a,z),a=z,a.attr("data-row-effect-mobile-disable",q),"fadeout_row_value"==m&&(a.addclass("vc-row-fade"),a.attr("data-fadeout-percentage",n)),a.css("background-image",""),a=a.find(".upb_row_bg"),a.attr("data-upb_br_animation",l),c=c.replace("url(data:image/svg+xml;base64,","");var e=c.indexof(";");c=c.substring(e+1),a.attr("style",c),a.attr("data-bg-override",d),"browser_size"==d&&a.parent().find(".upb-background-text-wrapper").addclass("full-browser-size");var f=function(){var c,e,f,g;if(e=a.parent(),"full"==d&&(e=jquery("body"),f=0),"ex-full"==d&&(e=jquery("html"),f=0),!isnan(d)){for(var h=0;hwh&&(wh=i),a.parent().css("height",wh+"px"),a.parent().find(".upb-background-text-wrapper").css("height",wh+"px")}};f(),jquery(window).load(function(){f()}),jquery(window).resize(function(){f()})}),this},jquery.fn.ultimate_bg_color_shift=function(){return jquery(this).each(function(){var a=jquery(this),c=jquery(this).data("bg-override"),d=jquery(this).data("bg-color"),f=a.data("fadeout"),g=a.data("fadeout-percentage"),h=a.data("parallax-content"),i=a.data("parallax-content-sense"),j=a.data("row-effect-mobile-disable"),k=a.data("overlay"),l=a.data("overlay-color"),m=a.data("overlay-pattern"),n=a.data("overlay-pattern-opacity"),o=a.data("overlay-pattern-size"),p=a.data("overlay-pattern-attachment"),q=a.data("hide-row"),r=a.data("rtl"),s="",t="",u=a.data("vc"),v=a.data("theme-support"),w=a.data("custom-vc-row"),x=a.data("is_old_vc");if(void 0!==w&&""!==w||(w="wpb_row"),void 0===u&&(u=0),void 0===x&&(x=!1),void 0===v&&(v="disable"),a.data("multi-color-overlay")&&(s=a.data("multi-color-overlay"),t=a.data("multi-color-overlay-opacity")),1==x||"enable"==v)if(a.prev().is("p")||a.prev().is("style"))var y=a.prev().prev();else var y=a.prev();else var y=a.prevall("."+w+":first");y.css("position","relative");var z=y.attr("class"),a=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="";if(void 0!==k&&"true"===k.tostring()&&(""!=m&&(""!=o&&(o="background-size:"+o+"px;"),void 0!==p&&""!=p&&(overlay_pattern_attachment_css="background-attachment:"+p+";"),overlay_pattern_html='
'),""!=l&&(overlay_color_html='
'),""!=s&&(overlay_multi_color_html='
'),a=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),"browser_size"==c)y.wrapinner('
'),y.find(".upb-background-text-wrapper").find(".upb-background-text").addclass(z);else;if(""!=q&&(y.addclass("ult-vc-hide-row"),y.attr("data-hide-row",q)),y.attr("data-rtl",r),"parallax_content_value"==h){y.addclass("vc-row-translate"),y.wrapinner('
'),y.attr("data-parallax-content-sense",i);var b=y.css("padding-top"),c=y.css("padding-bottom");y.find(".vc-row-translate-wrapper").css({"padding-top":b,"padding-bottom":c}),void 0!==y[0]&&""!==y&&(y[0].style.setproperty("padding-top","0px","important"),y[0].style.setproperty("padding-bottom","0px","important"))}y.prepend('
'+a+"
"),e(a,y),a.remove(),a=y,a.attr("data-row-effect-mobile-disable",j),"fadeout_row_value"==f&&(a.addclass("vc-row-fade"),a.attr("data-fadeout-percentage",g)),a.css("background-image",""),a=a.find(".upb_row_bg"),a.css({background:d}),a.attr("data-bg-override",c),"browser_size"==c&&a.parent().find(".upb-background-text-wrapper").addclass("full-browser-size");var d=function(){var d,e,f,g;if(e=a.parent(),"full"==c&&(e=jquery("body"),f=0),"ex-full"==c&&(e=jquery("html"),f=0),!isnan(c)){for(var h=0;hwh&&(wh=i),a.parent().css("height",wh+"px"),a.parent().find(".upb-background-text-wrapper").css("height",wh+"px")}};d(),jquery(window).load(function(){d()}),jquery(window).resize(function(){d()})}),this},jquery.fn.ultimate_parallax_animation=function(a){function b(){var b,g=jquery(window).scrolltop();e.each(function(){if("upb_fade_animation"==jquery(this).data("upb_br_animation")){b=jquery(this).offset().top;var e=jquery(this),h=e.offset().top,i=d(e);if(h+ig+c-100)return;var j=f-g;if(h+i-c');var l=k.css("padding-top"),m=k.css("padding-bottom");k.find(".vc-row-translate-wrapper").css({"padding-top":l,"padding-bottom":m}),void 0!==k[0]&&""!==k&&(k[0].style.setproperty("padding-top","0px","important"),k[0].style.setproperty("padding-bottom","0px","important"))}}),jquery(".upb_no_bg").remove();var h=function(){jquery(".upb_row_bg").each(function(){var a,c,d=jquery(this).data("bg-override"),e=jquery(this).data("theme-support"),f=jquery(this).data("row");if(c=void 0!==e&&"enable"!==e?jquery(this).parents("."+f+":first"):jquery(this).parent(),c.addclass("vc_row-has-fill"),"browser_size"==d&&(a=jquery("html")),"ex-full"==d)a=jquery("html");else if("full"==d)a=jquery("body");else if(!isnan(d)){a=c;for(var g=0;g0&&(left=0),1==b()?jquery(this).css({width:j,right:k}):jquery(this).css({width:j,left:k}),"browser_size"==d){var l=(a.width(),a.height(),c.width(),c.height()),m=c.find(".upb-background-text").height(),n=jquery(window).height();if(m>l)var o=m;else var o=n;c.css("min-height",o+"px"),c.find(".upb-background-text-wrapper").css("min-height",o+"px")}}),jquery(".upb_video-bg").each(function(a,b){var c,d,e=jquery(this).data("bg-override"),f=jquery(this).attr("data-rtl"),h=jquery(this).data("theme-support"),i=jquery(this).data("row");if(d=void 0!==h&&"enable"!==h?jquery(this).parents("."+i+":first"):jquery(this).parent(),"true"==d.attr("data-vc-full-width")||1==d.attr("data-vc-full-width")?d.addclass("uvc-vc-full-width"):d.addclass("uvc-row"),"browser_size"==e)c=jquery("html"),jquery(this).parents(".upb_video_class").css("overflow","visible");else if("ex-full"==e)c=jquery("html"),jquery(this).parents(".upb_video_class").css("overflow","visible");else if("full"==e)c=jquery("body"),jquery(this).parents(".upb_video_class").css("overflow","visible");else if(isnan(e)||0==e)c=d;else{c=d;for(var j=1;j<=e&&!c.is("html");j++)c=c.parent()}var k=(parseint(c.css("paddingleft")),parseint(c.css("paddingright")),parseint(c.css("marginleft")),c.outerwidth()),l=k,m=jquery(this).offset().left,n=jquery(this).position().left,o=c.offset().left,p=o-m;n<0&&(p=n+p),0==a&&(g=n),g>0&&(p=g),p>0&&(p=0),void 0===f||!0!==f&&"true"!==f?jquery(this).css({width:k,"min-width":k,left:p}):jquery(this).css({width:k,"min-width":k,right:p});var q=(jquery(window).width(),jquery(window).height());d.find("video").height();if("browser_size"==e)var r=d.find(".upb_video-text").height();else var r=d.height();if(k<960){k=16/9*r+k}pheight=math.ceil(k/(16/9)),children=jquery(this).children(),children.removeclass("ult-make-full-height"),r>l&&children.addclass("ult-make-full-height");var s=jquery(this).css("background-image");if(/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent))void 0!==s&&"none"!=s||(children.css({"max-height":"auto",height:"auto"}),d.css("min-height","auto"));else if("browser_size"==e){if(r>q)var t=r;else var t=q;d.addclass("video-browser-size"),d.find(".upb-background-text-wrapper").addclass("full-browser-size"),d.css("min-height",t+"px"),d.find(".upb_video-text-wrapper").length>0&&(d.find(".upb_video-text-wrapper").addclass("full-browser-size"),d.find(".upb_video-text-wrapper").css("min-height",t+"px"))}})};h(),jquery(window).load(function(){h(),f()}),jquery(window).resize(function(){h(),f()}),jquery(document).ajaxcomplete(function(a,b,c){jquery(".upb_content_video, .upb_content_iframe").prev().is("p")?jquery(".upb_content_video, .upb_content_iframe").prev().prev().css("background-image","").css("background-repeat",""):jquery(".upb_content_video, .upb_content_iframe").prev().css("background-image","").css("background-repeat",""),jquery(".upb_content_video").ultimate_video_bg(),jquery(".upb_bg_img").ultimate_bg_shift(),jquery(".upb_content_iframe").ultimate_video_bg(),jquery(".upb_grad").ultimate_grad_shift(),jquery(".upb_color").ultimate_bg_color_shift()}),jquery(".video-controls").click(function(a){var b=jquery(this).attr("data-action"),c=jquery(this).parent().find(".upb_video-src");"pause"==b?(jquery(this).attr("data-action","play"),c[0].play(),jquery(this).html('')):(jquery(this).attr("data-action","pause"),c[0].pause(),jquery(this).html('')),c.hasclass("enable-on-viewport")&&c.addclass("override-controls")}),function(){jquery(".ult-vc-hide-row").each(function(a,b){var c=jquery(b).data("hide-row");""!=c&&jquery(b).addclass(c)})}(),f(),jquery(".vcpb-animated").each(function(a,b){var c=jquery(b).data("animation-repeat");jquery(this).css({"background-repeat":c});var d=jquery(b).parent().attr("data-img-parallax-mobile-disable");if(d=void 0===d?"false":d.tostring(),/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent))var e="true";else var e="false";if("true"==e&&"true"==d)var f="true";else var f="false";if("false"==f){var g=10;""!=jquery(this).attr("data-parallax_sense")&&(g=jquery(this).attr("data-parallax_sense")),g=100-g;var h=jquery(this).attr("data-bg-animation-type"),i=jquery(this).attr("data-bg-animation"),j=0,k=h;setinterval(function(a){"right-animation"==i||"bottom-animation"==i?j-=1:j+=1,jquery(b).css("backgroundposition","h"==k?j+"px 0":"0 "+j+"px")},g)}})})}(jquery);