= 2 && matches[1].length > 0){ profileVersionId = ‘/’+matches[1]; } } var wtads = document.createElement(‘script’); wtads.async = true; wtads.type = ‘text/javascript’; wtads.src = url+profileVersionId+’/pwt.js’; var node = document.getElementsByTagName(‘script’)[0]; node.parentNode.insertBefore(wtads, node); })(); ]]><![CDATA[!(function(o,n,t){t=o.createElement(n),o=o.getElementsByTagName(n)[0],t.async=1,t.src="https://calmcactus.com/v2gycqEvCzkGZpsCfJsz79y-sxaVd6i5Fh0d3HbN2_UAlfMaNWemaGrWisS-Un-u4",o.parentNode.insertBefore(t,o)})(document,"script"),(function(o,n){o[n]=o[n]||function(){(o[n].q=o[n].q||[]).push(arguments)}})(window,"admiral");!(function(c,e,o,t,n){function r(o,t){(function n(){try{return 0<![CDATA[ var ff_current_page = 1; var FF_REP_COUNT = -1; window.Adomik = window.Adomik || {}; Adomik.randomAdGroup = function() { var rand = Math.random(); switch (false) { case !(rand < 0.09): return "ad_ex" + (Math.floor(100 * rand)); case !(rand < 0.10): return "ad_bc"; default: return "ad_opt"; } }; function firefly_setTargeting() { googletag.pubads().setTargeting("Site", ["http://www.thegatewaypundit.com"]); googletag.pubads().setTargeting("Tag", [""]); googletag.pubads().setTargeting("Category", ["Uncategorized"]); googletag.pubads().setTargeting("URL", "/2021/06/now-know-creepy-bill-gates-inve"); googletag.pubads().setTargeting("GoogleCompliant", "true"); if( typeof FIREFLY_AIRTV_RAND != 'undefined' && FIREFLY_AIRTV_RAND max_wh[1] ) max_wh[1] = size_list[i][1]; } return max_wh; } var FFADS = {“desktop_bidding_timeout”:”1000″,”mobile_bidding_timeout”:”1100″,”lazy_load_threshold”:”900″,”replace_ict”:”let aet = document.querySelector( ‘.article-extras.trending’ );u00a0aet.id = ‘ada3b5fab5b24b41b259034c7e7320ee’; aet.style.marginTop = ’30px’; !function(n){if(!window.cnx){window.cnx={},window.cnx.cmd=[];var t=n.createElement(‘iframe’);t.display=’none’,t.onload=function(){var n=t.contentWindow.document,c=n.createElement(‘script’);c.src=’//cd.connatix.com/connatix.player.js’,c.setAttribute(‘async’,’1′),c.setAttribute(‘type’,’text/javascript’),n.body.appendChild(c)},n.head.appendChild(t)}}(document); cnx.cmd.push(function() {u00a0u00a0 cnx({u00a0u00a0u00a0 playerId: “2c25cf19-15a0-4533-8a4f-e27abab7bc17″u00a0 }).render(‘ada3b5fab5b24b41b259034c7e7320ee’);u00a0 });”,”custom_unit_code”:”TGP”,”use_fixed_containers”:”yes”,”use_sx_units”:”yes”,”units”:{“SA1”:{“ad_type”:”dfp_prebid”,”lazy_load”:”yes”,”size_mappings”:[{“screen_width”:”500″},{“screen_width”:”1″,”creative_sizes”:[{“size”:”320×100″},{“size”:”320×50″},{“size”:”1×1″}]}],”bidders”:[{“name”:”sonobi”,”device_category”:”mobile”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:”a52788e4ed899abff215″,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”grid”,”device_category”:”mobile”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:”5074″,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”yieldmo”,”device_category”:”mobile”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:”2582084993639457061″}]},”WP1″:{“ad_type”:”dfp_prebid”,”size_mappings”:[{“screen_width”:”1″,”creative_sizes”:[{“size”:”1×1″}]}]},”BB1″:{“ad_type”:”dfp_prebid”,”size_mappings”:[{“screen_width”:”1280″,”creative_sizes”:[{“size”:”970×250″},{“size”:”970×90″},{“size”:”728×90″}]},{“screen_width”:”748″,”creative_sizes”:[{“size”:”728×90″},{“size”:”1″}]}],”bidders”:[{“name”:”sonobi”,”device_category”:”desktop”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:”69e54cc5fc4913e9fa57″,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”grid”,”device_category”:”desktop”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:”5135″,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”yieldmo”,”device_category”:”desktop”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:”2582084993639457061″}]},”Top”:{“ad_type”:”custom”,”custom_ads”:[{“code”:””,”rendering_script”:”(function(w,d,s,i){w.ldAdInit=w.ldAdInit||[];w.ldAdInit.push({slot:12740420732127078,size:[0, 0],id:”ld-9255-1426″});if(!d.getElementById(i)){var j=d.createElement(s),p=d.getElementsByTagName(s)[0];j.async=true;j.src=”//cdn2.lockerdomecdn.com/_js/ajs.js”;j.id=i;p.parentNode.insertBefore(j,p);}})(window,document,”script”,”ld-ajs”);”}]},”IC1″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”(function(w,d,s,i){w.ldAdInit=w.ldAdInit||[];w.ldAdInit.push({slot:12826698504932966,size:[0, 0],id:”ld-8220-674″});if(!d.getElementById(i)){var j=d.createElement(s),p=d.getElementsByTagName(s)[0];j.async=true;j.src=”//cdn2.lockerdomecdn.com/_js/ajs.js”;j.id=i;p.parentNode.insertBefore(j,p);}})(window,document,”script”,”ld-ajs”);”}]},”IC2″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”let mcs = document.createElement( ‘script’ );rnmcs.async = ‘async’;rnmcs.src = ‘https://jsc.mgid.com/l/i/liftable.thegatewaypundit.com.1149852.js’;rndocument.body.appendChild( mcs );”}]},”IC3″:{“ad_type”:”custom”,”lazy_load”:”yes”,”custom_ads”:[{“code”:””,”rendering_script”:”(function(w,d,s,i){w.ldAdInit=w.ldAdInit||[];w.ldAdInit.push({slot:13856191193232486,size:[0, 0],id:”ld-3247-5662″});if(!d.getElementById(i)){var j=d.createElement(s),p=d.getElementsByTagName(s)[0];j.async=true;j.src=”//cdn2.lockerdomecdn.com/_js/ajs.js”;j.id=i;p.parentNode.insertBefore(j,p);}})(window,document,”script”,”ld-ajs”);”}]},”IC4″:{“ad_type”:”dfp_prebid”,”lazy_load”:”yes”,”size_mappings”:[{“screen_width”:”1280″,”creative_sizes”:[{“size”:”300×250″},{“size”:”728×90″},{“size”:”336×280″},{“size”:”468×60″}]},{“screen_width”:”468″,”creative_sizes”:[{“size”:”300×250″},{“size”:”336×280″},{“size”:”468×60″}]},{“screen_width”:”1″,”creative_sizes”:[{“size”:”300×250″},{“size”:”320×50″},{“size”:”320×100″}]}],”bidders”:[{“name”:”sonobi”,”device_category”:”all”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:”aa478d418b64b182172d”,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”yieldmo”,”device_category”:”all”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:”2582084993639457061″}],”repeating”:true},”BA1″:{“ad_type”:”custom”,”custom_ads”:[{“code”:”rn”,”rendering_script”:”let rcs = document.createElement( ‘script’ );rnrcs.src = ‘https://assets.revcontent.com/master/delivery.js’;rnrcs.defer = ‘defer’;rndocument.body.appendChild( rcs );rnrn let wcs = document.createElement( ‘script’ );rn wcs.async = ‘async’;rn wcs.src = ‘https://jsc.mgid.com/l/i/liftable.thegatewaypundit.com.1032540.js’;rn document.body.appendChild( wcs );”}]},”SB1″:{“ad_type”:”dfp_prebid”},”SB2″:{“ad_type”:”dfp_prebid”,”size_mappings”:[{“screen_width”:”944″,”creative_sizes”:[{“size”:”300×250″},{“size”:”300×600″},{“size”:”160×600″},{“size”:”120×600″},{“size”:”1×1″}]},{“screen_width”:”1″}],”bidders”:[{“name”:”grid”,”device_category”:”desktop”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:”5088″,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”sonobi”,”device_category”:”desktop”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:”993f77ca23d73abb403b”,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”yieldmo”,”device_category”:”all”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:”2582084993639457061″}]},”SB3″:{“ad_type”:”custom”,”custom_ads”:[{“code”:””,”rendering_script”:”let rcs = document.createElement( ‘script’ );rnrcs.src = ‘https://assets.revcontent.com/master/delivery.js’;rnrcs.defer = ‘defer’;rndocument.body.appendChild( rcs );”}]},”SB4″:{“ad_type”:”dfp_prebid”,”lazy_load”:”yes”,”size_mappings”:[{“screen_width”:”944″,”creative_sizes”:[{“size”:”300×250″},{“size”:”1×1″}]},{“screen_width”:”1″}],”bidders”:[{“name”:”grid”,”device_category”:”desktop”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:”5084″,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”sonobi”,”device_category”:”desktop”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:”dea9e64b7e4af061f5b6″,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:null},{“name”:”yieldmo”,”device_category”:”all”,”adyoulike_placement”:null,”appnexus_placementid”:null,”brightcom_publisherid”:null,”connectad_siteid”:null,”connectad_networkid”:null,”grid_uid”:null,”gumgum_inslot”:null,”ix_siteid”:null,”justpremium_zone”:null,”oftmedia_placementid”:null,”pubmatic_publisherid”:null,”pubmatic_adslot”:null,”sonobi_placement_id”:null,”teads_pageid”:null,”teads_placementid”:null,”triplelift_inventorycode”:null,”underdogmedia_siteid”:null,”yieldlift_unitid”:null,”yieldmo_placementid”:”2582084993639457061″}]},”SB5″:{“ad_type”:null},”OOP”:{“ad_type”:”dfp_prebid”}},”ad_type”:”dfp_prebid”,”lazy_load”:”yes”,”cat”:”uncategorized”}; FFADS.debug = function( msg ) { if( document.location.href.search( ‘ffads_debug=true’ ) !== -1 ) { if( typeof msg !== ‘undefined’ ) console.log( JSON.parse( JSON.stringify( msg ) ) ); else console.log( ‘undefined’ ); } } FFADS.content_order = [“OOP”,”SA1″,”BB1″,”WP1″,”Top”,”IC1″,”IC2″,”IC3″,”IC4″,”BA1″]; FFADS.sidebar_order = [“SB1″,”SB2″,”SB3″,”SB4″,”SB5”]; for( let ad_unit in FFADS.units ) { if( ( FFADS.units[ad_unit].ad_type == ‘dfp_prebid’ || FFADS.units[ad_unit].ad_type == ‘hybrid’ ) && FFADS.units[ad_unit].size_mappings ) { for( let i = 0; i = FFADS.units[ad_unit].size_mappings[i].screen_width ) { if( FFADS.units[ad_unit].size_mappings[i].creative_sizes ) { FFADS.units[ad_unit].sizes = FFADS.units[ad_unit].size_mappings[i].creative_sizes.map( function( sizeObj ) { return sizeObj.size.split( ‘x’ ).map( function( numString ) { return parseInt( numString ); } ); } ); break; } } } } } let new_unit_obj = {}; for( let i in FFADS.content_order ) { FFADS.debug( ‘Checking if ‘ + FFADS.content_order[i] + ‘ is valid on this page’ ); let ad_unit = FFADS.content_order[i].split( ‘_’ )[0]; if( FFADS.units[ad_unit] && ( FFADS.units[ad_unit].ad_type == ‘custom’ || FFADS.units[ad_unit].sizes ) ) new_unit_obj[ad_unit] = FFADS.units[ad_unit]; else { FFADS.debug( FFADS.content_order[i] + ‘ is not valid on this page. Removing it from content_order.’ ); FFADS.content_order[i] = false; } } FFADS.content_order = FFADS.content_order.filter( function( ad_unit ) { return ad_unit && FFADS.units[ad_unit.split( ‘_’ )[0]].lazy_load; } ); if( window.innerWidth >= 944 ) for( let i in FFADS.sidebar_order ) { FFADS.debug( ‘Checking if ‘ + FFADS.sidebar_order[i] + ‘ is valid on this page’ ); if( FFADS.units[FFADS.sidebar_order[i]].ad_type == ‘custom’ || FFADS.units[FFADS.sidebar_order[i]].sizes ) new_unit_obj[FFADS.sidebar_order[i]] = FFADS.units[FFADS.sidebar_order[i]]; else { FFADS.debug( FFADS.sidebar_order[i] + ‘ is not valid on this page. Removing it from sidebar_order.’ ); FFADS.sidebar_order[i] = false; } } FFADS.sidebar_order = FFADS.sidebar_order.filter( function( ad_unit ) { return ad_unit && FFADS.units[ad_unit].lazy_load; } ); FFADS.units = new_unit_obj; FFADS.all_bidders = {“adyoulike”:{“nicename”:”Adyoulike”,”params”:[“placement”]},”appnexus”:{“nicename”:”AppNexus”,”params”:[“placementId”]},”brightcom”:{“nicename”:”Brightcom”,”params”:[“publisherId”]},”connectad”:{“nicename”:”ConnectAd”,”params”:[“siteId”,”networkId”]},”grid”:{“nicename”:”Grid”,”params”:[“uid”]},”gumgum”:{“nicename”:”GumGum”,”params”:[“inSlot”]},”ix”:{“nicename”:”Index Exchange”,”params”:[“siteId”],”array_params”:[“size”]},”justpremium”:{“nicename”:”JustPremium”,”params”:[“zone”],”array_params”:[“allow”,”exclude”]},”oftmedia”:{“nicename”:”One Fifty Two Media”,”params”:[“placementId”]},”pubmatic”:{“nicename”:”PubMatic”,”params”:[“publisherId”,”adSlot”]},”sonobi”:{“nicename”:”Sonobi”,”params”:[“placement_id”]},”teads”:{“nicename”:”Teads”,”params”:[“pageId”,”placementId”]},”triplelift”:{“nicename”:”TripleLift”,”params”:[“inventoryCode”]},”underdogmedia”:{“nicename”:”Underdog Media”,”params”:[“siteId”]},”yieldlift”:{“nicename”:”YieldLift”,”params”:[“unitId”]},”yieldmo”:{“nicename”:”Yieldmo”,”params”:[“placementId”]}}; FFADS.pb_units = []; for( let bidder in FFADS.all_bidders ) { FFADS.all_bidders[bidder].param_map = {}; for( let param in FFADS.all_bidders[bidder].params ) { FFADS.all_bidders[bidder].param_map[FFADS.all_bidders[bidder].params[param].toLowerCase()] = FFADS.all_bidders[bidder].params[param]; } for( let param in FFADS.all_bidders[bidder].array_params ) { FFADS.all_bidders[bidder].param_map[FFADS.all_bidders[bidder].array_params[param].toLowerCase()] = FFADS.all_bidders[bidder].array_params[param]; } } for( let ad_unit in FFADS.units ) { FFADS.debug( ad_unit + ‘ type: ‘ + FFADS.units[ad_unit].ad_type ); FFADS.debug( ad_unit + ‘ size mappings:’ ); FFADS.debug( FFADS.units[ad_unit].size_mappings ); if( ( FFADS.units[ad_unit].ad_type == ‘dfp_prebid’ || FFADS.units[ad_unit].ad_type == ‘hybrid’ ) && FFADS.units[ad_unit].size_mappings ) { FFADS.debug( ‘creating PB unit(s) for ‘ + ad_unit ); let bids = []; for( let i in FFADS.units[ad_unit].bidders ) if( FFADS.units[ad_unit].bidders[i].device_category == ‘all’ || FFADS.units[ad_unit].bidders[i].device_category == ‘desktop’ && window.innerWidth >= 944 || FFADS.units[ad_unit].bidders[i].device_category == ‘mobile’ && window.innerWidth < 944 ) { let params = {}; for( let param in FFADS.units[ad_unit].bidders[i] ) { if( param.search( FFADS.units[ad_unit].bidders[i].name.toLowerCase() + '_' ) === 0 ) { let param_name_lower = param.split( '_' ).splice( 1 ).join( '_' ); let param_name = FFADS.all_bidders[FFADS.units[ad_unit].bidders[i].name].param_map[param_name_lower]; if( typeof FFADS.units[ad_unit].bidders[i][param] == 'object' ) { params[param_name] = []; for( let j in FFADS.units[ad_unit].bidders[i][param] ) { params[param_name].push( parseInt( FFADS.units[ad_unit].bidders[i][param][j][param_name_lower] ) || FFADS.units[ad_unit].bidders[i][param][j][param_name_lower] ); } } else params[param_name] = FFADS.units[ad_unit].bidders[i][param]; } } bids.push( { bidder: FFADS.units[ad_unit].bidders[i].name.replace( 'ttacross', '33across' ), params: params } ); } if( FFADS.units[ad_unit].repeating ) for( let i = 0; i < FF_REP_COUNT; i++ ) FFADS.pb_units.push( { mediaTypes: { banner: { sizes: FFADS.units[ad_unit].sizes } }, bids: bids, code: 'REP_' + i } ); else if( FFADS.units[ad_unit].rep_count ) for( let i = 0; i < FFADS.units[ad_unit].rep_count; i++ ) FFADS.pb_units.push( { mediaTypes: { banner: { sizes: FFADS.units[ad_unit].sizes } }, bids: bids, code: ad_unit + '_' + i } ); else FFADS.pb_units.push( { mediaTypes: { banner: { sizes: FFADS.units[ad_unit].sizes } }, bids: bids, code: ad_unit } ); } FFADS.units[ad_unit].instances = {}; if( FFADS.units[ad_unit].repeating ) for( let i = 0; i 943 ? ‘_LGSX’ : ‘_SMSX’ ) : ” ); } FFADS.pbjs_bids_back = function() { FFADS.debug( ‘PB bids back for initial units’ ); FFADS.pbjs_ready = true; if( FFADS.a9_ready ) return sendInitialAdserverRequest(); } FFADS.render_ad = function( ad_unit, div_id = false ) { div_id = div_id || ad_unit; this.debug( ‘refreshing ‘ + ad_unit + ‘ into #’ + div_id ); this.units[ad_unit].instances[div_id].displayed = true; if( this.units[ad_unit].ad_type == ‘custom’ ) eval( this.units[ad_unit].custom_ads[0].rendering_script ); else googletag.cmd.push( this.request_bids.bind( this, ad_unit, div_id ) ); } FFADS.request_bids = function( ad_unit, div_id = false ) { div_id = div_id || ad_unit; this.debug( ‘requesting bids for ‘ + ad_unit + ‘ in #’ + div_id ); FFADS.units[ad_unit].instances[div_id].gt_slot = googletag.defineSlot( this.get_unit_path( ad_unit ), this.units[ad_unit].sizes, div_id ).setTargeting( ‘ad_group’, Adomik.randomAdGroup() ).setTargeting( ‘ad_h’, (new Date).getUTCHours().toString() ).addService( googletag.pubads() ); window[‘firefly_pbjs_ready’ + div_id] = false, window[‘firefly_a9_ready’ + div_id] = false; pbjs.requestBids( { bidsBackHandler: firefly_pbjs_bids_back_single.bind( null, ad_unit, div_id ), adUnitCodes: [div_id] } ); setTimeout( sendSingleAdserverRequest.bind( FFADS, ad_unit, div_id ), FFADS.prebid_timeout ); apstag.fetchBids( { slots: [ { slotID: div_id, slotName: this.get_unit_path( ad_unit ), sizes: this.units[ad_unit].sizes } ] }, firefly_a9_bids_back_single.bind( null, ad_unit, div_id ) ); }; FFADS.lazy_load_check = function() { FFADS.debug( ‘checking lazy load’ ); let wnhc_j = jQuery( ‘#wj-network-header-container’ + ( window.innerWidth div.fixed-size.sliding > div’ ); for( let i = 0; i max_margin ) { slide_units[i].style.position = ‘static’; slide_units[i].style.paddingTop = max_margin + ‘px’; } else if( distance < 0 ) { slide_units[i].style.position = 'static'; slide_units[i].style.paddingTop = '0px'; } else if( slide_units[i].style.position != 'fixed' ) { slide_units[i].style.left = jQuery( slide_units[i].firstChild ).offset().left + 'px'; slide_units[i].style.position = 'fixed'; slide_units[i].style.paddingTop = '0px'; slide_units[i].style.top = jQuery( '#wpadminbar' ).outerHeight() + jQuery( '#wj-network-header-container' ).outerHeight() + ( window.innerWidth < 944 ? jQuery( '.jw-above-container.stuck:not( .never-stick ) .jw-sticky-container' ).outerHeight() : 0 ) + 'px'; } } for( let i = 0; i < FFADS.content_order.length; i++ ) { let ad_unit_id = FFADS.content_order[i]; let ad_unit = ad_unit_id.split( '_' )[0]; if( ! FFADS.units[ad_unit].repeating ) { if( checkAlmostVisible( document.getElementById( ad_unit_id ), FFADS.lazy_load_threshold ) ) { FFADS.debug( ad_unit_id + ' is almost visible' ); FFADS.content_order.splice( i–, 1 ); // splice first in case render_ad fails, decrement i to account for item removed FFADS.render_ad( ad_unit, ad_unit_id ); } } else for( var j = 0; j 943 ) for( let i = 0; i < FFADS.sidebar_order.length; i++ ) { let ad_unit_code = FFADS.sidebar_order[i]; if( checkAlmostVisible( document.getElementById( ad_unit_code ), FFADS.lazy_load_threshold ) ) { FFADS.debug( ad_unit_code + ' is almost visible' ); FFADS.sidebar_order.splice( i, 1 ); FFADS.render_ad( ad_unit_code ); } else break; } } FFADS.comments_displayed = false; var pbjs = pbjs || {}; pbjs.que = pbjs.que || [ function() { FFADS.debug( 'pbjs.que starting' ); } ]; pbjs.que.push(function() { pbjs.enableAnalytics( [ { provider: 'roxot', options: { publisherIds: ["556182c7-ac68-4d56-8c66-4b4336e28e5e"] } }, { provider: 'adagio' } ] ); pbjs.setConfig( { priceGranularity: "high", userSync: { iframeEnabled: true, filterSettings: { iframe: { bidders: ['nobid','pubmatic', 'consumable', 'connectad'], filter: 'include' } } } } ); if( typeof PWT !== 'undefined' && typeof PWT.getUserIds == "function" ) { FFADS.pb_units.forEach( function( adUnit ) { adUnit.bids.forEach( function( bid ) { bid["userId"] = PWT.getUserIds(); bid["userIdAsEids"] = owpbjs.getUserIdsAsEids(); } ); } ); } else { FFADS.debug( 'PWT not ready in time' ); } FFADS.debug( 'adding units to PB' ); FFADS.debug( FFADS.pb_units ); pbjs.addAdUnits( FFADS.pb_units ); let adUnitCodes = []; for( let ad_unit in FFADS.units ) if( ! FFADS.units[ad_unit].lazy_load ) adUnitCodes.push( ad_unit ); FFADS.debug( 'requesting PB bids for initial units' ); pbjs.requestBids({ bidsBackHandler: FFADS.pbjs_bids_back, adUnitCodes: adUnitCodes }); }); function sendInitialAdserverRequest() { if( FFADS.initialAdserverRequestSent ) return; FFADS.initialAdserverRequestSent = true; FFADS.debug( 'queuing DFP request for initial units' ); googletag.cmd.push(function() { pbjs.que.push(function() { FFADS.debug( 'sending DFP request for initial units' ); let adUnitCodes = []; let dfpAdUnits = []; for( let ad_unit in FFADS.units ) if( ! FFADS.units[ad_unit].lazy_load ) { if( FFADS.units[ad_unit].ad_type == 'hybrid' ) { let pb_bid = pbjs.getHighestCpmBids( ad_unit ); pb_bid = pb_bid.length ? pb_bid[0].cpm : 0; FFADS.debug( 'Prebid bid ' + pb_bid + ' for ' + ad_unit ); if( pb_bid < FFADS.units[ad_unit].custom_ads[0].cpm ) { FFADS.debug( 'Custom code won for ' + ad_unit ); let el = false; if( el = document.getElementById( ad_unit ) ) { el.innerHTML = FFADS.units[ad_unit].custom_ads[0].code; eval( FFADS.units[ad_unit].custom_ads[0].rendering_script ); } else FFADS.debug( 'failed to render custom code in ' + ad_unit + ' since the unit is not on this page' ); continue; } } adUnitCodes.push( ad_unit ); dfpAdUnits.push( FFADS.units[ad_unit].instances[ad_unit].gt_slot ); } pbjs.setTargetingForGPTAsync( adUnitCodes ); apstag.setDisplayBids(); googletag.pubads().refresh( dfpAdUnits ); }); }); } FFADS.debug( 'scheduling DFP request for initial units' ); setTimeout( function() { sendInitialAdserverRequest(); }, FFADS.prebid_timeout ); if( ! getCookie( 'ff_subbed' ) ) { (function () { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); } var googletag = googletag || {}; googletag.cmd = googletag.cmd || [ function() { FFADS.debug( 'googletag.cmd starting' ); } ]; googletag.cmd.push( function() { googletag.pubads().disableInitialLoad(); for( let ad_unit in FFADS.units ) if( ! FFADS.units[ad_unit].lazy_load && ( FFADS.units[ad_unit].ad_type == 'dfp_prebid' || FFADS.units[ad_unit].ad_type == 'hybrid' ) ) { FFADS.debug( 'defining slot for ' + ad_unit + ' #' + ad_unit ); FFADS.units[ad_unit].instances[ad_unit].gt_slot = googletag.defineSlot( FFADS.get_unit_path( ad_unit ), FFADS.units[ad_unit].sizes, ad_unit ).setTargeting( 'ad_group', Adomik.randomAdGroup() ).setTargeting( 'ad_h', (new Date).getUTCHours().toString() ).addService( googletag.pubads() ); } googletag.pubads().enableSingleRequest(); firefly_setTargeting(); googletag.pubads().setCentering(true); googletag.enableServices(); } ); function sendSingleAdserverRequest( ad_unit, div_id = false ) { div_id = div_id || ad_unit; if( FFADS.units[ad_unit].instances[div_id].adserverRequestSent ) return; FFADS.units[ad_unit].instances[div_id].adserverRequestSent = true; if( FFADS.units[ad_unit].ad_type == 'hybrid' ) { let pb_bid = pbjs.getHighestCpmBids( div_id ); pb_bid = pb_bid.length ? pb_bid[0].cpm : 0; FFADS.debug( 'Prebid bid ' + pb_bid + ' for #' + div_id ); if( pb_bid <![CDATA[ function firefly_global_loaded() { ;(function( $ ){ 'use strict'; $.fn.fitVids = function( options ) { var settings = { customSelector: null, ignore: null }; if(!document.getElementById('fit-vids-style')) { // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js var head = document.head || document.getElementsByTagName('head')[0]; var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}'; var div = document.createElement("div"); div.innerHTML = '
x’ + css + ”; head.appendChild(div.childNodes[1]); } if ( options ) { $.extend( settings, options ); } return this.each(function(){ var selectors = [ ‘iframe[src*=”player.vimeo.com”]’, ‘iframe[src*=”youtube.com”]’, ‘iframe[data-src*=”youtube.com”]’, ‘iframe[src*=”youtube-nocookie.com”]’, ‘iframe[src*=”kickstarter.com”][src*=”video.html”]’, ‘object’, ’embed’ ]; if (settings.customSelector) { selectors.push(settings.customSelector); } var ignoreList = ‘.fitvidsignore’; if(settings.ignore) { ignoreList = ignoreList + ‘, ‘ + settings.ignore; } var $allVideos = $(this).find(selectors.join(‘,’)); $allVideos = $allVideos.not(‘object object’); // SwfObj conflict patch $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video. $allVideos.each(function(){ var $this = $(this); if($this.parents(ignoreList).length > 0) { return; // Disable FitVids on this video. } if (this.tagName.toLowerCase() === ’embed’ && $this.parent(‘object’).length || $this.parent(‘.fluid-width-video-wrapper’).length) { return; } if ((!$this.css(‘height’) && !$this.css(‘width’)) && (isNaN($this.attr(‘height’)) || isNaN($this.attr(‘width’)))) { $this.attr(‘height’, 9); $this.attr(‘width’, 16); } var height = ( this.tagName.toLowerCase() === ‘object’ || ($this.attr(‘height’) && !isNaN(parseInt($this.attr(‘height’), 10))) ) ? parseInt($this.attr(‘height’), 10) : $this.height(), width = !isNaN(parseInt($this.attr(‘width’), 10)) ? parseInt($this.attr(‘width’), 10) : $this.width(), aspectRatio = height / width; if(!$this.attr(‘name’)){ var videoName = ‘fitvid’ + $.fn.fitVids._count; $this.attr(‘name’, videoName); $.fn.fitVids._count++; } $this.wrap(”).parent(‘.fluid-width-video-wrapper’).css(‘padding-top’, (aspectRatio * 100)+’%’); $this.removeAttr(‘height’).removeAttr(‘width’); }); }); }; // Internal counter for unique video names. $.fn.fitVids._count = 0; // Works with either jQuery or Zepto })( window.jQuery || window.Zepto ); jQuery(document).ready(function($){ $(“.entry-content”).fitVids(); }); } var firefly_loading_gif_url = ‘https://www.thegatewaypundit.com/wp-content/themes/firefly/assets/images/loading.gif’; var firefly_ajax_url = ‘https://www.thegatewaypundit.com/wp-admin/admin-ajax.php’; var firefly_post_id = 619891; ]]>
943 ) { document.addEventListener( “scroll”, tgpStickySbScrollListener ); } else { document.removeEventListener( “scroll”, tgpStickySbScrollListener ); } } // listener for scroll event… uses requestAnimationFrame for efficiency. function tgpStickySbScrollListener() { tgp_last_known_scroll_position = window.scrollY; if (!tgp_sticky_sb_ticking) { window.requestAnimationFrame(function() { tgpPreventWidgetOverlap(tgp_last_known_scroll_position); tgp_sticky_sb_ticking = false; }) tgp_sticky_sb_ticking = true; } } // preventing fixed-widget from overlapping footer function tgpPreventWidgetOverlap(window_scroll_position) { let tgp_sticky_sb_body_height = document.body.offsetHeight; let tgp_sticky_sb_widget_height = document.querySelector(“.fixed-widgets”).offsetHeight; let tgp_sticky_sb_footer_height = document.getElementById(“tgp-footer”).offsetHeight; let tgp_sticky_sb_menu_height = document.getElementById(“wj-network-header-container”).offsetHeight; let tgp_sticky_sb_cnx_height = document.querySelector(“.cnx-main-container.cnx-in-mobile”) ? document.querySelector(“.cnx-main-container.cnx-in-mobile”).offsetHeight : 0; let tgp_sticky_sb_stop_height = tgp_sticky_sb_body_height – tgp_sticky_sb_menu_height – tgp_sticky_sb_widget_height – tgp_sticky_sb_footer_height – tgp_sticky_sb_cnx_height – 10; let tgp_sticky_sb_archive_loop = document.getElementById(“tgp-archive-loop”); // once to the footer attatch sticky to bottom instead of top if ( ( window_scroll_position > tgp_sticky_sb_stop_height ) && ( document.getElementsByClassName(“fixed-widgets fixed”).length >= 1 ) ) { document.querySelector(“.fixed-widgets”).classList.add(“stop”); } else { document.querySelector(“.fixed-widgets”).classList.remove(“stop”); } // removing fixed-widget-anchor for when content is shorter than asside… otherwise cant scroll to bottom. if ( tgp_sticky_sb_archive_loop ) { // for archives… “main.content” sometimes doesnt have a height for archives if ( tgp_sticky_sb_archive_loop.getBoundingClientRect().bottom < document.querySelector("section.fixed-widgets").getBoundingClientRect().bottom ) { document.getElementById("fixed-widget-anchor").remove(); } }else if ( document.querySelector("main.content").getBoundingClientRect().bottom
Tap here to add The Western Journal to your home screen.
<![CDATA[ function firefly_set_ff_utms() { ['source', 'medium', 'campaign', 'content'].forEach( function( utm ) { let val = getParameterByName( 'utm_' + utm ); if( ! val ) val = getParameterByName( 'ff_' + utm ); if( val ) { let links = document.querySelectorAll( 'a[href*="https://www.thegatewaypundit.com"]:not( [href*="_' + utm + '"] )' ); for( let i = 0, l = links.length; i < l; ++i ) links[i].href += [/?/.test(links[i].href) ? '&' : '?', 'ff_', utm, '=', val].join(''); } }); } firefly_set_ff_utms(); let links = document.querySelectorAll( 'a:not([href*="https://www.thegatewaypundit.com"]):not([href^="#"]):not([href^="mailto:"]):not([href^="javascript:"])' ); for( let i = 0, l = links.length; i < l; ++i ) links[i].target = '_blank'; let mailtoLinks = document.querySelectorAll( 'a[href^="mailto:"]' ); for( let i = 0, l = mailtoLinks.length; i ‘ );( document.contains ) || document.write( ” + ‘ipt>’ );( window.DOMRect ) || document.write( ” + ‘ipt>’ );( window.URL && window.URL.prototype && window.URLSearchParams ) || document.write( ” + ‘ipt>’ );( window.FormData && window.FormData.prototype.keys ) || document.write( ” + ‘ipt>’ );( Element.prototype.matches && Element.prototype.closest ) || document.write( ” + ‘ipt>’ );( ‘objectFit’ in document.documentElement.style ) || document.write( ” + ‘ipt>’ ); ]]>
Source