(()=>{"use strict";var e={2344:(e,t,n)=>{n.d(t,{Fs:()=>l,KS:()=>o,Li:()=>p,Lp:()=>i,a3:()=>r,bd:()=>u,p7:()=>c,qc:()=>d,rO:()=>a});var s=n(1512);const r="necessary",o="performance",i="functional",a="advertising",c="unclassified",l="iab_purposes",u=[r,o,i,a],d=Object.freeze({}),p=(Object.freeze({[r]:s.uX,[o]:s.uX,[i]:s.uX,[a]:s.uX}),Object.freeze({[r]:s.uX,[o]:s.Dv,[i]:s.Dv,[a]:s.Dv}))},7905:(e,t,n)=>{n.d(t,{h5:()=>s,ie:()=>o,np:()=>r});const s=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"],r=["IS","NO","CH","GB"],o=["US","CA"]},6537:(e,t,n)=>{n.d(t,{X6:()=>r,uI:()=>s});const s=document,r=window;s.head},944:(e,t,n)=>{n.d(t,{Aw:()=>o,HV:()=>c,KL:()=>i,Uz:()=>a,XU:()=>f,ZG:()=>p,o9:()=>u,qx:()=>h,t4:()=>l,zc:()=>d});var s=n(1386);const r=n(2344).bd.join(", ").toLowerCase(),o=s.f2+" Missing API key.",i=s.f2+" Failed to load configs, check API key",a=s.f2+" Can't toggle panel in stealth mode",c=s.f2+" new consent must be an object",l=s.f2+" Unrecognized category, not one of: "+r,u=s.f2+" Unrecognized service key.",d=s.f2+" Unrecognized banner type.",p=s.f2+" useContext outside provider",h=s.f2+" Failed to load cookies",f=s.f2+" Failed to send bulk consent message"},1512:(e,t,n)=>{n.d(t,{Dv:()=>o,QV:()=>s,i_:()=>i,qh:()=>a,uX:()=>r});const s=null,r=!0,o=!1,i=void 0,a="undefined"},2225:(e,t,n)=>{n.d(t,{i:()=>s,z:()=>r});const s=86400,r=365*s},9979:(e,t,n)=>{n.d(t,{G:()=>o});var s=n(3856),r=n(1512);const o=(0,s.kr)(r.i_)},3112:(e,t,n)=>{n.d(t,{A:()=>r,Z:()=>o});var s=n(1512);const r=(0,n(3856).kr)(s.QV),o=r},9521:(e,t,n)=>{n.d(t,{$:()=>s,Z:()=>r});const s=(0,n(3856).kr)(void 0),r=s},1386:(e,t,n)=>{n.d(t,{AV:()=>r,BX:()=>g,Bs:()=>c,Ep:()=>b,HB:()=>i,Ji:()=>w,MZ:()=>y,OH:()=>S,Q8:()=>m,QO:()=>v,T5:()=>s,W$:()=>E,Ys:()=>_,eR:()=>u,ee:()=>h,f2:()=>L,iT:()=>p,o$:()=>l,sT:()=>C,ud:()=>o,wf:()=>d,xC:()=>a,xl:()=>f});const s="https://api.cookiefirst.com/prod",r="https://edge.cookiefirst.com/prod",o="https://consent.cookiefirst.com",i=`${r}/location`,a="data-cookiefirst",c="cookiefirst",l="cf",u=`${a}-accent-color`,d=`${a}-corner-style`,p=`${a}-outline-accent-color`,h=`${a}-bg-color`,f=`${a}-widget`,g=`${a}-button`,_=`${a}-action`,v=`${a}-category`,m="cookiefirst-consent",y="cookiefirst-id",b="cf-user-lang",C="cf-user-tcstring",E="CookieFirst",w="2.14.26",L="[CF]",S="cf"},3868:(e,t,n)=>{n.d(t,{default:()=>o});var s=n(1386),r=n(1512);const o=new class{constructor(){this.apiKey="",this.dir=r.QV,this.wildcardDir=r.QV,this.dataLayer="dataLayer",this.stealthMode=r.Dv,this.forcedLang=r.QV,this.silentMode=r.uX,this.debugMode=r.Dv,this.staticFilesUrl=s.ud||""}set(e,t){this[e]=t}}},8103:(e,t,n)=>{n.d(t,{Z:()=>c});var s=n(1386),r=n(3042);class o extends Error{constructor(e,t){super(e),this.body=void 0,this.body=t}}const i=o;var a=n(9610);const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.Z)(((n,o)=>{const a=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(new i(`${s.f2} Request to ${e} failed: ${t}`,n))};fetch(e,t).then((e=>{if(!e.ok)return e.status?422===e.status?void e.json().then((t=>{a(e.status,t)})).catch((t=>a(e.status))):void a(e.status):void a("");const t={},s=(0,r.Z)(e.headers||{});for(let n=s.length-1;n>=0;n--){const r=s[n];t[r.toLowerCase()]=e.headers[r]}n([e,t])}),(e=>a(e.message)))}))}},4712:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(8103),r=n(9610);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.Z)(((n,r)=>{(0,s.Z)(e,{...t,headers:{...t.headers||{},Accept:"application/json"}}).then((e=>{let[t,s]=e;t.json().then((e=>n([e,s])),r)}),r)}))}},9040:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(1386),r=n(6893),o=n(5110);const i=()=>{(0,o.Z)(s.Q8),(0,r.Z)(s.Q8)}},5823:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(1512),r=n(2225),o=n(6461);const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.z;if("number"!==typeof e)return s.Dv;return(0,o.Z)()-e>=t}},6580:(e,t,n)=>{n.d(t,{Z:()=>h});var s=n(5706),r=n(1386),o=n(1512),i=n(172),a=n(1825),c=n(9682),l=n(3042),u=n(4580),d=n(4986);const p=e=>{const t=(0,l.Z)(e).reduce(((t,n)=>(0,d.Z)(["version","timestamp","type"],n)?t:{...t,[n]:!!e[n]}),{});let n=s.LV;return(0,d.Z)([s.LV,s.an],e.type||"")&&(n=e.type),[{...t,version:e.version},parseInt(e.timestamp||"0"),n]},h=()=>{const e=(0,c.Z)(r.Q8,o.QV);if(e)return p(e);const t=(()=>{const e=(0,a.Z)(r.Q8);if(!e)return o.QV;try{return JSON.parse(decodeURIComponent(e))}catch(t){return(0,i.OM)("Failed to decode local consent cookie:"),(0,u.Z)(t),o.QV}})();return t?p(t):o.QV}},8881:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(1512);const r=(e,t)=>{if(!t||"number"!==typeof t)return s.Dv;const n=parseInt(e);return e&&!isNaN(n)&&n>=t?s.Dv:s.uX}},4235:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(1512),r=n(7905),o=n(172),i=n(863),a=n(4986);const c=()=>{const e=navigator.userAgent,t=(0,i.Z)(e)&&(0,a.Z)(e,"CookieCheck");return t&&(0,o.cl)("is Scanner."),t},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(c())return s.uX;const{bannerNonEuCountries:o,bannerNonEuRegions:i,hideOutsideEU:l}=e;if(l&&t){let e=[...r.h5,...o];if(n&&(e=[...e,...r.ie]),!(0,a.Z)(e,t))return s.uX;if(t&&n&&(0,a.Z)(r.ie,t)&&!(0,a.Z)(i,`${t}-${n}`))return s.uX}return s.Dv}},9610:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>new Promise(e)},5110:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(8827);const r=e=>(0,s.Z)(e,"",0)},6893:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(3325);const r=e=>{const t=(0,s.Z)();e&&t&&t.removeItem(e)}},2439:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(6537);const r=(e,t)=>{s.X6.dispatchEvent(new CustomEvent(e,{detail:t}))}},2125:(e,t,n)=>{n.d(t,{Z:()=>s});const s=function(e,t,n,s){e.addEventListener(t,n,s)}},9629:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(6537);const r=function(e,t){return s.uI.createElement(e,t)}},8433:(e,t,n)=>{n.d(t,{Z:()=>s});const s=function(e,t,n,s){e.removeEventListener(t,n,s)}},137:(e,t,n)=>{n.d(t,{Z:()=>u});var s=n(944),r=n(4712),o=n(3868),i=n(1386),a=n(1280),c=n(9610);const l={},u=(e,t)=>{const{apiKey:n}=o.default;return(0,c.Z)(((o,c)=>{if(!e)return c(new Error(s.qx));if(l[e])return o(l[e]);const u=(0,a.Z)({api_key:n,lang:e,version:t||Date.now().toString(),origin:window.location.hostname});(0,r.Z)(`${i.AV}/site-cookies?${u}`).then((t=>{let[n]=t;return l[e]||(l[e]={...n,cookies:n.cookies||[],cookie_policy_updated_at:n.cookie_policy_updated_at||"",cookie_list_updated_at:n.cookie_list_updated_at||""}),o(l[e])})).catch(c)}))}},9751:(e,t,n)=>{n.d(t,{Z:()=>o});var s=n(1512),r=n(6650);const o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.QV,o=e;const i=t.split(".");for(let s=0;s{n.d(t,{Z:()=>i});var s=n(1512),r=n(6537),o=n(4580);const i=e=>{const t=e+"=";try{const e=r.uI.cookie.split(";");for(let n=0;n{n.d(t,{Z:()=>r});const s="__storage_test__",r=()=>{try{const e=window.localStorage;return e?(e.setItem(s,s),e.removeItem(s),e):null}catch(e){return null}}},9682:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(1512),r=n(3325),o=n(4580);const i=function(e,t){const n=(0,r.Z)();try{if(!n)return t;const r=n.getItem(e);if(r===s.QV)return t;try{return JSON.parse(r)}catch(i){return(0,o.Z)(i),t}}catch(i){return(0,o.Z)(i),t}}},4662:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(1512),r=n(1386),o=n(3070);const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.QV;const n=(0,o.Z)(e,"/").replace("//","/");return`${r.ud}/${n}${t?`?v=${t}`:""}`}},6490:(e,t,n)=>{n.d(t,{Nq:()=>r,ZP:()=>o});var s=n(4986);const r="ltr",o=e=>(0,s.Z)(["ar","he"],e)?"rtl":r},6461:(e,t,n)=>{n.d(t,{Z:()=>s});const s=()=>Math.round(Date.now()/1e3)},4986:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(1512),r=n(7804),o=n(863);const i=(e,t)=>(0,r.Z)(e)||(0,o.Z)(e)?e.includes(t):s.Dv},2899:(e,t,n)=>{n.d(t,{B:()=>_});var s=n(2344),r=n(6127),o=n(5706),i=n(1512),a=n(7905),c=n(9198),l=n(2225),u=n(9751),d=n(7804),p=n(863),h=n(6650),f=n(4986);const g=["CA","QC"],_=e=>{let t=(0,h.Z)(e)?e:{};const n=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.QV;return(0,u.Z)(t,e,n)},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const s=n(e)||t;return(0,d.Z)(s)?s:t},v=e=>!!n(e,i.Dv),m=n("consentPolicy")||o.hs,y=m===o.Gc,b=_("scripts").map((e=>({...e,integration:e.integration||c.yj})));return{lastConsentReset:n("lastConsentReset",i.QV)||i.QV,additionalLink:n("additionalLink","")||"",type:n("widget.type",r.nv)||r.nv,buttonsOrder:_("widget.buttonsOrder"),version:n("version"),get location(){const e=n("widget.location"),t=r.gK[this.type];return(0,f.Z)(t,e)?e:t[0]},get bulkConsent(){const e=n("bulkConsent")||{};return{id:(0,u.Z)(e,"id"),group:(0,u.Z)(e,"group",""),domains:(0,u.Z)(e,"domains",[])||[],iframeUrl:(0,u.Z)(e,"iframeUrl")}},consentPolicy:m,isGranularPolicy:y,privacyPolicyUrl:n("privacyPolicyUrl"),showPrivacyUrlInBanner:v("showPrivacyUrlInBanner"),hideOutsideEU:v("hideOutsideEU"),showNumberOfScriptsInBanner:v("showNumberOfScriptsInBanner"),get tabsOnSettingsPanel(){const e=_("tabsOnSettingsPanel");let t=[];return t=e||[r.bl,r.Y4,n("hideCookiePolicy")?"":r.YI],(0,f.Z)(t,r.bl)||t.unshift(r.bl),t.filter((e=>!!e&&(0,p.Z)(e)))},languages:_("languages"),showLanguageSwitcher:v("showLanguageSwitcher"),banner_continue_button_type:n("banner_continue_button_type")||r.mY,baseConsent:n("baseConsent"),preConsent:{...s.Li,...n("preConsent")||{}},scripts:b,cookieCategories:s.bd.filter((e=>{const t=_("cookieCategories");return(0,f.Z)(t,e)?y?!!b.find((t=>(0,f.Z)(t.categories,e))):i.uX:i.Dv})),whitelabel:{banner:v("whitelabel.banner"),panel:v("whitelabel.panel"),logoUrl:n("whitelabel.logoUrl",i.QV),linkUrl:n("whitelabel.linkUrl",i.QV)},loadInlineScripts:v("loadInlineScripts"),okAcceptsAll:v("okAcceptsAll"),googleConsentModeEnabled:v("googleConsentModeEnabled"),disableGCMUpdateEvents:v("disableGCMUpdateEvents"),enableFloatingButton:v("enableFloatingButton"),denyBtn:n("denyBtn","visible"),denyBtnSecond:n("denyBtnSecond")||n("denyBtn","visible"),get bannerToggles(){return v("bannerToggles")&&this.cookieCategories.length>1},backdropEnabled:v("backdropEnabled"),fontFamily:n("widget.fontFamily",""),widget:n("widget",{type:r.nv,location:r.O8,fontFamily:"",buttonsOrder:[]}),reconsent:{after:n("reconsent.after"),check:n("reconsent.check"),categories:_("reconsent.categories")},get branding(){const e=!!n("branding");return{panel:{show:e?n("branding.panel.show",i.uX):!this.whitelabel.panel,url:n("branding.panel.url"),logo:n("branding.panel.logo"),label:n("branding.panel.label"),showLabel:v("branding.panel.showLabel")},banner:{show:e?n("branding.banner.show",i.uX):!this.whitelabel.banner,url:n("branding.banner.url"),logo:n("branding.banner.logo"),label:n("branding.banner.label"),showLabel:v("branding.banner.showLabel")}}},increaseLocationPrecision:v("increaseLocationPrecision"),get consentLifetime(){const e=n("consentLifetime");return e&&"number"===typeof e?e:l.z},consentType:y?o.an:o.LV,bannerNonEuCountries:_("bannerNonEuCountries",a.np),tcfEnabled:n("tcfEnabled",i.Dv),tcfLanguages:_("tcfLanguages"),tcfCountry:n("tcfCountry",""),tcfVendors:n("tcfVendors",[]),tcfGdprApplies:n("tcfGdprApplies",i.Dv),acEnabled:n("acEnabled",i.Dv),acVendors:n("acVendors",[]),gpcAndDntEnabled:v("gpcAndDntEnabled"),bannerNonEuRegions:_("bannerNonEuRegions",g),isUsingWildcard:n("isUsingWildcard",i.Dv),wildcardUrls:n("wildcardUrls",[])}}},7804:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>Array.isArray(e)},5354:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>"function"===typeof e},6650:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>!!e&&"object"===typeof e},863:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>"string"===typeof e},3693:(e,t,n)=>{n.d(t,{Z:()=>u});var s=n(1512),r=n(1386),o=n(3868),i=n(4580),a=n(9610),c=n(4712);const l=(e,t)=>(0,a.Z)(((n,s)=>{(0,c.Z)(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(n,s)})),u=function(e,t,n){let c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.QV,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:s.QV,d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:s.QV,p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:s.QV,h=arguments.length>7&&void 0!==arguments[7]?arguments[7]:s.QV,f=arguments.length>8&&void 0!==arguments[8]?arguments[8]:s.QV,g=arguments.length>9&&void 0!==arguments[9]?arguments[9]:s.QV;const{apiKey:_}=o.default;return(0,a.Z)(((o,a)=>{if(!r.T5||!_)return o(s.QV);l(`${r.T5}/consent`,{preferences:e,apiKey:_,action:t,visitor_id:n||"",config_version:c,visitor_country:u||s.QV,visitor_region:d||s.QV,consent_policy:p||s.QV,granular_metadata:h||s.QV,url:window.location.href,tcstring:f,acstring:g}).then((e=>{let[t]=e;o(t.visitor_id||s.QV)}),(e=>{(0,i.Z)("Error logging user consent. Data:",{error:e}),a(e)}))}))}},172:(e,t,n)=>{n.d(t,{G6:()=>l,OM:()=>u,cl:()=>c});var s=n(1386),r=n(3868);const o=e=>`${s.f2} [${e}]`,i=console,a=e=>(i.time(o(e)),function(){for(var t=arguments.length,n=new Array(t),s=0;s1?n-1:0),a=1;a{n.d(t,{Z:()=>r});var s=n(3042);const r=e=>{const t=new URLSearchParams;return(0,s.Z)(e).forEach((n=>{t.set(n,encodeURIComponent(e[n]))})),t.toString()}},3042:(e,t,n)=>{n.d(t,{Z:()=>s});const s=e=>Object.keys(e)},5678:(e,t,n)=>{n.d(t,{Z:()=>s});const s=()=>Math.random().toString()},4580:(e,t,n)=>{n.d(t,{Z:()=>s});const s=function(){for(var e=arguments.length,t=new Array(e),n=0;n{n.d(t,{Z:()=>l});var s=n(1512),r=n(2225),o=n(6537),i=n(6461),a=n(3042);const c=e=>{const t=new Date;return t.setTime(1e3*e),t.toUTCString()},l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const l=null!==n?n:(0,i.Z)()+r.z,u={[e]:encodeURIComponent(t),expires:c(l),path:"/",SameSite:"Lax",secure:"https:"===window.location.protocol},d=(0,a.Z)(u).map((e=>{const t=u[e];return"boolean"===typeof t?t?e:s.QV:`${e}=${t}`}),[]).filter(Boolean).join("; ");return o.uI.cookie=d,d}},727:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(3325);const r=(e,t)=>{const n=(0,s.Z)();n&&n.setItem(e,JSON.stringify(t))}},6046:(e,t,n)=>{n.d(t,{Dl:()=>f,FL:()=>g,Gz:()=>r,Hu:()=>a,O7:()=>i,QD:()=>u,Tx:()=>o,YP:()=>p,Yo:()=>h,bn:()=>c,dh:()=>d,eh:()=>s,v$:()=>l,y7:()=>_});const s=0,r=1,o=2,i=3,a=4,c=5,l=6,u=7,d=8,p=9,h=10;let f=function(e){return e.IAB="iab",e.NON_IAB="non_iab",e.GOOGLE="g",e}({}),g=function(e){return e.PURPOSES="purposes",e.SPECIAL_PURPOSES="specialPurposes",e.FEATURES="features",e.SPECIAL_FEATURES="specialFeatures",e}({}),_=function(e){return e.TCLOADED="tcloaded",e.IS_SHOWN="cmpuishown",e.INTERACTION_COMPLETE="useractioncomplete",e}({})},3674:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(1386),r=n(5110),o=n(6893);const i=()=>{(0,o.Z)(s.sT),(0,r.Z)(s.sT)}},5211:(e,t,n)=>{n.d(t,{GQ:()=>a,Ol:()=>l,QK:()=>i,Qo:()=>u,dY:()=>d,fG:()=>p,fz:()=>c,qT:()=>o});var s=n(6046),r=n(1512);const o=[{key:s.FL.PURPOSES,hasSwitch:r.uX,IABLibName:"purposeConsents",hasLegitimateInterest:r.uX,legIntName:"legIntPurposes",IABLibLegitimateInterestName:"purposeLegitimateInterests"},{key:s.FL.SPECIAL_PURPOSES,hasSwitch:r.Dv,hasLegitimateInterest:r.Dv},{key:s.FL.FEATURES,hasSwitch:r.Dv,hasLegitimateInterest:r.Dv},{key:s.FL.SPECIAL_FEATURES,hasSwitch:r.uX,IABLibName:"specialFeatureOptins",hasLegitimateInterest:r.Dv}],i=382,a=4,c="2",l="2.2",u=1,d=[s.FL.PURPOSES,s.FL.SPECIAL_PURPOSES,s.FL.FEATURES,s.FL.SPECIAL_FEATURES],p=[1,3,4,5,6]},112:(e,t,n)=>{n.d(t,{o:()=>s});const s=()=>Object.freeze({vendors:{},categories:{},vendorsLegitimateInterest:{},categoriesLegitimateInterest:{},gatp:{}})},481:(e,t,n)=>{n.d(t,{Z:()=>h});var s=n(1386),r=n(1512),o=n(172),i=n(1825),a=n(9682),c=n(4580),l=n(6034),u=n(5211),d=n(112);const p=(e,t)=>{const n=l.E9.decode(e.tcString);let s=(0,d.o)();if(n.vendorConsents.forEach(((e,t)=>{s={...s,vendors:{...s.vendors,[t]:e}}})),n.vendorLegitimateInterests.forEach(((e,t)=>{s={...s,vendorsLegitimateInterest:{...s.vendorsLegitimateInterest,[t]:e}}})),u.qT.forEach((e=>{if(e.hasSwitch){if(!e.IABLibName)return void console.error("TCF category with switch is missing IAB LIB name");if(n[e.IABLibName].forEach(((t,n)=>{s={...s,categories:{...s.categories,[e.key]:{...s.categories[e.key],[n]:t}}}})),e.hasLegitimateInterest){if(!e.IABLibLegitimateInterestName)return void console.error("TCF category with switch is missing IAB LIB legitimate interest name");n[e.IABLibLegitimateInterestName].forEach(((t,n)=>{s={...s,categoriesLegitimateInterest:{...s.categoriesLegitimateInterest,[e.key]:{...s.categoriesLegitimateInterest[e.key],[n]:t}}}}))}}})),t.acEnabled&&e.acString){e.acString.split("~")[1].split(".").forEach((e=>{s.gatp[e]=r.uX}))}return[{...s},parseInt(e.timestamp||"0"),e.tcString,e.acString]},h=e=>{const t=(0,a.Z)(s.sT,r.QV);if(t)return p(t,e);const n=(()=>{const e=(0,i.Z)(s.sT);if(!e)return r.QV;try{return JSON.parse(decodeURIComponent(e))}catch(t){return(0,o.OM)("Failed to decode local consent cookie:"),(0,c.Z)(t),r.QV}})();return n?p(n,e):r.QV}},3070:(e,t,n)=>{n.d(t,{Z:()=>s});[" ","\t","\v","\f","\xa0","\ufeff","\n","\r","\u2028","\u2029"].join("");const s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=(e||"").toString().trim();return t&&(n=n.replace(new RegExp(`^${t}+`),"").replace(new RegExp(`${t}+$`),"")),n}},3312:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9979),r=n(944),o=n(8944);const i=()=>{const e=(0,o.qp)(s.G);if(!e)throw new Error(r.ZG);return e}},8290:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(381);const r=()=>{const{hasConsented:e,isForcingReconsent:t}=(0,s.Z)();return!e||t}},8719:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(8944);const r=e=>{const[t,r]=(0,s.eJ)({});return(0,s.d4)((()=>{e.tcfEnabled&&n.e(760).then(n.bind(n,7760)).then((e=>{r((()=>e))}))}),[e.tcfEnabled]),t}},4333:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(3112),r=n(944),o=n(8944);const i=()=>{const e=(0,o.qp)(s.A);if(!e)throw new Error(r.ZG);return e}},381:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(9521),r=n(944),o=n(8944);const i=()=>{const e=(0,o.qp)(s.$);if(!e)throw new Error(r.ZG);return e}},6127:(e,t,n)=>{n.d(t,{AU:()=>f,Bs:()=>g,Ge:()=>o,HI:()=>s,O8:()=>i,Vl:()=>p,Y4:()=>l,YI:()=>u,bD:()=>h,bl:()=>c,gK:()=>a,mY:()=>_,nv:()=>r,ow:()=>d});const s="box",r="banner",o="bottom-left",i="bottom",a={[s]:["top-left","top-right",o,"bottom-right","center-center"],[r]:["top",i]},c="settings",l="cookies",u="policy",d="data";let p=function(e){return e.CATEGORIES="categories",e.VENDORS="vendors",e}({});const h="x_sign",f="x_icon_only",g="link",_="disabled"},5706:(e,t,n)=>{n.d(t,{Gc:()=>i,LV:()=>s,an:()=>r,gl:()=>c,hs:()=>o,mX:()=>a,qD:()=>l,sD:()=>u});const s="category",r="granular",o=1,i=2,a="store",c="update",l="withdraw",u="reset"},9198:(e,t,n)=>{n.d(t,{I$:()=>o,Ko:()=>a,QE:()=>r,if:()=>i,yj:()=>s});const s="banner_load",r="edit",o="gtm_load",i="autoblock",a="manual"},3856:(e,t,n)=>{n.d(t,{HY:()=>b,Tm:()=>H,Vf:()=>y,YM:()=>r,ZB:()=>x,az:()=>v,bR:()=>V,kr:()=>G,sY:()=>F,wA:()=>C});var s,r,o,i,a,c,l,u,d={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function _(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return m(e,a,r,o,null)}function m(e,t,n,s,i){var a={type:e,props:t,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++o:i};return null==i&&null!=r.vnode&&r.vnode(a),a}function y(){return{current:null}}function b(e){return e.children}function C(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tt&&i.sort(l));S.__r=0}function I(e,t,n,s,r,o,i,a,c,l,u){var h,g,_,v,y,C,w,L,S,I=0,V=s&&s.__k||p,O=V.length,P=O,k=t.length;for(n.__k=[],h=0;h0?m(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)?(v.__=n,v.__b=n.__b+1,-1===(L=T(v,V,w=h+I,P))?_=d:(_=V[L]||d,V[L]=void 0,P--),D(e,v,_,r,o,i,a,c,l,u),y=v.__e,(g=v.ref)&&_.ref!=g&&(_.ref&&M(_.ref,null,v),u.push(g,v.__c||y,v)),null!=y&&(null==C&&(C=y),(S=_===d||null===_.__v)?-1==L&&I--:L!==w&&(L===w+1?I++:L>w?P>k-w?I+=L-w:I--:I=L(null!=c?1:0))for(;i>=0||a=0){if((c=t[i])&&r==c.key&&o===c.type)return i;i--}if(a2&&(c.children=arguments.length>3?s.call(arguments,2):n),m(e.type,c,r||e.key,o||e.ref,null)}function G(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,s;return this.getChildContext||(n=[],(s={})[t]=this,this.getChildContext=function(){return s},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,L(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}s=p.slice,r={__e:function(e,t,n,s){for(var r,o,i;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,s||{}),i=r.__d),i)return r.__E=r}catch(t){e=t}throw e}},o=0,C.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),L(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),L(this))},C.prototype.render=b,i=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},S.__r=0,u=0},8944:(e,t,n)=>{n.d(t,{I4:()=>L,Me:()=>Z,Qb:()=>I,Ye:()=>w,_Y:()=>m,aP:()=>E,bt:()=>b,d4:()=>y,eJ:()=>v,qp:()=>S,sO:()=>C});var s,r,o,i,a=n(3856),c=0,l=[],u=[],d=a.YM.__b,p=a.YM.__r,h=a.YM.diffed,f=a.YM.__c,g=a.YM.unmount;function _(e,t){a.YM.__h&&a.YM.__h(r,e,c||t),c=0;var n=r.__H||(r.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:u}),n.__[e]}function v(e){return c=1,m(N,e)}function m(e,t,n){var o=_(s++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):N(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){var i=function(e,t,n){if(!o.__c.__H)return!0;var s=o.__c.__H.__.filter((function(e){return e.__c}));if(s.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var r=!1;return s.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(r=!0)}})),!(!r&&o.__c.props===e)&&(!a||a.call(this,e,t,n))};r.u=!0;var a=r.shouldComponentUpdate,c=r.componentWillUpdate;r.componentWillUpdate=function(e,t,n){if(this.__e){var s=a;a=void 0,i(e,t,n),a=s}c&&c.call(this,e,t,n)},r.shouldComponentUpdate=i}return o.__N||o.__}function y(e,t){var n=_(s++,3);!a.YM.__s&&k(n.__H,t)&&(n.__=e,n.i=t,r.__H.__h.push(n))}function b(e,t){var n=_(s++,4);!a.YM.__s&&k(n.__H,t)&&(n.__=e,n.i=t,r.__h.push(n))}function C(e){return c=5,w((function(){return{current:e}}),[])}function E(e,t,n){c=6,b((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function w(e,t){var n=_(s++,7);return k(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function L(e,t){return c=8,w((function(){return e}),t)}function S(e){var t=r.context[e.__c],n=_(s++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(r)),t.props.value):e.__}function I(e,t){a.YM.useDebugValue&&a.YM.useDebugValue(t?t(e):e)}function Z(){var e=_(s++,11);if(!e.__){for(var t=r.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function V(){for(var e;e=l.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(O),e.__H.__h.forEach(P),e.__H.__h=[]}catch(r){e.__H.__h=[],a.YM.__e(r,e.__v)}}a.YM.__b=function(e){r=null,d&&d(e)},a.YM.__r=function(e){p&&p(e),s=0;var t=(r=e.__c).__H;t&&(o===r?(t.__h=[],r.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.i=void 0}))):(t.__h.forEach(O),t.__h.forEach(P),t.__h=[],s=0)),o=r},a.YM.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&i===a.YM.requestAnimationFrame||((i=a.YM.requestAnimationFrame)||T)(V)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==u&&(e.__=e.__V),e.i=void 0,e.__V=u}))),o=r=null},a.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(O),e.__h=e.__h.filter((function(e){return!e.__||P(e)}))}catch(o){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.YM.__e(o,e.__v)}})),f&&f(e,t)},a.YM.unmount=function(e){g&&g(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{O(e)}catch(e){t=e}})),n.__H=void 0,t&&a.YM.__e(t,n.__v))};var A="function"==typeof requestAnimationFrame;function T(e){var t,n=function(){clearTimeout(s),A&&cancelAnimationFrame(t),setTimeout(e)},s=setTimeout(n,100);A&&(t=requestAnimationFrame(n))}function O(e){var t=r,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),r=t}function P(e){var t=r;e.__c=e.__(),r=t}function k(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function N(e,t){return"function"==typeof t?t(e):t}},7226:(e,t,n)=>{n.d(t,{BX:()=>o,HY:()=>s.HY,tZ:()=>o});var s=n(3856),r=0;function o(e,t,n,o,i,a){var c,l,u={};for(l in t)"ref"==l?c=t[l]:u[l]=t[l];var d={type:e,props:u,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--r,__source:i,__self:a};if("function"==typeof e&&(c=e.defaultProps))for(l in c)void 0===u[l]&&(u[l]=c[l]);return s.YM.vnode&&s.YM.vnode(d),d}},6034:(e,t,n)=>{function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function r(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function o(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ew:()=>ee,gI:()=>te,E9:()=>ne});class i extends Error{constructor(e){super(e),this.name="EncodingError"}}class a extends Error{constructor(e){super(e),this.name="DecodingError"}}class c{static encode(e){if(!/^[0-1]+$/.test(e))throw new i("Invalid bitField");const t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";let n="";for(let s=0;s=2&&2==t.length){if(l.langSet.has(e))return e;if(l.langSet.has(t))return t;const n=t+"-"+t;if(l.langSet.has(n))return n;for(const s of l.langSet)if(-1!==s.indexOf(e)||-1!==s.indexOf(t))return s}throw new Error(`unsupported language ${e}`)}forEach(e){l.langSet.forEach(e)}get size(){return l.langSet.size}}o(l,"langSet",new Set(["AR","BG","BS","CA","CS","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HR","HU","IT","JA","LT","LV","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SR-LATN","SR-CYRL","SV","TR","ZH"]));class u{}o(u,"cmpId","cmpId"),o(u,"cmpVersion","cmpVersion"),o(u,"consentLanguage","consentLanguage"),o(u,"consentScreen","consentScreen"),o(u,"created","created"),o(u,"supportOOB","supportOOB"),o(u,"isServiceSpecific","isServiceSpecific"),o(u,"lastUpdated","lastUpdated"),o(u,"numCustomPurposes","numCustomPurposes"),o(u,"policyVersion","policyVersion"),o(u,"publisherCountryCode","publisherCountryCode"),o(u,"publisherCustomConsents","publisherCustomConsents"),o(u,"publisherCustomLegitimateInterests","publisherCustomLegitimateInterests"),o(u,"publisherLegitimateInterests","publisherLegitimateInterests"),o(u,"publisherConsents","publisherConsents"),o(u,"publisherRestrictions","publisherRestrictions"),o(u,"purposeConsents","purposeConsents"),o(u,"purposeLegitimateInterests","purposeLegitimateInterests"),o(u,"purposeOneTreatment","purposeOneTreatment"),o(u,"specialFeatureOptins","specialFeatureOptins"),o(u,"useNonStandardTexts","useNonStandardTexts"),o(u,"vendorConsents","vendorConsents"),o(u,"vendorLegitimateInterests","vendorLegitimateInterests"),o(u,"vendorListVersion","vendorListVersion"),o(u,"vendorsAllowed","vendorsAllowed"),o(u,"vendorsDisclosed","vendorsDisclosed"),o(u,"version","version");class d{clone(){const e=new this.constructor;return Object.keys(this).forEach((t=>{const n=this.deepClone(this[t]);void 0!==n&&(e[t]=n)})),e}deepClone(e){const t=typeof e;if("number"===t||"string"===t||"boolean"===t)return e;if(null!==e&&"object"===t){if("function"===typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){const t=[];for(const n of e)t.push(this.deepClone(n));return e instanceof Array?t:new e.constructor(t)}{const t={};for(const n in e)e.hasOwnProperty(n)&&(t[n]=this.deepClone(e[n]));return t}}}}class p extends Error{constructor(e,t){super(`invalid value ${t} passed for ${e} ${arguments.length>2&&void 0!==arguments[2]?arguments[2]:""}`),this.name="TCModelError"}}var h,f,g;!function(e){e[e.NOT_ALLOWED=0]="NOT_ALLOWED",e[e.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",e[e.REQUIRE_LI=2]="REQUIRE_LI"}(h||(h={}));class _ extends d{constructor(e,t){super(),o(this,"purposeId_",void 0),o(this,"restrictionType",void 0),void 0!==e&&(this.purposeId=e),void 0!==t&&(this.restrictionType=t)}static unHash(e){const t=e.split(this.hashSeparator),n=new _;if(2!==t.length)throw new p("hash",e);return n.purposeId=parseInt(t[0],10),n.restrictionType=parseInt(t[1],10),n}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${_.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===h.NOT_ALLOWED||this.restrictionType===h.REQUIRE_CONSENT||this.restrictionType===h.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}o(_,"hashSeparator","-");class v extends d{constructor(){super(...arguments),o(this,"bitLength",0),o(this,"map",new Map),o(this,"gvl_",void 0)}has(e){return this.map.has(e)}isOkToHave(e,t,n){var s;let r=!0;if(null!==(s=this.gvl)&&void 0!==s&&s.vendors){const s=this.gvl.vendors[n];if(s)if(e===h.NOT_ALLOWED)r=s.legIntPurposes.includes(t)||s.purposes.includes(t);else if(s.flexiblePurposes.length)switch(e){case h.REQUIRE_CONSENT:r=s.flexiblePurposes.includes(t)&&s.legIntPurposes.includes(t);break;case h.REQUIRE_LI:r=s.flexiblePurposes.includes(t)&&s.purposes.includes(t)}else r=!1;else r=!1}return r}add(e,t){if(this.isOkToHave(t.restrictionType,t.purposeId,e)){const n=t.hash;this.has(n)||(this.map.set(n,new Set),this.bitLength=0),this.map.get(n).add(e)}}restrictPurposeToLegalBasis(e){const t=Array.from(this.gvl.vendorIds),n=e.hash,s=t[t.length-1],r=[...Array(s).keys()].map((e=>e+1));if(this.has(n))for(let o=1;o<=s;o++)this.map.get(n).add(o);else this.map.set(n,new Set(r)),this.bitLength=0}getVendors(e){let t=[];if(e){const n=e.hash;this.has(n)&&(t=Array.from(this.map.get(n)))}else{const e=new Set;this.map.forEach((t=>{t.forEach((t=>{e.add(t)}))})),t=Array.from(e)}return t.sort(((e,t)=>e-t))}getRestrictionType(e,t){let n;return this.getRestrictions(e).forEach((e=>{e.purposeId===t&&(void 0===n||n>e.restrictionType)&&(n=e.restrictionType)})),n}vendorHasRestriction(e,t){let n=!1;const s=this.getRestrictions(e);for(let r=0;r{e=Math.max(Array.from(t)[t.size-1],e)})),e}getRestrictions(e){const t=[];return this.map.forEach(((n,s)=>{e?n.has(e)&&t.push(_.unHash(s)):t.push(_.unHash(s))})),t}getPurposes(){const e=new Set;return this.map.forEach(((t,n)=>{e.add(_.unHash(n).purposeId)})),Array.from(e)}remove(e,t){const n=t.hash,s=this.map.get(n);s&&(s.delete(e),0==s.size&&(this.map.delete(n),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach(((e,t)=>{const n=_.unHash(t);Array.from(e).forEach((t=>{this.isOkToHave(n.restrictionType,n.purposeId,t)||e.delete(t)}))})))}get gvl(){return this.gvl_}isEmpty(){return 0===this.map.size}get numRestrictions(){return this.map.size}}!function(e){e.COOKIE="cookie",e.WEB="web",e.APP="app"}(f||(f={})),function(e){e.CORE="core",e.VENDORS_DISCLOSED="vendorsDisclosed",e.VENDORS_ALLOWED="vendorsAllowed",e.PUBLISHER_TC="publisherTC"}(g||(g={}));class m{}let y,b,C,E,w,L,S,I,Z,V,A,T,O,P,k,N,D,U,R;o(m,"ID_TO_KEY",[g.CORE,g.VENDORS_DISCLOSED,g.VENDORS_ALLOWED,g.PUBLISHER_TC]),o(m,"KEY_TO_ID",{[g.CORE]:0,[g.VENDORS_DISCLOSED]:1,[g.VENDORS_ALLOWED]:2,[g.PUBLISHER_TC]:3}),y=Symbol.iterator;class M extends d{constructor(){super(...arguments),o(this,"bitLength",0),o(this,"maxId_",0),o(this,"set_",new Set)}*[y](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach((e=>this.unset(e))):"object"===typeof e?this.unset(Object.keys(e).map((e=>Number(e)))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach((e=>{this.maxId_=Math.max(this.maxId,e)}))))}isIntMap(e){let t="object"===typeof e;return t=t&&Object.keys(e).every((t=>{let n=Number.isInteger(parseInt(t,10));return n=n&&this.isValidNumber(e[t].id),n=n&&void 0!==e[t].name,n})),t}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t}set(e){if(Array.isArray(e))e.forEach((e=>this.set(e)));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map((e=>Number(e))));else{if(!this.isValidNumber(e))throw new p("set()",e,"must be positive integer array, positive integer, Set, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}}empty(){this.set_=new Set}forEach(e){for(let t=1;t<=this.maxId;t++)e(this.has(t),t)}get size(){return this.set_.size}setAll(e){this.set(e)}}b=u.cmpId,C=u.cmpVersion,E=u.consentLanguage,w=u.consentScreen,L=u.created,S=u.isServiceSpecific,I=u.lastUpdated,Z=u.policyVersion,V=u.publisherCountryCode,A=u.publisherLegitimateInterests,T=u.publisherConsents,O=u.purposeConsents,P=u.purposeLegitimateInterests,k=u.purposeOneTreatment,N=u.specialFeatureOptins,D=u.useNonStandardTexts,U=u.vendorListVersion,R=u.version;class Q{}o(Q,b,12),o(Q,C,12),o(Q,E,12),o(Q,w,6),o(Q,L,36),o(Q,S,1),o(Q,I,36),o(Q,Z,6),o(Q,V,12),o(Q,A,24),o(Q,T,24),o(Q,O,24),o(Q,P,24),o(Q,k,1),o(Q,N,12),o(Q,D,1),o(Q,U,12),o(Q,R,6),o(Q,"anyBoolean",1),o(Q,"encodingType",1),o(Q,"maxId",16),o(Q,"numCustomPurposes",6),o(Q,"numEntries",12),o(Q,"numRestrictions",12),o(Q,"purposeId",6),o(Q,"restrictionType",2),o(Q,"segmentType",3),o(Q,"singleOrRange",1),o(Q,"vendorId",16);class ${static encode(e){return String(Number(e))}static decode(e){return"1"===e}}class F{static encode(e,t){let n;if("string"===typeof e&&(e=parseInt(e,10)),n=e.toString(2),n.length>t||e<0)throw new i(`${e} too large to encode into ${t}`);return n.length25||s<0||s>25)throw new i(`invalid language code: ${e}`);if(t%2===1)throw new i(`numBits must be even, ${t} is not valid`);t/=2;return F.encode(n,t)+F.encode(s,t)}static decode(e,t){let n;if(t!==e.length||e.length%2)throw new a("invalid bit length for language");{const t=65,s=e.length/2,r=F.decode(e.slice(0,s),s)+t,o=F.decode(e.slice(s),s)+t;n=String.fromCharCode(r)+String.fromCharCode(o)}return n}}class B{static encode(e){let t=F.encode(e.numRestrictions,Q.numRestrictions);if(!e.isEmpty()){const n=(t,n)=>{for(let s=t+1;s<=n;s++)if(e.gvl.vendorIds.has(s))return s;return t};e.getRestrictions().forEach((s=>{t+=F.encode(s.purposeId,Q.purposeId),t+=F.encode(s.restrictionType,Q.restrictionType);const r=e.getVendors(s),o=r.length;let i=0,a=0,c="";for(let e=0;en(t,r[o-1])){const e=!(t===a);c+=$.encode(e),c+=F.encode(a,Q.vendorId),e&&(c+=F.encode(t,Q.vendorId)),a=0}}t+=F.encode(i,Q.numEntries),t+=c}))}return t}static decode(e){let t=0;const n=new v,s=F.decode(e.substr(t,Q.numRestrictions),Q.numRestrictions);t+=Q.numRestrictions;for(let r=0;r{if(o+=$.encode(r),n=e.maxId>c&&l{const t=1===e.length;n+=$.encode(!t),n+=F.encode(e[0],Q.vendorId),t||(n+=F.encode(e[1],Q.vendorId))})),n}}function j(){return{[u.version]:F,[u.created]:x,[u.lastUpdated]:x,[u.cmpId]:F,[u.cmpVersion]:F,[u.consentScreen]:F,[u.consentLanguage]:G,[u.vendorListVersion]:F,[u.policyVersion]:F,[u.isServiceSpecific]:$,[u.useNonStandardTexts]:$,[u.specialFeatureOptins]:H,[u.purposeConsents]:H,[u.purposeLegitimateInterests]:H,[u.purposeOneTreatment]:$,[u.publisherCountryCode]:G,[u.vendorConsents]:Y,[u.vendorLegitimateInterests]:Y,[u.publisherRestrictions]:B,segmentType:F,[u.vendorsDisclosed]:Y,[u.vendorsAllowed]:Y,[u.publisherConsents]:H,[u.publisherLegitimateInterests]:H,[u.numCustomPurposes]:F,[u.publisherCustomConsents]:H,[u.publisherCustomLegitimateInterests]:H}}class W{constructor(e,t){if(o(this,"1",[g.CORE]),o(this,"2",[g.CORE]),2===e.version)if(e.isServiceSpecific)this[2].push(g.PUBLISHER_TC);else{const n=!(!t||!t.isForVendors);n&&!0!==e[u.supportOOB]||this[2].push(g.VENDORS_DISCLOSED),n&&(e[u.supportOOB]&&e[u.vendorsAllowed].size>0&&this[2].push(g.VENDORS_ALLOWED),this[2].push(g.PUBLISHER_TC))}}}class q{static encode(e,t){let n;try{n=this.fieldSequence[String(e.version)][t]}catch(o){throw new i(`Unable to encode version: ${e.version}, segment: ${t}`)}let s="";t!==g.CORE&&(s=F.encode(m.KEY_TO_ID[t],Q.segmentType));const r=j();return n.forEach((n=>{const a=e[n],c=r[n];let l=Q[n];void 0===l&&this.isPublisherCustom(n)&&(l=Number(e[u.numCustomPurposes]));try{s+=c.encode(a,l)}catch(o){throw new i(`Error encoding ${t}->${n}: ${o.message}`)}})),c.encode(s)}static decode(e,t,n){const s=c.decode(e);let r=0;n===g.CORE&&(t.version=F.decode(s.substr(r,Q[u.version]),Q[u.version])),n!==g.CORE&&(r+=Q.segmentType);const o=this.fieldSequence[String(t.version)][n],i=j();return o.forEach((e=>{const n=i[e];let o=Q[e];if(void 0===o&&this.isPublisherCustom(e)&&(o=Number(t[u.numCustomPurposes])),0!==o){const i=s.substr(r,o);if(t[e]=n===Y?n.decode(i,t.version):n.decode(i,o),Number.isInteger(o))r+=o;else{if(!Number.isInteger(t[e].bitLength))throw new a(e);r+=t[e].bitLength}}})),t}static isPublisherCustom(e){return 0===e.indexOf("publisherCustom")}}o(q,"fieldSequence",new class{constructor(){o(this,"1",{[g.CORE]:[u.version,u.created,u.lastUpdated,u.cmpId,u.cmpVersion,u.consentScreen,u.consentLanguage,u.vendorListVersion,u.purposeConsents,u.vendorConsents]}),o(this,"2",{[g.CORE]:[u.version,u.created,u.lastUpdated,u.cmpId,u.cmpVersion,u.consentScreen,u.consentLanguage,u.vendorListVersion,u.policyVersion,u.isServiceSpecific,u.useNonStandardTexts,u.specialFeatureOptins,u.purposeConsents,u.purposeLegitimateInterests,u.purposeOneTreatment,u.publisherCountryCode,u.vendorConsents,u.vendorLegitimateInterests,u.publisherRestrictions],[g.PUBLISHER_TC]:[u.publisherConsents,u.publisherLegitimateInterests,u.numCustomPurposes,u.publisherCustomConsents,u.publisherCustomLegitimateInterests],[g.VENDORS_ALLOWED]:[u.vendorsAllowed],[g.VENDORS_DISCLOSED]:[u.vendorsDisclosed]})}});class z{static process(e,t){const n=e.gvl;if(!n)throw new i("Unable to encode TCModel without a GVL");if(!n.isReady)throw new i("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=n.language.slice(0,2).toUpperCase(),(null===t||void 0===t?void 0:t.version)>0&&(null===t||void 0===t?void 0:t.version)<=this.processor.length?e.version=t.version:e.version=this.processor.length;const s=e.version-1;if(!this.processor[s])throw new i(`Invalid version: ${e.version}`);return this.processor[s](e,n)}}o(z,"processor",[e=>e,(e,t)=>{e.publisherRestrictions.gvl=t,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const n=new Map;return n.set("legIntPurposes",e.vendorLegitimateInterests),n.set("purposes",e.vendorConsents),n.forEach(((n,s)=>{n.forEach(((r,o)=>{if(r){const r=t.vendors[o];if(!r||r.deletedDate)n.unset(o);else if(0===r[s].length)if("legIntPurposes"===s&&0===r.purposes.length&&0===r.legIntPurposes.length&&r.specialPurposes.length>0);else if(e.isServiceSpecific)if(0===r.flexiblePurposes.length)n.unset(o);else{const t=e.publisherRestrictions.getRestrictions(o);let r=!1;for(let e=0,n=t.length;e{const i=new XMLHttpRequest;i.withCredentials=n,i.addEventListener("load",(()=>{if(i.readyState==XMLHttpRequest.DONE)if(i.status>=200&&i.status<300){let t=i.response;if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}r(t)}else o(new Error(`HTTP Status: ${i.status} response type: ${i.responseType}`))})),i.addEventListener("error",(()=>{o(new Error("error"))})),i.addEventListener("abort",(()=>{o(new Error("aborted"))})),null===t?i.open("GET",e,!0):i.open("POST",e,!0),i.responseType="json",i.timeout=s,i.ontimeout=()=>{o(new Error("Timeout "+s+"ms "+e))},i.send(t)}))}static post(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.absCall(e,JSON.stringify(t),n,s)}static fetch(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.absCall(e,null,t,n)}}class ee extends d{static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new K("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}constructor(e){super(),o(this,"readyPromise",void 0),o(this,"gvlSpecificationVersion",void 0),o(this,"vendorListVersion",void 0),o(this,"tcfPolicyVersion",void 0),o(this,"lastUpdated",void 0),o(this,"purposes",void 0),o(this,"specialPurposes",void 0),o(this,"features",void 0),o(this,"specialFeatures",void 0),o(this,"isReady_",!1),o(this,"vendors_",void 0),o(this,"vendorIds",void 0),o(this,"fullVendorList",void 0),o(this,"byPurposeVendorMap",void 0),o(this,"bySpecialPurposeVendorMap",void 0),o(this,"byFeatureVendorMap",void 0),o(this,"bySpecialFeatureVendorMap",void 0),o(this,"stacks",void 0),o(this,"dataCategories",void 0),o(this,"lang_",void 0),o(this,"cacheLang_",void 0),o(this,"isLatest",!1);let t=ee.baseUrl;if(this.lang_=ee.DEFAULT_LANGUAGE,this.cacheLang_=ee.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!t)throw new K("must specify GVL.baseUrl before loading GVL json");if(e>0){const n=e;ee.CACHE.has(n)?(this.populate(ee.CACHE.get(n)),this.readyPromise=Promise.resolve()):(t+=ee.versionedFilename.replace("[VERSION]",String(n)),this.readyPromise=this.fetchJson(t))}else ee.CACHE.has(ee.LATEST_CACHE_KEY)?(this.populate(ee.CACHE.get(ee.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(t+ee.latestFilename))}}static emptyLanguageCache(e){let t=!1;return null==e&&ee.LANGUAGE_CACHE.size>0?(ee.LANGUAGE_CACHE=new Map,t=!0):"string"===typeof e&&this.consentLanguages.has(e.toUpperCase())&&(ee.LANGUAGE_CACHE.delete(e.toUpperCase()),t=!0),t}static emptyCache(e){let t=!1;return Number.isInteger(e)&&e>=0?(ee.CACHE.delete(e),t=!0):void 0===e&&(ee.CACHE=new Map,t=!0),t}cacheLanguage(){ee.LANGUAGE_CACHE.has(this.cacheLang_)||ee.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await J.fetch(e))}catch(t){throw new K(t.message)}}getJson(){return JSON.parse(JSON.stringify({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories,vendors:this.fullVendorList}))}async changeLanguage(e){let t=e;try{t=ee.consentLanguages.parseLanguage(e)}catch(s){throw new K("Error during parsing the language: "+s.message)}const n=e.toUpperCase();if((t.toLowerCase()!==ee.DEFAULT_LANGUAGE.toLowerCase()||ee.LANGUAGE_CACHE.has(n))&&t!==this.lang_)if(this.lang_=t,ee.LANGUAGE_CACHE.has(n)){const e=ee.LANGUAGE_CACHE.get(n);for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}else{const e=ee.baseUrl+ee.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(e),this.cacheLang_=n,this.cacheLanguage()}catch(r){throw new K("unable to load language: "+r.message)}}}get language(){return this.lang_}isVendorList(e){return void 0!==e&&void 0!==e.vendors}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"===typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&ee.CACHE.set(ee.LATEST_CACHE_KEY,this.getJson()),ee.CACHE.has(this.vendorListVersion)||ee.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((e=>{this.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((e=>{this.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((e=>{this.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((e=>{this.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((e=>+e))),this.vendorIds=new Set(e),this.vendors_=e.reduce(((e,t)=>{const n=this.vendors_[String(t)];return n&&void 0===n.deletedDate&&(n.purposes.forEach((e=>{this.byPurposeVendorMap[String(e)].consent.add(t)})),n.specialPurposes.forEach((e=>{this.bySpecialPurposeVendorMap[String(e)].add(t)})),n.legIntPurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].legInt.add(t)})),n.flexiblePurposes&&n.flexiblePurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].flexible.add(t)})),n.features.forEach((e=>{this.byFeatureVendorMap[String(e)].add(t)})),n.specialFeatures.forEach((e=>{this.bySpecialFeatureVendorMap[String(e)].add(t)})),e[t]=n),e}),{})}getFilteredVendors(e,t,n,s){const r=e.charAt(0).toUpperCase()+e.slice(1);let o;const i={};return o="purpose"===e&&n?this["by"+r+"VendorMap"][String(t)][n]:this["by"+(s?"Special":"")+r+"VendorMap"][String(t)],o.forEach((e=>{i[String(e)]=this.vendors[String(e)]})),i}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new ee(this.getJson());return this.lang_!==ee.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return"object"===typeof e&&"function"===typeof e.narrowVendorsTo}}o(ee,"LANGUAGE_CACHE",new Map),o(ee,"CACHE",new Map),o(ee,"LATEST_CACHE_KEY",0),o(ee,"DEFAULT_LANGUAGE","EN"),o(ee,"consentLanguages",new l),o(ee,"baseUrl_",void 0),o(ee,"latestFilename","vendor-list.json"),o(ee,"versionedFilename","archives/vendor-list-v[VERSION].json"),o(ee,"languageFilename","purposes-[LANG].json");class te extends d{constructor(e){super(),o(this,"isServiceSpecific_",!1),o(this,"supportOOB_",!0),o(this,"useNonStandardTexts_",!1),o(this,"purposeOneTreatment_",!1),o(this,"publisherCountryCode_","AA"),o(this,"version_",2),o(this,"consentScreen_",0),o(this,"policyVersion_",4),o(this,"consentLanguage_","EN"),o(this,"cmpId_",0),o(this,"cmpVersion_",0),o(this,"vendorListVersion_",0),o(this,"numCustomPurposes_",0),o(this,"gvl_",void 0),o(this,"created",void 0),o(this,"lastUpdated",void 0),o(this,"specialFeatureOptins",new M),o(this,"purposeConsents",new M),o(this,"purposeLegitimateInterests",new M),o(this,"publisherConsents",new M),o(this,"publisherLegitimateInterests",new M),o(this,"publisherCustomConsents",new M),o(this,"publisherCustomLegitimateInterests",new M),o(this,"customPurposes",void 0),o(this,"vendorConsents",new M),o(this,"vendorLegitimateInterests",new M),o(this,"vendorsDisclosed",new M),o(this,"vendorsAllowed",new M),o(this,"publisherRestrictions",new v),e&&(this.gvl=e),this.updated()}set gvl(e){ee.isInstanceOf(e)||(e=new ee(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),!(Number.isInteger(e)&&e>1))throw new p("cmpId",e);this.cmpId_=e}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new p("cmpVersion",e);this.cmpVersion_=e}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new p("consentScreen",e);this.consentScreen_=e}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(!/^([A-z]){2}$/.test(e))throw new p("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if((e=Number(e)>>0)<0)throw new p("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new p("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if("object"===typeof this.customPurposes){const t=Object.keys(this.customPurposes).sort(((e,t)=>Number(e)-Number(t)));e=parseInt(t.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new p("numCustomPurposes",e)}updated(){const e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t}}o(te,"consentLanguages",ee.consentLanguages);class ne{static encode(e,t){let n,s="";return e=z.process(e,t),n=Array.isArray(null===t||void 0===t?void 0:t.segments)?t.segments:new W(e,t)[""+e.version],n.forEach(((t,r)=>{let o="";r{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,s)=>(n.f[s](e,t),t)),[])),n.u=e=>"static-main-no-autoblock/"+({522:"ui",735:"embeds"}[e]||e)+"."+{162:"65cd",233:"8420",522:"b65a",676:"c541",735:"780f",760:"76f2",782:"7e6d"}[e]+".c.js",n.miniCssF=e=>"static-main-no-autoblock/"+(522===e?"ui":e)+"."+{233:"362b",522:"e8db",676:"5181",760:"bf58"}[e]+".c.css",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="cookie-first-banner:";n.l=(s,r,o,i)=>{if(e[s])e[s].push(r);else{var a,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(h);var r=e[s];if(delete e[s],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="https://consent.cookiefirst.com/banner/v2.14.26/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((t,s)=>{var r=n.miniCssF(e),o=n.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),s=0;s{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=n=>{if(o.onerror=o.onload=null,"load"===n.type)s();else{var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=a,o.parentNode&&o.parentNode.removeChild(o),r(c)}},o.href=t,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o)})(e,o,null,t,s)})),t={179:0};n.f.miniCss=(n,s)=>{t[n]?s.push(t[n]):0!==t[n]&&{233:1,522:1,676:1,760:1}[n]&&s.push(t[n]=e(n).then((()=>{t[n]=0}),(e=>{throw delete t[n],e})))}}})(),(()=>{var e={179:0};n.f.j=(t,s)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)s.push(r[2]);else{var o=new Promise(((n,s)=>r=e[t]=[n,s]));s.push(r[2]=o);var i=n.p+n.u(t),a=new Error;n.l(i,(s=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=s&&("load"===s.type?"missing":s.type),i=s&&s.target&&s.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,s)=>{var r,o,[i,a,c]=s,l=0;if(i.some((t=>0!==e[t]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(c)c(n)}for(t&&t(s);l{Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!==typeof e)return this.then(e,e);const t=this.constructor||Promise;return this.then((n=>t.resolve(e()).then((()=>n))),(n=>t.resolve(e()).then((()=>{throw n}))))});var e=n(172),t=n(944),s=n(3868),r=n(1512),o=n(4712),i=n(4662),a=n(4580),c=n(7804),l=n(9610),u=n(6537);const d=()=>{const e=u.X6.location.hostname.replace(/^www\./,"").split(".");return e.map(((t,n)=>0===n&&e.length>2?"*":t)).filter(Boolean).join(".")},p="version.json",h=[r.QV,r.QV,r.QV],f=(e,t)=>{const[n,o]=t,i=n.v||r.QV,a=(o["visitor-location"]||"").toUpperCase(),c=o["Sec-GPC"]||"";return s.default.dir=e,[i,a||r.QV,c||null]},g=e=>{const{dir:t,wildcardDir:n}=s.default,r=Date.now().toString(),u=(0,i.Z)(`${t}/${p}`,r),g=(0,i.Z)(`${n}/${p}`,r);return(0,l.Z)((s=>{const r=(e,t)=>{(0,o.Z)(e).then((e=>s(f(t||"",e))),(e=>{(0,a.Z)(e),s(h)}))};if(!t&&!n)return s(h);if(e&&e.widgetConfig){const s=e.widgetConfig,o=d();s.isUsingWildcard&&s.wildcardUrls.includes(o)?r(g,n):r(u,t)}else(0,o.Z)(u).then((e=>{if(!(0,c.Z)(e))throw new Error("");s(f(t||"",e))}),(e=>{if((0,a.Z)(e),!n||n===t)return s(h);r(g,n)}))}))};var _=n(6650);const v=()=>{const e=window.__COOKIE_BANNER_SETTINGS__;return!(0,_.Z)(e)||(0,c.Z)(e)?r.QV:e};var m=n(1386);const y=e=>{if(!e)return[r.QV,r.QV];return[`sites/${u.X6.location.hostname.replace(/^www\./,"")}-${e}`,`sites/${d()}-${e}`]};var b=n(9682),C=n(3042),E=n(3070),w=n(4986);const L="cookiefirst-key",S=(e,t)=>{if((0,w.Z)(e.src,`${t}=`))return new URL(e.src).searchParams.get(t)||r.QV;const n=e.getAttribute(`data-${t}`);return""===n?"":n||r.QV},I=(e,t)=>{const n=S(e,t);return""===n?r.uX:(0,w.Z)(["false","0"],n)?r.Dv:!!n},Z=e=>{if(e){for(const t of(0,C.Z)(e)){const n=e[t];typeof n!==r.qh&&s.default.set(t,n)}if(s.default.apiKey){const[e,t]=y(s.default.apiKey);s.default.dir=e,s.default.wildcardDir=t}}const t=m.o$+"-debug";s.default.debugMode=(0,b.Z)(t,!1)||!0===(e&&e.debugMode),s.default.debugMode&&(console.info(`debugMode: ${s.default.debugMode} `),s.default.silentMode=r.Dv);let n=r.QV;if(n||(n=u.uI.querySelector(`script[src*="${L}"],script[data-${L}]`)),!n)return;if(e&&(0,C.Z)(e).length>0)return;s.default.apiKey=S(n,L)||"",s.default.apiKey=(0,E.Z)(s.default.apiKey||""),s.default.dataLayer=S(n,"datalayer")||s.default.dataLayer,"true"===s.default.dataLayer&&(s.default.dataLayer="dataLayer"),s.default.stealthMode=I(n,"stealth-mode"),s.default.forcedLang=S(n,"language");const[o,i]=y(s.default.apiKey);s.default.dir=o,s.default.wildcardDir=i;let a=r.uX;const c="silent-mode";s.default.debugMode?a=r.Dv:null!==S(n,c)&&(a=I(n,c)),s.default.silentMode=a};var V=n(1825),A=n(727);const T=()=>{let e=(0,b.Z)(m.MZ,null);return e||(e=(0,V.Z)(m.MZ)||r.QV,(0,A.Z)(m.MZ,e)),e};var O=n(2899);const P=(t,n)=>{const{dir:r}=s.default;return(0,l.Z)(((s,c)=>{if((0,_.Z)(n)){(0,e.cl)("preloaded config");const r=(0,O.B)({...n,version:t});return s(Object.freeze(r))}const l=(0,i.Z)(`${r}/config.json`,t);(0,e.cl)(`load config from ${l}`),(0,o.Z)(l).then((e=>{let[n]=e;const r=(0,O.B)({...n,version:t});s(Object.freeze(r))}),(e=>{(0,a.Z)(e),c(e)}))}))};var k=n(2344),N=n(5706),D=n(9040),U=n(6461),R=n(2125),M=n(9629),Q=n(8433),$=n(5678),F=n(863);const x=e=>u.uI.getElementById(e);let H=null;const G=n=>{if(H)return H;let s=function(){const e=x(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"");return e&&"IFRAME"===e.nodeName?e:r.QV}(),o=r.Dv;const i=[];return s&&(o=r.uX),H={sendMessage:c=>(0,l.Z)(((l,d)=>{let p=r.QV;const h=`bulk-msg-${(0,$.Z)()}`;if(!c)return void d(new Error(t.XU));if(!s){if(!n)return void d(new Error(t.XU));s=((e,t)=>{const n=(0,M.Z)("iframe");return n.id="bulk-consent",n.setAttribute("tabindex","-1"),n.setAttribute("role","presentation"),n.setAttribute("aria-hidden","true"),n.setAttribute("title","Bulk Consent"),n.style.position="absolute",n.style.width="1px",n.style.height="1px",n.style.top="-9999px",n.onload=t,n.src=e,u.uI.head.appendChild(n),n})(n,(()=>{(0,e.G6)("iframe initialized"),o=r.uX}))}const f=t=>{if(s&&t.source===s.contentWindow)try{let s=t[t.message?"message":"data"];if(!s)return;if((0,F.Z)(s)&&(s=JSON.parse(s)),!s.message_id||s.message_id!==h||(0,w.Z)(i,s.message_id))return void(0,e.G6)("ignoring msg:",s);if((0,e.G6)("received response"),(0,Q.Z)(u.X6,"message",f,r.Dv),i.push(h),p&&clearTimeout(p),!s.value)return l(r.QV);if((0,F.Z)(s.value))try{const e=JSON.parse(s.value);return l(e)}catch(n){return l(r.QV)}return l(s.value)}catch(n){return(0,e.G6)(new Error("failed to read response")),(0,a.Z)(n),d()}else(0,e.G6)("ignoring msg from another window",t)};if(!s||!s.contentWindow)return(0,e.G6)("failed to initialize."),d();try{(0,R.Z)(u.X6,"message",f,r.Dv);const t=JSON.stringify({...c,message_id:h});o?(s.contentWindow.postMessage(t,"*"),(0,e.G6)("send message")):((0,e.G6)("send message when ready"),s.onload=()=>{(0,e.G6)("iframe initialized");const n=s;n.contentWindow&&(o=r.uX,n.contentWindow.postMessage(t,"*"),(0,e.G6)("message sent"))}),p=setTimeout((()=>{(0,e.G6)("reached timeout of 9s"),l(r.QV)}),9e3)}catch(g){return(0,e.G6)("encountered an error",g),p&&clearTimeout(p),void d(g)}}))},H},B=e=>(0,l.Z)((t=>{const{id:n,iframeUrl:s}=e,o={group_id:n,action:"get"};G(s).sendMessage(o).then((e=>{if(!e)return t(r.QV);const n=parseInt(e.timestamp||"0");t({action:(0,F.Z)(e.action)&&e.action||N.mX,consent:e.consent||{},timestamp:isNaN(n)?0:n,type:e.type||N.LV})}),(()=>t(r.QV)))}));var X=n(6580);const Y=t=>(0,l.Z)((n=>{const s=t.bulkConsent;if(!s.id)return n((0,X.Z)());B(s).then((t=>{if(t){const{action:s=N.mX,consent:o={},type:i=N.LV,timestamp:a=(0,U.Z)()}=t;if(s===N.sD||s===N.qD)return(0,e.G6)("detected ["+s+"] as last action"),(0,D.Z)(),n(r.QV);if(o)return(0,e.G6)("loaded"),n([o,a,i])}return(0,e.G6)("no consent saved, trying local"),n((0,X.Z)())}),(()=>n(r.QV)))})),j=t=>{const{id:n,iframeUrl:s}=t;return(0,l.Z)((t=>{const o={group_id:n,action:"remove"};G(s).sendMessage(o).then((e=>t(e)),(n=>{(0,e.G6)("Failed to delete bulk consent"),(0,a.Z)(n),t(r.QV)}))}))},W=e=>(0,l.Z)((t=>{(0,D.Z)(),e.id?j(e).then(t):t()}));var q=n(5823);const z=(e,t,n)=>{const{consent_key:s,categories:o}=e;return(0,w.Z)(o,k.a3)?r.uX:n===N.Gc?!!t[s]:o.every((e=>!!t[e]))},K=(e,t)=>t.scripts.reduce(((n,s)=>({...n,[s.consent_key]:z(s,e,t.consentPolicy)})),{...k.qc}),J=(t,n)=>(0,l.Z)((s=>{const{id:r,iframeUrl:o}=t,i={group_id:r,action:"set",consent:n};G(o).sendMessage(i).then((e=>s()),(t=>{(0,e.G6)("Failed to save bulk consent",{error:t}),s()}))})),ee=e=>(0,l.Z)((t=>{const{bulkConsent:n,consentType:s}=e;if((0,D.Z)(),!n.id)return t();J(n,{action:N.sD,consent:{},timestamp:(0,U.Z)(),type:s}).then((()=>t()))}));var te=n(8881);const ne=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.QV,s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,O.B)();return(0,l.Z)((i=>{let a={...t};const c=o.bulkConsent,l=o.lastConsentReset,u=o.isGranularPolicy,d=o.scripts;if(n&&(0,q.Z)(n,o.consentLifetime))return W(c).finally((()=>i(r.QV)));if(n&&(0,te.Z)(n,l))return(0,e.OM)("detected reset request, resetting..."),ee(o).finally((()=>{(0,e.OM)("reset success"),i(r.QV)}));if(u){s&&s!==N.LV||((0,e.OM)("Convert category to granular"),a=d.reduce(((e,t)=>{const n=(t.categories||[]).every((e=>!!a[e]));return e[t.consent_key]=n,e}),{...k.qc}));const t=K(a,o);i({...t})}else{s===N.an&&((0,e.OM)("Convert granular to category"),a=k.bd.reduce(((e,t)=>{if(t===k.a3)return e[t]=!0,e;const n=d.filter((e=>(0,w.Z)(e.categories,t))),s=n.filter((e=>z(e,a,N.Gc)));return e[t]=s.length===n.length,e}),{...k.qc}));const t=k.bd.reduce(((e,t)=>(e[t]=!!a[t],e)),{...k.qc});i({...t})}}))};var se=n(2225),re=n(8827);const oe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.QV,n=arguments.length>2?arguments[2]:void 0;const s={...e,timestamp:t,type:n.consentType,version:n.version},o=n.consentLifetime||se.z,i=(t||(0,U.Z)())+o;(0,A.Z)(m.Q8,s),(0,re.Z)(m.Q8,JSON.stringify(s),i)};var ie=n(4235);const ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=navigator.doNotTrack;return!t||"1"!==e&&"1"!==n?r.Dv:r.uX},ce=[r.QV,r.QV],le=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return(0,l.Z)((i=>{const l=(0,ie.Z)(t,n,s),u=ae(o,t.gpcAndDntEnabled);let d=ce;if(u)(0,e.OM)("use empty"),d=[k.Li,r.QV];else if(l)if((0,e.OM)("use full"),t.isGranularPolicy){const e=t.scripts.reduce(((e,t)=>({...e,[t.consent_key]:r.uX})),{});d=[e,r.QV]}else{const e=k.bd.reduce(((e,t)=>(e[t]=r.uX,e)),{...k.qc});d=[e,r.QV]}Y(t).then((n=>{if(!(0,c.Z)(n))return(0,e.OM)("no data stored"),void i(d);const[s,r,o]=n;if(!s)return(0,e.OM)("no data stored"),void i(d);ne(s,r,o||null,t).then((n=>{if(!(0,_.Z)(n))return(0,e.OM)("loaded empty"),void i(d);(0,e.OM)("loaded",n),oe(n,r,t),i([n,r])}),(t=>{(0,e.OM)("error",t),i(d)}))}),(t=>{(0,a.Z)(t),(0,e.OM)("error",t),i(d)}))}))};var ue=n(1280);const de=()=>(0,l.Z)(((e,t)=>{const n=(0,ue.Z)({origin:window.location.hostname});(0,o.Z)(`${m.HB}?${n}`).then((t=>{let[n]=t;e([n.country||n.countryCode||r.QV,n.region||r.QV])}),(t=>{(0,a.Z)(t),e([r.QV,r.QV])}))})),pe=(e,t)=>(0,l.Z)(((n,s)=>{e.increaseLocationPrecision?de().then(n,(()=>n([t,r.QV]))):n([t,r.QV])})),he=()=>(0,l.Z)((e=>{const o=v();Z(o&&o.integration||{});const{apiKey:i}=s.default;if(!(0,F.Z)(i)||!i)throw new Error(t.Aw);const c=T();g(o).then((s=>{let[l,u,d]=s;if(!l)throw new Error(t.KL);const p=o&&o.widgetConfig||r.QV;P(l,p).then((t=>{pe(t,u).then((s=>{let[a,l]=s;const u=n=>{let s;s=t.tcfEnabled&&n?[le(t,a,l,d)]:[le(t,a,l)],t.tcfEnabled&&s.push(n(t)),Promise.all(s).then((n=>{let[s,u]=n;const[d,p]=s;let h=r.QV,f=r.QV;u&&([h,f]=u),e({preloadSettings:o,apiKey:i,widgetConfig:t,prevConsent:d,prevConsentTimestamp:p,visitorId:c,visitorCountry:a,visitorRegion:l,tcfPrevConsent:h,tcfPrevConsentTimestamp:f})}))};t.tcfEnabled?n.e(782).then(n.bind(n,9782)).then((e=>{const t=e.loadTCFUserConsent;u(t)})):u()}),a.Z)}))}))}));var fe=n(9979),ge=n(6127),_e=n(8944),ve=n(7226);const me=e=>{let{config:n,children:o}=e;const{stealthMode:i}=s.default,[a,c]=(0,_e.eJ)(r.QV),[l,u]=(0,_e.eJ)(r.QV),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge.bl;const t=n.widgetConfig.tabsOnSettingsPanel;if(e!==r.QV&&!(0,w.Z)(t,e))throw new Error(m.f2+" New tab must be one of ["+t.join(", ")+"], passed: "+e);c(e)},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge.Vl.CATEGORIES;const t=[ge.Vl.CATEGORIES,ge.Vl.VENDORS];if(e!==r.QV&&!(0,w.Z)(t,e))throw new Error(m.f2+" New tab must be one of ["+t.join(", ")+"], passed: "+e);u(e)},h=(0,_e.Ye)((()=>({...n,activePanelTab:a,changePanelTab:d,activeConsentTab:l,changeConsentTab:p})),[a,d,l,p]),f=(0,_e.I4)((e=>{if(i)throw new Error(t.Uz);c(e?ge.bl:r.QV),u(e?ge.Vl.CATEGORIES:r.QV)}),[i]),[g,_]=(0,_e.eJ)(r.QV),[v,y]=(0,_e.eJ)(r.QV);return(0,ve.tZ)(fe.G.Provider,{value:{...h,toggleSettingsPanel:f,isSettingsPanelOpen:!!a,activePanelTab:a,changePanelTab:d,activeConsentTab:l,changeConsentTab:p,gvl:g,setGvl:_,gatp:v,setGatp:y},children:o})},ye=e=>(0,ve.tZ)(ve.HY,{}),be=e=>t=>{const n=(0,_e.sO)(ye),[,s]=(0,_e.eJ)(r.QV);(0,_e.d4)((()=>{e().then((e=>{n.current=e.default||e,s((0,$.Z)())}),(e=>{throw e}))}),[]);const o=n.current;return(0,ve.tZ)(o,{...t})},Ce=be((()=>Promise.all([n.e(162),n.e(676),n.e(522)]).then(n.bind(n,7263))));var Ee=n(3312),we=n(8290),Le=n(381);const Se=()=>{const e=(0,we.Z)(),{showWithdrawModal:t}=(0,Le.Z)(),{widgetConfig:n,activePanelTab:o}=(0,Ee.Z)(),{enableFloatingButton:i}=n,[a,c]=(0,_e.Ye)((()=>s.default.stealthMode?[r.Dv,r.Dv]:[e||t||o||i,e||t||o]),[e,o,t,i]);return(0,_e.d4)((()=>{u.X6.CF_visiblity=c}),[c]),a?(0,ve.tZ)(Ce,{}):r.QV},Ie=(e,t,n,s)=>{if(e===k.a3)return r.uX;if(n===N.Gc&&s){const o=s.filter((t=>(0,w.Z)(t.categories,e)));if(!o.length)return r.Dv;return o.filter((e=>z(e,t,n))).length===o.length}return n===N.hs?!!t[e]:r.Dv},Ze=m.QO;const Ve=function(e,t){return Array.from(u.uI.querySelectorAll(`${e}[${Ze}]`)).filter((e=>(e.getAttribute(Ze)||"").split(",").map((e=>e.trim())).every((e=>(0,w.Z)(t,e)))))},Ae=e=>{Ve("iframe",e).filter((e=>!e.src)).forEach((e=>{e.src=e.getAttribute("data-src")||"",e.removeAttribute("data-src")}))},Te=["application/javascript","text/javascript"],Oe=t=>{const n=(0,M.Z)("script");Array.from(t.attributes).forEach((e=>{"data-src"===e.name?n.src=e.value:n.setAttribute(e.name,e.value)})),n.text=t.innerHTML,n.type=Te[0];try{t.parentNode.replaceChild(n,t)}catch(s){(0,e.cl)(s)}},Pe=e=>{Ve("script",e).filter((e=>"text/plain"===e.type)).forEach(Oe)};var ke=n(9198);const Ne=`${m.o$}-scripts`,De=`${m.o$}-script-`,Ue=e=>{let t=x(Ne);t||(t=(0,M.Z)("div"),t.id=Ne,u.uI.body.appendChild(t)),t.style.display="none";const n=`${De}${e.id}`;if(t.querySelector("#"+n))return;const s=(0,M.Z)("div");s.id=n,s.innerHTML=e.content,t.appendChild(s);[...Array.from(s.querySelectorAll("script"))].map(Oe)},Re=e=>{const t=Array.from(u.uI.querySelectorAll(`[${m.xC}-script="${e.consent_key}"]`));if(t.length)for(let n=0;n{},$e={[ke.yj]:Ue,[ke.QE]:Re,[ke.if]:Qe,[ke.I$]:Qe,[ke.Ko]:Qe};const Fe=(t,n)=>{try{const e=n.scripts;for(const s of e){if(n.isGranularPolicy&&!s.consent_key||!s.id)continue;if(!z(s,t,n.consentPolicy))continue;const e=$e[s.integration]||Qe;(0,Me.Z)(e)&&e(s)}}catch(s){(0,e.OM)(s)}},xe=(e,t,n)=>{try{Fe(e,t);const n=k.bd.filter((n=>Ie(n,e,t.consentPolicy,t.scripts)));0,Pe(n),Ae(n)}catch(s){(0,a.Z)(s)}},He=()=>{const[e,t]=(0,_e.eJ)(u.X6.location.pathname);return(0,_e.d4)((()=>{const n=u.X6.eComEventTarget;if(!n)return;const s=n=>{const s=n.detail.url;s!==e&&t(s)};return(0,R.Z)(n,"pageview",s),()=>(0,Q.Z)(n,"pageview",s)}),[e]),e};var Ge=n(2439);const Be=`${m.OH}_render_embeds`,Xe=()=>{(0,Ge.Z)(Be)},Ye=()=>{const e=He(),{hasConsented:t,userConsent:s,preConsent:o}=(0,Le.Z)(),{widgetConfig:i,preloadSettings:a}=(0,Ee.Z)();return(0,_e.d4)((()=>{const e=()=>xe(t?s:o,i,a);return e(),(0,R.Z)(u.X6,Be,e),()=>(0,Q.Z)(u.X6,Be,e)}),[t,s,o,i,e,a]),(0,_e.d4)((()=>{n.e(233).then(n.bind(n,9233))}),[]),r.QV},je=(e,t)=>k.bd.reduce(((n,s)=>(n[s]=Ie(s,e,t.consentPolicy,t.scripts),n)),{...k.Li}),We=`${m.OH}_consent`,qe=`${m.OH}_services_consent`,ze=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;const s=t?je(e,n):r.QV,o=t?K(e,n):r.QV;(0,Ge.Z)(We,s),(0,Ge.Z)(qe,o),st(e,t,n)},Ke=[k.a3,k.rO,k.KS,k.Lp],Je=[],et="granted",tt="denied",nt=`${m.OH}_after_consent_update`;u.X6.addCFGTMConsentListener=e=>{Je.push(e)};const st=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Dv,o=arguments.length>2?arguments[2]:void 0;const{dataLayer:i}=s.default;(0,e.cl)({dl:u.X6[i],gtag:u.X6.gtag}),u.X6[i]=u.X6[i]||[],"function"!==typeof u.X6.gtag&&(u.X6.gtag=function(){u.X6[i].push(arguments)});const a=u.X6[i],c=u.X6.gtag,l=je(t,o),d=K(t,o);if(o.googleConsentModeEnabled)if(0===Je.length){if(n&&!o.disableGCMUpdateEvents){c("consent","update",{security_storage:et,analytics_storage:l[k.KS]?et:tt,functionality_storage:l[k.Lp]?et:tt,ad_storage:l[k.rO]?et:tt,ad_personalization:l[k.rO]?et:tt,ad_user_data:l[k.rO]?et:tt,personalization_storage:l[k.Lp]?et:tt})}(n||l[k.rO])&&c("set","ads_data_redaction",!l[k.rO])}else Je.forEach((e=>{e(l)}));const p=a.reduce(((e,t)=>({...e,...t})),{}),h=(e,t)=>{const n=`${m.OH}_${e}_enabled`;p[n]!==t&&a.push({event:`${We}_${e}`,[n]:t})};o.scripts.filter((e=>e.integration===ke.I$)).forEach((e=>{const t=e.consent_key;h(t,!!d[t])})),Ke.forEach((e=>h(e,!!l[e]))),a.push({event:nt})},rt=()=>{if(!u.X6.google_tag_data)return void console.warn("No Consent Mode data found");const e=e=>void 0===e?"":e?"granted":"denied",t=e=>"granted"===e?"color: #0C0":"color: #C00",n=u.X6.google_tag_data,s="ics"in n?n.ics.entries:null;let r="",o="";for(const i in s){if(r=e(s[i].default),o=e(s[i].update),""===r&&""===o)continue;const n=`\t${i}:\n ${""!==r?"\n\t\tDefault: %c"+r:"%c"}%c\n ${""!==o?"\n\t\tUpdate: %c"+o:"%c"}`;console.log(n,""!==r?t(r):"","",""!==o?t(o):"","")}""===r&&console.log("No default Consent settings found");n.ics.wasSetLate?console.error("%cYour Consent Mode issue: %cA tag read consent before a Default was set. At least one of your Google Tags fired before the Consent Mode defaults were set. Read more: https://developers.google.com/tag-platform/security/guides/consent-debugging#default-consent or issue a support ticket to CookieFirst.","color: red; font-weight: bold;","color: red;"):console.log("%cConsent Mode defaults are correctly set in time.","color: green;")},ot=`${m.OH}_consent_loaded`,it=`${m.OH}_services_consent_loaded`,at=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Dv,n=arguments.length>2?arguments[2]:void 0;const o=t?je(e,n):r.QV,i=t?K(e,n):r.QV;(0,Ge.Z)(ot,o),(0,Ge.Z)(it,i);const{dataLayer:a,debugMode:l}=s.default,d=u.X6[a];!n.tcfEnabled||(0,c.Z)(d)&&d.some((e=>e.event===`${m.OH}_TCF_init`))?(st(e,t,n),l&&rt()):u.X6.addEventListener(`${m.OH}_TCF_init`,(()=>{st(e,t,n),l&&rt()}))},ct=`${m.OH}_init`,lt=()=>{(0,e.cl)("Init"),(0,Ge.Z)(ct);const{dataLayer:t}=s.default,n=u.X6[t];(0,c.Z)(n)&&n.push({event:ct})};var ut=n(137),dt=n(4333);const pt=()=>{const{stealthMode:e}=s.default,{changePanelTab:n,widgetConfig:o}=(0,Ee.Z)(),i=(0,Le.Z)(),[a,l]=(0,_e.eJ)(!1),{userLang:d,setUserLang:p}=(0,dt.Z)();return(0,_e.d4)((()=>{u.X6[m.W$]=(e=>{const n=e,s=n.consent,o=e.widgetConfig,i=!!e.stealthMode,a=!!s.hasConsented;let l=r.QV,u={};if(a){const e=s.userConsent,t=je(e,o),n=K(e,o);l=t,u=n}const d=s.consentTimestamp,p=s.visitorId,h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const n=(0,c.Z)(e)?e:[e];if(!n.every((e=>(0,w.Z)(k.bd,e))))throw new Error(t.t4);return n},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const n=o.scripts.map((e=>e.consent_key)),s=(0,c.Z)(e)?e:[e];if(!s.every((e=>(0,w.Z)(n,e))))throw new Error(t.o9);return s},g=()=>s.deny(),v=()=>g();return{stealthMode:i,hasConsented:a,consent:l,acceptedServices:u,consentTimestamp:d,visitorId:p,openPanel(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge.bl;n.setPanelTab(e)},closePanel(){n.setPanelTab(r.QV)},updateConsent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(0,_.Z)(e))throw new Error(t.HV);return s.handleConsent(e)},acceptCategory(e){const t=h(e);return s.acceptCategories(t)},declineCategory(e){const t=h(e);return l?s.declineCategories(t):v()},acceptService(e){const t=f(e);return s.acceptServices(t)},declineService(e){const t=f(e);return l?s.declineServices(t):v()},acceptAllCategories:s.acceptAll,acceptPreselectedCategories:s.acceptDefault,deny:g,declineAllCategories:v,withdrawConsent:s.handleWithdraw,fetchLatestScan:n.fetchLatestScan,renderEmbeds(){Xe()},notifyViewChanged(){at(l||k.qc,a,o),Xe()},changeLanguage:n.setUserLang}})({setPanelTab:n,consent:i,widgetConfig:o,stealthMode:e,fetchLatestScan:()=>(0,ut.Z)(d,o.version),setUserLang:p}),a||(l(!0),lt()),u.X6.cookiefirst_show_settings=u.X6[m.W$].openPanel}),[a,n,i,d,e,o,p]),r.QV};var ht=n(3112);const ft={nb:"no",nn:"no"},gt=function(){let e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")||"";return(0,w.Z)(e,"-")?e=e.split("-")[0]:(0,w.Z)(e,"_")&&(e=e.split("_")[0]),2!==e.length?"":ft[e]||e},_t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.QV,n=arguments.length>2?arguments[2]:void 0;if(!e.length)return r.QV;const s=t=>(0,w.Z)(e,t),o=new URL(u.X6.location.href).searchParams.get(m.Ep);if(o){const e=gt(o);if(s(e))return e}if(n){const e=`${m.o$}-user-lang`,t=(0,b.Z)(e,r.QV);if(t&&s(t))return t}if(t){if("inherit"===t){const e=gt(u.uI.documentElement.lang||"");if(s(e))return e}const e=gt(t);if(s(e))return e}const i=navigator;let a=[];i.languages&&a.push(...Array.from(i.languages)),a.push(i.userLanguage||i.language),a=a.filter((e=>(0,F.Z)(e))).map((e=>e.toLowerCase()));for(let r=0;r{const r=(0,i.Z)(`${t}/lang-widget-${n}.json`,s);return(0,e.cl)("load translation file for "+n+" from "+r),(0,l.Z)(((t,s)=>{(0,o.Z)(r).then((s=>{let[r]=s;(0,e.cl)("init lang: "+n),t(r)}),(t=>{(0,e.cl)(new Error(mt+"("+n+")")),s(t)}))}))},bt=(t,n,s,r)=>(0,l.Z)((o=>{yt(t,s||"",r||(0,$.Z)()).then((e=>o(e||{})),(s=>{(0,a.Z)(s),yt(t,n[0],r||(0,$.Z)()).then((e=>o(e||{})),(t=>{(0,e.cl)(mt),(0,a.Z)(t),o({})}))}))}));var Ct=n(9751);const Et=e=>{let{children:t=r.QV}=e;const{dir:n,forcedLang:o}=s.default,{widgetConfig:i}=(0,Ee.Z)(),[a,c]=(0,_e.eJ)(r.Dv),[l,u]=(0,_e.eJ)({}),d=(0,_e.Ye)((()=>i.languages.map((e=>e.value))),[i.languages]),[p,h]=(0,_e.eJ)(_t(d,o,i.showLanguageSwitcher)||d[0]);(0,_e.d4)((()=>{bt(n||"",i.languages.map((e=>e.value)),p,i.version).then((e=>{u(e||{}),c(r.uX)}))}),[p]);const f=(0,_e.Ye)((()=>(0,vt.ZP)(p)),[p]);if(!a)return r.QV;return(0,ve.tZ)(ht.Z.Provider,{value:{userLang:p,t:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const s=(0,F.Z)(n)?n:"",r=(0,C.Z)(t),o=(0,Ct.Z)(l,e)||s;if(!(0,w.Z)(o,"{{")||!r.length)return o;let i=o;for(let a=r.length-1;a>=0;a--){const e=r[a],n=t[e];i=i.replace(`{{${e}}}`,n)}return i},setUserLang:e=>{if(!(0,w.Z)(d,e))throw new Error("New language must be one of the configured locales for this domain: "+d.join(", "));h(e),(0,A.Z)(m.Ep,e)},textDirection:f},children:t})};var wt=n(9521);const Lt=e=>e.scripts.reduce(((e,t)=>(e[t.consent_key]={unique_service_uuid:t.unique_service_uuid,name:t.name,categories:t.categories},e)),{}),St=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const s=[];n.isGranularPolicy?s.push(...n.scripts.map((e=>e.consent_key))):s.push(...k.bd);for(let r=0;r{if(n.isGranularPolicy)for(const s of n.scripts){const n=s.consent_key;if(t[n]&&!e[n])return!0}else for(let s=0;s0&&void 0!==arguments[0]?arguments[0]:"";(0,A.Z)(m.MZ,e)},Vt=`${m.OH}_consent_action`,At=()=>{const e=r.QV;(0,Ge.Z)(Vt,e)};var Tt=n(3693),Ot=n(481),Pt=n(3674);const kt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,O.B)();if((0,Ot.Z)(n)&&!n.tcfEnabled)return(0,Pt.Z)(),(0,D.Z)(),r.uX;if(!(0,_.Z)(e)||"number"!==typeof t||!(0,_.Z)(n))return r.Dv;const s=n.reconsent,o=s.after,i=s.check,a=s.categories.filter((e=>(0,w.Z)(k.bd,e)));if(!o||"number"!==typeof o)return r.Dv;if(!a.length)return r.Dv;if(!((0,U.Z)()-t>=o*se.i))return r.Dv;return!(()=>{const t=t=>Ie(t,e,n.consentPolicy,n.scripts);return"ALL"===i?a.every(t):a.some(t)})()},Nt=(e,t)=>{const n={};return e.isGranularPolicy?e.scripts.forEach((e=>{n[e.consent_key]=z(e,{...t},N.hs)})):k.bd.forEach((e=>{n[e]=Ie(e,{...t},N.hs)})),Object.freeze(n)},Dt=`${m.OH}_consent_accept_all`,Ut=()=>{const e=r.QV;(0,Ge.Z)(Dt,e)},Rt=`${m.OH}_TCF_log_consent_to_api`,Mt=e=>{const t={...e};(0,Ge.Z)(Rt,t)},Qt=`${m.OH}_denied_action`,$t=()=>{const e=r.QV;(0,Ge.Z)(Qt,e)},Ft=()=>u.X6.location.reload(),xt=t=>{const{widgetConfig:n,visitorCountry:s,visitorRegion:o}=(0,Ee.Z)(),i=n.bulkConsent,c=n.scripts,u=n.isGranularPolicy,[d,p]=(0,_e._Y)((t=>{const{isGranularPolicy:n,scripts:s}=t;return(t,o)=>{switch(o.type){case 1:{const{script:s,shouldBeAccepted:r}=o.payload,{consent_key:i}=s;return n&&i&&!(0,w.Z)(s.categories,k.a3)?((0,e.OM)("Toggle script",i),{...t,tempConsent:{...t.tempConsent,[i]:r}}):t}case 0:{const{category:r,shouldBeAccepted:i}=o.payload;if((0,e.OM)("Toggle category",r,i),r===k.a3)return t;if(n){const e=s.filter((e=>(0,w.Z)(e.categories,r)&&!(0,w.Z)(e.categories,k.a3)));return{...t,tempConsent:e.reduce(((e,t)=>({...e,[t.consent_key]:!!i})),t.tempConsent)}}return{...t,tempConsent:{...t.tempConsent,[r]:!!i}}}case 3:return{...t,isSavingConsent:r.uX};case 4:{const{consent:e,timestamp:n}=o.payload;return{...t,consentTimestamp:n,tempConsent:e,userConsent:e,hasConsented:r.uX,isForcingReconsent:r.Dv,isSavingConsent:r.Dv}}case 2:return{...t,visitorId:o.payload};case 6:return{...t,showWithdrawModal:o.payload};case 8:return{...t,isForcingReconsent:o.payload};default:return t}}})(n),(t=>{const{prevConsent:n,prevConsentTimestamp:s,visitorId:o,widgetConfig:i}=t,a={consentTimestamp:null,userConsent:{},baseConsent:{},preConsent:{},tempConsent:{},hasConsented:r.Dv,isSavingConsent:r.Dv,isWithdrawing:r.Dv,showWithdrawModal:r.Dv,isForcingReconsent:r.Dv,visitorId:null};return a.baseConsent=Nt(i,i.baseConsent),a.preConsent=Nt(i,i.preConsent),n?(a.userConsent={...n},a.tempConsent={...n},a.visitorId=o||r.QV,a.consentTimestamp=s||r.QV,a.hasConsented=r.uX,s&&kt(n,s,i)&&((0,e.OM)("forcing reconsent"),a.isForcingReconsent=r.uX),a):(a.tempConsent={...a.baseConsent},a)})({...t,widgetConfig:n}));(0,_e.d4)((()=>{const e=d.hasConsented;at(e?d.userConsent:d.preConsent,e,n)}),[]);const h=(e,t)=>{p({type:e,payload:t})},f=e=>{h(2,e),Zt(e)},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N.mX,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(0,l.Z)((i=>{(0,Tt.Z)(t,e,d.visitorId,n.version,s,o,n.consentPolicy,r).then((e=>{e&&f(e)}),a.Z).finally(i)}))},_=(e,t,n,r)=>(0,l.Z)(((a,c)=>{t===N.qD?(0,D.Z)():oe(e,n,r);const l=[];i.id&&l.push(J(i,{action:t,consent:e,timestamp:n,type:r.consentType}));const u=Lt(r);r.tcfEnabled?Mt({consent:e,userAction:t,visitorId:d.visitorId,configVersion:r.version,visitorCountry:s,visitorRegion:o,consentPolicy:r.consentPolicy,granularMetadata:u}):l.push(g(t,e,u)),Promise.all(l).then((()=>a()),c)})),v=t=>(0,l.Z)((i=>{At();const c={...t};d.tempConsent={...t};const l=d.hasConsented,u=St(c,d.userConsent,n),p=l?N.gl:N.mX;if(l&&u&&!d.isForcingReconsent){if((0,e.OM)("Skip consent log, same consent"),n.tcfEnabled){const e=Lt(n);Mt({consent:c,userAction:p,visitorId:d.visitorId,configVersion:n.version,visitorCountry:s,visitorRegion:o,consentPolicy:n.consentPolicy,granularMetadata:e,hasNormalConsentChanged:r.Dv})}return i()}(0,e.OM)("Save consent",c);const f=It(c,l?d.userConsent:d.preConsent,n);h(3,r.QV);const g=(0,U.Z)();_(c,p,g,n).catch(a.Z).finally((()=>{if(h(4,{consent:c,timestamp:g}),!(f||l&&!u))return ze(c,r.uX,n),i();Ft()}))})),m=e=>{const t=c.filter((t=>(0,w.Z)(t.categories,k.a3)||(0,w.Z)(e,t.consent_key)));if(u){const e=t.reduce(((e,t)=>({...e,[t.consent_key]:r.uX})),{...d.userConsent});return v(e)}{const e=t.reduce(((e,t)=>{for(let n=0;n{const t=c.filter((t=>(0,w.Z)(e,t.consent_key)));if(u){const e=t.reduce(((e,t)=>({...e,[t.consent_key]:r.Dv})),{...d.userConsent});return v(e)}{const e=t.reduce(((e,t)=>{for(let n=0;n{if(u){const t=c.filter((t=>{for(let n=0;ne.consent_key));return m(t)}{const t=e.reduce(((e,t)=>({...e,[t]:r.uX})),{...d.userConsent});return v(t)}},C=e=>{if(u){const t=c.filter((t=>{for(let n=0;ne.consent_key));return y(t)}{const t=e.reduce(((e,t)=>({...e,[t]:r.Dv})),{...d.userConsent});return v(t)}},E=e=>z(e,d.tempConsent,n.consentPolicy),L=e=>Ie(e,d.tempConsent,n.consentPolicy,c);return[{...d,handleConsent:v,handleWithdraw:()=>(0,l.Z)((e=>{if(!d.hasConsented)return e();h(5,r.QV),(0,Pt.Z)(),_({},N.qD,(0,U.Z)(),n).catch(a.Z).finally(Ft)})),acceptAll:()=>{if(Ut(),u){const e=c.map((e=>e.consent_key));return m(e)}return b(n.cookieCategories)},acceptCategories:b,declineCategories:C,acceptServices:m,declineServices:y,acceptDefault:()=>v(d.baseConsent),acceptSelected:()=>v(d.tempConsent),deny:()=>{const e=u?k.qc:k.Li;return $t(),v(e)},toggleScript:e=>{h(1,{script:e,shouldBeAccepted:!E(e)})},toggleCategory:e=>{h(0,{category:e,shouldBeAccepted:!L(e)})},setVisitorId:f,setIsForcingReconsent:e=>{h(8,e)},toggleWithdrawModal:e=>{h(6,e)},isScriptAccepted:E,isCategoryAccepted:L}]},Ht=e=>{let{children:t=r.QV,prevConsent:n=r.QV,prevConsentTimestamp:s=r.QV,visitorId:o}=e;const[i]=xt({prevConsent:n,prevConsentTimestamp:s,visitorId:o});return(0,ve.tZ)(wt.Z.Provider,{value:i,children:t})},Gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e||!t)return r.QV;const n=x(e);if(n)return n;const s=u.uI.body.querySelectorAll("*");for(let r=0;r`),Gt(e,t)}}return r.QV},Bt=Gt,Xt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=He(),[s,r]=(0,_e.eJ)((0,$.Z)());(0,_e.d4)((()=>{const e=()=>r((0,$.Z)());return(0,R.Z)(u.X6,Be,e),()=>(0,Q.Z)(u.X6,Be,e)}),[]);return(0,_e.Ye)((()=>Bt(e,t)),[e,t,n,s])},Yt=be((()=>Promise.all([n.e(676),n.e(735)]).then(n.bind(n,1124)))),jt=`${m.Bs}-policy-page`,Wt=`[${m.o$}_declaration]`,qt=`${m.Bs}-policy-cookie-list`,zt=`[${m.o$}_policy_cookie_list]`,Kt=`${m.Bs}-cookies-table`,Jt=`[${m.o$}_cookies_table]`,en=`${m.Bs}-cookies-list`,tn=`[${m.o$}_cookies_list]`,nn=()=>{const e=[Xt(jt,Wt),Xt(qt,zt),Xt(Kt,Jt),Xt(en,tn)];return 0===e.filter(Boolean).length?r.QV:(0,ve.tZ)(Yt,{containers:e})};var sn=n(8719);const rn=e=>{let{condition:t,wrapper:n,children:s}=e;return t?n(s):s},on=e=>{let{settings:n}=e;const{apiKey:r}=s.default,{prevConsent:o,visitorId:i,prevConsentTimestamp:a,...c}=n;if(!n||!r)throw new Error(t.Aw);const l=c.widgetConfig,{TCFApi:u,TCFUserConsentProvider:d}=(0,sn.Z)(l);return(0,ve.tZ)(me,{config:c,children:(0,ve.tZ)(Et,{children:(0,ve.tZ)(Ht,{prevConsentTimestamp:a,prevConsent:o,visitorId:i,...c,children:(0,ve.tZ)(rn,{condition:l.tcfEnabled,wrapper:e=>(0,ve.tZ)(d,{vendorsList:l.tcfVendors,gatpList:l.acVendors,tcfCountry:l.tcfCountry,prevConsent:c.tcfPrevConsent,prevConsentTimestamp:c.tcfPrevConsentTimestamp,widgetConfig:l,children:e}),children:(0,ve.BX)(ve.HY,{children:[u&&l.tcfEnabled?(0,ve.tZ)(u,{}):(0,ve.tZ)(ve.HY,{}),(0,ve.tZ)(Se,{}),(0,ve.tZ)(nn,{}),(0,ve.tZ)(pt,{}),(0,ve.tZ)(Ye,{})]})})})})})};var an=n(3856);const cn=e=>{const t=u.uI.body;t?(0,an.sY)((0,ve.tZ)(on,{settings:e}),t):setTimeout((()=>cn(e)),1)},ln=cn,un="__COOKIE_BANNER_INIT_TIME__";window[un]||(window[un]=Date.now(),(0,e.cl)("start"),he().then((e=>{ln(e)})))})()})();