PageSourceSearch

https://bartesian.com/cdn/shop/t/772/assets/bartesian-carousel.js?v=51021551711423342051790186221

js bartesian.com collected 2026-09-24 09:31:10 UTC 2,239 bytes, 2 lines download raw bytes

1(function(){function initCarousel(root){if(root.dataset.pcInit==="true")return;root.dataset.pcInit="true";const track=root.querySelector("[data-pc-track]"),progressThumb=root.querySelector("[data-pc-progress-thumb]");if(!track)return;function trackScrollBy(dir){const item=track.querySelector("[data-pc-item]");if(!item)return;const gap=parseFloat(getComputedStyle(track).columnGap||getComputedStyle(track).gap||"0"),step=item.offsetWidth+gap,perView=parseFloat(getComputedStyle(track).getPropertyValue("--per-view"))||1,perClickVar=parseFloat(getComputedStyle(track).getPropertyValue("--per-click")),perClick=Math.max(1,Math.floor(perClickVar||perView));track.scrollBy({left:step*perClick*dir,behavior:"smooth"})}function updateProgress(){if(!progressThumb)return;const maxScroll=track.scrollWidth-track.clientWidth,visibleFraction=track.scrollWidth>0?track.clientWidth/track.scrollWidth:1,pos=maxScroll>0?track.scrollLeft/maxScroll:0,bar=progressThumb.parentElement;bar.style.setProperty("--thumb-width",visibleFraction*100+"%"),bar.style.setProperty("--thumb-pos",pos)}function syncTrackNav(){const prev=root.querySelector('[data-pc-track-nav="-1"]'),next=root.querySelector('[data-pc-track-nav="1"]'),maxScroll=track.scrollWidth-track.clientWidth;prev&&(prev.disabled=track.scrollLeft<=1),next&&(next.disabled=track.scrollLeft>=maxScroll-1)}function sync(){syncTrackNav(),updateProgress()}progressThumb&&(progressThumb.style.transition="none"),sync(),requestAnimationFrame(()=>{progressThumb&&(progressThumb.style.transition="")}),track.addEventListener("scroll",sync,{passive:!0}),window.addEventListener("resize",sync,{passive:!0}),root.addEventListener("click",e=>{const nav=e.target.closest("[data-pc-track-nav]");nav&&(e.preventDefault(),trackScrollBy(+nav.dataset.pcTrackNav))}),sync()}function initAll(scope){(scope||document).querySelectorAll("[data-paginated-carousel]").forEach(initCarousel)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>initAll()):initAll(),document.addEventListener("shopify:section:load",e=>initAll(e.target)),window.PaginatedCarousel={init:initCarousel,initAll}})();
2//# sourceMappingURL=/cdn/shop/t/772/assets/bartesian-carousel.js.map?v=51021551711423342051790186221

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.