PageSourceSearch

https://www.devere.co.uk/sites/default/files/js/js_uOKGtUinDmtn2h2…dpcNh2vGiW0Ys9N6BlredX4Hm5EMONXZJIREX1etz4c

js devere.co.uk collected 2026-09-24 09:37:17 UTC 75,824 bytes, 34 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2"use strict";(function(a,b,c){b.behaviors.excludeFromOwl={observer:new ResizeObserver((a)=>{for(const b of a)2<b.contentRect.height?b.target.classList.remove("exclude-from-owl"):"none"!==b.target.style.display&&b.target.classList.add("exclude-from-owl");}),attach:function(d){a(c("excludeFromOwl","[class*='u-o-'] > *:not(hr):not([hidden]):not([type='hidden']):not(.dont-exclude-from-owl)",d)).each(function(){const c=a(this),d=c.height();2>d&&"none"!==a(this)[0].style.display&&c.addClass("exclude-from-owl"),b.behaviors.excludeFromOwl.observer.observe(c[0]);});}};})(jQuery,Drupal,once);;
3"use strict";window.Drupal.Voyager=window.Drupal.Voyager||{},window.Drupal.Voyager.storageConsentApi={isDebug(){return window.location.href.includes(".ctidev");},debugLog(a,b="log"){this.isDebug()&&console[b](`🍪: ${a}
4
5(This debug message is only shown on URLs that contain '.ctidev')`);},getActiveProvider(){let a;return _.forOwn(this.providers,(b,c)=>{b.test()&&(a=c);}),a;},hasAgreed(a){const b=this.getActiveProvider();if("undefined"==typeof b)return this.debugLog(`
6Returning FALSE (failing safe) as we have no storage consent provider to check against.
7
8This could be because the call to the storage consent API has run before the third-party provider code has run (as third-party JS often runs later, and even the Drupal EU Cookie Compliance module sets its JS to use deferred loading.)
9
10To get around this, you could check for consent *later* - perhaps by checking for consent when setting storage rather than reading it, or experiment with Drupal library dependencies to influence the order that your code runs in. A final option would be to create a setTimeout loop that tries to run your code until a provider is found.
11
12If this site uses no cookie/storage consent provider *intentionally*, then uncomment the dummy 'intentionallyNoProviderInUse' provider within the providers object.`,"warn"),!1;const c=this.providers[this.getActiveProvider()].hasAgreed(a);return c?this.debugLog(`✅: Consent granted for '${a}' storage via ${b}`):this.debugLog(`❌: Consent denied for '${a}' storage via ${b}.
13
14User may have not reacted to cookie consent prompt, or they may have declined cookies.`),c;},providers:{euCookieComplianceDrupalModuleNoCategories:{test(){return "undefined"!=typeof Drupal.eu_cookie_compliance&&0===window.drupalSettings.eu_cookie_compliance.cookie_categories.length;},hasAgreed(){const a=Drupal.eu_cookie_compliance.getCurrentStatus();return !(1!==a)||!(2!==a);}},euCookieComplianceDrupalModuleWithCategories:{test(){return "undefined"!=typeof window.Drupal.eu_cookie_compliance&&0<window.drupalSettings.eu_cookie_compliance.cookie_categories.length;},hasAgreed(a){const b=window.drupalSettings.eu_cookie_compliance.cookie_categories;return b.includes(a)||window.Drupal.Voyager.storageConsentApi.debugLog(`${a} was not found in this site's list of EU Cookie Compliance module cookie categories`,"warn"),Drupal.eu_cookie_compliance.hasAgreedWithCategory(a);}},civic:{test(){return "undefined"!=typeof window.CookieControl&&"undefined"!=typeof window.CookieControl.info&&window.CookieControl.info().includes("Cookie Control");},hasAgreed(a){const b=window.CookieControl.config().optionalCookies,c=_.findIndex(b,{name:a});return -1===c?(window.Drupal.Voyager.storageConsentApi.debugLog(`Couldn't find the category ${a} in the list of Civic optionalCookies`,"error"),!1):window.CookieControl.getCategoryConsent(c);}},cookiebot:{test(){return "undefined"!=typeof window.Cookiebot;},hasAgreed(a){const b=window.Cookiebot.consent;return b[a]?b[a]:(window.Drupal.Voyager.storageConsentApi.debugLog(`Couldn't find the category ${a} in the list of Cookiebot consents`,"error"),!1);}}}};;
15"use strict";Drupal.behaviors.rutherfordBreadcrumb={attach:function(a){once("rutherford-breadcrumb","[data-breadcrumb]",a).forEach(function(a){const b=document.documentElement,c=a.clientHeight;b.style.setProperty("--breadcrumb-height",`${c}px`);});}};;
16"use strict";(function(a,b){b.theme.rutherfordIcon=function(a){const b=`${[window.drupalSettings.path.baseUrl,window.drupalSettings.path.themePath].join("")}/dist/img/sprite/sprite.svg`;return `<svg class="icon" focusable="false" role="presentation">
17      <use xlink:href="${b}#${a}"></use>
18    </svg>`;};})(jQuery,Drupal);;
19"use strict";(function(){window.guestsSelector=function(){const a=992;return {expanded:!1,rooms:[],activeRoom:!1,tooltip:{index:null,property:null,message:null},totalRooms:1,generateUUID(){return "function"==typeof crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(a)=>(a^crypto.getRandomValues(new Uint8Array(1))[0]&15>>a/4).toString(16));},setRooms(a){a.forEach((a)=>{this.rooms.push({guid:this.generateUUID(),...a});}),this.activeRoom=this.getActiveRooms().length-1;},getSummary(a,b=!1){let c=0,d=0,e=0,f=0;a.forEach((a)=>{c+=a.adults,d+=a.children_0_6+a.children_7_12,e+=a.pets,0!==a.adults&&(f+=1);});const g=`${c} Adult${1<c?"s":""}, ${d} Child${1<d?"ren":""}
20        , ${e} Pet${1<e?"s":""}`;return b?`${g} | ${f} Room${1<f?"s":""}`:g;},getActiveRooms(){const a=this.rooms.findIndex((a)=>0===a.adults);return -1===a?this.rooms:this.rooms.slice(0,a);},addRoom(){const a=this.rooms.findIndex((a)=>0===a.adults);this.rooms[a].adults=2,this.activeRoom=a,this.totalRooms++,this.setDropdownHeight(),setTimeout(()=>{const a=document.getElementById("guests-selector__scroll");a.scrollTo({top:a.scrollHeight,behavior:"smooth"});},500);},toggleActiveRoom(a){this.activeRoom=this.activeRoom!==a&&a;},updateRoom(a,b,c,d=null){if("adults"===b){if(4<this.rooms[a][b]+c)return void this.setTooltip(a,b,"Maximum occupancy reached. Please add an additional room.",d);if(1>this.rooms[a][b]+c)return;}if("children_0_6"===b||"children_7_12"===b){const e=this.rooms[a].children_0_6+this.rooms[a].children_7_12,f=e+c;if(2<f)return void this.setTooltip(a,b,"Maximum children reached. Please add an additional room.",d);f<e&&this.rooms[a][`${b}Ages`].pop();}return "pets"===b&&2<this.rooms[a][b]+c?void this.setTooltip(a,b,"Maximum pets reached. Please add an additional room.",d):void (0<=this.rooms[a][b]+c&&(this.rooms[a][b]+=c));},removeRoom(a){this.rooms.splice(a,1),this.rooms.push({guid:this.generateUUID(),adults:0,children_0_6:0,children_0_6Ages:[],children_7_12:0,children_7_12Ages:[],pets:0}),this.activeRoom===a&&this.activeRoom--,this.totalRooms--;},setTooltip(a,b,c,d,e=!0){this.tooltip={index:a,property:b,message:c},e&&this.$nextTick(()=>{const a=(b)=>{b.target!==d&&(this.setTooltip(null,null,null,null,!1),window.removeEventListener("click",a));};window.addEventListener("click",a);});},getTooltip(a,b){return !(this.tooltip.index!==a||this.tooltip.property!==b)&&this.tooltip.message;},toggleDropdown(){this.expanded=!this.expanded;const b=(a)=>{const c=document.getElementById("guests-selector__dropdown");c.contains(a.target)||(this.expanded=!1,window.removeEventListener("click",b));};this.expanded?(window.addEventListener("resize",_.debounce(this.setDropdownHeight,150)),window.addEventListener("scroll",_.debounce(this.setDropdownHeight,150)),this.setDropdownHeight(),window.innerWidth<a&&(document.body.style.setProperty("overflow","hidden","important"),document.querySelector(".site-header.has-drilldown-open").classList.add("u-overflow-y-hidden")),this.$nextTick(()=>{window.addEventListener("click",b);})):(window.removeEventListener("resize",_.debounce(this.setDropdownHeight,150)),window.removeEventListener("scroll",_.debounce(this.setDropdownHeight,150)),window.removeEventListener("click",b),document.body.style.removeProperty("overflow"),document.querySelector(".site-header.has-drilldown-open").classList.remove("u-overflow-y-hidden")),Drupal.DvhBookingEngine.BookingFormFlow.setGuestsOpenStatus(this.expanded);},setDropdownHeight(){const b=document.getElementById("guests-selector__scroll");
20if(window.innerWidth<a)b.style.removeProperty("max-height");else{const a=document.getElementById("guests-selector__button"),c=document.getElementById("guests-selector__header");b.style.setProperty("max-height",`${window.innerHeight-a.getBoundingClientRect().bottom-c.offsetHeight}px`);}}};};})();;
21!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.AOS=t();}(this,function(){"use strict";var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t="Expected a function",n=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,l=u||d||Function("return this")(),f=Object.prototype.toString,m=Math.max,p=Math.min,b=function(){return l.Date.now();};function v(e,n,o){var i,a,r,c,s,u,d=0,l=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError(t);function y(t){var n=i,o=a;return i=a=void 0,d=t,c=e.apply(o,n);}function h(e){var t=e-u;return void 0===u||t>=n||t<0||f&&e-d>=r;}function k(){var e=b();if(h(e))return x(e);s=setTimeout(k,function(e){var t=n-(e-u);return f?p(t,r-(e-d)):t;}(e));}function x(e){return s=void 0,v&&i?y(e):(i=a=void 0,c);}function O(){var e=b(),t=h(e);if(i=arguments,a=this,u=e,t){if(void 0===s)return function(e){return d=e,s=setTimeout(k,n),l?y(e):c;}(u);if(f)return s=setTimeout(k,n),y(u);}return void 0===s&&(s=setTimeout(k,n)),c;}return n=w(n)||0,g(o)&&(l=!!o.leading,r=(f="maxWait" in o)?m(w(o.maxWait)||0,n):r,v="trailing" in o?!!o.trailing:v),O.cancel=function(){void 0!==s&&clearTimeout(s),d=0,i=u=a=s=void 0;},O.flush=function(){return void 0===s?c:x(b());},O;}function g(e){var t=typeof e;return !!e&&("object"==t||"function"==t);}function w(e){if("number"==typeof e)return e;if(function(e){return "symbol"==typeof e||function(e){return !!e&&"object"==typeof e;}(e)&&f.call(e)==o;}(e))return n;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t;}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var u=r.test(e);return u||c.test(e)?s(e.slice(2),u?2:8):a.test(e)?n:+e;}var y=function(e,n,o){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(t);return g(o)&&(i="leading" in o?!!o.leading:i,a="trailing" in o?!!o.trailing:a),v(e,n,{leading:i,maxWait:n,trailing:a});},h="Expected a function",k=NaN,x="[object Symbol]",O=/^\s+|\s+$/g,j=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,N=/^0o[0-7]+$/i,z=parseInt,C="object"==typeof e&&e&&e.Object===Object&&e,A="object"==typeof self&&self&&self.Object===Object&&self,q=C||A||Function("return this")(),L=Object.prototype.toString,T=Math.max,M=Math.min,S=function(){return q.Date.now();};function D(e){var t=typeof e;return !!e&&("object"==t||"function"==t);}function H(e){if("number"==typeof e)return e;if(function(e){return "symbol"==typeof e||function(e){return !!e&&"object"==typeof e;}(e)&&L.call(e)==x;}(e))return k;if(D(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=D(t)?t+"":t;}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(O,"");var n=E.test(e);return n||N.test(e)?z(e.slice(2),n?2:8):j.test(e)?k:+e;}var $=function(e,t,n){var o,i,a,r,c,s,u=0,d=!1,l=!1,f=!0;if("function"!=typeof e)throw new TypeError(h);function m(t){var n=o,a=i;return o=i=void 0,u=t,r=e.apply(a,n);}function p(e){var n=e-s;return void 0===s||n>=t||n<0||l&&e-u>=a;}function b(){var e=S();if(p(e))return v(e);c=setTimeout(b,function(e){var n=t-(e-s);return l?M(n,a-(e-u)):n;}(e));}function v(e){return c=void 0,f&&o?m(e):(o=i=void 0,r);}function g(){var e=S(),n=p(e);if(o=arguments,i=this,s=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(b,t),d?m(e):r;}(s);if(l)return c=setTimeout(b,t),m(s);}return void 0===c&&(c=setTimeout(b,t)),r;}return t=H(t)||0,D(n)&&(d=!!n.leading,a=(l="maxWait" in n)?T(H(n.maxWait)||0,t):a,f="trailing" in n?!!n.trailing:f),g.cancel=function(){void 0!==c&&clearTimeout(c),u=0,o=s=i=c=void 0;},g.flush=function(){return void 0===c?r:v(S());},g;},W=function(){};function P(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes
21);if(function e(t){var n=void 0,o=void 0;for(n=0;n<t.length;n+=1){if((o=t[n]).dataset&&o.dataset.aos)return !0;if(o.children&&e(o.children))return !0;}return !1;}(t.concat(n)))return W();});}function Y(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;}var _={isSupported:function(){return !!Y();},ready:function(e,t){var n=window.document,o=new (Y())(P);W=t,o.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0});}},B=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");},F=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value" in o&&(o.writable=!0),Object.defineProperty(e,o.key,o);}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t;};}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);}return e;},K=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,G=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,J=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,Q=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
21sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function R(){return navigator.userAgent||navigator.vendor||window.opera||"";}var U=new (function(){function e(){B(this,e);}return F(e,[{key:"phone",value:function(){var e=R();return !(!K.test(e)&&!G.test(e.substr(0,4)));}},{key:"mobile",value:function(){var e=R();return !(!J.test(e)&&!Q.test(e.substr(0,4)));}},{key:"tablet",value:function(){return this.mobile()&&!this.phone();}},{key:"ie11",value:function(){return "-ms-scroll-limit" in document.documentElement.style&&"-ms-ime-align" in document.documentElement.style;}}]),e;}())(),V=function(e,t){var n=void 0;return U.ie11()?(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,{detail:t}):n=new CustomEvent(e,{detail:t}),document.dispatchEvent(n);},X=function(e){return e.forEach(function(e,t){return function(e,t){var n=e.options,o=e.position,i=e.node,a=(e.data,function(){e.animated&&(function(e,t){t&&t.forEach(function(t){return e.classList.remove(t);});}(i,n.animatedClassNames),V("aos:out",i),e.options.id&&V("aos:out:"+e.options.id,i),e.animated=!1);});n.mirror&&t>=o.out&&!n.once?a():t>=o.in?e.animated||(function(e,t){t&&t.forEach(function(t){return e.classList.add(t);});}(i,n.animatedClassNames),V("aos:in",i),e.options.id&&V("aos:in:"+e.options.id,i),e.animated=!0):e.animated&&!n.once&&a();}(e,window.pageYOffset);});},Z=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return {top:n,left:t};},ee=function(e,t,n){var o=e.getAttribute("data-aos-"+t);if(void 0!==o){if("true"===o)return !0;if("false"===o)return !1;}return o||n;},te=function(e,t){return e.forEach(function(e,n){var o=ee(e.node,"mirror",t.mirror),i=ee(e.node,"once",t.once),a=ee(e.node,"id"),r=t.useClassNames&&e.node.getAttribute("data-aos"),c=[t.animatedClassName].concat(r?r.split(" "):[]).filter(function(e){return "string"==typeof e;});t.initClassName&&e.node.classList.add(t.initClassName),e.position={in:function(e,t,n){var o=window.innerHeight,i=ee(e,"anchor"),a=ee(e,"anchor-placement"),r=Number(ee(e,"offset",a?0:t)),c=a||n,s=e;i&&document.querySelectorAll(i)&&(s=document.querySelectorAll(i)[0]);var u=Z(s).top-o;switch(c){case "top-bottom":break;case "center-bottom":u+=s.offsetHeight/2;break;case "bottom-bottom":u+=s.offsetHeight;break;case "top-center":u+=o/2;break;case "center-center":u+=o/2+s.offsetHeight/2;break;case "bottom-center":u+=o/2+s.offsetHeight;break;case "top-top":u+=o;break;case "bottom-top":u+=o+s.offsetHeight;break;case "center-top":u+=o+s.offsetHeight/2;}return u+r;}(e.node,t.offset,t.anchorPlacement),out:o&&function(e,t){window.innerHeight;var n=ee(e,"anchor"),o=ee(e,"offset",t),i=e;return n&&document.querySelectorAll(n)&&(i=document.querySelectorAll(n)[0]),Z(i).top+i.offsetHeight-o;}(e.node,t.offset)},e.options={once:i,mirror:o,animatedClassNames:c,id:a};}),e;},ne=function(){var e=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(e,function(e){return {node:e};});},oe=[],ie=!1,ae={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},re=function(){return document.all&&!window.atob;},ce=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(ie=!0),ie&&(oe=te(oe,ae),X(oe),window.addEventListener("scroll",y(function(){X(oe,ae.once);},ae.throttleDelay)));},se=function(){if(oe=ne(),de(ae.disable)||re())return ue();ce();},ue=function(){oe.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay"),ae.initClassName&&e.node.classList.remove(ae.initClassName),ae.animatedClassName&&e.node.classList.remove(ae.animatedClassName);});},de=function(e){return !0===e||"mobile"===e&&U.mobile()||"phone"===e&&U.phone()||"tablet"===e&&U.tablet()||"function"==typeof e&&!0===e();};return {init:function(e){return ae=I(ae,e),oe=ne(),ae.disableMutationObserver||_.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),ae.disableMutationObserver=!0),ae.disableMutationObserver||_.ready("[data-aos]",se),de(ae.disable)||re()?ue():(document.querySelector("body").setAttribute("data-aos-easing",ae.easing),document.querySelector("body").setAttribute("data-aos-duration",ae.duration),document.querySelector("body").setAttribute("data-aos-delay",ae.delay),-1===["DOMContentLoaded","load"].indexOf(ae.startEvent)?document.addEventListener(ae.startEvent,function(){ce(!0);}):window.addEventListener("load",function(){ce(!0);}
21),"DOMContentLoaded"===ae.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&ce(!0),window.addEventListener("resize",$(ce,ae.debounceDelay,!0)),window.addEventListener("orientationchange",$(ce,ae.debounceDelay,!0)),oe);},refresh:ce,refreshHard:se};});;
22"use strict";(function(a,b){b.behaviors.rutherford_aos={attach(){AOS.init({once:!0,duration:400});}};})(jQuery,Drupal);;
23!function(e,n){var i=function(){n(e.lazySizes),e.removeEventListener("lazyunveilread",i,!0);};n=n.bind(null,e,e.document),"object"==typeof module&&module.exports?n(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],n):e.lazySizes?i():e.addEventListener("lazyunveilread",i,!0);}(window,function(e,i,t){"use strict";var n,a,d,r;e.addEventListener&&(n=t&&t.cfg,a=n.lazyClass||"lazyload",d=function(){var e,n;if("string"==typeof a&&(a=i.getElementsByClassName(a)),t)for(e=0,n=a.length;e<n;e++)t.loader.unveil(a[e]);},addEventListener("beforeprint",d,!1),!("onbeforeprint" in e)&&e.matchMedia&&(r=matchMedia("print"))&&r.addListener&&r.addListener(function(){r.matches&&d();}));});;
24!function(e,t){var a=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0);};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0);}(window,function(e,i,o){"use strict";var l,d,u={};function s(e,t,a){var n,r;u[e]||(n=i.createElement(t?"link":"script"),r=i.getElementsByTagName("script")[0],t?(n.rel="stylesheet",n.href=e):(n.onload=function(){n.onerror=null,n.onload=null,a();},n.onerror=n.onload,n.src=e),u[e]=!0,u[n.src||n.href]=!0,r.parentNode.insertBefore(n,r));}i.addEventListener&&(l=function(e,t){var a=i.createElement("img");a.onload=function(){a.onload=null,a.onerror=null,a=null,t();},a.onerror=a.onload,a.src=e,a&&a.complete&&a.onload&&a.onload();},addEventListener("lazybeforeunveil",function(e){var t,a,n;if(e.detail.instance==o&&!e.defaultPrevented){var r=e.target;if("none"==r.preload&&(r.preload=r.getAttribute("data-preload")||"auto"),null!=r.getAttribute("data-autoplay"))if(r.getAttribute("data-expand")&&!r.autoplay)try{r.play();}catch(e){}else requestAnimationFrame(function(){r.setAttribute("data-expand","-10"),o.aC(r,o.cfg.lazyClass);});(t=r.getAttribute("data-link"))&&s(t,!0),(t=r.getAttribute("data-script"))&&(e.detail.firesLoad=!0,s(t,null,function(){e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0);})),(t=r.getAttribute("data-require"))&&(o.cfg.requireJs?o.cfg.requireJs([t]):s(t)),(a=r.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,l(a,function(){r.style.backgroundImage="url("+(d.test(a)?JSON.stringify(a):a)+")",e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0);})),(n=r.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,l(n,function(){r.poster=n,e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0);}));}},!(d=/\(|\)|\s|'/)));});;
25"use strict";(function(a){window.heroHeader=function(){return {videoIsPlaying:!1,userHasManuallyPaused:!1,init(a){const b=this.$refs["hero-header--video"];_.isUndefined(b)||this.initVideo(b,a);},initVideo(a,b){b("videoIsPlaying",()=>{this.videoIsPlaying?this.$refs["hero-header--video"].play():this.$refs["hero-header--video"].pause();}),a.addEventListener("play",()=>{this.videoIsPlaying=!0;},!1),a.addEventListener("pause",()=>{this.videoIsPlaying=!1;},!1),document.addEventListener("aos:in:hero-header--video-toggle-play",()=>{this.videoIsPlaying=!1;}),document.addEventListener("aos:out:hero-header--video-toggle-play",()=>{this.userHasManuallyPaused||(this.videoIsPlaying=!0);});let c=!0;window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(c=!1),"getBattery" in navigator&&navigator.getBattery().then((a)=>{.2>a.level&&!a.charging&&(c=!1);});const d=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(d){const {type:a}=d,{effectiveType:b}=d;if("cellular"===a)switch(b){case "slow-2g":case "2g":case "3g":c=!1;break;default:}}c?this.videoIsPlaying=!0:(this.videoIsPlaying=!1,this.userHasManuallyPaused=!0);},toggleVideoPlayback(){this.videoIsPlaying=!this.videoIsPlaying,this.userHasManuallyPaused=!this.userHasManuallyPaused;},scrollBelowComponent(){const b=this.$refs["hero-header--below"];a(document.body).animate({scrollTop:a(b).offset().top},1e3);}};};})(jQuery);;
26"use strict";(function(a){const b=(a,b)=>a.split(",").includes(b),c=(c,d,e)=>{a.each(c,function(a,c){b(a,d)&&e.addClass(c);});},d=(c,d,e)=>{a.each(c,function(c,f){b(c,d)&&a.each(f,function(a,b){e.hasClass(a)&&e.removeClass(a).addClass(b);});});};Drupal.behaviors.rutherfordPageSectionColourSwap={attach(b){const e=a("[data-bg-swap-colours-background]",b),f=a(b).closest("[data-bg-swap-colours-background]"),g=a().add(e).add(f);g.each(function(){const b=a(this).data("bg-swap-colours-background"),e=a(this).hasClass("has-dark-bg"),f=a(this).find("[data-bg-swap-colours]:not([data-bg-classes-stop] [data-bg-swap-colours]),[data-bg-add-classe
26s]:not([data-bg-classes-stop] [data-bg-add-classes])");f.addClass("u-transition"),f.each(function(){const f=a(this),g=f.data("bg-swap-colours"),h=f.data("bg-add-classes");c(h,b,f),d(g,b,f),e&&(c(h,"has-dark-bg",f),d(g,"has-dark-bg",f));});});}};})(jQuery);;
27!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("./foundation.util.touch"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.box","./foundation.util.keyboard","./foundation.util.nest","./foundation.util.touch","jquery"],n):"object"==typeof exports?exports["foundation.dropdownMenu"]=n(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("./foundation.util.touch"),require("jquery")):(e.__FOUNDATION_EXTERNAL__=e.__FOUNDATION_EXTERNAL__||{},e.__FOUNDATION_EXTERNAL__["foundation.dropdownMenu"]=n(e.__FOUNDATION_EXTERNAL__["foundation.core"],e.__FOUNDATION_EXTERNAL__["foundation.util.box"],e.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],e.__FOUNDATION_EXTERNAL__["foundation.util.nest"],e.__FOUNDATION_EXTERNAL__["foundation.util.touch"],e.jQuery));}(window,function(t,o,i,r,s,u){return l={},a.m=d={"./foundation.core":function(e,n){e.exports=t;},"./foundation.util.box":function(e,n){e.exports=o;},"./foundation.util.keyboard":function(e,n){e.exports=i;},"./foundation.util.nest":function(e,n){e.exports=r;},"./foundation.util.touch":function(e,n){e.exports=s;},
27"./js/entries/plugins/foundation.dropdownMenu.js":function(e,n,t){"use strict";t.r(n);var o=t("./foundation.core");t.d(n,"Foundation",function(){return o.Foundation;});var i=t("./js/foundation.dropdownMenu.js");t.d(n,"DropdownMenu",function(){return i.DropdownMenu;}),o.Foundation.plugin(i.DropdownMenu,"DropdownMenu");},
27"./js/foundation.dropdownMenu.js":function(e,n,t){"use strict";t.r(n),t.d(n,"DropdownMenu",function(){return m;});var o=t("jquery"),f=t.n(o),i=t("./foundation.core"),p=t("./foundation.util.keyboard"),r=t("./foundation.util.nest"),s=t("./foundation.util.box"),u=t("./foundation.util.touch");function a(e){return (a="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 d(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value" in o&&(o.writable=!0),Object.defineProperty(e,o.key,o);}}function l(e,n){return !n||"object"!==a(n)&&"function"!=typeof n?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}(e):n;}function c(e){return (c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e);})(e);}function h(e,n){return (h=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e;})(e,n);}var m=function(){function t(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");}(this,t),l(this,c(t).apply(this,arguments));}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&h(e,n);}(t,i["Plugin"]),function(e,n,t){n&&d(e.prototype,n),t&&d(e,t);}(t,[{key:"_setup",value:function(e,n){this.$element=e,this.options=f.a.extend({},t.defaults,this.$element.data(),n),this.className="DropdownMenu",u.Touch.init(f.a),this._init(),p.Keyboard.register("DropdownMenu",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"});}},{key:"_init",value:function(){r.Nest.Feather(this.$element,"dropdown");var e=this.$element.find("li.is-dropdown-submenu-parent");this.$element.children(".is-dropdown-submenu-parent").children(".is-dropdown-submenu").addClass("first-sub"),this.$menuItems=this.$element.find('li[role="none"]'),this.$tabs=this.$element.children('li[role="none"]'),this.$tabs.find("ul.is-dropdown-submenu").addClass(this.options.verticalClass),"auto"===this.options.alignment?this.$element.hasClass(this.options.rightClass)||Object(i.rtl)()||this.$element.parents(".top-bar-right").is("*")?(this.options.alignment="right",e.addClass("opens-left")):(this.options.alignment="left",e.addClass("opens-right")):"right"===this.options.alignment?e.addClass("opens-left"):e.addClass("opens-right"),this.changed=!1,this._events();}},{key:"_isVertical",value:function(){return "block"===this.$tabs.css("display")||"column"===this.$element.css("flex-direction");}},{key:"_isRtl",value:function(){return this.$element.hasClass("align-right")||Object(i.rtl)()&&!this.$element.hasClass("align-left");}},{key:"_events",value:function(){var c=this,r="ontouchstart" in window||void 0!==window.ontouchstart,s="is-dropdown-submenu-parent";(this.options.clickOpen||r)&&this.$menuItems.on("click.zf.dropdownMenu touchstart.zf.dropdownMenu",function(e){var n=f()(e.target).parentsUntil("ul",".".concat(s)),t=n.hasClass(s),o="true"===n.attr("data-is-click"),i=n.children(".is-dropdown-submenu");if(t)if(o){if(!c.options.closeOnClick||!c.options.clickOpen&&!r||c.options.forceFollow&&r)return;e.stopImmediatePropagation(),e.preventDefault(),c._hide(n);}else e.stopImmediatePropagation(),e.preventDefault(),c._show(i),n.add(n.parentsUntil(c.$element,".".concat(s))).attr("data-is-click",!0);}),c.options.closeOnClickInside&&this.$menuItems.on("click.zf.dropdownMenu",function(e){f()(this).hasClass(s)||c._hide();}),this.options.disableHover||this.$menuItems.on("mouseenter.zf.dropdownMenu",function(e){var n=f()(this);n.hasClass(s)&&(clearTimeout(n.data("_delay")),n.data("_delay",setTimeout(function(){c._show(n.children(".is-dropdown-submenu"));},c.options.hoverDelay)));}).on("mouseleave.zf.dropdownMenu",Object(i.ignoreMousedisappear)(function(e){var n=f()(this);if(n.hasClass(s)&&c.options.autoclose){if("true"===n.attr("data-is-click")&&c.options.clickOpen)return !1;clearTimeout(n.data("_delay")),n.data("_delay",setTimeout(function(){c._hide(n);},c.options.closingTime));}})),this.$menuItems.on("keydown.zf.dropdownMenu",function(n){var t,o,i=f(
27)(n.target).parentsUntil("ul",'[role="none"]'),e=-1<c.$tabs.index(i),r=e?c.$tabs:i.siblings("li").add(i);r.each(function(e){if(f()(this).is(i))return t=r.eq(e-1),void (o=r.eq(e+1));});function s(){o.children("a:first").focus(),n.preventDefault();}function u(){t.children("a:first").focus(),n.preventDefault();}function a(){var e=i.children("ul.is-dropdown-submenu");e.length&&(c._show(e),i.find("li > a:first").focus(),n.preventDefault());}function d(){var e=i.parent("ul").parent("li");e.children("a:first").focus(),c._hide(e),n.preventDefault();}var l={open:a,close:function(){c._hide(c.$element),c.$menuItems.eq(0).children("a").focus(),n.preventDefault();}};e?c._isVertical()?c._isRtl()?f.a.extend(l,{down:s,up:u,next:d,previous:a}):f.a.extend(l,{down:s,up:u,next:a,previous:d}):c._isRtl()?f.a.extend(l,{next:u,previous:s,down:a,up:d}):f.a.extend(l,{next:s,previous:u,down:a,up:d}):c._isRtl()?f.a.extend(l,{next:d,previous:a,down:s,up:u}):f.a.extend(l,{next:a,previous:d,down:s,up:u}),p.Keyboard.handleKey(n,"DropdownMenu",l);});}},{key:"_addBodyHandler",value:function(){var n=this,e=f()(document.body);this._removeBodyHandler(),e.on("click.zf.dropdownMenu tap.zf.dropdownMenu",function(e){!f()(e.target).closest(n.$element).length&&(n._hide(),n._removeBodyHandler());});}},{key:"_removeBodyHandler",value:function(){f()(document.body).off("click.zf.dropdownMenu tap.zf.dropdownMenu");}},{key:"_show",value:function(t){var e=this.$tabs.index(this.$tabs.filter(function(e,n){return 0<f()(n).find(t).length;})),n=t.parent("li.is-dropdown-submenu-parent").siblings("li.is-dropdown-submenu-parent");this._hide(n,e),t.css("visibility","hidden").addClass("js-dropdown-active").parent("li.is-dropdown-submenu-parent").addClass("is-active");var o=s.Box.ImNotTouchingYou(t,null,!0);if(!o){var i="left"===this.options.alignment?"-right":"-left",r=t.parent(".is-dropdown-submenu-parent");r.removeClass("opens".concat(i)).addClass("opens-".concat(this.options.alignment)),(o=s.Box.ImNotTouchingYou(t,null,!0))||r.removeClass("opens-".concat(this.options.alignment)).addClass("opens-inner"),this.changed=!0;}t.css("visibility",""),this.options.closeOnClick&&this._addBodyHandler(),this.$element.trigger("show.zf.dropdownMenu",[t]);}},{key:"_hide",value:function(e,t){var n;if((n=e&&e.length?e:void 0!==t?this.$tabs.not(function(e,n){return e===t;}):this.$element).hasClass("is-active")||0<n.find(".is-active").length){var o=n.find("li.is-active");if(o.add(n).attr({"data-is-click":!1}).removeClass("is-active"),n.find("ul.js-dropdown-active").removeClass("js-dropdown-active"),this.changed||n.find("opens-inner").length){var i="left"===this.options.alignment?"right":"left";n.find("li.is-dropdown-submenu-parent").add(n).removeClass("opens-inner opens-".concat(this.options.alignment)).addClass("opens-".concat(i)),this.changed=!1;}clearTimeout(o.data("_delay")),this._removeBodyHandler(),this.$element.trigger("hide.zf.dropdownMenu",[n]);}}},{key:"_destroy",value:function(){this.$menuItems.off(".zf.dropdownMenu").removeAttr("data-is-click").removeClass("is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner"),f()(document.body).off(".zf.dropdownMenu"),r.Nest.Burn(this.$element,"dropdown");}}]),t;}();m.defaults={disableHover:!1,autoclose:!0,hoverDelay:50,clickOpen:!1,closingTime:500,alignment:"auto",closeOnClick:!0,closeOnClickInside:!0,verticalClass:"vertical",rightClass:"align-right",forceFollow:!0};},5:function(e,n,t){e.exports=t("./js/entries/plugins/foundation.dropdownMenu.js");},jquery:function(e,n){e.exports=u;}},a.c=l,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t});},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},a.t=function(n,e){if(1&e&&(n=a(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)a.d(t,o,function(e){return n[e];}.bind(null,o));return t;}
27,a.n=function(e){var n=e&&e.__esModule?function(){return e.default;}:function(){return e;};return a.d(n,"a",n),n;},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n);},a.p="",a(a.s=5);function a(e){if(l[e])return l[e].exports;var n=l[e]={i:e,l:!1,exports:{}};return d[e].call(n.exports,n,n.exports,a),n.l=!0,n.exports;}var d,l;});;
28!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("./foundation.core"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.keyboard","./foundation.util.nest","jquery"],n):"object"==typeof exports?exports["foundation.accordionMenu"]=n(require("./foundation.core"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):(e.__FOUNDATION_EXTERNAL__=e.__FOUNDATION_EXTERNAL__||{},e.__FOUNDATION_EXTERNAL__["foundation.accordionMenu"]=n(e.__FOUNDATION_EXTERNAL__["foundation.core"],e.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],e.__FOUNDATION_EXTERNAL__["foundation.util.nest"],e.jQuery));}(window,function(t,i,o,u){return s={},r.m=a={"./foundation.core":function(e,n){e.exports=t;},"./foundation.util.keyboard":function(e,n){e.exports=i;},"./foundation.util.nest":function(e,n){e.exports=o;},
28"./js/entries/plugins/foundation.accordionMenu.js":function(e,n,t){"use strict";t.r(n);var i=t("./foundation.core");t.d(n,"Foundation",function(){return i.Foundation;});var o=t("./js/foundation.accordionMenu.js");t.d(n,"AccordionMenu",function(){return o.AccordionMenu;}),i.Foundation.plugin(o.AccordionMenu,"AccordionMenu");},
28"./js/foundation.accordionMenu.js":function(e,n,t){"use strict";t.r(n),t.d(n,"AccordionMenu",function(){return p;});var i=t("jquery"),a=t.n(i),s=t("./foundation.util.keyboard"),o=t("./foundation.util.nest"),r=t("./foundation.core");function u(e){return (u="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 l(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,i.key,i);}}function d(e,n){return !n||"object"!==u(n)&&"function"!=typeof n?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}(e):n;}function c(e){return (c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e);})(e);}function f(e,n){return (f=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e;})(e,n);}var p=function(){function t(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");}(this,t),d(this,c(t).apply(this,arguments));}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&f(e,n);}(t,r["Plugin"]),function(e,n,t){n&&l(e.prototype,n),t&&l(e,t);}(t,[{key:"_setup",value:function(e,n){this.$element=e,this.options=a.a.extend({},t.defaults,this.$element.data(),n),this.className="AccordionMenu",this._init(),s.Keyboard.register("AccordionMenu",{ENTER:"toggle",SPACE:"toggle",ARROW_RIGHT:"open",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"close",ESCAPE:"closeAll"});}},{key:"_init",value:function(){o.Nest.Feather(this.$element,"accordion");var u=this;this.$element.find("[data-submenu]").not(".is-active").slideUp(0),this.$element.attr({role:"tree","aria-multiselectable":this.options.multiOpen}),this.$menuLinks=this.$element.find(".is-accordion-submenu-parent"),this.$menuLinks.each(function(){var e=this.id||Object(r.GetYoDigits)(6,"acc-menu-link"),n=a()(this),t=n.children("[data-submenu]"),i=t[0].id||Object(r.GetYoDigits)(6,"acc-menu"),o=t.hasClass("is-active");u.options.parentLink&&n.children("a").clone().prependTo(t).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-accordion-submenu-item"></li>');u.options.submenuToggle?(n.addClass("has-submenu-toggle"),n.children("a").after('<button id="'+e+'" class="submenu-toggle" aria-controls="'+i+'" aria-expanded="'+o+'" title="'+u.options.submenuToggleText+'"><span class="submenu-toggle-text">'+u.options.submenuToggleText+"</span></button>")):n.attr({"aria-controls":i,"aria-expanded":o,id:e}),t.attr({"aria-labelledby":e,"aria-hidden":!o,role:"group",id:i});}),this.$element.find("li").attr({role:"treeitem"});var e=this.$element.find(".is-active");e.length&&e.each(function(){u.down(a()(this));}),this._events();}},{key:"_events",value:function(){var r=this;this.$element.find("li").each(function(){var n=a()(this).children("[data-submenu]");n.length&&(r.options.submenuToggle?a()(this).children(".submenu-toggle").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(e){r.toggle(n);}):a()(this).children("a").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(e){e.preventDefault(),r.toggle(n);}));}).on("keydown.zf.accordionMenu",function(n){var t,i,o=a()(this),u=o.parent("ul").children("li"),e=o.children("[data-submenu]");u.each(function(e){if(a()(this).is(o))return t=u.eq(Math.max(0,e-1)).find("a").first(),i=u.eq(Math.min(e+1,u.length-1)).find("a").first(),a()(this).children("[data-submenu]:visible").length&&(i=o.find("li:first-child").find("a").first()),a()(this).is(":first-child")?t=o.parents("li").first().find("a").first():t.parents("li").first().children("[data-submenu]:visible").length&&(t=t.parents("li").find("li:last-child").find("a").first()),void (a()(this).is(":last-child")&&(i=o.parents("li").first().next("li").find("a").first()));}),s.Keyboard.handleKey(n,"AccordionMenu",{open:function(){e.is(":hidden")&&(r.down(e),e.find("li").first().find("a").first().focus());},close:function(){e.length&&!e.is(":hidden")?r.up(e):o.parent("[data-submenu]").length&&(r.up(o.parent("[data-submenu]")),o.parents("li").first().find("a").first().focus());},up:function(){return t.focus(),!0;},down:function(){return i.focus(),!0;}
28,toggle:function(){return !r.options.submenuToggle&&(o.children("[data-submenu]").length?(r.toggle(o.children("[data-submenu]")),!0):void 0);},closeAll:function(){r.hideAll();},handled:function(e){e&&n.preventDefault();}});});}},{key:"hideAll",value:function(){this.up(this.$element.find("[data-submenu]"));}},{key:"showAll",value:function(){this.down(this.$element.find("[data-submenu]"));}},{key:"toggle",value:function(e){e.is(":animated")||(e.is(":hidden")?this.down(e):this.up(e));}},{key:"down",value:function(e){var n=this;if(!this.options.multiOpen){var t=e.parentsUntil(this.$element).add(e).add(e.find(".is-active")),i=this.$element.find(".is-active").not(t);this.up(i);}e.addClass("is-active").attr({"aria-hidden":!1}),this.options.submenuToggle?e.prev(".submenu-toggle").attr({"aria-expanded":!0}):e.parent(".is-accordion-submenu-parent").attr({"aria-expanded":!0}),e.slideDown(this.options.slideSpeed,function(){n.$element.trigger("down.zf.accordionMenu",[e]);});}},{key:"up",value:function(e){var n=this,t=e.find("[data-submenu]"),i=e.add(t);t.slideUp(0),i.removeClass("is-active").attr("aria-hidden",!0),this.options.submenuToggle?i.prev(".submenu-toggle").attr("aria-expanded",!1):i.parent(".is-accordion-submenu-parent").attr("aria-expanded",!1),e.slideUp(this.options.slideSpeed,function(){n.$element.trigger("up.zf.accordionMenu",[e]);});}},{key:"_destroy",value:function(){this.$element.find("[data-submenu]").slideDown(0).css("display",""),this.$element.find("a").off("click.zf.accordionMenu"),this.$element.find("[data-is-parent-link]").detach(),this.options.submenuToggle&&(this.$element.find(".has-submenu-toggle").removeClass("has-submenu-toggle"),this.$element.find(".submenu-toggle").remove()),o.Nest.Burn(this.$element,"accordion");}}]),t;}();p.defaults={parentLink:!1,slideSpeed:250,submenuToggle:!1,submenuToggleText:"Toggle menu",multiOpen:!0};},2:function(e,n,t){e.exports=t("./js/entries/plugins/foundation.accordionMenu.js");},jquery:function(e,n){e.exports=u;}},r.c=s,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t});},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},r.t=function(n,e){if(1&e&&(n=r(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var i in n)r.d(t,i,function(e){return n[e];}.bind(null,i));return t;},r.n=function(e){var n=e&&e.__esModule?function(){return e.default;}:function(){return e;};return r.d(n,"a",n),n;},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n);},r.p="",r(r.s=2);function r(e){if(s[e])return s[e].exports;var n=s[e]={i:e,l:!1,exports:{}};return a[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports;}var a,s;});;
29!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.box","./foundation.util.keyboard","./foundation.util.nest","jquery"],t):"object"==typeof exports?exports["foundation.drilldown"]=t(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):(e.__FOUNDATION_EXTERNAL__=e.__FOUNDATION_EXTERNAL__||{},e.__FOUNDATION_EXTERNAL__["foundation.drilldown"]=t(e.__FOUNDATION_EXTERNAL__["foundation.core"],e.__FOUNDATION_EXTERNAL__["foundation.util.box"],e.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],e.__FOUNDATION_EXTERNAL__["foundation.util.nest"],e.jQuery));}(window,function(n,i,o,r,s){return u={},a.m=l={"./foundation.core":function(e,t){e.exports=n;},"./foundation.util.box":function(e,t){e.exports=i;},"./foundation.util.keyboard":function(e,t){e.exports=o;},"./foundation.util.nest":function(e,t){e.exports=r;},
29"./js/entries/plugins/foundation.drilldown.js":function(e,t,n){"use strict";n.r(t);var i=n("./foundation.core");n.d(t,"Foundation",function(){return i.Foundation;});var o=n("./js/foundation.drilldown.js");n.d(t,"Drilldown",function(){return o.Drilldown;}),i.Foundation.plugin(o.Drilldown,"Drilldown");},
29"./js/foundation.drilldown.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Drilldown",function(){return p;});var i=n("jquery"),s=n.n(i),a=n("./foundation.util.keyboard"),o=n("./foundation.util.nest"),l=n("./foundation.core"),r=n("./foundation.util.box");function u(e){return (u="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 d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,i.key,i);}}function c(e,t){return !t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}(e):t;}function f(e){return (f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e);})(e);}function h(e,t){return (h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e;})(e,t);}var p=function(){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n),c(this,f(n).apply(this,arguments));}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t);}(n,l["Plugin"]),function(e,t,n){t&&d(e.prototype,t),n&&d(e,n);}(n,[{key:"_setup",value:function(e,t){this.$element=e,this.options=s.a.extend({},n.defaults,this.$element.data(),t),this.className="Drilldown",this._init(),a.Keyboard.register("Drilldown",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close",TAB:"down",SHIFT_TAB:"up"});}},{key:"_init",value:function(){o.Nest.Feather(this.$element,"drilldown"),this.options.autoApplyClass&&this.$element.addClass("drilldown"),this.$element.attr({role:"tree","aria-multiselectable":!1}),this.$submenuAnchors=this.$element.find("li.is-drilldown-submenu-parent").children("a"),this.$submenus=this.$submenuAnchors.parent("li").children("[data-submenu]").attr("role","group"),this.$menuItems=this.$element.find("li").not(".js-drilldown-back").attr("role","treeitem").find("a"),this.$currentMenu=this.$element,this.$element.attr("data-mutate",this.$element.attr("data-drilldown")||Object(l.GetYoDigits)(6,"drilldown")),this._prepareMenu(),this._registerEvents(),this._keyboardEvents();}},{key:"_prepareMenu",value:function(){var n=this;this.$submenuAnchors.each(function(){var e=s()(this),t=e.parent();n.options.parentLink&&e.clone().prependTo(t.children("[data-submenu]")).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="none"></li>'),e.data("savedHref",e.attr("href")).removeAttr("href").attr("tabindex",0),e.children("[data-submenu]").attr({"aria-hidden":!0,tabindex:0,role:"group"}),n._events(e);}),this.$submenus.each(function(){var e=s()(this);if(!e.find(".js-drilldown-back").length)switch(n.options.backButtonPosition){case "bottom":e.append(n.options.backButton);break;case "top":e.prepend(n.options.backButton);break;default:console.error("Unsupported backButtonPosition value '"+n.options.backButtonPosition+"'");}n._back(e);}),this.$submenus.addClass("invisible"),this.options.autoHeight||this.$submenus.addClass("drilldown-submenu-cover-previous"),this.$element.parent().hasClass("is-drilldown")||(this.$wrapper=s()(this.options.wrapper).addClass("is-drilldown"),this.options.animateHeight&&this.$wrapper.addClass("animate-height"),this.$element.wrap(this.$wrapper)),this.$wrapper=this.$element.parent(),this.$wrapper.css(this._getMaxDims());}},{key:"_resize",value:function(){this.$wrapper.css({"max-width":"none","min-height":"none"}),this.$wrapper.css(this._getMaxDims());}},{key:"_events",value:function(n){var i=this;n.off("click.zf.drilldown").on("click.zf.drilldown",function(e){if(s()(e.target).parentsUntil("ul","li").hasClass("is-drilldown-submenu-parent")&&e.preventDefault(),i._show(n.parent("li")),i.options.closeOnClick){var t=s()("body");t.off(".zf.drilldown").on("click.zf.drilldown",function(e){e.target===i.$element[0]||s.a.contains(i.$element[0],e.target)||(e.preventDefault(),i._hideAll(),t.off(".zf.drilldown"));});}});}},{key:"_registerEvents",value:function(){this.options.scrollTop&&(this._bindHandler=this._scrollTop.bind(this),this.$element.on("open.zf.drilldown hide.zf.drilldown close.zf.drilldown closed.zf.drilldown",this._bindHandler)),this.$element.on("mutateme.zf.trigger",this._resize.bind(this));}},{key:"_scrollTop",value:function(){var e=this,t=""!=e.options.scrollTopElement?s()(e.options.scrollTopElement):e.$element,n=parseInt(t.offset().top+e.options.scrollTopOffset,10);s()("html, body").stop(!0).animate({scrollTop:n},e.options.animationDuration,e.options.animationEasing,function(){this===s()("html")[0]&&e.$element.trigger("scrollme.zf.drilldown");});}},{key:"_keyboardEvents",value:function(){var e=this;this.$menuItems.add(this.$element.find(".js-drilldown-back > a, .is-submenu-parent-item > a")).on("keydown.zf.drilldown",function(t){var n,i,o=s()(this),r=o.parent("li").parent("ul").children("li").children("a");
29r.each(function(e){if(s()(this).is(o))return n=r.eq(Math.max(0,e-1)),void (i=r.eq(Math.min(e+1,r.length-1)));}),a.Keyboard.handleKey(t,"Drilldown",{next:function(){if(o.is(e.$submenuAnchors))return e._show(o.parent("li")),o.parent("li").one(Object(l.transitionend)(o),function(){o.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus();}),!0;},previous:function(){return e._hide(o.parent("li").parent("ul")),o.parent("li").parent("ul").one(Object(l.transitionend)(o),function(){setTimeout(function(){o.parent("li").parent("ul").parent("li").children("a").first().focus();},1);}),!0;},up:function(){return n.focus(),!o.is(e.$element.find("> li:first-child > a"));},down:function(){return i.focus(),!o.is(e.$element.find("> li:last-child > a"));},close:function(){o.is(e.$element.find("> li > a"))||(e._hide(o.parent().parent()),o.parent().parent().siblings("a").focus());},open:function(){return (!e.options.parentLink||!o.attr("href"))&&(o.is(e.$menuItems)?o.is(e.$submenuAnchors)?(e._show(o.parent("li")),o.parent("li").one(Object(l.transitionend)(o),function(){o.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus();}),!0):void 0:(e._hide(o.parent("li").parent("ul")),o.parent("li").parent("ul").one(Object(l.transitionend)(o),function(){setTimeout(function(){o.parent("li").parent("ul").parent("li").children("a").first().focus();},1);}),!0));},handled:function(e){e&&t.preventDefault();}});});}},{key:"_hideAll",value:function(){var e=this,t=this.$element.find(".is-drilldown-submenu.is-active");if(t.addClass("is-closing"),this.options.autoHeight){var n=t.parent().closest("ul").data("calcHeight");this.$wrapper.css({height:n});}this.$element.trigger("close.zf.drilldown"),t.one(Object(l.transitionend)(t),function(){t.removeClass("is-active is-closing"),e.$element.trigger("closed.zf.drilldown");});}},{key:"_back",value:function(n){var i=this;n.off("click.zf.drilldown"),n.children(".js-drilldown-back").on("click.zf.drilldown",function(e){i._hide(n);var t=n.parent("li").parent("ul").parent("li");t.length&&i._show(t);});}},{key:"_menuLinkEvents",value:function(){var t=this;this.$menuItems.not(".is-drilldown-submenu-parent").off("click.zf.drilldown").on("click.zf.drilldown",function(e){setTimeout(function(){t._hideAll();},0);});}},{key:"_setShowSubMenuClasses",value:function(e,t){e.addClass("is-active").removeClass("invisible").attr("aria-hidden",!1),e.parent("li").attr("aria-expanded",!0),!0===t&&this.$element.trigger("open.zf.drilldown",[e]);}},{key:"_setHideSubMenuClasses",value:function(e,t){e.removeClass("is-active").addClass("invisible").attr("aria-hidden",!0),e.parent("li").attr("aria-expanded",!1),!0===t&&e.trigger("hide.zf.drilldown",[e]);}},{key:"_showMenu",value:function(n,i){var o=this;if(this.$element.find('li[aria-expanded="true"] > ul[data-submenu]').each(function(e){o._setHideSubMenuClasses(s()(this));}),(this.$currentMenu=n).is("[data-drilldown]"))return !0===i&&n.find('li[role="treeitem"] > a').first().focus(),void (this.options.autoHeight&&this.$wrapper.css("height",n.data("calcHeight")));var r=n.children().first().parentsUntil("[data-drilldown]","[data-submenu]");r.each(function(e){0===e&&o.options.autoHeight&&o.$wrapper.css("height",s()(this).data("calcHeight"));var t=e==r.length-1;!0==t&&s()(this).one(Object(l.transitionend)(s()(this)),function(){!0===i&&n.find('li[role="treeitem"] > a').first().focus();}),o._setShowSubMenuClasses(s()(this),t);});}},{key:"_show",value:function(e){var t=e.children("[data-submenu]");e.attr("aria-expanded",!0),(this.$currentMenu=t).addClass("is-active").removeClass("invisible").attr("aria-hidden",!1),this.options.autoHeight&&this.$wrapper.css({height:t.data("calcHeight")}),this.$element.trigger("open.zf.drilldown",[e]);}},{key:"_hide",value:function(e){this.options.autoHeight&&this.$wrapper.css({height:e.parent().closest("ul").data("calcHeight")});e.parent("li").attr("aria-expanded",!1),e.attr("aria-hidden",!0),e.addClass("is-closing").one(Object(l.transitionend)(e),function(){e.removeClass("is-active is-closing"),e.blur().addClass("invisible");}),e.trigger("hide.zf.drilldown",[e]);}},{key:"_getMaxDims",value:function(){var t=0,e={},n=this;return this.$submenus.add(this.$element).each(function(){s()(this).children("li").length;var e=r.Box.GetDimensions(this).height;t=t<e?e:t,n.options.autoHeight&&s()(this).data("calcHeight",e);}),this.options.autoHeight?e.height=this.$currentMenu.data("calcHeight"):e["min-height"]="".concat(t,"px"),e["max-width"]="".concat(this.$element[0].getBoundingClientRect().width,"px"),e;}},{key:"_destroy",value:function(){this.options.scrollTop&&this.$element.off(".zf.drilldown",this._bindHandler),this._hideAll(),this.$element.off("mutateme.zf.trigger"),o.Nest.Burn(this.$element,"drilldown"),this.$element.unwrap().find(".js-drilldown-back, .is-submenu-parent-item").remove().end().find(".is-active, .is-closing, .is-drilldown-submenu").removeClass("is-active is-closing is-drilldown-submenu").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role"),this.$submenuAnchors.each(function(){s()(this).off(".zf.drilldown");}),this.$element.find("[data-is-parent-link]").detach(),this.$submenus.removeClass("drilldown-submenu-cover-previous invisible"),this.$element.find("a").each(function(){var e=s()(this);e.removeAttr("tabindex"),e.data("savedHref")&&e.attr("href",e.data("savedHref")).removeData("savedHref");});}}]),n;}();p.defaults={autoApplyClass:!0,backButton:'<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',backButtonPosition:"top",wrapper:"<div></div>",parentLink:!1,closeOnClick:!1,autoHeight:!1,animateHeight:!1,scrollTop:!1,scrollTopElement:"",scrollTopOffset:0,animationDuration:500,animationEasing:"swing"};}
29,3:function(e,t,n){e.exports=n("./js/entries/plugins/foundation.drilldown.js");},jquery:function(e,t){e.exports=s;}},a.c=u,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n});},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e];}.bind(null,i));return n;},a.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return a.d(t,"a",t),t;},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},a.p="",a(a.s=3);function a(e){if(u[e])return u[e].exports;var t=u[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports;}var l,u;});;
30"use strict";(function(a,b,c){b.behaviors.rutherfordPrimaryNavigation={drilldown(b){a(c("rutherford-primary-navigation-mobile",".primary-navigation[data-drilldown]",b)).each(function(){document.addEventListener("create-drilldown",()=>{new Foundation.Drilldown(a(this));},{once:!0}),a(window).on("changed.zf.mediaquery",()=>{a(".primary-navigation").closest(".is-drilldown").attr("style","");}),a(".drilldown .submenu[role=group]:not([aria-label])",b).each(function(){const b=a(this).closest(".is-drilldown-submenu-parent").attr("aria-label");a(this).attr("aria-label",b);}),a(".primary-navigation [role=\"treeitem\"]",b).each(function(){a(this).attr("aria-selected","false");}),a(".primary-navigation a",b).filter(function(){return -1!==a(this).prop("href").indexOf(window.location.pathname);}).closest("[role=\"treeitem\"]").attr("aria-selected","true");});},dropdown(d){a(c("rutherford-primary-navigation-desktop",".primary-navigation[data-dropdown-menu]",d)).each(function(){new Foundation.DropdownMenu(a(this));a(this).removeClass("primary-navigation--loading");}),b.behaviors.rutherfordPrimaryNavigation.setPositionCssVariables(),window.addEventListener("resize",_.debounce(b.behaviors.rutherfordPrimaryNavigation.setPositionCssVariables,100));},createAppropriateNavigation(a){Foundation.MediaQuery.atLeast("xl")?b.behaviors.rutherfordPrimaryNavigation.dropdown(a):(loadjs(`${[window.drupalSettings.path.baseUrl,window.drupalSettings.path.themePath].join("")}/libraries/body-scroll-lock/lib/bodyScrollLock.min.js`),b.behaviors.rutherfordPrimaryNavigation.drilldown(a));},attach(c){b.behaviors.rutherfordPrimaryNavigation.createAppropriateNavigation(c),a(window).on("changed.zf.mediaquery",()=>{b.behaviors.rutherfordPrimaryNavigation.createAppropriateNavigation(c);});},setPositionCssVariables(){if(a(".primary-navigation[data-dropdown-menu]").length){const {x:a,width:b}=document.querySelector(".primary-navigation[data-dropdown-menu]").getBoundingClientRect();document.documentElement.style.setProperty("--primary-dropdown-r-pos",`${a+b}px`);}}},b.behaviors.rutherfordMegaMenu={vars:{activeMenu:!1},elms:{container:null,topTierItems:null,menus:null,thirdTierMenus:null,menuTriggers:[],thirdTierTriggers:null,thirdTierParents:[]},getMenuTriggers(){for(let b=0;b<this.elms.menus.length;b++)this.elms.menuTriggers.push(a(this.elms.menus[b]).siblings("a"));},getSubMenuTriggers(){for(let a=0;a<this.elms.thirdTierTriggers.length;a++)this.elms.thirdTierParents.push(this.elms.thirdTierTriggers[a].closest("li"));},bindEvents(){let b;a("body").on("click",(b)=>{this.closeEvalution(a(b.target));});for(let c=0;c<this.elms.menuTriggers.length;c++)a(this.elms.menuTriggers[c]).closest("li.mega-menu").on("mouseenter",(a)=>{b=setTimeout(()=>{a.preventDefault(),this.toggleMenu(c);},"500");}),a(this.elms.menuTriggers[c]).closest("li.mega-menu").on("mouseleave",(a)=>{clearTimeout(b),a.preventDefault(),this.closeAllMenus();});for(let b=0;b<this.elms.thirdTierTriggers.length;b++)a(this.elms.thirdTierTriggers[b]).on("click",(a)=>{a.preventDefault(),this.toggleSubMenu(b);});a(document).keyup((a)=>{"ESCAPE"===Foundation.Keyboard.parseKey(a)&&this.closeAllMenus();});},ariaHandler(b,c,d){a(b).attr(c,d);},toggleMenu(b){this.vars.activeMenu===b?this.closeAllMenus():(this.closeAllMenus(),a(this.elms.menus[b]).addClass("js-dropdown-active"),a(this.elms.menus[b]).prev(".primary-navigation-link").addClass("js-current-active"),a("body").addClass("dropdown-open"),this.ariaHandler(this.elms.menuTriggers[b],"aria-expanded",!0),this.vars.activeMenu=b);},toggleSubMenu(b){const c=a(this.elms.thirdTierParents[b]),d=c.hasClass("is-active");d?this.closeSubMenus():(this.closeSubMenus(),c.addClass("is-active"),this.ariaHandler(this.elms.thirdTierTriggers[b],"aria-expanded",!0));},closeEvalution(a){const b=a.closest("#site-header").length,c=a.closest(".
30js-megamenu-close").length;(!b||c)&&this.closeAllMenus();},closeAllMenus(){this.closeSubMenus(),a(".js-dropdown-active").removeClass("js-dropdown-active").prev(".js-current-active").removeClass("js-current-active"),a("body").removeClass("dropdown-open"),this.ariaHandler(this.elms.menuTriggers,"aria-expanded",!1),this.vars.activeMenu=!1;},closeSubMenus(){a(this.elms.thirdTierParents).removeClass("is-active"),this.ariaHandler(this.elms.thirdTierTriggers,"aria-expanded",!1);},attach(b){const d=this;a(c("rutherford-mega-menu-desktop","[data-desktop-navigation] .primary-navigation[data-mega-menu]",b)).each(function(){d.elms.container=a(this),d.elms.topTierItems=d.elms.container.find("> li"),d.elms.menus=d.elms.container.find(".primary-navigation-submenu"),d.elms.thirdTierTriggers=d.elms.container.find("*[data-menu-toggle]"),d.elms.thirdTierMenus=d.elms.container.find(".primary-navigation__tier3-nav"),d.getMenuTriggers(),d.getSubMenuTriggers(),d.bindEvents();});}};})(jQuery,Drupal,once);;
31"use strict";(function(a,b,c){b.behaviors.rutherfordMenuLink={attach(b){a("[data-track-click]",b).click(function(){c&&c.push({event:"ux_event",category:"Menu Click",action:"Click",label:"devere-top-menu > Main Link > Companion"});});}};})(jQuery,Drupal,window.dataLayer);;
32!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t=t||self).stickybits=s();}(this,function(){"use strict";function x(){return (x=Object.assign?Object.assign.bind():function(t){for(var s=1;s<arguments.length;s++){var e=arguments[s];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);}return t;}).apply(this,arguments);}var e=function(){function t(t,s){var e=this,i=void 0!==s?s:{};this.version="3.7.11",this.userAgent=window.navigator.userAgent||"no `userAgent` provided by the browser",this.props={customStickyChangeNumber:i.customStickyChangeNumber||null,noStyles:i.noStyles||!1,stickyBitStickyOffset:i.stickyBitStickyOffset||0,parentClass:i.parentClass||"js-stickybit-parent",scrollEl:"string"==typeof i.scrollEl?document.querySelector(i.scrollEl):i.scrollEl||window,stickyClass:i.stickyClass||"js-is-sticky",stuckClass:i.stuckClass||"js-is-stuck",stickyChangeClass:i.stickyChangeClass||"js-is-sticky--change",useStickyClasses:i.useStickyClasses||!1,useFixed:i.useFixed||!1,useGetBoundingClientRect:i.useGetBoundingClientRect||!1,verticalPosition:i.verticalPosition||"top",applyStyle:i.applyStyle||function(t,s){return e.applyStyle(t,s);}},this.props.positionVal=this.definePosition()||"fixed",this.instances=[];var n=this.props,o=n.positionVal,a=n.verticalPosition,l=n.noStyles,r=n.stickyBitStickyOffset,c="top"!==a||l?"":r+"px",p="fixed"!==o?o:"";this.els="string"==typeof t?document.querySelectorAll(t):t,"length" in this.els||(this.els=[this.els]);for(var f=0;f<this.els.length;f++){var u,y=this.els[f],h=this.addInstance(y,this.props);this.props.applyStyle({styles:((u={})[a]=c,u.position=p,u),classes:{}},h),this.manageState(h),this.instances.push(h);}}var s=t.prototype;return s.definePosition=function(){var t;if(this.props.useFixed)t="fixed";else{for(var s=["","-o-","-webkit-","-moz-","-ms-"],e=document.head.style,i=0;i<s.length;i+=1)e.position=s[i]+"sticky";t=e.position?e.position:"fixed",e.position="";}return t;},s.addInstance=function(t,s){var e=this,i={el:t,parent:t.parentNode,props:s};if("fixed"===s.positionVal||s.useStickyClasses){this.isWin=this.props.scrollEl===window;var n=this.isWin?window:this.getClosestParent(i.el,i.props.scrollEl);this.computeScrollOffsets(i),this.toggleClasses(i.parent,"",s.parentClass),i.state="default",i.stateChange="default",i.stateContainer=function(){return e.manageState(i);},n.addEventListener("scroll",i.stateContainer);}return i;},s.getClosestParent=function(t,s){var e=s,i=t;if(i.parentElement===e)return e;for(;i.parentElement!==e;)i=i.parentElement;return e;},s.getTopPosition=function(t){if(this.props.useGetBoundingClientRect)return t.getBoundingClientRect().top+(this.props.scrollEl.pageYOffset||document.documentElement.scrollTop);for(var s=0;s=t.offsetTop+s,t=t.offsetParent;);return s;},s.computeScrollOffsets=function(t){var s=t,e=s.props,i=s.el,n=s.parent,o=!this.isWin&&"fixed"===e.positionVal,a="bottom"!==e.verticalPosition,l=o?this.getTopPosition(e.scrollEl):0,r=o?this.getTopPosition(n)-l:this.getTopPosition(n),c=null!==e.customStickyChangeNumber?e.customStickyChangeNumber:i.offsetHeight,p=r+n.offsetHeight;s.offset=o?0:l+e.stickyBitStickyOffset,s.stickyStart=a?r-s.offset:0,s.stickyChange=s.stickyStart+c,s.stickyStop=a?p-(i.offsetHeight+s.offset):p-window.innerHeight;},s.toggleClasses=function(t,s,e){var i=t,n=i.className.split(" ");e&&-1===n.indexOf(e)&&n.push(e);var o=n.indexOf(s);-1!==o&&n.splice(o,1),i.className=n.join(" ");},s.manageState=function(r){function t(t){t();}var c=this,p=r,f=p.props,s=p.state,e=p.stateChange,i=p.stickyStart,n=p.stickyChange,o=p.stickyStop,u=f.positionVal,a=f.scrollEl,y=f.stickyClass,h=f.stickyChangeClass,d=f.stuckClass,g=f.verticalPosition,l="bottom"!==g,k=f.a
32pplyStyle,m=f.noStyles,v=this.isWin&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame)||t,C=this.isWin?window.scrollY||window.pageYOffset:a.scrollTop,S=l&&C<=i&&("sticky"===s||"stuck"===s),w=o<=C&&"sticky"===s;i<C&&C<o&&("default"===s||"stuck"===s)?p.state="sticky":S?p.state="default":w&&(p.state="stuck");var b=n<=C&&C<=o;C<n/2||o<C?p.stateChange="default":b&&(p.stateChange="sticky"),s===p.state&&e===p.stateChange||v(function(){var t,s,e,i,n,o,a={sticky:{styles:((t={position:u,top:"",bottom:""})[g]=f.stickyBitStickyOffset+"px",t),classes:((s={})[y]=!0,s)},default:{styles:((e={})[g]="",e),classes:{}},stuck:{styles:x(((i={})[g]="",i),"fixed"===u&&!m||!c.isWin?{position:"absolute",top:"",bottom:"0"}:{}),classes:((n={})[d]=!0,n)}};"fixed"===u&&(a.default.styles.position="");var l=a[p.state];l.classes=((o={})[d]=!!l.classes[d],o[y]=!!l.classes[y],o[h]=b,o),k(l,r);});},s.applyStyle=function(t,s){var e=t.styles,i=t.classes,n=s.el,o=s.props,a=n.style,l=o.noStyles,r=n.className.split(" ");for(var c in i)if(i[c])-1===r.indexOf(c)&&r.push(c);else{var p=r.indexOf(c);-1!==p&&r.splice(p,1);}if(n.className=r.join(" "),e.position&&(a.position=e.position),!l)for(var f in e)a[f]=e[f];},s.update=function(e){var i=this;return void 0===e&&(e=null),this.instances.forEach(function(t){if(i.computeScrollOffsets(t),e)for(var s in e)t.props[s]=e[s];}),this;},s.removeInstance=function(t){var s,e,i=t.el,n=t.props;this.applyStyle({styles:((s={position:""})[n.verticalPosition]="",s),classes:((e={})[n.stickyClass]="",e[n.stuckClass]="",e)},t),this.toggleClasses(i.parentNode,n.parentClass);},s.cleanup=function(){for(var t=0;t<this.instances.length;t+=1){var s=this.instances[t];s.stateContainer&&s.props.scrollEl.removeEventListener("scroll",s.stateContainer),this.removeInstance(s);}this.manageState=!1,this.instances=[];},t;}();return function(t,s){return new e(t,s);};});;
33"use strict";(function(a,b){b.behaviors.rutherfordSiteHeaderHeight={root:document.documentElement,setHeight(){const a=document.getElementById("site-header-inner").clientHeight,b=document.getElementById("site-header").clientHeight;this.root.style.setProperty("--site-header-inner-height",`${a}px`),this.root.style.setProperty("--site-header-height",`${b}px`);},getHeaderFooterMenusHeight(){const a=document.querySelector(".site-header-footer-menus").clientHeight;this.root.style.setProperty("--site-header-footer-menus-height",`${a}px`);}};})(jQuery,Drupal);;
34"use strict";window.createSiteHeaderStickybits=()=>{window.siteHeaderStickybits&&window.siteHeaderStickybits.cleanup(),window.siteHeaderStickybits=stickybits("#site-header",{useStickyClasses:!0});},function(a){window.siteHeader=function(){return {drilldownOpen:!1,dropdownOpen:!1,siteSearchOpen:!1,itemsInOverflow:0,overflowExpanded:!1,drupalToolbarHeight:null,navigationSwitchBreakpoint:"xl",searchFocusTrap:null,drilldownFocusTrap:null,submenuOpened:!1,toggleDrilldown(){return this.submenuOpened?(this.delayDrilldown(),!1):void (this.drilldownOpen=!this.drilldownOpen,this.drilldownOpen&&this.$nextTick(()=>{_.delay(function(){document.dispatchEvent(new Event("create-drilldown"));});}),document.getElementById("site-utility-bar").classList.toggle("u-visually-hidden"));},delayDrilldown(){const b=this;b.drilldownOpen&&(a("[data-drilldown]").foundation("_hideAll"),_.delay(function(){b.drilldownOpen=!1,b.submenuOpened=!1;},500));},toggleSiteSearchOpen(){this.siteSearchOpen=!this.siteSearchOpen;},toggleMoreMenu(){this.overflowExpanded=!this.overflowExpanded,this.$nextTick(()=>{Foundation.Keyboard.findFocusable(a(this.$refs["nav-overflow"])).first().focus();});},blockPageUsage(){function b(){document.querySelector("[data-drilldown]")?(window.bodyScrollLock.disableBodyScroll(document.getElementById("site-header")),document.body.classList.remove("u-overflow-y-scroll")):window.requestAnimationFrame(b);}b(),a("main,footer").addClass("u-opacity-0").attr("inert",!0);},allowPageUsage(){window.bodyScrollLock.enableBodyScroll(document.getElementById("site-header")),document.body.classList.add("u-overflow-y-scroll"),a("main,footer").removeClass("u-opacity-0").removeAttr("inert");},setHeaderHeightProperty(){Drupal.behaviors.rutherfordSiteHeaderHeight.setHeight();},getHeaderFooterMenusHeight(){Drupal.behaviors.rutherfordSiteHeaderHeight.getHeaderFooterMenusHeight();},calculateNewHeaderHeightProperty(){_.delay(()=>{this.setHeaderHeightProperty();},350);},init(b){window.createSiteHeaderStickybits(),window.addEventListener("load",function(){window.siteHeaderStickybits.update();}),window.addEventListener("scroll",this.setHeaderHeightProperty),this.setHeaderHeightProperty(),b("drilldownOpen",(a)=>{!0===a?(this.siteSearchOpen=!1,_.delay(this.getHeaderFooterMenusHeight.bind(this),350),this.blockPageUsage()):this.allowPageUsage();}),b("siteSearchOpen",(b)=>{!0===b?(this.drilldownOpen=!1,Drupal.behaviors.rutherfordMegaMenu.closeAllMenus(),this.$nextTick(()=>{a(".site-header-search").find("input[name='query']").focus(),this.createFocusTrap("searchFocusTrap",["[data-site-header-buttons]",".site-header-search-wrapper"],"search bar");})):this.deactivateFocusTrap("searchFocusTrap");}),a("[data-dropdown-menu]").on("show.zf.dropdownMenu",()=>{this.siteSearchOpen=!1,this.dropdownOpen=!0;}),a("[data-dropdown-menu]").on("hide.zf.dropdownMenu",()=>{this.dropdownOpen=!1;}),a("[data-drilldown]").on("open.zf.drilldown",()=>{this.submenuOpened=!0;}),a("[data-drilldown]").on("hide.zf.drilldown",()=>{this.submenuOpened=!1;}),a(window).on("changed.zf.mediaquery",()=>{this.siteSearchOpen=!1,this.delayDrilldown(),this.dropdownOpen=!1,this.calculateNewHeaderHeightProperty(),Drupal.behaviors.rutherfordMegaMenu.closeAllMenus();}),this.unstickyHeaderIfNoRoom();},createFocusTrap(a,b,c){const d=this,e=`${[window.drupalSettings.path.baseUrl,window.drupalSettings.path.themePath].join("")}/libraries`;loadjs.isDefined("focus-trap")||loadjs([`${e}/tabbable/dist/index.umd.min.js`,`${e}
34/focus-trap/dist/focus-trap.umd.min.js`],"focus-trap"),loadjs.ready("focus-trap",{success(){d[a]=window.focusTrap.createFocusTrap(b,{preventScroll:!0,allowOutsideClick:!0}).activate();}}),Drupal.announce(Drupal.t(`Keyboard tabbing is constrained to the ${c}.`)),Drupal.announce(Drupal.t("Press the ESC key or use the Close button to exit."));},deactivateFocusTrap(a){_.isObject(this[a])&&this[a].deactivate();},unstickyHeaderIfNoRoom(){const a=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0),b=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);800>a&&1200<=b?setTimeout(()=>{window.siteHeaderStickybits.cleanup(),document.body.classList.add("sticky-header-removed-due-to-height");},0):!window.siteHeaderStickybits.instances.length&&(window.createSiteHeaderStickybits(),document.body.classList.remove("sticky-header-removed-due-to-height"));}};};}(jQuery);;

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.