PageSourceSearch

https://www.cupraofficial.it/etc.clientlibs/cupra-website/componen…-ad3dd83227583f92016e1b88d82f2819-lc.min.js

js cupraofficial.it collected 2026-10-06 05:36:21 UTC 6,178 bytes, 14 lines download raw bytes

1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,b){a.raw=b;return a};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):$jscomp.arrayIterator(a)};
2$jscomp.arrayFromIterator=function(a){for(var b,d=[];!(b=a.next()).done;)d.push(b.value);return d};$jscomp.arrayFromIterable=function(a){return a instanceof Array?a:$jscomp.arrayFromIterator($jscomp.makeIterator(a))};
3function highlightsFunction(a){this.$componentSelector=a;this.CSS_CLASS={component:"cupra__highlights__content",container:"cupra__highlights__content__swiper__content",items:"cupra__highlights__content__swiper__wrapper",item:"cupra__highlights__content__swiper__item",highlightsCmp:".cupra__highlights",infoContent:"cupra__highlights__content__container__wrapper__slide__info-content",wrapperSlide:"cupra__highlights__content__container__wrapper__slide",swiperPagination:".swiper-pagination",swiperContainer:".swiper-display .swiper-container",
4imgContainer:"cupra__highlights__content__container__wrapper__slide__image",imgFullScreen:".cupra__highlights__content__container__wrapper__slide__image .image-fullscreen",infoMultimedia:"cupra__highlights__content__container__wrapper__slide__multimedia",videoMode:".cupra__highlights__content__container__wrapper__slide__video",swiperOnlyMobile:"swiper-display-only-mobile",imgMultimedia:"cupra__highlights__content__container__wrapper__slide__multimedia"};this.swiperList=[];this.$componentSelector}
5highlightsFunction.prototype={init:function(){var a=this;SwiperCustom.init(this.$componentSelector,this.CSS_CLASS,function(){var b=function(){var e=function(){var c={watchOverflow:!0,centerInsufficientSlides:!0,breakpoints:{320:{slidesPerView:1.2,spaceBetween:16,slidesOffsetAfter:16,slidesOffsetBefore:16},764:{slidesPerView:2.2,spaceBetween:16,slidesOffsetAfter:32,slidesOffsetBefore:32},1016:{slidesPerView:3,spaceBetween:30,slidesOffsetAfter:0,slidesOffsetBefore:0}},mousewheel:{forceToAxis:!0},pagination:{el:a.CSS_CLASS.swiperPagination,
6clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}};SwiperCustom.changeMultiClassSwiper(a.$componentSelector,"add",a.CSS_CLASS);a.swiperList=SwiperCustom.addSwiper(a.$componentSelector,a.swiperList,c)};a.$componentSelector.classList.contains(a.CSS_CLASS.swiperOnlyMobile)?764>window.innerWidth?(a.$componentSelector.classList.contains("grid-display")&&a.$componentSelector.classList.remove("grid-display"),e()):(a.$componentSelector.classList.add("grid-display"),SwiperCustom.destroy(a.swiperList)):
7a.$componentSelector.classList.contains("swiper-display")&&!a.$componentSelector.classList.contains(a.CSS_CLASS.swiperOnlyMobile)&&e()},d=function(){var e=a.$componentSelector.getElementsByClassName(a.CSS_CLASS.wrapperSlide),c=a.$componentSelector.querySelector(a.CSS_CLASS.swiperContainer);764>window.innerWidth?(1!==e.length||null!=c&&c.classList.add("one-card"),null==c||c.classList.remove("minor-cards")):(2>=e.length&&(null==c||c.classList.add("minor-cards")),null==c||c.classList.remove("one-card"))},
8f=function(e,c){e={elementsArray:[].concat($jscomp.arrayFromIterable(a.$componentSelector.getElementsByClassName(e))),parent:a.$componentSelector,variable:c};CommonUtils.others.setElementMinHeight(e)};b();d();f(a.CSS_CLASS.infoContent,"--cupra-highlights-info-content-height");f(a.CSS_CLASS.imgMultimedia,"--cupra-highlights-info-content-multimedia-height");window.addEventListener("resize",function(e,c){c=void 0===c?100:c;var h;return function(l){for(var k=[],g=0;g<arguments.length;++g)k[g-0]=arguments[g];
9clearTimeout(h);h=setTimeout(function(){e.apply(a,k)},c)}}(function(){b();d();f(a.CSS_CLASS.infoContent,"--cupra-highlights-info-content-height");f(a.CSS_CLASS.imgMultimedia,"--cupra-highlights-info-content-multimedia-height")}))})}};CommonUtils.dom.domReady(function(){var a=document.getElementsByClassName("cupra__highlights");Array.prototype.forEach.call(a,function(b){(new highlightsFunction(b)).init()})});
10function HighlightsAnalyticsFunction(a){this.CSS_CLASS={highlightsContainer:"cupra-highlights-container-analytics-JS",textValue:"cmp-title__text",card:{title:"highlights-analytics-title-JS",containers:{base:"highlights-card-container-JS"},button:"highlights-analytics-button-JS",anchor:"cmp-button"}};this.ANALYTICS_VALUES={general:{virtualPageName:"",containerTitleElementName:""},eventName:"internalLink"};this.ANALYTICS_SPECIFIC_VALUES={eventName:this.ANALYTICS_VALUES.eventName,virtualPageName:""};
11this.cardContainer=Array.from(a.querySelectorAll("."+this.CSS_CLASS.card.containers.base))}
12HighlightsAnalyticsFunction.prototype={init:function(){this.getGlobalAnalyticsValues();this.handleCardsContainer()},getGlobalAnalyticsValues:function(){var a;this.ANALYTICS_VALUES.general.virtualPageName=null==(a=document.querySelector('meta[property~\x3d"analytics:virtualPageName"]'))?void 0:a.content},handleCardsContainer:function(){var a=this;this.cardContainer.forEach(function(b){var d,f,e=b.querySelector("."+a.CSS_CLASS.card.button);b=null==(d=b.querySelector("."+a.CSS_CLASS.card.title))?void 0:
13null==(f=d.innerText)?void 0:f.toLowerCase();a.addAnalyticsTracking(e,b)})},getValues:function(a,b,d,f){a=b.querySelector("."+this.CSS_CLASS.card.anch
13or).href;d.elementName=f;d.linkURL=a},addAnalyticsTracking:function(a,b){var d=this,f=function(){d.ANALYTICS_SPECIFIC_VALUES.virtualPageName=d.ANALYTICS_VALUES.general.virtualPageName;var e=a.closest("."+d.CSS_CLASS.card.containers.base),c=Object.assign({},d.ANALYTICS_SPECIFIC_VALUES);d.getValues(e,a,c,b);CommonUtils.analytics.sendDynamicDataLayer("internalLink",
14Object.assign({},c))};null==a||a.addEventListener("click",f)}};document.addEventListener("DOMContentLoaded",function(){Array.from(document.querySelectorAll(".cupra-highlights-container-analytics-JS")).forEach(function(a){(new HighlightsAnalyticsFunction(a)).init()})});

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.