// Front page: the reshare board, credit-featured ads, today's numbers and the PolHunter embed (hunters' visits never count). (async function () { const $ = VAS.$; const d = await VAS.wire('front').catch(() => ({})); const t = d.today || {}; $('todayStats').innerHTML = [[t.ads, 'ads running'], [t.reshares, 'reshares today'], [t.views, 'verified views today'], [t.vclicks, 'verified clicks today']] .map(x => '
No ads yet. Post the first one free.
'; VAS.featured($('featured'), d); // PolHunter mission embed (the network pattern; the mission is saved inactive until go-live) const ph = document.createElement('script'); ph.async = true; ph.src = 'https://polhunter.com/embed.js'; ph.setAttribute('data-slots', '3'); ph.setAttribute('data-selector', '#how .card-ink'); document.body.appendChild(ph); // the find code hides in one of the three "How an ad spreads" steps (the ViralAdBlitz pattern) })();