“));var b=f(h[i.size_id].split(“x”).map((function(e){return Number(e)})),2);l.width=b[0],l.height=b[1]}l.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(l)}else Object(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(!N&&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))),N=!0,{type:”iframe”,url:”https://”.concat(x.syncHost||”eus”,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,t){return Object(n.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function O(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 _(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 A(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(Object(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!==Object(n.deepAccess)(e,”mediaTypes.banner.sizes”)?o=C(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?o=C(e.sizes):Object(n.logWarn)(“Rubicon: no sizes are setup or found”),R(o)}function S(e,t,r){var i={user:{ext:{data:l({},e.params.visitor)}},site:{ext:{data:l({},e.params.inventory)}}};e.params.keywords&&(i.site.keywords=Object(n.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);var c=Object(n.mergeDeep)({},o.b.getConfig(“ortb2″)||{},i),s=Object(n.deepAccess)(e.ortb2Imp,”ext.data”)||{},d={user:[4],site:[1,2,5,6]},u={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},p=function(e,t,r){if(“data”===t&&Array.isArray(e))return e.filter((function(e){return e.segment&&Object(n.deepAccess)(e,”ext.segtax”)&&d[r]&&-1!==d[r].indexOf(Object(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();Object(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 Object(n.logWarn)(“Rubicon: Filtered FPD key: “,t,”: Expected value to be string, integer, or an array of strings/ints”)},b=function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=p(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(s).forEach((function(e){“adserver”===e?[“name”,”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”,”user”].forEach((function(e){Object.keys(c[e]).forEach((function(t){“site”===e&&”content”===t&&c[e][t].data?b(c[e][t].data,e,”data”):”ext”!==t?b(c[e][t],e,t):c[e][t].data&&Object.keys(c[e].ext.data).forEach((function(t){b(c[e].ext.data[t],e,t,!1)}))}))})),Object.keys(s).forEach((function(e){“adserver”===e?b(s[e].adslot,name,e):b(s[e],”site”,e)}))):(Object.keys(s).length&&Object(n.mergeDeep)(r.imp[0].ext,{data:s}),Object(n.mergeDeep)(r,c))}function C(e){return Object(n.parseSizesInput)(e).reduce((function(e,t){var r=parseInt(h[t],10);return r&&e.push(r),e}),[])}function I(e){return”object”===v(Object(n.deepAccess)(e,”params.video”))&&void 0!==Object(n.deepAccess)(e,”mediaTypes.”.concat(a.d))}function w(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return I(e)?-1===[“outstream”,”instream”].indexOf(Object(n.deepAccess)(e,”mediaTypes.”.concat(a.d,”.context”)))?void(t&&Object(n.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”)):A(e,”video”).length-1||i>-1?-1===n?1:-1===i?-1:n-i:e-r}))}function z(e){var t=parseInt(Object(n.deepAccess)(e,”params.video.size_id”));return isNaN(t)?”outstream”===Object(n.deepAccess)(e,”mediaTypes.”.concat(a.d,”.context”))?203:201:t}function T(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 E(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(Object(n.deepAccess)(e,”mediaTypes.video.”+r))!==i[r]&&(t=!1,Object(n.logError)(“Rubicon: mediaTypes.video.”+r+” is required and must be of type: “+i[r]))})),t}function U(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))||Object(n.logError)(“Rubicon: required schain params missing”),t):t}function P(e,t){return”rp_schain”===e?”rp_schain=”.concat(t):””.concat(e,”=”).concat(encodeURIComponent(t))}var N=!1;Object(i.registerBidder)(j)}},[771]);
pbjsChunk([20],{17:function(e,t,r){“use strict”;t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if(“pubProvidedId”===r)t=t.concat(e.pubProvidedId);else{var a=o(e[r],r);a&&t.push(a)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(a.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(a.deepAccess)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&Object(a.deepAccess)(i,r+”.source”)&&t.push({source:i[r].source,bidders:e.config.bidders})}))})),t};var a=r(0),i={intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.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=Object(a.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},dmdId:{source:”hcn.health”,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},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}},dapId:{source:”akamai.com”,atype:1},deepintentId:{source:”deepintent.com”,atype:3},admixerId:{source:”admixer.net”,atype:3},adtelligentId:{source:”adtelligent.com”,atype:3},amxId:{source:”amxrtb.com”,atype:1},publinkId:{source:”epsilon.com”,atype:3},kpuid:{source:”kpuid.com”,atype:3},imuid:{source:”intimatemerger.com”,atype:1},connectId:{source:”yahoo.com”,atype:3}};function o(e,t){var r=i[t];if(r&&e){var o={};o.source=r.source;var n=Object(a.isFn)(r.getValue)?r.getValue(e):e;if(Object(a.isStr)(n)){var d={id:n,atype:r.atype};if(Object(a.isFn)(r.getUidExt)){var s=r.getUidExt(e);s&&(d.ext=s)}if(o.uids=[d],Object(a.isFn)(r.getEidExt)){var c=r.getEidExt(e);c&&(o.ext=c)}return o}}return null}},801:function(e,t,r){e.exports=r(802)},802:function(e,t,r){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),r.d(t,”spec”,(function(){return s}));var a=r(0),i=r(2),o=r(3),n=r(17),d=r(1),s={code:”smartadserver”,gvlid:45,aliases:[“smart”],supportedMediaTypes:[i.b,i.d],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.params.pageId&&e.params.formatId)},serializeSupplyChain:function(e){if(!e||!e.nodes)return null;var t=[“asi”,”sid”,”hp”,”rid”,”name”,”domain”];return””.concat(e.ver,”,”).concat(e.complete,”!”)+e.nodes.map((function(e){return t.map((function(t){return e[t]?encodeURIComponent(e[t]):””})).join(“,”)})).join(“!”)},adaptBannerSizes:function(e){return e.map((function(e){return{w:e[0],h:e[1]}}))},fillPayloadForVideoBidRequest:function(e,t,r){var a=t.playerSize[0];e.isVideo=”instream”===t.context,e.mediaType=i.d,e.videoData={videoProtocol:this.getProtocolForVideoBidRequest(t,r),playerWidth:a[0],playerHeight:a[1],adBreak:this.getStartDelayForVideoBidRequest(t,r)}},getProtocolForVideoBidRequest:function(e,t){return void 0!==t&&t.protocol?t.protocol:void 0!==e&&Array.isArray(e.protocols)?Math.max.apply(Math,e.protocols):null},getStartDelayForVideoBidRequest:function(e,t){if(void 0!==t&&t.startDelay)return t.startDelay;if(void 0!==e){if(0==e.startdelay)return 1;if(-1==e.startdelay)return 2;if(-2==e.startdelay)return 3}return 2},createServerRequest:function(e,t){return{method:”POST”,url:(void 0!==t?t:”https://prg.smartadserver.com”)+”/prebid/v1″,data:JSON.stringify(e)}},buildRequests:function(e,t){var r=o.b.getConfig(“currency.adServerCurrency”);return e.reduce((function(e,i){var d={siteid:i.params.siteId,pageid:i.params.pageId,formatid:i.params.formatId,currencyCode:r,bidfloor:i.params.bidfloor||s.getBidFloor(i,r),targeting:i.params.target&&””!==i.params.target?i.params.target:void 0,buid:i.params.buId&&””!==i.params.buId?i.params.buId:void 0,appname:i.params.appName&&””!==i.params.appName?i.params.appName:void 0,ckid:i.params.ckId||0,tagId:i.adUnitCode,pageDomain:t&&t.refererInfo&&t.refererInfo.referer?t.refererInfo.referer:void 0,transactionId:i.transactionId,timeout:o.b.getConfig(“bidderTimeout”),bidId:i.bidId,prebidVersion:”6.0.0″,schain:s.serializeSupplyChain(i.schain)};t&&t.gdprConsent&&(d.addtl_consent=t.gdprConsent.addtlConsent,d.gdpr_consent=t.gdprConsent.consentString,d.gdpr=t.gdprConsent.gdprApplies),i&&i.userId&&(d.eids=Object(n.b)(i.userId)),t&&t.uspConsent&&(d.us_privacy=t.uspConsent);var c=Object(a.deepAccess)(i,”mediaTypes.video”),u=Object(a.deepAccess)(i,”mediaTypes.banner”),p=c&&(“instream”===c.context||”outstream”===c.context);if(!p&&u)d.sizes=s.adaptBannerSizes(u.sizes),e.push(s.createServerRequest(d,i.params.domain));else if(p&&!u)s.fillPayloadForVideoBidRequest(d,c,i.params.video),e.push(s.createServerRequest(d,i.params.domain));else if(p&&u){var l=Object(a.deepClone)(d);s.fillPayloadForVideoBidRequest(l,c,i.params.video),e.push(s.createServerRequest(l,i.params.domain)),d.sizes=s.adaptBannerSizes(u.sizes),e.push(s.createServerRequest(d,i.params.domain))}else e.push({});return e}),[])},interpretResponse:function(e,t){var r=[],o=e.body;try{if(o&&!o.isNoAd){var n=JSON.parse(t.data),d={requestId:n.bidId,cpm:o.cpm,width:o.width,height:o.height,creativeId:o.creativeId,dealId:o.dealId,currency:o.currency,netRevenue:o.isNetCpm,ttl:o.ttl,dspPixels:o.dspPixels,meta:{advertiserDomains:o.adomain?o.adomain:[]}};n.mediaType===i.d?(d.mediaType=i.d,d.vastUrl=o.adUrl,d.vastXml=o.ad,d.content=o.ad):(d.adUrl=o.adUrl,d.ad=o.ad),r.push(d)}}catch(e){Object(a.logError)(“Error while parsing smart server response”,e)}return r},getBidFloor:function(e,t){if(!Object(a.isFn)(e.getFloor))return 0;var r=e.getFloor({currency:t||”USD”,mediaType:”*”,size:”*”});return Object(a.isPlainObject)(r)&&!isNaN(r.floor)?r.floor:0},getUserSyncs:function(e,t){var r=[];return e.iframeEnabled&&t.length>0&&null!=t[0].body.cSyncUrl?r.push({type:”iframe”,url:t[0].body.cSyncUrl}):e.pixelEnabled&&t.length>0&&void 0!==t[0].body.dspPixels&&t[0].body.dspPixels.forEach((function(e){r.push({type:”image”,url:e})})),r}};Object(d.registerBidder)(s)}},[801]);
pbjsChunk([113],{841:function(e,t,r){e.exports=r(842)},842:function(e,t,r){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),r.d(t,”storage”,(function(){return y})),r.d(t,”spec”,(function(){return l}));var n=r(0),i=r(1),a=r(7);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t
pbjs.processQueue();