PageSourceSearch

https://transcriptresearch.com/cdn/shop/t/2/assets/shop.js?v=64910485062800545771488862183

js transcriptresearch.com collected 2026-10-02 16:42:29 UTC 9,127 bytes, 2 lines download raw bytes

1(function(a){a.fn.equalHeights=function(){var b=0,c=a(this);return c.each(function(){var c2=a(this).innerHeight();c2>b&&(b=c2)}),c.css("height",b)},a("[data-equal]").each(function(){var b=a(this),c=b.data("equal");b.find(c).equalHeights()})})(jQuery);var afterResize=(function(){var t={};return function(callback,ms,uniqueId){uniqueId||(uniqueId="Don't call this twice without a uniqueId"),t[uniqueId]&&clearTimeout(t[uniqueId]),t[uniqueId]=setTimeout(callback,ms)}})();window.timber=window.timber||{},timber.cacheSelectors=function(){timber.cache={$html:$("html"),$body:$("body"),breakpointLarge:769,windowWidth:window.innerWidth,$slider:$(".flexslider"),$navigation:$("#accessibleNav"),$hasDropdownItem:$(".site-nav--has-dropdown"),$stickyNav:$("#stickyNav"),stickyInfo:{},$tagList:$("#sortTags"),$productImageWrap:$("#productPhoto"),$productImage:$("#productPhotoImg"),$thumbImages:$("#productThumbs").find("a.product-photo-thumb"),$shareButtons:$(".social-sharing"),cartNoteAdd:".cart__note-add",cartNote:".cart__note",$featuredBoxes:$(".featured-box"),$featuredImages:$(".featured-box--image"),$productGridImages:$(".product-grid-image")}},timber.init=function(){timber.cacheSelectors(),timber.equalHeights(),timber.sliders(),timber.productImageSwitch(),timber.responsiveVideos(),timber.collectionSorting(),timber.cartPage(),timber.responsiveNav(),timber.stickyNav(),timber.productImageZoom(),timber.socialSharing(),$('a[href="#"]').on("click",function(evt){evt.preventDefault()})},timber.calculateStickyNav=function(){timber.cache.stickyInfo.offset=timber.cache.$stickyNav.offset().top,timber.cache.stickyInfo.height=timber.cache.$stickyNav.height(),timber.cache.windowWidth=window.innerWidth},timber.stickyNav=function(){timber.calculateStickyNav();var nav=timber.cache.$stickyNav;$(window).scroll(function(){timber.cache.windowWidth<timber.cache.breakpointLarge||($(window).scrollTop()>timber.cache.stickyInfo.offset?(timber.cache.$body.addClass("sticky-nav").css("padding-top",timber.cache.stickyInfo.height+"px"),nav.css("margin-left",-nav.outerWidth()/2)):(timber.cache.$body.removeClass("sticky-nav").css("padding-top",0),nav.css("margin-left",0)))}),$(window).resize(function(){afterResize(function(){if(timber.calculateStickyNav(),timber.cache.windowWidth<timber.cache.breakpointLarge){nav.css("margin-left",0);return}timber.cache.$body.hasClass("sticky-nav")?nav.css("margin-left",-nav.outerWidth()/2):nav.css("margin-left",0)},200,"stickyNav")})},timber.responsiveNav=function(){$(window).resize(function(){afterResize(function(){timber.cache.$navigation.append($("#moreMenuList").html()),$("#moreMenu").remove(),timber.alignMenu(),timber.accessibleNav()},200,"uniqueID")}),timber.alignMenu(),timber.accessibleNav()},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.alignMenu=function(){var $nav=timber.cache.$navigation,w=0,i=0;
1wrapperWidth=$nav.outerWidth()-95,menuhtml="",more="More",$.each($nav.children(),function(){var $el=$(this);w+=$el.outerWidth(!0),wrapperWidth<w&&(menuhtml+=$("<div>").append($el.clone()).html(),$el.remove(),i++)}),wrapperWidth<w&&$nav.append('<li id="moreMenu" class="site-nav--has-dropdown"><a href="#">'+more+' <span class="icon icon-arrow-down" aria-hidden="true"></span></a><ul id="moreMenuList" class="site-nav--dropdown">'+menuhtml+"</ul></li>")},timber.productPage=function(options){var moneyFormat=options.moneyFormat,variant=options.variant,selector=options.selector,$addToCart=$("#addToCart"),$productPrice=$("#productPrice"),$comparePrice=$("#comparePrice"),$variantQuantity=$("#variantQuantity"),$quantityElements=$(".quantity-selector, label + .js-qty"),$addToCartText=$("#addToCartText"),$featuredImage=$("#productPhotoImg");if(variant){if(variant.featured_image){var newImg=variant.featured_image,el=$featuredImage[0];Shopify.Image.switchImage(newImg,el,timber.switchImage)}variant.available?($addToCart.removeClass("disabled").prop("disabled",!1),$addToCartText.text("Add to Cart"),$quantityElements.show()):($addToCart.addClass("disabled").prop("disabled",!0),$addToCartText.text("Sold Out"),$variantQuantity.hide(),$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.text("Unavailable"),$variantQuantity.hide(),$quantityElements.hide()},timber.productImageSwitch=function(){timber.cache.$thumbImages.length&&timber.cache.$thumbImages.on("click",function(evt){evt.preventDefault();var newImage=$(this).attr("href");timber.switchImage(newImage,null,timber.cache.$productImage)})},timber.switchImage=function(src,imgObject,el){var $el=$(el);$el.attr("src",src.replace("_1024x1024.","_grande."));var zoomSrc=src.replace("_grande.","_1024x1024.");$el.attr("data-zoom",zoomSrc),$(function(){timber.productImageZoom()})},timber.productImageZoom=function(){timber.cache.$productImageWrap.length&&(timber.cache.$productImageWrap.trigger("zoom.destroy"),timber.cache.$productImageWrap.addClass("image-zoom").zoom({url:timber.cache.$productImage.attr("data-zoom")}))},timber.socialSharing=function(){var $buttons=timber.cache.$shareButtons,$shareLinks=$buttons.find("a"),permalink=$buttons.attr("data-permalink"),$fbLink=$(".share-facebook"),$twitLink=$(".share-twitter"),$pinLink=$(".share-pinterest"),$googleLink=$(".share-google");$fbLink.length&&$.getJSON("https://graph.facebook.com/?id="+permalink+"&callback=?",function(data){data.shares?$fbLink.find(".share-count").text(data.shares).addClass("is-loaded"):$fbLink.find(".share-count").remove()}),$twitLink.length&&$.getJSON("https://cdn.api.twitter.com/1/urls/count.json?url="+permalink+"&callback=?",function(data){data.count>0?$twitLink.find(".share-count").text(data.count).addClass("is-loaded"):$twitLink.find(".share-count").remove()}),$pinLink.length&&$.getJSON("https://api.pinterest.com/v1/urls/count.json?url="+permalink+"&callback=?",function(data){data.count>0?$pinLink.find(".share-count").text(data.count).addClass("is-loaded"):$pinLink.find(".share-count").remove()}),$googleLink.length&&$googleLink.find(".share-count").addClass("is-loaded"),$shareLinks.on("click",function(e){e.preventDefault();var el=$(this),popup=el.attr("class").replace("-","_"),link=el.attr("href"),w=700,h=400;switch(popup){case"share-twitter":h=300;break;case"share-fancy":w=480,h=720;break;case"share-google":w=500;break}window.open(link,popup,"width="+w+", height="+h)})},timber.responsiveVideos=function(){$('iframe[src*="youtube.com/embed"]').wrap('<div class="video-wrapper"></div>'),$('iframe[src*="player.vimeo"]').wrap('<div class="video-wrapper"></div>'),$("iframe").each(function(){this.src=this.src})},timber.sliders=function(){var $slider=timber.cache.$slider;$slider.length&&$(window).on("load",function(){$slider.flexslider({animation:"slide",animationSpeed:500,pauseOnHover:!0,keyboard:!1,slideshow:!0,slideshowSpeed:5e3,smoothHeight:!0})})},timber.equalHeights=function(){$(window).load(function(){resizeElements()}),$(window).resize(function(){afterResize(function(){resizeElements()},250,"id")});
1function resizeElements(){timber.cache.$html.hasClass("lt-ie9")||(timber.cache.$featuredImages.css("height","auto").equalHeights(),timber.cache.$featuredBoxes.css("height","auto").equalHeights(),timber.cache.$productGridImages.css("height","auto").equalHeights())}},timber.collectionSorting=function(){timber.cache.$tagList.length&&timber.cache.$tagList.on("change",function(){window.location.href=$(this).val()})},timber.cartPage=function(){},timber.cartToggleCallback=function(data){setTimeout(function(){timber.calculateStickyNav()},1e3),data.is_visible&&setTimeout(function(){timber.cartPage()},1e3)},$(timber.init);
2//# sourceMappingURL=/cdn/shop/t/2/assets/shop.js.map?v=64910485062800545771488862183

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.