{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./main.js","webpack:///external \"jQuery\""],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","$","on","e","search","val","length","preventDefault","trigger","Swiper","effect","grabCursor","centeredSlides","loop","slidesPerView","coverflowEffect","rotate","stretch","depth","modifier","slideShadows","breakpoints","1024","pagination","el","clickable","$grid","isotope","itemSelector","layoutMode","percentPosition","fitRows","gutter","imagesLoaded","progress","removeClass","filterValue","this","attr","descText","substring","data","descTextFormatted","replace","desc","filter","addClass","hide","html","after","show","fn","isVis","toScroll","offset","top","window","height","console","log","scrollTop","extend","isAtTop","$el","elementOffset","distance","Math","floor","wait","callback","seconds","setTimeout","each","id","selector","document","ready","magnificPopup","type","unbind","click","hasClass","jQuery"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBs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rE,EAAE,oBAAoBK,QACxBL,EAAEuD,QAAQtD,GAAG,UAAU,WACtBD,EAAE,gCAAgCuE,MAAK,WACtC,GAAGvE,EAAEoC,MAAMyB,UAAU,CACpB,IAAItC,EAAKvB,EAAEoC,MAAMyB,UACjB7D,EAAE,mBAAmBkC,YAAY,UACjClC,EAAEuB,GAAIsB,SAAS,UACf,IAAI2B,EAAKxE,EAAEuB,GAAIiB,KAAK,MACpBiB,QAAQC,IAAIc,EAAK,cAEjBxE,EAAE,mBAAmBkC,YAAY,UACjC,IAAIuC,EAAW,4BAA8BD,EAAK,KAClDf,QAAQC,IAAIe,GACZzE,EAAE,4BAA8BwE,EAAK,MAAM3B,SAAS,iBAOxD7C,EAAE0E,UAAUC,OAAM,WACjB3E,EAAE,oBAAoB4E,cAAc,CAACC,KAAK,WAE1C7E,EAAE,yBAAyB8E,SAASC,OAAM,WACrC/E,EAAE,WAAWgF,SAAS,oBACzBV,YACC,WACCtE,EAAE,WAAWkC,YAAY,sBACvB,KAIJlC,EAAE,WAAW6C,SAAS,0BAnK1B,CAgLGoC,K,+BCtLHlH,EAAOD,QAAUmH","file":"main.bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","// Webpack Imports\n//import 'bootstrap';\n\n\n\n\n( function ( $ ) {\n\t'use strict';\n\n\t// Focus Search if Searchform is empty\n\t$( '.search-form' ).on( 'submit', function ( e ) {\n\t\tvar search = $( '#s' );\n\t\tif ( search.val().length < 1 ) {\n\t\t\te.preventDefault();\n\t\t\tsearch.trigger( 'focus' );\n\t\t}\n\t} );\n\n\n\tvar swiper = new Swiper('.swiper-container-coverflow', {\n\t\teffect: 'coverflow',\n\t\tgrabCursor: true,\n\t\tcenteredSlides: true,\n\t\tloop: true,\n\t\tslidesPerView: 1,\n\t\t//spaceBetween: 50,\n\t\tcoverflowEffect: {\n\t\t\trotate: 0,\n\t\t\tstretch: -200,\n\t\t\tdepth: 300,\n\t\t\tmodifier: 1,\n\t\t\tslideShadows: true,\n\t\t},\n\t\tbreakpoints: {\n\t\t\t1024: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t}\n\t\t},\n\t\tpagination: {\n\t\t\tel: '.swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t});\n\n\tvar swiper2 = new Swiper('.swiper-container-carousel', {\n\n\t\teffect: 'flip',\n\t\tgrabCursor: true,\n\t\tpagination: {\n\t\t\tel: '.swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t});\n\n\n\tvar $grid = $('.isotope-grid').isotope({\n\t\t// options\n\t\titemSelector: '.grid-item',\n\t\tlayoutMode: 'fitRows',\n\t\tpercentPosition: true,\n\t\tfitRows: {\n\t\t\tgutter: '.gutter-sizer'\n\t\t}\n\t});\n\n\t// layout Isotope after each image loads\n\t$grid.imagesLoaded().progress( function() {\n\t\t$grid.isotope('layout');\n\t});\n\n\n\t// filter items on button click\n\t$('.isotope-filters').on( 'click', '.filter-link', function() {\n\t\t$('.filter-link').removeClass('active');\n\t\tvar filterValue = $(this).attr('data-filter');\n\t\tvar slug = filterValue.substring(1);\n\t\tvar descText = $(this).data('desc');\n\t\tvar descTextFormatted = '

' + descText.replace(/\\n([ \\t]*\\n)+/g, '

')\n\t\t\t.replace('\\n', '
') + '

';\n\t\tvar desc = '
' + descTextFormatted + '
';\n\t\t$grid.isotope({ filter: filterValue });\n\t\t$(this).addClass('active');\n\n\t\tif (descText) {\n\t\t\t$('.text-swap').hide();\n\t\t\tif ($('.term-description').length){\n\t\t\t\t$('.term-description').html(descTextFormatted);\n\t\t\t}\n\t\t\telse{\n\t\t\t\t$('.text-swap').after(desc);\n\t\t\t}\n\t\t\t$('.term-description').show();\n\t\t}\n\t\telse{\n\t\t\t$('.text-swap').show();\n\t\t\t$('.term-description').hide();\n\t\t}\n\t\t//load taxonomy term into this .text-swap class section\n\t});\n\n\n\n\t$.fn.isVis = function(){\n\n\t\tvar toScroll = $(this).offset().top - $(window).height();\n\t\tconsole.log($(this).offset().top);\n\t\t//console.log($(this).offset().top - $(window).height());\n\t\tvar scrollTop = $(window).scrollTop();\n\n\n\t\treturn (scrollTop >= toScroll);\n\t}\n\n\n\n\t$.fn.extend({\n\t\tisAtTop: function(){\n\t\t\tvar $el = $(this);\n\t\t\tvar elementOffset = $(this).offset().top;\n\t\t\tvar scrollTop = $(window).scrollTop();\n\t\t\tvar distance = Math.floor(elementOffset - scrollTop);\n\t\t\t//console.log(distance);\n\t\t\tif (distance < 10 && distance > -10){\n\t\t\t\treturn $el;\n\t\t\t}\n\t\t\telse{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t});\n\n\n\n\t$.wait = function( callback, seconds){\n\t\treturn window.setTimeout( callback, seconds * 1000 );\n\t}\n\n\tif($('.section.history').length){\n\t\t$(window).on('scroll', function () {\n\t\t\t$('.timeline-slide:not(.active)').each(function(){\n\t\t\t\tif($(this).isAtTop()){\n\t\t\t\t\tvar el = $(this).isAtTop();\n\t\t\t\t\t$('.timeline-slide').removeClass('active');\n\t\t\t\t\t$(el).addClass('active');\n\t\t\t\t\tvar id = $(el).data('id');\n\t\t\t\t\tconsole.log(id + ' is at top');\n\t\t\t\t\t//find image\n\t\t\t\t\t$('.timeline-image').removeClass('active');\n\t\t\t\t\tvar selector = '.timeline-image[data-id=\"' + id + '\"]';\n\t\t\t\t\tconsole.log(selector);\n\t\t\t\t\t$('.timeline-image[data-id=\"' + id + '\"]').addClass('active');\n\t\t\t\t}\n\t\t\t});\n\n\t\t});\n\t}\n\n\t$(document).ready(function() {\n\t\t$('.magnific-iframe').magnificPopup({type:'iframe'});\n\n\t\t$('button.navbar-toggler').unbind().click(function(){\n\t\t\tif ($('#navbar').hasClass('navbar-hide-desk')){\n\t\t\t\tsetTimeout(\n\t\t\t\t\tfunction(){\n\t\t\t\t\t\t$('#navbar').removeClass('navbar-hide-desk');\n\t\t\t\t\t}, 400\n\t\t\t\t);\n\t\t\t}\n\t\t\telse{\n\t\t\t\t$('#navbar').addClass('navbar-hide-desk');\n\t\t\t}\n\n\t\t});\n\n\n\n\t});\n\n\n\n\n\n}( jQuery ) );\n","module.exports = jQuery;"],"sourceRoot":""}