(()=>{function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n=t.parcelRequire94c2,r=n.register;r("6iQdj",function(t,r){e(t.exports,"CMP_EVENT_TYPE",()=>n("1a1bx").CMP_EVENT_TYPE),e(t.exports,"isCmpNotAllowedError",()=>n("2ks5K").isCmpNotAllowedError),e(t.exports,"isGdprCmpController",()=>n("l8qje").isGdprCmpController),e(t.exports,"isTcfCmpController",()=>n("l8qje").isTcfCmpController),e(t.exports,"isUsCmpController",()=>n("l8qje").isUsCmpController),e(t.exports,"webSdkEvents",()=>n("96QDM").webSdkEvents),e(t.exports,"default",()=>s),n("1a1bx"),n("2ks5K"),n("l8qje"),n("96QDM");var s=n("aWbNH").WebSdk}),r("aWbNH",function(t,r){e(t.exports,"WebSdk",()=>L);var s,i=n("h2FSh"),a=n("kTJf3"),o=n("7nwmn"),c=n("dIRcU");n("bxjJO");var u=n("iBXA0"),l=n("h8zqI"),d=n("3WziU"),g=n("fSIyh"),h=n("dIChF"),p=n("lAwM5"),v=n("rMJIj"),_=n("5hUSA");n("2hIpA");var f=n("168i4"),S=n("2ks5K"),C=n("ayOF0"),E=n("e08dO"),I=n("4tLOk"),T=n("3G7LV"),m=n("gIDkr"),N=n("280OB"),O=n("bVBWk"),A=n("96QDM"),y=(s=(0,i._)(function(e){var t;return(0,c.__generator)(this,function(n){switch(n.label){case 0:return[4,(t=new d.default(e)).init()];case 1:if(n.sent())return[2,t];return[2]}})}),function(e){return s.apply(this,arguments)});class L{initByRuleSet(e,t){var n=this;return(0,i._)(function(){var r;return(0,c.__generator)(this,function(s){switch(s.label){case 0:return(0,A.webSdkEvents).emit("INIT_ACTION",{initByRuleSet:e}),[4,n.apiService.fetchInitDataByRuleSetId(e,n.location)];case 1:return r=s.sent(),[2,n.init((0,o._)((0,a._)({},r),{controllerId:t}))]}})})()}initBySetting(e,t){var n=this;return(0,i._)(function(){var r;return(0,c.__generator)(this,function(s){switch(s.label){case 0:return(0,A.webSdkEvents).emit("INIT_ACTION",{initBySetting:{settingsId:e}}),[4,n.apiService.fetchInitDataBySettingsId(e,(0,a._)({location:n.location,language:n.language},n.draft&&{draft:!0}))];case 1:return r=s.sent(),[2,n.init((0,o._)((0,a._)({},r),{controllerId:t}))]}})})()}initByCoreData(e,t){var n=this;return(0,i._)(function(){var r,s,i;return(0,c.__generator)(this,function(c){switch(c.label){case 0:if((0,A.webSdkEvents).emit("INIT_ACTION",{initByCoreData:e}),!(null===(r=window.ucCmpConfig)||void 0===r?void 0:r.location))return[3,2];return[4,window.ucCmpConfig.location];case 1:return s=c.sent(),[3,3];case 2:s=void 0,c.label=3;case 3:return i={settingsCoreData:e,location:s},[2,n.init((0,o._)((0,a._)({},i),{controllerId:t}))]}})})()}init(e){var t=e.settingsCoreData,r=e.location,s=void 0===r?this.location||{country:"DE"}:r,u=e.language,d=void 0===u?this.language:u,g=e.compressedConsentDataString,_=e.controllerId,S=this;return(0,i._)(function(){var e,r,i,u,L,D,b,w,V,U,P,R,x,M,B,G,Y,k,K,F,$,W,j,q,H,J,z,X,Q,Z,ee,et,en,er;return(0,c.__generator)(this,function(c){switch(c.label){case 0:if(window.dispatchEvent(new CustomEvent("UC_SETTINGS_ID_RESOLVED",{detail:{settingsId:t.id,sandbox:t.sandbox}})),D=void 0,!t.gpp)return[3,2];return[4,n("lXnUz")];case 1:b=new(c.sent()).GppService(t.gpp),c.label=2;case 2:if(w=window.UC_UI_USER_SESSION_DATA,!D&&w&&(D=(0,a._)({},w)),!D&&window[h.WINDOW_MOBILE_SDK_NAMESPACE]&&"function"==typeof window[h.WINDOW_MOBILE_SDK_NAMESPACE].getUserSessionData&&(D=(0,p.fixUserSessionDataTimestampConsentAction)({userSessionDataString:window[0,h.WINDOW_MOBILE_SDK_NAMESPACE].getUserSessionData()})),D&&(V=(0,p.convertUserSessionDataToV2LocalStorageEntry)(D,t,!1),S.localStorageService.setV2LocalStorageRestoredData(V)),t.crossDomainConsentSharingEnabled&&t.cmp.mainDomain&&(0,m.initCdcs)(t.cmp.mainDomain),U=t.crossDeviceConsentSharingEnabled,!(_&&U))return[3,4];return[4,S.apiService.fetchUcStringForRestoration(_,t.id)];case 3:""!==(R=c.sent()).action&&R.consents&&R.consents.length>0&&(D=(0,p.fixUserSessionDataTimestampConsentAction)({userSessionData:R}))&&(x=(0,p.convertUserSessionDataToV2LocalStorageEntry)(D,t,!0),S.localStorageService.setV2LocalStorageRestoredData(x)),c.label=4;case 4:return[4,S.backwardsCompatibilityService.transformLocalStorage(t.id)];case 5:if(c.sent(),M=S.localStorageService.getConsentString(),!(_&&U)||!(t.crossDomainConsentSharingEnabled&&!(null===(r=window.ucCmpConfig)||void 0===r?void 0:null===(e=r.core)||void 0===e?void 0:e.cmp.mainDomain)&&M&&""!==M))return[3,8];return[4,y(t.id)];case 6:return[4,null==(B=c.sent())?void 0:B.setConsentString(M)];case 7:c.sent(),P=B,c.label=8;case 8:if(S.verifyCoreData(t),_&&!U&&(0,E.UCConsole).error("WebSdk - initBySetting",`Cross Device Consent Sharing is not enabled for SettingsID: "${t.id}". Could not restore consent.`),(G=!!(!0===t.enableBotDetection&&(0,N.isUserBot)(navigator.userAgent))||void 0)||S.disableTracking||(0,O.setTrackingPixel)(t.id,S.sandbox,S.euMode),!(t.crossDomainConsentSharingEnabled&&!(null===(u=window.ucCmpConfig)||void 0===u?void 0:null===(i=u.core)||void 0===i?void 0:i.cmp.mainDomain)))return[3,11];if(K=P)return[3,10];return[4,y(t.id)];case 9:K=c.sent(),c.label=10;case 10:return k=K,[3,12];case 11:k=void 0,c.label=12;case 12:if(Y=k,F=S.backwardsCompatibilityService.getMigratedConsentString(),!(Y&&F))return[3,14];return[4,Y.setConsentString(F)];case 13:c.sent(),c.label=14;case 14:return[4,($=new l.default({apiService:S.apiService,crossDomainService:Y,localStorageService:S.localStorageService})).getConsentData(t.id,g)];case 15:return W=c.sent(),j=new f.CmpDataRequestModel({settingsCoreData:t,location:s},(0,o._)((0,a._)({isBot:G,consentData:W,theme:S.uiTheme},S.sandbox&&{sandbox:!0},S.draft&&{draft:!0}),{language:d})),J=(H=S.apiService).fetchCmpData,[4,j.getRequestData()];case 16:return[4,J.apply(H,[c.sent()])];case 17:return q=c.sent(),b&&(z=(0,h.isUsCmpData)(q)?q.consent.legislation:void 0,b.applyApplicableSections(q.setting.type,z)),X=G||!q.core.analyticsEnabled||S.disableTracking?void 0:new v.default({settingsId:q.setting.id,abTestVariant:q.setting.abVariant,euMode:S.euMode,sandbox:S.sandbox}),(null==(Q=null===(L=q.integrations)||void 0===L?void 0:L.scripts)?void 0:Q.length)&&(Z=e=>{e.forEach(e=>{document.body.appendChild(e)})},ee=Q.map(e=>{var t=document.createElement("script");return t.src=e.src,t.async=e.async,t.type=e.type,e.attributes.length&&e.attributes.forEach(e=>{t.setAttribute(e.name,e.value)}),t}),(0,I.domContentLoaded)().then(()=>{Z(ee)})),et=q.core.tagLoggerEnabled?new C.default({settingsId:q.setting.id,localStorageService:S.localStorageService,apiService:S.apiService}):void 0,en={apiService:S.apiService,localStorageService:S.localStorageService,consentService:$,analyticsService:X,tagLoggerService:et,gppService:b},[4,(S.getCmpController||(0,T.getCmpController))(q,en,{consentData:W,settingsCoreData:t,uiVersion:S.uiVersion,isConsentWebhookEnabled:t.consentWebhookEnabled,isCrossDeviceEnabled:null==t?void 0:t.crossDeviceConsentSharingEnabled})];case 18:return[4,(er=c.sent()).applyConsents(null==W?void 0:W.hash)];case 19:return c.sent(),S.localStorageService.setUiData({language:er.getLanguage()}),(0,A.webSdkEvents).emit("INIT_COMPLETE"),[2,er]}})})()}verifyCoreData(e){if(!this.isCurrentDomainAllowed(e)){var t;throw(0,E.UCConsole).error("WebSdk - initBySetting",`The domain "${location.hostname}" has not been added to the allow list for this Usercentrics account.`),new S.CmpNotAllowedError((null===(t=e.allowedDomains)||void 0===t?void 0:t.showErrorCmp)===!0)}}constructor(e){this.draft=!1,this.sandbox=!1,this.euMode=!1,this.disableTracking=!1,this.isCurrentDomainAllowed=e=>{var t,n=window.location.hostname.replace(/^www\./,""),r=window.location.pathname,s=null===(t=e.allowedDomains)||void 0===t?void 0:t.list;if(!(null==s?void 0:s.length))return!0;var i=!1;return s.forEach(e=>{if(e.includes("*")){if("*."===e.slice(0,2))n.includes(e.slice(2))&&(i=!0);else if("/*"===e.slice(-2)){var t=e.slice(0,-2);t.split("/")[0]===n&&(n+r).includes(t)&&(i=!0)}}else e.includes("/")?n+r===e&&(i=!0):n===e&&(i=!0)}),i},this.draft=(null==e?void 0:e.draft)===!0,this.sandbox=(null==e?void 0:e.sandbox)===!0,this.euMode=(null==e?void 0:e.euMode)===!0,this.location=null==e?void 0:e.location,this.language=null==e?void 0:e.language,this.uiVersion=null==e?void 0:e.uiVersion,this.uiTheme=(null==e?void 0:e.uiTheme)||"uc",this.disableTracking=(null==e?void 0:e.disableTracking)||!1,this.apiService=new u.default({sandbox:null==e?void 0:e.sandbox,euMode:null==e?void 0:e.euMode,cacheVersion:null==e?void 0:e.cacheVersion}),this.localStorageService=new g.default,this.backwardsCompatibilityService=new _.default(this.localStorageService,null==e?void 0:e.sandbox)}}}),r("bxjJO",function(t,r){e(t.exports,"ApiService",()=>n("iBXA0").default),e(t.exports,"ConsentService",()=>n("h8zqI").default),e(t.exports,"CrossDomainService",()=>n("3WziU").default),e(t.exports,"CustomEventService",()=>n("xXOcf").default),e(t.exports,"DataLayerService",()=>n("9QnPa").default),e(t.exports,"LocalStorageService",()=>n("fSIyh").default),e(t.exports,"ScriptService",()=>n("kA7xy").default),n("rMJIj"),n("xXOcf"),n("9QnPa"),n("iBXA0"),n("h8zqI"),n("3WziU"),n("fSIyh"),n("kA7xy")}),r("rMJIj",function(t,r){e(t.exports,"default",()=>u);var s=n("kTJf3"),i=n("2WodU"),a=n("1a1bx"),o=n("bvqPv"),c=n("cnbVL");class u{getIsValidEventType(e){return!!Object.values(a.CMP_EVENT_TYPE).includes(e)}getActionType(e,t){switch(e){case a.CMP_EVENT_TYPE.CMP_SHOWN:return i.UI_ACTION_TYPE.CMP_SHOWN;case a.CMP_EVENT_TYPE.ACCEPT_ALL:if(t)switch(t){case"first":return i.UI_ACTION_TYPE.ACCEPT_ALL_L1;case"second":return i.UI_ACTION_TYPE.ACCEPT_ALL_L2}return i.UI_ACTION_TYPE.ACCEPT_ALL;case a.CMP_EVENT_TYPE.DENY_ALL:if(t)switch(t){case"first":return i.UI_ACTION_TYPE.DENY_ALL_L1;case"second":return i.UI_ACTION_TYPE.DENY_ALL_L2}return i.UI_ACTION_TYPE.DENY_ALL;case a.CMP_EVENT_TYPE.SAVE:if(t)switch(t){case"first":return i.UI_ACTION_TYPE.SAVE_L1;case"second":return i.UI_ACTION_TYPE.SAVE_L2}return i.UI_ACTION_TYPE.SAVE;case a.CMP_EVENT_TYPE.CCPA_TOGGLES_ON:return i.UI_ACTION_TYPE.CCPA_TOGGLES_ON;case a.CMP_EVENT_TYPE.CCPA_TOGGLES_OFF:return i.UI_ACTION_TYPE.CCPA_TOGGLES_OFF;case a.CMP_EVENT_TYPE.COOKIE_POLICY_LINK:return i.UI_ACTION_TYPE.COOKIE_POLICY_LINK;case a.CMP_EVENT_TYPE.IMPRINT_LINK:return i.UI_ACTION_TYPE.IMPRINT_LINK;case a.CMP_EVENT_TYPE.MORE_INFORMATION_LINK:return i.UI_ACTION_TYPE.MORE_INFORMATION_LINK;case a.CMP_EVENT_TYPE.PRIVACY_POLICY_LINK:return i.UI_ACTION_TYPE.PRIVACY_POLICY_LINK;case a.CMP_EVENT_TYPE.SAY_MINE_LINK:return i.UI_ACTION_TYPE.SAY_MINE_LINK;default:return i.UI_ACTION_TYPE.UNDEFINED}}constructor(e){var t,n,r=e.settingsId,i=e.abTestVariant,a=e.euMode,u=e.sandbox;this.version=2,this.setAnalyticsPixel=(e,t)=>{if(this.getIsValidEventType(e)){var n=Date.now(),r=encodeURIComponent(document.location.href),s=this.getActionType(e,t),i=`v=${this.version}&sid=${this.settingsId}&t=${s}&abv=${this.abTestVariant||""}&r=${r}&cb=${n}`,a=`${this.domains.analytics}/uct?${i}`;new Image().src=a,(0,c.V2BridgeCustomEvents).dispatchUcUiCmpEvent(e,t,this.abTestVariant)}},this.domains=(0,s._)({analytics:o.TRACK_EVENT_DOMAINS[void 0!==u&&u?"SANDBOX":"PROD"][void 0!==a&&a?"EU_URI":"URI"]},(null===(n=window.ucCmpConfig)||void 0===n?void 0:null===(t=n.proxy)||void 0===t?void 0:t.analytics)&&{analytics:window.ucCmpConfig.proxy.analytics}),this.settingsId=r,this.abTestVariant=i}}}),r("2WodU",function(t,n){e(t.exports,"UI_ACTION_TYPE",()=>s);var r,s=((r={})[r.UNDEFINED=0]="UNDEFINED",r[r.CMP_SHOWN=1]="CMP_SHOWN",r[r.ACCEPT_ALL=2]="ACCEPT_ALL",r[r.DENY_ALL=3]="DENY_ALL",r[r.SAVE=4]="SAVE",r[r.ACCEPT_ALL_L1=5]="ACCEPT_ALL_L1",r[r.DENY_ALL_L1=6]="DENY_ALL_L1",r[r.SAVE_L1=7]="SAVE_L1",r[r.ACCEPT_ALL_L2=8]="ACCEPT_ALL_L2",r[r.DENY_ALL_L2=9]="DENY_ALL_L2",r[r.SAVE_L2=10]="SAVE_L2",r[r.COOKIE_POLICY_LINK=11]="COOKIE_POLICY_LINK",r[r.IMPRINT_LINK=12]="IMPRINT_LINK",r[r.MORE_INFORMATION_LINK=13]="MORE_INFORMATION_LINK",r[r.PRIVACY_POLICY_LINK=14]="PRIVACY_POLICY_LINK",r[r.CCPA_TOGGLES_ON=15]="CCPA_TOGGLES_ON",r[r.CCPA_TOGGLES_OFF=16]="CCPA_TOGGLES_OFF",r[r.SAY_MINE_LINK=17]="SAY_MINE_LINK",r[r.FIRST_LAYER_SHOWN=18]="FIRST_LAYER_SHOWN",r[r.SECOND_LAYER_SHOWN=19]="SECOND_LAYER_SHOWN",r[r.PRIVACY_BUTTON_SHOWN=20]="PRIVACY_BUTTON_SHOWN",r[r.NONE_SHOWN=21]="NONE_SHOWN",r)}),r("bvqPv",function(t,n){e(t.exports,"TRACK_EVENT_DOMAINS",()=>r);var r={PROD:{URI:"https://uct.service.usercentrics.eu",EU_URI:"https://uct.eu.usercentrics.eu"},SANDBOX:{URI:"https://uct.service.usercentrics.eu",EU_URI:"https://uct.eu.usercentrics.eu"}}}),r("cnbVL",function(t,r){e(t.exports,"V2BridgeCustomEvents",()=>a);var s=n("kTJf3"),i=n("7qJ26");class a{static getConsentDetailsV2(e){var t={};Object.entries(e.categories).map(e=>{var n=(0,i._)(e,2),r=n[0],s=n[1];"SOME_ACCEPTED"===s.state?t[r]=null:t[r]="ALL_ACCEPTED"===s.state});var n={};Object.entries(e.services).map(e=>{var t,r=(0,i._)(e,2)[1];n[r.name]=!!(null===(t=r.consent)||void 0===t?void 0:t.given)});var r={action:e.consent.updatedBy,event:"consent_status",type:e.consent.type,ucCategory:t};return(0,s._)({},r,n)}static dispatchUcUiCmpEvent(e,t,n){this.dispatch("UC_UI_CMP_EVENT",{abTestVariant:n,source:t,type:e})}static dispatchUcUiViewChangedEvent(e){var t={none:"NONE",first:"FIRST_LAYER",second:"SECOND_LAYER",button:"PRIVACY_BUTTON"},n=new window.CustomEvent("UC_UI_VIEW_CHANGED",{detail:{previousView:e.previousView?t[e.previousView]:void 0,view:t[e.view]}});window.dispatchEvent(n)}static dispatch(e,t){var n=new window.CustomEvent(e,{detail:t});window.dispatchEvent(n)}}}),r("xXOcf",function(t,r){e(t.exports,"default",()=>i);var s=n("cnbVL");class i{dispatchConsentDetails(e){this.dispatch("UC_CONSENT",e);var t=(0,s.V2BridgeCustomEvents).getConsentDetailsV2(e);this.eventNames.forEach(e=>{this.dispatch(e,t)})}dispatchUcGcmUpdateEvent(e){this.dispatch("UC_GCM_UPDATE",e)}dispatchUcUetUpdateEvent(e){this.dispatch("UC_UET_UPDATE",e)}dispatch(e,t){var n=new window.CustomEvent(e,{detail:t});window.dispatchEvent(n)}constructor(e){this.eventNames=e}}}),r("9QnPa",function(t,r){e(t.exports,"default",()=>i);var s=n("e08dO");class i{push(e){this.dataLayers.forEach(t=>{try{this.windowDataLayers[t].push(e)}catch(e){(0,s.UCConsole).warn("dataLayer",`Could not push to dataLayer ${t}`,e)}})}constructor(e){this.windowDataLayers=window,this.dataLayers=e,e.forEach(e=>{this.windowDataLayers[e]||(this.windowDataLayers[e]=[])})}}}),r("iBXA0",function(t,r){e(t.exports,"default",()=>d);var s=n("h2FSh"),i=n("kTJf3"),a=n("7nwmn"),o=n("7qJ26"),c=n("dIRcU"),u=n("2J7XN"),l=n("e08dO");class d{getDomains(){var e,t=this.euMode?"https://v1.api.service.eu1.cmp.usercentrics.eu":"https://v1.api.service.cmp.usercentrics.eu";return(0,i._)({api:t||u.API_DOMAINS[this.sandbox?"SANDBOX":"PROD"][this.euMode?"EU_URI":"URI"],consent:u.SAVE_CONSENTS_DOMAINS[this.sandbox?"SANDBOX":"PROD"][this.euMode?"EU_URI":"URI"],crossDevice:u.RETRIEVE_CONSENTS_DOMAINS[this.sandbox?"SANDBOX":"PROD"][this.euMode?"EU_URI":"URI"],logger:u.GRAPHQL_DOMAINS[this.sandbox?"SANDBOX":"PROD"][this.euMode?"EU_URI":"URI"]},(null===(e=window.ucCmpConfig)||void 0===e?void 0:e.proxy)&&(0,i._)({},window.ucCmpConfig.proxy))}getPaths(){return{api:"/latest/",consent:"/consent/uw/3",crossDevice:"/",logger:this.sandbox?"/":"/graphql"}}getCachedData(e){return this.cache[e]}setCachedData(e,t){this.cache[e]=t}getQueryTargetData(){return(0,i._)({},this.sandbox&&{sandbox:!0},"number"==typeof this.cacheVersion&&{cacheVersion:this.cacheVersion})}getUrl(e,t){var n="";if(t){var r=new URLSearchParams;Object.entries(t).forEach(e=>{var t=(0,o._)(e,2),n=t[0],s=t[1];null!=s&&r.set(n,s.toString())}),n=r.toString()}return`${e}${n?`?${n}`:""}`}fetchLocalizedJson(e){var t=this;return(0,s._)(function(){var n;return(0,c.__generator)(this,function(r){var i;return n={country:"UNKNOWN"},[2,window.fetch(`${t.domains.api}${t.paths.api}${e}`).then((i=(0,s._)(function(e){var t,r;return(0,c.__generator)(this,function(s){switch(s.label){case 0:if(!e.ok)return[3,2];return t=e.headers.get("x-client-geo-location")||"DE,DEBY",n.country=t.split(",")[0],n.region=t.split(",")[1]?t.split(",")[1].substring(2):"",r={},[4,e.json()];case 1:return[2,(r.data=s.sent(),r.location=n,r)];case 2:return[2,{data:null,location:n}]}})}),function(e){return i.apply(this,arguments)})).catch(()=>({data:null,location:n}))]})})()}fetchJson(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this;return(0,s._)(function(){var r,i;return(0,c.__generator)(this,function(a){var o;return t&&void 0!==(r=n.getCachedData(e))?[2,r]:(i=`${n.domains.api}${n.paths.api}${e}`,[2,window.fetch(i).then((o=(0,s._)(function(e){var t;return(0,c.__generator)(this,function(r){switch(r.label){case 0:if(!e.ok)return[3,2];return[4,e.json()];case 1:return t=r.sent(),n.setCachedData(i,t),[2,t];case 2:return[2,null]}})}),function(e){return o.apply(this,arguments)})).catch(()=>null)])})})()}fetchCmpData(e){var t=e.params,n=e.query,r=this;return(0,s._)(function(){var e,s;return(0,c.__generator)(this,function(a){switch(a.label){case 0:return e=r.getUrl(`${t.version}/cmp/${t.language}/${t.settingsType}/${t.settingsId}/${t.previousSettingsVersion}/${t.activeSettingsVersion}`,(0,i._)({},n,r.getQueryTargetData())),[4,r.fetchJson(e)];case 1:if(!(s=a.sent()))throw Error("No cmp data");return[2,s]}})})()}fetchRuleSetCoreData(e,t){var n=this;return(0,s._)(function(){var r,s,a,o,u,l,d,g,h,p;return(0,c.__generator)(this,function(c){switch(c.label){case 0:return r=n.getUrl("ruleSetData",(0,i._)({id:e},n.getQueryTargetData())),[4,n.fetchLocalizedJson(r)];case 1:if(a=(s=c.sent()).data,o=s.location,!a)throw Error("No ruleset data");return u=t||o||{country:"DE",region:"BY"},l=a.rules,d=a.defaultRule.settingsId,g=l.find(e=>{var t;return null===(t=e.locations)||void 0===t?void 0:t.includes(u.country)})||l.find(e=>{var t;return!!u.region&&(null===(t=e.locations)||void 0===t?void 0:t.includes(`${u.country}${u.region}`))}),[4,n.fetchSettingsCoreData(g?g.settingsId:d)];case 2:return h=c.sent(),p=!g&&!!a.defaultRule.noShow||void 0,[2,{location:u,ruleSetCoreData:(0,i._)({ruleSetNoShow:p},h.settingsCoreData)}]}})})()}fetchI18nData(e){var t=e.settingsId,n=e.settingsType,r=e.settingsVersion,a=e.language,o=e.activeTcfVendorsListVersion,u=e.previousTcfVendorsListVersion,l=e.previousTcfPolicyVersion,d=e.theme,g=this;return(0,s._)(function(){var e,s;return(0,c.__generator)(this,function(c){return e=(0,i._)({},o&&{activeTcfVendorsListVersion:o},u&&{previousTcfVendorsListVersion:u},l&&{previousTcfPolicyVersion:l},d&&{theme:d}),s=g.getUrl(`i18n/${a}/${n}/${t}/${r}`,(0,i._)({},e,g.getQueryTargetData())),[2,g.fetchJson(s,!0)]})})()}fetchSettingsCoreData(e,t){var n=this;return(0,s._)(function(){var r,s,a,o;return(0,c.__generator)(this,function(c){switch(c.label){case 0:return r=n.getUrl(`core/${e}`,(0,i._)({},(null==t?void 0:t.draft)&&{draft:!0},n.getQueryTargetData())),[4,n.fetchLocalizedJson(r)];case 1:if(a=(s=c.sent()).location,!(o=s.data))throw Error(`No core data available for ${r}`);return o.gpp||"function"!=typeof window.__gpp||(o.gpp={cmpId:5,cmpVersion:3}),[2,{location:a,settingsCoreData:o}]}})})()}fetchStoredInfoData(e){var t=this;return(0,s._)(function(){return(0,c.__generator)(this,function(n){return[2,t.fetchJson(`storedInfo?uri=${e}`,!0)]})})()}fetchInitDataBySettingsId(e,t){var n=this;return(0,s._)(function(){var r,s,i;return(0,c.__generator)(this,function(a){switch(a.label){case 0:return[4,n.fetchSettingsCoreData(e,(null==t?void 0:t.draft)&&{draft:!0})];case 1:return s=(r=a.sent()).location,i=r.settingsCoreData,[2,{location:(null==t?void 0:t.location)||s||{country:"DE",region:"BY"},settingsCoreData:i,language:null==t?void 0:t.language}]}})})()}fetchInitDataByRuleSetId(e,t){var n=this;return(0,s._)(function(){var r;return(0,c.__generator)(this,function(s){switch(s.label){case 0:return[4,n.fetchRuleSetCoreData(e,t)];case 1:return[2,{location:(r=s.sent()).location,settingsCoreData:r.ruleSetCoreData}]}})})()}saveConsentData(e){var t=e.services,n=e.consent,r=e.settingsType,u=e.vendors,l=e.ucString,d=e.analyticsEnabled,g=e.consentWebhookEnabled,h=e.crossDeviceEnabled,p=this;return(0,s._)(function(){var e,s,v,_;return(0,c.__generator)(this,function(c){return e="TCF"===r&&u&&{consentString:n.tcString,consentMeta:JSON.stringify({timestamp:Date.now(),vendors:u})},s="TCF"===r?n.acString:"",v="US"===r&&{consentString:n.ccpaString,consentMeta:JSON.stringify({timestamp:Date.now(),vendors:u})},_={headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify((0,a._)((0,i._)({action:n.updatedBy,analytics:d,controllerId:n.controllerId,appVersion:"sdk-1.0.0-alpha.0",language:n.language,settingsId:n.setting.id,settingsVersion:n.setting.version,ucString:l},s&&{acString:s},g&&{webhook:!0},h&&{xdevice:!0},e&&(0,i._)({},e),v&&(0,i._)({},v)),{consents:Object.entries(t).map(e=>{var t,n=(0,o._)(e,2),r=n[0],s=n[1];return{consentStatus:(null===(t=s.consent)||void 0===t?void 0:t.given)===!0,consentTemplateId:r,consentTemplateVersion:s.version}})}))},[2,window.fetch(`${p.domains.consent}${p.paths.consent}`,_).then(e=>e.ok)]})})()}fetchUcStringForRestoration(e,t){var n=this;return(0,s._)(function(){var r;return(0,c.__generator)(this,function(i){var a;return r=`${n.domains.crossDevice}${n.paths.crossDevice}?controllerId=${e}&settingsId=${t}`,[2,window.fetch(r).then((a=(0,s._)(function(e){return(0,c.__generator)(this,function(t){return e.ok?[2,e.json()]:((0,l.UCConsole).error("ApiService - fetchUcStringForRestoration",`The response returned an error: "${e}".`),[2,null])})}),function(e){return a.apply(this,arguments)}))]})})()}sendTagLoggerData(e){var t={operationName:"saveTagLoggerData",query:`mutation saveTagLoggerData($settingsId: String, $source: String, $targets: [String]) { saveTagLoggerData(settingsId: $settingsId, source: $source, targets: $targets) }`,variables:{settingsId:e.settingsId,source:e.source,targets:e.entries}};this.domains.logger&&fetch(`${this.domains.logger}${this.paths.logger}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}constructor(e){this.cache={},this.sandbox=!0===e.sandbox,this.cacheVersion=e.cacheVersion,this.euMode=!0===e.euMode,this.domains=this.getDomains(),this.paths=this.getPaths()}}}),r("2J7XN",function(t,n){e(t.exports,"SAVE_CONSENTS_DOMAINS",()=>r),e(t.exports,"RETRIEVE_CONSENTS_DOMAINS",()=>s),e(t.exports,"GRAPHQL_DOMAINS",()=>i),e(t.exports,"API_DOMAINS",()=>a);var r={PROD:{URI:"https://consent-api.service.consent.usercentrics.eu",EU_URI:"https://consent-api.service.consent.eu1.usercentrics.eu"},SANDBOX:{URI:"https://consent-api.service.consent.usercentrics-staging.eu",EU_URI:"https://consent-api.service.consent.eu1.usercentrics-staging.eu"}},s={PROD:{URI:"https://consent-rt-ret.service.consent.usercentrics.eu",EU_URI:"https://consent-rt-ret.service.consent.eu1.usercentrics.eu"},SANDBOX:{URI:"https://consent-rt-ret.service.consent.usercentrics-staging.eu",EU_URI:"https://consent-rt-ret.service.consent.eu1.usercentrics-staging.eu"}},i={PROD:{URI:"https://graphql.usercentrics.eu",EU_URI:"https://api.eu.usercentrics.eu"},SANDBOX:{URI:"https://api-v2-sandbox-consent-dot-usercentrics-playground.nw.r.appspot.com",EU_URI:"https://api-v2-sandbox-consent-dot-usercentrics-playground.nw.r.appspot.com"}},a={PROD:{URI:"https://v1.api.service.cmp.usercentrics.eu",EU_URI:"https://v1.api.service.eu1.cmp.usercentrics.eu"},SANDBOX:{URI:"https://v1.api.service.cmp.usercentrics-sandbox.eu",EU_URI:"https://v1.api.service.eu1.cmp.usercentrics-sandbox.eu"}}}),r("h8zqI",function(t,r){e(t.exports,"default",()=>g);var s=n("h2FSh"),i=n("kTJf3"),a=n("7nwmn"),o=n("7qJ26"),c=n("dIRcU");n("g2kp0");var u=n("98SEK"),l=n("bzfG3"),d=n("e08dO");class g{saveConsentLocally(e,t){var n=t.services,r=this;return(0,s._)(function(){var t,s,l,d;return(0,c.__generator)(this,function(c){switch(c.label){case 0:return s=Object.entries(e).reduce((e,t)=>{var n=(0,o._)(t,2),r=n[0],s=n[1];return"_"!==r.charAt(0)?(0,a._)((0,i._)({},e),{[r]:s}):e},{}),l=(0,u.compressToBase64)(JSON.stringify(s)),d=r.mapServicesData(n),r.localStorageService.setConsentData({services:d}),r.localStorageService.setConsentString(l),[4,null===(t=r.crossDomainService)||void 0===t?void 0:t.setConsentString(l)];case 1:return c.sent(),[2]}})})()}saveConsentRemotely(e){var t=this;return(0,s._)(function(){return(0,c.__generator)(this,function(n){switch(n.label){case 0:return[4,t.apiService.saveConsentData(e)];case 1:return n.sent(),[2]}})})()}getConsentData(e,t){var n=this;return(0,s._)(function(){var r,s,i,a,o;return(0,c.__generator)(this,function(c){switch(c.label){case 0:if(c.trys.push([0,3,,4]),i=t)return[3,2];return[4,null===(r=n.crossDomainService)||void 0===r?void 0:r.getConsentString()];case 1:i=c.sent(),c.label=2;case 2:if((s=i||n.localStorageService.getConsentString())&&(a=(0,l.decompressFromBase64)(s))&&(o=JSON.parse(a)).setting.id===e)return"CCPA"===o.setting.type&&(o.setting.type="US",o.legislation="CCPA"),[2,o];return[3,4];case 3:return c.sent(),(0,d.UCConsole).error("ConsentService - getConsentData","no consent found"),[3,4];case 4:return[2]}})})()}clearConsentsLocally(){var e=this;return(0,s._)(function(){var t;return(0,c.__generator)(this,function(n){switch(n.label){case 0:return e.localStorageService.clearUserSession(),[4,null===(t=e.crossDomainService)||void 0===t?void 0:t.clearStorage()];case 1:return n.sent(),[2]}})})()}mapServicesData(e){return Object.entries(e).reduce((e,t)=>{var n,r=(0,o._)(t,2),s=r[0],i=r[1];return e[s]={name:i.name,consent:(null===(n=i.consent)||void 0===n?void 0:n.given)===!0},e},{})}constructor(e){var t=e.apiService,n=e.crossDomainService,r=e.localStorageService;this.apiService=t,this.crossDomainService=n,this.localStorageService=r}}}),r("g2kp0",function(t,r){e(t.exports,"compressToBase64",()=>n("98SEK").compressToBase64),e(t.exports,"decompressFromBase64",()=>n("bzfG3").decompressFromBase64),n("hBLsI"),n("98SEK"),n("bzfG3")}),r("hBLsI",function(t,r){e(t.exports,"compressToBase64",()=>n("98SEK").compressToBase64),e(t.exports,"decompressFromBase64",()=>n("bzfG3").decompressFromBase64),n("98SEK"),n("bzfG3")}),r("98SEK",function(t,r){e(t.exports,"compressToBase64",()=>a);var s=n("k8QE4"),i=n("em5zy");function a(e){if(null==e)return"";var t=(0,s._compress)(e,6,e=>(0,i.default).charAt(e));switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}}}),r("k8QE4",function(t,n){e(t.exports,"_compress",()=>r);function r(e,t,n){if(null==e)return"";for(var r,s={},i={},a="",o="",c="",u=2,l=3,d=2,g=[],h=0,p=0,v=0;vc.charCodeAt(0)){for(var _=0;_>=1}else{r=1;for(var S=0;S>=1}0==--u&&(u=Math.pow(2,d),d++),delete i[c]}else{r=s[c];for(var E=0;E>=1}0==--u&&(u=Math.pow(2,d),d++),s[o]=l++,c=String(a)}if(""!==c){if(Object.prototype.hasOwnProperty.call(i,c)){if(256>c.charCodeAt(0)){for(var I=0;I>=1}else{r=1;for(var m=0;m>=1}0==--u&&(u=Math.pow(2,d),d++),delete i[c]}else{r=s[c];for(var O=0;O>=1}0==--u&&(u=Math.pow(2,d),d++)}r=2;for(var A=0;A>=1;var y=!0;do h<<=1,p==t-1?(g.push(n(h)),y=!1):p++;while(y)return g.join("")}}),r("em5zy",function(t,n){e(t.exports,"default",()=>r);var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}),r("bzfG3",function(t,r){e(t.exports,"decompressFromBase64",()=>o);var s=n("iAhBE"),i=n("9HUOI"),a=n("em5zy");function o(e){return null==e?"":""==e?null:(0,s._decompress)(e.length,32,t=>(0,i.getBaseValue)(a.default,e.charAt(t)))}}),r("iAhBE",function(t,n){e(t.exports,"_decompress",()=>r);function r(e,t,n){for(var r,s=[],i=[],a={val:n(0),position:t,index:1},o=4,c=4,u=3,l="",d=0,g=4,h=1,p=0;p<3;p+=1)s[p]=String(p);for(;h!=g;){var v=a.val&a.position;a.position>>=1,0==a.position&&(a.position=t,a.val=n(a.index++)),d|=(v>0?1:0)*h,h<<=1}switch(d){case 0:for(d=0,g=256,h=1;h!=g;){var _=a.val&a.position;a.position>>=1,0==a.position&&(a.position=t,a.val=n(a.index++)),d|=(_>0?1:0)*h,h<<=1}r=String.fromCharCode(d);break;case 1:for(d=0,g=65536,h=1;h!=g;){var f=a.val&a.position;a.position>>=1,0==a.position&&(a.position=t,a.val=n(a.index++)),d|=(f>0?1:0)*h,h<<=1}r=String.fromCharCode(d);break;case 2:return""}if(void 0===r)throw Error("No character found");s[3]=String(r);var S=String(r);for(i.push(String(r));;){if(a.index>e)return"";for(d=0,g=Math.pow(2,u),h=1;h!=g;){var C=a.val&a.position;a.position>>=1,0==a.position&&(a.position=t,a.val=n(a.index++)),d|=(C>0?1:0)*h,h<<=1}switch(r=d){case 0:for(d=0,g=256,h=1;h!=g;){var E=a.val&a.position;a.position>>=1,0==a.position&&(a.position=t,a.val=n(a.index++)),d|=(E>0?1:0)*h,h<<=1}s[c++]=String.fromCharCode(d),r=c-1,o--;break;case 1:for(d=0,g=65536,h=1;h!=g;){var I=a.val&a.position;a.position>>=1,0==a.position&&(a.position=t,a.val=n(a.index++)),d|=(I>0?1:0)*h,h<<=1}s[c++]=String.fromCharCode(d),r=c-1,o--;break;case 2:return i.join("")}if(0==o&&(o=Math.pow(2,u),u++),s[r])l=String(s[r]);else{if(r!==c)return null;l=S+S.charAt(0)}i.push(l),s[c++]=S+l.charAt(0),o--,S=l,0==o&&(o=Math.pow(2,u),u++)}}}),r("9HUOI",function(t,n){e(t.exports,"getBaseValue",()=>s);var r={};function s(e,t){if(!r[e]){r[e]={};for(var n=0;no);var s=n("h2FSh"),i=n("dIRcU"),a="uc-cross-domain-consent-sharing-bridge";class o{setConsentString(e){var t=this;return(0,s._)(function(){return(0,i.__generator)(this,function(n){return[2,t.request("setConsentString",e).catch(()=>!1)]})})()}getConsentString(){var e=this;return(0,s._)(function(){return(0,i.__generator)(this,function(t){return[2,e.request("getConsentString").catch(()=>{})]})})()}clearStorage(){var e=this;return(0,s._)(function(){return(0,i.__generator)(this,function(t){return[2,e.request("clearStorage").catch(()=>!1)]})})()}request(e,t){var n=this;return(0,s._)(function(){var r;return(0,i.__generator)(this,function(s){if(!(r=document.getElementById(a))||!r.id||!r.contentWindow)throw Error("iFrame cdcs listener not found.");return[2,new Promise((s,i)=>{var a=JSON.stringify({settingsId:n.settingsId,method:e,payload:t}),o=new MessageChannel;if(o.port1.onmessage=e=>{var t=JSON.parse(e.data),n=t.success,r=t.data;n?s(r):i(e)},r&&r.contentWindow)try{r.contentWindow.postMessage(a,n.src,[o.port2])}catch(e){i(e)}})]})})()}init(){var e=this;return(0,s._)(function(){return(0,i.__generator)(this,function(t){return[2,new Promise(t=>{var n=document.createElement("iframe");n.style.display="none",n.id=a,n.src=e.src,n.onload=()=>{var n=setTimeout(()=>{t(!1)},1e3);e.request("ping").then(()=>{clearTimeout(n),t(!0)}).catch(()=>{clearTimeout(n),t(!1)})},n.onerror=()=>{t(!1)};try{document.body?document.body.appendChild(n):document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(n)})}catch(e){t(!1)}})]})})()}constructor(e){var t,n,r=(null===(n=window.ucCmpConfig)||void 0===n?void 0:null===(t=n.proxy)||void 0===t?void 0:t.cdn)||"https://web.cmp.usercentrics.eu";this.src=`${r}/cdcs/v/1.0.0/index.html`,this.settingsId=e}}}),r("fSIyh",function(t,r){e(t.exports,"default",()=>u);var s=n("kTJf3"),i=n("7nwmn"),a=n("7qJ26"),o=n("b2ZVT");class c{updateLength(){this.length=Object.keys(this.data).length}key(e){var t=Object.keys(this.data)[e];return void 0===t?null:t}getItem(e){return void 0!==this.data[e]?this.data[e]:null}setItem(e,t){this.data[e]=String(t),this.updateLength()}removeItem(e){delete this.data[e],this.updateLength()}clear(){this.data={},this.updateLength()}constructor(){this.length=0,this.data={}}}class u{setConsentString(e){var t=this.storageKey;this.storage.setItem(t,e)}getConsentString(){return this.storage.getItem(this.storageKey)||void 0}setUcData(e){this.storage.setItem(this.dataKey,JSON.stringify(e))}getUcData(){var e=this.storage.getItem(this.dataKey);return e?JSON.parse(e):void 0}setGcmData(e){var t=this.getUcData();this.setUcData((0,i._)((0,s._)({},t),{gcm:e}))}setConsentData(e){var t=this.getUcData();this.setUcData((0,i._)((0,s._)({},t),{consent:e}))}setUiData(e){var t=this.getUcData();this.setUcData((0,i._)((0,s._)({},t),{ui:(0,s._)({},t.ui,e)}))}getGcmData(){var e=this.getUcData();return e?e.gcm:void 0}clearStorage(){this.storage.clear()}clearUserSession(){for(var e in o.V1_LOCAL_STORAGE_KEY)this.storage.removeItem(o.V1_LOCAL_STORAGE_KEY[e]);for(var t in o.V2_LOCAL_STORAGE_KEY)this.storage.removeItem(o.V2_LOCAL_STORAGE_KEY[t]);this.storage.removeItem(this.storageKey),this.storage.removeItem(this.dataKey),this.storage.removeItem("ucSdkCombinedCmpData"),this.storage.removeItem("ucAppState")}getV1Settings(e){try{var t=this.storage.getItem(o.V1_LOCAL_STORAGE_KEY.SETTINGS);if(Object.keys(o.V1_LOCAL_STORAGE_KEY).forEach(e=>{var t=o.V1_LOCAL_STORAGE_KEY[e];this.storage.removeItem(t)}),t)return JSON.parse(t)[e]}catch(e){return}}setV2LocalStorageRestoredData(e){try{this.storage.setItem(o.V2_LOCAL_STORAGE_KEY.SETTINGS,JSON.stringify(e.settings)),e.tcf&&this.storage.setItem(o.V2_LOCAL_STORAGE_KEY.TCF,JSON.stringify(e.tcf)),e.ccpa&&this.storage.setItem(o.V2_LOCAL_STORAGE_KEY.CCPA,JSON.stringify(e.ccpa)),e.gcm&&this.storage.setItem(o.V2_LOCAL_STORAGE_KEY.GCM_DATA,JSON.stringify(e.gcm)),this.storage.setItem(o.V2_LOCAL_STORAGE_KEY.USER_INTERACTION,(!!e.userInteraction).toString())}catch(e){return}}getV2Data(){try{var e=this.storage.getItem(o.V2_LOCAL_STORAGE_KEY.SETTINGS);if(e){var t=JSON.parse(e),n=JSON.parse(this.storage.getItem(o.V2_LOCAL_STORAGE_KEY.TCF)||"null"),r=JSON.parse(this.storage.getItem(o.V2_LOCAL_STORAGE_KEY.CCPA)||"null"),i=JSON.parse(this.storage.getItem(o.V2_LOCAL_STORAGE_KEY.GCM_DATA)||"null"),a=!!this.storage.getItem(o.V2_LOCAL_STORAGE_KEY.USER_INTERACTION),c=this.storage.getItem(o.V2_LOCAL_STORAGE_KEY.AB_TEST_VARIANT);return Object.keys(o.V2_LOCAL_STORAGE_KEY).forEach(e=>{var t=o.V2_LOCAL_STORAGE_KEY[e];this.storage.removeItem(t)}),(0,s._)({settings:t},n&&{tcf:n},r&&{ccpa:r},i&&{gcm:i},c&&{abVariant:c},a&&{userInteraction:a})}}catch(e){return}}setV2Data(e){Object.entries(e).forEach(e=>{var t=(0,a._)(e,2),n=t[0],r=t[1];this.storage.setItem(n,"object"==typeof r?JSON.stringify(r):r.toString())})}saveTagloggerData(e){this.sessionStorage.setItem(this.tagLoggerKey,JSON.stringify(e))}getTagloggerData(){var e=this.sessionStorage.getItem(this.tagLoggerKey);return e?JSON.parse(e):void 0}removeTagLoggerData(){this.sessionStorage.removeItem(this.tagLoggerKey)}constructor(){this.storageKey="ucString",this.tagLoggerKey="ucTaglogger",this.dataKey="ucData",this.storage=window.localStorage||new c,this.sessionStorage=window.sessionStorage||new c}}}),r("b2ZVT",function(t,n){e(t.exports,"V1_LOCAL_STORAGE_KEY",()=>u),e(t.exports,"V2_LOCAL_STORAGE_KEY",()=>l),e(t.exports,"V1_CONSENT_ACTION",()=>d),e(t.exports,"V1_CONSENT_TYPE",()=>g),e(t.exports,"V2_CONSENT_ACTION",()=>h),e(t.exports,"V2_CONSENT_TYPE",()=>p);var r,s,i,a,o,c,u=((r={}).SETTINGS="ucSettings",r.CONSENTS="ucConsents",r.USERCENTRICS="usercentrics",r),l=((s={}).CCPA="uc_usprivacy",s.CCPA_DATA="uc_ccpa",s.CONSENTS_BUFFER="uc_consents_buffer",s.CONSENTS_V2_BUFFER="uc_consents_v2_buffer",s.GCM_DATA="uc_gcm",s.SERVICES="uc_services",s.SETTINGS="uc_settings",s.TCF="uc_tcf",s.USER_INTERACTION="uc_user_interaction",s.AB_TEST_VARIANT="uc_ab_variant",s.UI_VERSION="uc_ui_version",s),d=((i={}).BY_SETTINGS_UPDATE="bySettingsUpdate",i.ON_INITIAL_PAGE_LOAD="onInitialPageLoad",i.ON_DENY_ALL_BTN_CLICK="onDenyAllBtnClick",i.ON_ACCEPT_ALL_BTN_CLICK="onAcceptAllBtnClick",i.ON_DENY_ALL_ANCHOR_CLICK="onDenyAllAnchorClick",i.ON_TOGGLE_SELECT_ALL="onToggleSelectAll",i.ON_TOGGLE_CATEGORY="onToggleCategory",i.ON_TOGGLE_CONSENT="onToggleConsent",i.ON_SPECIAL_FUNCTION_ACCEPT_ALL_CONSENT_TRIGGER="onSpecialFunctionAcceptAllConsentTrigger",i.ON_COUNTDOWN_FINISHED="onCountdownFinished",i.ON_WINDOW_FUNCTION_UPDATE_CONSENT="onWindowFunctionUpdateConsent",i.ON_NON_EU_REGION="onNonEURegion",i.ON_SAVE_BTN_CLICK="onSaveBtnClick",i),g=((a={}).EXPLICIT="explicit",a.IMPLICIT="implicit",a.UPDATE="update",a),h=((o={}).ACCEPT_ALL_SERVICES="onAcceptAllServices",o.DENY_ALL_SERVICES="onDenyAllServices",o.ESSENTIAL_CHANGE="onEssentialChange",o.INITIAL_PAGE_LOAD="onInitialPageLoad",o.NON_EU_REGION="onNonEURegion",o.SESSION_RESTORED="onSessionRestored",o.TCF_STRING_CHANGE="onTcfStringChange",o.UPDATE_SERVICES="onUpdateServices",o.MOBILE_SESSION_RESTORED="onMobileSessionRestore",o),p=((c={}).EXPLICIT="explicit",c.IMPLICIT="implicit",c)}),r("kA7xy",function(t,r){e(t.exports,"default",()=>u);var s=n("h2FSh"),i=n("dIRcU"),a=n("4tLOk"),o=n("96QDM"),c="data-usercentrics";class u{unblockScripts(e,t){return(0,s._)(function(){var n,r;return(0,i.__generator)(this,function(s){switch(s.label){case 0:return[4,(0,a.domContentLoaded)()];case 1:return s.sent(),n=document.querySelectorAll(`script[${c}][type="text/plain"]`),r=[],n.forEach(n=>{var s=n.getAttribute(c);if(s){var i=s.split("~|UC|~");if(1===i.length&&e[s]){r.push(s);var a=document.createElement("script");Array.from(n.attributes).forEach(e=>{var t=e.name,n=e.value;a.setAttribute(t,n)}),n.src||a.appendChild(document.createTextNode(n.text)),a.removeAttribute(c),a.type="application/javascript",n.parentNode&&n.parentNode.replaceChild(a,n)}var o=i.filter(e=>""!==e);if(i.length>1&&o.every(e=>t[e])){o.forEach(e=>{r.push(t[e].name)});var u=document.createElement("script");Array.from(n.attributes).forEach(e=>{var t=e.name,n=e.value;u.setAttribute(t,n)}),n.src||u.appendChild(document.createTextNode(n.text)),u.removeAttribute(c),u.type="application/javascript",n.parentNode&&n.parentNode.replaceChild(u,n)}}}),(0,o.webSdkEvents).emit("SCRIPTS_UNBLOCKED",r),[2,r]}})})()}}}),r("4tLOk",function(t,r){e(t.exports,"domContentLoaded",()=>a);var s=n("h2FSh"),i=n("dIRcU");function a(){return o.apply(this,arguments)}function o(){return(o=(0,s._)(function(){return(0,i.__generator)(this,function(e){return document.body?[2]:[2,new Promise(e=>{document.addEventListener("DOMContentLoaded",()=>{e()})})]})})).apply(this,arguments)}}),r("dIChF",function(t,n){e(t.exports,"isUsCmpData",()=>r),e(t.exports,"WINDOW_MOBILE_SDK_NAMESPACE",()=>s);var r=e=>"US"===e.setting.type,s="ucMobileSdk"}),r("lAwM5",function(t,r){e(t.exports,"fixUserSessionDataTimestampConsentAction",()=>d),e(t.exports,"convertUserSessionDataToV2LocalStorageEntry",()=>g);var s=n("kTJf3"),i=n("7nwmn"),a=n("b2ZVT"),o=n("e08dO"),c=n("3mZL4"),u=n("D1rLk"),l=e=>{(null==e?void 0:e.consents)&&(null==e?void 0:e.consents.length)&&!e.consents.every(e=>e.action)&&(e.consents=e.consents.map(e=>(0,i._)((0,s._)({},e),{action:"onMobileSessionRestore"})))},d=e=>{var t=e.userSessionData,n=e.userSessionDataString,r=void 0;try{n&&(r=JSON.parse(n,(e,t)=>{if("timestamp"===e){var n=t.toString();return -1!==n.indexOf(".")?1e3*Number(n):Number(n)}return t}),l(r)),t&&((r=t).timestamp&&-1!==r.timestamp.toString().indexOf(".")&&(r.timestamp=1e3*Number(r.timestamp)),l(r))}catch(e){(0,o.UCConsole).warn("CmpController - restoreUserSessionData","Could not restore user session data",JSON.stringify(r))}return r},g=(e,t,n)=>{var r=e.consents.reduce((e,t)=>{var r,s,i,a;return(n?null!==(i=e[r=t.consentTemplateId||""])&&void 0!==i?i:e[r]=[]:null!==(a=e[s=t.templateId])&&void 0!==a?a:e[s]=[]).push(t),e},{}),o=!0,l=!1,d=void 0;try{for(var g,h=Object.values(r)[Symbol.iterator]();!(o=(g=h.next()).done);o=!0)g.value.sort((e,t)=>Number(e.timestamp)-Number(t.timestamp))}catch(e){l=!0,d=e}finally{try{o||null==h.return||h.return()}finally{if(l)throw d}}return(0,i._)((0,s._)({settings:{controllerId:e.controllerId,id:t.id,language:e.language||"en",services:Object.keys(r).map(s=>({id:s,status:n?r[s][r[s].length-1].consentStatus||!1:r[s][r[s].length-1].status,processorId:`${(0,c.sha256)((0,u.default)())}`,history:r[s].map(r=>({action:a.V2_CONSENT_ACTION.MOBILE_SESSION_RESTORED,language:e.language||"en",status:n?r.consentStatus||!1:r.status,timestamp:n?parseInt(`${e.timestamp}`):parseInt(`${r.timestamp}`),type:a.V2_CONSENT_TYPE.IMPLICIT,versions:{application:"",service:"",settings:r.settingsVersion||t.version||""}}))})),version:e.consents[0].settingsVersion||t.version||""}},e.tcf&&{tcf:e.tcf},e.ccpa&&{ccpa:e.ccpa}),{userInteraction:!0})}}),r("3mZL4",function(t,r){e(t.exports,"sha256",()=>i);var s=n("dQXy6"),i=e=>(s&&s.__esModule?s.default:s)(e).toString()}),r("dQXy6",function(e,t){var r;r=function(e){var t,n,r,s,i,a,o,c,u;return t=Math,r=(n=e.lib).WordArray,s=n.Hasher,i=e.algo,a=[],o=[],function(){function e(e){return(e-(0|e))*0x100000000|0}for(var n=2,r=0;r<64;)(function(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0})(n)&&(r<8&&(a[r]=e(t.pow(n,.5))),o[r]=e(t.pow(n,1/3)),r++),n++}(),c=[],u=i.SHA256=s.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],s=n[1],i=n[2],a=n[3],u=n[4],l=n[5],d=n[6],g=n[7],h=0;h<64;h++){if(h<16)c[h]=0|e[t+h];else{var p=c[h-15],v=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,_=c[h-2],f=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;c[h]=v+c[h-7]+f+c[h-16]}var S=u&l^~u&d,C=r&s^r&i^s&i,E=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),I=g+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+S+o[h]+c[h],T=E+C;g=d,d=l,l=u,u=a+I|0,a=i,i=s,s=r,r=I+T|0}n[0]=n[0]+r|0,n[1]=n[1]+s|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+u|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+g|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,s=8*e.sigBytes;return n[s>>>5]|=128<<24-s%32,n[(s+64>>>9<<4)+14]=t.floor(r/0x100000000),n[(s+64>>>9<<4)+15]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA256=s._createHelper(u),e.HmacSHA256=s._createHmacHelper(u),e.SHA256},e.exports=r(n("7A3Oh"))}),r("7A3Oh",function(e,r){var s;s=function(){var e=e||function(e,r){if("undefined"!=typeof window&&window.crypto&&(s=window.crypto),"undefined"!=typeof self&&self.crypto&&(s=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(s=globalThis.crypto),!s&&"undefined"!=typeof window&&window.msCrypto&&(s=window.msCrypto),!s&&void 0!==t&&t.crypto&&(s=t.crypto),!s)try{s=n("lGqhX")}catch(e){}var s,i=function(){if(s){if("function"==typeof s.getRandomValues)try{return s.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof s.randomBytes)try{return s.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},c=o.lib={},u=c.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=c.WordArray=u.extend({init:function(e,t){e=this.words=e||[],t!=r?this.sigBytes=t:this.sigBytes=4*e.length},toString:function(e){return(e||g).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,s=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var o=0;o>>2]=n[o>>>2];return this.sigBytes+=s,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=0xffffffff<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-s%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},h=d.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s>>2]>>>24-s%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},p=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,s=r.words,i=r.sigBytes,a=this.blockSize,o=i/(4*a),c=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*a,u=e.min(4*c,i);if(c){for(var d=0;do);var s=n("8zgRk"),i=n("2c391"),a=n("dHy2b"),o=function(e,t,n){if(s.default.randomUUID&&!t&&!e)return(0,s.default).randomUUID();var r=(e=e||{}).random||(e.rng||(0,i.default))();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return(0,a.unsafeStringify)(r)}}),r("8zgRk",function(t,n){e(t.exports,"default",()=>r);var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}}),r("2c391",function(t,n){e(t.exports,"default",()=>i);var r,s=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(s)}}),r("dHy2b",function(t,r){e(t.exports,"unsafeStringify",()=>a),n("dW1uR");for(var s=[],i=0;i<256;++i)s.push((i+256).toString(16).slice(1));function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}}),r("dW1uR",function(t,r){e(t.exports,"default",()=>i);var s=n("isjlF"),i=function(e){return"string"==typeof e&&(0,s.default).test(e)}}),r("isjlF",function(t,n){e(t.exports,"default",()=>r);var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i}),r("5hUSA",function(t,r){e(t.exports,"default",()=>p);var s=n("h2FSh"),i=n("kTJf3"),a=n("7nwmn"),o=n("dIRcU"),c=n("bY6u9"),u=n("8QPZA"),l=n("62uiv"),d=n("h4xwY");n("g2kp0");var g=n("98SEK"),h=n("aCyBP");class p{transformV1LocalStorageToV2(e){var t=this.localStorageService.getV1Settings(e);if(t){var n=(0,h.getV2LocalStorageData)(t);n&&this.localStorageService.setV2Data(n)}}transformV2LocalStorageToV3(){var e=this;return(0,s._)(function(){var t,r,s,h,p,v,_,f,S,C,E,I,T,m,N;return(0,o.__generator)(this,function(o){switch(o.label){case 0:t=e.localStorageService.getV2Data(),o.label=1;case 1:if(o.trys.push([1,7,,8]),!t)return[3,6];return[4,fetch(`https://api.usercentrics${e.sandbox?"-sandbox":""}.eu/settings/${t.settings.id}/${t.settings.version}/en.json`).then(e=>e.json()).then(e=>{var t=e.consentTemplates,n=e.categories,r={},s=n.reduce((e,t)=>("object"==typeof t&&t.isEssential&&(e[t.categorySlug.toLowerCase()]=!0),e),{});return t.forEach(e=>{var t=e.categorySlug,i=e.templateId;"object"==typeof n&&"string"==typeof t&&s[t.toLowerCase()]&&(r[i]=!0)}),r})];case 2:if(r=o.sent(),s=!0,h="en",p=0,v=0,f=[],S=[],C=[],E="ALL_DENIED",t.settings.services.forEach(e=>{r[e.id]||(!0===e.status?S.push(e.id):C.push(e.id)),e.history.forEach(e=>{(!p||e.timestampv)&&(v=e.timestamp,_=e.action,s="implicit"===e.type),e.language&&e.language!==h&&(h=e.language)})}),0===C.length?E="ALL_ACCEPTED":0===S.length?E="ALL_DENIED":C.length>S.length?(E="SOME_ACCEPTED",f=S):(E="SOME_DENIED",f=C),I={language:h,setting:(0,a._)((0,i._)({version:t.settings.version,type:"GDPR"},t.abVariant&&{abVariant:t.abVariant}),{id:t.settings.id}),controllerId:t.settings.controllerId,type:s?"IMPLICIT":"EXPLICIT",createdAt:p,status:E,required:!0!==t.userInteraction,updatedAt:v,version:c.CONSENT_DATA_VERSION,updatedBy:_||"onInitialPageLoad",hash:"",serviceIds:f},!t.tcf)return[3,4];return[4,n("epIq7")];case 3:return m=o.sent().TCString.decode(t.tcf.tcString),T=new l.TcfConsentModel((0,a._)((0,i._)({},I),{setting:(0,a._)((0,i._)({},I.setting),{type:"TCF"}),tcString:t.tcf.tcString,vendorsList:{version:Number(m.vendorListVersion),policyVersion:Number(m.policyVersion)}})),[3,5];case 4:T=t.ccpa?new d.UsConsentModel((0,a._)((0,i._)({},I),{setting:(0,a._)((0,i._)({},I.setting),{type:"US"}),legislation:"CCPA",ccpaString:t.ccpa.ccpaString})):new u.GdprConsentModel(I),o.label=5;case 5:T&&(N=(0,g.compressToBase64)(JSON.stringify(T)),e.localStorageService.setConsentString(N),e.migratedConsentString=N),o.label=6;case 6:return[3,8];case 7:return o.sent(),console.warn("Could not transform v2 localStorage entries"),[3,8];case 8:return[2]}})})()}transformLocalStorage(e){var t=this;return(0,s._)(function(){return(0,o.__generator)(this,function(n){switch(n.label){case 0:return[4,t.transformV1LocalStorageToV2(e)];case 1:return n.sent(),[4,t.transformV2LocalStorageToV3()];case 2:return n.sent(),[2]}})})()}getMigratedConsentString(){return this.migratedConsentString}constructor(e,t){this.localStorageService=e,this.sandbox=void 0!==t&&t,window.ucCmpConfig||(window.ucCmpConfig={}),window.UC_UI_SUPPRESS_CMP_DISPLAY&&(window.ucCmpConfig.ui||(window.ucCmpConfig.ui={}),window.ucCmpConfig.ui.suppress=!0)}}}),r("8QPZA",function(t,r){e(t.exports,"GdprConsentModel",()=>i);var s=n("df9nB");class i extends s.ConsentModel{setServiceIds(e){this.serviceIds=e}constructor(e,t){super(e,t),this.serviceIds=e.serviceIds}}}),r("df9nB",function(t,r){e(t.exports,"ConsentModel",()=>a);var s=n("3mZL4"),i=n("D1rLk");class a{setSetting(e){this.setting=e}getDomains(){return this._domains||[]}setLanguage(e){this.language=e}setUiVersion(e){this.uiVersion=e||this._latestUiVersion}setUpdatedAt(e){this.updatedAt=e}setUpdatedBy(e){this.updatedBy=e}setHash(e){this.hash=e}setRequired(e){this.required=e}setStatus(e){this.status=e}setType(e){this.type=e}constructor(e,t){var n=e.language,r=e.setting,a=e.updatedAt,o=e.updatedBy,c=e.createdAt,u=e.controllerId,l=e.version,d=e.uiVersion,g=e.required,h=e.status,p=e.type,v=e.hash,_=e.isBot,f=e._domains,S=Date.now();this.version=l,this.uiVersion=d||(null==t?void 0:t.uiVersion),this._latestUiVersion=null==t?void 0:t.uiVersion,this.controllerId=u||(0,s.sha256)((0,i.default)()).toString(),this.language=n,this.setting=r,this.updatedAt=a||S,this.updatedBy=o||"onInitialPageLoad",this.createdAt=c||S,this.required=g,this.status=h,this.type=p,this.hash=v,this.isBot=_,this._domains=f}}}),r("62uiv",function(t,r){e(t.exports,"TcfConsentModel",()=>i);var s=n("8QPZA");class i extends s.GdprConsentModel{setTcString(e){this.tcString=e}setAcString(e){this.acString=e}constructor(e,t){super(e,t),this.tcString=e.tcString,this.vendorsList=e.vendorsList,(null==t?void 0:t.acString)&&(this.acString=t.acString)}}}),r("h4xwY",function(t,r){e(t.exports,"UsConsentModel",()=>a);var s=n("dcXtb"),i=n("8QPZA");class a extends i.GdprConsentModel{getCcpaString(){return this.ccpaString}emitCcpaString(){this.ccpaString=`${s.CCPA_VERSION}${this._hasBeenNotified}${this._hasOptedOut}${this._iabAgreementExists}`}setHasOptedOut(e){this._hasOptedOut=e?"Y":"N",this.setUpdatedBy(e?"onDenyAllServices":"onAcceptAllServices")}getHasOptedOut(){return"Y"===this._hasOptedOut}setHasBeenNotified(){this._hasBeenNotified="Y"}constructor(e,t){super(e,{uiVersion:null==t?void 0:t.uiVersion});var n=e.ccpaString;this.legislation=e.legislation,this.ccpaString=n,this.gpcSignal=e.gpcSignal,this._hasBeenNotified=(null==t?void 0:t.initialView)==="first"||(null==t?void 0:t.initialView)==="second"?"Y":n.charAt(1),this._hasOptedOut=n.charAt(2),this._iabAgreementExists=n.charAt(3)}}}),r("dcXtb",function(t,n){e(t.exports,"CCPA_VERSION",()=>r);var r=1}),r("aCyBP",function(t,r){e(t.exports,"getV2LocalStorageData",()=>o);var s=n("kTJf3"),i=n("b2ZVT"),a=e=>Array.isArray(e)&&e.length>0,o=e=>{if(e&&a(e.ucConsents.consents))return(0,s._)({[i.V2_LOCAL_STORAGE_KEY.SETTINGS]:{controllerId:e.ucConsents.consents[0].controllerId,id:e.usercentrics.settings.settingsId,language:e.usercentrics.settings.language,services:e.ucConsents.consents.map(e=>({history:e.history.map(e=>({action:c(e.action),language:e.language,status:e.consentStatus,timestamp:e.updatedAt,type:u(e.updatedBy),versions:{application:e.appVersion,service:e.consentTemplateVersion,settings:e.settingsVersion}})),id:e.templateId,processorId:e.processorId,status:e.consentStatus})),version:e.usercentrics.settings.version}},e.usercentrics.firstUserInteraction.stateSaved&&{[i.V2_LOCAL_STORAGE_KEY.USER_INTERACTION]:!0})},c=e=>{switch(e){case i.V1_CONSENT_ACTION.ON_ACCEPT_ALL_BTN_CLICK:case i.V1_CONSENT_ACTION.ON_SPECIAL_FUNCTION_ACCEPT_ALL_CONSENT_TRIGGER:return i.V2_CONSENT_ACTION.ACCEPT_ALL_SERVICES;case i.V1_CONSENT_ACTION.ON_DENY_ALL_ANCHOR_CLICK:case i.V1_CONSENT_ACTION.ON_DENY_ALL_BTN_CLICK:return i.V2_CONSENT_ACTION.DENY_ALL_SERVICES;case i.V1_CONSENT_ACTION.ON_NON_EU_REGION:return i.V2_CONSENT_ACTION.NON_EU_REGION;case i.V1_CONSENT_ACTION.ON_INITIAL_PAGE_LOAD:case i.V1_CONSENT_ACTION.ON_COUNTDOWN_FINISHED:return i.V2_CONSENT_ACTION.INITIAL_PAGE_LOAD;case i.V1_CONSENT_ACTION.ON_TOGGLE_CATEGORY:case i.V1_CONSENT_ACTION.ON_TOGGLE_CONSENT:case i.V1_CONSENT_ACTION.ON_TOGGLE_SELECT_ALL:return i.V2_CONSENT_ACTION.ESSENTIAL_CHANGE;case i.V1_CONSENT_ACTION.ON_WINDOW_FUNCTION_UPDATE_CONSENT:case i.V1_CONSENT_ACTION.BY_SETTINGS_UPDATE:case i.V1_CONSENT_ACTION.ON_SAVE_BTN_CLICK:return i.V2_CONSENT_ACTION.UPDATE_SERVICES;default:return i.V2_CONSENT_ACTION.INITIAL_PAGE_LOAD}},u=e=>{switch(e){case i.V1_CONSENT_TYPE.UPDATE:case i.V1_CONSENT_TYPE.IMPLICIT:return i.V2_CONSENT_TYPE.IMPLICIT;case i.V1_CONSENT_TYPE.EXPLICIT:return i.V2_CONSENT_TYPE.EXPLICIT;default:return i.V2_CONSENT_TYPE.IMPLICIT}}}),r("epIq7",function(e,t){e.exports=n("7t28S")(n("fmdoF").resolve("fXplr")).then(()=>n("cHs27"))}),r("2hIpA",function(t,r){e(t.exports,"CmpDataRequestModel",()=>n("168i4").CmpDataRequestModel),e(t.exports,"DpsModel",()=>n("i9l4q").DpsModel),e(t.exports,"LanguagesModel",()=>n("9zx7v").LanguagesModel),e(t.exports,"SettingModel",()=>n("d2W83").SettingModel),e(t.exports,"TemplateModel",()=>n("OkLRq").TemplateModel),e(t.exports,"ThemeModel",()=>n("aSHyZ").ThemeModel),e(t.exports,"UiModel",()=>n("5N1IW").UiModel),n("df9nB"),n("168i4"),n("i9l4q"),n("5TDlN"),n("14GuN"),n("9zx7v"),n("d2W83"),n("OkLRq"),n("aSHyZ"),n("5N1IW")}),r("168i4",function(t,r){e(t.exports,"CmpDataRequestModel",()=>d);var s=n("h2FSh"),i=n("kTJf3"),a=n("dIRcU"),o=n("bY6u9"),c=n("1ylHI"),u=n("e08dO"),l=n("2VgZK");class d{getSettingsType(e,t){var n=t.ccpa;if(t.tcf)return"TCF";if(null==n?void 0:n.regions)for(var r in n.regions){var s=n.regions[r];if(["ALL",`${e.country}${e.region}`,`${e.country}`].includes(s))return"US"}return"GDPR"}applyAbVariant(e){var t=this;return(0,s._)(function(){var n,r;return(0,a.__generator)(this,function(s){if(!e)throw Error("A/B Testing is not defined");return(n=e.variants,r=e.provider,t.query.abVariant&&n.includes(t.query.abVariant))?[2,t.query.abVariant]:"internal"===r?(t.query.abVariant=n[Math.floor(Math.random()*n.length)],[2,t.query.abVariant]):[2,new Promise((e,r)=>{var s=setTimeout(()=>{r(Error("window.UC_AB_VARIANT not found after 2000ms"))},2e3),i=setInterval(()=>{var a=window.UC_AB_VARIANT;a&&(clearTimeout(s),clearInterval(i),n.includes(a)?(t.query.abVariant=a,e(t.query.abVariant)):r(Error(`window.UC_AB_VARIANT = '${a}' is not a valid variant`)))},25)})]})})()}getIsOutsideEu(e){return!(0,c.EU_COUNTRIES).includes(e.country.toUpperCase())}getRequestData(){var e=this;return(0,s._)(function(){return(0,a.__generator)(this,function(t){switch(t.label){case 0:if(!e.abTesting)return[3,2];return[4,e.applyAbVariant(e.abTesting).catch(e=>{(0,u.UCConsole).warn("BrowserSdk - init","",e.message)})];case 1:t.sent(),t.label=2;case 2:return[2,{params:e.params,query:e.query}]}})})()}constructor(e,t){var n,r,s,a,c,u=e.location,d=e.settingsCoreData,g=t.isBot,h=t.consentData,p=t.language,v=t.draft,_=t.sandbox,f=t.theme,S=this.getSettingsType(u,d);this.params={version:o.API_VERSION,settingsId:d.id,activeSettingsVersion:d.version,previousSettingsVersion:(null==h?void 0:h.setting.version)||d.version,language:(0,l.getLanguage)(d.languages,p||(null==h?void 0:h.language)),settingsType:S};var C=this.getIsOutsideEu(u),E=null===(n=d.tcf)||void 0===n?void 0:n.vendorsListVersion,I=h&&(null===(r=h.vendorsList)||void 0===r?void 0:r.version)||(null===(s=d.tcf)||void 0===s?void 0:s.vendorsListVersion),T=h&&(null===(a=h.vendorsList)||void 0===a?void 0:a.policyVersion)||(null===(c=d.tcf)||void 0===c?void 0:c.policyVersion);if(this.query=(0,i._)({},C&&{isOutsideEu:C},g&&{isBot:g},d.ruleSetNoShow&&{ruleSetNoShow:d.ruleSetNoShow},E&&{activeTcfVendorsListVersion:E},I&&{previousTcfVendorsListVersion:I},T&&{previousTcfPolicyVersion:T},_&&{sandbox:_},v&&{draft:v},f&&"uc"!==f&&{theme:f}),h){var m=h.setting,N=m.abVariant,O=m.sandbox,A=m.draft;this.query=(0,i._)({},this.query,N&&{abVariant:N},O&&{sandbox:O},A&&{draft:A})}this.abTesting=d.abTesting}}}),r("1ylHI",function(t,n){e(t.exports,"EU_COUNTRIES",()=>r);var r=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","IS","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK"]}),r("2VgZK",function(t,n){e(t.exports,"getLanguage",()=>s);var r=(e,t)=>{if("string"==typeof t){var n=t.toLowerCase().replace("-","_");if(e.includes(n))return n;var r=t.slice(0,2);if(e.includes(r))return r}},s=(e,t)=>{if(t&&e.includes(t))return t;var n=r(e,document.documentElement.lang);if(n)return n;var s=navigator.languages||[navigator.language];if(s&&s.length)for(var i in s){var a=r(e,s[i]);if(a)return a}return e[0]}}),r("i9l4q",function(t,r){e(t.exports,"DpsModel",()=>a);var s=n("7qJ26"),i=n("bY6u9");class a{acceptAll(){Object.keys(this.services).forEach(e=>{this.services[e].consent={given:!0,type:"EXPLICIT"}}),Object.keys(this.categories).forEach(e=>{this.categories[e].state="ALL_ACCEPTED"}),this.updatedBy="onAcceptAllServices"}denyAll(){Object.keys(this.services).forEach(e=>{this.services[e].consent={given:!0===this.services[e].essential,type:"EXPLICIT"}}),Object.keys(this.categories).forEach(e=>{this.categories[e].state=this.categories[e].essential?"ALL_ACCEPTED":"ALL_DENIED"}),this.updatedBy="onDenyAllServices"}acceptSome(e){this.denyAll(),this.updateSome(e)}denySome(e){this.acceptAll(),this.updateSome(e)}updateSome(e){e.forEach(e=>{var t=e.id,n=e.consent;this.services[t].consent={given:!0===n,type:"EXPLICIT"}}),this.categories=(0,i.getCategoriesWithServicesConsent)(this.categories,this.services),this.updatedBy="onUpdateServices"}updateCategoriesConsents(e){e.forEach(e=>{var t=e.id,n=e.consent,r=this.categories[t];r&&r.dps&&Object.entries(r.dps).forEach(e=>{var t=(0,s._)(e,1)[0];this.services[t].consent={given:r.essential||!0===n,type:"EXPLICIT"}})}),this.categories=(0,i.getCategoriesWithServicesConsent)(this.categories,this.services),this.updatedBy="onUpdateServices"}getAcceptedServices(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";return Object.entries(this.services).reduce((t,n)=>{var r,i=(0,s._)(n,2),a=i[0],o=i[1];return(null===(r=o.consent)||void 0===r?void 0:r.given)&&(t["id"===e?a:o.name]=o),o.subservices&&Object.entries(o.subservices).forEach(n=>{var r=(0,s._)(n,2)[1];t["id"===e?a:r.name]=r}),t},{})}getServicesConsents(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";return Object.entries(this.services).reduce((t,n)=>{var r,i=(0,s._)(n,2),a=i[0],o=i[1];return t["id"===e?a:o.name]=(null===(r=o.consent)||void 0===r?void 0:r.given)===!0,o.subservices&&Object.entries(o.subservices).forEach(n=>{var r,i=(0,s._)(n,2)[1];t["id"===e?a:i.name]=(null===(r=i.consent)||void 0===r?void 0:r.given)===!0}),t},{})}getCategoriesConsents(){return Object.entries(this.categories).reduce((e,t)=>{var n=(0,s._)(t,2),r=n[0],i=n[1];return e[r]=i.state,e},{})}getCategoryConsent(e){var t,n=null===(t=this.categories[e])||void 0===t?void 0:t.state;if(n)return n}getCategoryIdFromServiceId(e){return this.services[e].category}getConsentStatus(){var e=0,t=0,n=0,r=0;return(Object.entries(this.services).forEach(i=>{var a,o,c=(0,s._)(i,2)[1];e++,(null===(a=c.consent)||void 0===a?void 0:a.given)===!1?t++:c.essential?r++:(null===(o=c.consent)||void 0===o?void 0:o.given)===!0&&n++}),0===t)?"ALL_ACCEPTED":t+r>=e?"ALL_DENIED":n{var r,i,a=(0,s._)(n,2),o=a[0],c=a[1];return"SOME_ACCEPTED"!==e||c.essential||(null===(r=c.consent)||void 0===r?void 0:r.given)!==!0?"SOME_DENIED"===e&&(null===(i=c.consent)||void 0===i?void 0:i.given)===!1&&t.push(o):t.push(o),t},[])}getService(e){if(this.services[e])return this.services[e];var t=(0,s._)(Object.entries(this.services).find(t=>{var n=(0,s._)(t,2)[1];return n.subservices&&n.subservices[e]})||[],2)[1];if(t&&t.subservices)return t.subservices[e]}constructor(e){var t=e.services,n=e.categories,r=e.granularConsentDisabled;this.services=t,this.categories=n,this.granularConsentDisabled=r}}}),r("5TDlN",function(t,r){e(t.exports,"GoogleConsentModeModel",()=>i);var s=n("7qJ26");class i{push(){for(var e=arguments.length,t=Array(e),n=0;n{var r,i,a,o,c=(0,s._)(e,2)[1];(null===(r=c.gcm)||void 0===r?void 0:r.analyticsStorage)&&(null===(i=c.consent)||void 0===i?void 0:i.given)&&(n.analyticsStorage=!0),!t&&(null===(a=c.gcm)||void 0===a?void 0:a.adStorage)&&(n.adStorage=(null===(o=c.consent)||void 0===o?void 0:o.given)&&(!0===n.adStorage||void 0===n.adStorage)),n.adsDataRedaction=!0!==n.adStorage}),n}apply(e,t,n){var r=this.getGcmState(t,n),s=r.analyticsStorage,i=r.adStorage,a=r.adsDataRedaction,o={adsDataRedaction:a,adStorage:i?"granted":"denied",adPersonalization:i?"granted":"denied",adUserData:i?"granted":"denied",analyticsStorage:s?"granted":"denied"};("EXPLICIT"===e||"denied"!==o.adStorage||"denied"!==o.analyticsStorage)&&this.push("consent","update",{ad_storage:o.adStorage,ad_personalization:o.adPersonalization,ad_user_data:o.adUserData,analytics_storage:o.analyticsStorage}),this.localStorageService.setGcmData(o),this.push("set","ads_data_redaction",!0===a),this.customEventService.dispatchUcGcmUpdateEvent(o)}constructor(e,t,n){this.developerId=e.developerId,this.localStorageService=t,this.customEventService=n,this.push("set",e.developerId,!0)}}}),r("14GuN",function(t,n){e(t.exports,"I18nModel",()=>r);class r{getService(e){return this.services[e]}getServiceHasDetails(e){var t=this.getService(e);return t&&void 0!==t.details}constructor(e){var t=e.base,n=e.firstLayer,r=e.secondLayer,s=e.services,i=e.categories;this.base=t,this.categories=i,this.services=s,this.firstLayer=n,this.secondLayer=r}}}),r("9zx7v",function(t,n){e(t.exports,"LanguagesModel",()=>r);class r{getHasLanguage(e){return!!this.languages&&"object"==typeof this.languages[e]}getLanguageScreenDirection(e){return this.languages&&this.languages[e]&&this.languages[e].rtl?"rtl":"ltr"}constructor(e){var t=e.languages;this.languages=t}}}),r("d2W83",function(t,n){e(t.exports,"SettingModel",()=>r);class r{getType(){return this.type}getId(){return this.id}getVersion(){return this.version}constructor(e){var t=e.type,n=e.id,r=e.version,s=e.abVariant;this.type=t,this.id=n,this.version=r,s&&(this.abVariant=s)}}}),r("OkLRq",function(t,n){e(t.exports,"TemplateModel",()=>r);class r{constructor(e){var t=e.id,n=e.style,r=e.html;this.id=t,this.style=n,this.html=r}}}),r("5N1IW",function(t,n){e(t.exports,"UiModel",()=>r);class r{getLanguage(){return this.language}setLanguage(e){this.language=e}getInitialView(){return this.initialView}getClosedView(){return this.closedView}constructor(e){var t=e.initialView,n=e.closedView,r=e.theme,s=e.language,i=e.gpcSignalHonored,a=e.dpsDisplayFormat,o=e.poweredByLogo,c=e.lifecycleStatus;this.isCmpPreviewPage=!1,this.closedView=n,this.theme=r||"uc",this.language=s,this.gpcSignalHonored=i,this.initialView=t,this.dpsDisplayFormat=a,this.poweredByLogo=null!=o?o:"UC",this.lifecycleStatus=null!=c?c:"active","/browser-ui/preview/index.html"===document.location.pathname&&"app.usercentrics.eu"===document.location.hostname&&(this.isCmpPreviewPage=!0)}}}),r("ayOF0",function(t,n){e(t.exports,"default",()=>r);class r{getEntries(e){return e.reduce((e,t)=>{var n=t.entryType,r=t.name;if(!["mark","measure","paint"].includes(n)&&!r.startsWith("data:")&&!["visible"].includes(r)&&!/^https:\/\/([a-z0-9.]+).usercentrics\.eu/.test(r)){var s=this.getEntry(r);if(-1===e.indexOf(s))return[...e,s]}return e},[])}getEntry(e){var t,n=e.split("/");return e.indexOf("://")>-1?(t=`${n[2]}`,n[3]&&(t+=`/${n[3]}`)):(t=`${n[0]}`,n[1]&&(t+=`/${n[1]}`)),t=`${t.split("?")[0]}`}send(e){this.apiService.sendTagLoggerData(e)}save(){if(Object.prototype.hasOwnProperty.call(window,"performance")&&"function"==typeof performance.getEntries){var e=this.getEntries(window.performance.getEntries()),t=window.location.href;this.localStorageService.saveTagloggerData({settingsId:this.settingsId,source:t,entries:e})}}constructor(e){var t=e.settingsId,n=e.apiService,r=e.localStorageService;this.settingsId=t,this.apiService=n,this.localStorageService=r,window.addEventListener("beforeunload",()=>{document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&this.save()})}),window.addEventListener("UC_UI_INITIALIZED",()=>{var e=this.localStorageService.getTagloggerData();e&&.5>=Math.random()&&(this.send(e),this.localStorageService.removeTagLoggerData())})}}}),r("3G7LV",function(t,r){e(t.exports,"getCmpController",()=>o);var s,i=n("h2FSh"),a=n("dIRcU"),o=(s=(0,i._)(function(e,t,r){var s;return(0,a.__generator)(this,function(i){switch(i.label){case 0:switch(e.setting.type){case"GDPR":return[3,1];case"US":return[3,3];case"TCF":return[3,5]}return[3,9];case 1:return[4,n("de6MN")];case 2:return[2,new(i.sent()).GdprCmpController(e,t,{consentData:null==r?void 0:r.consentData,settingsCoreData:null==r?void 0:r.settingsCoreData,uiVersion:null==r?void 0:r.uiVersion,isConsentWebhookEnabled:null==r?void 0:r.isConsentWebhookEnabled,isCrossDeviceEnabled:null==r?void 0:r.isCrossDeviceEnabled})];case 3:return[4,n("l9fTE")];case 4:return[2,new(i.sent()).UsCmpController(e,t,{consentData:null==r?void 0:r.consentData,uiVersion:null==r?void 0:r.uiVersion,isConsentWebhookEnabled:null==r?void 0:r.isConsentWebhookEnabled,isCrossDeviceEnabled:null==r?void 0:r.isCrossDeviceEnabled})];case 5:return[4,n("gmYho")];case 6:if(s=new(i.sent()).TcfCmpController(e,t,{consentData:null==r?void 0:r.consentData,settingsCoreData:null==r?void 0:r.settingsCoreData,uiVersion:null==r?void 0:r.uiVersion,isConsentWebhookEnabled:null==r?void 0:r.isConsentWebhookEnabled,isCrossDeviceEnabled:null==r?void 0:r.isCrossDeviceEnabled}),!(e.ui.language&&"en"!==e.ui.language))return[3,8];return[4,s.tcf.changeLanguage(e.ui.language,e.iab)];case 7:i.sent(),i.label=8;case 8:return[2,s];case 9:throw Error("Undefined CMP setting type");case 10:return[2]}})}),function(e,t,n){return s.apply(this,arguments)})}),r("de6MN",function(e,t){e.exports=n("7t28S")(n("fmdoF").resolve("5aKgu")).then(()=>n("kRyoT"))}),r("l9fTE",function(e,t){e.exports=n("7t28S")(n("fmdoF").resolve("5TAwo")).then(()=>n("6WH5I"))}),r("gmYho",function(e,t){e.exports=Promise.all([n("7t28S")(n("fmdoF").resolve("fXplr")),n("7t28S")(n("fmdoF").resolve("aRnz9"))]).then(()=>n("95tpa"))}),r("gIDkr",function(t,n){e(t.exports,"initCdcs",()=>r);var r=e=>{var t=new Date;t.setFullYear(t.getFullYear()+1);var n=(e,n,r)=>{document.cookie=`${e}=${n};expires=${t.toUTCString()};domain=${r}`},r=(e=>{var t=document.cookie.match(RegExp(`(^| )${e}=([^;]+)`));if(t)return t[2]})("ucString");r&&localStorage.setItem("ucString",r),window.addEventListener("UC_CONSENT_CHANGED",()=>{var t=localStorage.getItem("ucString");t&&n("ucString",t,e)})}}),r("280OB",function(t,n){e(t.exports,"isUserBot",()=>r);var r=e=>RegExp("AdsBot-Google|AdsBot-Google-Mobile|bingbot/|BingPreview/|Chrome-Lighthouse|DuckDuckBot/|Feedfetcher-Google|Googlebot/|Google Favicon|Googlebot-Image/|Googlebot-Mobile/|Googlebot-News|Googlebot-Video/|Google Page Speed Insights|Google PP|Google-Read-Aloud|Google Search Console|Google-SearchByImage|Google-Speakr|Google-Structured-Data-Testing-Tool|Google Web Preview|Slurp/|Storebot-Google|YahooSeeker|YahooCacheSystem|Yahoo! Site Explorer Feed Validator|Yahoo! Slurp","i").test(e)}),r("bVBWk",function(t,n){e(t.exports,"setTrackingPixel",()=>s);var r={PROD:{URI:"https://app.usercentrics.eu",EU_URI:"https://app.eu.usercentrics.eu"},SANDBOX:{URI:"https://app.usercentrics-sandbox.eu",EU_URI:"https://app.usercentrics-sandbox.eu"}},s=(e,t,n)=>{var s,i,a=(null===(i=window.ucCmpConfig)||void 0===i?void 0:null===(s=i.proxy)||void 0===s?void 0:s.analytics)?window.ucCmpConfig.proxy.analytics:r[t?"SANDBOX":"PROD"][n?"EU_URI":"URI"];new Image().src=`${a}/session/1px.png?settingsId=${e}`}}),r("lXnUz",function(e,t){e.exports=n("7t28S")(n("fmdoF").resolve("4LJJO")).then(()=>n("gsF0O"))})})();