1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function(Drupal){'use strict';Drupal.lsInitializeSwiper=function(){return new Promise((resolve)=>{if(typeof window.Swiper!=='undefined'){resolve();return;}const checkSwiper=setInterval(()=>{if(typeof window.Swiper!=='undefined'){clearInterval(checkSwiper);resolve();}},100);});};})(Drupal);; 3(function(document,Drupal,once){'use strict';Drupal.behaviors.heroSwiperCarousel={attach:function(context){context.addEventListener('ls_experiments:processed',()=>{if(document.querySelectorAll('.homepage-hero-carousel').length===0)document.querySelector('body.hero-carousel-enable').classList.remove('hero-carousel-enable');});const heroCarouselElements=once('swiper-hero-carousel-init','.hero-carousel-swiper:not(.swiper-initialized)',context);if(heroCarouselElements.length===0)return;Drupal.lsInitializeSwiper().then(()=>{heroCarouselElements.forEach((element)=>{const minItemsForLoop=5;const loop=element.querySelectorAll('.swiper-slide').length>=minItemsForLoop;new window.Swiper(element,{effect:'coverflow',grabCursor:true,spaceBetween:0,loop,lazyPreloadPrevNext:1,centeredSlides:true,slidesPerView:'auto',slidesPerGroup:1,speed:1000,initialSlide:0,coverflowEffect:{rotate:0,opacity:1,scale:0.8,stretch:9,depth:0,modifier:1,slideShadows:false},keyboard:{enabled:true,onlyInViewport:true},a11y:{prevSlideMessage:'Previous slide',nextSlideMessage:'Next slide'},autoplay:{delay:6000,disableOnInteraction:false},breakpoints:{640:{coverflowEffect:{stretch:-5}},960:{coverflowEffect:{stretch:55}}},navigation:{nextEl:'.hero-next',prevEl:'.hero-prev'},on:{touchMove:function(){element.classList.add('swiper-touch-move');},transitionEnd:function(){element.classList.remove('swiper-touch-move');},init:function(){console.log('Swiper: hero carousel initialized!');}}});});});}};})(document,Drupal,once);; 4(function(document,Drupal,once){'use strict';Drupal.behaviors.swiperCarousels={checkExperiment:function(element){const testableOriginBlock=element.closest('.block--original');return testableOriginBlock?.parentElement.classList.contains('block__ab-testable-block');},attach:function(context){const swiperElements=once('swiper-carousel-init','.swiper__carousel .swiper:not(.swiper-initialized)',context);if(swiperElements.length===0)return;Drupal.lsInitializeSwiper().then(()=>{swiperElements.forEach((element,index)=>{if(this.checkExperiment(element))return;const carouselType=element.getAttribute('data-type');const carouselPagination=element.getAttribute('data-pagination');const noTouch=document.querySelector('html').classList.value.includes('no-touchevents');const $wrapper=element.querySelector('.swiper-wrapper');let swiperItems=$wrapper.querySelectorAll('.carousel__item');const activeIndex=Array.prototype.indexOf.call(swiperItems,$wrapper.querySelector('.carousel__item.is-active'));let spaceBetweenMobile=20;let spaceBetweenTablet=34;let spaceBetweenDesktop=34;let slidesPerGroupMobile=1;let slidesPerGroupTablet=1;let slidesPerGroupDesktop=1;let slidesPerGroupAuto=true;let slidesPerViewMobile='auto';let slidesPerViewTablet='auto';let slidesPerViewDesktop='auto';switch(carouselType){case 'mobile_only':spaceBetweenMobile=0;spaceBetweenTablet=0;spaceBetweenDesktop=0;break;case '2_column_layout':spaceBetweenMobile=0;spaceBetweenTablet=0;spaceBetweenDesktop=34;slidesPerGroupAuto=false;slidesPerGroupMobile=1;slidesPerGroupTablet=1;slidesPerGroupDesktop=2;slidesPerViewMobile=1;slidesPerViewTablet=1;slidesPerViewDesktop=2;break;case '3_column_layout':if(element.closest('.section__two-items'))spaceBetweenDesktop=30;break;case '4_column_layout':if(element.closest('.hub-page-section__shop-collection'))spaceBetweenDesktop=70;break;}let swiperSettings={slidesPerView:slidesPerViewMobile,slidesPerGroup:slidesPerGroupMobile,slidesPerGroupAuto,speed:600,spaceBetween:spaceBetweenMobile,slideClass:'carousel__item',initialSlide:activeIndex?activeIndex:0,breakpoints:{640:{slidesPerView:slidesPerViewTablet,slidesPerGroup:slidesPerGroupTablet,spaceBetween:spaceBetweenTablet},960:{slidesPerView:slidesPerViewDesktop,slidesPerGroup:slidesPerGroupDesktop,spaceBetween:spaceBetweenDesktop}},on:{afterInit:()=>{element.classList.remove('is-loading');}}};if(noTouch&&carouselType!=='mobile_only'){const navigationIndex=Date.now().toString()+Math.floor(Math.random()*1000).toString();let parent=element.parentNode;let prevButton=document.createElement('div');let nextButton=document.createElement('div');prevButton.classList.add('swiper-button-prev','swiper-button-prev-'+navigationIndex);nextButton.classList.add('swiper-button-next','swiper-button-next-'+navigationIndex);parent.append(prevButton);parent.append(nextButton);const navigation={navigation:{nextEl:'.swiper-button-next-'+navigationIndex,prevEl:'.swiper-button-prev-'+navigationIndex}};swiperSettings=Object.assign(swiperSettings,navigation);}if(carouselPagination==='true'){let paginationBlock=document.createElement('div');paginationBlock.classList.add('swiper-pagination','swiper-pagination-'+index);element.append(paginationBlock);
4const pagination={pagination:{el:'.swiper-pagination-'+index,clickable:true}};swiperSettings=Object.assign(swiperSettings,pagination);}new window.Swiper(element,swiperSettings);});});}};})(document,Drupal,once);; 5!function(o,t){"use strict";o(document).ready(function(){o(".blog-post-section__related-tags > a",".global-blog, .node-type-blog").wrap('<div class="item"><div /></div>')})}(jQuery,window); 6 7;
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.