{"version":3,"sources":["webpack:///webpack/bootstrap 44dbe5176aef5651ad5c","webpack:///external \"jQuery\"","webpack:///./scripts/main.js","webpack:///./scripts/util/Router.js","webpack:///./scripts/util/camelCase.js","webpack:///./scripts/routes/common.js","webpack:///./scripts/routes/home.js","webpack:///./scripts/routes/about.js","webpack:///./styles/main.scss?5a8b"],"names":["const","this"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;AC7DA,wB;;;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACgB;;;;;;AAMmB;AACE;AACJ;AACI;;;AAGrCA,GAAK,CAAC,MAAM,GAAG,IAAI,6DAAM,CAAC;;EAExB,uEAAM;;EAEN,mEAAI;;EAEJ,uEAAO;CACR,CAAC,CAAC;;;AAGH,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,YAAM,eAAM,CAAC,UAAU,EAAE,IAAC,CAAC;;;;;;;;;ACvBlD;AAAoC;;;;;;;;;;AAUpC,IAAM,MAAM,GAMV,eAAW,CAAC,MAAM,EAAE;EAClB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACvB,CAAC;;AAED;CACC;CACA;CACA;CACA;CACA;AACD,qBAAI,kBAAC,KAAK,EAAE,KAAc,EAAE,GAAG,EAAE,CAAhB;iCAAA,GAAG,MAAM;AAAQ;EAChC,QAAQ,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,QAAQ,EAAE;IAC/C,OAAO,EAAE,IAA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W,CAAC;MACvD,KAAK,CAAC,CAAC;;MAEP,IAAI,CAAC,KAAK;MACV,MAAM,CAAC,EAAE;MACT,YAAY,CAAC,EAAE;MACf,QAAQ,EAAE,KAAK;MACf,KAAK,CAAC,IAAI;MACV,SAAS,CAAC,IAAI;MACd,IAAI,CAAC,KAAK;MACV,GAAG,CAAC,IAAI;MACR,eAAe,CAAC,IAAI;MACpB,UAAU,CAAC;UACP,CAAC,CAAC;cACE,KAAK,CAAC,CAAC;cACP,YAAY,CAAC,EAAE;WAClB;UACD,IAAI,CAAC;cACD,KAAK,CAAC,CAAC;cACP,MAAM,CAAC,EAAE;WACZ;UACD,IAAI,CAAC;cACD,KAAK,CAAC,CAAC;WACV;OACJ;MACD,OAAO,EAAE;UACL,oCAAoC;UACpC,qCAAqC,CACzC,CAAC;GACJ,CAAC,CAAC;;GAEF;EACD,QAAQ,sBAAG;;GAEV;CACF,EAAC;;;;;;;;;ACxEa;EACb,IAAI,kBAAG;;GAEN;CACF,EAAC;;;;;;;ACJF,yC","file":"scripts/main.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, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\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 = \"/app/themes/mas/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 44dbe5176aef5651ad5c","module.exports = jQuery;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"jQuery\"\n// module id = 0\n// module chunks = 0 1","// import external dependencies\nimport 'jquery';\n\n// Import everything from autoload\n\n\n// import local dependencies\nimport Router from './util/Router';\nimport common from './routes/common';\nimport home from './routes/home';\nimport aboutUs from './routes/about';\n\n/** Populate Router instance with DOM routes */\nconst routes = new Router({\n // All pages\n common,\n // Home page\n home,\n // About Us page, note the change from about-us to aboutUs.\n aboutUs,\n});\n\n// Load Events\njQuery(document).ready(() => routes.loadEvents());\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/main.js","import camelCase from './camelCase';\n\n/**\n * DOM-based Routing\n *\n * Based on {@link http://goo.gl/EUTi53|Markup-based Unobtrusive Comprehensive DOM-ready Execution} by Paul Irish\n *\n * The routing fires all common scripts, followed by the page specific scripts.\n * Add additional events for more control over timing e.g. a finalize event\n */\nclass Router {\n\n /**\n * Create a new Router\n * @param {Object} routes\n */\n constructor(routes) {\n this.routes = routes;\n }\n\n /**\n * Fire Router events\n * @param {string} route DOM-based route derived from body classes (`
`)\n * @param {string} [event] Events on the route. By default, `init` and `finalize` events are called.\n * @param {string} [arg] Any custom argument to be passed to the event.\n */\n fire(route, event = 'init', arg) {\n document.dispatchEvent(new CustomEvent('routed', {\n bubbles: true,\n detail: {\n route,\n fn: event,\n },\n }));\n \n const fire = route !== '' && this.routes[route] && typeof this.routes[route][event] === 'function';\n if (fire) {\n this.routes[route][event](arg);\n }\n }\n\n /**\n * Automatically load and fire Router events\n *\n * Events are fired in the following order:\n * * common init\n * * page-specific init\n * * page-specific finalize\n * * common finalize\n */\n loadEvents() {\n // Fire common init JS\n this.fire('common');\n\n // Fire page-specific init JS, and then finalize JS\n document.body.className\n .toLowerCase()\n .replace(/-/g, '_')\n .split(/\\s+/)\n .map(camelCase)\n .forEach((className) => {\n this.fire(className);\n this.fire(className, 'finalize');\n });\n\n // Fire common finalize JS\n this.fire('common', 'finalize');\n }\n}\n\nexport default Router;\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/util/Router.js","/**\n * the most terrible camelizer on the internet, guaranteed!\n * @param {string} str String that isn't camel-case, e.g., CAMeL_CaSEiS-harD\n * @return {string} String converted to camel-case, e.g., camelCaseIsHard\n */\nexport default str => `${str.charAt(0).toLowerCase()}${str.replace(/[\\W_]/g, '|').split('|')\n .map(part => `${part.charAt(0).toUpperCase()}${part.slice(1)}`)\n .join('')\n .slice(1)}`;\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/util/camelCase.js","export default {\n init() {\n // JavaScript to be fired on all pages\n },\n finalize() {\n // JavaScript to be fired on all pages, after page specific JS is fired\n },\n};\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/routes/common.js","export default {\n init() {\n jQuery('.hero__carousel > .owl-carousel').owlCarousel({\n items:1,\n lazyLoad:true,\n stopOnHover: true,\n loop:true,\n margin:0,\n autoplay: true,\n });\n jQuery('.hero__basic > .owl-carousel').owlCarousel({\n items:1,\n lazyLoad:true,\n loop:false,\n margin:10,\n autoplay: false,\n });\n jQuery('.side__by__side__image.owl-carousel').owlCarousel({\n items:1,\n lazyLoad:true,\n loop:false,\n margin:10,\n autoplay: false,\n });\n jQuery('.card__slideshow--mobile.owl-carousel').owlCarousel({\n items:1,\n lazyLoad:true,\n loop:true,\n margin:10,\n autoplay: true,\n dots:false,\n nav:true,\n navText: [\n '',\n '',\n ],\n });\n jQuery('.card__slideshow--large.owl-carousel').owlCarousel({\n items:3,\n //lazyLoad:true,\n loop:false,\n margin:10,\n stagePadding:30,\n autoplay: false,\n merge:true,\n autoWidth:true,\n dots:false,\n nav:true,\n responsiveClass:true,\n responsive:{\n 0:{\n items:1,\n stagePadding:90,\n },\n 1305:{\n items:2,\n margin:10,\n },\n 1920:{\n items:3,\n },\n },\n navText: [\n '',\n '',\n ],\n });\n\n },\n finalize() {\n // JavaScript to be fired on the home page, after the init JS\n },\n};\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/routes/home.js","export default {\n init() {\n // JavaScript to be fired on the about us page\n },\n};\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/routes/about.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./styles/main.scss\n// module id = 8\n// module chunks = 0"],"sourceRoot":""}