{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/js/blocks.js","webpack:///./src/js/carousel/columns-slider.js","webpack:///./src/js/carousel/content-with-image-slider.js","webpack:///./src/js/carousel/hero-slider.js","webpack:///./src/js/tabs/tabs.js","webpack:///./src/js/tabs/tabs_block.js","webpack:///./src/sass/blocks.scss"],"names":["$","initializeColumnsSliderBlock","$block","id","slick","dots","arrows","infinite","speed","slidesToShow","slidesToScroll","responsive","breakpoint","settings","resizeColumnsSliderBlock","document","ready","each","window","acf","addAction","jQuery","initializeContentWithImageSliderBlock","resizeContentWithImageSliderBlock","initializeHeroSliderBlock","adaptiveHeight","tabs","options","console","log","el","querySelector","tabNavigationLinks","querySelectorAll","tabContentContainers","activeIndex","initCalled","scrollIt","destination","duration","offsetdesktop","offsetmobile","callback","offset","innerWidth","start","pageYOffset","startTime","performance","now","Date","getTime","documentHeight","Math","max","body","scrollHeight","offsetHeight","documentElement","clientHeight","windowHeight","innerHeight","getElementsByTagName","destinationOffset","offsetTop","offsetParent","destinationOffsetToScroll","round","scroll","time","min","timeFunction","ceil","requestAnimationFrame","init","classList","remove","i","length","link","handleClick","deepLink","location","hash","substr","getElementById","clear_active_tab_link","clear_active_tab_content","active_tab_link","click","add","active_tab_content","index","addEventListener","e","preventDefault","goToTab","history","replaceState","getAttribute","initializeTabsBlock","myTabs"],"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,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QAC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AiB,CAAC,CAACiB,IAAI,CAAC,YAAY;MACpChB,4BAA4B,CAACD,CAAC,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC,CAAC;EACJ,CAAC,CAAC;EACF;EACA,IAAIkB,MAAM,CAACC,GAAG,EAAE;IACdD,MAAM,CAACC,GAAG,CAACC,SAAS,CAClB,0CAA0C,EAC1CnB,4BACF,CAAC;EACH;AACF,CAAC,EAAEoB,MAAM,CAAC,C;;;;;;;;;;;ACvDV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,CAAE,UAAWrB,CAAC,EAAG;EAChB;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACC,IAAMsB,qCAAqC,GAAG,SAAxCA,qCAAqCA,CAAcpB,MAAM,EAAG;IACjE,IAAMC,EAAE,GAAG,GAAG,GAAGD,MAAM,CAAE,CAAC,CAAE,CAACC,EAAE,GAAG,UAAU;IAC5C;IACAH,CAAC,CAAE,aAAc,CAAC,CAACI,KAAK,CACpB;MACEC,IAAI,EAAE,IAAI;MACVC,MAAM,EAAE,KAAK;MACbC,QAAQ,EAAE,KAAK;MACfC,KAAK,EAAE,GAAG;MACVC,YAAY,EAAE,CAAC;MACfC,cAAc,EAAE,CAAC;MACjBC,UAAU,EAAE,CACV;QACEC,UAAU,EAAE,IAAI;QAChBP,IAAI,EAAE,IAAI;QACVQ,QAAQ,EAAE;UACRJ,YAAY,EAAE,CAAC;UACfC,cAAc,EAAE;QAClB;MACF,CAAC,EACD;QACEE,UAAU,EAAE,GA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A;IACA;IACA;;IAEA;EACF,CAAC;;EAED;EACA1E,CAAC,CAACe,QAAQ,CAAC,CAACC,KAAK,CAAC,YAAU;IACxBhB,CAAC,CAAC,OAAO,CAAC,CAACiB,IAAI,CAAC,YAAU;MACxBmF,mBAAmB,CAAEpG,CAAC,CAAC,IAAI,CAAE,CAAC;MAC9B;IACF,CAAC,CAAC;EACN,CAAC,CAAC;;EAEF;EACA,IAAIkB,MAAM,CAACC,GAAG,EAAG;IACbD,MAAM,CAACC,GAAG,CAACC,SAAS,CAAE,gCAAgC,EAAEgF,mBAAoB,CAAC;EACjF;AAEF,CAAC,EAAE/E,MAAM,CAAC,C;;;;;;;;;;;ACnDV,uC","file":"js/blocks.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 = \"./src/js/blocks.js\");\n","import \"../sass/blocks.scss\";\n\n// Blocks\n// import './gutenberg/blocks/heading-with-icon';\n// import './gutenberg/blocks/dos-and-donts';\n// import './gutenberg/block-extensions/register-block-styles';\nimport \"./carousel/content-with-image-slider.js\";\nimport \"./carousel/columns-slider.js\";\nimport \"./carousel/hero-slider.js\";\nimport \"./tabs/tabs.js\";\nimport \"./tabs/tabs_block.js\";\n","/* eslint-disable */\n\n(function ($) {\n /**\n * initializeBlock\n *\n * Adds custom JavaScript to the block HTML.\n *\n * @date 15/4/19\n * @since 1.0.0\n * @param $block\n * @param object $block The block jQuery element.\n * @param object attributes The block attributes (only available when editing).\n * @return void\n */\n const initializeColumnsSliderBlock = function ($block) {\n const id = \"#\" + $block[0].id + \" .slider\";\n // console.log(id)\n $(\".responsive\").slick({\n dots: false,\n arrows: false,\n infinite: false,\n speed: 300,\n slidesToShow: 7,\n slidesToScroll: 7,\n responsive: [\n {\n breakpoint: 768,\n settings: {\n dots: true,\n slidesToShow: 1,\n slidesToScroll: 1,\n },\n },\n ],\n });\n };\n const resizeColumnsSliderBlock = function ($block) {\n // console.log( 'test' )\n const id = \"#\" + $block[0].id + \" .slider\";\n $(id).slick(\"setPosition\");\n };\n // Initialize each block on page load (front end).\n $(document).ready(function () {\n $(\".columns-slider\").each(function () {\n initializeColumnsSliderBlock($(this));\n });\n });\n // Initialize dynamic block preview (editor).\n if (window.acf) {\n window.acf.addAction(\n \"render_block_preview/type=columns_slider\",\n initializeColumnsSliderBlock\n );\n }\n})(jQuery);\n","/* eslint-disable */ \n// ( function( $ ) {\n// class SlickCarousel {\n// constructor() {\n// // console.log(this)\n// this.initiateCarousel();\n// // console.log('test')\n// }\n\n// initiateCarousel($block) {\n// // console.log($block)\n// $('.content-with-image-slider .slider').slick({\n// dots: false,\n// // infinite: false,\n// speed: 300,\n// slidesToShow: 4,\n// slidesToScroll: 4,\n// responsive: [\n\n// {\n// breakpoint: 800,\n// dots: true,\n// settings: {\n// slidesToShow: 1,\n// slidesToScroll: 1\n// }\n// }\n// // You can unslick at a given breakpoint now by adding:\n// // settings: \"unslick\"\n// // instead of a settings object\n// ]\n// });\n// // $( '.posts-carousel' ).slick( {\n// // autoplay: true,\n// // autoplaySpeed: 1000,\n// // slidesToShow: 3,\n// // slidesToScroll: 1,\n// // infinite: true,\n// // dots: true,\n// // responsive: [\n// // {\n// // breakpoint: 768,\n// // settings: {\n// // slidesToShow: 2,\n// // slidesToScroll: 1,\n// // },\n// // },\n// // {\n// // breakpoint: 600,\n// // settings: {\n// // slidesToShow: 1,\n// // slidesToScroll: 1,\n// // },\n// // },\n// // {\n// // breakpoint: 480,\n// // settings: {\n// // slidesToShow: 1,\n// // slidesToScroll: 1,\n// // },\n// // } ],\n// // } );\n// }\n// }\n\n// new SlickCarousel();\n\n// } )( jQuery );\n( function ( $ ) {\n\t/**\n\t * initializeBlock\n\t *\n\t * Adds custom JavaScript to the block HTML.\n\t *\n\t * @date 15/4/19\n\t * @since 1.0.0\n\t * @param $block\n\t * @param object $block The block jQuery element.\n\t * @param object attributes The block attributes (only available when editing).\n\t * @return void\n\t */\n\tconst initializeContentWithImageSliderBlock = function ( $block ) {\n\t\tconst id = '#' + $block[ 0 ].id + ' .slider';\n\t\t// console.log(id)\n\t\t$( '.responsive' ).slick( \n {\n dots: true,\n arrows: false,\n infinite: false,\n speed: 300,\n slidesToShow: 4,\n slidesToScroll: 4,\n responsive: [\n {\n breakpoint: 1024,\n dots: true,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2\n }\n },\n {\n breakpoint: 768,\n dots: true,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1\n }\n },\n ]\n }\n );\n\t};\n const resizeContentWithImageSliderBlock = function ( $block ) {\n // console.log( 'test' )\n const id = '#' + $block[ 0 ].id + ' .slider';\n $( id ).slick( 'setPosition' );\n };\n\t// Initialize each block on page load (front end).\n\t$( document ).ready( function () {\n\t\t$( '.content-with-image-slider' ).each( function () {\n\t\t\tinitializeContentWithImageSliderBlock( $( this ) );\n\t\t} );\n\t} );\n\t// $( window ).on( 'resize orientationchange', function () {\n\t// \t$( '.content-with-image-slider' ).each( function () {\n\t// \t\tresizeContentWithImageSliderBlock( $( this ) );\n\t// \t} );\n\t// } );\n\t// Initialize dynamic block preview (editor).\n\tif ( window.acf ) {\n\t\twindow.acf.addAction(\n\t\t\t'render_block_preview/type=content_with_image_slider',\n\t\t\tinitializeContentWithImageSliderBlock\n\t\t);\n\t}\n} )( jQuery );\n","(function($){\n\n /**\n * initializeHeroSliderBlock\n *\n * Adds custom JavaScript to the block HTML.\n *\n * @date 15/4/19\n * @since 1.0.0\n *\n * @param object $block The block jQuery element.\n * @param object attributes The block attributes (only available when editing).\n * @return void\n */\n var initializeHeroSliderBlock = function( $block ) {\n var id = '#'+$block[0].id+' .slider';\n $(id).slick({\n dots: true,\n speed: 300,\n slidesToShow: 1,\n slidesToScroll: 1,\n adaptiveHeight: true\n });\n }\n\n\n // Initialize each block on page load (front end).\n $(document).ready(function(){\n $('.hero-slider').each(function(){\n initializeHeroSliderBlock( $(this) );\n });\n });\n\n\n // Initialize dynamic block preview (editor).\n if( window.acf ) {\n window.acf.addAction( 'render_block_preview/type=hero_slider', initializeHeroSliderBlock );\n }\n\n})(jQuery);\n","// Start tabs.js\n(function() {\n /**\n * tabs\n *\n * @description The Tabs component.\n * @param {Object} options The options hash\n */\n var tabs = function(options) {\n console.log(options.el)\n var el = document.querySelector(options.el);\n var tabNavigationLinks = document.querySelectorAll(options.tabNavigationLinks);\n var tabContentContainers = document.querySelectorAll(options.tabContentContainers);\n var activeIndex = options.activeIndex;\n // console.log(activeIndex)\n var initCalled = false;\n /**\n * init\n *\n * @description Initializes the component by removing the no-js class from\n * the component, and attaching event listeners to each of the nav items.\n * Returns nothing.\n */\n \n var scrollIt = function(destination, duration, offsetdesktop, offsetmobile, callback) {\n var offset = 0;\n\n if(window.innerWidth < 768){\n\n offset = offsetmobile;\n\n }\n else{\n\n offset = offsetdesktop;\n }\n\n // var easings = t * (2 - t);\n // {\n //\n // easeOutQuad = function(t) {\n // return t * (2 - t);\n // }\n //\n // };\n\n var start = window.pageYOffset;\n var startTime = 'now' in window.performance ? performance.now() : new Date().getTime();\n\n var documentHeight = Math.max(document.body.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight, document.documentElement.scrollHeight, document.documentElement.offsetHeight);\n var windowHeight = window.innerHeight || document.documentElement.clientHeight || document.getElementsByTagName('body')[0].clientHeight;\n var destinationOffset = typeof destination === 'number' ? destination: (destination.offsetTop !=0?destination.offsetTop:destination.offsetParent.offsetTop);\n var destinationOffsetToScroll = Math.round(documentHeight - destinationOffset < windowHeight ? documentHeight - windowHeight : destinationOffset) - offset;\n\n if ('requestAnimationFrame' in window === false) {\n window.scroll(0, destinationOffsetToScroll);\n if (callback) {\n callback();\n }\n return;\n }\n\n function scroll() {\n var now = 'now' in window.performance ? performance.now() : new Date().getTime();\n var time = Math.min(1, ((now - startTime) / duration));\n var timeFunction = time * (2 - time); //easings[easing](time);\n window.scroll(0, Math.ceil((timeFunction * (destinationOffsetToScroll - start)) + start));\n\n if (window.pageYOffset === destinationOffsetToScroll) {\n if (callback) {\n callback();\n }\n return;\n }\n\n requestAnimationFrame(scroll);\n }\n\n scroll();\n }\n var init = function() {\n if (!initCalled) {\n initCalled = true;\n el.classList.remove('no-js');\n\n for (var i = 0; i < tabNavigationLinks.length; i++) {\n var link = tabNavigationLinks[i];\n handleClick(link, i);\n }\n\n // If the deepLink option is set to true and a URL # exists\n // TODO: loop through tabContentContainers and get the id, check to see if it is equal to the url hash and use the handleClick function to change the slide based on index\n if (options.deepLink && location.hash){\n\n var hash = location.hash.substr(1);\n // If there is an element that has the ID equal to the URL hash\n if (document.getElementById(hash)){\n\n /* Remove is-active classnames */\n var clear_active_tab_link = document.querySelector(\".tab-link\");\n clear_active_tab_link.classList.remove(\"is-active\");\n\n var clear_active_tab_content = document.querySelector(\".tab-content\");\n clear_active_tab_content.classList.remove(\"is-active\");\n\n /* Add is-active classnames based on url hash */\n var active_tab_link = document.querySelector('[data-id=\"'+hash+'\"]');\n\n active_tab_link.click();\n\n active_tab_link.classList.add(\"is-active\");\n var active_tab_content = document.getElementById(hash);\n active_tab_content.classList.add(\"is-active\");\n\n scrollIt(document.getElementById(hash),300,250,150);\n }\n\n }\n\n }\n };\n /**\n * handleClick\n *\n * @description Handles click event listeners on each of the links in the\n * tab navigation. Returns nothing.\n * @param {HTMLElement} link The link to listen for events on\n * @param {Number} index The index of that link\n */\n var handleClick = function(link, index) {\n link.addEventListener('click', function(e) {\n e.preventDefault();\n goToTab(index);\n\n // stores hash state in history for back button\n if(options.deepLink){\n history.replaceState(null, null, '#'+this.getAttribute('data-id')+'');\n }\n\n\n\n });\n };\n /**\n * goToTab\n *\n * @description Goes to a specific tab based on index. Returns nothing.\n * @param {Number} index The index of the tab to go to\n */\n var goToTab = function(index) {\n if (index !== activeIndex && index >= 0 && index <= tabNavigationLinks.length) {\n tabNavigationLinks[activeIndex].classList.remove('is-active');\n tabNavigationLinks[index].classList.add('is-active');\n tabContentContainers[activeIndex].classList.remove('is-active');\n tabContentContainers[index].classList.add('is-active');\n activeIndex = index;\n }\n };\n /**\n * Returns init and goToTab\n */\n return {\n init: init,\n goToTab: goToTab\n };\n };\n /**\n * Attach to global namespace\n */\n window.tabs = tabs;\n})();\n// End tabs.js\n","(function($){\n\n /**\n * initializeTabsBlock\n *\n * Adds custom JavaScript to the block HTML.\n *\n * @date 15/4/19\n * @since 1.0.0\n *\n * @param object $block The block jQuery element.\n * @param object attributes The block attributes (only available when editing).\n * @return void\n */\n var initializeTabsBlock = function( $block ) {\n\n var id = '#'+$block[0].id\n console.log('test ',id)\n if(id !== '#'){\n var myTabs = tabs({\n el: id,\n tabNavigationLinks: '.tab-link',\n tabContentContainers: '.tab',\n // deepLink: deep_link,\n activeIndex: 0\n });\n myTabs.init();\n }\n // $(id).slick({\n // dots: true,\n // // infinite: false,\n // speed: 300,\n // slidesToShow: 1,\n // slidesToScroll: 1,\n \n // });\n }\n\n // Initialize each block on page load (front end).\n $(document).ready(function(){\n $('.tabs').each(function(){\n initializeTabsBlock( $(this) );\n // console.log('test')\n });\n });\n\n // Initialize dynamic block preview (editor).\n if( window.acf ) {\n window.acf.addAction( 'render_block_preview/type=tabs', initializeTabsBlock );\n }\n\n})(jQuery);","// extracted by mini-css-extract-plugin"],"sourceRoot":""}