PageSourceSearch

https://fluidsystems.org/wp-content/themes/virtawp/dist/main.d6a8360b2e39ca02d0e8.min.js

js fluidsystems.org collected 2026-10-02 21:55:38 UTC 27,439 bytes, 592 lines download raw bytes

1/******/ (function() { // webpackBootstrap
2/******/ 	"use strict";
3/******/ 	var __webpack_modules__ = ({
4
5/***/ "./ts/frontend/animations.ts":
6/*!***********************************!*\
7  !*** ./ts/frontend/animations.ts ***!
8  \***********************************/
9/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10
11__webpack_require__.r(__webpack_exports__);
12/* harmony export */ __webpack_require__.d(__webpack_exports__, {
13/* harmony export */   Animations: function() { return /* binding */ Animations; }
14/* harmony export */ });
15var Animations = /** @class */ (function () {
16    function Animations(domElementSelector, offsetValue) {
17        if (offsetValue === void 0) { offsetValue = 100; }
18        var _this_1 = this;
19        this.domElementSelector = domElementSelector;
20        this.offsetValue = offsetValue;
21        this.collectElements();
22        jQuery(document).scroll(function (event) { return _this_1.onScroll(event); });
23        jQuery(document).on('content-lazy-loaded', function () { return _this_1.refresh(); });
24    }
25    Animations.prototype.refresh = function () {
26        this.collectElements();
27        this.onScroll();
28    };
29    Animations.prototype.collectElements = function () {
30        this.domElements = jQuery(this.domElementSelector).filter(':not(.animating)');
31    };
32    Animations.prototype.onScroll = function (event) {
33        if (this.domElements.length > 0) {
34            var _this_2 = this;
35            this.domElements.each(function (key, element) {
36                element = jQuery(element);
37                if (_this_2.isInViewport(element)) {
38                    element.addClass('animating');
39                    var delay = element.data('animation-delay') || 0.1;
40                    setTimeout(function () {
41                        element.addClass('ready');
42                    }, delay * 1000);
43                }
44            });
45            this.domElements = this.domElements.filter(':not(.animating)');
46        }
47    };
48    Animations.prototype.isInViewport = function (element) {
49        var elementTop = element.offset().top;
50        var elementBottom = elementTop + element.outerHeight();
51        var viewportTop = jQuery(window).scrollTop() + this.offsetValue;
52        var viewportBottom = viewportTop + jQuery(window).height() - (this.offsetValue * 2);
53        return elementBottom > viewportTop && elementTop < viewportBottom;
54    };
55    return Animations;
56}());
57
58
59
60/***/ }),
61
62/***/ "./ts/frontend/menu.ts":
63/*!*****************************!*\
64  !*** ./ts/frontend/menu.ts ***!
65  \*****************************/
66/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
67
68__webpack_require__.r(__webpack_exports__);
69/* harmony export */ __webpack_require__.d(__webpack_exports__, {
70/* harmony export */   Menu: function() { return /* binding */ Menu; }
71/* harmony export */ });
72var Menu = /** @class */ (function () {
73    function Menu(domElement) {
74        var _this = this;
75        this.mobileMenuIsActive = false;
76        this.slidingMenuCurrentDepth = 0;
77        this.maxHeight = '';
78        this.cleanupMobileMenu = function () {
79            _this.mobileMenuIsActive = false;
80            _this.domElement.removeClass('is-mobile-menu-active');
81            _this.domElement.addClass('is-desktop-menu-active');
82            _this.domElement.find('.hamburger.is-active').removeClass('is-active');
83            _this.domElement.find('.blockflow-navigation-list').attr('style', null);
84            jQuery('body').removeClass('menu-is-open');
85            jQuery('html').removeClass('menu-is-open');
86            if (_this.domElement.hasClass('mobile-nav-type-expanding')) {
87                _this.cleanUpExpandingMenu();
88            }
89            if (_this.domElement.hasClass('mobile-nav-type-sliding')) {
90                _this.cleanUpSlidingMenu();
91            }
92        };
93        this.cleanUpSlidingMenu = function () {
94            _this.domElement.find('.back-link').remove();
95            _this.domElement.find('.direct-link').remove();
96            _this.slidingMenuCurrentDepth = 0;
97            _this.domElement.find('.blockflow-navigation-level-0').css('transform', 'translateX(0)');
98            _this.domElement.find('.sub-menu').attr('style', '');
99            _this.domElement.find('.mega-menu').attr('style', '');
100            var subMenus = _this.domElement.find('li.has-sub-menu > a');
101            if (subMenus.length > 0) {
102                subMenus.each(function (key, subMenuLink) {
103                    var jQSubMenuLink = jQuery(subMenuLink);
104                    if (jQSubMenuLink.length > 0) {
105                        jQSubMenuLink.off('click.mobile-menu-slide');
106                    }
107                });
108            }
109        };
110        this.domElement = domElement;
111        if (this.domElement.hasClass('start-showing-mobile-nav-on-mobile')) {
112            this.mobileMenuBreakpoint = virtaSettings.breakpoints.mobile;
113        }
114        else if (this.domElement.hasClass('start-showing-mobile-nav-on-tablet')) {
115            this.mobileMenuBreakpoint = virtaSettings.breakpoints.tablet;
116        }
117        else if (this.domElement.hasClass('start-showing-mobile-nav-on-desktop')) {
118            this.mobileMenuBreakpoint = 0;
119        }
120        else {
121            this.mobileMenuBreakpoint = virtaSettings.breakpoints.mobile;
122        }
123        if (this.mobileMenuBreakpoint > 0) {
124            jQuery(window).resize(function (event) { return _this.onResize(event); });
125            if (jQuery(window).width() <= this.mobileMenuBreakpoint) {
126                this.initMobileMenu();
127            }
128            else {
129                this.domElement.addClass('is-desktop-menu-active');
130                setTimeout(function () {
131                    var megaMenus = _this.domElement.find('li.has-mega-menu');
132                    var parent = jQuery(_this.domElement).parent();
133                    while (parent && parent.css('position') === 'static') {
134                        parent = parent.parent();
135                    }
136                    if (_this.domElement.closest('header').length > 0) {
137                        parent = jQuery(_this.domElement.closest('header'));
138                    }
139                    var headerHeight = Number(parent.outerHeight());
140                    var containerPadding = Number(parent.find('.wp-block-blockflow-container').css('padding-bottom').replace(/px/, ""));
141                    var headerPadding = Number(parent.find('.wp-block-blockflow-container > .inner-container').css('padding-bottom').replace(/px/, ""));
142                    var navHeight = Number(_this.domElement.find('.blockflow-navigation-list').outerHeight());
143                    if (megaMenus.length > 0) {
144                        megaMenus.each(function (key, megaMenuLink) {
145                            var jQMegaMenuLink = jQuery(megaMenuLink);
146                            var linkPadding = Number(jQMegaMenuLink.css('padding-bottom').replace(/px/, ""));
147                            var distance = (headerHeight / 2) - headerPadding - containerPadding - (navHeight / 2) + linkPadding + 'px';
148                            jQMegaMenuLink.find('.mega-menu').css({ paddingTop: distance });
149                        });
150                        megaMenus.hover(function () {
151                            jQuery('body').toggleClass('megamenu-open');
152                        });
153                    }
154                }, 0);
155            }
156        }
157        else {
158            this.initMobileMenu();
159        }
160        this.domElement.addClass('menu-is-initialized');
161        this.domElement.find('.hamburger').on('click', function (event) { return _this.onHamburgerClick(event); });
162        jQuery('body').append('<div class="scrollbar-dummy"></div>');
163    }
164    Menu.prototype.initMobileMenu = function () {
165        var _this = this;
166        this.mobileMenuIsActive = true;
167        this.domElement.addClass('is-mobile-menu-active');
168        this.domElement.removeClass('is-desktop-menu-active');
169        if (this.domElement.hasClass('mobile-nav-type-expanding')) {
170            this.initExpandingMenu();
171        }
172        if (this.domElement.hasClass('mobile-nav-type-sliding')) {
173            this.initSlidingMenu();
174        }
175        setTimeout(function () {
176            var parent = jQuery(_this.domElement).parent();
177            while (parent && parent.css('position') === 'static') {
178                parent = parent.parent();
179            }
180            var parentHeight = parent.outerHeight() + (parent.offset().top - jQuery(window).scrollTop());
181            var dropdown = _this.domElement.find('.blockflow-navigation-list');
182            var innerSubMenus = _this.domElement.find('.blockflow-navigation-level-0, .mega-menu, sub-menu');
183            if (dropdown.length != 0) {
184                _this.maxHeight = 'calc(100vh - ' + (parentHeight + Number(jQuery('.blockflow-navigation-level-0').css('padding-top').replace(/px/, "")) + Number(jQuery('.blockflow-navigation-level-0').css('padding-bottom').replace(/px/, ""))) + 'px - var(--wp-admin--admin-bar--height, 0px))';
185                dropdown.css({
186                    top: parent.outerHeight() + 'px'
187                });
188                innerSubMenus.css({
189                    maxHeight: _this.maxHeight
190                });
191            }
192        }, 0);
193    };
194    Menu.prototype.initExpandingMenu = function () {
195        var _this = this;
196        var subMenus = this.domElement.find('li.has-sub-menu');
197        if (subMenus.length > 0) {
198            subMenus.each(function (key, subMenuLi) {
199                var jQSubMenuLi = jQuery(subMenuLi);
200                var innerEl = jQSubMenuLi.find('> a, > span');
201                var innerUl = jQSubMenuLi.find('ul');
202                innerUl.css('display', 'none');
203                if (innerEl.length > 0) {
204                    if (innerEl.is('a')) {
205                        var innerMenu = jQSubMenuLi.find('>.sub-menu');
206                        var directLinkElement = jQuery('<li>');
207                        directLinkElement.addClass('direct-link');
208                        directLinkElement.append(innerEl.clone().text(innerEl.data('responsive-label')));
209                        innerMenu.prepend(directLinkElement);
210                    }
211                    innerEl.addClass('toggle-link');
212                    innerEl.on('click.mobile-menu-toggledown', function (e) {
213                        e.preventDefault();
214                        if (!innerEl.hasClass('open') && innerEl.closest('.open').length <= 0) {
215                            _this.closeOpenMenus();
216                        }
217                        innerEl.next('.sub-menu').slideToggle();
218                        innerEl.parent().toggleClass('open');
219                    });
220                }
221            });
222        }
223        var megaMenus = this.domElement.find('li.has-mega-menu > a, li.has-mega-menu > span');
224        if (megaMenus.length > 0) {
225            megaMenus.each(function (key, megaMenuLink) {
226                var jQMegaMenuLink = jQuery(megaMenuLink);
227                jQMegaMenuLink.next('.mega-menu').css('display', 'none');
228                jQMegaMenuLink.addClass('toggle-link');
229                if (jQMegaMenuLink.is('a')) {
230                    var innerMenu = jQMegaMenuLink.next('.mega-menu');
231                    var directLinkElement = jQuery('<li>');
232                    directLinkElement.addClass('direct-link');
233                    directLinkElement.append(jQMegaMenuLink.clone().text(jQMegaMenuLink.data('responsive-label')));
234                    innerMenu.prepend(directLinkElement);
235                }
236                jQMegaMenuLink.on('click.mobile-megamenu-toggledown', function (e) {
237                    e.preventDefault();
238                    if (!jQMegaMenuLink.parent().hasClass('open')) {
239                        _this.closeOpenMenus();
240                    }
241                    jQMegaMenuLink.next('.mega-menu').slideToggle();
242                    jQMegaMenuLink.parent().toggleClass('open');
243                });
244            });
245        }
246    };
247    Menu.prototype.initSlidingMenu = function () {
248        var _this = this;
249        var container = this.domElement.find('.blockflow-navigation-list');
250        var parent = this.domElement.find('.blockflow-navigation-level-0');
251        var subMenus = this.domElement.find('li.has-sub-menu,li.has-mega-menu');
252        if (subMenus.length > 0) {
253            subMenus.each(function (key, subMenuLi) {
254                var jQSubMenuLi = jQuery(subMenuLi);
255                var innerEl = jQSubMenuLi.find('> a, > span');
256                if (innerEl.length > 0) {
257                    var innerMenu_1 = jQSubMenuLi.find('>.sub-menu,>.mega-menu');
258                    if (innerEl.is('a')) {
259                        var directLinkElement = jQuery('<li>');
260                        directLinkElement.addClass('direct-link');
261                        directLinkElement.append(innerEl.clone().text(innerEl.data('responsive-label')));
262                        innerMenu_1.prepend(directLinkElement);
263                    }
264                    innerMenu_1.hide();
265                    var backLinkElement = jQuery('<li>');
266                    backLinkElement.addClass('back-link');
267                    backLinkElement.text('Zurück');
268                    backLinkElement.on('click', function (e) {
269                        e.preventDefault();
270                        _this.slidingMenuCurrentDepth--;
271                        parent.css('transform', 'translateX(-' + _this.slidingMenuCurrentDepth * 100 + '%)');
272                        setTimeout(function () {
273                            innerMenu_1.hide();
274                        }, 400);
275                        var target = jQuery(e.target);
276                        var height = target.closest('.has-sub-menu, .has-mega-menu').closest('ul').outerHeight();
277                        target.closest('ul').css('overflow', 'auto');
278                        target.find('.sub-menu, .mega-menu').css('overflow', 'hidden');
279                        container.height(height);
280                    });
281                    innerMenu_1.prepend(backLinkElement);
282                    innerEl.addClass('slide-link');
283                    innerEl.on('click.mobile-menu-slide', function (e) {
284                        e.preventDefault();
285                        _this.slidingMenuCurrentDepth++;
286                        parent.css('transform', 'translateX(-' + _this.slidingMenuCurrentDepth * 100 + '%)');
287                        innerMenu_1.show();
288                        var target = jQuery(e.target);
289                        var height = target.next('.sub-menu, .mega-menu').outerHeight();
290                        target.next('.sub-menu, .mega-menu').css('overflow', 'auto');
291                        target.closest('ul').css('overflow', 'visible');
292                        container.height(height);
293                    });
294                }
295            });
296        }
297    };
298    Menu.prototype.closeOpenMenus = function () {
299        this.domElement.find('li.has-sub-menu.open').each(function (key, el) {
300            var jqEl = jQuery(el);
301            jqEl.find('.sub-menu').slideUp();
302            jqEl.removeClass('open');
303        });
304        this.domElement.find('li.has-mega-menu.open').each(function (key, el) {
305            var jqEl = jQuery(el);
306            jqEl.find('.mega-menu').slideUp();
307            jqEl.removeClass('open');
308        });
309    };
310    Menu.prototype.cleanUpExpandingMenu = function () {
311        this.domElement.find('.direct-link').remove();
312        this.domElement.find('.toggle-link').removeClass('toggle-link');
313        var subMenus = this.domElement.find('li.has-sub-menu');
314        subMenus.removeClass('open');
315        if (subMenus.length > 0) {
316            subMenus.each(function (key, subMenuLi) {
317                var jQSubMenuLi = jQuery(subMenuLi);
318                var innerEl = jQSubMenuLi.find('> a');
319                if (innerEl.length > 0) {
320                    innerEl.off('click.mobile-menu-toggledown');
321                    innerEl.next('.sub-menu').attr('style', '');
322                    innerEl.removeClass('toggle-link').removeClass('open');
323                }
324            });
325        }
326        var megaMenus = this.domElement.find('li.has-mega-menu > a');
327        if (megaMenus.length > 0) {
328            megaMenus.parent().removeClass('open');
329            megaMenus.each(function (key, subMenuLink) {
330                var jQSubMenuLink = jQuery(subMenuLink);
331                if (jQSubMenuLink.length > 0) {
332                    jQSubMenuLink.off('click.mobile-megamenu-toggledown');
333                    jQSubMenuLink.next('.mega-menu').attr('style', '');
334                    jQSubMenuLink.removeClass('toggle-link').removeClass('open');
335                }
336            });
337        }
338    };
339    Menu.prototype.onResize = function (event) {
340        if (!this.mobileMenuIsActive && jQuery(window).width() <= this.mobileMenuBreakp
340oint) {
341            this.initMobileMenu();
342        }
343        else if (this.mobileMenuIsActive && jQuery(window).width() > this.mobileMenuBreakpoint) {
344            this.cleanupMobileMenu();
345        }
346    };
347    Menu.prototype.onHamburgerClick = function (event) {
348        var target = jQuery(event.currentTarget);
349        target.toggleClass('is-active');
350        // different animations possible in the future
351        var container = target.closest('.blockflow-navigation-container');
352        var containerList = container.find('.blockflow-navigation-list');
353        containerList.slideToggle().toggleClass('is-open');
354        jQuery('body').toggleClass('menu-is-open');
355        jQuery('html').toggleClass('menu-is-open');
356    };
357    return Menu;
358}());
359
360
361
362/***/ })
362
363
364/******/ 	});
365/************************************************************************/
366/******/ 	// The module cache
367/******/ 	var __webpack_module_cache__ = {};
368/******/ 	
369/******/ 	// The require function
370/******/ 	function __webpack_require__(moduleId) {
371/******/ 		// Check if module is in cache
372/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
373/******/ 		if (cachedModule !== undefined) {
374/******/ 			return cachedModule.exports;
375/******/ 		}
376/******/ 		// Create a new module (and put it into the cache)
377/******/ 		var module = __webpack_module_cache__[moduleId] = {
378/******/ 			// no module.id needed
379/******/ 			// no module.loaded needed
380/******/ 			exports: {}
381/******/ 		};
382/******/ 	
383/******/ 		// Execute the module function
384/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
385/******/ 	
386/******/ 		// Return the exports of the module
387/******/ 		return module.exports;
388/******/ 	}
389/******/ 	
390/************************************************************************/
391/******/ 	/* webpack/runtime/define property getters */
392/******/ 	!function() {
393/******/ 		// define getter functions for harmony exports
394/******/ 		__webpack_require__.d = function(exports, definition) {
395/******/ 			for(var key in definition) {
396/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
397/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
398/******/ 				}
399/******/ 			}
400/******/ 		};
401/******/ 	}();
402/******/ 	
403/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
404/******/ 	!function() {
405/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
406/******/ 	}();
407/******/ 	
408/******/ 	/* webpack/runtime/make namespace object */
409/******/ 	!function() {
410/******/ 		// define __esModule on exports
411/******/ 		__webpack_require__.r = function(exports) {
412/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
413/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
414/******/ 			}
415/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
416/******/ 		};
417/******/ 	}();
418/******/ 	
419/************************************************************************/
420var __webpack_exports__ = {};
421// This entry need to be wrapped in an IIFE because it need to be isolated against other entry modules.
422!function() {
423var __webpack_exports__ = {};
424/*!********************!*\
425  !*** ./ts/main.ts ***!
426  \********************/
427__webpack_require__.r(__webpack_exports__);
428/* harmony import */ var _frontend_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./frontend/animations */ "./ts/frontend/animations.ts");
429/* harmony import */ var _frontend_menu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./frontend/menu */ "./ts/frontend/menu.ts");
430
431
432jQuery(function ($) {
433    var scrolled = false;
434    var jqWindow = $(window);
435    $(document).on('scroll', function () {
436        if (scrolled === false && jqWindow.scrollTop() > 0) {
437            scrolled = true;
438            $('body').addClass('scrolled');
439        }
440        else if (scrolled === true && jqWindow.scrollTop() <= 0) {
441            scrolled = false;
442            $('body').removeClass('scrolled');
443        }
444    });
445    $(document).trigger('scroll');
446    var menus = $('.wp-block-blockflow-navigation');
447    if (menus.length > 0) {
448        menus.each(function (key, value) {
449            value = $(value);
450            new _frontend_menu__WEBPACK_IMPORTED_MODULE_1__.Menu(value);
451        });
452    }
453    new _frontend_animations__WEBPACK_IMPORTED_MODULE_0__.Animations('.animation-fade-in, .animation-zoom-in, .animation-slide-in-from-left, .animation-slide-in-from-right, .animation-slide-in-from-bottom');
454    setTimeout(function () {
455        $(document).trigger('scroll');
456    }, 1000);
457    // Header
458    var header = $('header');
459    var nav = header.find('.wp-block-blockflow-navigation');
460    if (!virtaSettings.megaMenuFullWidth) {
461        nav.addClass('megamenu-not-fullwidth');
462    }
463    else {
464        nav.addClass('megamenu-fullwidth');
465    }
466    if (virtaSettings.menuOverlay) {
467        jQuery('body').addClass('menu-overlay');
468    }
469    // Select 2
470    var select2Language = 'de';
471    var placeholderStandard = 'Eine Option auswählen';
472    var placeholderCategory = 'Kategorie auswählen';
473    var placeholderLanguage = 'Sprache auswählen';
474    var placeholderTag = 'Schlagwort auswählen';
475    var placeholderFormat = 'Format auswählen';
476    var placeholderYear = 'Jahr auswählen';
477    if (document.body.classList.contains('lang-en')) {
478        var select2Language = 'en';
479        var placeholderStandard = 'Select an option';
480        var placeholderCategory = 'Select category';
481        var placeholderLanguage = 'Select language';
482        var placeholderTag = 'Select Tag';
483        var placeholderFormat = 'Select Format';
484        var placeholderYear = 'Select Year';
485    }
486    $('body:not(.login):not(.wp-admin) select').select2({
487        minimumResultsForSearch: Infinity,
488        placeholder: placeholderStandard,
489        language: select2Language,
490        allowClear: true
491    });
492    $(".wp-block-blockflow-polylang-switcher select").select2({
493        minimumResultsForSearch: Infinity,
494        placeholder: placeholderLanguage,
495        language: select2Language,
496        containerCssClass: "polylang-select",
497        dropdownCssClass: "polylang-select"
498    });
499    $(".query-filter-container select[name='taxonomy-category']").select2({
500        minimumResultsForSearch: Infinity,
501        placeholder: placeholderCategory,
502        language: select2Language,
503        allowClear: true
504    });
505    $(".query-filter-container select[name='taxonomy-post_tag']").select2({
506        minimumResultsForSearch: Infinity,
507        placeholder: placeholderTag,
508        language: select2Language,
509        allowClear: true
510    });
511    $(".query-filter-container select[name='taxonomy-post_format']").select2({
512        minimumResultsForSearch: Infinity,
513        placeholder: placeholderFormat,
514        language: select2Language,
515        allowClear: true
516    });
517    $(".query-filter-container select[name='taxonomy-language']").select2({
518        minimumResultsForSearch: Infinity,
519        placeholder: placeholderLanguage,
520        language: select2Language,
521        allowClear: true
522    });
523    $(".query-filter-container select[name='qyear']").select2({
524        minimumResultsForSearch: Infinity,
525        placeholder: placeholderYear,
526        language: select2Language,
527        allowClear: true
528    });
529    // Fix for Select2 dropdowns on WP when logged in: offset applied to <html> causes dropdowns to render badly
530    if ($('body.logged-in.admin-bar').length > 0) {
531        $('html').attr('style', 'margin-top: 0 !important;'); // Necessary to override WP's !important 
532        if (jQuery(window).width() < 782) {
533            $('body').css({ 'margin-top': 46 });
534        }
535        else {
536            $('body').css({ 'margin-top': 32 }); // Move the 32px gap
537        }
538        window.dispatchEvent(new Event("resize"));
539        window.onresize = function () {
540            if (jQuery(window).width() < 782) {
541                $('body').css({ 'margin-top': 46 });
542            }
543            else {
544                $('body').css({ 'margin-top': 32 });
545            }
546        };
547    }
548    // Add Classes For Breakpoints
549    var desktopBreakpoint = virtaSettings.breakpoints.desktop;
550    var tabletBreakpoint = virtaSettings.breakpoints.tablet;
551    var mobileBreakpoint = virtaSettings.breakpoints.mobile;
552    if (jQuery(window).width() > desktopBreakpoint) {
553        $('body').addClass('breakpoint-default').removeClass('breakpoint-desktop breakpoint-tablet breakpoint-mobile');
554    }
555    else if (jQuery(window).width() <= desktopBreakpoint && jQuery(window).width() > tabletBreakpoint) {
556        $('body').addClass('breakpoint-desktop').removeClass('breakpoint-default breakpoint-tablet breakpoint-mobile');
557    }
558    else if (jQuery(window).width() <= tabletBreakpoint && jQuery(window).width() > mobileBreakpoint) {
559        $('body').addClass('breakpoint-tablet').removeClass('breakpoint-default breakpoint-desktop breakpoint-mobile');
560    }
561    else if (jQuery(window).width() <= mobileBreakpoint) {
562        $('body').addClass('breakpoint-mobile').removeClass('breakpoint-default breakpoint-desktop breakpoint-tablet');
563    }
564    window.dispatchEvent(new Event("resize"));
565    window.onresize = function () {
566        if (jQuery(window).width() > desktopBreakpoint) {
567            $('body').addClass('breakpoint-default').removeClass('breakpoint-desktop breakpoint-tablet breakpoint-mobile');
568        }
569        else if (jQuery(window).width() <= desktopBreakpoint && jQuery(window).width() > tabletBreakpoint) {
570            $('body').addClass('breakpoint-desktop').removeClass('breakpoint-default breakpoint-tablet breakpoint-mobile');
571        }
572        else if (jQuery(window).width() <= tabletBreakpoint && jQuery(window).width() > mobileBreakpoint) {
573            $('body').addClass('breakpoint-tablet').removeClass('breakpoint-default breakpoint-desktop breakpoint-mobile');
574        }
575        else if (jQuery(window).width() <= mobileBreakpoint) {
576            $('body').addClass('breakpoint-mobile').removeClass('breakpoint-default breakpoint-desktop breakpoint-tablet');
577        }
578    };
579});
580
581}();
582// This entry need to be wrapped in an IIFE because it need to be isolated against other entry modules.
583!function() {
584/*!*************************!*\
585  !*** ./scss/style.scss ***!
586  \*************************/
587__webpack_require__.r(__webpack_exports__);
588// extracted by mini-css-extract-plugin
589
590}();
591/******/ })()
592;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.