text: pbjsChunk([10],{19:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e){var i;e.hasOwnProperty(r)&&("pubProvidedId"===r?t=t.concat(e.pubProvidedId):(i=function(e,t){var r=s[t];if(r&&e){var i={};i.source=r.source;var n=u.isFn(r.getValue)?r.getValue(e):e;if(u.isStr(n)){var a,o,d={id:n,atype:r.atype};return!u.isFn(r.getUidExt)||(a=r.getUidExt(e))&&(d.ext=a),i.uids=[d],!u.isFn(r.getEidExt)||(o=r.getEidExt(e))&&(i.ext=o),i}}return null}(e[r],r))&&t.push(i))}return t},t.a=function(e){var r=[];return e.filter(function(e){return u.isPlainObject(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(t){Object.keys(t.idObj).forEach(function(e){u.deepAccess(t,"config.bidders")&&Array.isArray(t.config.bidders)&&u.deepAccess(s,e+".source")&&r.push({source:s[e].source,bidders:t.config.bidders})})}),r};var u=r(0),s={intentIqId:{source:"intentiq.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}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=u.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},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},sharedid:{source:"sharedid.org",atype:1,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.third?{third:e.third}:void 0}},IDP:{source:"zeotap.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.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}},admixerId:{source:"admixer.net",atype:3}}},854:function(e,t,r){e.exports=r(855)},855:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",function(){return n});var l=r(0),i=r(1),a=r(2),f=r(19),n={code:"sovrn",supportedMediaTypes:[a.b],gvlid:13,isBidRequestValid:function(e){return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid))},buildRequests:function(e,t){try{var o,d,u,s,c=[],p=[];l._each(e,function(e){!u&&e.userId&&(u=Object(f.b)(e.userId)).forEach(function(e){e.uids&&e.uids[0]&&("criteo.com"===e.source&&(s=e.uids[0].id),p.push({source:e.source,uid:e.uids[0].id}))}),e.schain&&(d=d||e.schain),o=o||l.getBidIdParameter("iv",e.params);var t=e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes||e.sizes,r=(t=(t=l.isArray(t)&&l.isArray(t[0])?t:[t]).filter(function(e){return l.isArray(e)})).map(function(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}),i=e.getFloor&&"function"==typeof e.getFloor?e.getFloor({currency:"USD",mediaType:"banner",size:"*"}):{};i.floor=i.floor||l.getBidIdParameter("bidfloor",e.params);var n={adunitcode:e.adUnitCode,id:e.bidId,banner:{format:r,w:1,h:1},tagid:String(l.getBidIdParameter("tagid",e.params)),bidfloor:i.floor},a=l.getBidIdParameter("segments",e.params);a&&(n.ext={deals:a.split(",").map(function(e){return e.trim()})}),c.push(n)});var r=t.refererInfo.referer,i=l.parseUrl(r).hostname,n={id:l.getUniqueIdentifierStr(),imp:c,site:{page:r,domain:i}};d&&(n.source={ext:{schain:d}}),t.gdprConsent&&(l.deepSetValue(n,"regs.ext.gdpr",+t.gdprConsent.gdprApplies),l.deepSetValue(n,"user.ext.consent",t.gdprConsent.consentString)),t.uspConsent&&l.deepSetValue(n,"regs.ext.us_privacy",t.uspConsent),u&&(l.deepSetValue(n,"user.ext.eids",u),l.deepSetValue(n,"user.ext.tpid",p),s&&l.deepSetValue(n,"user.ext.prebid_criteoid",s));var a="https://ap.lijit.com/rtb/bid?src=prebid_prebid_4.35.0-pre";return o&&(a+="&iv=".concat(o)),{method:"POST",url:a,data:JSON.stringify(n),options:{contentType:"text/plain"}}}catch(e){l.logError("Could not build bidrequest, error deatils:",e)}},interpretResponse:function(e){var t=e.body,r=t.id,i=t.seatbid;try{var n=[];return r&&i&&0<i.length&&i[0].bid&&0<i[0].bid.length&&i[0].bid.map(function(e){n.push({requestId:e.impid,cpm:parseFloat(e.price),width:parseInt(e.w),height:parseInt(e.h),creativeId:e.crid||e.id,dealId:e.dealid||null,currency:"USD",netRevenue:!0,mediaType:a.b,ad:decodeURIComponent("".concat(e.adm,'<img src="').concat(e.nurl,'">')),ttl:e.ext&&e.ext.ttl||90})}),n}catch(e){l.logError("Could not intrepret bidresponse, error deatils:",e)}},getUserSyncs:function(e,t,r,i){try{var n,a,o=[];return t&&0!==t.length&&(e.iframeEnabled&&(n=t.filter(function(e){return l.deepAccess(e,"body.ext.iid")}).map(function(e){return e.body.ext.iid}),a=[],r&&r.gdprApplies&&"string"==typeof r.consentString&&a.push(["gdpr_consent",r.consentString]),i&&a.push(["us_privacy",i]),n[0]&&(a.push(["informer",n[0]]),o.push({type:"iframe",url:"https://ap.lijit.com/beacon?"+a.map(function(e){return e.join("=")}).join("&")}))),e.pixelEnabled&&t.filter(function(e){return l.deepAccess(e,"body.ext.sync.pixels")}).reduce(function(e,t){return e.concat(t.body.ext.sync.pixels)},[]).map(function(e){return e.url}).forEach(function(e){return o.push({type:"image",url:e})})),o}catch(e){return[]}}};Object(i.registerBidder)(n)}},[854]);