1!function(){var t={7510:function(t,e,n){var o;!function(e){"use strict";var r=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return setTimeout(t,16)};function i(){var t=this;t.reads=[],t.writes=[],t.raf=r.bind(e)}function c(t){t.scheduled||(t.scheduled=!0,t.raf(s.bind(null,t)))}function s(t){var e,n=t.writes,o=t.reads;try{o.length,t.runTasks(o),n.length,t.runTasks(n)}catch(t){e=t}if(t.scheduled=!1,(o.length||n.length)&&c(t),e){if(e.message,!t.catch)throw e;t.catch(e)}}function a(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)}i.prototype={constructor:i,runTasks:function(t){for(var e;e=t.shift();)e()},measure:function(t,e){var n=e?t.bind(e):t;return this.reads.push(n),c(this),n},mutate:function(t,e){var n=e?t.bind(e):t;return this.writes.push(n),c(this),n},clear:function(t){return a(this.reads,t)||a(this.writes,t)},extend:function(t){if("object"!=typeof t)throw new Error("expected object");var e=Object.create(this);return function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}(e,t),e.fastdom=this,e.initialize&&e.initialize(),e},catch:null};var u=e.fastdom=e.fastdom||new i;void 0===(o=function(){return u}.call(u,n,u,t))||(t.exports=o)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o].call(i.exports,i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";class t{constructor(t){this.element=t.element,this.started=!1,this.name=t.name,this.options=t.options||{},this.children=t.children||{},t.querySelector&&Object.keys(t.querySelector).forEach(e=>{this.children[e]=this.element.querySelector(t.querySelector[e])}),t.querySelectorAll&&Object.keys(t.querySelectorAll).forEach(e=>{this.children[e]=this.element.querySelectorAll(t.querySelectorAll[e])})}destroy(){this.element.parentNode.removeChild(this.element)}getOffsetTop(t,e){return e===t?0:t.offsetTop+this.getOffsetTop(t.parentElement,e)}static isChild(t,e){if(t){let n=t.parentNode;for(;n;){if(n===e)return!0;n=n.parentNode}}return!1}}var e=function(t,e){let n=!1;const o=[],r=function(){o.length&&!n&&(n=!0,o.shift().call(),setTimeout(()=>{n=!1,r()},e))};return function(){o.push(t.bind(this,...arguments)),r()}};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function r(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}function i(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}
1function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}n(7510);var u,l={name:"flyoutNav",class:function(t){function e(t){var n,r,i,s;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,s=[t],i=c(i=e),(n=function(t,e){if(e&&("object"==o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(r,a()?Reflect.construct(i,s||[],c(r).constructor):i.apply(r,s))).flyout=document.querySelector(".flyout-nav"),n.hamburger=document.querySelector(".site-header__nav-main-toggle"),n.contact=document.querySelector(".flyout-contact-button"),n.setTriggers(),n.flyout.style.display="block",n.contact.style.display="flex",n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),n=e,(r=[{key:"setTriggers",value:function(){var t=this;this.children.close&&this.children.close.addEventListener("click",function(){document.body.classList.remove("flyout-open")}),this.hamburger&&this.hamburger.addEventListener("click",function(){document.body.classList.add("flyout-open")}),this.flyout&&this.flyout.addEventListener("click",function(t){var e=t.target;if(e.classList.contains("flyout-nav__arrow")){e.classList.toggle("open");var n=e.nextElementSibling;n&&n.classList.toggle("open")}}),Array.prototype.forEach.call(this.children.items,function(t){t.addEventListener("click",function(){document.body.classList.remove("flyout-open")})}),document.addEventListener("click",function(e){if(document.body.classList.contains("flyout-open")){var n=e.target;if(n===t.hamburger)return;do{if(n===t.flyout)return;n=n.parentNode}while(n);document.body.classList.remove("flyout-open")}})}}])&&i(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(t),querySelector:{close:".flyout-nav__close"},querySelectorAll:{items:".flyout-nav__menu-item"}},f=new class{constructor(t){window[t]=window[t]?window[t]:{components:{}},window.jsComponentFrameworkLimiter=window.jsComponentFrameworkLimiter?window.jsComponentFrameworkLimiter:e,this.manifest=window[t],this.limiter=window.jsComponentFrameworkLimiter}initComponents(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;(Array.isArray(t)?t:[t]).forEach(this.limiter(t=>this.initComponent(t,e),500))}initComponent(e,n){const o=e.name,r=e.class;if(r.prototype instanceof t){const t=Object.keys(this.manifest.components).includes(o),i=n.querySelectorAll("[data-component='".concat(o,"']"));if(!i.length)return void console.info('No elements found for data-component="'.concat(o,'"'));t||(this.manifest.components[o]={config:e,instances:[]}),Array.prototype.forEach.call(i,t=>{const n=this.manifest.components[o].instances.some(e=>t.isSameNode(e.element));if(n)return;const i=e;i.element=t;const c=new r(i);this.manifest.components[o].instances.push({instance:c,element:t})})}}reinitComponent(t,e){const n=this.manifest.components[t].config;n&&this.initComponents([n],e)}static callComponentMethod(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.manifest[t]&&this.manifest[t].instances&&this.manifest[t].instances.forEach(t=>{"function"==typeof t[e]&&t[e].call(t,...n)})}}("nbc-flyout-nav-components");u=function(){f.initComponents([l])},"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",u):u()}()}(); 2//# sourceMappingURL=flyoutNav.25be39dd3840a62330c4.bundle.min.js.map
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.