-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathcookie-consent.min.js
1 lines (1 loc) · 73.3 KB
/
cookie-consent.min.js
1
var CookieConsentWrapper;(()=>{var t={9021:function(t,e,n){var o;t.exports=(o=o||function(t,e){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),"undefined"!=typeof self&&self.crypto&&(o=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(o=globalThis.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==n.g&&n.g.crypto&&(o=n.g.crypto),!o)try{o=n(477)}catch(t){}var i=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},r=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),s={},a=s.lib={},c=a.Base={extend:function(t){var e=r(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},l=a.WordArray=c.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:4*t.length},toString:function(t){return(t||d).stringify(this)},concat:function(t){var e=this.words,n=t.words,o=this.sigBytes,i=t.sigBytes;if(this.clamp(),o%4)for(var r=0;r<i;r++){var s=n[r>>>2]>>>24-r%4*8&255;e[o+r>>>2]|=s<<24-(o+r)%4*8}else for(var a=0;a<i;a+=4)e[o+a>>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(i());return new l.init(e,t)}}),u=s.enc={},d=u.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,o=[],i=0;i<n;i++){var r=e[i>>>2]>>>24-i%4*8&255;o.push((r>>>4).toString(16)),o.push((15&r).toString(16))}return o.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o+=2)n[o>>>3]|=parseInt(t.substr(o,2),16)<<24-o%8*4;return new l.init(n,e/2)}},p=u.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,o=[],i=0;i<n;i++){var r=e[i>>>2]>>>24-i%4*8&255;o.push(String.fromCharCode(r))}return o.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>2]|=(255&t.charCodeAt(o))<<24-o%4*8;return new l.init(n,e)}},h=u.Utf8={stringify:function(t){try{return decodeURIComponent(escape(p.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return p.parse(unescape(encodeURIComponent(t)))}},_=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=h.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,o=this._data,i=o.words,r=o.sigBytes,s=this.blockSize,a=r/(4*s),c=(a=e?t.ceil(a):t.max((0|a)-this._minBufferSize,0))*s,u=t.min(4*c,r);if(c){for(var d=0;d<c;d+=s)this._doProcessBlock(i,d);n=i.splice(0,c),o.sigBytes-=u}return new l.init(n,u)},clone:function(){var t=c.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),f=(a.Hasher=_.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){_.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new f.HMAC.init(t,n).finalize(e)}}}),s.algo={});return s}(Math),o)},3009:function(t,e,n){var o;t.exports=(o=n(9021),function(t){var e=o,n=e.lib,i=n.WordArray,r=n.Hasher,s=e.algo,a=[],c=[];!function(){function e(e){for(var n=t.sqrt(e),o=2;o<=n;o++)if(!(e%o))return!1;return!0}function n(t){return 4294967296*(t-(0|t))|0}for(var o=2,i=0;i<64;)e(o)&&(i<8&&(a[i]=n(t.pow(o,.5))),c[i]=n(t.pow(o,1/3)),i++),o++}();var l=[],u=s.SHA256=r.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,o=n[0],i=n[1],r=n[2],s=n[3],a=n[4],u=n[5],d=n[6],p=n[7],h=0;h<64;h++){if(h<16)l[h]=0|t[e+h];else{var _=l[h-15],f=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,g=l[h-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[h]=f+l[h-7]+v+l[h-16]}var m=o&i^o&r^i&r,y=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),b=p+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&d)+c[h]+l[h];p=d,d=u,u=a,a=s+b|0,s=r,r=i,i=o,o=b+(y+m)|0}n[0]=n[0]+o|0,n[1]=n[1]+i|0,n[2]=n[2]+r|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+p|0},_doFinalize:function(){var e=this._data,n=e.words,o=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(o/4294967296),n[15+(i+64>>>9<<4)]=o,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=r._createHelper(u),e.HmacSHA256=r._createHmacHelper(u)}(Math),o.SHA256)},5846:()=>{!function(){"use strict";var t="initCookieConsent";"undefined"!=typeof window&&"function"!=typeof window[t]&&(window[t]=function(t){var e,n,o,i,r,s,a,c,l,u,d,p,h,_,f,g,v,m,y,b,w,C,k,x,O,S,E,A,T,j,P,N,L,I,M,R={mode:"opt-in",current_lang:"en",auto_language:null,autorun:!0,page_scripts:!0,hide_from_bots:!0,cookie_name:"cc_cookie",cookie_expiration:182,cookie_domain:location.hostname,cookie_path:"/",cookie_same_site:"Lax",use_rfc_cookie:!1,autoclear_cookies:!0,revision:0,script_selector:"data-cookiecategory"},D={},B={},H=null,F=!0,$=!1,W=!1,U=!1,z=!1,Y=!0,G=[],J=!1,q=[],V=[],K=[],X=!1,Q=[],Z=[],tt=[],et=[],nt=[],ot=document.documentElement,it=function(t){"number"==typeof(e=t).cookie_expiration&&(R.cookie_expiration=e.cookie_expiration),"number"==typeof e.cookie_necessary_only_expiration&&(R.cookie_necessary_only_expiration=e.cookie_necessary_only_expiration),"boolean"==typeof e.autorun&&(R.autorun=e.autorun),"string"==typeof e.cookie_domain&&(R.cookie_domain=e.cookie_domain),"string"==typeof e.cookie_same_site&&(R.cookie_same_site=e.cookie_same_site),"string"==typeof e.cookie_path&&(R.cookie_path=e.cookie_path),"string"==typeof e.cookie_name&&(R.cookie_name=e.cookie_name),"function"==typeof e.onAccept&&(d=e.onAccept),"function"==typeof e.onFirstAction&&(h=e.onFirstAction),"function"==typeof e.onChange&&(p=e.onChange),"opt-out"===e.mode&&(R.mode="opt-out"),"number"==typeof e.revision&&(e.revision>-1&&(R.revision=e.revision),z=!0),"boolean"==typeof e.autoclear_cookies&&(R.autoclear_cookies=e.autoclear_cookies),!0===e.use_rfc_cookie&&(R.use_rfc_cookie=!0),"boolean"==typeof e.hide_from_bots&&(R.hide_from_bots=e.hide_from_bots),R.hide_from_bots&&(X=navigator&&(navigator.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent)||navigator.webdriver)),R.page_scripts=!0===e.page_scripts,"browser"===e.auto_language||!0===e.auto_language?R.auto_language="browser":"document"===e.auto_language&&(R.auto_language="document"),R.auto_language,R.current_lang=pt(e.languages,e.current_lang)},rt=function(t){for(var e="accept-",n=a("c-settings"),o=a(e+"all"),i=a(e+"necessary"),r=a(e+"custom"),s=0;s<n.length;s++)n[s].setAttribute("aria-haspopup","dialog"),bt(n[s],"click",(function(t){t.preventDefault(),D.showSettings(0)}));for(s=0;s<o.length;s++)bt(o[s],"click",(function(t){c(t,"all")}));for(s=0;s<r.length;s++)bt(r[s],"click",(function(t){c(t)}));for(s=0;s<i.length;s++)bt(i[s],"click",(function(t){c(t,[])}));function a(e){return(t||document).querySelectorAll('[data-cc="'+e+'"]')}function c(t,e){t.preventDefault(),D.accept(e),D.hideSettings(),D.hide()}},st=function(t,e){return e.hasOwnProperty(t)?t:wt(e).length>0?e.hasOwnProperty(R.current_lang)?R.current_lang:wt(e)[0]:void 0},at=function(t){if(!0===e.force_consent&&Ct(ot,"force--consent"),!y){y=dt("div");var n=dt("div"),o=dt("div");y.id="cm",n.id="c-inr-i",o.id="cm-ov",y.tabIndex=-1,y.setAttribute("role","dialog"),y.setAttribute("aria-modal","true"),y.setAttribute("aria-hidden","false"),y.setAttribute("aria-labelledby","c-ttl"),y.setAttribute("aria-describedby","c-txt"),m.appendChild(y),m.appendChild(o),y.style.visibility=o.style.visibility="hidden",o.style.opacity=0}var i=e.languages[t].consent_modal.title;i&&(b||((b=dt("h2")).id="c-ttl",n.appendChild(b)),b.innerHTML=i);var r=e.languages[t].consent_modal.description;z&&(r=Y?r.replace("{{revision_message}}",""):r.replace("{{revision_message}}",e.languages[t].consent_modal.revision_message||"")),w||((w=dt("div")).id="c-txt",n.appendChild(w)),w.innerHTML=r;var s,a=e.languages[t].consent_modal.primary_btn,c=e.languages[t].consent_modal.secondary_btn;a&&(C||((C=dt("button")).id="c-p-bn",C.className="c-bn",C.appendChild(Ot(1)),"accept_all"===a.role&&(s="all"),bt(C,"click",(function(){D.hide(),D.accept(s)}))),C.firstElementChild.innerHTML=e.languages[t].consent_modal.primary_btn.text),c&&(k||((k=dt("button")).id="c-s-bn",k.className="c-bn c_link",k.appendChild(Ot(1)),"accept_necessary"===c.role?bt(k,"click",(function(){D.hide(),D.accept([])})):bt(k,"click",(function(){D.showSettings(0)}))),k.firstElementChild.innerHTML=e.languages[t].consent_modal.secondary_btn.text);var l=e.gui_options;O||((O=dt("div")).id="c-inr",O.appendChild(n)),x||((x=dt("div")).id="c-bns",l&&l.consent_modal&&!0===l.consent_modal.swap_buttons?(c&&x.appendChild(k),a&&x.appendChild(C),x.className="swap"):(a&&x.appendChild(C),c&&x.appendChild(k)),(a||c)&&O.appendChild(x),y.appendChild(O)),$=!0,rt(O)},ct=function(t){if(S)(P=dt("div")).id="s-bl";else{(S=dt("div")).tabIndex=-1;var n=dt("div"),o=dt("div"),i=dt("div");E=dt("div"),A=dt("h2");var r=dt("div");(T=dt("button")).appendChild(Ot(2));var s=dt("div");j=dt("div");var a=dt("div"),c=!1;bt(S,"mouseup",(function(t){!U||c||E.contains(t.target)||D.hideSettings()})),bt(S,"mousedown",(function(t){U&&(c=E.contains(t.target))})),S.id="s-cnt",n.id="c-vln",i.id="c-s-in",o.id="cs",A.id="s-ttl",E.id="s-inr",r.id="s-hdr",j.id="s-bl",T.id="s-c-bn",a.id="cs-ov",s.id="s-c-bnc",T.className="c-bn",S.setAttribute("role","dialog"),S.setAttribute("aria-modal","true"),S.setAttribute("aria-hidden","true"),S.setAttribute("aria-labelledby","s-ttl"),S.style.visibility=a.style.visibility="hidden",a.style.opacity=0,s.appendChild(T),bt(document,"keydown",(function(t){27===t.keyCode&&U&&D.hideSettings()}),!0),bt(T,"click",(function(){D.hideSettings()}))}var d=e.languages[t].settings_modal;T.setAttribute("aria-label",d.close_btn_label||"Close"),u=d.blocks,l=d.cookie_table_headers;var p=d.cookie_table_caption,h=u.length;A.innerHTML=d.title;for(var _=0;_<h;++_){var f=u[_].title,g=u[_].description,v=u[_].toggle,y=u[_].cookie_table,b=!0===e.remove_cookie_tables,w=!!g||!b&&!!y,C=dt("div"),k=dt("div");if(g){var x=dt("div");x.className="p",x.insertAdjacentHTML("beforeend",g)}var O=dt("div");if(O.className="title",C.className="c-bl",k.className="desc",void 0!==v){var R="c-ac-"+_,H=dt(w?"button":"div"),$=dt("label"),W=dt("input"),z=dt("span"),Y=dt("span"),G=dt("span"),J=dt("span");H.className=w?"b-tl exp":"b-tl",$.className="b-tg",W.className="c-tgl",G.className="on-i",J.className="off-i",z.className="c-tg",Y.className="t-lb",w&&(H.setAttribute("aria-expanded","false"),H.setAttribute("aria-controls",R)),W.type="checkbox",z.setAttribute("aria-hidden","true");var q=v.value;W.value=q,Y.textContent=f,H.insertAdjacentHTML("beforeend",f),O.appendChild(H),z.appendChild(G),z.appendChild(J),F?v.enabled?(W.checked=!0,!P&&tt.push(!0),v.enabled&&!P&&K.push(q)):!P&&tt.push(!1):ut(B.categories,q)>-1?(W.checked=!0,!P&&tt.push(!0)):!P&&tt.push(!1),!P&&et.push(q),v.readonly&&(W.disabled=!0,Ct(z,"c-ro"),!P&&nt.push(q)),Ct(k,"b-acc"),Ct(O,"b-bn"),Ct(C,"b-ex"),k.id=R,k.setAttribute("aria-hidden","true"),$.appendChild(W),$.appendChild(z),$.appendChild(Y),O.appendChild($),w&&function(t,e,n){bt(H,"click",(function(){xt(e,"act")?(kt(e,"act"),n.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true")):(Ct(e,"act"),n.setAttribute("aria-expanded","true"),t.setAttribute("aria-hidden","false"))}),!1)}(k,C,H)}else if(f){var V=dt("div");V.className="b-tl",V.setAttribute("role","heading"),V.setAttribute("aria-level","3"),V.insertAdjacentHTML("beforeend",f),O.appendChild(V)}if(f&&C.appendChild(O),g&&k.appendChild(x),!b&&void 0!==y){for(var X=document.createDocumentFragment(),Q=0;Q<l.length;++Q){var Z=dt("th"),ot=l[Q];if(Z.setAttribute("scope","col"),ot){var it=ot&&wt(ot)[0];Z.textContent=l[Q][it],X.appendChild(Z)}}var rt=dt("tr");rt.appendChild(X);var st=dt("thead");st.appendChild(rt);var at=dt("table");if(p){var ct=dt("caption");ct.innerHTML=p,at.appendChild(ct)}at.appendChild(st);for(var lt=document.createDocumentFragment(),pt=0;pt<y.length;pt++){for(var ht=dt("tr"),_t=0;_t<l.length;++_t)if(ot=l[_t]){it=wt(ot)[0];var ft=dt("td");ft.insertAdjacentHTML("beforeend",y[pt][it]),ft.setAttribute("data-column",ot[it]),ht.appendChild(ft)}lt.appendChild(ht)}var gt=dt("tbody");gt.appendChild(lt),at.appendChild(gt),k.appendChild(at)}(v&&f||!v&&(f||g))&&(C.appendChild(k),P?P.appendChild(C):j.appendChild(C))}N||((N=dt("div")).id="s-bns"),I||((I=dt("button")).id="s-all-bn",I.className="c-bn",N.appendChild(I),bt(I,"click",(function(){D.accept("all"),D.hideSettings(),D.hide()}))),I.innerHTML=d.accept_all_btn;var vt=d.reject_all_btn;if(vt&&(M||((M=dt("button")).id="s-rall-bn",M.className="c-bn",bt(M,"click",(function(){D.accept([]),D.hideSettings(),D.hide()})),E.className="bns-t",N.appendChild(M)),M.innerHTML=vt),L||((L=dt("button")).id="s-sv-bn",L.className="c-bn",N.appendChild(L),bt(L,"click",(function(){D.accept(),D.hideSettings(),D.hide()}))),L.innerHTML=d.save_settings_btn,P)return E.replaceChild(P,j),void(j=P);r.appendChild(A),r.appendChild(s),E.appendChild(r),E.appendChild(j),E.appendChild(N),i.appendChild(E),o.appendChild(i),n.appendChild(o),S.appendChild(n),m.appendChild(S),m.appendChild(a)};D.updateLanguage=function(t,n){if("string"==typeof t){var o=st(t,e.languages);return(o!==R.current_lang||!0===n)&&(R.current_lang=o,$&&at(o),ct(o),!0)}};var lt=function(t){var e=u.length,n=-1;J=!1;var o=mt("","all"),i=[R.cookie_domain,"."+R.cookie_domain];if("www."===R.cookie_domain.slice(0,4)){var r=R.cookie_domain.substr(4);i.push(r),i.push("."+r)}for(var s=0;s<e;s++){var a=u[s];if(a.hasOwnProperty("toggle")){var c=ut(G,a.toggle.value)>-1;if(!tt[++n]&&a.hasOwnProperty("cookie_table")&&(t||c)){var d=a.cookie_table,p=wt(l[0])[0],h=d.length;"on_disable"===a.toggle.reload&&c&&(J=!0);for(var _=0;_<h;_++){var f=i,g=d[_],v=[],m=g[p],y=g.is_regex||!1,b=g.domain||null,w=g.path||!1;if(b&&(f=[b,"."+b]),y)for(var C=0;C<o.length;C++)o[C].match(m)&&v.push(o[C]);else{var k=ut(o,m);k>-1&&v.push(o[k])}v.length>0&&(yt(v,w,f),"on_clear"===a.toggle.reload&&(J=!0))}}}}},ut=function(t,e){return t.indexOf(e)},dt=function(t){var e=document.createElement(t);return"button"===t&&e.setAttribute("type",t),e},pt=function(t,e){return"browser"===R.auto_language?st(ht(),t):"document"===R.auto_language?st(document.documentElement.lang,t):"string"==typeof e?R.current_lang=st(e,t):(R.current_lang,R.current_lang)},ht=function(){var t=navigator.language||navigator.browserLanguage;return t.length>2&&(t=t[0]+t[1]),t.toLowerCase()};D.allowedCategory=function(t){if(F&&"opt-in"!==R.mode)e=K;else var e=JSON.parse(mt(R.cookie_name,"one",!0)||"{}").categories||[];return ut(e,t)>-1},D.run=function(e){if(!document.getElementById("cc_div")){if(it(e),X)return;B=JSON.parse(mt(R.cookie_name,"one",!0)||"{}");var a=void 0!==(i=B.consent_uuid);if((n=B.consent_date)&&(n=new Date(n)),(o=B.last_consent_update)&&(o=new Date(o)),H=void 0!==B.data?B.data:null,z&&B.revision!==R.revision&&(Y=!1),$=F=!(a&&Y&&n&&o&&i),function(){(v=dt("div")).id="cc--main",v.style.position="fixed",v.innerHTML='<div id="cc_div" class="cc_div"></div>',m=v.children[0];var e=R.current_lang;$&&at(e),ct(e),(t||document.body).appendChild(v)}(),function(){var t=["[href]","button","input","details",'[tabindex="0"]'];function e(e,n){try{var o=e.querySelectorAll(t.join(':not([tabindex="-1"]), '))}catch(n){return e.querySelectorAll(t.join(", "))}n[0]=o[0],n[1]=o[o.length-1]}e(E,Z),$&&e(y,Q)}(),function(t){if("object"==typeof t){var e=t.consent_modal,n=t.settings_modal;$&&e&&o(y,["box","bar","cloud"],["top","middle","bottom"],["zoom","slide"],e.layout,e.position,e.transition),n&&o(S,["bar"],["left","right"],["zoom","slide"],n.layout,n.position,n.transition)}function o(t,e,n,o,i,r,s){if(r=r&&r.split(" ")||[],ut(e,i)>-1&&(Ct(t,i),("bar"!==i||"middle"!==r[0])&&ut(n,r[0])>-1))for(var a=0;a<r.length;a++)Ct(t,r[a]);ut(o,s)>-1&&Ct(t,s)}}(e.gui_options),rt(),R.autorun&&$&&D.show(e.delay||0),setTimeout((function(){Ct(v,"c--anim")}),30),setTimeout((function(){bt(document,"keydown",(function(t){if("Tab"===t.key&&(W||U)&&r){var e=At();t.shiftKey?e!==r[0]&&s.contains(e)||(t.preventDefault(),St(r[1])):e!==r[1]&&s.contains(e)||(t.preventDefault(),St(r[0]))}}))}),100),F)"opt-out"===R.mode&&(R.mode,_t());else{var c="boolean"==typeof B.rfc_cookie;(!c||c&&B.rfc_cookie!==R.use_rfc_cookie)&&(B.rfc_cookie=R.use_rfc_cookie,vt(R.cookie_name,JSON.stringify(B))),_=gt(ft()),_t(),"function"==typeof d&&d(B)}}};var _t=function(){if(R.page_scripts){var t=B.categories||[];F&&"opt-out"===R.mode&&(t=K);var e=document.querySelectorAll("script["+R.script_selector+"]"),n=function(e,o){if(o<e.length){var i=e[o],r=i.getAttribute(R.script_selector);if(ut(t,r)>-1){i.type=i.getAttribute("data-type")||"text/javascript",i.removeAttribute(R.script_selector);var s=i.getAttribute("data-src");s&&i.removeAttribute("data-src");var a=dt("script");if(a.textContent=i.innerHTML,function(t,e){for(var n=e.attributes,o=n.length,i=0;i<o;i++){var r=n[i].nodeName;t.setAttribute(r,e[r]||e.getAttribute(r))}}(a,i),s?a.src=s:s=i.src,s&&(a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,n(e,++o))}:a.onload=function(){a.onload=null,n(e,++o)}),i.parentNode.replaceChild(a,i),s)return}n(e,++o)}};n(e,0)}};D.set=function(t,e){return"data"===t&&function(t,e){var n=!1;if("update"===e){var o=typeof(H=D.get("data"))==typeof t;if(o&&"object"==typeof H)for(var i in!H&&(H={}),t)H[i]!==t[i]&&(H[i]=t[i],n=!0);else!o&&H||H===t||(H=t,n=!0)}else H=t,n=!0;return n&&(B.data=H,vt(R.cookie_name,JSON.stringify(B))),n}(e.value,e.mode)},D.get=function(t,e){return JSON.parse(mt(e||R.cookie_name,"one",!0)||"{}")[t]},D.getConfig=function(t){return R[t]||e[t]};var ft=function(){return q=B.categories||[],V=et.filter((function(t){return-1===ut(q,t)})),{accepted:q,rejected:V}},gt=function(t){var e="custom",n=nt.length;return t.accepted.length===et.length?e="all":t.accepted.length===n&&(e="necessary"),e};D.getUserPreferences=function(){var t=ft();return{accept_type:gt(t),accepted_categories:t.accepted,rejected_categories:t.rejected}},D.loadScript=function(t,e,n){var o="function"==typeof e;if(document.querySelector('script[src="'+t+'"]'))o&&e();else{var i=dt("script");if(n&&n.length>0)for(var r=0;r<n.length;++r)n[r]&&i.setAttribute(n[r].name,n[r].value);o&&(i.onload=e),i.src=t,document.head.appendChild(i)}},D.updateScripts=function(){_t()},D.show=function(t,e){!0===e&&at(R.current_lang),$&&(f=At(),r=Q,s=y,W=!0,y.removeAttribute("aria-hidden"),setTimeout((function(){Ct(ot,"show--consent")}),t>0?t:e?30:0))},D.hide=function(){$&&(W=!1,St(a),y.setAttribute("aria-hidden","true"),kt(ot,"show--consent"),St(f),f=null)},D.showSettings=function(t){U=!0,S.removeAttribute("aria-hidden"),W?g=At():f=At(),s=S,r=Z,setTimeout((function(){Ct(ot,"show--settings")}),t>0?t:0)},D.hideSettings=function(){U=!1,Et(),St(c),S.setAttribute("aria-hidden","true"),kt(ot,"show--settings"),W?(St(g),g=null,s=y,r=Q):(St(f),f=null)},D.accept=function(t,e){var r=t||void 0,s=e||[],a=[];if(r)if("object"==typeof r&&"number"==typeof r.length)for(var c=0;c<r.length;c++)-1!==ut(et,r[c])&&a.push(r[c]);else"string"==typeof r&&("all"===r?a=et.slice():-1!==ut(et,r)&&a.push(r));else a=function(){for(var t=document.querySelectorAll(".c-tgl")||[],e=[],n=0;n<t.length;n++)t[n].checked&&e.push(t[n].value);return e}();if(s.length>=1)for(c=0;c<s.length;c++)a=a.filter((function(t){return t!==s[c]}));for(c=0;c<et.length;c++)!0===nt.includes(et[c])&&-1===ut(a,et[c])&&a.push(et[c]);!function(t){G=[];var e=S.querySelectorAll(".c-tgl")||[];if(e.length>0)for(var r=0;r<e.length;r++)-1!==ut(t,et[r])?(e[r].checked=!0,tt[r]||(G.push(et[r]),tt[r]=!0)):(e[r].checked=!1,tt[r]&&(G.push(et[r]),tt[r]=!1));!F&&R.autoclear_cookies&&G.length>0&<(),n||(n=new Date),i||(i=([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){try{return(t^(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}catch(t){return""}}))),B={categories:t,level:t,revision:R.revision,data:H,rfc_cookie:R.use_rfc_cookie,consent_date:n.toISOString(),consent_uuid:i},(F||G.length>0)&&(Y=!0,o=o?new Date:n,B.last_consent_update=o.toISOString(),_=gt(ft()),vt(R.cookie_name,JSON.stringify(B)),_t()),F&&(R.autoclear_cookies&<(!0),"function"==typeof h&&h(D.getUserPreferences(),B),"function"==typeof d&&d(B),F=!1,"opt-in"===R.mode)||("function"==typeof p&&G.length>0&&p(B,G),J&&location.reload())}(a)},D.eraseCookies=function(t,e,n){var o=[],i=n?[n,"."+n]:[R.cookie_domain,"."+R.cookie_domain];if("object"==typeof t&&t.length>0)for(var r=0;r<t.length;r++)this.validCookie(t[r])&&o.push(t[r]);else this.validCookie(t)&&o.push(t);yt(o,e,i)};var vt=function(t,e){var n=R.cookie_expiration;"number"==typeof R.cookie_necessary_only_expiration&&"necessary"===_&&(n=R.cookie_necessary_only_expiration),e=R.use_rfc_cookie?encodeURIComponent(e):e;var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);var i=t+"="+(e||"")+"; expires="+o.toUTCString()+"; Path="+R.cookie_path+";";i+=" SameSite="+R.cookie_same_site+";",location.hostname.indexOf(".")>-1&&R.cookie_domain&&(i+=" Domain="+R.cookie_domain+";"),"https:"===location.protocol&&(i+=" Secure;"),document.cookie=i},mt=function(t,e,n){var o;if("one"===e){if((o=(o=document.cookie.match("(^|;)\\s*"+t+"\\s*=\\s*([^;]+)"))?n?o.pop():t:"")&&t===R.cookie_name){try{o=JSON.parse(o)}catch(t){try{o=JSON.parse(decodeURIComponent(o))}catch(t){o={}}}o=JSON.stringify(o)}}else if("all"===e){var i=document.cookie.split(/;\s*/);o=[];for(var r=0;r<i.length;r++)o.push(i[r].split("=")[0])}return o},yt=function(t,e,n){for(var o=e||"/",i=0;i<t.length;i++){for(var r=0;r<n.length;r++)document.cookie=t[i]+"=; path="+o+(0==n[r].indexOf(".")?"; domain="+n[r]:"")+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";t[i]}};D.validCookie=function(t){return""!==mt(t,"one",!0)},D.validConsent=function(){return!F};var bt=function(t,e,n,o){t.addEventListener(e,n,!0===o&&{passive:!0})},wt=function(t){if("object"==typeof t)return Object.keys(t)},Ct=function(t,e){t.classList.add(e)},kt=function(t,e){t.classList.remove(e)},xt=function(t,e){return t.classList.contains(e)},Ot=function(t){var e=dt("span");return e.tabIndex=-1,1===t?a=e:c=e,e},St=function(t){t&&t instanceof HTMLElement&&t.focus()},Et=function(){for(var t=E.querySelectorAll(".c-tgl"),e=0;e<t.length;e++){var n=t[e].value,o=nt.includes(n);t[e].checked=o||D.allowedCategory(n)}},At=function(){return document.activeElement};return D})}()},477:()=>{},9306:(t,e,n)=>{"use strict";var o=n(4901),i=n(6823),r=TypeError;t.exports=function(t){if(o(t))return t;throw new r(i(t)+" is not a function")}},3463:t=>{"use strict";var e=TypeError;t.exports=function(t){if("string"==typeof t)return t;throw new e("Argument is not a string")}},8551:(t,e,n)=>{"use strict";var o=n(34),i=String,r=TypeError;t.exports=function(t){if(o(t))return t;throw new r(i(t)+" is not an object")}},9617:(t,e,n)=>{"use strict";var o=n(5397),i=n(5610),r=n(6198),s=function(t){return function(e,n,s){var a=o(e),c=r(a);if(0===c)return!t&&-1;var l,u=i(s,c);if(t&&n!=n){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((t||u in a)&&a[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},4527:(t,e,n)=>{"use strict";var o=n(3724),i=n(4376),r=TypeError,s=Object.getOwnPropertyDescriptor,a=o&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!s(t,"length").writable)throw new r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},6319:(t,e,n)=>{"use strict";var o=n(8551),i=n(9539);t.exports=function(t,e,n,r){try{return r?e(o(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},2195:(t,e,n)=>{"use strict";var o=n(9504),i=o({}.toString),r=o("".slice);t.exports=function(t){return r(i(t),8,-1)}},6955:(t,e,n)=>{"use strict";var o=n(2140),i=n(4901),r=n(2195),s=n(8227)("toStringTag"),a=Object,c="Arguments"===r(function(){return arguments}());t.exports=o?r:function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?n:c?r(e):"Object"===(o=r(e))&&i(e.callee)?"Arguments":o}},7740:(t,e,n)=>{"use strict";var o=n(9297),i=n(5031),r=n(7347),s=n(4913);t.exports=function(t,e,n){for(var a=i(e),c=s.f,l=r.f,u=0;u<a.length;u++){var d=a[u];o(t,d)||n&&o(n,d)||c(t,d,l(e,d))}}},2211:(t,e,n)=>{"use strict";var o=n(9039);t.exports=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2529:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},6699:(t,e,n)=>{"use strict";var o=n(3724),i=n(4913),r=n(6980);t.exports=o?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},6980:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2106:(t,e,n)=>{"use strict";var o=n(283),i=n(4913);t.exports=function(t,e,n){return n.get&&o(n.get,e,{getter:!0}),n.set&&o(n.set,e,{setter:!0}),i.f(t,e,n)}},6840:(t,e,n)=>{"use strict";var o=n(4901),i=n(4913),r=n(283),s=n(9433);t.exports=function(t,e,n,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:e;if(o(n)&&r(n,l,a),a.global)c?t[e]=n:s(e,n);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},6279:(t,e,n)=>{"use strict";var o=n(6840);t.exports=function(t,e,n){for(var i in e)o(t,i,e[i],n);return t}},9433:(t,e,n)=>{"use strict";var o=n(4576),i=Object.defineProperty;t.exports=function(t,e){try{i(o,t,{value:e,configurable:!0,writable:!0})}catch(n){o[t]=e}return e}},3724:(t,e,n)=>{"use strict";var o=n(9039);t.exports=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(t,e,n)=>{"use strict";var o=n(4576),i=n(34),r=o.document,s=i(r)&&i(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},6837:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8727:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:(t,e,n)=>{"use strict";var o=n(4576).navigator,i=o&&o.userAgent;t.exports=i?String(i):""},9519:(t,e,n)=>{"use strict";var o,i,r=n(4576),s=n(2839),a=r.process,c=r.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(o=u.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&s&&(!(o=s.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=s.match(/Chrome\/(\d+)/))&&(i=+o[1]),t.exports=i},6518:(t,e,n)=>{"use strict";var o=n(4576),i=n(7347).f,r=n(6699),s=n(6840),a=n(9433),c=n(7740),l=n(2796);t.exports=function(t,e){var n,u,d,p,h,_=t.target,f=t.global,g=t.stat;if(n=f?o:g?o[_]||a(_,{}):o[_]&&o[_].prototype)for(u in e){if(p=e[u],d=t.dontCallGetSet?(h=i(n,u))&&h.value:n[u],!l(f?u:_+(g?".":"#")+u,t.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&r(p,"sham",!0),s(n,u,p,t)}}},9039:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},616:(t,e,n)=>{"use strict";var o=n(9039);t.exports=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:(t,e,n)=>{"use strict";var o=n(616),i=Function.prototype.call;t.exports=o?i.bind(i):function(){return i.apply(i,arguments)}},350:(t,e,n)=>{"use strict";var o=n(3724),i=n(9297),r=Function.prototype,s=o&&Object.getOwnPropertyDescriptor,a=i(r,"name"),c=a&&"something"===function(){}.name,l=a&&(!o||o&&s(r,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},9504:(t,e,n)=>{"use strict";var o=n(616),i=Function.prototype,r=i.call,s=o&&i.bind.bind(r,r);t.exports=o?s:function(t){return function(){return r.apply(t,arguments)}}},7751:(t,e,n)=>{"use strict";var o=n(4576),i=n(4901);t.exports=function(t,e){return arguments.length<2?(n=o[t],i(n)?n:void 0):o[t]&&o[t][e];var n}},1767:t=>{"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},5966:(t,e,n)=>{"use strict";var o=n(9306),i=n(4117);t.exports=function(t,e){var n=t[e];return i(n)?void 0:o(n)}},4576:function(t,e,n){"use strict";var o=function(t){return t&&t.Math===Math&&t};t.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||o("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(t,e,n)=>{"use strict";var o=n(9504),i=n(8981),r=o({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(i(t),e)}},421:t=>{"use strict";t.exports={}},397:(t,e,n)=>{"use strict";var o=n(7751);t.exports=o("document","documentElement")},5917:(t,e,n)=>{"use strict";var o=n(3724),i=n(9039),r=n(4055);t.exports=!o&&!i((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},7055:(t,e,n)=>{"use strict";var o=n(9504),i=n(9039),r=n(2195),s=Object,a=o("".split);t.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?a(t,""):s(t)}:s},3706:(t,e,n)=>{"use strict";var o=n(9504),i=n(4901),r=n(7629),s=o(Function.toString);i(r.inspectSource)||(r.inspectSource=function(t){return s(t)}),t.exports=r.inspectSource},1181:(t,e,n)=>{"use strict";var o,i,r,s=n(8622),a=n(4576),c=n(34),l=n(6699),u=n(9297),d=n(7629),p=n(6119),h=n(421),_="Object already initialized",f=a.TypeError,g=a.WeakMap;if(s||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,o=function(t,e){if(v.has(t))throw new f(_);return e.facade=t,v.set(t,e),e},i=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var m=p("state");h[m]=!0,o=function(t,e){if(u(t,m))throw new f(_);return e.facade=t,l(t,m,e),e},i=function(t){return u(t,m)?t[m]:{}},r=function(t){return u(t,m)}}t.exports={set:o,get:i,has:r,enforce:function(t){return r(t)?i(t):o(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw new f("Incompatible receiver, "+t+" required");return n}}}},4376:(t,e,n)=>{"use strict";var o=n(2195);t.exports=Array.isArray||function(t){return"Array"===o(t)}},4901:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796:(t,e,n)=>{"use strict";var o=n(9039),i=n(4901),r=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n===u||n!==l&&(i(e)?o(e):!!e)},a=s.normalize=function(t){return String(t).replace(r,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},4117:t=>{"use strict";t.exports=function(t){return null==t}},34:(t,e,n)=>{"use strict";var o=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:o(t)}},6395:t=>{"use strict";t.exports=!1},757:(t,e,n)=>{"use strict";var o=n(7751),i=n(4901),r=n(1625),s=n(7040),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&r(e.prototype,a(t))}},9539:(t,e,n)=>{"use strict";var o=n(9565),i=n(8551),r=n(5966);t.exports=function(t,e,n){var s,a;i(t);try{if(!(s=r(t,"return"))){if("throw"===e)throw n;return n}s=o(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw n;if(a)throw s;return i(s),n}},9462:(t,e,n)=>{"use strict";var o=n(9565),i=n(2360),r=n(6699),s=n(6279),a=n(8227),c=n(1181),l=n(5966),u=n(7657).IteratorPrototype,d=n(2529),p=n(9539),h=a("toStringTag"),_="IteratorHelper",f="WrapForValidIterator",g=c.set,v=function(t){var e=c.getterFor(t?f:_);return s(i(u),{next:function(){var n=e(this);if(t)return n.nextHandler();try{var o=n.done?void 0:n.nextHandler();return d(o,n.done)}catch(t){throw n.done=!0,t}},return:function(){var n=e(this),i=n.iterator;if(n.done=!0,t){var r=l(i,"return");return r?o(r,i):d(void 0,!0)}if(n.inner)try{p(n.inner.iterator,"normal")}catch(t){return p(i,"throw",t)}return i&&p(i,"normal"),d(void 0,!0)}})},m=v(!0),y=v(!1);r(y,h,"Iterator Helper"),t.exports=function(t,e){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=e?f:_,o.nextHandler=t,o.counter=0,o.done=!1,g(this,o)};return n.prototype=e?m:y,n}},713:(t,e,n)=>{"use strict";var o=n(9565),i=n(9306),r=n(8551),s=n(1767),a=n(9462),c=n(6319),l=a((function(){var t=this.iterator,e=r(o(this.next,t));if(!(this.done=!!e.done))return c(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function(t){return r(this),i(t),new l(s(this),{mapper:t})}},7657:(t,e,n)=>{"use strict";var o,i,r,s=n(9039),a=n(4901),c=n(34),l=n(2360),u=n(2787),d=n(6840),p=n(8227),h=n(6395),_=p("iterator"),f=!1;[].keys&&("next"in(r=[].keys())?(i=u(u(r)))!==Object.prototype&&(o=i):f=!0),!c(o)||s((function(){var t={};return o[_].call(t)!==t}))?o={}:h&&(o=l(o)),a(o[_])||d(o,_,(function(){return this})),t.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:f}},6198:(t,e,n)=>{"use strict";var o=n(8014);t.exports=function(t){return o(t.length)}},283:(t,e,n)=>{"use strict";var o=n(9504),i=n(9039),r=n(4901),s=n(9297),a=n(3724),c=n(350).CONFIGURABLE,l=n(3706),u=n(1181),d=u.enforce,p=u.get,h=String,_=Object.defineProperty,f=o("".slice),g=o("".replace),v=o([].join),m=a&&!i((function(){return 8!==_((function(){}),"length",{value:8}).length})),y=String(String).split("String"),b=t.exports=function(t,e,n){"Symbol("===f(h(e),0,7)&&(e="["+g(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?_(t,"name",{value:e,configurable:!0}):t.name=e),m&&n&&s(n,"arity")&&t.length!==n.arity&&_(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&_(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var o=d(t);return s(o,"source")||(o.source=v(y,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return r(this)&&p(this).source||l(this)}),"toString")},741:t=>{"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var o=+t;return(o>0?n:e)(o)}},2360:(t,e,n)=>{"use strict";var o,i=n(8551),r=n(6801),s=n(8727),a=n(421),c=n(397),l=n(4055),u=n(6119),d="prototype",p="script",h=u("IE_PROTO"),_=function(){},f=function(t){return"<"+p+">"+t+"</"+p+">"},g=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{o=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;v="undefined"!=typeof document?document.domain&&o?g(o):(e=l("iframe"),n="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):g(o);for(var i=s.length;i--;)delete v[d][s[i]];return v()};a[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(_[d]=i(t),n=new _,_[d]=null,n[h]=t):n=v(),void 0===e?n:r.f(n,e)}},6801:(t,e,n)=>{"use strict";var o=n(3724),i=n(8686),r=n(4913),s=n(8551),a=n(5397),c=n(1072);e.f=o&&!i?Object.defineProperties:function(t,e){s(t);for(var n,o=a(e),i=c(e),l=i.length,u=0;l>u;)r.f(t,n=i[u++],o[n]);return t}},4913:(t,e,n)=>{"use strict";var o=n(3724),i=n(5917),r=n(8686),s=n(8551),a=n(6969),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";e.f=o?r?function(t,e,n){if(s(t),e=a(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&h in n&&!n[h]){var o=u(t,e);o&&o[h]&&(t[e]=n.value,n={configurable:p in n?n[p]:o[p],enumerable:d in n?n[d]:o[d],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=a(e),s(n),i)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7347:(t,e,n)=>{"use strict";var o=n(3724),i=n(9565),r=n(8773),s=n(6980),a=n(5397),c=n(6969),l=n(9297),u=n(5917),d=Object.getOwnPropertyDescriptor;e.f=o?d:function(t,e){if(t=a(t),e=c(e),u)try{return d(t,e)}catch(t){}if(l(t,e))return s(!i(r.f,t,e),t[e])}},8480:(t,e,n)=>{"use strict";var o=n(1828),i=n(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,i)}},3717:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},2787:(t,e,n)=>{"use strict";var o=n(9297),i=n(4901),r=n(8981),s=n(6119),a=n(2211),c=s("IE_PROTO"),l=Object,u=l.prototype;t.exports=a?l.getPrototypeOf:function(t){var e=r(t);if(o(e,c))return e[c];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof l?u:null}},1625:(t,e,n)=>{"use strict";var o=n(9504);t.exports=o({}.isPrototypeOf)},1828:(t,e,n)=>{"use strict";var o=n(9504),i=n(9297),r=n(5397),s=n(9617).indexOf,a=n(421),c=o([].push);t.exports=function(t,e){var n,o=r(t),l=0,u=[];for(n in o)!i(a,n)&&i(o,n)&&c(u,n);for(;e.length>l;)i(o,n=e[l++])&&(~s(u,n)||c(u,n));return u}},1072:(t,e,n)=>{"use strict";var o=n(1828),i=n(8727);t.exports=Object.keys||function(t){return o(t,i)}},8773:(t,e)=>{"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},4270:(t,e,n)=>{"use strict";var o=n(9565),i=n(4901),r=n(34),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&i(n=t.toString)&&!r(a=o(n,t)))return a;if(i(n=t.valueOf)&&!r(a=o(n,t)))return a;if("string"!==e&&i(n=t.toString)&&!r(a=o(n,t)))return a;throw new s("Can't convert object to primitive value")}},5031:(t,e,n)=>{"use strict";var o=n(7751),i=n(9504),r=n(8480),s=n(3717),a=n(8551),c=i([].concat);t.exports=o("Reflect","ownKeys")||function(t){var e=r.f(a(t)),n=s.f;return n?c(e,n(t)):e}},7750:(t,e,n)=>{"use strict";var o=n(4117),i=TypeError;t.exports=function(t){if(o(t))throw new i("Can't call method on "+t);return t}},6119:(t,e,n)=>{"use strict";var o=n(5745),i=n(3392),r=o("keys");t.exports=function(t){return r[t]||(r[t]=i(t))}},7629:(t,e,n)=>{"use strict";var o=n(6395),i=n(4576),r=n(9433),s="__core-js_shared__",a=t.exports=i[s]||r(s,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:o?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(t,e,n)=>{"use strict";var o=n(7629);t.exports=function(t,e){return o[t]||(o[t]=e||{})}},533:(t,e,n)=>{"use strict";var o=n(9504),i=n(8014),r=n(655),s=n(2333),a=n(7750),c=o(s),l=o("".slice),u=Math.ceil,d=function(t){return function(e,n,o){var s,d,p=r(a(e)),h=i(n),_=p.length,f=void 0===o?" ":r(o);return h<=_||""===f?p:((d=c(f,u((s=h-_)/f.length))).length>s&&(d=l(d,0,s)),t?p+d:d+p)}};t.exports={start:d(!1),end:d(!0)}},2333:(t,e,n)=>{"use strict";var o=n(1291),i=n(655),r=n(7750),s=RangeError;t.exports=function(t){var e=i(r(this)),n="",a=o(t);if(a<0||a===1/0)throw new s("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},4495:(t,e,n)=>{"use strict";var o=n(9519),i=n(9039),r=n(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!r(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},5610:(t,e,n)=>{"use strict";var o=n(1291),i=Math.max,r=Math.min;t.exports=function(t,e){var n=o(t);return n<0?i(n+e,0):r(n,e)}},5397:(t,e,n)=>{"use strict";var o=n(7055),i=n(7750);t.exports=function(t){return o(i(t))}},1291:(t,e,n)=>{"use strict";var o=n(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:o(e)}},8014:(t,e,n)=>{"use strict";var o=n(1291),i=Math.min;t.exports=function(t){var e=o(t);return e>0?i(e,9007199254740991):0}},8981:(t,e,n)=>{"use strict";var o=n(7750),i=Object;t.exports=function(t){return i(o(t))}},2777:(t,e,n)=>{"use strict";var o=n(9565),i=n(34),r=n(757),s=n(5966),a=n(4270),c=n(8227),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||r(t))return t;var n,c=s(t,u);if(c){if(void 0===e&&(e="default"),n=o(c,t,e),!i(n)||r(n))return n;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},6969:(t,e,n)=>{"use strict";var o=n(2777),i=n(757);t.exports=function(t){var e=o(t,"string");return i(e)?e:e+""}},2140:(t,e,n)=>{"use strict";var o={};o[n(8227)("toStringTag")]="z",t.exports="[object z]"===String(o)},655:(t,e,n)=>{"use strict";var o=n(6955),i=String;t.exports=function(t){if("Symbol"===o(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},6823:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:(t,e,n)=>{"use strict";var o=n(9504),i=0,r=Math.random(),s=o(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+r,36)}},7040:(t,e,n)=>{"use strict";var o=n(4495);t.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(t,e,n)=>{"use strict";var o=n(3724),i=n(9039);t.exports=o&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:t=>{"use strict";var e=TypeError;t.exports=function(t,n){if(t<n)throw new e("Not enough arguments");return t}},8622:(t,e,n)=>{"use strict";var o=n(4576),i=n(4901),r=o.WeakMap;t.exports=i(r)&&/native code/.test(String(r))},8227:(t,e,n)=>{"use strict";var o=n(4576),i=n(5745),r=n(9297),s=n(3392),a=n(4495),c=n(7040),l=o.Symbol,u=i("wks"),d=c?l.for||l:l&&l.withoutSetter||s;t.exports=function(t){return r(u,t)||(u[t]=a&&r(l,t)?l[t]:d("Symbol."+t)),u[t]}},7452:t=>{"use strict";t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},4114:(t,e,n)=>{"use strict";var o=n(6518),i=n(8981),r=n(6198),s=n(4527),a=n(6837);o({target:"Array",proto:!0,arity:1,forced:n(9039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=i(this),n=r(e),o=arguments.length;a(n+o);for(var c=0;c<o;c++)e[n]=arguments[c],n++;return s(e,n),n}})},1701:(t,e,n)=>{"use strict";var o=n(6518),i=n(713);o({target:"Iterator",proto:!0,real:!0,forced:n(6395)},{map:i})},1454:(t,e,n)=>{"use strict";n(1701)},7108:(t,e,n)=>{"use strict";var o=n(6518),i=n(9504),r=n(3463),s=n(9297),a=n(533).start,c=n(7452),l=Array,u=RegExp.escape,d=i("".charAt),p=i("".charCodeAt),h=i(1.1.toString),_=i([].join),f=/^[0-9a-z]/i,g=/^[$()*+./?[\\\]^{|}]/,v=RegExp("^[!\"#%&',\\-:;<=>@`~"+c+"]"),m=i(f.exec),y={"\t":"t","\n":"n","\v":"v","\f":"f","\r":"r"},b=function(t){var e=h(p(t,0),16);return e.length<3?"\\x"+a(e,2,"0"):"\\u"+a(e,4,"0")};o({target:"RegExp",stat:!0,forced:!u||"\\x61b"!==u("ab")},{escape:function(t){r(t);for(var e=t.length,n=l(e),o=0;o<e;o++){var i=d(t,o);if(0===o&&m(f,i))n[o]=b(i);else if(s(y,i))n[o]="\\"+y[i];else if(m(g,i))n[o]="\\"+i;else if(m(v,i))n[o]=b(i);else{var a=p(i,0);55296!=(63488&a)?n[o]=i:a>=56320||o+1>=e||56320!=(64512&p(t,o+1))?n[o]=b(i):(n[o]=i,n[++o]=d(t,o))}}return _(n,"")}})},4603:(t,e,n)=>{"use strict";var o=n(6840),i=n(9504),r=n(655),s=n(2812),a=URLSearchParams,c=a.prototype,l=i(c.append),u=i(c.delete),d=i(c.forEach),p=i([].push),h=new a("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&o(c,"delete",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return u(this,t);var o=[];d(this,(function(t,e){p(o,{key:e,value:t})})),s(e,1);for(var i,a=r(t),c=r(n),h=0,_=0,f=!1,g=o.length;h<g;)i=o[h++],f||i.key===a?(f=!0,u(this,i.key)):_++;for(;_<g;)(i=o[_++]).key===a&&i.value===c||l(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},7566:(t,e,n)=>{"use strict";var o=n(6840),i=n(9504),r=n(655),s=n(2812),a=URLSearchParams,c=a.prototype,l=i(c.getAll),u=i(c.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||o(c,"has",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return u(this,t);var o=l(this,t);s(e,1);for(var i=r(n),a=0;a<o.length;)if(o[a++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},8721:(t,e,n)=>{"use strict";var o=n(3724),i=n(9504),r=n(2106),s=URLSearchParams.prototype,a=i(s.forEach);o&&!("size"in s)&&r(s,"size",{get:function(){var t=0;return a(this,(function(){t++})),t},configurable:!0,enumerable:!0})}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var r=e[o]={exports:{}};return t[o].call(r.exports,r,r.exports,n),r.exports}n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var o={};(()=>{"use strict";n.d(o,{default:()=>W});n(4114),n(4603),n(7566),n(8721),n(5846);class t{merge(t){let e;for(e in t)e in this&&(this[e]=t[e])}}class e extends t{constructor(){super(),this.autorun=!0,this.delay=0,this.hide_from_bots=!1,this.cookie_name="cc-settings",this.cookie_expiration=182,this.force_consent=!1,this.revision=0,this.current_lang="en",this.auto_language="document",this.page_scripts=!1,this.script_selector="data-cookiecategory",this.cookie_domain=window.location.hostname,this.use_rfc_cookie=!1,this.init_after_dom_content_loaded=!1,this.cookie_path="/",this.cookie_same_site="Lax",this.remove_cookie_tables=!1}exportCookieConsentConfig(){const t={...this};delete t.init_after_dom_content_loaded;const e=0===t.cookie_domain.indexOf(".")?t.cookie_domain.substring(1):t.cookie_domain,n=window.location.hostname;return-1===n.indexOf(e,n.length-e.length)&&(t.cookie_domain=n),t}}class i extends t{constructor(){super(),this.layout="box",this.position="bottom center",this.transition="zoom",this.primary_button_role="accept_all",this.secondary_button_role="settings",this.swap_buttons=!1,this.show_third_button=!1}exportCookieConsentConfig(){return{layout:this.layout,position:this.position,transition:this.transition,swap_buttons:this.swap_buttons}}}class r extends t{constructor(){super(),this.layout="box",this.position=void 0,this.transition="zoom",this.modal_trigger_selector=null}exportCookieConsentConfig(){return{layout:this.layout,position:this.position,transition:this.transition}}}class s extends t{constructor(t){super(),this._scriptBasePath=t,this.include_default_stylesheets=!0,this.external_stylesheets=[],this.internal_stylesheets=[]}get defaultStylesheets(){return!0===this.include_default_stylesheets?[`${this._scriptBasePath}/cookie-consent.css`]:[]}}class a extends t{constructor(){super(),this.enabled=!1,this.strategy=a.STRATEGY_CLEAR_ALL_EXCEPT_DEFINED,this.cookie_names=[]}static get STRATEGY_CLEAR_ALL_EXCEPT_DEFINED(){return"clear_all_except_defined"}static get STRATEGY_CLEAR_DEFINED_ONLY(){return"clear_defined_only"}static get STRATEGY_COOKIE_TABLES(){return"cookie_tables"}merge(t){if("strategy"in t&&-1===[a.STRATEGY_CLEAR_ALL_EXCEPT_DEFINED,a.STRATEGY_CLEAR_DEFINED_ONLY,a.STRATEGY_COOKIE_TABLES].indexOf(t.strategy))throw new Error(`AutoClear strategy ${"string"==typeof t.strategy?t.strategy:t.strategy.toString()} is not supported.`);super.merge(t)}}class c extends t{constructor(){super(),this.url=null,this.project=null,this.version=1,this.environment=null,this.consent_api_enabled=!1,this.cookies_api_enabled=!1,this.cookie_table_headers=[]}resolveProject(){return this.project&&""!==this.project?this.project:window.location.hostname.replace("www.","")}}class l{constructor(t){this.pluginOptions=new e,this.consentModalOptions=new i,this.settingsModalOptions=new r,this.uiOptions=new s(t),this.autoClearOptions=new a,this.cmpApiOptions=new c}exportCookieConsentConfig(){const t=this.pluginOptions.exportCookieConsentConfig();return t.gui_options={consent_modal:this.consentModalOptions.exportCookieConsentConfig(),settings_modal:this.settingsModalOptions.exportCookieConsentConfig()},t.autoclear_cookies=this.autoClearOptions.enabled&&a.STRATEGY_COOKIE_TABLES===this.autoClearOptions.strategy,t}}class u{constructor(t){if(!("name"in t)||""===t.name)throw new Error('Missing required property "name".');this.name=t.name,this.enabled_by_default=t.enabled_by_default||!1,this.display_in_widget=t.display_in_widget||!1,this.readonly=t.readonly||!1,this.sync_consent_with=t.sync_consent_with||null,this.show_modal_again_expiration=t.show_modal_again_expiration||null}}class d{constructor(t){this._config=new u(t)}get config(){return{...this._config}}get name(){return this._config.name}get enabledByDefault(){return this._config.enabled_by_default}get displayInWidget(){return this._config.display_in_widget}get readonly(){return this._config.readonly}get syncConsentWith(){return this._config.sync_consent_with}get showModalAgainExpiration(){return this._config.show_modal_again_expiration}}class p{constructor(){this._items={}}add(t){this._items[t.name]=t}has(t){return t in this._items}get(t){if(!this.has(t))throw new Error(`Missing storage "${t}".`);return this._items[t]}all(){return Object.values(this._items)}}class h{static get ON_INIT(){return"init"}static get ON_CONSENT_FIRST_ACTION(){return"consent:first-action"}static get ON_CONSENT_ACCEPTED(){return"consent:accepted"}static get ON_CONSENT_CHANGED(){return"consent:changed"}static get ON_LOCALE_CHANGE(){return"locale:change"}}class _{constructor(t,e,n,o,i,r){this._cookieConsent=t,this._eventBus=e,this._config=n,this._storagePool=o,this._eventTriggers=i,this._gtag=r,this.first_action_triggered=!1}onFirstAction(t){setTimeout((()=>{"all"!==t.accept_type&&0<t.rejected_categories.length&&this._autoClearCookies();const e=this._updateConsent();this.first_action_triggered=!0,this._updateLastActionDate(),this._eventBus.dispatch(h.ON_CONSENT_FIRST_ACTION,e)}),0)}onAccept(){setTimeout((()=>{const t=this.first_action_triggered?this._getContent():this._updateConsent();this.first_action_triggered=!1,this._showModalAgainIfAnyStorageIsExpired(),this._eventBus.dispatch(h.ON_CONSENT_ACCEPTED,t)}),0)}onChange(t,e){setTimeout((()=>{const t=this._updateConsent();if(0<e.length)for(let n in e)if(e[n]in t&&"denied"===t[e[n]]){this._autoClearCookies();break}this._updateLastActionDate(),this._eventBus.dispatch(h.ON_CONSENT_CHANGED,t,e)}),0)}_getContent(){const t=this._storagePool.all(),e={};for(let n in t){const o=t[n],i=null!==o.syncConsentWith?o.syncConsentWith:o.name;e[o.name]=this._cookieConsent.allowedCategory(i)?"granted":"denied"}return e}_updateConsent(){const t=this._storagePool.all(),e={},n=[];for(let o in t){const i=t[o],r=null!==i.syncConsentWith?i.syncConsentWith:i.name,s=this._cookieConsent.allowedCategory(r);e[i.name]=s?"granted":"denied",s&&n.push(i.name)}if(this._gtag("consent","update",e),0>=n.length)return;let o,i;for(o in this._eventTriggers)i=this._eventTriggers[o],i.tryInvoke(this._gtag,n)&&delete this._eventTriggers[o];return e}_autoClearCookies(){if(!this._config.autoClearOptions.enabled)return;const t=this._config.autoClearOptions.strategy;if(a.STRATEGY_COOKIE_TABLES===t)return;const e=document.cookie.split(/;\s*/),n=[],o=this._config.autoClearOptions.cookie_names||[];for(let i=0;i<e.length;i++){const r=e[i].split("=")[0];this._config.pluginOptions.cookie_name!==r&&((a.STRATEGY_CLEAR_ALL_EXCEPT_DEFINED===t&&-1===o.indexOf(r)||a.STRATEGY_CLEAR_DEFINED_ONLY===t&&-1!==o.indexOf(r))&&n.push(r))}const i=this._cookieConsent.getConfig("cookie_domain"),r=[i];if(0===i.lastIndexOf("www.",0)&&r.push(i.substring(4)),0<n.length)for(let t=0;t<r.length;t++)this._cookieConsent.eraseCookies(n,"/",r[t])}_updateLastActionDate(){this._cookieConsent.set("data",{value:{last_action_date:(new Date).toJSON()},mode:"update"})}_showModalAgainIfAnyStorageIsExpired(){let t=(this._cookieConsent.get("data")||{}).last_action_date;if(t=t?new Date(t):void 0,!t||"Invalid Date"===t||isNaN(t))return void this._updateLastActionDate();const e=this._storagePool.all();for(let n in e){const o=e[n],i=null!==o.syncConsentWith?o.syncConsentWith:o.name;if(this._cookieConsent.allowedCategory(i))continue;if("number"!=typeof o.showModalAgainExpiration||0>=o.showModalAgainExpiration)continue;const r=new Date,s=new Date(t.valueOf());if(s.setDate(s.getDate()+o.showModalAgainExpiration),r>=s)return this._cookieConsent.showSettings(0),void this._updateLastActionDate()}}}class f{#t={};constructor(t){this._locale=t,this.modal_trigger_title="",this.consent_modal_title="",this.consent_modal_description="",this.consent_modal_revision_message="",this.consent_modal_primary_btn="",this.consent_modal_secondary_btn_settings="",this.consent_modal_secondary_btn_accept_necessary="",this.settings_modal_title="",this.settings_modal_save_settings_btn="",this.settings_modal_accept_all_btn="",this.settings_modal_reject_all_btn="",this.settings_modal_close_btn_label="",this.settings_modal_before_consent_title="",this.settings_modal_before_consent_description="",this.settings_modal_after_consent_title="",this.settings_modal_after_consent_description="",this.functionality_storage_title="",this.functionality_storage_description="",this.personalization_storage_title="",this.personalization_storage_description="",this.security_storage_title="",this.security_storage_description="",this.ad_storage_title="",this.ad_storage_description="",this.ad_user_data_title="",this.ad_user_data_description="",this.ad_personalization_title="",this.ad_personalization_description="",this.analytics_storage_title="",this.analytics_storage_description="",this.cookie_table_col_name="",this.cookie_table_col_purpose="",this.cookie_table_col_processing_time="",this.cookie_table_col_provider="",this.cookie_table_col_type="",this.cookie_table_col_link="",this.cookie_table_col_link_find_out_more="",this.cookie_table_col_category="",this.processing_time_session="",this.processing_time_persistent="",this.cookie_type_1st_party="",this.cookie_type_3rd_party="",this.find_out_more=""}get locale(){return this._locale}loadFromUrl(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t in this.#t)return!0;let n,o=t.endsWith(".js")?t:t+".js",i=document.head.querySelector(`script[src='${o}']`);if(i){if(window.cookieConsentWrapperTranslations&&o in window.cookieConsentWrapperTranslations)return this.merge(window.cookieConsentWrapperTranslations[o],e),!0;t=o,n=new Promise(((t,e)=>{const n=()=>{i.removeEventListener("load",n),i.removeEventListener("error",r),t(window.cookieConsentWrapperTranslations[o])},r=()=>{i.removeEventListener("load",n),i.removeEventListener("error",r),e(new Error(`Unable to load script: ${o}`))};i.addEventListener("load",n),i.addEventListener("error",r)}))}else n=fetch(t).then((t=>t.json()));return this.#t[t]=n.then((n=>(this.merge(n,e),delete this.#t[t],n))).catch((e=>{console.warn(`CookieConsentWrapper: Unable to load translations from ${t}`,e),delete this.#t[t]}))}translate(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(t in this))return t;"consent_modal_revision_message"!==t&&(e.revision_message=this.consent_modal_revision_message);let n=this[t];for(let t in e)n=n.replaceAll("[["+t+"]]",e[t]);return n}merge(t){let e,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];for(e in t)e in this&&(n||""===this[e])&&(this[e]=t[e])}async exportTranslations(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=Object.values(this.#t);o.length&&await Promise.all(o);const i=[];""===this.settings_modal_before_consent_title&&""===this.settings_modal_before_consent_description||i.push({title:this.translate("settings_modal_before_consent_title",n),description:this.translate("settings_modal_before_consent_description",n)});const r=t.all();let s,a;for(a in r)s=r[a],s.displayInWidget&&s.name+"_title"in this&&i.push({title:this.translate(s.name+"_title",n),description:this.translate(s.name+"_description",n),toggle:{value:s.name,enabled:s.enabledByDefault,readonly:s.readonly}});return""===this.settings_modal_after_consent_title&&""===this.settings_modal_after_consent_description||i.push({title:this.translate("settings_modal_after_consent_title",n),description:this.translate("settings_modal_after_consent_description",n)}),{consent_modal:{title:this.translate("consent_modal_title",n),description:this.translate("consent_modal_description",n),revision_message:this.translate("consent_modal_revision_message",n),primary_btn:{text:this.translate("consent_modal_primary_btn",n),role:e.consentModalOptions.primary_button_role},secondary_btn:{text:this.translate("accept_necessary"===e.consentModalOptions.secondary_button_role?"consent_modal_secondary_btn_accept_necessary":"consent_modal_secondary_btn_settings",n),role:e.consentModalOptions.secondary_button_role}},settings_modal:{title:this.translate("settings_modal_title",n),save_settings_btn:this.translate("settings_modal_save_settings_btn",n),accept_all_btn:this.translate("settings_modal_accept_all_btn",n),reject_all_btn:this.translate("settings_modal_reject_all_btn",n),close_btn_label:this.translate("settings_modal_close_btn_label",n),blocks:i}}}}class g{constructor(){this._catalogues={},this._placeholders={}}loadTranslations(t,e){let n,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t in this._catalogues?n=this._catalogues[t]:(n=new f(t),this._catalogues[t]=n),n.loadFromUrl(e,o)}addTranslations(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t in this._catalogues?e=this._catalogues[t]:(e=new f(t),this._catalogues[t]=e),e.merge(n)}addPlaceholder(t,e){return this._placeholders[t]=e,this}translate(t,e){return t in this._catalogues?this._catalogues[t].translate(e,this._placeholders):e}async exportTranslations(t,e){const n={};let o,i;for(o in this._catalogues)i=this._catalogues[o],n[i.locale]=await i.exportTranslations(t,e,this._placeholders);return n}}class v{constructor(t){this._document=t}static loadFromConfig(t,e){const n=new v(t),o=e.internal_stylesheets;let i,r=e.defaultStylesheets;for(i in r=[...r,...e.external_stylesheets],r)n.loadExternal(r[i]);for(i in o)n.loadInternal(o[i])}loadExternal(t){const e=this._document.createElement("link");e.rel="stylesheet",e.href=t,this._appendStylesheet(e)}loadInternal(t){const e=this._document.createElement("style");e.innerText=t.replace(/ {2}|\r\n|\n|\r/gm,""),this._appendStylesheet(e)}_appendStylesheet(t){this._document.getElementsByTagName("head")[0].appendChild(t)}}class m{constructor(t,e){this._document=t,this._dictionary=e}create(t,e){const n=this._document.querySelectorAll(t),o=n.length?n[n.length-1]:void 0;if(!o)return console.warn(`HTML element with selector ${t} not found.`),{itemElement:void 0,linkElement:void 0};const i=o.cloneNode(!0);let r;if(r="A"===i.nodeName?i:i.getElementsByTagName("a")[0]||void 0,!r){r=this._document.createElement("a");const t=i.querySelectorAll("*");let e=t.length?t[t.length-1]:i;e.innerHTML="",e.appendChild(r)}const s=r.querySelectorAll("*");let a=s.length?s[s.length-1]:r;return a.innerHTML=this._dictionary.translate(e,"modal_trigger_title"),r.setAttribute("href","#cookie-settings"),r.addEventListener("click",(t=>{t.preventDefault(),window.CookieConsentWrapper.unwrap().showSettings(0)})),o.parentNode.appendChild(i),{itemElement:i,textElement:a}}}class y{constructor(){this._generator=(()=>{let t=0;return{getNextIdentifier:function(){return t++}}})(),this._listeners={}}subscribe(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("function"!=typeof e)throw new TypeError("Listener must be of type function.");const o="idx_"+this._generator.getNextIdentifier();return this._listeners[t]=this._listeners[t]||{},this._listeners[t][o]={callback:e,scope:n},function(){t in this._listeners&&o in this._listeners[t]&&delete this._listeners[t][o]}}dispatch(t){const e=this._listeners[t]||{};let n,o;for(var i=arguments.length,r=new Array(i>1?i-1:0),s=1;s<i;s++)r[s-1]=arguments[s];for(n in e)o=e[n],o.callback.call(o.scope,...r)}}class b{constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.TYPE_OR;if(!Array.isArray(e)){if("string"!=typeof e)throw new TypeError("Invalid argument $storageNames passed, the argument must be string or array of strings.");e=[e]}if(0>=e.length)throw new Error("Storage names can't be an empty array.");if(-1===[b.TYPE_OR,b.TYPE_AND].indexOf(n))throw new Error(`Invalid event trigger type ${n}.`);this._name=t,this._type=n,this._storageNames=e}static get TYPE_OR(){return"or"}static get TYPE_AND(){return"and"}tryInvoke(t,e){let n,o=!1;for(n in this._storageNames)if(o=-1!==e.indexOf(this._storageNames[n]),o&&b.TYPE_OR===this._type||!o&&b.TYPE_AND===this._type)break;return o&&t("event",this._name,{}),o}}class w{toString(){throw new Error("Method ::toString() must be reimplemented.")}}var C,k=new Uint8Array(16);function x(){if(!C&&!(C="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return C(k)}const O=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const S=function(t){return"string"==typeof t&&O.test(t)};for(var E=[],A=0;A<256;++A)E.push((A+256).toString(16).substr(1));const T=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(E[t[e+0]]+E[t[e+1]]+E[t[e+2]]+E[t[e+3]]+"-"+E[t[e+4]]+E[t[e+5]]+"-"+E[t[e+6]]+E[t[e+7]]+"-"+E[t[e+8]]+E[t[e+9]]+"-"+E[t[e+10]]+E[t[e+11]]+E[t[e+12]]+E[t[e+13]]+E[t[e+14]]+E[t[e+15]]).toLowerCase();if(!S(n))throw TypeError("Stringified UUID is invalid");return n};const j=function(t,e,n){var o=(t=t||{}).random||(t.rng||x)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=o[i];return e}return T(o)};class P extends w{constructor(){super(),this._id=null}toString(){return null===this._id&&(this._id=j().replaceAll("-","")),this._id}}class N extends w{constructor(t){super(),this._id=null,this._inner=t}toString(){if(null!==this._id)return this._id;if(!window.localStorage)return console.warn("Local storage is not accessible."),this._id=this._inner.toString();const t=window.localStorage.getItem("cookie_consent__user_identity");return t?this._id=t:(this._id=this._inner.toString(),window.localStorage.setItem("cookie_consent__user_identity",this._id),this._id)}}class L extends w{constructor(t){if(super(),!t||0>=t.length)throw new Error("User identity must be non empty string.");this._id=t}toString(){return this._id}}class I{constructor(t){this._identity=t,this._attributes={}}static createDefault(){return new I(new N(new P))}get identity(){return this._identity}get attributes(){return this._attributes}set attributes(t){this._attributes=t}addAttribute(t,e){return this._attributes[t]=e,this}withIdentity(t){const e=new I(t);return e.attributes=this.attributes,e}withStaticIdentity(t){try{return this.withIdentity(new L(t))}catch(t){console.warn(t+" Previous identity strategy will be used.")}return this}}class M{append(t,e){const n=t._config.consentModalOptions;if(!n.show_third_button)return;if(!e.getElementById("c-bns"))return;const o="settings"===n.secondary_button_role?"accept_necessary":"settings",i=e.createElement("button");i.setAttribute("type","button"),i.setAttribute("id","c-t-bn"),i.setAttribute("class","c-bn"),i.innerText=t.translate(t.unwrap().getConfig("current_lang"),"settings"===o?"consent_modal_secondary_btn_settings":"consent_modal_secondary_btn_accept_necessary"),i.addEventListener("click",(function(e){const n=t.unwrap();"settings"===o?n.showSettings(0):(n.hide(),n.accept([])),e.preventDefault()})),e.getElementById("c-bns").appendChild(i)}}class R{constructor(){this._rows=[]}get rows(){return this._rows}addRow(t){this._rows.push(t)}}class D{constructor(){this._header=[],this._bodies={}}get header(){return this._header}addHeader(t,e){const n={};return n[t]=e,this._header.push(n),this}getRows(t){return t in this._bodies?this._bodies[t].rows:[]}addRow(t,e){return t in this._bodies||(this._bodies[t]=new R),this._bodies[t].addRow(e),this}}class B{constructor(){this._cookieTables={}}getCookieTable(t){return t in this._cookieTables||(this._cookieTables[t]=new D),this._cookieTables[t]}appendCookieTables(t){for(let e in t){if(!(e in this._cookieTables))continue;const n=t[e],o=this.getCookieTable(e);if(!(0>=o.header.length)){n.settings_modal.cookie_table_headers=o.header;for(let t in n.settings_modal.blocks){const e=n.settings_modal.blocks[t];"toggle"in e&&"value"in e.toggle&&(e.cookie_table=o.getRows(e.toggle.value))}}}}}n(1454),n(7108);function H(t,e){e.url&&e.resolveProject()&&(!0===e.consent_api_enabled&&function(t,e){const n=n=>{const o=t.user,i=t.configurationExport,r=e.url.replace(new RegExp("/$"),""),s=e.resolveProject(),a={};for(let e in n){if(!t._storagePool.has(e))continue;const o=t._storagePool.get(e);(o.enabledByDefault||o.displayInWidget||o.syncConsentWith)&&(a[e]="granted"===n[e])}fetch(`${r}/api/v${e.version.toString()}/consent/${s}/${o.identity.toString()}`,{method:"put",credentials:"omit",body:JSON.stringify({settingsChecksum:i.checksum,consents:a,attributes:o.attributes,environment:e.environment})}).then((t=>t.json())).then((t=>{if("success"!==t.status)return Promise.reject(t);"data"in t&&"consentSettingsExists"in t.data&&!0!==t.data.consentSettingsExists&&fetch(`${r}/api/v${e.version.toString()}/consent-settings/${s}/${i.checksum}`,{method:"put",body:JSON.stringify(i.configuration)}).then((t=>t.json().then((t=>"success"===t.status?Promise.resolve(t):Promise.reject(t))))).catch((t=>{console.warn("Sending consent settings into CMP failed.",t)}))})).catch((t=>{console.warn("Sending consent into CMP failed.",t)}))};t.on("consent:first-action",(t=>n(t))),t.on("consent:changed",(t=>n(t)))}(t,e),!0===e.cookies_api_enabled&&function(t,e){const n={name:t=>t.name,purpose:t=>t.purpose,processing_time:(e,n)=>{let o=e.processingTime;return"session"!==o&&"persistent"!==o||(o=t.translate(n,"processing_time_"+o)),o},provider:t=>t.cookieProvider.name,type:(e,n)=>t.translate(n,"cookie_type_"+e.cookieProvider.type),link:t=>t.cookieProvider.link.length?`<a href="${t.cookieProvider.link}" target="_blank" class="cc-link">${t.cookieProvider.link}</a>`:"",link_find_out_more:(e,n)=>e.cookieProvider.link.length?`\n <a href="${e.cookieProvider.link}" target="_blank" class="cc-link">\n ${t.translate(n,"find_out_more")}\n </a>\n `:"",category:t=>t.category.name},o=[];for(let t=0;t<e.cookie_table_headers.length;t++){const i=e.cookie_table_headers[t];i in n?o.push(i):console.warn(`Cookie header "${i}" is not allowed.`)}if(0>=o.length)return;const i=[],r=(t,e)=>{const i={};t.name.includes("*")?(i._name="^"+t.name.split("*").map((t=>RegExp.escape(t))).join(".+")+"$",i.is_regex=!0):i._name=t.name;for(let r in o){const s=o[r],a=n[s]||function(){return""};i[s]=a(t,e)}return i},s=n=>{const s=n||t.unwrap().getConfig("current_lang");if(-1!==i.indexOf(s))return;i.push(s);const a=e.url.replace(new RegExp("/$"),""),c=e.resolveProject(),l=[`locale=${s}`];"string"==typeof e.environment&&l.push(`environment=${e.environment}`),fetch(`${a}/api/v${e.version.toString()}/cookies/${c}?${l.join("&")}`,{method:"get",credentials:"omit"}).then((t=>t.json())).then((e=>{if("success"!==e.status)return Promise.reject(e);if(!("data"in e)||!("cookies"in e.data)||0>=e.data.cookies.length)return;const n=t.cookieTables.getCookieTable(s);n.addHeader("_name","_name");for(let e=0;e<o.length;e++)n.addHeader(o[e],t.translate(s,"cookie_table_col_"+o[e]));for(let t=0;t<e.data.cookies.length;t++){const o=e.data.cookies[t];n.addRow(o.category.code,r(o,s))}t.cookieTables.appendCookieTables(t.unwrap().getConfig("languages")),t.unwrap().updateLanguage(s,!0)})).catch((t=>{console.warn("Fetching cookies from CMP failed.",t)}))};t.on("init",(()=>s())),t.on("locale:change",(t=>s(t)))}(t,e))}var F=n(3009);class ${constructor(t){if(this._initializationTriggered=!1,this._initialized=!1,this._gtag=t,this._cookieConsent=null,this._scriptBasePath="",document.currentScript&&document.currentScript.src){const t=new URL(document.currentScript.src,window.location.origin),e=t.pathname.substring(0,t.pathname.lastIndexOf("/"));this._scriptBasePath=t.origin+e}this._config=new l(this._scriptBasePath),this._storagePool=new p,this._dictionary=new g,this._eventBus=new y,this._cookieTables=new B,this._eventTriggers={},this._user=I.createDefault()}get version(){return"1.2.0"}get user(){return this._user}get configurationExport(){let t={version:this.version,config:this._config,storages:{},dictionary:this._dictionary._catalogues};const e=this._storagePool.all();for(let n in e){const o=e[n];t.storages[o.name]=o.config}const n=JSON.stringify(t);return t=JSON.parse(n),{configuration:t,checksum:F(n).toString()}}get cookieTables(){return this._cookieTables}get consentCookieValue(){if(!this._cookieConsent.validConsent())return null;const t=this._config.pluginOptions.cookie_name;let e=document.cookie.match("(^|;)\\s*"+t+"\\s*=\\s*([^;]+)");return e?e.pop():null}get consentCookieData(){const t=this._config.pluginOptions.cookie_name;let e=document.cookie.match("(^|;)\\s*"+t+"\\s*=\\s*([^;]+)");if(e=e?e.pop():null,null===e)return null;try{e=JSON.parse(e)}catch(t){try{e=JSON.parse(decodeURIComponent(e))}catch(t){e=null}}return e}setStaticUserIdentity(t){this._user=this.user.withStaticIdentity(t)}setPluginOptions(t){this._config.pluginOptions.merge(t||{})}setAutoClearOptions(t){this._config.autoClearOptions.merge(t||{})}setConsentModalOptions(t){this._config.consentModalOptions.merge(t||{})}setSettingsModalOptions(t){this._config.settingsModalOptions.merge(t||{})}setUiOptions(t){this._config.uiOptions.merge(t||{})}setCmpApiOptions(t){this._config.cmpApiOptions.merge(t||{})}addStorage(t){this._storagePool.add(new d(t||{}))}addEventTrigger(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.TYPE_OR;this._eventTriggers[t]=new b(t,e,n)}translate(t,e){return this._dictionary.translate(t,e)}addTranslations(t,e){this._dictionary.addTranslations(t,e||{})}loadTranslations(t){let e,n,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.startsWith("https://")||t.startsWith("http://")?(n=t.split("/").pop().split(".").shift(),n=2<n.length?n[0]+n[1]:n,e=t):(n=t,n=2<n.length?n[0]+n[1]:n,e=`${this._scriptBasePath}/translations/${n}.json`),this._dictionary.loadTranslations(n,e,o)}unwrap(){if(null===this._cookieConsent)throw new Error("Cookie consent is not created, please call method CookieConsentWrapper.init().");return this._cookieConsent}allowedCategory(t){return this.unwrap().allowedCategory(t)}changeLocale(t,e){const n=this.unwrap();this._eventBus.dispatch(h.ON_LOCALE_CHANGE,t),n.updateLanguage(t,e)}on(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return h.ON_INIT===t&&this._initialized&&null!==this._cookieConsent?(e.call(n),function(){}):this._eventBus.subscribe(t,e,n)}init(t,e){if(this._initializationTriggered)return;const n=this;if(t.CookieConsentWrapper=n,!e)return;this._initializationTriggered=!0;const o=async function(){v.loadFromConfig(e,n._config.uiOptions),n._cookieConsent=t.initCookieConsent();const o=new _(n._cookieConsent,n._eventBus,n._config,n._storagePool,Object.values(n._eventTriggers),n._gtag),i=n._config.exportCookieConsentConfig();i.onFirstAction=t=>o.onFirstAction(t),i.onAccept=()=>o.onAccept(),i.onChange=(t,e)=>o.onChange(t,e),i.languages=await n._dictionary.addPlaceholder("user_identity",n.user.identity.toString()).exportTranslations(n._storagePool,n._config),n._cookieTables.appendCookieTables(i.languages),H(n,n._config.cmpApiOptions),n._config.consentModalOptions.show_third_button&&n.on(h.ON_INIT,(function(){(new M).append(n,e)})),n._cookieConsent.run(i),n._initialized=!0,n._eventBus.dispatch(h.ON_INIT)},i=()=>{if(!e||"string"!=typeof n._config.settingsModalOptions.modal_trigger_selector)return;const t=new m(e,n._dictionary).create(n._config.settingsModalOptions.modal_trigger_selector,n._config.pluginOptions.current_lang||e.documentElement.lang);t&&t.textElement&&(t.textElement.innerHTML=n.translate(n._cookieConsent.getConfig("current_lang"),"modal_trigger_title"))};let r=null;this._config.pluginOptions.init_after_dom_content_loaded||(r=o()),"loading"!==e.readyState?(null===r&&(r=o()),r.then(i)):e.addEventListener("DOMContentLoaded",(()=>{null===r&&(r=o()),r.then(i)}))}}const W=(new class{create(){if(void 0===window)throw new Error("the window is not accessible.");const t=new $(this.#e()),e=window.cc_wrapper_config||{};if(this.#n(t,e),this.#o(t,e),this.#i(t,e),this.#r(t,e),this.#s(t,e),this.#a(t,e),this.#c(t,e),this.#l(t,e),this.#u(t,e),this.#d(t,e),this.#p(t,e),"cookieConsentWrapperEvents"in window)for(let e=0;e<window.cookieConsentWrapperEvents.length;e++){const n=window.cookieConsentWrapperEvents[e];n[0]&&n[1]&&t.on(n[0],n[1],n[2]||null)}return window.cookieConsentWrapperEvents={push:e=>{e[0]&&e[1]&&t.on(e[0],e[1],e[2]||null)}},t.init(window,document),t}#e(){let t=window.gtag;return t||(window.dataLayer=window.dataLayer||[],t=function(){window.dataLayer.push(arguments)}),t}#o(t,e){"user_options"in e&&"object"==typeof e.user_options&&("identity"in e.user_options&&e.user_options.identity&&t.setStaticUserIdentity(e.user_options.identity),"attributes"in e.user_options&&"object"==typeof e.user_options.attributes&&(t.user.attributes=e.user_options.attributes))}#i(t,e){"plugin_options"in e&&"object"==typeof e.plugin_options&&t.setPluginOptions(e.plugin_options)}#r(t,e){"auto_clear_options"in e&&"object"==typeof e.auto_clear_options&&t.setAutoClearOptions(e.auto_clear_options)}#s(t,e){"consent_modal_options"in e&&"object"==typeof e.consent_modal_options&&t.setConsentModalOptions(e.consent_modal_options)}#a(t,e){"settings_modal_options"in e&&"object"==typeof e.settings_modal_options&&t.setSettingsModalOptions(e.settings_modal_options)}#c(t,e){"ui_options"in e&&"object"==typeof e.ui_options&&t.setUiOptions(e.ui_options)}#l(t,e){if("storage_pool"in e&&Array.isArray(e.storage_pool)){const n=e.storage_pool;for(let e in n)t.addStorage(n[e]||{})}}#u(t,e){if("event_triggers"in e&&Array.isArray(e.event_triggers)){const n=e.event_triggers;for(let e in n){const o=n[e];t.addEventTrigger(o.name,o.storage_names,o.type)}}}#n(t,e){if("locales"in e&&Array.isArray(e.locales)){const n=e.locales;let o;for(o in n)t.loadTranslations(n[o])}}#d(t,e){if("translations"in e&&"object"==typeof e.translations){const n=e.translations;let o;for(o in n)t.addTranslations(o,n[o]||{})}}#p(t,e){"cmp_api_options"in e&&"object"==typeof e.cmp_api_options&&t.setCmpApiOptions(e.cmp_api_options)}}).create()})(),CookieConsentWrapper=o.default})();