var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,m,k){a instanceof String&&(a=String(a));for(var g=a.length,l=0;lw.threshold&&l||n)&&(t.type="throttledresize",m.dispatch.apply(q,v),l=!1,g=0);9 "+q:q,d=n||""==themifyScript.hash.replace("#","")?!0:!1,f=a(h).map(function(){var b=a(this);return(b=n&&b.is('[class*="tb_section-"]')?g(b):b.attr("id"))?b:""});a(v).fullpage({resize:!1,sectionSelector:h,paddingBottom:"78px",scrollOverflow:!0,navigation:!0,lockAnchors:!0,autoScrolling:d,anchors:f,afterRender:function(){d||a.fn.fullpage.setAutoScrolling(!0);var c=a(q+".active",a(v)),e=n&&c.is('[class*="tb_section-"]')?g(c):c.prop("id"),r=a("#main-nav").find('a[href$="#'+e+'"]');setTimeout(function(){a(".section_loader").hide(); "undefined"!==typeof ThemifyBuilderModuleJs&&"undefined"!==typeof y&&y()},1E3);if(n){var u=a("#fp-nav").find("li").get(a(".module_row").length);"undefined"!==typeof u&&u.hide()}0 .mfp-wrap").length)return!1;var f=n?a(v).children(q):a(v).find(q);if(0=e;c--)f.eq(c-1).css("visibility","visible");else for(;c<=e;c++)f.eq(c-1).css("visibility", "visible")}})}function p(b,c){if("undefined"!==typeof a.fn.infinitescroll){var e=parseInt(themifyScript.maxPages);"undefined"!==typeof qp_max_pages&&(e=qp_max_pages);b.infinitescroll({navSelector:"#load-more a:last",nextSelector:"#load-more a:last",itemSelector:c,loadingText:"",donetext:"",loading:{img:themifyScript.loadingImg},maxPage:e,behavior:"auto"!==themifyScript.autoInfinite?"twitter":"",pathParse:function(a){return a.match(/^(.*?)\b\d+\b(?!.*\b\d+\b)(.*?$)/).slice(1)},bufferPx:50,pixelsFromNavToBottom:a("#footerwrap").height(), state:{currPage:themifyScript.currentPage&&Number.isInteger(+themifyScript.currentPage)?+themifyScript.currentPage:1}},function(c,d,f){var h=a(c);a(".newItems").removeClass("newItems");h.addClass("newItems");"reset"===themifyScript.resetFilterOnLoad&&LayoutAndFilter.reset();h.hide().imagesLoaded(function(){h.fadeIn();a(".wp-audio-shortcode, .wp-video-shortcode").not("div").each(function(){var b=a(this);0===b.closest(".mejs-audio").length&&ThemifyMediaElement.init(b)});history.pushState&&!+themifyScript.infiniteURL&& history.pushState(null,null,f);a(".post").contents().find("a:not([class='comment-reply-link'], [id='cancel-comment-reply-link'], .themify_lightbox, .post-content a[href$='jpg'], .post-content a[href$='gif'], .post-content a[href$='png'], .post-content a[href$='JPG'], .post-content a[href$='GIF'], .post-content a[href$='PNG'], .post-content a[target='_new'], .post-content a[target='_blank'])").click(function(){var b=a(this).attr("href");window.parent.location.assign(b);return!1});Themify.InitGallery(); m("object"===typeof b.data("isotope"),function(){b.isotope("appended",h)});b.hasClass("auto_tiles")&&a("body").hasClass("tile_enable")&&b.trigger("infiniteloaded.themify",[h]);LayoutAndFilter.filterActive&&(LayoutAndFilter.enableFilters(),"scroll"===themifyScript.scrollToNewOnLoad&&LayoutAndFilter.restore());a("#infscr-loading").fadeOut("normal");1===e&&a("#load-more, #infscr-loading").remove();a("body").trigger("infiniteloaded.themify",[h]);a(window).trigger("resize")});--e;1 #loops-wrapper",A=a("body").hasClass("fixed-header"),y;n&&(t="undefined"!==typeof a.fn.fullpage&&(themifyScript.fullPageScroll?!0:!1)&&0=this.headerHeight?!this.$headerWrap.hasClass("fixed-header")&&this.scrollEnabled():this.$headerWrap.hasClass("fixed-header")&&this.scrollDisabled()},scrollDisabled:function(){this.$headerWrap.removeClass("fixed-header"); a("#header").removeClass("header-on-scroll");a("body").removeClass("fixed-header-on");this.$headerWrap.hide();this.$headerWrap.get(0).offsetHeight;this.$headerWrap.show();this.calculateHeaderHeight();this.updatePageOffset();this.triggerHeaderSlider()},scrollEnabled:function(){this.updatePageOffset();this.$headerWrap.addClass("fixed-header");a("#header").addClass("header-on-scroll");a("body").addClass("fixed-header-on");this.triggerHeaderSlider();a(window).trigger("resize")},triggerHeaderSlider:function(){this.hasHeaderSlider&& "object"===typeof this.$headerWrap.data("backstretch")&&(this.$headerWrap.data("backstretch").resize(),a("#gallery-controller .slides").trigger("next"))},calculateHeaderHeight:function(){this.headerHeight=this.$headerWrap.outerHeight(!0);this.updateHeaderOffset()},updateHeaderOffset:function(){var a="fixed"===this.$headerWrap.css("position")?this.$pageWrap.offset().top+"px":"";this.$headerWrap.css("margin-top",a)},updatePageOffset:function(){this.$pageWrap.css("paddingTop",Math.floor(this.headerHeight))}}; FixedHeader.init();ThemifySlider={recalcHeight:function(b,c){var e=[];a.each(b,function(){e.push(a(this).outerHeight(!0))});var h=Math.max.apply(Math,e);c.closest(".carousel-wrap").find(".caroufredsel_wrapper, .slideshow").each(function(){a(this).outerHeight(h)})},didResize:!1,createCarousel:function(b){var c=this;b.each(function(){var b=a(this);b.carouFredSel({responsive:!0,prev:"#"+b.data("id")+" .carousel-prev",next:"#"+b.data("id")+" .carousel-next",pagination:{container:"#"+b.data("id")+" .carousel-pager"}, circular:!0,infinite:!0,swipe:!0,scroll:{items:b.data("scroll"),fx:"scroll",duration:parseInt(b.data("speed"))},auto:{play:"off"!==b.data("autoplay"),timeoutDuration:"off"!==b.data("autoplay")?parseInt(b.data("autoplay")):0},items:{visible:{min:1,max:b.data("visible")?parseInt(b.data("visible")):1},width:222},onCreate:function(e){var d=b.closest(".slideshow-wrap");d.css({visibility:"visible",height:"auto"});a(window).on("throttledresize",function(){c.recalcHeight(e.items,b)});a(window).resize();setTimeout(function(){d.find(".carousel-nav-wrap").css("width", 18*parseInt(d.find(".carousel-pager").find("a").length)+"px")},200)}})})}};LayoutAndFilter={filterActive:!1,init:function(b){a(".post-filter+.loops-wrapper:not(.auto_tiles),.masonry:not(.list-post):not(.auto_tiles), .post-filter+.loops-wrapper .ptb_loops_wrapper",b).prepend('
');Themify.is_builder_active||(this.enableFilters(),this.filterActive=!0);this.filter(b)},enableFilters:function(){var b=a(".post-filter");0 article",isOriginLeft:!a("body").hasClass("rtl")}).isotope("once","layoutComplete",function(){a(window).trigger("resize")})},h=c.children(".loops-wrapper > article").last(); if(h.hasClass("wow"))h.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",function(){setTimeout(e,1E3)});else e()}if("yes"===themifyScript.shop_masonry){var d=a(".woocommerce.archive",b).find("#content").find("ul.products");d.length&&d.imagesLoaded(function(){d.isotope({layoutMode:"fitRows",itemSelector:".product",isOriginLeft:!a("body").hasClass("rtl")}).addClass("masonry-done")})}var f=a(".gallery-wrapper.packery-gallery",b);0").parent().html();void 0!=d&&a(".header-top-widgets #headerwrap").prepend("
"+d+"
");"undefined"!==typeof a.fn.themifyScrollHighlight&&c.themifyScrollHighlight(); if(Themify.is_builder_active)c.one("builder_load_module_partial",function(a,c,d){c||b()});else b();var f=a(".back-top");if(0window.scrollY?f.addClass("back-top-hide"):f.removeClass("back-top-hide")});f.on("click",function(b){b.preventDefault();b.stopPropagation();t?a("#footerwrap").toggleClass("expanded"):a("body,html").animate({scrollTop:0},800)})}k()&&"function"!=typeof a.fn.themifyDropdown&& Themify.LoadAsync(themify_vars.url+"/js/themify.dropdown.js",function(){a("#main-nav").themifyDropdown()});if(c.hasClass("header-minbar")||c.hasClass("header-leftpane"))a("#menu-icon").themifySideMenu({close:"#menu-icon-close",side:"left"}),d=function(){if("undefined"!==typeof a.fn.niceScroll&&!k()){var b=e;c.hasClass("header-minbar")&&(b=a("#mobile-menu"));b.niceScroll();c.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()},200)})}},e.length&&("function"!==typeof a.fn.niceScroll? Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",d,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):d());else if(c.hasClass("header-slide-out")||c.hasClass("header-rightpane")){if(a("#menu-icon").themifySideMenu({close:"#menu-icon-close",side:"right"}),d=function(){if("undefined"!==typeof a.fn.niceScroll&&!k()){var b=e;c.hasClass("header-slide-out")&&(b=a("#mobile-menu"));b.niceScroll();c.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()}, 200)})}},e.length||c.hasClass("header-slide-out"))"function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",d,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):d()}else{a("#menu-icon").themifySideMenu({close:"#menu-icon-close"});var g=a('
');c.append(g).on("sidemenushow.themify",function(){g.addClass("body-overlay-on")}).on("sidemenuhide.themify",function(){g.removeClass("body-overlay-on")}).on("click.themify touchend.themify", ".body-overlay",function(){a("#menu-icon").themifySideMenu("hide");a("#cart-icon").themifySideMenu("hide")});a(window).resize(function(){a("#mobile-menu").hasClass("sidemenu-on")&&a("#menu-icon").is(":visible")?g.addClass("body-overlay-on"):g.removeClass("body-overlay-on")})}c.hasClass("header-overlay")||(a("#main-nav li.menu-item-has-children > a, #main-nav li.page_item_has_children > a").after(""),a("#main-nav li.menu-item-has-children > .child-arrow, #main-nav li.page_item_has_children > .child-arrow").click(function(){a(this).toggleClass("toggle-on"); return!0}));a("#cart-icon").themifySideMenu({panel:"#slide-cart",close:"#cart-icon-close"});a(".highlight-post:odd").addClass("odd");d=function(){"undefined"===typeof a.fn.niceScroll||k()||1200')),a(".pull-down").on("click",function(b){k()||("function"!== typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",function(){n.getNiceScroll().resize()},null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):n.getNiceScroll().resize());a("#header").toggleClass("pull-down-close");n.slideToggle("fast",function(){a("#pagewrap").css("paddingTop",a("#headerwrap").outerHeight(!0))});b.preventDefault()}));a(window).resize(function(){if(1200>a(window).width()){var b=a(".header-horizontal .header-widget, .header-top-bar .header-widget, .boxed-compact .header-widget, .header-stripe .header-widget"); b.length&&!k()&&("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",function(){b.getNiceScroll().remove()},null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):b.getNiceScroll().remove());b.attr("style","")}});c.on("click",".loops-wrapper.grid4.polaroid .post-image + .post-content, .loops-wrapper.grid3.polaroid .post-image + .post-content, .loops-wrapper.grid2.polaroid .post-image + .post-content, .loops-wrapper.grid4.overlay .post-image + .post-content, .loops-wrapper.grid3.overlay .post-image + .post-content, .loops-wrapper.grid2.overlay .post-image + .post-content", function(){var b=a(this).closest(".post").find("a[data-post-permalink]");b.attr("href")&&!b.hasClass("themify_lightbox")&&(window.location=b.attr("href"))});if(0'): b.find(".slideshow").attr("data-id",c)})}0tf_mobile_menu_trigger_point?a("#main-nav li.has-mega-column > ul, #main-nav li.has-mega-sub-menu > .mega-sub-menu").css("width", a("#header").width()):a("#main-nav li.has-mega-column > ul,#main-nav li.has-mega-sub-menu > .mega-sub-menu").removeAttr("style"));!z&&"function"===typeof x&&a(".mobile_menu_active").length&&("function"!==typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",x,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):x(),z=1)});a(".header-overlay #main-nav li.menu-item-has-children > a, .header-overlay #main-nav li.page_item_has_children > a").after(""); a(".header-overlay #main-nav li.menu-item-has-children > .child-arrow, .header-overlay #main-nav li.page_item_has_children > .child-arrow").click(function(){a(this).toggleClass("toggle-on").next("div, ul").toggle("fast");return!0});var x=function(){if("undefined"!==typeof a.fn.niceScroll&&!k()&&c.hasClass("header-overlay")){var b=a("#mobile-menu");b.niceScroll();c.on("sidemenushow.themify",function(){setTimeout(function(){b.getNiceScroll().resize()},200)})}};a(".mobile_menu_active").length&&("function"!== typeof a.fn.niceScroll?Themify.LoadAsync(themifyScript.themeURI+"/js/jquery.nicescroll.min.js",x,null,null,function(){return"undefined"!==typeof a.fn.niceScroll}):x());if(t&&c.hasClass("query-section")){themifyScript.hash=window.location.hash.replace("#","").replace("!/","");"undefined"!==typeof a.fn.themifyScrollHighlight&&(c.on("scrollhighlight.themify",function(b,c){"undefined"!=typeof c&&""!=c&&a("#fp-nav").find("li").eq(a(".tb_section-"+c.replace("#","")).index()).find("a").trigger("click")}), a(window).trigger("scroll"));var p=setInterval(function(){"undefined"!==typeof ThemifyBuilderModuleJs&&(clearInterval(p),y=ThemifyBuilderModuleJs.wowInit,ThemifyBuilderModuleJs.wowInit=function(){})},100);l();c.on("builder_toggle_frontend",function(b,c){"undefined"!==typeof a.fn.fullpage&&(c?(a.fn.fullpage.destroy("all"),a("html,body").css("overflowY","auto")):l())});a(window.frameElement).is("#themify_builder_site_canvas_iframe")&&a.fn.fullpage.destroy("all");c.on("themify_onepage_afterload",function(b, c){tbLocalScript&&tbLocalScript.animationInviewSelectors&&"undefined"!==typeof ThemifyBuilderModuleJs&&ThemifyBuilderModuleJs.wow&&a(tbLocalScript.animationInviewSelectors).each(function(b,d){a(d,c).each(function(){ThemifyBuilderModuleJs.wow.show(this)})})}).on("themify_onepage_afterload themify_onepage_after_render",function(b,c,d){a.fn.waypoint&&Waypoint.refreshAll();"undefined"!==typeof ThemifyBuilderModuleJs&&null!==ThemifyBuilderModuleJs.wow&&"boolean"===typeof ThemifyBuilderModuleJs.wow.scrollHandler()&& ThemifyBuilderModuleJs.wow.scrollHandler()})}else a(".section_loader").hide();if(t)c.on("click",'a[href*="#"]:not(.themify_lightbox)',function(b){var c=a(this).prop("href"),d=c.indexOf("#"),c=-1!=d?c.substring(d+1):"",d=a(".tb_section-"+c);1 ul").removeAttr("class").wrap('