“));var g=y[n.size_id].split(“x”).map((function(e){return Number(e)})),f=(0,i.Z)(g,2);m.width=f[0],m.height=f[1]}m.rubiconTargeting=(Array.isArray(n.targeting)?n.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(m)}else(0,a.logError)(“Rubicon: bidRequest undefined at index position:”.concat(s),t,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,i){if(!S&&e.iframeEnabled){var n={};return t&&(“boolean”==typeof t.gdprApplies&&(n.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(n.gdpr_consent=t.consentString)),i&&(n.us_privacy=encodeURIComponent(i)),n=Object.keys(n).length?”?”.concat((0,a.formatQS)(n)):””,S=!0,{type:”iframe”,url:” _(e,r){var t;return t=e.params.referrer?e.params.referrer:r.refererInfo.page,e.params.secure?t.replace(/^http:/i,”https:”):t}function j(e){var r,t=document.getElementById(e.adUnitCode);(r=t.querySelector(“div[id^=’google_ads’]”))&&r.style.setProperty(“display”,”none”),function(e){var r=e.querySelector(“script[id^=’sas_script’]”),t=r&&r.nextSibling;t&&”iframe”===t.localName&&t.style.setProperty(“display”,”none”)}(t);var i=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function k(e,r){var t=e.params;if(“video”===r){var i=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?i=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,s.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(i=e.sizes[0]),i}var n=[];return Array.isArray(t.sizes)?n=t.sizes:void 0!==(0,s.Z)(e,”mediaTypes.banner.sizes”)?n=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=I(e.sizes):(0,a.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var i=r.indexOf(e),n=r.indexOf(t);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-t}))}(n)}function C(e,r,t){var i={user:{ext:{data:f({},e.params.visitor)}},site:{ext:{data:f({},e.params.inventory)}}};e.params.keywords&&(i.site.keywords=(0,a.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);var n=(0,a.mergeDeep)({},e.ortb2||{},i),c=(0,s.Z)(e.ortb2Imp,”ext”)||{},d=(0,s.Z)(e.ortb2Imp,”ext.data”)||{},p=(0,s.Z)(e,”ortb2Imp.ext.gpid”),l={user:[4],site:[1,2,5,6]},m={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},v=function(e,r,t){return”data”===r&&Array.isArray(e)?e.filter((function(e){return e.segment&&(0,s.Z)(e,”ext.segtax”)&&l[t]&&-1!==l[t].indexOf((0,s.Z)(e,”ext.segtax”))})).map((function(e){var r=e.segment.filter((function(e){return e.id})).reduce((function(e,r){return e.push(r.id),e}),[]);if(r.length>0)return r.toString()})).toString():(“object”!==(0,o.Z)(e)||Array.isArray(e))&&void 0!==e?Array.isArray(e)?e.filter((function(e){if(“object”!==(0,o.Z)(e)&&void 0!==e)return e.toString();(0,a.logWarn)(“Rubicon: Filtered value: “,e,”for key”,r,”: Expected value to be string, integer, or an array of strings/ints”)})).toString():e.toString():void 0},g=function(e,r,i){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=v(e,i,r),a=m[i]&&n?””.concat(m[i]):”data”===i?””.concat(m[r],”iab”):””.concat(m[r]).concat(i);t[a]=t[a]?t[a].concat(“,”,o):o};r===u.Mk?([“site”,”user”].forEach((function(e){Object.keys(n[e]).forEach((function(r){“site”===e&&”content”===r&&n[e][r].data?g(n[e][r].data,e,”data”):”ext”!==r?g(n[e][r],e,r):n[e][r].data&&Object.keys(n[e].ext.data).forEach((function(r){g(n[e].ext.data[r],e,r,!1)}))}))})),Object.keys(d).forEach((function(e){“adserver”!==e?g(d[e],”site”,e):”gam”===d[e].name&&g(d[e].adslot,name,e)})),p&&(t.p_gpid=p),t[“tg_i.pbadslot”]&&delete t[“tg_i.dfp_ad_unit_code”]):(Object.keys(c).length&&(0,a.mergeDeep)(t.imp[0].ext,c),p&&(t.imp[0].ext.gpid=p),(0,a.mergeDeep)(t,n))}function I(e){return(0,a.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(y[r],10);return t&&e.push(t),e}),[])}function Z(e){var r=void 0!==(0,s.Z)(e,”mediaTypes.”.concat(u.pX)),t=void 0!==(0,s.Z)(e,”mediaTypes.”.concat(u.Mk)),i=”object”!==(0,o.Z)((0,s.Z)(e,”params.video”));return t&&i&&(r=!1),r&&i&&(0,c.N)(e,”params.video”,{}),r}function O(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Z(e)?-1===[“outstream”,”instream”].indexOf((0,s.Z)(e,”mediaTypes.”.concat(u.pX,”.context”)))?void(r&&(0,a.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”)):k(e,”video”).length<2?void(r&&(0,a.logError)("Rubicon: could not determine the playerSize of the video")):(r&&(0,a.logMessage)("Rubicon: making video request for adUnit",e.adUnitCode),"video"):0===k(e,"banner").length?void(r&&(0,a.logError)("Rubicon: could not determine the sizes for banner request")):(r&&(0,a.logMessage)("Rubicon: making banner request for adUnit",e.adUnitCode),"banner")}function w(e){var r=!1,t=["asi","sid","hp"];return e.nodes?((r=e.nodes.reduce((function(e,r){return e?t.every((function(e){return r.hasOwnProperty(e)})):e}),!0))||(0,a.logError)("Rubicon: required schain params missing"),r):r}function A(e,r){return"rp_schain"===e?"rp_schain=".concat(r):"".concat(e,"=").concat(encodeURIComponent(r))}var S=!1;(0,d.dX)(h),window.pbjs.installedModules.push("rubiconBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=40060,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[1215],{13522:function(e,t,r){var a=r(20265),i=r(64358),n=r(24679),o=r(3193),d=r(4192),s=r(14699),u={code:"smartadserver",gvlid:45,aliases:["smart"],supportedMediaTypes:[n.Mk,n.pX],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.params.pageId&&e.params.formatId)},serializeSupplyChain:function(e){if(!e||!e.nodes)return null;var t=["asi","sid","hp","rid","name","domain"];return"".concat(e.ver,",").concat(e.complete,"!")+e.nodes.map((function(e){return t.map((function(t){return e[t]?encodeURIComponent(e[t]):""})).join(",")})).join("!")},adaptBannerSizes:function(e){return e.map((function(e){return{w:e[0],h:e[1]}}))},fillPayloadForVideoBidRequest:function(e,t,r){var a=t.playerSize[0];e.isVideo="instream"===t.context,e.mediaType=n.pX,e.videoData={videoProtocol:this.getProtocolForVideoBidRequest(t,r),playerWidth:a[0],playerHeight:a[1],adBreak:this.getStartDelayForVideoBidRequest(t,r)}},getProtocolForVideoBidRequest:function(e,t){return void 0!==t&&t.protocol?t.protocol:void 0!==e&&Array.isArray(e.protocols)?Math.max.apply(Math,e.protocols):null},getStartDelayForVideoBidRequest:function(e,t){if(void 0!==t&&t.startDelay)return t.startDelay;if(void 0!==e){if(0==e.startdelay)return 1;if(-1==e.startdelay)return 2;if(-2==e.startdelay)return 3}return 2},createServerRequest:function(e,t){return{method:"POST",url:(void 0!==t?t:"https://prg.smartadserver.com")+"/prebid/v1",data:JSON.stringify(e)}},buildRequests:function(e,t){var r=o.vc.getConfig("currency.adServerCurrency"),s=(0,a.Z)(t,"ortb2.user.data",o.vc.getAnyConfig("ortb2.user.data")),c=(0,a.Z)(t,"ortb2.site.content.data",o.vc.getAnyConfig("ortb2.site.content.data"));return e.reduce((function(e,p){var l={siteid:p.params.siteId,pageid:p.params.pageId,formatid:p.params.formatId,currencyCode:r,targeting:p.params.target&&""!==p.params.target?p.params.target:void 0,buid:p.params.buId&&""!==p.params.buId?p.params.buId:void 0,appname:p.params.appName&&""!==p.params.appName?p.params.appName:void 0,ckid:p.params.ckId||0,tagId:p.adUnitCode,pageDomain:t&&t.refererInfo&&t.refererInfo.page?t.refererInfo.page:void 0,transactionId:p.transactionId,timeout:o.vc.getConfig("bidderTimeout"),bidId:p.bidId,prebidVersion:"7.36.0",schain:u.serializeSupplyChain(p.schain),sda:s,sdc:c};t&&(t.gdprConsent&&(l.addtl_consent=t.gdprConsent.addtlConsent,l.gdpr_consent=t.gdprConsent.consentString,l.gdpr=t.gdprConsent.gdprApplies),t.gppConsent&&(l.gpp=t.gppConsent.gppString,l.gpp_sid=t.gppConsent.applicableSections),t.uspConsent&&(l.us_privacy=t.uspConsent)),p&&p.userId&&(l.eids=(0,d.HQ)(p.userId)),t&&t.uspConsent&&(l.us_privacy=t.uspConsent);var f=(0,a.Z)(p,"mediaTypes.banner"),m=(0,a.Z)(p,"mediaTypes.video"),y=m&&("instream"===m.context||"outstream"===m.context);if(f||y){var g;if(f){if(g=n.Mk,l.sizes=u.adaptBannerSizes(f.sizes),y){var v=(0,i.deepClone)(l);u.fillPayloadForVideoBidRequest(v,m,p.params.video),v.bidfloor=p.params.bidfloor||u.getBidFloor(p,r,n.pX),e.push(u.createServerRequest(v,p.params.domain))}}else g=n.pX,u.fillPayloadForVideoBidRequest(l,m,p.params.video);l.bidfloor=p.params.bidfloor||u.getBidFloor(p,r,g),e.push(u.createServerRequest(l,p.params.domain))}else e.push({});return e}),[])},interpretResponse:function(e,t){var r=[],a=e.body;try{if(a&&!a.isNoAd&&(a.ad||a.adUrl)){var o=JSON.parse(t.data),d={requestId:o.bidId,cpm:a.cpm,width:a.width,height:a.height,creativeId:a.creativeId,dealId:a.dealId,currency:a.currency,netRevenue:a.isNetCpm,ttl:a.ttl,dspPixels:a.dspPixels,meta:{advertiserDomains:a.adomain?a.adomain:[]}};o.mediaType===n.pX?(d.mediaType=n.pX,d.vastUrl=a.adUrl,d.vastXml=a.ad,d.content=a.ad):(d.adUrl=a.adUrl,d.ad=a.ad),r.push(d)}}catch(e){(0,i.logError)("Error while parsing smart server response",e)}return r},getBidFloor:function(e,t,r){if(!(0,i.isFn)(e.getFloor))return 0;var a=e.getFloor({currency:t||"USD",mediaType:r,size:"*"});return(0,i.isPlainObject)(a)&&!isNaN(a.floor)?a.floor:0},getUserSyncs:function(e,t){var r=[];return e.iframeEnabled&&t.length>0&&null!=t[0].body.cSyncUrl?r.push({type:”iframe”,url:t[0].body.cSyncUrl}):e.pixelEnabled&&t.length>0&&void 0!==t[0].body.dspPixels&&t[0].body.dspPixels.forEach((function(e){r.push({type:”image”,url:e})})),r}};(0,s.dX)(u),window.pbjs.installedModules.push(“smartadserverBidAdapter”)},4192:function(e,t,r){r.d(t,{HQ:function(){return d},Pv:function(){return s},UR:function(){return n}});var a=r(64358),i=r(20265),n={growthCodeId:{getValue:function(e){return e.gc_id},source:”growthcode.io”,atype:1,getUidExt:function(e){var t=(0,a.pick)(e,[“h1″,”h2″,”h3″]);if(Object.keys(t).length)return t}},trustpid:{source:”trustpid.com”,atype:1,getValue:function(e){return e}},intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.com”,atype:1},justId:{source:”justtag.com”,atype:1},pubcid:{source:”pubcid.org”,atype:1},tdid:{source:”adserver.org”,atype:1,getUidExt:function(){return{rtiPartner:”TDID”}}},id5id:{getValue:function(e){return e.uid},source:”id5-sync.com”,atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:”flashtalking.com”,atype:1,getValue:function(e){var t=””;return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:”parrable.com”,atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?””:null},getUidExt:function(e){var t=(0,a.pick)(e,[“ibaOptout”,”ccpaOptout”]);if(Object.keys(t).length)return t}},idl_env:{source:”liveramp.com”,atype:3},lipb:{getValue:function(e){return e.lipbid},source:”liveintent.com”,atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:”britepool.com”,atype:3},dmdId:{source:”hcn.health”,atype:3},lotamePanoramaId:{source:”crwdcntrl.net”,atype:1},criteoId:{source:”criteo.com”,atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?””.concat(e.ext.ssp,”.merkleinc.com”):”merkleinc.com”},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:”netid.de”,atype:1},IDP:{source:”zeotap.com”,atype:1},hadronId:{source:”audigent.com”,atype:1},quantcastId:{source:”quantcast.com”,atype:1},idx:{source:”idx.lat”,atype:1},connectid:{source:”verizonmedia.com”,atype:3},fabrickId:{source:”neustar.biz”,atype:1},mwOpenLinkId:{source:”mediawallahscript.com”,atype:1},tapadId:{source:”tapad.com”,atype:1},novatiq:{getValue:function(e){return e.snowflake},source:”novatiq.com”,atype:1},uid2:{source:”uidapi.com”,atype:3,getValue:function(e){return e.id}},deepintentId:{source:”deepintent.com”,atype:3},admixerId:{source:”admixer.net”,atype:3},adtelligentId:{source:”adtelligent.com”,atype:3},amxId:{source:”amxdt.net”,atype:1},publinkId:{source:”epsilon.com”,atype:3},kpuid:{source:”kpuid.com”,atype:3},imppid:{source:”ppid.intimatemerger.com”,atype:1},imuid:{source:”intimatemerger.com”,atype:1},connectId:{source:”yahoo.com”,atype:3},qid:{source:”adquery.io”,atype:1},dacId:{source:”impact-ad.jp”,atype:1},”33acrossId”:{source:”33across.com”,atype:1,getValue:function(e){return e.envelope}},tncid:{source:”thenewco.it”,atype:3},gravitompId:{source:”gravito.net”,atype:1},cpexId:{source:”czechadid.cz”,atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:”paf”,atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function o(e,t){var r=n[t];if(r&&e){var i={};i.source=(0,a.isFn)(r.getSource)?r.getSource(e):r.source;var o=(0,a.isFn)(r.getValue)?r.getValue(e):e;if((0,a.isStr)(o)){var d={id:o,atype:r.atype};if((0,a.isFn)(r.getUidExt)){var s=r.getUidExt(e);s&&(d.ext=s)}if(i.uids=[d],(0,a.isFn)(r.getEidExt)){var u=r.getEidExt(e);u&&(i.ext=u)}return i}}return null}function d(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if(“pubProvidedId”===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,a,i){var n=o(e,r);n&&t.push(n)}));else{var a=o(e[r],r);a&&t.push(a)}};for(var a in e)r(a);return t}function s(e){var t=[];return e.filter((function(e){return(0,a.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&(0,i.Z)(n,r+”.source”)&&t.push({source:n[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[6866],(function(){return t=13522,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8029],{76401:function(e,t,r){var n=r(4942),i=r(64358),a=r(20265),d=r(14699),o=r(15164);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0?r.connection.downlink.toString():””),timeToFirstByte:b(window),data:n,deviceWidth:screen.width,hb_version:”7.36.0″},function(e){var t={unifiedId2:”uid2.id”,liveRampId:”idl_env”,lotamePanoramaId:”lotamePanoramaId”,id5Id:”id5id.uid”,criteoId:”criteoId”,yahooConnectId:”connectId”,quantcastId:”quantcastId”,epsilonPublisherLinkId:”publinkId”,publisherFirstPartyViewerId:”pubcid”,merkleId:”merkleId.id”,kinessoId:”kpuid”},r={};for(var n in t){var i=t[n],d=(0,a.Z)(e,”0.userId.”.concat(i));d&&(r[n]=d)}return r}(e)),function(e){var t=(0,a.Z)(e,”0.userId.teadsId”);if(t)return{firstPartyCookieTeadsId:t};if(v.cookiesAreEnabled(null)){var r=v.getCookie(l,null);if(r)return{firstPartyCookieTeadsId:r}}return{}}(e)),d=e[0];d.schain&&(i.schain=d.schain);var o=t.gdprConsent;if(t&&o){var s=”boolean”==typeof o.gdprApplies,u=”string”==typeof o.consentString,m=s?function(e,t){var r=c;e?t&&!t.isServiceSpecific&&(r=g):r=f;return r}(o.gdprApplies,o.vendorData):I;i.gdpr_iab={consent:u?o.consentString:””,status:m,apiVersion:o.apiVersion}}t&&t.uspConsent&&(i.us_privacy=t.uspConsent);var S=(0,a.Z)(d,”ortb2.device.sua”);return S&&(i.userAgentClientHints=S),{method:”POST”,url:” r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),r.push(t)})),r}};function y(e){var t=””;return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function b(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,r=t&&”function”==typeof t.getEntriesByType&&”[object Function]”===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType(“navigation”)[0]&&t.getEntriesByType(“navigation”)[0].responseStart&&t.getEntriesByType(“navigation”)[0].requestStart&&t.getEntriesByType(“navigation”)[0].responseStart>0&&t.getEntriesByType(“navigation”)[0].requestStart>0&&Math.round(t.getEntriesByType(“navigation”)[0].responseStart-t.getEntriesByType(“navigation”)[0].requestStart);if(r)return r.toString();var n=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return n?n.toString():””}function h(e){var t={},r=(0,i.getValue)(e.params,”placementId”),n=(0,i.getValue)(e.params,”pageId”),d=(0,a.Z)(e,”ortb2Imp.ext.gpid”);return t.sizes=function(e){return(0,i.parseSizesInput)(function(e){var t=(0,a.Z)(e,”mediaTypes.video.playerSize”),r=(0,a.Z)(e,”mediaTypes.video.sizes”),n=(0,a.Z)(e,”mediaTypes.banner.sizes”);return(0,i.isArray)(n)||(0,i.isArray)(t)||(0,i.isArray)(r)?[n,r,t].reduce((function(e,t){return(0,i.isArray)(t)&&((0,i.isArray)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[]):e.sizes}(e))}(e),t.bidId=(0,i.getBidIdParameter)(“bidId”,e),t.bidderRequestId=(0,i.getBidIdParameter)(“bidderRequestId”,e),t.placementId=parseInt(r,10),t.pageId=parseInt(n,10),t.adUnitCode=(0,i.getBidIdParameter)(“adUnitCode”,e),t.auctionId=(0,i.getBidIdParameter)(“auctionId”,e),t.transactionId=(0,i.getBidIdParameter)(“transactionId”,e),d&&(t.gpid=d),t}function S(e){return parseInt(e)>0}(0,d.dX)(m),window.pbjs.installedModules.push(“teadsBidAdapter”)}},function(e){e.O(0,[6866],(function(){return t=76401,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9215],{4192:function(e,n,t){t.d(n,{HQ:function(){return c},Pv:function(){return u},UR:function(){return i}});var r=t(64358),o=t(20265),i={growthCodeId:{getValue:function(e){return e.gc_id},source:”growthcode.io”,atype:1,getUidExt:function(e){var n=(0,r.pick)(e,[“h1″,”h2″,”h3″]);if(Object.keys(n).length)return n}},trustpid:{source:”trustpid.com”,atype:1,getValue:function(e){return e}},intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.com”,atype:1},justId:{source:”justtag.com”,atype:1},pubcid:{source:”pubcid.org”,atype:1},tdid:{source:”adserver.org”,atype:1,getUidExt:function(){return{rtiPartner:”TDID”}}},id5id:{getValue:function(e){return e.uid},source:”id5-sync.com”,atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:”flashtalking.com”,atype:1,getValue:function(e){var n=””;return e&&e.ext&&e.ext.DeviceID&&(n=e.ext.DeviceID),n},getUidExt:function(e){return e&&e.ext}},parrableId:{source:”parrable.com”,atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?””:null},getUidExt:function(e){var n=(0,r.pick)(e,[“ibaOptout”,”ccpaOptout”]);if(Object.keys(n).length)return n}},idl_env:{source:”liveramp.com”,atype:3},lipb:{getValue:function(e){return e.lipbid},source:”liveintent.com”,atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:”britepool.com”,atype:3},dmdId:{source:”hcn.health”,atype:3},lotamePanoramaId:{source:”crwdcntrl.net”,atype:1},criteoId:{source:”criteo.com”,atype:1},merkleId:{atype:3,getSource:function(e){var n;return null!=e&&null!==(n=e.ext)&&void 0!==n&&n.ssp?””.concat(e.ext.ssp,”.merkleinc.com”):”merkleinc.com”},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:”netid.de”,atype:1},IDP:{source:”zeotap.com”,atype:1},hadronId:{source:”audigent.com”,atype:1},quantcastId:{source:”quantcast.com”,atype:1},idx:{source:”idx.lat”,atype:1},connectid:{source:”verizonmedia.com”,atype:3},fabrickId:{source:”neustar.biz”,atype:1},mwOpenLinkId:{source:”mediawallahscript.com”,atype:1},tapadId:{source:”tapad.com”,atype:1},novatiq:{getValue:function(e){return e.snowflake},source:”novatiq.com”,atype:1},uid2:{source:”uidapi.com”,atype:3,getValue:function(e){return e.id}},deepintentId:{source:”deepintent.com”,atype:3},admixerId:{source:”admixer.net”,atype:3},adtelligentId:{source:”adtelligent.com”,atype:3},amxId:{source:”amxdt.net”,atype:1},publinkId:{source:”epsilon.com”,atype:3},kpuid:{source:”kpuid.com”,atype:3},imppid:{source:”ppid.intimatemerger.com”,atype:1},imuid:{source:”intimatemerger.com”,atype:1},connectId:{source:”yahoo.com”,atype:3},qid:{source:”adquery.io”,atype:1},dacId:{source:”impact-ad.jp”,atype:1},”33acrossId”:{source:”33across.com”,atype:1,getValue:function(e){return e.envelope}},tncid:{source:”thenewco.it”,atype:3},gravitompId:{source:”gravito.net”,atype:1},cpexId:{source:”czechadid.cz”,atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:”paf”,atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var n=e.identifiers[0];return{version:n.version,type:n.type,source:n.source}}}}};function a(e,n){var t=i[n];if(t&&e){var o={};o.source=(0,r.isFn)(t.getSource)?t.getSource(e):t.source;var a=(0,r.isFn)(t.getValue)?t.getValue(e):e;if((0,r.isStr)(a)){var c={id:a,atype:t.atype};if((0,r.isFn)(t.getUidExt)){var u=t.getUidExt(e);u&&(c.ext=u)}if(o.uids=[c],(0,r.isFn)(t.getEidExt)){var s=t.getEidExt(e);s&&(o.ext=s)}return o}}return null}function c(e){var n=[],t=function(t){if(e.hasOwnProperty(t))if(“pubProvidedId”===t)n=n.concat(e.pubProvidedId);else if(Array.isArray(e[t]))e[t].forEach((function(e,r,o){var i=a(e,t);i&&n.push(i)}));else{var r=a(e[t],t);r&&n.push(r)}};for(var r in e)t(r);return n}function u(e){var n=[];return e.filter((function(e){return(0,r.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){(0,o.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&(0,o.Z)(i,t+”.source”)&&n.push({source:i[t].source,bidders:e.config.bidders})}))})),n}},34727:function(e,n,t){var r,o,i,a,c,u,s=t(71002),d=t(34614),l=t(3193),f=t(52021),g=t(78640),p=t(51039),m=t(5644),y=t(92797),v=t(4192),b=t(15164),h=t(64358),I=t(20265),E=t(96475),w=t(7563),O=t(68792),D=t(17673),k=t(26372),j=t(99128),S=t(38196),P=”User ID”,x=”cookie”,A=”html5″,U=”_pbjs_userid_consent_data”,C=30,R=”_pbjs_id_optout”,T=(0,b.eA)(“userid”),V=!1,_=[],Z=[],q=[],F=function(){return null==u&&(u=(0,j.V6)()),u};function N(e){return F().fork().renameWith((function(n){return[“userId.mod.”.concat(n),”userId.mods.”.concat(e,”.”).concat(n)]}))}function L(e){var n=”function”==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,t=e.config.storage.name;return function(e,r,o){T.setCookie(t+(e||””),r,o,”Lax”,n)}}function G(e,n){var t=e.config.storage;try{var r=new Date(Date.now()+864e5*t.expires).toUTCString(),o=(0,h.isPlainObject)(n)?JSON.stringify(n):n;if(t.type===x){var i=L(e);i(null,o,r),”number”==typeof t.refreshInSeconds&&i(“_last”,(new Date).toUTCString(),r)}else t.type===A&&(T.setDataInLocalStorage(“”.concat(t.name,”_exp”),r),T.setDataInLocalStorage(t.name,encodeURIComponent(o)),”number”==typeof t.refreshInSeconds&&T.setDataInLocalStorage(“”.concat(t.name,”_last”),(new Date).toUTCString()))}catch(e){(0,h.logError)(e)}}function z(e){var n,t,r,o;switch(null===(n=e.config)||void 0===n||null===(t=n.storage)||void 0===t?void 0:t.type){case x:var i=L(e),a=new Date(Date.now()-864e5).toUTCString();r=function(e){return i(e,””,a)},o=[“”,”_last”];break;case A:r=function(n){return T.removeDataFromLocalStorage(e.config.storage.name+n)},o=[“”,”_last”,”_exp”]}r&&o.forEach((function(e){try{r(e)}catch(e){(0,h.logError)(e)}}))}function W(e){var n=(0,h.getPrebidInternal)().setEidPermissions;”function”==typeof n&&(0,h.isArray)(e)&&n((0,v.Pv)(e))}function B(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=t?””.concat(e.name,”_”).concat(t):e.name;try{if(e.type===x)n=T.getCookie(r);else if(e.type===A){var o=T.getDataFromLocalStorage(“”.concat(e.name,”_exp”));””===o?n=T.getDataFromLocalStorage(r):o&&new Date(o).getTime()-Date.now()>0&&(n=decodeURIComponent(T.getDataFromLocalStorage(r)))}”string”==typeof n&&”{“===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,h.logError)(e)}return n}function H(e){var n={consentString:””,gdprApplies:!1,apiVersion:0};return e&&(n.consentString=e.consentString,n.gdprApplies=e.gdprApplies,n.apiVersion=e.apiVersion),(0,h.cyrb53Hash)(JSON.stringify(n))}function J(e){try{var n=new Date(Date.now()+864e5*C).toUTCString();T.setCookie(U,H(e),n,”Lax”)}catch(e){(0,h.logError)(e)}}function Q(){try{return T.getCookie(U)}catch(e){(0,h.logError)(e)}}function M(e,n){n=F().fork().startTiming(“userId.callbacks.total”).stopBefore(n);var t=(0,h.delayExecution)((function(){clearTimeout(undefined),n()}),e.length);e.forEach((function(e){var n=N(e.submodule.name).startTiming(“callback”).stopBefore(t);try{e.callback((function(t){t?(e.config.storage&&G(e,t),e.idObj=e.submodule.decode(t,e.config),fe(e.idObj)):(0,h.logInfo)(“”.concat(P,”: “).concat(e.submodule.name,” – request id responded with an empty value”)),n()}))}catch(t){(0,h.logError)(“Error in userID module ‘”.concat(e.submodule.name,”‘:”),t),n()}e.callback=void 0}))}function K(e,n){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,h.isArray)(e.bids)&&e.bids.forEach((function(e){var t=function(e,n){return Array.isArray(e)&&e.length&&n?e.filter((function(e){return!e.config.bidders||!(0,h.isArray)(e.config.bidders)||(0,d.q9)(e.config.bidders,n)})).filter((function(e){return(0,h.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(n,e.bidder);Object.keys(t).length&&(e.userId=t,e.userIdAsEids=(0,v.HQ)(t))}))}))}var Y,X={};function $(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.delay,c=void 0===a?O.Z.timeout:a,u=(0,O.P)(),s=(0,O.P)(),d=!1;function l(t){return n=F().fork(),null!=e&&e.reject(X),e=(0,O.P)(),O.Z.race([t,e.promise]).finally(n.startTiming(“userId.total”))}var g=r,v=_;function b(e){return function(){if(g===r&&v===_)return e.apply(void 0,arguments)}}function I(){return p.rp.promise.finally(n.startTiming(“userId.init.gdpr”))}var E=l(O.Z.all([y.Cd,u.promise]).then(I).then(b((function(e){ge(g,v,e)}))).then((function(){return s.promise.finally(n.startTiming(“userId.callbacks.pending”))})).then(b((function(){var e=g.filter((function(e){return(0,h.isFn)(e.callback)}));if(e.length)return new O.Z((function(n){return M(e,n)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refresh,t=void 0!==n&&n,r=e.submoduleNames,a=void 0===r?null:r,p=e.ready,y=void 0!==p&&p;return y&&!d&&(d=!0,u.resolve(),i>0?s.resolve():f.on(m.FP.AUCTION_END,(function e(){f.off(m.FP.AUCTION_END,e),c(o).then(s.resolve)}))),t&&d&&(E=l(E.catch((function(){return null})).then(I).then(b((function(e){var n=ge(g,v.filter((function(e){return null==a||a.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(n.length)return new O.Z((function(e){return M(n,e)}))}))))),E}}function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re()||[],n=a&&e.find((function(e){return e.source===a}));if(n&&”string”==typeof(0,I.Z)(n,”uids.0.id”)){var t=n.uids[0].id.replace(/[\W_]/g,””);if(t.length>=32&&t.length<=150)return t;(0,h.logWarn)("User ID - Googletag Publisher Provided ID for ".concat(a," is not between 32 and 150 characters - ").concat(t))}}var ne=(0,j.g3)("userId",(function(e,n){var t=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.delay,c=void 0===a?O.Z.timeout:a,u=o.getIds,s=void 0===u?se:u;O.Z.race([s().catch((function(){return null})),c(i)]).then((function(){K(n.adUnits||(0,g.R)().adUnits,r),F().join((0,j.Bf)(n.metrics),{propagate:!1,includeGroups:!0}),e.call(t,n)}))}));function te(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,h.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(r)}function re(){return(0,v.HQ)(te())}function oe(e){return(0,v.HQ)(function(e,n){if(!Array.isArray(e)||!e.length)return{};var t=e.filter((function(e){var t;return(0,h.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length&&(null===(t=v.UR[Object.keys(e.idObj)[0]])||void 0===t?void 0:t.source)===n}));return(0,h.isEmpty)(t)?[]:t[0].idObj}(r,e))[0]}function ie(e,n,t){return Y().then((function(){var r={};if((0,h.isFn)(t)){(0,h.logInfo)(“”.concat(P,” – Getting encrypted signal from custom function : “).concat(t.name,” & source : “).concat(e,” “));var o=t(e);r[e]=o?ae(o):null}else{var i=oe(e);(0,h.logInfo)(“”.concat(P,” – Getting encrypted signal for eids :”).concat(JSON.stringify(i))),(0,h.isEmpty)(i)||(r[i.source]=!0===n?ae(i):i.uids[0].id)}return(0,h.logInfo)(“”.concat(P,” – Fetching encrypted eids: “).concat(r[e])),r[e]}))}function ae(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=””;if(1===n)t=”object”===(0,s.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return””.concat(n,”||”).concat(t)}function ce(){if((0,h.isGptPubadsDefined)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=l.vc.getConfig(“userSync.encryptedSignalSources”);if(e){var n=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var n=e.source,t=e.encrypt,r=e.customFunc;n.forEach((function(e){window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:function(){return ie(e,t,r)}})}))}))}),n)}else(0,h.logWarn)(“”.concat(P,” – ESP : encryptedSignalSources config not defined under userSync Object”))}}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.submoduleNames,t=arguments.length>1?arguments[1]:void 0;return Y({refresh:!0,submoduleNames:n}).then((function(){return t&&(0,h.isFn)(t)&&t(),te()}))}function se(){return Y().then((function(){return te()}),(function(e){return e===X?Promise.resolve().then(se):((0,h.logError)(“Error initializing userId”,e),O.Z.reject(e))}))}var de=(0,y.z3)(“sync”,(function(e,n){return{userIdModules:e,hasValidated:n&&n.hasValidated}}),”validateGdprEnforcement”);function le(e,n,t,r){if(e.config.storage){var o,i=B(e.config.storage),a=!1;if(“number”==typeof e.config.storage.refreshInSeconds){var c=new Date(B(e.config.storage,”last”));a=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!i||a||r||!function(e,n){return null!=e&&e===H(n)}(t,n)?o=e.submodule.getId(e.config,n,i):”function”==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,n,i)),(0,h.isPlainObject)(o)&&(o.id&&(G(e,o.id),i=o.id),”function”==typeof o.callback&&(e.callback=o.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var u=e.submodule.getId(e.config,n,void 0);(0,h.isPlainObject)(u)&&(“function”==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}fe(e.idObj)}function fe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();if(e&&a){var n=ee((0,v.HQ)(e));n&&((0,h.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(n):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(n)}))))}}function ge(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return F().fork().measureTime(“userId.init.modules”,(function(){if(!n.length)return[];var o=ye();if(!(n=n.filter((function(e){return!e.config.storage||o.has(e.config.storage.type)}))).length)return(0,h.logWarn)(“”.concat(P,” – no ID module is configured for one of the available storage types:”),Array.from(o)),[];var i=de(n,t),a=i.userIdModules;if(!i.hasValidated&&!(0,D.h)(t))return(0,h.logWarn)(“”.concat(P,” – gdpr permission not valid for local storage or cookies, exit module”)),[];var c=Q();J(t);var u=a.reduce((function(e,n){return N(n.submodule.name).measureTime(“init”,(function(){try{le(n,t,c,r),e.push(n)}catch(e){(0,h.logError)(“Error in userID module ‘”.concat(n.submodule.name,”‘:”),e)}return e}))}),[]);return u.length&&W(u),u.forEach(pe.bind(null,e)),u}))}function pe(e,n){for(var t=!1,r=0;r1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},t=n.delay,u=void 0===t?O.Z.timeout:t;a=void 0,_=[],Z=[],V=!1,r=[],Y=$({delay:u}),null!=c&&c(),q=[],c=e.getConfig(“userSync”,(function(e){var n=e.userSync;a=n.ppid,n&&n.userIds&&(Z=n.userIds,o=(0,h.isNumber)(n.syncDelay)?n.syncDelay:500,i=(0,h.isNumber)(n.auctionDelay)?n.auctionDelay:0,ve(),Y({ready:!0}))})),(0,g.R)().getUserIds=te,(0,g.R)().getUserIdsAsEids=re,(0,g.R)().getEncryptedEidsForSource=he(ie),(0,g.R)().registerSignalSources=ce,(0,g.R)().refreshUserIds=he(ue),(0,g.R)().getUserIdsAsync=he(se),(0,g.R)().getUserIdsAsEidBySource=oe}(l.vc),(0,y.bA)(“userId”,(function(e){(0,d.sE)(q,(function(n){return n.name===e.name}))||(q.push(e),ve(),Y({refresh:!0,submoduleNames:[e.name]}))})),(0,k.f8)({type:k.Z,name:”userExtEids”,fn:function(e,n,t){var r=(0,I.Z)(t,”bidRequests.0.userIdAsEids”);r&&(0,E.N)(e,”user.ext.eids”,r)}}),window.pbjs.installedModules.push(“userId”)},7563:function(e,n,t){t.d(n,{G:function(){return r}});var r=(0,t(92797).z3)(“sync”,(function(){}))},26372:function(e,n,t){t.d(n,{DZ:function(){return a},Px:function(){return c},TP:function(){return s},YC:function(){return u},Z:function(){return i},f8:function(){return p},fP:function(){return m},gm:function(){return r},md:function(){return d}});var r=[“request”,”imp”,”bidResponse”,”response”],o=[“default”,”pbs”],i=r[0],a=r[1],c=r[2],u=r[3],s=o[0],d=o[1],l=new Set(r);var f,g=(f={},{registerOrtbProcessor:function(e){var n=e.type,t=e.name,o=e.fn,i=e.priority,a=void 0===i?0:i,c=e.dialects,u=void 0===c?[s]:c;if(!l.has(n))throw new Error(“ORTB processor type must be one of: “.concat(r.join(“, “)));u.forEach((function(e){f.hasOwnProperty(e)||(f[e]={}),f[e].hasOwnProperty(n)||(f[e][n]={}),f[e][n][t]={priority:a,fn:o}}))},getProcessors:function(e){return f[e]||{}}}),p=g.registerOrtbProcessor,m=g.getProcessors},17673:function(e,n,t){t.d(n,{h:function(){return o}});var r=t(20265);function o(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,”vendorData.purpose.consents.1”)}}},function(e){e.O(0,[6866],(function(){return n=34727,e(e.s=n);var n}));e.O()}]);
})(),pbjs.processQueue();