PageSourceSearch

https://www.mccormick.com/cdn/shop/t/2/assets/gallery-carousel-Bjp0QzVY.js

js mccormick.com collected 2026-09-24 08:44:49 UTC 1,191 bytes, 1 lines download raw bytes

1import{r as t}from"./index-DS8uTh6M.js";import{C as o}from"./carousel-BBYnAxQO.js";import{a}from"./list-slider-BW5Fz7Qu.js";import{s as l}from"./shouldAnimate-CeW36j6E.js";import"./intersection-watcher-DADyd6E-.js";import"./media-queries-CokWIw5y.js";import"./delay-offset-CTJE-YpR.js";function n(s,e=document){return e.querySelector(s)}t("gallery-carousel",{onLoad(){const{loopCarousel:s,productsPerView:e,mobileProductsPerView:i,besideCarousel:r}=this.container.dataset;this.loopCarousel=s==="true",this.isBesideCarousel=r==="true",this.perView=parseInt(e,10)*(this.isBesideCarousel?1.13:1.05),this.mobilePerView=parseInt(i,10)*(this.isBesideCarousel?1.35:1.05),this._initCarousel(),l(this.container)&&(this.animateListSlider=a(this.container))},_initCarousel(s){const e=n(".js-progress-bar",this.container);this.carousel=o(this.container,{slidesPerView:this.mobilePerView,spaceBetween:12,loop:this.loopCarousel,breakpoints:{720:{spaceBetween:16,slidesPerView:this.perView},1200:{spaceBetween:this.isBesideCarousel?20:24,slidesPerView:this.perView}},scrollbar:{el:e,draggable:!0}})},onUnload(){var s,e;(s=this.carousel)==null||s.destroy(),(e=this.animateListSlider)==null||e.destroy()}});

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.