PageSourceSearch

https://www.also.pt/ec/cms5/media/js/script_2640_2022_js.js

js also.pt collected 2026-10-09 22:41:59 UTC 181,981 bytes, 2,496 lines download raw bytes

1
2var ALSO = {
3
4    timeout: 400,
5
6    init: function () {
7
8    },
9
10    onload: function () {
11        var container = document.querySelectorAll('.js-Masonry > .row');
12        for (var i = 0; i < container.length; i++) {
13            var msnry = new Masonry(container[i], {
14                itemSelector: 'div:not(.row)'
15            });
16        }
17
18        this.onresize();
19        window.setTimeout(function () {
20            ALSO.onresize();
21        }, 800);
22
23    },
24
25    onready: function () {
26        $(".js-wordSplit").lettering('words');
27        this.onresize();
28        this.video.init();
29        this.swiper.init();
30        this.career.init();
31        this.lightbox.init();
32        this.header.init();
33        this.accordeon.init();
34    },
35
36    onresize: function () {
37        if ($(window).width() < 768) {
38            $('.u-BackgroundImageFull, .u-BackgroundImage').height("auto");
39        } else {
40            $('.u-BackgroundImageFull').each(function (index, el) {
41                $(el).height($(el).find('img').height() - 80);
42            });
43            $('.u-BackgroundImage').each(function (index, el) {
44                $(el).height($(el).find('img').height());
45            });
46
47        }
48
49        ALSO.swiper.onResize();
50        ALSO.header.onResize();
51        ALSO.svg.resize();
52    },
53
54    accordeon: {
55
56        init: function () {
57            if (window.location.hash) {
58                ALSO.accordeon.expand(2000);
59            }
60            $(window).on('hashchange', function () {
61                ALSO.accordeon.expand(1);
62            });
63            $("a").click(function (event) {
64                if ($(this).attr("href").match(/([^#?=]+)=([^&]*)/g)) {
65                    ALSO.accordeon.expand(1);
66                }
67
68                // if($(this).attr("href").match(/body-\d/g)){
69                //     event.preventDefault();
70                //     ALSO.accordeon.expand(1);
71                // }
72            });
73        },
74
75
76        expand: function (to) {
77            var expr = new RegExp(/([^#?=]+)=([^&]*)/g);
78            var match;
79            while ((match = expr.exec(window.location.hash)) !== null) {
80                var accordeon = $("#" + match[1]);
81                if ($(accordeon).length > 0) {
82                    $(accordeon).find('> .panel > .panel-collapse').collapse('hide');
83                    var panel = $(accordeon).find("> .panel #" + match[2]);
84                    $(panel).collapse("show");
85                    // window.setTimeout(function(){
86                    //     $(window).scrollTop(($(panel).parent().offset().top - $("#header").height()));
87                    // }, to);
88                }
89            }
90        }
91    },
92
93    video: {
94
95        init: function () {
96
97            $(".c-Video a img").on("click", function () {
98                $(this).parents("div:first").find("iframe").attr("src", $(this).parent().attr("href")).css({ display: "block" });
99                $(this).fadeOut();
100                return false;
101            });
102
103        }
104
105    },
106
107    svg: {
108        resize: function () {
109            if ($("section:not(.c-B2BMarketplace) :not(.c3) :not(#lottie) svg").length > 0) {
110                var w = $("svg").parent().width();
111                $("svg").css({
112                    width: w,
113                    height: parseInt(w * 1.0673),
114                    maxWidth: "100%"
115                });
116
117            }
118
119        }
120
121    },
122    swiper: {
123        swipes: [],
124
125        init: function () {
126
127            $('.swiper-container:not(".show-2"):not(".show-3"):not(".parallax-slider")').each(function (i, obj) {
128                initSwiperObject(obj);
129            });
130
131            $('.swiper-container.show-2:not(".parallax-slider")').each(function (i, obj) {
132                initSwiperObject(obj, 'show-2');
133            });
134
135            $('.swiper-container.show-3:not(".parallax-slider")').each(function (i, obj) {
136                initSwiperObject(obj, 'show-3');
137            });
138
139            $('.swiper-container.show-4:not(".parallax-slider")').each(function (i, obj) {
140                initSwiperObject(obj, 'show-4');
141            });
142
143            $('.swiper-container.show-6:not(".parallax-slider")').each(function (i, obj) {
144                initSwiperObject(obj, 'show-6');
145            });
146
147            $('.swiper-container.parallax-slider:not(".show-3")').each(function (i, obj) {
148                initSwiperObject(obj, 'parallax');
149            });
150
151            function initSwiperObject(thatSwiper, type) {
152                console.log("call function initSwiperObject with type " + type);
153                console.log(thatSwiper);
154
155                var type = type || 'default';
156                var sIndex = ALSO.swiper.swipes.length;
157                var $theSwiper = $(thatSwiper);
158
159                var startSlide = ($theSwiper.data('random')) ? randomizeInitialSlide($theSwiper.find('.swiper-wrapper').data('size')) : 0;
160
161                var cSlides = 'auto';
162                if (type.indexOf('-') > 0) cSlides = (window.innerWidth > 768) ? type.split('-')[1] : 1;
163
164                $(thatSwiper).addClass('swiper-' + sIndex);
165
166                ALSO.swiper.swipes.push(new Swiper('.swiper-' + sIndex, {
167                    autoplay: ($(thatSwiper).attr("data-autoplay") ? $(thatSwiper).attr("data-autoplay") : false),
168                    autoplayDisableOnInteraction: false,
169                    initialSlide: startSlide,
170                    loop: true,
171                    loopedSlides: $(thatSwiper).find(".swiper-slide").length,
172                    speed: (type === 'parallax') ? 1000 : 400,
173                    parallax: (type === 'parallax'),
174                    effect: (type === 'parallax') ? 'fade' : 'slide',
175                    pagination: '.swiper-' + sIndex + ' .swiper-pagination',
176                    nextButton: '.swiper-' + sIndex + ' .swiper-button-next',
177                    prevButton: '.swiper-' + sIndex + ' .swiper-button-prev',
178                    slidesPerView: cSlides,
179                    centeredSlides: (cSlides === '2') ? false : true,
180                    paginationClickable: true,
181                    preventClicks: false,
182                    preventClicksPropagation: false,
183                    followFinger: (type !== 'parallax'),
184                    spaceBetween: parseInt(($(".swiper-container").attr("data-spacebetween") ? $(".swiper-container").attr("data-spacebetween") : 0)),
185                    paginationBulletRender: function (index, className) {
186                        if (cSlides !== 'auto') {
187                            if ($(window).width() > 768) {
188                                if (index % cSlides === 0) {
189                                    return '<span class="' + className + '"></span>';
190                                } else {
191                                    return '<span style="display:none;" class="' + className + '"></span>';
192                                }
193                            }
194                        }
195                        return '<span class="' + className + '"></span>';
196                    },
197                    onSlideChangeEnd: function (val) {
198                        $(thatSwiper).find('.js-SliderPaging').css('top', $('.swiper-' + sIndex + ' .swiper-slide-active').find('img').height() - 20);
199                        $(thatSwiper).find('.js-SliderCurrent').text(val.activeIndex + 1);
200                        if ($(thatSwiper).find('.number-animated').length > 0) ALSO.helper.calcKPIs($(thatSwiper));
201
202                        if ($(".c-SliderHome").find('.swiper-slide-active').length > 0) {
203                            let slide = $(".c-SliderHome").find('.swiper-slide-active').get(0);
204                            let slot = $(slide).attr('data-swiper-slide-index');
205                            let imgSrc = $(slide).find('img').attr('src');
206                            let splittedImgSrc = imgSrc.split('/');
207                            let name = splittedImgSrc[splittedImgSrc.length - 1].replace(/\.[^/.]+$/, '');
208                            // console.log(slot);
209                            // console.log(name);
210                            // Sent active slide to MAPP
211                            window.wt_ttv2 = window.wt_ttv2 || [];
212                            window.wt_ttv2.push(
213                                {
214                                    selector: slide,
215                                    data: {
216                                        name: name,
217                                        content: "mainslider_slot_" + slot,
218                                        rank: "mainslider"
219                                    },
220                                    conversion: {
221                                        type: 'click',
222                                        goal: 'both'
223                                    }
224                                }
225                            );
226
227                        }
228
229                    },
230                    onTouchStart: function (s, e) {
231                        var parentSwipe = $(e.target).parents(".swiper-slide").eq(0);
232                        if (parentSwipe.length <= 0) {
233                            return;
234                        }
235
236                        var isActiveElement = parentSwipe.hasClass("swiper-slide-active");
237                        if (!isActiveElement) {
238                            return;
239                        }
240
241                        var isAnATag = e.target.nodeName === 'A';
242                        var hasAnATagAsDirectParent = $(e.target).parent("a").length > 0;
243                        if (isAnATag || hasAnATagAsDirectParent) {
244                            var aTag = null;
245                            if (isAnATag) {
246                                aTag = e.target;
247                            } else if (hasAnATagAsDirectParent) {
248                                aTag = $(e.target).parent("a").get(0);
249                            }
250
251                            var linkHref = aTag.href;
252                            e.preventDefault();
253                            if (aTag.target === null || aTag.target === "") {
254                                window.location.href = linkHref;
255                            }
256                        }
257                    }
258                }));
259
260                initSwiperEvents(sIndex);
261
262                $(window).resize(function () {
263                    if (ALSO.swiper.swipes[sIndex].params.slidesPerView !== 'auto') ALSO.swiper.swipes[sIndex].params.slidesPerView = (window.innerWidth > 768) ? type.split('-')[1] : 1;
264                    ALSO.swiper.swipes[sIndex].updatePagination();
265                });
266            }
267
268            function initSwiperEvents(sIndex) {
269                var $thatSwiper = $('.swiper-' + sIndex);
270                var $doc = $(document);
271                $thatSwiper.find('.js-SliderPaging').css('top', $thatSwiper.find('.swiper-slide-active img').height() - 20);
272                $thatSwiper.find('.js-SliderAmount').text($thatSwiper.find('swiper-slide').length);
273
274                $doc
275                    .on('mouseover', '.swiper-container', function () {
276                        ALSO.swiper.swipes[sIndex].stopAutoplay();
277                    })
278                    .on('mouseout', '.swiper-container', function () {
279                        ALSO.swiper.swipes[sIndex].startAutoplay();
280                    })
281                    ;
282                $thatSwiper
283                    .on('click', '.swiper-slide-next', function (event) {
284                        ALSO.swiper.swipes[sIndex].slideNext();
285                        return false;
286                    })
287                    .on('click', '.swiper-slide-prev', function (event) {
288                        ALSO.swiper.swipes[sIndex].slidePrev();
289                        return false;
290                    })
291                    ;
292            }
293
294            function randomizeInitialSlide(slideCount) {
295                return Math.round(Math.random() * (slideCount - 1));
296            }
297
298        }, //ALSO.swiper.init()
299
300        onResize: function () {
301            var $sContainer = $('.swiper-container');
302            if ($sContainer.length > 0) {
303                $sContainer.each(function (i, obj) {
304                    $('.swiper-' + i + ' .js-SliderPaging').css('top', $('.swiper-' + i + ' .swiper-slide-active').find('img').height() - 20);
305                });
306            }
307        }
308
309    }, //ALSO.swiper{}
310
311    helper: {
312        kpis: [],
313        getParam: function (sParam) {
314            var sPageURL = window.location.search.substring(1);
315            var sURLVariables = sPageURL.split('&');
316            for (var i = 0; i < sURLVariables.length; i++) {
317
318                var sParameterName = sURLVariables[i].split('=');
319                if (sParameterName[0] == sParam) {
320                    return sParameterName[1];
321                }
322            }
323
324        },//ALSO.helper.getParam()
325
326
327        calcKPIs: function ($swiper) {
328            let localNumberFormat = "";
329
330            if (typeof pegasos !== "undefined" && pegasos.locale !== undefined) {
331                localNumberFormat = pegasos.locale.toString().replace("_", "-");
332            } else {
333                localNumberFormat = navigator.language.toString();
334            }
335
336            $swiper.find(".number-animated").each(function (no, el) {
337
338                let ElementValue = Number($(this).attr("data-number"));
339
340                let result = (ElementValue - Math.floor(ElementValue)) !== 0;
341
342                let minDigits = 0;
343                let maxDigits = 0;
344
345                if (result) {
346                    minDigits = 0;
347                    maxDigits = 1;
348                }
349                $(el).animateNumber({
350                    number: ElementValue,
351                    numberStep: function (num, form) {
352                        var formatted = num.toLocaleString("en-GB", {
353                            minimumFractionDigits: minDigits,
354                            maximumFractionDigits: maxDigits
355                        });
356                        $(form.elem).text(formatted)
357                            ;
358                    }
359                }
360                );
361
362            });
363        }
364
365
366    }, //ALSO.helper {}
367
368    career: {
369
370        init: function () {
371            ALSO.career.registerListener();
372
373
374        },
375
376        registerListener: function () {
377
378            $(".c-Career ul.pagination li a").click(function (event) {
379                event.preventDefault();
380
381                var pagingSelectedCounty = $(this).attr("data-paging-land");
382                var pagingSites = $("div.js-stellenliste-" + pagingSelectedCounty).children().length - 1;
383
384                if ($(this).attr("data-paging-seite") == "-1") {
385                    var prevPage = $("div.js-stellenliste-" + pagingSelectedCounty + " ul.pagination li a.active").attr("data-paging-seite") - 1;
386
387                    if (prevPage != 0) {
388                        $("div.js-stellenliste-" + pagingSelectedCounty + " ul.pagination li a").removeClass("active");
389                        $("div.js-stellenliste-" + pagingSelectedCounty + " ul.pagination li a[data-paging-seite='" + prevPage + "']").addClass("active");
390                        $("div.js-stellenliste-" + pagingSelectedCounty + " div.paging-container").hide();
391                        $("div.js-stellenliste-" + pagingSelectedCounty + " div.paging-container[data-paging-seite='" + prevPage + "']").show();
392                    }
393
394                } else if ($(this).attr("data-paging-seite") == "+1") {
395                    var nextPage = parseInt($("div.js-stellenliste-" + pagingSelectedCounty + " ul.pagination li a.active").attr("data-paging-seite")) + 1;
396
397                    if (nextPage <= pagingSites) {
398                        $("div.js-stellenliste-" + pagingSelectedCounty + " ul.pagination li a").removeClass("active");
399                        $("div.js-stellenliste-" + pagingSelectedCounty + " ul.pagination li a[data-paging-seite='" + nextPage + "']").addClass("active");
400                        $("div.js-stellenliste-" + pagingSelectedCounty + " div.paging-container").hide();
401                        $("div.js-stellenliste-" + pagingSelectedCounty + " div.paging-container[data-paging-seite='" + nextPage + "']").show();
402                    }
403
404                } else {
405                    $("div.js-stellenliste-" + pagingSelectedCounty + " div.paging-container").hide();
406                    $("div.js-stellenliste-" + pagingSelectedCounty + " div.paging-container[data-paging-seite='" + $(this).attr("data-paging-seite") + "']").show();
407                    $("div.js-stellenliste-" + pagingSelectedCounty + " ul.pagination li a").removeClass("active");
408                    $(this).addClass("active");
409
410                }
411
412            });
413
414
415        }
416
417
418    }, // career {}
419    lightbox: {
420
421
422        init: function () {
423
424            if ($('a.lightbox picture.js-lightbox').length > 0) {
425                if ($('picture.js-lightbox').attr("data-lightbox-width") != undefined) {
426                    $('a.lightbox picture.js-lightbox').parent('a').colorbox({ photo: true, rel: 'group', scalePhotos: true, initialWidth: $('picture.js-lightbox').attr("data-lightbox-width"), innerWidth: $('picture.js-lightbox').attr("data-lightbox-width"), innerHeight: 'auto', maxWidth: "100%", maxHeight: "100%" });
427                } else {
428                    $('a.lightbox picture.js-lightbox').parent('a').colorbox({ photo: true, rel: 'group', scalePhotos: true, maxWidth: "80%", maxHeight: "80%" });
429                }
430
431            }
432
433            if ($('a picture.js-lightbox').length > 0) {
434                if ($('picture.js-lightbox').attr("data-lightbox-width") != undefined) {
435                    $('a picture.js-lightbox').parent('a').colorbox({ photo: true, scalePhotos: true, initialWidth: $('picture.js-lightbox').attr("data-lightbox-width"), innerWidth: $('picture.js-lightbox').attr("data-lightbox-width"), innerHeight: 'auto', maxWidth: "100%", maxHeight: "100%" });
436                } else {
437                    $('a picture.js-lightbox').parent('a').colorbox({ photo: true, scalePhotos: true, maxWidth: "80%", maxHeight: "80%" });
438                }
439            }
440
441            if ($('a.js-lightbox').length > 0) {
442                $.each($('a.js-lightbox'), function () {
443                    var lightboxWidth = !!$(this).attr('data-lightbox-width') ? $(this).attr('data-lightbox-width') : '100%';
444                    var lightboxHeight = !!$(this).attr('data-lightbox-height') ? $(this).attr('data-lightbox-height') : '100%';
445                    $(this).colorbox({ href: $(this).attr('href'), iframe: true, width: lightboxWidth, height: lightboxHeight });
446                });
447            }
448
449            /*
450            if($('picture.lightbox a').length > 0){
451                $('picture.lightbox a').magnificPopup({
452                    type:'image',
453                    titleSrc: $(this).attr("title"),
454                    closeMarkup: '<button title="%title%" class="mfp-close">' + strClose + '<i class="mfp-close-icn">&times;</i></button>'
455                });
456            }
457            */
458
459
460        }
461
462    },
463    header: {
464        init: function () {
465            this.registerListener();
466            $('body').on('click', function (ev) {
467                ALSO.header.hideFlyouts();
468
469            });
470            $('.flyout').on('click', function (ev) {
471                ev.stopPropagation();
472            });
473
474            if (window.currentLocation) {
475                var highlight = $(".mp-container a[href=\"" + window.currentLocation + "\"]:last");
476                if ($(highlight).length > 0) $(highlight).addClass("mp-highlight");
477            }
478        },
479        registerListener: function () {
480            var $body = $('body');
481            $body.on('click', '.lnk-language', function (ev) {
482                ev.preventDefault();
483                $('#flyout-language').delay(100).fadeIn();
484            }).on('click', '.lnk-country', function (ev) {
485                ev.preventDefault();
486                $('#flyout-country').delay(100).fadeIn();
487
488            }).on('click', '.lnk-login', function (ev) {
489                ev.preventDefault();
490                $('#login-flyout').delay(100).fadeIn();
491
492            }).on('click', '.js-dpbar-button', function (ev) {
493                window.setTimeout(function () {
494                    ALSO.header.calcHeightCookie();
495                }, 200);
496            }).on('click', '.lnk-account', function (ev) {
497                ev.preventDefault();
498                $('#flyout-account').delay(100).fadeIn();
499            });
500
501            $('#frm-search .toggle-search').on('click', function (e) {
502                e.preventDefault();
503
504                if ($('#frm-search').hasClass('showform')) {
505                    if ($('#frm-search input').val().length > 2) {
506                        $('#frm-search').submit();
507                    } else {
508                        $('#frm-search').removeClass('showform');
509                        $("#frm-search").css("top", 0);
510                    }
511                } else {
512                    $('#frm-search').addClass('showform');
513                    $("#frm-search.showform").css("top", $("#header").height() - 58);
514                    $('#frm-search input').focus();
515                }
516                ALSO.header.repositionSearchbar();
517            });
518
519        },
520        onResize: function () {
521            ALSO.header.calcHeightCookie();
522
523        },
524        hideFlyouts: function () {
525            $('.flyout').hide();
526
527        },
528        calcHeightCookie: function () {
529            if($('header') != null) {
530                $('main').css("padding-top", $('header').height());
531            }else {
532                $('main').css("padding-top", 0);
533            }
534            ALSO.header.repositionSearchbar();
535        },
536        repositionSearchbar: function () {
537            var position = $("#frm-search").css("position");
538            if (position == "fixed") {
539                $("#frm-search.showform").css("top", $("#header").height() - 58);
540            } else {
541                $("#frm-search.showform").css("top", 0);
542            }
543            if ($('svg').length > 0) {
544                window.setTimeout(function () {
545                    // callback();
546                }, 500);
547            }
548        }
549
550    } // header{}
551
552}; // ALSO{}
553
554$(window).on('load', function () {
555    ALSO.onload();
556
557});
558
559$(window).resize(function () {
560    ALSO.onresize();
561
562});
563
564$(document).ready(function () {
565
566    ALSO.onready();
567
568
569});
570
571
572
573
574/*!
575 * classie - class helper functions
576 * from bonzo https://github.com/ded/bonzo
577 * 
578 * classie.has( elem, 'my-class' ) -> true/false
579 * classie.add( elem, 'my-new-class' )
580 * classie.remove( elem, 'my-unwanted-class' )
581 * classie.toggle( elem, 'my-class' )
582 */
583
584/*jshint browser: true, strict: true, undef: true */
585/*global define: false */
586
587(function (window) {
588
589    'use strict';
590
591    // class helper functions from bonzo https://github.com/ded/bonzo
592
593    function classReg(className) {
594        return new RegExp("(^|\\s+)" + className + "(\\s+|$)");
595    }
596
597    // classList support for class management
598    // altho to be fair, the api sucks because it won't accept multiple classes at once
599    var hasClass, addClass, removeClass;
600
601    if ('classList' in document.documentElement) {
602        hasClass = function (elem, c) {
603            return elem.classList.contains(c);
604        };
605        addClass = function (elem, c) {
606            elem.classList.add(c);
607        };
608        removeClass = function (elem, c) {
609            elem.classList.remove(c);
610        };
611    }
612    else {
613        hasClass = function (elem, c) {
614            return classReg(c).test(elem.className);
615        };
616        addClass = function (elem, c) {
617            if (!hasClass(elem, c)) {
618                elem.className = elem.className + ' ' + c;
619            }
620        };
621        removeClass = function (elem, c) {
622            elem.className = elem.className.replace(classReg(c), ' ');
623        };
624    }
625
626    function toggleClass(elem, c) {
627        var fn = hasClass(elem, c) ? removeClass : addClass;
628        fn(elem, c);
629    }
630
631    var classie = {
632        // full names
633        hasClass: hasClass,
634        addClass: addClass,
635        removeClass: removeClass,
636        toggleClass: toggleClass,
637        // short names
638        has: hasClass,
639        add: addClass,
640        remove: removeClass,
641        toggle: toggleClass
642    };
643
644    // transport
645    if (typeof define === 'function' && define.amd) {
646        // AMD
647        define(classie);
648    } else {
649        // browser global
650        window.classie = classie;
651    }
652
653})(window);
654
655
656
657
658/**
659 * mlpushmenu.js v1.0.0
660 * http://www.codrops.com
661 *
662 * Licensed under the MIT license.
663 * http://www.opensource.org/licenses/mit-license.php
664 * 
665 * Copyright 2013, Codrops
666 * http://www.codrops.com
667 */
668; (function (window) {
669
670    'use strict';
671
672    function extend(a, b) {
673        for (var key in b) {
674            if (b.hasOwnProperty(key)) {
675                a[key] = b[key];
676            }
677        }
678        return a;
679    }
680
681    // taken from https://github.com/inuyaksa/jquery.nicescroll/blob/master/jquery.nicescroll.js
682    function hasParent(e, id) {
683        if (!e) return false;
684        var el = e.target || e.srcElement || e || false;
685        while (el && el.id != id) {
686            el = el.parentNode || false;
687        }
688        return (el !== false);
689    }
690
691
692    // returns the depth of the element "e" relative to element with id=id
693    // for this calculation only parents with classname = waypoint are considered
694    function getLevelDepth(e, id, waypoint, cnt) {
695        cnt = cnt || 0;
696        if (e.id.indexOf(id) >= 0) return cnt;
697        if (classie.has(e, waypoint)) {
698            ++cnt;
699        }
700        return e.parentNode && getLevelDepth(e.parentNode, id, waypoint, cnt);
701    }
702
703    // http://coveroverflow.com/a/11381730/989439
704    function mobilecheck() {
705        var check = false;
706        (function (a) { if (/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4))) check = true })(navigator.userAgent || navigator.vendor || window.opera);
707        return check;
708    }
709
710    // returns the closest element to 'e' that has class "classname"
711    function closest(e, classname) {
712        if (classie.has(e, classname)) {
713            return e;
714        }
715        return e.parentNode && closest(e.parentNode, classname);
716    }
717
718    function mlPushMenu(el, trigger, options) {
719        this.el = el;
720        this.trigger = trigger;
721        this.options = extend(this.defaults, options);
722        // support 3d transforms
723        this.support = Modernizr.csstransforms3d;
724        if (this.support) {
725            this._init();
726        }
727    }
728
729    mlPushMenu.prototype = {
730        defaults: {
731            // overlap: there will be a gap between open levels
732            // cover: the open levels will be on top of any previous open level
733            type: 'overlap', // overlap || cover
734            // space between each overlaped level
735            levelSpacing: 40,
736            // classname for the element (if any) that when clicked closes the current level
737            backClass: 'mp-back'
738        },
739        _init: function () {
740            // if menu is open or not
741            this.open = false;
742            // level depth
743            this.level = 0;
744            // the moving wrapper
745            this.wrapper = document.getElementById('mp-pusher');
746            // the mp-level elements
747            this.levels = Array.prototype.slice.call(this.el.querySelectorAll('div.mp-level'));
748            // save the depth of each of these mp-level elements
749            var self = this;
750            this.levels.forEach(function (el, i) { el.setAttribute('data-level', getLevelDepth(el, self.el.id, 'mp-level')); });
751            // the menu items
752            this.menuItems = Array.prototype.slice.call(this.el.querySelectorAll('li'));
753            // if type == "cover" these will serve as hooks to move back to the previous level
754            this.levelBack = Array.prototype.slice.call(this.el.querySelectorAll('.' + this.options.backClass));
755            // event type (if mobile use touch events)
756            this.eventtype = mobilecheck() ? 'touchstart' : 'click';
757            // add the class mp-overlap or mp-cover to the main element depending on options.type
758            classie.add(this.el, 'mp-' + this.options.type);
759            // initialize / bind the necessary events
760            this._initEvents();
761        },
762        _initEvents: function () {
763            var self = this;
764
765            // the menu should close if clicking somewhere on the body
766            var bodyClickFn = function (el) {
767                self._resetMenu();
768                el.removeEventListener(self.eventtype, bodyClickFn);
769            };
770
771            // open (or close) the menu
772            this.trigger.addEventListener(this.eventtype, function (ev) {
773                ev.stopPropagation();
774                ev.preventDefault();
775                if (self.open) {
776                    self._resetMenu();
777                }
778                else {
779                    self._openMenuHighlight();
780                    // the menu should close if clicking somewhere on the body (excluding clicks on the menu)
781                    document.addEventListener(self.eventtype, function (ev) {
782                        if (self.open && !hasParent(ev.target, self.el.id)) {
783                            bodyClickFn(this);
784                        }
785                    });
786                }
787            });
788
789            // opening a sub level menu
790            this.menuItems.forEach(function (el, i) {
791                // check if it has a sub level
792                var subLevel = el.querySelector('div.mp-level');
793                if (subLevel) {
794                    el.querySelector('a').addEventListener(self.eventtype, function (ev) {
795                        ev.preventDefault();
796                        var level = closest(el, 'mp-level').getAttribute('data-level');
797                        if (self.level <= level) {
798                            ev.stopPropagation();
799                            classie.add(closest(el, 'mp-level'), 'mp-level-overlay');
800                            self._openMenu(subLevel);
801                        }
802                    });
803                }
804            });
805
806            // closing the sub levels :
807            // by clicking on the visible part of the level element
808            this.levels.forEach(function (el, i) {
809                el.addEventListener(self.eventtype, function (ev) {
810                    ev.stopPropagation();
811                    var level = el.getAttribute('data-level');
812                    if (self.level > level) {
813                        self.level = level;
814                        self._closeMenu();
815                    }
816                });
817            });
818
819            // by clicking on a specific element
820            this.levelBack.forEach(function (el, i) {
821                el.addEventListener(self.eventtype, function (ev) {
822                    ev.preventDefault();
823                    var level = closest(el, 'mp-level').getAttribute('data-level');
824                    if (self.level <= level) {
825                        ev.stopPropagation();
826                        self.level = closest(el, 'mp-level').getAttribute('data-level') - 1;
827                        self.level === 0 ? self._resetMenu() : self._closeMenu();
828                    }
829                });
830            });
831        },
832
833        _openMenuHighlight: function () {
834            if (window.currentLocation) {
835                var highlight = $(".mp-container a[href=\"" + window.currentLocation + "\"]:last");
836                if ($(highlight).parents(".mp-level").length > 0) {
837                    $(highlight).parents(".mp-level").each(function (d) {
838                        if ($(this).attr("data-level")) {
839                            if (d > 0) {
840                                $(this).addClass("mp-level-overlay");
841                            }
842                            $(this).addClass("mp-level-open");
843                        }
844                        this.level = d + 1;
845                    });
846                    this.level = $(highlight).parents(".mp-level:first").attr("data-level");
847                    var levelFactor = (this.level - 1) * this.options.levelSpacing, translateVal = this.options.type === 'overlap' ? this.el.offsetWidth + levelFactor : this.el.offsetWidth;
848
849                    this._setTransform(translateVal + 'px');
850
851                    var subLevel = $(highlight).parents(".mp-level")[0];
852                    if (subLevel) {
853                        this._setTransform('', subLevel);
854                        for (var i = 0, len = this.levels.length; i < len; ++i) {
855                            var levelEl = this.levels[i];
856                            if (levelEl != subLevel && !classie.has(levelEl, 'mp-level-open')) {
857                                this._setTransform(-1 * levelFactor + 'px', levelEl);
858                            }
859                        }
860                    }
861
862                    classie.add(this.wrapper, 'mp-pushed');
863                    this.open = true;
864
865                    classie.add(subLevel || this.levels[0], 'mp-level-open');
866                    $('#trigger').addClass('active');
867                    $('body').addClass('menuopen');
868                } else {
869                    this._openMenu();
870                }
871            } else {
872                this._openMenu();
873            }
874        },
875
876        _openMenu: function (subLevel) {
877            // increment level depth
878            ++this.level;
879
880            // move the main wrapper
881            var levelFactor = (this.level - 1) * this.options.levelSpacing,
882                translateVal = this.options.type === 'overlap' ? this.el.offsetWidth + levelFactor : this.el.offsetWidth;
883
884            //this._setTransform( 'translate3d(' + translateVal + 'px,0,0)' ); XXXXX
885            this._setTransform(translateVal + 'px');
886
887            if (subLevel) {
888                // reset transform for sublevel
889                this._setTransform('', subLevel);
890                // need to reset the translate value for the level menus that have the same level depth and are not open
891                for (var i = 0, len = this.levels.length; i < len; ++i) {
892                    var levelEl = this.levels[i];
893                    if (levelEl != subLevel && !classie.has(levelEl, 'mp-level-open')) {
894                        //this._setTransform( 'translate3d(-100%,0,0) translate3d(' + -1*levelFactor + 'px,0,0)', levelEl ); XXXXX
895                        this._setTransform(-1 * levelFactor + 'px', levelEl);
896                    }
897                }
898            }
899            // add class mp-pushed to main wrapper if opening the first time
900            if (this.level === 1) {
901                classie.add(this.wrapper, 'mp-pushed');
902                this.open = true;
903            }
904            // add class mp-level-open to the opening level element
905            classie.add(subLevel || this.levels[0], 'mp-level-open');
906            $('#trigger').addClass('active');
907            $('body').addClass('menuopen');
908        },
909        // close the menu
910        _resetMenu: function () {
911            // this._setTransform('translate3d(0,0,0)'); XXXXX
912            this._setTransform('0px');
913            this.level = 0;
914            // remove class mp-pushed from main wrapper
915            classie.remove(this.wrapper, 'mp-pushed');
916            this._toggleLevels();
917            this.open = false;
918            $('#trigger').removeClass('active');
919            $('body').removeClass('menuopen');
920        },
921        // close sub menus
922        _closeMenu: function () {
923            var translateVal = this.options.type === 'overlap' ? this.el.offsetWidth + (this.level - 1) * this.options.levelSpacing : this.el.offsetWidth;
924            //this._setTransform( 'translate3d(' + translateVal + 'px,0,0)' ); XXXXX
925            this._setTransform(translateVal + 'px');
926            this._toggleLevels();
927        },
928        // translate the el
929        _setTransform: function (val, el) {
930            el = el || this.wrapper;
931            /*el.style.WebkitTransform = val;
932            el.style.MozTransform = val;
933            el.style.transform = val;*/
934            el.style.left = val;
935        },
936        // removes classes mp-level-open from closing levels
937        _toggleLevels: function () {
938            for (var i = 0, len = this.levels.length; i < len; ++i) {
939                var levelEl = this.levels[i];
940                if (levelEl.getAttribute('data-level') >= this.level + 1) {
941                    classie.remove(levelEl, 'mp-level-open');
942                    classie.remove(levelEl, 'mp-level-overlay');
943                }
944                else if (Number(levelEl.getAttribute('data-level')) == this.level) {
945                    classie.remove(levelEl, 'mp-level-overlay');
946                }
947            }
948        }
949    }
950
951    // add to global namespace
952    window.mlPushMenu = mlPushMenu;
953
954})(window);
955
956function doImageAnimation() {
957    var currentScrollPos = $(this).scrollTop() + $(window).height();
958    if ($(".animated").length > 0) {
959        if (currentScrollPos >= $(".animated").offset().top) {
960            $.each($(".animated"), function (i, elem) {
961                if (currentScrollPos - 100 >= $(elem).offset().top) {
962                    setTimeout(function () {
963                        $(elem).removeClass("visible-hidden");
964                        $(elem).addClass($(elem).attr("data-animation"));
965                    }, i * 200);
966                }
967            });
968        }
969    }
970}
971
972$(window).scroll(doImageAnimation);
973$(document).ready(doImageAnimation);
974/********************************************************************
975*                           Customized ALSO                           *
976*********************************************************************/
977
978/*
979 jQuery animateNumber plugin v0.0.12
980 (c) 2013, Alexandr Borisov.
981 https://github.com/aishek/jquery-animateNumber
982*/
983(function(d){var q=function(b){return b.split("").reverse().join("")},m={numberStep:function(b,a){var e=Math.floor(b);d(a.elem).text(e)}},h=function(b){var a=b.elem;a.nodeType&&a.parentNode&&(a=a._animateNumberSetter,a||(a=m.numberStep),a(b.now,b))};d.Tween&&d.Tween.propHooks?d.Tween.propHooks.number={set:h}:d.fx.step.number=h;d.animateNumber={numberStepFactories:{append:function(b){return function(a,e){var g=Math.floor(a);d(e.elem).prop("number",a).text(g+b)}},separator:function(b,a,e){b=b||" ";
984a=a||3;e=e||"";return function(g,k){var c=Math.floor(g).toString(),t=d(k.elem);if(c.length>a){for(var f=c,l=a,m=f.split("").reverse(),c=[],n,r,p,s=0,h=Math.ceil(f.length/l);s<h;s++){n="";for(p=0;p<l;p++){r=s*l+p;if(r===f.length)break;n+=m[r]}c.push(n)}f=c.length-1;l=q(c[f]);c[f]=q(parseInt(l,10).toString());c=c.join(b);c=q(c)}t.prop("number",g).text(c+e)}}}};d.fn.animateNumber=function(){for(var b=arguments[0],a=d.extend({},m,b),e=d(this),g=[a],k=1,c=arguments.length;k<c;k++)g.push(arguments[k]);
985if(b.numberStep){var h=this.each(function(){this._animateNumberSetter=b.numberStep}),f=a.complete;a.complete=function(){h.each(function(){delete this._animateNumberSetter});f&&f.apply(this,arguments)}}return e.animate.apply(e,g)}})(jQuery);
986
987Date.prototype.getWeek = function (dowOffset) {
988    /*getWeek() was developed by Nick Baicoianu at MeanFreePath: http://www.meanfreepath.com */
989
990    dowOffset = typeof (dowOffset) == 'int' ? dowOffset : 0; //default dowOffset to zero
991    var newYear = new Date(this.getFullYear(), 0, 1);
992    var day = newYear.getDay() - dowOffset; //the day of week the year begins on
993    day = (day >= 0 ? day : day + 7);
994    var daynum = Math.floor((this.getTime() - newYear.getTime() -
995        (this.getTimezoneOffset() - newYear.getTimezoneOffset()) * 60000) / 86400000) + 1;
996    var weeknum;
997    //if the year starts before the middle of a week
998    if (day < 4) {
999        weeknum = Math.floor((daynum + day - 1) / 7) + 1;
1000        if (weeknum > 52) {
1001            nYear = new Date(this.getFullYear() + 1, 0, 1);
1002            nday = nYear.getDay() - dowOffset;
1003            nday = nday >= 0 ? nday : nday + 7;
1004            /*if the next year starts before the middle of
1005              the week, it is week #1 of that year*/
1006            weeknum = nday < 4 ? 1 : 53;
1007        }
1008    }
1009    else {
1010        weeknum = Math.floor((daynum + day - 1) / 7);
1011    }
1012    return weeknum;
1013};
1014
1015$.fn.eventkalender = function () {
1016    var date, d_event, d_now;
1017    $(".row-eventkalender").each(function () {
1018        date = $(this).attr("data-date").split('-');
1019        d_event = new Date(date[2], date[1], date[0]);
1020        d_now = new Date((new Date).getFullYear(), ((new Date).getMonth() + 1), (new Date).getDate());
1021        if (d_now.getTime() > d_event.getTime()) {
1022            $(this).addClass("row-eventkalender-gone");
1023        }
1024    });
1025}
1026
1027// Fix: Accordeon panel slides to header if opened and header is outside viewport
1028function accordeonSlideToHeader() {
1029
1030    $('.panel-group').on('shown.bs.collapse', function (e) {
1031
1032        // Validate this panel belongs to this accordian, and not an embedded one
1033        var currentAccordianId = $('a[href="#' + $(e.target).attr('id') + '"]').data('parent');
1034        var targetAccordianId = '#' + $(this).attr('id');
1035        if (currentAccordianId !== targetAccordianId) return;
1036
1037        var clickedHeader = $(this).find('.panel > .collapse.in').closest('.panel').find('.panel-heading');
1038        var offset = clickedHeader.offset();
1039
1040        var top = $(window).scrollTop();
1041        if (offset) {
1042
1043            var offsetHeader = $("#header").height();
1044            var topOfHeader = offset.top - offsetHeader;
1045            if (topOfHeader < top) {
1046                $('html,body').animate({
1047                    scrollTop: topOfHeader
1048                }, 300, 'swing');
1049            }
1050        }
1051    });
1052}
1053
1054function isInViewport(element) {
1055    const rect = element.getBoundingClientRect();
1056    return (
1057        rect.top >= 0 &&
1058        rect.left >= 0 &&
1059        rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
1060        rect.right <= (window.innerWidth || document.documentElement.clientWidth)
1061    );
1062}
1063
1064function scrollToHash(hash, offset) {
1065
1066    try {
1067        if (offset === undefined) {
1068            offset = $('header').height() || 115;
1069            console.log(offset);
1070        }
1071
1072        var id = hash.substring(1);
1073        var $targetTable = $('#' + id);
1074        
1075        if ($targetTable.length > 0) {
1076                // Default behavior: Scroll to the top of the target element
1077                $('html,body').stop().animate({
1078                    scrollTop: $targetTable.offset().top - offset
1079                }, 1);
1080            }
1081
1082        var target;
1083        if (!hash.match(/([^#?=]+)=([^&]*)/g)) {
1084            $target = $(hash.split('?')[0]);
1085
1086        } else {
1087            hashTriggeredAccordion(hash);
1088            $target = $(hash.split('=')[0].replace('?', ''));
1089
1090        }
1091        $target = $target.length > 0 ? $target : $('[name=' + hash.slice(1) + ']');
1092
1093        if ($target.length > 0) {
1094            $target = ($target.closest('.v-accordion').length > 0) ? $target.closest('.panel-group') : $target;
1095
1096            //console.log($target[0]);
1097            if (!isInViewport($target[0])) {
1098                $('html,body').stop().animate({
1099                    scrollTop: $target.offset().top - offset
1100                }, 1000);
1101            }
1102
1103            return false;
1104        }
1105    } catch (ex) {
1106        console.log(ex);
1107        console.log("Invalid charakter in ID");
1108    }
1109}
1110
1111
1112function handleScrollOnUrlCall() {
1113    /* $('a[href*=#]:not([href=#])').click(function (e) {
1114        if ($(this).attr("data-toggle") == undefined || $(this).attr("data-toggle") != "tab") {
1115            if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
1116                e.preventDefault();
1117                scrollToHash(this.hash);
1118            }
1119        }
1120     }); */
1121}
1122
1123function handleScrollOnHashCall() {
1124    var windowLocationHash = window.location.hash;
1125    if (windowLocationHash) {
1126        scrollToHash(windowLocationHash);
1127    };
1128}
1129
1130var MobileBrowser = {
1131    isMobileBrowser: function () {
1132        return detectMobileBrowser(this._getUserAgentString());
1133    },
1134    _getUserAgentString: function () {
1135        return navigator.userAgent || navigator.vendor || window.opera;
1136    }
1137}
1138
1139
1140
1141$(document).ready(function (e) {
1142    $(this).eventkalender();
1143
1144    if (typeof $('img[usemap]').rwdImageMaps == 'function') {
1145        $('img[usemap]').rwdImageMaps();
1146    }
1147
1148    $(".js-adventskalender a[data-lightbox]").on('click', function () {
1149        if ($($(this).attr("href")).attr("data-lightbox-kind") === 'link') {
1150            $(this).colorbox({
1151                maxWidth: "80%",
1152                iframe: true,
1153                href: $($(this).attr("href")).html().trim(),
1154                onComplete: function () {
1155                    //$(this).colorbox.resize();
1156                    $(this).colorbox.resize({ innerHeight: "80%", innerWidth: "80%" });
1157                }
1158            });
1159        } else {
1160            $(this).colorbox({
1161                maxWidth: "80%",
1162                iframe: false,
1163                html: $($(this).attr("href")).html().trim(),
1164                onComplete: function () {
1165                    $(this).colorbox.resize();
1166                    //$(this).colorbox.resize({innerHeight: "80%", innerWidth: "80%"});
1167                }
1168            });
1169        }
1170
1171    });
1172
1173    $(".js-adventskalender map area").on('click', function () {
1174        if ($($(this).attr("href")).attr("data-lightbox-kind") === 'link') {
1175            $(this).colorbox({
1176                maxWidth: "80%",
1177                iframe: true,
1178                href: $($(this).attr("href")).html().trim(),
1179                onComplete: function () {
1180                    //$(this).colorbox.resize();
1181                    $(this).colorbox.resize({ innerHeight: "80%", innerWidth: "80%" });
1182                }
1183            });
1184        } else {
1185            $(this).colorbox({
1186                maxWidth: "80%",
1187                iframe: false,
1188                html: $($(this).attr("href")).html().trim(),
1189                onComplete: function () {
1190                    $(this).colorbox.resize();
1191                    //$(this).colorbox.resize({innerHeight: "80%", innerWidth: "80%"});
1192                }
1193            });
1194        }
1195    });
1196
1197    accordeonSlideToHeader();
1198
1199    /*$("a.lightbox").colorbox({width: $(this).attr("data-lightbox-width"), maxWidth: $(this).attr("data-lightbox-width"), height: "100%", onComplete: function () {
1200        $(this).colorbox.resize({width: $(this).attr("data-lightbox-width")});
1201    }});*/
1202
1203    $('a.lightbox').on('click', function (e) {
1204        e.preventDefault();
1205        openInLightbox($(this));
1206    });
1207
1208    $('.jobs-container').on('click', 'a.lightbox', function (e) {
1209        e.preventDefault();
1210        openInLightbox($(this));
1211    });
1212
1213    function openInLightbox($obj) {
1214        var isPhoto = $obj.attr('data-lightbox-type') === 'image';
1215        var dataMaxWidth = $obj.attr('data-lightbox-maxwdith') !== undefined ? $obj.attr('data-lightbox-maxwdith') : '100%';
1216        if (isPhoto) {
1217            $obj.colorbox({
1218                width: $obj.attr("data-lightbox-width"), maxWidth: dataMaxWidth, height: "auto", maxHeight: "100%", trapFocus: false, photo: isPhoto, onComplete: function () {
1219                    $(this).colorbox.resize({ width: $obj.attr('data-lightbox-width') });
1220                }
1221            });
1222        } else {
1223            var needIframe = $obj.attr('data-lightbox-type') === 'ext_page';
1224            $obj.colorbox({
1225                width: $obj.attr("data-lightbox-width"), maxWidth: dataMaxWidth, height: $obj.attr('data-lightbox-height'), maxHeight: "100%", trapFocus: false, iframe: needIframe, photo: isPhoto, onComplete: function () {
1226                    // $(this).colorbox.resize({width: $obj.attr('data-lightbox-width'),  maxWidth: dataMaxWidth, height: $obj.attr('data-lightbox-height')});
1227                }
1228            });
1229        }
1230    }
1231
1232
1233    /*$("a.lightbox").colorbox({width: $(this).attr("data-lightbox-width"), maxWidth: "100%", height: "auto", maxHeight: "100%", trapFocus: false, onComplete: function () {
1234        $(this).colorbox.resize({width: $(this).attr("data-lightbox-width")});
1235    }});*/
1236
1237    //
1238    //Fix for HP TopKonfig
1239    //
1240    if (window.location.pathname.indexOf("hp-endkunden-topconfig") != -1) {
1241        $(".ic_select").addClass("fa fa-caret-down").removeClass("ic_select");
1242        $(".fa-cog").addClass("fa");
1243        $(".fa-wrench").addClass("fa");
1244        $(".fa-download").addClass("fa");
1245        $(".fa-trash-o").addClass("fa");
1246    }
1247
1248    $(window).bind('hashchange', function (e) {
1249        handleScrollOnHashCall();
1250    });
1251});
1252
1253$(window).on('load', function () {
1254    /*if (!MobileBrowser.isMobileBrowser()) {*/
1255    if ($(".videojs").length > 0) {
1256        $(".videojs").each(function () {
1257            if ($(this).attr('autoplay') !== undefined) {
1258                if (document.getElementById($(this).attr("id") + '_html5_api') !== null) {
1259                    document.getElementById($(this).attr("id") + '_html5_api').play();
1260                }
1261            }
1262        });
1263    }
1264    /*}*/
1265    if ($(".c-B2BMarketplace svg").length > 0) {
1266        var svg = document.getElementsByTagName("svg")[0];
1267        box = svg.getAttribute("viewBox").split(" ");
1268        var svg_width = box[2] - box[0];
1269        var svg_height = box[3] - box[1];
1270        var svg_real_height = $("svg").parent().width() * (svg_height / svg_width);
1271        $("svg").height(svg_real_height);
1272    }
1273
1274    handleScrollOnUrlCall();
1275    handleScrollOnHashCall();
1276})
1277
1278
1279
1280$(window).on('scroll', function (e) {
1281    var $body = $('body');
1282    var threshold = window.outerHeight / 2;
1283    if (!$body.hasClass('doc-scrolled')) {
1284        if (window.pageYOffset >= threshold) {
1285            $body.addClass('doc-scrolled');
1286        }
1287    } else {
1288        if (window.pageYOffset < threshold) {
1289            $body.removeClass('doc-scrolled');
1290        }
1291    }
1292});
1293function doImageAnimation() {
1294    var currentScrollPos = $(this).scrollTop() + $(window).height();
1295    if ($(".animated").length > 0) {
1296        if (currentScrollPos >= $(".animated").offset().top) {
1297            $.each($(".animated"), function (i, elem) {
1298                if (currentScrollPos - 100 >= $(elem).offset().top) {
1299                    setTimeout(function () {
1300                        $(elem).removeClass("visible-hidden");
1301                        $(elem).addClass($(elem).attr("data-animation"));
1302                    }, i * 200);
1303                }
1304            });
1305        }
1306    }
1307}
1308
1309$(window).scroll(doImageAnimation);
1310$(document).ready(doImageAnimation);
1311
1312/* ==================== */
1313/* Microsite Common     */
1314/* ==================== */
1315
1316function doImageAnimation() {
1317    var currentScrollPos = $(this).scrollTop() + $(window).height();
1318    if ($(".animated").length > 0) {
1319        if (currentScrollPos >= $(".animated").offset().top) {
1320            $.each($(".animated"), function (i, elem) {
1321                if (currentScrollPos - 100 >= $(elem).offset().top) {
1322                    setTimeout(function () {
1323                        $(elem).removeClass("visible-hidden");
1324                        $(elem).addClass($(elem).attr("data-animation"));
1325                    }, i * 200);
1326                }
1327            });
1328        }
1329    }
1330}
1331
1332$(window).scroll(doImageAnimation);
1333$(document).ready(doImageAnimation);
1334/*!
1335 * Vue.js v2.5.17
1336 * (c) 2014-2018 Evan You
1337 * Released under the MIT License.
1338 */
1339!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";var y=Object.freeze({});function M(e){return null==e}function D(e){return null!=e}function S(e){return!0===e}function T(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function P(e){return null!==e&&"object"==typeof e}var r=Object.prototype.toString;function l(e){return"[object Object]"===r.call(e)}function i(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function t(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function F(e){var t=parseFloat(e);return isNaN(t)?e:t}function s(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var c=s("slot,component",!0),u=s("key,ref,slot,slot-scope,is");function f(e,t){if(e.length){var n=e.indexOf(t);if(-1<n)return e.splice(n,1)}}var n=Object.prototype.hasOwnProperty;function p(e,t){return n.call(e,t)}function e(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var o=/-(\w)/g,g=e(function(e){return e.replace(o,function(e,t){return t?t.toUpperCase():""})}),d=e(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),a=/\B([A-Z])/g,_=e(function(e){return e.replace(a,"-$1").toLowerCase()});var v=Function.prototype.bind?function(e,t){return e.bind(t)}:function(n,r){function e(e){var t=arguments.length;return t?1<t?n.apply(r,arguments):n.call(r,e):n.call(r)}return e._length=n.length,e};function h(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function m(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n<e.length;n++)e[n]&&m(t,e[n]);return t}function $(e,t,n){}var O=function(e,t,n){return!1},w=function(e){return e};function C(t,n){if(t===n)return!0;var e=P(t),r=P(n);if(!e||!r)return!e&&!r&&String(t)===String(n);try{var i=Array.isArray(t),o=Array.isArray(n);if(i&&o)return t.length===n.length&&t.every(function(e,t){return C(e,n[t])});if(i||o)return!1;var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every(function(e){return C(t[e],n[e])})}catch(e){return!1}}function x(e,t){for(var n=0;n<e.length;n++)if(C(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var E="data-server-rendered",k=["component","directive","filter"],A=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],j={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:$,parsePlatformTagName:w,mustUseProp:O,_lifecycleHooks:A};function N(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var L=/[^\w.$]/;var I,H="__proto__"in{},B="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=U&&WXEnvironment.platform.toLowerCase(),z=B&&window.navigator.userAgent.toLowerCase(),K=z&&/msie|trident/.test(z),J=z&&0<z.indexOf("msie 9.0"),q=z&&0<z.indexOf("edge/"),W=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"i
1339os"===V),G=(z&&/chrome\/\d+/.test(z),{}.watch),Z=!1;if(B)try{var X={};Object.defineProperty(X,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,X)}catch(e){}var Y=function(){return void 0===I&&(I=!B&&!U&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),I},Q=B&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ee(e){return"function"==typeof e&&/native code/.test(e.toString())}var te,ne="undefined"!=typeof Symbol&&ee(Symbol)&&"undefined"!=typeof Reflect&&ee(Reflect.ownKeys);te="undefined"!=typeof Set&&ee(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var re=$,ie=0,oe=function(){this.id=ie++,this.subs=[]};oe.prototype.addSub=function(e){this.subs.push(e)},oe.prototype.removeSub=function(e){f(this.subs,e)},oe.prototype.depend=function(){oe.target&&oe.target.addDep(this)},oe.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},oe.target=null;var ae=[];function se(e){oe.target&&ae.push(oe.target),oe.target=e}function ce(){oe.target=ae.pop()}var le=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ue={child:{configurable:!0}};ue.child.get=function(){return this.componentInstance},Object.defineProperties(le.prototype,ue);var fe=function(e){void 0===e&&(e="");var t=new le;return t.text=e,t.isComment=!0,t};function pe(e){return new le(void 0,void 0,void 0,String(e))}function de(e){var t=new le(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.isCloned=!0,t}var ve=Array.prototype,he=Object.create(ve);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(o){var a=ve[o];N(he,o,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=a.apply(this,e),i=this.__ob__;switch(o){case"push":case"unshift":n=e;break;case"splice":n=e.slice(2)}return n&&i.observeArray(n),i.dep.notify(),r})});var me=Object.getOwnPropertyNames(he),ye=!0;function ge(e){ye=e}var _e=function(e){(this.value=e,this.dep=new oe,this.vmCount=0,N(e,"__ob__",this),Array.isArray(e))?((H?be:$e)(e,he,me),this.observeArray(e)):this.walk(e)};function be(e,t,n){e.__proto__=t}function $e(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];N(e,o,t[o])}}function we(e,t){var n;if(P(e)&&!(e instanceof le))return p(e,"__ob__")&&e.__ob__ instanceof _e?n=e.__ob__:ye&&!Y()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new _e(e)),t&&n&&n.vmCount++,n}function Ce(n,e,r,t,i){var o=new oe,a=Object.getOwnPropertyDescriptor(n,e);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(r=n[e]);var c=a&&a.set,l=!i&&we(r);Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(n):r;return oe.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(e))),e},set:function(e){var t=s?s.call(n):r;e===t||e!=e&&t!=t||(c?c.call(n,e):r=e,l=!i&&we(e),o.notify())}})}}function xe(e,t,n){if(Array.isArray(e)&&i(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Ce(r.value,t,n),r.dep.notify(),n):e[t]=n}function ke(e,t){if(Array.isArray(e)&&i(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||p(e,t)&&(delete e[t],n&&n.dep.notify())}}_e.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ce(e,t[n])},_e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)we(e[t])};var Ae=j.optionMergeStrategies;function Oe(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),a=0;a<o.length;a++)r=e[n=o[a]],i=t[n],p(e,n)?l(r)&&l(i)&&Oe(r,i):xe(e,n,i);return e}function Se(n,r,i){return i?function(){var e="function"==typeof r?r.call(i,i):r,t="function"==typeof n?n.call(i,i):n;return e?Oe(e,t):t}:r?n?function(){return Oe("function"==typeof r?r.call(this,this):r,"function"==typeof n?n.call(this,this):n)}:r:n}function Te(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function Ee(e,t,n,r){var i=Object.create(e||null);return t?m(i,t):i}Ae.data=function(e,t,n){return n?Se(e,t,n):t&&"function"!=typeof t?e:Se(e,t)},A.forEach(function(e){Ae[e]=Te}
vendor: 6,957 bytes, line 1339
1339),k.forEach(function(e){Ae[e+"s"]=Ee}),Ae.watch=function(e,t,n,r){if(e===G&&(e=void 0),t===G&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in m(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Ae.props=Ae.methods=Ae.inject=Ae.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return m(i,e),t&&m(i,t),i},Ae.provide=Se;var je=function(e,t){return void 0===t?e:t};function Ne(n,r,i){"function"==typeof r&&(r=r.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[g(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[g(a)]=l(i)?i:{type:i};e.props=o}}(r),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?m({from:o},a):{from:a}}}}(r),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(r);var e=r.extends;if(e&&(n=Ne(n,e,i)),r.mixins)for(var t=0,o=r.mixins.length;t<o;t++)n=Ne(n,r.mixins[t],i);var a,s={};for(a in n)c(a);for(a in r)p(n,a)||c(a);function c(e){var t=Ae[e]||je;s[e]=t(n[e],r[e],i,e)}return s}function Le(e,t,n,r){if("string"==typeof n){var i=e[t];if(p(i,n))return i[n];var o=g(n);if(p(i,o))return i[o];var a=d(o);return p(i,a)?i[a]:i[n]||i[o]||i[a]}}function Ie(e,t,n,r){var i=t[e],o=!p(n,e),a=n[e],s=Pe(Boolean,i.type);if(-1<s)if(o&&!p(i,"default"))a=!1;else if(""===a||a===_(e)){var c=Pe(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!p(t,"default"))return;var r=t.default;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==Me(t.type)?r.call(e):r}(r,i,e);var l=ye;ge(!0),we(a),ge(l)}return a}function Me(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function De(e,t){return Me(e)===Me(t)}function Pe(e,t){if(!Array.isArray(t))return De(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(De(t[n],e))return n;return-1}function Fe(e,t,n){if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Re(e,r,"errorCaptured hook")}}Re(e,t,n)}function Re(e,t,n){if(j.errorHandler)try{return j.errorHandler.call(null,e,t,n)}catch(e){He(e,null,"config.errorHandler")}He(e,t,n)}function He(e,t,n){if(!B&&!U||"undefined"==typeof console)throw e;console.error(e)}var Be,Ue,Ve=[],ze=!1;function Ke(){ze=!1;for(var e=Ve.slice(0),t=Ve.length=0;t<e.length;t++)e[t]()}var Je=!1;if("undefined"!=typeof setImmediate&&ee(setImmediate))Ue=function(){setImmediate(Ke)};else if("undefined"==typeof MessageChannel||!ee(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Ue=function(){setTimeout(Ke,0)};else{var qe=new MessageChannel,We=qe.port2;qe.port1.onmessage=Ke,Ue=function(){We.postMessage(1)}}if("undefined"!=typeof Promise&&ee(Promise)){var Ge=Promise.resolve();Be=function(){Ge.then(Ke),W&&setTimeout($)}}else Be=Ue;function Ze(e,t){var n;if(Ve.push(function(){if(e)try{e.call(t)}catch(e){Fe(e,t,"nextTick")}else n&&n(t)}),ze||(ze=!0,Je?Ue():Be()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var Xe=new te;function Ye(e){!function e(t,n){var r,i;var o=Array.isArray(t);if(!o&&!P(t)||Object.isFrozen(t)||t instanceof le)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}(e,Xe),Xe.clear()}var Qe,et=e(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function tt(e){function i(){var e=arguments,t=i.fns;if(!Array.isArray(t))return t.apply(null,arguments);for(var n=t.slice(),r=0;r<n.length;r++)n[r].apply(null,e)}return i.fns=e,i}function nt(e,t,n,r,i){var o,a,s,c;for(o in e)a=e[o],s=t[o],c=et(o),M(a)||(M(s)?(M(a.fns)&&(a=e[o]=tt(a)),n(c.name,a,c.once,c.capture,c.passive,c.params)):a!==s&&(s.fns=a,e[o]=s));for(o in t)M(e[o])&&r((c=et(o)).name,t[o],c.capture)}function rt(e,t,n){var r;e instanceof le&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function o(){n.apply(this,arguments),f(r.fns,o)}M(i)?r=tt([o]):D(i.fns)&&S(i.merged)?(r=i).fns.push(o):r=tt([i,o]),r.merged=!0,e[t]=r}function it(e,t,n,r,i){if(D(t)){if(p(t,n))return e[n]=t[n],i||delete t[n],!0;if(p(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ot(e){return T(e)?[pe(e)]:Array.isArray(e)?function e(t,n){var r=[];var i,o,a,s;for(i=0;i<t.length;i++)M(o=t[i])||"boolean"==typeof o||(a=r.length-1,s=r[a],Array.isArray(o)?0<o.length&&(at((o=e(o,(n||"")+"_"+i))[0])&&at(s)&&(r[a]=pe(s.text+o[0].text),o.shift()),r.push.apply(r,o)):T(o)?at(s)?r[a]=pe(s.text+o):""!==o&&r.push(pe(o)):at(o)&&at(s)?r[a]=pe(s.text+o.text):(S(t._isVList)&&D(o.tag)&&M(o.key)&&D(n)&&(o.key="__vlist"+n+"_"+i+"__"),r.push(o)));return r}(e):void 0}function at(e){return D(e)&&D(e.text)&&!1===e.isComment}function st(e,t){return(e.__esModule||ne&&"Module"===e[Symbol.toStringTag])&&(e=e.default),P(e)?t.extend(e):e}function ct(e){return e.isComment&&e.asyncFactory}function lt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(D(n)&&(D(n.componentOptions)||ct(n)))return n}}function ut(e,t,n){n?Qe.$once(e,t):Qe.$on(e,t)}function ft(e,t){Qe.$off(e,t)}function pt(e,t,n){Qe=e,nt(t,n||{},ut,ft),Qe=void 0}function dt(e,t){var n={};if(!e)return n;for(var r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(vt)&&delete n[l];return n}function vt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ht(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?ht(e[n],t):t[e[n].key]=e[n].fn;return t}var mt=null;function yt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function gt(e,t){if(t){if(e._directInactive=!1,yt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)gt(e.$children[n]);_t(e,"activated")}}function _t(t,n){se();var e=t.$options[n];if(e)for(var r=0,i=e.length;r<i;r++)try{e[r].call(t)}catch(e){Fe(e,t,n+" hook")}t._hasHookEvent&&t.$emit("hook:"+n),ce()}var bt=[],$t=[],wt={},Ct=!1,xt=!1,kt=0;function At(){var e,t;for(xt=!0,bt.sort(function(e,t){return e.id-t.id}),kt=0;kt<bt.length;kt++)t=(e=bt[kt]).id,wt[t]=null,e.run();var n=$t.slice(),r=bt.slice();kt=bt.length=$t.length=0,wt={},Ct=xt=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,gt(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&_t(r,"updated")}}
vendor: 1,897 bytes, line 1339
1339(r),Q&&j.devtools&&Q.emit("flush")}var Ot=0,St=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ot,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new te,this.newDepIds=new te,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!L.test(e)){var n=e.split(".");return function(e){for(var t=0;t<n.length;t++){if(!e)return;e=e[n[t]]}return e}}}(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};St.prototype.get=function(){var e;se(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Fe(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ye(e),ce(),this.cleanupDeps()}return e},St.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},St.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},St.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==wt[t]){if(wt[t]=!0,xt){for(var n=bt.length-1;kt<n&&bt[n].id>e.id;)n--;bt.splice(n+1,0,e)}else bt.push(e);Ct||(Ct=!0,Ze(At))}}(this)},St.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||P(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Fe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},St.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1}
1339,St.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},St.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||f(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Tt={enumerable:!0,configurable:!0,get:$,set:$};function Et(e,t,n){Tt.get=function(){return this[t][n]},Tt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Tt)}function jt(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var i=n.$options.propsData||{},o=n._props={},a=n.$options._propKeys=[];n.$parent&&ge(!1);var e=function(e){a.push(e);var t=Ie(e,r,i,n);Ce(o,e,t),e in n||Et(n,"_props",e)};for(var t in r)e(t);ge(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?$:v(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){se();try{return e.call(t,t)}catch(e){return Fe(e,t,"data()"),{}}finally{ce()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&p(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Et(e,"_data",o))}var a;we(t,!0)}(e):we(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Y();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new St(e,a||$,$,Nt)),i in e||Lt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==G&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Mt(e,n,r[i]);else Mt(e,n,r)}}(e,t.watch)}var Nt={lazy:!0};function Lt(e,t,n){var r=!Y();"function"==typeof n?(Tt.get=r?It(t):n,Tt.set=$):(Tt.get=n.get?r&&!1!==n.cache?It(t):n.get:$,Tt.set=n.set?n.set:$),Object.defineProperty(e,t,Tt)}function It(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),oe.target&&e.depend(),e.value}}function Mt(e,t,n,r){return l(n)&&(n=(r=n).handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Dt(t,e){if(t){for(var n=Object.create(null),r=ne?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){for(var o=r[i],a=t[o].from,s=e;s;){if(s._provided&&p(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[o]){var c=t[o].default;n[o]="function"==typeof c?c.call(e):c}}return n}}function Pt(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(P(e))for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return D(n)&&(n._isVList=!0),n}function Ft(e,t,n,r){var i,o=this.$scopedSlots[e];if(o)n=n||{},r&&(n=m(m({},r),n)),i=o(n)||t;else{var a=this.$slots[e];a&&(a._rendered=!0),i=a||t}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Rt(e){return Le(this.$options,"filters",e)||w}function Ht(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Bt(e,t,n,r,i){var o=j.keyCodes[t]||n;return i&&r&&!j.keyCodes[t]?Ht(i,r):o?Ht(o,e):r?_(r)!==t:void 0}function Ut(n,r,i,o,a){if(i)if(P(i)){var s;Array.isArray(i)&&(i=b(i));var e=function(t){if("class"===t||"style"===t||u(t))s=n;else{var e=n.attrs&&n.attrs.type;s=o||j.mustUseProp(r,e,t)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={})}t in s||(s[t]=i[t],a&&((n.on||(n.on={}))["update:"+t]=function(e){i[t]=e}))};for(var t in i)e(t)}else;return n}function Vt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||Kt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function zt(e,t,n){return Kt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Kt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Jt(e[r],t+"_"+r,n);else Jt(e,t,n)}function Jt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function qt(e,t){if(t)if(l(t)){var n=e.on=e.on?m({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function Wt(e){e._o=zt,e._n=F,e._s=t,e._l=Pt,e._t=Ft,e._q=C,e._i=x,e._m=Vt,e._f=Rt,e._k=Bt,e._b=Ut,e._v=pe,e._e=fe,e._u=ht,e._g=qt}function Gt(e,t,n,o,r){var a,s=r.options;p(o,"_uid")?(a=Object.create(o))._original=o:o=(a=o)._original;var i=S(s._compiled),c=!i;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||y,this.injections=Dt(s.inject,o),this.slots=function(){return dt(n,o)},i&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||y),s._scopeId?this._c=function(e,t,n,r){var i=rn(a,e,t,n,r,c);return i&&!Array.isArray(i)&&(i.fnScopeId=s._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return rn(a,e,t,n,r,c)}}function Zt(e,t,n,r){var i=de(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Xt(e,t){for(var n in t)e[g(n)]=t[n]}Wt(Gt.prototype);var Yt={init:function(e,t,n,r){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var i=e;Yt.prepatch(i,i)}else{(e.componentInstance=function(e,t,n,r){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},o=e.data.inlineTemplate;D(o)&&(i.render=o.render,i.staticRenderFns=o.staticRenderFns);return new e.componentOptions.Ctor(i)}(e,mt,n,r)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;
1339!function(e,t,n,r,i){var o=!!(i||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==y);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,e.$attrs=r.data.attrs||y,e.$listeners=n||y,t&&e.$options.props){ge(!1);for(var a=e._props,s=e.$options._propKeys||[],c=0;c<s.length;c++){var l=s[c],u=e.$options.props;a[l]=Ie(l,u,t,e)}ge(!0),e.$options.propsData=t}n=n||y;var f=e.$options._parentListeners;e.$options._parentListeners=n,pt(e,n,f),o&&(e.$slots=dt(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,_t(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,$t.push(t)):gt(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,yt(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);_t(t,"deactivated")}}(t,!0):t.$destroy())}},Qt=Object.keys(Yt);function en(e,t,n,r,i){if(!M(e)){var o=n.$options._base;if(P(e)&&(e=o.extend(e)),"function"==typeof e){var a,s,c,l,u,f,p;if(M(e.cid)&&void 0===(e=function(t,n,e){if(S(t.error)&&D(t.errorComp))return t.errorComp;if(D(t.resolved))return t.resolved;if(S(t.loading)&&D(t.loadingComp))return t.loadingComp;if(!D(t.contexts)){var r=t.contexts=[e],i=!0,o=function(){for(var e=0,t=r.length;e<t;e++)r[e].$forceUpdate()},a=R(function(e){t.resolved=st(e,n),i||o()}),s=R(function(e){D(t.errorComp)&&(t.error=!0,o())}),c=t(a,s);return P(c)&&("function"==typeof c.then?M(t.resolved)&&c.then(a,s):D(c.component)&&"function"==typeof c.component.then&&(c.component.then(a,s),D(c.error)&&(t.errorComp=st(c.error,n)),D(c.loading)&&(t.loadingComp=st(c.loading,n),0===c.delay?t.loading=!0:setTimeout(function(){M(t.resolved)&&M(t.error)&&(t.loading=!0,o())},c.delay||200)),D(c.timeout)&&setTimeout(function(){M(t.resolved)&&s(null)},c.timeout))),i=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(e)}(a=e,o,n)))return s=a,c=t,l=n,u=r,f=i,(p=fe()).asyncFactory=s,p.asyncMeta={data:c,context:l,children:u,tag:f},p;t=t||{},dn(e),D(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});D(i[r])?i[r]=[t.model.callback].concat(i[r]):i[r]=t.model.callback}(e.options,t);var d=function(e,t,n){var r=t.options.props;if(!M(r)){var i={},o=e.attrs,a=e.props;if(D(o)||D(a))for(var s in r){var c=_(s);it(i,a,s,c,!0)||it(i,o,s,c,!1)}return i}}(t,e);if(S(e.options.functional))return function(e,t,n,r,i){var o=e.options,a={},s=o.props;if(D(s))for(var c in s)a[c]=Ie(c,s,t||y);else D(n.attrs)&&Xt(a,n.attrs),D(n.props)&&Xt(a,n.props);var l=new Gt(n,a,i,r,e),u=o.render.call(null,l._c,l);if(u instanceof le)return Zt(u,n,l.parent,o);if(Array.isArray(u)){for(var f=ot(u)||[],p=new Array(f.length),d=0;d<f.length;d++)p[d]=Zt(f[d],n,l.parent,o);return p}}(e,d,t,n,r);var v=t.on;if(t.on=t.nativeOn,S(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Qt.length;n++){var r=Qt[n];t[r]=Yt[r]}}(t);var m=e.options.name||i;return new le("vue-component-"+e.cid+(m?"-"+m:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:v,tag:i,children:r},a)}}}var tn=1,nn=2;function rn(e,t,n,r,i,o){return(Array.isArray(n)||T(n))&&(i=r,r=n,n=void 0),S(o)&&(i=nn),function(e,t,n,r,i){if(D(n)&&D(n.__ob__))return fe();D(n)&&D(n.is)&&(t=n.is);if(!t)return fe();Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);i===nn?r=ot(r):i===tn&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var o,a;if("string"==typeof t){var s;a=e.$vnode&&e.$vnode.ns||j.getTagNamespace(t),o=j.isReservedTag(t)?new le(j.parsePlatformTagName(t),n,r,void 0,void 0,e):D(s=Le(e.$options,"components",t))?en(s,n,e,r,t):new le(t,n,r,void 0,void 0,e)}else o=en(t,n,e,r);return Array.isArray(o)?o:D(o)?(D(a)&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(n=void 0,r=!0);if(D(t.children))for(var i=0,o=t.children.length;i<o;i++){var a=t.children[i];
1339D(a.tag)&&(M(a.ns)||S(r)&&"svg"!==a.tag)&&e(a,n,r)}}(o,a),D(n)&&function(e){P(e.style)&&Ye(e.style);P(e.class)&&Ye(e.class)}(n),o):fe()}(e,t,n,r,i)}var on,an,sn,cn,ln,un,fn,pn=0;function dn(e){var t=e.options;if(e.super){var n=dn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.extendOptions,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=vn(n[o],r[o],i[o]));return t}(e);r&&m(e.extendOptions,r),(t=e.options=Ne(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function vn(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var i=0;i<e.length;i++)(0<=t.indexOf(e[i])||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function hn(e){this._init(e)}function mn(e){e.cid=0;var a=1;e.extend=function(e){e=e||{};var t=this,n=t.cid,r=e._Ctor||(e._Ctor={});if(r[n])return r[n];var i=e.name||t.options.name,o=function(e){this._init(e)};return((o.prototype=Object.create(t.prototype)).constructor=o).cid=a++,o.options=Ne(t.options,e),o.super=t,o.options.props&&function(e){var t=e.options.props;for(var n in t)Et(e.prototype,"_props",n)}(o),o.options.computed&&function(e){var t=e.options.computed;for(var n in t)Lt(e.prototype,n,t[n])}(o),o.extend=t.extend,o.mixin=t.mixin,o.use=t.use,k.forEach(function(e){o[e]=t[e]}),i&&(o.options.components[i]=o),o.superOptions=t.options,o.extendOptions=e,o.sealedOptions=m({},o.options),r[n]=o}}function yn(e){return e&&(e.Ctor.options.name||e.tag)}function gn(e,t){return Array.isArray(e)?-1<e.indexOf(t):"string"==typeof e?-1<e.split(",").indexOf(t):(n=e,"[object RegExp]"===r.call(n)&&e.test(t));var n}function _n(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=yn(a.componentOptions);s&&!t(s)&&bn(n,o,r,i)}}}function bn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,f(n,t)}hn.prototype._init=function(e){var t,n,r,i,o=this;o._uid=pn++,o._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,e):o.$options=Ne(dn(o.constructor),e||{},o),function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}((o._renderProxy=o)._self=o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&pt(e,t)}(o),function(i){i._vnode=null,i._staticTrees=null;var e=i.$options,t=i.$vnode=e._parentVnode,n=t&&t.context;i.$slots=dt(e._renderChildren,n),i.$scopedSlots=y,i._c=function(e,t,n,r){return rn(i,e,t,n,r,!1)},i.$createElement=function(e,t,n,r){return rn(i,e,t,n,r,!0)};var r=t&&t.data;Ce(i,"$attrs",r&&r.attrs||y,null,!0),Ce(i,"$listeners",e._parentListeners||y,null,!0)}(o),_t(o,"beforeCreate"),(n=Dt((t=o).$options.inject,t))&&(ge(!1),Object.keys(n).forEach(function(e){Ce(t,e,n[e])}),ge(!0)),jt(o),(i=(r=o).$options.provide)&&(r._provided="function"==typeof i?i.call(r):i),_t(o,"created"),o.$options.el&&o.$mount(o.$options.el)},on=hn,an={get:function(){return this._data}},sn={get:function(){return this._props}},Object.defineProperty(on.prototype,"$data",an),Object.defineProperty(on.prototype,"$props",sn),on.prototype.$set=xe,on.prototype.$delete=ke,on.prototype.$watch=function(e,t,n){if(l(t))return Mt(this,e,t,n);(n=n||{}).user=!0;var r=new St(this,e,t,n);return n.immediate&&t.call(this,r.value),function(){r.teardown()}},ln=/^hook:/,(cn=hn).prototype.$on=function(e,t){if(Array.isArray(e))for(var n=0,r=e.length;n<r;n++)this.$on(e[n],t);else(this._events[e]||(this._events[e]=[])).push(t),ln.test(e)&&(this._hasHookEvent=!0);return this},cn.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},cn.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)this.$off(e[r],t);return n}var o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;if(t)for(var a,s=o.length;s--;)if((a=o[s])===t||a.fn===t){o.splice(s,1);break}return n},cn.prototype.$emit=function(t){var n=this,e=n._events[t];if(e){e=1<e.length?h(e):e;
vendor: 11,279 bytes, line 1339
1339for(var r=h(arguments,1),i=0,o=e.length;i<o;i++)try{e[i].apply(n,r)}catch(e){Fe(e,n,'event handler for "'+t+'"')}}return n},(un=hn).prototype._update=function(e,t){var n=this;n._isMounted&&_t(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=mt;(mt=n)._vnode=e,i?n.$el=n.__patch__(i,e):(n.$el=n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),mt=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},un.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},un.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){_t(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||f(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),_t(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}},Wt((fn=hn).prototype),fn.prototype.$nextTick=function(e){return Ze(e,this)},fn.prototype._render=function(){var t,n=this,e=n.$options,r=e.render,i=e._parentVnode;i&&(n.$scopedSlots=i.data.scopedSlots||y),n.$vnode=i;try{t=r.call(n._renderProxy,n.$createElement)}catch(e){Fe(e,n,"render"),t=n._vnode}return t instanceof le||(t=fe()),t.parent=i,t};var $n,wn,Cn,xn=[String,RegExp,Array],kn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:xn,exclude:xn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)bn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){_n(e,function(e){return gn(t,e)})}),this.$watch("exclude",function(t){_n(e,function(e){return!gn(t,e)})})},render:function(){var e=this.$slots.default,t=lt(e),n=t&&t.componentOptions;if(n){var r=yn(n),i=this.include,o=this.exclude;if(i&&(!r||!gn(i,r))||o&&r&&gn(o,r))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,f(s,c),s.push(c)):(a[c]=t,s.push(c),this.max&&s.length>parseInt(this.max)&&bn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};$n=hn,Cn={get:function(){return j}},Object.defineProperty($n,"config",Cn),$n.util={warn:re,extend:m,mergeOptions:Ne,defineReactive:Ce},$n.set=xe,$n.delete=ke,$n.nextTick=Ze,$n.options=Object.create(null),k.forEach(function(e){$n.options[e+"s"]=Object.create(null)}),m(($n.options._base=$n).options.components,kn),$n.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1<t.indexOf(e))return this;var n=h(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this},$n.mixin=function(e){return this.options=Ne(this.options,e),this},mn($n),wn=$n,k.forEach(function(n){wn[n]=function(e,t){return t?("component"===n&&l(t)&&(t.name=t.name||e,t=this.options._base.extend(t)),"directive"===n&&"function"==typeof t&&(t={bind:t,update:t}),this.options[n+"s"][e]=t):this.options[n+"s"][e]}}),Object.defineProperty(hn.prototype,"$isServer",{get:Y}),Object.defineProperty(hn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(hn,"FunctionalRenderContext",{value:Gt}),hn.version="2.5.17";var An=s("style,class"),On=s("input,textarea,option,select,progress"),Sn=function(e,t,n){return"value"===n&&On(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tn=s("contenteditable,draggable,spellcheck"),En=s("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),jn="http://www.w3.org/1999/xlink",Nn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ln=function(e){return Nn(e)?e.slice(6,e.length):""},In=function(e){return null==e||!1===e};function Mn(e){for(var t=e.data,n=e,r=e;D(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Dn(r.data,t));for(;D(n=n.parent);)n&&n.data&&(t=Dn(t,n.data));return function(e,t){if(D(e)||D(t))return Pn(e,Fn(t));return""}(t.staticClass,t.class)}function Dn(e,t){return{staticClass:Pn(e.staticClass,t.staticClass),class:D(e.class)?[e.class,t.class]:t.class}}function Pn(e,t){return e?t?e+" "+t:e:t||""}function Fn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)D(t=Fn(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):P(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Rn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Hn=s("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Bn=s("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Un=function(e){return Hn(e)||Bn(e)};function Vn(e){return Bn(e)?"svg":"math"===e?"math":void 0}var zn=Object.create(null);var Kn=s("text,number,password,search,email,tel,url");function Jn(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var qn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Rn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Wn={create:function(e,t){Gn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Gn(e,!0),Gn(t))},destroy:function(e){Gn(e,!0)}};function Gn(e,t){var n=e.data.ref;if(D(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?f(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var Zn=new le("",{},[]),Xn=["create","activate","update","remove","destroy"];function Yn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&D(e.data)===D(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=D(n=e.data)&&D(n=n.attrs)&&n.type,i=D(n=t.data)&&D(n=n.attrs)&&n.type;return r===i||Kn(r)&&Kn(i)}(e,t)||S(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&M(t.asyncFactory.error))}function Qn(e,t,n){var r,i,o={};for(r=t;r<=n;++r)D(i=e[r].key)&&(o[i]=r);return o}var er={create:tr,update:tr,destroy:function(e){tr(e,Zn)}};function tr(e,t){(e.data.directives||t.data.directives)&&function(t,n){var e,r,i,o=t===Zn,a=n===Zn,s=rr(t.data.directives,t.context),c=rr(n.data.directives,n.context),l=[],u=[];for(e in c)r=s[e],i=c[e],r?(i.oldValue=r.value,ir(i,"update",n,t),i.def&&i.def.componentUpdated&&u.push(i)):(ir(i,"bind",n,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var e=0;e<l.length;e++)ir(l[e],"inserted",n,t)};o?rt(n,"insert",f):f()}u.length&&rt(n,"postpatch",function(){for(var e=0;e<u.length;e++)ir(u[e],"componentUpdated",n,t)});if(!o)for(e in s)c[e]||ir(s[e],"unbind",t,t,a)}(e,t)}var nr=Object.create(null);function rr(e,t){var n,r,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=nr),(o[(i=r,i.rawName||i.name+"."+Object.keys(i.modifiers||{}).join("."))]=r).def=Le(t.$options,"directives",r.name);return o}function ir(t,n,r,e,i){var o=t.def&&t.def[n];if(o)try{o(r.elm,t,r,e,i)}catch(e){Fe(e,r.context,"directive "+t.name+" "+n+" hook")}}var or=[Wn,er];function ar(e,t){var n=t.componentOptions;if(!(D(n)&&!1===n.Ctor.options.inheritAttrs||M(e.data.attrs)&&M(t.data.attrs))){var r,i,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(r in D(s.__ob__)&&(s=t.data.attrs=m({},s)),s)i=s[r],a[r]!==i&&sr(o,r,i);for(r in(K||q)&&s.value!==a.value&&sr(o,"value",s.value),a)M(s[r])&&(Nn(r)?o.removeAttributeNS(jn,Ln(r)):Tn(r)||o.removeAttribute(r))}}function sr(e,t,n){-1<e.tagName.indexOf("-")?cr(e,t,n):En(t)?In(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Tn(t)?e.setAttribute(t,In(n)||"false"===n?"false":"true"):Nn(t)?In(n)?e.removeAttributeNS(jn,Ln(t)):e.setAttributeNS(jn,t,n):cr(e,t,n)}function cr(t,e,n){if(In(n))t.removeAttribute(e);else{if(K&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var lr={create:ar,update:ar};function ur(e,t){var n=t.elm,r=t.data,i=e.data;if(!(M(r.staticClass)&&M(r.class)&&(M(i)||M(i.staticClass)&&M(i.class)))){var o=Mn(t),a=n._transitionClasses;D(a)&&(o=Pn(o,Fn(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var fr,pr,dr,vr,hr,mr,yr={create:ur,update:ur},gr=/[\w).+\-_$\]]/;function _r(e){var t,n,r,i,o,a=!1,s=!1,c=!1,l=!1,u=0,f=0,p=0,d=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||u||f||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===t){for(var v=r-1,h=void 0;0<=v&&" "===(h=e.charAt(v));v--);h&&gr.test(h)||(l=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r<o.length;r++)i=br(i,o[r]);return i}function br(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),i=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==i?","+i:i)}function $r(e){console.error("[Vue compiler]: "+e)}function wr(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Cr(e,t,n){(e.props||(e.props=[])).push({name:t,value:n}),e.plain=!1}
1339function xr(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n}),e.plain=!1}function kr(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}function Ar(e,t,n,r,i,o){var a;(r=r||y).capture&&(delete r.capture,t="!"+t),r.once&&(delete r.once,t="~"+t),r.passive&&(delete r.passive,t="&"+t),"click"===t&&(r.right?(t="contextmenu",delete r.right):r.middle&&(t="mouseup")),r.native?(delete r.native,a=e.nativeEvents||(e.nativeEvents={})):a=e.events||(e.events={});var s={value:n.trim()};r!==y&&(s.modifiers=r);var c=a[t];Array.isArray(c)?i?c.unshift(s):c.push(s):a[t]=c?i?[s,c]:[c,s]:s,e.plain=!1}function Or(e,t,n){var r=Sr(e,":"+t)||Sr(e,"v-bind:"+t);if(null!=r)return _r(r);if(!1!==n){var i=Sr(e,t);if(null!=i)return JSON.stringify(i)}}function Sr(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function Tr(e,t,n){var r=n||{},i=r.number,o="$$v",a=o;r.trim&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=Er(t,a);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+s+"}"}}function Er(e,t){var n=function(e){if(e=e.trim(),fr=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<fr-1)return-1<(vr=e.lastIndexOf("."))?{exp:e.slice(0,vr),key:'"'+e.slice(vr+1)+'"'}:{exp:e,key:null};pr=e,vr=hr=mr=0;for(;!Nr();)Lr(dr=jr())?Mr(dr):91===dr&&Ir(dr);return{exp:e.slice(0,hr),key:e.slice(hr+1,mr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function jr(){return pr.charCodeAt(++vr)}function Nr(){return fr<=vr}function Lr(e){return 34===e||39===e}function Ir(e){var t=1;for(hr=vr;!Nr();)if(Lr(e=jr()))Mr(e);else if(91===e&&t++,93===e&&t--,0===t){mr=vr;break}}function Mr(e){for(var t=e;!Nr()&&(e=jr())!==t;);}var Dr,Pr="__r",Fr="__c";function Rr(e,t,n,r,i){var o,a,s,c,l;t=(o=t)._withTask||(o._withTask=function(){Je=!0;var e=o.apply(null,arguments);return Je=!1,e}),n&&(a=t,s=e,c=r,l=Dr,t=function e(){null!==a.apply(null,arguments)&&Hr(s,e,c,l)}),Dr.addEventListener(e,t,Z?{capture:r,passive:i}:r)}function Hr(e,t,n,r){(r||Dr).removeEventListener(e,t._withTask||t,n)}function Br(e,t){if(!M(e.data.on)||!M(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Dr=t.elm,function(e){if(D(e[Pr])){var t=K?"change":"input";e[t]=[].concat(e[Pr],e[t]||[]),delete e[Pr]}D(e[Fr])&&(e.change=[].concat(e[Fr],e.change||[]),delete e[Fr])}(n),nt(n,r,Rr,Hr,t.context),Dr=void 0}}var Ur={create:Br,update:Br};function Vr(e,t){if(!M(e.data.domProps)||!M(t.data.domProps)){var n,r,i,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in D(c.__ob__)&&(c=t.data.domProps=m({},c)),s)M(c[n])&&(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){var l=M(a._value=r)?"":String(r);o=l,(i=a).composing||"OPTION"!==i.tagName&&!function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(i,o)&&!function(e,t){var n=e.value,r=e._vModifiers;if(D(r)){if(r.lazy)return!1;if(r.number)return F(n)!==F(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(i,o)||(a.value=l)}else a[n]=r}}}var zr={create:Vr,update:Vr},Kr=e(function(e){var n={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var t=e.split(r);1<t.length&&(n[t[0].trim()]=t[1].trim())}}),n});function Jr(e){var t=qr(e.style);return e.staticStyle?m(e.staticStyle,t):t}function qr(e){return Array.isArray(e)?b(e):"string"==typeof e?Kr(e):e}var Wr,Gr=/^--/,Zr=/\s*!important$/,Xr=function(e,t,n){if(Gr.test(t))e.style.setProperty(t,n);else if(Zr.test(n))e.style.setProperty(t,n.replace(Zr,""),"important");else{var r=Qr(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Yr=["Webkit","Moz","ms"],Qr=e(function(e){if(Wr=Wr||document.createElement("div").style,"filter"!==(e=g(e))&&e in Wr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Yr.length;n++){var r=Yr[n]+t;if(r in Wr)return r}});function ei(e,t){var n=t.data,r=e.data;if(!(M(n.staticStyle)&&M(n.style)&&M(r.staticStyle)&&M(r.style))){var i,o,a=t.elm,s=r.staticStyle,c=r.normalizedStyle||r.style||{},l=s||c,u=qr(t.data.style)||{};t.data.normalizedStyle=D(u.__ob__)?m({},u):u;var f=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Jr(i.data))&&m(r,n);(n=Jr(e.data))&&m(r,n);for(var o=e;o=o.parent;)o.data&&(n=Jr(o.data))&&m(r,n);return r}(t,!0);
vendor: 13,372 bytes, line 1339
1339for(o in l)M(f[o])&&Xr(a,o,"");for(o in f)(i=f[o])!==l[o]&&Xr(a,o,null==i?"":i)}}var ti={create:ei,update:ei};function ni(t,e){if(e&&(e=e.trim()))if(t.classList)-1<e.indexOf(" ")?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ri(t,e){if(e&&(e=e.trim()))if(t.classList)-1<e.indexOf(" ")?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";0<=n.indexOf(r);)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function ii(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&m(t,oi(e.name||"v")),m(t,e),t}return"string"==typeof e?oi(e):void 0}}var oi=e(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ai=B&&!J,si="transition",ci="animation",li="transition",ui="transitionend",fi="animation",pi="animationend";ai&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(li="WebkitTransition",ui="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(fi="WebkitAnimation",pi="webkitAnimationEnd"));var di=B?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function vi(e){di(function(){di(e)})}function hi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ni(e,t))}function mi(e,t){e._transitionClasses&&f(e._transitionClasses,t),ri(e,t)}function yi(t,e,n){var r=_i(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===si?ui:pi,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&l()};setTimeout(function(){c<a&&l()},o+1),t.addEventListener(s,u)}var gi=/\b(transform|all)(,|$)/;function _i(e,t){var n,r=window.getComputedStyle(e),i=r[li+"Delay"].split(", "),o=r[li+"Duration"].split(", "),a=bi(i,o),s=r[fi+"Delay"].split(", "),c=r[fi+"Duration"].split(", "),l=bi(s,c),u=0,f=0;return t===si?0<a&&(n=si,u=a,f=o.length):t===ci?0<l&&(n=ci,u=l,f=c.length):f=(n=0<(u=Math.max(a,l))?l<a?si:ci:null)?n===si?o.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===si&&gi.test(r[li+"Property"])}}function bi(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max.apply(null,e.map(function(e,t){return $i(e)+$i(n[t])}))}function $i(e){return 1e3*Number(e.slice(0,-1))}function wi(n,e){var r=n.elm;D(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var t=ii(n.data.transition);if(!M(t)&&!D(r._enterCb)&&1===r.nodeType){for(var i=t.css,o=t.type,a=t.enterClass,s=t.enterToClass,c=t.enterActiveClass,l=t.appearClass,u=t.appearToClass,f=t.appearActiveClass,p=t.beforeEnter,d=t.enter,v=t.afterEnter,h=t.enterCancelled,m=t.beforeAppear,y=t.appear,g=t.afterAppear,_=t.appearCancelled,b=t.duration,$=mt,w=mt.$vnode;w&&w.parent;)$=(w=w.parent).context;var C=!$._isMounted||!n.isRootInsert;if(!C||y||""===y){var x=C&&l?l:a,k=C&&f?f:c,A=C&&u?u:s,O=C&&m||p,S=C&&"function"==typeof y?y:d,T=C&&g||v,E=C&&_||h,j=F(P(b)?b.enter:b),N=!1!==i&&!J,L=ki(S),I=r._enterCb=R(function(){N&&(mi(r,A),mi(r,k)),I.cancelled?(N&&mi(r,x),E&&E(r)):T&&T(r),r._enterCb=null});n.data.show||rt(n,"insert",function(){var e=r.parentNode,t=e&&e._pending&&e._pending[n.key];t&&t.tag===n.tag&&t.elm._leaveCb&&t.elm._leaveCb(),S&&S(r,I)}),O&&O(r),N&&(hi(r,x),hi(r,k),vi(function(){mi(r,x),I.cancelled||(hi(r,A),L||(xi(j)?setTimeout(I,j):yi(r,o,I)))})),n.data.show&&(e&&e(),S&&S(r,I)),N||L||I()}}}function Ci(e,t){var n=e.elm;D(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ii(e.data.transition);if(M(r)||1!==n.nodeType)return t();if(!D(n._leaveCb)){var i=r.css,o=r.type,a=r.leaveClass,s=r.leaveToClass,c=r.leaveActiveClass,l=r.beforeLeave,u=r.leave,f=r.afterLeave,p=r.leaveCancelled,d=r.delayLeave,v=r.duration,h=!1!==i&&!J,m=ki(u),y=F(P(v)?v.leave:v),g=n._leaveCb=R(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),h&&(mi(n,s),mi(n,c)),g.cancelled?(h&&mi(n,a),p&&p(n)):(t(),f&&f(n)),n._leaveCb=null});d?d(_):_()}function _(){g.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),l&&l(n),h&&(hi(n,a),hi(n,c),vi(function(){mi(n,a),g.cancelled||(hi(n,s),m||(xi(y)?setTimeout(g,y):yi(n,o,g)))})),u&&u(n,g),h||m||g())}}function xi(e){return"number"==typeof e&&!isNaN(e)}function ki(e){if(M(e))return!1;var t=e.fns;return D(t)?ki(Array.isArray(t)?t[0]:t):1<(e._length||e.length)}function Ai(e,t){!0!==t.data.show&&wi(t)}var Oi=function(e){var r,t,g={},n=e.modules,_=e.nodeOps;for(r=0;r<Xn.length;++r)for(g[Xn[r]]=[],t=0;t<n.length;++t)D(n[t][Xn[r]])&&g[Xn[r]].push(n[t][Xn[r]]);function o(e){var t=_.parentNode(e);D(t)&&_.removeChild(t,e)}function b(e,t,n,r,i,o,a){if(D(e.elm)&&D(o)&&(e=o[a]=de(e)),e.isRootInsert=!i,!function(e,t,n,r){var i=e.data;if(D(i)){var o=D(e.componentInstance)&&i.keepAlive;if(D(i=i.hook)&&D(i=i.init)&&i(e,!1,n,r),D(e.componentInstance))return d(e,t),S(o)&&function(e,t,n,r){for(var i,o=e;o.componentInstance;)if(o=o.componentInstance._vnode,D(i=o.data)&&D(i=i.transition)){for(i=0;i<g.activate.length;++i)g.activate[i](Zn,o);t.push(o);break}u(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var s=e.data,c=e.children,l=e.tag;D(l)?(e.elm=e.ns?_.createElementNS(e.ns,l):_.createElement(l,e),f(e),v(e,c,t),D(s)&&h(e,t)):S(e.isComment)?e.elm=_.createComment(e.text):e.elm=_.createTextNode(e.text),u(n,e.elm,r)}}function d(e,t){D(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,$(e)?(h(e,t),f(e)):(Gn(e),t.push(e))}function u(e,t,n){D(e)&&(D(n)?n.parentNode===e&&_.insertBefore(e,t,n):_.appendChild(e,t))}function v(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)b(t[r],n,e.elm,null,!0,t,r);else T(e.text)&&_.appendChild(e.elm,_.createTextNode(String(e.text)))}function $(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return D(e.tag)}function h(e,t){for(var n=0;n<g.create.length;++n)g.create[n](Zn,e);D(r=e.data.hook)&&(D(r.create)&&r.create(Zn,e),D(r.insert)&&t.push(e))}function f(e){var t;if(D(t=e.fnScopeId))_.setStyleScope(e.elm,t);else for(var n=e;n;)D(t=n.context)&&D(t=t.$options._scopeId)&&_.setStyleScope(e.elm,t),n=n.parent;D(t=mt)&&t!==e.context&&t!==e.fnContext&&D(t=t.$options._scopeId)&&_.setStyleScope(e.elm,t)}function y(e,t,n,r,i,o){for(;r<=i;++r)b(n[r],o,e,t,!1,n,r)}function w(e){var t,n,r=e.data;if(D(r))for(D(t=r.hook)&&D(t=t.destroy)&&t(e),t=0;t<g.destroy.length;++t)g.destroy[t](e);if(D(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function C(e,t,n,r){for(;n<=r;++n){var i=t[n];D(i)&&(D(i.tag)?(a(i),w(i)):o(i.elm))}}function a(e,t){if(D(t)||D(e.data)){var n,r=g.remove.length+1;for(D(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&o(e)}return n.listeners=t,n}(e.elm,r),D(n=e.componentInstance)&&D(n=n._vnode)&&D(n.data)&&a(n,t),n=0;n<g.remove.length;++n)g.remove[n](e,t);D(n=e.data.hook)&&D(n=n.remove)?n(e,t):t()}else o(e.elm)}function x(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(D(o)&&Yn(e,o))return i}}function k(e,t,n,r){if(e!==t){var i=t.elm=e.elm;if(S(e.isAsyncPlaceholder))D(t.asyncFactory.resolved)?O(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(S(t.isStatic)&&S(e.isStatic)&&t.key===e.key&&(S(t.isCloned)||S(t.isOnce)))t.componentInstance=e.componentInstance;else{var o,a=t.data;D(a)&&D(o=a.hook)&&D(o=o.prepatch)&&o(e,t);var s=e.children,c=t.children;if(D(a)&&$(t)){for(o=0;o<g.update.length;++o)g.update[o](e,t);D(o=a.hook)&&D(o=o.update)&&o(e,t)}M(t.text)?D(s)&&D(c)?s!==c&&function(e,t,n,r,i){for(var o,a,s,c=0,l=0,u=t.length-1,f=t[0],p=t[u],d=n.length-1,v=n[0],h=n[d],m=!i;c<=u&&l<=d;)M(f)?f=t[++c]:M(p)?p=t[--u]:Yn(f,v)?(k(f,v,r),f=t[++c],v=n[++l]):Yn(p,h)?(k(p,h,r),p=t[--u],h=n[--d]):Yn(f,h)?(k(f,h,r),m&&_.insertBefore(e,f.elm,_.nextSibling(p.elm)),f=t[++c],h=n[--d]):(Yn(p,v)?(k(p,v,r),m&&_.insertBefore(e,p.elm,f.elm),p=t[--u]):(M(o)&&(o=Qn(t,c,u)),M(a=D(v.key)?o[v.key]:x(v,t,c,u))?b(v,r,e,f.elm,!1,n,l):Yn(s=t[a],v)?(k(s,v,r),t[a]=void 0,m&&_.insertBefore(e,s.elm,f.elm)):b(v,r,e,f.elm,!1,n,l)),v=n[++l]);u<c?y(e,M(n[d+1])?null:n[d+1].elm,n,l,d,r):d<l&&C(0,t,c,u)}(i,s,c,n,r):D(c)?(D(e.text)&&_.setTextContent(i,""),y(i,null,c,0,c.length-1,n)):D(s)?C(0,s,0,s.length-1):D(e.text)&&_.setTextContent(i,""):e.text!==t.text&&_.setTextContent(i,t.text),D(a)&&D(o=a.hook)&&D(o=o.postpatch)&&o(e,t)}}}function A(e,t,n){if(S(n)&&D(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var m=s("attrs,class,staticClass,staticStyle,key");function O(e,t,n,r){var i,o=t.tag,a=t.data,s=t.children;if(r=r||a&&a.pre,t.elm=e,S(t.isComment)&&D(t.asyncFactory))return t.isAsyncPlaceholder=!0;if(D(a)&&(D(i=a.hook)&&D(i=i.init)&&i(t,!0),D(i=t.componentInstance)))return d(t,n),!0;if(D(o)){if(D(s))if(e.hasChildNodes())if(D(i=a)&&D(i=i.domProps)&&D(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var c=!0,l=e.firstChild,u=0;u<s.length;u++){if(!l||!O(l,s[u],n,r)){c=!1;break}l=l.nextSibling}if(!c||l)return!1}else v(t,s,n);if(D(a)){var f=!1;for(var p in a)if(!m(p)){f=!0,h(t,n);break}!f&&a.class&&Ye(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r,i,o){if(!M(t)){var a,s=!1,c=[];if(M(e))s=!0,b(t,c,i,o);else{var l=D(e.nodeType);if(!l&&Yn(e,t))k(e,t,c,r);else{if(l){if(1===e.nodeType&&e.hasAttribute(E)&&(e.removeAttribute(E),n=!0),S(n)&&O(e,t,c))return A(t,c,!0),e;a=e,e=new le(_.tagName(a).toLowerCase(),{},[],void 0,a)}var u=e.elm,f=_.parentNode(u);if(b(t,c,u._leaveCb?null:f,_.nextSibling(u)),D(t.parent))for(var p=t.parent,d=$(t);p;){for(var v=0;v<g.destroy.length;++v)g.destroy[v](p);if(p.elm=t.elm,d){for(var h=0;h<g.create.length;++h)g.create[h](Zn,p);var m=p.data.hook.insert;if(m.merged)for(var y=1;y<m.fns.length;y++)m.fns[y]()}else Gn(p);p=p.parent}D(f)?C(0,[e],0,0):D(e.tag)&&w(e)}}return A(t,c,s),t.elm}D(e)&&w(e)}}({nodeOps:qn,modules:[lr,yr,Ur,zr,ti,B?{create:Ai,activate:Ai,remove:function(e,t){!0!==e.data.show?Ci(e,t):t()}}:{}].concat(or)});J&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Mi(e,"input")});var Si={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?rt(n,"postpatch",function(){Si.componentUpdated(e,t,n)}):Ti(e,t,n.context),e._vOptions=[].map.call(e.options,Ni)):("textarea"===n.tag||Kn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Li),e.addEventListener("compositionend",Ii),e.addEventListener("change",Ii),J&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ti(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Ni);if(i.some(function(e,t){return!C(e,r[t])}))(e.multiple?t.value.some(function(e){return ji(e,i)}):t.value!==t.oldValue&&ji(t.value,i))&&Mi(e,"change")}}};function Ti(e,t,n){Ei(e,t,n),(K||q)&&setTimeout(function(){Ei(e,t,n)},0)}function Ei(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],i)o=-1<x(r,Ni(a)),a.selected!==o&&(a.selected=o);else if(C(Ni(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ji(t,e){return e.every(function(e){return!C(e,t)})}function Ni(e){return"_value"in e?e._value:e.value}function Li(e){e.target.composing=!0}function Ii(e){e.target.composing&&(e.target.composing=!1,Mi(e.target,"input"))}function Mi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Di(e){return!e.componentInstance||e.data&&e.data.transition?e:Di(e.componentInstance._vnode)}var Pi={model:Si,show:{bind:function(e,t,n){var r=t.value,i=(n=Di(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,wi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Di(n)).data&&n.data.transition?(n.data.show=!0,r?wi(n,function(){e.style.display=e.__vOriginalDisplay}):Ci(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Fi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ri(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ri(lt(t.children)):e}function Hi(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[g(o)]=i[o];return t}function Bi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Ui={name:"transition",props:Fi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag||ct(e)})).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Ri(i);if(!o)return i;if(this._leaving)return Bi(e,i);var a="__transition-"+this._uid+"-";
1339o.key=null==o.key?o.isComment?a+"comment":a+o.tag:T(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s,c,l=(o.data||(o.data={})).transition=Hi(this),u=this._vnode,f=Ri(u);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),f&&f.data&&(s=o,(c=f).key!==s.key||c.tag!==s.tag)&&!ct(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var p=f.data.transition=m({},l);if("out-in"===r)return this._leaving=!0,rt(p,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Bi(e,i);if("in-out"===r){if(ct(o))return u;var d,v=function(){d()};rt(l,"afterEnter",v),rt(l,"enterCancelled",v),rt(p,"delayLeave",function(e){d=e})}}return i}}},Vi=m({tag:String,moveClass:String},Fi);function zi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ki(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ji(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Vi.mode;var qi={Transition:Ui,TransitionGroup:{props:Vi,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Hi(this),s=0;s<i.length;s++){var c=i[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(o.push(c),((n[c.key]=c).data||(c.data={})).transition=a)}if(r){for(var l=[],u=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?l.push(p):u.push(p)}this.kept=e(t,null,l),this.removed=u}return e(t,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,r=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,r)&&(e.forEach(zi),e.forEach(Ki),e.forEach(Ji),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,t=n.style;hi(n,r),t.transform=t.WebkitTransform=t.transitionDuration="",n.addEventListener(ui,n._moveCb=function e(t){t&&!/transform$/.test(t.propertyName)||(n.removeEventListener(ui,e),n._moveCb=null,mi(n,r))})}}))},methods:{hasMove:function(e,t){if(!ai)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){ri(n,e)}),ni(n,t),n.style.display="none",this.$el.appendChild(n);var r=_i(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};hn.config.mustUseProp=Sn,hn.config.isReservedTag=Un,hn.config.isReservedAttr=An,hn.config.getTagNamespace=Vn,hn.config.isUnknownElement=function(e){if(!B)return!0;if(Un(e))return!1;if(e=e.toLowerCase(),null!=zn[e])return zn[e];var t=document.createElement(e);return-1<e.indexOf("-")?zn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:zn[e]=/HTMLUnknownElement/.test(t.toString())},m(hn.options.directives,Pi),m(hn.options.components,qi),hn.prototype.__patch__=B?Oi:$,hn.prototype.$mount=function(e,t){return e=e&&B?Jn(e):void 0,r=e,i=t,(n=this).$el=r,n.$options.render||(n.$options.render=fe),_t(n,"beforeMount"),new St(n,function(){n._update(n._render(),i)},$,null,!0),i=!1,null==n.$vnode&&(n._isMounted=!0,_t(n,"mounted")),n;var n,r,i},B&&setTimeout(function(){j.devtools&&Q&&Q.emit("init",hn)},0);var Wi=/\{\{((?:.|\n)+?)\}\}/g,Gi=/[-.*+?^${}()|[\]\/\\]/g,Zi=e(function(e){var t=e[0].replace(Gi,"\\$&"),n=e[1].replace(Gi,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var Xi={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Sr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Or(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Yi,Qi={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Sr(e,"style");n&&(e.staticStyle=JSON.stringify(Kr(n)));var r=Or(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},eo=function(e){return(Yi=Yi||document.createElement("div")).innerHTML=e,Yi.textContent},to=s("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),no=s("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ro=s("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),io=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,oo="[a-zA-Z_][\\w\\-\\.]*",ao="((?:"+oo+"\\:)?"+oo+")",so=new RegExp("^<"+ao),co=/^\s*(\/?)>/,lo=new RegExp("^<\\/"+ao+"[^>]*>"),uo=/^<!DOCTYPE [^>]+>/i,fo=/^<!\--/,po=/^<!\[/,vo=!1;"x".replace(/x(.)?/g,function(e,t){vo=""===t});var ho=s("script,style,textarea",!0),mo={},yo={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},go=/&(?:lt|gt|quot|amp);/g,_o=/&(?:lt|gt|quot|amp|#10|#9);/g,bo=s("pre,textarea",!0),$o=function(e,t){return e&&bo(e)&&"\n"===t[0]};var wo,Co,xo,ko,Ao,Oo,So,To,Eo=/^@|^v-on:/,jo=/^v-|^@|^:/,No=/([^]*?)\s+(?:in|of)\s+([^]*)/,Lo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Io=/^\(|\)$/g,Mo=/:(.*)$/,Do=/^:|^v-bind:/,Po=/\.[^.]+/g,Fo=e(eo);
1339function Ro(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}(t),parent:n,children:[]}}function Ho(e,p){wo=p.warn||$r,Oo=p.isPreTag||O,So=p.mustUseProp||O,To=p.getTagNamespace||O,xo=wr(p.modules,"transformNode"),ko=wr(p.modules,"preTransformNode"),Ao=wr(p.modules,"postTransformNode"),Co=p.delimiters;var d,v,h=[],i=!1!==p.preserveWhitespace,m=!1,y=!1;function g(e){e.pre&&(m=!1),Oo(e.tag)&&(y=!1);for(var t=0;t<Ao.length;t++)Ao[t](e,p)}return function(i,d){for(var e,v,h=[],m=d.expectHTML,y=d.isUnaryTag||O,g=d.canBeLeftOpenTag||O,a=0;i;){if(e=i,v&&ho(v)){var r=0,o=v.toLowerCase(),t=mo[o]||(mo[o]=new RegExp("([\\s\\S]*?)(</"+o+"[^>]*>)","i")),n=i.replace(t,function(e,t,n){return r=n.length,ho(o)||"noscript"===o||(t=t.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),$o(o,t)&&(t=t.slice(1)),d.chars&&d.chars(t),""});a+=i.length-n.length,i=n,A(o,a-r,a)}else{var s=i.indexOf("<");if(0===s){if(fo.test(i)){var c=i.indexOf("--\x3e");if(0<=c){d.shouldKeepComment&&d.comment(i.substring(4,c)),C(c+3);continue}}if(po.test(i)){var l=i.indexOf("]>");if(0<=l){C(l+2);continue}}var u=i.match(uo);if(u){C(u[0].length);continue}var f=i.match(lo);if(f){var p=a;C(f[0].length),A(f[1],p,a);continue}var _=x();if(_){k(_),$o(v,i)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(0<=s){for($=i.slice(s);!(lo.test($)||so.test($)||fo.test($)||po.test($)||(w=$.indexOf("<",1))<0);)s+=w,$=i.slice(s);b=i.substring(0,s),C(s)}s<0&&(b=i,i=""),d.chars&&b&&d.chars(b)}if(i===e){d.chars&&d.chars(i);break}}function C(e){a+=e,i=i.substring(e)}function x(){var e=i.match(so);if(e){var t,n,r={tagName:e[1],attrs:[],start:a};for(C(e[0].length);!(t=i.match(co))&&(n=i.match(io));)C(n[0].length),r.attrs.push(n);if(t)return r.unarySlash=t[1],C(t[0].length),r.end=a,r}}function k(e){var t=e.tagName,n=e.unarySlash;m&&("p"===v&&ro(t)&&A(v),g(t)&&v===t&&A(t));for(var r,i,o,a=y(t)||!!n,s=e.attrs.length,c=new Array(s),l=0;l<s;l++){var u=e.attrs[l];vo&&-1===u[0].indexOf('""')&&(""===u[3]&&delete u[3],""===u[4]&&delete u[4],""===u[5]&&delete u[5]);var f=u[3]||u[4]||u[5]||"",p="a"===t&&"href"===u[1]?d.shouldDecodeNewlinesForHref:d.shouldDecodeNewlines;c[l]={name:u[1],value:(r=f,i=p,o=i?_o:go,r.replace(o,function(e){return yo[e]}))}}a||(h.push({tag:t,lowerCasedTag:t.toLowerCase(),attrs:c}),v=t),d.start&&d.start(t,c,a,e.start,e.end)}function A(e,t,n){var r,i;if(null==t&&(t=a),null==n&&(n=a),e&&(i=e.toLowerCase()),e)for(r=h.length-1;0<=r&&h[r].lowerCasedTag!==i;r--);else r=0;if(0<=r){for(var o=h.length-1;r<=o;o--)d.end&&d.end(h[o].tag,t,n);h.length=r,v=r&&h[r-1].tag}else"br"===i?d.start&&d.start(e,[],!0,t,n):"p"===i&&(d.start&&d.start(e,[],!1,t,n),d.end&&d.end(e,t,n))}A()}(e,{warn:wo,expectHTML:p.expectHTML,isUnaryTag:p.isUnaryTag,canBeLeftOpenTag:p.canBeLeftOpenTag,shouldDecodeNewlines:p.shouldDecodeNewlines,shouldDecodeNewlinesForHref:p.shouldDecodeNewlinesForHref,shouldKeepComment:p.comments,start:function(e,t,n){var r=v&&v.ns||To(e);K&&"svg"===r&&(t=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Ko.test(r.name)||(r.name=r.name.replace(Jo,""),t.push(r))}return t}(t));var i,o,a,s,c,l=Ro(e,t,v);r&&(l.ns=r),"style"!==(i=l).tag&&("script"!==i.tag||i.attrsMap.type&&"text/javascript"!==i.attrsMap.type)||Y()||(l.forbidden=!0);for(var u=0;u<ko.length;u++)l=ko[u](l,p)||l;if(m||(null!=Sr(o=l,"v-pre")&&(o.pre=!0),l.pre&&(m=!0)),Oo(l.tag)&&(y=!0),m?function(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r<t;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}(l):l.processed||(Uo(l),function(e){var t=Sr(e,"v-if");if(t)e.if=t,Vo(e,{exp:t,block:e});else{null!=Sr(e,"v-else")&&(e.else=!0);var n=Sr(e,"v-else-if");n&&(e.elseif=n)}}(l),null!=Sr(a=l,"v-once")&&(a.once=!0),Bo(l,p)),d?h.length||d.if&&(l.elseif||l.else)&&Vo(d,{exp:l.elseif,block:l}):d=l,v&&!l.forbidden)if(l.elseif||l.else)s=l,(c=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(v.children))&&c.if&&Vo(c,{exp:s.elseif,block:s});else if(l.slotScope){v.plain=!1;var f=l.slotTarget||'"default"';(v.scopedSlots||(v.scopedSlots={}))[f]=l}else v.children.push(l),l.parent=v;n?g(l):(v=l,h.push(l))},end:function(){var e=h[h.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!y&&e.children.pop(),h.length-=1,v=h[h.length-1],g(e)},chars:function(e){if(v&&(!K||"textarea"!==v.tag||v.attrsMap.placeholder!==e)){var t,n,r=v.children;if(e=y||e.trim()?"script"===(t=v).tag||"style"===t.tag?e:Fo(e):i&&r.length?" ":"")!m&&" "!==e&&(n=function(e,t){var n=t?Zi(t):Wi;if(n.test(e)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){c<(i=r.index)&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var l=_r(r[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=i+r[0].length}return c<e.length&&(s.push(o=e.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(e,Co))?r.push({type:2,expression:n.expression,tokens:n.tokens,text:e}):" "===e&&r.length&&" "===r[r.length-1].text||r.push({type:3,text:e})}},comment:function(e){v.children.push({type:3,text:e,isComment:!0})}}),d}function Bo(e,t){var n,r,i,o;(r=Or(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.attrsList.length,(o=Or(i=e,"ref"))&&(i.ref=o,i.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(i)),function(e){if("slot"===e.tag)e.slotName=Or(e,"name");else{var t;"template"===e.tag?(t=Sr(e,"scope"),e.slotScope=t||Sr(e,"slot-scope")):(t=Sr(e,"slot-scope"))&&(e.slotScope=t);var n=Or(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,"template"===e.tag||e.slotScope||xr(e,"slot",n))}}(e),function(e){var t;(t=Or(e,"is"))&&(e.component=t);null!=Sr(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var a=0;a<xo.length;
vendor: 5,177 bytes, line 1339
1339a++)e=xo[a](e,t)||e;!function(e){var t,n,r,i,o,a,s,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(r=i=c[t].name,o=c[t].value,jo.test(r))if(e.hasBindings=!0,(a=zo(r))&&(r=r.replace(Po,"")),Do.test(r))r=r.replace(Do,""),o=_r(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=g(r))&&(r="innerHTML")),a.camel&&(r=g(r)),a.sync&&Ar(e,"update:"+g(r),Er(o,"$event"))),s||!e.component&&So(e.tag,e.attrsMap.type,r)?Cr(e,r,o):xr(e,r,o);else if(Eo.test(r))r=r.replace(Eo,""),Ar(e,r,o,a,!1);else{var l=(r=r.replace(jo,"")).match(Mo),u=l&&l[1];u&&(r=r.slice(0,-(u.length+1))),p=r,d=i,v=o,h=u,m=a,((f=e).directives||(f.directives=[])).push({name:p,rawName:d,value:v,arg:h,modifiers:m}),f.plain=!1}else xr(e,r,JSON.stringify(o)),!e.component&&"muted"===r&&So(e.tag,e.attrsMap.type,r)&&Cr(e,r,"true");var f,p,d,v,h,m}(e)}function Uo(e){var t;if(t=Sr(e,"v-for")){var n=function(e){var t=e.match(No);if(!t)return;var n={};n.for=t[2].trim();var r=t[1].trim().replace(Io,""),i=r.match(Lo);i?(n.alias=r.replace(Lo,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(t);n&&m(e,n)}}function Vo(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function zo(e){var t=e.match(Po);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var Ko=/^xmlns:NS\d+/,Jo=/^NS\d+:/;function qo(e){return Ro(e.tag,e.attrsList.slice(),e.parent)}var Wo=[Xi,Qi,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Or(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Sr(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Sr(e,"v-else",!0),s=Sr(e,"v-else-if",!0),c=qo(e);Uo(c),kr(c,"type","checkbox"),Bo(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+o,Vo(c,{exp:c.if,block:c});var l=qo(e);Sr(l,"v-for",!0),kr(l,"type","radio"),Bo(l,t),Vo(c,{exp:"("+n+")==='radio'"+o,block:l});var u=qo(e);return Sr(u,"v-for",!0),kr(u,":type",n),Bo(u,t),Vo(c,{exp:i,block:u}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var Go,Zo,Xo,Yo={expectHTML:!0,modules:Wo,directives:{model:function(e,t,n){var r,i,o,a,s,c,l,u,f,p,d,v,h,m,y,g,_=t.value,b=t.modifiers,$=e.tag,w=e.attrsMap.type;if(e.component)return Tr(e,_,b),!1;if("select"===$)h=e,m=_,g=(g='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+((y=b)&&y.number?"_n(val)":"val")+"});")+" "+Er(m,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ar(h,"change",g,null,!0);else if("input"===$&&"checkbox"===w)c=e,l=_,f=(u=b)&&u.number,p=Or(c,"value")||"null",d=Or(c,"true-value")||"true",v=Or(c,"false-value")||"false",Cr(c,"checked","Array.isArray("+l+")?_i("+l+","+p+")>-1"+("true"===d?":("+l+")":":_q("+l+","+d+")")),Ar(c,"change","var $$a="+l+",$$el=$event.target,$$c=$$el.checked?("+d+"):("+v+");if(Array.isArray($$a)){var $$v="+(f?"_n("+p+")":p)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Er(l,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Er(l,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Er(l,"$$c")+"}",null,!0);else if("input"===$&&"radio"===w)r=e,i=_,a=(o=b)&&o.number,s=Or(r,"value")||"null",Cr(r,"checked","_q("+i+","+(s=a?"_n("+s+")":s)+")"),Ar(r,"change",Er(i,s),null,!0);else if("input"===$||"textarea"===$)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,l=o?"change":"range"===r?Pr:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=Er(t,u);c&&(f="if($event.target.composing)return;"+f),Cr(e,"value","("+t+")"),Ar(e,l,f,null,!0),(s||a)&&Ar(e,"blur","$forceUpdate()")}(e,_,b);else if(!j.isReservedTag($))return Tr(e,_,b),!1;return!0},text:function(e,t){t.value&&Cr(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&Cr(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:to,mustUseProp:Sn,canBeLeftOpenTag:no,isReservedTag:Un,getTagNamespace:Vn,staticKeys:(Go=Wo,Go.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(","))},Qo=e(function(e){return s("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});function ea(e,t){e&&(Zo=Qo(t.staticKeys||""),Xo=t.isReservedTag||O,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||c(e.tag)||!Xo(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Zo)))}(t);if(1===t.type){if(!Xo(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n<r;n++){var i=t.children[n];e(i),i.static||(t.static=!1)}if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++){var s=t.ifConditions[o].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var r=0,i=t.children.length;r<i;r++)e(t.children[r],n||!!t.for);if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++)e(t.ifConditions[o].block,n)}}(e,!1))}
1339var ta=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,na=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ra={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ia={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},oa=function(e){return"if("+e+")return null;"},aa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:oa("$event.target !== $event.currentTarget"),ctrl:oa("!$event.ctrlKey"),shift:oa("!$event.shiftKey"),alt:oa("!$event.altKey"),meta:oa("!$event.metaKey"),left:oa("'button' in $event && $event.button !== 0"),middle:oa("'button' in $event && $event.button !== 1"),right:oa("'button' in $event && $event.button !== 2")};function sa(e,t,n){var r=t?"nativeOn:{":"on:{";for(var i in e)r+='"'+i+'":'+ca(i,e[i])+",";return r.slice(0,-1)+"}"}function ca(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return ca(t,e)}).join(",")+"]";var n=na.test(e.value),r=ta.test(e.value);if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(aa[s])o+=aa[s],ra[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=oa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+="if(!('button' in $event)&&"+a.map(la).join("&&")+")return null;"),o&&(i+=o),"function($event){"+i+(n?"return "+e.value+"($event)":r?"return ("+e.value+")($event)":e.value)+"}"}return n||r?e.value:"function($event){"+e.value+"}"}function la(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ra[e],r=ia[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ua={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(t,n){t.wrapData=function(e){return"_b("+e+",'"+t.tag+"',"+n.value+","+(n.modifiers&&n.modifiers.prop?"true":"false")+(n.modifiers&&n.modifiers.sync?",true":"")+")"}},cloak:$},fa=function(e){this.options=e,this.warn=e.warn||$r,this.transforms=wr(e.modules,"transformCode"),this.dataGenFns=wr(e.modules,"genData"),this.directives=m(m({},ua),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};function pa(e,t){var n=new fa(t);return{render:"with(this){return "+(e?da(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function da(e,t){if(e.staticRoot&&!e.staticProcessed)return va(e,t);if(e.once&&!e.onceProcessed)return ha(e,t);if(e.for&&!e.forProcessed)return f=t,v=(u=e).for,h=u.alias,m=u.iterator1?","+u.iterator1:"",y=u.iterator2?","+u.iterator2:"",u.forProcessed=!0,(d||"_l")+"(("+v+"),function("+h+m+y+"){return "+(p||da)(u,f)+"})";if(e.if&&!e.ifProcessed)return ma(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=_a(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return g(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)a=e.component,c=t,l=(s=e).inlineTemplate?null:_a(s,c,!0),n="_c("+a+","+ya(s,c)+(l?","+l:"")+")";else{var r=e.plain?void 0:ya(e,t),i=e.inlineTemplate?null:_a(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return _a(e,t)||"void 0";var a,s,c,l,u,f,p,d,v,h,m,y}function va(e,t){return e.staticProcessed=!0,t.staticRenderFns.push("with(this){return "+da(e,t)+"}"),"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function ha(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return ma(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+da(e,t)+","+t.onceId+++","+n+")":da(e,t)}return va(e,t)}function ma(e,t,n,r){return e.ifProcessed=!0,function e(t,n,r,i){if(!t.length)return i||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+e(t,n,r,i):""+a(o.block);function a(e){return r?r(e,n):e.once?ha(e,n):da(e,n)}}(e.ifConditions.slice(),t,n,r)}function ya(e,t){var n,r,i="{",o=function(e,t){var n=e.directives;if(!n)return;var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var l=t.directives[o.name];l&&(a=!!l(e,o,t.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(c)return s.slice(0,-1)+"]"}(e,t);o&&(i+=o+","),e.key&&(i+="key:"+e.key+","),e.ref&&(i+="ref:"+e.ref+","),e.refInFor&&(i+="refInFor:true,"),e.pre&&(i+="pre:true,"),e.component&&(i+='tag:"'+e.tag+'",');for(var a=0;a<t.dataGenFns.length;a++)i+=t.dataGenFns[a](e);if(e.attrs&&(i+="attrs:{"+wa(e.attrs)+"},"),e.props&&(i+="domProps:{"+wa(e.props)+"},"),e.events&&(i+=sa(e.events,!1,t.warn)+","),e.nativeEvents&&(i+=sa(e.nativeEvents,!0,t.warn)+","),e.slotTarget&&!e.slotScope&&(i+="slot:"+e.slotTarget+","),e.scopedSlots&&(i+=(n=e.scopedSlots,r=t,"scopedSlots:_u(["+Object.keys(n).map(function(e){return ga(e,n[e],r)}).join(",")+"]),")),e.model&&(i+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var s=function(e,t){var n=e.children[0];if(1===n.type){var r=pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);s&&(i+=s+",")}return i=i.replace(/,$/,"")+"}",e.wrapData&&(i=e.wrapData(i)),e.wrapListeners&&(i=e.wrapListeners(i)),i}function ga(e,t,n){return t.for&&!t.forProcessed?(r=e,o=n,a=(i=t).for,s=i.alias,c=i.iterator1?","+i.iterator1:"",l=i.iterator2?","+i.iterator2:"",i.forProcessed=!0,"_l(("+a+"),function("+s+c+l+"){return "+ga(r,i,o)+"})"):"{key:"+e+",fn:"+("function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?t.if+"?"+(_a(t,n)||"undefined")+":undefined":_a(t,n)||"undefined":da(t,n))+"}")+"}";var r,i,o,a,s,c,l}function _a(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(r||da)(a,t);var s=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(ba(i)||i.ifConditions&&i.ifConditions.some(function(e){return ba(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(o,t.maybeComponent):0,c=i||$a;return"["+o.map(function(e){return c(e,t)}).join(",")+"]"+(s?","+s:"")}}function ba(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function $a(e,t){return 1===e.type?da(e,t):3===e.type&&e.isComment?(r=e,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(n=e).type?n.expression:Ca(JSON.stringify(n.text)))+")";var n,r}function wa(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name+'":'+Ca(r.value)+","}return t.slice(0,-1)}function Ca(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function xa(t,n){try{return new Function(t)}catch(e){return n.push({err:e,code:t}),$}}var ka,Aa,Oa=(ka=function(e,t){var n=Ho(e.trim(),t);!1!==t.optimize&&ea(n,t);var r=pa(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(s){function e(e,t){var n=Object.create(s),r=[],i=[];if(n.warn=function(e,t){(t?i:r).push(e)},t)for(var o in t.modules&&(n.modules=(s.modules||[]).concat(t.modules)),t.directives&&(n.directives=m(Object.create(s.directives||null),t.directives)),t)"modules"!==o&&"directives"!==o&&(n[o]=t[o
1339]);var a=ka(e,n);return a.errors=r,a.tips=i,a}return{compile:e,compileToFunctions:(c=e,l=Object.create(null),function(e,t,n){(t=m({},t)).warn,delete t.warn;var r=t.delimiters?String(t.delimiters)+e:e;if(l[r])return l[r];var i=c(e,t),o={},a=[];return o.render=xa(i.render,a),o.staticRenderFns=i.staticRenderFns.map(function(e){return xa(e,a)}),l[r]=o})};var c,l})(Yo).compileToFunctions;function Sa(e){return(Aa=Aa||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',0<Aa.innerHTML.indexOf("&#10;")}var Ta=!!B&&Sa(!1),Ea=!!B&&Sa(!0),ja=e(function(e){var t=Jn(e);return t&&t.innerHTML}),Na=hn.prototype.$mount;return hn.prototype.$mount=function(e,t){if((e=e&&Jn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ja(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){{if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}}(e));if(r){var i=Oa(r,{shouldDecodeNewlines:Ta,shouldDecodeNewlinesForHref:Ea,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Na.call(this,e,t)},hn.compile=Oa,hn});
1340
1341
1342/* ==================== */
1343/* Microsite RE Settings   */
1344/* ==================== */
1345
1346/* if (window.location.href.indexOf("blog") > -1) { */
1347if (window.location.href.indexOf("blog") > -1 || window.location.href.indexOf("2086738") > -1 || window.location.href.indexOf("3104640") > -1 || window.location.href.indexOf("3243880") > -1) {
1348    var vueRecurrentEdition = null;
1349
1350    var responsiveView = $( window ).width() <= 991;
1351
1352    $(window).resize(function(){
1353        responsiveView = $( window ).width() <= 991;
1354        vueRecurrentEdition.$forceUpdate();
1355    });
1356
1357    $(document).ready(function(){
1358        vueRecurrentEdition = new Vue({
1359            el: '#vueRecurrentEdition',
1360            data: {
1361                interests: [],
1362                editions: [],
1363                articles: [],
1364                maxCols: $('.articleCol').length,
1365                selectedEdition: null,
1366                interestSelectedAll: true,
1367                interestSelected: [],
1368                banner: [],
1369                maxArticlesInCol: 6,
1370                selectedEditionClass: null,
1371                filteredArticles: []
1372            },
1373            created: function() {
1374                if(typeof json_articles !== 'undefined') {
1375                    doAjaxCall('interests', json_interests);
1376                    doAjaxCall('editions', json_editions);
1377                    doAjaxCall('articles', json_articles);
1378                }
1379                this.banner = getBanner();
1380            },
1381            methods: {
1382                splitArticles: function(colIndex) {
1383                    var returnValue = new Array();
1384                    let usedCols = this.maxCols;
1385                    if(responsiveView) {
1386                        usedCols = 1;
1387                    }
1388                    if(this.filteredArticles.length > 0) {
1389                        if(responsiveView) {
1390                            if(colIndex === (this.maxCols - 1)) {
1391                                for(var i = 0; i < this.filteredArticles.length; i++) {
1392                                    if(this.filteredArticles[i] !== null) {
1393                                        returnValue.push(this.filteredArticles[i]);
1394                                    }
1395                                }
1396                            }
1397                        } else {
1398                            for(var i = 0; i < this.filteredArticles.length; i++) {
1399                                if(i % usedCols === colIndex) {
1400                                    if(this.filteredArticles[i] !== null) {
1401                                        returnValue.push(this.filteredArticles[i]);
1402                                    }
1403                                }
1404                            }
1405                        }
1406                    }
1407                    return returnValue;
1408                },
1409                filterArticle: function() {
1410                    var returnValue = new Array();
1411                    if(this.articles.length > 0 && this.editions.length > 0 && this.interests.length > 0) {
1412                        var currentArticleIsValid = true;
1413
1414                        for(var i = 0; i < this.articles.length; i++) {
1415                            if(this.articles[i] !== null) {
1416                                if(this.selectedEdition !== 'all') {
1417                                    if($.inArray(this.selectedEdition, this.articles[i].editions) !== -1) {
1418                                        currentArticleIsValid = true;
1419                                    } else {
1420                                        currentArticleIsValid = false;
1421                                    }
1422                                } else {
1423                                    currentArticleIsValid = true;
1424                                }
1425                                if(currentArticleIsValid) {
1426                                    if(!this.interestSelectedAll) {
1427                                        if(this.interestSelected.length > 0) {
1428                                            for(var j = 0; j < this.interestSelected.length; j++) {
1429                                                if($.inArray(this.interestSelected[j], this.articles[i].interests) !== -1) {
1430                                                    currentArticleIsValid = true;
1431                                                    break;
1432                                                } else {
1433                                                    currentArticleIsValid = false;
1434                                                }
1435                                            }
1436                                        } else {
1437                                            currentArticleIsValid = false;
1438                                        }
1439                                    } else {
1440                                        currentArticleIsValid = true;
1441                                    }
1442                                }
1443
1444                                if(currentArticleIsValid) {
1445                                    if($.inArray(this.articles[i], returnValue) === -1) {
1446                                        returnValue.push(this.articles[i]);
1447                                    }
1448                                }
1449                            }
1450                        }
1451                        returnValue = this.addFilterAsNull(returnValue);
1452                        returnValue = this.addBanner(returnValue);
1453                    }
1454                    this.selectedEditionClass = !!this.selectedEdition ? this.selectedEdition.replace('/','_') : 'all';
1455                    this.filteredArticles = returnValue;
1456                },
1457
1458                chooseInterest: function(interest) {
1459                    this.interestSelected = [];
1460                    this.interestSelected.push(interest);
1461                    this.interestSelectedAll = false;
1462                    this.filterArticle();
1463                    updateURL();
1464                },
1465                chooseEdition: function(edition) {
1466                    this.selectedEdition = edition;
1467                    this.filterArticle();
1468                    updateURL();
1469                },
1470                changeEdition: function() {
1471                    this.filterArticle();
1472                    updateURL();
1473                },
1474                interestFilter: function(type) {
1475                    if(type === 'all') {
1476                        this.interestSelected = [];
1477                    } else {
1478                        this.interestSelectedAll = false;
1479                    }
1480                    this.filterArticle();
1481                    updateURL();
1482                },
1483
1484                isNoBanner: function(article) {
1485                    return $.inArray('banner', article.editions) === -1;
1486                },
1487                loadMore: function() {
1488                    this.maxArticlesInCol += 6;
1489                },
1490                areMoreArticlesAvailable: function() {
1491                    var shownArticles = responsiveView ? this.maxArticlesInCol : (this.maxArticlesInCol * this.maxCols) - 2;
1492                    var currentArticlesAvailable = this.filteredArticles.length;
1493                    return shownArticles < currentArticlesAvailable;
1494                },
1495                addFilterAsNull: function(articles) {
1496                    for (var i = 1; i < 3; i++) {
1497                        articles.splice((vueRecurrentEdition['maxCols'] * i) - 1, 0, null);
1498                    }
1499                    return articles;
1500                },
1501                addBanner: function(articles) {
1502                    if(vueRecurrentEdition['banner'] !== null) {
1503                        articles.splice(4, 0, vueRecurrentEdition['banner']);
1504                    }
1505                    return articles;
1506                }
1507            }
1508        });
1509    });
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519    function getValid(data) {
1520        var currentDate = new Date();
1521        var returnArray = new Array();
1522
1523        for (var i = 0; i < data.length; i++) {
1524            val = data[i];
1525            var valid_from = !!val.valid_from ? createDateObject(val.valid_from) : null;
1526            var valid_until = !!val.valid_until ? createDateObject(val.valid_until) : null;
1527
1528            var elementIsValid = (valid_from === null || valid_from <= currentDate) && (valid_until === null || valid_until > currentDate);
1529
1530            if (elementIsValid) {
1531                returnArray.push(val);
1532            }
1533        }
1534        return returnArray;
1535    }
1536
1537    function getCurrentEdition() {
1538        if(!!getURLParam('edition')) {
1539            let editions = vueRecurrentEdition['editions'];
1540            for (let i = 0; i < editions.length; i++) {
1541                if(editions[i].val === getURLParam('edition').replace('_', '/')) {
1542                    return i;
1543                }
1544            }
1545        } else {
1546            let currentDate = new Date();
1547            let editions = vueRecurrentEdition['editions'];
1548            for (let i = 0; i < editions.length; i++) {
1549                if(editions[i].valid_from !== '') {
1550                    let editionDate = createDateObject(editions[i].valid_from);
1551                    if (currentDate.getMonth().toString() + currentDate.getYear().toString() === editionDate.getMonth().toString() + editionDate.getYear().toString()) {
1552                        return i;
1553                    }
1554                }
1555            }
1556        }
1557        return 0;
1558    }
1559
1560    function createDateObject(date_string) {
1561        if (date_string !== undefined) {
1562            var splitted = date_string.split('.');
1563            splitted[1] = parseInt(splitted[1]) - 1;
1564            return new Date(splitted[2], splitted[1], splitted[0]);
1565        } else {
1566            return date_string;
1567        }
1568    }
1569
1570    function doAjaxCall(type, url) {
1571        $.ajax({
1572            url: url,
1573            dataType: 'json',
1574            success: function (data) {
1575                vueRecurrentEdition[type] = getValid(data[type]);
1576                if(type === 'editions') {
1577                    vueRecurrentEdition['selectedEdition'] = vueRecurrentEdition[type][getCurrentEdition()].val;
1578                }
1579                getInitInterests();
1580                vueRecurrentEdition.filterArticle();
1581            }
1582        });
1583    }
1584
1585    function getBanner() {
1586        var returnValue = null;
1587        var banner = $('#point-banner-store').find('a.bannerManager');
1588        if(!!banner && banner.length > 0) {
1589            returnValue = new Array();
1590            var url = banner.attr('href');
1591            var img = banner.find('img').attr('src');
1592            returnValue['ID'] = 0;
1593            returnValue['img'] = img;
1594            returnValue['url'] = url;
1595            returnValue['interests'] = Array('banner');
1596            returnValue['editions'] = Array('banner');
1597            returnValue['title'] = '';
1598            returnValue['description'] = '';
1599            returnValue['valid_from'] = '';
1600            returnValue['valid_until'] = '';
1601        }
1602        $('#point-banner-store').remove();
1603        return returnValue;
1604    }
1605
1606    function getInitInterests() {
1607        let urlInterests = getURLParam('interests');
1608
1609        if(!!urlInterests) {
1610            if(urlInterests === '|all|') {
1611                vueRecurrentEdition['interestSelectedAll'] = true;
1612            } else {
1613                vueRecurrentEdition['interestSelectedAll'] = false;
1614                let splittedInterests = urlInterests.split(',');
1615                vueRecurrentEdition['interestSelected'] = splittedInterests;
1616            }
1617        } else{
1618            vueRecurrentEdition['interestSelectedAll'] = true;
1619        }
1620    }
1621
1622    function updateURL() {
1623        if (history.pushState) {
1624            let interests = '';
1625            if(vueRecurrentEdition['interestSelectedAll']) {
1626                interests = '|all|';
1627            } else {
1628                interests = vueRecurrentEdition['interestSelected'].toString();
1629            }
1630
1631            let newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + '?edition=' + vueRecurrentEdition['selectedEditionClass'] + '&interests=' + interests;
1632            window.history.pushState({path:newurl},'',newurl);
1633        }
1634    }
1635
1636    function getURLParam(sParam) {
1637        let sPageURL = decodeURIComponent(window.location.search.substring(1));
1638        let sURLVariables = sPageURL.split('&');
1639        let sParameterName;
1640        for (let i = 0; i < sURLVariables.length; i++) {
1641            sParameterName = sURLVariables[i].split('=');
1642
1643            if (sParameterName[0] === sParam) {
1644                return sParameterName[1] === undefined ? true : sParameterName[1];
1645            }
1646        }
1647    }
1648
1649  }
1650
1651$(document).ready(function() {
1652    if (window.location.href.indexOf("interests") > -1) {
1653        $(".intro_block").css("display","none");
1654    }
1655});
1656
1657
1658/* deactivated on April 19th 2023 - Olaf Kirstein
1659$(document).ready(function() {
1660	$('.blog_articlepage #microsite_content a.lnk').each(function(){
1661		let link_text = $(this).text().slice(0, -1);
1662		$(this).text(link_text);
1663	});
1664});
1665*/
1666
1667// UMD
1668(function (factory) {
1669    "use strict";
1670
1671    if (typeof define === 'function' && define.amd) {
1672        // AMD
1673        define(['jquery'], function ($) {
1674            return factory($, window, document);
1675        });
1676    }
1677    else if (typeof exports === 'object') {
1678        // CommonJS
1679        module.exports = function (root, $) {
1680            if (!root) {
1681                root = window;
1682            }
1683
1684            if (!$) {
1685                $ = typeof window !== 'undefined' ?
1686                    require('jquery') :
1687                    require('jquery')(root);
1688            }
1689
1690            return factory($, root, root.document);
1691        };
1692    }
1693    else {
1694        // Browser
1695        factory(jQuery, window, document);
1696    }
1697}
1698    (function ($, window, document) {
1699
1700		if ($.fn.dataTable) {
1701			$.fn.dataTable.render.moment = function (from, to, locale) {
1702				// Argument shifting
1703				if (arguments.length === 1) {
1704					locale = 'en';
1705					to = from;
1706					from = 'YYYY-MM-DD';
1707				}
1708				else if (arguments.length === 2) {
1709					locale = 'en';
1710				}
1711
1712				return function (d, type, row) {
1713					var m = window.moment(d, from, locale, true);
1714
1715					// Order and type get a number value from Moment, everything else
1716					// sees the rendered value
1717					var returnValue = m.format(type === 'sort' || type === 'type' ? 'x' : to);
1718					if (returnValue === 'Invalid date') {
1719						returnValue = d;
1720					}
1721					return returnValue;
1722				};
1723			};
1724		}
1725
1726    }));
1727
1728function equalHeightContent() {
1729    var section = $("#microsite_content > #section");
1730    var aside = $("#microsite_content > aside");
1731    section.height("auto");
1732    aside.height("auto");
1733    if (section.height() > aside.height()) {
1734        aside.height(section.height());
1735    } else {
1736        section.height(aside.height());
1737    }
1738}
1739
1740function equalHeightByRow(root) {
1741    console.log('equalHeightByRow');
1742    console.log('root: ' + root);
1743    var rowCount = 0;
1744    var containerCount = 0;
1745    $(root).find(".equalheight").height("auto");
1746    $(root).each(function () {
1747        $(this).find(".equalheight").each(function (i, val) {
1748            if (i > 0) {
1749                var thisPosition = $(this).position().top;
1750                var prevPosition = $($(this).closest(root).find(".equalheight")[i - 1]).position().top;
1751                console.log("This: " + thisPosition);
1752                console.log("Prev: " + prevPosition);
1753                console.log("Compare: " + (thisPosition !== prevPosition).toString());
1754                if (thisPosition !== prevPosition) {
1755                    equalHeight($(root).find(".equalheight.group-" + containerCount + "-" + rowCount));
1756                    rowCount++;
1757                }
1758            }
1759            $(this).addClass("group-" + containerCount + "-" + rowCount);
1760        });
1761        equalHeight($(root).find(".equalheight.group-" + containerCount + "-" + rowCount));
1762        rowCount = 0;
1763        containerCount++;
1764    });
1765    $(document).trigger("complete.EqualHeight.Row");
1766}
1767
1768function equalHeightByRowWithContainer(root) {
1769    console.log("equalHeightByRowWithContainer");
1770    var rowcount = 0;
1771    $(root).find(".equalheight").height("auto");
1772    $(root).each(function (i, element) {
1773        if (i > 0) {
1774            console.log("This: " + $(this).position().top);
1775            console.log("Prev: " + $($(root)[i - 1]).position().top);
1776            console.log("Compare: " + ($(this).position().top !== $($(root)[i - 1]).position().top).toString());
1777            if ($(this).position().top !== $($(root)[i - 1]).position().top) {
1778                equalHeight($(root).find(".equalheight.group-" + rowcount));
1779                rowcount++;
1780            }
1781        }
1782        $(this).find(".equalheight").addClass("group-" + rowcount);
1783        equalHeight($(root).find(".equalheight.group-" + rowcount));
1784    });
1785    equalHeight($(root).find(".equalheight.group-" + rowcount));
1786}
1787
1788(function ($) {
1789    $.fn.parallax = function () {
1790        var window_width = $(window).width();
1791        // Parallax Scripts
1792        return this.each(function (i) {
1793            var $this = $(this);
1794            $this.addClass('parallax');
1795
1796            function updateParallax(initial) {
1797                var container_height;
1798                if (window_width < 601) {
1799                    container_height = ($this.height() > 0) ? $this.height() : $this.children("img").height();
1800                } else {
1801                    container_height = ($this.height() > 0) ? $this.height() : 500;
1802                }
1803                var $img = $this.children("img").first();
1804                var img_height = $img.height();
1805                var parallax_dist = img_height - container_height;
1806                var bottom = $this.offset().top + container_height;
1807                var top = $this.offset().top;
1808                var scrollTop = $(window).scrollTop();
1809                var windowHeight = window.innerHeight;
1810                var windowBottom = scrollTop + windowHeight;
1811                var percentScrolled = (windowBottom - top) / (container_height + windowHeight);
1812                var parallax = Math.round((parallax_dist * percentScrolled));
1813
1814                if (initial) {
1815                    $img.css('display', 'block');
1816                }
1817                if ((bottom > scrollTop) && (top < (scrollTop + windowHeight))) {
1818                    $img.css('transform', "translate3D(-50%," + parallax + "px, 0)");
1819                }
1820
1821            }
1822
1823            // Wait for image load
1824            $this.children("img").one("load", function () {
1825                updateParallax(true);
1826            }).each(function () {
1827                if (this.complete) $(this).trigger("load");
1828            });
1829
1830            $(window).scroll(function () {
1831                window_width = $(window).width();
1832                updateParallax(false);
1833            });
1834
1835            $(window).resize(function () {
1836                window_width = $(window).width();
1837                updateParallax(false);
1838            });
1839
1840        });
1841
1842    };
1843}(jQuery));
1844
1845
1846function $_GET(param) {
1847    var vars = {};
1848    window.location.href.replace(location.hash, '').replace(
1849        /[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
1850        function (m, key, value) { // callback
1851            vars[key] = value !== undefined ? value : '';
1852        }
1853    );
1854
1855    if (param) {
1856        return vars[param] ? vars[param] : null;
1857    }
1858    return vars;
1859}
1860
1861$(document).ready(function () {
1862
1863    $(".video_previewimage").click(function () {
1864        $(".video_previewimage .embed-responsive-item, .video_previewimage .embed-responsive video").css("position", "absolute");
1865    });
1866
1867    $(".text_with_media.hidden").parent().css("display", "none");
1868
1869    // Javascript to enable link to tab
1870    var tabInitialLoad = document.location.toString();
1871    if (tabInitialLoad.match('#')) {
1872        $('.nav-tabs a[href="#' + tabInitialLoad.split('#')[1] + '"]').tab('show');
1873    }
1874
1875    // // Change hash for page-reload
1876    // $('.nav-tabs a').on('shown.bs.tab', function (e) {
1877    // 	window.location.hash = e.target.hash;
1878    // });
1879
1880
1881    $("#microsite_header ul li, #main_header ul li").each(function () {
1882        if (window.currentLocation.indexOf($(this).find("a").attr("href").trim()) !== -1) {
1883            $(this).addClass("active");
1884        }
1885    });
1886
1887    $(".contact .lightbox").on('click', function () {
1888        $(this).colorbox({
1889            width: 650,
1890            height: 300,
1891            html: $(this).parent().parent().find(".contact-detail").html()
1892        });
1893    });
1894
1895    $("#contact_filter #select_division").on('change', contact_filter);
1896    $("#contact_filter #select_function").on('change', contact_filter);
1897
1898    function contact_filter() {
1899        var sel_division = $("#contact_filter #select_division").val();
1900        var sel_function = $("#contact_filter #select_function").val();
1901
1902        if (sel_division === undefined) {
1903            sel_division = "#";
1904        }
1905
1906        $(".contact").removeClass("hidden");
1907        if (sel_division !== '#' || sel_function !== '#') {
1908            $(".contact").each(function () {
1909
1910                if (sel_division !== '#') {
1911                    if ($(this).attr('data-division').indexOf(sel_division) === -1) {
1912                        if (!$(this).hasClass("hidden")) {
1913                            $(this).addClass("hidden");
1914                        }
1915                    }
1916                }
1917
1918                if (sel_function !== '#') {
1919                    if ($(this).attr('data-function') !== sel_function) {
1920                        if (!$(this).hasClass("hidden")) {
1921                            $(this).addClass("hidden");
1922                        }
1923                    }
1924                }
1925            });
1926        }
1927        if ($(".contact").length === $(".hidden.contact").length) {
1928            $(".no_result").removeClass("hidden");
1929        } else {
1930            $(".no_result").addClass("hidden");
1931        }
1932    }
1933
1934    $(".dropdown").on('shown.bs.dropdown', function () {
1935        console.log("Log: Equalheight");
1936        equalHeightByRow($(".dropdown.open").find(".dropdown-menu.equalheight"));
1937    });
1938
1939    equalHeight($(".division-info"));
1940
1941
1942    if (ALSO.swiper.swipes.length > 0) {
1943        $(".parallax-slider .swiper-slide a").addClass("animated");
1944        for (var i = 0; i < ALSO.swiper.swipes.length; i++) {
1945            if (ALSO.swiper.swipes[i] !== undefined) {
1946                $slider = ALSO.swiper.swipes[i];
1947                if ($slider.container.hasClass("parallax-slider")) {
1948                    $slider.on('slideChangeStart', function (e) {
1949                        $(".swiper-slide-active a").addClass("hidden");
1950                        $(".swiper-slide-active a").removeClass("fadeIn");
1951                    });
1952
1953                    $slider.on('transitionEnd', function (e) {
1954                        $(".swiper-slide-active a").removeClass("hidden");
1955                        $(".swiper-slide-active a").addClass("fadeIn");
1956                    });
1957                }
1958            }
1959        }
1960    }
1961
1962    $('.parallax').parallax();
1963
1964
1965    var $dataTableWrap = $('.table-datatable')
1966
1967    if ($dataTableWrap.length > 0) {
1968
1969        $dataTable = $dataTableWrap.find('table');
1970        var initialRows = 10;
1971        if ($dataTableWrap.data('initialrows') !== undefined) {
1972            initialRows = parseInt($dataTableWrap.data('initialrows').split('-')[1]);
1973        }
1974        Datatables.create($dataTable, {
1975
1976            columnDefs: [{
1977                targets: 0,
1978                render: $.fn.dataTable.render.moment('YYYY-MM-DD', 'DD.MM.YYYY', 'de')
1979            }],
1980			bDestroy: true,
1981            pageLength: initialRows
1982
1983        });
1984
1985        if ($_GET('filter') !== null) {
1986            $dataTable.DataTable().search(decodeURI($_GET('filter'))).draw();
1987        }
1988
1989    }
1990
1991
1992    $('.lightbox.gallery').colorbox({ rel: 'gal' });
1993
1994    $(".js-new_search_layer_opt_in .btn-primary").on("click", function (event) {
1995        var url = "/ec/webservice/rest/productSearchService/saveSetting/useNewProductSearch/true.json";
1996        $.ajax({
1997            type: 'GET',
1998            url: url,
1999            dataType: 'json',
2000            async: false,
2001            success: function (data) {
2002                //window.location.href = pegasos.actionPrefix + "/searchNew.do";
2003                // eventuell
2004                window.parent.location.href = pegasos.actionPrefix + "/searchNew.do";
2005            }
2006        });
2007        event.preventDefault();
2008    });
2009
2010    if ($('.js-imagemap').length > 0) {
2011        $('.js-imagemap map area, .js-imagemap .light-responsive').on('click', function (e) {
2012            e.preventDefault();
2013            $content = $($(this).attr('href'));
2014            if ($content.attr('data-type') === 'url') {
2015                $.colorbox({
2016                    maxWidth: '80%',
2017                    maxHeight: '100%',
2018                    trapFocus: false,
2019                    iframe: false,
2020                    photo: false,
2021                    href: $content.attr('data-href').trim(),
2022                    onComplete: function () {
2023                        var $that = $(this);
2024                        setTimeout(function () {
2025                            $that.colorbox.resize();
2026                        }, 20);
2027                    }
2028                });
2029            } else if ($content.attr('data-type') === 'content') {
2030                $.colorbox({
2031                    maxWidth: '80%',
2032                    iframe: false,
2033                    html: $content.html().trim(),
2034                    onComplete: function () {
2035                        $(this).colorbox.resize();
2036                    }
2037                });
2038            } else if ($content.attr('data-type') === 'noColorbox') {
2039                window.parent.location.href = $content.attr('data-href').trim();
2040            }
2041        });
2042    }
2043
2044    var $vAcc = $('.v-accordion');
2045    if ($vAcc.length > 0) verticalAccordion($vAcc);
2046
2047    
2048    $(".js_actionTracking").click(function (event) {
2049        if (typeof (pegasos.tracking) != "undefined" && typeof (webtrekkV3) != "undefined") {
2050            pegasos.tracking.wt.sendinfo({ linkId: $(event.target).data("trackingLinkId") });
2051        }
2052    });
2053    
2054});
2055
2056/*equal height for mobile */
2057// function isMobileDevice() {
2058//     return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
2059// }
2060
2061/*
2062infiniteslide.js v2
2063version: 2.0.1
2064Author: T.Morimoto
2065
2066Copyright 2017, T.Morimoto
2067* Free to use and abuse under the MIT license.
2068* http://www.opensource.org/licenses/mit-license.php
2069
2070https://github.com/woodroots/infiniteslidev2
2071*/
2072!function(n){n(window).on("load",function(){window.loaded=!0}),n(function(){n.fn.infiniteslide=function(e){var t=n.extend({speed:100,direction:"left",pauseonhover:!0,responsive:!1,clone:1},e),o=function(e,i){if("up"==i||"down"==i)var t=(h=0,n(e).children(":not(.infiniteslide_clone)").each(function(e,i){h+=n(this).outerHeight(!0)}),h);else t=(w=0,n(e).children(":not(.infiniteslide_clone)").each(function(e,i){w+=n(this).outerWidth(!0)}),w);return t},a=function(n,e){if("up"==e||"down"==e)var i="0,-"+n+"px,0";else i="-"+n+"px,0,0";return i};return this.each(function(e,r){var s=n(this),l=Date.now()+Math.floor(1e4*Math.random()).toString(16);1==t.pauseonhover&&n(s).on("mouseenter",function(){n(this).css({animationPlayState:"paused"})}).on("mouseleave",function(){n(this).css({animationPlayState:"running"})});var d=function(){!function(e,i){if(n(e).wrap('<div class="infiniteslide_wrap"></div>').parent().css({overflow:"hidden"}),"up"==i||"down"==i)var t="column";else t="row";n(e).css({display:"flex",flexWrap:"nowrap",alignItems:"center","-ms-flex-align":"center",flexDirection:t}).children().css({flex:"none",display:"block"})}(s,t.direction),function(e,t){var o=n(e).children().clone().addClass("infiniteslide_clone");for(i=1;i<=t;)o.clone().appendTo(n(e)),i++}(s,t.clone),function(e,i,t,r){var s=o(e,t);"up"!=t&&"down"!=t||n(e).parent(".infiniteslide_wrap").css({height:s+"px"});var l=a(s,t);
2072n(e).attr("data-style","infiniteslide"+i);var d,c,f="@keyframes infiniteslide"+i+"{from {transform:translate3d(0,0,0);}to {transform:translate3d("+l+");}}";if(n("<style />").attr("id","infiniteslide"+i+"_style").html(f).appendTo("head"),"right"==t||"down"==t)var u=" reverse";else u="";n(e).css({animation:"infiniteslide"+i+" "+(d=s,c=r,d/c)+"s linear 0s infinite"+u})}(s,l,t.direction,t.speed),t.responsive&&n(window).on("resize",function(){var e,i,r,l=(e=s,i=t.direction,r=o(e,i),a(r,i)),d=s.attr("data-style"),c=n("#"+d+"_style").html().replace(/to {transform:translate3d\((.*?)\)/,"to {transform:translate3d("+l+")");n("#"+d+"_style").html(c)})};window.loaded?d():n(window).on("load",d)})}})}(jQuery);
2073
2074$(document).ready(function () {
2075
2076	let $dzArray = $('[data-ct-dropzone="content"]');
2077	let observerArray = [];
2078	if ($dzArray.length > 0) {
2079        $dzArray.each(function(i, el){
2080//			if(i == 6) { return false; }
2081			console.log(el);     
2082			observerArray.push(initDropzone(el));
2083		});
2084	}   
2085	
2086	var selectValue = "ECDEV"
2087	if(!window.location.href.match(/ECDEV/)) selectValue = window.location.href.match(/[A-Z]{2}(_\d{4})?/g);
2088	$('#cc-lang-control').val(selectValue);
2089	$('#cc-lang-control').on('change', function(e){
2090		changeLangCC($(this).val());
2091	}); 
2092
2093	$('.dummy-products').off('click').on('click', 'a', function(e) {
2094		e.preventDefault();
2095		console.log('click on a');
2096	    $(this).attr('data-content','You have clicked on a link in the dummy preview. This popover shows, that the link is working.');
2097	    $(this).attr('data-trigger','manual');
2098		$('.dummy-products a').not(this).popover('hide');
2099	    $(this).popover('toggle');
2100	});
2101
2102});
2103
2104 
2105
2106function initDropzone(dz) {
2107	console.log("initDropzone");
2108	'use strict'; 
2109
2110	return new MutationObserver(function(mutations){
2111		if(mutations[0].target.classList.contains('fs-button-drop-target')){
2112			dz.classList.add("contentdropzone-visible");
2113			dz.classList.remove("contentdropzone-invisible");
2114		} else {
2115			dz.classList.add("contentdropzone-invisible");
2116			dz.classList.remove("contentdropzone-visible");
2117		}
2118	}).observe(dz.querySelector('[data-fs-button-id]'), { attributes: true, attributeFilter: ['class'] });
2119}
2120
2121
2122function changeLangCC(lang) {
2123	console.log('call changeLangCC');
2124	var currentLocation = window.location.href;
2125	if(!currentLocation.match(/lang/g)) {
2126		console.log('lang does not match');
2127		var string2replace = "/ECDEV/"
2128		if(!currentLocation.match(/ECDEV/)) string2replace = /\/[A-Z]{2}(_\d{4})?\//g;
2129		window.location.href = currentLocation.replace(string2replace,'/'+lang+'/');
2130	}
2131}
2132
2133$(document).on("complete.EqualHeight.Products", equalHeightContent);
2134$(window).resize(function () {
2135    // if ($(window).width() > 500) {
2136    //     equalHeightByRow(".row.equalheight");
2137    // }
2138    equalHeightByRow(".row.equalheight");
2139    equalHeightContent();
2140});
2141
2142// Equalheight in Lightbox
2143$(document).bind('cbox_complete', function () {
2144    equalHeightByRow(".row.equalheight");
2145});
2146
2147$(window).load(function () {
2148    // if ($(window).width() > 500) {
2149    //     equalHeightByRow(".row.equalheight");
2150    // }
2151    equalHeightByRow(".row.equalheight");
2152    equalHeightContent();
2153    if ($('.infiniteSlide').length > 0) {
2154        $('.infiniteSlide').infiniteslide();
2155    }
2156});
2157
2158$(function () {
2159    $("[data-toggle=popover]").popover();
2160});
2161
2162
2163
2164$(window).on('hashchange', function () {
2165    if (window.location.hash.indexOf('accordion') > -1) hashTriggeredAccordion();
2166});
2167
2168function verticalAccordion($vAcc) {
2169    if (window.location.hash.indexOf('accordion') === -1) {
2170        $vAcc.each(function (idxV, elV) {
2171            $(elV).find('.panel').each(function (idxP, elP) {
2172                if ($(elP).find('.panel-collapse').hasClass('in')) {
2173                    resetPanelState($(elP).closest('.panel-group'), true);
2174                    $(elP).addClass('panel-open');
2175
2176                    setTimeout(function () {
2177                        $(elP).find('[data-toggle="collapse"]').each(function () {
2178                            // console.log('found data-toggle=collapse');
2179                            $('#' + ($(this).attr('aria-controls'))).collapse('show');
2180                        });
2181                        $(elP).addClass('show-content').trigger('adjustHeightTrigger', elP);
2182                    }, 350);
2183                }
2184                var elPHeight = $(elP).outerHeight() + 'px';
2185                // $(elP).css({'max-height': elPHeight}).data('initialMaxHeight', elPHeight);
2186            });
2187        });
2188    } else {
2189        hashTriggeredAccordion();
2190    }
2191
2192    $vAcc
2193        .off('click.collapseIn click.collapseOut')
2194        .on('click.collapseIn', '[data-toggle="collapse"][aria-expanded=false]', function (e) {
2195            e.preventDefault();
2196            console.log('enter new panel');
2197            var that = $(this),
2198                thatPanel = that.closest('.panel'),
2199                thatPanelGroup = that.closest('.panel-group');
2200
2201            resetPanelState(thatPanelGroup, true);
2202            thatPanel.addClass('panel-open');
2203            setTextType(this);
2204
2205            setTimeout(function () {
2206                thatPanel.addClass('show-content').trigger('adjustHeightTrigger', thatPanel);
2207            }, 500);
2208        })
2209        .on('click.collapseOut', '[data-toggle="collapse"][aria-expanded=true]', function (e) {
2210            e.preventDefault();
2211            console.log('exit panel');
2212            var that = $(this),
2213                thatPanelGroup = that.closest('.panel-group');
2214            resetPanelState(thatPanelGroup, false);
2215        })
2216        .on('adjustHeightTrigger', function (e, openPanel) {
2217            var openPanelHeight = $(openPanel).children('.panel-heading').eq(0).outerHeight() + $(openPanel).find('.panel-body').eq(0).outerHeight();
2218            $(openPanel).closest('.panel-group').find('.panel').css({ 'max-height': openPanelHeight + 'px' });
2219        })
2220        ;
2221}
2222
2223function hashTriggeredAccordion(linkhash) {
2224    var winHash = linkhash || window.location.hash,
2225        triggerId = {};
2226
2227    if (winHash.indexOf('accordion') > -1) triggerId.accId = $('#' + winHash.substring(winHash.indexOf('accordion'), winHash.indexOf('=')));
2228    if (winHash.indexOf('body') > -1) triggerId.accBody = $('#' + winHash.substring(winHash.indexOf('body'), winHash.length));
2229
2230    if (triggerId.accBody.length) {
2231        resetPanelState(triggerId.accId, triggerId.accBody.length);
2232
2233        $(triggerId.accBody.closest('.panel').addClass('panel-open').find('[data-toggle="collapse"]').attr('aria-controls')).collapse('show');
2234        setTextType(triggerId.accBody.closest('.panel').find('[data-toggle="collapse"]'));
2235        setTimeout(function () {
2236            triggerId.accBody.closest('.panel').find('[data-toggle="collapse"]').each(function () {
2237                $('#' + ($(this).attr('aria-controls'))).collapse('show');
2238            });
2239            triggerId.accBody.closest('.panel').addClass('show-content').trigger('adjustHeightTrigger', triggerId.accBody);
2240        }, 200);
2241    }
2242}
2243
2244function resetPanelState(panelGroup, toggleActivated) {
2245    console.log('resetPanelState');
2246    panelGroup.find('.show-content').each(function (idx, el) {
2247        $(el).removeClass('show-content');
2248    });
2249    if (toggleActivated) {
2250        panelGroup.addClass('panel-activated').find('.panel').each(function () {
2251            var thatP = $(this);
2252            thatP.removeClass('panel-open');
2253            thatP.find('[data-toggle="collapse"]').each(function () {
2254                setTextType(this, true);
2255                $('#' + $(this).attr('aria-controls')).collapse('hide');
2256            });
2257        });
2258    } else {
2259        var thatPanel = panelGroup.removeClass('panel-activated').find('.panel-open').removeClass('panel-open').addClass('panel-closing');
2260        panelGroup.find('.panel').each(function (idx, el) {
2261            // console.log($(el).data('initialMaxHeight'));
2262            // $(el).css({'max-height': $(el).data('initialMaxHeight')});
2263            $(el).find('[data-toggle="collapse"]').each(function () {
2264                setTextType(this);
2265                $('#' + $(this).attr('aria-controls')).collapse('hide');
2266            });
2267        });
2268        setTimeout(function () {
2269            thatPanel.removeClass('panel-closing');
2270        }, 500);
2271    }
2272
2273}
2274
2275function mondayscroll() {
2276    $('html, body').animate({ scrollTop: ($(".mwf-form").offset().top) - 100 }, 'fast');
2277}
2278
2279function setTextType(el, shortText, maxLength) {
2280    shortText = shortText || false;
2281    maxLength = maxLength || 30;
2282    var thatEl = $(el),
2283        thatText = thatEl.text();
2284
2285    if (!shortText) {
2286        thatEl.text(thatEl.data('originText'));
2287    } else {
2288        if (thatText.length > maxLength) {
2289            thatEl.data('originText', thatText);
2290            thatEl.text(thatText.substr(0, maxLength - 3) + '...');
2291        }
2292    }
2293}
2294
2295/* Hover over background-image in multi element*/
2296document.addEventListener("DOMContentLoaded", function() {
2297    const imgEl = Array.from(document.querySelectorAll("#hover_background"))
2298    //console.log("image:", imgEl);
2299    if(imgEl.length > 0) {
2300        imgEl.forEach((img) => {
2301          img.addEventListener("mouseenter", function (e) {
2302            let hoverUrl = img.dataset.backgroundHover;
2303            img.setAttribute('style', 'background-image: ' + hoverUrl + ';');
2304          });
2305          img.addEventListener("mouseleave", function () {
2306            let baseUrl = img.dataset.background;
2307            img.setAttribute('style', 'background-image: ' + baseUrl + ';');
2308          });
2309        });
2310    }
2311});
2312
2313
2314/*
2315$( document ).ready(function() {
2316
2317if (window.location.href.indexOf("6000_ctv2022/register/index.jsp") > -1 || window.location.href.indexOf("_ctv2022/contact") > -1) {
2318  var languageArray = [];
2319  $(".flyout > ul > li a").each(function () {
2320    languageArray.push(
2321      $(this).attr("href").replace("../..", "https://www.also.com/ec/cms5")
2322    );
2323  });
2324
2325  for (var i = 0; i < languageArray.length; i++) {
2326    $(".flyout > ul > li").children().eq(0 + i).attr("href", languageArray[i]);
2327  }
2328}
2329
2330});
2331
2332*/
2333document.addEventListener("DOMContentLoaded", function () {
2334  const header = document.querySelector("#header");
2335  //console.log(header);
2336
2337  const AddHeaderClass = function () {
2338    const y = window.scrollY;
2339    //console.log(y)
2340    if (y >= 80) {
2341      header.classList.add("scrolling");
2342    } else {
2343      header.classList.remove("scrolling");
2344    }
2345  };
2346
2347  window.addEventListener("scroll", AddHeaderClass);
2348})
2349
2350var vimeoPlayer = [];
2351var modifyDOM = false;
2352var curScrollTop = 0;
2353var $newFirstElement, $firstElementContainer, $mainContent, firstElementContainerHeight, initialHeaderHeight;
2354
2355$(window).on("scroll", function () {
2356	curScrollTop = $(window).scrollTop();
2357	if (modifyDOM) {
2358		if (curScrollTop >= 0) {
2359			hideFirstElement();
2360		}
2361	}
2362	if (curScrollTop > 250) {
2363		$(".navbar").addClass("navbar-scroll");
2364	} else {
2365		$(".navbar").removeClass("navbar-scroll");
2366	}
2367
2368});
2369
2370
2371
2372
2373
2374
2375
2376function menuResize(h) {
2377	if ($(window).width() > 768) {
2378		$('.navbar-collapse').removeClass('in');
2379		$('#top').css("padding-top", h);
2380	} else { }
2381}
2382
2383$(document).ready(function () {
2384
2385	$headerH = Math.round($("#header").outerHeight());
2386	console.log($headerH)
2387	menuResize($headerH);
2388
2389	$firstElementContainer = $('aside.slide-in--top');
2390	$mainContent = $('main');
2391
2392	if ($(window).width() > 991 & $('.move-to-first').length > 0) {
2393		modifyDOM = true;
2394		setFirstElement();
2395	}
2396
2397	var $modalContainer = $('#modalContainer');
2398
2399	$("[data-toggle=modal]").each(function (i, el) {
2400		console.log("button " + $(this).data("toggle") + " for " + $(this).data("target").substring(1));
2401		if (Storage !== void (0)) {
2402			console.log("modalContainer.append getItem from localStorage");
2403			$modalContainer.append(localStorage.getItem($(this).data("toggle") + '_' + $(this).data("target").substring(1))).removeClass('hidden');
2404		} else {
2405			console.log("modalContainer.append from variable");
2406			$modalContainer.append($(this).data("toggle") + '_' + $(this).data("target")).removeClass('hidden');
2407		}
2408	});
2409
2410	initModalHandling();
2411
2412	resetSvgWidthOnMobile();
2413});
2414
2415$(window).load(function () {
2416	if (modifyDOM) {
2417		showFirstElement();
2418	}
2419});
2420
2421// Listen for resize changes
2422window.addEventListener("resize", function () {
2423	resetSvgWidthOnMobile();
2424}, false);
2425
2426function resetSvgWidthOnMobile() {
2427	$('.c3').find('svg').css({ "width": "auto" });
2428}
2429
2430function initModalHandling() {
2431	$('.vimeoplayer_also').each(function (i, el) {
2432		if (vimeoPlayer[i] == undefined) {
2433			vimeoPlayer[i] = new Vimeo.Player($($(this).find('iframe')));
2434		}
2435		$(this)
2436			.on('show.bs.modal', function (e) {
2437				vimeoPlayer[i].play();
2438			})
2439			.on('hidden.bs.modal', function (e) {
2440				vimeoPlayer[i].pause();
2441				// reset the Video
2442				//	vimeoPlayer.unload();
2443			})
2444			;
2445	});
2446}
2447
2448// Delay for the resizing
2449function handleResize() {
2450	clearTimeout(this.delayer);
2451	this.delayer = setTimeout(menuResize, 50);
2452}
2453
2454function setFirstElement() {
2455	initialHeaderHeight = $firstElementContainer.closest('.container').outerHeight();
2456	$newFirstElement = $('.move-to-first').eq(0);
2457	$firstElementContainer.prepend($newFirstElement);
2458}
2459
2460function showFirstElement() {
2461	firstElementContainerHeight = $newFirstElement.outerHeight();
2462	$firstElementContainer.css({ "height": firstElementContainerHeight + "px" });
2463	$mainContent.css({ "margin-top": (firstElementContainerHeight + initialHeaderHeight) + "px" });
2464}
2465
2466function hideFirstElement() {
2467	//var curOffset = (curScrollTop>firstElementContainerHeight) ? 0 :  (firstElementContainerHeight - curScrollTop);
2468	var curOffset = 0;
2469	$firstElementContainer.css({ "height": curOffset + "px" })
2470	$mainContent.css({ "margin-top": (curOffset + initialHeaderHeight) + "px" });
2471}
2472
2473window.addEventListener("resize", handleResize);
2474
2475
2476// $(document).ready(function () {
2477
2478
2479
2480// });
2481
2482/* hide / show 'to top' button on scroll */
2483document.addEventListener("DOMContentLoaded", function () {
2484	var toTop = document.querySelector(".btn__totop--fixed");
2485
2486	var scrollToTopBtn = function () {
2487			var y = window.scrollY;
2488			if (y >= 1600) {
2489					toTop.style.display = "block"
2490			} else {
2491				toTop.style.display = "none"
2492			}
2493		
2494	};
2495	window.addEventListener("scroll", scrollToTopBtn);
2496})

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.