1!function(){class t{videos=null;cards=null;constructor(){this.setup()}setup(){this.videos=document.querySelectorAll(".ABrandOverview--desktop video"),this.cards=document.querySelectorAll(".ABrandOverview--desktop .ABrandCard"),this.playFirstVideo()}playFirstVideo(){this.videos.length>0&&this.videos[0].play()}}class e{rotateRightBtn=null;rotateLeftBtn=null;cards=null;videos=null;currentIndex=0;totalItems=0;playPauseBtns=null;isTouchScreen=!1;paginatorDots=null;constructor(){this.setup()}setup(){this.rotateRightBtn=document.querySelector(".AFancyCarousel__Buttons--right"),this.rotateLeftBtn=document.querySelector(".AFancyCarousel__Buttons--left"),this.cards=document.querySelectorAll(".ABrandOverview--mobile .ABrandCard"),this.videos=document.querySelectorAll(".ABrandOverview--mobile video"),this.playPauseBtns=document.querySelectorAll(".ABrandOverview--mobile .ABrandCardAsset button"),this.totalItems=this.cards.length,this.isTouchScreen="ontouchstart"in window||navigator.maxTouchPoints>0,this.paginatorDots=document.querySelectorAll(".ABrandOverview--mobile .AFancyCarousel__Paginator span"),this.getCardIndex=t=>Number(t.getAttribute("data-index")),this.configureButtons(),this.updateCarousel(),this.bindFocusEvents()}configureButtons(){this.rotateRightBtn&&this.rotateLeftBtn&&this.cards.length>0&&(this.isTouchScreen&&this.configureSwipe(),this.showLeftRightButtons(),this.configureButtonClick())}enablePaginatorDotByIndex(t){this.paginatorDots.forEach((e,s)=>{t===s?(e.classList.remove("grey-dot"),e.classList.add("black-dot")):(e.classList.remove("black-dot"),e.classList.add("grey-dot"))})}hideLeftRightButtons(){this.rotateLeftBtn.style.display="none",this.rotateRightBtn.style.display="none"}showLeftRightButtons(){this.rotateLeftBtn.style.display="block",this.rotateRightBtn.style.display="block"}configureSwipe(){let t=0,e=0;const s=document.querySelector(".AFancyCarousel");s.addEventListener("touchstart",e=>{t=e.changedTouches[0].screenX}),s.addEventListener("touchend",s=>{e=s.changedTouches[0].screenX;const a=e-t;a>50?this.rotateLeft():a<-50&&this.rotateRight()})}rotateLeft(){this.currentIndex=this.getPreviousIndex(this.currentIndex),this.updateCarousel()}rotateRight(){this.currentIndex=this.getNextIndex(this.currentIndex),this.updateCarousel()}configureButtonClick(){this.rotateLeftBtn.addEventListener("click",()=>this.rotateLeft()),this.rotateRightBtn.addEventListener("click",()=>this.rotateRight())}bindFocusEvents(){this.cards.forEach(t=>{t.addEventListener("focus",()=>this.handleCardFocus(t))})}handleCardFocus(t){this.currentIndex=this.getCardIndex(t),this.updateCarousel()}updateCarousel(){this.cards.forEach(t=>{const e=this.getCardIndex(t);e===this.currentIndex?(t.classList.remove("AFancyCarousel__BrandCard--left","AFancyCarousel__BrandCard--right","AFancyCarousel__BrandCard--back"),t.classList.add("AFancyCarousel__BrandCard--center")):e===this.getPreviousIndex(this.currentIndex)?(t.classList.remove("AFancyCarousel__BrandCard--center","AFancyCarousel__BrandCard--right","AFancyCarousel__BrandCard--back"),t.classList.add("AFancyCarousel__BrandCard--left")):e===this.getNextIndex(this.currentIndex)?(t.classList.remove("AFancyCarousel__BrandCard--center","AFancyCarousel__BrandCard--left","AFancyCarousel__BrandCard--back"),t.classList.add("AFancyCarousel__BrandCard--right")):(t.classList.remove("AFancyCarousel__BrandCard--center","AFancyCarousel__BrandCard--left","AFancyCarousel__BrandCard--right"),t.classList.add("AFancyCarousel__BrandCard--back"))}),this.enableTabByIndex(this.currentIndex),this.playByIndex(this.currentIndex),this.enablePaginatorDotByIndex(this.currentIndex)}enableTabByIndex(t){this.playPauseBtns.forEach(e=>{e.getAttribute("data-selector").includes(`BrandCard${t}`)?e.setAttribute("tabindex","0"):e.setAttribute("tabindex","-1")})}playByIndex(t){this.videos.forEach(e=>{e.getAttribute("data-selector").includes(`BrandCard${t}`)?e.play():e.pause()})}getPreviousIndex(t){return 0===t?this.totalItems-1:t-1}getNextIndex(t){return t===this.totalItems-1?0:t+1}}const s=window.matchMedia("(min-width: 48rem)"),a=s=>s?new t:new e;s.addEventListener("change",t=>{instance=a(t.matches)}),instance=a(s.matches)}();
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.