“)),[e.width,e.height]=b[r.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:o.adUnitCode}),t.push(e)}else(0,p.logError)(“Rubicon: bidRequest undefined at index position:”.concat(i),s,e);var c,l;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),l=null===(r=e.component_auction_config)||void 0===r?void 0:r.map((e=>({config:e,bidId:e.bidId})));return l?{bids:c,fledgeAuctionConfigs:l}:c},getUserSyncs:function(e,t,r,i,n){if(!C&&e.iframeEnabled){let e={};var o;if(r&&(“boolean”==typeof r.gdprApplies&&(e.gdpr=Number(r.gdprApplies)),”string”==typeof r.consentString&&(e.gdpr_consent=r.consentString)),i&&(e.us_privacy=encodeURIComponent(i)),null!=n&&n.gppString)e.gpp=n.gppString,e.gpp_sid=null===(o=n.applicableSections)||void 0===o?void 0:o.toString();return e=Object.keys(e).length?”?”.concat((0,p.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(f.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}}};function _(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,”https:”):r}function h(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(t);const r={…{align:”center”,position:”append”,closeButton:!1,label:void 0,collapse:!0},…e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function A(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,m.A)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,m.A)(e,”mediaTypes.banner.sizes”)?i=k(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=k(e.sizes):(0,p.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function j(e,t,r){return i=>{var n;const o=Number(null===(n=i.ext)||void 0===n?void 0:n.segtax);var a;r.includes(o)&&(e[“tg_”.concat(t,”.tax”).concat(o)]=null===(a=i.segment)||void 0===a?void 0:a.map((e=>e.id)).join(“,”))}}function k(e){return(0,p.parseSizesInput)(e).reduce(((e,t)=>{let r=parseInt(b[t],10);return
“)),[e.width,e.height]=b[r.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:o.adUnitCode}),t.push(e)}else(0,p.logError)(“Rubicon: bidRequest undefined at index position:”.concat(i),s,e);var c,l;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),l=null===(r=e.component_auction_config)||void 0===r?void 0:r.map((e=>({config:e,bidId:e.bidId})));return l?{bids:c,fledgeAuctionConfigs:l}:c},getUserSyncs:function(e,t,r,i,n){if(!C&&e.iframeEnabled){let e={};var o;if(r&&(“boolean”==typeof r.gdprApplies&&(e.gdpr=Number(r.gdprApplies)),”string”==typeof r.consentString&&(e.gdpr_consent=r.consentString)),i&&(e.us_privacy=encodeURIComponent(i)),null!=n&&n.gppString)e.gpp=n.gppString,e.gpp_sid=null===(o=n.applicableSections)||void 0===o?void 0:o.toString();return e=Object.keys(e).length?”?”.concat((0,p.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(f.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}}};function _(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,”https:”):r}function h(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(t);const r={…{align:”center”,position:”append”,closeButton:!1,label:void 0,collapse:!0},…e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function A(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,m.A)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,m.A)(e,”mediaTypes.banner.sizes”)?i=k(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=k(e.sizes):(0,p.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function j(e,t,r){return i=>{var n;const o=Number(null===(n=i.ext)||void 0===n?void 0:n.segtax);var a;r.includes(o)&&(e[“tg_”.concat(t,”.tax”).concat(o)]=null===(a=i.segment)||void 0===a?void 0:a.map((e=>e.id)).join(“,”))}}function k(e){return(0,p.parseSizesInput)(e).reduce(((e,t)=>{let r=parseInt(b[t],10);return
“)),[e.width,e.height]=b[r.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:o.adUnitCode}),t.push(e)}else(0,p.logError)(“Rubicon: bidRequest undefined at index position:”.concat(i),s,e);var c,l;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),l=null===(r=e.component_auction_config)||void 0===r?void 0:r.map((e=>({config:e,bidId:e.bidId})));return l?{bids:c,fledgeAuctionConfigs:l}:c},getUserSyncs:function(e,t,r,i,n){if(!C&&e.iframeEnabled){let e={};var o;if(r&&(“boolean”==typeof r.gdprApplies&&(e.gdpr=Number(r.gdprApplies)),”string”==typeof r.consentString&&(e.gdpr_consent=r.consentString)),i&&(e.us_privacy=encodeURIComponent(i)),null!=n&&n.gppString)e.gpp=n.gppString,e.gpp_sid=null===(o=n.applicableSections)||void 0===o?void 0:o.toString();return e=Object.keys(e).length?”?”.concat((0,p.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(f.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}}};function _(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,”https:”):r}function h(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(t);const r={…{align:”center”,position:”append”,closeButton:!1,label:void 0,collapse:!0},…e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function A(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,m.A)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,m.A)(e,”mediaTypes.banner.sizes”)?i=k(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=k(e.sizes):(0,p.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function j(e,t,r){return i=>{var n;const o=Number(null===(n=i.ext)||void 0===n?void 0:n.segtax);var a;r.includes(o)&&(e[“tg_”.concat(t,”.tax”).concat(o)]=null===(a=i.segment)||void 0===a?void 0:a.map((e=>e.id)).join(“,”))}}function k(e){return(0,p.parseSizesInput)(e).reduce(((e,t)=>{let r=parseInt(b[t],10);return
“)),[e.width,e.height]=b[r.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:o.adUnitCode}),t.push(e)}else(0,p.logError)(“Rubicon: bidRequest undefined at index position:”.concat(i),s,e);var c,l;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),l=null===(r=e.component_auction_config)||void 0===r?void 0:r.map((e=>({config:e,bidId:e.bidId})));return l?{bids:c,fledgeAuctionConfigs:l}:c},getUserSyncs:function(e,t,r,i,n){if(!C&&e.iframeEnabled){let e={};var o;if(r&&(“boolean”==typeof r.gdprApplies&&(e.gdpr=Number(r.gdprApplies)),”string”==typeof r.consentString&&(e.gdpr_consent=r.consentString)),i&&(e.us_privacy=encodeURIComponent(i)),null!=n&&n.gppString)e.gpp=n.gppString,e.gpp_sid=null===(o=n.applicableSections)||void 0===o?void 0:o.toString();return e=Object.keys(e).length?”?”.concat((0,p.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(f.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}}};function _(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,”https:”):r}function h(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(t);const r={…{align:”center”,position:”append”,closeButton:!1,label:void 0,collapse:!0},…e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function A(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,m.A)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,m.A)(e,”mediaTypes.banner.sizes”)?i=k(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=k(e.sizes):(0,p.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function j(e,t,r){return i=>{var n;const o=Number(null===(n=i.ext)||void 0===n?void 0:n.segtax);var a;r.includes(o)&&(e[“tg_”.concat(t,”.tax”).concat(o)]=null===(a=i.segment)||void 0===a?void 0:a.map((e=>e.id)).join(“,”))}}function k(e){return(0,p.parseSizesInput)(e).reduce(((e,t)=>{let r=parseInt(b[t],10);return
“)),[e.width,e.height]=b[r.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:o.adUnitCode}),t.push(e)}else(0,p.logError)(“Rubicon: bidRequest undefined at index position:”.concat(i),s,e);var c,l;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),l=null===(r=e.component_auction_config)||void 0===r?void 0:r.map((e=>({config:e,bidId:e.bidId})));return l?{bids:c,fledgeAuctionConfigs:l}:c},getUserSyncs:function(e,t,r,i,n){if(!C&&e.iframeEnabled){let e={};var o;if(r&&(“boolean”==typeof r.gdprApplies&&(e.gdpr=Number(r.gdprApplies)),”string”==typeof r.consentString&&(e.gdpr_consent=r.consentString)),i&&(e.us_privacy=encodeURIComponent(i)),null!=n&&n.gppString)e.gpp=n.gppString,e.gpp_sid=null===(o=n.applicableSections)||void 0===o?void 0:o.toString();return e=Object.keys(e).length?”?”.concat((0,p.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(f.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}}};function _(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,”https:”):r}function h(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(t);const r={…{align:”center”,position:”append”,closeButton:!1,label:void 0,collapse:!0},…e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function A(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,m.A)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,m.A)(e,”mediaTypes.banner.sizes”)?i=k(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=k(e.sizes):(0,p.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function j(e,t,r){return i=>{var n;const o=Number(null===(n=i.ext)||void 0===n?void 0:n.segtax);var a;r.includes(o)&&(e[“tg_”.concat(t,”.tax”).concat(o)]=null===(a=i.segment)||void 0===a?void 0:a.map((e=>e.id)).join(“,”))}}function k(e){return(0,p.parseSizesInput)(e).reduce(((e,t)=>{let r=parseInt(b[t],10);return
“)),[e.width,e.height]=b[r.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:o.adUnitCode}),t.push(e)}else(0,p.logError)(“Rubicon: bidRequest undefined at index position:”.concat(i),s,e);var c,l;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),l=null===(r=e.component_auction_config)||void 0===r?void 0:r.map((e=>({config:e,bidId:e.bidId})));return l?{bids:c,fledgeAuctionConfigs:l}:c},getUserSyncs:function(e,t,r,i,n){if(!C&&e.iframeEnabled){let e={};var o;if(r&&(“boolean”==typeof r.gdprApplies&&(e.gdpr=Number(r.gdprApplies)),”string”==typeof r.consentString&&(e.gdpr_consent=r.consentString)),i&&(e.us_privacy=encodeURIComponent(i)),null!=n&&n.gppString)e.gpp=n.gppString,e.gpp_sid=null===(o=n.applicableSections)||void 0===o?void 0:o.toString();return e=Object.keys(e).length?”?”.concat((0,p.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(f.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}}};function _(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,”https:”):r}function h(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(t);const r={…{align:”center”,position:”append”,closeButton:!1,label:void 0,collapse:!0},…e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function A(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,m.A)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,m.A)(e,”mediaTypes.banner.sizes”)?i=k(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=k(e.sizes):(0,p.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function j(e,t,r){return i=>{var n;const o=Number(null===(n=i.ext)||void 0===n?void 0:n.segtax);var a;r.includes(o)&&(e[“tg_”.concat(t,”.tax”).concat(o)]=null===(a=i.segment)||void 0===a?void 0:a.map((e=>e.id)).join(“,”))}}function k(e){return(0,p.parseSizesInput)(e).reduce(((e,t)=>{let r=parseInt(b[t],10);return
Source link
“)),[e.width,e.height]=x[r.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:o.adUnitCode}),t.push(e)}else(0,p.logError)(“Rubicon: bidRequest undefined at index position:”.concat(i),a,e);var c,l;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),l=null===(r=e.component_auction_config)||void 0===r?void 0:r.map((e=>({config:e,bidId:e.bidId})));return l?{bids:c,fledgeAuctionConfigs:l}:c},getUserSyncs:function(e,t,r,i,n){if(!I&&e.iframeEnabled){let e={};var o;if(r&&(“boolean”==typeof r.gdprApplies&&(e.gdpr=Number(r.gdprApplies)),”string”==typeof r.consentString&&(e.gdpr_consent=r.consentString)),i&&(e.us_privacy=encodeURIComponent(i)),null!=n&&n.gppString)e.gpp=n.gppString,e.gpp_sid=null===(o=n.applicableSections)||void 0===o?void 0:o.toString();return e=Object.keys(e).length?”?”.concat((0,p.formatQS)(e)):””,I=!0,{type:”iframe”,url:”https://”.concat(b.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}}};function h(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,”https:”):r}function _(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),r=t&&t.nextSibling;r&&”iframe”===r.localName&&r.style.setProperty(“display”,”none”)}(t);const r={…{align:”center”,position:”append”,closeButton:!1,label:void 0,collapse:!0},…e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function A(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,m.A)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,m.A)(e,”mediaTypes.banner.sizes”)?i=j(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=j(e.sizes):(0,p.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function j(e){return(0,p.parseSizesInput)(e).reduce(((e,t)=>{let r=parseInt(x[t],10);return r&&e.push(r),e}),[])}function k(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[];if(function(e){let t=void 0!==(0,m.A)(e,”mediaTypes.”.concat(d.G_)),r=void 0!==(0,m.A)(e,”mediaTypes.”.concat(d.D4)),i=void 0!==(0,m.A)(e,”params.bidonmultiformat”),n=”object”!=typeof(0,m.A)(e,”params.video”);return!(!t||!i)||(r&&n&&(t=!1),t&&n&&(0,u.J)(e,”params.video”,{}),t)}(e)){if(-1===[“outstream”,”instream”].indexOf((0,m.A)(e,”mediaTypes.”.concat(d.G_,”.context”))))return t&&(0,p.logError)(“Rubicon:
Throughout the decades, Magneto has been a man of many faces. Marvel’s Master of Magnetism has evolved from Charles Xavier's and the X-Men's greatest rival to a socially prominent anti-hero before he helped found Krakoa, a sovereign nation of mutants. As the identities, alliances, and even names of the man originally known as Max Eisenhardt
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return
“));var v=_[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,i.Z)(v,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!T&&e.iframeEnabled){var i={};return t&&(“boolean”==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?”?”.concat((0,m.formatQS)(i)):””,T=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,r){return(0,m.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 w(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 n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||”center”,position:n.position||”append”},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===p.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,g.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,g.Z)(e,”mediaTypes.banner.sizes”)?i=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=I(e.sizes):(0,m.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function I(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function R(e){var r,t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=[];if(r=e,t=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.pX)),n=void 0!==(0,g.Z)(r,”mediaTypes.”.concat(p.Mk)),i=void 0!==(0,g.Z)(r,”params.bidonmultiformat”),a=”object”!==(0,o.Z)((0,g.Z)(r,”params.video”)),t&&i||(n&&a&&(t=!1),t&&a&&(0,v.N)(r,”params.video”,{}),t)){if(-1===[“outstream”,”instream”].indexOf((0,g.Z)(e,”mediaTypes.”.concat(p.pX,”.context”))))return s&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),d;if(A(e,p.pX).length<2)return