PageSourceSearch

https://www.seat.co.uk/etc.clientlibs/vwgroup/components/structure…-c52871fe4d6418ea7db084c725a0d2b0-lc.min.js

js seat.co.uk collected 2026-09-24 18:21:46 UTC 3,763 bytes, 8 lines download raw bytes

1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(c){return c.raw=c};$jscomp.createTemplateTagFirstArgWithRaw=function(c,d){c.raw=d;return c};$jscomp.arrayIteratorImpl=function(c){var d=0;return function(){return d<c.length?{done:!1,value:c[d++]}:{done:!0}}};$jscomp.arrayIterator=function(c){return{next:$jscomp.arrayIteratorImpl(c)}};$jscomp.makeIterator=function(c){var d="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator];return d?d.call(c):$jscomp.arrayIterator(c)};
2var globalFooterComponent=function(c,d){var h=d+"-primary-links__title",n=d+"-primary-links__list",u=d+"__main-menu",v=d+"-lang-options__lang-link",l=CommonUtils.aem.isActiveDS(),f,k,m=CommonUtils.viewports.getViewport().label,p=function(){var a=CommonUtils.viewports.getViewport().label;f=f||c.getElementsByClassName(h);["XS","S","M"].includes(a)?w():(x(),y());m=a},w=function(){k=function(a,b){var e=this.parentElement;a=e.getElementsByClassName(n)[0];b?(b="true"===e.lastChild.dataset.collapsed,a.style.maxHeight=
3b?0:a.scrollHeight+"px",e.classList[b?"add":"remove"]("mod__collapsed")):(b=e.classList.toggle("mod__collapsed"),a.style.maxHeight=b?0:a.scrollHeight+"px")};Array.prototype.forEach.call(f,function(a){k.call(a,null,!0);a.addEventListener("click",k)})},x=function(){Array.prototype.forEach.call(f,function(a){var b=a.parentElement;b.querySelector("."+n).removeAttribute("style");b.classList.remove("mod__collapsed");a.removeEventListener("click",k)})};d=function(){var a=c.querySelectorAll('[class*\x3d"__link"]');
4Array.prototype.forEach.call(a,function(b){b.addEventListener("click",function(){var e={},q=buttonComponentGlobalUtils,z=q.sendAnalytics,r=Object,A=r.assign;e=(e[CommonUtils.analytics.ANALYTICS.ctaType]="link__CTA",e);var g={};b.dataset.analytic&&(g={},g=(g[CommonUtils.analytics.ANALYTICS.ctaLabel]=b.dataset.analytic,g));z.call(q,c,b,A.call(r,{},e,g),b.href)})})};var y=function(){var a=f||c.getElementsByClassName(h),b=c.getElementsByClassName(u)[0];b.classList.remove("mod__title-truncated");Array.prototype.forEach.call(a,
5function(e){20<e.scrollHeight&&b.classList.add("mod__title-truncated")})},B=function(){var a=c.querySelector(".choices-single-JS"+(l?" select":""));a&&(l||new Choices(a,{searchEnabled:!1,shouldSort:!1}),a.onchange=function(){a.isSelected||t(a.value)})},C=function(){if(window.location.href.includes("/w/")){var a=c.getElementsByClassName(v);Array.prototype.forEach.call(a,function(b){b.setAttribute("data-value",b.href);b.removeAttribute("href");b.addEventListener("click",function(e){e.preventDefault();
6t(b.dataset.value)})})}},t=function(a){var b=window.location.href;b.includes("/w/")&&(a+="/w/"+b.split("/w/")[1]);window.location.href=a};window.addEventListener("resize",function(){var a=CommonUtils.viewports.getViewport().label,b=["XS","S","M"].includes(a),e=["XS","S","M"].includes(m);b!==e&&p();m=a});(new IntersectionObserver(function(a){a=$jscomp.makeIterator(a).next().value;a=new CustomEvent(CommonEventUtilsClass.EVENTS_CONSTANTS.FOOTER_VISIBILITY_CHANGE,{detail:{visible:a.isIntersecting}});
7document.dispatchEvent(a)},{root:null,threshold:0})).observe(c);p();"undefined"!==typeof buttonComponentGlobalUtils&&d();l?B():C();(function(){c.querySelectorAll(".cookies-JS").forEach(function(a){null==a||a.addEventListener("click",function(b){b.preventDefault();"undefined"!==typeof Optanon&&Optanon.ToggleInfoDisplay&&Optanon.ToggleInfoDisplay()})})})()};
8CommonUtils.dom.domReady(function(c){setTimeout(function(){if(!CommonUtils.aem.isAuthorEdit()){CommonUtils.dom.removeNodesByClassName("cmp-global-footer .ghost");var d=c.getElementsByClassName("cmp-global-footer");Array.prototype.forEach.call(d,function(h){return globalFooterComponent(h,"cmp-global-footer")})}},100)});

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.