“));var p=b(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 Object(r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(o),n,e);return t},[]).sort(function(e,t)0))},getUserSyncs:function(e,t,n,r)if(!U&&e.iframeEnabled)var i=””;return n&&”string”==typeof n.consentString&&(“boolean”==typeof n.gdprApplies?i+=”?gdpr=”.concat(Number(n.gdprApplies),”&gdpr_consent=”).concat(n.consentString):i+=”?gdpr_consent=”.concat(n.consentString)),r&&(i+=””.concat(i?”&”:”?”https://slate.com/technology/2022/07/,”us_privacy=”).concat(encodeURIComponent(r))),U=!0,type:”iframe”,url:”https://”.concat(v.syncHost,transformBidParams:function(e,t)return Object(r.convertTypes)(accountId:”number”,siteId:”number”,zoneId:”number”,e)};function _(e,t)function j(e)var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector(“div[id^=’google_ads’]”))&&t.style.setProperty(“display”https://slate.com/technology/2022/07/,”none”),function(e)var t=e.querySelector(“script[id^=’sas_script’]”),n=t&&t.nextSibling;n&&”iframe”===n.localName&&n.style.setProperty(“display”https://slate.com/technology/2022/07/,”none”)(n);var r=e.renderer.getConfig();e.renderer.push(function()window.MagniteApex.renderAd(!1,label:r.label))function E(e,t)var n=e.params;if(“video”===t)var i=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?i=[n.video.playerWidth,n.video.playerHeight]:Array.isArray(Object(r.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]),ivar o=[];return Array.isArray(n.sizes)?o=n.sizes:void 0!==Object(r.deepAccess)(e,”mediaTypes.banner.sizes”)?o=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?o=I(e.sizes):Object(r.logWarn)(“Rubicon: no sizes are setup or found”),C(o)function S(e,t,n){var i=user:ext:data:f(,e.params.visitor),site:ext:data:f(,e.params.inventory);e.params.keywords&&(i.site.keywords=Object(r.isArray)(e.params.keywords)?e.params.keywords.join(“https://slate.com/technology/2022/07/,”):e.params.keywords);var c=Object(r.mergeDeep)(,o.b.getConfig(“ortb2″)||,i),s=Object(r.deepAccess)(e.ortb2Imp,”ext.data”)||,u=user:[4],site:[1,2,5,6],d=user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”,l=function(e,t,n),p=function(e,t,r);Object.keys(s).forEach(function(e)”adserver”===e?[“name”https://slate.com/technology/2022/07/,”adslot”].forEach(function(t)s[e][t]&&(s[e][t]=s[e][t].toString().replace(/^/+/,””))):”pbadslot”===e&&(s[e]=s[e].toString().replace(/^/+/,””))),t===a.b?([“site”https://slate.com/technology/2022/07/,”user”].forEach(function(e)Object.keys(c[e]).forEach(function(t)”site”===e&&”content”===t&&c[e][t].data?p(c[e][t].data,e,”data”):”ext”!==t?p(c[e][t],e,t):c[e][t].data&&Object.keys(c[e].ext.data).forEach(function(t)p(c[e].ext.data[t],e,t,!1)))),Object.keys(s).forEach(function(e)”adserver”===e?p(s[e].adslot,name,e):p(s[e],”site”,e))):(Object.keys(s).length&&Object(r.mergeDeep)(n.imp[0].ext,data:s),Object(r.mergeDeep)(n,c))}function I(e)return Object(r.parseSizesInput)(e).reduce(function(e,t)var n=parseInt(h[t],10);return n&&e.push(n),e,[])function A(e)return”object”===y(Object(r.deepAccess)(e,”params.video”))&&void 0!==Object(r.deepAccess)(e,”mediaTypes.”.concat(a.d))function T(e)var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return A(e)?-1===[“outstream”https://slate.com/technology/2022/07/,”instream”].indexOf(Object(r.deepAccess)(e,”mediaTypes.”.concat(a.d,”.context”)))?void(t&&Object(r.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”)):E(e,”video”).length-1)}function x(e)var t=parseInt(Object(r.deepAccess)(e,”params.video.size_id”));return isNaN(t)?”outstream”===Object(r.deepAccess)(e,”mediaTypes.”.concat(a.d,”.context”))?203:201:tfunction D(e)returnranges: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 P(e)var t=!0,n=Object.prototype.toString.call([]),i=mimes:n,protocols:n,linearity:Object.prototype.toString.call(0),api:n;return Object.keys(i).forEach(function(n)Object.prototype.toString.call(Object(r.deepAccess)(e,”mediaTypes.video.”+n))!==i[n]&&(t=!1,Object(r.logError)(“Rubicon: mediaTypes.video.”+n+” is required and must be of type: “+i[n]))),tfunction R(e)Object(r.logError)(“Rubicon: required schain params missing”),t):tfunction k(e,t)return”rp_schain”===e?”rp_schain=”.concat(t):””.concat(e,”=”).concat(encodeURIComponent(t))var U=!1;Object(i.registerBidder)(O)}},[787]),pbjsChunk([107],{875:function(e,t,n)e.exports=n(876),876:function(e,t,n){Object.defineProperty(t,”__esModule”,value:!0),n.d(t,”tripleliftAdapterSpec”,function()return m);var r=n(0),i=n(2),o=n(1),a=n(3);function c(){return(c=Object.assign||function(e){for(var t=1;t
function _unsupportedIterableToArray(o, minLen) 32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i