1(window.webpackJsonp=window.webpackJsonp||[]).push([[888,97,98,100,202],{1460:function(t,e,n){t.exports={}},1806:function(t,e,n){"use strict";n.r(e);n(9),n(13),n(14),n(6),n(22),n(10),n(23);var o=n(5),l=n(578),r=n.n(l),c=(n(1460),n(16));function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var h=Object(c.a)("tenant-config/tenant-config").mapState,f={name:"franchise-image-carousel",components:{VueSlickCarousel:r.a},props:{componentName:{type:String,default:"franchise-image-carousel"},content:{type:Object,default:function(){return{theme:"dark",heading:"",subheading:"",button:{url:"#",text:"View all",newTab:"_blank"},cards:[{theme:"dark",logo:"alfa-romeo",name:"Alfa Romeo",showCounts:"",cta:{label:"Explore Alfa Romeo",link:""},background:{src:"",alt:""},manualImage:{src:"",alt:""}}]}}}},data:function(){return{currentSlide:0,carouselSettings:{arrows:!1,dots:!0,draggable:!0,infinite:!1,slidesToShow:3,slidesToScroll:1,swipeToSlide:!0,responsive:[{breakpoint:1025,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:1.5,slidesToScroll:1}}]},defaultIndicatorStyle:"wide",indicatorStyle:""}},mounted:function(){this.setCarouselSettingsFromConfig()},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},h(["carouselConfig"])),methods:{setCarouselSettingsFromConfig:function(){this.carouselConfig?this.indicatorStyle=this.carouselConfig.carouselIndicator:this.indicatorStyle=this.defaultIndicatorStyle}}},m=f,v=n(0),component=Object(v.a)(m,(function(){var t=this,e=t._self._c;return e("section",{class:[t.componentName,{dark:"dark"===t.content.theme},t.indicatorStyle]},[e("carousel",{attrs:{content:{theme:t.content.theme,heading:t.content.heading,subheading:t.content.subheading,slideLength:t.content.cards.length,button:t.content.button,slidesToShowTablet:3}}},t._l(t.content.cards,(function(t,n){return e("franchise-image-tile",{key:"index-"+n,staticClass:"splide__slide card",attrs:{content:t}})})),1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{FranchiseImageTile:n(939).default,Carousel:n(579).default})},574:function(t,e,n){"use strict";n.r(e);var o=n(0),component=Object(o.a)({},(function(){var t=this._self._c;return t("svg",{staticClass:"icon carousel-icon-left",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M8.63986 6L3.13332 11.4C2.79541 11.7314 2.79542 12.2687 3.13333 12.6L8.63989 18",stroke:"#222627","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),t("path",{attrs:{d:"M21.1201 11.9999L5.04012 12",stroke:"#222627","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])}),[],!1,null,null,null);e.default=component.exports},575:function(t,e,n){"use strict";n.r(e);var o=n(0),component=Object(o.a)({},(function(){var t=this._self._c;return t("svg",{staticClass:"icon carousel-icon-right",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M15.3601 6L20.8667 11.4C21.2046 11.7314 21.2046 12.2687 20.8667 12.6L15.3601 18",stroke:"#222627","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),this._v(" "),t("path",{attrs:{d:"M2.87988 11.9999L18.9599 12",stroke:"#222627","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])}),[],!1,null,null,null);e.default=component.exports},579:function(t,e,n){"use strict";n.r(e);n(31),n(35),n(18),n(34),n(33),n(581);var o=n(597),l=(n(598),{components:{Splide:o.a},props:{componentName:{default:"carousel",type:String},content:{default:function(){return{theme:null,heading:"Carousel",subheading:"optional section description",button:{url:"#",text:"View all",newTab:"_blank"},slidesToShow:3,slideLength:3,slidesToShowTablet:1,slidesToShowXlTablet:2}}},position:{default:"centre",type:String},data:[]},data:function(){return{perPageTablet:this.content.slidesToShowTablet?this.content.slidesToShowTablet:2,perPageTabletLarge:this.content.slidesToShowXlTablet?this.content.slidesToShowXlTablet:2,perPage:this.content.slidesToShow?this.content.slidesToShow:3,screenWidth:0,currentSlideIndex:0}},computed:{responsivePerPage:function(){return this.screenWidth<=767?1:this.screenWidth<=1025?this.content.slidesToShowTablet:this.screenWidth<=1339?this.content.slidesToShowXlTablet:this.perPage},isDarkTheme:function(){var t,e;return("string"==typeof(null===(t=this.content)||void 0===t?void 0:t.theme)||Array.isArray(null===(e=this.content)||void 0===e?void 0:e.theme))&&this.content.theme.includes("dark")?"dark":""},isValidButtonUrl:function(){var t,e,n=null===(t=this.content)||void 0===t||null===(e=t.button)||void 0===e?void 0:e.url;return!!n&&"/"!==n&&"#"!==n}},mounted:function(){var t=this;this.$nextTick((function(){t.initializeSplide()})),"undefined"!=typeof window&&(this.updateScreenWidth(),window.addEventListener("resize",this.updateScreenWidth))},beforeDestroy:function(){"undefined"!=typeof window&&window.removeEventListener("resize",this.updateScreenWidth)},methods:{fireGtm:function(t){var e;null===(e=this.fireGtmEvent)||void 0===e||e.call(this,t)},generateGtmEventName:function(){var t,e,n=this.$route.path.replace(/^\//,"")||"",o=(null===(t=this.content)||void 0===t||null===(e=t.button)||void 0===e?void 0:e.text)||"default";return"carousel".concat(n?"_".concat(n):"","_").concat(o.replace(/\s+/g,"_").toLowerCase())},initializeSplide:function(){var t=this,e=new o.a(this.$refs.splide,{start:0,gap:15,type:"slide",perPage:this.perPage,perMove:this.perPage,pagination:!1,autoplay:!1,clones:0,drag:!0,keyboard:!0,lazyLoad:!0,trimSpace
1:!1,breakpoints:{1339:{perPage:this.perPageTabletLarge,perMove:this.perPageTabletLarge},1024:{perPage:this.perPageTablet,perMove:this.perPageTablet},767:{perPage:1,perMove:1}}}),n=e.root.querySelector(".progress-bar");n&&e.on("mounted move",(function(){t.updateProgressBar(e,n)})),e.mount()},updateProgressBar:function(t,e){var n=t.length-t.options.perPage,progress=Math.min(t.index/n,1);this.currentSlideIndex=t.index,e.style.transform="translateX(".concat(100*progress,"%)"),e.style.width="50%"},updateScreenWidth:function(){this.screenWidth=window.innerWidth}},watch:{data:{handler:function(){var t=this;this.$nextTick((function(){t.initializeSplide()}))},deep:!0}}}),r=n(0),component=Object(r.a)(l,(function(){var t,e,n,o,l,r,c,d,h,f,m,v=this,w=v._self._c;return w("section",{class:[v.componentName,"theme-"+v.content.theme]},[w("div",{staticClass:"sw carousel-content"},[w("div",{ref:"splide",staticClass:"splide"},[w("div",{staticClass:"carousel-heading-container"},[null!==(t=v.content)&&void 0!==t&&null!==(e=t.heading)&&void 0!==e&&e.length||null!==(n=v.content)&&void 0!==n&&null!==(o=n.subheading)&&void 0!==o&&o.length?w("section-heading-primary",{class:["theme-"+v.content.theme,{centred:v.content.slideLength<=v.responsivePerPage&&!(null!==(l=v.content)&&void 0!==l&&null!==(r=l.button)&&void 0!==r&&null!==(c=r.url)&&void 0!==c&&c.length)}],attrs:{content:{theme:v.content.theme,heading:v.content.heading,sub_heading:v.content.subheading}}}):v._e(),v._v(" "),v._t("header"),v._v(" "),w("div",{staticClass:"ctas",class:{rightAligned:!(null!==(d=v.content)&&void 0!==d&&null!==(h=d.heading)&&void 0!==h&&h.length&&null!==(f=v.content)&&void 0!==f&&null!==(m=f.subheading)&&void 0!==m&&m.length)}},[v.isValidButtonUrl?w("a",{staticClass:"main-cta button tertiary outline mobile-padding to-tablet",class:v.isDarkTheme,attrs:{href:v.content.button.url,target:v.content.button.newTab,title:v.content.button.text?v.content.button.text:"Visit for more",rel:"noopener noreferrer nofollow"},on:{click:function(t){v.fireGtm(v.generateGtmEventName())}}},[v._v("\n "+v._s(v.content.button.text)+"\n ")]):v._e(),v._v(" "),v._t("cta"),v._v(" "),w("div",{staticClass:"splide__arrows",class:[{"right-aligned":!v.content.button},{hide:v.content.slideLength<=v.responsivePerPage}
1]},[w("button",{staticClass:"splide__arrow splide__arrow--prev button tertiary outline mobile-padding to-tablet",class:v.isDarkTheme,attrs:{type:"button","aria-label":"Previous slide","aria-controls":"splide01-track"}},[w("carousel-icon-left")],1),v._v(" "),w("button",{staticClass:"splide__arrow splide__arrow--next button tertiary outline mobile-padding to-tablet",class:v.isDarkTheme,attrs:{type:"button","aria-label":"Next slide","aria-controls":"splide01-track"}},[w("carousel-icon-right")],1)])],2)],2),v._v(" "),v._t("filters"),v._v(" "),w("div",{staticClass:"splide__track",attrs:{role:"region","aria-label":"Carousel"}},[w("ul",{staticClass:"splide__list",class:{centre:v.content.slideLength<v.responsivePerPage&&"centre"===v.position,left:"left"===v.position}},[v._t("default")],2)]),v._v(" "),v.content.slideLength>v.responsivePerPage?w("div",{staticClass:"progress",attrs:{role:"progressbar","aria-live":"polite","aria-valuemin":0,"aria-valuemax":v.content.slideLength-1,"aria-valuenow":v.currentSlideIndex,"aria-label":"Carousel Progress"}},[w("div",{staticClass:"progress-bar"}
1)]):v._e()],2)])])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{SectionHeadingPrimary:n(331).default,CarouselIconLeft:n(574).default,CarouselIconRight:n(575).default})},581:function(t,e,n){t.exports={}},875:function(t,e,n){t.exports={}},939:function(t,e,n){"use strict";n.r(e);n(330),n(21),n(57);var o=n(130),l=(n(875),{name:"franchise-image-tile",props:{componentName:{default:"franchise-image-tile",type:String},content:{default:function(){return{theme:"",logo:"manufacture",name:"manufacture",cta:{label:"Explore manufacture",link:""},background:{src:"",alt:""},manualImage:{src:"",alt:""}}},type:Object}},mixins:[o.a],methods:{handleClick:function(){var t,e;null!==(t=this.content)&&void 0!==t&&null!==(e=t.cta)&&void 0!==e&&e.link&&window.open(this.content.cta.link,"_blank")}},computed:{processedLogo:function(){var t;if(null===(t=this.content)||void 0===t||!t.logo)return"";var e=this.content.logo.toLowerCase();return"skoda"===e?"Å koda":e.charAt(0).toUpperCase()+e.slice(1)}}}),r=n(0),component=Object(r.a)(l,(function(){var t,e,n,o,l,r,c,d,h,f,m,v,w=this,k=w._self._c;return k("article",{class:[w.componentName,{dark:w.content.theme&&"dark"===w.content.theme}]},[k("div",{staticClass:"content-container"},[k("div",{staticClass:"image-container",style:null!==(t=w.content.background)&&void 0!==t&&t.src?{backgroundImage:"url("+w.$store.state.imageLink+w.content.background.src+")"}:{}},[null!==(e=w.content)&&void 0!==e&&null!==(n=e.cta)&&void 0!==n&&null!==(o=n.link)&&void 0!==o&&o.length?k(w.isExternalUrl(w.content.cta.link)?"a":"NuxtLink",{tag:"component",staticClass:"image-link",attrs:{to:w.isExternalUrl(w.content.cta.link)?void 0:w.content.cta.link,href:w.isExternalUrl(w.content.cta.link)?w.content.cta.link:void 0,title:"Visit the "+w.processedLogo+" page"}},[k("div",{staticClass:"button"},[w._v("\n "+w._s(w.content.cta.label?w.content.cta.label:"Explore")+"\n ")])]):w._e(),w._v(" "),k("div",{staticClass:"logo-container"},[null!==(l=w.content)&&void 0!==l&&null!==(r=l.manualImage)&&void 0!==r&&null!==(c=r.src)&&void 0!==c&&c.length?k("img",{staticClass:"logo",attrs:{alt:w.content.manualImage.alt,src:w.$store.state.imageLink+w.content.manualImage.src,title:w.content.name+" logo",loading:"lazy"}}):w._e(),w._v(" "),null===(d=w.content)||void 0===d||null===(h=d.logo)||void 0===h||!h.length||null!==(f=w.content)&&void 0!==f&&null!==(m=f.manualImage)&&void 0!==m&&null!==(v=m.src)&&void 0!==v&&v.length?w._e():k("img",{staticClass:"logo",attrs:{alt:w.content.name+" logo",src:"dark"===w.content.theme?w.$store.state.franchiseImageLink+"/white/"+w.content.logo+".png":w.$store.state.franchiseImageLink+"/black/"+w.content.logo+".png",title:w.content.name+" logo",loading:"lazy"}})])],1)])])}),[],!1,null,null,null);e.default=component.exports}}]);
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.