PageSourceSearch

https://dr-tanja-pfister.de/_Resources/Static/Packages/DigiPublica…/JavaScript/cookieconsent.js?bust=eb4d3a39

js dr-tanja-pfister.de collected 2026-10-08 09:07:39 UTC 43,530 bytes, 721 lines download raw bytes

1jQuery(window).on('load', function() {
2
3  jQuery(".general-toggle").click(function() {
4    jQuery(this).addClass("active").siblings().removeClass("active");
5    jQuery(".cookie-general").addClass("visible").siblings().removeClass("visible");
6  });
7  jQuery(".required-toggle").click(function() {
8    jQuery(this).addClass("active").siblings().removeClass("active");
9    jQuery(".cookie-required").addClass("visible").siblings().removeClass("visible");
10  });
11  jQuery(".functional-toggle").click(function() {
12    jQuery(this).addClass("active").siblings().removeClass("active");
13    jQuery(".cookie-functional").addClass("visible").siblings().removeClass("visible");
14  });
15  jQuery(".analytics-toggle").click(function() {
16    jQuery(this).addClass("active").siblings().removeClass("active");
17    jQuery(".cookie-analytics").addClass("visible").siblings().removeClass("visible");
18  });
19  jQuery(".policy-toggle").click(function() {
20    jQuery(this).addClass("active").siblings().removeClass("active");
21    jQuery(".cookie-policy").addClass("visible").siblings().removeClass("visible");
22  });
23
24  jQuery(".cookie-list > div").each(function() {
25    if (jQuery(this).children().length < 1 ) {
26      jQuery(this).remove();
27    }
28    if (jQuery(".cookie-functional").length < 1 ) {
29      jQuery(".functional-toggle").remove();
30    }
31    if (jQuery(".cookie-analytics").length < 1 ) {
32      jQuery(".analytics-toggle").remove();
33    }
34  });
35
36
37  jQuery("a").filter(function() {
38    return jQuery(this).is(':contains("Cookie Einstellungen"), :contains("Cookie Settings")');
39  }).addClass("cookie-open");
40
41  function getCookie(cname) {
42    var name = cname + "=";
43    var decodedCookie = decodeURIComponent(document.cookie);
44    var ca = decodedCookie.split(';');
45    for(var i = 0; i <ca.length; i++) {
46      var c = ca[i];
47      while (c.charAt(0) == ' ') {
48        c = c.substring(1);
49      }
50      if (c.indexOf(name) == 0) {
51        return c.substring(name.length, c.length);
52      }
53    }
54    return "";
55  }
56
57  function checkCookies() {
58    digipublicaCookieConsent = getCookie('Cookie_Consent');
59    domainName = (window.location.hostname);
60    if(!digipublicaCookieConsent) {
61      if (window.location.href.indexOf("datenschutz") > -1 || window.location.href.indexOf("Datenschutz") > -1 || window.location.href.indexOf("impressum") > -1 || window.location.href.indexOf("Impressum") > -1 || window.location.href.indexOf("/neos/") > -1) {
62      } else {
63        setTimeout(function(){
64          jQuery(".cookieconsent-content").addClass("opened");
65          jQuery(".cookieconsent-content .row").addClass("hide");
66          jQuery(".cookieconsent-shade").addClass("cover");
67          jQuery(".cookieconsent a, .cookieconsent button").attr("tabindex", "1");
68        }, 250);
69        if (jQuery('.googlemaps').length) {
70          jQuery('.html-google-maps').each(function() {
71              var height = jQuery(this).outerHeight();
72              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Google Maps wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Google Maps" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
73              jQuery(this).remove();
74          });
75        }
76        if (jQuery('.openstreetmap').length) {
77          jQuery('#domap').each(function() {
78              var height = jQuery(this).outerHeight();
79              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
80              jQuery(this).remove();
81          });
82          jQuery('#domapMulti').each(function() {
83              var height = jQuery(this).outerHeight();
84              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
85              jQuery(this).remove();
86          });
87          jQuery('.html-openstreetmap').each(function() {
88            var height = jQuery(this).outerHeight();
89            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
90            jQuery(this).remove();
91          });
92        }
93        if (jQuery('.youtube').length) {
94          jQuery('.video[data-video="youtube"]').each(function() {
95              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>YouTube wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "YouTube" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
96              jQuery(this).addClass('video-hidden');
97           });
98        }
99        if (jQuery('.vimeo').length) {
100          jQuery('.video[data-video="vimeo"]').each(function() {
101              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Vimeo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Vimeo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
102              jQuery(this).addClass('video-hidden');
103           });
104        }
105        if (jQuery('.recaptcha').length) {
106          jQuery('script').each(function() {
107            if (this.src.indexOf("captcha") != -1) {
108              jQuery(this).remove();
109            }
110          });
111          jQuery('div').each(function() {
112            if (jQuery(this).hasClass("g-recaptcha")) {
113              var height = jQuery(this).outerHeight();
114              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Für die Verwendung von Formularen benötigen Sie reCAPTCHA</p><p>Bitte aktivieren Sie "reCAPTCHA" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(jQuery(this).parents("form"));
115              jQuery(this).parents("form").remove();
116            }
117          });
118        }
119        if (jQuery('.readspeaker').length) {
120          jQuery('script').each(function() {
121            if (this.src.indexOf("ReadSpeaker.js") != -1) {
122              var height = jQuery(this).outerHeight();
123              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>ReadSpeaker wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "ReadSpeaker" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
124              jQuery(this).remove();
125            }
126            if (this.src.indexOf("readspeaker.com") != -1) {
127              jQuery(this).remove();
128            }
129          });
130          jQuery('#rsmod_Styles').each(function() {
131            jQuery(this).remove();
132          });
133          jQuery("#readspeaker_button1").remove();
134        }
135        if (jQuery('.rceevent').length) {
136          jQuery('iframe').each(function() {
137            if (this.src.indexOf("rce-event.de") != -1) {
138              var height = jQuery(this).outerHeight();
139              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>RCE-Event wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "RCE-Event" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
140              jQuery(this).remove();
141            }
142          });
143        }
144        if (jQuery('.matomo').length) {
145          _paq.push(['disableCookies']);
146        }
147        if (jQuery('.mainecho').length) {
148          jQuery('.html-mainecho').each(function() {
149              var height = jQuery(this).outerHeight();
150              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Mein-Echo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Main-Echo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
151              jQuery(this).remove();
152          });
153        }
154        if (jQuery('.sessionnetkrz').length) {
155          jQuery('.html-sessionnetkrz').each(function() {
156              var height = jQuery(this).outerHeight();
157              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>SessionNet krz wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "SessionNet krz" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
158              jQuery(this).remove();
159          });
160        }
161        if (jQuery('.bayernatlas').length) {
162          jQuery('.html-bayernatlas').each(function() {
163              var height = jQuery(this).outerHeight();
164              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>BayernAtlas wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "BayernAtlas" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
165              jQuery(this).remove();
166          });
167        }
168        if (jQuery('.zaehly').length) {
169          jQuery('.html-zaehly').each(function() {
170              var height = jQuery(this).outerHeight();
171              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Zähly wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Zähly" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
172              jQuery(this).remove();
173          });
174        }
175        if (jQuery('.destination-one').length) {
176          jQuery('.html-destination-one').each(function() {
177              var height = jQuery(this).outerHeight();
178              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Destination One wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Destination One" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
179              jQuery(this).remove();
180          });
181        }
182      }
183    }
184    if (jQuery('.googlemaps').length) {
185      cookieGoogleMaps = getCookie('Cookie_Consent_Google_Maps');
186      if(cookieGoogleMaps) {
187        if(cookieGoogleMaps == "on") {
188          jQuery(".cookieconsent-content .row div.googlemaps").attr("data-state", "on");
189          jQuery(".cookieconsent-content .row div.googlemaps").find(".change-cookie").addClass("active");
190          jQuery(".cookieconsent-content .row div.googlemaps").find("span").text("Aktiviert");
191          jQuery(".cookieconsent-content .row div.googlemaps").removeClass("off");
192          jQuery(".cookieconsent-content .row div.googlemaps").addClass("on");
193        } else {
194          jQuery('.html-google-maps').each(function() {
195            var height = jQuery(this).outerHeight();
196            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Google Maps wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Google Maps" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
197            jQuery(this).remove();
198        });
199        }
200      }
201    }
202    if (jQuery('.openstreetmap').length) {
203      cookieOpenStreetMap = getCookie('Cookie_Consent_OpenStreetMap');
204      if(cookieOpenStreetMap) {
205        if(cookieOpenStreetMap == "on") {
206          jQuery(".cookieconsent-content .row div.openstreetmap").attr("data-state", "on");
207          jQuery(".cookieconsent-content .row div.openstreetmap").find(".change-cookie").addClass("active");
208          jQuery(".cookieconsent-content .row div.openstreetmap").find("span").text("Aktiviert");
209          jQuery(".cookieconsent-content .row div.openstreetmap").removeClass("off");
210          jQuery(".cookieconsent-content .row div.openstreetmap").addClass("on");
211        } else {
212          jQuery('#domap').each(function() {
213              var height = jQuery(this).outerHeight();
214              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
215              jQuery(this).remove();
216          });
217          jQuery('#domapMulti').each(function() {
218              var height = jQuery(this).outerHeight();
219              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
220              jQuery(this).remove();
221          });
222          jQuery('.html-openstreetmap').each(function() {
223            var height = jQuery(this).outerHeight();
224            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
225            jQuery(this).remove();
226          });
227        }
228      }
229    }
230    if (jQuery('.youtube').length) {
231      cookieYouTube = getCookie('Cookie_Consent_YouTube');
232      if(cookieYouTube) {
233        if(cookieYouTube == "on") {
234          jQuery(".cookieconsent-content .row div.youtube").attr("data-state", "on");
235          jQuery(".cookieconsent-content .row div.youtube").find(".change-cookie").addClass("active");
236          jQuery(".cookieconsent-content .row div.youtube").find("span").text("Aktiviert");
237          jQuery(".cookieconsent-content .row div.youtube").removeClass("off");
238          jQuery(".cookieconsent-content .row div.youtube").addClass("on");
239        } else {
240          jQuery('.video[data-video="youtube"]').each(function() {
241              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>YouTube wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "YouTube" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
242              jQuery(this).addClass('video-hidden');
243          });
244        }
245      }
246    }
247    if (jQuery('.vimeo').length) {
248      cookieVimeo = getCookie('Cookie_Consent_Vimeo');
249      if(cookieVimeo) {
250        if(cookieVimeo == "on") {
251          jQuery(".cookieconsent-content .row div.vimeo").attr("data-state", "on");
252          jQuery(".cookieconsent-content .row div.vimeo").find(".change-cookie").addClass("active");
253          jQuery(".cookieconsent-content .row div.vimeo").find("span").text("Aktiviert");
254          jQuery(".cookieconsent-content .row div.vimeo").removeClass("off");
255          jQuery(".cookieconsent-content .row div.vimeo").addClass("on");
256        } else {
257          jQuery('.video[data-video="vimeo"]').each(function() {
258              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Vimeo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Vimeo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
259              jQuery(this).addClass('video-hidden');
260           });
261        }
262      }
263    }
264    if (jQuery('.recaptcha').length) {
265      cookieRecaptcha = getCookie('Cookie_Consent_reCAPTCHA');
266      if(cookieRecaptcha) {
267        if(cookieRecaptcha == "on") {
268          jQuery(".cookieconsent-content .row div.recaptcha").attr("data-state", "on");
269          jQuery(".cookieconsent-content .row div.recaptcha").find(".change-cookie").addClass("active");
270          jQuery(".cookieconsent-content .row div.recaptcha").find("span").text("Aktiviert");
271          jQuery(".cookieconsent-content .row div.recaptcha").removeClass("off");
272          jQuery(".cookieconsent-content .row div.recaptcha").addClass("on");
273
274          jQuery("head").append('
vendor: 75 bytes, line 274
274<script src="https://www.google.com/recaptcha/api.js" async defer></script>
274');
275
276        } else {
277          jQuery('script').each(function() {
278            if (this.src.indexOf("captcha") != -1) {
279              jQuery(this).remove();
280            }
281          });
282          jQuery('div').each(function() {
283            if (jQuery(this).hasClass("g-recaptcha")) {
284              var height = jQuery(this).outerHeight();
285              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Für die Verwendung von Formularen benötigen Sie reCAPTCHA</p><p>Bitte aktivieren Sie "reCAPTCHA" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(jQuery(this).parents("form"));
286              jQuery(this).parents("form").remove();
287            }
288          });
289        }
290      }
291    }
292    if (jQuery('.readspeaker').length) {
293      cookieReadspeaker = getCookie('Cookie_Consent_ReadSpeaker');
294      if(cookieReadspeaker) {
295        if(cookieReadspeaker == "on") {
296          jQuery(".cookieconsent-content .row div.readspeaker").attr("data-state", "on");
297          jQuery(".cookieconsent-content .row div.readspeaker").find(".change-cookie").addClass("active");
298          jQuery(".cookieconsent-content .row div.readspeaker").find("span").text("Aktiviert");
299          jQuery(".cookieconsent-content .row div.readspeaker").removeClass("off");
300          jQuery(".cookieconsent-content .row div.readspeaker").addClass("on");
301        } else {
302          jQuery('script').each(function() {
303            if (this.src.indexOf("ReadSpeaker.js") != -1) {
304              var height = jQuery(this).outerHeight();
305              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>ReadSpeaker wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "ReadSpeaker" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
306              jQuery(this).remove();
307            }
308            if (this.src.indexOf("readspeaker.com") != -1) {
309              jQuery(this).remove();
310            }
311          });
312          jQuery('#rsmod_Styles').each(function() {
313            jQuery(this).remove();
314          });
315          jQuery("#readspeaker_button1").remove();
316        }
317      }
318    }
319    if (jQuery('.rceevent').length) {
320      cookieRceEvent = getCookie('Cookie_Consent_RCE_Event');
321      if(cookieRceEvent) {
322        if(cookieRceEvent == "on") {
323          jQuery(".cookieconsent-content .row div.rceevent").attr("data-state", "on");
324          jQuery(".cookieconsent-content .row div.rceevent").find(".change-cookie").addClass("active");
325          jQuery(".cookieconsent-content .row div.rceevent").find("span").text("Aktiviert");
326          jQuery(".cookieconsent-content .row div.rceevent").removeClass("off");
327          jQuery(".cookieconsent-content .row div.rceevent").addClass("on");
328        } else {
329          jQuery('iframe').each(function() {
330            if (this.src.indexOf("rce-event.de") != -1) {
331              var height = jQuery(this).outerHeight();
332              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>RCE-Event wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "RCE-Event" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
333              jQuery(this).remove();
334            }
335          });
336        }
337      }
338    }
339    if (jQuery('.matomo').length) { 
340      cookieMatomo = getCookie('Cookie_Consent_Matomo_Piwik');
341      if(cookieMatomo) {
342        if(cookieMatomo == "on") {
343          jQuery(".cookieconsent-content .row div.matomo").attr("data-state", "on");
344          jQuery(".cookieconsent-content .row div.matomo").find(".change-cookie").addClass("active");
345          jQuery(".cookieconsent-content .row div.matomo").find("span").text("Aktiviert");
346          jQuery(".cookieconsent-content .row div.matomo").removeClass("off");
347          jQuery(".cookieconsent-content .row div.matomo").addClass("on");
348
349          (function() {
350            var u='//'+domainName+'/matomo/';
351            _paq.push(['setTrackerUrl', u+'matomo.php']);
352            _paq.push(['setSiteId', '1']);
353            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
354            g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
355          })();
356
357        } else {
358
359          _paq.push(['disableCookies']);
360        }
361      }
362    }
363    if (jQuery('.mainecho').length) {
364      cookieMainEcho = getCookie('Cookie_Consent_Main_Echo');
365      if(cookieMainEcho) {
366        if(cookieMainEcho == "on") {
367          jQuery(".cookieconsent-content .row div.mainecho").attr("data-state", "on");
368          jQuery(".cookieconsent-content .row div.mainecho").find(".change-cookie").addClass("active");
369          jQuery(".cookieconsent-content .row div.mainecho").find("span").text("Aktiviert");
370          jQuery(".cookieconsent-content .row div.mainecho").removeClass("off");
371          jQuery(".cookieconsent-content .row div.mainecho").addClass("on");
372        } else {
373          jQuery('.html-mainecho').each(function() {
374            var height = jQuery(this).outerHeight();
375            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Main-Echo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Main-Echo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
376            jQuery(this).remove();
377        });
378        }
379      }
380    }
381    if (jQuery('.sessionnetkrz').length) {
382      cookieSessionNetKrz = getCookie('Cookie_Consent_SessionNet_Krz');
383      if(cookieSessionNetKrz) {
384        if(cookieSessionNetKrz == "on") {
385          jQuery(".cookieconsent-content .row div.sessionnetkrz").attr("data-state", "on");
386          jQuery(".cookieconsent-content .row div.sessionnetkrz").find(".change-cookie").addClass("active");
387          jQuery(".cookieconsent-content .row div.sessionnetkrz").find("span").text("Aktiviert");
388          jQuery(".cookieconsent-content .row div.sessionnetkrz").removeClass("off");
389          jQuery(".cookieconsent-content .row div.sessionnetkrz").addClass("on");
390        } else {
391          jQuery('.html-sessionnetkrz').each(function() {
392            var height = jQuery(this).outerHeight();
393            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>SessionNet krz wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "SessionNet krz" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
394            jQuery(this).remove();
395        });
396        }
397      }
398    }
399    if (jQuery('.bayernatlas').length) {
400      cookieBayernAtlas = getCookie('Cookie_Consent_BayernAtlas');
401      if(cookieBayernAtlas) {
402        if(cookieBayernAtlas == "on") {
403          jQuery(".cookieconsent-content .row div.bayernatlas").attr("data-state", "on");
404          jQuery(".cookieconsent-content .row div.bayernatlas").find(".change-cookie").addClass("active");
405          jQuery(".cookieconsent-content .row div.bayernatlas").find("span").text("Aktiviert");
406          jQuery(".cookieconsent-content .row div.bayernatlas").removeClass("off");
407          jQuery(".cookieconsent-content .row div.bayernatlas").addClass("on");
408        } else {
409          jQuery('.html-bayernatlas').each(function() {
410            var height = jQuery(this).outerHeight();
411            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>BayernAtlas wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "BayernAtlas" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
412            jQuery(this).remove();
413        });
414        }
415      }
416    }
417    if (jQuery('.zaehly').length) {
418      cookieZaehly = getCookie('Cookie_Consent_Zaehly');
419      if(cookieZaehly) {
420        if(cookieZaehly == "on") {
421          jQuery(".cookieconsent-content .row div.zaehly").attr("data-state", "on");
422          jQuery(".cookieconsent-content .row div.zaehly").find(".change-cookie").addClass("active");
423          jQuery(".cookieconsent-content .row div.zaehly").find("span").text("Aktiviert");
424          jQuery(".cookieconsent-content .row div.zaehly").removeClass("off");
425          jQuery(".cookieconsent-content .row div.zaehly").addClass("on");
426        } else {
427          jQuery('.html-zaehly').each(function() {
428            var height = jQuery(this).outerHeight();
429            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Zähly wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Zähly" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
430            jQuery(this).remove();
431        });
432        }
433      }
434    }
435    if (jQuery('.destination-one').length) {
436      cookieDestinationOne = getCookie('Cookie_Consent_Destination_One');
437      if(cookieDestinationOne) {
438        if(cookieDestinationOne == "on") {
439          jQuery(".cookieconsent-content .row div.destination-one").attr("data-state", "on");
440          jQuery(".cookieconsent-content .row div.destination-one").find(".change-cookie").addClass("active");
441          jQuery(".cookieconsent-content .row div.destination-one").find("span").text("Aktiviert");
442          jQuery(".cookieconsent-content .row div.destination-one").removeClass("off");
443          jQuery(".cookieconsent-content .row div.destination-one").addClass("on");
444        } else {
445          jQuery('.html-destination-one').each(function() {
446            var height = jQuery(this).outerHeight();
447            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Destination One wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Destination One" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
448            jQuery(this).remove();
449        });
450        }
451      }
452    }
453    if (jQuery('.facebook-pixel').length) { 
454      cookieFacebookPixel = getCookie('Cookie_Consent_Facebook_Pixel');
455      if(cookieFacebookPixel) {
456        if(cookieFacebookPixel == "on") {
457          jQuery(".cookieconsent-content .row div.facebook-pixel").attr("data-state", "on");
458          jQuery(".cookieconsent-content .row div.facebook-pixel").find(".change-cookie").addClass("active");
459          jQuery(".cookieconsent-content .row div.facebook-pixel").find("span").text("Aktiviert");
460          jQuery(".cookieconsent-content .row div.facebook-pixel").removeClass("off");
461          jQuery(".cookieconsent-content .row div.facebook-pixel").addClass("on");
462        } else {
463
464        }
465      }
466    }
467  }
468
469  jQuery(".cookie-show-details").click(function() {
470    jQuery(this).next("i").next(".cookie-details").slideToggle(250);
471    jQuery(this).next("i").toggleClass("rotate");
472  });
473
474  jQuery(".cookieconsent-content .col-sm-8 .cookie-content:not(.required):not(.general):not(.policy)").click(function() {
475    if(jQuery(this).hasClass("off")) {
476      jQuery(this).find(".change-cookie").addClass("active");
477      jQuery(this).find("span").text("Aktiviert");
478      jQuery(this).removeClass("off");
479      jQuery(this).addClass("on");
480      jQuery(this).attr("data-state", "on");
481    } else {
482      jQuery(this).find(".change-cookie").removeClass("active");
483      jQuery(this).find("span").text("Deaktiviert");
484      jQuery(this).removeClass("on");
485      jQuery(this).addClass("off");
486      jQuery(this).attr("data-state", "off");
487    }
488  });
489  
490  jQuery(".cookie-accept-all").click(function() {
491    jQuery(".cookieconsent-content .col-sm-8 .cookie-content:not(.required):not(.general):not(.policy)").each(function() {
492      jQuery(this).find(".change-cookie").addClass("active");
493      jQuery(this).find("span").text("Aktiviert");
494      jQuery(this).removeClass("off");
495      jQuery(this).addClass("on");
496      jQuery(this).attr("data-state", "on");
497      jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
498    });  
499
500    var date = new Date();
501    var year = date.getFullYear();
502    var month = date.getMonth();
503    var day = date.getDate();
504    var expires = new Date(year + 2, month, day)
505
506    document.cookie = "Cookie_Consent=saved; path=/; expires=" + expires;
507
508    if (jQuery('.googlemaps').length) {
509     document.cookie = "Cookie_Consent_Google_Maps=on; path=/; expires=" + expires;
510   }
511   if (jQuery('.openstreetmap').length) {
512    document.cookie = "Cookie_Consent_OpenStreetMap=on; path=/; expires=" + expires;
513   }
514   if (jQuery('.youtube').length) {
515     document.cookie = "Cookie_Consent_YouTube=on; path=/; expires=" + expires;
516   }
517   if (jQuery('.vimeo').length) {
518    document.cookie = "Cookie_Consent_Vimeo=on; path=/; expires=" + expires;
519  }
520   if (jQuery('.recaptcha').length) {
521     document.cookie = "Cookie_Consent_reCAPTCHA=on; path=/; expires=" + expires;
522   }
523   if (jQuery('.readspeaker').length) {
524     document.cookie = "Cookie_Consent_ReadSpeaker=on; path=/; expires=" + expires;
525   }
526   if (jQuery('.rceevent').length) {
527     document.cookie = "Cookie_Consent_RCE_Event=on; path=/; expires=" + expires;
528   }
529   if (jQuery('.matomo').length) {
530     document.cookie = "Cookie_Consent_Matomo_Piwik=on; path=/; expires=" + expires;
531   }
532   if (jQuery('.mainecho').length) {
533    document.cookie = "Cookie_Consent_Main_Echo=on; path=/; expires=" + expires;
534  }
535  if (jQuery('.sessionnetkrz').length) {
536    document.cookie = "Cookie_Consent_SessionNet_Krz=on; path=/; expires=" + expires;
537  }
538  if (jQuery('.bayernatlas').length) {
539    document.cookie = "Cookie_Consent_BayernAtlas=on; path=/; expires=" + expires;
540  }
541  if (jQuery('.zaehly').length) {
542    document.cookie = "Cookie_Consent_Zaehly=on; path=/; expires=" + expires;
543  }
544  if (jQuery('.destination-one').length) {
545    document.cookie = "Cookie_Consent_Destination_One=on; path=/; expires=" + expires;
546  }
547  if (jQuery('.facebook-pixel').length) {
548    document.cookie = "Cookie_Consent_Facebook_Pixel=on; path=/; expires=" + expires;
549  }
550
551    jQuery(".cookieconsent-content").removeClass("opened");
552    jQuery(".cookieconsent-shade").removeClass("cover");
553    jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
554    checkCookies();
555    location.reload(true);
556 });
557  
558  jQuery(".cookie-reject-all").click(function() {
559    jQuery(".cookieconsent-content .col-sm-8 .cookie-content:not(.required)").each(function() {
560      jQuery(this).find(".change-cookie").removeClass("active");
561      jQuery(this).find("span").text("Deaktiviert");
562      jQuery(this).removeClass("on");
563      jQuery(this).addClass("off");
564      jQuery(this).attr("data-state", "off");
565      jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
566    });
567
568    var date = new Date();
569    var year = date.getFullYear();
570    var month = date.getMonth();
571    var day = date.getDate();
572    var expires = new Date(year + 2, month, day)
573
574    document.cookie = "Cookie_Consent=saved; path=/; expires=" + expires;
575
576    if (jQuery('.googlemaps').length) {
577     document.cookie = "Cookie_Consent_Google_Maps=off; path=/; expires=" + expires;
578   }
579   if (jQuery('.openstreetmap').length) {
580    document.cookie = "Cookie_Consent_OpenStreetMap=off; path=/; expires=" + expires;
581   }
582   if (jQuery('.youtube').length) {
583     document.cookie = "Cookie_Consent_YouTube=off; path=/; expires=" + expires;
584   }
585   if (jQuery('.vimeo').length) {
586    document.cookie = "Cookie_Consent_Vimeo=off; path=/; expires=" + expires;
587  }
588   if (jQuery('.recaptcha').length) {
589     document.cookie = "Cookie_Consent_reCAPTCHA=off; path=/; expires=" + expires;
590   }
591   if (jQuery('.readspeaker').length) {
592     document.cookie = "Cookie_Consent_ReadSpeaker=off; path=/; expires=" + expires;
593   }
594   if (jQuery('.rceevent').length) {
595     document.cookie = "Cookie_Consent_RCE_Event=off; path=/; expires=" + expires;
596   }
597   if (jQuery('.matomo').length) {
598     document.cookie = "Cookie_Consent_Matomo_Piwik=off; path=/; expires=" + expires;
599   }
600   if (jQuery('.mainecho').length) {
601    document.cookie = "Cookie_Consent_Main_Echo=off; path=/; expires=" + expires;
602  }
603  if (jQuery('.sessionnetkrz').length) {
604    document.cookie = "Cookie_Consent_SessionNet_Krz=off; path=/; expires=" + expires;
605  }
606  if (jQuery('.bayernatlas').length) {
607    document.cookie = "Cookie_Consent_BayernAtlas=off; path=/; expires=" + expires;
608  }
609  if (jQuery('.zaehly').length) {
610    document.cookie = "Cookie_Consent_Zaehly=off; path=/; expires=" + expires;
611  }
612  if (jQuery('.destination-one').length) {
613    document.cookie = "Cookie_Consent_Destination_One=off; path=/; expires=" + expires;
614  }
615  if (jQuery('.facebook-pixel').length) {
616    document.cookie = "Cookie_Consent_Facebook_Pixel=off; path=/; expires=" + expires;
617  }
618
619    jQuery(".cookieconsent-content").removeClass("opened");
620    jQuery(".cookieconsent-shade").removeClass("cover");
621    jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
622    checkCookies();
623    location.reload(true);
624  });
625
626  jQuery(".cookie-configure").click(function() { 
627    jQuery(".cookieconsent-content .row").removeClass("hide");
628    jQuery(".cookie-overview").addClass("hide");
629  });
630
631  jQuery(".cookie-save").click(function() {
632
633    var date = new Date();
634    var year = date.getFullYear();
635    var month = date.getMonth();
636    var day = date.getDate();
637    var expires = new Date(year + 2, month, day)
638
639    document.cookie = "Cookie_Consent=saved; path=/; expires=" + expires;
640
641    if (jQuery('.googlemaps').length) {
642      var googlemaps = jQuery(".cookieconsent-content .row div.googlemaps").attr("data-state");
643      document.cookie = "Cookie_Consent_Google_Maps=" + googlemaps + "; path=/; expires=" + expires;
644    }
645    if (jQuery('.openstreetmap').length) {
646      var openstreetmap = jQuery(".cookieconsent-content .row div.openstreetmap").attr("data-state");
647      document.cookie = "Cookie_Consent_OpenStreetMap=" + openstreetmap + "; path=/; expires=" + expires;
648    }
649    if (jQuery('.youtube').length) {
650      var youtube = jQuery(".cookieconsent-content .row div.youtube").attr("data-state");
651      document.cookie = "Cookie_Consent_YouTube=" + youtube + "; path=/; expires=" + expires;
652    }
653    if (jQuery('.vimeo').length) {
654      var vimeo = jQuery(".cookieconsent-content .row div.vimeo").attr("data-state");
655      document.cookie = "Cookie_Consent_Vimeo=" + vimeo + "; path=/; expires=" + expires;
656    }
657    if (jQuery('.recaptcha').length) {
658      var recaptcha = jQuery(".cookieconsent-content .row div.recaptcha").attr("data-state");
659      document.cookie = "Cookie_Consent_reCAPTCHA=" + recaptcha + "; path=/; expires=" + expires;
660    }
661    if (jQuery('.readspeaker').length) {
662      var readspeaker = jQuery(".cookieconsent-content .row div.readspeaker").attr("data-state");
663      document.cookie = "Cookie_Consent_ReadSpeaker=" + readspeaker + "; path=/; expires=" + expires;
664    }
665    if (jQuery('.rceevent').length) {
666      var rceevent = jQuery(".cookieconsent-content .row div.rceevent").attr("data-state");
667      document.cookie = "Cookie_Consent_RCE_Event=" + rceevent + "; path=/; expires=" + expires;
668    }
669    if (jQuery('.matomo').length) {
670      var matomo = jQuery(".cookieconsent-content .row div.matomo").attr("data-state");
671      document.cookie = "Cookie_Consent_Matomo_Piwik=" + matomo + "; path=/; expires=" + expires;
672    }
673    if (jQuery('.mainecho').length) {
674      var mainecho = jQuery(".cookieconsent-content .row div.mainecho").attr("data-state");
675      document.cookie = "Cookie_Consent_Main_Echo=" + mainecho + "; path=/; expires=" + expires;
676    }
677    if (jQuery('.sessionnetkrz').length) {
678      var sessionnetkrz = jQuery(".cookieconsent-content .row div.sessionnetkrz").attr("data-state");
679      document.cookie = "Cookie_Consent_SessionNet_Krz=" + sessionnetkrz + "; path=/; expires=" + expires;
680    }
681    if (jQuery('.bayernatlas').length) {
682      var bayernatlas = jQuery(".cookieconsent-content .row div.bayernatlas").attr("data-state");
683      document.cookie = "Cookie_Consent_BayernAtlas=" + bayernatlas + "; path=/; expires=" + expires;
684    }
685    if (jQuery('.zaehly').length) {
686      var zaehly = jQuery(".cookieconsent-content .row div.zaehly").attr("data-state");
687      document.cookie = "Cookie_Consent_Zaehly=" + zaehly + "; path=/; expires=" + expires;
688    }
689    if (jQuery('.destination-one').length) {
690      var destinationOne = jQuery(".cookieconsent-content .row div.destination-one").attr("data-state");
691      document.cookie = "Cookie_Consent_Destination_One=" + destinationOne + "; path=/; expires=" + expires;
692    }
693    if (jQuery('.facebook-pixel').length) {
694      var facebookPixel = jQuery(".cookieconsent-content .row div.facebook-pixel").attr("data-state");
695      document.cookie = "Cookie_Consent_Facebook_Pixel=" + facebookPixel + "; path=/; expires=" + expires;
696    }
697
698    jQuery(".cookieconsent-content").removeClass("opened");
699    jQuery(".cookieconsent-shade").removeClass("cover");
700    jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
701    checkCookies();
702    location.reload(true);
703  });
704
705  checkCookies();
706
707  jQuery(".cookie-open").click(function() {
708    if(jQuery(".cookieconsent-content").hasClass("opened")) {
709      jQuery(".cookieconsent-content").removeClass("opened");
710      jQuery(".cookieconsent-shade").removeClass("cover");
711      jQuery(".cookie-overview").addClass("hide");
712      jQuery(".cookieconsent a, .cookieconsent button").attr("tabindex", "1");
713    } else {
714      jQuery(".cookieconsent-content").addClass("opened");
715      jQuery(".cookieconsent-shade").addClass("cover");
716      jQuery(".cookie-overview").addClass("hide");
717      jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
718    }
719  });
720  
721});

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.