{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/assets/js/app.js"],"names":["$","document","ready","$devLinks","$pages","setPage","pageId","hide","show","removeClass","addClass","click","$event","target","attr","window","location","hash","toggle","each","index","carousel","$carousel","id","slick","dots","slidesToShow","slidesToScroll","prevArrow","nextArrow","dotsClass","responsive","breakpoint","settings","popover","html","trigger","on","event","data","$dot","stickyOffset","$stickyHeader","stickedClassName","setHeaderState","scrollTop","$header","hasClass","stickyHeaderHeight","animate","next","offset","top","myLink","e","gotTooltip","length","hover","fadeIn","fadeOut","mousemove","x","pageX","left","y","pageY","css","questions","value","label","subPlaceholder","subOptions","initForm","$element","$firstDropdown","find","$firstDropdownHeader","$firstDropdownMenu","$firstDropdownItems","$secondDropDown","$secondDropdownHeader","$secondDropdownMenu","$secondDropdownItems","$firstQuestionInput","$secondQuestionInput","$industryInput","$inputFields","$industryDropdownItems","$industryDropdownHeader","onIndustryItemsSelected","setFirstDropdown","$placeholderItem","children","forEach","question","$template","clone","text","append","onFirstDropdownSelected","preventDefault","dropdown","setSecondDropdown","val","subquestion","item","empty","onSecondDropdownSelected","$howCanWeHelpForms"],"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;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;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AAqB,OAArB,CAAd;AACA,UAAM8B,KAAK,GAAGrE,CAAC,CAACsC,KAAK,CAACzB,MAAP,CAAD,CAAgBoF,IAAhB,EAAd;AAEAT,6BAAuB,CAACS,IAAxB,CAA6B5B,KAA7B;AACAgB,oBAAc,CAACkB,GAAf,CAAmBnC,KAAnB;AACH;AACJ;;AAEDwC,oBAAkB,GAAG5G,CAAC,CAAC,eAAD,CAAtB;AACA4G,oBAAkB,CAACzF,IAAnB,CAAwB,UAACC,KAAD,EAAQqF,IAAR,EAAiB;AACrCjC,YAAQ,CAACxE,CAAC,CAACyG,IAAD,CAAF,CAAR;AACH,GAFD;AAGH,CArQD,E","file":"app.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","$(document).ready(function () {\n // TEST - DEV\n var $devLinks = $('.dev-header .dev-header__link');\n var $pages = $('.dev-page');\n var setPage = function (pageId) {\n $pages.hide();\n $(pageId).show();\n $devLinks.removeClass('active');\n $('.dev-header .dev-header__link[href=\"' + pageId + '\"]').addClass('active');\n };\n $devLinks.click(function ($event) {\n setPage($($event.target).attr('href'));\n $('.dev-header__menu').hide();\n });\n\n setPage(window.location.hash || '#home');\n\n $('.dev-header__menu-opener').click(() => {\n $('.dev-header__menu').toggle();\n });\n ///\n // setting up the carousel\n $('.customer-carousel__stripe').each(function (index, carousel) {\n var $carousel = $(carousel);\n var id = carousel.id;\n $carousel.slick({\n dots: true,\n slidesToShow: 3,\n slidesToScroll: 3,\n prevArrow: '#' + id + ' ~ .customer-carousel__control-prev',\n nextArrow: '#' + id + ' ~ .customer-carousel__control-next',\n dotsClass: 'customer-carousel__dots',\n responsive: [\n {\n breakpoint: 1200,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2\n }\n },\n {\n breakpoint: 780,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1\n }\n }\n ]\n });\n });\n\n // map popovers init\n $('[data-toggle=popover]').popover({\n html: true,\n trigger: 'hover click'\n });\n\n $('.map-top__map-group-citylist-city').on('mouseover mouseout', function (event) {\n var id = $(event.target).data('id');\n var $dot = $('.map-top__map-dot[data-id=' + id);\n $dot.click();\n });\n\n // setting up the sticky header alter style\n var stickyOffset = 50;\n var $stickyHeader = $('.header-menu');\n var stickedClassName = 'header-menu--sticked';\n\n function setHeaderState() {\n // console.log('scrolled');\n if ($(window).scrollTop() > stickyOffset) {\n return $stickyHeader.addClass(stickedClassName);\n }\n $stickyHeader.removeClass(stickedClassName);\n }\n\n $(window).on('scroll', setHeaderState);\n setHeaderState();\n\n // mobile menu\n $('.header-menu__mobile-menu').click(function () {\n $header = $('.header-menu');\n if ($header.hasClass('header-menu--mobile-open')) {\n $header.removeClass('header-menu--mobile-open')\n } else {\n $header.addClass('header-menu--mobile-open')\n }\n });\n\n //setting up the scroll-down in tool page\n const stickyHeaderHeight = 104;\n $('.page-tools__header-item-downbtn-item').click(function () {\n $('html, body').animate({\n scrollTop: $(\".page-tools__header\").next().offset().top - stickyHeaderHeight\n }, 1000);\n });\n\n //setting up the scroll-down in for-influencers page\n $('.for-influencers-header__scroll-content').click(function () {\n $('html, body').animate({\n scrollTop: $('.page-for-influencers__header').next().offset().top - stickyHeaderHeight\n }, 1000);\n });\n\n //setting up the scroll-down in about-us page\n $('.anchor-navigation__link').click(function () {\n var myLink = '.target-' + $(this).attr('data-target');\n\n $('html, body').animate({\n scrollTop: $(myLink).offset().top - stickyHeaderHeight\n }, 1000);\n });\n\n\n // PRICING TOOLTIP\n $('.pricing-plan .pricing-plan__list-item span').each(function (e) {\n let gotTooltip = $(this).next('.pricing-plan__list-hint').length;\n if (gotTooltip) {\n $(this).addClass('got-tooltip')\n }\n $(this).hover(\n function (e) {\n $(this).next('.pricing-plan__list-hint').fadeIn('fast');\n },\n function () {\n $(this).next('.pricing-plan__list-hint').fadeOut('fast');\n }\n ).mousemove(function (e) {\n let x = (e.pageX - $(this).offset().left) + 45;\n let y = (e.pageY - $(this).offset().top) + 12;\n $(this).next('.pricing-plan__list-hint').css({left: x, top: y})\n });\n });\n // /PRICING TOOLTIP\n\n // How can we help form\n var questions = [\n {\n value: 'firstoptions-1',\n label: 'I need help with tool',\n subPlaceholder: 'Which tool?',\n subOptions: [\n {\n value: 'bela',\n label: 'Béla tool'\n },\n {\n value: 'jeno',\n label: 'Jenő tool'\n },\n {\n value: 'motyo',\n label: 'Motyo tool'\n }\n ]\n },\n {\n value: 'firstoptions-2',\n label: 'I need help with my mind',\n subPlaceholder: 'More specificly?',\n subOptions: [\n {\n value: 'hovercarft',\n label: 'My Hovercraft is full of eels'\n },\n {\n value: 'sauerkraut',\n label: 'Das ist där Sauerkraut in meine leder hosen'\n }\n ]\n }\n ];\n\n function initForm($element) {\n\n const $firstDropdown = $element.find('[data-id=\"first-dropdown\"]');\n const $firstDropdownHeader = $element.find('[data-id=\"first-dropdown\"] .howcanwehelp__dropdown-button');\n const $firstDropdownMenu = $element.find('[data-id=\"first-dropdown\"] .howcanwehelp__dropdown-menu');\n let $firstDropdownItems = null;\n\n const $secondDropDown = $element.find('[data-id=\"second-dropdown\"]');\n const $secondDropdownHeader = $element.find('[data-id=\"second-dropdown\"] .howcanwehelp__dropdown-button');\n const $secondDropdownMenu = $element.find('[data-id=\"second-dropdown\"] .howcanwehelp__dropdown-menu');\n let $secondDropdownItems = null;\n\n const $firstQuestionInput = $element.find('#howcanwehelp-firstquestion');\n const $secondQuestionInput = $element.find('#howcanwehelp-secondquestion');\n const $industryInput = $element.find('#howcanwehelp-industry');\n\n const $inputFields = $element.find('.howcanwehelp__input-fields');\n\n const $industryDropdownItems = $element.find('[data-id=\"industry-dropdown\"] .howcanwehelp__dropdown-menu-item');\n const $industryDropdownHeader = $element.find('[data-id=\"industry-dropdown\"] .howcanwehelp__dropdown-button');\n\n $industryDropdownItems.click(onIndustryItemsSelected);\n\n setFirstDropdown();\n\n function setFirstDropdown() {\n var $placeholderItem = $firstDropdownMenu.children(0);\n questions.forEach((question) => {\n const $template = $placeholderItem.clone();\n $template.text(question.label);\n $template.data('item-value', question.value);\n $firstDropdownMenu.append($template);\n });\n $firstDropdownItems = $element.find('[data-id=\"first-dropdown\"] .dropdown-item');\n $firstDropdownItems.click(onFirstDropdownSelected);\n $placeholderItem.hide();\n }\n\n function onFirstDropdownSelected(event) {\n event.preventDefault();\n const value = $(event.target).data('item-value');\n const text = $(event.target).text();\n $firstDropdownHeader.text(text);\n $firstDropdown.dropdown('hide');\n setSecondDropdown(value);\n $firstQuestionInput.val(value);\n $firstDropdown.addClass('selected');\n return false;\n }\n\n function setSecondDropdown(value) {\n var $placeholderItem = $($secondDropdownMenu.children()[0]);\n subquestion = questions.find((item) => item.value === value);\n $secondDropdownHeader.text(subquestion.subPlaceholder);\n $secondDropdownMenu.empty();\n subquestion.subOptions.forEach(question => {\n const $template = $placeholderItem.clone();\n $template.text(question.label);\n $template.data('item-value', question.value);\n $secondDropdownMenu.append($template);\n });\n $secondDropdownItems = $element.find('[data-id=\"second-dropdown\"] .dropdown-item');\n $secondDropdownItems.click(onSecondDropdownSelected);\n $secondDropDown.show();\n }\n\n function onSecondDropdownSelected(event) {\n const value = $(event.target).data('item-value');\n const text = $(event.target).text();\n $secondQuestionInput.val(value);\n $secondDropdownHeader.text(text);\n $inputFields.show();\n $secondDropDown.addClass('selected');\n }\n\n function onIndustryItemsSelected(event) {\n const value = $(event.target).data('value');\n const label = $(event.target).text();\n\n $industryDropdownHeader.text(label);\n $industryInput.val(value);\n }\n }\n\n $howCanWeHelpForms = $('.howcanwehelp');\n $howCanWeHelpForms.each((index, item) => {\n initForm($(item));\n });\n});\n\n\n"],"sourceRoot":""}