(function() { try {var handle=(n=>{function o(n){window.Criteo=window.Criteo||{},window.Criteo.oneTagConfig=n}return n.default=function(n){o(n.oneTagConfig)},n.setConfig=o,n})({}); handle.default({"urlsAsLink":[],"oneTagConfig":{"partnerId":[94142],"visitEventEnabled":true,"visitEventDelay":null,"fpIdentifier":null,"dynamic":true,"gumDomain":"gum.criteo.com","fullUrlMaxLength":null,"previousUrlMaxLength":null,"privateModeDetectionEnabled":true,"blockedSteps":[],"excludedReferrerParams":[],"addClientSideSupportForId5":false,"useStaticConsentForId5":false,"shouldFillPageId":false,"enableOffsiteProjection":true,"enabledCspViolationDetection":true,"allowedDomainsForCsp":["criteo.com","criteo.net","crto.in","localhost","127.0.0.1","hlserve.com"],"styleIframes":false}}); !function(L){"use strict";function o(e,a,s,c){return new(s=s||Promise)(function(n,t){function i(e){try{r(c.next(e))}catch(e){t(e)}}function o(e){try{r(c.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(i,o)}r((c=c.apply(e,a||[])).next())})}function r(i,o){var r,a,s,c={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,a=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(s=0<(s=c.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]this.sentRequestLengthHardLimit?t=[]:(o.length>this.sentRequestLengthSoftLimit||0===this.events.length)&&(t=[],n.push(this.sendRequest(i.acceptedFormat,o)));return[4,Promise.all(n)];case 1:return e.sent(),[2]}})})},s.prototype.addAllowedDomains=function(e){e=i(this.allowedHostnames,e);this.allowedHostnames=Array.from(new Set(e))},s.prototype.isCspRequestBlockedByCsp=function(e){e=this.toUrl(e);return void 0!==e&&e.hostname===this.backendHostname&&e.pathname===this.pathName},s.prototype.isHostnameListened=function(e){var t,e=this.toUrl(e);return void 0!==e&&(t=e.hostname,this.allowedHostnames.some(function(e){return t===e||t.endsWith("."+e)}))},s.prototype.toUrl=function(e){try{return new URL(e)}catch(e){}},s.prototype.createCspViolationRequest=function(e){var t=this;return{acceptedFormat:this.getAcceptedFormat(),callChainOrigin:this.callChainOrigin,partnerIds:this.partnerIds,violations:e.map(function(e){return t.createCspViolation(e)})}},s.prototype.createCspViolation=function(e){var t=e.originalPolicy.split(" ")[0];return{blockedUri:e.blockedURI,clientRequestId:this.clientRequestId,documentUri:e.documentURI,effectiveDirective:e.effectiveDirective,originalDirective:t,sourceFile:e.sourceFile}},s.prototype.getAcceptedFormat=function(){switch(this.callChainOrigin){case h.OneTagStatic:case h.OneTagDynamic:return a.Script;default:var e=this.callChainOrigin;throw new Error("Unhandled case: "+e)}},s.prototype.sendRequest=function(n,i){return o(this,void 0,void 0,function(){var t;return r(this,function(e){switch(e.label){case 0:switch(n){case a.Script:t=this.sendScriptRequest.bind(this);break;case a.Fetch:t=this.sendFetchRequest.bind(this);break;case a.Frame:t=this.sendFrameRequest.bind(this);break;default:throw new Error("Unhandled case: "+n)}return[4,t(i)];case 1:return e.sent(),[2]}})})},s.prototype.sendScriptRequest=function(i){return o(this,void 0,void 0,function(){var t,n=this;return r(this,function(e){return(t=this.window.document.createElement("script")).type="text/javascript",t.async=!0,t.title="Criteo CSP Script",t.src=i,this.window.document.body.appendChild(t),setTimeout(function(){return n.window.document.body.removeChild(t)},this.elementRemovalDelayMs),[2]})})},s.prototype.sendFetchRequest=function(t){return o(this,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,fetch(t)];case 1:case 2:return e.sent(),[3,3];case 3:return[2]}})})},s.prototype.sendFrameRequest=function(i){return o(this,void 0,void 0,function(){var t,n=this;return r(this,function(e){return(t=this.window.document.createElement("iframe")).setAttribute("allow",""),t.width="0",t.height="0",t.style.display="none",t.setAttribute("aria-hidden","true"),t.title="Criteo CSP Frame",t.src=i,this.window.document.body.appendChild(t),setTimeout(function(){return n.window.document.body.removeChild(t)},this.elementRemovalDelayMs),[2]})})};var a,h,U=s;function s(e,t,n){void 0===n&&(n=window),this.pathName="/api/csm/csp",this.defaultAllowedHostnames=["criteo.com","criteo.net","crto.in","localhost","127.0.0.1"],this.allowedHostnames=i(this.defaultAllowedHostnames),this.elementRemovalDelayMs=1e3,this.defaultFlushIntervalMs=1e3,this.sentRequestLengthSoftLimit=1e3,this.sentRequestLengthHardLimit=6e3,this.events=[],this.partnerIds=void 0,this.clientRequestId=void 0,this.intervalHandle=0,this.isRegistered=!1,this.window=n,this.backendHostname=e,this.callChainOrigin=t,this.setFlushInterval(this.defaultFlushIntervalMs)}var f,t,N="OneTag",W=["color: #fff;","background: #ff4f00;","display: inline-block;","padding: 1px 4px;","border-radius: 3px;"].join(" "),I=((S=f=f||{})[S.Off=0]="Off",S[S.Error=1]="Error",S[S.Warning=2]="Warning",S[S.Info=3]="Info",S[S.Debug=4]="Debug",c.setLogLevel=function(e){c.level=e,this.debug("Log level set to "+f[e])},c.debug=function(){for(var e=[],t=0;t