{"version":3,"file":"rpmmodules.min.js","sources":["../src/js/Accessibility.js","../src/js/Animate.js","../src/js/GaTracking.js","../src/js/Header.js","../node_modules/lodash-es/_freeGlobal.js","../node_modules/lodash-es/_root.js","../node_modules/lodash-es/_Symbol.js","../node_modules/lodash-es/_getRawTag.js","../node_modules/lodash-es/_objectToString.js","../node_modules/lodash-es/_baseGetTag.js","../node_modules/lodash-es/_trimmedEndIndex.js","../node_modules/lodash-es/_baseTrim.js","../node_modules/lodash-es/isObject.js","../node_modules/lodash-es/toNumber.js","../node_modules/lodash-es/isSymbol.js","../node_modules/lodash-es/isObjectLike.js","../node_modules/lodash-es/now.js","../node_modules/lodash-es/debounce.js","../node_modules/js-cookie/src/js.cookie.js","../src/js/Helpers.js","../node_modules/lodash-es/throttle.js","../node_modules/micromodal/dist/micromodal.es.js","../src/js/Modals.js","../src/js/SomeModule.js"],"sourcesContent":["export const Accessibility = (function () {\n\t'use strict';\n\n\tfunction init() {\n\t\tdocument.body.addEventListener('keydown', e => {\n\n if( e.key === 'Tab' ) {\n document.body.classList.add('keyboard');\n document.body.classList.remove('mouse');\n } else {\n document.body.classList.remove('keyboard');\n document.body.classList.remove('mouse');\n }\n\n });\n\n document.body.addEventListener('click', e => {\n\n document.body.classList.add('mouse');\n document.body.classList.remove('keyboard');\n\n });\n\t}\n\n\treturn {\n\t\tinit: init,\n\t};\n})();\n","export const AnimateIn = (function () {\n\t'use strict';\n\n\tlet $win, $winH, $animateIn, threshold, distScrolled;\n\n\tfunction init() {\n\t\t$win = $(window);\n\t\t$animateIn = $('.animate');\n\t\tdistScrolled = 0;\n\n\t\tif ($animateIn.length) {\n\t\t\tresize();\n\t\t\tcheckElements();\n\t\t\t$win.on('scroll', checkElements);\n\t\t\t$win.on('resize', resize);\n\t\t}\n\t}\n\n\tfunction resize() {\n\t\t$winH = $(window).height();\n\t\tthreshold = $winH * 0.15; // this controls when the animation occurs - distance from bottom of window\n\t}\n\n\tfunction checkElements() {\n\t\tdistScrolled = $win.scrollTop();\n\n\t\t$animateIn.each(function (i, el) {\n\t\t\tlet $el = $(el);\n\t\t\tlet elTreshold = $el.data('threshold') ? $(window).height() * ($el.data('threshold') / 100) : threshold;\n\t\t\tlet elDist = $el.offset().top - ($winH - elTreshold);\n\n\t\t\tif (distScrolled > elDist) {\n\t\t\t\t$el.addClass('animated');\n\t\t\t\t$animateIn = $('.animate-in:not(.animated)');\n\t\t\t}\n\t\t});\n\t}\n\n\treturn {\n\t\tinit: init,\n\t};\n})();\n","export const GaTracking = (function () {\n\t'use strict';\n\n\tlet eventData;\n\n\tfunction init() {\n\t\tevents();\n\t}\n\n\tfunction events() {\n\t\t$('body').on('click', 'a[data-category]', function () {\n\t\t\tlet $t = $(this),\n\t\t\t\tcat = $t.data('category'),\n\t\t\t\tlabel = $t.data('label');\n\n\t\t\tgaClickHandler(cat, label);\n\t\t});\n\t}\n\n\tfunction gaClickHandler(cat, label) {\n\t\tif (gtag) {\n\t\t\tgtag('event', 'click', {\n\t\t\t\tevent_category: cat,\n\t\t\t\tevent_label: label,\n\t\t\t});\n\t\t}\n\n\t\tconsole.warn('Sent a GA event: ', '\\n', '-- Category: ' + cat, '\\n', '-- Label: ' + label, '\\n');\n\t}\n\n\treturn {\n\t\tinit: init,\n\t};\n})();\n","export const Header = (function () {\n\t'use strict';\n\n\tlet isMobile = (window.ontouchstart === null) ? true : false;\n\tconst tap = (window.ontouchstart === null) ? 'touchstart' : 'click';\n\tconst tapl = (window.ontouchstart === null) ? 'touchstart' : 'mouseenter';\n\tlet header, menu, menu_button, anchors;\n\n\tfunction init() {\n\t\theader = $('.site-header');\n\t\tif (!header.length) return;\n\t\tmenu = $('.site-header > nav');\n\t\tmenu_button = $('.site-header__menu').find('.mobile-menu-button');\n\n\t\tanchorActions();\n\t\tprimaryMenu();\n\t\tsecondaryMenu('locations');\n\t\tsecondaryMenu('translations');\n\t\tshowCurrentFlag();\n\t\thideCurrentLocation();\n\t}\n\n\tfunction hideCurrentLocation() {\n\t\t// Get the text inside the button\n\t\tvar buttonText = $(\".site-header__locations button h2\").text();\n\n\t\t// Find the LI element with the same text and hide it\n\t\t$(\"#menu-locations li\").each(function () {\n\t\t\tif ($(this).text() === buttonText) {\n\t\t\t\t$(this).hide();\n\t\t\t\treturn false; // Stop iterating once a match is found\n\t\t\t}\n\t\t});\n\n\t}\n\n\tfunction anchorActions() {\n\t\tanchors = header.find('a');\n\t\tif (anchors.length > 0) {\n\t\t\tanchors.each(function (index) {\n\t\t\t\tconst anchor = $(this);\n\t\t\t\tconst anchorHash = anchor.prop('href').split('#');\n\n\t\t\t\tif (anchorHash[1]) {\n\t\t\t\t\tanchor.on(tap, function (e) {\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\tif (isMobile) {\n\t\t\t\t\t\t\t\tcloseSecondaryMenu('locations');\n\t\t\t\t\t\t\t\tcloseSecondaryMenu('translations');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tclosePrimaryMenus();\n\t\t\t\t\t\t}, 500);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction closePrimaryMenus() {\n\t\t$('body').removeClass('menu-open');\n\t\tmenu.attr('aria-expanded', 'false');\n\t\tmenu_button.attr('aria-expanded', 'false');\n\t}\n\n\tfunction closeSecondaryMenu(menu_name) {\n\t\tvar currmenu = $('.site-header__' + menu_name);\n\t\tif (!currmenu.length) return;\n\t\t$('.site-header__' + menu_name).removeClass('active');\n\t\t$('.site-header__' + menu_name).find('.mobile-menu-button').attr('aria-expanded', 'false');\n\t}\n\n\t// Locations Nav\n\t// mobile: opens on tap, closes on top\n\t// desktop: opens on hover, closes 1 sec after mouse leaves\n\t// Aaron Silver\n\tfunction secondaryMenu(menu_name) {\n\t\tvar currmenu = $('.site-header__' + menu_name);\n\t\tvar currmenu_button = currmenu.find('.mobile-menu-button');\n\t\tif (!currmenu_button.length) return;\n\n\t\t// Desktop & Mobile: open the subnav on hover/tap\n\t\tcurrmenu_button.on(tapl, function (e) {\n\t\t\te.preventDefault();\n\t\t\tclosePrimaryMenus(); // close the main nav, if it's open\n\n\t\t\tif ($(this).attr('aria-expanded') === 'true' && isMobile) {\n\t\t\t\tcloseSecondaryMenu(menu_name);\n\t\t\t} else {\n\t\t\t\tcurrmenu.addClass('active');\n\t\t\t\t$(this).attr('aria-expanded', 'true');\n\t\t\t}\n\t\t});\n\n\t\t// Desktop: close the subnav 1 sec after the mouse leaves the whole div\n\t\tcurrmenu.on('mouseleave', function (e) {\n\t\t\tsetTimeout(function () {\n\t\t\t\t// if the mouse is not currently on the div, close.\n\t\t\t\tif ($('.site-header__' + menu_name + ':hover').length == 0) {\n\t\t\t\t\tcloseSecondaryMenu(menu_name);\n\t\t\t\t}\n\t\t\t}, 1000);\n\t\t});\n\t}\n\n\tfunction primaryMenu() {\n\t\tif (!menu_button.length) return;\n\n\t\tmenu_button.on(tap, function (e) {\n\t\t\te.preventDefault();\n\t\t\tcloseSecondaryMenu('locations');\n\t\t\tcloseSecondaryMenu('translations');\n\t\t\tif ($(this).attr('aria-expanded') === 'true') {\n\t\t\t\tclosePrimaryMenus();\n\t\t\t} else {\n\t\t\t\t$('body').addClass('menu-open');\n\t\t\t\tmenu.attr('aria-expanded', 'true');\n\t\t\t\t$(this).attr('aria-expanded', 'true');\n\t\t\t}\n\t\t});\n\n\t\t// watch all of the top-level items in the main nav\n\t\tlet children = menu.find('#menu-main-navigation > .menu-item');\n\n\t\tif (children.length > 0) {\n\t\t\tchildren.each(function () {\n\t\t\t\tlet child = $(this);\n\t\t\t\tlet child_link = child.children().eq(0);\n\t\t\t\tlet child_menu = child.children().eq(1);\n\n\t\t\t\t// for every hover/tap, close everything, then open the appropriate submenu, if applicable\n\t\t\t\tchild_link.on(tapl, function (e) {\n\t\t\t\t\tlet closeMe = $(this).hasClass('active');\n\t\t\t\t\t// close all siblings/children\n\t\t\t\t\tchildren.each(function () {\n\t\t\t\t\t\t$(this).children().eq(0).removeClass('active');\n\t\t\t\t\t\t$(this).children().eq(1).attr('aria-expanded', 'false');\n\t\t\t\t\t});\n\t\t\t\t\t// open this child (if isMobile, only open it if it wasn't already open)\n\t\t\t\t\tif ((child.hasClass('menu-item-has-children') && !isMobile) || (isMobile && !closeMe)) {\n\t\t\t\t\t\t$(this).addClass('active');\n\t\t\t\t\t\tchild_menu.attr('aria-expanded', 'true');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t}\n\n\tfunction showCurrentFlag() {\n\t\t// Get the flag of the current item (which is hidden by css)\n\t\tvar active_item = $('.translations_nav .current-menu-item');\n\t\tif (!active_item.length) return;\n\n\t\tvar classes = active_item.attr('class').split(' ');\n\t\tvar flagClass = null;\n\t\tfor (var i = 0; i < classes.length; i++) {\n\t\t\tif (classes[i].startsWith('flag-')) {\n\t\t\t\tflagClass = classes[i];\n\t\t\t\tbreak; // Exit the loop since we found the class\n\t\t\t}\n\t\t}\n\t\t// change the global icon's span to have that class instead\n\t\t$('.mobile-menu-button span').removeClass('flag-globe').addClass(flagClass)\n\t}\n\n\treturn {\n\t\tinit: init,\n\t};\n})();\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n","import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","import { throttle } from 'lodash-es';\nimport Cookies from 'js-cookie';\n\nexport const Helpers = (function () {\n\t'use strict';\n\n\tfunction init() {\n\t\tcookie_banner();\n\t\tdynamicCSSVars(); \n\t\tresponsive_videos();\n\t\tbody_scroll();\n\t\taccordions();\n\t}\n\n\tfunction cookie_banner() {\n\t\tlet banner = document.querySelector('.cookie-banner');\n\n\t\tif (!banner) return;\n\n\t\tbanner.querySelectorAll('button').forEach((btn) => {\n\t\t\tbtn.addEventListener('click', (ev) => {\n\t\t\t\tev.preventDefault();\n\n\t\t\t\tlet acceptance = btn.classList.contains('accept') ? 'yes' : 'no';\n\n\t\t\t\tCookies.set('acceptedCookiePrompt', acceptance);\n\t\t\t\twindow.location.reload();\n\t\t\t});\n\t\t});\n\t}\n\n\tfunction dynamicCSSVars() {\n\t\tlet vh = window.innerHeight * 0.01;\n\t\tlet headerContainer = document.querySelector('.site-header__container');\n\n\t\tif(!headerContainer) return;\n\t\tlet headerSize = headerContainer.scrollHeight;\n\t\t\n\t\twindow.addEventListener('resize', () => {\n\t\t\tvh = window.innerHeight * 0.01;\n\t\t\theaderSize = headerContainer.scrollHeight;\n\t\t});\n\n\t\tdocument.documentElement.style.setProperty('--vh', `${vh}px`);\n\t\tdocument.documentElement.style.setProperty('--headerSize', `${headerSize}px`);\n\t}\n\n\tfunction responsive_videos() {\n\t\tlet responsiveVideos = document.querySelectorAll('.responsive-video');\n\n\t\tif (!responsiveVideos) return;\n\n\t\tresponsiveVideos.forEach((vid) => {\n\t\t\tlet playButton = vid.querySelector('.play-button');\n\t\t\tlet videoEl = vid.querySelector('video');\n\t\t\tlet iframe = vid.querySelector('iframe');\n\t\t\tlet cover = vid.querySelector('.responsive-video__cover');\n\n\t\t\tif (!playButton) return;\n\n\t\t\tif (iframe) {\n\t\t\t\tlet iframeOriginalSrc = iframe.getAttribute('src');\n\n\t\t\t\tiframe.setAttribute('src', iframe.getAttribute('src') + '&showinfo=0&controls=0');\n\t\t\t}\n\n\t\t\tplayButton.addEventListener('click', (ev) => {\n\t\t\t\tvid.classList.add('playing');\n\t\t\t});\n\n\t\t\tplayButton.addEventListener('transitionend', (ev) => {\n\t\t\t\tplayButton.parentNode.removeChild(playButton);\n\n\t\t\t\tif (cover) {\n\t\t\t\t\tcover.parentNode.removeChild(cover);\n\t\t\t\t}\n\n\t\t\t\tif (videoEl) {\n\t\t\t\t\tvideoEl.setAttribute('controls', 'controls');\n\t\t\t\t\tvideoEl.play();\n\t\t\t\t}\n\n\t\t\t\tif (iframe) {\n\t\t\t\t\tiframe.setAttribute('src', iframe.getAttribute('src') + '&autoplay=1');\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\tfunction body_scroll() {\n\t\twindow.addEventListener(\n\t\t\t'scroll',\n\t\t\tthrottle(() => {\n\t\t\t\twindow.scrollY > 100 ? document.body.classList.add('scrolled') : document.body.classList.remove('scrolled');\n\t\t\t}, 150)\n\t\t);\n\t}\n\n\tfunction getUrlParams(search) {\n\t\tif (search.length <= 1) return {};\n\t\tconst hashes = search.slice(search.indexOf('?') + 1).split('&');\n\t\tconst params = {};\n\t\thashes.map((hash) => {\n\t\t\tconst [key, val] = hash.split('=');\n\t\t\tparams[key] = decodeURIComponent(val);\n\t\t});\n\t\treturn params;\n\t}\n\n\tfunction accordions() {\n\t\tlet accordions = Array.from(document.querySelectorAll('[data-accordion]'));\n\n\t\tif (accordions.length === 0) return;\n\n\t\taccordions.forEach((accordion) => {\n\t\t\tlet trigger = accordion.querySelector('[data-accordion-trigger]');\n\n\t\t\ttrigger.addEventListener('click', (ev) => {\n\t\t\t\taccordion.classList.toggle('accordion-open');\n\t\t\t});\n\t\t});\n\t}\n\n\treturn {\n\t\tinit: init,\n\t\tgetUrlParams: getUrlParams,\n\t};\n})();\n","import debounce from './debounce.js';\nimport isObject from './isObject.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nexport default throttle;\n","function e(e,t){for(var o=0;oe.length)&&(t=e.length);for(var o=0,n=new Array(t);o0&&this.registerTriggers.apply(this,t(a)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var i,a,r;return i=o,(a=[{key:\"registerTriggers\",value:function(){for(var e=this,t=arguments.length,o=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute(\"aria-hidden\",\"false\"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour(\"disable\"),this.addEventListeners(),this.config.awaitOpenAnimation){var o=function t(){e.modal.removeEventListener(\"animationend\",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener(\"animationend\",o,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:\"closeModal\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute(\"aria-hidden\",\"true\"),this.removeEventListeners(),this.scrollBehaviour(\"enable\"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var o=this.config.openClass;this.modal.addEventListener(\"animationend\",(function e(){t.classList.remove(o),t.removeEventListener(\"animationend\",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:\"closeModalById\",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:\"scrollBehaviour\",value:function(e){if(this.config.disableScroll){var t=document.querySelector(\"body\");switch(e){case\"enable\":Object.assign(t.style,{overflow:\"\"});break;case\"disable\":Object.assign(t.style,{overflow:\"hidden\"})}}}},{key:\"addEventListeners\",value:function(){this.modal.addEventListener(\"touchstart\",this.onClick),this.modal.addEventListener(\"click\",this.onClick),document.addEventListener(\"keydown\",this.onKeydown)}},{key:\"removeEventListeners\",value:function(){this.modal.removeEventListener(\"touchstart\",this.onClick),this.modal.removeEventListener(\"click\",this.onClick),document.removeEventListener(\"keydown\",this.onKeydown)}},{key:\"onClick\",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:\"onKeydown\",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:\"getFocusableNodes\",value:function(){var e=this.modal.querySelectorAll(n);return Array.apply(void 0,t(e))}},{key:\"setFocusToFirstNode\",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var o=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));o.length>0&&o[0].focus(),0===o.length&&t[0].focus()}}}},{key:\"retainFocus\",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var o=t.indexOf(document.activeElement);e.shiftKey&&0===o&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&o===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&e(i.prototype,a),r&&e(i,r),o}(),a=null,r=function(e){if(!document.getElementById(e))return console.warn(\"MicroModal: ❗Seems like you have missed %c'\".concat(e,\"'\"),\"background-color: #f8f9fa;color: #50596c;font-weight: bold;\",\"ID somewhere in your code. Refer example below to resolve it.\"),console.warn(\"%cExample:\",\"background-color: #f8f9fa;color: #50596c;font-weight: bold;\",'
')),!1},s=function(e,t){if(function(e){e.length<=0&&(console.warn(\"MicroModal: ❗Please specify at least one %c'micromodal-trigger'\",\"background-color: #f8f9fa;color: #50596c;font-weight: bold;\",\"data attribute.\"),console.warn(\"%cExample:\",\"background-color: #f8f9fa;color: #50596c;font-weight: bold;\",''))}(e),!t)return!0;for(var o in t)r(o);return!0},{init:function(e){var o=Object.assign({},{openTrigger:\"data-micromodal-trigger\"},e),n=t(document.querySelectorAll(\"[\".concat(o.openTrigger,\"]\"))),r=function(e,t){var o=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===o[n]&&(o[n]=[]),o[n].push(e)})),o}(n,o.openTrigger);if(!0!==o.debugMode||!1!==s(n,r))for(var l in r){var c=r[l];o.targetModal=l,o.triggers=t(c),a=new i(o)}},show:function(e,t){var o=t||{};o.targetModal=e,!0===o.debugMode&&!1===r(e)||(a&&a.removeEventListeners(),(a=new i(o)).showModal())},close:function(e){e?a.closeModalById(e):a.closeModal()}});\"undefined\"!=typeof window&&(window.MicroModal=l);export default l;\n","import MicroModal from 'micromodal';\n\nexport const Modals = (function () {\n\t\"use strict\";\n\n\tconst modalOptions = {\n\t\tonShow: (modal, element, event) => openTheModal(modal, element, event), // [1]\n\t\tonClose: (modal, element, event) => closeTheModal(modal, element, event), // [2]\n\t\topenTrigger: 'data-mircomodal-open', // [3]\n\t\tcloseTrigger: 'data-mircomodal-close', // [4]\n\t\topenClass: 'is-open', // [5]\n\t\tdisableScroll: true, // [6]\n\t\tdisableFocus: true, // [7]\n\t\tawaitOpenAnimation: true, // [8]\n\t\tawaitCloseAnimation: true, // [9]\n\t\tdebugMode: false // [10]\n\t}\n\n\tconst openTheModal = (modal, element, event) => {\n\t\thistory.replaceState(null, null, `#${modal.id}`);\n\t};\n\n\tconst closeTheModal = (modal, element, event) => {\n\t\t// console.log('Close Fired', modal);\n\t\tif (event) {\n\t\t\tevent.preventDefault();\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tmodal.classList.remove('is-open');\n\t\thistory.replaceState(null, null, ` `);\n\t};\n\n\t// const changeTheModal = (e, current, changeTo, isPrev) => {\n\t// \t// Vars\n\t// \tlet changeID = isPrev ? changeTo.dataset.modalNavPrev : changeTo.dataset.modalNavNext;\n\t// \t// Stop Default\n\t// \te.preventDefault();\n\t// \te.stopPropagation();\n\t// \t// Closes Current Modal\n\t// \tMicroModal.close(current.id);\n\t// \tcurrent.classList.remove('is-open');\n\t// \t// Opens Target Modal\n\t// \tMicroModal.show(changeID, modalOptions);\n\t// \t// Replace URL\n\t// \thistory.replaceState(null, null, `#${changeID}`);\n\t// }\n\n\tconst checkModalOnloadStatus = () => {\n\t\t// if there is a hash that is longer than 0 characters AND if there is a modal on the page with that id\n\t\tif (window.location.hash.length > 2 && $(\"#\" + window.location.hash.substring(1) + \".modal\").length > 0) {\n\t\t\tMicroModal.show(window.location.hash.substring(1), modalOptions);\n\t\t}\n\t}\n\n\t// const setModalNavigation = () => {\n\t// \tlet modalsWithNav = document.querySelectorAll('.modal--has-nav');\n\t// \tif (modalsWithNav && modalsWithNav.length > 0) {\n\t// \t\tmodalsWithNav.forEach(modalWithNav => {\n\t// \t\t\tlet current = modalWithNav.id;\n\t// \t\t\tlet prev = modalWithNav.querySelector('[data-modal-nav-prev]') ?? false;\n\t// \t\t\tlet next = modalWithNav.querySelector('[data-modal-nav-next]') ?? false;\n\n\t// \t\t\t// console.log('np', prev, prev.dataset.modalNavPrev.length)\n\t// \t\t\t// if(prev & prev.dataset.modalNavPrev.length > 0) {\n\t// \t\t\tprev.addEventListener(mytap, (e) => {\n\t// \t\t\t\tchangeTheModal(e, modalWithNav, prev, true);\n\t// \t\t\t});\n\t// \t\t\t// }\n\t// \t\t\t// if(next && next.dataset.modalNavNext.length > 0) {\n\t// \t\t\t// console.log('nn', next, next.dataset.modalNavNext.length)\n\t// \t\t\tnext.addEventListener(mytap, (e) => {\n\t// \t\t\t\tchangeTheModal(e, modalWithNav, next, false);\n\t// \t\t\t});\n\t// \t\t\t// }\n\t// \t\t});\n\t// \t}\n\t// }\n\n\t// Make sure that ajax-triggering links are watched. If one is clicked, re-create the list of ajax-triggering links (self-referential)\n\t// and re-set up the MicroModal to watch the new selection of modal triggers on the page\n\t// @author Aaron Hodge Silver\n\tconst tagAjaxLinks = () => {\n\t\tvar ajaxLinks = document.querySelectorAll(\".ajax_trigger a\");\n\t\tif (ajaxLinks && ajaxLinks.length > 0) {\n\t\t\tajaxLinks.forEach((onelink) => {\n\t\t\t\tonelink.addEventListener(mytap, (e) => {\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\ttagAjaxLinks();\n\t\t\t\t\t\tMicroModal.init(modalOptions);\n\t\t\t\t\t}, 1500);\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t};\n\n\tconst mytap = window.ontouchstart === null ? \"touchstart\" : \"click\";\n\n\tfunction init() {\n\n\t\tMicroModal.init(modalOptions);\n\t\tcheckModalOnloadStatus();\n\t\t// setModalNavigation(); // Aaron commented this out on Sept 6 2023. Also the setModalNavigation() and setModalNavigation() functions. Angel wrote those, and they don't work and they often break other JS on the site.\n\n\t\t// If anyone clicks an ajax link that might change page content, add listeners to all new items\n\t\ttagAjaxLinks();\n\n\t}\n\n\treturn {\n\t\tinit: init,\n\t};\n})();\n","export const SomeModule = (function () {\n\t'use strict';\n\n\tfunction init() {\n\t\tevents();\n\t}\n\n\tfunction events() {}\n\n\treturn {\n\t\tinit: init,\n\t};\n})();\n"],"names":["Accessibility","init","document","body","addEventListener","e","key","classList","add","remove","AnimateIn","$win","$winH","$animateIn","threshold","distScrolled","resize","$","window","height","checkElements","scrollTop","each","i","el","$el","elTreshold","data","elDist","offset","top","addClass","length","on","GaTracking","$t","this","cat","label","gtag","event_category","event_label","console","warn","gaClickHandler","Header","isMobile","ontouchstart","tap","tapl","header","menu","menu_button","anchors","closePrimaryMenus","removeClass","attr","closeSecondaryMenu","menu_name","find","secondaryMenu","currmenu","currmenu_button","preventDefault","setTimeout","buttonText","index","anchor","prop","split","children","child","child_link","eq","child_menu","closeMe","hasClass","primaryMenu","active_item","classes","flagClass","startsWith","showCurrentFlag","text","hide","freeGlobal","global","Object","freeSelf","self","root","Function","Symbol","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","undefined","baseGetTag","value","isOwn","call","tag","unmasked","result","getRawTag","objectToString","reWhitespace","reTrimStart","baseTrim","string","slice","test","charAt","trimmedEndIndex","replace","isObject","type","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","toNumber","isObjectLike","isSymbol","other","valueOf","isBinary","now","Date","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","arguments","clearTimeout","cancel","flush","factory","extend","attributes","decode","s","decodeURIComponent","converter","api","set","path","defaults","expires","toUTCString","JSON","stringify","write","encodeURIComponent","String","escape","stringifiedAttributes","attributeName","cookie","get","json","jar","cookies","parts","join","name","read","parse","getJSON","withConverter","module","Helpers","banner","querySelector","querySelectorAll","forEach","btn","ev","acceptance","contains","Cookies","location","reload","cookie_banner","vh","innerHeight","headerContainer","headerSize","scrollHeight","documentElement","style","setProperty","dynamicCSSVars","responsiveVideos","vid","playButton","videoEl","iframe","cover","getAttribute","setAttribute","parentNode","removeChild","play","responsive_videos","throttle","scrollY","accordions","Array","from","accordion","toggle","getUrlParams","search","hashes","indexOf","params","map","hash","val","t","isArray","o","iterator","n","constructor","a","r","l","targetModal","triggers","onShow","onClose","c","d","openTrigger","u","f","closeTrigger","h","v","openClass","g","m","disableScroll","b","y","disableFocus","p","w","awaitCloseAnimation","E","k","awaitOpenAnimation","M","A","debugMode","C","modal","getElementById","config","registerTriggers","onClick","bind","onKeydown","filter","Boolean","showModal","activeElement","scrollBehaviour","addEventListeners","removeEventListener","setFocusToFirstNode","removeEventListeners","focus","closeModal","assign","overflow","target","hasAttribute","stopPropagation","keyCode","retainFocus","getFocusableNodes","offsetParent","shiftKey","enumerable","configurable","writable","defineProperty","concat","push","show","close","closeModalById","MicroModal","Modals","modalOptions","element","event","openTheModal","closeTheModal","history","replaceState","id","tagAjaxLinks","ajaxLinks","onelink","mytap","substring","SomeModule"],"mappings":"8CAAaA,EAwBL,CACNC,gBArBAC,SAASC,KAAKC,iBAAiB,WAAWC,IAElB,QAAVA,EAAEC,KACFJ,SAASC,KAAKI,UAAUC,IAAI,YAC5BN,SAASC,KAAKI,UAAUE,OAAO,WAE/BP,SAASC,KAAKI,UAAUE,OAAO,YAC/BP,SAASC,KAAKI,UAAUE,OAAO,aAKvCP,SAASC,KAAKC,iBAAiB,SAASC,IAEpCH,SAASC,KAAKI,UAAUC,IAAI,SAC5BN,SAASC,KAAKI,UAAUE,OAAO,iBCnB9BC,EAAa,eAGrBC,EAAMC,EAAOC,EAAYC,EAAWC,WAe/BC,IACRJ,EAAQK,EAAEC,QAAQC,SAClBL,EAAoB,IAARF,WAGJQ,IACRL,EAAeJ,EAAKU,YAEpBR,EAAWS,MAAK,SAAUC,EAAGC,OACxBC,EAAMR,EAAEO,GACRE,EAAaD,EAAIE,KAAK,aAAeV,EAAEC,QAAQC,UAAYM,EAAIE,KAAK,aAAe,KAAOb,EAC1Fc,EAASH,EAAII,SAASC,KAAOlB,EAAQc,GAErCX,EAAea,IAClBH,EAAIM,SAAS,YACblB,EAAaI,EAAE,wCAKX,CACNhB,gBAjCAU,EAAOM,EAAEC,QACTL,EAAaI,EAAE,YACfF,EAAe,EAEXF,EAAWmB,SACdhB,IACAI,IACAT,EAAKsB,GAAG,SAAUb,GAClBT,EAAKsB,GAAG,SAAUjB,MAdK,GCAbkB,EA8BL,CACNjC,gBArBAgB,EAAE,QAAQgB,GAAG,QAAS,oBAAoB,eACrCE,EAAKlB,EAAEmB,gBAQWC,EAAKC,GACxBC,MACHA,KAAK,QAAS,QAAS,CACtBC,eAAgBH,EAChBI,YAAaH,IAIfI,QAAQC,KAAK,oBAAqB,KAAM,gBAAkBN,EAAK,KAAM,aAAeC,EAAO,MAZ1FM,CAHOT,EAAGR,KAAK,YACNQ,EAAGR,KAAK,eCbPk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