PageSourceSearch

https://pattern-labs2.rblcdn.co.uk/js/main.js?v=3.4.1

js rblcdn.co.uk collected 2026-09-28 23:40:02 UTC 95,039 bytes, 1 lines download raw bytes

1"use strict";var _this3=void 0;function _classStaticPrivateFieldSpecGet(e,t,a){return _classCheckPrivateStaticAccess(e,t),_classCheckPrivateStaticFieldDescriptor(a,"get"),_classApplyDescriptorGet(e,a)}function _classCheckPrivateStaticFieldDescriptor(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){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 _iterableToArrayLimit(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i,n,s=[],o=!0,l=!1;try{for(a=a.call(e);!(o=(i=a.next()).done)&&(s.push(i.value),!t||s.length!==t);o=!0);}catch(e){l=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(l)throw n}}return s}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _createForOfIteratorHelper(e,t){var a,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),a=0,{s:t=function(){},n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,o=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){o=!0,n=e},f:function(){try{s||null==i.return||i.return()}finally{if(o)throw n}}}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){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 _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(a="Object"===a&&e.constructor?e.constructor.name:a)||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}function _classPrivateMethodInitSpec(e,t){_checkPrivateRedeclaration(e,t),t.add(e)}function _classPrivateFieldInitSpec(e,t,a){_checkPrivateRedeclaration(e,t),t.set(e,a)}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldGet(e,t){return _classApplyDescriptorGet(e,_classExtractFieldDescriptor(e,t,"get"))}function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}function _classPrivateMethodGet(e,t,a){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return a}function _classPrivateFieldSet(e,t,a){return _classApplyDescriptorSet(e,_classExtractFieldDescriptor(e,t,"set"),a),a}function _classExtractFieldDescriptor(e,t,a){if(!t.has(e))throw new TypeError("attempted to "+a+" private field on non-instance");return t.get(e)}function _classApplyDescriptorSet(e,t,a){if(t.set)t.set.call(e,a);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=a}}function ownKeys(t,e){var a,i=Object.keys(t);return Object.getOwnPropertySymbols&&(a=Object.getOwnPropertySymbols(t),e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,a)),i}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};
1e%2?ownKeys(Object(a),!0).forEach(function(e){_defineProperty(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function _defineProperty(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,a){return t&&_defineProperties(e.prototype,t),a&&_defineProperties(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function _classStaticPrivateMethodGet(e,t,a){return _classCheckPrivateStaticAccess(e,t),a}function _classCheckPrivateStaticAccess(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}var animateNumber=function(t,a,i){function e(){var e=(new Date).getTime(),e=Math.max((o-e)/2e3,0),e=Math.round(a-e*a);t.innerHTML=formatNumber(e),e==a&&(clearInterval(n),i())}var n,s=Math.abs(Math.floor(2e3/a)),s=Math.max(s,50),o=(new Date).getTime()+2e3;e(),n=setInterval(e,s)},DataLayer=function(){function c(){_classCallCheck(this,c)}return _createClass(c,null,[{key:"recordButtonEvent",value:function(e){var e=e.target||e,t={class:e.className,id:e.id,text:e.innerText||e.getAttribute("aria-label"),type:e.dataset.buttonType||"button"},a=null===(a=e.closest("main > *"))||void 0===a?void 0:a.querySelector("h2,h3");a?t.name="".concat(a.innerText," / ").concat(t.text):(a=null===(a=e.closest(".o-hero"))||void 0===a?void 0:a.querySelector("h1"))?t.name="".concat(a.innerText," / ").concat(t.text):e.closest("header")?t.name="Heading / ".concat(t.text):e.closest("footer")&&(t.name="Footer / ".concat(t.text)),_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"button","button",t)}},{key:"recordToggleButtonEvent",value:function(e){e=e.target||e,e={class:e.className,id:e.id,text:e.innerText||e.getAttribute("aria-label"),type:e.dataset.buttonType||"button"};_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"donationAsk","donationAsk",e)}},{key:"recordCarouselClickEvent",value:function(e,t){var a,i;_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"carouselClick","section",{name:t,subtype:(null==e||null===(a=e.dataset)||void 0===a?void 0:a.carouselType)||"slider",title:null==e||null===(i=e.dataset)||void 0===i?void 0:i.carouselTitle,type:"carousel"})}},{key:"recordDownloadEvent",value:function(e){var t,a,i=null===(i=e.href)||void 0===i||null===(t=i.split("."))||void 0===t?void 0:t.reverse(),e=null===(t=e.href)||void 0===t||null===(a=t.split("/"))||void 0===a?void 0:a.reverse();0<i.length&&0<e.length&&_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"download","download",{category:1<e.length?e[1]:"sitefinity",filename:e[0],type:i[0]})}},{key:"recordFlipCardEvent",value:function(e){var t,a,i;_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"flipCard","flipCard",{text:null==e||null===(t=e.querySelector("h2,h3"))||void 0===t?void 0:t.innerText,title:null==e||null===(a=e.querySelector("img"))||void 0===a?void 0:a.title,type:null==e||null===(i=e.dataset)||void 0===i?void 0:i.cardType})}},{key:"recordFormEvent",value:function(e){var t=e.target||e;_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"formAction","form",{action:e.type,category:t.dataset.formCategory||t.dataset.formId,id:t.id||t.dataset.formId,name:t.dataset.formName||(null===(e=t.querySelector("h2,h3"))||void 0===e?void 0:e.innerText),success:t.checkValidity()})}},{key:"recordFormFieldEvent",value:function(e){var t,a,i,n,s,o=e.target||e,l=null==o?void 0:o.closest("form"),r=(null==l?void 0:l.querySelector('label[for="'.concat(null==o?void 0:o.name,'"]')))||(null==o?void 0:o.closest("label"));_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"formField",null,{form:{category:(null==l||null===(t=l.dataset)||void 0===t?void 0:t.formCategory)||(null==l||null===(a=l.dataset)||void 0===a?void 0:a.formId),id:(null==l?void 0:l.id)||(null==l||null===(i=l.dataset)||void 0===i?void 0:i.formId),name:(null==l||null===(n=l.dataset)||void 0===n?void 0:n.formName)||(null==l||null===(s=l.querySelector("h2,h3"))||void 0===s?void 0:s.innerText)},formField:{action:e.type,category:null==r?void 0:r.innerText,id:o.id,name:o.name,type:o.type,value:o.value}})}},{key:"recordNavigationEvent",value:function(e,t){var a,e=e.target||e;_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"navigation","navigation",{category:e.dataset.toggle?e.innerText:null===(a=document.querySelector('[data-toggle="'.concat(null===(a=e.closest("[data-toggle-element]"))||void 0===a?void 0:a.dataset.toggleElement,'"]')))||void 0===a?void 0:a.innerText,class:e.className,id:e.id,subcategory:e.dataset.toggle?null:e.innerText,type:t})}},{key:"recordPageMetadataEvent",value:function(){var e,t,a=null===(e=window.location.pathname.split("/"))||void 0===e||null===(t=e.filter(function(e){return!!e}))||void 0===t?void 0:t.slice(0,-1);a.forEach(function(e,t){a["category".concat(t+1)]=e,delete a[t]}),_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"pageMetaData","page",_objectSpread(_objectSpread({brand:null===(e=document.head.querySelector('[name="og:site_name"],[property="og:site_name"]'))||void 0===e?void 0:e.content,canonicalUrl:null===(t=document.head.querySelector('link[rel="canonical"]'))||void 0===t?void 0:t.href},a),{},{country:"gb",createdDate:null===(e=document.head.querySelector('[property="article:published_time"]'))||void 0===e?void 0:e.content,fullUrl:window.location.href,language:"en",lastUpdated:null===(t=document.head.querySelector('[property="article:modified_time"]'))||void 0===t?void 0:t.content,path:window.location.pathname,title:document.title}))}},{key:"recordPaginationEvent",value:function(e){_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"pagination","pagination",{name:e,type:"pagination"})}},{key:"recordPopUpEvent",value:function(e,t){_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"popUp","popUp",{action:t,title:e.heading})}},{key:"recordSocialShareEvent",value:function(e){e=e.target||e;_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"socialShare","navigation",{category:e.innerText||e.getAttribute("aria-label")||e.getAttribute("title"),class:e.className,id:e.id,type:e.closest("header")?"header":e.closest("footer")?"footer":"body"})}},{key:"recordTabClickEvent",value:function(e,t,a){_classStaticPrivateMethodGet(c,c,_dispatchEvent).call(c,"tabClick","
1section",{name:t,title:a,type:e})}}]),c}();function _dispatchEvent(e,t,a){e={event:e};t?e[t]=a:e=_objectSpread(_objectSpread({},e),a),window.dataLayer=window.dataLayer||[],dataLayer.push(e)}DataLayer.recordPageMetadataEvent();var debounce=function(a,i){var n;return function(){var e=this,t=arguments;clearTimeout(n),n=setTimeout(function(){return a.apply(e,t)},i||100)}},_options=(window.isDevice=function(e){return getComputedStyle(document.documentElement).getPropertyValue("--device-type")==e},window.isDesktop=function(){return window.isDevice("desktop")},new WeakMap),_configure=new WeakSet,_insert=new WeakSet,Element=function(){function a(e,t){_classCallCheck(this,a),_classPrivateMethodInitSpec(this,_insert),_classPrivateMethodInitSpec(this,_configure),_defineProperty(this,"node",void 0),_classPrivateFieldInitSpec(this,_options,{writable:!0,value:void 0}),this.node=document.createElement(e),_classPrivateFieldSet(this,_options,t),_classPrivateMethodGet(this,_configure,_configure2).call(this),_classPrivateMethodGet(this,_insert,_insert2).call(this)}return _createClass(a,[{key:"appendTo",value:function(e){e.appendChild(this.node)}},{key:"insertAfter",value:function(e){e.parentNode.insertBefore(this.node,e.nextSibling)}},{key:"insertBefore",value:function(e){e.parentNode.insertBefore(this.node,e)}},{key:"prependTo",value:function(e){e.prepend(this.node)}}]),a}();function _configure2(){if(_classPrivateFieldGet(this,_options).className&&(this.node.className=_classPrivateFieldGet(this,_options).className),_classPrivateFieldGet(this,_options).content&&(this.node.innerHTML=_classPrivateFieldGet(this,_options).content),_classPrivateFieldGet(this,_options).hidden&&(this.node.hidden=_classPrivateFieldGet(this,_options).hidden),_classPrivateFieldGet(this,_options).href&&(this.node.href=_classPrivateFieldGet(this,_options).href),"object"===_typeof(_classPrivateFieldGet(this,_options).attributes))for(var e=0,t=Object.entries(_classPrivateFieldGet(this,_options).attributes);e<t.length;e++){var a=_slicedToArray(t[e],2),i=a[0],a=a[1];this.node.setAttribute(i,a)}}function _insert2(){_classPrivateFieldGet(this,_options).appendTo?this.appendTo(_classPrivateFieldGet(this,_options).appendTo):_classPrivateFieldGet(this,_options).prependTo?this.prependTo(_classPrivateFieldGet(this,_options).prependTo):_classPrivateFieldGet(this,_options).insertAfter?this.insertAfter(_classPrivateFieldGet(this,_options).insertAfter):_classPrivateFieldGet(this,_options).insertBefore&&this.insertBefore(_classPrivateFieldGet(this,_options).insertBefore)}var formatNumber=function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},lazyObserver=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(e.target.style.backgroundImage="url('".concat(e.target.dataset.lazyBg,"')"),lazyObserver.unobserve(e.target))})}),randomString=(document.querySelectorAll("[data-lazy-bg]").forEach(function(e){lazyObserver.observe(e)}),function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a="",i=0;i<e;i++)a+=t.charAt(Math.floor(Math.random()*t.length));return a}),SegCodeMiddleware=function(){function l(){_classCallCheck(this,l),_defineProperty(this,"hasNewValue",!1),_defineProperty(this,"hasValue",!1),_defineProperty(this,"segCode",void 0),this.segCode=l.getSegCode(),this.hasNewValue=this.segCode!=Cookie.get(l.key),this.hasValue=null!=this.segCode&&""!=this.segCode}return _createClass(l,[{key:"appendToExternalLinks",value:function(){var e=_toConsumableArray(document.getElementsByTagName("a")).filter(function(e){if(!e.href)return!1;try{return new URL(e.href).origin!=window.location.origin}catch(e){return!1}});this.appendToLinks(e)}},{key:"appendToForms",value:function(e){var t=this;null!=e&&e.forEach(function(e){new Element("input",{appendTo:e,attributes:{name:l.key,value:t.segCode,type:"hidden"}})})}},{key:"appendToLinks",value:function(e){var a=this;e.forEach(function(e){var t=new URL(e.href);t.searchParams.set(l.key,a.segCode),e.href=t})}}],[{key:"getSegCode",value:function(){var e,t=new URLSearchParams(window.location.search),a=new URLSearchParams,i=_createForOfIteratorHelper(t);try{for(i.s();!(e=i.n()).done;){var n=_slicedToArray(e.value,2),s=n[0],o=n[1];a.append(s.toLowerCase(),o)}}catch(e){i.e(e)}finally{i.f()}return a.has(l.key)?a.get(l.key):Cookie.has(l.key)?Cookie.get(l.key):void 0}},{key:"setCookie",value:function(e){Cookie.set(l.key,e)}}]),l}(),throttle=(_defineProperty(SegCodeMiddleware,"key","seg"),window.addEventListener("load",function(){var e=new SegCodeMiddleware;e.hasNewValue&&SegCodeMiddleware.setCookie(e.segCode),e.hasValue&&(e.appendToExternalLinks(),e.appendToForms(document.querySelectorAll("form[data-append-seg-code]")),e.appendToLinks(document.querySelectorAll("a[href][data-append-seg-code]")))}),function(i,n,s){var o,l;return n=n||250,function(){var e=s||this,t=+new Date,a=arguments;o&&t<o+n?(clearTimeout(l),l=setTimeout(function(){o=t,i.apply(e,a)},n)):(o=t,i.apply(e,a))}}),_callback=new WeakMap,_timeout=new WeakMap,Timeout=function(){function a(e,t){_classCallCheck(this,a),_defineProperty(this,"wait",100),_classPrivateFieldInitSpec(this,_callback,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_timeout,{writable:!0,value:void 0}),_classPrivateFieldSet(this,_callback,e),t&&(this.wait=t)}return _createClass(a,[{key:"cancel",value:function(){clearTimeout(_classPrivateFieldGet(this,_timeout))}},{key:"start",value:function(){_classPrivateFieldSet(this,_timeout,setTimeout(_classPrivateFieldGet(this,_callback),this.wait))}}]),a}(),Cookie=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"get",value:function(t){var a;
1return t+="=",decodeURIComponent(document.cookie).split(";").forEach(function(e){0==(e=e.trimStart()).indexOf(t)&&(a=e.substring(t.length,e.length))}),a}},{key:"has",value:function(e){return void 0!==t.get(e)}},{key:"set",value:function(e,t){document.cookie="".concat(e,"=").concat(t,"; path=/; sameSite=strict;")}}]),t}();function polyfill(){var e,i,l,r,a,t,c=window,d=document;function u(e,t){this.scrollLeft=e,this.scrollTop=t}function n(e){if(null===e||"object"!==_typeof(e)||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===_typeof(e)&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function o(e,t){return"Y"===t?e.clientHeight+a<e.scrollHeight:"X"===t?e.clientWidth+a<e.scrollWidth:void 0}function _(e,t){e=c.getComputedStyle(e,null)["overflow"+t];return"auto"===e||"scroll"===e}function v(e){for(;e!==d.body&&!1===(a=void 0,a=o(t=e,"Y")&&_(t,"Y"),t=o(t,"X")&&_(t,"X"),a||t);)e=e.parentNode||e.host;var t,a;return e}function h(e){var t,a=(r()-e.startTime)/i;a=a=1<a?1:a,a=.5*(1-Math.cos(Math.PI*a)),t=e.startX+(e.x-e.startX)*a,a=e.startY+(e.y-e.startY)*a,e.method.call(e.scrollable,t,a),t===e.x&&a===e.y||c.requestAnimationFrame(h.bind(c,e))}function s(e,t,a){var i,n,s,o=r(),e=e===d.body?(n=(i=c).scrollX||c.pageXOffset,s=c.scrollY||c.pageYOffset,l.scroll):(n=(i=e).scrollLeft,s=e.scrollTop,u);h({scrollable:i,method:e,startTime:o,startX:n,startY:s,x:t,y:a})}"scrollBehavior"in d.documentElement.style&&!0!==c.__forceSmoothScrollPolyfill__||(e=c.HTMLElement||c.Element,i=468,l={scroll:c.scroll||c.scrollTo,scrollBy:c.scrollBy,elementScroll:e.prototype.scroll||u,scrollIntoView:e.prototype.scrollIntoView},r=c.performance&&c.performance.now?c.performance.now.bind(c.performance):Date.now,t=c.navigator.userAgent,a=new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(t)?1:0,c.scroll=c.scrollTo=function(){void 0!==arguments[0]&&(!0!==n(arguments[0])?s.call(c,d.body,void 0!==arguments[0].left?~~arguments[0].left:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:c.scrollY||c.pageYOffset):l.scroll.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!==_typeof(arguments[0])?arguments[0]:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:c.scrollY||c.pageYOffset))},c.scrollBy=function(){void 0!==arguments[0]&&(n(arguments[0])?l.scrollBy.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!==_typeof(arguments[0])?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):s.call(c,d.body,~~arguments[0].left+(c.scrollX||c.pageXOffset),~~arguments[0].top+(c.scrollY||c.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==n(arguments[0])){var e=arguments[0].left,t=arguments[0].top;s.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==_typeof(arguments[0])?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==n(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},e.prototype.scrollIntoView=function(){var e,t,a;!0!==n(arguments[0])?(t=(e=v(this)).getBoundingClientRect(),a=this.getBoundingClientRect(),e!==d.body?(s.call(this,e,e.scrollLeft+a.left-t.left,e.scrollTop+a.top-t.top),"fixed"!==c.getComputedStyle(e).position&&c.scrollBy({left:t.left,top:t.top,behavior:"smooth"})):c.scrollBy({left:a.left,top:a.top,behavior:"smooth"})):l.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])})}"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports={polyfill:polyfill}:polyfill();var requireScript=function(t,e){try{var a=new Element("script",{appendTo:document.body}).node;a.src=t,a.addEventListener("load",e)}catch(e){console.error("Failed to load script: '".concat(t,"'"),e)}},requireTemplate=function(t,a){try{var i="";_toConsumableArray(document.head.getElementsByTagName("link")).forEac
1h(function(e){"pattern-labs"===e.id&&(i=e.href)}),fetch("".concat(i,"/html/").concat(t)).then(function(e){return e.text().then(function(e){a(e)})})}catch(e){console.error("Failed to load template: '".concat(t,"'"),e)}},autocompleteFields=(document.querySelectorAll("[data-toggle]").forEach(function(i){i.addEventListener("close",function(e){document.querySelectorAll("[data-toggle=".concat(e.target.dataset.toggle,"]")).forEach(function(e){e.dataset.toggleState="off"}),document.querySelectorAll("[data-toggle-element=".concat(e.target.dataset.toggle,"]")).forEach(function(e){e.dataset.toggleState="closed"})}),i.addEventListener("open",function(e){document.querySelectorAll("[data-toggle=".concat(e.target.dataset.toggle,"]")).forEach(function(e){e.dataset.toggleState="on"}),document.querySelectorAll("[data-toggle-element=".concat(e.target.dataset.toggle,"]")).forEach(function(e){e.dataset.toggleState="opened"})}),i.addEventListener("click",function(e){var t,a="on"!=e.target.dataset.toggleState;e.target.dataset.toggleDevice&&!window.isDevice(e.target.dataset.toggleDevice)||(a?(!(t=e.target.dataset.toggleEnsureOpen)||(a=document.querySelector("[data-toggle=".concat(t,"]")))&&"on"!=a.dataset.toggleState&&a.dispatchEvent(new Event("click")),document.querySelectorAll("[data-toggle-state=on]").forEach(function(e){t&&t==e.dataset.toggle||e.dispatchEvent(new Event("close"))}),i.dispatchEvent(new Event("open"))):i.dispatchEvent(new Event("close")))})}),_toConsumableArray(document.querySelectorAll("[data-toggle] .icon")).forEach(function(e){e.addEventListener("click",function(e){e.stopPropagation(),e.target.closest("[data-toggle]").dispatchEvent(new Event("click"))})}),_toConsumableArray(document.getElementsByClassName("a-toggle")).forEach(function(e){e.addEventListener("click",function(e){return DataLayer.recordButtonEvent(e)})}),document.getElementsByClassName("a-autocomplete__input")),_dummy=(_toConsumableArray(autocompleteFields).forEach(function(l){l.autocomplete="off";function e(e){window.autocompleteRequest&&window.autocompleteRequest.abort();var t,a,i,s=e.target.closest(".a-autocomplete__container"),o=_toConsumableArray(document.getElementsByClassName("a-autocomplete__results")),n=e.target.value;!n||n.length<3?o.forEach(function(e){return e.remove()}):(window.autocompleteRequest=new AbortController,n=window.autocompleteRequest.signal,i=e.target.closest("[data-autocomplete]"),a=(t=i.dataset.autocomplete).includes("?")?"&":"?","FORM"==i.nodeName?(i=_toConsumableArray(new FormData(i).entries()).map(function(e){return"".concat(encodeURIComponent(e[0]),"=").concat(encodeURIComponent(e[1]))}).join("&"),t+=a+i):t+=a+"".concat(e.target.name,"=").concat(e.target.value),fetch(t,{signal:n}).then(function(e){200===e.status?e.json().then(function(e){if(o.forEach(function(e){return e.remove()}),0<e.length){for(var t=[],a=new Element("ul",{className:"a-autocomplete__results a-list--unstyled",appendTo:s}).node,i=0;i<e.length;i++){var n=new Element("li",{appendTo:a}).node,n=new Element("a",{className:"a-autocomplete__item "+(e[i].Url?"a-autocomplete__item--link":"a-autocomplete__item--term"),content:e[i].Title,href:e[i].Url||"#",appendTo:n}).node;t.push(n)}t.forEach(function(e){e.classList.contains("a-autocomplete__item--link")&&new Element("i",{className:"a-autocomplete__item__icon icon icon-link",appendTo:e}),e.addEventListener("mousedown",function(e){e.preventDefault(),"#"==e.target.getAttribute("href")?(l.value=e.target.textContent,l.closest("form").submit()):window.location=e.target.href})})}}):console.error("Fetch error","Endpoint '".concat(t,"' responded with code ").concat(e.status))}).catch(function(e){console.error("Fetch error",e)}))}l.addEventListener("keyup",e),l.addEventListener("search",e),l.addEventListener("focus",function(e){var t=document.querySelector(".a-autocomplete__results");t&&(t.hidden=!1)}),l.addEventListener("blur",function(e){document.querySelector(".a-autocomplete__results").hidden=!0})}),new WeakMap),_element=new WeakMap,_label=new WeakMap,_options2=new WeakMap,_select=new WeakMap,_isMultiple=new WeakMap,_addEventListeners=new WeakSet,_build=new WeakSet,_getOption=new WeakSet,_getOptionLabel=new WeakSet,_updateLabel=new WeakSet,Chosen=_createClass(function e(t){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_updateLabel),_classPrivateMethodInitSpec(this,_getOptionLabel),_classPrivateMethodInitSpec(this,_getOption),_classPrivateMethodInitSpec(this,_build),_classPrivateMethodInitSpec(this,_addEventListeners),_classPrivateFieldInitSpec(this,_dummy,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_element,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_label,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_options2,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_select,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_isMultiple,{writable:!0,value:void 0}),_classPrivateFieldSet(this,_element,t),_classPrivateFieldSet(this,_select,t.querySelector("select")),_classPrivateFieldGet(this,_select)&&(_classPrivateFieldSet(this,_options2,_toConsumableArray(_classPrivateFieldGet(this,_select).getElementsByTagName("option"))),_classPrivateFieldSet(this,_isMultiple,_classPrivateFieldGet(this,_select).hasAttribute("multiple")),_classPrivateMethodGet(this,_addEventListeners,_addEventListeners2).call(this),_classPrivateMethodGet(this,_build,_build2).call(this))});function _addEventListeners2(){var e=this;_classPrivateFieldGet(this,_select).addEventListener("change",function(){return _classPrivateMethodGet(e,_updateLabel,_updateLabel2).call(e)})}function _build2(){var e=_classPrivateFieldGet(this,_select).id||"".concat(_classPrivateFieldGet(this,_select).name,"__").concat(randomString(6));_classPrivateFieldSet(this,_dummy,new Element("div",{className:_classPrivateFieldGet(this,_select).classList.value,content:'<label class="a-chosen__label" for="'.concat(e,'">').concat(_classPrivateFieldGet(this,_element).dataset.chosenLabel||"Select","</label>"),appendTo:_classPrivateFieldGet(this,_element)}).node),_classPrivateFieldSet(this,_label,new Element("span",{className:"a-chosen__dummy__value",appendTo:_classPrivateFieldGet(this,_dummy)}).node),_classPrivateFieldGet(this,_dummy).classList.add("a-chosen__dummy"),_classPrivateFieldGet(this,_element).classList.add("a-chosen--ready"),_classPrivateFieldGet(this,_select).classList.add("a-chosen__select"),_classPrivateFieldGet(this,_select).id=e,_classPrivateMethodGet(this,_updateLabel,_updateLabel2).call(this)}function _getOption2(t){return _classPrivateFieldGet(this,_options2).find(function(e){return e.value===t})}function _getOptionLabel2(e){return null===(e=_classPrivateMethodGet(this,_getOption,_getOption2).call(this,e))||void 0===e?void 0:e.innerHTML}function _updateLabel2(){_classPrivateFieldGet(this,_select).value?(_classPrivateFieldGet(this,_label).hidden=!1,_classPrivateFieldGet(this,_label).innerHTML=_classPrivateFieldGet(this,_isMultiple)?_classPrivateFieldGet(this,_options2).filter(function(e){return e.selected}).length:_classPrivateMethodGet(this,_getOptionLabel,_getOptionLabel2).call(this,_classPrivateFieldGet(this,_select).value)):(_classPrivateFieldGet(this,_label).hidden=!0,_classPrivateFieldGet(this,_label).innerHTML="")}_toConsumableArray(document.getElementsByClassName("a-chosen")).forEac
1h(function(e){new Chosen(e)});var repositionCards,containers,FocusedImage=function(){function t(e){_classCallCheck(this,t),this.image=e,this.x=this.image.dataset.focusX||0,this.y=this.image.dataset.focusY||0,this.resize()}return _createClass(t,[{key:"resize",value:function(e){var t=this.image.offsetHeight,a=this.image.offsetWidth,i=this.image.parentNode,n=i.offsetHeight,i=i.offsetWidth,s=-50,i=(i<a&&(s+=(a-i)/2/a*100*-this.x),-50);n<t&&(i+=(t-n)/2/t*100*-this.y),this.image.style.transform="translate(".concat(s,"%, ").concat(i,"%)")}}]),t}(),focusedImages=[],tables=(_toConsumableArray(document.getElementsByClassName("a-focused-image__image")).forEach(function(e){var t=new FocusedImage(e);e.addEventListener("load",function(){return t.resize()}),focusedImages.push(t)}),window.addEventListener("resize",debounce(function(){return focusedImages.forEach(function(e){return e.resize()})}),20),_toConsumableArray(document.getElementsByClassName("a-button")).forEach(function(e){e.addEventListener("mousedown",function(e){return DataLayer.recordButtonEvent(e)})}),_toConsumableArray(document.querySelectorAll(".a-checkbox[data-other],.a-radio[data-other]")).forEach(function(t){var a=t.parentElement.querySelector("[data-other-field=".concat(t.dataset.other,"]"));a&&(a.addEventListener("change",function(e){t.value=e.target.value}),t.addEventListener("change",function(e){e.target.checked?a.type="text":a.type="hidden"}),"radio"===t.type&&_toConsumableArray(document.querySelectorAll("[name=".concat(t.name,"]"))).forEach(function(e){e.addEventListener("change",function(e){e.target.checked&&!e.target.dataset.other&&(a.type="hidden")})}))}),_toConsumableArray(document.querySelectorAll(".a-input[pattern], .a-input[required], .m-form input[pattern], .m-form input[required], .m-form textarea[pattern], .m-form textarea[required]")).forEach(function(e){e.addEventListener("validate",function(e){e.target.classList.add("a-input--validate")}),e.addEventListener("keydown",function(e){e.target.dispatchEvent(new Event("validate"))})}),_toConsumableArray(document.querySelectorAll("[download][data-trigger-download-timeout]")).forEach(function(e){new Timeout(function(){DataLayer.recordDownloadEvent(e),window.location=e.href},e.dataset.triggerDownloadTimeout).start()}),_toConsumableArray(document.getElementsByClassName("a-audio")).forEach(function(t){var a=t.querySelector(".a-audio__player");a.addEventListener("play",function(e){t.classList.add("a-audio--playing"),e.target.play()}),a.addEventListener("pause",function(e){t.classList.remove("a-audio--playing"),e.target.pause()}),_toConsumableArray(t.getElementsByClassName("a-audio__play")).forEach(function(e){return e.addEventListener("click",function(){return a.dispatchEvent(new Event("play"))})}),_toConsumableArray(t.getElementsByClassName("a-audio__pause")).forEach(function(e){return e.addEventListener("click",function(){return a.dispatchEvent(new Event("pause"))})})}),_toConsumableArray(document.getElementsByClassName("a-youtube-video")).forEach(function(e){var t=e.dataset.youtubeId;e.style.backgroundImage='url("http://i3.ytimg.com/vi/'.concat(t,'/hqdefault.jpg")'),e.addEventListener("click",function(e){e.target.innerHTML='<iframe src="https://www.youtube-nocookie.com/embed/'.concat(t,'?autoplay=1&color=white&rel=0" allow="autoplay; encrypted-media" allowfullscreen></iframe>'),e.target.removeEventListener("click",_this3)})}),_toConsumableArray(document.getElementsByTagName("table"))),gridsMasonry=(tables.forEach(function(e){var t=new Element("div",{className:"scrollable"}).node;e.parentNode.replaceChild(t,e),t.appendChild(e)}),_toConsumableArray(document.getElementsByClassName("a-toggle-button")).forEach(function(e){e.addEventListener("mousedown",function(e){return DataLayer.recordToggleButtonEvent(e)})}),_toConsumableArray(document.getElementsByClassName("m-cards--masonry"))),donationTypes=(0<gridsMasonry.length&&(gridsMasonry.forEac
1h(function(e){_toConsumableArray(e.getElementsByClassName("m-cards__card")).forEach(function(e,t){e.dataset.cardIndex=t})}),(repositionCards=function(){gridsMasonry.forEach(function(t){var e=parseInt(getComputedStyle(t).getPropertyValue("--columns")),a=((isNaN(e)||e<2)&&(e=1),_toConsumableArray(t.getElementsByClassName("m-cards__card")));a.forEach(function(e){return t.appendChild(e)}),_toConsumableArray(t.getElementsByClassName("m-cards__column")).forEach(function(e){return e.remove()});for(var i=0;i<e;i++){var n=new Element("div",{className:"m-cards__column",appendTo:t}).node;new Element("div",{className:"m-cards__column__inner c-content",appendTo:n})}for(var s=_toConsumableArray(t.getElementsByClassName("m-cards__column__inner")),i=0;i<a.length;i++){var o=t.querySelector("[data-card-index='".concat(i,"'"));o&&!function(){var t=s[0];s.forEach(function(e){e.clientHeight<t.clientHeight&&(t=e)}),t.appendChild(o)}()}})})(),window.addEventListener("load",repositionCards),window.addEventListener("resize",debounce(repositionCards))),_toConsumableArray(document.getElementsByClassName("m-accordion__title")).forEach(function(e){var t=e.className.match(/bg--(\S*)/),t=(t&&(t=t[t.length-1],e.dataset.accordionBackground=t),e.className.match(/text--(\S*)/));t&&(t=t[t.length-1],e.dataset.accordionText=t),e.addEventListener("open",function(e){var t=e.target.dataset.accordionText,a=e.target.dataset.accordionBackground;t&&a&&(e.target.classList.remove("bg--".concat(a)),e.target.classList.remove("text--".concat(t)),e.target.classList.add("text--".concat(a))),DataLayer.recordTabClickEvent("accordion","open",e.target.innerText)}),e.addEventListener("close",function(e){var t=e.target.dataset.accordionBackground,a=e.target.dataset.accordionText;t&&a&&(e.target.classList.add("bg--".concat(t)),e.target.classList.remove("text--".concat(t)),e.target.classList.add("text--".concat(a))),DataLayer.recordTabClickEvent("accordion","close",e.target.innerText)})}),_toConsumableArray(document.querySelectorAll('.m-content a[href*="/"][href*="."]:not([href^="mailto:"])')).forEach(function(e){e.addEventListener("click",function(){return DataLayer.recordDownloadEvent(e)})}),_toConsumableArray(document.getElementsByClassName("m-donate__amount")).forEac
1h(function(e){e.addEventListener("click",function(e){var t=document.getElementById(e.target.getAttribute("for"));!t||(t=e.target.closest(".m-donate__form").querySelector("[data-donate-statement='".concat(t.value,"']")))&&(_toConsumableArray(e.target.closest(".m-donate__form").querySelectorAll('[data-donate-statement-state="on"]')).forEach(function(e){return e.dataset.donateStatementState="off"}),t.dataset.donateStatementState="on")})}),_toConsumableArray(document.getElementsByClassName("m-donate__type"))),urlParameters=(donationTypes.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),e.target.classList.contains("m-donate__type--active")||e.target.dispatchEvent(new Event("open"))}),e.addEventListener("close",function(e){e.target.classList.remove("m-donate__type--active"),e.target.closest(".m-donate").querySelector("[data-donate-type='".concat(e.target.innerHTML.trim(),"']")).dataset.donateTypeState="off"}),e.addEventListener("open",function(e){_toConsumableArray(e.target.closest(".m-donate").getElementsByClassName("m-donate__type--active")).forEac
1h(function(e){return e.dispatchEvent(new Event("close"))}),e.target.classList.add("m-donate__type--active"),e.target.closest(".m-donate").querySelector("[data-donate-type='".concat(e.target.innerHTML.trim(),"']")).dataset.donateTypeState="on"})}),_toConsumableArray(document.getElementsByClassName("m-donate__amount__other__field")).forEach(function(e){e.addEventListener("change",function(e){e.target.closest(".m-donate__amounts").querySelector(".m-donate__amount__other").value=e.target.value}),e.addEventListener("focus",function(e){e.target.closest(".m-donate__amounts").querySelector(".m-donate__amount__other").checked=!0})}),_toConsumableArray(document.querySelectorAll("label.m-donate__amount")).forEach(function(e){e.addEventListener("click",function(e){e=e.target.closest(".m-donate__amounts").querySelector(".m-donate__amount__other__field");e.value="",e.dispatchEvent(new Event("change"))})}),new URLSearchParams(window.location.search)),donationType=urlParameters.get("donationType"),donationAmount=(donationType&&donationTypes.forEach(function(e){e.innerHTML.trim().toLowerCase()==donationType&&e.dispatchEvent(new Event("click"))}),urlParameters.get("amt")),_activeCategory=(donationAmount&&(containers=[],donationType?_toConsumableArray(document.querySelectorAll("[data-donate-type]")).forEach(function(e){e.dataset.donateType.toLowerCase()==donationType&&containers.push(e)}):containers=_toConsumableArray(document.getElementsByClassName("m-donate__amounts")),containers.forEach(function(e){var t=e.querySelector("[name='amt'][value='".concat(donationAmount,"']"));t?t.checked=!0:((t=e.querySelector(".m-donate__amount__other"))&&(t.checked=!0,t.value=donationAmount),(t=e.querySelector(".m-donate__amount__other__field"))&&(t.value=donationAmount))})),new WeakMap),_categories=new WeakMap,_clearButton=new WeakMap,_dropdown=new WeakMap,_dropdownPointer=new WeakMap,_element2=new WeakMap,_filterBar=new WeakMap,_addEventListeners3=new WeakSet,_clear=new WeakSet,_close=new WeakSet,_open=new WeakSet,_positionPointer=new WeakSet,Filter=_createClass(function e(t){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_positionPointer),_classPrivateMethodInitSpec(this,_open),_classPrivateMethodInitSpec(this,_close),_classPrivateMethodInitSpec(this,_clear),_classPrivateMethodInitSpec(this,_addEventListeners3),_classPrivateFieldInitSpec(this,_activeCategory,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_categories,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_clearButton,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_dropdown,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_dropdownPointer,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_element2,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_filterBar,{writable:!0,value:void 0}),_classPrivateFieldSet(this,_element2,t),_classPrivateFieldSet(this,_filterBar,_classPrivateFieldGet(this,_element2).querySelector(".m-filter__filter")),_classPrivateFieldSet(this,_categories,_toConsumableArray(_classPrivateFieldGet(this,_filterBar).getElementsByClassName("m-filter__category"))),0<_classPrivateFieldGet(this,_categories).length&&(_classPrivateFieldGet(this,_categories).forEach(function(e){var t=e.querySelector("select");t&&t.hasAttribute("multiple")&&e.classList.add("m-filter__category--has-multiple")}),_classPrivateFieldSet(this,_clearButton,_classPrivateFieldGet(this,_element2).querySelector(".m-filter__clear")),_classPrivateFieldGet(this,_clearButton)&&(_classPrivateFieldGet(this,_clearButton).hidden=!1),_classPrivateMethodGet(this,_addEventListeners3,_addEventListeners4).call(this))});function _addEventListeners4(){var a=this;window.addEventListener("resize",throttle(function(){return _classPrivateMethodGet(a,_positionPointer,_positionPointer2).call(a)})),_classPrivateFieldGet(this,_filterBar).addEventListener("scroll",function(){return _classPrivateMethodGet(a,_positionPointer,_positionPointer2).call(a)}),_classPrivateFieldGet(this,_categories).forEach(function(t){return t.addEventListener("click",function(e){e.target===_classPrivateFieldGet(a,_activeCategory)?_classPrivateMethodGet(a,_close,_close2).call(a):_classPrivateMethodGet(a,_open,_open2).call(a,e.target);e=t.querySelector("select");e&&e.addEventListener("change",function(){return _classPrivateMethodGet(a,_positionPointer,_positionPointer2).call(a)})})}),_classPrivateFieldGet(this,_clearButton)&&_classPrivateFieldGet(this,_clearButton).addEventListener("click",function(e){e.preventDefault(),_classPrivateMethodGet(a,_clear,_clear2).call(a)})}function _clear2(){_toConsumableArray(_classPrivateFieldGet(this,_filterBar).getElementsByTagName("select")).forEac
1h(function(e){e.selectedIndex=-1,e.dispatchEvent(new Event("change"))})}function _close2(){var e;null!==(e=_classPrivateFieldGet(this,_dropdown))&&void 0!==e&&e.remove(),_classPrivateFieldGet(this,_activeCategory)&&(_toConsumableArray(_classPrivateFieldGet(this,_activeCategory).getElementsByClassName("a-select")).forEach(function(e){return e.classList.remove("a-select--open")}),_classPrivateFieldSet(this,_activeCategory,null))}function _open2(e){var o=this,l=(_classPrivateMethodGet(this,_close,_close2).call(this),_classPrivateFieldSet(this,_activeCategory,e),_classPrivateFieldGet(this,_activeCategory).classList.contains("m-filter__category--has-multiple")),e=(_toConsumableArray(_classPrivateFieldGet(this,_activeCategory).getElementsByClassName("a-select")).forEach(function(e){return e.classList.add("a-select--open")}),_classPrivateFieldSet(this,_dropdown,new Element("div",{className:"m-filter__dropdown bg--silver c-content c-row padding",insertAfter:_classPrivateFieldGet(this,_element2)}).node),_toConsumableArray(_classPrivateFieldGet(this,_activeCategory).getElementsByTagName("optgroup")));0===e.length&&e.push(_classPrivateFieldGet(this,_activeCategory)),e.forEach(function(e){var t=new Element("div",{className:"c-flex",content:e.label?'<p class="m-filter__dropdown__title c-flex__1"><strong>'.concat(e.label,"</strong></p>"):"",appendTo:_classPrivateFieldGet(o,_dropdown)}).node,n=new Element("div",{className:"m-filter__dropdown__group c-flex c-flex__4",appendTo:t}).node,s="filter__".concat(randomString(3));_toConsumableArray(e.getElementsByTagName("option")).forEach(function(e){var t="filter__option__".concat(randomString(6)),a=new Element("div",{appendTo:n}).node,i=new Element("input",{className:l?"a-checkbox":"a-radio",attributes:{name:s,id:t,type:l?"checkbox":"radio",value:e.value},appendTo:a}).node;i.checked=e.selected,new Element("label",{className:"a-label",content:e.innerHTML,attributes:{for:t},appendTo:a}),i.addEventListener("change",function(e){var t=_classPrivateFieldGet(o,_activeCategory).querySelector('option[value="'.concat(e.target.value,'"]'));t.selected=e.target.checked,t.closest("select").dispatchEvent(new Event("change"))})})}),_classPrivateMethodGet(this,_positionPointer,_positionPointer2).call(this)}function _positionPointer2(){var e,t,a;_classPrivateFieldGet(this,_activeCategory)&&_classPrivateFieldGet(this,_dropdown)&&(null!==(e=_classPrivateFieldGet(this,_dropdownPointer))&&void 0!==e&&e.remove(),_classPrivateFieldSet(this,_dropdownPointer,new Element("div",{className:"m-filter__dropdown__pointer",appendTo:_classPrivateFieldGet(this,_dropdown)}).node),e=_classPrivateFieldGet(this,_dropdown).clientWidth,t=_classPrivateFieldGet(this,_dropdownPointer).clientWidth,a=(a=_classPrivateFieldGet(this,_activeCategory).getBoundingClientRect().x+.5*_classPrivateFieldGet(this,_activeCategory).clientWidth-.5*(window.innerWidth-e))<t?t:e-t<a?e-t:a,_classPrivateFieldGet(this,_dropdownPointer).style.left="".concat(a,"px"))}_toConsumableArray(document.getElementsByClassName("m-filter")).forEach(function(e){return new Filter(e)});var _card=new WeakMap,_links=new WeakMap,_addEventListeners5=new WeakSet,_toggle=new WeakSet,FlipCard=_createClass(function e(t){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_toggle),_classPrivateMethodInitSpec(this,_addEventListeners5),_classPrivateFieldInitSpec(this,_card,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_links,{writable:!0,value:[]}),_classPrivateFieldSet(this,_card,t),_classPrivateFieldGet(this,_card).classList.add("m-flip-card--js"),_classPrivateFieldSet(this,_links,_toConsumableArray(_classPrivateFieldGet(this,_card).querySelectorAll(".m-flip-card__back a"))),_classPrivateMethodGet(this,_addEventListeners5,_addEventListeners6).call(this)});function _addEventListeners6(){var e=this;_classPrivateFieldGet(this,_card).addEventListener("click",function(){return _classPrivateMethodGet(e,_toggle,_toggle2).call(e,_classPrivateFieldGet(e,_card))}
1),_classPrivateFieldGet(this,_links).forEach(function(e){return e.addEventListener("click",function(e){return e.stopPropagation()})})}function _toggle2(e){e.classList.toggle("m-flip-card--flip"),DataLayer.recordFlipCardEvent(_classPrivateFieldGet(this,_card))}_toConsumableArray(document.querySelectorAll(".m-flip-card:not(.m-flip-card--disabled)")).forEach(function(e){return new FlipCard(e)});var _container=new WeakMap,_control=new WeakMap,_fields=new WeakMap,_hasValues=new WeakMap,AddressLookup=function(){function a(e,t){_classCallCheck(this,a),_classPrivateFieldInitSpec(this,_container,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_control,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_fields,{writable:!0,value:[{element:"search",field:"",mode:pca.fieldMode.SEARCH},{element:"address1",field:"Line1",mode:pca.fieldMode.POPULATE},{element:"address2",field:"Line2",mode:pca.fieldMode.POPULATE},{element:"city",field:"City",mode:pca.fieldMode.POPULATE},{element:"postcode",field:"PostalCode",mode:pca.fieldMode.POPULATE},{element:"country",field:"CountryName",mode:pca.fieldMode.COUNTRY}]}),_classPrivateFieldInitSpec(this,_hasValues,{writable:!0,value:!1}),_defineProperty(this,"lookup",void 0),_defineProperty(this,"manualEntry",void 0),_defineProperty(this,"manualLink",void 0),_defineProperty(this,"searchField",void 0),_classPrivateFieldSet(this,_container,e),this.lookup=_classPrivateFieldGet(this,_container).querySelector(".m-address-fields__lookup"),this.manualEntry=_classPrivateFieldGet(this,_container).querySelector(".m-address-fields__manual-entry"),this.manualLink=_classPrivateFieldGet(this,_container).querySelector(".m-address-fields__link"),this.lookup.hidden=!1,this.manualEntry.hidden=!0,this.assignUniqueIds(t),this.searchField=_classPrivateFieldGet(this,_container).querySelector("#".concat(_classPrivateFieldGet(this,_fields)[0].element)),this.searchLabel=_classPrivateFieldGet(this,_container).querySelector("label[for='".concat(_classPrivateFieldGet(this,_fields)[0].element,"']")),_classPrivateFieldSet(this,_control,new pca.Address(_classPrivateFieldGet(this,_fields),{key:_classStaticPrivateFieldSpecGet(a,a,_key)})),_classPrivateFieldGet(this,_control).load(),_classPrivateFieldGet(this,_container).classList.contains("m-address-fields--required")&&(this.searchField.required=!0,this.searchLabel.classList.add("a-label--required")),_classPrivateFieldGet(this,_control).listen("error",function(e){console.error(e)}),this.addEventListeners(),_classPrivateFieldGet(this,_hasValues)&&this.showManualEntry()}return _createClass(a,[{key:"addEventListeners",value:function(){var e=this;_classPrivateFieldGet(this,_control).listen("populate",function(){return e.showManualEntry()}),this.manualLink.addEventListener("click",function(){return e.showManualEntry()})}},{key:"assignUniqueIds",value:function(i){var n=this;_classPrivateFieldGet(this,_fields).forEach(function(e){var t=_classPrivateFieldGet(n,_container).querySelector("[data-address-field='".concat(e.element,"']")),a=_classPrivateFieldGet(n,_container).querySelector("[data-address-label='".concat(e.element,"']"));e.element+="__".concat(i),t&&(t.dataset.addressField=e.element,t.id=e.element,0<t.value.length&&_classPrivateFieldSet(n,_hasValues,!0)),a&&a.setAttribute("for",e.element)})}},{key:"showManualEntry",value:function(){this.manualLink.hidden=!0,this.manualEntry.hidden=!1,this.searchField.required=!1,this.searchLabel.classList.remove("a-label--required")}}]),a}(),_key={writable:!0,value:"FP63-WG75-KZ22-ZX43"},addressLookupFields=_toConsumableArray(document.getElementsByClassName("m-address-fields")),_checkboxes=(0<addressLookupFields.length&&requireScript("https://services.postcodeanywhere.co.uk/js/address-3.91.js",function(){addressLookupFields.forEach(function(e,t){return new AddressLookup(e,t)})}),new WeakMap),_addEventListeners7=new WeakSet,_validate=new WeakSet,CheckboxGroup=_createClass(function e(t){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_validate),_classPrivateMethodInitSpec(this,_addEventListeners7),_classPrivateFieldInitSpec(this,_checkboxes,{writable:!0,value:[]}),_classPrivateFieldSet(this,_checkboxes,_toConsumableArray(t.getElementsByClassName("a-checkbox"))),1<_classPrivateFieldGet(this,_checkboxes).length&&_classPrivateMethodGet(this,_addEventListeners7,_addEventListeners8).call(this),_classPrivateMethodGet(this,_validate,_validate2).call(this)});function _addEventListeners8(){var t=this;
1_classPrivateFieldGet(this,_checkboxes).forEach(function(e){return e.addEventListener("change",function(){return _classPrivateMethodGet(t,_validate,_validate2).call(t)})})}function _validate2(){var t=!0;_classPrivateFieldGet(this,_checkboxes).forEach(function(e){e.checked&&(t=!1)}),_classPrivateFieldGet(this,_checkboxes).forEach(function(e){return e.required=t})}_toConsumableArray(document.getElementsByClassName("m-checkbox-group--required")).forEach(function(e){return new CheckboxGroup(e)}),_toConsumableArray(document.getElementsByTagName("form")).forEach(function(e){e.addEventListener("submit",function(e){return DataLayer.recordFormEvent(e)})}),_toConsumableArray(document.querySelectorAll("input,select,textarea")).forEach(function(e){e.addEventListener("blur",function(e){return DataLayer.recordFormFieldEvent(e)}),e.addEventListener("change",function(e){return DataLayer.recordFormFieldEvent(e)}),e.addEventListener("focus",function(e){return DataLayer.recordFormFieldEvent(e)})}),_toConsumableArray(document.querySelectorAll("form [type=submit]")).forEach(function(e){e.addEventListener("click",function(e){_toConsumableArray(e.target.closest("form").querySelectorAll("input,select,textarea")).forEach(function(e){e.dispatchEvent(new Event("validate"))})})});var customErrorMessage=function(e){e.target.setCustomValidity(""),e.target.validity.valid||e.target.setCustomValidity(e.target.dataset.error)},galleries=(_toConsumableArray(document.querySelectorAll("[data-error]")).forEach(function(e){e.addEventListener("change",customErrorMessage),e.addEventListener("input",customErrorMessage),e.addEventListener("invalid",customErrorMessage)}),_toConsumableArray(document.getElementsByClassName("m-gallery"))),resizeGalleries=function(){galleries.forEach(function(e){return e.style.height="".concat(window.innerHeight,"px")})},_countElement=(resizeGalleries(),window.addEventListener("load",resizeGalleries),window.addEventListener("resize",debounce(resizeGalleries)),new WeakMap),_element3=new WeakMap,_observer=new WeakMap,_navigation=new WeakMap,_nextButton=new WeakMap,_previousButton=new WeakMap,_activeSlide=new WeakMap,_slider=new WeakMap,_slides=new WeakMap,_addEventListeners9=new WeakSet,_nextSlide=new WeakSet,_previousSlide=new WeakSet,_repositionSlider=new WeakSet,_setUpNavigation=new WeakSet,_setUpObserver=new WeakSet,_updateActive=new WeakSet,_updateCount=new WeakSet,_validateNavigation=new WeakSet,MediaSlider=_createClass(function e(t,a){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_validateNavigation),_classPrivateMethodInitSpec(this,_updateCount),_classPrivateMethodInitSpec(this,_updateActive),_classPrivateMethodInitSpec(this,_setUpObserver),_classPrivateMethodInitSpec(this,_setUpNavigation),_classPrivateMethodInitSpec(this,_repositionSlider),_classPrivateMethodInitSpec(this,_previousSlide),_classPrivateMethodInitSpec(this,_nextSlide),_classPrivateMethodInitSpec(this,_addEventListeners9),_classPrivateFieldInitSpec(this,_countElement,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_element3,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_observer,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_navigation,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_nextButton,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_previousButton,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_activeSlide,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_slider,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_slides,{writable:!0,value:[]}),_classPrivateFieldSet(this,_element3,t),_classPrivateFieldSet(this,_slider,_classPrivateFieldGet(this,_element3).querySelector(".m-media-slider__slides")||t),_classPrivateFieldSet(this,_slides,_toConsumableArray(_classPrivateFieldGet(this,_slider).getElementsByClassName("m-media-slider__slide"))),1<_classPrivateFieldGet(this,_slides).length&&(_classPrivateMethodGet(this,_setUpNavigation,_setUpNavigation2).call(this),_classPrivateMethodGet(this,_setUpObserver,_setUpObserver2).call(this),_classPrivateMethodGet(this,_addEventListeners9,_addEventListeners10).call(this,a),_classPrivateFieldSet(this,_countElement,_classPrivateFieldGet(this,_element3).querySelector(".m-media-slider__count")))});function _addEventListeners10(e){var t=this;_classPrivateFieldGet(this,_element3).addEventListener("next",function(){return _classPrivateMethodGet(t,_nextSlide,_nextSlide2).call(t)}),_classPrivateFieldGet(this,_element3).addEventListener("previous",function(){return _classPrivateMethodGet(t,_previousSlide,_previousSlide2).call(t)}),_classPrivateFieldGet(this,_slider).addEventListener("scroll",throttle(function(){return _classPrivateMethodGet(t,_validateNavigation,_val
1idateNavigation2).call(t)})),window.addEventListener("resize",throttle(function(){return _classPrivateMethodGet(t,_repositionSlider,_repositionSlider2).call(t)})),_classPrivateFieldGet(this,_nextButton)&&_classPrivateFieldGet(this,_nextButton).addEventListener("click",function(e){e.stopPropagation(),_classPrivateMethodGet(t,_nextSlide,_nextSlide2).call(t)}),_classPrivateFieldGet(this,_previousButton)&&_classPrivateFieldGet(this,_previousButton).addEventListener("click",function(e){e.stopPropagation(),_classPrivateMethodGet(t,_previousSlide,_previousSlide2).call(t)}),e&&document.addEventListener("keyup",function(e){"ArrowLeft"===e.key&&(_classPrivateMethodGet(t,_previousSlide,_previousSlide2).call(t),e.stopPropagation()),"ArrowRight"===e.key&&(_classPrivateMethodGet(t,_nextSlide,_nextSlide2).call(t),e.stopPropagation())})}function _nextSlide2(){var e=_classPrivateFieldGet(this,_slider).scrollLeft;_classPrivateFieldGet(this,_activeSlide)?e=(e+=_classPrivateFieldGet(this,_activeSlide).scrollLeft)+_classPrivateFieldGet(this,_activeSlide).clientWidth:e+=_classPrivateFieldGet(this,_slider).clientWidth,_classPrivateFieldGet(this,_slider).scroll({left:e,behavior:"smooth"}),DataLayer.recordCarouselClickEvent(_classPrivateFieldGet(this,_element3),"arrow right")}function _previousSlide2(){var e=_classPrivateFieldGet(this,_slider).scrollLeft;_classPrivateFieldGet(this,_activeSlide)?e=(e-=_classPrivateFieldGet(this,_activeSlide).scrollLeft)-_classPrivateFieldGet(this,_activeSlide).clientWidth:e-=_classPrivateFieldGet(this,_slider).clientWidth,_classPrivateFieldGet(this,_slider).scroll({left:e,behavior:"smooth"}),DataLayer.recordCarouselClickEvent(_classPrivateFieldGet(this,_element3),"arrow left")}function _repositionSlider2(){var e=0;_classPrivateFieldGet(this,_activeSlide)&&(e=_classPrivateFieldGet(this,_slider).scrollLeft+_classPrivateFieldGet(this,_activeSlide).scrollLeft),_classPrivateFieldGet(this,_slider).scroll({left:e,behavior:"smooth"})}function _setUpNavigation2(){_classPrivateFieldSet(this,_navigation,_classPrivateFieldGet(this,_element3).querySelector(".m-media-slider__navigation")),_classPrivateFieldGet(this,_navigation)&&(_classPrivateFieldGet(this,_navigation).hidden=!1,_classPrivateFieldSet(this,_previousButton,_classPrivateFieldGet(this,_navigation).querySelector(".m-media-slider__navigation__previous")),_classPrivateFieldSet(this,_nextButton,_classPrivateFieldGet(this,_navigation).querySelector(".m-media-slider__navigation__next"))),_classPrivateFieldGet(this,_nextButton)&&(_classPrivateFieldGet(this,_nextButton).hidden=_classPrivateFieldGet(this,_slides).length<2),_classPrivateFieldGet(this,_previousButton)&&(_classPrivateFieldGet(this,_previousButton).hidden=_classPrivateFieldGet(this,_slides).length<2),_classPrivateMethodGet(this,_validateNavigation,_validateNavigation2).call(this)}function _setUpObserver2(){var t=this;_classPrivateFieldGet(this,_navigation)&&(_classPrivateFieldSet(this,_observer,new IntersectionObserver(function(e){e.forEach(function(e){.5<e.intersectionRatio&&_classPrivateMethodGet(t,_updateActive,_updateActive2).call(t,e.target)})},{threshold:[.51]})),_classPrivateFieldGet(this,_slides).forEach(function(e){_classPrivateFieldGet(t,_observer).observe(e)}))}function _updateActive2(e){_toConsumableArray(_classPrivateFieldGet(this,_slider).getElementsByClassName("m-media-slider__slide--active")).forEac
1h(function(e){e.classList.remove("m-media-slider__slide--active")}),_classPrivateFieldSet(this,_activeSlide,e),_classPrivateFieldGet(this,_activeSlide).classList.add("m-media-slider__slide--active"),_classPrivateMethodGet(this,_updateCount,_updateCount2).call(this)}function _updateCount2(){_classPrivateFieldGet(this,_countElement)&&(_classPrivateFieldGet(this,_countElement).hidden=!1,_classPrivateFieldGet(this,_countElement).innerHTML="".concat(_classPrivateFieldGet(this,_slides).indexOf(_classPrivateFieldGet(this,_activeSlide))+1," of ").concat(_classPrivateFieldGet(this,_slides).length))}function _validateNavigation2(){_classPrivateFieldGet(this,_nextButton)&&(_classPrivateFieldGet(this,_nextButton).disabled=_classPrivateFieldGet(this,_slider).scrollLeft+_classPrivateFieldGet(this,_slider).clientWidth>=_classPrivateFieldGet(this,_slider).scrollWidth),_classPrivateFieldGet(this,_previousButton)&&(_classPrivateFieldGet(this,_previousButton).disabled=_classPrivateFieldGet(this,_slider).scrollLeft<=0)}_toConsumableArray(document.getElementsByClassName("m-media-slider")).forEach(function(e){new MediaSlider(e)}),_toConsumableArray(document.getElementsByClassName("m-megamenu-donate__amount__other__field")).forEach(function(e){e.addEventListener("change",function(e){e.target.closest(".m-megamenu-donate__amounts").querySelector(".m-megamenu-donate__amount__other").value=e.target.value}),e.addEventListener("focus",function(e){e.target.closest(".m-megamenu-donate__amounts").querySelector(".m-megamenu-donate__amount__other").checked=!0})}),_toConsumableArray(document.querySelectorAll(".m-pagination__link a")).forEach(function(e){e.addEventListener("click",function(){return DataLayer.recordPaginationEvent("page ".concat(e.innerText))})}),_toConsumableArray(document.querySelectorAll(".m-pagination__next a")).forEach(function(e){e.addEventListener("click",function(){return DataLayer.recordPaginationEvent("next")})}),_toConsumableArray(document.querySelectorAll(".m-pagination__previous a")).forEach(function(e){e.addEventListener("click",function(){return DataLayer.recordPaginationEvent("previous")})});var _data=new WeakMap,_element4=new WeakMap,_html=new WeakMap,_popUp=new WeakMap,_addEventListeners11=new WeakSet,_buildPopUp=new WeakSet,_setUp=new WeakSet,PopUp=function(){function i(e,t,a){_classCallCheck(this,i),_classPrivateMethodInitSpec(this,_setUp),_classPrivateMethodInitSpec(this,_buildPopUp),_classPrivateMethodInitSpec(this,_addEventListeners11),_classPrivateFieldInitSpec(this,_data,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_element4,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_html,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_popUp,{writable:!0,value:void 0}),_classPrivateFieldSet(this,_element4,e),_classPrivateFieldSet(this,_data,a||JSON.parse(_classPrivateFieldGet(this,_element4).dataset.popUp)||{}),_classPrivateFieldSet(this,_html,t),_classPrivateMethodGet(this,_setUp,_setUp2).call(this),_classPrivateMethodGet(this,_addEventListeners11,_addEventListeners12).call(this)}return _createClass(i,[{key:"close",value:function(){var e;document.body.style.overflow="visible",null!==(e=_classPrivateFieldGet(this,_popUp))&&void 0!==e&&e.remove(),DataLayer.recordPopUpEvent(_classPrivateFieldGet(this,_data),"close")}},{key:"open",value:function(){var t=this;document.body.style.overflow="hidden",_classPrivateMethodGet(this,_buildPopUp,_buildPopUp2).call(this),document.addEventListener("keyup",function(e){"Escape"==(null==e?void 0:e.key)&&t.close()}),DataLayer.recordPopUpEvent(_classPrivateFieldGet(this,_data),"open")}}]),i}();function _addEventListeners12(){var e=this;_classPrivateFieldGet(this,_element4).addEventListener("click",function(){return e.open()})}function _buildPopUp2(){var e=this,t=Handlebars.compile(_classPrivateFieldGet(this,_html)),t=(_classPrivateFieldSet(this,_popUp,new Element("div",{content:t(_classPrivateFieldGet(this,_data)),appendTo:document.body}).node),_classPrivateFieldGet(this,_popUp).querySelector(".m-pop-up__close")),a=(t&&t.addEventListener("click",function(){return e.close()},{once:!0}),_classPrivateFieldGet(this,_popUp).querySelector(".m-pop-up__image__slider")),i=null==a?void 0:a.querySelector("img");a&&i&&setTimeout(function(){fetch(i.src,{mode:"no-cors"}).then(function(){return new MediaSlider(a,!0)})},100)}function _setUp2(){var e=new Element("div",{className:"m-pop-up-preview c-flex c-flex--center",appendTo:_classPrivateFieldGet(this,_element4)}).node,e=new Element("div",{className:"m-pop-up-preview__content c-content text--center",appendTo:e}).node;new Element("i",{className:"icon icon-search",appendTo:e}),new Element("span",{content:"Preview",appendTo:e})}var popUps=_toConsumableArray(document.querySelectorAll("[data-pop-up]"));
1function loadCarousel(){document.querySelectorAll(".glide--standard").forEach(function(e){new Glide(e,{type:"carousel",perView:3,gap:20,autoplay:5e3,animationDuration:350,hoverpause:!0,bound:!0,controls:!0,wrapperWidth:8,breakpoints:{1024:{perView:2,autoplay:0}}}).mount()})}0<popUps.length&&(requireScript("https://cdn.jsdelivr.net/npm/handlebars@latest/dist/handlebars.min.js"),requireTemplate("pop-up.hbs",function(t){popUps.forEach(function(e){return new PopUp(e,t)})})),_toConsumableArray(document.getElementsByClassName("o-back-to-top__button")).forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),window.scrollTo(0,0)})}),"loading"!==document.readyState?loadCarousel():document.addEventListener("DOMContentLoaded",function(){loadCarousel()});var _element5=new WeakMap,_cards=new WeakMap,_cardsContainer=new WeakMap,_navigation2=new WeakMap,_nextButton2=new WeakMap,_previousButton2=new WeakMap,_addEventListeners13=new WeakSet,_scrollToNext=new WeakSet,_scrollToPrevious=new WeakSet,_validateNavigation3=new WeakSet,Collection=_createClass(function e(t){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_validateNavigation3),_classPrivateMethodInitSpec(this,_scrollToPrevious),_classPrivateMethodInitSpec(this,_scrollToNext),_classPrivateMethodInitSpec(this,_addEventListeners13),_classPrivateFieldInitSpec(this,_element5,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_cards,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_cardsContainer,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_navigation2,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_nextButton2,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_previousButton2,{writable:!0,value:void 0}),_classPrivateFieldSet(this,_element5,t),_classPrivateFieldSet(this,_cardsContainer,_classPrivateFieldGet(this,_element5).querySelector(".o-collection__cards")),_classPrivateFieldSet(this,_cards,_toConsumableArray(_classPrivateFieldGet(this,_cardsContainer).querySelectorAll(".o-collection__card"))),_classPrivateFieldSet(this,_navigation2,_classPrivateFieldGet(this,_element5).querySelector(".o-collection__navigation")),1<_classPrivateFieldGet(this,_cards).length&&_classPrivateFieldGet(this,_navigation2)&&(_classPrivateFieldGet(this,_navigation2).hidden=!1,_classPrivateFieldSet(this,_nextButton2,_classPrivateFieldGet(this,_navigation2).querySelector(".o-collection__navigation__next")),_classPrivateFieldSet(this,_previousButton2,_classPrivateFieldGet(this,_navigation2).querySelector(".o-collection__navigation__previous")),_classPrivateMethodGet(this,_validateNavigation3,_validateNavigation4).call(this),_classPrivateMethodGet(this,_addEventListeners13,_addEventListeners14).call(this))});function _addEventListeners14(){var t=this;_classPrivateFieldGet(this,_cardsContainer).addEventListener("scroll",throttle(function(){return _classPrivateMethodGet(t,_validateNavigation3,_validateNavigation4).call(t)})),window.addEventListener("resize",throttle(function(){return _classPrivateMethodGet(t,_validateNavigation3,_validateNavigation4).call(t)})),_classPrivateFieldGet(this,_nextButton2)&&_classPrivateFieldGet(this,_nextButton2).addEventListener("click",function(e){return _classPrivateMethodGet(t,_scrollToNext,_scrollToNext2).call(t,e)}),_classPrivateFieldGet(this,_previousButton2)&&_classPrivateFieldGet(this,_previousButton2).addEventListener("click",function(e){return _classPrivateMethodGet(t,_scrollToPrevious,_scrollToPrevious2).call(t,e)})}function _scrollToNext2(){var a=this,i=_classPrivateFieldGet(this,_cards)[1],n=_classPrivateFieldGet(this,_cardsContainer).scrollLeft,s=_classPrivateFieldGet(this,_cardsContainer).offsetLeft;
1_classPrivateFieldGet(this,_cards).forEach(function(e,t){e.offsetLeft-s<=n&&(i=_classPrivateFieldGet(a,_cards)[t+1])}),_classPrivateFieldGet(this,_cardsContainer).scroll({left:i.offsetLeft-s,behavior:"smooth"})}function _scrollToPrevious2(){var t=_classPrivateFieldGet(this,_cards)[0],a=_classPrivateFieldGet(this,_cardsContainer).scrollLeft,i=_classPrivateFieldGet(this,_cardsContainer).offsetLeft,e=(_classPrivateFieldGet(this,_cards).forEach(function(e){e.offsetLeft-i<a&&(t=e)}),t.offsetLeft);t==_classPrivateFieldGet(this,_cards)[0]&&(e=0),_classPrivateFieldGet(this,_cardsContainer).scroll({left:e-i,behavior:"smooth"})}function _validateNavigation4(){var e=!1,t=!1;_classPrivateFieldGet(this,_nextButton2)&&(e=_classPrivateFieldGet(this,_cardsContainer).scrollLeft+_classPrivateFieldGet(this,_cardsContainer).clientWidth>=_classPrivateFieldGet(this,_cardsContainer).scrollWidth,_classPrivateFieldGet(this,_nextButton2).disabled=e),_classPrivateFieldGet(this,_previousButton2)&&(t=_classPrivateFieldGet(this,_cardsContainer).scrollLeft<=0,_classPrivateFieldGet(this,_previousButton2).disabled=t),_classPrivateFieldGet(this,_navigation2).hidden=e&&t}function quickExit(e){var t="",a="",e=(t=e?(a=getRandomUrl(e=e.split(",")),getRandomUrl(e)):a="https://www.google.com",window.open(a,"_blank"));e&&e.focus(),window.location.replace(t)}function getRandomUrl(e){e=e[Math.floor(Math.random()*e.length)];return e=!(e=e.trim()).match(/^https?:\/\//i)?"http://"+e:e}_toConsumableArray(document.getElementsByClassName("o-collection")).forEach(function(e){return new Collection(e)}),document.addEventListener("keydown",function(e){"Escape"!==e.key||(e=document.getElementById("quickExitButton"))&&e.click()}),_toConsumableArray(document.querySelectorAll(".o-footer__navigation a")).forEach(function(e){e.addEventListener("click",function(e){return DataLayer.recordNavigationEvent(e,"footer")})});var ctaElements,headerElements,navigationElements,searchElements,scrollUp,scrollDown,lastScroll,resizeNavigation,wasMobile,_activeIndex=new WeakMap,_container2=new WeakMap,_content=new WeakMap,_explore=new WeakMap,_slider2=new WeakMap,_slides2=new WeakMap,_navigation3=new WeakMap,_addListeners=new WeakSet,_exploreGallery=new WeakSet,_prepareSlides=new WeakSet,_showSlide=new WeakSet,_updateNavigation=new WeakSet,Gallery=_createClass(function e(t){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_updateNavigation),_classPrivateMethodInitSpec(this,_showSlide),_classPrivateMethodInitSpec(this,_prepareSlides),_classPrivateMethodInitSpec(this,_exploreGallery),_classPrivateMethodInitSpec(this,_addListeners),_classPrivateFieldInitSpec(this,_activeIndex,{writable:!0,value:0}),_classPrivateFieldInitSpec(this,_container2,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_content,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_explore,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_slider2,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_slides2,{writable:!0,value:[]}),_classPrivateFieldInitSpec(this,_navigation3,{writable:!0,value:{container:null,cta:null,next:null,nextLabel:null,previous:null,previousLabel:null}}),_classPrivateFieldSet(this,_container2,t),_classPrivateFieldSet(this,_content,t.querySelector(".o-gallery__content")),_classPrivateFieldSet(this,_explore,t.querySelector(".o-gallery__explore")),_classPrivateFieldGet(this,_navigation3).container=t.querySelector(".o-gallery__navigation"),_classPrivateFieldGet(this,_navigation3).container&&(_classPrivateFieldGet(this,_navigation3).cta=_classPrivateFieldGet(this,_navigation3).container.querySelector(".o-gallery__navigation__cta"),_classPrivateFieldGet(this,_navigation3).next=_classPrivateFieldGet(this,_navigation3).container.querySelector(".o-gallery__navigation__next"),_classPrivateFieldGet(this,_navigation3).nextLabel=_classPrivateFieldGet(this,_navigation3).next.querySelector(".o-gallery__navigation__next__label"),_classPrivateFieldGet(this,_navigation3).previous=_classPrivateFieldGet(this,_navigation3).container.querySelector(".o-gallery__navigation__previous"),_classPrivateFieldGet(this,_navigation3).previousLabel=_classPrivateFieldGet(this,_navigation3).previous.querySelector(".o-gallery__navigation__previous__label")),_classPrivateFieldSet(this,_slider2,t.querySelector(".o-gallery__slides")),_classPrivateFieldSet(this,_slides2,_toConsumableArray(t.getElementsByClassName("o-gallery__slide"))),_classPrivateMethodGet(this,_prepareSlides,_prepareSlides2).call(this),_classPrivateMethodGet(this,_addListeners,_addListeners2).call(this)});function _addListeners2(){var t=this;_classPrivateFieldGet(this,_explore)&&_classPrivateFieldGet(this,_explore).addEventListener("click",function(e){return _classPrivateMethodGet(t,_exploreGallery,_exploreGallery2).call(t,e)}),_classPrivateFieldGet(this,_navigation3).container&&(_classPrivateFieldGet(this,_navigation3).next&&_classPrivateFieldGet(this,_navigation3).next.addEventListener("click",function(){return _classPrivateMethodGet(t,_showSlide,_showSlide2).call(t,_classPrivateFieldGet(t,_activeIndex)+1)}),_classPrivateFieldGet(this,_navigation3).previous&&_classPrivateFieldGet(this,_navigation3).previous.addEventListener("click",function(){return _classPrivateMethodGet(t,_showSlide,_showSlide2).call(t,_classPrivateFieldGet(t,_activeIndex)-1)}))}function _exploreGallery2(e){var t=this;e.preventDefault(),_classPrivateFieldGet(this,_container2).classList.add("o-gallery--explore"),_classPrivateFieldGet(this,_content)&&new Timeout(function(){return _classPrivateFieldGet(t,_content).hidden=!0},1e3).start(),0<_classPrivateFieldGet(this,_slides2).length&&(_classPrivateFieldGet(this,_slides2).forEach(function(e){return e.classList.add("m-gallery--enlarged")}),_classPrivateMethodGet(this,_showSlide,_showSlide2).call(this,0),_classPrivateFieldGet(this,_navigation3).container&&(_classPrivateFieldGet(this,_container2).classList.add("o-gallery--has-navigation"),new Timeout(function(){return _classPrivateFieldGet(t,_navigation3).container.hidden=!1},1300).start()))}function _prepareSlides2(){_classPrivateFieldGet(this,_slider2).style.display="flex",_classPrivateFieldGet(this,_slider2).style.width="".concat(100*_classPrivateFieldGet(this,_slides2).length,"vw"),_classPrivateFieldGet(this,_slides2).forEach(function(e){e.classList.add("m-gallery--hide-content"),e.style.display="block",e.style.width="100vw",_toConsumableArray(e.getElementsByClassName("m-gallery--hide-content")).forEac
1h(function(e){return e.classList.remove("m-gallery--hide-content")})})}function _showSlide2(e){_classPrivateFieldSet(this,_activeIndex,e);var t=_classPrivateFieldGet(this,_slides2)[e];_classPrivateFieldGet(this,_slides2).forEach(function(e){return e.classList.add("m-gallery--hide-content")}),new Timeout(function(){return t.classList.remove("m-gallery--hide-content")},1300).start(),_classPrivateFieldGet(this,_slider2).style.marginLeft="".concat(-100*_classPrivateFieldGet(this,_activeIndex),"vw"),_classPrivateMethodGet(this,_updateNavigation,_updateNavigation2).call(this,t)}function _updateNavigation2(e){_classPrivateFieldGet(this,_navigation3).container&&(_classPrivateFieldGet(this,_navigation3).cta.hidden=!0,_classPrivateFieldGet(this,_navigation3).next.hidden=!0,_classPrivateFieldGet(this,_navigation3).previous.hidden=!0,e.dataset.slideUrl&&(_classPrivateFieldGet(this,_navigation3).cta.href=e.dataset.slideUrl,_classPrivateFieldGet(this,_navigation3).cta.hidden=!1),0<_classPrivateFieldGet(this,_activeIndex)&&(e=_classPrivateFieldGet(this,_slides2)[_classPrivateFieldGet(this,_activeIndex)-1].dataset.slideTitle||"Previous",_classPrivateFieldGet(this,_navigation3).previousLabel.innerHTML=e,_classPrivateFieldGet(this,_navigation3).previous.hidden=!1),_classPrivateFieldGet(this,_activeIndex)!=_classPrivateFieldGet(this,_slides2).length&&(e=_classPrivateFieldGet(this,_slides2)[_classPrivateFieldGet(this,_activeIndex)+1].dataset.slideTitle||"Next",_classPrivateFieldGet(this,_navigation3).nextLabel.innerHTML=e,_classPrivateFieldGet(this,_navigation3).next.hidden=!1))}function oldHeaderMenuOnPage(){return document.querySelector(".o-header")}_toConsumableArray(document.getElementsByClassName("o-gallery")).forEach(function(e){return new Gallery(e)}),oldHeaderMenuOnPage()&&(ctaElements=_toConsumableArray(document.getElementsByClassName("o-header__ctas")),headerElements=_toConsumableArray(document.getElementsByClassName("o-header")),navigationElements=_toConsumableArray(document.getElementsByClassName("o-header__navigation")),searchElements=_toConsumableArray(document.getElementsByClassName("o-header__search")),scrollUp="slide--up",scrollDown="slide--down",lastScroll=0,(resizeNavigation=function(){ctaElements.forEach(function(e){return e.style.top="".concat(window.innerHeight,"px")}),navigationElements.forEach(function(e){return e.style.height=window.isDesktop()?"auto":"".concat(window.innerHeight,"px")}),searchElements.forEach(function(e){return e.style.height="".concat(window.innerHeight,"px")}),headerElements.forEach(function(e){e.classList.contains("o-header--open")&&window.scroll({top:e.getBoundingClientRect().top+window.scrollY})})})(),window.addEventListener("load",resizeNavigation),window.addEventListener("resize",debounce(resizeNavigation,20)),window.addEventListener("scroll",function(){headerElements[0];var e=window.pageYOffset-300;e<=0?headerElements[0].classList.remove(scrollUp):(lastScroll<e&&!headerElements[0].classList.contains(scrollDown)?(headerElements[0].classList.remove(scrollUp),headerElements[0].classList.add(scrollDown)):e<lastScroll&&headerElements[0].classList.contains(scrollDown)&&(headerElements[0].classList.remove(scrollDown),headerElements[0].classList.add(scrollUp)),lastScroll=e)}),document.querySelectorAll(".o-header [data-toggle]").forEach(function(e){e.addEventListener("close",function(e){var t,a,i=e.target.closest(".o-header");i&&(a=!1,(t=e.target.dataset.toggleEnsureOpen)&&!window.isDesktop()&&(a=document.querySelector("[data-toggle=".concat(t,"][data-toggle-state=on]"))),i&&!a&&(document.body.style.overflow="visible",i.classList.remove("o-header--open"),i.classList.remove("o-header--open--".concat(e.target.dataset.toggle))))}),e.addEventListener("open",function(e){e.preventDefault();var t=e.target.closest(".o-header");t&&(document.body.style.overflow="hidden",window.scroll({top:t.getBoundingClientRect().top+window.scrollY}),t.classList.add("o-header--open"),t.classList.add("o-header--open--".concat(e.target.dataset.toggle)))})}),wasMobile=!0,window.addEventListener("resize",debounce(function(){var t,e;wasMobile&&window.isDesktop()&&(t=!0,0<(e=document.querySelectorAll("[data-toggle-state=on]")).length&&(e.forEach(function(e){"nav"!=e.dataset.toggle&&(t=!1)}),t&&e[0].dispatchEvent(new Event("close")))),wasMobile=!window.isDesktop()})),_toConsumableArray(document.getElementsByClassName("o-header__shadow")).forEac
1h(function(e){e.addEventListener("click",function(e){document.querySelectorAll("[data-toggle-state=on]").forEach(function(e){e.dispatchEvent(new Event("close"))})})}),_toConsumableArray(document.querySelectorAll("header nav a")).forEach(function(e){e.addEventListener("click",function(e){return DataLayer.recordNavigationEvent(e,"header")})}));var i,acc=document.getElementsByClassName("accordion_ask--container"),topPanel=document.getElementsByClassName("accordion__ask--active"),panel=document.getElementsByClassName("accordion__ask--panel");for(window.addEventListener("resize",function(){for(i=0;i<acc.length;i++)panel[i].classList.contains("accordion__ask--panel-default-open")&&(panel[i].style.maxHeight=panel[i].scrollHeight+"px")},!0),i=0;i<acc.length;i++)panel[i]&&panel[i].previousElementSibling.classList.contains("accordion__ask--active")&&(panel[i].style.maxHeight=panel[i].scrollHeight+"px"),acc[i].addEventListener("click",function(){this.parentNode.classList.toggle("accordion__ask--active");var e=this.getElementsByTagName("button")[0],e=("true"===e.ariaExpanded?e.ariaExpanded="false":e.ariaExpanded="true",this.getElementsByTagName("i")[0]),t=this.parentNode.nextElementSibling;e.classList.contains("icon-plus")?(e.classList.remove("icon-plus"),e.classList.add("icon-minus")):(e.classList.add("icon-plus"),e.classList.remove("icon-minus")),t.classList.contains("accordion__ask--panel-default-open")?(t.classList.remove("accordion__ask--panel-default-open"),t.style.maxHeight=null):t.style.maxHeight?t.style.maxHeight=null:(t.style.maxHeight=t.scrollHeight+"px",t.classList.add("accordion__ask--panel-default-open"))});var onYouTubeIframeAPIReady,onPlayerReady,onPlayerStateChange,stopVideo,showModal,closeModal,oldContent,newContent,youtubeVideoId,tag,firstScriptTag,player,done,manualNav,repeat,heroes,resizeHero,continueToResize,handleSubMenuToggle,updateNavOverflow,isMobile,calculateMenuHeight,setNavHeight,navItems,subMenus,subMenusInnerContainer,navigationContainer,mobileBreakpoint,menuToggle,menuButton,menuButtonOn,menuButtonOff,isMobileView,previousIsMobile,resizeTimeout,navItemsContainer,subMenusContainerItem,modal=document.getElementById("campaignModal"),slides=(null!=modal&&(onYouTubeIframeAPIReady=function(){player=new YT.Player("player",{height:"100%",width:"100%",autoplay:1,videoId:youtubeVideoId,events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}})},onPlayerReady=function(e){},onPlayerStateChange=function(e){0===e.data&&closeModal()},stopVideo=function(){player.stopVideo()},showModal=function(){modal.style.display="block",modal.setAttribute("aria-hidden","false"),player.playVideo()},closeModal=function(){""!==newContent.innerHTML&&(oldContent.innerHTML=newContent.innerHTML,oldContent.setAttribute("aria-hidden","true"),newContent.setAttribute("aria-hidden","false")),done=!0,stopVideo(),document.getElementById("btn-again").addEventListener("click",showModal),modal.style.display="none",modal.setAttribute("aria-hidden","true")},oldContent=document.getElementById("campaignContentBeforeModal"),newContent=document.getElementById("campaignContentAfterModal"),youtubeVideoId=modal.getAttribute("data-videoID"),(tag=document.createElement("script")).src="https://www.youtube.com/iframe_api",(firstScriptTag=document.getElementsByTagName("script")[0]).parentNode.insertBefore(tag,firstScriptTag),done=!1,document.getElementById("modalBtn").addEventListener("click",showModal),document.getElementById("closeModal").addEventListener("click",closeModal)),document.querySelectorAll(".o-hero--slide")),btns=document.querySelectorAll(".o-hero--slider__navigation-btn"),pauseBtn=document.getElementById("heroSliderPauseBtn"),currentSlide=1,header=(null!=slides&&(manualNav=function(e){slides.forEach(function(e){e.classList.remove("o-hero-slide--active"),e.setAttribute("aria-hidden","true")}),btns.forEach(function(e){e.classList.remove("o-hero-slide--active")}),slides[e].classList.add("o-hero-slide--active"),slides[e].setAttribute("aria-hidden","false"),btns[e].classList.add("o-hero-slide--active")},(repeat=function(e){var t=document.getElementsByClassName("o-hero-slide--active"),a=1;(function e(){setTimeout(function(){null!=pauseBtn&&pauseBtn.classList.contains("o-hero-slide--paused")||(_toConsumableArray(t).forEach(function(e){e.classList.remove("o-hero-slide--active")}),null!=slides[a]&&slides[a].classList.add("o-hero-slide--active"),null!=btns[a]&&btns[a].classList.add("o-hero-slide--active"),a++,null!=pauseBtn&&pauseBtn.classList.contains("o-hero-slide--paused")||(a=slides.length==a?0:a)>=slides.length||e())},6e3)})()})(),null!=btns&&btns.forEach(function(e,t){e.addEventListener("click",function(){manualNav(t),currentSlide=t})}),null!=pauseBtn&&pauseBtn.addEventListener("click",function(){pauseBtn.classList.toggle("o-hero-slide--paused"),repeat()})),document.querySelector(".o-n-header")),animateStat=(!header||header.classList.contains("o-header--absolute")||header.classList.contains("o-header--minimal")||0<(heroes=_toConsumableArray(document.querySelectorAll(".o-hero--fill-screen .o-hero__content"))).length&&(continueToResize=!(resizeHero=function(){var t,e=document.querySelector(".o-n-header");
1e&&(t=window.innerHeight-e.offsetHeight,heroes.forEach(function(e){e.style.minHeight="".concat(t,"px")}))}),resizeHero(),window.addEventListener("resize",debounce(function(){(continueToResize||window.isDesktop())&&(resizeHero(),continueToResize=!0)}))),_toConsumableArray(document.querySelectorAll(".o-infographic--animate .o-infographic__stat")).forEach(function(e){for(var t=e.innerHTML.split(" "),a=0;a<t.length;a++)t[a]='<span style="animation-duration:'.concat(.4*(a+1),'s">').concat(t[a],"</span>");e.innerHTML=t.join(" "),e.classList.add("o-infographic__stat--ready")}),function(e){e.classList.remove("o-infographic__stat--ready");var t=!1;_toConsumableArray(e.getElementsByTagName("span")).forEach(function(e){e.innerHTML=e.innerHTML.replace(/[\d|,]{1,}/g,function(e){return t=!0,e=e.replaceAll(",",""),'<span data-animate-number="'.concat(e,'">').concat(formatNumber(e),"</span>")})}),t&&_toConsumableArray(e.querySelectorAll("[data-animate-number]")).forEach(function(e){e.style.textAlign="center",e.style.width="".concat(e.clientWidth,"px"),animateNumber(e,e.dataset.animateNumber,function(){return e.style.width="auto"})})}),infographicObserver=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(animateStat(e.target),infographicObserver.unobserve(e.target))})});function megaMenuOnPage(){return null!=document.querySelector(".megamenu")}_toConsumableArray(document.getElementsByClassName("o-infographic__stat--ready")).forEach(function(e){infographicObserver.observe(e)}),megaMenuOnPage()&&(handleSubMenuToggle=function(e){var t;isMobile()&&(e.preventDefault(),(t=this.closest(".sub-menu-l2"))?(document.querySelectorAll(".sub-menu-l2.open").forEach(function(e){e!==t&&e.classList.remove("open")}),t.classList.toggle("open")):console.error("Parent menu container not found for toggle:",this))},updateNavOverflow=function(){var e,t;isMobile()&&(e=document.querySelector("nav"),t=document.querySelector(".nav-item[data-toggle-state='on']"),e.classList.contains("showflex")?e.style.overflow=t?"":"hidden":e.style.overflow="")},isMobile=function(){return window.innerWidth<mobileBreakpoint},calculateMenuHeight=function(){var t=0;return subMenusInnerContainer.forEach(function(e){e=e.offsetHeight;t<e&&(t=e)}),t+navItems.offsetHeight},setNavHeight=function(){var e;isMobile()?(navItems.style.minHeight="auto",e=calculateMenuHeight(),navItems.style.minHeight="".concat(e,"px")):(navItems.style.minHeight="100%",navigationContainer.classList.remove("showflex"))},window.addEventListener("load",function(){document.querySelectorAll(".menu-l2-toggle").forEach(function(e){e.addEventListener("click",handleSubMenuToggle)})}),navItems=document.querySelector(".nav-items"),subMenus=document.querySelectorAll(".sub-menu"),subMenusInnerContainer=document.querySelectorAll(".sub-menu-mobile"),navigationContainer=document.querySelector("nav"),mobileBreakpoint=681,menuToggle=document.getElementById("menu-toggle"),menuButton=document.getElementById("menu-button"),menuButtonOn=document.getElementById("menu-button-on"),menuButtonOff=document.getElementById("menu-button-off"),document.querySelectorAll(".nav-item").forEach(function(e){e.addEventListener("click",function(){updateNavOverflow()})}),document.querySelectorAll(".sub-menu-header__title").forEach(function(e){e.addEventListener("click",function(){document.querySelector("nav").style.overflow="hidden"})}),menuButton.addEventListener("click",function(){menuToggle.checked=!menuToggle.checked,menuToggle.dispatchEvent(new Event("change"))}),menuToggle.addEventListener("change",function(){navItems.classList.toggle("open",this.checked),navigationContainer.classList.toggle("showflex",this.checked),menuButtonOn.className=this.checked?"a-toggle__off icon icon-bars":"a-toggle__on icon icon-bars",menuButtonOff.className=this.checked?"a-toggle__on icon icon-cross":"a-toggle__off icon icon-cross",updateNavOverflow()}),isMobileView=window.innerWidth<mobileBreakpoint,window.addEventListener("resize",function(){var e=this.window.innerWidth<mobileBreakpoint;e!==isMobileView&&((isMobileView=e)||(menuToggle.checked=!1,menuToggle.dispatchEvent(new Event("change"))))}),previousIsMobile=isMobile(),setNavHeight(),window.addEventListener("resize",function(){var e=isMobile();e!==previousIsMobile&&(setNavHeight(),previousIsMobile=e),clearTimeout(resizeTimeout),resizeTimeout=setTimeout(function(){setNavHeight()},200)}),isMobile()||(navItemsContainer=document.querySelectorAll(".nav-item"),subMenusContainerItem=d
1ocument.querySelectorAll(".sub-menu"),navItemsContainer.forEach(function(e,a){e.addEventListener("click",function(){var e=subMenusContainerItem[a];"opened"===e.getAttribute("data-toggle-state")?e.setAttribute("data-toggle-state","opened"):e.setAttribute("data-toggle-state","closed"),subMenusContainerItem.forEach(function(e,t){t!==a&&e.setAttribute("data-toggle-state","closed")})})}),document.addEventListener("click",function(t){var e=_toConsumableArray(subMenusContainerItem).some(function(e){return e.contains(t.target)}),a=_toConsumableArray(navItemsContainer).some(function(e){return e.contains(t.target)});e||a||(subMenusContainerItem.forEach(function(e){e.setAttribute("data-toggle-state","closed")}),navItemsContainer.forEach(function(e){e.setAttribute("data-toggle-state","off")}))})));var triggerl2Resize,_isMobile,adjustSectionMenu,calculateWidthOfMenuItems,getSectionMenuItemWidth,menuToMore,moreToMenu,toggleMoreVisibility,moveDirectlyAboveMainContent,moreMenu,updateL2SizeForSubMenu=function(e){var e=e.querySelectorAll(".sub-menu-l2"),i={};e.forEach(function(e){var t=e.firstElementChild;t.style.height="";var a=t.getBoundingClientRect().top.toString();e.setAttribute("data-row-id",a),"0"!==a&&(e=t.offsetHeight,(!i[a]||i[a]<e)&&(i[a]=e))}),0<Object.keys(i).length&&e.forEach(function(e){var t=e.firstElementChild,a=t.offsetHeight,e=e.getAttribute("data-row-id");i[e]!==a&&(t.style.height=i[e]+"px")})},l2HeadingHeightMatch=function(){document.querySelectorAll(".sub-menu").forEach(function(e){updateL2SizeForSubMenu(e)})};function sectionMenuOnPage(){return document.querySelector(".o-section-menu")}window.addEventListener("resize",function(){clearTimeout(triggerl2Resize),triggerl2Resize=setTimeout(l2HeadingHeightMatch,25)}),window.addEventListener("load",function(){var e=document.querySelectorAll(".sub-menu"),t=new MutationObserver(function(e){e.forEach(function(e){updateL2SizeForSubMenu(e.target)})});e.forEach(function(e){t.observe(e,{attributes:!0})})}),sectionMenuOnPage()&&(_isMobile=function(){return window.innerWidth<768},adjustSectionMenu=function(){var e=calculateWidthOfMenuItems(),t=document.querySelector(".o-section-menu"),a=getSectionMenuItemWidth(t),i=getSectionMenuItemWidth(document.querySelector(".o-section-menu--more")),n=(a-i-getSectionMenuItemWidth(document.querySelector(".o-section-menu--title")))/1.5;t.dataset.menuWidth=a,t.dataset.availableSpace=n,t.dataset.moreWidth=i,_isMobile()||n<e?menuToMore():moreToMenu(e,n),toggleMoreVisibility()},calculateWidthOfMenuItems=function(){var t=0;return document.querySelectorAll(".o-section-menu--main > li").forEach(function(e){t+=getSectionMenuItemWidth(e)}),t},getSectionMenuItemWidth=function(e){var t,a=window.getComputedStyle?getComputedStyle(e,null):e.currentStyle,i=null!==(i=null!==(i=parseFloat(a.paddingLeft))&&void 0!==i?i:0+parseFloat(a.paddingRight))&&void 0!==i?i:0;return(null!==(t=null!==(t=parseFloat(a.marginLeft))&&void 0!==t?t:0+parseFloat(a.marginRight))&&void 0!==t?t:0)+i+e.getBoundingClientRect().width},menuToMore=function(){var e,t=document.querySelector(".o-section-menu--main > li:last-child");t&&(document.querySelector(".o-section-menu--measure").append(t),t.dataset.width=getSectionMenuItemWidth(t),e=document.querySelector(".o-section-menu--more li:first-child"),document.querySelector(".o-section-menu--more ul").insertBefore(t,e),adjustSectionMenu())},moreToMenu=function(e,t){var a=document.querySelector(".o-section-menu--more li:first-child");a&&parseInt(e)+parseInt(a.dataset.width)<t&&document.querySelector(".o-section-menu--main").appendChild(a)},toggleMoreVisibility=function(){0<document.querySelectorAll(".o-section-menu--more li").length?document.querySelector(".o-section-menu--more").classList.remove("hidden"):document.querySelector(".o-section-menu--more").classList.add("hidden")},moveDirectlyAboveMainContent=function(){var e=document.querySelector("main"),t=document.querySelector(".o-section-menu");e&&t.parentElement.insertBefore(t,e),t.style.display="flex"},moreMenu=document.querySelector(".o-section-menu--more"),document.addEventListener("click",function(e){moreMenu&&!moreMenu.contains(e.target)&&moreMenu.classList.remove("clicked")}),moreMenu.addEventListener("click",function(e){this.classList.toggle("clicked"),e.stopPropagation()}),window.addEventListener("resize",function(){adjustSectionMenu()}),window.addEventListener("load",function(){moveDirectlyAboveMainContent(),adjustSectionMenu()})),_toConsumableArray(document.querySelectorAll(".o-share-this-page a[href]")).forEac
1h(function(e){e.addEventListener("click",function(e){return DataLayer.recordSocialShareEvent(e)})});var _element6=new WeakMap,_observer2=new WeakMap,_nextButton3=new WeakMap,_previousButton3=new WeakMap,_toggle3=new WeakMap,_slider3=new WeakMap,_slides3=new WeakMap,_addEventListeners15=new WeakSet,_closeContent=new WeakSet,_setUpNavigation3=new WeakSet,_setUpObserver3=new WeakSet,_validateNavigation5=new WeakSet,Slider=_createClass(function e(t){_classCallCheck(this,e),_classPrivateMethodInitSpec(this,_validateNavigation5),_classPrivateMethodInitSpec(this,_setUpObserver3),_classPrivateMethodInitSpec(this,_setUpNavigation3),_classPrivateMethodInitSpec(this,_closeContent),_classPrivateMethodInitSpec(this,_addEventListeners15),_classPrivateFieldInitSpec(this,_element6,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_observer2,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_nextButton3,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_previousButton3,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_toggle3,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_slider3,{writable:!0,value:void 0}),_classPrivateFieldInitSpec(this,_slides3,{writable:!0,value:[]}),_classPrivateFieldSet(this,_element6,t),_classPrivateFieldSet(this,_slider3,_classPrivateFieldGet(this,_element6).querySelector(".o-slider__slides")),_classPrivateFieldSet(this,_slides3,_toConsumableArray(_classPrivateFieldGet(this,_slider3).getElementsByClassName("o-sli
1der__slide"))),_classPrivateFieldSet(this,_toggle3,_classPrivateFieldGet(this,_element6).querySelector(".o-slider__navigation__toggle")),1<_classPrivateFieldGet(this,_slides3).length&&(_classPrivateMethodGet(this,_addEventListeners15,_addEventListeners16).call(this),_classPrivateMethodGet(this,_setUpNavigation3,_setUpNavigation4).call(this),_classPrivateMethodGet(this,_setUpObserver3,_setUpObserver4).call(this))});function _addEventListeners16(){var e=this;_classPrivateFieldGet(this,_slider3).addEventListener("scroll",throttle(function(){return _classPrivateMethodGet(e,_validateNavigation5,_validateNavigation6).call(e)})),_classPrivateFieldGet(this,_toggle3).addEventListener("click",function(e){return DataLayer.recordCarouselClickEvent(null===(e=e.target)||void 0===e?void 0:e.closest("m-media-slider"),"content")})}function _closeContent2(){_classPrivateFieldGet(this,_toggle3)&&"on"===_classPrivateFieldGet(this,_toggle3).dataset.toggleState&&_classPrivateFieldGet(this,_toggle3).dispatchEvent(new Event("click"))}function _setUpNavigation4(){var e=this,t=_classPrivateFieldGet(this,_element6).querySelector(".o-slider__navigation");t&&(_classPrivateFieldSet(this,_nextButton3,t.querySelector(".o-slider__navigation__next"))&&_classPrivateFieldGet(this,_nextButton3).addEventListener("click",function(){return _classPrivateFieldGet(e,_element6).dispatchEvent(new Event("next"))}),_classPrivateFieldSet(this,_previousButton3,t.querySelector(".o-slider__navigation__previous"))&&_classPrivateFieldGet(this,_previousButton3).addEventListener("click",function(){return _classPrivateFieldGet(e,_element6).dispatchEvent(new Event("previous"))})),_classPrivateMethodGet(this,_validateNavigation5,_validateNavigation6).call(this)}function _setUpObserver4(){var t=this;1<_classPrivateFieldGet(this,_slides3).length&&(_classPrivateFieldSet(this,_observer2,new IntersectionObserver(function(e){e.forEach(function(e){.5<e.intersectionRatio&&_classPrivateMethodGet(t,_closeContent,_closeContent2).call(t)})},{threshold:[.51]})),_classPrivateFieldGet(this,_slides3).forEach(function(e){_classPrivateFieldGet(t,_observer2).observe(e)}))}function _validateNavigation6(){_classPrivateFieldGet(this,_nextButton3)&&(_classPrivateFieldGet(this,_nextButton3).disabled=_classPrivateFieldGet(this,_slider3).scrollLeft+_classPrivateFieldGet(this,_slider3).clientWidth>=_classPrivateFieldGet(this,_slider3).scrollWidth),_classPrivateFieldGet(this,_previousButton3)&&(_classPrivateFieldGet(this,_previousButton3).disabled=_classPrivateFieldGet(this,_slider3).scrollLeft<=0)}
1_toConsumableArray(document.getElementsByClassName("o-slider")).forEach(function(e){new Slider(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.