/home/arranoyd/telegastro/wp-content/plugins/Ultimate_VC_Addons/assets/min-js/headings.min.js
!function(i){function t(){var j=0;$jh(".uvc-heading").each(function(){var i,t,e,h=$jh(this).outerWidth(),a=$jh(this).attr("data-hline_width"),n=$jh(this).attr("data-hicon_type"),r=$jh(this).attr("data-halign"),c=$jh(this).attr("data-hspacer");if(left_rtl="left",right_rtl="right",jQuery("body").hasClass("rtl")&&(left_rtl="right",right_rtl="left"),"line_with_icon"==c){var o=$jh(this).attr("id");j=void 0===(j=$jh(this).attr("data-hfixer"))||""===j?0:parseInt(j);var s=h/2;$jh(this).find(".dynamic_ultimate_heading_css").remove();var d=(e="auto"==a||h<a?h:a)/2;i="selector"==n?(t=$jh(this).find(".aio-icon").outerWidth(),$jh(this).find(".aio-icon").outerHeight()):(t=$jh(this).find(".aio-icon-img").outerWidth(),$jh(this).find(".aio-icon-img").outerHeight());var l=s-t/2+t+j,f=d;if(i+=3,$jh(this).find(".uvc-heading-spacer").height(i),"center"==r){$jh(this).find(".aio-icon-img").css({margin:"0 auto"});var g="#"+o+" .uvc-heading-spacer.line_with_icon:before{"+right_rtl+":"+l+"px;}#"+o+" .uvc-heading-spacer.line_with_icon:after{"+left_rtl+":"+l+"px;}"}else if("left"==r){$jh(this).find(".aio-icon-img").css({float:r});g="";g=""!=e?"#"+o+" .uvc-heading-spacer.line_with_icon:before{left:"+(t+j)+"px;right:auto;}#"+o+" .uvc-heading-spacer.line_with_icon:after{left:"+(f+t+j)+"px;right:auto;}":"#"+o+" .uvc-heading-spacer.line_with_icon:before{right:"+(l-t-2*j)+"px;}#"+o+" .uvc-heading-spacer.line_with_icon:after{left:"+(l-j)+"px;}"}else if("right"==r){$jh(this).find(".aio-icon-img").css({float:r});g="";g=""!=e?"#"+o+" .uvc-heading-spacer.line_with_icon:before{right:"+(t+j)+"px;left:auto;}#"+o+" .uvc-heading-spacer.line_with_icon:after{right:"+(f+t+j)+"px;left:auto;}":"#"+o+" .uvc-heading-spacer.line_with_icon:before{right:"+(l-j)+"px;}#"+o+" .uvc-heading-spacer.line_with_icon:after{left:"+(l-t-2*j)+"px;}"}var u=$jh(this).attr("data-hborder_style"),_=$jh(this).attr("data-hborder_color"),p=$jh(this).attr("data-hborder_height");"auto"==a&&"center"==r&&(f=Math.floor(f-t+j));var v='<div class="dynamic_ultimate_heading_css"><style>#'+o+" .uvc-heading-spacer.line_with_icon:before, #"+o+" .uvc-heading-spacer.line_with_icon:after{width:"+f+"px;border-style:"+u+";border-color:"+_+";border-bottom-width:"+p+"px;}"+g+"</style></div>";$jh(this).prepend(v)}else"line_only"==c&&("right"==r||"left"==r?$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({float:r}):$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({margin:"0 auto"}))})}$jh=i.noConflict(),$jh(document).ready(function(i){t(),$jh(window).resize(function(i){t()})}),i(window).load(function(i){t(),jQuery(".ult_exp_section").select(function(){0<jQuery(this).parent().find(".uvc-heading").length&&t()})})}(jQuery);