1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["src_main_webpack_components_marketselector_marketselector_js"],{12550:function(t,e,n){n.r(e),n.d(e,{DxDropdownEvents:function(){return a},default:function(){return u}});var o=n(69805),i=n(71202);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,l(o.key),o)}}function l(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var a={OPEN:"DxDropdown:open",CLOSE:"DxDropdown:close",UPDATE:"DxDropdown:update",REBIND:"DxDropdown:rebind"},u=function(){return t=function t(e){var n=this,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e,this.open=!1,this.button=e.querySelector(".dxDropdown__button"),this.listbox=e.querySelector(".dxDropdown__list"),this.useConstraints=r,this.truncateText=s,this.useConstraints&&(this.element.classList.add("dxDropdown--use-constraints"),this.observeDropdownConstraints(),this.element.style.setProperty("--dxdropdown-height","".concat(this.listbox.getBoundingClientRect().height,"px")),this.listboxWrapper=document.createElement("div"),this.listboxWrapper.classList.add("dxDropdown__list-wrapper"),this.listbox.parentNode.insertBefore(this.listboxWrapper,this.listbox),this.listboxWrapper.appendChild(this.listbox),this.intersectionObserverOptions={root:null,threshold:0}),this.truncateText&&this.element.classList.add("dxDropdown--use-truncate"),this.element.addEventListener(a.REBIND,function(){return n.rebindListBox()}),this.element.addEventListener("click",function(t){return n.clickEventListeners(t,o)}),this.button.addEventListener("keyup",function(t){return n.checkShow(t)}),this.listbox.addEventListener("blur",function(t){return n.testBlur(t)}),this.listbox.addEventListener("keydown",function(t){return n.keyDownEvents(t)}),this.focusElementOnClose=this.button,this.preventFocusFirstOnOpen=!1;var l=e.querySelector(".dxDropdown__list-item-link:not(.dxDropdown__list-item-link--disabled)");i&&this.addActiveDropdownItem(l),window.addEventListener("click",function(t){return n.handleWindowClick(t)})},e=[{key:"testBlur",value:function(t){var e,n;null!==(e=t.relatedTarget)&&void 0!==e&&e.classList.contains("dxDropdown__list-item")||null!==(n=t.relatedTarget)&&void 0!==n&&n.classList.contains("dxDropdown__list-item-link")||this.closeDropdown()}},{key:"handleInteraction",value:function(t){this.element.classList.contains("dxDropdown--direction-bottom")&&this.element.classList.remove("dxDropdown--direction-bottom"),this.element.classList.contains("dxDropdown--direction-top")&&this.element.classList.remove("dxDropdown--direction-top");var e=t.getBoundingClientRect(),n=window.innerHeight;e.top<=0?(this.element.classList.contains("dxDropdown--direction-bottom")||this.element.classList.add("dxDropdown--direction-bottom"),this.element.classList.contains("dxDropdown--direction-top")&&this.element.classList.remove("dxDropdown--direction-top")):e.bottom>=n&&(this.element.classList.contains("dxDropdown--direction-top")||this.element.classList.add("dxDropdown--direction-top"),this.element.classList.contains("dxDropdown--direction-bottom")&&this.element.classList.remove("dxDropdown--direction-bottom"))}},{key:"observeDropdownConstraints",value:function(){var t=this;this.useConstraints&&new IntersectionObserver(function(e){return e.forEach(function(){return t.handleInteraction(t.listbox)})},this.intersectionObserverOptions).observe(this.listbox)}},{key:"rebindListBox",value:function(){var t=this;this.listbox=this.element.querySelector(".dxDropdown__list"),this.listbox&&(this.listbox.addEventListener("blur",function(e){return t.testBlur(e)}),this.listbox.addEventListener("keydown",function(e){return t.keyDownEvents(e)}))}},{key:"handleWindowClick",value:function(t){for(var e=this,n=[],o=t.target,i=!1;o.parentNode;)n.unshift(o.parentNode),o=o.parentNode;
1n.forEach(function(t){t.classList&&t===e.element&&(i=!0)}),i||this.closeDropdown(!1)}},{key:"clickEventListeners",value:function(t,e){var n=this.useConstraints;e&&t.preventDefault();var o=t.target;if(o.classList.contains("dxDropdown__button"))this.toggleDropdown();else if(o.classList.contains("dxDropdown__list-item-link")&&!o.classList.contains("dxDropdown__list-item-link--disabled"))this.updateButtonText(t),this.closeDropdown(!0,n);else if(o.classList.contains("dxDropdown__list-item")&&!o.querySelector(".dxDropdown__list-item-link").classList.contains("dxDropdown__list-item-link--disabled")){var i=o.querySelector(".dxDropdown__list-item-link");this.updateButtonText(i),this.closeDropdown(!0,n)}else(o.classList.contains("RulesEngineDropdown__engine-label")||o.classList.contains("RulesEngineDropdown__engine-consumption"))&&(this.updateVehicleButtonText(t),this.closeDropdown())}},{key:"keyDownEvents",value:function(t){var e=t.which||t.keyCode,n=o.D.DOWN,i=o.D.UP,r=o.D.ESC,s=o.D.RETURN,l=o.D.TAB;switch(e){case n:t.preventDefault(),this.nextItem(t);break;case l:t.preventDefault(),t.shiftKey?this.previousItem(t):this.nextItem(t);break;case i:t.preventDefault(),this.previousItem(t);break;case r:t.preventDefault(),this.closeDropdown();break;case s:t.preventDefault(),this.updateButtonText(t),this.closeDropdown()}}},{key:"checkShow",value:function(t){var e=t.which||t.keyCode,n=o.D.UP,i=o.D.DOWN;switch(e){case n:case i:t.preventDefault(),this.openDropdown()}}},{key:"toggleDropdown",value:function(){return this.open?this.closeDropdown():this.openDropdown()}},{key:"openDropdown",value:function(){this.handleInteraction(this.listbox),this.element.classList.add("dxDropdown--active"),this.button.setAttribute("aria-expanded","true"),this.preventFocusFirstOnOpen||this.focusFirstItem(),this.open=!0,this.fireEvent(a.OPEN)}},{key:"closeDropdown",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.element.classList.remove("dxDropdown--active"),n&&(this.element.classList.add("dxDropdown--no-height-transition"),setTimeout(function(){t.element.classList.remove("dxDropdown--no-height-transition")},0)),this.button.setAttribute("aria-expanded","false"),this.open=!1,this.fireEvent(a.CLOSE),e&&this.focusElementOnClose.focus()}},{key:"updateButtonText",value:function(t){var e=t.target?t.target:t;this.button.innerHTML=e.innerHTML,this.fireEvent(a.UPDATE,{target:e,value:this.button.innerHTML}),this.addActiveDropdownItem(e)}},{key:"updateVehicleButtonText",value:function(t){var e=t.target.parentElement.closest(".dxDropdown__list-item-link");this.button.innerHTML=e.innerHTML,this.fireEvent(a.UPDATE,{target:e,value:this.button.innerHTML}),this.addActiveDropdownItem(e)}},{key:"nextItem",value:function(t){var e=this,n=this.listbox.querySelectorAll(".dxDropdown__list-item-link:not(.dxDropdown__list-item-link--disabled)");Array.prototype.forEach.call(n,function(o,i){t.target===o&&(i===n.length-1?e.focusFirstItem():n[i+1].focus())})}},{key:"previousItem",value:function(t){var e=this,n=this.listbox.querySelectorAll(".dxDropdown__list-item-link:not(.dxDropdown__list-item-link--disabled)");Array.prototype.forEach.call(n,function(o,i){t.target===o&&(0===i?e.focusLastItem():n[i-1].focus())})}},{key:"focusFirstItem",value:function(){this.listbox.querySelector(".dxDropdown__list-item-link:not(.dxDropdown__list-item-link--disabled)").focus()}},{key:"focusLastItem",value:function(){var t=this.listbox.querySelectorAll(".dxDropdown__list-item-link:not(.dxDropdown__list-item-link--disabled)");t.length&&t[t.length-1].focus()}},{key:"addActiveDropdownItem",value:function(t){var e=this.element.querySelector(".dxDropdown__list-item-link--active:not(.dxDropdown__list-item-link--disabled)");null!==e&&e.classList.remove("dxDropdown__list-item-link--active"),t.classList.add("dxDropdown__list-item-link--active")}},{key:"fireEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.le)(this.element,t,e)}},{key:"getElement",value:function(){return this.element}},{key:"DxDropdown",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this[t];return"function"==typeof n?n.bind(this,e)():void 0}}],e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},9606:function(t,e,n){n.r(e),n.d(e,{default:function(){return v},marketSelectorInit:function(){return g}});var o=n(12550),i=n(69805),r=n(71202),s=n(67329),l=n(37675),a=n(66604);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,i,r,s,l=[],a=!0,u=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(o=r.call(n)).done)&&(l.push(o.value),l.length!==e);a=!0);}catch(t){u=!0,i=t}
1finally{try{if(!a&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return l}}(t,e)||h(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||h(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){if(t){if("string"==typeof t)return p(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,e):void 0}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,f(o.key),o)}}function f(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}var v=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e,this.countryOptions=null,this.languageOptions=null,this.regionPlaceholder=null,this.countryPlaceholder=null,this.languagePlaceholder=null,this.cookieName="JLR_marketCookie",this.defaults={geoLocate:!0},this.uiSelectors={DxDropdowns:d(this.element.querySelectorAll(".dxDropdown")),regionDropdown:e.querySelector(".dxDropdown-region"),regionButton:e.querySelector(".dxDropdown__button-region"),countryDropdown:e.querySelector(".dxDropdown-country"),countryButton:e.querySelector(".dxDropdown__button-country"),languageDropdown:e.querySelector(".dxDropdown-language"),languageButton:e.querySelector(".dxDropdown__button-language"),countryList:e.querySelector(".dxDropdown__country-list-wrapper"),languageList:e.querySelector(".dxDropdown__language-list-wrapper"),continueButton:e.querySelector(".MarketSelector__continue-button"),visitInternationalButton:e.querySelector(".visitInternational"),trustArc:e.querySelector('[data-using-trust-arc="true"]')},this.options=Object.assign({},this.defaults,n),this.element.classList.add("MarketSelector--initialised"),this.handleTrustArc(),this.initDxDropdowns(),this.cacheSelectOptions(),this.bindEvents(),this.preSelectedRegion(),this.options.geoLocate&&this.checkForCookiesAndGeoLocate()}return e=t,n=[{key:"handleTrustArc",value:function(){if(this.uiSelectors.trustArc){var t=document.getElementById("teconsent"),e=document.querySelector(".cmp_footerNav__hygiene-links ul.toggleContent");if(e){var n=document.createElement("li");n.append(t),e.append(n)}}}},{key:"initDxDropdowns",value:function(){this.uiSelectors.DxDropdowns.forEach(function(t){return new o.default(t)})}},{key:"cacheSelectOptions",value:function(){this.countryOptions=this.uiSelectors.countryList.innerHTML,this.languageOptions=this.uiSelectors.languageList.innerHTML,this.regionPlaceholder=this.uiSelectors.regionButton.innerHTML,this.countryPlaceholder=this.uiSelectors.countryButton.innerHTML,this.languagePlaceholder=this.uiSelectors.languageButton.innerHTML}},{key:"bindEvents",value:function(){var t=this;this.uiSelectors.regionDropdown.addEventListener("click",function(e){return t.regionClickHandler(e)}),this.uiSelectors.regionDropdown.addEventListener("keydown",function(e){return t.regionClickHandler(e)}),this.uiSelectors.countryDropdown.addEventListener("click",function(e){return t.countryClickHandler(e)}),this.uiSelectors.countryDropdown.addEventListener("keydown",function(e){return t.countryClickHandler(e)}),this.uiSelectors.languageDropdown.addEventListener("click",function(e){return t.languageClickHandler(e)}),this.uiSelectors.languageDropdown.addEventListener("keydown",function(e){return t.languageClickHandler(e)}),this.uiSelectors.continueButton.addEventListener("click",function(){return t.redirectUserToChosenDestination()}),this.uiSelectors.visitInternationalButton&&this.uiSelectors.visitInternationalButton.addEventListener("click",function(e){return t.redirectUserToInternational(e)})}},{key:"regionClickHandler",value:function(t){var e=t.type,n=t.keyCode,o=t.target;if("keydown"!==e||n===i.D.RETURN)if(o.classList.contains("dxDropdown__list-item-link")){if(this.constructor.clickCheckListItem(o)){var r=o.getAttribute("data-region"),s=o.innerText;this.updateCountryOptions(r),this.constructor.setAriaLabel(this.uiSelectors.regionButton,this.regionPlaceholder,s)}}else if(o.classList.contains("dxDropdown__list-item")){var l=o.querySelector(".dxDropdown__list-item-link"),a=l.getAttribute("data-region"),u=l.innerText;this.updateCountryOptions(a),this.constructor.setAriaLabel(this.uiSelectors.regionButton,this.regionPlaceholder,u)}}},{key:"countryClickHandler",value:function(t){var e=t.target,n=t.type,o=t.keyCode,r=e.parentElement;if("keydown"!==n||o===i.D.RETURN)if(this.constructor.clickCheckListItem(e)){var s=e.getAttribute("data-country"),l=e.querySelector(".dxDropdown__list-item-link-text").innerText;this.updatelanguageOptions(s),this.constructor.setAriaLabel(this.uiSelectors.countryButton,this.countryPlaceholder,l)}else if(this.constructor.clickCheckListItem(r))r.click();else if(e.classList.contains("dxDropdown__list-item")){var a=e.querySelector(".dxDropdown__list-item-link-text").innerText,u=e.querySelector(".dxDropdown__list-item-link").getAttribute("data-country");this.updatelanguageOptions(u),this.constructor.setAriaLabel(this.uiSelectors.countryButton,this.countryPlaceholder,a)}}},{key:"languageClickHandler",value:function(t){var e,n=t.type,o=t.keyCode;if(("keydown"!==n||o===i.D.RETURN)&&(this.constructor.clickCheckListItem(t.target)?e=t.target.parentElement.getAttribute("lang"):t.target.classList.contains("dxDropdown__list-item")&&(e=t.target.getAttribute("lang")),this.constructor.clickCheckListItem(t.target)||t.target.classList.contains("dxDropdown__list-item"))){var r=t.target.innerText;this.constructor.setAriaLabel(this.uiSelectors.languageButton,this.languagePlaceholder,r),this.addMenaFontStylingToLangaugeButton(e),this.enableContinueButton()}}},{key:"updateCountryOptions",value:function(t){this.uiSelectors.countryList.innerHTML=this.countryOptions,d(this.element.querySelectorAll(".dxDropdown__list-country")).forEac
1h(function(e){var n=e.getAttribute("data-region");e.style.display="",t!==n&&(e.style.display="none")}),this.resetLists(!0),this.uiSelectors.countryDropdown.classList.remove("dxDropdown--disabled"),this.uiSelectors.countryButton.removeAttribute("tabindex"),this.uiSelectors.countryButton.removeAttribute("disabled"),(0,r.le)(this.uiSelectors.countryDropdown,"dxDropdown:Rebind",{})}},{key:"updatelanguageOptions",value:function(t){var e=this;this.uiSelectors.languageList.innerHTML=this.languageOptions,d(this.element.querySelectorAll(".dxDropdown__list-language")).forEach(function(n){var o=n.getAttribute("data-country");t!==o&&e.uiSelectors.languageList.removeChild(n)}),this.resetLists(),this.preSelectOnlyLanguage(),this.uiSelectors.languageDropdown.classList.remove("dxDropdown--disabled"),this.uiSelectors.languageButton.removeAttribute("tabindex"),this.uiSelectors.languageButton.removeAttribute("disabled"),(0,r.le)(this.uiSelectors.languageDropdown,"dxDropdown:Rebind")}},{key:"resetLists",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.disableContinueButton(),!0===t&&(this.uiSelectors.countryButton.innerHTML=this.countryPlaceholder,this.constructor.setAriaLabel(this.uiSelectors.countryButton,this.countryPlaceholder),this.uiSelectors.languageDropdown.classList.add("dxDropdown--disabled"),this.uiSelectors.languageButton.setAttribute("tabindex","-1"),this.uiSelectors.languageButton.setAttribute("disabled","")),this.uiSelectors.languageButton.innerHTML=this.languagePlaceholder,this.constructor.setAriaLabel(this.uiSelectors.languageButton,this.languagePlaceholder)}},{key:"preSelectOnlyLanguage",value:function(){var t=this.uiSelectors.languageDropdown.querySelectorAll(".dxDropdown__list-item");if(1===t.length){var e=t[0].querySelector(".dxDropdown__list-item-link"),n=e.parentElement.getAttribute("lang");this.uiSelectors.languageButton.innerHTML=e.innerHTML,this.addMenaFontStylingToLangaugeButton(n),this.constructor.setAriaLabel(this.uiSelectors.languageButton,this.languagePlaceholder,e.innerText),e.classList.add("dxDropdown__list-item-link--active"),this.enableContinueButton()}}},{key:"addMenaFontStylingToLangaugeButton",value:function(t){this.uiSelectors.languageButton.classList.remove("dxDropdown__button--mena-font"),t&&"ar"===t.toLowerCase()&&this.uiSelectors.languageButton.classList.add("dxDropdown__button--mena-font")}},{key:"enableContinueButton",value:function(){this.uiSelectors.continueButton.classList.remove("disabled"),this.uiSelectors.continueButton.removeAttribute("disabled")}},{key:"disableContinueButton",value:function(){this.uiSelectors.continueButton.classList.add("disabled"),this.uiSelectors.continueButton.setAttribute("disabled","")}},{key:"checkForCookiesAndGeoLocate",value:function(){var t,e,n=this,o=(0,l.v8)(this.cookieName),i=c(o?o.split(","):[!1,!1,!1],3),r=i[0],a=i[1],u=i[2],d=this.constructor.checkReferrer(),h=(0,l.im)(this.cookieName);h&&(t="XI"!==r,e=this.constructor.checkTimeStamp(u));var p="false"===this.element.getAttribute("data-disable-redirect");d&&h&&t&&e&&p&&(window.location=a),(0,s.BN)(function(t){return n.preSelectDropdowns(t.country_code)},{useWoosmap:!0})}},{key:"preSelectedRegion",value:function(){var t=document.querySelector(".MarketSelector__list"),e=t.dataset.hideregion,n=t.dataset.hassuppressregion,o=this.uiSelectors.regionDropdown.querySelector(".dxDropdown__list-item:first-child a").dataset.region;"true"==e&&"true"==n&&(this.updateCountryOptions(o),this.uiSelectors.regionDropdown.style.display="none")}},{key:"redirectUserToChosenDestination",value:function(){var e=this.uiSelectors.countryDropdown.querySelector(".dxDropdown__list-item-link--active").getAttribute("data-country").split("-")[1],n=this.uiSelectors.languageDropdown.querySelector(".dxDropdown__list-item-link--active"),o=n.getAttribute("href"),i=n.getAttribute("data-target");t.checkCookieConsent()&&t.checkCookieConsentCategory(["functional"])&&(0,l.n0)(this.cookieName,[e,o,Date.now()].join(","),30),window.open(o,i)}},{key:"redirectUserToInternational",value:function(e){e.preventDefault();var n=this.uiSelectors.visitInternationalButton.getAttribute("href");t.checkCookieConsent()&&t.checkCookieConsentCategory(["functional"])&&(0,l.n0)(this.cookieName,["XI",n,Date.now()].join(","),30),window.location=n}},{key:"preSelectDropdowns",value:function(t){var e=this.uiSelectors.countryDropdown.querySelector('[data-country="country-'.concat(t,'"]'));if(e){var n=e.parentElement.parentElement.getAttribute("data-region"),o=this.uiSelectors.regionDropdown.querySelector('[data-region="'.concat(n,'"]'));o.classList.add("dxDropdown__list-item-link--active"),this.uiSelectors.regionButton.innerHTML=o.innerHTML,this.updateCountryOptions(n);var i=this.uiSelectors.countryDropdown.querySelector('[data-country="country-'.concat(t,'"]'));i.classList.add("dxDropdown__list-item-link--active"),this.uiSelectors.countryButton.innerHTML=i.innerHTML,this.updatelanguageOptions("country-".concat(t)),this.preSelectOnlyLanguage()}}}],u=[{key:"checkCookieConsent",value:function(){return(0,a.ti)(null,["functional"],!0)}},{key:"checkCookieConsentCategory",value:function(t){var e=Array.isArray(t)?t:[t],n=(0,l.v8)("consent-categories"),o=!!n&&(0,a.an)(n);return!(!o||!(0,a.Pe)(o,e))||!(!o||!o.includes("all"))}},{key:"setAriaLabel",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=!1===n?"".concat(e):"".concat(e," ").concat(n);t.setAttribute("aria-label",o)}},{key:"clickCheckListItem",value:function(t){return t.classList.contains("dxDropdown__list-item-link")}},{key:"checkTimeStamp",value:function(t){return!((Date.now()-Number(t))/1e3<20)}},{key:"checkReferrer",value:function(){var t=document.referrer;return-1===t.indexOf("landrover")&&-1===t.indexOf("local")}}],n&&y(e.prototype,n),u&&y(e,u),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,u}(),g=function(){var t=document.querySelectorAll(".MarketSelector:not(.MarketSelector--initialised)");t.length&&Array.prototype.forEach.call(t,function(t){return new v(t)})}}}]);
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.