Sunday, November 24, 2024
36 F
Illinois
More

    Latest Posts

    You Don’t Care About the Infrastructure Bill, Which Is Why It Might Pass

    “));var p=g(h[i.size_id].split(“x”).map(function(e){return Number(e)}),2);f.width=p[0],f.height=p[1]}f.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:l.adUnitCode}),t.push(f)}else n.logError(“Rubicon: bidRequest undefined at index position:”.concat(o),r,e);return t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,r,n){if(!B&&e.iframeEnabled){var i=””;return r&&”string”==typeof r.consentString&&(“boolean”==typeof r.gdprApplies?i+=”?gdpr=”.concat(Number(r.gdprApplies),”&gdpr_consent=”).concat(r.consentString):i+=”?gdpr_consent=”.concat(r.consentString)),n&&(i+=””.concat(i?”&”:”?”,”us_privacy=”).concat(encodeURIComponent(n))),B=!0,{type:”iframe”,url:”https://”.concat(y.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,t){return n.convertTypes({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function S(e,t){var r=o.b.getConfig(“pageUrl”);return e.params.referrer?r=e.params.referrer:r||(r=t.refererInfo.referer),e.params.secure?r.replace(/^http:/i,”https:”):r}function A(e){var t,r=document.getElementById(e.adUnitCode);(t=r.querySelector(“div[id^=’google_ads’]”))&&t.style.setProperty(“display”,”none”),function(e){var t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(r);var n=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:”#”.concat(e.adUnitCode),align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})})}function I(e,t){var r=e.params;if(“video”===t){var i=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?i=[r.video.playerWidth,r.video.playerHeight]:Array.isArray(n.deepAccess(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 o=[];return Array.isArray(r.sizes)?o=r.sizes:void 0!==n.deepAccess(e,”mediaTypes.banner.sizes”)?o=O(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?o=O(e.sizes):n.logWarn(“Rubicon: no sizes are setup or found”),x(o)}function E(e,t,r){var i={user:{ext:{data:f({},e.params.visitor)}},site:{ext:{data:f({},e.params.inventory)}}};e.params.keywords&&(i.site.keywords=n.isArray(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);var s=n.mergeDeep({},o.b.getConfig(“ortb2″)||{},i),c=n.deepAccess(e.ortb2Imp,”ext.data”)||{},d={user:[3],site:[1,2]},u={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},l=function(e,t,r){if(“data”===t&&Array.isArray(e))return e.filter(function(e){return e.segment&&n.deepAccess(e,”ext.segtax”)&&d[r]&&-1!==d[r].indexOf(n.deepAccess(e,”ext.segtax”))}).map(function(e){var t=e.segment.filter(function(e){return e.id}).reduce(function(e,t){return e.push(t.id),e},[]);if(t.length>0)return t.toString()}).toString();if(“object”!==v(e)||Array.isArray(e)){if(void 0!==e)return Array.isArray(e)?e.filter(function(e){if(“object”!==v(e)&&void 0!==e)return e.toString();n.logWarn(“Rubicon: Filtered value: “,e,”for key”,t,”: Expected value to be string, integer, or an array of strings/ints”)}).toString():e.toString()}else n.logWarn(“Rubicon: Filtered FPD key: “,t,”: Expected value to be string, integer, or an array of strings/ints”)},p=function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=l(e,n,t),a=u[n]&&i?””.concat(u[n]):”data”===n?””.concat(u[t],”iab”):””.concat(u[t]).concat(n);r[a]=r[a]?r[a].concat(“,”,o):o};Object.keys(c).forEach(function(e){“adserver”===e?[“name”,”adslot”].forEach(function(t){c[e][t]&&(c[e][t]=c[e][t].toString().replace(/^/+/,””))}):”pbadslot”===e&&(c[e]=c[e].toString().replace(/^/+/,””))}),t===a.b?([“site”,”user”].forEach(function(e){Object.keys(s[e]).forEach(function(t){“site”===e&&”content”===t&&s[e][t].data?p(s[e][t].data,e,”data”):”ext”!==t?p(s[e][t],e,t):s[e][t].data&&Object.keys(s[e].ext.data).forEach(function(t){p(s[e].ext.data[t],e,t,!1)})})}),Object.keys(c).forEach(function(e){“adserver”===e?p(c[e].adslot,name,e):p(c[e],”site”,e)})):(Object.keys(c).length&&n.mergeDeep(r.imp[0].ext,{data:c}),n.mergeDeep(r,s))}function O(e){return n.parseSizesInput(e).reduce(function(e,t){var r=parseInt(h[t],10);return r&&e.push(r),e},[])}function T(e){return”object”===v(n.deepAccess(e,”params.video”))&&void 0!==n.deepAccess(e,”mediaTypes.”.concat(a.d))}function C(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return T(e)?-1===[“outstream”,”instream”].indexOf(n.deepAccess(e,”mediaTypes.”.concat(a.d,”.context”)))?void(t&&n.logError(“Rubicon: mediaTypes.video.context must be outstream or instream”)):I(e,”video”).length-1||i>-1?-1===n?1:-1===i?-1:n-i:e-r})}function j(e){var t=parseInt(n.deepAccess(e,”params.video.size_id”));return isNaN(t)?”outstream”===n.deepAccess(e,”mediaTypes.”.concat(a.d,”.context”))?203:201:t}function P(e){return{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:e.getConfig(“customPriceBucket”)&&e.getConfig(“customPriceBucket”).buckets}[e.getConfig(“priceGranularity”)]}}function D(e){var t=!0,r=Object.prototype.toString.call([]),i={mimes:r,protocols:r,linearity:Object.prototype.toString.call(0),api:r};return Object.keys(i).forEach(function(r){Object.prototype.toString.call(n.deepAccess(e,”mediaTypes.video.”+r))!==i[r]&&(t=!1,n.logError(“Rubicon: mediaTypes.video.”+r+” is required and must be of type: “+i[r]))}),t}function k(e){var t=!1,r=[“asi”,”sid”,”hp”];return e.nodes?((t=e.nodes.reduce(function(e,t){return e?r.every(function(e){return t.hasOwnProperty(e)}):e},!0))||n.logError(“Rubicon: required schain params missing”),t):t}function R(e,t){return”rp_schain”===e?”rp_schain=”.concat(t):””.concat(e,”=”).concat(encodeURIComponent(t))}var B=!1;Object(i.registerBidder)(_)}},[622]),pbjsChunk([101],{658:function(e,t,r){e.exports=r(659)},659:function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),r.d(t,”spec”,function(){return m}),r.d(t,”_isInbounds”,function(){return _}),t._getPlatform=S;var n=r(1),i=r(0),o=r(2),a=r(3),s=r(13),c=r(55);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:”undefined”!=typeof Symbol&&e[Symbol.iterator]||e[“@@iterator”];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if(“string”==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return”Object”===r&&e.constructor&&(r=e.constructor.name),”Map”===r||”Set”===r?Array.from(e):”Arguments”===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e,t)||function(){throw new TypeError(“Invalid attempt to destructure non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0){var s=Object(i.deepClone)(e[0].userId);s.id5id&&(s.id5id=Object(i.deepAccess)(s,”id5id.uid”)),o.userid=JSON.stringify(s)}var d=Object(i.deepAccess)(e[0],”userIdAsEids”);Array.isArray(d)&&d.length>0&&(o.eids=JSON.stringify(d));var u=e[0].params.keywords;if(u&&(o.kw=u),t&&t.uspConsent&&(o.us_privacy=t.uspConsent),!0===a.b.getConfig(“coppa”)?o.coppa=1:o.coppa=0,Object(i.isEmpty)(n))return null;var m=”https://apex.go.sonobi.com/trinity.json”;return Object(i.deepAccess)(e[0],”params.bid_request_url”)&&(m=Object(i.deepAccess)(e[0],”params.bid_request_url”)),{method:”GET”,url:m,withCredentials:!0,data:o,bidderRequests:e}},interpretResponse:function(e,t){var r=e.body,n=[],o=t.data.ref;return 0===Object.keys(r.slots).length||Object.keys(r.slots).forEach(function(e){var a=r.slots[e],c=e.split(“|”).slice(-1)[0],u=function(e,t){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{},n=s.a.install({id:t.aid,url:”https://mtrx.go.sonobi.com/sbi_outstream_renderer.js”,config:r,loaded:!1,adUnitCode:e});try{n.setRender(A)}catch(e){Object(i.logWarn)(“Prebid Error calling setRender on renderer”,e)}return n.setEventHandlers({impression:function(){return Object(i.logMessage)(“Sonobi outstream video impression event”)},loaded:function(){return Object(i.logMessage)(“Sonobi outstream video loaded event”)},ended:function(){Object(i.logMessage)(“Sonobi outstream renderer video event”)}}),n}(u.adUnitCode,_,Object(i.deepAccess)(u,”renderer.options”));var S=Object(i.deepAccess)(u,”params.sizes”);Array.isArray(S)&&Array.isArray(S[0])&&(S=S[0]),S&&(_.width=S[0],_.height=S[1])}n.push(_)}}),n},getUserSyncs:function(e,t,r,n){var i=[];try{e.pixelEnabled&&t[0].body.sbi_px.forEach(function(e){i.push({type:e.type,url:e.url})})}catch(e){}return i}};function b(e){return Object(i.deepAccess)(e,”mediaTypes.video”)?””:e.params.sizes?Object(i.parseSizesInput)(e.params.sizes).join(“,”):Object(i.deepAccess)(e,”mediaTypes.banner.sizes”)?Object(i.parseSizesInput)(Object(i.deepAccess)(e,”mediaTypes.banner.sizes”)).join(“,”):e.sizes?Object(i.parseSizesInput)(e.sizes).join(“,”):void 0}function v(e){return e.params.floor,””}function y(e){var t=Object(i.deepAccess)(e,”ortb2Imp.ext.data.pbadslot”)||Object(i.deepAccess)(Object(i.getGptSlotInfoForAdUnitCode)(e.adUnitCode),”gptSlot”)||e.params.ad_unit;return t?”|gpid=”.concat(t):””}var h=function(e,t){return function(r,n){return”video”===e||”outstream”===e?function(e,t,r){return”https://”.concat(e,”apex.go.sonobi.com/vast.xml?vid=”).concat(t,”&ref=”).concat(encodeURIComponent(r))}(r,n,t):’

    Latest Posts

    Don't Miss

    Stay in touch

    To be updated with all the latest news, offers and special announcements.