PageSourceSearch

https://www.landrover-georgia.com/ge/_nuxt/components/block-jlr-immersive-hero.6665a35.js

js landrover-georgia.com collected 2026-10-08 20:39:59 UTC 31,553 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[354,453],{1021:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(865);class o{constructor(e,t,r,button){this.heading=e,this.paragraph=t,this.price=r,this.button=button}getBannerData(){return{heading:this.heading,blockParagraph:this.paragraph,price:this.price,buttons:[{type:"external",url:this.button.url,link_text:this.button.link_text,target:"_blank"}]}}}function l(e,t,r,n,o,l,m){try{var h=e[l](m),c=h.value}catch(e){return void r(e)}h.done?t(c):Promise.resolve(c).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var m=e.apply(t,r);function h(e){l(m,n,o,h,c,"next",e)}function c(e){l(m,n,o,h,c,"throw",e)}h(void 0)}))}}var h=new Set;class c{constructor(e,t){var r,n,o;void 0===e&&(e="ONE-PPSYVMB9KI-1451"),void 0===t&&(t={}),this.key=e,this.mxoObject=window[e],this.interActionResponse=null,this.error=null,this.configuratorUrl=(null==(r=t)?void 0:r.configuratorUrl)||"https://buildyour.landrover.com/",this.requestCallbackUrl=(null==(n=t)?void 0:n.requestCallbackUrl)||"",this.findRetailerUrl=(null==(o=t)?void 0:o.findRetailerUrl)||"",this.handleReady=null,this.formatPriceFn=t.formatPrice,this._neutralObserver=null,this._neutralSent=!1}init(path,e,t){var r=this;return m((function*(){if(void 0===t&&(t=3e3),r.mxoObject||(yield r.waitForReady(t)),!r.mxoObject)return null;yield r.sendInteraction(path,e),r.interActionResponse&&(yield r.processResponse())}))()}waitForReady(e){var t=this;return m((function*(){return void 0===e&&(e=3e3),t.mxoObject?Promise.resolve():new Promise((r=>{var n=setTimeout((()=>{console.warn("MXO event timeout - proceeding anyway"),document.removeEventListener(t.key,t.handleReady),r()}),e);t.handleReady=()=>{clearTimeout(n),document.removeEventListener(t.key,t.handleReady),t.mxoObject=window[t.key],r()},document.addEventListener(t.key,t.handleReady)}))}))()}cleanup(){this.handleReady&&(document.removeEventListener(this.key,this.handleReady),this.handleReady=null),this._neutralObserver&&(this._neutralObserver.disconnect(),this._neutralObserver=null)}sendInteraction(path,data){var e=this;return m((function*(){try{e.interActionResponse=yield e.mxoObject.sendInteraction(path,data)}catch(t){e.error=t,console.error(t)}}))()}processResponse(e,t){var r=this;return m((function*(){void 0===e&&(e=!0),void 0===t&&(t=2e3);try{yield r.mxoObject.processResponse(r.interActionResponse,e,t)}catch(e){console.error(e)}}))()}sendResponseCode(e){var t=this;return m((function*(){void 0===e&&(e="positive");try{var r=t.getResponseByType(e);if(null==r||!r.code)return null;yield t.mxoObject.sendResponseCode(null==r?void 0:r.code)}catch(e){console.error(e)}}))()}getNeutralResponseCode(){var e=this.getResponseByType("neutral");return(null==e?void 0:e.code)||null}watchNeutralOn(element,e){void 0===e&&(e={});try{if(!this.shouldWatchNeutral(element))return;var code=this.getNeutralResponseCode();if(this.isNeutralAlreadySent(code))return;if(!this.isIntersectionObserverSupported())return void this.markNeutralAsSent(code);this.observeElementIntersection(element,code,e)}catch(e){console.error("Error in watchNeutralOn:",e)}}shouldWatchNeutral(element){return Boolean(element)&&"undefined"!=typeof window}isNeutralAlreadySent(code){return!code||h.has(code)||this._neutralSent}isIntersectionObserverSupported(){return"IntersectionObserver"in window}markNeutralAsSent(code){this.sendResponseCode("neutral"),code&&h.add(code),this._neutralSent=!0}observeElementIntersection(element,code,e){var t=e.threshold||.25;this._neutralObserver=new IntersectionObserver((e=>this.handleIntersection(e[0],code)),{threshold:[t,.5]}),this._neutralObserver.observe(element)}handleIntersection(e,code){null!=e&&e.isIntersecting&&e.intersectionRatio>0&&(this.markNeutralAsSent(code),this.disconnectNeutralObserver())}disconnectNeutralObserver(){this._neutralObserver&&(this._neutralObserver.disconnect(),this._neutralObserver=null)}getCtaText(){var e;return(null==(e=this.getAssetContent())||null==(e=e.content)?void 0:e.cta)||null}getResponseByType(e){var t,r=null==(t=this.getAssetByType())||null==(t=t.asset)?void 0:t.responses;
1return r?r.find((t=>t.sentiment===e)):(console.warn("No responses found"),null)}getVariant(){var e;return(null==(e=this.interActionResponse)?void 0:e.variant)||""}getAssetByType(e){void 0===e&&(e="hero-carousel-slide");var t=null,r=this.getResponseOptimizations();return 0===r.length&&console.warn("No optimizations found"),r.forEach((e=>{var r;0===((null==e||null==(r=e.data)?void 0:r.actions)||[]).length&&console.warn("No actions found for optimization",e);var n="hero-banner"===(null==e?void 0:e.path)?e:null,content=this.getContentByType(n);content&&!t&&(t=content)})),t}getContentByType(e){var t;return null==e||null==(t=e.data)?void 0:t.actions[0]}getResponseOptimizations(){var e;return(null==(e=this.interActionResponse)?void 0:e.optimizations)||[]}parseContentItem(e){if("string"!=typeof e)return null;try{var t=e.replace(/\,(?!\s*?[\{\[\"\'\w])/g,"");return JSON.parse(t)}catch(e){return console.error(e),null}}parseContent(){var e,t=null==(e=this.getAssetByType())||null==(e=e.asset)?void 0:e.content;return t?this.parseContentItem(t):null}getContent(){var e;return null==(e=this.getAssetContent())?void 0:e.content}getAssetContent(){return this.parseContent()}getModelByCode(code,e){return Object.keys(e).reduce(((t,r)=>(r.toLowerCase()===code.toLowerCase()&&(t=e[r]),t)),{})}getCurrentConfiguration(){var e=this.getAssetContent(),t=(null==e?void 0:e.propositionCode)||"",r=(null==e?void 0:e.models)||{};return t?this.getModelByCode(t,r):null}getCurrentModel(){var content=this.getAssetContent()||{},e=(null==content?void 0:content.models)||{},t=(null==content?void 0:content.propositionCode)||"";return t?this.getModelByCode(t,e):null}getConfiguratorLink(){var e=this.getCurrentConfiguration();return null!=e&&e.configuration?""+this.configuratorUrl+(null==e?void 0:e.configuration):null}getBrochureLink(){var e,t=null==(e=this.getCurrentConfiguration())?void 0:e.metadata;return t?null==t?void 0:t.pdfUrl:null}getImageUrl(){return this.getConfiguratorLink()}getCtaLink(){var content=this.getAssetContent()||{},e=content.variant;return"DownloadPersonalisedBrochure"===e?this.getBrochureLink():"RequestCallback"===e?this.requestCallbackUrl:"FindLocalRetailer"===e?this.findRetailerUrl:"DownloadPersonalisedBrochure"===content.variant?this.getBrochureLink():this.getConfiguratorLink()}getBannerTitle(content){var e=this.getCurrentModel(content),text="";return null!=e&&e.model&&(text=""+e.model),null!=e&&e.engine&&(text+=" "+e.engine),"<span>"+text+"</span>"}getPrice(){var e=this.getAssetContent(),content=null==e?void 0:e.content,t=this.getCurrentModel(content);return null==t?void 0:t.price}getFormattedPrice(){var e=this.getPrice();return this.formatPriceFn&&e?""+this.formatPriceFn(e):null}getBanner(){var content=this.getContent(),e=this.getCurrentModel(content);return e?new n.a(e.model,e.engine,e.price,this.getCtaLink()):null}getBannerData(){var e=this.getAssetContent(),content=null==e?void 0:e.content;return content?new o(this.getBannerTitle(content),content.subtitle,this.getFormattedPrice(),{url:this.getCtaLink(),link_text:content.cta}):null}}},1918:function(e,t,r){var content=r(2629);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(12).default)("14a4df77",content,!0,{sourceMap:!1})},2628:function(e,t,r){"use strict";r(1918)},2629:function(e,t,r){var n=r(11)((function(i){return i[1]}));n.push([e.i,'.jlr-immersive-hero__image--overlay:before,.jlr-immersive-hero__video--overlay .jlr-native-video:before{--_offset:0;background:linear-gradient(90deg,rgba(74,79,84,.75),rgba(74,79,84,.05) 90%,rgba(74,79,84,0));content:"";inset-block:0;inset-inline-end:0;inset-inline-end:var(--_offset);inset-inline-start:0;position:absolute}.jlr-immersive-hero{display:flex;min-height:calc(100svh - var(--nav-sm-height));position:relative}.has-breadcrumbs+.jlr-index-page .jlr-immersive-hero,.has-breadcrumbs+.smooth-dnd-container .jlr-immersive-hero{min-height:calc(100svh - var(--nav-breadcrumbs-sm-height))}.has-retailer-bar+.jlr-index-page .jlr-immersive-hero,.has-retailer-bar+.smooth-dnd-container .jlr-immersive-hero{min-height:calc(100svh - var(--nav-retailer-sm-height))}.has-breadcrumbs.has-retailer-bar+.jlr-index-page .jlr-immersive-hero,.has-breadcrumbs.has-retailer-bar+.smooth-dnd-container .jlr-immersive-hero{min-height:calc(100svh - var(--nav-breadcrumbs-retailer-sm-height))}.jlr-immersive-hero__spreader{display:flex;flex-direction:column;height:100%;left:0;position:absolute;top:0;width:100%}.jlr-immersive-hero__auto-column{display:block;position:relative}.jlr-immersive-hero__auto-column--big{flex:1}.jlr-immersive-hero__image{height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}.jlr-immersive-hero__image img{height:100%}
1.jlr-immersive-hero__video{height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}.jlr-immersive-hero__video .jlr-native-video--visible{height:100%;width:100%}.jlr-immersive-hero__video .jlr-native-video--visible video{-o-object-fit:cover;object-fit:cover}.jlr-immersive-hero__content-wrapper{height:100%;position:relative}.jlr-immersive-hero__content-wrapper .jlr-grid{position:relative}.jlr-immersive-hero__content-wrapper--mxo-layout .jlr-grid{margin-inline:0;max-width:none}.jlr-immersive-hero__disclaimer{padding:12px 0}.jlr-immersive-hero__content{display:flex;flex-direction:column;justify-content:center;max-width:524px;position:absolute;width:100%;z-index:2}.jlr-immersive-hero__content--middle{align-items:center;left:50%;text-align:center;top:50%;transform:translate(-50%,-50%)}.jlr-immersive-hero__content--left-bottom{align-items:start;bottom:80px;left:0}.jlr-immersive-hero__content--left-middle{left:0;top:50%;transform:translateY(-50%)}.jlr-immersive-hero__content--left-top{align-items:start;left:0;top:25px}.jlr-immersive-hero__content--mxo-layout{bottom:0;left:auto;max-width:none;padding-inline:24px;padding-bottom:24px;padding-top:16px;text-align:center;top:50%;transform:none}.jlr-immersive-hero__content--mxo-layout .jlr-immersive-hero__content__heading,.jlr-immersive-hero__content--mxo-layout .jlr-immersive-hero__content__paragraph{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.jlr-immersive-hero__content--mxo-layout .jlr-immersive-hero__content__heading{-webkit-line-clamp:4;margin-inline:auto;max-inline-size:63ch}.jlr-immersive-hero__content--mxo-layout .jlr-immersive-hero__content__paragraph{-webkit-line-clamp:3;margin-inline:auto;max-inline-size:32ch}.jlr-immersive-hero__content__heading{margin-bottom:16px}.jlr-immersive-hero__content__paragraph{font-size:1.125rem;line-height:1.3125rem}.jlr-immersive-hero__content__price{font-size:1.125rem;font-weight:700;letter-spacing:.2px}.jlr-immersive-hero__content__price--grey-theme,.jlr-immersive-hero__content__price--light-theme,.jlr-immersive-hero__content__price--white-theme{color:#4a4f54}.jlr-immersive-hero__content__price--dark-theme{color:#fff}.jlr-immersive-hero__content__buttons-holder{display:flex;flex-direction:column;gap:24px;margin-top:20px}.jlr-immersive-hero__content__buttons-holder--middle{justify-content:center}.jlr-immersive-hero__content .jlr-immersive-hero__content__anchor-button.jlr-button.jlr-button--type-primary:not([disabled]){background-color:rgba(12,18,28,.2);box-shadow:none;color:#fff}.jlr-immersive-hero__content .jlr-immersive-hero__content__anchor-button.jlr-button.jlr-button--type-primary:not([disabled]) i{color:#fff}.jlr-immersive-hero__slide-down{align-items:center;background-color:rgba(12,18,28,.2);border-radius:100%;bottom:24px;cursor:pointer;display:flex;height:42px;justify-content:center;left:50%;position:absolute;transform:translateX(-50%);transition:all .5s ease-in-out;width:42px;z-index:2}.jlr-immersive-hero__slide-down:hover{background-color:hsla(0,0%,100%,.2);box-shadow:0 0 0 2px #fff}.jlr-immersive-hero__mxo{align-items:center;display:flex;justify-content:center;position:absolute}.jlr-immersive-hero__mxo--mxo-layout{align-items:flex-start}.jlr-immersive-hero .jlr-loader{background-color:rgba(12,18,28,.2);border-radius:100%;z-index:2}.jlr-immersive-hero__btn{bottom:24px;height:45px;inset-inline-end:24px;position:absolute;z-index:2}.jlr-immersive-hero__btn--video{bottom:22px;inset-inline-end:98px}.jlr-immersive-hero__btn--mobile{bottom:24px;inset-inline-end:24px}.jlr-immersive-hero__btn--mobile.jlr-immersive-hero__btn--video{bottom:83px;inset-inline-end:22px}.jlr-immersive-hero__btn--mobile .jlr-button.jlr-button--type-primary.jlr-button--light-theme{padding-inline-start:25px}.jlr-immersive-hero__btn--mobile .jlr-button.jlr-button--type-primary.jlr-button--light-theme .jlr-button__icon{inset-inline-start:7px}.jlr-immersive-hero__btn__shine{background:none;height:100%;left:0;overflow:hidden;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.jlr-immersive-hero__btn__shine:after{animation:shine-rtl-loop 2s ease-in-out infinite alternate;animation-delay:1s;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.1) 15%,hsla(0,0%,100%,.15) 25%,hsla(0,0%,100%,.18) 40%,hsla(0,0%,100%,.2) 50%,hsla(0,0%,100%,.18) 60%,hsla(0,0%,100%,.15) 75%,hsla(0,0%,100%,.1) 85%,transparent);content:"";display:block;height:100%;left:auto;position:absolute;right:100%;top:0;transform:skewX(-15deg);width:45px}.jlr-immersive-hero__btn__container{display:inline-block;height:45px;position:relative}.jlr-immersive-hero__btn__container:after,.jlr-immersive-hero__btn__container:before{border:1px solid #fff;box-sizing:border-box;content:"";height:0;pointer-events:none;position:absolute;width:0}.jlr-immersive-hero__btn__container:before{animation:border-animation-top-left-long 4s ease-in-out infinite;border-color:#fff transparent transparent #fff;right:0;top:0}.jlr-immersive-hero__btn__container:after{animation:border-animation-right-bottom-long 4s ease-in-out infinite;border-color:transparent #fff #fff transparent;right:0;top:0}.jlr-immersive-hero__btn__container>.jlr-button.jlr-button--type-primary.jlr-button--light-theme{background-blend-mode:multiply;background-color:rgba(12,18,28,.2);border:none;border-radius:2px;color:#fff;font-weight:600}.jlr-immersive-hero__btn__container>.jlr-button.jlr-button--type-primary.jlr-button--light-theme:hover:not([disabled]){background-color:#0c121c;border:1px solid #fff;color:#fff}.jlr-immersive-hero__btn__container>.jlr-button.jlr-button--type-primary.jlr-button--light-theme:hover:not([disabled]) .jlr-button__icon{color:#fff}@media(min-width:768px){.jlr-immersive-hero__image--overlay:before,.jlr-immersive-hero__video--overlay .jlr-native-video:before{--_offset:36%}.jlr-immersive-hero__mxo--mxo-layout{align-items:center;justify-content:flex-end}.jlr-immersive-hero__mxo--mxo-layout .jlr-cplayer{width:calc(75vw - 120px)}.jlr-immersive-hero__content{max-width:100%}.jlr-immersive-hero__content--left-top{top:60px}.jlr-immersive-hero__content--mxo-layout{inset-inline-start:0;max-width:644px;padding:0;padding-block:78px;padding-inline-start:120px;text-align:inherit;top:50%;transform:translateY(-50%);width:calc(25vw + 120px)}.jlr-immersive-hero__content--mxo-layout .jlr-immersive-hero__content__buttons-holder--middle{justify-content:flex-start}.jlr-immersive-hero__content--mxo-layout .jlr-immersive-hero__content__heading,.jlr-immersive-hero__content--mxo-layout .jlr-immersive-hero__content__paragraph{-webkit-line-clamp:none;-webkit-box-orient:initial;display:block;margin-inline:0;max-inline-size:none;overflow:visible;overflow:initial;text-overflow:clip}.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-bottom,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-middle,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-top,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--middle{align-items:flex-start;bottom:auto;inset-inline-end:auto;inset-inline-start:0;max-width:644px;padding:0;padding-block:78px;padding-inline-start:120px;text-align:inherit;top:50%;transform:translateY(-50%);width:calc(25vw + 120px)}.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-bottom .jlr-immersive-hero__content__buttons-holder--middle,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-middle .jlr-immersive-hero__content__buttons-holder--middle,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-top .jlr-immersive-hero__content__buttons-holder--middle,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--middle .jlr-immersive-hero__content__buttons-holder--middle{justify-content:flex-start}.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-bottom .jlr-immersive-hero__content__heading,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-bottom .jlr-immersive-hero__content__paragraph,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-middle .jlr-immersive-hero__content__heading,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-middle .jlr-immersive-hero__content__paragraph,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-top .jlr-immersive-hero__content__heading,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--left-top .jlr-immersive-hero__content__paragraph,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--middle .jlr-immersive-hero__content__heading,.jlr-immersive-hero__content--mxo-layout.jlr-immersive-hero__content--middle .jlr-immersive-hero__content__paragraph{-webkit-line-clamp:none;-webkit-box-orient:initial;display:block;margin-inline:0;max-inline-size:none;overflow:visible;overflow:initial;text-overflow:clip}.jlr-immersive-hero__content__buttons-holder{-moz-column-gap:32px;column-gap:32px}.jlr-immersive-hero__content__buttons-holder--inline{flex-direction:row;flex-flow:wrap}}@media(min-width:1280px){.jlr-immersive-hero{min-height:calc(100svh - var(--nav-lg-height))}.has-breadcrumbs+.jlr-index-page .jlr-immersive-hero,.has-breadcrumbs+.smooth-dnd-container .jlr-immersive-hero{min-height:calc(100svh - var(--nav-breadcrumbs-lg-height))}.has-retailer-bar+.jlr-index-page .jlr-immersive-hero,.has-retailer-bar+.smooth-dnd-container .jlr-immersive-hero{min-height:calc(100svh - var(--nav-retailer-lg-height))}.has-breadcrumbs.has-retailer-bar+.jlr-index-page .jlr-immersive-hero,.has-breadcrumbs.has-retailer-bar+.smooth-dnd-container .jlr-immersive-hero{min-height:calc(100svh - var(--nav-breadcrumbs-retailer-lg-height))}}',""]),n.locals={},e.exports=n},3448:function(e,t,r){"use strict";r.r(t);var n=r(14),o=r(1),l=r(683),m=r(8),h=r(0),c=r(205),d=r(1021),_=r(83);function v(e,t,r,n,o,l,m){try{var h=e[l](m),c=h.value}catch(e){return void r(e)}h.done?t(c):Promise.resolve(c).then(n,o)}function f(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var l=e.apply(t,r);function m(e){v(l,n,o,m,h,"next",e)}function h(e){v(l,n,o,m,h,"throw",e)}m(void 0)}))}}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var t in source)Object.prototype.hasOwnProperty.call(source,t)&&(e[t]=source[t])}return e},x.apply(this,arguments)}var j={name:"JlrImmersiveHero",components:{NativeVideoJlrFrame:()=>r.e(194).then(r.bind(null,2232)),JlrUiAtomsPicture:()=>Promise.resolve().then(r.bind(null,318))},props:{fields:{type:Object,default:()=>{}},blockId:{type:[Number,String],default:0},isATF:{type:Boolean,required:!0},onceVisible:{type:Boolean,default:!1}},data:()=>({mxoInstance:null,mxoImageUrl:null,shouldShowMXO:!0,mxoContent:null,mxoImpressionSent:!1}),computed:x({},Object(n.c)("base/settings",["settingByKey"]),Object(n.c)("base/price",["formatPrice"]),{contentClasses(){return["jlr-immersive-hero__content","jlr-immersive-hero__content--"+this.fields.content_placement,...this.hasMXOLayout?["jlr-immersive-hero__content--mxo-layout"]:[]]},buttonsHolderClasses(){var e,t;return["jlr-immersive-hero__content__buttons-holder",{"jlr-immersive-hero__content__buttons-holder--inline":"inline"===(null==(e=this.fields)?void 0:e.buttons_placement)},{"jlr-immersive-hero__content__buttons-holder--middle":"middle"===(null==(t=this.fields)?void 0:t.content_placement)}]},sources(){var e=[];return this.fields.native_video&&e.push({src:this.fields.native_video,media:"(min-width: 741px)"}),this.fields.native_video_mobile&&e.push({src:this.fields.native_video_mobile,media:"(max-width: 740px)"}),1===e.length&&(e[0].media=""),e},posterData(){var e;return{id:null==(e=this.fields["rdx-image"])?void 0:e.id,width:1920,preload:this.isATF}},videoCondition(){return this.fields.native_video||this.fields.native_video_mobile},hasOverlay(){return this.fields.is_overlay},hasMobileImage(){return this.fields.has_mobile_image},fallbackPicture(){var e;return[...this.hasMobileImage?[{id:null==(e=this.fields)?void 0:e["rdx-image-mobile"].id,srcset:h.v.map((image=>({width:image.w,height:image.h}))),sizes:[{width:"100vw"}],media:"(max-width: 767px)"}]:[],{id:this.fields["rdx-image"].id,srcset:[{width:1920},{width:1600},{width:1024}],sizes:[{width:"100vw"}],media:"(min-width: 767px)"}]},videoTime(){return Number(this.fields.video_time)||0},buttons(){var e;return(null==(e=this.fields["rdx-buttons"])?void 0:e.map((e=>{var t=e.link_custom_config?Object(m.d)(e.link_custom_config,"ImmersiveHero::Button",{}):{},r=t.ih_is_transparent||!1,n=o.a.map((e=>e+"-theme")),l=(null==t?void 0:t.theme)||void 0;return x({},e,{class:r?"jlr-immersive-hero__content__anchor-button":"jlr-immersive-hero__content__button-link",theme:l=n.includes(l)?l:this.fields.box_color})})))||[]},hasButtons(){var e;return null==(e=this.contentData)||null==(e=e.buttons)?void 0:e.length},blockParagraph(){var e;return(null==(e=this.fields)?void 0:e.paragraph)||!1},blockDisclaimer(){var e;return(null==(e=this.fields)?void 0:e.disclaimer)||!1},isMobile(){return this.$screen.width<767},btnWrapperClasses(){return{"jlr-immersive-hero__btn--mobile":this.isMobile,"jlr-immersive-hero__btn--video":this.videoCondition}},MXOKey(){var e=this.settingByKey("mxo_integration.key");return null==e?void 0:e.value},MXOConfiguratorUrl(){var e=this.settingByKey("mxo_integration.configurator_url");return(null==e?void 0:e.value)||void 0},MXORequestCallbackUrl(){var e=this.settingByKey("mxo_integration.request_callback_url");return(null==e?void 0:e.value)||void 0},MXOFindRetailerUrl(){var e=this.settingByKey("mxo_integration.find_retailer_url");return(null==e?void 0:e.value)||void 0},MXOTestConfig(){var e=this.settingByKey("mxo_integration.test_config");return null!=e&&e.value?Object(m.d)(e.value,"MXOTestConfig",null):null},hasMXO(){return!!this.MXOKey&&this.fields.has_mxo},hasMXOLayout(){return this.fields.has_mxo_layout&&this.hasMXO&&this.shouldShowMXO},currentBrand(){return Object(c.a)(this.$route.path)||"range-rover"},ratio(){return this.fields["image-ratio"]||"16-9"},mxoPath(){var e=this.$route.path;return this.$config.basePath?"/"+this.$config.basePath.replace(/\//g,"")+e:e},contentData(){var e,t,r,n,o={heading:this.fields.heading,blockParagraph:this.blockParagraph,price:this.fields.price,buttons:this.buttons},l=x({},this.mxoContent,{price:null!=(e=this.mxoContent)&&e.price?'<span class="price"><span><span>'+(null==(t=this.mxoContent)?void 0:t.price)+"</span></span></span>":""});return!this.hasMXO||!this.shouldShowMXO||null!=(r=this.mxoInstance)&&r.error?!this.hasMXO||!this.shouldShowMXO||null!=(n=this.mxoInstance)&&n.error?o:{}:l},mxoTheme(){return this.hasMXO&&this.shouldShowMXO?"white-theme":this.fields.box_color}}),watch:{onceVisible:"tryPushImpression"},beforeDestroy(){this.mxoInstance&&this.mxoInstance.cleanup()},mounted(){var e=this;return f((function*(){e.hasMXO&&(e.mxoInstance=new d.a(e.MXOKey,{configuratorUrl:e.MXOConfiguratorUrl,requestCallbackUrl:e.MXORequestCallbackUrl,findRetailerUrl:e.MXOFindRetailerUrl,formatPrice:e.formatPrice}),yield e.initMXO())}))()},methods:{initMXO(){var e=this;return f((function*(){var t=e.MXOTestConfig?e.MXOTestConfig:{};yield e.mxoInstance.init(e.mxoPath,t);var r=e.mxoInstance.getBannerData();e.mxoImageUrl=e.mxoInstance.getImageUrl(),e.mxoImageUrl?(r&&(e.mxoContent=r.getBannerData()),e.$nextTick((()=>{var t,r,n=(null==(t=e.$refs.mxoContainer)?void 0:t.$el)||e.$refs.mxoContainer;n&&(null==(r=e.mxoInstance)||r.watchNeutralOn(n))})),e.tryPushImpression()):e.shouldShowMXO=!1}))()}
1,tryPushImpression(){var e;if(!this.mxoImpressionSent&&this.onceVisible){var t=null==(e=this.mxoInstance)?void 0:e.getCtaText();t&&(this.mxoImpressionSent=!0,Object(_.a)("mxoDynamicBannerModel",{data:t}))}},onMxoButtonClick(){var e;this.mxoInstance&&(null==(e=this.mxoInstance)||e.sendResponseCode("positive"))},scrollToBottom(){var e=this.fields["scroll-to"];if(e){var t=document.getElementById(e),r=Object(l.a)();this.$scrollTo(t,800,{onDone:()=>this.scrollBlocked=!1,onCancel:()=>this.scrollBlocked=!1,offset:-r})}}}},y=(r(2628),r(3)),component=Object(y.a)(j,(function(){var e=this,t=e._self._c;return t("JlrUiAtomsSection",{staticClass:"jlr-immersive-hero",attrs:{theme:e.fields.box_color,columns:1},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"jlr-immersive-hero__spreader"},[t("div",{staticClass:"jlr-immersive-hero__auto-column jlr-immersive-hero__auto-column--big"},[e.hasMXO&&e.shouldShowMXO?t("LazyIntegrationsMXOImmersiveHero",{ref:"mxoContainer",staticClass:"jlr-immersive-hero__mxo",class:{"jlr-immersive-hero__mxo--mxo-layout":e.hasMXOLayout},attrs:{"web-url":e.mxoImageUrl,"current-brand":e.currentBrand,ratio:e.ratio}}):[e.videoCondition?t("NativeVideoJlrFrame",{staticClass:"jlr-immersive-hero__video",class:{"jlr-immersive-hero__video--overlay":e.hasOverlay},attrs:{sources:e.sources,theme:e.fields.box_color||"default-theme",loop:!0,muted:!0,"play-on-mount":e.fields.is_autoplay,time:e.videoTime,preload:!0,"poster-data":e.posterData,"backdrop-on-pause":"","as-background-video":""}}):t("JlrUiAtomsPicture",{staticClass:"jlr-immersive-hero__image",class:{"jlr-immersive-hero__image--overlay":e.hasOverlay},attrs:{"images-list":e.fallbackPicture,alt:e.fields["rdx-image"].alt,loading:e.isATF?"eager":"lazy",preload:e.isATF,"fetch-priority":e.isATF?"high":"auto"}})],e._v(" "),t("JlrUiAtomsGrid",{staticClass:"jlr-immersive-hero__content-wrapper",class:{"jlr-immersive-hero__content-wrapper--mxo-layout":e.hasMXOLayout},attrs:{columns:1,"grid-modifier-class":"y-space-0"}},[t("div",{class:e.contentClasses},[e.contentData.heading?t("JlrUiAtomsHeading",{staticClass:"jlr-immersive-hero__content__heading",attrs:{level:e.fields.header_tag||"h2",theme:e.mxoTheme,size:e.fields.header_size||"xl",html:e.$htmlFilter(e.contentData.heading)}}):e._e(),e._v(" "),e.contentData.blockParagraph?t("JlrUiAtomsParagraph",{staticClass:"jlr-immersive-hero__content__paragraph",attrs:{size:"l",theme:e.mxoTheme,html:e.$htmlFilter(e.contentData.blockParagraph)}}):e._e(),e._v(" "),e.$htmlFilter(e.contentData.price)?t("div",{staticClass:"jlr-immersive-hero__content__price",class:"jlr-immersive-hero__content__price--"+e.mxoTheme,domProps:{innerHTML:e._s(e.$htmlFilter(e.contentData.price))}}):e._e(),e._v(" "),e.hasButtons?t("div",{class:e.buttonsHolderClasses},e._l(e.contentData.buttons,(function(r,i){return t("div",{key:"jlr-immersive-hero__content__button-link-holder-"+i},[t("JlrUiDynamicLinkButton",{class:r.class,attrs:{icon:r.icon,href:r.url,theme:e.hasMXO&&e.shouldShowMXO?"white-theme":r.theme,"label-text":r.link_text,type:r.type,"form-id":r.rdx_forms_form_id,"hidden-fields":r.hidden_fields,target:r.target,item:r,"ui-type":r.ui_type},nativeOn:{click:function(t){return e.onMxoButtonClick.apply(null,arguments)}}})],1)})),0):e._e()],1)]),e._v(" "),e.fields["scroll-to"]?t("button",{staticClass:"jlr-immersive-hero__slide-down",on:{click:e.scrollToBottom}},[t("JlrUiAtomsIcon",{staticClass:"jlr-immersive-hero__slide-down_icon",attrs:{size:"16",icon:"icon-chevron-down",theme:e.fields.box_color}})],1):e._e(),e._v(" "),e.fields["rdx-link"]?t("div",{staticClass:"jlr-immersive-hero__btn",class:e.btnWrapperClasses},[t("div",{staticClass:"jlr-immersive-hero__btn__container"},[t("JlrUiLinkButton",{attrs:{icon:e.fields["rdx-link"].icon,href:e.fields["rdx-link"].url,"label-text":e.isMobile?"":e.fields["rdx-link"].link_text,"form-id":e.fields["rdx-link"].rdx_forms_form_id,"hidden-fields":e.fields["rdx-link"].hidden_fields,target:e.fields["rdx-link"].target,item:e.fields["rdx-link"],"always-show":""}}),e._v(" "),t("div",{staticClass:"jlr-immersive-hero__btn__shine"}
1)],1)]):e._e()],2),e._v(" "),e.blockDisclaimer?t("JlrUiAtomsSection",{staticClass:"jlr-immersive-hero__auto-column",attrs:{theme:e.fields.disclaimer_theme,"grid-modifier-class":"y-space-0",columns:1}},[t("JlrUiAtomsParagraph",{staticClass:"jlr-immersive-hero__disclaimer",attrs:{size:"xs",theme:e.fields.disclaimer_theme,html:e.$htmlFilter(e.blockDisclaimer)}})],1):e._e()],1)]},proxy:!0}])})}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{JlrUiAtomsPicture:r(318).default,JlrUiAtomsHeading:r(194).default,JlrUiAtomsParagraph:r(195).default,JlrUiDynamicLinkButton:r(126).default,JlrUiAtomsGrid:r(320).default,JlrUiAtomsIcon:r(50).default,JlrUiLinkButton:r(317).default,JlrUiAtomsSection:r(124).default})},683:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return l})),r.d(t,"f",(function(){return m})),r.d(t,"e",(function(){return h})),r.d(t,"d",(function(){return c})),r.d(t,"c",(function(){return d}));var n=r(20);function o(){var e=document.querySelector(".main-header-hidden"),t=document.querySelector(".navigation-container"),r=t?t.getBoundingClientRect().height:0;if(e&&r){var n,o=null==(n=document.querySelector(".main-header"))?void 0:n.getBoundingClientRect();r-=(null==o?void 0:o.height)||0}return r}function l(e){var t=document.querySelector(".navigation-container"),r=document.querySelector(".has-breadcrumbs"),n=t?t.getBoundingClientRect().height:0,o=!!e&&e.getBoundingClientRect().top<155;if(r&&!o){var l,m=null==(l=document.querySelector(".main-header"))?void 0:l.getBoundingClientRect();n-=(null==m?void 0:m.height)||0}return n}function m(e){var t=document.querySelector(".navigation-container");t?new ResizeObserver((t=>{for(var r of t)e(r.contentRect.height)})).observe(t):e(0)}var h=(e,t,r)=>{var o=Number(null==t?void 0:t.mainPriceDecimals)||0,l=o>0?Number(e).toFixed(o):e;return n.c.formatPrice(l,t.fullString,t.symbol,t.delimiter,t.priceFormat,!1,r)},c=e=>{var t;if(!e)return null;var r=null==e?void 0:e.anchor,n=null==e||null==(t=e.suboffers[0])?void 0:t.anchor,o=e.offer_page_url?new URL(e.offer_page_url):null;return r&&n&&o?o.pathname+"?suboffer="+r+"#"+n:null},d=(e,t,r)=>t.cdn_image_id?e.mediaLibraryUrl+"/api/v2/images/"+t.cdn_image_id+"/w/"+r+".jpg":"https://cdn-jaguarlandrover.com/api/v1/image/"+t.image_id+"/w/"+r+".jpg"},865:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));class n{constructor(title,e,t,r,n,o){void 0===n&&(n="white-theme"),this.title=title,this.subtitle=e,this.ctaText=t,this.ctaUrl=r,this.boxColor=n,this.price=o}getBannerData(){return{heading:this.title,header_tag:2,paragraph:this.subtitle,box_color:this.boxColor,price:this.price,"rdx-link":{type:"external",url:this.ctaUrl,link_text:this.ctaText,target:"_blank"}}}setBoxColor(e){this.boxColor=e}setPrice(e){this.price=e}}}}]);

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.