1 line
34 KiB
JavaScript
1 line
34 KiB
JavaScript
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=32)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var i=n(4),o=n(17);t.exports=n(3)?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(20)("wks"),o=n(12),r=n(0).Symbol,s="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=s&&r[t]||(s?r:o)("Symbol."+t))}).store=i},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(9),o=n(34),r=n(35),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(0),o=n(8),r=n(1),s=n(11),c=n(18),a=function(t,e,n){var l,u,p,h,f=t&a.F,d=t&a.G,v=t&a.S,m=t&a.P,y=t&a.B,b=d?i:v?i[e]||(i[e]={}):(i[e]||{}).prototype,g=d?o:o[e]||(o[e]={}),k=g.prototype||(g.prototype={});for(l in d&&(n=e),n)p=((u=!f&&b&&void 0!==b[l])?b:n)[l],h=y&&u?c(p,i):m&&"function"==typeof p?c(Function.call,p):p,b&&s(b,l,p,t&a.U),g[l]!=p&&r(g,l,h),m&&k[l]!=p&&(k[l]=p)};i.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){var n=t.exports={version:"2.6.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(5);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(0),o=n(1),r=n(6),s=n(12)("src"),c=Function.toString,a=(""+c).split("toString");n(8).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var l="function"==typeof n;l&&(r(n,"name")||o(n,"name",e)),t[e]!==n&&(l&&(r(n,s)||o(n,s,t[e]?""+t[e]:a.join(String(e)))),t===i?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||c.call(this)})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports={}},function(t,e,n){var i=n(22),o=n(24);t.exports=function(t){return i(o(t))}},function(t,e,n){var i=n(20)("keys"),o=n(12);t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var i=n(5),o=n(0).document,r=i(o)&&i(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(36);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){for(var i=n(37),o=n(25),r=n(11),s=n(0),c=n(1),a=n(13),l=n(2),u=l("iterator"),p=l("toStringTag"),h=a.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(f),v=0;v<d.length;v++){var m,y=d[v],b=f[y],g=s[y],k=g&&g.prototype;if(k&&(k[u]||c(k,u,h),k[p]||c(k,p,y),a[y]=h,b))for(m in i)k[m]||r(k,m,i[m],!0)}},function(t,e,n){var i=n(8),o=n(0),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(21)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var i=n(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(44),o=n(28);t.exports=Object.keys||function(t){return i(t,o)}},function(t,e,n){var i=n(27),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(4).f,o=n(6),r=n(2)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},function(t,e,n){var i=n(24);t.exports=function(t){return Object(i(t))}},function(t,e,n){"use strict";var i=n(7),o=n(49)(0),r=n(53)([].forEach,!0);i(i.P+i.F*!r,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){t.exports=n(55)},function(t,e,n){var i=n(7);i(i.S+i.F*!n(3),"Object",{defineProperty:n(4).f})},function(t,e,n){t.exports=!n(3)&&!n(10)(function(){return 7!=Object.defineProperty(n(16)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(5);t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var i=n(38),o=n(39),r=n(13),s=n(14);t.exports=n(40)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(2)("unscopables"),o=Array.prototype;null==o[i]&&n(1)(o,i,{}),t.exports=function(t){o[i][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var i=n(21),o=n(7),r=n(11),s=n(1),c=n(13),a=n(41),l=n(29),u=n(48),p=n(2)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,n,d,v,m,y){a(n,e,d);var b,g,k,w=function(t){if(!h&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==v,O=!1,C=t.prototype,E=C[p]||C["@@iterator"]||v&&C[v],L=E||w(v),T=v?S?w("entries"):L:void 0,P="Array"==e&&C.entries||E;if(P&&(k=u(P.call(new t)))!==Object.prototype&&k.next&&(l(k,x,!0),i||"function"==typeof k[p]||s(k,p,f)),S&&E&&"values"!==E.name&&(O=!0,L=function(){return E.call(this)}),i&&!y||!h&&!O&&C[p]||s(C,p,L),c[e]=L,c[x]=f,v)if(b={values:S?L:w("values"),keys:m?L:w("keys"),entries:T},y)for(g in b)g in C||r(C,g,b[g]);else o(o.P+o.F*(h||O),e,b);return b}},function(t,e,n){"use strict";var i=n(42),o=n(17),r=n(29),s={};n(1)(s,n(2)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:o(1,n)}),r(t,e+" Iterator")}},function(t,e,n){var i=n(9),o=n(43),r=n(28),s=n(15)("IE_PROTO"),c=function(){},a=function(){var t,e=n(16)("iframe"),i=r.length;for(e.style.display="none",n(47).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;i--;)delete a.prototype[r[i]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=i(t),n=new c,c.prototype=null,n[s]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var i=n(4),o=n(9),r=n(25);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=r(e),c=s.length,a=0;c>a;)i.f(t,n=s[a++],e[n]);return t}},function(t,e,n){var i=n(6),o=n(14),r=n(45)(!1),s=n(15)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,l=[];for(n in c)n!=s&&i(c,n)&&l.push(n);for(;e.length>a;)i(c,n=e[a++])&&(~r(l,n)||l.push(n));return l}},function(t,e,n){var i=n(14),o=n(26),r=n(46);t.exports=function(t){return function(e,n,s){var c,a=i(e),l=o(a.length),u=r(s,l);if(t&&n!=n){for(;l>u;)if((c=a[u++])!=c)return!0}else for(;l>u;u++)if((t||u in a)&&a[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var i=n(27),o=Math.max,r=Math.min;t.exports=function(t,e){return(t=i(t))<0?o(t+e,0):r(t,e)}},function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(6),o=n(30),r=n(15)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var i=n(18),o=n(22),r=n(30),s=n(26),c=n(50);t.exports=function(t,e){var n=1==t,a=2==t,l=3==t,u=4==t,p=6==t,h=5==t||p,f=e||c;return function(e,c,d){for(var v,m,y=r(e),b=o(y),g=i(c,d,3),k=s(b.length),w=0,x=n?f(e,k):a?f(e,0):void 0;k>w;w++)if((h||w in b)&&(m=g(v=b[w],w,y),t))if(n)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(u)return!1;return p?-1:l||u?u:x}}},function(t,e,n){var i=n(51);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(5),o=n(52),r=n(2)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),i(e)&&null===(e=e[r])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var i=n(23);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(10);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e){!function(t){if(!t.hasInitialised){var e={escapeRegExp:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(t,e){var n=" ";return 1===t.nodeType&&(n+t.className+n).replace(/[\n\t]/g,n).indexOf(n+e+n)>=0},addClass:function(t,e){t.className+=" "+e},removeClass:function(t,e){var n=new RegExp("\\b"+this.escapeRegExp(e)+"\\b");t.className=t.className.replace(n,"")},interpolateString:function(t,e){return t.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(t){return e(arguments[1])||""})},getCookie:function(t){var e=("; "+document.cookie).split("; "+t+"=");return e.length<2?void 0:e.pop().split(";").shift()},setCookie:function(t,e,n,i,o,r){var s=new Date;s.setDate(s.getDate()+(n||365));var c=[t+"="+e,"expires="+s.toUTCString(),"path="+(o||"/")];i&&c.push("domain="+i),r&&c.push("secure"),document.cookie=c.join(";")},deepExtend:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(n in t&&this.isPlainObject(t[n])&&this.isPlainObject(e[n])?this.deepExtend(t[n],e[n]):t[n]=e[n]);return t},throttle:function(t,e){var n=!1;return function(){n||(t.apply(this,arguments),n=!0,setTimeout(function(){n=!1},e))}},hash:function(t){var e,n,i=0;if(0===t.length)return i;for(e=0,n=t.length;e<n;++e)i=(i<<5)-i+t.charCodeAt(e),i|=0;return i},normaliseHex:function(t){return"#"==t[0]&&(t=t.substr(1)),3==t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),t},getContrast:function(t){return t=this.normaliseHex(t),(299*parseInt(t.substr(0,2),16)+587*parseInt(t.substr(2,2),16)+114*parseInt(t.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(t){var e=parseInt(this.normaliseHex(t),16),n=38+(e>>16),i=38+(e>>8&255),o=38+(255&e);return"#"+(16777216+65536*(n<255?n<1?0:n:255)+256*(i<255?i<1?0:i:255)+(o<255?o<1?0:o:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(t){return"object"==typeof t&&null!==t&&t.constructor==Object},traverseDOMPath:function(t,n){return t&&t.parentNode?e.hasClass(t,n)?t:this.traverseDOMPath(t.parentNode,n):null}};t.status={deny:"deny",allow:"allow",dismiss:"dismiss"},t.transitionEnd=function(){var t=document.createElement("div"),e={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var n in e)if(e.hasOwnProperty(n)&&void 0!==t.style[n+"ransition"])return e[n];return""}(),t.hasTransition=!!t.transitionEnd;var n=Object.keys(t.status).map(e.escapeRegExp);t.customStyles={},t.Popup=function(){function i(){this.initialise.apply(this,arguments)}function o(t){this.openingTimeout=null,e.removeClass(t,"cc-invisible")}function r(e){e.style.display="none",e.removeEventListener(t.transitionEnd,this.afterTransition),this.afterTransition=null}function s(){var e=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return e(t.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return e(t.status.allow),!0;var n=Object.keys(t.status),i=this.getStatus(),o=n.indexOf(i)>=0;return o&&e(i),o}function c(){var t=this.options.position.split("-"),e=[];return t.forEach(function(t){e.push("cc-"+t)}),e}function a(){var t=this.options,n="top"==t.position||"bottom"==t.position?"banner":"floating";e.isMobile()&&(n="floating");var i=["cc-"+n,"cc-type-"+t.type,"cc-theme-"+t.theme];return t.static&&i.push("cc-static"),i.push.apply(i,c.call(this)),function(t){var n=e.hash(JSON.stringify(t)),i="cc-color-override-"+n,o=e.isPlainObject(t);return this.customStyleSelector=o?i:null,o&&p(n,t,"."+i),o}.call(this,this.options.palette),this.customStyleSelector&&i.push(this.customStyleSelector),i}function l(n){var i=this.options,o=document.createElement("div"),r=i.container&&1===i.container.nodeType?i.container:document.body;o.innerHTML=n;var s=o.children[0];return s.style.display="none",e.hasClass(s,"cc-window")&&t.hasTransition&&e.addClass(s,"cc-invisible"),this.onButtonClick=u.bind(this),s.addEventListener("click",this.onButtonClick),i.autoAttach&&(r.firstChild?r.insertBefore(s,r.firstChild):r.appendChild(s)),s}function u(i){var o=e.traverseDOMPath(i.target,"cc-btn")||i.target;if(e.hasClass(o,"cc-btn")){var r=o.className.match(new RegExp("\\bcc-("+n.join("|")+")\\b")),s=r&&r[1]||!1;s&&(this.setStatus(s),this.close(!0))}e.hasClass(o,"cc-close")&&(this.setStatus(t.status.dismiss),this.close(!0)),e.hasClass(o,"cc-revoke")&&this.revokeChoice()}function p(n,i,o){if(t.customStyles[n])++t.customStyles[n].references;else{var r={},s=i.popup,c=i.button,a=i.highlight;s&&(s.text=s.text?s.text:e.getContrast(s.background),s.link=s.link?s.link:s.text,r[o+".cc-window"]=["color: "+s.text,"background-color: "+s.background],r[o+".cc-revoke"]=["color: "+s.text,"background-color: "+s.background],r[o+" .cc-link,"+o+" .cc-link:active,"+o+" .cc-link:visited"]=["color: "+s.link],c&&(c.text=c.text?c.text:e.getContrast(c.background),c.border=c.border?c.border:"transparent",r[o+" .cc-btn"]=["color: "+c.text,"border-color: "+c.border,"background-color: "+c.background],c.padding&&r[o+" .cc-btn"].push("padding: "+c.padding),"transparent"!=c.background&&(r[o+" .cc-btn:hover, "+o+" .cc-btn:focus"]=["background-color: "+(c.hover||h(c.background))]),a?(a.text=a.text?a.text:e.getContrast(a.background),a.border=a.border?a.border:"transparent",r[o+" .cc-highlight .cc-btn:first-child"]=["color: "+a.text,"border-color: "+a.border,"background-color: "+a.background]):r[o+" .cc-highlight .cc-btn:first-child"]=["color: "+s.text]));var l=document.createElement("style");document.head.appendChild(l),t.customStyles[n]={references:1,element:l.sheet};var u=-1;for(var p in r)r.hasOwnProperty(p)&&l.sheet.insertRule(p+"{"+r[p].join(";")+"}",++u)}}function h(t){return"000000"==(t=e.normaliseHex(t))?"#222":e.getLuminance(t)}function f(t,e){for(var n=0,i=t.length;n<i;++n){var o=t[n];if(o instanceof RegExp&&o.test(e)||"string"==typeof o&&o.length&&o===e)return!0}return!1}function d(){var n=this.setStatus.bind(this),i=this.close.bind(this),o=this.options.dismissOnTimeout;"number"==typeof o&&o>=0&&(this.dismissTimeout=window.setTimeout(function(){n(t.status.dismiss),i(!0)},Math.floor(o)));var r=this.options.dismissOnScroll;if("number"==typeof r&&r>=0){var s=function(e){window.pageYOffset>Math.floor(r)&&(n(t.status.dismiss),i(!0),window.removeEventListener("scroll",s),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=s,window.addEventListener("scroll",s))}var c=this.options.dismissOnWindowClick,a=this.options.ignoreClicksFrom;if(c){var l=function(o){for(var r=!1,s=o.path.length,c=a.length,u=0;u<s;u++)if(!r)for(var p=0;p<c;p++)r||(r=e.hasClass(o.path[u],a[p]));r||(n(t.status.dismiss),i(!0),window.removeEventListener("click",l),this.onWindowClick=null)}.bind(this);this.options.enabled&&(this.onWindowClick=l,window.addEventListener("click",l))}}var v={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(t){},onStatusChange:function(t,e){},onRevokeChoice:function(){},onNoCookieLaw:function(t,e){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'<span class="cc-header">{{header}}</span> ',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a></span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="allow cookies" role=button tabindex="0" class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}">\x3c!--googleoff: all--\x3e{{children}}\x3c!--googleon: all--\x3e</div>',revokeBtn:'<div class="cc-revoke {{classes}}">{{policy}}</div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return i.prototype.initialise=function(t){this.options&&this.destroy(),e.deepExtend(this.options={},v),e.isPlainObject(t)&&e.deepExtend(this.options,t),s.call(this)&&(this.options.enabled=!1),f(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),f(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var n=this.options.window.replace("{{classes}}",a.call(this).join(" ")).replace("{{children}}",function(){var t={},n=this.options;n.showLink||(n.elements.link="",n.elements.messagelink=n.elements.message),Object.keys(n.elements).forEach(function(i){t[i]=e.interpolateString(n.elements[i],function(t){var e=n.content[t];return t&&"string"==typeof e&&e.length?e:""})});var i=n.compliance[n.type];i||(i=n.compliance.info),t.compliance=e.interpolateString(i,function(e){return t[e]});var o=n.layouts[n.layout];return o||(o=n.layouts.basic),e.interpolateString(o,function(e){return t[e]})}.call(this)),i=this.options.overrideHTML;if("string"==typeof i&&i.length&&(n=i),this.options.static){var o=l.call(this,'<div class="cc-grower">'+n+"</div>");o.style.display="",this.element=o.firstChild,this.element.style.display="none",e.addClass(this.element,"cc-invisible")}else this.element=l.call(this,n);d.call(this),function(){if("info"!=this.options.type&&(this.options.revokable=!0),e.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var t=c.call(this);this.options.animateRevokable&&t.push("cc-animate"),this.customStyleSelector&&t.push(this.customStyleSelector);var n=this.options.revokeBtn.replace("{{classes}}",t.join(" ")).replace("{{policy}}",this.options.content.policy);this.revokeBtn=l.call(this,n);var i=this.revokeBtn;if(this.options.animateRevokable){var o=e.throttle(function(t){var n=!1,o=window.innerHeight-20;e.hasClass(i,"cc-top")&&t.clientY<20&&(n=!0),e.hasClass(i,"cc-bottom")&&t.clientY>o&&(n=!0),n?e.hasClass(i,"cc-active")||e.addClass(i,"cc-active"):e.hasClass(i,"cc-active")&&e.removeClass(i,"cc-active")},200);this.onMouseMove=o,window.addEventListener("mousemove",o)}}}.call(this),this.options.autoOpen&&this.autoOpen()},i.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,function(n){if(e.isPlainObject(n)){var i=e.hash(JSON.stringify(n)),o=t.customStyles[i];if(o&&!--o.references){var r=o.element.ownerNode;r&&r.parentNode&&r.parentNode.removeChild(r),t.customStyles[i]=null}}}(this.options.palette),this.options=null},i.prototype.open=function(e){if(this.element)return this.isOpen()||(t.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},i.prototype.close=function(e){if(this.element)return this.isOpen()&&(t.hasTransition?this.fadeOut():this.element.style.display="none",e&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},i.prototype.fadeIn=function(){var n=this.element;if(t.hasTransition&&n&&(this.afterTransition&&r.call(this,n),e.hasClass(n,"cc-invisible"))){if(n.style.display="",this.options.static){var i=this.element.clientHeight;this.element.parentNode.style.maxHeight=i+"px"}this.openingTimeout=setTimeout(o.bind(this,n),20)}},i.prototype.fadeOut=function(){var n=this.element;t.hasTransition&&n&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),o.bind(this,n)),e.hasClass(n,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=r.bind(this,n),n.addEventListener(t.transitionEnd,this.afterTransition),e.addClass(n,"cc-invisible")))},i.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!t.hasTransition||!e.hasClass(this.element,"cc-invisible"))},i.prototype.toggleRevokeButton=function(t){this.revokeBtn&&(this.revokeBtn.style.display=t?"":"none")},i.prototype.revokeChoice=function(t){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),t||this.autoOpen()},i.prototype.hasAnswered=function(e){return Object.keys(t.status).indexOf(this.getStatus())>=0},i.prototype.hasConsented=function(e){var n=this.getStatus();return n==t.status.allow||n==t.status.dismiss},i.prototype.autoOpen=function(t){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},i.prototype.setStatus=function(n){var i=this.options.cookie,o=e.getCookie(i.name),r=Object.keys(t.status).indexOf(o)>=0;Object.keys(t.status).indexOf(n)>=0?(e.setCookie(i.name,n,i.expiryDays,i.domain,i.path,i.secure),this.options.onStatusChange.call(this,n,r)):this.clearStatus()},i.prototype.getStatus=function(){return e.getCookie(this.options.cookie.name)},i.prototype.clearStatus=function(){var t=this.options.cookie;e.setCookie(t.name,"",-1,t.domain,t.path)},i}(),t.Location=function(){function t(t){e.deepExtend(this.options={},r),e.isPlainObject(t)&&e.deepExtend(this.options,t),this.currentServiceIndex=-1}function n(t,e,n){var i,o=document.createElement("script");o.type="text/"+(t.type||"javascript"),o.src=t.src||t,o.async=!1,o.onreadystatechange=o.onload=function(){var t=o.readyState;clearTimeout(i),e.done||t&&!/loaded|complete/.test(t)||(e.done=!0,e(),o.onreadystatechange=o.onload=null)},document.body.appendChild(o),i=setTimeout(function(){e.done=!0,e(),o.onreadystatechange=o.onload=null},n)}function i(t,e,n,i,o){var r=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(r.open(i?"POST":"GET",t,1),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(o))for(var s=0,c=o.length;s<c;++s){var a=o[s].split(":",2);r.setRequestHeader(a[0].replace(/^\s+|\s+$/g,""),a[1].replace(/^\s+|\s+$/g,""))}"function"==typeof e&&(r.onreadystatechange=function(){r.readyState>3&&e(r)}),r.send(i)}function o(t){return new Error("Error ["+(t.code||"UNKNOWN")+"]: "+t.error)}var r={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(t,e){try{var n=JSON.parse(e);return n.error?o(n):{code:n.country}}catch(t){return o({error:"Invalid response ("+t+")"})}}}},ipinfodb:function(t){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(t,e){try{var n=JSON.parse(e);return"ERROR"==n.statusCode?o({error:n.statusMessage}):{code:n.countryCode}}catch(t){return o({error:"Invalid response ("+t+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(t){return window.geoip2?void geoip2.country(function(e){try{t({code:e.country.iso_code})}catch(e){t(o(e))}},function(e){t(o(e))}):void t(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return t.prototype.getNextService=function(){var t;do{t=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!t);return t},t.prototype.getServiceByIdx=function(t){var n=this.options.services[t];if("function"==typeof n){var i=n();return i.name&&e.deepExtend(i,this.options.serviceDefinitions[i.name](i)),i}return"string"==typeof n?this.options.serviceDefinitions[n]():e.isPlainObject(n)?this.options.serviceDefinitions[n.name](n):null},t.prototype.locate=function(t,e){var n=this.getNextService();return n?(this.callbackComplete=t,this.callbackError=e,void this.runService(n,this.runNextServiceOnError.bind(this))):void e(new Error("No services to run"))},t.prototype.setupUrl=function(t){var e=this.getCurrentServiceOpts();return t.url.replace(/\{(.*?)\}/g,function(n,i){if("callback"===i){var o="callback"+Date.now();return window[o]=function(e){t.__JSONP_DATA=JSON.stringify(e)},o}if(i in e.interpolateUrl)return e.interpolateUrl[i]})},t.prototype.runService=function(t,e){var o=this;t&&t.url&&t.callback&&(t.isScript?n:i)(this.setupUrl(t),function(n){var i=n?n.responseText:"";t.__JSONP_DATA&&(i=t.__JSONP_DATA,delete t.__JSONP_DATA),o.runServiceCallback.call(o,e,t,i)},this.options.timeout,t.data,t.headers)},t.prototype.runServiceCallback=function(t,e,n){var i=this,o=e.callback(function(e){o||i.onServiceResult.call(i,t,e)},n);o&&this.onServiceResult.call(this,t,o)},t.prototype.onServiceResult=function(t,e){e instanceof Error||e&&e.error?t.call(this,e,null):t.call(this,null,e)},t.prototype.runNextServiceOnError=function(t,e){if(t){this.logError(t);var n=this.getNextService();n?this.runService(n,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,e)},t.prototype.getCurrentServiceOpts=function(){var t=this.options.services[this.currentServiceIndex];return"string"==typeof t?{name:t}:"function"==typeof t?t():e.isPlainObject(t)?t:{}},t.prototype.completeService=function(t,e){this.currentServiceIndex=-1,t&&t(e)},t.prototype.logError=function(t){var e=this.currentServiceIndex,n=this.getServiceByIdx(e);console.warn("The service["+e+"] ("+n.url+") responded with the following error",t)},t}(),t.Law=function(){function t(t){this.initialise.apply(this,arguments)}var n={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","ES","SE","GB","UK","GR","EU"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return t.prototype.initialise=function(t){e.deepExtend(this.options={},n),e.isPlainObject(t)&&e.deepExtend(this.options,t)},t.prototype.get=function(t){var e=this.options;return{hasLaw:e.hasLaw.indexOf(t)>=0,revokable:e.revokable.indexOf(t)>=0,explicitAction:e.explicitAction.indexOf(t)>=0}},t.prototype.applyLaw=function(t,e){var n=this.get(e);return n.hasLaw||(t.enabled=!1,"function"==typeof t.onNoCookieLaw&&t.onNoCookieLaw(e,n)),this.options.regionalLaw&&(n.revokable&&(t.revokable=!0),n.explicitAction&&(t.dismissOnScroll=!1,t.dismissOnTimeout=!1)),t},t}(),t.initialise=function(n,i,o){var r=new t.Law(n.law);i||(i=function(){}),o||(o=function(){});var s=Object.keys(t.status),c=e.getCookie("cookieconsent_status");return s.indexOf(c)>=0?void i(new t.Popup(n)):void t.getCountryCode(n,function(e){delete n.law,delete n.location,e.code&&(n=r.applyLaw(n,e.code)),i(new t.Popup(n))},function(e){delete n.law,delete n.location,o(e,new t.Popup(n))})},t.getCountryCode=function(e,n,i){e.law&&e.law.countryCode?n({code:e.law.countryCode}):e.location?new t.Location(e.location).locate(function(t){n(t||{})},i):n({})},t.utils=e,t.hasInitialised=!0,window.cookieconsent=t}}(window.cookieconsent||{})},function(t,e,n){"use strict";n.r(e);n(33),n(19),n(31);function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=document.querySelector("#lightbox-section"),r=document.querySelector("#lightbox-template"),s=document.querySelectorAll("a[data-lightbox]"),c=[],a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.idx=e,this.element=s[e],this.figure=this.element.parentElement,this.image=this.element.firstChild,this.title=this.figure.querySelector("h3"),this.title=this.image.getAttribute("title"),this.description=this.figure.querySelector(".description p"),null!==this.description&&(this.description=this.description.innerHTML),this.href=this.element.getAttribute("href"),this.alt=this.image.getAttribute("alt"),this.template=r.cloneNode(!0),console.log(this.title)}var e,n,a;return e=t,(n=[{key:"update",value:function(){this.calcSurrounding(),this.updateTemplate(),this.addEventListeners()}},{key:"calcSurrounding",value:function(){s.length>1&&(this.prev=this.idx-1,this.next=this.idx+1,-1===this.prev&&(this.prev=s.length-1),this.next===s.length&&(this.next=0))}},{key:"updateTemplate",value:function(){o.innerHTML=this.template.innerHTML;var t=o.querySelector("#lightbox"),e=t.querySelector("img");e.setAttribute("src",this.href),e.setAttribute("alt",this.alt);var n=t.querySelector(".lightbox-title"),i=t.querySelector(".lightbox-footer");null!==this.title?n.innerHTML=this.title:n.innerHtml=this.alt,null!==this.description?i.innerHTML=this.description:i.innerHTML=this.alt}},{key:"addEventListeners",value:function(){var t=this,e=lightbox.querySelector("div.lightbox-container");lightbox.addEventListener("click",function(t){e.contains(t.target)||(o.innerHTML="")}),lightbox.querySelector("a.lightbox-close").addEventListener("click",function(){o.innerHTML=""});lightbox.querySelectorAll("a.lightbox-prev").forEach(function(e){e.addEventListener("click",function(){c[t.prev].update()})}),lightbox.querySelectorAll("a.lightbox-next").forEach(function(e){e.addEventListener("click",function(){c[t.next].update()})})}}])&&i(e.prototype,n),a&&i(e,a),t}();!function(){for(var t=function(t){c.push(new a(t)),s[t].addEventListener("click",function(e){e.preventDefault(),c[t].update()})},e=0;e<s.length;e++)t(e)}();var l=document.querySelector("#header"),u=document.querySelectorAll(".menu-list li a"),p=document.querySelector("#top-navigation-checkbox"),h=document.querySelector("#banner"),f=0;window.addEventListener("scroll",function(t){var e=window.pageYOffset||document.documentElement.scrollTop;e>f&&e>50?(l.classList.add("small"),l.classList.remove("large"),l.classList.add("hidden"),null!==h&&h.classList.add("hidden"),p.checked=!1):(e<50&&(l.classList.add("large"),l.classList.remove("small"),null!==h&&h.classList.remove("hidden")),e<f&&setTimeout(function(){l.classList.remove("hidden")},500),e>f&&e>50&&l.classList.add("hidden")),f=window.pageYOffset||document.documentElement.scrollTop}),u.forEach(function(t){t.addEventListener("click",function(){console.log("hello"),p.checked=!1})});n(54);window.addEventListener("load",function(){window.cookieconsent.initialise({palette:{popup:{background:"#fff",text:"#000"},button:{background:"#8ec760",text:"#ffffff"}},theme:"classic",showLink:!1,content:{message:"Diese Webseite nutzt Cookies zur Verbesserung des Erlebnisses unserer Besucher. Indem Sie weiterhin auf dieser Webseite navigieren, erklären Sie sich mit unserer Verwendung von Cookies einverstanden.",dismiss:"OK"},dismissOnScroll:400})})}]); |