[ad_1]
“));var m=y[i.size_id].split(“x”).map(function(e){return Number(e)}),v=(0,r.Z)(m,2);f.width=v[0],f.height=v[1]}f.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:p.adUnitCode}),t.push(f)}else(0,a.logError)(“Rubicon: bidRequest undefined at index position:”.concat(s),n,e);return t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,n,r){if(!C&&e.iframeEnabled){var i={};return n&&(“boolean”==typeof n.gdprApplies&&(i.gdpr=Number(n.gdprApplies)),”string”==typeof n.consentString&&(i.gdpr_consent=n.consentString)),r&&(i.us_privacy=encodeURIComponent(r)),i=Object.keys(i).length?”?”.concat((0,a.formatQS)(i)):””,C=!0,{type:”iframe”,url:”https://”.concat(h.syncHost||”eus”https://slate.com/technology/2022/09/,”.rubiconproject.com/usync.html”)+i}}},transformBidParams:function(e,t){return(0,a.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function _(e,t){var n;return n=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?n.replace(/^http:/i,”https:”):n}function E(e){var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector(“div[id^=’google_ads’]”))&&t.style.setProperty(“display”https://slate.com/technology/2022/09/,”none”),function(e){var t=e.querySelector(“script[id^=’sas_script’]”),n=t&&t.nextSibling;n&&”iframe”===n.localName&&n.style.setProperty(“display”https://slate.com/technology/2022/09/,”none”)}(n);var r=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({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 I(e,t){var n=e.params;if(“video”===t){var r=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?r=[n.video.playerWidth,n.video.playerHeight]:Array.isArray((0,s.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?r=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(r=e.sizes[0]),r}var i=[];return Array.isArray(n.sizes)?i=n.sizes:void 0!==(0,s.Z)(e,”mediaTypes.banner.sizes”)?i=S(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=S(e.sizes):(0,a.logWarn)(“Rubicon: no sizes are setup or found”),function(e){var t=[15,2,9];return i.sort(function(e,n){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 T(e,t,n){var r={user:{ext:{data:v({},e.params.visitor)}},site:{ext:{data:v({},e.params.inventory)}}};e.params.keywords&&(r.site.keywords=(0,a.isArray)(e.params.keywords)?e.params.keywords.join(“https://slate.com/technology/2022/09/,”):e.params.keywords);var i=(0,a.mergeDeep)({},e.ortb2||{},r),c=(0,s.Z)(e.ortb2Imp,”ext”)||{},d=(0,s.Z)(e.ortb2Imp,”ext.data”)||{},u=(0,s.Z)(e,”ortb2Imp.ext.gpid”),p={user:[4],site:[1,2,5,6]},f={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},g=function(e,t,n){return”data”===t&&Array.isArray(e)?e.filter(function(e){return e.segment&&(0,s.Z)(e,”ext.segtax”)&&p[n]&&-1!==p[n].indexOf((0,s.Z)(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():”object”===(0,o.Z)(e)&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter(function(e){if(“object”!==(0,o.Z)(e)&&void 0!==e)return e.toString();(0,a.logWarn)(“Rubicon: Filtered value: “,e,”for key”,t,”: Expected value to be string, integer, or an array of strings/ints”)}).toString():e.toString()},m=function(e,t,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=g(e,r,t),a=f[r]&&i?””.concat(f[r]):”data”===r?””.concat(f[t],”iab”):””.concat(f[t]).concat(r);n[a]=n[a]?n[a].concat(“https://slate.com/technology/2022/09/,”,o):o};t===l.Mk?([“site”https://slate.com/technology/2022/09/,”user”].forEach(function(e){Object.keys(i[e]).forEach(function(t){“site”===e&&”content”===t&&i[e][t].data?m(i[e][t].data,e,”data”):”ext”!==t?m(i[e][t],e,t):i[e][t].data&&Object.keys(i[e].ext.data).forEach(function(t){m(i[e].ext.data[t],e,t,!1)})})}),Object.keys(d).forEach(function(e){“adserver”!==e?m(d[e],”site”,e):”gam”===d[e].name&&m(d[e].adslot,name,e)}),u&&(n.p_gpid=u),n[“tg_i.pbadslot”]&&delete n[“tg_i.dfp_ad_unit_code”]):(Object.keys(c).length&&(0,a.mergeDeep)(n.imp[0].ext,c),u&&(n.imp[0].ext.gpid=u),(0,a.mergeDeep)(n,i))}function S(e){return(0,a.parseSizesInput)(e).reduce(function(e,t){var n=parseInt(y[t],10);return n&&e.push(n),e},[])}function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){return”object”===(0,o.Z)((0,s.Z)(e,”params.video”))&&void 0!==(0,s.Z)(e,”mediaTypes.”.concat(l.pX))}(e)?-1===[“outstream”https://slate.com/technology/2022/09/,”instream”].indexOf((0,s.Z)(e,”mediaTypes.”.concat(l.pX,”.context”)))?void(t&&(0,a.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”)):I(e,”video”).length0&&(n.user={ext:{eids:s}});var c=function(e,t){var n={};return(0,a.isEmpty)(e)||(n.schain=p({},e)),(0,a.isEmpty)(t)||(n.fpd=p({},t)),n}(r,i);return(0,a.isEmpty)(c)||(n.ext=c),n}(e,t);if(n=(0,a.tryAppendQueryString)(n,”lib”https://slate.com/technology/2022/09/,”prebid”),n=(0,a.tryAppendQueryString)(n,”v”https://slate.com/technology/2022/09/,”7.9.0″),t&&t.refererInfo){var i=t.refererInfo.page;n=(0,a.tryAppendQueryString)(n,”referrer”,i)}return t&&t.timeout&&(n=(0,a.tryAppendQueryString)(n,”tmax”,t.timeout)),t&&t.gdprConsent&&(void 0!==t.gdprConsent.gdprApplies&&(g=t.gdprConsent.gdprApplies,n=(0,a.tryAppendQueryString)(n,”gdpr”,g.toString())),void 0!==t.gdprConsent.consentString&&(m=t.gdprConsent.consentString,n=(0,a.tryAppendQueryString)(n,”cmp_cs”,m))),t&&t.uspConsent&&(n=(0,a.tryAppendQueryString)(n,”us_privacy”,t.uspConsent)),!0===d.vc.getConfig(“coppa”)&&(n=(0,a.tryAppendQueryString)(n,”coppa”,!0)),n.lastIndexOf(“&”)===n.length-1&&(n=n.substring(0,n.length-1)),(0,a.logMessage)(“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”)),n}(n,e)})},getUserSyncs:function(e,t,n,r){var i=function(e){if(e)return e.iframeEnabled?”iframe”:e.pixelEnabled?”image”:void 0}(e);if(i){var o=”https://eb2.3lift.com/sync?”;return”image”===i&&(o=(0,a.tryAppendQueryString)(o,”px”,1),o=(0,a.tryAppendQueryString)(o,”src”https://slate.com/technology/2022/09/,”prebid”)),null!==m&&(o=(0,a.tryAppendQueryString)(o,”gdpr”,g),o=(0,a.tryAppendQueryString)(o,”cmp_cs”,m)),r&&(o=(0,a.tryAppendQueryString)(o,”us_privacy”,r)),[{type:i,url:o}]}}};function y(e){return _(e)&&(b(e)||function(e){return _(e)&&”outstream”===e.mediaTypes.video.context.toLowerCase()}(e))}function b(e){return _(e)&&”instream”===e.mediaTypes.video.context.toLowerCase()}function _(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function E(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,a.logError)(“Triplelift: getFloor threw an error: “,e)}return null!==t?t:e.params.floor}function I(e,t){(0,a.isEmpty)(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(S(t)).map(function(e,t){return function(n){return{source:e,uids:[{id:n.id?n.id:n,ext:{rtiPartner:t}}]}}}(n,r))}var S=function(e){return function(t,n,r){var i=!!t&&((0,a.isStr)(t)?!!t:(0,a.isPlainObject)(t)&&!(0,a.isArray)(t)&&!(0,a.isEmpty)(t)&&t.id&&(0,a.isStr)(t.id)&&!!t.id);return i||void 0===r[0]||(0,a.logWarn)(“Triplelift: invalid “.concat(e,” userId format”)),i}};function A(e){return e.filter(w).map(function(e){return{w:e[0],h:e[1]}})}function w(e){return 2===e.length&&”number”==typeof e[0]&&”number”==typeof e[1]}(0,c.dX)(h),window.pbjs.installedModules.push(“tripleliftBidAdapter”)}},function(e){e(e.s=789)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[215],{2722:function(e,t,n){var r=n(1002),i=n(4614),o=n(3193),a=n(2021),s=n(8640),c=n(9528),d=n(5644),u=n(2797),l=n(4358),p=n(265),f={trustpid:{source:”trustpid.com”,atype:1,getValue:function(e){return e}},intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.com”,atype:1},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 t=””;return e.DeviceID&&(t=e.DeviceID.join(“https://slate.com/technology/2022/09/,”)),t},getUidExt:function(e){return”DeviceID”}},parrableId:{source:”parrable.com”,atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?””:null},getUidExt:function(e){var t=(0,l.pick)(e,[“ibaOptout”https://slate.com/technology/2022/09/,”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:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.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 e.snowflake},source:”novatiq.com”,atype:1},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:”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},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},cpexId:{source:”czechadid.cz”,atype:1}};function g(e,t){var n=f[t];if(n&&e){var r={};r.source=(0,l.isFn)(n.getSource)?n.getSource(e):n.source;var i=(0,l.isFn)(n.getValue)?n.getValue(e):e;if((0,l.isStr)(i)){var o={id:i,atype:n.atype};if((0,l.isFn)(n.getUidExt)){var a=n.getUidExt(e);a&&(o.ext=a)}if(r.uids=[o],(0,l.isFn)(n.getEidExt)){var s=n.getEidExt(e);s&&(r.ext=s)}return r}}return null}function m(e){var t=[],n=function(n){if(e.hasOwnProperty(n))if(“pubProvidedId”===n)t=t.concat(e.pubProvidedId);else if(“ftrackId”===n){var r={atype:1,id:(e.ftrackId.DeviceID||[]).join(“|”),ext:{}};for(var i in e.ftrackId)r.ext[i]=(e.ftrackId[i]||[]).join(“|”);t.push(r)}else if(Array.isArray(e[n]))e[n].forEach(function(e,r,i){var o=g(e,n);o&&t.push(o)});else{var o=g(e[n],n);o&&t.push(o)}};for(var r in e)n(r);return t}var v,h,y,b,_,E=n(5164),I=(0,u.z3)(“sync”,function(){}),T=n(8792),S=n(7673),A=”User ID”,w=”cookie”,O=”html5″,C=”_pbjs_userid_consent_data”,D=30,k=”_pbjs_id_optout”,x=(0,E.eA)(“userid”),P=!1,R=[],j=[],U=[];function B(e,t){var n=e.config.storage,r=”function”==typeof e.submodule.domainOverride?e.submodule.domainOverride():null;try{var i=(0,l.isPlainObject)(t)?JSON.stringify(t):t,o=new Date(Date.now()+864e5*n.expires).toUTCString();n.type===w?(x.setCookie(n.name,i,o,”Lax”,r),”number”==typeof n.refreshInSeconds&&x.setCookie(“”.concat(n.name,”_last”),(new Date).toUTCString(),o,”Lax”,r)):n.type===O&&(x.setDataInLocalStorage(“”.concat(n.name,”_exp”),o),x.setDataInLocalStorage(n.name,encodeURIComponent(i)),”number”==typeof n.refreshInSeconds&&x.setDataInLocalStorage(“”.concat(n.name,”_last”),(new Date).toUTCString()))}catch(e){(0,l.logError)(e)}}function N(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=n?””.concat(e.name,”_”).concat(n):e.name;try{if(e.type===w)t=x.getCookie(r);else if(e.type===O){var i=x.getDataFromLocalStorage(“”.concat(e.name,”_exp”));””===i?t=x.getDataFromLocalStorage(r):i&&new Date(i).getTime()-Date.now()>0&&(t=decodeURIComponent(x.getDataFromLocalStorage(r)))}”string”==typeof t&&”{“===t.trim().charAt(0)&&(t=JSON.parse(t))}catch(e){(0,l.logError)(e)}return t}function Z(e){var t={consentString:””,gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),(0,l.cyrb53Hash)(JSON.stringify(t))}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;if(!x.cookiesAreEnabled())return e;var t,n,r=e.split(“.”);if(2==r.length)return e;var i=-2,o=”_rdc”.concat(Date.now()),a=”writeable”;do{t=r.slice(i).join(“.”);var s=new Date((0,l.timestamp)()+1e4).toUTCString();x.setCookie(o,a,s,”Lax”,t,void 0),x.getCookie(o,void 0)===a?(n=!1,x.setCookie(o,””https://slate.com/technology/2022/09/,”Thu, 01 Jan 1970 00:00:01 GMT”,void 0,t,void 0)):(i+=-1,n=Math.abs(i)=32&&t.length2&&void 0!==arguments[2]?arguments[2]:{}).delay,i=void 0===r?T.Z.timeout:r;T.Z.race([$(),i(y)]).then(function(){z(t.adUnits||(0,s.R)().adUnits,v);var r=W();r&&((0,l.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(r):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().setPublisherProvidedId(r)}))),e.call(n,t)})}function G(){return e=v,Array.isArray(e)&&e.length?e.filter(function(e){return(0,l.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length}).reduce(function(e,t){return Object.keys(t.idObj).forEach(function(n){e[n]=t.idObj[n]}),e},{}):{};var e}function V(){return m(G())}function Y(e){return m(function(e,t){if(!Array.isArray(e)||!e.length)return{};var n=e.filter(function(e){var n;return(0,l.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length&&(null===(n=f[Object.keys(e.idObj)[0]])||void 0===n?void 0:n.source)===t});return(0,l.isEmpty)(n)?[]:n[0].idObj}(v,e))[0]}function H(e,t,n){return L().then(function(){var r={};if((0,l.isFn)(n)){(0,l.logInfo)(“”.concat(A,” – Getting encrypted signal from custom function : “).concat(n.name,” & source : “).concat(e,” “));var i=n(e);r[e]=i?X(i):null}else{var o=Y(e);(0,l.logInfo)(“”.concat(A,” – Getting encrypted signal for eids :”).concat(JSON.stringify(o))),(0,l.isEmpty)(o)||(r[o.source]=!0===t?X(o):o.uids[0].id)}return(0,l.logInfo)(“”.concat(A,” – Fetching encrypted eids: “).concat(r[e])),r[e]})}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=””;return 1===t&&(n=”object”===(0,r.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e)),””.concat(t,”||”).concat(n)}function J(){if((0,l.isGptPubadsDefined)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=o.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.encryptedSignalProviders.push({id:e,collectorFunction:function(){return H(e,n,r)}})})})},t)}else(0,l.logWarn)(“”.concat(A,” – ESP : encryptedSignalSources config not defined under userSync Object”))}}function Q(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).submoduleNames,t=arguments.length>1?arguments[1]:void 0;return L({refresh:!0,submoduleNames:e}).then(function(){return t&&(0,l.isFn)(t)&&t(),G()})}function $(){return L().then(function(){return G()},function(e){return e===F?Promise.resolve().then($):T.Z.reject(e)})}var ee=(0,u.z3)(“sync”,function(e,t){return{userIdModules:e,hasValidated:t&&t.hasValidated}},”validateGdprEnforcement”);function te(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t.length)return[];var i=function(){var e=[],t=!1;return x.localStorageIsEnabled()&&(e.push(O),x.getDataFromLocalStorage(k)&&((0,l.logInfo)(“”.concat(A,” – opt-out localStorage found, storage disabled”)),t=!0)),x.cookiesAreEnabled()&&(e.push(w),x.getCookie(k)&&((0,l.logInfo)(“”.concat(A,” – opt-out cookie found, storage disabled”)),t=!0)),new Set(t?[]:e)}();if(!(t=t.filter(function(e){return!e.config.storage||i.has(e.config.storage.type)})).length)return(0,l.logWarn)(“”.concat(A,” – no ID module is configured for one of the available storage types:”),Array.from(i)),[];var o=ee(t,n),a=o.userIdModules;if(!o.hasValidated&&!(0,S.h)(n))return(0,l.logWarn)(“”.concat(A,” – gdpr permission not valid for local storage or cookies, exit module”)),[];var s=function(){try{return x.getCookie(C)}catch(e){(0,l.logError)(e)}}();!function(e){try{var t=new Date(Date.now()+864e5*D).toUTCString();x.setCookie(C,Z(e),t,”Lax”)}catch(e){(0,l.logError)(e)}}(n);var c=a.reduce(function(e,t){try{(function(e,t,n,r){if(e.config.storage){var i,o=N(e.config.storage),a=!1;if(“number”==typeof e.config.storage.refreshInSeconds){var s=new Date(N(e.config.storage,”last”));a=s&&Date.now()-s.getTime()>1e3*e.config.storage.refreshInSeconds}!o||a||r||!function(e,t){return null!=n&&n===Z(t)}(0,t)?i=e.submodule.getId(e.config,t,o):”function”==typeof e.submodule.extendId&&(i=e.submodule.extendId(e.config,t,o)),(0,l.isPlainObject)(i)&&(i.id&&(B(e,i.id),o=i.id),”function”==typeof i.callback&&(e.callback=i.callback)),o&&(e.idObj=e.submodule.decode(o,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var c=e.submodule.getId(e.config,t,void 0);(0,l.isPlainObject)(c)&&(“function”==typeof c.callback&&(e.callback=c.callback),c.id&&(e.idObj=e.submodule.decode(c.id,e.config)))}})(t,n,s,r),e.push(t)}catch(e){(0,l.logError)(“Error in userID module ‘”.concat(t.submodule.name,”‘:”),e)}return e},[]);return c.length&&function(e){var t=(0,l.getPrebidInternal)().setEidPermissions;”function”==typeof t&&(0,l.isArray)(e)&&t(function(e){var t=[];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(n){(0,p.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&(0,p.Z)(f,n+”.source”)&&t.push({source:f[n].source,bidders:e.config.bidders})})}),t}(e))}(c),c.forEach(function(e,t){for(var n=!1,r=0;r
}, {}];
window.modules[“visibility.legacy”] = [function(require,module,exports){“use strict”;DS.service(“$visibility”,[“$document”https://slate.com/technology/2022/09/,”$window”https://slate.com/technology/2022/09/,”_throttle”https://slate.com/technology/2022/09/,”Eventify”,function(e,t,n,i){var o,r,h=[];function s(e,t){return e
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === “string”) return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === “Object” && o.constructor) n = o.constructor.name; if (n === “Map” || n === “Set”) return Array.from(o); if (n === “Arguments” || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i
[ad_2]
Source link