“));var v=O[t.size_id].split(“x”).map((function(e){return Number(e)})),g=(0,o.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:p.adUnitCode}),r.push(f)}else(0,m.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),u,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)})),f=null===(t=e.component_auction_config)||void 0===t?void 0:t.map((function(e){return{config:e,bidId:e.bidId}}));return f?{bids:p,fledgeAuctionConfigs:f}:p},getUserSyncs:function(e,r,t,n,i){if(!E&&e.iframeEnabled){var o,a={};if(t&&(“boolean”==typeof t.gdprApplies&&(a.gdpr=Number(t.gdprApplies)),”string”==typeof t.consentString&&(a.gdpr_consent=t.consentString)),n&&(a.us_privacy=encodeURIComponent(n)),null!=i&&i.gppString)a.gpp=i.gppString,a.gpp_sid=null===(o=i.applicableSections)||void 0===o?void 0:o.toString();return a=Object.keys(a).length?”?”.concat((0,m.formatQS)(a)):””,E=!0,{type:”iframe”,url:”https://”.concat(k.syncHost||”eus”,”.rubiconproject.com/usync.html”)+a}}},transformBidParams:function(e,r){return(0,y.u)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function A(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 I(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 C(e,r){var t=e.params;if(r===l.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,b.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,b.Z)(e,”mediaTypes.banner.sizes”)?i=R(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=R(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 R(e){return(0,m.parseSizesInput)(e).reduce((function(e,r){var t=parseInt(O[r],10);return t&&e.push(t),e}),[])}function T(e){var r=void 0!==(0,b.Z)(e,”mediaTypes.”.concat(l.pX)),t=void 0!==(0,b.Z)(e,”mediaTypes.”.concat(l.Mk)),n=void 0!==(0,b.Z)(e,”params.bidonmultiformat”),i=”object”!==(0,a.Z)((0,b.Z)(e,”params.video”));return!(!r||!n)||(t&&i&&(r=!1),r&&i&&(0,g.N)(e,”params.video”,{}),r)}function Z(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=[];if(T(e)){if(-1===[“outstream”,”instream”].indexOf((0,b.Z)(e,”mediaTypes.”.concat(l.pX,”.context”))))return r&&(0,m.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”),t;if(C(e,l.pX).length<2)return r&&(0,m.logError)("Rubicon: could not determine the playerSize of the video"),t;r&&(0,m.logMessage)("Rubicon: making video request for adUnit",e.adUnitCode),t.push(l.pX)}if(void 0!==(0,b.Z)(e,"mediaTypes.".concat(l.B5))&&t.push(l.B5),void 0!==(0,b.Z)(e,"mediaTypes.".concat(l.Mk))){if(0===C(e,l.Mk).length)return r&&(0,m.logError)("Rubicon: could not determine the sizes for banner request"),t;r&&(0,m.logMessage)("Rubicon: making banner request for adUnit",e.adUnitCode),t.push(l.Mk)}return t}function z(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 P(e,r){return"rp_schain"===e?"rp_schain=".concat(r):"".concat(e,"=").concat(encodeURIComponent(r))}var E=!1;(0,u.dX)(w),(0,s.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 v},fP:function(){return m},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]||{}}}),v=f.registerOrtbProcessor,m=f.getProcessors}},function(e){e.O(0,[85279,33402,93157,70951,38409],(function(){return r=40060,e(e.s=r);var r}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[31215],{13522:function(e,r,a){var t=a(78640),i=a(20265),o=a(64358),n=a(24679),d=a(3193),s=a(14699),p={code:"smartadserver",gvlid:45,aliases:["smart"],supportedMediaTypes:[n.Mk,n.pX],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.params.pageId&&e.params.formatId)},serializeSupplyChain:function(e){if(!e||!e.nodes)return null;var r=["asi","sid","hp","rid","name","domain"];return"".concat(e.ver,",").concat(e.complete,"!")+e.nodes.map((function(e){return r.map((function(r){return e[r]?encodeURIComponent(e[r]):""})).join(",")})).join("!")},adaptBannerSizes:function(e){return e.map((function(e){return{w:e[0],h:e[1]}}))},fillPayloadForVideoBidRequest:function(e,r,a){var t=r.playerSize[0];e.isVideo="instream"===r.context,e.mediaType=n.pX,e.videoData={videoProtocol:this.getProtocolForVideoBidRequest(r,a),playerWidth:t[0],playerHeight:t[1],adBreak:this.getStartDelayForVideoBidRequest(r,a)}},getProtocolForVideoBidRequest:function(e,r){return void 0!==r&&r.protocol?r.protocol:void 0!==e&&Array.isArray(e.protocols)?Math.max.apply(Math,e.protocols):null},getStartDelayForVideoBidRequest:function(e,r){if(void 0!==r&&r.startDelay)return r.startDelay;if(void 0!==e){if(0==e.startdelay)return 1;if(-1==e.startdelay)return 2;if(-2==e.startdelay)return 3}return 2},createServerRequest:function(e,r){return{method:"POST",url:(void 0!==r?r:"https://prg.smartadserver.com")+"http://noticias.r7.com/prebid/v1",data:JSON.stringify(e)}},buildRequests:function(e,r){var a=d.vc.getConfig("currency.adServerCurrency"),t=(0,i.Z)(r,"ortb2.user.data",d.vc.getAnyConfig("ortb2.user.data")),s=(0,i.Z)(r,"ortb2.site.content.data",d.vc.getAnyConfig("ortb2.site.content.data"));return e.reduce((function(e,u){var l,c,m={siteid:u.params.siteId,pageid:u.params.pageId,formatid:u.params.formatId,currencyCode:a,targeting:u.params.target&&""!==u.params.target?u.params.target:void 0,buid:u.params.buId&&""!==u.params.buId?u.params.buId:void 0,appname:u.params.appName&&""!==u.params.appName?u.params.appName:void 0,ckid:u.params.ckId||0,tagId:u.adUnitCode,pageDomain:r&&r.refererInfo&&r.refererInfo.page?r.refererInfo.page:void 0,transactionId:null===(l=u.ortb2Imp)||void 0===l||null===(c=l.ext)||void 0===c?void 0:c.tid,timeout:d.vc.getConfig("bidderTimeout"),bidId:u.bidId,prebidVersion:"8.28.0",schain:p.serializeSupplyChain(u.schain),sda:t,sdc:s},f=(0,i.Z)(u,"ortb2Imp.ext.gpid",(0,i.Z)(u,"ortb2Imp.ext.data.pbadslot",""));f&&(m.gpid=f),r&&(r.gdprConsent&&(m.addtl_consent=r.gdprConsent.addtlConsent,m.gdpr_consent=r.gdprConsent.consentString,m.gdpr=r.gdprConsent.gdprApplies),r.gppConsent&&(m.gpp=r.gppConsent.gppString,m.gpp_sid=r.gppConsent.applicableSections),r.uspConsent&&(m.us_privacy=r.uspConsent)),u&&u.userIdAsEids&&(m.eids=u.userIdAsEids),r&&r.uspConsent&&(m.us_privacy=r.uspConsent);var g=(0,i.Z)(u,"mediaTypes.banner"),v=(0,i.Z)(u,"mediaTypes.video"),y=v&&("instream"===v.context||"outstream"===v.context);if(g||y){var b;if(g){if(b=n.Mk,m.sizes=p.adaptBannerSizes(g.sizes),y){var h=(0,o.deepClone)(m);p.fillPayloadForVideoBidRequest(h,v,u.params.video),h.bidfloor=u.params.bidfloor||p.getBidFloor(u,a,n.pX),e.push(p.createServerRequest(h,u.params.domain))}}else b=n.pX,p.fillPayloadForVideoBidRequest(m,v,u.params.video);m.bidfloor=u.params.bidfloor||p.getBidFloor(u,a,b),e.push(p.createServerRequest(m,u.params.domain))}else e.push({});return e}),[])},interpretResponse:function(e,r){var a=[],t=e.body;try{if(t&&!t.isNoAd&&(t.ad||t.adUrl)){var i=JSON.parse(r.data),d={requestId:i.bidId,cpm:t.cpm,width:t.width,height:t.height,creativeId:t.creativeId,dealId:t.dealId,currency:t.currency,netRevenue:t.isNetCpm,ttl:t.ttl,dspPixels:t.dspPixels,meta:{advertiserDomains:t.adomain?t.adomain:[]}};i.mediaType===n.pX?(d.mediaType=n.pX,d.vastUrl=t.adUrl,d.vastXml=t.ad,d.content=t.ad):(d.adUrl=t.adUrl,d.ad=t.ad),a.push(d)}}catch(e){(0,o.logError)("Error while parsing smart server response",e)}return a},getBidFloor:function(e,r,a){if(!(0,o.isFn)(e.getFloor))return 0;var t=e.getFloor({currency:r||"USD",mediaType:a,size:"*"});return(0,o.isPlainObject)(t)&&!isNaN(t.floor)?t.floor:0},getUserSyncs:function(e,r){var a=[];return e.iframeEnabled&&r.length>0&&null!=r[0].body.cSyncUrl?a.push({type:”iframe”,url:r[0].body.cSyncUrl}):e.pixelEnabled&&r.length>0&&void 0!==r[0].body.dspPixels&&r[0].body.dspPixels.forEach((function(e){a.push({type:”image”,url:e})})),a}};(0,s.dX)(p),(0,t.z)(“smartadserverBidAdapter”)}},function(e){e.O(0,[38409],(function(){return r=13522,e(e.s=r);var r}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[88029],{76401:function(e,t,r){var n=r(4942),i=r(78640),o=r(64358),a=r(20265),d=r(14699),s=r(15164);function c(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 p(e){for(var t=1;t=0?c.connection.downlink.toString():””),timeToFirstByte:S(window),data:u,deviceWidth:screen.width,screenOrientation:null===(r=screen.orientation)||void 0===r?void 0:r.type,historyLength:null===(n=I.history)||void 0===n?void 0:n.length,viewportHeight:null===(i=I.visualViewport)||void 0===i?void 0:i.height,viewportWidth:null===(o=I.visualViewport)||void 0===o?void 0:o.width,hardwareConcurrency:null===(d=I.navigator)||void 0===d?void 0:d.hardwareConcurrency,deviceMemory:null===(s=I.navigator)||void 0===s?void 0:s.deviceMemory,hb_version:”8.28.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],o=(0,a.Z)(e,”0.userId.”.concat(i));o&&(r[n]=o)}return r}(e)),function(e){var t=(0,a.Z)(e,”0.userId.teadsId”);if(t)return{firstPartyCookieTeadsId:t};if(f.cookiesAreEnabled(null)){var r=f.getCookie(y,null);if(r)return{firstPartyCookieTeadsId:r}}return{}}(e)),q=e[0];q.schain&&(P.schain=q.schain);var T=t.gdprConsent;if(t&&T){var k=”boolean”==typeof T.gdprApplies,B=”string”==typeof T.consentString,j=k?function(e,t){var r=l;e?t&&!t.isServiceSpecific&&(r=v):r=g;return r}(T.gdprApplies,T.vendorData):m;P.gdpr_iab={consent:B?T.consentString:””,status:j,apiVersion:T.apiVersion}}t&&t.uspConsent&&(P.us_privacy=t.uspConsent);var C=(0,a.Z)(q,”ortb2.device.sua”);return C&&(P.userAgentClientHints=C),{method:”POST”,url:”https://a.teads.tv/hb/bid-request”,data:JSON.stringify(P)}},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 h(e){var t=””;return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function b(){try{var e=window.top.document.querySelector(‘meta[property=”og:title”]’);return window.top.document.title||e&&e.content||””}catch(e){var t=document.querySelector(‘meta[property=”og:title”]’);return document.title||t&&t.content||””}}function w(){var e;try{e=window.top.document.querySelector(‘meta[name=”description”]’)||window.top.document.querySelector(‘meta[property=”og:description”]’)}catch(t){e=document.querySelector(‘meta[name=”description”]’)||document.querySelector(‘meta[property=”og:description”]’)}return e&&e.content||””}function S(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 O(e){var t,r,n={},i=(0,o.getValue)(e.params,”placementId”),d=(0,o.getValue)(e.params,”pageId”),s=(0,a.Z)(e,”ortb2Imp.ext.gpid”),c=(0,a.Z)(e,”mediaTypes.video.plcmt”);return n.sizes=function(e){return(0,o.parseSizesInput)(function(e){var t=(0,a.Z)(e,”mediaTypes.video.playerSize”),r=(0,a.Z)(e,”mediaTypes.video.sizes”),n=(0,a.Z)(e,”mediaTypes.banner.sizes”);return(0,o.isArray)(n)||(0,o.isArray)(t)||(0,o.isArray)(r)?[n,r,t].reduce((function(e,t){return(0,o.isArray)(t)&&((0,o.isArray)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[]):e.sizes}(e))}(e),n.bidId=(0,o.getBidIdParameter)(“bidId”,e),n.bidderRequestId=(0,o.getBidIdParameter)(“bidderRequestId”,e),n.placementId=parseInt(i,10),n.pageId=parseInt(d,10),n.adUnitCode=(0,o.getBidIdParameter)(“adUnitCode”,e),n.transactionId=(null===(t=e.ortb2Imp)||void 0===t||null===(r=t.ext)||void 0===r?void 0:r.tid)||””,s&&(n.gpid=s),c&&(n.videoPlcmt=c),n}function P(e){return parseInt(e)>0}(0,d.dX)(I),(0,i.z)(“teadsBidAdapter”)}},function(e){e.O(0,[38409],(function(){return t=76401,e(e.s=t);var t}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[9215],{82547:function(e,n,r){var t=r(89062),o=r(71002),i=r(93324),a=r(4942),u=r(78640),c=r(34614),s=r(3193),f=r(52021),l=r(34516),d=r(86104),g=r(5644),m=r(92797),v=r(64358),b=r(20265),p=new Map;function h(e){var n={};function r(e){var r,o,i=JSON.stringify([null===(r=e.source)||void 0===r?void 0:r.toLowerCase(),e.ext]);n.hasOwnProperty(i)?(o=n[i].uids).push.apply(o,(0,t.Z)(e.uids)):n[i]=e}return Object.entries(e).forEach((function(e){var n=(0,i.Z)(e,2),t=n[0],o=n[1];o=Array.isArray(o)?o:[o],(“pubProvidedId”===t?(0,v.deepClone)(o):o.map((function(e){return function(e,n){var r=p.get(n);if(r&&e){var t={};t.source=(0,v.isFn)(r.getSource)?r.getSource(e):r.source;var o=(0,v.isFn)(r.getValue)?r.getValue(e):e;if((0,v.isStr)(o)){var i={id:o,atype:r.atype};if((0,v.isFn)(r.getUidExt)){var a=r.getUidExt(e);a&&(i.ext=a)}if(t.uids=[i],(0,v.isFn)(r.getEidExt)){var u=r.getEidExt(e);u&&(t.ext=u)}return t}}return null}(e,t)}))).filter((function(e){return null!=e})).forEach(r)})),Object.values(n)}var y,I,w,E,O,S,D=r(15164),j=r(96475),P=r(7563),k=r(68792),A=r(26372),C=r(99128),N=r(38196),Z=r(9633),T=r(50571),x=r(74947),U=r(10286),F=”User ID”,R=D.c$,L=D.Dp,_=”_pbjs_id_optout”,q=(0,D.eA)(“userId”),G={isAllowed:T.xD},M=!1,B=[],W=[],J={},z=[],V=function(){return null==S&&(S=(0,C.V6)()),S};function Y(e){return V().fork().renameWith((function(n){return[“userId.mod.”.concat(n),”userId.mods.”.concat(e,”.”).concat(n)]}))}function $(e,n){n=n||e.storageMgr;var r=”function”==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,t=e.config.storage.name;return function(e,o,i){n.setCookie(t+(e||””),o,i,”Lax”,r)}}function H(e,n){var r=e.config.storage,t=e.storageMgr;try{var o=new Date(Date.now()+864e5*r.expires).toUTCString(),i=(0,v.isPlainObject)(n)?JSON.stringify(n):n;if(r.type===R){var a=$(e);a(null,i,o),a(“_cst”,he(),o),”number”==typeof r.refreshInSeconds&&a(“_last”,(new Date).toUTCString(),o)}else r.type===L&&(t.setDataInLocalStorage(“”.concat(r.name,”_exp”),o),t.setDataInLocalStorage(“”.concat(r.name,”_cst”),he()),t.setDataInLocalStorage(r.name,encodeURIComponent(i)),”number”==typeof r.refreshInSeconds&&t.setDataInLocalStorage(“”.concat(r.name,”_last”),(new Date).toUTCString()))}catch(e){(0,v.logError)(e)}}function K(e){var n,r,t,o;switch(null===(n=e.config)||void 0===n||null===(r=n.storage)||void 0===r?void 0:r.type){case R:var i=$(e,q),a=new Date(Date.now()-864e5).toUTCString();t=function(e){return i(e,””,a)},o=[“”,”_last”,”_cst”];break;case L:t=function(n){return q.removeDataFromLocalStorage(e.config.storage.name+n)},o=[“”,”_last”,”_exp”,”_cst”]}t&&o.forEach((function(e){try{t(e)}catch(e){(0,v.logError)(e)}}))}function Q(e){var n=(0,v.getPrebidInternal)().setEidPermissions;”function”==typeof n&&(0,v.isArray)(e)&&n(function(e){var n=[];return e.filter((function(e){return(0,v.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){var t=p.get(r)||{};(0,b.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&t.source&&n.push({source:t.source,bidders:e.config.bidders})}))})),n}(e))}function X(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,t=e.storageMgr,o=e.config.storage,i=r?””.concat(o.name,”_”).concat(r):o.name;try{if(o.type===R)n=t.getCookie(i);else if(o.type===L){var a=t.getDataFromLocalStorage(“”.concat(o.name,”_exp”));””===a?n=t.getDataFromLocalStorage(i):a&&new Date(a).getTime()-Date.now()>0&&(n=decodeURIComponent(t.getDataFromLocalStorage(i)))}”string”==typeof n&&”{“===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,v.logError)(e)}return n}function ee(e,n,r){n=V().fork().startTiming(“userId.callbacks.total”).stopBefore(n);var t=(0,v.delayExecution)((function(){clearTimeout(undefined),n()}),e.length);e.forEach((function(e){var n=Y(e.submodule.name).startTiming(“callback”).stopBefore(t);try{e.callback((function(t){t?(e.config.storage&&H(e,t),e.idObj=e.submodule.decode(t,e.config),Ie(ne(r))):(0,v.logInfo)(“”.concat(F,”: “).concat(e.submodule.name,” – request id responded with an empty value”)),n()}),X.bind(null,e))}catch(r){(0,v.logError)(“Error in userID module ‘”.concat(e.submodule.name,”‘:”),r),n()}e.callback=void 0}))}function ne(e){return Array.isArray(e)&&e.length?te(e):{}}function re(e,n,r){return Object.fromEntries(Object.entries(e.reduce((function(e,t){var o=n(t);return o&&Object.keys(o).forEach((function(n){var i,a=null===(i=J[n])||void 0===i?void 0:i.indexOf(r(t)),u={priority:(0,v.isNumber)(a)?a:-1,value:o[n]};if(e[n]){var c=u.priority>e[n].priority?u:e[n];e[n]=c}else e[n]=u})),e}),{})).map((function(e){var n=(0,i.Z)(e,2);return[n[0],n[1].value]})))}function te(e){return re(e.filter((function(e){return(0,v.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})),(function(e){return e.idObj}),(function(e){return e.submodule.name}))}function oe(e,n){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,v.isArray)(e.bids)&&e.bids.forEach((function(e){var r=function(e,n){return Array.isArray(e)&&e.length&&n?te(e.filter((function(e){return!e.config.bidders||!(0,v.isArray)(e.config.bidders)||(0,c.q9)(e.config.bidders,n)}))):{}}(n,e.bidder);Object.keys(r).length&&(e.userId=r,e.userIdAsEids=h(r))}))}))}var ie,ae={};function ue(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.delay,o=void 0===t?k.Z.timeout:t,i=(0,k.P)(),a=(0,k.P)(),u=!1;function c(r){return n=V().fork(),null!=e&&e.reject(ae),e=(0,k.P)(),k.Z.race([r,e.promise]).finally(n.startTiming(“userId.total”))}var s=y,d=B;function b(e){return function(){if(s===y&&d===B)return e.apply(void 0,arguments)}}function p(){return l.NO.promise.finally(n.startTiming(“userId.init.consent”))}var h=c(k.Z.all([m.Cd,i.promise]).then(p).then(b((function(){we(s,d)}))).then((function(){return a.promise.finally(n.startTiming(“userId.callbacks.pending”))})).then(b((function(){var e=s.filter((function(e){return(0,v.isFn)(e.callback)}));if(e.length)return new k.Z((function(n){return ee(e,n,s)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refresh,r=void 0!==n&&n,t=e.submoduleNames,l=void 0===t?null:t,m=e.ready,v=void 0!==m&&m;return v&&!u&&(u=!0,i.resolve(),w>0?a.resolve():f.on(g.FP.AUCTION_END,(function e(){f.off(g.FP.AUCTION_END,e),o(I).then(a.resolve)}))),r&&u&&(h=c(h.catch((function(){return null})).then(p).then(b((function(){var e=we(s,d.filter((function(e){return null==l||l.includes(e.submodule.name)})),!0).filter((function(e){return null!=e.callback}));if(e.length)return new k.Z((function(n){return ee(e,n,s)}))}))))),h}}function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:le()||[],n=E&&e.find((function(e){return e.source===E}));if(n&&”string”==typeof(0,b.Z)(n,”uids.0.id”)){var r=n.uids[0].id.replace(/[W_]/g,””);if(r.length>=32&&r.length<=150)return r;(0,v.logWarn)("User ID - Googletag Publisher Provided ID for ".concat(E," is not between 32 and 150 characters - ").concat(r))}}var se=(0,C.g3)("userId",(function(e,n){var r=this,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.delay,i=void 0===o?k.Z.timeout:o,a=t.getIds,c=void 0===a?pe:a;k.Z.race([c().catch((function(){return null})),i(w)]).then((function(){oe(n.adUnits||(0,u.R)().adUnits,y),V().join((0,C.Bf)(n.metrics),{propagate:!1,includeGroups:!0}),e.call(r,n)}))}));function fe(){return ne(y)}function le(){return h(fe())}function de(e){return h(function(e,n){if(!Array.isArray(e)||!e.length)return{};var r=te(e),t=Object.keys(r).find((function(e){var r=p.get(e);return(null==r?void 0:r.source)===n||(0,v.isFn)(null==r?void 0:r.getSource)&&r.getSource()===n}));return t?(0,a.Z)({},t,r[t]):[]}(y,e))[0]}function ge(e,n,r){return ie().then((function(){var t={};if((0,v.isFn)(r)){(0,v.logInfo)(“”.concat(F,” – Getting encrypted signal from custom function : “).concat(r.name,” & source : “).concat(e,” “));var o=r(e);t[e]=o?me(o):null}else{var i=de(e);(0,v.logInfo)(“”.concat(F,” – Getting encrypted signal for eids :”).concat(JSON.stringify(i))),(0,v.isEmpty)(i)||(t[i.source]=!0===n?me(i):i.uids[0].id)}return(0,v.logInfo)(“”.concat(F,” – Fetching encrypted eids: “).concat(t[e])),t[e]}))}function me(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=””;if(1===n)r=”object”===(0,o.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return””.concat(n,”||”).concat(r)}function ve(){if((0,v.isGptPubadsDefined)()){window.googletag.secureSignalProviders=window.googletag.secureSignalProviders||[];var e=s.vc.getConfig(“userSync.encryptedSignalSources”);if(e){var n=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var n=e.source,r=e.encrypt,t=e.customFunc;n.forEach((function(e){window.googletag.secureSignalProviders.push({id:e,collectorFunction:function(){return ge(e,r,t)}})}))}))}),n)}else(0,v.logWarn)(“”.concat(F,” – ESP : encryptedSignalSources config not defined under userSync Object”))}}function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.submoduleNames,r=arguments.length>1?arguments[1]:void 0;return ie({refresh:!0,submoduleNames:n}).then((function(){return r&&(0,v.isFn)(r)&&r(),fe()}))}function pe(){return ie().then((function(){return fe()}),(function(e){return e===ae?Promise.resolve().then(pe):((0,v.logError)(“Error initializing userId”,e),k.Z.reject(e))}))}function he(){for(var e=Number(l.NO.hash),n=[];e>0;)n.push(String.fromCharCode(255&e)),e>>>=8;return btoa(n.join())}function ye(e,n,r){var t=l.rp.getConsentData();if(e.config.storage){var o,i=X(e),a=!1;if(“number”==typeof e.config.storage.refreshInSeconds){var u=new Date(X(e,”last”));a=u&&Date.now()-u.getTime()>1e3*e.config.storage.refreshInSeconds}!i||a||n||function(e){var n=X(e,”cst”);return!n||n!==he()}(e)?o=e.submodule.getId(e.config,t,i):”function”==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,t,i)),(0,v.isPlainObject)(o)&&(o.id&&(H(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 c=e.submodule.getId(e.config,t,void 0);(0,v.isPlainObject)(c)&&(“function”==typeof c.callback&&(e.callback=c.callback),c.id&&(e.idObj=e.submodule.decode(c.id,e.config)))}Ie(ne(r))}function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe();if(e&&E){var n=ce(h(e));n&&((0,v.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 we(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return V().fork().measureTime(“userId.init.modules”,(function(){if(!n.length)return[];if(!(n=n.filter((function(e){return(!e.config.storage||Se(e))&&G.isAllowed(x.EL,(0,U.T)(Z.y2,e.config.name))}))).length)return(0,v.logWarn)(“”.concat(F,” – no ID module configured”)),[];var t=n.reduce((function(e,t){return Y(t.submodule.name).measureTime(“init”,(function(){try{ye(t,r,n),e.push(t)}catch(e){(0,v.logError)(“Error in userID module ‘”.concat(t.submodule.name,”‘:”),e)}return e}))}),[]);return t.length&&Q(t),t.forEach(Ee.bind(null,e)),t}))}function Ee(e,n){for(var r=!1,t=0;t
Ultimas Noticias:
- Operação Protetor: Em Palmas, Polícia Civil apreende mais de 10kg de drogas e retira traficante de circulação
- Na Capital, homem é preso em flagrante após efetuar compras utilizando cartão bancário furtado
- Polícia Civil deflagra operação para desarticular célula de facção paulista responsável por distribuir drogas em todo o Estado
- Vereador eleito Israel da Terezona comemora aniversários com familiares e eleitores
- Governo do Tocantins lança projeto “NatAU MiAU” para ajudar animais em situação de rua
- Seduc promove formação em Letramento Racial para formadores regionais do Alfabetiza Mais Tocantins
- Seduc prorroga prazo de matrículas para estudantes novatos da rede estadual
- Mais de 217 mil tocantinenses saíram da pobreza e 51 mil da extrema pobreza na gestão Wanderlei Barbosa
Previsão do tempo: O que esperar do clima no Brasil em fevereiro?
Fonte: adminNenhum comentário
Noticias Relacionadas
Mais Populares
Portal Cb Notícias.com.br © 2022 Todos direitos reservados Dj Ricardo Mousemix
Menu