1/*! For license information please see all-models-top-nav.bundle.js.LICENSE.txt */ 2(self.webpackChunkaml=self.webpackChunkaml||[]).push([[7773,9182,5737],{41926:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(76314),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.all-models-top-nav{position:sticky;top:0px;margin-top:-1px;z-index:2000;display:flex;background:#f4f4f2;transform:translateY(0px);transition:all ease .4s}.all-models-top-nav.sticky{top:64px}.all-models-top-nav .all-models-top-nav-container{margin:0px 80px;position:relative;display:flex;line-height:64px;border-bottom:1px solid #e2e4e4;width:100%;overflow-x:auto;scrollbar-width:none;align-items:flex-start}@media(min-width: 1024px)and (max-width: 1439px){.all-models-top-nav .all-models-top-nav-container{margin:0px 56px}}.all-models-top-nav .all-models-top-nav-container::-webkit-scrollbar{display:none}.all-models-top-nav .all-models-top-nav-container.dragging li{pointer-events:none}.all-models-top-nav .all-models-top-nav-container.dragging{-webkit-user-select:none;-moz-user-select:none;user-select:none;scroll-behavior:auto}.all-models-top-nav .all-models-top-nav-container.overflow{-webkit-mask:linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #FFF 11.33%);mask:linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #FFF 11.33%)}.all-models-top-nav .all-models-top-nav-container.overflow.leftScroll{-webkit-mask:linear-gradient(80deg, rgba(0, 0, 0, 0), #000 5% 95%, rgba(0, 0, 0, 0));mask:linear-gradient(80deg, rgba(0, 0, 0, 0), #000 5% 95%, rgba(0, 0, 0, 0))}.all-models-top-nav .all-models-top-nav-container.overflow.leftScroll::before{content:"";border:1px solid #fff;position:fixed;height:36px;margin-top:14px}@media(max-width: 1023px){.all-models-top-nav .all-models-top-nav-container.overflow.leftScroll::before{display:none}}@media(max-width: 1023px){.all-models-top-nav .all-models-top-nav-container{position:relative;margin-block:0px;overflow-y:hidden;margin:0 16px;width:100vw;max-width:100vw;justify-content:unset;scroll-behavior:smooth;height:48px}.all-models-top-nav .all-models-top-nav-container.overflow{-webkit-mask:none !important;mask:none !important}}.all-models-top-nav .all-models-top-nav-container .menu-item{font-family:var(--ff-amflare);font-size:18px;font-style:normal;font-weight:400;line-height:24px;padding:20px 0px;color:#7d7e7e;cursor:pointer;display:flex;text-align:center;flex-direction:column;justify-content:center;white-space:no-wrap;align-items:center}.all-models-top-nav .all-models-top-nav-container .menu-item:not(:last-child){margin-right:48px}@media(min-width: 1024px)and (max-width: 1439px){.all-models-top-nav .all-models-top-nav-container .menu-item:not(:last-child){margin-right:32px}}@media(max-width: 1023px){.all-models-top-nav .all-models-top-nav-container .menu-item{padding:14px 0px;font-size:14px;line-height:20px}.all-models-top-nav .all-models-top-nav-container .menu-item:not(:last-child){margin-right:24px}}.all-models-top-nav .all-models-top-nav-container .menu-item.active{color:#00665e}.all-models-top-nav .all-models-top-nav-container:after{content:"";position:absolute;bottom:0;left:var(--nav-indicator-left);width:var(--nav-indicator-width);height:2px;background:#00665e;transition:all .4s cubic-bezier(0.65, 0, 0.35, 1)}.all-models-top-nav .all-models-top-nav-container.hideNavIndicator:after{visibility:hidden}.all-models-top-nav.var-dark{background:#121212}.all-models-top-nav.var-dark .all-models-top-nav-container{border-bottom:1px solid rgba(255,255,255,.25)}.all-models-top-nav.var-dark .all-models-top-nav-container .menu-item.active{color:#fff}.all-models-top-nav.var-dark .all-models-top-nav-container:after{background:#fff}',""]);const a=o},96584:function(e){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n(2));e.exports=o.default},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";
2function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(9)),a=i(n(3)),l=n(4),r=function(){if("undefined"!=typeof window){var e=100,t=["scroll","resize","load"],n={history:[]},i={offset:{},threshold:0,test:l.inViewport},r=(0,o.default)((function(){n.history.forEach((function(e){n[e].check()}))}),e);t.forEach((function(e){return addEventListener(e,r)})),window.MutationObserver&&addEventListener("DOMContentLoaded",(function(){new MutationObserver(r).observe(document.body,{attributes:!0,childList:!0,subtree:!0})}));var s=function(e){if("string"==typeof e){var t=[].slice.call(document.querySelectorAll(e));return n.history.indexOf(e)>-1?n[e].elements=t:(n[e]=(0,a.default)(t,i),n.history.push(e)),n[e]}};return s.offset=function(e){if(void 0===e)return i.offset;var t=function(e){return"number"==typeof e};return["top","right","bottom","left"].forEach(t(e)?function(t){return i.offset[t]=e}:function(n){return t(e[n])?i.offset[n]=e[n]:null}),i.offset},s.threshold=function(e){return"number"==typeof e&&e>=0&&e<=1?i.threshold=e:i.threshold},s.test=function(e){return"function"==typeof e?i.test=e:i.test},s.is=function(e){return i.test(e,i)},s.offset(0),s}};t.default=r()},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(){function e(t,i){n(this,e),this.options=i,this.elements=t,this.current=[],this.handlers={enter:[],exit:[]},this.singles={enter:[],exit:[]}}return i(e,[{key:"check",value:function(){var e=this;return this.elements.forEach((function(t){var n=e.options.test(t,e.options),i=e.current.indexOf(t),o=i>-1,a=!n&&o;n&&!o&&(e.current.push(t),e.emit("enter",t)),a&&(e.current.splice(i,1),e.emit("exit",t))})),this}},{key:"on",value:function(e,t){return this.handlers[e].push(t),this}},{key:"once",value:function(e,t){return this.singles[e].unshift(t),this}},{key:"emit",value:function(e,t){for(;this.singles[e].length;)this.singles[e].pop()(t);for(var n=this.handlers[e].length;--n>-1;)this.handlers[e][n](t);return this}}]),e}();t.default=function(e,t){return new o(e,t)}},function(e,t){"use strict";function n(e,t){var n=e.getBoundingClientRect(),i=n.top,o=n.right,a=n.bottom,l=n.left,r=n.width,s=n.height,d={t:a,r:window.innerWidth-l,b:window.innerHeight-i,l:o},c={x:t.threshold*r,y:t.threshold*s};return d.t>t.offset.top+c.y&&d.r>t.offset.right+c.x&&d.b>t.offset.bottom+c.y&&d.l>t.offset.left+c.x}Object.defineProperty(t,"__esModule",{value:!0}),t.inViewport=n},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){var i=n(5),o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")();e.exports=a},function(e,t,n){function i(e,t,n){function i(t){var n=w,i=b;return w=b=void 0,E=t,x=e.apply(i,n)}function c(e){return E=e,M=setTimeout(h,t),N?i(e):x}function u(e){var n=t-(e-k);return L?d(n,y-(e-E)):n}function v(e){var n=e-k;return void 0===k||n>=t||n<0||L&&e-E>=y}function h(){var e=a();return v(e)?p(e):void(M=setTimeout(h,u(e)))}function p(e){return M=void 0,O&&w?i(e):(w=b=void 0,x)}function f(){void 0!==M&&clearTimeout(M),E=0,w=k=b=M=void 0}function m(){return void 0===M?x:p(a())}function g(){var e=a(),n=v(e);if(w=arguments,b=this,k=e,n){if(void 0===M)return c(k);if(L)return M=setTimeout(h,t),i(k)}return void 0===M&&(M=setTimeout(h,t)),x}var w,b,y,x,M,k,E=0,N=!1,L=!1,O=!0;if("function"!=typeof e)throw new TypeError(r);return t=l(t)||0,o(n)&&(N=!!n.leading,y=(L="maxWait"in n)?s(l(n.maxWait)||0,t):y,O="trailing"in n?!!n.trailing:O),g.cancel=f,g.flush=m,g}var o=n(1),a=n(8),l=n(10),r="Expected a function",s=Math.max,d=Math.min;e.exports=i},function(e,t,n){var i=n(6),o=function(){return i.Date.now()};e.exports=o},function(e,t,n){function i(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new TypeError(l);return a(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),o(e,t,{leading:i,maxWait:t,trailing:r})}var o=n(7),a=n(1),l="Expected a function";e.exports=i},function(e,t){function n(e){return e}e.exports=n}])},62018:(e,t,n)=>{"use strict";n.r(t),n.d(t,{allModelsTopNavBlockController:()=>u});var i=n(96584),o=n(7350),a=n(88717),l=n(53479),r=n(85072),s=n.n(r),d=n(41926),c={insert:"head",singleton:!1};s()(d.A,c);d.A.locals;var u=new class{constructor(){var e,t;this.globalHeaderHide=!1,this.topNavElm=document.querySelector("section.all-models-top-nav"),this.lastScroll=window.scrollY,this.isMobile=window.matchMedia("(max-width: 767px)"),this.globalFooter=document.querySelector("footer.global-footer"),this.globalHeaderWrapper=null===(e=document.querySelector(".global-header"))||void 0===e?void 0:e.querySelector(".header-wrapper"),this.menuItems=this.topNavElm.querySelectorAll(".menu-item"),this.allModelsNavMenuContainer=this.topNavElm.querySelector(".all-models-top-nav-container"),this.scrollSections=[...document.querySelectorAll("[scroll-id]")].filter((e=>e.getAttribute("scroll-id"))),this.allModelsNavMenuMap={},null===(t=this.menuItems)||void 0===t||t.forEach(((e,t)=>{var n=e.getAttribute("data-nav-id");this.allModelsNavMenuMap[n]=e,this.allModelsNavMenuMap[n].index=t}))}init(){var e;i(".hero-banner-carousel").on("enter",(()=>{this.globalHeaderHide=!1,this.setActiveElm(this.menuItems[0])})).on("exit",(()=>{this.globalHeaderHide=!0})),window.scrollTo(0,0),window.addEventListener("scroll",o((()=>{this.lastScroll!==window.scrollY&&this.scrollTracking(),this.highlightNavMenuOnScroll()}),400),!0),this.setActiveElm(this.menuItems[0]),null===(e=this.topNavElm)||void 0===e||e.addEventListener("click",(e=>{e.target.classList.contains("menu-item")&&this.handleNavMenuClick(e.target)})),this.handleNavContainerEvents()}isXOverflown(e){return e&&e.clientWidth<e.scrollWidth}handleNavContainerEvents(){if(this.isXOverflown(this.allModelsNavMenuContainer)&&window.matchMedia("(max-width: 1024px)")){setTimeout((()=>this.allModelsNavMenuContainer.scrollTo(0,0)),500);var e=new a.g;this.allModelsNavMenuContainer.classList.add("overflow"),this.allModelsNavMenuContainer.addEventListener("scroll",this.handleMenuHorizontalScroll.bind(this)),e.init(this.allModelsNavMenuContainer)}}handleNavMenuClick(e){var t=e.getAttribute("data-nav-id"),n=document.querySelector("[scroll-id=".concat(t,"]"));this.clickedMenuItem=this.prevActiveElm.index!==e.index?n:null;var i=20;this.prevActiveElm.index>=e.index&&(i=this.isMobile?80:100);var o=(null==n?void 0:n.getBoundingClientRect().top)-i;window.scrollBy(0,o);var a=JSON.parse(e.getAttribute("data-event-config")||null);l.globalDatalayer.pushToDataLayer(a)}handleMenuHorizontalScroll(){this.allModelsNavMenuContainer.scrollLeft>0?this.allModelsNavMenuContainer.classList.add("leftScroll"):this.allModelsNavMenuContainer.classList.remove("leftScroll")}makeNavMenuItemActive(e){var t=null==e?void 0:e.getAttribute("scroll-id"),n=this.allModelsNavMenuMap[t];!n||null!=n&&n.classList.contains("active")||(this.setActiveElm(n),this.allModelsNavMenuContainer.classList.contains("overflow")&&this.allModelsNavMenuContainer.scrollTo(n.offsetLeft-(this.isMobile?100:300),0))}setActiveElm(e){var t;null===(t=this.prevActiveElm)||void 0===t||t.classList.remove("active"),e.classList.add("active"),this.animateNavIndicator(e),this.prevActiveElm=e,setTimeout((()=>{this.clickedMenuItem=null}),500)}findCurrentComponent(){return[...this.scrollSections].find((e=>""!==e.getAttribute("scroll-id")&&this.isElementInViewport(e)))}animateNavIndicator(e){this.allModelsNavMenuContainer.classList.remove("hideNavIndicator"),this.allModelsNavMenuContainer.style.setProperty("--nav-indicator-left","".concat(e.offsetLeft,"px")),this.allModelsNavMenuContainer.style.setProperty("--nav-indicator-width","".concat(e.offsetWidth,"px"))}scrollTracking(){var e,t,n,i;this.lastScroll<window.scrollY?this.globalHeaderHide&&(null===(e=this.globalHeaderWrapper)||void 0===e||e.classList.add("shift"),null===(t=this.topNavElm)||void 0===t||t.classList.remove("sticky")):(null===(n=this.globalHeaderWrapper)||void 0===n||n.classList.remove("shift"),null===(i=this.topNavElm)||void 0===i||i.classList.add("sticky"));this.lastScroll=window.scrollY}isElementInViewport(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getBoundingClientRect(),i=this.isMobile?n.top-96:n.top-64,o=n.height;return t?i<=0:i<=0&&i>=-o}highlightNavMenuOnScroll(){var e,t;if(this.isElementInViewport(this.globalFooter,!0))return null===(e=this.prevActiveElm)||void 0===e||e.classList.remove("active"),void(null===(t=this.allModelsNavMenuContainer)||void 0===t||t.classList.add("hideNavIndicator"));var n=this.clickedMenuItem?this.clickedMenuItem:this.findCurrentComponent();n&&this.makeNavMenuItemActive(n)}}},53479:(e,t,n)=>{"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{globalDatalayer:()=>l});var l=new class{constructor(){a(this,"globaldata",{})}init(){try{var e,t=JSON.parse(document.body.getAttribute("data-global-layer"))||{};this.globaldata=o({event:"page_info",url:window.location.pathname,page_name:document.title,device:document.body.getAttribute("data-device-type")},t),window.globalGALayer=this.globaldata,null===(e=window.engagePromise)||void 0===e||e.then((()=>{this.personalizeGlobalData=window.engage.globalPageViewEventData;var e={url:window.location.pathname};engage.pageView(this.personalizeGlobalData,e)}))}catch(e){console.warn("Unable to read data-global-layer attribute")}this.pushGlobalDataLayer()}pushGlobalDataLayer(){var e=()=>{var e=o({screen_resolution:"".concat(window.screen.width,"x").concat(window.screen.height),viewport_size:"".concat(window.innerWidth,"x").concat(window.innerHeight)},this.globaldata);window.dataLayer&&window.dataLayer.push(e)};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(e):window.setTimeout(e,0)}pushToDataLayer(e){window.dataLayer&&e&&(window.dataLayer.push(o({},e)),this.pushGlobalDataLayer())}pushToPersonalizeDatalayer(e){if(window.engage&&e){var t=o({},e),n=t.event;delete t.event,this.personalizeGlobalData||(this.personalizeGlobalData=window.engage.globalPageViewEventData),window.engage.event(n,this.personalizeGlobalData,t)}}}},88717:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});class i{constructor(){this.isDragging=!1}init(e){this.element=e,this.element.addEventListener("mousedown",(()=>{this.isDragging=!0})),this.element.addEventListener("mousemove",this.dragging.bind(this)),this.element.addEventListener("mouseup",(()=>{this.isDragging=!1,this.element.classList.remove("dragging")}))}dragging(e){this.isDragging&&(this.element.classList.add("dragging"),this.element.scrollLeft-=e.movementX)}}}}]);
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.