“));var m=y[i.size_id].split(“x”).map(function(e)return Number(e)),v=(0,r.Z)(m,2);f.width=v[0],f.height=v[1]}f.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce(function(e,t)return e[t.key]=t.values[0],e,rpfl_elemid:p.adUnitCode),t.push(f)}else(0,a.logError)(“Rubicon: bidRequest undefined at index position:”.concat(s),n,e);return t},[]).sort(function(e,t)return(t.cpm)},getUserSyncs:function(e,t,n,r)if(!C&&e.iframeEnabled)var i=;return n&&(“boolean”==typeof n.gdprApplies&&(i.gdpr=Number(n.gdprApplies)),”string”==typeof n.consentString&&(i.gdpr_consent=n.consentString)),r&&(i.us_privacy=encodeURIComponent(r)),i=Object.keys(i).length?”?”.concat((0,a.formatQS)(i)):””,C=!0,type:”iframe”,url:”https://”.concat(h.syncHost,transformBidParams:function(e,t)return(0,a.convertTypes)(accountId:”number”,siteId:”number”,zoneId:”number”,e)};function _(e,t)var n;return n=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?n.replace(/^http:/i,”https:”):nfunction E(e)var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector(“div[id^=’google_ads’]”))&&t.style.setProperty(“display”https://slate.com/technology/2022/09/,”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/09/,”none”)(n);var r=e.renderer.getConfig();e.renderer.push(function()window.MagniteApex.renderAd())function I(e,t)var n=e.params;if(“video”===t)var r=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?r=[n.video.playerWidth,n.video.playerHeight]:Array.isArray((0,s.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?r=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(r=e.sizes[0]),rvar i=[];return Array.isArray(n.sizes)?i=n.sizes:void 0!==(0,s.Z)(e,”mediaTypes.banner.sizes”)?i=S(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=S(e.sizes):(0,a.logWarn)(“Rubicon: no sizes are setup or found”),function(e)var t=[15,2,9];return i.sort(function(e,n)i>-1?-1===r?1:-1===i?-1:r-i:e-n)()function T(e,t,n){var r=user:ext:data:v(,e.params.visitor),site:ext:data:v(,e.params.inventory);e.params.keywords&&(r.site.keywords=(0,a.isArray)(e.params.keywords)?e.params.keywords.join(“https://slate.com/technology/2022/09/,”):e.params.keywords);var i=(0,a.mergeDeep)(,e.ortb2||,r),c=(0,s.Z)(e.ortb2Imp,”ext”)||,d=(0,s.Z)(e.ortb2Imp,”ext.data”)||,u=(0,s.Z)(e,”ortb2Imp.ext.gpid”),p=user:[4],site:[1,2,5,6],f=user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”,g=function(e,t,n),m=function(e,t,r)var i=!(arguments.length>3&&void 0!==arguments[3]);t===l.Mk?([“site”https://slate.com/technology/2022/09/,”user”].forEach(function(e)Object.keys(i[e]).forEach(function(t)”site”===e&&”content”===t&&i[e][t].data?m(i[e][t].data,e,”data”):”ext”!==t?m(i[e][t],e,t):i[e][t].data&&Object.keys(i[e].ext.data).forEach(function(t)m(i[e].ext.data[t],e,t,!1)))),Object.keys(d).forEach(function(e)”adserver”!==e?m(d[e],”site”,e):”gam”===d[e].name&&m(d[e].adslot,name,e)),u&&(n.p_gpid=u),n[“tg_i.pbadslot”]&&delete n[“tg_i.dfp_ad_unit_code”]):(Object.keys(c).length&&(0,a.mergeDeep)(n.imp[0].ext,c),u&&(n.imp[0].ext.gpid=u),(0,a.mergeDeep)(n,i))}function S(e)return(0,a.parseSizesInput)(e).reduce(function(e,t)var n=parseInt(y[t],10);return n&&e.push(n),e,[])function A(e)var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e)return”object”===(0,o.Z)((0,s.Z)(e,”params.video”))&&void 0!==(0,s.Z)(e,”mediaTypes.”.concat(l.pX))(e)?-1===[“outstream”https://slate.com/technology/2022/09/,”instream”].indexOf((0,s.Z)(e,”mediaTypes.”.concat(l.pX,”.context”)))?void(t&&(0,a.logError)(“Rubicon: […]