1function dsgvoaio_ga_outout() { 2 let t = '<div id="analyticsDenied" class="tarteaucitronDenied" name="" onclick="tarteaucitron.userInterface.respond(this, false);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 3 var dummy = document.createElement("div"); 4 (dummy.id = "analyticsDenied"), 5 (dummy.innerHTML = t.toString()), 6 tarteaucitron.userInterface.respond(dummy.children[0], !1), 7 jQuery(".switch_analytics").attr("onclick", "tarteaucitron.userInterface.respond(this, true);"), 8 jQuery(".switch_analytics").attr("checked", !1), 9 jQuery(".tarteaucitronLine .switch_key_analytics").attr("checked", !1); 10} 11function dsvgoaio_fbpixel_ouout() { 12 let t = '<div id="facebookpixelDenied" class="tarteaucitronDenied" name="" onclick="tarteaucitron.userInterface.respond(this, false);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 13 var dummy = document.createElement("div"); 14 (dummy.id = "facebookpixelDenied"), 15 (dummy.innerHTML = t.toString()), 16 tarteaucitron.userInterface.respond(dummy.children[0], !1), 17 jQuery(".switch_facebookpixel").attr("onclick", "tarteaucitron.userInterface.respond(this, true);"), 18 jQuery(".switch_facebookpixel").attr("checked", !1), 19 jQuery(".tarteaucitronLine .switch_key_facebookpixel").attr("checked", !1); 20} 21function mail(name, dom, tl, params) { 22 var s = e(name, dom, tl);
23 document.write('<a href="' + m_ + s + params + '">' + s + "</a>"); 24} 25function dsgvoaio_cryptmail(name, dom, tl, params, display) { 26 document.write('<a href="' + m_ + e(name, dom, tl) + params + '">' + display + "</a>"); 27} 28function e(name, dom, tl) { 29 var s = name + a_; 30 return tl != -2 ? ((s += dom), tl >= 0 && (s += d_ + tld_[tl])) : (s += swapper(dom)), s; 31} 32function swapper(d) { 33 var s = ""; 34 for (var i = 0; i < d.length; i += 2) i + 1 == d.length ? (s += d.charAt(i)) : (s += d.charAt(i + 1) + d.charAt(i)); 35 return s.replace(/\?/g, "."); 36} 37var scripts = document.getElementsByTagName("script"), 38 path = scripts[scripts.length - 1].src.split("?")[0], 39 tarteaucitronForceCDN = tarteaucitronForceCDN === undefined ? "" : tarteaucitronForceCDN, 40 cdn = tarteaucitronForceCDN === "" ? path.split("/").slice(0, -1).join("/") + "/" : tarteaucitronForceCDN, 41 alreadyLaunch = alreadyLaunch === undefined ? 0 : alreadyLaunch, 42 tarteaucitronForceLanguage = tarteaucitronForceLanguage === undefined ? "" : tarteaucitronForceLanguage, 43 tarteaucitronForceExpire = tarteaucitronForceExpire === undefined ? "" : tarteaucitronForceExpire, 44 tarteaucitronCustomText = tarteaucitronCustomText === undefined ? "" : tarteaucitronCustomText, 45 timeExipre = parms.expiretime * 86400000, 46 tarteaucitronProLoadServices, 47 tarteaucitronNoAdBlocker = !1, 48 cookiestyle = parms.noticestyle, 49 cookiebackgroundcolor = parms.backgroundcolor, 50 cookietextcolor = parms.textcolor, 51 cookiebuttonbackground = parms.buttonbackground, 52 cookiebuttontextcolor = parms.buttontextcolor, 53 cookiebuttoncustomizebackground = parms.buttoncustomizebackground, 54 cookiebuttoncustomizetextcolor = parms.buttoncustomizetextcolor, 55 cookiebuttonlinkcolor = parms.buttonlinkcolor, 56 cookietext = parms.cookietext, 57 cookieheader = parms.cookietextheader, 58 cookieaccepttext = parms.cookieaccepttext, 59 ablehnentxt = parms.ablehnentxt, 60 ablehnentext = parms.ablehnentext, 61 ablehnenurl = parms.ablehnenurl, 62 ablehnenanzeigen = parms.showrejectbtn, 63 btn_text_customize = parms.btn_text_customize, 64 text_imprint = parms.text_imprint, 65 text_policy = parms.text_policy, 66 btn_text_save = parms.btn_text_save, 67 expiretime = parms.expiretime, 68 notice_design = parms.notice_design, 69 ga_defaultoptinout = parms.ga_defaultoptinout, 70 vgwort_defaultoptinout = parms.vgwort_defaultoptinout, 71 koko_defaultoptinout = parms.koko_defaultoptinout, 72 adminajaxurl = parms.adminajaxurl, 73 usenocookies = parms.usenocookies, 74 allnames = "All Cookies", 75 textcansetcookies = parms.cookietextusagebefore, 76 cansetcookiestext = "Cookies:", 77 nocookiesaved = parms.nocookietext, 78 savedcookies = parms.cookietextusage, 79 nocookietext = parms.nocookietext, 80 woocommercecookies = parms.woocommercecookies, 81 polylangcookie = parms.polylangcookie, 82 language = parms.language, 83 policytext = parms.popupagbs, 84 languageswitcher = parms.languageswitcher, 85 maincatname = parms.maincatname, 86 showpolicyname = parms.showpolicyname, 87 yeslabel = parms.yeslabel, 88 nolabel = parms.nolabel, 89 animation_time = parms.animation_time, 90 pixelevent = parms.pixelevent, 91 pixelorderid = parms.pixelorderid, 92 fbpixel_content_name = parms.fbpixel_content_name, 93 fbpixel_product_price = parms.fbpixel_product_price, 94 fbpixel_currency = parms.fbpixel_currency, 95 fbpixel_content_ids = parms.fbpixel_content_ids, 96 fbpixel_content_type = parms.fbpixel_content_type, 97 fbpixel_product_cat = parms.fbpixel_product_cat, 98 isbuyedsendet = parms.isbuyedsendet, 99 pixeleventamount = parms.pixeleventamount, 100 pixeleventcurrency = parms.pixeleventcurrency, 101 outgoing_text = parms.outgoing_text, 102 close_popup_auto = parms.close_popup_auto 103 show_layertext = parms.show_layertext, 104 accepttext = parms.accepttext, 105 policytextbtn = parms.policytextbtn, 106 policyurl = parms.policyurl, 107 imprinturl = parms.imprinturl, 108 pluginversion = parms.version, 109 show_notice_logo = parms.show_notice_logo,
110 notice_logo_img = parms.notice_logo_img, 111 checkbox_essentials_label = parms.checkbox_essentials_label, 112 checkbox_statistics_label = parms.checkbox_statistics_label, 113 checkbox_externals_label = parms.checkbox_externals_label; 114 115var obj = { 116 youtube_spt: parms.youtube_spt, 117 vimeo_spt: parms.vimeo_spt, 118 vgwort_spt: parms.vgwort_spt, 119 shareaholic_spt: parms.shareaholic_spt, 120 linkedin_spt: parms.linkedin_spt, 121 twitter_spt: parms.twitter_spt 122}; 123 124 125if (notice_design == "clear") var stylegrey = "#ffffff"; 126else var stylegrey = "#808080"; 127console.log("DSGVO All in One for WordPress ["+pluginversion+"] running...\nhttps://wordpress.org/plugins/dsgvo-all-in-one-for-wp/"); 128var tarteaucitron = { 129 version: 323, 130 cdn: cdn, 131 user: {}, 132 lang: {}, 133 services: {}, 134 added: [], 135 idprocessed: [], 136 state: [], 137 launch: [], 138 parameters: {}, 139 isAjax: !1, 140 reloadThePage: !1, 141 init: function (params) { 142 "use strict"; 143 var origOpen; 144 (tarteaucitron.parameters = params), 145 alreadyLaunch === 0 && 146 ((alreadyLaunch = 1), 147 window.addEventListener 148 ? (window.addEventListener( 149 "load", 150 jQuery(function(){ 151 tarteaucitron.load(), 152 tarteaucitron.fallback( 153 ["tarteaucitronOpenPanel"], 154 function (elem) { 155 elem.addEventListener( 156 "click", 157 function (event) { 158 tarteaucitron.userInterface.openPanel
158(), event.preventDefault(); 159 }, 160 !1 161 ); 162 }, 163 !0 164 ); 165 }), 166 !1 167 ), 168 window.addEventListener( 169 "scroll", 170 function () { 171 var scrollPos = window.pageYOffset || document.documentElement.scrollTop, 172 heightPosition; 173 document.getElementById("tarteaucitronAlertBig") !== null && 174 !tarteaucitron.highPrivacy && 175 document.getElementById("tarteaucitronAlertBig").style.display === "block" && 176 ((heightPosition = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px"), 177 scrollPos > screen.height * 2 178 ? tarteaucitron.userInterface.respondAll(!0) 179 : scrollPos > screen.height / 2 && (document.getElementById("tarteaucitronDisclaimerAlert").innerHTML = "<b>" + tarteaucitron.lang.alertBigScroll + "</b> " + tarteaucitron.lang.alertBig), 180 tarteaucitron.orientation === "top" ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition) : (document.getElementById("tarteaucitronPercentage").style.bottom = heightPosition), 181 (document.getElementById("tarteaucitronPercentage").style.width = (100 / (screen.height * 2)) * scrollPos + "%")); 182 }, 183 !1 184 ), 185 window.addEventListener( 186 "keydown", 187 function (evt) { 188 evt.keyCode === 27 && tarteaucitron.userInterface.closePanel(); 189 }, 190 !1 191 ), 192 window.addEventListener( 193 "hashchange", 194 function () { 195 document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel
195(); 196 }, 197 !1 198 ), 199 window.addEventListener( 200 "resize", 201 function () { 202 document.getElementById("tarteaucitron") !== null && document.getElementById("tarteaucitron").style.display === "block" && tarteaucitron.userInterface.jsSizing("main"), 203 document.getElementById("tarteaucitronCookiesListContainer") !== null && 204 document.getElementById("tarteaucitronCookiesListContainer").style.display === "block" && 205 tarteaucitron.userInterface.jsSizing("cookie"); 206 }, 207 !1 208 )) 209 : (window.attachEvent("onload", function () { 210 tarteaucitron.load(), 211 tarteaucitron.fallback( 212 ["tarteaucitronOpenPanel"], 213 function (elem) { 214 elem.attachEvent("onclick", function (event) { 215 tarteaucitron.userInterface.openPanel
215(), event.preventDefault(); 216 }); 217 }, 218 !0 219 ); 220 }), 221 window.attachEvent("onscroll", function () { 222 var scrollPos = window.pageYOffset || document.documentElement.scrollTop, 223 heightPosition; 224 document.getElementById("tarteaucitronAlertBig") !== null && 225 !tarteaucitron.highPrivacy && 226 document.getElementById("tarteaucitronAlertBig").style.display === "block" && 227 ((heightPosition = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px"), 228 scrollPos > screen.height * 2 229 ? tarteaucitron.userInterface.respondAll(!0) 230 : scrollPos > screen.height / 2 && (document.getElementById("tarteaucitronDisclaimerAlert").innerHTML = "<b>" + tarteaucitron.lang.alertBigScroll + "</b> " + tarteaucitron.lang.alertBig), 231 tarteaucitron.orientation === "top" ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition) : (document.getElementById("tarteaucitronPercentage").style.bottom = heightPosition), 232 (document.getElementById("tarteaucitronPercentage").style.width = (100 / (screen.height * 2)) * scrollPos + "%")); 233 }), 234 window.attachEvent("onkeydown", function (evt) { 235 evt.keyCode === 27 && tarteaucitron.userInterface.closePanel(); 236 }), 237 window.attachEvent("onhashchange", function () { 238 document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel
238(); 239 }), 240 window.attachEvent("onresize", function () { 241 document.getElementById("tarteaucitron") !== null && document.getElementById("tarteaucitron").style.display === "block" && tarteaucitron.userInterface.jsSizing("main"), 242 document.getElementById("tarteaucitronCookiesListContainer") !== null && document.getElementById("tarteaucitronCookiesListContainer").style.display === "block" && tarteaucitron.userInterface.jsSizing("cookie"); 243 })), 244 typeof XMLHttpRequest !== "undefined" && 245 ((origOpen = XMLHttpRequest.prototype.open), 246 (XMLHttpRequest.prototype.open = function () { 247 window.addEventListener 248 ? this.addEventListener( 249 "load", 250 function () { 251 typeof tarteaucitronProLoadServices === "function" && tarteaucitronProLoadServices(); 252 }, 253 !1 254 ) 255 : this.attachEvent !== void 0 256 ? this.attachEvent("onload", function () { 257 typeof tarteaucitronProLoadServices === "function" && tarteaucitronProLoadServices(); 258 }) 259 : typeof tarteaucitronProLoadServices === "function" && setTimeout(tarteaucitronProLoadServices, 1000); 260 try { 261 origOpen.apply(this, arguments); 262 } catch (err) {} 263 }))); 264 }, 265 load: function () { 266 267 "use strict"; 268 var cdn = tarteaucitron.cdn, 269 language = tarteaucitron.getLanguage(), 270 pathToLang = cdn + "lang/tarteaucitron." + language + ".js?v=" + tarteaucitron.version, 271 pathToServices = cdn + "tarteaucitron.services.min.js?v=" + tarteaucitron.version, 272 linkElement = document.createElement("link"), 273 defaults = { adblocker: !1, hashtag: "#tarteaucitron", cookieName: "tarteaucitron", highPrivacy: !1, orientation: "top", removeCredit: !1, showAlertSmall: !0, cookieslist: !0, handleBrowserDNTRequest: !1, googleConsentMode: true }, 274 params = tarteaucitron.parameters; 275 params !== undefined && tarteaucitron.extend(defaults, params), 276 (tarteaucitron.orientation = defaults.orientation), 277 (tarteaucitron.hashtag = defaults.hashtag), 278 (tarteaucitron.highPrivacy = defaults.highPrivacy), 279 (tarteaucitron.handleBrowserDNTRequest = defaults.handleBrowserDNTRequest), 280 (linkElement.rel = "stylesheet"), 281 (linkElement.type = "text/css"), 282 (linkElement.href = cdn + "css/tarteaucitron.css"), 283 document.getElementsByTagName("head")[0].appendChild(linkElement), 284 tarteaucitron.addScript(pathToLang, "", function () { 285 tarteaucitronCustomText !== "" && (tarteaucitron.lang = tarteaucitron.AddOrUpdate(tarteaucitron.lang, tarteaucitronCustomText)), 286 tarteaucitron.addScript(pathToServices, "", function () { 287 var body = document.body, 288 div = document.createElement("div"), 289 html = "", 290 index, 291 orientation = "Top", 292 cat = ["essenziell", "ads", "analytic", "api", "comment", "social", "support", "video", "other"], 293 i; 294 295 296 if (tarteaucitron.user.googleConsentMode === true) { 297 window.dataLayer = window.dataLayer || []; 298 window.tac_gtag = function tac_gtag() { 299 dataLayer.push(arguments); 300 }; 301 302 window.tac_gtag('consent', 'default', { 303 ad_user_data: 'denied', 304 ad_personalization: 'denied', 305 ad_storage: 'denied', 306 analytics_storage: 'denied', 307 personalization_storage: 'denied', 308 functionality_storage: 'denied', 309 security_storage: 'denied', 310 wait_for_update: 500 311 });
312 313 } 314 315 316 var statistics_count = 0; 317 318 var statistics_count_allowed = 0; 319 320 var external_count = 0; 321 322 var external_count_allowed = 0; 323 324 for (var i = 0; i < tarteaucitron.job.length; i++) { 325 326 var isServiceAllowed = tarteaucitron.cookie.read().indexOf(tarteaucitron.job[i] + "=true") >= 0 ? !0 : !1; 327 328 329 var job_details = tarteaucitron.services[tarteaucitron.job[i]]; 330 331 var if_key_exist = tarteaucitron.job[i] in tarteaucitron.services; 332 333 if (if_key_exist === true) { 334 335 if (job_details['type'] == "analytic") { 336 337 if (isServiceAllowed == true) { 338 339 statistics_count_allowed++; 340 341 } 342 343 statistics_count++; 344 345 } 346 347 if (job_details['type'] == "ads" || job_details['type'] == "api" || job_details['type'] == "comment" || job_details['type'] == "social" || job_details['type'] == "support" || job_details['type'] === "video" || job_details['type'] == "other") { 348 349 if (isServiceAllowed == true) { 350 351 external_count_allowed++; 352 353 } 354 355 external_count++; 356 357 } 358 359 } 360 361 362 } 363 364 var settings_count = 1; 365 var noticestyle = parms.noticestyle; 366 var currstatus = localStorage.getItem("dsgvoaio_respondall"); 367 if (!currstatus) { 368 var currval = "false"; 369 var checkedvalnow = ""; 370 } else if (currstatus.indexOf("true") >= 0) { 371 var currval = "false"; 372 var checkedvalnow = ""; 373 } else { 374 var currval = "true"; 375 var checkedvalnow = "checked"; 376 } 377 378 if (tarteaucitron.job.length > 1) { 379 var denyButton = ' <div id="tarteaucitronAllDenied" data-currval="' + currval + '" class="tarteaucitronDeny allswitch" onclick="tarteaucitron.userInterface.respondAll(false);">'; 380 denyButton += " ✗ " + tarteaucitron.lang.deny; 381 denyButton += " </div>"; 382 } else { 383 var denyButton = ''; 384 } 385 386 var notice_heading = ""; 387 388 if (show_notice_logo == "on") { 389 390 notice_heading = "<span class='dsgvoaio_wrapnoticeheader'><span class='dsgvoaio_wrapnoticeheader_logo'><img src='" + notice_logo_img + "'/></span><span class='dsgvoaio_wrapnoticeheader_heading'>" + cookieheader + "</span></span>"; 391 392 } else { 393 394 notice_heading = "<span class='dsgvoaio_wrapnoticeheader'><span class='dsgvoaio_wrapnoticeheader_heading'>" + cookieheader + "</span></span>"; 395 396 } 397 398 var checkbox_essentials = '<li><label class="dsgvoaio-checkbox"> ' + checkbox_essentials_label + ' <input id="dsgvoaio-checkbox-essentials" tabindex="0" type="checkbox" name="dsgvoaio_checkboxes[]" value="essentials" checked="" disabled="disabled"><span class="dsgvoaio-checkbox-indicator"></span></label></li>'; 399 400 if (statistics_count > 0) { 401 402 if (statistics_count == statistics_count_allowed) { 403 404 var statistics_checked = "checked"; 405 406 } else { 407 408 var statistics_checked = ""; 409 410 } 411 412 var checkbox_statistics = '<li><label class="dsgvoaio-checkbox"> ' + checkbox_statistics_label + ' <input id="dsgvoaio-checkbox-statistics" tabindex="0" type="checkbox" name="dsgvoaio_checkboxes[]" value="statistics" '+ statistics_checked +'><span class="dsgvoaio-checkbox-indicator"></span></label></li>'; 413 414 settings_count++; 415 416 } else { 417 418 var checkbox_statistics = ''; 419 420 } 421 422 if (external_count > 0) { 423 424 if (external_count == external_count_allowed) { 425 426 var externals_checked = "checked"; 427 428 } else { 429 430 var externals_checked = ""; 431 432 433 } 434 435 var checkbox_externals = '<li><label class="dsgvoaio-checkbox"> ' + checkbox_externals_label + ' <input id="dsgvoaio-checkbox-externals" tabindex="0" type="checkbox" name="dsgvoaio_checkboxes[]" value="externals" '+ externals_checked +'><span class="dsgvoaio-checkbox-indicator"></span></label></li>'; 436 437 settings_count++; 438 439 } else { 440 441 var checkbox_externals = ''; 442 443 } 444 445 var checkboxen = '<div id="dsgvoaio-checkbox-wrapper" class="dsgvoaio-settings-count-' + settings_count + '"><ul>' + checkbox_essentials + checkbox_statistics + checkbox_externals + '</ul></div>'; 446 447 for ( 448 html += '<div class="dsdvo-cookie-notice ' + co
448okiestyle + ' ' + notice_design + '">', 449 html += '<div id="tarteaucitronPremium"></div>', 450 html += '<div id="tarteaucitronBack" onclick="tarteaucitron.userInterface.closePanel();"></div>', 451 html += '<div id="tarteaucitron">', 452 html += ' <div id="tarteaucitronClosePanel" onclick="tarteaucitron.userInterface.closePanel();">', 453 html += " " + tarteaucitron.lang.close, 454 html += " </div>", 455 html += ' <div id="tarteaucitronServices">', 456 html += ' <div class="tarteaucitronLine tarteaucitronMainLine" id="tarteaucitronMainLineOffset">', 457 html += ' <div class="tarteaucitronName">', 458 html += 459 " <b><a href=\"javascript:void(0)\" onclick=\"tarteaucitron.userInterface.toggle('tarteaucitronInfo', 'tarteaucitronInfoBox');return false\">✛</a> " + tarteaucitron.lang.all + "</b>", 460 html += " </div>", 461 html += ' <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">', 462 html += ' <div id="tarteaucitronAllAllowed" data-currval="' + currval + '" class="tarteaucitronAllow allswitch" onclick="tarteaucitron.userInterface.respondAll(true);">', 463 html += " ✓ " + tarteaucitron.lang.allow, 464 html += " </div> ", 465 466 html += denyButton, 467 468 html += " </div>", 469 html += " </div>", 470 html += ' <div id="tarteaucitronInfo" class="tarteaucitronInfoBox">', 471 html += " " + tarteaucitron.lang.disclaimer, 472 defaults.removeCredit === !1 && (html += " <br/><br/>"), 473 html += " </div>", 474 html += ' <div class="tarteaucitronBorder" id="tarteaucitronScrollbarParent">', 475 html += ' <div class="clear"></div>', 476 i = 0; 477 i < cat.length; 478 i += 1 479 ) 480 (html += ' <div id="tarteaucitronServicesTitle_' + cat[i] + '" class="tarteaucitronHidden">'), 481 (html += ' <div class="tarteaucitronTitle">'), 482 (html += 483 ' <a href="#" onclick="tarteaucitron.userInterface.toggle(\'tarteaucitronDetails' + cat[i] + "', 'tarteaucitronInfoBox');return false\">✛</a> " + tarteaucitron.lang[cat[i]].title), 484 (html += " </div>"), 485 (html += ' <div id="tarteaucitronDetails' + cat[i] + '" class="tarteaucitronDetails tarteaucitronInfoBox">'), 486 (html += " " + tarteaucitron.lang[cat[i]].details), 487 (html += " </div>"), 488 (html += " </div>"), 489 (html += ' <div id="tarteaucitronServices_' + cat[i] + '" class="tarteaucitronServicesElement"></div>'); 490 (html += ' <div class="tarteaucitronHidden" id="tarteaucitronScrollbarChild" style="height:20px;display:block"></div>'), 491 (html += " </div>"), 492 (html += " </div>"), 493 (html += "</div>"), 494 defaults.orientation === "bottom" && (orientation = "Bottom"), 495 defaults.highPrivacy 496 ? ((html += '<div id="dsgvomiddlewrap">'), 497 (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + co
497okiebackgroundcolor + ";color:#" + cookietextcolor + '">'), 498 (html += '<div id="dsgvoAlertBiginner">'), 499 (html += '<div id="tarinner">'), 500 (html += '<div id="tarinnerinner">'), 501 (html += ' <span id="tarteaucitronwrap15">'), 502 (html += ' <span id="tarteaucitronDisclaimerAlert">'), 503 (html += ' <span class="tarteaucitronDisclaimerAlertInner">'), 504 noticestyle == "style3" 505 ? ((html += "<div class='tarteaucitronDisclaimerHead'>"), 506 (html += languageswitcher), 507 (html += "<a href='#' class='dsgvoaio_close_btn' onclick='tarteaucitron.userInterface.closeNotice();' ><span class='dsgvoaio dashicons dashicons-dismiss' style='font-size:18px;'></span></a>"), 508 (html += "</div>"), 509 (html += '<div class="dsgvopopupagbs">'), 510 (html += policytext), 511 (html += '<div id="agbpopup_service_control"></div>'), 512 (html += "</div>")) 513 : noticestyle == "style2" 514 ? ((html += "<div class='tarteaucitronDisclaimerHead'>"), 515 (html += languageswitcher), 516 (html += "<a href='#' class='dsgvoaio_close_btn' onclick='tarteaucitron.userInterface.closeNotice();' ><span class='dsgvoaio dashicons dashicons-dismiss' style='font-size:18px;'></span></a>"), 517 (html += "</div>"), 518 (html += notice_heading), 519 (html += "<span class='dsgvoaio_wrapnoticetext'>" + cookietext + "</span>")) 520 : (html += cookietext), 521 (html += " </span>"), 522 (html += " </span>"), 523 (html += checkboxen), 524 (html += " </span>"), 525 (html += ' <div class="dsgvonoticebtns">'), 526 (html += ' <div class="dsgvonoticebtnsinner">'), 527 (html += ' <span id="tarteaucitronPersonalize" onclick="tarteaucitron.userInterface.respondAll(true);" style="background:#79b51f;color:#' + cookiebuttontextcolor + '">'), 528 (html += "✓ " + cookieaccepttext), 529 (html += " </span>"), 530 /**(html += ' <span id="tarteaucitronCloseAlert" onclick="tarteaucitron.userInterface.openPanel
530();" style="background:' + cookiebuttonbackground + ";color:" + cookiebuttontextcolor + '">'), 531 (html += " " + btn_text_customize), 532 **/(html += " </span>"), 533 (html += ' <span id="tarteaucitronCloseAlert" onclick="tarteaucitron.userInterface.respondCustom();" style="background:' + cookiebuttonbackground + ";color:" + cookiebuttontextcolor + '">'), 534 (html += " " + btn_text_save), 535 (html += " </span>"), 536 ablehnenanzeigen == "on" && 537 ((html += 538 ' <span id="tarteaucitronCloseAlert" class="tarteaucitronCloseBtn" onclick="tarteaucitron.userInterface.respondAll(false);" style="background:' + 539 cookiebuttonbackground + 540 ";color:" + 541 cookiebuttontextcolor + 542 '">'), 543 (html += " ✕ " + ablehnentxt), 544 (html += " </span>")), 545 (html += " </div>"), 546 (html += ' <span id="tarteaucitronCustomize" onclick="tarteaucitron.userInterface.openPanel
546();" style="background:' + cookiebuttoncustomizebackground + ";color:" + cookiebuttoncustomizetextcolor + '">'), 547 (html += " " + btn_text_customize), 548 (html += " </span>"), 549 550 551 (html += "<div id='dsgvonotice_footer'>"), 552 imprinturl && 553 ((html += "<a href='" + imprinturl + "' target='_blank'>" + text_imprint + "</a>")), 554 imprinturl && policyurl && 555 ((html += "<span class='dsgvonotice_footer_separator'>|</span>")), 556 policyurl && 557 ((html += "<a href='" + policyurl + "' target='_blank'>" + text_policy + "</a>")), 558 (html += "</div>"), 559 560 (html += "</div>"), 561 (html += "</div>"), 562 (html += "</div>"), 563 (html += "</div>"), 564 (html += "</div>"), 565 (html += "</div>")) 566 : ((html += '<div id="dsgvomiddlewrap">'), 567 (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + '">'), 568 (html += '<div id="dsgvoAlertBiginner">'), 569 (html += '<div id="tarinner">'), 570 (html += ' <span id="tarteaucitronDisclaimerAlert">'), 571 (html += ' <span class="tarteaucitronDisclaimerAlertInner">'), 572 noticestyle == "style3" && ((html += '<div class="dsgvopopupagbs">'), (html += policytext), (html += "</div>")), 573 (html += cookietext), 574 (html += " </span>"), 575 (html += " </span>"), 576 (html += ' <span id="tarteaucitronPersonalize" onclick="tarteaucitron.userInterface.respondAll(true);" style="background:#79b51f;color:#' + cookiebuttontextcolor + '">'), 577 (html += " ✓ " + cookieaccepttext), 578 (html += " </span>"), 579 (html += ' <span id="tarteaucitronCloseAlert" onclick="tarteaucitron.userInterface.openPanel
579();" style="background:#' + cookiebuttonbackground + ";color:#" + cookiebuttontextcolor + '">'), 580 (html += " " + btn_text_customize), 581 (html += " </span>"), 582 ablehnenanzeigen == "on" && 583 ((html += 584 ' <span id="tarteaucitronCloseAlert" class="tarteaucitronCloseBtn" onclick="tarteaucitron.userInterface.respondAll(false);" style="background:#' + 585 cookiebuttonbackground + 586 ";color:#" + 587 cookiebuttontextcolor + 588 '">'), 589 (html += " ✕ " + ablehnentxt), 590 (html += " </span>")), 591 (html += "</div>"), 592 (html += "</div>"), 593 (html += "</div>"), 594 (html += "</div>"), 595 (html += '<div id="tarteaucitronPercentage"></div>')), 596 defaults.showAlertSmall === !0 && 597 ((html += '<div id="tarteaucitronAlertSmall" class="tarteaucitronAlertSmall' + orientation + '">'), 598 (html += ' <div id="tarteaucitronManager" onclick="tarteaucitron.userInterface.openPanel
598();">'), 599 (html += '<div id="tarteaucitronCookieImg" class="dashicons-dsgvoaio-cookie"></div>'), 600 defaults.cookieslist === !0 601 ? ((html += " </div><!-- @whitespace"), 602 (html += ' --><div id="tarteaucitronCookiesNumber" onclick="tarteaucitron.userInterface.toggleCookiesList();">0</div>'), 603 (html += ' <div id="tarteaucitronCookiesListContainer">'), 604 (html += ' <div id="tarteaucitronClosePanelCookie" onclick="tarteaucitron.userInterface.closePanel();">'), 605 (html += " " + tarteaucitron.lang.close), 606 (html += " </div>"), 607 (html += ' <div class="tarteaucitronCookiesListMain" id="tarteaucitronCookiesTitle">'), 608 (html += ' <b id="tarteaucitronCookiesNumberBis">0 cookie</b>'), 609 (html += " </div>"), 610 (html += ' <div id="tarteaucitronCookiesList"></div>'), 611 (html += " </div>")) 612 : (html += " </div>"), 613 (html += "</div>"), 614 (html += "</div>")), 615 tarteaucitron.addScript( 616 tarteaucitron.cdn + "advertising.js?v=" + tarteaucitron.version, 617 "", 618 function () { 619 if (tarteaucitronNoAdBlocker === !0 || defaults.adblocker === !1) { 620 if (((div.id = "tarteaucitronRoot"), body.appendChild(div, body), (div.innerHTML = html), jQuery("#dsgvo_service_control").html(html), tarteaucitron.job !== undefined)) 621 for (tarteaucitron.job = tarteaucitron.cleanArray(tarteaucitron.job), index = 0; index < tarteaucitron.job.length; index += 1) tarteaucitron.addService(tarteaucitron.job[index]); 622 else tarteaucitron.job = []; 623 (tarteaucitron.isAjax = !0), 624 (tarteaucitron.job.push = function (id) { 625 tarteaucitron.job.indexOf === void 0 && 626 (tarteaucitron.job.indexOf = function (obj, start) { 627 var i, 628 j = this.length; 629 for (i = start || 0; i < j; i += 1) if (this[i] === obj) return i; 630 return -1; 631 }), 632 tarteaucitron.job.indexOf(id) === -1 && Array.prototype.push.call(this, id), 633 (tarteaucitron.launch[id] = !1), 634 tarteaucitron.addService(id); 635 }), 636 document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel
636(), 637 tarteaucitron.cookie.number(), 638 setInterval(tarteaucitron.cookie.number, 60000); 639 } 640 }, 641 defaults.adblocker 642 ), 643 defaults.adblocker === !0 && 644 setTimeout(function () { 645 tarteaucitronNoAdBlocker === !1 646 ? ((html = '<div id="dsgvomiddlewrap">'), 647 (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + ';display:block;">'), 648 (html += '<div id="tarinner">'), 649 (html += '<div id="tarinnerinner">'), 650 (html += ' <span id="tarteaucitronDisclaimerAlert">'), 651 (html += ' <span class="tarteaucitronDisclaimerAlertInner">'), 652 noticestyle == "style3" && ((html += '<div class="dsgvopopupagbs">'), (html += policytext), (html += "</div>")), 653 (html += cookietext), 654 (html += " </span>"), 655 (html += " </span>"), 656 (html += ' <span id="tarteaucitronPersonalize" onclick="location.reload();">'), 657 (html += " " + co
657okieaccepttext), 658 (html += " </span>"), 659 (html += "</div>"), 660 (html += "</div>"), 661 (html += "</div>"), 662 (html += "</div>"), 663 (html += '<div id="tarteaucitronPremium"></div>'), 664 (div.id = "tarteaucitronRoot"), 665 body.appendChild(div, body), 666 (div.innerHTML = html), 667 tarteaucitron.pro("!adblocker=true")) 668 : tarteaucitron.pro("!adblocker=false"); 669 }, 0); 670 }); 671 }), 672 jQuery(document).ready(function () { 673 if (localStorage.getItem("dsgvoaio_ga_disable") == null && ga_defaultoptinout == "optout") { 674 let t = '<div id="analyticsAllowed" class="tarteaucitronAllow" name="" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 675 var dummy = document.createElement("div"); 676 (dummy.id = "analyticsAllowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 677 } 678 if (localStorage.getItem("dsgvoaio_vgwort_disable") == null && vgwort_defaultoptinout == "optout") { 679 let t = '<div id="vgwortAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 680 var dummy = document.createElement("div"); 681 (dummy.id = "vgwortAllowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 682 } 683 if (localStorage.getItem("dsgvoaio_koko_disable") == null && koko_defaultoptinout == "optout") { 684 let t2 = '<div id="kokoAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 685 var dummy2 = document.createElement("div"); 686 (dummy2.id = "kokoAllowed"), (dummy2.innerHTML = t2.toString()), tarteaucitron.userInterface.respond(dummy2.children[0], !0); 687 } 688 let delete_timedate = localStorage.getItem("dsgvoaio_create"); 689 if (delete_timedate == null) { 690 var d = new Date(), 691 time = d.getTime(), 692 expireTime = time + timeExipre; 693 localStorage.setItem("dsgvoaio_create", expireTime); 694 } 695 var current_date = new Date(); 696 var current = current_date.getTime(); 697 delete_timedate !== null && delete_timedate < current && (localStorage.removeItem("dsgvoaio_create"), localStorage.removeItem("dsgvoaio"), localStorage.removeItem("dsgvoaio_respondall")); 698 699 700 if (cookiestyle == "style1" || cookiestyle == "style15") { 701 var CONTROL_INTERVAL = setInterval(function(){ 702 if(jQuery('#tarteaucitronAlertBig').length > 0){ 703 clearInterval(CONTROL_INTERVAL); 704 if (jQuery('#tarteaucitronAlertBig').css('display') != "none") { 705 jQuery('html').css('padding-bottom', jQuery( "#tarteaucitronAlertBig" ).outerHeight()); 706 } 707 } 708 }, 100); 709 710 } 711 712 }); 713 714 let t = '<div id="wordpressmainAllowed" class="tarteaucitronAllow" name="" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 715 var dummy = document.createElement("div"); 716 (dummy.id = "wordpressmainAllowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 717 718 719 720 721 722 }, 723 addService: function (serviceId) { 724 "use strict"; 725 var html = "", 726 s = tarteaucitron.services, 727 service = s[serviceId], 728 cookie = tarteaucitron.cookie.read(), 729 hostname = document.location.hostname, 730 hostRef = document.referrer.split("/")[2], 731 isNavigating = hostRef === hostname ? !0 : !1, 732 isAutostart = service.needConsent ? !1 : !0, 733 isWaiting = cookie.indexOf(service.key + "=wait") >= 0 ? !0 : !1, 734 isDenied = cookie.indexOf(service.key + "=false") >= 0 ? !0 : !1, 735 isAllowed = cookie.indexOf(service.key + "=true") >= 0 ? !0 : !1, 736 isResponded = cookie.indexOf(service.key + "=false") >= 0 || cookie.indexOf(service.key + "=true") >= 0 ? !0 : !1, 737 isDNTRequested = navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1" || window.doNotTrack === "1" ? !0 : !1; 738 739 if (tarteaucitron.added[service.key] !== !0) { 740 if (((tarteaucitron.added[service.key] = !0), isAllowed !== !0)) { 741 var allowedcheck = "Allowed"; 742 var respondval = "true"; 743 var checkedval = ""; 744 } else { 745 var allowedcheck = "Denied"; 746 var respondval = "false"; 747 var checkedval = "checked"; 748 } 749 if ( 750 ((html += '<div id="' + service.key + 'Line" class="tarteaucitronLine">'), 751 (html += ' <div class="tarteaucitronName">'), 752 (html += " <b>" + service.name + "</b><br/>"),
753 (html += ' <span id="tacCL' + service.key + '" class="tarteaucitronListCookies"></span><br/>'), 754 (html += ' <a href="' + service.uri + '" target="_blank" rel="noopener" class="dsgvoaiopollink">'), 755 (html += " " + tarteaucitron.lang.source), 756 (html += " </a>"), 757 (html += " </div>"), 758 (html += ' <div class="tarteaucitronAsk">'), 759 service.key != "wordpressmain") 760 ) { 761 if (isDenied == 0 && isAllowed == 0){ 762 var waitingclass = "dsgvoaiowaiting"; 763 } else { 764 var waitingclass = "dsgvoaiownotaiting"; 765 } 766 (html += 767 '<label class="switchdsgvoaio ' + 768 waitingclass + 769 '" style="margin:0px;"> <input type="checkbox" id="' + 770 service.key + 771 allowedcheck + 772 '" class="switchdsgvoaio-input switch_' + 773 service.key + 774 " switch_key_" + 775 service.key + 776 '" data-current="' + 777 respondval + 778 '" onclick="tarteaucitron.userInterface.respond(this, ' + 779 respondval + 780 ');" ' + 781 checkedval + 782 '> <span class="switchdsgvoaio-label" data-on="' + 783 yeslabel + 784 '" data-off="' + 785 nolabel + 786 '"></span> <span class="switchdsgvoaio-handle"></span> </label>'), 787 (html += " </div>"), 788 (html += "</div>"); 789 } 790 tarteaucitron.userInterface.css("tarteaucitronServicesTitle_" + service.type, "display", "block"), 791 document.getElementById("tarteaucitronServices_" + service.type) !== null && (document.getElementById("tarteaucitronServices_" + service.type).innerHTML += html), 792 tarteaucitron.userInterface.order(service.type); 793 } 794 isResponded === !1 && tarteaucitron.user.bypass === !0 && ((isAllowed = !0), tarteaucitron.cookie.create(service.key, !0)), 795 (!isResponded && (isAutostart || (isNavigating && isWaiting)) && !tarteaucitron.highPrivacy) || isAllowed 796 ? (isAllowed || tarteaucitron.cookie.create(service.key, !0), 797 tarteaucitron.launch[service.key] !== !0 && ((tarteaucitron.launch[service.key] = !0), service.js()), 798 (tarteaucitron.state[service.key] = !0), 799 tarteaucitron.userInterface.color(service.key, !0)) 800 : isDenied 801 ? (typeof service.fallback === "function" && service.fallback(), (tarteaucitron.state[service.key] = !1), tarteaucitron.userInterface.color(service.key, !1)) 802 : !isResponded && isDNTRequested && tarteaucitron.handleBrowserDNTRequest 803 ? (tarteaucitron.cookie.create(service.key, "false"), typeof service.fallback === "function" && service.fallback(), (tarteaucitron.state[service.key] = !1), tarteaucitron.userInterface.color(service.key, !1)) 804 : isResponded || 805 (tarteaucitron.cookie.create(service.key, "wait"), typeof service.fallback === "function" && service.fallback(), tarteaucitron.userInterface.color(service.key, "wait"), tarteaucitron.userInterface.openAlert()), 806 tarteaucitron.cookie.checkCount(service.key); 807 }, 808 cleanArray: function cleanArray(arr) { 809 "use strict"; 810 var i, 811 len = arr.length, 812 out = [], 813 obj = {}, 814 s = tarteaucitron.services; 815 for (i = 0; i < len; i += 1) obj[arr[i]] || ((obj[arr[i]] = {}), tarteaucitron.services[arr[i]] !== undefined && out.push(arr[i])); 816 return ( 817 (out = out.sort(function (a, b) { 818 return s[a].type + s[a].key > s[b].type + s[b].key ? 1 : s[a].type + s[a].key < s[b].type + s[b].key ? -1 : 0; 819 })), 820 out 821 ); 822 }, 823 userInterface: { 824 css: function (id, property, value) { 825 "use strict"; 826 document.getElementById(id) !== null && (document.getElementById(id).style[property] = value); 827 }, 828 hideClass: function (classname, property, value) { 829 "use strict"; 830 var el = document.getElementsByClassName(classname); 831 el !== null && jQuery(classname).hide(); 832 }, 833 writeLog: function (el, status, name, allvalue) { 834 "use strict"; 835 function create_UUID() { 836 var dt = new Date().getTime(); 837 var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) { 838 var r = (dt + Math.random() * 16) % 16 | 0; 839 return (dt = Math.floor(dt / 16)), (c == "x" ? r : (r & 3) | 8).toString(16); 840 }); 841 return uuid; 842 } 843 var key = el; 844 var state = status; 845 var name = name; 846 var allvalue = allvalue; 847 var uniqeid = localStorage.getItem("_uniqueuid"); 848 uniqeid ? (uniqeid = localStorage.getItem("_uniqueuid")) : (localStorage.setItem("_uniqueuid", create_UUID()), (uniqeid = localStorage.getItem("_uniqueuid"))), 849 uniqeid && 850 jQuery.ajax({ 851 type: "POST", 852 url: adminajaxurl, 853 data: { id: uniqeid.slice(0, -3) + "XXX", state: state, key: key, name: name, allvalue: allvalue, action: "dsgvoaio_write_log" }, 854 success: function (result) {}, 855 error: function () {}, 856 }); 857 var uniqeid = localStorage.getItem("_uniqueuid"); 858 }, 859 respondAll: function (status) { 860 "use strict"; 861 var s = tarteaucitron.services, 862 service, 863 key, 864 index = 0; 865 var allnames = []; 866 var currentVal = jQuery("#tarteaucitronAllAllowed").data("currval"); 867 var currstatus = localStorage.getItem("dsgvoaio_respondall"); 868 for ( 869 currentVal || (currentVal = "false"), 870 currentVal == "false" ? jQuery("#tarteaucitronAllAllowed").data("currval", "true") : jQuery("#tarteaucitronAllAllowed").data("currval", "false"), 871 status == 1 ? localStorage.setItem("dsgvoaio_respondall", "true") : localStorage.removeItem("dsgvoaio_respondall"), 872 jQuery(".switchdsgvoaio").removeClass("dsgvoaiowaiting"), 873 index = 0; 874 index < tarteaucitron.job.length; 875 index += 1 876 ) { 877 if (((service = s[tarteaucitron.job[index]]), (key = service.key), key != "wordpressmain" && tarteaucitron.state[key] !== status)) {
878 status === !1 && tarteaucitron.launch[key] === !0 && (tarteaucitron.reloadThePage = !0), 879 tarteaucitron.launch[key] !== !0 && status === !0 && ((tarteaucitron.launch[key] = !0), tarteaucitron.services[key].js()), 880 (tarteaucitron.state[key] = status), 881 tarteaucitron.cookie.create(key, status), 882 tarteaucitron.userInterface.color(key, status); 883 var currentVal = jQuery(".switch_" + key).attr("onclick"); 884 currentVal || (currentVal = "tarteaucitron.userInterface.respond(this, false);"), 885 currentVal.indexOf("true") >= 0 && 886 localStorage.getItem("dsgvoaio_respondall") && 887 (jQuery(".switch_" + key).prop("checked", !0), jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, false);")), 888 currentVal.indexOf("false") >= 0 && 889 !localStorage.getItem("dsgvoaio_respondall") && 890 (jQuery(".switch_" + key).prop("checked", !1), jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, true);")); 891 } 892 allnames.push(tarteaucitron.services[key].name); 893 } 894 if (index == 1) { 895 var time = animation_time; 896 jQuery("#tarteaucitronAlertBig").fadeOut(time), jQuery("#tarteaucitronAlertSmall").fadeIn(time); 897 } 898 899 900 901 var allvalue = localStorage.getItem("dsgvoaio"); 902 if (close_popup_auto == "on") { 903 jQuery("#tarteaucitron").fadeOut(time); 904 jQuery("#tarteaucitronBack").fadeOut(time); 905 } 906 907 tarteaucitron.userInterface.writeLog(key, status, "All", allnames), status == 0 && (tarteaucitron.reloadThePage = !0); 908 909 910 if (cookiestyle == "style1" || cookiestyle == "style15") { 911 jQuery('html').css('padding-bottom', '0px'); 912 } 913 914 if (status == false) { 915 window.location.reload(); 916 } 917 }, 918 hidePolicyPopup: function (key) { 919 jQuery(".dsgvoaiopolicypopup_" + key).remove(); 920 }, 921 dsgvoaio_open_details: function (key, lang) { 922 if (key && lang) { 923 jQuery.ajax({ 924 type: "POST", 925 url: adminajaxurl, 926 data: { key: key, lang: lang, action: "dsgvoaio_get_service_policy" }, 927 success: function (result) { 928 jQuery(".dsgvoaiopolicypopup_" + key + " .dsgvoaio_popup_policyinner .secondinner").html(result), 929 (mainHeight = document.getElementById("tarteaucitron").offsetHeight), 930 (closeButtonHeight = document.getElementById("tarteaucitronClosePanel").offsetHeight), 931 (headerHeight = document.getElementById("tarteaucitronMainLineOffset").offsetHeight), 932 (servicesHeight = mainHeight - closeButtonHeight - headerHeight + 1), 933 jQuery(".dsgvoaio_popup_policyinner").height(servicesHeight); 934 }, 935 error: function () {}, 936 }); 937 var cookie = tarteaucitron.cookie.read(); 938 939 var isServiceAllowed = cookie.indexOf(key + "=true") >= 0 ? !0 : !1; 940 var isDenied = cookie.indexOf(key + "=false") >= 0 ? !0 : !1; 941 var isWaiting = cookie.indexOf(key + "=wait") >= 0 ? !0 : !1; 942 if (isServiceAllowed !== !0) { 943 var allowedcheck = "Allowed"; 944 var respondval = "true"; 945 var checkedval = ""; 946 } else { 947 var allowedcheck = "Denied"; 948 var respondval = "false"; 949 var checkedval = "checked"; 950 } 951 if (isDenied == 0 && isServiceAllowed == 0) { 952 var waitingclass = "dsgvoaiowaiting"; 953 } else { 954 var waitingclass = "dsgvoaionotwaiting"; 955 } 956 if (key != "wordpressmain") 957 var switchstring = 958 '<label class="switchdsgvoaio ' + 959 waitingclass + 960 '" style="margin:0px;"> <input type="checkbox" id="' + 961 key + 962 allowedcheck + 963 '" class="switchdsgvoaio-input switch_' + 964 key + 965 '" data-current="' + 966 respondval + 967 '" onclick="tarteaucitron.userInterface.respond(this, ' + 968 respondval + 969 ');" ' + 970 checkedval + 971 '> <span class="switchdsgvoaio-label" data-on="' + 972 yeslabel + 973 '" data-off="' + 974 nolabel + 975 '"></span> <span class="switchdsgvoaio-handle"></span> </label>'; 976 else var switchstring = ""; 977 jQuery("#tarteaucitronServices ").prepend( 978 jQuery( 979 '<div class="dsgvoaio_policypopup dsgvoaiopolicypopup_' + 980 key + 981 '" data-serviceid="' + 982 key + 983 '"><div class="dsvoaio_pol_wrap"><div class="dsgvoaio_pol_header">' + 984 switchstring + '<h3>' + tarteaucitron.services[key].name + '</h3>' + 985 '<a href="javascript:void(0)" class="dsgvo_hide_policy_popup" onclick="tarteaucitron.userInterface.hidePolicyPopup(\'' + 986 key + 987 '\');"><span class="dashicons dashicons-no-alt"></span></a></div><div class="dsgvoaio_popup_policyinner"><div class="secondinner"><div class="lds-ring-outer"><div class="lds-ring"><div></div><div></div><div></div><div></div></div></div></div></div></div></div>' 988 ) 989 ); 990 } 991 }, 992 respond: function (el, status) { 993 "use strict"; 994 var key = el.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed", "g"), ""); 995 jQuery("#" + key + "Line .switchdsgvoaio").removeClass("dsgvoaiowaiting"), jQuery(".dsgvoaiopolicypopup_" + key + " .switchdsgvoaio").removeClass("dsgvoaiowaiting"); 996 var currentVal = jQuery(".switch_" + key).attr("onclick"); 997 if ( 998 (currentVal && currentVal.indexOf("true") >= 0 999 ? (jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, false);"), jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !0)) 1000 : (jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, true);"), jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !1)), 1001 tarteaucitron.services[key] && tarteaucitron.userInterface.writeLog(key, status, tarteaucitron.services[key].name, ""), 1002 (key == "analytics" || status === !1) && localStorage.setItem("dsgvoaio_ga_disable", "true"), 1003 (key == "vgwort" || status === !1) && localStorage.setItem("dsgvoaio_vgwort_disable", "true"), 1004 (key == "kokoanalytics" || status === !1) && localStorage.setItem("dsgvoaio_koko_disable", "true"), 1005 tarteaucitron.state[key] === status) 1006 ) 1007 return;
1008 status === !1 && tarteaucitron.launch[key] === !0 && (tarteaucitron.reloadThePage = !0), 1009 status === !0 && tarteaucitron.launch[key] !== !0 && ((tarteaucitron.launch[key] = !0), tarteaucitron.services[key] && tarteaucitron.services[key].js()), 1010 (tarteaucitron.state[key] = status), 1011 tarteaucitron.cookie.create(key, status), 1012 tarteaucitron.userInterface.color(key, status); 1013 }, 1014 showPolicy: function (el, status) { 1015 var key = el.id.replace(new RegExp("(ZeEng[0-9]+|Allow|Deni)ed", "g"), ""); 1016 var time = animation_time; 1017 jQuery("#tarteaucitron").fadeIn(time); 1018 jQuery("#tarteaucitronBack").fadeIn(time); 1019 jQuery("#tarteaucitronCookiesListContainer").fadeOut(time); 1020 tarteaucitron.userInterface.jsSizing("main"); 1021 jQuery(".dsgvoaio_policypopup").remove(); 1022 tarteaucitron.userInterface.dsgvoaio_open_details(key, language); 1023 }, 1024 hideCookies: function (key, state) { 1025 "use strict"; 1026 var key = key.id.replace("hidecookies", ""); 1027 jQuery("#tacCL" + key).show(), jQuery("#" + key + "Line br").show(), jQuery("#" + key + "Line .tarteaucitronCookiePopup").remove(); 1028 }, 1029 showOutgoingMsg: function (uri) { 1030 "use strict"; 1031 if (language == "de") var to = "Weiter zu "; 1032 else var to = "Go to "; 1033 jQuery("#dsgvoaio_olm").remove(), 1034 jQuery(document.body).append( 1035 '<div id="dsgvoaio_olm" class="dsgvoaio_modal ' + 1036 notice_design + 1037 '"><div class="dsgvoaio-modal-content"> <span class="dsgvoaio-modal-close">×</span> <p>' + 1038 outgoing_text + 1039 '<a href="' + 1040 uri + 1041 '" target="blank" class="dsgvoaio_btn_1 dsgvoaio_outgoing_btn">' + 1042 to + 1043 uri + 1044 "</a></p> </div> </div>" 1045 ); 1046 var modal = document.getElementById("dsgvoaio_olm"); 1047 (modal.style.display = "block"), jQuery("#dsgvoaio_olm").show(animation_time); 1048 var span = document.getElementsByClassName("dsgvoaio-modal-close")[0]; 1049 (span.onclick = function () { 1050 (modal.style.display = "none"), jQuery("#dsgvoaio_olm").hide(animation_time); 1051 }), 1052 (window.onclick = function (event) { 1053 event.target == modal && ((modal.style.display = "none"), jQuery("#dsgvoaio_olm").hide(animation_time)); 1054 }); 1055 }, 1056 showCookies: function (key, state) { 1057 "use strict"; 1058 var key = key.id.replace("showcookies", ""); 1059 var arr = tarteaucitron.services[key].cookies, 1060 nb = arr.length, 1061 nbCurrent = 0, 1062 html = "", 1063 i, 1064 status = document.cookie.indexOf(key + "=true"); 1065 status = document.cookie.indexOf(key + "=true"); 1066 var state = localStorage.getItem("dsgvoaio"); 1067 state.indexOf(key + "=true") >= 0 ? (status = 1) : (status = -1); 1068 var cookies_used = ""; 1069 var used_cookies_text = ""; 1070 if (status >= 0 && nb === 0) html += nocookietext; 1071 else if (status >= 0) { 1072 for (i = 0; i < nb; i += 1) 1073 document.cookie.indexOf(arr[i] + "=") !== -1 && 1074 ((nbCurrent += 1), 1075 (cookies_used += arr[i] + ", "), 1076 tarteaucitron.cookie.owner[arr[i]] === undefined && (tarteaucitron.cookie.owner[arr[i]] = []), 1077 tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[arr[i]], tarteaucitron.services[key].name) === !1 && tarteaucitron.cookie.owner[arr[i]].push(tarteaucitron.services[key].name)); 1078 if (((cookies_used = cookies_used.replace(/,\s*$/, "")), nbCurrent > 0)) { 1079 html += savedcookies + " " + nbCurrent; 1080 var cookies = tarteaucitron.services[key].cookies.toString(); 1081 (html += 1082 "<span class='closeShowCookies' id='hidecookies" + 1083 key + 1084 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" + 1085 textcansetcookies + 1086 "<br />" + 1087 cookies.replace(",", ", ")), 1088 cookies_used 1089 ? ((used_cookies_text = savedcookies + " "), (html += "<br /><br />
1089" + used_cookies_text + "<br />" + cookies_used + "")) 1090 : ((used_cookies_text = nocookiesaved), (html += "<br /><br />" + used_cookies_text)), 1091 nbCurrent > 1; 1092 } else { 1093 html += nocookiesaved; 1094 var cookies = tarteaucitron.services[key].cookies.toString(); 1095 html += 1096 "<span class='closeShowCookies' id='hidecookies" + 1097 key + 1098 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" + 1099 textcansetcookies + 1100 "<br />" + 1101 cookies.replace(",", ", ") + 1102 "<br/>"; 1103 } 1104 } else if (nb === 0) html += usenocookies + " <span class='closeShowCookies' id='hidecookies" + key + "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span>"; 1105 else { 1106 var cookies = tarteaucitron.services[key].cookies.toString(); 1107 (html += cansetcookiestext + " " + nb), 1108 (html += 1109 "<span class='closeShowCookies' id='hidecookies" + 1110 key + 1111 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" + 1112 textcansetcookies + 1113 "<br />" + 1114 cookies.replace(",", ", ") + 1115 "<br />"), 1116 (cookies_used = cookies_used.substring(0, cookies_used.length - 2)), 1117 cookies_used 1118 ? ((used_cookies_text = savedcookies + " "), 1119 (html += 1120 "<span class='closeShowCookies' id='hidecookies" + 1121 key + 1122 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br />" + 1123 used_cookies_text + 1124 "<br/>" + 1125 cookies_used + 1126 "")) 1127 : ((used_cookies_text = nocookiesaved), (html += "<br />" + used_cookies_text + "")), 1128 nb > 1; 1129 } 1130 return ( 1131 jQuery("#tacCL" + key).hide(), 1132 jQuery("#" + key + "Line br").hide(), 1133 jQuery("<span class='tarteaucitronCookiePopup'>" + html + "<br /></p>").insertAfter("#" + key + "Line b"), 1134 jQuery("#" + key + "Line .tarteaucitronCookiePopup").show(), 1135 "" 1136 ); 1137 }, 1138 color: function (key, status) { 1139 "use strict"; 1140 var gray = "#808080", 1141 greenDark = "#1B870B", 1142 greenLight = "#E6FFE2", 1143 redDark = "#9C1A1A", 1144 redLight = "#FFE2E2", 1145 yellowDark = "#FBDA26", 1146 c = "tarteaucitron", 1147 nbDenied = 0, 1148 nbPending = 0, 1149 nbAllowed = 0, 1150 sum = tarteaucitron.job.length, 1151 index; 1152 for ( 1153 status === !0 1154 ? (tarteaucitron.userInterface.css(key + "Line", "borderLeft", "5px solid " + greenDark), 1155 tarteaucitron.userInterface.css(key + "Allowed", "backgroundColor", greenDark), 1156 tarteaucitron.userInterface.css(key + "Denied", "backgroundColor", gray)) 1157 : status === !1 && 1158 (tarteaucitron.userInterface.css(key + "Line", "borderLeft", "5px solid " + redDark), 1159 tarteaucitron.userInterface.css(key + "Allowed", "backgroundColor", gray), 1160 tarteaucitron.userInterface.css(key + "Denied", "backgroundColor", redDark)), 1161 index = 0; 1162 index < sum; 1163 index += 1 1164 ) 1165 tarteaucitron.state[tarteaucitron.job[index]] === !1 1166 ? (nbDenied += 1) 1167 : tarteaucitron.state[tarteaucitron.job[index]] === undefined 1168 ? (nbPending += 1) 1169 : tarteaucitron.state[tarteaucitron.job[index]] === !0 && (nbAllowed += 1); 1170 tarteaucitron.userInterface.css(c + "DotGreen", "width", (100 / sum) * nbAllowed + "%"), 1171 tarteaucitron.userInterface.css(c + "DotYellow", "width", (100 / sum) * nbPending + "%"), 1172 tarteaucitron.userInterface.css(c + "DotRed", "width", (100 / sum) * nbDenied + "%"),
1173 nbDenied === 0 && nbPending === 0 1174 ? (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", greenDark), tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", gray)) 1175 : nbAllowed === 1 && nbPending === 0 1176 ? (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", gray), tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", redDark)) 1177 : (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", gray), tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", gray)), 1178 nbPending === 0 && tarteaucitron.userInterface.closeAlert(), 1179 tarteaucitron.services[key] && tarteaucitron.services[key].cookies.length > 0 && status === !1 && tarteaucitron.cookie.purge(tarteaucitron.services[key].cookies); 1180 }, 1181 openPanel: function () { 1182 "use strict"; 1183 var time = animation_time; 1184 jQuery("#tarteaucitron").fadeIn(time); 1185 if(jQuery('.tarteaucitronAlertBigTop').css('display') === 'none') { 1186 jQuery("#tarteaucitronBack").fadeIn(time); 1187 } 1188 jQuery("#tarteaucitronCookiesListContainer").fadeOut(time); 1189 tarteaucitron.userInterface.jsSizing("main"); 1190 }, 1191 closeNotice: function () { 1192 "use strict"; 1193 var time = animation_time; 1194 jQuery("#tarteaucitronAlertBig").fadeOut(time); 1195 if (cookiestyle == "style1" || cookiestyle == "style15") { 1196 jQuery('html').css('padding-bottom', '0'); 1197 } 1198 }, 1199 respondCustom: function (status) { 1200 "use strict"; 1201 var s = tarteaucitron.services, 1202 service, 1203 key, 1204 index = 0; 1205 var time = animation_time; 1206 jQuery("#tarteaucitronAlertBig").fadeOut(time); 1207 1208 if (jQuery('#dsgvoaio-checkbox-essentials').is(":checked")) { 1209 } 1210 if (jQuery('#dsgvoaio-checkbox-statistics').is(":checked")) { 1211 1212 for (let key in tarteaucitron.services) { 1213 1214 if (tarteaucitron.services[key]['type'] == "analytic") { 1215 1216 let t = '<div id="' + key + 'Allowed" class="tarteaucitronAllow"></div>'; 1217 var dummy = document.createElement("div"); 1218 (dummy.id = key + "Allowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 1219 1220 } 1221 1222 } 1223 1224 } else { 1225 for (let key in tarteaucitron.services) { 1226 1227 if (tarteaucitron.services[key]['type'] == "analytic") { 1228 1229 let t = '<div id="' + key + 'Denied" class="tarteaucitronDenied"></div>'; 1230 var dummy = document.createElement("div"); 1231 (dummy.id = key + "Denied"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !1); 1232 jQuery(".switch_" + key).attr("checked", !1), 1233 jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !1); 1234 1235 } 1236 1237 } 1238 } 1239 1240 1241 if (jQuery('#dsgvoaio-checkbox-externals').is(":checked")) { 1242 1243 for (let key in tarteaucitron.services) { 1244 1245 if ( 1246 tarteaucitron.services[key]['type'] == "social" || tarteaucitron.services[key]['type'] == "comment" || 1247 tarteaucitron.services[key]['type'] == "ads" || tarteaucitron.services[key]['type'] == "api" || 1248 tarteaucitron.services[key]['type'] == "support" || tarteaucitron.services[key]['type'] == "video" 1249 ) { 1250 1251 let t = '<div id="' + key + 'Allowed" class="tarteaucitronAllow"></div>'; 1252 var dummy = document.createElement("div"); 1253 (dummy.id = key + "Allowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 1254 1255 } 1256 1257 } 1258 1259 } else { 1260 1261 for (let key in tarteaucitron.services) { 1262 1263 if ( 1264 tarteaucitron.services[key]['type'] == "social" || tarteaucitron.services[key]['type'] == "comment" || 1265 tarteaucitron.services[key]['type'] == "ads" || tarteaucitron.services[key]['type'] == "api" ||
1266 tarteaucitron.services[key]['type'] == "support" || tarteaucitron.services[key]['type'] == "video" 1267 ) { 1268 1269 let t = '<div id="' + key + 'Denied" class="tarteaucitronDenied"></div>'; 1270 var dummy = document.createElement("div"); 1271 (dummy.id = key + "Denied"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !1); 1272 jQuery(".switch_" + key).attr("checked", !1), 1273 jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !1); 1274 } 1275 1276 } 1277 } 1278 1279 if (cookiestyle == "style1" || cookiestyle == "style15") { 1280 jQuery('html').css('padding-bottom', '0px'); 1281 } 1282 1283 }, 1284 redirectonreject: function () { 1285 "use strict"; 1286 alert(ablehnentext), window.location.replace("http://" + ablehnenurl); 1287 }, 1288 closePanel: function () { 1289 "use strict"; 1290 document.location.hash === tarteaucitron.hashtag && (document.location.hash = ""); 1291 var time = animation_time; 1292 jQuery("#tarteaucitron").fadeOut(time), 1293 jQuery("#tarteaucitronCookiesListContainer").fadeOut(time), 1294 tarteaucitron.fallback( 1295 ["tarteaucitronInfoBox"], 1296 function (elem) { 1297 jQuery("#tarteaucitronInfoBox").fadeOut(time); 1298 }, 1299 !0 1300 ), 1301 tarteaucitron.reloadThePage === !0 ? window.location.reload() : jQuery("#tarteaucitronBack").fadeOut(time); 1302 }, 1303 openAlert: function () { 1304 "use strict"; 1305 var time = animation_time; 1306 var c = "tarteaucitron"; 1307 jQuery("#tarteaucitron" + "Percentage").fadeIn(time), 1308 jQuery("#tarteaucitron" + "AlertSmall").fadeOut(time), 1309 jQuery("#tarteaucitron" + "AlertBig").fadeIn(time), 1310 tarteaucitron.userInterface.css(c + "Percentage", "display", "block"), 1311 tarteaucitron.userInterface.css(c + "AlertSmall", "display", "none"), 1312 tarteaucitron.userInterface.css(c + "AlertBig", "display", "block"); 1313 }, 1314 closeAlert: function () { 1315 "use strict"; 1316 function objectLength(obj) { 1317 var result = 0; 1318 for (var prop in obj) obj.hasOwnProperty(prop) && result++; 1319 return result; 1320 } 1321 var time = animation_time; 1322 var c = "tarteaucitron"; 1323 objectLength(tarteaucitron.cookie.read().split("!")) == 2 1324 ? (tarteaucitron.userInterface.hideClass(".tarteaucitronCloseBtn", "display", "none"), 1325 localStorage.getItem("dsgvoaio_respondall") == "true" 1326 ? (tarteaucitron.userInterface.css(c + "Percentage", "display", "none"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "block"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "none")) 1327 : (tarteaucitron.userInterface.css(c + "Percentage", "display", "block"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "none"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "block"))) 1328 : (tarteaucitron.userInterface.css(c + "Percentage", "display", "none"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "block"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "none")), 1329 tarteaucitron.userInterface.jsSizing("box"); 1330 }, 1331 toggleCookiesList: function () { 1332 "use strict"; 1333 var div = document.getElementById("tarteaucitronCookiesListContainer"); 1334 if (div === null) return; 1335 div.style.display !== "block" 1336 ? (tarteaucitron.cookie.number(), 1337 (div.style.display = "block"), 1338 tarteaucitron.userInterface.jsSizing("cookie"), 1339 tarteaucitron.userInterface.css("tarteaucitron", "display", "none"), 1340 tarteaucitron.userInterface.css("tarteaucitronBack", "dis
1340play", "block"), 1341 tarteaucitron.fallback( 1342 ["tarteaucitronInfoBox"], 1343 function (elem) { 1344 elem.style.display = "none"; 1345 }, 1346 !0 1347 )) 1348 : ((div.style.display = "none"), tarteaucitron.userInterface.css("tarteaucitron", "display", "none"), tarteaucitron.userInterface.css("tarteaucitronBack", "display", "none")); 1349 }, 1350 toggle: function (id, closeClass) { 1351 "use strict"; 1352 var div = document.getElementById(id); 1353 if (div === null) return; 1354 closeClass !== undefined && 1355 tarteaucitron.fallback( 1356 [closeClass], 1357 function (elem) { 1358 elem.id !== id && (elem.style.display = "none"); 1359 }, 1360 !0 1361 ), 1362 div.style.display !== "block" ? (div.style.display = "block") : (div.style.display = "none"); 1363 }, 1364 order: function (id) { 1365 "use strict"; 1366 var main = document.getElementById("tarteaucitronServices_" + id), 1367 allDivs, 1368 store = [], 1369 i; 1370 if (main === null) return; 1371 (allDivs = main.childNodes), 1372 typeof Array.prototype.map === "function" && 1373 Array.prototype.map 1374 .call(main.children, Object) 1375 .sort(function (a, b) { 1376 return tarteaucitron.services[a.id.replace(/Line/g, "")].name > tarteaucitron.services[b.id.replace(/Line/g, "")].name 1377 ? 1 1378 : tarteaucitron.services[a.id.replace(/Line/g, "")].name < tarteaucitron.services[b.id.replace(/Line/g, "")].name 1379 ? -1 1380 : 0; 1381 }) 1382 .forEach(function (element) { 1383 main.appendChild(element); 1384 }); 1385 }, 1386 jsSizing: function (type) { 1387 "use strict"; 1388 var scrollbarMarginRight = 10, 1389 scrollbarWidthParent, 1390 scrollbarWidthChild, 1391 servicesHeight, 1392 e = window, 1393 a = "inner", 1394 windowInnerHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, 1395 mainTop, 1396 mainHeight, 1397 closeButtonHeight, 1398 headerHeight, 1399 cookiesListHeight, 1400 cookiesCloseHeight, 1401 cookiesTitleHeight, 1402 paddingBox, 1403 alertSmallHeight, 1404 cookiesNumberHeight; 1405 type === "box" 1406 ? document.getElementById("tarteaucitronAlertSmall") !== null && 1407 document.getElementById("tarteaucitronCookiesNumber") !== null && 1408 (tarteaucitron.userInterface.css("tarteaucitronCookiesNumber", "padding", "0px 10px"), 1409 (alertSmallHeight = document.getElementById("tarteaucitronAlertSmall").offsetHeight), 1410 (cookiesNumberHeight = document.getElementById("tarteaucitronCookiesNumber").offsetHeight), 1411 (paddingBox = (alertSmallHeight - cookiesNumberHeight) / 2), 1412 tarteaucitron.userInterface.css("tarteaucitronCookiesNumber", "padding", paddingBox + "px 10px")) 1413 : type === "main" 1414 ? (window.innerWidth === undefined && ((a = "client"), (e = document.documentElement || document.body)), 1415 document.getElementById("tarteaucitron") !== null && 1416 document.getElementById("tarteaucitronClosePanel") !== null && 1417 document.getElementById("tarteaucitronMainLineOffset") !== null && 1418 (tarteaucitron.userInterface.css("tarteaucitronScrollbarParent", "height", "auto"), 1419 (mainHeight = document.getElementById("tarteaucitron").offsetHeight), 1420 (closeButtonHeight = document.getElementById("tarteaucitronClosePanel").offsetHeight), 1421 (headerHeight = document.getElementById("tarteaucitronMainLineOffset").offsetHeight), 1422 (servicesHeight = mainHeight - closeButtonHeight - headerHeight + 1), 1423 tarteaucitron.userInterface.css("tarteaucitronScrollbarParent", "height", servicesHeight + "px"), 1424 jQuery(".dsgvoaio_popup_policyinner").height(servicesHeight)), 1425 document.getElementById("tarteaucitronScrollbarParent") !== null && 1426 document.getElementById("tarteaucitronScrollbarChild") !== null && 1427 (e[a + "Width"] <= 479 ? tarteaucitron.userInterface.css("tarteaucitronScrollbarAdjust", "marginLeft", "11px") : e[a + "Width"] <= 767 && (scrollbarMarginRight = 12), 1428 (scrollbarWidthParent = document.getElementById("tarteaucitronScrollbarParent").offsetWidth),
1429 (scrollbarWidthChild = document.getElementById("tarteaucitronScrollbarChild").offsetWidth), 1430 tarteaucitron.userInterface.css("tarteaucitronScrollbarAdjust", "marginRight", scrollbarWidthParent - scrollbarWidthChild + scrollbarMarginRight + "px")), 1431 document.getElementById("tarteaucitron") !== null && 1432 (e[a + "Width"] <= 767 ? (mainTop = 0) : (mainTop = (windowInnerHeight - document.getElementById("tarteaucitron").offsetHeight) / 2 - 21), 1433 mainTop < 0 && (mainTop = 0), 1434 document.getElementById("tarteaucitronMainLineOffset") !== null && 1435 document.getElementById("tarteaucitron").offsetHeight < windowInnerHeight / 2 && 1436 (mainTop -= document.getElementById("tarteaucitronMainLineOffset").offsetHeight), 1437 tarteaucitron.userInterface.css("tarteaucitron", "top", mainTop + "px"))) 1438 : type === "cookie" && 1439 (document.getElementById("tarteaucitronAlertSmall") !== null && tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer", "bottom", document.getElementById("tarteaucitronAlertSmall").offsetHeight + "px"), 1440 document.getElementById("tarteaucitronCookiesListContainer") !== null && 1441 (tarteaucitron.userInterface.css("tarteaucitronCookiesList", "height", "auto"), 1442 (cookiesListHeight = document.getElementById("tarteaucitronCookiesListContainer").offsetHeight), 1443 (cookiesCloseHeight = document.getElementById("tarteaucitronClosePanelCookie").offsetHeight), 1444 (cookiesTitleHeight = document.getElementById("tarteaucitronCookiesTitle").offsetHeight), 1445 tarteaucitron.userInterface.css("tarteaucitronCookiesList", "height", cookiesListHeight - cookiesCloseHeight - cookiesTitleHeight - 2 + "px"))); 1446 }, 1447 }, 1448 cookie: { 1449 owner: {}, 1450 create: function (key, status) { 1451 "use strict"; 1452 tarteaucitronForceExpire !== "" && (timeExipre = tarteaucitronForceExpire > 365 ? 31536000000 : tarteaucitronForceExpire * 86400000); 1453 var d = new Date(), 1454 time = d.getTime(), 1455 expireTime = time + timeExipre, 1456 regex = new RegExp("!" + key + "=(wait|true|false)", "g"), 1457 cookie = tarteaucitron.cookie.read().replace(regex, ""), 1458 value = tarteaucitron.parameters.cookieName + "=" + cookie + "!" + key + "=" + status, 1459 domain = tarteaucitron.parameters.cookieDomain !== undefined && tarteaucitron.parameters.cookieDomain !== "" ? "domain=" + tarteaucitron.parameters.cookieDomain + ";" : ""; 1460 tarteaucitron.cookie.read().indexOf(key + "=" + status) === -1 && tarteaucitron.pro("!" + key + "=" + status), 1461 localStorage.getItem("dsgvoaio_respondall") == "true" 1462 ? typeof Storage !== "undefined" 1463 ? (localStorage.setItem("dsgvoaio", value), localStorage.setItem("dsgvoaio_create", expireTime)) 1464 : console.log("Web Storage cannot be loaded...") 1465 : typeof Storage !== "undefined" 1466 ? (localStorage.setItem("dsgvoaio", value), localStorage.setItem("dsgvoaio_create", expireTime)) 1467 : console.log("Web Storage cannot be loaded..."), 1468 d.setTime(expireTime); 1469 }, 1470 read: function () { 1471 "use strict"; 1472 var nameEQ = tarteaucitron.parameters.cookieName + "=", 1473 ca = document.cookie.split(";"), 1474 i, 1475 c; 1476 return ( 1477 localStorage.getItem("dsgvoaio_respondall") == "true" ? (c = localStorage.getItem("dsgvoaio")) : (c = localStorage.getItem("dsgvoaio")), 1478 (c = localStorage.getItem("dsgvoaio")), 1479 c ? ((c = c), c.substring(nameEQ.length, c.length)) : "" 1480 ); 1481 }, 1482 purge: function (arr) { 1483 "use strict"; 1484 var i; 1485 for (i = 0; i < arr.length; i += 1) 1486 (document.cookie = arr[i] + "=; Max-Age=0"), 1487 (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/;"), 1488 (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=." + location.hostname + ";"), 1489 (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=." + location.hostname.split(".").slice(-2).join(".") + ";"); 1490 }, 1491 checkCount: function (key) { 1492 "use strict"; 1493 var arr = tarteaucitron.services[key].cookies, 1494 nb = arr.length, 1495 nbCurrent = 0, 1496 html = "", 1497 i, 1498 status = localStorage.getItem("dsgvoaio").indexOf(key + "=true"); 1499 var state = localStorage.getItem("dsgvoaio"); 1500 if ((state.indexOf(key + "=true") >= 0 ? (status = 1) : (status = -1), status >= 0 && nb === 0)) html += nocookietext; 1501 else if (status >= 0) { 1502 for (i = 0; i < nb; i += 1)
1503 document.cookie.indexOf(arr[i] + "=") !== -1 && 1504 ((nbCurrent += 1), 1505 tarteaucitron.cookie.owner[arr[i]] === undefined && (tarteaucitron.cookie.owner[arr[i]] = []), 1506 tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[arr[i]], tarteaucitron.services[key].name) === !1 && tarteaucitron.cookie.owner[arr[i]].push(tarteaucitron.services[key].name)); 1507 nbCurrent > 0 ? ((html += savedcookies + " " + nbCurrent), nbCurrent > 1) : (html += nocookietext); 1508 } else nb === 0 ? (html = tarteaucitron.lang.noCookie) : ((html += cansetcookiestext + " " + nb), nb > 1); 1509 document.getElementById("tacCL" + key).innerHTML = 1510 '<a href="javascript:void(0)" onclick="tarteaucitron.userInterface.dsgvoaio_open_details(\'' + 1511 key + 1512 "', '" + 1513 language + 1514 "');\">" + 1515 showpolicyname + 1516 '<span class="dsgvoaioinfoicon"><span class="dashicons dashicons-visibility"></span></span></a>'; 1517 }, 1518 crossIndexOf: function (arr, match) { 1519 "use strict"; 1520 var i; 1521 for (i = 0; i < arr.length; i += 1) if (arr[i] === match) return !0; 1522 return !1; 1523 }, 1524 number: function () { 1525 "use strict"; 1526 var cookies = document.cookie.split(";"), 1527 nb = document.cookie !== "" ? cookies.length : 0, 1528 html = "", 1529 i, 1530 name, 1531 namea, 1532 nameb, 1533 c, 1534 d, 1535 s = nb > 1 ? "s" : "", 1536 savedname, 1537 regex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i, 1538 regexedDomain = tarteaucitron.cdn.match(regex) !== null ? tarteaucitron.cdn.match(regex)[1] : tarteaucitron.cdn, 1539 host = tarteaucitron.domain !== undefined ? tarteaucitron.domain : regexedDomain; 1540 if ( 1541 ((cookies = cookies.sort(function (a, b) { 1542 return ( 1543 (namea = a.split("=", 1).toString().replace(/ /g, "")), 1544 (nameb = b.split("=", 1).toString().replace(/ /g, "")), 1545 (c = tarteaucitron.cookie.owner[namea] !== undefined ? tarteaucitron.cookie.owner[namea] : "0"), 1546 (d = tarteaucitron.cookie.owner[nameb] !== undefined ? tarteaucitron.cookie.owner[nameb] : "0"), 1547 c + a > d + b ? 1 : c + a < d + b ? -1 : 0 1548 ); 1549 })), 1550 document.cookie !== "") 1551 ) 1552 for (i = 0; i < nb; i += 1) 1553 (name = cookies[i].split("=", 1).toString().replace(/ /g, "")), 1554 tarteaucitron.cookie.owner[name] !== undefined && tarteaucitron.cookie.owner[name].join(" // ") !== savedname 1555 ? ((savedname = tarteaucitron.cookie.owner[name].join(" // ")), 1556 (html += '<div class="tarteaucitronHidden">'), 1557 (html += ' <div class="tarteaucitronTitle">'), 1558 (html += " " + tarteaucitron.cookie.owner[name].join(" // ")), 1559 (html += " </div>"), 1560 (html += "</div>")) 1561 : tarteaucitron.cookie.owner[name] === undefined && 1562 host !== savedname && 1563 ((savedname = host), (html += '<div class="tarteaucitronHidden">'), (html += ' <div class="tarteaucitronTitle">'), (html += " " + host), (html += " </div>"), (html += "</div>")), 1564 (html += '<div class="tarteaucitronCookiesListMain">'), 1565 (html += 1566 ' <div class="tarteaucitronCookiesListLeft"><a href="javascript:void(0)" onclick="tarteaucitron.cookie.purge([\'' + 1567 cookies[i].split("=", 1) + 1568 "']);tarteaucitron.cookie.number();tarteaucitron.userInterface.jsSizing('cookie');return false\"><b>×</b></a> <b>" + 1569 name + 1570 "</b>"),
1571 (html += " </div>"), 1572 (html += ' <div class="tarteaucitronCookiesListRight">' + cookies[i].split("=").slice(1).join("=") + "</div>"), 1573 (html += "</div>"); 1574 else (html += '<div class="tarteaucitronCookiesListMain">'), (html += ' <div class="tarteaucitronCookiesListLeft"><b>-</b></div>'), (html += ' <div class="tarteaucitronCookiesListRight"></div>'), (html += "</div>"); 1575 for ( 1576 html += '<div class="tarteaucitronHidden" style="height:20px;display:block"></div>', 1577 document.getElementById("tarteaucitronCookiesList") !== null && (document.getElementById("tarteaucitronCookiesList").innerHTML = html), 1578 document.getElementById("tarteaucitronCookiesNumber") !== null && (document.getElementById("tarteaucitronCookiesNumber").innerHTML = nb), 1579 document.getElementById("tarteaucitronCookiesNumberBis") !== null && (document.getElementById("tarteaucitronCookiesNumberBis").innerHTML = nb + " cookie" + s), 1580 i = 0; 1581 i < tarteaucitron.job.length; 1582 i += 1 1583 ) 1584 tarteaucitron.cookie.checkCount(tarteaucitron.job[i]); 1585 }, 1586 }, 1587 getLanguage: function () { 1588 "use strict"; 1589 if (!navigator) return "en"; 1590 var availableLanguages = "cs,en,fr,es,it,de,nl,pt,pl,ru", 1591 defaultLanguage = "en", 1592 lang = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLang || null, 1593 userLanguage = lang.substr(0, 2); 1594 return tarteaucitronForceLanguage !== "" && availableLanguages.indexOf(tarteaucitronForceLanguage) !== -1 ? tarteaucitronForceLanguage : availableLanguages.indexOf(userLanguage) === -1 ? defaultLanguage : userLanguage; 1595 }, 1596 getLocale: function () { 1597 "use strict"; 1598 if (!navigator) return "en_US"; 1599 var lang = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLang || null, 1600 userLanguage = lang.substr(0, 2); 1601 return userLanguage === "fr" 1602 ? "fr_FR" 1603 : userLanguage === "en" 1604 ? "en_US" 1605 : userLanguage === "de" 1606 ? "de_DE" 1607 : userLanguage === "es" 1608 ? "es_ES" 1609 : userLanguage === "it" 1610 ? "it_IT" 1611 : userLanguage === "pt" 1612 ? "pt_PT" 1613 : userLanguage === "nl" 1614 ? "nl_NL" 1615 : "en_US"; 1616 }, 1617 addScript: function (url, id, callback, execute, attrName, attrVal) { 1618 "use strict"; 1619 var script, 1620 done = !1; 1621 execute === !1 1622 ? typeof callback === "function" && callback() 1623 : ((script = document.createElement("script")), 1624 (script.type = "text/javascript"), 1625 (script.id = id !== undefined ? id : ""), 1626 (script.async = !0), 1627 (script.src = url), 1628 attrName !== undefined && attrVal !== undefined && script.setAttribute(attrName, attrVal), 1629 typeof callback === "function" && 1630 (script.onreadystatechange = script.onload = function () { 1631 var state = script.readyState; 1632 !done && (!state || /loaded|complete/.test(state)) && ((done = !0), callback()); 1633 }), 1634 document.getElementsByTagName("head")[0].appendChild(script)); 1635 }, 1636 makeAsync: { 1637 antiGhost: 0, 1638 buffer: "", 1639 init: function (url, id) { 1640 "use strict"; 1641 var savedWrite = document.write, 1642 savedWriteln = document.writeln; 1643 (document.write = function (content) { 1644 tarteaucitron.makeAsync.buffer += content; 1645 }), 1646 (document.writeln = function (content) { 1647 tarteaucitron.makeAsync.buffer += content.concat("\n"); 1648 }), 1649 setTimeout(function () { 1650 (document.write = savedWrite), (document.writeln = s
1650avedWriteln); 1651 }, 20000), 1652 tarteaucitron.makeAsync.getAndParse(url, id); 1653 }, 1654 getAndParse: function (url, id) { 1655 "use strict"; 1656 if (tarteaucitron.makeAsync.antiGhost > 9) { 1657 tarteaucitron.makeAsync.antiGhost = 0; 1658 return; 1659 } 1660 (tarteaucitron.makeAsync.antiGhost += 1), 1661 tarteaucitron.addScript(url, "", function () { 1662 document.getElementById(id) !== null && 1663 ((document.getElementById(id).innerHTML += "<span style='display:none'> </span>" + tarteaucitron.makeAsync.buffer), (tarteaucitron.makeAsync.buffer = ""), tarteaucitron.makeAsync.execJS(id)); 1664 }); 1665 }, 1666 execJS: function (id) { 1667 var i, scripts, childId, type; 1668 if (document.getElementById(id) === null) return; 1669 for (scripts = document.getElementById(id).getElementsByTagName("script"), i = 0; i < scripts.length; i += 1) 1670 (type = scripts[i].getAttribute("type") !== null ? scripts[i].getAttribute("type") : ""), 1671 type === "" && (type = scripts[i].getAttribute("language") !== null ? scripts[i].getAttribute("language") : ""), 1672 scripts[i].getAttribute("src") !== null && scripts[i].getAttribute("src") !== "" 1673 ? ((childId = id + Math.floor(Math.random() * 99999999999)), 1674 (document.getElementById(id).innerHTML += '<div id="' + childId + '"></div>'), 1675 tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"), childId)) 1676 : (type.indexOf("javascript") !== -1 || type === "") && eval(scripts[i].innerHTML); 1677 }, 1678 }, 1679 fallback: function (matchClass, content, noInner) { 1680 "use strict"; 1681 var elems = document.getElementsByTagName("*"), 1682 i, 1683 index = 0; 1684 for (i in elems) 1685 if (elems[i] !== undefined) 1686 for (index = 0; index < matchClass.length; index += 1) 1687 (" " + elems[i].className + " ").indexOf(" " + matchClass[index] + " ") > -1 && 1688 (typeof content === "function" ? (noInner === !0 ? content(elems[i]) : (elems[i].innerHTML = content(elems[i]))) : (elems[i].innerHTML = content)); 1689 }, 1690 engage: function (id) { 1691 "use strict"; 1692 var currid = id + "_spt"; 1693 var keys = Object.keys(obj); 1694 var policytext = ""; 1695 for (let i = 0; i < keys.length; i++) { 1696 var key = keys[i]; 1697 key == currid && (policytext = obj[key]); 1698 } 1699 var html = "", 1700 r = Math.floor(Math.random() * 100000); 1701 return show_layertext == "on" 1702 ? ((html += '<div class="tac_activate">'), 1703 (html += ' <div class="tac_float">'), 1704 (html += ' <div class="tac_service_msg">'), 1705 (html += policytext), 1706 (html += " </div>"), 1707 (html += " <b>" + tarteaucitron.services[id].name + "</b> " + tarteaucitron.lang.fallback), 1708 (html += ' <div class="tarteaucitronAllow" id="Eng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.respond(this, true);">'), 1709 (html += " ✓ " + accepttext), 1710 (html += " </div>"), 1711 (html += ' <div class="tarteaucitronPolicy" id="ZeEng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.showPolicy(this, true);">'), 1712 (html += policytextbtn), 1713 (html += " </div>"), 1714 (html += " </div>"), 1715 (html += "</div>"), 1716 html) 1717 : ((html += '<div class="tac_activate">'), 1718 (html += ' <div class="tac_float">'), 1719 (html += " <b>" + tarteaucitron.services[id].name + "</b> " + tarteaucitron.lang.fallback), 1720 (html += ' <div class="tarteaucitronAllow" id="Eng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.respond(this, true);">'), 1721 (html += " ✓ " + accepttext), 1722 (html += " </div>"), 1723 (html += ' <div class="tarteaucitronPolicy" id="ZeEng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.showPol
1723icy(this, true);">'), 1724 (html += policytextbtn), 1725 (html += " </div>"), 1726 (html += " </div>"), 1727 (html += "</div>"), 1728 html); 1729 }, 1730 extend: function (a, b) { 1731 "use strict"; 1732 var prop; 1733 for (prop in b) b.hasOwnProperty(prop) && (a[prop] = b[prop]); 1734 }, 1735 proTemp: "", 1736 proTimer: function () { 1737 "use strict"; 1738 }, 1739 pro: function (list) { 1740 "use strict"; 1741 (tarteaucitron.proTemp += list), clearTimeout(tarteaucitron.proTimer), (tarteaucitron.proTimer = setTimeout(tarteaucitron.proPing, 2500)); 1742 }, 1743 proPing: function () { 1744 "use strict"; 1745 if (tarteaucitron.uuid !== "" && tarteaucitron.uuid !== undefined && tarteaucitron.proTemp !== "") { 1746 var div = document.getElementById("tarteaucitronPremium"), 1747 timestamp = new Date().getTime(), 1748 url = "//mlfactory.de/premium.php?"; 1749 if (div === null) return; 1750 (url += "domain=" + tarteaucitron.domain + "&"), 1751 (url += "uuid=" + tarteaucitron.uuid + "&"), 1752 (url += "c=" + encodeURIComponent(tarteaucitron.proTemp) + "&"), 1753 (url += "_" + timestamp), 1754 (div.innerHTML = '<img src="' + url + '" style="display:none" />'), 1755 (tarteaucitron.proTemp = ""); 1756 } 1757 tarteaucitron.cookie.number(); 1758 }, 1759 AddOrUpdate: function (source, custom) { 1760 for (key in custom) custom[key] instanceof Object ? (source[key] = tarteaucitron.AddOrUpdate(source[key], custom[key])) : (source[key] = custom[key]); 1761 return source; 1762 }, 1763}; 1764jQuery(document).ready(function (event) { 1765 jQuery(".export_usr_datas").click(function () { 1766 var $this = jQuery(this); 1767 jQuery.ajax({ type: "POST", url: adminajaxurl, data: { action: "dsgvoaio_user_data_pdf", nonce: jQuery(".export_usr_datas").data("nonce") }, success: function (result) {}, error: function () {} }); 1768 }); 1769 1770}); 1771var tld_ = new Array(); 1772(tld_[0] = "com"), (tld_[1] = "org"), (tld_[2] = "net"), (tld_[3] = "ws"), (tld_[4] = "info"), (tld_[10] = "co.uk"), (tld_[11] = "org.uk"), (tld_[12] = "gov.uk"), (tld_[13] = "ac.uk"); 1773var topDom_ = 13; 1774var m_ = "mailto:"; 1775var a_ = "@"; 1776var d_ = "."; 1777
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.