/*! For license information please see fusion-core.min.js.LICENSE.txt */ (()=>{var e={};function t(e){return t="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},t(e)}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){"use strict";var n,i,o,s;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),o)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,o=arguments.length>1?arguments[1]:void 0;if(void 0!==o){if(!i(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var r,a=s(t.length),l=i(this)?Object(new this(a)):new Array(a),c=0;c=0&&t.item(n)!==this;);return n>-1}),"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i0||e.offsetHeight>0||e===document.activeElement})).length){var o=i[0],s=i[i.length-1];n.shiftKey?document.activeElement===o&&(n.preventDefault(),s.focus()):document.activeElement===s&&(n.preventDefault(),o.focus())}}}function i(n){if(e.opened&&!e.modal.contains(n.target)){var i=e.modal.querySelectorAll(t);(i=Array.prototype.slice.call(i).filter(function(e){return e.offsetWidth>0||e.offsetHeight>0})).length?i[0].focus():e.modal.focus()}}e._focusTrapHandler=n,e._focusinHandler=i,e.modal.addEventListener("keydown",n),document.addEventListener("focusin",i)},c.prototype.detachFocusTrap=function(){this._focusTrapHandler&&this.modal.removeEventListener("keydown",this._focusTrapHandler),this._focusinHandler&&document.removeEventListener("focusin",this._focusinHandler),this._focusTrapHandler=null,this._focusinHandler=null},c.prototype.open=function(){this.lastFocusedElement=document.activeElement,this._open()},c.prototype.close=function(){this._close(),document.body.contains(this.lastFocusedElement)&&this.lastFocusedElement.focus()},c.prototype._open=function(){var e=this;this.options.backdrop?this.createOverlay():this.overlay=null,document.body.classList.add("modal-open"),this.modal.style.display="block",d(this.modal,"show.bs.modal"),clearTimeout(e.modal.getAttribute("data-timer")),this.timer=setTimeout(function(){null!==e.overlay&&(e._resize(),e.overlay.classList.add("in")),e.modal.classList.add("in"),e.modal.setAttribute("aria-hidden",!1),e.attachFocusTrap(),e.focusFirstElement(),d(e.modal,"shown.bs.modal")},e.options.duration/2),this.modal.setAttribute("data-timer",e.timer),this.opened=!0},c.prototype._close=function(){var e=this;this.modal.classList.remove("in"),this.modal.setAttribute("aria-hidden",!0),this.overlay&&this.overlay.classList.remove("in"),document.body.classList.remove("modal-open"),d(this.modal,"hide.bs.modal"),clearTimeout(e.modal.getAttribute("data-timer")),this.timer=setTimeout(function(){e.modal.style.display="none",e.removeOverlay(),e.detachFocusTrap(),d(e.modal,"hidden.bs.modal")},e.options.duration/2),this.modal.setAttribute("data-timer",e.timer),this.opened=!1},c.prototype.content=function(e){return this.modal.querySelector(".modal-content").innerHTML=e},c.prototype.createOverlay=function(){var e=document.createElement("div"),t=document.querySelector(".modal-backdrop");e.setAttribute("class","modal-backdrop fade"),t?this.overlay=t:(this.overlay=e,document.body.appendChild(e))},c.prototype.removeOverlay=function(){var e=document.querySelector(".modal-backdrop");null!=e&&document.body.removeChild(e)},c.prototype.keydown=function(){var e=this;document.addEventListener("keydown",function(t){e.options.keyboard&&27==t.which&&e.close()},!1)},c.prototype.trigger=function(){var e=this,t=document.querySelectorAll('[data-toggle="modal"]');[].forEach.call(t,function(t,n){t.addEventListener("click",function(t){var n=t.target,i=n.getAttribute("data-target")||n.getAttribute("href");document.querySelector(i)===e.modal&&(e.triggerElement=n,e.open())})})},c.prototype._resize=function(){var e=this.overlay||document.querySelector(".modal-backdrop"),t={w:document.documentElement.clientWidth+"px",h:document.documentElement.clientHeight+"px"};setTimeout(function(){null!==e&&e.classList.contains("in")&&(e.style.height=t.h,e.style.width=t.w)},this.options.duration/2)},c.prototype.resize=function(){var e=this;window.addEventListener("resize",function(){setTimeout(function(){e._resize()},50)},!1)},c.prototype.dismiss=function(){var e=this;this.modal.addEventListener("click",function(t){"modal"!==t.target.parentNode.getAttribute("data-dismiss")&&"modal"!==t.target.getAttribute("data-dismiss")&&t.target!==e.modal||(t.preventDefault(),e.close())})},c.prototype.focusFirstElement=function(){var e=this.modal.querySelectorAll('a[href], button:not([disabled]), textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, iframe, [tabindex]:not([tabindex="-1"])');(e=Array.prototype.slice.call(e).filter(function(e){return e.offsetWidth>0||e.offsetHeight>0})).length?e[0].focus():this.modal.focus()},window.addEventListener("message",function(e){if(e.data&&e.data.gcbConsent){var t=document.querySelector(".modal.in");t&&t.Modal&&"function"==typeof t.Modal.focusFirstElement&&t.Modal.focusFirstElement()}});var d=function(e,t){var n=document.createEvent("Event");n.initEvent(t,!0,!0),e.dispatchEvent(n)},u=document.querySelectorAll(".modal");[].forEach.call(u,function(e,t){var n={};return n.keyboard=e.getAttribute("data-keyboard"),n.backdrop=e.getAttribute("data-backdrop"),n.duration=e.getAttribute("data-duration"),new c(e,n)});var h=document.querySelectorAll('a[data-toggle="modal"]');[].forEach.call(h,function(e,t){e.addEventListener("click",function(e){e.preventDefault()})}),window.gel=window.gel||{},window.gel.bootstrap=window.gel.bootstrap||{},window.gel.bootstrap.modal=!0,window.Modal=c}();var r,a,l,c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:"undefined"!=typeof self?self:{},d=(r=function(e){!function(){function e(e,t){var n=void 0;if(t.length&&">"===t[0]){var i="qa-"+Date.now();e.classList.add(i),n=document.querySelectorAll("."+i+" "+t),e.classList.remove(i)}else n=e.querySelectorAll(t);return Array.prototype.slice.call(n)}function n(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createEvent("Event");Object.keys(n).forEach(function(e){i[e]=n[e]}),i.initEvent(t,!0,!0),e.dispatchEvent(i)}function i(e,t,n){var i=void 0;return function(){var o=this,s=arguments,r=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||e.apply(o,s)},t),r&&e.apply(o,s)}}function o(e,t,n){window.jQuery&&window.jQuery.fn.collapse?$(e).on(t,n):e.addEventListener(t,n)}var s="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)},r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},a=function(){function e(e,t){for(var n=0;ne.stickyThreshold?(e.el.classList.add("navbar-stuck"),document.body.classList.add("header-navbar-stuck")):(e.el.classList.remove("navbar-stuck"),document.body.classList.remove("header-navbar-stuck")))})}function u(){var e=this.querySelector(".dropdown-menu");if(e){e.style.opacity=0,e.style.display="block",this.classList.remove("gel-nav-columns"),e.classList.remove("dropdown-menu-right");var t=e.getBoundingClientRect();t.height>.6*window.innerHeight?(this.classList.add("gel-nav-columns"),(t=e.getBoundingClientRect()).right>window.innerWidth&&e.classList.add("dropdown-menu-right"),(t=e.getBoundingClientRect()).left<0&&(this.classList.remove("gel-nav-columns"),e.classList.remove("dropdown-menu-right"))):t.right>window.innerWidth&&e.classList.add("dropdown-menu-right"),e.style.opacity="",e.style.display=""}}var h=function(){function t(e){r(this,t),this.el=e,this.pageScrollPosition=0,e.Navbar=this,this.init()}return a(t,[{key:"init",value:function(){var n=this;this.el.classList.contains("navbar-sticky")&&(this.stickyThreshold=this.el.offsetTop,this.stickyPlaceholder=document.createElement("div"),this.stickyPlaceholder.className="navbar-sticky-placeholder",this.el.parentNode.appendChild(this.stickyPlaceholder));var i=this.el.querySelector(".navbar-collapse");i&&(o(i,"show.bs.collapse",function(){n.saveScrollPosition(),i.classList.add("in"),document.body.classList.add("navbar-collapse-open"),document.body.classList.add("navbar-collapse-opening")}),o(i,"shown.bs.collapse",function(){document.body.classList.remove("navbar-collapse-opening")}),o(i,"hide.bs.collapse",function(){n.restoreScrollPosition(),document.body.classList.remove("navbar-collapse-open"),document.body.classList.add("navbar-collapse-closing"),setTimeout(function(){return document.body.classList.remove("navbar-collapse-closing")},300)}),o(i,"hidden.bs.collapse",function(){n.restoreScrollPosition()})),e(this.el,'.nav-title > [href="#"]').forEach(function(e){e.addEventListener("click",function(e){return e.preventDefault()})}),e(this.el,".dropdown-auto-layout").forEach(t.autoLayoutDropdown),l.push(this)}},{key:"saveScrollPosition",value:function(){this.pageScrollPosition=window.pageYOffset}},{key:"restoreScrollPosition",value:function(){document.documentElement.scrollTop=this.pageScrollPosition,document.body.parentNode.scrollTop=this.pageScrollPosition,document.body.scrollTop=this.pageScrollPosition}}],[{key:"autoLayoutDropdown",value:function(e){o(e,"show.bs.dropdown",u.bind(e))}}]),t}();e(document,".navbar").forEach(function(e){return new h(e)});var p=!1;try{var f=Object.defineProperty({},"passive",{get:function(){p=!0}});window.addEventListener("testPassive",null,f),window.removeEventListener("testPassive",null,f)}catch(e){}d(),p?window.addEventListener("scroll",d,{passive:!0}):window.addEventListener("scroll",i(d,30)),window.Navbar=h;var m=document.querySelectorAll(".navbar");m&&Array.prototype.forEach.call(m,function(e){var t,n,i;t=e.querySelector('[data-toggle="collapse"]'),n=e.querySelector(".navbar-collapse"),i=!1,document.addEventListener("mousedown",function(e){i=!0}),document.addEventListener("keydown",function(e){9===e.keyCode&&(i=!1)}),n&&t&&n.addEventListener("focusout",function(e){i||n.contains(e.relatedTarget)||(n.classList.remove("in"),t.classList.remove("collapsed"),document.body.classList.remove("navbar-collapse-open"),document.body.classList.add("navbar-collapse-closing"),setTimeout(function(){return document.body.classList.remove("navbar-collapse-closing")},300),i=!1)})});var g=[];function v(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];g.forEach(function(t){!0===e&&(t.breakpoints=null),t.update()})}var y=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;r(this,t),this.nav="string"==typeof n?document.querySelector(n):n,this.nav instanceof Element&&e(this.nav,"> li").length&&(this.nav.classList.add("c-overflownav"),this.nav.parentElement.classList.add("u-overflownav-parent"),this.label=i||this.nav.getAttribute("data-label")||"More",this.srLabel=o||this.nav.getAttribute("data-srlabel")||"More navigation items",g.push(this),this.build(),this.update())}return a(t,[{key:"build",value:function(){var t,n=this;this.moreDropdown=document.createElement("li"),this.moreDropdown.className="dropdown c-overflownav__dropdown",this.moreToggle=document.createElement("a"),this.moreToggle.innerHTML='\n \n '+this.srLabel+'\n \n ',this.moreToggle.className="dropdown-toggle",this.moreToggle.href="#",this.moreToggle.setAttribute("data-toggle","dropdown"),this.moreToggle.setAttribute("role","button"),this.moreToggle.setAttribute("aria-haspopup",!0),this.moreToggle.setAttribute("aria-expanded",!1),this.moreDropdown.appendChild(this.moreToggle),this.moreMenu=document.createElement("ul"),this.moreMenu.className="dropdown-menu c-overflownav__menu",this.moreDropdown.appendChild(this.moreMenu),this.items=[],this.clones=[],e(this.nav,"> li").forEach(function(e){var t=e.querySelector("a"),i=void 0;if(n.items.push(e),e.classList.add("c-overflownav__item"),t.classList.contains("dropdown-toggle")){(i=e.cloneNode()).className="nav-title";var o=document.createElement("a");o.textContent=t.textContent,o.href=t.getAttribute("href"),i.appendChild(o);var s=e.querySelector(".dropdown-menu").cloneNode(!0);s.className="",i.appendChild(s)}else i=e.cloneNode(!0);i.classList.add("c-overflownav__clone"),i.classList.add("is-hidden"),n.moreMenu.appendChild(i),n.clones.push(i)}),this.nav.appendChild(this.moreDropdown),t=this.moreToggle,window.Dropdown?new Dropdown(t):$(t).dropdown(),Navbar.autoLayoutDropdown(this.moreDropdown)}},{key:"getBreakpoints",value:function(){var e=this.moreDropdown.clientWidth;this.breakpoints=this.items.map(function(t){return t.classList.remove("is-hidden"),e+=t.clientWidth})}},{key:"update",value:function(){if(!(window.innerWidth<960)){this.breakpoints||this.getBreakpoints();for(var e=this.nav.clientWidth,t=this.breakpoints.length-1;t>=0;t--)e1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.container="string"==typeof e?document.querySelector(e):e,this.options=Object.assign({},b,n),w++,this.layout()}return a(t,[{key:"layout",value:function(){var t=this.options.blockSelector?e(this.container,this.options.blockSelector):Array.prototype.slice.call(this.container.children);t.length&&this.options.sizes.forEach(function(e){var n=e.width||3,i=e.suffix||"lg",o=e.fillLast>0?e.fillLast:0,s=Math.min(n,e.maxWidth||n),r=function(){return Array.from({length:n},function(){return null})},a=r(),l=[],c=[],d={},u=function(e){return e.filter(function(e){return null!==e}).length},h=function(e){c.push(e),l.length||l.push(r()),a=l.shift(0)},p=function(e,t,o,s,a,c){for(var u=o;uo&&(0===t||t+s===n)){var p=r();p[h]=e,l.push(p),e.classList.add("is-tall--"+i),t+s===n&&e.classList.add("is-right--"+i)}e.classList.add("is-"+s+"x--"+i),d[e.getAttribute("data-blockid")]={x:t,y:o,width:s,height:a}},f=function(e,t,o){var r=o||s,l=d[e.getAttribute("data-blockid")],c=Math.min(r,n-(u(a)-l.width));e.classList.remove("is-"+l.width+"x--"+i),e.classList.add("is-"+c+"x--"+i),p(e,l.x,l.y,c,l.height,t)};if(t.forEach(function(e,t){var i=w+"-"+t;for(e.setAttribute("data-blockid",i);u(a)===n&&0n)throw new Error("Too many iterations, avoiding infinite loop");var r=c.length,l=parseInt(e.getAttribute("data-blockWidth"),10)||1,m=parseInt(e.getAttribute("data-blockHeight"),10)||1;if(n-u(a)>=l)p(e,o,r,l,m,a);else{var g=a[o-1],v=d[g.getAttribute("data-blockid")],y=n-v.x<=s;o>0&&y&&1==v.height?(f(g,a),h(a),p(e,a.indexOf(null),c.length,l,m,a)):p(e,o,r,1,m,a)}}),o&&u(a)