(function($){"use strict";var UNCODE=window.UNCODE||{};window.UNCODE=UNCODE,window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback,element){window.setTimeout(callback,1e3/60)}}(),window.requestTimeout=function(fn,delay){function loop(){var current=(new Date).getTime(),delta=current-start;delta>=delay?fn.call():handle.value=requestAnimFrame(loop)}if(!window.requestAnimationFrame&&!window.webkitRequestAnimationFrame&&(!window.mozRequestAnimationFrame||!window.mozCancelRequestAnimationFrame)&&!window.oRequestAnimationFrame&&!window.msRequestAnimationFrame)return window.setTimeout(fn,delay);var start=(new Date).getTime(),handle=new Object;return handle.value=requestAnimFrame(loop),handle},window.clearRequestTimeout=function(handle){typeof handle!="undefined"&&(window.cancelAnimationFrame?window.cancelAnimationFrame(handle.value):window.webkitCancelAnimationFrame?window.webkitCancelAnimationFrame(handle.value):window.webkitCancelRequestAnimationFrame?window.webkitCancelRequestAnimationFrame(handle.value):window.mozCancelRequestAnimationFrame?window.mozCancelRequestAnimationFrame(handle.value):window.oCancelRequestAnimationFrame?window.oCancelRequestAnimationFrame(handle.value):window.msCancelRequestAnimationFrame?window.msCancelRequestAnimationFrame(handle.value):clearTimeout(handle))},UNCODE.betterResize=function(){var setResize,doubleResize=!0,oldW=UNCODE.wwidth;$(window).on("resize orientationchange",function(){if(oldW===UNCODE.wwidth)return;oldW=UNCODE.wwidth,$(window).trigger("wwResize")})},Number.isInteger=Number.isInteger||function(value){return typeof value=="number"&&isFinite(value)&&Math.floor(value)===value},UNCODE.utils=function(){$(document).on("mouseover","a",function(){$(this).attr("data-title",$(this).attr("title")),$(this).removeAttr("title")}),$(document).on("mouseout","a",function(){$(this).attr("title",$(this).attr("data-title")),$(this).removeAttr("data-title")}),this.get_scroll_offset=function(e){var scroll_offset=0,is_first_link=!1,target,trigger;return Number.isInteger(e)!==!0&&typeof e!="undefined"&&typeof e.target!="undefined"&&typeof e.currentTarget!="undefined"&&(target=e.target,trigger=e.currentTarget),($(".menu-hide").length||$(".menu-hide-vertical").length)&&UNCODE.bodyTop>UNCODE.wheight/2&&UNCODE.hideMenu(100),(!$("body").hasClass("vmenu")||UNCODE.wwidthUNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)&&($(".menu-sticky").length&&!$(".menu-hide").length?scroll_offset+=$("#logo-container-mobile").outerHeight():$(".menu-sticky .menu-container:not(.menu-hide)").length&&!$(".menu-shrink").length?scroll_offset+=$(".menu-sticky .menu-container").outerHeight():$(".menu-sticky").length&&!$(".menu-hide").length||$(".menu-sticky-vertical").length&&!$(".menu-hide-vertical").length?scroll_offset+=UNCODE.menuMobileHeight:typeof target!="undefined"&&target.closest(".main-menu-container")!=null&&UNCODE.wwidth div:first-child()").height()-2:$(trigger)[0]!==$(document)[0]&&$(trigger).length&&typeof $(trigger).offset()!="undefined"&&window.scrollY>$(trigger).offset().top+UNCODE.menuMobileHeight&&(scroll_offset+=UNCODE.menuMobileHeight)),scroll_offset+=UNCODE.bodyBorder,scroll_offset},UNCODE.isFullPage||($(document).on("click",'a[href*="#"]:not(.woocommerce-review-link):not(.one-dot-link)',function(e){var hash=e.currentTarget.hash,is_scrolltop=$(e.currentTarget).hasClass("scroll-top")?!0:!1,anchor="";if($(e.currentTarget).data("toggle")=="tab"||$(e.currentTarget).data("toggle")=="collapse")return;if($(e.currentTarget).hasClass("woocommerce-review-link")&&$(".wootabs .tab-content").length){e.preventDefault(),$("#tab-reviews").is(":visible")||$('a[href="#tab-reviews"]').trigger("click");var calc_scroll=$(".wootabs .tab-content").offset().top;calc_scroll-=UNCODE.get_scroll_offset(e);if(!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)){var shrink=typeof $(".navbar-brand").data("padding-shrink")!="undefined"?$(".navbar-brand").data("padding-shrink")*2:36;$(".menu-sticky .menu-container:not(.menu-hide)").length&&$(".menu-shrink").length&&(scrollTo+=UNCODE.menuHeight-($(".navbar-brand").data("minheight")+shrink))}var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,delta=bodyTop-calc_scroll,scrollSpeed=SiteParameters.constant_scroll=="on"?Math.abs(delta)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;scrollSpeed<1e3&&SiteParameters.constant_scroll=="on"&&(scrollSpeed=1e3),requestTimeout(function(){scrollSpeed==0?($("html, body").scrollTop(calc_scroll),UNCODE.scrolling=!1):$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1})},200);return}if(hash!=undefined){var specialFormat=/[ !@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/,anchor=this.hash.slice(1);!specialFormat.test(hash)&&location.pathname.replace(/^\//g,"")==this.pathname.replace(/^\//g,"")&&location.hostname==this.hostname&&(specialFormat.test(hash)||$(hash).length&&(anchor=$(hash)))}if(is_scrolltop||anchor!="")if(is_scrolltop){e.preventDefault();var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,scrollSpeed=SiteParameters.constant_scroll=="on"?Math.abs(bodyTop)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;scrollSpeed<1e3&&SiteParameters.constant_scroll=="on"&&(scrollSpeed=1e3),scrollSpeed==0?($("html, body").scrollTop(0),UNCODE.scrolling=!1):$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:0},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1})}else{var scrollSection=typeof anchor=="string"?$('[data-name="'+anchor+'"]'):anchor;$.each($(".menu-container .menu-item > a, .widget_nav_menu .menu-smart .menu-item > a"),function(index,val){var get_href=$(val).attr("href");get_href!=undefined&&(get_href.substring(get_href.indexOf("#")+1)==anchor?$(val).parent().addClass("active"):$(val).parent().removeClass("active"))});if(scrollSection.length){$("body").hasClass("uncode-scroll-no-history")&&e.preventDefault(),UNCODE.menuOpened&&(UNCODE.wwidthUNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)&&$(".menu-sticky .menu-container:not(.menu-hide)").length&&!$(".menu-shrink").length&&!$("body").hasClass("vmenu")&&(logoH=$logo.outerHeight(),menuH=$menu.outerHeight(),calc_scroll0?calc_scroll-.1:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1,!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)&&getOffset!=UNCODE.get_scroll_offset(e)&&(calc_scroll=scrollSection.offset().top,getOffset=UNCODE.get_scroll_offset(e),calc_scroll-=getOffset,$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:delta>0?calc_scroll-.1:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1}))})}}}),$(".header-scrolldown").on("click",function(event){event.preventDefault();var pageHeader=$(event.target).closest("#page-header"),pageHeaderTop=pageHeader.offset().top,pageHeaderHeight=pageHeader.outerHeight(),scrollSpeed=SiteParameters.constant_scroll=="on"?Math.abs(pageHeaderTop+pageHeaderHeight)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;scrollSpeed<1e3&&SiteParameters.constant_scroll=="on"&&(scrollSpeed=1e3);var calc_scroll=pageHeaderTop+pageHeaderHeight,getOffset=UNCODE.get_scroll_offset(event);calc_scroll-=getOffset;if(!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)){var shrink=typeof $(".navbar-brand").data("padding-shrink")!="undefined"?$(".navbar-brand").data("padding-shrink")*2:36;$(".menu-sticky .menu-container:not(.menu-hide)").length&&$(".menu-shrink").length&&(scrollTo+=UNCODE.menuHeight-($(".navbar-brand").data("minheight")+shrink))}scrollSpeed==0?($("html, body").scrollTop(calc_scroll),UNCODE.scrolling=!1):$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1,getOffset!=UNCODE.get_scroll_offset(event)&&(calc_scroll=pageHeaderTop+pageHeaderHeight,getOffset=UNCODE.get_scroll_offset(event),calc_scroll-=getOffset,$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1}))})})),$(document).on("mouseenter",".col-link",function(e){var uncol=$(e.target).prev(".uncol"),el=uncol.find(".column-background");if(el){$(".btn-container .btn",uncol).toggleClass("active");var elOverlay=$(el[0]).find(".block-bg-overlay");if(elOverlay.length){var getOpacity=$(elOverlay).css("opacity");if(getOpacity!=1){getOpacity=Math.round(getOpacity*100)/100;var newOpacity=getOpacity+.1;$(elOverlay).data("data-opacity",getOpacity),$(elOverlay).css("opacity",newOpacity)}}}}).on("mouseleave",".col-link",function(e){var uncol=$(e.target).prev(".uncol"),el=uncol.find(".column-background");$(".btn-container .btn",uncol).toggleClass("active");if(el){var elOverlay=$(el[0]).find(".block-bg-overlay");if(elOverlay.length){var getOpacity=$(elOverlay).data("data-opacity");$(elOverlay).css("opacity",getOpacity)}}});var fixAdminBar=function(){if($("html").hasClass("admin-mode")&&!SiteParameters.is_frontend_editor){var getAdminBar=$("#wpadminbar");if(getAdminBar.length&&getAdminBar.css("position")!=="hidden"){var getAdminBarHeight=getAdminBar.height();getAdminBar.css("position")==="fixed"?($("html").css({"margin-top":getAdminBarHeight+"px","padding-top":UNCODE.bodyBorder+"px"}),$(".body-borders .top-border").css({"margin-top":getAdminBarHeight+"px"})):($("html").css({"padding-top":UNCODE.bodyBorder+"px","margin-top":"0px"}),$(".body-borders .top-border").css({"margin-top":"0px"}))}}};window.addEventListener("load",fixAdminBar),window.addEventListener("resize",fixAdminBar);var beforePrint=function(){window.dispatchEvent(new CustomEvent("resize")),window.dispatchEvent(UNCODE.boxEvent)};if(window.matchMedia){var mediaQueryList=window.matchMedia("print");mediaQueryList.addListener(function(mql){mql.matches&&beforePrint()})}window.onbeforeprint=beforePrint;var safariSrcSet=function(){SiteParameters.is_frontend_editor||$("html.safari img[sizes]").each(function(){var $img=$(this),sizeImg=parseInt($img.attr("sizes"));typeof sizeImg=="number"&&$img.attr("sizes",sizeImg+"px")})};window.addEventListener("load",safariSrcSet)},UNCODE.lettering=function(){var setCTA,highlightStill=function(){var $heading_texts=$(".heading-text:not(.animate_inner_when_almost_visible)");$.each($heading_texts,function(key,el){var $heading=$(el);if(!$('.heading-text-highlight-inner[data-animated="yes"]',$heading).length)return;if(UNCODE.isUnmodalOpen&&!el.closest("#unmodal-content"))return;var waypoint=new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById("unmodal-content"):window,element:el,handler:function(){var $anims=$('.heading-text-highlight-inner[data-animated="yes"]',this.element),anims_l=$anims.length;$anims.each(function(_key_,_el_){var $anim=$(_el_);$anim.hasClass("heading-text-highlight-animated")||($anim.addClass("heading-text-highlight-animated"),$heading.data("animate")===!0?$anim.css({"-webkit-transition-duration":"0ms","-moz-transition-duration":"0ms","-o-transition-duration":"0ms","transition-duration":"0ms"}):$anim.css({"-webkit-transition-delay":(_key_+2)*200+"ms","-moz-transition-delay":(_key_+2)*200+"ms","-o-transition-delay":(_key_+2)*200+"ms","transition-delay":(_key_+2)*200+"ms"}))}),$anims.last().one("webkitTransitionEnd oTransitionEnd mozTransitionEnd msTransitionEnd transitionEnd",function(e){$heading.data("animate",!0)}),$anims.removeAttr("data-animated")},offset:"100%"})}),Waypoint.refreshAll(),$(document.body).trigger("uncode_waypoints")};requestTimeout(function(){highlightStill(),$(window).on("resize",function(){clearRequestTimeout(setCTA),setCTA=requestTimeout(highlightStill,100)})},400)},UNCODE.isUnmodalOpen=!1;var manageVideoSize=function(){var setVideoFit;$(".wp-block-embed").each(function(){var $this=$(this);if($("iframe",$this).length){var $iframe=$("> iframe, > a > iframe",$this),w=parseFloat($iframe.attr("width")),h=parseFloat($iframe.attr("height")),url=$iframe.attr("src"),ratio,frW;if(typeof url!="undefined"&&url.indexOf("soundcloud")==-1&&h!==0){ratio=h/w;var setResizeiFto,resizeiFrame=function(){frW=$iframe.width(),$iframe.css({height:frW*ratio})};resizeiFrame(),$(window).on("resize load",function(){clearRequestTimeout(setResizeiFto),setResizeiFto=requestTimeout(function(){resizeiFrame()},10)})}}})};manageVideoSize(),UNCODE.vivus=function(icon,time,delay,file){if(typeof Vivus!="undefined"){var icon_options={type:"delayed",pathTimingFunction:Vivus.EASE_OUT,animTimingFunction:Vivus.LINEAR,duration:time};delay&&(icon_options.delayStart=delay),file&&(icon_options.file=file),new Vivus(icon,icon_options)}},UNCODE.lastURL="",UNCODE.getURLParams=function(current_location,is_string){var params={};if(is_string)var url=current_location.split("?")[1];else{var url=current_location.search;url=url.substring(1)}if(url){var parts=url.split("&");for(var i=0;i=UNCODE.mediaQuery,transMobile=$masthead.hasClass("menu-mobile-transparent")&&UNCODE.wwidth"+SiteParameters.days+" %H "+SiteParameters.hours+" %M "+SiteParameters.minutes+" %S "+SiteParameters.seconds+""))})})},UNCODE.tabs=function(){$(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),$(this).tab("show"),requestTimeout(function(){window.dispatchEvent(UNCODE.boxEvent),$(window).trigger("uncode.re-layout")},300)})},UNCODE.collapse=function(){$(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var $this=$(this),href,target=$this.attr("data-target")||e.preventDefault()||(href=$this.attr("href"))&&href.replace(/.*(?=#[^\s]+$)/,""),$target=$(target),data=$target.data("bs.collapse"),option=data?"toggle":$this.data(),parent=$this.attr("data-parent"),$parent=parent&&$(parent),$title=$(this).parent();$parent&&($parent.find('[data-toggle="collapse"][data-parent="'+parent+'"]').not($this).addClass("collapsed"),$title.hasClass("active")?$title.removeClass("active"):($parent.find(".panel-title").removeClass("active"),$title[$target.hasClass("in")?"removeClass":"addClass"]("active"))),$this[$target.hasClass("in")?"addClass":"removeClass"]("collapsed"),requestTimeout(function(){$(window).trigger("uncode.re-layout")},500)})},UNCODE.bigText=function(el){el==undefined&&(el=$("body")),$.each($(".bigtext",el),function(index,val){$(val).bigtext({minfontsize:24}),!$(val).parent().hasClass("blocks-animation")&&!$(val).hasClass("animate_when_almost_visible")&&$(val).css({opacity:1}),requestTimeout(function(){$(val).find(".animate_when_almost_visible").length!=0&&$(val).css({opacity:1})},400)})},UNCODE.process_shortpixel_image=function(image){var data={action:"shortpixel_manual_optimization",image_id:image,cleanup:!0};$.get(SiteParameters.ajax_url,data)},UNCODE.menuSystem=function(){function menuMobile(){var $body=$("body"),$mobileToggleButton=$(".mobile-menu-button"),$masthead=$("#masthead"),$box,$el,$el_transp,elHeight,check,animating=!1,stickyMobile=!1,menuClose=new CustomEvent("menuMobileClose"),menuOpen=new CustomEvent("menuMobileOpen");UNCODE.menuOpened=!1,$mobileToggleButton.on("click",function(event){var btn=this;if($(btn).hasClass("overlay-close"))return;event.preventDefault(),$(".overlay-search.open .menu-close-dd",$masthead).trigger("click");if(UNCODE.wwidth<=UNCODE.mediaQuery){$box=$(this).closest(".box-container").find(".main-menu-container"),$el=$(this).closest(".box-container").find(".menu-horizontal-inner:not(.row-brand), .menu-sidebar-inner"),$el_transp=$(".menu-absolute.menu-transparent"),UNCODE.isMobile?$(".menu-wrapper.menu-sticky, .menu-wrapper.menu-hide-only, .main-header .menu-sticky-vertical, .main-header .menu-hide-only-vertical, .menu-mobile-centered").length?(stickyMobile=!0,elHeight=window.innerHeight-UNCODE.menuMobileHeight-UNCODE.bodyBorder*2-UNCODE.adminBarHeight+1):(elHeight=0,$.each($box.find("> div"),function(index,val){elHeight+=$(val).outerHeight()})):(elHeight=0,$.each($el,function(index,val){elHeight+=$(val).outerHeight()}));var open=function(){animating||($body.addClass("open-overlay-menu").addClass("opening-overlay-menu"),window.dispatchEvent(menuOpen),animating=!0,UNCODE.menuOpened=!0,$('body[class*="vmenu-"], body.hmenu-center').length&&$(".menu-hide, .menu-sticky, .menu-transparent").length&&($(".main-header > .vmenu-container").css({position:"fixed",top:$(".menu-container").outerHeight()+UNCODE.bodyBorder+UNCODE.adminBarHeight+"px"}),$("body.menu-offcanvas").length?($(".menu-container:not(.sticky-element):not(.isotope-filters)").css({position:"fixed"}),$(".vmenu-container.menu-container:not(.sticky-element):not(.isotope-filters)").css({position:"fixed",top:UNCODE.menuMobileHeight+UNCODE.bodyBorder+UNCODE.adminBarHeight+"px"})):$(".menu-hide, .menu-sticky").length&&UNCODE.wwidth>=960&&$(".menu-sticky").length&&$(".menu-container:not(.sticky-element):not(.isotope-filters)").css({position:"fixed"})),$("body.hmenu-center").length&&$(".menu-hide, .menu-sticky").length&&$(".menu-container:not(.sticky-element):not(.isotope-filters)").css({position:"fixed",top:UNCODE.menuMobileHeight+UNCODE.bodyBorder+UNCODE.adminBarHeight+"px"}),btn.classList.add("close"),$box.addClass("open-items"),$el_transp.length&&$("body.menu-mobile-transparent").length&&$el_transp.addClass("is_mobile_open"),$box.animate({height:elHeight},600,"easeInOutCirc",function(){animating=!1,stickyMobile||$box.css("height","auto")}))},close=function(){animating||(window.dispatchEvent(menuClose),animating=!0,UNCODE.menuOpened=!1,btn.classList.remove("close"),btn.classList.add("closing"),$box.addClass("close"),requestTimeout(function(){$box.removeClass("close"),$box.removeClass("open-items"),btn.classList.remove("closing"),$el_transp.length&&$el_transp.removeClass("is_mobile_open")},500),$body.removeClass("opening-overlay-menu"),$box.animate({height:0},{duration:600,easing:"easeInOutCirc",complete:function(elements){$(elements).css("height",""),animating=!1,$('body[class*="vmenu-"]').length&&UNCODE.wwidth>=960&&$(".main-header > .vmenu-container").add(".menu-container:not(.sticky-element):not(.isotope-filters)").css("position","relative"),$body.removeClass("open-overlay-menu")}}))};check=UNCODE.menuOpened?close():open()}}),window.addEventListener("menuMobileTrigged",function(e){$(".mobile-menu-button.close").trigger("click")}),window.addEventListener("orientationchange",function(e){$("#logo-container-mobile .mobile-menu-button.close").trigger("click")}),window.addEventListener("resize",function(){if($(window).width()UNCODE.mediaQuery&&($(event.currentTarget).hasClass("close")?($(event.currentTarget).removeClass("close"),$(event.currentTarget).addClass("closing"),requestTimeout(function(){$(event.currentTarget).removeClass("closing"),window.dispatchEvent(menuClose)},500)):($(event.currentTarget).addClass("close"),window.dispatchEvent(menuOpen))),$("body").toggleClass("off-opened")})}function menuOverlay(){$(".overlay").length&&$(".overlay").removeClass("hidden"),$(".overlay-sequential, .menu-mobile-animated").length>0&&$(".overlay-sequential .menu-smart > li, .menu-sticky .menu-container .menu-smart > li, .menu-hide.menu-container .menu-smart > li, .vmenu-container .menu-smart > li").each(function(index,el){var transDelay=index/20+.1;$("body").hasClass("menu-mobile-centered")&&$(window).width() ul",$firstNav),$ulSecond=$("> ul",$secondNav),setCTA,appendCTA=function(){return!0},appendSocials=function(){return!0},appendSplit=function(){return!0};if($body.hasClass("cta-not-appended"))return!1;($body.hasClass("menu-offcanvas")||$body.hasClass("menu-overlay")||$body.hasClass("hmenu-center-split"))&&$cta.length&&($ulCta=$("> ul",$cta),appendCTA=function(){UNCODE.wwidth ul",$socials),appendSocials=function(){UNCODE.wwidth1024&&$(".overlay").addClass("hidden"),clearRequestTimeout(setMenuOverlay),setMenuOverlay=requestTimeout(menuOverlay,150)})},UNCODE.menuSmartInit=function(){var $menusmart=$('[class*="menu-smart"]'),$masthead=$("#masthead"),$hMenu=$(".menu-horizontal-inner",$masthead),$focus=$(".overlay-menu-focus"),showTimeout=50,hideTimeout=50,showTimeoutFunc,hideTimeoutFunc;$("> li.menu-item-has-children",$menusmart).hover(function(){$(this).data("hover",!0)},function(){$(this).data("hover",!1)});if($(window).width()>=UNCODE.mediaQuery&&$(".overlay-menu-focus").length){var $notLis=$("> .nav > ul > li a",$hMenu),$menuA=$("a",$masthead).not($notLis),$hoverSelector=$("> .nav > ul > li",$hMenu).has("> ul"),showFuncCond=function(){return!0};$("body").hasClass("focus-megamenu")?($hoverSelector=$("> .nav > ul > li",$hMenu).has(".mega-menu-inner"),showFuncCond=function($ul){return $ul.hasClass("mega-menu-inner")}):$("body").hasClass("focus-links")&&($hoverSelector=$("> .nav > ul > li",$hMenu).add($menuA)),$hoverSelector.hover(function(){clearRequestTimeout(hideTimeoutFunc),showTimeoutFunc=requestTimeout(function(){$("body").addClass("navbar-hover")},showTimeout*2)},function(){hideTimeoutFunc=requestTimeout(function(){$(".overlay-search.open",$masthead).length||$("body").removeClass("navbar-hover")},hideTimeout*2)})}else showFuncCond=function(){return!1};$menusmart.length>0&&($menusmart.smartmenus({subIndicators:!1,subIndicatorsPos:"append",subIndicatorsText:"",showTimeout:showTimeout,hideTimeout:hideTimeout,showFunction:function($ul,complete){clearRequestTimeout(showTimeoutFunc),$ul.fadeIn(0,"linear",function(){complete(),$ul.hasClass("vc_row")&&$ul.css({display:"table"}),$(".overlay-menu-focus").length&&$ul.hasClass("mega-menu-inner")&&$("body").addClass("open-megamenu"),$(".overlay-menu-focus").length&&showFuncCond($ul)&&$(window).width()>=UNCODE.mediaQuery&&$ul.closest(".main-menu-container").length&&$("body").addClass("navbar-hover")}).addClass("open-animated")},hideFunction:function($ul,complete){$(".overlay-menu-focus").length&&$ul.hasClass("mega-menu-inner")&&!$(".overlay-search.open",$masthead).length&&$("body").removeClass("open-megamenu");var fixIE=$("html.ie").length;if(fixIE){var $rowParent=$($ul).closest(".main-menu-container");$rowParent.height("auto")}$ul.fadeOut(0,"linear",function(){complete(),$ul.removeClass("open-animated"),$ul.closest("li.menu-item-has-children").data("hover")===!1&&$("body").removeClass("open-submenu")})},collapsibleShowFunction:function($ul,complete){$ul.slideDown(400,"easeInOutCirc",complete)},collapsibleHideFunction:function($ul,complete){$ul.slideUp(200,"easeInOutCirc",complete)},hideOnClick:!0}),$("body").hasClass("menu-accordion-active")&&requestTimeout(function(){$menusmart.addClass("menu-smart-init"),$menusmart.smartmenus("itemActivate",$menusmart.find(".current-menu-item > a").eq(-1))},1e3))},UNCODE.okvideo=function(){var BLANK_GIF="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw%3D%3D";$.okvideo=function(options){typeof options!="object"&&(options={video:options});var base=this;base.init=function(){base.options=$.extend({},$.okvideo.options,options),base.options.video===null&&(base.options.video=base.options.source),base.setOptions();var target=base.options.target||$("body"),position=target[0]==$("body")[0]?"fixed":"absolute",zIndex=base.options.controls===3?-999:"auto";if($("#okplayer-"+base.options.id).length==0){var mask='
';OKEvents.utils.isMobile()?target.append('
'):(base.options.controls===3&&target.append(mask),base.options.adproof===1?target.append('
'):target.append('
')),$("#okplayer-mask-"+base.options.id).css("background-image","url("+BLANK_GIF+")"),base.options.playlist.list===null?base.options.video.provider==="youtube"?base.loadYouTubeAPI():base.options.video.provider==="vimeo"&&(base.options.volume/=100,base.loadVimeoAPI()):base.loadYouTubeAPI()}},base.setOptions=function(){for(var key in this.options)this.options[key]===!0&&(this.options[key]=1),this.options[key]===!1&&(this.options[key]=3);base.options.playlist.list===null&&(base.options.video=base.determineProvider()),$(window).data("okoptions-"+base.options.id,base.options)},base.insertJS=function(src,callback){var tag;if(UNCODE.insertedSripts&&UNCODE.insertedSripts[src]){tag=UNCODE.insertedSripts[src],callback&&(tag.readyState?tag.onreadystatechange=function(){if(tag.readyState==="loaded"||tag.readyState==="complete")tag.onreadystatechange=null,callback()}:$(tag).on("load",callback));return}tag=document.createElement("script"),callback&&(tag.readyState?tag.onreadystatechange=function(){if(tag.readyState==="loaded"||tag.readyState==="complete")tag.onreadystatechange=null,callback()}:tag.onload=function(){callback()}),tag.src=src;var firstScriptTag=document.getElementsByTagName("script")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag),UNCODE.insertedSripts||(UNCODE.insertedSripts=[]),UNCODE.insertedSripts[src]=tag},base.loadYouTubeAPI=function(callback){base.insertJS("https://www.youtube.com/player_api")},base.loadYouTubePlaylist=function(){player.loadPlaylist(base.options.playlist.list,base.options.playlist.index,base.options.playlist.startSeconds,base.options.playlist.suggestedQuality)},base.loadVimeoAPI=function(){var source="//player.vimeo.com/video/"+base.options.video.id+"?background=1&api=1&title=0&byline=0&portrait=0&playbar=0&loop="+base.options.loop+"&autoplay="+(base.options.autoplay===1?1:0)+"&player_id=okplayer-"+base.options.id,jIframe=$('