/*! copyright 2025 Aditude, Inc - Prebid - production - Updated: 2025-07-12T10:56:33.045Z, v1.4.0, soundcloud-yUijW49gH8/soundcloud.com/prebid-wrapper 09b75fb9d0c48c33160f b26bf1a53008e730f0e0 */ !function(){var e,t,n,r={659:function(e,t,n){var r=n(51873),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},1882:function(e,t,n){var r=n(72552),i=n(23805);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},2532:function(e,t,n){"use strict";var r=n(22188);t.A=function(e){let t={standard:{storageAllowed:!0}};return"mediaTypes"in e?t.standard.bidCpmAdjustment=function(e={}){return(t,n,i)=>{try{let a=(null==n?void 0:n.bidder)||(null==i?void 0:i.bidder),d=Object.keys((null==i?void 0:i.mediaTypes)||{}),l=(null==n?void 0:n.adUnitCode)||(null==i?void 0:i.adUnitCode),c=null==n?void 0:n.mediaType;if(c||(c=d.includes("banner")?"banner":d.find(Boolean)),c||(c="banner"),"banner"===c&&a in e){let n=e[a];return"number"==typeof n&&(t*=n),t}let u=e.mediaTypes;if("object"!=typeof u)return t;let p=(e,t)=>{let n=(null==t?void 0:t[a])||(null==t?void 0:t._default),r=null==t?void 0:t._revShareCpm;return"number"==typeof n&&(e*=n),"number"==typeof r&&(e=Math.max(0,e-r)),e},f=((0,r.b)().adUnits||[]).filter(e=>e.code===l);if("video"==c){var o,s;let e=null==i||null==(s=i.mediaTypes)||null==(o=s.video)?void 0:o.context;if(["instream","adpod"].includes(e))return p(t,null==u?void 0:u.instream);if(["outstream"].includes(e)){let e=new Set;if(f.forEach(t=>Object.keys(t.mediaTypes).forEach(t=>e.add(t))),e.has("video")&&e.has("banner"))return p(t,null==u?void 0:u.outstream_multiformat);return p(t,null==u?void 0:u.outstream)}}else if(c in u)return p(t,u[c])}catch(e){console.warn(e)}return t}}(e):Object.keys(e).filter(t=>"number"==typeof e[t]).forEach(n=>{let r=e[n]||1;t.standard.bidCpmAdjustment||"number"!=typeof r||(t[n]=t[n]||{},t[n].storageAllowed=!0,t[n].bidCpmAdjustment=e=>e*r)}),()=>t}},2790:function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.A=class{setState(e){let t=[];for(let n in e)n in this.props&&(t.push(n),this.props[n]=e[n]);this.isReady||(this.isReady=!0,this.triggerReadyCallbacks()),this.triggerStateChangeCallbacks(t)}onStateChange(e,t){this.onStateChangeCallbacks.push({cb:e,depProps:t})}triggerStateChangeCallbacks(e){this.onStateChangeCallbacks.length<1||this.onStateChangeCallbacks.filter(t=>t.depProps.some(t=>e.includes(t))).forEach(e=>{e.cb(this.props)})}onReady(e){this.isReady?e():this.onReadyCallbacks.push(e.bind(this))}triggerReadyCallbacks(){this.onReadyCallbacks.length<1||(this.onReadyCallbacks.forEach(e=>e()),this.onReadyCallbacks=[])}constructor(e){n(this,"isReady",!1),n(this,"onStateChangeCallbacks",[]),n(this,"onReadyCallbacks",[]),n(this,"props",void 0),this.props=e}}},2853:function(e,t,n){"use strict";n.d(t,{E3:function(){return s},VC:function(){return a}});var r=n(14900),i=n(77467),o=n(9337);n.g.TUDE_SERVE_LOADED=!1;let s=(e="latest")=>{n.g.TUDE_SERVE_LOADED||document.querySelector("script[data-tudeserve]")||(n.g.TUDE_SERVE_LOADED=!0,(0,r.loadTudeServe)(e,"production"),l())},a=e=>{d().cmd.push(e)},d=()=>(window.tudeserve=window.tudeserve||{cmd:[]},window.tudeserve),l=()=>{a(e=>{e.events().on("bid_won",({bid:e,slot:t})=>{t.bids.filter(t=>t!==e).forEach(e=>{var t,n;if("amazon"===e.source&&(null==(t=e.sourceData)?void 0:t.amzniid)){let t=e.sourceData.slotID,n=e.sourceData.amzniid;(0,i.BI)({slotID:t,amzniid:n})}"prebid"===e.source&&(null==(n=e.sourceData)?void 0:n.adId)&&(e.sourceData.isRequesting=!1)})}),(0,o.Su)()&&(e.events().on("viewable",({bid:e,slot:t})=>{(0,o.Su)()&&(0,o.bf)("impressionViewable",{adServer:"tudeserve",adUnitPath:t.adUnit,bidder:e.bidder,cpm:e.amount,slotElementId:t.elementId,source:e.source,currency:e.currency,mediaType:e.mediaType})}),e.events().on("no_bid",({slot:e})=>{(0,o.Su)()&&(0,o.bf)("unfilledImpression",{adServer:"tudeserve",adUnitPath:e.adUnit,slotElementId:e.elementId})}),e.events().on("bid_won",({bid:e,slot:t})=>{(0,o.Su)()&&(0,o.bf)("bidWon",{adServer:"tudeserve",adUnitPath:t.adUnit,bidder:e.bidder,cpm:e.amount,slotElementId:t.elementId,source:e.source,currency:e.currency,mediaType:e.mediaType})}),e.events().on("request",({slot:e})=>{(0,o.Su)()&&(0,o.bf)("slotRequested",{adServer:"tudeserve",adUnitPath:e.adUnit,slotElementId:e.elementId})}),e.events().on("impression",({bid:e,slot:t})=>{(0,o.Su)()&&(0,o.bf)("impression",{adServer:"tudeserve",adUnitPath:t.adUnit,bidder:e.bidder,cpm:e.amount,slotElementId:t.elementId,source:e.source,currency:e.currency,mediaType:e.mediaType})}))})};d()},3656:function(e,t,n){e=n.nmd(e);var r=n(9325),i=n(89935),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?r.Buffer:void 0,d=a?a.isBuffer:void 0;e.exports=d||i},4413:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(68141),i=n(9337),o=n(36016);let s=(0,n(10667).A)("quick-test").setLabel("A/B Quick Test");function a({name:e,condition:t=!0,tracking:n,variants:a,insights:d=!1}){if(!t)return;if(!Array.isArray(a)||0===a.length)return void s.error(`Experiment "${e}" must have at least one variant.`);let l=0,c=new Set;for(let t of a){if("number"!=typeof t.percent||t.percent<0||t.percent>100)return void s.error(`Variant "${t.name}" has an invalid percent value: ${t.percent}. Must be a number between 0 and 100.`);if(c.has(t.name))return void s.error(`Duplicate variant name "${t.name}" found in experiment "${e}". Variant names must be unique.`);c.add(t.name),l+=t.percent}if(100!==l)return void s.error(`Total percentage for experiment "${e}" is ${l}, but it must equal 100.`);if(!1!==d&&!["param1","param2","param3","param4","param5","param6","param7","param8","param9","param10"].includes(d))return void s.error(`Invalid insights parameter "${d}" provided for experiment "${e}".`);let u=r.A.createExperiment(e);a.forEach(e=>{u.variant({name:e.name,value:e.value,percentage:e.percent})});let p=u.pick();return d&&(0,i.mP)({[d]:`${e}:${p.variant}`}),s.log(e,p),n&&o.A.setTargeting({[`tude_${n}`]:p.variant}),p.value}},4435:function(e,t,n){var r={"./_comonent-template/component":[9730,12006],"./activity-refresh/component":[76076,20900],"./ad-block/component":[60770,52710],"./ad-lightning/component":[89309,38915],"./ad-placeholder/component":[25314,72210],"./ad-request-modifier/component":[44318,90316],"./ad-space-optimizer/component":[4969,95889],"./adx-interstitial/component":[56983,42249],"./amazon-bidding/component":[4269,5451],"./assertive-yield/component":[79403,86939],"./asteriobid/component":[65089,23247],"./basic-cmp/component":[72174,85778],"./basic-injection/component":[26877,40785],"./bid-modifiers/component":[55165,4695],"./bidder-pbjs-config/component":[72214,79554],"./bidder-test/component":[67170,44792],"./bounce-exchange/component":[56049,56045],"./clear-user-syncs/component":[84521,10771],"./conditional-bidding/component":[4117,73541],"./confiant/component":[5165,73235],"./consent-manager/component":[7115,84095],"./consolidate-ad-requests/component":[24553,2473],"./cookie-deprecation/component":[98338,93350],"./cpm-star-direct/component":[44271,74088],"./cpm-tracking-event/component":[36813,87966],"./creative-timed-refresh/component":[74450,96526],"./degrading-timed-refresh/component":[19918,73620],"./double-verify/component":[59822,61784],"./dynamic-floors/component":[29875,32844],"./dynamic-timeout/component":[74827,75314],"./enable-multiformat-outstream/component":[28050,7658],"./expose-events/component":[14225,54401],"./first-party-data/component":[83349,88039],"./floor-machine/component":[68102,99205],"./force-render-divs/component":[24950,1092],"./geo-bidders/component":[83560,29494],"./geo-pbjs-floors/component":[66412,1754],"./htl-bid-throttling/component":[82229,64379],"./htl-injector/component":[53012,9576],"./htl-live-intent/component":[33561,96657],"./htl-prebid-floors/component":[97910,29344],"./htl-prebid-native/component":[26370,12352],"./htl-refresh-cap/component":[67588,35838],"./htl-traffic-shaping/component":[42296,72166],"./inmobi-cmp/component":[16308,63324],"./instream-video/component":[23846,4014],"./interstitial/gaming/component":[8325,86891],"./lazy-load-divs-simple/component":[31922,69968],"./lazy-load-divs/component":[69684,79866],"./live-intent/component":[5655,94242],"./magic-anchor/component":[32744,30704],"./miletech/component":[89990,40526],"./next-page-events/component":[51680,81724],"./ogury-limiter/component":[25402,26984],"./onetrust/component":[27681,84968],"./optimera/component":[48794,25420],"./outstream/component":[14507,98895],"./permutive/component":[8322,4254],"./personalized-ads/component":[11490,37890],"./prebid-first-look/component":[87586,37524],"./prebid-floors/component":[21151,49339],"./prebid-settings/component":[8757,59777],"./pubxai-analytics/component":[8345,57211],"./raven-rps-tracking/component":[80389,67399],"./reduce-shift/component":[10640,63452],"./refresh-all-ads/component":[97866,45301],"./report-ad-button/component":[68736,95948],"./restrict-bidders/component":[39569,98207],"./rewarded-ads/component":[38782,4122],"./rps-tracking-event/component":[13513,99843],"./schain-config/component":[88156,2070],"./set-ad-unit-directory/component":[6418,95580],"./size-attribute/component":[19415,41569],"./size-limiter/component":[10435,69761],"./stand-alone-dynamic-floors/component":[57831,1923],"./taboola-auto-tagId/component":[76065,35807],"./third-party-scripts/component":[55704,42828],"./throttle-refresh/component":[98489,67811],"./timed-refresh/component":[69882,97120],"./user-id/component":[36783,81665],"./vidazoo-overlay/component":[30792,90878],"./vidazoo-tracking/component":[19519,3601],"./video/bidding/component":[26268,17e3],"./video/instream/component":[55226,83910],"./video/outstream/component":[11329,3925]};function i(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],i=t[0];return n.e(t[1]).then(function(){return n(i)})}i.keys=function(){return Object.keys(r)},i.id=4435,e.exports=i},4509:function(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},4901:function(e,t,n){var r=n(72552),i=n(30294),o=n(40346),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[r(e)]}},5789:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(79989);async function i(e,{intervalMs:t=200,maxTries:n=20}={}){let o=0;for(;o=0;n--)try{t(e[n])||e.splice(n,1)}catch(e){(0,r.A)().error("filterArrayInPlace error in filter",e)}return e}},7115:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(18859),i=n(65836),o=n(18238),s=n(10667);function a(e){for(var t=1;ta({},{country:"US",region:e})));var c=a({},{id:"ccpa",geoLocationGroup:l,prebidConfig:{consentManagement:{usp:{cmpApi:"iab",timeout:8e3}}}});let u=d("us",[a({},{country:"US"})]);var p=a({},{id:"ccpaDoesNotApply",geoLocationGroup:u,prebidConfig:{consentManagement:{usp:{cmpApi:"static",timeout:0,consentData:{getUSPData:{uspString:"1---"}}}}}}),f=n(67259);let g=d("eu",["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","GB","GF","GP","MQ","ME","YT","RE","MF","GI","AX","PM","GL","BL","SX","AW","CW","WF","PF","NC","TF","AI","BM","IO","VG","KY","FK","MS","PN","SH","GS","TC","AD","LI","MC","SM","VA","JE","GG","GI","CH"].map(e=>a({},{country:e}))),h=(0,f.P3)("defaultGdprScope"),m=!0;h&&(m="false"!==h&&"0"!==h);var b={ccpa:c,gdpr:a({},{id:"gdpr",geoLocationGroup:g,prebidConfig:{consentManagement:{gdpr:{cmpApi:"iab",defaultGdprScope:m,timeout:8e3}}}}),ccpaDoesNotApply:p};async function v(e){var t,n,a,d;let l;if((0,s.A)().log("GeoIP consent manager starting",e),!i.A.canAllowConsentManagementChanges())return(0,s.A)().log("Disabling checks on CMP due to override"),{requiresCmp:!1};let c=e.rules.map(e=>"string"==typeof e&&e in b?b[e]:e).filter(e=>"string"!=typeof e);c.find(e=>"ccpa"===e.id)&&!c.find(e=>"ccpaDoesNotApply"===e.id)&&b.ccpaDoesNotApply&&c.push(b.ccpaDoesNotApply),(0,s.A)().log("Consent manager eligible rules determined",c);try{l=await (0,r.V)(e.apiEndpoint||"https://geo-location.prebid.cloud/v1/geo")}catch(e){return(0,s.A)().error(e),{requiresCmp:!1}}if((0,s.A)().log("User geo location data received",l),!l)return(0,s.A)().log("No user geo location data for consent manager to use"),{requiresCmp:!1};let u=c.find(e=>{for(let t of e.geoLocationGroup.geoLocations)if(t.country&&l.country===t.country&&(!t.region||l.region===t.region)&&(!t.city||l.city===t.city))return!0;return!1});if(!u)return(0,s.A)().log("Consent manager rule not found for user geo location"),{requiresCmp:!1};(0,s.A)().log("Consent manager rule triggering",u);let p=e.prebidGlobal||"pbjs";return(null==(n=window)||null==(t=n[p])?void 0:t.que)||(window[p]=(a=function(e){for(var t=1;t{let{consentManagement:t}=u.prebidConfig;return t&&(e.consentManagement=t),e}),{prebidConfig:u.prebidConfig,requiresCmp:!0}}},7723:function(e,t,n){"use strict";n.d(t,{f:function(){return p}});var r=n(74547),i=n(6262),o=n(22188),s=n(87594),a=n(18238),d=n(52093),l=n(10667);let c={};a.A.sub("wrapperConfigOnInit",e=>(c=e.AMAZON_HASH_MAP||{},e));let u=(0,o.b)(),p=e=>(d.U.push(()=>{let t=d.U.getSlotListByDivIds(e);t.length>0?(s.B.emit(r.qY.BEFORE_AD_SERVER_REQUEST,{slots:t}),t.forEach(e=>{var n,r,o,a;let d=null==e?void 0:e.getSlotElementId(),l=null==e?void 0:e.getTargetingMap(),p=function(e){try{return u.adUnits.find(t=>t.code===e)}catch(e){}return!1}(d),f=String((null==e||null==(n=e.getTargeting("hb_pb"))?void 0:n[0])||"").trim(),g=!!(f&&Number(f)),h=!!(null==e||null==(r=e.getTargeting("amziid"))?void 0:r[0]),m=null==e||null==(o=e.getTargeting("hb_bidder"))?void 0:o[0],b=null==e||null==(a=e.getTargeting("amznbid"))?void 0:a[0],v=c[b],y=null==e?void 0:e.getAdUnitPath(),A=document.getElementById(d),E=[];v&&E.push(v),isNaN(Number(f))||E.push(f);let _=Math.max(...E),w={adSlot:A,adUnitPath:y,slot:e,divId:d,prebidUnit:p,hasPrebidBid:g,hbBidder:m,hasBid:h||g,prebidBid:Number(f),amazonBidHash:b,targetingMap:l,amazonBid:v,highBid:_,remove:()=>{(0,i.A)(t,t=>t!==e)}};s.B.emit("gpt.beforeAdServerRequest",w)}),t.length&&d.U.refresh(t)):(0,l.A)().error("Cannot find slots to refresh",e)}),!0)},8555:function(e,t,n){"URLSearchParams"in window||n.e(3212).then(n.t.bind(n,48318,23))},9325:function(e,t,n){var r=n(34840),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=r||i||Function("return this")()},9337:function(e,t,n){"use strict";let r;n.d(t,{Su:function(){return u},bf:function(){return l},gi:function(){return d},mP:function(){return a},yM:function(){return c}}),n(92843);var i=n(10667),o=n(43859);window.Raven=window.Raven||{cmd:[]};let s=(0,i.A)("analytics").setLabel("Analytics"),a=e=>{o.Z.setCustomParams(e),s.log("sending custom param",e)},d=async()=>{o.Z.recordPageview()},l=async(e,t)=>{o.Z.recordCustomEvent(e,t)},c=async(e,t)=>{o.Z.recordEvent(e,t)},u=()=>r},9589:function(e,t,n){"use strict";n.d(t,{EF:function(){return l},EP:function(){return u},Pq:function(){return a},T:function(){return c},X9:function(){return p},jC:function(){return g},ot:function(){return f}});var r=n(27286),i=n(72179);let o=new Map,s=1;function a(e){if(o.has(e.auctionId))return d(o.get(e.auctionId));{o.set(e.auctionId,s),setTimeout(()=>{o.delete(e.auctionId)},8e3);let t=o.get(e.auctionId);return s++,d(t)}}function d(e){return e<=5?"<=5":e<=20?"6-20":e<=40?"21-40":e<=80?"41-80":"81+"}function l(){let e=new Date().getHours();return e<=2?"0to2":e<=7?"3to7":e<=11?"8to11":e<=18?"12to18":"18+"}function c(e){return()=>"US"===e?"US":["CA","GB","AU","NZ"].includes(e)?"CA/UK/AU/NZ":i.Wp.includes(e)?"EU":i.Q2.includes(e)?"LATAM":"ROW"}function u(){let e=(0,r.HN)();return"desktop-chrome"===e?"Desktop-Chrome":"desktop-not-chrome"===e?"Desktop-NotChrome":"android"===e?"Android":"ios"===e?"iOS":"Other"}function p(e){return e.bidder}function f(e){return t=>{var n,r;return null!=(r=null==e||null==(n=e.find(e=>e.divIds.includes(t.adUnitCode)))?void 0:n.name)?r:"*"}}let g=(e,t)=>Array.from(e).reduce((e,n)=>n===t?e+1:e,0)},10392:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},10667:function(e,t,n){"use strict";var r,i=n(99105),o=n(67259);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let a="#339933";var d=((r=d||{})[r.Advanced=0]="Advanced",r[r.None=1]="None",r[r.Standard=2]="Standard",r);let l=1,c=(0,i.i)("aditude_debug")||(0,o.P3)("aditude_debug")||(0,o.W6)("aditude_debug");c&&(l=2*("99"!=c));class u{setLabel(e,t=a){return this.label={text:e,color:t},this}tag(e,t="black"){return this.tempTag={text:e,color:t},this}clearTag(){this.tempTag=null}enable(e=2){return this.setLevel(e),this}setLevel(e){return this.level=e,this}isAdvanced(){return 0===this.level}isEnabled(){return 1!==this.level}advancedLog(...e){this.isAdvanced()&&this._sendLog("log",this._decorate(e,""))}log(...e){this.isEnabled()&&this._sendLog("log",this._decorate(e,""))}warn(...e){this.isEnabled()&&this._sendLog("warn",this._decorate(e,""))}error(...e){this._sendLog("error",this._decorate(e,""))}table(e=Array,t=null){this.isEnabled()&&console.table(e,t)}group(e,t){this.isEnabled()&&(console.group(e),t(this),console.groupEnd(),this.clearTag())}_sendLog(e,t){let n=[e,"log","debug","info"].find(e=>String(console[e])===`function ${e}() { [native code] }`)||e;console[n](...t)}_getElapsedTime(){if(!u.firstLogTime)return u.firstLogTime=Date.now(),"0ms";let e=Date.now()-u.firstLogTime;return`${e}ms`}_decorate(e,t=""){e=[].slice.call(e),t&&e.unshift(t);let n=[],r=[];if(this.isAdvanced()){let e=this._getElapsedTime();n.push(`%c[${e}]`),r.push("background: grey; color: white; font-size: 9px; padding: 1px 4px; border-radius: 0; margin-right: 1px;")}return n.push("%cCW"),r.push(i("#61B321")),this.label&&this.label.text.length>0&&(n.push("%c"+this.label.text),r.push(i(this.label.color))),this.tempTag&&(n.push("%c"+this.tempTag.text),r.push(i(this.tempTag.color))),e.unshift(...r),e.unshift(n.join("")),e;function i(e){return`display: inline-block; color: #fff; font-size: 9px; background: ${e}; padding: 1px 4px; border-radius: 0; margin-right: 1px;`}}constructor(e){s(this,"labelColor",void 0),s(this,"label",{text:"",color:a}),s(this,"level",l),s(this,"namespace",void 0),s(this,"tempTag",void 0),this.namespace=e}}s(u,"firstLogTime",null);let p={};t.A=function(e="default"){return p[e]||(p[e]=new u(e)),p[e]}},11331:function(e,t,n){var r=n(72552),i=n(28879),o=n(40346),s=Object.prototype,a=Function.prototype.toString,d=s.hasOwnProperty,l=a.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==l}},11490:function(e,t,n){"use strict";n.r(t),n.d(t,{setPrivacySettings:function(){return o}});var r=n(18238),i=n(85222);let o=e=>{let{personalizedAds:t}=e;i.A.onReady(()=>{i.A.setState({personalizedAds:t})}),window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{window.googletag.pubads().setPrivacySettings({nonPersonalizedAds:!t})})};r.A.sub("tudePublicFunctions",({tude:e})=>(e.setPrivacySettings=o,{tude:e}))},12651:function(e,t,n){var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},12749:function(e,t,n){var r=n(81042),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},14225:function(e,t,n){"use strict";n.r(t),n.d(t,{ExposeEvents:function(){return d}});var r=n(18134),i=n(54240),o=n(87594),s=n(18238);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends i.A{getLoggerColor(){return"#FF7276"}getInitialState(){return{}}start(){s.A.sub("tudePublicFunctions",e=>{var t;let{tude:n}=e;return n.events=null!=(t=n.events)?t:new EventTarget,Object.entries(this.exposedEvents).forEach(([,e])=>{let{nameMap:t,cb:r}=e,i=Object.entries(t)[0],s=i[0],a=i[1];o.B.on(s,e=>{let t=a;"function"==typeof r&&(t=r(e));let i=new CustomEvent(a,{detail:t,bubbles:!0});try{n.events.dispatchEvent(i),this.log(`Dispatched event: ${a}`,t)}catch(e){this.warn(e)}}),this.log("Registered events for: ",a)}),e})}constructor(e){super(e,"ExposeEvents"),a(this,"exposedEvents",[]),this.exposedEvents=e.exposedEvents||this.exposedEvents}}a(d,"componentName","expose-events"),(0,r.h)(d),t.default=d},14547:function(e,t,n){"use strict";n.d(t,{Ky:function(){return f}});var r=n(26589),i=n(15900),o=n(70041),s=n(56765),a=n(29754),d=n(45638),l=n(92126),c=n(16947),u=n(49234),p=n(86964).Promise;class f{static create(e,t){let n=new f(e,t),i=async()=>{if("number"==typeof n._options.timeout&&n._options.timeout>u.TK)throw RangeError(`The \`timeout\` option cannot be greater than ${u.TK}`);await p.resolve();let e=await n._fetch();for(let t of n._options.hooks.afterResponse){let r=await t(n.request,n._options,n._decorateResponse(e.clone()));r instanceof globalThis.Response&&(e=r)}if(n._decorateResponse(e),!e.ok&&n._options.throwHttpErrors){let t=new r.H(e,n.request,n._options);for(let e of n._options.hooks.beforeError)t=await e(t);throw t}if(n.request.bodyUsed||await n.request.body?.cancel(),n._options.onDownloadProgress){if("function"!=typeof n._options.onDownloadProgress)throw TypeError("The `onDownloadProgress` option must be a function");if(!u.b0)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");return(0,o.mD)(e.clone(),n._options.onDownloadProgress)}return e},s=n._options.retry.methods.includes(n.request.method.toLowerCase())?n._retry(i):i();for(let[e,r]of Object.entries(u.hT))s[e]=async()=>{n.request.headers.set("accept",n.request.headers.get("accept")||r);let i=await s;if("json"===e){if(204===i.status||0===(await i.clone().arrayBuffer()).byteLength)return"";if(t.parseJson)return t.parseJson(await i.text())}return i[e]()};return s}request;abortController;_retryCount=0;_input;_options;constructor(e,t={}){if(this._input=e,this._options={...t,headers:(0,s.lF)(this._input.headers,t.headers),hooks:(0,s.XN)({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},t.hooks),method:(0,a.q)(t.method??this._input.method??"GET"),prefixUrl:String(t.prefixUrl||""),retry:(0,a.U)(t.retry),throwHttpErrors:!1!==t.throwHttpErrors,timeout:t.timeout??1e4,fetch:t.fetch??globalThis.fetch.bind(globalThis)},"string"!=typeof this._input&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&"string"==typeof this._input){if(this._input.startsWith("/"))throw Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(u.xM){let e=this._options.signal??this._input.signal;this.abortController=new globalThis.AbortController,this._options.signal=e?AbortSignal.any([e,this.abortController.signal]):this.abortController.signal}if(u.xr&&(this._options.duplex="half"),void 0!==this._options.json&&(this._options.body=this._options.stringifyJson?.(this._options.json)??JSON.stringify(this._options.json),this._options.headers.set("content-type",this._options.headers.get("content-type")??"application/json")),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){let e="string"==typeof this._options.searchParams?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString(),t=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,"?"+e);(u.zq&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(t,{...this.request}),this._options)}if(this._options.onUploadProgress){if("function"!=typeof this._options.onUploadProgress)throw TypeError("The `onUploadProgress` option must be a function");if(!u.xr)throw Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request.body&&(this.request=(0,o.AY)(this.request,this._options.onUploadProgress))}}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount>this._options.retry.limit||e instanceof i.M)throw e;if(e instanceof r.H){if(!this._options.retry.statusCodes.includes(e.response.status))throw e;let t=e.response.headers.get("Retry-After")??e.response.headers.get("RateLimit-Reset")??e.response.headers.get("X-RateLimit-Reset")??e.response.headers.get("X-Rate-Limit-Reset");if(t&&this._options.retry.afterStatusCodes.includes(e.response.status)){let e=1e3*Number(t);Number.isNaN(e)?e=Date.parse(t)-Date.now():e>=Date.parse("2024-01-01")&&(e-=Date.now());let n=this._options.retry.maxRetryAfter??e;return ethis._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(n){let t=Math.min(this._calculateRetryDelay(n),u.TK);if(this._retryCount<1)throw n;for(let e of(await (0,l.A)(t,{signal:this._options.signal}),this._options.hooks.beforeRetry))if(await e({request:this.request,options:this._options,error:n,retryCount:this._retryCount})===u.ds)return;return this._retry(e)}}async _fetch(){for(let e of this._options.hooks.beforeRequest){let t=await e(this.request,this._options);if(t instanceof Request){this.request=t;break}if(t instanceof Response)return t}let e=(0,c.I)(this.request,this._options),t=this.request;return(this.request=t.clone(),!1===this._options.timeout)?this._options.fetch(t,e):(0,d.A)(t,e,this.abortController,this._options)}}},14900:function(e,t){(function(e){"use strict";let t,n={Verbose:3,Advanced:2,None:0,Standard:1},r=n.None,i=new URL(window.location.href).searchParams.get("aditude_debug"),o=n.None;switch(i){case"3":o=n.Verbose;break;case"2":case"99":o=n.Advanced;break;case"1":case"true":o=n.Standard;break;default:o=n.None}let s=(e,t)=>{console[e](...t)},a=(e,t)=>{let n=[].slice.call(e),{label:r,prefix:i}=t;i&&n.unshift(i);let o=[],s=[];function a(e){return`display: inline-block; color: #fff; font-size: 9px; background: ${e}; padding: 1px 4px; border-radius: 0; margin-right: 1px;`}return s.push("%ctudeserve"),r.text.length>0&&s.push(`%c${r.text}`),r.text.length>0&&o.push(a(r.color)),o.push(a("green")),o.forEach(e=>{n.unshift(e)}),n.unshift(s.join("")),n},d=(e,t={})=>{let n=t.type??"log",i=t.label??{text:"",color:"#339933"},d=t.level??r;return(...e)=>{d<=o&&s(n,a(e,{prefix:"",label:i}))}},l=d("log",{label:{text:"log",color:"#61B321"},level:n.Standard}),c=d("error",{type:"error",label:{text:"error",color:"red"},level:n.Standard}),u=d("verbose",{label:{text:"verbose",color:"#61B321"},level:n.Verbose});class p{slotId;bidder;source;amount;mediaType;sourceData;currency="USD";constructor(e){this.slotId=e.slotId,this.bidder=e.bidder??e.source,this.source=e.source,this.amount=e.amount,this.mediaType=e.mediaType??"unknown",this.sourceData=e.sourceData,this.currency=e.currency??"USD",u("Bid created",this)}toJson(){return{slotId:this.slotId,source:this.source,bidder:this.bidder,amount:this.amount,currency:this.currency,mediaType:this.mediaType,sourceData:this.sourceData}}}class f{adUnit;elementId;sizes;keyValues;#e=[];constructor(e,t,n,r){this.adUnit=e,this.elementId=t,this.sizes=n,this.keyValues=r,l("Slot created",this)}getElement(){return document.getElementById(this.elementId)}get bids(){return this.#e}set bids(e){u("setting bids to slot",{slot:this,bids:e}),this.#e=e}clearBids(){this.#e=[]}}let g=(e,t)=>new CustomEvent(`tudeserve_${e}`,{detail:t}),h=(e,t)=>{e.dispatchEvent(t),u(`event:${t.type.replace("tudeserve_","")} dispatched`,t.detail)};class m{on(e,t){window.addEventListener(`tudeserve_${e}`,e=>{t(e.detail)}),u(`event:${e} listener registered`)}}let b=(e,t,n)=>{let r,i=0;new IntersectionObserver((e,o)=>{e.forEach(e=>{e.isIntersecting?r=setInterval(()=>{(i+=100)>1e3&&(h(window,g("viewable",{slot:t,bid:n})),o.unobserve(e.target),clearInterval(r))},100):clearInterval(r)})},{root:null,rootMargin:"0px 0px 0px 0px",threshold:.5}).observe(e)},v=new Uint8Array(16),y=[];for(let e=0;e<256;++e)y.push((e+256).toString(16).slice(1));var A={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};class E{timings={};addTiming(e,t){this.timings[e]=t??Date.now()}getTiming(e){return this.timings[e]}}class _{id;results=[];slots=[];tt=new E;status="init";constructor(e){this.id=function(e,n,r){if(A.randomUUID&&!e)return A.randomUUID();let i=(e=e||{}).random||(e.rng||function(){if(!t&&!(t="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 t(v)})();return i[6]=15&i[6]|64,i[8]=63&i[8]|128,function(e,t=0){return y[e[t+0]]+y[e[t+1]]+y[e[t+2]]+y[e[t+3]]+"-"+y[e[t+4]]+y[e[t+5]]+"-"+y[e[t+6]]+y[e[t+7]]+"-"+y[e[t+8]]+y[e[t+9]]+"-"+y[e[t+10]]+y[e[t+11]]+y[e[t+12]]+y[e[t+13]]+y[e[t+14]]+y[e[t+15]]}(i)}(),this.slots=e??[],this.logTiming("init"),u("Request created",this)}nextStep(){switch(this.status){case"init":this.status="requested",this.logTiming("requested");break;case"requested":this.status="complete",this.logTiming("complete");break;default:c("Request already ended",this)}}addResult(e){this.results.push(e)}logTiming(e){this.tt.addTiming(e)}getTimings(){let e=this.tt.getTiming("init"),t=this.tt.getTiming("requested"),n=this.tt.getTiming("complete");return{startToRequest:t&&e?t-e:null,requestToComplete:n&&t?n-t:null,startToComplete:n&&e?n-e:null}}}let w=e=>{if(e){if(!Array.isArray(e))throw c("Slot inputs must be an array of Slot objects or element ID strings",e),Error("Slot inputs must be an array of Slot objects or element ID strings");for(let t of e)if("string"!=typeof t&&("object"!=typeof t||!(t instanceof f)))throw c("Slot inputs must be an array of Slot objects or element ID strings",e),Error("At least one of the slot inputs is not a Slot object or element ID string")}return u("valid request input",e),!0},I=e=>{let t=document.createElement("iframe");return t.id=`tudeserve-frame--${e.elementId}`,t.name=t.id,t.setAttribute("width","1"),t.setAttribute("height","1"),t.setAttribute("scrolling","no"),t.setAttribute("frameBorder","0"),t.style.background="#fff",t.sandbox.add("allow-forms","allow-pointer-lock","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts","allow-top-navigation-by-user-activation","allow-presentation"),t.addEventListener("load",()=>{t.contentWindow?.document.body&&(t.contentWindow.document.body.style.margin="0px")}),t},S=window._tudePbjsGlobal||"pbjs";window[S]=window[S]||{que:[]},window[S].que=window[S].que||[];let O=window[S],R={createBid:e=>new p(e),createRequest:e=>new _(e)};class C{slots=[];add(e,t,n,r){return this.updateOrCreate(e,t,n,r)}updateOrCreate(e,t,n,r){let i=this.slots.find(e=>e.elementId===t);return i?(i.adUnit!==e&&(i.adUnit=e),i.sizes=n,i.keyValues=r):(i=new f(e,t,n,r),this.slots.push(i)),i}getSlots(){return this.slots}getSlotByElementId(e){return this.slots.find(t=>t.elementId===e)}getSlotByAdUnit(e){return this.slots.find(t=>t.adUnit===e)}getSlotBySize(e,t){return this.slots.find(n=>n.sizes.some(n=>n[0]===e&&n[1]===t))}}class P{slotsService;constructor(){this.slotsService=new C,u("AdsService created")}factory(){return R}get slots(){return this.slotsService}request(e){u("Request start",e),w(e);let t=new _(e);if(u("Requesting slots: ",t.slots),0===t.slots.length)return void c("No slots to request",t);let n=t.slots.filter(e=>"string"==typeof e?!!this.slotsService.getSlotByElementId(e)||(c("Slot not found: ",e),t.addResult(`#${e} > outcome:slot_not_found`),!1):e instanceof f||(c("Invalid slot object: ",e),!1)).map(e=>"string"==typeof e?this.slotsService.getSlotByElementId(e):e);t.nextStep(),n.forEach(e=>{if(h(window,g("request",{slot:e})),!e.getElement()){c("Slot element not found"),t.addResult(`#${e.elementId} > outcome:sloterror`);return}let n=function(e){if(0!==e.length)return e.filter(e=>"number"==typeof e.amount&&e.amount>0).reduce((e,t)=>t.amount>e.amount?t:e,e[0])}(e.bids);if(!n){c("No bid found for slot: ",e),h(window,g("no_bid",{slot:e})),t.addResult(`#${e.elementId} > outcome:no_bid`);return}h(window,g("bid_won",{bid:n,slot:e}));let r=`#${e.elementId} > source:${n.source}, bidder:${n.bidder}, amt:${n.amount.toFixed(5)} > outcome:`;try{let i=this.render(n,e);return i?t.addResult(`${r}:rendered`):t.addResult(`${r}:error`),i}catch(e){t.addResult(`${r}:error`),c("Failed to render ad",e)}}),t.nextStep(),t.results.forEach(e=>{l(e)}),l("request complete",t.getTimings())}render(e,t){u("Render start",{slot:t,bid:e}),h(window,g("render_start",{bid:e,slot:t}));let n=t.getElement();if(!n)return c("Slot element not found"),t.clearBids(),!1;let{source:r}=e,i=function(e,t,n){if(u("building creative",{demandSource:e,slot:t,bid:n}),!t.getElement())return c("Slot element not found"),!1;let r=document.createElement("div");r.classList.add("tudeserve-wrap"),r.style.textAlign="center",r.id=`tudeserve-slot--${t.elementId}`;try{let i;switch(e){case"amazon":u("rendering amazon ad",{slot:t,bid:n}),i=function(e,t,n){let r=encodeURIComponent(window.location.href),i={kvMap:JSON.stringify(n),url:JSON.stringify(r),bidType:"openAuction",cv:"v2.0.0"},o=I(e);return setTimeout(()=>{window.apstag?.renderImp?.(o.contentWindow?.document,n.amzniid,i)}),o}(t,0,n.sourceData);break;case"prebid":u("rendering prebid ad",{slot:t,bid:n}),i=function(e,t,n){let r=I(e);return setTimeout(()=>{O.que.push(()=>{O.renderAd(r.contentWindow?.document,n.adId)})}),r}(t,0,n.sourceData);break;default:return c("Unknown demand source to render: ",e),!1}return r.appendChild(i),r}catch(e){return c(e),!1}}(r,t,e);return i?(n.innerHTML="",n.appendChild(i),h(window,g("impression",{bid:e,slot:t})),t.clearBids(),b(n,t,e),u("Render end",{slot:t,bid:e}),t):(c("Failed to build creative"),t.clearBids(),!1)}}let D=(e,t=!1,n=!1,r=[])=>{let i=document.createElement("script");t?i.async=!0:i.async=!1,n&&(i.defer=!0),r.forEach(e=>{i.setAttribute(`data-${e.key}`,e.value)}),i.src=e,document.head.appendChild(i)};e.AdRequest=_,e.Bid=p,e.TudeServe=class{#t;#n;cmd;constructor(){this.#t=new P,this.#n=new m,this.cmd={push:e=>{e(this)}},l("TudeServe created",this)}ads(){return this.#t}events(){return this.#n}},e.loadTudeServe=(e="latest",t="production")=>{D(`${("production"===t?"https://cw-static.aditude.io/tudeserve":"http://localhost:3001/static")??"https://cw-static.aditude.io/tudeserve"}/${"production"===t?e:"index"}.js?b=0.0.72-2024-06-09T22:55:13.730Z`,!0,!1,[{key:"tudeserve",value:"1"}])}})(t)},14974:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},15900:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});class r extends Error{request;constructor(e){super(`Request timed out: ${e.method} ${e.url}`),this.name="TimeoutError",this.request=e}}},16547:function(e,t,n){var r=n(43360),i=n(75288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];o.call(e,t)&&i(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},16947:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(49234);let i=(e,t)=>{let n={};for(let i in t)i in r.Pu||i in r.iA||i in e||(n[i]=t[i]);return n}},17670:function(e,t,n){var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=+!!t,t}},18134:function(e,t,n){"use strict";n.d(t,{A:function(){return d},h:function(){return a}});var r=n(28519),i=n(10667),o=JSON.parse('{"your-component-folder-name":{"component":null,"path":"_component-template","loadAsync":false},"ad-block":{"component":null,"path":"ad-block","loadAsync":false},"ad-lightning":{"component":null,"path":"ad-lightning","loadAsync":false},"ad-placeholder":{"component":null,"path":"ad-placeholder","loadAsync":false},"amazon-bidding":{"component":null,"path":"amazon-bidding","loadAsync":false},"activity-refresh":{"component":null,"path":"activity-refresh","loadAsync":false},"assertive-yield":{"component":null,"path":"assertive-yield","loadAsync":true},"asteriobid":{"component":null,"path":"asteriobid","loadAsync":false},"basic-cmp":{"component":null,"path":"basic-cmp","loadAsync":false},"bidder-test":{"component":null,"path":"bidder-test","loadAsync":false},"basic-injection":{"component":null,"path":"basic-injection","loadAsync":true},"bid-modifiers":{"component":null,"path":"bid-modifiers","loadAsync":false},"creative-timed-refresh":{"component":null,"path":"creative-timed-refresh","loadAsync":false},"confiant":{"component":null,"path":"confiant","loadAsync":false},"consent-manager":{"component":null,"path":"consent-manager","loadAsync":false},"cookie-deprecation":{"component":null,"path":"cookie-deprecation","loadAsync":false},"cpm-star-direct":{"component":null,"path":"cpm-star-direct","loadAsync":false},"degrading-timed-refresh":{"component":null,"path":"degrading-timed-refresh","loadAsync":false},"dynamic-floors":{"component":null,"path":"dynamic-floors","loadAsync":false},"dynamic-timeout":{"component":null,"path":"dynamic-timeout","loadAsync":false},"enable-multiformat-outstream":{"component":null,"path":"enable-multiformat-outstream","loadAsync":false},"expose-events":{"component":null,"path":"expose-events","loadAsync":false},"first-party-data":{"component":null,"path":"first-party-data","loadAsync":false},"floor-machine":{"component":null,"path":"floor-machine","loadAsync":false},"force-render-base-divs":{"component":null,"path":"force-render-divs","loadAsync":false},"geo-bidders":{"component":null,"path":"geo-bidders","loadAsync":false},"geo-pbjs-floors":{"component":null,"path":"geo-pbjs-floors","loadAsync":false},"htl-live-intent":{"component":null,"path":"htl-live-intent","loadAsync":false},"inmobi-cmp":{"component":null,"path":"inmobi-cmp","loadAsync":false},"instream-video":{"component":null,"path":"instream-video","loadAsync":true},"lazy-load-divs":{"component":null,"path":"lazy-load-divs","loadAsync":true},"lazy-load-divs-simple":{"component":null,"path":"lazy-load-divs-simple","loadAsync":true},"live-intent":{"component":null,"path":"live-intent","loadAsync":false},"next-page-events":{"component":null,"path":"next-page-events","loadAsync":true},"ogury-limiter":{"component":null,"path":"ogury-limiter","loadAsync":false},"onetrust":{"component":null,"path":"onetrust","loadAsync":false},"outstream":{"component":null,"path":"outstream","loadAsync":true},"optimera":{"component":null,"path":"optimera","loadAsync":false},"permutive":{"component":null,"path":"permutive","loadAsync":false},"pubxai-analytics":{"component":null,"path":"pubxai-analytics","loadAsync":false},"magic-anchor":{"component":null,"path":"magic-anchor","loadAsync":false},"miletech":{"component":null,"path":"miletech","loadAsync":false},"personalized-ads":{"component":null,"path":"personalized-ads","loadAsync":false},"prebid-first-look":{"component":null,"path":"prebid-first-look","loadAsync":false},"prebid-floors":{"component":null,"path":"prebid-floors","loadAsync":false},"prebid-settings":{"component":null,"path":"prebid-settings","loadAsync":false},"raven-rps-tracking":{"component":null,"path":"raven-rps-tracking","loadAsync":false},"refresh-all-ads":{"component":null,"path":"refresh-all-ads","loadAsync":false},"report-ad-button":{"component":null,"path":"report-ad-button","loadAsync":false},"restrict-bidders":{"component":null,"path":"restrict-bidders","loadAsync":false},"reduce-shift":{"component":null,"path":"reduce-shift","loadAsync":false},"size-attribute":{"component":null,"path":"size-attribute","loadAsync":false},"schain-config":{"component":null,"path":"schain-config","loadAsync":false},"set-ad-unit-directory":{"component":null,"path":"set-ad-unit-directory","loadAsync":false},"size-limiter":{"component":null,"path":"size-limiter","loadAsync":false},"stand-alone-dynamic-floors":{"component":null,"path":"stand-alone-dynamic-floors","loadAsync":false},"taboola-auto-tagid":{"component":null,"path":"taboola-auto-tagid","loadAsync":false},"throttle-refresh":{"component":null,"path":"throttle-refresh","loadAsync":false},"timed-refresh":{"component":null,"path":"timed-refresh","loadAsync":false},"user-id":{"component":null,"path":"user-id","loadAsync":false},"vendor-assertive-yield":{"component":null,"path":"vendors/ay","loadAsync":false},"vidazoo-tracking":{"component":null,"path":"vidazoo-tracking","loadAsync":false},"vidazoo-overlay":{"component":null,"path":"vidazoo-overlay","loadAsync":false},"video/outstream":{"component":null,"path":"video/outstream","loadAsync":false},"consolidate-ad-requests":{"component":null,"path":"consolidate-ad-requests","loadAsync":false},"bidder-pbjs-config":{"component":null,"path":"bidder-pbjs-config","loadAsync":false},"clear-user-syncs":{"component":null,"path":"clear-user-syncs","loadAsync":false},"ad-space-optimizer":{"component":null,"path":"ad-space-optimizer","loadAsync":false},"ad-request-modifier":{"component":null,"path":"ad-request-modifier","loadAsync":false},"quantcast":{"component":null,"path":"quantcast","loadAsync":false},"htl-traffic-shaping":{"component":null,"path":"htl-traffic-shaping","loadAsync":false},"htl-injector":{"component":null,"path":"htl-injector","loadAsync":false},"double-verify":{"component":null,"path":"double-verify","loadAsync":false},"htl-bid-throttling":{"component":null,"path":"htl-bid-throttling","loadAsync":false},"htl-prebid-floors":{"component":null,"path":"htl-prebid-floors","loadAsync":false},"htl-prebid-native":{"component":null,"path":"htl-prebid-native","loadAsync":false},"htl-refresh-cap":{"component":null,"path":"htl-refresh-cap","loadAsync":false},"bounce-exchange":{"component":null,"path":"bounce-exchange","loadAsync":false},"gaming-interstitial":{"component":null,"path":"interstitial/gaming","loadAsync":false},"rewarded-ads":{"component":null,"path":"rewarded-ads","loadAsync":false},"conditional-bidding":{"component":null,"path":"conditional-bidding","loadAsync":false},"video-bidding":{"component":null,"path":"video/bidding","loadAsync":false}}');let s=(0,i.A)("Components").setLabel("Components","#000080");function a(e){let t=null==e?void 0:e.getComponentName();if(!t)return void s.warn("registering component: unable to extract name");o[t]||s.warn(`registering component: info not found: ${t}`),o[t]=o[t]||{name:t},o[t].component=e,s.advancedLog("registerLoadedComponent",t)}async function d(e){let t={},i={};await window.Promise.allSettled(e.map(async e=>{let a=e.name;o[a]=o[a]||{};let d=null==o?void 0:o[a];if((null==d?void 0:d.path)&&(e.file=d.path),i[a]=i[a]||[],!t[a]&&d.component&&(t[a]=d.component,s.advancedLog("already bundled:",a),i[a].push=e=>e(t[a])),i[a].push(t=>{s.advancedLog(`initializing: ${a}`,e.config);try{(0,r.x)(t,e.config)}catch(e){s.error(`error initializing ${a}:`,e)}}),!t[a]){if(!e.file)return void s.error(`component not found: (${a})`,e);t[a]="loading",s.advancedLog(`loading(${d.loadAsync?"async":"sync"}): ${a}`);let r=n(4435)(`./${e.file}/component`).then(e=>{s.advancedLog("loaded:",a),t[a]=e.default,i[a]&&i[a].forEach(e=>e(t[a])),i[a]=[],i[a].push=e=>{e(t[a])}}).catch(e=>{s.error(`An error occurred while loading ${a}:`,e)});d.loadAsync||await r}}))}},18238:function(e,t){"use strict";t.A=new class{sub(e,t){e in this.filters||(this.filters[e]=[]),this.filters[e].push(t)}apply(e,t,n){if(!this.filters[e])return n(t);for(let n of this.filters[e])t=n(t);return n(t)}constructor(){var e,t;t={},(e="filters")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}},18666:function(e,t){"use strict";t.A=class{useRandomNamespace(){this.namespace=(Math.random()+1).toString(36).substring(7)}getFullEventName(e){let t=this.namespace?`${this.namespace}.`:"";return`${t}${e.toString()}`}on(e,t){document.addEventListener(this.getFullEventName(e),e=>t(e.detail))}dispatch(e,t){document.dispatchEvent(new CustomEvent(this.getFullEventName(e),{detail:t}))}remove(e,t){document.removeEventListener(e,t)}constructor(e){var t,n;n=void 0,(t="namespace")in this?Object.defineProperty(this,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[t]=n,this.namespace=e}}},18859:function(e,t,n){"use strict";let r,i,o;n.d(t,{V:function(){return g}});var s=n(67259),a=n(10667),d=n(56175),l=n(86964).Promise;let c={gdpr:{country:"GB",region:"ENG",city:"London",postalCode:"W1B"},ccpa:{country:"US",region:"CA",city:"San Francisco",postalCode:"94107"},none:{country:"US",region:"IL",city:"Chicago",postalCode:"60007"}},u="aditude_geo";if((0,s.P3)(u)){let e=(0,s.P3)(u);c[e]&&(r=c[e])}let p=!1,f=new l(e=>{o=e});async function g(e="https://geo-location.prebid.cloud/v1/geo"){if(r)return r;if(i||p)return f;let t=window.localStorage.getItem("cwgl");if(t){let e=window.localStorage.getItem("cwglt");((0,s.P3)("aditude_nocache")||!e||Date.now()-parseInt(e)>36e5)&&(t=!1)}if(t)i=JSON.parse(t),o(i);else{p=!0;try{let t=await d.Ay.get(e||"https://geo-location.prebid.cloud/v1/geo",{timeout:3e3}).json();window.localStorage.setItem("cwgl",JSON.stringify(t)),window.localStorage.setItem("cwglt",JSON.stringify(Date.now())),i=t,o(i)}catch(e){(0,a.A)().error(e),o(i)}}return f}},18987:function(e,t,n){"use strict";/*! js-cookie v3.0.5 | MIT */function r(e){for(var t=1;t1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r{if(!e.installedModules.includes("priceFloors"))return void this.error('"priceFloors" module is not installed, aborting');this.props.forceFloors?e.setConfig({floors:this.floorConfig}):e.mergeConfig({floors:this.floorConfig})})}async start(){var e,t,n;let i=await (0,r.JJ)(),o=null!=(e=this.props.schema)?e:{divIdGroup:(0,a.ot)(this.props.divIdGroups),deviceCode:a.EP,countryBucket:(0,a.T)(i),countCode:a.Pq,hourCode:a.EF,bidder:a.X9},s=["gptSlot","mediaType","size",...Object.keys(o=function(e){for(var t=1;t{let t=(0,a.jC)(e,"|");t!==s.length-1&&this.warn(`Invalid key: ${e} has ${t} parts but expected ${s.length-1}`)}),this.floorConfig={additionalSchemaFields:o,currency:null!=(t=this.props.currency)?t:"USD",data:{schema:{fields:s},values:this.props.values,default:null!=(n=this.props.default)?n:0}},this.mergeFloorsConfig()}constructor(e){super(e,"PrebidFloors"),d(this,"floorConfig",{})}}d(l,"componentName","prebid-floors"),(0,i.h)(l),t.default=l},21549:function(e,t,n){var r=n(22032),i=n(63862),o=n(66721),s=n(12749),a=n(35749);function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0?e:r,window[e]=window[e]||{cmd:[],que:[]},window[e].cmd=window[e].cmd||[],window[e].que=window[e].que||[],window[e]}},23007:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{this.onChangeListeners.forEach(e=>{e()})}),this.store=e}static isEnabled(){return this.enabled}static onChange(e){this.onChangeListeners.push(e)}static enableUserId(){this.enabled=!0}static disableUserId(){this.enabled=!1}}n(r,"store",void 0),n(r,"enabled",!1),n(r,"onChangeListeners",[]),t.A=r},24739:function(e,t,n){var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},25279:function(e,t,n){"use strict";let r;n.d(t,{A:function(){return a}});var i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o=new Uint8Array(16),s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));var a=function(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();let a=(e=e||{}).random??e.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(o)}();if(a.length<16)throw Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=a[e];return t}return function(e,t=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()}(a)}},26025:function(e,t,n){var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}},26589:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});class r extends Error{response;request;options;constructor(e,t,n){let r=e.status||0===e.status?e.status:"",i=e.statusText||"",o=`${r} ${i}`.trim();super(`Request failed with ${o?`status code ${o}`:"an unknown error"}: ${t.method} ${t.url}`),this.name="HTTPError",this.response=e,this.request=t,this.options=n}}},27286:function(e,t,n){"use strict";n.d(t,{DC:function(){return y},Fr:function(){return c},HN:function(){return w},X5:function(){return A},ZI:function(){return l},f8:function(){return o},m0:function(){return a},xl:function(){return v},zc:function(){return p}});var r=n(74547);function i(e){let t,n=!1;return function(){return n||(t=e(),n=!0),t}}i(()=>{let e=window.navigator.userAgent||window.navigator.vendor||window.opera||"";return!!/iPhone|iPod|ios-app/.test(e)});let o=()=>s()||h(),s=i(()=>{let e=window.navigator.userAgent||window.navigator.vendor||window.opera||"";return!!/iphone|ipod|ipad|ios-app/i.test(e)}),a=i(()=>{let e=window.navigator.userAgent||window.navigator.vendor||window.opera||"";return!!/Android/.test(e)}),d=i(()=>{let e=window.navigator.userAgent||window.navigator.vendor||window.opera||"";return!!/\bCrOS\b/.test(e)}),l=()=>u()?r.Xr.TABLET:c()?r.Xr.MOBILE:r.Xr.DESKTOP,c=i(()=>{let e=window.navigator.userAgent||window.navigator.vendor||window.opera||"";return!(!/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|rgbmedia-app|ios-app|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/i.test(e)||u())}),u=i(()=>{let e=window.navigator.userAgent||window.navigator.vendor||window.opera||"";return!!/(tablet|ipad|playbook|silk)/i.test(e)||-1!==e.indexOf("Android")&&-1===e.indexOf("Mobile")}),p=i(()=>{let e=window.navigator.userAgent||window.navigator.vendor||window.opera||"";return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4)))}),f=l();i(()=>_(/\b(FBAN|FBAV)/i));let g=i(()=>f===r.Xr.DESKTOP&&(!!/windows/i.test(E())||_(/\bWindows/i))),h=i(()=>f===r.Xr.DESKTOP&&(!!/mac/i.test(E())||_(/\b(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/))),m=i(()=>f===r.Xr.DESKTOP&&(!!/linux/i.test(E())||_(/\b(linux)/i))),b=i(()=>!!navigator.vendor&&navigator.vendor.indexOf("Apple")>-1&&!!navigator.userAgent&&-1===navigator.userAgent.indexOf("CriOS")&&-1===navigator.userAgent.indexOf("FxiOS"));i(()=>l()===r.Xr.DESKTOP&&b());let v=i(()=>l()===r.Xr.DESKTOP);function y(){return a()?r.nh.ANDROID:s()?r.nh.IOS:h()?r.nh.MAC:g()?r.nh.WINDOWS:d()?r.nh.CHROMEOS:m()?r.nh.LINUX:r.nh.UNKNOWN}function A(){switch(!0){case _(/edg/i):return r.Ev.EDGE;case _(/trident/i):return r.Ev.INTERNET_EXPLORER;case _(/firefox|fxios/i):return r.Ev.FIREFOX;case _(/opr\//i):return r.Ev.OPERA;case _(/ucbrowser/i):return r.Ev.UC_BROWSER;case _(/samsungbrowser/i):return r.Ev.SAMSUNG_BROWSER;case _(/chrome|chromium|crios/i):return r.Ev.CHROME;case _(/safari/i):return r.Ev.SAFARI;default:return r.Ev.UNKNOWN}}function E(){var e,t,n;return String((null==(t=navigator)||null==(e=t.userAgentData)?void 0:e.platform)||(null==(n=navigator)?void 0:n.platform)||"")}function _(e){var t,n;return e.test((null==(n=window)||null==(t=n.navigator)?void 0:t.userAgent)||"")}function w(){return l()===r.Xr.DESKTOP?A()===r.Ev.CHROME?"desktop-chrome":"desktop-not-chrome":a()?"android":s()?"ios":"other"}},27301:function(e){e.exports=function(e){return function(t){return e(t)}}},27534:function(e,t,n){var r=n(72552),i=n(40346);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},28519:function(e,t,n){"use strict";n.d(t,{x:function(){return r.Ay}});var r=n(68854)},28879:function(e,t,n){e.exports=n(74335)(Object.getPrototypeOf,Object)},29754:function(e,t,n){"use strict";n.d(t,{U:function(){return s},q:function(){return i}});var r=n(49234);let i=e=>r.E1.includes(e)?e.toUpperCase():e,o={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:[413,429,503],maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:e=>.3*2**(e-1)*1e3},s=(e={})=>{if("number"==typeof e)return{...o,limit:e};if(e.methods&&!Array.isArray(e.methods))throw Error("retry.methods must be an array");if(e.statusCodes&&!Array.isArray(e.statusCodes))throw Error("retry.statusCodes must be an array");return{...o,...e}}},29817:function(e){e.exports=function(e){return this.__data__.has(e)}},30085:function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.A=class{onComplete(e){this.onCompleteHandler=e}addBidder(e){this.bidders[e]=!1}setBidderStatus(e,t){this.bidders[e]=t,this._syncBidderChange()}complete(){return!!this.onCompleteHandler&&!this.queued&&(this.onCompleteHandler(),this.queued=!0,this.timing.end=Date.now(),!0)}_syncBidderChange(){Object.keys(this.bidders).filter(e=>!this.bidders[e]).length<1&&this.complete()}constructor(){n(this,"queued",void 0),n(this,"bidders",void 0),n(this,"timing",void 0),n(this,"onCompleteHandler",void 0),this.queued=!1,this.bidders={},this.timing={start:Date.now()},this.onCompleteHandler=!1}}},30294:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},30361:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?0x1fffffffffffff:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e{let n="https://dn0qt3r0xannq.cloudfront.net";return(-1!==e.indexOf("vendor/")||-1!==t.indexOf("vendor/"))&&(n="https://dn0qt3r0xannq.cloudfront.net"),n+e+t},a=(e,t,n=!1,r=!1,i=[])=>{let o=document.createElement("script");n?o.async=!0:o.async=!1,r&&(o.defer=!0),i.forEach(e=>{o.setAttribute("data-"+e.key,e.value)}),o.src=e,document[t].appendChild(o)},d=(e,t=!1)=>{let n=document.createElement("link");t&&(n.id=t),n.rel="stylesheet",n.type="text/css",n.href=e,n.media="all",document.getElementsByTagName("head")[0].appendChild(n)};t.Ay=e=>{e.forEach(e=>{(void 0===e.trigger||!e.trigger||e.trigger())&&(void 0===e.type||"js"===e.type?a(e.url,e.appendTo,e.async||!1,e.defer||!1,e.dataAttributes||[]):d(e.url,e.id))})}},34840:function(e,t,n){e.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},34858:function(e,t,n){"use strict";var r=n(44558),i=n(10667),o=n(67259);t.A=function(e,t=!1,n=!1){if("true"===(0,o.P3)("disable_refresh"))return void(0,i.A)().warn("Refresh disabled by URL param");(0,r.TT)().then(r=>{r.cmd.push(function(){n&&(0,i.A)().log(n,e),Array.isArray(e)||(e=[e]),e.forEach(e=>{var t,n;t=function(e){for(var t=1;t{for(let t in i.B.emit("pageContext.setTargeting",e),o.U.setTargeting(e),e)i.B.emit(`pageContext.setTargeting.${t}`,{key:t,value:e[t]}),a.includes(t)&&r.Z.setCustomParams({[t]:e[t]})},["targeting"]),t.A=l},36783:function(e,t,n){"use strict";n.r(t),n.d(t,{UserId:function(){return D},UserIdService:function(){return v.y},UserIdStore:function(){return C},default:function(){return j}});var r,i=n(18134),o=n(54240),s=n(18238);let a=()=>({name:"prebid",createConfig(e){let t;try{let n=e.find(e=>{var t,n,r;return(null==e?void 0:e.name)==="pubProvidedId"&&(null==e||null==(r=e.params)||null==(n=r.eids)||null==(t=n[0])?void 0:t.source)}),r=e.find(e=>(null==e?void 0:e.name)==="sharedId");!globalThis.__tude_iiq_enabled&&(n?t=n.params.eids[0].source:r&&(t="pubcid.org"))}catch(e){}return{ppid:t,userIds:e}}});var d=n(85914),l=n.n(d),c=n(90031),u=n.n(c),p=n(10667);let f=(0,p.A)("UserID").setLabel("UserId","pink"),g={"33acrossId":"pid",fabrickId:"apiKey",hadronId:"partnerId",id5Id:"partner",identityLink:"pid",pairId:"liveramp",unifiedId:"partner",lotamePanoramaId:"clientId",liveIntentId:"publisherId",connectId:"pixelId",uid2:"uid2Token"},h={"33acrossId":{name:"33acrossId",storage:{name:"33acrossId",type:"html5",expires:90,refreshInSeconds:28800},modifyBidderConfig(e,t,n){let r={};return Object.keys(r).forEach(t=>{n[t]&&(e.params[r[t]]=n[t])}),e}},connectId:{name:"connectId",modifyBidderConfig(e,t,n){let r={_email:"he",_ppid:"puid"};return Object.keys(r).forEach(t=>{n[t]&&(e.params[r[t]]=n[t])}),e}},criteo:{name:"criteo"},fabrickId:{name:"fabrickId",storage:{name:"pbjs_fabrickId",type:"cookie",expires:7},modifyBidderConfig(e,t,n){let r={_email:"e",_phone:"p",_ipv4:"i4",_ipv6:"i6",_idfa:"m",_ifa:"ia",_ifv:"iv"};return Object.keys(r).forEach(t=>{n[t]&&(e.params[r[t]]=n[t])}),e}},hadronId:{name:"hadronId",storage:{name:"hadronId",type:"html5"},modifyBidderConfig(e,t,n){let r={};return Object.keys(r).forEach(t=>{n[t]&&(e.params[r[t]]=n[t])}),e}},id5Id:{name:"id5Id",storage:{name:"id5id",type:"html5",expires:90,refreshInSeconds:28800},modifyBidderConfig(e,t,n){let r=["_email","_phone"],i={_email:"1",_phone:"2",_ipv4:"10",_ipv6:"11",_idfa:"6",_ifv:"14",_ua:"12"},o="";Object.keys(i).forEach(e=>{if(n[e]){let t=n[e];r.includes(e)||(t=encodeURIComponent(t)),o+=i[e]+"="+t+"&"}}),e.params.pd=o.slice(0,-1);try{e.params.pd=function(e){if(!e)return"";try{let t=u().encode(e);return l().encode(t)}catch(e){return(0,p.A)().error("Error encoding string:",e),""}}(e.params.pd)}catch(e){f.error(e)}return e}},identityLink:{name:"identityLink",storage:{name:"idl_env",type:"html5",expires:15,refreshInSeconds:1800},modifyBidderConfig(e,t,n){let r={};return Object.keys(r).forEach(t=>{n[t]&&(e.params[r[t]]=n[t])}),e}},liveIntentId:{name:"liveIntentId",storage:{name:"__tamLIResolveResult",type:"html5",expires:1},modifyBidderConfig(e,t,n,r){return"prebid"===r&&(e.params=e.params||{},n._email&&(e.params.emailHash=n._email),n._ipv4&&(e.params.ipv4=n._ipv4),n._ipv6&&(e.params.ipv6=n._ipv6),e.params.fpid={strategy:"html5",name:"li_fpid"},e.params.userAgent=navigator.userAgent,e.params.requestedAttributesOverrides={uid2:!0,medianet:!0,magnite:!0,bidswitch:!0,pubmatic:!0,openx:!0,sovrn:!0,index:!0,thetradedesk:!0,sharethrough:!0,sonobi:!0,vidazoo:!0,zetassp:!0,triplelift:!0,fpid:!0}),e}},lotamePanoramaId:{name:"lotamePanoramaId"},pairId:{name:"pairId"},pubProvidedId:{name:"pubProvidedId",props:{eids:[]},modifyBidderConfig(e,t,n,r){if("prebid"===r&&(n._ppid||n._email)){let t=[];n._email&&t.push({id:n._email,atype:3,ext:{stype:64===String(n._email).length?"hemsha256":"hemmd5"}}),n._md5email&&t.push({id:n._md5email,atype:3,ext:{stype:"hemmd5"}}),n._ppid&&t.push({id:n._ppid,atype:1,ext:{stype:"ppuid"}}),e.params.eids[0]={source:window.location.hostname,uids:t}}return e}},sharedId:{name:"sharedId",storage:{name:"_sharedid",type:"cookie",expires:365}},unifiedId:{name:"unifiedId",storage:{name:"pbjs-unifiedid",type:"cookie",expires:60}},uid2:{name:"uid2",modifyBidderConfig(e,t,n,r){let i=s.A.apply("userId.uid2.includeEmail",!0,e=>!!(null==e||e));if("prebid"===r&&(e.params=e.params||{},0===Object.keys(e.params.uid2Token||{}).length&&e.params.serverPublicKey&&e.params.subscriptionId&&i&&n._email&&"string"==typeof n._email)){let t=n._email;64===t.length&&(t=function(e=""){let t=[];for(let n=0;nString.fromCharCode(e)).join(""))}(t)),44===t.length&&(e.params.emailHash=t)}return e}},amxId:{name:"amxId",storage:{name:"amxId",type:"html5",expires:1}}};function m(e){for(var t=1;t{let t=e.module,n=e.storage||{},r=e.extraParams||{},i=e.key||null,{name:o,props:s={},modifyBidderConfig:a,storage:d={}}=h[t],l=g[t],c={name:o,configs:{prebid:{name:o,params:m({},i&&l?{[l]:i}:{},r,s),storage:m({},d,n)}},convert(e,t){let n=this.configs[t];return!!n&&("function"==typeof a&&(n=a(n,this,e,t)),n)}};return 0===Object.keys(c.configs.prebid.params).length&&delete c.configs.prebid.params,0===Object.keys(c.configs.prebid.storage).length&&delete c.configs.prebid.storage,c};var v=n(51804),y=n(44558),A=n(5789),E=n(22188),_=n(87594),w=n(52093),I=n(86964).Promise;function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let O=(0,p.A)("UserID"),R={_email:!1,_phone:!1,_ipv4:!1,_ipv6:!1,_idfa:!1,_ifa:!1,_ifv:!1,_ppid:!1,_ua:null!=(r=window.navigator.userAgent)&&r,_md5email:!1};class C{restoreCachedValues(){let e=[];Object.entries(this._storageKeys).forEach(([t,n])=>{let r=this._userIdData[t];r||(this._userIdData[t]=localStorage.getItem(n)||r,this._userIdData[t]!==r&&e.push(t))}),e.length&&O.advancedLog("restored from storage:",e.join(", "))}saveCachedValues(){Object.entries(this._storageKeys).forEach(([e,t])=>{let n=this._userIdData[e];n&&"string"==typeof n&&localStorage.setItem(t,n)})}clearCachedValues(){Object.values(this._storageKeys).forEach(e=>{localStorage.removeItem(e)})}onChange(e){this.onChangeHandler=e}emitChange(e){var t;this.onChangeHandler(),_.B.emit("UserId.setIdProfile.onChange",{input:e,data:this._userIdData}),_.B.emit("UserId.setIdProfile.afterRun",e);let n=(0,E.b)();null==n||null==(t=n.refreshUserIds)||t.call(n)}setBiddersWithUserId(e){this._bidders=e}setUserIdModules(e){this._userIdModules=e}enableAmazonEmail(){this.amazon=!0,O.log("Amazon Email enabled")}setIdProfile(e){O.log("User Id profile set from client",e);let t=JSON.stringify(this._userIdData);this._userIdData={_email:(null==e?void 0:e.e)||this._userIdData._email,_phone:(null==e?void 0:e.p)||this._userIdData._phone,_ipv4:(null==e?void 0:e.i4)||this._userIdData._ipv4,_ipv6:(null==e?void 0:e.i6)||this._userIdData._ipv6,_idfa:(null==e?void 0:e.idfa)||this._userIdData._idfa,_ifa:(null==e?void 0:e.ifa)||this._userIdData._ifa,_ifv:(null==e?void 0:e.ifv)||this._userIdData._ifv,_ppid:(null==e?void 0:e.ppid)||this._userIdData._ppid,_ua:(null==e?void 0:e.ua)||this._userIdData._ua,_md5email:(null==e?void 0:e.e_md5)||this._userIdData._md5email},this.restoreCachedValues();let n=t!==JSON.stringify(this._userIdData);n&&this.saveCachedValues(),this.amazon&&this.sendToAmazon(),"string"==typeof(null==e?void 0:e.ppid)&&w.U.setPublisherProvidedId(e.ppid),n&&this.emitChange(e)}resetIdProfile(){var e;O.log("User Id profile reset");let t=(0,E.b)(),n=!!(this._userIdData._ppid||this._userIdData._email),r=JSON.stringify(this._userIdData)!==JSON.stringify(R);this._userIdData=R,this.clearCachedValues(),this.amazon&&(0,A.U)("apstag",{}).then(()=>{var e,t;null==(e=(t=window.apstag).dpa)||e.call(t),O.log("amazon token deleted")}),n&&(O.log("gpt ppid reset"),w.U.setPublisherProvidedId("")),O.log("prebid user ids refreshed"),null==t||null==(e=t.refreshUserIds)||e.call(t),_.B.emit("UserId.resetIdProfile.afterRun"),r&&this.emitChange({})}getPublicFunctions(){return{setIdProfile:this.setIdProfile.bind(this),resetIdProfile:this.resetIdProfile.bind(this)}}toConfig(e){let t=this._bidders.find(t=>t.name===e);if(!t)return!1;let n=[];return this._userIdModules.forEach(e=>{let r=e.convert(this._userIdData,t.name);r&&n.push(r)}),!(n.length<1)&&t.createConfig(n)}constructor(){S(this,"_userIdData",R),S(this,"_bidders",[]),S(this,"_userIdModules",[]),S(this,"_storageKeys",{_email:"cw-cache.user-id.hem-sha256",_md5email:"cw-cache.user-id.hem-md5",_ppid:"cw-cache.user-id.ppid"}),S(this,"amazon",!1),S(this,"amazonPubId",void 0),S(this,"onChangeHandler",()=>{}),S(this,"enableAmazonBetaApi",async()=>{let e=(0,E.b)(),{AMAZON_PUB_ID:t}=await y.rI.getConfig();if(!t)return O.warn("Amazon pub id not found for beta api"),!1;e.que.push(()=>{e.getUserIdsAsync&&e.getUserIdsAsync().then(()=>{O.log("User Ids enabled for API"),({accountID:t,record:function(e,t){return new I((n,r)=>{var i,o;window._aps.get(this.accountID).queue.push(new CustomEvent(e,{detail:(i=function(e){for(var t=1;t{if(!this._userIdData._email||"string"!=typeof this._userIdData._email)return;let e={hashedRecords:[{type:"email",record:this._userIdData._email}]};O.log("Sending token to Amazon",e),(0,A.U)("apstag",{}).then(()=>{window.apstag.rpa(e,()=>{O.log("Amazon token sent",e)})})});let e=JSON.stringify(this._userIdData);this.restoreCachedValues(),e!==JSON.stringify(this._userIdData)&&this.emitChange({})}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class D extends o.A{getLoggerColor(){return"pink"}getInitialState(){return{}}start(){let e=new C;e.setBiddersWithUserId([a()]);let{userModules:t}=this.props;return e.setUserIdModules(t.map(e=>b(e))),v.y.setStore(e),v.y.enableUserId(),!1!==this.props.enableAmazonEmail&&e.enableAmazonEmail(),this.props.enableAmazonBetaApi&&e.enableAmazonBetaApi(),this.publicFunctions=e.getPublicFunctions()||{},s.A.sub("tudePublicFunctions",({tude:e})=>(Object.entries(this.publicFunctions).forEach(t=>{let[n,r]=t;e[n]=r}),{tude:e})),this.publicFunctions}constructor(e){super(e,"UserId"),P(this,"userModules",void 0),P(this,"defaultUserModules",[{module:"sharedId"},{module:"fabrickId",key:"2254903614"},{module:"id5Id",key:1016},{module:"33acrossId",key:"0015a00002qqhgFAAQ"},{module:"pubProvidedId"},{module:"criteo"}]),P(this,"publicFunctions",void 0),this.userModules=e.userModules,this.defaultUserModules.length&&this.defaultUserModules.filter(e=>null==e?void 0:e.module).filter(e=>!this.userModules.find(t=>t.module===e.module)).filter(t=>!(e.disabledModules||[]).includes(t.module)).forEach(e=>{this.userModules.push(e)})}}P(D,"componentName","user-id"),(0,i.h)(D);var j=D},36800:function(e,t,n){var r=n(75288),i=n(64894),o=n(30361),s=n(23805);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return("number"==a?!!(i(n)&&o(t,n.length)):"string"==a&&t in n)&&r(n[t],e)}},37167:function(e,t,n){var r=n(4901),i=n(27301),o=n(86009),s=o&&o.isTypedArray;e.exports=s?i(s):r},37217:function(e,t,n){var r=n(80079),i=n(51420),o=n(90938),s=n(63605),a=n(29817),d=n(80945);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=s,l.prototype.has=a,l.prototype.set=d,e.exports=l},37241:function(e,t,n){var r=n(70695),i=n(72903),o=n(64894);e.exports=function(e){return o(e)?r(e,!0):i(e)}},37334:function(e){e.exports=function(e){return function(){return e}}},37828:function(e,t,n){e.exports=n(9325).Uint8Array},39344:function(e,t,n){var r=n(23805),i=Object.create;e.exports=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}()},40295:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});let r={START:"plugin.start"}},40346:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},42824:function(e,t,n){var r=n(87805),i=n(93290),o=n(71961),s=n(23007),a=n(35529),d=n(72428),l=n(56449),c=n(83693),u=n(3656),p=n(1882),f=n(23805),g=n(11331),h=n(37167),m=n(14974),b=n(69884);e.exports=function(e,t,n,v,y,A,E){var _=m(e,n),w=m(t,n),I=E.get(w);if(I)return void r(e,n,I);var S=A?A(_,w,n+"",e,t,E):void 0,O=void 0===S;if(O){var R=l(w),C=!R&&u(w),P=!R&&!C&&h(w);S=w,R||C||P?l(_)?S=_:c(_)?S=s(_):C?(O=!1,S=i(w,!0)):P?(O=!1,S=o(w,!0)):S=[]:g(w)||d(w)?(S=_,d(_)?S=b(_):(!f(_)||p(_))&&(S=a(w))):O=!1}O&&(E.set(w,S),y(S,w,v,A,E),E.delete(w)),r(e,n,S)}},43360:function(e,t,n){var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},43859:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=new class{get isDisabled(){return"boolean"==typeof window.__RAVEN_ENABLED&&!1===window.__RAVEN_ENABLED}disableTracking(){window.__RAVEN_ENABLED=!1}getGlobal(){return window.Raven=window.Raven||{cmd:[]},window.Raven.cmd=window.Raven.cmd||[],window.Raven}setCustomParams(e){this.push(({config:t})=>{t.setCustom(e)})}setTudeMeta(e){this.push(({config:t})=>{t.setTudeMeta(e)})}recordPageview(){this.push(({events:e})=>{e.pageview()})}recordCustomEvent(e,t){this.push(({events:n})=>{n.sendCustomEvent(e,t)})}recordEvent(e,t){this.push(({events:n})=>{n.send(e,t)})}constructor(){var e,t;e="push",t=e=>{this.isDisabled||this.getGlobal().cmd.push(e)},e in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}},43977:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});let r=e=>null!==e&&"object"==typeof e},44558:function(e,t,n){"use strict";let r,i,o,s,a;n.d(t,{rI:function(){return eQ},GJ:function(){return eJ},TT:function(){return eX},Xp:function(){return e0}}),n(11490),n(8555);var d,l,c,u=n(18238),p=n(10667);u.A.sub("prebidAdUnitConfig",e=>{var t,n;let{adUnit:r}=e;return r&&(null==r||null==(n=r.mediaTypes)||null==(t=n.banner)?void 0:t.sizes)&&(r.mediaTypes.banner.sizes=r.mediaTypes.banner.sizes.filter(e=>{let t=e.includes("fluid");return t&&(0,p.A)().log(`Removing size ${e} from ${r.slot}`),!t})),e});var f=n(22188);u.A.sub("wrapperConfigOnInit",e=>{let t;try{Object.keys(e.AD_UNITS).find(n=>!!e.AD_UNITS[n].find(e=>!!((null==e?void 0:e.bids)||[]).find(e=>"adagio"===e.bidder&&(t=e,!0))))}catch(e){}return u.A.sub("prebidGlobalConfig",e=>{let n=(0,f.b)();return n.que.push(()=>{var r,i,o,s,a;if(t&&(null==t||null==(r=t.params)?void 0:r.organizationId)&&(null==t||null==(i=t.params)?void 0:i.site)&&(n.version||"").startsWith("v9")&&n.installedModules.includes("adagioBidAdapter")&&n.installedModules.includes("adagioRtdProvider")){e.realTimeData=null!=(o=e.realTimeData)?o:{auctionDelay:100,dataProviders:[]};let n=e.realTimeData;n.dataProviders=n.dataProviders||[],n.dataProviders.find(e=>"adagio"===e.name)||((0,p.A)().advancedLog("Auto-configuring adagioRtdModule for prebid v9"),n.dataProviders.push({name:"adagio",params:{organizationId:null==(s=t.params)?void 0:s.organizationId,site:null==(a=t.params)?void 0:a.site}}))}}),e}),e});var g=n(25279),h=n(74547),m=n(24510),b=n(51804),v=n(85222),y=n(87594),A=n(52093),E=n(46817);let _={COMPLETED:"completed",NOT_STARTED:"not_started",STARTED:"started"},w=()=>Date.now();var I=class{push(e){this.reqs.push(e)}getByRecent(){return this.reqs.sort((e,t)=>e.startedAt!(e.status===_.COMPLETED&&w()-e.completedAt>1e4)&&!0)}constructor(){this.reqs=[]}};class S{formatBids(e){return e.filter(e=>void 0===e.status).map(e=>({adId:e.adId,adUnitCode:e.adUnitCode,bidder:e.bidder,cpm:e.cpm,creativeId:e.creativeId,requestId:e.requestId,status:e.status,statusMessage:e.statusMessage}))}constructor({adUnit:e,adUnitCode:t,divId:n,baseDivId:r},i){this.adUnitCode=t,this.adUnit=e,this.divId=n,this.baseDivId=r,this.pbjsGlobalName=i,this.bidderMatches=[],this.index=S.num,S.num++}}"num"in S?Object.defineProperty(S,"num",{value:0,enumerable:!0,configurable:!0,writable:!0}):S.num=0;class O{addUnit({adUnit:e,adUnitCode:t,divId:n,baseDivId:r}){this.units.push(new S({adUnit:e,adUnitCode:t,divId:n,baseDivId:r},this.pbjsGlobalName))}getTimings(){return{deltas:{e2e:this.completedAt-this.createdAt,steps:{"0_createdStarted":this.startedAt-this.createdAt,"1_startedCompleted":this.completedAt-this.startedAt}}}}markAsStarted(){this.status=_.STARTED,this.startedAt=w(),y.B.emit(h.qY.AUCTION_START,{auctionId:this.auctionId,ids:this.units.map(e=>({adUnit:e.adUnit,adUnitCode:e.adUnitCode,divId:e.divId}))})}markAsCompleted(){this.status=_.COMPLETED,this.completedAt=w()}constructor(e,t){this.status=_.NOT_STARTED,this.createdAt=w(),this.startedAt=!1,this.completedAt=!1,this.units=[],this.auctionId=t,this.index=O._num,this.pbjsGlobalName=e,O._num++}}function R(e,t){if(void 0===e)throw TypeError("attempted to "+t+" private static field before its declaration")}function C(e,t,n){return j(e,t),R(n,"get"),n.get?n.get.call(e):n.value}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){for(var t=1;te.find(e=>{let n=!0;return e.slot&&t.slot&&(n=Array.isArray(e.slot)?e.slot.includes(t.slot):e.slot===t.slot),n&&(e.code===t.divId||e.code===t.adUnit)});class x{static setGlobalName(e){this.globalName=e}static getGlobalInstance(){return window[this.globalName]=window[this.globalName]||{},window[this.globalName].que=window[this.globalName].que||[],window[this.globalName]}static setBidderSettings(e){let t=x.getGlobalInstance(),n=t.bidderSettings||{};t.bidderSettings=D({standard:{storageAllowed:!0}},n,e)}static registerSignalSources(){if(x.registerSignalSourcesCalled)return;x.registerSignalSourcesCalled=!0;let e=x.getGlobalInstance();e.que.push(()=>{e.getUserIdsAsync&&e.getUserIdsAsync().then(()=>{let t=Array.from(new Set(e.getUserIdsAsEids().map(e=>e.source)));if(t&&t.length){let n=n=>((null==(n=n||{})?void 0:n.encryptedSignalSources)||((n=n||{}).encryptedSignalSources={sources:[{source:t,encrypt:!1}]},e.mergeConfig({userSync:n})),n);n(e.getConfig("userSync")),e.getConfig("userSync",e=>n(null==e?void 0:e.userSync)),A.U.push(()=>e.registerSignalSources())}})})}setListenersForUserIdChanges(){m.A.onChange(()=>{this.syncUserIdConfig()}),b.A.onChange(()=>{this.syncUserIdConfig()})}syncUserIdConfig(){let e,{userSync:t}=this.config.PREBID_CONFIG,n="User Id";if(m.A.isEnabled()&&m.A.store?e=m.A:b.A.isEnabled()&&b.A.store&&(e=b.A,n="User Id V2"),!e)return;let r=e.store.toConfig("prebid");if(r){N(`Syncing ${n} config for prebid`,e.store),t=D({},t,r);let i=x.getGlobalInstance();i.que.push(()=>{let e=i.getConfig("userSync.userIds")||[];if(e.length){let n=t.userIds||[];e.forEach(e=>{n.every(t=>t.name!==e.name)&&n.push(e)}),t.userIds=n}i.setConfig({userSync:t})})}else(0,p.A)(U).warn(`${n} profile or modules were empty`,e.store)}forceTriggerPrebidUserSyncs(){let e=x.getGlobalInstance();e.que.push(()=>{N("calling prebid triggerUserSyncs"),e.setConfig({userSync:{enableOverride:!0}}),e.triggerUserSyncs(),e.setConfig({userSync:{enableOverride:!1}}),e.getUserIdsAsync().then(e=>N("user ids all complete:",e))})}isTudeServe(){return["v2","tude"].includes(this.config.AD_SERVER)}constructor(e){P(this,"config",void 0),P(this,"requestBidsWithoutSlots",e=>{let{mappings:t,adUnits:n,cb:r,auctionState:i={}}=e,{PREBID_GLOBAL:o,PREBID_TIMEOUT:s,PREBID_SIZES_OVERRIDE:a}=this.config,d=x.getGlobalInstance(),l=(0,g.A)(),c=new O(o,l);if(!v.A.canReceivePersonalizedAds()){(0,p.A)(U).warn("Prebid will not run because personalized ads are turned off"),r({adUnitCodes:[],bids:{},req:!1});return}let f=t.filter(e=>L(n,e)).map(e=>{var t;let r=Object.assign({},L(n,e));r.code=e.divId,(null==(t=r.mediaTypes)?void 0:t.banner)&&(a&&e.prebidSizes&&(r.mediaTypes.banner.sizes=e.prebidSizes),r.mediaTypes.banner.sizes=u.A.apply("prebidSizes",{code:r.code,adUnit:e.adUnit,baseDivId:e.baseDivId,sizes:r.mediaTypes.banner.sizes},({sizes:e})=>e));let i={adUnitCode:(r=u.A.apply("prebidAdUnitConfig",{adUnit:r,adUnits:n,baseDivId:e.baseDivId,divId:e.divId},({adUnit:e})=>e)).code,adUnit:e.adUnit,divId:e.divId,baseDivId:e.baseDivId};return c.addUnit(i),r}),m=u.A.apply("prebidAdUnits",{prebidAdUnits:f,adUnits:n,mappings:t},({prebidAdUnits:e})=>e);if(m.length<1)return(0,p.A)(U).error("No prebid ad unit matches for ",t),!1;m.forEach(e=>{y.B.emit(`pbjs.beforeRequest.${e.code}`,e)});let b=m.map(e=>e.code);B.push(c),B.garbageCollect(),d.que.push(()=>{var e,t;N(h.dN.PREBID_REQUEST_STARTING,b,{requestableUnits:f}),c.markAsStarted(),d.removeAdUnit(m.map(e=>e.code)),d.addAdUnits(m);let n=this.isTudeServe();d.requestBids((e=D({},{timeout:s,adUnitCodes:b,auctionId:l}),t=t={bidsBackHandler:e=>{i.timedout||n||d.setTargetingForGPTAsync(b),c.markAsCompleted(),r({adUnitCodes:b,bids:e,req:c})}},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e))})});let{BID_MODIFIERS:t,PREBID_CACHE:n,PREBID_CACHE_DISABLE_MOVING_BIDDERS:r,PREBID_SECURE_SIGNALS:i,PREBID_SINGLETON:o,PREBID_EARLY_USERSYNC:s}=e;if(o){if(C(x,x,M))return C(x,x,M);var a=x,d=x,l=M,c=this;if(j(a,d),R(l,"set"),l.set)l.set.call(a,c);else{if(!l.writable)throw TypeError("attempted to set read only private field");l.value=c}}this.config=e,(m.A.isEnabled()&&m.A.store||b.A.isEnabled()&&b.A.store)&&(b.A.isEnabled()?N("User Id V2 sync service is enabled for Prebid"):N("User Id sync service is enabled for Prebid"),this.syncUserIdConfig(),this.setListenersForUserIdChanges(),s&&o&&this.forceTriggerPrebidUserSyncs()),n&&(0,E.A)({PREBID_CACHE_DISABLE_MOVING_BIDDERS:r,BID_MODIFIERS:t,AD_SERVER:e.AD_SERVER}),i&&x.registerSignalSources()}}P(x,"globalName","pbjs"),P(x,"registerSignalSourcesCalled",!1);var M={writable:!0,value:void 0};function k(e,t){if(void 0===e)throw TypeError("attempted to "+t+" private static field before its declaration")}function G(e,t,n){return V(e,t),k(n,"get"),n.get?n.get.call(e):n.value}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){for(var t=1;t{var t;return(null==e?void 0:e.s2sConfig)&&!(null==e||null==(t=e.s2sConfig)?void 0:t.timeout)&&(null==e?void 0:e.bidderTimeout)&&(e.s2sConfig.timeout=Math.max(500,e.bidderTimeout-250)),function(e={}){if((null==e?void 0:e.eventHistoryTTL)!==void 0&&(null==e?void 0:e.minBidCacheTTL)!==void 0)return;let t=(0,f.b)();t.que.push(()=>{setTimeout(()=>{var r,i;if(Object.keys(n.g.assertive||{}).length||window._assertiveInitialized)return;let o={eventHistoryTTL:null!=(r=e.eventHistoryTTL)?r:15,minBidCacheTTL:null!=(i=e.minBidCacheTTL)?i:0};(0,p.A)().advancedLog("configuring prebid to clear events and expired bids",o),t.setConfig(o)},15e3)})}(e),e});class H extends Error{constructor(e,t){super(e),F(this,"context",void 0),this.context=t,this.name="PrebidOptimizationError"}}let $=(0,p.A)("Prebid-V2").setLabel("Pb2","#2B65EC"),Y=(()=>{let e=new Map;return async(...t)=>{let n=t[0];if("string"==typeof n&&e.has(n))return e.get(n);let r=$.log(...t);return"string"==typeof n&&e.set(n,r),r}})(),W=(s=null,{getInstance:()=>(s||(s=new I),s)});(a=!1,()=>{if(!a)try{window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],a=!0}catch(e){throw new H("Failed to initialize Google Tag Manager",{error:e})}})();let Z=(()=>{let e=new Map,t=0;return(n,r)=>{try{let i=Date.now();i-t>5e3&&(e.clear(),t=i);let o=`${n}_${r}`;if(e.has(o))return e.get(o);for(let t of W.getInstance().getByRecent().filter(e=>e.status===_.STARTED)){let i=t.units.find(e=>e.adUnitCode===n&&!e.bidderMatches.includes(r));if(i)return i.bidderMatches.push(r),e.set(o,i),i}return e.set(o,null),null}catch(e){return $.error("Error in matchAdUnitCodeToDivId:",e),null}}})(),K=(()=>{let e=new Map,t=0;return(n,r)=>{try{let i=n.length+n.reduce((e,t)=>e+t.code.length,0);i!==t&&(e.clear(),n.forEach(t=>{e.set(t.code,t)}),t=i);let o=e.get(r.divId)||e.get(r.adUnit);return o||(o=n.find(e=>{let t=!0;return e.slot&&r.slot&&(t=Array.isArray(e.slot)?e.slot.includes(r.slot):e.slot===r.slot),t&&(e.code===r.divId||e.code===r.adUnit)})),o}catch(e){throw new H("Error matching mapping to ad unit",{mapping:r,error:e})}}})();class Q{initialize(){if(!this.isInitialized)try{let{BID_MODIFIERS:e,PREBID_CACHE:t,PREBID_CACHE_DISABLE_MOVING_BIDDERS:n,PREBID_SECURE_SIGNALS:r,PREBID_SINGLETON:i,PREBID_EARLY_USERSYNC:o}=this.config,s=[];this.isUserIdServiceEnabled()&&(b.A.isEnabled()?Y("User Id V2 sync service is enabled for Prebid"):Y("User Id sync service is enabled for Prebid"),s.push(this.syncUserIdConfig(),this.setListenersForUserIdChanges()),o&&i&&s.push(this.forceTriggerPrebidUserSyncs())),t&&(0,E.A)({PREBID_CACHE_DISABLE_MOVING_BIDDERS:Array.isArray(n)?n:[],BID_MODIFIERS:e,AD_SERVER:this.config.AD_SERVER}),r&&Q.registerSignalSources(),this.isInitialized=!0}catch(e){throw new H("Failed to initialize OptimizedPrebidBidder",{error:e})}}static setGlobalName(e){this.globalName=e}static getGlobalInstance(){let e=this.globalName;return window[e]?window[e].que||(window[e].que=[]):window[e]={que:[]},window[e]}static setBidderSettings(e){try{let t=Q.getGlobalInstance();t.bidderSettings=z({standard:{storageAllowed:!0}},t.bidderSettings,e)}catch(t){throw new H("Failed to set bidder settings",{settings:e,error:t})}}static registerSignalSources(){if(!Q.registerSignalSourcesCalled){Q.registerSignalSourcesCalled=!0;try{let e=Q.getGlobalInstance();e.que.push(()=>{e.getUserIdsAsync&&e.getUserIdsAsync().then(()=>{let t=e.getUserIdsAsEids()||[],n=[...new Set(t.map(e=>e.source))];if(0===n.length)return;let r=(e={})=>(null==e?void 0:e.encryptedSignalSources)?e:q(z({},e),{encryptedSignalSources:{sources:[{source:n,encrypt:!1}]}}),i=e.getConfig("userSync"),o=r(i);e.mergeConfig({userSync:o}),e.getConfig("userSync",t=>{let n=r(null==t?void 0:t.userSync);n!==(null==t?void 0:t.userSync)&&e.mergeConfig({userSync:n})}),A.U.push(()=>e.registerSignalSources())}).catch(e=>{$.error("Failed to register signal sources:",e)})})}catch(e){throw new H("Failed to register signal sources",{error:e})}}}setListenersForUserIdChanges(){let e=()=>this.syncUserIdConfig();this.userIdChangeListeners.has(e)||(m.A.onChange(e),b.A.onChange(e),this.userIdChangeListeners.add(e))}syncUserIdConfig(){try{let{userSync:e}=this.config.PREBID_CONFIG||{},t=this.getActiveUserIdService();if(!t)return;let n=t.store.toConfig("prebid");if(!n){let e=t===b.A?"User Id V2":"User Id";$.warn(`${e} profile or modules were empty`,t.store);return}Y(`Syncing ${t===b.A?"User Id V2":"User Id"} config for prebid`,t.store),e=z({},e,n);let r=Q.getGlobalInstance();r.que.push(()=>{try{let t=r.getConfig("userSync.userIds")||[];if(t.length>0){let n=[...e.userIds||[]],r=new Set(n.map(e=>e.name));t.forEach(e=>{r.has(e.name)||n.push(e)}),e.userIds=n}r.setConfig({userSync:e})}catch(e){$.error("Error setting user sync config:",e)}})}catch(e){throw new H("Failed to sync user ID config",{error:e})}}getActiveUserIdService(){return m.A.isEnabled()&&m.A.store?m.A:b.A.isEnabled()&&b.A.store?b.A:null}forceTriggerPrebidUserSyncs(){let e=Q.getGlobalInstance();e.que.push(()=>{try{Y("calling prebid triggerUserSyncs"),e.setConfig({userSync:{enableOverride:!0}}),e.triggerUserSyncs(),e.setConfig({userSync:{enableOverride:!1}}),e.getUserIdsAsync().then(e=>Y("user ids all complete:",e)).catch(e=>$.error("Error getting user IDs:",e))}catch(e){$.error("Error triggering user syncs:",e)}})}processRequestableUnits(e,t,n,r){let i=[];for(let s of e)try{var o;let e=K(t,s);if(!e)continue;let a=q(z({},e),{code:s.divId});if(null==(o=a.mediaTypes)?void 0:o.banner){r&&s.prebidSizes&&(a.mediaTypes.banner.sizes=s.prebidSizes);try{let e=u.A.apply("prebidSizes",{code:a.code,adUnit:s.adUnit,baseDivId:s.baseDivId,sizes:a.mediaTypes.banner.sizes},({sizes:e})=>e);a.mediaTypes.banner.sizes=Array.isArray(e)?e:a.mediaTypes.banner.sizes}catch(e){$.error("Error applying prebidSizes filter:",e)}}let d=u.A.apply("prebidAdUnitConfig",{adUnit:a,adUnits:t,baseDivId:s.baseDivId,divId:s.divId},({adUnit:e})=>e),l={adUnitCode:d.code,adUnit:s.adUnit,divId:s.divId,baseDivId:s.baseDivId};n.addUnit(l),i.push(d)}catch(e){$.error("Error processing requestable unit:",e,{mapping:s})}return i}applyPrebidFilters(e,t,n){try{return u.A.apply("prebidAdUnits",{prebidAdUnits:e,adUnits:t,mappings:n},({prebidAdUnits:e})=>e)}catch(t){return $.error("Error applying prebid filters:",t),e}}constructor(e){let t,n;if(F(this,"config",void 0),F(this,"userIdChangeListeners",new Set),F(this,"isInitialized",!1),F(this,"isUserIdServiceEnabled",(t=null,()=>(null===t&&(t=!!(m.A.isEnabled()&&m.A.store)||!!(b.A.isEnabled()&&b.A.store)),t))),F(this,"isTudeServe",(n=null,()=>(null===n&&(n=["v2","tude"].includes(this.config.AD_SERVER||"")),n))),F(this,"requestBidsWithoutSlots",e=>{let{mappings:t,adUnits:n,cb:r,auctionState:i={}}=e,{PREBID_GLOBAL:o,PREBID_TIMEOUT:s,PREBID_SIZES_OVERRIDE:a}=this.config;try{if(!(null==t?void 0:t.length))throw new H("No mappings provided",{params:e});if(!(null==n?void 0:n.length))throw new H("No ad units provided",{params:e});if(!r||"function"!=typeof r)throw new H("Invalid callback function",{params:e});let d=Q.getGlobalInstance(),l=(0,g.A)(),c=new O(o,l);if(!v.A.canReceivePersonalizedAds())return $.warn("Prebid will not run because personalized ads are turned off"),r({adUnitCodes:[],bids:{},req:!1}),!1;let u=this.processRequestableUnits(t,n,c,a);if(0===u.length)return $.error("No prebid ad unit matches for",t),!1;let p=this.applyPrebidFilters(u,n,t);p.forEach(e=>{try{y.B.emit(`pbjs.beforeRequest.${e.code}`,e)}catch(t){$.error(`Error emitting event for unit ${e.code}:`,t)}});let f=p.map(e=>e.code),m=W.getInstance();return m.push(c),m.garbageCollect(),d.que.push(()=>{try{Y(h.dN.PREBID_REQUEST_STARTING,f,{requestableUnits:u}),c.markAsStarted(),d.removeAdUnit(f),d.addAdUnits(p);let e=this.isTudeServe();d.requestBids(q(z({},{timeout:s,adUnitCodes:f,auctionId:l}),{bidsBackHandler:t=>{try{i.timedout||e||d.setTargetingForGPTAsync(f),c.markAsCompleted(),r({adUnitCodes:f,bids:t,req:c})}catch(e){$.error("Error in bidsBackHandler:",e),r({adUnitCodes:[],bids:{},req:!1})}}}))}catch(e){$.error("Error in prebid request execution:",e),c.markAsCompleted(),r({adUnitCodes:[],bids:{},req:!1})}}),!0}catch(e){return $.error("Error in requestBidsWithoutSlots:",e),r({adUnitCodes:[],bids:{},req:!1}),!1}}),e.PREBID_SINGLETON){if(G(Q,Q,X))return G(Q,Q,X);var r=Q,i=Q,o=X,s=this;if(V(r,i),k(o,"set"),o.set)o.set.call(r,s);else{if(!o.writable)throw TypeError("attempted to set read only private field");o.value=s}}this.config=z({},e),this.initialize()}}F(Q,"globalName","pbjs"),F(Q,"registerSignalSourcesCalled",!1);var X={writable:!0,value:null};u.A.sub("prebidGlobalConfig",e=>{try{return(null==e?void 0:e.s2sConfig)&&!e.s2sConfig.timeout&&e.bidderTimeout&&(e.s2sConfig.timeout=Math.max(500,e.bidderTimeout-250)),function(e={}){if(void 0===e.eventHistoryTTL||void 0===e.minBidCacheTTL)try{let t=(0,f.b)();t.que.push(()=>{let r=setTimeout(()=>{try{var r,i;if(Object.keys(n.g.assertive||{}).length>0||window._assertiveInitialized)return;let o={eventHistoryTTL:null!=(r=e.eventHistoryTTL)?r:15,minBidCacheTTL:null!=(i=e.minBidCacheTTL)?i:0};(0,p.A)().advancedLog("configuring prebid to clear events and expired bids",o),t.setConfig(o)}catch(e){$.error("Error in prebid clear events configuration:",e)}},15e3);"undefined"!=typeof window&&window.addEventListener("beforeunload",()=>{clearTimeout(r)},{once:!0})})}catch(e){$.error("Error setting up prebid clear events:",e)}}(e),e}catch(t){return $.error("Error in prebidGlobalConfig filter:",t),e}});var J=n(4413),ee=n(67259);let et="true"==(0,ee.P3)("pbjsv2")?100:1,en=100-et,{PrebidBidderTest:er,matchAdUnitCodeToDivIdTest:ei}=(0,J.J)({name:`20250625-prebid-v2-test-${et}-${en}`,tracking:"custom_116",variants:[{name:"test",value:{PrebidBidderTest:Q,matchAdUnitCodeToDivIdTest:Z},percent:et},{name:"control",value:{PrebidBidderTest:x,matchAdUnitCodeToDivIdTest:(e,t)=>{let n=null;return B.getByRecent().filter(e=>e.status===_.STARTED).forEach(r=>{let i=r.units.filter(n=>n.adUnitCode===e&&!1!==n.bidderMatches.includes(t));if(i.length>0)return n=i[0],i[0].bidderMatches.push(t),!1}),n}},percent:en}]});var eo=n(99406),es=n(75208),ea=n(36016);let ed=(0,p.A)("ay-revenue").setLabel("Predictions"),el=.8,ec="USD",eu=[{name:"2RPS",rps:.02},{name:"6RPS",rps:.06},{name:"10RPS",rps:.1},{name:"15RPS",rps:.15},{name:"20RPS",rps:.2},{name:"25RPS",rps:.25}],ep=!1,ef="assertive_predictedRevenue";function eg(){let e;eg.hasRan||(eg.hasRan=!0,window.addEventListener(ef,()=>{e="yes",ea.A.setTargeting({tude_revpr:e})}),A.U.addEventListener("slotRenderEnded",()=>{setTimeout(()=>{e||(e="no",ea.A.setTargeting({tude_revpr:e}))},1e3)}))}var eh={addImpCPMTrackingEvents:(e=el,t=ec)=>{ed.log(h.dN.ADDING_FB_PURCHASE_TRACKING),eg(),window.addEventListener(ef,function(n){if(void 0===window.fbq)return void ed.warn("No FB pixel on the page to record Purchase events");try{let r=n.data.meta.impressionUUID,i=n.data.predictedRevenueCPM.impression*e;fbq("track","Purchase",{currency:t,value:i,transactionId:r}),ed.advancedLog("Facebook (FB) event triggered",{event:"Purchase",value:i,type:"impression"})}catch(e){ed.error(e)}},!1)},addRPSTrackingEvents:(e=eu,t=ec,n=ep,r=!1)=>{ed.log(h.dN.ADDING_FB_RPS_TRACKING),eg(),window.addEventListener(ef,function(i){if(void 0===window.fbq)return void ed.warn("No FB pixel on the page to record RPS events");try{let o=i.data.meta.impressionUUID,s=i.data.predictedRevenueCPM.session/1e3;ed.advancedLog("Session revenue updated",{sessionRev:s}),e.forEach(e=>{let i="tude-fb-rps-"+e.name,a=function(e){let t=new RegExp("".concat(e,"=([^;]+)(?:;|$)")).exec(document.cookie);return t?JSON.parse(t[1]):[]}(i);s>e.rps&&!a.includes(e.rps)&&(fbq("trackCustom",e.name,{currency:t,value:e.rps,transactionId:o}),a.push(e.rps),document.cookie="".concat(i,"=").concat(JSON.stringify(a),"; path=/; samesite=lax; max-age=").concat(1800),ed.advancedLog("Facebook (FB) event triggered",{event:e.name,value:e.rps,type:"rps"}),n&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"RPS",rpsValue:r?parseInt(100*e.rps):e.rps})))})}catch(e){ed.error(e)}},!1)},useServerSideAyPredictions:()=>{ef="assertive_predictedRevenueServer"}},em=n(69837),eb=n(34858),ev=({divMapping:e,forceRender:t=!1,inViewOnly:n=!0,cb:r})=>{document.addEventListener("visibilitychange",()=>{!document.hidden&&((0,em.A)(document.getElementById(e.divId))||!n)&&(r&&r(),(0,eb.A)(e,t,"Triggering Activity Refresh"))})},ey=n(71309);function eA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let eE="timedRefresh";async function e_(...e){(0,p.A)(eE).log(...e)}async function ew(...e){(0,p.A)(eE).advancedLog(...e)}(0,p.A)(eE).setLabel("Timed Refresh","#FFD700");var eI=class{startTimer(){this.isPaused&&(this.isPaused=!1,e_(`Started timed refresh for ${this.mapping.divId} at ${this.activeViewSeconds}/${this.targetSeconds} seconds`),this.interval=setInterval(()=>{this.activeViewSeconds+=1,ew([this.mapping.divId],`at ${this.activeViewSeconds} seconds`),this.activeViewSeconds===this.targetSeconds&&this.refresh()},1e3))}refresh(){e_("Triggering timed refresh",this.mapping),this.onTimedRefresh(this.mapping),(0,eb.A)(this.mapping),this.reset()}reset(){setTimeout(()=>this.activeViewSeconds=0,500)}pauseTimer(){this.isPaused||(this.isPaused=!0,e_(`Timed refresh paused for ${this.mapping.divId} at ${this.activeViewSeconds} seconds`),clearInterval(this.interval))}constructor(e,{onTimedRefresh:t,onActivityRefresh:n}){var r,i,o;eA(this,"activeViewSeconds",0),eA(this,"interval",void 0),eA(this,"isPaused",!0),eA(this,"mapping",void 0),eA(this,"onActivityRefresh",void 0),eA(this,"onTimedRefresh",void 0),eA(this,"targetSeconds",void 0),this.mapping=e,this.onActivityRefresh=n,this.onTimedRefresh=t,this.targetSeconds=null==(r=e.refresh)?void 0:r.seconds,e_(`Watching for timed refresh of ${this.targetSeconds} seconds for ${e.divId}`),(null==(i=e.refresh)?void 0:i.activityRefresh)&&ev({divMapping:e,forceRender:!1,inViewOnly:!0,cb:()=>{this.reset(),n(e)}}),(null==(o=e.refresh)?void 0:o.activeView)?(0,ey.A)({viewablePercent:50,divId:e.divId,inViewCb:()=>this.startTimer(),outOfViewCb:()=>this.pauseTimer()}):this.startTimer()}};let eS={onTimedRefresh:void 0,onActivityRefresh:void 0};var eT=(e,t)=>new eI(e,function(e){for(var t=1;tt.name===e)}static usePlugin(e,t){let n={props:{}},{PLUGINS:r}=t;r&&r[e.name]&&"object"==typeof r[e.name]&&(n=r[e.name]),e.setConfig(n.props),e.trigger(eR.y.START),this.plugins.push(e),e.ready=!0,e.trigger("ready"),(0,p.A)("Plugin").log("Plugin "+e.name+" has been loaded",n)}static async onReady(e,t){let n=this.getPluginByName(e);n&&(n.ready?t(n):n.on("ready",()=>t(n)))}}c=[],(l="plugins")in eC?Object.defineProperty(eC,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):eC[l]=c;var eP=n(7723),eD=n(30085),ej=n(6262),eU=e=>{let t=e.getGlobalInstance();t.que.push(()=>{t.onEvent("auctionEnd",function(e){let t=(0,p.A)("Bid Response");console.group("Bids Received"),console.log("Ad Units",e.adUnitCodes),e.bidsReceived.length>0?console.table(e.bidsReceived,["bidder","cpm","size","timeToRespond"]):t.warn("No bids!"),console.groupEnd()}),t.onEvent("adRenderFailed",function(e){console.error("ad render error",e)})})},eN=n(27286);function eB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eL=class{add(e){if("number"!=typeof e||!Number.isFinite(e))throw Error("Value must be a finite number");this.count++,this.total+=e,this.average=this.total/this.count,this.max=1===this.count?e:Math.max(this.max,e),this.min=!1===this.min?e:Math.min(this.min,e),this.list.push(e)}constructor(){eB(this,"count",void 0),eB(this,"total",void 0),eB(this,"average",void 0),eB(this,"max",void 0),eB(this,"min",void 0),eB(this,"list",void 0),this.count=0,this.total=0,this.average=0,this.max=0,this.min=!1,this.list=[]}};(0,p.A)("speed").setLabel("Speed","#888");var ex=n(36783),eM=n(2853),ek=n(28519),eG=n(85487),eF=n(55364),ez=n.n(eF),eq=n(86964).Promise;function eV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eH(e){for(var t=1;tr=e),eZ=new eq(e=>i=e),eK=new eq(e=>o=e);class eQ{static init(){window[this.globalName]=window[this.globalName]||{},window[this.globalName].cmd=window[this.globalName].cmd||[],r(window[this.globalName])}static async getInstance(){return eW}static async getConfig(){return eZ}static async getAdUnits(){return eK}}async function eX(){return eQ.getInstance()}async function eJ(){return eQ.getAdUnits()}eV(eQ,"globalName","tude");let e0=(e,t,r,{getCurrentDeviceAdUnits:s,getCloneOfUnits:a},d,l=!1,c=!1,g={},E=!1)=>{r=u.A.apply("wrapperConfigOnInit",r,e=>e),i(r),o(s((0,eN.ZI)())),d=u.A.apply("bidModifiersOnInit",d,e=>e);let{AMAZON_BIDDING:_,GLOBAL_NAME:w,PREBID_BIDDER_SETTINGS:I,INIT_GTAG_EARLY:S,INITIAL_USER_STATE:O,DEBUG:R,GPT_SRA:C,GPT_COLLAPSE_EMPTY_DIVS:P,GPT_LAZYLOAD_ENABLED:D,GPT_LAZYLOAD_FETCH_MARGIN:j,GPT_LAZYLOAD_RENDER_MARGIN:U,GPT_LAZYLOAD_MOBILE_SCALING:N,GPT_FORCE_SAFEFRAMES:B,GPT_SET_CENTERING:L,GPT_DISABLE_INITIAL_LOAD:x,PREBID_ALIASES:M,PREBID_CONFIG:k,PREBID_TIMEOUT:G,PREBID_EARLY_USERSYNC:F}=r;O&&v.A.setState(O),eQ.globalName=w,eQ.init(),m.A.isEnabled()||b.A.isEnabled()||(0,ek.x)(ex.default,{userModules:[]}),R&&(0,p.A)().enable(),(0,p.A)().advancedLog(h.dN.SCRIPT_STARTED,r),er.setGlobalName(r.PREBID_GLOBAL),d?er.setBidderSettings(eH({},d(),I)):er.setBidderSettings(eH({},I)),(0,p.A)().isEnabled()&&eU(er);let z=!1,q=null,V=null,H=[],$={collapseEmptyDivs:P,enableSingleRequest:C,setForceSafeFrame:B,setCentering:L,disableInitialLoad:!1!==x,enableLazyLoad:!!D&&{fetchMarginPercent:j,renderMarginPercent:U,mobileScaling:N}};function Y(e,t={}){t&&"object"==typeof t&&A.U.setSlotTargeting(e,t);let n=r.GOOGLE_TARGETING_PARAMS||{};A.U.setSlotTargeting(e,n)}function W(e){A.U.push(function(){A.U.init($),e.forEach(e=>{let t=V||u.A.apply("gamAdUnitName",e.adUnit,e=>e),n=u.A.apply("gamSizes",{adUnit:t,divId:e.divId,baseDivId:e.baseDivId,targeting:e.targeting,sizes:e.sizes},({sizes:e})=>e);Y(A.U.defineGptSlot({adUnit:t,sizes:n,divId:e.divId}),e$(eH({},e.targeting),{baseDivId:e.baseDivId}))})})}S&&A.U.init($),A.U.addAllEventListeners(),A.U.addEventListener("slotRenderEnded",e=>{let t=e.slot.getSlotElementId(),n=e.isEmpty?"generic.ad.unfilled":"generic.ad.filled";y.B.emit(n,{id:t})}),(0,eM.VC)(e=>{e.events().on("no_bid",e=>{let t=e.slot.elementId;y.B.emit("generic.ad.unfilled",{id:t})}),e.events().on("bid_won",e=>{let t=e.slot.elementId;y.B.emit("generic.ad.filled",{id:t})})});let Z={};(r.URL_TARGETING_PARAMS||[]).forEach(e=>{let t=(0,ee.P3)(e);t&&(Z[e]=t)}),Object.keys(Z).length&&ea.A.setTargeting(Z),_&&("aps"===r.AMAZON_SDK?(eo.A.setConfig(r),es.A.getInstance({accountId:String(r.AMAZON_PUB_ID),timeout:r.PREBID_TIMEOUT,deals:r.AMAZON_DEALS,useSafeFrames:r.GPT_FORCE_SAFEFRAMES||r.AMAZON_SAFE_FRAMES||!1,wrapperConfig:r})):eo.A.loadLibrary({pubID:r.AMAZON_PUB_ID,bidTimeout:r.PREBID_TIMEOUT,deals:r.AMAZON_DEALS,useSafeFrames:r.GPT_FORCE_SAFEFRAMES||r.AMAZON_SAFE_FRAMES||!1,wrapperConfig:r,params:r.AMAZON_PARAMS,signals:r.AMAZON_SIGNALS})),M.length>0&&(k.userSync=eH({},k.userSync,{aliasSyncEnabled:!0}));let K=u.A.apply("prebidGlobalConfig",eH({bidderTimeout:G},k),e=>e),Q=er.getGlobalInstance();Q.que.push(()=>{let e=s(q);M.length>0&&M.map(e=>{Q.aliasBidder(e.bidder,e.alias,e.options)}),Q.setConfig(K),(0,p.A)().log(h.dN.CONFIG_ESTABLISHED,{config:K,adUnits:e})}),F&&new er(r),A.U.push(()=>{let e=er.getGlobalInstance();e.que.push(()=>{e.setTargetingForGPTAsync(),(0,p.A)().log(h.dN.SERVER_INITIALIZED)})});let X=!1;r.ASSERTIVE_YIELD.predictions&&(r.ASSERTIVE_YIELD.serverSidePredictions&&eh.useServerSideAyPredictions(),r.EVENTS_AY_FB_PURCHASE_ENABLED&&eh.addImpCPMTrackingEvents(r.EVENTS_AY_FB_PURCHASE_MODIFIER||.8),r.EVENTS_AY_FB_RPS_ENABLED&&eh.addRPSTrackingEvents(r.EVENTS_AY_FB_RPS_MAP,r.CURRENCY,r.EVENTS_AY_RPS_GTM_ENABLED,r.EVENTS_AY_RPS_GTM_WHOLE_NUMBERS));let J=e=>{let t=[];return e.filter(e=>{for(let n=0;n"v2"===r.AD_SERVER;et()&&(0,eM.E3)();let en=e=>{X=X||{};let t=q||(0,eN.ZI)();(0,p.A)().log(h.dN.DIV_TO_PREBID_AD_UNIT_MAP_SETTING,e),e.forEach(e=>{var n;let r;if(!e.divId)return(0,p.A)().error(h.dN.NO_DIV_ID_GIVEN_TO_MAP,e),!1;e.prebidAdUnit||(0,p.A)().warn(h.dN.NO_PREBID_AD_UNIT_GIVEN_TO_MAP,e);let i=!1;if(a(s(t)).forEach(t=>{if(!(null==e?void 0:e.gamOnly)&&t.code===e.prebidAdUnit){let{amazon:e,mediaTypes:n,code:r,disableAmazonBidding:o,allowLazyDestroy:s,safeframe:a}=t;return i={amazon:e,code:r,allowLazyDestroy:s,disableAmazonBidding:o,safeframe:a,sizes:n.banner?n.banner.sizes:[[1,1]]},!0}}),e.gamSizes?r=J(e.gamSizes):((0,p.A)().warn(h.dN.NO_GAM_SIZES_GIVEN,e),i&&(r=J(i.sizes))),!r)return!1;if(e.device){if(Array.isArray(e.device)&&!e.device.includes(t)||"string"==typeof e.device&&e.device!==t)return!1}else if(!i)return!1;X[e.divId]={amazon:null==i?void 0:i.amazon,allowLazyDestroy:null==(n=null==i?void 0:i.allowLazyDestroy)||n,disableAmazonBidding:null==i?void 0:i.disableAmazonBidding,prebidAdUnit:e.prebidAdUnit,gamOnly:(null==e?void 0:e.gamOnly)||!1,gamSizes:r,prebidSizes:e.prebidSizes,safeframe:null==i?void 0:i.safeframe,slot:e.slot,targeting:e.targeting}}),!z&&(z=!0,H.length>0&&H.forEach(function(e){"function"==typeof e&&new eq(t=>{e(),t()})}))},ed=e=>{if(et()&&((0,eM.VC)(t=>{e.forEach(e=>{let{divId:n,adUnit:i,sizes:o,targeting:s,safeframe:a}=e;t.ads().slots.add(i,n,o,s,null!=a?a:r.GPT_FORCE_SAFEFRAMES)}),(0,p.A)().log("slots",t.ads().slots)}),!(null==r?void 0:r.TUDESERVE_GPT_FALLBACK)))return;e.forEach(e=>{let t=A.U.getSlotByDivId(e.divId);t&&Y(t,Object.assign({},r.GOOGLE_TARGETING_PARAMS,e.targeting))});let t=A.U.getAllSlotDivIds();if(t.length<1)return W(e.map(e=>{let{divId:t,adUnit:n,sizes:r,targeting:i,baseDivId:o}=e;return{divId:t,adUnit:n,sizes:r,targeting:i,baseDivId:o}})),!0;let n=e.filter(e=>!t.includes(e.divId)).map(e=>{let{divId:t,adUnit:n,sizes:r,targeting:i,baseDivId:o}=e;return{divId:t,adUnit:n,sizes:r,targeting:i,baseDivId:o}});n.length&&W(n)};async function el(e=[],t=!0){(0,p.A)().log(h.dN.DESTROYING_DIVS,e),t&&e.forEach(e=>{let t=document.getElementById(e);if(t){let e=t.offsetHeight,n=document.createElement("div");n.classList.add("tude-destruct-placeholder"),n.style="min-height:"+e+"px;background:#f3f3f3;border-radius:4px;",n.setAttribute("data-div-id",t.id),t.after(n),t.remove()}}),A.U.push(()=>{let t=A.U.getSlotListByDivIds(e);t.length>0?((0,p.A)().log(h.dN.DESTROYING_GPT_SLOTS,t.map(e=>e.getSlotElementId())),A.U.destroySlots(t)):(0,p.A)().warn(h.dN.DESTROYING_NO_GPT_SLOTS)})}let ec=e=>e.filter(e=>!!e.baseDivId&&!!X[e.baseDivId]||((0,p.A)().error('Missing a base prebid mapping for base "'+e.baseDivId+'"'),!1)).map(e=>{let{amazon:t,allowLazyDestroy:n,disableAmazonBidding:r,gamOnly:i,gamSizes:o,prebidAdUnit:s,prebidSizes:a,safeframe:d,targeting:l,timedRefresh:c,slot:u,lazy:p}=X[e.baseDivId],f={};return l&&"object"==typeof l&&(f=eH({},l)),e.targeting&&(f=ez()(f,e.targeting)),e$(eH({},e),{adUnit:s,amazon:t,allowLazyDestroy:n,disableAmazonBidding:r,gamOnly:i,sizes:o,prebidSizes:a||o,safeframe:d,targeting:f,timedRefresh:c,slot:u,lazy:p})}),eu=(e,t)=>{if(!z)return H.push(()=>{eu(e,t)}),!1;if(!e||!X[e])return(0,p.A)().error('Missing a base prebid mapping for base "'+e+'"'),!1;A.U.init($);let{prebidAdUnit:n}=X[e],{targeting:i}=X[e],{CUSTOM_DIVS:o}=r;n=o.some(t=>t.divId===e&&!t.excludePathOverride)&&V?V:u.A.apply("gamAdUnitName",n,e=>e);let s=()=>{(0,p.A)().log("Calling interstitial slot",[e,n]);let r=!1;A.U.push(function(){let o=googletag.enums.OutOfPageFormat.INTERSTITIAL;"string"==typeof t&&(o=t),"BOTTOM_ANCHOR"===t&&(o=googletag.enums.OutOfPageFormat.BOTTOM_ANCHOR),"TOP_ANCHOR"===t&&(o=googletag.enums.OutOfPageFormat.TOP_ANCHOR);let s={baseDivId:e,prebidAdUnit:n,gamEnumOopType:o,targeting:i};if(y.B.emit("baseWrapper.beforeDefineOutOfPageSlot",s),r=A.U.defineOutOfPageSlot(s.prebidAdUnit,s.gamEnumOopType)){Y(r,i),r=u.A.apply("interstitialBeforeLoad",r,e=>e);let{INTERSTITIAL_CONFIG:t}=s;if(t){var a,d;r.setConfig({interstitial:{triggers:{navBar:null!=(a=t.navbar)&&a,unhideWindow:null!=(d=t.unhideWindow)&&d}}})}(0,p.A)().log("Interstitial initalized with GPT",[e,n]),(0,p.A)().log("Rendering interstitial",[e,n]),A.U.refresh([r])}else(0,p.A)().error("Device does not support interstitials",[e,n])})},{INTERSTITIAL_DELAY:a}=r;return a?setTimeout(()=>{s()},a):s(),!0};async function ep(e,t){(0,p.A)().log("Render triggered",e,{speed:Date.now()-t.timing.start}),eY.record("requestToRender",Date.now()-t.timing.start),(0,eP.f)(e),y.B.emit(h.qY.AFTER_REQUEST,{divIds:e})}async function ef(e,t,n){let i=e.map(e=>e.divId),o=new eD.A;if(o.onComplete(()=>{ep(i,o)}),t.length<1)return o.complete(),!0;t.forEach(e=>{o.addBidder(e)});let d=e.filter(e=>!1!==e.adUnit);if(t.includes("prebid")){let t=new er(r);(0,p.A)().log(h.dN.PREBID_BIDS_REQUESTING,e.map(e=>e.divId)),t.requestBidsWithoutSlots({mappings:d,adUnits:a(s(q)),cb:({adUnitCodes:e,bids:t,req:n})=>{null!==t&&void 0!=t&&"object"==typeof t&&((0,p.A)().log(h.dN.PREBID_BIDS_RECEIVED,e,{bids:t,timing:n?n.getTimings():null}),(0,p.A)().isAdvanced()&&Object.keys(t).forEach(e=>{t[e].bids.forEach(e=>{eY.record("bidder."+e.bidderCode,e.timeToRespond)})})),o.setBidderStatus("prebid",!0)}})}if(t.includes("amazon")){let e;("aps"===r.AMAZON_SDK?es.A.getInstance({accountId:String(r.AMAZON_PUB_ID)}):new eo.A).requestBids({slots:d.map(e=>{let{adUnit:t,amazon:n,divId:r,sizes:i}=e;return n?eH({slotName:V||t,sizes:i,slotID:r},n):{slotID:r,slotName:V||t,sizes:i}})},!0,e=>{!1!==e&&(0,p.A)("Amazon").log(h.dN.AMAZON_BIDS_RECEIVED,i,{bids:e}),o.setBidderStatus("amazon",!0)})}let l=e.filter(e=>!1!==e.adUnit).map(e=>{let{divId:t,baseDivId:n}=e;return{divId:t,baseDivId:n}});y.B.emit(h.qY.BIDS_REQUESTED,{divIds:i,divToBaseMaps:n,filteredMappings:l});let{FAILSAFE_TIMEOUT:c}=r;setTimeout(()=>{o.complete()&&(0,p.A)().log(h.dN.REQUEST_TIMED_OUT,o,i)},c)}let eg=[],em=(e,t=!1)=>{if((0,p.A)().log("refreshAdsViaDivMappings called",{divToBaseMaps:e,forceRender:t}),!Array.isArray(e))return(0,p.A)().error("Expected an array of div mappings. Received the following.",e),!1;let n=Array.from(new Set((e=e.map(e=>(e.metadata=e.metadata||{},e.metadata.forceRenderFromCall=t,(null==e?void 0:e.divId)&&"string"==typeof e.divId&&(e.divId=e.divId.trim()),(null==e?void 0:e.baseDivId)&&"string"==typeof e.baseDivId&&(e.baseDivId=e.baseDivId.trim()),e))).map(e=>e.divId)));if(n.length!==e.length){let t={before:e};t.after=e=n.map(t=>e.find(e=>e.divId===t)),(0,p.A)().warn("duplicate divIds passed to refreshAdsViaDivMappings(), normalized configs",t)}r.GOOGLE_PAGE_URL&&e.forEach(e=>{e.pageUrl&&A.U.setPageUrl(e.pageUrl)}),r.ADVANCED_TIMED_REFRESH.enabled&&e.forEach(e=>{e.refresh&&!eg.includes(e.divId)&&(eg.push(e.divId),eT(e,r.ADVANCED_TIMED_REFRESH.advancedTimedRefreshConfig))});let{FORCE_RENDER_OVERRIDE:i}=r;if(i&&(t=i),!z)return H.push(()=>{em(e,t)}),!1;y.B.emit(h.qY.BEFORE_REFRESH,e),e.forEach(n=>{y.B.emit(`baseWrapper.beforeRefresh.${n.baseDivId}`,{mapping:n,remove:()=>{(0,ej.A)(e,e=>e.divId!==n.divId)},forceRender:t})});let o=ec(e),d=o.map(e=>e.divId);if(o.length<1)return(0,p.A)().warn("Not refreshing because divs do not have mappings",n),!1;function c(t,n,{AMAZON_BIDDING:i,AMAZON_OUTSTREAM_SUPPORT:o,AMAZON_PUB_ID:d,AMAZON_SDK:l}){if((0,p.A)().log("Starting bid request from function",t,n),t.length<1)return;y.B.emit(h.qY.BEFORE_REQUEST,{divIds:t,mappings:n});let c=[],g=[];n.forEach(e=>{y.B.emit(`baseWrapper.beforeRequest.${e.baseDivId}`,{mapping:e,remove:()=>{c.push(e.divId),g.push(e.divId)}})}),n=n.filter(e=>!c.includes(e.divId)),t=t.filter(e=>!g.includes(e)),c.length=0,g.length=0,ed(n),y.B.emit(h.qY.AFTER_CREATE_SLOTS,{divIds:t,mappings:n}),n.forEach(e=>{y.B.emit(`baseWrapper.afterCreateSlots.${e.baseDivId}`,{mapping:e,remove:()=>{c.push(e.divId),g.push(e.divId)}})}),n=n.filter(e=>!c.includes(e.divId)),t=t.filter(e=>!g.includes(e));let m=n.filter(e=>e.gamOnly);m.length>0&&((0,p.A)().log("Requesting GAM only units",m),ef(m,[],e));let b=n.filter(e=>!e.gamOnly),v=b.map(e=>e.divId);if(b.length<1)return y.B.emit(h.qY.BIDS_REQUESTED,{divIds:t,divToBaseMaps:e,filteredMappings:n.filter(e=>!1!==e.adUnit).map(e=>{let{divId:t,baseDivId:n}=e;return{divId:t,baseDivId:n}})}),!0;let A={queued:!1,prebid:!1,timedout:!1,timeoutHandle:void 0,timing:{start:Date.now()}};function E(e){return clearTimeout(A.timeoutHandle),!A.queued&&((A.queued=!0,(0,p.A)().log("Render triggered",e,{speed:Date.now()-A.timing.start}),eY.record("requestToRender",Date.now()-A.timing.start),et())?((0,eM.VC)(t=>{t.ads().request(e)}),e):void((0,eP.f)(e),y.B.emit(h.qY.AFTER_REQUEST,{divIds:e})))}if(i&&(A.amazon=!1),b=b.filter(e=>!1!==e.adUnit),et()&&(0,eM.VC)(e=>{e.ads().slots.getSlots().filter(e=>v.includes(e.elementId)).forEach(e=>{e.clearBids()})}),i&&b.length>0){let e;e="aps"===l?es.A.getInstance({accountId:String(d)}):new eo.A;let t=u.A.apply("amazonAuctionMappings",b,e=>e).filter(e=>!e.disableAmazonBidding).map(e=>{let{slot:t,adUnit:n,amazon:r,divId:i,sizes:d}=e,l={slotID:i,slotName:V||n,sizes:d};if(o){var c,u,p;let{mediaTypes:e={}}=a(s(q||(0,eN.ZI)())).find(e=>{if(e.slot===t||Array.isArray(e.slot)&&e.slot.includes(t))return!0})||{};if((null==e||null==(c=e.video)?void 0:c.context)==="outstream"){let t=(null==e||null==(u=e.video)?void 0:u.playerSize)||[[640,480]];t&&Array.isArray(t)&&2==t.length&&!Array.isArray(t[0])&&(t=[t]),(null==e||null==(p=e.banner)?void 0:p.sizes)||(l=e$(eH({},l),{mediaType:"video",sizes:t}))}}return r&&(l=eH({},l,r)),l}),n=u.A.apply("amazonAuctionSlots",t,e=>e);n.length?e.requestBids({slots:n,auctionState:A},!0,e=>{!1!==e&&(e.length>0?(0,p.A)("Amazon").log(h.dN.AMAZON_BIDS_RECEIVED,v,e):(0,p.A)("Amazon").warn("No Amazon bids received for",v)),!A.timedout&&(et()&&(0,eM.VC)(e=>{n.forEach(t=>{let n=e.ads().slots.getSlotByElementId(t.slotID),r=n&&(0,eO.c$)({slotID:t.slotID});if(n&&r){var i;let o=(0,eO.iC)(r),s=e.ads().factory().createBid({amount:(0,eO.UN)(o.amznbid)||0,slotId:n.elementId,source:"amazon",mediaType:null!=(i=null==t?void 0:t.mediaType)?i:"banner",sourceData:o,currency:"USD"});n.bids.push(s)}})}),A.amazon=!0,A.prebid&&E(v))}):A.amazon=!0}let _=new er(r);(0,p.A)("Prebid").log(h.dN.PREBID_BIDS_REQUESTING,b.map(e=>e.divId)),_.requestBidsWithoutSlots({mappings:b,adUnits:a(s(q)),auctionState:A,cb:({adUnitCodes:e,bids:t,req:n})=>{null!==t&&void 0!=t&&"object"==typeof t&&((0,p.A)("Prebid").log(h.dN.PREBID_BIDS_RECEIVED,e,{bids:t,timing:n?n.getTimings():null}),(0,p.A)().isAdvanced()&&Object.keys(t).forEach(e=>{t[e].bids.forEach(e=>{eY.record("bidder."+e.bidderCode,e.timeToRespond)})})),et()&&(0,eM.VC)(e=>{for(let i of n.units)try{var t,r;let n=null==(t=Q.getHighestCpmBids(i.adUnitCode))?void 0:t[0];if(n&&n.adId){let t=e.ads().slots.getSlotByElementId(i.divId);if(t){let i=e.ads().factory().createBid({amount:n.cpm,bidder:n.bidder,slotId:t.elementId,source:"prebid",mediaType:null!=(r=null==n?void 0:n.mediaType)?r:"banner",sourceData:n,currency:n.currency||"USD"});t.bids.push(i)}}}catch(e){(0,p.A)().error(e)}}),A.timedout||(A.prebid=!0,(!i||A.amazon)&&E(v))}});let w=n.filter(e=>!1!==e.adUnit).map(e=>{let{divId:t,baseDivId:n}=e;return{divId:t,baseDivId:n}});y.B.emit(h.qY.BIDS_REQUESTED,{divIds:t,divToBaseMaps:e,filteredMappings:w});let I=400;try{I=(0,f.b)().getConfig("timeoutBuffer")||I}catch(e){}A.timeoutHandle=setTimeout(()=>{if(A.timedout=!0,et())A.prebid||(0,p.A)().log(h.dN.REQUEST_TIMED_OUT,A,v),E(v);else{if(!1===A.prebid)try{(0,f.b)().setTargetingForGPTAsync(v)}catch(e){}!1!==E(v)&&(0,p.A)().log(h.dN.REQUEST_TIMED_OUT,A,v)}},r.PREBID_TIMEOUT+I+100)}let g=l;("function"!=typeof g||t)&&(g=function(e,t,n,r){r(e,t,n)});let m=()=>{if(r.DIV_CHECK_ON_REQUEST){let e=d.filter(e=>!document.getElementById(e));e.length>0&&((0,p.A)().warn("Requested Div Ids do not exist on page",e),d=d.filter(e=>document.getElementById(e)),o=o.filter(e=>d.includes(e.divId)))}g(d,o,r,c)};return et()?(0,eM.VC)(()=>m()):A.U.push(()=>m()),!0},eb=e=>{eG.A.do("device-type-change",async()=>{let t=Object.keys(h.Xr).find(t=>h.Xr[t]===e);t&&e!==q?((0,p.A)().log(h.dN.SETTING_DEVICE_TYPE,e),q=e):t&&q===e?(0,p.A)().log(h.dN.SETTING_SAME_DEVICE_TYPE,q):(0,p.A)().error(h.dN.DEVICE_TYPE_NOT_SUPPORTED,e,h.Xr)})},ev=e=>{if(!e||"object"!=typeof e)throw Error("Object not set in first arg for setPageTargeting");(0,p.A)().log("setPageTargeting invoked",e),eG.A.do("setPageTargeting",()=>{ea.A.setTargeting(e)},e),(null==g?void 0:g.setVideoPageTargeting)&&g.setVideoPageTargeting(e)},ey=eH({},r.FLAGS),eA=e=>{if("object"!=typeof e)return!1;ey=eH({},ey,e)};function eE(e){var t,i,o;let s=(null==(o=r.PLUGINS)||null==(i=o.FixedAdInjection)||null==(t=i.props)?void 0:t.placements)||[];e.enabled&&(e.viewableShowHide&&s.forEach(t=>{e.viewableShowHide.baseDivsToHide.includes(t.baseDivId)&&(t.viewableShowHide={target:e.viewableShowHide.target})}),n.e(67823).then(n.bind(n,97016)))}let e_=e=>{eC.usePlugin(e,r)},ew=e=>{V=e.endsWith("/")?e.slice(0,-1):e,(0,p.A)().log("Setting Ad Unit Path Override",V)},eI=e=>{e()},eS=!1,eR=setInterval(()=>{if(eS||!r.WAIT_FOR_CMP||"function"==typeof __tcfapi||"function"==typeof __uspapi){r.WAIT_FOR_CMP&&(0,p.A)().log("CMP check passed. Starting wrapper.",{isDev:!1,isUsp:"function"==typeof __uspapi,isGdpr:"function"==typeof __tcfapi,isSkip:eS});let e=window[w]||{};e.cmd=e.cmd||[];let t=[];Array.isArray(e.cmd)&&(t=[...e.cmd]),(0,p.A)().log("Queue to process soon",t),Object.assign(window[w],u.A.apply("tudePublicFunctions",{tude:e$(eH({},g),{cmd:{push:eI},destroyAds:el,interstitial:eu,matchAdUnitCodeToDivId:ei,refreshAdsViaDivMappings:em,registerPlugin:e_,setAdInjectionConfig:eE,setAdUnitPath:ew,setBasePrebidMappings:en,setDeviceType:eb,setFeatureFlags:eA,setPageTargeting:ev})},({tude:e})=>e)),y.B.emit(h.qY.GLOBAL_SET,window[w]),(0,p.A)().log("window."+w+" established"),eG.A.do("before-process-queue",async()=>{}),t.length>0&&((0,p.A)().log(h.dN.QUEUE_PROCESSING),t.forEach(function(e){"function"==typeof e&&new eq(t=>{e(),t()}).catch(e=>(0,p.A)().error(e))}),(0,p.A)().log(h.dN.QUEUE_PROCESSED)),!1!==c&&(en(c),y.B.emit(h.qY.BASE_DIV_MAPPINGS_SET,X)),E&&"function"==typeof E&&E(ey),eR&&(clearInterval(eR),eR=!1)}},50);setTimeout(function(){eR&&((0,p.A)().log(h.dN.CMP_NEVER_LOADED),eS=!0)},12e3),(0,p.A)("baseWrapper").setLabel("Wrapper has loaded","red").log({buildTime:"2025-07-12T10:45:15.269Z",buildTimeEST:new Date("2025-07-12T10:45:15.269Z").toLocaleString("en-US",{timeZone:"America/New_York",hour:"2-digit",minute:"2-digit",hour12:!1,month:"2-digit",day:"2-digit"}),device:(0,eN.ZI)(),environment:"production",name:e,version:t.toString().replaceAll('"',"")})}},45083:function(e,t,n){var r=n(1882),i=n(87296),o=n(23805),s=n(47473),a=/^\[object .+?Constructor\]$/,d=Object.prototype,l=Function.prototype.toString,c=d.hasOwnProperty,u=RegExp("^"+l.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?u:a).test(s(e))}},45106:function(e,t,n){"use strict";var r=n(10667),i=n(76656);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class s{constructor(e,t,n){o(this,"name",void 0),o(this,"value",void 0),o(this,"percentage",void 0),this.name=e,this.value=t,this.percentage=n}}let a=(e,t,n=!1)=>({experiment:e,fromCookie:n,trackingId:e+"@"+t.name,variant:t.name,value:t.value});t.A=class{variant(e){return this.variants.push(new s(e.name,e.value,e.percentage)),this}pick(e=30){if(this.selectedVariant&&this.pickResponse)return this.pickResponse;let t=(0,i.gK)(this.name);if(t){let e=(0,i.XD)(t,this.variants);if(e)return this.selectedVariant=e,this.pickResponse=a(this.name,e,!0),this.pickResponse}let n=(0,i.zh)(this.variants);if(n)return this.selectedVariant=n,this.pickResponse=a(this.name,n,!1),(0,i.Zq)(this.name,n.name,e),this.pickResponse;(0,r.A)("experiment").error(`Failed to pick a variant for experiment '${this.name}'`)}constructor(e){o(this,"name",void 0),o(this,"selectedVariant",void 0),o(this,"variants",void 0),o(this,"pickResponse",void 0),this.name=e,this.selectedVariant=!1,this.variants=[]}}},45638:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(15900),i=n(86964).Promise;async function o(e,t,n,o){return new i((i,s)=>{let a=setTimeout(()=>{n&&n.abort(),s(new r.M(e))},o.timeout);o.fetch(e,t).then(i).catch(s).then(()=>{clearTimeout(a)})})}},46817:function(e,t,n){"use strict";let r,i;n.d(t,{A:function(){return P},w:function(){return D}});var o=n(9337),s=n(22188),a=n(87594),d=n(52093),l=n(10667);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){for(var t=1;t{var t,n,i,o;let s=null==e?void 0:e[0];(null==s?void 0:s.dynamicRevShare)&&["aditude.io","aditude.com"].includes(null==s||null==(o=s.schain)||null==(i=o.config)||null==(n=i.nodes)||null==(t=n[0])?void 0:t.asi)&&(r=s.dynamicRevShare),null==h||h()}),m={buckets:[{max:5,increment:.5}]},b={buckets:[{max:20,increment:.1}]},v={buckets:[{max:20,increment:.01}]},y={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},A={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};class E{enable(){this.enabled||(this.enabled=!0,this.pbjs.que.push(()=>{this.setTargetingForGPTAsyncOriginal||(this.setTargetingForGPTAsyncOriginal=this.pbjs.setTargetingForGPTAsync),this.getHighestCpmBidsOriginal||(this.getHighestCpmBidsOriginal=this.pbjs.getHighestCpmBids),this.pbjs.getHighestCpmBids=this.getHighestCpmBids.bind(this),this.pbjs.setTargetingForGPTAsync=this.setTargetingForGPTAsync.bind(this),this.originalUseBidCache=this.pbjs.getConfig("useBidCache"),this.pbjs.setConfig({useBidCache:!0})}),this.logger.advancedLog("enabled"))}getMediaTypes(e){var t,n;let r=null!=(n=null==(t=this.pbjs.adUnits)?void 0:t.filter(t=>t.code===e))?n:[],i=!!(null==r?void 0:r.find(e=>{var t;return null==(t=e.mediaTypes)?void 0:t.banner})),o=!!(null==r?void 0:r.find(e=>{var t;return null==(t=e.mediaTypes)?void 0:t.video})),s=o&&!!(null==r?void 0:r.find(e=>{var t,n;return(null==(n=e.mediaTypes)||null==(t=n.video)?void 0:t.context)==="outstream"})),a=o&&!!(null==r?void 0:r.find(e=>{var t,n;return(null==(n=e.mediaTypes)||null==(t=n.video)?void 0:t.context)==="instream"}));return{isBanner:i,isMultiformat:i&&s,isVideo:o,isOutstream:s,isInstream:a}}dynamicRevShareBattle(e,t){var n,i,o;if(!this.isDynamicRevShareEnabled())return e;let s=(0,l.A)("dynamic-rev-share").setLabel("DynamicRevShare","crimson");if(t.originalCurrency!==t.currency||t.currency!==e.currency)throw Error("currency mismatch");if(Math.floor(100*t.originalCpm)=Math.floor(100*b)){let n=t.cpm;return t[this.dynamicRevShareOriginalBidKey]=t.cpm,t.cpm=b,this.updatePriceBucketsForBid(t),s.advancedLog("aditude demand wins",{oldCpm:n,newCpm:b,pubCpm:e.cpm},t),this.sendDynamicRevShareEvent("tude-win",t.adUnitCode,t,y),t}return s.advancedLog("pub demand wins",e),this.sendDynamicRevShareEvent("tude-lose",t.adUnitCode,t,y),e}sendDynamicRevShareEvent(e,t,n,r){var i;let s=d.U.getSlotByDivId(t),a={adServer:"v2"===this.adServer?"tudeserve":"googletag",adUnitPath:(null==s||null==(i=s.getAdUnitPath)?void 0:i.call(s))||t,slotElementId:t,slotId:t},l={source:"dynamic-rev-share:"+e,mediaType:n.mediaType,currency:n.currency||"USD",originalCurrency:n.originalCurrency||"USD",cpm:n.cpm,originalCpm:n.originalCpm,bidder:n.bidder,adapterCode:n.adapterCode||n.bidder,adId:n.adId},c=u({event:e},r);(0,o.yM)("outError",p(u({},a,l),{message:JSON.stringify(c)}))}updatePriceBucketsForBid(e){var t,n,r,i,o,s,a,d,l,c;if(!(null==e?void 0:e.cpm))return;let u=null!=(c=null==(t=(n=this.pbjs).getConfig)?void 0:t.call(n,"mediaTypePriceGranularity"))?c:{},p=(null==(r=(i=this.pbjs).getConfig)?void 0:r.call(i,"currency.granularityMultiplier"))||1,f=null==(o=(s=this.pbjs).getConfig)?void 0:o.call(s,"customPriceBucket"),g=null==(d=(l=this.pbjs).getAllBidRequests)||null==(a=d.call(l).find(t=>t.bidId===e.requestId))?void 0:a.mediaTypes,h=this.getMediaTypeGranularity(e.mediaType,g,u),E=parseFloat(null==e?void 0:e.cpm),_={low:this.getCpmStringValue(E,m,p),med:this.getCpmStringValue(E,b,p),high:this.getCpmStringValue(E,v,p),auto:this.getCpmStringValue(E,A,p),dense:this.getCpmStringValue(E,y,p),custom:this.getCpmStringValue(E,null!=h?h:f,p)};e.pbLg=_.low,e.pbMg=_.med,e.pbHg=_.high,e.pbAg=_.auto,e.pbDg=_.dense,e.pbCg=_.custom}isEmpty(e){return!e||(Array.isArray(e)||"string"==typeof e?!(e.length>0):Object.keys(e).length<=0)}isValidPriceConfig(e){if(this.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;let t=!0;return e.buckets.forEach(e=>{e.max&&e.increment||(t=!1)}),t}getCpmStringValue(e,t,n){let r="";if(Number.isNaN(e)||!this.isValidPriceConfig(t))return r;let i=t.buckets.reduce((e,t)=>e.max>t.max?e:t,{max:0}),o=0,s=t.buckets.find(t=>{if(e>i.max*n){let e=t.precision;void 0===e&&(e=2),r=(t.max*n).toFixed(e)}else{if(e<=t.max*n&&e>=o*n)return t.min=o,t;o=t.max}});return s&&(r=this.getCpmTarget(e,s,n)),r}getCpmTarget(e,t,n){let r,i,o=void 0!==t.precision?t.precision:2,s=t.increment*n,a=t.min*n,d=Math.floor,l=this.pbjs.getConfig("cpmRoundingFunction");"function"==typeof l&&(d=l);let c=Math.pow(10,o+2),u=(e*c-a*c)/(s*c);try{r=d(u)*s+a}catch(e){i=!0}return(i||"number"!=typeof r)&&(r=Math.floor(u)*s+a),(r=Number(r.toFixed(10))).toFixed(o)}getMediaTypeGranularity(e,t,n){let r="video";if(e&&n){if(e===r){var i,o;let e=null!=(o=null==t||null==(i=t[r])?void 0:i.context)?o:"instream";if(n[`${r}-${e}`])return n[`${r}-${e}`]}return n[e]}}getHighestCpmBids(e,t={}){this.logger.advancedLog("Prebid - Invoking custom pbjs.getHighestCpmBids",{adUnitCode:e,options:t});let n=this.getAdUnitCodes(e),r=[];return n.forEach(e=>{var n;let i=this.getAllUnusedBidsForCode(e,t);i.forEach(t=>{t.adUnitCodeOriginal=t.adUnitCodeOriginal||t.adUnitCode,t.adUnitCode=e}),this.maybeAdjustForDynamicRevShare(e,i);let o=null==(n=this.pbjs.getTargetingManager().getWinningBids(e,i))?void 0:n[0],s={from:void 0};o&&(this.pbjs.getAuctionManager().setStatusForBids(o.adId,g.BID_STATUS.BID_TARGETING_SET),o.isRequesting=e,r.push(o),o.adUnitCode!==o.adUnitCodeOriginal&&(s.from=o.adUnitCodeOriginal)),this.logger.advancedLog(e,p(u({highBid:o},s),{bids:i})),i.forEach(e=>{e.adUnitCodeOriginal&&e.adId!==(null==o?void 0:o.adId)&&(e.adUnitCode=e.adUnitCodeOriginal)})}),r}setTargetingForGPTAsync(e,t,n={}){if(this.logger.advancedLog("Prebid - Invoking custom pbjs.setTargetingForGPTAsync",{adUnit:e,customSlotMatching:t}),!(d.U.getGlobal().pubads&&d.U.getGlobal().pubads().getSlots)){this.logger.error("window.googletag is not defined on the page, deferring"),d.U.push(()=>{this.setTargetingForGPTAsync(e,t)});return}return this.getMajorPrebidVersion()>=9?this.setTargetingForGPTAsyncModern(e,t,n):this.setTargetingForGPTAsyncLegacy(e,t,n)}isDynamicRevShareEnabled(){return!!((null==r?void 0:r.enabled)&&(null==r?void 0:r.fees)&&this.bidModifiers)}maybeAdjustForDynamicRevShare(e,t){var n;if(!this.isDynamicRevShareEnabled())return;let r=null==(n=this.pbjs.getTargetingManager().getWinningBids(e,t))?void 0:n[0];if((null==r?void 0:r.isAditudeDemand)===!1&&(null==r?void 0:r.cpm)){let e=t.filter(e=>e.isAditudeDemand&&e.originalCpm>r.cpm).sort((e,t)=>e.originalCpm>t.originalCpm||e.originalCpm===t.originalCpm&&e.responseTimestamp!0===e.isAditudeDemand);if(null==e?void 0:e.cpm)try{this.dynamicRevShareBattle(r,e)}catch(e){}}}revertDynamicRevShareChanges(e){(null==e?void 0:e[this.dynamicRevShareOriginalBidKey])&&(this.logger.advancedLog("DynamicRevShare resetting: ",{current:e.cpm,resettingTo:e[this.dynamicRevShareOriginalBidKey],bid:e}),e.cpm=e[this.dynamicRevShareOriginalBidKey],this.updatePriceBucketsForBid(e)),delete e[this.dynamicRevShareOriginalBidKey]}setTargetingForGPTAsyncModern(e,t,n={}){let r=this.getAdUnitCodes(e),i=this.pbjs.getAuctionManager().getBidsReceived().filter(O),o="__tmp_disable__";r.forEach(e=>{let r=this.getAllUnusedBidsForCode(e,n);i.forEach(t=>{t.adUnitCodeOriginal=t.adUnitCodeOriginal||t.adUnitCode,r.includes(t)||t.adUnitCode!==e||(t.adUnitCode=o+t.adUnitCode)}),r.forEach(t=>{t.adUnitCodeOriginal=t.adUnitCodeOriginal||t.adUnitCode,t.adUnitCode=e}),this.maybeAdjustForDynamicRevShare(e,r);let s="",a=t=>{var n;return s=null==t||null==(n=t[e])?void 0:n.hb_adid};this.pbjs.onEvent("setTargeting",a),this.pbjs.getTargetingManager().setTargetingForGPT(e,t),this.pbjs.offEvent("setTargeting",a),a=void 0,s||this.logger.advancedLog(e,{hidghBid:void 0,bids:r}),r.filter(e=>e.adUnitCodeOriginal&&e.adId!==s).forEach(e=>e.adUnitCode=e.adUnitCodeOriginal),i.filter(e=>{var t,n;return e.adUnitCodeOriginal&&(null==(n=e.adUnitCode)||null==(t=n.startsWith)?void 0:t.call(n,o))}).forEach(e=>e.adUnitCode=e.adUnitCodeOriginal),i.find(t=>{if(s&&t.adId===s){t.isRequesting=e;let n=t.adUnitCode!==t.adUnitCodeOriginal?{from:t.adUnitCodeOriginal}:{};return this.logger.advancedLog(e,p(u({highBid:t},n),{bids:r})),!0}return!1})})}setTargetingForGPTAsyncLegacy(e,t,n={}){let r={};this.getAdUnitCodes(e).forEach(e=>{var t;let i=this.getAllUnusedBidsForCode(e,n);i.forEach(t=>{t.adUnitCodeOriginal=t.adUnitCodeOriginal||t.adUnitCode,t.adUnitCode=e}),this.maybeAdjustForDynamicRevShare(e,i);let o=this.pbjs.getTargetingManager().getAllTargeting(e,i),s=null==o||null==(t=o[e])?void 0:t.hb_adid;if(s){this.pbjs.getAuctionManager().setStatusForBids(s,g.BID_STATUS.BID_TARGETING_SET);let t=this.pbjs.getAuctionManager().findBidByAdId(s)||{};t.isRequesting=e;let n=t.adUnitCode!==t.adUnitCodeOriginal?{from:t.adUnitCodeOriginal}:{};this.logger.advancedLog(e,p(u({highBid:t},n),{bids:i}))}else this.logger.advancedLog(e,{hidghBid:void 0,bids:i});Object.assign(r,o),i.forEach(e=>{e.adUnitCodeOriginal&&e.adId!==s&&(e.adUnitCode=e.adUnitCodeOriginal)})}),this.pbjs.getTargetingManager().resetPresetTargeting(e,t),this.pbjs.getTargetingManager().setTargetingForGPT(r,t),this.pbjs.getEventsManager().emit(g.EVENTS.SET_TARGETING,r)}getBidFromGamSlot(e){var t;let n=(null==e?void 0:e.getTargetingMap())||{},r=null==n||null==(t=n.hb_adid)?void 0:t[0];return r?this.pbjs.getAuctionManager().findBidByAdId(r):void 0}getAllUnusedBidsForCode(e,t={}){var n;let r,i=null==(n=this.pbjs.adUnits)?void 0:n.filter(t=>t.code===e);if(!i.length)return this.logger.warn("no adUnit found for code:",e),[];let o=new Set,s=new Set;i.forEach(e=>{var t,n;Object.keys(e.mediaTypes||{}).forEach(e=>{o.add(e)}),((null==e||null==(n=e.mediaTypes)||null==(t=n.banner)?void 0:t.sizes)||[]).filter(e=>(null==e?void 0:e[0])*(null==e?void 0:e[1])>=2500).map(e=>e.join("x")).forEach(e=>s.add(e))}),o.size||o.add("banner");let a={},d={},l=this.getAllRelatedCodes(e),c=e=>{if(null==t?void 0:t.bidFilter)try{return t.bidFilter(e)}catch(e){this.logger.error(e)}return!0};return this.pbjs.getAuctionManager().getBidsReceived().filter(t=>{if(!O(t)||!c(t)||("string"==typeof t.isRequesting&&(void 0===d[t.isRequesting]&&(d[t.isRequesting]=!!document.getElementById(t.isRequesting)),!1===d[t.isRequesting]&&(t.isRequesting=!1)),this.disableBidMovingForBidders.includes(t.bidderCode)&&t.adUnitCode!==e))return!1;let n=t.mediaType||"banner";if(t.isRequesting&&t.isRequesting!==e)return!1;if(this.revertDynamicRevShareChanges(t),l.has(t.adUnitCode)&&o.has(n))return!0;try{if(o.has("banner")&&"banner"===n&&s.has(t.size)&&(a[t.bidderCode]=a[t.bidderCode]||i.filter(e=>{var t;return(null==e||null==(t=e.mediaTypes)?void 0:t.banner)&&1===Object.keys((null==e?void 0:e.mediaTypes)||{}).length}).filter(e=>{var n,r;return null==(r=e.bids)||null==(n=r.find)?void 0:n.call(r,e=>e.bidder===t.bidderCode)}).map(e=>e.bids||[]).reduce((e,t)=>e.concat(t),[]).map(e=>R(null==e?void 0:e.params)),a[t.bidderCode].length)){let e=(r=r||this.pbjs.getAllBidRequests()).find(e=>e.bidId===t.requestId);if(e){let n=R(null==e?void 0:e.params);if(a[t.bidderCode].includes(n))return!0}}}catch(e){}return!1}).sort((e,t)=>e.cpm>t.cpm||e.cpm===t.cpm&&e.responseTimestampt.add(e)):t.add(e);let r=this.pbjs.adUnits.filter(e=>t.has(e.code));return r.length?(r.forEach(e=>{this.getSlotsFromAdUnit(e).forEach(e=>n.add(e))}),this.pbjs.adUnits.forEach(e=>{this.getSlotsFromAdUnit(e).find(e=>n.has(e))&&t.add(e.code)})):this.logger.warn(`no unit found for ${JSON.stringify(e)}`),t}getAdUnitCodes(e){var t;return"string"==typeof e?[e].filter(Boolean).filter(_):Array.isArray(e)?e.filter(Boolean).filter(_):(null==(t=this.pbjs.getAuctionManager())?void 0:t.getAdUnitCodes())||[]}getMajorPrebidVersion(){if(this.majorPrebidVersion)return this.majorPrebidVersion;try{var e,t;let n=Number(null==(t=String(this.pbjs.version).split("."))||null==(e=t[0])?void 0:e.replace(/[^0-9]/g,""));if(!Number.isNaN(n)&&n>0)return this.majorPrebidVersion=n,n}catch(e){}return 0}constructor({BID_MODIFIERS:e={},PREBID_CACHE_DISABLE_MOVING_BIDDERS:t=[],AD_SERVER:n}){c(this,"enabled",!1),c(this,"logger",(0,l.A)("bid-caching").setLabel("BidCaching")),c(this,"originalUseBidCache",void 0),c(this,"setTargetingForGPTAsyncOriginal",void 0),c(this,"getHighestCpmBidsOriginal",void 0),c(this,"disableBidMovingForBidders",[]),c(this,"bidModifiers",void 0),c(this,"dynamicRevShareOriginalBidKey",Symbol.for("_drsOriginalCpm")),c(this,"majorPrebidVersion",void 0),c(this,"pbjs",void 0),c(this,"adServer",void 0),this.pbjs=(0,s.b)(),this.bidModifiers=e,this.disableBidMovingForBidders=t||[],this.adServer=n,this.pbjs.que.push(()=>{if(!["getAllBidRequests","getAllBidResponses","getAuctionManager","getEventsManager","getTargetingManager"].every(e=>this.pbjs[e]))return void this.logger.warn("prebid not built with aditude custom module, disabling feature");this.enable(),this.pbjs.getConfig("ttlBuffer",e=>{f="number"==typeof e.ttlBuffer?e.ttlBuffer:f}),this.pbjs.getEventsManager().on(g.EVENTS.BID_WON,e=>{e.isRequesting&&(e.isRequesting=!1)}),d.U.addEventListener("slotRenderEnded",e=>{if(!this.enabled)return;let t=e.slot.getSlotElementId(),n=this.getBidFromGamSlot(e.slot)||{};if(n.isRequesting===t)if(e.isEmpty)n.isRequesting=!1;else{let t=window.console.warn;window.console.warn=()=>{};let r=e.slot.getHtml();window.console.warn=t,r&&(r.match(/(ucTag\.renderAd|pbjs\.renderAd|prebid-universal-creative)/i)||(n.isRequesting=!1))}}),d.U.addEventListener("slotOnload",e=>{if(!this.enabled)return;let t=e.slot.getSlotElementId(),n=this.getBidFromGamSlot(e.slot)||{};n.isRequesting===t&&setTimeout(()=>{(null==n?void 0:n.isRequesting)&&(n.isRequesting=!1)},500)})})}}function _(e,t,n){return n.indexOf(e)===t}function w(e){var t;return e.responseTimestamp+(e.ttl-((t="ttlBuffer",Object.prototype.hasOwnProperty.call(e,t))?e.ttlBuffer:f))*1e3>new Date().getTime()}function I(e){return e&&(e.status&&![g.BID_STATUS.RENDERED].includes(e.status)||!e.status)}function S(e){return!e.getStatusCode||e.getStatusCode()===g.STATUS.GOOD}function O(e){return[S,w,I].every(t=>t(e))}function R(e){return JSON.stringify(e,C)}function C(e,t){return t instanceof Object&&!(t instanceof Array)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t}function P(e){i=i||new E(e)}function D(){return i}},47473:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},48655:function(e,t,n){var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},49234:function(e,t,n){"use strict";n.d(t,{E1:function(){return a},OQ:function(){return c},Pu:function(){return f},TK:function(){return l},b0:function(){return o},ds:function(){return u},hT:function(){return d},iA:function(){return p},xM:function(){return i},xr:function(){return r},zq:function(){return s}});let r=(()=>{let e=!1,t=!1,n="function"==typeof globalThis.Request;if("function"==typeof globalThis.ReadableStream&&n)try{t=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type")}catch(e){if(e instanceof Error&&"unsupported BodyInit type"===e.message)return!1;throw e}return e&&!t})(),i="function"==typeof globalThis.AbortController,o="function"==typeof globalThis.ReadableStream,s="function"==typeof globalThis.FormData,a=["get","post","put","patch","head","delete"],d={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},l=0x7fffffff,c=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,u=Symbol("stop"),p={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0},f={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,dispatcher:!0,duplex:!0,priority:!0}},49653:function(e,t,n){var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},51420:function(e,t,n){var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},51804:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{y:function(){return i}});class i{static setStore(e){e.onChange(()=>{this.onChangeListeners.forEach(e=>{e()})}),this.store=e}static isEnabled(){return this.enabled}static onChange(e){this.onChangeListeners.push(e)}static enableUserId(){this.enabled=!0}static disableUserId(){this.enabled=!1}}r(i,"enabled",!1),r(i,"onChangeListeners",[]),r(i,"store",void 0),t.A=i},51811:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},51873:function(e,t,n){e.exports=n(9325).Symbol},52093:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(22188),i=n(87594),o=n(18238),s=n(10667);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let d={};o.A.sub("wrapperConfigOnInit",e=>(d=e.AMAZON_HASH_MAP||{},e));let l=(0,r.b)(),c=(0,s.A)("GooglePublisherTag").setLabel("GooglePublisherTag","#039be5"),u=new class{init(e){let{enableSingleRequest:t,setForceSafeFrame:n,setCentering:r,disableInitialLoad:i,enableLazyLoad:o,collapseEmptyDivs:s}=e;if(this.googleTagInitialized)return;c.log("Initialized",e),this.googleTagInitialized=!0;let a=this.getGlobal();this.push(()=>{s&&a.pubads().collapseEmptyDivs(),t&&a.pubads().enableSingleRequest(),n&&a.pubads().setForceSafeFrame(!0),r&&a.pubads().setCentering(!0),i&&a.pubads().disableInitialLoad(),o&&a.pubads().enableLazyLoad(o),a.enableServices()})}addAllEventListeners(){this.eventListenersAdded||(c.log("Adding all event listeners"),this.eventListenersAdded=!0,this.push(()=>{this.addEventListener("slotRenderEnded",e=>{var t,n,r,o,s;let a=Array.isArray(null==e?void 0:e.size)&&0===e.size[0]&&0===e.size[1],c=e.slot,u=null==c?void 0:c.getSlotElementId(),p=document.getElementById(u),f=null==c?void 0:c.getTargetingMap(),g=c.getSizes().filter(e=>e.getWidth&&e.getHeight).map(e=>[e.getWidth(),e.getHeight()]),h=function(e){try{return l.adUnits.find(t=>t.code===e)}catch(e){}return!1}(u),m=String((null==c||null==(t=c.getTargeting("hb_pb"))?void 0:t[0])||"").trim(),b=!!(m&&Number(m)),v=!!(null==c||null==(n=c.getTargeting("amziid"))?void 0:n[0]),y=null==c||null==(r=c.getTargeting("hb_bidder"))?void 0:r[0],A=null==c?void 0:c.getAdUnitPath(),E=window.console.warn;window.console.warn=()=>{};let _=(null==c?void 0:c.getResponseInformation())?c.getHtml():"";window.console.warn=E;let w=_.includes("apstag.renderImp"),I=!e.isEmpty,S=c.getResponseInformation(),O=e.campaignId,R=e.lineItemId,C=!!_.match(/(?:prebid-universal|(?:ucTag|pbjs)\.renderAd|window\.pbRender)/),P=[..._.matchAll(//g)].map(e=>e[0].replace(//g,"")),D=null==f||null==(o=f.amzniid)?void 0:o[0],j=null==f||null==(s=f.amznbid)?void 0:s[0],U=d[null==j?void 0:j.replace(/^(v_|o_)/,"")],N=[];U&&N.push(U),isNaN(Number(m))||N.push(m);let B=Math.max(...N),L={aditudeComments:P,amazonBid:U,amzniid:D,isPrebidWin:C,isNative:a,slot:c,adSlot:p,adUnitPath:A,divId:u,prebidUnit:h,hasBid:v||b,hasPrebidBid:b,hbBidder:y,prebidBid:Number(m),targetingMap:f,highBid:B,sizes:g,isAmazonWin:w,filled:I,info:S,orderId:O,lineItemId:R};i.B.emit("gpt.slotRenderEnded",L),i.B.emit("gpt.slotRenderEnded.${divId}",L)})}))}setPrivacySettings(e){let t=this.getGlobal();this.push(()=>{t.pubads().setPrivacySettings(e)})}setPublisherProvidedId(e){let t=this.getGlobal();this.push(()=>{t.pubads().setPublisherProvidedId(e)})}getGlobal(){return window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag}pubadsLoaded(){return"function"==typeof this.getGlobal().pubads}destroySlots(e){let t=this.getGlobal();this.push(()=>{i.B.emit("gpt.destroySlots",{divIds:null==e?void 0:e.map(e=>e.getSlotElementId()),destroyAll:!e.length,slots:e}),t.destroySlots(e)})}destroySlotsByDivIds(e){let t=this.getGlobal();this.push(()=>{t.destroySlots(this.getSlotListByDivIds(e))})}destroyAllSlots(){let e=this.getGlobal();this.push(()=>{e.destroySlots()})}push(e){this.getGlobal().cmd.push(e)}getAllSlots(){return this.pubadsLoaded()?this.getGlobal().pubads().getSlots():[]}getAllSlotDivIds(){return this.getAllSlots().map(e=>e.getSlotElementId())}getSlotByDivId(e){return this.getAllSlots().find(t=>t.getSlotElementId()===e)}getSlotListByDivIds(e){return this.getAllSlots().filter(t=>e.includes(t.getSlotElementId()))}setSlotTargeting(e,t){Object.keys(t).forEach(n=>{e.setTargeting(n,t[n])})}refreshDivIds(e){if(!e.length)return!1;let t=this.getGlobal(),n=this.getSlotListByDivIds(e);return!!n.length&&(this.push(()=>{t.pubads().refresh(n)}),!0)}defineGptSlot({adUnit:e,sizes:t,divId:n}){c.log("Defining slot",{adUnit:e,sizes:t,divId:n});let r=this.getGlobal().defineSlot(e,t,n);if(r)return r.addService(googletag.pubads()),r}defineOutOfPageSlot(e,t){let n=this.getGlobal().defineOutOfPageSlot(e,t);if(n)return n.addService(googletag.pubads()),n}addEventListener(e,t){let n=this.getGlobal();this.push(()=>{n.pubads().addEventListener(e,t)})}setTargeting(e){let t=this.getGlobal();this.push(()=>{Object.keys(e).forEach(n=>{let r=[].concat(e[n]).map(String);t.pubads().setTargeting(n,r)})})}clearTargeting(e){let t=this.getGlobal();this.push(()=>{t.pubads().clearTargeting(e)})}getTargeting(e){return this.getGlobal().pubads().getTargeting(e)}refresh(e){let t=this.getGlobal();this.push(()=>{t.pubads().refresh(e)})}setPageUrl(e){let t=this.getGlobal();this.push(()=>{t.pubads().set("page_url",e)})}constructor(){a(this,"googleTagInitialized",!1),a(this,"eventListenersAdded",!1)}}},53661:function(e,t,n){var r=n(63040),i=n(17670),o=n(90289),s=n(4509),a=n(72949);function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&this.emitChange(t)}emitChange(e){this.eventBus.dispatch("changed",{state:this.state,changed:e})}onChange(e,t){this.eventBus.on("changed",n=>{let{changed:r}=n;r.find(e=>t.includes(e))&&e(this.state)})}constructor(e,t){s(this,"eventBus",void 0),s(this,"name",void 0),s(this,"state",void 0),this.name=null!=t?t:(Math.random()+1).toString(36).substring(7),this.state=e,this.eventBus=new o.A,this.eventBus.useRandomNamespace()}}var d=class{get state(){return this.stateObject.state}setState(e){this.stateObject.setState(e)}onStateChange(e,t){this.stateObject.onChange(e,t)}constructor(){var e,t;t=void 0,(e="stateObject")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t,this.stateObject=new a(this.getInitialState(),void 0)}};function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}class u extends d{static getComponentName(){return this.componentName}static getUniqueLogName(e){if(!this.logInstanceCounters[e])return this.logInstanceCounters[e]=1,e;let t=this.logInstanceCounters[e]++;return`${e}-${t}`}advancedLog(...e){this.logger.advancedLog(...e)}log(...e){this.logger.log(...e)}error(...e){this.logger.error(...e)}warn(...e){this.logger.warn(...e)}logTable(...e){this.logger.table(...e)}getLoggerColor(){return"green"}setProps(e){this.props=e}start(){}constructor(e,t){super(),l(this,"logName","WrapperComponent"),l(this,"logger",void 0),l(this,"props",{});let n=t||this.logName,r=u.getUniqueLogName(n);e.eventName=n,this.setProps(e),this.logger=(0,i.A)(r).setLabel(r,this.getLoggerColor()),this.log("Component ready",{props:this.props})}}l(u,"componentName",void 0),l(u,"logInstanceCounters",{}),function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);o>3&&s&&Object.defineProperty(t,n,s)}([function(e,t=!1){return function(n,i,o){let s=o.value;return o.value=function(...n){if(t){var i;e=function(e,t="NoEventNameFound"){let n=e.indexOf(".");return -1===n?e:t+e.substring(n)}(e,null==(i=n[0])?void 0:i.eventName)}r.B.emit(`${e}.start`,{args:n});let o=s.apply(this,n);return r.B.emit(`${e}.end`,{result:o}),o},o}}("WrapperComponent.setProps",!0),c("design:type",Function),c("design:paramtypes",["undefined"==typeof T?Object:T]),c("design:returntype",void 0)],u.prototype,"setProps",null)},55364:function(e,t,n){var r=n(85250);e.exports=n(20999)(function(e,t,n){r(e,t,n)})},55481:function(e,t,n){e.exports=n(9325)["__core-js_shared__"]},55527:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},56110:function(e,t,n){var r=n(45083),i=n(10392);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},56175:function(e,t,n){"use strict";var r=n(14547),i=n(49234),o=n(56765);/*! MIT License © Sindre Sorhus */let s=e=>{let t=(t,n)=>r.Ky.create(t,(0,o.sT)(e,n));for(let n of i.E1)t[n]=(t,i)=>r.Ky.create(t,(0,o.sT)(e,i,{method:n}));return t.create=e=>s((0,o.sT)(e)),t.extend=t=>("function"==typeof t&&(t=t(e??{})),s((0,o.sT)(e,t))),t.stop=i.ds,t};t.Ay=s()},56449:function(e){e.exports=Array.isArray},56757:function(e,t,n){var r=n(91033),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),d=Array(a);++s{for(let t of e)if((!(0,r.G)(t)||Array.isArray(t))&&void 0!==t)throw TypeError("The `options` argument must be an object");return d({},...e)},o=(e={},t={})=>{let n=new globalThis.Headers(e),r=t instanceof globalThis.Headers;for(let[e,i]of new globalThis.Headers(t).entries())r&&"undefined"===i||void 0===i?n.delete(e):n.set(e,i);return n};function s(e,t,n){return Object.hasOwn(t,n)&&void 0===t[n]?[]:d(e[n]??[],t[n]??[])}let a=(e={},t={})=>({beforeRequest:s(e,t,"beforeRequest"),beforeRetry:s(e,t,"beforeRetry"),afterResponse:s(e,t,"afterResponse"),beforeError:s(e,t,"beforeError")}),d=(...e)=>{let t={},n={},i={};for(let s of e)if(Array.isArray(s))Array.isArray(t)||(t=[]),t=[...t,...s];else if((0,r.G)(s)){for(let[e,n]of Object.entries(s))(0,r.G)(n)&&e in t&&(n=d(t[e],n)),t={...t,[e]:n};(0,r.G)(s.hooks)&&(i=a(i,s.hooks),t.hooks=i),(0,r.G)(s.headers)&&(n=o(n,s.headers),t.headers=n)}return t}},59350:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},63040:function(e,t,n){var r=n(21549),i=n(80079),o=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},63605:function(e){e.exports=function(e){return this.__data__.get(e)}},63702:function(e){e.exports=function(){this.__data__=[],this.size=0}},63862:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}},64894:function(e,t,n){var r=n(1882),i=n(30294);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},65836:function(e,t,n){"use strict";var r=n(2790);class i extends r.A{canAllowConsentManagementChanges(){return!0===this.props.allowConsentManagementChanges}}t.A=new i({allowConsentManagementChanges:!0})},66721:function(e,t,n){var r=n(81042),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},67259:function(e,t,n){"use strict";n.d(t,{P3:function(){return r},W6:function(){return i}});let r=e=>{let t=window.location.search.match("[?&]"+e+"(?:&|$|=([^&]*))");return t?t[1]?decodeURIComponent(t[1]):"":null},i=e=>{let t=window.location.hash.match("[#&]"+e+"(?:&|$|=([^&]*))");return t?t[1]?decodeURIComponent(t[1]):"":null}},68141:function(e,t,n){"use strict";var r=n(45106);t.A={createExperiment(e){return new r.A(e)}}},68223:function(e,t,n){e.exports=n(56110)(n(9325),"Map")},68854:function(e,t,n){"use strict";var r=n(4413),i=n(67259),o=n(87594),s=n(10667);t.Ay=function(e,t){var n,a,d,l,c,u;let p={component:e,props:t,shouldCreateInstance:!0},f=null!=(n=e.componentName)?n:"undefinedComponent";if(o.B.emit(`useComponent.${f}`,p),t.useBehindUrlParam&&"true"!==(0,i.P3)(t.useBehindUrlParam))return(0,s.A)().log(`${f} missing required url param`),null;if(void 0!==t.conditionallyUseComponent&&!t.conditionallyUseComponent)return(0,s.A)().log(`${f} conditionally turned off`),null;if(t.splitTest){let e=t.splitTest.enabledPercent;p.shouldCreateInstance=(0,r.J)({name:`${null==(a=p.props.splitTest)?void 0:a.name}-${e}-${100-e}`,tracking:null==(d=p.props.splitTest)?void 0:d.tracking,insights:(null==(l=p.props.splitTest)?void 0:l.insights)||!1,condition:null==(u=null==(c=p.props.splitTest)?void 0:c.condition)||u,variants:[{name:"test",value:!0,percent:p.props.splitTest.enabledPercent},{name:"control",value:!1,percent:100-p.props.splitTest.enabledPercent}]})}if(!p.shouldCreateInstance)return(0,s.A)().log(`Bailing on creating ${f}`),null;let g=new e(p.props);return g.start(),g}},69302:function(e,t,n){var r=n(83488),i=n(56757),o=n(32865);e.exports=function(e,t){return o(i(e,t,r),e+"")}},69837:function(e,t){"use strict";t.A=function(e,t=50){if(!e)return!1;let{top:n,bottom:r,left:i,right:o}=e.getBoundingClientRect(),s=window.innerHeight||document.documentElement.clientHeight,a=window.innerWidth||document.documentElement.clientWidth,d=(o-i)*(r-n);return 0===d?n0&&i0:Math.max(0,Math.min(r,s)-Math.max(n,0))*Math.max(0,Math.min(o,a)-Math.max(i,0))/d*100>=t}},69884:function(e,t,n){var r=n(21791),i=n(37241);e.exports=function(e){return r(e,i(e))}},70041:function(e,t,n){"use strict";n.d(t,{AY:function(){return s},mD:function(){return o}});var r=n(49234);let i=e=>{if(!e)return 0;if(e instanceof FormData){let t=0;for(let[n,i]of e)t+=r.OQ,t+=new TextEncoder().encode(`Content-Disposition: form-data; name="${n}"`).length,t+="string"==typeof i?new TextEncoder().encode(i).length:i.size;return t}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength;if("string"==typeof e)return new TextEncoder().encode(e).length;if(e instanceof URLSearchParams)return new TextEncoder().encode(e.toString()).length;if("byteLength"in e)return e.byteLength;if("object"==typeof e&&null!==e)try{let t=JSON.stringify(e);return new TextEncoder().encode(t).length}catch{}return 0},o=(e,t)=>{let n=Number(e.headers.get("content-length"))||0,r=0;return 204===e.status?(t&&t({percent:1,totalBytes:n,transferredBytes:r},new Uint8Array),new Response(null,{status:e.status,statusText:e.statusText,headers:e.headers})):new Response(new ReadableStream({async start(i){let o=e.body.getReader();async function s(){let{done:e,value:a}=await o.read();if(e)return void i.close();t&&(r+=a.byteLength,t({percent:0===n?0:r/n,transferredBytes:r,totalBytes:n},a)),i.enqueue(a),await s()}t&&t({percent:0,transferredBytes:0,totalBytes:n},new Uint8Array),await s()}}),{status:e.status,statusText:e.statusText,headers:e.headers})},s=(e,t)=>{let n=i(e.body),r=0;return new Request(e,{duplex:"half",body:new ReadableStream({async start(i){let o=e.body instanceof ReadableStream?e.body.getReader():new Response("").body.getReader();async function s(){let{done:e,value:a}=await o.read();if(e){t&&t({percent:1,transferredBytes:r,totalBytes:Math.max(n,r)},new Uint8Array),i.close();return}r+=a.byteLength;let d=0===n?0:r/n;(n{window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{window.googletag.pubads().addEventListener("slotVisibilityChanged",i=>{i.slot.getSlotElementId()===t&&(i.inViewPercentage>=e?n&&n():r&&r())})})}},71961:function(e,t,n){var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},72179:function(e,t,n){"use strict";n.d(t,{JJ:function(){return a},Q2:function(){return s},Wp:function(){return o}});var r=n(10667),i=n(18859);let o=["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","GB","GF","GP","MQ","ME","YT","RE","MF","GI","AX","PM","GL","BL","SX","AW","CW","WF","PF","NC","TF","AI","BM","IO","VG","KY","FK","MS","PN","SH","GS","TC","AD","LI","MC","SM","VA","JE","GG","GI","CH"],s=["AR","BO","BR","CL","CO","CR","CU","DO","EC","GT","HN","MX","NI","PA","PE","PY","SV","UY","VE"];async function a(){let e;try{e=await (0,i.V)("https://geo-location.prebid.cloud/v1/geo")}catch(e){(0,r.A)().error(e)}return(0,r.A)().log("Country Found:",null==e?void 0:e.country),null==e?void 0:e.country}[...o]},72428:function(e,t,n){var r=n(27534),i=n(40346),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable;e.exports=r(function(){return arguments}())?r:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")}},72552:function(e,t,n){var r=n(51873),i=n(659),o=n(59350),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},72903:function(e,t,n){var r=n(23805),i=n(55527),o=n(90181),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var a in e)"constructor"==a&&(t||!s.call(e,a))||n.push(a);return n}},72949:function(e,t,n){var r=n(12651);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=+(n.size!=i),this}},74218:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},74335:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},74547:function(e,t,n){"use strict";n.d(t,{Ev:function(){return s},Lk:function(){return r},Xr:function(){return i},dN:function(){return d},nh:function(){return o},qY:function(){return a}});let r={HEAD:"head",BODY:"body"},i={DESKTOP:"desktop",MOBILE:"mobile",TABLET:"tablet"},o={ANDROID:"android",CHROMEOS:"chromeos",IOS:"ios",LINUX:"linux",MAC:"mac",WINDOWS:"windows",UNKNOWN:""},s={CHROME:"chrome",EDGE:"edge",FIREFOX:"firefox",INTERNET_EXPLORER:"ie",OPERA:"opera",SAFARI:"safari",SAMSUNG_BROWSER:"samsung",UC_BROWSER:"uc",UNKNOWN:""},a={AFTER_CREATE_SLOTS:"AFTER_CREATE_SLOTS",AFTER_REQUEST:"AFTER_REQUEST",AUCTION_START:"AUCTION_START",BASE_DIV_MAPPINGS_SET:"BASE_DIV_MAPPINGS_SET",BEFORE_AD_SERVER_REQUEST:"BEFORE_AD_SERVER_REQUEST",BEFORE_REFRESH:"BEFORE_REFRESH",BEFORE_REQUEST:"BEFORE_REQUEST",BIDS_REQUESTED:"BIDS_REQUESTED",BIDS_RECEIVED:"BIDS_RECEIVED",GLOBAL_SET:"GLOBAL_SET",TARGET_KEY_VAL_SET:"TARGET_KEY_VAL_SET"},d={AD_LISTENER_CALLBACK_CALLED:"Calling queued ad listener function",AD_SLOT_IN_VIEW:"Ad slot is in view",ADDING_FB_PURCHASE_TRACKING:"Added impression level Purchase event tracking in FB from AY CPM prediction events",ADDING_FB_RPS_TRACKING:"Added RPS tracking events in FB from AY CPM prediction events",ADS_REFRESHING:"Refreshing the ads",ALREADY_QUEUED_FOR_VIEWABILITY:"Div id already queued for viewability. Avoiding doubling up",AMAZON_BIDS_RECEIVED:"Amazon bids received",AMAZON_BIDS_REQUESTING:"Amazon bids requesting",AMAZON_LIBRARY_LOADED:"Amazon library loaded",AMAZON_MISSING_FIELD:"Missing required field in Amazon request",AMAZON_NO_SLOTS:"No Amazon or TAM slots found with given code",AY_LOADING:"Assertive yield config & library loading",BIDS_RECEIVED:"Bids received from bidders",CMP_NEVER_LOADED:"Waited for CMP but it never loaded",CONFIG_ESTABLISHED:"Establishing prebid with config",DEFINING_GPT_SLOTS:"Defining new slots if needed",DESTROYING_DIVS:"Destroying divs to preserve memory",DESTROYING_GPT_SLOTS:"Destroying GPT slots",DESTROYING_NO_GPT_SLOTS:"No GPT slots found to destroy",DEVICE_TYPE_NOT_SUPPORTED:"Device type not supported. See provided device type vs options",DIV_TO_PREBID_AD_UNIT_MAP_SETTING:"Setting base div id to prebid ad unit mapping",FALLBACK_TRIGGERED:"Safe fallback triggered because bidders did not get back in time",GPT_PAGE_TARGETING_SET:"Setting page level GPT targeting",NO_DIV_ID_GIVEN_TO_MAP:"No divId given to map to a Prebid unit",NO_GAM_SIZES_GIVEN:"No gamSizes given so will use prebid configuration",NO_PREBID_AD_UNIT_GIVEN_TO_MAP:"prebidAdUnit not set for divId which means Prebid will not run",NO_SLOTS_GIVEN:"No slots were given to refresh",ONLOAD_REFRESH_STARTED:"Starting first load of predefined ad slots",PREBID_BIDS_RECEIVED:"Prebid bids received",PREBID_BIDS_REQUESTING:"Requesting bids from prebid (unfiltered)",PREBID_REQUEST_STARTING:"Prebid bid request is starting",PREBID_SLOTS_MISSING:"Slots missing in Prebid ad unit configuration",PREBID_SLOTS_NOT_MAPPED:"Slots defined are not mapped to work with prebid",PREBID_SLOTS_FILTERED:"Slots found viable for Prebid",QUEUE_PROCESSED:"Queue has finished processing",QUEUE_PROCESSING:"Queue has started processing",REQUEST_BIDDERS_READY:"Bid request bidders are ready",REQUEST_TIMED_OUT:"Bid request timed out, queueing now",REQUESTING_VIDEO_BIDS:"Bids requested by client application",SCRIPT_STARTED:"Script has started initializing",SERVER_INITIALIZED:"Server initialized for header bidding",SETTING_DEVICE_TYPE:"Setting up device type override",SETTING_SAME_DEVICE_TYPE:"Current device type is already set to:",SETTING_UP_VIEWABILITY_DETECTION:"Setting up viewability detection before requesting ads",SETTING_UP_VIEWABILITY_OBSERVER:"Setting up viewability observer for lazyloading ads",SLOTS_NOT_DEFINED_YET:"Slots not yet defined. Trying one more time in 200ms",TUDE_ESTABLISHED:"window.tude established",VIDEO_PLAYER_INITIATED:"Video player is initiated for bid request",VIDEO_PLAYER_INVOKING:"Starting to invoke video player",WRAPPER_LOADED:"Wrapper has loaded"}},75208:function(e,t,n){"use strict";var r=n(74547),i=n(33386),o=n(85222),s=n(10667),a=n(86964).Promise;function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let l=(0,s.A)("Amazon"),c={};window._aps=window._aps||new Map;let u={};class p{get accountId(){return this._accountId}get aps(){return this._aps}static getInstance({accountId:e="",timeout:t,deals:n,videoAdServer:r,useSafeFrames:i,wrapperConfig:o}){return u[e]||(u[e]=new p({accountId:e,timeout:t,deals:n,videoAdServer:r,useSafeFrames:i,wrapperConfig:o})),u[e]}read(e){return this.aps.store.get(e)}record(e,t){return new a((n,r)=>{var i,o;this.aps.queue.push(new CustomEvent(e,{detail:(i=function(e){for(var t=1;t!e.includes("fluid");e.forEach(e=>{let{display:t,video:n}=e.multiFormatProperties||{};return[e,t,n].forEach(e=>{(null==e?void 0:e.sizes)&&(e.sizes=e.sizes.filter(i))}),e.multiFormatProperties||e.mediaType||(e.mediaType="display"),e}),l.log(r.dN.AMAZON_BIDS_REQUESTING,{slots:e});let s=this.wrapperConfig.PREBID_TIMEOUT?this.wrapperConfig.PREBID_TIMEOUT:this.timeout,a=e.map(e=>e.slotID);this.record("ad/slot/define",{slots:e}),this.record("ad/targeting/fetch",{itemIds:a,timeout:s}).then(()=>{if(t){var e;null==(e=this.read("ad/attachTargeting"))||e({itemIds:a,adServer:"googletag"})}let r=a.map(e=>{let t=Object.fromEntries(this.read("ad/targeting").get(e));return t.slotID=e,t.amznsz&&(t.size=t.amznsz),t});try{n(r)}catch(e){l.error("error with custom bidHandler",{slotIds:a,bids:r},e)}})}constructor({accountId:e="",timeout:t,deals:n,videoAdServer:o,useSafeFrames:s,wrapperConfig:a}){var u,p,f,g,h,m,b;d(this,"_aps",void 0),d(this,"_accountId",""),d(this,"timeout",3e3),d(this,"deals",!1),d(this,"videoAdServer","DFP"),d(this,"useSafeFrames",!1),d(this,"wrapperConfig",void 0),b=e,window._aps.has(b)||window._aps.set(b,{queue:[],store:new Map}),c[b]||(b?(0,i.k0)(`https://config.aps.amazon-adsystem.com/configs/${b}`,r.Lk.HEAD,!0,!0):l.error("no accont id passed, not loading account config",{accountId:b}),c[b]=!0),c.publisherJs||((0,i.k0)("https://client.aps.amazon-adsystem.com/publisher.js",r.Lk.HEAD,!0,!0),c.publisherJs=!0),this.wrapperConfig=a,this._accountId=String(null!=(g=null!=e?e:null==(u=this.wrapperConfig)?void 0:u.AMAZON_PUB_ID)?g:""),this._aps=window._aps.get(this.accountId),this.timeout=null!=(h=null!=t?t:null==(p=this.wrapperConfig)?void 0:p.PREBID_TIMEOUT)?h:this.timeout,this.deals=null!=(m=null!=n?n:null==(f=this.wrapperConfig)?void 0:f.AMAZON_DEALS)?m:this.deals,this.videoAdServer=null!=o?o:this.videoAdServer,this.useSafeFrames=null!=s?s:this.useSafeFrames,l.log(r.dN.AMAZON_LIBRARY_LOADED,{aps:!0,accountId:this._accountId,timeout:this.timeout,deals:this.deals,videoAdServer:this.videoAdServer,useSafeFrames:this.useSafeFrames})}}t.A=p},75288:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},76656:function(e,t,n){"use strict";n.d(t,{XD:function(){return d},Zq:function(){return a},gK:function(){return s},zh:function(){return l}});var r=n(18987);let i=30,o=e=>"cw-test-"+e,s=e=>r.A.get(o(e))||!1,a=(e,t,n=i)=>{r.A.set(o(e),t,{expires:n})},d=(e,t)=>{let n=t.filter(t=>t.name===e);return n.length>0&&n[0]},l=e=>{let t=Math.floor(1e3*Math.random()+1),n=0,r=0,i=[...e].sort((e,t)=>e.percentage>t.percentage?1:e.percentage{t.setTargeting(e,r[e])}),n.bidState="SET"):n.bidState="EXPOSED"}return n}function u({slotID:e,amzniid:t}){var n,r,i,o;let s=null==(o=d())||null==(i=o.slotBids)||null==(r=i[e])||null==(n=r.find)?void 0:n.call(r,e=>e.bidObject.amzniid===t);s&&"RENDERED"!==s.bidState&&(s.bidState="EXPOSED")}function p({slotID:e}){let t,n=Date.now(),r=d()||void 0;if(!r)return;let i=(r.slotBids||{})[e]||[];if(!i.length)return;Object.keys(s).length&&i.filter(e=>{var t;return!e.cpm&&(null==e||null==(t=e.bidConfig)?void 0:t.amznbid)}).forEach(e=>{e.cpm=a(e.bidConfig.amznbid,s),e.host&&(e.host=e.host.replace("http://","https://"),String(e.host).match(/^https?:\/\//)||(e.host="https://"+e.host))});let o=i.filter(e=>["NEW","EXPOSED"].includes(e.bidState)).filter(e=>{if(!e.responseTimestamp&&Array.isArray(r.AAXReqs)){let t=r.AAXReqs.find(t=>t.bidReqID===e.bidReqID);e.responseTimestamp=(null==t?void 0:t.resTs)||(null==t?void 0:t.responseTimestamp)}return!(e.responseTimestamp&&Math.floor((n-e.responseTimestamp)/1e3)>120)});return(t=o.find(e=>a(e.bidConfig.amznbid,s)>0)?o.sort((e,t)=>(e.cpm||0)>(t.cpm||0)?-1:1).find(e=>{var t;return null==(t=e.bidConfig)?void 0:t.amzniid}):[...o].reverse().find(e=>e.bidConfig.amzniid))&&(t.bidState="SET"),t}function f(e){return globalThis._aps=globalThis._aps||new Map,globalThis._aps.has(e)||globalThis._aps.set(e,{queue:[],store:new Map}),{accountID:e,record:function(e,t){return new o((n,r)=>{var i,o;globalThis._aps.get(this.accountID).queue.push(new CustomEvent(e,{detail:(i=function(e){for(var t=1;t(s=e.AMAZON_HASH_MAP,e))},78096:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++nsetTimeout(t,e))}},80079:function(e,t,n){var r=n(63702),i=n(70080),o=n(24739),s=n(48655),a=n(31175);function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++ti)})}class s{addBefore(e){this.before.push(e)}addAfter(e){this.after.push(e)}async triggerBefore(e){await this.trigger(o(this.before,"order"),e)}async triggerAfter(e){await this.trigger(o(this.after,"order"),e)}async trigger(e,t){for(let n of e)await n.callback(t)}constructor(){i(this,"name",void 0),i(this,"before",[]),i(this,"after",[])}}var a=new class{before(e,t,n,r=0){this.hooks[e]||(this.hooks[e]=new s,this.hooks[e].name=e),this.hooks[e].addBefore({name:t,callback:n,order:r})}after(e,t,n,r=0){this.hooks[e]||(this.hooks[e]=new s,this.hooks[e].name=e),this.hooks[e].addAfter({name:t,callback:n,order:r})}async dispatch(e,t){if(!this.hooks[e])return void(0,r.A)().advancedLog('No hooks registered for "'+e+'"',this.hooks);try{await this.hooks[e].triggerBefore(t)}catch(e){(0,r.A)().error(e)}try{await this.hooks[e].triggerAfter(t)}catch(e){(0,r.A)().error(e)}}async do(e,t,n={},i=!1){if(!this.hooks[e]){(0,r.A)().advancedLog('No hooks registered for "'+e+'"',this.hooks),(0,r.A)().advancedLog(`Hook "${e}" main action executing`);try{await t()}catch(e){(0,r.A)().error(e)}(0,r.A)().advancedLog(`Hook "${e}" main action executed`);return}try{await this.hooks[e].triggerBefore(n)}catch(e){(0,r.A)().error(e)}(0,r.A)().advancedLog(`Hook "${e}" main action executing`);try{await t()}catch(e){(0,r.A)().error(e)}(0,r.A)().advancedLog(`Hook "${e}" main action executed`);try{await this.hooks[e].triggerAfter(n)}catch(e){(0,r.A)().error(e)}i&&delete this.hooks[e]}constructor(){var e,t;t={},(e="hooks")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}},85914:function(e,t,n){var r,i,o,s,a,d,l;e=n.nmd(e),e&&e.exports,(i="object"==typeof n.g&&n.g).global===i||i.window,(o=function(e){this.message=e}).prototype=Error(),o.prototype.name="InvalidCharacterError",s=function(e){throw new o(e)},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=/[\t\n\f\r ]/g,l={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&s("The string to be encoded contains characters outside of the Latin1 range.");for(var t,n,r,i=e.length%3,o="",d=-1,l=e.length-i;++d>18&63)+a.charAt(r>>12&63)+a.charAt(r>>6&63)+a.charAt(63&r);return 2==i?(r=(t=e.charCodeAt(d)<<8)+(n=e.charCodeAt(++d)),o+=a.charAt(r>>10)+a.charAt(r>>4&63)+a.charAt(r<<2&63)+"="):1==i&&(r=e.charCodeAt(d),o+=a.charAt(r>>2)+a.charAt(r<<4&63)+"=="),o},decode:function(e){var t,n,r=(e=String(e).replace(d,"")).length;r%4==0&&(r=(e=e.replace(/==?$/,"")).length),(r%4==1||/[^+a-zA-Z0-9/]/.test(e))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var i=0,o="",l=-1;++l>(-2*i&6)));return o},version:"1.0.0"},void 0===(r=(function(){return l}).call(t,n,t,e))||(e.exports=r)},86009:function(e,t,n){e=n.nmd(e);var r=n(34840),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&r.process,a=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},86649:function(e,t,n){e.exports=n(83221)()},86964:function(e,t,n){e.exports=function(){"use strict";function e(e){return"function"==typeof e}var t,r,i,o,s=void 0,a=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},d=0,l=void 0,c=void 0,u=function(e,t){v[d]=e,v[d+1]=t,2===(d+=2)&&(c?c(y):A())},p="undefined"!=typeof window?window:void 0,f=p||{},g=f.MutationObserver||f.WebKitMutationObserver,h="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"===({}).toString.call(process),m="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function b(){var e=setTimeout;return function(){return e(y,1)}}var v=Array(1e3);function y(){for(var e=0;e=e&&++r>=e&&(r=0,n=e-1),t[n%e]=i,n++},this.asArray=function(){let i=t.slice(r,Math.min(n,e)),o=t.slice(0,Math.max(n-e,0));return i.concat(o)},this.list=t}function n(t,n){let r=n;for(let n=0;n-1&&i.splice(e,1)}}function l(e,t){let n=Date.now();a.push([e,n]);let d=i(e,o,s),l={topic:e};for(let e=0;e=55296&&t<=56319&&i=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function a(e,t){return i(e>>t&63|128)}function d(){if(r>=n)throw Error("Invalid byte index");var e=255&t[r];if(r++,(192&e)==128)return 63&e;throw Error("Invalid continuation byte")}e.version="3.0.0",e.encode=function(e){for(var t=o(e),n=t.length,r=-1,d="";++r>6&31|192):(0xffff0000&e)==0?(s(e),t=i(e>>12&15|224)+a(e,6)):(0xffe00000&e)==0&&(t=i(e>>18&7|240)+a(e,12)+a(e,6)),t+=i(63&e|128)}(t[r]);return d},e.decode=function(e){n=(t=o(e)).length,r=0;for(var a,l=[];!1!==(a=function(){var e,i,o,a;if(r>n)throw Error("Invalid byte index");if(r==n)return!1;if(e=255&t[r],r++,(128&e)==0)return e;if((224&e)==192){if((a=(31&e)<<6|(i=d()))>=128)return a;throw Error("Invalid continuation byte")}if((240&e)==224){if((a=(15&e)<<12|(i=d())<<6|(o=d()))>=2048)return s(a),a;throw Error("Invalid continuation byte")}if((248&e)==240&&(i=d(),(a=(7&e)<<18|i<<12|(o=d())<<6|d())>=65536&&a<=1114111))return a;throw Error("Invalid UTF-8 detected")}());)l.push(a);for(var c,u=l.length,p=-1,f="";++p65535&&(c-=65536,f+=i(c>>>10&1023|55296),c=56320|1023&c),f+=i(c);return f}}(t)},90181:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},90289:function(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},90938:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},91033:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},92126:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(86964).Promise;async function i(e,{signal:t}){return new r((n,r)=>{function i(){clearTimeout(o),r(t.reason)}t&&(t.throwIfAborted(),t.addEventListener("abort",i,{once:!0}));let o=setTimeout(()=>{t?.removeEventListener("abort",i),n()},e)})}},92843:function(e,t){"use strict";var n,r=((n=r||{}).Head="head",n);t.A=r},93243:function(e,t,n){var r=n(56110);e.exports=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},93290:function(e,t,n){e=n.nmd(e);var r=n(9325),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?r.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}},99105:function(e,t,n){"use strict";n.d(t,{T:function(){return o},i:function(){return i}});var r=n(18987);let i=e=>r.A.get(e)||!1,o=(e,t,n=30)=>{r.A.set(e,t,{expires:n})}},99406:function(e,t,n){"use strict";let r;n.d(t,{A:function(){return w}});var i=n(74547),o=n(33386),s=n(86964).Promise;let a=({pubID:e,bidTimeout:t,adServer:n="googletag",deals:r,useSafeFrames:i=!1,videoAdServer:o,params:s,signals:a={}})=>{!function(e,t,n,r,i,o,s){t[e]||(t[e]={init:function(){a("i",arguments)},fetchBids:function(){a("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},dpa:function(){a("di",arguments)},rpa:function(){a("ri",arguments)},upa:function(){a("ui",arguments)},_Q:[]},(o=n.createElement(r)).async=!0,o.src=i,(s=n.getElementsByTagName(r)[0]).parentNode.insertBefore(o,s));function a(n,r){t[e]._Q.push([n,r])}}("apstag",window,document,"script","//c.amazon-adsystem.com/aax2/apstag.js"),window.apstag.init({pubID:e,adServer:n,deals:r,videoAdServer:o,bidTimeout:t,useSafeFrames:i,params:s,signals:a})},d=({pubID:e,bidTimeout:t,adServer:n="googletag",deals:r,useSafeFrames:a=!1,videoAdServer:d,params:l,signals:c={}})=>((0,o.k0)(`https://config.aps.amazon-adsystem.com/configs/${e}`,i.Lk.HEAD,!0),(0,o.k0)("https://client.aps.amazon-adsystem.com/publisher.js",i.Lk.HEAD,!0),window.aps=((t=e)=>{let n=window._aps=window._aps||new Map;n.has(t)||n.set(t,{queue:[],store:new Map});let r={accountID:t,record:function(e,t){return new s((r,i)=>{var o,s;n.get(this.accountID).queue.push(new CustomEvent(e,{detail:(o=function(e){for(var t=1;t!e.includes("fluid");class A{static setConfig(e){r=e}isTudeServe(){return["v2","tude"].includes(null==r?void 0:r.AD_SERVER)}static loadLibrary({pubID:e="",bidTimeout:t=3e3,deals:n=!1,videoAdServer:o="DFP",useSafeFrames:s=!1,params:l,wrapperConfig:u,signals:g={}}){r=u;let h={pubID:e,bidTimeout:t,deals:n,videoAdServer:o,useSafeFrames:s,params:l,signals:g};(null==u?void 0:u.AMAZON_BOOTSTRAP)==="hybrid"?d(h):a(h),m(this,A,_,!0),(0,p.A)(v).log(i.dN.AMAZON_LIBRARY_LOADED,h),(null==r?void 0:r.AMAZON_BID_CACHING)&&((0,p.A)(v).advancedLog("bid caching enabled"),c.B.on("gpt.slotRenderEnded",e=>{var t,n,i;let o=e.divId,s=e.targetingMap,a=e.amzniid,d=(0,f.u0)(),{AMAZON_HASH_MAP:l={}}=r||{};if(a){let t=e.isAmazonWin;((null==d||null==(i=d.slotBids)?void 0:i[o])||[]).forEach(n=>{let{bidConfig:r}=n;if(t&&r.amzniid===a){n.bidState="RENDERED";let t=(0,f.UN)(r.amznbid,l)||"?";(0,p.A)(v).advancedLog("bidWon",{slotID:o,bid:n,cpm:t});try{let t=document.getElementById(o),n=String(r.size).split("x").map(Number);if(I(n)||(n=function(e=[],t=1e3){return e.filter(e=>I(e)&&e[0]*e[1]>=t).sort((e,t)=>e[0]*e[1]-t[0]*t[1]).find(e=>e)}(e.sizes)),t&&I(n)){let[e,r]=n;t.querySelectorAll('[id*="google_ads_iframe"]').forEach(t=>{t.hasAttribute("width")&&(t.setAttribute("width",String(e)),t.setAttribute("height",String(r))),t.style.setProperty("width",`${e}px`),t.style.setProperty("height",`${r}px`)})}}catch(e){(0,p.A)(v).error("Error trying to size an amazon bid win",e)}}let i=r.amzniid===a,s="RENDERED"===n.bidState,d="SET"===n.bidState;(i&&!s||!i&&d)&&(n.bidState="EXPOSED")})}let c=[];((null==d||null==(n=d.targetingKeys)||null==(t=n[o])?void 0:t.length)?d.targetingKeys[o]:Object.keys(s).filter(e=>e.startsWith("amzn"))).forEach(t=>{s[t]&&e.slot.clearTargeting(t)})}))}getGlobal(){return window.apstag=window.apstag||{}}requestBids(e,t,n=()=>{}){let{auctionState:o={}}=e;if(delete e.auctionState,e.slots=e.slots.map(e=>{let{display:t,video:n}=e.multiFormatProperties||{};return[e,t,n].forEach(e=>{(null==e?void 0:e.sizes)&&(e.sizes=e.sizes.filter(y))}),e}),(0,p.A)(v).log(i.dN.AMAZON_BIDS_REQUESTING,e),!e.slots)return(0,p.A)(v).error(i.dN.AMAZON_MISSING_FIELD,"slots"),!1;if(!l.A.canReceivePersonalizedAds()){(0,p.A)(v).warn("Amazon will not run because personalized ads are turned off"),n(!1);return}r.PREBID_TIMEOUT&&(e.timeout=r.PREBID_TIMEOUT);let s=this.getGlobal();s.fetchBids(e,i=>{if(t&&!o.timedout&&!this.isTudeServe())if(null==r?void 0:r.AMAZON_BID_CACHING)try{!function({apsRequestConfig:e,bidResponses:t}){var n;let i=null!=(n=r.AMAZON_CACHE_TTL)?n:120,{slots:o=[]}=e,s=o.map(e=>e.slotID),a=(0,f.u0)(),d=a.slotBids||{},l=Date.now(),c=t.filter(e=>e.amzniid).map(e=>e.amzniid);s.forEach(e=>{let t=d[e]||[],n=t.find(e=>{var t;return c.includes(null==e||null==(t=e.bidConfig)?void 0:t.amzniid)});n&&(n.responseTimestamp=l),u.U.push(()=>{let n=u.U.getSlotByDivId(e);if(!n)return;let r=(0,f.Ab)(e,n);if(!r||!r.newBidObject)return void(0,p.A)(v).advancedLog("no bid",{slotID:e,bids:t,BID_TTL:i});let o=Object.keys((null==a?void 0:a.bidReqs)||{}).length;if(!o)return;let s=String(o-1),d=!1;o&&r.bidReqID!==s&&(d=!0),(0,p.A)(v).advancedLog("bid",{slotID:e,cached:d,bid:r,cpm:r.cpm||"?",currentBidReqID:s,bids:t,BID_TTL:i})})})}({apsRequestConfig:e,bidResponses:i})}catch(e){(0,p.A)(v).advancedLog("cache error, falling back to apstag.setDisplayBids()",e),u.U.push(()=>{s.setDisplayBids()})}else u.U.push(()=>{s.setDisplayBids()});n(i)})}constructor(){let{AMAZON_SINGLETON:e}=r||{};if(e&&h(A,A,E))return h(A,A,E);e&&m(A,A,E,this)}}var E={writable:!0,value:void 0},_={writable:!0,value:void 0},w=A;function I(e){return Array.isArray(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=r,o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},a=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},o.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var n=Object.create(null);o.r(n);var r={};s=s||[null,a({}),a([]),a(a)];for(var i=2&t&&e;"object"==typeof i&&!~s.indexOf(i);i=a(i))Object.getOwnPropertyNames(i).forEach(function(t){r[t]=function(){return e[t]}});return r.default=function(){return e},o.d(n,r),n},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce(function(t,n){return o.f[n](e,t),t},[]))},o.u=function(e){return 67823===e?"plugins/fixed-injection.df642a5d85992d703b1f.plugin.js":3212===e?"polyfills/urlsearchparams.3898e8be264dc197b05a.polyfill.js":12006===e?"components/_comonent-template-component.711ea748ebae4dad1dfc.js":20900===e?"components/activity-refresh-component.4cb42b4907ecdd244944.js":52710===e?"components/ad-block-component.8c98343e9ca7b0a9efa8.js":38915===e?"components/ad-lightning-component.3c4121bd18c6fa95186b.js":72210===e?"components/ad-placeholder-component.e9422083148875e72814.js":90316===e?"components/ad-request-modifier-component.e8ecfe75e81788a1c181.js":95889===e?"components/ad-space-optimizer-component.9f455b2243ce04503f6d.js":42249===e?"components/adx-interstitial-component.38abac8e8ec3d268f830.js":5451===e?"components/amazon-bidding-component.9beef193a90f5f2e4eaa.js":86939===e?"components/assertive-yield-component.27ddd33704824be622f8.js":23247===e?"components/asteriobid-component.a797d51a90b7be268799.js":85778===e?"components/basic-cmp-component.b9a184b7211ea3e0658e.js":40785===e?"components/basic-injection-component.2e6d1046ba87d5ee821f.js":4695===e?"components/bid-modifiers-component.fcff479017126a701824.js":79554===e?"components/bidder-pbjs-config-component.32ec785d1e8abd7a0b2c.js":44792===e?"components/bidder-test-component.1ed2603ecd1f0135300d.js":56045===e?"components/bounce-exchange-component.ec8ef82317ead2c8e97d.js":10771===e?"components/clear-user-syncs-component.1a61fa1d80631b862498.js":73541===e?"components/conditional-bidding-component.ed76ab483f69a9db57da.js":73235===e?"components/confiant-component.f7c42ad5d8113becd80d.js":84095===e?"components/consent-manager-component.7b25850da7d337d59d6a.js":2473===e?"components/consolidate-ad-requests-component.e635fba359a9b9f1a75d.js":93350===e?"components/cookie-deprecation-component.314d0b5bbd0147ea955e.js":74088===e?"components/cpm-star-direct-component.c85f7b6152e77ac492e1.js":87966===e?"components/cpm-tracking-event-component.4bf710b86c308616edaf.js":96526===e?"components/creative-timed-refresh-component.5d2d58c29d009f871e0b.js":73620===e?"components/degrading-timed-refresh-component.d78f14e0b14afa3473e0.js":61784===e?"components/double-verify-component.0c66740671af1d4c93bb.js":32844===e?"components/dynamic-floors-component.4ccda0d4fd151fb11f27.js":75314===e?"components/dynamic-timeout-component.c143446eff620115f859.js":7658===e?"components/enable-multiformat-outstream-component.8585d948034bda906243.js":54401===e?"components/expose-events-component.f3da1ace8343e94be147.js":88039===e?"components/first-party-data-component.fd4447dbf80e48c44716.js":99205===e?"components/floor-machine-component.0b50cdf0080eeb5b4dc6.js":1092===e?"components/force-render-divs-component.e17fc3be60e9617c22e8.js":29494===e?"components/geo-bidders-component.363a5f58a82dc8f078ed.js":1754===e?"components/geo-pbjs-floors-component.20837ca6b757c7c53009.js":64379===e?"components/htl-bid-throttling-component.2285d4750a1c9d73931a.js":9576===e?"components/htl-injector-component.017afc00181e1fca61da.js":96657===e?"components/htl-live-intent-component.d2df3e379378ceecb9d0.js":29344===e?"components/htl-prebid-floors-component.e99ae5c881ac700da2b5.js":12352===e?"components/htl-prebid-native-component.56370eef199d73960e73.js":35838===e?"components/htl-refresh-cap-component.4e7fcc7321e4ebdeae85.js":72166===e?"components/htl-traffic-shaping-component.9af3438bce54e00a7ac1.js":63324===e?"components/inmobi-cmp-component.1420e51d0f38cc551592.js":4014===e?"components/instream-video-component.ec7b088aedfd5717f92d.js":86891===e?"components/interstitial-gaming-component.867c53f10118408d9097.js":69968===e?"components/lazy-load-divs-simple-component.bd557695e7c32d13222d.js":79866===e?"components/lazy-load-divs-component.77861d1307b88caf6bc9.js":94242===e?"components/live-intent-component.3d89eb54289f9cd67e46.js":30704===e?"components/magic-anchor-component.df2068c7572f05c77668.js":40526===e?"components/miletech-component.cda9df337880e9c7c133.js":81724===e?"components/next-page-events-component.f813bd698c0bb84e37c5.js":26984===e?"components/ogury-limiter-component.35348e3a03a6584e53b4.js":84968===e?"components/onetrust-component.4031ea790d647727fcc8.js":25420===e?"components/optimera-component.fd34c2eeabb3b8df2283.js":98895===e?"components/outstream-component.28a24930bb3f4f3413b3.js":4254===e?"components/permutive-component.96414e686f96f1c9da04.js":37890===e?"components/personalized-ads-component.85af07a29d335c0b34ed.js":37524===e?"components/prebid-first-look-component.e1ce8191775b00b1fda3.js":49339===e?"components/prebid-floors-component.fceb1a4ffb0e2e7d4ecf.js":59777===e?"components/prebid-settings-component.e7236f538b58d3832945.js":57211===e?"components/pubxai-analytics-component.4164d44f26c5e89936bf.js":67399===e?"components/raven-rps-tracking-component.ffef5e1cd5ed3ccb6c08.js":63452===e?"components/reduce-shift-component.4101f1b2902aedb87efc.js":45301===e?"components/refresh-all-ads-component.d98a06555dcf5e53ec96.js":95948===e?"components/report-ad-button-component.759ed25352cc3a48fe00.js":98207===e?"components/restrict-bidders-component.639878aa3ca0100b2010.js":4122===e?"components/rewarded-ads-component.4aa1a8b0d59313172382.js":99843===e?"components/rps-tracking-event-component.e6a1475bc7c38ea8d9bf.js":2070===e?"components/schain-config-component.e1093f9df44004dbbca4.js":95580===e?"components/set-ad-unit-directory-component.a99c75905e902d317976.js":41569===e?"components/size-attribute-component.778f32ce029f2b0a928a.js":69761===e?"components/size-limiter-component.f8a9db88bafff0726b18.js":1923===e?"components/stand-alone-dynamic-floors-component.42e96f87b9b0bc308cc8.js":35807===e?"components/taboola-auto-tagId-component.c08394dfc0b1894b1147.js":42828===e?"components/third-party-scripts-component.f16c88aad385ea1e203c.js":67811===e?"components/throttle-refresh-component.257817f9904545417c30.js":97120===e?"components/timed-refresh-component.f457c73a8001fffe93a8.js":81665===e?"components/user-id-component.b546c9e833c2b60b6713.js":90878===e?"components/vidazoo-overlay-component.812c6056747a313fdd4b.js":3601===e?"components/vidazoo-tracking-component.44a3b29925eb63b4cc75.js":17e3===e?"components/video-bidding-component.e3e85a16cc6040ac1c5a.js":83910===e?"components/video-instream-component.65dc0919f394ae765f02.js":3925===e?"components/video-outstream-component.297793ddc2ec9f4a0438.js":27225===e?"plugins/videojs.faec694840882aada3e2.plugin.js":64911===e?"plugins/video-scss0.9fa2144fbc0bd023bab2.plugin.js":518===e?"plugins/video-scss1.2c313de390b604cbec58.plugin.js":71517===e?"plugins/video-scss2.47d52e56e1c36beb2392.plugin.js":58708===e?"plugins/video-scss3.12cb5bbe1b4eba8931db.plugin.js":void 0},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d={},l="aditude-prebid:",o.l=function(e,t,n,r){if(d[e])return void d[e].push(t);if(void 0!==n)for(var i,s,a=document.getElementsByTagName("script"),c=0;c-1&&(!c||!/^http(s?):/.test(c));)c=p[f--].src}if(!c)throw Error("Automatic publicPath is not supported in this browser");o.p=(c=c.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"))+"../../",o.b=document.baseURI||self.location.href,e={8521:0,37890:0,49339:0,54401:0,81665:0,84095:0},o.f.j=function(t,n){var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(function(n,i){r=e[t]=[n,i]});n.push(r[2]=i);var s=o.p+o.u(t),a=Error();o.l(s,function(n){if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",a.name="ChunkLoadError",a.type=i,a.request=s,r[1](a)}},"chunk-"+t,t)}},t=function(t,n){var r,i,s=n[0],a=n[1],d=n[2],l=0;if(s.some(function(t){return 0!==e[t]})){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);d&&d(o)}for(t&&t(n);l{document.addEventListener("DOMContentLoaded",()=>e(!0))}):void await a.resolve(!0)}s.A.before("init","dom-ready",d);var l=o(7115),c=o(86964).Promise;async function u(){try{var e,t,n;let r=await (0,l.default)({prebidGlobal:"pbjs",rules:["gdpr","ccpa"]});o.g.CMP_WAIT_FOR_GDPR_CONSENT&&r.requiresCmp&&(null==r||null==(n=r.prebidConfig)||null==(t=n.consentManagement)||null==(e=t.gdpr)?void 0:e.defaultGdprScope)&&((0,i.A)().log("Consent manager: gdpr applies, awaiting consent data from cmp before proceeding"),await new c(e=>{let t=setInterval(()=>{"function"==typeof window.__tcfapi&&(clearInterval(t),(0,i.A)().log("Consent manager: gdpr api loaded, adding event listener"),window.__tcfapi("addEventListener",2,(t,n)=>{n&&["tcloaded","useractioncomplete"].includes(null==t?void 0:t.eventStatus)?((0,i.A)().log("Consent manager: gdpr api received consent data, proceeding",{success:n,tcfData:t}),e(t),window.__tcfapi("removeEventListener",2,()=>{},null==t?void 0:t.listenerId)):(0,i.A)().log("Consent manager: gdpr api event fired, but no consent data yet",{success:n,tcfData:t})}))},25)}))}catch(e){(0,i.A)().error(e)}await c.resolve(!0)}s.A.before("init","consent-manager",u);var p=o(14225),f=o(21151),g=o(28519);(0,g.x)(f.default,function(e){for(var t=1;te.mapping},{nameMap:{"gpt.slotRenderEnded":"tude_slot_render_end"},cb:({divId:e,filled:t})=>({divId:e,filled:t})}]});var h=o(44558),m=o(74547),b=o(6262),v=o(22188),y=o(87594);(async()=>{let e=new Set,t=new Set,n=n=>e.has(n.divId)&&!t.has(n.divId),r=await h.rI.getInstance(),o=await h.rI.getConfig(),s=o.PREBID_TIMEOUT,a=document.location.href,d=()=>{Array.from(e).forEach(n=>{document.getElementById(n)||(e.delete(n),t.delete(n))})};window.addEventListener("popstate",function(){a!==document.location.href&&(a=document.location.href,d())});let l=history.pushState;history.pushState=(...e)=>{l.apply(history,e),a!==document.location.href&&(a=document.location.href,d())},y.B.on(m.qY.BEFORE_REFRESH,t=>{d(),t.some(t=>{var n,r;let i=null==(n=document.getElementById(t.divId))?void 0:n.closest(".bannerAd");return!!i&&(null==(r=i.closest(".lazyLoadingList"))?void 0:r.querySelector(".bannerAd"))===i&&(e.add(t.divId),!0)});let i=t.filter(n);if(i.length&&i.length!==t.length){let e=t.filter(e=>!i.includes(e));(0,b.A)(t,e=>i.includes(e)),setTimeout(()=>{r.refreshAdsViaDivMappings(e)},50)}}),y.B.on(m.qY.BEFORE_REQUEST,({mappings:e})=>{let r=e.filter(n);r.length&&(r.forEach(e=>{t.add(e.divId)}),o.PREBID_TIMEOUT=500,(0,i.A)().log("lazyload: altering auction timeout",{from:s,to:500},r.map(e=>e.divId)))});let c=(0,v.b)();c.que.push(()=>{c.onEvent("auctionInit",()=>{o.PREBID_TIMEOUT=s})})})();var A=o(4413);(0,A.J)({name:"20250425-refresh-viewable-test-30-70",tracking:"custom_9",insights:"param9",variants:[{name:"test",value:!0,percent:30},{name:"control",value:!1,percent:70}]})&&y.B.on("useComponent.creative-timed-refresh",e=>{e.props.viewableOnly=!1});var E=class{observe(e){this.observer.observe(e)}constructor(e,t){var n,r;r=void 0,(n="observer")in this?Object.defineProperty(this,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[n]=r,this.observer=new IntersectionObserver((e,n)=>{let r=[];e.forEach(e=>{e.isIntersecting&&(r.push(e.target.id),n.unobserve(e.target))}),r.length&&setTimeout(()=>t(r),0)},e)}};let _="viewability";async function w(...e){(0,i.A)(_).log(...e)}(0,i.A)(_).setLabel("Viewability","#808080");let I={},S={},O=(e,t)=>new E(e,t),R=(t,n,r,o)=>{let{DIV_CUSTOMIZATIONS:s}=r,a=s.filter(e=>e.observerConfig),d=e=>{w(m.dN.AD_SLOT_IN_VIEW,e);let t={};e.forEach(e=>{S[e]&&(t[e]=S[e],delete S[e])}),Object.keys(t).length&&o(Object.keys(t),Object.values(t),r)};if(!e){let{INTERSECTION_OBSERVER:t}=r,n={rootMargin:t.ROOT_MARGIN,threshold:t.THRESHOLD};w(m.dN.SETTING_UP_VIEWABILITY_OBSERVER,n),e=O(n,d)}w(m.dN.SETTING_UP_VIEWABILITY_DETECTION,t);let{VIEWABILITY_DUPLICATION_ENABLED:l}=r,c=[];t.forEach(e=>{if(!l&&S[e])return void(0,i.A)(_).warn(m.dN.ALREADY_QUEUED_FOR_VIEWABILITY,e);S[e]=n.find(t=>e===t.divId);let t=document.getElementById(e);t?c.push(t):(0,i.A)(_).warn("Element not found on page",e)}),c.length>0&&c.forEach(t=>{var n;let r=S[t.id].baseDivId,i=null==(n=a.find(e=>e.baseDivId===r))?void 0:n.observerConfig;if(i){let e=JSON.stringify(i);w("Setting up custom viewability observer for lazyloading ads",{[r]:i}),I[e]||(I[e]=O(i,d)),I[e].observe(t)}else e&&e.observe(t)})},C=(e,t,n,r,i,o=!1)=>{let s={divId:i+t,device:n.deviceOverride||r,gamOnly:o,prebidAdUnit:n.code,gamSizes:n.mediaTypes&&n.mediaTypes.banner?n.mediaTypes.banner.sizes:[[1,1]],slot:t,targeting:n.targeting};e.push(s)};var P=function(e=[],t,n="pb-slot-",r=!1){let i;for(i in t)t[i].forEach(t=>{"string"==typeof t.slot?C(e,t.slot,t,i,n,t.gamOnly||r):t.slot.forEach(o=>{C(e,o,t,i,n,t.gamOnly||r)})});return e},D=o(2532),j=class{observe(e){this.observer.observe(e)}constructor(e,t){var n,r;r=void 0,(n="observer")in this?Object.defineProperty(this,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[n]=r,this.observer=new IntersectionObserver((e,n)=>{e.forEach(e=>{e.isIntersecting&&(t(e.target),n.unobserve(e.target))})},e)}},U=o(69837);let N="viewability";async function B(...e){(0,i.A)(N).log(...e)}(0,i.A)(N).setLabel("Viewability","#808080");let L={},x=new Map,M=(e,t)=>new j(e,t),k=(e,n,r,o)=>{B(m.dN.SETTING_UP_VIEWABILITY_DETECTION,e);let{VIEWABILITY_DUPLICATION_ENABLED:a,DIV_CUSTOMIZATIONS:d}=r,l=d.filter(e=>e.observerConfig);function c(e){B(m.dN.AD_SLOT_IN_VIEW,e.id),x.has(e.id)&&(o([e.id],[x.get(e.id)],r),x.delete(e.id))}if(!t){let{INTERSECTION_OBSERVER:e}=r,n={rootMargin:e.ROOT_MARGIN,threshold:e.THRESHOLD};B("Setting up default viewability observer for lazyloading ads",n),t=M(n,e=>c(e))}let u=[],p=[];if(e.forEach(e=>{if(s.A.dispatch("adRequestReceived",{divId:e}),!a&&x[e]){s.A.dispatch("adRequestWarning",{divId:e}),(0,i.A)().warn(m.dN.ALREADY_QUEUED_FOR_VIEWABILITY,e);return}let t=document.getElementById(e);t&&(x.set(e,n.find(t=>e===t.divId)),(0,U.A)(t)?u.push(e):p.push(t))}),u.length>0){B("Already in viewport",u);let e=u.filter(e=>x.has(e)),t=e.map(e=>x.get(e));e.forEach(e=>{s.A.dispatch("adRequestStartBids",{divId:e,reason:"alreadyInView"})}),o(e,t,r),e.forEach(e=>{x.delete(e)})}p.forEach(e=>{let n=x.get(e.id).baseDivId,r=l.find(e=>e.baseDivId===n);s.A.dispatch("adRequestObserving",{divId:e.id}),r?(L[n]||(B("Setting up custom viewability observer for lazyloading ads",{[n]:r}),L[n]=M(r.config,e=>c(e))),L[n].observe(e)):t.observe(e)})};var G=e=>e.map(e=>Object.assign({},e)),F=o(18238),z=o(27286),q=function(e){for(let t in e)e[t]=F.A.apply("adUnitsOnLoad",{adUnits:e[t]},({adUnits:e})=>e);return{getCurrentDeviceAdUnits:t=>e[t||(0,z.ZI)()]}};function V(e){for(var t=1;t{var t,n;let{config:r,customMethods:i={},pluginLoader:o,requestWrapperMethod:s,gamOnly:a=!1}=e=F.A.apply("makeInitBaseWrapper",e,e=>e);(0,h.Xp)(r.WRAPPER_NAME,'"1.4.0"',r,(t=V({},q(r.AD_UNITS)),n=n={getCloneOfUnits:G},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t),(0,D.A)(r.BID_MODIFIERS),s||k,P(r.CUSTOM_DIVS,r.AD_UNITS,r.SLOT_PREFIX,a),V({},i),o)},$=o(55364),Y=o.n($);let W=(0,o(67259).P3)("aditude_adserver"),Z={AD_SERVER:W?"v2"===W?"v2":"tude":"google",ADVANCED_TIMED_REFRESH:{enabled:!1,advancedTimedRefreshConfig:{}},ASSERTIVE_YIELD:{predictions:!0,server:!1},AMAZON_PARAMS:void 0,AMAZON_SIGNALS:{},AMAZON_PUB_ID:"",AMAZON_BIDDING:!1,AMAZON_SINGLETON:!0,AMAZON_DEALS:!1,AMAZON_HASH_MAP:{},BID_MODIFIERS:{},CUSTOM_DIVS:[],COMPONENTS_CONFIG_ENABLED:!1,COMPONENTS:[],DEBUG:!1,DIV_CHECK_ON_REQUEST:!1,DIV_CUSTOMIZATIONS:[],URL_TARGETING_PARAMS:["utm_source","utm_campaign","utm_medium"],PREBID_ALIASES:[],CURRENCY:"USD",FLAGS:{injectAds:!1},GPT_COLLAPSE_EMPTY_DIVS:!1,GPT_DISABLE_INITIAL_LOAD:!0,GPT_FORCE_SAFEFRAMES:!1,GPT_LAZYLOAD_ENABLED:!1,GPT_LAZYLOAD_FETCH_MARGIN:400,GPT_LAZYLOAD_RENDER_MARGIN:150,GPT_LAZYLOAD_MOBILE_SCALING:2,GPT_SRA:!1,INTERSTITIAL_DELAY:3e3,INTERSTITIAL_CONFIG:!1,EVENTS_AY_FB_CURRENCY:"USD",EVENTS_AY_FB_PURCHASE_ENABLED:!1,EVENTS_AY_FB_PURCHASE_MODIFIER:.8,EVENTS_AY_FB_RPS_ENABLED:!1,EVENTS_AY_FB_RPS_MAP:[],EVENTS_AY_RPS_GTM_ENABLED:!1,EVENTS_AY_RPS_GTM_WHOLE_NUMBERS:!0,FAILSAFE_TIMEOUT:2500,FORCE_RENDER_OVERRIDE:!1,GEO_GLOBAL:o.g._tudeGeo||{},GLOBAL_NAME:"tude",GOOGLE_PAGE_URL:!1,GOOGLE_TARGETING_PARAMS:{test:"prebid",tude:"true",cw:"1"},INITIAL_USER_STATE:{personalizedAds:!0},INTERSECTION_OBSERVER:{ROOT_MARGIN:"1200px 0px 1200px 0px",THRESHOLD:[.25]},INIT_GTAG_EARLY:!0,LAZY_LOAD:{rotatableIds:[]},LAZY_DESTROY:!0,LAZY_DESTROY_DISTANCE_VH:300,LAZY_DESTROY_DELAY:15e3,LAZY_DESTROY_REQUEUE:!0,OUTSTREAM_ADX_FLOOR_BUCKETS:[{min:.1,max:.25,increment:.05},{min:.25,max:5,increment:.25},{min:5,max:10,increment:.5}],SLOT_PREFIX:"pb-slot-",PREBID_CACHE:!0,PREBID_CACHE_DISABLE_MOVING_BIDDERS:["teads"],PREBID_CACHE_EXCLUDES:!0,PREBID_CONFIG:{disableAjaxTimeout:!0,enableTIDs:!0,maxRequestsPerOrigin:(0,z.f8)()?6:8,gptPreAuction:{enabled:!0,mcmEnabled:!0,customPreAuction:function(e,t){return t=t?`${t}#`:"",`${t}${e.code}`.replace(/(^\/\d+),\d+\//,"$1/")}},gvlMapping:{qortex:1082,brightcom:883,bcmssp:883,iionads:1358,pgamssp:1353},userSync:{aliasSyncEnabled:!0,auctionDelay:100,syncsPerBidder:0,filterSettings:{all:{bidders:"*",filter:"include"}}}},PREBID_GLOBAL:o.g._tudePbjsGlobal||"pbjs",PREBID_GPID:!1,PREBID_SIZES_OVERRIDE:!1,PREBID_SECURE_SIGNALS:!0,PREBID_TIMEOUT:2500,PREBID_TIMEOUT_OUTSTREAM:2500,PREBID_SINGLETON:!0,PREBID_EARLY_USERSYNC:!0,REFLECT_UI_REFRESH:!1,REFLECT_UI_LAZY_LOAD:!1,REFLECT_UI_PREBID_TIMEOUT:!1,REFLECT_UI_PREBID_CONFIG:!1,VIEWABILITY_DUPLICATION_ENABLED:!1,WAIT_FOR_CMP:!0,WRAPPER_NAME:""},K=()=>{let{navigator:e}=window;if(e){let{connection:t}=e;return t}return null},Q=()=>{let e=K();if(e){let{effectiveType:t}=e;return t}return null};var X=((n={}).Desktop="desktop",n.DesktopLarge="desktop-large",n.Mobile="mobile",n.Tablet="tablet",n),J=o(18134);function ee(e){for(var t=1;t{var t;return null==e||null==(t=e.sort((e,t)=>{let n=e.viewport[0]===t.viewport[0];return(n?e.viewport[1]:e.viewport[0])>(n?t.viewport[1]:t.viewport[0])?-1:1}))?void 0:t.find(e=>{var t,n,r,i;return en>=(null!=(r=null==(t=e.viewport)?void 0:t[0])?r:0)&&er>=(null!=(i=null==(n=e.viewport)?void 0:n[1])?i:0)})},eo={CUSTOM_DIVS:[{divId:"pb-slot-interstitial",device:[X.Mobile,X.Tablet,X.Desktop],isInterstitial:!0,prebidAdUnit:"/115535218/soundcloud/webi_interstitial",gamSizes:[]}],GOOGLE_TARGETING_PARAMS:{cw:"soundcloud.com"},PREBID_CACHE:!0,PREBID_CONFIG:{deviceAccess:!0,priceGranularity:"high",userSync:{filterSettings:{all:{bidders:"*",filter:"include"}},syncsPerBidder:50},enableSendAllBids:!0,useBidCache:!0,consentManagement:!1},WAIT_FOR_CMP:!1,WRAPPER_NAME:"soundcloud.com"},es=Y()(Z,(new class e{getConfig(){return function(e){for(var t=1;t{var n,r,i,o,s,a;if(t.REFLECT_UI_PREBID_TIMEOUT||delete e.PREBID_TIMEOUT,t.REFLECT_UI_LAZY_LOAD||delete e.DIV_CUSTOMIZATIONS,t.REFLECT_UI_PREBID_CONFIG||(e.PREBID_CONFIG={priceGranularity:null==e||null==(n=e.PREBID_CONFIG)?void 0:n.priceGranularity,pageUrl:null==e||null==(r=e.PREBID_CONFIG)?void 0:r.pageUrl,realTimeData:null==e||null==(i=e.PREBID_CONFIG)?void 0:i.realTimeData,currency:null==e||null==(o=e.PREBID_CONFIG)?void 0:o.currency,s2sConfig:null==e||null==(s=e.PREBID_CONFIG)?void 0:s.s2sConfig}),!t.REFLECT_UI_REFRESH){let t=new Set,n=new Set;null==e||null==(a=e.COMPONENTS)||a.forEach(e=>{"htl-injector"===e.name&&e.config.selectors.forEach(({selector:e,interstitial:t})=>{t||n.add(e)}),"creative-timed-refresh"===e.name&&(e.config.fallbackRefreshTime>30&&(e.config.fallbackRefreshTime=30),e.config.refreshTimes.prebid=e.config.fallbackRefreshTime-2,e.config.refreshTimes.amazon=e.config.fallbackRefreshTime-2,e.config.includeBaseDivIds.forEach(e=>t.add(e)))});let r=[...n].filter(e=>!t.has(e));r.length>0&&(e.COMPONENTS.find(e=>"creative-timed-refresh"===e.name&&e.config.includeBaseDivIds.some(e=>r.includes(e)))||e.COMPONENTS.push({name:"creative-timed-refresh",config:{fallbackRefreshTime:30,includeBaseDivIds:r,refreshTimes:{prebid:28,amazon:28}}}))}})(e,es);let t=[];null==e||e.ALL_AD_UNITS.forEach(e=>{var n,r,i;let o=ee({},e);o.bids=null==(r=ei(o.bids))||null==(n=r.bids)?void 0:n.flat(),o.mediaTypes.banner.sizes=(null==(i=ei(o.mediaTypes.banner.sizes))?void 0:i.sizes)||[],o.mediaTypes.banner.sizes=o.mediaTypes.banner.sizes.filter(e=>!Array.isArray(e)||0===e.length||!!(e[0]<=en)),(o.mediaTypes.banner.sizes&&0!==o.mediaTypes.banner.sizes.length||o.interstitial||o.oop)&&(o.bids&&0!==o.bids.length||(o.gamOnly=!0),t.push(o))}),e.AD_UNITS={desktop:t,mobile:t,tablet:t},e.COMPONENTS&&(et.advancedLog("loading components",e.COMPONENTS),s.A.before("init","load-components",async()=>{et.advancedLog("loading components",e.COMPONENTS),await (0,J.A)(e.COMPONENTS)})),Object.keys(e).forEach(t=>{if(!(void 0===e[t]||null===e[t]||Array.isArray(e[t])&&!e[t].length)){if(Array.isArray(es[t])&&Array.isArray(e[t])){es[t]=[...es[t],...e[t]];return}if("object"==typeof es[t]&&"object"==typeof e[t]){es[t]=ee({},es[t],e[t]);return}es[t]=e[t]}}),(0,i.A)("remote-config").setLabel("Remote Config").advancedLog("found and merged",{config:es,remoteConfig:e})}else et.advancedLog("not found");delete window.ADITUDE_WRAPPER_CONFIG,window.htlbid=window.htlbid||{},window.htlbid.cmd=window.htlbid.cmd||[],window.htlbid.cmd.push(()=>{window.htlbid.layout()}),s.A.do("init",async()=>{H({config:es,requestWrapperMethod:R})})}()}();