November 10, 2024

The Deepfake Porn Problem Is Bigger Than Taylor Swift

Taylor #Taylor

“));var v=w[n.size_id].split(“x”).map(function(e){return Number(e)}),m=(0,o.Z)(v,2);p.width=m[0],p.height=m[1]}p.rubiconTargeting=(Array.isArray(n.targeting)?n.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:l.adUnitCode}),t.push(p)}else(0,g.H)(“Rubicon: bidRequest undefined at index position:”.concat(r),u,e);return t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,n,r,i){if(!j&&e.iframeEnabled){var o,a={};return n&&(“boolean”==typeof n.gdprApplies&&(a.gdpr=Number(n.gdprApplies)),”string”==typeof n.consentString&&(a.gdpr_consent=n.consentString)),r&&(a.us_privacy=encodeURIComponent(r)),null!=i&&i.gppString&&(a.gpp=i.gppString,a.gpp_sid=null===(o=i.applicableSections)||void 0===o?void 0:o.toString()),a=Object.keys(a).length?”?”.concat((0,g.Yp)(a)):””,j=!0,{type:”iframe”,url:”https://”.concat(I.syncHost||”eus”,”.rubiconproject.com/usync.html”)+a}}},transformBidParams:function(e,t){return(0,g.uh)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function E(e,t){var n;return n=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?n.replace(/^http:/i,”https:”):n}function C(e){var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector(“div[id^=’google_ads’]”))&&t.style.setProperty(“display”,”none”),function(e){var t=e.querySelector(“script[id^=’sas_script’]”),n=t&&t.nextSibling;n&&”iframe”===n.localName&&n.style.setProperty(“display”,”none”)}(n);var r=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:n,align:r.align||”center”,position:r.position||”append”},closeButton:r.closeButton||!1,label:r.label||void 0,collapse:r.collapse||!0})})}function x(e,t){var n=e.params;if(t===f.pX){var r=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?r=[n.video.playerWidth,n.video.playerHeight]:Array.isArray((0,b.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?r=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(r=e.sizes[0]),r}var i=[];return Array.isArray(n.sizes)?i=n.sizes:void 0!==(0,b.Z)(e,”mediaTypes.banner.sizes”)?i=A(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=A(e.sizes):(0,g.yN)(“Rubicon: no sizes are setup or found”),function(e){var t=[15,2,9];return i.sort(function(e,n){var r=t.indexOf(e),i=t.indexOf(n);return r>-1||i>-1?-1===r?1:-1===i?-1:r-i:e-n})}()}function A(e){return(0,g.sF)(e).reduce(function(e,t){var n=parseInt(w[t],10);return n&&e.push(n),e},[])}function S(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];if(function(e){var t=void 0!==(0,b.Z)(e,”mediaTypes.”.concat(f.pX)),n=void 0!==(0,b.Z)(e,”mediaTypes.”.concat(f.Mk)),r=void 0!==(0,b.Z)(e,”params.bidonmultiformat”),i=”object”!==(0,a.Z)((0,b.Z)(e,”params.video”));return!(!t||!r)||(n&&i&&(t=!1),t&&i&&(0,m.N)(e,”params.video”,{}),t)}(e)){if(-1===[“outstream”,”instream”].indexOf((0,b.Z)(e,”mediaTypes.”.concat(f.pX,”.context”))))return t&&(0,g.H)(“Rubicon: mediaTypes.video.context must be outstream or instream”),n;if(x(e,f.pX).length0)return f.getDataFromLocalStorage(e)}}function h(e,t){return function(n,r){t?y(t,e,function(){n(r()||e)})():n(e)}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:””,n=arguments.length>2?arguments[2]:void 0;if(e){var r=(0,o.en)(e);r.search.id=encodeURIComponent(“pubcid:”+t);var i=(0,o.Q2)(r);return function(){(0,o.hq)(i,n)}}}function _(){return!!(f.cookiesAreEnabled()&&b(g,p)||f.hasLocalStorage()&&b(g,v))}var I={name:”sharedId”,aliasName:”pubCommonId”,gvlid:u.$P,decode:function(e,t){if(!_())return(0,o.PN)(” Decoded value PubCommonId “+e),{pubcid:e};(0,o.PN)(“PubCommonId decode: Has opted-out”)},getId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>2?arguments[2]:void 0;if(_())(0,o.PN)(“PubCommonId: Has opted-out”);else{if(!s.VP.getCoppa()){var n=e.params,i=(n=void 0===n?{}:n).create,a=void 0===i||i,c=n.pixelUrl,u=t;if(!u){try{“object”===(0,r.Z)(window[m])&&(u=window[m].getId())}catch(e){}u||(u=a&&(0,o.wn)()?(0,o.DO)():void 0)}return{id:u,callback:h(u,c)}}(0,o.PN)(“PubCommonId: IDs not provided for coppa requests, exiting PubCommonId”)}},extendId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>2?arguments[2]:void 0;if(_())return(0,o.PN)(“PubCommonId: Has opted-out”),{id:void 0};if(s.VP.getCoppa())(0,o.PN)(“PubCommonId: IDs not provided for coppa requests, exiting PubCommonId”);else{var n=e.params,r=(n=void 0===n?{}:n).extend,i=void 0!==r&&r,a=n.pixelUrl;if(i)return a?{callback:y(a,t)}:{id:t}}},domainOverride:(0,l.U)(f,”sharedId”),eids:{pubcid:{source:”pubcid.org”,atype:1}}};(0,a.Bx)(“userId”,I),(0,i.z)(“sharedIdSystem”)}},function(e){e.O(0,[748],function(){return 4834,e(e.s=4834)}),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[29],{6401:function(e,t,n){var r=n(4942),i=n(8640),o=n(4358),a=n(265),s=n(5339),c=n(5164);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t=0?n.connection.downlink.toString():””),timeToFirstByte:g(window),data:r,deviceWidth:screen.width,hb_version:”8.9.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”},n={};for(var r in t){var i=t[r],o=(0,a.Z)(e,”0.userId.”.concat(i));o&&(n[r]=o)}return n}(e)),function(e){var t=(0,a.Z)(e,”0.userId.teadsId”);if(t)return{firstPartyCookieTeadsId:t};if(f.cookiesAreEnabled(null)){var n=f.getCookie(“_tfpvi”,null);if(n)return{firstPartyCookieTeadsId:n}}return{}}(e)),o=e[0];o.schain&&(i.schain=o.schain);var s=t.gdprConsent;if(t&&s){var c=”boolean”==typeof s.gdprApplies,u=”string”==typeof s.consentString,l=c?function(e,t){var n=12;return e?t&&!t.isServiceSpecific&&(n=11):n=0,n}(s.gdprApplies,s.vendorData):22;i.gdpr_iab={consent:u?s.consentString:””,status:l,apiVersion:s.apiVersion}}t&&t.uspConsent&&(i.us_privacy=t.uspConsent);var p=(0,a.Z)(o,”ortb2.device.sua”);return p&&(i.userAgentClientHints=p),{method:”POST”,url:”https://a.teads.tv/hb/bid-request”,data:JSON.stringify(i)}},interpretResponse:function(e,t){var n=[];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),n.push(t)}),n}};function v(e){var t=””;return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function g(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,n=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(n)return n.toString();var r=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return r?r.toString():””}function m(e){var t,n,r={},i=(0,o.NA)(e.params,”placementId”),s=(0,o.NA)(e.params,”pageId”),c=(0,a.Z)(e,”ortb2Imp.ext.gpid”),u=(0,a.Z)(e,”mediaTypes.video.plcmt”);return r.sizes=function(e){return(0,o.sF)(function(e){var t=(0,a.Z)(e,”mediaTypes.video.playerSize”),n=(0,a.Z)(e,”mediaTypes.video.sizes”),r=(0,a.Z)(e,”mediaTypes.banner.sizes”);return(0,o.kJ)(r)||(0,o.kJ)(t)||(0,o.kJ)(n)?[r,n,t].reduce(function(e,t){return(0,o.kJ)(t)&&((0,o.kJ)(t[0])?t.forEach(function(t){e.push(t)}):e.push(t)),e},[]):e.sizes}(e))}(e),r.bidId=(0,o.An)(“bidId”,e),r.bidderRequestId=(0,o.An)(“bidderRequestId”,e),r.placementId=parseInt(i,10),r.pageId=parseInt(s,10),r.adUnitCode=(0,o.An)(“adUnitCode”,e),r.transactionId=(null===(t=e.ortb2Imp)||void 0===t||null===(n=t.ext)||void 0===n?void 0:n.tid)||””,c&&(r.gpid=c),u&&(r.videoPlcmt=u),r}function b(e){return parseInt(e)>0}(0,s.dX)(p),(0,i.z)(“teadsBidAdapter”)}},function(e){e(e.s=6401)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[161],{8622:function(e,t,n){var r=n(4942),i=n(9062),o=n(3324),a=n(8640),s=n(4358),c=n(5102),u=n(2797),d=n(8792),l=n(3193),f=n(5164),p=n(4614),v=n(571),g=n(4947),m=n(286),b=n(9633),h=!1,y={maxTopicCaller:2,bidders:[{bidder:”pubmatic”,iframeURL:”https://ads.pubmatic.com/AdServer/js/topics/topics_frame.html”},{bidder:”rtbhouse”,iframeURL:”https://topics.authorizedvault.com/topicsapi.html”}]},_=(0,f.eA)(“topicsFpd”),I=”prebid:topics”,w=”lastUpdated”,O=[],T={1:600,2:601,3:602,4:603};function E(e,t){return t.reduce(function(t,n){var r=n[e];return t.hasOwnProperty(r)||(t[r]=[]),t[r].push(n),t},{})}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T;return Object.entries(E(“taxonomyVersion”,t)).filter(function(e){var t=(0,o.Z)(e,1)[0];return!!n.hasOwnProperty(t)||((0,s.yN)(‘Unrecognized taxonomyVersion from Topics API: “‘.concat(t,'”; topic will be ignored’)),!1)}).flatMap(function(t){var r=(0,o.Z)(t,2),i=r[0],a=r[1];return Object.entries(E(“modelVersion”,a)).map(function(t){var r=(0,o.Z)(t,2),a=r[0],s=r[1],c={ext:{segtax:n[i],segclass:a},segment:s.map(function(e){return{id:e.topic.toString()}})};return null!=e&&(c.name=e),c})})}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return”browsingTopics”in e&&e.featurePolicy.allowsFeature(“browsing-topics”)}var A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=null;try{x(e)&&(t=d.Z.resolve(e.browsingTopics()))}catch(e){(0,s.H)(“Could not call topics API”,e)}return null==t&&(t=d.Z.resolve([])),t}().then(function(e){return C((0,c.nH)().domain,e)});function S(){var e=[],t=(l.vc.getConfig(“userSync.topics”)||y).bidders||[],n=new Map((0,s.dj)(_.getDataFromLocalStorage(I)));return n&&n.forEach(function(r,o){var a=t.find(function(e){var t=e.bidder;return o===t});a&&(0,v.xD)(g.S5,(0,m.T)(b.UL,o))&&(j(r.lastUpdated,(null==a?void 0:a.expiry)||21)?(n.delete(o),_.setDataInLocalStorage(I,JSON.stringify((0,i.Z)(n)))):Object.keys(r).forEach(function(t){t!==w&&e.push(r[t])}))}),e}function k(e){if(e&&e.data)try{var t=(0,s.dj)(e.data);if((0,p.q9)(O,e.origin)&&t&&t.segment&&!(0,s.xb)(t.segment.topics)){var n=t.segment,r=n.domain,i=n.topics,o=n.bidder,a=C(r,i);a&&P(o,a)}}catch(e){}}function P(e,t){var n=new Map((0,s.dj)(_.getDataFromLocalStorage(I))),o=(0,r.Z)({},w,(new Date).getTime());t.forEach(function(e){o[e.ext.segclass]=e}),n.set(e,o),_.setDataInLocalStorage(I,JSON.stringify((0,i.Z)(n)))}function j(e,t){var n=(new Date).getTime();return Math.ceil((n-e)/864e5)>t}function B(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(x(e)){var t=l.vc.getConfig(“userSync.topics”)||y;if(t){window.addEventListener(“message”,k,!1);var n=function(e,t){return(0,i.Z)(e).sort(function(){return.5-Math.random()}).slice(0,t)}(t.bidders||[],t.maxTopicCaller||1);n&&n.forEach(function(t){var n=t.bidder,r=t.iframeURL,i=t.fetchUrl,o=t.fetchRate;if(n&&r){var a=e.createElement(“iframe”);a.name=”ifrm_”.concat(n),a.src=””.concat(r,”?bidder=”).concat(n),a.style.display=”none”,function(e){O.push(e)}(new URL(r).origin),r&&e.documentElement.appendChild(a)}if(n&&i){var c=new Map((0,s.dj)(_.getDataFromLocalStorage(I))).get(n);(!c||c&&j(c.lastUpdated,o||1))&&window.fetch(“”.concat(i,”?bidder=”).concat(n),{browsingTopics:!0}).then(function(e){return e.json()}).then(function(e){if(e&&e.segment&&!(0,s.xb)(e.segment.topics)){var t=e.segment,n=t.domain,r=t.topics,i=t.bidder,o=C(n,r);o&&P(i,o)}})}})}else(0,s.yN)(“Topics config not defined under userSync Object”)}}(0,u.Bx)(“firstPartyData”,{name:”topics”,queue:1,processFpd:function(e,t){var n=t.global,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).data,i=void 0===r?A:r;return h||(B(),h=!0),i.then(function(e){return(e=[].concat(e,S())).length&&(0,s.Ee)(n,{user:{data:e}}),{global:n}})}}),(0,a.z)(“topicsFpdModule”)}},function(e){e(e.s=8622)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[599],{789:function(e,t,n){var r=n(1002),i=n(9062),o=n(4942),a=n(8640),s=n(4358),c=n(4679),u=n(5339),d=n(3193),l=n(5164);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t0&&(o.user={ext:{eids:u}});var d=function(e,t){var n={};return(0,s.xb)(e)||(n.schain=p({},e)),(0,s.xb)(t)||(n.fpd=p({},t)),n}(a,c);return(0,s.xb)(d)||(o.ext=d),null!=t&&null!==(n=t.ortb2)&&void 0!==n&&null!==(r=n.regs)&&void 0!==r&&r.gpp&&(o.regs=Object.assign({},t.ortb2.regs)),null!=t&&t.ortb2&&(o.ext.ortb2=Object.assign({},t.ortb2)),o}(e,t);if(n=(0,s.t0)(n,”lib”,”prebid”),n=(0,s.t0)(n,”v”,”8.9.0″),t&&t.refererInfo){var o=t.refererInfo.page;n=(0,s.t0)(n,”referrer”,o)}return t&&t.timeout&&(n=(0,s.t0)(n,”tmax”,t.timeout)),t&&t.gdprConsent&&(g=void 0===t.gdprConsent.gdprApplies||t.gdprConsent.gdprApplies,n=(0,s.t0)(n,”gdpr”,g.toString()),void 0!==t.gdprConsent.consentString&&(m=t.gdprConsent.consentString,n=(0,s.t0)(n,”cmp_cs”,m))),t&&t.uspConsent&&(n=(0,s.t0)(n,”us_privacy”,t.uspConsent)),t&&t.fledgeEnabled&&(n=(0,s.t0)(n,”fledge”,t.fledgeEnabled)),!0===d.vc.getConfig(“coppa”)&&(n=(0,s.t0)(n,”coppa”,!0)),n.lastIndexOf(“&”)===n.length-1&&(n=n.substring(0,n.length-1)),(0,s.ji)(“tlCall request built: “+n),{method:”POST”,url:n,data:r,bidderRequest:t}},interpretResponse:function(e,t){var n=t.bidderRequest;return(e.body.bids||[]).map(function(e){return function(e,t){var n={},r=t.width||1,i=t.height||1,o=t.deal_id||””,a=t.crid||””,s=e.bids[t.imp_id];return 0!=t.cpm&&t.ad&&(n={requestId:s.bidId,cpm:t.cpm,width:r,height:i,netRevenue:!0,ad:t.ad,creativeId:a,dealId:o,currency:”USD”,ttl:300,tl_source:t.tl_source,meta:{}},y(s)&&”video”===t.media_type&&(n.vastXml=t.ad,n.mediaType=”video”,n.ttl=3600),t.advertiser_name&&(n.meta.advertiserName=t.advertiser_name),t.adomain&&t.adomain.length&&(n.meta.advertiserDomains=t.adomain),t.tl_source&&”hdx”==t.tl_source&&(y(s)&&”video”===t.media_type?n.meta.mediaType=”video”:n.meta.mediaType=”banner”),t.tl_source&&”tlx”==t.tl_source&&(n.meta.mediaType=”native”),a&&(n.meta.networkId=a.slice(0,a.indexOf(“_”)))),n}(n,e)})},getUserSyncs:function(e,t,n,r,i){var o=function(e){if(e)return e.iframeEnabled?”iframe”:e.pixelEnabled?”image”:void 0}(e);if(o){var a=”https://eb2.3lift.com/sync?”;return”image”===o&&(a=(0,s.t0)(a,”px”,1),a=(0,s.t0)(a,”src”,”prebid”)),(null!==m||g)&&(a=(0,s.t0)(a,”gdpr”,g),a=(0,s.t0)(a,”cmp_cs”,m)),r&&(a=(0,s.t0)(a,”us_privacy”,r)),i&&(i.gppString&&(a=(0,s.t0)(a,”gpp”,i.gppString)),i.applicableSections&&0!==i.applicableSections.length&&(a=(0,s.t0)(a,”gpp_sid”,i.applicableSections.filter(function(e){return Number.isInteger(e)}).join(“,”)))),[{type:o,url:a}]}}};function y(e){return I(e)&&(_(e)||function(e){return I(e)&&”outstream”===e.mediaTypes.video.context.toLowerCase()}(e))}function _(e){return I(e)&&”instream”===e.mediaTypes.video.context.toLowerCase()}function I(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function w(e){var t=null;if(“function”==typeof e.getFloor)try{var n=e.getFloor({currency:”USD”,mediaType:y(e)?”video”:”banner”,size:”*”});”object”!==(0,r.Z)(n)||”USD”!==n.currency||isNaN(parseFloat(n.floor))||(t=parseFloat(n.floor))}catch(e){(0,s.H)(“Triplelift: getFloor threw an error: “,e)}return null!==t?t:e.params.floor}function O(e,t){(0,s.xb)(t)||Object.keys(t).forEach(function(n){null!=t[n]&&(e[n]=t[n])})}function T(e,t,n,r){return e.map(function(e){return function(t){return t&&t.userId&&t.userId[e]}}(t)).filter(E(t)).map(function(e,t){return function(n){return{source:e,uids:[{id:n.id?n.id:n,ext:{rtiPartner:t}}]}}}(n,r))}var E=function(e){return function(t,n,r){var i=!!t&&((0,s.d8)(t)?!!t:(0,s.PO)(t)&&!(0,s.kJ)(t)&&!(0,s.xb)(t)&&t.id&&(0,s.d8)(t.id)&&!!t.id);return i||void 0===r[0]||(0,s.yN)(“Triplelift: invalid “.concat(e,” userId format”)),i}};function C(e){return e.filter(x).map(function(e){return{w:e[0],h:e[1]}})}function x(e){return 2===e.length&&”number”==typeof e[0]&&”number”==typeof e[1]}(0,u.dX)(h),(0,a.z)(“tripleliftBidAdapter”)}},function(e){e(e.s=789)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[158],{3446:function(e,t,n){var r=n(8640),i=n(6475),o=n(4358),a=n(265),s=n(3193),c=n(5339),u=n(4679);function d(e){var t;return{ttdprebid:{ver:”TTD-PREBID-2022.06.28″,pbjs:”8.9.0″,keywords:null!==(t=e.site)&&void 0!==t&&t.keywords?e.site.keywords.split(“,”).map(function(e){return e.trim()}):[]}}}function l(e){var t,n={};return e.gdprConsent&&”boolean”==typeof e.gdprConsent.gdprApplies&&i.N(n,”ext.gdpr”,e.gdprConsent.gdprApplies?1:0),e.uspConsent&&i.N(n,”ext.us_privacy”,e.uspConsent),!0===s.vc.getConfig(“coppa”)&&(n.coppa=1),null!==(t=e.ortb2)&&void 0!==t&&t.regs&&o.Ee(n,e.ortb2.regs),n}function f(e,t){var n,r,o={tid:null==t||null===(n=t.ortb2)||void 0===n||null===(r=n.source)||void 0===r?void 0:r.tid};return e[0].schain&&i.N(o,”ext.schain”,e[0].schain),o}function p(e){var t=navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage,n={ua:navigator.userAgent,dnt:o.oV()?1:0,language:t,connectiontype:v()};return o.Ee(n,e.device),n}function v(){var e=navigator.connection||navigator.webkitConnection;if(!e)return 0;switch(e.type){case”ethernet”:return 1;case”wifi”:return 2;case”cellular”:switch(e.effectiveType){case”slow-2g”:case”2g”:return 4;case”3g”:return 5;case”4g”:return 6;default:return 3}default:return 0}}function g(e,t){var n={};e.gdprConsent&&i.N(n,”ext.consent”,e.gdprConsent.consentString),o.d8(a.Z(e,”bids.0.userId.tdid”))&&(n.buyeruid=e.bids[0].userId.tdid);var r=a.Z(e,”bids.0.userIdAsEids”);return r&&r.length&&i.N(n,”ext.eids”,r),o.Ee(n,t.user),n}function m(e,t){var n=o.Ee({page:a.Z(e,”refererInfo.page”),ref:a.Z(e,”refererInfo.ref”),publisher:{id:a.Z(e,”bids.0.params.publisherId”)}},t.site),r=e.refererInfo.domain;return r&&i.N(n,”publisher.domain”,r),n}var b={code:”ttd”,gvlid:21,aliases:[“thetradedesk”],supportedMediaTypes:[u.Mk,u.pX],isBidRequestValid:function(e){if(!e||!e.params)return o.yN(“ttd: Missing bid parameters”),!1;if(!e.params.supplySourceId)return o.yN(“ttd: Missing required parameter params.supplySourceId”),!1;if(!/^[w+]+$/.test(e.params.supplySourceId))return o.yN(“ttd: supplySourceId must only contain alphabetic characters”),!1;if(!e.params.publisherId)return o.yN(“ttd: Missing required parameter params.publisherId”),!1;if(e.params.publisherId.length>32)return o.yN(“ttd: params.publisherId must be 32 characters or less”),!1;if(e.params.bidfloor&&isNaN(parseFloat(e.params.bidfloor)))return!1;var t=a.Z(e,”ortb2Imp.ext.gpid”);if(!e.params.placementId&&!t)return o.yN(“ttd: one of params.placementId or gpid (via the GPT module https://docs.prebid.org/dev-docs/modules/gpt-pre-auction.html) must be passed”),!1;var n=a.Z(e,”mediaTypes.banner”),r=a.Z(e,”mediaTypes.video”);if(!n&&!r)return o.yN(“ttd: one of mediaTypes.banner or mediaTypes.video must be passed”),!1;if(r){if(!r.maxduration||!o.U(r.maxduration))return o.yN(“ttd: mediaTypes.video.maxduration must be set to the maximum video ad duration in seconds”),!1;if(!r.api||0===r.api.length)return o.yN(“ttd: mediaTypes.video.api should be an array of supported api frameworks. See the Open RTB v2.5 spec for valid values”),!1;if(!r.mimes||0===r.mimes.length)return o.yN(“ttd: mediaTypes.video.mimes should be an array of supported mime types”),!1;if(!r.protocols)return o.yN(“ttd: mediaTypes.video.protocols should be an array of supported protocols. See the Open RTB v2.5 spec for valid values”),!1}return!0},buildRequests:function(e,t){var n=t.ortb2||{},r={id:t.auctionId,imp:e.map(function(e){return function(e){var t={id:e.bidId},n=a.Z(e,”ortb2Imp.ext.gpid”)||e.params.placementId;n&&(t.tagid=n);var r=a.Z(e,”mediaTypes.video”),i={};a.Z(e,”mediaTypes.banner”)&&(i[u.Mk]=function(e){var t=function(e){return o.sF(e).filter(function(e){return e}).map(function(e){return e.split(“x”)}).map(function(e){return{width:parseInt(e[0]),height:parseInt(e[1])}})}(e.mediaTypes.banner.sizes).map(function(e){return{w:e.width,h:e.height}}),n=parseInt(a.Z(e,”mediaTypes.banner.pos”)),r=a.Z(e,”params.banner.expdir”),i={};n&&(i.pos=n),r&&Array.isArray(r)&&(i.expdir=r);var s=Object.assign({w:t[0].w,h:t[0].h,format:t},i),c=a.Z(e,”ortb2Imp.battr”);return c&&(s.battr=c),s}(e)),r&&(i[u.pX]=function(e){var t=a.Z(e,”mediaTypes.video.minduration”),n=a.Z(e,”mediaTypes.video.maxduration”),r=a.Z(e,”mediaTypes.video.playerSize”),i=a.Z(e,”mediaTypes.video.api”),s=a.Z(e,”mediaTypes.video.mimes”),c=a.Z(e,”mediaTypes.video.placement”),u=a.Z(e,”mediaTypes.video.plcmt”),d=a.Z(e,”mediaTypes.video.protocols”),l=a.Z(e,”mediaTypes.video.playbackmethod”),f=a.Z(e,”mediaTypes.video.pos”),p=a.Z(e,”mediaTypes.video.startdelay”),v=a.Z(e,”mediaTypes.video.skip”),g=a.Z(e,”mediaTypes.video.skipmin”),m=a.Z(e,”mediaTypes.video.skipafter”),b=a.Z(e,”mediaTypes.video.minbitrate”),h=a.Z(e,”mediaTypes.video.maxbitrate”);t&&o.U(t)||(t=0);var y={minduration:t,maxduration:n,api:i,mimes:s,placement:c,protocols:d};void 0!==r&&(o.kJ(r[0])?(y.w=parseInt(r[0][0]),y.h=parseInt(r[0][1])):o.hj(r[0])&&(y.w=parseInt(r[0]),y.h=parseInt(r[1]))),l&&(y.playbackmethod=l),u&&(y.plcmt=u),f&&(y.pos=f),p&&o.U(p)&&(y.startdelay=p),!v||0!==v&&1!==v||(y.skip=v),g&&o.U(g)&&(y.skipmin=g),m&&o.U(m)&&(y.skipafter=m),b&&o.U(b)&&(y.minbitrate=b),h&&o.U(h)&&(y.maxbitrate=h);var _=a.Z(e,”ortb2Imp.battr”);return _&&(y.battr=_),y}(e)),Object.assign(t,i);var s=function(e){if(e.params.bidfloor)return e.params.bidfloor;if(!o.LQ(e.getFloor))return null;var t=e.getFloor({currency:”USD”,mediaType:”*”,size:”*”});return o.PO(t)&&!isNaN(t.floor)&&”USD”===t.currency?t.floor:null}(e);s&&(t.bidfloor=parseFloat(s),t.bidfloorcur=”USD”);var c=a.Z(e,”ortb2Imp.secure”);return t.secure=(0,o.hj)(c)?c:1,o.Ee(t,e.ortb2Imp),t}(e)}),site:m(t,n),device:p(n),user:g(t,n),at:1,cur:[“USD”],regs:l(t),source:f(e,t),ext:d(n)};return n&&n.bcat&&(r.bcat=n.bcat),n&&n.badv&&(r.badv=n.badv),n&&n.app&&(r.app=n.app),n&&n.pmp&&(r.pmp=n.pmp),{method:”POST”,url:”https://direct.adsrvr.org/bid/bidder/”+t.bids[0].params.supplySourceId,data:r,options:{withCredentials:!0}}},interpretResponse:function(e,t){var n=a.Z(e,”body.seatbid”),r=a.Z(e,”body.cur”);if(!n||0===n.length)return[];var i=[],s=a.Z(t,”data.imp”);return n.forEach(function(e){e.bid.forEach(function(e){var t=s.find(function(t){return t.id===e.impid}),n=e.price||0,a={requestId:e.impid,cpm:n,creativeId:e.crid,dealId:e.dealid||null,currency:r||”USD”,netRevenue:!0,ttl:e.ttl||360,meta:{}};e.adomain&&e.adomain.length>0&&(a.meta.advertiserDomains=e.adomain),1===e.ext.mediatype?Object.assign(a,{width:e.w,height:e.h,ad:o.ew(e.adm,n),mediaType:u.Mk}):2===e.ext.mediatype&&(Object.assign(a,{width:t.video.w,height:t.video.h,mediaType:u.pX}),e.nurl?a.vastUrl=o.ew(e.nurl,n):a.vastXml=o.ew(e.adm,n)),i.push(a)})}),i},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]:””,i=[],o=”&gdpr=”.concat(n.gdprApplies?1:0,”&gdpr_consent=”).concat(encodeURIComponent(n.consentString)),a=””.concat(“https://match.adsrvr.org”,”/track/usersync?us_privacy=”).concat(encodeURIComponent(r)).concat(o);return e.pixelEnabled?i.push({type:”image”,url:a+”&ust=image”}):e.iframeEnabled&&i.push({type:”iframe”,url:a+”&ust=iframe”}),i}};(0,c.dX)(b),(0,r.z)(“ttdBidAdapter”)}},function(e){e(e.s=3446)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[215],{2722:function(e,t,n){var r=n(9062),i=n(1002),o=n(3324),a=n(4942),s=n(8640),c=n(4614),u=n(3193),d=n(2021),l=n(6104),f=n(5644),p=n(2797),v=n(4358),g=n(265),m=new Map;function b(e,t){var n=m.get(t);if(n&&e){var r={};r.source=(0,v.LQ)(n.getSource)?n.getSource(e):n.source;var i=(0,v.LQ)(n.getValue)?n.getValue(e):e;if((0,v.d8)(i)){var o={id:i,atype:n.atype};if((0,v.LQ)(n.getUidExt)){var a=n.getUidExt(e);a&&(o.ext=a)}if(r.uids=[o],(0,v.LQ)(n.getEidExt)){var s=n.getEidExt(e);s&&(r.ext=s)}return r}}return null}function h(e){var t=[],n=function(n){if(e.hasOwnProperty(n))if(“pubProvidedId”===n)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[n]))e[n].forEach(function(e,r,i){var o=b(e,n);o&&t.push(o)});else{var r=b(e[n],n);r&&t.push(r)}};for(var r in e)n(r);return t}var y,_,I,w,O,T,E=n(5164),C=n(6475),x=(0,p.z3)(“sync”,function(){}),A=n(8792),S=n(6372),k=n(9128),P=n(8196),j=n(2513),B=n(9633),D=n(571),R=n(4947),U=n(286),N=”User ID”,Z=E.c$,q=E.Dp,M=”_pbjs_userid_consent_data”,F=30,L=”_pbjs_id_optout”,z=(0,E.eA)(“userId”),H={isAllowed:D.xD},W=!1,K=[],V=[],J={},X=[],G=function(){return null==T&&(T=(0,k.V6)()),T};function Q(e){return G().fork().renameWith(function(t){return[“userId.mod.”.concat(t),”userId.mods.”.concat(e,”.”).concat(t)]})}function Y(e,t){t=t||e.storageMgr;var n=”function”==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,r=e.config.storage.name;return function(e,i,o){t.setCookie(r+(e||””),i,o,”Lax”,n)}}function $(e,t){var n=e.config.storage,r=e.storageMgr;try{var i=new Date(Date.now()+864e5*n.expires).toUTCString(),o=(0,v.PO)(t)?JSON.stringify(t):t;if(n.type===Z){var a=Y(e);a(null,o,i),”number”==typeof n.refreshInSeconds&&a(“_last”,(new Date).toUTCString(),i)}else n.type===q&&(r.setDataInLocalStorage(“”.concat(n.name,”_exp”),i),r.setDataInLocalStorage(n.name,encodeURIComponent(o)),”number”==typeof n.refreshInSeconds&&r.setDataInLocalStorage(“”.concat(n.name,”_last”),(new Date).toUTCString()))}catch(e){(0,v.H)(e)}}function ee(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=e.storageMgr,i=e.config.storage,o=n?””.concat(i.name,”_”).concat(n):i.name;try{if(i.type===Z)t=r.getCookie(o);else if(i.type===q){var a=r.getDataFromLocalStorage(“”.concat(i.name,”_exp”));””===a?t=r.getDataFromLocalStorage(o):a&&new Date(a).getTime()-Date.now()>0&&(t=decodeURIComponent(r.getDataFromLocalStorage(o)))}”string”==typeof t&&”{“===t.trim().charAt(0)&&(t=JSON.parse(t))}catch(e){(0,v.H)(e)}return t}function te(e){var t={consentString:””,gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),(0,v._R)(JSON.stringify(t))}function ne(e,t,n){t=G().fork().startTiming(“userId.callbacks.total”).stopBefore(t);var r=(0,v.yx)(function(){clearTimeout(void 0),t()},e.length);e.forEach(function(e){var t=Q(e.submodule.name).startTiming(“callback”).stopBefore(r);try{e.callback(function(r){r?(e.config.storage&&$(e,r),e.idObj=e.submodule.decode(r,e.config),ye(re(n))):(0,v.PN)(“”.concat(N,”: “).concat(e.submodule.name,” – request id responded with an empty value”)),t()},ee.bind(null,e))}catch(n){(0,v.H)(“Error in userID module ‘”.concat(e.submodule.name,”‘:”),n),t()}e.callback=void 0})}function re(e){return Array.isArray(e)&&e.length?oe(e):{}}function ie(e,t,n){return Object.fromEntries(Object.entries(e.reduce(function(e,r){var i=t(r);return i&&Object.keys(i).forEach(function(t){var o,a=null===(o=J[t])||void 0===o?void 0:o.indexOf(n(r)),s={priority:(0,v.hj)(a)?a:-1,value:i[t]};if(e[t]){var c=s.priority>e[t].priority?s:e[t];e[t]=c}else e[t]=s}),e},{})).map(function(e){var t=(0,o.Z)(e,2);return[t[0],t[1].value]}))}function oe(e){return ie(e.filter(function(e){return(0,v.PO)(e.idObj)&&Object.keys(e.idObj).length}),function(e){return e.idObj},function(e){return e.submodule.name})}function ae(e,t){[e].some(function(e){return!Array.isArray(e)||!e.length})||e.forEach(function(e){e.bids&&(0,v.kJ)(e.bids)&&e.bids.forEach(function(e){var n=function(e,t){return Array.isArray(e)&&e.length&&t?oe(e.filter(function(e){return!e.config.bidders||!(0,v.kJ)(e.config.bidders)||(0,c.q9)(e.config.bidders,t)})):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=h(n))})})}var se,ce={};function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe()||[],t=w&&e.find(function(e){return e.source===w});if(t&&”string”==typeof(0,g.Z)(t,”uids.0.id”)){var n=t.uids[0].id.replace(/[W_]/g,””);if(n.length>=32&&n.length2&&void 0!==arguments[2]?arguments[2]:{},i=r.delay,o=void 0===i?A.Z.timeout:i,a=r.getIds,c=void 0===a?he:a;A.Z.race([c().catch(function(){return null}),o(I)]).then(function(){ae(t.adUnits||(0,s.R)().adUnits,y),G().join((0,k.Bf)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(n,t)})});function le(){return re(y)}function fe(){return h(le())}function pe(e){return h(function(e,t){if(!Array.isArray(e)||!e.length)return{};var n=oe(e),r=Object.keys(n).find(function(e){var n=m.get(e);return(null==n?void 0:n.source)===t||(0,v.LQ)(null==n?void 0:n.getSource)&&n.getSource()===t});return r?(0,a.Z)({},r,n[r]):[]}(y,e))[0]}function ve(e,t,n){return se().then(function(){var r={};if((0,v.LQ)(n)){(0,v.PN)(“”.concat(N,” – Getting encrypted signal from custom function : “).concat(n.name,” & source : “).concat(e,” “));var i=n(e);r[e]=i?ge(i):null}else{var o=pe(e);(0,v.PN)(“”.concat(N,” – Getting encrypted signal for eids :”).concat(JSON.stringify(o))),(0,v.xb)(o)||(r[o.source]=!0===t?ge(o):o.uids[0].id)}return(0,v.PN)(“”.concat(N,” – Fetching encrypted eids: “).concat(r[e])),r[e]})}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=””;return 1===t&&(n=”object”===(0,i.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e)),””.concat(t,”||”).concat(n)}function me(){if((0,v.T9)()){window.googletag.secureSignalProviders=window.googletag.secureSignalProviders||[];var e=u.vc.getConfig(“userSync.encryptedSignalSources”);if(e){var t=e.registerDelay||0;setTimeout(function(){e.sources&&e.sources.forEach(function(e){var t=e.source,n=e.encrypt,r=e.customFunc;t.forEach(function(e){window.googletag.secureSignalProviders.push({id:e,collectorFunction:function(){return ve(e,n,r)}})})})},t)}else(0,v.yN)(“”.concat(N,” – ESP : encryptedSignalSources config not defined under userSync Object”))}}function be(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).submoduleNames,t=arguments.length>1?arguments[1]:void 0;return se({refresh:!0,submoduleNames:e}).then(function(){return t&&(0,v.LQ)(t)&&t(),le()})}function he(){return se().then(function(){return le()},function(e){return e===ce?Promise.resolve().then(he):((0,v.H)(“Error initializing userId”,e),A.Z.reject(e))})}function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:le();if(e&&w){var t=ue(h(e));t&&((0,v.T9)()?window.googletag.pubads().setPublisherProvidedId(t):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().setPublisherProvidedId(t)})))}}function _e(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return G().fork().measureTime(“userId.init.modules”,function(){if(!t.length)return[];if(!(t=t.filter(function(e){return(!e.config.storage||function(e){var t,n;switch(null===(t=e.config)||void 0===t||null===(n=t.storage)||void 0===n?void 0:n.type){case q:if(e.storageMgr.localStorageIsEnabled())return!z.getDataFromLocalStorage(L)||((0,v.PN)(“”.concat(N,” – opt-out localStorage found, storage disabled”)),!1);break;case Z:if(e.storageMgr.cookiesAreEnabled())return!z.getCookie(L)||((0,v.PN)(“”.concat(N,” – opt-out cookie found, storage disabled”)),!1)}return!1}(e))&&H.isAllowed(R.EL,(0,U.T)(B.y2,e.config.name))})).length)return(0,v.yN)(“”.concat(N,” – no ID module configured”)),[];var i=function(){try{return z.getCookie(M)}catch(e){(0,v.H)(e)}}();!function(e){try{var t=new Date(Date.now()+864e5*F).toUTCString();z.setCookie(M,te(e),t,”Lax”)}catch(e){(0,v.H)(e)}}(n);var o=t.reduce(function(e,o){return Q(o.submodule.name).measureTime(“init”,function(){try{(function(e,t,n,r,i){if(e.config.storage){var o,a=ee(e),s=!1;if(“number”==typeof e.config.storage.refreshInSeconds){var c=new Date(ee(e,”last”));s=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!a||s||r||!function(e,t){return null!=n&&n===te(t)}(0,t)?o=e.submodule.getId(e.config,t,a):”function”==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,t,a)),(0,v.PO)(o)&&(o.id&&($(e,o.id),a=o.id),”function”==typeof o.callback&&(e.callback=o.callback)),a&&(e.idObj=e.submodule.decode(a,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var u=e.submodule.getId(e.config,t,void 0);(0,v.PO)(u)&&(“function”==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}ye(re(i))})(o,n,i,r,t),e.push(o)}catch(e){(0,v.H)(“Error in userID module ‘”.concat(o.submodule.name,”‘:”),e)}return e})},[]);return o.length&&function(e){var t=(0,v.EE)().setEidPermissions;”function”==typeof t&&(0,v.kJ)(e)&&t(function(e){var t=[];return e.filter(function(e){return(0,v.PO)(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(e){Object.keys(e.idObj).forEach(function(n){var r=m.get(n)||{};(0,g.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&r.source&&t.push({source:r.source,bidders:e.config.bidders})})}),t}(e))}(o),o.forEach(function(e,t){for(var n=!1,r=0;r1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{}).delay,n=void 0===t?A.Z.timeout:t;w=void 0,K=[],V=[],W=!1,y=[],se=function(){var e,t,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).delay,r=void 0===n?A.Z.timeout:n,i=(0,A.P)(),a=(0,A.P)(),s=!1;function c(n){return t=G().fork(),null!=e&&e.reject(ce),e=(0,A.P)(),A.Z.race([n,e.promise]).finally(t.startTiming(“userId.total”))}var u=y,g=K;function m(e){return function(){if(u===y&&g===K)return e.apply(void 0,arguments)}}function b(){return l.rp.promise.finally(t.startTiming(“userId.init.gdpr”))}var h=c(A.Z.all([p.Cd,i.promise]).then(function(){return A.Z.all([b(),l.TJ.promise.finally(t.startTiming(“userId.init.gpp”))]).then(function(e){return(0,o.Z)(e,1)[0]})}).then(m(function(e){_e(u,g,e)})).then(function(){return a.promise.finally(t.startTiming(“userId.callbacks.pending”))}).then(m(function(){var e=u.filter(function(e){return(0,v.LQ)(e.callback)});if(e.length)return new A.Z(function(t){return ne(e,t,u)})})));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refresh,n=void 0!==t&&t,o=e.submoduleNames,l=void 0===o?null:o,p=e.ready;return void 0!==p&&p&&!s&&(s=!0,i.resolve(),I>0?a.resolve():d.on(f.FP.AUCTION_END,function e(){d.S1(f.FP.AUCTION_END,e),r(_).then(a.resolve)})),n&&s&&(h=c(h.catch(function(){return null}).then(b).then(m(function(e){var t=_e(u,g.filter(function(e){return null==l||l.includes(e.submodule.name)}),e,!0).filter(function(e){return null!=e.callback});if(t.length)return new A.Z(function(e){return ne(t,e,u)})})))),h}}({delay:n}),null!=O&&O(),X=[],O=e.getConfig(“userSync”,function(e){var t=e.userSync;t&&(w=t.ppid,t.userIds&&(V=t.userIds,_=(0,v.hj)(t.syncDelay)?t.syncDelay:500,I=(0,v.hj)(t.auctionDelay)?t.auctionDelay:0,we(),Oe(t.idPriority,K),se({ready:!0})))}),(0,s.R)().getUserIds=le,(0,s.R)().getUserIdsAsEids=fe,(0,s.R)().getEncryptedEidsForSource=Ee(ve),(0,s.R)().registerSignalSources=me,(0,s.R)().refreshUserIds=Ee(be),(0,s.R)().getUserIdsAsync=Ee(he),(0,s.R)().getUserIdsAsEidBySource=pe}(u.vc),(0,p.bA)(“userId”,function(e){(0,c.sE)(X,function(t){return t.name===e.name})||(X.push(e),j.qh.register(B.y2,e.name,e.gvlid),we(),se({refresh:!0,submoduleNames:[e.name]}))}),(0,S.f8)({type:S.Z,name:”userExtEids”,fn:function(e,t,n){var r=(0,g.Z)(n,”bidRequests.0.userIdAsEids”);r&&Object.keys(r).length>0&&(0,C.N)(e,”user.ext.eids”,r)}}),(0,s.z)(“userId”)},6372:function(e,t,n){n.d(t,{DZ:function(){return s},Px:function(){return c},TP:function(){return d},YC:function(){return u},Z:function(){return a},f8:function(){return v},fP:function(){return g},gm:function(){return i},md:function(){return l}});var r,i=[“request”,”imp”,”bidResponse”,”response”],o=[“default”,”pbs”],a=i[0],s=i[1],c=i[2],u=i[3],d=o[0],l=o[1],f=new Set(i),p=(r={},{registerOrtbProcessor:function(e){var t=e.type,n=e.name,o=e.fn,a=e.priority,s=void 0===a?0:a,c=e.dialects,u=void 0===c?[d]:c;if(!f.has(t))throw new Error(“ORTB processor type must be one of: “.concat(i.join(“, “)));u.forEach(function(e){r.hasOwnProperty(e)||(r[e]={}),r[e].hasOwnProperty(t)||(r[e][t]={}),r[e][t][n]={priority:s,fn:o}})},getProcessors:function(e){return r[e]||{}}}),v=p.registerOrtbProcessor,g=p.getProcessors}},function(e){e(e.s=2722)}])})(),pbjs.processQueue(); }, {}]; window.modules[“slatead.legacy”] = [function(require,module,exports){“use strict”;var isMember=require(5).isMemberSkipLookup(),_require=require(118),allowedTypes=_require.allowedTypes,sticky=require(119),googletag=googletag||{};googletag.cmd=googletag.cmd||[],DS.controller(“slate-ad”,[“adService”,”$visibility”,”headerBidding”,function(e,i,t){return function(o){var r=e.createAd(o);isMember&&function(e){return”mob-adhesion”===e.type||[“mid-article-spot-mobile-2″,”mid-article-spot-mobile-4″,”mid-article-spot-tablet-2″,”mid-article-spot-tablet-4″,”mid-article-spot-2″,”mid-article-spot-4″,”mid-article-spot-xl-2″,”mid-article-spot-xl-4”].includes(e.id)}(r)?o.parentElement.setAttribute(“hidden”,””):function(e){return”leaderboard-tablet-1″===e.id||”leaderboard-1″===e.id||”leaderboard-mobile-1″===e.id}(r)?(isMember||sticky.enableStickyLeaderboard(),function(o,r){if(i.isElementNotHidden(r))if(i.isElementInViewport(r))window.googletag.cmd.push(function(){allowedTypes[o.type]?t.prebid(o,!1):e.requestAd(o)});else{var d=new i.Visible(r);d.on(“shown”,function(){window.googletag.cmd.push(function(){allowedTypes[o.type]?t.prebid(o,!1):e.requestAd(o)})})}}(r,o)):function(){var e=document.querySelector(“.homepage-sponsorship”);if(o=!1,e)var i=e.getAttribute(“data-sponsorship-start”),t=(new Date).getTime(),o=t>i&&t-i<864e5;return o}()||function(e){return"podcast-headline"===e.type}(r)?function(t,o){i.isElementNotHidden(o)&&window.googletag.cmd.push(function(){e.requestAd(t)})}(r,o):function(o,r){new i.Visible(r,{preloadThreshhold:o.threshold}).on("preload",function(){i.isElementNotHidden(r)&&(allowedTypes[o.type]?t.prebid(o,!1):window.googletag.cmd.push(function(){e.requestAd(o)}))})}(r,o)}}]); }, {"5":5,"118":118,"119":119}]; window.modules["visibility.legacy"] = [function(require,module,exports){"use strict";DS.service("$visibility",["$document","_throttle","Eventify",function(e,t,n){var i,o,r=[];function h(e,t){return et?e:t}function l(e,t,n){!e.preload&&e.preloadThreshhold&&function(e,t,n,i){return t.top=e.shownThreshold&&!e.seen?(e.seen=!0,setTimeout(function(){e.trigger(“shown”,new o(“shown”,t))},15)):(!n||i1&&(h+=e(r,Math.floor(n/o),i-1,o)),h},this.getVerticallyVisiblePixels=u,this.getViewportHeight=function(){return window.innerHeight||e.documentElement.clientHeight||e.body.clientHeight},this.getViewportWidth=function(){return window.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},this.isElementNotHidden=c,this.isElementInViewport=function(t){var n=t.getBoundingClientRect();return n.top>=0&&n.left>=0&&n.bottom<=(window.innerHeight||e.documentElement.clientHeight)&&n.right arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } function mountLegacyServices() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/.legacy$/); }).forEach(function (key) { return window.require(key); }); } function tryToMount(fn, el, name) { try { fn(el); // init the controller } catch (e) { var elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML)); console.error("Error initializing controller for "".concat(name, "" on "").concat(elementTag, """), e); } } /** * mount client.js component controllers */ function mountComponentModules() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/.client$/); }).forEach(function (key) { var controllerFn = window.require(key); if (typeof controllerFn === 'function') { var name = key.replace('.client', ''), instancesSelector = "[data-uri*="_components/".concat(name, "/"]"), defaultSelector = "[data-uri$="_components".concat(name, ""]"), instances = document.querySelectorAll(instancesSelector), defaults = document.querySelectorAll(defaultSelector); var _iterator = _createForOfIteratorHelper(instances), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var el = _step.value; tryToMount(controllerFn, el, name); } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } var _iterator2 = _createForOfIteratorHelper(defaults), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var _el = _step2.value; tryToMount(controllerFn, _el, name); } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } } }); } // Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies, // services, or components that could require it // note: the “ value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js window.process = window.process || {}; window.process.env = window.process.env || {}; if (!window.process.env.NODE_ENV) { window.process.env.NODE_ENV = ''; } // note: legacy controllers that require legacy services (e.g. dollar-slice) must // wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first mountLegacyServices(); mountComponentModules(); // ]]

Leave a Reply