TV

These Hard Video Games Are More Fun When You Cheat



“));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 s&&(0,m.logError)(“Rubicon: could not determine the playerSize of the video”),d;s&&(0,m.logMessage)(“Rubicon: making video request for adUnit”,e.adUnitCode),d.push(p.pX)}if(void 0!==(0,g.Z)(e,”mediaTypes.”.concat(p.B5))&&d.push(p.B5),void 0!==(0,g.Z)(e,”mediaTypes.”.concat(p.Mk))){if(0===A(e,p.Mk).length)return s&&(0,m.logError)(“Rubicon: could not determine the sizes for banner request”),d;s&&(0,m.logMessage)(“Rubicon: making banner request for adUnit”,e.adUnitCode),d.push(p.Mk)}return d}function S(e){var r=!1,t=[“asi”,”sid”,”hp”];return e.nodes?((r=e.nodes.reduce((function(e,r){return e?t.every((function(e){return r.hasOwnProperty(e)})):e}),!0))||(0,m.logError)(“Rubicon: required schain params missing”),r):r}function C(e,r){return”rp_schain”===e?”rp_schain=”.concat(r):””.concat(e,”=”).concat(encodeURIComponent(r))}var T=!1;(0,c.dX)(k),(0,a.z)(“rubiconBidAdapter”)},26372:function(e,r,t){t.d(r,{DZ:function(){return a},Px:function(){return s},TP:function(){return c},YC:function(){return d},Z:function(){return o},f8:function(){return m},fP:function(){return v},gm:function(){return n},md:function(){return u}});var n=[“request”,”imp”,”bidResponse”,”response”],i=[“default”,”pbs”],o=n[0],a=n[1],s=n[2],d=n[3],c=i[0],u=i[1],p=new Set(n);var l,f=(l={},{registerOrtbProcessor:function(e){var r=e.type,t=e.name,i=e.fn,o=e.priority,a=void 0===o?0:o,s=e.dialects,d=void 0===s?[c]:s;if(!p.has(r))throw new Error(“ORTB processor type must be one of: “.concat(n.join(“, “)));d.forEach((function(e){l.hasOwnProperty(e)||(l[e]={}),l[e].hasOwnProperty(r)||(l[e][r]={}),l[e][r][t]={priority:a,fn:i}}))},getProcessors:function(e){return l[e]||{}}}),m=f.registerOrtbProcessor,v=f.getProcessors}},function(e){e.O(0,[85279,70951],(function(){return r=40060,e(e.s=r);var r}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[92972],{54834:function(o,e,n){var t=n(71002),r=n(78640),i=n(64358),d=n(92797),a=n(51039),u=n(15164),c=n(34516),l=n(9633),m=n(81694),f=(0,u.df)({moduleType:l.y2,moduleName:”pubCommonId”}),s=”cookie”,g=”html5″,p=”_pubcid_optout”,v=”PublisherCommonId”;function I(o,e){if(e===s)return f.getCookie(o);if(e===g&&f.hasLocalStorage()){var n=f.getDataFromLocalStorage(“”.concat(o,”_exp”));if(!n)return f.getDataFromLocalStorage(o);if(new Date(n).getTime()-Date.now()>0)return f.getDataFromLocalStorage(o)}}function b(o,e){return function(n,t){e?h(e,o,(function(){n(t()||o)}))():n(o)}}function h(o){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:””,n=arguments.length>2?arguments[2]:void 0;if(o){var t=(0,i.parseUrl)(o);t.search.id=encodeURIComponent(“pubcid:”+e);var r=(0,i.buildUrl)(t);return function(){(0,i.triggerPixel)(r,n)}}}function C(){return!!(f.cookiesAreEnabled()&&I(p,s)||f.hasLocalStorage()&&I(p,g))}var P={name:”sharedId”,aliasName:”pubCommonId”,gvlid:c.$P,decode:function(o,e){if(!C())return(0,i.logInfo)(” Decoded value PubCommonId “+o),{pubcid:o};(0,i.logInfo)(“PubCommonId decode: Has opted-out”)},getId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(C())(0,i.logInfo)(“PubCommonId: Has opted-out”);else{if(!a.VP.getCoppa()){var n=o.params,r=void 0===n?{}:n,d=r.create,u=void 0===d||d,c=r.pixelUrl,l=e;if(!l){try{“object”===(0,t.Z)(window[v])&&(l=window[v].getId())}catch(o){}l||(l=u&&(0,i.hasDeviceAccess)()?(0,i.generateUUID)():void 0)}return{id:l,callback:b(l,c)}}(0,i.logInfo)(“PubCommonId: IDs not provided for coppa requests, exiting PubCommonId”)}},extendId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(C())return(0,i.logInfo)(“PubCommonId: Has opted-out”),{id:void 0};if(a.VP.getCoppa())(0,i.logInfo)(“PubCommonId: IDs not provided for coppa requests, exiting PubCommonId”);else{var n=o.params,t=void 0===n?{}:n,r=t.extend,d=void 0!==r&&r,u=t.pixelUrl;if(d)return u?{callback:h(u,e)}:{id:e}}},domainOverride:(0,m.U)(f,”sharedId”)};(0,d.Bx)(“userId”,P),(0,r.z)(“sharedIdSystem”)}},function(o){o.O(0,[57748],(function(){return e=54834,o(o.s=e);var e}));o.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[88029],{76401:function(e,t,r){var n=r(4942),i=r(78640),a=r(64358),d=r(20265),o=r(14699),s=r(15164);function p(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 c(e){for(var t=1;t=0?r.connection.downlink.toString():””),timeToFirstByte:h(window),data:n,deviceWidth:screen.width,hb_version:”7.52.0″},function(e){var t={unifiedId2:”uid2.id”,liveRampId:”idl_env”,lotamePanoramaId:”lotamePanoramaId”,id5Id:”id5id.uid”,criteoId:”criteoId”,yahooConnectId:”connectId”,quantcastId:”quantcastId”,epsilonPublisherLinkId:”publinkId”,publisherFirstPartyViewerId:”pubcid”,merkleId:”merkleId.id”,kinessoId:”kpuid”},r={};for(var n in t){var i=t[n],a=(0,d.Z)(e,”0.userId.”.concat(i));a&&(r[n]=a)}return r}(e)),function(e){var t=(0,d.Z)(e,”0.userId.teadsId”);if(t)return{firstPartyCookieTeadsId:t};if(v.cookiesAreEnabled(null)){var r=v.getCookie(m,null);if(r)return{firstPartyCookieTeadsId:r}}return{}}(e)),a=e[0];a.schain&&(i.schain=a.schain);var o=t.gdprConsent;if(t&&o){var s=”boolean”==typeof o.gdprApplies,p=”string”==typeof o.consentString,u=s?function(e,t){var r=g;e?t&&!t.isServiceSpecific&&(r=f):r=I;return r}(o.gdprApplies,o.vendorData):l;i.gdpr_iab={consent:p?o.consentString:””,status:u,apiVersion:o.apiVersion}}t&&t.uspConsent&&(i.us_privacy=t.uspConsent);var y=(0,d.Z)(a,”ortb2.device.sua”);return y&&(i.userAgentClientHints=y),{method:”POST”,url:”https://a.teads.tv/hb/bid-request”,data:JSON.stringify(i)}},interpretResponse:function(e,t){var r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),r.push(t)})),r}};function b(e){var t=””;return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function h(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,r=t&&”function”==typeof t.getEntriesByType&&”[object Function]”===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType(“navigation”)[0]&&t.getEntriesByType(“navigation”)[0].responseStart&&t.getEntriesByType(“navigation”)[0].requestStart&&t.getEntriesByType(“navigation”)[0].responseStart>0&&t.getEntriesByType(“navigation”)[0].requestStart>0&&Math.round(t.getEntriesByType(“navigation”)[0].responseStart-t.getEntriesByType(“navigation”)[0].requestStart);if(r)return r.toString();var n=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return n?n.toString():””}function S(e){var t={},r=(0,a.getValue)(e.params,”placementId”),n=(0,a.getValue)(e.params,”pageId”),i=(0,d.Z)(e,”ortb2Imp.ext.gpid”);return t.sizes=function(e){return(0,a.parseSizesInput)(function(e){var t=(0,d.Z)(e,”mediaTypes.video.playerSize”),r=(0,d.Z)(e,”mediaTypes.video.sizes”),n=(0,d.Z)(e,”mediaTypes.banner.sizes”);return(0,a.isArray)(n)||(0,a.isArray)(t)||(0,a.isArray)(r)?[n,r,t].reduce((function(e,t){return(0,a.isArray)(t)&&((0,a.isArray)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[]):e.sizes}(e))}(e),t.bidId=(0,a.getBidIdParameter)(“bidId”,e),t.bidderRequestId=(0,a.getBidIdParameter)(“bidderRequestId”,e),t.placementId=parseInt(r,10),t.pageId=parseInt(n,10),t.adUnitCode=(0,a.getBidIdParameter)(“adUnitCode”,e),t.auctionId=(0,a.getBidIdParameter)(“auctionId”,e),t.transactionId=(0,a.getBidIdParameter)(“transactionId”,e),i&&(t.gpid=i),t}function P(e){return parseInt(e)>0}(0,o.dX)(y),(0,i.z)(“teadsBidAdapter”)}},function(e){var t;t=76401,e(e.s=t)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[82599],{70789:function(e,r,t){var n=t(71002),i=t(89062),o=t(4942),a=t(78640),u=t(64358),d=t(24679),p=t(14699),c=t(3193),s=t(15164);function l(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var r=1;r0&&(n.user={ext:{eids:d}});var c=function(e,r){var t={};(0,u.isEmpty)(e)||(t.schain=m({},e));(0,u.isEmpty)(r)||(t.fpd=m({},r));return t}(o,a);(0,u.isEmpty)(c)||(n.ext=c);null!=r&&null!==(t=r.ortb2)&&void 0!==t&&null!==(t=t.regs)&&void 0!==t&&t.gpp&&(n.regs=Object.assign({},r.ortb2.regs));return n}(e,r);if(t=(0,u.tryAppendQueryString)(t,”lib”,”prebid”),t=(0,u.tryAppendQueryString)(t,”v”,”7.52.0″),r&&r.refererInfo){var o=r.refererInfo.page;t=(0,u.tryAppendQueryString)(t,”referrer”,o)}return r&&r.timeout&&(t=(0,u.tryAppendQueryString)(t,”tmax”,r.timeout)),r&&r.gdprConsent&&(y=void 0===r.gdprConsent.gdprApplies||r.gdprConsent.gdprApplies,t=(0,u.tryAppendQueryString)(t,”gdpr”,y.toString()),void 0!==r.gdprConsent.consentString&&(g=r.gdprConsent.consentString,t=(0,u.tryAppendQueryString)(t,”cmp_cs”,g))),r&&r.uspConsent&&(t=(0,u.tryAppendQueryString)(t,”us_privacy”,r.uspConsent)),!0===c.vc.getConfig(“coppa”)&&(t=(0,u.tryAppendQueryString)(t,”coppa”,!0)),t.lastIndexOf(“&”)===t.length-1&&(t=t.substring(0,t.length-1)),(0,u.logMessage)(“tlCall request built: “+t),{method:”POST”,url:t,data:n,bidderRequest:r}},interpretResponse:function(e,r){var t=r.bidderRequest;return(e.body.bids||[]).map((function(e){return function(e,r){var t={},n=r.width||1,i=r.height||1,o=r.deal_id||””,a=r.crid||””,u=e.bids[r.imp_id];0!=r.cpm&&r.ad&&(t={requestId:u.bidId,cpm:r.cpm,width:n,height:i,netRevenue:!0,ad:r.ad,creativeId:a,dealId:o,currency:”USD”,ttl:300,tl_source:r.tl_source,meta:{}},h(u)&&”video”===r.media_type&&(t.vastXml=r.ad,t.mediaType=”video”,t.ttl=3600),r.advertiser_name&&(t.meta.advertiserName=r.advertiser_name),r.adomain&&r.adomain.length&&(t.meta.advertiserDomains=r.adomain),r.tl_source&&”hdx”==r.tl_source&&(h(u)&&”video”===r.media_type?t.meta.mediaType=”video”:t.meta.mediaType=”banner”),r.tl_source&&”tlx”==r.tl_source&&(t.meta.mediaType=”native”),a&&(t.meta.networkId=a.slice(0,a.indexOf(“_”))));return t}(t,e)}))},getUserSyncs:function(e,r,t,n){var i=function(e){if(!e)return;if(e.iframeEnabled)return”iframe”;if(e.pixelEnabled)return”image”}(e);if(i){var o=”https://eb2.3lift.com/sync?”;return”image”===i&&(o=(0,u.tryAppendQueryString)(o,”px”,1),o=(0,u.tryAppendQueryString)(o,”src”,”prebid”)),(null!==g||y)&&(o=(0,u.tryAppendQueryString)(o,”gdpr”,y),o=(0,u.tryAppendQueryString)(o,”cmp_cs”,g)),n&&(o=(0,u.tryAppendQueryString)(o,”us_privacy”,n)),[{type:i,url:o}]}}};function h(e){return x(e)&&(S(e)||function(e){return x(e)&&”outstream”===e.mediaTypes.video.context.toLowerCase()}(e))}function S(e){return x(e)&&”instream”===e.mediaTypes.video.context.toLowerCase()}function x(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function O(e){var r=null;if(“function”==typeof e.getFloor)try{var t=e.getFloor({currency:”USD”,mediaType:h(e)?”video”:”banner”,size:”*”});”object”!==(0,n.Z)(t)||”USD”!==t.currency||isNaN(parseFloat(t.floor))||(r=parseFloat(t.floor))}catch(e){(0,u.logError)(“Triplelift: getFloor threw an error: “,e)}return null!==r?r:e.params.floor}function E(e,r){(0,u.isEmpty)(r)||Object.keys(r).forEach((function(t){null!=r[t]&&(e[t]=r[t])}))}function I(e,r,t,n){return e.map(function(e){return function(r){return r&&r.userId&&r.userId[e]}}(r)).filter(A(r)).map(function(e,r){return function(t){return{source:e,uids:[{id:t.id?t.id:t,ext:{rtiPartner:r}}]}}}(t,n))}var A=function(e){return function(r,t,n){var i=!!r&&((0,u.isStr)(r)?!!r:(0,u.isPlainObject)(r)&&!(0,u.isArray)(r)&&!(0,u.isEmpty)(r)&&r.id&&(0,u.isStr)(r.id)&&!!r.id);return i||void 0===n[0]||(0,u.logWarn)(“Triplelift: invalid “.concat(e,” userId format”)),i}};function j(e){return e.filter(T).map((function(e){return{w:e[0],h:e[1]}}))}function T(e){return 2===e.length&&”number”==typeof e[0]&&”number”==typeof e[1]}(0,p.dX)(b),(0,a.z)(“tripleliftBidAdapter”)}},function(e){var r;r=70789,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[34579],{98709:function(r,e,t){var n=t(78640),o=t(64358),i=t(48928),d=t(92797),u=”unifiedId”,a={name:u,gvlid:21,decode:function(r){return r&&”string”==typeof r.TDID?{tdid:r.TDID}:void 0},getId:function(r){var e=r&&r.params||{};if(e&&(“string”==typeof e.partner||”string”==typeof e.url)){var t=e.url||”https://match.adsrvr.org/track/rid?ttd_pid=”.concat(e.partner,”&fmt=json”);return{callback:function(r){var e={success:function(e){var t;if(e)try{t=JSON.parse(e)}catch(r){(0,o.logError)(r)}r(t)},error:function(e){(0,o.logError)(“”.concat(u,”: ID fetch encountered an error”),e),r()}};(0,i.h)(t,e,void 0,{method:”GET”,withCredentials:!0})}}}(0,o.logError)(“User ID – unifiedId submodule requires either partner or url to be defined”)}};(0,d.Bx)(“userId”,a),(0,n.z)(“unifiedIdSystem”)}},function(r){var e;e=98709,r(r.s=e)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[69039],{83806:function(e,r,n){var t=n(4942),i=n(44925),o=n(78640),u=n(20265),a=n(64358),d=n(35706),s=n(14699),p=n(24679),c=[“bids”,”bidderRequestId”,”auctionId”,”bidderCode”];function f(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function l(e){for(var r=1;r0&&void 0!==arguments[0]?arguments[0]:{}).body;return!n||!n.bids?[]:(e=n.bids,r=[],e.forEach((function(e){var n,t=(0,u.Z)(e,”meta.mediaType”);if(t&&”banner”===t.toLowerCase())e.mediaType=p.Mk,n=b(e);else if(t&&”video”===t.toLowerCase()){var i=(0,u.Z)(e,”meta.videoContext”);e.mediaType=p.pX,”instream”===i?n=v(e):”outstream”===i&&(n=g(e))}n&&r.push(n)})),r)}};(0,s.dX)(m),(0,o.z)(“unrulyBidAdapter”)},44925:function(e,r,n){function t(e,r){if(null==e)return{};var n,t,i=function(e,r){if(null==e)return{};var n,t,i={},o=Object.keys(e);for(t=0;t=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(r,{Z:function(){return t}})}},function(e){var r;r=83806,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[9215],{82547:function(e,n,t){var r=t(71002),o=t(78640),i=t(34614),a=t(3193),c=t(52021),u=t(51039),s=t(5644),d=t(92797),l=t(64358),f=t(20265),g={growthCodeId:{getValue:function(e){return e.gc_id},source:”growthcode.io”,atype:1,getUidExt:function(e){var n=(0,l.pick)(e,[“h1″,”h2″,”h3″]);if(Object.keys(n).length)return n}},trustpid:{source:”trustpid.com”,atype:1,getValue:function(e){return e}},intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.com”,atype:1},pairId:{source:”google.com”,atype:571187},justId:{source:”justtag.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}},ftrackId:{source:”flashtalking.com”,atype:1,getValue:function(e){var n=””;return e&&e.ext&&e.ext.DeviceID&&(n=e.ext.DeviceID),n},getUidExt:function(e){return e&&e.ext}},parrableId:{source:”parrable.com”,atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?””:null},getUidExt:function(e){var n=(0,l.pick)(e,[“ibaOptout”,”ccpaOptout”]);if(Object.keys(n).length)return n}},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}}},bidswitch:{source:”bidswitch.net”,atype:3,getValue:function(e){return e.id}},medianet:{source:”media.net”,atype:3,getValue:function(e){return e.id}},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:{atype:3,getSource:function(e){var n;return null!=e&&null!==(n=e.ext)&&void 0!==n&&n.ssp?””.concat(e.ext.ssp,”.merkleinc.com”):”merkleinc.com”},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:”netid.de”,atype:1},IDP:{source:”zeotap.com”,atype:1},hadronId:{source:”audigent.com”,atype:1},quantcastId:{source:”quantcast.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 void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:”novatiq.com”},uid2:{source:”uidapi.com”,atype:3,getValue:function(e){return e.id}},deepintentId:{source:”deepintent.com”,atype:3},admixerId:{source:”admixer.net”,atype:3},adtelligentId:{source:”adtelligent.com”,atype:3},amxId:{source:”amxdt.net”,atype:1},publinkId:{source:”epsilon.com”,atype:3},kpuid:{source:”kpuid.com”,atype:3},imppid:{source:”ppid.intimatemerger.com”,atype:1},imuid:{source:”intimatemerger.com”,atype:1},connectId:{source:”yahoo.com”,atype:3},qid:{source:”adquery.io”,atype:1},dacId:{source:”impact-ad.jp”,atype:1},”33acrossId”:{source:”33across.com”,atype:1,getValue:function(e){return e.envelope}},tncid:{source:”thenewco.it”,atype:3},gravitompId:{source:”gravito.net”,atype:1},czechAdId:{source:”czechadid.cz”,atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:”paf”,atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var n=e.identifiers[0];return{version:n.version,type:n.type,source:n.source}}}}};function p(e,n){var t=g[n];if(t&&e){var r={};r.source=(0,l.isFn)(t.getSource)?t.getSource(e):t.source;var o=(0,l.isFn)(t.getValue)?t.getValue(e):e;if((0,l.isStr)(o)){var i={id:o,atype:t.atype};if((0,l.isFn)(t.getUidExt)){var a=t.getUidExt(e);a&&(i.ext=a)}if(r.uids=[i],(0,l.isFn)(t.getEidExt)){var c=t.getEidExt(e);c&&(r.ext=c)}return r}}return null}function m(e){var n=[],t=function(t){if(e.hasOwnProperty(t))if(“pubProvidedId”===t)n=n.concat(e.pubProvidedId);else if(Array.isArray(e[t]))e[t].forEach((function(e,r,o){var i=p(e,t);i&&n.push(i)}));else{var r=p(e[t],t);r&&n.push(r)}};for(var r in e)t(r);return n}var y,v,b,h,I,E,w,O=t(15164),D=t(96475),k=t(7563),j=t(68792),S=t(17673),x=t(26372),P=t(99128),A=t(38196),U=t(34516),C=t(9633),T=t(50571),V=t(74947),_=t(10286),q=”User ID”,N=O.c$,R=O.Dp,Z={name:”_pbjs_userid_consent_data”,expires:30},F=”_pbjs_id_optout”,L=(0,O.eA)(“userId”),z={isAllowed:T.xD},G=!1,M=[],W=[],B=[],J=function(){return null==w&&(w=(0,P.V6)()),w};function H(e){return J().fork().renameWith((function(n){return[“userId.mod.”.concat(n),”userId.mods.”.concat(e,”.”).concat(n)]}))}function K(e,n){n=n||e.storageMgr;var t=”function”==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,r=e.config.storage.name;return function(e,o,i){n.setCookie(r+(e||””),o,i,”Lax”,t)}}function Y(e,n){var t=e.config.storage,r=e.storageMgr;try{var o=new Date(Date.now()+864e5*t.expires).toUTCString(),i=(0,l.isPlainObject)(n)?JSON.stringify(n):n;if(t.type===N){var a=K(e);a(null,i,o),”number”==typeof t.refreshInSeconds&&a(“_last”,(new Date).toUTCString(),o)}else t.type===R&&(r.setDataInLocalStorage(“”.concat(t.name,”_exp”),o),r.setDataInLocalStorage(t.name,encodeURIComponent(i)),”number”==typeof t.refreshInSeconds&&r.setDataInLocalStorage(“”.concat(t.name,”_last”),(new Date).toUTCString()))}catch(e){(0,l.logError)(e)}}function $(e){var n=(0,l.getPrebidInternal)().setEidPermissions;”function”==typeof n&&(0,l.isArray)(e)&&n(function(e){var n=[];return e.filter((function(e){return(0,l.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){(0,f.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&(0,f.Z)(g,t+”.source”)&&n.push({source:g[t].source,bidders:e.config.bidders})}))})),n}(e))}function Q(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=e.storageMgr,o=e.config.storage,i=t?””.concat(o.name,”_”).concat(t):o.name;try{if(o.type===N)n=r.getCookie(i);else if(o.type===R){var a=r.getDataFromLocalStorage(“”.concat(o.name,”_exp”));””===a?n=r.getDataFromLocalStorage(i):a&&new Date(a).getTime()-Date.now()>0&&(n=decodeURIComponent(r.getDataFromLocalStorage(i)))}”string”==typeof n&&”{“===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,l.logError)(e)}return n}function X(e){var n={consentString:””,gdprApplies:!1,apiVersion:0};return e&&(n.consentString=e.consentString,n.gdprApplies=e.gdprApplies,n.apiVersion=e.apiVersion),(0,l.cyrb53Hash)(JSON.stringify(n))}function ee(e,n){n=J().fork().startTiming(“userId.callbacks.total”).stopBefore(n);var t=(0,l.delayExecution)((function(){clearTimeout(v),n()}),e.length);e.forEach((function(e){var n=H(e.submodule.name).startTiming(“callback”).stopBefore(t);try{e.callback((function(t){t?(e.config.storage&&Y(e,t),e.idObj=e.submodule.decode(t,e.config),ye(e.idObj)):(0,l.logInfo)(“”.concat(q,”: “).concat(e.submodule.name,” – request id responded with an empty value”)),n()}),Q.bind(null,e))}catch(t){(0,l.logError)(“Error in userID module ‘”.concat(e.submodule.name,”‘:”),t),n()}e.callback=void 0}))}function ne(e,n){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,l.isArray)(e.bids)&&e.bids.forEach((function(e){var t=function(e,n){return Array.isArray(e)&&e.length&&n?e.filter((function(e){return!e.config.bidders||!(0,l.isArray)(e.config.bidders)||(0,i.q9)(e.config.bidders,n)})).filter((function(e){return(0,l.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(n,e.bidder);Object.keys(t).length&&(e.userId=t,e.userIdAsEids=m(t))}))}))}var te,re={};function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce()||[],n=I&&e.find((function(e){return e.source===I}));if(n&&”string”==typeof(0,f.Z)(n,”uids.0.id”)){var t=n.uids[0].id.replace(/[W_]/g,””);if(t.length>=32&&t.length<=150)return t;(0,l.logWarn)(“User ID – Googletag Publisher Provided ID for “.concat(I,” is not between 32 and 150 characters – “).concat(t))}}var ie=(0,P.g3)(“userId”,(function(e,n){var t=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.delay,a=void 0===i?j.Z.timeout:i,c=r.getIds,u=void 0===c?ge:c;j.Z.race([u().catch((function(){return null})),a(h)]).then((function(){ne(n.adUnits||(0,o.R)().adUnits,y),J().join((0,P.Bf)(n.metrics),{propagate:!1,includeGroups:!0}),e.call(t,n)}))}));function ae(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,l.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(y)}function ce(){return m(ae())}function ue(e){return m(function(e,n){if(!Array.isArray(e)||!e.length)return{};var t=e.filter((function(e){var t;return(0,l.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length&&(null===(t=g[Object.keys(e.idObj)[0]])||void 0===t?void 0:t.source)===n}));return(0,l.isEmpty)(t)?[]:t[0].idObj}(y,e))[0]}function se(e,n,t){return te().then((function(){var r={};if((0,l.isFn)(t)){(0,l.logInfo)(“”.concat(q,” – Getting encrypted signal from custom function : “).concat(t.name,” & source : “).concat(e,” “));var o=t(e);r[e]=o?de(o):null}else{var i=ue(e);(0,l.logInfo)(“”.concat(q,” – Getting encrypted signal for eids :”).concat(JSON.stringify(i))),(0,l.isEmpty)(i)||(r[i.source]=!0===n?de(i):i.uids[0].id)}return(0,l.logInfo)(“”.concat(q,” – Fetching encrypted eids: “).concat(r[e])),r[e]}))}function de(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=””;if(1===n)t=”object”===(0,r.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return””.concat(n,”||”).concat(t)}function le(){if((0,l.isGptPubadsDefined)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=a.vc.getConfig(“userSync.encryptedSignalSources”);if(e){var n=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var n=e.source,t=e.encrypt,r=e.customFunc;n.forEach((function(e){window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:function(){return se(e,t,r)}})}))}))}),n)}else(0,l.logWarn)(“”.concat(q,” – ESP : encryptedSignalSources config not defined under userSync Object”))}}function fe(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).submoduleNames,n=arguments.length>1?arguments[1]:void 0;return te({refresh:!0,submoduleNames:e}).then((function(){return n&&(0,l.isFn)(n)&&n(),ae()}))}function ge(){return te().then((function(){return ae()}),(function(e){return e===re?Promise.resolve().then(ge):((0,l.logError)(“Error initializing userId”,e),j.Z.reject(e))}))}var pe=(0,d.z3)(“sync”,(function(e,n){return{userIdModules:e,hasValidated:n&&n.hasValidated}}),”validateGdprEnforcement”);function me(e,n,t,r){if(e.config.storage){var o,i=Q(e),a=!1;if(“number”==typeof e.config.storage.refreshInSeconds){var c=new Date(Q(e,”last”));a=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!i||a||r||!function(e,n){return null!=e&&e===X(n)}(t,n)?o=e.submodule.getId(e.config,n,i):”function”==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,n,i)),(0,l.isPlainObject)(o)&&(o.id&&(Y(e,o.id),i=o.id),”function”==typeof o.callback&&(e.callback=o.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var u=e.submodule.getId(e.config,n,void 0);(0,l.isPlainObject)(u)&&(“function”==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}ye(e.idObj)}function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae();if(e&&I){var n=oe(m(e));n&&((0,l.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(n):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(n)}))))}}function ve(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return J().fork().measureTime(“userId.init.modules”,(function(){if(!n.length)return[];if(!(n=n.filter((function(e){return(!e.config.storage||function(e){var n;switch(null===(n=e.config)||void 0===n||null===(n=n.storage)||void 0===n?void 0:n.type){case R:if(e.storageMgr.localStorageIsEnabled())return!L.getDataFromLocalStorage(F)||((0,l.logInfo)(“”.concat(q,” – opt-out localStorage found, storage disabled”)),!1);break;case N:if(e.storageMgr.cookiesAreEnabled())return!L.getCookie(F)||((0,l.logInfo)(“”.concat(q,” – opt-out cookie found, storage disabled”)),!1)}return!1}(e))&&z.isAllowed(V.EL,(0,_.T)(C.y2,e.config.name))}))).length)return(0,l.logWarn)(“”.concat(q,” – no ID module configured”)),[];var o=pe(n,t),i=o.userIdModules;if(!o.hasValidated&&!(0,S.h)(t))return(0,l.logWarn)(“”.concat(q,” – gdpr permission not valid for local storage or cookies, exit module”)),[];var a=function(){try{return L.getCookie(Z.name)}catch(e){(0,l.logError)(e)}}();!function(e){try{var n=new Date(Date.now()+864e5*Z.expires).toUTCString();L.setCookie(Z.name,X(e),n,”Lax”)}catch(e){(0,l.logError)(e)}}(t);var c=i.reduce((function(e,n){return H(n.submodule.name).measureTime(“init”,(function(){try{me(n,t,a,r),e.push(n)}catch(e){(0,l.logError)(“Error in userID module ‘”.concat(n.submodule.name,”‘:”),e)}return e}))}),[]);return c.length&&$(c),c.forEach(be.bind(null,e)),c}))}function be(e,n){for(var t=!1,r=0;r1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{}).delay,t=void 0===n?j.Z.timeout:n;I=void 0,M=[],W=[],G=!1,y=[],te=function(){var e,n,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).delay,r=void 0===t?j.Z.timeout:t,o=(0,j.P)(),i=(0,j.P)(),a=!1;function f(t){return n=J().fork(),null!=e&&e.reject(re),e=(0,j.P)(),j.Z.race([t,e.promise]).finally(n.startTiming(“userId.total”))}var g=y,p=M;function m(e){return function(){if(g===y&&p===M)return e.apply(void 0,arguments)}}function v(){return u.rp.promise.finally(n.startTiming(“userId.init.gdpr”))}var I=f(j.Z.all([d.Cd,o.promise]).then(v).then(m((function(e){ve(g,p,e)}))).then((function(){return i.promise.finally(n.startTiming(“userId.callbacks.pending”))})).then(m((function(){var e=g.filter((function(e){return(0,l.isFn)(e.callback)}));if(e.length)return new j.Z((function(n){return ee(e,n)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refresh,t=void 0!==n&&n,u=e.submoduleNames,d=void 0===u?null:u,l=e.ready;return void 0!==l&&l&&!a&&(a=!0,o.resolve(),h>0?i.resolve():c.on(s.FP.AUCTION_END,(function e(){c.off(s.FP.AUCTION_END,e),r(b).then(i.resolve)}))),t&&a&&(I=f(I.catch((function(){return null})).then(v).then(m((function(e){var n=ve(g,p.filter((function(e){return null==d||d.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(n.length)return new j.Z((function(e){return ee(n,e)}))}))))),I}}({delay:t}),null!=E&&E(),B=[],E=e.getConfig(“userSync”,(function(e){var n=e.userSync;I=n.ppid,n&&n.userIds&&(W=n.userIds,b=(0,l.isNumber)(n.syncDelay)?n.syncDelay:500,h=(0,l.isNumber)(n.auctionDelay)?n.auctionDelay:0,Ie(),te({ready:!0}))})),(0,o.R)().getUserIds=ae,(0,o.R)().getUserIdsAsEids=ce,(0,o.R)().getEncryptedEidsForSource=we(se),(0,o.R)().registerSignalSources=le,(0,o.R)().refreshUserIds=we(fe),(0,o.R)().getUserIdsAsync=we(ge),(0,o.R)().getUserIdsAsEidBySource=ue}(a.vc),(0,d.bA)(“userId”,(function(e){(0,i.sE)(B,(function(n){return n.name===e.name}))||(B.push(e),U.qh.register(C.y2,e.name,e.gvlid),Ie(),te({refresh:!0,submoduleNames:[e.name]}))})),(0,x.f8)({type:x.Z,name:”userExtEids”,fn:function(e,n,t){var r=(0,f.Z)(t,”bidRequests.0.userIdAsEids”);r&&Object.keys(r).length>0&&(0,D.N)(e,”user.ext.eids”,r)}}),(0,o.z)(“userId”)},7563:function(e,n,t){t.d(n,{G:function(){return r}});var r=(0,t(92797).z3)(“sync”,(function(){}))},26372:function(e,n,t){t.d(n,{DZ:function(){return a},Px:function(){return c},TP:function(){return s},YC:function(){return u},Z:function(){return i},f8:function(){return p},fP:function(){return m},gm:function(){return r},md:function(){return d}});var r=[“request”,”imp”,”bidResponse”,”response”],o=[“default”,”pbs”],i=r[0],a=r[1],c=r[2],u=r[3],s=o[0],d=o[1],l=new Set(r);var f,g=(f={},{registerOrtbProcessor:function(e){var n=e.type,t=e.name,o=e.fn,i=e.priority,a=void 0===i?0:i,c=e.dialects,u=void 0===c?[s]:c;if(!l.has(n))throw new Error(“ORTB processor type must be one of: “.concat(r.join(“, “)));u.forEach((function(e){f.hasOwnProperty(e)||(f[e]={}),f[e].hasOwnProperty(n)||(f[e][n]={}),f[e][n][t]={priority:a,fn:o}}))},getProcessors:function(e){return f[e]||{}}}),p=g.registerOrtbProcessor,m=g.getProcessors},17673:function(e,n,t){t.d(n,{h:function(){return o}});var r=t(20265);function o(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,”vendorData.purpose.consents.1″)}}},function(e){var n;n=82547,e(e.s=n)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[66635],{63273:function(e,t,n){var r=n(78640),i=n(64358),o=n(20265),a=n(14699),d=n(24679),c=n(15164),s=n(55975),u=n(3193),p=”prebid”,g=”vidazoo”,l=”1.0.0″,b=9e5,v=36e5,f=”vidSid”,h=”vdzwopt”,m=”wsid_”+parseInt(Date.now()*Math.random()),I=(0,c.df)({bidderCode:g});function C(){try{return(0,i.parseUrl)(window.top.document.URL,{decodeSearchAsString:!0}).search}catch(e){return””}}function S(){return”https://”.concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,”.cootlogix.com”)}function y(e){return e.cId||e.CID||e.cID||e.CId||e.cid||e.ciD||e.Cid||e.CiD}function D(e){return e.pId||e.PID||e.pID||e.PId||e.pid||e.piD||e.Pid||e.PiD}function w(e,t,n,r,a){var d,c=e.params,u=e.bidId,p=e.userId,w=e.adUnitCode,q=e.schain,x=e.mediaTypes,A=e.auctionId,k=e.transactionId,O=e.bidderRequestId,T=e.bidRequestsCount,_=e.bidderRequestsCount,z=e.bidderWinsCount,j=c.ext,F=c.bidFloor,M=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:”_”,n=e.length,r=0,i=0;if(n>0)for(;i1&&void 0!==arguments[1]?arguments[1]:b;try{var n,r=R(e),i=0;r&&r.value&&Date.now()-r.created1&&void 0!==arguments[1]?arguments[1]:v,r=”u_”.concat(e),i=Date.now(),o=R(r);!o||!o.value||i-o.created>n?U(r,t=””.concat(e,”_”).concat(i.toString())):t=o.value;return t}(M),P=R(f)||””,E=y(c),N=D(c),X=function(e){return e.subDomain||e.SubDomain||e.Subdomain||e.subdomain||e.SUBDOMAIN||e.subDOMAIN}(c),B=function(){var e=I.getDataFromLocalStorage(h);e||(e=String(Date.now()),I.setDataInLocalStorage(h,e));return e}(),V=s.S.get(g,”storageAllowed”),J=(0,o.Z)(e,”ortb2Imp.ext.gpid”,(0,o.Z)(e,”ortb2Imp.ext.data.pbadslot”,””)),W=(0,o.Z)(r,”ortb2.site.cat”,[]),G=(0,o.Z)(r,”ortb2.site.pagecat”,[]);if((0,i.isFn)(e.getFloor)){var H=e.getFloor({currency:”USD”,mediaType:”*”,size:”*”});”USD”===H.currency&&(F=H.floor)}var K,Q,Y,$={url:encodeURIComponent(t),uqs:C(),cb:Date.now(),bidFloor:F,bidId:u,referrer:r.refererInfo.ref,adUnitCode:w,publisherId:N,sessionId:P,sizes:n,dealId:Z,uniqueDealId:L,bidderVersion:l,prebidVersion:”7.52.0″,res:””.concat(screen.width,”x”).concat(screen.height),schain:q,mediaTypes:x,ptrace:B,isStorageAllowed:V,gpid:J,cat:W,pagecat:G,auctionId:A,transactionId:k,bidderRequestId:O,bidRequestsCount:T,bidderRequestsCount:_,bidderWinsCount:z,bidderTimeout:a,webSessionId:m};K=$,Q=p,(0,i._each)(Q,(function(e,t){switch(Y=”uid.”.concat(t),t){case”digitrustid”:K[Y]=(0,o.Z)(e,”data.id”);break;case”lipb”:K[Y]=e.lipbid;break;case”parrableId”:K[Y]=e.eid;break;case”id5id”:K[Y]=e.uid;break;default:K[Y]=e}}));var ee=(0,o.Z)(r,”ortb2.device.sua”);ee&&($.sua=ee),r.gdprConsent&&(r.gdprConsent.consentString&&($.gdprConsent=r.gdprConsent.consentString),void 0!==r.gdprConsent.gdprApplies&&($.gdpr=r.gdprConsent.gdprApplies?1:0)),r.uspConsent&&($.usPrivacy=r.uspConsent),r.gppConsent?($.gppString=r.gppConsent.gppString,$.gppSid=r.gppConsent.applicableSections):null!==(d=r.ortb2)&&void 0!==d&&null!==(d=d.regs)&&void 0!==d&&d.gpp&&($.gppString=r.ortb2.regs.gpp,$.gppSid=r.ortb2.regs.gpp_sid);var te={method:”POST”,url:””.concat(S(X),”/prebid/multi/”).concat(E),data:$};return(0,i._each)(j,(function(e,t){te.data[“ext.”+t]=e})),te}function R(e){try{return function(e){try{return JSON.parse(e)}catch(t){return e}}(I.getDataFromLocalStorage(e))}catch(e){}return null}function U(e,t,n){try{var r=n||Date.now(),i=JSON.stringify({value:t,created:r});I.setDataInLocalStorage(e,i)}catch(e){}}var q={code:g,version:l,gvlid:744,supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){var t=e.params||{};return!(!y(t)||!D(t))},buildRequests:function(e,t){var n=t.refererInfo.page||t.refererInfo.topmostLocation,r=u.vc.getConfig(“bidderTimeout”),o=[];return e.forEach((function(e){var a=(0,i.parseSizesInput)(e.sizes),d=w(e,n,a,t,r);o.push(d)})),o},interpretResponse:function(e,t){if(!e||!e.body)return[];var n=t.data.bidId,r=e.body.results,i=[];try{return r.forEach((function(e){var t=e.creativeId,r=e.ad,o=e.price,a=e.exp,c=e.width,s=e.height,u=e.currency,p=e.advertiserDomains,g=e.metaData,l=e.mediaType,b=void 0===l?d.Mk:l;if(r&&o){var v={requestId:n,cpm:o,width:c,height:s,creativeId:t,currency:u||”USD”,netRevenue:!0,ttl:a||300};g?Object.assign(v,{meta:g}):Object.assign(v,{meta:{advertiserDomains:p||[]}}),b===d.Mk?Object.assign(v,{ad:r}):Object.assign(v,{vastXml:r,mediaType:d.pX}),i.push(v)}})),i}catch(e){return[]}},getUserSyncs:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:””,a=[],d=e.iframeEnabled,c=e.pixelEnabled,s=n.gdprApplies,u=n.consentString,p=void 0===u?””:u,g=t.filter((function(e){return(0,o.Z)(e,”body.cid”)})).map((function(e){return e.body.cid})).filter(i.uniques),l=”?cid=”.concat(encodeURIComponent(g.join(“,”)),”&gdpr=”).concat(s?1:0,”&gdpr_consent=”).concat(encodeURIComponent(p||””),”&us_privacy=”).concat(encodeURIComponent(r||””));return d&&a.push({type:”iframe”,url:”https://sync.cootlogix.com/api/sync/iframe/”.concat(l)}),c&&a.push({type:”image”,url:”https://sync.cootlogix.com/api/sync/image/”.concat(l)}),a}};(0,a.dX)(q),(0,r.z)(“vidazooBidAdapter”)}},function(e){var t;t=63273,e(e.s=t)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[50608],{39595:function(e,r,i){var t=i(4942),n=i(78640),s=i(20265),a=i(64358),d=i(14699),o=i(24679),u=i(35706),c=i(34614),p=”https://player.sync.viewdeos.com/outstream-unit/2.01/outstream.min.js”,f=”outstream”,v=”display”,m={code:”viewdeosDX”,aliases:[“viewdeos”],gvlid:924,supportedMediaTypes:[o.pX,o.Mk],isBidRequestValid:function(e){return!!(0,s.Z)(e,”params.aid”)},getUserSyncs:function(e,r){var i=[];function t(r){var t=r.cookieURLs,n=r.cookieURLSTypes||[];Array.isArray(t)&&t.forEach((function(r,t){var s=n[t]||”image”;!e.pixelEnabled&&”image”===s||!e.iframeEnabled&&”iframe”===s||i.push({type:s,url:r})}))}return(e.pixelEnabled||e.iframeEnabled)&&(0,a.isArray)(r)&&r.forEach((function(e){e.body&&((0,a.isArray)(e.body)?e.body.forEach((function(e){t(e)})):t(e.body))})),i},buildRequests:function(e,r){return{data:b(e,r),bidderRequest:r,method:”GET”,url:”https://ghb.sync.viewdeos.com/auction/”}},interpretResponse:function(e,r){var i=r.bidderRequest;e=e.body;var t=[];return(0,a.isArray)(e)?(e.forEach((function(e){t=(0,a.flatten)(t,l(e,i))})),t):l(e,i)}};function l(e,r){var i=!e||!(0,a.isArray)(e.bids),t=[];if(i){var n=e&&e.ext&&e.ext.message?”: “.concat(e.ext.message):””,d=”in response for “.concat(r.bidderCode,” adapter “).concat(n);return(0,a.logError)(d),t}return e.bids.forEach((function(e){var i=(0,c.cx)(r.bids,(function(r){return r.bidId===e.requestId}));if(0!==e.cpm&&-1!==i){var n=r.bids[i],a=function(e,r,i){var t={requestId:e.requestId,creativeId:e.cmpId,height:e.height,currency:e.cur,width:e.width,cpm:e.cpm,netRevenue:!0,mediaType:r,ttl:3600,meta:{advertiserDomains:e.adomain||[]}};if(r===v)return Object.assign(t,{ad:e.ad});Object.assign(t,{vastUrl:e.vastUrl}),r===f&&Object.assign(t,{mediaType:”video”,adResponse:e,renderer:y(e.requestId,i)});return t}(e,function(e){var r=(0,s.Z)(e,”mediaTypes.video”),i=(0,s.Z)(e,”mediaTypes.video.context”);return r?i===f?f:o.pX:v}(n),n.params);t.push(a)}})),t}function b(e,r){var i,n,d,u,c,p,f={domain:(0,s.Z)(r,”refererInfo.page”)};(0,s.Z)(r,”gdprConsent.gdprApplies”)&&(f.gdpr=1,f.gdpr_consent=(0,s.Z)(r,”gdprConsent.consentString”)),(0,s.Z)(r,”bidderRequest.uspConsent”)&&(f.us_privacy=r.uspConsent);for(var m=0,l=e.length;m=1&&e<=5}),t),1===d&&(i(“video.startdelay”,(function(e){return n(e)}),(function(e,t){return r(e,t,”placement == 1″)})),i(“video.startdelay”,(function(e){return(0,a.isNumber)(e)}),t,”number, ex: 5″)),i(“video.protocols”,(function(e){return n(e)}),r),i(“video.protocols”,(function(e){return(0,a.isArrayOfNums)(e)&&e.every((function(e){return e>=1&&e<=6}))}),t,”array of numbers, ex: [2,3]”),i(“video.api”,(function(e){return n(e)}),r),i(“video.api”,(function(e){return(0,a.isArrayOfNums)(e)&&e.every((function(e){return e>=1&&e<=6}))}),t,”array of numbers, ex: [2,3]”),i(“video.playbackmethod”,(function(e){return!n(e)||(0,a.isArrayOfNums)(e)}),t,”array of integers, ex: [2,6]”),i(“video.maxduration”,(function(e){return n(e)}),r),i(“video.maxduration”,(function(e){return(0,a.isInteger)(e)}),t),i(“video.minduration”,(function(e){return!n(e)||(0,a.isNumber)(e)}),t),i(“video.skippable”,(function(e){return!n(e)||(0,a.isBoolean)(e)}),t),i(“video.skipafter”,(function(e){return!n(e)||(0,a.isNumber)(e)}),t),i(“video.pos”,(function(e){return!n(e)||(0,a.isNumber)(e)}),t),i(“params.badv”,(function(e){return!n(e)||(0,a.isArray)(e)}),t,’array of strings, ex: [“ford.com”,”pepsi.com”]’),i(“params.bcat”,(function(e){return!n(e)||(0,a.isArray)(e)}),t,’array of strings, ex: [“IAB1-5″,”IAB1-6”]’),!0}catch(e){return(0,a.logError)(e.message),!1}}(e))},buildRequests:function(e,r){var t=function(e){var r;return!(null===(r=e.refererInfo)||void 0===r||null===(r=r.referer)||void 0===r||!r.includes(“pb_force_a”))}(r),n=E(“/exchange/prebid”,t),i=E(“/exchange/prebidvideo”,t),u=e.filter((function(e){return Z(e)})),s=e.filter((function(e){return k(e)})),f=[],m=function(e){if((0,o.Z)(e,”userIdAsEids”))return e.userIdAsEids||[]}(e[0])||[];if(u.length>0){var l={pbav:”7.52.0″,p:[],page_url:r.refererInfo.page,bust:(new Date).getTime().toString(),dnt:”1″===window.doNotTrack||”1″===window.navigator.doNotTrack||!1,description:N(),userConsent:JSON.stringify({gdprApplies:(0,o.Z)(r,”gdprConsent.gdprApplies”)||””,cmp:(0,o.Z)(r,”gdprConsent.consentString”)||””,gpp:(0,o.Z)(r,”gppConsent.gppString”)||””,gpp_sid:(0,o.Z)(r,”gppConsent.applicableSections”)||[]}),us_privacy:(0,o.Z)(r,”uspConsent”)||””};(function(){try{if((0,a.getWindowTop)().location.href)return!0}catch(e){return!1}})()&&(l.pr=h.document&&h.document.referrer||””,l.scrd=h.devicePixelRatio||0,l.title=h.document.title||””,l.w=h.innerWidth,l.h=h.innerHeight);var v=window.navigator.maxTouchPoints;v&&(l.mtp=v),u.forEach((function(e){l.p.push(function(e){var r=(0,o.Z)(e,”ortb2Imp.ext.data.pbadslot”),t={placement_id:e.adUnitCode,callback_id:e.bidId,sizes:e.mediaTypes.banner.sizes};if(e.params){e.params.placementId&&(t.ym_placement_id=e.params.placementId);var n=A(e,c.Mk);n&&(t.bidFloor=n)}r&&(t.gpid=r);var i=(0,o.Z)(e,”ortb2Imp.ext.tid”);i&&(t.tid=i);e.auctionId&&(t.auctionId=e.auctionId);return JSON.stringify(t)}(e));var r=S(e,”pubcid”);r?l.pubcid=r:e.crumbs&&e.crumbs.pubcid&&(l.pubcid=e.crumbs.pubcid);var t=S(e,”tdid”);t&&(l.tdid=t);var n=S(e,”criteoId”);n&&(l.cri_prebid=n),e.schain&&(l.schain=JSON.stringify(e.schain)),(0,o.Z)(e,”params.lr_env”)&&(l.ats_envelope=e.params.lr_env)})),l.p=”[“+l.p.toString()+”]”,m.length&&(l.eids=JSON.stringify(m));var y=””.concat(n,”?”).concat((0,a.parseQueryStringParameters)(l)).length-8e3;if(y>0)for(var w=0;w0){var C=function(e,r){var t=e[0].schain,n={id:e[0].bidderRequestId,tmax:r.timeout||400,at:1,imp:e.map((function(e){return function(e){var r=(0,o.Z)(e,”ortb2Imp.ext.data.pbadslot”),t=function(e){var r=(0,o.Z)(e,”mediaTypes.video.playerSize”);if((0,a.isArrayOfNums)(r,2))return r;if((0,a.isArray)(r)&&(0,a.isArrayOfNums)(r[0],2))return r[0];return null}(e),n={id:e.bidId,tagid:e.adUnitCode,bidfloor:A(e,c.pX),ext:{placement_id:e.params.placementId,tid:(0,o.Z)(e,”ortb2Imp.ext.tid”)},video:{w:t[0],h:t[1],linearity:1}},i=(0,o.Z)(e,”mediaTypes.video”);Object.keys(i).filter((function(e){return(0,p.q9)(g,e)})).forEach((function(e){return n.video[e]=i[e]}));var d=(0,o.Z)(e,”params.video”);Object.keys(d).filter((function(e){return(0,p.q9)(g,e)})).forEach((function(e){return n.video[e]=d[e]})),n.video.skippable&&(n.video.skip=1,delete n.video.skippable);1!==n.video.placement&&(n.video.startdelay=I,n.video.playbackmethod=[b]);r&&(n.ext.gpid=r);return n}(e)})),site:T(e[0],r),device:(0,o.Z)(r,”ortb2.device”),badv:e[0].params.badv||[],bcat:(0,o.Z)(r,”bcat”)||e[0].params.bcat||[],ext:{prebid:”7.52.0″},ats_envelope:e[0].params.lr_env};t&&(n.schain=t);e[0].auctionId&&(n.auctionId=e[0].auctionId);return function(e,r){var t=r.gdprConsent,n=(0,o.Z)(r,”gppConsent.gppString”),i=(0,o.Z)(r,”gppConsent.applicableSections”);n?(0,d.N)(e,”regs.ext.gpp”,n):((0,d.N)(e,”regs.ext.gdpr”,t&&t.gdprApplies?1:0),(0,d.N)(e,”user.ext.consent”,t&&t.consentString?t.consentString:””));i&&i.length>0&&(0,d.N)(e,”regs.ext.gpp_sid”,i);var a=(0,o.Z)(r,”uspConsent”);!n&&a&&(0,d.N)(e,”regs.ext.us_privacy”,a)}(n,r),n}(s,r);m.length&&(C.user={eids:m}),f.push({method:”POST”,url:i,data:C})}return f},interpretResponse:function(e,r){var t=[],n=e.body;(n.length>0&&n.forEach((function(e){e.cpm>0&&t.push(function(e){return{dealId:e.publisherDealId,requestId:e.callback_id,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creative_id,currency:f,netRevenue:l,ttl:300,ad:e.ad,meta:{advertiserDomains:e.adomain||[],mediaType:c.Mk}}}(e))})),n.seatbid)&&n.seatbid.reduce((function(e,r){return e.concat(r.bid)}),[]).forEach((function(e){return t.push(function(e,r){var t=(0,p.sE)((0,o.Z)(r,”data.imp”)||[],(function(r){return r.id===e.impid})),n={dealId:e.dealid,requestId:t.id,cpm:e.price,width:t.video.w,height:t.video.h,creativeId:e.crid||e.adid,currency:f,netRevenue:l,mediaType:c.pX,ttl:m,vastXml:e.adm,meta:{advertiserDomains:e.adomain||[],mediaType:c.pX}};if(t.video.placement&&1!==t.video.placement){var i=s.Th.install({url:v,config:{width:n.width,height:n.height,vastTimeout:15e3,maxAllowedVastTagRedirects:5,allowVpaid:!0,autoPlay:!0,preload:!0,mute:!0},id:t.tagid,loaded:!1});i.setRender((function(e){e.renderer.push((function(){var r=e.renderer,t=r.id,n=r.config;window.YMoutstreamPlayer(e,t,n)}))})),n.renderer=i}return n}(e,r))}));return t},getUserSyncs:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:””,i=[],a=”&gdpr=”.concat(t.gdprApplies?1:0),o=”&gdpr_consent=”.concat(encodeURIComponent(t.consentString||””)),d=”us_privacy=”.concat(encodeURIComponent(n)),c=””.concat(“https://ads.yieldmo.com/pbcas”,”?”).concat(d).concat(a).concat(o);return e.iframeEnabled?i.push({type:”iframe”,url:c+”&type=iframe”}):e.pixelEnabled&&i.push({type:”image”,url:c+”&type=image”}),i}};function Z(e){return!!(0,o.Z)(e,”mediaTypes.banner”)}function k(e){return!!(0,o.Z)(e,”mediaTypes.video”)}function N(){return document.querySelector(‘meta[name=”description”]’)&&document.querySelector(‘meta[name=”description”]’).getAttribute(“content”)||””}function S(e,r){return”object”===(0,n.Z)((0,o.Z)(e,”userId”))?e.userId[r]:void 0}function A(e,r){var t={};return”function”==typeof e.getFloor&&(t=e.getFloor({currency:f,mediaType:r,size:”*”})),t.floor||e.params.bidfloor||e.params.bidFloor||0}function T(e,r){var t,n={},i=(0,a.parseUrl)((0,o.Z)(r,”refererInfo.page”));(0,a.isEmpty)(i)||(n.page=””.concat(i.protocol,”://”).concat(i.hostname).concat(i.pathname)),null!==(t=r.refererInfo)&&void 0!==t&&t.ref&&(n.ref=r.refererInfo.ref);var d=document.getElementsByTagName(“meta”).keywords;d&&d.content&&(n.keywords=d.content);var c=(0,o.Z)(e,”params.site”);return c&&Object.keys(c).filter((function(e){return(0,p.q9)(y,e)})).forEach((function(e){return n[e]=c[e]})),n}function _(e,r,t){if(r[t].length>e)return r[t]=r[t].substring(0,r[t].length-e),0;var n=e-r[t].length;return r[t]=””,n}function E(e,r){return””.concat(r?”https://ads-stg.yieldmo.com”:”https://ads.yieldmo.com”).concat(e)}(0,u.dX)(w),(0,i.z)(“yieldmoBidAdapter”)}},function(e){var r;r=55511,e(e.s=r)}]); })(),pbjs.processQueue();



Source link

Products You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *