window.Criteo=window.Criteo||{};window.Criteo.oneTagConfig={partnerId:90629,visitEventEnabled:true,fpIdentifier:undefined,waitForGum:true,dynamic:!0,gumDomain:"gum.criteo.com",privateModeDetectionEnabled:true}; !function(){"use strict";function s(e,t){var n,i,o=null===(n=window.Criteo)||void 0===n?void 0:n.oneTagConfig;return null!==(i=o&&o[e])&&void 0!==i?i:t}var c="5.16.1";function o(e){try{return JSON.parse(e)}catch(e){return}}var a=(e.prototype.getCMPFrame=function(){for(var e,t=this.currentWindow,n=0;n<10;++n){try{t.frames.__cmpLocator&&(e=t)}catch(e){}if(t===this.currentWindow.top)break;t=t.parent}return e},e.prototype.hasCallerFunctionInFrame=function(){return"function"==typeof this.currentWindow.__cmp},e.prototype.readyToRetrieve=function(){return this.hasCallerFunctionInFrame()||void 0!==this.getCMPFrame()},e.prototype.pingWithTimeout=function(i,e,t,n){function o(e,t){r.logger(t),clearTimeout(e),n()}var r=this;return window.setTimeout(function(){var n=window.setTimeout(function(){o(i,"Timeout: Unable to get ping return after "+e+"ms")},e);r.executeCommand("ping",null,function(e,t){clearTimeout(n),t?(r.logger("GDPR CMP ping returned"),!0!==e.cmpLoaded&&o(i,"GDPR ping returned cmpLoaded which is not true"),r.logger("GDPR ping returned cmpLoaded which is true")):o(i,"Error sending ping to GDPR CMP")})},t)},e.prototype.retrieveConsent=function(e){this.executeRetrieveConsent("getConsentData",null,e)},e.prototype.retrieveConsentForPassback=function(e){this.executeRetrieveConsent("getVendorConsents",[91],e)},e.prototype.executeRetrieveConsent=function(e,t,n){var i=this,o=!1,r=window.setTimeout(function(){o=!0,i.logger("Timeout: Unable to resolve GDPR consent after "+i.timeout+"ms"),n(void 0)},this.timeout),a=this.pingWithTimeout(r,this.pingTimeout,this.pingDelay,function(){o=!0,i.logger("Timeout: Unable to ping GDPR API after "+i.pingTimeout+"ms"),n(void 0)});this.executeCommand(e,t,function(e,t){clearTimeout(a),o||(clearTimeout(r),t?(i.logger("GDPR consent retrieved"),i.processConsentData(e,n)):(i.logger("Error retrieving GDPR consent data from CMP"),n(void 0)))})},e.prototype.processConsentData=function(e,t){if(e){var n={};void 0!==e.consentData&&(n.consentData=e.consentData),void 0!==e.gdprApplies&&(n.gdprApplies=!!e.gdprApplies),t(n)}else this.logger("Unable to read GDPR consent data from CMP"),t(void 0)},e.prototype.executeCommand=function(e,t,n){var r=this;if(!this.hasCallerFunctionInFrame()){this.logger("No GDPR CMP defined on current frame");var a=this.getCMPFrame();this.currentWindow.__cmp=function(e,t,n){if(!a)return r.logger("GDPR CMP not found in any frame"),void n({msg:"GDPR CMP not found in any frame"},!1);var i=Math.random().toString(10),o={__cmpCall:{command:e,parameter:t,callId:i}};r.cmpCallbacks[i]=n,a.postMessage(o,"*")},this.currentWindow.addEventListener("message",function(e){var t="string"==typeof e.data?o(e.data):e.data;if(t&&t.__cmpReturn&&t.__cmpReturn.callId&&t.__cmpReturn.returnValue){var n=t.__cmpReturn;r.cmpCallbacks&&r.cmpCallbacks[n.callId]&&(r.cmpCallbacks[n.callId](n.returnValue,n.success),delete r.cmpCallbacks[n.callId])}},!1)}this.currentWindow.__cmp(e,t,n)},e);function e(e,t,n){void 0===n&&(n=function(e){}),this.cmpCallbacks={},this.currentWindow=e,this.timeout=t.tcfTimeout,this.pingTimeout=t.tcfPingTimeout,this.pingDelay=t.tcfPingDelay,this.logger=n}var u=(t.prototype.getCMPFrame=function(){for(var e,t=this.currentWindow,n=0;n<10;++n){try{t.frames.__tcfapiLocator&&(e=t)}catch(e){}if(t===this.currentWindow.top)break;t=t.parent}return e},t.prototype.hasCallerFunctionInFrame=function(){return"function"==typeof this.currentWindow.__tcfapi},t.prototype.readyToRetrieve=function(){return this.hasCallerFunctionInFrame()||void 0!==this.getCMPFrame()},t.prototype.pingWithTimeout=function(n,e,t,i){function o(e,t){r.logger(t),clearTimeout(e),i()}var r=this;return window.setTimeout(function(){var t=window.setTimeout(function(){o(n,"Timeout: Unable to get TCFv2 ping return after "+e+"ms")},e);r.executeCommand("ping",2,function(e){clearTimeout(t),r.logger("TCFv2 CMP ping returned in ms"),"error"===e.cmpStatus?o(n,"Error status on ping to TCFv2 CMP"):!0!==e.cmpLoaded?o(n,"TCFv2 ping returned cmpLoaded = false"):r.logger("TCFv2 ping returned cmpLoaded = true")})},t)},t.prototype.retrieveConsent=function(n){var i=this,o=!1,r=window.setTimeout(function(){o=!0,i.logger("Timeout: Unable to resolve TCFv2 consent after "+i.timeout+"ms"),n(void 0)},this.timeout),a=this.pingWithTimeout(r,this.pingTimeout,this.pingDelay,function(){o=!0,i.logger("Timeout: Unable to ping TCFv2 API after "+i.pingTimeout+"ms"),n(void 0)});this.executeCommand("getTCData",2,function(e,t){clearTimeout(a),o||(clearTimeout(r),t?(i.logger("TCFv2 consent retrieved in ms"),i.processResponseData(e,n)):(i.logger("Error retrieving TCFv2 consent data from CMP"),n(void 0)))},[91])},t.prototype.processResponseData=function(e,t){var n;if(e){var i={};void 0!==e.tcString&&(i.consentData=e.tcString),void 0!==e.gdprApplies&&(i.gdprApplies=!!e.gdprApplies),i.version=e.tcfPolicyVersion?e.tcfPolicyVersion:2,i.purposes=null===(n=null==e?void 0:e.purpose)||void 0===n?void 0:n.consents,t(i)}else this.logger("Unable to read GDPR consent data from CMP"),t(void 0)},t.prototype.executeCommand=function(e,t,n,i){var a=this;if(!this.hasCallerFunctionInFrame()){this.logger("No TCFv2 CMP defined on current frame");var s=this.getCMPFrame();this.currentWindow.__tcfapi=function(e,t,n,i){if(!s)return a.logger("TCFv2 CMP not found in any frame"),void n({msg:"TCFv2 CMP not found in any frame"},!1);var o=Math.random().toString(10),r={__tcfapiCall:{command:e,version:t,parameter:i,callId:o}};a.cmpCallbacks[o]=n,s.postMessage(r,"*")},this.currentWindow.addEventListener("message",function(e){var t="string"==typeof e.data?o(e.data):e.data;if(t&&t.__tcfapiReturn&&t.__tcfapiReturn.callId&&t.__tcfapiReturn.returnValue){var n=t.__tcfapiReturn;a.cmpCallbacks&&a.cmpCallbacks[n.callId]&&"function"==typeof a.cmpCallbacks[n.callId]&&(a.cmpCallbacks[n.callId](n.returnValue,n.success),delete a.cmpCallbacks[n.callId])}},!1)}this.currentWindow.__tcfapi(e,t,n,i)},t);function t(e,t,n){void 0===n&&(n=function(e){}),this.cmpCallbacks={},this.currentWindow=e,this.timeout=t.tcfTimeout,this.pingTimeout=t.tcfPingTimeout,this.pingDelay=t.tcfPingDelay,this.logger=n}var l=(n.prototype.getCMPFrame=function(){for(var e,t=this.currentWindow,n=0;n<10;++n){try{t.frames.__uspapiLocator&&(e=t)}catch(e){}if(t===this.currentWindow.top)break;t=t.parent}return e},n.prototype.hasCallerFunctionInWindow=function(){return"function"==typeof this.currentWindow.__uspapi},n.prototype.readyToRetrieve=function(){return this.hasCallerFunctionInWindow()||void 0!==this.getCMPFrame()},n.prototype.retrieveConsent=function(n){var i=this,o=!1,r=window.setTimeout(function(){o=!0,i.logger("Timeout: Unable to resolve CCPA consent after "+i.timeout+"ms"),n(void 0)},this.timeout);this.executeCommand("getUSPData",1,function(e,t){o||(clearTimeout(r),t?(i.logger("CCPA consent retrieved"),i.processResponseData(e,n)):(i.logger("Error retrieving CCPA consent data from CMP"),n(void 0)))})},n.prototype.processResponseData=function(e,t){e?t(e):(this.logger("Unable to read CCPA consent data from CMP"),t(void 0))},n.prototype.executeCommand=function(e,t,n){var r=this;if(!this.hasCallerFunctionInWindow()){this.logger("No CCPA CMP defined on current frame");var a=this.getCMPFrame();this.currentWindow.__uspapi=function(e,t,n){if(!a)return r.logger("CCPA CMP not found in any frame"),void n({msg:"CCPA CMP not found in any frame"},!1);var i=Math.random().toString(10),o={__uspapiCall:{command:e,parameter:t,callId:i}};r.uspapiCallbacks[i]=n,a.postMessage(o,"*")},this.currentWindow.addEventListener("message",function(e){var t="string"==typeof e.data?o(e.data):e.data;if(t&&t.__uspapiReturn&&t.__uspapiReturn.callId&&t.__uspapiReturn.returnValue){var n=t.__uspapiReturn;r.uspapiCallbacks&&r.uspapiCallbacks[n.callId]&&(r.uspapiCallbacks[n.callId](n.returnValue,n.success),delete r.uspapiCallbacks[n.callId])}},!1)}this.currentWindow.__uspapi(e,t,n)},n.prototype.hasUserOptOut=function(e){return!(!e||!e.uspString||"1YNY"===e.uspString.toUpperCase()||"1YNN"===e.uspString.toUpperCase()||"1YN-"===e.uspString.toUpperCase()||"1-N-"===e.uspString.toUpperCase()||"1---"===e.uspString)},n);function n(e,t,n){void 0===n&&(n=function(e){}),this.uspapiCallbacks={},this.currentWindow=e,this.timeout=t.uspApiTimeout,this.logger=n}var p,i,r="OneTag",d=["color: #fff;","background: #ff4f00;","display: inline-block;","padding: 1px 4px;","border-radius: 3px;"].join(" ");(i=p=p||{})[i.Off=0]="Off",i[i.Error=1]="Error",i[i.Warning=2]="Warning",i[i.Info=3]="Info",i[i.Debug=4]="Debug";var O=(h.setLogLevel=function(e){h.level=e,this.debug("Log level set to "+p[e])},h.debug=function(){for(var e=[],t=0;t