(()=>{var r,s=108329,L=((A=r=r||{})[A.Error=0]="Error",A[A.Warning=1]="Warning",A[A.Debug=2]="Debug",["color: #fff;","background: #ff8f1c;","display: inline-block;","padding: 1px 4px;","border-radius: 3px;"].join(" ")),d=(o.Log=function(e,t){var n;o.LOGLEVEL{try{return e.localStorage}catch(e){}})(e||window),this.localStorageEnabled=this.checkLocalStorage(t)}m.prototype.checkTcfPurposeOne=function(e){return e&&null!=e&&e.gdprConsent&&e.gdprConsent.purposes?!0===e.gdprConsent.purposes[1]:"AE"==this.USER_COUNTRY_MACRO||!x(this.USER_COUNTRY_MACRO)},m.prototype.setCookie=function(e,t,n,o,r){void 0===r&&(r=!1);var i=o||document,s=i.location.hostname,a=new Date,c=(a.setTime(a.getTime()+60*n*60*1e3),"expires="+a.toUTCString());if(r)for(var u=s.split("."),p=1;p{var t;try{return null!=(t=e.top)&&t.location.toString(),1}catch(e){}})(e)}function ne(e){if(void 0===e&&(e=window),!te(window))for(var t=0;t<10;t++){if(void 0!==e.googletag)return e.googletag;if(e===e.top)break;e=e.parent}return window.googletag}function oe(e){var t=ne();t||(t={},window.googletag=t),t.cmd=t.cmd||[],t.cmd.push(e)}ie.generateCacheBuster=function(){return Math.floor(99999999999*Math.random())};var R,re=ie;function ie(){}(A=R=R||{})[A.Unspecified=0]="Unspecified",A[A.AMP=1]="AMP",D.prototype.buildUrl=function(e,t,n,o,r){void 0===n&&(n=R.Unspecified);var i=D.CRITEO_BIDDER_URL+this.getHandlerPath(e,t);return i+="?ptv="+s,!0===t.isAdBlocked&&(i+="&abp=1"),i=this.appendCommonParameters(i,e,o,r),i=(i+=t.isOptOut?"&optout=1":"")+(t.bundle?"&bundle="+t.bundle:""),n!==R.Unspecified&&(i+="&im="+n),i=(i+="&cb="+String(re.generateCacheBuster()))+t.getContextFlags()},D.prototype.buildErrorUrl=function(){return D.CRITEO_BIDDER_URL+D.CRITEO_ERROR_HANDLER},D.prototype.appendCommonParameters=function(e,t,n,o){return e+="&profileId="+String(t),void 0!==n&&(e+="&av="+String(n)),void 0!==o&&(e+="&wv="+encodeURIComponent(o)),e},D.prototype.getHandlerPath=function(e,t){var n;if(this.auditMode)return D.CRITEO_BIDDER_AUDIT_HANDLER;if(334==e&&void 0!==t.slotsExt)for(var o in t.slotsExt){o=t.slotsExt[o];if(void 0!==(null==(n=null==o?void 0:o.data)?void 0:n.gtin))return D.CRITEO_COMMERCE_EXPERIENCE_3_HANDLER;if(void 0!==(null==(n=null==o?void 0:o.data)?void 0:n.keyword))return D.CRITEO_COMMERCE_EXPERIENCE_4_HANDLER}return D.CRITEO_BIDDER_HANDLER},D.CRITEO_BIDDER_URL="https://bidder.criteo.com/",D.CRITEO_BIDDER_HANDLER="cdb",D.CRITEO_COMMERCE_EXPERIENCE_3_HANDLER="experiences/2023-10/dynamic-buttons",D.CRITEO_COMMERCE_EXPERIENCE_4_HANDLER="experiences/2023-10/product-recommendation",D.CRITEO_ERROR_HANDLER="error",D.CRITEO_BIDDER_AUDIT_HANDLER="prebid/audit";var se=D;function D(e){this.auditMode=e=void 0===e?!1:e}ae.prototype.sendEventsToBeacon=function(e,t){navigator.sendBeacon&&e&&navigator.sendBeacon(t,JSON.stringify(e))};var A=ae;function ae(){this.urlBuilder=new se}U.CreateRunning=function(){var e=new U;return e.start(),e},U.CreateWithStartTime=function(e){var t=new U(!1);return t.startTime=e,t},U.TimeSincePageLoad=function(){if(window.performance){if(window.performance.now)return window.performance.now();if(window.performance.timing&&window.performance.timing.navigationStart)return(new Date).getTime()-performance.timing.navigationStart}return 0},U.prototype.start=function(){this.startTime=this.now()},U.prototype.elapsed=function(){return this.now()-this.startTime};var O=U;function U(e){(e=void 0===e?!0:e)&&window.performance&&window.performance.now?this.now=window.performance.now.bind(window.performance):Date.now?this.now=Date.now:this.now=function(){return(new Date).getTime()}}y(M,ce=A),M.prototype.sendSetTagLoadedTime=function(){this.sendEvents({eventId:"TagLoaded",elapsed:O.TimeSincePageLoad()})},M.prototype.sendSetEspPromiseTime=function(){this.sendEvents({eventId:"SetEspPromise",elapsed:O.TimeSincePageLoad()})},M.prototype.sendReturnEspPromiseToGptTime=function(){this.sendEvents({eventId:"ReturnEspPromiseToGpt",elapsed:O.TimeSincePageLoad()})},M.prototype.sendResolveEspPromiseTime=function(){this.sendEvents({eventId:"ResolveEspPromise",elapsed:O.TimeSincePageLoad()})},M.prototype.sendEvents=function(e){};var ce,ue=M;function M(e,t){var n=ce.call(this)||this;return n.topFrame=e,n.isEligibleForCsmEvents=t,n.requestId=crypto.randomUUID(),n}function pe(e,a,t,n){void 0===e&&(e=null==(o=window.Criteo_identitytag_108329||window.Criteo)?void 0:o.config),void 0===n&&(n=(new Date).getUTCMilliseconds()),this.sessionRandomId=n;var c=N.getHighestAccessibleWindow(window),u=N.getHighestAccessibleUrl(c),p=new ue(c.topFrame,this.isEligibleForCsmEvents());p.sendSetTagLoadedTime();var o,l="1"===(e=>{var t={};if(1<(e=e.split("?")).length)for(var n=0,o=e[1].split("&");n{try{e.call(t,n,o)}catch(e){return e}})(r,o,function(e){n||(n=!0,(o!==e?S:b)(t,e))},function(e){n||(n=!0,I(t,e))},t._label);!n&&e&&(n=!0,I(t,e))},e)}function E(e,t,n){var o,r;t.constructor===e.constructor&&n===v&&t.constructor.resolve===C?(o=e,(r=t)._state===P?b(o,r._result):r._state===T?I(o,r._result):R(r,void 0,function(e){return S(o,e)},function(e){return I(o,e)})):void 0!==n&&c(n)?N(e,t,n):b(e,t)}function S(t,e){if(t===e)I(t,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof e,null===e||"object"!=n&&"function"!=n)b(t,e);else{n=void 0;try{n=e.then}catch(e){return void I(t,e)}E(t,e,n)}var n}function G(e){e._onerror&&e._onerror(e._result),D(e)}function b(e,t){e._state===w&&(e._result=t,e._state=P,0!==e._subscribers.length)&&s(D,e)}function I(e,t){e._state===w&&(e._state=T,e._result=t,s(G,e))}function R(e,t,n,o){var r=e._subscribers,i=r.length;e._onerror=null,r[i]=t,r[i+P]=n,r[i+T]=o,0===i&&e._state&&s(D,e)}function D(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var o,r=void 0,i=e._result,s=0;s