PageSourceSearch

https://www.cupra.com/etc.clientlibs/cupra-website/components/cont…-ac30324985d9e92a8969232022b108ea-lc.min.js

js cupra.com collected 2026-10-02 16:29:31 UTC 2,835 bytes, 6 lines download raw bytes

1'use strict';const slideCardsCenterClickComponent=(c,d,m)=>{const e={component:d,title:d+"__title",container:d+"__card-list",items:d+"__wrapper",item:d+"-card",image:d+"-card__image",button:d+"-card__button",bullets:"mod__bullets"};let k=[],l,g;const {ANALYTICS:h}=CommonUtils.analytics,n=()=>{l=CommonUtils.viewports.getViewport();4===g?c.querySelector(`.${e.items}`)?.classList.add(e.bullets):c.querySelector(`.${SwiperCustom.CSS_CLASS.pagination}`)?.remove();SwiperCustom.changeMultiClassSwiper(c,"add",
2e);k=SwiperCustom.addSwiper(c,k,q());const a=Number.parseInt(c.dataset.selectCenterCardIndex)||0;k[0]?.slideToLoop(a,0)},q=()=>{const a=4===g,b=function(){const f=this.pagination?.el;f&&f.setAttribute("selected-index",this.realIndex%g)};return{effect:"coverflow",coverflowEffect:{rotate:0,depth:300,stretch:10,slideShadows:!1,modifier:1},centeredSlides:!0,loop:!0,pagination:a?r():!1,breakpoints:{[CommonUtils.viewports.VIEWPORTS.M.min]:{spaceBetween:24,loopAdditionalSlides:2}},on:{click:t,resize:u,...(a&&
3{afterInit(){setTimeout(()=>b.call(this),300)},slideChange:b})}}},r=()=>{const a=c.querySelector(`.${SwiperCustom.CSS_CLASS.pagination}`);return{el:a,clickable:!0,...SwiperCustom.setupCustomPagination(a,v)}},v=(a,b)=>{b=b>g?b-g:b;a.setAttribute("selectors-number",g);a.setAttribute("selected-index",b-1)},t=(a,b)=>{var f=b.target.closest(`.${SwiperCustom.CSS_CLASS.slide}`);if(f&&b.target.closest(`.${e.image}`)){{b=f.getBoundingClientRect();const p=a.el.getBoundingClientRect();b=b.left+b.width/2-(p.left+
4p.width/2)}10>Math.abs(b)?(a=f.querySelector(`.${e.button} a`),f={[h.elementName]:c.querySelector(`.${e.title}`)?.textContent.trim(),[h.eventName]:h.EventNames.clickCard,[h.ctaType]:h.CtaTypes.card},"undefined"!==typeof buttonComponentGlobalUtils&&buttonComponentGlobalUtils.sendAnalytics(c,a,f,a?.href),a?.href&&(window.location.href=a.href)):0>b?a.slidePrev():a.slideNext()}},u=()=>{var a=window.innerWidth;l&&a!==SwiperCustom.lastWith&&(a=CommonUtils.viewports.getViewport(),l.label!==a.label&&(l=a,
5k=SwiperCustom.destroy(k),n()))},w=()=>{if(m.querySelector(`.${scrollTransitionsUtils.CSS_CLASSES.smoothScrollEnabled}`)){var a=["title","container"].map(b=>c.querySelector(`.${e[b]}`)).filter(Boolean);scrollTransitionsUtils.animateOnScroll(a)}};(()=>{var a=c.querySelector(`.${e.items}`);if(g=a.children.length)SwiperCustom.cloneItems(a,12),n(),"undefined"!==typeof buttonComponentGlobalUtils&&(a={[h.elementName]:c.querySelector(`.${e.title}`)?.textContent.trim(),[h.generic]:"bottom center"},buttonComponentGlobalUtils.attachClickHandlersWithSendAnalytics(c,
6a)),w()})()};CommonUtils.dom.domReady(c=>{if(!CommonUtils.aem.isAuthorEdit()){const d=c.getElementsByClassName("cmp-slide-cards-center-click");Array.prototype.forEach.call(d,m=>slideCardsCenterClickComponent(m,"cmp-slide-cards-center-click",c))}});

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.