1function replaceUrlParam(url,paramName,paramValue){var pattern=new RegExp("("+paramName+"=).*?(&|$)"),newUrl=url.replace(pattern,"$1"+paramValue+"$2");return newUrl==url&&(newUrl=newUrl+(newUrl.indexOf("?")>0?"&":"?")+paramName+"="+paramValue),newUrl}window.timber=window.timber||{},timber.cacheSelectors=function(){timber.cache={$html:$("html"),$body:$("body"),$navigation:$("#AccessibleNav"),$productImageWrap:$("#ProductPhoto"),$productImage:$("#ProductPhotoImg"),$thumbImages:$("#ProductThumbs").find("a.product-single__thumbnail")}},timber.init=function(){FastClick.attach(document.body),timber.cacheSelectors(),timber.accessibleNav(),timber.productImageSwitch(),timber.autoResponsiveElements(),timber.productImageZoom()},timber.accessibleNav=function(){var $nav=timber.cache.$navigation,$allLinks=$nav.find("a"),$topLevel=$nav.children("li").find("a"),$parents=$nav.find(".site-nav--has-dropdown"),$subMenuLinks=$nav.find(".site-nav__dropdown").find("a"),activeClass="nav-hover",focusClass="nav-focus";$parents.on("mouseenter touchstart",function(evt){var $el=$(this);$el.hasClass(activeClass)||evt.preventDefault(),showDropdown($el)}),$parents.on("mouseleave",function(){hideDropdown($(this))}),$subMenuLinks.on("touchstart",function(evt){evt.stopImmediatePropagation()}),$allLinks.focus(function(){handleFocus($(this))}),$allLinks.blur(function(){removeFocus($topLevel)});function handleFocus($el){var $subMenu=$el.next("ul"),hasSubMenu=!!$subMenu.hasClass("sub-nav"),isSubItem=$(".site-nav__dropdown").has($el).length,$newFocus=null;isSubItem?($newFocus=$el.closest(".site-nav--has-dropdown").find("a"),addFocus($newFocus)):(removeFocus($topLevel),addFocus($el))}function showDropdown($el){$el.addClass(activeClass),setTimeout(function(){timber.cache.$body.on("touchstart",function(){hideDropdown($el)})},250)}function hideDropdown($el){$el.removeClass(activeClass),timber.cache.$body.off("touchstart")}function addFocus($el){$el.addClass(focusClass)}function removeFocus($el){$el.removeClass(focusClass)}},timber.productPage=function(options){var moneyFormat=options.money_format,variant=options.variant,selector=options.selector,translations=options.translations,$productImage=$("#ProductPhotoImg"),$addToCart=$("#AddToCart"),$productPrice=$("#ProductPrice"),$comparePrice=$("#ComparePrice"),$quantityElements=$(".quantity-selector, label + .js-qty"),$addToCartText=$("#AddToCartText");if(variant){if(variant.featured_image){var newImg=variant.featured_image,el=$productImage[0];Shopify.Image.switchImage(newImg,el,timber.switchImage)}variant.available?($addToCart.removeClass("disabled").prop("disabled",!1),$addToCartText.html(translations.add_to_cart),$quantityElements.show()):($addToCart.addClass("disabled").prop("disabled",!0),$addToCartText.html(translations.sold_out),$quantityElements.hide()),$productPrice.html(Shopify.formatMoney(variant.price,moneyFormat)),variant.compare_at_price>variant.price?$comparePrice.html(Shopify.formatMoney(variant.compare_at_price,moneyFormat)).show():$comparePrice.hide()}else $addToCart.addClass("disabled").prop("disabled",!0),$addToCartText.html(translations.unavailable),$quantityElements.hide()},timber.productImageSwitch=function(){timber.cache.$thumbImages.length&&timber.cache.$thumbImages.on("click",function(evt){evt.preventDefault();var newImage=$(this).attr("href"),newImageId=$(this).attr("data-image-id");$("#loader-click").css("display","block"),setTimeout(function(){timber.switchImage(newImage,{id:newImageId},timber.cache.$productImage),$("#loader-click").css("display","none")},1e3)})},$("#ProductThumbs-horizontal .product-single__thumbnail").on("click",function(evt){evt.preventDefault();var newImage=$(this).attr("href"),newImageId=$(this).attr("data-image-id");timber.switchImage(newImage,{id:newImageId},timber.cache.$productImage)}),timber.switchImage=function(src,imgObject,el){var $el=$(el);$el.attr("src",src),$el.attr("data-image-id",imgObject.id)},timber.autoResponsiveElements=function(){var $iframeVideo=$('iframe[src*="youtube.com/embed"], iframe[src*="player.vimeo"]'),$iframeReset=$iframeVideo.add("iframe#admin_bar_iframe");$("table").wrap('<div class="table-wrapper"></div>'),$iframeVideo.each(function(){$(this).wrap('<div class="video-wrapper"></div>')}),$iframeReset.each(function(){this.src=this.src})},timber.productImageZoom=function(){},$(timber.init); 2//# sourceMappingURL=/cdn/shop/t/83/assets/timber.js.map?v=67541815308040744061790181743
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.