PageSourceSearch

https://www.masakajpn.com/wp/wp-content/themes/neighborhood/js/functions.min.js

js masakajpn.com collected 2026-10-06 13:49:56 UTC 43,850 bytes, 1 lines download raw bytes

1var SF={};(function(){SF.page={init:function(){jQuery.browser={};jQuery.browser.mozilla=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase());jQuery.browser.webkit=/webkit/.test(navigator.userAgent.toLowerCase());jQuery.browser.opera=/opera/.test(navigator.userAgent.toLowerCase());jQuery.browser.msie=/msie/.test(navigator.userAgent.toLowerCase());jQuery.browser.msieMobile10=/iemobile\/10\.0/.test(navigator.userAgent.toLowerCase());if(SF.opts.agentID){j.addClass("mobile-browser")}else{j.addClass("standard-browser")}if(jQuery.browser.msie&&(parseInt(jQuery.browser.version,10)<=10)){j.addClass("browser-ie")}if(jQuery.browser.mozilla){j.addClass("browser-ff")}if(jQuery.browser.opera){j.addClass("browser-opera")}if(j.hasClass("woocommerce-page")&&!j.hasClass("woocommerce")){j.addClass("woocommerce")}SF.page.moveModals();SF.page.modalClose();jQuery(".portfolio-items:not(.carousel-items),.blog-items:not(.carousel-items),article.type-portfolio,article.type-post,article.type-team,.spb_video_widget,.infocus-item,.recent-posts,.full-width-detail").fitVids();jQuery(".beam-me-up").on("click","a",function(m){m.preventDefault();jQuery("body,html").animate({scrollTop:0},800)})},moveModals:function(){jQuery(".modal").each(function(){jQuery(this).appendTo("body")})}
1,modalClose:function(){jQuery(".modal-backdrop, .modal .close, .modal .btn").on("click",function(){jQuery(".modal iframe").each(function(){var m=jQuery(this);m.attr("src",m.attr("src"))})})},};SF.superSearch={init:function(){jQuery(".search-options .ss-dropdown").on("click",function(n){n.preventDefault();var m=jQuery(this),o=m.find("ul");jQuery(".ss-dropdown ul").removeClass("show-dropdown");if(SF.opts.isMobileAlt){if(o.hasClass("show-dropdown")){o.removeClass("show-dropdown")}else{o.addClass("show-dropdown")}}else{if(o.hasClass("show-dropdown")){o.css("top",30).removeClass("show-dropdown")}else{o.css("top",-10).addClass("show-dropdown")}}});jQuery(".ss-option").on("click",function(o){o.preventDefault();var m=jQuery(this),n=m.attr("data-attr_value"),p=m.parent().parent().parent();p.find("li").removeClass("selected");m.parent().addClass("selected");p.attr("data-attr_value",n);p.find("span").text(m.text());setTimeout(function(){m.parents("ul").first().css("top",30).removeClass("show-dropdown")},100)});jQuery(".swift-search-link").on("click",function(n){n.preventDefault();var m=jQuery("#super-search");if(!m.is(":visible")){m.slideDown(400)}});jQuery(".swift-search-link-alt").on("click",function(n){n.preventDefault();var m=jQuery("#super-search");if(!m.is(":visible")){jQuery("body,html").animate({scrollTop:0},200);m.slideDown(400)}});jQuery(".super-search-go").on("click",function(q){q.preventDefault();var p=jQuery(this).parents(".sf-super-search").first(),n=SF.superSearch.urlBuilder(p),o=jQuery(this).attr("data-home_url"),m=jQuery(this).attr("data-shop_url");if(n.indexOf("product_cat")>=0){location.href=o+n}else{location.href=m+n}});jQuery(".super-search-close").on("click",function(m){m.preventDefault();jQuery("#super-search").slideUp(300)})},urlBuilder:function(m){var n="";jQuery(m).find(".search-options .ss-dropdown").each(function(){var o=jQuery(this).attr("id");var p=jQuery(this).attr("data-attr_value");if(p!==""){if(o==="product_cat"){if(n===""){n+="?product_cat="+p}else{n+="&product_cat="+p}}else{if(n===""){n+="?filter_"+o+"="+p}else{n+="&filter_"+o+"="+p}}}});jQuery(".search-options input").each(function(){var o=jQuery(this).attr("name");var p=jQuery(this).attr("value");if(n===""){n+="?"+o+"="+p}else{n+="&"+o+"="+p}});return n}};var i=jQuery("#nav-search").find("input"),e=jQuery(".nav-search-link"),b=jQuery("#mini-header"),a=jQuery("#mini-search").find("input"),h=jQuery(".mini-search-link");SF.header={init:function(){if(j.hasClass("header-overlay")){SF.header.headerOverlaySet();c.smartresize(function(){SF.header.headerOverlaySet()})}SF.header.miniHeaderInit();e.on("click",function(m){if(jQuery("#container").width()>979||j.hasClass("responsive-fixed")){m.preventDefault();i.animate({opacity:1,width:140},200);i.focus()}});i.focus(function(){if(jQuery("#container").width()>979||j.hasClass("responsive-fixed")){i.css("display","inline-block").animate({opacity:1,width:140},200)}});i.blur(function(){if(jQuery("#container").width()>979||j.hasClass("responsive-fixed")){jQuery(this).animate({opacity:0,width:1},200);setTimeout(function(){i.css("display","none")},300)}});h.on("click",function(m){m.preventDefault();a.animate({opacity:1,width:140},200);a.focus()});a.focus(function(){jQuery(this).animate({opacity:1,width:140},200)});a.blur(function(){jQuery(this).animate({opacity:0,width:1},200)});jQuery(window).scroll(function(){if((jQuery(this).scrollTop()>300)&&!j.hasClass("has-mini-header")){SF.header.miniHeaderShow()}else{if((jQuery(this).scrollTop()<250)&&j.hasClass("has-mini-header")){SF.header.miniHeaderHide()}}});jQuery(".mobile-search-link").on("click",function(){var m=jQuery(".mobile-search-form").is(":visible");jQuery(".mobile-search-form").slideToggle();if(m){jQuery(".mobile-search-link").removeClass("active")}else{jQuery(".mobile-search-form input").focus();jQuery(".mobile-search-link").addClass("active")}})},miniHeaderInit:function(){b.find('a[title="home"]').html('<i class="fa-home"></i>')},miniHeaderShow:function(){j.addClass("has-mini-header");b.css("display","block");b.animate({top:"0"},400)},miniHeaderHide:function(){j.removeClass("has-mini-header");b.animate({top:"-80"},400);setTimeout(function(){b.css("display","none")},600)},headerOverlaySet:function(){var m=jQuery(".header-wrap").height();if(jQuery("#main-container").find("#swift-slider").length===0&&jQuery("#main-container").find(".home-slider-wrap").length===0&&jQuery("#page-wrap").find(".page-heading").length===0){jQuery(".inner-page-wrap").animate({"padding-top":m+20},300)}else{jQuery(".page-heading").animate({"padding-top":m+25},300)}}};SF.nav={init:function(){var m="",o=false;jQuery("ul.sub-menu").parent().addClass("parent");jQuery(".menu li.parent > a").on("click",function(q){if((jQuery("#container").width()<1024&&j.hasClass("mh-tabletland"))||(jQuery("#container").width()<979&&!j.hasClass("mh-tabletland"))||j.hasClass("standard-browser")){return q}var p=jQuery(this).parent().find("ul.sub-menu").first();if(p.css("opacity")==1){return q}else{q.preventDefault()}});jQuery("nav").find(".menu li.parent").not(".no-hover").hoverIntent({over:function(){if((jQuery("#container").width()>1024&&j.hasClass("mh-tabletland"))||(jQuery("#container").width()>979&&!j.hasClass("mh-tabletland"))||j.hasClass("responsive-fixed")){jQuery(this).find("ul.sub-menu,.mega-menu-sub").first().fadeIn(200)}},out:function(){if((jQuery("#container").width()>1024&&j.hasClass("mh-tabletland"))||(jQuery("#container").width()>979&&!j.hasClass("mh-tabletland"))||j.hasClass("responsive-fixed")){jQuery(this).find("ul.sub-menu,.mega-menu-sub").first().fadeOut(150)}},timeout:0});jQuery(".shopping-bag-item").live("mouseenter",function(){jQuery(this).find("ul.sub-menu").first().fadeIn(200)}).live("mouseleave",function(){if((jQuery("#container").width()>1024&&j.hasClass("mh-tabletland"))||(jQuery("#container").width()>979&&!j.hasClass("mh-tabletland"))||j.hasClass("responsive-fixed")){jQuery(this).find("ul.sub-menu").first().fadeOut(150)}});jQuery("a.show-main-nav").on("click",function(p){p.preventDefault();if(jQuery("#main-navigation").is(":visible")){jQuery(".header-overlay .header-wrap").css("position","")}else{jQuery(".header-overlay .header-wrap").css("position","relative")}jQuery("#main-navigation").toggle()});c.smartresize(function(){if((jQuery("#container").width()>1024&&j.hasClass("mh-tabletland"))||(jQuery("#container").width()>767&&!j.hasClass("mh-tabletland"))||j.hasClass("responsive-fixed")){jQuery("#main-navigation").css("display","");var p=jQuery("nav").find("ul.menu");p.each(function(){jQuery(this).css("display","")})}});var n=jQuery("li.aux-languages").find(".current-language").html();if(n!==""){jQuery("li.aux-languages > a").html(n)}jQuery("li.menu-search a").on("click",function(r){r.preventDefault();var p=jQuery(this).parent().find(".sub-menu"),q=jQuery(this).closest("nav");if(!p.hasClass("show-dropdown")){p.addClass("show-dropdown");p.fadeIn(200);p.find("input").focus()}else{if((jQuery("#container").width()>1024&&j.hasClass("mh-tabletland"))||(jQuery("#container").width()>979&&!j.hasClass("mh-tabletland"))||j.hasClass("responsive-fixed")){p.removeClass("show-dropdown").fadeOut(150)}}});jQuery(".ajax-search-form input[name=s]").on("keyup",function(q){var p=q.currentTarget.value;clearTimeout(o);if(m!=jQuery.trim(p)&&p.length>=3){o=setTimeout(function(){SF.nav.ajaxSearch(q)},400)}});jQuery(".menu-item").on("click","a",function(s){if((jQuery("#container").width()<1024&&j.hasClass("mh-tabletland"))||(jQuery("#container").width()<979&&!j.hasClass("mh-tabletland"))){var q=jQuery(this).parent(),r=jQuery(this).attr("href"),p=q.find("ul.sub-menu").first();if(!q.hasClass("parent")){return s}
1if(r==="#"&&q.hasClass("sub-menu-open")){q.removeClass("sub-menu-open");p.slideUp();s.preventDefault()}else{if(q.hasClass("sub-menu-open")){return s}else{q.addClass("sub-menu-open");p.slideDown();s.preventDefault()}}}else{return s}})},hideNav:function(m){setTimeout(function(){if(m.css("opacity")==="0"){m.css("display","none")}},300)},ajaxSearch:function(q){var n=jQuery(q.currentTarget),m=n.parents("form").serialize()+"&action=sf_ajaxsearch",o=jQuery(".ajax-search-results"),p=jQuery(".ajax-search-wrap .ajax-loading");jQuery.ajax({url:ajaxurl,type:"POST",data:m,beforeSend:function(){p.fadeIn(50)},success:function(r){if(r===0){r=""}else{o.html(r)}},complete:function(){p.fadeOut(200);o.slideDown(400)}})}};SF.woocommerce={init:function(){SF.woocommerce.productQuantityAdjust();jQuery(document).on("click",".add_to_wishlist",function(){var m={action:"sf_add_to_wishlist",product_id:jQuery(this).attr("data-product-id")};jQuery(this).parent().parent().find(".yith-wcwl-wishlistaddedbrowse").show().removeClass("hide").addClass("show");jQuery(this).hide().addClass("hide").removeClass("show");jQuery.post(ajaxurl,m,function(n){var o=jQuery.parseJSON(n);jQuery(".wishlist-empty").remove();jQuery(".wishlist-item .bag-contents").prepend(o.whishlist_output);jQuery(".wishlist-link span").first().text(parseInt(jQuery(".wishlist-link span").first().text())+1)})});jQuery(document).on("click",".remove_from_wishlist",function(m){m.preventDefault()});jQuery(document).on("click",".wishlist_table .remove",function(){alert("teste");jQuery(".prod-"+jQuery(this).attr("data-product-id")).remove();var m=parseInt(jQuery(".wishlist-link span").first().text())-1;jQuery(".wishlist-link span").first().text(m);if(m===0){jQuery(".wishlist-item .bag-contents").prepend('<div class="wishlist-empty">Your wishlist is currently empty.</div>')}});jQuery("figcaption .add_to_cart_button").on("click",function(){var n=jQuery(this);var m=n.attr("data-added_text");n.addClass("product-added");n.text(m)});jQuery(".show-products-link").on("click",function(o){o.preventDefault();var n=jQuery(this).attr("href").replace("?",""),p=document.location.href.replace(/\/page\/\d+/,""),m=document.location.search;if(m.indexOf("?show")>=0){window.location=jQuery(this).attr("href")}else{if(m.indexOf("?")>=0){window.location=p+"&"+n}else{window.location=p+"?"+n}}});jQuery("ul.products li").hover(function(){var m=jQuery(this).find(".image-overlay");m.animate({top:jQuery(this).height()*-1},400)},function(){var m=jQuery(this).find(".image-overlay");m.animate({top:0},400)});if(jQuery.fn.imagesLoaded){SF.woocommerce.productSetup();c.smartresize(function(){SF.woocommerce.productSetup()})}jQuery(".shipping-calculator-form input").keypress(function(m){if(m.which==10||m.which==13){jQuery(".update-totals-button button").click()}})},productSetup:function(){jQuery("ul.products").each(function(){var m=jQuery(this);m.imagesLoaded(function(){setTimeout(function(){var n=m.find("li.type-product").first();var o=n.find(".product-image > img").height();if(jQuery("#container").width()<=1024&&n.find("figure > figcaption").is(":visible")){o=o+20}if(!o||o===0){o=270}m.find("li.type-product").each(function(){jQuery(this).find("figure").css("padding-bottom",o+"px")})},300)})})},variations:function(){jQuery(".single_variation_wrap").on("show_variation",function(){if(SF.opts.hasProductZoom){setTimeout(function(){if(SF.productSlider){jQuery(".product-slider-image").each(function(){jQuery(this).data("zoom-image",jQuery(this).parent().find("a.zoom").attr("href"))});var m=jQuery("#product-img-slider li:first").find(".product-slider-image");SF.woocommerce.productZoom(m);SF.productSlider.goToSlide(0)}},500)}else{setTimeout(function(){if(SF.productSlider){SF.productSlider.goToSlide(0)}},500)}setTimeout(function(){jQuery(".product-slider-image").each(function(){var m=jQuery(this).attr("src");jQuery(this).parent().find("a.zoom").attr("href",m).attr("data-o_href","").attr("data-o_href",m);jQuery('[data-rel="ilightbox[product]"]').removeClass("ilightbox-enabled").iLightBox().destroy();SF.lightbox.init()})},600)})},productZoom:function(m){if(SF.opts.isMobileAlt){return}m.parent().zoom({duration:400})},productQuantityAdjust:function(){jQuery(document).on("click",".qty-plus",function(p){p.preventDefault();var m=jQuery(this).parents(".quantity").find("input.qty"),o=parseInt(m.val(),10)+1,n=parseInt(m.attr("max"),10);if(!n){n=9999999999}if(o<=n){m.val(o);m.change()}});jQuery(document).on("click",".qty-minus",function(p){p.preventDefault();var m=jQuery(this).parents(".quantity").find("input.qty"),o=parseInt(m.val(),10)-1,n=parseInt(m.attr("min"),10);if(!n){n=1}if(o>=n){m.val(o);m.change()}})}};SF.flexSlider={init:function(){if(jQuery(".recent-posts").length>0){SF.flexSlider.thumb()}
1jQuery(".item-slider").flexslider({animation:"slide",slideDirection:"horizontal",slideshow:true,slideshowSpeed:6000,animationDuration:500,smoothHeight:true,directionNav:true,controlNav:true,keyboardNav:false,mousewheel:false,prevText:"Prev",nextText:"Next",pausePlay:true,pauseText:"",playText:"",randomize:false,slideToStart:0,animationLoop:true,pauseOnAction:true,pauseOnHover:false,controlsContainer:"",manualControls:"",start:function(){},before:function(){},after:function(){},end:function(){}});jQuery("#swift-slider").flexslider({animation:"slide",slideDirection:"horizontal",slideshow:false,slideshowSpeed:8000,animationDuration:600,directionNav:true,controlNav:false,keyboardNav:false,mousewheel:false,prevText:"Prev",nextText:"Next",pausePlay:false,animationLoop:true,pauseOnAction:true,pauseOnHover:true,start:function(m){jQuery(".swift-slider-loading").fadeOut(200);if(m.slides){m.slides.eq(m.currentSlide).addClass("flex-active-slide");if(m.slides.eq(m.currentSlide).has(".flex-caption-large")){var n=m.slides.eq(m.currentSlide).find(".fw-chart");if(j.hasClass("browser-ie")){n=m.slides.eq(m.currentSlide).find(".chart")}n.each(function(){var o=parseInt(jQuery(this).attr("data-count"),10);jQuery(this).data("easyPieChart").update(80);jQuery(this).find("span").replaceWith("<span>0</span>");jQuery(this).find("span").animateNumber(o)})}m.slides.eq(m.currentSlide).find(".comment-chart:not(.fw-chart) span").replaceWith("<span>0</span>")}},before:function(m){if(m.slides){if(m.slides.eq(m.currentSlide).has(".flex-caption-large")){var n=m.slides.eq(m.currentSlide).find(".fw-chart");if(j.hasClass("browser-ie")){n=m.slides.eq(m.currentSlide).find(".chart")}n.each(function(){jQuery(this).data("easyPieChart").update(0);jQuery(this).find("span").replaceWith("<span>0</span>")})}setTimeout(function(){m.slides.eq(m.currentSlide).addClass("flex-active-slide");if(m.slides.eq(m.currentSlide).has(".flex-caption-large")){var o=m.slides.eq(m.currentSlide).find(".fw-chart");if(j.hasClass("browser-ie")){o=m.slides.eq(m.currentSlide).find(".chart")}o.each(function(){var p=parseInt(jQuery(this).attr("data-count"),10);jQuery(this).data("easyPieChart").update(80);jQuery(this).find("span").animateNumber(p)})}},1000)}}});jQuery(".content-slider").each(function(){var m=jQuery(this).attr("data-animation");var n=jQuery(this).attr("data-autoplay");n=((n==="yes")?true:false);jQuery(this).flexslider({animation:m,slideshow:n,slideshowSpeed:6000,animationDuration:1000,smoothHeight:true,directionNav:true,controlNav:false})});jQuery("#swift-slider li").each(function(){jQuery(this).find(".chart").each(function(){jQuery(this).easyPieChart({animate:1000,size:70,barColor:jQuery(this).attr("data-barcolor"),trackColor:"transparent",scaleColor:false});jQuery(this).find("span").replaceWith("<span>0</span>")})});jQuery("#swift-slider li").hover(function(){jQuery(this).find(".flex-caption-details").removeClass("closing");jQuery(this).find(".flex-caption-details").addClass("open")},function(){jQuery(this).find(".flex-caption-details").addClass("closing");jQuery(this).find(".flex-caption-details").removeClass("open")});jQuery(".caption-details-inner").on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){var m=jQuery(this).find(".chart");if(jQuery(this).parent().hasClass("closing")){m.each(function(){jQuery(this).data("easyPieChart").update(0);jQuery(this).find("span").replaceWith("<span>0</span>")});jQuery(this).parent().removeClass("closing")}else{if(jQuery(this).parent().hasClass("open")){m.each(function(){var n=parseInt(jQuery(this).attr("data-count"),10);jQuery(this).data("easyPieChart").update(80);jQuery(this).find("span").animateNumber(n)})}}})},thumb:function(){jQuery(".thumb-slider").flexslider({animation:"fade",slideDirection:"horizontal",slideshow:true,slideshowSpeed:6000,animationDuration:600,directionNav:true,controlNav:false,keyboardNav:false})}};SF.sliders={init:function(){if(jQuery("#product-img-slider").length>0){SF.sliders.productSlider()}},productSlider:function(){var o=jQuery("#product-img-slider > ul > li").length>1?true:false,p=false,m=parseInt(SF.opts.productSliderVertHeight,10),n=6;if(SF.opts.productSliderThumbsPos==="left"){p=true;n=8}SF.productSlider=jQuery("#product-img-slider > ul").lightSlider({item:1,gallery:o,autoWidth:false,slideMargin:0,speed:400,auto:false,loop:false,vThumbWidth:70,vertical:p,verticalHeight:m,slideEndAnimation:true,pause:2000,keyPress:true,controls:true,rtl:SF.opts.isRTL,adaptiveHeight:true,thumbItem:n,thumbMargin:30,freeMove:false,currentPagerPosition:"middle",swipeThreshold:40,responsive:[{breakpoint:1024,settings:{thumbItem:3,}}],onSliderLoad:function(q){q.addClass("slider-loaded");if(SF.opts.hasProductZoom){var r=jQuery("#product-img-slider").find(".lslide.active > .product-slider-image");SF.woocommerce.productZoom(r)}},onAfterSlide:function(q){if(SF.opts.hasProductZoom){var r=jQuery("#product-img-slider").find(".lslide.active > .product-slider-image");SF.woocommerce.productZoom(r)}}})},};var f=jQuery(".portfolio-wrap").find(".filterable-items");SF.portfolio={init:function(){SF.portfolio.standardSetup();SF.portfolio.setItemHeight();c.smartresize(function(){SF.portfolio.windowResized()});jQuery(".filtering li").each(function(){var p=0;var n=jQuery(this),m=jQuery(this).find("a").attr("class"),o=jQuery(this).parent().parent().parent().next(".filterable-items");o.find("li").each(function(){if(jQuery(this).hasClass(m)){n.addClass("has-items");p++}});if(jQuery(this).hasClass("all")){p=o.children("li").length;jQuery(this).find(".item-count").text(p)}else{jQuery(this).find(".item-count").text(p)}});jQuery(".filtering li").on("click","a",function(o){o.preventDefault();jQuery(this).parent().parent().find("li").removeClass("selected");jQuery(this).parent().addClass("selected");var m=jQuery(this).attr("data-filter");var n=jQuery(this).parent().parent().parent().parent().next(".filterable-items");n.isotope({filter:m})});jQuery(".filter-wrap > a").on("click",function(m){m.preventDefault();jQuery(this).parent().find(".filter-slide-wrap").slideToggle()})},standardSetup:function(){f.isotope({animationEngine:"best-available",animationOptions:{duration:300,easing:"easeInOutQuad",queue:false},resizable:true,layoutMode:"fitRows"});
1SF.flexSlider.thumb();f.isotope("layout")},setItemHeight:function(){if(!f.hasClass("single-column")){f.children().css("min-height","0");f.equalHeights();f.isotope("layout")}},windowResized:function(){if(!f.hasClass("single-column")){SF.portfolio.setItemHeight()}}};var g=jQuery(".blog-wrap").find(".blog-items"),k=jQuery(".blog-wrap").find(".masonry-pagination");SF.blog={init:function(){if(g.hasClass("masonry-items")){jQuery(".masonry-items").fitVids();SF.blog.masonrySetup();g.imagesLoaded(function(){g.animate({opacity:1},800);k.fadeIn(1000);SF.blog.masonrySetup()});SF.flexSlider.thumb();g.isotope("layout");c.smartresize(function(){SF.blog.windowResized()})}else{SF.flexSlider.thumb()}jQuery(".blog-slideout-trigger").on("click",function(o){o.preventDefault();var p=jQuery(this).parent().parent().parent().parent();var n=p.find(".filter-wrap .filter-slide-wrap");var m=jQuery(this).attr("data-aux");p.find(".aux-list li").addClass("span2");p.find(".aux-list li a span").each(function(){jQuery(this).html(jQuery(this).html().replace("(","").replace(")",""))});if(jQuery(this).parent().hasClass("selected")&&!n.is(":animated")){p.find(".blog-aux-options li").removeClass("selected");n.slideUp(400);return}p.find(".blog-aux-options li").removeClass("selected");jQuery(this).parent().addClass("selected");if(n.is(":visible")){n.slideUp(400);setTimeout(function(){p.find(".aux-list").css("display","none");p.find(".aux-"+m).css("display","block");n.slideDown()},600)}else{p.find(".aux-list").css("display","none");p.find(".aux-"+m).css("display","block");n.slideDown()}})},masonrySetup:function(){g.isotope({itemSelector:".blog-item",masonry:{columnWidth:0},animationEngine:"best-available",animationOptions:{duration:300,easing:"easeInOutQuad",queue:false},transformsEnabled:false,resizable:true})},windowResized:function(){g.isotope("layout")}};SF.carouselWidgets={init:function(){var r=jQuery(".carousel-items"),m=false,p=800,s=200,o=false,n="ltr",q=1169;if(SF.opts.isRTL){n="rtl"}r.each(function(){var u=jQuery("#"+jQuery(this).attr("id")),x=parseInt(u.attr("data-columns"),10),w=4>x?x:4,t=3>x?x:3,v=1;if(u.hasClass("clients-items")){v=2}if(u.hasClass("testimonials")){w=1;t=1;v=1}u.imagesLoaded(function(){var y=30;if(c.width()>=1200){y=30}if(!u.hasClass("no-gutters")){var z=u.width();u.css("margin-left","-15px").css("width",z+y)}u.owlCarousel({items:x,itemsDesktop:[q,w],itemsDesktopSmall:[q-220,t],itemsMobile:[479,v],paginationSpeed:p,slideSpeed:s,autoPlay:m,autoPlayDirection:n,pagination:o,autoHeight:false,beforeUpdate:function(){var A=30;if(c.width()>=1200){A=30}if(!u.hasClass("no-gutters")){var B=u.parent().width();u.css("width",B+A)}},afterUpdate:function(){setTimeout(function(){u.fitVids();SF.flexSlider.thumb()},200)},afterInit:function(){SF.flexSlider.thumb();c.trigger("resize")},afterAction:function(){var A=u.parents(".carousel-wrap").find(".carousel-next"),B=u.parents(".carousel-wrap").find(".carousel-prev");if(this.itemsAmount>this.visibleItems.length){A.show();B.show();A.removeClass("disabled");B.removeClass("disabled");if(this.currentItem==0){B.addClass("disabled")}if(this.currentItem==this.maximumItem){A.addClass("disabled")}}else{A.hide();B.hide()}}}).animate({opacity:1},800)})});jQuery(".carousel-next").click(function(u){u.preventDefault();var t=jQuery(this).closest(".spb_content_element").find(".owl-carousel");if(SF.opts.isRTL){t.data("owlCarousel").prev()}else{t.data("owlCarousel").next()}});jQuery(".carousel-prev").click(function(u){u.preventDefault();var t=jQuery(this).closest(".spb_content_element").find(".owl-carousel");if(SF.opts.isRTL){t.data("owlCarousel").next()}else{t.data("owlCarousel").prev()}})},carouselMinHeight:function(n){var m=parseInt(n.find(".carousel-item:not(.no-thumb)").eq(0).css("height"));n.find(".owl-item").each(function(){jQuery(this).css("min-height",m+"px")})}};SF.widgets={init:function(){if(SF.opts.included.hasClass("has-chart")){jQuery(".chart-shortcode").each(function(){jQuery(this).easyPieChart({animate:1000,lineCap:"square",lineWidth:jQuery(this).attr("data-linewidth"),size:jQuery(this).attr("data-size"),barColor:jQuery(this).attr("data-barcolor"),trackColor:jQuery(this).attr("data-trackcolor"),scaleColor:false})})}
1SF.widgets.accordion();SF.widgets.tabs();SF.widgets.toggle();SF.widgets.introAnimations();if(SF.opts.included.hasClass("has-imagebanner")){SF.widgets.imageBanners()}SF.widgets.resizeAssets();c.smartresize(function(){SF.widgets.resizeAssets()});jQuery("[rel=tooltip]").tooltip()},resizeAssets:function(){var o=jQuery(".carousel-active .carousel-items,.carousel-active .products");var m=jQuery(".alt-bg");var n=0;if(jQuery("#container").width()<460&&j.hasClass("responsive-fluid")){n=jQuery("#container").width()-40;o.find(".carousel-item,.product").each(function(){jQuery(this).css("width",n+"px")})}else{if(jQuery("#container").width()<768&&j.hasClass("responsive-fluid")){if(o.hasClass("testimonials")){n=jQuery("#container").width()-40}else{n=Math.floor(jQuery("#container").width()/2)-35}o.find(".carousel-item,.product").each(function(){jQuery(this).css("width",n+"px")})}else{if(j.hasClass("responsive-fluid")){o.find(".carousel-item,.product").each(function(){jQuery(this).css("width","")})}}}if(jQuery("#container").width()<768&&j.hasClass("responsive-fluid")){n=jQuery("#container").width();m.each(function(){jQuery(this).css("width",n+"px")})}else{m.each(function(){jQuery(this).css("width","")})}},accordion:function(){jQuery(".spb_accordion").each(function(){var o,n=false,m=parseInt(jQuery(this).attr("data-active"),10);if(jQuery.type(m)==="number"){n=m}o=jQuery(this).find(".spb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:true,collapsible:true,active:n,heightStyle:"content"})})},tabs:function(){jQuery(".spb_tabs").each(function(){jQuery(this).find(".tab-pane").first().addClass("active")});jQuery(".spb_tour").each(function(){jQuery(this).find(".tab-pane").first().addClass("active")})},toggle:function(){jQuery(".spb_toggle").click(function(){if(jQuery(this).hasClass("spb_toggle_title_active")){jQuery(this).removeClass("spb_toggle_title_active").next().slideUp(500)}else{jQuery(this).addClass("spb_toggle_title_active").next().slideDown(500)}});jQuery(".spb_toggle_content").each(function(){if(jQuery(this).next().is("h4.spb_toggle")===false){jQuery('<div class="last_toggle_el_margin"></div>').insertAfter(this)}})},initSkillBars:function(){SF.widgets.animateSkillBars();jQuery(window).scroll(function(){SF.widgets.animateSkillBars()})},animateSkillBars:function(){jQuery(".progress:in-viewport").each(function(){var n=jQuery(this),m=n.find(".bar").attr("data-value");if(!n.hasClass("animated")){n.addClass("animated");n.find(".bar").animate({width:m+"%"},600,function(){n.find(".bar-text").fadeIn(400)})}})},charts:function(){SF.widgets.animateCharts();jQuery(window).scroll(function(){SF.widgets.animateCharts()})},animateCharts:function(){jQuery(".chart-shortcode:in-viewport").each(function(){if(!jQuery(this).hasClass("animated")){jQuery(this).addClass("animated");var m=parseInt(jQuery(this).attr("data-animatepercent"),10);jQuery(this).data("easyPieChart").update(m)}})},introAnimations:function(){if(!SF.opts.isMobileAlt){jQuery(".sf-animation").each(function(){var o=jQuery(this),n=o.data("animation"),m=o.data("delay");o.appear(function(){if(n=="fade-from-left"){o.delay(m).animate({opacity:1,left:"0px"},600,"easeOutCubic")}else{if(n=="fade-from-right"){o.delay(m).animate({opacity:1,right:"0px"},600,"easeOutCubic")}else{if(n=="fade-from-bottom"){if(o.hasClass("image-banner-content")){o.delay(m).animate({opacity:1,bottom:"50%"},1000,"easeOutCubic")}else{o.delay(m).animate({opacity:1,bottom:"0px"},600,"easeOutCubic")}}else{if(n=="fade-in"){o.delay(m).animate({opacity:1},600,"easeOutCubic")}else{if(n=="grow"){setTimeout(function(){o.addClass("sf-animate")},m)}else{setTimeout(function(){o.addClass("sf-animate")},m)}}}}}},{accX:0,accY:-150},"easeInCubic")})}},imageBanners:function(){jQuery(".sf-image-banner").each(function(){jQuery(this).find(".image-banner-content").vCenter()})}};SF.teamMembers={init:function(){var m=jQuery(".team-members:not(.carousel-items)");m.imagesLoaded(function(){if(c.width()>767){m.equalHeights()}});c.smartresize(function(){jQuery(".team-members:not(.carousel-items)").children().css("min-height","0");if(c.width()>
1767){jQuery(".team-members:not(.carousel-items)").equalHeights()}})}};SF.parallax={init:function(m){jQuery(".spb_parallax_asset").each(function(o){var n=jQuery(this);if(n.hasClass("sf-parallax-video")){if(!SF.opts.isMobileAlt){SF.parallax.parallaxVideoInit()}else{n.find("video").remove();n.transition({opacity:1},300)}c.smartresize(function(){SF.parallax.parallaxVideoResize(n)})}else{if(n.hasClass("parallax-window-height")){n.css("height","");var p=c.height();if(n.height()>p&&!o){p=n.height()}n.height(p-(parseInt(n.css("padding-top"),10)*2));if(n.data("v-center")==="true"){n.find("div:first").vCenterTop()}n.transition({opacity:1},300);SF.parallax.windowImageResize(n);c.smartresize(function(){SF.parallax.windowImageResize(n)})}}})},load:function(){jQuery.stellar({horizontalScrolling:false,responsive:true,verticalOffset:200,})},videoScroll:function(p){var o=p.offset().top,s=c.scrollTop(),r=parseInt(p.data("height-default"),10),q=s-o,n=p.find(".spb_content_wrapper").css("top"),m=r-q*1.5;if(s>o){p.css("height",m);p.find(".spb_content_wrapper").css("opacity",1-(q/300));if(p.hasClass("parallax-window-height")&&p.data("v-center")==="true"){p.find(".spb_content_wrapper").css("top",n+(q/4))}else{if(p.data("v-center")==="true"){p.find(".spb_content_wrapper").css("top",(q/3))}}}else{p.css("height",r);p.find(".spb_content_wrapper").css("opacity",1);if(p.hasClass("parallax-video-height")&&p.data("v-center")==="true"){p.find(".spb_content_wrapper").css("top","50%")}else{p.find(".spb_content_wrapper").css("top",0)}}},windowImageResize:function(n){if(n.hasClass("spb-row-container")){var m=n.find("> .spb_content_element").height();if(n.hasClass("parallax-window-height")){if(m<c.height()){m=c.height()}}n.height(m);if(n.data("v-center")){n.find("> .spb_content_element").vCenterTop()}}else{var o=n.height();if(n.hasClass("parallax-window-height")){if(o<c.height()){o=c.height()}}n.height(o-n.css("padding-top")/2);n.find(".spb_content_wrapper").vCenterTop()}},parallaxVideoInit:function(){jQuery(".spb_parallax_asset.sf-parallax-video").each(function(){var p=jQuery(this),q=p.find("video"),n=q.width(),m=p.find("div:first"),o=0;if(p.hasClass("parallax-window-height")){if(m.height()>c.height()){o=m.height()}else{o=c.height()}p.animate({height:o},400);setTimeout(function(){SF.parallax.parallaxVideoResize(p);p.transition({opacity:1},300)},500);setTimeout(function(){p.find(".video-overlay").animate({opacity:0.8},200)},100);if(p.data("v-center")==="true"){m.vCenterTop()}setTimeout(function(){m.animate({opacity:1,top:"50%"},600,"easeOutExpo")},600);p.attr("data-height-default",q.height())}else{SF.parallax.scaleVideo(p)}if(c.width()<n){q.css("left",-(n-c.width())/2)}})},parallaxVideoResize:function(o){var m=o.find("div:first"),n=0;if(o.hasClass("parallax-window-height")){if(m.height()>c.height()){n=m.height()}else{n=c.height()}o.animate({height:n},400);if(o.data("v-center")==="true"){m.vCenterTop()}}SF.parallax.scaleVideo(o)},scaleVideo:function(p){var n=p.find("video"),r=p.outerHeight(),m=p.width(),t=n[0].videoWidth,s=n[0].videoHeight;var q=m/t;var v=r/s;var o=q>v?q:v;var u=t/s*(r+20);if(o*t<u){o=u/t}n.width(Math.ceil(o*t+2));n.height(Math.ceil(o*s+50));n.css("margin-top",-(n.height()-r)/2);n.css("margin-left",-(n.width()-m)/2)},};SF.lightbox={init:function(){var n={};if(SF.opts.lightboxSharing){n={facebook:true,twitter:true,googleplus:true,pinterest:{source:"https://pinterest.com/pin/create/bookmarklet/?url={URL}",text:"Share on Pinterest"}}}var m=[];jQuery('[data-rel^="ilightbox["]').each(function(){var o=this.getAttribute("data-rel");if(jQuery(this).hasClass("ilightbox-enabled")){return}if(jQuery.inArray(o,m)==-1){m.push(o)}});jQuery.each(m,function(o,p){jQuery('[data-rel="'+p+'"]').iLightBox({skin:SF.opts.lightboxSkin,social:{buttons:n},path:"horizontal",thumbnails:{maxWidth:120,maxHeight:120},controls:{arrows:SF.opts.lightboxControlArrows,thumbnail:SF.opts.lightboxThumbs}});jQuery('[data-rel="'+p+'"]').addClass("ilightbox-enabled")})}};SF.map={init:function(){var m=jQuery(".map-canvas");m.each(function(o,p){var r=p,n=r.getAttribute("data-address"),t=r.getAttribute("data-zoom"),s=r.getAttribute("data-maptype"),q=r.getAttribute("data-pinimage");SF.map.getCoordinates(n,r,t,s,q)});SF.map.fullscreenMap();c.smartresize(function(){SF.map.fullscreenMap()});jQuery("ul.nav-tabs li a").click(function(){var n=jQuery(this).attr("href");if(jQuery(n).find(".spb_gmaps_widget").length>0){map.init()}})},getCoordinates:function(m,p,s,q,o){var r,n;r=new google.maps.Geocoder();r.geocode({address:m},function(C,B){if(B==google.maps.GeocoderStatus.OK){var v="",z="",E=C[0].geometry.location,D=C[0].geometry.location.lat(),u=C[0].geometry.location.lng();if(q==="SATELLITE"){v=google.maps.MapTypeId.SATELLITE}else{if(q==="TERRAIN"){v=google.maps.MapTypeId.TERRAIN}else{if(q==="HYBRID"){v=google.maps.MapTypeId.HYBRID}else{v=google.maps.MapTypeId.ROADMAP}}}var x=new google.maps.LatLng(D,u);var A={zoom:parseInt(s,10),scrollwheel:false,center:x,mapTypeControl:true,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},navigationControl:true,navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},mapTypeId:v};var y=new google.maps.Map(p,A);var t="";if(o){var w=new google.maps.MarkerImage(o,new google.maps.Size(150,75),new google.maps.Point(0,0),new google.maps.Point(75,75));z=new google.maps.LatLng(D,u);t=new google.maps.Marker({position:E,map:y,icon:w})}else{z=new google.maps.LatLng(D,u);t=new google.maps.Marker({position:E,map:y})}google.maps.event.addListener(t,"click",function(){window.open("http://maps.google.com/maps?q="+z)});google.maps.event.addDomListener(window,"resize",function(){y.setCenter(z)})}})},fullscreenMap:function(){var m=jQuery(".fullscreen-map"),n=jQuery("#page-wrap"),p=n.offset().left,o=jQuery(window).width();if(o>768){p=p}else{p=20}m.find(".map-canvas").css("width",o);m.css("margin-left","-"+p+"px")}};SF.reloadFunctions={init:function(){jQuery("img[title]").each(function(){jQuery(this).removeAttr("title")});if(!SF.opts.appleAgentID){jQuery("embed").show()}jQuery(".animate-top").on("click",function(m){m.preventDefault();jQuery("body,html").animate({scrollTop:0},800)})},load:function(){if(!SF.opts.agentID){jQuery(".tooltip").each(function(){jQuery(this).css("marginLeft","-"+Math.round((jQuery(this).outerWidth(true)/2))+"px")});jQuery(".comment-avatar").hover(function(){jQuery(this).find(".tooltip").stop().animate({bottom:"44px",opacity:1},500,"easeInOutExpo")},function(){jQuery(this).find(".tooltip").stop().animate({bottom:"25px",opacity:0}
1,400,"easeInOutExpo")});jQuery(".grid-image").hover(function(){jQuery(this).find(".tooltip").stop().animate({bottom:"85px",opacity:1},500,"easeInOutExpo")},function(){jQuery(this).find(".tooltip").stop().animate({bottom:"65px",opacity:0},400,"easeInOutExpo")})}}};var c=jQuery(window),j=jQuery("body");var d=jQuery("#sf-option-params");var l={isRTL:j.hasClass("rtl"),included:jQuery("#sf-included"),deviceAgent:navigator.userAgent.toLowerCase(),productSliderVertHeight:600,productSliderThumbsPos:"bottom",lightboxSkin:d.data("lightbox-skin"),lightboxControlArrows:d.data("lightbox-nav"),lightboxThumbs:d.data("lightbox-thumbs"),lightboxSharing:d.data("lightbox-sharing"),};SF.opts=jQuery.merge(l,jQuery("#sf-option-params").data());SF.opts.lightboxControlArrows=(SF.opts.lightboxControlArrows==="arrows")?true:false;SF.opts.lightboxSkin=(SF.opts.lightboxSkin==="dark")?"metro-black":"metro-white";SF.opts.isMobile=SF.opts.deviceAgent.match(/(iphone|ipod|android|iemobile)/);SF.opts.agentID=SF.opts.isMobileAlt=SF.opts.deviceAgent.match(/(iphone|ipod|ipad|android|iemobile)/);SF.opts.appleAgentID=SF.opts.deviceAgent.match(/(iphone|ipod|ipad)/);SF.opts.hasProductZoom=SF.opts.included.hasClass("has-productzoom")&&!j.hasClass("mobile-browser");SF.productSlider=false;SF.onReady={init:function(){SF.page.init();SF.sliders.init();SF.superSearch.init();SF.header.init();SF.nav.init();if(SF.opts.included.hasClass("has-products")||j.hasClass("woocommerce-cart")||j.hasClass("woocommerce-account")||j.hasClass("single-tribe_events")){SF.woocommerce.init()}if(SF.opts.included.hasClass("has-team")){SF.teamMembers.init()}SF.lightbox.init();if(SF.opts.included.hasClass("has-carousel")){SF.carouselWidgets.init()}SF.widgets.init();if(SF.opts.included.hasClass("has-parallax")){SF.parallax.init()}SF.reloadFunctions.init()}};SF.onLoad={init:function(){SF.flexSlider.init();if(SF.opts.included.hasClass("has-portfolio")){SF.portfolio.init()}if(SF.opts.included.hasClass("has-parallax")){SF.parallax.load()}if(SF.opts.included.hasClass("has-blog")){SF.blog.init()}if(SF.opts.included.hasClass("has-chart")){SF.widgets.charts()}if(SF.opts.included.hasClass("has-progress-bar")){SF.widgets.initSkillBars()}if(SF.opts.included.hasClass("has-map")){SF.map.init()}SF.reloadFunctions.load();SF.woocommerce.variations()}};jQuery(document).ready(SF.onReady.init);jQuery(window).load(SF.onLoad.init)})(jQuery);(function(c,b){var a=function(g,d,e){var h;return function f(){var k=this,j=arguments;function i(){if(!e){g.apply(k,j);h=null}}if(h){clearTimeout(h)}else{if(e){g.apply(k,j)}}h=setTimeout(i,d||100)}};jQuery.fn[b]=function(d){return d?this.bind("resize",a(d)):this.trigger(b)}})(jQuery,"smartresize");(function(a){a.fn.equalHeights=function(b){a(this).each(function(){var c=0;a(this).children().each(function(){if(a(this).height()>c){c=a(this).height()}});if(!b&&Number.prototype.pxToEm){c=c.pxToEm()}if(a.browser.msie&&a.browser.version===6){(this).children().css({height:c})}a(this).children().css({"min-height":c})});return this}})(jQuery);(function(a){a.easyPieChart=function(c,k){var e,f,h,i,j,d,b,g=this;this.el=c;this.$el=a(c);this.$el.data("easyPieChart",this);this.init=function(){var l;g.options=a.extend({}
1,a.easyPieChart.defaultOptions,k);l=parseInt(g.$el.data("percent"),10);g.percentage=0;g.canvas=a("<canvas width='"+g.options.size+"' height='"+g.options.size+"'></canvas>").get(0);g.$el.append(g.canvas);if(typeof G_vmlCanvasManager!=="undefined"&&G_vmlCanvasManager!==null){G_vmlCanvasManager.initElement(g.canvas)}g.ctx=g.canvas.getContext("2d");if(window.devicePixelRatio>1.5){a(g.canvas).css({width:g.options.size,height:g.options.size});g.canvas.width*=2;g.canvas.height*=2;g.ctx.scale(2,2)}g.ctx.translate(g.options.size/2,g.options.size/2);g.$el.addClass("easyPieChart");g.$el.css({width:g.options.size,height:g.options.size,lineHeight:""+g.options.size+"px"});g.update(l);return g};this.update=function(l){if(g.options.animate===false){return h(l)}else{if(l===0){return f(0,0)}else{return f(g.percentage,l)}}};d=function(){var m,n,l;g.ctx.fillStyle=g.options.scaleColor;g.ctx.lineWidth=1;l=[];for(m=n=0;n<=24;m=++n){l.push(e(m))}return l};e=function(l){var m;m=l%6===0?0:g.options.size*0.017;g.ctx.save();g.ctx.rotate(l*Math.PI/12);g.ctx.fillRect(g.options.size/2-m,0,-g.options.size*0.05+m,1);return g.ctx.restore()};b=function(){var l;l=g.options.size/2-g.options.lineWidth/2;if(g.options.scaleColor!==false){l-=g.options.size*0.08}g.ctx.beginPath();g.ctx.arc(0,0,l,0,Math.PI*2,true);g.ctx.closePath();g.ctx.strokeStyle=g.options.trackColor;g.ctx.lineWidth=g.options.lineWidth;return g.ctx.stroke()};j=function(){if(g.options.trackColor!==false){return b()}};h=function(l){var m;j();g.ctx.strokeStyle=a.isFunction(g.options.barColor)?g.options.barColor(l):g.options.barColor;g.ctx.lineCap=g.options.lineCap;g.ctx.lineWidth=g.options.lineWidth;m=g.options.size/2-g.options.lineWidth/2;if(g.options.scaleColor!==false){m-=g.options.size*0.08}g.ctx.save();g.ctx.rotate(-Math.PI/2);g.ctx.beginPath();g.ctx.arc(0,0,m,0,Math.PI*2*l/100,false);g.ctx.stroke();return g.ctx.restore()};f=function(p,o){var m,n,l;n=30;l=n*g.options.animate/1000;m=0;g.options.onStart.call(g);g.percentage=o;if(g.animation){clearInterval(g.animation);g.animation=false}g.animation=setInterval(function(){g.ctx.clearRect(-g.options.size/2,-g.options.size/2,g.options.size,g.options.size);j.call(g);h.call(g,[i(m,p,o-p,l)]);m++;if((m/l)>1){clearInterval(g.animation);g.animation=false;return g.options.onStop.call(g)}},1000/n);return g.animation};i=function(n,m,q,o){var l,p;l=function(r){return Math.pow(r,2)};p=function(r){if(r<1){return l(r)}else{return 2-l((r/2)*-2+2)}};n/=o/2;return q/2*p(n)+m};return this.init()};a.easyPieChart.defaultOptions={barColor:"#ef1e25",trackColor:"#f2f2f2",scaleColor:false,lineCap:"round",size:110,lineWidth:3,animate:false,onStart:a.noop,onStop:a.noop};a.fn.easyPieChart=function(b){return a.each(this,function(d,e){var c;c=a(e);if(!c.data("easyPieChart")){return c.data("easyPieChart",new a.easyPieChart(e,b))}})};return void 0})(jQuery);(function(a){a.fn.animateNumber=function(i){var h=a(this),f=parseInt(h.html(),10),c=i>f,b=Math.abs(f-i)/90;var e=function(){f=c?Math.ceil(f+b):Math.floor(f-b);if((c&&f>i)||(!c&&f<i)){f=i;clearInterval(g)}h.html(f)};var d=i<=5?d=100:i<=25?d=50:i<=50?d=25:10;var g=setInterval(e,d)}})(jQuery);(function(a){a.belowthefold=function(c,d){var b=a(window).height()+a(window).scrollTop();return b<=a(c).offset().top-d.threshold};a.abovethetop=function(b,c){var d=a(window).scrollTop();return d>=a(b).offset().top+a(b).height()-c.threshold};a.rightofscreen=function(c,d){var b=a(window).width()+a(window).scrollLeft();return b<=a(c).offset().left-d.threshold};a.leftofscreen=function(b,c){var d=a(window).scrollLeft();return d>=a(b).offset().left+a(b).width()-c.threshold};
1a.inviewport=function(b,c){return !a.rightofscreen(b,c)&&!a.leftofscreen(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)};a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return a.abovethetop(b,{threshold:0})},"left-of-screen":function(b){return a.leftofscreen(b,{threshold:0})},"right-of-screen":function(b){return a.rightofscreen(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})}})})(jQuery);(function(a){a.fn.appear=function(d,b){var c=a.extend({data:undefined,one:true,accX:0,accY:0},b);return this.each(function(){var g=a(this);g.appeared=false;if(!d){g.trigger("appear",c.data);return}var f=a(window);var e=function(){if(!g.is(":visible")){g.appeared=false;return}var r=f.scrollLeft();var q=f.scrollTop();var l=g.offset();var s=l.left;var p=l.top;var i=c.accX;var t=c.accY;var k=g.height();var j=f.height();var n=g.width();var m=f.width();if(p+k+t>=q&&p<=q+j+t&&s+n+i>=r&&s<=r+m+i){if(!g.appeared){g.trigger("appear",c.data)}}else{g.appeared=false}};var h=function(){g.appeared=true;if(c.one){f.unbind("scroll",e);var j=a.inArray(e,a.fn.appear.checks);if(j>=0){a.fn.appear.checks.splice(j,1)}}d.apply(this,arguments)};if(c.one){g.one("appear",c.data,h)}else{g.bind("appear",c.data,h)}f.scroll(e);a.fn.appear.checks.push(e);(e)()})};a.extend(a.fn.appear,{checks:[],timeout:null,checkAll:function(){var b=a.fn.appear.checks.length;if(b>0){while(b--){(a.fn.appear.checks[b])()}}},run:function(){if(a.fn.appear.timeout){clearTimeout(a.fn.appear.timeout)}a.fn.appear.timeout=setTimeout(a.fn.appear.checkAll,20)}});a.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(c,d){var b=a.fn[d];if(b){a.fn[d]=function(){var e=b.apply(this,arguments);a.fn.appear.run();return e}}})})(jQuery);(function(a){a.fn.vCenter=function(){return this.each(function(){var b=a(this).outerHeight();a(this).css("margin-bottom",-b/2)})}})(jQuery);(function(a){a.fn.vCenterTop=function(){return this.each(function(){var b=a(this).outerHeight();a(this).css("margin-top",-b/2)})}})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.