/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ (function(Drupal,$,once){'use strict';var initHoverIntent=function(){var menu=this;$('ul.m--main > li',menu).hoverIntent({over:function(){$(this).addClass('hover');},out:function(){$(this).removeClass('hover');},interval:80});};var initMainMenu=function(){var $menuItems=$('.cc--menu-main ul.m--menu > li');ally.style.focusWithin();$menuItems.on('click',function(){$menuItems.removeClass('ally-focus-within');if(whatInput.ask()==='touch')$(this).addClass('ally-focus-within');});};window.DP.behaviors.mainMenu={attach:function(context){$(once('mainMenu','.nav-container .cc--menu-main',context)).each(function(){initHoverIntent.apply(this);initMainMenu.apply();});}};})(Drupal,jQuery,once);; (function(Drupal,$,once){'use strict';var $hamburger;var $mobileMenu;var $arrowToggles;var $backButtons;var $subMenus;var breakpoint=window.matchMedia('(min-width: 1200px)');var initMobileMenu=function(){$hamburger=$(this);$mobileMenu=$('.cc--menu-mobile');$arrowToggles=$mobileMenu.find('.arrow-toggle');$subMenus=$mobileMenu.find('.submenu-wrapper');$backButtons=$mobileMenu.find('.button-back');$hamburger.on('click',function(e){e.preventDefault();toggleMobileMenu(this);});$arrowToggles.on('click',function(e){e.preventDefault();var $subMenu=$(this).parents('.menu-item').find('.submenu-wrapper');$subMenu.attr('aria-hidden','false');$subMenu.show();$subMenu.removeClass('is-hidden').addClass('is-visible');$mobileMenu.addClass('is-hidden');});$backButtons.on('click',function(e){e.preventDefault();var $this=$(this);$this.parents('.submenu-wrapper').attr('aria-hidden','true');$this.parents('.submenu-wrapper').addClass('is-hidden');$this.parents('.submenu-wrapper').removeClass('is-visible');$mobileMenu.removeClass('is-hidden');});checkBreakpoint();breakpoint.addListener(checkBreakpoint);};var checkBreakpoint=function(){if(breakpoint.matches){$hamburger.removeClass('is-active');$mobileMenu.removeAttr('style');$('body').removeClass('mobile-menu-is-active');hideAllSubmenus();}};var toggleMobileMenu=function(el){$('body').toggleClass('mobile-menu-is-active');$(el).toggleClass('is-active');$mobileMenu.fadeToggle(function(){if(!$('body').hasClass('mobile-menu-is-active'))hideAllSubmenus();});};var hideAllSubmenus=function(){$subMenus.removeClass('is-visible');$mobileMenu.removeClass('is-hidden');};window.DP.behaviors.mobileMenu={attach:function(context){$(once('mobileMenu','.hamburger',context)).each(function(){initMobileMenu.apply(this);});}};}(Drupal,jQuery,once));; (function($){'use strict';var $searchIcon;var $body=$('body');var $searchFormContainer=$('.cc--header .cc--header-search');var $searchInput=$searchFormContainer.find('input');var $closeIcon=$searchFormContainer.find('.button-close');var initSearchForm=function(){$searchIcon=$(this);$searchFormContainer.attr({'aria-hidden':'true'});$searchIcon.on('click',function(e){e.preventDefault();openSearch();});$closeIcon.on('click',function(e){e.preventDefault();closeSearch();});$searchFormContainer.on('keydown',function(ev){if(ev.keyCode===9){var inputs=$searchFormContainer.find('input, button').filter(':visible').not(':disabled');if(!ev.shiftKey){if(inputs[inputs.length-1]===ev.target){ev.preventDefault();inputs.first().focus();}}else{if(inputs[0]===ev.target){ev.preventDefault();inputs.last().focus();}}}if(ev.keyCode===27){ev.preventDefault();closeSearch();}});};var openSearch=function(){$searchFormContainer.addClass('is-open').attr('aria-hidden','false');$body.addClass('search-open');$searchInput.first().focus();};var closeSearch=function(){$searchFormContainer.removeClass('is-open').attr('aria-hidden','true');$body.removeClass('search-open');};window.DP.behaviors.searchForm={attach:function(context){$(once('searchForm','.utility-nav-container .search-button',context)).each(function(){initSearchForm.apply(this);});}};}(jQuery));; /** * what-input - A global utility for tracking the current input method (mouse, keyboard or touch). * @version v5.2.3 * @link https://github.com/ten1seven/what-input * @license MIT */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("whatInput",[],t):"object"==typeof exports?exports.whatInput=t():e.whatInput=t()}(this,function(){return i={},n.m=o=[function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var t=document.documentElement,n=null,a="initial",u=a,o=Date.now();try{window.sessionStorage.getItem("what-input")&&(a=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(u=window.sessionStorage.getItem("what-intent"))}catch(e){}var d=["button","input","select","textarea"],i=[],c=[16,17,18,91,93],w=[],p={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},r=!1,s={x:null,y:null},f={2:"touch",3:"touch",4:"mouse"},l=!1;try{var e=Object.defineProperty({},"passive",{get:function(){l=!0}});window.addEventListener("test",null,e)}catch(e){}var h=function(){var e=!!l&&{passive:!0};window.PointerEvent?(window.addEventListener("pointerdown",m),window.addEventListener("pointermove",y)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",m),window.addEventListener("MSPointerMove",y)):(window.addEventListener("mousedown",m),window.addEventListener("mousemove",y),"ontouchstart"in window&&(window.addEventListener("touchstart",m,e),window.addEventListener("touchend",m))),window.addEventListener(S(),y,e),window.addEventListener("keydown",m),window.addEventListener("keyup",m),window.addEventListener("focusin",g),window.addEventListener("focusout",E)},m=function(e){var t=e.which,n=p[e.type];"pointer"===n&&(n=L(e));var o=!w.length&&-1===c.indexOf(t),i=w.length&&-1!==w.indexOf(t),r="keyboard"===n&&t&&(o||i)||"mouse"===n||"touch"===n;if(x(n)&&(r=!1),r&&a!==n){a=n;try{window.sessionStorage.setItem("what-input",a)}catch(e){}v("input")}if(r&&u!==n){var s=document.activeElement;if(s&&s.nodeName&&(-1===d.indexOf(s.nodeName.toLowerCase())||"button"===s.nodeName.toLowerCase()&&!O(s,"form"))){u=n;try{window.sessionStorage.setItem("what-intent",u)}catch(e){}v("intent")}}},v=function(e){t.setAttribute("data-what"+e,"input"===e?a:u),b(e)},y=function(e){var t=p[e.type];if("pointer"===t&&(t=L(e)),M(e),(!r&&!x(t)||r&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&u!==t){u=t;try{window.sessionStorage.setItem("what-intent",u)}catch(e){}v("intent")}},g=function(e){e.target.nodeName?(n=e.target.nodeName.toLowerCase(),t.setAttribute("data-whatelement",n),e.target.classList&&e.target.classList.length&&t.setAttribute("data-whatclasses",e.target.classList.toString().replace(" ",","))):E()},E=function(){n=null,t.removeAttribute("data-whatelement"),t.removeAttribute("data-whatclasses")},L=function(e){return"number"==typeof e.pointerType?f[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},x=function(e){var t=Date.now(),n="mouse"===e&&"touch"===a&&t-o<200;return o=t,n},S=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},b=function(e){for(var t=0,n=i.length;t * @copyriht 2010-2011 Stéphan Zych * @license New BSD License */window.storage||(window.storage={});(function(e,t,n){"use strict";var r={type:"localStorage",enabled:function(){try{return r.type in e&&e[r.type]!==null}catch(t){return!1}},set:function(e,t){if(e===Object(e))for(var n in e)e.hasOwnProperty(n)&&this.type.setItem(n,e[n]);else this.type.setItem(e,t);return this},get:function(e,t){var n=r.all();if(Object.prototype.toString.call(e)==="[object Array]"){var i={};for(var s=0,o=e.length;sdocument.F=Object"),t.close(),l=t.F;n--;)delete l[s][i[n]];return l()};t.exports=Object.create||function create(t,r){var n;return null!==t?(Mi[s]=e(t),n=new Mi,Mi[s]=null,n[f]=t):n=l(),r===kt?n:o(n,r)},a[f]=!0},function(t,r,n){var e=n(5),a=n(19),u=n(20),c=n(49);t.exports=e?Object.defineProperties:function defineProperties(t,r){u(t);for(var n,e=c(r),o=e.length,i=0;i>1,s=23===r?P(2,-24)-P(2,-77):0,l=t<0||0===t&&1/t<0?1:0,h=0;for((t=_(t))!=t||t===1/0?(o=t!=t?1:0,e=c):(e=j(k(t)/L),t*(i=P(2,-e))<1&&(e--,i*=2),2<=(t+=1<=e+f?s/i:s*P(2,1-f))*i&&(e++,i/=2),c<=e+f?(o=0,e=c):1<=e+f?(o=(t*i-1)*P(2,r),e+=f):(o=t*P(2,f-1)*P(2,r),e=0));8<=r;a[h++]=255&o,o/=256,r-=8);for(e=e<>1,u=o-7,c=e-1,f=t[c--],s=127&f;for(f>>=7;0>=-u,u+=r;0>8&255]}function Ry(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function Sy(t){return My(t,23,4)}function Ty(t){return My(t,52,8)}function Uy(t,r){g(t[S],r,{get:function(){return m(this)[r]}})}function Vy(t,r,n,e){var o=h(+n),i=m(t);if(i.byteLength>24)},setUint8:function setUint8(t,r){D.call(this,t,r<<24>>24)}},{unsafe:!0})}else E=function ArrayBuffer(t){f(this,E,x);var r=h(t);b(this,{bytes:v.call(new Array(r),0),byteLength:r}),i||(this.byteLength=r)},M=function DataView(t,r,n){f(this,M,w),f(t,E,w);var e=m(t).byteLength,o=s(r);if(o<0||e>24},getUint8:function getUint8(t){return Vy(this,1,t)[0]},getInt16:function getInt16(t){var r=Vy(this,2,t,1>16},getUint16:function getUint16(t){var r=Vy(this,2,t,1>>0},getFloat32:function getFloat32(t){return Ny(Vy(this,4,t,1>>=1)&&(r+=r))1&e&&(n+=r);return n}},function(t,r,n){var e=n(2),o=n(6),i=n(46),a=n(13);e({target:"Date",proto:!0,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function toJSON(t){var r=i(this),n=a(r);return"number"!=typeof n||isFinite(n)?r.toISOString():null}})},function(t,r,n){var e=n(18),o=n(145),i=n(52)("toPrimitive"),a=Date.prototype;i in a||e(a,i,o)},function(t,r,n){var e=n(20),o=n(13);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(e(this),"number"!==t)}},function(t,r,n){var e=n(21),o=Date.prototype,i="Invalid Date",a="toString",u=o[a],c=o.getTime;new Date(NaN)+""!=i&&e(o,a,function toString(){var t=c.call(this);return t==t?u.call(this):i})},function(t,r,n){n(2)({target:"Function",proto:!0},{bind:n(148)})},function(t,r,n){var i=n(58),a=n(14),u=[].slice,c={};t.exports=Function.bind||function bind(r){var n=i(this),e=u.call(arguments,1),o=function bound(){var t=e.concat(u.call(arguments));return this instanceof o?function(t,r,n){if(!(r in c)){for(var e=[],o=0;o>>=0)?31-o(i(t+.5)*a):32}})},function(t,r,n){var e=n(2),o=n(167),i=Math.cosh,a=Math.abs,u=Math.E;e({target:"Math",stat:!0,forced:!i||i(710)===Infinity},{cosh:function cosh(t){var r=o(a(t)-1)+1;return(r+1/(r*u*u))*(u/2)}})},function(t,r){var n=Math.expm1,e=Math.exp;t.exports=!n||22025.465794806718>>16)*a+i*(n&o>>>16)<<16>>>0)}})},function(t,r,n){var e=n(2),o=Math.log,i=Math.LOG10E;e({target:"Math",stat:!0},{log10:function log10(t){return o(t)*i}})},function(t,r,n){n(2)({target:"Math",stat:!0},{log1p:n(160)})},function(t,r,n){var e=n(2),o=Math.log,i=Math.LN2;e({target:"Math",stat:!0},{log2:function log2(t){return o(t)/i}})},function(t,r,n){n(2)({target:"Math",stat:!0},{sign:n(164)})},function(t,r,n){var e=n(2),o=n(6),i=n(167),a=Math.abs,u=Math.exp,c=Math.E;e({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function sinh(t){return a(t=+t)<1?(i(t)-i(-t))/2:(u(t-1)-u(-t-1))*(c/2)}})},function(t,r,n){var e=n(2),o=n(167),i=Math.exp;e({target:"Math",stat:!0},{tanh:function tanh(t){var r=o(t=+t),n=o(-t);return r==Infinity?1:n==Infinity?-1:(r-n)/(i(t)+i(-t))}})},function(t,r,n){n(55)(Math,"Math",!0)},function(t,r,n){var e=n(2),o=Math.ceil,i=Math.floor;e({target:"Math",stat:!0},{trunc:function trunc(t){return(0>>0||(u.test(n)?16:10))}:a},function(t,r,n){var e=n(2),s=n(39),l=n(198),h=n(142),o=n(6),i=1..toFixed,p=Math.floor,g=function(t,r,n){return 0===r?n:r%2==1?g(t,r-1,n*t):g(t*t,r/2,n)};e({target:"Number",proto:!0,forced:i&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o(function(){i.call({})})},{toFixed:function toFixed(t){function hP(t,r){for(var n=-1,e=r;++n<6;)u[n]=(e+=t*u[n])%1e7,e=p(e/1e7)}function iP(t){for(var r=6,n=0;0<=--r;)u[r]=p((n+=u[r])/t),n=n%t*1e7}function jP(){for(var t=6,r="";0<=--t;)if(""!==r||0===t||0!==u[t]){var n=String(u[t]);r=""===r?n:r+h.call("0",7-n.length)+n}return r}var r,n,e,o,i=l(this),a=s(t),u=[0,0,0,0,0,0],c="",f="0";if(a<0||20>10),r%1024+56320))}return n.join("")}})},function(t,r,n){var e=n(2),o=n(267),i=n(12);e({target:"String",proto:!0,forced:!n(268)("includes")},{includes:function includes(t){return!!~String(i(this)).indexOf(o(t),1")}),d=!h(function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(n,t,r,e){var o=p(n),i=!h(function(){var t={};return t[o]=function(){return 7},7!=""[n](t)}),a=i&&!h(function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===n&&(r.constructor={},r.constructor[v]=function(){return r}),r[o](""),!t});if(!i||!a||"replace"===n&&!y||"split"===n&&!d){var u=/./[o],c=r(o,""[n],function(t,r,n,e,o){return r.exec===g?i&&!o?{done:!0,value:u.call(r,n,e)}:{done:!0,value:t.call(n,r,e)}:{done:!1}}),f=c[1];l(String.prototype,n,c[0]),l(RegExp.prototype,o,2==t?function(t,r){return f.call(t,this,r)}:function(t){return f.call(t,this)}),e&&s(RegExp.prototype[o],"sham",!0)}}},function(t,r,n){var e=n(265).charAt;t.exports=function(t,r,n){return r+(n?e(t,r).length:1)}},function(t,r,n){var o=n(11),i=n(260);t.exports=function(t,r){var n=t.exec;if("function"==typeof n){var e=n.call(t,r);if("object"!=typeof e)throw TypeError("RegExp exec method returned something other than an Object or null");return e}if("RegExp"!==o(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,r)}},function(t,r,n){function d7(t){var r,n,e,o,i,a,u=s(this),c=String(t);return r=p(u,RegExp),(n=u.flags)===kt&&u instanceof RegExp&&!("flags"in S)&&(n=l.call(u)),e=n===kt?"":String(n),o=new r(r===RegExp?u.source:u,e),i=!!~e.indexOf("g"),a=!!~e.indexOf("u"),o.lastIndex=f(u.lastIndex),new O(o,c,i,a)}var e=n(2),o=n(105),i=n(12),f=n(38),a=n(58),s=n(20),u=n(98),l=n(258),c=n(18),h=n(52),p=n(136),g=n(274),v=n(26),y=n(24),d=h("matchAll"),m="RegExp String",b=m+" Iterator",x=v.set,w=v.getterFor(b),S=RegExp.prototype,A=S.exec,O=o(function RegExpStringIterator(t,r,n,e){x(this,{type:b,regexp:t,string:r,global:n,unicode:e,done:!1})},m,function next(){var t=w(this);if(t.done)return{value:kt,done:!0};var r=t.regexp,n=t.string,e=function(t,r){var n,e=t.exec;if("function"!=typeof e)return A.call(t,r);if("object"!=typeof(n=e.call(t,r)))throw TypeError("Incorrect exec result");return n}(r,n);return null===e?{value:kt,done:t.done=!0}:t.global?(""==String(e[0])&&(r.lastIndex=g(n,f(r.lastIndex),t.unicode)),{value:e,done:!1}):{value:e,done:!(t.done=!0)}});e({target:"String",proto:!0},{matchAll:function matchAll(t){var r,n,e,o=i(this);return null!=t&&((n=t[d])===kt&&y&&"RegExp"==u(t)&&(n=d7),null!=n)?a(n).call(t,o):(r=String(o),e=new RegExp(t,"g"),y?d7.call(e,r):e[d](r))}}),y||d in S||c(S,d,d7)},function(t,r,n){var e=n(2),o=n(141).end;e({target:"String",proto:!0,forced:n(278)},{padEnd:function padEnd(t){return o(this,t,1]*>)/g,v=/\$([$&'`]|\d\d?)/g;e("replace",2,function(o,w,S){return[function replace(t,r){var n=i(this),e=t==kt?kt:t[o];return e!==kt?e.call(t,n,r):w.call(String(n),t,r)},function(t,r){var n=S(w,t,this,r);if(n.done)return n.value;var e=A(t),o=String(this),i="function"==typeof r;i||(r=String(r));var a=e.global;if(a){var u=e.unicode;e.lastIndex=0}for(var c=[];;){var f=I(e,o);if(null===f)break;if(c.push(f),!a)break;""===String(f[0])&&(e.lastIndex=M(o,O(e.lastIndex),u))}for(var s,l="",h=0,p=0;p>>0;if(0==e)return[];if(t===kt)return[n];if(!s(t))return v.call(n,t,e);for(var o,i,a,u=[],c=0,f=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(o=h.call(f,n))&&!(c<(i=f.lastIndex)&&(u.push(n.slice(c,o.index)),1>>0;if(0==c)return[];if(0===o.length)return null===S(u,o)?[o]:[];for(var f=0,s=0,l=[];s"+o+""}},function(t,r,n){var e=n(6);t.exports=function(r){return e(function(){var t=""[r]('"');return t!==t.toLowerCase()||3>>0,i=n>>>0;return(r>>>0)+(e>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(t,r,n){n(2)({target:"Math",stat:!0},{imulh:function imulh(t,r){var n=+t,e=+r,o=65535&n,i=65535&e,a=n>>16,u=e>>16,c=(a*i>>>0)+(o*i>>>16);return a*u+(c>>16)+((o*u>>>0)+(65535&c)>>16)}})},function(t,r,n){n(2)({target:"Math",stat:!0},{isubh:function isubh(t,r,n,e){var o=t>>>0,i=n>>>0;return(r>>>0)-(e>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(t,r,n){n(2)({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},function(t,r,n){var e=n(2),o=Math.PI/180;e({target:"Math",stat:!0},{radians:function radians(t){return t*o}})},function(t,r,n){n(2)({target:"Math",stat:!0},{scale:n(382)})},function(t,r,n){var e=n(2),o=n(20),i=n(186),a=n(105),u=n(26),c="Seeded Random",f=c+" Generator",s=u.set,l=u.getterFor(f),h=a(function SeededRandomGenerator(t){s(this,{type:f,seed:t%2147483647})},c,function next(){var t=l(this);return{value:(1073741823&(t.seed=(1103515245*t.seed+12345)%2147483647))/1073741823,done:!1}});e({target:"Math",stat:!0,forced:!0},{seededPRNG:function seededPRNG(t){var r=o(t).seed;if(!i(r))throw TypeError('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new h(r)}})},function(t,r,n){n(2)({target:"Math",stat:!0},{signbit:function signbit(t){return(t=+t)!=t?t:0==t?1/t==Infinity:0>>16,u=e>>>16,c=(a*i>>>0)+(o*i>>>16);return a*u+(c>>>16)+((o*u>>>0)+(65535&c)>>>16)}})},function(t,r,n){var e=n(2),i=n(39),a=n(196),u="Invalid number representation",c=/^[\da-z]+$/;e({target:"Number",stat:!0},{fromString:function fromString(t,r){var n,e,o=1;if("string"!=typeof t)throw TypeError(u);if(!t.length)throw SyntaxError(u);if("-"==t.charAt(0)&&(o=-1,!(t=t.slice(1)).length))throw SyntaxError(u);if((n=r===kt?10:i(r))<2||36=E(256,5-r))return null}else if(255":1,"`":1}),z=c({},q,{"#":1,"?":1,"{":1,"}":1}),G=c({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(t,r){var n=l(t,0);return 32>1,t+=b(t/r);455b((d-a)/l))throw RangeError(m);for(a+=(s-i)*l,i=s,r=0;rd)throw RangeError(m);if(n==i){for(var h=a,p=36;;p+=36){var g=p<=u?1:u+26<=p?26:p-u;if(h0){for(var i=0;i0)$('.cc--notification-banner',context).last().after(bannerHtml);else $('body').prepend(bannerHtml);var banner_html=$('.cc--notification-banner[data-nid="'+banner['nid']+'"]',context);$('button.close-notification',banner_html).on('click',function(e){localStorage.setItem(banner_key,changed);$(this).closest('.cc--notification-banner').remove();$(document).trigger('bannerUpdate');});}}$(document).trigger('bannerUpdate');}}});});}};Drupal.umassCore=Drupal.umassCore||{};Drupal.umassCore.getArguments=function(result){let res=result;let args=[];args['level']=res.level;args['title']=res.title;args['update_text']=res.update_text;args['description']=res.description;args['link_title']=res.link_title;args['link_url']=res.link_url;args['nid']=res.nid;return args;};Drupal.theme.showNotificationBanner=function(results){let args=Drupal.umassCore.getArguments(results);let extreme=false;let type=args['level'];if(type==='extreme_emergency'){type='emergency';extreme=true;}let html='
'+'
'+'
'+'
'+'\n'+' Notification Icon\n'+' \n'+'\n'+''+args['title']+''+'
\n'+'
'+'
'+args['description']+'
'+'
'+args['update_text']+'
'+'';html+='
\n';if(!extreme)html+='
'+'
\n'+'
\n';return html;};})(jQuery,Drupal);; (function($,Drupal){var isIe=function isIe(){var ua=window.navigator.userAgent;return ua.indexOf('MSIE ')>-1||ua.indexOf('Trident/')>-1;};Drupal.behaviors.alertIfIe={attach:function attach(context){if(!isIe())return;$(once('alert_ie_banner','body',context)).each(function(){var results=[{title:'Your browser is not supported',description:"Our software has detected that you're using Internet Explorer, which is not compatible with the latest web standards. As a result this website may not display correctly. Please switch to a different browser to get the full experience. For more information click here.",level:'notice'}];var key='Drupal.notification_ie_banner.closed';if(localStorage.getItem(key)!=='1'){var bannerHtml=Drupal.theme('shownotificationBanner',results);$('body').prepend(bannerHtml);var banner=$('.cc--notification-banner',context);$('button.icon-close',banner).on('click',()=>{localStorage.setItem(key,'1');banner.remove();});}});}};})(jQuery,Drupal);;