!function(n){var e={};function i(t){var s;return(e[t]||(s=e[t]={i:t,l:!1,exports:{}},n[t].call(s.exports,s,s.exports,i),s.l=!0,s)).exports}i.m=n,i.c=e,i.d=function(n,e,t){i.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:t})},i.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,e){if(1&e&&(n=i(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var s in n)i.d(t,s,function(e){return n[e]}.bind(null,s));return t},i.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(e,"a",e),e},i.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},i.p="",i(i.s=0)}({"./build/js/components/accordianMenu.js":function(module,exports){eval("// ================================================================================================\n//  Accordian Menu\n//  =================\n//  applies accordian functionality to any nav with class accordian\n// ================================================================================================\n$(document).ready(function () {\n  if ($('nav.accordian').length > 0) {\n    $('nav.accordian').find('ul').children('li').has('ul').each(function () {\n      $(this).children('a').append('<span class=\"accordian_toggle\"></span>');\n      if ($(this).hasClass('nav__list--here')) {\n        $(this).addClass('accordian_open');\n        $(this).closest('li').children('ul').slideDown();\n      }\n    });\n    $('span.accordian_toggle').click(function (n) {\n      n.preventDefault();\n      if (!$(this).closest('li').hasClass('accordian_open')) {\n        $(this).closest('li').siblings().removeClass('accordian_open').children('ul').slideUp();\n        $(this).closest('li').addClass('accordian_open');\n        $(this).closest('li').children('ul').slideDown();\n      } else {\n        $(this).closest('li').removeClass('accordian_open').children('ul').slideUp();\n      }\n    });\n  }\n});\n\n//# sourceURL=webpack:///./build/js/components/accordianMenu.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//  =================\n//  Function that applies the first image to the background of the element with options\n//  -----------------\n/*\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\n*/\n//  -----------------\n// ==============================================================================\nfunction backgroundImage(element, options, hide) {\n  $(element).each(function () {\n    var imgSrc = $(this).find('img').first().attr('src');\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      $(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//  Body Class Toggler 2.0\n//  =================\n//  function that takes an element and applies a class when clicked\n//  -----------------\n//  example:\n//  bodyClassToggler('mobile_menu', 'mobile_menu_is_visible', 'add');\n//  bodyClassToggler('mobile_menu', 'mobile_menu_is_visible', 'remove');\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//  -----------------\n// ==============================================================================\nfunction bodyClassToggler(element, elemClass, condition) {\n  $(element).on('click', function () {\n    switch (condition) {\n      case 'add':\n        $('body').addClass(elemClass);\n        break;\n      case 'remove':\n        $('body').removeClass(elemClass);\n        break;\n      default:\n        $('body').toggleClass(elemClass);\n        break;\n    }\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/bodyClassToggler.js?")},"./build/js/components/fireslider_settings.js":function(module,exports){eval('// =============================================================================\n//  fireslider settings\n//= =============================================================================\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// -------------------------------------\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// -------------------------------------\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\n// Spotlight Slider\nif ($(\'.spotlight-container .spotlight--list ul > li\').length > 1) {\n  $(\'.spotlight-container .spotlight--list ul\').each(function () {\n    $(this).fireSlider({\n      delay: 8000,\n      hoverPause: true\n    });\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/fireslider_settings.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$(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// Nav Checker\n// =============\n// get the combined widths of mutlitple elements and\n// check to see if it is greater than the containers width\n// =============================================================================\n\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n// call function outside of $(document).ready\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n// examples\n//= =======================================\n// $('header .wrap').navChecker({\n//   activeClass: 'added-class',\n//   children: [$('nav.dropdown > ul > li')],\n//   targets: [$('body'), $('.search-block')],\n//   minWidth: 1024\n// });\n//= =======================================\n\n// default settings\n//= =======================================\n// $('header .wrap').navChecker();\n//= =======================================\n\n// =============================================================================\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\nvar dev = false;\n(function ($, window, document) {\n  var pluginName = 'navChecker';\n  function NavChecker(el, options, sel) {\n    this.$el = $(el);\n    this.selector = sel;\n    var defaults = {\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  NavChecker.prototype = {\n    // Initialize children and events\n    init: function init() {\n      var plugin = this;\n\n      // If children are not set, get this elements direct children'\n      if (plugin.options.children.length === 0) {\n        plugin.options.children.push(plugin.$el.children());\n      }\n      plugin.initEvents();\n      plugin.checkSize();\n    },\n    // Events here\n    initEvents: function initEvents() {\n      var plugin = this;\n      $(window).resize(function () {\n        plugin.checkSize();\n      });\n      $(window).on('load', function () {\n        plugin.getChildren();\n        plugin.checkSize();\n      });\n      $(document).ready(function () {\n        plugin.checkSize();\n      });\n    },\n    // add all children widths together\n    getChildren: function getChildren() {\n      var plugin = this;\n      plugin.options.childrenWidth = 0;\n      if (dev === true) {\n        console.log('container width: ' + plugin.$el.width());\n      }\n      $.each(plugin.options.children, function (index, child) {\n        child.each(function () {\n          if (dev === true) {\n            console.log($(this).attr('class') + ':' + $(this).outerWidth());\n            console.log('children width: ' + plugin.options.childrenWidth);\n          }\n          plugin.options.childrenWidth += $(this).outerWidth();\n        });\n      });\n    },\n    // run comparison of childrenWidth and containerWidth\n    checkSize: function checkSize() {\n      var plugin = this;\n      var containerWidth = plugin.$el.width();\n      if ($(window).width() > plugin.options.minWidth) {\n        if (plugin.options.childrenWidth >= containerWidth) {\n          plugin.updateClasses('add');\n        } else {\n          plugin.updateClasses('remove');\n        }\n      } else {\n        plugin.updateClasses('add');\n      }\n    },\n    // Add or remove 'activeClass' to 'targets'\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  $.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/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/* 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/* placeHolders('form');\n//============================================= */\n\nfunction placeHolders(form) {\n  $(form).find('.e2ma_signup_form_row').each(function () {\n    // if form has class\n    if ($(form).hasClass('fdpc_designready_order_form')) {\n      return;\n    }\n\n    // if 'this' has class\n    if ($(this).hasClass('form-row--sub-options')) {\n      return;\n    }\n    if ($(this).hasClass('form-row--file')) {\n      return;\n    }\n    if ($(this).hasClass('form-row--date')) {\n      return;\n    }\n    if ($(this).hasClass('form-row--datetime')) {\n      return;\n    }\n    if ($(this).hasClass('form-row--time')) {\n      return;\n    }\n    if ($(this).hasClass('payment--cc-exp')) {\n      return;\n    }\n\n    // if any parents have classes\n    if ($(this).parents('.checkout_process, .event-calendar-search__jump, .catalogs--pageflex').length) {\n      return;\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    if ($(this).hasClass('form-row--required')) {\n      isRequired = true;\n    }\n    if (isRequired) {\n      text = text + ' *';\n    }\n    if (!text) {\n      return;\n    }\n    if (input.length) {\n      $(input).attr('placeholder', text);\n      label.hide();\n      $(this).find('.form-row__label').hide();\n    }\n    if (textarea.length) {\n      $(textarea).attr('placeholder', text);\n      label.hide();\n      $(this).find('.form-row__label').hide();\n    }\n\n    // show things that should be showing\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/updatevalue.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"updateValue\", function() { return updateValue; });\n/* Function that updates the value field of text inputs */\nfunction updateValue(input, text) {\n  input.val(text);\n  if (input.val() === null) {\n    input.val(text);\n  }\n  input.focus(function () {\n    if (input.val() === text) {\n      input.val('');\n    }\n  });\n  input.blur(function () {\n    if (input.val() === null || input.val() === '') {\n      input.val(text);\n    }\n  });\n}\n\n//# sourceURL=webpack:///./build/js/components/updatevalue.js?")},"./build/js/site.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _components_updatevalue_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./build/js/components/updatevalue.js\");\n/* harmony import */ var _components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./build/js/components/backgroundImage.js\");\n/* harmony import */ var _components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./build/js/components/bodyClassToggler.js\");\n/* harmony import */ var _components_placeholders_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./build/js/components/placeholders.js\");\n// =============================================================================\n// Imports\n// =============================================================================\n\n\n\n\n__webpack_require__(\"./build/js/components/accordianMenu.js\");\n__webpack_require__(\"./build/js/components/navChecker.js\");\n__webpack_require__(\"./build/js/components/fireslider_settings.js\");\n__webpack_require__(\"./build/js/components/landing_page.js\");\n\n/// /////////////////////////////////////////////////////////////////////////////\n// news title and description sizer\n/// /////////////////////////////////////////////////////////////////////////////\nvar failsafe = 0;\nvar isSizing = false;\nfunction newSizer() {\n  // get title and desc\n  var title = $('.news-main-content .news-article-title');\n  var desc = $('.news-main-content .news-article-description');\n  var titleFontSize = 16;\n  var descFontSize = 14;\n  // get articles height\n  // get news main height\n  var newsListHeight = $('.news-list .news-articles').outerHeight();\n  var newsMainHeight = $('.news-main').outerHeight();\n\n  // loop while main height is greater than news list\n  while (newsMainHeight > newsListHeight) {\n    // get title font size and desc font size\n    if (title.length) {\n      titleFontSize = parseInt(title.css('font-size'));\n    }\n    if (desc.length) {\n      descFontSize = parseInt(desc.css('font-size'));\n    }\n    newsListHeight = $('.news-list .news-articles').outerHeight();\n    newsMainHeight = $('.news-main').outerHeight();\n\n    // toggle back and forther between title and desc\n    // reduce font size by 1 until it fits\n    if (failsafe % 2) {\n      if (title.length) {\n        if (titleFontSize > 16) {\n          titleFontSize = titleFontSize - 1;\n          title.css('font-size', titleFontSize);\n        }\n      }\n    } else {\n      if (desc.length) {\n        if (descFontSize > 14) {\n          descFontSize = descFontSize - 1;\n          desc.css('font-size', descFontSize);\n        }\n      }\n    }\n\n    // loop incrementer: for odd and even\n    // also dont ever do more than 400 loops\n    failsafe = failsafe + 1;\n    if (failsafe > 400) {\n      failsafe = 0;\n      return;\n    }\n  }\n  failsafe = 0;\n}\n\n/// /////////////////////////////////////////////////////////////////////////////\n// document key up\n/// /////////////////////////////////////////////////////////////////////////////\n$(document).keyup(function (e) {\n  if (e.keyCode === 27) {\n    $('body.search-is-visible').removeClass('search-is-visible');\n    $('body.mobile-menu-is-visible').removeClass('mobile-menu-is-visible');\n    $('body.mobile-search-is-visible').removeClass('mobile-search-is-visible');\n  }\n});\n\n/// /////////////////////////////////////////////////////////////////////////////\n// scroll\n/// /////////////////////////////////////////////////////////////////////////////\n$(window).scroll(function () {\n  if ($('body').hasClass('mobile-menu-is-visible') | $('body').hasClass('mobile-search-is-visible')) {} else {\n    if ($(window).scrollTop() > 400) {\n      $('body').addClass('header-is-staging');\n    } else {\n      $('body').removeClass('header-is-staging');\n    }\n    if ($(window).scrollTop() > 410) {\n      $('body').addClass('header-is-staged');\n    } else {\n      $('body').removeClass('header-is-staged');\n    }\n    if ($(window).scrollTop() > 700) {\n      $('body').addClass('header-is-sticky');\n    } else {\n      $('body').removeClass('header-is-sticky');\n    }\n  }\n});\n\n/// /////////////////////////////////////////////////////////////////////////////\n// resize\n/// /////////////////////////////////////////////////////////////////////////////\n$(window).resize(function () {\n  if (!isSizing) {\n    isSizing = true;\n    newSizer();\n    isSizing = false;\n  }\n});\n\n/// /////////////////////////////////////////////////////////////////////////////\n/// /////////////////////////////////////////////////////////////////////////////\n$(document).ready(function () {\n  // background imagers\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_1__[\"backgroundImage\"])($('.has-bg'), 'center center / cover no-repeat', 2);\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_1__[\"backgroundImage\"])($('.has-bg__collection li'), 'center center / cover no-repeat', 2);\n  Object(_components_backgroundImage_js__WEBPACK_IMPORTED_MODULE_1__[\"backgroundImage\"])($('.has-bg-li__collection li .collection-item-image'), 'center center / cover no-repeat', 1);\n  /// /////////////////////////////////////////////////////////////////////////////\n\n  // Updaters\n  $('#e2ma_signup_submit_button').attr('value', 'Sign Up');\n  Object(_components_updatevalue_js__WEBPACK_IMPORTED_MODULE_0__[\"updateValue\"])($('.search-block input'), 'Search');\n  Object(_components_placeholders_js__WEBPACK_IMPORTED_MODULE_3__[\"placeHolders\"])('.email-marketing form');\n  /// /////////////////////////////////////////////////////////////////////////////\n\n  // body class togglers\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.site-screen'), 'search-is-visible');\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.menu-open'), 'mobile-menu-is-visible');\n  $('.menu-open, .top-header .search-toggle').on('click', function () {\n    $(window).scrollTop(0);\n  });\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.menu-open'), 'mobile-search-is-visible', 'remove');\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.top-header .search-toggle'), 'mobile-search-is-visible');\n  $('.top-header .search-toggle').on('click', function () {\n    $('.mobile-menu-container .search-block input').focus();\n  });\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.top-header .search-toggle'), 'mobile-menu-is-visible', 'remove');\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.menu-close'), 'mobile-menu-is-visible mobile-search-is-visible header-is-sticky header-is-staged header-is-staging', 'remove');\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.sticky-panel .search-toggle .fa'), 'search-is-visible');\n  $('.sticky-panel .search-toggle .fa').on('click', function () {\n    $('.sticky-panel .search-block input').focus();\n  });\n  Object(_components_bodyClassToggler_js__WEBPACK_IMPORTED_MODULE_2__[\"bodyClassToggler\"])($('.bottom-header .search-toggle'), 'desktop-search-is-visible');\n  /// /////////////////////////////////////////////////////////////////////////////\n\n  /// /////////////////////////////////////////////////////////////////////////////\n  // focus search inputs on click\n  $('.form-control--search').on('click', function () {\n    $(this).find('input').focus();\n  });\n  $('.bottom-header .search-toggle').on('click', function () {\n    $('.bottom-header .search-block input').focus();\n  });\n  /// /////////////////////////////////////////////////////////////////////////////\n\n  /// /////////////////////////////////////////////////////////////////////////////\n  // nav checkers\n  $('header .top-header .wrap').navChecker({\n    activeClass: 'top-header-is-too-wide',\n    children: [$('.top-header nav.dropdown > ul > li'), $('.top-header .nav-logo'), $('.top-header .phone-container')]\n  });\n  $('header .bottom-header .wrap').navChecker({\n    activeClass: 'bottom-header-is-too-wide',\n    children: [$('.bottom-header .search-toggle'), $('.bottom-header .search-block'), $('.bottom-header .utilities-block li')]\n  });\n  /// /////////////////////////////////////////////////////////////////////////////\n\n  $('header').removeClass('is-hidden');\n\n  /// /////////////////////////////////////////////////////////////////////////////\n  var collectionCount = 0;\n  function initFeature() {\n    $('.featured-container .featured-content .collection--list').each(function () {\n      var liCount = -1;\n      if ($('body').hasClass('product')) {\n        liCount = 0;\n      }\n      $(this).find('li').each(function () {\n        liCount = liCount + 1;\n        var $a = $(this).find('.collection-item-label a');\n        var link = $a.attr('href');\n        var target = $a.attr('target');\n        var rel = $a.attr('rel');\n        var targetCSS = target ? 'target=\"' + target + '\" ' : '';\n        var relCSS = rel ? 'rel=\"' + rel + '\" ' : '';\n        if (link) {\n          $(this).find('.collection-item__content').wrapInner('<a href=\"' + link + '\" ' + targetCSS + relCSS + ' class=\"collection-item-link\"></a>');\n        }\n      });\n      $(this).attr('data-li-count', liCount);\n      if (liCount % 4 === 0) {\n        liCount = 4;\n      } else if (liCount % 3 === 0) {\n        liCount = 3;\n      } else if (liCount % 2 === 0) {\n        liCount = 2;\n      } else {\n        liCount = 4;\n      }\n      $(this).find('li').css({\n        '-webkit-box-flex': '0',\n        '-ms-flex': '0 1 ' + 100 / liCount + '%',\n        'flex': '0 1 ' + 100 / liCount + '%'\n      });\n      collectionCount += 1;\n      var dropdownItem = $(this).find('li').first().find('.collection-item-label').text();\n      $(this).addClass('featured-trigger-' + collectionCount);\n      $('.featured-options').append('<div class=\"item\" data-trigger=\"featured-trigger-' + collectionCount + '\"><a href=\"#' + dropdownItem + '\">' + dropdownItem + '</a></div>');\n    });\n    if ($('.featured-container .collection--list').length <= 1) {\n      $('.featured-nav-dropdown').hide();\n    }\n  }\n  initFeature();\n  $('.featured-nav-arrow, .featured-selected').on('click', function (e) {\n    e.preventDefault();\n    $('.featured-options').toggleClass('active');\n  });\n  $('.featured-options .item').on('click', 'a', function (e) {\n    e.preventDefault();\n    $('.featured-selected').text($(this).text());\n    $('.featured-options').removeClass('active');\n    $('.featured-options .item a').removeClass('active');\n    $(this).addClass('active');\n    var dataTrigger = $(this).parent().data('trigger');\n    $('.featured-content .collection--list').removeClass('active');\n    $('.featured-content').find('.' + dataTrigger).addClass('active');\n  });\n  $('.featured-options .item a').first().trigger('click');\n\n  // news date abbrev\n  /// /////////////////////////////////////////////////////////////////////////////\n  $('.news-article-meta .date-month').each(function () {\n    var month = $(this).text();\n    var monthNew = month.substring(0, 3);\n    $(this).text(monthNew);\n  });\n\n  /// /////////////////////////////////////////////////////////////////////////////\n  // News functionality\n  /// /////////////////////////////////////////////////////////////////////////////\n  if ($('.news-container').length > 0) {\n    $('.news-articles-archive').appendTo('.news-main');\n    $('.news-container .news-list').each(function () {\n      $(this).children().clone().prependTo('.news-main');\n      $('.news-main .news-articles').remove();\n      $(this).find('>*:not(.news-articles)').wrap('<div class=\"other-stuff-container\"></div>');\n    });\n    $('.news-list .news-article').hover(function () {\n      if (!$(this).hasClass('active')) {\n        $(this).siblings().removeClass('active');\n        $('.news-main-content').empty();\n        var link = $(this).find('.news-article-title a').attr('href');\n        var title = $(this).find('.news-article-title').html();\n        var descr = $(this).find('.news-article-description').html();\n        var image = $(this).find('.news-article-image img').attr('src');\n        var titleHTML = '';\n        var descHTML = '';\n        var linkHTML = '';\n        if (image) {\n          $('.news-main .background-holder:not(.active)').css('background-image', 'url(' + image + ')');\n          $('.news-main .background-holder').toggleClass('active');\n        }\n        $(this).addClass('active');\n        if (title) {\n          titleHTML = '<div class=\"news-article-title\">' + title + '</div>';\n        }\n        if (descr) {\n          descHTML = '<div class=\"news-article-description\">' + descr + '</div>';\n        }\n        if (link) {\n          linkHTML = '<a class=\"news-article-read-more\" href=\"' + link + '\">View Article</a>';\n        }\n        $('.news-main-content').append(titleHTML + descHTML + linkHTML);\n        if (!isSizing) {\n          isSizing = true;\n          newSizer();\n          isSizing = false;\n        }\n      }\n    });\n    $('.news-list .news-article:first').trigger('mouseover');\n  }\n}); // end document ready\n\n//# sourceURL=webpack:///./build/js/site.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?')}});
