7&&void 0!==arguments[7]?arguments[7]:window,c=this;this.name=e,this.funcName=i,this.parameters=null===n?null:p(n)?n:[n],this.isBlock=o,this.blockedBy=s,this.deleteWhenComplete=r,this.isError=!1,this.isComplete=!1,this.isInitialized=!1,this.proceedIfError=a,this.fWindow=l,this.isTimeDelay=!1,this.process=function(){f(“… func = “+e),c.isInitialized=!0,c.isComplete=!0,f(“… func.apply: “+e);var i=c.funcName.split(“.”),n=null,o=this.fWindow||window;i.length>3||(n=3===i.length?o[i[0]][i[1]][i[2]]:2===i.length?o[i[0]][i[1]]:o[c.funcName]),null!=n&&n.apply(null,this.parameters),!0===c.deleteWhenComplete&&delete t[e],!0===c.isBlock&&(f(“—– F’D: “+c.name),u())}},l=function(e,i,t,n,o,s,r){var a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:window,l=this;this.name=e,this.path=i,this.async=o,this.defer=s,this.isBlock=t,this.blockedBy=n,this.isInitialized=!1,this.isError=!1,this.isComplete=!1,this.proceedIfError=r,this.fWindow=a,this.isTimeDelay=!1,this.isPath=function(e){return”/”===e[0]&&”/”!==e[1]},this.getSrc=function(e){return void 0!==window.__ezScriptHost&&this.isPath(e)?window.__ezScriptHost+e:e},this.process=function(){l.isInitialized=!0,f(“… file = “+e);var i=this.fWindow?this.fWindow.document:document,t=i.createElement(“script”);t.src=this.getSrc(this.path),!0===o?t.async=!0:!0===s&&(t.defer=!0),t.onerror=function(){f(“—– ERR’D: “+l.name),l.isError=!0,!0===l.isBlock&&u()},t.onreadystatechange=t.onload=function(){var e=t.readyState;f(“—– F’D: “+l.name),e&&!/loaded|complete/.test(e)||(l.isComplete=!0,!0===l.isBlock&&u())},i.getElementsByTagName(“head”)[0].appendChild(t)}},c=function(e,i){this.name=e,this.path=””,this.async=!1,this.defer=!1,this.isBlock=!1,this.blockedBy=[],this.isInitialized=!0,this.isError=!1,this.isComplete=i,this.proceedIfError=!1,this.isTimeDelay=!1,this.process=function(){}};function d(e){!0!==h(e)&&0!=r&&e.process()}function h(e){if(!0===e.isTimeDelay&&!1===n)return f(e.name+” blocked = TIME DELAY!”),!0;if(p(e.blockedBy))for(var i=0;i200||(f(“let’s go”),m(o),m(s))}function m(e){for(var i in e)if(!1!==e.hasOwnProperty(i)){var t=e[i];!0===t.isComplete||h(t)||!0===t.isInitialized||!0===t.isError?!0===t.isError?f(t.name+”: error”):!0===t.isComplete?f(t.name+”: complete already”):!0===t.isInitialized&&f(t.name+”: initialized already”):t.process()}}function p(e){return”[object Array]”==Object.prototype.toString.call(e)}return window.addEventListener(“load”,(function(){setTimeout((function(){n=!0,f(“TDELAY —–“),u()}),5e3)}),!1),{addFile:function(e,i,n,r,a,c,h,f,u){var m=new l(e,i,n,r,a,c,h,u);!0===f?o[e]=m:s[e]=m,t[e]=m,d(m)},addDelayFile:function(e,i){var n=new l(e,i,!1,[],!1,!1,!0);n.isTimeDelay=!0,f(e+” … FILE! TDELAY”),s[e]=n,t[e]=n,d(n)},addFunc:function(e,n,r,l,c,h,f,u,m,p){!0===h&&(e=e+”_”+i++);var y=new a(e,n,r,l,c,f,u,p);!0===m?o[e]=y:s[e]=y,t[e]=y,d(y)},addDelayFunc:function(e,i,n){var o=new a(e,i,n,!1,[],!0,!0);o.isTimeDelay=!0,f(e+” … FUNCTION! TDELAY”),s[e]=o,t[e]=o,d(o)},items:t,processAll:u,setallowLoad:function(e){r=e},markLoaded:function(e){if(e&&0!==e.length){if(e in t){var i=t[e];!0===i.isComplete?f(i.name+” “+e+”: error loaded duplicate”):(i.isComplete=!0,i.isInitialized=!0)}else t[e]=new c(e,!0);f(“markLoaded dummyfile: “+t[e].name)}},logWhatsBlocked:function(){for(var e in t)!1!==t.hasOwnProperty(e)&&h(t[e])}}}();__ez.evt.add=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent(“on”+t,n):e[“on”+t]=n()},__ez.evt.remove=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent(“on”+t,n):delete e[“on”+t]};__ez.script.add=function(e){var t=document.createElement(“script”);t.src=e,t.async=!0,t.type=”text/javascript”,document.getElementsByTagName(“head”)[0].appendChild(t)};__ez.dot={};!function(){var e;__ez.vep=(e=[],{Add:function(i,t){__ez.dot.isDefined(i)&&__ez.dot.isValid(t)&&e.push({type:”video”,video_impression_id:i,domain_id:__ez.dot.getDID(),t_epoch:__ez.dot.getEpoch(0),data:__ez.dot.dataToStr(t)})},Fire:function(){if(void 0===document.visibilityState||”prerender”!==document.visibilityState){if(__ez.dot.isDefined(e)&&e.length>0)for(;e.length>0;){var i=5;i>e.length&&(i=e.length);var t=e.splice(0,i),o=__ez.dot.getURL(“/detroitchicago/grapefruit.gif”)+”?orig=”+(!0===__ez.template.isOrig?1:0)+”&v=”+btoa(JSON.stringify(t));__ez.dot.Fire(o)}e=[]}}})}();]]> How to Find Metadata For Your NFT Art on OpenSea and Rarible { //document.getElementsByClassName(‘cs-icon-search’)[1].style.color = ‘blue’; resolve(); }; window.addEventListener(‘load’, function () { //document.getElementsByClassName(‘cs-icon-search’)[1].style.color = ‘purple’; resolve(); }) } }); } async function lazyLoadScript(scriptUrl, id, ele){ const oldScript = document.querySelector(`#${id}`); if(oldScript) return; const s = document.createElement(“script”); s.id = id; s.type = “text/javascript”; s.language=”language”; s.src = scriptUrl; s.setAttribute(“async”,””); s.setAttribute(“defer”,””); if(!ele) ele = document.body; ele.appendChild(s); const script = document.querySelector(`#${id}`); return new Promise(function(resolve){ script.addEventListener(‘load’, function() { resolve(); }); }) } async function loadPubliftAd(id){ //return; try{ if(ezoicEnabled()) { $(‘.cs-icon-search’).css(‘color’,’#00C57A’); return console.log(‘EZOIC ENABLED, NOT LOADING PUBLIFT AD:’, id); } if(!isAdsEnabled()) return console.log(‘ADS DISABLED BY isAdsEnabled’); await windowLoaded(); await delay(50); await lazyLoadScript(‘https://cdn.fuseplatform.net/publift/tags/2/2511/fuse.js’, ‘publiftScript’); fusetag.loadSlotById(id); console.log(‘LOADED PUBLIFT AD!!!!!!!!!!!!!’); }catch(e){console.log(‘ERROR LOADING PUBLIFT AD:::::::::::::’, e)} } async function loadPrimis(element){ if(!isAdsEnabled()) return console.log(‘ADS DISABLED BY isAdsEnabled’); //return; console.log(‘Primis waiting for window load’) await windowLoaded(); console.log(‘Primis window loaded’) await delay(50); await lazyLoadScript(‘https://live.primis.tech/live/liveView.php?s=109058’, ‘primisScript’, element); console.log(‘LOADED PRIMIS!!!!!!!!!’); } ]]> 0 ? infinitePlaceholders[infiniteId].pop() : undefined; if(!ezoicId) return; e.replaceWith(` `); newEzoicIds.push(ezoicId); }); if(newEzoicIds.length > 0) ezoicLoadPlaceholders(newEzoicIds); } function ezoicLoadPlaceholders(ids){ if(!ezoicEnabled) return; const checkedIds = {} const ezoicIds = $(‘div[id^=”ezoic-pub-ad-placeholder-“]’); ezoicIds.each(function(){ const e = $(this); const id = e.attr(‘id’); if(checkedIds[id]) e.remove(); checkedIds[id] = true; }) window.ezstandalone = window.ezstandalone || {}; ezstandalone.cmd = ezstandalone.cmd || []; ezstandalone.cmd.push(function() { console.log(‘REQUESTING TO DISPLAY EZOIC:’, ids) ezstandalone.displayMore(…ids); //ezstandalone.refresh(); }); } $(‘body’).on(‘DOMNodeInserted’,’.cs-nextpost-section’, function() { const e = $(this); if(e.attr(‘ezoic-inserted’) === ‘true’) return; e.attr(‘ezoic-inserted’, ‘true’); //console.log(ele) // 106, 107, 108 already placed there // e.find(‘.entry-content p:nth-child(2)’).after(‘ ‘); e.find(‘.entry-content p:nth-child(2)’).after(‘ ‘); refreshInfiniteAds(); });]]> 0 ) { powerkitButtonsIds.push( $( this ).attr( ‘data-id’ ) ); } }); // Generate accounts data. var powerkitButtonsData = {}; if( powerkitButtonsIds.length > 0 ) { powerkitButtonsData = { ‘ids’ : powerkitButtonsIds.join(), ‘post_id’ : powerkitButtonsBox.attr( ‘data-post-id’ ), ‘url’ : powerkitButtonsBox.attr( ‘data-share-url’ ), }; } // Get results by REST API. $.ajax({ type: ‘GET’, url: ‘https://watcher.guru/news/wp-json/social-share/v1/get-shares’, data: powerkitButtonsData, beforeSend: function(){ // Add Loading Class. powerkitButtonsBox.addClass( ‘pk-share-buttons-loading’ ); }, success: function( response ) { if ( ! $.isEmptyObject( response ) && ! response.hasOwnProperty( ‘code’ ) ) { // Accounts loop. $.each( response, function( index, data ) { if ( index !== ‘total_count’ ) { // Find Bsa Item. var powerkitButtonsItem = powerkitButtonsBox.find( ‘.pk-share-buttons-item[data-id=”‘ + index + ‘”]’); // Set Count. if ( data.hasOwnProperty( ‘count’ ) && data.count ) { powerkitButtonsItem.removeClass( ‘pk-share-buttons-no-count’ ).addClass( ‘pk-share-buttons-item-count’ ); powerkitButtonsItem.find( ‘.pk-share-buttons-count’ ).html( data.count ); } else { powerkitButtonsItem.addClass( ‘pk-share-buttons-no-count’ ); } } }); if ( powerkitButtonsBox.hasClass( ‘pk-share-buttons-has-total-counts’ ) && response.hasOwnProperty( ‘total_count’ ) ) { var powerkitButtonsTotalBox = powerkitButtonsBox.find( ‘.pk-share-buttons-total’ ); if ( response.total_count ) { powerkitButtonsTotalBox.find( ‘.pk-share-buttons-count’ ).html( response.total_count ); powerkitButtonsTotalBox.show().removeClass( ‘pk-share-buttons-total-no-count’ ); } } } // Remove Loading Class. powerkitButtonsBox.removeClass( ‘pk-share-buttons-loading’ ); }, error: function() { // Remove Loading Class. powerkitButtonsBox.removeClass( ‘pk-share-buttons-loading’ ); } }); }); }); })(jQuery); ]]>

Source