UNPKG

@almacareer/cookie-consent-manager

Version:

Cookie Consent Manager mainly for Alma Career products

206 lines 98.9 kB
(function(){"use strict";/*! * CookieConsent 3.1.0 * https://github.com/orestbida/cookieconsent * Author Orest Bida * Released under the MIT License */const fa="opt-in",Me="opt-out",Ke="show--consent",Re="show--preferences",Ve="disable--interaction",De="data-category",P="div",Q="button",ee="aria-hidden",Pe="btn-group",F="click",je="data-role",Ye="consentModal",Ue="preferencesModal";class ga{constructor(){this.t={mode:fa,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:"",D:!0,T:!1,k:!1,A:!1,N:!1,H:[],V:!1,I:!0,L:[],j:!1,F:"",P:!1,O:[],R:[],B:[],$:[],G:!1,J:!1,U:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},oe:[]},this.ne={ae:{},se:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}}const i=new ga,ha=(t,n)=>t.indexOf(n),T=(t,n)=>ha(t,n)!==-1,be=t=>Array.isArray(t),ce=t=>typeof t=="string",Oe=t=>!!t&&typeof t=="object"&&!be(t),ne=t=>typeof t=="function",ie=t=>Object.keys(t),We=t=>Array.from(new Set(t)),_e=()=>document.activeElement,ze=t=>t.preventDefault(),Ge=(t,n)=>t.querySelectorAll(n),Le=t=>t.dispatchEvent(new Event("change")),v=t=>{const n=document.createElement(t);return t===Q&&(n.type=t),n},N=(t,n,e)=>t.setAttribute(n,e),Ze=(t,n,e)=>{t.removeAttribute(e?"data-"+n:n)},Ee=(t,n,e)=>t.getAttribute(e?"data-"+n:n),h=(t,n)=>t.appendChild(n),S=(t,n)=>t.classList.add(n),R=(t,n)=>S(t,"cm__"+n),M=(t,n)=>S(t,"pm__"+n),ue=(t,n)=>t.classList.remove(n),le=t=>{if(typeof t!="object")return t;if(t instanceof Date)return new Date(t.getTime());let n=Array.isArray(t)?[]:{};for(let e in t){let a=t[e];n[e]=le(a)}return n},lt=()=>{const t={},{O:n,X:e,Y:a}=i.o;for(const r of n)t[r]=He(a[r],ie(e[r]));return t},va=(t,n)=>dispatchEvent(new CustomEvent(t,{detail:n})),x=(t,n,e,a)=>{t.addEventListener(n,e),a&&i.o.m.push({pe:t,ge:n,me:e})},ya=()=>{const t=i.t.cookie.expiresAfterDays;return ne(t)?t(i.o.F):t},He=(t,n)=>{const e=t||[],a=n||[];return e.filter(r=>!T(a,r)).concat(a.filter(r=>!T(e,r)))},ja=t=>{i.o.R=We(t),i.o.F=(()=>{let n="custom";const{R:e,O:a,B:r}=i.o,s=e.length;return s===a.length?n="all":s===r.length&&(n="necessary"),n})()},ba=(t,n,e,a)=>{const r="accept-",{show:s,showPreferences:k,hide:o,hidePreferences:c,acceptCategory:d}=n,g=t||document,p=f=>Ge(g,`[data-cc="${f}"]`),m=(f,z)=>{ze(f),d(z),c(),o()},j=p("show-preferencesModal"),l=p("show-consentModal"),u=p(r+"all"),b=p(r+"necessary"),w=p(r+"custom"),C=i.t.lazyHtmlGeneration;for(const f of j)N(f,"aria-haspopup","dialog"),x(f,F,z=>{ze(z),k()}),C&&(x(f,"mouseenter",z=>{ze(z),i.o.N||e(n,a)},!0),x(f,"focus",()=>{i.o.N||e(n,a)}));for(let f of l)N(f,"aria-haspopup","dialog"),x(f,F,z=>{ze(z),s(!0)},!0);for(let f of u)x(f,F,z=>{m(z,"all")},!0);for(let f of w)x(f,F,z=>{m(z)},!0);for(let f of b)x(f,F,z=>{m(z,[])},!0)},oe=(t,n)=>{t&&(n&&(t.tabIndex=-1),t.focus(),n&&t.removeAttribute("tabindex"))},za=(t,n)=>{const e=a=>{a.target.removeEventListener("transitionend",e),a.propertyName==="opacity"&&getComputedStyle(t).opacity==="1"&&oe((r=>r===1?i.ne.be:i.ne.ve)(n))};x(t,"transitionend",e)};let wa;const Ca=t=>{clearTimeout(wa),t?S(i.ne.ye,Ve):wa=setTimeout(()=>{ue(i.ne.ye,Ve)},500)},pt=["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 "],Te=(t=0,n=1.5)=>`<svg viewBox="0 0 24 24" stroke-width="${n}"><path d="${pt[t]}"/></svg>`,Aa=t=>{const n=i.ne,e=i.o;(a=>{const r=a===n.he,s=e.i.disablePageInteraction?n.ye:r?n.Ce:n.ye;x(s,"keydown",k=>{if(k.key!=="Tab"||!(r?e.k&&!e.A:e.A))return;const o=_e(),c=r?e.q:e.K;c.length!==0&&(k.shiftKey?o!==c[0]&&a.contains(o)||(ze(k),oe(c[1])):o!==c[1]&&a.contains(o)||(ze(k),oe(c[0])))},!0)})(t)},ut=["[href]",Q,"input","details","[tabindex]"].map(t=>t+':not([tabindex="-1"])').join(","),Na=t=>{const{o:n,ne:e}=i,a=(r,s)=>{const k=Ge(r,ut);s[0]=k[0],s[1]=k[k.length-1]};t===1&&n.T&&a(e.he,n.q),t===2&&n.N&&a(e.we,n.K)},se=(t,n,e)=>{const{de:a,le:r,ie:s,_e:k,ue:o,fe:c}=i.ce,d=i.re;if(n){const p={modalName:n};return t===d.fe?ne(c)&&c(p):t===d._e?ne(k)&&k(p):(p.modal=e,ne(o)&&o(p)),va(t,p)}const g={cookie:i.o.p};t===d.ie?ne(s)&&s(le(g)):t===d.le?ne(r)&&r(le(g)):(g.changedCategories=i.o.L,g.changedServices=i.o.ee,ne(a)&&a(le(g))),va(t,le(g))},Be=(t,n)=>{try{return t()}catch(e){return!n&&console.warn("CookieConsent:",e),!1}},Je=t=>{const{Y:n,ee:e,O:a,X:r,oe:s,p:k,L:o}=i.o;for(const p of a){const m=e[p]||n[p]||[];for(const j of m){const l=r[p][j];if(!l)continue;const{onAccept:u,onReject:b}=l;!l.Se&&T(n[p],j)?(l.Se=!0,ne(u)&&u()):l.Se&&!T(n[p],j)&&(l.Se=!1,ne(b)&&b())}}if(!i.t.manageScriptTags)return;const c=s,d=t||k.categories||[],g=(p,m)=>{if(m>=p.length)return;const j=s[m];if(j.xe)return g(p,m+1);const l=j.Me,u=j.De,b=j.Te,w=T(d,u),C=!!b&&T(n[u],b);if(!b&&!j.ke&&w||!b&&j.ke&&!w&&T(o,u)||b&&!j.ke&&C||b&&j.ke&&!C&&T(e[u]||[],b)){j.xe=!0;const f=Ee(l,"type",!0);Ze(l,"type",!!f),Ze(l,De);let z=Ee(l,"src",!0);z&&Ze(l,"src",!0);const A=v("script");A.textContent=l.innerHTML;for(const{nodeName:y}of l.attributes)N(A,y,l[y]||Ee(l,y));f&&(A.type=f),z?A.src=z:z=l.src;const I=!!z&&(!f||["text/javascript","module"].includes(f));if(I&&(A.onload=A.onerror=()=>{g(p,++m)}),l.replaceWith(A),I)return}g(p,++m)};g(c,0)},qe="bottom",Xe="left",Ma="center",Qe="right",ea="inline",Pa="wide",Ta="pm--",aa=["middle","top",qe],Ba=[Xe,Ma,Qe],dt={box:{Ee:[Pa,ea],Ae:aa,Ne:Ba,He:qe,Ve:Qe},cloud:{Ee:[ea],Ae:aa,Ne:Ba,He:qe,Ve:Ma},bar:{Ee:[ea],Ae:aa.slice(1),Ne:[],He:qe,Ve:""}},mt={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[Pa],Ae:[],Ne:[Xe,Qe],He:"",Ve:Xe}},Sa=t=>{const n=i.o.i.guiOptions,e=n&&n.consentModal,a=n&&n.preferencesModal;t===0&&$a(i.ne.he,dt,e,"cm--","box","cm"),t===1&&$a(i.ne.we,mt,a,Ta,"box","pm")},$a=(t,n,e,a,r,s)=>{t.className=s;const k=e&&e.layout,o=e&&e.position,c=e&&e.flipButtons,d=!e||e.equalWeightButtons!==!1,g=k&&k.split(" ")||[],p=g[0],m=g[1],j=p in n?p:r,l=n[j],u=T(l.Ee,m)&&m,b=o&&o.split(" ")||[],w=b[0],C=a===Ta?b[0]:b[1],f=T(l.Ae,w)?w:l.He,z=T(l.Ne,C)?C:l.Ve,A=y=>{y&&S(t,a+y)};A(j),A(u),A(f),A(z),c&&A("flip");const I=s+"__btn--secondary";if(s==="cm"){const{Ie:y,Le:$}=i.ne;y&&(d?ue(y,I):S(y,I)),$&&(d?ue($,I):S($,I))}else{const{je:y}=i.ne;y&&(d?ue(y,I):S(y,I))}},we=(t,n)=>{const e=i.o,a=i.ne,{hide:r,hidePreferences:s,acceptCategory:k}=t,o=z=>{k(z),s(),r()},c=e.u&&e.u.preferencesModal;if(!c)return;const d=c.title,g=c.closeIconLabel,p=c.acceptAllBtn,m=c.acceptNecessaryBtn,j=c.savePreferencesBtn,l=c.sections||[],u=p||m||j;if(a.Fe)a.Pe=v(P),M(a.Pe,"body");else{a.Fe=v(P),S(a.Fe,"pm-wrapper");const z=v("div");S(z,"pm-overlay"),h(a.Fe,z),x(z,F,s),a.we=v(P),S(a.we,"pm"),N(a.we,"role","dialog"),N(a.we,ee,!0),N(a.we,"aria-modal",!0),N(a.we,"aria-labelledby","pm__title"),x(a.ye,"keydown",A=>{A.keyCode===27&&s()},!0),a.Oe=v(P),M(a.Oe,"header"),a.Re=v("h2"),M(a.Re,"title"),a.Re.id="pm__title",a.Be=v(Q),M(a.Be,"close-btn"),N(a.Be,"aria-label",c.closeIconLabel||""),x(a.Be,F,s),a.$e=v("span"),a.$e.innerHTML=Te(),h(a.Be,a.$e),a.Ge=v(P),M(a.Ge,"body"),a.Je=v(P),M(a.Je,"footer");var b=v(P);S(b,"btns");var w=v(P),C=v(P);M(w,Pe),M(C,Pe),h(a.Je,w),h(a.Je,C),h(a.Oe,a.Re),h(a.Oe,a.Be),a.ve=v(P),N(a.ve,"tabIndex",-1),h(a.we,a.ve),h(a.we,a.Oe),h(a.we,a.Ge),u&&h(a.we,a.Je),h(a.Fe,a.we)}let f;d&&(a.Re.innerHTML=d,g&&N(a.Be,"aria-label",g)),l.forEach((z,A)=>{const I=z.title,y=z.description,$=z.linkedCategory,he=$&&e.P[$],B=z.cookieTable,U=B&&B.body,ae=B&&B.caption,Y=U&&U.length>0,H=!!he,W=H&&e.X[$],de=Oe(W)&&ie(W)||[],q=H&&(!!y||!!Y||ie(W).length>0);var te=v(P);if(M(te,"section"),q||y){var X=v(P);M(X,"section-desc-wrapper")}let me=de.length;if(q&&me>0){const K=v(P);M(K,"section-services");for(const J of de){const D=W[J],G=D&&D.label||J,ve=v(P),ye=v(P),Ie=v(P),Ae=v(P);M(ve,"service"),M(Ae,"service-title"),M(ye,"service-header"),M(Ie,"service-icon");const pe=Ia(G,J,he,!0,$);Ae.innerHTML=G,h(ye,Ie),h(ye,Ae),h(ve,ye),h(ve,pe),h(K,ve)}h(X,K)}if(I){var ke=v(P),Z=v(H?Q:P);if(M(ke,"section-title-wrapper"),M(Z,"section-title"),Z.innerHTML=I,h(ke,Z),H){const K=v("span");K.innerHTML=Te(2,3.5),M(K,"section-arrow"),h(ke,K),te.className+="--toggle";const J=Ia(I,$,he);let D=c.serviceCounterLabel;if(me>0&&ce(D)){let G=v("span");M(G,"badge"),M(G,"service-counter"),N(G,ee,!0),N(G,"data-servicecounter",me),D&&(D=D.split("|"),D=D.length>1&&me>1?D[1]:D[0],N(G,"data-counterlabel",D)),G.innerHTML=me+(D?" "+D:""),h(Z,G)}if(q){M(te,"section--expandable");var st=$+"-desc";N(Z,"aria-expanded",!1),N(Z,"aria-controls",st)}h(ke,J)}else N(Z,"role","heading"),N(Z,"aria-level","3");h(te,ke)}if(y){var ka=v("p");M(ka,"section-desc"),ka.innerHTML=y,h(X,ka)}if(q&&(N(X,ee,"true"),X.id=st,((K,J,D)=>{x(Z,F,()=>{J.classList.contains("is-expanded")?(ue(J,"is-expanded"),N(D,"aria-expanded","false"),N(K,ee,"true")):(S(J,"is-expanded"),N(D,"aria-expanded","true"),N(K,ee,"false"))})})(X,te,Z),Y)){const K=v("table"),J=v("thead"),D=v("tbody");if(ae){const pe=v("caption");M(pe,"table-caption"),pe.innerHTML=ae,K.appendChild(pe)}M(K,"section-table"),M(J,"table-head"),M(D,"table-body");const G=B.headers,ve=ie(G),ye=a.Ue.createDocumentFragment(),Ie=v("tr");for(const pe of ve){const Ne=G[pe],fe=v("th");fe.id="cc__row-"+Ne+A,N(fe,"scope","col"),M(fe,"table-th"),fe.innerHTML=Ne,h(ye,fe)}h(Ie,ye),h(J,Ie);const Ae=a.Ue.createDocumentFragment();for(const pe of U){const Ne=v("tr");M(Ne,"table-tr");for(const fe of ve){const rt=G[fe],gn=pe[fe],xe=v("td"),ct=v(P);M(xe,"table-td"),N(xe,"data-column",rt),N(xe,"headers","cc__row-"+rt+A),ct.insertAdjacentHTML("beforeend",gn),h(xe,ct),h(Ne,xe)}h(Ae,Ne)}h(D,Ae),h(K,J),h(K,D),h(X,K)}(q||y)&&h(te,X);const fn=a.Pe||a.Ge;H?(f||(f=v(P),M(f,"section-toggles")),f.appendChild(te)):f=null,h(fn,f||te)}),p&&(a.ze||(a.ze=v(Q),M(a.ze,"btn"),N(a.ze,je,"all"),h(w,a.ze),x(a.ze,F,()=>o("all"))),a.ze.innerHTML=p),m&&(a.je||(a.je=v(Q),M(a.je,"btn"),N(a.je,je,"necessary"),h(w,a.je),x(a.je,F,()=>o([]))),a.je.innerHTML=m),j&&(a.qe||(a.qe=v(Q),M(a.qe,"btn"),M(a.qe,"btn--secondary"),N(a.qe,je,"save"),h(C,a.qe),x(a.qe,F,()=>o())),a.qe.innerHTML=j),a.Pe&&(a.we.replaceChild(a.Pe,a.Ge),a.Ge=a.Pe),Sa(1),e.N||(e.N=!0,se(i.re.ue,Ue,a.we),n(t),h(a.Ce,a.Fe),Aa(a.we),setTimeout(()=>S(a.Fe,"cc--anim"),100)),Na(2)};function Ia(t,n,e,a,r){const s=i.o,k=i.ne,o=v("label"),c=v("input"),d=v("span"),g=v("span"),p=v("span"),m=v("span"),j=v("span");if(m.innerHTML=Te(1,3),j.innerHTML=Te(0,3),c.type="checkbox",S(o,"section__toggle-wrapper"),S(c,"section__toggle"),S(m,"toggle__icon-on"),S(j,"toggle__icon-off"),S(d,"toggle__icon"),S(g,"toggle__icon-circle"),S(p,"toggle__label"),N(d,ee,"true"),a?(S(o,"toggle-service"),N(c,De,r),k.se[r][n]=c):k.ae[n]=c,a?(l=>{x(c,"change",()=>{const u=k.se[l],b=k.ae[l];s.Z[l]=[];for(let w in u){const C=u[w];C.checked&&s.Z[l].push(C.value)}b.checked=s.Z[l].length>0})})(r):(l=>{x(c,F,()=>{const u=k.se[l],b=c.checked;s.Z[l]=[];for(let w in u)u[w].checked=b,b&&s.Z[l].push(w)})})(n),c.value=n,p.textContent=t.replace(/<.*>.*<\/.*>/gm,""),h(g,j),h(g,m),h(d,g),s.D)(e.readOnly||e.enabled)&&(c.checked=!0);else if(a){const l=s.Y[r];c.checked=e.readOnly||T(l,n)}else T(s.R,n)&&(c.checked=!0);return e.readOnly&&(c.disabled=!0),h(o,c),h(o,d),h(o,p),o}const ta=()=>{const t=v("span");return i.ne.Ke||(i.ne.Ke=t),t},na=(t,n)=>{const e=i.o,a=i.ne,{hide:r,showPreferences:s,acceptCategory:k}=t,o=e.u&&e.u.consentModal;if(!o)return;const c=o.acceptAllBtn,d=o.acceptNecessaryBtn,g=o.showPreferencesBtn,p=o.closeIconLabel,m=o.footer,j=o.label,l=o.title,u=w=>{r(),k(w)};if(!a.Qe){a.Qe=v(P),a.he=v(P),a.We=v(P),a.Xe=v(P),a.Ye=v(P),S(a.Qe,"cm-wrapper"),S(a.he,"cm"),R(a.We,"body"),R(a.Xe,"texts"),R(a.Ye,"btns"),N(a.he,"role","dialog"),N(a.he,"aria-modal","true"),N(a.he,ee,"false"),N(a.he,"aria-describedby","cm__desc"),j?N(a.he,"aria-label",j):l&&N(a.he,"aria-labelledby","cm__title");const w="box",C=e.i.guiOptions,f=C&&C.consentModal,z=(f&&f.layout||w).split(" ")[0]===w;l&&p&&z&&(a.Le||(a.Le=v(Q),a.Le.innerHTML=Te(),R(a.Le,"btn"),R(a.Le,"btn--close"),x(a.Le,F,()=>{u([])}),h(a.We,a.Le)),N(a.Le,"aria-label",p)),h(a.We,a.Xe),(c||d||g)&&h(a.We,a.Ye),a.be=v(P),N(a.be,"tabIndex",-1),h(a.he,a.be),h(a.he,a.We),h(a.Qe,a.he)}l&&(a.Ze||(a.Ze=v("h2"),a.Ze.className=a.Ze.id="cm__title",h(a.Xe,a.Ze)),a.Ze.innerHTML=l);let b=o.description;if(b&&(e.V&&(b=b.replace("{{revisionMessage}}",e.I?"":o.revisionMessage||"")),a.et||(a.et=v("p"),a.et.className=a.et.id="cm__desc",h(a.Xe,a.et)),a.et.innerHTML=b),c&&(a.tt||(a.tt=v(Q),h(a.tt,ta()),R(a.tt,"btn"),N(a.tt,je,"all"),x(a.tt,F,()=>{u("all")})),a.tt.firstElementChild.innerHTML=c),d&&(a.Ie||(a.Ie=v(Q),h(a.Ie,ta()),R(a.Ie,"btn"),N(a.Ie,je,"necessary"),x(a.Ie,F,()=>{u([])})),a.Ie.firstElementChild.innerHTML=d),g&&(a.ot||(a.ot=v(Q),h(a.ot,ta()),R(a.ot,"btn"),R(a.ot,"btn--secondary"),N(a.ot,je,"show"),x(a.ot,"mouseenter",()=>{e.N||we(t,n)}),x(a.ot,F,s)),a.ot.firstElementChild.innerHTML=g),a.nt||(a.nt=v(P),R(a.nt,Pe),c&&h(a.nt,a.tt),d&&h(a.nt,a.Ie),(c||d)&&h(a.We,a.nt),h(a.Ye,a.nt)),a.ot&&!a.st&&(a.st=v(P),a.Ie&&a.tt?(R(a.st,Pe),h(a.st,a.ot),h(a.Ye,a.st)):(h(a.nt,a.ot),R(a.nt,Pe+"--uneven"))),m){if(!a.ct){let w=v(P),C=v(P);a.ct=v(P),R(w,"footer"),R(C,"links"),R(a.ct,"link-group"),h(C,a.ct),h(w,C),h(a.he,w)}a.ct.innerHTML=m}Sa(0),e.T||(e.T=!0,se(i.re.ue,Ye,a.he),n(t),h(a.Ce,a.Qe),Aa(a.he),setTimeout(()=>S(a.Qe,"cc--anim"),100)),Na(1),ba(a.We,t,we,n)},ia=t=>{if(!ce(t))return null;if(t in i.o._)return t;let n=t.slice(0,2);return n in i.o._?n:null},oa=()=>i.o.l||i.o.i.language.default,sa=t=>{t&&(i.o.l=t)},xa=async t=>{const n=i.o;let e=ia(t)?t:oa(),a=n._[e];if(ce(a)?a=await(async r=>{try{return await(await fetch(r)).json()}catch(s){return console.error(s),!1}})(a):ne(a)&&(a=await a()),!a)throw`Could not load translation for the '${e}' language`;return n.u=a,sa(e),!0},Da=()=>{let t=i.o.i.language.rtl,n=i.ne.Ce;t&&n&&(be(t)||(t=[t]),T(t,i.o.l)?S(n,"cc--rtl"):ue(n,"cc--rtl"))},ge=()=>{const t=i.ne;if(t.Ce)return;t.Ce=v(P),t.Ce.id="cc-main",t.Ce.setAttribute("data-nosnippet",""),Da();let n=i.o.i.root;n&&ce(n)&&(n=document.querySelector(n)),(n||t.Ue.body).appendChild(t.Ce)},Oa=t=>Be(()=>localStorage.removeItem(t)),_a=(t,n)=>{if(n instanceof RegExp)return t.filter(e=>n.test(e));{const e=ha(t,n);return e>-1?[t[e]]:[]}},La=t=>{const{hostname:n,protocol:e}=location,{name:a,path:r,domain:s,sameSite:k,useLocalStorage:o,secure:c}=i.t.cookie,d=t?(()=>{const j=i.o.S,l=j?new Date-j:0;return 864e5*ya()-l})():864e5*ya(),g=new Date;g.setTime(g.getTime()+d),i.o.p.expirationTime=g.getTime();const p=JSON.stringify(i.o.p);let m=a+"="+encodeURIComponent(p)+(d!==0?"; expires="+g.toUTCString():"")+"; Path="+r+"; SameSite="+k;T(n,".")&&(m+="; Domain="+s),c&&e==="https:"&&(m+="; Secure"),o?((j,l)=>{Be(()=>localStorage.setItem(j,l))})(a,p):document.cookie=m,i.o.p},ra=(t,n,e)=>{if(t.length===0)return;const a=e||i.t.cookie.domain,r=n||i.t.cookie.path,s=a.slice(0,4)==="www.",k=s&&a.substring(4),o=(c,d)=>{d&&d.slice(0,1)!=="."&&(d="."+d),document.cookie=c+"=; path="+r+(d?"; domain="+d:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(const c of t)o(c,e),e||o(c,a),s&&o(c,k)},Ea=t=>{const n=t||i.t.cookie.name,e=i.t.cookie.useLocalStorage;return((r,s)=>{let k;return k=Be(()=>JSON.parse(s?r:decodeURIComponent(r)),!0)||{},k})(e?(a=n,Be(()=>localStorage.getItem(a))||""):ca(n,!0),e);var a},ca=(t,n)=>{const e=document.cookie.match("(^|;)\\s*"+t+"\\s*=\\s*([^;]+)");return e?n?e.pop():t:""},Ha=t=>{const n=document.cookie.split(/;\s*/),e=[];for(const a of n){let r=a.split("=")[0];t?Be(()=>{t.test(r)&&e.push(r)}):e.push(r)}return e},la=(t,n=[])=>{((e,a)=>{const{O:r,R:s,B:k,N:o,Z:c,$:d,X:g}=i.o;let p=[];if(e){be(e)?p.push(...e):ce(e)&&(p=e==="all"?r:[e]);for(const m of r)c[m]=T(p,m)?ie(g[m]):[]}else p=[...s,...d],o&&(p=(()=>{const m=i.ne.ae;if(!m)return[];let j=[];for(let l in m)m[l].checked&&j.push(l);return j})());p=p.filter(m=>!T(r,m)||!T(a,m)),p.push(...k),ja(p)})(t,n),(()=>{const e=i.o,{Z:a,B:r,Y:s,X:k,O:o}=e,c=o;e.te=le(s);for(const d of c){const g=k[d],p=ie(g),m=a[d]&&a[d].length>0,j=T(r,d);if(p.length!==0){if(s[d]=[],j)s[d].push(...p);else if(m){const l=a[d];s[d].push(...l)}else s[d]=e.Z[d];s[d]=We(s[d])}}})(),(()=>{const e=i.o;e.L=i.t.mode===Me&&e.D?He(e.$,e.R):He(e.R,e.p.categories);let a=e.L.length>0,r=!1;for(const c of e.O)e.ee[c]=He(e.Y[c],e.te[c]),e.ee[c].length>0&&(r=!0);const s=i.ne.ae;for(const c in s)s[c].checked=T(e.R,c);for(const c of e.O){const d=i.ne.se[c],g=e.Y[c];for(const p in d)d[p].checked=T(g,p)}e.C||(e.C=new Date),e.M||(e.M=("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,c=>(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16))),e.p={categories:le(e.R),revision:i.t.revision,data:e.h,consentTimestamp:e.C.toISOString(),consentId:e.M,services:le(e.Y),languageCode:i.o.l},e.S&&(e.p.lastConsentTimestamp=e.S.toISOString());let k=!1;const o=a||r;(e.D||o)&&(e.D&&(e.D=!1,k=!0),e.S=e.S?new Date:e.C,e.p.lastConsentTimestamp=e.S.toISOString(),La(),i.t.autoClearCookies&&(k||o)&&(c=>{const d=i.o,g=Ha(),p=(m=>{const j=i.o;return(m?j.O:j.L).filter(l=>{const u=j.P[l];return!!u&&!u.readOnly&&!!u.autoClear})})(c);for(const m in d.ee)for(const j of d.ee[m]){const l=d.X[m][j].cookies;if(!T(d.Y[m],j)&&l)for(const u of l){const b=_a(g,u.name);ra(b,u.path,u.domain)}}for(const m of p){const j=d.P[m].autoClear,l=j&&j.cookies||[],u=T(d.L,m),b=!T(d.R,m),w=u&&b;if(c?b:w){j.reloadPage&&w&&(d.j=!0);for(const C of l){const f=_a(g,C.name);ra(f,C.path,C.domain)}}}})(k),Je()),k&&(se(i.re.ie),se(i.re.le),i.t.mode===fa)||(o&&se(i.re.de),e.j&&(e.j=!1,location.reload()))})()},qa=t=>{const n=i.o.D?[]:i.o.R;return T(n,t)},kt=(t,n)=>{const{O:e,X:a}=i.o;if(!(t&&n&&ce(n)&&T(e,n)&&ie(a[n]).length!==0))return!1;((r,s)=>{const k=i.o,{X:o,Z:c,N:d}=k,g=i.ne.se[s]||{},p=i.ne.ae[s]||{},m=ie(o[s]);if(c[s]=[],ce(r)){if(r==="all"){if(c[s].push(...m),d)for(let l in g)g[l].checked=!0,Le(g[l])}else if(T(m,r)&&c[s].push(r),d)for(let l in g)g[l].checked=r===l,Le(g[l])}else if(be(r))for(let l of m){const u=T(r,l);u&&c[s].push(l),d&&(g[l].checked=u,Le(g[l]))}const j=c[s].length===0;k.R=j?k.R.filter(l=>l!==s):We([...k.R,s]),d&&(p.checked=!j,Le(p))})(t,n),la()},Fa=(t,n)=>{const e=i.o.D?[]:i.o.Y[n]||[];return T(e,t)},ft=t=>ca(t,!0)!=="",Ka=(t,n,e)=>{let a=[];const r=s=>{if(ce(s)){let k=ca(s);k!==""&&a.push(k)}else a.push(...Ha(s))};if(be(t))for(let s of t)r(s);else r(t);ra(a,n,e)},pa=t=>{const{ne:n,o:e}=i;if(!e.k){if(!e.T){if(!t)return;na(Se,ge)}e.k=!0,e.J=_e(),e.v&&Ca(!0),za(n.he,1),S(n.ye,Ke),N(n.he,ee,"false"),setTimeout(()=>{oe(i.ne.be)},100),se(i.re.fe,Ye)}},Ra=()=>{const{ne:t,o:n,re:e}=i;n.k&&(n.k=!1,n.v&&Ca(),oe(t.Ke,!0),ue(t.ye,Ke),N(t.he,ee,"true"),oe(n.J),n.J=null,se(e._e,Ye))},Va=()=>{const t=i.o;t.A||(t.N||we(Se,ge),t.A=!0,t.k?t.U=_e():t.J=_e(),za(i.ne.we,2),S(i.ne.ye,Re),N(i.ne.we,ee,"false"),setTimeout(()=>{oe(i.ne.ve)},100),se(i.re.fe,Ue))},Ya=()=>{const t=i.o;t.A&&(t.A=!1,(()=>{const n=ua(),e=i.o.P,a=i.ne.ae,r=i.ne.se,s=k=>T(i.o.$,k);for(const k in a){const o=!!e[k].readOnly;a[k].checked=o||(n?qa(k):s(k));for(const c in r[k])r[k][c].checked=o||(n?Fa(c,k):s(k))}})(),oe(i.ne.$e,!0),ue(i.ne.ye,Re),N(i.ne.we,ee,"true"),t.k?(oe(t.U),t.U=null):(oe(t.J),t.J=null),se(i.re._e,Ue))};var Se={show:pa,hide:Ra,showPreferences:Va,hidePreferences:Ya,acceptCategory:la};const gt=async(t,n)=>{if(!ia(t))return!1;const e=i.o;return!(t===oa()&&n!==!0||!await xa(t)||(sa(t),e.T&&na(Se,ge),e.N&&we(Se,ge),Da(),0))},ht=()=>{const{F:t,Y:n}=i.o,{accepted:e,rejected:a}=(()=>{const{D:r,R:s,O:k}=i.o;return{accepted:s,rejected:r?[]:k.filter(o=>!T(s,o))}})();return le({acceptType:t,acceptedCategories:e,rejectedCategories:a,acceptedServices:n,rejectedServices:lt()})},vt=(t,n)=>{let e=document.querySelector('script[src="'+t+'"]');return new Promise(a=>{if(e)return a(!0);if(e=v("script"),Oe(n))for(const r in n)N(e,r,n[r]);e.onload=()=>a(!0),e.onerror=()=>{e.remove(),a(!1)},e.src=t,h(document.head,e)})},yt=t=>{let n,e=t.value,a=t.mode,r=!1;const s=i.o;if(a==="update"){s.h=n=Ua("data");const k=typeof n==typeof e;if(k&&typeof n=="object"){!n&&(n={});for(let o in e)n[o]!==e[o]&&(n[o]=e[o],r=!0)}else!k&&n||n===e||(n=e,r=!0)}else n=e,r=!0;return r&&(s.h=n,s.p.data=n,La(!0)),r},Ua=(t,n)=>{const e=Ea(n);return t?e[t]:e},jt=t=>{const n=i.t,e=i.o.i;return t?n[t]||e[t]:{...n,...e,cookie:{...n.cookie}}},ua=()=>!i.o.D,bt=Object.freeze(Object.defineProperty({__proto__:null,acceptCategory:la,acceptService:kt,acceptedCategory:qa,acceptedService:Fa,eraseCookies:Ka,getConfig:jt,getCookie:Ua,getUserPreferences:ht,hide:Ra,hidePreferences:Ya,loadScript:vt,reset:t=>{const{Ce:n,ye:e}=i.ne,{name:a,path:r,domain:s,useLocalStorage:k}=i.t.cookie;t&&(k?Oa(a):Ka(a,r,s));for(const{pe:c,ge:d,me:g}of i.o.m)c.removeEventListener(d,g);n&&n.remove(),e&&e.classList.remove(Ve,Re,Ke);const o=new ga;for(const c in i)i[c]=o[c];window._ccRun=!1},run:async t=>{const{o:n,t:e,re:a}=i,r=window;if(!r._ccRun){if(r._ccRun=!0,(o=>{const{ne:c,t:d,o:g}=i,p=d,m=g,{cookie:j}=p,l=i.ce,u=o.cookie,b=o.categories,w=ie(b)||[],C=navigator,f=document;c.Ue=f,c.ye=f.documentElement,j.domain=location.hostname,m.i=o,m.P=b,m.O=w,m._=o.language.translations,m.v=!!o.disablePageInteraction,l.ie=o.onFirstConsent,l.le=o.onConsent,l.de=o.onChange,l._e=o.onModalHide,l.fe=o.onModalShow,l.ue=o.onModalReady;const{mode:z,autoShow:A,lazyHtmlGeneration:I,autoClearCookies:y,revision:$,manageScriptTags:he,hideFromBots:B}=o;z===Me&&(p.mode=z),typeof y=="boolean"&&(p.autoClearCookies=y),typeof he=="boolean"&&(p.manageScriptTags=he),typeof $=="number"&&$>=0&&(p.revision=$,m.V=!0),typeof A=="boolean"&&(p.autoShow=A),typeof I=="boolean"&&(p.lazyHtmlGeneration=I),B===!1&&(p.hideFromBots=!1),p.hideFromBots===!0&&C&&(m.G=C.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(C.userAgent)||C.webdriver),Oe(u)&&(p.cookie={...j,...u}),p.autoClearCookies,m.V,p.manageScriptTags,(U=>{const{P:ae,X:Y,Y:H,Z:W,B:de}=i.o;for(let q of U){const te=ae[q],X=te.services||{},me=Oe(X)&&ie(X)||[];Y[q]={},H[q]=[],W[q]=[],te.readOnly&&(de.push(q),H[q]=me),i.ne.se[q]={};for(let ke of me){const Z=X[ke];Z.Se=!1,Y[q][ke]=Z}}})(w),(()=>{if(!i.t.manageScriptTags)return;const U=i.o,ae=Ge(document,"script["+De+"]");for(const Y of ae){let H=Ee(Y,De),W=Y.dataset.service||"",de=!1;if(H&&H.charAt(0)==="!"&&(H=H.slice(1),de=!0),W.charAt(0)==="!"&&(W=W.slice(1),de=!0),T(U.O,H)&&(U.oe.push({Me:Y,xe:!1,ke:de,De:H,Te:W}),W)){const q=U.X[H];q[W]||(q[W]={Se:!1})}}})(),sa((()=>{const U=i.o.i.language.autoDetect;if(U){const ae={browser:navigator.language,document:document.documentElement.lang},Y=ia(ae[U]);if(Y)return Y}return oa()})())})(t),n.G)return;(()=>{const o=i.o,c=i.t,d=Ea(),{categories:g,services:p,consentId:m,consentTimestamp:j,lastConsentTimestamp:l,data:u,revision:b}=d,w=be(g);o.p=d,o.M=m;const C=!!m&&ce(m);o.C=j,o.C&&(o.C=new Date(j)),o.S=l,o.S&&(o.S=new Date(l)),o.h=u!==void 0?u:null,o.V&&C&&b!==c.revision&&(o.I=!1),o.D=!(C&&o.I&&o.C&&o.S&&w),c.cookie.useLocalStorage&&!o.D&&(o.D=new Date().getTime()>(d.expirationTime||0),o.D&&Oa(c.cookie.name)),o.D,(()=>{const f=i.o;for(const z of f.O){const A=f.P[z];if(A.readOnly||A.enabled){f.$.push(z);const I=f.X[z]||{};for(let y in I)f.Z[z].push(y),f.i.mode===Me&&f.Y[z].push(y)}}})(),o.D?c.mode===Me&&(o.R=[...o.$]):(o.Y={...o.Y,...p},o.Z={...o.Y},ja([...o.B,...g]))})();const k=ua();if(!await xa())return!1;if(ba(null,s=Se,we,ge),i.o.D&&na(s,ge),i.t.lazyHtmlGeneration||we(s,ge),e.autoShow&&!k&&pa(!0),k)return Je(),se(a.le);e.mode===Me&&Je(n.$)}var s},setCookieData:yt,setLanguage:gt,show:pa,showPreferences:Va,validConsent:ua,validCookie:ft},Symbol.toStringTag,{value:"Module"})),zt="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let wt=(t=21)=>{let n="",e=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)n+=zt[e[t]&63];return n};/*! * mergician * v2.0.2 * https://jhildenbiddle.github.io/mergician/ * (c) 2022-2024 John Hildenbiddle * MIT license */function da(...t){const n={};return t.forEach(e=>{e.forEach(a=>{n[a]=a in n?++n[a]:1})}),n}function Ct(...t){return t.reduce((n,e)=>n.filter(Set.prototype.has,new Set(e)))}function At(...t){const n=da(...t);return Object.keys(n).filter(e=>n[e]>1)}function Nt(...t){const n=da(...t);return Object.keys(n).filter(e=>n[e]<t.length)}function Mt(...t){const n=da(...t);return Object.keys(n).filter(e=>n[e]===1)}function Pt(t,n=!1){const e=Object.getOwnPropertyNames(t);if(n)for(const a in t)!e.includes(a)&&e.push(a);return e}function ma(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function Wa(t){if(!ma(t))return!1;const n=["writable","enumerable","configurable"].some(s=>s in t),e=["get","set"].some(s=>typeof t[s]=="function"),a=["get","set"].every(s=>s in t);let r="value"in t&&n||e&&(a||n);if(r){const s=["configurable","get","set","enumerable","value","writable"];r=Object.keys(t).some(k=>!(k in s))}return r}/** * @typedef {Object} MergicianOptions * @property {string[]} [onlyKeys] - Exclusive array of keys to be merged * (others are skipped) * @property {string[]} [skipKeys] - Array of keys to skip (others are * merged) * @property {boolean} [onlyCommonKeys=false] - Merge only keys found * in multiple objects (ignore single occurrence keys) * @property {boolean} [onlyUniversalKeys=false] - Merge only keys * found in all objects * @property {boolean} [skipCommonKeys=false] - Skip keys found in * multiple objects (merge only single occurrence keys) * @property {boolean} [skipUniversalKeys=false] - Skip keys found in * all objects (merge only common keys) * @property {boolean} [invokeGetters=false] - Invoke "getter" methods * and merge returned values * @property {boolean} [skipSetters=false] - Skip "setter" methods * during merge * @property {boolean} [appendArrays=false] - Merge array values at * the end of existing arrays * @property {boolean} [prependArrays=false] - Merge array values at * the beginning of existing arrays * @property {boolean} [dedupArrays=false] - Remove duplicate array * values in new merged object * @property {boolean|function} [sortArrays=false] - Sort array values * in new merged object * @property {boolean} [hoistEnumerable=false] - Merge enumerable * prototype properties as direct properties of merged object * @property {boolean} [hoistProto=false] - Merge custom prototype * properties as direct properties of merged object * @property {boolean} [skipProto=false] - Skip merging of custom * prototype properties * @property {filterCallback} [filter] - Callback used to conditionally merge * or skip a property. Return a "truthy" value to merge or a "falsy" value to * skip. Return no value to proceed according to other option values. * @property {beforeEachCallback} [beforeEach] - Callback used for * inspecting/modifying properties before merge. Return value is used as value * to merge. * @property {afterEachCallback} [afterEach] - Callback used for * inspecting/modifying properties after merge. Return value is used as merged * value. * @property {onCircularCallback} [onCircular] - Callback used for handling * circular object references during merge * @preserve *//** * @callback filterCallback * @param {callbackData} callbackData * @preserve *//** * @callback beforeEachCallback * @param {callbackData} callbackData * @preserve *//** * @callback afterEachCallback * @param {afterEachCallbackData} callbackData * @preserve *//** * @callback onCircularCallback * @param {callbackData} callbackData * @preserve *//** * @typedef {Object} callbackData * @property {number} depth - Nesting level of the key being processed * @property {string} key - Object key being processed * @property {object} srcObj - Object containing the source value * @property {any} srcVal - Source object’s property value * @property {object} targetObj - New merged object * @property {any} targetVal - New merged object’s current property value * @preserve *//** * @typedef {Object} afterEachCallbackData * @property {number} depth - Nesting level of the key being processed * @property {string} key - Object key being processed * @property {any} mergeVal - New merged value * @property {object} srcObj - Object containing the source value * @property {object} targetObj - New merged object * @preserve */var Ce={onlyKeys:[],skipKeys:[],onlyCommonKeys:!1,onlyUniversalKeys:!1,skipCommonKeys:!1,skipUniversalKeys:!1,invokeGetters:!1,skipSetters:!1,appendArrays:!1,prependArrays:!1,dedupArrays:!1,sortArrays:!1,hoistEnumerable:!1,hoistProto:!1,skipProto:!1,filter:Function.prototype,beforeEach:Function.prototype,afterEach:Function.prototype,onCircular:Function.prototype};/** * @description Deep (recursive) object merging with support for descriptor * values, accessor functions, custom prototypes, and advanced options for * customizing the merge process. * * @example * // Custom merge options * const mergedObj = mergician({ * // Options * })(obj1, obj2, obj3); * * // Custom merge function * const customMerge = mergician({ * // Options * }); * const customMergeObj = customMerge(obj1, obj2, obj3); * * @overload * @param {MergicianOptions} options * @returns {function} New merge function with options set as defaults * @preserve *//** * @description Deep (recursive) object merging with support for descriptor * values, accessor functions, custom prototypes, and advanced options for * customizing the merge process. * * @example * // Clone with default options * const clonedObj = mergician({}, obj1); * * // Merge with default options * const mergedObj = mergician(obj1, obj2, obj3); * * @overload * @param {...object} objects * @returns {object} New merged object * @preserve *//** * @description Deep (recursive) object merging with support for descriptor * values, accessor functions, custom prototypes, and advanced options for * customizing the merge process. * * @example * // Clone with default options * const clonedObj = mergician({}, obj1); * * // Merge with default options * const mergedObj = mergician(obj1, obj2, obj3); * * @example * // Custom merge options * const mergedObj = mergician({ * // Options * })(obj1, obj2, obj3); * * // Custom merge function * const customMerge = mergician({ * // Options * }); * const customMergeObj = customMerge(obj1, obj2, obj3); * * @param {MergicianOptions} optionsOrObject * @param {...object} [objects] * @returns {function|object} New merge function with options set as defaults * (single argument) or new merged object (multiple arguments) * @preserve */function Ga(t,...n){const e=arguments.length===1?arguments[0]:{},a={...Ce,...e},r=new Map,s=new Map,k=typeof a.sortArrays=="function"?a.sortArrays:void 0,o=new WeakMap;let c=0;function d(p){return Pt(p,a.hoistEnumerable)}function g(...p){let m;p.length>1&&(a.onlyCommonKeys?m=At(...p.map(u=>d(u))):a.onlyUniversalKeys?m=Ct(...p.map(u=>d(u))):a.skipCommonKeys?m=Mt(...p.map(u=>d(u))):a.skipUniversalKeys&&(m=Nt(...p.map(u=>d(u))))),!m&&a.onlyKeys.length&&(m=a.onlyKeys),m&&m!==a.onlyKeys&&a.onlyKeys.length&&(m=m.filter(u=>a.onlyKeys.includes(u)));const j=p.reduce((u,b)=>{o.set(b,u);let w=m||d(b);a.skipKeys.length&&(w=w.filter(C=>a.skipKeys.indexOf(C)===-1));for(let C=0;C<w.length;C++){const f=w[C],z=u[f],A={configurable:!0,enumerable:!0};if(!(f in b))continue;let I=!1,y=b[f];const $=Object.getOwnPropertyDescriptor(b,f);if($&&typeof $.set=="function"&&typeof $.get!="function"){a.skipSetters||Object.defineProperty(u,f,$);continue}if(a.filter!==Ce.filter){const B=a.filter({depth:c,key:f,srcObj:b,srcVal:y,targetObj:u,targetVal:z});if(B!==void 0&&!B)continue}if(a.beforeEach!==Ce.beforeEach){const B=a.beforeEach({depth:c,key:f,srcObj:b,srcVal:y,targetObj:u,targetVal:z});B!==void 0&&(I=!0,y=B)}if(typeof y=="object"&&y!==null&&o.has(b[f])){const B=a.onCircular({depth:c,key:f,srcObj:b,srcVal:b[f],targetObj:u,targetVal:z});if(B===void 0){y=o.get(b[f]),u[f]=y;continue}I=!0,y=B}if(Array.isArray(y)){if(y=[...y],Array.isArray(z)&&(a.appendArrays?y=[...z,...y]:a.prependArrays&&(y=[...y,...z])),a.dedupArrays)if(a.afterEach!==Ce.afterEach)y=[...new Set(y)];else{const B=r.get(u);B&&!B.includes(f)?B.push(f):r.set(u,[f])}if(a.sortArrays)if(a.afterEach!==Ce.afterEach)y=y.sort(k);else{const B=s.get(u);B&&!B.includes(f)?B.push(f):s.set(u,[f])}}else y instanceof Date?y=new Date(y):ma(y)&&(!I||!Wa(y))&&(c++,ma(z)?y=g(z,y):y=g(y),c--);if(a.afterEach!==Ce.afterEach){const B=a.afterEach({depth:c,key:f,mergeVal:y,srcObj:b,targetObj:u});B!==void 0&&(I=!0,y=B)}if(I){const B=Wa(y)?y:{configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperty(u,f,B);continue}if($){const{configurable:B,enumerable:U,get:ae,set:Y,writable:H}=$;Object.assign(A,{configurable:B,enumerable:U}),typeof ae=="function"&&(a.invokeGetters?A.value=y:A.get=ae),!a.skipSetters&&typeof Y=="function"&&!Object.hasOwnProperty.call(A,"value")&&(A.set=Y),!A.get&&!A.set&&(A.writable=!!H)}!A.get&&!A.set&&!("value"in A)&&(A.value=y,A.writable=$&&"writable"in $?$.writable:!0),Object.defineProperty(u,f,A)}return u},{});for(const[u,b]of r.entries())for(const w of b){const C=Object.getOwnPropertyDescriptor(u,w),{configurable:f,enumerable:z,writable:A}=C;Object.defineProperty(u,w,{configurable:f,enumerable:z,value:[...new Set(u[w])],writable:A!==void 0?A:!0})}for(const[u,b]of s.entries())for(const w of b)u[w].sort(k);let l=j;if(!a.skipProto){const u=p.reduce((b,w)=>{const C=Object.getPrototypeOf(w);return C&&C!==Object.prototype&&b.push(C),b},[]);if(u.length){const b=g(...u);a.hoistProto?l=g(b,j):l=Object.create(b,Object.getOwnPropertyDescriptors(j))}}return l}return arguments.length===1?function(...p){return arguments.length===1?Ga({...a,...p[0]}):g(...p)}:g(...arguments)}function Za(t,n,e){const a=Tt(e,n);St(t,a)}function Tt(t,n){const e=n.data;return{data:{type:"localDataAcceptationDataEntries",attributes:{acceptation_id:e.uid,accept_type:`accept_${t.acceptType}`,accepted_categories:t.acceptedCategories,rejected_categories:t.rejectedCategories,revision:n.revision,source:e.serviceName,language:n.languageCode,days_of_acceptation:Bt(n)}}}}function Bt(t){return Math.ceil((t.expirationTime-Date.now())/1e3/60/60/24)}async function St(t,n){return(await fetch(t,{method:"POST",headers:{"Content-Type":"application/vnd.api+json",Accept:"application/vnd.api+json"},body:JSON.stringify(n)})).json()}const V={NECESSARY:"necessary",AD:"ad",ANALYTICS:"analytics",FUNCTIONALITY:"functionality",PERSONALIZATION:"personalization"},Fe={FORCE:"force"},O=(t,n="")=>t.reduce((e,a,r)=>r===0?`${e}${a}`:r===t.length-1?`${e} ${n} ${a}`:`${e}, ${a}`),re=(t,n,e)=>t===1?n:e,_=(t,n)=>t.map(e=>e==="Alma Career"?n:e),L=(t,n)=>{const e=n??t;return e!==""?`<p>${e}</p>`:""},E=(t,n,e)=>[$e(t,V.NECESSARY,n.necessary.title,n.necessary.description,e[V.NECESSARY]),$e(t,V.AD,n.ad.title,n.ad.description,e[V.AD]),$e(t,V.ANALYTICS,n.analytics.title,n.analytics.description,e[V.ANALYTICS]),$e(t,V.FUNCTIONALITY,n.functionality.title,n.functionality.description,e[V.FUNCTIONALITY]),$e(t,V.PERSONALIZATION,n.personalization.title,n.personalization.description,e[V.PERSONALIZATION])],$e=(t,n,e,a,r)=>({title:e,description:a,linkedCategory:n,...typeof r<"u"&&{cookieTable:{headers:t,body:r}}}),$t={and:"i",company:"kompaniji",companies:"kompanijama",legalName:"Alma Career i drugim kompanijama iz njene poslovne grupe"},It=(t,n)=>{const e={...$t,...t},a={name:"Naziv",description:"Opis",expiration:"Isticanje"};return{consentModal:{title:e.consentTitle??"Kolačići čine našu stranicu još boljom",description:` ${L("Bolje razumijevanje onoga što vas zanima, pokazat ćemo vam relevantniji sadržaj.",e.descriptionIntro)} <p> Klikom na dugme „Prihvati sve“, dajete ${re(e.companyNames.length,e.company,e.companies)} ${O(_(e.companyNames,e.legalName),e.and)} svoju saglasnost za korištenje kolačića za personalizaciju, analitiku i ciljani marketing. Možete prilagoditi upotrebu kolačića u svojim <strong><a href="" data-cc="show-preferencesModal">prilagođenim postavkama</a></strong>. </p>`,acceptAllBtn:"Prihvati sve",acceptNecessaryBtn:"Prihvatiti neophodno"},preferencesModal:{title:"Prilagođenim postavkama kolačića",acceptAllBtn:"Prihvati sve",acceptNecessaryBtn:"Prihvatiti neophodno",savePreferencesBtn:"Sačuvaj postavke",sections:[{description:`Ako želite da izvučete maksimum iz naše web stranice, najbolje je dozvoliti sve vrste kolačića. ${e.preferencesModalMoreInfo??'Više informacija o tome šta su kolačići i kako radimo s njima možete pronaći na stranici <a href="https://www.almacareer.com/gdpr" target="_blank">Politika privatnosti</a>.'}`},...E(a,{necessary:{title:"Tehnički potrebni kolačići",description:"Ovi kolačići su neophodni za pravilno funkcioniranje naše web stranice i stoga se ne mogu onemogućiti. Bez njih ne bi bilo moguće npr. za prikaz bilo kojeg sadržaja ili za prijavu na našu web stranicu."},analytics:{title:"Analitički kolačići",description:"To nam pomaže da pratimo koliko ljudi posjeti našu web stranicu i kako je koriste. Ove informacije nam zatim omogućavaju da kontinuirano poboljšavamo web stranicu i druge usluge."},functionality:{title:"Funkcionalni kolačići",description:"Naša web stranica je još efikasnija i radi bolje zahvaljujući ovim kolačićima. Na primjer, omogućavaju nam korištenje usluge chata i brzo i jednostavno odgovaranje na vaša pitanja."},ad:{title:"Marketinški kolačići",description:"Ovi kolačići nam pomažu da izmjerimo učinkovitost našeg oglašavanja i ciljanih ponuda usluga. Marketinški kolačići nam omogućavaju da vam donesemo vijesti koje bi vas mogle zanimati na Internetu."},personalization:{title:"Kolačići za personalizaciju",description:"Naše usluge bolje funkcioniraju ako ih možemo prilagoditi određenim korisnicima. Dopuštanjem kolačića za personalizaciju povećavate svoje šanse da pronađete sadržaj koji želite."}},n)]}}},xt={and:"a",company:"společnosti",companies:"společnostem",legalName:"Alma Career a společnostem z její obchodní skupiny"},Dt=(t,n)=>{const e={...xt,...t},a={name:"Název",description:"Popis",expiration:"Platnost"};return{consentModal:{title:e.consentTitle??"Díky Cookies budou naše stránky ještě lepší",description:` ${L("Když lépe pochopíme, co vás zajímá, budeme vám zobrazovat přesnější obsah na míru.",e.descriptionIntro)} <p> Kliknutím na tlačítko „Přijmout všechny“ dáte ${re(e.companyNames.length,e.company,e.companies)} ${O(_(e.companyNames,e.legalName),e.and)} souhlas s využíváním souborů Cookies na účely personalizace, analýzy a cíleného marketingu. Další informace o Cookies a úpravu jejich používání naleznete ve <strong><a href="" data-cc="show-preferencesModal">vlastním nastavení</a></strong>. </p>`,acceptAllBtn:"Přijmout všechny",acceptNecessaryBtn:"Přijmout nezbytné"},preferencesModal:{title:"Přizpůsobit nastavení Cookies",acceptAllBtn:"Přijmout všechny",acceptNecessaryBtn:"Přijmout nezbytné",savePreferencesBtn:"Uložit nastavení",sections:[{description:`Abyste z našich stránek získali maximum, je nejlepší povolit všechny typy cookies. ${e.preferencesModalMoreInfo??'Další informace o tom, co jsou cookies a jak s nimi pracujeme, najdete v <a href="https://www.almacareer.com/gdpr" target="_blank">Zásadách cookies</a>.'}`},...E(a,{necessary:{title:"Technicky nezbytné Cookies",description:"Tyto Cookies jsou pro správné fungování našeho webu nezbytné, proto není možné je vypnout. Bez nich by na našich stránkách např. nešel zobrazit žádný obsah nebo by nefungovalo přihlášení."},analytics:{title:"Analytické Cookies",description:"Pomocí nich sledujeme, kolik lidí náš web navštěvuje a jak ho používají. Díky tomu můžeme stránky a další služby neustále vylepšovat."},functionality:{title:"Funkční Cookies",description:"Díky těmto Cookies jsou naše stránky ještě výkonnější a fungují lépe. Například nám umožňují používat chat, abychom na vaše otázky mohli odpovídat rychle a jednoduše."},ad:{title:"Marketingové Cookies",description:"S těmito Cookies můžeme měřit, jak efektivní je naše reklama a cílené nabídky našich služeb. Marketingové Cookies nám umožní vás na Internetu upozornit na novinky, které vás můžou zajímat."},personalization:{title:"Personalizační Cookies",description:"Naše služby fungují lépe, když je můžeme přizpůsobit na míru konkrétnímu uživateli. Povolením Personalizačních cookies zvýšíte šanci, že najdete právě takový obsah, jaký hledáte."}},n)]}}},Ja={and:"und",legalName:"Alma Career und seine Gruppenunternehmen"},Ot=(t,n)=>{const e={...Ja,...t},a={name:"Unternehmensbezeichnung",description:"Beschreibung",expiration:"Verfallsdatum"};return{consentModal:{title:e.consentTitle??"Diese Website verwendet Cookies",description:` ${L("Wenn wir genau wissen, wofür Sie sich interessieren, können wir Ihnen maßgeschneiderte Inhalte anbieten.",e.descriptionIntro)} <p> Indem Sie auf „Alles akzeptieren“ klicken, stimmen Sie der Verwendung von Cookies und anderen Identifikatoren auf Ihrem Gerät durch ${O(_(e.companyNames,e.legalName),Ja.and)} zu. Die Verwendung dieser Cookies und anderer Identifikatoren erleichtert die Navigation auf der Website, die Anzeige personalisierter Inhalte, gezieltes Marketing und die Analyse der Nutzung unserer Produkte und Dienstleistungen. Sie können die Verwendung von Cookies in Ihren <strong><a href="" data-cc="show-preferencesModal">eigenen Einstellungen</a></strong> anpassen. </p>`,acceptAllBtn:"Alles akzeptieren",acceptNecessaryBtn:"Das Notwendigste akzeptieren"},preferencesModal:{title:"Benutzerdefinierte Cookie-Einstellungen",acceptAllBtn:"Alles akzeptieren",acceptNecessaryBtn:"Das Notwendigste akzeptieren",savePreferencesBtn:"Einstellungen speichern",sections:[{description:`Um unsere Website optimal nutzen zu können, sollten Sie alle Arten von Cookies aktivieren. ${e.preferencesModalMoreInfo??'Weitere Informationen darüber, was Cookies sind und wie wir mit ihnen arbeiten, finden Sie in unsere <a href="https://www.almacareer.com/gdpr" target="_blank">Datenschutzrichtlinien</a>.'}`},...E(a,{necessary:{title:"Technisch notwendige Cookies",description:"Diese Cookies sind für das reibungslose Funktionieren unserer Website unerlässlich und können daher nicht deaktiviert werden. Ohne sie könnten z. B. keine Inhalte auf unserer Seite angezeigt werden oder das Login würde nicht funktionieren."},analytics:{title:"Analytische Cookies",description:"Wir verwenden diese Cookies, um zu verfolgen, wie viele Personen unsere Website besuchen und wie sie sie nutzen. Auf diese Weise können wir die Website und andere Dienste kontinuierlich verbessern."},functionality:{title:"Funktionale Cookies",description:"Diese Cookies machen unsere Website leistungsfähiger und funktionieren besser. Sie ermöglichen uns zum Beispiel die Nutzung des Chats, damit wir Ihre Fragen schnell und einfach beantworten können."},ad:{title:"Marketing Cookies",description:"Mit diesen Cookies können wir messen, wie effektiv unsere Werbung und gezielte Angebote unserer Dienste sind. Marketing Cookies ermöglichen es uns, Sie online auf Nachrichten hinzuweisen, die für Sie von Interesse sein könnten."},personalization:{title:"Personalisierung Cookies",description:"Unsere Dienste funktionieren besser, wenn wir sie auf den einzelnen Nutzer zuschneiden können. Durch die Aktivierung von Personalisierungs-Cookies erhöhen Sie die Wahrscheinlichkeit, dass Sie genau die Inhalte finden, nach denen Sie suchen."}},n)]}}},Xa={and:"and",legalName:"Alma Career and other companies from its business group"},_t=(t,n)=>{const e={...Xa,...t},a={name:"Name",description:"Description",expiration:"Expiration"};return{consentModal:{title:e.consentTitle??"Cookies make our site even better",description:` ${L("By better understanding what you're interested in, we'll show you more relevant content.",e.descriptionIntro)} <p> By clicking the "Accept all" button, you give ${O(_(e.companyNames,e.legalName),Xa.and)} your consent to use cookies for personalisation, analytics and targeted marketing. You can customize use of cookies in your <strong><a href="" data-cc="show-preferencesModal">custom settings</a></strong>. </p>`,acceptAllBtn:"Accept all",acceptNecessaryBtn:"Accept necessary"},preferencesModal:{title:"Custom Cookie settings",acceptAllBtn:"Accept all",acceptNecessaryBtn:"Accept necessary",savePreferencesBtn:"Save settings",sections:[{description:`If you want to get the most out of our website it is best to allow all types of cookies. ${e.preferencesModalMoreInfo??'For more information about what cookies are and how we work with them, see our <a href="https://www.almacareer.com/gdpr" target="_blank">Cookie Policy</a>.'}`},...E(a,{necessary:{title:"Technically necessary cookies",description:"These cookies are essential for the proper functioning of our website, and so they cannot be disabled. Without them, it would not be possible e.g. to display any content or to log in on our website."},analytics:{title:"Analytical cookies",description:"These help us monitor how many people visit our website and how they use it. This information then enables us to continuously improve the website and other services."},functionality:{title:"Functional cookies",description:"Our website is even more efficient and works better thanks to these cookies. For example, they enable us to use the chat service and answer your questions quickly and easily."},ad:{title:"Marketing cookies",description:"These cookies help us to measure the effectiveness of our advertising and targeted service offers. Marketing cookies enable us to bring you news that may be of interest to you on the Internet."},personalization:{title:"Personalisation cookies",description:"Our services work better if we can tailor them to specific users. By allowing personalisation cookies you increase your chances of finding the content you want."}},n)]}}},Qa={and:"y",legalName:"Alma Career y las empresas del grupo empresarial"},Lt=(t,n)=>{const e={...Qa,...t},a={name:"Título",description:"Descripción",expiration:"Validez"};return{consentModal:{title:e.consentTitle??"Las cookies mejorarán nuestras páginas web aún más",description:` ${L("Si entendemos mejor lo que le interesa, le ofreceremos contenidos más personalizados.",e.descriptionIntro)} <p> Al pulsar el botón «Aceptar todo», usted presta su consentimiento a ${O(_(e.companyNames,e.legalName),Qa.and)} para el uso de las cookies con fines de personalización, análisis y publicidad comportamental. Más información sobre las cookies y cómo configurarlas se puede encontrar en la <strong><a href="" data-cc="show-preferencesModal">configuración de cookies</a></strong>. </p>`,acceptAllBtn:"Aceptar todo",acceptNecessaryBtn:"Aceptar las necesarias"},preferencesModal:{title:"Personalizar la configuración de cookies",acceptAllBtn:"Aceptar todo",acceptNecessaryBtn:"Aceptar las necesarias",savePreferencesBtn:"Guardar configuración",sections:[{description:`Para aprovechar nuestras páginas al máximo, es recomendable permitir todos los tipos de cookies. ${e.preferencesModalMoreInfo??'Más información sobre qué son las cookies y cómo trabajamos con ellas se puede encontrar en la <a href="https://www.almacareer.com/gdpr" target="_blank">Política de cookies</a>.'}`},...E(a,{necessary:{title:"Cookies técnicas",description:"Son aquellas que son necesarias para el funcionamiento correcto de nuestras páginas web, por lo que no es posible desactivarlas. Sin ellas no se podrá mostrar ningún contenido en nuestras páginas o no funcionará el inicio de sesión, entre otras cosas."},analytics:{title:"Cookies de análisis",description:"Son aquellas que usamos para seguir cuántas personas visitan nuestras páginas web y cómo las utilizan. Lo que nos permite ir mejorando las páginas así como otros servicios."},functionality:{title:"Cookies de funcionalidad",description:"Son aquellas que hacen nuestras páginas aún más eficientes y mejoran su funcionalidad. Por ejemplo, nos permiten usar el chat para que podamos responder a sus preguntas de manera rápida y sencilla."},ad:{title:"Cookies de publicidad comportamental",description:"Son aquellas que nos permiten medir lo efectivo que es nuestra publicidad y las ofertas comportamentales de nuestros servicios. Las cookies de publicidad comportamental nos permiten informarle en la Red sobre las novedades que puedan ser de su interés."},personalization:{title:"Cookies de personalización",description:"Nuestros servicios funcionan mejor cuando podemos adaptarlos a las necesidades de cada usuario. Al permitir las cookies de personalización, aumentará la posibilidad de encontrar exactamente el contenido que está buscando."}},n)]}}},Et={and:"ning",company:"ettevõttele",companies:"ettevõtetele",legalName:"Alma Career ja teistele selle ärigrupi ettevõtetele"},Ht=(t,n)=>{const e={...Et,...t},a={name:"Nimetus",description:"Kirjeldus",expiration:"Aegumine"};return{consentModal:{title:e.consentTitle??"Küpsised muudavad meie veebilehe kasutamise veelgi paremaks",description:` ${L("Kui mõistame paremini, mis sind huvitab, näitame sulle asjakohasemat sisu.",e.descriptionIntro)} <p> Klõpsates nuppu „Nõustun kõigiga“, annate ${re(e.companyNames.length,e.company,e.companies)} ${O(_(e.companyNames,e.legalName),e.and)} nõusoleku kasutada küpsiseid isikupärastamiseks, analüüsiks ja sihitud turunduseks. Küpsiste kasutamist saad kohandada oma <strong><a href="" data-cc="show-preferencesModal">kohandatud seadetes</a></strong>. </p>`,acceptAllBtn:"Nõustun kõigiga",acceptNecessaryBtn:"Nõustun tarvilikega"},preferencesModal:{title:"Kohandatud küpsiste seaded",acceptAllBtn:"Nõustun kõigiga",acceptNecessaryBtn:"Nõustun tarvilikega",savePreferencesBtn:"Salvesta sätted",sections:[{description:`Kui soovid meie veebilehest maksimumi võtta, on kõige parem nõustuda kõigi küpsistega. ${e.