1import{r as s}from"./index-DS8uTh6M.js";import{g as r}from"./media-queries-CokWIw5y.js";import{a}from"./at-breakpoint-change-DVsQWIFj.js";import{C as n}from"./carousel-BBYnAxQO.js";import{P as m}from"./product-item-CsBN91cn.js";import{i as c}from"./intersection-watcher-DADyd6E-.js";import{d}from"./delay-offset-CTJE-YpR.js";import{s as h}from"./shouldAnimate-CeW36j6E.js";import"./focus-trap.esm-DYjLEhSG.js";import"./tua-bsl-aO87w0ZW.js";import"./main-BCFY9a9_.js";import"./cart-D_LIHR5K.js";import"./storage-CVUx8WVm.js";import"./evx.es-COiEd2Ka.js";import"./dispatch-custom-event-5MmuVbu3.js";import"./gated-access-C4SJnT1W.js";const o={intro:".animation--section-introduction > *",items:".animation--item"},l=e=>{d(e,[o.intro,o.items]);const t=c(e);return{destroy(){t==null||t.destroy()}}};s("featured-collection-grid",{onLoad(){const{productsPerView:e,mobileProductsPerView:t,showCarousel:i}=this.container.dataset;this.events=[],this.perView=parseInt(e,10),this.mobilePerView=parseInt(t,10)*1.05,this.productItem=m(this.container),this.breakPointHandler=a(960,()=>{window.matchMedia(r("below-960")).matches&&i==="true"?this._initCarousel():this.carousel.destroy()}),window.matchMedia(r("below-960")).matches&&i==="true"&&this._initCarousel(),h(this.container)&&(this.animateFeaturedCollectionGrid=l(this.container))},_initCarousel(){this.carousel=n(this.container,{slidesPerView:this.mobilePerView,spaceBetween:12,breakpoints:{720:{spaceBetween:16,slidesPerView:this.perView===5?this.perView-1:this.perView}}})},onUnload(){var e,t;(e=this.carousel)==null||e.destroy(),(t=this.animateFeaturedCollectionGrid)==null||t.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.