[] new Promise((resolve) => { if (window.__uspapi && ‘function’ === typeof __uspapi) { __uspapi(‘getUSPData’, 1, (uspData, success) => { if(success) { const consent = uspData.uspString.split(”)[2]; if (consent === ‘N’) { resolve(true); } else { resolve(false); } } else { resolve(false); } }); } else { resolve(false); } }); // Dispatch event for user consent window.OneTrust?.OnConsentChanged(({ detail }) => { const nxsConsentEvent = new CustomEvent(‘nxsConsent’, { detail }); dispatchEvent(nxsConsentEvent); }); // groups the user has consented to window.nxsConsentGroups = window.OnetrustActiveGroups; }) ]]> = 768 ? ‘de’ : ‘mo’, } }); ]]> { if(success) { initArgs.params = { us_privacy: uspData?.uspString }; } }); } const initParams = initArgs?.params || { us_privacy: window.NXSTdata?.privacy?.usPrivacyString || ‘1—‘ }; function get_si_section() { const nlp_categories = Object.keys( NXSTdata.content?.nlpCategories || {} ) if ( !nlp_categories.length || nlp_categories[0].toLowerCase().includes(‘sensitive subjects’) ) { return ”; } return nlp_categories[0].split(‘/’).filter(Boolean)[0].replaceAll(‘ ‘, ‘_’) } apstag.init({ …initArgs, params: { …initParams, si_section: get_si_section(), }, }); ]]> { if (‘tb_loader_script’ === e?.detail?.script) { window.taboolaScriptLoaded = true; maybeLaunchTrackingPixel(); } }); window.addEventListener(‘revenue-block-written’, (e) => { if (‘taboola’ === e?.detail?.data) { window.taboolaBlockRendered = true; maybeLaunchTrackingPixel(); } }); window._taboola = window._taboola || []; _taboola.push({article:’auto’}); !function (e, f, u, i) { if (!document.getElementById(i)){ e.async = 1; e.src = u; e.id = i; e.onload = () => { window.dispatchEvent( new CustomEvent(‘script-loaded’, { detail: { script: i } })); }; f.parentNode.insertBefore(e, f); } }( document.createElement(‘script’), document.getElementsByTagName(‘script’)[0], ‘//cdn.taboola.com/libtrc/nexstar-network/loader.js’, ‘tb_loader_script’ ); if(window.performance && typeof window.performance.mark == ‘function’) {window.performance.mark(‘tbl_ic’);} ]]> Black Americans played pivotal, often unsung role in Pride movement | KLAS 2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:”/”,o=new Date(Date.now()+60*n*60*1e3).toUTCString();document.cookie=e+”=”+t+”; expires=”+o+”; path=”+r},window.getCookie=function(e){for(var t=e+”=”,n=document.cookie.split(“;”),r=0;r2&&void 0!==arguments[2]&&arguments[2],d=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(i(this,e),this.apstagSlots=[],this.prebidSlots=[],this.prebidData={analytics:[],priceGranularity:{},sizeConfig:[],slotMap:{},userSync:{}},this.lazyloadConfig={},this.device=””,this.pageType=””,this.googletag=t,this.isApsEnabled=o,this.isPrebidJSEnabled=a,this.slotsInitialized=d,this.lazyloadConfig=l,this.pageType=r(),this.device=s(),this.readMoreArticle=this.isReadMoreArticle(),this.setUpSlot=this.setUpSlot.bind(this),this.refreshSlots=this.refreshSlots.bind(this),this.refreshSingleSlot=this.refreshSingleSlot.bind(this),this.isPrebidJSEnabled){window.pbjs=window.pbjs||{},window.pbjs.que=pbjs.que||[],window.prebidData&&(this.prebidData=window.prebidData,window.NXSTdata&&window.NXSTdata.content&&window.NXSTdata.content.pageDcode&&this.prebidData.slotMap&&Object.keys(this.prebidData.slotMap).forEach((function(e){n.prebidData.slotMap[e].filter((function(e){return”rubicon”===e.bidder})).forEach((function(e){e.params.inventory={d_code:window.NXSTdata.content.pageDcode}}))})));var u=””;window.isGdprPrebidEnabled&&(u={gdpr:{cmpApi:”iab”,timeout:8e3,defaultGdprScope:!0},usp:{cmpApi:”iab”,timeout:1e3}}),window.pbjs.que.push((function(){window.pbjs.setConfig({realTimeData:n.prebidData.realTimeData,sizeConfig:n.prebidData.sizeConfig,priceGranularity:n.prebidData.priceGranularity,userSync:n.prebidData.userSync,consentManagement:u,targetingControls:{allowTargetingKeys:[“BIDDER”,”AD_ID”,”PRICE_BUCKET”,”DEAL”]},yahoossp:{mode:”all”}}),window.pbjs.aliasBidder(“aol”,”verizon”),n.prebidData.analytics.length&&window.pbjs.enableAnalytics(n.prebidData.analytics),window.pbjs.bidderSettings={concert:{storageAllowed:!0}}}))}}var t,n,a;return t=e,a=[{key:”apstag”,value:function(){return window.apstag||null}}],(n=[{key:”setUpSlot”,value:function(e,t,n,i,o,a){var r=this;this.pushCmd((function(){var n=null;if((n=t.is_oop?r.googletag.defineOutOfPageSlot(i,e):r.googletag.defineSlot(i,t.size,e))&&(o&&Object.keys(o).forEach((function(e){n.setTargeting(e,o[e])})),t.sizes.length&&n.defineSizeMapping(t.sizes),t.is_companion&&a&&n.addService(r.googletag.companionAds()),n.addService(r.googletag.pubads())),n){var s=[];if(n.getSizes?s=n.getSizes(window.innerWidth,window.innerHeight).map((function(e){return[e.getWidth(),e.getHeight()]})):t.sizes.length&&(s=Object.values(t.sizes.reduce((function(e,t){var n=e;return t[1].forEach((function(e){n[e.join(“,”)]=e})),n}),{}))),s.length&&(s=s.filter((function(e){return!(88===e[0]&&31===e[1])}))),s.length){var d=o&&o.pos,l=[n.getAdUnitPath().split(“/”).slice(0,3).join(“/”),d].join(“/”);if(r.apstagSlots.push({sizes:s,slotID:n.getSlotElementId(),slotName:l}),r.isPrebidJSEnabled){var u=r.getPrebidBidsForSlot(d);d&&u.length&&r.prebidSlots.push({code:n.getSlotElementId(),mediaTypes:{banner:{sizes:s}},bids:u,ortb2Imp:{ext:{gpid:l,data:{pbadslot:l}}}})}}}}))}},{key:”getPrebidBidsForSlot”,value:function(e){return e&&this.prebidData.slotMap&&this.prebidData.slotMap[e]?this.prebidData.slotMap[e]:[]}},{key:”initVisibleSlots”,value:function(){this.slotsInitialized=!0,this.refreshSlots()}},{key:”isReadMoreArticle”,value:function(){var e=”mobile”===this.device;return window.isMobileReadMoreEnabled&&e}},{key:”showHiddenSlots”,value:function(){var e=this;this.readMoreArticle&&this.pushCmd((function(){var t=window.googletag.pubads().getSlots();(t=function(e){return e.filter((function(e){return-1parseFloat(n.pbCg)?e:n}),{})}(null==i||null===(o=i[t])||void 0===o?void 0:o.bids);null!=r&&r.adserverTargeting&&(a=r.adserverTargeting),e(a)}})}))})):n()}))}:g.a,O=function(){function e(n){!function(e,n){if(!(e instanceof n))throw new TypeError(“Cannot call a class as a function”)}(this,e),this.pInstance=””,this.bids={};var t=document.getElementById(n);this.pInstance=n,this.beforeVideoLoad=this.beforeVideoLoad.bind(this),this.refreshBids=this.refreshBids.bind(this),AnvatoPlayer(this.pInstance).on(“beforeVideoLoad”,this.beforeVideoLoad),AnvatoPlayer(this.pInstance).on(“VAST_REQUESTED”,this.refreshBids),window.isAutoPlay&&”function”==typeof isAutoPlay&&window.isAutoPlay(t)&&this.refreshBids()}var n,t,i;return n=e,(t=[{key:”beforeVideoLoad”,value:function(e,n){var t=n.pInstance,i=n.plugins,o=(i=void 0===i?{}:i).dfp,r=(o=void 0===o?{}:o).clientSide,s=(r=void 0===r?{}:r).adTagUrl;if(t!==this.pInstance)return n;var d=n;return s&&(d.plugins.dfp.clientSide.adTagUrl=String(Object(a.a)(this.bids,new URL(s)))),d}},{key:”refreshBids”,value:function(){var e=this;I().then((function(n){e.bids=n}))}}])&&P(n.prototype,t),i&&P(n,i),e}(),A=t(113);function E(e,n){for(var t=0;t Skip to content
Source

Advertisements