/*! * CookieConsent 3.1.0 * https://github.com/orestbida/cookieconsent * Author Orest Bida * Released under the MIT License */ var e,t;e=this,t=function(e){"use strict";const t="opt-in",o="opt-out",n="show--consent",a="show--preferences",s="disable--interaction",c="data-category",i="div",r="button",l="aria-hidden",d="btn-group",p="click",u="data-role",f="consentModal",h="preferencesModal";class g{constructor(){this.t={mode:t,revision:0,autoShow:!0,lazyHtmlGeneration:!0,autoClearCookies:!0,manageScriptTags:!0,hideFromBots:!0,cookie:{name:"cc_cookie",expiresAfterDays:182,domain:"",path:"/",secure:!0,sameSite:"Lax"}},this.o={i:{},l:"",_:{},u:{},p:{},m:[],v:!1,h:null,C:null,S:null,M:"",T:!0,D:!1,k:!1,A:!1,N:!1,H:[],V:!1,j:!0,I:[],L:!1,F:"",P:!1,O:[],R:[],B:[],$:[],G:!1,J:!1,U:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},oe:[]},this.ne={se:{},ae:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}}const m=new g,y=(e,t)=>e.indexOf(t),C=(e,t)=>-1!==y(e,t),w=e=>Array.isArray(e),_=e=>"string"==typeof e,b=e=>!!e&&"object"==typeof e&&!w(e),k=e=>"function"==typeof e,v=e=>Object.keys(e),T=e=>Array.from(new Set(e)),S=()=>document.activeElement,L=e=>e.preventDefault(),M=(e,t)=>e.querySelectorAll(t),A=e=>e.dispatchEvent(new Event("change")),H=e=>{const t=document.createElement(e);return e===r&&(t.type=e),t},x=(e,t,o)=>e.setAttribute(t,o),E=(e,t,o)=>{e.removeAttribute(o?"data-"+t:t)},O=(e,t,o)=>e.getAttribute(o?"data-"+t:t),P=(e,t)=>e.appendChild(t),I=(e,t)=>e.classList.add(t),B=(e,t)=>I(e,"cm__"+t),N=(e,t)=>I(e,"pm__"+t),R=(e,t)=>e.classList.remove(t),j=e=>{if("object"!=typeof e)return e;if(e instanceof Date)return new Date(e.getTime());let t=Array.isArray(e)?[]:{};for(let o in e){let n=e[o];t[o]=j(n)}return t},F=()=>{const e={},{O:t,X:o,Y:n}=m.o;for(const a of t)e[a]=Z(n[a],v(o[a]));return e},D=(e,t)=>dispatchEvent(new CustomEvent(e,{detail:t})),Y=(e,t,o,n)=>{e.addEventListener(t,o),n&&m.o.m.push({pe:e,ge:t,me:o})},q=()=>{const e=m.t.cookie.expiresAfterDays;return k(e)?e(m.o.F):e},Z=(e,t)=>{const o=e||[],n=t||[];return o.filter(e=>!C(n,e)).concat(n.filter(e=>!C(o,e)))},G=e=>{m.o.R=T(e),m.o.F=(()=>{let e="custom";const{R:t,O:o,B:n}=m.o,a=t.length;return a===o.length?e="all":a===n.length&&(e="necessary"),e})()},U=(e,t,o,n)=>{const a="accept-",{show:s,showPreferences:c,hide:i,hidePreferences:r,acceptCategory:l}=t,d=e||document,u=e=>M(d,`[data-cc="${e}"]`),f=(e,t)=>{L(e),l(t),r(),i()},h=u("show-preferencesModal"),g=u("show-consentModal"),y=u(a+"all"),C=u(a+"necessary"),w=u(a+"custom"),_=m.t.lazyHtmlGeneration;for(const e of h)x(e,"aria-haspopup","dialog"),Y(e,p,e=>{L(e),c()}),_&&(Y(e,"mouseenter",e=>{L(e),m.o.N||o(t,n)},!0),Y(e,"focus",()=>{m.o.N||o(t,n)}));for(let e of g)x(e,"aria-haspopup","dialog"),Y(e,p,e=>{L(e),s(!0)},!0);for(let e of y)Y(e,p,e=>{f(e,"all")},!0);for(let e of w)Y(e,p,e=>{f(e)},!0);for(let e of C)Y(e,p,e=>{f(e,[])},!0)},W=(e,t)=>{e&&(t&&(e.tabIndex=-1),e.focus(),t&&e.removeAttribute("tabindex"))},$=(e,t)=>{const o=n=>{n.target.removeEventListener("transitionend",o),"opacity"===n.propertyName&&"1"===getComputedStyle(e).opacity&&W((e=>1===e?m.ne.be:m.ne.ve)(t))};Y(e,"transitionend",o)};let X;const z=e=>{clearTimeout(X),e?I(m.ne.ye,s):X=setTimeout(()=>{R(m.ne.ye,s)},500)},J=["M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5","M 3.572 13.406 L 8.281 18.115 L 20.428 5.885","M 21.999 6.94 L 11.639 17.18 L 2.001 6.82 "],V=(e=0,t=1.5)=>``,K=e=>{const t=m.ne,o=m.o;(e=>{const n=e===t.he,a=o.i.disablePageInteraction?t.ye:n?t.Ce:t.ye;Y(a,"keydown",t=>{if("Tab"!==t.key||!(n?o.k&&!o.A:o.A))return;const a=S(),s=n?o.q:o.K;0!==s.length&&(t.shiftKey?a!==s[0]&&e.contains(a)||(L(t),W(s[1])):a!==s[1]&&e.contains(a)||(L(t),W(s[0])))},!0)})(e)},Q=["[href]",r,"input","details","[tabindex]"].map(e=>e+':not([tabindex="-1"])').join(","),ee=e=>{const{o:t,ne:o}=m,n=(e,t)=>{const o=M(e,Q);t[0]=o[0],t[1]=o[o.length-1]};1===e&&t.D&&n(o.he,t.q),2===e&&t.N&&n(o.we,t.K)},te=(e,t,o)=>{const{de:n,le:a,ie:s,_e:c,ue:i,fe:r}=m.ce,l=m.re;if(t){const n={modalName:t};return e===l.fe?k(r)&&r(n):e===l._e?k(c)&&c(n):(n.modal=o,k(i)&&i(n)),D(e,n)}const d={cookie:m.o.p};e===l.ie?k(s)&&s(j(d)):e===l.le?k(a)&&a(j(d)):(d.changedCategories=m.o.I,d.changedServices=m.o.ee,k(n)&&n(j(d))),D(e,j(d))},oe=(e,t)=>{try{return e()}catch(e){return!t&&console.warn("CookieConsent:",e),!1}},ne=e=>{const{Y:t,ee:o,O:n,X:a,oe:s,p:i,I:r}=m.o;for(const e of n){const n=o[e]||t[e]||[];for(const o of n){const n=a[e][o];if(!n)continue;const{onAccept:s,onReject:c}=n;!n.Se&&C(t[e],o)?(n.Se=!0,k(s)&&s()):n.Se&&!C(t[e],o)&&(n.Se=!1,k(c)&&c())}}if(!m.t.manageScriptTags)return;const l=s,d=e||i.categories||[],p=(e,n)=>{if(n>=e.length)return;const a=s[n];if(a.xe)return p(e,n+1);const i=a.Me,l=a.Te,u=a.De,f=C(d,l),h=!!u&&C(t[l],u);if(!u&&!a.ke&&f||!u&&a.ke&&!f&&C(r,l)||u&&!a.ke&&h||u&&a.ke&&!h&&C(o[l]||[],u)){a.xe=!0;const t=O(i,"type",!0);E(i,"type",!!t),E(i,c);let o=O(i,"src",!0);o&&E(i,"src",!0);const s=H("script");s.textContent=i.innerHTML;for(const{nodeName:e}of i.attributes)x(s,e,i[e]||O(i,e));t&&(s.type=t),o?s.src=o:o=i.src;const r=!!o&&(!t||["text/javascript","module"].includes(t));if(r&&(s.onload=s.onerror=()=>{p(e,++n)}),i.replaceWith(s),r)return}p(e,++n)};p(l,0)},ae="bottom",se="left",ce="center",ie="right",re="inline",le="wide",de="pm--",pe=["middle","top",ae],ue=[se,ce,ie],fe={box:{Ee:[le,re],Ae:pe,Ne:ue,He:ae,Ve:ie},cloud:{Ee:[re],Ae:pe,Ne:ue,He:ae,Ve:ce},bar:{Ee:[re],Ae:pe.slice(1),Ne:[],He:ae,Ve:""}},he={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[le],Ae:[],Ne:[se,ie],He:"",Ve:se}},ge=e=>{const t=m.o.i.guiOptions,o=t&&t.consentModal,n=t&&t.preferencesModal;0===e&&me(m.ne.he,fe,o,"cm--","box","cm"),1===e&&me(m.ne.we,he,n,de,"box","pm")},me=(e,t,o,n,a,s)=>{e.className=s;const c=o&&o.layout,i=o&&o.position,r=o&&o.flipButtons,l=!o||!1!==o.equalWeightButtons,d=c&&c.split(" ")||[],p=d[0],u=d[1],f=p in t?p:a,h=t[f],g=C(h.Ee,u)&&u,y=i&&i.split(" ")||[],w=y[0],_=n===de?y[0]:y[1],b=C(h.Ae,w)?w:h.He,k=C(h.Ne,_)?_:h.Ve,v=t=>{t&&I(e,n+t)};v(f),v(g),v(b),v(k),r&&v("flip");const T=s+"__btn--secondary";if("cm"===s){const{je:e,Ie:t}=m.ne;e&&(l?R(e,T):I(e,T)),t&&(l?R(t,T):I(t,T))}else{const{Le:e}=m.ne;e&&(l?R(e,T):I(e,T))}},ye=(e,t)=>{const o=m.o,n=m.ne,{hide:a,hidePreferences:s,acceptCategory:c}=e,f=e=>{c(e),s(),a()},g=o.u&&o.u.preferencesModal;if(!g)return;const y=g.title,C=g.closeIconLabel,w=g.acceptAllBtn,k=g.acceptNecessaryBtn,T=g.savePreferencesBtn,S=g.sections||[],L=w||k||T;if(n.Fe)n.Pe=H(i),N(n.Pe,"body");else{n.Fe=H(i),I(n.Fe,"pm-wrapper");const e=H("div");I(e,"pm-overlay"),P(n.Fe,e),Y(e,p,s),n.we=H(i),I(n.we,"pm"),x(n.we,"role","dialog"),x(n.we,l,!0),x(n.we,"aria-modal",!0),x(n.we,"aria-labelledby","pm__title"),Y(n.ye,"keydown",e=>{27===e.keyCode&&s()},!0),n.Oe=H(i),N(n.Oe,"header"),n.Re=H("h2"),N(n.Re,"title"),n.Re.id="pm__title",n.Be=H(r),N(n.Be,"close-btn"),x(n.Be,"aria-label",g.closeIconLabel||""),Y(n.Be,p,s),n.$e=H("span"),n.$e.innerHTML=V(),P(n.Be,n.$e),n.Ge=H(i),N(n.Ge,"body"),n.Je=H(i),N(n.Je,"footer");var M=H(i);I(M,"btns");var A=H(i),E=H(i);N(A,d),N(E,d),P(n.Je,A),P(n.Je,E),P(n.Oe,n.Re),P(n.Oe,n.Be),n.ve=H(i),x(n.ve,"tabIndex",-1),P(n.we,n.ve),P(n.we,n.Oe),P(n.we,n.Ge),L&&P(n.we,n.Je),P(n.Fe,n.we)}let O;y&&(n.Re.innerHTML=y,C&&x(n.Be,"aria-label",C)),S.forEach((e,t)=>{const a=e.title,s=e.description,c=e.linkedCategory,d=c&&o.P[c],u=e.cookieTable,f=u&&u.body,h=u&&u.caption,m=f&&f.length>0,y=!!d,C=y&&o.X[c],w=b(C)&&v(C)||[],k=y&&(!!s||!!m||v(C).length>0);var T=H(i);if(N(T,"section"),k||s){var S=H(i);N(S,"section-desc-wrapper")}let L=w.length;if(k&&L>0){const e=H(i);N(e,"section-services");for(const t of w){const o=C[t],n=o&&o.label||t,a=H(i),s=H(i),r=H(i),l=H(i);N(a,"service"),N(l,"service-title"),N(s,"service-header"),N(r,"service-icon");const p=Ce(n,t,d,!0,c);l.innerHTML=n,P(s,r),P(s,l),P(a,s),P(a,p),P(e,a)}P(S,e)}if(a){var M=H(i),A=H(y?r:i);if(N(M,"section-title-wrapper"),N(A,"section-title"),A.innerHTML=a,P(M,A),y){const e=H("span");e.innerHTML=V(2,3.5),N(e,"section-arrow"),P(M,e),T.className+="--toggle";const t=Ce(a,c,d);let o=g.serviceCounterLabel;if(L>0&&_(o)){let e=H("span");N(e,"badge"),N(e,"service-counter"),x(e,l,!0),x(e,"data-servicecounter",L),o&&(o=o.split("|"),o=o.length>1&&L>1?o[1]:o[0],x(e,"data-counterlabel",o)),e.innerHTML=L+(o?" "+o:""),P(A,e)}if(k){N(T,"section--expandable");var E=c+"-desc";x(A,"aria-expanded",!1),x(A,"aria-controls",E)}P(M,t)}else x(A,"role","heading"),x(A,"aria-level","3");P(T,M)}if(s){var B=H("p");N(B,"section-desc"),B.innerHTML=s,P(S,B)}if(k&&(x(S,l,"true"),S.id=E,((e,t,o)=>{Y(A,p,()=>{t.classList.contains("is-expanded")?(R(t,"is-expanded"),x(o,"aria-expanded","false"),x(e,l,"true")):(I(t,"is-expanded"),x(o,"aria-expanded","true"),x(e,l,"false"))})})(S,T,A),m)){const e=H("table"),o=H("thead"),a=H("tbody");if(h){const t=H("caption");N(t,"table-caption"),t.innerHTML=h,e.appendChild(t)}N(e,"section-table"),N(o,"table-head"),N(a,"table-body");const s=u.headers,c=v(s),r=n.Ue.createDocumentFragment(),l=H("tr");for(const e of c){const o=s[e],n=H("th");n.id="cc__row-"+o+t,x(n,"scope","col"),N(n,"table-th"),n.innerHTML=o,P(r,n)}P(l,r),P(o,l);const d=n.Ue.createDocumentFragment();for(const e of f){const o=H("tr");N(o,"table-tr");for(const n of c){const a=s[n],c=e[n],r=H("td"),l=H(i);N(r,"table-td"),x(r,"data-column",a),x(r,"headers","cc__row-"+a+t),l.insertAdjacentHTML("beforeend",c),P(r,l),P(o,r)}P(d,o)}P(a,d),P(e,o),P(e,a),P(S,e)}(k||s)&&P(T,S);const j=n.Pe||n.Ge;y?(O||(O=H(i),N(O,"section-toggles")),O.appendChild(T)):O=null,P(j,O||T)}),w&&(n.ze||(n.ze=H(r),N(n.ze,"btn"),x(n.ze,u,"all"),P(A,n.ze),Y(n.ze,p,()=>f("all"))),n.ze.innerHTML=w),k&&(n.Le||(n.Le=H(r),N(n.Le,"btn"),x(n.Le,u,"necessary"),P(A,n.Le),Y(n.Le,p,()=>f([]))),n.Le.innerHTML=k),T&&(n.qe||(n.qe=H(r),N(n.qe,"btn"),N(n.qe,"btn--secondary"),x(n.qe,u,"save"),P(E,n.qe),Y(n.qe,p,()=>f())),n.qe.innerHTML=T),n.Pe&&(n.we.replaceChild(n.Pe,n.Ge),n.Ge=n.Pe),ge(1),o.N||(o.N=!0,te(m.re.ue,h,n.we),t(e),P(n.Ce,n.Fe),K(n.we),setTimeout(()=>I(n.Fe,"cc--anim"),100)),ee(2)};function Ce(e,t,o,n,a){const s=m.o,i=m.ne,r=H("label"),d=H("input"),u=H("span"),f=H("span"),h=H("span"),g=H("span"),y=H("span");if(g.innerHTML=V(1,3),y.innerHTML=V(0,3),d.type="checkbox",I(r,"section__toggle-wrapper"),I(d,"section__toggle"),I(g,"toggle__icon-on"),I(y,"toggle__icon-off"),I(u,"toggle__icon"),I(f,"toggle__icon-circle"),I(h,"toggle__label"),x(u,l,"true"),n?(I(r,"toggle-service"),x(d,c,a),i.ae[a][t]=d):i.se[t]=d,n?(e=>{Y(d,"change",()=>{const t=i.ae[e],o=i.se[e];s.Z[e]=[];for(let o in t){const n=t[o];n.checked&&s.Z[e].push(n.value)}o.checked=s.Z[e].length>0})})(a):(e=>{Y(d,p,()=>{const t=i.ae[e],o=d.checked;s.Z[e]=[];for(let n in t)t[n].checked=o,o&&s.Z[e].push(n)})})(t),d.value=t,h.textContent=e.replace(/<.*>.*<\/.*>/gm,""),P(f,y),P(f,g),P(u,f),s.T)(o.readOnly||o.enabled)&&(d.checked=!0);else if(n){const e=s.Y[a];d.checked=o.readOnly||C(e,t)}else C(s.R,t)&&(d.checked=!0);return o.readOnly&&(d.disabled=!0),P(r,d),P(r,u),P(r,h),r}const we=()=>{const e=H("span");return m.ne.Ke||(m.ne.Ke=e),e},_e=(e,t)=>{const o=m.o,n=m.ne,{hide:a,showPreferences:s,acceptCategory:c}=e,h=o.u&&o.u.consentModal;if(!h)return;const g=h.acceptAllBtn,y=h.acceptNecessaryBtn,C=h.showPreferencesBtn,w=h.closeIconLabel,_=h.footer,b=h.label,k=h.title,v=e=>{a(),c(e)};if(!n.Qe){n.Qe=H(i),n.he=H(i),n.We=H(i),n.Xe=H(i),n.Ye=H(i),I(n.Qe,"cm-wrapper"),I(n.he,"cm"),B(n.We,"body"),B(n.Xe,"texts"),B(n.Ye,"btns"),x(n.he,"role","dialog"),x(n.he,"aria-modal","true"),x(n.he,l,"false"),x(n.he,"aria-describedby","cm__desc"),b?x(n.he,"aria-label",b):k&&x(n.he,"aria-labelledby","cm__title");const e="box",t=o.i.guiOptions,a=t&&t.consentModal,s=(a&&a.layout||e).split(" ")[0]===e;k&&w&&s&&(n.Ie||(n.Ie=H(r),n.Ie.innerHTML=V(),B(n.Ie,"btn"),B(n.Ie,"btn--close"),Y(n.Ie,p,()=>{v([])}),P(n.We,n.Ie)),x(n.Ie,"aria-label",w)),P(n.We,n.Xe),(g||y||C)&&P(n.We,n.Ye),n.be=H(i),x(n.be,"tabIndex",-1),P(n.he,n.be),P(n.he,n.We),P(n.Qe,n.he)}k&&(n.Ze||(n.Ze=H("h2"),n.Ze.className=n.Ze.id="cm__title",P(n.Xe,n.Ze)),n.Ze.innerHTML=k);let T=h.description;if(T&&(o.V&&(T=T.replace("{{revisionMessage}}",o.j?"":h.revisionMessage||"")),n.et||(n.et=H("p"),n.et.className=n.et.id="cm__desc",P(n.Xe,n.et)),n.et.innerHTML=T),g&&(n.tt||(n.tt=H(r),P(n.tt,we()),B(n.tt,"btn"),x(n.tt,u,"all"),Y(n.tt,p,()=>{v("all")})),n.tt.firstElementChild.innerHTML=g),y&&(n.je||(n.je=H(r),P(n.je,we()),B(n.je,"btn"),x(n.je,u,"necessary"),Y(n.je,p,()=>{v([])})),n.je.firstElementChild.innerHTML=y),C&&(n.ot||(n.ot=H(r),P(n.ot,we()),B(n.ot,"btn"),B(n.ot,"btn--secondary"),x(n.ot,u,"show"),Y(n.ot,"mouseenter",()=>{o.N||ye(e,t)}),Y(n.ot,p,s)),n.ot.firstElementChild.innerHTML=C),n.nt||(n.nt=H(i),B(n.nt,d),g&&P(n.nt,n.tt),y&&P(n.nt,n.je),(g||y)&&P(n.We,n.nt),P(n.Ye,n.nt)),n.ot&&!n.st&&(n.st=H(i),n.je&&n.tt?(B(n.st,d),P(n.st,n.ot),P(n.Ye,n.st)):(P(n.nt,n.ot),B(n.nt,d+"--uneven"))),_){if(!n.ct){let e=H(i),t=H(i);n.ct=H(i),B(e,"footer"),B(t,"links"),B(n.ct,"link-group"),P(t,n.ct),P(e,t),P(n.he,e)}n.ct.innerHTML=_}ge(0),o.D||(o.D=!0,te(m.re.ue,f,n.he),t(e),P(n.Ce,n.Qe),K(n.he),setTimeout(()=>I(n.Qe,"cc--anim"),100)),ee(1),U(n.We,e,ye,t)},be=e=>{if(!_(e))return null;if(e in m.o._)return e;let t=e.slice(0,2);return t in m.o._?t:null},ke=()=>m.o.l||m.o.i.language.default,ve=e=>{e&&(m.o.l=e)},Te=async e=>{const t=m.o;let o=be(e)?e:ke(),n=t._[o];if(_(n)?n=await(async e=>{try{const t=await fetch(e);return await t.json()}catch(e){return console.error(e),!1}})(n):k(n)&&(n=await n()),!n)throw`Could not load translation for the '${o}' language`;return t.u=n,ve(o),!0},Se=()=>{let e=m.o.i.language.rtl,t=m.ne.Ce;e&&t&&(w(e)||(e=[e]),C(e,m.o.l)?I(t,"cc--rtl"):R(t,"cc--rtl"))},Le=()=>{const e=m.ne;if(e.Ce)return;e.Ce=H(i),e.Ce.id="cc-main",e.Ce.setAttribute("data-nosnippet",""),Se();let t=m.o.i.root;t&&_(t)&&(t=document.querySelector(t)),(t||e.Ue.body).appendChild(e.Ce)},Me=e=>oe(()=>localStorage.removeItem(e)),Ae=(e,t)=>{if(t instanceof RegExp)return e.filter(e=>t.test(e));{const o=y(e,t);return o>-1?[e[o]]:[]}},He=e=>{const{hostname:t,protocol:o}=location,{name:n,path:a,domain:s,sameSite:c,useLocalStorage:i,secure:r}=m.t.cookie,l=e?(()=>{const e=m.o.S,t=e?new Date-e:0;return 864e5*q()-t})():864e5*q(),d=new Date;d.setTime(d.getTime()+l),m.o.p.expirationTime=d.getTime();const p=JSON.stringify(m.o.p);let u=n+"="+encodeURIComponent(p)+(0!==l?"; expires="+d.toUTCString():"")+"; Path="+a+"; SameSite="+c;C(t,".")&&(u+="; Domain="+s),r&&"https:"===o&&(u+="; Secure"),i?((e,t)=>{oe(()=>localStorage.setItem(e,t))})(n,p):document.cookie=u,m.o.p},xe=(e,t,o)=>{if(0===e.length)return;const n=o||m.t.cookie.domain,a=t||m.t.cookie.path,s="www."===n.slice(0,4),c=s&&n.substring(4),i=(e,t)=>{t&&"."!==t.slice(0,1)&&(t="."+t),document.cookie=e+"=; path="+a+(t?"; domain="+t:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(const t of e)i(t,o),o||i(t,n),s&&i(t,c)},Ee=e=>{const t=e||m.t.cookie.name,o=m.t.cookie.useLocalStorage;return((e,t)=>{let o;return o=oe(()=>JSON.parse(t?e:decodeURIComponent(e)),!0)||{},o})(o?(n=t,oe(()=>localStorage.getItem(n))||""):Oe(t,!0),o);var n},Oe=(e,t)=>{const o=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return o?t?o.pop():e:""},Pe=e=>{const t=document.cookie.split(/;\s*/),o=[];for(const n of t){let t=n.split("=")[0];e?oe(()=>{e.test(t)&&o.push(t)}):o.push(t)}return o},Ie=(e,n=[])=>{((e,t)=>{const{O:o,R:n,B:a,N:s,Z:c,$:i,X:r}=m.o;let l=[];if(e){w(e)?l.push(...e):_(e)&&(l="all"===e?o:[e]);for(const e of o)c[e]=C(l,e)?v(r[e]):[]}else l=[...n,...i],s&&(l=(()=>{const e=m.ne.se;if(!e)return[];let t=[];for(let o in e)e[o].checked&&t.push(o);return t})());l=l.filter(e=>!C(o,e)||!C(t,e)),l.push(...a),G(l)})(e,n),(()=>{const e=m.o,{Z:t,B:o,Y:n,X:a,O:s}=e,c=s;e.te=j(n);for(const s of c){const c=a[s],i=v(c),r=t[s]&&t[s].length>0,l=C(o,s);if(0!==i.length){if(n[s]=[],l)n[s].push(...i);else if(r){const e=t[s];n[s].push(...e)}else n[s]=e.Z[s];n[s]=T(n[s])}}})(),(()=>{const e=m.o;e.I=m.t.mode===o&&e.T?Z(e.$,e.R):Z(e.R,e.p.categories);let n=e.I.length>0,a=!1;for(const t of e.O)e.ee[t]=Z(e.Y[t],e.te[t]),e.ee[t].length>0&&(a=!0);const s=m.ne.se;for(const t in s)s[t].checked=C(e.R,t);for(const t of e.O){const o=m.ne.ae[t],n=e.Y[t];for(const e in o)o[e].checked=C(n,e)}e.C||(e.C=new Date),e.M||(e.M=([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))),e.p={categories:j(e.R),revision:m.t.revision,data:e.h,consentTimestamp:e.C.toISOString(),consentId:e.M,services:j(e.Y),languageCode:m.o.l},e.S&&(e.p.lastConsentTimestamp=e.S.toISOString());let c=!1;const i=n||a;(e.T||i)&&(e.T&&(e.T=!1,c=!0),e.S=e.S?new Date:e.C,e.p.lastConsentTimestamp=e.S.toISOString(),He(),m.t.autoClearCookies&&(c||i)&&(e=>{const t=m.o,o=Pe(),n=(e=>{const t=m.o;return(e?t.O:t.I).filter(e=>{const o=t.P[e];return!!o&&!o.readOnly&&!!o.autoClear})})(e);for(const e in t.ee)for(const n of t.ee[e]){const a=t.X[e][n].cookies;if(!C(t.Y[e],n)&&a)for(const e of a){const t=Ae(o,e.name);xe(t,e.path,e.domain)}}for(const a of n){const n=t.P[a].autoClear,s=n&&n.cookies||[],c=C(t.I,a),i=!C(t.R,a),r=c&&i;if(e?i:r){n.reloadPage&&r&&(t.L=!0);for(const e of s){const t=Ae(o,e.name);xe(t,e.path,e.domain)}}}})(c),ne()),c&&(te(m.re.ie),te(m.re.le),m.t.mode===t)||(i&&te(m.re.de),e.L&&(e.L=!1,location.reload()))})()},Be=e=>{const t=m.o.T?[]:m.o.R;return C(t,e)},Ne=(e,t)=>{const o=m.o.T?[]:m.o.Y[t]||[];return C(o,e)},Re=(e,t,o)=>{let n=[];const a=e=>{if(_(e)){let t=Oe(e);""!==t&&n.push(t)}else n.push(...Pe(e))};if(w(e))for(let t of e)a(t);else a(e);xe(n,t,o)},je=e=>{const{ne:t,o:o}=m;if(!o.k){if(!o.D){if(!e)return;_e(qe,Le)}o.k=!0,o.J=S(),o.v&&z(!0),$(t.he,1),I(t.ye,n),x(t.he,l,"false"),setTimeout(()=>{W(m.ne.be)},100),te(m.re.fe,f)}},Fe=()=>{const{ne:e,o:t,re:o}=m;t.k&&(t.k=!1,t.v&&z(),W(e.Ke,!0),R(e.ye,n),x(e.he,l,"true"),W(t.J),t.J=null,te(o._e,f))},De=()=>{const e=m.o;e.A||(e.N||ye(qe,Le),e.A=!0,e.k?e.U=S():e.J=S(),$(m.ne.we,2),I(m.ne.ye,a),x(m.ne.we,l,"false"),setTimeout(()=>{W(m.ne.ve)},100),te(m.re.fe,h))},Ye=()=>{const e=m.o;e.A&&(e.A=!1,(()=>{const e=Ge(),t=m.o.P,o=m.ne.se,n=m.ne.ae,a=e=>C(m.o.$,e);for(const s in o){const c=!!t[s].readOnly;o[s].checked=c||(e?Be(s):a(s));for(const t in n[s])n[s][t].checked=c||(e?Ne(t,s):a(s))}})(),W(m.ne.$e,!0),R(m.ne.ye,a),x(m.ne.we,l,"true"),e.k?(W(e.U),e.U=null):(W(e.J),e.J=null),te(m.re._e,h))};var qe={show:je,hide:Fe,showPreferences:De,hidePreferences:Ye,acceptCategory:Ie};const Ze=(e,t)=>{const o=Ee(t);return e?o[e]:o},Ge=()=>!m.o.T;e.acceptCategory=Ie,e.acceptService=(e,t)=>{const{O:o,X:n}=m.o;if(!(e&&t&&_(t)&&C(o,t)&&0!==v(n[t]).length))return!1;((e,t)=>{const o=m.o,{X:n,Z:a,N:s}=o,c=m.ne.ae[t]||{},i=m.ne.se[t]||{},r=v(n[t]);if(a[t]=[],_(e)){if("all"===e){if(a[t].push(...r),s)for(let e in c)c[e].checked=!0,A(c[e])}else if(C(r,e)&&a[t].push(e),s)for(let t in c)c[t].checked=e===t,A(c[t])}else if(w(e))for(let o of r){const n=C(e,o);n&&a[t].push(o),s&&(c[o].checked=n,A(c[o]))}const l=0===a[t].length;o.R=l?o.R.filter(e=>e!==t):T([...o.R,t]),s&&(i.checked=!l,A(i))})(e,t),Ie()},e.acceptedCategory=Be,e.acceptedService=Ne,e.eraseCookies=Re,e.getConfig=e=>{const t=m.t,o=m.o.i;return e?t[e]||o[e]:{...t,...o,cookie:{...t.cookie}}},e.getCookie=Ze,e.getUserPreferences=()=>{const{F:e,Y:t}=m.o,{accepted:o,rejected:n}=(()=>{const{T:e,R:t,O:o}=m.o;return{accepted:t,rejected:e?[]:o.filter(e=>!C(t,e))}})();return j({acceptType:e,acceptedCategories:o,rejectedCategories:n,acceptedServices:t,rejectedServices:F()})},e.hide=Fe,e.hidePreferences=Ye,e.loadScript=(e,t)=>{let o=document.querySelector('script[src="'+e+'"]');return new Promise(n=>{if(o)return n(!0);if(o=H("script"),b(t))for(const e in t)x(o,e,t[e]);o.onload=()=>n(!0),o.onerror=()=>{o.remove(),n(!1)},o.src=e,P(document.head,o)})},e.reset=e=>{const{Ce:t,ye:o}=m.ne,{name:c,path:i,domain:r,useLocalStorage:l}=m.t.cookie;e&&(l?Me(c):Re(c,i,r));for(const{pe:e,ge:t,me:o}of m.o.m)e.removeEventListener(t,o);t&&t.remove(),o&&o.classList.remove(s,a,n);const d=new g;for(const e in m)m[e]=d[e];window._ccRun=!1},e.run=async e=>{const{o:t,t:n,re:a}=m,s=window;if(!s._ccRun){if(s._ccRun=!0,(e=>{const{ne:t,t:n,o:a}=m,s=n,i=a,{cookie:r}=s,l=m.ce,d=e.cookie,p=e.categories,u=v(p)||[],f=navigator,h=document;t.Ue=h,t.ye=h.documentElement,r.domain=location.hostname,i.i=e,i.P=p,i.O=u,i._=e.language.translations,i.v=!!e.disablePageInteraction,l.ie=e.onFirstConsent,l.le=e.onConsent,l.de=e.onChange,l._e=e.onModalHide,l.fe=e.onModalShow,l.ue=e.onModalReady;const{mode:g,autoShow:y,lazyHtmlGeneration:w,autoClearCookies:_,revision:k,manageScriptTags:T,hideFromBots:S}=e;g===o&&(s.mode=g),"boolean"==typeof _&&(s.autoClearCookies=_),"boolean"==typeof T&&(s.manageScriptTags=T),"number"==typeof k&&k>=0&&(s.revision=k,i.V=!0),"boolean"==typeof y&&(s.autoShow=y),"boolean"==typeof w&&(s.lazyHtmlGeneration=w),!1===S&&(s.hideFromBots=!1),!0===s.hideFromBots&&f&&(i.G=f.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(f.userAgent)||f.webdriver),b(d)&&(s.cookie={...r,...d}),s.autoClearCookies,i.V,s.manageScriptTags,(e=>{const{P:t,X:o,Y:n,Z:a,B:s}=m.o;for(let c of e){const e=t[c],i=e.services||{},r=b(i)&&v(i)||[];o[c]={},n[c]=[],a[c]=[],e.readOnly&&(s.push(c),n[c]=r),m.ne.ae[c]={};for(let e of r){const t=i[e];t.Se=!1,o[c][e]=t}}})(u),(()=>{if(!m.t.manageScriptTags)return;const e=m.o,t=M(document,"script["+c+"]");for(const o of t){let t=O(o,c),n=o.dataset.service||"",a=!1;if(t&&"!"===t.charAt(0)&&(t=t.slice(1),a=!0),"!"===n.charAt(0)&&(n=n.slice(1),a=!0),C(e.O,t)&&(e.oe.push({Me:o,xe:!1,ke:a,Te:t,De:n}),n)){const o=e.X[t];o[n]||(o[n]={Se:!1})}}})(),ve((()=>{const e=m.o.i.language.autoDetect;if(e){const t={browser:navigator.language,document:document.documentElement.lang},o=be(t[e]);if(o)return o}return ke()})())})(e),t.G)return;(()=>{const e=m.o,t=m.t,n=Ee(),{categories:a,services:s,consentId:c,consentTimestamp:i,lastConsentTimestamp:r,data:l,revision:d}=n,p=w(a);e.p=n,e.M=c;const u=!!c&&_(c);e.C=i,e.C&&(e.C=new Date(i)),e.S=r,e.S&&(e.S=new Date(r)),e.h=void 0!==l?l:null,e.V&&u&&d!==t.revision&&(e.j=!1),e.T=!(u&&e.j&&e.C&&e.S&&p),t.cookie.useLocalStorage&&!e.T&&(e.T=(new Date).getTime()>(n.expirationTime||0),e.T&&Me(t.cookie.name)),e.T,(()=>{const e=m.o;for(const t of e.O){const n=e.P[t];if(n.readOnly||n.enabled){e.$.push(t);const n=e.X[t]||{};for(let a in n)e.Z[t].push(a),e.i.mode===o&&e.Y[t].push(a)}}})(),e.T?t.mode===o&&(e.R=[...e.$]):(e.Y={...e.Y,...s},e.Z={...e.Y},G([...e.B,...a]))})();const r=Ge();if(!await Te())return!1;if(U(null,i=qe,ye,Le),m.o.T&&_e(i,Le),m.t.lazyHtmlGeneration||ye(i,Le),n.autoShow&&!r&&je(!0),r)return ne(),te(a.le);n.mode===o&&ne(t.$)}var i},e.setCookieData=e=>{let t,o=e.value,n=e.mode,a=!1;const s=m.o;if("update"===n){s.h=t=Ze("data");const e=typeof t==typeof o;if(e&&"object"==typeof t){!t&&(t={});for(let e in o)t[e]!==o[e]&&(t[e]=o[e],a=!0)}else!e&&t||t===o||(t=o,a=!0)}else t=o,a=!0;return a&&(s.h=t,s.p.data=t,He(!0)),a},e.setLanguage=async(e,t)=>{if(!be(e))return!1;const o=m.o;return!(e===ke()&&!0!==t||!await Te(e)||(ve(e),o.D&&_e(qe,Le),o.N&&ye(qe,Le),Se(),0))},e.show=je,e.showPreferences=De,e.validConsent=Ge,e.validCookie=e=>""!==Oe(e,!0)},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).CookieConsent={});const isNodeRedLanding=window.location.pathname.includes("landing/node-red-con-2025");function clearHubSpotCookiesFallback(){var e=/^(__hstc|hubspotutk|__hssrc|__hssc|__hs_do_not_track|__hs_cookie_cat_pref)$/,t=document.cookie.split(";").map(function(e){return e.split("=")[0].trim()}).filter(function(t){return e.test(t)}),o=window.location.hostname,n=o.split("."),a=n.length>2?n.slice(1).join("."):o,s=["",o,"."+o,a,"."+a];t.forEach(function(e){s.forEach(function(t){var o=t?"; domain="+t:"";document.cookie=e+"=; Max-Age=0; path=/"+o+"; SameSite=Lax"})})}function syncHubSpotConsent(e){window._hsq=window._hsq||[],window._hsp=window._hsp||[],e?window._hsq.push(["doNotTrack",{track:!0}]):(window._hsq.push(["doNotTrack"]),window._hsp.push(["revokeCookieConsent"]),clearHubSpotCookiesFallback())}function pushConsentUpdatedEvent(e){var t=e.changedCategories||[],o=CookieConsent.acceptedCategory("analytics"),n=CookieConsent.acceptedCategory("ads"),a=CookieConsent.acceptedCategory("functional");window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"ff_consent_updated",changed_categories:t,analytics_storage:o?"granted":"denied",ad_storage:n?"granted":"denied",ad_user_data:n?"granted":"denied",ad_personalization:n?"granted":"denied",functionality_storage:a?"granted":"denied",personalization_storage:n?"granted":"denied"})}function applyAnalyticsConsent(e){var t=e.accepted,o=!!e.emitEvent;gtag("consent","update",{analytics_storage:t?"granted":"denied"}),o&>ag("event","cookie_consent",{event_category:"analytics",event_label:t?"accepted":"denied"}),syncHubSpotConsent(t),t?("function"==typeof window._ffLoadMeetings&&window._ffLoadMeetings(),window._ffLoadChat=!0,window.HubSpotConversations&&window.HubSpotConversations.widget.load()):window._ffLoadChat=!1}function applyAdsConsent(e){var t=e.accepted,o=!!e.emitEvent;gtag("consent","update",{ad_storage:t?"granted":"denied",ad_user_data:t?"granted":"denied",ad_personalization:t?"granted":"denied",personalization_storage:t?"granted":"denied"}),o&>ag("event","cookie_consent",{event_category:"ads",event_label:t?"accepted":"denied"})}function applyFunctionalConsent(e){gtag("consent","update",{functionality_storage:e?"granted":"denied"})}isNodeRedLanding&&document.documentElement.classList.add("cc--darkmode"),CookieConsent.run({guiOptions:{consentModal:{layout:"box",position:"bottom left",equalWeightButtons:!0,flipButtons:!1},preferencesModal:{layout:"box",position:"right",equalWeightButtons:!0,flipButtons:!1}},onConsent:function(){applyAnalyticsConsent({accepted:CookieConsent.acceptedCategory("analytics"),emitEvent:!1}),applyAdsConsent({accepted:CookieConsent.acceptedCategory("ads"),emitEvent:!1}),applyFunctionalConsent(CookieConsent.acceptedCategory("functional")),pushConsentUpdatedEvent({changedCategories:[]})},onFirstConsent:function(){var e=CookieConsent.acceptedCategory("analytics"),t=CookieConsent.acceptedCategory("ads");applyAnalyticsConsent({accepted:e,emitEvent:!0}),applyAdsConsent({accepted:t,emitEvent:!0}),applyFunctionalConsent(CookieConsent.acceptedCategory("functional")),pushConsentUpdatedEvent({changedCategories:["analytics","ads","functional"]})},onChange:function({changedCategories:e}){e.includes("analytics")&&applyAnalyticsConsent({accepted:CookieConsent.acceptedCategory("analytics"),emitEvent:!0}),e.includes("ads")&&applyAdsConsent({accepted:CookieConsent.acceptedCategory("ads"),emitEvent:!0}),e.includes("functional")&&applyFunctionalConsent(CookieConsent.acceptedCategory("functional")),pushConsentUpdatedEvent({changedCategories:e})},categories:{necessary:{readOnly:!0},functional:{},analytics:{autoClear:{cookies:[{name:/^(_ga|_gid|_gat|_gcl)/},{name:/^(__hstc|hubspotutk|__hssrc|__hssc|__hs_do_not_track|__hs_cookie_cat_pref)$/},{name:/^(ph_[^=\s]+_posthog|ph_phc_[^=\s]+_posthog|__ph_opt_in_out_[^=\s]+)$/},{name:/^warmly_/}],reloadPage:!1}},ads:{}},language:{default:"en",autoDetect:"browser",translations:{en:{consentModal:{title:"This site uses cookies",description:'We use cookies to ensure this site works properly, forms render properly, and, with your permission, to improve your experience and enable features like analytics and live chat support.',acceptAllBtn:"Accept all",showPreferencesBtn:"Settings",footer:'Privacy Policy\n'},preferencesModal:{title:"Cookie Options",acceptAllBtn:"Accept all",acceptNecessaryBtn:"Reject all",savePreferencesBtn:"Save preferences",closeIconLabel:"Close modal",serviceCounterLabel:"Service|Services",sections:[{title:"Cookie Usage",description:"We use cookies to ensure the basic functionality of the website and to enhance your online experience. You can opt-in/out of receiving non-essential cookies."},{title:'Strictly Necessary Cookies Always Enabled',description:"Essential cookies are crucial for core website functionality, including security, anti-spam protection (Google reCAPTCHA), and technical form delivery. Without these cookies, key features of the website, such as secure contact forms, could not function properly.",linkedCategory:"necessary"},{title:"Functional Cookies",description:"These cookies support optional site functionality that is not strictly necessary to run the website.",linkedCategory:"functional"},{title:"Analytics Cookies",description:"We use tools including Google Analytics, HubSpot tracking, PostHog, and warmly.ai to understand how visitors interact with our website. This category enables HubSpot tracking, meeting embeds, and the chat widget.",linkedCategory:"analytics"},{title:"Advertisement Cookies",description:"We use advertising cookies from Google, Meta, and LinkedIn to measure the effectiveness of our campaigns, show relevant ads, and limit how often you see the same ad.",linkedCategory:"ads"}]}}}}});