1(function(e2){var t={};function i2(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e2[o].call(n.exports,n,n.exports,i2),n.l=!0,n.exports}i2.m=e2,i2.c=t,i2.d=function(e3,t2,o){i2.o(e3,t2)||Object.defineProperty(e3,t2,{enumerable:!0,get:o})},i2.r=function(e3){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(e3,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e3,"__esModule",{value:!0})},i2.t=function(e3,t2){if(1&t2&&(e3=i2(e3)),8&t2||4&t2&&typeof e3=="object"&&e3&&e3.__esModule)return e3;var o=Object.create(null);if(i2.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e3}),2&t2&&typeof e3!="string")for(var n in e3)i2.d(o,n,function(t3){return e3[t3]}.bind(null,n));return o},i2.n=function(e3){var t2=e3&&e3.__esModule?function(){return e3.default}:function(){return e3};return i2.d(t2,"a",t2),t2},i2.o=function(e3,t2){return Object.prototype.hasOwnProperty.call(e3,t2)},i2.p="",i2(i2.s=3)})([function(e2,t,i2){"use strict";function o(e3,t2){for(var i3=0;i3<t2.length;i3++){var o2=t2[i3];o2.enumerable=o2.enumerable||!1,o2.configurable=!0,"value"in o2&&(o2.writable=!0),Object.defineProperty(e3,o2.key,o2)}}function n(e3,t2,i3){return(e3.x-i3.x)*(t2.y-i3.y)-(t2.x-i3.x)*(e3.y-i3.y)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e3,t2,i3){typeof e3=="string"&&(i3=t2,t2=e3,e3=document),i3||(t2=(i3=t2).selector);var o2=i3,n2=o2.onHover,a2=n2===void 0?function(){}:n2,l=o2.onLeave,c=l===void 0?function(){}:l,d=o2.attr,u=d===void 0?"garminTarget":d,p=o2.mouseMoveThreshold,h=p===void 0?150:p,f=o2.idleThreshold,m=f===void 0?1500:f,g=o2.scrollThreshold,v=g===void 0?window.screen.height/10:g,y=o2.forceLeaveEventHook,w=y===void 0?"garminLeave":y,$2=o2.findTarget,_=$2===void 0?function(e4){return document.getElementById(e4)}:$2,b=!1,S=null;function k(e4){var i4=e4.target;if(t2?i4.matches(t2):i4===e4.currentTarget)if(b)S=e4,i4.addEventListener("mouseleave",function e5(){S=null,i4.removeEventListener("mouseleave",e5)});else{var o3=_(i4.dataset[u],i4);if(o3){var n3=function(e5){g2||(c(e5,o3,i4),e5.defaultPrevented||(g2=!0))},l2=function(){Math.abs(window.pageYOffset-y2)<v||window.dispatchEvent(new CustomEvent(w))},d2=function e5(t3){n3(t3),t3.defaultPrevented||(S=null,window.removeEventListener(w,e5),window.removeEventListener("scroll",l2))};b=!0;var p2,f2=!1,g2=!1,y2=window.pageYOffset;if(a2(e4,o3,i4),e4.defaultPrevented)return;window.addEventListener(w,d2),i4.addEventListener("mouseleave",function t3(){i4.removeEventListener("mouseleave",t3);var a3=function e5(){f2=!0,b=!1,document.removeEventListener("mousemove",u2),o3.removeEventListener("mouseenter",e5)},l3=function e5(t4){n3(t4),t4.defaultPrevented||(S&&(S.target.dispatchEvent(S),S=null),document.removeEventListener("mousemove",u2),o3.removeEventListener("mouseenter",a3),o3.removeEventListener("mouseleave",e5),window.removeEventListener(w,d2),window.removeEventListener(w,g3))};o3.addEventListener("mouseenter",a3),o3.addEventListener("mouseleave",l3);var c2=r(o3,s(e4)),u2=(function(e5,t4){var i5,o4,n4=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return function(){for(var a4=arguments.length,r2=new Array(a4),s2=0;s2<a4;s2++)r2[s2]=arguments[s2];var l4=Date.now();i5&&l4<i5+t4?(clearTimeout(o4),o4=setTimeout(function(){i5=l4,e5.apply(n4,r2)},t4)):(i5=l4,e5.apply(n4,r2))}})(function(e5){function t4(){f2||(b=!1,n3(e5),S&&!e5.defaultPrevented&&(S.target.dispatchEvent(S),S=null),e5.defaultPrevented||(document.removeEventListener("mousemove",u2),o3.removeEventListener("mouseenter",a3),window.removeEventListener(w,d2),window.removeEventListener(w,g3)))}y2=window.pageYOffset,clearTimeout(p2),p2=setTimeout(t4,m);var i5=s(e5);!f2&&c2.contains(i5)?c2=r(o3,i5):t4()},h);function g3(e5){n3(e5),e5.defaultPrevented||(document.removeEventListener("mousemove",u2),o3.removeEventListener("mouseenter",a3),o3.removeEventListener("mouseleave",l3),window.removeEventListener(w,g3))}document.addEventListener("mousemove",u2),window.addEventListener(w,g3)}),window.addEventListener("scroll",l2)}}}function C(e4){var t3=setTimeout(k.bind(null,e4),120);e4.target.addEventListener("mouseleave",function i4(){clearTimeout(t3),e4.target.removeEventListener("mouseleave",i4)})}function x(e4){e4.addEventListener("mouseover",C)}function F(e4){e4.removeEventListener("mouseover",C)}return Array.isArray(e3)||e3 instanceof window.NodeList?e3.forEach(x):x(e3),{destroy:function(){Array.isArray(e3)||e3 instanceof window.NodeList?e3.forEach(F):F(e3)}}};var a=(function(){function e3(t2,i3,o2){(function(e4,t3){if(!(e4 instanceof t3))throw new TypeError("Cannot call a class as a function")})(this,e3),this.p1=t2,this.p2=i3,this.p3=o2}return(function(e4,t2,i3){t2&&o(e4.prototype,t2),i3&&o(e4,i3)}
1)(e3,[{key:"contains",value:function(e4){var t2=n(e4,this.p1,this.p2)<=0,i3=n(e4,this.p2,this.p3)<=0,o2=n(e4,this.p3,this.p1)<=0;return t2===i3&&i3===o2}}]),e3})();function r(e3,t2){var i3=e3.getBoundingClientRect(),o2=i3.x,n2=i3.y,r2=i3.right,s2=i3.bottom,l={},c={};return t2.x>=o2&&t2.y<=n2?(l.x=o2,l.y=n2):t2.x>=r2&&t2.y>=n2?(l.x=r2,l.y=n2):t2.x<=r2&&t2.y>=s2?(l.x=r2,l.y=s2):(l.x=o2,l.y=s2),t2.x<=r2&&t2.y<=n2?(c.x=r2,c.y=n2):t2.x>=r2&&t2.y<=s2?(c.x=r2,c.y=s2):t2.x>=o2&&t2.y>=s2?(c.x=o2,c.y=s2):(c.x=o2,c.y=n2),new a(t2,l,c)}function s(e3){return{x:e3.clientX,y:e3.clientY}}},function(e2,t,i2){"use strict";/*! npm.im/object-fit-images 3.2.3 */var o="bfred-it:object-fit-images",n=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g,a=typeof Image=="undefined"?{style:{"object-position":1}}:new Image,r="object-fit"in a.style,s="object-position"in a.style,l="background-size"in a.style,c=typeof a.currentSrc=="string",d=a.getAttribute,u=a.setAttribute,p=!1;function h(e3,t2,i3){var o2=(function(e4,t3){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+e4+"' height='"+t3+"'%3E%3C/svg%3E"}
1)(t2||1,i3||0);d.call(e3,"src")!==o2&&u.call(e3,"src",o2)}function f(e3,t2){e3.naturalWidth?t2(e3):setTimeout(f,100,e3,t2)}function m(e3){var t2=(function(e4){for(var t3,i4=getComputedStyle(e4).fontFamily,o2={};(t3=n.exec(i4))!==null;)o2[t3[1]]=t3[2];return o2})(e3),i3=e3[o];if(t2["object-fit"]=t2["object-fit"]||"fill",!(!i3.img&&(t2["object-fit"]==="fill"||!i3.skipTest&&r&&!t2["object-position"]))){if(!i3.img){i3.img=new Image(e3.width,e3.height),i3.img.srcset=d.call(e3,"data-ofi-srcset")||e3.srcset,i3.img.src=d.call(e3,"data-ofi-src")||e3.src,u.call(e3,"data-ofi-src",e3.src),e3.srcset&&u.call(e3,"data-ofi-srcset",e3.srcset),h(e3,e3.naturalWidth||e3.width,e3.naturalHeight||e3.height),e3.srcset&&(e3.srcset="");try{(function(e4){var t3={get:function(t4){return e4[o].img[t4||"src"]},set:function(t4,i4){return e4[o].img[i4||"src"]=t4,u.call(e4,"data-ofi-"+i4,t4),m(e4),t4}};Object.defineProperty(e4,"src",t3),Object.defineProperty(e4,"currentSrc",{get:function(){return t3.get("currentSrc")}}),Object.defineProperty(e4,"srcset",{get:function(){return t3.get("srcset")},set:function(e5){return t3.set(e5,"srcset")}})})(e3)}catch(e4){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}(function(e4){if(e4.srcset&&!c&&window.picturefill){var t3=window.picturefill._;e4[t3.ns]&&e4[t3.ns].evaled||t3.fillImg(e4,{reselect:!0}),e4[t3.ns].curSrc||(e4[t3.ns].supported=!1,t3.fillImg(e4,{reselect:!0})),e4.currentSrc=e4[t3.ns].curSrc||e4.src}})(i3.img),e3.style.backgroundImage='url("'+(i3.img.currentSrc||i3.img.src).replace(/"/g,'\\"')+'")',e3.style.backgroundPosition=t2["object-position"]||"center",e3.style.backgroundRepeat="no-repeat",e3.style.backgroundOrigin="content-box",/scale-down/.test(t2["object-fit"])?f(i3.img,function(){i3.img.naturalWidth>e3.width||i3.img.naturalHeight>e3.height?e3.style.backgroundSize="contain":e3.style.backgroundSize="auto"}):e3.style.backgroundSize=t2["object-fit"].replace("none","auto").replace("fill","100% 100%"),f(i3.img,function(t3){h(e3,t3.naturalWidth,t3.naturalHeight)})}}function g(e3,t2){var i3=!p&&!e3;if(t2=t2||{},e3=e3||"img",s&&!t2.skipTest||!l)return!1;e3==="img"?e3=document.getElementsByTagName("img"):typeof e3=="string"?e3=document.querySelectorAll(e3):"length"in e3||(e3=[e3]);for(var n2=0;n2<e3.length;n2++)e3[n2][o]=e3[n2][o]||{skipTest:t2.skipTest},m(e3[n2]);i3&&(document.body.addEventListener("load",function(e4){e4.target.tagName==="IMG"&&g(e4.target,{skipTest:t2.skipTest})},!0),p=!0,e3="img"),t2.watchMQ&&window.addEventListener("resize",g.bind(null,e3,{skipTest:t2.skipTest}))}g.supportsObjectFit=r,g.supportsObjectPosition=s,(function(){function e3(e4,t2){return e4[o]&&e4[o].img&&(t2==="src"||t2==="srcset")?e4[o].img:e4}s||(HTMLImageElement.prototype.getAttribute=function(t2){return d.call(e3(this,t2),t2)},HTMLImageElement.prototype.setAttribute=function(t2,i3){return u.call(e3(this,t2),t2,String(i3))})})(),e2.exports=g},function(module,exports,__webpack_require__){"use strict";var _objectFitImages=_interopRequireDefault(__webpack_require__(1)),_garmin=_interopRequireDefault(__webpack_require__(0));function _interopRequireDefault(e2){return e2&&e2.__esModule?e2:{default:e2}}function _typeof(e2){return(_typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e3){return typeof e3}:function(e3){return e3&&typeof Symbol=="function"&&e3.constructor===Symbol&&e3!==Symbol.prototype?"symbol":typeof e3})(e2)}$(_objectFitImages.default),(0,_garmin.default)("[data-mega-menu-target]",{attr:"megaMenuTarget",onHover:function(e2,t,i2){$(i2).addClass("active_link"),$(t).show()},onLeave:function(e2,t,i2){$(i2).removeClass("active_link"),$(t).hide()},findTarget:function(e2,t){return t.closest("header").querySelector(e2)}});var Shopify=window.Shopify||{};document.querySelectorAll(".Form-group").forEach(function(e2){e2.querySelector("input")&&e2.querySelector("input").addEventListener("input",function(t){e2.classList[t.target.value===""?"remove":"add"]("is-filled")})}),(function(){document.querySelectorAll("[data-rough-edge]").forEach(function(e2,t){var i2="svg_displacementFilter-"+t;e2.querySelector("filter").id=i2,e2.querySelector("feTurbulence").setAttribute("seed",Math.round(1e3*Math.random())),e2.querySelectorAll("path").forEach(function(e3){e3.setAttribute("d",(function(e4,t2,i3){for(t2="M0 0",i3=0,e4=100/e4;i3<=100;)t2+="L"+i3+" "+Math.round(2e3*Math.random())/1e3,i3+=e4;return t2+"V50H0Z"}
1)(1240)),e3.style.filter="url(#"+i2+")"})})})();var usePageDots=BUFFALO.slideshow_nav_buttons,imageFunctions={zoom:function(e2,t,i2){$(e2).data("zoom")&&$(e2+" img").wrap('<span style="display:inline-block"></span>').css("display","block").parent().zoom({touch:t,magnify:i2||1})},linkGalleryAndCarousel:function(e2,t){t.find(".gallery-cell:nth-child(1)").addClass("is-nav-selected"),t.on("click",".gallery-cell",function(){var i2=$(this).index();t.find(".is-nav-selected").removeClass("is-nav-selected"),$(this).addClass("is-nav-selected"),e2.flickity("select",i2)}),e2.on("cellSelect",function(){var e3=$(this).data("flickity");e3&&(t.find(".is-nav-selected").removeClass("is-nav-selected"),t.find(".gallery-cell:nth-child("+(e3.selectedIndex+1)+")").addClass("is-nav-selected"))})},fullWidth:function(e2,t){$(e2).each(function(){var e3=$(this),i2=e3.attr("alt"),o=e3.attr("src");if(i2.indexOf("[")>=0){e3.remove();var n=i2.match(/\[(.*?)\]/gi);i2=i2.replace(/\[(.*?)\]/gi,"");var a=$.map(n,function(e4,t2){return e4=e4.replace(/[\[\]']+/g,"")}),r=['<div class="position-'+(a.length?a:"center")+' caption js-caption">','<div class="caption-content caption-background-false align-'+(a.length?a:"center")+'">','<p class="headline">'+i2+"</p>","</div>","</div>"].join("");e3.attr({alt:i2,class:"lazyload "+BUFFALO.image_loading_style,src:o,dataSizes:"auto"});var s='<div class="banner">'+e3.prop("outerHTML")+r+"</div>";$(t).append(s)}})},showSecondaryImage:function(){$("body").on("mouseenter",".swap-true",function(){$(this).toggleClass("toggle-images")}),$("body").on("mouseleave",".swap-true",function(){$(this).toggleClass("toggle-images")})}},recentlyViewed={init:function(){var e2,t,i2,o,n;if($(".js-product_section[data-rv-handle]").length?(e2=$(".js-product_section").data("rv-handle").toString(),t=Cookies.get("recentlyViewed"),i2=recentlyViewed.getCookieProducts(t,e2)):($(".recently-viewed__section").length||$(".collection-template-section .js-sidebar-recently-viewed").length)&&(t=Cookies.get("recentlyViewed"),i2=recentlyViewed.getCookieProducts(t,e2)),i2&&(n=unescape(i2).split(",")),e2?(!$.inArray(e2,n)!==-1&&(o=[],n.unshift(e2),$.each(n,function(e3,t2){$.inArray(t2,o)===-1&&o.push(t2)})),recentlyViewed.setCookieProducts(o)):o=n,$(".recently-viewed__section").length){var a=".recently-viewed__section";recentlyViewed.getProductInformation(a,o)}else $(".js-recently-viewed .rv-main").length&&(a=".js-recently-viewed",recentlyViewed.getProductInformation(a,o,e2));$(".sidebar .js-sidebar-recently-viewed").length&&(a=".sidebar .js-sidebar-recently-viewed",e2?recentlyViewed.getProductInformation(a,o,e2):recentlyViewed.getProductInformation(a,o),$(".js-sidebar-recently-viewed.hidden").parents(".sidebar-block").hide())},getCookieProducts:function(e2,t){return!e2&&t&&Cookies.set("recentlyViewed",t,{expires:30,path:"/"}),e2=Cookies.get("recentlyViewed"),e2},setCookieProducts:function(e2){Cookies.set("recentlyViewed",escape(e2.join(",")),{expires:30,path:"/"})},getProductInformation:function(e2,t,i2){i2&&t.splice($.inArray(i2,t),1);var o=$(e2).data("visible-products");
1o&&t&&(t=t.slice(0,o)),$.each(t,function(i3,n){n&&($(e2).removeClass("hidden"),$(e2).parents(".sidebar-block").show(),$.ajax({type:"GET",url:"/products/"+n+"?view=rv",success:function(t2){var o2=$(t2).find(".js-recently-viewed-product");$(e2).find(" .rv-box-"+i3).append(o2),BUFFALO.show_multiple_currencies&&convertCurrencies()},error:function(e3,t2,i4){console.log(e3),console.log(t2),console.log(i4)},dataType:"html"})),$(e2).find(".rv-main").hasClass("js-rv-slider")?(t.length<=o?$(".js-rv-slider .gallery-cell").eq(t.length).nextAll().addBack().remove():$(".js-rv-slider .gallery-cell").eq(o).nextAll().addBack().remove(),recentlyViewed.createSlider(e2,o)):$(e2).find(".rv-main").hasClass("js-rv-grid")&&(t.length<=o?$(".js-rv-grid .thumbnail").eq(t.length).nextAll().addBack().remove():$(".js-rv-grid .thumbnail").eq(o).nextAll().addBack().remove())})},createSlider:function(e2,t){var i2,o,n,a,r,s=$(".js-rv-slider").data("products-per-slide"),l=$(".js-rv-slider").data("products-limit"),c=t,d=$(".js-rv-slider").find(".gallery-cell");i2=s=="2"&&c>s&&l>s||s=="4"&&c>s&&l>s||s=="6"&&c>s&&l>s?"left":"center",c>s&&l>s?(o=!0,n=!0,a=!0):(o=!1,n=!1,a=!1),s=="2"&&c>s||s=="4"&&c>s||s=="6"&&c>s?r=0:s=="3"&&c?r=1:s=="5"&&c?r=2:s=="7"&&c&&(r=3),$(window).width()<=798&&(i2="center",r=1,d.length<=2?(o=!1,n=!1,a=!1):c>3&&l>3?(o=!0,n=!0,a=!0):(o=!1,n=!1,a=!1),$(".js-rv-slider").parents(".even-num-slides").removeClass("even-num-slides")),$(".js-rv-slider").flickity({lazyLoad:2,imagesLoaded:!0,draggable:o,prevNextButtons:n,wrapAround:a,cellAlign:i2,pageDots:usePageDots,contain:!0,freeScroll:!0,arrowShape:arrowSize,initialIndex:r}),$(".js-rv-slider").addClass("slider-initialized")}},featuredCollectionSection={init:function(){$(".js-product-slider .products-slider").each(function(e2,t){var i2,o,n,a,r,s=$(this).data("products-per-slide"),l=$(this).data("products-limit"),c=$(this).data("products-available");i2=s=="2"&&c>s&&l>s||s=="4"&&c>s&&l>s||s=="6"&&c>s&&l>s?"left":"center",c>s&&l>s?(o=!0,n=!0,a=!0):(o=!1,n=!1,a=!1),s=="2"&&c>s||s=="4"&&c>s||s=="6"&&c>s?r=0:s=="3"&&c?r=1:s=="5"&&c?r=2:s=="7"&&c&&(r=3),$(window).width()<=798&&(i2="center",o=!0,n=!0,a=!0,r=1,$(this).parents(".even-num-slides").removeClass("even-num-slides")),$(this).flickity({lazyLoad:2,imagesLoaded:!0,draggable:o,prevNextButtons:n,wrapAround:a,cellAlign:i2,pageDots:usePageDots,contain:!0,freeScroll:!0,arrowShape:arrowSize,initialIndex:r}),$(this).addClass("slider-initialized")})},unload:function(e2){var t=e2.find(".js-product-slider");t.hasClass("flickity-enabled")&&t.flickity("destroy")}},featuredPromotions={init:function(){($(window).width()>798||$(window).width()==0)&&$(".js-featured-promotions").each(function(e2,t){var i2=$(this),o=$(this).data("promo-animation");i2.waypoint(function(){$(this.element).find(".feature-section").addClass("animated "+o)},{offset:"80%"})})}};document.querySelectorAll(".button-outer").forEach(function(e2){var t=e2.querySelector(".button-text");t.style.width=e2.style.width=t.clientWidth+2+"px",e2.classList.add("js-ready")});var slideshow={init:function(){$(".js-homepage-slideshow").each(function(e2,t){var i2=$(this),o={slideshowSpeed:1e3*i2.data("slideshow-speed"),slideshowTextAnimation:i2.data("slideshow-text-animation")};if(!i2.hasClass("flickity-enabled")){var n=i2.find(".gallery-cell").length!==1;if(i2.flickity({wrapAround:!0,cellAlign:"left",imagesLoaded:!0,prevNextButtons:n,draggable:n,pageDots:usePageDots,autoPlay:o.slideshowSpeed,arrowShape:arrowSize}),o.slideshowTextAnimation!=""){var a=i2.data("flickity");setTimeout(function(){i2.find(".gallery-cell:nth-child(1) .caption-content").addClass("animated "+o.slideshowTextAnimation)},400),i2.on("cellSelect",function(){if(i2.is(":visible")){var e3=a.selectedIndex+1;setTimeout(function(){i2.find(".caption-content").removeClass("animated "+o.slideshowTextAnimation),i2.find(".gallery-cell:nth-child("+e3+") .caption-content").addClass("animated "+o.slideshowTextAnimation)},400)}})}}i2.find(".gallery-cell").length>1?i2.addClass("multi-image"):i2.addClass("single-image"),i2.find(".gallery-cell").each(function(){var e3=0;$(this).find(".action_button").each(function(){$(this).width()>e3&&(e3=$(this).width())}),$(this).find(".action_button").width(e3)})})},unload:function(e2){e2.find(".js-homepage-slideshow").flickity("destroy")}},testimonial={init:function(){$(".js-testimonial").each(function(e2,t){var i2=$(this),o={slideshowSpeed:1e3*i2.data("slideshow-s
1peed"),slideshowTextAnimation:i2.data("slideshow-text-animation")};if($(".testimonial-image").length>0&&$(".testimonial-block").each(function(){if($(this).find(".testimonial-image").length==0){var e3=$(this).closest(".testimonial-block");$(e3).addClass("set-testimonial-height")}}),!i2.hasClass("flickity-enabled")){var n=i2.find(".gallery-cell").length!==1;if(i2.flickity({wrapAround:!0,cellAlign:"left",imagesLoaded:!0,prevNextButtons:n,draggable:n,pageDots:usePageDots,autoPlay:o.slideshowSpeed,arrowShape:arrowSize}),o.slideshowTextAnimation!=""){var a=i2.data("flickity");setTimeout(function(){i2.find(".gallery-cell:nth-child(1) .caption-content").addClass("animated "+o.slideshowTextAnimation)},400),i2.on("cellSelect",function(){if(i2.is(":visible")){var e3=a.selectedIndex+1;setTimeout(function(){i2.find(".caption-content").removeClass("animated "+o.slideshowTextAnimation),i2.find(".gallery-cell:nth-child("+e3+") .caption-content").addClass("animated "+o.slideshowTextAnimation)},400)}})}}i2.find(".gallery-cell").length>1?i2.addClass("multi-image"):i2.addClass("single-image"),i2.find(".gallery-cell").each(function(){var e3=0;$(this).find(".action_button").each(function(){$(this).width()>e3&&(e3=$(this).width())}),$(this).find(".action_button").width(e3)})})},unload:function(e2){e2.find(".js-testimonial").flickity("destroy")}},gallery={init:function(){$(".gallery-horizontal").find(".gallery-image-wrapper").each(function(){var e2,t,i2=$(this),o=$(this).find("img");$("<img />").attr("src",$(o).attr("src")).on("load",function(){e2=this.width,t=this.height,$(i2).css("flex-basis",200*e2/t),$(i2).css("flex-grow",200*e2/t),$(i2).find("i").css("padding-bottom",t/e2*100+"%")})}),lightboxGallery.init()}},supports_video=function(){return!!document.createElement("video").canPlayType},videoSection={init:function(){var e2,t;$(".homepage-video").each(function(i2,o){$(".homepage-video").length&&supports_video()&&(e2=$(this),t=videoSection.getVideoSettings(e2),is_touch_device()&&$(window).width()<=798&&t.posterImage===!1||$(window).width()<=798&&t.posterImage===!1||t.autoPlayVideo&&$(window).width()>798||t.autoPlayVideo===!1&&t.posterImage===!1?videoSection.appendFrame(e2,t):(e2.find(".homepage-video__placeholder").show(),e2.find(".placeholder-svg--video").show()))}),$("body").on("click",".video__play-button",function(i2){e2=$(this).parents(".video-section").find(".homepage-video"),$(this).fadeOut(),t=videoSection.getVideoSettings(e2),e2.find(".mediaWrapper").length<1&&e2.find("video").length<1&&videoSection.appendFrame(e2,t)}),$("body").on("click","[data-play-video]",function(i2){e2=$(this).parents(".video-section").find(".homepage-video"),$(this).fadeOut(),t=videoSection.getVideoSettings(e2),e2.find(".mediaWrapper").length<1&&e2.find("video").length<1&&videoSection.appendFrame(e2,t)})},getVideoSettings:function(e2){return{container:e2.find(".homepage-video"),header:e2.find(".homepage-video--media"),posterImage:e2.data("poster-image"),videoText:e2.find(".homepage-video--media .caption"),videoTrigger:e2.find("[data-play-video]"),autoPlayVideo:e2.data("autoplay"),displayTextOverVideo:e2.data("display-text-over-video"),autoloop:e2.data("autoloop"),id:e2.attr("data-video-src"),aspectRatio:e2.attr("data-aspect-ratio").split(":"),provider:e2.attr("data-provider").toLowerCase(),videoMP4:e2.attr("data-video-mp4"),videoOGV:e2.attr("data-video-ogv")}},createFrame:function(e2){var t,i2,o,n="";return e2.provider==="youtube"?(t=e2.autoloop?"1&iv_load_policy=3&playlist="+e2.id:0,o=e2.posterImage===!1&&e2.autoPlayVideo===!1?0:1,i2='<iframe src="//www.youtube.com/embed/'+e2.id+"?&autoplay="+o+"&loop="+t+'&rel=0&hd=1&showinfo=0&color=white&controls=0" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe>'):e2.provider==="vimeo"?(o=e2.posterImage===!1&&e2.autoPlayVideo===!1?0:1,t=e2.autoloop?1:0,i2='<iframe src="//player.vimeo.com/video/'+e2.id+"?loop="+t+"&title=0&byline=0&portrait=0&color=3d96d2&autoplay="+o+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe>'):e2.provider==="html5"&&(e2.posterImage!==!1&&(n=' poster="https://'+e2.posterImage),e2.posterImage===!1&&e2.autoPlayVideo===!1&&is_touch_device()===0?o=" ":(e2.autoPlayVideo&&e2.posterImage!==!1&&(n=' poster="https://'+e2.posterImage),o=" autoplay "),e2.autoloop&&(t=' loop="loop" '),i2="<video "+o+t+n+' id="video" onclick="this.paused?this.play():this.pause();" ><source src="'+e2.videoMP4+'" type="video/mp4"><source src="'+e2.videoOGV+'" type="video/ogg" ></video>'),i2},appendFrame:function(e2,t){if(t.displayTextOverVideo===!1&&t.videoText.fadeOut(),e2.find(".video__play-button").fadeOut(),e2.append(videoSection.createFrame(t)),t.provider!="html5"){var i2=t.aspectRatio[1]/t.aspectRatio[0]*100+"%";e2.find("iframe").mediaWrapper({intrinsic:!1,baseWidth:t.aspectRatio[0],baseHeight:t.aspectRatio[1]}),e2.css({height:0,paddingBottom:i2})}else e2.find(".homepage-video__image").hide()}
1,unload:function(e2){e2.find("[data-play-video]").off("click")}},cart={init:function(){$("#cart_form .tos_agree").length&&$("body").on("click","#cart_form input[type='submit']",function(){if(!$(this).parents("form").find(".tos_agree").is(":checked")){var e2='<p class="warning animated bounceIn">'+BUFFALO.translations.agree_to_terms_warning+"</p>";return $("p.warning").length==0&&$(this).before(e2),!1}$(this).submit()})}},selectCallback=function(e2,t){var i2=$(".product-"+t.product.id),o=$(".notify-form-"+t.product.id),n=$("form.product_form",i2),a=n.data("variant-inventory");if(e2&&e2.featured_image&&i2.is(":visible")&&$(".product_gallery",i2).each(function(){var t2=$(this),i3=Flickity.data(this);if(t2.is(":visible")&&i3!=null){var o2=$('[data-image-id="'+e2.featured_image.id+'"]').data("index");i3.select(o2,!1,!0)}}),e2)if(a&&a.forEach(function(t2){t2.id===e2.id&&(e2.inventory_quantity=t2.inventory_quantity,e2.inventory_management=t2.inventory_management,e2.inventory_policy=t2.inventory_policy)}),$(".sku span",i2).text(e2.sku),BUFFALO.product_form_style=="swatches")for(var r=0,s=e2.options.length;r<s;r++){var l=n.find('.swatch[data-option-index="'+escape(r)+'"] :radio[value="'+e2.options[r].replace(/\"/g,'\\"')+'"]');l.length&&(l.get(0).checked=!0)}else $(".notify_form_message",i2).attr("value",$(".notify_form_message",i2).data("body")+" - "+e2.title);else e2=t.product.variants.filter(function(e3){return e3.available})[0];var items_left_text2="";if(e2&&e2.available==1)e2.price<e2.compare_at_price?($(".was_price",i2).html('<span class="money">'+Shopify.formatMoney(e2.compare_at_price,n.data("money-format"))+"</span>"),$(".savings",i2).html(BUFFALO.translations.product_savings+" "+parseInt(100*(e2.compare_at_price-e2.price)/e2.compare_at_price)+'% (<span class="money">'+Shopify.formatMoney(e2.compare_at_price-e2.price,n.data("money-format"))+"</span>)")):($(".was_price",i2).html(""),$(".savings",i2).html("")),e2.inventory_management&&e2.inventory_quantity>0?(BUFFALO.display_inventory_left&&(e2.inventory_quantity==1?items_left_text2=BUFFALO.translations.items_left_count_one:items_left_text2=BUFFALO.translations.items_left_count_other,$(".items_left",i2).html("<p><em>Only "+e2.inventory_quantity+" "+items_left_text2+" in stock!</em></p>")),BUFFALO.limit_quantity&&e2.inventory_policy=="deny"&&$(".quantity",i2).attr("max",e2.inventory_quantity)):($(".items_left",i2).text(""),$(".quantity",i2).removeAttr("max")),$(".sold_out",i2).text(""),e2.price>0?$(".current_price",i2).html('<span class="money">'+Shopify.formatMoney(e2.price,n.data("money-format"))+"</span>"):$(".current_price",i2).html(BUFFALO.free_price_text),$(".add_to_cart",i2).removeClass("disabled").removeAttr("disabled").find("span").text($(".add_to_cart",i2).data("label")),o.hide();else{var c=e2?BUFFALO.translations.product_sold_out:BUFFALO.translations.product_unavailable;$(".was_price",i2).text(""),$(".savings",i2).text(""),$(".current_price",i2).text(""),$(".items_left",i2).text(""),$(".quantity",i2).removeAttr("max"),$(".sold_out",i2).text(c),$(".add_to_cart",i2).addClass("disabled").attr("disabled","disabled").find("span").text(c),e2&&o.fadeIn()}e2.inventory_management=="shopify"&&e2.inventory_quantity<5&&e2.inventory_quantity>0?$(".items_left").show():$(".items_left").hide(),BUFFALO.show_multiple_currencies&&convertCurrencies()},productPage={init:function(){var e2=!0,t=!0;setTimeout(function(){imageFunctions.linkGalleryAndCarousel($(".js-product-page-gallery .product_gallery"),$(".js-product-page-gallery .product_gallery_nav"))},1e3),imageFunctions.zoom(".product_gallery",!1),$(".js-full-width-product-images").length&&imageFunctions.fullWidth(".product-template .product .description img",".js-full-width-product-images"),$(".product_gallery").hasClass("single-image")&&(e2=!1,t=!1);var i2=$(".product_gallery").data("autoplay");$(".product_gallery").flickity({wrapAround:"true",cellAlign:"left",draggable:e2,contain:!0,imagesLoaded:!0,lazyLoad:2,pageDots:usePageDots,prevNextButtons:t,autoPlay:!!i2&&6e3,selectedAttraction:.01,friction:.15,arrowShape:arrowSize}),$(".js-product_section .product_form_options").each(function(){var e3=$(this).data("product");e3.variants=e3.variants.filter(function(e4){return e4.available}),new Shopify.OptionSelectors($(this).data("select-id"),{product:e3,onVariantSelected:selectCallback,enableHistoryState:$(this).data("enable-state")})}),$(".notify_form .contact-form").each(function(){var e3=$(this);e3.on("submit",function(t2){$('input[name="challenge"]',e3).val()!=="true"&&($.ajax({type:e3.attr("method"),url:e3.attr("action"),data:e3.serialize(),success:function(t3){e3.fadeOut("slow",function(){e3.prev(".message").html(BUFFALO.translations.notify_form_post_success)})},error:function(t3){$('input[name="challenge"]',e3).val("true"),e3.submit()}}),t2.preventDefault())})}),BUFFALO.product_form_style==="swatches"&&$("body").on("change",".swatch :radio",function(){var e3=$(this).closest(".swatch").attr("data-option-index"),t2=$(this).val(),i3=$(this).closest(".product_form");if(i3.siblings(".notify_form").length)var o=i3.siblings(".notify_form");else o=$(".js-notify-form");var n=i3.find(".swatch_options input:checked").eq(0).val(),a=i3.find(".swatch_options input:checked").eq(1).val()||"",r=i3.find(".swatch_options input:checked").eq(2).val()||"";if(n&&a&&r)var s=n+" / "+a+" / "+r;else n&&a?s=n+" / "+a:s=n;o.find(".notify_form_message").attr("value",o.find(".notify_form_message").data("body")+" - "+s),$(this).closest("form").find(".single-option-selector").eq(e3).val(t2).trigger("change")}),lightboxGallery.init()},relatedProducts:function(){$(".js-related-products-slider .products-slider").each(function(e2,t){var i2,o,n,a,r,s=$(this).data("products-per-slide"),l=$(this).data("products-limit"),c=$(this).data("products-available");i2=s=="2"&&c>s&&l>s||s=="4"&&c>s&&l>s||s=="6"&&c>s&&l>s?"left":"center",c>s&&l>s?(o=!0,n=!0,a=!0):(o=!1,n=!1,a=!1),s=="2"&&c>s||s=="4"&&c>s||s=="6"&&c>s?r=0:s=="3"&&c?r=1:s=="5"&&c?r=2:s=="7"&&c&&(r=3),$(window).width()<=798&&(i2="center",o=!0,n=!0,a=!0,r=1,$(this).parents(".even-num-slides").removeClass("even-num-slides")),$(this).flickity({lazyLoad:2,imagesLoaded:!0,draggable:o,cellAlign:i2,prevNextButtons:n,wrapAround:a,pageDots:usePageDots,contain:!0,freeScroll:!0,arrowShape:arrowSize,initialIndex:r})})},initializeQuantityBox:function(){$("body").on("click",".js-change-quantity",function(){var e2=$(this),t=$(this).siblings("input"),i2=parseInt(t.val()),o=1e29,n=t.attr("min")||0;return t.attr("max")!=null&&(o=t.attr("max")),isNaN(i2)||i2<n?(t.val(n),!1):i2>o?(t.val(o),!1):(e2.data("func")=="plus"?i2<o&&t.val(i2+1):(i2>n&&t.val(i2-1),e2.parents(".cart_item").length&&i2-1==0&&e2.closest(".cart_item").addClass("animated fadeOutUp")),void t.trigger("change"))})},unload:function(e2){e2.find(".products-slider").flickity("destroy")}},newsletter_popup={init:function(){var e2=Cookies.get("popup"),t=!!BUFFALO.newsletter_popup_days;if(t&&e2=="open")return!1;newsletter_popup.open(),t&&Cookies.set("popup","open",{expires:BUFFALO.newsletter_popup_days})},open:function(){(BUFFALO.newsletter_popup_mobile||$(window).width()>798)&&setTimeout(function(){$("[data-remodal-id=newsletter]").remodal().open()},1e3*(BUFFALO.newsletter_popup_seconds||2))}},header={init:function(){if($(".promo_banner").length&&Cookies.get("promo_banner")!="dismiss"&&($("body").addClass("promo_banner-show"),$(".promo_banner").on("click",".promo_banner-close",function(){$("body").removeClass("promo_banner-show"),Cookies.set("promo_banner","dismiss",{expires:30})})),$(".vertical-menu_submenu, .vertical-menu_sub-submenu").each(function(){$(this).is(":off-right")&&$(this).addClass("vertical-menu--align-right")}),$(window).width()>798?($(".DesktopHeader").hasClass("sticky_nav")||($(".DesktopHeader").append($("#site-menus").children()),new Headhesive(".DesktopHeader",{offset:700,throttle:300,classes:{clone:"sticky_nav",stick:"sticky_nav--stick",unstick:"sticky_nav--unstick"},onInit:function(){$(".sticky_nav .nav:last").prepend($(".header .cart_container").clone()),$("[id]",".sticky_nav").each(function(){this.id+="_sticky_clone"}),$("[for]",".sticky_nav").each(function(){this.htmlFor+="_sticky_clone"})},onUnstick:function(){$(".cart_container").removeClass("active_link")}})),$(".header_search_form").on("blur",'input[name="q"]',function(){var e3=this;$(this).data("blur_timeout",setTimeout(function(){e3.value=""},1e3))}).on("focus",'input[name="q"]',function(){clearTimeout($(this).data("blur_timeout"))}).on("submit",function(){var e3=this;requestAnimationFrame(function(){clearTimeout($('input[name="q"]',e3).addClass("visible").data("blur_timeout"))})}),$("img.primary_logo:visible")?$(".logo img",$(".feature_image .header")).attr("src",$(".logo img").data("src-home")):$(".logo img").attr("src",$(".logo img").data("src"))):$("#header").hasClass("mobile_nav-fixed--true")?$("body").addClass("mobile_nav-fixed--true"):$("body").addClass("mobile_nav-fixed--false"),$("#header .cart_container").append($(".cart_content").clone()),$(window).width()<=798){$(".dropdown_link").attr("data-no-instant",!0),$("body").on("click",".dropdown_link",function(e3){$(".active_link").removeClass("active_link");var t=$(this).closest("header"),i2=t.find('[data-dropdown="'+$(this).data("dropdown-rel")+'"]');if(t.is(":visible"))$(this).hasClass("mini_cart")||$(".cart_container").removeClass("active_link");else if($(this).hasClass("icon-search"))return window.location=$(this).attr("href"),!1;if(i2.is(":visible")||i2.attr("class")===void 0?(i2.hide(),$("body").removeClass("is-active")):($(".dropdown_container").hide(),$(this).hasClass("cart_
1container")||$(".is-absolute").parent().removeClass("feature_image"),i2.show(),$("body").addClass("is-active"),$(".mobile_nav").find("div").removeClass("open")),i2.is(":visible"))return e3.stopPropagation(),!1}),$("body").on("click",".mobile_nav",function(){$(this).find("div").toggleClass("open")});var e2=function(){$("body").removeClass("is-active"),$(".dropdown_link").toggleClass("active_link"),$(".cart_container").removeClass("active_link")};$("html").on("click",function(t){!$(t.target).closest(".cart_container").length&&$(".cart_content").is(":visible")&&e2(),!$(t.target).closest(".dropdown_container").length&&$(".dropdown").is(":visible")&&($("body").removeClass("is-active"),$(".dropdown_link").removeClass("active_link"),$(".dropdown_container").hide(),$(".mobile_nav").find("div").removeClass("open"))}),$(".mini_cart").on("click",function(t){var i2=$(this).parent();i2.hasClass("active_link")?e2():(function(e3){$(".mobile_nav div").removeClass("open"),$(".dropdown_link").removeClass("active_link"),e3.addClass("active_link")})(i2),(is_touch_device()||$(window).width()<=798)&&t.preventDefault()}),$(".cart_content__continue-shopping").on("click",function(t){e2()})}else $(".main_nav_wrapper, .top_bar, .cart_container").on("mouseleave",function(){$(".dropdown_container").hide(),$(".active_link").removeClass("active_link")}),$(".dropdown_link, .dropdown_link--vertical").attr("data-click-count",0),$("body").on("mouseenter touchstart",".dropdown_link",function(e3){var t=$(this).closest("header").find('[data-dropdown="'+$(this).data("dropdown-rel")+'"]'),i2=$(this).attr("data-click-count");if($(".active_link").removeClass("active_link"),t.show(),$(this).hasClass("mini_cart")?$(this).parent(".cart_container").addClass("active_link"):($(this).addClass("active_link"),$(".is-absolute").parent().removeClass("feature_image")),is_touch_device()&&($(".dropdown_link").not(this).attr("data-click-count",0),$(".dropdown_link").attr("data-no-instant",!0),e3.type==="touchstart"&&(i2++,$(this).attr("data-click-count",i2),i2<2)))return e3.preventDefault(),e3.stopPropagation(),!1})},removeDataAttributes:function(e2){if($(e2).length){var t,i2=$(e2),o=[],n=i2.get(0).attributes,a=n.length;for(t=0;t<a;t++)n[t].name.substring(0,5)==="data-"&&o.push(n[t].name);$.each(o,function(e3,t2){i2.removeAttr(t2)})}},loadMegaMenu:function(){header.removeDataAttributes(".sticky_nav .mega-menu.dropdown_container .dropdown_column"),header.removeDataAttributes(".header .mega-menu.dropdown_container .dropdown_column"),(is_touch_device()||$(window).width()<=798)&&$(".dropdown_link").attr("data-no-instant",!0),header.loadMobileMegaMenu()},loadMobileMegaMenu:function(){$(".mega-menu-container .mobile-mega-menu").each(function(e2){$('[data-mobile-dropdown-rel="'+$(this).data("mobile-dropdown")+'"]').find("span").remove(),$('[data-mobile-dropdown-rel="'+$(this).data("mobile-dropdown")+'"] > a').append(' <span class="right icon-down-arrow"></span>').attr("data-no-instant","true"),$('[data-mobile-dropdown-rel="'+$(this).data("mobile-dropdown")+'"]').addClass("mobile-mega-menu-parent sublink"),$('[data-mobile-dropdown-rel="'+$(this).data("mobile-dropdown")+'"]').append(this),$('[data-mobile-dropdown-rel="'+$(this).data("mobile-dropdown")+'"] > ul').each(function(e3){$(this).hasClass("mobile-mega-menu")||$(this).remove()})})},unloadMegaMenu:function(){},unload:function(){$("body").off("click",".mobile_nav"),$("body").off("click",".dropdown_link"),$("html").off("click"),$(".mini_cart").off("click"),$(".cart_content__continue-shopping").off("click")}},enableLoadMoreProducts=function(){$("body").on("click",".js-load-more a",function(e2){return enableInfiniteScroll(),e2.stopPropagation(),!1})},enableInfiniteScroll=function(){new Waypoint.Infinite({element:$(".collection-matrix")[0],items:".collection-matrix",more:".load-more__btn",loadingClass:"loading-in-progress",onBeforePageLoad:function(){$(".js-load-more").hide()},onAfterPageLoad:function(e2){BUFFALO.enable_shopify_collection_badges&&SPR.$(document).ready(function(){return SPR.registerCallbacks(),SPR.initRatingHandler(),SPR.initDomEls(),SPR.loadProducts(),SPR.loadBadges()}),BUFFALO.show_multiple_currencies&&convertCurrencies()}})};if(Shopify.queryParams={},location.search.length)for(var aKeyValue,i=0,aCouples=location.search.substr(1).split("&");i<aCouples.length;i++)aKeyValue=aCouples[i].split("="),aKeyValue.length>1&&(Shopify.queryParams[decodeURIComponent(aKeyValue[0])]=decodeURIComponent(aKeyValue[1]));var quickFilter={init:function(){var e2=[],t="",i2="",o=($.url("hostname"),$.url("1")?"/"+$.url("1")+"/":""),n=$.url("2")?$.url("2")+"/":"",a=($.url("3"),o+n);t=$("#sort-by").length?$("#sort-by").val():url("?sort_by"),$("#tag_filter").length&&$("#tag_filter").data("default-collection")!=$("#tag_filter").val()&&(urlTag=$("#tag_filter").val().substr($("#tag_filter").val().lastIndexOf("/")+1),urlTag!="all"&&($.inArray(urlTag,e2)>-1||e2.unshift(urlTag))),$("[data-option-filter] input:checked").each(function(){e2.push($(this).val())}),e2=$.makeArray(e2),$.each(e2,function(t2,o2){t2!=e2.length-1?i2+=e2[t2]+"+":i2+=e2[t2]}
1),Shopify.queryParams.sort_by=t,t="?"+$.param(Shopify.queryParams),quickFilter.processUrl(a,i2,t)},updateView:function(e2){$.ajax({type:"GET",url:e2,beforeSend:function(){$(".collection-matrix").addClass("fadeOut animated loading-in-progress filter-loading"),Waypoint.destroyAll()},success:function(t){$(".collection-matrix").removeClass("loading-in-progress"),$(".collection-matrix").removeClass("filter-loading");var i2=$(t).find(".breadcrumb_text").html();$(".breadcrumb_text").html(i2);var o=$(t).find(".paginate").html();$(".paginate").html(o);var n=$(t).find(".sidebar").html();$(".sidebar").html(n);var a=$(t).find(".paginate").html();$(".paginate").empty(),$(".paginate").html(a);var r=$(t).find(".collection-matrix");$(".collection-matrix").remove(),r.insertBefore($(".load-more__icon")),window.history&&window.history.pushState&&window.history.pushState("","",e2),$(".sidebar__collection-filter").length&&collectionSidebarFilter.init(),BUFFALO.pagination_type==="infinite_scroll"&&enableInfiniteScroll(),BUFFALO.show_multiple_currencies&&convertCurrencies(),BUFFALO.enable_shopify_collection_badges&&SPR.$(document).ready(function(){return SPR.registerCallbacks(),SPR.initRatingHandler(),SPR.initDomEls(),SPR.loadProducts(),SPR.loadBadges()})},error:function(t,i2,o){console.log(t),console.log(i2),console.log(o),location.replace(location.protocol+"//"+location.host+e2)},dataType:"html"})},processUrl:function(e2,t,i2){var o;o=e2+t+(i2=i2.replace(/\page=(\w+)&/,"")),quickFilter.updateView(o)}};$("#sort-by").val($("#sort-by").data("default-sort")),$("body").on("change","#tag_filter, #sort-by",function(){quickFilter.init()}),$("body").on("change","#blog_filter",function(){var e2=$(this).val();window.location=e2}),$("input, select, textarea").on("focus blur",function(e2){$("meta[name=viewport]").attr("content","width=device-width,initial-scale=1,maximum-scale="+(e2.type=="blur"?10:1))});var collectionSidebarFilter={init:function(){$(".sidebar .hide-sidebar-toggle").on("click",function(){$(".sidebar").toggleClass("is-hidden")}),$(".filter-active-tag input:checked").parents(".filter-active-tag").siblings(".filter-all-tags").hide(),$(".toggle-all--true .toggle_list .filter-active-tag input:checked").parents("ul.toggle_list").prev().click(),$.url(2)!=="types"&&$.url(2)!=="vendors"||$(".sidebar__collection-filter").remove(),$(".sidebar-block:empty").prev().css("border-bottom","none")},clearAllFilters:function(){$("[data-option-filter] input").attr("checked",!1),$("[data-option-filter] input").trigger("change")},clearSelectedFilter:function(e2){e2.find("[data-option-filter] input").attr("checked",!1),e2.find("[data-option-filter] input").trigger("change")}};$("body").on("change","[data-option-filter] input",function(){quickFilter.init()}),$("body").on("click","[data-reset-filters]",function(){collectionSidebarFilter.clearAllFilters()}),$("body").on("click","[data-clear-filter]",function(){var e2=$(this).parents(".filter-active-tag");collectionSidebarFilter.clearSelectedFilter(e2)});var faqAccordion={init:function(){var t=0,i2=$(".faqAccordion > dt > button");$(".faqAccordion > dd").attr("aria-hidden",!0),i2.attr("aria-expanded",!1),i2.on("click activate",function(){if(t)return!1;t=1;var e2=$(this).attr("aria-expanded")==="false";return $(this).attr("aria-expanded",e2),$(this).parent().next().slideToggle(function(){t=0}),$(this).parent().next().attr("aria-hidden",!e2),!1}),i2.on("keydown",function(t2){(t2.keyCode||e.which)===13&&$(this).trigger("activate")})}},arrowSize="m31,97.6102c5.75872,-18.47159 18.87712,-34.90276 37.05936,-47.61185c-18.18224,-12.71294 -31.30064,-29.14027 -37.05936,-47.608",lightboxGallery={init:function(){if($(".lightbox img").length){var e2=[];$("a.lightbox").each(function(t){e2.push($(this).attr("rel")),e2=e2.filter(function(e3,t2,i2){return i2.indexOf(e3)===t2})}),$.each(e2,function(e3,t){$(".lightbox[rel="+t+"]").attr("data-remodal-target","lightbox-id-"+e3);var i2=['<div class="remodal remodal-lightbox js-remodal-lightbox js-lightbox-'+e3+'" data-rel="'+t+'" data-remodal-id="lightbox-id-'+e3+'" data-remodal-options="hashTracking: false">','<a data-remodal-action="close" class="remodal-close"></a>','<div class="lightbox-gallery"></div>',"</div>"].join("");$("body").append(i2),$(".lightbox[rel="+t+"]").each(function(e4){$(this).attr("data-image-id",e4),$(this).attr("data-no-instant","")})})}}},utils={createAccordion:function(e2,t,i2){var o=$(e2),n=$(e2).find(t),a=$(e2).find(i2),r=e2+" "+t;if(e2.indexOf(".accordion-tabs")>=0){var s=$.map(n,function(e3,t2){return[e3,a[t2]]});o.empty(),$.each(s,function(e3,t2){o.append(this)}),a.removeClass("active"),o.find(".active").next().slideToggle(),t=e2+"> a"}$(e2).children("a").each(function(e3,t2){var i3=(t2=$(this)).attr("href");t2.attr("data-tab-value",i3),t2.removeAttr("href")}),$(e2).find(t+".active").next().slideToggle(),$("body").on("click",r,function(e3){e3.preventDefault(),$(this).toggleClass("active"),$(this).next().slideToggle()})},mobileAccordion:function(e2,t,i2){$(t+".active").next().slideToggle(),$("body").on("click",t,function(e3){e3.preventDefault(),$(this).hasClass("active")||$(".active","#mobile_menu").removeClass("active").next().slideToggle(),$(this).toggleClass("active"),$(this).next().slideToggle()})},mobileParentActiveAccordion:function(e2,t,i2){$(t+".active").parent().next().slideToggle(),$("body").on("click",t,function(e3){e3.preventDefault(),$(this).hasClass("active")||$(".icon-down-arrow.active","#mobile_menu").removeClass("active").parent().next().slideToggle(),$(this).toggleClass("active"),$(this).parent().next().slideToggle()})},initializeTabs:function(){$("ul.tabs > li > a").attr("data-no-instant",!0),$("body").on("click","ul.tabs > li > a",function(e2){e2.preventDefault();var t=$(this).attr("href");t.charAt(0)=="#"&&($("ul.tabs > li > a.active").removeClass("active"),$(this).addClass("active"),$(this).parents("ul.tabs").next().find(t).show().css({display:"block"}).addClass("active").siblings().hide().removeClass("active"))})},pageBannerCheck:function(){!$(".page_banner").length>0||$(".header").hasClass("header-background--solid")?($(".feature_image").removeClass("feature_image"),$(".header.is-absolute").removeClass("is-absolute")):($(".header").addClass("is-absolute"),$("header.feature_image").hasClass("secondary_logo--true")),$(".index-sections").children().first().hasClass("under-menu")?($(".header").hasClass("header-background--solid")||$(".index .header").addClass("is-absolute"),$("header.feature_image").hasClass("secondary_logo--true")):($(".index .feature_image").removeClass("feature_image"),$(".index .header.is-absolute").removeClass("is-absolute"),$("header.feature_image").hasClass("secondary_logo--true")),$(".detail-sections").children().first().hasClass("under-menu")?($(".header").hasClass("header-background--solid")||$('[class^="page-details"] .header').addClass("is-absolute"),$("header.feature_image").hasClass("secondary_logo--true")):($('[class^="page-details"] .feature_image').removeClass("feature_image"),$('[class^="page-details"] .header.is-absolute').removeClass("is-absolute"),$("header.feature_image").hasClass("secondary_logo--true"))},resizeActionButtons:function(){}},sliderBlock={select:function(e2,t){var i2=t.find(".gallery-cell").map(function(){return String($(this).data("block-id"))}),o=t.find(".js-homepage-slideshow"),n=(o.data("slideshow-text-animation"),o.data("flickity"));o.flickity("pausePlayer");for(var a=0;a<i2.length;a++)if(i2[a]===e2){var r=a;r!==n.selectedIndex&&o.flickity("select",parseInt(r),!1,!0)}},deselect:function(e2){var t=e2.find(".flexslider").data("flexslider");t&&t.flickity("unpausePlayer")}};function htmlEncode(e2){return e2?$("<div/>").text(e2).html():""}function is_touch_device(){return"ontouchstart"in window||navigator.maxTouchPoints}function floatToString(e2,t){var i2=e2.toFixed(t).toString();return i2.match(/^\.\d+/)?"0"+i2:i2}if($(function(){var oldFlickityCreate=window.Flickity.prototype._create;if(window.Flickity.prototype._create=function(){var e2=this;return this.element.addEventListener&&this.element.addEventListener("load",function(){e2.onresize()},!0),this._create=oldFlickityCreate,oldFlickityCreate.apply(this,arguments)},FastClick.attach(document.body),header.init(),header.loadMegaMenu(),utils.pageBannerCheck(),slideshow.init(),testimonial.init(),gallery.init(),videoSection.init(),featuredPromotions.init(),featuredCollectionSection.init(),collectionSidebarFilter.init(),cart.init(),productPage.initializeQuantityBox(),productPage.init(
1),productPage.relatedProducts(),recentlyViewed.init(),$("body").on("click",".lightbox",function(){}),$("body").on("opened",".js-remodal-lightbox",function(){var e2,t=$(this),i2=t.find(".lightbox-gallery"),o=t.find(".lightbox-image"),n=$("body").find(".product_gallery").data("zoom"),a=o.length!==1,r=$(this).data("rel"),s=!0;t.attr("data-zoom",n),s=!(n&&$(window).width()<=798)&&o.length!==1,!i2.hasClass("flickity-enabled")&&i2.flickity({wrapAround:"true",cellAlign:"left",contain:!0,imagesLoaded:!0,lazyLoad:2,pageDots:usePageDots,draggable:s,prevNextButtons:a,selectedAttraction:.01,friction:.15,arrowShape:arrowSize}),$groupImages=$(".lightbox[rel="+r+"]"),$groupImages.each(function(o2){var n2=$(this).attr("href");e2=$('<div class="gallery-cell"><img src="'+n2+'" class="lightbox-image"></div>'),$groupImages.length>i2.find(".gallery-cell").length&&i2.flickity("append",e2),i2.flickity("select",currentSlide,!1,!0).focus(),t.find(".lightbox-image").css("opacity","1")}),n&&$(window).width()<=798&&imageFunctions.zoom(".js-remodal-lightbox",!0,1.8)}),$("body").on("closed",".js-remodal-lightbox",function(){$(this).find(".lightbox-image").css("opacity","0")}),BUFFALO.newsletter_popup&&newsletter_popup.init(),window.location.pathname.indexOf("/comments")!=-1&&$("html,body").animate({scrollTop:$("#new-comment").offset().top-140},"slow"),$("body").on("mouseenter",".icon-search",function(){$(".search-terms").focus()}),$("body").on("click",".search-submit",function(){var e2=$(this).parent();e2.isValid()?e2.submit():e2.find(":input").eq(0).focus()}),$(window).width()>798&&($(".animate_right").waypoint(function(){$(this.element).addClass("animated fadeInRight")},{offset:"70%"}),$(".animate_left").waypoint(function(){$(this.element).addClass("animated fadeInLeft")},{offset:"70%"}),$(".animate_up").waypoint(function(){$(this.element).addClass("animated fadeInUp")},{offset:"70%"}),$(".animate_down").waypoint(function(){$(this.element).addClass("animated fadeInDown")},{offset:"70%"})),$(".slider, .flexslider").find("li").unwrap(),$(".slider, .flexslider").flickity({pageDots:usePageDots,imagesLoaded:!0,lazyLoad:2}),utils.createAccordion(".toggle-all--true","h2.toggle","ul.toggle_list"),utils.createAccordion(".footer_menu","h6","ul"),utils.createAccordion(".footer_content","h6","div.toggle_content"),utils.createAccordion(".product_section .accordion-tabs",".tabs li > a",".tabs-content li"),utils.mobileParentActiveAccordion("#mobile_menu","li.sublink > a.parent-link--true span","li.sublink ul"),utils.mobileAccordion("#mobile_menu","li.sublink > a.parent-link--false","li.sublink ul"),utils.initializeTabs(),utils.resizeActionButtons(),faqAccordion.init(),$(window).on("resize",function(){utils.resizeActionButtons()}),$(window).width()<=798&&utils.createAccordion(".toggle-all--false","h2.toggle","ul.toggle_list"),$("body").on("click",".menu-toggle",function(e2){$(this).next("ul").slideToggle(),$(this).toggleClass("active"),$(this).attr("aria-expanded",$(this).attr("aria-expanded")=="true"?"false":"true")}),$(".shopify-section.page-details-section").length||($("body").hasClass("index")?$(".featured-products-section iframe[src*=youtube], .featured-products-section iframe[src*=vimeo]").mediaWrapper({intrinsic:!0}):$("iframe[src*=youtube], iframe[src*=vimeo]").mediaWrapper({intrinsic:!0})),$(window).width()>=959){var modal_width="870px";($(window).width()>=1200||$("html").hasClass("ie"))&&(modal_width="1110px")}BUFFALO.collection_swatches&&$(window).width()>798&&($("body").on("mouseenter",".collection_swatches",function(){$(".swatch span",$(this)).each(function(){$(this).data("image").indexOf("no-image")==-1&&($("<img/>")[0].src=$(this).data("image"))})}),$("body").on("mouseenter",".swatch span",function(){$(this).data("image").indexOf("no-image")==-1&&($(this).parents(".thumbnail").find("img:not(.secondary)").attr("src",$(this).data("image")),$(this).parents(".thumbnail").find("img:not(.secondary)").attr("srcset",$(this).data("image")))})),BUFFALO.display_tos_checkbox&&$("body").on("click touchstart",".cart_content .tos_label",function(){$(this).prev("input").prop("checked",!0)}),BUFFALO.display_tos_checkbox&&BUFFALO.go_to_checkout?$("body").on("click",".cart_content .action_button",function(e2){if(!$(this).parents("form").find(".tos_agree").is(":checked")){var t='<p class="warning animated bounceIn">'+BUFFALO.translations.agree_to_terms_warning+"</p>";return $("p.warning").length==0&&$(this).before(t),!1}$(this).submit()}):BUFFALO.go_to_checkout&&$("body").on("click",".cart_content .action_button",function(e2){e2.preventDefault(),document.location.href="/cart"}),BUFFALO.collection_secondary_image&&imageFunctions.showSecondaryImage();var $contact_form=$(".newsletter .contact-form"),globalQuickShopProduct;$contact_form.each(function(){var e2=$(this);e2.on("submit",function(t){$('input[name="challenge"]',e2).val()!=="true"&&($.ajax({type:e2.attr("method"),url:e2.attr("action"),data:e2.serialize(),success:function(t2){e2.fadeOut("slow",function(){e2.prev(".message").html(BUFFALO.translations.newsletter_form_success_text)})},error:function(t2){$('input[name="challenge"]',e2).val("true"),e2.submit()}}),t.preventDefault())})}),$(".maps").click(function(){$(".maps iframe").css("pointer-events","auto")}),BUFFALO.pagination_type==="load_more"&&enableLoadMoreProducts(),BUFFALO.pagination_type==="infinite_scroll"&&enableInfiniteScroll(),$("body").on("change",".currencies",function(e2){$("[data-initial-modal-price]").attr("data-initial-modal-price","")}),$("body").on("change",".js-quick-shop select",function(e2){var t=$('.js-quick-shop select[name="id"]').val();
1t&&globalQuickShopProduct&&quickShop.updateVariant(t)});var quickShop={init:function(){var e2,t,i2;$("body").on("click",".js-quick-shop-link",function(o){o.preventDefault();for(var n=$(this).data("images").trim("||").split("||"),a=[],r=[],s=0;s<n.length;s+=2)a.push(n[s]),n[s+1]&&r.push(n[s+1]);e2={handle:$(this).data("handle"),product_id:$(this).data("id"),single_variant:$(this).attr("data-single-variant"),product_in_collection_url:$(this).data("url"),escaped_title:$(this).data("title"),details_text:$(this).data("details-text"),full_description:$(this).data("full-description"),regular_description:$(this).data("regular-description"),image_ids:a.filter(function(e3){return e3!==""}),image_alts:r,collection_handles:$(this).data("collection-handles").trim(",").split(","),money_format:$(this).data("money-format")},$(".js-gallery-modal").hasClass("flickity-enabled")||$(".js-gallery-modal").flickity({wrapAround:"true",cellAlign:"left",contain:!0,imagesLoaded:!0,lazyLoad:2,pageDots:usePageDots,prevNextButtons:!0,autoPlay:autoplay,selectedAttraction:.01,friction:.15,arrowShape:arrowSize}),i2=$(this).next(".js-forms").find(".notify_form"),t=$(this).next(".js-forms").find(".product_form"),$(".quick-shop .container").attr("class","container section product-"+e2.product_id),$(".quick-shop .container").attr("id","product-"+e2.product_id),$(".quick-shop .container").attr("data-id",e2.product_id),quickShop.retrieveProductInfo(e2)}),$("body").on("opened",".js-quick-shop",function(){if($(".remodal.quick-shop .js-product-form").html(t),$(".remodal.quick-shop .js-notify-form").html(i2),$(t).hasClass("product_form_options")&&!$(t).hasClass("viewed")){var e3=$(t).data("product");e3.variants=e3.variants.filter(function(e4){return e4.available}),new Shopify.OptionSelectors($(t).data("select-id"),{product:e3,onVariantSelected:selectCallback,enableHistoryState:$(t).data("enable-state")})}else BUFFALO.show_multiple_currencies&&convertCurrencies();if(BUFFALO.product_form_style==="swatches"){var o=$(t).data("product");$(t).find(".swatch_options .swatch").length>1&&Shopify.linkOptionSelectors(o,".js-quick-shop")}utils.initializeTabs(),$('.js-quick-shop select[name="id"]').trigger("change")}),$("body").on("closed",".js-quick-shop",function(t2){var i3=$(".js-quick-shop .product_form"),o=$(".js-quick-shop .notify_form");$(".form-holder-"+e2.product_id).append(i3),$(".form-holder-"+e2.product_id).append(o),$(".form-holder-"+e2.product_id+" .product_form").addClass("viewed"),$(".form-holder-"+e2.product_id+" .notify_form").addClass("viewed");var n=$(".js-current-price .money").text();$(".js-quick-shop-link[data-id="+e2.product_id+"]").attr("data-initial-modal-price",n),$(".js-current-price, .js-was-price, .js-savings").empty()})},retrieveProductInfo:function(e2){$.ajax({dataType:"json",async:!1,cache:!1,url:"/products/"+e2.handle+".js",success:function(t){t=$.extend({},t,e2),quickShop.populateGallery(t),globalQuickShopProduct=t,quickShop.updateVariant(t.variants[0].id.toString())}})},updateVariant:function(e2){if($(".js-sale-banner, .js-sold-out, .js-current-price, .js-was-price, .js-savings, .js-new-banner, .js-pre-order-banner").empty(),globalQuickShopProduct!="undefined"){var t=globalQuickShopProduct;$(".modal_price, .js-notify-form").show(),$(".js-product-title").html('<a href="'+t.product_in_collection_url+'" title="'+t.escaped_title+'">'+t.title+"</a>"),$(".js-product-vendor").html('<a href="/collections/vendors?q='+t.vendor+'">'+t.vendor+"</a>"),$(".js-full-description").html(t.full_description),$(".js-regular-description").html(t.regular_description);var i2='<a href="'+t.product_in_collection_url+'" class="secondary_button" title="'+t.escaped_title+' Details">'+t.details_text+"</a>";if($(".js-product-details").html(i2),$.each(t.collection_handles,function(e3,i3){this.toString()=="new"&&$(".js-new-banner").html(BUFFALO.translations.collections_new),this.toString()=="pre-order"&&$(".js-pre-order-banner").html(BUFFALO.translations.collections_pre_order),this.toString()=="coming-soon"&&(t.price=BUFFALO.translations.collections_coming_soon)}),t.single_variant=="true")BUFFALO.sale_banner_enabled&&t.compare_at_price>t.price&&$(".js-sale-banner").html(BUFFALO.translations.collections_sale),t.compare_at_price>t.price?$(".js-current-price").addClass("sale"):$(".js-current-price").removeClass("sale"),t.available==0&&$(".js-sold-out").html(BUFFALO.translations.product_sold_out),t.available==1&&(t.compare_at_price>t.price&&($(".js-was-price").html('<span class="money">'+Shopify.formatMoney(t.compare_at_price,t.money_format)+"</span>"),$(".js-savings").html(BUFFALO.translations.product_savings+" "+parseInt(100*(t.compare_at_price-t.price)/t.compare_at_price)+'% (<span class="money">'+Shopify.formatMoney(t.compare_at_price-t.price,t.money_format)+"</span>)")),t.price==BUFFALO.translations.collections_coming_soon?$(".js-current-price").html(BUFFALO.translations.collections_coming_soon):t.price?$(".js-current-price").html('<span class="money">'+Shopify.formatMoney(t.price,t.money_format)+"</span>"):$(".js-current-price").html(BUFFALO.free_price_text));else for(var o=0;o<t.variants.length;o++)e2==t.variants[o].id.toString()&&(BUFFALO.sale_banner_enabled&&t.variants[o].compare_at_price>t.variants[o].price&&$(".js-sale-banner").html(BUFFALO.translations.collections_sale),t.variants[o].compare_at_price>t.variants[o].price?$(".js-current-price").addClass("sale"):$(".js-current-price").removeClass("sale"),t.variants[o].available==0&&$(".js-sold-out").html(BUFFALO.translations.product_sold_out),t.variants[o].available==1&&(t.variants[o].compare_at_price>t.variants[o].price&&($(".js-was-price").html('<span class="money">'+Shopify.formatMoney(t.variants[o].compare_at_price,t.money_format)+"</span>"),$(".js-savings").html(BUFFALO.translations.product_savings+" "+parseInt(100*(t.variants[o].compare_at_price-t.variants[o].price)/t.variants[o].compare_at_price)+'% (<span class="money">'+Shopify.formatMoney(t.variants[o].compare_at_price-t.variants[o].price,t.money_format)+"</span>)")),t.variants[o].price==BUFFALO.translations.collections_coming_soon?$(".js-current-price").html(BUFFALO.translations.collections_coming_soon):t.variants[o].price?$(".js-current-price").html('<span class="money">'+Shopify.formatMoney(t.variants[o].price,t.money_format)+"</span>"):$(".js-current-price").html(BUFFALO.free_price_text)))}BUFFALO.show_multiple_currencies&&convertCurrencies(),$(".js-quick-shop iframe[src*=youtube], .js-quick-shop iframe[src*=vimeo]").mediaWrapper({intrinsic:!0})},populateGallery:function(e2){var t=$(".js-gallery-modal"),i2=$(".js-gallery-carousel");function o(i3){$.each(e2.images,function(i4,o2){var n,a=o2.replace(/(\.[^.]*)$/,"_grande$1").replace("http:",""),r=o2.replace(/(\.[^.]*)$/,"_1024x1024$1").replace("http:",""),s=o2.replace(/(\.[^.]*)$/,"_2048x2048$1").replace("http:",""),l=e2.image_alts[i4];n=l.indexOf("youtube")>=0?'<div class="video-container youtube"><div>'+l+"</div></div>":l.indexOf("vimeo")>=0?'<div class="video-container vimeo"><div>'+l+"</div></div>":'<img src="'+a+'" data-src="'+r+'" alt="'+l+'" data-image-id="'+e2.image_ids[i4].trim()+'" data-index="'+i4+'" srcset="'+a+" 600w, "+r+" 1024w, "+s+' 2048w" sizes="(min-width: 800px) 50vw, 100vw"/>';var c=$('<div class="gallery-cell">'+n+"</div>");t.flickity("append",c)}),t.removeClass("single-image multi-image").addClass(i3?"multi-image":"single-image")}$(document).on("closed",".js-quick-shop",function(e3){t.flickity("remove",$(".js-gallery-modal .gallery-cell")),i2.empty()}),e2.images.length>1?(o(!0),$.each(e2.images,function(t2,o2){var n='<img src="'+o2.replace(/(\.[^.]*)$/,"_grande$1").replace("http:","")+'" alt="'+e2.image_alts[t2]+'" />
1',a=$('<div class="gallery-cell">'+n+"</div>");i2.append(a)}),imageFunctions.linkGalleryAndCarousel(t,i2)):o(!1),imageFunctions.zoom(".js-gallery-modal",!1)}};function ajaxSubmitCart(e2){$cart=e2,$.ajax({url:"/cart/update.js",dataType:"json",cache:!1,type:"post",data:$cart.serialize(),success:function(e3){refreshCart(e3)}})}function ajaxUpdateCart(e2,t,i2){$.ajax({url:"/cart/change.js",dataType:"json",cache:!1,type:"post",data:{quantity:t,line:e2},success:function(o){refreshCart(o);var n=e2-1;if(o.items[n]===void 0)var a=0;else a=o.items[n].quantity;if(t>0&&t!=a){items_left_text=a==1?BUFFALO.translations.items_left_count_one:BUFFALO.translations.items_left_count_other,$(".warning--quantity").remove();var r='<p class="warning warning--quantity animated bounceIn">'+a+" "+items_left_text+"</p>";i2.find("input[data-line-id='"+e2+"']").parent().after(r),i2.find("input[data-line-id='"+e2+"']").val(a)}else i2.is("#cart_form")&&$("#cart_form").submit()}})}function refreshCart(e2){window.updateShippinginfo(e2.total_price),console.log("fdafdasfdsa"),console.log(e2.total_price);var t=$(".cart_count"),mcc=$(".mobile-cart_count"),scc=$(".sl-cart_count"),dcc=$("#ccount");t.empty();var i2="",o="",n="",a=$(".cart_content form"),r=0,s=0;t.text(e2.item_count),mcc.text(e2.item_count),scc.text(e2.item_count),dcc.attr("data-items",e2.item_count),e2.item_count==0?($(".js-empty-cart__message").removeClass("hidden"),$(".js-cart_content__form").addClass("hidden")):($(".js-empty-cart__message").addClass("hidden"),$(".js-cart_content__form").removeClass("hidden"),$.each(e2.items,function(e3,t2){var o2=e3+1;i2+='<li class="cart_item clearfix"><a href="#" class="rm_item" data-item="'+o2+'">X</a><a href="'+t2.url+'">',t2.image&&(i2+='<div class="cart_image"><img src="'+t2.image.replace(/(\.[^.]*)$/,"_compact$1").replace("http:","")+'" alt="'+htmlEncode(t2.title)+'" /></div>'),i2+='<div class="item_title">'+t2.title,t2.properties&&$.each(t2.properties,function(e4,t3){t3&&(i2+='<div class="line-item">'+e4+": "+t3+"</div>")}),i2+="</div></a>",i2+='<strong class="right price">',BUFFALO.display_savings&&$.ajax({dataType:"json",async:!1,cache:!1,url:"/products/"+t2.handle+".js",success:function(e4){var o3=t2.variant_id,n2=$.grep(e4.variants,function(e5){return e5.id==o3});n2[0]&&n2[0].compare_at_price>
1t2.price&&(i2+=' <span class="money was_price">'+Shopify.formatMoney(n2[0].compare_at_price,a.data("money-format"))+"</span> ",r+=t2.price*t2.quantity,s+=n2[0].compare_at_price*t2.quantity)}}),i2+='<span class="money">'+Shopify.formatMoney(t2.price,a.data("money-format"))+"</span></strong>",i2+='<div class="left product-quantity-box"><span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span><input type="number" min="0" class="quantity" name="updates[]" id="updates_'+t2.id+'" value="'+t2.quantity+'" data-line-id="'+o2+'" /><span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span></div></li>'}),o+='<span class="right"><span class="money">'+Shopify.formatMoney(e2.total_price,a.data("money-format"))+"</span></span><span>"+BUFFALO.translations.subtotal+"</span>",n=s>0?'<span class="right"><span class="money">'+Shopify.formatMoney(s-r,a.data("money-format"))+"</span></span><span>"+BUFFALO.translations.savings+"</span>":""),$(".js-cart_items").html(i2),$(".js-cart_subtotal").html(o),$(".js-cart_savings").html(n),BUFFALO.show_multiple_currencies&&convertCurrencies()}if($("body").on("click",".rm_item",function(){var lineitem=$(this).data("item");ajaxUpdateCart(lineitem,0,$(this).parents("#cart_form"))}),$(".cart_container .mini_cart.dropdown_link, .cart-icon").click(function(){return $("body").hasClass("cart")||$("body").addClass("sl-open"),!1}),$(".sl_header a, .conShop, .sl-overlay").click(function(){return $("body").removeClass("sl-open"),!1}),BUFFALO.quick_shop_enabled&&quickShop.init(),$("body").on("change","#cart_form input.quantity1",function(){ajaxUpdateCart($(this).data("line-id"),$(this).val(),$(this).parents("#cart_form"))}),$("body").on("change",".cart_content input.quantity",function(){ajaxUpdateCart($(this).data("line-id"),$(this).val(),$(this).parents(".cart_content"))}),BUFFALO.cart_action==="ajax"&&$("body").on("submit",".product_form",function(e){e.preventDefault();var $addToCartForm=$(this),$addToCartBtn=$addToCartForm.find(".add_to_cart");return $.ajax({url:"/cart/add.js",dataType:"json",cache:!1,type:"post",data:$addToCartForm.serialize(),beforeSend:function(){$addToCartBtn.attr("disabled","disabled").addClass("disabled"),$addToCartBtn.find("span").removeClass("fadeInDown").addClass("animated zoomOut")},success:function(e2){$addToCartBtn.find(".checkmark").addClass("checkmark-active"),window.setTimeout(function(){$addToCartBtn.removeAttr("disabled").removeClass("disabled"),$addToCartBtn.find(".checkmark").removeClass("checkmark-active"),$addToCartBtn.find("span").removeClass("zoomOut").addClass("fadeInDown")},1e3),$.ajax({url:"/cart.js",dataType:"json",cache:!1,success:function(e3){refreshCart(e3),$("body").addClass("sl-open"),$("html").hasClass("remodal-is-locked")&&$(".remodal-close").click(),$("#header").is(":visible")?$("#header .cart_container").addClass("active_link"):$(".sticky_nav--stick").length?$(".sticky_nav .cart_container").addClass("active_link"):$(".top_bar .cart_container").addClass("active_link")}})},error:function error(XMLHttpRequest){var response=eval("("+XMLHttpRequest.responseText+")");response=response.description,$(".warning").remove();var warning='<p class="warning animated bounceIn test">Please select an option</p>';$addToCartForm.after(warning),$addToCartBtn.removeAttr("disabled").removeClass("disabled"),$addToCartBtn.find("span").text(BUFFALO.translations.product_add_to_cart).removeClass("zoomOut").addClass("zoomIn")}}),!1}),BUFFALO.product_form_style==="swatches"){if($(".js-product_section").length){var $productForms=$(".js-product_section").find(".product_form");$productForms.addClass("is-visible"),$productForms.each(function(){var e2=$(this).data("product"),t=".product-"+$(this).data("product-id")+" .js-product_section";$(this).find(".swatch_options .swatch").length>1&&Shopify.linkOptionSelectors(e2,t)})}$(".js-product_section").length>1&&$("body").on("click",".swatch-element",function(){var e2=$(this).data("value");$(this).siblings('input[value="'+e2.replace(/\"/g,'\\"')+'"]').prop("checked",!0).trigger("change");var t=$(this).parents(".product_form").data("product"),i2=".product-"+$(this).parents(".product_form").data("product-id")+" .js-product_section";$(this).parents(".product_form").find(".swatch_options .swatch").length>1&&Shopify.linkOptionSelectors(t,i2)})}}),Shopify.updateOptionsInSelector=function(e2,t){switch(e2){case 0:var i2="root",o=$(t+" .single-option-selector:eq(0)");break;case 1:i2=$(t+" .single-option-selector:eq(0)").val(),o=$(t+" .single-option-selector:eq(1)");break;case 2:i2=$(t+" .single-option-selector:eq(0)").val(),i2+=" / "+$(t+" .single-option-selector:eq(1)").val(),o=$(t+" .single-option-selector:eq(2)")}var n=Shopify.optionsMap[i2];$(t+' .swatch[data-option-index="'+e2+'"] .swatch-element').each(function(){$.inArray($(this).attr("data-value"),n)!==-1?$(this).removeClass("soldout").find(":radio").removeAttr("disabled","disabled").removeAttr("checked"):$(this).addClass("soldout").find(":radio").removeAttr("checked").attr("disabled","disabled")}),o.trigger("change")},Shopify.linkOptionSelectors=function(e2,t){Shopify.optionsMap={};for(var i2=0;i2<e2.variants.length;i2++){var o=e2.variants[i2];if(o.available){if(Shopify.optionsMap.root=Shopify.optionsMap.root||[],Shopify.optionsMap.root.push(o.option1),Shopify.optionsMap.root=Shopify.uniq(Shopify.optionsMap.root),e2.options.length>1){var n=o.option1;Shopify.optionsMap[n]=Shopify.optionsMap[n]||[],Shopify.optionsMap[n].push(o.option2),Shopify.optionsMap[n]=Shopify.uniq(Shopify.optionsMap[n])}e2.options.length===3&&(n=o.option1+" / "+o.option2,Shopify.optionsMap[n]=Shopify.optionsMap[n]||[],Shopify.optionsMap[n].push(o.option3),Shopify.optionsMap[n]=Shopify.uniq(Shopify.optionsMap[n]))}}Shopify.updateOptionsInSelector(0,t),e2.options.length>1&&Shopify.updateOptionsInSelector(1,t),e2.options.length===3&&Shopify.updateOptionsInSelector(2,t),$(t+" .single-option-selector:eq(0)").change(function(){return Shopify.updateOptionsInSelector(1,t),e2.options.length===3&&Shopify.updateOptionsInSelector(2,t),!0}),$(t+" .single-option-selector:eq(1)").change(function(){return e2.options.length===3&&Shopify.updateOptionsInSelector(2,t),!0})},Shopify===void 0)var Shopify={};function PointerEventsPolyfill(e2){if(this.options={selector:"*",mouseEvents:["click","dblclick","mousedown","mouseup"],usePolyfillIf:function(){return navigator.appName=="Microsoft Internet Explorer"&&navigator.userAgent.match(/MSIE ([0-9]{1,}[\.0-9]{0,})/)!=null&&11>
1parseFloat(RegExp.$1)}},e2){var t=this;$.each(e2,function(e3,i2){t.options[e3]=i2})}this.options.usePolyfillIf()&&this.register_mouse_events()}Shopify.each=function(e2,t){for(var i2=0;i2<e2.length;i2++)t(e2[i2],i2)},Shopify.map=function(e2,t){for(var i2=[],o=0;o<e2.length;o++)i2.push(t(e2[o],o));return i2},Shopify.arrayIncludes=function(e2,t){for(var i2=0;i2<e2.length;i2++)if(e2[i2]==t)return!0;return!1},Shopify.uniq=function(e2){for(var t=[],i2=0;i2<e2.length;i2++)Shopify.arrayIncludes(t,e2[i2])||t.push(e2[i2]);return t},Shopify.isDefined=function(e2){return e2!==void 0},Shopify.getClass=function(e2){return Object.prototype.toString.call(e2).slice(8,-1)},Shopify.extend=function(e2,t){function i2(){}i2.prototype=t.prototype,e2.prototype=new i2,e2.prototype.constructor=e2,e2.baseConstructor=t,e2.superClass=t.prototype},Shopify.locationSearch=function(){return window.location.search},Shopify.locationHash=function(){return window.location.hash},Shopify.replaceState=function(e2){window.history.replaceState({},document.title,e2)},Shopify.urlParam=function(e2){var t=RegExp("[?&]"+e2+"=([^&#]*)").exec(Shopify.locationSearch());return t&&decodeURIComponent(t[1].replace(/\+/g," "))},Shopify.newState=function(e2,t){return(Shopify.urlParam(e2)?Shopify.locationSearch().replace(RegExp("("+e2+"=)[^&#]+"),"$1"+t):Shopify.locationSearch()===""?"?"+e2+"="+t:Shopify.locationSearch()+"&"+e2+"="+t)+Shopify.locationHash()},Shopify.setParam=function(e2,t){Shopify.replaceState(Shopify.newState(e2,t))},Shopify.Product=function(e2){Shopify.isDefined(e2)&&this.update(e2)},Shopify.Product.prototype.update=function(e2){for(var t in e2)this[t]=e2[t]},Shopify.Product.prototype.optionNames=function(){return Shopify.getClass(this.options)=="Array"?this.options:[]},Shopify.Product.prototype.optionValues=function(e2){if(!Shopify.isDefined(this.variants))return null;var t=Shopify.map(this.variants,function(t2){var i2="option"+(e2+1);return t2[i2]==null?null:t2[i2]});return t[0]==null?null:Shopify.uniq(t)},Shopify.Product.prototype.getVariant=function(e2){var t=null;return e2.length!=this.options.length||Shopify.each(this.variants,function(i2){for(var o=!0,n=0;n<e2.length;n++)i2["option"+(n+1)]!=e2[n]&&(o=!1);return o==1?void(t=i2):void 0}),t},Shopify.Product.prototype.getVariantById=function(e2){for(var t=0;t<this.variants.length;t++){var i2=this.variants[t];if(e2==i2.id)return i2}return null},Shopify.money_format="${{amount}}",Shopify.formatMoney=function(e2,t){function i2(e3,t2){return e3===void 0?t2:e3}function o(e3,t2,o2,n2){if(t2=i2(t2,2),o2=i2(o2,","),n2=i2(n2,"."),isNaN(e3)||e3==null)return 0;var a2=(e3=(e3/100).toFixed(t2)).split(".");return a2[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+o2)+(a2[1]?n2+a2[1]:"")}typeof e2=="string"&&(e2=e2.replace(".",""));var n="",a=/\{\{\s*(\w+)\s*\}\}/,r=t||this.money_format;switch(r.match(a)[1]){case"amount":n=o(e2,2);break;case"amount_no_decimals":n=o(e2,0);break;case"amount_with_comma_separator":n=o(e2,2,".",",");break;case"amount_no_decimals_with_comma_separator":n=o(e2,0,".",",")}return r.replace(a,n)},Shopify.OptionSelectors=function(e2,t){return this.selectorDivClass="selector-wrapper",this.selectorClass="single-option-selector",this.variantIdFieldIdSuffix="-variant-id",this.variantIdField=null,this.historyState=null,this.selectors=[],this.domIdPrefix=e2,this.product=new Shopify.Product(t.product),this.onVariantSelected=Shopify.isDefined(t.onVariantSelected)?t.onVariantSelected:function(){},this.replaceSelector(e2),this.initDropdown(),t.enableHistoryState&&(this.historyState=new Shopify.OptionSelectors.HistoryState(this)),!0},Shopify.OptionSelectors.prototype.initDropdown=function(){var e2={initialLoad:!0};if(!this.selectVariantFromDropdown(e2)){var t=this;setTimeout(function(){t.selectVariantFromParams(e2)||t.fireOnChangeForFirstDropdown.call(t,e2)})}},Shopify.OptionSelectors.prototype.fireOnChangeForFirstDropdown=function(e2){this.selectors[0].element.onchange(e2)},Shopify.OptionSelectors.prototype.selectVariantFromParamsOrDropdown=function(e2){this.selectVariantFromParams(e2)||this.selectVariantFromDropdown(e2)},Shopify.OptionSelectors.prototype.replaceSelector=function(e2){var t=document.getElementById(e2),i2=t.parentNode;Shopify.each(this.buildSelectors(),function(e3){i2.insertBefore(e3,t),$(e3).find("select").prepend($(t).find("[data-select-placeholder]").clone())}),t.style.display="none",this.variantIdField=t},Shopify.OptionSelectors.prototype.selectVariantFromDropdown=function(e2){var t=document.getElementById(this.domIdPrefix).querySelector("[selected]");if(t||(t=document.getElementById(this.domIdPrefix).querySelector('[selected="selected"]')),!t)return!1;var i2=t.value;return this.selectVariant(i2,e2)},Shopify.OptionSelectors.prototype.selectVariantFromParams=function(e2){var t=Shopify.urlParam("variant");return this.selectVariant(t,e2)},Shopify.OptionSelectors.prototype.selectVariant=function(e2,t){var i2=this.product.getVariantById(e2);if(i2==null)return!1;for(var o=0;o<this.selectors.length;o++){var n=this.selectors[o].element,a=i2[n.getAttribute("data-option")];a!=null&&this.optionExistInSelect(n,a)&&(n.value=a)}return typeof jQuery!="undefined"?jQuery(this.selectors[0].element).trigger("change",t):this.selectors[0].element.onchange(t),!0},Shopify.OptionSelectors.prototype.optionExistInSelect=function(e2,t){for(var i2=0;i2<e2.options.length;i2++)if(e2.options[i2].value==t)return!0},Shopify.OptionSelectors.prototype.insertSelectors=function(e2,t){Shopify.isDefined(t)&&this.setMessageElement(t),this.domIdPrefix="product-"+this.product.id+"-variant-selector";var i2=document.getElementById(e2);Shopify.each(this.buildSelectors(),function(e3){i2.appendChild(e3)})},Shopify.OptionSelectors.prototype.buildSelectors=function(){for(var e2=0;e2<this.product.optionNames().length;e2++){var t=new Shopify.SingleOptionSelector(this,e2,this.product.optionNames()[e2],this.product.optionValues(e2));t.element.disabled=!1,this.selectors.push(t)}var i2=this.selectorDivClass,o=this.product.optionNames();return Shopify.map(this.selectors,function(e3){var t2=document.createElement("div");if(t2.setAttribute("class",i2),o.length>1){var n=document.createElement("label");
1n.htmlFor=e3.element.id,n.innerHTML=e3.name,t2.appendChild(n)}return t2.appendChild(e3.element),t2})},Shopify.OptionSelectors.prototype.selectedValues=function(){for(var e2=[],t=0;t<this.selectors.length;t++){var i2=this.selectors[t].element.value;e2.push(i2)}return e2},Shopify.OptionSelectors.prototype.updateSelectors=function(e2,t){var i2=this.selectedValues(),o=this.product.getVariant(i2);o?(this.variantIdField.disabled=!1,this.variantIdField.value=o.id):this.variantIdField.disabled=!0,this.onVariantSelected(o,this,t),this.historyState!=null&&this.historyState.onVariantChange(o,this,t)},Shopify.OptionSelectorsFromDOM=function(e2,t){var i2=t.optionNames||[],o=t.priceFieldExists||!0,n=t.delimiter||"/",a=this.createProductFromSelector(e2,i2,o,n);t.product=a,Shopify.OptionSelectorsFromDOM.baseConstructor.call(this,e2,t)},Shopify.extend(Shopify.OptionSelectorsFromDOM,Shopify.OptionSelectors),Shopify.OptionSelectorsFromDOM.prototype.createProductFromSelector=function(e2,t,i2,o){Shopify.isDefined(i2)||(i2=!0),Shopify.isDefined(o)||(o="/");var n=document.getElementById(e2),a=n.childNodes,r=(n.parentNode,t.length),s=[];Shopify.each(a,function(e3,n2){if(e3.nodeType==1&&e3.tagName.toLowerCase()=="option"){var a2=e3.innerHTML.split(new RegExp("\\s*\\"+o+"\\s*"));t.length==0&&(r=a2.length-(i2?1:0));var l2=a2.slice(0,r),c2=i2?a2[r]:"",d=(e3.getAttribute("value"),{available:!e3.disabled,id:parseFloat(e3.value),price:c2,option1:l2[0],option2:l2[1],option3:l2[2]});s.push(d)}});var l={variants:s};if(t.length==0){l.options=[];for(var c=0;r>c;c++)l.options[c]="option "+(c+1)}else l.options=t;return l},Shopify.SingleOptionSelector=function(e2,t,i2,o){this.multiSelector=e2,this.values=o,this.index=t,this.name=i2,this.element=document.createElement("select");for(var n=0;n<o.length;n++){var a=document.createElement("option");a.value=o[n],a.innerHTML=o[n],this.element.appendChild(a)}return this.element.setAttribute("class",this.multiSelector.selectorClass),this.element.setAttribute("data-option","option"+(t+1)),this.element.id=e2.domIdPrefix+"-option-"+t,this.element.onchange=function(i3,o2){o2=o2||{},e2.updateSelectors(t,o2)},!0},Shopify.Image={preload:function(e2,t){for(var i2=0;i2<e2.length;i2++){var o=e2[i2];this.loadImage(this.getSizedImageUrl(o,t))}},loadImage:function(e2){new Image().src=e2},switchImage:function(e2,t,i2){if(e2&&t){var o=this.imageSize(t.src),n=this.getSizedImageUrl(e2.src,o);i2?i2(n,e2,t):t.src=n}},imageSize:function(e2){var t=e2.match(/_(1024x1024|2048x2048|pico|icon|thumb|small|compact|medium|large|grande)\./);return t!=null?t[1]:null},getSizedImageUrl:function(e2,t){if(t==null)return e2;if(t=="master")return this.removeProtocol(e2);var i2=e2.match(/\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?$/i);if(i2!=null){var o=e2.split(i2[0]),n=i2[0];return this.removeProtocol(o[0]+"_"+t+n)}return null},removeProtocol:function(e2){return e2.replace(/http(s)?:/,"")}},Shopify.OptionSelectors.HistoryState=function(e2){this.browserSupports()&&this.register(e2)},Shopify.OptionSelectors.HistoryState.prototype.register=function(e2){window.addEventListener("popstate",function(t){e2.selectVariantFromParamsOrDropdown({popStateCall:!0})})},Shopify.OptionSelectors.HistoryState.prototype.onVariantChange=function(e2,t,i2){this.browserSupports()&&(!e2||i2.initialLoad||i2.popStateCall||Shopify.setParam("variant",e2.id))},Shopify.OptionSelectors.HistoryState.prototype.browserSupports=function(){return window.history&&window.history.replaceState},(function(e2){e2.extend(e2.expr[":"],{"off-top":function(t){return e2(t).offset().top<e2(window).scrollTop()},"off-right":function(t){return e2(t).offset().left+e2(t).outerWidth()-e2(window).scrollLeft()>e2(window).width()},"off-bottom":function(t){return e2(t).offset().top+e2(t).outerHeight()-e2(window).scrollTop()>e2(window).height()},"off-left":function(t){return e2(t).offset().left<e2(window).scrollLeft()},"off-screen":function(t){return e2(t).is(":off-top, :off-right, :off-bottom, :off-left")}})})(jQuery),(function(e2){var t={url:!1,callback:!1,target:!1,duration:120,on:"mouseover",touch:!0,onZoomIn:!1,onZoomOut:!1,magnify:1};e2.zoom=function(t2,i2,o,n){var a,r,s,l,c,d,u,p=e2(t2),h=p.css("position"),f=e2(i2);return p.css("position",/(absolute|fixed)/.test(h)?h:"relative"),p.css("overflow","hidden"),o.style.width=o.style.height="",e2(o).addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:o.width*n,height:o.height*n,border:"none",maxWidth:"none",maxHeight:"none"}).appendTo(t2),{init:function(){r=p.outerWidth(),a=p.outerHeight(),i2===p[0]?(l=r,s=a):(l=f.outerWidth(),s=f.outerHeight()),c=(o.width-r)/l,d=(o.height-a)/s,u=f.offset()},move:function(e3){var t3=e3.pageX-u.left,i3=e3.pageY-u.top;i3=Math.max(Math.min(i3,s),0),t3=Math.max(Math.min(t3,l),0),o.style.left=t3*-c+"px",o.style.top=i3*-d+"px"}}},e2.fn.zoom=function(i2){return this.each(function(){var o,n=e2.extend({},t,i2||{}),a=n.target||this,r=this,s=e2(r),l=e2(a),c=document.createElement("img"),d=e2(c),u="mousemove.zoom",p=!1,h=!1;(n.url||((o=s.find("img"))[0]&&(n.url=o.data("src")||o.attr("src")),n.url))&&((function(){var e3=l.css("position"),t2=l.css("overflow");s.one("zoom.destroy",function(){s.off(".zoom"),l.css("position",e3),l.css("overflow",t2),d.remove()})})(),c.onload=function(){var t2=e2.zoom(a,r,c,n.magnify);function i3(i4){t2.init(),t2.move(i4),d.stop().fadeTo(e2.support.opacity?n.duration:0,1,!!e2.isFunction(n.onZoomIn)&&n.onZoomIn.call(c))}function o2(){d.stop().fadeTo(n.duration,0,!!e2.isFunction(n.onZoomOut)&&n.onZoomOut.call(c))}n.on==="grab"?s.on("mousedown.zoom",function(n2){n2.which===1&&(e2(document).one("mouseup.zoom",function(){o2(),e2(document).off(u,t2.move)}),i3(n2),e2(document).on(u,t2.move),n2.preventDefault())}):n.on==="click"?s.on("click.zoom",function(n2){return p?void 0:(p=!0,i3(n2),e2(document).on(u,t2.move),e2(document).one("click.zoom",function(){o2(),p=!1,e2(document).off(u,t2.move)}),!1)}):n.on==="toggle"?s.on("click.zoom",function(e3){p?o2():i3(e3),p=!p}):n.on==="mouseover"&&(t2.init(),s.on("mouseenter.zoom",i3).on("mouseleave.zoom",o2).on(u,t2.move)),n.touch&&s.on("touchstart.zoom",function(e3){e3.preventDefault(),h?(h=!1,o2()):(h=!0,i3(e3.originalEvent.touches[0]||e3.originalEvent.changedTouches[0]))}).on("touchmove.zoom",function(e3){e3.preventDefault(),t2.move(e3.originalEvent.touches[0]||e3.originalEvent.changedTouches[0])}).on("touchend.zoom",function(e3){e3.preventDefault(),h&&(h=!1,o2())}),e2.isFunction(n.callback)&&n.callback.call(c)},c.src=n.url)})},e2.fn.zoom.defaults=t})(window.jQuery),(function(){function e2(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");
vendor: 5,239 bytes, line 1
1this.key="waypoint-"+t,this.options=e2.Adapter.extend({},e2.defaults,o),this.element=this.options.element,this.adapter=new e2.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e2.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e2.Context.findOrCreateByElement(this.options.context),e2.offsetAliases[this.options.offset]&&(this.options.offset=e2.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i2[this.key]=this,t+=1}var t=0,i2={};e2.prototype.queueTrigger=function(e3){this.group.queueTrigger(this,e3)},e2.prototype.trigger=function(e3){this.enabled&&this.callback&&this.callback.apply(this,e3)},e2.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i2[this.key]},e2.prototype.disable=function(){return this.enabled=!1,this},e2.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e2.prototype.next=function(){return this.group.next(this)},e2.prototype.previous=function(){return this.group.previous(this)},e2.invokeAll=function(e3){var t2=[];for(var o in i2)t2.push(i2[o]);for(var n=0,a=t2.length;a>n;n++)t2[n][e3]()},e2.destroyAll=function(){e2.invokeAll("destroy")},e2.disableAll=function(){e2.invokeAll("disable")},e2.enableAll=function(){e2.invokeAll("enable")},e2.refreshAll=function(){e2.Context.refreshAll()},e2.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e2.viewportWidth=function(){return document.documentElement.clientWidth},e2.adapters=[],e2.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e2.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e2})(),(function(){function e2(e3){window.setTimeout(e3,1e3/60)}function t(e3){this.element=e3,this.Adapter=n.Adapter,this.adapter=new this.Adapter(e3),this.key="waypoint-context-"+i2,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e3.waypointContextKey=this.key,o[e3.waypointContextKey]=this,i2+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i2=0,o={},n=window.Waypoint,a=window.onload;t.prototype.add=function(e3){var t2=e3.options.horizontal?"horizontal":"vertical";this.waypoints[t2][e3.key]=e3,this.refresh()},t.prototype.checkEmpty=function(){var e3=this.Adapter.isEmptyObject(this.waypoints.horizontal),t2=this.Adapter.isEmptyObject(this.waypoints.vertical);e3&&t2&&(this.adapter.off(".waypoints"),delete o[this.key])},t.prototype.createThrottledResizeHandler=function(){function e3(){t2.handleResize(),t2.didResize=!1}var t2=this;this.adapter.on("resize.waypoints",function(){t2.didResize||(t2.didResize=!0,n.requestAnimationFrame(e3))})},t.prototype.createThrottledScrollHandler=function(){function e3(){t2.handleScroll(),t2.didScroll=!1}var t2=this;this.adapter.on("scroll.waypoints",function(){(!t2.didScroll||n.isTouch)&&(t2.didScroll=!0,n.requestAnimationFrame(e3))})},t.prototype.handleResize=function(){n.Context.refreshAll()},t.prototype.handleScroll=function(){var e3={},t2={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i3 in t2){var o2=t2[i3],n2=o2.newScroll>o2.oldScroll?o2.forward:o2.backward;for(var a2 in this.waypoints[i3]){var r=this.waypoints[i3][a2],s=o2.oldScroll<r.triggerPoint,l=o2.newScroll>=r.triggerPoint;(s&&l||!s&&!l)&&(r.queueTrigger(n2),e3[r.group.id]=r.group)}}for(var c in e3)e3[c].flushTriggers();this.oldScroll={x:t2.horizontal.newScroll,y:t2.vertical.newScroll}},t.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},t.prototype.remove=function(e3){delete this.waypoints[e3.axis][e3.key],this.checkEmpty()},t.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},t.prototype.destroy=function(){var e3=[];for(var t2 in this.waypoints)for(var i3 in this.waypoints[t2])e3.push(this.waypoints[t2][i3]);for(var o2=0,n2=e3.length;n2>o2;o2++)e3[o2].destroy()},t.prototype.refresh=function(){var e3,t2=this.element==this.element.window,i3=t2?void 0:this.adapter.offset(),o2={};for(var a2 in this.handleScroll(),e3={horizontal:{contextOffset:t2?0:i3.left,contextScroll:t2?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t2?0:i3.top,contextScroll:t2?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=e3[a2];for(var s in this.waypoints[a2]){var l,c,d,u,p=this.waypoints[a2][s],h=p.options.offset,f=p.triggerPoint,m=0,g=f==null;p.element!==p.element.window&&(m=p.adapter.offset()[r.offsetProp]),typeof h=="function"?h=h.apply(
1p):typeof h=="string"&&(h=parseFloat(h),p.options.offset.indexOf("%")>-1&&(h=Math.ceil(r.contextDimension*h/100))),l=r.contextScroll-r.contextOffset,p.triggerPoint=m+l-h,c=f<r.oldScroll,d=p.triggerPoint>=r.oldScroll,u=!c&&!d,!g&&c&&d?(p.queueTrigger(r.backward),o2[p.group.id]=p.group):(!g&&u||g&&r.oldScroll>=p.triggerPoint)&&(p.queueTrigger(r.forward),o2[p.group.id]=p.group)}}return n.requestAnimationFrame(function(){for(var e4 in o2)o2[e4].flushTriggers()}),this},t.findOrCreateByElement=function(e3){return t.findByElement(e3)||new t(e3)},t.refreshAll=function(){for(var e3 in o)o[e3].refresh()},t.findByElement=function(e3){return o[e3.waypointContextKey]},window.onload=function(){a&&a(),t.refreshAll()},n.requestAnimationFrame=function(t2){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e2).call(window,t2)},n.Context=t})(),(function(){function e2(e3,t2){return e3.triggerPoint-t2.triggerPoint}function t(e3,t2){return t2.triggerPoint-e3.triggerPoint}function i2(e3){this.name=e3.name,this.axis=e3.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i2.prototype.add=function(e3){this.waypoints.push(e3)},i2.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i2.prototype.flushTriggers=function(){for(var i3 in this.triggerQueues){var o2=this.triggerQueues[i3],n2=i3==="up"||i3==="left";o2.sort(n2?t:e2);for(var a=0,r=o2.length;r>a;a+=1){var s=o2[a];(s.options.continuous||a===o2.length-1)&&s.trigger([i3])}}this.clearTriggerQueues()},i2.prototype.next=function(t2){this.waypoints.sort(e2);var i3=n.Adapter.inArray(t2,this.waypoints);return i3===this.waypoints.length-1?null:this.waypoints[i3+1]},i2.prototype.previous=function(t2){this.waypoints.sort(e2);var i3=n.Adapter.inArray(t2,this.waypoints);return i3?this.waypoints[i3-1]:null},i2.prototype.queueTrigger=function(e3,t2){this.triggerQueues[t2].push(e3)},i2.prototype.remove=function(e3){var t2=n.Adapter.inArray(e3,this.waypoints);t2>-1&&this.waypoints.splice(t2,1)},i2.prototype.first=function(){return this.waypoints[0]},i2.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i2.findOrCreate=function(e3){return o[e3.axis][e3.name]||new i2(e3)},n.Group=i2})(),(function(){function e2(e3){this.$element=t(e3)}var t=window.jQuery,i2=window.Waypoint;t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t2,i3){e2.prototype[i3]=function(){var e3=Array.prototype.slice.call(arguments);return this.$element[i3].apply(this.$element,e3)}}),t.each(["extend","inArray","isEmptyObject"],function(i3,o){e2[o]=t[o]}),i2.adapters.push({name:"jquery",Adapter:e2}),i2.Adapter=e2})(),(function(){function e2(e3){return function(){var i2=[],o=arguments[0];return e3.isFunction(arguments[0])&&((o=e3.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var n=e3.extend({},o,{element:this});typeof n.context=="string"&&(n.context=e3(this).closest(n.context)[0]),i2.push(new t(n))}),i2}}var t=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=e2(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e2(window.Zepto))})(),(function(){function e2(o){this.options=t.extend({},e2.defaults,o),this.container=this.options.element,this.options.container!=="auto"&&(this.container=this.options.container),this.$container=t(this.container),this.$more=t(this.options.more),this.$more.length&&(this.setupHandler(),this.waypoint=new i2(this.options))}var t=window.jQuery,i2=window.Waypoint;e2.prototype.setupHandler=function(){this.options.handler=t.proxy(function(){this.options.onBeforePageLoad(),this.destroy(),this.$container.addClass(this.options.loadingClass),t.get(t(this.options.more).attr("href"),t.proxy(function(e3){var o=t(t.parseHTML(e3)),n=o.find(this.options.more),a=o.find(this.options.items);a.length||(a=o.filter(this.options.items)),this.$container.append(a),this.$container.removeClass(this.options.loadingClass),n.length||(n=o.filter(this.options.more)),n.length?(this.$more.replaceWith(n),this.$more=n,this.waypoint=new i2(this.options)):this.$more.remove(),this.options.onAfterPageLoad(a)},this))},this)},e2.prototype.destroy=function(){this.waypoint&&this.waypoint.destroy()},e2.defaults={container:"auto",items:".infinite-item",more:".infinite-more-link",offset:"bottom-in-view",loadingClass:"infinite-loading",onBeforePageLoad:t.noop,onAfterPageLoad:t.noop},i2.Infinite=e2})(),(function(e2){e2.fn.mediaWrapper=function(t){var i2=e2.extend({intrinsic:!0,baseWidth:16,baseHeight:9},t);return this.each(function(){var t2;t2=i2.intrinsic==1&&e2(this).attr("width")!==""&&e2(this).attr("height")!==""?e2(this).attr("height")/e2(this).attr("width")*100:i2.baseHeight/i2.baseWi
1dth*100,e2(this).wrap('<div class="mediaWrapper" style="position: relative; width: 100%; height: 0; padding: '+t2+'% 0 0 0; " />').css({position:"absolute",width:"100%",height:"100%",top:"0",left:"0"})})}})(jQuery),PointerEventsPolyfill.initialize=function(e2){return PointerEventsPolyfill.singleton==null&&(PointerEventsPolyfill.singleton=new PointerEventsPolyfill(e2)),PointerEventsPolyfill.singleton},PointerEventsPolyfill.prototype.register_mouse_events=function(){$(document).on(this.options.mouseEvents.join(" "),this.options.selector,function(e2){if($(this).css("pointer-events")=="none"){var t=$(this).css("display");$(this).css("display","none");var i2=document.elementFromPoint(e2.clientX,e2.clientY);return t?$(this).css("display",t):$(this).css("display",""),e2.target=i2,$(i2).trigger(e2),!1}return!0})},(function(e2,t,i2){function o(e3,t2){return _typeof(e3)===t2}function n(){return typeof t.createElement!="function"?t.createElement(arguments[0]):u?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function a(){var e3=t.body;return e3||((e3=n(u?"svg":"body")).fake=!0),e3}var r=[],s=[],l={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e3,t2){var i3=this;setTimeout(function(){t2(i3[e3])},0)},addTest:function(e3,t2,i3){s.push({name:e3,fn:t2,options:i3})},addAsyncTest:function(e3){s.push({name:null,fn:e3})}},c=function(){};c.prototype=l,c=new c;var d=t.documentElement,u=d.nodeName.toLowerCase()==="svg",p=l._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];l._prefixes=p;var h=l.testStyles=function(e3,i3,o2,r2){var s2,l2,c2,u2,p2="modernizr",h2=n("div"),f2=a();if(parseInt(o2,10))for(;o2--;)(c2=n("div")).id=r2?r2[o2]:p2+(o2+1),h2.appendChild(c2);return(s2=n("style")).type="text/css",s2.id="s"+p2,(f2.fake?f2:h2).appendChild(s2),f2.appendChild(h2),s2.styleSheet?s2.styleSheet.cssText=e3:s2.appendChild(t.createTextNode(e3)),h2.id=p2,f2.fake&&(f2.style.background="",f2.style.overflow="hidden",u2=d.style.overflow,d.style.overflow="hidden",d.appendChild(f2)),l2=i3(h2,e3),f2.fake?(f2.parentNode.removeChild(f2),d.style.overflow=u2,d.offsetHeight):h2.parentNode.removeChild(h2),!!l2};c.addTest("touchevents",function(){var i3;if("ontouchstart"in e2||e2.DocumentTouch&&t instanceof DocumentTouch)i3=!0;else{var o2=["@media (",p.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");h(o2,function(e3){i3=e3.offsetTop===9})}return i3}),(function(){var e3,t2,i3,n2,a2,l2;for(var d2 in s)if(s.hasOwnProperty(d2)){if(e3=[],(t2=s[d2]).name&&(e3.push(t2.name.toLowerCase()),t2.options&&t2.options.aliases&&t2.options.aliases.length))for(i3=0;i3<t2.options.aliases.length;i3++)e3.push(t2.options.aliases[i3].toLowerCase());for(n2=o(t2.fn,"function")?t2.fn():t2.fn,a2=0;a2<e3.length;a2++)(l2=e3[a2].split(".")).length===1?c[l2[0]]=n2:(!c[l2[0]]||c[l2[0]]instanceof Boolean||(c[l2[0]]=new Boolean(c[l2[0]])),c[l2[0]][l2[1]]=n2),r.push((n2?"":"no-")+l2.join("-"))}})(),(function(e3){var t2=d.className,i3=c._config.classPrefix||"";if(u&&(t2=t2.baseVal),c._config.enableJSClass){var o2=new RegExp("(^|\\s)"+i3+"no-js(\\s|$)");t2=t2.replace(o2,"$1"+i3+"js$2")}c._config.enableClasses&&(t2+=" "+i3+e3.join(" "+i3),u?d.className.baseVal=t2:d.className=t2)})(r),delete l.addTest,delete l.addAsyncTest;for(var f=0;f<c._q.length;f++)c._q[f]();e2.Modernizr=c})(window,document),(function(){var e2=(function(){function e3(e4){return decodeURIComponent(e4.replace(/\+/g," "))}function t(e4,t2){var i3=e4.charAt(0),o=t2.split(i3);return i3===e4?o:o[(e4=parseInt(e4.substring(1),10))<0?o.length+e4:e4-1]}function i2(t2,i3){for(var o=t2.charAt(0),n=i3.split("&"),a=[],r={},s=[],l=t2.substring(1),c=0,d=n.length;c<d;c++)if((a=n[c].match(/(.*?)=(.*)/))||(a=[n[c],n[c],""]),a[1].replace(/\s/g,"")!==""){if(a[2]=e3(a[2]||""),l===a[1])return a[2];(s=a[1].match(/(.*)\[([0-9]+)\]/))?(r[s[1]]=r[s[1]]||[],r[s[1]][s[2]]=a[2]):r[a[1]]=a[2]}return o===t2?r:r[l]}return function(e4,o){var n,a={};if(e4!=="tld?"){if(o=o||window.location.toString(),!e4)return o;if(e4=e4.toString(),n=o.match(/^mailto:([^\/].+)/))a.protocol="mailto",a.email=n[1];
1else{if((n=o.match(/(.*?)\/#\!(.*)/))&&(o=n[1]+n[2]),(n=o.match(/(.*?)#(.*)/))&&(a.hash=n[2],o=n[1]),a.hash&&e4.match(/^#/))return i2(e4,a.hash);if((n=o.match(/(.*?)\?(.*)/))&&(a.query=n[2],o=n[1]),a.query&&e4.match(/^\?/))return i2(e4,a.query);if((n=o.match(/(.*?)\:?\/\/(.*)/))&&(a.protocol=n[1].toLowerCase(),o=n[2]),(n=o.match(/(.*?)(\/.*)/))&&(a.path=n[2],o=n[1]),a.path=(a.path||"").replace(/^([^\/])/,"/$1"),e4.match(/^[\-0-9]+$/)&&(e4=e4.replace(/^([^\/])/,"/$1")),e4.match(/^\//))return t(e4,a.path.substring(1));if((n=t("/-1",a.path.substring(1)))&&(n=n.match(/(.*?)\.(.*)/))&&(a.file=n[0],a.filename=n[1],a.fileext=n[2]),(n=o.match(/(.*)\:([0-9]+)$/))&&(a.port=n[2],o=n[1]),(n=o.match(/(.*?)@(.*)/))&&(a.auth=n[1],o=n[2]),a.auth&&(n=a.auth.match(/(.*)\:(.*)/),a.user=n?n[1]:a.auth,a.pass=n?n[2]:void 0),a.hostname=o.toLowerCase(),e4.charAt(0)===".")return t(e4,a.hostname);a.port=a.port||(a.protocol==="https"?"443":"80"),a.protocol=a.protocol||(a.port==="443"?"https":"http")}return e4 in a?a[e4]:e4==="{}"?a:void 0}}})();typeof window.define=="function"&&window.define.amd?window.define("js-url",[],function(){return e2}):(window.jQuery!==void 0&&window.jQuery.extend({url:function(e3,t){return window.url
1(e3,t)}}),window.url=e2)})();var social={twitter:function(){window.twttr||(window.twttr=(function(e2,t,i2){var o,n,a=e2.getElementsByTagName(t)[0];if(!e2.getElementById(i2))return(n=e2.createElement(t)).id=i2,n.src="https://platform.twitter.com/widgets.js",a.parentNode.insertBefore(n,a),window.twttr||(o={_e:[],ready:function(e3){o._e.push(e3)}})})(document,"script","twitter-wjs")),window.twttr&&window.twttr.ready(function(e2){e2.widgets.load(document.getElementById("twitter-timeline"))})},unload:function(){}},instagram={loadContent:function(e2){if(e2.clientID){var t="https://api.instagram.com/v1/users/self/media/recent/?access_token="+e2.clientID;$.ajax({type:"GET",url:t,dataType:"jsonp",success:function(t2){if(t2.meta.code===200&&t2.data.length){t2=t2.data;var i2=0;e2.el.empty();for(var o=0;o<t2.length;o++){var n,a=t2[o],r=a.images.low_resolution.url;if(!a.images.low_resolution.url.indexOf("null")>-1&&(n='<div class="il-photo__img instagram__bg" style="background-image:url('+r+')" data-filter="'+a.filter+'" /></div>',n='<a href="'+a.link+'" target="_blank" class="instagram__link">'+n+"</a>"),a.videos&&(n='<div class="instagram__video instagram__bg" style="background-image:url('+r+')" data-filter="'+a.filter+'" /></div>',n='<a href="'+a.link+'" target="_blank" class="instagram__link instagram__video-link">'+n+"</a>"),n&&(n='<div class="four columns instagram__item">'+n+"</div>"),n!==""&&(e2.el.append(n),i2++),i2==e2.limit)break}}},error:function(){}})}}};$(".social-feeds-wrap").each(function(e2,t){social.twitter();var i2=$(this).find(".js-instafeed");instagram.loadContent({el:i2,clientID:i2.data("client-id"),limit:i2.data("count")})}),$(document).on("shopify:block:select",function(e2){var t=e2.detail.blockId,i2=$("#shopify-section-"+e2.detail.sectionId);(i2.hasClass("slideshow-section")||i2.hasClass("testimonial-section"))&&sliderBlock.select(t,i2),utils.resizeActionButtons()}),$(document).on("shopify:block:deselect",function(e2){var t=$("#shopify-section-"+e2.detail.sectionId);(t.hasClass("slideshow-section")||t.hasClass("testimonial-section"))&&sliderBlock.deselect(t)}),$(document).on("shopify:section:reorder",function(e2){utils.pageBannerCheck()}),$(document).on("shopify:section:load",function(e2){var t=$("#shopify-section-"+e2.detail.sectionId);utils.pageBannerCheck(),BUFFALO.newsletter_popup&&newsletter_popup.init(),t.hasClass("social-feeds-section")&&$(".social-feeds-wrap").each(function(e3,t2){social.twitter();var i2=$(this).find(".js-instafeed");instagram.loadContent({el:i2,clientID:i2.data("client-id"),limit:i2.data("count")})}),t.hasClass("faq-section")&&faqAccordion.init(),t.hasClass("cart-section")&&cart.init(),t.hasClass("featured-promotions-section")&&featuredPromotions.init(),t.hasClass("slideshow-section")&&slideshow.init(),t.hasClass("testimonial-section")&&testimonial.init(),t.hasClass("image-gallery-section")&&gallery.init(),t.hasClass("featured-products-section")&&(productPage.initializeQuantityBox(),productPage.init()),t.hasClass("featured-collection-section")&&featuredCollectionSection.init(),t.hasClass("video-section")&&videoSection.init(),t.hasClass("recently-viewed")&&recentlyViewed.init(".js-recently-viewed"),t.hasClass("product-template")&&(productPage.init(),productPage.relatedProducts(),recentlyViewed.init()),t.hasClass("article-template-section")&&window.location.pathname.indexOf("/comments")!=-1&&$("html,body").animate({scrollTop:$("#new-comment").offset().top-140},"slow"),t.hasClass("collection-template-section")&&collectionSidebarFilter.init(),t.hasClass("search-template-section")&&collection.init(),t.hasClass("header-section")&&(header.init(),header.loadMegaMenu()),t.hasClass("mega-menu-section")&&header.loadMegaMenu(),t.hasClass("page-details-section")&&(featuredCollectionSection.init(),videoSection.init())}),$(document).on("shopify:section:unload",function(e2){var t=$(e2.target),i2=$("#shopify-section-"+e2.detail.sectionId);i2.hasClass("header-section")&&(header.unload(t),header.unloadMegaMenu()),i2.hasClass("slideshow-section")&&slideshow.unload(t),i2.hasClass("testimonial-section")&&testimonial.unload(t),i2.hasClass("video-section")&&videoSection.unload(t),i2.hasClass("product-template")&&productPage.unload(t),i2.hasClass("mega-menu-section")&&header.unloadMegaMenu(),i2.hasClass("page-details-section")&&videoSection.unload(t)}),$(document).on("shopify:section:select",function(e2){var t=$("#shopify-section-"+e2.detail.sectionId);if(t.hasClass("social-feeds-section")&&$(".social-feeds-wrap").each(function(e3,t2){social.twitter()}),t.hasClass("mega-menu-section")){var i2=$(".header ."+e2.detail.sectionId).data("dropdown");setTimeout(function(){$('a.mega-menu-parent[data-dropdown-rel="'+i2+'"]').trigger("mouseenter"),$('a.mega-menu-parent[data-dropdown-rel="'+i2+'"]').parents("header").addClass("editor-hover--true"),header.removeDataAttributes(".header .mega-menu.dropdown_container .dropdown_column")},10)}t.hasClass("featured-collection-section")&&(featuredCollectionSection.unload(t),featuredCollectionSection.init()),utils.pageBannerCheck();var o=document.createEvent("UIEvents");o.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(o)}),$(document).on("shopify:section:deselect",function(e2){if($("#shopify-section-"+e2.detail.sectionId).hasClass("mega-menu-section")){var t=$(".header ."+e2.detail.sectionId).data("dropdown");$('a.mega-menu-parent[data-dropdown-rel="'+t+'"]').trigger("mouseout"),$('a.mega-menu-parent[data-dropdown-rel="'+t+'"]').parents("header").removeClass("editor-hover--true")}})},function(e2,t,i2){i2(2),e2.exports=i2(7)},,,,function(e2,t){}]); 2//# sourceMappingURL=/cdn/shop/t/187/assets/app.js.map?v=76902154723608085861787674179
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.