PageSourceSearch

https://www.gaming.gv.at/system/statV.1789655742/Javascript/template.js

js gaming.gv.at collected 2026-09-25 04:00:04 UTC 63,917 bytes, 1,104 lines download raw bytes

1/*Zum Seitenanfang*/
2$(window).bind('scroll', function () {
3    if ($(this).scrollTop() > 200) {
4        $(".backToTop").fadeIn();
5    }
6    else {
7        $(".backToTop").fadeOut();
8    }
9});
10
11/*Boxeninhalte ein/ausklappen*/
12function toggleContentLayoutBox(onr, head) {
13
14    var box = '#templateContentLayoutBox' + onr;
15
16    if ($(head).hasClass('templateContentLayoutHeaderSelected')) {
17        $(head).removeClass('templateContentLayoutHeaderSelected');
18        $(box).hide();
19    }
20    else {
21        $(head).addClass('templateContentLayoutHeaderSelected');
22        $(box).show();
23    }
24    
25}
26
27
28(function ($) {
29    $(function () {
30        toggleResponsiveSite(false);
31    });
32})(jQuery);
33
34function toggleResponsiveSite(click) {
35    if ($(".boxresponsive").length > 0) {
36        if (!click) {
37            var hascookie = getCookieTemplate("rismobiledesktopversion") != "";
38            $(".boxresponsivemoblitiyon").css("display", hascookie ? "none" : "");
39            $(".boxresponsivemoblitiyoff").css("display", hascookie ? "" : "none");
40        }
41        if (click) {
42            setCookieTemplate("rismobiledesktopversion", "true", $(".boxresponsivemoblitiyon:visible").length > 0 ? 365 : -1);
43            location.reload();
44        }
45    }
46}
47
48function setCookieTemplate(cname, cvalue, exdays) {
49    var d = new Date();
50    d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
51    var expires = "expires=" + d.toGMTString();
52    document.cookie = cname + "=" + cvalue + "; " + expires;
53}
54function getCookieTemplate(cname) {
55    var name = cname + "=";
56    var ca = document.cookie.split(';');
57    for (var i = 0; i < ca.length; i++) {
58        var c = ca[i];
59        while (c.charAt(0) == ' ') c = c.substring(1);
60        if (c.indexOf(name) == 0) return c.substring(name.length, c.length);
61    }
62    return "";
63}
64
65/*Veranstaltung ein/ausklappen*/
66function toggleVeranstaltungBox(box, head) {
67
68    if ($(head).hasClass('boxVeranstaltungFilterListHeaderSelected')) {
69        $(head).removeClass('boxVeranstaltungFilterListHeaderSelected');
70        $(box).hide();
71    }
72    else {
73        $(head).addClass('boxVeranstaltungFilterListHeaderSelected');
74        $(box).show();
75    }
76}
77
78/*Filtert die Veranstaltungsliste*/
79function toggleVeranstaltungList(box, id) {
80
81    var entriesGroup = '.boxVeranstaltungFilterListGroup';
82    var entries = '.boxVeranstaltungFilterEntry';
83    var headers = '.boxVeranstaltungFilterListHeader';
84    var selectedButtonsClass = 'boxVeranstaltungFilterButtonSelected';
85    var selectedButtons = '.' + selectedButtonsClass;
86
87    if ($(box).hasClass(selectedButtonsClass)) {
88        $(box).removeClass(selectedButtonsClass);
89    }
90    else {
91        $(box).addClass(selectedButtonsClass);
92    }
93
94    if ($(selectedButtons).length > 0)
95    {
96        $(entries).hide();
97
98        $(headers).hide();
99
100        $(selectedButtons).each(
101            function () {
102                var kategorie = '.' + $(this).attr('class').split(' ')[1];
103                $(entries + kategorie).show();
104            });
105
106        $('div' + headers + ' ~ div' + entriesGroup + ' ' + entries + ':visible').each(
107            function () {                
108                $(this).parent().prev(headers).show();
109
110            });
111
112    }
113    else
114    {
115        $(entries).show();
116        $(headers).show();
117    }
118}
119
120/*Start Menüpunkt fixe Position*/
121
122// Generated by CoffeeScript 1.6.2
123/*
124jQuery Waypoints - v2.0.4
125Copyright (c) 2011-2014 Caleb Troughton
126Dual licensed under the MIT license and GPL license.
127https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
128*/
129function AddWaypoint() {
130    (function () {
131        var __indexOf = [].indexOf || function (item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
132          __slice = [].slice;
133
134        (function (root, factory) {
135            if (typeof define === 'function' && define.amd) {
136                return define('waypoints', ['jquery'], function ($) {
137                    return factory($, root);
138                });
139            } else {
140                return factory(root.jQuery, root);
141            }
142        })(this, function ($, window) {
143            var $w, Context, Waypoint, allWaypoints, contextCounter, contextKey, contexts, isTouch, jQMethods, methods, resizeEvent, scrollEvent, waypointCounter, waypointKey, wp, wps;
144
145            $w = $(window);
146            isTouch = __indexOf.call(window, 'ontouchstart') >= 0;
147            allWaypoints = {
148                horizontal: {},
149                vertical: {}
150            };
151            contextCounter = 1;
152            contexts = {};
153            contextKey = 'waypoints-context-id';
154            resizeEvent = 'resize.waypoints';
155            scrollEvent = 'scroll.waypoints';
156            waypointCounter = 1;
157            waypointKey = 'waypoints-waypoint-ids';
158            wp = 'waypoint';
159            wps = 'waypoints';
160            Context = (function () {
161                function Context($element) {
162                    var _this = this;
163
164                    this.$element = $element;
165                    this.element = $element[0];
166                    this.didResize = false;
167                    this.didScroll = false;
168                    this.id = 'context' + contextCounter++;
169                    this.oldScroll = {
170                        x: $element.scrollLeft(),
171                        y: $element.scrollTop()
172                    };
173                    this.waypoints = {
174                        horizontal: {},
175                        vertical: {}
176                    };
177                    this.element[contextKey] = this.id;
178                    contexts[this.id] = this;
179                    $element.bind(scrollEvent, function () {
180                        var scrollHandler;
181
182                        if (!(_this.didScroll || isTouch)) {
183                            _this.didScroll = true;
184                            scrollHandler = function () {
185                                _this.doScroll();
186                                return _this.didScroll = false;
187                            };
188                            return window.setTimeout(scrollHandler, $[wps].settings.scrollThrottle);
189                        }
190                    });
191                    $element.bind(resizeEvent, function () {
192                        var resizeHandler;
193
194                        if (!_this.didResize) {
195                            _this.didResize = true;
196                            resizeHandler = function () {
197                                $[wps]('refresh');
198                                return _this.didResize = false;
199                            };
200                            return window.setTimeout(resizeHandler, $[wps].settings.resizeThrottle);
201                        }
202                    });
203                }
204
205                Context.prototype.doScroll = function () {
206                    var axes,
207                      _this = this;
208
209                    axes = {
210                        horizontal: {
211                            newScroll: this.$element.scrollLeft(),
212                            oldScroll: this.oldScroll.x,
213                            forward: 'right',
214                            backward: 'left'
215                        },
216                        vertical: {
217                            newScroll: this.$element.scrollTop(),
218                            oldScroll: this.oldScroll.y,
219                            forward: 'down',
220                            backward: 'up'
221                        }
222                    };
223                    if (isTouch && (!axes.vertical.oldScroll || !axes.vertical.newScroll)) {
224                        $[wps]('refresh');
225                    }
226                    $.each(axes, function (aKey, axis) {
227                        var direction, isForward, triggered;
228
229                        triggered = [];
230                        isForward = axis.newScroll > axis.oldScroll;
231                        direction = isForward ? axis.forward : axis.backward;
232                        $.each(_this.waypoints[aKey], function (wKey, waypoint) {
233                            var _ref, _ref1;
234
235                            if ((axis.oldScroll < (_ref = waypoint.offset) && _ref <= axis.newScroll)) {
236                                return triggered.push(waypoint);
237                            } else if ((axis.newScroll < (_ref1 = waypoint.offset) && _ref1 <= axis.oldScroll)) {
238                                return triggered.push(waypoint);
239                            }
240                        });
241                        triggered.sort(function (a, b) {
242                            return a.offset - b.offset;
243                        });
244                        if (!isForward) {
245                            triggered.reverse();
246                        }
247                        return $.each(triggered, function (i, waypoint) {
248                            if (waypoint.options.continuous || i === triggered.length - 1) {
249                                return waypoint.trigger([direction]);
250                            }
251                        });
252                    });
253                    return this.oldScroll = {
254                        x: axes.horizontal.newScroll,
255                        y: axes.vertical.newScroll
256                    };
257                };
258
259                Context.prototype.refresh = function () {
260                    var axes, cOffset, isWin,
261                      _this = this;
262
263                    isWin = $.isWindow(this.element);
264                    cOffset = this.$element.offset();
265                    this.doScroll();
266                    axes = {
267                        horizontal: {
268                            contextOffset: isWin ? 0 : cOffset.left,
269                            contextScroll: isWin ? 0 : this.oldScroll.x,
270                            contextDimension: this.$element.width(),
271                            oldScroll: this.oldScroll.x,
272                            forward: 'right',
273                            backward: 'left',
274                            offsetProp: 'left'
275                        },
276                        vertical: {
277                            contextOffset: isWin ? 0 : cOffset.top,
278                            contextScroll: isWin ? 0 : this.oldScroll.y,
279                            contextDimension: isWin ? $[wps]('viewportHe
vendor: 15,730 bytes, lines 279-625
279ight') : this.$element.height(),
280                            oldScroll: this.oldScroll.y,
281                            forward: 'down',
282                            backward: 'up',
283                            offsetProp: 'top'
284                        }
285                    };
286                    return $.each(axes, function (aKey, axis) {
287                        return $.each(_this.waypoints[aKey], function (i, waypoint) {
288                            var adjustment, elementOffset, oldOffset, _ref, _ref1;
289
290                            adjustment = waypoint.options.offset;
291                            oldOffset = waypoint.offset;
292                            elementOffset = $.isWindow(waypoint.element) ? 0 : waypoint.$element.offset()[axis.offsetProp];
293                            if ($.isFunction(adjustment)) {
294                                adjustment = adjustment.apply(waypoint.element);
295                            } else if (typeof adjustment === 'string') {
296                                adjustment = parseFloat(adjustment);
297                                if (waypoint.options.offset.indexOf('%') > -1) {
298                                    adjustment = Math.ceil(axis.contextDimension * adjustment / 100);
299                                }
300                            }
301                            waypoint.offset = elementOffset - axis.contextOffset + axis.contextScroll - adjustment;
302                            if ((waypoint.options.onlyOnScroll && (oldOffset != null)) || !waypoint.enabled) {
303                                return;
304                            }
305                            if (oldOffset !== null && (oldOffset < (_ref = axis.oldScroll) && _ref <= waypoint.offset)) {
306                                return waypoint.trigger([axis.backward]);
307                            } else if (oldOffset !== null && (oldOffset > (_ref1 = axis.oldScroll) && _ref1 >= waypoint.offset)) {
308                                return waypoint.trigger([axis.forward]);
309                            } else if (oldOffset === null && axis.oldScroll >= waypoint.offset) {
310                                return waypoint.trigger([axis.forward]);
311                            }
312                        });
313                    });
314                };
315
316                Context.prototype.checkEmpty = function () {
317                    if ($.isEmptyObject(this.waypoints.horizontal) && $.isEmptyObject(this.waypoints.vertical)) {
318                        this.$element.unbind([resizeEvent, scrollEvent].join(' '));
319                        return delete contexts[this.id];
320                    }
321                };
322
323                return Context;
324
325            })();
326            Waypoint = (function () {
327                function Waypoint($element, context, options) {
328                    var idList, _ref;
329
330                    options = $.extend({}, $.fn[wp].defaults, options);
331                    if (options.offset === 'bottom-in-view') {
332                        options.offset = function () {
333                            var contextHeight;
334
335                            contextHeight = $[wps]('viewportHeight');
336                            if (!$.isWindow(context.element)) {
337                                contextHeight = context.$element.height();
338                            }
339                            return contextHeight - $(this).outerHeight();
340                        };
341                    }
342                    this.$element = $element;
343                    this.element = $element[0];
344                    this.axis = options.horizontal ? 'horizontal' : 'vertical';
345                    this.callback = options.handler;
346                    this.context = context;
347                    this.enabled = options.enabled;
348                    this.id = 'waypoints' + waypointCounter++;
349                    this.offset = null;
350                    this.options = options;
351                    context.waypoints[this.axis][this.id] = this;
352                    allWaypoints[this.axis][this.id] = this;
353                    idList = (_ref = this.element[waypointKey]) != null ? _ref : [];
354                    idList.push(this.id);
355                    this.element[waypointKey] = idList;
356                }
357
358                Waypoint.prototype.trigger = function (args) {
359                    if (!this.enabled) {
360                        return;
361                    }
362                    if (this.callback != null) {
363                        this.callback.apply(this.element, args);
364                    }
365                    if (this.options.triggerOnce) {
366                        return this.destroy();
367                    }
368                };
369
370                Waypoint.prototype.disable = function () {
371                    return this.enabled = false;
372                };
373
374                Waypoint.prototype.enable = function () {
375                    this.context.refresh();
376                    return this.enabled = true;
377                };
378
379                Waypoint.prototype.destroy = function () {
380                    delete allWaypoints[this.axis][this.id];
381                    delete this.context.waypoints[this.axis][this.id];
382                    return this.context.checkEmpty();
383                };
384
385                Waypoint.getWaypointsByElement = function (element) {
386                    var all, ids;
387
388                    ids = element[waypointKey];
389                    if (!ids) {
390                        return [];
391                    }
392                    all = $.extend({}, allWaypoints.horizontal, allWaypoints.vertical);
393                    return $.map(ids, function (id) {
394                        return all[id];
395                    });
396                };
397
398                return Waypoint;
399
400            })();
401            methods = {
402                init: function (f, options) {
403                    var _ref;
404
405                    if (options == null) {
406                        options = {};
407                    }
408                    if ((_ref = options.handler) == null) {
409                        options.handler = f;
410                    }
411                    this.each(function () {
412                        var $this, context, contextElement, _ref1;
413
414                        $this = $(this);
415                        contextElement = (_ref1 = options.context) != null ? _ref1 : $.fn[wp].defaults.context;
416                        if (!$.isWindow(contextElement)) {
417                            contextElement = $this.closest(contextElement);
418                        }
419                        contextElement = $(contextElement);
420                        context = contexts[contextElement[0][contextKey]];
421                        if (!context) {
422                            context = new Context(contextElement);
423                        }
424                        return new Waypoint($this, context, options);
425                    });
426                    $[wps]('refresh');
427                    return this;
428                },
429                disable: function () {
430                    return methods._invoke.call(this, 'disable');
431                },
432                enable: function () {
433                    return methods._invoke.call(this, 'enable');
434                },
435                destroy: function () {
436                    return methods._invoke.call(this, 'destroy');
437                },
438                prev: function (axis, selector) {
439                    return methods._traverse.call(this, axis, selector, function (stack, index, waypoints) {
440                        if (index > 0) {
441                            return stack.push(waypoints[index - 1]);
442                        }
443                    });
444                },
445                next: function (axis, selector) {
446                    return methods._traverse.call(this, axis, selector, function (stack, index, waypoints) {
447                        if (index < waypoints.length - 1) {
448                            return stack.push(waypoints[index + 1]);
449                        }
450                    });
451                },
452                _traverse: function (axis, selector, push) {
453                    var stack, waypoints;
454
455                    if (axis == null) {
456                        axis = 'vertical';
457                    }
458                    if (selector == null) {
459                        selector = window;
460                    }
461                    waypoints = jQMethods.aggregate(selector);
462                    stack = [];
463                    this.each(function () {
464                        var index;
465
466                        index = $.inArray(this, waypoints[axis]);
467                        return push(stack, index, waypoints[axis]);
468                    });
469                    return this.pushStack(stack);
470                },
471                _invoke: function (method) {
472                    this.each(function () {
473                        var waypoints;
474
475                        waypoints = Waypoint.getWaypointsByElement(this);
476                        return $.each(waypoints, function (i, waypoint) {
477                            waypoint[method]();
478                            return true;
479                        });
480                    });
481                    return this;
482                }
483            };
484            $.fn[wp] = function () {
485                var args, method;
486
487                method = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
488                if (methods[method]) {
489                    return methods[method].apply(this, args);
490                } else if ($.isFunction(method)) {
491                    return methods.init.apply(this, arguments);
492                } else if ($.isPlainObject(method)) {
493                    return methods.init.apply(this, [null, method]);
494                } else if (!method) {
495                    return $.error("jQuery Waypoints needs a callback function or handler option.");
496                } else {
497                    return $.error("The " + method + " method does not exist in jQuery Waypoints.");
498                }
499            };
500            $.fn[wp].defaults = {
501                context: window,
502                continuous: true,
503                enabled: true,
504                horizontal: false,
505                offset: 0,
506                triggerOnce: false
507            };
508            jQMethods = {
509                refresh: function () {
510                    return $.each(contexts, function (i, context) {
511                        return context.refresh();
512                    });
513                },
514                viewportHeight: function () {
515                    var _ref;
516
517                    return (_ref = window.innerHeight) != null ? _ref : $w.height();
518                },
519                aggregate: function (contextSelector) {
520                    var collection, waypoints, _ref;
521
522                    collection = allWaypoints;
523                    if (contextSelector) {
524                        collection = (_ref = contexts[$(contextSelector)[0][contextKey]]) != null ? _ref.waypoints : void 0;
525                    }
526                    if (!collection) {
527                        return [];
528                    }
529                    waypoints = {
530                        horizontal: [],
531                        vertical: []
532                    };
533                    $.each(waypoints, function (axis, arr) {
534                        $.each(collection[axis], function (key, waypoint) {
535                            return arr.push(waypoint);
536                        });
537                        arr.sort(function (a, b) {
538                            return a.offset - b.offset;
539                        });
540                        waypoints[axis] = $.map(arr, function (waypoint) {
541                            return waypoint.element;
542                        });
543                        return waypoints[axis] = $.unique(waypoints[axis]);
544                    });
545                    return waypoints;
546                },
547                above: function (contextSelector) {
548                    if (contextSelector == null) {
549                        contextSelector = window;
550                    }
551                    return jQMethods._filter(contextSelector, 'vertical', function (context, waypoint) {
552                        return waypoint.offset <= context.oldScroll.y;
553                    });
554                },
555                below: function (contextSelector) {
556                    if (contextSelector == null) {
557                        contextSelector = window;
558                    }
559                    return jQMethods._filter(contextSelector, 'vertical', function (context, waypoint) {
560                        return waypoint.offset > context.oldScroll.y;
561                    });
562                },
563                left: function (contextSelector) {
564                    if (contextSelector == null) {
565                        contextSelector = window;
566                    }
567                    return jQMethods._filter(contextSelector, 'horizontal', function (context, waypoint) {
568                        return waypoint.offset <= context.oldScroll.x;
569                    });
570                },
571                right: function (contextSelector) {
572                    if (contextSelector == null) {
573                        contextSelector = window;
574                    }
575                    return jQMethods._filter(contextSelector, 'horizontal', function (context, waypoint) {
576                        return waypoint.offset > context.oldScroll.x;
577                    });
578                },
579                enable: function () {
580                    return jQMethods._invoke('enable');
581                },
582                disable: function () {
583                    return jQMethods._invoke('disable');
584                },
585                destroy: function () {
586                    return jQMethods._invoke('destroy');
587                },
588                extendFn: function (methodName, f) {
589                    return methods[methodName] = f;
590                },
591                _invoke: function (method) {
592                    var waypoints;
593
594                    waypoints = $.extend({}, allWaypoints.vertical, allWaypoints.horizontal);
595                    return $.each(waypoints, function (key, waypoint) {
596                        waypoint[method]();
597                        return true;
598                    });
599                },
600                _filter: function (selector, axis, test) {
601                    var context, waypoints;
602
603                    context = contexts[$(selector)[0][contextKey]];
604                    if (!context) {
605                        return [];
606                    }
607                    waypoints = [];
608                    $.each(context.waypoints[axis], function (i, waypoint) {
609                        if (test(context, waypoint)) {
610                            return waypoints.push(waypoint);
611                        }
612                    });
613                    waypoints.sort(function (a, b) {
614                        return a.offset - b.offset;
615                    });
616                    return $.map(waypoints, function (waypoint) {
617                        return waypoint.element;
618                    });
619                }
620            };
621            $[wps] = function () {
622                var args, method;
623
624                method = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
625                if (jQMethods[method]) {
626                    return jQMethods[method].apply(null, args);
627                } else {
628                    return jQMethods.aggregate.call(null, method);
629                }
630            };
631            $[wps].settings = {
632                resizeThrottle: 100,
633                scrollThrottle: 30
634            };
635            return $w.load(function () {
636                return $[wps]('refresh');
637            });
638        });
639
640    }).call(this);
641
642    // Generated by CoffeeScript 1.6.2
643    /*
644    Sticky Elements Shortcut for jQuery Waypoints - v2.0.5
645    Copyright (c) 2011-2014 Caleb Troughton
646    Licensed under the MIT license.
647    https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
648    */
649
650
651    (function () {
652        (function (root, factory) {
653            if (typeof define === 'function' && define.amd) {
654                return define(['jquery', 'waypoints'], factory);
655            } else {
656                return factory(root.jQuery);
657            }
658        })(window, function ($) {
659            var defaults, wrap;
660
661            defaults = {
662                wrapper: '<div class="sticky-wrapper" />',
663                stuckClass: 'stuck',
664                direction: 'down right'
665            };
666            wrap = function ($elements, options) {
667                var $parent;
668
669                $elements.wrap(options.wrapper);
670                $parent = $elements.parent();
671                return $parent.data('isWaypointStickyWrapper', true);
672            };
673            $.waypoints('extendFn', 'sticky', function (opt) {
674                var $wrap, options, originalHandler;
675
676                options = $.extend({}, $.fn.waypoint.defaults, defaults, opt);
677                $wrap = wrap(this, options);
678                originalHandler = options.handler;
679                options.handler = function (direction) {
680                    var $sticky, shouldBeStuck;
681
682                    $sticky = $(this).children(':first');
683                    shouldBeStuck = options.direction.indexOf(direction) !== -1;
684                    $sticky.toggleClass(options.stuckClass, shouldBeStuck);
685                    $wrap.height(shouldBeStuck ? $sticky.outerHeight() : '');
686                    if (originalHandler != null) {
687                        return originalHandler.call(this, direction);
688                    }
689                };
690                $wrap.waypoint(options);
691                return this.data('stuckClass', options.stuckClass);
692            });
693            return $.waypoints('extendFn', 'unsticky', function () {
694                var $parent;
695
696                $parent = this.parent();
697                if (!$parent.data('isWaypointStickyWrapper')) {
698                    return this;
699                }
700                $parent.waypoint('destroy');
701                this.unwrap();
702                return this.removeClass(this.data('stuckClass'));
703            });
704        });
705
706    }).call(this);
707}
708/*Ende Menüpunkt fixe Position*/
709
710/*Start Karussell*/
711/*! jCarousel - v0.3.1 - 2014-04-26
712* http://sorgalla.com/jcarousel
713* Copyright (c) 2014 Jan Sorgalla; Licensed MIT */
714(function (t) { "use strict"; var i = t.jCarousel = {}; i.version = "0.3.1"; var s = /^([+\-]=)?(.+)$/; i.parseTarget = function (t) { var i = !1, e = "object" != typeof t ? s.exec(t) : null; return e ? (t = parseInt(e[2], 10) || 0, e[1] && (i = !0, "-=" === e[1] && (t *= -1))) : "object" != typeof t && (t = parseInt(t, 10) || 0), { target: t, relative: i } }, i.detectCarousel = function (t) { for (var i; t.length > 0;) { if (i = t.filter("[data-jcarousel]"), i.length > 0) return i; if (i = t.find("[data-jcarousel]"), i.length > 0) return i; t = t.parent() } return null }, i.base = function (s) { return { version: i.version, _options: {}, _element: null, _carousel: null, _init: t.noop, _create: t.noop, _destroy: t.noop, _reload: t.noop, create: function () { return this._element.attr("data-" + s.toLowerCase(), !0).data(s, this), !1 === this._trigger("create") ? this : (this._create(), this._trigger("createend"), this) }, destroy: function () { return !1 === this._trigger("destroy") ? this 
714: (this._destroy(), this._trigger("destroyend"), this._element.removeData(s).removeAttr("data-" + s.toLowerCase()), this) }, reload: function (t) { return !1 === this._trigger("reload") ? this : (t && this.options(t), this._reload(), this._trigger("reloadend"), this) }, element: function () { return this._element }, options: function (i, s) { if (0 === arguments.length) return t.extend({}, this._options); if ("string" == typeof i) { if (s === void 0) return this._options[i] === void 0 ? null : this._options[i]; this._options[i] = s } else this._options = t.extend({}, this._options, i); return this }, carousel: function () { return this._carousel || (this._carousel = i.detectCarousel(this.options("carousel") || this._element), this._carousel || t.error('Could not detect carousel for plugin "' + s + '"')), this._carousel }, _trigger: function (i, e, r) { var n, o = !1; return r = [this].concat(r || []), (e || this._element).each(function () { n = t.Event((s + ":" + i).toLowerCase()), t(this).trigger(n, r), n.isDefaultPrevented() && (o = !0) }), !o } } }, i.plugin = function (s, e) { var r = t[s] = function (i, s) { this._element = t(i), this.options(s), this._init(), this.create() }; return r.fn = r.prototype = t.extend({}, i.base(s), e), t.fn[s] = function (i) { var e = Array.prototype.slice.call(arguments, 1), n = this; return "string" == typeof i ? this.each(function () { var r = t(this).data(s); if (!r) return t.error("Cannot call methods on " + s + " prior to initialization; " + 'attempted to call method "' + i + '"'); if (!t.isFunction(r[i]) || "_" === i.charAt(0)) return t.error('No such method "' + i + '" for ' + s + " instance"); var o = r[i].apply(r, e); return o !== r && o !== void 0 ? (n = o, !1) : void 0 }) : this.each(function () { var e = t(this).data(s); e instanceof r ? e.reload(i) : new r(this, i) }), n }, r } })(jQuery), function (t, i) { "use strict"; var s = function (t) { return parseFloat(t) || 0 }; t.jCarousel.plugin("jcarousel", { animating: !1, tail: 0, inTail: !1, resizeTimer: null, lt: null, vertical: !1, rtl: !1, circular: !1, underflow: !1, relative: !1, _options: { list: function () { return this.element().children().eq(0) }, items: function () { return this.list().children() }, animation: 400, transitions: !1, wrap: null, vertical: null, rtl: null, center: !1 }, _list: null, _items: null, _target: null, _first: null, _last: null, _visible: null, _fullyvisible: null, _init: function () { var t = this; return this.onWindowResize = function () { t.resizeTimer && clearTimeout(t.resizeTimer), t.resizeTimer = setTimeout(function () { t.reload() }, 100) }, this }, _create: function () { this._reload(), t(i).on("resize.jcarousel", this.onWindowResize) }, _destroy: function () { t(i).off("resize.jcarousel", this.onWindowResize) }, _reload: function () { this.vertical = this.options("vertical"), null == this.vertical && (this.vertical = this.list().height() > this.list().width()), this.rtl = this.options("rtl"), null == this.rtl && (this.rtl = function (i) { if ("rtl" === ("" + i.attr("dir")).toLowerCase()) return !0; var s = !1; return i.parents("[dir]").each(function () { return /rtl/i.test(t(this).attr("dir")) ? (s = !0, !1) : void 0 }), s }(this._element)), this.lt = this.vertical ? "top" : "left", this.relative = "relative" === this.list().css("position"), this._list = null, this._items = null; var i = this._target && this.index(this._target) >= 0 ? this._target : this.closest(); this.circular = "circular" === this.options("wrap"), this.underflow = !1; var s = { left: 0, top: 0 }; return i.length > 0 && (this._prepare(i), this.list().find("[data-jcarousel-clone]").remove(), this._items = null, this.underflow = this._fullyvisible.length >= this.items().length, this.circular = this.circular && !this.underflow, s[this.lt] = this._position(i) + "px"), this.move(s), this }, list: function () { if (null === this._list) { var i = this.options("list"); this._list = t.isFunction(i) ? i.call(this) : this._element.find(i) } return this._list }, items: function () { if (null === this._items) { var i = this.options("items"); this._items = (t.isFunction(i) ? i.call(this) : this.list().find(i)).not("[data-jcarousel-clone]") } return this._items }, index: function (t) { return this.items().index(t) }, closest: function () { var i, e = this, r = this.list().position()[this.lt], n = t(), o = !1, l = this.vertical ? "bottom" : this.rtl && !this.relative ? "left" : "right"; return this.rtl && this.relative && !this.vertical && (r += this.list().width() - this.clipping()), this.items().each(function () { if (n = t(this), o) return !1; var a = e.dimension(n); if (r += a, r >= 0) { if (i = a - s(n.css("margin-" + l)), !(0 >= Math.abs(r) - a + i / 2)) return !1; o = !0 } }), n }, target: function () { return this._target }, first: function () { return this._first }, last: function () { return this._last }, visible: function () { return this._visible }, fullyvisible: function () { return this._fullyvisible }, hasNext: function () { if (!1 === this._trigger("hasnext")) return !0; var t = this.options("wrap"), i = this.items().length - 1; return i >= 0 && !this.underflow && (t && "first" !== t || i > this.index(this._last) || this.tail && !this.inTail) ? !0 : !1 }, hasPrev: function () { if (!1 === this._trigger("hasprev")) return !0; var t = this.options("wrap"); return this.items().length > 0 && !this.underflow && (t && "last" !== t || this.index(this._first) > 0 || this.tail && this.inTail) ? !0 : !1 }, clipping: function () { return this._element["inner" + (this.vertical ? "Height" : "Width")]() }, dimension: function (t) { return t["outer" + (this.vertical ? "Height" : "Width")](!0) }, scroll: function (i, s, e) { if (this.animating) return this; if (!1 === this._trigger("scroll", null, [i, s])) return this; t.isFunction(s) && (e = s, s = !0);
714 var r = t.jCarousel.parseTarget(i); if (r.relative) { var n, o, l, a, h, u, c, f, d = this.items().length - 1, _ = Math.abs(r.target), p = this.options("wrap"); if (r.target > 0) { var g = this.index(this._last); if (g >= d && this.tail) this.inTail ? "both" === p || "last" === p ? this._scroll(0, s, e) : t.isFunction(e) && e.call(this, !1) : this._scrollTail(s, e); else if (n = this.index(this._target), this.underflow && n === d && ("circular" === p || "both" === p || "last" === p) || !this.underflow && g === d && ("both" === p || "last" === p)) this._scroll(0, s, e); else if (l = n + _, this.circular && l > d) { for (f = d, h = this.items().get(-1) ; l > f++;) h = this.items().eq(0), u = this._visible.index(h) >= 0, u && h.after(h.clone(!0).attr("data-jcarousel-clone", !0)), this.list().append(h), u || (c = {}, c[this.lt] = this.dimension(h), this.moveBy(c)), this._items = null; this._scroll(h, s, e) } else this._scroll(Math.min(l, d), s, e) } else if (this.inTail) this._scroll(Math.max(this.index(this._first) - _ + 1, 0), s, e); else if (o = this.index(this._first), n = this.index(this._target), a = this.underflow ? n : o, l = a - _, 0 >= a && (this.underflow && "circular" === p || "both" === p || "first" === p)) this._scroll(d, s, e); else if (this.circular && 0 > l) { for (f = l, h = this.items().get(0) ; 0 > f++;) { h = this.items().eq(-1), u = this._visible.index(h) >= 0, u && h.after(h.clone(!0).attr("data-jcarousel-clone", !0)), this.list().prepend(h), this._items = null; var v = this.dimension(h); c = {}, c[this.lt] = -v, this.moveBy(c) } this._scroll(h, s, e) } else this._scroll(Math.max(l, 0), s, e) } else this._scroll(r.target, s, e); return this._trigger("scrollend"), this }, moveBy: function (t, i) { var e = this.list().position(), r = 1, n = 0; return this.rtl && !this.vertical && (r = -1, this.relative && (n = this.list().width() - this.clipping())), t.left && (t.left = e.left + n + s(t.left) * r + "px"), t.top && (t.top = e.top + n + s(t.top) * r + "px"), this.move(t, i) }, move: function (i, s) { s = s || {}; var e = this.options("transitions"), r = !!e, n = !!e.transforms, o = !!e.transforms3d, l = s.duration || 0, a = this.list(); if (!r && l > 0) return a.animate(i, s), void 0; var h = s.complete || t.noop, u = {}; if (r) { var c = a.css(["transitionDuration", "transitionTimingFunction", "transitionProperty"]), f = h; h = function () { t(this).css(c), f.call(this) }, u = { transitionDuration: (l > 0 ? l / 1e3 : 0) + "s", transitionTimingFunction: e.easing || s.easing, transitionProperty: l > 0 ? function () { return n || o ? "all" : i.left ? "left" : "top" }() : "none", transform: "none" } } o ? u.transform = "translate3d(" + (i.left || 0) + "," + (i.top || 0) + ",0)" : n ? u.transform = "translate(" + (i.left || 0) + "," + (i.top || 0) + ")" : t.extend(u, i), r && l > 0 && a.one("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd", h), a.css(u), 0 >= l && a.each(function () { h.call(this) }) }, _scroll: function (i, s, e) { if (this.animating) return t.isFunction(e) && e.call(this, !1), this; if ("object" != typeof i ? i = this.items().eq(i) : i.jquery === void 0 && (i = t(i)), 0 === i.length) return t.isFunction(e) && e.call(this, !1), this; this.inTail = !1, this._prepare(i); var r = this._position(i), n = this.list().position()[this.lt]; if (r === n) return t.isFunction(e) && e.call(this, !1), this; var o = {}; return o[this.lt] = r + "px", this._animate(o, s, e), this }, _scrollTail: function (i, s) { if (this.animating || !this.tail) return t.isFunction(s) && s.call(this, !1), this; var e = this.list().position()[this.lt]; this.rtl && this.relative && !this.vertical && (e += this.list().width() - this.clipping()), this.rtl && !this.vertical ? e += this.tail : e -= this.tail, this.inTail = !0; var r = {}; return r[this.lt] = e + "px", this._update({ target: this._target.next(), fullyvisible: this._fullyvisible.slice(1).add(this._visible.last()) }), this._animate(r, i, s), this }, _animate: function (i, s, e) { if (e = e || t.noop, !1 === this._trigger("animate")) return e.call(this, !1), this; this.animating = !0; var r = this.options("animation"), n = t.proxy(function () { this.animating = !1; var t = this.list().find("[data-jcarousel-clone]"); t.length > 0 && (t.remove(), this._reload()), this._trigger("animateend"), e.call(this, !0) }, this), o = "object" == typeof r ? t.extend({}, r) : { duration: r }, l = o.complete || t.noop; return s === !1 ? o.duration = 0 : t.fx.speeds[o.duration] !== void 0 && (o.duration = t.fx.speeds[o.duration]), o.complete = function () { n(), l.call(this) }, this.move(i, o), this }, _prepare: function (i) { var e, r, n, o, l = this.index(i), a = l, h = this.dimension(i), u = this.clipping(), c = this.vertical ? "bottom" : this.rtl ? "left" : "right", f = this.options("center"), d = { target: i, first: i, last: i, visible: i, fullyvisible: u >= h ? i : t() }; if (f && (h /= 2, u /= 2), u > h) for (; ;) { if (e = this.items().eq(++a), 0 === e.length) { if (!this.circular) break; if (e = this.items().eq(0), i.get(0) === e.get(0)) break; if (r = this._visible.index(e) >= 0, r && e.after(e.clone(!0).attr("data-jcarousel-clone", !0)), this.list().append(e), !r) { var _ = {}; _[this.lt] = this.dimension(e), this.moveBy(_) } this._items = null } if (o = this.dimension(e), 0 === o) break; if (h += o, d.last = e, d.visible = d.visible.add(e), n = s(e.css("margin-" + c)), u >= h - n && (d.fullyvisible = d.fullyvisible.add(e)), h >= u) break } if (!this.circular && !f && u > h) for (a = l; ;) { if (0 > --a) break; if (e = this.items().eq(a), 0 === e.length) break; if (o = this.dimension(e), 0 === o) break; if (h += o, d.first = e, d.visible = d.visible.add(e), n = s(e.css("margin-" + c)), u >= h - n && (d.fullyvisible = d.fullyvisible.add(e)), h >= u) break } return this._update(d), this.tail = 0, f || "circular" === this.options("wrap") || "custom" === this.options("wrap") || this.index(d.last) !== this.items().length - 1 || (h -= s(d.last.css("margin-" + c)), h > u && (this.tail = h - u)), this }, _position: function (t) { var i = this._first, s = i.position()[this.lt], e = this.options("center"), r = e ? this.clipping() / 2 - this.dimension(i) / 2 : 0; return this.rtl && !this.vertical ? (s -= this.relative ? this.list().width() - this.dimension(i) : this.clipping() - this.dimension(i), s += r) : s -= r, !e && (this.index(t) > this.index(i) || this.inTail) && this.tail ? (s = this.rtl && !this.vertical ? s - this.tail : s + this.tail, this.inTail = !0) : this.inTail = !1, -s }, _update: function (i) { var s, e = this, r = { target: this._target || t(), first: this._first || t(), last: this._last || t(), visible: this._visible || t(), fullyvisible: this._fullyvisible || t() }, n = this.index(i.first || r.first) < this.index(r.first), o = function (s) { var o = [], l = []; i[s].each(function () { 0 > r[s].index(this) && o.push(this) }), r[s].each(function () { 0 > i[s].index(this) && l.push(this) }), n ? o = o.reverse() : l = l.reverse(), e._trigger(s + "in", t(o)), e._trigger(s + "out", t(l)), e["_" + s] = i[s] }; for (s in i) o(s); return this } }) }(jQuery, window), function (t) { "use strict"; t.jcarousel.fn.scrollIntoView = function (i, s, e) { var r, n = t.jCarou
714sel.parseTarget(i), o = this.index(this._fullyvisible.first()), l = this.index(this._fullyvisible.last()); if (r = n.relative ? 0 > n.target ? Math.max(0, o + n.target) : l + n.target : "object" != typeof n.target ? n.target : this.index(n.target), o > r) return this.scroll(r, s, e); if (r >= o && l >= r) return t.isFunction(e) && e.call(this, !1), this; for (var a, h = this.items(), u = this.clipping(), c = this.vertical ? "bottom" : this.rtl ? "left" : "right", f = 0; ;) { if (a = h.eq(r), 0 === a.length) break; if (f += this.dimension(a), f >= u) { var d = parseFloat(a.css("margin-" + c)) || 0; f - d !== u && r++; break } if (0 >= r) break; r-- } return this.scroll(r, s, e) } }(jQuery), function (t) { "use strict"; t.jCarousel.plugin("jcarouselControl", { _options: { target: "+=1", event: "click", method: "scroll" }, _active: null, _init: function () { this.onDestroy = t.proxy(function () { this._destroy(), this.carousel().one("jcarousel:createend", t.proxy(this._create, this)) }, this), this.onReload = t.proxy(this._reload, this), this.onEvent = t.proxy(function (i) { i.preventDefault(); var s = this.options("method"); t.isFunction(s) ? s.call(this) : this.carousel().jcarousel(this.options("method"), this.options("target")) }, this) }, _create: function () { this.carousel().one("jcarousel:destroy", this.onDestroy).on("jcarou
714sel:reloadend jcarousel:scrollend", this.onReload), this._element.on(this.options("event") + ".jcarouselcontrol", this.onEvent), this._reload() }, _destroy: function () { this._element.off(".jcarouselcontrol", this.onEvent), this.carousel().off("jcarousel:destroy", this.onDestroy).off("jcarousel:reloadend jcarousel:scrollend", this.onReload) }, _reload: function () { var i, s = t.jCarousel.parseTarget(this.options("target")), e = this.carousel(); if (s.relative) i = e.jcarousel(s.target > 0 ? "hasNext" : "hasPrev"); else { var r = "object" != typeof s.target ? e.jcarousel("items").eq(s.target) : s.target; i = e.jcarousel("target").index(r) >= 0 } return this._active !== i && (this._trigger(i ? "active" : "inactive"), this._active = i), this } }) }(jQuery), function (t) { "use strict"; t.jCarousel.plugin("jcarouselPagination", { _options: { perPage: null, item: function (t) { return '<a href="#' + t + '">' + t + "</a>" }, event: "click", method: "scroll" }, _carouselItems: null, _pages: {}, _items: {}, _currentPage: null, _init: function () { this.onDestroy = t.proxy(function () { this._destroy(), this.carousel().one("jcarousel:createend", t.proxy(this._create, this)) }, this), this.onReload = t.proxy(this._reload, this), this.onScroll = t.proxy(this._update, this) }, _create: function () { this.carousel().one("jcarousel:destroy", this.onDestroy).on("jcarou
714sel:reloadend", this.onReload).on("jcarousel:scrollend", this.onScroll), this._reload() }, _destroy: function () { this._clear(), this.carousel().off("jcarousel:destroy", this.onDestroy).off("jcarousel:reloadend", this.onReload).off("jcarousel:scrollend", this.onScroll), this._carouselItems = null }, _reload: function () { var i = this.options("perPage"); if (this._pages = {}, this._items = {}, t.isFunction(i) && (i = i.call(this)), null == i) this._pages = this._calculatePages(); else for (var s, e = parseInt(i, 10) || 0, r = this._getCarouselItems(), n = 1, o = 0; ;) { if (s = r.eq(o++), 0 === s.length) break; this._pages[n] = this._pages[n] ? this._pages[n].add(s) : s, 0 === o % e && n++ } this._clear(); var l = this, a = this.carousel().data("jcarousel"), h = this._element, u = this.options("item"), c = this._getCarouselItems().length; t.each(this._pages, function (i, s) { var e = l._items[i] = t(u.call(l, i, s)); e.on(l.options("event") + ".jcarouselpagination", t.proxy(function () { var t = s.eq(0); if (a.circular) { var e = a.index(a.target()), r = a.index(t); parseFloat(i) > parseFloat(l._currentPage) ? e > r && (t = "+=" + (c - e + r)) : r > e && (t = "-=" + (e + (c - r))) } a[this.options("method")](t) }, l)), h.append(e) }), this._update() }, _update: function () { var i, s = this.carousel().jcarousel("target"); t.each(this._pages, function (t, e) { return e.each(function () { return s.is(this) ? (i = t, !1) : void 0 }), i ? !1 : void 0 }), this._currentPage !== i && (this._trigger("inactive", this._items[this._currentPage]), this._trigger("active", this._items[i])), this._currentPage = i }, items: function () { return this._items }, reloadCarouselItems: function () { return this._carouselItems = null, this }, _clear: function () { this._element.empty(), this._currentPage = null }, _calculatePages: function () { for (var t, i = this.carousel().data("jcarousel"), s = this._getCarouselItems(), e = i.clipping(), r = 0, n = 0, o = 1, l = {}; ;) { if (t = s.eq(n++), 0 === t.length) break; l[o] = l[o] ? l[o].add(t) : t, r += i.dimension(t), r >= e && (o++, r = 0) } return l }, _getCarouselItems: function () { return this._carouselItems || (this._carouselItems = this.carousel().jcarousel("items")), this._carouselItems } }) }(jQuery), function (t) { "use strict"; t.jCarousel.plugin("jcarouselAutoscroll", { _options: { target: "+=1", interval: 3e3, autostart: !0 }, _timer: null, _init: function () { this.onDestroy = t.proxy(function () { this._destroy(), this.carousel().one("jcarousel:createend", t.proxy(this._create, this)) }, this), this.onAnimateEnd = t.proxy(this.start, this) }, _create: function () { this.carousel().one("jcarousel:destroy", this.onDestroy), this.options("autostart") && this.start() }, _destroy: function () { this.stop(), this.carousel().off("jcarousel:destroy", this.onDestroy) }, start: function () { return this.stop(), this.carousel().one("jcarousel:animateend", this.onAnimateEnd), this._timer = setTimeout(t.proxy(function () { this.carousel().jcarousel("scroll", this.options("target")) }, this), this.options("interval")), this }, stop: function () { return this._timer && (this._timer = clearTimeout(this._timer)), this.carousel().off("jcarousel:animateend", this.onAnimateEnd), this } }) }(jQuery);
715
716(function ($) {
717    $(function () {
718
719        /*Carousel styling*/
720        $('.karussell')
721            .on('jcarousel:create', function () {
722                resizeCarousel(this);
723            });
724
725        if ($('link[href$="/css/atreus__mobility.css"]').length > 0)
726            $('.karussell')
727                .on('jcarousel:reload', function () {
728                    resizeCarousel(this);
729                });
730
731        /*Carousel initialization*/
732        $('.karussell')
733            .jcarousel({                
734            }).on('jcarousel:visiblein', 'li', function () {
735                var img = $(this).find('img');
736                if (img.attr('data-src')) {
737                    img.attr('src', img.attr('data-src'));
738                    img.removeAttr("data-src");
739                }
740            });
741
742        /*Prev control initialization*/
743        $('.karussell-prev')
744            .on('jcarouselcontrol:active', function () {
745                $(this).removeClass('inactive');
746            })
747            .on('jcarouselcontrol:inactive', function () {
748                $(this).addClass('inactive');
749            })
750            .jcarouselControl({
751                target: '-=1'
752            });
753
754        /*Next control initialization*/
755        $('.karussell-next')
756            .on('jcarouselcontrol:active', function () {
757                $(this).removeClass('inactive');
758            })
759            .on('jcarouselcontrol:inactive', function () {
760                $(this).addClass('inactive');
761            })
762            .jcarouselControl({
763                target: '+=1'
764            });
765
766        /*Pagination initialization*/
767        $('.karussell-pagination')
768            .on('jcarouselpagination:active', 'a', function () {
769                $(this).addClass('active');
770            })
771            .on('jcarouselpagination:inactive', 'a', function () {
772                $(this).removeClass('active');
773            })
774            .jcarouselPagination({
775            });
776    });
777})(jQuery);
778
779function resizeCarousel(carousel)
780{
781    var itemList = $('ul li div', carousel);
782    var item = itemList.first();
783    $(carousel).parent().width('98%');
784    var widthContainer = $(carousel).parent().width();
785    var widthIem = item.outerWidth(true);
786    var possibleItemsInContainer = parseInt(widthContainer / widthIem)
787    if (possibleItemsInContainer >= 1 && itemList.length > 1) {
788        widthContainer = possibleItemsInContainer * widthIem;
789    }
790    else {
791        widthContainer = widthIem;
792        possibleItemsInContainer = 1;
793    }
794
795    if (itemList.length <= possibleItemsInContainer) {
796        $('.karussell-prev, .karussell-next', $(carousel).parent()).hide();
797        $(carousel).parent().css({ 'padding-left': '0px', 'padding-right': '0px' });
798    }
799
800    $(carousel).width(widthContainer);
801    $(carousel).parent().width('auto');
802    $(carousel).parent().css({ 'float': 'left' });
803}
804/*Ende Karussell*/
805
806
807function initVATemplate() {
808
809    $(".mehrtext-limiter").each(function () {
810
811        if ($(this).height() < $(this).css("max-height").replace("px", "")) {
812            $(this).removeClass("mehrtext-limiter");
813            $(this).parent().find(".mehrtext-toggle").first().remove();
814        }
815        else {
816            $($(this).parent().find(".mehrtext-toggle").first()).click(function () {
817                $(this).parent().parent().find(".mehrtext-limiter").removeClass("mehrtext-limiter");
818                $(this).remove();
819            });
820        }
821
822    });
823
824    $(".mehrweniger-termine span").click(function () {
825        if ($(this).hasClass("mehr-termine")) {
826            $(this).hide();
827            $(".termin-hidden").toggleClass("termin-hidden termin-show");
828            $(this).parent().find(".weniger-termine").show();
829        }
830        else if ($(this).hasClass("weniger-termine")) {
831            $(this).hide();
832            $(".termin-show").toggleClass("termin-hidden termin-show");
833            $(this).parent().find(".mehr-termine").show();
834        }
835    });
836}
837
838function init6629() {
839    $.each($(".wzFilter"), function (key, value) {
840        var elem = $(value).find("input:first, select:first");
841        if (elem.length > 0) {
842            elem.keydown(function (e) {
843                if (e.keyCode == 13) {
844                    $(elem).closest(".wzFilterList").find("input[type=submit]").first().trigger("click");
845                }
846            });
847        }
848    });
849}
850
851/*ACHTUNG - das ist nur hier damit es immer geladen wird */
852$(document).ready(function () {
853    $.each($('.risTabs'), function () {
854        $(this).children('ul').eq(0).children('li').removeClass('risTabsCurrent');
855        $(this).children('div').eq(0).children('div').hide();
856
857        $(this).children('ul').eq(0).children('li').eq(0).addClass('risTabsCurrent');
858        $(this).children('div').eq(0).children('div').first().show();
859
860        $(this).find('> ul > li').attr("tabindex", 0);
861
862        $(this).find('> ul > li').on("click keyup", function (e) {
863
864            if (e.type == "keyup" && e.key != "Enter")
865                return false;
866
867            var tab = $(this).closest('.risTabs');
868            var index = $(this).closest('li').index();
869
870            tab.children('ul').eq(0).children('li').removeClass('risTabsCurrent');
871            $(this).closest('li').addClass('risTabsCurrent');
872
873            tab.children('div').eq(0).children('div').not('div:eq(' + index + ')').hide();
874            tab.children('div').eq(0).children('div:eq(' + index + ')').show();
875        });
876    });
877});
878
879/*ACHTUNG - das ist nur hier damit es immer geladen wird */
880$(document).ready(function () {
881    $.each($(".risAccordion"), function () {
882        var $accordion = $(this);
883        $accordion.find("> .risAccordionActiveItem").children("div").eq(1).hide();
884        $accordion.find(".risAccordionActiveItem").removeClass("risAccordionActiveItem");
885
886        var $accordionHeader = $(this).find(".risAccordionItem > div:first-of-type");
887        var $accordionActiveItems = $(this).find(".risAccordionActiveItem");
888
889        $accordionHeader.attr("tabindex", 0);
890
891        $accordionHeader.next().each(function () {
892            if ($(this).inlineStyle("display") == "block")
893                $(this).css("display", "");
894        });
895
896        $accordionHeader.on("click keydown", function (e) {
897            const isKeyboardAction = e.type === "keydown" && (e.key === "Enter" || e.key === " ");
898
899            if (!isKeyboardAction && e.type !== "click") return;
900
901            if (isKeyboardAction) e.preventDefault();
902
903            toggleRisNewsAccordion($accordion, $(this).closest(".risAccordionItem"));
904        });
905
906        if (!$accordion.hasClass("risAccordionClosedDefault")) {
907            if ($accordionActiveItems.length > 1)
908                $accordionActiveItems.not(":eq(0)").removeClass('risAccordionActiveItem');
909            else if ($accordionActiveItems.length == 0) {
910
911                if ($accordion.find(".risAccordionActiveSet").length > 0) {
912                    $accordion.find(".risAccordionActiveSet").addClass("risAccordionActiveItem");
913                }
914                else
915                    $accordion.find("> .risAccordionItem").first().addClass("risAccordionActiveItem");
916            }
917
918            $accordion.find("> .risAccordionActiveItem").children("div").eq(1).show();
919        }
920
921        this.querySelectorAll(".risAccordionItem > div:nth-of-type(2)").forEach((element, index) => {
922
923            var sectNumber = index + 1;
924
925            element.setAttribute("id", randomId(10, "sect" + sectNumber));
926            element.setAttribute("role", "region");
927        });
928
929        this.querySelectorAll(".risAccordionItem > div:first-of-type").forEach((element, index) => {
930
931            var accordionNumber = index + 1;
932            var closestItem = element.closest(".risAccordionItem");
933            var bodyId = $(closestItem).find(".risAccordionBody").attr("id")
934
935            element.setAttribute("aria-controls", bodyId);
936            element.setAttribute("id", randomId(10, "accordion" + accordionNumber));
937            element.setAttribute("role", "button");
938
939            if (closestItem.classList.contains("risAccordionActiveItem")) {
940                element.setAttribute("aria-expanded", "true")
941            } else {
942                element.setAttribute("aria-expanded", "false")
943            }
944        });
945
946        this.querySelectorAll(".risAccordionItem > div:nth-of-type(2)").forEach(element => {
947
948            var closestItem = element.closest(".risAccordionItem");
949            var headerId = $(closestItem).find(".risAccordionHeader").attr("id");
950
951            element.setAttribute("aria-labelledby", headerId);
952        });
953
954        function toggleRisNewsAccordion($accordion, $accordionItem) {
955            $accordionItem.toggleClass("risAccordionActiveItem");
956            $accordionItem.find("> div").eq(1).stop().slideToggle(400);
957            $accordion.find("> div > div").eq(1).css("width", "");
958            if ($accordionItem.hasClass("risAccordionActiveItem")) {
959                $accordionItem.find(".risAccordionHeader").attr("aria-expanded", "true")
960            } else {
961                $accordionItem.find(".risAccordionHeader").attr("aria-expanded", "false")
962            }
963        }
964    });
965});
966
967function randomId(length, prefix) {
968    return prefix + "_" + Math.random().toString(36).substring(2, length + 2)
969}
970
971(function ($) {
972    $.fn.inlineStyle = function (prop) {
973        var styles = this.attr("style"),
974            value;
975        styles && styles.split(";").forEach(function (e) {
976            var style = e.split(":");
977            if ($.trim(style[0]) === prop) {
978                value = style[1];
979            }
980        });
981        return value;
982    };
983}(jQuery));
984
985
986
987/*rismodal*/
988
989var msTextData = {};
990msTextData["T-304115394"] = "Weiterleitung zur Meine Seite";
991msTextData["T-304115395"] = "Die Meine Seite findest du ab sofort auf einer externen Seite,<br>aber keine Sorge, deine Zugangsdaten sind dieselben.";
992msTextData["T-304115396"] = "Das Intranet bleibt aber da wo du es gewohnt bist.";
993msTextData["T-304115397"] = "Abbrechen";
994msTextData["T-304115398"] = "zur Meine Seite";
995msTextData["T-304115399"] = "zum Intranet";
996
997const linkToTextHandler = envurl + "system/web/getJsonText.ashx?group=pt_msmodal&sprachid=" + rissprachid;
998
999function transferComplete() {
1000    msTextData = JSON.parse(this.responseText);
1001}
1002
1003function showMSModal(deeplink, intranet) {
1004    const req = new XMLHttpRequest();
1005    req.addEventListener("load", transferComplete);
1006    req.open("GET", linkToTextHandler, false);
1007    req.send();
1008
1009    //backdrop
1010    let modalBackdrop = document.createElement("div");
1011    modalBackdrop.classList.add("modalBackdrop");
1012    document.body.appendChild(modalBackdrop);
1013
1014    //modal
1015    let modal = document.createElement("div");
1016    modal.classList.add("rismodal");
1017    modalBackdrop.appendChild(modal);
1018
1019    //modal-header
1020    let modalheader = document.createElement("div");
1021    modalheader.classList.add("rismodalheader");
1022    modal.appendChild(modalheader);
1023
1024    //modal-body
1025    let modalbody = document.createElement("div");
1026    modalbody.classList.add("rismodalbody");
1027    modal.appendChild(modalbody);
1028
1029    //modal-footer
1030    let modalfooter = document.createElement("div");
1031    modalfooter.classList.add("rismodalfooter");
1032    modal.appendChild(modalfooter);
1033
1034    //überschrift
1035    let ueberschrift = document.createElement("h3");
1036    ueberschrift.innerHTML = msTextData["T-304115394"];
1037    ueberschrift.classList.add("modalheader--text");
1038    modalheader.appendChild(ueberschrift);
1039
1040    //cancel button
1041    let cancel = document.createElement("button");
1042    cancel.innerHTML = msTextData["T-304115397"];
1043    cancel.classList.add("cancelbtn", "modalbtn")
1044    cancel.addEventListener("click", function () {
1045        document.body.removeChild(modalBackdrop);
1046    });
1047    modalfooter.appendChild(cancel);
1048
1049    //weiter button
1050    let weiter = document.createElement("a");
1051    weiter.innerHTML = msTextData["T-304115398"];
1052    weiter.classList.add("weiterbtn", "modalbtn")
1053    weiter.href = deeplink;
1054    weiter.addEventListener("click", function () {
1055        document.body.removeChild(modalBackdrop);
1056
1057    });
1058    modalfooter.appendChild(weiter);
1059
1060    //text
1061    let infotext = document.createElement("p");
1062    infotext.innerHTML = msTextData["T-304115395"];
1063    infotext.classList.add("modalbody--text");
1064    modalbody.appendChild(infotext);
1065
1066    if (intranet) {
1067        //wenn intranet dann zusätzlichen textblock mit button ausgeben
1068        let intranettext = document.createElement("p");
1069        intranettext.innerHTML = msTextData["T-304115396"];
1070        intranettext.classList.add("modalbody--text");
1071        modalbody.appendChild(intranettext);
1072
1073        let weiterintranet = document.createElement("a");
1074        weiterintranet.innerHTML = msTextData["T-304115399"];
1075        weiterintranet.classList.add("weiterbtn", "modalbtn")
1076        weiterintranet.href = "/system/web/intranet_raum.aspx";
1077        weiterintranet.addEventListener("click", function () {
1078            document.body.removeChild(modalBackdrop);
1079        });
1080        modalfooter.appendChild(weiterintranet);
1081    }
1082
1083}
1084
1085$(document).ready(function () {
1086    $("a.piwik_download").each(function () {
1087        let href = this.href;
1088        if (!href) return;
1089
1090        let text = $(this).text().trim();
1091        if (!text) return;
1092
1093        try {
1094            let url = new URL(href, window.location.origin);
1095            // URLSearchParams applies strict percent-encoding for special tokens (commas, parens, spaces)
1096            url.searchParams.set("name", text);
1097            this.href = url.toString();
1098        } catch (e) {
1099            // Fallback for legacy environments
1100            let separator = href.indexOf("?") >= 0 ? "&" : "?";
1101            this.href = href + separator + "name=" + encodeURIComponent(text);
1102        }
1103    });
vendor: 3 bytes, line 1104
1104});

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.