1var COOKIE = {}; 2 COOKIE.caller = false; 3 COOKIE.Init = function(_CALLBACK){ 4 5 6 7 COOKIE.caller = _CALLBACK; 8 if(!window.sessionStorage.getItem('dsgvo') || window.sessionStorage.getItem('dsgvo')==""){ 9 COOKIE.alertCookie() 10 cookieSettings = false; 11 }else{ 12 COOKIE.reInit(); 13 var cookieSettings = JSON.parse(window.sessionStorage.getItem('dsgvo')); 14 COOKIE.caller(cookieSettings); 15 } 16 17 $('body').append('<div id="cookieBG"></div>'); 18 19 var settingsTemplate = '<div id="cookie-side">' 20 + '<div class="close" onclick="COOKIE.closeSettings()"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 341.751 341.751" style="enable-background:new 0 0 341.751 341.751;" xml:space="preserve"> <g> <g> <rect x="-49.415" y="149.542" transform="matrix(0.7072 -0.707 0.707 0.7072 -70.7868 170.8326)" width="440.528" height="42.667"></rect> </g> </g> <g> <g> <rect x="149.569" y="-49.388" transform="matrix(0.707 -0.7072 0.7072 0.707 -70.7712 170.919)" width="42.667" height="440.528"></rect> </g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> </svg></div>' 21 + '<div class="title">'+COOKIES.snippets.settings+'</div>' 22 + '<div class="scroller">' 23 + '<p>'+COOKIES.snippets.csetText+'</p>' 24 + '<div class="subtitle" rel="0">'+COOKIES.snippets.notwenig+'<div class="switch"><input type="checkbox" name="essenz" id="csessenz" disabled checked><label style="cursor: not-allowed" for="csessenz"></label></div></div>' 25 + '<div class="klapp" rel="0"><p class="light">'+COOKIES.snippets.notText+'</p><p class="light" style="color: #c7c7c7; font-weight: 300; padding-top:0"><em>'+COOKIES.snippets.nodisable+'</em></p></div>'; 26 if(COOKIES.settings.google == "1"){ 27 settingsTemplate += '<div class="subtitle" rel="1">'+COOKIES.snippets.googlehead+'<div class="switch"><input '; 28 if(cookieSettings && cookieSettings.google && cookieSettings.google == "y"){ 29 settingsTemplate += " checked "; 30 } 31 settingsTemplate += ' type="checkbox" name="google" id="csgoogle"><label for="csgoogle"></label></div></div>' 32 + '<div class="klapp" rel="1"><p class="light">'+COOKIES.snippets.googletext+'</p></div>'; 33 } 34 if(COOKIES.settings.social == "1"){ 35 settingsTemplate += '<div class="subtitle" rel="2">'+COOKIES.snippets.socialhead+'<div class="switch"><input '; 36 if(cookieSettings && cookieSettings.social && cookieSettings.social == "y"){ 37 settingsTemplate += " checked "; 38 } 39 settingsTemplate += ' type="checkbox" name="social" id="cssocial"><label for="cssocial"></label></div></div>' 40 + '<div class="klapp" rel="2"><p class="light">'+COOKIES.snippets.socialtext+'</p></div>'; 41 } 42 if(COOKIES.settings.analytics == "1"){ 43 settingsTemplate += '<div class="subtitle" rel="2">'+COOKIES.snippets.analyticshead+'<div class="switch"><input'; 44 if(cookieSettings && cookieSettings.analytics && cookieSettings.analytics == "y"){ 45 settingsTemplate += " checked "; 46 } 47 settingsTemplate += ' type="checkbox" name="analytics" id="csanalytics"><label for="csanalytics"></label></div></div>' 48 + '<div class="klapp" rel="2"><p class="light">'+COOKIES.snippets.analyticstext+'</p></div>'; 49 } 50 if(COOKIES.settings.other == "1"){ 51 settingsTemplate += '<div class="subtitle" rel="2">'+COOKIES.snippets.otherhead+'<div class="switch"><input'; 52 if(cookieSettings && cookieSettings.other && cookieSettings.other == "y"){ 53 settingsTemplate += " checked "; 54 } 55 settingsTemplate += ' type="checkbox" name="other" id="csother"><label for="csother"></label></div></div>' 56 + '<div class="klapp" rel="2"><p class="light">'+COOKIES.snippets.othertext+'</p></div>'; 57 } 58 59 settingsTemplate += '</div>' 60 + '<div class="c-actions">' 61 + '<a onclick="COOKIE.save()">'+COOKIES.snippets.saveNow+'</a>' 62 + '<a onclick="COOKIE.acceppt()" class="prim">'+COOKIES.snippets.acceptAll+'</a>' 63 + '</div>' 64 + '</div>'; 65 66 67 $('body').append(settingsTemplate); 68 69 }; 70 COOKIE.alertCookie = function(){ 71 var cTPL = '<div id="cookieAlert">' 72 + '<item class="text">'+COOKIES.snippets.weUse+'</item>' 73 + '<item onclick="COOKIE.openSettings()" class="btn-settings"><a>'+COOKIES.snippets.settings+'</a></item>' 74 + '<item onclick="COOKIE.acceppt()" class="btn-save"><a>'+COOKIES.snippets.acceptAll+'</a></item>' 75 + '</div>'; 76 $('body').append(cTPL); 77 78 }; 79 COOKIE.save = function(){ 80 var cookieSettings = {}; 81 $('#cookie-side input').each(function(){ 82 if($(this).prop('checked')==true){ 83 cookieSettings[$(this).attr("name")] = "y"; 84 }else{ 85 cookieSettings[$(this).attr("name")] = "n"; 86 } 87 }); 88 window.sessionStorage.setItem('dsgvo',JSON.stringify(cookieSettings)); 89 COOKIE.reInit(); 90 COOKIE.caller(cookieSettings); 91 }; 92 COOKIE.acceppt = function(){ 93 var cookieSettings = {}; 94 $('#cookie-side input').each(function(){ 95 cookieSettings[$(this).attr("name")] = "y"; 96 $(this).prop('checked',true); 97 }); 98 window.sessionStorage.setItem('dsgvo',JSON.stringify(cookieSettings)); 99 COOKIE.reInit(); 100 COOKIE.caller(cookieSettings); 101 }; 102 COOKIE.reInit = function(){ 103 $('#cookieAlert').remove(); 104 $("#ocS-open").remove(); 105 if($('#cookieBG').length!=0 && $('#cookieBG').hasClass("see")){ 106 COOKIE.closeSettings(); 107 } 108 $('body').append('<div id="ocS-open" onclick="COOKIE.openSettings()"><svg height="511pt" viewBox="-45 0 511 511.99912" width="511pt" xmlns="http://www.w3.org/2000/svg"><path d="m180.890625 113.21875c2.996094.300781 6 .902344 9 2.101562 22.941406 8.453126 35.792969 34.042969 27.003906 57.90625-8.128906 22.542969-33.390625 35.25-57.609375 26.707032-23.402344-8.402344-35.40625-34.207032-27.003906-57.609375 3.601562-9.902344 9.902344-17.703125 18.902344-23.105469-.296875-4.199219-.601563-8.699219-.601563-13.203125 0-20.402344 3.902344-39.003906 10.804688-54.910156-51.140625 0-103.796875 33.054687-123.921875 88.515625-15.601563 42.605468-8.398438 90.015625 18.003906 126.019531l-54.007812 149.523437c-1.5000005 3.601563-1.203126 7.800782.597656 11.402344l35.707031 76.8125c3.378906 6.757813 11.296875 10.972656 20.101563 7.203125l76.8125-35.707031c7.5-3.601562 10.804687-12.601562 7.203124-20.101562l-11.402343-24.90625 24.605469-11.402344c7.5-3.597656 10.800781-12.601563 7.5-20.101563l-11.699219-24.601562 24.902343-11.703125c3.597657-1.800782 6.296876-4.8
10800782 7.796876-8.402344l12.90625-36.40625c43.503906-10.800781 79.210937-42.90625 94.8125-85.210938 24.992187-68.886718-9.277344-146.914062-80.710938-172.828124-5.703125-2.101563-11.402344-3.902344-17.105469-4.800782-8.101562 13.5-12.902343 31.804688-12.902343 51.605469 0 2.402344 0 4.800781.304687 7.203125zm0 0"/><path d="m169.484375 171.726562c7.800781 3 16.503906-1.199218 19.203125-9 2.496094-7.484374-.675781-16.003906-9-19.203124-6.953125-2.785157-15.820312.875-19.203125 9-2.71875 7.074218.679687 16.644531 9 19.203124zm0 0"/><path d="m225.59375 0c-29.835938 0-52.628906 23.609375-64.210938 51.105469 10.804688-.597657 21.605469.601562 32.105469 3.304687 6.925781-12.410156 18.070313-24.40625 32.105469-24.40625 9.300781 0 18.304688 6.703125 26.105469 16.003906 63.4375 39.472657 95.289062 120.386719 67.8125 196.230469-15.605469 42.605469-47.410157 76.210938-87.914063 94.214844l6 17.203125c1.5 3.601562 4.199219 6.601562 7.796875 8.402344l24.90625 11.699218-11.703125 24.605469c-3.300781 7.5 0 16.503907 7.503906 20.101563l24.601563 11.402344-11.402344 24.90625c-3.597656 7.5-.296875 16.5 7.203125 20.101562l76.8125 35.703125c8.605469 3.6875 16.625-.246094 20.105469-7.199219l35.703125-76.8125c1.800781-3.601562 2.101562-7.800781.601562-11.402344l-54.011718-149.523437c26.40625-36.003906 33.605468-83.414063 18.003906-126.019531-14.222656-39.195313-46.042969-71.527344-92.414062-84.015625-12.898438-33.300781-37.804688-55.605469-65.710938-55.605469zm0 0"/></svg><span>'+COOKIES.snippets.privacy+'</span></div>') 109 window.onscroll = function(ev) { 110 if ((window.innerHeight + window.scrollY) >= (document.body.offsetHeight - 40 )) { 111 $("#ocS-open").addClass('hide'); 112 }else{ 113 $("#ocS-open").removeClass('hide'); 114 } 115 }; 116 }; 117 COOKIE.openSettings = function(){ 118 $('#cookieBG').unbind('click'); 119 $('#cookieBG').bind('click',function(){ 120 COOKIE.closeSettings(); 121 }); 122 $('#cookieBG').addClass('see'); 123 $('body').addClass('noscroll'); 124 window.setTimeout(function(){ 125 $('#cookieBG, #cookie-side').addClass('show'); 126 },10); 127 }; 128 COOKIE.closeSettings = function(){ 129 $('#cookieBG, #cookie-side').removeClass('show'); 130 $('body').removeClass('noscroll'); 131 window.setTimeout(function(){ 132 $('#cookieBG').removeClass('see'); 133 },310); 134 }; 135
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.