1var AT_Main={getWidthBrowser:function(){var myWidth;return typeof window.innerWidth=="number"?myWidth=window.innerWidth:document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?myWidth=document.documentElement.clientWidth:document.body&&(document.body.clientWidth||document.body.clientHeight)&&(myWidth=document.body.clientWidth),myWidth},checkLayout:function(){if(jQuery("#checkLayout .visible-xs-block").css("display")=="block")return 1;if(jQuery("#checkLayout .visible-sm-block").css("display")=="block")return 2;if(jQuery("#checkLayout .visible-md-block").css("display")=="block")return 3;if(jQuery("#checkLayout .visible-lg-block").css("display")=="block")return 4},homeSlideshow:function(){jQuery(".home-slideshow-wrapper").length&&jQuery(".home-slideshow-wrapper").each(function(index,value){var _delay_time="";jQuery(value).data("autoplay")&&(_delay_time=jQuery(value).data("time"));var swiper=new Swiper(".swiper-container",{autoplay:_delay_time,loop:!0,pagination:".swiper-pagination",paginationClickable:".swiper-pagination",nextButton:".swiper-button-next",prevButton:".swiper-button-prev",spaceBetween:30,scrollbarDraggable:!0,effect:jQuery(value).data("animation"),setWrapperSize:!1,onImagesReady:function(swiper2){var slideH=$(swiper2.container[0]).find(".swiper-slide > img").height(),slideW=$(swiper2.container[0]).find(".swiper-slide > img").width();$(swiper2.container[0]).find(".swiper-slide > img").css("visibility","hidden"),$(swiper2.container[0]).find(".swiper-slide").each(function(){var _this=$(this);_this.find(".video-slide").show(),_this.find(".video-slide video").css({left:"50%",top:"50%",transform:"translate(-50%,-50%)"})})}})})},homeIE:function(){jQuery(".home-slideshow-wrapper").length&&jQuery(".home-slideshow-wrapper").each(function(index,value){var _delay_time="";jQuery(value).data("autoplay")&&(_delay_time=jQuery(value).data("time"));var swiper=new Swiper(".swiper-container",{autoplay:_delay_time,loop:!0,pagination:".swiper-pagination",paginationClickable:".swiper-pagination",nextButton:".swiper-button-next",prevButton:".swiper-button-prev",spaceBetween:30,scrollbarDraggable:!0,effect:"fade",setWrapperSize:!0,onImagesReady:function(swiper2){var slideH=$(swiper2.container[0]).find(".swiper-slide > img").height(),slideW=$(swiper2.container[0]).find(".swiper-slide > img").width();$(swiper2.container[0]).find(".swiper-slide > img").css("visibility","hidden"),$(swiper2.container[0]).find(".swiper-slide").each(function(){var _this=$(this);_this.find(".video-slide").show(),_this.find(".video-slide video").css({left:"50%",top:"50%",transform:"translate(-50%,-50%)"})})}})})},stickMenu:function(){var enable_stick=jQuery(".header-content").data("stick");if(enable_stick){var lastScroll=0,header=jQuery(".horizontal-menu-wrapper"),body_content=jQuery("#body-content");jQuery(window).scroll(function(){var st=jQuery(this).scrollTop();st>lastScroll?st>250&&(header.addClass("header-fixed fadeInDown animated"),body_content.addClass("has-header-fixed")):st<250&&(header.removeClass("header-fixed fadeInDown animated"),body_content.removeClass("has-header-fixed")),lastScroll=st})}},toTopButton:function(){var to_top_btn=$("#scroll-to-top");1>to_top_btn.length||($(window).on("scroll",function(){var b=jQuery(this).scrollTop(),c=jQuery(this).height();if(b>100)var d=b+c/2;else var d=1;d<1e3&&d<c?jQuery("#scroll-to-top").removeClass("on off").addClass("off"):jQuery("#scroll-to-top").removeClass("on off").addClass("on")}),to_top_btn.on("click",function(e){e.preventDefault(),jQuery("body,html").animate({scrollTop:0},800,"swing")}))},mailchipPopup:function(){var expire=jQuery("#mailchimp-popup").data("expires");jQuery.cookie("mycookie")||jQuery.fancybox(jQuery("#mailchimp-popup"),{autoDimensions:!1,width:760,height:450,autoSize:!1,transitionIn:"none",transitionOut:"none"}),jQuery.cookie("mycookie","true",{expires:expire})},toggleCartSidebar:function(){jQuery(".cart-toggle").on("click",function(e){e.stopPropagation(),AT_Main.fixNoScroll(),jQuery(".cart-sb").toggleClass("opened"),jQuery("body").toggleClass("cart-opened")}),jQuery("#page-body").on("click",function(){jQuery(".cart-sb").removeClass("opened"),jQuery("html,body").removeClass("cart-opened"),AT_Main.fixReturnScroll()})},handleGridList:function(){jQuery(document).on("click",".grid-list span",function(){$(this).hasClass("active")||($(".grid-list span").removeClass("active"),$(this).addClass("active"),$(this).hasClass("grid")?($(".cata-product").removeClass("cp-list"),$(".product-price-range").removeClass("product-list-item"),$(".cata-product").addClass("cp-grid"),$(".product-price-range").addClass("product-grid-item")):($(".cata-product").addClass("cp-list"),$(".product-price-range").addClass("product-list-item"),$(".cata-product").removeClass("cp-grid"),$(".product-price-range").removeClass("product-grid-item")))})},effectNavigation:function(){jQuery(".horizontal-menu .navigation .navbar-collapse .main-nav>li").hover(function(e){jQuery(this).find(">.dropdown-menu, >.dropdown-menu li >.dropdown-menu").addClass("fadeInUp animated")},function(e){jQuery(this).find(">.dropdown-menu, >.dropdown-menu li >.dropdown-menu").removeClass("fadeInUp animated")}),jQuery(".top-account-holder").hover(function(e){jQuery(this).find(">.dropdown-menu").addClass("fadeInUp animated")},function(e){jQuery(this).find(">.dropdown-menu").removeClass("fadeInUp animated")}),jQuery(".currency-block").hover(function(e){jQuery(this).find(">.dropdown-menu").addClass("fadeInUp animated")},function(e){jQuery(this).find(">.dropdown-menu").removeClass("fadeInUp animated")})},fixNoScroll:function(){var windowW=jQuery(window).width();jQuery("#page-body, .header-content, #page-body .mobile-version").css("width",windowW+"px")},fixReturnScroll:function(){jQuery("#page-body, .header-content,#page-body .mobile-version").attr("style","")},fixButton:function(){jQuery(".product-wrapper .product-head").each(function(e){$(this).children().hasClass("wrapper-countdown")&&$(this).find(".product-button").addClass("fix")})},handleReviews:function(){SPR.registerCallbacks(),SPR.initRatingHandler(),SPR.initDomEls(),SPR.loadProducts(),SPR.loadBadges()},menuOnMobile:function(){jQuery("#page-body").on("click",function(){jQuery(".menu-mobile").removeClass("opened"),jQuery("html,body").removeClass("menu-opened"),AT_Main.fixReturnScroll()}),jQuery(document).on("click","[data-toggle=offcanvas]",function(e){e.stopPropagation(),AT_Main.fixNoScroll(),jQuery(".menu-mobile").toggleClass("opened"),jQuery("html,body").toggleClass("menu-opened")}),jQuery(".navbar .main-nav li").hover(function(){jQuery(this).addClass("hover")},function(){jQuery(this).removeClass("hover")}),jQuery(document).on("click",".mobile-version .menu-mobile .main-nav .expand",function(){var e=jQuery(this).parents(".dropdown").first();e.hasClass("menu-mobile-open")?(e.removeClass("menu-mobile-open"),$(this).find(".visible-xs").removeClass("fa-minus"),$(this).find(".visible-xs").addClass("fa-plus")):(e.addClass("menu-mobile-open"),$(this).find(".visible-xs").removeClass("fa-plus"),$(this).find(".visible-xs").addClass("fa-minus"))})},handleMenuMultiLine:function(){var outItem="",down=!1,top=0;jQuery(".navbar-collapse .main-nav > li").on("mousemove",function(e){var target=jQuery(e.currentTarget);down&&outItem!=""?(outItem.addClass("hold"),setTimeout(function(){outItem!=""&&outItem.removeClass("hold"),down=!1,outItem=""},500),(outItem[0]==target[0]||outItem.offset().top==target.offset().top)&&(outItem.removeClass("hold"),down=!1,outItem="")):outItem=""}),jQuery(".navbar-collapse .main-nav >li").on("mouseout",function(e){var target=jQuery(e.currentTarget);e.pageY>=target.offset().top+50&&(down=!0),target.hasClass("dropdown")&&outItem==""&&(outItem=target)})},parallaxIt:function(){$(".templateIndex").length!=0&&($.fn.parallaxScroll=function(xpos,speedFactor,outerHeight){var elem=$(this),getHeight,firstTop,paddingTop=0;$(this).each(function(){firstTop=$(this).offset().top}),getHeight=function(jqo){return jqo.outerHeight(!0)};var j$element,top,height,pos;
1function update(){pos=$(window).scrollTop(),firstTop=elem.offset().top,height=getHeight(elem),!(pos+$(window).height()<firstTop||pos>firstTop+height)&&(AT_Main.checkLayout()!=1?elem.css("backgroundPosition",xpos+" "+Math.round((firstTop-pos)*speedFactor)+"px",0):elem.css("backgroundPosition",xpos+" "+-Math.round((firstTop-pos)*speedFactor)+"px",0))}window.addEventListener("scroll",function(){update()},!1),update()},$(".parallax-section").parallaxScroll("50%",.1))},callPriceSlider:function(){if($("#range-slider").length<=0)return;var _min_price=jQuery("#amount > span.min-val > span.money").html(),_min_price=_min_price.replace(/[^0-9\.]+/g,""),_min_price=_min_price.match(/\d+(\.\d+)?/g,""),_max_price=jQuery("#amount > span.max-val > span.money").html(),_max_price=_max_price.replace(/[^0-9\.]+/g,""),_max_price=_max_price.match(/\d+(\.\d+)?/g,"");if(_min_price.length<=0||_max_price<=0)return;_min_price=Number(_min_price[0]),_max_price=Number(_max_price[0]),$("#range-slider").slider({range:!0,min:_min_price,max:_max_price,values:[_min_price,_max_price],create:function(){},slide:function(event,ui){$("#amount").html('<span class="min-val">'+Shopify.formatMoney(ui.values[0]*100,_bc_config.money_format)+'</span> - <span class="max-val">'+Shopify.formatMoney(ui.values[1]*100,_bc_config.money_format)+"</span>"),Currency.convertAll("USD",Currency.currentCurrency);var mi=ui.values[0],mx=ui.values[1];filterSystem(mi,mx)}});function filterSystem(minPrice,maxPrice){$(".cata-product .product-price-range").hide().filter(function(){var price=parseInt($(this).data("price"),10);return price>=minPrice&&price<=maxPrice}).show()}},fixTitle:function(){jQuery(".rt a").attr("data-title",function(){return jQuery(this).attr("title")}),jQuery(".rt a").removeAttr("title")},filterCatalogReplace:function(){var value=collectionUrl.substring(collectionUrl.lastIndexOf("/")+1),val=value.substring(value.lastIndexOf("?"));collectionUrl=collectionUrl.replace(value,""),value=value.replace(val,""),value=value.replace("#","");var value_arr=value.split("+"),current_arr=[];for(jQuery("#"+filter_id+" li.active-filter").each(function(){current_arr.push(jQuery(this).attr("data-handle"))}),jQuery("#"+filter_id+" li.active-filter").find("a").attr("title",""),jQuery("#"+filter_id+" li").removeClass("active-filter"),jQueryi=0;jQueryi<current_arr.length;jQueryi++)value_arr=jQuery.grep(value_arr,function(n,i){return n!==current_arr[jQueryi]});var new_data=value_arr.join("+"),new_url=collectionUrl+new_data+val;window.location=new_url},filterCatalog:function(){var currentTags="",filters=jQuery(".advanced-filter");filters.each(function(){var el=jQuery(this),group=el.data("group");el.hasClass("active-filter")&&el.parents(".sb-filter").find("a.clear-filter").removeClass("hidden")}),filters.on("click",function(){var el=jQuery(this),group=el.data("group"),url=el.find("a").attr("href");el.hasClass("active-filter")}),jQuery(".sb-filter").on("click",".clear-filter",function(n){var filter_id2=jQuery(this).attr("id");filter_id2=filter_id2.replace("clear-","");var collectionUrl2=window.location.href;if(collectionUrl2.match(/\?/)){var string=collectionUrl2.substring(collectionUrl2.lastIndexOf("?")-1);if(string.match(/\//)){var str_replace=string.replace(/\//,"");collectionUrl2=collectionUrl2.replace(string,""),collectionUrl2=collectionUrl2+str_replace,AT_Main.filterCatalogReplace()}else AT_Main.filterCatalogReplace()}else{var value=collectionUrl2.substring(collectionUrl2.lastIndexOf("/")+1);collectionUrl2=collectionUrl2.replace(value,""),value=value.replace("#","");var value_arr=value.split("+"),current_arr=[];for(jQuery("#"+filter_id2+" li.active-filter").each(function(){current_arr.push(jQuery(this).attr("data-handle"))}),jQuery("#"+filter_id2+" li.active-filter").find("a").attr("title",""),jQuery("#"+filter_id2+" li").removeClass("active-filter"),jQueryi=0;jQueryi<current_arr.length;jQueryi++)value_arr=jQuery.grep(value_arr,function(n2,i){return n2!==current_arr[jQueryi]});var new_data=value_arr.join("+"),new_url=collectionUrl2+new_data;window.location=new_url}})},swatch:function(){jQuery(".swatch :radio").change(function(){var optionIndex=jQuery(this).closest(".swatch").attr("data-option-index"),optionValue=jQuery(this).val();jQuery(this).closest("form").find(".single-option-selector").eq(optionIndex).val(optionValue).trigger("change")})},refreshImage:function(){jQuery("#gallery-image").length&&jQuery("#product-image").on("click",".thumb
1-img",function(){var _$this=jQuery(this);if(!_$this.hasClass("active")){var parent=_$this.parents(".product-image-inner"),src_original=_$this.attr("data-zoom-image"),src_display=_$this.attr("data-image");parent.find(".thumb-img").removeClass("active"),_$this.addClass("active"),parent.find(".featured-image").find("img").attr("data-zoom-image",src_original),parent.find(".featured-image").find("img").attr("src",src_display)}return!1})},refreshZoom:function(){var enable_zoom=jQuery(".featured-image").data("zoom");if(jQuery(".elevatezoom").length){var zoomImage=jQuery(".elevatezoom .zoom-image");zoomImage.elevateZoom({gallery:"gallery-image",galleryActiveClass:"active",zoomType:"lens",cursor:"pointer",lensShape:"round",lensSize:300}),jQuery(".elevatezoom").bind("click",function(e){var ez=jQuery(".elevatezoom .zoom-image").data("elevateZoom");return jQuery.fancybox(ez.getGalleryList(),{closeBtn:!1,helpers:{buttons:{}}}),!1})}},scareName:function(){var _name_height=0;jQuery(".product-wrapper").find("h5.product-name").each(function(index,value){_name_height=jQuery(value).height()>_name_height?jQuery(value).height():_name_height}),jQuery(".product-wrapper").find("h5.product-name").css("height",_name_height)},scareScreen:function(){if(typeof _bc_config!="undefined"){var _current=this;_bc_config.enable_title_blance=="true"&&this.scareName(),jQuery(document).ajaxComplete(function(event,request,settings){_bc_config.enable_title_blance=="true"&&_current.scareName()})}},cartJS_handle:function(){rivets.bind(jQuery(".templateCart #cartform, .cart-right, .page-cart .cart-empty-wrapper, #cart-content"),{cart:CartJS.cart}),_bc_config.show_multiple_currencies=="true"&&setTimeout(function(){Currency.convertAll("USD",Currency.currentCurrency)},50),jQuery(document).on("cart.requestComplete",function(event,cart){Shopify.onCartUpdate(CartJS.cart),_bc_config.show_multiple_currencies=="true"&&Currency.convertAll("USD",Currency.currentCurrency)})},init:function(){if(typeof _bc_config=="undefined"){console.log(" _bc_config is undefined ");return}this.stickMenu(),this.toTopButton(),this.mailchipPopup(),this.toggleCartSidebar(),this.handleGridList(),this.effectNavigation(),this.fixButton(),this.menuOnMobile(),this.handleMenuMultiLine(),this.fixTitle(),this.filterCatalog(),this.swatch(),this.refreshImage(),this.refreshZoom(),this.cartJS_handle()}};jQuery(window).resize(function(){AT_Main.getWidthBrowser()<1024&&jQuery("#top").hasClass("on")&&(jQuery("#top").prev().remove(),jQuery("#top").removeClass("on").removeClass("animated")),AT_Main.checkLayout()!=1&&AT_Main.scareScreen(),AT_Main.fixReturnScroll(),AT_Main.checkLayout()!=1&&jQuery(".menu-mobile").hasClass("opened")&&jQuery("#page-body").trigger("click")}),jQuery(document).ready(function($2){AT_Main.init(),AT_Main.checkLayout()!=1&&AT_Main.scareScreen()}); 2//# sourceMappingURL=/cdn/shop/t/3/assets/bc.script.js.map?v=15589881852778385281525707913
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.