PageSourceSearch

https://xeroshoes.com/cdn/shop/t/152/assets/xero-utils.js?v=152575562491573912321787066837

js xeroshoes.com collected 2026-09-24 18:02:18 UTC 2,519 bytes, 2 lines download raw bytes

1(function(){"use strict";window.xsReducedMotion=function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches},window.xsReveal=function(elements,options){if(window.xsReducedMotion()){elements.forEach(el=>el.classList.add("xs-in"));return}const opts=Object.assign({threshold:.2,rootMargin:"0px 0px -10% 0px",stagger:80},options||{}),io=new IntersectionObserver(entries=>{entries.forEach((entry,i)=>{if(entry.isIntersecting){const delay=i*opts.stagger;setTimeout(()=>entry.target.classList.add("xs-in"),delay),io.unobserve(entry.target)}})},{threshold:opts.threshold,rootMargin:opts.rootMargin});elements.forEach(el=>io.observe(el))},window.xsWordReveal=function(el,options){if(!el||!(el.textContent||"").trim()||window.xsReducedMotion())return;const opts=Object.assign({stagger:80,duration:600},options||{}),text=el.textContent;el.textContent="",el.setAttribute("aria-label",text),text.split(/\s+/).forEach((word,i)=>{const span=document.createElement("span");span.textContent=word+" ",span.style.display="inline-block",span.style.marginRight="0.25em",span.style.opacity="0",span.style.transform="translate3d(0, 12px, 0)",span.style.transition=`opacity ${opts.duration}ms var(--xs-ease-out), transform ${opts.duration}ms var(--xs-ease-out)`,span.style.transitionDelay=i*opts.stagger+"ms",el.appendChild(span),requestAnimationFrame(()=>{requestAnimationFrame(()=>{span.style.opacity="1",span.style.transform="translate3d(0, 0, 0)"})})})},window.xsVideoToggle=function(video,toggle){if(!video||!toggle||toggle.__xsVideoToggleBound)return;toggle.__xsVideoToggleBound=!0;const playLabel=toggle.getAttribute("data-xs-play-label")||"Play video",pauseLabel=toggle.getAttribute("data-xs-pause-label")||"Pause video";function sync(){const playing=!video.paused;toggle.dataset.state=playing?"playing":"paused",toggle.setAttribute("aria-label",playing?pauseLabel:playLabel)}video.addEventListener("play",sync),video.addEventListener("pause",sync),toggle.addEventListener("click",()=>{video.paused?(video.__xsUserPaused=!1,video.play().catch(()=>{})):(video.__xsUserPaused=!0,video.pause())}),sync()},document.addEventListener("shopify:section:load",e=>{document.dispatchEvent(new CustomEvent("xs:section:init",{detail:{sectionId:e.detail.sectionId}}))}),document.addEventListener("shopify:section:unload",e=>{document.dispatchEvent(new CustomEvent("xs:section:destroy",{detail:{sectionId:e.detail.sectionId}}))})})();
2//# sourceMappingURL=/cdn/shop/t/152/assets/xero-utils.js.map?v=152575562491573912321787066837

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.