/* --- Parameters --- */ var consent_manager_parameters = {initially_hidden: false, domain: "ziemergroup.com", consentid: "66e9cdeb0ab150.76826832", cachelogid: "122", version: "4.3.0", fe_controller: "/", forcereload: 1, hidebodyscrollbar: false}; /* --- Consent-Manager Box Template lang=1 --- */ var consent_manager_box_template = '
'; const cmCookieExpires = 365; /* --- /assets/addons/consent_manager/js.cookie.min.js --- */ /*! js-cookie v3.0.5 | MIT */ !function (t, n) { "object" == typeof exports && "undefined" != typeof module ? module.exports = n() : "function" == typeof define && define.amd ? define(n) : (t = "undefined" != typeof globalThis ? globalThis : t || self, function () { var e = t.Cookies, exports = t.Cookies = n(); exports.noConflict = function () { t.Cookies = e; return exports } }()) }(this, function () { "use strict"; function c(e) { for (var t = 1; t < arguments.length; t++) { var n, o = arguments[t]; for (n in o) e[n] = o[n] } return e } return function t(u, i) { function n(e, t, n) { if ("undefined" != typeof document) { "number" == typeof (n = c({}, i, n)).expires && (n.expires = new Date(Date.now() + 864e5 * n.expires)); n.expires && (n.expires = n.expires.toUTCString()); e = encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape); var o, r = ""; for (o in n) if (n[o]) { r += "; " + o; !0 !== n[o] && (r += "=" + n[o].split(";")[0]) } return document.cookie = e + "=" + u.write(t, e) + r } } return Object.create({ set: n, get: function (e) { if ("undefined" != typeof document && (!arguments.length || e)) { for (var t = document.cookie ? document.cookie.split("; ") : [], n = {}, o = 0; o < t.length; o++) { var r = t[o].split("="), i = r.slice(1).join("="); try { var c = decodeURIComponent(r[0]); n[c] = u.read(i, c); if (e === c) break } catch (e) { } } return e ? n[e] : n } }, remove: function (e, t) { n(e, "", c({}, t, { expires: -1 })) }, withAttributes: function (e) { return t(this.converter, c({}, this.attributes, e)) }, withConverter: function (e) { return t(c({}, this.converter, e), this.attributes) } }, { attributes: { value: Object.freeze(i) }, converter: { value: Object.freeze(u) } }) }({ read: function (e) { return (e = '"' === e[0] ? e.slice(1, -1) : e).replace(/(%[\dA-F]{2})+/gi, decodeURIComponent) }, write: function (e) { return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent) } }, { path: "/" }) }); /* --- /assets/addons/consent_manager/consent_manager_polyfills.js --- */ // get IE version https://stackoverflow.com/a/19999868 function consent_managerIEVersion(){var n=window.navigator.userAgent,i=n.indexOf("MSIE ");return i>0?parseInt(n.substring(i+5,n.indexOf(".",i))):-1} // element.classList polyfill http://purl.eligrey.com/github/classList.js/blob/master/classList.js "document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||!function(t){"use strict";if("Element"in t){var e="classList",n="prototype",i=t.Element[n],s=Object,r=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[n].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},c=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},a=function(t,e){if(""===e)throw new c("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(e))throw new c("INVALID_CHARACTER_ERR","The token must not contain space characters.");return o.call(t,e)},l=function(t){for(var e=r.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],i=0,s=n.length;s>i;i++)this.push(n[i]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},u=l[n]=[],h=function(){return new l(this)};if(c[n]=Error[n],u.item=function(t){return this[t]||null},u.contains=function(t){return~a(this,t+"")},u.add=function(){var t,e=arguments,n=0,i=e.length,s=!1;do t=e[n]+"",~a(this,t)||(this.push(t),s=!0);while(++nn;n++)t=arguments[n],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(t,e){var n=this.toString().split(" "),i=n.indexOf(t+"");~i&&(n=n.slice(i),this.remove.apply(this,n),this.add(e),this.add.apply(this,n.slice(1)))}),t=null}()); // DOMParser polyfill https://gist.github.com/1129031 !function(t){"use strict";var e=t.prototype,r=e.parseFromString;try{if((new t).parseFromString("","text/html"))return}catch(t){}e.parseFromString=function(t,e){if(/^\s*text\/html\s*(?:;|$)/i.test(e)){var n=document.implementation.createHTMLDocument("");return t.toLowerCase().indexOf("-1?n.documentElement.innerHTML=t:n.body.innerHTML=t,n}return r.apply(this,arguments)}}(DOMParser); // nodelist.forEach polyfill https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach if (window.NodeList && !NodeList.prototype.forEach){NodeList.prototype.forEach = Array.prototype.forEach;} // node.remove polyfill https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/remove()/remove().md [Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}); // custom event polyfill https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill !function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(n,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var e=document.createEvent("CustomEvent");return e.initCustomEvent(n,t.bubbles,t.cancelable,t.detail),e}}(); /* --- /assets/addons/consent_manager/consent_manager_frontend.min.js --- */ const cmCookieAPI=Cookies.withAttributes({expires:cmCookieExpires,path:"/",domain:consent_manager_parameters.domain,sameSite:"Lax",secure:!1});function consent_manager_showBox(){var e=[];void 0!==cmCookieAPI.get("consent_manager")&&(cookieData=JSON.parse(cmCookieAPI.get("consent_manager")),cookieData.hasOwnProperty("version")&&(e=cookieData.consents)),consent_managerBox=document.getElementById("consent_manager-background"),consent_managerBox.querySelectorAll("[data-cookie-uids]").forEach((function(n){var o=!0;JSON.parse(n.getAttribute("data-cookie-uids")).forEach((function(n){-1===e.indexOf(n)&&(o=!1)})),o&&(n.checked=!0)})),consent_manager_parameters.hidebodyscrollbar&&(document.querySelector("body").style.overflow="hidden"),document.getElementById("consent_manager-background").classList.remove("consent_manager-hidden");var n=consent_managerBox.querySelectorAll('input[type="checkbox"]')[0];consent_managerBox.focus(),n&&n.focus()}function consent_manager_hasconsent(e){return void 0!==cmCookieAPI.get("consent_manager")&&-1!==JSON.parse(cmCookieAPI.get("consent_manager")).consents.indexOf(e)}!function(){"use strict";var e,n,o,t=0,a={},r=[],c=-1,s=-1;function i(n){if(r=[],a={consents:[],version:e,consentid:consent_manager_parameters.consentid,cachelogid:consent_manager_parameters.cachelogid},"none"!==n?o.querySelectorAll("[data-cookie-uids]").forEach((function(e){var t=JSON.parse(e.getAttribute("data-cookie-uids"));e.checked||"all"===n?t.forEach((function(e){r.push(e),m(o.querySelector('[data-uid="script-'+e+'"]')),l(o.querySelector('[data-uid="script-unselect-'+e+'"]'))})):t.forEach((function(e){l(o.querySelector('[data-uid="script-'+e+'"]')),m(o.querySelector('[data-uid="script-unselect-'+e+'"]'))}))})):o.querySelectorAll("[data-cookie-uids]").forEach((function(e){var n=JSON.parse(e.getAttribute("data-cookie-uids"));e.disabled?n.forEach((function(e){r.push(e),m(o.querySelector('[data-uid="script-'+e+'"]')),l(o.querySelector('[data-uid="script-unselect-'+e+'"]'))})):(e.checked=!1,n.forEach((function(e){l(o.querySelector('[data-uid="script-'+e+'"]')),m(o.querySelector('[data-uid="script-unselect-'+e+'"]'))})))})),a.consents=r,cmCookieAPI.set("consent_manager",JSON.stringify(a)),void 0===cmCookieAPI.get("consent_manager"))consent_manager_parameters.no_cookie_set=!0,console.warn("Addon consent_manager: Es konnte kein Cookie für die Domain "+document.domain+" gesetzt werden!");else{var t=new XMLHttpRequest,c=consent_manager_parameters.fe_controller+"?rex-api-call=consent_manager&buster="+(new Date).getTime(),s="domain="+document.domain+"&consentid="+consent_manager_parameters.consentid+"&buster="+(new Date).getTime();t.onerror=e=>{console.error("Addon consent_manager: Fehler beim speichern des Consent! "+t.statusText)},t.open("POST",c,!1),t.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t.setRequestHeader("Cache-Control","no-cache, no-store, max-age=0"),t.setRequestHeader("Expires","Thu, 1 Jan 1970 00:00:00 GMT"),t.setRequestHeader("Pragma","no-cache"),t.send(s)}document.querySelectorAll(".consent_manager-show-box-reload").length||1===consent_manager_parameters.forcereload?location.reload():document.dispatchEvent(new CustomEvent("consent_manager-saved",{detail:JSON.stringify(r)}))}function d(){var e=consent_manager_parameters.domain;for(var n in cmCookieAPI.get())cmCookieAPI.remove(encodeURIComponent(n)),cmCookieAPI.remove(encodeURIComponent(n),{domain:e}),cmCookieAPI.remove(encodeURIComponent(n),{path:"/"}),cmCookieAPI.remove(encodeURIComponent(n),{domain:e,path:"/"}),cmCookieAPI.remove(encodeURIComponent(n),{domain:"."+e}),cmCookieAPI.remove(encodeURIComponent(n),{domain:"."+e,path:"/"}),Cookies.remove(encodeURIComponent(n),{domain:window.location.hostname}),Cookies.remove(encodeURIComponent(n),{path:"/"}),Cookies.remove(encodeURIComponent(n),{domain:window.location.hostname,path:"/"})}function m(e){var n;if(e&&!e.children.length){n=(new DOMParser).parseFromString(window.atob(e.getAttribute("data-script")),"text/html");for(var o=0;o