!function(n){var e={};function t(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return n[i].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:i})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var s in n)t.d(i,s,function(e){return n[e]}.bind(null,s));return i},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=0)}({"./build/js/components/accordionMenu.js":function(module,exports){eval("// ##############################################################################\n// accordionMenu.js\n//\n// Description:\n// applies accordion functionality to any nav with class .accordion\n// ##############################################################################\n$(document).ready(function () {\n  if ($('nav.accordion').length > 0) {\n    $('nav.accordion').find('ul').children('li').has('ul').each(function () {\n      $(this).children('a').append('<span class=\"accordion_toggle\"></span>');\n\n      if ($(this).hasClass('nav__list--here')) {\n        $(this).addClass('accordion_open');\n        $(this).closest('li').children('ul').slideDown();\n      }\n    });\n    $('span.accordion_toggle').click(function (n) {\n      n.preventDefault();\n\n      if (!$(this).closest('li').hasClass('accordion_open')) {\n        $(this).closest('li').siblings().removeClass('accordion_open').children('ul').slideUp();\n        $(this).closest('li').addClass('accordion_open');\n        $(this).closest('li').children('ul').slideDown();\n      } else {\n        $(this).closest('li').removeClass('accordion_open').children('ul').slideUp();\n      }\n    });\n  }\n});\n\n//# sourceURL=webpack:///./build/js/components/accordionMenu.js?")},"./build/js/components/backgroundImage.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"backgroundImage\", function() { return backgroundImage; });\n// ##############################################################################\n// Background Image\n// Function that applies the first image to the background of the element with options\n//\n// element: class to target\n// options: background options\n// hide: 1 for <img> only, 2 for entire .image div\n//\n// examples:\n// backgroundImage($(\".has-bg\"), \"center center / cover no-repeat\", 2);\n// backgroundImage($(\".has-bg__collection li\"), \"center center / cover no-repeat\", 2);\n// backgroundImage($(\".has-bg-li__collection li .collection-item-image\"), \"center center / cover no-repeat\", 1);\n// ##############################################################################\nfunction backgroundImage(element, options, hide) {\n  $(element).each(function () {\n    var imgSrc = $(this).find('img').first().attr('src');\n\n    if (imgSrc) {\n      if (hide === 1) {\n        $(this).find('img').first('img').hide();\n      } else {\n        $(this).find('img').parent('.image, .spotlight-image').hide();\n      }\n\n      $(this).css('background', 'url(' + imgSrc + ')' + options);\n    }\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/backgroundImage.js?")},"./build/js/components/bodyClassToggler.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bodyClassToggler\", function() { return bodyClassToggler; });\n// ##############################################################################\n// bodyClassToggler.js\n//\n// Description:\n// function that takes an element and applies a class when clicked\n//\n// Usage:\n// bodyClassToggler('mobile_menu', 'mobile_menu_is_visible', 'add');\n// bodyClassToggler('mobile_menu', 'mobile_menu_is_visible', 'remove');\n// bodyClassToggler('mobile_menu', 'mobile_menu_is_visible', 'toggle');\n// bodyClassToggler('mobile_menu', 'mobile_menu_is_visible');\n//\n// note: 'toggle' is default\n// the following 2 examples yeild the same results\n// bodyClassToggler('mobile_menu', 'mobile_menu_is_visible', 'toggle');\n// bodyClassToggler('mobile_menu', 'mobile_menu_is_visible');\n// ##############################################################################\nfunction bodyClassToggler(element, elemClass, condition) {\n  $(element).on('click', function () {\n    switch (condition) {\n      case 'add':\n        $('body').addClass(elemClass);\n        break;\n\n      case 'remove':\n        $('body').removeClass(elemClass);\n        break;\n\n      default:\n        $('body').toggleClass(elemClass);\n        break;\n    }\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/bodyClassToggler.js?")},"./build/js/components/counter.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"counter\", function() { return counter; });\n// ##############################################################################\n// counter.js\n//\n// Description:\n//\n// Usage:\n// counter(container_element, element_to_be_counted_up, speed);\n//\n// Restrictions:\n// will strip text inbetween 2 numbers\n// will concate 2 numbers separated by text\n// ##############################################################################\nfunction initCounter() {\n  $('.fast-facts-container .collection-item-description p').each(function () {\n    var $this = $(this);\n    var originalHtml = $this.html();\n    $this.attr('data-original-html', originalHtml);\n    var prefix = originalHtml.match(/^\\D+/g);\n    $this.attr('data-prefix', prefix);\n    var suffix = originalHtml.match(/\\D+$/g);\n    $this.attr('data-suffix', suffix);\n    var number = String(originalHtml.match(/\\d+/g)).replace(/,\\s?/g, '');\n    $this.attr('data-numeric', number);\n    console.log(prefix + ':' + number + ':' + suffix);\n\n    if ($this.html().indexOf(',') !== -1) {\n      $this.attr('data-comma', true);\n    }\n\n    if ($this.html().indexOf('.') !== -1) {\n      $this.attr('data-decimal', true);\n    }\n  });\n}\n\ninitCounter();\nfunction counter(container, counter, speed) {\n  container.each(function () {\n    counter.each(function () {\n      var $this = $(this);\n      var data = $this.attr('data-numeric');\n      var prefix = $this.attr('data-prefix') != null ? $this.attr('data-prefix') : '';\n      var suffix = $this.attr('data-suffix') != null ? $this.attr('data-suffix') : '';\n      var hasDecimal = $this.attr('data-decimal') != null ? '.' : '';\n      var hasCommas = $this.attr('data-comma') != null;\n      $({\n        value: 0\n      }).animate({\n        value: data\n      }, {\n        duration: speed,\n        easing: 'swing',\n        step: function step(now, fx) {\n          if (data !== 'null') {\n            var num = Math.round(now);\n\n            if (hasDecimal) {\n              num = (num / 100).toFixed(2);\n            }\n\n            if (hasCommas) {\n              num = num.toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, '$1,');\n            }\n\n            $this.html(prefix + num + suffix);\n          }\n        }\n      });\n    });\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/counter.js?")},"./build/js/components/fast_facts.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setFastFactsContent\", function() { return setFastFactsContent; });\n// ##############################################################################\n// newsButtons.js\n//\n// Description:\n// this takes the link value from the news article on the homepage\n// and appends a button with the href value for each article\n//\n// ##############################################################################\nfunction setFastFactsContent() {\n  console.log('success');\n  var ffContent = $('.active-ff-component .collection-item-label').contents();\n  $('.f-f-content').empty();\n  ffContent.clone().appendTo($('.f-f-content'));\n}\n$(document).ready(function () {\n  $('.fast-facts-block .collection').find('.collection-item').first().addClass('active-ff-component');\n  $('.fast-facts-block .collection-item').hover(function () {\n    if ($(this).hasClass('active-ff-component')) {} else {\n      $('.active-ff-component').removeClass('active-ff-component');\n      $(this).addClass('active-ff-component');\n      setFastFactsContent();\n    }\n\n    setActiveClass($(this));\n  });\n  setFastFactsContent();\n});\n\n//# sourceURL=webpack:///./build/js/components/fast_facts.js?")},"./build/js/components/fireslider_settings.js":function(module,exports){eval('// ##############################################################################\n// Fireslider Settings\n// ##############################################################################\n// -------------------------------------\n//  carousel\n// -------------------------------------\n// $(".js-slider--carousel .js-slider__contents > ul").each(function(){\n//   $(this).fireSlider({\n//     delay:7500,\n//     disableLinks:false,\n//     show:3,\n//     active:2,\n//     effect:"fadeInOut",\n//     activeSlideClass:"slide--active",\n//     activePagerClass:"slider__pager--active",\n//     breakpoints:sliderCarouselBreakpoints,\n//     pager:$(this).parents(".slider__contents").siblings(".slider__pager"),\n//     prev:$(this).parents(".slider__contents").siblings(".slider__nav").find(".slider-nav--prev"),\n//     next:$(this).parents(".slider__contents").siblings(".slider__nav").find(".slider-nav--next")\n//   })\n// });\n// -------------------------------------\n//  NO carousel\n// -------------------------------------\n// $(".js-slider--no-carousel .js-slider__contents > ul").each(function(){\n//   $(this).fireSlider({\n//     delay:7500,\n//     disableLinks:false,\n//     show:1,\n//     active:1,\n//     effect:"fadeInOut",\n//     activeSlideClass:"slide--active",\n//     activePagerClass:"slider__pager--active",\n//     pager:$(this).parents(".slider__contents").siblings(".slider__pager"),\n//     prev:$(this).parents(".slider__contents").siblings(".slider__nav").find(".slider-nav--prev"),\n//     next:$(this).parents(".slider__contents").siblings(".slider__nav").find(".slider-nav--next")\n//   })\n// });\n// -------------------------------------\n//  breakpoints example\n// -------------------------------------\n// var bps = [\n//     {breakpoint: 1, show: 1, active: 1},\n//     {breakpoint: 640, show: 2, active: 1},\n//     {breakpoint: 1000, show: 4, active: 2}\n// ];\n// Spotlight Slider\nif ($(\'.spotlight-container ul > li\').length > 1) {\n  $(\'.spotlight-container ul\').each(function () {\n    $(this).fireSlider({\n      delay: 8000,\n      hoverPause: true,\n      pager: $(\'.spotlight-container .slider-controls-pager\'),\n      prev: $(this).parents(\'.slider__contents\').siblings(\'.slider__controls\').find(\'.slider-nav--prev\'),\n      next: $(this).parents(\'.slider__contents\').siblings(\'.slider__controls\').find(\'.slider-nav--next\')\n    });\n  });\n} // staff breakpoints\n\n\nvar staffbps = [{\n  breakpoint: 1,\n  show: 1,\n  active: 1\n}, {\n  breakpoint: 640,\n  show: 1,\n  active: 1\n}, {\n  breakpoint: 800,\n  show: 3,\n  active: 2\n}, {\n  breakpoint: 1000,\n  show: 3,\n  active: 2\n}, {\n  breakpoint: 1300,\n  show: 5,\n  active: 3\n}];\n\nif ($(\'.staff-container .collection--list ul > li\').length > 1) {\n  $(\'.staff-container .collection--list ul\').fireSlider({\n    show: 5,\n    active: 3,\n    delay: 8000,\n    hoverPause: true,\n    disableLinks: false,\n    prev: $(\'.staff-container\').find(\'.slider-nav--prev\'),\n    next: $(\'.staff-container\').find(\'.slider-nav--next\'),\n    breakpoints: staffbps,\n    activeSlideClass: \'active-staff\'\n  });\n} // Logos Slider\n\n\nvar bps = [{\n  breakpoint: 1,\n  show: 1,\n  active: 1\n}, {\n  breakpoint: 640,\n  show: 2,\n  active: 1\n}, {\n  breakpoint: 800,\n  show: 3,\n  active: 1\n}, {\n  breakpoint: 1000,\n  show: 4,\n  active: 2\n}];\n\nif ($(\'.logos-container .collection--list ul > li\').length > 1) {\n  $(\'.logos-container .collection--list ul\').fireSlider({\n    active: 2,\n    delay: 8000,\n    hoverPause: true,\n    disableLinks: false,\n    prev: $(\'.logos-container\').find(\'.slider-nav--prev\'),\n    next: $(\'.logos-container\').find(\'.slider-nav--next\'),\n    breakpoints: bps\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/fireslider_settings.js?')},"./build/js/components/keyboardNavigation.js":function(module,exports){eval("// ##############################################################################\n// Keyboard navigation in dropdown menus\n// ##############################################################################\n$(document).ready(function () {\n  // TODO:  move this to site.js\n  // Setup the keyboard nav\n  $('.nav-keyboard').keyboardNavigation();\n}); // keycodes for search jumping\n\nvar keyCodeMap = {\n  48: '0',\n  49: '1',\n  50: '2',\n  51: '3',\n  52: '4',\n  53: '5',\n  54: '6',\n  55: '7',\n  56: '8',\n  57: '9',\n  59: ';',\n  65: 'a',\n  66: 'b',\n  67: 'c',\n  68: 'd',\n  69: 'e',\n  70: 'f',\n  71: 'g',\n  72: 'h',\n  73: 'i',\n  74: 'j',\n  75: 'k',\n  76: 'l',\n  77: 'm',\n  78: 'n',\n  79: 'o',\n  80: 'p',\n  81: 'q',\n  82: 'r',\n  83: 's',\n  84: 't',\n  85: 'u',\n  86: 'v',\n  87: 'w',\n  88: 'x',\n  89: 'y',\n  90: 'z',\n  96: '0',\n  97: '1',\n  98: '2',\n  99: '3',\n  100: '4',\n  101: '5',\n  102: '6',\n  103: '7',\n  104: '8',\n  105: '9'\n}; // ##############################################################################\n// setup navigation\n// ##############################################################################\n\n$.fn.keyboardNavigation = function (settings) {\n  settings = jQuery.extend({\n    menuHoverClass: 'show-menu'\n  }, settings);\n  var debug = false; // Add ARIA role to menubar and menu items\n\n  $(this).find('.nav-ul-0').attr('role', 'menubar');\n  $(this).find('li').attr('role', 'menuitem'); // Set tabIndex to -1 so that top_level_links can't receive focus until menu is open\n\n  $(this).find('a').next('ul').attr('data-test', 'true').attr({\n    'aria-hidden': 'true',\n    'role': 'menu'\n  }).find('a').attr('tabIndex', -1); // Adding aria-haspopup for appropriate items\n\n  $(this).find('a').each(function () {\n    if ($(this).next('ul').length > 0) {\n      $(this).parent('li').attr('aria-haspopup', 'true');\n    }\n  });\n  $(this).find('a').hover(function () {\n    $(this).closest('ul').attr('aria-hidden', 'false').find('.' + settings.menuHoverClass).attr('aria-hidden', 'true').removeClass(settings.menuHoverClass).find('a').attr('tabIndex', -1);\n    $(this).next('ul').attr('aria-hidden', 'false').addClass(settings.menuHoverClass).find('a').attr('tabIndex', 0);\n  });\n  $(this).find('a').focus(function () {\n    $(this).closest('ul').find('.' + settings.menuHoverClass).attr('aria-hidden', 'true').removeClass(settings.menuHoverClass).find('a').attr('tabIndex', -1);\n    $(this).next('ul').attr('aria-hidden', 'false').addClass(settings.menuHoverClass).find('a').attr('tabIndex', 0);\n  }); // ##############################################################################\n  // Bind keys for navigation\n  // left/right, up/down, escape, enter/space, other - searching\n  // ##############################################################################\n\n  var currentLevel = 0;\n  $(this).find('a').keydown(function (e) {\n    var isParent = false;\n\n    if ($(this).parent('li').hasClass('nav-level-0')) {\n      currentLevel = 0;\n    } else if ($(this).parent('li').hasClass('nav-level-1')) {\n      currentLevel = 1;\n    } else if ($(this).parent('li').hasClass('nav-level-2')) {\n      currentLevel = 2;\n    } else if ($(this).parent('li').hasClass('nav-level-3')) {\n      currentLevel = 3;\n    } else if ($(this).parent('li').hasClass('nav-level-4')) {\n      currentLevel = 4;\n    } else if ($(this).parent('li').hasClass('nav-level-5')) {\n      currentLevel = 5;\n    }\n\n    if ($(this).parent('li').hasClass('nav__list--parent')) {\n      isParent = true;\n    } else {\n      isParent = false;\n    }\n\n    if (debug) {\n      console.log(isParent);\n    }\n\n    switch (e.keyCode) {\n      // ##############################################################################\n      // LEFT ARROW\n      // ##############################################################################\n      case 37:\n        e.preventDefault();\n\n        if (debug) {\n          console.log('left');\n        }\n\n        if (currentLevel === 0) {\n          $(this).parent('li').prev('li').find('>a').focus();\n        } else {\n          // go up a level\n          $(this).parent('li').parents('li').find('>a').focus();\n        }\n\n        break;\n      // ##############################################################################\n      // UP ARROW\n      // ##############################################################################\n\n      case 38:\n        e.preventDefault();\n\n        if (debug) {\n          console.log('up');\n        }\n\n        if (currentLevel === 0) {} else if (currentLevel === 1) {\n          // if its the top li in a dropdown go up a level\n          if ($(this).parent('li').prev('li').length === 0) {\n            if (debug) {\n              console.log('top item in dropdown');\n            }\n\n            $(this).parent('li').parents('li').find('>a').focus();\n          } else {\n            $(this).parent('li').prev('li').find('>a').focus();\n          }\n        } else {\n          $(this).parent('li').prev('li').find('>a').focus();\n        }\n\n        break;\n      // ##############################################################################\n      // RIGHT ARROW\n      // ##############################################################################\n\n      case 39:\n        e.preventDefault();\n\n        if (debug) {\n          console.log('right');\n        }\n\n        if (currentLevel === 0) {\n          $(this).parent('li').next('li').find('>a').focus();\n        } else {\n          if (isParent) {\n            $(this).next('ul').find('>li').first().find('>a').focus();\n          }\n        }\n\n        break;\n      // ##############################################################################\n      // DOWN ARROW\n      // ##############################################################################\n\n      case 40:\n        e.preventDefault();\n\n        if (debug) {\n          console.log('down');\n        }\n\n        if (currentLevel === 0) {\n          if (isParent) {\n            $(this).next('ul').find('>li').first().find('>a').focus();\n          }\n        } else {\n          $(this).parent('li').next('li').find('>a').focus();\n        }\n\n        break;\n      // ##############################################################################\n      // ENTER\n      // SPACE\n      // ##############################################################################\n\n      case 13:\n      case 32:\n        e.preventDefault();\n\n        if (debug) {\n          console.log('enter or space');\n        }\n\n        window.location = $(this).attr('href');\n        break;\n      // ##############################################################################\n      // ESCAPE\n      // ##############################################################################\n\n      case 27:\n        e.preventDefault();\n\n        if (debug) {\n          console.log('escape');\n        }\n\n        $(this).parents('ul').first().prev('a').focus().parents('ul').first().find('.' + settings.menuHoverClass).attr('aria-hidden', 'true').removeClass(settings.menuHoverClass).find('a').attr('tabIndex', -1);\n        break;\n      // ##############################################################################\n      // OTHER - search for first letter\n      // ##############################################################################\n\n      default:\n        if (currentLevel === 0) {\n          $(this).parent('li').find('ul[aria-hidden=false] a').each(function () {\n            if ($(this).text().substring(0, 1).toLowerCase() === keyCodeMap[e.keyCode]) {\n              $(this).focus();\n              return false;\n            }\n          });\n        } else {\n          var found = false;\n          $(this).parent('li').nextAll('li').find('a').each(function () {\n            if ($(this).text().substring(0, 1).toLowerCase() === keyCodeMap[e.keyCode]) {\n              $(this).focus();\n              found = true;\n              return false;\n            }\n          });\n\n          if (!found) {\n            $(this).parent('li').prevAll('li').find('a').each(function () {\n              if ($(this).text().substring(0, 1).toLowerCase() === keyCodeMap[e.keyCode]) {\n                $(this).focus();\n                return false;\n              }\n            });\n          }\n        }\n\n        break;\n    }\n  });\n  var timer = null; // If the user tabs out of the navigation hide all menus\n\n  $(this).find('a').last().keydown(function (e) {\n    if (e.keyCode === 9) {\n      $('.' + settings.menuHoverClass).attr('aria-hidden', 'true').removeClass(settings.menuHoverClass).find('a').attr('tabIndex', -1);\n    }\n  }); // Hide menu if click or focus occurs outside of navigation\n\n  $(document).click(function () {\n    $('.' + settings.menuHoverClass).attr('aria-hidden', 'true').removeClass(settings.menuHoverClass).find('a').attr('tabIndex', -1);\n  }); // start timer to clear nav\n\n  $(this).on('mouseout mouseleave', function () {\n    clearTimeout(timer);\n    timer = setTimeout(function () {\n      if (debug) {\n        console.log(timer);\n      }\n\n      $('.' + settings.menuHoverClass).attr('aria-hidden', 'true').removeClass(settings.menuHoverClass).find('a').attr('tabIndex', -1);\n    }, 1000);\n  }); // reset timer\n\n  $(this).on('mousein mouseenter', function () {\n    if (debug) {\n      console.log(timer);\n    }\n\n    clearTimeout(timer);\n  });\n  $(this).click(function (e) {\n    e.stopPropagation();\n  });\n};\n\n//# sourceURL=webpack:///./build/js/components/keyboardNavigation.js?")},"./build/js/components/landing_page.js":function(module,exports){eval("function landingImage(element, options) {\n  $(element).each(function () {\n    var imgSrc = $(this).find('.masthead-container img').first().attr('src');\n    $(this).find('.masthead-container').hide();\n    $(this).css('background', 'url(' + imgSrc + ')' + options);\n  });\n}\n\n$(document).ready(function () {\n  landingImage($('.has-bg-landing'), 'center center / cover no-repeat');\n});\n\n//# sourceURL=webpack:///./build/js/components/landing_page.js?")},"./build/js/components/navChecker.js":function(module,exports){eval("// ##############################################################################\n// navChecker.js (1.0.3)\n// 2018 Tyler Fowle\n//\n// Description:\n// check the widths of given child elements against the width of a container\n// add a class when children exceed container\n//\n// Options:\n// debug: boolean, if true: enables console logs and other debugging options\n// activeClass: the class that is added to 'targets', default \"desktop-nav-is-too-wide\"\n// children: array of jquery elements to calc widths, defaults to all direct children\n// targets: array of jquery elements that 'activeClass' is applied\n// minWidth: minimum width of window, if window is less than this number the activeClass will be applied\n//\n// Usage:\n// $('header .wrap').navChecker({\n//   debug: true,\n//   activeClass: 'added-class',\n//   children: [$('nav.dropdown > ul > li')],\n//   targets: [$('body'), $('.search-block')],\n//   minWidth: 1024\n// });\n//\n// Default settings:\n// $('header .wrap').navChecker();\n// ##############################################################################\n(function ($, window, document) {\n  var pluginName = 'navChecker';\n\n  function NavChecker(el, options, sel) {\n    this.$el = $(el);\n    this.selector = sel;\n    var defaults = {\n      debug: false,\n      activeClass: 'desktop-nav-is-too-wide',\n      children: [],\n      childrenWidth: 0,\n      targets: [$('body')],\n      minWidth: 0\n    };\n    this.options = $.extend({}, defaults, options);\n    this.init();\n  }\n\n  NavChecker.prototype = {\n    init: function init() {\n      var plugin = this;\n      var customChildren = true;\n\n      if (plugin.options.children.length === 0) {\n        plugin.options.children.push(plugin.$el.children());\n        customChildren = false;\n        plugin.defaultStates();\n      }\n\n      plugin.initEvents();\n      $(window).on('load', function () {\n        plugin.createBreakpoint(customChildren);\n        plugin.checkSize();\n      });\n    },\n    createBreakpoint: function createBreakpoint(customChildren) {\n      var plugin = this;\n      var start, finish;\n\n      if (plugin.options.debug) {\n        start = new Date().getTime();\n      } // get the inner width of each child\n\n\n      $.each(plugin.options.children, function (index, child) {\n        child.each(function () {\n          if (customChildren === true) {\n            if (plugin.options.debug) {\n              console.log($(this).attr('class') + ': ' + $(this).innerWidth());\n            }\n\n            plugin.options.childrenWidth += $(this).innerWidth();\n          } else {\n            if ($(this).attr('data-state') === 'visible') {\n              if (plugin.options.debug) {\n                console.log($(this).attr('class') + ': ' + $(this).innerWidth());\n              }\n\n              plugin.options.childrenWidth += $(this).innerWidth();\n            }\n          }\n\n          if (plugin.options.debug === true) {\n            console.log(plugin.options.childrenWidth);\n            $(this).css('border', '1px solid red');\n          }\n        });\n      }); // set the width of the container to 0 to squash all the margin autos\n      // then get the widths of all the remaining margins\n\n      plugin.$el.css('visibility', 'hidden').width(0);\n      $.each(plugin.options.children, function (index, child) {\n        child.each(function () {\n          var margin = 0;\n\n          if (customChildren === true) {\n            margin = parseInt($(this).css('margin-left')) + parseInt($(this).css('margin-right'));\n\n            if (plugin.options.debug) {\n              console.log($(this).attr('class') + ': ' + $(this).css('margin-left') + $(this).css('margin-right'));\n            }\n\n            plugin.options.childrenWidth += margin;\n          } else {\n            if ($(this).attr('data-state') === 'visible') {\n              margin = parseInt($(this).css('margin-left')) + parseInt($(this).css('margin-right'));\n\n              if (plugin.options.debug) {\n                console.log($(this).attr('class') + ': ' + $(this).css('margin-left') + $(this).css('margin-right'));\n              }\n\n              plugin.options.childrenWidth += margin;\n            }\n          }\n\n          if (plugin.options.debug === true) {\n            console.log(plugin.options.childrenWidth);\n            $(this).css('border', '1px solid red');\n          }\n        });\n      });\n      plugin.$el.css('visibility', 'visible').width('');\n\n      if (plugin.options.debug) {\n        finish = new Date().getTime();\n        console.log(finish - start + 'ms');\n      }\n\n      plugin.options.childrenWidth += parseInt(plugin.$el.css('padding-left')) + parseInt(plugin.$el.css('padding-right'));\n      plugin.$el.data('data-breakpoint', plugin.options.childrenWidth);\n    },\n    initEvents: function initEvents() {\n      var plugin = this;\n      $(window).on('resize load ready', function () {\n        plugin.checkSize();\n      });\n    },\n    checkSize: function checkSize() {\n      var plugin = this;\n      var containerWidth = plugin.$el.width();\n\n      if (plugin.options.debug) {\n        console.log(containerWidth + '>=' + plugin.$el.data('data-breakpoint'));\n      }\n\n      if ($(window).width() > plugin.options.minWidth) {\n        if (containerWidth <= plugin.$el.data('data-breakpoint')) {\n          plugin.updateClasses('add');\n        } else {\n          plugin.updateClasses('remove');\n        }\n      } else {\n        plugin.updateClasses('add');\n      }\n    },\n    defaultStates: function defaultStates() {\n      var plugin = this;\n      $.each(plugin.options.children, function (index, child) {\n        child.each(function () {\n          $(this).attr('data-width', $(this).outerWidth());\n\n          if ($(this).is(':visible')) {\n            $(this).attr('data-state', 'visible');\n          } else {\n            $(this).attr('data-state', 'hidden');\n          }\n        });\n      });\n    },\n    updateClasses: function updateClasses(operation) {\n      var plugin = this;\n      $.each(plugin.options.targets, function (index, target) {\n        if (operation === 'remove') {\n          target.removeClass(plugin.options.activeClass);\n        } else {\n          target.addClass(plugin.options.activeClass);\n        }\n      });\n    }\n  };\n\n  $.fn[pluginName] = function (options) {\n    var sel = this.selector;\n    return this.each(function () {\n      if (!$.data(this, pluginName)) {\n        $.data(this, pluginName, new NavChecker(this, options, sel));\n      }\n    });\n  };\n})(jQuery, window, document);\n\n//# sourceURL=webpack:///./build/js/components/navChecker.js?")},"./build/js/components/newsButtons.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"newsButtons\", function() { return newsButtons; });\n// ##############################################################################\n// newsButtons.js\n//\n// Description:\n// this takes the link value from the news article on the homepage\n// and appends a button with the href value for each article\n//\n// ##############################################################################\nfunction newsButtons(element) {\n  $(element).each(function () {\n    // vars for link and link value\n    var link = $(this).find('a');\n    var linkPath = link.attr('href'); // vars for adding button\n\n    var details = $(this).find('.news-article-details');\n    var newButton = document.createElement('A');\n    newButton.className = 'news-button';\n    newButton.innerHTML = 'Read More';\n\n    if (link.attr('target') !== undefined) {\n      // linkPath += ' target=\"_blank\"';\n      newButton.setAttribute('target', '_blank');\n    }\n\n    if (link.attr('rel') !== undefined) {\n      // linkPath += ' rel=\"noopener noreferer\"';\n      newButton.setAttribute('rel', 'noopener noreferer');\n    }\n\n    if (link.length >= 1) {\n      newButton.href = linkPath;\n      details.append(newButton);\n    }\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/newsButtons.js?")},"./build/js/components/placeholders.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"placeHolders\", function() { return placeHolders; });\n// ##############################################################################\n// placeholders.js\n//\n// Description:\n// Placeholders function that puts the label as a placeholder in input type text, textarea, and option\n// To use replace 'form' with whatever you want to target, 'form' will do all forms on site:\n//\n// Usage:\n// placeHolders('form');\n// ##############################################################################\nfunction placeHolders(form) {\n  $(form).find('.portal-login div, .form-row, .e2ma_signup_form_row').each(function () {\n    // if form has class\n    if ($(form).hasClass('fdpc_designready_order_form')) {\n      return;\n    } // if 'this' has class\n\n\n    if ($(this).hasClass('form-row--sub-options')) {\n      return;\n    }\n\n    if ($(this).hasClass('form-row--file')) {\n      return;\n    }\n\n    if ($(this).hasClass('form-row--date')) {\n      return;\n    }\n\n    if ($(this).hasClass('form-row--datetime')) {\n      return;\n    }\n\n    if ($(this).hasClass('form-row--time')) {\n      return;\n    }\n\n    if ($(this).hasClass('payment--cc-exp')) {\n      return;\n    } // if any parents have classes\n\n\n    if ($(this).parents('.checkout_process, .event-calendar-search__jump, .catalogs--pageflex').length) {\n      return;\n    }\n\n    var label = $(this).find('.form-row__label label, .e2ma_signup_form_label');\n    var input = $(this).find('.form-row__controls input[type=\"text\"], .form-row__controls input[type=\"email\"], .form-row__controls input[type=\"password\"], .e2ma_signup_form_element input[type=\"text\"], .e2ma_signup_form_element input[type=\"email\"]');\n    var textarea = $(this).find('textarea');\n    var text = $.trim(label.text()).replace(/ +(?= )/g, '');\n    var isRequired = false;\n\n    if ($(this).hasClass('form-row--required')) {\n      isRequired = true;\n    }\n\n    if (isRequired) {\n      text = text + ' *';\n    }\n\n    if (!text) {\n      return;\n    }\n\n    if (input.length) {\n      $(input).attr('placeholder', text);\n      label.hide();\n      $(this).find('.form-row__label').hide();\n    }\n\n    if (textarea.length) {\n      $(textarea).attr('placeholder', text);\n      label.hide();\n      $(this).find('.form-row__label').hide();\n    } // show things that should be showing\n\n\n    if ($(this).hasClass('payment--cc-csc')) {\n      $(this).find('.form-row__label').show();\n    }\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/placeholders.js?")},"./build/js/components/shinnSlider.js":function(module,exports){eval("// =============================================================================\n// shinnSlider.js\n// version 0.0.1\n//\n// adds a class to an index position of children elements\n// =============================================================================\n(function ($, window, document, undefined) {\n  var pluginName = 'shinnSlider';\n\n  function ShinnSlider(el, options, sel) {\n    this.$el = $(el);\n    this.$sel = sel;\n    var defaults = {\n      activeClass: 'active-news-article',\n      animationSpeed: 750,\n      debug: false,\n      container: '.news-articles',\n      className: 'active-slide'\n    };\n    this.options = $.extend({}, defaults, options);\n    this.init();\n  }\n\n  ShinnSlider.prototype = {\n    // Initialize children and events\n    init: function init() {\n      var plugin = this;\n      plugin.container = plugin.$el.find(plugin.options.container);\n      plugin.slides = plugin.container.children();\n      plugin.leftButton = plugin.$el.find('.slider-nav--prev');\n      plugin.rightButton = plugin.$el.find('.slider-nav--next');\n      plugin.liswidth = 0;\n      plugin.numberOfSlides = plugin.slides.length - 1;\n      plugin.slideIndex = 0;\n      plugin.initEvents();\n    },\n    // Events here\n    initEvents: function initEvents() {\n      var plugin = this;\n      plugin.updatePositions(); // left arrow - prev slide\n\n      plugin.leftButton.on('click', function (e) {\n        e.preventDefault();\n        plugin.prevSlide();\n        plugin.slides[plugin.slideIndex + 1].classList.remove('active-slide');\n        setTimeout(function () {\n          plugin.updatePositions();\n        }, 500);\n      }); // right arrow - next slide\n\n      plugin.rightButton.on('click', function (e) {\n        e.preventDefault();\n        plugin.nextSlide();\n        plugin.slides[plugin.slideIndex - 1].classList.remove('active-slide');\n        setTimeout(function () {\n          plugin.updatePositions();\n        }, 500);\n      });\n    },\n    updatePositions: function updatePositions() {\n      var plugin = this;\n      plugin.slides[plugin.slideIndex].classList.add('active-slide'); // disable left arrow button\n\n      if (plugin.slideIndex === 0) {\n        plugin.leftButton.addClass('disabled-arrow');\n      } else {\n        plugin.leftButton.removeClass('disabled-arrow');\n      } // disable right arrow button\n\n\n      if (plugin.slideIndex === plugin.numberOfSlides) {\n        plugin.rightButton.addClass('disabled-arrow');\n      } else {\n        plugin.rightButton.removeClass('disabled-arrow');\n      }\n    },\n    prevSlide: function prevSlide() {\n      var plugin = this;\n      plugin.slideIndex--;\n    },\n    nextSlide: function nextSlide() {\n      var plugin = this;\n      plugin.slideIndex++;\n    }\n  };\n\n  $.fn[pluginName] = function (options) {\n    var sel = this.selector;\n    return this.each(function () {\n      if (!$.data(this, pluginName)) {\n        $.data(this, pluginName, new ShinnSlider(this, options, sel));\n      }\n    });\n  };\n})(jQuery, window, document);\n\n//# sourceURL=webpack:///./build/js/components/shinnSlider.js?")},"./build/js/components/wrapWithFirstLink.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"wrapWithFirstLink\", function() { return wrapWithFirstLink; });\nfunction wrapWithFirstLink(element) {\n  $(element).each(function () {\n    var link = $(this).find('a');\n    var archiveLink = link.attr('href');\n\n    if (link.attr('target') !== undefined) {\n      archiveLink += ' target=\"_blank\"';\n    }\n\n    if (link.attr('rel') !== undefined) {\n      archiveLink += ' rel=\"noopener noreferer\"';\n    }\n\n    if (link.length >= 1) {\n      $(this).wrapInner('<a href=' + archiveLink + '/>');\n    }\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/wrapWithFirstLink.js?")},"./build/js/site.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./build/js/components/backgroundImage.js\");\n/* harmony import */ var _components_counter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./build/js/components/counter.js\");\n/* harmony import */ var _components_wrapWithFirstLink_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./build/js/components/wrapWithFirstLink.js\");\n/* harmony import */ var _components_newsButtons_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./build/js/components/newsButtons.js\");\n/* harmony import */ var _components_fast_facts_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./build/js/components/fast_facts.js\");\n/* harmony import */ var _components_placeholders_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"./build/js/components/placeholders.js\");\n/* harmony import */ var _components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./build/js/components/bodyClassToggler.js\");\n// ##############################################################################\n// Imports\n// ##############################################################################\n// Examples Imports ------------------------------------------------\n// require('./components/example.js');\n// import backgroundImage from './components/backgroundImage.js';\n// Examples --------------------------------------------------------\n\n\n\n\n\n\n\n\n__webpack_require__(\"./build/js/components/accordionMenu.js\");\n\n__webpack_require__(\"./build/js/components/fireslider_settings.js\");\n\n__webpack_require__(\"./build/js/components/keyboardNavigation.js\");\n\n__webpack_require__(\"./build/js/components/landing_page.js\");\n\n__webpack_require__(\"./build/js/components/navChecker.js\");\n\n__webpack_require__(\"./build/js/components/shinnSlider.js\");\n\n__webpack_require__(\"./build/js/components/fast_facts.js\");\n\n__webpack_require__(\"./build/js/vendor/smooth-scroll.js\"); // ##############################################################################\n// textLimit function\n// ##############################################################################\n\n/*\nusage:\n$('.news-container .news-article .news-article-description p').textlimit();\n*/\n\n\n$.fn.textlimit = function () {\n  return this.each(function () {\n    var $elem = $(this);\n    var $limit = 160;\n    var $str = $elem.html();\n    var $strtemp = $str.substr(0, $limit);\n\n    if ($str.length > $limit) {\n      $str = $strtemp + '<span class=\"hide\">' + $str.substr($limit, $str.length) + '</span><span class=\"elipses\">...</span>';\n      $elem.html($str);\n    }\n  });\n};\n\n$('.news-container .news-article .news-article-description p').textlimit();\n$('.news-container').shinnSlider({\n  debug: true\n});\n$(document).ready(function () {\n  $('.sticky-nav-logo, .sticky-nav-logo img').removeAttr('tabindex'); // Video\n  // ##############################################################################\n\n  $('.video-toggle').click(function () {\n    $('.video-content').slideToggle('slow', function () {// Animation complete.\n    });\n  }); // CTA\n  // ##############################################################################\n\n  Object(_components_wrapWithFirstLink_js__WEBPACK_IMPORTED_MODULE_2__[\"wrapWithFirstLink\"])($('.cta-container .collection ul li .collection-item__content'));\n  $('.cta-container .collection-item-label').each(function () {\n    $(this).next('.collection-item-description').addBack().wrapAll('<div class=\"cta-content-wrapper\" />');\n  }); // News\n  // ##############################################################################\n\n  $('.news-container .wrap .slider__controls').appendTo($('.news-container .news-articles'));\n  Object(_components_newsButtons_js__WEBPACK_IMPORTED_MODULE_3__[\"newsButtons\"])($('.news-container .news-article'));\n\n  if ($('.news-container .news-articles-archive').length > 0) {\n    $('.news-container .news-articles-archive').appendTo($('.news-container .wrap'));\n  } // Footer\n  // ##############################################################################\n\n\n  $('.location__title').prependTo($('.location__info')); // Background Images\n  // ##############################################################################\n\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_0__[\"backgroundImage\"])($('.has-bg'), 'center center / cover no-repeat', 1);\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_0__[\"backgroundImage\"])($('.has-bg__collection li'), 'center center / cover no-repeat', 2);\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_0__[\"backgroundImage\"])($('.has-bg-li__collection li .collection-item-image'), 'center center / cover no-repeat', 1);\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_0__[\"backgroundImage\"])($('.news-container .news-article-image'), 'center center / cover no-repeat', 2);\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_0__[\"backgroundImage\"])($('.staff-container .collection-item-image'), 'center center / cover no-repeat', 1); // Update emma form button\n  // ##############################################################################\n\n  $('#e2ma_signup_submit_button').attr('value', 'Sign Up'); // Placeholders\n  // ##############################################################################\n  // placeHolders('form');\n\n  $('.search-block form input, .search-2-block form input').attr('placeholder', 'Search'); // placeHolders('.email-marketing-container form');\n  // Nav Checker\n  // ##############################################################################\n\n  $('.nav-row').navChecker({\n    activeClass: 'hide-dropdown'\n  }); // Body Class Toggler\n  // ##############################################################################\n\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_6__[\"bodyClassToggler\"])('.mobile-menu-toggle', 'mobile-nav-visible'); // Escapr\n  // ##############################################################################\n  // escapr('body.element-is-visible', 'element-is-visible');\n  // Focusr\n  // ##############################################################################\n  // focusr($('.search-trigger'), $('.search-input input'));\n  // Fast Facts Counter\n  // ##############################################################################\n\n  if ($('.fast-facts-container').length > 0 && $(window).width() > 674) {\n    var triggered = false;\n    $(function () {\n      $(window).bind('scroll load', function () {\n        var featTop = $('.end-fast-facts').offset().top - $(window).innerHeight();\n        var bodyTop = $(window).scrollTop();\n\n        if (triggered === false) {\n          if (bodyTop > featTop) {\n            triggered = true;\n            Object(_components_counter_js__WEBPACK_IMPORTED_MODULE_1__[\"counter\"])($('.fast-facts-container'), $('.collection-item-description p'), 1000);\n          }\n        }\n      });\n    });\n  } else {\n    Object(_components_counter_js__WEBPACK_IMPORTED_MODULE_1__[\"counter\"])($('.fast-facts-container'), $('.collection-item-description p'), 0);\n  }\n}); // end document ready\n\n$(window).scroll(function () {\n  var headerHeight = $('.header-wrap').height();\n  var scroll = $(window).scrollTop();\n\n  if (scroll >= headerHeight) {\n    $('body').addClass('header-is-sticky');\n  } else {\n    $('body').removeClass('header-is-sticky');\n  }\n});\n\n//# sourceURL=webpack:///./build/js/site.js?")},"./build/js/vendor/smooth-scroll.js":function(module,exports){eval("document.getElementsByTagName(\"BODY\")[0].setAttribute(\"id\", \"top\"); // Select all links with hashes\n\n$('a[href*=\"#\"]') // Remove links that don't actually link to anything\n.not('[href=\"#\"]').not('[href=\"#0\"]').not('[href=\"#terms-conditions\"]').not('[href=\"#privacy-policy\"]').click(function (event) {\n  // On-page links\n  if (location.pathname.replace(/^\\//, '') == this.pathname.replace(/^\\//, '') && location.hostname == this.hostname) {\n    // Figure out element to scroll to\n    var target = $(this.hash);\n    target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); // Does a scroll target exist?\n\n    if (target.length) {\n      // Only prevent default if animation is actually gonna happen\n      event.preventDefault();\n      $('html, body').animate({\n        scrollTop: target.offset().top\n      }, 1000, function () {\n        // Callback after animation\n        // Must change focus!\n        var $target = $(target);\n        $target.focus();\n\n        if ($target.is(\":focus\")) {\n          // Checking if the target was focused\n          return false;\n        } else {\n          $target.attr('tabindex', '-1'); // Adding tabindex for elements not focusable\n\n          $target.focus(); // Set focus again\n        }\n\n        ;\n      });\n    }\n  }\n});\n\n//# sourceURL=webpack:///./build/js/vendor/smooth-scroll.js?")},0:function(module,exports,__webpack_require__){eval('module.exports = __webpack_require__("./build/js/site.js");\n\n\n//# sourceURL=webpack:///multi_./build/js/site.js?')}});
