1(function(){"use strict";var docEl=document.documentElement,FALLBACK=121,last=null,motionQuery=window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null;function stickyHeader(){return document.querySelector(".section-header")||document.querySelector(".shopify-section-group-header-group")||null}function measure(){var el=stickyHeader();if(el){var height=Math.round(el.getBoundingClientRect().height);(!height||height<24||height>400)&&(height=FALLBACK),height!==last&&(last=height,docEl.style.setProperty("--trfu-header-h",height+"px"))}}function watch(){measure();var el=stickyHeader();el&&typeof window.ResizeObserver=="function"&&new window.ResizeObserver(measure).observe(el),window.addEventListener("resize",measure,{passive:!0}),window.addEventListener("orientationchange",measure,{passive:!0}),window.addEventListener("load",measure)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",watch):watch(),document.addEventListener("shopify:section:load",function(){last=null,watch()}),document.addEventListener("shopify:section:unload",function(){last=null,measure()}),document.addEventListener("click",function(e){var link=e.target&&e.target.closest?e.target.closest('a[data-trfu-scroll="true"]'):null;if(link){var href=link.getAttribute("href")||"";if(href.charAt(0)==="#"){var target=document.getElementById(href.slice(1));if(target){e.preventDefault(),e.stopPropagation();var reduce=motionQuery?motionQuery.matches:!1;target.scrollIntoView({behavior:reduce?"auto":"smooth",block:"start"});var landing=target.querySelector("h1, h2, h3")||target;landing.setAttribute("tabindex","-1"),landing.focus({preventScroll:!0}),history.replaceState&&history.replaceState(null,"",href)}}}},!0);function repairFilterGroup(group){if(group.hasAttribute("data-trfu-aria-fixed"))return;group.setAttribute("data-trfu-aria-fixed","1"),group.setAttribute("role","group");var chips=Array.prototype.slice.call(group.querySelectorAll('[role="tab"]'));if(!chips.length)return;var status=document.createElement("p");status.className="trfu-sr-only",status.setAttribute("role","status"),status.setAttribute("aria-live","polite"),group.parentNode&&group.parentNode.insertBefore(status,group.nextSibling);function sync(announce){chips.forEach(function(chip){chip.removeAttribute("role"),chip.removeAttribute("aria-selected");var on=chip.classList.contains("is-active");if(chip.setAttribute("aria-pressed",on?"true":"false"),on&&announce){var grid=document.querySelector(".da-grid"),shown=grid?grid.querySelectorAll(".da-athlete:not([hidden])").length:0;status.textContent=shown+(shown===1?" athlete":" athletes")+" shown for "+chip.textContent.trim()+"."}})}sync(!1),chips.forEach(function(chip){chip.addEventListener("click",function(){window.setTimeout(function(){sync(!0)},0)})})}function repairAll(){Array.prototype.slice.call(document.querySelectorAll('.da-filters[role="tablist"]')).forEach(repairFilterGroup)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",repairAll):repairAll(),document.addEventListener("shopify:section:load",repairAll)})(); 2//# sourceMappingURL=/cdn/shop/t/15/assets/trfu-a11y.js.map?v=14321658114341921601787193257
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.