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C,EAAE,IAAI,CAAC;EACZ,CAAC,CAAC;AACN,CAAC;;;;;;;;;;;;;ACtP8B;AACO;AAGtC0F,MAAM,CAACC,IAAI,CAACH,kCAAI,CAAC,CAACI,OAAO,CAAC,UAACC,GAAG;EAAA,OAAKL,kCAAI,CAACK,GAAG,CAAC,CAAC,CAAC;AAAA,EAAC;;;;;;UCJ/C;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA;WACA;WACA,kBAAkB,qBAAqB;WACvC,oHAAoH,iDAAiD;WACrK;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC7BA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,8CAA8C;;WAE9C;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,iCAAiC,mCAAmC;WACpE;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UElDA;UACA;UACA;UACA,6FAA6F,yDAAyD;UACtJ","sources":["webpack://energieboot-2/./assets/js/src/page/index.js","webpack://energieboot-2/./assets/js/src/page/scripts.js","webpack://energieboot-2/./assets/js/src/theme.js","webpack://energieboot-2/webpack/bootstrap","webpack://energieboot-2/webpack/runtime/chunk loaded","webpack://energieboot-2/webpack/runtime/compat get default export","webpack://energieboot-2/webpack/runtime/define property getters","webpack://energieboot-2/webpack/runtime/hasOwnProperty shorthand","webpack://energieboot-2/webpack/runtime/make namespace object","webpack://energieboot-2/webpack/runtime/jsonp chunk loading","webpack://energieboot-2/webpack/before-startup","webpack://energieboot-2/webpack/startup","webpack://energieboot-2/webpack/after-startup"],"sourcesContent":["export * from \"./scripts\";","import $ from \"jquery\";\r\nimport \"slick-carousel\";\r\n\r\nexport const PageScript = () => {\r\n \"use strict\";\r\n const myVideo = $('#bannerVideo')[0];\r\n function playPause() {\r\n if (myVideo.played) {\r\n myVideo.pause();\r\n $('.video-banner').removeClass('played');\r\n } else {\r\n myVideo.play();\r\n $('.video-banner').removeClass('played');\r\n }\r\n }\r\n $(window).on('load', function () {\r\n $('.video-banner').addClass('played');\r\n $('.disclaimer').each(function () {\r\n let thisHeight = $(this).outherHeight();\r\n\r\n $('#colofon').css('margin-bottom', thisHeight);\r\n })\r\n })\r\n\r\n $(window).on('resize', function () {\r\n $('.disclaimer').each(function () {\r\n let thisHeight = $(this).outherHeight();\r\n\r\n $('#colofon').css('margin-bottom', thisHeight);\r\n })\r\n })\r\n\r\n $(\".banner-overlay\").on('click', function () {\r\n $(this).parent().toggleClass('played');\r\n });\r\n $(\".mute-btn\").on(\"click\", function () {\r\n $('#bannerVideo').prop(\"muted\", !$('#bannerVideo').prop(\"muted\"));\r\n $(this).toggleClass('vol');\r\n });\r\n\r\n $(\".js-organization-popup-trigger\").on(\"click\", function () {\r\n const $this = $(this);\r\n const $header = $this.parents(\".js-item-header\");\r\n const id = $header.attr(\"data-id\");\r\n const $popup = $(`.js-popup-content[data-id=\"${id}\"]`);\r\n\r\n $(\".organization__item\").removeClass(\"active-tab\");\r\n $header.addClass(\"active-tab\");\r\n $(\".js-organization-popup\").addClass(\"is-popup-open\");\r\n\r\n // reset for other tabs\r\n $(\".organization__popup-header\").css({ \"pointer-events\": \"none\" })\r\n $(\".organization__popup-content\").css({ \"pointer-events\": \"none\" })\r\n $(\".js-popup-content\").css({ \"opacity\": 0, \"pointer-events\": \"none\" })\r\n\r\n // add opacity and pointer events to the current tab\r\n $(\".js-popup-content\").filter(`[data-id=\"${id}\"]`).css({ \"opacity\": 1, \"pointer-events\": \"all\" })\r\n $(\".js-popup-content\").filter(`[data-id=\"${id}\"]`).find(\".organization__popup-header\").css({ \"pointer-events\": \"all\" })\r\n $(\".js-popup-content\").filter(`[data-id=\"${id}\"]`).find(\".organization__popup-content\").css({ \"pointer-events\": \"all\" })\r\n });\r\n\r\n $(\".js-organization-popup-close\").on(\"click\", function () {\r\n $(\".js-organization-popup\").removeClass(\"is-popup-open\");\r\n $(\".js-popup-content\").css({ \"opacity\": 0, \"pointer-events\": \"none\" })\r\n $(\".organization__popup-header\").css({ \"pointer-events\": \"none\" })\r\n $(\".organization__popup-content\").css({ \"pointer-events\": \"none\" })\r\n });\r\n\r\n const initSlick = () => {\r\n const teamTimer = Number($(\".team-slider\").attr(\"data-timer\")); // in seconds\r\n const teamSpeedTimer = teamTimer * 1000; // in miliseconds\r\n\r\n const logoTimer = Number($(\".logo-carousel\").attr(\"data-timer\")); // in seconds\r\n const logoSpeedTimer = logoTimer * 1000; // in miliseconds\r\n\r\n $('.image-carousel').addClass('inislick').slick({\r\n dots: false,\r\n arrows: false,\r\n infinite: false,\r\n speed: 500,\r\n autoplay: true,\r\n autoplaySpeed: 5e3,\r\n slidesToShow: 5,\r\n slidesToScroll: 1,\r\n responsive: [{\r\n breakpoint: 992,\r\n settings: {\r\n slidesToShow: 5,\r\n slidesToScroll: 1\r\n }\r\n }, {\r\n breakpoint: 576,\r\n settings: {\r\n slidesToShow: 4,\r\n slidesToScroll: 1\r\n }\r\n }]\r\n });\r\n\r\n $('.logo-carousel').addClass('inislick').slick({\r\n dots: false,\r\n arrows: false,\r\n infinite: true,\r\n speed: 8000,\r\n autoplay: true,\r\n autoplaySpeed: logoSpeedTimer,\r\n slidesToShow: 6,\r\n slidesToScroll: 1,\r\n cssEase: 'linear',\r\n pauseOnHover: false,\r\n responsive: [{\r\n breakpoint: 992,\r\n settings: {\r\n slidesToShow: 6,\r\n slidesToScroll: 1\r\n }\r\n }, {\r\n breakpoint: 576,\r\n settings: {\r\n slidesToShow: 5,\r\n slidesToScroll: 1\r\n }\r\n }\r\n ]\r\n });\r\n\r\n $(\".team-slider\").slick({\r\n adaptiveHeight: true,\r\n speed: 500,\r\n autoplay: true,\r\n autoplaySpeed: teamSpeedTimer,\r\n slidesToShow: 1,\r\n infinite: !0,\r\n arrows: true,\r\n draggable: !0,\r\n dots: false,\r\n });\r\n }\r\n\r\n initSlick();\r\n\r\n const header = $('#masthead'),\r\n distance = header.outerHeight() * 2;\r\n\r\n $(window).on('scroll', function () {\r\n const scrollTop = $(this).scrollTop();\r\n\r\n if (scrollTop >= distance) {\r\n header.addClass('sticky');\r\n } else {\r\n header.removeClass('sticky');\r\n }\r\n });\r\n\r\n\r\n const programAccordion = document.getElementById('programAccordion')\r\n\r\n programAccordion.addEventListener('show.bs.collapse', event => {\r\n const index = event.target.attributes['accordion-index'].value;\r\n const currentBackground = $(\".js-program-background-\" + index);\r\n const currentIcon = $(\".js-program-icon-\" + index);\r\n\r\n $(\".programBox__image-background\").removeClass('is-active');\r\n $(\".programBox__image-icon\").removeClass('is-active');\r\n\r\n currentBackground.addClass('is-active');\r\n currentIcon.addClass('is-active');\r\n })\r\n\r\n $(\".pakket-option\").on(\"click\", function () {\r\n if ($(this).is(':checked')) {\r\n $(\"#pakket-info\").slideDown('fast');\r\n }\r\n })\r\n\r\n $('.menu-trigger').on('click', function () {\r\n $('#main-menu').stop().slideToggle('fast');\r\n });\r\n $(document).on('click', function (m) {\r\n if ($(m.target).closest(\".menu-trigger\").length === 0) {\r\n $('#main-menu').hide();\r\n }\r\n });\r\n\r\n $(document).on(\"ready\", function () {\r\n $('.anchor-menu').each(function () {\r\n const $this = $(this);\r\n const anchor = $this.data('anchor');\r\n const anchorTarget = $(anchor + '.anchor-target');\r\n const parent = $this.parent();\r\n const parSiblings = parent.siblings();\r\n const otherMenu = parSiblings.children('.anchor-menu');\r\n const offset = anchorTarget.offset();\r\n const offsetTop = offset.top;\r\n\r\n $(this).attr('id', anchor + '-menu');\r\n\r\n $(this).on('click', function (a) {\r\n a.preventDefault();\r\n otherMenu.removeClass('current');\r\n $this.addClass('current');\r\n $('html, body').animate({\r\n scrollTop: offsetTop\r\n }, 300)\r\n });\r\n\r\n new Waypoint({\r\n element: anchorTarget,\r\n handler: function () {\r\n otherMenu.removeClass('current');\r\n $this.addClass('current');\r\n },\r\n offset: 0\r\n });\r\n });\r\n });\r\n\r\n\r\n $(window).on('scroll', function () {\r\n if ($(window).scrollTop() + $(window).height() == $(document).height()) {\r\n $('.anchor-menu').removeClass('current');\r\n $(\".menu-item:last-child\").addClass('current');\r\n } else if ($(window).scrollTop() == 0) {\r\n $('.anchor-menu').removeClass('current');\r\n $(\".menu-item:first-child\").addClass('current');\r\n } else {\r\n $(\".menu-item\").removeClass('current');\r\n }\r\n });\r\n\r\n $(document).on(\"click\", \".close-form\", function () {\r\n $(this).parent().fadeOut(function () {\r\n $(this).remove();\r\n });\r\n });\r\n\r\n $(document).on(\"click\", \".programHover\", function () {\r\n $(\".programHover\").children().removeClass(\"is-active\");\r\n\r\n const $thePopup = $(this).children().first();\r\n $thePopup.addClass(\"is-active\");\r\n\r\n setTimeout(function () {\r\n $thePopup.removeClass(\"is-active\");\r\n }, 2500);\r\n });\r\n}\r\n","import * as Page from \"./page\";\r\nimport * as bootstrap from 'bootstrap'\r\n\r\n\r\nObject.keys(Page).forEach((key) => Page[key]());\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"js/dist/themes\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkenergieboot_2\"] = self[\"webpackChunkenergieboot_2\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"js/dist/vendors\"], function() { return __webpack_require__(\"./assets/js/src/theme.js\"); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["$","PageScript","myVideo","playPause","played","pause","removeClass","play","window","on","addClass","each","thisHeight","outherHeight","css","parent","toggleClass","prop","$this","$header","parents","id","attr","$popup","concat","filter","find","initSlick","teamTimer","Number","teamSpeedTimer","logoTimer","logoSpeedTimer","slick","dots","arrows","infinite","speed","autoplay","autoplaySpeed","slidesToShow","slidesToScroll","responsive","breakpoint","settings","cssEase","pauseOnHover","adaptiveHeight","draggable","header","distance","outerHeight","scrollTop","programAccordion","document","getElementById","addEventListener","event","index","target","attributes","value","currentBackground","currentIcon","is","slideDown","stop","slideToggle","m","closest","length","hide","anchor","data","anchorTarget","parSiblings","siblings","otherMenu","children","offset","offsetTop","top","a","preventDefault","animate","Waypoint","element","handler","height","fadeOut","remove","$thePopup","first","setTimeout","Page","bootstrap","Object","keys","forEach","key"],"sourceRoot":""}