Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| efe9044497 |
@@ -36,12 +36,8 @@ const pub = a => a ? { email: a.email, sponsorRef: a.sponsorRef || '', code: a.c
|
|||||||
username: a.username || null, memberId: a.memberId || 0, joinedVia: a.joinedVia || null, joinedRef: a.joinedRef || null,
|
username: a.username || null, memberId: a.memberId || 0, joinedVia: a.joinedVia || null, joinedRef: a.joinedRef || null,
|
||||||
lineBannerUrl: a.lineBannerUrl || null, lineTargetUrl: a.lineTargetUrl || null, wallOffers: a.wallOffers || null,
|
lineBannerUrl: a.lineBannerUrl || null, lineTargetUrl: a.lineTargetUrl || null, wallOffers: a.wallOffers || null,
|
||||||
avatarUrl: a.avatarUrl || null, bio: a.bio || null, socials: a.socials || null,
|
avatarUrl: a.avatarUrl || null, bio: a.bio || null, socials: a.socials || null,
|
||||||
bixPartnerLink: a.bixPartnerLink || null, // BixPay partner link (bixpay.js, 2026-10-29): one identity, follows the member to LinkSpin/CTB
|
|
||||||
profileQuarantined: !!a.profileQuarantined, // 2026-10-30: first profile save of a brand-new free account planted a link; stored, never rendered publicly (spamscan.js)
|
|
||||||
chatAvailable: a.chatAvailable === false ? false : true, lastSeen: a.lastSeen || 0,
|
chatAvailable: a.chatAvailable === false ? false : true, lastSeen: a.lastSeen || 0,
|
||||||
theme: a.theme || null, // 2026-11-01 appearance: auto | light | dark, follows the member across browsers (common.js IAP.themeSync)
|
|
||||||
address: a.address || null, created: a.created } : null;
|
address: a.address || null, created: a.created } : null;
|
||||||
const THEMES = new Set(['auto', 'light', 'dark']);
|
|
||||||
const USER_RE = /^[a-zA-Z0-9_]{3,20}$/;
|
const USER_RE = /^[a-zA-Z0-9_]{3,20}$/;
|
||||||
const normUser = u => String(u || '').trim().toLowerCase();
|
const normUser = u => String(u || '').trim().toLowerCase();
|
||||||
|
|
||||||
@@ -120,19 +116,16 @@ const J = {
|
|||||||
acct.wallOffers = json || null; this.save();
|
acct.wallOffers = json || null; this.save();
|
||||||
return { ok: true, account: pub(acct) };
|
return { ok: true, account: pub(acct) };
|
||||||
},
|
},
|
||||||
async setProfile(e, avatarUrl, bio, socials, quarantined) {
|
async setProfile(e, avatarUrl, bio, socials) {
|
||||||
const acct = this.db.byEmail[e];
|
const acct = this.db.byEmail[e];
|
||||||
if (!acct) return { error: 'No such account.' };
|
if (!acct) return { error: 'No such account.' };
|
||||||
if (avatarUrl !== undefined) acct.avatarUrl = avatarUrl || null;
|
if (avatarUrl !== undefined) acct.avatarUrl = avatarUrl || null;
|
||||||
if (bio !== undefined) acct.bio = bio || null;
|
if (bio !== undefined) acct.bio = bio || null;
|
||||||
if (socials !== undefined) acct.socials = socials || null;
|
if (socials !== undefined) acct.socials = socials || null;
|
||||||
if (quarantined !== undefined) acct.profileQuarantined = !!quarantined;
|
|
||||||
this.save();
|
this.save();
|
||||||
return { ok: true, account: pub(acct) };
|
return { ok: true, account: pub(acct) };
|
||||||
},
|
},
|
||||||
async setBixLink(e, link) { const acct = this.db.byEmail[e]; if (!acct) return { error: 'No such account.' }; acct.bixPartnerLink = link || null; this.save(); return { ok: true, account: pub(acct) }; },
|
|
||||||
async touchSeen(e) { const a = this.db.byEmail[e]; if (a) { a.lastSeen = Date.now(); this.save(); } },
|
async touchSeen(e) { const a = this.db.byEmail[e]; if (a) { a.lastSeen = Date.now(); this.save(); } },
|
||||||
async setTheme(e, t) { const a = this.db.byEmail[e]; if (!a) return { error: 'No such account.' }; a.theme = THEMES.has(t) ? t : null; this.save(); return { ok: true, account: pub(a) }; },
|
|
||||||
async setChatAvailable(e, v) { const a = this.db.byEmail[e]; if (!a) return { error: 'No such account.' }; a.chatAvailable = !!v; this.save(); return { ok: true, available: !!v }; },
|
async setChatAvailable(e, v) { const a = this.db.byEmail[e]; if (!a) return { error: 'No such account.' }; a.chatAvailable = !!v; this.save(); return { ok: true, available: !!v }; },
|
||||||
async getMutes(e) { const a = this.db.byEmail[e]; return (a && Array.isArray(a.chatMutes)) ? a.chatMutes : []; },
|
async getMutes(e) { const a = this.db.byEmail[e]; return (a && Array.isArray(a.chatMutes)) ? a.chatMutes : []; },
|
||||||
async setMute(owner, target, muted) {
|
async setMute(owner, target, muted) {
|
||||||
@@ -235,8 +228,8 @@ const J = {
|
|||||||
const rowPub = r => r ? pub({ email: r.email, sponsorRef: r.sponsor_ref, code: r.code,
|
const rowPub = r => r ? pub({ email: r.email, sponsorRef: r.sponsor_ref, code: r.code,
|
||||||
username: r.username, memberId: r.member_id || 0, joinedVia: r.joined_via || null, joinedRef: r.joined_ref || null,
|
username: r.username, memberId: r.member_id || 0, joinedVia: r.joined_via || null, joinedRef: r.joined_ref || null,
|
||||||
lineBannerUrl: r.line_banner_url, lineTargetUrl: r.line_target_url, wallOffers: r.wall_offers || null,
|
lineBannerUrl: r.line_banner_url, lineTargetUrl: r.line_target_url, wallOffers: r.wall_offers || null,
|
||||||
avatarUrl: r.avatar_url, bio: r.bio, socials: r.socials, bixPartnerLink: r.bix_partner_link || null, profileQuarantined: !!r.profile_quarantined,
|
avatarUrl: r.avatar_url, bio: r.bio, socials: r.socials,
|
||||||
chatAvailable: r.chat_available === 0 ? false : true, lastSeen: Number(r.last_seen || 0), theme: r.theme || null,
|
chatAvailable: r.chat_available === 0 ? false : true, lastSeen: Number(r.last_seen || 0),
|
||||||
address: r.address, created: Number(r.created) }) : null;
|
address: r.address, created: Number(r.created) }) : null;
|
||||||
const D = {
|
const D = {
|
||||||
async signup(e, password, ref) {
|
async signup(e, password, ref) {
|
||||||
@@ -290,16 +283,13 @@ const D = {
|
|||||||
await db.q('UPDATE accounts SET wall_offers=? WHERE email=?', [json || null, e]);
|
await db.q('UPDATE accounts SET wall_offers=? WHERE email=?', [json || null, e]);
|
||||||
return { ok: true, account: await this.byEmail(e) };
|
return { ok: true, account: await this.byEmail(e) };
|
||||||
},
|
},
|
||||||
async setProfile(e, avatarUrl, bio, socials, quarantined) {
|
async setProfile(e, avatarUrl, bio, socials) {
|
||||||
if (avatarUrl !== undefined) await db.q('UPDATE accounts SET avatar_url=? WHERE email=?', [avatarUrl || null, e]);
|
if (avatarUrl !== undefined) await db.q('UPDATE accounts SET avatar_url=? WHERE email=?', [avatarUrl || null, e]);
|
||||||
if (bio !== undefined) await db.q('UPDATE accounts SET bio=? WHERE email=?', [bio || null, e]);
|
if (bio !== undefined) await db.q('UPDATE accounts SET bio=? WHERE email=?', [bio || null, e]);
|
||||||
if (socials !== undefined) await db.q('UPDATE accounts SET socials=? WHERE email=?', [socials || null, e]);
|
if (socials !== undefined) await db.q('UPDATE accounts SET socials=? WHERE email=?', [socials || null, e]);
|
||||||
if (quarantined !== undefined) await db.q('UPDATE accounts SET profile_quarantined=? WHERE email=?', [quarantined ? 1 : 0, e]);
|
|
||||||
return { ok: true, account: await this.byEmail(e) };
|
return { ok: true, account: await this.byEmail(e) };
|
||||||
},
|
},
|
||||||
async setBixLink(e, link) { const r = await db.q('UPDATE accounts SET bix_partner_link=? WHERE email=?', [link || null, e]); if (!r || !r.affectedRows) return { error: 'No such account.' }; return { ok: true, account: await this.byEmail(e) }; },
|
|
||||||
async touchSeen(e) { await db.q('UPDATE accounts SET last_seen=? WHERE email=?', [Date.now(), e]); },
|
async touchSeen(e) { await db.q('UPDATE accounts SET last_seen=? WHERE email=?', [Date.now(), e]); },
|
||||||
async setTheme(e, t) { await db.q('UPDATE accounts SET theme=? WHERE email=?', [THEMES.has(t) ? t : null, e]); return { ok: true, account: await this.byEmail(e) }; },
|
|
||||||
async setChatAvailable(e, v) { await db.q('UPDATE accounts SET chat_available=? WHERE email=?', [v ? 1 : 0, e]); return { ok: true, available: !!v }; },
|
async setChatAvailable(e, v) { await db.q('UPDATE accounts SET chat_available=? WHERE email=?', [v ? 1 : 0, e]); return { ok: true, available: !!v }; },
|
||||||
async getMutes(e) {
|
async getMutes(e) {
|
||||||
const r = await db.q('SELECT chat_mutes FROM accounts WHERE email=?', [e]);
|
const r = await db.q('SELECT chat_mutes FROM accounts WHERE email=?', [e]);
|
||||||
@@ -513,10 +503,8 @@ module.exports = { init, signup, login, ensure, onChange, isUnclaimedShell, byEm
|
|||||||
setUsername, reservedUsername, setMemberId, namesForMembers, listByReferrer, downline, linkWallet, count,
|
setUsername, reservedUsername, setMemberId, namesForMembers, listByReferrer, downline, linkWallet, count,
|
||||||
setLineBanner: (e, b, t) => impl().setLineBanner(String(e || '').toLowerCase(), b, t),
|
setLineBanner: (e, b, t) => impl().setLineBanner(String(e || '').toLowerCase(), b, t),
|
||||||
setWallOffers: (e, j) => impl().setWallOffers(String(e || '').toLowerCase(), j),
|
setWallOffers: (e, j) => impl().setWallOffers(String(e || '').toLowerCase(), j),
|
||||||
setProfile: async (e, a, bio, socials, quarantined) => { const r = await impl().setProfile(String(e || '').toLowerCase(), a, bio, socials, quarantined); if (!(r && r.error)) changed(String(e || '').toLowerCase()); return r; }, // profile edits reach LinkSpin too
|
setProfile: async (e, a, bio, socials) => { const r = await impl().setProfile(String(e || '').toLowerCase(), a, bio, socials); if (!(r && r.error)) changed(String(e || '').toLowerCase()); return r; }, // profile edits reach LinkSpin too
|
||||||
setBixLink: async (e, link) => { const r = await impl().setBixLink(normEmail(e), link ? String(link).slice(0, 300) : null); if (!(r && r.error)) changed(normEmail(e)); return r; }, // the BixPay partner link rides to LinkSpin in the profile row (lssync.js)
|
|
||||||
touchSeen: e => impl().touchSeen(String(e || '').toLowerCase()),
|
touchSeen: e => impl().touchSeen(String(e || '').toLowerCase()),
|
||||||
setTheme: (e, t) => impl().setTheme(String(e || '').toLowerCase(), t), // appearance only: no changed() tap, LinkSpin does not mirror it either (its accounts.js says the same)
|
|
||||||
adminSetAddress: (e, a) => impl().adminSetAddress(String(e || '').toLowerCase(), a ? normAddr(a) : null),
|
adminSetAddress: (e, a) => impl().adminSetAddress(String(e || '').toLowerCase(), a ? normAddr(a) : null),
|
||||||
positionByAddress: a => impl().positionByAddress(normAddr(a)),
|
positionByAddress: a => impl().positionByAddress(normAddr(a)),
|
||||||
removeAccount: e => impl().removeAccount(String(e || '').toLowerCase()),
|
removeAccount: e => impl().removeAccount(String(e || '').toLowerCase()),
|
||||||
|
|||||||
@@ -1,120 +0,0 @@
|
|||||||
// BixPay card integration, phase 1 (Marty approved 2026-10-29; spec docs/BIXPAY-INTEGRATION.md).
|
|
||||||
// BIX is a separate company: a self-custody wallet with a Visa card spent from USDT/USDC. We only carry each member's
|
|
||||||
// PARTNER link (bix.ibportal.io/auth/register?e=<token>&a=1) so anyone who gets a card through their pages is credited to
|
|
||||||
// them in the BIX portal. Nothing is settled on our side: the portal tracks directs and levels itself.
|
|
||||||
//
|
|
||||||
// One identity, sponsor follows (feedback-one-identity-sponsor-follows): the link a visitor gets is the member's own,
|
|
||||||
// else the first sponsor up the chain (10 levels) with one, else the company link (site config bixCompanyLink). Every
|
|
||||||
// surface says WHOSE link is in play ("you" / "@sponsor" / "network") so members add their own and sponsors get their
|
|
||||||
// teams signed up.
|
|
||||||
//
|
|
||||||
// Everything is gated by site config bixpayLive ('0' = nothing shows; the admin flips it in Admin > Settings).
|
|
||||||
// Clicks: every surface links through /go/bixpay?s=<surface>[&m=<member>] which counts here (DATA_DIR/bixpay-clicks.json)
|
|
||||||
// and 302s to the resolved partner link. Counts per surface land in the admin Traffic tab, per member on the Promo tab.
|
|
||||||
const fs = require('fs');
|
|
||||||
const path = require('path');
|
|
||||||
|
|
||||||
let R = {}; // { dataDir, accounts, siteConfig, refAccount }
|
|
||||||
const HOST = 'bix.ibportal.io';
|
|
||||||
const PATH = '/auth/register';
|
|
||||||
const MAX_LEN = 300;
|
|
||||||
const MAX_LEVELS = 10;
|
|
||||||
// Marty's own PARTNER link (IB12143793): the company fallback until Admin > Settings bixCompanyLink says otherwise
|
|
||||||
const DEFAULT_COMPANY_LINK = 'https://bix.ibportal.io/auth/register?e=XqwU9T1aJ5N0UJ0yr9x0TGUiSQTsVCkTM01MIovVNnc&a=1';
|
|
||||||
const SURFACES = ['wallet', 'overview', 'email', 'nudge', 'promo', 'guide', 'chat'];
|
|
||||||
const CUSTOMER_LINK_MSG = "That's the card-customer link. Paste the Partner link from your BIX portal profile instead.";
|
|
||||||
const ANNOUNCE_MS = 7 * 86400000; // the Overview announcement card shows for the first week after the switch is flipped
|
|
||||||
|
|
||||||
function init(opts) { R = opts || {}; }
|
|
||||||
const cfg = () => { try { return (R.siteConfig && R.siteConfig()) || {}; } catch (e) { return {}; } };
|
|
||||||
function live() { return String(cfg().bixpayLive == null ? '0' : cfg().bixpayLive) === '1'; }
|
|
||||||
function companyLink() { const v = validate(cfg().bixCompanyLink); return v.ok ? v.link : DEFAULT_COMPANY_LINK; }
|
|
||||||
// the Overview announcement runs a week from bixpayLiveSince (stamped by the admin settings route when the switch is flipped on)
|
|
||||||
function announcing() { if (!live()) return false; const t = Date.parse(String(cfg().bixpayLiveSince || '')); return !(t > 0) || Date.now() - t < ANNOUNCE_MS; }
|
|
||||||
|
|
||||||
// A pasted partner link -> { ok: true, link } (normalised to e= and a=1 only) or { error }.
|
|
||||||
// The card-customer link carries appId=3 (it makes a card customer, not a partner): refused with the message members see.
|
|
||||||
function validate(input) {
|
|
||||||
const s = String(input == null ? '' : input).trim();
|
|
||||||
if (!s) return { error: 'Paste your BixPay partner link first.' };
|
|
||||||
if (s.length > MAX_LEN) return { error: 'That link is too long. Copy the Partner link from your BIX portal profile.' };
|
|
||||||
let u; try { u = new URL(s); } catch (e) { return { error: 'That is not a full link. It starts with https://bix.ibportal.io/auth/register?e=' }; }
|
|
||||||
if (u.protocol !== 'https:' || u.hostname.toLowerCase() !== HOST) return { error: 'A BixPay partner link lives on https://bix.ibportal.io. Copy it from your BIX portal profile (Profile > Partner).' };
|
|
||||||
if (u.pathname.replace(/\/+$/, '') !== PATH) return { error: 'That is not the register link. It looks like https://bix.ibportal.io/auth/register?e=...&a=1' };
|
|
||||||
if (u.searchParams.has('appId') || u.searchParams.has('appid')) return { error: CUSTOMER_LINK_MSG };
|
|
||||||
const e = String(u.searchParams.get('e') || '').trim();
|
|
||||||
if (!/^[A-Za-z0-9_-]{16,128}$/.test(e)) return { error: 'The link is missing its e= token. Copy the whole Partner link from your BIX portal profile.' };
|
|
||||||
if (String(u.searchParams.get('a') || '').trim() !== '1') return { error: 'The link needs a=1 on the end. Copy the whole Partner link from your BIX portal profile.' };
|
|
||||||
return { ok: true, link: 'https://' + HOST + PATH + '?e=' + e + '&a=1' };
|
|
||||||
}
|
|
||||||
|
|
||||||
const nameOf = a => a ? (a.username ? '@' + a.username : a.memberId ? 'member #' + a.memberId : 'your sponsor') : null;
|
|
||||||
// bixLinkFor(member): own link, else the first sponsor up the chain with one (10 levels), else the company link.
|
|
||||||
// -> { link, whose: 'you' | 'sponsor' | 'network', name, email } (name/email = the sponsor whose link it is)
|
|
||||||
async function resolve(acct) {
|
|
||||||
if (acct && validate(acct.bixPartnerLink).ok) return { link: validate(acct.bixPartnerLink).link, whose: 'you', name: nameOf(acct), email: acct.email };
|
|
||||||
if (acct && R.accounts && R.accounts.sponsorOf) {
|
|
||||||
const seen = new Set([String(acct.email || '').toLowerCase()]);
|
|
||||||
let cur = acct;
|
|
||||||
for (let i = 0; i < MAX_LEVELS && cur; i++) {
|
|
||||||
let s = null; try { s = await R.accounts.sponsorOf(cur.email); } catch (e) { s = null; }
|
|
||||||
if (!s || seen.has(String(s.email).toLowerCase())) break;
|
|
||||||
seen.add(String(s.email).toLowerCase());
|
|
||||||
const v = validate(s.bixPartnerLink);
|
|
||||||
if (v.ok) return { link: v.link, whose: 'sponsor', name: nameOf(s), email: s.email };
|
|
||||||
cur = s;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return { link: companyLink(), whose: 'network', name: null, email: null };
|
|
||||||
}
|
|
||||||
// the same for a public page: the referrer token (?ref / the sponsor cookie) resolves like the member it names
|
|
||||||
async function resolveRef(tok) {
|
|
||||||
let a = null; try { a = tok && R.refAccount ? await R.refAccount(tok) : null; } catch (e) { a = null; }
|
|
||||||
return resolve(a);
|
|
||||||
}
|
|
||||||
// the line every surface shows under the button
|
|
||||||
function usingLine(r) { return r.whose === 'you' ? 'Using: your link.' : r.whose === 'sponsor' ? 'Using: ' + r.name + "'s link. Add yours in Profile." : 'Using: the network link. Add yours in Profile.'; }
|
|
||||||
|
|
||||||
// tracked link for a surface (+ the member it belongs to: the sharer on promo/guide/email, the viewer on the dashboard cards)
|
|
||||||
const SITE = () => String(process.env.PUBLIC_URL || 'https://instantadpay.com').replace(/\/+$/, '');
|
|
||||||
function goLink(surface, token) { return SITE() + '/go/bixpay?s=' + encodeURIComponent(surface) + (token ? '&m=' + encodeURIComponent(String(token)) : ''); }
|
|
||||||
// one sentence for payout emails and the games' wallet nudges (text), only while live
|
|
||||||
function emailLine(token) { return live() ? 'Want to spend it? A BixPay Visa card turns POL into everyday purchases: ' + goLink('email', token) : ''; }
|
|
||||||
function nudgeLine(token) { return live() ? 'Want to spend it? A BixPay Visa card turns POL into everyday purchases: ' + goLink('nudge', token) : ''; }
|
|
||||||
|
|
||||||
// ---- clicks ----
|
|
||||||
const FILE = () => path.join(R.dataDir || '.', 'bixpay-clicks.json');
|
|
||||||
const blank = () => ({ v: 1, total: {}, days: {}, members: {} });
|
|
||||||
let S = null;
|
|
||||||
function load() { if (S) return S; try { S = Object.assign(blank(), JSON.parse(fs.readFileSync(FILE(), 'utf8'))); } catch (e) { S = blank(); } return S; }
|
|
||||||
function save() { try { fs.writeFileSync(FILE(), JSON.stringify(S)); } catch (e) {} }
|
|
||||||
const day = ts => new Date(ts).toISOString().slice(0, 10);
|
|
||||||
function click(surface, email) {
|
|
||||||
const s = SURFACES.includes(surface) ? surface : 'other';
|
|
||||||
const st = load();
|
|
||||||
st.total[s] = (st.total[s] || 0) + 1;
|
|
||||||
const d = day(Date.now()); st.days[d] = st.days[d] || {}; st.days[d][s] = (st.days[d][s] || 0) + 1;
|
|
||||||
const e = String(email || '').trim().toLowerCase();
|
|
||||||
if (e) { const m = st.members[e] = st.members[e] || { total: 0 }; m.total++; m[s] = (m[s] || 0) + 1; m.last = Date.now(); }
|
|
||||||
// bounded: 400 days
|
|
||||||
const cutoff = day(Date.now() - 400 * 86400000); for (const k of Object.keys(st.days)) if (k < cutoff) delete st.days[k];
|
|
||||||
save();
|
|
||||||
return { surface: s, email: e || null };
|
|
||||||
}
|
|
||||||
function memberClicks(email) {
|
|
||||||
const m = load().members[String(email || '').trim().toLowerCase()];
|
|
||||||
if (!m) return { total: 0 };
|
|
||||||
return Object.assign({}, m);
|
|
||||||
}
|
|
||||||
function adminView(days) {
|
|
||||||
const st = load(); const n = Math.min(365, Math.max(1, Number(days) || 30));
|
|
||||||
const since = day(Date.now() - n * 86400000);
|
|
||||||
const bySurface = {}; let total = 0;
|
|
||||||
for (const [d, row] of Object.entries(st.days)) if (d >= since) for (const [s, c] of Object.entries(row)) { bySurface[s] = (bySurface[s] || 0) + c; total += c; }
|
|
||||||
const daily = Object.entries(st.days).filter(([d]) => d >= since).sort((a, b) => a[0] < b[0] ? 1 : -1).map(([d, row]) => ({ day: d, clicks: Object.values(row).reduce((x, y) => x + y, 0) }));
|
|
||||||
const members = Object.entries(st.members).map(([email, m]) => ({ email, total: m.total || 0, last: m.last || 0, promo: m.promo || 0 })).sort((a, b) => b.total - a.total).slice(0, 50);
|
|
||||||
return { days: n, total, allTime: Object.values(st.total).reduce((x, y) => x + y, 0), bySurface, daily, members, surfaces: SURFACES };
|
|
||||||
}
|
|
||||||
function _reset() { S = null; }
|
|
||||||
|
|
||||||
module.exports = { init, live, announcing, validate, resolve, resolveRef, usingLine, companyLink, goLink, emailLine, nudgeLine, click, memberClicks, adminView, SURFACES, CUSTOMER_LINK_MSG, DEFAULT_COMPANY_LINK, MAX_LEVELS, _reset };
|
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const db = require('./db');
|
const db = require('./db');
|
||||||
const themehead = require('./themehead'); // light/dark theme head script (2026-11-01)
|
|
||||||
let DATA_DIR = null;
|
let DATA_DIR = null;
|
||||||
const SITE = 'https://instantadpay.com';
|
const SITE = 'https://instantadpay.com';
|
||||||
const AUTHOR = 'Marty Bostick';
|
const AUTHOR = 'Marty Bostick';
|
||||||
@@ -70,8 +69,7 @@ const D = {
|
|||||||
const row = r => ({ slug: r.slug, title: r.title, excerpt: r.excerpt || '', body: r.body || '', cover: r.cover || '', tags: r.tags ? String(r.tags).split(',').filter(Boolean) : [], status: r.status, author: r.author || AUTHOR, created: Number(r.created), updated: Number(r.updated), publishedAt: r.published_at ? Number(r.published_at) : null, views: Number(r.views) || 0 });
|
const row = r => ({ slug: r.slug, title: r.title, excerpt: r.excerpt || '', body: r.body || '', cover: r.cover || '', tags: r.tags ? String(r.tags).split(',').filter(Boolean) : [], status: r.status, author: r.author || AUTHOR, created: Number(r.created), updated: Number(r.updated), publishedAt: r.published_at ? Number(r.published_at) : null, views: Number(r.views) || 0 });
|
||||||
const impl = () => db.enabled() ? D : J;
|
const impl = () => db.enabled() ? D : J;
|
||||||
|
|
||||||
let EXTRA_PAGES = () => []; // sitemap entries that follow a switch (the /bixpay guide while bixpayLive, 2026-10-29)
|
function init(opts) { DATA_DIR = opts.dataDir; if (!db.enabled()) J.load(); }
|
||||||
function init(opts) { DATA_DIR = opts.dataDir; if (typeof opts.extraPages === 'function') EXTRA_PAGES = opts.extraPages; if (!db.enabled()) J.load(); }
|
|
||||||
async function listAll() { return (await impl().all()).sort((a, b) => (b.publishedAt || b.created) - (a.publishedAt || a.created)); }
|
async function listAll() { return (await impl().all()).sort((a, b) => (b.publishedAt || b.created) - (a.publishedAt || a.created)); }
|
||||||
async function listPublished() { return (await listAll()).filter(p => p.status === 'published' && (p.publishedAt || 0) <= Date.now()); }
|
async function listPublished() { return (await listAll()).filter(p => p.status === 'published' && (p.publishedAt || 0) <= Date.now()); }
|
||||||
async function get(slug) { return impl().get(slugify(slug)); }
|
async function get(slug) { return impl().get(slugify(slug)); }
|
||||||
@@ -98,19 +96,19 @@ async function bumpViews(slug) { try { await impl().bumpViews(slug); } catch (e)
|
|||||||
function head(o) {
|
function head(o) {
|
||||||
const url = SITE + o.path;
|
const url = SITE + o.path;
|
||||||
const img = o.image ? (o.image.startsWith('http') ? o.image : SITE + o.image) : SITE + '/banners/iap-hero-1200x630.png';
|
const img = o.image ? (o.image.startsWith('http') ? o.image : SITE + o.image) : SITE + '/banners/iap-hero-1200x630.png';
|
||||||
return '<!doctype html><html lang="en"' + themehead.htmlAttr('dark') + '><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">'
|
return '<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">'
|
||||||
+ '<title>' + esc(o.title) + '</title><meta name="description" content="' + esc(o.desc) + '"><link rel="canonical" href="' + esc(url) + '">'
|
+ '<title>' + esc(o.title) + '</title><meta name="description" content="' + esc(o.desc) + '"><link rel="canonical" href="' + esc(url) + '">'
|
||||||
+ '<meta name="robots" content="index,follow,max-image-preview:large"><meta name="theme-color" content="#043b2f">'
|
+ '<meta name="robots" content="index,follow,max-image-preview:large"><meta name="theme-color" content="#043b2f">'
|
||||||
+ '<meta property="og:type" content="' + (o.article ? 'article' : 'website') + '"><meta property="og:site_name" content="InstantAdPay"><meta property="og:title" content="' + esc(o.title) + '"><meta property="og:description" content="' + esc(o.desc) + '"><meta property="og:url" content="' + esc(url) + '"><meta property="og:image" content="' + esc(img) + '">'
|
+ '<meta property="og:type" content="' + (o.article ? 'article' : 'website') + '"><meta property="og:site_name" content="InstantAdPay"><meta property="og:title" content="' + esc(o.title) + '"><meta property="og:description" content="' + esc(o.desc) + '"><meta property="og:url" content="' + esc(url) + '"><meta property="og:image" content="' + esc(img) + '">'
|
||||||
+ (o.article ? '<meta property="article:published_time" content="' + new Date(o.article.publishedAt || o.article.created).toISOString() + '"><meta property="article:modified_time" content="' + new Date(o.article.updated).toISOString() + '"><meta property="article:author" content="' + esc(AUTHOR) + '">' + (o.article.tags || []).map(t => '<meta property="article:tag" content="' + esc(t) + '">').join('') : '')
|
+ (o.article ? '<meta property="article:published_time" content="' + new Date(o.article.publishedAt || o.article.created).toISOString() + '"><meta property="article:modified_time" content="' + new Date(o.article.updated).toISOString() + '"><meta property="article:author" content="' + esc(AUTHOR) + '">' + (o.article.tags || []).map(t => '<meta property="article:tag" content="' + esc(t) + '">').join('') : '')
|
||||||
+ '<meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="' + esc(o.title) + '"><meta name="twitter:description" content="' + esc(o.desc) + '"><meta name="twitter:image" content="' + esc(img) + '">'
|
+ '<meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="' + esc(o.title) + '"><meta name="twitter:description" content="' + esc(o.desc) + '"><meta name="twitter:image" content="' + esc(img) + '">'
|
||||||
+ '<link rel="alternate" type="application/rss+xml" title="InstantAdPay blog" href="' + SITE + '/blog/feed.xml"><link rel="icon" type="image/png" href="/logo-icon.png">'
|
+ '<link rel="alternate" type="application/rss+xml" title="InstantAdPay blog" href="' + SITE + '/blog/feed.xml"><link rel="icon" type="image/png" href="/logo-icon.png">'
|
||||||
+ '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">' + themehead.tag() + '<link rel="stylesheet" href="/assets/site.css?v=20261101th">'
|
+ '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap"><link rel="stylesheet" href="/assets/site.css?v=20260912b">'
|
||||||
+ '<style>.bl{max-width:760px}.bl h1{font-size:clamp(30px,4.6vw,44px);line-height:1.12;margin:10px 0 12px}.bl .meta{color:var(--muted);font-size:14px;margin:0 0 22px}.bl .cover{width:100%;border-radius:14px;border:1px solid var(--line);margin:0 0 26px;display:block}.bl article{font-size:17.5px;line-height:1.7}.bl article p{margin:0 0 18px;max-width:68ch}.bl article h2{font-size:26px;margin:36px 0 12px}.bl article h3{font-size:20px;margin:28px 0 10px}.bl article ul,.bl article ol{margin:0 0 18px 22px;max-width:66ch}.bl article li{margin:6px 0}.bl article blockquote{border-left:4px solid var(--mint);margin:0 0 18px;padding:8px 18px;color:var(--muted);font-style:italic}.bl article img{max-width:100%;border-radius:12px;border:1px solid var(--line)}.bl article a{color:var(--mint)}.bl article pre{background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:14px;overflow:auto;font-size:14px}.bl article table{border-collapse:collapse;width:100%;font-size:15px}.bl article th,.bl article td{border-bottom:1px solid var(--line);padding:8px 10px;text-align:left}.tags a{display:inline-block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mint);border:1px solid var(--mint-line);border-radius:999px;padding:3px 10px;margin:0 6px 6px 0;text-decoration:none}.post-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin:0 0 14px;color:inherit;text-decoration:none}.post-card:hover{border-color:var(--mint)}.post-card h2{font-size:22px;margin:0 0 6px}.post-card p{margin:0;color:var(--muted);font-size:15px;max-width:70ch}.post-card .meta{margin:8px 0 0;font-size:13px}.author{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:36px 0 0;background:var(--panel)}.author img{width:56px;height:56px;border-radius:50%;object-fit:cover}.author b{display:block}.author span{color:var(--muted);font-size:14px}.share a{margin-right:14px;font-size:14px}.pager{display:flex;justify-content:space-between;margin:26px 0}.related{margin-top:40px}.related h3{margin-bottom:10px}</style>'
|
+ '<style>.bl{max-width:760px}.bl h1{font-size:clamp(30px,4.6vw,44px);line-height:1.12;margin:10px 0 12px}.bl .meta{color:var(--muted);font-size:14px;margin:0 0 22px}.bl .cover{width:100%;border-radius:14px;border:1px solid var(--line);margin:0 0 26px;display:block}.bl article{font-size:17.5px;line-height:1.7}.bl article p{margin:0 0 18px;max-width:68ch}.bl article h2{font-size:26px;margin:36px 0 12px}.bl article h3{font-size:20px;margin:28px 0 10px}.bl article ul,.bl article ol{margin:0 0 18px 22px;max-width:66ch}.bl article li{margin:6px 0}.bl article blockquote{border-left:4px solid var(--mint);margin:0 0 18px;padding:8px 18px;color:var(--muted);font-style:italic}.bl article img{max-width:100%;border-radius:12px;border:1px solid var(--line)}.bl article a{color:var(--mint)}.bl article pre{background:rgba(4,8,7,.6);border:1px solid var(--line);border-radius:10px;padding:14px;overflow:auto;font-size:14px}.bl article table{border-collapse:collapse;width:100%;font-size:15px}.bl article th,.bl article td{border-bottom:1px solid var(--line);padding:8px 10px;text-align:left}.tags a{display:inline-block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mint);border:1px solid rgba(67,232,195,.4);border-radius:999px;padding:3px 10px;margin:0 6px 6px 0;text-decoration:none}.post-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin:0 0 14px;color:inherit;text-decoration:none}.post-card:hover{border-color:var(--mint)}.post-card h2{font-size:22px;margin:0 0 6px}.post-card p{margin:0;color:var(--muted);font-size:15px;max-width:70ch}.post-card .meta{margin:8px 0 0;font-size:13px}.author{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:36px 0 0;background:var(--panel)}.author img{width:56px;height:56px;border-radius:50%;object-fit:cover}.author b{display:block}.author span{color:var(--muted);font-size:14px}.share a{margin-right:14px;font-size:14px}.pager{display:flex;justify-content:space-between;margin:26px 0}.related{margin-top:40px}.related h3{margin-bottom:10px}</style>'
|
||||||
+ '</head><body><div class="wrap bl">';
|
+ '</head><body><div class="wrap bl">';
|
||||||
}
|
}
|
||||||
function tail() {
|
function tail() {
|
||||||
return '</div><script src="/assets/common.js?v=20261101th"></script><script src="/assets/blog-page.js?v=20261101th"></script></body></html>';
|
return '</div><script src="/assets/common.js?v=20261023ov"></script><script src="/assets/blog-page.js?v=20260921a"></script></body></html>';
|
||||||
}
|
}
|
||||||
const authorBox = () => '<div class="author"><img src="/logo-icon.png" alt="InstantAdPay"><div><b>' + AUTHOR + '</b><span>Founder of InstantAdPay and the Crypto Team Build Network. Twenty-plus years of internet marketing, and a habit of writing down what actually worked.</span></div></div>';
|
const authorBox = () => '<div class="author"><img src="/logo-icon.png" alt="InstantAdPay"><div><b>' + AUTHOR + '</b><span>Founder of InstantAdPay and the Crypto Team Build Network. Twenty-plus years of internet marketing, and a habit of writing down what actually worked.</span></div></div>';
|
||||||
const cardHtml = p => '<a class="post-card" href="/blog/' + esc(p.slug) + '">' + (p.cover ? '<img src="' + esc(p.cover) + '" alt="" loading="lazy" style="width:100%;border-radius:10px;margin:0 0 12px">' : '') + '<h2>' + esc(p.title) + '</h2><p>' + esc(p.excerpt) + '</p><p class="meta">' + fmtDate(p.publishedAt || p.created) + ' · ' + readMinutes(p.body) + ' min read' + (p.tags.length ? ' · ' + p.tags.map(esc).join(', ') : '') + '</p></a>';
|
const cardHtml = p => '<a class="post-card" href="/blog/' + esc(p.slug) + '">' + (p.cover ? '<img src="' + esc(p.cover) + '" alt="" loading="lazy" style="width:100%;border-radius:10px;margin:0 0 12px">' : '') + '<h2>' + esc(p.title) + '</h2><p>' + esc(p.excerpt) + '</p><p class="meta">' + fmtDate(p.publishedAt || p.created) + ' · ' + readMinutes(p.body) + ' min read' + (p.tags.length ? ' · ' + p.tags.map(esc).join(', ') : '') + '</p></a>';
|
||||||
@@ -154,7 +152,7 @@ function rss(posts) {
|
|||||||
return '<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>InstantAdPay blog</title><link>' + SITE + '/blog</link><description>Coaching and teaching articles from Marty Bostick.</description>' + items + '</channel></rss>';
|
return '<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>InstantAdPay blog</title><link>' + SITE + '/blog</link><description>Coaching and teaching articles from Marty Bostick.</description>' + items + '</channel></rss>';
|
||||||
}
|
}
|
||||||
function sitemap(posts) {
|
function sitemap(posts) {
|
||||||
const pages = ['/', '/facts', '/blog', '/whats-new', '/leaderboard', '/ledger', '/contract', '/plays', '/wallets', '/earning', '/partners', '/friday', '/wednesday', '/refuel', '/conversion-tracking', '/presentation'].concat(EXTRA_PAGES() || []);
|
const pages = ['/', '/facts', '/blog', '/whats-new', '/leaderboard', '/ledger', '/contract', '/plays', '/wallets', '/earning', '/partners', '/friday', '/wednesday', '/refuel', '/conversion-tracking', '/presentation'];
|
||||||
const u = pages.map(p => '<url><loc>' + SITE + p + '</loc><changefreq>weekly</changefreq></url>').join('')
|
const u = pages.map(p => '<url><loc>' + SITE + p + '</loc><changefreq>weekly</changefreq></url>').join('')
|
||||||
+ posts.map(p => '<url><loc>' + SITE + '/blog/' + p.slug + '</loc><lastmod>' + new Date(p.updated).toISOString().slice(0, 10) + '</lastmod><changefreq>monthly</changefreq></url>').join('');
|
+ posts.map(p => '<url><loc>' + SITE + '/blog/' + p.slug + '</loc><lastmod>' + new Date(p.updated).toISOString().slice(0, 10) + '</lastmod><changefreq>monthly</changefreq></url>').join('');
|
||||||
return '<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + u + '</urlset>';
|
return '<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + u + '</urlset>';
|
||||||
|
|||||||
@@ -24,8 +24,7 @@ const MODEL = process.env.OPENROUTER_MODEL || 'deepseek/deepseek-v4-flash:nitro'
|
|||||||
|
|
||||||
function init(opts) {
|
function init(opts) {
|
||||||
if (opts && typeof opts.gameLive === 'function') GAME_LIVE = opts.gameLive;
|
if (opts && typeof opts.gameLive === 'function') GAME_LIVE = opts.gameLive;
|
||||||
if (opts && typeof opts.refuelOn === 'function') REFUEL_ON = opts.refuelOn;
|
if (opts && typeof opts.refuelOn === 'function') REFUEL_ON = opts.refuelOn; DATA_DIR = opts.dataDir; chain = opts.chain; PASS_TIERS = typeof opts.passTiers === 'function' ? opts.passTiers : null; return kb.init({ dataDir: DATA_DIR, seeds: seeds() }); }
|
||||||
if (opts && typeof opts.bixLive === 'function') BIX_LIVE = opts.bixLive; DATA_DIR = opts.dataDir; chain = opts.chain; PASS_TIERS = typeof opts.passTiers === 'function' ? opts.passTiers : null; return kb.init({ dataDir: DATA_DIR, seeds: seeds() }); }
|
|
||||||
function key() {
|
function key() {
|
||||||
if (process.env.OPENROUTER_API_KEY) return process.env.OPENROUTER_API_KEY.trim();
|
if (process.env.OPENROUTER_API_KEY) return process.env.OPENROUTER_API_KEY.trim();
|
||||||
try { return fs.readFileSync(path.join(DATA_DIR, 'openrouter.key'), 'utf8').trim(); } catch (e) { return ''; }
|
try { return fs.readFileSync(path.join(DATA_DIR, 'openrouter.key'), 'utf8').trim(); } catch (e) { return ''; }
|
||||||
@@ -33,30 +32,12 @@ function key() {
|
|||||||
function enabled() { return !!key(); }
|
function enabled() { return !!key(); }
|
||||||
|
|
||||||
// ---- canned answers: instant, free, always in voice ----
|
// ---- canned answers: instant, free, always in voice ----
|
||||||
const KNOWLEDGE_DATE = '2026-11-02'; // bump whenever the canned answers / prompt are brought up to date
|
const KNOWLEDGE_DATE = '2026-10-28'; // bump whenever the canned answers / prompt are brought up to date
|
||||||
const SUPPORT_RE = /(contact|reach|email|e-mail|message|talk to|speak (to|with)|get hold of) (the )?(support|admin|administrator|owner|marty|staff|team at instantadpay|someone|a (human|person|real person))|support (email|address|ticket|team|desk)|help ?desk|(open|send|file|submit|raise) (a )?(support )?ticket|\b(human|real person|live (agent|person|chat|support))\b|customer (service|support)|support@|how (do|can) i get (help|support)/i;
|
const SUPPORT_RE = /(contact|reach|email|e-mail|message|talk to|speak (to|with)|get hold of) (the )?(support|admin|administrator|owner|marty|staff|team at instantadpay|someone|a (human|person|real person))|support (email|address|ticket|team|desk)|help ?desk|(open|send|file|submit|raise) (a )?(support )?ticket|\b(human|real person|live (agent|person|chat|support))\b|customer (service|support)|support@|how (do|can) i get (help|support)/i;
|
||||||
const CANNED = [
|
const CANNED = [
|
||||||
{ id: 'support', title: 'Contact support or open a ticket', q: ['How do I contact support?', 'How do I talk to a real person?', 'How do I open a support ticket?'], tags: ['support', 'help', 'ticket', 'contact', 'help desk'],
|
{ id: 'support', title: 'Contact support or open a ticket', q: ['How do I contact support?', 'How do I talk to a real person?', 'How do I open a support ticket?'], tags: ['support', 'help', 'ticket', 'contact', 'help desk'],
|
||||||
re: SUPPORT_RE, handoff: true,
|
re: SUPPORT_RE, handoff: true,
|
||||||
a: 'Open Help in your member dashboard (https://instantadpay.com/my#help) to send Marty a ticket, and his replies land right there and in your email. Not signed in or locked out? Use https://instantadpay.com/support, or email support@instantadpay.com. You can also tap "Send this to support" below and I will pass this chat along.' },
|
a: 'Open Help in your member dashboard (https://instantadpay.com/my#help) to send Marty a ticket, and his replies land right there and in your email. Not signed in or locked out? Use https://instantadpay.com/support, or email support@instantadpay.com. You can also tap "Send this to support" below and I will pass this chat along.' },
|
||||||
// BixPay Visa card (2026-10-29, docs/BIXPAY-INTEGRATION.md). Sits ahead of the Level 4 entry because that one also matches "3%".
|
|
||||||
// While site config bixpayLive is off, answer() swaps every bixpay-* hit for BIX_SOON_ANSWER. Never BIX's marketing claims (user
|
|
||||||
// counts, spend per day, valuations) as facts; the only fee we state is 3% per purchase, no load fee, see BIX's terms for the rest.
|
|
||||||
{ id: 'bixpay-link', title: 'Where to put my BixPay partner link', q: ['Where do I put my BixPay partner link?', 'How do I add my BIX link?', 'Which BixPay link do I paste, referral or partner?'], tags: ['bixpay', 'bix', 'partner link', 'profile', 'ib portal'],
|
|
||||||
re: /(bix|bixpay).*(partner link|my link|referral link|ib ?portal|paste|where do i (put|add|enter)|profile)|(partner link|ib ?portal).*(bix|bixpay)/i,
|
|
||||||
a: 'Members > Profile > BixPay card. Paste your PARTNER link there: in your BIX portal (bix.ibportal.io) open Profile and copy the link in the second box, the one labelled Partner. It looks like https://bix.ibportal.io/auth/register?e=...&a=1. The first box, the Bix referral link (it ends in appId=3), only makes a card customer, so the field refuses it and asks for the Partner one. Once saved, your Wallet card, your promo kit, the /bixpay guide opened from your links and the line in your payout emails all carry your link, and LinkSpin will read the same one.' },
|
|
||||||
{ id: 'bixpay-credit', title: 'Who gets the BixPay credit', q: ['Who gets credit when someone signs up for BixPay through my page?', 'Whose BixPay link is on my pages?', 'What does "Using: the network link" mean?'], tags: ['bixpay', 'bix', 'credit', 'sponsor', 'network link'],
|
|
||||||
re: /(bix|bixpay).*(credit|whose|who gets|sponsor.s link|network link|using:|my sponsor|upline)|(whose|who gets).*(bix|bixpay)/i,
|
|
||||||
a: 'The BixPay link on your pages is yours when you have saved your partner link in Profile. If you have not, it is the first sponsor up your line (up to ten levels) who has one, and if nobody has, it is the network link. Every BixPay card says which one is in play: "Using: your link", "Using: @name’s link" or "Using: the network link". Sign-ups are credited inside the BIX portal to whoever owns that link, directs and levels included; InstantAdPay does not count or pay BixPay sign-ups itself. Add your own link in Members > Profile > BixPay card so the credit is yours.' },
|
|
||||||
{ id: 'bixpay-load', title: 'Loading the BixPay card from POL', q: ['How do I load my BixPay card from POL?', 'Can I send POL to BixPay?', 'How do I fund the BixPay card?'], tags: ['bixpay', 'bix', 'fund', 'load', 'usdt', 'usdc', 'polygon', 'cash app'],
|
|
||||||
re: /(bix|bixpay).*(load|fund|top ?up|deposit|send pol|from pol|usdt|usdc|swap|cash ?app)|(load|fund|top ?up).*(bix|bixpay)/i,
|
|
||||||
a: 'The BixPay card spends USDT or USDC, so the step is POL to USDT or USDC first. Three ways: (1) swap your POL for USDT or USDC on any exchange or on-ramp you already use, then send it to your BixPay wallet on the Polygon network (open the BIX app, Wallet > Receive, pick USDT or USDC, and use the Polygon address); (2) in the US, Cash App can send crypto straight to the BixPay wallet; (3) BIX has said an in-app swap is coming, and we will add it here when it ships. Once the USDT or USDC is in the wallet, tap TOPUP on the card. No load fee; 3% per purchase; see BIX’s terms for other charges. The full walk-through with screenshots is at https://instantadpay.com/bixpay.' },
|
|
||||||
{ id: 'bixpay-card', title: 'How to get the BixPay card', q: ['How do I get the BixPay card?', 'How do I sign up for BixPay?', 'Is BixPay available in my state?'], tags: ['bixpay', 'bix', 'visa card', 'virtual card', 'sign up', 'states'],
|
|
||||||
re: /(bix|bixpay).*(get|sign ?up|join|order|apply|virtual|plastic|metal|state|country|available|how much|cost|price|\$9)|(get|sign ?up for|order).*(bix|bixpay)/i,
|
|
||||||
a: 'Open the BixPay card in your Wallet tab (Members > Wallet) and tap Get your BixPay card. That opens a partner sign-up link, so you join as a partner and the card and the referral plan come with it: 1) register in the BIX portal ON THE PAGE THE LINK OPENS (if you are reading this inside Gmail or Telegram, open the page in Chrome or Safari first; do not install the app first and do not use the portal’s own Sign Up menu, or your sponsor is lost and BIX shows the referrer as N/A), 2) download the BIX app and create your wallet, 3) in the app open Settings > Scan QR and scan the code in your portal profile to link the two, 4) Cards > Create Card for the $9.99 virtual Visa (plastic, metal and gold cards cost more). KYC is required for the card. In the US it is open in 31 states so far; not in your state yet? You can still get the wallet and build. Elsewhere availability varies by country. Guide: https://instantadpay.com/bixpay.' },
|
|
||||||
{ id: 'bixpay', title: 'What BixPay is', q: ['What is BixPay?', 'What is the BIX card?', 'Can I spend my POL with a Visa card?'], tags: ['bixpay', 'bix', 'visa', 'card', 'spend pol', 'wallet'],
|
|
||||||
re: /(bix|bixpay|bix card|visa card|debit card|spend (my )?(pol|crypto|earnings)|crypto card)/i,
|
|
||||||
a: 'BixPay is a self-custody wallet with a Visa card, made by BIX, a separate company. You send USDT or USDC to it on Polygon, load the card, and spend wherever Visa is accepted, including Apple Pay and Google Pay. Virtual cards from $9.99. 3% per purchase, no load fee; see BIX’s terms for other charges. InstantAdPay is not the card issuer; members who join BixPay as partners get their own partner link, and anyone who gets a card through their pages is credited to them in the BIX portal, up to ten levels deep. Where to find it: Members > Wallet (the card), Members > Profile (your partner link), Promo tools > BixPay (posts and banners), and the guide at https://instantadpay.com/bixpay. Crypto assets can lose value.' },
|
|
||||||
{ id: 'level4-override', title: 'The Level 4 override (3%)', q: ['What is the Level 4 override?', 'Do I earn from my fourth level?', 'How does the 3% override work?'], tags: ['override', 'level 4', 'fourth level', 'commission', 'payouts'],
|
{ id: 'level4-override', title: 'The Level 4 override (3%)', q: ['What is the Level 4 override?', 'Do I earn from my fourth level?', 'How does the 3% override work?'], tags: ['override', 'level 4', 'fourth level', 'commission', 'payouts'],
|
||||||
re: /(level ?(4|four)|4th level|fourth level|override|3 ?%|three percent)/i,
|
re: /(level ?(4|four)|4th level|fourth level|override|3 ?%|three percent)/i,
|
||||||
a: 'The Level 4 override is 3% of every package bought four levels below you, paid by the company on top of the three levels the contract pays. It goes to the buyer’s 4th sponsor up if that member has 5 or more qualifying buyers (direct referrals who bought $20 or more, the same bar as level 3). If they do not have 5 yet, it moves up the line to the next member who does, up to 25 steps, and each purchase pays one override to one person. It is paid weekly in POL from a company wallet, every Monday after 9 AM Central for the Monday to Sunday week before, through the contract’s award function, so every payment has a Polygon link, and it shows in your Earnings as "Level 4 override". Weekly totals under 0.01 POL carry over to the next week. It counts purchases from the start date on, not earlier ones. It comes from the platform’s 20% share, so the 50/20/10 split does not change. What you earn depends on real purchases in your line; nothing is guaranteed.' },
|
a: 'The Level 4 override is 3% of every package bought four levels below you, paid by the company on top of the three levels the contract pays. It goes to the buyer’s 4th sponsor up if that member has 5 or more qualifying buyers (direct referrals who bought $20 or more, the same bar as level 3). If they do not have 5 yet, it moves up the line to the next member who does, up to 25 steps, and each purchase pays one override to one person. It is paid weekly in POL from a company wallet, every Monday after 9 AM Central for the Monday to Sunday week before, through the contract’s award function, so every payment has a Polygon link, and it shows in your Earnings as "Level 4 override". Weekly totals under 0.01 POL carry over to the next week. It counts purchases from the start date on, not earlier ones. It comes from the platform’s 20% share, so the 50/20/10 split does not change. What you earn depends on real purchases in your line; nothing is guaranteed.' },
|
||||||
@@ -79,9 +60,6 @@ const CANNED = [
|
|||||||
{ id: 'spellwheel', title: 'SpellWheel word game', q: ['What is SpellWheel?', 'Is there a daily word puzzle?'], tags: ['games', 'spellwheel', 'word game', 'daily puzzle'],
|
{ id: 'spellwheel', title: 'SpellWheel word game', q: ['What is SpellWheel?', 'Is there a daily word puzzle?'], tags: ['games', 'spellwheel', 'word game', 'daily puzzle'],
|
||||||
re: /(spell ?wheel|letter wheel|word (game|puzzle)|crossword|daily puzzle)/i,
|
re: /(spell ?wheel|letter wheel|word (game|puzzle)|crossword|daily puzzle)/i,
|
||||||
a: 'SpellWheel (https://spellwheel.com, also in Members > Games) is a free word game: swipe the letters on the wheel to fill the crossword grid, travel through six cozy places, and solve a new daily puzzle that everyone gets at the same time. Sign in with your InstantAdPay account right in the game to save progress: clearing levels, finishing a place and solving the daily puzzle each pay POL, collected in your SpellWheel balance and sent to the wallet on your InstantAdPay account automatically. Nothing here is a promise of income.' },
|
a: 'SpellWheel (https://spellwheel.com, also in Members > Games) is a free word game: swipe the letters on the wheel to fill the crossword grid, travel through six cozy places, and solve a new daily puzzle that everyone gets at the same time. Sign in with your InstantAdPay account right in the game to save progress: clearing levels, finishing a place and solving the daily puzzle each pay POL, collected in your SpellWheel balance and sent to the wallet on your InstantAdPay account automatically. Nothing here is a promise of income.' },
|
||||||
{ id: 'warpwares', title: 'Warp & Wares season game', q: ['What is Warp & Wares?', 'How does Warp & Wares pay?', 'What is a sponsor dock?'], tags: ['games', 'warp and wares', 'trade wars', 'season', 'sponsor dock', 'turns'],
|
|
||||||
re: /(warp ?(and|&) ?wares|warpwares|trade ?wars|sponsor docks?|bonus turns|trading season)/i,
|
|
||||||
a: 'Warp & Wares (also in Members > Games) is the network\u2019s 30-day season game in the Trade Wars style. One shared galaxy of 1,200 sectors; every captain gets the same 200 turns a day (reset at midnight Central, never banked) to warp between sectors, buy ore, grain and parts where they are cheap and sell where they are not, haggle, leave fighters and mines to hold sectors, found a base and run a team of up to five with a shared vault. One tap signs you in with your InstantAdPay account. Credits stay in the game; POL is paid for fixed outcomes from a published season budget: the holders of the six landmark sectors and the top traders at each weekly tick (Sundays 9 AM Central), one-time milestones (first base, first garrison, first 100,000 credits traded), and the season-close leaderboard and titles. POL collects in your Warp & Wares balance and is sent automatically to the wallet linked to your InstantAdPay account (one free signature on the Wallet tab). Sponsor markets: docking at one opens a short verified sponsor visit on InstantAdPay and pays bonus turns, the only turns past the daily 200; that is gameplay only, never POL. When the season ends the galaxy resets and the next one starts. Nothing here is a promise of income.' },
|
|
||||||
{ id: 'polminer', title: 'POL Miner mining game', q: ['What is POL Miner?', 'How do Polygon crystals work in POL Miner?', 'What is a supply crate?'], tags: ['games', 'polminer', 'mining', 'polygon crystal', 'supply crate'],
|
{ id: 'polminer', title: 'POL Miner mining game', q: ['What is POL Miner?', 'How do Polygon crystals work in POL Miner?', 'What is a supply crate?'], tags: ['games', 'polminer', 'mining', 'polygon crystal', 'supply crate'],
|
||||||
re: /(pol ?miner|mining game|digging game|polygon crystals?|pink crystals?|drill boss(es)?|supply crates?)/i,
|
re: /(pol ?miner|mining game|digging game|polygon crystals?|pink crystals?|drill boss(es)?|supply crates?)/i,
|
||||||
a: 'POL Miner (https://polminer.com, also in Members > Games) is a free dig-down mining game. Dig through the layers of dirt and rock, haul ore up to sell for coins, upgrade your pick, lamp, cart and thruster, and beat a drill boss every 30 m to open the way deeper. The rare glowing pink Polygon crystals pay a random amount of POL the first time you dig each one out, each drill boss pays POL the first time you beat it, and so do your first trips to 50, 100, 150 and 200 m. Coins are for upgrades only and never turn into POL. You can play as a guest right away; sign in with your InstantAdPay account in the game and what you earned as a guest is collected. POL collects in your POL Miner balance and is sent automatically to the wallet linked to your InstantAdPay account (one free signature on the Wallet tab) once it reaches the payout amount. Low on lamp power or coins? Park on the SUPPLY pad: a short sponsor visit opens a supply crate with a full lamp and coins.' },
|
a: 'POL Miner (https://polminer.com, also in Members > Games) is a free dig-down mining game. Dig through the layers of dirt and rock, haul ore up to sell for coins, upgrade your pick, lamp, cart and thruster, and beat a drill boss every 30 m to open the way deeper. The rare glowing pink Polygon crystals pay a random amount of POL the first time you dig each one out, each drill boss pays POL the first time you beat it, and so do your first trips to 50, 100, 150 and 200 m. Coins are for upgrades only and never turn into POL. You can play as a guest right away; sign in with your InstantAdPay account in the game and what you earned as a guest is collected. POL collects in your POL Miner balance and is sent automatically to the wallet linked to your InstantAdPay account (one free signature on the Wallet tab) once it reaches the payout amount. Low on lamp power or coins? Park on the SUPPLY pad: a short sponsor visit opens a supply crate with a full lamp and coins.' },
|
||||||
@@ -96,10 +74,10 @@ const CANNED = [
|
|||||||
a: 'PolyWarriors (https://www.polywarriors.com, also in Members > Games) is a free cyberpunk turn-based fighting game, open since Oct 12. Recruit warriors that are each born with their own traits and rarity, fight through 24 arena rivals (a 12-rival district ladder, then a 12-rival elite circuit), and challenge other members to duels that play out while you are away. Your first win over each rival pays POL to the wallet on your InstantAdPay account. Your first warrior mints to your wallet as an NFT on Polygon, free; after that each $5 ad package you buy on InstantAdPay earns a mint pass. Fuse three warriors of the same rarity into one rarer warrior, and trade warriors with other members on the marketplace, settled in POL. Sign in with your InstantAdPay account in one tap. Nothing here is a promise of income.' },
|
a: 'PolyWarriors (https://www.polywarriors.com, also in Members > Games) is a free cyberpunk turn-based fighting game, open since Oct 12. Recruit warriors that are each born with their own traits and rarity, fight through 24 arena rivals (a 12-rival district ladder, then a 12-rival elite circuit), and challenge other members to duels that play out while you are away. Your first win over each rival pays POL to the wallet on your InstantAdPay account. Your first warrior mints to your wallet as an NFT on Polygon, free; after that each $5 ad package you buy on InstantAdPay earns a mint pass. Fuse three warriors of the same rarity into one rarer warrior, and trade warriors with other members on the marketplace, settled in POL. Sign in with your InstantAdPay account in one tap. Nothing here is a promise of income.' },
|
||||||
{ id: 'clutterhunt', title: 'ClutterHunt hidden-object game', q: ['What is ClutterHunt?', 'How do hints work in ClutterHunt?'], tags: ['games', 'clutterhunt', 'hidden object', 'hints'],
|
{ id: 'clutterhunt', title: 'ClutterHunt hidden-object game', q: ['What is ClutterHunt?', 'How do hints work in ClutterHunt?'], tags: ['games', 'clutterhunt', 'hidden object', 'hints'],
|
||||||
re: /(clutter ?hunt|hidden.object|haunted manor)/i,
|
re: /(clutter ?hunt|hidden.object|haunted manor)/i,
|
||||||
a: 'ClutterHunt (https://clutterhunt.com, also in Members > Games) is a free hidden-object game: search cozy, cluttered rooms for 12 hidden objects plus one sponsored find. This season is the Harvest Farmhouse (Nov 1 to 30: the Farmhouse Kitchen, the Pantry, the Harvest Dining Room, the Barn Loft, the Front Porch and the Cozy Parlor); the Haunted Manor closed with Halloween, and new rooms move in every season, and objects move every time you play. You get 2 free hints a round; after that, a short visit to a member’s page earns another. Sign in with your InstantAdPay account right in the game to save your stars and earn POL: each room pays POL for your first clear and your first 3-star clear every season (Expert rooms pay more), collected in your ClutterHunt balance and sent to the wallet on your InstantAdPay account automatically.' },
|
a: 'ClutterHunt (https://clutterhunt.com, also in Members > Games) is a free hidden-object game: search cozy, cluttered rooms for 12 hidden objects plus one sponsored find. This season is the Haunted Manor (six rooms) through Oct 31, then new rooms move in every season, and objects move every time you play. You get 2 free hints a round; after that, a short visit to a member’s page earns another. Sign in with your InstantAdPay account right in the game to save your stars and earn POL: each room pays POL for your first clear and your first 3-star clear every season (Expert rooms pay more), collected in your ClutterHunt balance and sent to the wallet on your InstantAdPay account automatically.' },
|
||||||
{ id: 'spooky-doors', title: 'Spooky Doors Halloween game', q: ['What is Spooky Doors?', 'How does the candy ladder pay?', 'How do I buy a costume?'], tags: ['games', 'spooky doors', 'halloween', 'candy', 'costume'],
|
{ id: 'spooky-doors', title: 'Spooky Doors Halloween game', q: ['What is Spooky Doors?', 'How does the candy ladder pay?', 'How do I buy a costume?'], tags: ['games', 'spooky doors', 'halloween', 'candy', 'costume'],
|
||||||
re: /(spooky ?doors?|trick.or.treat|hallowe.?en|costume|candy ladder|\bcandy\b|\bknock)/i,
|
re: /(spooky ?doors?|trick.or.treat|hallowe.?en|costume|candy ladder|\bcandy\b|\bknock)/i,
|
||||||
a: 'Spooky Doors (https://spookydoors.com) was the network’s Halloween game. The season ran Oct 4 through Halloween night and closed at midnight Central at the end of Oct 31, so the game and its Games tab card are off for now and the doors no longer pay. The Candy Crunch contest ended with the season: the top 10 candy collectors share 27 POL (10, 6, 4, then 1 each), paid from the game’s wallet after admin sign-off, and a winner without a linked wallet is paid once one is linked on InstantAdPay. Candy ladder POL you earned but had not received (0.10 POL or more) also pays out once your InstantAdPay wallet is linked. Costumes and door packs are no longer sold. Keep an eye on Members > Games for the next seasonal game: Turkey Drop opens Nov 2.' },
|
a: 'Spooky Doors (https://spookydoors.com) is the network\u2019s Halloween game. It opens on Oct 4 and closes at midnight Central at the end of Halloween night (Oct 31), and it shows in Members > Games only during the season; one tap signs you in with your InstantAdPay account. Walk the street, grab loose candy, hop the black cats and bats, and knock on doors. Every door is a short verified visit to a member\u2019s page or ad (a member video once you have visited them all), up to 15 doors a day, separate from your Earn visits and Drip Runner refuels. Most doors give a treat of 10 candy; about one door in five plays a trick, and beating it with quick taps adds a small bonus. Candy climbs a ladder that pays POL once per rung (100 candy 0.1 POL, 250 candy 0.25, 500 candy 0.5, 1,000 candy 1, 2,000 candy 2), from a season pool funded by a share of door ad spend and costume sales, so rungs pay only while the pool covers them. POL goes to the wallet on your InstantAdPay account once your game balance reaches 0.25 POL. The witch costume is free; the vampire (300 credits), bedsheet ghost (300) and Lucky caramel apple (500) are bought with your ad credits in the game\u2019s costume shop. Advertisers can also put a verified-visits pack behind the doors: when you create a verified-visits campaign, pick Everywhere (3 credits a visit), Behind Spooky Doors (4 credits a door) or Golden Spooky Door (6 credits a door, and the player gets a little bonus candy). Door packs show only in Spooky Doors until the season ends, then any doors left run as normal visits. Nothing here is a promise of income.' },
|
||||||
{ id: 'games-tab', title: 'Games tab and Drip Runner', q: ['Which games pay POL?', 'What is Drip Runner?', 'How do game refuels work?'], tags: ['games', 'drip runner', 'game refuel', 'games tab'],
|
{ id: 'games-tab', title: 'Games tab and Drip Runner', q: ['Which games pay POL?', 'What is Drip Runner?', 'How do game refuels work?'], tags: ['games', 'drip runner', 'game refuel', 'games tab'],
|
||||||
re: /(drip ?runner|games? (tab|page|hub)|play (a |the )?game|games? (that )?pay|(?<!(monthly|my|your|the|a) )refuels?(?!(ing)? ?(day|streak|bonus|window|kit|card|guide)))/i, // 2026-10-24: questions about the Monthly Refuel streak go to the 'refuel' entry, not here
|
re: /(drip ?runner|games? (tab|page|hub)|play (a |the )?game|games? (that )?pay|(?<!(monthly|my|your|the|a) )refuels?(?!(ing)? ?(day|streak|bonus|window|kit|card|guide)))/i, // 2026-10-24: questions about the Monthly Refuel streak go to the 'refuel' entry, not here
|
||||||
a: 'Members > Games lists the network\u2019s games; one tap signs you in. Drip Runner is a runner game: tap to hop, collect gold drips, dodge the bots, clear chapters. The first clear of each chapter drips a little POL into your game balance, which is sent to your wallet once it reaches the payout line shown in the game. When a run ends you can refuel instead of restarting: a short verified visit to a member\u2019s page (or a member video when you have visited them all), up to 20 refuels a day, separate from your regular Earn visits. Refuels are paid for by advertisers, and a share of that funds the POL pool every drip is paid from, so drips depend on the pool and are small. Share your link from the game lobby: when people on your team refuel, a share of what their refuels add to the pool goes to your game balance. Nothing here is a promise of income. The Games tab also has PolHunter, Gem Kingdom (match-3, POL for first clears of stages and bosses), ClutterHunt (hidden objects), SpellWheel (word puzzle), PolyWarriors (cyberpunk fighting, open Oct 12), PolyBreak (brick breaker, opens Oct 13) and Spooky Doors during Halloween; Road Agent opens Thursday Oct 15. The public list of every game, open now and opening next, is https://instantadpay.com/games (add ?ref=yourusername to keep your referral).' },
|
a: 'Members > Games lists the network\u2019s games; one tap signs you in. Drip Runner is a runner game: tap to hop, collect gold drips, dodge the bots, clear chapters. The first clear of each chapter drips a little POL into your game balance, which is sent to your wallet once it reaches the payout line shown in the game. When a run ends you can refuel instead of restarting: a short verified visit to a member\u2019s page (or a member video when you have visited them all), up to 20 refuels a day, separate from your regular Earn visits. Refuels are paid for by advertisers, and a share of that funds the POL pool every drip is paid from, so drips depend on the pool and are small. Share your link from the game lobby: when people on your team refuel, a share of what their refuels add to the pool goes to your game balance. Nothing here is a promise of income. The Games tab also has PolHunter, Gem Kingdom (match-3, POL for first clears of stages and bosses), ClutterHunt (hidden objects), SpellWheel (word puzzle), PolyWarriors (cyberpunk fighting, open Oct 12), PolyBreak (brick breaker, opens Oct 13) and Spooky Doors during Halloween; Road Agent opens Thursday Oct 15. The public list of every game, open now and opening next, is https://instantadpay.com/games (add ?ref=yourusername to keep your referral).' },
|
||||||
@@ -191,18 +169,12 @@ const CANNED = [
|
|||||||
{ id: 'banner-image', title: 'Banner image link and sizes', q: ['Why was my banner image refused?', 'What banner sizes are there?', 'How do I upload a banner?'], tags: ['banner', 'image', 'sizes', 'campaign'],
|
{ id: 'banner-image', title: 'Banner image link and sizes', q: ['Why was my banner image refused?', 'What banner sizes are there?', 'How do I upload a banner?'], tags: ['banner', 'image', 'sizes', 'campaign'],
|
||||||
re: /(banner (image|url|link|size|creative|file)|image (url|link|field)|broken (banner|image)|upload (a |my |the )?(banner|image|creative)|(png|jpg|jpeg) link|which sizes?)/i,
|
re: /(banner (image|url|link|size|creative|file)|image (url|link|field)|broken (banner|image)|upload (a |my |the )?(banner|image|creative)|(png|jpg|jpeg) link|which sizes?)/i,
|
||||||
a: 'The image field on a banner campaign needs a direct link to the picture itself, one that ends in .png, .jpg, .gif, .webp or .svg, or an upload. A web page link (your join page, an image-hosting page) is refused, because it would show a broken banner. Easiest source: Promo tools > Banners, pick the size you want and tap Copy image URL. Sizes are the standard ad sizes (728x90, 300x250, 160x600, 320x50 and more); the campaign form asks for the size too. Banner and text ads also run out on the wider network.' },
|
a: 'The image field on a banner campaign needs a direct link to the picture itself, one that ends in .png, .jpg, .gif, .webp or .svg, or an upload. A web page link (your join page, an image-hosting page) is refused, because it would show a broken banner. Easiest source: Promo tools > Banners, pick the size you want and tap Copy image URL. Sizes are the standard ad sizes (728x90, 300x250, 160x600, 320x50 and more); the campaign form asks for the size too. Banner and text ads also run out on the wider network.' },
|
||||||
{ id: 'themes', title: 'Light and dark themes', q: ['Is there a light mode?', 'How do I switch themes?'], tags: ['theme', 'dark mode', 'light mode', 'appearance', 'accessibility'],
|
|
||||||
re: /(dark ?mode|light ?mode|dark theme|light theme|night mode|themes?|appearance|too bright|too dark|high contrast)/i,
|
|
||||||
a: 'InstantAdPay has light and dark themes (added 2026-11-02). In the member area use the Light, Dark or Auto control in the header, or the Appearance card on your Profile. Dark is the original look, Light is a bright green-grey workspace with the same layout, and Auto follows your device setting and switches with it. Your choice is saved on your account, so it follows you to any device once you sign in, and it applies to the public pages and your wall too. Nothing changes until you pick one. Both themes pass the accessibility contrast standard for text.' },
|
|
||||||
{ id: 'promo-tools', title: 'Promo tools', q: ['What is in Promo tools?', 'Where are the email swipes and banners?'], tags: ['promo tools', 'social posts', 'swipes', 'banners', 'objections'],
|
{ id: 'promo-tools', title: 'Promo tools', q: ['What is in Promo tools?', 'Where are the email swipes and banners?'], tags: ['promo tools', 'social posts', 'swipes', 'banners', 'objections'],
|
||||||
re: /(promo tools?|social posts?|email swipes?|banner kit|download banners?|promo banners?|text a friend|objection|share buttons?)/i,
|
re: /(promo tools?|social posts?|email swipes?|banner kit|download banners?|promo banners?|text a friend|objection|share buttons?)/i,
|
||||||
a: 'Promo tools (Members > Promo tools) has pill menus for each kit: Social posts (X, Facebook, LinkedIn, Telegram or WhatsApp, with post and share buttons), Text a friend (SMS-sized messages with Text it, WhatsApp, Telegram and Copy), Email swipes (short, standard, long, follow-up), Banners (every standard ad size plus square, story and Telegram sizes, download or copy URL), your Banner wall link, an Objection handling bank with the truth plus a ready-to-send reply, and a Games tab with a kit for every network game plus the EnjoyBestGames arcade (enjoybestgames.com, hundreds of free games; only the featured Polygon games pay, and your ?r= link cookies visitors as your referral for 30 days). Everything is personalized with your invite link.' },
|
a: 'Promo tools (Members > Promo tools) has pill menus for each kit: Social posts (X, Facebook, LinkedIn, Telegram or WhatsApp, with post and share buttons), Text a friend (SMS-sized messages with Text it, WhatsApp, Telegram and Copy), Email swipes (short, standard, long, follow-up), Banners (every standard ad size plus square, story and Telegram sizes, download or copy URL), your Banner wall link, and an Objection handling bank with the truth plus a ready-to-send reply. Everything is personalized with your invite link.' },
|
||||||
{ id: 'trust-drain', title: 'Trust Wallet "drain your wallet" warning', q: ['Trust Wallet says this transaction will drain my wallet', 'My wallet blocked the purchase'], tags: ['trust wallet', 'drain', 'wallet warning', 'walletconnect'],
|
{ id: 'trust-drain', title: 'Trust Wallet "drain your wallet" warning', q: ['Trust Wallet says this transaction will drain my wallet', 'My wallet blocked the purchase'], tags: ['trust wallet', 'drain', 'wallet warning', 'walletconnect'],
|
||||||
re: /(drain (my|your) wallet|stop and go back|trust wallet.*(warn|block|red)|wallet (warning|blocked))/i,
|
re: /(drain (my|your) wallet|stop and go back|trust wallet.*(warn|block|red)|wallet (warning|blocked))/i,
|
||||||
a: 'That red "this transaction will drain your wallet" screen is the wallet\'s own safety rule, not a problem with the purchase: Trust Wallet blocks any transaction that spends most of the POL in the wallet. Ways through: buy a smaller package first, add some POL so the purchase is well under half the balance, or connect a different wallet (MetaMask, Phantom, SafePal have no such block). Extra POL always stays yours. If the next try says WalletConnect disconnected, open Wallet, tap Disconnect, then Connect again. Phantom, SafePal and MetaMask do not have the hard block.' },
|
a: 'That red "this transaction will drain your wallet" screen is the wallet\'s own safety rule, not a problem with the purchase: Trust Wallet blocks any transaction that spends most of the POL in the wallet. Ways through: buy a smaller package first, add some POL so the purchase is well under half the balance, or connect a different wallet (MetaMask, Phantom, SafePal have no such block). Extra POL always stays yours. If the next try says WalletConnect disconnected, open Wallet, tap Disconnect, then Connect again. Phantom, SafePal and MetaMask do not have the hard block.' },
|
||||||
{ id: 'prohibited-content', title: 'What content is not allowed?', q: ['What content is not allowed?', 'Can I put a link in my bio?', 'Can I advertise a casino or CBD?'], tags: ['prohibited content', 'rules', 'bio links', 'gambling', 'adult', 'link farm'],
|
|
||||||
re: /(not allowed|prohibited|forbidden|banned (content|words|niches?)|content (rules|policy)|what (content|ads|niches?) (is|are) (not )?(allowed|ok|accepted)|can i (post|promote|advertise|run) .*(casino|gambling|betting|adult|porn|cbd|weed|pharma|guns?)|link ?farm|backlinks?|links? in (the |my |your )?bio|bio (link|url)|why was my (bio|profile|link) (refused|rejected|blocked))/i,
|
|
||||||
a: 'Not allowed anywhere on InstantAdPay (ads, campaigns, line banners, wall offers, bios and social links): gambling, casinos, betting, lotteries and sweepstakes; adult or sexual content; drugs and prescription pharmaceuticals; weapons; hate or harassment; malware, phishing and counterfeit goods; misleading financial promises. The bio is text only: no links and no domain names, links go in the social fields in Profile. Your bio, avatar and social links show on your public wall once you have bought a package; free accounts show only their name and the line’s ads there. Accounts created just to place links in profile fields (link farming) are removed without notice, with their profile text. The full list is in the Terms, section 8: https://instantadpay.com/terms#prohibited' },
|
|
||||||
{ id: 'wall', title: 'Your banner wall and its three positions', q: ['How does my wall work?', 'How do I own wall positions 2 and 3?'], tags: ['wall', 'banner wall', 'positions'],
|
{ id: 'wall', title: 'Your banner wall and its three positions', q: ['How does my wall work?', 'How do I own wall positions 2 and 3?'], tags: ['wall', 'banner wall', 'positions'],
|
||||||
re: /(wall (page|slots?|positions?)|banner wall|my wall|three (ads|slots) on (my|the) wall)/i,
|
re: /(wall (page|slots?|positions?)|banner wall|my wall|three (ads|slots) on (my|the) wall)/i,
|
||||||
a: 'Your wall (instantadpay.com/wall/yourname) shows three ads. Position 1 is always your line banner. Positions 2 and 3 show your upline (or InstantAdPay) until you earn them: 2 qualifying buyers ($20 or more) make position 2 yours, 5 make position 3 yours, so a fully qualified member owns the whole page with their own links and offers. Set them in Profile > Your wall; an unlocked slot you leave empty keeps showing your upline until you fill it.' },
|
a: 'Your wall (instantadpay.com/wall/yourname) shows three ads. Position 1 is always your line banner. Positions 2 and 3 show your upline (or InstantAdPay) until you earn them: 2 qualifying buyers ($20 or more) make position 2 yours, 5 make position 3 yours, so a fully qualified member owns the whole page with their own links and offers. Set them in Profile > Your wall; an unlocked slot you leave empty keeps showing your upline until you fill it.' },
|
||||||
@@ -272,24 +244,7 @@ function synFact() { const n = SYN_N(); return '- NETWORK RATE (live, Marty 2026
|
|||||||
let REFUEL_ON = () => false;
|
let REFUEL_ON = () => false;
|
||||||
// POL Miner (2026-10-28) follows site config gamesLive: until 'polminer' is in it the assistant only says it is coming soon
|
// POL Miner (2026-10-28) follows site config gamesLive: until 'polminer' is in it the assistant only says it is coming soon
|
||||||
let GAME_LIVE = () => false;
|
let GAME_LIVE = () => false;
|
||||||
// BixPay (2026-10-29) follows site config bixpayLive: until it is on the assistant only says the card is coming soon
|
const POLMINER_SOON_ANSWER = 'POL Miner, a dig-down mining game where rare Polygon crystals pay POL, is coming soon to the InstantAdPay games. It is not open yet; it will show up on your Games tab (Members > Games) and in the release notes when it launches.';
|
||||||
let BIX_LIVE = () => false;
|
|
||||||
const bixLive = () => { try { return !!BIX_LIVE(); } catch (e) { return false; } };
|
|
||||||
const isBixId = id => /^(c-)?bixpay(-[a-z]+)?$/.test(String(id || ''));
|
|
||||||
const BIX_SOON_ANSWER = 'A BixPay Visa card for spending POL is coming to InstantAdPay soon: a self-custody wallet with a Visa card, made by BIX, a separate company. It is not switched on here yet. When it is, it shows up on your Wallet tab, with a partner-link field in your Profile and a guide at instantadpay.com/bixpay, and the release notes will say so.';
|
|
||||||
function bixFact() { return bixLive()
|
|
||||||
? '- BIXPAY VISA CARD (LIVE, 2026-10-29): BixPay = a self-custody wallet + Visa card made by BIX, a SEPARATE company (not InstantAdPay). The member sends USDT or USDC to the BixPay wallet on Polygon, loads the card, spends wherever Visa is accepted incl. Apple Pay and Google Pay. Virtual card $9.99 (plastic, metal and gold cost more). The ONLY fee we state: 3% per purchase, no load fee; for anything else say "see BIX’s terms". US: open in 31 states so far; not in your state yet = you can still get the wallet and build; elsewhere availability varies by country; KYC required for the card. Funding POL -> card: (1) swap POL to USDT/USDC on any exchange or on-ramp, send on Polygon (app: Wallet > Receive > USDT or USDC > Polygon address); (2) US: Cash App can send crypto straight to the BixPay wallet; (3) an in-app swap is announced by BIX but NOT live: never say members can swap POL inside the app today. Sign-up steps: partner link -> register in the BIX portal (bix.ibportal.io) -> download the BIX app -> Settings > Scan QR to link app and portal -> Cards > Create Card ($9.99 virtual). Partner plan, plain words: BIX puts half of the 3% fee and of card sales into its partner plan, paid over ten levels (15% level 1, 10% level 2, 2.5% each on levels 3 to 10) plus a 5% pool; sign-ups and commissions are tracked and paid by BIX in the BIX portal, never by InstantAdPay; any worked example is hypothetical, not typical, and never a promise. Disputes: BIX accepts a dispute up to 120 days after a transaction posts; they can take 30 to 60 business days. WHERE: Members > Wallet (the card with Get your BixPay card + How it works), Members > Profile > BixPay card (the member pastes their PARTNER link from BIX portal > Profile > Partner, the second box; the referral link with appId=3 is refused), Promo tools > BixPay tab (3 posts, an email swipe, 4 text-only banners, all carrying the member’s link, plus the tab’s click count), the public guide https://instantadpay.com/bixpay (add ?ref=<username> and the page carries that member’s link), one sentence in payout emails. WHOSE LINK: the member’s own partner link, else the first sponsor up the chain (10 levels) with one, else the network link; every card says which ("Using: your link / @name’s link / the network link"). Compliance: InstantAdPay is not the card issuer and earns a referral commission when someone signs up through a partner link; crypto assets can lose value. NEVER repeat BIX marketing claims (user counts, cards issued, spend per day, valuations, "bigger than X") as facts; if asked, say those are BIX’s own claims and we have not verified them.\n'
|
|
||||||
: '- BIXPAY VISA CARD: COMING SOON, not switched on yet. If asked about BixPay, BIX, a crypto Visa card or spending POL with a card, say it is coming to the Wallet tab soon and nothing is live yet; never quote its fees, steps, links or the partner plan until it is on.\n'; }
|
|
||||||
// Warp & Wares (2026-10-29, the 30-day season game) follows gamesLive the same way; its season window is WW_SEASON_START / WW_SEASON_END (Central, end exclusive)
|
|
||||||
const WW_END = /^\d{4}-\d{2}-\d{2}$/.test(String(process.env.WW_SEASON_END || '')) ? process.env.WW_SEASON_END : '2026-12-30';
|
|
||||||
const wwDay = () => new Date().toLocaleDateString('en-CA', { timeZone: 'America/Chicago' });
|
|
||||||
const wwOver = () => wwDay() >= WW_END;
|
|
||||||
const wwLive = () => { try { return !!GAME_LIVE('warpwares') && !wwOver(); } catch (e) { return false; } };
|
|
||||||
const WARPWARES_SOON_ANSWER = 'Warp & Wares, a 30-day space trading season game in the Trade Wars style, is coming soon to the InstantAdPay games. It is not open yet; it will show up on your Games tab (Members > Games) and in the release notes when it opens.';
|
|
||||||
const WARPWARES_OVER_ANSWER = 'The Warp & Wares season is over; the next one is announced on the Games tab and in the release notes. The other games are on your Games tab (Members > Games).';
|
|
||||||
const wwAnswer = () => wwOver() ? WARPWARES_OVER_ANSWER : WARPWARES_SOON_ANSWER;
|
|
||||||
function warpwaresFact() { return wwLive() ? '- WARP & WARES (30-day season game, Members > Games): a Trade Wars-style trading and territory game in one shared galaxy of 1,200 sectors. Every captain gets 200 turns a day (reset midnight Central, never banked): warp, trade ore/grain/parts between markets, haggle, hold sectors with fighters and mines, found a base (six levels on build clocks), teams of five with a shared vault and elected leader. One-tap sign-in with the InstantAdPay account. PAYS POL from a published season budget: landmark holders and top traders at each weekly tick (Sundays 9 AM Central), one-time milestones (first base, first garrison, first 100,000 credits traded), the season-close leaderboard and titles. POL collects in the game balance and is paid automatically to the wallet linked on InstantAdPay. SPONSOR DOCK: docking at a sponsor market opens a short verified sponsor visit (charged to the advertiser like any game refuel visit, visit kind dock) and pays BONUS TURNS, the only turns past 200; gameplay only, never POL. Credits never turn into POL. Season Pass through the Game Pass: a hull step up, a second base slot, a named ship, a team banner, gold badges; never turns, fighters or prizes. Never state amounts, caps, totals or a season budget.\n' : wwOver() ? '- WARP & WARES: the season has ENDED; say the season is over and point to the Games tab for the next one.\n' : '- WARP & WARES: COMING SOON, not open yet. Never send members to the game address; say it is coming soon to the Games tab, and do not bring it up unless asked.\n'; }
|
|
||||||
const POLMINER_SOON_ANSWER ='POL Miner, a dig-down mining game where rare Polygon crystals pay POL, is coming soon to the InstantAdPay games. It is not open yet; it will show up on your Games tab (Members > Games) and in the release notes when it launches.';
|
|
||||||
const pmLive = () => { try { return !!GAME_LIVE('polminer'); } catch (e) { return false; } };
|
const pmLive = () => { try { return !!GAME_LIVE('polminer'); } catch (e) { return false; } };
|
||||||
// Turkey Drop (2026-10-28, the Thanksgiving season game) follows gamesLive the same way, and its season (Nov 2 to 30, Central) ends it
|
// Turkey Drop (2026-10-28, the Thanksgiving season game) follows gamesLive the same way, and its season (Nov 2 to 30, Central) ends it
|
||||||
const TD_END = '2026-12-01'; // Central day, exclusive (server.js TD_SEASON)
|
const TD_END = '2026-12-01'; // Central day, exclusive (server.js TD_SEASON)
|
||||||
@@ -310,7 +265,7 @@ function systemPrompt(kbBlock) {
|
|||||||
|
|
||||||
FACTS:
|
FACTS:
|
||||||
- LEVEL 4 OVERRIDE (LIVE 2026-10-26, first payout Monday 2026-11-02): company-paid, off-chain decision, on-chain payment. 3% of every package purchase (the POL actually paid) goes to the buyer's 4th upline on the contract sponsor chain if that member's contract buyerCount is 5 or more (qualifying buyer = direct referral with a $20+ purchase, same bar as level 3); otherwise it hunts up to the next qualified upline, max 25 hops; the company account (#1) or no qualified upline = company keeps it; exactly one recipient per purchase. Paid weekly in POL every Monday after 9 AM Central for the previous Monday to Sunday Central week, from a company payer wallet via the contract's award(memberId), shown in Earnings as 'Level 4 override' with a Polygon link and announced by email and an on-site notice. Under 0.01 POL carries to the next week. Purchases from the start date only, no back pay. Funded from the platform's 20%; the contract split 50/20/10 is unchanged. Never promise amounts.
|
- LEVEL 4 OVERRIDE (LIVE 2026-10-26, first payout Monday 2026-11-02): company-paid, off-chain decision, on-chain payment. 3% of every package purchase (the POL actually paid) goes to the buyer's 4th upline on the contract sponsor chain if that member's contract buyerCount is 5 or more (qualifying buyer = direct referral with a $20+ purchase, same bar as level 3); otherwise it hunts up to the next qualified upline, max 25 hops; the company account (#1) or no qualified upline = company keeps it; exactly one recipient per purchase. Paid weekly in POL every Monday after 9 AM Central for the previous Monday to Sunday Central week, from a company payer wallet via the contract's award(memberId), shown in Earnings as 'Level 4 override' with a Polygon link and announced by email and an on-site notice. Under 0.01 POL carries to the next week. Purchases from the start date only, no back pay. Funded from the platform's 20%; the contract split 50/20/10 is unchanged. Never promise amounts.
|
||||||
${passTiersFact()}${refuelFact()}${synFact()}${polminerFact()}${warpwaresFact()}${bixFact()}${turkeydropFact()}- ROAD AGENT (LIVE 2026-10-15, https://roadagent.app): a night-highway shooter open to every member. Open the Games tab and tap Play on the Road Agent card, or go to roadagent.app and sign in with the InstantAdPay email. Drive the four-lane highway, shoot the hostiles (thug sedans, switchblades, gunner vans), spare the civilians, pull into the weapons truck for oil slicks, smoke and missiles. Clearing a sector for the first time pays POL to the wallet on the member's InstantAdPay account, plus a daily patrol reward; scrap buys garage upgrades. Fuel = a sponsor visit: before a run the player visits an advertiser's page (a FUEL STOP), which is a normal verified visit with the dwell timer and human check, charged to the advertiser like any visit; advertisers' existing visits campaigns are already in the rotation, nothing to set up; to get more traffic from the game, top up the visits campaign. Clickable Pause, Sound and Music buttons sit under the game (P / M / N keys also work), and the Run tab has an Invite a friend card with the member's roadagent.app/?ref=<username> link.
|
${passTiersFact()}${refuelFact()}${synFact()}${polminerFact()}${turkeydropFact()}- ROAD AGENT (LIVE 2026-10-15, https://roadagent.app): a night-highway shooter open to every member. Open the Games tab and tap Play on the Road Agent card, or go to roadagent.app and sign in with the InstantAdPay email. Drive the four-lane highway, shoot the hostiles (thug sedans, switchblades, gunner vans), spare the civilians, pull into the weapons truck for oil slicks, smoke and missiles. Clearing a sector for the first time pays POL to the wallet on the member's InstantAdPay account, plus a daily patrol reward; scrap buys garage upgrades. Fuel = a sponsor visit: before a run the player visits an advertiser's page (a FUEL STOP), which is a normal verified visit with the dwell timer and human check, charged to the advertiser like any visit; advertisers' existing visits campaigns are already in the rotation, nothing to set up; to get more traffic from the game, top up the visits campaign. Clickable Pause, Sound and Music buttons sit under the game (P / M / N keys also work), and the Run tab has an Invite a friend card with the member's roadagent.app/?ref=<username> link.
|
||||||
- HELP DESK (LIVE 2026-10-16): members open Help in the dashboard (/my#help) to send Marty a support ticket (pick a category, a subject, the message, up to 2 screenshots), see each ticket's status (Open, Waiting on you, Closed) and read and answer his replies; a badge shows when he has replied, and replies also arrive by email. Anyone signed out or locked out uses the public form at https://instantadpay.com/support (name, email, category, subject, message) and gets an email with the ticket number (like IAP-1042) and a private link to view and reply, no sign-in needed. support@instantadpay.com also reaches Marty. Replying to a closed ticket opens it again. In this chat, "Send this to support" turns the conversation into a ticket. Only Marty answers, so replies are not instant; never promise a response time.
|
- HELP DESK (LIVE 2026-10-16): members open Help in the dashboard (/my#help) to send Marty a support ticket (pick a category, a subject, the message, up to 2 screenshots), see each ticket's status (Open, Waiting on you, Closed) and read and answer his replies; a badge shows when he has replied, and replies also arrive by email. Anyone signed out or locked out uses the public form at https://instantadpay.com/support (name, email, category, subject, message) and gets an email with the ticket number (like IAP-1042) and a private link to view and reply, no sign-in needed. support@instantadpay.com also reaches Marty. Replying to a closed ticket opens it again. In this chat, "Send this to support" turns the conversation into a ticket. Only Marty answers, so replies are not instant; never promise a response time.
|
||||||
- PRESENTATION (2026-10-15): instantadpay.com/presentation is a public page (no sign-in) with the narrated InstantAdPay presentation, about six minutes, Marty's voice, captions in 6 languages (English, Italiano, Français, Español, Deutsch, Português) chosen with pills under the player. Sixteen parts: the platform, ad reach, the nine games that pay POL, the $20 split ($10 / $4 / $2 / $4 platform, same transaction), three rules, packages, the 2-then-5 unlock, pass-up, wide versus narrow ($800 vs $36, an illustration), Qualified Start, the Pipeline, LinkSpin (pre-launch Nov 1), one wallet across the network, the first week, and 'the target is five'. Share link: Members > Promo tools > 'Share the presentation' copies instantadpay.com/presentation?ref=<username>; ?ref sets the same 30-day sponsor cookie as the invite link, the page shows 'Shared with you by @name' with avatar and a Join button to /join/<username>. It is in the site menu as 'Presentation'. BUILD WIDE VIDEO: first card in Promo tools > Videos ('Build wide: watch the payments flow'), matched link ?v=wide.
|
- PRESENTATION (2026-10-15): instantadpay.com/presentation is a public page (no sign-in) with the narrated InstantAdPay presentation, about six minutes, Marty's voice, captions in 6 languages (English, Italiano, Français, Español, Deutsch, Português) chosen with pills under the player. Sixteen parts: the platform, ad reach, the nine games that pay POL, the $20 split ($10 / $4 / $2 / $4 platform, same transaction), three rules, packages, the 2-then-5 unlock, pass-up, wide versus narrow ($800 vs $36, an illustration), Qualified Start, the Pipeline, LinkSpin (pre-launch Nov 1), one wallet across the network, the first week, and 'the target is five'. Share link: Members > Promo tools > 'Share the presentation' copies instantadpay.com/presentation?ref=<username>; ?ref sets the same 30-day sponsor cookie as the invite link, the page shows 'Shared with you by @name' with avatar and a Join button to /join/<username>. It is in the site menu as 'Presentation'. BUILD WIDE VIDEO: first card in Promo tools > Videos ('Build wide: watch the payments flow'), matched link ?v=wide.
|
||||||
- WIRED WEDNESDAY: every Wednesday, Central time (midnight to midnight), any ad package of $20 or more (Activation and up; no $10 pack exists) earns +25% bonus credits wired into the buyer's balance the moment the purchase settles, purchased-grade (usable on every format incl. login ads), credit log label "Wired Wednesday". First one: Wednesday 2026-09-30. Page: instantadpay.com/wednesday. Credits buy ad delivery, never money.
|
- WIRED WEDNESDAY: every Wednesday, Central time (midnight to midnight), any ad package of $20 or more (Activation and up; no $10 pack exists) earns +25% bonus credits wired into the buyer's balance the moment the purchase settles, purchased-grade (usable on every format incl. login ads), credit log label "Wired Wednesday". First one: Wednesday 2026-09-30. Page: instantadpay.com/wednesday. Credits buy ad delivery, never money.
|
||||||
@@ -320,7 +275,7 @@ ${passTiersFact()}${refuelFact()}${synFact()}${polminerFact()}${warpwaresFact()}
|
|||||||
- Free to join with email only (6-digit code sign-in, no passwords). Wallet appears only at purchase or payout activation. Every new member gets a small welcome batch of ad credits — unlocked by the WELCOME TOUR on first sign-in: they visit their upline's line-banner sites (up to 3, 10 seconds each — the same 3 levels the contract pays), then claim the credits. Members with no upline banners get the credits instantly.
|
- Free to join with email only (6-digit code sign-in, no passwords). Wallet appears only at purchase or payout activation. Every new member gets a small welcome batch of ad credits — unlocked by the WELCOME TOUR on first sign-in: they visit their upline's line-banner sites (up to 3, 10 seconds each — the same 3 levels the contract pays), then claim the credits. Members with no upline banners get the credits instantly.
|
||||||
- SPONSOR ATTRIBUTION: last touch. The invite link opened most recently sets the sponsor (30-day cookie), shown on the join page and again at the code step ("Joining under @name"). It locks when the account is created; the contract binds the buyer to that sponsor at their first purchase. Wrong sponsor before joining: open the right link. Already joined wrong: admin can move the account before the first purchase.
|
- SPONSOR ATTRIBUTION: last touch. The invite link opened most recently sets the sponsor (30-day cookie), shown on the join page and again at the code step ("Joining under @name"). It locks when the account is created; the contract binds the buyer to that sponsor at their first purchase. Wrong sponsor before joining: open the right link. Already joined wrong: admin can move the account before the first purchase.
|
||||||
- YOUR LINKS (top of Members > Promo tools): the plain invite link plus five angle links (?v=instant paid-in-seconds, ?v=adspend you-buy-ads-anyway, ?v=free costs-nothing-to-try, ?v=ledger no-back-office, ?v=two two-buyers-open-level-two, ?v=wide width-unlocks-depth with the Build Wide video; ?v=play opens the games angle), each with a who-it-is-for note, Copy and Share. Same credit either way; only the first page differs. Link stats on the Overview's coaching card show views/joins/buyers per angle.
|
- YOUR LINKS (top of Members > Promo tools): the plain invite link plus five angle links (?v=instant paid-in-seconds, ?v=adspend you-buy-ads-anyway, ?v=free costs-nothing-to-try, ?v=ledger no-back-office, ?v=two two-buyers-open-level-two, ?v=wide width-unlocks-depth with the Build Wide video; ?v=play opens the games angle), each with a who-it-is-for note, Copy and Share. Same credit either way; only the first page differs. Link stats on the Overview's coaching card show views/joins/buyers per angle.
|
||||||
- PROMO TOOLS (Members > Promo tools, pill menu): Social posts for X/Facebook/LinkedIn/Telegram-WhatsApp with post/share buttons; Text a friend (5 SMS-sized messages with Text it / WhatsApp / Telegram / Copy); Email swipes (short, standard, long, follow-up); Banners in every standard ad size plus 1080x1080, 1080x1920 and 1280x720 (download or copy URL); the member's Banner wall link; an Objection handling bank (truth + ready-to-send reply); a Videos tab with five hook videos, one per angle (Paid before the page reloads, You were buying traffic anyway, Watch first spend never, No back office, Two buyers open level two), each with a caption and the matched angle link, and at Circuit the Video Maker renders them with the member's own end card and QR; a Toolkit tab showing the badge ladder and the AI Copy Engine. Every piece carries the member's invite link; angle links add ?v=instant|adspend|free|ledger. Members who want copy in their own voice can use mybrandedvoice.com. The Games tab (2026-10-31) also carries the EnjoyBestGames arcade kit: enjoybestgames.com is an engagement site with hundreds of free HTML5 games; the featured row Games that pay Polygon is the network's own games and the only ones that pay; the member link enjoybestgames.com/?r=username sets a 30-day cookie so every featured game and the site strip credit that member on InstantAdPay; share image, 4 posts and the 11 banner sizes are in the kit.
|
- PROMO TOOLS (Members > Promo tools, pill menu): Social posts for X/Facebook/LinkedIn/Telegram-WhatsApp with post/share buttons; Text a friend (5 SMS-sized messages with Text it / WhatsApp / Telegram / Copy); Email swipes (short, standard, long, follow-up); Banners in every standard ad size plus 1080x1080, 1080x1920 and 1280x720 (download or copy URL); the member's Banner wall link; an Objection handling bank (truth + ready-to-send reply); a Videos tab with five hook videos, one per angle (Paid before the page reloads, You were buying traffic anyway, Watch first spend never, No back office, Two buyers open level two), each with a caption and the matched angle link, and at Circuit the Video Maker renders them with the member's own end card and QR; a Toolkit tab showing the badge ladder and the AI Copy Engine. Every piece carries the member's invite link; angle links add ?v=instant|adspend|free|ledger. Members who want copy in their own voice can use mybrandedvoice.com.
|
||||||
- INVITE PAGES: a member's link instantadpay.com/join/<username> opens a lead-capture page (email first, wallet later); add ?v=instant|adspend|free|ledger|two|wide|play for an angle-matched headline (?v=wide: 'Width unlocks depth.', opens on the Build Wide video, vertical on phones). New free members get a short getting-started email series over the first week (unsubscribe link in every email; the admin edits the sequence in /admin > Settings).
|
- INVITE PAGES: a member's link instantadpay.com/join/<username> opens a lead-capture page (email first, wallet later); add ?v=instant|adspend|free|ledger|two|wide|play for an angle-matched headline (?v=wide: 'Width unlocks depth.', opens on the Build Wide video, vertical on phones). New free members get a short getting-started email series over the first week (unsubscribe link in every email; the admin edits the sequence in /admin > Settings).
|
||||||
- WALLET DRAIN WARNING: Trust Wallet hard-blocks any purchase that spends most of the wallet's POL ("this transaction will drain your wallet", only "Stop and go back"). It is a balance-proportion heuristic, not a contract issue (there are no token approvals; a buy is one native-POL payable call). Advice: smaller package first, or add POL so the buy is well under half the balance, or use MetaMask/Phantom/SafePal (no hard block). The dashboard warns Trust Wallet users before sending when a buy would use more than ~55% of the balance; other wallets are not prompted. After a blocked attempt the WalletConnect session may be dead: Wallet tab > Disconnect > Connect again.
|
- WALLET DRAIN WARNING: Trust Wallet hard-blocks any purchase that spends most of the wallet's POL ("this transaction will drain your wallet", only "Stop and go back"). It is a balance-proportion heuristic, not a contract issue (there are no token approvals; a buy is one native-POL payable call). Advice: smaller package first, or add POL so the buy is well under half the balance, or use MetaMask/Phantom/SafePal (no hard block). The dashboard warns Trust Wallet users before sending when a buy would use more than ~55% of the balance; other wallets are not prompted. After a blocked attempt the WalletConnect session may be dead: Wallet tab > Disconnect > Connect again.
|
||||||
- WALL OWNERSHIP LADDER: the public wall has 3 positions. Position 1 = the member's line banner. Positions 2 and 3 show upline banners (then house ads) UNTIL the member earns them: 2 qualifying buyers ($20+) unlock position 2, 5 unlock position 3; a fully qualified member's wall is 100% their own links/offers (set in Profile > Your wall: label, https link, optional banner image). Empty unlocked slots fall back to upline banners, then house ads.
|
- WALL OWNERSHIP LADDER: the public wall has 3 positions. Position 1 = the member's line banner. Positions 2 and 3 show upline banners (then house ads) UNTIL the member earns them: 2 qualifying buyers ($20+) unlock position 2, 5 unlock position 3; a fully qualified member's wall is 100% their own links/offers (set in Profile > Your wall: label, https link, optional banner image). Empty unlocked slots fall back to upline banners, then house ads.
|
||||||
@@ -328,7 +283,6 @@ ${passTiersFact()}${refuelFact()}${synFact()}${polminerFact()}${warpwaresFact()}
|
|||||||
- Ad packages: Micro $5/500 credits, Starter $10/1,000, Activation $20/2,000, Builder $50/5,500, Growth $100/12,000, Leader $250/32,500, Elite $500/70,000. Dollar-priced, settled in POL (Polygon) at the live Chainlink rate. 1 credit = 1 cent of ad delivery.
|
- Ad packages: Micro $5/500 credits, Starter $10/1,000, Activation $20/2,000, Builder $50/5,500, Growth $100/12,000, Leader $250/32,500, Elite $500/70,000. Dollar-priced, settled in POL (Polygon) at the live Chainlink rate. 1 credit = 1 cent of ad delivery.
|
||||||
- Live formats: display banners (per impression), text ads (per impression), full-screen LOGIN ADS (per day: right after a member signs in they land on a sponsor interstitial — they click "Open Ad", the advertiser's page opens in a NEW tab, a countdown runs on the interstitial, and at zero a "Go to dashboard" button appears. Just a CTA link is enough; an optional banner image can be the clickable creative. No framing requirement since it opens in its own tab), WATCH-TO-EARN VIDEO ADS (advertiser uploads an MP4/WebM or gives a direct https .mp4/.webm link and picks a required watch length — 10s/30s/60s — which sets the per-view price; viewers watch in an escape-proof player under Earn credits > Watch videos, the watch time is enforced on the server clock, and they earn credits per completed watch; you never see your own videos), and solo ads. Banner ads also require a size (standard IAB sizes like 728x90, 300x250). Video watching is capped at 8 a day per member and pays 1, 2 or 4 credits for a 10, 30 or 60 second watch. FEATURED LINKS (live): a headline + link in the Featured strip at the top of every member's Overview, booked for 1, 2 or 7 days at 40 credits a day, up to 7 days ahead, at most 10 links sharing any day; flat buy paid when booked; the row shows days left and 'runs through <date>', counts views (one per viewer per hour) and clicks, and offers Extend run. VERIFIED-VISIT PACKS (live): 3 credits per visit, minimum 20 visits, paid up front; each visit is a distinct member who opens the site in a new tab, stays 8 seconds and passes a check, at most 20 visits per member per day; the row shows 'N of M visits delivered' and Buy more visits adds to the pack; the visitor earns 1 credit.
|
- Live formats: display banners (per impression), text ads (per impression), full-screen LOGIN ADS (per day: right after a member signs in they land on a sponsor interstitial — they click "Open Ad", the advertiser's page opens in a NEW tab, a countdown runs on the interstitial, and at zero a "Go to dashboard" button appears. Just a CTA link is enough; an optional banner image can be the clickable creative. No framing requirement since it opens in its own tab), WATCH-TO-EARN VIDEO ADS (advertiser uploads an MP4/WebM or gives a direct https .mp4/.webm link and picks a required watch length — 10s/30s/60s — which sets the per-view price; viewers watch in an escape-proof player under Earn credits > Watch videos, the watch time is enforced on the server clock, and they earn credits per completed watch; you never see your own videos), and solo ads. Banner ads also require a size (standard IAB sizes like 728x90, 300x250). Video watching is capped at 8 a day per member and pays 1, 2 or 4 credits for a 10, 30 or 60 second watch. FEATURED LINKS (live): a headline + link in the Featured strip at the top of every member's Overview, booked for 1, 2 or 7 days at 40 credits a day, up to 7 days ahead, at most 10 links sharing any day; flat buy paid when booked; the row shows days left and 'runs through <date>', counts views (one per viewer per hour) and clicks, and offers Extend run. VERIFIED-VISIT PACKS (live): 3 credits per visit, minimum 20 visits, paid up front; each visit is a distinct member who opens the site in a new tab, stays 8 seconds and passes a check, at most 20 visits per member per day; the row shows 'N of M visits delivered' and Buy more visits adds to the pack; the visitor earns 1 credit.
|
||||||
- WALLETS + BUYING POL (Training > Wallets and buying POL, /wallets, members only): preferred MetaMask (recommended; extra accounts for Qualified Start), Phantom (PHANTOM GOTCHA: Polygon is OFF by default; Settings > Active Networks > turn on Polygon, otherwise connect/buy fails or shows the wrong network; seen with Jim Watts' EB team 2026-09-13), SafePal, Coinbase Wallet; Trust works but blocks buys spending most of its POL (keep ~2x). MoonPay flow: connect wallet, Buy packages > "Buy POL with a card" opens MoonPay with POL on Polygon + the member's address prefilled; card/Apple Pay/Google Pay; first-time ID check; minimum order ~$30; buy package cost + 2-3 POL for fees; POL arrives in minutes; then buy. Exchanges: withdraw POL on the Polygon network. Never MATIC on Ethereum, never share the recovery phrase.
|
- WALLETS + BUYING POL (Training > Wallets and buying POL, /wallets, members only): preferred MetaMask (recommended; extra accounts for Qualified Start), Phantom (PHANTOM GOTCHA: Polygon is OFF by default; Settings > Active Networks > turn on Polygon, otherwise connect/buy fails or shows the wrong network; seen with Jim Watts' EB team 2026-09-13), SafePal, Coinbase Wallet; Trust works but blocks buys spending most of its POL (keep ~2x). MoonPay flow: connect wallet, Buy packages > "Buy POL with a card" opens MoonPay with POL on Polygon + the member's address prefilled; card/Apple Pay/Google Pay; first-time ID check; minimum order ~$30; buy package cost + 2-3 POL for fees; POL arrives in minutes; then buy. Exchanges: withdraw POL on the Polygon network. Never MATIC on Ethereum, never share the recovery phrase.
|
||||||
- PROHIBITED CONTENT (2026-10-30, Terms section 8, /terms#prohibited): gambling, casinos, betting, lotteries, sweepstakes; adult or sexual content; drugs and prescription pharmaceuticals; weapons; hate or harassment; malware, phishing, counterfeit goods; misleading financial promises. Refused at save time in bios, social links, line banners, wall offers and every campaign field. A bio may not contain a URL or a domain (links go in the social fields). Profile text, avatar and social links appear on the public wall ONLY for members who have bought a package; a free account's wall shows the name, the line's ads and the join button. Link-farm accounts (created to plant links in profile fields) are removed without notice with their profile text.
|
|
||||||
- INTRO VIDEO ON THE WALL: Profile > social links has an "Intro video" field (YouTube, Vimeo or direct .mp4 link). It embeds on the member's public wall page (/wall/<username>) right under their bio, above the three-level line and the join button.
|
- INTRO VIDEO ON THE WALL: Profile > social links has an "Intro video" field (YouTube, Vimeo or direct .mp4 link). It embeds on the member's public wall page (/wall/<username>) right under their bio, above the three-level line and the join button.
|
||||||
- HOLDING TANK (Members > My line > Holding tank card): free members who joined with no sponsor wait there; a member who has switched on payouts AND bought their own $20+ package can Adopt one (first come, max 2 open adoptions, 7-day window; if the person never links a wallet or buys, they fall back into the tank; a person can be adopted twice at most). Adopting sets the sponsor, opens a chat and emails the member; their first purchase then binds to the adopter on-chain. Members can also "Release to tank" one of their own free referrals (pay it forward), but NOT someone they adopted less than 3 days ago: an adoption is a commitment, and a dropped adoption still counts toward that person's two-adoption lifetime limit. Releases are posted to the feed and Telegram like pickups. Admin sees the tank under Members.
|
- HOLDING TANK (Members > My line > Holding tank card): free members who joined with no sponsor wait there; a member who has switched on payouts AND bought their own $20+ package can Adopt one (first come, max 2 open adoptions, 7-day window; if the person never links a wallet or buys, they fall back into the tank; a person can be adopted twice at most). Adopting sets the sponsor, opens a chat and emails the member; their first purchase then binds to the adopter on-chain. Members can also "Release to tank" one of their own free referrals (pay it forward), but NOT someone they adopted less than 3 days ago: an adoption is a commitment, and a dropped adoption still counts toward that person's two-adoption lifetime limit. Releases are posted to the feed and Telegram like pickups. Admin sees the tank under Members.
|
||||||
- TANK ACTIVATION HOLD (2026-10-27, Marty: never default a tank member to the company): a tank member (no sponsor, not activated) can NOT switch on payouts on its own yet (a PURCHASE is NEVER held, Marty 2026-10-27: with no sponsor anywhere a buy goes ahead under the catch position #1); the Wallet tab and Getting started card say "You're being matched with a sponsor. Payouts switch on as soon as someone picks you up (within 24 hours)." with the time left, and the activate button is hidden. The 24-hour clock starts when they link a wallet; they then show at the top of every holding tank with a green "Ready to activate" badge and hours left, and a post goes to the team's Telegram payments topic. If nobody adopts them in 24 hours, the site auto-assigns them to the next eligible adopter in rotation (own $20+ package, fewer than 2 open adoptions, signed in within 7 days, not suspended; least recently auto-assigned first); the adopter gets a chat + email and Telegram shows the pickup marked (auto-assigned). If nobody is eligible they stay on hold and the admin is alerted; never the company. Someone whose same email or wallet already has a sponsor on LinkSpin is placed under that sponsor instead (not one they were released or rescued from). A member who arrived through a sponsor link is never held. Once they have a sponsor the hold lifts by itself. ONE-TAP SWITCH ON PAYOUTS (2026-10-27): every tank assignment (manual adoption or the 24-hour auto-assign) sends the member a chat and an email with a Switch on payouts link, https://instantadpay.com/my?activate=1#wallet; it opens the Wallet tab and starts the normal Activate payouts flow with the new sponsor prefilled (after sign-in, and after linking a wallet if none is linked yet). It never starts while the hold applies or when no sponsor resolves. The site cannot activate for anyone: activation is one free transaction from the member's own wallet. Not activated 24 hours after the assignment: one reminder email to the member with the same link and one notice to the sponsor ("@x hasn't switched on payouts yet; a nudge from you helps"); at 72 hours one last email to the member only; both stop once the member switches on payouts or buys.
|
- TANK ACTIVATION HOLD (2026-10-27, Marty: never default a tank member to the company): a tank member (no sponsor, not activated) can NOT switch on payouts on its own yet (a PURCHASE is NEVER held, Marty 2026-10-27: with no sponsor anywhere a buy goes ahead under the catch position #1); the Wallet tab and Getting started card say "You're being matched with a sponsor. Payouts switch on as soon as someone picks you up (within 24 hours)." with the time left, and the activate button is hidden. The 24-hour clock starts when they link a wallet; they then show at the top of every holding tank with a green "Ready to activate" badge and hours left, and a post goes to the team's Telegram payments topic. If nobody adopts them in 24 hours, the site auto-assigns them to the next eligible adopter in rotation (own $20+ package, fewer than 2 open adoptions, signed in within 7 days, not suspended; least recently auto-assigned first); the adopter gets a chat + email and Telegram shows the pickup marked (auto-assigned). If nobody is eligible they stay on hold and the admin is alerted; never the company. Someone whose same email or wallet already has a sponsor on LinkSpin is placed under that sponsor instead (not one they were released or rescued from). A member who arrived through a sponsor link is never held. Once they have a sponsor the hold lifts by itself. ONE-TAP SWITCH ON PAYOUTS (2026-10-27): every tank assignment (manual adoption or the 24-hour auto-assign) sends the member a chat and an email with a Switch on payouts link, https://instantadpay.com/my?activate=1#wallet; it opens the Wallet tab and starts the normal Activate payouts flow with the new sponsor prefilled (after sign-in, and after linking a wallet if none is linked yet). It never starts while the hold applies or when no sponsor resolves. The site cannot activate for anyone: activation is one free transaction from the member's own wallet. Not activated 24 hours after the assignment: one reminder email to the member with the same link and one notice to the sponsor ("@x hasn't switched on payouts yet; a nudge from you helps"); at 72 hours one last email to the member only; both stop once the member switches on payouts or buys.
|
||||||
@@ -382,8 +336,8 @@ ${passTiersFact()}${refuelFact()}${synFact()}${polminerFact()}${warpwaresFact()}
|
|||||||
- POLYBREAK (opens 2026-10-13, https://polybreak.app, in Members > Games): a free Arkanoid-style brick breaker. Eight hand-built rounds that then repeat with tougher silver bricks; colored bricks break in one hit, silver takes more hits each round, gold never breaks. Capsules: S slow, C catch, L laser, E enlarge, D disrupt (three balls), B break (a gate in the right wall skips the round), P extra paddle. One-tap sign-in with the InstantAdPay account; guests can play and their first clears are paid once they sign in. PAYS POL: the first clear of each round (replays pay nothing) and catches of the purple Polygon gem (a small random amount each time, the gem appears every so often during play), into the PolyBreak game balance, sent automatically to the wallet on the member's InstantAdPay account at the payout line shown in the game; rewards are paid from the game's pool, funded by a share of the one-more-paddle visits. ONE MORE PADDLE: when the last paddle is lost, a verified visit to a member's page (or a member video) continues the round with one paddle; it uses the daily refuel allowance shared with the other games. REFERRALS: each player's share link polybreak.app/r/<username>; a sponsor earns a share of the pool income from the paddle visits of players they invited. Never state a maximum or total a player can earn and never promise income.
|
- POLYBREAK (opens 2026-10-13, https://polybreak.app, in Members > Games): a free Arkanoid-style brick breaker. Eight hand-built rounds that then repeat with tougher silver bricks; colored bricks break in one hit, silver takes more hits each round, gold never breaks. Capsules: S slow, C catch, L laser, E enlarge, D disrupt (three balls), B break (a gate in the right wall skips the round), P extra paddle. One-tap sign-in with the InstantAdPay account; guests can play and their first clears are paid once they sign in. PAYS POL: the first clear of each round (replays pay nothing) and catches of the purple Polygon gem (a small random amount each time, the gem appears every so often during play), into the PolyBreak game balance, sent automatically to the wallet on the member's InstantAdPay account at the payout line shown in the game; rewards are paid from the game's pool, funded by a share of the one-more-paddle visits. ONE MORE PADDLE: when the last paddle is lost, a verified visit to a member's page (or a member video) continues the round with one paddle; it uses the daily refuel allowance shared with the other games. REFERRALS: each player's share link polybreak.app/r/<username>; a sponsor earns a share of the pool income from the paddle visits of players they invited. Never state a maximum or total a player can earn and never promise income.
|
||||||
- POLYWARRIORS (LIVE 2026-10-12, https://www.polywarriors.com, in Members > Games): a free cyberpunk turn-based fighting game. Recruit warriors that are each born with their own traits and rarity (Common, Rare, Epic, Legendary); fight through 24 arena rivals (a 12-rival district ladder, then a 12-rival elite circuit); challenge other members to async duels that play out while they are away. The FIRST win over each rival pays POL to the wallet on the member's InstantAdPay account (replays pay nothing). The first warrior mints to the member's wallet as an NFT on Polygon for free; after that every $5 ad package bought on InstantAdPay earns a mint pass. Fusion: three warriors of the same rarity fuse into one rarer warrior (the three are consumed). Marketplace: warriors trade between members, settled in POL. One-tap sign-in with the InstantAdPay account; guests can try fights but earn nothing until they sign in. A 40-second trailer and a promo kit are in Promo tools > Games > PolyWarriors. Never state a maximum or total a player can earn and never promise income.
|
- POLYWARRIORS (LIVE 2026-10-12, https://www.polywarriors.com, in Members > Games): a free cyberpunk turn-based fighting game. Recruit warriors that are each born with their own traits and rarity (Common, Rare, Epic, Legendary); fight through 24 arena rivals (a 12-rival district ladder, then a 12-rival elite circuit); challenge other members to async duels that play out while they are away. The FIRST win over each rival pays POL to the wallet on the member's InstantAdPay account (replays pay nothing). The first warrior mints to the member's wallet as an NFT on Polygon for free; after that every $5 ad package bought on InstantAdPay earns a mint pass. Fusion: three warriors of the same rarity fuse into one rarer warrior (the three are consumed). Marketplace: warriors trade between members, settled in POL. One-tap sign-in with the InstantAdPay account; guests can try fights but earn nothing until they sign in. A 40-second trailer and a promo kit are in Promo tools > Games > PolyWarriors. Never state a maximum or total a player can earn and never promise income.
|
||||||
- SPELLWHEEL (LIVE 2026-10-10, https://spellwheel.com, in Members > Games): a free letter-wheel word game: swipe letters on the wheel to fill the crossword grid, travel through six cozy places (chapters), and solve a new daily puzzle shared by everyone. Pays POL for clearing levels, finishing a place and solving the daily puzzle, collected in the SpellWheel balance and sent automatically to the wallet on the member's InstantAdPay account. One-tap sign-in with the InstantAdPay account. Never state totals or promise income.
|
- SPELLWHEEL (LIVE 2026-10-10, https://spellwheel.com, in Members > Games): a free letter-wheel word game: swipe letters on the wheel to fill the crossword grid, travel through six cozy places (chapters), and solve a new daily puzzle shared by everyone. Pays POL for clearing levels, finishing a place and solving the daily puzzle, collected in the SpellWheel balance and sent automatically to the wallet on the member's InstantAdPay account. One-tap sign-in with the InstantAdPay account. Never state totals or promise income.
|
||||||
- CLUTTERHUNT (LIVE 2026-10-03, https://clutterhunt.com, in Members > Games): a free hidden-object game. Search cozy, cluttered rooms for 12 hidden objects plus one sponsored find (a sealed letter with a sponsor's name; tapping it shows their ad). Rooms change with the seasons: the Haunted Manor (Attic, Library, Witch's Kitchen, Wizard's Study, Moonlit Greenhouse, Wine Cellar) through Oct 31, then new seasonal rooms. Objects move every round. Stars: finish under 3 minutes, use at most 1 hint, at most 6 wrong taps. 2 free hints a round; after that a short verified visit to a member's page earns a hint (shares the daily refuel allowance). Sign in with the InstantAdPay account right inside the game to save stars. PAYS POL since 2026-10-04: fixed rewards per room each season for the first clear and the first 3-star clear (more for Expert rooms, which unlock after all six rooms), collected in the ClutterHunt balance and sent automatically to the wallet on the member's InstantAdPay account once it reaches the payout amount. Players who cleared rooms before 10-04 can replay each room once to collect. NEVER state a maximum or total a player can earn (Marty's rule) and never promise earnings. HARVEST FARMHOUSE season 2026-11-01 to 11-30 (six new rooms: Farmhouse Kitchen, Pantry, Harvest Dining Room, Barn Loft, Front Porch, Cozy Parlor); the Haunted Manor closed 2026-11-01. Rewards unchanged: first clear 0.05 POL per room per season, +0.05 for three stars, Expert 0.15 and +0.10 for three stars, from the season pool while it lasts.
|
- CLUTTERHUNT (LIVE 2026-10-03, https://clutterhunt.com, in Members > Games): a free hidden-object game. Search cozy, cluttered rooms for 12 hidden objects plus one sponsored find (a sealed letter with a sponsor's name; tapping it shows their ad). Rooms change with the seasons: the Haunted Manor (Attic, Library, Witch's Kitchen, Wizard's Study, Moonlit Greenhouse, Wine Cellar) through Oct 31, then new seasonal rooms. Objects move every round. Stars: finish under 3 minutes, use at most 1 hint, at most 6 wrong taps. 2 free hints a round; after that a short verified visit to a member's page earns a hint (shares the daily refuel allowance). Sign in with the InstantAdPay account right inside the game to save stars. PAYS POL since 2026-10-04: fixed rewards per room each season for the first clear and the first 3-star clear (more for Expert rooms, which unlock after all six rooms), collected in the ClutterHunt balance and sent automatically to the wallet on the member's InstantAdPay account once it reaches the payout amount. Players who cleared rooms before 10-04 can replay each room once to collect. NEVER state a maximum or total a player can earn (Marty's rule) and never promise earnings.
|
||||||
- SPOOKY DOORS (Halloween season game, 2026-10-02): https://spookydoors.com, open 2026-10-04 through Halloween night (closes at midnight Central at the end of Oct 31); its Games tab card shows only during the season, with a "Limited time, ends Oct 31" ribbon. Members sign in with one tap from Members > Games. Walk the street, collect candy, avoid black cats and bats, knock on doors. Each door is a verified visit to a member's page or ad (a member video once every page has been visited), the advertiser is charged as for any visit, the player gets candy not credits; 15 doors per Central day, separate from the 20 Earn-tab visits and the 20 Drip Runner refuels. A treat is 10 candy; about 1 door in 5 is a trick (a ghost or skeleton you tap 5 times quickly; beat it for a 3 candy bonus, miss it for half the treat). If no paid ad is left for that player, the door shows a house ad for one of our own programs: a smaller treat (5 candy), and it still counts toward the 15 doors. CANDY LADDER pays POL once per rung: 100 candy 0.1 POL, 250 0.25, 500 0.5, 1,000 1, 2,000 2 (Halloween 2026 badge at 500), paid from a season pool funded by a share of door ad spend and costume sales, only while the pool covers it; the game balance is sent to the member's InstantAdPay wallet on Polygon at 0.25 POL. COSTUMES bought with ad credits like Gem Kingdom Crowns: witch free, vampire 300 credits (longer trick timer), bedsheet ghost 300 (black cats ignore you), Lucky caramel apple 500 (+2 candy per treat); no cash value. Top 20 by candy on the season leaderboard. DOOR PACKS: creating a verified-visits campaign, the advertiser picks Everywhere (3 credits per visit, as before), Behind Spooky Doors (4 credits per door) or Golden Spooky Door (6 credits per door; the player gets +2 bonus candy). Paid up front like any visit pack. Door packs are served first on doors (Golden Doors before door packs), each player sees a pack at most once per Central day, they never run on the Earn tab or refuels during the season, and from Nov 1 any doors left run as normal visits; the campaign shows doors opened and unique players. Never promise earnings or call it income. CLOSED 2026-11-01: the season is over, the card is hidden, doors and shop are off; Candy Crunch top 10 share 27 POL (10/6/4/1x7) paid after admin approval, unlinked winners paid once they link a wallet; unpaid ladder POL (0.10+) pays once a wallet is linked; next seasonal game is Turkey Drop (opens 2026-11-02).
|
- SPOOKY DOORS (Halloween season game, 2026-10-02): https://spookydoors.com, open 2026-10-04 through Halloween night (closes at midnight Central at the end of Oct 31); its Games tab card shows only during the season, with a "Limited time, ends Oct 31" ribbon. Members sign in with one tap from Members > Games. Walk the street, collect candy, avoid black cats and bats, knock on doors. Each door is a verified visit to a member's page or ad (a member video once every page has been visited), the advertiser is charged as for any visit, the player gets candy not credits; 15 doors per Central day, separate from the 20 Earn-tab visits and the 20 Drip Runner refuels. A treat is 10 candy; about 1 door in 5 is a trick (a ghost or skeleton you tap 5 times quickly; beat it for a 3 candy bonus, miss it for half the treat). If no paid ad is left for that player, the door shows a house ad for one of our own programs: a smaller treat (5 candy), and it still counts toward the 15 doors. CANDY LADDER pays POL once per rung: 100 candy 0.1 POL, 250 0.25, 500 0.5, 1,000 1, 2,000 2 (Halloween 2026 badge at 500), paid from a season pool funded by a share of door ad spend and costume sales, only while the pool covers it; the game balance is sent to the member's InstantAdPay wallet on Polygon at 0.25 POL. COSTUMES bought with ad credits like Gem Kingdom Crowns: witch free, vampire 300 credits (longer trick timer), bedsheet ghost 300 (black cats ignore you), Lucky caramel apple 500 (+2 candy per treat); no cash value. Top 20 by candy on the season leaderboard. DOOR PACKS: creating a verified-visits campaign, the advertiser picks Everywhere (3 credits per visit, as before), Behind Spooky Doors (4 credits per door) or Golden Spooky Door (6 credits per door; the player gets +2 bonus candy). Paid up front like any visit pack. Door packs are served first on doors (Golden Doors before door packs), each player sees a pack at most once per Central day, they never run on the Earn tab or refuels during the season, and from Nov 1 any doors left run as normal visits; the campaign shows doors opened and unique players. Never promise earnings or call it income.
|
||||||
- GEM KINGDOM (LIVE in the Games tab since 2026-10-02): Gem Kingdom (https://gemkingdom.app) is a free fantasy match-3: match gems so three heroes battle monsters across six chapters (Goblin Woods, the Frozen Pass, the Haunted Swamp, Dragon's Peak, the Sunken Reef, the Shadow Citadel), earn stars, and rebuild your Stronghold and forge weapons. It pays POL for FIRST clears only (stages 0.02 to 0.15 POL rising by chapter; bosses 0.25, 0.5, 2, 5, 7.5 and 10 POL for the Goblin King, Ice Queen, Bog Witch, Ember Dragon, Kraken and Shadow King); replays pay nothing. The game balance is sent to the member's InstantAdPay wallet on Polygon at 0.25 POL. Rewards come from a pool funded by a share of Crown purchases and pay only while the pool has funds; never promise earnings or call it income. No referral bonus on game clears. Crowns, its upgrade currency, are bought with your InstantAdPay ad credits: tap Buy in the game's Crown Shop, confirm on InstantAdPay (top up with a pack if you are short), and you land back in the game with the Crowns added. Crowns buy buildings, weapons, battle boosts and a revive after a defeat. Sign in with your InstantAdPay account to save progress, earn badges and appear in the Game Achievements posts in the Crypto Team Build group. Never promise an amount beyond the posted rewards. (2026-10-03) FREE REVIVE: after a defeat, a short verified visit to a member's page (InstantAdPay verified-visit flow inside the game, shares the 20-a-day refuel allowance with Drip Runner) revives the party once per battle; a revived win earns at most 2 stars. SPECIALS in the Crown shop: Hero Bundle (one time, $5 = 500 credits: a tier-1 forge weapon, one building level, 60 Crowns), Kingdom Pass ($10 = 1,000 credits for 30 days: 10 Crowns a day credited on the first visit each Central day, a 25-Crown chest every 7 days, the three Royal hero looks; no auto-renew, buying again adds 30 days), Hero looks (cosmetic only: Halloween looks Pumpkin Knight, Moon Witch, Scarecrow Ranger for 40 Crowns each, sold through Oct 31 and kept forever; Royal looks with the Pass). Only the purchased-credit part of a purchase funds the POL reward pool.
|
- GEM KINGDOM (LIVE in the Games tab since 2026-10-02): Gem Kingdom (https://gemkingdom.app) is a free fantasy match-3: match gems so three heroes battle monsters across six chapters (Goblin Woods, the Frozen Pass, the Haunted Swamp, Dragon's Peak, the Sunken Reef, the Shadow Citadel), earn stars, and rebuild your Stronghold and forge weapons. It pays POL for FIRST clears only (stages 0.02 to 0.15 POL rising by chapter; bosses 0.25, 0.5, 2, 5, 7.5 and 10 POL for the Goblin King, Ice Queen, Bog Witch, Ember Dragon, Kraken and Shadow King); replays pay nothing. The game balance is sent to the member's InstantAdPay wallet on Polygon at 0.25 POL. Rewards come from a pool funded by a share of Crown purchases and pay only while the pool has funds; never promise earnings or call it income. No referral bonus on game clears. Crowns, its upgrade currency, are bought with your InstantAdPay ad credits: tap Buy in the game's Crown Shop, confirm on InstantAdPay (top up with a pack if you are short), and you land back in the game with the Crowns added. Crowns buy buildings, weapons, battle boosts and a revive after a defeat. Sign in with your InstantAdPay account to save progress, earn badges and appear in the Game Achievements posts in the Crypto Team Build group. Never promise an amount beyond the posted rewards. (2026-10-03) FREE REVIVE: after a defeat, a short verified visit to a member's page (InstantAdPay verified-visit flow inside the game, shares the 20-a-day refuel allowance with Drip Runner) revives the party once per battle; a revived win earns at most 2 stars. SPECIALS in the Crown shop: Hero Bundle (one time, $5 = 500 credits: a tier-1 forge weapon, one building level, 60 Crowns), Kingdom Pass ($10 = 1,000 credits for 30 days: 10 Crowns a day credited on the first visit each Central day, a 25-Crown chest every 7 days, the three Royal hero looks; no auto-renew, buying again adds 30 days), Hero looks (cosmetic only: Halloween looks Pumpkin Knight, Moon Witch, Scarecrow Ranger for 40 Crowns each, sold through Oct 31 and kept forever; Royal looks with the Pass). Only the purchased-credit part of a purchase funds the POL reward pool.
|
||||||
- GAME POL TO ANY LINKED WALLET (2026-10-27, Marty): game POL (Drip Runner, Gem Kingdom, ClutterHunt, Spooky Doors, Road Agent, PolyBreak, SpellWheel, PolyWarriors) is paid to the wallet LINKED to the member's InstantAdPay account (one free signature on the Wallet tab, https://instantadpay.com/my#wallet). Activation is NOT needed: a linked wallet that has not switched on payouts (for example a holding-tank member waiting for a sponsor) is paid too. InstantAdPay hands the linked wallet to every game where the member has a balance (hourly, and on every sign-in to a game), and the game sends the POL on its own sweep once the balance reaches that game's payout line, including everything earned before the link. A game that already holds a different wallet keeps paying that one (it is never replaced automatically). Players with no linked wallet get at most three reminders ("X POL is waiting for your wallet": link your wallet, one free signature, and it's sent automatically, including everything you've earned so far), and in the games the reward screen says "Link your wallet to receive this POL" with the same link. Never tell a member to switch on payouts to get game POL.
|
- GAME POL TO ANY LINKED WALLET (2026-10-27, Marty): game POL (Drip Runner, Gem Kingdom, ClutterHunt, Spooky Doors, Road Agent, PolyBreak, SpellWheel, PolyWarriors) is paid to the wallet LINKED to the member's InstantAdPay account (one free signature on the Wallet tab, https://instantadpay.com/my#wallet). Activation is NOT needed: a linked wallet that has not switched on payouts (for example a holding-tank member waiting for a sponsor) is paid too. InstantAdPay hands the linked wallet to every game where the member has a balance (hourly, and on every sign-in to a game), and the game sends the POL on its own sweep once the balance reaches that game's payout line, including everything earned before the link. A game that already holds a different wallet keeps paying that one (it is never replaced automatically). Players with no linked wallet get at most three reminders ("X POL is waiting for your wallet": link your wallet, one free signature, and it's sent automatically, including everything you've earned so far), and in the games the reward screen says "Link your wallet to receive this POL" with the same link. Never tell a member to switch on payouts to get game POL.
|
||||||
- GAMES TAB (2026-10-01): Members > Games (/my#games) shows one card per network game (as of 2026-10-15: PolHunter, Drip Runner, Gem Kingdom, ClutterHunt, SpellWheel, PolyWarriors, PolyBreak, Road Agent, Spooky Doors during Halloween; all pay POL to the member's InstantAdPay wallet), with their own progress and a Play button that signs them in with one tap; new games appear there as they launch (PolHunter is one card). DRIP RUNNER (https://driprunner.app, LIVE for every member since 2026-10-01): tap-to-hop runner; gold drips, magenta bots, orange firewalls from chapter 2; each chapter has a drip goal for one run; the FIRST clear of a chapter pays a small POL drip (amount set by the admin, shown in the game) into the game balance, replays pay nothing; the balance is sent on Polygon to the member's InstantAdPay wallet once it reaches the payout line shown in the game. REFUELS: a run that ends can be refuelled with a verified visit to a member's page (once every page has been visited: a member video, a page seen more than 7 days ago again, or one of the network's own programs, so a game visit is never empty; since 2026-10-28 for every game's refuel, paddle, continue, hint and supply crate), up to 20 a day, separate from the 20 Earn-tab visits; the advertiser is charged as for any visit, the player gets fuel not credits. The POL pool is funded ONLY by a share of refuel ad spend plus POL spent in the hangar, so drips depend on refuels and can be zero when the pool is empty; say so honestly. HANGAR: Drip Magnet and Courier Mk II cost drips (game currency); Shield Core and Slow Field cost POL from the game balance, which returns to the pool. GUESTS can try a run without signing in; their clears pay once they sign in. REFERRALS: each player's share link /r/<username>; when members whose InstantAdPay sponsor is that player refuel, a share (10 percent by default) of each refuel's pool income goes to the sponsor's game balance. Telegram posts achievement badges (chapters, unlocks, refuel milestones, payouts). Never promise amounts or income. The public list of every game, open now and opening next, is https://instantadpay.com/games (shareable; add ?ref=<username> to keep the referral).
|
- GAMES TAB (2026-10-01): Members > Games (/my#games) shows one card per network game (as of 2026-10-15: PolHunter, Drip Runner, Gem Kingdom, ClutterHunt, SpellWheel, PolyWarriors, PolyBreak, Road Agent, Spooky Doors during Halloween; all pay POL to the member's InstantAdPay wallet), with their own progress and a Play button that signs them in with one tap; new games appear there as they launch (PolHunter is one card). DRIP RUNNER (https://driprunner.app, LIVE for every member since 2026-10-01): tap-to-hop runner; gold drips, magenta bots, orange firewalls from chapter 2; each chapter has a drip goal for one run; the FIRST clear of a chapter pays a small POL drip (amount set by the admin, shown in the game) into the game balance, replays pay nothing; the balance is sent on Polygon to the member's InstantAdPay wallet once it reaches the payout line shown in the game. REFUELS: a run that ends can be refuelled with a verified visit to a member's page (once every page has been visited: a member video, a page seen more than 7 days ago again, or one of the network's own programs, so a game visit is never empty; since 2026-10-28 for every game's refuel, paddle, continue, hint and supply crate), up to 20 a day, separate from the 20 Earn-tab visits; the advertiser is charged as for any visit, the player gets fuel not credits. The POL pool is funded ONLY by a share of refuel ad spend plus POL spent in the hangar, so drips depend on refuels and can be zero when the pool is empty; say so honestly. HANGAR: Drip Magnet and Courier Mk II cost drips (game currency); Shield Core and Slow Field cost POL from the game balance, which returns to the pool. GUESTS can try a run without signing in; their clears pay once they sign in. REFERRALS: each player's share link /r/<username>; when members whose InstantAdPay sponsor is that player refuel, a share (10 percent by default) of each refuel's pool income goes to the sponsor's game balance. Telegram posts achievement badges (chapters, unlocks, refuel milestones, payouts). Never promise amounts or income. The public list of every game, open now and opening next, is https://instantadpay.com/games (shareable; add ?ref=<username> to keep the referral).
|
||||||
@@ -460,18 +414,15 @@ async function answerRaw(message, historyText) {
|
|||||||
if (hit && (hit.id === 'polminer' || hit.id === 'c-polminer') && !pmLive()) return { reply: POLMINER_SOON_ANSWER, canned: true, kb: hit.id };
|
if (hit && (hit.id === 'polminer' || hit.id === 'c-polminer') && !pmLive()) return { reply: POLMINER_SOON_ANSWER, canned: true, kb: hit.id };
|
||||||
if (hit && (hit.id === 'turkeydrop' || hit.id === 'c-turkeydrop') && !tdLive()) return { reply: tdAnswer(), canned: true, kb: hit.id };
|
if (hit && (hit.id === 'turkeydrop' || hit.id === 'c-turkeydrop') && !tdLive()) return { reply: tdAnswer(), canned: true, kb: hit.id };
|
||||||
if (hit && (hit.id === 'game-pass' || hit.id === 'c-game-pass')) return Object.assign({ reply: gpWithTd(hit.answer), canned: true, kb: hit.id }, hit.handoff ? { handoff: true } : {});
|
if (hit && (hit.id === 'game-pass' || hit.id === 'c-game-pass')) return Object.assign({ reply: gpWithTd(hit.answer), canned: true, kb: hit.id }, hit.handoff ? { handoff: true } : {});
|
||||||
if (!kbOk) for (const c of CANNED) if (c.re.test(msg)) return c.id === 'refuel' && !REFUEL_ON() ? { reply: REFUEL_OFF_ANSWER, canned: true } : c.id === 'polminer' && !pmLive() ? { reply: POLMINER_SOON_ANSWER, canned: true } : c.id === 'turkeydrop' && !tdLive() ? { reply: tdAnswer(), canned: true } : c.id === 'game-pass' ? { reply: gpWithTd(c.a), canned: true } : c.id === 'network-rate' && SYN_N() !== 4 ? { reply: netRateAnswer(SYN_N()), canned: true } : Object.assign({ reply: c.a, canned: true }, c.handoff ? { handoff: true } : {});
|
|
||||||
if (hit && (hit.id === 'warpwares' || hit.id === 'c-warpwares') && !wwLive()) return { reply: wwAnswer(), canned: true, kb: hit.id };
|
|
||||||
if (hit && isBixId(hit.id) && !bixLive()) return { reply: BIX_SOON_ANSWER, canned: true, kb: hit.id };
|
|
||||||
if (hit && (hit.id === 'network-rate' || hit.id === 'c-network-rate') && SYN_N() !== 4) return { reply: netRateAnswer(SYN_N()), canned: true, kb: hit.id };
|
if (hit && (hit.id === 'network-rate' || hit.id === 'c-network-rate') && SYN_N() !== 4) return { reply: netRateAnswer(SYN_N()), canned: true, kb: hit.id };
|
||||||
if (hit) return Object.assign({ reply: hit.answer, canned: true, kb: hit.id }, hit.handoff ? { handoff: true } : {});
|
if (hit) return Object.assign({ reply: hit.answer, canned: true, kb: hit.id }, hit.handoff ? { handoff: true } : {});
|
||||||
if (!kbOk) for (const c of CANNED) if (c.re.test(msg)) return c.id === 'refuel' && !REFUEL_ON() ? { reply: REFUEL_OFF_ANSWER, canned: true } : c.id === 'polminer' && !pmLive() ? { reply: POLMINER_SOON_ANSWER, canned: true } : c.id === 'warpwares' && !wwLive() ? { reply: wwAnswer(), canned: true } : isBixId(c.id) && !bixLive() ? { reply: BIX_SOON_ANSWER, canned: true } : c.id === 'network-rate' && SYN_N() !== 4 ? { reply: netRateAnswer(SYN_N()), canned: true } : Object.assign({ reply: c.a, canned: true }, c.handoff ? { handoff: true } : {});
|
if (!kbOk) for (const c of CANNED) if (c.re.test(msg)) return c.id === 'refuel' && !REFUEL_ON() ? { reply: REFUEL_OFF_ANSWER, canned: true } : c.id === 'polminer' && !pmLive() ? { reply: POLMINER_SOON_ANSWER, canned: true } : c.id === 'turkeydrop' && !tdLive() ? { reply: tdAnswer(), canned: true } : c.id === 'game-pass' ? { reply: gpWithTd(c.a), canned: true } : c.id === 'network-rate' && SYN_N() !== 4 ? { reply: netRateAnswer(SYN_N()), canned: true } : Object.assign({ reply: c.a, canned: true }, c.handoff ? { handoff: true } : {});
|
||||||
// retrieval: the closest entries ride along in the system prompt (a short follow-up borrows words from the chat so far)
|
// retrieval: the closest entries ride along in the system prompt (a short follow-up borrows words from the chat so far)
|
||||||
let kbBlock = '', kbIds = [];
|
let kbBlock = '', kbIds = [];
|
||||||
try {
|
try {
|
||||||
const query = msg.split(/\s+/).length < 4 && historyText ? msg + ' ' + String(historyText).slice(-200) : msg;
|
const query = msg.split(/\s+/).length < 4 && historyText ? msg + ' ' + String(historyText).slice(-200) : msg;
|
||||||
const hits = await kb.context(query, 5);
|
const hits = await kb.context(query, 5);
|
||||||
const hitsOk = hits.filter(h => (pmLive() || !/^(c-)?polminer$/.test(String(h.entry && h.entry.id))) && (wwLive() || !/^(c-)?warpwares$/.test(String(h.entry && h.entry.id))) && (bixLive() || !isBixId(h.entry && h.entry.id)) && (tdLive() || !/^(c-)?turkeydrop$/.test(String(h.entry && h.entry.id)))); // not live yet: keep its answer out of the prompt
|
const hitsOk = hits.filter(h => (pmLive() || !/^(c-)?polminer$/.test(String(h.entry && h.entry.id))) && (tdLive() || !/^(c-)?turkeydrop$/.test(String(h.entry && h.entry.id)))); // not live yet (or season over): keep its answer out of the prompt
|
||||||
kbBlock = kb.promptBlock(hitsOk); kbIds = hitsOk.map(h => h.entry.id);
|
kbBlock = kb.promptBlock(hitsOk); kbIds = hitsOk.map(h => h.entry.id);
|
||||||
} catch (e) { console.error('kb search', e.message); }
|
} catch (e) { console.error('kb search', e.message); }
|
||||||
if (!enabled()) return { reply: 'Good question. The quick answers I have cover packages, payouts, qualification, and joining; for anything deeper, the plain-language contract review at https://instantadpay.com/contract covers most of it, or tap "Send this to support" and Marty will answer.', handoff: true };
|
if (!enabled()) return { reply: 'Good question. The quick answers I have cover packages, payouts, qualification, and joining; for anything deeper, the plain-language contract review at https://instantadpay.com/contract covers most of it, or tap "Send this to support" and Marty will answer.', handoff: true };
|
||||||
|
|||||||
@@ -56,16 +56,12 @@ async function member(id) {
|
|||||||
const STALL_DAYS = 3;
|
const STALL_DAYS = 3;
|
||||||
async function describe(acct, now = Date.now()) {
|
async function describe(acct, now = Date.now()) {
|
||||||
const mm = await member(acct.memberId);
|
const mm = await member(acct.memberId);
|
||||||
// unknown = the member is on chain but the read failed just now (member() swallows RPC errors and caches null for a
|
|
||||||
// minute); rungFor would call them "payouts on, no purchase" and the coach would mail a buyer the first-package nudge
|
|
||||||
// (2026-10-31 on LinkSpin: Marty, 4 purchases and 7 buyers, got "See a payout land"). Callers that mail must skip unknown.
|
|
||||||
const unknown = !!(acct.memberId && !mm);
|
|
||||||
const rung = rungFor(acct, mm);
|
const rung = rungFor(acct, mm);
|
||||||
const last = Math.max(acct.created || 0, acct.lastSeen || 0);
|
const last = Math.max(acct.created || 0, acct.lastSeen || 0);
|
||||||
const quietDays = Math.floor((now - last) / DAY);
|
const quietDays = Math.floor((now - last) / DAY);
|
||||||
const stalled = !unknown && rung < 6 && quietDays >= STALL_DAYS;
|
const stalled = rung < 6 && quietDays >= STALL_DAYS;
|
||||||
const R = RUNGS[rung];
|
const R = RUNGS[rung];
|
||||||
return { rung, label: R.label, next: R.next, say: R.say, quietDays, stalled, unknown, buyerCount: mm ? mm.buyerCount : 0,
|
return { rung, label: R.label, next: R.next, say: R.say, quietDays, stalled, buyerCount: mm ? mm.buyerCount : 0,
|
||||||
counted: !!(mm && mm.countedAsBuyer), joined: acct.created, lastSeen: acct.lastSeen || 0, onchainSponsorId: mm ? mm.sponsorId : null };
|
counted: !!(mm && mm.countedAsBuyer), joined: acct.created, lastSeen: acct.lastSeen || 0, onchainSponsorId: mm ? mm.sponsorId : null };
|
||||||
}
|
}
|
||||||
// coaching view for a sponsor: every direct, ladder rung, stalled flag, what to say
|
// coaching view for a sponsor: every direct, ladder rung, stalled flag, what to say
|
||||||
@@ -324,7 +320,6 @@ async function nudgeTick() {
|
|||||||
const all = await accounts.listAll(5000);
|
const all = await accounts.listAll(5000);
|
||||||
for (const acct of all) {
|
for (const acct of all) {
|
||||||
if (!acct.email || !acct.created || now - acct.created < STALL_DAYS * DAY) continue;
|
if (!acct.email || !acct.created || now - acct.created < STALL_DAYS * DAY) continue;
|
||||||
if (X.adminEmail && String(acct.email).toLowerCase() === String(X.adminEmail).toLowerCase()) continue; // the site owner is never coached (2026-10-31)
|
|
||||||
const c = await describe(acct, now);
|
const c = await describe(acct, now);
|
||||||
if (!c.stalled) continue;
|
if (!c.stalled) continue;
|
||||||
const R = RUNGS[c.rung]; if (!R.mail) continue;
|
const R = RUNGS[c.rung]; if (!R.mail) continue;
|
||||||
|
|||||||
@@ -344,9 +344,6 @@ async function bootstrap() {
|
|||||||
await alterSafe('ALTER TABLE accounts ADD COLUMN joined_via VARCHAR(20) NULL'); // ?v= angle the lead came in on
|
await alterSafe('ALTER TABLE accounts ADD COLUMN joined_via VARCHAR(20) NULL'); // ?v= angle the lead came in on
|
||||||
await alterSafe('ALTER TABLE accounts ADD COLUMN joined_ref VARCHAR(80) NULL'); // referring domain of the first join-page visit
|
await alterSafe('ALTER TABLE accounts ADD COLUMN joined_ref VARCHAR(80) NULL'); // referring domain of the first join-page visit
|
||||||
await alterSafe('ALTER TABLE accounts ADD COLUMN wall_offers VARCHAR(2000) NULL'); // JSON [{title,bannerUrl,targetUrl}] for wall positions 2-3 (unlock at 2 / 5 qualifying buyers)
|
await alterSafe('ALTER TABLE accounts ADD COLUMN wall_offers VARCHAR(2000) NULL'); // JSON [{title,bannerUrl,targetUrl}] for wall positions 2-3 (unlock at 2 / 5 qualifying buyers)
|
||||||
await alterSafe('ALTER TABLE accounts ADD COLUMN profile_quarantined TINYINT NOT NULL DEFAULT 0'); // 2026-10-30 link-farm rule: first profile save of a new free account carried a link (spamscan.js)
|
|
||||||
await alterSafe('ALTER TABLE accounts ADD COLUMN bix_partner_link VARCHAR(300) NULL'); // BixPay partner link (bixpay.js, 2026-10-29); column name checked against MySQL 8 reserved words
|
|
||||||
await alterSafe('ALTER TABLE accounts ADD COLUMN theme VARCHAR(8) NULL'); // 2026-11-01 appearance: auto | light | dark (same column as LinkSpin)
|
|
||||||
// help desk (2026-10-16, tickets.js): one shared desk for IAP and, later, LinkSpin; email_message_id threads inbound mail
|
// help desk (2026-10-16, tickets.js): one shared desk for IAP and, later, LinkSpin; email_message_id threads inbound mail
|
||||||
await q(`CREATE TABLE IF NOT EXISTS tickets (
|
await q(`CREATE TABLE IF NOT EXISTS tickets (
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
|||||||
@@ -1,99 +0,0 @@
|
|||||||
# BixPay card integration (DRAFT for Marty, 2026-10-29)
|
|
||||||
|
|
||||||
Scope: InstantAdPay first, LinkSpin second, CTB when it launches. Nothing here is built yet.
|
|
||||||
|
|
||||||
## What we know about BIX (verified 2026-10-29)
|
|
||||||
- BIX = self-custody wallet + Visa card spent from USDT/USDC. Funding networks include Polygon, so a member can swap POL
|
|
||||||
to USDT in the BIX app and load the card with no bridge. No load fee; up to 3% per purchase, 1% FX.
|
|
||||||
- Cards: virtual $9.99, plastic $100, metal $250, gold $25,000. US = Visa Signature (29 states); elsewhere Visa Platinum.
|
|
||||||
- Partner plan: 50% of net fees and card sales -> 45% over 10 levels (15 / 10 / 2.5 x 8) + 5% pool.
|
|
||||||
- Partner link format: `https://bix.ibportal.io/auth/register?e=<43-char token>&a=1` (opaque token, not derivable from the
|
|
||||||
IB ID). The referral link (`&appId=3`) makes a card customer only; the PARTNER link makes a partner. We use the partner link.
|
|
||||||
- Company fallback link: Marty's partner link (IB12143793).
|
|
||||||
|
|
||||||
## 1. The profile field (one identity, follows the member)
|
|
||||||
- InstantAdPay Profile tab, new section **"BixPay card"**: one input, `bixPartnerLink`.
|
|
||||||
- Accepts a full partner link. Validation: host `bix.ibportal.io`, path `/auth/register`, `e=` present, `a=1`; strip `appId`
|
|
||||||
if pasted (the customer link) and tell the member "That's the card-customer link. Paste the Partner link from your BIX
|
|
||||||
portal profile instead." Max 300 chars. Saved on the IAP account; LinkSpin and CTB read it through the existing partner
|
|
||||||
API (the same way wallet and sponsor already flow), and LinkSpin's own Profile shows it read-only with "Edit on InstantAdPay".
|
|
||||||
- Member sees under the field: "Where to find it: BIX portal > Profile > Partner (the second box). Copy the link."
|
|
||||||
- Admin: the field shows on the member card; a count of members with a link set on the admin Overview.
|
|
||||||
|
|
||||||
## 2. The link each visitor gets (sponsor follows)
|
|
||||||
`bixLinkFor(member)` =
|
|
||||||
1. the member's own `bixPartnerLink`, else
|
|
||||||
2. walk the sponsor chain up to 10 levels, first sponsor with a link, else
|
|
||||||
3. the company link (site config `bixCompanyLink`, default Marty's partner link).
|
|
||||||
The card promo always shows WHOSE link is in play: "Your link" / "Your sponsor @name's link" / "Network link". That nudges
|
|
||||||
members to add their own, and sponsors to get their teams signed up.
|
|
||||||
For public pages (games' landing pages, /join/<user>), the referrer whose `?ref` is on the page resolves the same way.
|
|
||||||
|
|
||||||
## 3. Where members see it
|
|
||||||
### Wallet tab (primary)
|
|
||||||
Card: **"Spend your POL anywhere with a BixPay Visa card"**
|
|
||||||
"BixPay is a self-custody wallet with a Visa card. Send USDT or USDC to it on Polygon, load the card, and spend it wherever
|
|
||||||
Visa is accepted, including Apple Pay and Google Pay. Virtual cards from $9.99."
|
|
||||||
(No in-app swap: Marty confirmed 2026-10-29 he swaps POL to USDT/USDC on an exchange, then sends it to BixPay. The guide
|
|
||||||
gets a "turn your POL into USDT" step: any exchange or on-ramp, then send on Polygon. Add the swap line only once BIX
|
|
||||||
ships it; the founder said "in the next three months" on 10-17.)
|
|
||||||
Buttons: **Get your BixPay card** (partner link) · **How it works** (opens the guide).
|
|
||||||
Small line: "Using: your link / @sponsor's link / the network link. Add yours in Profile."
|
|
||||||
### Overview
|
|
||||||
A one-line announcement card the first week ("New: a Visa card for your POL"), dismissable like the other cards.
|
|
||||||
### Payout emails + game "link your wallet" nudges
|
|
||||||
One sentence after the amount: "Want to spend it? A BixPay Visa card turns POL into everyday purchases: <link>."
|
|
||||||
(Payout emails already carry the member's identity, so the link resolves per member.)
|
|
||||||
### Promo tools > new tab "BixPay"
|
|
||||||
- The member's link with Copy/Share.
|
|
||||||
- 3 posts (short, friendly, the "spend your crypto" angle), an email swipe, and 4 banners we make (no BIX logo until
|
|
||||||
Marty confirms brand rules; text-only "crypto Visa card" creative is safe).
|
|
||||||
- Every asset carries the member's resolved link.
|
|
||||||
### Guide page /bixpay (public, SEO)
|
|
||||||
What it is, the fee table, the funding path (POL -> USDT on Polygon -> card), the sign-up steps with screenshots, the
|
|
||||||
partner plan in plain words, and the compliance box. CTA carries the viewer's resolved link.
|
|
||||||
### Chatbot
|
|
||||||
Canned answers: what BixPay is, how to get the card, how to load it from POL, where to put my partner link, who gets the
|
|
||||||
credit. Facts in the system prompt with KNOWLEDGE_DATE.
|
|
||||||
|
|
||||||
## 4. Copy (Marty's voice, no em dashes)
|
|
||||||
- Wallet card title: "Spend your POL anywhere with a BixPay Visa card"
|
|
||||||
- Body: see above.
|
|
||||||
- Profile field label: "Your BixPay partner link"
|
|
||||||
- Profile help: "Join BixPay as a partner, then paste your Partner link here. Members and visitors who get a card through
|
|
||||||
your pages are credited to you in your BIX portal, up to ten levels deep."
|
|
||||||
- Email line: "Want to spend it? A BixPay Visa card turns POL into everyday purchases."
|
|
||||||
- Post 1 (short): "I spend my crypto with a Visa card now. BixPay keeps the keys with you, loads from USDT or USDC with no
|
|
||||||
load fee, and works with Apple Pay. Virtual card from $9.99: {L}"
|
|
||||||
- Fees line everywhere: "3% per purchase, no load fee. See BIX's terms for other charges."
|
|
||||||
- US line on the Wallet card and guide: "Available in 31 US states so far. Not in your state yet? You can still get the
|
|
||||||
wallet and build."
|
|
||||||
- Guide: a "Funding your card" section with three paths: (1) swap POL to USDT or USDC on any exchange, send on Polygon;
|
|
||||||
(2) Cash App (US): send crypto straight to the BixPay wallet; (3) the BIX in-app swap, once it ships.
|
|
||||||
- Post 2 (friendly): "Earning crypto is one thing. Spending it without jumping through hoops is another. BixPay fixed that
|
|
||||||
for me: a self-custody wallet and a Visa card in one app. Here's where I got mine: {L}"
|
|
||||||
- Post 3 (partner angle): "BixPay pays partners on every card and on card spending, ten levels deep. If you're building a
|
|
||||||
team anyway, this fits right in: {L}"
|
|
||||||
|
|
||||||
## 5. Compliance box (shown on the Wallet card's "How it works" and the guide)
|
|
||||||
"BixPay is a separate company. BIX issues the wallet and the card through its banking partners and sets its own fees,
|
|
||||||
limits, eligibility and terms. InstantAdPay is not the card issuer and earns a referral commission when you sign up
|
|
||||||
through a partner link. Card availability varies by country. Crypto assets can lose value."
|
|
||||||
|
|
||||||
## 6. Tracking
|
|
||||||
- Click counts per surface (wallet card, email, promo tools, guide) in the admin Traffic tab; per-member click counts on
|
|
||||||
the Promo tools BixPay tab. No sign-up credit on our side: the BIX portal shows each partner their directs and levels.
|
|
||||||
- If BIX ever offers a postback, add a "BixPay sign-ups" stat next to the click counts.
|
|
||||||
|
|
||||||
## 7. Rollout
|
|
||||||
1. IAP: field + resolver + Wallet card + guide + chatbot + promo tab (gated by site config `bixpayLive`).
|
|
||||||
2. LinkSpin: read-only field + Wallet/Credits card + promo entry, same resolver through the partner API.
|
|
||||||
3. CTB: same card and field in ctb-next, same identity.
|
|
||||||
4. Announcement (release note + member email + Telegram) after Marty's copy approval.
|
|
||||||
|
|
||||||
## Open questions for Marty / BIX upline
|
|
||||||
- Does a partner sign-up also get the card, or does the member need the app invitation too? (If both: show "Join as a
|
|
||||||
partner" and "Just want the card?" buttons, each with the member's own link type.)
|
|
||||||
- BIX name/logo use in our promo material.
|
|
||||||
- The pool's "50/50 rule".
|
|
||||||
- Any updated BIX materials.
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# BixPay opportunity call, 2026-10-17 (Zoom replay notes, made 2026-10-29)
|
|
||||||
|
|
||||||
"$iNVU - Live Opportunity Call", 47 min. Host "Bass"; main speaker David Emenite (22-year network marketer; his own company
|
|
||||||
is a trading opportunity, "tap to trade"); BIX founder "Nick" (28, Germany, says he owns "one of the largest Forex brokers
|
|
||||||
on the planet"; BIX started "a couple of months ago"); leaders Tracy Fischer, Lisa, Alan Jones, Gary. The $iNVU / trading
|
|
||||||
company parts are NOT BIX. Transcript: D:/tmp/bix-zoom/transcript.txt; slides D:/tmp/bix-zoom/frames.
|
|
||||||
|
|
||||||
## Plan mechanics (as presented; matches the BIX commission PDF)
|
|
||||||
- The only fee claimed: 3% per transaction. "No top-up fees, no hidden fees." (A third-party review lists 1% FX, $0.75
|
|
||||||
under $50, ATM $1 + 0.6%, so present 3% as THE fee and point to BIX's terms for the rest.)
|
|
||||||
- 50% of the 3% goes into the plan; paid over 10 levels: L1 15%, L2 10%, L3-L10 2.5% each; the other 5% = BIX pool,
|
|
||||||
1 share per 10,000 cards in your network. Worked example: $1,000 spent -> $30 fee -> $15 into the plan.
|
|
||||||
- Card sales pay too: slide "EARN A 50% REFERRAL BONUS ON EVERY CARD PURCHASE" (virtual $9.99, plastic $100, metal $250,
|
|
||||||
24K gold $25,000; shipping to 179 countries). The optional $9.99/month rewards membership is also commissionable.
|
|
||||||
- Upcoming banking (SEPA IBAN, ACH, SWIFT, fiat on/off-ramp): instant 0%, SEPA/ACH 1%, "up to 50% included in the
|
|
||||||
compensation plan". Nick: IBANs and the in-app SWAP "in the next three months", i.e. NOT live on 10-17.
|
|
||||||
- Shareholder: 500,000 cards in your network "on a 50/50 rule" = shareholder of BIX (Nick). Network contest: first to
|
|
||||||
10,000 cards gets a $100,000 bonus. The 50/50 rule is still not defined on the call.
|
|
||||||
- US: "open in 31 states" (review on 10-24: 29), rest "first part of 2027". Wallet works everywhere; you can build from a
|
|
||||||
closed state. KYC required for the card; problems go to BIX support.
|
|
||||||
- Funding tip (Tracy/Bass): Cash App can send crypto straight to the BixPay wallet (about 20 transactions a month, up to
|
|
||||||
$5,000 a week); they used Coinbase before. Card works in Apple Wallet.
|
|
||||||
- Usage data quoted: average customer spends $1,400-1,500 a month (industry figure); Bass's back office shows $20-80 a
|
|
||||||
week per user so far.
|
|
||||||
|
|
||||||
## Claims to treat as marketing, not facts
|
|
||||||
300,000 downloads / 300,000 cards active, $3M spent per day, live since August with global launch ~6 weeks before the
|
|
||||||
call, "5 million users in one year, 80 million in three, bigger than Revolut", "worth a couple hundred million, $100B in
|
|
||||||
three years", "$1 to $1 million per day" spend limit, $2.6T daily payments, founder "a billionaire".
|
|
||||||
|
|
||||||
## What it changes in our integration draft (BIXPAY-INTEGRATION.md)
|
|
||||||
1. Don't promise an in-app swap yet. Copy becomes "load it with USDT or USDC on Polygon" until Marty confirms Swap works
|
|
||||||
in his app; add a short "how to turn POL into USDT" step (any exchange or the BIX swap once live).
|
|
||||||
2. Fees line: "3% per purchase, no load fee; see BIX's terms for other charges."
|
|
||||||
3. Lead with the $9.99 virtual card: it pays the referrer on the sale and on every swipe after.
|
|
||||||
4. US members: add "available in 31 states; not in your state yet? You can still build and get the wallet."
|
|
||||||
5. Add the Cash App funding path to the guide for non-crypto members (US).
|
|
||||||
6. Events in the call (Houston 10-20, Tampa 10-21, Bangkok 11-28) are the leaders' own, not ours.
|
|
||||||
@@ -112,12 +112,12 @@ async function tick() {
|
|||||||
if (wd === 'Thu' && h >= 18 && next && !S.sent['thu:' + next] && await claimOnce('fri:thu:' + next)) {
|
if (wd === 'Thu' && h >= 18 && next && !S.sent['thu:' + next] && await claimOnce('fri:thu:' + next)) {
|
||||||
S.sent['thu:' + next] = now; save();
|
S.sent['thu:' + next] = now; save();
|
||||||
const subject = 'Tomorrow is Five Dollar Friday';
|
const subject = 'Tomorrow is Five Dollar Friday';
|
||||||
const text = 'Tomorrow is Five Dollar Friday on InstantAdPay.\n\nAny ad package of $5 or more bought on Friday (Central time) earns +' + c.pct + '% bonus credits, added the moment the purchase settles. Your $5 pays your sponsor line the second it clears, and your line’s $5s pay you. Friday is when we all push at once.\n\nGame Pass too: the same Friday purchase gives you a free 7-day Game Pass for every game in the network (once per Friday, added automatically), and the $5 pack lands as 600 credits that you keep for your ads.\n\nLine up your pack: https://instantadpay.com/my#buy\nWatch the wave on the live ledger: https://instantadpay.com/ledger';
|
const text = 'Tomorrow is Five Dollar Friday on InstantAdPay.\n\nAny ad package of $5 or more bought on Friday (Central time) earns +' + c.pct + '% bonus credits, added the moment the purchase settles. Your $5 pays your sponsor line the second it clears, and your line’s $5s pay you. Friday is when we all push at once.\n\nLine up your pack: https://instantadpay.com/my#buy\nWatch the wave on the live ledger: https://instantadpay.com/ledger';
|
||||||
await broadcast(subject, text);
|
await broadcast(subject, text);
|
||||||
}
|
}
|
||||||
if (wd === 'Fri' && h >= c.kickHour && day >= c.start && !S.sent['kick:' + day] && await claimOnce('fri:kick:' + day)) {
|
if (wd === 'Fri' && h >= c.kickHour && day >= c.start && !S.sent['kick:' + day] && await claimOnce('fri:kick:' + day)) {
|
||||||
S.sent['kick:' + day] = now; save();
|
S.sent['kick:' + day] = now; save();
|
||||||
X.telegram('\u{1F4B5} <b>It’s Five Dollar Friday.</b> Any ad package from $5 up earns <b>+' + c.pct + '% credits</b> today, and every pack pays its sponsor line in the same transaction. Game Pass day too: the same purchase gives you a free 7-day Game Pass for every game (once per Friday, automatic), and the $5 pack lands as 600 credits you keep for ads. Buy yours, then watch the ledger fill up: https://instantadpay.com/my#buy').catch(() => {});
|
X.telegram('\u{1F4B5} <b>It’s Five Dollar Friday.</b> Any ad package from $5 up earns <b>+' + c.pct + '% credits</b> today, and every pack pays its sponsor line in the same transaction. Buy yours, then watch the ledger fill up: https://instantadpay.com/my#buy').catch(() => {});
|
||||||
}
|
}
|
||||||
if (wd === 'Sat' && h < 3) {
|
if (wd === 'Sat' && h < 3) {
|
||||||
const fri = dayOf(now - 86400000);
|
const fri = dayOf(now - 86400000);
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ const fs = require('fs');
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const TZ = 'America/Chicago';
|
const TZ = 'America/Chicago';
|
||||||
const GAMES = ['polhunter', 'gemkingdom', 'spellwheel', 'spookydoors', 'polywarriors', 'clutterhunt', 'polybreak', 'driprunner', 'roadagent', 'shardsofvalor', 'polminer', 'warpwares', 'turkeydrop'];
|
const GAMES = ['polhunter', 'gemkingdom', 'spellwheel', 'spookydoors', 'polywarriors', 'clutterhunt', 'polybreak', 'driprunner', 'roadagent', 'shardsofvalor', 'polminer', 'turkeydrop'];
|
||||||
const NAMES = { polhunter: 'PolHunter', gemkingdom: 'Gem Kingdom', spellwheel: 'SpellWheel', spookydoors: 'Spooky Doors', polywarriors: 'PolyWarriors', clutterhunt: 'ClutterHunt', polybreak: 'PolyBreak', driprunner: 'Drip Runner', roadagent: 'Road Agent', shardsofvalor: 'Shards of Valor', polminer: 'POL Miner', warpwares: 'Warp & Wares', turkeydrop: 'Turkey Drop' };
|
const NAMES = { polhunter: 'PolHunter', gemkingdom: 'Gem Kingdom', spellwheel: 'SpellWheel', spookydoors: 'Spooky Doors', polywarriors: 'PolyWarriors', clutterhunt: 'ClutterHunt', polybreak: 'PolyBreak', driprunner: 'Drip Runner', roadagent: 'Road Agent', shardsofvalor: 'Shards of Valor', polminer: 'POL Miner', turkeydrop: 'Turkey Drop' };
|
||||||
const SHARES = [0.5, 0.3, 0.2]; // tournament prize split, places 1-3
|
const SHARES = [0.5, 0.3, 0.2]; // tournament prize split, places 1-3
|
||||||
const KEEP_DAYS = 90; // answered refs and day rows are kept this long (idempotency window)
|
const KEEP_DAYS = 90; // answered refs and day rows are kept this long (idempotency window)
|
||||||
// THE pass table (2026-10-22, Dallas's structure, Marty approved): lowest to highest, a higher tier includes everything below.
|
// THE pass table (2026-10-22, Dallas's structure, Marty approved): lowest to highest, a higher tier includes everything below.
|
||||||
@@ -56,7 +56,7 @@ const TIER_DEFS = [
|
|||||||
{ key: 'sovereign', name: 'Sovereign', set: 'Sovereign', price: 10000, days: 30,
|
{ key: 'sovereign', name: 'Sovereign', set: 'Sovereign', price: 10000, days: 30,
|
||||||
perks: ['Everything in Champion', 'Shards of Valor: every bonus island', 'Shards of Valor: the Necromancer hero', 'Shards of Valor: level cap 40'] },
|
perks: ['Everything in Champion', 'Shards of Valor: every bonus island', 'Shards of Valor: the Necromancer hero', 'Shards of Valor: level cap 40'] },
|
||||||
{ key: 'legend', name: 'Legend', set: 'Legend', price: 25000, days: 365,
|
{ key: 'legend', name: 'Legend', set: 'Legend', price: 25000, days: 365,
|
||||||
perks: ['Everything in Sovereign, for a full year', 'Shards of Valor: every bonus island', 'Shards of Valor: every hero, the Archer included, and every new hero as it ships', 'Shards of Valor: level cap 40'] }, // new heroes as a Legend perk: Marty 2026-10-30 (Dallas's $100/year idea folded in here)
|
perks: ['Everything in Sovereign, for a full year', 'Shards of Valor: every bonus island', 'Shards of Valor: every hero, the Archer included', 'Shards of Valor: level cap 40'] },
|
||||||
];
|
];
|
||||||
const TIERS = TIER_DEFS.map(d => d.key); // lowest to highest
|
const TIERS = TIER_DEFS.map(d => d.key); // lowest to highest
|
||||||
const TIER_NAMES = Object.fromEntries(TIER_DEFS.map(d => [d.key, d.name]));
|
const TIER_NAMES = Object.fromEntries(TIER_DEFS.map(d => [d.key, d.name]));
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ const fs = require('fs');
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
let R = null;
|
let R = null;
|
||||||
const NAMES = { spookydoors: 'Spooky Doors', gemkingdom: 'Gem Kingdom', clutterhunt: 'ClutterHunt', driprunner: 'Drip Runner', polywarriors: 'PolyWarriors', spellwheel: 'SpellWheel', roadagent: 'Road Agent', polhunter: 'PolHunter', passivedrip: 'PassiveDrip', polybreak: 'PolyBreak', polminer: 'POL Miner', warpwares: 'Warp & Wares', turkeydrop: 'Turkey Drop', shardsofvalor: 'Shards of Valor' };
|
const NAMES = { spookydoors: 'Spooky Doors', gemkingdom: 'Gem Kingdom', clutterhunt: 'ClutterHunt', driprunner: 'Drip Runner', polywarriors: 'PolyWarriors', spellwheel: 'SpellWheel', roadagent: 'Road Agent', polhunter: 'PolHunter', passivedrip: 'PassiveDrip', polybreak: 'PolyBreak', polminer: 'POL Miner', turkeydrop: 'Turkey Drop', shardsofvalor: 'Shards of Valor' };
|
||||||
const wallets = () => Object.fromEntries(String(process.env.GAME_WALLETS || '').split(',').map(x => x.trim()).filter(Boolean).map(x => { const [k, a] = x.split(':'); return [String(k).toLowerCase(), String(a || '').toLowerCase()]; }).filter(([k, a]) => k && /^0x[0-9a-f]{40}$/.test(a)));
|
const wallets = () => Object.fromEntries(String(process.env.GAME_WALLETS || '').split(',').map(x => x.trim()).filter(Boolean).map(x => { const [k, a] = x.split(':'); return [String(k).toLowerCase(), String(a || '').toLowerCase()]; }).filter(([k, a]) => k && /^0x[0-9a-f]{40}$/.test(a)));
|
||||||
const KEY = () => String(process.env.ETHERSCAN_KEY || '').trim();
|
const KEY = () => String(process.env.ETHERSCAN_KEY || '').trim();
|
||||||
// money never flows to these from a game wallet as a payout: Marty's fee wallets, the other game wallets
|
// money never flows to these from a game wallet as a payout: Marty's fee wallets, the other game wallets
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
// rollover (checked hourly), announced to Telegram, and credit prizes are granted automatically.
|
// rollover (checked hourly), announced to Telegram, and credit prizes are granted automatically.
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const themehead = require('./themehead'); // light/dark theme head script (2026-11-01)
|
|
||||||
let R = null; // { chain, accounts, ads, dataDir, siteConfig, notify(text), pushFeed(ev) }
|
let R = null; // { chain, accounts, ads, dataDir, siteConfig, notify(text), pushFeed(ev) }
|
||||||
const TZ = 'America/Chicago';
|
const TZ = 'America/Chicago';
|
||||||
let cache = { at: 0, rows: null };
|
let cache = { at: 0, rows: null };
|
||||||
@@ -132,9 +131,9 @@ async function renderPage() {
|
|||||||
+ (v.top.length ? v.top.map(r => '<tr><td>' + r.rank + '</td><td><b>' + esc(r.name) + '</b></td><td>' + r.sales + '</td><td>$' + r.usd.toLocaleString() + '</td><td>' + r.buyers + '</td><td>' + r.joins + '</td></tr>').join('') : '<tr><td colspan="6" class="muted">No sales yet in this period.</td></tr>') + '</table>';
|
+ (v.top.length ? v.top.map(r => '<tr><td>' + r.rank + '</td><td><b>' + esc(r.name) + '</b></td><td>' + r.sales + '</td><td>$' + r.usd.toLocaleString() + '</td><td>' + r.buyers + '</td><td>' + r.joins + '</td></tr>').join('') : '<tr><td colspan="6" class="muted">No sales yet in this period.</td></tr>') + '</table>';
|
||||||
const fmtD = ts => new Date(ts).toLocaleDateString('en-US', { timeZone: TZ, month: 'short', day: 'numeric' });
|
const fmtD = ts => new Date(ts).toLocaleDateString('en-US', { timeZone: TZ, month: 'short', day: 'numeric' });
|
||||||
const desc = 'Who is selling the most ad packages on InstantAdPay this week and this month. Weekly and monthly referral contest standings, read from the chain.';
|
const desc = 'Who is selling the most ad packages on InstantAdPay this week and this month. Weekly and monthly referral contest standings, read from the chain.';
|
||||||
let h = '<!doctype html><html lang="en"' + themehead.htmlAttr('dark') + '><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Leaderboard | InstantAdPay</title><meta name="description" content="' + esc(desc) + '"><link rel="canonical" href="https://instantadpay.com/leaderboard"><meta property="og:title" content="InstantAdPay leaderboard"><meta property="og:description" content="' + esc(desc) + '"><meta property="og:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png"><meta name="twitter:card" content="summary_large_image">'
|
let h = '<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Leaderboard | InstantAdPay</title><meta name="description" content="' + esc(desc) + '"><link rel="canonical" href="https://instantadpay.com/leaderboard"><meta property="og:title" content="InstantAdPay leaderboard"><meta property="og:description" content="' + esc(desc) + '"><meta property="og:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png"><meta name="twitter:card" content="summary_large_image">'
|
||||||
+ '<link rel="icon" type="image/png" href="/logo-icon.png"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">' + themehead.tag() + '<link rel="stylesheet" href="/assets/site.css?v=20261101th">'
|
+ '<link rel="icon" type="image/png" href="/logo-icon.png"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap"><link rel="stylesheet" href="/assets/site.css?v=20260913a">'
|
||||||
+ '<style>.lbw{max-width:860px}.lb{width:100%;border-collapse:collapse;margin:8px 0 26px;font-variant-numeric:tabular-nums}.lb th{text-align:left;color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:8px 10px;border-bottom:1px solid var(--line)}.lb td{padding:10px;border-bottom:1px solid var(--line)}.lb tr:first-child + tr td:first-child{color:var(--gold);font-weight:800}.prize{border-left:4px solid var(--mint);background:var(--mint-soft);padding:12px 16px;border-radius:0 12px 12px 0;margin:0 0 18px}.win{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:0 0 10px}</style></head><body><div class="wrap lbw">'
|
+ '<style>.lbw{max-width:860px}.lb{width:100%;border-collapse:collapse;margin:8px 0 26px;font-variant-numeric:tabular-nums}.lb th{text-align:left;color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:8px 10px;border-bottom:1px solid var(--line)}.lb td{padding:10px;border-bottom:1px solid var(--line)}.lb tr:first-child + tr td:first-child{color:#ffd15c;font-weight:800}.prize{border-left:4px solid var(--mint);background:rgba(67,232,195,.07);padding:12px 16px;border-radius:0 12px 12px 0;margin:0 0 18px}.win{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:0 0 10px}</style></head><body><div class="wrap lbw">'
|
||||||
+ '<section class="hero" style="padding:56px 0 8px"><p class="eyebrow">Referral contest</p><h1>Leaderboard: <em>who is selling</em>.</h1><p class="lead">Ranked by ad packages sold to other people (your own positions never count, and the company account is not a contestant). Read from the chain, updated live. Weeks run Monday to Sunday, Central time.</p></section>';
|
+ '<section class="hero" style="padding:56px 0 8px"><p class="eyebrow">Referral contest</p><h1>Leaderboard: <em>who is selling</em>.</h1><p class="lead">Ranked by ad packages sold to other people (your own positions never count, and the company account is not a contestant). Read from the chain, updated live. Weeks run Monday to Sunday, Central time.</p></section>';
|
||||||
h += '<h2 style="font-size:24px;margin:0 0 4px">' + week.label + ' <span class="muted small">' + fmtD(week.start) + ' to Sunday</span></h2>' + (week.prize ? '<div class="prize"><b>Weekly prizes:</b> ' + esc(week.prize) + '</div>' : '') + table(week);
|
h += '<h2 style="font-size:24px;margin:0 0 4px">' + week.label + ' <span class="muted small">' + fmtD(week.start) + ' to Sunday</span></h2>' + (week.prize ? '<div class="prize"><b>Weekly prizes:</b> ' + esc(week.prize) + '</div>' : '') + table(week);
|
||||||
h += '<h2 style="font-size:24px;margin:0 0 4px">' + month.label + '</h2>' + (month.prize ? '<div class="prize"><b>Monthly prizes:</b> ' + esc(month.prize) + '</div>' : '') + table(month);
|
h += '<h2 style="font-size:24px;margin:0 0 4px">' + month.label + '</h2>' + (month.prize ? '<div class="prize"><b>Monthly prizes:</b> ' + esc(month.prize) + '</div>' : '') + table(month);
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
// hides someone adopted on LinkSpin and the two-adoptions limit counts both sites.
|
// hides someone adopted on LinkSpin and the two-adoptions limit counts both sites.
|
||||||
'use strict';
|
'use strict';
|
||||||
const SF = require('./sponsorfollow');
|
const SF = require('./sponsorfollow');
|
||||||
const prohibited = require('./prohibited'); // 2026-10-30: policy applied on ingest
|
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
@@ -99,10 +98,8 @@ async function fill(a, r, sum) {
|
|||||||
}
|
}
|
||||||
if (r.profile && A.setProfile) { // same rules as LinkSpin's side: https only, known socials, fills only what is empty
|
if (r.profile && A.setProfile) { // same rules as LinkSpin's side: https only, known socials, fills only what is empty
|
||||||
const pf = r.profile, ok = v => /^https:[/][/][^ ]+$/i.test(v) && v.length <= 300;
|
const pf = r.profile, ok = v => /^https:[/][/][^ ]+$/i.test(v) && v.length <= 300;
|
||||||
// prohibited-content policy on ingest (2026-10-30): a bio with a link or a prohibited term, or a social carrying one, is dropped, not stored
|
const av = String(pf.avatarUrl || '').trim(); const bio = String(pf.bio || '').trim().slice(0, 600); let soc = null;
|
||||||
const cp = prohibited.cleanProfile(pf, 'InstantAdPay'); if (cp.dropped.length) console.log('lsinbound profile dropped', String(a.email).replace(/^(.).*(@.*)$/, '$1***$2'), cp.dropped.join(','));
|
if (pf.socials && typeof pf.socials === 'object') { const c = {}; for (const k of ['facebook', 'twitter', 'youtube', 'instagram', 'tiktok', 'telegram', 'linkedin', 'website', 'video']) { const v = String(pf.socials[k] || '').trim(); if (ok(v)) c[k] = v; } if (Object.keys(c).length) soc = JSON.stringify(c); }
|
||||||
const av = String(pf.avatarUrl || '').trim(); const bio = cp.bio || ''; let soc = null;
|
|
||||||
if (cp.socials) { const c = {}; for (const k of ['facebook', 'twitter', 'youtube', 'instagram', 'tiktok', 'telegram', 'linkedin', 'website', 'video']) { const v = String(cp.socials[k] || '').trim(); if (ok(v)) c[k] = v; } if (Object.keys(c).length) soc = JSON.stringify(c); }
|
|
||||||
const upd = [!a.avatarUrl && ok(av) ? av : undefined, !a.bio && bio ? bio : undefined, !a.socials && soc ? soc : undefined];
|
const upd = [!a.avatarUrl && ok(av) ? av : undefined, !a.bio && bio ? bio : undefined, !a.socials && soc ? soc : undefined];
|
||||||
if (upd.some(v => v !== undefined)) { const x = await A.setProfile(a.email, upd[0], upd[1], upd[2]); if (!(x && x.error)) { sum.filled++; wrote = true; } }
|
if (upd.some(v => v !== undefined)) { const x = await A.setProfile(a.email, upd[0], upd[1], upd[2]); if (!(x && x.error)) { sum.filled++; wrote = true; } }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
const SF = require('./sponsorfollow');
|
const SF = require('./sponsorfollow');
|
||||||
const prohibited = require('./prohibited'); // 2026-10-30: a profile that fails the policy never leaves this site
|
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
@@ -42,19 +41,12 @@ const carriesNew = r => !!(r.sponsorSetBy || r.tank);
|
|||||||
// absolute https URL so the other property can show it; socials as the parsed {platform: url} object.
|
// absolute https URL so the other property can show it; socials as the parsed {platform: url} object.
|
||||||
const PUBLIC = () => String(process.env.PUBLIC_URL || 'https://instantadpay.com').replace(/\/+$/, '');
|
const PUBLIC = () => String(process.env.PUBLIC_URL || 'https://instantadpay.com').replace(/\/+$/, '');
|
||||||
function profileOf(a) {
|
function profileOf(a) {
|
||||||
if (a.profileQuarantined) return null; // quarantined (link planted on a brand-new free account): stays here, unseen, until Marty decides
|
let socials = null; try { socials = a.socials ? (typeof a.socials === 'string' ? JSON.parse(a.socials) : a.socials) : null; } catch (e) { socials = null; }
|
||||||
const cp = prohibited.cleanProfile({ avatarUrl: a.avatarUrl, bio: a.bio, socials: a.socials }, 'InstantAdPay'); // policy applied on the way out too
|
|
||||||
const socials = cp.socials;
|
|
||||||
const av = String(a.avatarUrl || '').trim();
|
const av = String(a.avatarUrl || '').trim();
|
||||||
const avatarUrl = !av ? null : /^https:\/\//i.test(av) ? av : av.startsWith('/') ? PUBLIC() + av : null;
|
const avatarUrl = !av ? null : /^https:\/\//i.test(av) ? av : av.startsWith('/') ? PUBLIC() + av : null;
|
||||||
const bio = cp.bio;
|
const bio = String(a.bio || '').trim().slice(0, 600) || null;
|
||||||
// the BixPay partner link travels too (2026-10-29): LinkSpin shows it read-only ("Edit on InstantAdPay") and resolves the
|
if (!avatarUrl && !bio && !(socials && Object.keys(socials).length)) return null;
|
||||||
// same way; only set when there is one, so rows without it keep the hash they had
|
return { avatarUrl, bio, socials: socials && Object.keys(socials).length ? socials : null };
|
||||||
const bixPartnerLink = String(a.bixPartnerLink || '').trim() || null;
|
|
||||||
if (!avatarUrl && !bio && !bixPartnerLink && !(socials && Object.keys(socials).length)) return null;
|
|
||||||
const out = { avatarUrl, bio, socials: socials && Object.keys(socials).length ? socials : null };
|
|
||||||
if (bixPartnerLink) out.bixPartnerLink = bixPartnerLink;
|
|
||||||
return out;
|
|
||||||
}
|
}
|
||||||
const hashOf = r => crypto.createHash('sha1').update([r.username || '', r.wallet || '', r.sponsorEmail || '', r.joinedAt || '', r.memberId || '', r.profile ? JSON.stringify(r.profile) : ''].join('|') + SF.hashExtra(r)).digest('hex').slice(0, 16);
|
const hashOf = r => crypto.createHash('sha1').update([r.username || '', r.wallet || '', r.sponsorEmail || '', r.joinedAt || '', r.memberId || '', r.profile ? JSON.stringify(r.profile) : ''].join('|') + SF.hashExtra(r)).digest('hex').slice(0, 16);
|
||||||
|
|
||||||
@@ -112,7 +104,5 @@ async function release(email, sent) {
|
|||||||
if (pending.has(e) && !timer) { pending.delete(e); touch(e); } // a touch that queued while muted goes now (the hash check drops it when same)
|
if (pending.has(e) && !timer) { pending.delete(e); touch(e); } // a touch that queued while muted goes now (the hash check drops it when same)
|
||||||
return same;
|
return same;
|
||||||
}
|
}
|
||||||
// does LinkSpin know this email? (its row was pushed and recorded) - used by the link-farm admin list, never for a cascade
|
|
||||||
function knows(email) { const st = load(); return Object.prototype.hasOwnProperty.call(st.hashes || {}, String(email || '').toLowerCase()); }
|
|
||||||
function adminView() { const st = load(); return { on: on(), url: URL_(), tracked: Object.keys(st.hashes).length, pushed: st.pushed, last: st.last, errors: st.errors, pendingTouches: pending.size }; }
|
function adminView() { const st = load(); return { on: on(), url: URL_(), tracked: Object.keys(st.hashes).length, pushed: st.pushed, last: st.last, errors: st.errors, pendingTouches: pending.size }; }
|
||||||
module.exports = { init, touch, tick, adminView, on, mute, release, knows };
|
module.exports = { init, touch, tick, adminView, on, mute, release };
|
||||||
|
|||||||
@@ -1,108 +0,0 @@
|
|||||||
// Prohibited-content policy, one module shared by InstantAdPay and LinkSpin (keep the two copies identical).
|
|
||||||
// 2026-10-30: an SEO backlink farm opened 106 free accounts, each with a casino or local-business bio and a
|
|
||||||
// website link, and Google indexed that text under our domains through the public walls. Rules (Marty):
|
|
||||||
// - profile fields are not a free backlink: a bio may not carry a URL or a domain-looking token;
|
|
||||||
// - gambling, adult, pharma, weapons and link-selling terms are refused in every member-set text field
|
|
||||||
// (bio, social links, line banner, wall offers, campaign names, headlines, copy and target URLs);
|
|
||||||
// - case-insensitive and Unicode aware (NFC, lower-cased, letter/number boundaries, so "Essex" never hits "sex").
|
|
||||||
// Pure functions, no state, no dependencies.
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
// One entry per term or phrase; spaces match any run of whitespace. Grouped for the Terms page and the admin.
|
|
||||||
const LIST = {
|
|
||||||
gambling: ['casino', 'casinos', 'cassino', 'cassinos', 'slots', 'slot gacor', 'betting', 'sportsbook', 'sportsbooks', 'bookmaker', 'bookmakers', 'bookie',
|
|
||||||
'lottery', 'lotteries', 'lotto', 'poker', 'baccarat', 'roulette', 'blackjack', 'jackpot', 'togel', 'judi', 'judi online', 'apostas', 'apuestas',
|
|
||||||
'nổ hũ', 'cá cược', 'đổi thưởng', 'xổ số', 'kèo', 'nhà cái', 'soi kèo', 'game bài', 'tài xỉu', 'bắn cá'],
|
|
||||||
adult: ['porn', 'porno', 'pornography', 'sex', 'sexy', 'escort', 'escorts', 'erotic', 'erotica', 'xxx', 'onlyfans', 'nude', 'nudes', 'hentai', 'cam girl', 'cam girls', 'sex cam', 'hookup', 'hookups'],
|
|
||||||
pharma: ['viagra', 'cialis', 'levitra', 'pharmacy', 'pharmacies', 'prescription', 'prescriptions', 'steroids', 'anabolic', 'cannabis', 'marijuana', 'weed', 'cbd', 'kratom', 'opioid', 'opioids',
|
|
||||||
'xanax', 'adderall', 'tramadol', 'oxycodone', 'ketamine', 'cocaine', 'mdma', 'psilocybin', 'vape', 'vaping'],
|
|
||||||
weapons: ['firearm', 'firearms', 'guns', 'gun shop', 'gun store', 'ammunition', 'ammo', 'rifle', 'rifles', 'pistol', 'pistols', 'handgun', 'handguns', 'silencer', 'suppressor', 'explosives'],
|
|
||||||
linkfarm: ['backlink', 'backlinks', 'seo service', 'seo services', 'seo agency', 'link building', 'link-building', 'guest post', 'guest posts', 'guest posting', 'pbn', 'buy links', 'sell links', 'dofollow']
|
|
||||||
};
|
|
||||||
const ALL = Object.values(LIST).reduce((a, b) => a.concat(b), []);
|
|
||||||
|
|
||||||
const esc = s => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
||||||
const ZW = /[-]/g; // zero-width joiners hide nothing
|
|
||||||
const strip = s => String(s == null ? '' : s).normalize('NFC').replace(ZW, '');
|
|
||||||
const norm = s => strip(s).toLowerCase();
|
|
||||||
// Boundary = anything that is not a letter or a number (works for every script, unlike \b).
|
|
||||||
const TERM_RE = new RegExp('(?<![\\p{L}\\p{N}])(?:' + ALL.map(t => esc(norm(t)).replace(/\s+/g, '\\s+')).join('|') + ')(?![\\p{L}\\p{N}])', 'u');
|
|
||||||
|
|
||||||
// Common gTLDs plus the ccTLDs link farms actually use. A short two-letter list keeps "Mr.Li" style text out of it.
|
|
||||||
const TLDS = 'com|net|org|info|biz|io|co|app|xyz|me|tv|us|uk|vn|de|fr|ru|in|id|br|es|it|nl|ca|au|eu|ch|at|be|pt|pl|cz|se|no|fi|dk|ie|nz|za|ng|ke|eg|tr|ua|il|ae|sa|pk|bd|lk|np|kh|la|mm|my|sg|ph|th|jp|kr|cn|tw|hk|mx|ar|cl|pe|to|ly|cc|gg|ai|pw|ws|tk|ml|ga|cf|gq|su|'
|
|
||||||
+ 'site|online|store|shop|club|top|pro|live|link|page|dev|fun|vip|one|tech|space|website|cloud|digital|agency|company|email|news|blog|life|world|today|zone|guru|ninja|game|games|team|network|money|cash|gold|bid|trade|win|bet|casino|poker|mobi|name|tel|travel|jobs|pics|photo|video|press|media|art|design|studio|capital|finance|exchange|solutions|services|systems|tools|works|center|group|global|international|institute|academy|school|education|university|church|community|social|chat|dating|love|wiki|review|reviews|directory|guide|help|support|rocks|ventures|holdings|partners|limited|ltd|llc|inc|asia|africa|london|nyc|tokyo|berlin|paris|best|buzz|click|host|hosting|lol|monster|wtf|ooo|icu|sbs|cfd|cyou|rest|bar|cam|surf|run|fit|health|care|dog|cat|pet|pets|wine|beer|vodka|bio|eco|green|energy|solar|car|cars|auto|bike|tires|taxi|limo|rent|rentals|house|homes|realty|estate|land|city|town|place|map|earth|fund|loans|credit|insure|legal|law|lawyer|attorney|tax|accountant|consulting|marketing|promo|sale|deals|discount|coupons|gift|gifts|toys|baby|kids|mom|family|wedding|party|events|tickets|show|theater|film|movie|music|band|dance|yoga|golf|football|soccer|hockey|tennis|racing';
|
|
||||||
// Schemes and www. are matched in any case; a bare domain token (or an email address) only with its TLD in lower case, so a
|
|
||||||
// missed space after a period ("ads.One day") is not mistaken for a link while real spam domains (typed lower case) are caught.
|
|
||||||
const SCHEME_RE = /(?:https?:\/\/|ftp:\/\/|(?<![\p{L}\p{N}])www\.)/iu;
|
|
||||||
const DOMAIN_RE = new RegExp('(?<![\\p{L}\\p{N}])[\\p{L}\\p{N}-]{1,63}(?:\\.[\\p{L}\\p{N}-]{1,63})*\\.(?:' + TLDS + ')(?![\\p{L}\\p{N}])', 'u');
|
|
||||||
|
|
||||||
// The matching prohibited term, or null.
|
|
||||||
function match(text) { const m = TERM_RE.exec(norm(text)); return m ? m[0].replace(/\s+/g, ' ') : null; }
|
|
||||||
// True when the text carries a URL or a domain-looking token (http(s)://, www., word.tld).
|
|
||||||
function hasUrl(text) { const t = strip(text); return SCHEME_RE.test(t) || DOMAIN_RE.test(t); }
|
|
||||||
|
|
||||||
const BIO_LINK_MSG = 'Links go in the social fields, not the bio.';
|
|
||||||
const blockedMsg = site => 'That content is not allowed on ' + (site || 'InstantAdPay/LinkSpin') + ' profiles (see Terms).';
|
|
||||||
const blockedAdMsg = site => 'That content is not allowed on ' + (site || 'InstantAdPay/LinkSpin') + ' (see Terms, Prohibited content).';
|
|
||||||
|
|
||||||
// Bio rule: no links, no prohibited terms. Returns { ok: true } or { error, reason }.
|
|
||||||
function checkBio(bio, site) {
|
|
||||||
const t = String(bio || '');
|
|
||||||
if (!t.trim()) return { ok: true };
|
|
||||||
if (hasUrl(t)) return { error: BIO_LINK_MSG, reason: 'url' };
|
|
||||||
const term = match(t);
|
|
||||||
if (term) return { error: blockedMsg(site), reason: 'term:' + term };
|
|
||||||
return { ok: true };
|
|
||||||
}
|
|
||||||
// Any other member-set text (social URL, banner target, campaign name, headline, copy): prohibited terms only.
|
|
||||||
// Pass profile: true for profile fields (the message names profiles), else the ad message is used.
|
|
||||||
function checkText(text, site, opts) {
|
|
||||||
const term = match(text);
|
|
||||||
if (!term) return { ok: true };
|
|
||||||
return { error: (opts && opts.profile) ? blockedMsg(site) : blockedAdMsg(site), reason: 'term:' + term };
|
|
||||||
}
|
|
||||||
// Several fields at once: { name: value, ... } -> first failure, with the field named in `field`.
|
|
||||||
function checkFields(fields, site, opts) {
|
|
||||||
for (const k of Object.keys(fields || {})) {
|
|
||||||
const v = fields[k]; if (v == null || v === '') continue;
|
|
||||||
const r = checkText(Array.isArray(v) ? v.join(' ') : String(v), site, opts);
|
|
||||||
if (r.error) return Object.assign({ field: k }, r);
|
|
||||||
}
|
|
||||||
return { ok: true };
|
|
||||||
}
|
|
||||||
// Profile ingest (registry sync from the other property, or a saved profile replayed): the parts of a profile that may be
|
|
||||||
// stored. A bio with a link or a prohibited term is dropped (null); a social URL carrying a prohibited term is dropped.
|
|
||||||
function cleanProfile(pf, site) {
|
|
||||||
const out = { avatarUrl: null, bio: null, socials: null, dropped: [] };
|
|
||||||
if (!pf || typeof pf !== 'object') return out;
|
|
||||||
const av = String(pf.avatarUrl || '').trim(); if (/^https:\/\/[^\s]+$/i.test(av) && av.length <= 300) out.avatarUrl = av;
|
|
||||||
const bio = String(pf.bio || '').trim().slice(0, 600);
|
|
||||||
if (bio) { const r = checkBio(bio, site); if (r.ok) out.bio = bio; else out.dropped.push('bio:' + r.reason); }
|
|
||||||
const src = pf.socials && typeof pf.socials === 'object' ? pf.socials : (typeof pf.socials === 'string' ? safeJson(pf.socials) : null);
|
|
||||||
if (src) {
|
|
||||||
const c = {};
|
|
||||||
for (const k of Object.keys(src)) {
|
|
||||||
const v = String(src[k] || '').trim(); if (!v) continue;
|
|
||||||
const r = checkText(v, site, { profile: true }); if (r.ok) c[k] = v; else out.dropped.push('socials.' + k + ':' + r.reason);
|
|
||||||
}
|
|
||||||
if (Object.keys(c).length) out.socials = c;
|
|
||||||
}
|
|
||||||
return out;
|
|
||||||
}
|
|
||||||
function safeJson(s) { try { const o = JSON.parse(s); return o && typeof o === 'object' ? o : null; } catch (e) { return null; } }
|
|
||||||
// Terms-page wording, one line per group (kept here so both sites say the same thing).
|
|
||||||
const POLICY = [
|
|
||||||
'gambling, casinos, betting, lotteries and sweepstakes',
|
|
||||||
'adult or sexual content',
|
|
||||||
'drugs and prescription pharmaceuticals',
|
|
||||||
'weapons',
|
|
||||||
'hate or harassment',
|
|
||||||
'malware, phishing and counterfeit goods',
|
|
||||||
'misleading financial promises',
|
|
||||||
'accounts created to place links in profile fields (link farming), which are removed without notice together with their profile text'
|
|
||||||
];
|
|
||||||
// One log line per refusal, with the email masked (never the text itself at full length).
|
|
||||||
function logRefusal(where, email, r) {
|
|
||||||
try { console.log('prohibited-content refused', where, String(email || '-').replace(/^(.).*(@.*)$/, '$1***$2'), r && r.field ? 'field=' + r.field : '', r && r.reason ? r.reason : ''); } catch (e) {}
|
|
||||||
}
|
|
||||||
module.exports = { LIST, ALL, POLICY, match, hasUrl, checkBio, checkText, checkFields, cleanProfile, logRefusal, BIO_LINK_MSG, blockedMsg, blockedAdMsg };
|
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<title>Admin | InstantAdPay</title>
|
<title>Admin | InstantAdPay</title>
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
<style>
|
<style>
|
||||||
.adm-table{width:100%;table-layout:auto}
|
.adm-table{width:100%;table-layout:auto}
|
||||||
.adm-table th{cursor:pointer;user-select:none;white-space:nowrap}
|
.adm-table th{cursor:pointer;user-select:none;white-space:nowrap}
|
||||||
@@ -25,10 +24,10 @@
|
|||||||
.adm-table .act{white-space:nowrap}
|
.adm-table .act{white-space:nowrap}
|
||||||
.adm-table .act button{margin-right:6px}
|
.adm-table .act button{margin-right:6px}
|
||||||
.st{display:inline-block;border-radius:999px;padding:2px 9px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
|
.st{display:inline-block;border-radius:999px;padding:2px 9px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
|
||||||
.st.active{background:var(--mint-soft-2);color:var(--mint)}
|
.st.active{background:rgba(67,232,195,.14);color:var(--mint)}
|
||||||
.st.paused{background:var(--amber-soft);color:var(--amber)}
|
.st.paused{background:rgba(255,178,56,.14);color:var(--amber)}
|
||||||
.st.out{background:var(--muted-soft);color:var(--muted)}
|
.st.out{background:rgba(255,255,255,.08);color:var(--muted)}
|
||||||
.house-tag{display:inline-block;border:1px solid var(--violet-line);color:var(--violet);border-radius:6px;padding:1px 6px;font-size:10.5px;font-weight:700;margin-left:6px;vertical-align:middle}
|
.house-tag{display:inline-block;border:1px solid rgba(157,125,255,.5);color:var(--violet);border-radius:6px;padding:1px 6px;font-size:10.5px;font-weight:700;margin-left:6px;vertical-align:middle}
|
||||||
.adm-form p{margin:0 0 10px}
|
.adm-form p{margin:0 0 10px}
|
||||||
.adm-form label.small{display:block;margin-bottom:4px}
|
.adm-form label.small{display:block;margin-bottom:4px}
|
||||||
.trunc{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:bottom}
|
.trunc{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:bottom}
|
||||||
@@ -36,7 +35,7 @@
|
|||||||
.ph-chips{display:inline-flex;gap:6px;flex-wrap:wrap;margin-left:6px;vertical-align:middle}
|
.ph-chips{display:inline-flex;gap:6px;flex-wrap:wrap;margin-left:6px;vertical-align:middle}
|
||||||
.ph-chips .chip-t{padding:2px 10px;font-size:11.5px;font-family:var(--mono);text-transform:none;letter-spacing:0;cursor:pointer;background:transparent}
|
.ph-chips .chip-t{padding:2px 10px;font-size:11.5px;font-family:var(--mono);text-transform:none;letter-spacing:0;cursor:pointer;background:transparent}
|
||||||
.drip-steps{display:grid;gap:12px}
|
.drip-steps{display:grid;gap:12px}
|
||||||
.drip-step{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:var(--ground-soft)}
|
.drip-step{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:rgba(4,8,7,.4)}
|
||||||
.drip-step .ds-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
|
.drip-step .ds-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
|
||||||
.drip-step .ds-n{font-family:var(--mono);font-size:12px;color:var(--mint);letter-spacing:.08em}
|
.drip-step .ds-n{font-family:var(--mono);font-size:12px;color:var(--mint);letter-spacing:.08em}
|
||||||
.drip-step .ds-when{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
|
.drip-step .ds-when{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
|
||||||
@@ -132,7 +131,6 @@
|
|||||||
<button id="boBurger" aria-label="Menu" type="button">☰</button>
|
<button id="boBurger" aria-label="Menu" type="button">☰</button>
|
||||||
<h2 id="boTitle" style="margin:0">Overview</h2>
|
<h2 id="boTitle" style="margin:0">Overview</h2>
|
||||||
<span class="small muted" id="chainLine"></span>
|
<span class="small muted" id="chainLine"></span>
|
||||||
<span class="seg theme-seg" id="boTheme" role="group" aria-label="Theme"><button type="button" data-theme="light" title="Light theme">Light</button><button type="button" data-theme="dark" title="Dark theme">Dark</button><button type="button" data-theme="auto" title="Follow the device">Auto</button></span>
|
|
||||||
</header>
|
</header>
|
||||||
<main class="bo-content">
|
<main class="bo-content">
|
||||||
|
|
||||||
@@ -143,7 +141,6 @@
|
|||||||
<div class="statx c-violet"><div><div class="nv" id="ovActive">0</div><div class="lb">Active campaigns</div><span class="chip flat" id="ovCampSub"></span></div></div>
|
<div class="statx c-violet"><div><div class="nv" id="ovActive">0</div><div class="lb">Active campaigns</div><span class="chip flat" id="ovCampSub"></span></div></div>
|
||||||
<div class="statx c-amber"><div><div class="nv" id="ovReports">0</div><div class="lb">Open reports</div><span class="chip flat" id="ovBurnSub"></span></div></div>
|
<div class="statx c-amber"><div><div class="nv" id="ovReports">0</div><div class="lb">Open reports</div><span class="chip flat" id="ovBurnSub"></span></div></div>
|
||||||
<div class="statx"><div><div class="nv" id="ovDrips">0</div><div class="lb">Follow-ups in flight</div><span class="chip flat" id="ovDripSub"></span></div></div>
|
<div class="statx"><div><div class="nv" id="ovDrips">0</div><div class="lb">Follow-ups in flight</div><span class="chip flat" id="ovDripSub"></span></div></div>
|
||||||
<div class="statx c-cyan"><div><div class="nv" id="ovBix">0</div><div class="lb">BixPay partner links</div><span class="chip flat" id="ovBixSub"></span></div></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="grid c2" style="margin-top:16px">
|
<div class="grid c2" style="margin-top:16px">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
@@ -295,12 +292,6 @@
|
|||||||
<p class="small muted">Sponsor = the token the account joined under (username, share code, or member #). Editing it re-points free referrals and future purchases. On-chain sponsorship is permanent once activated.</p>
|
<p class="small muted">Sponsor = the token the account joined under (username, share code, or member #). Editing it re-points free referrals and future purchases. On-chain sponsorship is permanent once activated.</p>
|
||||||
<div class="tablewrap"><table class="adm-table" id="memTable"></table></div>
|
<div class="tablewrap"><table class="adm-table" id="memTable"></table></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card" id="spamCard">
|
|
||||||
<div class="card-head"><h3>Link-farm list</h3><span class="sub" id="spamSub">daily scan at 06:30 Central</span></div>
|
|
||||||
<p class="small muted">Free accounts (no package, no wallet) that carry a link plus a farm signal: a prohibited term in the profile, a sign-in that ended within 15 minutes of the sign-up, or no sponsor. Nothing is deleted on its own. Delete uses the normal member delete (on-chain members are refused) and never touches LinkSpin; the "also on LinkSpin" column is there so you can decide. Allow keeps an email off this list for good.</p>
|
|
||||||
<p style="display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 10px"><button class="btn small" id="spamRun" type="button">Scan now</button><button class="btn small sec" id="spamDelete" type="button">Delete selected</button><span class="small muted" id="spamAllow"></span></p>
|
|
||||||
<div class="tablewrap"><table class="adm-table" id="spamTable"></table></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pane" id="pane-support" hidden>
|
<div class="pane" id="pane-support" hidden>
|
||||||
@@ -366,9 +357,6 @@
|
|||||||
<div class="pane" id="pane-traffic" hidden>
|
<div class="pane" id="pane-traffic" hidden>
|
||||||
<div class="card"><div class="card-head"><h3>Games to members</h3><span class="sub" id="stSub">the $5 welcome offer after a game win</span></div><div class="tablewrap"><table class="adm-table" id="trfStarter"></table></div></div>
|
<div class="card"><div class="card-head"><h3>Games to members</h3><span class="sub" id="stSub">the $5 welcome offer after a game win</span></div><div class="tablewrap"><table class="adm-table" id="trfStarter"></table></div></div>
|
||||||
<div class="card"><div class="card-head"><h3>Login-ad showings</h3><span class="sub" id="lsSub">sign-in interstitials per day, dashboard vs games</span></div><div class="tablewrap"><table class="adm-table" id="trfLogin"></table></div></div>
|
<div class="card"><div class="card-head"><h3>Login-ad showings</h3><span class="sub" id="lsSub">sign-in interstitials per day, dashboard vs games</span></div><div class="tablewrap"><table class="adm-table" id="trfLogin"></table></div></div>
|
||||||
<div class="card" id="trfBixCard"><div class="card-head"><h3>BixPay clicks</h3><span class="sub" id="bixSub">taps on "Get your BixPay card" by surface (the range picked below)</span></div>
|
|
||||||
<p class="muted small" style="margin:0 0 10px">Every BixPay button and banner goes through /go/bixpay, which counts the tap and opens the member's resolved partner link (own, else a sponsor's, else the network link). Sign-ups are not counted here: the BIX portal shows each partner their directs and levels.</p>
|
|
||||||
<div class="grid c2"><div class="tablewrap"><table class="adm-table" id="trfBix"></table></div><div class="tablewrap"><table class="adm-table" id="trfBixMembers"></table></div></div></div>
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-head"><h3>Where visitors come from</h3><span class="sub" id="trfSub"></span></div>
|
<div class="card-head"><h3>Where visitors come from</h3><span class="sub" id="trfSub"></span></div>
|
||||||
<div class="chips" id="trfRange" style="margin:0 0 10px"><button type="button" class="chip-t" data-days="7">7 days</button><button type="button" class="chip-t on" data-days="30">30 days</button><button type="button" class="chip-t" data-days="90">90 days</button><button type="button" class="chip-t" data-days="365">Year</button></div>
|
<div class="chips" id="trfRange" style="margin:0 0 10px"><button type="button" class="chip-t" data-days="7">7 days</button><button type="button" class="chip-t on" data-days="30">30 days</button><button type="button" class="chip-t" data-days="90">90 days</button><button type="button" class="chip-t" data-days="365">Year</button></div>
|
||||||
@@ -492,7 +480,7 @@
|
|||||||
<label class="small">Closing (after the notes, e.g. your sign-off)<textarea id="updClosing" rows="2" style="width:100%" placeholder="See you Monday. Marty"></textarea></label>
|
<label class="small">Closing (after the notes, e.g. your sign-off)<textarea id="updClosing" rows="2" style="width:100%" placeholder="See you Monday. Marty"></textarea></label>
|
||||||
<label class="small">Audience<select id="updAudience"></select></label>
|
<label class="small">Audience<select id="updAudience"></select></label>
|
||||||
<div style="display:flex;gap:8px;flex-wrap:wrap"><button type="button" class="btn small sec" id="updSaveDraft">Save draft</button><button type="button" class="btn small sec" id="updPreview">Preview</button><button type="button" class="btn small sec" id="updTest">Send test to me</button><button type="button" class="btn small" id="updSend">Send</button></div>
|
<div style="display:flex;gap:8px;flex-wrap:wrap"><button type="button" class="btn small sec" id="updSaveDraft">Save draft</button><button type="button" class="btn small sec" id="updPreview">Preview</button><button type="button" class="btn small sec" id="updTest">Send test to me</button><button type="button" class="btn small" id="updSend">Send</button></div>
|
||||||
<pre id="updPre" class="small" hidden style="white-space:pre-wrap;background:var(--ink-faint);border:1px solid var(--line);border-radius:10px;padding:10px;max-height:320px;overflow:auto"></pre>
|
<pre id="updPre" class="small" hidden style="white-space:pre-wrap;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:10px;padding:10px;max-height:320px;overflow:auto"></pre>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="small muted" style="margin:0 0 6px">Release notes to include (newest first; notes since your last send are pre-ticked)</div>
|
<div class="small muted" style="margin:0 0 6px">Release notes to include (newest first; notes since your last send are pre-ticked)</div>
|
||||||
@@ -651,8 +639,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/admin-kb.js?v=20261020kb"></script>
|
<script src="/assets/admin-kb.js?v=20261020kb"></script>
|
||||||
<script src="/assets/admin.js?v=20261101th"></script><script src="/assets/admin-sponsorcheck.js?v=20261022sc"></script><script src="/assets/admin-kits.js?v=20261101th"></script>
|
<script src="/assets/admin.js?v=20261027nr"></script><script src="/assets/admin-sponsorcheck.js?v=20261022sc"></script><script src="/assets/admin-kits.js?v=20261024kit"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
$('kitPlaceholder').addEventListener('click', async () => { try { const r = await post('/api/admin/kits/placeholder', { month: $('kitMonth').value.trim() }); say('placeholder art: ' + r.sizes.join(', ')); load(); } catch (e) { say(e.message); } });
|
$('kitPlaceholder').addEventListener('click', async () => { try { const r = await post('/api/admin/kits/placeholder', { month: $('kitMonth').value.trim() }); say('placeholder art: ' + r.sizes.join(', ')); load(); } catch (e) { say(e.message); } });
|
||||||
$('kitPreview').addEventListener('click', () => {
|
$('kitPreview').addEventListener('click', () => {
|
||||||
const q = 'month=' + encodeURIComponent($('kitMonth').value.trim()) + '&size=' + encodeURIComponent($('kitPrevSize').value) + '&username=' + encodeURIComponent($('kitPrevName').value || 'yourname') + ($('kitPrevGif').checked ? '&variant=gif' : '') + '&t=' + Date.now();
|
const q = 'month=' + encodeURIComponent($('kitMonth').value.trim()) + '&size=' + encodeURIComponent($('kitPrevSize').value) + '&username=' + encodeURIComponent($('kitPrevName').value || 'yourname') + ($('kitPrevGif').checked ? '&variant=gif' : '') + '&t=' + Date.now();
|
||||||
$('kitPrevBox').innerHTML = '<img alt="preview" style="max-width:100%;border:1px solid var(--line-strong)" src="/api/admin/kits/preview?' + q + '">';
|
$('kitPrevBox').innerHTML = '<img alt="preview" style="max-width:100%;border:1px solid #ccd" src="/api/admin/kits/preview?' + q + '">';
|
||||||
});
|
});
|
||||||
load();
|
load();
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -91,7 +91,6 @@
|
|||||||
const f = o.followups || {};
|
const f = o.followups || {};
|
||||||
$('ovDrips').textContent = f.active || 0;
|
$('ovDrips').textContent = f.active || 0;
|
||||||
$('ovDripSub').textContent = (f.done || 0) + ' finished · ' + (f.unsubscribed || 0) + ' unsubscribed';
|
$('ovDripSub').textContent = (f.done || 0) + ' finished · ' + (f.unsubscribed || 0) + ' unsubscribed';
|
||||||
if ($('ovBix')) { $('ovBix').textContent = Number(o.bixLinks || 0).toLocaleString(); $('ovBixSub').textContent = o.bixpayLive ? 'members with their own link · live' : 'members with their own link · bixpayLive is off'; } // BixPay (2026-10-29)
|
|
||||||
const bt = Object.entries(o.byType || {}).sort((a, b) => b[1] - a[1]);
|
const bt = Object.entries(o.byType || {}).sort((a, b) => b[1] - a[1]);
|
||||||
$('ovByType').innerHTML = bt.length ? bt.map(([t, n]) => '<div style="display:flex;justify-content:space-between;padding:4px 0;border-bottom:1px solid var(--line)"><span>' + esc(t) + '</span><b>' + n + '</b></div>').join('') : 'No campaigns yet.';
|
$('ovByType').innerHTML = bt.length ? bt.map(([t, n]) => '<div style="display:flex;justify-content:space-between;padding:4px 0;border-bottom:1px solid var(--line)"><span>' + esc(t) + '</span><b>' + n + '</b></div>').join('') : 'No campaigns yet.';
|
||||||
const ch = o.chain || {};
|
const ch = o.chain || {};
|
||||||
@@ -299,14 +298,13 @@
|
|||||||
$('tankAdmSub').textContent = r.waiting.length + ' waiting' + (nReady ? ' (' + nReady + ' ready to activate)' : '') + ' · cap ' + r.cap + ' open per adopter · ' + r.ttlDays + '-day window · ready members held ' + (r.holdHours || 24) + ' h, then auto-assigned in rotation';
|
$('tankAdmSub').textContent = r.waiting.length + ' waiting' + (nReady ? ' (' + nReady + ' ready to activate)' : '') + ' · cap ' + r.cap + ' open per adopter · ' + r.ttlDays + '-day window · ready members held ' + (r.holdHours || 24) + ' h, then auto-assigned in rotation';
|
||||||
// ready = wallet linked: activation is held (never the company) until someone adopts them or the 24-hour safety net assigns them (2026-10-27)
|
// ready = wallet linked: activation is held (never the company) until someone adopts them or the 24-hour safety net assigns them (2026-10-27)
|
||||||
const left = w => { const ms = (w.holdUntil || 0) - Date.now(); if (ms <= 0) return 'assigning now'; const m = Math.round(ms / 60000); return (m >= 60 ? Math.floor(m / 60) + ' h ' + (m % 60) + ' min' : m + ' min') + ' left'; };
|
const left = w => { const ms = (w.holdUntil || 0) - Date.now(); if (ms <= 0) return 'assigning now'; const m = Math.round(ms / 60000); return (m >= 60 ? Math.floor(m / 60) + ' h ' + (m % 60) + ' min' : m + ' min') + ' left'; };
|
||||||
const rb = w => w.ready ? ' <span class="badge" style="background:var(--ok-soft);border-color:var(--ok);color:var(--ok)">Ready to activate · ' + left(w) + '</span>' : '';
|
const rb = w => w.ready ? ' <span class="badge" style="background:rgba(34,197,94,.15);border-color:#22c55e;color:#22c55e">Ready to activate · ' + left(w) + '</span>' : '';
|
||||||
$('tankWait').innerHTML = '<tr><th>Waiting</th><th>Email</th><th>Joined</th><th>Last sign-in</th></tr>' + (r.waiting.length ? r.waiting.map(w => '<tr><td>' + esc(w.name) + rb(w) + '</td><td>' + esc(w.email) + '</td><td class="when">' + when(w.joined) + '</td><td class="when">' + (w.lastSeen ? when(w.lastSeen) : '<span class="muted">never</span>') + '</td></tr>').join('') : '<tr><td colspan="4" class="muted">empty</td></tr>')
|
$('tankWait').innerHTML = '<tr><th>Waiting</th><th>Email</th><th>Joined</th><th>Last sign-in</th></tr>' + (r.waiting.length ? r.waiting.map(w => '<tr><td>' + esc(w.name) + rb(w) + '</td><td>' + esc(w.email) + '</td><td class="when">' + when(w.joined) + '</td><td class="when">' + (w.lastSeen ? when(w.lastSeen) : '<span class="muted">never</span>') + '</td></tr>').join('') : '<tr><td colspan="4" class="muted">empty</td></tr>')
|
||||||
+ ((r.aligned || []).length ? '<tr><th colspan="4">Aligned to their network sponsor (LinkSpin) instead of the tank</th></tr>' + r.aligned.slice(0, 15).map(x => '<tr><td>' + esc(x.email) + '</td><td>' + esc(x.toName || x.to) + '</td><td class="when">' + when(x.at) + '</td><td class="muted">' + esc(x.via || '') + '</td></tr>').join('') : '');
|
+ ((r.aligned || []).length ? '<tr><th colspan="4">Aligned to their network sponsor (LinkSpin) instead of the tank</th></tr>' + r.aligned.slice(0, 15).map(x => '<tr><td>' + esc(x.email) + '</td><td>' + esc(x.toName || x.to) + '</td><td class="when">' + when(x.at) + '</td><td class="muted">' + esc(x.via || '') + '</td></tr>').join('') : '');
|
||||||
$('tankAdopt').innerHTML = '<tr><th>Member</th><th>Adopted by</th><th>When</th><th>Window ends</th><th>Status</th></tr>' + (r.adoptions.length ? r.adoptions.map(a => '<tr><td>' + esc(a.adopteeName) + '</td><td>' + esc(a.adopterName) + '</td><td class="when">' + when(a.ts) + '</td><td class="when">' + (a.status === 'released' ? '' : when(a.expires)) + '</td><td>' + esc(a.status) + '</td></tr>').join('') : '<tr><td colspan="5" class="muted">none yet</td></tr>');
|
$('tankAdopt').innerHTML = '<tr><th>Member</th><th>Adopted by</th><th>When</th><th>Window ends</th><th>Status</th></tr>' + (r.adoptions.length ? r.adoptions.map(a => '<tr><td>' + esc(a.adopteeName) + '</td><td>' + esc(a.adopterName) + '</td><td class="when">' + when(a.ts) + '</td><td class="when">' + (a.status === 'released' ? '' : when(a.expires)) + '</td><td>' + esc(a.status) + '</td></tr>').join('') : '<tr><td colspan="5" class="muted">none yet</td></tr>');
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
async function loadMembers() {
|
async function loadMembers() {
|
||||||
loadSpamScan().catch(() => {});
|
|
||||||
loadTank(); loadFraud();
|
loadTank(); loadFraud();
|
||||||
const r = await api('/api/admin/members');
|
const r = await api('/api/admin/members');
|
||||||
allMembers = r.members || [];
|
allMembers = r.members || [];
|
||||||
@@ -325,31 +323,6 @@
|
|||||||
+ '<td class="act"><button class="btn small sec" data-mcopen="' + esc(a.email) + '">Open</button> <button class="btn small sec" data-susp="' + esc(a.email) + '" data-on="' + (a.suspended ? '1' : '0') + '">' + (a.suspended ? 'Unsuspend' : 'Suspend') + '</button> <button class="btn small sec" data-spon="' + esc(a.email) + '" data-cur="' + esc(a.sponsorRef || '') + '">Sponsor</button></td></tr>').join('');
|
+ '<td class="act"><button class="btn small sec" data-mcopen="' + esc(a.email) + '">Open</button> <button class="btn small sec" data-susp="' + esc(a.email) + '" data-on="' + (a.suspended ? '1' : '0') + '">' + (a.suspended ? 'Unsuspend' : 'Suspend') + '</button> <button class="btn small sec" data-spon="' + esc(a.email) + '" data-cur="' + esc(a.sponsorRef || '') + '">Sponsor</button></td></tr>').join('');
|
||||||
}
|
}
|
||||||
$('memFilter').addEventListener('input', drawMembers);
|
$('memFilter').addEventListener('input', drawMembers);
|
||||||
// Link-farm list (2026-10-30): the daily scan's candidates; Delete selected = one DELETE /api/admin/member per email (on-chain refused); Allow = spamScanAllow
|
|
||||||
async function loadSpamScan() {
|
|
||||||
let v; try { v = await api('/api/admin/spamscan'); } catch (e) { return; }
|
|
||||||
const last = v.last || {}; const rows = last.candidates || [];
|
|
||||||
$('spamSub').textContent = last.at ? (rows.length + ' candidate' + (rows.length === 1 ? '' : 's') + ' \u00B7 scanned ' + when(last.at) + (last.manual ? ' (manual)' : '') + ' \u00B7 ' + (last.scanned || 0) + ' accounts, ' + (last.skipped || 0) + ' allowlisted') : 'no scan yet (daily at 06:30 Central)';
|
|
||||||
$('spamAllow').textContent = 'Allowlist: ' + ((v.allow || []).join(', ') || 'empty');
|
|
||||||
$('spamTable').innerHTML = '<tr><th></th><th>Account</th><th>Joined</th><th>Sponsor</th><th>First link</th><th>Why</th><th>Also on ' + esc(v.otherSite || 'the other site') + '</th><th></th></tr>'
|
|
||||||
+ (rows.length ? rows.map(c => '<tr><td><input type="checkbox" data-spamsel="' + esc(c.email) + '"></td><td>' + (c.username ? '<b>@' + esc(c.username) + '</b><br>' : '') + '<span class="small">' + esc(c.email) + '</span>' + (c.quarantined ? ' <span class="badge amber">quarantined</span>' : '') + '</td>'
|
|
||||||
+ '<td class="small muted when">' + when(c.created) + '</td><td class="small">' + esc(c.sponsorName || 'none') + '</td><td class="small mono" style="max-width:260px;overflow:hidden;text-overflow:ellipsis" title="' + esc((c.links || []).join(' ')) + '">' + esc(c.firstLink || '') + '</td>'
|
|
||||||
+ '<td class="small">' + esc((c.reasons || []).join(', ')) + '</td><td class="small">' + (c.alsoOn === true ? 'yes' : c.alsoOn === false ? 'no' : 'unknown') + '</td>'
|
|
||||||
+ '<td class="act"><button class="btn small sec" data-mcopen="' + esc(c.email) + '">Open</button> <button class="btn small sec" data-spamallow="' + esc(c.email) + '">Allow</button></td></tr>').join('') : '<tr><td colspan="8" class="muted small">Nothing to review.</td></tr>');
|
|
||||||
}
|
|
||||||
$('spamRun').addEventListener('click', busy($('spamRun'), async () => { await api('/api/admin/spamscan/run', {}); await loadSpamScan(); IAP.status('Scan done.', 'ok'); }));
|
|
||||||
$('spamDelete').addEventListener('click', busy($('spamDelete'), async () => {
|
|
||||||
const sel = [...document.querySelectorAll('[data-spamsel]:checked')].map(x => x.dataset.spamsel);
|
|
||||||
if (!sel.length) { IAP.status('Tick the accounts to delete first.', 'bad'); return; }
|
|
||||||
if (!await IAP.confirmBox('Delete ' + sel.length + ' account' + (sel.length === 1 ? '' : 's') + ' with their profile text? On-chain members are refused. LinkSpin is not touched.', { title: 'Delete selected', ok: 'Delete', cancel: 'Cancel' })) return;
|
|
||||||
let ok = 0, bad = 0; for (const e of sel) { try { await api('/api/admin/member?email=' + encodeURIComponent(e), undefined, 'DELETE'); ok++; } catch (err) { bad++; } }
|
|
||||||
IAP.status(ok + ' deleted' + (bad ? ', ' + bad + ' refused' : '') + '.', bad ? 'bad' : 'ok');
|
|
||||||
await api('/api/admin/spamscan/run', {}).catch(() => {}); await loadSpamScan(); loadMembers().catch(() => {});
|
|
||||||
}));
|
|
||||||
document.addEventListener('click', async e => {
|
|
||||||
const b = e.target.closest('[data-spamallow]'); if (!b) return;
|
|
||||||
try { await api('/api/admin/spamscan/allow', { email: b.dataset.spamallow }); IAP.status('Allowed ' + b.dataset.spamallow + '.', 'ok'); await api('/api/admin/spamscan/run', {}).catch(() => {}); loadSpamScan(); } catch (err) { IAP.status(err.message, 'bad'); }
|
|
||||||
});
|
|
||||||
document.addEventListener('click', async e => {
|
document.addEventListener('click', async e => {
|
||||||
const b = e.target.closest('[data-susp]'); if (!b) return;
|
const b = e.target.closest('[data-susp]'); if (!b) return;
|
||||||
const on = b.dataset.on === '1';
|
const on = b.dataset.on === '1';
|
||||||
@@ -430,7 +403,7 @@
|
|||||||
mcCur = d; const a = d.account; $('memHits').hidden = true;
|
mcCur = d; const a = d.account; $('memHits').hidden = true;
|
||||||
$('memCard').hidden = false; document.querySelectorAll('#pane-members > .card').forEach(c => { if (c.id !== 'memCard' && c.id !== 'memSearchCard') c.hidden = true; });
|
$('memCard').hidden = false; document.querySelectorAll('#pane-members > .card').forEach(c => { if (c.id !== 'memCard' && c.id !== 'memSearchCard') c.hidden = true; });
|
||||||
$('mcName').textContent = (a.username ? '@' + a.username : a.email) + (a.memberId ? ' · member #' + a.memberId : ' · free member');
|
$('mcName').textContent = (a.username ? '@' + a.username : a.email) + (a.memberId ? ' · member #' + a.memberId : ' · free member');
|
||||||
$('mcSub').textContent = 'joined ' + when(a.created) + ' · last seen ' + ago(a.lastSeen) + (a.profileQuarantined ? ' · PROFILE QUARANTINED (link planted on a brand-new free account; not shown publicly)' : '');
|
$('mcSub').textContent = 'joined ' + when(a.created) + ' · last seen ' + ago(a.lastSeen);
|
||||||
$('mcWall').hidden = !a.username; if (a.username) $('mcWall').href = '/wall/' + a.username;
|
$('mcWall').hidden = !a.username; if (a.username) $('mcWall').href = '/wall/' + a.username;
|
||||||
const ch = d.chain, cr = d.credits, t = d.totals;
|
const ch = d.chain, cr = d.credits, t = d.totals;
|
||||||
const level = ch && !ch.readError ? (ch.buyerCount >= 5 ? 'level 3 (5+ buyers)' : ch.buyerCount >= 2 ? 'level 2 (2 buyers)' : 'level 1') : '';
|
const level = ch && !ch.readError ? (ch.buyerCount >= 5 ? 'level 3 (5+ buyers)' : ch.buyerCount >= 2 ? 'level 2 (2 buyers)' : 'level 1') : '';
|
||||||
@@ -452,7 +425,6 @@
|
|||||||
['Upline chain', d.upline.length > 1 ? d.upline.map(u => memLink(u.email, u.name)).join(' → ') : '<span class="muted">-</span>'],
|
['Upline chain', d.upline.length > 1 ? d.upline.map(u => memLink(u.email, u.name)).join(' → ') : '<span class="muted">-</span>'],
|
||||||
['Joined via', esc(a.joinedVia || 'join page') + (a.joinedRef ? ' from ' + esc(a.joinedRef) : '')],
|
['Joined via', esc(a.joinedVia || 'join page') + (a.joinedRef ? ' from ' + esc(a.joinedRef) : '')],
|
||||||
['Line banner', a.lineTargetUrl ? '<a href="' + esc(a.lineTargetUrl) + '" target="_blank" rel="noopener">' + esc(a.lineTargetUrl.slice(0, 50)) + '</a>' : '<span class="muted">not set</span>'],
|
['Line banner', a.lineTargetUrl ? '<a href="' + esc(a.lineTargetUrl) + '" target="_blank" rel="noopener">' + esc(a.lineTargetUrl.slice(0, 50)) + '</a>' : '<span class="muted">not set</span>'],
|
||||||
['BixPay partner link', a.bixPartnerLink ? '<span class="mono small" style="overflow-wrap:anywhere">' + esc(a.bixPartnerLink) + '</span>' : '<span class="muted">not set (pages use a sponsor’s link or the network link)</span>'],
|
|
||||||
['Chat', a.chatAvailable ? 'available' : 'switched off']]) + '</div>';
|
['Chat', a.chatAvailable ? 'available' : 'switched off']]) + '</div>';
|
||||||
h += '<div><h4 style="margin:0 0 6px">On-chain and money</h4>' + kv([
|
h += '<div><h4 style="margin:0 0 6px">On-chain and money</h4>' + kv([
|
||||||
// Say WHICH of the two "not registered" states this is, and what it costs them, so the row
|
// Say WHICH of the two "not registered" states this is, and what it costs them, so the row
|
||||||
@@ -503,11 +475,11 @@
|
|||||||
let h = '<h4 style="margin:18px 0 6px">Payment trace</h4><p class="small muted" style="margin:0 0 6px">' + r.buyersNow + ' qualifying buyer' + (r.buyersNow === 1 ? '' : 's') + ' · every purchase this member was part of, newest first.</p>';
|
let h = '<h4 style="margin:18px 0 6px">Payment trace</h4><p class="small muted" style="margin:0 0 6px">' + r.buyersNow + ' qualifying buyer' + (r.buyersNow === 1 ? '' : 's') + ' · every purchase this member was part of, newest first.</p>';
|
||||||
if (!r.purchases.length) h += '<p class="small muted">No purchases involving them yet.</p>';
|
if (!r.purchases.length) h += '<p class="small muted">No purchases involving them yet.</p>';
|
||||||
for (const p of r.purchases) {
|
for (const p of r.purchases) {
|
||||||
h += '<div style="border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin:0 0 6px"><div class="small"><b>' + when(p.ts) + '</b> · ' + nm(p.buyerId) + ' bought $' + (p.priceCents / 100).toFixed(0) + ' (' + polOf(p.paidWei) + ' POL)' + (p.sponsorId ? ' · sponsor ' + nm(p.sponsorId) : '') + ' · <span class="muted">' + esc(p.tx.slice(0, 12)) + '…</span></div>';
|
h += '<div style="border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:8px 10px;margin:0 0 6px"><div class="small"><b>' + when(p.ts) + '</b> · ' + nm(p.buyerId) + ' bought $' + (p.priceCents / 100).toFixed(0) + ' (' + polOf(p.paidWei) + ' POL)' + (p.sponsorId ? ' · sponsor ' + nm(p.sponsorId) : '') + ' · <span class="muted">' + esc(p.tx.slice(0, 12)) + '…</span></div>';
|
||||||
for (const t of p.tiers) {
|
for (const t of p.tiers) {
|
||||||
let line = '<b>L' + t.tier + ' ' + t.pct + '%</b>: ';
|
let line = '<b>L' + t.tier + ' ' + t.pct + '%</b>: ';
|
||||||
for (const x of t.skipped) line += '<span style="color:var(--warn)">' + nm(x.id) + ' skipped (' + (x.reason === 'unqualified' ? 'had ' + x.buyersThen + ' of ' + (t.tier === 2 ? 2 : 5) + ' buyers then' : esc(x.reason)) + ')</span> → ';
|
for (const x of t.skipped) line += '<span style="color:#f0a742">' + nm(x.id) + ' skipped (' + (x.reason === 'unqualified' ? 'had ' + x.buyersThen + ' of ' + (t.tier === 2 ? 2 : 5) + ' buyers then' : esc(x.reason)) + ')</span> → ';
|
||||||
line += t.paidTo ? '<span style="color:' + (t.paidTo === mid ? 'var(--ok)' : 'inherit') + '">' + nm(t.paidTo) + ' ' + polOf(t.amountWei) + ' POL</span>' : '<span class="muted">no catcher → company</span>';
|
line += t.paidTo ? '<span style="color:' + (t.paidTo === mid ? '#3ecf7a' : 'inherit') + '">' + nm(t.paidTo) + ' ' + polOf(t.amountWei) + ' POL</span>' : '<span class="muted">no catcher → company</span>';
|
||||||
h += '<div class="small" style="margin-top:3px">' + line + '</div>';
|
h += '<div class="small" style="margin-top:3px">' + line + '</div>';
|
||||||
}
|
}
|
||||||
h += '<div class="small muted" style="margin-top:3px">platform ' + polOf(p.adminWei) + ' POL</div></div>';
|
h += '<div class="small muted" style="margin-top:3px">platform ' + polOf(p.adminWei) + ' POL</div></div>';
|
||||||
@@ -651,7 +623,7 @@
|
|||||||
const r = await api('/api/admin/promos', { code: $('pcCode').value, credits: $('pcCredits').value, partner: $('pcPartner').value, maxUses: $('pcMax').value, expires: $('pcExpires').value || null, active: true });
|
const r = await api('/api/admin/promos', { code: $('pcCode').value, credits: $('pcCredits').value, partner: $('pcPartner').value, maxUses: $('pcMax').value, expires: $('pcExpires').value || null, active: true });
|
||||||
msg.textContent = 'Saved ' + r.code.code + ': ' + r.code.credits + ' credits.'; msg.style.color = 'var(--mint)';
|
msg.textContent = 'Saved ' + r.code.code + ': ' + r.code.credits + ' credits.'; msg.style.color = 'var(--mint)';
|
||||||
$('pcCode').value = ''; $('pcCredits').value = ''; $('pcPartner').value = ''; loadPromos();
|
$('pcCode').value = ''; $('pcCredits').value = ''; $('pcPartner').value = ''; loadPromos();
|
||||||
} catch (e) { msg.textContent = e.message; msg.style.color = 'var(--bad)'; }
|
} catch (e) { msg.textContent = e.message; msg.style.color = '#ff8a8a'; }
|
||||||
});
|
});
|
||||||
async function loadTraffic() {
|
async function loadTraffic() {
|
||||||
loadPromos().catch(e => IAP.status(e.message, 'bad'));
|
loadPromos().catch(e => IAP.status(e.message, 'bad'));
|
||||||
@@ -671,12 +643,6 @@
|
|||||||
$('stSub').textContent = (st.settings.on ? 'on' : 'off') + ' · welcome bonus ' + st.settings.bonus + ' credits · ' + st.granted + ' granted';
|
$('stSub').textContent = (st.settings.on ? 'on' : 'off') + ' · welcome bonus ' + st.settings.bonus + ' credits · ' + st.granted + ' granted';
|
||||||
$('trfStarter').innerHTML = '<tr><th>Game</th><th>Offer taps</th><th>First packages</th><th>Package $</th><th>Tap → buy</th></tr>' + rows.map(g => '<tr><td>' + esc(g.name) + '</td><td>' + n(g.visits) + '</td><td>' + n(g.buyers) + '</td><td>$' + g.usd.toFixed(2) + '</td><td>' + pct(g.buyers, g.visits) + '</td></tr>').join(''); }
|
$('trfStarter').innerHTML = '<tr><th>Game</th><th>Offer taps</th><th>First packages</th><th>Package $</th><th>Tap → buy</th></tr>' + rows.map(g => '<tr><td>' + esc(g.name) + '</td><td>' + n(g.visits) + '</td><td>' + n(g.buyers) + '</td><td>$' + g.usd.toFixed(2) + '</td><td>' + pct(g.buyers, g.visits) + '</td></tr>').join(''); }
|
||||||
$('trfPaths').innerHTML = '<tr><th>Page</th><th>Views</th></tr>' + (d.paths.length ? d.paths.map(p => '<tr><td>' + esc(p.path) + '</td><td>' + n(p.hits) + '</td></tr>').join('') : '<tr><td colspan="2" class="muted">No page views yet.</td></tr>');
|
$('trfPaths').innerHTML = '<tr><th>Page</th><th>Views</th></tr>' + (d.paths.length ? d.paths.map(p => '<tr><td>' + esc(p.path) + '</td><td>' + n(p.hits) + '</td></tr>').join('') : '<tr><td colspan="2" class="muted">No page views yet.</td></tr>');
|
||||||
// BixPay clicks by surface + per member (2026-10-29)
|
|
||||||
if (d.bixpay && $('trfBix')) { const bx = d.bixpay, LBL = { wallet: 'Wallet tab card', overview: 'Overview card', email: 'Payout emails', nudge: 'Game wallet nudges', promo: 'Promo tools (members’ posts and banners)', guide: '/bixpay guide', chat: 'Chatbot', other: 'Other' };
|
|
||||||
$('bixSub').textContent = 'last ' + bx.days + ' days: ' + n(bx.total) + ' clicks · all time ' + n(bx.allTime) + (bx.live ? '' : ' · bixpayLive is OFF');
|
|
||||||
const rows = Object.entries(bx.bySurface).sort((a, b) => b[1] - a[1]);
|
|
||||||
$('trfBix').innerHTML = '<tr><th>Surface</th><th>Clicks</th></tr>' + (rows.length ? rows.map(([s, c]) => '<tr><td>' + esc(LBL[s] || s) + '</td><td>' + n(c) + '</td></tr>').join('') : '<tr><td colspan="2" class="muted">No BixPay clicks in this range yet.</td></tr>');
|
|
||||||
$('trfBixMembers').innerHTML = '<tr><th>Member</th><th>All clicks</th><th>Via promo kit</th><th>Last</th></tr>' + (bx.members.length ? bx.members.map(m => '<tr><td>' + esc(m.name || m.email) + '</td><td>' + n(m.total) + '</td><td>' + n(m.promo) + '</td><td class="small muted">' + (m.last ? ago(m.last) : '') + '</td></tr>').join('') : '<tr><td colspan="4" class="muted">No member clicks yet.</td></tr>'); }
|
|
||||||
$('trfAngles').innerHTML = '<tr><th>Angle</th><th>Join-page<br>views</th><th>Signups</th><th>View →<br>signup</th></tr>' + (d.angles.length ? d.angles.map(a => '<tr><td>' + esc(a.angle) + '</td><td>' + n(a.views) + '</td><td>' + n(a.signups) + '</td><td>' + pct(a.signups, a.views) + '</td></tr>').join('') : '<tr><td colspan="4" class="muted">No angle data yet.</td></tr>');
|
$('trfAngles').innerHTML = '<tr><th>Angle</th><th>Join-page<br>views</th><th>Signups</th><th>View →<br>signup</th></tr>' + (d.angles.length ? d.angles.map(a => '<tr><td>' + esc(a.angle) + '</td><td>' + n(a.views) + '</td><td>' + n(a.signups) + '</td><td>' + pct(a.signups, a.views) + '</td></tr>').join('') : '<tr><td colspan="4" class="muted">No angle data yet.</td></tr>');
|
||||||
$('trfDaily').innerHTML = '<tr><th>Day</th><th>Page views</th><th>Signups</th></tr>' + (d.daily.length ? d.daily.slice().reverse().map(x => '<tr><td>' + esc(x.day) + '</td><td>' + n(x.hits) + '</td><td>' + n(x.signups) + '</td></tr>').join('') : '<tr><td colspan="3" class="muted">Nothing yet.</td></tr>');
|
$('trfDaily').innerHTML = '<tr><th>Day</th><th>Page views</th><th>Signups</th></tr>' + (d.daily.length ? d.daily.slice().reverse().map(x => '<tr><td>' + esc(x.day) + '</td><td>' + n(x.hits) + '</td><td>' + n(x.signups) + '</td></tr>').join('') : '<tr><td colspan="3" class="muted">Nothing yet.</td></tr>');
|
||||||
}
|
}
|
||||||
@@ -997,11 +963,11 @@
|
|||||||
['Wallet linked', rq.wallet ? 'yes' : 'no'], ['Joined', esc(ctWhen(rq.created))], ['Last seen', esc(ctWhen(rq.lastSeen) || 'never')]] : []).concat([['Private link', '<span class="mono small" style="word-break:break-all">' + esc(v.link) + '</span>']]))
|
['Wallet linked', rq.wallet ? 'yes' : 'no'], ['Joined', esc(ctWhen(rq.created))], ['Last seen', esc(ctWhen(rq.lastSeen) || 'never')]] : []).concat([['Private link', '<span class="mono small" style="word-break:break-all">' + esc(v.link) + '</span>']]))
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
+ '<div class="card"><div class="card-head"><h3>Thread</h3><span class="sub">' + v.messages.length + ' message' + (v.messages.length === 1 ? '' : 's') + '</span></div>'
|
+ '<div class="card"><div class="card-head"><h3>Thread</h3><span class="sub">' + v.messages.length + ' message' + (v.messages.length === 1 ? '' : 's') + '</span></div>'
|
||||||
+ v.messages.map(m => '<div style="border:1px solid ' + (m.internal ? 'var(--gold-line)' : m.author === 'admin' ? 'var(--mint-line)' : 'var(--line)') + ';background:' + (m.internal ? 'var(--gold-soft)' : m.author === 'admin' ? 'var(--mint-faint)' : 'transparent') + ';border-radius:12px;padding:10px 14px;margin:8px 0">'
|
+ v.messages.map(m => '<div style="border:1px solid ' + (m.internal ? 'rgba(242,201,76,.55)' : m.author === 'admin' ? 'rgba(67,232,195,.45)' : 'var(--line)') + ';background:' + (m.internal ? 'rgba(242,201,76,.07)' : m.author === 'admin' ? 'rgba(67,232,195,.05)' : 'transparent') + ';border-radius:12px;padding:10px 14px;margin:8px 0">'
|
||||||
+ '<div class="small muted" style="display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap"><b>' + esc(SP_AUTHOR[m.author] || m.author) + (m.internal ? ' · internal note' : '') + (m.via && m.via !== 'web' ? ' · via ' + esc(m.via) : '') + '</b><span>' + esc(ctWhen(m.created)) + '</span></div>'
|
+ '<div class="small muted" style="display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap"><b>' + esc(SP_AUTHOR[m.author] || m.author) + (m.internal ? ' · internal note' : '') + (m.via && m.via !== 'web' ? ' · via ' + esc(m.via) : '') + '</b><span>' + esc(ctWhen(m.created)) + '</span></div>'
|
||||||
+ '<div style="white-space:pre-wrap;word-wrap:break-word;margin-top:6px">' + spLink(m.body) + '</div>'
|
+ '<div style="white-space:pre-wrap;word-wrap:break-word;margin-top:6px">' + spLink(m.body) + '</div>'
|
||||||
+ (m.author === 'admin' && !m.internal && t.platform !== 'linkspin' && window.IAPKB ? '<p style="margin:8px 0 0"><button type="button" class="btn small sec" data-kbsave="' + m.id + '">Save as KB entry</button></p>' : '')
|
+ (m.author === 'admin' && !m.internal && t.platform !== 'linkspin' && window.IAPKB ? '<p style="margin:8px 0 0"><button type="button" class="btn small sec" data-kbsave="' + m.id + '">Save as KB entry</button></p>' : '')
|
||||||
+ (m.bodyEn ? '<div style="white-space:pre-wrap;word-wrap:break-word;margin-top:8px;padding:8px 10px;border-left:3px solid var(--mint);background:var(--mint-soft);border-radius:6px"><span class="small muted">🌐 ' + esc(m.langName || m.lang) + ', in English (your reply goes back in ' + esc(m.langName || m.lang) + ' with your English underneath)</span>\n' + spLink(m.bodyEn) + '</div>' : '')
|
+ (m.bodyEn ? '<div style="white-space:pre-wrap;word-wrap:break-word;margin-top:8px;padding:8px 10px;border-left:3px solid var(--accent,#43e8c3);background:rgba(67,232,195,.07);border-radius:6px"><span class="small muted">🌐 ' + esc(m.langName || m.lang) + ', in English (your reply goes back in ' + esc(m.langName || m.lang) + ' with your English underneath)</span>\n' + spLink(m.bodyEn) + '</div>' : '')
|
||||||
+ ((m.attachments || []).length ? '<div style="display:flex;gap:8px;margin-top:8px;flex-wrap:wrap">' + m.attachments.map(a => '<a href="' + esc(a) + '" target="_blank" rel="noopener"><img src="' + esc(a) + '" alt="attachment" style="max-width:180px;max-height:140px;border-radius:8px;border:1px solid var(--line)"></a>').join('') + '</div>' : '') + '</div>').join('')
|
+ ((m.attachments || []).length ? '<div style="display:flex;gap:8px;margin-top:8px;flex-wrap:wrap">' + m.attachments.map(a => '<a href="' + esc(a) + '" target="_blank" rel="noopener"><img src="' + esc(a) + '" alt="attachment" style="max-width:180px;max-height:140px;border-radius:8px;border:1px solid var(--line)"></a>').join('') + '</div>' : '') + '</div>').join('')
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
+ '<div class="card"><div class="card-head"><h3>Reply</h3><span class="sub">emailed to the requester' + (rq.member ? ' and put in their Help tab and inbox' : '') + '</span></div>'
|
+ '<div class="card"><div class="card-head"><h3>Reply</h3><span class="sub">emailed to the requester' + (rq.member ? ' and put in their Help tab and inbox' : '') + '</span></div>'
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
// BixPay guide (/bixpay, 2026-10-29): the CTA carries the viewer's resolved partner link (their own when signed in, else the
|
|
||||||
// member whose ?ref brought them here or whose sponsor cookie they carry, else the network link), always through the counted
|
|
||||||
// /go/bixpay link. The server already folded ?ref into the sponsor cookie; the ref is passed along too so the first view resolves.
|
|
||||||
// In-app browsers (Gmail, Telegram, Facebook webviews): BIX's register page runs a Cloudflare check that often fails there, and
|
|
||||||
// the invite token lives only in the URL, so a member who then reopens BIX elsewhere registers with no sponsor (bizventures,
|
|
||||||
// 2026-10-29: referrer N/A). Those viewers get a notice with the link to copy into a real browser.
|
|
||||||
(function () {
|
|
||||||
var cta = document.getElementById('bixCta'), using = document.getElementById('bixUsing'), soon = document.getElementById('bixSoon');
|
|
||||||
var box = document.getElementById('bixInApp'), boxLink = document.getElementById('bixInAppLink'), boxCopy = document.getElementById('bixInAppCopy');
|
|
||||||
if (!cta) return;
|
|
||||||
function inApp() {
|
|
||||||
var u = navigator.userAgent || '';
|
|
||||||
if (/FBAN|FBAV|FB_IAB|Instagram|Line\/|Twitter|Snapchat|GSA\/|Telegram|\bwv\b|WebView/i.test(u)) return true;
|
|
||||||
return /iPhone|iPad|iPod/.test(u) && !/Safari\//.test(u); // an iOS web view: no Safari token
|
|
||||||
}
|
|
||||||
var ref = '';
|
|
||||||
try { ref = new URLSearchParams(location.search).get('ref') || ''; } catch (e) { ref = ''; }
|
|
||||||
fetch('/api/public/bixpay' + (ref ? '?ref=' + encodeURIComponent(ref) : ''), { credentials: 'same-origin' }).then(function (r) { return r.json(); }).then(function (d) {
|
|
||||||
if (!d || !d.live) { if (soon) soon.hidden = false; cta.href = '/my#wallet'; if (using) using.textContent = 'Sign in to your dashboard and open the Wallet tab.'; return; }
|
|
||||||
cta.href = d.go;
|
|
||||||
if (using) using.textContent = d.whose === 'you' ? 'The button opens your own BixPay partner link.' : d.whose === 'sponsor' ? 'The button opens ' + d.name + "'s BixPay partner link." + (d.signedIn ? ' Add yours in Members > Profile.' : '') : 'The button opens the network’s BixPay partner link.' + (d.signedIn ? ' Add yours in Members > Profile.' : '');
|
|
||||||
if (box && inApp()) {
|
|
||||||
box.hidden = false;
|
|
||||||
if (boxLink) boxLink.textContent = d.go;
|
|
||||||
if (boxCopy) boxCopy.addEventListener('click', function () {
|
|
||||||
var done = function () { boxCopy.textContent = 'Copied'; setTimeout(function () { boxCopy.textContent = 'Copy link'; }, 2000); };
|
|
||||||
var select = function () { try { var r = document.createRange(); r.selectNodeContents(boxLink); var s = window.getSelection(); s.removeAllRanges(); s.addRange(r); boxCopy.textContent = 'Selected: copy it'; } catch (e) {} }; // no native dialogs
|
|
||||||
if (navigator.clipboard && navigator.clipboard.writeText) navigator.clipboard.writeText(d.go).then(done, select);
|
|
||||||
else select();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}).catch(function () {});
|
|
||||||
})();
|
|
||||||
|
Before Width: | Height: | Size: 147 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 15 KiB |
@@ -11,7 +11,7 @@
|
|||||||
share.querySelectorAll('a').forEach(a => { a.href = a.href.replace(encodeURIComponent('https://instantadpay.com' + location.pathname), encodeURIComponent(link)); });
|
share.querySelectorAll('a').forEach(a => { a.href = a.href.replace(encodeURIComponent('https://instantadpay.com' + location.pathname), encodeURIComponent(link)); });
|
||||||
const bar = document.createElement('div');
|
const bar = document.createElement('div');
|
||||||
bar.id = 'viralBar';
|
bar.id = 'viralBar';
|
||||||
bar.style.cssText = 'margin-top:18px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--ink-faint);display:flex;gap:10px;align-items:center;flex-wrap:wrap';
|
bar.style.cssText = 'margin-top:18px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card, rgba(255,255,255,.03));display:flex;gap:10px;align-items:center;flex-wrap:wrap';
|
||||||
bar.innerHTML = '<div style="flex:1;min-width:220px"><div class="eyebrow" style="margin:0 0 4px">Your link for this article</div><div class="mono small" style="overflow-wrap:anywhere">' + link.replace(/[&<>]/g, '') + '</div><div class="muted small" style="margin-top:4px">Share this and anyone who joins from it is yours, same as your invite link.</div></div><button class="btn small" type="button">Copy link</button>';
|
bar.innerHTML = '<div style="flex:1;min-width:220px"><div class="eyebrow" style="margin:0 0 4px">Your link for this article</div><div class="mono small" style="overflow-wrap:anywhere">' + link.replace(/[&<>]/g, '') + '</div><div class="muted small" style="margin-top:4px">Share this and anyone who joins from it is yours, same as your invite link.</div></div><button class="btn small" type="button">Copy link</button>';
|
||||||
bar.querySelector('button').onclick = async () => { try { await navigator.clipboard.writeText(link); IAP.status('Link copied.', 'ok'); } catch (e) { IAP.status('Copy failed.', 'bad'); } };
|
bar.querySelector('button').onclick = async () => { try { await navigator.clipboard.writeText(link); IAP.status('Link copied.', 'ok'); } catch (e) { IAP.status('Copy failed.', 'bad'); } };
|
||||||
share.parentNode.insertBefore(bar, share);
|
share.parentNode.insertBefore(bar, share);
|
||||||
|
|||||||
@@ -264,20 +264,7 @@ window.IAP = (function () {
|
|||||||
}
|
}
|
||||||
function ask(o) { return dialog(Object.assign({ type: 'text', value: '', placeholder: '' }, o || {})); }
|
function ask(o) { return dialog(Object.assign({ type: 'text', value: '', placeholder: '' }, o || {})); }
|
||||||
function confirmBox(text, o) { return dialog(Object.assign({ type: 'none', text, ok: 'Yes', cancel: 'No' }, o || {})); }
|
function confirmBox(text, o) { return dialog(Object.assign({ type: 'none', text, ok: 'Yes', cancel: 'No' }, o || {})); }
|
||||||
// ── appearance (2026-11-01): Light / Dark / Auto, mirrored from LinkSpin. The head script (themehead.js) owns window.IAPTheme and
|
return { getConfig, fmtPol, fmtUsd, status, renderNav, refreshNavWallet, describeEvent, feedRow, adSlot, reportAd, requestCode, launchChecks, launchToggle, ask, confirmBox, $,
|
||||||
// localStorage iap.theme; this paints every .theme-seg on the page (member-area header, Profile pane, admin header), saves a
|
|
||||||
// click to the account when signed in (POST /api/my/profile {theme}), and at sign-in lets the account value win over the local
|
|
||||||
// one (a local choice is pushed up when the account has none yet). Pages without a .theme-seg still get the theme from the head script.
|
|
||||||
const THEME_VALUES = ['light', 'dark', 'auto'];
|
|
||||||
function storedTheme() { try { const v = localStorage.getItem('iap.theme'); return THEME_VALUES.includes(v) ? v : null; } catch (e) { return null; } }
|
|
||||||
function paintTheme() { const c = window.IAPTheme ? IAPTheme.get() : 'dark'; document.querySelectorAll('.theme-seg [data-theme]').forEach(b => { const on = b.dataset.theme === c; b.classList.toggle('on', on); b.setAttribute('aria-pressed', on ? 'true' : 'false'); }); }
|
|
||||||
const saveTheme = v => fetch('/api/my/profile', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ theme: v }) }).catch(() => {});
|
|
||||||
function themeSync(m) { if (!window.IAPTheme) return; const acct = m && m.signedIn && THEME_VALUES.includes(m.theme) ? m.theme : null; const local = storedTheme(); if (acct) { if (acct !== local) IAPTheme.set(acct, true); } else if (m && m.signedIn && local) saveTheme(local); paintTheme(); }
|
|
||||||
// the controls only exist on signed-in surfaces (member-area shell, admin), so a click always tries the save; signed out it is a harmless 401
|
|
||||||
document.addEventListener('click', e => { const b = e.target.closest && e.target.closest('.theme-seg [data-theme]'); if (!b || !window.IAPTheme) return; const v = b.dataset.theme; IAPTheme.set(v); saveTheme(v); });
|
|
||||||
window.addEventListener('iap-theme', paintTheme);
|
|
||||||
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', paintTheme); else paintTheme();
|
|
||||||
return { getConfig, fmtPol, fmtUsd, status, renderNav, refreshNavWallet, describeEvent, feedRow, adSlot, reportAd, requestCode, launchChecks, launchToggle, ask, confirmBox, $, themeSync, paintTheme,
|
|
||||||
guard: { FORM_TS, iconCheck, hpValue, formSettled } }; // guard: the sign-up walls, reused by the support form and the chatbot hand-off
|
guard: { FORM_TS, iconCheck, hpValue, formSettled } }; // guard: the sign-up walls, reused by the support form and the chatbot hand-off
|
||||||
})();
|
})();
|
||||||
// shown inside someone else's frame (traffic exchanges, 2026-10-03): sign-in, join and off-site links open in a new tab,
|
// shown inside someone else's frame (traffic exchanges, 2026-10-03): sign-in, join and off-site links open in a new tab,
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
+ '.er-dial{border:1px solid rgba(127,127,127,.3);border-radius:10px;padding:10px 12px;text-align:center;min-width:0}.er-dial svg{width:100%;max-width:200px;height:auto;display:block;margin:0 auto}'
|
+ '.er-dial{border:1px solid rgba(127,127,127,.3);border-radius:10px;padding:10px 12px;text-align:center;min-width:0}.er-dial svg{width:100%;max-width:200px;height:auto;display:block;margin:0 auto}'
|
||||||
+ '.er-dial .v{font-size:22px;font-weight:700;margin-top:-6px}.er-dial .c{font-size:12px;opacity:.8}.er-row{display:flex;flex-wrap:wrap;gap:8px}'
|
+ '.er-dial .v{font-size:22px;font-weight:700;margin-top:-6px}.er-dial .c{font-size:12px;opacity:.8}.er-row{display:flex;flex-wrap:wrap;gap:8px}'
|
||||||
+ '.er-light{display:flex;gap:6px;align-items:center;border:1px solid rgba(127,127,127,.3);border-radius:999px;padding:4px 10px;font-size:12.5px}.er-dot{width:10px;height:10px;border-radius:50%;background:rgba(127,127,127,.45);flex:none}'
|
+ '.er-light{display:flex;gap:6px;align-items:center;border:1px solid rgba(127,127,127,.3);border-radius:999px;padding:4px 10px;font-size:12.5px}.er-dot{width:10px;height:10px;border-radius:50%;background:rgba(127,127,127,.45);flex:none}'
|
||||||
+ '.er-dot.on{background:var(--warn,#e8a317)}.er-dot.green{background:var(--ok,#2fa36b)}.er-dot.amber{background:var(--warn,#e8a317)}.er-dot.grey{background:rgba(127,127,127,.45)}.er-parts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:8px}'
|
+ '.er-dot.on{background:#e8a317}.er-dot.green{background:#2fa36b}.er-dot.amber{background:#e8a317}.er-dot.grey{background:rgba(127,127,127,.45)}.er-parts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:8px}'
|
||||||
+ '.er-part{border:1px solid rgba(127,127,127,.3);border-radius:8px;padding:8px 10px;font-size:13px;display:grid;gap:3px;min-width:0}.er-part b{display:flex;flex-wrap:wrap;gap:2px 6px;align-items:center}.er-next{border:1px solid rgba(127,127,127,.4);border-radius:10px;padding:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}'
|
+ '.er-part{border:1px solid rgba(127,127,127,.3);border-radius:8px;padding:8px 10px;font-size:13px;display:grid;gap:3px;min-width:0}.er-part b{display:flex;flex-wrap:wrap;gap:2px 6px;align-items:center}.er-next{border:1px solid rgba(127,127,127,.4);border-radius:10px;padding:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}'
|
||||||
+ '.er-next .w{flex:1 1 220px;font-size:13px}.er-h{font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:0}.er-streak{font-size:13.5px;line-height:1.5}.er-goal{display:flex;gap:6px;align-items:center;justify-content:center;margin-top:6px;font-size:12px}.er-goal input{width:70px}';
|
+ '.er-next .w{flex:1 1 220px;font-size:13px}.er-h{font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:0}.er-streak{font-size:13.5px;line-height:1.5}.er-goal{display:flex;gap:6px;align-items:center;justify-content:center;margin-top:6px;font-size:12px}.er-goal input{width:70px}';
|
||||||
if (!document.getElementById('erCss')) { const st = document.createElement('style'); st.id = 'erCss'; st.textContent = css; document.head.appendChild(st); }
|
if (!document.getElementById('erCss')) { const st = document.createElement('style'); st.id = 'erCss'; st.textContent = css; document.head.appendChild(st); }
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
function dial(pct, value, caption, aria, warn) {
|
function dial(pct, value, caption, aria, warn) {
|
||||||
const p = pct == null ? 0 : Math.max(0, Math.min(100, pct));
|
const p = pct == null ? 0 : Math.max(0, Math.min(100, pct));
|
||||||
const a = Math.PI * (1 - p / 100); const x = 100 + 80 * Math.cos(a), y = 100 - 80 * Math.sin(a);
|
const a = Math.PI * (1 - p / 100); const x = 100 + 80 * Math.cos(a), y = 100 - 80 * Math.sin(a);
|
||||||
const col = warn ? 'var(--warn,#e8a317)' : 'currentColor';
|
const col = warn ? '#e8a317' : 'currentColor';
|
||||||
return '<div class="er-dial" role="img" aria-label="' + esc(aria) + '"><svg viewBox="0 0 200 112" aria-hidden="true"><path d="M20 100 A80 80 0 0 1 180 100" fill="none" stroke="rgba(127,127,127,.3)" stroke-width="14" stroke-linecap="round"/>'
|
return '<div class="er-dial" role="img" aria-label="' + esc(aria) + '"><svg viewBox="0 0 200 112" aria-hidden="true"><path d="M20 100 A80 80 0 0 1 180 100" fill="none" stroke="rgba(127,127,127,.3)" stroke-width="14" stroke-linecap="round"/>'
|
||||||
+ (pct == null ? '' : '<path d="M20 100 A80 80 0 0 1 ' + x.toFixed(1) + ' ' + y.toFixed(1) + '" fill="none" stroke="' + col + '" stroke-width="14" stroke-linecap="round"/>') + '</svg>'
|
+ (pct == null ? '' : '<path d="M20 100 A80 80 0 0 1 ' + x.toFixed(1) + ' ' + y.toFixed(1) + '" fill="none" stroke="' + col + '" stroke-width="14" stroke-linecap="round"/>') + '</svg>'
|
||||||
+ '<div class="v">' + esc(value) + '</div><div class="c">' + caption + '</div></div>';
|
+ '<div class="v">' + esc(value) + '</div><div class="c">' + caption + '</div></div>';
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
}
|
}
|
||||||
function actNote(text) {
|
function actNote(text) {
|
||||||
let n = $('actIntentNote');
|
let n = $('actIntentNote');
|
||||||
if (!n && text) { n = document.createElement('p'); n.id = 'actIntentNote'; n.className = 'small'; n.style.cssText = 'margin:8px 0;color:var(--ok);font-weight:600'; }
|
if (!n && text) { n = document.createElement('p'); n.id = 'actIntentNote'; n.className = 'small'; n.style.cssText = 'margin:8px 0;color:#22c55e;font-weight:600'; }
|
||||||
if (!n) return null;
|
if (!n) return null;
|
||||||
n.hidden = !text; n.textContent = text || '';
|
n.hidden = !text; n.textContent = text || '';
|
||||||
return n;
|
return n;
|
||||||
@@ -395,8 +395,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
}));
|
}));
|
||||||
host.appendChild(bar);
|
host.appendChild(bar);
|
||||||
}
|
}
|
||||||
// chart colours come from the live theme tokens (2026-11-01): read at draw time so a theme switch repaints correctly
|
const CH = { mint: '#43e8c3', cyan: '#54ccff', violet: '#9d7dff', amber: '#ffb238', track: 'rgba(139,166,156,.18)' };
|
||||||
const CH = new Proxy({}, { get: (_, k) => { const cs = getComputedStyle(document.documentElement); const v = { mint: '--mint', cyan: '--cyan', violet: '--violet', amber: '--amber', track: '--muted-soft' }[k]; return (v && cs.getPropertyValue(v).trim()) || { mint: '#43e8c3', cyan: '#54ccff', violet: '#9d7dff', amber: '#ffb238', track: 'rgba(139,166,156,.18)' }[k]; } });
|
|
||||||
function bars(el, xel, data) { // data: [{v,label,tip,alt}]
|
function bars(el, xel, data) { // data: [{v,label,tip,alt}]
|
||||||
if (!el) return;
|
if (!el) return;
|
||||||
const max = Math.max(1, ...data.map(d => d.v));
|
const max = Math.max(1, ...data.map(d => d.v));
|
||||||
@@ -418,7 +417,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
off -= len;
|
off -= len;
|
||||||
}
|
}
|
||||||
out += '<text x="21" y="20.5" text-anchor="middle" fill="currentColor" font-size="6.5" font-weight="800" class="donut-center">' + esc(center.big) + '</text>'
|
out += '<text x="21" y="20.5" text-anchor="middle" fill="currentColor" font-size="6.5" font-weight="800" class="donut-center">' + esc(center.big) + '</text>'
|
||||||
+ '<text x="21" y="26.5" text-anchor="middle" style="fill:var(--muted)" font-size="3.1">' + esc(center.small) + '</text>';
|
+ '<text x="21" y="26.5" text-anchor="middle" fill="#8ba69c" font-size="3.1">' + esc(center.small) + '</text>';
|
||||||
el.innerHTML = out;
|
el.innerHTML = out;
|
||||||
}
|
}
|
||||||
function legend(el, rows) {
|
function legend(el, rows) {
|
||||||
@@ -656,7 +655,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
const r = await (await fetch('/api/leaderboard?period=week')).json();
|
const r = await (await fetch('/api/leaderboard?period=week')).json();
|
||||||
const esc = t => String(t == null ? '' : t).replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c]));
|
const esc = t => String(t == null ? '' : t).replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c]));
|
||||||
let h = r.prize ? '<p style="margin:0 0 8px"><b>Prize this week:</b> ' + esc(r.prize) + '</p>' : '';
|
let h = r.prize ? '<p style="margin:0 0 8px"><b>Prize this week:</b> ' + esc(r.prize) + '</p>' : '';
|
||||||
h += r.top.length ? '<table style="width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums">' + r.top.slice(0, 5).map(x => '<tr><td style="padding:3px 0;width:26px;color:' + (x.rank === 1 ? 'var(--gold)' : 'var(--muted)') + '">' + x.rank + '</td><td style="padding:3px 0"><b>' + esc(x.name) + '</b></td><td style="padding:3px 0;text-align:right">' + x.sales + ' sold · $' + x.usd + '</td></tr>').join('') + '</table>'
|
h += r.top.length ? '<table style="width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums">' + r.top.slice(0, 5).map(x => '<tr><td style="padding:3px 0;width:26px;color:' + (x.rank === 1 ? '#ffd15c' : 'var(--muted)') + '">' + x.rank + '</td><td style="padding:3px 0"><b>' + esc(x.name) + '</b></td><td style="padding:3px 0;text-align:right">' + x.sales + ' sold · $' + x.usd + '</td></tr>').join('') + '</table>'
|
||||||
: '<p class="muted" style="margin:0">No packages sold yet this week. First sale takes the top spot.</p>';
|
: '<p class="muted" style="margin:0">No packages sold yet this week. First sale takes the top spot.</p>';
|
||||||
h += r.me ? '<p style="margin:8px 0 0">You: <b>#' + r.me.rank + '</b> · ' + r.me.sales + ' sold · $' + r.me.usd + '</p>' : '<p class="muted" style="margin:8px 0 0">You: no sales yet this week. Sales are $20+ packages bought by people you sponsor.</p>';
|
h += r.me ? '<p style="margin:8px 0 0">You: <b>#' + r.me.rank + '</b> · ' + r.me.sales + ' sold · $' + r.me.usd + '</p>' : '<p class="muted" style="margin:8px 0 0">You: no sales yet this week. Sales are $20+ packages bought by people you sponsor.</p>';
|
||||||
h += '<p style="margin:6px 0 0"><a href="/leaderboard" target="_blank" rel="noopener" style="color:var(--mint)">Full leaderboard: week, month, all time →</a></p>';
|
h += '<p style="margin:6px 0 0"><a href="/leaderboard" target="_blank" rel="noopener" style="color:var(--mint)">Full leaderboard: week, month, all time →</a></p>';
|
||||||
@@ -704,7 +703,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
const pane = document.querySelector('#pane-buy .card'); if (!pane) return;
|
const pane = document.querySelector('#pane-buy .card'); if (!pane) return;
|
||||||
let box = document.getElementById('starterBox'); if (!box) { box = document.createElement('div'); box.id = 'starterBox'; pane.insertBefore(box, pane.children[1] || null); }
|
let box = document.getElementById('starterBox'); if (!box) { box = document.createElement('div'); box.id = 'starterBox'; pane.insertBefore(box, pane.children[1] || null); }
|
||||||
const esc = t => String(t).replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c]));
|
const esc = t => String(t).replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c]));
|
||||||
box.style.cssText = 'border:1px solid var(--gold, #e2b04a);border-radius:12px;padding:12px 14px;margin:0 0 14px;background:var(--gold-soft)';
|
box.style.cssText = 'border:1px solid var(--gold, #e2b04a);border-radius:12px;padding:12px 14px;margin:0 0 14px;background:rgba(226,176,74,.08)';
|
||||||
box.innerHTML = v.eligible
|
box.innerHTML = v.eligible
|
||||||
? '<b>Welcome from ' + esc(v.game) + '!</b><br><span class="small">Your first package, $5 or more, comes with <b>+' + v.bonus + ' bonus ad credits</b>, and ' + esc(v.perk) + ' waiting for you in ' + esc(v.game) + '.</span>'
|
? '<b>Welcome from ' + esc(v.game) + '!</b><br><span class="small">Your first package, $5 or more, comes with <b>+' + v.bonus + ' bonus ad credits</b>, and ' + esc(v.perk) + ' waiting for you in ' + esc(v.game) + '.</span>'
|
||||||
: '<b>You are a member.</b> <span class="small">' + (v.granted ? 'Your +' + v.bonus + ' welcome credits are in your balance. ' : '') + 'Your ' + esc(v.perk) + ' is waiting in ' + esc(v.game) + '.</span><br><a class="btn small" style="margin-top:8px;display:inline-block" href="' + esc(v.back) + '">Back to ' + esc(v.game) + ' to collect it</a>';
|
: '<b>You are a member.</b> <span class="small">' + (v.granted ? 'Your +' + v.bonus + ' welcome credits are in your balance. ' : '') + 'Your ' + esc(v.perk) + ' is waiting in ' + esc(v.game) + '.</span><br><a class="btn small" style="margin-top:8px;display:inline-block" href="' + esc(v.back) + '">Back to ' + esc(v.game) + ' to collect it</a>';
|
||||||
@@ -805,7 +804,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
if (tw && tw.count) tn.innerHTML = '<b>' + tw.count + (tw.count === 1 ? ' person is' : ' people are') + ' waiting for a sponsor in the holding tank</b> \u00b7 '
|
if (tw && tw.count) tn.innerHTML = '<b>' + tw.count + (tw.count === 1 ? ' person is' : ' people are') + ' waiting for a sponsor in the holding tank</b> \u00b7 '
|
||||||
+ tw.names.map(esc).join(', ') + (tw.count > tw.names.length ? ' and more' : '') + '. <a href="#line">Adopt them from My line</a>'
|
+ tw.names.map(esc).join(', ') + (tw.count > tw.names.length ? ' and more' : '') + '. <a href="#line">Adopt them from My line</a>'
|
||||||
+ (tw.eligible ? '.' : ' (you need your own $20 package first).')
|
+ (tw.eligible ? '.' : ' (you need your own $20 package first).')
|
||||||
+ (tw.ready ? ' <b style="color:var(--ok)">' + tw.ready + ' of them ' + (tw.ready === 1 ? 'has' : 'have') + ' linked a wallet and ' + (tw.ready === 1 ? 'is' : 'are') + ' ready to switch on payouts.</b>' : '');
|
+ (tw.ready ? ' <b style="color:#22c55e">' + tw.ready + ' of them ' + (tw.ready === 1 ? 'has' : 'have') + ' linked a wallet and ' + (tw.ready === 1 ? 'is' : 'are') + ' ready to switch on payouts.</b>' : '');
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
// Share the presentation (2026-10-15): instantadpay.com/presentation?ref=<username> sets the same sponsor cookie as /join
|
// Share the presentation (2026-10-15): instantadpay.com/presentation?ref=<username> sets the same sponsor cookie as /join
|
||||||
@@ -854,7 +853,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
const el = $(id);
|
const el = $(id);
|
||||||
if (!el || el.hidden || !el.offsetParent) { if (Date.now() - t0 < 20000) setTimeout(tick, 300); return; }
|
if (!el || el.hidden || !el.offsetParent) { if (Date.now() - t0 < 20000) setTimeout(tick, 300); return; }
|
||||||
el.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
el.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
||||||
el.style.transition = 'box-shadow .4s'; el.style.boxShadow = '0 0 0 3px var(--mint)';
|
el.style.transition = 'box-shadow .4s'; el.style.boxShadow = '0 0 0 3px #45e3c4';
|
||||||
setTimeout(() => { el.style.boxShadow = ''; }, 2600);
|
setTimeout(() => { el.style.boxShadow = ''; }, 2600);
|
||||||
const inp = inputId && $(inputId); if (inp && !inp.closest('[hidden]')) setTimeout(() => { try { inp.focus({ preventScroll: true }); } catch (e) {} }, 500);
|
const inp = inputId && $(inputId); if (inp && !inp.closest('[hidden]')) setTimeout(() => { try { inp.focus({ preventScroll: true }); } catch (e) {} }, 500);
|
||||||
};
|
};
|
||||||
@@ -917,7 +916,6 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
$('authArea').hidden = !!signedIn;
|
$('authArea').hidden = !!signedIn;
|
||||||
$('memberArea').hidden = !signedIn;
|
$('memberArea').hidden = !signedIn;
|
||||||
if ($('mcFinish')) $('mcFinish').hidden = !walletOnly;
|
if ($('mcFinish')) $('mcFinish').hidden = !walletOnly;
|
||||||
if (IAP.themeSync) IAP.themeSync(signedIn ? me : null); // appearance (2026-11-01): the account's theme wins at sign-in, a local choice is pushed up when the account has none
|
|
||||||
if (!signedIn) return;
|
if (!signedIn) return;
|
||||||
TANK_HOLD = (!me.memberId && me.tankHold) || null;
|
TANK_HOLD = (!me.memberId && me.tankHold) || null;
|
||||||
if ($('adminLink')) $('adminLink').hidden = !me.isAdmin; // admin portal link, only for ADMIN_EMAIL
|
if ($('adminLink')) $('adminLink').hidden = !me.isAdmin; // admin portal link, only for ADMIN_EMAIL
|
||||||
@@ -935,7 +933,6 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
if (me.returnTo === 'spookydoors' && !render.toGame) { render.toGame = true; location.href = '/api/my/spookydoors'; return; } // Spooky Doors sent them here to sign in (2026-10-02)
|
if (me.returnTo === 'spookydoors' && !render.toGame) { render.toGame = true; location.href = '/api/my/spookydoors'; return; } // Spooky Doors sent them here to sign in (2026-10-02)
|
||||||
if (me.returnTo === 'polybreak' && !render.toGame) { render.toGame = true; location.href = '/api/my/polybreak'; return; } // PolyBreak sent them here to sign in (2026-10-13)
|
if (me.returnTo === 'polybreak' && !render.toGame) { render.toGame = true; location.href = '/api/my/polybreak'; return; } // PolyBreak sent them here to sign in (2026-10-13)
|
||||||
if (me.returnTo === 'polminer' && !render.toGame) { render.toGame = true; location.href = '/api/my/polminer'; return; } // POL Miner sent them here to sign in (2026-10-28)
|
if (me.returnTo === 'polminer' && !render.toGame) { render.toGame = true; location.href = '/api/my/polminer'; return; } // POL Miner sent them here to sign in (2026-10-28)
|
||||||
if (me.returnTo === 'warpwares' && !render.toGame) { render.toGame = true; location.href = '/api/my/warpwares'; return; } // Warp & Wares sent them here to sign in (2026-10-29)
|
|
||||||
if (me.returnTo === 'turkeydrop' && !render.toGame) { render.toGame = true; location.href = '/api/my/turkeydrop'; return; } // Turkey Drop sent them here to sign in (2026-10-28)
|
if (me.returnTo === 'turkeydrop' && !render.toGame) { render.toGame = true; location.href = '/api/my/turkeydrop'; return; } // Turkey Drop sent them here to sign in (2026-10-28)
|
||||||
if (me.returnTo === 'shardsofvalor' && !render.toGame) { render.toGame = true; location.href = '/api/my/shardsofvalor'; return; } // Shards of Valor sent them here to sign in (2026-10-18)
|
if (me.returnTo === 'shardsofvalor' && !render.toGame) { render.toGame = true; location.href = '/api/my/shardsofvalor'; return; } // Shards of Valor sent them here to sign in (2026-10-18)
|
||||||
if (me.returnTo === 'pwmint' && !render.toGame) { render.toGame = true; location.href = '/pw/mint/resume'; return; } // PolyWarriors paid mint (2026-10-05)
|
if (me.returnTo === 'pwmint' && !render.toGame) { render.toGame = true; location.href = '/pw/mint/resume'; return; } // PolyWarriors paid mint (2026-10-05)
|
||||||
@@ -967,7 +964,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
const who = [];
|
const who = [];
|
||||||
if (me.email) who.push(me.email);
|
if (me.email) who.push(me.email);
|
||||||
// members kept asking whether the wallet was really connected (Marty, 2026-09-12): say it, with a green check
|
// members kept asking whether the wallet was really connected (Marty, 2026-09-12): say it, with a green check
|
||||||
if (me.address) who.push('<span style="display:inline-flex;align-items:center;gap:8px"><span aria-hidden="true" style="display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--ok);color:var(--ok-ink);font-weight:900;font-size:13px;line-height:1">✓</span><b style="color:var(--ok)">Wallet connected</b> <span class="mono">' + me.address.slice(0, 8) + '…' + me.address.slice(-6) + '</span></span>');
|
if (me.address) who.push('<span style="display:inline-flex;align-items:center;gap:8px"><span aria-hidden="true" style="display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#22c55e;color:#04140a;font-weight:900;font-size:13px;line-height:1">✓</span><b style="color:#22c55e">Wallet connected</b> <span class="mono">' + me.address.slice(0, 8) + '…' + me.address.slice(-6) + '</span></span>');
|
||||||
else who.push('<span style="display:inline-flex;align-items:center;gap:8px"><span aria-hidden="true" style="display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;border:2px solid var(--muted);color:var(--muted);font-weight:900;font-size:12px;line-height:1">!</span><b>No wallet connected yet</b> <span class="muted">(link one below)</span></span>');
|
else who.push('<span style="display:inline-flex;align-items:center;gap:8px"><span aria-hidden="true" style="display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;border:2px solid var(--muted);color:var(--muted);font-weight:900;font-size:12px;line-height:1">!</span><b>No wallet connected yet</b> <span class="muted">(link one below)</span></span>');
|
||||||
if (me.memberId) who.push('on-chain <b>member #' + me.memberId + '</b>'
|
if (me.memberId) who.push('on-chain <b>member #' + me.memberId + '</b>'
|
||||||
+ (me.onchainSponsorId ? ', sponsored by #' + me.onchainSponsorId : ''));
|
+ (me.onchainSponsorId ? ', sponsored by #' + me.onchainSponsorId : ''));
|
||||||
@@ -978,9 +975,8 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
loadPositions(me);
|
loadPositions(me);
|
||||||
$('linkCard').hidden = !!me.address;
|
$('linkCard').hidden = !!me.address;
|
||||||
$('activateCard').hidden = !(me.address && !me.memberId);
|
$('activateCard').hidden = !(me.address && !me.memberId);
|
||||||
renderBix(me); // BixPay Visa card: Wallet card, Overview announcement, Profile field, promo pill (2026-10-29; nothing while bixpayLive is off)
|
|
||||||
{ let hn = $('tankHoldNote'); // held for an adopter: say so, and no activate button
|
{ let hn = $('tankHoldNote'); // held for an adopter: say so, and no activate button
|
||||||
if (!hn) { hn = document.createElement('p'); hn.id = 'tankHoldNote'; hn.className = 'small'; hn.style.cssText = 'margin:8px 0 0;color:var(--ok)'; $('activateBtn').insertAdjacentElement('beforebegin', hn); }
|
if (!hn) { hn = document.createElement('p'); hn.id = 'tankHoldNote'; hn.className = 'small'; hn.style.cssText = 'margin:8px 0 0;color:#22c55e'; $('activateBtn').insertAdjacentElement('beforebegin', hn); }
|
||||||
hn.hidden = !TANK_HOLD; hn.textContent = TANK_HOLD ? tankHoldText(TANK_HOLD) : ''; $('activateBtn').hidden = !!TANK_HOLD; }
|
hn.hidden = !TANK_HOLD; hn.textContent = TANK_HOLD ? tankHoldText(TANK_HOLD) : ''; $('activateBtn').hidden = !!TANK_HOLD; }
|
||||||
runActivateIntent(me).catch(() => {}); // arrived from the one-tap "Switch on payouts" link (tank assignment chat/email)
|
runActivateIntent(me).catch(() => {}); // arrived from the one-tap "Switch on payouts" link (tank assignment chat/email)
|
||||||
$('activityArea').hidden = !me.memberId;
|
$('activityArea').hidden = !me.memberId;
|
||||||
@@ -1083,9 +1079,9 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
for (const t of p.tiers) {
|
for (const t of p.tiers) {
|
||||||
const me = t.paidTo === r.memberId, skippedMe = t.skipped.some(x => x.id === r.memberId);
|
const me = t.paidTo === r.memberId, skippedMe = t.skipped.some(x => x.id === r.memberId);
|
||||||
let line = '<b>Level ' + t.tier + ' (' + t.pct + '%)</b>: ';
|
let line = '<b>Level ' + t.tier + ' (' + t.pct + '%)</b>: ';
|
||||||
for (const x of t.skipped) line += '<span style="color:var(--warn)">' + nm(x.id) + ' skipped (' + (x.reason === 'unqualified' ? 'not qualified: had ' + x.buyersThen + ' of ' + (t.tier === 2 ? 2 : 5) + ' qualifying buyers then' : esc(x.reason)) + ')</span> → ';
|
for (const x of t.skipped) line += '<span style="color:#f0a742">' + nm(x.id) + ' skipped (' + (x.reason === 'unqualified' ? 'not qualified: had ' + x.buyersThen + ' of ' + (t.tier === 2 ? 2 : 5) + ' qualifying buyers then' : esc(x.reason)) + ')</span> → ';
|
||||||
line += t.paidTo ? '<span style="color:' + (me ? 'var(--ok)' : 'inherit') + '">' + nm(t.paidTo) + ' paid ' + pol(t.amountWei) + '</span>' : '<span class="muted">no eligible catcher within reach → company</span>';
|
line += t.paidTo ? '<span style="color:' + (me ? '#3ecf7a' : 'inherit') + '">' + nm(t.paidTo) + ' paid ' + pol(t.amountWei) + '</span>' : '<span class="muted">no eligible catcher within reach → company</span>';
|
||||||
h += '<div class="small" style="margin-top:4px' + (me || skippedMe ? ';background:var(--ink-faint);border-radius:6px;padding:2px 6px' : '') + '">' + line + '</div>';
|
h += '<div class="small" style="margin-top:4px' + (me || skippedMe ? ';background:rgba(255,255,255,.04);border-radius:6px;padding:2px 6px' : '') + '">' + line + '</div>';
|
||||||
}
|
}
|
||||||
h += '<div class="small muted" style="margin-top:4px">Platform (20%): ' + pol(p.adminWei) + (isBuyer ? '' : '') + '</div></div>';
|
h += '<div class="small muted" style="margin-top:4px">Platform (20%): ' + pol(p.adminWei) + (isBuyer ? '' : '') + '</div></div>';
|
||||||
}
|
}
|
||||||
@@ -1135,7 +1131,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
box.innerHTML = '<h4 style="margin:0 0 4px">Credit activity</h4>'
|
box.innerHTML = '<h4 style="margin:0 0 4px">Credit activity</h4>'
|
||||||
+ '<p class="muted small" style="margin:0 0 8px">Every credit that came in or went out, newest first. Earned credits are spent before purchased ones, so an earn followed by a buy shows as two lines here. Views a campaign delivers roll up into one line per day.</p>'
|
+ '<p class="muted small" style="margin:0 0 8px">Every credit that came in or went out, newest first. Earned credits are spent before purchased ones, so an earn followed by a buy shows as two lines here. Views a campaign delivers roll up into one line per day.</p>'
|
||||||
+ '<div class="tablewrap"><table class="camp-table act-table"><tbody>'
|
+ '<div class="tablewrap"><table class="camp-table act-table"><tbody>'
|
||||||
+ r.items.map(i => '<tr><td class="muted small" style="white-space:nowrap">' + when(i.ts) + '</td><td class="num" style="white-space:nowrap"><b style="color:' + (i.delta > 0 ? 'var(--ok)' : 'inherit') + '">' + (i.delta > 0 ? '+' : '') + i.delta.toLocaleString() + '</b></td><td>' + esc(i.note) + '</td></tr>').join('')
|
+ r.items.map(i => '<tr><td class="muted small" style="white-space:nowrap">' + when(i.ts) + '</td><td class="num" style="white-space:nowrap"><b style="color:' + (i.delta > 0 ? '#3ecf7a' : 'inherit') + '">' + (i.delta > 0 ? '+' : '') + i.delta.toLocaleString() + '</b></td><td>' + esc(i.note) + '</td></tr>').join('')
|
||||||
+ '</tbody></table></div>';
|
+ '</tbody></table></div>';
|
||||||
el.appendChild(box);
|
el.appendChild(box);
|
||||||
pageList('credits', box, 'tbody tr');
|
pageList('credits', box, 'tbody tr');
|
||||||
@@ -1195,7 +1191,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
if (!convSel || !goals.some(g => g.px === convSel)) convSel = goals[0].px;
|
if (!convSel || !goals.some(g => g.px === convSel)) convSel = goals[0].px;
|
||||||
const when = ts => ts ? new Date(ts).toLocaleString([], { month: 'short', day: 'numeric', hour: 'numeric', minute: '2-digit' }) : 'never';
|
const when = ts => ts ? new Date(ts).toLocaleString([], { month: 'short', day: 'numeric', hour: 'numeric', minute: '2-digit' }) : 'never';
|
||||||
list.innerHTML = '<div class="tablewrap"><table class="camp-table"><thead><tr><th>Goal</th><th class="num">Default value</th><th>Pixel id</th><th class="num">Conversions (30 days)</th><th>Last test</th><th></th></tr></thead><tbody>'
|
list.innerHTML = '<div class="tablewrap"><table class="camp-table"><thead><tr><th>Goal</th><th class="num">Default value</th><th>Pixel id</th><th class="num">Conversions (30 days)</th><th>Last test</th><th></th></tr></thead><tbody>'
|
||||||
+ goals.map(g => '<tr' + (g.px === convSel ? ' style="background:var(--cyan-soft)"' : '') + '><td data-l="Goal"><b>' + esc(g.name) + '</b></td>'
|
+ goals.map(g => '<tr' + (g.px === convSel ? ' style="background:rgba(120,160,255,.08)"' : '') + '><td data-l="Goal"><b>' + esc(g.name) + '</b></td>'
|
||||||
+ '<td class="num" data-l="Default value">' + (Number(g.value) > 0 ? esc(g.value) : '<span class="muted">none</span>') + '</td>'
|
+ '<td class="num" data-l="Default value">' + (Number(g.value) > 0 ? esc(g.value) : '<span class="muted">none</span>') + '</td>'
|
||||||
+ '<td data-l="Pixel id" class="mono small">' + esc(g.px) + '</td>'
|
+ '<td data-l="Pixel id" class="mono small">' + esc(g.px) + '</td>'
|
||||||
+ '<td class="num" data-l="Conversions (30 days)">' + Number(g.conv || 0).toLocaleString() + (g.lastAt ? '<div class="muted small">last ' + when(g.lastAt) + '</div>' : '') + '</td>'
|
+ '<td class="num" data-l="Conversions (30 days)">' + Number(g.conv || 0).toLocaleString() + (g.lastAt ? '<div class="muted small">last ' + when(g.lastAt) + '</div>' : '') + '</td>'
|
||||||
@@ -1903,7 +1899,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
const rows = listApply('tank', r.waiting).sort((a, b) => (b.ready ? 1 : 0) - (a.ready ? 1 : 0)); // ready to activate always on top (stable: the chosen order stays inside each group)
|
const rows = listApply('tank', r.waiting).sort((a, b) => (b.ready ? 1 : 0) - (a.ready ? 1 : 0)); // ready to activate always on top (stable: the chosen order stays inside each group)
|
||||||
el.innerHTML = '';
|
el.innerHTML = '';
|
||||||
el.appendChild(listBar('tank', r.waiting.length, rows.length, () => renderTank(el, r), { hide: ['payouts'] })); // nobody in the tank has payouts on
|
el.appendChild(listBar('tank', r.waiting.length, rows.length, () => renderTank(el, r), { hide: ['payouts'] })); // nobody in the tank has payouts on
|
||||||
const readyBadge = w => w.ready ? ' <span class="badge" style="background:var(--ok-soft);border-color:var(--ok);color:var(--ok)" title="Wallet linked. If nobody adopts them, the site assigns them to the next eligible adopter when the time runs out.">Ready to activate \u00b7 ' + (w.holdUntil > Date.now() ? holdLeft(w.holdUntil - Date.now()) + ' left' : 'assigning now') + '</span>' : '';
|
const readyBadge = w => w.ready ? ' <span class="badge" style="background:rgba(34,197,94,.15);border-color:#22c55e;color:#22c55e" title="Wallet linked. If nobody adopts them, the site assigns them to the next eligible adopter when the time runs out.">Ready to activate \u00b7 ' + (w.holdUntil > Date.now() ? holdLeft(w.holdUntil - Date.now()) + ' left' : 'assigning now') + '</span>' : '';
|
||||||
el.insertAdjacentHTML('beforeend', rows.length ? rows.map(w => '<div class="lin-row"><span class="nm">' + esc(w.name) + readyBadge(w) + '</span>'
|
el.insertAdjacentHTML('beforeend', rows.length ? rows.map(w => '<div class="lin-row"><span class="nm">' + esc(w.name) + readyBadge(w) + '</span>'
|
||||||
+ '<span class="em">joined ' + ago(w.joined) + '<span class="sp wrap">' + memberChips(w) + '</span></span>'
|
+ '<span class="em">joined ' + ago(w.joined) + '<span class="sp wrap">' + memberChips(w) + '</span></span>'
|
||||||
+ '<span class="dt">last sign-in: <b>' + ago(w.lastSeen) + '</b></span>'
|
+ '<span class="dt">last sign-in: <b>' + ago(w.lastSeen) + '</b></span>'
|
||||||
@@ -1967,68 +1963,6 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
loadWednesdayCard(); setInterval(loadWednesdayCard, 120000);
|
loadWednesdayCard(); setInterval(loadWednesdayCard, 120000);
|
||||||
// ── BixPay Visa card (2026-10-29, docs/BIXPAY-INTEGRATION.md). me.bix comes from /api/me: { live, own, link, whose, name, using, go, announce, clicks }.
|
|
||||||
// Copy is Marty's approved wording; no in-app swap claim, "3% per purchase, no load fee", the 31-states line. No em dashes.
|
|
||||||
// sign-up warning (2026-10-29, bizventures registered with referrer N/A): the BIX invite token lives only in the URL and their
|
|
||||||
// security check often fails inside app webviews, so members who reopen BIX elsewhere lose their sponsor
|
|
||||||
const BIX_SIGNUP_NOTE = 'Sign up on the page the button opens. Don’t install the BIX app first and don’t use the portal’s own Sign Up menu: your sponsor is lost and BIX shows the referrer as N/A.';
|
|
||||||
const bixInApp = () => { const u = navigator.userAgent || ''; return /FBAN|FBAV|FB_IAB|Instagram|Line\/|Twitter|Snapchat|GSA\/|Telegram|\bwv\b|WebView/i.test(u) || (/iPhone|iPad|iPod/.test(u) && !/Safari\//.test(u)); };
|
|
||||||
const BIX_INAPP_NOTE = 'You’re in an app’s built-in browser. BIX’s security check often fails here and your sponsor gets dropped: open instantadpay.com in Chrome or Safari first, then tap the button there.';
|
|
||||||
const BIX_BODY = 'BixPay is a self-custody wallet with a Visa card. Send USDT or USDC to it on Polygon, load the card, and spend it wherever Visa is accepted, including Apple Pay and Google Pay. Virtual cards from $9.99.';
|
|
||||||
const BIX_COMPLIANCE = 'BixPay is a separate company. BIX issues the wallet and the card through its banking partners and sets its own fees, limits, eligibility and terms. InstantAdPay is not the card issuer and earns a referral commission when you sign up through a partner link. Card availability varies by country. Crypto assets can lose value.';
|
|
||||||
function renderBix(me) {
|
|
||||||
const b = (me && me.bix) || { live: false };
|
|
||||||
const pill = document.querySelector('.promo-pills [data-promo="bixpay"]');
|
|
||||||
if (pill) pill.hidden = !b.live;
|
|
||||||
if ($('pfBixCard')) $('pfBixCard').hidden = !b.live;
|
|
||||||
const wc = $('bixWalletCard'), oc = $('bixCard');
|
|
||||||
if (!b.live || b.error) { if (wc) wc.hidden = true; if (oc) oc.hidden = true; if (!b.live && pill && pill.classList.contains('on')) setPromoSub('posts'); return; }
|
|
||||||
// Wallet tab (primary)
|
|
||||||
if (wc) {
|
|
||||||
wc.hidden = false;
|
|
||||||
wc.innerHTML = '<div class="card-head"><h3>Spend your POL anywhere with a BixPay Visa card</h3><span class="sub">a separate company; your partner link rides along</span></div>'
|
|
||||||
+ '<p>' + esc(BIX_BODY) + '</p>'
|
|
||||||
+ '<p class="small">3% per purchase, no load fee. See BIX\'s terms for other charges. Available in 31 US states so far. Not in your state yet? You can still get the wallet and build.</p>'
|
|
||||||
+ '<p style="display:flex;gap:8px;flex-wrap:wrap;align-items:center"><a class="btn" id="bixWalletGo" href="' + esc(b.go.wallet) + '" target="_blank" rel="noopener">Get your BixPay card</a> <a class="btn sec" href="/bixpay" target="_blank" rel="noopener">How it works</a></p>'
|
|
||||||
+ '<p class="small muted" id="bixWalletUsing" style="margin:6px 0 0">' + esc(b.whose === 'you' ? b.using : b.using.replace(/\s*Add yours in Profile\.$/, '')) + (b.whose !== 'you' ? ' <a href="#profile" data-goto="profile" style="color:var(--mint)">Add yours in Profile</a>' : '') + '</p>'
|
|
||||||
+ '<p class="small" id="bixWalletNote" style="margin:6px 0 0"><b>' + esc(BIX_SIGNUP_NOTE.split('. ')[0]) + '.</b> ' + esc(BIX_SIGNUP_NOTE.slice(BIX_SIGNUP_NOTE.indexOf('. ') + 2)) + '</p>'
|
|
||||||
+ (bixInApp() ? '<p class="small" id="bixWalletInApp" style="margin:6px 0 0;border:1px solid var(--amber-line);background:var(--amber-soft);border-radius:8px;padding:8px 10px">' + esc(BIX_INAPP_NOTE) + '</p>' : '')
|
|
||||||
+ '<details class="small muted" style="margin-top:8px"><summary style="cursor:pointer">The fine print</summary><p style="margin:6px 0 0">' + esc(BIX_COMPLIANCE) + '</p></details>';
|
|
||||||
wc.querySelectorAll('[data-goto="profile"]').forEach(a => a.addEventListener('click', e => { e.preventDefault(); const m = document.querySelector('.bo-menu [data-pane="profile"]'); if (m) m.click(); setTimeout(() => { const i = $('pfBixLink'); if (i) { i.scrollIntoView({ behavior: 'smooth', block: 'center' }); i.focus(); } }, 300); }));
|
|
||||||
}
|
|
||||||
// Overview: a one-line announcement the first week, dismissable for 24 h like the other cards
|
|
||||||
if (oc) {
|
|
||||||
if (!b.announce || cardHidden('bix')) oc.hidden = true;
|
|
||||||
else {
|
|
||||||
oc.hidden = false;
|
|
||||||
oc.innerHTML = '<div class="card-head"><h3>\u{1F4B3} New: a Visa card for your POL</h3><span class="sub">BixPay, a separate company</span></div>'
|
|
||||||
+ '<p>' + esc(BIX_BODY) + ' 3% per purchase, no load fee.</p>'
|
|
||||||
+ '<p style="display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0"><a class="btn small" href="' + esc(b.go.overview) + '" target="_blank" rel="noopener">Get your BixPay card</a> <a class="btn small sec" href="/bixpay" target="_blank" rel="noopener">How it works</a> <span class="small muted">' + esc(b.using) + '</span></p>'
|
|
||||||
+ '<p class="small muted" style="margin:6px 0 0">' + esc(BIX_SIGNUP_NOTE) + '</p>';
|
|
||||||
cardDismiss(oc, 'bix');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Profile field
|
|
||||||
fillBixProfile(b);
|
|
||||||
// Promo tools tab (promo.js)
|
|
||||||
if (window.IAPPromo && IAPPromo.fillBix) IAPPromo.fillBix(me);
|
|
||||||
}
|
|
||||||
function fillBixProfile(b) {
|
|
||||||
const i = $('pfBixLink'), st = $('pfBixStatus'); if (!i || !st) return;
|
|
||||||
if (document.activeElement !== i) i.value = b.own || '';
|
|
||||||
st.innerHTML = b.own
|
|
||||||
? '<span style="color:var(--mint)">Saved.</span> Your pages, posts and banners carry your own partner link.'
|
|
||||||
: (b.whose === 'sponsor' ? 'Not set yet. Until you add yours, your pages carry ' + esc(b.name) + '\'s link.' : 'Not set yet. Until you add yours, your pages carry the network link.');
|
|
||||||
}
|
|
||||||
if ($('pfBixSave')) $('pfBixSave').addEventListener('click', busy2($('pfBixSave'), async () => {
|
|
||||||
const link = $('pfBixLink').value.trim();
|
|
||||||
if (!link && !(await IAP.confirmBox('Remove your BixPay partner link? Your pages go back to your sponsor\'s link (or the network link).', { title: 'Remove the link', ok: 'Remove it', cancel: 'Keep it' }))) return;
|
|
||||||
try {
|
|
||||||
const r = await api('/api/my/bixpay', { link });
|
|
||||||
IAP.status(link ? 'BixPay partner link saved.' : 'BixPay partner link removed.', 'ok');
|
|
||||||
const me = await (await fetch('/api/me')).json(); renderBix(me);
|
|
||||||
} catch (e) { $('pfBixStatus').innerHTML = '<span style="color:var(--bad)">' + esc(e.message) + '</span>'; IAP.status(e.message, 'bad'); }
|
|
||||||
}));
|
|
||||||
|
|
||||||
// ---- Game Pass (2026-10-16, docs/GAME-PASS.md): $5 for 7 days across every network game. More game, never "earn more". ----
|
// ---- Game Pass (2026-10-16, docs/GAME-PASS.md): $5 for 7 days across every network game. More game, never "earn more". ----
|
||||||
// (2026-10-28) the copy names no game count: seasonal games come and go (Spooky Doors ends Oct 31, Turkey Drop runs Nov 2 to 30)
|
// (2026-10-28) the copy names no game count: seasonal games come and go (Spooky Doors ends Oct 31, Turkey Drop runs Nov 2 to 30)
|
||||||
@@ -2050,7 +1984,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
const gpLen = d => d >= 365 && d % 365 === 0 ? (d === 365 ? '1 year' : (d / 365) + ' years') : d + ' days';
|
const gpLen = d => d >= 365 && d % 365 === 0 ? (d === 365 ? '1 year' : (d / 365) + ' years') : d + ' days';
|
||||||
function renderPassTiers(card, gp, highlight) {
|
function renderPassTiers(card, gp, highlight) {
|
||||||
const rows = gp.passes || []; const top = rows.find(r => r.tier === gp.tier);
|
const rows = gp.passes || []; const top = rows.find(r => r.tier === gp.tier);
|
||||||
const state = top ? '<span class="badge" style="background:var(--gold);color:var(--gold-ink)">' + esc(top.name) + ' active · until ' + esc(gpCT(top.until)) + '</span>'
|
const state = top ? '<span class="badge" style="background:var(--gold,#e2b04a);color:#111">' + esc(top.name) + ' active · until ' + esc(gpCT(top.until)) + '</span>'
|
||||||
: '<span class="badge">No pass active</span>';
|
: '<span class="badge">No pass active</span>';
|
||||||
const caps = gp.caps || {};
|
const caps = gp.caps || {};
|
||||||
const capsLine = caps.enforced ? 'Today: <b>' + gpPol(caps.used && caps.used.total) + '</b> of ' + gpPol(caps.total) + ' POL used across the games (' + gpPol(caps.used && caps.used.daily) + ' of ' + gpPol(caps.daily) + ' on daily play).' : '';
|
const capsLine = caps.enforced ? 'Today: <b>' + gpPol(caps.used && caps.used.total) + '</b> of ' + gpPol(caps.total) + ' POL used across the games (' + gpPol(caps.used && caps.used.daily) + ' of ' + gpPol(caps.daily) + ' on daily play).' : '';
|
||||||
@@ -2096,13 +2030,12 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
['SpellWheel', 'daily streak pays 0.30 POL instead of 0.15, plus 1 free hint a day'],
|
['SpellWheel', 'daily streak pays 0.30 POL instead of 0.15, plus 1 free hint a day'],
|
||||||
['PolyBreak', 'daily gem limit 1.5 POL instead of 0.5, plus an extra paddle every round'],
|
['PolyBreak', 'daily gem limit 1.5 POL instead of 0.5, plus an extra paddle every round'],
|
||||||
['POL Miner', 'daily crystal limit 1.5 POL instead of 0.5, plus one free supply crate every day'],
|
['POL Miner', 'daily crystal limit 1.5 POL instead of 0.5, plus one free supply crate every day'],
|
||||||
['Warp & Wares', 'the Season Pass: a hull step up, a second base slot, a named ship, a team banner and gold badges (never turns or prizes)', 'warpwares'],
|
|
||||||
['Turkey Drop', 'one free \u201cback on the air\u201d extra life every day', 'turkeydrop'],
|
['Turkey Drop', 'one free \u201cback on the air\u201d extra life every day', 'turkeydrop'],
|
||||||
['PolyWarriors', 'a 4th daily mission, and defense pays 25 Circuits instead of 15'],
|
['PolyWarriors', 'a 4th daily mission, and defense pays 25 Circuits instead of 15'],
|
||||||
['Drip Runner', 'a free shield at the start of every run'],
|
['Drip Runner', 'a free shield at the start of every run'],
|
||||||
['Road Agent', '2 patrols a day and 25% more scrap']
|
['Road Agent', '2 patrols a day and 25% more scrap']
|
||||||
];
|
];
|
||||||
let gpShown = null; // slugs in the public games list (gamesLive, seasons applied): a perk row with a slug shows only while its game does (2026-10-29)
|
let gpShown = null; // slugs in the public games list (gamesLive, seasons applied): a row with a slug shows only while its game does
|
||||||
async function gpShownLoad() { if (gpShown) return gpShown; try { const d = await (await fetch('/api/public/games')).json(); gpShown = new Set((d.games || []).map(g => g.slug)); } catch (e) { gpShown = new Set(); } return gpShown; }
|
async function gpShownLoad() { if (gpShown) return gpShown; try { const d = await (await fetch('/api/public/games')).json(); gpShown = new Set((d.games || []).map(g => g.slug)); } catch (e) { gpShown = new Set(); } return gpShown; }
|
||||||
function gpPerksHtml() {
|
function gpPerksHtml() {
|
||||||
return '<div class="gp-perks"><p style="margin:10px 0 6px"><b>What you get</b></p>'
|
return '<div class="gp-perks"><p style="margin:10px 0 6px"><b>What you get</b></p>'
|
||||||
@@ -2121,9 +2054,9 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
if ((gp.passes || []).some(r => r.tier !== 'weekly')) return renderPassTiers(card, gp, highlight);
|
if ((gp.passes || []).some(r => r.tier !== 'weekly')) return renderPassTiers(card, gp, highlight);
|
||||||
// Five Dollar Friday + the pass (Marty 2026-10-23): the package that starts the pass also gets the Friday bonus, so say so on Fridays
|
// Five Dollar Friday + the pass (Marty 2026-10-23): the package that starts the pass also gets the Friday bonus, so say so on Fridays
|
||||||
let fdf = ''; try { const f = await (await fetch('/api/friday')).json(); if (f && f.on && f.live) { const base = gp.price || 500, got = Math.round(base * (1 + (Number(f.pct) || 20) / 100));
|
let fdf = ''; try { const f = await (await fetch('/api/friday')).json(); if (f && f.on && f.live) { const base = gp.price || 500, got = Math.round(base * (1 + (Number(f.pct) || 20) / 100));
|
||||||
fdf = '<p style="margin:0 0 10px;padding:8px 10px;border-radius:8px;background:var(--gold-soft);border:1px solid var(--gold-line)">\u{1F383} <b>It\u2019s Five Dollar Friday.</b> The $' + (gp.usd || 5) + ' package that starts your pass gets +' + (Number(f.pct) || 20) + '% too, so you get the ' + (gp.days || 7) + '-day pass <b>and keep ' + got.toLocaleString() + ' ad credits</b>. Tap Get the Pass first, then buy the package.</p>'; } } catch (e) {} // the tier boxes above show only when a tier above weekly is on sale or the member holds one (never an admin-only view: tier tests live in Admin > Game Pass)
|
fdf = '<p style="margin:0 0 10px;padding:8px 10px;border-radius:8px;background:rgba(226,176,74,.12);border:1px solid rgba(226,176,74,.35)">\u{1F383} <b>It\u2019s Five Dollar Friday.</b> The $' + (gp.usd || 5) + ' package that starts your pass gets +' + (Number(f.pct) || 20) + '% too, so you get the ' + (gp.days || 7) + '-day pass <b>and keep ' + got.toLocaleString() + ' ad credits</b>. Tap Get the Pass first, then buy the package.</p>'; } } catch (e) {} // the tier boxes above show only when a tier above weekly is on sale or the member holds one (never an admin-only view: tier tests live in Admin > Game Pass)
|
||||||
const caps = gp.caps || {}; const price = gp.price || 500;
|
const caps = gp.caps || {}; const price = gp.price || 500;
|
||||||
const state = gp.active ? '<span class="badge" style="background:var(--gold);color:var(--gold-ink)">Pass active \u00b7 until ' + esc(gpDate(gp.until)) + '</span>'
|
const state = gp.active ? '<span class="badge" style="background:var(--gold,#e2b04a);color:#111">Pass active \u00b7 until ' + esc(gpDate(gp.until)) + '</span>'
|
||||||
: gp.waiting ? '<span class="badge amber">Waiting for a $' + (gp.usd || 5) + ' package</span>' : '<span class="badge">Not active</span>';
|
: gp.waiting ? '<span class="badge amber">Waiting for a $' + (gp.usd || 5) + ' package</span>' : '<span class="badge">Not active</span>';
|
||||||
const capsLine = caps.enforced
|
const capsLine = caps.enforced
|
||||||
? 'Today: <b>' + gpPol(caps.used && caps.used.total) + '</b> of ' + gpPol(caps.total) + ' POL used across the games (' + gpPol(caps.used && caps.used.daily) + ' of ' + gpPol(caps.daily) + ' on daily play).'
|
? 'Today: <b>' + gpPol(caps.used && caps.used.total) + '</b> of ' + gpPol(caps.total) + ' POL used across the games (' + gpPol(caps.used && caps.used.daily) + ' of ' + gpPol(caps.daily) + ' on daily play).'
|
||||||
@@ -2161,7 +2094,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
if (cardHidden('gpnudge')) { card.hidden = true; return; }
|
if (cardHidden('gpnudge')) { card.hidden = true; return; }
|
||||||
let gp = null; try { gp = await (await fetch('/api/my/gamepass')).json(); } catch (e) {}
|
let gp = null; try { gp = await (await fetch('/api/my/gamepass')).json(); } catch (e) {}
|
||||||
if (!gp || !gp.enabled || gp.active || !gp.lastCapHit || gp.lastCapHit.pass) { card.hidden = true; return; }
|
if (!gp || !gp.enabled || gp.active || !gp.lastCapHit || gp.lastCapHit.pass) { card.hidden = true; return; }
|
||||||
const NAMES = { polhunter: 'PolHunter', gemkingdom: 'Gem Kingdom', spellwheel: 'SpellWheel', spookydoors: 'Spooky Doors', polywarriors: 'PolyWarriors', clutterhunt: 'ClutterHunt', polybreak: 'PolyBreak', polminer: 'POL Miner', warpwares: 'Warp & Wares', turkeydrop: 'Turkey Drop', driprunner: 'Drip Runner', roadagent: 'Road Agent' };
|
const NAMES = { polhunter: 'PolHunter', gemkingdom: 'Gem Kingdom', spellwheel: 'SpellWheel', spookydoors: 'Spooky Doors', polywarriors: 'PolyWarriors', clutterhunt: 'ClutterHunt', polybreak: 'PolyBreak', polminer: 'POL Miner', turkeydrop: 'Turkey Drop', driprunner: 'Drip Runner', roadagent: 'Road Agent' };
|
||||||
card.hidden = false;
|
card.hidden = false;
|
||||||
card.innerHTML = '<div class="card-head"><h3>\u{1F39F}\uFE0F You reached today\u2019s free cap in ' + esc(NAMES[gp.lastCapHit.game] || 'the games') + '</h3><span class="sub">free play keeps paying; the Pass plays more</span></div>'
|
card.innerHTML = '<div class="card-head"><h3>\u{1F39F}\uFE0F You reached today\u2019s free cap in ' + esc(NAMES[gp.lastCapHit.game] || 'the games') + '</h3><span class="sub">free play keeps paying; the Pass plays more</span></div>'
|
||||||
+ '<p>Every member earns real POL in the games up to the daily cap. The <b>Game Pass</b> raises the caps across all the games for ' + (gp.days || 7) + ' days ($' + (gp.usd || 5) + ', paid with a new package), adds the weekly Pass Tournament and a perk in every game.</p>'
|
+ '<p>Every member earns real POL in the games up to the daily cap. The <b>Game Pass</b> raises the caps across all the games for ' + (gp.days || 7) + ' days ($' + (gp.usd || 5) + ', paid with a new package), adds the weekly Pass Tournament and a perk in every game.</p>'
|
||||||
@@ -2695,7 +2628,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
if ($('tkGo')) { $('tkGo').addEventListener('click', tkGenerate); $('tkAgain').addEventListener('click', tkGenerate); $('tkCopy').addEventListener('click', async () => { try { await navigator.clipboard.writeText($('tkText').value); IAP.status('Copied.', 'ok'); } catch (e) { $('tkText').select(); } }); $('tkSendBc').addEventListener('click', tkSendBroadcast); }
|
if ($('tkGo')) { $('tkGo').addEventListener('click', tkGenerate); $('tkAgain').addEventListener('click', tkGenerate); $('tkCopy').addEventListener('click', async () => { try { await navigator.clipboard.writeText($('tkText').value); IAP.status('Copied.', 'ok'); } catch (e) { $('tkText').select(); } }); $('tkSendBc').addEventListener('click', tkSendBroadcast); }
|
||||||
// promo tools: pill menu switches between posts / swipes / banners / wall / videos
|
// promo tools: pill menu switches between posts / swipes / banners / wall / videos
|
||||||
function setPromoSub(name) {
|
function setPromoSub(name) {
|
||||||
const ids = ['toolkit', 'posts', 'text', 'swipe', 'banners', 'wall', 'objections', 'videos', 'viral', 'games', 'bixpay']; // bixpay: the BixPay partner kit, pill hidden while bixpayLive is off (2026-10-29)
|
const ids = ['toolkit', 'posts', 'text', 'swipe', 'banners', 'wall', 'objections', 'videos', 'viral', 'games'];
|
||||||
if (['polhunter', 'spookydoors', 'gamebanners'].includes(name)) name = 'games'; // those tabs live inside Games now (2026-10-06)
|
if (['polhunter', 'spookydoors', 'gamebanners'].includes(name)) name = 'games'; // those tabs live inside Games now (2026-10-06)
|
||||||
if (name === 'toolkit') loadToolkit();
|
if (name === 'toolkit') loadToolkit();
|
||||||
const pill = document.querySelector('.promo-pills [data-promo="' + name + '"]');
|
const pill = document.querySelector('.promo-pills [data-promo="' + name + '"]');
|
||||||
@@ -3474,7 +3407,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
for (const p of SOCIALS) body.socials[p] = ($('soc-' + p) && $('soc-' + p).value.trim()) || '';
|
for (const p of SOCIALS) body.socials[p] = ($('soc-' + p) && $('soc-' + p).value.trim()) || '';
|
||||||
if (pfAvatar) body.avatarUrl = pfAvatar;
|
if (pfAvatar) body.avatarUrl = pfAvatar;
|
||||||
const r = await api('/api/my/profile-details', body);
|
const r = await api('/api/my/profile-details', body);
|
||||||
IAP.status(r.notice ? 'Profile saved. ' + r.notice : 'Profile saved.', 'ok');
|
IAP.status('Profile saved.', 'ok');
|
||||||
if (r.account) fillProfileDetails(r.account);
|
if (r.account) fillProfileDetails(r.account);
|
||||||
}));
|
}));
|
||||||
$('lbUploadBtn').addEventListener('click', () => $('lbFile').click());
|
$('lbUploadBtn').addEventListener('click', () => $('lbFile').click());
|
||||||
@@ -3741,7 +3674,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
|||||||
(function () {
|
(function () {
|
||||||
const btn = document.getElementById('promoApply'), inp = document.getElementById('promoCode'), msg = document.getElementById('promoMsg');
|
const btn = document.getElementById('promoApply'), inp = document.getElementById('promoCode'), msg = document.getElementById('promoMsg');
|
||||||
if (!btn || !inp) return;
|
if (!btn || !inp) return;
|
||||||
const say = (t, ok) => { msg.hidden = false; msg.textContent = t; msg.style.color = ok ? 'var(--mint)' : 'var(--bad)'; };
|
const say = (t, ok) => { msg.hidden = false; msg.textContent = t; msg.style.color = ok ? 'var(--mint)' : '#ff8a8a'; };
|
||||||
const go = async () => {
|
const go = async () => {
|
||||||
const code = inp.value.trim(); if (!code) { say('Enter a promo code.', false); return; }
|
const code = inp.value.trim(); if (!code) { say('Enter a promo code.', false); return; }
|
||||||
btn.disabled = true;
|
btn.disabled = true;
|
||||||
@@ -3766,9 +3699,9 @@ async function loadFridayBank() {
|
|||||||
const wd = d => WD[new Date(d + 'T12:00:00Z').getUTCDay()];
|
const wd = d => WD[new Date(d + 'T12:00:00Z').getUTCDay()];
|
||||||
document.getElementById('fbankCount').textContent = b.banked + ' banked';
|
document.getElementById('fbankCount').textContent = b.banked + ' banked';
|
||||||
document.getElementById('fbankDays').innerHTML = (b.days || []).map(d => {
|
document.getElementById('fbankDays').innerHTML = (b.days || []).map(d => {
|
||||||
const st = d.banked ? ['var(--mint)', '✓'] : d.future ? ['var(--line-strong)', '·'] : d.day === b.today ? ['var(--amber)', '○'] : ['var(--line-strong)', '×'];
|
const st = d.banked ? ['#43e8c3', '✓'] : d.future ? ['var(--line-strong)', '·'] : d.day === b.today ? ['#ffb238', '○'] : ['var(--line-strong)', '×'];
|
||||||
return '<span title="' + d.day + '" style="display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;border:1px solid ' + st[0] + ';font-size:13px"><b style="color:' + st[0] + '">' + st[1] + '</b>' + wd(d.day) + '</span>';
|
return '<span title="' + d.day + '" style="display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;border:1px solid ' + st[0] + ';font-size:13px"><b style="color:' + st[0] + '">' + st[1] + '</b>' + wd(d.day) + '</span>';
|
||||||
}).join('') + '<span style="display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:var(--violet-soft);font-size:13px">Fri: +' + b.banked + ' hunts</span>';
|
}).join('') + '<span style="display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:rgba(180,140,255,.18);font-size:13px">Fri: +' + b.banked + ' hunts</span>';
|
||||||
const t = (b.days || []).find(d => d.day === b.today);
|
const t = (b.days || []).find(d => d.day === b.today);
|
||||||
let msg = '';
|
let msg = '';
|
||||||
if (b.isFriday) msg = b.banked ? '<b>It\'s Friday.</b> Your ' + b.banked + ' banked hunt' + (b.banked === 1 ? '' : 's') + ' are live on <a href="/api/my/polhunter">PolHunter</a> today.' : 'It\'s Friday. Bank hunts Saturday through Thursday for next Friday.';
|
if (b.isFriday) msg = b.banked ? '<b>It\'s Friday.</b> Your ' + b.banked + ' banked hunt' + (b.banked === 1 ? '' : 's') + ' are live on <a href="/api/my/polhunter">PolHunter</a> today.' : 'It\'s Friday. Bank hunts Saturday through Thursday for next Friday.';
|
||||||
|
|||||||
@@ -295,22 +295,6 @@ window.IAPPromo = (function () {
|
|||||||
{ name: 'Short post', text: 'Every game in the InstantAdPay network on one page: a word puzzle, a hidden-object hunt, a match-3, a runner, a scavenger hunt, a cyberpunk battler, a brick breaker, a mining game. Free to play, and they pay POL to the wallet on your account. {L}' },
|
{ name: 'Short post', text: 'Every game in the InstantAdPay network on one page: a word puzzle, a hidden-object hunt, a match-3, a runner, a scavenger hunt, a cyberpunk battler, a brick breaker, a mining game. Free to play, and they pay POL to the wallet on your account. {L}' },
|
||||||
{ name: 'Friendly post', text: 'If you like small games that actually pay something, this is the page I send people. Every one is free, and they all pay POL on Polygon for first clears, levels, bosses and daily puzzles. Pick one: {L}' },
|
{ name: 'Friendly post', text: 'If you like small games that actually pay something, this is the page I send people. Every one is free, and they all pay POL on Polygon for first clears, levels, bosses and daily puzzles. Pick one: {L}' },
|
||||||
{ name: 'Telegram or WhatsApp line', text: 'All the games that pay POL, one page, free to play: {L}' }] },
|
{ name: 'Telegram or WhatsApp line', text: 'All the games that pay POL, one page, free to play: {L}' }] },
|
||||||
// EnjoyBestGames arcade (2026-10-31, Marty): the engagement site. Hundreds of free HTML5 games draw the crowd; the featured
|
|
||||||
// "Games that pay Polygon" row is the only part that pays, and every game link there carries the member's ref through the
|
|
||||||
// ?r= cookie (30 days). The site's own images live on the game-banners CDN like the other kits.
|
|
||||||
{ slug: 'enjoybestgames', name: 'EnjoyBestGames arcade', link: 'https://enjoybestgames.com/?r=', img: CDN + 'enjoybestgames/og-enjoybestgames.jpg', sub: 'free arcade, the Polygon games pay',
|
|
||||||
note: 'EnjoyBestGames is an engagement site: hundreds of free HTML5 games people already search for. The featured row, Games that pay Polygon, is our network games, and those are the only ones that pay. The rest are there to draw the crowd and keep them on the site. Your link sets a 30-day cookie, so anyone who plays a featured game or clicks the strip lands on InstantAdPay as your referral.',
|
|
||||||
posts: [
|
|
||||||
{ name: 'Short post', text: 'Free games site I keep open on my phone: hundreds of HTML5 games, nothing to install. The featured row is the games that pay Polygon to your wallet when you clear levels and bosses. Play free: {L}' },
|
|
||||||
{ name: 'Friendly post', text: 'If you like casual games, bookmark this one. EnjoyBestGames has hundreds of free games in every genre, and a featured row of games that actually pay POL on Polygon for first clears and daily puzzles. Start with any of them: {L}' },
|
|
||||||
{ name: 'Casual gamer angle', text: 'Puzzle, racing, arcade, word games, match-3. All free, all in the browser. And the Games that pay Polygon row does what it says. {L}' },
|
|
||||||
{ name: 'Telegram or WhatsApp line', text: 'Hundreds of free games, and the Polygon ones pay: {L}' }] },
|
|
||||||
// Warp & Wares (2026-10-29, the 30-day season game): shows once 'warpwares' is in the public games list (gamesLive, in season)
|
|
||||||
{ slug: 'warpwares', name: 'Warp & Wares', link: 'https://warpwares.saasy.top/?ref=', img: 'https://warpwares.saasy.top/og-warpwares.jpg', sub: 'space trading season that pays Polygon',
|
|
||||||
posts: [
|
|
||||||
{ name: 'Short post', text: 'Warp & Wares is a free 30-day space trading season. One shared galaxy, 200 turns a day for everyone: buy low, sell high, hold your sectors, build a base, run a team. The weekly territory and trader prizes pay Polygon, and the season leaderboard pays at the close. {L}' },
|
|
||||||
{ name: 'Friendly post', text: 'If you ever played Trade Wars on a BBS, this is that feeling again, on your phone. Warp & Wares: 30 days, 1,200 sectors, three goods, a team of five, and prizes in Polygon at published positions. Free to play: {L}' },
|
|
||||||
{ name: 'Telegram or WhatsApp line', text: 'New season game in the network: Warp & Wares. 200 turns a day, trade and hold territory, weekly Polygon prizes. Free: {L}' }] },
|
|
||||||
// Turkey Drop (2026-10-28, the Thanksgiving season game): shows only while it is in the public games list (gamesLive, through Nov 30) and from Nov 2
|
// Turkey Drop (2026-10-28, the Thanksgiving season game): shows only while it is in the public games list (gamesLive, through Nov 30) and from Nov 2
|
||||||
{ slug: 'turkeydrop', name: 'Turkey Drop', link: 'https://turkeydropgame.com/?ref=', img: 'https://coolify-saasytop.nyc3.cdn.digitaloceanspaces.com/game-banners/turkeydrop/og-turkeydrop.jpg', sub: 'Thanksgiving game that pays Polygon, through Nov 30',
|
{ slug: 'turkeydrop', name: 'Turkey Drop', link: 'https://turkeydropgame.com/?ref=', img: 'https://coolify-saasytop.nyc3.cdn.digitaloceanspaces.com/game-banners/turkeydrop/og-turkeydrop.jpg', sub: 'Thanksgiving game that pays Polygon, through Nov 30',
|
||||||
posts: [
|
posts: [
|
||||||
@@ -350,11 +334,10 @@ window.IAPPromo = (function () {
|
|||||||
posts: [
|
posts: [
|
||||||
{ name: 'Short post', text: 'Drip Runner is a quick free runner game. Hop the network, dodge the drones, clear chapters and refuel for POL rewards. Play in your browser: {L}' },
|
{ name: 'Short post', text: 'Drip Runner is a quick free runner game. Hop the network, dodge the drones, clear chapters and refuel for POL rewards. Play in your browser: {L}' },
|
||||||
{ name: 'Friendly post', text: 'Got two minutes? Drip Runner is a fast little runner game I keep coming back to. See how far you get: {L}' }] },
|
{ name: 'Friendly post', text: 'Got two minutes? Drip Runner is a fast little runner game I keep coming back to. See how far you get: {L}' }] },
|
||||||
{ slug: 'clutterhunt', name: 'ClutterHunt', link: 'https://clutterhunt.com/?ref=', img: 'https://coolify-saasytop.nyc3.cdn.digitaloceanspaces.com/game-banners/clutterhunt/og-harvest-farmhouse.jpg', sub: 'hidden-object game, Harvest Farmhouse rooms through Nov 30',
|
{ slug: 'clutterhunt', name: 'ClutterHunt', link: 'https://clutterhunt.com/?ref=', img: 'https://clutterhunt.com/og-clutterhunt.jpg', sub: 'seasonal hidden-object game',
|
||||||
posts: [
|
posts: [
|
||||||
{ name: 'Short post', text: 'ClutterHunt is a free hidden-object game, and the Harvest Farmhouse just opened: six new rooms through Nov 30, a clock running, and everything moves each time you play. First clears pay POL. Can you three-star Expert? {L}' },
|
{ name: 'Short post', text: 'ClutterHunt is a free hidden-object game. Six rooms to search, a clock running, and everything moves each time you play. Can you three-star Expert? {L}' },
|
||||||
{ name: 'Friendly post', text: 'If you like spot-the-object puzzles, try ClutterHunt. New farmhouse rooms this month, free in your browser, with POL rewards for clearing rooms: {L}' },
|
{ name: 'Friendly post', text: 'If you like spot-the-object puzzles, try ClutterHunt. Free in your browser, with POL rewards for clearing rooms: {L}' }] },
|
||||||
{ name: 'Telegram or WhatsApp line', text: 'ClutterHunt has six new Harvest Farmhouse rooms through Nov 30. Free hidden-object game, first clears pay POL: {L}' }] },
|
|
||||||
{ slug: 'spellwheel', name: 'SpellWheel', link: 'https://spellwheel.com/?ref=', img: 'https://spellwheel.com/og-spellwheel.jpg', sub: 'letter-wheel word game',
|
{ slug: 'spellwheel', name: 'SpellWheel', link: 'https://spellwheel.com/?ref=', img: 'https://spellwheel.com/og-spellwheel.jpg', sub: 'letter-wheel word game',
|
||||||
posts: [
|
posts: [
|
||||||
{ name: 'Short post', text: 'SpellWheel is a free word game. Swipe the letters on the wheel to fill the grid, one place at a time.' + (preLaunch(2026, 10, 10) ? ' Opens Saturday Oct 10.' : '') + ' {L}' },
|
{ name: 'Short post', text: 'SpellWheel is a free word game. Swipe the letters on the wheel to fill the grid, one place at a time.' + (preLaunch(2026, 10, 10) ? ' Opens Saturday Oct 10.' : '') + ' {L}' },
|
||||||
@@ -362,7 +345,7 @@ window.IAPPromo = (function () {
|
|||||||
{ slug: 'spookydoors', name: 'Spooky Doors', link: 'https://spookydoors.com/?ref=', kit: 'promo-spookydoors', seasonal: true },
|
{ slug: 'spookydoors', name: 'Spooky Doors', link: 'https://spookydoors.com/?ref=', kit: 'promo-spookydoors', seasonal: true },
|
||||||
{ slug: 'polhunter', name: 'PolHunter', link: 'https://polhunter.com/?r=', kit: 'promo-polhunter' }];
|
{ slug: 'polhunter', name: 'PolHunter', link: 'https://polhunter.com/?r=', kit: 'promo-polhunter' }];
|
||||||
const SIZES = [['728x90', 'Leaderboard'], ['468x60', 'Banner'], ['320x50', 'Mobile banner'], ['300x250', 'Medium rectangle'], ['336x280', 'Large rectangle'], ['250x250', 'Square'], ['125x125', 'Button'], ['160x600', 'Wide skyscraper'], ['120x600', 'Skyscraper'], ['300x600', 'Half page'], ['600x300', 'Traffic exchange / splash page']];
|
const SIZES = [['728x90', 'Leaderboard'], ['468x60', 'Banner'], ['320x50', 'Mobile banner'], ['300x250', 'Medium rectangle'], ['336x280', 'Large rectangle'], ['250x250', 'Square'], ['125x125', 'Button'], ['160x600', 'Wide skyscraper'], ['120x600', 'Skyscraper'], ['300x600', 'Half page'], ['600x300', 'Traffic exchange / splash page']];
|
||||||
const avail = { spookydoors: false, roadagent: !preLaunch(2026, 10, 15), polybreak: false, polminer: false, warpwares: false, turkeydrop: false }; // Warp & Wares: in the public games list (its season window applies there) // PolyBreak joins once it is in gamesLive (public games list) // seasonal: the Spooky Doors kit says whether its season is showing; Road Agent joins the list on its launch day
|
const avail = { spookydoors: false, roadagent: !preLaunch(2026, 10, 15), polybreak: false, polminer: false, turkeydrop: false }; // Turkey Drop: in the public games list AND from Nov 2 (its season start) // PolyBreak joins once it is in gamesLive (public games list) // seasonal: the Spooky Doors kit says whether its season is showing; Road Agent joins the list on its launch day
|
||||||
const list = () => GAMES.filter(g => avail[g.slug] !== false);
|
const list = () => GAMES.filter(g => avail[g.slug] !== false);
|
||||||
let cur = null; try { cur = localStorage.getItem('iap.gmGame'); } catch (e) {}
|
let cur = null; try { cur = localStorage.getItem('iap.gmGame'); } catch (e) {}
|
||||||
const draw = () => {
|
const draw = () => {
|
||||||
@@ -374,7 +357,6 @@ window.IAPPromo = (function () {
|
|||||||
$('gmGeneric').hidden = !!g.kit;
|
$('gmGeneric').hidden = !!g.kit;
|
||||||
if (!g.kit) {
|
if (!g.kit) {
|
||||||
$('gmTitle').textContent = g.name; $('gmSub').textContent = g.sub || '';
|
$('gmTitle').textContent = g.name; $('gmSub').textContent = g.sub || '';
|
||||||
const gn = $('gmNote'); if (gn) { gn.textContent = g.note || ''; gn.hidden = !g.note; }
|
|
||||||
$('gmLink').textContent = link;
|
$('gmLink').textContent = link;
|
||||||
$('gmLinkCopy').onclick = async () => { try { await navigator.clipboard.writeText(link); status('Link copied.', 'ok'); } catch (e) { status('Copy failed.', 'bad'); } };
|
$('gmLinkCopy').onclick = async () => { try { await navigator.clipboard.writeText(link); status('Link copied.', 'ok'); } catch (e) { status('Copy failed.', 'bad'); } };
|
||||||
const posts = g.posts.map(p => ({ name: p.name, text: p.text.replace('{L}', link) })), hook = posts[0].text.replace(link, '').trim();
|
const posts = g.posts.map(p => ({ name: p.name, text: p.text.replace('{L}', link) })), hook = posts[0].text.replace(link, '').trim();
|
||||||
@@ -399,7 +381,7 @@ window.IAPPromo = (function () {
|
|||||||
const row = document.createElement('div'); row.className = 'pb-actions'; row.appendChild(copyBtn(code, 'Copy embed code')); row.appendChild(copyBtn(src, 'Copy image URL')); row.appendChild(linkBtn(src, 'Open image')); d.appendChild(row); grid.appendChild(d); }
|
const row = document.createElement('div'); row.className = 'pb-actions'; row.appendChild(copyBtn(code, 'Copy embed code')); row.appendChild(copyBtn(src, 'Copy image URL')); row.appendChild(linkBtn(src, 'Open image')); d.appendChild(row); grid.appendChild(d); }
|
||||||
};
|
};
|
||||||
window.__gmAvail = (slug, on) => { avail[slug] = !!on; draw(); };
|
window.__gmAvail = (slug, on) => { avail[slug] = !!on; draw(); };
|
||||||
fetch('/api/public/games').then(r => r.json()).then(d => { for (const sl of ['polybreak', 'polminer', 'warpwares', 'turkeydrop']) if ((d.games || []).some(g => g.slug === sl && (sl === 'turkeydrop' || g.live)) && !(sl === 'turkeydrop' && preLaunch(2026, 11, 2))) window.__gmAvail(sl, true); }).catch(() => {});
|
fetch('/api/public/games').then(r => r.json()).then(d => { for (const sl of ['polybreak', 'polminer', 'turkeydrop']) if ((d.games || []).some(g => g.slug === sl) && !(sl === 'turkeydrop' && preLaunch(2026, 11, 2))) window.__gmAvail(sl, true); }).catch(() => {});
|
||||||
$('gmPick').addEventListener('click', e => { const b = e.target.closest('[data-gm]'); if (!b) return; cur = b.dataset.gm; draw(); });
|
$('gmPick').addEventListener('click', e => { const b = e.target.closest('[data-gm]'); if (!b) return; cur = b.dataset.gm; draw(); });
|
||||||
draw();
|
draw();
|
||||||
}
|
}
|
||||||
@@ -446,53 +428,5 @@ window.IAPPromo = (function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── BixPay partner kit (2026-10-29, docs/BIXPAY-INTEGRATION.md). me.bix from /api/me. The three posts are Marty's approved
|
return { fill, POSTS, TEXTS, SWIPES, OBJECTIONS, VIDEOS };
|
||||||
// copy. {L} = the member's TRACKED link (/go/bixpay?s=promo&m=<member>: counted here, then the resolved partner link), so every
|
|
||||||
// asset carries the member's link and the Promo tab can show its clicks. Banners: text only, no BIX logo (brand rules unconfirmed).
|
|
||||||
const BIX_POSTS = [
|
|
||||||
{ name: 'Short post', net: 'X', text: 'I spend my crypto with a Visa card now. BixPay keeps the keys with you, loads from USDT or USDC with no load fee, and works with Apple Pay. Virtual card from $9.99: {L}' },
|
|
||||||
{ name: 'Friendly post', net: 'Facebook', text: 'Earning crypto is one thing. Spending it without jumping through hoops is another. BixPay fixed that for me: a self-custody wallet and a Visa card in one app. Here\'s where I got mine: {L}' },
|
|
||||||
{ name: 'Partner angle', net: 'LinkedIn', text: 'BixPay pays partners on every card and on card spending, ten levels deep. If you\'re building a team anyway, this fits right in: {L}' }
|
|
||||||
];
|
|
||||||
const BIX_SWIPE = { subject: 'A Visa card for the crypto you already earn', body: 'Hey,\n\nQuick one, because this solved something for me.\n\nI earn crypto in a few places, and for a long time the awkward part was spending it. Exchange, bank, waiting, fees. BixPay took that out of the loop: it is a self-custody wallet with a Visa card in one app. You send USDT or USDC to it on Polygon, load the card, and pay wherever Visa is accepted, Apple Pay and Google Pay included.\n\nThe parts I liked:\n- The keys stay with you. It is your wallet, not an account someone else holds.\n- No load fee. 3% per purchase, and BIX\'s terms cover the rest.\n- A virtual card is $9.99 and you can be using it the same day.\n- If you build a team, BixPay pays partners on every card and on card spending, ten levels deep.\n\nUS note: it is open in 31 states so far. If yours is not on the list yet, you can still get the wallet and build.\n\nHere is my link: {L}\n\nBixPay is a separate company. BIX issues the wallet and the card through its banking partners and sets its own fees, limits, eligibility and terms. Crypto assets can lose value.\n\nTalk soon,' };
|
|
||||||
const BIX_CDN = 'https://coolify-saasytop.nyc3.cdn.digitaloceanspaces.com/game-banners/bixpay/';
|
|
||||||
const BIX_SIZES = [['728x90', 'Leaderboard'], ['300x250', 'Medium rectangle'], ['468x60', 'Banner'], ['600x300', 'Traffic exchange / splash page']];
|
|
||||||
function fillBix(me) {
|
|
||||||
const b = (me && me.bix) || {}; const sec = $('promo-bixpay'); if (!sec) return;
|
|
||||||
if (!b.live || b.error || !b.go) { sec.hidden = true; return; }
|
|
||||||
const enc = encodeURIComponent, link = b.link, go = b.go.promo;
|
|
||||||
if (sec.dataset.filled === link + '|' + go + '|' + (b.clicks ? b.clicks.total : 0)) return;
|
|
||||||
sec.dataset.filled = link + '|' + go + '|' + (b.clicks ? b.clicks.total : 0);
|
|
||||||
$('bixPromoLink').textContent = link;
|
|
||||||
$('bixPromoUsing').textContent = b.using || '';
|
|
||||||
$('bixPromoSub').textContent = b.whose === 'you' ? 'every link and banner here carries your partner link' : 'add your own partner link in Profile and these switch to yours';
|
|
||||||
$('bixPromoCopy').onclick = async () => { try { await navigator.clipboard.writeText(link); status('Partner link copied.', 'ok'); } catch (e) { status('Copy failed.', 'bad'); } };
|
|
||||||
const sh = $('bixPromoShare'); if (sh) { sh.hidden = !navigator.share; sh.onclick = async () => { try { await navigator.share({ title: 'BixPay', text: 'A Visa card for your crypto: ' + go }); } catch (e) { if (!(e && e.name === 'AbortError')) status('Could not open the share sheet.', 'bad'); } }; }
|
|
||||||
$('bixPromoGo').textContent = go;
|
|
||||||
$('bixPromoGoCopy').onclick = async () => { try { await navigator.clipboard.writeText(go); status('Tracked link copied.', 'ok'); } catch (e) { status('Copy failed.', 'bad'); } };
|
|
||||||
const n = (b.clicks && b.clicks.promo) || 0; $('bixPromoClicks').textContent = n ? 'Clicks so far: ' + n.toLocaleString() + '.' : 'No clicks counted yet.';
|
|
||||||
const pp = $('bixPromoPosts'); pp.innerHTML = '';
|
|
||||||
for (const p of BIX_POSTS) {
|
|
||||||
const text = p.text.replace('{L}', go), lead = text.replace(go, '').trim();
|
|
||||||
const extras = [];
|
|
||||||
if (p.net === 'X') extras.push(linkBtn('https://twitter.com/intent/tweet?text=' + enc(text), 'Post on X'));
|
|
||||||
if (p.net === 'Facebook') extras.push(linkBtn('https://www.facebook.com/sharer/sharer.php?u=' + enc(go), 'Share on Facebook'));
|
|
||||||
if (p.net === 'LinkedIn') extras.push(linkBtn('https://www.linkedin.com/sharing/share-offsite/?url=' + enc(go), 'Share on LinkedIn'));
|
|
||||||
extras.push(linkBtn('https://t.me/share/url?url=' + enc(go) + '&text=' + enc(lead), 'Telegram'));
|
|
||||||
extras.push(linkBtn('https://wa.me/?text=' + enc(text), 'WhatsApp'));
|
|
||||||
pp.appendChild(block(text, '<span class="pb-net">' + esc(p.name) + '</span>', extras));
|
|
||||||
}
|
|
||||||
const sw = $('bixPromoSwipe'); sw.innerHTML = '';
|
|
||||||
sw.appendChild(block('Subject: ' + BIX_SWIPE.subject + '\n\n' + BIX_SWIPE.body.replace('{L}', go), '<span class="pb-net">Email</span> <b>' + esc(BIX_SWIPE.subject) + '</b>'));
|
|
||||||
const bg = $('bixPromoBanners'); bg.innerHTML = '';
|
|
||||||
for (const [s, nme] of BIX_SIZES) {
|
|
||||||
const w = s.split('x')[0], h = s.split('x')[1], src = BIX_CDN + 'bixpay-' + s + '.png';
|
|
||||||
const code = '<a href="' + go + '" target="_blank" rel="noopener"><img src="' + src + '" width="' + w + '" height="' + h + '" alt="A Visa card for your crypto"></a>';
|
|
||||||
const d = document.createElement('div'); d.className = 'promo-block';
|
|
||||||
d.innerHTML = '<div class="pb-head"><span class="lab">' + s + '</span> <span class="muted small">' + esc(nme) + '</span></div><div style="overflow:auto;margin:8px 0"><img loading="lazy" src="' + src + '" alt="BixPay banner ' + s + '" style="max-width:100%;height:auto;border-radius:6px"></div><div class="pb-text mono small" style="overflow-wrap:anywhere">' + esc(code) + '</div>';
|
|
||||||
const row = document.createElement('div'); row.className = 'pb-actions'; row.appendChild(copyBtn(code, 'Copy embed code')); row.appendChild(copyBtn(src, 'Copy image URL')); row.appendChild(linkBtn(src, 'Open image')); d.appendChild(row); bg.appendChild(d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return { fill, fillBix, POSTS, TEXTS, SWIPES, OBJECTIONS, VIDEOS, BIX_POSTS, BIX_SWIPE };
|
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
function answer(i) {
|
function answer(i) {
|
||||||
api('/api/refuel/done', { n: nonce, answer: i }).then(function (r) {
|
api('/api/refuel/done', { n: nonce, answer: i }).then(function (r) {
|
||||||
if (r.error) { if (r.retry) return challenge(); $('rfHint').textContent = r.error; $('rfCheck').hidden = true; return; }
|
if (r.error) { if (r.retry) return challenge(); $('rfHint').textContent = r.error; $('rfCheck').hidden = true; return; }
|
||||||
done = true; $('rfCheck').hidden = true; var gk = GAME === 'Gem Kingdom', ch = GAME === 'ClutterHunt', sw = GAME === 'SpellWheel', ww = GAME === 'Warp & Wares', td = GAME === 'Turkey Drop';
|
done = true; $('rfCheck').hidden = true; var gk = GAME === 'Gem Kingdom', ch = GAME === 'ClutterHunt', sw = GAME === 'SpellWheel', td = GAME === 'Turkey Drop';
|
||||||
$('rfHint').textContent = gk ? 'Visit counted. Your heroes are back on their feet.' : (ch || sw) ? 'Visit counted. Your hint is ready.' : ww ? 'Visit counted. Your bonus turns are waiting on the bridge.' : td ? 'Visit counted. WFWL is back on the air.' : 'Visit counted. Your tank is full.';
|
$('rfHint').textContent = gk ? 'Visit counted. Your heroes are back on their feet.' : (ch || sw) ? 'Visit counted. Your hint is ready.' : td ? 'Visit counted. WFWL is back on the air.' : 'Visit counted. Your tank is full.';
|
||||||
if (gk && inGame) { try { window.parent.postMessage({ gkContinue: nonce, ok: true }, '*'); } catch (e) {} }
|
if (gk && inGame) { try { window.parent.postMessage({ gkContinue: nonce, ok: true }, '*'); } catch (e) {} }
|
||||||
var b = $('rfDone'); b.disabled = false; b.textContent = gk ? 'Back to the battle' : ch ? 'Back to the room' : sw ? 'Back to the puzzle' : ww ? 'Back to the bridge' : td ? 'Back on the air' : 'Back to the run'; b.onclick = function () { location.href = r.ret; };
|
var b = $('rfDone'); b.disabled = false; b.textContent = gk ? 'Back to the battle' : ch ? 'Back to the room' : sw ? 'Back to the puzzle' : td ? 'Back on the air' : 'Back to the run'; b.onclick = function () { location.href = r.ret; };
|
||||||
setTimeout(function () { location.href = r.ret; }, 1200);
|
setTimeout(function () { location.href = r.ret; }, 1200);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,20 +13,6 @@
|
|||||||
--mono:"Consolas","JetBrains Mono",monospace;
|
--mono:"Consolas","JetBrains Mono",monospace;
|
||||||
--disp:"Sora","Segoe UI",system-ui,sans-serif;
|
--disp:"Sora","Segoe UI",system-ui,sans-serif;
|
||||||
--radius:18px;
|
--radius:18px;
|
||||||
/* 2026-11-01 theme tokens (mirrored from LinkSpin): every surface, text, border and soft fill that used to be a literal
|
|
||||||
in this file, the page inline styles and the UI-drawing scripts. Light values live in :root[data-theme="light"] at
|
|
||||||
the end of this file; themehead.js sets data-theme on <html> before the first paint. */
|
|
||||||
--mint-deep:#1fb894; --mint-pale:#8ffbe3;
|
|
||||||
--mint-faint:rgba(67,232,195,.06); --mint-soft-2:rgba(67,232,195,.16); --mint-line:rgba(67,232,195,.38); --mint-line-2:rgba(67,232,195,.6);
|
|
||||||
--ok:#22c55e; --ok-ink:#04140a; --ok-soft:rgba(34,197,94,.15); --warn:#f0a742; --bad-soft:rgba(255,143,125,.12);
|
|
||||||
--gold:#ffd15c; --gold-2:#f2c94c; --gold-ink:#1a1206; --gold-soft:rgba(242,201,76,.14); --gold-faint:rgba(242,201,76,.04); --gold-line:rgba(242,201,76,.55);
|
|
||||||
--amber-soft:rgba(255,178,56,.12); --amber-line:rgba(255,178,56,.4); --amber-ink:#1a1206;
|
|
||||||
--cyan-soft:rgba(84,204,255,.1); --cyan-line:rgba(84,204,255,.3); --violet-soft:rgba(157,125,255,.12); --violet-line:rgba(157,125,255,.32);
|
|
||||||
--muted-soft:rgba(139,166,156,.12); --muted-line:rgba(139,166,156,.4); --ink-faint:rgba(255,255,255,.04); --line-soft:rgba(84,150,128,.08);
|
|
||||||
--ground-soft:rgba(4,8,7,.5); --field-bg:rgba(4,8,7,.65); --nav-bg:rgba(4,8,7,.75); --side-bg:rgba(10,18,15,.92); --pill-bg:rgba(16,28,24,.7);
|
|
||||||
--panel-grad:linear-gradient(165deg,rgba(24,36,31,.6),rgba(13,19,17,.66)); --panel-grad-deep:linear-gradient(170deg,#0e1c17,#080f0c); --plate-grad:linear-gradient(160deg,#12241e,#0a1411);
|
|
||||||
--sh-lg:0 30px 80px rgba(0,0,0,.6),0 0 60px rgba(67,232,195,.08);
|
|
||||||
color-scheme:dark;
|
|
||||||
}
|
}
|
||||||
*{box-sizing:border-box}
|
*{box-sizing:border-box}
|
||||||
[hidden]{display:none!important} /* beats any display: set by a class (chat panel bug) */
|
[hidden]{display:none!important} /* beats any display: set by a class (chat panel bug) */
|
||||||
@@ -40,7 +26,7 @@ a:hover{text-decoration:underline}
|
|||||||
.wrap{max-width:1100px;margin:0 auto;padding:0 22px}
|
.wrap{max-width:1100px;margin:0 auto;padding:0 22px}
|
||||||
h1,h2,h3{font-family:var(--disp);letter-spacing:-.015em}
|
h1,h2,h3{font-family:var(--disp);letter-spacing:-.015em}
|
||||||
/* ── nav: capsule pill ─────────────────────────────── */
|
/* ── nav: capsule pill ─────────────────────────────── */
|
||||||
nav{position:sticky;top:0;z-index:10;background:var(--nav-bg);backdrop-filter:blur(16px);
|
nav{position:sticky;top:0;z-index:10;background:rgba(4,8,7,.7);backdrop-filter:blur(16px);
|
||||||
-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
|
-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
|
||||||
nav .wrap{display:flex;align-items:center;gap:20px;min-height:66px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
|
nav .wrap{display:flex;align-items:center;gap:20px;min-height:66px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
|
||||||
.logo{font-family:var(--disp);font-weight:800;font-size:20px;color:var(--ink)}
|
.logo{font-family:var(--disp);font-weight:800;font-size:20px;color:var(--ink)}
|
||||||
@@ -50,13 +36,13 @@ nav .wrap{display:flex;align-items:center;gap:20px;min-height:66px;flex-wrap:wra
|
|||||||
.byline b{color:var(--ink);font-weight:600}
|
.byline b{color:var(--ink);font-weight:600}
|
||||||
.bo-side .byline{padding:4px 8px 10px;white-space:normal}
|
.bo-side .byline{padding:4px 8px 10px;white-space:normal}
|
||||||
@media (max-width:560px){nav .byline{font-size:9.5px}}
|
@media (max-width:560px){nav .byline{font-size:9.5px}}
|
||||||
nav .links{display:flex;gap:4px;flex:1;flex-wrap:wrap;background:var(--pill-bg);border:1px solid var(--line);
|
nav .links{display:flex;gap:4px;flex:1;flex-wrap:wrap;background:rgba(16,28,24,.7);border:1px solid var(--line);
|
||||||
border-radius:999px;padding:5px 8px;width:fit-content;flex:0 1 auto;margin:0 auto}
|
border-radius:999px;padding:5px 8px;width:fit-content;flex:0 1 auto;margin:0 auto}
|
||||||
nav .links a{color:var(--muted);font-size:13.5px;font-weight:600;padding:7px 14px;border-radius:999px}
|
nav .links a{color:var(--muted);font-size:13.5px;font-weight:600;padding:7px 14px;border-radius:999px}
|
||||||
nav .links a:hover{color:var(--ink);text-decoration:none}
|
nav .links a:hover{color:var(--ink);text-decoration:none}
|
||||||
nav .links a.active{color:var(--mint);background:var(--mint-soft)}
|
nav .links a.active{color:var(--mint);background:rgba(67,232,195,.1)}
|
||||||
#navWallet{font-size:13px;margin-left:auto}
|
#navWallet{font-size:13px;margin-left:auto}
|
||||||
.rehearsal{background:var(--mint-faint);border-bottom:1px solid var(--line);color:var(--muted);
|
.rehearsal{background:rgba(67,232,195,.07);border-bottom:1px solid var(--line);color:var(--muted);
|
||||||
text-align:center;font-size:12.5px;padding:7px 12px}
|
text-align:center;font-size:12.5px;padding:7px 12px}
|
||||||
.rehearsal b{color:var(--mint)}
|
.rehearsal b{color:var(--mint)}
|
||||||
/* ── buttons ───────────────────────────────────────── */
|
/* ── buttons ───────────────────────────────────────── */
|
||||||
@@ -64,14 +50,14 @@ nav .links a.active{color:var(--mint);background:var(--mint-soft)}
|
|||||||
padding:13px 26px;font-weight:700;font-size:15px;cursor:pointer;font-family:var(--disp);
|
padding:13px 26px;font-weight:700;font-size:15px;cursor:pointer;font-family:var(--disp);
|
||||||
box-shadow:0 4px 30px rgba(67,232,195,.35);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
|
box-shadow:0 4px 30px rgba(67,232,195,.35);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
|
||||||
.btn:hover{transform:translateY(-2px);background:var(--mint-hi);box-shadow:0 8px 44px rgba(67,232,195,.5);text-decoration:none}
|
.btn:hover{transform:translateY(-2px);background:var(--mint-hi);box-shadow:0 8px 44px rgba(67,232,195,.5);text-decoration:none}
|
||||||
.btn.sec{background:transparent;color:var(--mint);border:1px solid var(--mint-line-2);box-shadow:none}
|
.btn.sec{background:transparent;color:var(--mint);border:1px solid rgba(67,232,195,.6);box-shadow:none}
|
||||||
.btn.sec:hover{background:var(--mint-soft);box-shadow:0 4px 26px rgba(67,232,195,.2)}
|
.btn.sec:hover{background:rgba(67,232,195,.08);box-shadow:0 4px 26px rgba(67,232,195,.2)}
|
||||||
.btn.small{padding:8px 17px;font-size:13px}
|
.btn.small{padding:8px 17px;font-size:13px}
|
||||||
/* a third, quieter button for actions that are not the main move (Archive). NOT ".ghost": that is
|
/* a third, quieter button for actions that are not the main move (Archive). NOT ".ghost": that is
|
||||||
the giant footer wordmark and it sets color:transparent, which made the Archive button invisible
|
the giant footer wordmark and it sets color:transparent, which made the Archive button invisible
|
||||||
(Marty, 2026-09-23). */
|
(Marty, 2026-09-23). */
|
||||||
.btn.quiet{background:transparent;color:var(--muted);border:1px solid var(--line-strong);box-shadow:none}
|
.btn.quiet{background:transparent;color:var(--muted);border:1px solid var(--line-strong);box-shadow:none}
|
||||||
.btn.quiet:hover{background:var(--muted-soft);color:var(--ink);border-color:var(--muted);box-shadow:none}
|
.btn.quiet:hover{background:rgba(139,166,156,.1);color:var(--ink);border-color:var(--muted);box-shadow:none}
|
||||||
/* the member's campaign actions sat flush against each other on desktop; the mobile rule already
|
/* the member's campaign actions sat flush against each other on desktop; the mobile rule already
|
||||||
had a gap, this gives the wide layout the same room */
|
had a gap, this gives the wide layout the same room */
|
||||||
/* Campaign actions (Marty, 2026-09-23): the column is narrow, so these stack. Left-aligned pills
|
/* Campaign actions (Marty, 2026-09-23): the column is narrow, so these stack. Left-aligned pills
|
||||||
@@ -82,13 +68,6 @@ nav .links a.active{color:var(--mint);background:var(--mint-soft)}
|
|||||||
text-align:center;line-height:1.25;white-space:normal}
|
text-align:center;line-height:1.25;white-space:normal}
|
||||||
.camp-table td.act .btn:last-child{margin-bottom:0}
|
.camp-table td.act .btn:last-child{margin-bottom:0}
|
||||||
.btn:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}
|
.btn:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}
|
||||||
/* ── segmented control + the Light / Dark / Auto theme switch (2026-11-01): member-area header, Profile pane, admin header ── */
|
|
||||||
.seg{display:inline-flex;border:1px solid var(--line-strong);border-radius:999px;overflow:hidden;background:var(--pill-bg);vertical-align:middle}
|
|
||||||
.seg button{background:transparent;border:0;border-right:1px solid var(--line-strong);padding:6px 12px;font:700 12px var(--disp);color:var(--muted);cursor:pointer;line-height:1.2}
|
|
||||||
.seg button:last-child{border-right:0} .seg button:hover{color:var(--ink)} .seg button.on{background:var(--mint);color:var(--mint-ink)}
|
|
||||||
.theme-seg button{min-width:0}
|
|
||||||
.bo-top .theme-seg{margin-left:auto;flex:none} .bo-top .bo-rehearsal:not([hidden]) + .theme-seg{margin-left:0}
|
|
||||||
@media (max-width:560px){.bo-top .theme-seg button{padding:6px 9px;font-size:11px}}
|
|
||||||
/* ── hero: centered, light-trail set-piece ─────────── */
|
/* ── hero: centered, light-trail set-piece ─────────── */
|
||||||
.hero{position:relative;text-align:center;padding:120px 0 84px;overflow:visible}
|
.hero{position:relative;text-align:center;padding:120px 0 84px;overflow:visible}
|
||||||
.hero h1{font-size:clamp(36px,5.4vw,62px);font-weight:700;line-height:1.08;margin:0 auto 18px;max-width:820px;text-wrap:balance}
|
.hero h1{font-size:clamp(36px,5.4vw,62px);font-weight:700;line-height:1.08;margin:0 auto 18px;max-width:820px;text-wrap:balance}
|
||||||
@@ -120,7 +99,7 @@ section{padding:64px 0 8px}
|
|||||||
.cmp{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
|
.cmp{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
|
||||||
.cmp th,.cmp td{padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
|
.cmp th,.cmp td{padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
|
||||||
.cmp th{font-family:var(--disp);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
|
.cmp th{font-family:var(--disp);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
|
||||||
.cmp th:last-child,.cmp td:last-child{color:var(--ink);background:var(--mint-faint)}
|
.cmp th:last-child,.cmp td:last-child{color:var(--ink);background:rgba(67,232,195,.06)}
|
||||||
.cmp td:first-child{font-weight:700;white-space:nowrap}
|
.cmp td:first-child{font-weight:700;white-space:nowrap}
|
||||||
.cmp td:nth-child(2){color:var(--muted)}
|
.cmp td:nth-child(2){color:var(--muted)}
|
||||||
.cmp tr:last-child td{border-bottom:0}
|
.cmp tr:last-child td{border-bottom:0}
|
||||||
@@ -134,11 +113,11 @@ h3{font-size:16.5px;margin:0 0 8px;font-weight:700}
|
|||||||
/* icon-plate feature cards */
|
/* icon-plate feature cards */
|
||||||
.plates{display:grid;gap:16px;grid-template-columns:1fr}
|
.plates{display:grid;gap:16px;grid-template-columns:1fr}
|
||||||
@media(min-width:760px){.plates{grid-template-columns:1fr 1fr 1fr}}
|
@media(min-width:760px){.plates{grid-template-columns:1fr 1fr 1fr}}
|
||||||
.platecard{background:var(--panel-grad);border:1px solid var(--line);
|
.platecard{background:linear-gradient(170deg,rgba(22,38,32,.6),rgba(10,18,15,.7));border:1px solid var(--line);
|
||||||
border-radius:var(--radius);padding:26px 22px;text-align:center;transition:border-color .2s ease,transform .2s ease}
|
border-radius:var(--radius);padding:26px 22px;text-align:center;transition:border-color .2s ease,transform .2s ease}
|
||||||
.platecard:hover{border-color:var(--line-strong);transform:translateY(-4px)}
|
.platecard:hover{border-color:var(--line-strong);transform:translateY(-4px)}
|
||||||
.plate{width:88px;height:88px;margin:0 auto 18px;border-radius:22px;display:grid;place-items:center;
|
.plate{width:88px;height:88px;margin:0 auto 18px;border-radius:22px;display:grid;place-items:center;
|
||||||
background:var(--plate-grad);border:1px solid var(--line-strong);
|
background:linear-gradient(160deg,#12241e,#0a1411);border:1px solid var(--line-strong);
|
||||||
box-shadow:0 0 34px rgba(67,232,195,.15),inset 0 1px 0 rgba(143,251,227,.15)}
|
box-shadow:0 0 34px rgba(67,232,195,.15),inset 0 1px 0 rgba(143,251,227,.15)}
|
||||||
.plate svg{width:38px;height:38px;stroke:var(--mint);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
|
.plate svg{width:38px;height:38px;stroke:var(--mint);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
|
||||||
.platecard p{color:var(--muted);font-size:14px;margin:0}
|
.platecard p{color:var(--muted);font-size:14px;margin:0}
|
||||||
@@ -150,15 +129,15 @@ h3{font-size:16.5px;margin:0 0 8px;font-weight:700}
|
|||||||
.flankitem .plate svg{width:24px;height:24px}
|
.flankitem .plate svg{width:24px;height:24px}
|
||||||
.flankitem p{color:var(--muted);font-size:13.5px;margin:0}
|
.flankitem p{color:var(--muted);font-size:13.5px;margin:0}
|
||||||
/* ledger mockup frame */
|
/* ledger mockup frame */
|
||||||
.mockup{background:var(--panel-grad-deep);border:1px solid var(--line-strong);border-radius:20px;
|
.mockup{background:linear-gradient(170deg,#0e1c17,#080f0c);border:1px solid var(--line-strong);border-radius:20px;
|
||||||
box-shadow:var(--sh-lg);overflow:hidden}
|
box-shadow:0 30px 80px rgba(0,0,0,.6),0 0 60px rgba(67,232,195,.08);overflow:hidden}
|
||||||
.mockup .bar{display:flex;gap:6px;align-items:center;padding:11px 14px;border-bottom:1px solid var(--line)}
|
.mockup .bar{display:flex;gap:6px;align-items:center;padding:11px 14px;border-bottom:1px solid var(--line)}
|
||||||
.mockup .bar i{width:9px;height:9px;border-radius:50%;background:var(--line-strong);display:inline-block}
|
.mockup .bar i{width:9px;height:9px;border-radius:50%;background:#1e3a31;display:inline-block}
|
||||||
.mockup .bar .addr{font-family:var(--mono);font-size:11px;color:var(--muted);margin-left:8px;background:var(--ground-soft);
|
.mockup .bar .addr{font-family:var(--mono);font-size:11px;color:var(--muted);margin-left:8px;background:rgba(4,8,7,.6);
|
||||||
border-radius:999px;padding:3px 12px}
|
border-radius:999px;padding:3px 12px}
|
||||||
.mockup .body{padding:6px 0}
|
.mockup .body{padding:6px 0}
|
||||||
.mockup .mrow{display:flex;justify-content:space-between;gap:10px;padding:9px 16px;font-family:var(--mono);
|
.mockup .mrow{display:flex;justify-content:space-between;gap:10px;padding:9px 16px;font-family:var(--mono);
|
||||||
font-size:12px;border-bottom:1px solid var(--line-soft)}
|
font-size:12px;border-bottom:1px solid rgba(84,150,128,.08)}
|
||||||
.mockup .mrow span:last-child{color:var(--mint)}
|
.mockup .mrow span:last-child{color:var(--mint)}
|
||||||
.mockup .mrow.dim span:last-child{color:var(--muted)}
|
.mockup .mrow.dim span:last-child{color:var(--muted)}
|
||||||
/* 2-col story block: iso illustration + checklist */
|
/* 2-col story block: iso illustration + checklist */
|
||||||
@@ -168,24 +147,24 @@ h3{font-size:16.5px;margin:0 0 8px;font-weight:700}
|
|||||||
.checks li{padding:7px 0 7px 30px;position:relative;color:var(--muted);font-size:14.5px}
|
.checks li{padding:7px 0 7px 30px;position:relative;color:var(--muted);font-size:14.5px}
|
||||||
.checks li::before{content:"✓";position:absolute;left:0;top:6px;width:20px;height:20px;border-radius:50%;
|
.checks li::before{content:"✓";position:absolute;left:0;top:6px;width:20px;height:20px;border-radius:50%;
|
||||||
background:var(--mint-soft);color:var(--mint);font-size:12px;font-weight:700;display:grid;place-items:center;
|
background:var(--mint-soft);color:var(--mint);font-size:12px;font-weight:700;display:grid;place-items:center;
|
||||||
border:1px solid var(--mint-line)}
|
border:1px solid rgba(67,232,195,.35)}
|
||||||
.chips{display:flex;gap:8px;margin:14px 0 4px;flex-wrap:wrap}
|
.chips{display:flex;gap:8px;margin:14px 0 4px;flex-wrap:wrap}
|
||||||
.chip-t{border:1px solid var(--line-strong);border-radius:999px;padding:5px 16px;font-size:12.5px;color:var(--muted);font-family:var(--disp);font-weight:600}
|
.chip-t{border:1px solid var(--line-strong);border-radius:999px;padding:5px 16px;font-size:12.5px;color:var(--muted);font-family:var(--disp);font-weight:600}
|
||||||
.chip-t.on{background:var(--mint);color:var(--mint-ink);border-color:var(--mint)}
|
.chip-t.on{background:var(--mint);color:var(--mint-ink);border-color:var(--mint)}
|
||||||
.iso{filter:drop-shadow(0 24px 50px rgba(0,0,0,.5))}
|
.iso{filter:drop-shadow(0 24px 50px rgba(0,0,0,.5))}
|
||||||
/* level cycler: light the paying generation */
|
/* level cycler: light the paying generation */
|
||||||
#genViz .edge path{stroke:var(--line-strong);transition:stroke .5s ease}
|
#genViz .edge path{stroke:#22523f;transition:stroke .5s ease}
|
||||||
#genViz .node-o{fill:var(--panel-solid);stroke:var(--mint-line);stroke-width:1.3;transition:stroke .5s ease,fill .5s ease}
|
#genViz .node-o{fill:#122e25;stroke:#2f6b55;stroke-width:1.3;transition:stroke .5s ease,fill .5s ease}
|
||||||
#genViz .node-d{fill:var(--mint-deep);transition:fill .5s ease}
|
#genViz .node-d{fill:#3f8f74;transition:fill .5s ease}
|
||||||
#genViz[data-lvl="1"] .e1 path,#genViz[data-lvl="2"] .e2 path,#genViz[data-lvl="3"] .e3 path{stroke:var(--mint)}
|
#genViz[data-lvl="1"] .e1 path,#genViz[data-lvl="2"] .e2 path,#genViz[data-lvl="3"] .e3 path{stroke:#43e8c3}
|
||||||
#genViz[data-lvl="1"] .g1 .node-o,#genViz[data-lvl="2"] .g2 .node-o,#genViz[data-lvl="3"] .g3 .node-o{stroke:var(--mint);fill:var(--mint-soft-2)}
|
#genViz[data-lvl="1"] .g1 .node-o,#genViz[data-lvl="2"] .g2 .node-o,#genViz[data-lvl="3"] .g3 .node-o{stroke:#43e8c3;fill:#11362b}
|
||||||
#genViz[data-lvl="1"] .g1 .node-d,#genViz[data-lvl="2"] .g2 .node-d,#genViz[data-lvl="3"] .g3 .node-d{fill:var(--mint)}
|
#genViz[data-lvl="1"] .g1 .node-d,#genViz[data-lvl="2"] .g2 .node-d,#genViz[data-lvl="3"] .g3 .node-d{fill:#43e8c3}
|
||||||
.chips button{cursor:pointer;background:transparent;font:inherit}
|
.chips button{cursor:pointer;background:transparent;font:inherit}
|
||||||
.chips button.chip-t{border:1px solid var(--line-strong);color:var(--muted)}
|
.chips button.chip-t{border:1px solid var(--line-strong);color:var(--muted)}
|
||||||
.chips button.chip-t.on{background:var(--mint);color:var(--mint-ink);border-color:var(--mint)}
|
.chips button.chip-t.on{background:var(--mint);color:var(--mint-ink);border-color:var(--mint)}
|
||||||
/* pricing tiles: mint discipline */
|
/* pricing tiles: mint discipline */
|
||||||
.tiles{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));align-items:stretch}
|
.tiles{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));align-items:stretch}
|
||||||
.tile{position:relative;background:var(--panel-grad);border:1px solid var(--line);
|
.tile{position:relative;background:linear-gradient(170deg,rgba(22,38,32,.55),rgba(10,18,15,.65));border:1px solid var(--line);
|
||||||
border-radius:var(--radius);padding:26px 18px;text-align:center;display:flex;flex-direction:column;gap:6px;
|
border-radius:var(--radius);padding:26px 18px;text-align:center;display:flex;flex-direction:column;gap:6px;
|
||||||
transition:transform .2s ease,border-color .2s ease}
|
transition:transform .2s ease,border-color .2s ease}
|
||||||
.tile:hover{transform:translateY(-5px);border-color:var(--line-strong)}
|
.tile:hover{transform:translateY(-5px);border-color:var(--line-strong)}
|
||||||
@@ -194,7 +173,7 @@ h3{font-size:16.5px;margin:0 0 8px;font-weight:700}
|
|||||||
.tile .cr{color:var(--mint);font-weight:700;font-size:14.5px}
|
.tile .cr{color:var(--mint);font-weight:700;font-size:14.5px}
|
||||||
.tile .bonus{font-size:12px;color:var(--mint-hi)}
|
.tile .bonus{font-size:12px;color:var(--mint-hi)}
|
||||||
.tile .pol{font-family:var(--mono);font-size:12px;color:var(--muted);flex:1}
|
.tile .pol{font-family:var(--mono);font-size:12px;color:var(--muted);flex:1}
|
||||||
.tile.hot{border:1px solid var(--mint-line-2);box-shadow:0 0 44px rgba(67,232,195,.14)}
|
.tile.hot{border:1px solid rgba(67,232,195,.65);box-shadow:0 0 44px rgba(67,232,195,.14)}
|
||||||
.tile.hot::before{content:"MOST POPULAR";position:absolute;top:-11px;left:50%;transform:translateX(-50%);
|
.tile.hot::before{content:"MOST POPULAR";position:absolute;top:-11px;left:50%;transform:translateX(-50%);
|
||||||
background:var(--mint);color:var(--mint-ink);font-family:var(--disp);font-size:10px;font-weight:800;
|
background:var(--mint);color:var(--mint-ink);font-family:var(--disp);font-size:10px;font-weight:800;
|
||||||
letter-spacing:.12em;border-radius:999px;padding:4px 14px}
|
letter-spacing:.12em;border-radius:999px;padding:4px 14px}
|
||||||
@@ -202,14 +181,14 @@ h3{font-size:16.5px;margin:0 0 8px;font-weight:700}
|
|||||||
.split{display:flex;gap:8px;margin:18px 0}
|
.split{display:flex;gap:8px;margin:18px 0}
|
||||||
.split div{border-radius:12px;padding:16px 6px;text-align:center;font-size:13px;font-weight:700;font-family:var(--disp);
|
.split div{border-radius:12px;padding:16px 6px;text-align:center;font-size:13px;font-weight:700;font-family:var(--disp);
|
||||||
border:1px solid var(--line-strong);color:var(--mint)}
|
border:1px solid var(--line-strong);color:var(--mint)}
|
||||||
.split .s50{flex:5;background:var(--mint-soft-2);box-shadow:0 0 30px rgba(67,232,195,.12)}
|
.split .s50{flex:5;background:rgba(67,232,195,.16);box-shadow:0 0 30px rgba(67,232,195,.12)}
|
||||||
.split .s20{flex:2;background:var(--mint-soft)}
|
.split .s20{flex:2;background:rgba(67,232,195,.09)}
|
||||||
.split .s10{flex:1;background:var(--mint-faint)}
|
.split .s10{flex:1;background:rgba(67,232,195,.05)}
|
||||||
.split .sa{flex:2;background:var(--muted-soft);color:var(--muted)}
|
.split .sa{flex:2;background:rgba(139,166,156,.08);color:var(--muted)}
|
||||||
section[id]{scroll-margin-top:84px} /* anchored menu targets clear the sticky nav */
|
section[id]{scroll-margin-top:84px} /* anchored menu targets clear the sticky nav */
|
||||||
/* ticker */
|
/* ticker */
|
||||||
.ticker{overflow:hidden;contain:layout paint;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
|
.ticker{overflow:hidden;contain:layout paint;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
|
||||||
background:var(--mint-faint);white-space:nowrap;padding:10px 0;
|
background:rgba(67,232,195,.04);white-space:nowrap;padding:10px 0;
|
||||||
-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
|
-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
|
||||||
mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
|
mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
|
||||||
.ticker .inner{display:inline-block;font-family:var(--mono);font-size:12.5px;padding-left:100%;animation:tick 120s linear infinite}
|
.ticker .inner{display:inline-block;font-family:var(--mono);font-size:12.5px;padding-left:100%;animation:tick 120s linear infinite}
|
||||||
@@ -237,32 +216,32 @@ tr:last-child td{border-bottom:0}
|
|||||||
.feed .t-TierPaid{color:var(--mint)}
|
.feed .t-TierPaid{color:var(--mint)}
|
||||||
.feed .t-AdminPaid{color:var(--muted)}
|
.feed .t-AdminPaid{color:var(--muted)}
|
||||||
.feed .tx a{color:var(--muted);font-size:12px}
|
.feed .tx a{color:var(--muted);font-size:12px}
|
||||||
.badge{display:inline-block;background:var(--mint-soft);color:var(--mint);border:1px solid var(--mint-line);
|
.badge{display:inline-block;background:var(--mint-soft);color:var(--mint);border:1px solid rgba(67,232,195,.35);
|
||||||
border-radius:999px;padding:3px 13px;font-size:12px;font-weight:700}
|
border-radius:999px;padding:3px 13px;font-size:12px;font-weight:700}
|
||||||
.spend-banner{background:linear-gradient(160deg,var(--gold-soft),var(--gold-faint));border-color:var(--gold-line);text-align:center;padding:22px 20px}
|
.spend-banner{background:linear-gradient(160deg,rgba(242,201,76,.14),rgba(242,201,76,.04));border-color:rgba(242,201,76,.55);text-align:center;padding:22px 20px}
|
||||||
.spend-banner .lbl{font-family:var(--disp);font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2)}
|
.spend-banner .lbl{font-family:var(--disp);font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#f2c94c}
|
||||||
.spend-banner .big{font-family:var(--disp);font-size:clamp(40px,6vw,64px);font-weight:800;color:var(--gold-2);line-height:1.05;margin:6px 0 4px;font-variant-numeric:tabular-nums}
|
.spend-banner .big{font-family:var(--disp);font-size:clamp(40px,6vw,64px);font-weight:800;color:#f2c94c;line-height:1.05;margin:6px 0 4px;font-variant-numeric:tabular-nums}
|
||||||
.spend-banner .big .unit{font-size:20px;font-weight:700;color:var(--ink)}
|
.spend-banner .big .unit{font-size:20px;font-weight:700;color:var(--ink)}
|
||||||
.spend-banner .sub{color:var(--ink);font-size:15px}
|
.spend-banner .sub{color:var(--ink);font-size:15px}
|
||||||
.spend-banner .rates{display:flex;gap:8px 18px;flex-wrap:wrap;justify-content:center;margin-top:12px;font-size:12.5px;color:var(--muted)}
|
.spend-banner .rates{display:flex;gap:8px 18px;flex-wrap:wrap;justify-content:center;margin-top:12px;font-size:12.5px;color:var(--muted)}
|
||||||
.spend-banner .rates b{color:var(--ink)}
|
.spend-banner .rates b{color:var(--ink)}
|
||||||
.boot-spin{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:60vh}
|
.boot-spin{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:60vh}
|
||||||
.boot-spin .ring{width:46px;height:46px;border-radius:50%;border:4px solid var(--mint-soft-2);border-top-color:var(--mint);animation:bootspin .9s linear infinite}
|
.boot-spin .ring{width:46px;height:46px;border-radius:50%;border:4px solid rgba(67,232,195,.18);border-top-color:var(--mint);animation:bootspin .9s linear infinite}
|
||||||
@keyframes bootspin{to{transform:rotate(360deg)}}
|
@keyframes bootspin{to{transform:rotate(360deg)}}
|
||||||
.bo-top{flex-wrap:wrap}
|
.bo-top{flex-wrap:wrap}
|
||||||
.ad-strip{flex:1 1 100%;font-size:13.5px;padding:8px 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
.ad-strip{flex:1 1 100%;font-size:13.5px;padding:8px 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
||||||
.ad-strip a{color:var(--ink)}
|
.ad-strip a{color:var(--ink)}
|
||||||
.ad-strip b{color:var(--mint)}
|
.ad-strip b{color:var(--mint)}
|
||||||
.ad-foot{text-align:center}
|
.ad-foot{text-align:center}
|
||||||
.pv{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:0 0 16px;background:var(--ground-soft)}
|
.pv{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:0 0 16px;background:rgba(4,8,7,.35)}
|
||||||
.pv-head b{display:block;font-size:18px;margin:4px 0 2px}
|
.pv-head b{display:block;font-size:18px;margin:4px 0 2px}
|
||||||
.done-big{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 16px;text-align:center}
|
.done-big{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 16px;text-align:center}
|
||||||
.done-big .tick{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:48px;font-weight:800;color:var(--mint-ink);background:var(--mint);box-shadow:0 0 0 10px rgba(67,232,195,.15),0 10px 30px rgba(67,232,195,.35)}
|
.done-big .tick{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:48px;font-weight:800;color:var(--mint-ink);background:var(--mint);box-shadow:0 0 0 10px rgba(67,232,195,.15),0 10px 30px rgba(67,232,195,.35)}
|
||||||
.done-big b{font-family:var(--disp);font-size:22px;margin-top:8px}
|
.done-big b{font-family:var(--disp);font-size:22px;margin-top:8px}
|
||||||
.badge.amber{background:var(--muted-soft);border-color:var(--muted-line);color:var(--muted)}
|
.badge.amber{background:rgba(139,166,156,.1);border-color:rgba(139,166,156,.4);color:var(--muted)}
|
||||||
/* faq */
|
/* faq */
|
||||||
details{border:1px solid var(--line);border-radius:14px;margin:0 0 10px;background:var(--panel)}
|
details{border:1px solid var(--line);border-radius:14px;margin:0 0 10px;background:var(--panel)}
|
||||||
details[open]{border-color:var(--mint-line)}
|
details[open]{border-color:rgba(67,232,195,.45)}
|
||||||
summary{cursor:pointer;padding:16px 20px;font-weight:700;font-family:var(--disp);font-size:15px;list-style:none}
|
summary{cursor:pointer;padding:16px 20px;font-weight:700;font-family:var(--disp);font-size:15px;list-style:none}
|
||||||
summary::before{content:"+";color:var(--mint);font-weight:800;margin-right:12px}
|
summary::before{content:"+";color:var(--mint);font-weight:800;margin-right:12px}
|
||||||
details[open] summary::before{content:"−"}
|
details[open] summary::before{content:"−"}
|
||||||
@@ -270,7 +249,7 @@ details p{margin:0;padding:0 20px 18px 42px;color:var(--muted);font-size:14.5px}
|
|||||||
/* closing cta card */
|
/* closing cta card */
|
||||||
.closer{position:relative;display:grid;gap:26px;align-items:center;grid-template-columns:1fr;
|
.closer{position:relative;display:grid;gap:26px;align-items:center;grid-template-columns:1fr;
|
||||||
padding:44px 36px;border-radius:24px;overflow:hidden;margin:80px 0 0;
|
padding:44px 36px;border-radius:24px;overflow:hidden;margin:80px 0 0;
|
||||||
background:var(--panel-grad-deep);border:1px solid var(--line-strong)}
|
background:linear-gradient(160deg,#0d1d17,#060c0a);border:1px solid var(--line-strong)}
|
||||||
@media(min-width:880px){.closer{grid-template-columns:1.2fr .8fr}}
|
@media(min-width:880px){.closer{grid-template-columns:1.2fr .8fr}}
|
||||||
.closer::before{content:"";position:absolute;width:460px;height:460px;right:-140px;top:-260px;border-radius:50%;
|
.closer::before{content:"";position:absolute;width:460px;height:460px;right:-140px;top:-260px;border-radius:50%;
|
||||||
background:radial-gradient(circle,rgba(67,232,195,.2),transparent 65%);pointer-events:none}
|
background:radial-gradient(circle,rgba(67,232,195,.2),transparent 65%);pointer-events:none}
|
||||||
@@ -287,7 +266,7 @@ footer{border-top:1px solid var(--line);margin-top:90px;padding:34px 0 0;color:v
|
|||||||
box-shadow:0 12px 40px rgba(0,0,0,.55)}
|
box-shadow:0 12px 40px rgba(0,0,0,.55)}
|
||||||
#status.ok{border-color:var(--mint)}
|
#status.ok{border-color:var(--mint)}
|
||||||
#status.bad{border-color:var(--bad)}
|
#status.bad{border-color:var(--bad)}
|
||||||
input,select,textarea{background:var(--field-bg);border:1px solid var(--line-strong);color:var(--ink);border-radius:11px;
|
input,select,textarea{background:rgba(4,8,7,.65);border:1px solid var(--line-strong);color:var(--ink);border-radius:11px;
|
||||||
padding:11px 14px;font-size:14.5px;font-family:inherit}
|
padding:11px 14px;font-size:14.5px;font-family:inherit}
|
||||||
input[type=range]{padding:0;border:0;background:transparent;accent-color:var(--mint);height:28px;vertical-align:middle}
|
input[type=range]{padding:0;border:0;background:transparent;accent-color:var(--mint);height:28px;vertical-align:middle}
|
||||||
input:focus,select:focus,textarea:focus{border-color:var(--mint)}
|
input:focus,select:focus,textarea:focus{border-color:var(--mint)}
|
||||||
@@ -298,18 +277,18 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.bo-body{background:var(--ground)}
|
.bo-body{background:var(--ground)}
|
||||||
.bo{display:grid;grid-template-columns:236px 1fr;min-height:100vh}
|
.bo{display:grid;grid-template-columns:236px 1fr;min-height:100vh}
|
||||||
.bo-side{position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;display:flex;flex-direction:column;gap:22px;
|
.bo-side{position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;display:flex;flex-direction:column;gap:22px;
|
||||||
padding:22px 16px;background:var(--side-bg);border-right:1px solid var(--line)}
|
padding:22px 16px;background:rgba(10,18,15,.92);border-right:1px solid var(--line)}
|
||||||
.bo-side .logo{font-size:19px;padding:0 8px}
|
.bo-side .logo{font-size:19px;padding:0 8px}
|
||||||
.bo-menu{display:flex;flex-direction:column;gap:4px}
|
.bo-menu{display:flex;flex-direction:column;gap:4px}
|
||||||
.bo-menu button{display:flex;align-items:center;gap:11px;background:transparent;border:0;color:var(--muted);
|
.bo-menu button{display:flex;align-items:center;gap:11px;background:transparent;border:0;color:var(--muted);
|
||||||
font:600 14px var(--disp);padding:11px 12px;border-radius:11px;cursor:pointer;text-align:left;
|
font:600 14px var(--disp);padding:11px 12px;border-radius:11px;cursor:pointer;text-align:left;
|
||||||
border-left:3px solid transparent}
|
border-left:3px solid transparent}
|
||||||
.bo-menu a{display:flex;align-items:center;gap:11px;color:var(--muted);font:600 14px var(--disp);padding:11px 12px;border-radius:11px;text-align:left;border-left:3px solid transparent;text-decoration:none}
|
.bo-menu a{display:flex;align-items:center;gap:11px;color:var(--muted);font:600 14px var(--disp);padding:11px 12px;border-radius:11px;text-align:left;border-left:3px solid transparent;text-decoration:none}
|
||||||
.bo-menu a:hover{color:var(--ink);background:var(--mint-faint)}
|
.bo-menu a:hover{color:var(--ink);background:rgba(67,232,195,.05)}
|
||||||
.bo-menu a svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
|
.bo-menu a svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
|
||||||
.bo-menu button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
|
.bo-menu button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
|
||||||
.bo-menu button:hover{color:var(--ink);background:var(--mint-faint)}
|
.bo-menu button:hover{color:var(--ink);background:rgba(67,232,195,.05)}
|
||||||
.bo-menu button.on{color:var(--mint);background:var(--mint-soft);border-left-color:var(--mint)}
|
.bo-menu button.on{color:var(--mint);background:rgba(67,232,195,.09);border-left-color:var(--mint)}
|
||||||
.bo-links{display:flex;flex-direction:column;gap:2px;padding:14px 12px;border-top:1px solid var(--line)}
|
.bo-links{display:flex;flex-direction:column;gap:2px;padding:14px 12px;border-top:1px solid var(--line)}
|
||||||
.bo-cap{font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
|
.bo-cap{font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
|
||||||
.bo-links a{color:var(--muted);font-size:13.5px;padding:5px 0}
|
.bo-links a{color:var(--muted);font-size:13.5px;padding:5px 0}
|
||||||
@@ -321,7 +300,7 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.bo-pagefoot a{color:var(--muted)}
|
.bo-pagefoot a{color:var(--muted)}
|
||||||
.bo-pagefoot a:hover{color:var(--ink);text-decoration:none}
|
.bo-pagefoot a:hover{color:var(--ink);text-decoration:none}
|
||||||
.bo-top{display:flex;align-items:center;gap:16px;padding:16px 26px;border-bottom:1px solid var(--line);
|
.bo-top{display:flex;align-items:center;gap:16px;padding:16px 26px;border-bottom:1px solid var(--line);
|
||||||
background:var(--nav-bg);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);position:sticky;top:0;z-index:5}
|
background:rgba(6,10,8,.75);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);position:sticky;top:0;z-index:5}
|
||||||
.bo-top h2{font-size:20px}
|
.bo-top h2{font-size:20px}
|
||||||
#boBurger{display:none;background:transparent;border:1px solid var(--line-strong);color:var(--ink);
|
#boBurger{display:none;background:transparent;border:1px solid var(--line-strong);color:var(--ink);
|
||||||
border-radius:9px;font-size:17px;padding:5px 11px;cursor:pointer}
|
border-radius:9px;font-size:17px;padding:5px 11px;cursor:pointer}
|
||||||
@@ -360,11 +339,11 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.feat-day .fd-occ{font-family:var(--mono);font-size:11px;color:var(--muted)}
|
.feat-day .fd-occ{font-family:var(--mono);font-size:11px;color:var(--muted)}
|
||||||
.feat-day.open2 .fd-occ{color:var(--mint)}
|
.feat-day.open2 .fd-occ{color:var(--mint)}
|
||||||
/* ── featured rotation strip ── */
|
/* ── featured rotation strip ── */
|
||||||
.feat-top{max-width:760px;margin:16px auto;border:1px solid var(--amber-line)}
|
.feat-top{max-width:760px;margin:16px auto;border:1px solid rgba(255,177,56,.5)}
|
||||||
.feat-strip{display:flex;justify-content:center;margin-top:10px}
|
.feat-strip{display:flex;justify-content:center;margin-top:10px}
|
||||||
.feat-strip a{max-width:728px;width:100%;display:flex;justify-content:space-between;gap:10px;padding:11px 14px;border-radius:10px;
|
.feat-strip a{max-width:728px;width:100%;display:flex;justify-content:space-between;gap:10px;padding:11px 14px;border-radius:10px;
|
||||||
background:var(--panel);border:1px solid var(--amber);color:var(--ink);text-decoration:none;font-weight:600}
|
background:var(--panel);border:1px solid #ffb238;color:var(--ink);text-decoration:none;font-weight:600}
|
||||||
.feat-strip a:hover{border-color:var(--gold);box-shadow:0 0 0 1px var(--amber-line)}
|
.feat-strip a:hover{border-color:#ffd15c;box-shadow:0 0 0 1px rgba(255,177,56,.4)}
|
||||||
.feat-strip .by{font-size:12px;color:var(--muted);font-weight:500;white-space:nowrap}
|
.feat-strip .by{font-size:12px;color:var(--muted);font-weight:500;white-space:nowrap}
|
||||||
.feat-strip .by{font-size:12px;color:var(--muted);font-weight:500;white-space:nowrap}
|
.feat-strip .by{font-size:12px;color:var(--muted);font-weight:500;white-space:nowrap}
|
||||||
/* ── achievement badges ── */
|
/* ── achievement badges ── */
|
||||||
@@ -373,22 +352,22 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.badge-a .badge-img{width:150px;height:150px;border-radius:14px;object-fit:cover;border:1px solid var(--line-strong)}
|
.badge-a .badge-img{width:150px;height:150px;border-radius:14px;object-fit:cover;border:1px solid var(--line-strong)}
|
||||||
.badge-a.locked .badge-img{filter:grayscale(.85) brightness(.5);opacity:.7}
|
.badge-a.locked .badge-img{filter:grayscale(.85) brightness(.5);opacity:.7}
|
||||||
.badge-a .medal{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;position:relative;
|
.badge-a .medal{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;position:relative;
|
||||||
background:radial-gradient(circle at 50% 35%,var(--mint-soft-2),var(--panel-solid));
|
background:radial-gradient(circle at 50% 35%,rgba(67,232,195,.28),rgba(9,26,19,.9));
|
||||||
border:2px solid var(--mint);box-shadow:0 0 18px rgba(67,232,195,.3)}
|
border:2px solid var(--mint);box-shadow:0 0 18px rgba(67,232,195,.3)}
|
||||||
.badge-a.locked .medal{background:var(--muted-soft);border-color:var(--line-strong);box-shadow:none;filter:grayscale(1);opacity:.5}
|
.badge-a.locked .medal{background:rgba(139,166,156,.08);border-color:var(--line-strong);box-shadow:none;filter:grayscale(1);opacity:.5}
|
||||||
.badge-a .medal svg{width:38px;height:38px;stroke:var(--mint);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
|
.badge-a .medal svg{width:38px;height:38px;stroke:var(--mint);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
|
||||||
.badge-a.locked .medal svg{stroke:var(--muted)}
|
.badge-a.locked .medal svg{stroke:var(--muted)}
|
||||||
.badge-a .bl{font-size:12px;font-weight:700;line-height:1.2}
|
.badge-a .bl{font-size:12px;font-weight:700;line-height:1.2}
|
||||||
.badge-a .bs{font-size:10.5px;color:var(--muted)}
|
.badge-a .bs{font-size:10.5px;color:var(--muted)}
|
||||||
.badge-a .share{font-size:11px;color:var(--mint);cursor:pointer;background:none;border:0;padding:0;text-decoration:underline}
|
.badge-a .share{font-size:11px;color:var(--mint);cursor:pointer;background:none;border:0;padding:0;text-decoration:underline}
|
||||||
/* ── "Your next move": milestone stepper card ── */
|
/* ── "Your next move": milestone stepper card ── */
|
||||||
.next-card{position:relative;overflow:hidden;border-color:var(--mint-line)}
|
.next-card{position:relative;overflow:hidden;border-color:rgba(67,232,195,.28)}
|
||||||
.next-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:
|
.next-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:
|
||||||
radial-gradient(420px 150px at 10% 0%,rgba(67,232,195,.12),transparent 70%),
|
radial-gradient(420px 150px at 10% 0%,rgba(67,232,195,.12),transparent 70%),
|
||||||
radial-gradient(360px 130px at 90% 100%,rgba(157,125,255,.09),transparent 70%)}
|
radial-gradient(360px 130px at 90% 100%,rgba(157,125,255,.09),transparent 70%)}
|
||||||
.nc-head{display:flex;gap:14px;align-items:flex-start;position:relative}
|
.nc-head{display:flex;gap:14px;align-items:flex-start;position:relative}
|
||||||
.nc-head .pl{flex:0 0 auto;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
|
.nc-head .pl{flex:0 0 auto;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
|
||||||
background:var(--mint-soft-2);border:1px solid var(--mint-line)}
|
background:rgba(67,232,195,.12);border:1px solid rgba(67,232,195,.35)}
|
||||||
.nc-head .pl svg{width:20px;height:20px;stroke:var(--mint);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
|
.nc-head .pl svg{width:20px;height:20px;stroke:var(--mint);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
|
||||||
.nc-steps{display:flex;margin-top:20px;position:relative;flex-wrap:wrap;row-gap:14px}
|
.nc-steps{display:flex;margin-top:20px;position:relative;flex-wrap:wrap;row-gap:14px}
|
||||||
.nc-step{flex:1;min-width:88px;display:flex;flex-direction:column;align-items:center;gap:7px;
|
.nc-step{flex:1;min-width:88px;display:flex;flex-direction:column;align-items:center;gap:7px;
|
||||||
@@ -409,20 +388,20 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.statx{display:flex;gap:14px;align-items:flex-start;background:var(--panel);border:1px solid var(--line);
|
.statx{display:flex;gap:14px;align-items:flex-start;background:var(--panel);border:1px solid var(--line);
|
||||||
border-radius:var(--radius);padding:18px;position:relative;overflow:hidden}
|
border-radius:var(--radius);padding:18px;position:relative;overflow:hidden}
|
||||||
.statx .pl{flex:0 0 auto;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;
|
.statx .pl{flex:0 0 auto;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;
|
||||||
background:var(--mint-soft);border:1px solid var(--mint-line)}
|
background:rgba(67,232,195,.1);border:1px solid rgba(67,232,195,.3)}
|
||||||
.statx .pl svg{width:22px;height:22px;stroke:var(--mint);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
|
.statx .pl svg{width:22px;height:22px;stroke:var(--mint);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
|
||||||
.statx.c-cyan .pl{background:var(--cyan-soft);border-color:var(--cyan-line)}
|
.statx.c-cyan .pl{background:rgba(84,204,255,.1);border-color:rgba(84,204,255,.3)}
|
||||||
.statx.c-cyan .pl svg{stroke:var(--cyan)}
|
.statx.c-cyan .pl svg{stroke:var(--cyan)}
|
||||||
.statx.c-violet .pl{background:var(--violet-soft);border-color:var(--violet-line)}
|
.statx.c-violet .pl{background:rgba(157,125,255,.12);border-color:rgba(157,125,255,.32)}
|
||||||
.statx.c-violet .pl svg{stroke:var(--violet)}
|
.statx.c-violet .pl svg{stroke:var(--violet)}
|
||||||
.statx.c-amber .pl{background:var(--amber-soft);border-color:var(--amber-line)}
|
.statx.c-amber .pl{background:rgba(255,178,56,.1);border-color:rgba(255,178,56,.3)}
|
||||||
.statx.c-amber .pl svg{stroke:var(--amber)}
|
.statx.c-amber .pl svg{stroke:var(--amber)}
|
||||||
.statx .nv{font-family:var(--disp);font-size:26px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1}
|
.statx .nv{font-family:var(--disp);font-size:26px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1}
|
||||||
.statx .lb{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-top:2px}
|
.statx .lb{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-top:2px}
|
||||||
.chip{display:inline-block;margin-top:7px;font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 10px;
|
.chip{display:inline-block;margin-top:7px;font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 10px;
|
||||||
background:var(--mint-soft);color:var(--mint)}
|
background:rgba(67,232,195,.1);color:var(--mint)}
|
||||||
.chip.flat{background:var(--muted-soft);color:var(--muted)}
|
.chip.flat{background:rgba(139,166,156,.12);color:var(--muted)}
|
||||||
.chip.warm{background:var(--amber-soft);color:var(--amber)}
|
.chip.warm{background:rgba(255,178,56,.12);color:var(--amber)}
|
||||||
.card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
|
.card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
|
||||||
.card-head .sub{font-size:12px;color:var(--muted)}
|
.card-head .sub{font-size:12px;color:var(--muted)}
|
||||||
/* dismiss on the announcement cards at the top of the Overview (Marty, 2026-09-22):
|
/* dismiss on the announcement cards at the top of the Overview (Marty, 2026-09-22):
|
||||||
@@ -430,16 +409,16 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.card-x{flex:none;align-self:center;margin:-4px -6px 0 2px;width:28px;height:28px;border-radius:50%;
|
.card-x{flex:none;align-self:center;margin:-4px -6px 0 2px;width:28px;height:28px;border-radius:50%;
|
||||||
border:1px solid var(--line);background:transparent;color:var(--muted);font-size:19px;line-height:1;
|
border:1px solid var(--line);background:transparent;color:var(--muted);font-size:19px;line-height:1;
|
||||||
cursor:pointer;display:grid;place-items:center;padding:0}
|
cursor:pointer;display:grid;place-items:center;padding:0}
|
||||||
.card-x:hover{border-color:var(--line-strong);color:var(--ink);background:var(--muted-soft)}
|
.card-x:hover{border-color:var(--line-strong);color:var(--ink);background:rgba(139,166,156,.1)}
|
||||||
/* bar chart (divs, real data) */
|
/* bar chart (divs, real data) */
|
||||||
.barchart{display:flex;align-items:flex-end;gap:6px;height:120px;margin-top:14px}
|
.barchart{display:flex;align-items:flex-end;gap:6px;height:120px;margin-top:14px}
|
||||||
.barchart .bar{flex:1;min-width:6px;background:linear-gradient(180deg,var(--mint),var(--mint-line));
|
.barchart .bar{flex:1;min-width:6px;background:linear-gradient(180deg,var(--mint),rgba(67,232,195,.25));
|
||||||
border-radius:5px 5px 2px 2px;position:relative;transition:height .5s ease}
|
border-radius:5px 5px 2px 2px;position:relative;transition:height .5s ease}
|
||||||
.barchart .bar.alt{background:linear-gradient(180deg,var(--violet),var(--violet-line))}
|
.barchart .bar.alt{background:linear-gradient(180deg,var(--violet),rgba(157,125,255,.25))}
|
||||||
.barchart .bar:hover::after{content:attr(data-v);position:absolute;bottom:calc(100% + 4px);left:50%;
|
.barchart .bar:hover::after{content:attr(data-v);position:absolute;bottom:calc(100% + 4px);left:50%;
|
||||||
transform:translateX(-50%);background:var(--panel-solid);border:1px solid var(--line-strong);border-radius:7px;
|
transform:translateX(-50%);background:var(--panel-solid);border:1px solid var(--line-strong);border-radius:7px;
|
||||||
padding:2px 8px;font-family:var(--mono);font-size:11px;white-space:nowrap;z-index:3}
|
padding:2px 8px;font-family:var(--mono);font-size:11px;white-space:nowrap;z-index:3}
|
||||||
.barchart .bar.empty{background:var(--muted-soft);height:4px!important}
|
.barchart .bar.empty{background:rgba(139,166,156,.15);height:4px!important}
|
||||||
.chart-x{display:flex;gap:6px;margin-top:6px}
|
.chart-x{display:flex;gap:6px;margin-top:6px}
|
||||||
.chart-x span{flex:1;text-align:center;font-family:var(--mono);font-size:10px;color:var(--muted);overflow:hidden;white-space:nowrap}
|
.chart-x span{flex:1;text-align:center;font-family:var(--mono);font-size:10px;color:var(--muted);overflow:hidden;white-space:nowrap}
|
||||||
/* donut + ring (SVG) */
|
/* donut + ring (SVG) */
|
||||||
@@ -508,7 +487,7 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.lin-row .chat-msg-btn{justify-self:end}
|
.lin-row .chat-msg-btn{justify-self:end}
|
||||||
.lin-row .sp.wrap{white-space:normal;line-height:1.7}
|
.lin-row .sp.wrap{white-space:normal;line-height:1.7}
|
||||||
/* list toolbar: sort + filter chips shared by the tank, roster and downline (2026-09-29) */
|
/* list toolbar: sort + filter chips shared by the tank, roster and downline (2026-09-29) */
|
||||||
.lst-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:4px 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--ink-faint)}
|
.lst-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:4px 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025)}
|
||||||
.lst-sort{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
|
.lst-sort{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
|
||||||
.lst-sort select{background:var(--panel);color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;padding:4px 8px;font-size:12.5px}
|
.lst-sort select{background:var(--panel);color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;padding:4px 8px;font-size:12.5px}
|
||||||
.lst-dir{background:transparent;color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;padding:4px 9px;font-size:12px;cursor:pointer;white-space:nowrap}
|
.lst-dir{background:transparent;color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;padding:4px 9px;font-size:12px;cursor:pointer;white-space:nowrap}
|
||||||
@@ -517,12 +496,12 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.lst-chip.on{border-color:var(--mint);color:var(--ink);background:var(--mint-soft)}
|
.lst-chip.on{border-color:var(--mint);color:var(--ink);background:var(--mint-soft)}
|
||||||
.lst-n{margin-left:auto;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
|
.lst-n{margin-left:auto;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
|
||||||
.lchip{display:inline-block;font-size:11.5px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 8px;white-space:nowrap;vertical-align:middle}
|
.lchip{display:inline-block;font-size:11.5px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 8px;white-space:nowrap;vertical-align:middle}
|
||||||
.lchip.on{border-color:var(--mint-line);color:var(--ink)} .lchip.warn{border-color:var(--gold-line);color:var(--gold)}
|
.lchip.on{border-color:rgba(67,232,195,.45);color:var(--ink)} .lchip.warn{border-color:rgba(255,209,92,.55);color:#ffd15c}
|
||||||
.roster td:nth-child(3){white-space:normal;line-height:1.8}
|
.roster td:nth-child(3){white-space:normal;line-height:1.8}
|
||||||
.lin-row .lin-act-btn{justify-self:end;white-space:nowrap}
|
.lin-row .lin-act-btn{justify-self:end;white-space:nowrap}
|
||||||
.lin-act{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 10px 10px;margin:-1px 0 6px;border-bottom:1px solid var(--line);background:var(--ink-faint);border-radius:0 0 10px 10px}
|
.lin-act{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 10px 10px;margin:-1px 0 6px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.025);border-radius:0 0 10px 10px}
|
||||||
.lin-chip{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:3px 10px;white-space:nowrap} .lin-chip b{font-weight:600;color:var(--ink);margin-right:5px} .lin-chip.on{border-color:var(--mint-line);color:var(--ink)} .lin-chip.warn{border-color:var(--gold-line)}
|
.lin-chip{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:3px 10px;white-space:nowrap} .lin-chip b{font-weight:600;color:var(--ink);margin-right:5px} .lin-chip.on{border-color:rgba(67,232,195,.45);color:var(--ink)} .lin-chip.warn{border-color:rgba(255,209,92,.5)}
|
||||||
.lin-verdict{margin-left:auto;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)} .lin-verdict.on{color:var(--mint)}
|
.lin-verdict{margin-left:auto;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#ffd15c} .lin-verdict.on{color:var(--mint)}
|
||||||
@media (max-width:560px){.lin-chip{white-space:normal}.lin-act{padding:8px 4px 10px}}
|
@media (max-width:560px){.lin-chip{white-space:normal}.lin-act{padding:8px 4px 10px}}
|
||||||
@media (max-width:560px){.lin-row{grid-template-columns:1fr auto;gap:2px 10px}
|
@media (max-width:560px){.lin-row{grid-template-columns:1fr auto;gap:2px 10px}
|
||||||
.lin-row .em{grid-column:1/2}.lin-row .dt{grid-column:1/2;text-align:left}.lin-row .chat-msg-btn{grid-row:1/3;grid-column:2}
|
.lin-row .em{grid-column:1/2}.lin-row .dt{grid-column:1/2;text-align:left}.lin-row .chat-msg-btn{grid-row:1/3;grid-column:2}
|
||||||
@@ -532,7 +511,7 @@ textarea{resize:vertical;font:inherit}
|
|||||||
.ed-bar button{background:var(--panel);color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;
|
.ed-bar button{background:var(--panel);color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;
|
||||||
padding:5px 11px;font-size:12.5px;cursor:pointer}
|
padding:5px 11px;font-size:12.5px;cursor:pointer}
|
||||||
.ed-bar button:hover,.ed-bar button:focus-visible{border-color:var(--mint);outline:none}
|
.ed-bar button:hover,.ed-bar button:focus-visible{border-color:var(--mint);outline:none}
|
||||||
.ed-body{background:var(--field-bg);border:1px solid var(--line-strong);border-radius:11px;
|
.ed-body{background:rgba(4,8,7,.65);border:1px solid var(--line-strong);border-radius:11px;
|
||||||
min-height:180px;padding:12px 14px;outline:none;overflow-wrap:anywhere}
|
min-height:180px;padding:12px 14px;outline:none;overflow-wrap:anywhere}
|
||||||
.ed-body:focus{border-color:var(--mint)}
|
.ed-body:focus{border-color:var(--mint)}
|
||||||
.ed-body:empty::before{content:attr(data-ph);color:var(--muted)}
|
.ed-body:empty::before{content:attr(data-ph);color:var(--muted)}
|
||||||
@@ -552,11 +531,11 @@ textarea.ed-body{width:100%;min-height:180px;resize:vertical}
|
|||||||
.subtab.on{color:var(--mint);border-bottom-color:var(--mint)}
|
.subtab.on{color:var(--mint);border-bottom-color:var(--mint)}
|
||||||
.subtab .pill{position:static}
|
.subtab .pill{position:static}
|
||||||
/* ── solo-ads inbox ── */
|
/* ── solo-ads inbox ── */
|
||||||
.bo-menu .pill{margin-left:auto;background:var(--amber);color:var(--amber-ink);font-size:11px;font-weight:800;
|
.bo-menu .pill{margin-left:auto;background:var(--amber);color:#1a1206;font-size:11px;font-weight:800;
|
||||||
border-radius:999px;padding:1px 8px;line-height:1.5}
|
border-radius:999px;padding:1px 8px;line-height:1.5}
|
||||||
.ib-row{display:flex;gap:10px;align-items:baseline;padding:11px 6px;border-bottom:1px solid var(--line);
|
.ib-row{display:flex;gap:10px;align-items:baseline;padding:11px 6px;border-bottom:1px solid var(--line);
|
||||||
cursor:pointer;flex-wrap:wrap}
|
cursor:pointer;flex-wrap:wrap}
|
||||||
.ib-row:hover{background:var(--mint-faint)}
|
.ib-row:hover{background:rgba(67,232,195,.05)}
|
||||||
.ib-row .sub{font-weight:700;flex:1;min-width:160px;overflow-wrap:anywhere}
|
.ib-row .sub{font-weight:700;flex:1;min-width:160px;overflow-wrap:anywhere}
|
||||||
.ib-row.unread .sub{color:var(--mint)}
|
.ib-row.unread .sub{color:var(--mint)}
|
||||||
.ib-row .from,.ib-row .when{font-size:12px;color:var(--muted);white-space:nowrap}
|
.ib-row .from,.ib-row .when{font-size:12px;color:var(--muted);white-space:nowrap}
|
||||||
@@ -577,9 +556,9 @@ textarea.ed-body{width:100%;min-height:180px;resize:vertical}
|
|||||||
#pane-earn .card h3::before,#pane-earnings .card h3::before{background:var(--violet)}
|
#pane-earn .card h3::before,#pane-earnings .card h3::before{background:var(--violet)}
|
||||||
#pane-promo .card h3::before{background:var(--cyan)}
|
#pane-promo .card h3::before{background:var(--cyan)}
|
||||||
#pane-wallet .card h3::before,#pane-profile .card h3::before{background:var(--mint)}
|
#pane-wallet .card h3::before,#pane-profile .card h3::before{background:var(--mint)}
|
||||||
.bo .card{background:var(--panel-grad)}
|
.bo .card{background:linear-gradient(165deg,rgba(24,36,31,.6),rgba(13,19,17,.66))}
|
||||||
#pane-line .qualbar,#nextCard{border-left:3px solid var(--mint-line)}
|
#pane-line .qualbar,#nextCard{border-left:3px solid rgba(67,232,195,.4)}
|
||||||
.promo-block{background:var(--ground-soft);border:1px solid var(--line);border-radius:12px;
|
.promo-block{background:rgba(4,8,7,.55);border:1px solid var(--line);border-radius:12px;
|
||||||
padding:14px 16px;margin:0 0 12px;font-size:13.5px;line-height:1.6;white-space:pre-wrap}
|
padding:14px 16px;margin:0 0 12px;font-size:13.5px;line-height:1.6;white-space:pre-wrap}
|
||||||
.promo-block .btn{margin-top:10px}
|
.promo-block .btn{margin-top:10px}
|
||||||
/* back-office polish: pane transitions, quick actions */
|
/* back-office polish: pane transitions, quick actions */
|
||||||
@@ -588,19 +567,19 @@ textarea.ed-body{width:100%;min-height:180px;resize:vertical}
|
|||||||
@keyframes panein{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
|
@keyframes panein{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
|
||||||
}
|
}
|
||||||
.qa{display:flex;flex-direction:column;gap:8px}
|
.qa{display:flex;flex-direction:column;gap:8px}
|
||||||
.qa button{display:flex;align-items:center;gap:10px;background:var(--mint-faint);border:1px solid var(--line);
|
.qa button{display:flex;align-items:center;gap:10px;background:rgba(67,232,195,.05);border:1px solid var(--line);
|
||||||
color:var(--ink);font:600 14px var(--disp);padding:11px 14px;border-radius:11px;cursor:pointer;text-align:left;
|
color:var(--ink);font:600 14px var(--disp);padding:11px 14px;border-radius:11px;cursor:pointer;text-align:left;
|
||||||
transition:border-color .15s ease,background .15s ease}
|
transition:border-color .15s ease,background .15s ease}
|
||||||
.qa button:hover{border-color:var(--mint);background:var(--mint-soft)}
|
.qa button:hover{border-color:var(--mint);background:rgba(67,232,195,.1)}
|
||||||
/* member sub-navigation */
|
/* member sub-navigation */
|
||||||
.subnav{display:flex;gap:6px;flex-wrap:wrap;background:var(--pill-bg);border:1px solid var(--line);
|
.subnav{display:flex;gap:6px;flex-wrap:wrap;background:rgba(16,28,24,.7);border:1px solid var(--line);
|
||||||
border-radius:999px;padding:6px 8px;width:fit-content;margin:0 0 22px}
|
border-radius:999px;padding:6px 8px;width:fit-content;margin:0 0 22px}
|
||||||
.subnav button{background:transparent;border:0;color:var(--muted);font:600 13.5px var(--disp);
|
.subnav button{background:transparent;border:0;color:var(--muted);font:600 13.5px var(--disp);
|
||||||
padding:8px 16px;border-radius:999px;cursor:pointer}
|
padding:8px 16px;border-radius:999px;cursor:pointer}
|
||||||
.subnav button:hover{color:var(--ink)}
|
.subnav button:hover{color:var(--ink)}
|
||||||
.subnav button.on{color:var(--mint-ink);background:var(--mint)}
|
.subnav button.on{color:var(--mint-ink);background:var(--mint)}
|
||||||
/* member dashboard: qualification progress + roster */
|
/* member dashboard: qualification progress + roster */
|
||||||
.qualbar{position:relative;height:12px;border-radius:999px;background:var(--ground-soft);border:1px solid var(--line-strong);
|
.qualbar{position:relative;height:12px;border-radius:999px;background:rgba(4,8,7,.7);border:1px solid var(--line-strong);
|
||||||
margin:26px 0 30px;max-width:520px}
|
margin:26px 0 30px;max-width:520px}
|
||||||
.qualbar #qualFill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--mint),var(--mint-hi));
|
.qualbar #qualFill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--mint),var(--mint-hi));
|
||||||
box-shadow:0 0 18px rgba(67,232,195,.4);width:0;transition:width .6s ease}
|
box-shadow:0 0 18px rgba(67,232,195,.4);width:0;transition:width .6s ease}
|
||||||
@@ -626,8 +605,8 @@ img{max-width:100%}
|
|||||||
font-size:22px;cursor:pointer;line-height:1}
|
font-size:22px;cursor:pointer;line-height:1}
|
||||||
.ch-msgs{padding:14px;overflow-y:auto;max-height:340px;display:flex;flex-direction:column;gap:10px}
|
.ch-msgs{padding:14px;overflow-y:auto;max-height:340px;display:flex;flex-direction:column;gap:10px}
|
||||||
.ch-m{border-radius:12px;padding:9px 13px;font-size:13.5px;line-height:1.5;max-width:86%}
|
.ch-m{border-radius:12px;padding:9px 13px;font-size:13.5px;line-height:1.5;max-width:86%}
|
||||||
.ch-m.bot{background:var(--mint-soft);border:1px solid var(--mint-line);align-self:flex-start}
|
.ch-m.bot{background:rgba(67,232,195,.08);border:1px solid rgba(67,232,195,.2);align-self:flex-start}
|
||||||
.ch-m.me{background:var(--muted-soft);border:1px solid var(--line);align-self:flex-end}
|
.ch-m.me{background:rgba(130,148,196,.12);border:1px solid var(--line);align-self:flex-end}
|
||||||
.ch-m a{word-break:break-all}
|
.ch-m a{word-break:break-all}
|
||||||
.ch-input{display:flex;gap:8px;padding:11px;border-top:1px solid var(--line)}
|
.ch-input{display:flex;gap:8px;padding:11px;border-top:1px solid var(--line)}
|
||||||
.ch-input input{flex:1;min-width:0}
|
.ch-input input{flex:1;min-width:0}
|
||||||
@@ -635,7 +614,7 @@ img{max-width:100%}
|
|||||||
font-weight:700;cursor:pointer;font-family:var(--disp)}
|
font-weight:700;cursor:pointer;font-family:var(--disp)}
|
||||||
@media(prefers-reduced-motion:no-preference){
|
@media(prefers-reduced-motion:no-preference){
|
||||||
.feed .row:first-child{animation:landed .9s ease}
|
.feed .row:first-child{animation:landed .9s ease}
|
||||||
@keyframes landed{from{background:var(--mint-soft-2)}to{background:var(--mint-soft)}}
|
@keyframes landed{from{background:rgba(67,232,195,.3)}to{background:var(--mint-soft)}}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── Sponsor chat: FAB, slide-in drawer, threads, bubbles, presence ── */
|
/* ── Sponsor chat: FAB, slide-in drawer, threads, bubbles, presence ── */
|
||||||
@@ -689,12 +668,12 @@ img{max-width:100%}
|
|||||||
.lt-nodes{display:flex;gap:8px;flex-wrap:wrap}
|
.lt-nodes{display:flex;gap:8px;flex-wrap:wrap}
|
||||||
.lt-node{background:var(--panel);border:1px solid var(--line-strong);border-radius:10px;padding:6px 12px;font-size:13px;font-weight:600;white-space:nowrap}
|
.lt-node{background:var(--panel);border:1px solid var(--line-strong);border-radius:10px;padding:6px 12px;font-size:13px;font-weight:600;white-space:nowrap}
|
||||||
.lt-node.deep{color:var(--muted)}
|
.lt-node.deep{color:var(--muted)}
|
||||||
.lt-node.qualified{border-color:var(--amber);color:var(--gold);box-shadow:0 0 0 1px var(--amber-line)}
|
.lt-node.qualified{border-color:#ffb238;color:#ffd15c;box-shadow:0 0 0 1px rgba(255,177,56,.35)}
|
||||||
.lt-node.open{border-style:dashed;color:var(--muted);background:transparent}
|
.lt-node.open{border-style:dashed;color:var(--muted);background:transparent}
|
||||||
.lt-node .lt-n{display:inline-block;font-style:normal;font-size:10px;line-height:16px;min-width:16px;text-align:center;border-radius:8px;background:var(--amber-soft);color:var(--gold);margin-left:6px;padding:0 4px;font-variant-numeric:tabular-nums}
|
.lt-node .lt-n{display:inline-block;font-style:normal;font-size:10px;line-height:16px;min-width:16px;text-align:center;border-radius:8px;background:rgba(255,177,56,.18);color:#ffd15c;margin-left:6px;padding:0 4px;font-variant-numeric:tabular-nums}
|
||||||
|
|
||||||
.sh-report{display:block;text-align:center;margin-top:10px;color:var(--muted);font-size:12px}
|
.sh-report{display:block;text-align:center;margin-top:10px;color:rgba(255,255,255,.45);font-size:12px}
|
||||||
.sh-report:hover{color:var(--ink)}
|
.sh-report:hover{color:rgba(255,255,255,.8)}
|
||||||
|
|
||||||
/* ── promo tools (2026-09-09) ── */
|
/* ── promo tools (2026-09-09) ── */
|
||||||
.promo-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px}
|
.promo-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px}
|
||||||
@@ -725,7 +704,7 @@ img{max-width:100%}
|
|||||||
.promo-bv{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px;padding:14px 16px;border:1px dashed var(--line-strong);border-radius:12px}
|
.promo-bv{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px;padding:14px 16px;border:1px dashed var(--line-strong);border-radius:12px}
|
||||||
.promo-bv b{font-family:var(--disp)}
|
.promo-bv b{font-family:var(--disp)}
|
||||||
.obj-wrap{display:flex;flex-direction:column;gap:8px}
|
.obj-wrap{display:flex;flex-direction:column;gap:8px}
|
||||||
.obj{border:1px solid var(--line);border-radius:12px;background:var(--ground-soft)}
|
.obj{border:1px solid var(--line);border-radius:12px;background:rgba(4,8,7,.4)}
|
||||||
.obj summary{cursor:pointer;padding:12px 16px;font-family:var(--disp);font-weight:700;font-size:15px;list-style:none;display:flex;justify-content:space-between;gap:10px}
|
.obj summary{cursor:pointer;padding:12px 16px;font-family:var(--disp);font-weight:700;font-size:15px;list-style:none;display:flex;justify-content:space-between;gap:10px}
|
||||||
.obj summary::after{content:"+";color:var(--mint);font-weight:800}
|
.obj summary::after{content:"+";color:var(--mint);font-weight:800}
|
||||||
.obj[open] summary::after{content:"–"}
|
.obj[open] summary::after{content:"–"}
|
||||||
@@ -747,12 +726,12 @@ img{max-width:100%}
|
|||||||
.wo-slot img{max-width:100%;border-radius:8px}
|
.wo-slot img{max-width:100%;border-radius:8px}
|
||||||
|
|
||||||
/* getting-started stepper on the Overview (Jim could not find the wallet step, 2026-09-14) */
|
/* getting-started stepper on the Overview (Jim could not find the wallet step, 2026-09-14) */
|
||||||
.gs{border-color:var(--mint-line)}
|
.gs{border-color:rgba(67,232,195,.45)}
|
||||||
.gs-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:4px 0 12px}
|
.gs-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:4px 0 12px}
|
||||||
.gs-step{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--muted);font-size:14px}
|
.gs-step{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--muted);font-size:14px}
|
||||||
.gs-step .n{flex:0 0 26px;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;border:1px solid var(--line);font-size:13px}
|
.gs-step .n{flex:0 0 26px;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;border:1px solid var(--line);font-size:13px}
|
||||||
.gs-step.done{color:var(--ink)} .gs-step.done .n{background:var(--mint);color:var(--mint-ink);border-color:var(--mint)}
|
.gs-step.done{color:var(--ink)} .gs-step.done .n{background:var(--mint);color:var(--mint-ink);border-color:var(--mint)}
|
||||||
.gs-step.now{color:var(--ink);border-color:var(--mint);background:var(--mint-faint)} .gs-step.now .n{border-color:var(--mint);color:var(--mint)}
|
.gs-step.now{color:var(--ink);border-color:var(--mint);background:rgba(67,232,195,.07)} .gs-step.now .n{border-color:var(--mint);color:var(--mint)}
|
||||||
.gs-now{display:flex;gap:14px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}
|
.gs-now{display:flex;gap:14px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}
|
||||||
.gs-now p{margin:0;flex:1;min-width:240px;max-width:60ch} .gs-now p b{display:block;font-family:var(--disp);font-size:16px;margin-bottom:2px}
|
.gs-now p{margin:0;flex:1;min-width:240px;max-width:60ch} .gs-now p b{display:block;font-family:var(--disp);font-size:16px;margin-bottom:2px}
|
||||||
@keyframes gsPulse{0%{box-shadow:0 0 0 0 rgba(67,232,195,.7)}70%{box-shadow:0 0 0 14px rgba(67,232,195,0)}100%{box-shadow:0 0 0 0 rgba(67,232,195,0)}}
|
@keyframes gsPulse{0%{box-shadow:0 0 0 0 rgba(67,232,195,.7)}70%{box-shadow:0 0 0 14px rgba(67,232,195,0)}100%{box-shadow:0 0 0 0 rgba(67,232,195,0)}}
|
||||||
@@ -761,16 +740,16 @@ img{max-width:100%}
|
|||||||
/* promo toolkit tiers */
|
/* promo toolkit tiers */
|
||||||
.tk-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
|
.tk-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
|
||||||
.tk-tier{border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:13.5px;color:var(--muted)}
|
.tk-tier{border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:13.5px;color:var(--muted)}
|
||||||
.tk-tier.reached{border-color:var(--mint-line);color:var(--ink)} .tk-tier.current{background:var(--mint-faint)}
|
.tk-tier.reached{border-color:rgba(67,232,195,.5);color:var(--ink)} .tk-tier.current{background:rgba(67,232,195,.07)}
|
||||||
.tk-tier b{display:block;font-family:var(--disp);font-size:15px;color:var(--ink)} .tk-tier .need{font-size:12px;margin:2px 0 8px;color:var(--muted)}
|
.tk-tier b{display:block;font-family:var(--disp);font-size:15px;color:var(--ink)} .tk-tier .need{font-size:12px;margin:2px 0 8px;color:var(--muted)}
|
||||||
.tk-tier ul{margin:0;padding-left:16px} .tk-tier li{margin:3px 0} .tk-tier li.soon{opacity:.65} .tk-tier li.soon::after{content:' (coming)';font-size:11px;color:var(--muted)}
|
.tk-tier ul{margin:0;padding-left:16px} .tk-tier li{margin:3px 0} .tk-tier li.soon{opacity:.65} .tk-tier li.soon::after{content:' (coming)';font-size:11px;color:var(--muted)}
|
||||||
.tk-tier .lock{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
|
.tk-tier .lock{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#ffd15c}
|
||||||
.tk-hist{border-top:1px solid var(--line);padding:8px 0;font-size:13px} .tk-hist .muted{font-size:12px}
|
.tk-hist{border-top:1px solid var(--line);padding:8px 0;font-size:13px} .tk-hist .muted{font-size:12px}
|
||||||
.tk-sec{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)} .tk-grid{display:flex;gap:8px;flex-wrap:wrap}
|
.tk-sec{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)} .tk-grid{display:flex;gap:8px;flex-wrap:wrap}
|
||||||
.tk-vids{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px} .tk-vid{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:13px} .tk-vid b{display:block;font-weight:600;margin-bottom:4px} .tk-vid .st{font-size:12px;color:var(--muted)}
|
.tk-vids{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px} .tk-vid{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:13px} .tk-vid b{display:block;font-weight:600;margin-bottom:4px} .tk-vid .st{font-size:12px;color:var(--muted)}
|
||||||
.tk-bar{height:8px;border-radius:99px;background:var(--muted-soft);overflow:hidden;margin:6px 0 4px} .tk-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--mint-deep),var(--mint));transition:width .6s ease;min-width:4px}
|
.tk-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin:6px 0 4px} .tk-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#1fb894,#43e8c3);transition:width .6s ease;min-width:4px}
|
||||||
.tk-table{width:100%;border-collapse:collapse;font-size:13px} .tk-table th,.tk-table td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line)} .tk-table th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)} .tk-table td.n{font-variant-numeric:tabular-nums;text-align:right} .tk-table th.n{text-align:right} .tk-table tr.best td{color:var(--mint)}
|
.tk-table{width:100%;border-collapse:collapse;font-size:13px} .tk-table th,.tk-table td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line)} .tk-table th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)} .tk-table td.n{font-variant-numeric:tabular-nums;text-align:right} .tk-table th.n{text-align:right} .tk-table tr.best td{color:var(--mint)}
|
||||||
.tk-team{border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:6px 0;font-size:13px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between} .tk-team .who b{font-weight:600} .tk-team .who span{color:var(--muted);font-size:12px} .tk-team.stalled{border-color:var(--gold-line)}
|
.tk-team{border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:6px 0;font-size:13px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between} .tk-team .who b{font-weight:600} .tk-team .who span{color:var(--muted);font-size:12px} .tk-team.stalled{border-color:rgba(255,209,92,.45)}
|
||||||
.tk-nudge{width:100%;margin:8px 0 0;padding:8px 12px;border:1px dashed var(--line);border-radius:10px;font-size:13px}
|
.tk-nudge{width:100%;margin:8px 0 0;padding:8px 12px;border:1px dashed var(--line);border-radius:10px;font-size:13px}
|
||||||
/* click sources stack one per line so the Clicks column stays narrow (Marty, 2026-09-15) */
|
/* click sources stack one per line so the Clicks column stays narrow (Marty, 2026-09-15) */
|
||||||
.clk-src span{display:block;white-space:nowrap} .camp-table td{white-space:normal} .camp-table td:first-child{max-width:260px}
|
.clk-src span{display:block;white-space:nowrap} .camp-table td{white-space:normal} .camp-table td:first-child{max-width:260px}
|
||||||
@@ -793,11 +772,11 @@ img{max-width:100%}
|
|||||||
|
|
||||||
/* Pipeline board (Marty, 2026-09-15): columns scroll sideways inside their own box, never the page */
|
/* Pipeline board (Marty, 2026-09-15): columns scroll sideways inside their own box, never the page */
|
||||||
.pipe-board{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity}
|
.pipe-board{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity}
|
||||||
.pipe-col{flex:0 0 220px;scroll-snap-align:start;background:var(--ground-soft);border:1px solid var(--line);border-radius:12px;padding:10px;min-height:120px}
|
.pipe-col{flex:0 0 220px;scroll-snap-align:start;background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:12px;padding:10px;min-height:120px}
|
||||||
.pipe-col h4{margin:0 0 2px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mint);display:flex;justify-content:space-between;gap:8px}
|
.pipe-col h4{margin:0 0 2px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mint);display:flex;justify-content:space-between;gap:8px}
|
||||||
.pipe-col h4 span{color:var(--muted);font-variant-numeric:tabular-nums}
|
.pipe-col h4 span{color:var(--muted);font-variant-numeric:tabular-nums}
|
||||||
.pipe-col .hint{font-size:11.5px;color:var(--muted);margin:0 0 8px;line-height:1.35}
|
.pipe-col .hint{font-size:11.5px;color:var(--muted);margin:0 0 8px;line-height:1.35}
|
||||||
.pipe-card{background:var(--ink-faint);border:1px solid var(--line);border-radius:10px;padding:8px 10px;margin:0 0 8px;cursor:pointer;transition:border-color .15s}
|
.pipe-card{background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:10px;padding:8px 10px;margin:0 0 8px;cursor:pointer;transition:border-color .15s}
|
||||||
.pipe-card:hover,.pipe-card:focus-visible{border-color:var(--mint);outline:none}
|
.pipe-card:hover,.pipe-card:focus-visible{border-color:var(--mint);outline:none}
|
||||||
.pipe-card.on{border-color:var(--gold,#e6c15a)}
|
.pipe-card.on{border-color:var(--gold,#e6c15a)}
|
||||||
.pipe-card .nm{font-weight:700;font-size:14px;display:flex;justify-content:space-between;gap:6px;align-items:baseline}
|
.pipe-card .nm{font-weight:700;font-size:14px;display:flex;justify-content:space-between;gap:6px;align-items:baseline}
|
||||||
@@ -812,7 +791,7 @@ img{max-width:100%}
|
|||||||
.lt-node.lt-go{cursor:pointer;transition:border-color .15s,transform .15s} .lt-node.lt-go:hover,.lt-node.lt-go:focus-visible{border-color:var(--mint);transform:translateY(-1px);outline:none}
|
.lt-node.lt-go{cursor:pointer;transition:border-color .15s,transform .15s} .lt-node.lt-go:hover,.lt-node.lt-go:focus-visible{border-color:var(--mint);transform:translateY(-1px);outline:none}
|
||||||
.lin-row.lin-focus{box-shadow:0 0 0 2px var(--mint);border-radius:10px}
|
.lin-row.lin-focus{box-shadow:0 0 0 2px var(--mint);border-radius:10px}
|
||||||
/* paged lists: 25 rows, then a control bar that reads as a control, not more list (Marty, 2026-09-19) */
|
/* paged lists: 25 rows, then a control bar that reads as a control, not more list (Marty, 2026-09-19) */
|
||||||
.pgr{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 4px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:12px;background:var(--mint-faint)}
|
.pgr{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 4px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:12px;background:rgba(67,232,195,.07)}
|
||||||
.pgr-n{color:var(--ink);font-size:13px} .pgr-n b{color:var(--mint);font-variant-numeric:tabular-nums}
|
.pgr-n{color:var(--ink);font-size:13px} .pgr-n b{color:var(--mint);font-variant-numeric:tabular-nums}
|
||||||
.pgr-b{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
|
.pgr-b{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
|
||||||
.pgr-pg{font-size:11px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
|
.pgr-pg{font-size:11px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
|
||||||
@@ -822,12 +801,12 @@ img{max-width:100%}
|
|||||||
#chatThreads .pgr{margin:8px 10px}
|
#chatThreads .pgr{margin:8px 10px}
|
||||||
|
|
||||||
/* Five Dollar Friday strip (landing) */
|
/* Five Dollar Friday strip (landing) */
|
||||||
.fdf{margin:18px auto 0;max-width:760px;padding:12px 16px;border-radius:12px;background:var(--mint-soft);border:1px solid var(--mint-line);color:var(--ink);font-size:14px;line-height:1.5;text-align:center}
|
.fdf{margin:18px auto 0;max-width:760px;padding:12px 16px;border-radius:12px;background:rgba(67,232,195,.08);border:1px solid rgba(67,232,195,.35);color:var(--ink,#eafffa);font-size:14px;line-height:1.5;text-align:center}
|
||||||
.fdf a{color:var(--mint);font-weight:600}
|
.fdf a{color:#43e8c3;font-weight:600}
|
||||||
|
|
||||||
/* My line: section pills, sticky under the top bar (Marty, 2026-09-26) */
|
/* My line: section pills, sticky under the top bar (Marty, 2026-09-26) */
|
||||||
.line-jump{position:sticky;top:var(--jumpTop,64px);z-index:4;margin:0 0 14px;padding:10px 0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;
|
.line-jump{position:sticky;top:var(--jumpTop,64px);z-index:4;margin:0 0 14px;padding:10px 0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;
|
||||||
background:var(--nav-bg);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
|
background:rgba(6,10,8,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
|
||||||
.line-jump::-webkit-scrollbar{display:none}
|
.line-jump::-webkit-scrollbar{display:none}
|
||||||
.line-jump .chip-t{flex:none;white-space:nowrap}
|
.line-jump .chip-t{flex:none;white-space:nowrap}
|
||||||
#pane-line > .card[data-jump]{scroll-margin-top:calc(var(--jumpTop,64px) + 64px)}
|
#pane-line > .card[data-jump]{scroll-margin-top:calc(var(--jumpTop,64px) + 64px)}
|
||||||
@@ -835,29 +814,3 @@ img{max-width:100%}
|
|||||||
|
|
||||||
/* a game return bar sits at the bottom: lift the status toast above it (Marty 2026-10-08: the bar hid the purchase result) */
|
/* a game return bar sits at the bottom: lift the status toast above it (Marty 2026-10-08: the bar hid the purchase result) */
|
||||||
body.hasback #status{bottom:92px}
|
body.hasback #status{bottom:92px}
|
||||||
|
|
||||||
/* ── Light theme (2026-11-01, mirrored from LinkSpin): light mint-grey ground, white panels, dark ink, the mint family
|
|
||||||
darkened to a teal that reads as text on white (every pair below clears WCAG AA 4.5:1, measured by qa/theme-contrast.mjs).
|
|
||||||
themehead.js resolves auto | light | dark to data-theme on <html> before the first paint; nothing stored keeps dark. ── */
|
|
||||||
:root[data-theme="light"]{
|
|
||||||
--ground:#E8F0EC; --ground2:#F2F7F4; --panel:#FFFFFF; --panel-solid:#FFFFFF;
|
|
||||||
--line:#C9D8D1; --line-strong:#A6BBB1; --line-soft:#DDE7E2; --ink:#0B1A14; --muted:#50665C;
|
|
||||||
--mint:#0A6B56; --mint-hi:#075744; --mint-deep:#064A3A; --mint-ink:#FFFFFF; --mint-pale:#075744;
|
|
||||||
--mint-faint:#EDF6F2; --mint-soft:#DDF0E8; --mint-soft-2:#C6E6DA; --mint-line:#8FC9B6; --mint-line-2:#3E9E85;
|
|
||||||
--cyan:#0A6F8C; --violet:#5B3FD6; --amber:#8A5200; --bad:#B42318; --bad-soft:#FDE8E6;
|
|
||||||
--ok:#0B7A52; --ok-ink:#FFFFFF; --ok-soft:#E3F6EC; --warn:#9A4A00;
|
|
||||||
--gold:#7A5200; --gold-2:#7F5C00; --gold-ink:#FFFFFF; --gold-soft:#FFF4D1; --gold-faint:#FFFBEB; --gold-line:#E6C25E;
|
|
||||||
--amber-soft:#FFF1D6; --amber-line:#E8C27A; --amber-ink:#FFFFFF;
|
|
||||||
--cyan-soft:#DDF1F8; --cyan-line:#9FD3E6; --violet-soft:#EEE9FF; --violet-line:#C4B5FF;
|
|
||||||
--muted-soft:rgba(80,102,92,.12); --muted-line:rgba(80,102,92,.45); --ink-faint:rgba(11,26,20,.05);
|
|
||||||
--ground-soft:#F2F7F4; --field-bg:#FFFFFF; --nav-bg:rgba(242,247,244,.88); --side-bg:rgba(242,247,244,.97); --pill-bg:rgba(255,255,255,.85);
|
|
||||||
--panel-grad:linear-gradient(180deg,#FFFFFF,#F5FAF7); --panel-grad-deep:linear-gradient(180deg,#F2F7F4,#E2ECE7); --plate-grad:linear-gradient(160deg,#FFFFFF,#E6F1EC);
|
|
||||||
--sh-lg:0 0 0 1px rgba(11,26,20,.04),0 14px 34px -20px rgba(11,26,20,.35);
|
|
||||||
color-scheme:light;
|
|
||||||
}
|
|
||||||
:root[data-theme="light"] body::before{opacity:.7}
|
|
||||||
:root[data-theme="light"] .ghost{background:linear-gradient(180deg,rgba(10,107,86,.22),transparent 78%);-webkit-background-clip:text;background-clip:text}
|
|
||||||
:root[data-theme="light"] .btn{box-shadow:0 4px 18px rgba(10,107,86,.22)} :root[data-theme="light"] .btn:hover{box-shadow:0 8px 26px rgba(10,107,86,.3)}
|
|
||||||
:root[data-theme="light"] .mockup,:root[data-theme="light"] .modal-card,:root[data-theme="light"] #status,:root[data-theme="light"] #iapChatPanel,:root[data-theme="light"] .chat-drawer{box-shadow:0 18px 50px -20px rgba(11,26,20,.35)}
|
|
||||||
:root[data-theme="light"] .bo.side-open .bo-side{box-shadow:0 0 60px rgba(11,26,20,.25)}
|
|
||||||
:root[data-theme="light"] .plate{box-shadow:0 0 24px rgba(10,107,86,.12),inset 0 1px 0 rgba(255,255,255,.8)}
|
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ window.IAPSupport = (function () {
|
|||||||
if (document.getElementById('supCss')) return;
|
if (document.getElementById('supCss')) return;
|
||||||
const st = document.createElement('style'); st.id = 'supCss';
|
const st = document.createElement('style'); st.id = 'supCss';
|
||||||
st.textContent = '.sup-form label{display:block;font-size:13px;color:var(--muted);margin:12px 0 4px}.sup-form input,.sup-form select,.sup-form textarea{width:100%;box-sizing:border-box}'
|
st.textContent = '.sup-form label{display:block;font-size:13px;color:var(--muted);margin:12px 0 4px}.sup-form input,.sup-form select,.sup-form textarea{width:100%;box-sizing:border-box}'
|
||||||
+ '.sup-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 4px;border-bottom:1px solid var(--line);cursor:pointer}.sup-row:last-child{border-bottom:0}.sup-row:hover{background:var(--mint-faint)}'
|
+ '.sup-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 4px;border-bottom:1px solid var(--line);cursor:pointer}.sup-row:last-child{border-bottom:0}.sup-row:hover{background:rgba(67,232,195,.04)}'
|
||||||
+ '.sup-row .sr-main{min-width:0;flex:1}.sup-row .sr-sub{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sup-row .sr-meta{font-size:12px;color:var(--muted)}'
|
+ '.sup-row .sr-main{min-width:0;flex:1}.sup-row .sr-sub{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sup-row .sr-meta{font-size:12px;color:var(--muted)}'
|
||||||
+ '.sup-st{font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 10px;border:1px solid var(--line-strong);white-space:nowrap}.sup-st.open{color:var(--mint);border-color:var(--mint-line-2)}.sup-st.waiting_on_member{color:var(--gold-2);border-color:var(--gold-line)}.sup-st.closed{color:var(--muted)}'
|
+ '.sup-st{font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 10px;border:1px solid var(--line-strong);white-space:nowrap}.sup-st.open{color:var(--mint);border-color:rgba(67,232,195,.5)}.sup-st.waiting_on_member{color:#f2c94c;border-color:rgba(242,201,76,.5)}.sup-st.closed{color:var(--muted)}'
|
||||||
+ '.sup-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--amber,#ffb238);margin-right:6px;vertical-align:1px}'
|
+ '.sup-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--amber,#ffb238);margin-right:6px;vertical-align:1px}'
|
||||||
+ '.sup-msg{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:10px 0;background:var(--ground-soft)}.sup-msg.admin{border-color:var(--mint-line);background:var(--mint-faint)}.sup-msg.system{opacity:.8}'
|
+ '.sup-msg{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:10px 0;background:rgba(4,8,7,.35)}.sup-msg.admin{border-color:rgba(67,232,195,.45);background:rgba(67,232,195,.06)}.sup-msg.system{opacity:.8}'
|
||||||
+ '.sup-msg .sm-head{font-size:12px;color:var(--muted);margin:0 0 6px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.sup-msg .sm-body{white-space:pre-wrap;word-wrap:break-word;font-size:15px;line-height:1.5}'
|
+ '.sup-msg .sm-head{font-size:12px;color:var(--muted);margin:0 0 6px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.sup-msg .sm-body{white-space:pre-wrap;word-wrap:break-word;font-size:15px;line-height:1.5}'
|
||||||
+ '.sup-att{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.sup-att img{max-width:160px;max-height:120px;border-radius:8px;border:1px solid var(--line)}'
|
+ '.sup-att{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.sup-att img{max-width:160px;max-height:120px;border-radius:8px;border:1px solid var(--line)}'
|
||||||
+ '.sup-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}';
|
+ '.sup-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}';
|
||||||
@@ -137,7 +137,7 @@ window.IAPSupport = (function () {
|
|||||||
if (m) return tokenPage(host, m[1]);
|
if (m) return tokenPage(host, m[1]);
|
||||||
let me = null; try { me = await (await fetch('/api/me')).json(); } catch (e) {}
|
let me = null; try { me = await (await fetch('/api/me')).json(); } catch (e) {}
|
||||||
const signedIn = !!(me && me.signedIn && me.email);
|
const signedIn = !!(me && me.signedIn && me.email);
|
||||||
host.innerHTML = (signedIn ? '<div class="card" style="border-color:var(--mint-line)"><p class="small" style="margin:0">You are signed in as <b>' + esc(me.username ? '@' + me.username : me.email) + '</b>. Your tickets and Marty\'s replies live in <a href="/my#help">Help in your dashboard</a>, which is the easiest place to follow up. This form works too and files the ticket under your account.</p></div>' : '')
|
host.innerHTML = (signedIn ? '<div class="card" style="border-color:rgba(67,232,195,.45)"><p class="small" style="margin:0">You are signed in as <b>' + esc(me.username ? '@' + me.username : me.email) + '</b>. Your tickets and Marty\'s replies live in <a href="/my#help">Help in your dashboard</a>, which is the easiest place to follow up. This form works too and files the ticket under your account.</p></div>' : '')
|
||||||
+ '<div class="card"><form class="sup-form" id="supForm" novalidate autocomplete="on">'
|
+ '<div class="card"><form class="sup-form" id="supForm" novalidate autocomplete="on">'
|
||||||
+ '<input class="hp-field" type="text" name="website_url" id="supHp" tabindex="-1" aria-hidden="true" autocomplete="off">'
|
+ '<input class="hp-field" type="text" name="website_url" id="supHp" tabindex="-1" aria-hidden="true" autocomplete="off">'
|
||||||
+ (signedIn ? '' : '<label for="supName">Your name</label><input id="supName" maxlength="80" autocomplete="name">'
|
+ (signedIn ? '' : '<label for="supName">Your name</label><input id="supName" maxlength="80" autocomplete="name">'
|
||||||
|
|||||||
@@ -17,11 +17,9 @@
|
|||||||
title.innerHTML = safeName;
|
title.innerHTML = safeName;
|
||||||
if (hostEl) hostEl.innerHTML = safeName;
|
if (hostEl) hostEl.innerHTML = safeName;
|
||||||
IAP.$('bioHead').hidden = false;
|
IAP.$('bioHead').hidden = false;
|
||||||
// profile fields (avatar, bio, socials, intro video) are rendered only when the server says the member has bought (w.bought);
|
if (w.avatarUrl) { const av = IAP.$('bioAvatar'); av.src = w.avatarUrl; av.hidden = false; }
|
||||||
// a free member's wall shows the name, the line's ads and the join call, nothing from the profile (2026-10-30)
|
|
||||||
if (w.bought && w.avatarUrl) { const av = IAP.$('bioAvatar'); av.src = w.avatarUrl; av.hidden = false; }
|
|
||||||
if (w.badge) { const bb = IAP.$('bioBadge'); if (bb) { bb.src = w.badge.img; bb.title = w.badge.label + ' badge'; bb.hidden = false; } }
|
if (w.badge) { const bb = IAP.$('bioBadge'); if (bb) { bb.src = w.badge.img; bb.title = w.badge.label + ' badge'; bb.hidden = false; } }
|
||||||
IAP.$('bioText').textContent = (w.bought && w.bio) || 'Building a team on InstantAdPay. Join through this page and you are in my line.';
|
IAP.$('bioText').textContent = w.bio || 'Building a team on InstantAdPay — join through this page and you\'re in my line.';
|
||||||
if (w.qrUrl) IAP.$('bioQr').src = w.qrUrl;
|
if (w.qrUrl) IAP.$('bioQr').src = w.qrUrl;
|
||||||
// social links
|
// social links
|
||||||
const SOC = { facebook: 'Facebook', twitter: 'X', youtube: 'YouTube', instagram: 'Instagram', tiktok: 'TikTok', telegram: 'Telegram', linkedin: 'LinkedIn', website: 'Website' };
|
const SOC = { facebook: 'Facebook', twitter: 'X', youtube: 'YouTube', instagram: 'Instagram', tiktok: 'TikTok', telegram: 'Telegram', linkedin: 'LinkedIn', website: 'Website' };
|
||||||
@@ -38,15 +36,14 @@
|
|||||||
website: svg('<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18"/>')
|
website: svg('<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18"/>')
|
||||||
};
|
};
|
||||||
const sc = IAP.$('bioSocials');
|
const sc = IAP.$('bioSocials');
|
||||||
if (sc && w.bought && w.socials && typeof w.socials === 'object') {
|
if (sc && w.socials && typeof w.socials === 'object') {
|
||||||
// paid placement: Google wants these marked sponsored (plus ugc), never a plain dofollow (2026-10-30)
|
|
||||||
const links = Object.keys(SOC).filter(k => w.socials[k]).map(k =>
|
const links = Object.keys(SOC).filter(k => w.socials[k]).map(k =>
|
||||||
'<a href="' + String(w.socials[k]).replace(/"/g, '%22') + '" target="_blank" rel="sponsored ugc noopener">' + (ICON[k] || '') + '<span>' + SOC[k] + '</span></a>');
|
'<a href="' + String(w.socials[k]).replace(/"/g, '%22') + '" target="_blank" rel="noopener nofollow me">' + (ICON[k] || '') + '<span>' + SOC[k] + '</span></a>');
|
||||||
sc.innerHTML = links.join('');
|
sc.innerHTML = links.join('');
|
||||||
}
|
}
|
||||||
// intro video under the bio: YouTube / Vimeo embed, or a direct file
|
// intro video under the bio: YouTube / Vimeo embed, or a direct file
|
||||||
const bv = IAP.$('bioVideo');
|
const bv = IAP.$('bioVideo');
|
||||||
const vurl = w.bought && w.socials && typeof w.socials === 'object' ? String(w.socials.video || '') : '';
|
const vurl = w.socials && typeof w.socials === 'object' ? String(w.socials.video || '') : '';
|
||||||
if (bv && vurl) {
|
if (bv && vurl) {
|
||||||
let yt = /(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/)|youtu\.be\/)([A-Za-z0-9_-]{6,})/.exec(vurl);
|
let yt = /(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/)|youtu\.be\/)([A-Za-z0-9_-]{6,})/.exec(vurl);
|
||||||
let vm = /vimeo\.com\/(?:video\/)?(\d+)/.exec(vurl);
|
let vm = /vimeo\.com\/(?:video\/)?(\d+)/.exec(vurl);
|
||||||
|
|||||||
@@ -45,32 +45,32 @@
|
|||||||
'-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);';
|
'-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);';
|
||||||
|
|
||||||
var card = document.createElement('div');
|
var card = document.createElement('div');
|
||||||
card.style.cssText = 'position:relative;width:100%;max-width:470px;background:var(--panel-solid);color:var(--ink);' +
|
card.style.cssText = 'position:relative;width:100%;max-width:470px;background:#0b1512;color:#eef7f3;' +
|
||||||
'border:1px solid var(--mint-line);border-radius:18px;padding:26px 24px 22px;' +
|
'border:1px solid rgba(67,232,195,.28);border-radius:18px;padding:26px 24px 22px;' +
|
||||||
'box-shadow:0 26px 70px rgba(0,0,0,.6);font-size:15px;line-height:1.55;';
|
'box-shadow:0 26px 70px rgba(0,0,0,.6);font-size:15px;line-height:1.55;';
|
||||||
|
|
||||||
var html =
|
var html =
|
||||||
'<button type="button" class="iap-w-x" aria-label="Close" style="position:absolute;top:10px;right:12px;' +
|
'<button type="button" class="iap-w-x" aria-label="Close" style="position:absolute;top:10px;right:12px;' +
|
||||||
'background:none;border:0;color:var(--muted);font-size:26px;line-height:1;cursor:pointer;padding:4px 8px;">×</button>' +
|
'background:none;border:0;color:#8ba69c;font-size:26px;line-height:1;cursor:pointer;padding:4px 8px;">×</button>' +
|
||||||
'<div style="letter-spacing:2px;text-transform:uppercase;font-size:11px;font-weight:700;color:var(--mint);">InstantAdPay</div>' +
|
'<div style="letter-spacing:2px;text-transform:uppercase;font-size:11px;font-weight:700;color:#43e8c3;">InstantAdPay</div>' +
|
||||||
'<h2 style="margin:8px 0 12px;font-size:25px;line-height:1.25;color:var(--ink);">The ad spend in your line pays you, in the same transaction.</h2>' +
|
'<h2 style="margin:8px 0 12px;font-size:25px;line-height:1.25;color:#fff;">The ad spend in your line pays you, in the same transaction.</h2>' +
|
||||||
'<p style="margin:0 0 14px;color:var(--ink);">You buy advertising you were going to buy anyway. When someone in your line buys a package, the contract splits it and your share lands in your wallet before the page reloads. No back office, no payday to wait for.</p>' +
|
'<p style="margin:0 0 14px;color:#c8d6e2;">You buy advertising you were going to buy anyway. When someone in your line buys a package, the contract splits it and your share lands in your wallet before the page reloads. No back office, no payday to wait for.</p>' +
|
||||||
'<ul style="margin:0 0 16px;padding-left:18px;color:var(--ink);">' +
|
'<ul style="margin:0 0 16px;padding-left:18px;color:#c8d6e2;">' +
|
||||||
'<li style="margin-bottom:5px;">Every payout is on the public ledger, and you can read it yourself.</li>' +
|
'<li style="margin-bottom:5px;">Every payout is on the public ledger, and you can read it yourself.</li>' +
|
||||||
'<li style="margin-bottom:5px;">Free members earn ad credits by viewing ads, videos and visits.</li>' +
|
'<li style="margin-bottom:5px;">Free members earn ad credits by viewing ads, videos and visits.</li>' +
|
||||||
'<li>Credits buy your own advertising. They are delivery, not a balance to hoard.</li>' +
|
'<li>Credits buy your own advertising. They are delivery, not a balance to hoard.</li>' +
|
||||||
'</ul>';
|
'</ul>';
|
||||||
|
|
||||||
if (fri) {
|
if (fri) {
|
||||||
html += '<div style="margin:0 0 16px;padding:12px 14px;border:1px solid var(--amber-line);' +
|
html += '<div style="margin:0 0 16px;padding:12px 14px;border:1px solid rgba(255,178,56,.38);' +
|
||||||
'background:var(--amber-soft);border-radius:12px;color:var(--ink);">' +
|
'background:rgba(255,178,56,.08);border-radius:12px;color:#eef7f3;">' +
|
||||||
'<div style="font-weight:800;color:var(--amber);font-size:12px;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:4px;">' + fri.tag + '</div>' +
|
'<div style="font-weight:800;color:#ffb238;font-size:12px;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:4px;">' + fri.tag + '</div>' +
|
||||||
'<div>' + fri.text + '</div></div>';
|
'<div>' + fri.text + '</div></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
html += '<div style="display:flex;gap:9px;flex-wrap:wrap;">' +
|
html += '<div style="display:flex;gap:9px;flex-wrap:wrap;">' +
|
||||||
'<a class="iap-w-go" href="/my#buy" style="flex:1 1 auto;text-align:center;text-decoration:none;background:linear-gradient(180deg,#5ff0cf,#43e8c3);color:#04120e;font-weight:800;padding:12px 16px;border-radius:11px;">See the packages</a>' +
|
'<a class="iap-w-go" href="/my#buy" style="flex:1 1 auto;text-align:center;text-decoration:none;background:linear-gradient(180deg,#5ff0cf,#43e8c3);color:#04120e;font-weight:800;padding:12px 16px;border-radius:11px;">See the packages</a>' +
|
||||||
'<a class="iap-w-go" href="/ledger" style="flex:0 1 auto;text-align:center;text-decoration:none;border:1px solid var(--mint-line-2);color:var(--mint);font-weight:700;padding:12px 16px;border-radius:11px;">Live ledger</a>' +
|
'<a class="iap-w-go" href="/ledger" style="flex:0 1 auto;text-align:center;text-decoration:none;border:1px solid rgba(67,232,195,.4);color:#43e8c3;font-weight:700;padding:12px 16px;border-radius:11px;">Live ledger</a>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
|
|
||||||
card.innerHTML = html;
|
card.innerHTML = html;
|
||||||
|
|||||||
@@ -1,171 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="en" data-theme-base="dark">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
|
||||||
<title>BixPay: a Visa card for your POL | InstantAdPay</title>
|
|
||||||
<meta name="description" content="How InstantAdPay members spend their POL with a BixPay Visa card: what BixPay is, the 3% fee, how to turn POL into USDT or USDC and load the card on Polygon, the sign-up steps with screenshots, how the BixPay partner plan pays ten levels deep, and what to know before you start.">
|
|
||||||
<meta name="theme-color" content="#043b2f">
|
|
||||||
<link rel="canonical" href="https://instantadpay.com/bixpay">
|
|
||||||
<meta property="og:type" content="website"><meta property="og:site_name" content="InstantAdPay">
|
|
||||||
<meta property="og:title" content="BixPay: a Visa card for your POL">
|
|
||||||
<meta property="og:description" content="A self-custody wallet with a Visa card. Send USDT or USDC to it on Polygon, load the card, and spend it wherever Visa is accepted, including Apple Pay and Google Pay. Virtual cards from $9.99. 3% per purchase, no load fee.">
|
|
||||||
<meta property="og:url" content="https://instantadpay.com/bixpay">
|
|
||||||
<meta name="twitter:card" content="summary">
|
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
|
||||||
<style>
|
|
||||||
.rg{max-width:900px}
|
|
||||||
.rg .hero{padding:44px 0 10px}
|
|
||||||
.rg h2{font-size:26px;margin:38px 0 6px}
|
|
||||||
.rg h3{font-size:17px;margin:0 0 6px}
|
|
||||||
.rg-eye{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--amber);font-weight:700;margin:38px 0 0}
|
|
||||||
.rg-eye + h2{margin-top:6px}
|
|
||||||
.rg-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 10px}
|
|
||||||
.rg-cta .btn.big{font-size:17px;padding:14px 22px}
|
|
||||||
.rg-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin:14px 0 0}
|
|
||||||
.rg-box{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:var(--ink-faint);min-width:0}
|
|
||||||
.rg-box p{margin:0;font-size:14.5px;color:var(--muted)}
|
|
||||||
.rg-box p + p{margin-top:8px}
|
|
||||||
.rg-note{font-size:14.5px;color:var(--muted);margin:8px 0 0}
|
|
||||||
.rg-route{list-style:none;counter-reset:s;margin:12px 0 0;padding:0;display:grid;gap:14px}
|
|
||||||
.rg-route > li{counter-increment:s;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--ink-faint);min-width:0}
|
|
||||||
.rg-route > li::before{content:counter(s);font-family:var(--disp);font-weight:800;font-size:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--amber);color:var(--amber-ink)}
|
|
||||||
.rg-route > li > div{min-width:0}
|
|
||||||
.rg-route p{margin:0 0 8px;font-size:14.5px;color:var(--muted)}
|
|
||||||
.rg-tbl{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:10px 0 8px}
|
|
||||||
.rg-tbl table{width:100%;border-collapse:collapse;font-size:14.5px;table-layout:fixed}
|
|
||||||
.rg-tbl th,.rg-tbl td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
|
|
||||||
.rg-tbl th{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
|
|
||||||
.rg-tbl td:first-child{width:38%;font-weight:700}
|
|
||||||
.rg-tbl tr:last-child td{border-bottom:0}
|
|
||||||
.rg-faq{display:grid;gap:14px;margin:12px 0 0}
|
|
||||||
.rg-faq dt{font-family:var(--disp);font-weight:700}
|
|
||||||
.rg-faq dd{margin:4px 0 0;color:var(--muted);font-size:14.5px}
|
|
||||||
.rg-rule{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:30px 0 22px;font-size:14.5px}
|
|
||||||
.rg-warn{border-left:4px solid var(--amber);background:var(--amber-soft);padding:12px 16px;border-radius:0 12px 12px 0;margin:12px 0 0;font-size:14.5px}
|
|
||||||
.rg code.i{font-family:var(--mono);font-size:13px;color:var(--mint);background:var(--mint-soft);padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}
|
|
||||||
/* phone screenshots: a row of app screens, each captioned; stacked on a phone */
|
|
||||||
.bx-shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:14px;margin:14px 0 0}
|
|
||||||
.bx-shot{min-width:0;text-align:center}
|
|
||||||
.bx-shot img{width:100%;max-width:240px;height:auto;border-radius:18px;border:1px solid var(--line-strong);background:#000;display:block;margin:0 auto}
|
|
||||||
.bx-shot figcaption{font-size:13px;color:var(--muted);margin:8px 0 0;line-height:1.45}
|
|
||||||
.bx-using{font-size:13.5px;color:var(--muted);margin:0}
|
|
||||||
.bx-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:12px 0 0}
|
|
||||||
.bx-flow div{border:1px solid var(--line-strong);border-radius:12px;padding:12px 13px;background:var(--ink-faint);font-size:13.5px;color:var(--muted);line-height:1.45}
|
|
||||||
.bx-flow b{display:block;font-family:var(--disp);color:var(--ink);margin-bottom:4px}
|
|
||||||
@media (max-width:640px){.rg .hero h1{font-size:30px}.rg-box{padding:14px}.rg-route > li{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px}.rg-route > li::before{width:34px;height:34px;font-size:17px}}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="wrap rg">
|
|
||||||
<section class="hero">
|
|
||||||
<p class="eyebrow">For InstantAdPay members · BixPay is a separate company</p>
|
|
||||||
<h1>Spend your POL anywhere with a <em>BixPay Visa card</em>.</h1>
|
|
||||||
<p class="lead">BixPay is a self-custody wallet with a Visa card. Send USDT or USDC to it on Polygon, load the card, and spend it wherever Visa is accepted, including Apple Pay and Google Pay. Virtual cards from $9.99. 3% per purchase, no load fee. See BIX's terms for other charges.</p>
|
|
||||||
</section>
|
|
||||||
<div class="rg-cta">
|
|
||||||
<a class="btn big" id="bixCta" href="/my#wallet" target="_blank" rel="noopener">Get your BixPay card</a>
|
|
||||||
<a class="btn sec" href="/join">Not a member yet? Join free by email</a>
|
|
||||||
</div>
|
|
||||||
<p class="bx-using" id="bixUsing">The button opens a BixPay partner sign-up link.</p>
|
|
||||||
<p class="rg-note" id="bixSignupNote"><b>Sign up on the page the button opens.</b> Don’t install the BIX app first and don’t use the portal’s own Sign Up menu: your sponsor is lost and BIX shows the referrer as N/A.</p>
|
|
||||||
<div class="rg-note" id="bixInApp" hidden style="border:1px solid var(--amber-line);background:var(--amber-soft);border-radius:10px;padding:10px 12px"><b>You’re in an app’s built-in browser.</b> BIX’s security check often fails here and your sponsor gets dropped. Open this page in Chrome or Safari first (menu > Open in browser), or copy the sign-up link and paste it there: <span id="bixInAppLink" style="word-break:break-all;font-family:ui-monospace,monospace;font-size:12px"></span> <button type="button" class="btn small sec" id="bixInAppCopy" style="margin-left:6px">Copy link</button></div>
|
|
||||||
<p class="rg-note" id="bixSoon" hidden>The BixPay card is not switched on for InstantAdPay members yet. Check back soon.</p>
|
|
||||||
<p class="rg-note">Available in 31 US states so far. Not in your state yet? You can still get the wallet and build. Elsewhere, availability varies by country.</p>
|
|
||||||
|
|
||||||
<p class="rg-eye">What it is</p>
|
|
||||||
<h2>A wallet you hold, a card you can actually use</h2>
|
|
||||||
<div class="rg-two">
|
|
||||||
<div class="rg-box"><h3>Self-custody</h3><p>The BIX app is a wallet where the keys stay with you. It is not an exchange account. You hold the USDT or USDC that backs your card.</p></div>
|
|
||||||
<div class="rg-box"><h3>A Visa card on top</h3><p>Create a virtual card in the app for $9.99 and it works wherever Visa is accepted, online and in stores through Apple Pay and Google Pay. Plastic, metal and gold cards cost more.</p></div>
|
|
||||||
<div class="rg-box"><h3>Loads on Polygon</h3><p>Your InstantAdPay payouts land as POL on Polygon. Turn them into USDT or USDC, send that to your BixPay wallet on Polygon, and top up the card. No bridge, no bank wait.</p></div>
|
|
||||||
<div class="rg-box"><h3>What it costs</h3><p>3% per purchase, no load fee. Other charges, limits and eligibility are set by BIX; read BIX's terms before you start. We quote only the fee we can stand behind.</p></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p class="rg-eye">Why we added it</p>
|
|
||||||
<h2>How BixPay pays you, in plain words</h2>
|
|
||||||
<p class="rg-note">BixPay runs a partner plan on top of the card, and InstantAdPay members plug into it with one link. Nothing here is paid by InstantAdPay: BIX tracks and pays its partners in the BIX portal, and InstantAdPay earns a referral commission when someone signs up through a partner link. Here is the plan as BIX describes it.</p>
|
|
||||||
<div class="rg-tbl">
|
|
||||||
<table>
|
|
||||||
<thead><tr><th>Piece</th><th>What BIX says it does</th></tr></thead>
|
|
||||||
<tbody>
|
|
||||||
<tr><td>The fee</td><td>3% of each card purchase. That is the only fee we quote; BIX's terms cover the rest.</td></tr>
|
|
||||||
<tr><td>What goes into the plan</td><td>Half of the purchase fees and half of card sales (the $9.99 virtual card and the others) go to partners.</td></tr>
|
|
||||||
<tr><td>Ten levels</td><td>Level 1 gets 15% of the fee, level 2 gets 10%, and levels 3 to 10 get 2.5% each.</td></tr>
|
|
||||||
<tr><td>The pool</td><td>The remaining 5% goes into a pool shared by partners with large networks, on BIX's own rules.</td></tr>
|
|
||||||
<tr><td>Card sales count too</td><td>A card bought by someone in your BixPay network pays the same way as spending does.</td></tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div class="rg-box" style="margin-top:12px"><h3>A hypothetical, not a typical result</h3><p>If someone in your BixPay network spends $1,000 on their card in a month, the fee on that is $30. BIX says it pays the level-1 partner 15% of that fee ($4.50), the level-2 partner 10% ($3.00) and each of levels 3 to 10 a quarter of one percent of the spend ($0.75 each). That is arithmetic on BIX's published percentages, not a prediction. What anyone earns depends on how many people in their network get and use a card, and on BIX paying as described. Nobody at InstantAdPay promises any amount.</p></div>
|
|
||||||
|
|
||||||
<p class="rg-eye">Who gets the credit</p>
|
|
||||||
<h2>One link, and your sponsor follows</h2>
|
|
||||||
<div class="bx-flow">
|
|
||||||
<div><b>Your own link</b>Save your BixPay partner link in Members > Profile > BixPay card. Every BixPay button on your pages, your promo kit and the line in your payout emails then carry it.</div>
|
|
||||||
<div><b>Else, your sponsor's</b>Until you add yours, your pages carry the link of the first sponsor up your line (up to ten levels) who has one. Every card says so: "Using: @name's link".</div>
|
|
||||||
<div><b>Else, the network's</b>If nobody up the line has one yet, the network link is used. Add yours and the credit is yours from then on.</div>
|
|
||||||
</div>
|
|
||||||
<p class="rg-note">Sign-ups and commissions are counted inside the BIX portal, where each partner sees their directs and levels. InstantAdPay only counts the clicks on its own buttons, so you can see which page or post is working.</p>
|
|
||||||
|
|
||||||
<p class="rg-eye">Get the card</p>
|
|
||||||
<h2>Sign up as a partner, then create the card</h2>
|
|
||||||
<ol class="rg-route">
|
|
||||||
<li><div><h3>Open a partner link</h3><p>Tap <b>Get your BixPay card</b> above (or on your Wallet tab). It opens a BixPay <b>partner</b> sign-up, not the plain card-customer one, so the referral plan comes with the card. <b>Register on that page.</b> If you opened this from Gmail or Telegram, open it in Chrome or Safari first; don’t install the app first and don’t use the portal’s own Sign Up menu, or your sponsor is lost (BIX then shows the referrer as N/A, and only BIX support can fix it).</p></div></li>
|
|
||||||
<li><div><h3>Create your BIX portal account</h3><p>Register on the page that opens (bix.ibportal.io). This is your partner back office: it shows your directs and levels and, under Profile, your own two links. The second one, labelled <b>Partner</b>, is the one you will paste into InstantAdPay later.</p></div></li>
|
|
||||||
<li><div><h3>Download the BIX app and create your wallet</h3><p>Install BixPay from your phone's app store and create the wallet in the app. Write the recovery phrase down and keep it offline: self-custody means nobody can reset it for you.</p></div></li>
|
|
||||||
<li><div><h3>Link the app to your portal</h3><p>In the app open <b>Settings > Scan QR</b> and scan the QR code shown in your portal profile. That ties the wallet and card to your partner account so your activity counts.</p></div></li>
|
|
||||||
<li><div><h3>Create your card</h3><p>In the app, <b>Cards > Create Card</b>. The virtual Visa is $9.99 and is ready as soon as you have passed BIX's identity check (KYC). Add it to Apple Pay or Google Pay from the card screen.</p></div></li>
|
|
||||||
</ol>
|
|
||||||
<div class="bx-shots">
|
|
||||||
<figure class="bx-shot"><img src="/assets/bixpay/bix-cards.webp" width="540" height="1115" alt="The BIX app Cards screen: a virtual Visa card with TOPUP, CARD INFO and MANAGE buttons and recent purchases at Walmart, Raceway and Pizza Hut" loading="lazy"><figcaption>The Cards screen after a few purchases. Balances and card numbers are hidden in this screenshot.</figcaption></figure>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p class="rg-eye">Funding your card</p>
|
|
||||||
<h2>From POL to a card you can swipe</h2>
|
|
||||||
<p class="rg-note">The card spends USDT or USDC, so the one extra step is turning POL into one of those. Three ways:</p>
|
|
||||||
<ol class="rg-route">
|
|
||||||
<li><div><h3>Swap on an exchange, then send on Polygon</h3><p>Swap your POL for USDT or USDC on any exchange or on-ramp you already use. Then in the BIX app open <b>Wallet > Receive</b>, pick USDT or USDC, choose the <b>Polygon</b> network and send to that address. A minute later it shows in the wallet's Cash tab; tap <b>TOPUP</b> on your card to load it.</p><p class="rg-warn" style="margin:0">Pick Polygon on both ends. Sending on another network to a Polygon address can lose the funds, and nobody can reverse it.</p></div></li>
|
|
||||||
<li><div><h3>Cash App (US)</h3><p>If you use Cash App, it can send crypto straight to your BixPay wallet. Handy for topping up from dollars without an exchange account. Cash App sets its own limits.</p></div></li>
|
|
||||||
<li><div><h3>The in-app swap, once BIX ships it</h3><p>BIX has said a swap inside the app is coming. The wallet already receives POL ("MATIC (migrated to POL)" in the Receive list), so once the swap is live you will be able to send POL straight in and swap there. We will update this page when it ships; until then use one of the two paths above.</p></div></li>
|
|
||||||
</ol>
|
|
||||||
<div class="bx-shots">
|
|
||||||
<figure class="bx-shot"><img src="/assets/bixpay/bix-receive.webp" width="540" height="1115" alt="The BIX app Receive screen listing USDT, USDC, Ethereum, SOL, BNB, MATIC (migrated to POL), TRON, Avalanche and Optimism" loading="lazy"><figcaption>Wallet > Receive: pick USDT or USDC, then the Polygon network.</figcaption></figure>
|
|
||||||
<figure class="bx-shot"><img src="/assets/bixpay/bix-wallet.webp" width="540" height="1115" alt="The BIX app Wallet screen, Cash tab, showing USDT and a list of Received and Sent transactions" loading="lazy"><figcaption>Cash tab: each Received is a deposit to the wallet, each Sent right after it is the top-up to the card. Amounts hidden.</figcaption></figure>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p class="rg-eye">If something goes wrong</p>
|
|
||||||
<h2>Disputes and protection</h2>
|
|
||||||
<div class="rg-two">
|
|
||||||
<div class="rg-box"><h3>Disputing a charge</h3><p>Every transaction in the app shows the merchant, the date, the category code and a <b>Dispute support</b> box. BIX accepts a dispute for 120 days after a transaction posts, and says a dispute can take 30 to 60 business days.</p></div>
|
|
||||||
<div class="rg-box"><h3>What InstantAdPay can and cannot do</h3><p>We can help you find your partner link, explain the steps and point you to the right screen. We cannot see your BixPay wallet, your card or your balance, and we cannot file a dispute for you. Card problems go to BIX support inside the app.</p></div>
|
|
||||||
</div>
|
|
||||||
<div class="bx-shots">
|
|
||||||
<figure class="bx-shot"><img src="/assets/bixpay/bix-dispute.webp" width="540" height="1115" alt="The BIX app Transaction Details screen for a Walmart purchase with the Dispute support note at the bottom" loading="lazy"><figcaption>Transaction details with the dispute window. Amount, location and card number hidden.</figcaption></figure>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p class="rg-eye">Quick answers</p>
|
|
||||||
<h2>Questions members ask</h2>
|
|
||||||
<dl class="rg-faq">
|
|
||||||
<div><dt>Do I have to be a partner to get the card?</dt><dd>Our buttons open a partner link, so you register as a partner and get the card through the same app. There is no extra cost to being a partner; it just means card sign-ups through your own link are credited to you.</dd></div>
|
|
||||||
<div><dt>Where do I put my partner link on InstantAdPay?</dt><dd>Members > Profile > BixPay card. Copy the <b>Partner</b> link from your BIX portal profile (the second box). The field refuses the first box's referral link (it ends in appId=3) because that one only makes a card customer.</dd></div>
|
|
||||||
<div><dt>Can I send POL straight to the card?</dt><dd>Not yet. Turn it into USDT or USDC first (any exchange, or Cash App in the US), then send on Polygon. When BIX ships its in-app swap we will add that path here.</dd></div>
|
|
||||||
<div><dt>Is my money safe there?</dt><dd>It is a self-custody wallet, so it is as safe as your recovery phrase. Keep the phrase offline and never type it into a website. And remember that USDT, USDC and POL are crypto assets: they can lose value.</dd></div>
|
|
||||||
<div><dt>What does InstantAdPay get out of it?</dt><dd>A referral commission from BIX when someone signs up through a partner link, the same plan every partner is on. We are not the card issuer and we do not hold any of your funds.</dd></div>
|
|
||||||
<div><dt>Can I share this page with my own link?</dt><dd>Yes. Members > Promo tools > BixPay has your link, three posts, an email swipe and four banners, plus a click count. Promo tools > Viral links turns this page into <code class="i">instantadpay.com/bixpay?ref=yourname</code>, and the button on it then carries your link.</dd></div>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<div class="rg-rule"><b>Compliance.</b> BixPay is a separate company. BIX issues the wallet and the card through its banking partners and sets its own fees, limits, eligibility and terms. InstantAdPay is not the card issuer and earns a referral commission when you sign up through a partner link. Card availability varies by country. Crypto assets can lose value.</div>
|
|
||||||
<p class="muted small" style="margin-top:10px">The partner plan figures on this page are BIX's published percentages as of October 2026 and can change at BIX's discretion. Any example is arithmetic, not a prediction; no income is guaranteed or implied, and any commission depends on real card sign-ups and spending in your network. InstantAdPay sells advertising; it is not an investment product and does not hold customer funds.</p>
|
|
||||||
<footer>
|
|
||||||
<div>InstantAdPay · <a href="/">Home</a> · <a href="/wallets">Wallet guide</a> · <a href="/earning">How earning works</a> · <a href="/my#wallet">Your Wallet tab</a></div>
|
|
||||||
<div class="small">InstantAdPay is the Polygon hub of the <a href="https://cryptoteambuild.com" target="_blank" rel="noopener">Crypto Team Build Network</a>.</div>
|
|
||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
<script src="/assets/common.js?v=20261101th"></script>
|
|
||||||
<script src="/assets/bixpay-guide.js?v=20261029bz"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>The contract | InstantAdPay</title>
|
<title>The contract | InstantAdPay</title>
|
||||||
@@ -15,10 +15,9 @@
|
|||||||
<meta name="twitter:description" content="Immutable 50-20-10 splits, no withdrawal button, verify it yourself.">
|
<meta name="twitter:description" content="Immutable 50-20-10 splits, no withdrawal button, verify it yourself.">
|
||||||
<meta name="twitter:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png">
|
<meta name="twitter:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
@@ -143,7 +142,7 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/contract.js?v=20260908p"></script>
|
<script src="/assets/contract.js?v=20260908p"></script>
|
||||||
<script src="/assets/chat.js?v=20261016n"></script>
|
<script src="/assets/chat.js?v=20261016n"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Conversion tracking: see which ad brings sign-ups and sales | InstantAdPay</title>
|
<title>Conversion tracking: see which ad brings sign-ups and sales | InstantAdPay</title>
|
||||||
@@ -11,10 +11,9 @@
|
|||||||
<meta property="og:description" content="Clicks tell you who looked. Conversion tracking tells you which ad, page and source actually brought a subscriber or a sale, with a cost per goal in credits. Free for every member. Set it up in four steps.">
|
<meta property="og:description" content="Clicks tell you who looked. Conversion tracking tells you which ad, page and source actually brought a subscriber or a sale, with a cost per goal in credits. Free for every member. Set it up in four steps.">
|
||||||
<meta property="og:url" content="https://instantadpay.com/conversion-tracking">
|
<meta property="og:url" content="https://instantadpay.com/conversion-tracking">
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260912b">
|
||||||
<style>
|
<style>
|
||||||
.rg{max-width:900px}
|
.rg{max-width:900px}
|
||||||
.rg .hero{padding:44px 0 10px}
|
.rg .hero{padding:44px 0 10px}
|
||||||
@@ -25,19 +24,19 @@
|
|||||||
.rg-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 10px}
|
.rg-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 10px}
|
||||||
.rg-cta .btn.big{font-size:17px;padding:14px 22px}
|
.rg-cta .btn.big{font-size:17px;padding:14px 22px}
|
||||||
.rg-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin:14px 0 0}
|
.rg-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin:14px 0 0}
|
||||||
.rg-box{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:var(--ink-faint);min-width:0}
|
.rg-box{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:rgba(255,255,255,.02);min-width:0}
|
||||||
.rg-box p{margin:0;font-size:14.5px;color:var(--muted)}
|
.rg-box p{margin:0;font-size:14.5px;color:var(--muted)}
|
||||||
.rg-box p + p{margin-top:8px}
|
.rg-box p + p{margin-top:8px}
|
||||||
.rg-note{font-size:14.5px;color:var(--muted);margin:8px 0 0}
|
.rg-note{font-size:14.5px;color:var(--muted);margin:8px 0 0}
|
||||||
/* the flow: across on a wide screen, down on a phone */
|
/* the flow: across on a wide screen, down on a phone */
|
||||||
.cg-flow{list-style:none;margin:16px 0 8px;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px}
|
.cg-flow{list-style:none;margin:16px 0 8px;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px}
|
||||||
.cg-flow li{position:relative;border:1px solid var(--line-strong);border-radius:12px;padding:12px 13px;background:var(--ink-faint);font-size:13.5px;line-height:1.45;color:var(--muted);min-width:0}
|
.cg-flow li{position:relative;border:1px solid var(--line-strong);border-radius:12px;padding:12px 13px;background:rgba(255,255,255,.02);font-size:13.5px;line-height:1.45;color:var(--muted);min-width:0}
|
||||||
.cg-flow li b{display:block;font-family:var(--disp);font-size:14.5px;color:var(--ink);margin-bottom:4px}
|
.cg-flow li b{display:block;font-family:var(--disp);font-size:14.5px;color:var(--ink);margin-bottom:4px}
|
||||||
.cg-flow li .k{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font-family:var(--mono);font-size:12px;font-weight:700;margin-bottom:6px;background:var(--ink);color:var(--ground)}
|
.cg-flow li .k{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font-family:var(--mono);font-size:12px;font-weight:700;margin-bottom:6px;background:var(--ink);color:#04120e}
|
||||||
.cg-flow li code{font-family:var(--mono);font-size:12px;color:var(--mint);overflow-wrap:anywhere}
|
.cg-flow li code{font-family:var(--mono);font-size:12px;color:var(--mint);overflow-wrap:anywhere}
|
||||||
.cg-flow li.f-ad{border-color:var(--cyan-line);background:var(--cyan-soft)}
|
.cg-flow li.f-ad{border-color:rgba(84,204,255,.55);background:rgba(84,204,255,.07)}
|
||||||
.cg-flow li.f-tag{border-color:var(--mint-line-2);background:var(--mint-soft)}
|
.cg-flow li.f-tag{border-color:rgba(67,232,195,.6);background:rgba(67,232,195,.08)}
|
||||||
.cg-flow li.f-px{border-color:var(--amber-line);background:var(--amber-soft)}
|
.cg-flow li.f-px{border-color:rgba(255,178,56,.7);background:rgba(255,178,56,.09)}
|
||||||
.cg-flow li.f-win{border-color:var(--mint);background:var(--mint-soft)}
|
.cg-flow li.f-win{border-color:var(--mint);background:var(--mint-soft)}
|
||||||
.cg-flow li:not(:last-child)::after{content:"";position:absolute;right:-20px;top:50%;margin-top:-7px;border:7px solid transparent;border-left:9px solid var(--line-strong);border-right:0}
|
.cg-flow li:not(:last-child)::after{content:"";position:absolute;right:-20px;top:50%;margin-top:-7px;border:7px solid transparent;border-left:9px solid var(--line-strong);border-right:0}
|
||||||
@media (max-width:820px){
|
@media (max-width:820px){
|
||||||
@@ -46,25 +45,25 @@
|
|||||||
}
|
}
|
||||||
/* steps */
|
/* steps */
|
||||||
.rg-route{list-style:none;counter-reset:s;margin:12px 0 0;padding:0;display:grid;gap:14px}
|
.rg-route{list-style:none;counter-reset:s;margin:12px 0 0;padding:0;display:grid;gap:14px}
|
||||||
.rg-route > li{counter-increment:s;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--ink-faint);min-width:0}
|
.rg-route > li{counter-increment:s;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:rgba(255,255,255,.02);min-width:0}
|
||||||
.rg-route > li::before{content:counter(s);font-family:var(--disp);font-weight:800;font-size:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--amber);color:var(--amber-ink)}
|
.rg-route > li::before{content:counter(s);font-family:var(--disp);font-weight:800;font-size:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--amber);color:#1b1203}
|
||||||
.rg-route > li > div{min-width:0}
|
.rg-route > li > div{min-width:0}
|
||||||
.rg-route p{margin:0 0 8px;font-size:14.5px;color:var(--muted)}
|
.rg-route p{margin:0 0 8px;font-size:14.5px;color:var(--muted)}
|
||||||
.rg-where{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
|
.rg-where{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
|
||||||
.rg-chip{font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--mint-soft);color:var(--mint);border:1px solid var(--mint-line)}
|
.rg-chip{font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--mint-soft);color:var(--mint);border:1px solid rgba(67,232,195,.35)}
|
||||||
.rg-chip.ls{background:var(--cyan-soft);color:var(--cyan);border-color:var(--cyan-line)}
|
.rg-chip.ls{background:rgba(84,204,255,.08);color:var(--cyan);border-color:rgba(84,204,255,.35)}
|
||||||
/* code */
|
/* code */
|
||||||
.cg-code{position:relative;margin:8px 0 10px;border:1px solid var(--line-strong);border-radius:10px;background:var(--ground-soft);padding:12px 14px 12px;min-width:0}
|
.cg-code{position:relative;margin:8px 0 10px;border:1px solid var(--line-strong);border-radius:10px;background:#02100b;padding:12px 14px 12px;min-width:0}
|
||||||
.cg-code pre{margin:0;font-family:var(--mono);font-size:12.5px;line-height:1.6;color:var(--mint-hi);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
|
.cg-code pre{margin:0;font-family:var(--mono);font-size:12.5px;line-height:1.6;color:var(--mint-hi);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
|
||||||
.cg-code .cg-lbl{display:flex;justify-content:space-between;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
|
.cg-code .cg-lbl{display:flex;justify-content:space-between;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
|
||||||
.cg-copy{font:600 12px var(--disp);background:transparent;color:var(--mint);border:1px solid var(--mint-line-2);border-radius:999px;padding:3px 12px;cursor:pointer}
|
.cg-copy{font:600 12px var(--disp);background:transparent;color:var(--mint);border:1px solid rgba(67,232,195,.5);border-radius:999px;padding:3px 12px;cursor:pointer}
|
||||||
.cg-copy:hover{background:var(--mint-soft)}
|
.cg-copy:hover{background:rgba(67,232,195,.1)}
|
||||||
.cg-ph{color:var(--amber);font-weight:700}
|
.cg-ph{color:var(--amber);font-weight:700}
|
||||||
.cg-ex{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:var(--ink-faint);margin:14px 0 0;min-width:0}
|
.cg-ex{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:rgba(255,255,255,.02);margin:14px 0 0;min-width:0}
|
||||||
.cg-ex > p,.cg-ex li{font-size:14.5px;color:var(--muted)}
|
.cg-ex > p,.cg-ex li{font-size:14.5px;color:var(--muted)}
|
||||||
.cg-ex > p{margin:0 0 8px}
|
.cg-ex > p{margin:0 0 8px}
|
||||||
.cg-ex ol,.cg-ex ul{margin:0 0 8px;padding-left:20px;display:grid;gap:4px}
|
.cg-ex ol,.cg-ex ul{margin:0 0 8px;padding-left:20px;display:grid;gap:4px}
|
||||||
.rg code.i{font-family:var(--mono);font-size:13px;color:var(--mint);background:var(--mint-soft);padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}
|
.rg code.i{font-family:var(--mono);font-size:13px;color:var(--mint);background:rgba(67,232,195,.08);padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}
|
||||||
/* report table */
|
/* report table */
|
||||||
.rg-tbl{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:10px 0 8px}
|
.rg-tbl{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:10px 0 8px}
|
||||||
.rg-tbl table{width:100%;border-collapse:collapse;font-size:14.5px;table-layout:fixed}
|
.rg-tbl table{width:100%;border-collapse:collapse;font-size:14.5px;table-layout:fixed}
|
||||||
@@ -75,14 +74,14 @@
|
|||||||
.rg-tbl tr:last-child td{border-bottom:0}
|
.rg-tbl tr:last-child td{border-bottom:0}
|
||||||
/* checklist */
|
/* checklist */
|
||||||
.cg-check{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}
|
.cg-check{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}
|
||||||
.cg-check li{position:relative;padding:12px 14px 12px 44px;border:1px solid var(--line);border-radius:12px;background:var(--ink-faint);font-size:14.5px;color:var(--muted)}
|
.cg-check li{position:relative;padding:12px 14px 12px 44px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.02);font-size:14.5px;color:var(--muted)}
|
||||||
.cg-check li::before{content:"";position:absolute;left:14px;top:14px;width:16px;height:16px;border-radius:4px;border:2px solid var(--mint)}
|
.cg-check li::before{content:"";position:absolute;left:14px;top:14px;width:16px;height:16px;border-radius:4px;border:2px solid var(--mint)}
|
||||||
.cg-check li b{color:var(--ink)}
|
.cg-check li b{color:var(--ink)}
|
||||||
.rg-faq{display:grid;gap:14px;margin:12px 0 0}
|
.rg-faq{display:grid;gap:14px;margin:12px 0 0}
|
||||||
.rg-faq dt{font-family:var(--disp);font-weight:700}
|
.rg-faq dt{font-family:var(--disp);font-weight:700}
|
||||||
.rg-faq dd{margin:4px 0 0;color:var(--muted);font-size:14.5px}
|
.rg-faq dd{margin:4px 0 0;color:var(--muted);font-size:14.5px}
|
||||||
.rg-rule{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:30px 0 22px;font-size:14.5px}
|
.rg-rule{border-left:4px solid var(--mint);background:rgba(67,232,195,.07);padding:14px 18px;border-radius:0 12px 12px 0;margin:30px 0 22px;font-size:14.5px}
|
||||||
.rg-warn{border-left:4px solid var(--amber);background:var(--amber-soft);padding:12px 16px;border-radius:0 12px 12px 0;margin:12px 0 0;font-size:14.5px}
|
.rg-warn{border-left:4px solid var(--amber);background:rgba(255,178,56,.07);padding:12px 16px;border-radius:0 12px 12px 0;margin:12px 0 0;font-size:14.5px}
|
||||||
@media (max-width:640px){.rg .hero h1{font-size:30px}.cg-ex,.rg-box{padding:14px}.rg-route > li{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px}.rg-route > li::before{width:34px;height:34px;font-size:17px}}
|
@media (max-width:640px){.rg .hero h1{font-size:30px}.cg-ex,.rg-box{padding:14px}.rg-route > li{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px}.rg-route > li::before{width:34px;height:34px;font-size:17px}}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -263,7 +262,7 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script>
|
||||||
<script src="/assets/conversion-guide.js?v=20261024ct"></script>
|
<script src="/assets/conversion-guide.js?v=20261024ct"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Disclaimer | InstantAdPay</title>
|
<title>Disclaimer | InstantAdPay</title>
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="nav"></div>
|
<div id="nav"></div>
|
||||||
@@ -27,7 +26,7 @@
|
|||||||
<p class="muted small">You decide whether, and how much, to spend. Never spend more than you can afford to lose.</p>
|
<p class="muted small">You decide whether, and how much, to spend. Never spend more than you can afford to lose.</p>
|
||||||
</div>
|
</div>
|
||||||
</div></section>
|
</div></section>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/legal.js?v=20260908a"></script>
|
<script src="/assets/legal.js?v=20260908a"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>How earning works: credits and POL payouts | InstantAdPay</title>
|
<title>How earning works: credits and POL payouts | InstantAdPay</title>
|
||||||
<meta name="description" content="The two ways members earn on InstantAdPay: ad credits (the daily set, the claim streak, visits, videos, inbox ads, sign-in bonus, milestones) and POL paid to your wallet from ad packages bought in your line, on chain, in the same transaction.">
|
<meta name="description" content="The two ways members earn on InstantAdPay: ad credits (the daily set, the claim streak, visits, videos, inbox ads, sign-in bonus, milestones) and POL paid to your wallet from ad packages bought in your line, on chain, in the same transaction.">
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260912b">
|
||||||
<style>
|
<style>
|
||||||
.eg{max-width:820px}
|
.eg{max-width:820px}
|
||||||
.eg h2{font-size:23px;margin:40px 0 10px;padding-top:18px;border-top:1px solid var(--line)}
|
.eg h2{font-size:23px;margin:40px 0 10px;padding-top:18px;border-top:1px solid var(--line)}
|
||||||
@@ -18,7 +17,7 @@
|
|||||||
table{border-collapse:collapse;width:100%;max-width:560px;margin:10px 0 16px;font-variant-numeric:tabular-nums;font-size:15px}
|
table{border-collapse:collapse;width:100%;max-width:560px;margin:10px 0 16px;font-variant-numeric:tabular-nums;font-size:15px}
|
||||||
th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line)} th{color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}
|
th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line)} th{color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}
|
||||||
td:last-child,th:last-child{text-align:right}
|
td:last-child,th:last-child{text-align:right}
|
||||||
.rule{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:0 0 20px}
|
.rule{border-left:4px solid var(--mint);background:rgba(67,232,195,.07);padding:14px 18px;border-radius:0 12px 12px 0;margin:0 0 20px}
|
||||||
.rule b{font-family:var(--disp);display:block;margin-bottom:4px}
|
.rule b{font-family:var(--disp);display:block;margin-bottom:4px}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -97,6 +96,6 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Platform Facts | InstantAdPay</title>
|
<title>Platform Facts | InstantAdPay</title>
|
||||||
<meta name="description" content="Verified facts about InstantAdPay: the Polygon smart contract, the fixed 50/20/10 referral split with two 10% platform fees, how ad credits are minted and burned, anti-fraud rules, and the games in the network.">
|
<meta name="description" content="Verified facts about InstantAdPay: the Polygon smart contract, the fixed 50/20/10 referral split with two 10% platform fees, how ad credits are minted and burned, anti-fraud rules, and the games in the network.">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="alternate" type="text/plain" href="/llms.txt" title="Plain-text summary for AI systems">
|
<link rel="alternate" type="text/plain" href="/llms.txt" title="Plain-text summary for AI systems">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
<style>
|
<style>
|
||||||
.facts h3 { margin-top: 18px; }
|
.facts h3 { margin-top: 18px; }
|
||||||
.facts table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 4px; }
|
.facts table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 4px; }
|
||||||
@@ -127,7 +126,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div></section>
|
</div></section>
|
||||||
<script src="/assets/common.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script>
|
||||||
<script src="/assets/legal.js?v=20260908a"></script>
|
<script src="/assets/legal.js?v=20260908a"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Five Dollar Friday: 20% bonus credits on every $5+ ad package | InstantAdPay</title>
|
<title>Five Dollar Friday: 20% bonus credits on every $5+ ad package | InstantAdPay</title>
|
||||||
@@ -11,28 +11,27 @@
|
|||||||
<meta property="og:image" content="https://instantadpay.com/banners/iap-five-dollar-friday-v2-1200x630.jpg">
|
<meta property="og:image" content="https://instantadpay.com/banners/iap-five-dollar-friday-v2-1200x630.jpg">
|
||||||
<meta property="og:url" content="https://instantadpay.com/friday">
|
<meta property="og:url" content="https://instantadpay.com/friday">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260912b">
|
||||||
<style>
|
<style>
|
||||||
.fr{max-width:860px}
|
.fr{max-width:860px}
|
||||||
.fr .hero{padding:44px 0 10px}
|
.fr .hero{padding:44px 0 10px}
|
||||||
.fr-banner{display:block;width:100%;height:auto;max-width:860px;border-radius:16px;border:1px solid var(--line);margin:18px 0 14px}
|
.fr-banner{display:block;width:100%;height:auto;max-width:860px;border-radius:16px;border:1px solid var(--line);margin:18px 0 14px}
|
||||||
.fr-state{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:14px 18px;border-radius:14px;border:1px solid var(--line);background:var(--mint-faint);margin:0 0 26px;font-size:15px}
|
.fr-state{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:14px 18px;border-radius:14px;border:1px solid var(--line);background:rgba(67,232,195,.06);margin:0 0 26px;font-size:15px}
|
||||||
.fr-state.live{border-color:var(--amber-line);background:var(--amber-soft)}
|
.fr-state.live{border-color:rgba(255,178,56,.55);background:rgba(255,178,56,.09)}
|
||||||
.fr-tag{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;padding:4px 9px;border-radius:999px;background:var(--mint);color:var(--mint-ink)}
|
.fr-tag{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;padding:4px 9px;border-radius:999px;background:var(--mint);color:#04120e}
|
||||||
.fr-state.live .fr-tag{background:var(--amber)}
|
.fr-state.live .fr-tag{background:#ffb238}
|
||||||
.fr-state b{font-family:var(--disp)}
|
.fr-state b{font-family:var(--disp)}
|
||||||
.fr-num{font-family:var(--mono);font-variant-numeric:tabular-nums}
|
.fr-num{font-family:var(--mono);font-variant-numeric:tabular-nums}
|
||||||
.fr-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:8px 0 26px}
|
.fr-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:8px 0 26px}
|
||||||
.fr-step{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:var(--ink-faint)}
|
.fr-step{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:rgba(255,255,255,.02)}
|
||||||
.fr-step .n{font-family:var(--mono);font-size:11px;letter-spacing:.12em;color:var(--mint);text-transform:uppercase}
|
.fr-step .n{font-family:var(--mono);font-size:11px;letter-spacing:.12em;color:var(--mint);text-transform:uppercase}
|
||||||
.fr-step h3{font-family:var(--disp);font-size:17px;margin:6px 0 6px}
|
.fr-step h3{font-family:var(--disp);font-size:17px;margin:6px 0 6px}
|
||||||
.fr-step p{margin:0;font-size:14.5px;color:var(--muted)}
|
.fr-step p{margin:0;font-size:14.5px;color:var(--muted)}
|
||||||
.fr-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 30px}
|
.fr-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 30px}
|
||||||
.fr-cta .btn.big{font-size:17px;padding:14px 22px}
|
.fr-cta .btn.big{font-size:17px;padding:14px 22px}
|
||||||
.fr-rule{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:0 0 22px;font-size:14.5px}
|
.fr-rule{border-left:4px solid var(--mint);background:rgba(67,232,195,.07);padding:14px 18px;border-radius:0 12px 12px 0;margin:0 0 22px;font-size:14.5px}
|
||||||
.fr-share{border:1px dashed var(--line);border-radius:14px;padding:16px 18px;margin:0 0 30px;font-size:14.5px;color:var(--muted)}
|
.fr-share{border:1px dashed var(--line);border-radius:14px;padding:16px 18px;margin:0 0 30px;font-size:14.5px;color:var(--muted)}
|
||||||
.fr-share b{color:var(--ink)}
|
.fr-share b{color:var(--ink)}
|
||||||
</style>
|
</style>
|
||||||
@@ -72,6 +71,6 @@
|
|||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/friday.js?v=20260925a"></script>
|
<script src="/assets/friday.js?v=20260925a"></script>
|
||||||
<script src="/assets/common.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Games that pay POL | InstantAdPay</title>
|
<title>Games that pay POL | InstantAdPay</title>
|
||||||
@@ -12,20 +12,19 @@
|
|||||||
<meta property="og:url" content="https://instantadpay.com/games">
|
<meta property="og:url" content="https://instantadpay.com/games">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<link rel="canonical" href="https://instantadpay.com/games">
|
<link rel="canonical" href="https://instantadpay.com/games">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260912b">
|
||||||
<style>
|
<style>
|
||||||
.gp{max-width:1040px}
|
.gp{max-width:1040px}
|
||||||
.gp .hero{padding:56px 0 10px}
|
.gp .hero{padding:56px 0 10px}
|
||||||
.gp .lead{max-width:62ch}
|
.gp .lead{max-width:62ch}
|
||||||
.gsec{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:34px 0 12px;padding-top:18px;border-top:1px solid var(--line)}
|
.gsec{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:34px 0 12px;padding-top:18px;border-top:1px solid var(--line)}
|
||||||
.ggrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
|
.ggrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
|
||||||
.gcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--ink-faint)}
|
.gcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.03)}
|
||||||
.gcard .art{position:relative;aspect-ratio:1.91/1;background:#07201c center/cover no-repeat}
|
.gcard .art{position:relative;aspect-ratio:1.91/1;background:#07201c center/cover no-repeat}
|
||||||
.gcard .art img{width:100%;height:100%;object-fit:cover;display:block}
|
.gcard .art img{width:100%;height:100%;object-fit:cover;display:block}
|
||||||
.gcard .ribbon{position:absolute;left:12px;top:12px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:5px 9px;border-radius:999px;background:rgba(4,59,47,.9);color:#dffbf3;border:1px solid var(--mint-line)}
|
.gcard .ribbon{position:absolute;left:12px;top:12px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:5px 9px;border-radius:999px;background:rgba(4,59,47,.9);color:#dffbf3;border:1px solid rgba(67,232,195,.35)}
|
||||||
.gcard .ribbon.soon{background:rgba(226,176,74,.92);color:#2a1d04;border-color:rgba(255,255,255,.3)}
|
.gcard .ribbon.soon{background:rgba(226,176,74,.92);color:#2a1d04;border-color:rgba(255,255,255,.3)}
|
||||||
.gcard .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
|
.gcard .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
|
||||||
.gcard .tag{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--mint)}
|
.gcard .tag{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--mint)}
|
||||||
@@ -34,22 +33,22 @@
|
|||||||
.gcard .pays{font-size:13px;color:var(--text)}
|
.gcard .pays{font-size:13px;color:var(--text)}
|
||||||
.gcard .pays b{color:var(--gold,#e2b04a)}
|
.gcard .pays b{color:var(--gold,#e2b04a)}
|
||||||
.gcard .row{display:flex;gap:10px;align-items:center;margin-top:auto;padding-top:6px;flex-wrap:wrap}
|
.gcard .row{display:flex;gap:10px;align-items:center;margin-top:auto;padding-top:6px;flex-wrap:wrap}
|
||||||
.gcard .btn{display:inline-block;padding:10px 16px;border-radius:12px;background:var(--mint);color:var(--mint-ink);font-weight:800;text-decoration:none;font-family:var(--disp)}
|
.gcard .btn{display:inline-block;padding:10px 16px;border-radius:12px;background:var(--mint);color:#04261f;font-weight:800;text-decoration:none;font-family:var(--disp)}
|
||||||
.gcard .btn.ghost{background:transparent;color:var(--text);border:1px solid var(--line)}
|
.gcard .btn.ghost{background:transparent;color:var(--text);border:1px solid var(--line)}
|
||||||
.gcard .btn[aria-disabled="true"]{opacity:.55;pointer-events:none}
|
.gcard .btn[aria-disabled="true"]{opacity:.55;pointer-events:none}
|
||||||
.gcard .host{font-family:var(--mono);font-size:12px;color:var(--muted)}
|
.gcard .host{font-family:var(--mono);font-size:12px;color:var(--muted)}
|
||||||
.howbox{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:22px 0 6px;max-width:72ch}
|
.howbox{border-left:4px solid var(--mint);background:rgba(67,232,195,.07);padding:14px 18px;border-radius:0 12px 12px 0;margin:22px 0 6px;max-width:72ch}
|
||||||
.howbox b{font-family:var(--disp);display:block;margin-bottom:4px}
|
.howbox b{font-family:var(--disp);display:block;margin-bottom:4px}
|
||||||
.cta{margin:36px 0 10px;padding:22px;border:1px solid var(--line);border-radius:18px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between}
|
.cta{margin:36px 0 10px;padding:22px;border:1px solid var(--line);border-radius:18px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between}
|
||||||
.cta h2{margin:0 0 4px;font-size:22px}
|
.cta h2{margin:0 0 4px;font-size:22px}
|
||||||
.cta p{margin:0;color:var(--muted);max-width:60ch}
|
.cta p{margin:0;color:var(--muted);max-width:60ch}
|
||||||
.cta .btn{display:inline-block;padding:12px 18px;border-radius:12px;background:var(--mint);color:var(--mint-ink);font-weight:800;text-decoration:none;font-family:var(--disp)}
|
.cta .btn{display:inline-block;padding:12px 18px;border-radius:12px;background:var(--mint);color:#04261f;font-weight:800;text-decoration:none;font-family:var(--disp)}
|
||||||
#gEmpty{color:var(--muted)}
|
#gEmpty{color:var(--muted)}
|
||||||
.fgrid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:12px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory}
|
.fgrid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:12px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory}
|
||||||
.fcard{scroll-snap-align:start;border-radius:16px;overflow:hidden;background:var(--ink-faint);border:1px solid var(--line);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc) 35%,transparent);text-decoration:none;color:var(--text);display:flex;flex-direction:column}
|
.fcard{scroll-snap-align:start;border-radius:16px;overflow:hidden;background:rgba(255,255,255,.03);border:1px solid var(--line);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc) 35%,transparent);text-decoration:none;color:var(--text);display:flex;flex-direction:column}
|
||||||
.fpic{aspect-ratio:3/4;background:#061417;position:relative}.fpic img{width:100%;height:100%;object-fit:cover;display:block}
|
.fpic{aspect-ratio:3/4;background:#061417;position:relative}.fpic img{width:100%;height:100%;object-fit:cover;display:block}
|
||||||
.ftag{position:absolute;left:8px;bottom:8px;font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:rgba(0,0,0,.6);color:var(--rc);border:1px solid var(--rc)}
|
.ftag{position:absolute;left:8px;bottom:8px;font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:rgba(0,0,0,.6);color:var(--rc);border:1px solid var(--rc)}
|
||||||
.fsale{position:absolute;right:8px;bottom:8px;font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:var(--mint);color:var(--mint-ink);font-weight:800}
|
.fsale{position:absolute;right:8px;bottom:8px;font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:var(--mint);color:#04261f;font-weight:800}
|
||||||
.fb{padding:8px 10px 10px;display:grid;gap:2px}.fb b{font-size:14px}.fb small{color:var(--muted);font-size:11px}.fb .fp{color:var(--gold,#e2b04a);font-weight:800;font-size:13px}
|
.fb{padding:8px 10px 10px;display:grid;gap:2px}.fb b{font-size:14px}.fb small{color:var(--muted);font-size:11px}.fb .fp{color:var(--gold,#e2b04a);font-weight:800;font-size:13px}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -79,6 +78,6 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/games-page.js?v=20261012b"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/games-page.js?v=20261012b"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<meta name="google-site-verification" content="9Qh7dv8AYdNjzIySFfcY975QiJRov_Zju2kkgEZoZik">
|
<meta name="google-site-verification" content="9Qh7dv8AYdNjzIySFfcY975QiJRov_Zju2kkgEZoZik">
|
||||||
@@ -19,10 +19,9 @@
|
|||||||
<meta name="twitter:description" content="Instant on-chain ad payouts, verifiable on a public ledger. Seven ad formats. Earn credits back for your attention.">
|
<meta name="twitter:description" content="Instant on-chain ad payouts, verifiable on a public ledger. Seven ad formats. Earn credits back for your attention.">
|
||||||
<meta name="twitter:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png">
|
<meta name="twitter:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260923e">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@@ -506,7 +505,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/wallet.js?v=20260909c"></script>
|
<script src="/assets/wallet.js?v=20260909c"></script>
|
||||||
<script src="/assets/home.js?v=20261027tb"></script>
|
<script src="/assets/home.js?v=20261027tb"></script>
|
||||||
<script src="/assets/chat.js?v=20261016n"></script>
|
<script src="/assets/chat.js?v=20261016n"></script>
|
||||||
|
|||||||
@@ -1,164 +1,163 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<meta name="robots" content="noindex,follow">
|
<meta name="robots" content="noindex,follow">
|
||||||
<title>You're invited | InstantAdPay</title>
|
<title>You're invited | InstantAdPay</title>
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<style>
|
||||||
<style>
|
.jn-nav{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 0}
|
||||||
.jn-nav{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 0}
|
.jn-nav>a{white-space:nowrap;flex:0 0 auto;padding-top:8px}
|
||||||
.jn-nav>a{white-space:nowrap;flex:0 0 auto;padding-top:8px}
|
.jn-nav .logo-wrap{min-width:0}
|
||||||
.jn-nav .logo-wrap{min-width:0}
|
@media (max-width:480px){.jn-nav .byline{white-space:normal}}
|
||||||
@media (max-width:480px){.jn-nav .byline{white-space:normal}}
|
.jn-hero{padding:14px 0 4px;text-align:left}
|
||||||
.jn-hero{padding:14px 0 4px;text-align:left}
|
.jn-brand{font-family:var(--disp);font-weight:800;font-size:20px;margin:0 0 4px;color:var(--ink)}
|
||||||
.jn-brand{font-family:var(--disp);font-weight:800;font-size:20px;margin:0 0 4px;color:var(--ink)}
|
.jn-brand em{font-style:normal;color:var(--mint)}
|
||||||
.jn-brand em{font-style:normal;color:var(--mint)}
|
.jn-brand span{font-weight:500;font-size:14px;color:var(--muted)}
|
||||||
.jn-brand span{font-weight:500;font-size:14px;color:var(--muted)}
|
.jn-strip{margin-top:22px}
|
||||||
.jn-strip{margin-top:22px}
|
.jn-strip .jn-chips{margin:0}
|
||||||
.jn-strip .jn-chips{margin:0}
|
.jn-hero h1{font-size:clamp(26px,3.6vw,40px);line-height:1.08;margin:4px 0 8px;max-width:760px;text-align:left;letter-spacing:-.015em}
|
||||||
.jn-hero h1{font-size:clamp(26px,3.6vw,40px);line-height:1.08;margin:4px 0 8px;max-width:760px;text-align:left;letter-spacing:-.015em}
|
.jn-hero h1 em{font-style:normal;color:var(--mint)}
|
||||||
.jn-hero h1 em{font-style:normal;color:var(--mint)}
|
.jn-hero p.lead{margin:0 0 12px;text-align:left;max-width:620px;font-size:15.5px}
|
||||||
.jn-hero p.lead{margin:0 0 12px;text-align:left;max-width:620px;font-size:15.5px}
|
.jn-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:start;margin-top:4px}
|
||||||
.jn-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:start;margin-top:4px}
|
#jnVideo{width:100%;aspect-ratio:16/9;display:block;border-radius:16px;border:1px solid var(--line-strong);background:#000}
|
||||||
#jnVideo{width:100%;aspect-ratio:16/9;display:block;border-radius:16px;border:1px solid var(--line-strong);background:#000}
|
/* angle pages (?v=) are squeeze pages: hook, video, one call to action. The full page is for the plain link. */
|
||||||
/* angle pages (?v=) are squeeze pages: hook, video, one call to action. The full page is for the plain link. */
|
body.squeeze .jn-hero{max-width:720px;margin:0 auto;text-align:center;padding-top:6px}
|
||||||
body.squeeze .jn-hero{max-width:720px;margin:0 auto;text-align:center;padding-top:6px}
|
body.squeeze .jn-hero h1,body.squeeze .jn-hero p.lead{text-align:center;margin-left:auto;margin-right:auto}
|
||||||
body.squeeze .jn-hero h1,body.squeeze .jn-hero p.lead{text-align:center;margin-left:auto;margin-right:auto}
|
body.squeeze .jn-hero h1{font-size:clamp(30px,4.4vw,46px)}
|
||||||
body.squeeze .jn-hero h1{font-size:clamp(30px,4.4vw,46px)}
|
body.squeeze .jn-spon,body.squeeze .jn-brand{justify-content:center}
|
||||||
body.squeeze .jn-spon,body.squeeze .jn-brand{justify-content:center}
|
body.squeeze .jn-grid{display:flex;flex-direction:column;max-width:720px;margin:0 auto;gap:18px}
|
||||||
body.squeeze .jn-grid{display:flex;flex-direction:column;max-width:720px;margin:0 auto;gap:18px}
|
body.squeeze .jn-grid>div:first-child>p{display:none}
|
||||||
body.squeeze .jn-grid>div:first-child>p{display:none}
|
body.squeeze .jn-cap{position:static;box-shadow:0 0 80px rgba(67,232,195,.16)}
|
||||||
body.squeeze .jn-cap{position:static;box-shadow:0 0 80px rgba(67,232,195,.16)}
|
body.squeeze .jn-cap h3{font-size:22px}
|
||||||
body.squeeze .jn-cap h3{font-size:22px}
|
body.squeeze #jnMock,body.squeeze .jn-strip,body.squeeze .jn-full{display:none}
|
||||||
body.squeeze #jnMock,body.squeeze .jn-strip,body.squeeze .jn-full{display:none}
|
body.squeeze .jn-points{max-width:720px;margin:4px auto 0}
|
||||||
body.squeeze .jn-points{max-width:720px;margin:4px auto 0}
|
body.squeeze .jn-foot{margin-top:28px}
|
||||||
body.squeeze .jn-foot{margin-top:28px}
|
.jn-points{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
|
||||||
.jn-points{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
|
.jn-points li{position:relative;padding-left:26px;font-size:15px;line-height:1.45}
|
||||||
.jn-points li{position:relative;padding-left:26px;font-size:15px;line-height:1.45}
|
.jn-points li::before{content:"✓";position:absolute;left:0;top:0;color:var(--mint);font-weight:800}
|
||||||
.jn-points li::before{content:"✓";position:absolute;left:0;top:0;color:var(--mint);font-weight:800}
|
@media(max-width:860px){.jn-grid{grid-template-columns:1fr}}
|
||||||
@media(max-width:860px){.jn-grid{grid-template-columns:1fr}}
|
.jn-cap{border-color:var(--mint);box-shadow:0 0 60px rgba(67,232,195,.12);position:sticky;top:18px}
|
||||||
.jn-cap{border-color:var(--mint);box-shadow:0 0 60px rgba(67,232,195,.12);position:sticky;top:18px}
|
@media(max-width:860px){.jn-cap{position:static}}
|
||||||
@media(max-width:860px){.jn-cap{position:static}}
|
.jn-grid>div:first-child .mockup{margin:0}
|
||||||
.jn-grid>div:first-child .mockup{margin:0}
|
.jn-cap h3{margin:0 0 6px}
|
||||||
.jn-cap h3{margin:0 0 6px}
|
.jn-cap input{width:100%}
|
||||||
.jn-cap input{width:100%}
|
.jn-cap .btn{width:100%;text-align:center}
|
||||||
.jn-cap .btn{width:100%;text-align:center}
|
.jn-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
|
||||||
.jn-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
|
.jn-chips span{border:1px solid var(--line-strong);border-radius:999px;padding:6px 14px;font-size:13px;color:var(--muted)}
|
||||||
.jn-chips span{border:1px solid var(--line-strong);border-radius:999px;padding:6px 14px;font-size:13px;color:var(--muted)}
|
.jn-chips span b{color:var(--mint);font-weight:700}
|
||||||
.jn-chips span b{color:var(--mint);font-weight:700}
|
.jn-spon{display:flex;align-items:center;gap:10px;margin:0 0 6px}
|
||||||
.jn-spon{display:flex;align-items:center;gap:10px;margin:0 0 6px}
|
.jn-spon img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:1px solid var(--line-strong)}
|
||||||
.jn-spon img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:1px solid var(--line-strong)}
|
.jn-full{margin-top:26px}
|
||||||
.jn-full{margin-top:26px}
|
.jn-h{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin:0 0 14px}
|
||||||
.jn-h{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin:0 0 14px}
|
.jn-h h2{font-size:26px;margin:0}
|
||||||
.jn-h h2{font-size:26px;margin:0}
|
.jn-h p{margin:0;font-size:14.5px}
|
||||||
.jn-h p{margin:0;font-size:14.5px}
|
.jn-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
|
||||||
.jn-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
|
.jn-steps .card h3{font-size:19px;margin:8px 0 8px;min-height:2.4em}
|
||||||
.jn-steps .card h3{font-size:19px;margin:8px 0 8px;min-height:2.4em}
|
.jn-steps .card p{margin:0}
|
||||||
.jn-steps .card p{margin:0}
|
@media(max-width:700px){.jn-steps{grid-template-columns:1fr}}
|
||||||
@media(max-width:700px){.jn-steps{grid-template-columns:1fr}}
|
.jn-steps .card{margin:0}
|
||||||
.jn-steps .card{margin:0}
|
.jn-steps .n{font-family:var(--mono);color:var(--mint);font-size:12px;letter-spacing:.1em}
|
||||||
.jn-steps .n{font-family:var(--mono);color:var(--mint);font-size:12px;letter-spacing:.1em}
|
.jn-ladder{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
|
||||||
.jn-ladder{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
|
@media(max-width:900px){.jn-ladder{grid-template-columns:repeat(3,1fr)}}
|
||||||
@media(max-width:900px){.jn-ladder{grid-template-columns:repeat(3,1fr)}}
|
@media(max-width:560px){.jn-ladder{grid-template-columns:repeat(2,1fr)}}
|
||||||
@media(max-width:560px){.jn-ladder{grid-template-columns:repeat(2,1fr)}}
|
.jn-pk{border:1px solid var(--line);border-radius:12px;padding:14px;text-align:center;background:var(--panel)}
|
||||||
.jn-pk{border:1px solid var(--line);border-radius:12px;padding:14px;text-align:center;background:var(--panel)}
|
.jn-pk .p{font-family:var(--disp);font-size:26px;font-weight:800}
|
||||||
.jn-pk .p{font-family:var(--disp);font-size:26px;font-weight:800}
|
.jn-pk .c{color:var(--mint);font-weight:700;font-size:13.5px}
|
||||||
.jn-pk .c{color:var(--mint);font-weight:700;font-size:13.5px}
|
.jn-pk .n{color:var(--muted);font-size:11.5px;text-transform:uppercase;letter-spacing:.1em}
|
||||||
.jn-pk .n{color:var(--muted);font-size:11.5px;text-transform:uppercase;letter-spacing:.1em}
|
.jn-foot{color:var(--muted);font-size:13px;border-top:1px solid var(--line);margin-top:40px;padding:22px 0 50px}
|
||||||
.jn-foot{color:var(--muted);font-size:13px;border-top:1px solid var(--line);margin-top:40px;padding:22px 0 50px}
|
.jn-err{color:var(--bad)}
|
||||||
.jn-err{color:var(--bad)}
|
.jn-spon.cobrand{border:1px solid rgba(67,232,195,.4);border-radius:14px;padding:10px 14px;margin-bottom:12px}.jn-spon.cobrand img{width:56px;height:56px;border-radius:50%}.jn-bio{display:block;margin-top:4px;color:var(--ink);font-size:14px;max-width:60ch}
|
||||||
.jn-spon.cobrand{border:1px solid var(--mint-line);border-radius:14px;padding:10px 14px;margin-bottom:12px}.jn-spon.cobrand img{width:56px;height:56px;border-radius:50%}.jn-bio{display:block;margin-top:4px;color:var(--ink);font-size:14px;max-width:60ch}
|
</style>
|
||||||
</style>
|
</head>
|
||||||
</head>
|
<body>
|
||||||
<body>
|
<div class="wrap">
|
||||||
<div class="wrap">
|
<div class="jn-nav">
|
||||||
<div class="jn-nav">
|
<span class="logo-wrap"><a href="/"><img src="/logo.png" alt="InstantAdPay" style="height:34px;display:block"></a><span class="byline">Brought to you by the <b>Crypto Team Build Network</b></span></span>
|
||||||
<span class="logo-wrap"><a href="/"><img src="/logo.png" alt="InstantAdPay" style="height:34px;display:block"></a><span class="byline">Brought to you by the <b>Crypto Team Build Network</b></span></span>
|
<a class="small muted" href="/my">Already a member? Sign in</a>
|
||||||
<a class="small muted" href="/my">Already a member? Sign in</a>
|
</div>
|
||||||
</div>
|
|
||||||
|
<section class="jn-hero">
|
||||||
<section class="jn-hero">
|
<div class="jn-spon" id="jnSpon" hidden><img id="jnSponImg" alt="" hidden><span class="small muted">Personal invitation from <b id="jnSponName" style="color:var(--mint)"></b><br><span id="jnSponBio" class="jn-bio" hidden></span></span></div>
|
||||||
<div class="jn-spon" id="jnSpon" hidden><img id="jnSponImg" alt="" hidden><span class="small muted">Personal invitation from <b id="jnSponName" style="color:var(--mint)"></b><br><span id="jnSponBio" class="jn-bio" hidden></span></span></div>
|
<p class="jn-brand">Instant<em>AdPay</em> <span id="jnEyebrow">· Advertise and earn on Polygon</span></p>
|
||||||
<p class="jn-brand">Instant<em>AdPay</em> <span id="jnEyebrow">· Advertise and earn on Polygon</span></p>
|
<p class="jn-hello" id="jnHello" hidden style="margin:8px 0 12px;padding:10px 14px;border:1px solid var(--mint);border-radius:12px;color:var(--mint);font-weight:700"></p>
|
||||||
<p class="jn-hello" id="jnHello" hidden style="margin:8px 0 12px;padding:10px 14px;border:1px solid var(--mint);border-radius:12px;color:var(--mint);font-weight:700"></p>
|
<h1 id="jnHead">Advertise and earn.<br><em>Paid on-chain, instantly.</em></h1>
|
||||||
<h1 id="jnHead">Advertise and earn.<br><em>Paid on-chain, instantly.</em></h1>
|
<p class="lead" id="jnLead">Every ad package splits to real wallets in the same transaction it sells. No pending payouts, no withdraw button, and every payment is public.</p>
|
||||||
<p class="lead" id="jnLead">Every ad package splits to real wallets in the same transaction it sells. No pending payouts, no withdraw button, and every payment is public.</p>
|
</section>
|
||||||
</section>
|
|
||||||
|
<div class="jn-grid">
|
||||||
<div class="jn-grid">
|
<div>
|
||||||
<div>
|
<div id="jnAngle" hidden>
|
||||||
<div id="jnAngle" hidden>
|
<video id="jnVideo" controls playsinline preload="metadata"></video>
|
||||||
<video id="jnVideo" controls playsinline preload="metadata"></video>
|
</div>
|
||||||
</div>
|
<div id="jnMock">
|
||||||
<div id="jnMock">
|
<div class="mockup" aria-label="worked example of one purchase">
|
||||||
<div class="mockup" aria-label="worked example of one purchase">
|
<div class="bar"><i></i><i></i><i></i><span class="addr">instantadpay.com/ledger · worked example</span></div>
|
||||||
<div class="bar"><i></i><i></i><i></i><span class="addr">instantadpay.com/ledger · worked example</span></div>
|
<div class="body">
|
||||||
<div class="body">
|
<div class="mrow"><span>🧾 member #7 bought package #2 ($20.00)</span><span>paid</span></div>
|
||||||
<div class="mrow"><span>🧾 member #7 bought package #2 ($20.00)</span><span>paid</span></div>
|
<div class="mrow"><span>💸 level 1 payout → member #3 (50%)</span><span>same block</span></div>
|
||||||
<div class="mrow"><span>💸 level 1 payout → member #3 (50%)</span><span>same block</span></div>
|
<div class="mrow"><span>💸 level 2 payout → member #2 (20%)</span><span>same block</span></div>
|
||||||
<div class="mrow"><span>💸 level 2 payout → member #2 (20%)</span><span>same block</span></div>
|
<div class="mrow"><span>💸 level 3 payout → member #1 (10%)</span><span>same block</span></div>
|
||||||
<div class="mrow"><span>💸 level 3 payout → member #1 (10%)</span><span>same block</span></div>
|
<div class="mrow dim"><span>🏛 platform fee settled (20%)</span><span>same block</span></div>
|
||||||
<div class="mrow dim"><span>🏛 platform fee settled (20%)</span><span>same block</span></div>
|
<div class="mrow dim"><span>⭐ member #3 now has 2 qualifying buyers</span><span>level 2 ✓</span></div>
|
||||||
<div class="mrow dim"><span>⭐ member #3 now has 2 qualifying buyers</span><span>level 2 ✓</span></div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<p class="small muted" style="margin:10px 0 0">One purchase, one transaction, four payments. <a href="/ledger" target="_blank" rel="noopener">Open the real ledger →</a> <span id="jnStats"></span></p>
|
||||||
<p class="small muted" style="margin:10px 0 0">One purchase, one transaction, four payments. <a href="/ledger" target="_blank" rel="noopener">Open the real ledger →</a> <span id="jnStats"></span></p>
|
|
||||||
|
</div>
|
||||||
</div>
|
|
||||||
|
<div class="card jn-cap" id="jnCap">
|
||||||
<div class="card jn-cap" id="jnCap">
|
<h3 id="jnCapH">Join free</h3>
|
||||||
<h3 id="jnCapH">Join free</h3>
|
<p class="muted small" style="margin:0 0 12px" id="jnCapSub">Type your email and we send a 6-digit code. No password, no wallet needed today.</p>
|
||||||
<p class="muted small" style="margin:0 0 12px" id="jnCapSub">Type your email and we send a 6-digit code. No password, no wallet needed today.</p>
|
<p><input id="jnEmail" type="email" placeholder="Your email" autocomplete="email"></p>
|
||||||
<p><input id="jnEmail" type="email" placeholder="Your email" autocomplete="email"></p>
|
<input id="jnWebsite" class="hp-field" type="text" name="hp_field_x9" tabindex="-1" autocomplete="off" aria-hidden="true">
|
||||||
<input id="jnWebsite" class="hp-field" type="text" name="hp_field_x9" tabindex="-1" autocomplete="off" aria-hidden="true">
|
<div id="jnCheck" hidden></div>
|
||||||
<div id="jnCheck" hidden></div>
|
<p id="jnCodeRow" hidden><input id="jnCode" inputmode="numeric" placeholder="6-digit code from your inbox"></p>
|
||||||
<p id="jnCodeRow" hidden><input id="jnCode" inputmode="numeric" placeholder="6-digit code from your inbox"></p>
|
<p id="jnUnder" class="small muted" hidden style="margin:-4px 0 12px"></p>
|
||||||
<p id="jnUnder" class="small muted" hidden style="margin:-4px 0 12px"></p>
|
<label class="small muted" style="display:flex;gap:8px;align-items:flex-start;margin:0 0 12px;cursor:pointer">
|
||||||
<label class="small muted" style="display:flex;gap:8px;align-items:flex-start;margin:0 0 12px;cursor:pointer">
|
<input type="checkbox" id="jnNews" checked style="margin-top:3px;width:auto">
|
||||||
<input type="checkbox" id="jnNews" checked style="margin-top:3px;width:auto">
|
<span>Send me the getting-started emails (a few short ones over the first week). Unsubscribe any time.</span>
|
||||||
<span>Send me the getting-started emails (a few short ones over the first week). Unsubscribe any time.</span>
|
</label>
|
||||||
</label>
|
<p id="jnErr" class="small jn-err" hidden></p>
|
||||||
<p id="jnErr" class="small jn-err" hidden></p>
|
<button class="btn" id="jnSend" type="button">Email me a code</button>
|
||||||
<button class="btn" id="jnSend" type="button">Email me a code</button>
|
<button class="btn" id="jnVerify" type="button" hidden>Create my free account</button>
|
||||||
<button class="btn" id="jnVerify" type="button" hidden>Create my free account</button>
|
<button class="btn sec small" id="jnResend" type="button" hidden style="margin-top:8px">Send a fresh code</button>
|
||||||
<button class="btn sec small" id="jnResend" type="button" hidden style="margin-top:8px">Send a fresh code</button>
|
<p class="small muted" style="margin:14px 0 0">Advertising, not investing. No income is guaranteed; results depend on your effort. Crypto carries risk of loss.</p>
|
||||||
<p class="small muted" style="margin:14px 0 0">Advertising, not investing. No income is guaranteed; results depend on your effort. Crypto carries risk of loss.</p>
|
</div>
|
||||||
</div>
|
<ul class="jn-points" id="jnPoints" hidden></ul>
|
||||||
<ul class="jn-points" id="jnPoints" hidden></ul>
|
</div>
|
||||||
</div>
|
|
||||||
|
<div class="jn-strip">
|
||||||
<div class="jn-strip">
|
<div class="jn-chips">
|
||||||
<div class="jn-chips">
|
<span><b>Paid in POL</b>, Polygon's own coin, to your wallet</span>
|
||||||
<span><b>Paid in POL</b>, Polygon's own coin, to your wallet</span>
|
<span><b>Same transaction</b> payouts</span>
|
||||||
<span><b>Same transaction</b> payouts</span>
|
<span><b>Public ledger</b> on Polygon</span>
|
||||||
<span><b>Public ledger</b> on Polygon</span>
|
<span><b>Free</b> to join by email</span>
|
||||||
<span><b>Free</b> to join by email</span>
|
</div>
|
||||||
</div>
|
<p class="small muted" style="margin:10px 0 0">The one crypto here is <b style="color:var(--ink)">POL on the Polygon network</b>: packages are paid in POL and every payout arrives as POL in your own wallet. Any Polygon wallet works (MetaMask, SafePal, Phantom, Coinbase Wallet). Never held crypto? Buy POL with a card inside the member area.</p>
|
||||||
<p class="small muted" style="margin:10px 0 0">The one crypto here is <b style="color:var(--ink)">POL on the Polygon network</b>: packages are paid in POL and every payout arrives as POL in your own wallet. Any Polygon wallet works (MetaMask, SafePal, Phantom, Coinbase Wallet). Never held crypto? Buy POL with a card inside the member area.</p>
|
</div>
|
||||||
</div>
|
<section class="jn-full">
|
||||||
<section class="jn-full">
|
<div class="jn-h"><h2>How it works</h2><p class="muted">Three steps. The first one takes a minute and costs nothing.</p></div>
|
||||||
<div class="jn-h"><h2>How it works</h2><p class="muted">Three steps. The first one takes a minute and costs nothing.</p></div>
|
<div class="jn-steps">
|
||||||
<div class="jn-steps">
|
<div class="card"><div class="n">STEP 1</div><h3>Join free by email</h3><p class="muted small">A 6-digit code, no password. You get an invite link and welcome credits to try real ads.</p></div>
|
||||||
<div class="card"><div class="n">STEP 1</div><h3>Join free by email</h3><p class="muted small">A 6-digit code, no password. You get an invite link and welcome credits to try real ads.</p></div>
|
<div class="card"><div class="n">STEP 2</div><h3>Advertise or earn</h3><p class="muted small">Seven ad formats. View ads to earn credits, or buy a package from $5 when you want reach.</p></div>
|
||||||
<div class="card"><div class="n">STEP 2</div><h3>Advertise or earn</h3><p class="muted small">Seven ad formats. View ads to earn credits, or buy a package from $5 when you want reach.</p></div>
|
<div class="card"><div class="n">STEP 3</div><h3>Get paid in the same transaction</h3><p class="muted small">Activate with the $20 starter package and switch on payouts, and anyone who buys through your link pays you 50 percent, on-chain, the moment it happens.</p></div>
|
||||||
<div class="card"><div class="n">STEP 3</div><h3>Get paid in the same transaction</h3><p class="muted small">Activate with the $20 starter package and switch on payouts, and anyone who buys through your link pays you 50 percent, on-chain, the moment it happens.</p></div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
</section>
|
<section class="jn-full">
|
||||||
<section class="jn-full">
|
<div class="jn-h"><h2>The packages</h2><p class="muted">Priced in dollars, settled in POL at the live rate. One credit is one cent of ad delivery.</p></div>
|
||||||
<div class="jn-h"><h2>The packages</h2><p class="muted">Priced in dollars, settled in POL at the live rate. One credit is one cent of ad delivery.</p></div>
|
<div class="jn-ladder" id="jnLadder"></div>
|
||||||
<div class="jn-ladder" id="jnLadder"></div>
|
<p class="small muted" style="margin:14px 0 0;text-align:center">Every package pays 50 / 20 / 10 up the line the moment it sells, on a public ledger. <a href="#jnCap">Join free</a> and look around first.</p>
|
||||||
<p class="small muted" style="margin:14px 0 0;text-align:center">Every package pays 50 / 20 / 10 up the line the moment it sells, on a public ledger. <a href="#jnCap">Join free</a> and look around first.</p>
|
</section>
|
||||||
</section>
|
|
||||||
|
<div class="jn-foot">
|
||||||
<div class="jn-foot">
|
InstantAdPay · <a href="/contract">Contract</a> · <a href="/terms">Terms</a> · <a href="/privacy">Privacy</a> · <a href="/disclaimer">Disclaimer</a>
|
||||||
InstantAdPay · <a href="/contract">Contract</a> · <a href="/terms">Terms</a> · <a href="/privacy">Privacy</a> · <a href="/disclaimer">Disclaimer</a>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/join.js?v=20261016p"></script>
|
||||||
<script src="/assets/join.js?v=20261016p"></script>
|
</body>
|
||||||
</body>
|
</html>
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,42 +1,41 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Founding week checklist | InstantAdPay</title>
|
<title>Founding week checklist | InstantAdPay</title>
|
||||||
<meta name="description" content="The eight things a leader gets done before launch, and why the order matters. Member training.">
|
<meta name="description" content="The eight things a leader gets done before launch, and why the order matters. Member training.">
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260911c">
|
||||||
<style>
|
<style>
|
||||||
.lw-rule{border-left:4px solid var(--gold-2);background:var(--gold-soft);padding:16px 20px;border-radius:0 12px 12px 0;margin:0 0 24px}
|
.lw-rule{border-left:4px solid #f2c94c;background:rgba(242,201,76,.08);padding:16px 20px;border-radius:0 12px 12px 0;margin:0 0 24px}
|
||||||
.lw-rule b{font-family:var(--disp);font-size:17px;display:block;margin-bottom:6px}
|
.lw-rule b{font-family:var(--disp);font-size:17px;display:block;margin-bottom:6px}
|
||||||
.lw-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px}
|
.lw-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px}
|
||||||
.lw-count{font-family:var(--disp);font-weight:800;font-size:15px}
|
.lw-count{font-family:var(--disp);font-weight:800;font-size:15px}
|
||||||
.lw-count b{color:var(--mint);font-size:22px}
|
.lw-count b{color:var(--mint);font-size:22px}
|
||||||
.lw-bar{height:10px;border-radius:99px;background:var(--muted-soft);overflow:hidden;margin:8px 0 0;width:100%}
|
.lw-bar{height:10px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden;margin:8px 0 0;width:100%}
|
||||||
.lw-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--mint),var(--mint-pale));width:0;transition:width .4s}
|
.lw-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--mint),#9ff2dc);width:0;transition:width .4s}
|
||||||
.lw-when{font-family:var(--mono);font-size:12px;color:var(--muted)}
|
.lw-when{font-family:var(--mono);font-size:12px;color:var(--muted)}
|
||||||
.lw-when b{color:var(--ink);font-family:var(--disp);font-size:18px;display:block}
|
.lw-when b{color:var(--ink);font-family:var(--disp);font-size:18px;display:block}
|
||||||
.chk{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
|
.chk{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
|
||||||
.chk li{display:grid;grid-template-columns:34px 1fr auto;gap:14px;align-items:start;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px 16px}
|
.chk li{display:grid;grid-template-columns:34px 1fr auto;gap:14px;align-items:start;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px 16px}
|
||||||
.chk li.done{border-color:var(--mint-line)}
|
.chk li.done{border-color:rgba(67,232,195,.45)}
|
||||||
.chk .box{width:30px;height:30px;border-radius:9px;border:2px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--mint);font-size:18px}
|
.chk .box{width:30px;height:30px;border-radius:9px;border:2px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--mint);font-size:18px}
|
||||||
.chk li.done .box{background:var(--mint-soft-2);border-color:var(--mint)}
|
.chk li.done .box{background:rgba(67,232,195,.14);border-color:var(--mint)}
|
||||||
.chk h3{margin:0 0 3px;font-size:16px}
|
.chk h3{margin:0 0 3px;font-size:16px}
|
||||||
.chk p{margin:0;color:var(--muted);font-size:14px}
|
.chk p{margin:0;color:var(--muted);font-size:14px}
|
||||||
.chk .why{margin-top:6px;font-size:13px;color:var(--ink)}
|
.chk .why{margin-top:6px;font-size:13px;color:var(--ink)}
|
||||||
.chk .act{white-space:nowrap}
|
.chk .act{white-space:nowrap}
|
||||||
.chk .act .btn{margin-top:0}
|
.chk .act .btn{margin-top:0}
|
||||||
.days{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
|
.days{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
|
||||||
.days>div{background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px}
|
.days>div{background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px}
|
||||||
.days .k{font-family:var(--disp);font-weight:800;color:var(--mint);margin-bottom:6px}
|
.days .k{font-family:var(--disp);font-weight:800;color:var(--mint);margin-bottom:6px}
|
||||||
.days ul{margin:0;padding-left:18px}
|
.days ul{margin:0;padding-left:18px}
|
||||||
blockquote{margin:0 0 10px;background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:12px 16px;color:var(--muted)}
|
blockquote{margin:0 0 10px;background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:10px;padding:12px 16px;color:var(--muted)}
|
||||||
blockquote span{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mint);margin-bottom:6px}
|
blockquote span{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mint);margin-bottom:6px}
|
||||||
.swipe{margin:0 0 12px;background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:12px 16px}
|
.swipe{margin:0 0 12px;background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:10px;padding:12px 16px}
|
||||||
.swipe .cap{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mint);margin-bottom:6px;display:flex;justify-content:space-between;gap:10px;align-items:center}
|
.swipe .cap{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mint);margin-bottom:6px;display:flex;justify-content:space-between;gap:10px;align-items:center}
|
||||||
.swipe .subj{font-weight:700;margin:0 0 8px}
|
.swipe .subj{font-weight:700;margin:0 0 8px}
|
||||||
.swipe pre{white-space:pre-wrap;font:inherit;color:var(--muted);margin:0;line-height:1.5}
|
.swipe pre{white-space:pre-wrap;font:inherit;color:var(--muted);margin:0;line-height:1.5}
|
||||||
@@ -106,7 +105,7 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/launch.js?v=20260915b"></script>
|
<script src="/assets/launch.js?v=20260915b"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Live ledger | InstantAdPay</title>
|
<title>Live ledger | InstantAdPay</title>
|
||||||
@@ -15,10 +15,9 @@
|
|||||||
<meta name="twitter:description" content="Real ad purchases splitting into instant on-chain payouts, live and verifiable.">
|
<meta name="twitter:description" content="Real ad purchases splitting into instant on-chain payouts, live and verifiable.">
|
||||||
<meta name="twitter:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png">
|
<meta name="twitter:image" content="https://instantadpay.com/banners/iap-hero-1200x630.png">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
@@ -41,7 +40,7 @@
|
|||||||
<div class="small">InstantAdPay is the Polygon hub of the <a href="https://cryptoteambuild.com" target="_blank" rel="noopener">Crypto Team Build Network</a>.</div>
|
<div class="small">InstantAdPay is the Polygon hub of the <a href="https://cryptoteambuild.com" target="_blank" rel="noopener">Crypto Team Build Network</a>.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/ledger.js?v=20260906m"></script>
|
<script src="/assets/ledger.js?v=20260906m"></script>
|
||||||
<script src="https://polhunter.com/embed.js" data-slots="1" async></script>
|
<script src="https://polhunter.com/embed.js" data-slots="1" async></script>
|
||||||
<script src="/assets/chat.js?v=20261016n"></script>
|
<script src="/assets/chat.js?v=20261016n"></script>
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Member area | InstantAdPay</title>
|
<title>Member area | InstantAdPay</title>
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20261008a">
|
||||||
</head>
|
</head>
|
||||||
<body class="bo-body">
|
<body class="bo-body">
|
||||||
|
|
||||||
@@ -111,7 +110,6 @@
|
|||||||
<p><input id="obUsername" placeholder="Username (3-20 letters, numbers, _)" autocomplete="off" style="width:100%"></p>
|
<p><input id="obUsername" placeholder="Username (3-20 letters, numbers, _)" autocomplete="off" style="width:100%"></p>
|
||||||
<p class="muted small" style="margin:12px 0 4px">Optional — a short bio for your public page (you can skip this).</p>
|
<p class="muted small" style="margin:12px 0 4px">Optional — a short bio for your public page (you can skip this).</p>
|
||||||
<p><textarea id="obBio" rows="2" maxlength="600" placeholder="A short bio (optional)" style="width:100%"></textarea></p>
|
<p><textarea id="obBio" rows="2" maxlength="600" placeholder="A short bio (optional)" style="width:100%"></textarea></p>
|
||||||
<p class="muted small" style="margin:-6px 0 8px">No links in the bio, and nothing from the prohibited list in the <a href="/terms#prohibited" target="_blank" rel="noopener">Terms</a>.</p>
|
|
||||||
<p id="obErr" class="small" style="color:var(--bad)" hidden></p>
|
<p id="obErr" class="small" style="color:var(--bad)" hidden></p>
|
||||||
<p style="margin-top:14px;display:flex;gap:10px;justify-content:flex-end">
|
<p style="margin-top:14px;display:flex;gap:10px;justify-content:flex-end">
|
||||||
<button class="btn sec small" id="obSkip" type="button" hidden>Skip for now</button>
|
<button class="btn sec small" id="obSkip" type="button" hidden>Skip for now</button>
|
||||||
@@ -174,7 +172,6 @@
|
|||||||
<button id="boBurger" aria-label="Menu" type="button">☰</button>
|
<button id="boBurger" aria-label="Menu" type="button">☰</button>
|
||||||
<h2 id="boTitle" style="margin:0">Overview</h2>
|
<h2 id="boTitle" style="margin:0">Overview</h2>
|
||||||
<span class="bo-rehearsal small" id="boRehearsal" hidden></span>
|
<span class="bo-rehearsal small" id="boRehearsal" hidden></span>
|
||||||
<span class="seg theme-seg" id="boTheme" role="group" aria-label="Theme"><button type="button" data-theme="light" title="Light theme">Light</button><button type="button" data-theme="dark" title="Dark theme">Dark</button><button type="button" data-theme="auto" title="Follow the device">Auto</button></span>
|
|
||||||
<div class="ad-strip" id="adStripTop" hidden></div>
|
<div class="ad-strip" id="adStripTop" hidden></div>
|
||||||
</header>
|
</header>
|
||||||
<main class="bo-content">
|
<main class="bo-content">
|
||||||
@@ -188,7 +185,6 @@
|
|||||||
<div class="card" id="fdfCard" hidden></div>
|
<div class="card" id="fdfCard" hidden></div>
|
||||||
<div class="card" id="wwCard" hidden></div>
|
<div class="card" id="wwCard" hidden></div>
|
||||||
<div class="card" id="rfCard" hidden aria-live="polite"></div>
|
<div class="card" id="rfCard" hidden aria-live="polite"></div>
|
||||||
<div class="card" id="bixCard" hidden></div>
|
|
||||||
<div class="card" id="gpNudge" hidden></div>
|
<div class="card" id="gpNudge" hidden></div>
|
||||||
<div class="card gs" id="gsCard" hidden>
|
<div class="card gs" id="gsCard" hidden>
|
||||||
<div class="card-head"><h3>Getting started</h3><span class="sub" id="gsSub"></span></div>
|
<div class="card-head"><h3>Getting started</h3><span class="sub" id="gsSub"></span></div>
|
||||||
@@ -663,7 +659,7 @@
|
|||||||
<button class="subtab" data-earn="inbox" type="button">Inbox Ads<span class="pill" id="inboxBadge2" hidden></span></button>
|
<button class="subtab" data-earn="inbox" type="button">Inbox Ads<span class="pill" id="inboxBadge2" hidden></span></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card" id="fbankCard" hidden style="border-color:var(--violet-line)">
|
<div class="card" id="fbankCard" hidden style="border-color:rgba(180,140,255,.45)">
|
||||||
<h3 style="margin:0 0 4px">🎯 Friday Bonus Hunts <span class="badge" id="fbankCount" style="margin-left:6px">0 banked</span></h3>
|
<h3 style="margin:0 0 4px">🎯 Friday Bonus Hunts <span class="badge" id="fbankCount" style="margin-left:6px">0 banked</span></h3>
|
||||||
<p class="small muted" style="margin:0 0 10px" id="fbankLead">Each day, Saturday through Thursday, open one <b>Inbox Ad</b> and watch one <b>video</b> here. Every day you do both banks one extra PolHunter hunt for Friday.</p>
|
<p class="small muted" style="margin:0 0 10px" id="fbankLead">Each day, Saturday through Thursday, open one <b>Inbox Ad</b> and watch one <b>video</b> here. Every day you do both banks one extra PolHunter hunt for Friday.</p>
|
||||||
<div id="fbankDays" style="display:flex;flex-wrap:wrap;gap:6px"></div>
|
<div id="fbankDays" style="display:flex;flex-wrap:wrap;gap:6px"></div>
|
||||||
@@ -689,7 +685,7 @@
|
|||||||
<p><span class="badge" id="earnProgress">…</span>
|
<p><span class="badge" id="earnProgress">…</span>
|
||||||
<span class="badge" id="earnBalance">…</span>
|
<span class="badge" id="earnBalance">…</span>
|
||||||
<a href="#" id="earnActLink" class="small" title="every credit earned or spent, with the reason">Credit activity</a></p>
|
<a href="#" id="earnActLink" class="small" title="every credit earned or spent, with the reason">Credit activity</a></p>
|
||||||
<div class="card" style="background:var(--ground-soft)" id="earnStage">
|
<div class="card" style="background:rgba(4,8,7,.5)" id="earnStage">
|
||||||
<div id="earnAdBox" class="small muted" style="min-height:80px;display:grid;place-items:center">
|
<div id="earnAdBox" class="small muted" style="min-height:80px;display:grid;place-items:center">
|
||||||
Press the button to open the first ad in a new tab.</div>
|
Press the button to open the first ad in a new tab.</div>
|
||||||
<p style="margin-top:14px">
|
<p style="margin-top:14px">
|
||||||
@@ -708,7 +704,7 @@
|
|||||||
can't be skipped — the timer runs on our server. You never see your own videos.
|
can't be skipped — the timer runs on our server. You never see your own videos.
|
||||||
Prefer a feed? <a href="/shorts">Open Shorts</a> for a full-screen, swipe-to-next experience.</p>
|
Prefer a feed? <a href="/shorts">Open Shorts</a> for a full-screen, swipe-to-next experience.</p>
|
||||||
<p><span class="badge" id="vidProgress">…</span></p>
|
<p><span class="badge" id="vidProgress">…</span></p>
|
||||||
<div class="card" style="background:var(--ground-soft)" id="vidStage">
|
<div class="card" style="background:rgba(4,8,7,.5)" id="vidStage">
|
||||||
<div id="vidBox" class="small muted" style="min-height:120px;display:grid;place-items:center">
|
<div id="vidBox" class="small muted" style="min-height:120px;display:grid;place-items:center">
|
||||||
Press the button to load the first video.</div>
|
Press the button to load the first video.</div>
|
||||||
<div id="vidWrap" hidden style="max-width:560px;margin:0 auto">
|
<div id="vidWrap" hidden style="max-width:560px;margin:0 auto">
|
||||||
@@ -730,7 +726,7 @@
|
|||||||
<p class="muted small">Visit a member's site in a new tab, stay the required few seconds,
|
<p class="muted small">Visit a member's site in a new tab, stay the required few seconds,
|
||||||
pass a quick check, and earn. Each site counts once for you — real, unique human visits.</p>
|
pass a quick check, and earn. Each site counts once for you — real, unique human visits.</p>
|
||||||
<p><span class="badge" id="vsProgress">…</span></p>
|
<p><span class="badge" id="vsProgress">…</span></p>
|
||||||
<div class="card" style="background:var(--ground-soft)">
|
<div class="card" style="background:rgba(4,8,7,.5)">
|
||||||
<div id="vsBox" class="small muted" style="min-height:70px;display:grid;place-items:center">Press the button to load a site to visit.</div>
|
<div id="vsBox" class="small muted" style="min-height:70px;display:grid;place-items:center">Press the button to load a site to visit.</div>
|
||||||
<div id="vsCheck" hidden style="margin-top:10px"><span class="prompt" id="vsPrompt"></span> <span id="vsOpts"></span></div>
|
<div id="vsCheck" hidden style="margin-top:10px"><span class="prompt" id="vsPrompt"></span> <span id="vsOpts"></span></div>
|
||||||
<p style="margin-top:12px">
|
<p style="margin-top:12px">
|
||||||
@@ -836,21 +832,6 @@
|
|||||||
<button class="chip-t" data-promo="videos" type="button" role="tab">Videos</button>
|
<button class="chip-t" data-promo="videos" type="button" role="tab">Videos</button>
|
||||||
<button class="chip-t" data-promo="viral" type="button" role="tab">Viral links</button>
|
<button class="chip-t" data-promo="viral" type="button" role="tab">Viral links</button>
|
||||||
<button class="chip-t" data-promo="games" type="button" role="tab">🎮 Games</button>
|
<button class="chip-t" data-promo="games" type="button" role="tab">🎮 Games</button>
|
||||||
<button class="chip-t" data-promo="bixpay" type="button" role="tab" hidden>💳 BixPay</button>
|
|
||||||
</div>
|
|
||||||
<!-- BixPay partner kit (2026-10-29): the member's resolved partner link, posts, an email swipe and four text-only banners; promo.js fillBix -->
|
|
||||||
<div class="card promo-sec" id="promo-bixpay" hidden>
|
|
||||||
<div class="card-head"><h3>💳 BixPay: a Visa card for your POL</h3><span class="sub" id="bixPromoSub">every link and banner here carries your partner link</span></div>
|
|
||||||
<p class="muted small" style="margin:0 0 10px">BixPay is a self-custody wallet with a Visa card, spent from USDT or USDC. Anyone who signs up through your link is credited to you in your BIX portal, up to ten levels deep. 3% per purchase, no load fee. See BIX's terms for other charges. <a href="/bixpay" target="_blank" rel="noopener">Read the guide</a>.</p>
|
|
||||||
<div class="promo-strip" style="padding:0 0 12px"><div><span class="eyebrow" style="margin:0 0 4px">Your BixPay partner link</span><div class="mono small" id="bixPromoLink" style="overflow-wrap:anywhere">…</div><div class="small muted" id="bixPromoUsing" style="margin-top:4px"></div></div><span><button class="btn small" id="bixPromoCopy" type="button">Copy link</button> <button class="btn small sec" id="bixPromoShare" type="button" hidden>Share</button></span></div>
|
|
||||||
<div class="promo-strip" style="padding:0 0 12px"><div><span class="eyebrow" style="margin:0 0 4px">Your tracked link</span><div class="mono small" id="bixPromoGo" style="overflow-wrap:anywhere">…</div><div class="small muted" style="margin-top:4px">The posts and banners below use this one. It counts the click here, then opens your partner link. <span id="bixPromoClicks"></span></div></div><span><button class="btn small sec" id="bixPromoGoCopy" type="button">Copy tracked link</button></span></div>
|
|
||||||
<div class="card-head"><h3>Posts</h3><span class="sub">your link is already in them</span></div>
|
|
||||||
<div id="bixPromoPosts"></div>
|
|
||||||
<div class="card-head" style="margin-top:14px"><h3>Email swipe</h3><span class="sub">plain text, paste it into any mailer</span></div>
|
|
||||||
<div id="bixPromoSwipe"></div>
|
|
||||||
<div class="card-head" style="margin-top:14px"><h3>Banners</h3><span class="sub">text only, no BIX logo; each embed carries your tracked link</span></div>
|
|
||||||
<div id="bixPromoBanners"></div>
|
|
||||||
<p class="small muted" style="margin:12px 0 0">BixPay is a separate company. BIX issues the wallet and the card through its banking partners and sets its own fees, limits, eligibility and terms. InstantAdPay is not the card issuer and earns a referral commission when you sign up through a partner link. Card availability varies by country. Crypto assets can lose value.</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="card promo-sec" id="promo-games" hidden>
|
<div class="card promo-sec" id="promo-games" hidden>
|
||||||
<div class="card-head"><h3>🎮 Our games</h3><span class="sub">free to play, every link carries your username</span></div>
|
<div class="card-head"><h3>🎮 Our games</h3><span class="sub">free to play, every link carries your username</span></div>
|
||||||
@@ -858,7 +839,6 @@
|
|||||||
<div class="chips" id="gmPick" style="margin:0 0 12px"></div>
|
<div class="chips" id="gmPick" style="margin:0 0 12px"></div>
|
||||||
<div id="gmGeneric" hidden>
|
<div id="gmGeneric" hidden>
|
||||||
<div class="card-head"><h3 id="gmTitle"></h3><span class="sub" id="gmSub"></span></div>
|
<div class="card-head"><h3 id="gmTitle"></h3><span class="sub" id="gmSub"></span></div>
|
||||||
<p class="muted small" id="gmNote" hidden style="margin:0 0 10px"></p>
|
|
||||||
<div class="promo-strip" style="padding:0 0 12px"><div><span class="eyebrow" style="margin:0 0 4px">Your link</span><div class="mono small" id="gmLink" style="overflow-wrap:anywhere">…</div></div><span><button class="btn small" id="gmLinkCopy" type="button">Copy link</button></span></div>
|
<div class="promo-strip" style="padding:0 0 12px"><div><span class="eyebrow" style="margin:0 0 4px">Your link</span><div class="mono small" id="gmLink" style="overflow-wrap:anywhere">…</div></div><span><button class="btn small" id="gmLinkCopy" type="button">Copy link</button></span></div>
|
||||||
<div id="gmShare" class="angle-btns" style="margin:0 0 14px"></div>
|
<div id="gmShare" class="angle-btns" style="margin:0 0 14px"></div>
|
||||||
<div class="promo-block"><div class="pb-head"><span class="lab">Share image</span> <span class="muted small">1200×630, for posts and link previews</span></div>
|
<div class="promo-block"><div class="pb-head"><span class="lab">Share image</span> <span class="muted small">1200×630, for posts and link previews</span></div>
|
||||||
@@ -1041,7 +1021,6 @@
|
|||||||
<button class="btn small sec" id="pfAvatarBtn" type="button">Upload avatar</button>
|
<button class="btn small sec" id="pfAvatarBtn" type="button">Upload avatar</button>
|
||||||
<span class="small muted" id="pfAvatarInfo"></span></p>
|
<span class="small muted" id="pfAvatarInfo"></span></p>
|
||||||
<p><textarea id="pfBio" rows="3" maxlength="600" placeholder="A short bio for your profile page…" style="width:100%"></textarea></p>
|
<p><textarea id="pfBio" rows="3" maxlength="600" placeholder="A short bio for your profile page…" style="width:100%"></textarea></p>
|
||||||
<p class="small muted" style="margin:-6px 0 10px">No links in the bio, and nothing from the prohibited list in the <a href="/terms#prohibited" target="_blank" rel="noopener">Terms</a>.</p>
|
|
||||||
<p class="small muted" style="margin-bottom:4px">Social links (https URLs — shown on your public page):</p>
|
<p class="small muted" style="margin-bottom:4px">Social links (https URLs — shown on your public page):</p>
|
||||||
<div class="grid c2" style="gap:8px">
|
<div class="grid c2" style="gap:8px">
|
||||||
<input id="soc-facebook" placeholder="Facebook URL" style="width:100%">
|
<input id="soc-facebook" placeholder="Facebook URL" style="width:100%">
|
||||||
@@ -1058,11 +1037,6 @@
|
|||||||
<p style="margin-top:12px"><button class="btn" id="pfDetailsSave">Save profile</button>
|
<p style="margin-top:12px"><button class="btn" id="pfDetailsSave">Save profile</button>
|
||||||
<a class="btn small sec" id="pfViewBio" target="_blank" rel="noopener" hidden>View my page</a></p>
|
<a class="btn small sec" id="pfViewBio" target="_blank" rel="noopener" hidden>View my page</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card theme-card">
|
|
||||||
<h3>Appearance</h3>
|
|
||||||
<p class="muted small">Light or dark, or Auto to follow your device setting. Saved with your account, so it follows you to any browser you sign in on.</p>
|
|
||||||
<span class="seg theme-seg" role="group" aria-label="Theme"><button type="button" data-theme="light" title="Light theme">Light</button><button type="button" data-theme="dark" title="Dark theme">Dark</button><button type="button" data-theme="auto" title="Follow the device">Auto</button></span>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3>Your line banner</h3>
|
<h3>Your line banner</h3>
|
||||||
<p class="muted small">Set a destination link (and a banner image for your wall), and every new
|
<p class="muted small">Set a destination link (and a banner image for your wall), and every new
|
||||||
@@ -1108,18 +1082,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<p><button class="btn" id="woSaveBtn">Save wall positions</button></p>
|
<p><button class="btn" id="woSaveBtn">Save wall positions</button></p>
|
||||||
</div>
|
</div>
|
||||||
<!-- BixPay partner link (2026-10-29): one field, validated server-side (/api/my/bixpay); shown while bixpayLive is on -->
|
|
||||||
<div class="card" id="pfBixCard" hidden>
|
|
||||||
<h3>BixPay card</h3>
|
|
||||||
<p class="muted small">Join BixPay as a partner, then paste your Partner link here. Members and visitors who get a card through
|
|
||||||
your pages are credited to you in your BIX portal, up to ten levels deep.</p>
|
|
||||||
<p><label class="small muted" for="pfBixLink" style="display:block;margin-bottom:4px">Your BixPay partner link</label>
|
|
||||||
<input id="pfBixLink" maxlength="300" placeholder="https://bix.ibportal.io/auth/register?e=...&a=1" style="width:100%" autocomplete="off" spellcheck="false"></p>
|
|
||||||
<p class="small muted" style="margin:0 0 10px">Where to find it: BIX portal > Profile > Partner (the second box). Copy the link.</p>
|
|
||||||
<p style="display:flex;gap:8px;flex-wrap:wrap;align-items:center"><button class="btn" id="pfBixSave" type="button">Save partner link</button>
|
|
||||||
<a class="btn small sec" href="/bixpay" target="_blank" rel="noopener">Not a BixPay partner yet? How it works</a></p>
|
|
||||||
<p class="small" id="pfBixStatus" style="margin:10px 0 0"></p>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3>Sponsor chat</h3>
|
<h3>Sponsor chat</h3>
|
||||||
<p class="muted small">Your line can message you one-to-one for help, and you can message anyone
|
<p class="muted small">Your line can message you one-to-one for help, and you can message anyone
|
||||||
@@ -1224,8 +1186,6 @@
|
|||||||
and it unlocks the full flow. Buying any package does this automatically.</p>
|
and it unlocks the full flow. Buying any package does this automatically.</p>
|
||||||
<button class="btn sec" id="activateBtn">Activate payouts</button>
|
<button class="btn sec" id="activateBtn">Activate payouts</button>
|
||||||
</div>
|
</div>
|
||||||
<!-- BixPay Visa card (2026-10-29, docs/BIXPAY-INTEGRATION.md): shown while site config bixpayLive is on; copy in my.js renderBixWallet -->
|
|
||||||
<div class="card" id="bixWalletCard" hidden></div>
|
|
||||||
<div class="card ad-foot" id="adSlotPane-wallet" hidden></div>
|
<div class="card ad-foot" id="adSlotPane-wallet" hidden></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1259,13 +1219,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/wallet.js?v=20260911a"></script>
|
<script src="/assets/wallet.js?v=20260911a"></script>
|
||||||
<script src="/assets/promo.js?v=20261102td"></script>
|
<script src="/assets/promo.js?v=20261028td"></script>
|
||||||
<script src="/assets/support.js?v=20261101th"></script>
|
<script src="/assets/support.js?v=20261016a"></script>
|
||||||
<script src="/assets/my.js?v=20261102tt"></script>
|
<script src="/assets/my.js?v=20261028td"></script>
|
||||||
<script src="/assets/fuel.js?v=20261025ff"></script>
|
<script src="/assets/fuel.js?v=20261025ff"></script>
|
||||||
<script src="/assets/engine-room.js?v=20261101th"></script>
|
<script src="/assets/engine-room.js?v=20261025ff"></script>
|
||||||
<script src="/assets/chat.js?v=20261016n"></script>
|
<script src="/assets/chat.js?v=20261016n"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>For site owners | InstantAdPay</title>
|
<title>For site owners | InstantAdPay</title>
|
||||||
<meta name="description" content="Marty's partner kit for site owners who run a downline builder: the platform in three minutes, how the money moves, what your members get, and what you get for listing InstantAdPay.">
|
<meta name="description" content="Marty's partner kit for site owners who run a downline builder: the platform in three minutes, how the money moves, what your members get, and what you get for listing InstantAdPay.">
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
<style>
|
<style>
|
||||||
.pk{max-width:820px}
|
.pk{max-width:820px}
|
||||||
.pk h2{font-size:24px;margin:44px 0 12px;padding-top:20px;border-top:1px solid var(--line)}
|
.pk h2{font-size:24px;margin:44px 0 12px;padding-top:20px;border-top:1px solid var(--line)}
|
||||||
@@ -27,11 +26,11 @@
|
|||||||
table{border-collapse:collapse;width:100%;margin:10px 0 18px;font-variant-numeric:tabular-nums;font-size:15px}
|
table{border-collapse:collapse;width:100%;margin:10px 0 18px;font-variant-numeric:tabular-nums;font-size:15px}
|
||||||
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line)} th{color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}
|
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line)} th{color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}
|
||||||
td:nth-child(2),td:nth-child(3),th:nth-child(2),th:nth-child(3){text-align:right}
|
td:nth-child(2),td:nth-child(3),th:nth-child(2),th:nth-child(3){text-align:right}
|
||||||
.get{border:1px solid var(--gold-2);background:var(--gold-soft);border-radius:14px;padding:18px 22px;margin:16px 0}
|
.get{border:1px solid #f2c94c;background:rgba(242,201,76,.08);border-radius:14px;padding:18px 22px;margin:16px 0}
|
||||||
.get h3{color:var(--gold-2);margin:0 0 8px}
|
.get h3{color:#f2c94c;margin:0 0 8px}
|
||||||
.cta{margin:26px 0 8px;padding:22px;border:1px solid var(--mint);border-radius:14px;background:var(--mint-faint)}
|
.cta{margin:26px 0 8px;padding:22px;border:1px solid var(--mint);border-radius:14px;background:rgba(67,232,195,.06)}
|
||||||
.cta .btn{margin-top:10px}
|
.cta .btn{margin-top:10px}
|
||||||
code{background:var(--ground-soft);padding:2px 7px;border-radius:6px;font-size:13.5px;word-break:break-all}
|
code{background:rgba(4,8,7,.6);padding:2px 7px;border-radius:6px;font-size:13.5px;word-break:break-all}
|
||||||
@media (max-width:640px){.split{grid-template-columns:1fr 1fr}}
|
@media (max-width:640px){.split{grid-template-columns:1fr 1fr}}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -131,7 +130,7 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford to lose.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford to lose.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/partners.js?v=20260914a"></script>
|
<script src="/assets/partners.js?v=20260914a"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Team-building plays | InstantAdPay</title>
|
<title>Team-building plays | InstantAdPay</title>
|
||||||
<meta name="description" content="Three ways to build your InstantAdPay line, plus the Qualified Start opening move. Member training.">
|
<meta name="description" content="Three ways to build your InstantAdPay line, plus the Qualified Start opening move. Member training.">
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
<style>
|
<style>
|
||||||
.pl-rule{border-left:4px solid var(--gold-2);background:var(--gold-soft);padding:16px 20px;border-radius:0 12px 12px 0;margin:0 0 28px}
|
.pl-rule{border-left:4px solid #f2c94c;background:rgba(242,201,76,.08);padding:16px 20px;border-radius:0 12px 12px 0;margin:0 0 28px}
|
||||||
.pl-rule b{font-family:var(--disp);font-size:17px;display:block;margin-bottom:6px}
|
.pl-rule b{font-family:var(--disp);font-size:17px;display:block;margin-bottom:6px}
|
||||||
.pl-split{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 10px}
|
.pl-split{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 10px}
|
||||||
.pl-split>div{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 10px;text-align:center}
|
.pl-split>div{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 10px;text-align:center}
|
||||||
@@ -25,17 +24,17 @@
|
|||||||
.pl-ladder .b{color:var(--mint);font-size:12.5px}
|
.pl-ladder .b{color:var(--mint);font-size:12.5px}
|
||||||
.play header{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:6px}
|
.play header{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:6px}
|
||||||
.play h2{font-size:24px;margin:0}
|
.play h2{font-size:24px;margin:0}
|
||||||
.play .tag{font-family:var(--mono);font-size:11.5px;color:var(--mint);border:1px solid var(--mint-line);border-radius:999px;padding:3px 10px}
|
.play .tag{font-family:var(--mono);font-size:11.5px;color:var(--mint);border:1px solid rgba(67,232,195,.4);border-radius:999px;padding:3px 10px}
|
||||||
.play ol{margin:0 0 14px 20px;padding:0;line-height:1.6}
|
.play ol{margin:0 0 14px 20px;padding:0;line-height:1.6}
|
||||||
.play ol li{margin:0 0 8px}
|
.play ol li{margin:0 0 8px}
|
||||||
.meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
|
.meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
|
||||||
.meta>div{background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px}
|
.meta>div{background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px}
|
||||||
.meta .k{font-family:var(--mono);font-size:11px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
|
.meta .k{font-family:var(--mono);font-size:11px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
|
||||||
.rec{border-color:var(--mint)}
|
.rec{border-color:var(--mint)}
|
||||||
.cal{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
|
.cal{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
|
||||||
.cal>div{background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px}
|
.cal>div{background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px}
|
||||||
.cal .k{font-family:var(--disp);font-weight:800;color:var(--mint);margin-bottom:6px}
|
.cal .k{font-family:var(--disp);font-weight:800;color:var(--mint);margin-bottom:6px}
|
||||||
blockquote{margin:0 0 10px;background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:12px 16px;color:var(--muted);font-style:italic}
|
blockquote{margin:0 0 10px;background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:10px;padding:12px 16px;color:var(--muted);font-style:italic}
|
||||||
blockquote span{display:block;font-style:normal;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mint);margin-bottom:4px}
|
blockquote span{display:block;font-style:normal;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mint);margin-bottom:4px}
|
||||||
.fit-table th{text-align:left;color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}
|
.fit-table th{text-align:left;color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}
|
||||||
.fit-table td,.fit-table th{padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
|
.fit-table td,.fit-table th{padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
|
||||||
@@ -194,7 +193,7 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/plays.js?v=20260910b"></script>
|
<script src="/assets/plays.js?v=20260910b"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Build wide. Get paid instantly. | InstantAdPay presentation</title>
|
<title>Build wide. Get paid instantly. | InstantAdPay presentation</title>
|
||||||
@@ -15,10 +15,9 @@
|
|||||||
<meta name="twitter:description" content="The InstantAdPay presentation: narrated, with captions in six languages.">
|
<meta name="twitter:description" content="The InstantAdPay presentation: narrated, with captions in six languages.">
|
||||||
<meta name="twitter:image" content="https://coolify-saasytop.nyc3.digitaloceanspaces.com/training/iap-presentation.jpg?v=20261016p">
|
<meta name="twitter:image" content="https://coolify-saasytop.nyc3.digitaloceanspaces.com/training/iap-presentation.jpg?v=20261016p">
|
||||||
<link rel="canonical" href="https://instantadpay.com/presentation">
|
<link rel="canonical" href="https://instantadpay.com/presentation">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260912b">
|
||||||
<style>
|
<style>
|
||||||
.pr{max-width:1040px}
|
.pr{max-width:1040px}
|
||||||
.pr .hero{padding:44px 0 6px;text-align:center}
|
.pr .hero{padding:44px 0 6px;text-align:center}
|
||||||
@@ -31,8 +30,8 @@
|
|||||||
.cap-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px 2px 0;font-size:13px}
|
.cap-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px 2px 0;font-size:13px}
|
||||||
.cap-bar .lab{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:700;font-size:11.5px;margin-right:4px}
|
.cap-bar .lab{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:700;font-size:11.5px;margin-right:4px}
|
||||||
.cap-bar button{cursor:pointer;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:5px 12px;font-size:13px;font-family:inherit;line-height:1.3}
|
.cap-bar button{cursor:pointer;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:5px 12px;font-size:13px;font-family:inherit;line-height:1.3}
|
||||||
.cap-bar button[aria-pressed="true"]{background:var(--mint-soft-2);border-color:var(--mint);color:var(--mint)}
|
.cap-bar button[aria-pressed="true"]{background:rgba(67,232,195,.14);border-color:var(--mint);color:var(--mint)}
|
||||||
.spon{margin:22px 0 6px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between;border:1px solid var(--mint);border-radius:18px;padding:18px 20px;background:var(--mint-faint)}
|
.spon{margin:22px 0 6px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between;border:1px solid var(--mint);border-radius:18px;padding:18px 20px;background:rgba(67,232,195,.06)}
|
||||||
.spon .who{display:flex;gap:14px;align-items:center;min-width:0}
|
.spon .who{display:flex;gap:14px;align-items:center;min-width:0}
|
||||||
.spon img{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--mint);flex:0 0 auto}
|
.spon img{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--mint);flex:0 0 auto}
|
||||||
.spon .ini{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--mint);color:var(--mint-ink);font-family:var(--disp);font-weight:800;font-size:22px;flex:0 0 auto}
|
.spon .ini{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--mint);color:var(--mint-ink);font-family:var(--disp);font-weight:800;font-size:22px;flex:0 0 auto}
|
||||||
@@ -87,6 +86,6 @@
|
|||||||
<div class="small">InstantAdPay is the Polygon hub of the <a href="https://cryptoteambuild.com" target="_blank" rel="noopener">Crypto Team Build Network</a>.</div>
|
<div class="small">InstantAdPay is the Polygon hub of the <a href="https://cryptoteambuild.com" target="_blank" rel="noopener">Crypto Team Build Network</a>.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/presentation.js?v=20261015b"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/presentation.js?v=20261015b"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Privacy Policy | InstantAdPay</title>
|
<title>Privacy Policy | InstantAdPay</title>
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="nav"></div>
|
<div id="nav"></div>
|
||||||
@@ -32,7 +31,7 @@
|
|||||||
<p class="muted small">We use reasonable safeguards, but no system is perfectly secure. Protect your email and your wallet.</p>
|
<p class="muted small">We use reasonable safeguards, but no system is perfectly secure. Protect your email and your wallet.</p>
|
||||||
</div>
|
</div>
|
||||||
</div></section>
|
</div></section>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/legal.js?v=20260908a"></script>
|
<script src="/assets/legal.js?v=20260908a"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Fuel Your Offers: the Monthly Refuel guide | InstantAdPay</title>
|
<title>Fuel Your Offers: the Monthly Refuel guide | InstantAdPay</title>
|
||||||
@@ -14,10 +14,9 @@
|
|||||||
<meta property="og:url" content="https://instantadpay.com/refuel">
|
<meta property="og:url" content="https://instantadpay.com/refuel">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:image" content="https://instantadpay.com/banners/fuel-your-offers-1200x675.jpg">
|
<meta name="twitter:image" content="https://instantadpay.com/banners/fuel-your-offers-1200x675.jpg">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260912b">
|
||||||
<style>
|
<style>
|
||||||
.rg{max-width:900px}
|
.rg{max-width:900px}
|
||||||
.rg .hero{padding:44px 0 10px}
|
.rg .hero{padding:44px 0 10px}
|
||||||
@@ -27,10 +26,10 @@
|
|||||||
.rg-eye{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--amber);font-weight:700;margin:38px 0 0}
|
.rg-eye{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--amber);font-weight:700;margin:38px 0 0}
|
||||||
.rg-eye + h2{margin-top:6px}
|
.rg-eye + h2{margin-top:6px}
|
||||||
.rg-gauge{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:8px 0 18px}
|
.rg-gauge{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:8px 0 18px}
|
||||||
.rg-gauge div{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--ink-faint);min-width:0}
|
.rg-gauge div{border:1px solid var(--line);border-radius:12px;padding:12px;background:rgba(255,255,255,.02);min-width:0}
|
||||||
.rg-gauge b{display:block;font-family:var(--mono);font-size:22px;color:var(--amber);font-variant-numeric:tabular-nums}
|
.rg-gauge b{display:block;font-family:var(--mono);font-size:22px;color:var(--amber);font-variant-numeric:tabular-nums}
|
||||||
.rg-gauge span{font-size:13px;color:var(--muted)}
|
.rg-gauge span{font-size:13px;color:var(--muted)}
|
||||||
.rg-gauge div:last-child{border-color:var(--amber-line);background:var(--amber-soft)}
|
.rg-gauge div:last-child{border-color:rgba(255,178,56,.55);background:rgba(255,178,56,.08)}
|
||||||
.rg-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 10px}
|
.rg-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 10px}
|
||||||
.rg-cta .btn.big{font-size:17px;padding:14px 22px}
|
.rg-cta .btn.big{font-size:17px;padding:14px 22px}
|
||||||
/* the flow: one spine down the page, decisions open into branch cards that stack on a phone */
|
/* the flow: one spine down the page, decisions open into branch cards that stack on a phone */
|
||||||
@@ -38,14 +37,14 @@
|
|||||||
.rg-flow > li{display:grid;gap:10px;position:relative;padding-bottom:30px}
|
.rg-flow > li{display:grid;gap:10px;position:relative;padding-bottom:30px}
|
||||||
.rg-flow > li:not(:last-child)::after{content:"";position:absolute;left:22px;bottom:4px;width:2px;height:22px;background:var(--line-strong)}
|
.rg-flow > li:not(:last-child)::after{content:"";position:absolute;left:22px;bottom:4px;width:2px;height:22px;background:var(--line-strong)}
|
||||||
.rg-flow > li:not(:last-child)::before{content:"";position:absolute;left:17px;bottom:0;border:6px solid transparent;border-top-color:var(--line-strong);border-bottom:0}
|
.rg-flow > li:not(:last-child)::before{content:"";position:absolute;left:17px;bottom:0;border:6px solid transparent;border-top-color:var(--line-strong);border-bottom:0}
|
||||||
.rg-n{border:1px solid var(--line-strong);border-radius:12px;padding:11px 14px;font-size:14.5px;line-height:1.45;background:var(--ink-faint);min-width:0}
|
.rg-n{border:1px solid var(--line-strong);border-radius:12px;padding:11px 14px;font-size:14.5px;line-height:1.45;background:rgba(255,255,255,.02);min-width:0}
|
||||||
.rg-n b{display:block;font-family:var(--disp);font-size:15px;color:var(--ink);margin-bottom:2px}
|
.rg-n b{display:block;font-family:var(--disp);font-size:15px;color:var(--ink);margin-bottom:2px}
|
||||||
.rg-n .k{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font-family:var(--mono);font-size:12px;font-weight:700;margin-right:6px;vertical-align:1px;background:var(--ink);color:var(--ground)}
|
.rg-n .k{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font-family:var(--mono);font-size:12px;font-weight:700;margin-right:6px;vertical-align:1px;background:var(--ink);color:#04120e}
|
||||||
.rg-n.start{border-color:var(--mint);background:var(--mint-soft)}
|
.rg-n.start{border-color:var(--mint);background:var(--mint-soft)}
|
||||||
.rg-n.ask{border-style:dashed;border-color:var(--muted-line)}
|
.rg-n.ask{border-style:dashed;border-color:rgba(238,247,243,.45)}
|
||||||
.rg-n.go{border-color:var(--mint-line-2);background:var(--mint-soft)}
|
.rg-n.go{border-color:rgba(67,232,195,.6);background:rgba(67,232,195,.08)}
|
||||||
.rg-n.fuel{border-color:var(--amber-line);background:var(--amber-soft)}
|
.rg-n.fuel{border-color:rgba(255,178,56,.7);background:rgba(255,178,56,.09)}
|
||||||
.rg-n.stop{border-color:var(--muted-line);background:var(--muted-soft);color:var(--muted)}
|
.rg-n.stop{border-color:rgba(139,166,156,.45);background:rgba(139,166,156,.07);color:var(--muted)}
|
||||||
.rg-n .to{display:block;margin-top:4px;font-family:var(--mono);font-size:12px;color:var(--muted)}
|
.rg-n .to{display:block;margin-top:4px;font-family:var(--mono);font-size:12px;color:var(--muted)}
|
||||||
.rg-br{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;padding-left:18px;border-left:2px solid var(--line-strong);margin-left:22px}
|
.rg-br{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;padding-left:18px;border-left:2px solid var(--line-strong);margin-left:22px}
|
||||||
.rg-b{display:grid;gap:6px;align-content:start;min-width:0}
|
.rg-b{display:grid;gap:6px;align-content:start;min-width:0}
|
||||||
@@ -64,21 +63,21 @@
|
|||||||
.rg-note{font-size:14.5px;color:var(--muted);margin:8px 0 0}
|
.rg-note{font-size:14.5px;color:var(--muted);margin:8px 0 0}
|
||||||
/* member route */
|
/* member route */
|
||||||
.rg-route{list-style:none;counter-reset:s;margin:12px 0 0;padding:0;display:grid;gap:14px}
|
.rg-route{list-style:none;counter-reset:s;margin:12px 0 0;padding:0;display:grid;gap:14px}
|
||||||
.rg-route li{counter-increment:s;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--ink-faint)}
|
.rg-route li{counter-increment:s;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:rgba(255,255,255,.02)}
|
||||||
.rg-route li::before{content:counter(s);font-family:var(--disp);font-weight:800;font-size:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--amber);color:var(--amber-ink)}
|
.rg-route li::before{content:counter(s);font-family:var(--disp);font-weight:800;font-size:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--amber);color:#1b1203}
|
||||||
.rg-route p{margin:0 0 8px;font-size:14.5px;color:var(--muted)}
|
.rg-route p{margin:0 0 8px;font-size:14.5px;color:var(--muted)}
|
||||||
.rg-where{display:flex;flex-wrap:wrap;gap:6px}
|
.rg-where{display:flex;flex-wrap:wrap;gap:6px}
|
||||||
.rg-chip{font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--mint-soft);color:var(--mint);border:1px solid var(--mint-line)}
|
.rg-chip{font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--mint-soft);color:var(--mint);border:1px solid rgba(67,232,195,.35)}
|
||||||
.rg-chip.ls{background:var(--cyan-soft);color:var(--cyan);border-color:var(--cyan-line)}
|
.rg-chip.ls{background:rgba(84,204,255,.08);color:var(--cyan);border-color:rgba(84,204,255,.35)}
|
||||||
.rg-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin:30px 0 0}
|
.rg-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin:30px 0 0}
|
||||||
.rg-box{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:var(--ink-faint);min-width:0}
|
.rg-box{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:rgba(255,255,255,.02);min-width:0}
|
||||||
.rg-box p{margin:0;font-size:14.5px;color:var(--muted)}
|
.rg-box p{margin:0;font-size:14.5px;color:var(--muted)}
|
||||||
.rg-coach{border-left:4px solid var(--amber);background:var(--amber-soft);padding:16px 18px;border-radius:0 14px 14px 0;margin:30px 0 0}
|
.rg-coach{border-left:4px solid var(--amber);background:rgba(255,178,56,.07);padding:16px 18px;border-radius:0 14px 14px 0;margin:30px 0 0}
|
||||||
.rg-coach ul{margin:8px 0 0;padding-left:20px;display:grid;gap:6px;font-size:14.5px}
|
.rg-coach ul{margin:8px 0 0;padding-left:20px;display:grid;gap:6px;font-size:14.5px}
|
||||||
.rg-faq{display:grid;gap:14px;margin:12px 0 0}
|
.rg-faq{display:grid;gap:14px;margin:12px 0 0}
|
||||||
.rg-faq dt{font-family:var(--disp);font-weight:700}
|
.rg-faq dt{font-family:var(--disp);font-weight:700}
|
||||||
.rg-faq dd{margin:4px 0 0;color:var(--muted);font-size:14.5px}
|
.rg-faq dd{margin:4px 0 0;color:var(--muted);font-size:14.5px}
|
||||||
.rg-rule{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:30px 0 22px;font-size:14.5px}
|
.rg-rule{border-left:4px solid var(--mint);background:rgba(67,232,195,.07);padding:14px 18px;border-radius:0 12px 12px 0;margin:30px 0 22px;font-size:14.5px}
|
||||||
@media (max-width:640px){.rg-gauge{grid-template-columns:repeat(2,minmax(0,1fr))}.rg .hero h1{font-size:30px}.rg-br{margin-left:10px;padding-left:12px}}
|
@media (max-width:640px){.rg-gauge{grid-template-columns:repeat(2,minmax(0,1fr))}.rg .hero h1{font-size:30px}.rg-br{margin-left:10px;padding-left:12px}}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -116,10 +115,10 @@
|
|||||||
<p class="rg-eye">The flow</p>
|
<p class="rg-eye">The flow</p>
|
||||||
<h2>What happens when you buy a package</h2>
|
<h2>What happens when you buy a package</h2>
|
||||||
<div class="rg-legend">
|
<div class="rg-legend">
|
||||||
<span><i style="background:var(--mint-soft-2);border-color:var(--mint)"></i>Streak moves forward</span>
|
<span><i style="background:rgba(67,232,195,.15);border-color:#43e8c3"></i>Streak moves forward</span>
|
||||||
<span><i style="background:var(--amber-soft);border-color:var(--amber)"></i>Bonus boost</span>
|
<span><i style="background:rgba(255,178,56,.18);border-color:#ffb238"></i>Bonus boost</span>
|
||||||
<span><i style="background:var(--muted-soft);border-color:var(--muted)"></i>No refuel bonus</span>
|
<span><i style="background:rgba(139,166,156,.12);border-color:#8ba69c"></i>No refuel bonus</span>
|
||||||
<span><i style="border-style:dashed;border-color:var(--ink)"></i>A question</span>
|
<span><i style="border-style:dashed;border-color:#eef7f3"></i>A question</span>
|
||||||
</div>
|
</div>
|
||||||
<ol class="rg-flow" aria-label="Refuel flow, step by step">
|
<ol class="rg-flow" aria-label="Refuel flow, step by step">
|
||||||
<li><div class="rg-n start"><b><span class="k">1</span>You buy a new ad package on either site</b>InstantAdPay or LinkSpin, paid from your own wallet.</div></li>
|
<li><div class="rg-n start"><b><span class="k">1</span>You buy a new ad package on either site</b>InstantAdPay or LinkSpin, paid from your own wallet.</div></li>
|
||||||
@@ -261,6 +260,6 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<title>Refuel · InstantAdPay verified visit</title>
|
<title>Refuel · InstantAdPay verified visit</title>
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
<link rel="stylesheet" href="/assets/site.css?v=20260929b">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
|
||||||
<style>
|
<style>
|
||||||
html,body{height:100%}
|
html,body{height:100%}
|
||||||
body{margin:0;display:flex;flex-direction:column;background:#0b1020;color:#e6edf3}
|
body{margin:0;display:flex;flex-direction:column;background:#0b1020;color:#e6edf3}
|
||||||
@@ -38,6 +37,6 @@ a.rf-open{color:#8FF0FF;font-size:12px}
|
|||||||
<button class="rf-btn" id="rfDone" type="button" disabled>Waiting…</button>
|
<button class="rf-btn" id="rfDone" type="button" disabled>Waiting…</button>
|
||||||
<button class="rf-btn ghost" id="rfBack" type="button" hidden>Back to the game</button>
|
<button class="rf-btn ghost" id="rfBack" type="button" hidden>Back to the game</button>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/refuel.js?v=20261102td"></script>
|
<script src="/assets/refuel.js?v=20261028td"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,16 +1,13 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Shorts | InstantAdPay</title>
|
<title>Shorts | InstantAdPay</title>
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
<style>
|
<style>
|
||||||
html,body{height:100%;margin:0;overflow:hidden;background:#000}
|
html,body{height:100%;margin:0;overflow:hidden;background:#000}
|
||||||
/* the Shorts stage is a black video player in both themes, so its text keeps the dark ink set whatever data-theme says (2026-11-01) */
|
|
||||||
.sh{--ink:#eef7f3;--muted:#8ba69c;--mint:#43e8c3;--mint-ink:#03211a;--mint-hi:#8ffbe3;--amber:#ffb238;--panel-solid:#0b1512;--line:rgba(84,150,128,.16);--line-strong:rgba(84,150,128,.36);--mint-line-2:rgba(67,232,195,.6);--mint-soft:rgba(67,232,195,.09)}
|
|
||||||
.sh{position:fixed;inset:0;display:flex;flex-direction:column;background:#000;color:var(--ink,#e8fff7)}
|
.sh{position:fixed;inset:0;display:flex;flex-direction:column;background:#000;color:var(--ink,#e8fff7)}
|
||||||
.sh-bar{flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:10px 16px;background:var(--panel-solid,#071a12);
|
.sh-bar{flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:10px 16px;background:var(--panel-solid,#071a12);
|
||||||
border-bottom:1px solid var(--line,rgba(67,232,195,.18));flex-wrap:wrap}
|
border-bottom:1px solid var(--line,rgba(67,232,195,.18));flex-wrap:wrap}
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Support | InstantAdPay</title>
|
<title>Support | InstantAdPay</title>
|
||||||
<meta name="description" content="Ask InstantAdPay for help: send a support ticket and get a reply by email. Members can also use Help in the dashboard.">
|
<meta name="description" content="Ask InstantAdPay for help: send a support ticket and get a reply by email. Members can also use Help in the dashboard.">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<section><div class="wrap" style="max-width:720px">
|
<section><div class="wrap" style="max-width:720px">
|
||||||
@@ -20,9 +19,9 @@
|
|||||||
<div id="supMain"><div class="card"><p class="muted small">Loading…</p></div></div>
|
<div id="supMain"><div class="card"><p class="muted small">Loading…</p></div></div>
|
||||||
<p class="small muted">We will never ask for your recovery phrase or private key, and nobody from InstantAdPay will message you first asking for money or wallet access.</p>
|
<p class="small muted">We will never ask for your recovery phrase or private key, and nobody from InstantAdPay will message you first asking for money or wallet access.</p>
|
||||||
</div></section>
|
</div></section>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/legal.js?v=20260908a"></script>
|
<script src="/assets/legal.js?v=20260908a"></script>
|
||||||
<script src="/assets/support.js?v=20261101th"></script>
|
<script src="/assets/support.js?v=20261016a"></script>
|
||||||
<script src="/assets/chat.js?v=20261016n"></script>
|
<script src="/assets/chat.js?v=20261016n"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Terms of Service | InstantAdPay</title>
|
<title>Terms of Service | InstantAdPay</title>
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="nav"></div>
|
<div id="nav"></div>
|
||||||
<section><div class="wrap" style="max-width:820px">
|
<section><div class="wrap" style="max-width:820px">
|
||||||
<div class="sectionhead" style="text-align:left"><h2>Terms of Service</h2><p class="muted small">Last updated: October 2026</p></div>
|
<div class="sectionhead" style="text-align:left"><h2>Terms of Service</h2><p class="muted small">Last updated: September 2026</p></div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<p class="muted small">Please read these Terms carefully. By creating an account or using InstantAdPay ("the Platform"), you agree to them. If you do not agree, do not use the Platform.</p>
|
<p class="muted small">Please read these Terms carefully. By creating an account or using InstantAdPay ("the Platform"), you agree to them. If you do not agree, do not use the Platform.</p>
|
||||||
<h3>1. What InstantAdPay is</h3>
|
<h3>1. What InstantAdPay is</h3>
|
||||||
@@ -30,19 +29,16 @@
|
|||||||
<p class="muted small">Ads you submit must be lawful and must not be deceptive, adult, hateful, malicious, or infringing. Ads are auto-approved for speed; we may remove or pause any ad or campaign at any time, and members can report ads for review. You are solely responsible for the ads you run and the sites they point to.</p>
|
<p class="muted small">Ads you submit must be lawful and must not be deceptive, adult, hateful, malicious, or infringing. Ads are auto-approved for speed; we may remove or pause any ad or campaign at any time, and members can report ads for review. You are solely responsible for the ads you run and the sites they point to.</p>
|
||||||
<h3>7. Acceptable use</h3>
|
<h3>7. Acceptable use</h3>
|
||||||
<p class="muted small">No fraud, bots, fake traffic, self-dealing to farm rewards, multiple or duplicate accounts, self-referral through another account, attempts to manipulate the contract, or abuse of other members. We may suspend or terminate accounts that break these rules.</p>
|
<p class="muted small">No fraud, bots, fake traffic, self-dealing to farm rewards, multiple or duplicate accounts, self-referral through another account, attempts to manipulate the contract, or abuse of other members. We may suspend or terminate accounts that break these rules.</p>
|
||||||
<h3>8. Prohibited content</h3>
|
<h3>8. No warranty</h3>
|
||||||
<div id="prohibited"></div>
|
|
||||||
<p class="muted small">The following may not appear anywhere on the Platform, in an ad, a campaign, a line banner, a wall offer, a bio or a social link: gambling, casinos, betting, lotteries and sweepstakes; adult or sexual content; drugs and prescription pharmaceuticals; weapons; hate or harassment; malware, phishing and counterfeit goods; misleading financial promises. Profile fields are not a place for links: a bio may not contain a URL or a domain, links belong in the social fields, and profile text, avatar and links are shown publicly only for members who have bought a package. Accounts created to place links in profile fields (link farming) are removed without notice, with their profile text. Content that matches these rules is refused when it is saved; what slips through is removed when found.</p>
|
|
||||||
<h3>9. No warranty</h3>
|
|
||||||
<p class="muted small">The Platform is provided "as is," without warranties of any kind. Blockchains, wallets, oracles, and third-party sites can fail or behave unexpectedly. We do not guarantee uptime, delivery volumes, or results.</p>
|
<p class="muted small">The Platform is provided "as is," without warranties of any kind. Blockchains, wallets, oracles, and third-party sites can fail or behave unexpectedly. We do not guarantee uptime, delivery volumes, or results.</p>
|
||||||
<h3>10. Limitation of liability</h3>
|
<h3>9. Limitation of liability</h3>
|
||||||
<p class="muted small">To the fullest extent permitted by law, InstantAdPay and its operators are not liable for indirect, incidental, or consequential damages, or for losses arising from crypto volatility, irreversible transactions, third-party sites, or your own decisions.</p>
|
<p class="muted small">To the fullest extent permitted by law, InstantAdPay and its operators are not liable for indirect, incidental, or consequential damages, or for losses arising from crypto volatility, irreversible transactions, third-party sites, or your own decisions.</p>
|
||||||
<h3>11. Changes and termination</h3>
|
<h3>10. Changes and termination</h3>
|
||||||
<p class="muted small">We may update these Terms and the Platform, and continued use means you accept the changes. We may discontinue features. The immutable contract's rules cannot be changed by anyone, including us.</p>
|
<p class="muted small">We may update these Terms and the Platform, and continued use means you accept the changes. We may discontinue features. The immutable contract's rules cannot be changed by anyone, including us.</p>
|
||||||
<p class="muted small" style="margin-top:18px">See also the <a href="/disclaimer">Disclaimer</a> and <a href="/privacy">Privacy Policy</a>. Questions: the <a href="/support">support page</a> or <a href="mailto:support@instantadpay.com">support@instantadpay.com</a>.</p>
|
<p class="muted small" style="margin-top:18px">See also the <a href="/disclaimer">Disclaimer</a> and <a href="/privacy">Privacy Policy</a>. Questions: the <a href="/support">support page</a> or <a href="mailto:support@instantadpay.com">support@instantadpay.com</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div></section>
|
</div></section>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/legal.js?v=20260908a"></script>
|
<script src="/assets/legal.js?v=20260908a"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Transaction | InstantAdPay</title>
|
<title>Transaction | InstantAdPay</title>
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="nav"></div>
|
<div id="nav"></div>
|
||||||
@@ -35,7 +34,7 @@
|
|||||||
<p><a href="/ledger">← Back to the live ledger</a> · <a href="/contract">Read the contract review</a></p>
|
<p><a href="/ledger">← Back to the live ledger</a> · <a href="/contract">Read the contract review</a></p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/tx.js?v=20260906m"></script>
|
<script src="/assets/tx.js?v=20260906m"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Viewing ad — InstantAdPay</title>
|
<title>Viewing ad — InstantAdPay</title>
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
<link rel="stylesheet" href="/assets/site.css?v=20260910h">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
|
||||||
<style>
|
<style>
|
||||||
html,body{height:100%;margin:0;overflow:hidden}
|
html,body{height:100%;margin:0;overflow:hidden}
|
||||||
.vw{display:flex;flex-direction:column;height:100vh;height:100dvh;background:var(--ground);color:var(--ink,#e8fff7)}
|
.vw{display:flex;flex-direction:column;height:100vh;height:100dvh;background:var(--bg,#04110c);color:var(--ink,#e8fff7)}
|
||||||
/* right padding keeps the check buttons clear of the dashboard overlay's ✕ close button */
|
/* right padding keeps the check buttons clear of the dashboard overlay's ✕ close button */
|
||||||
.vbar{flex:0 0 auto;display:flex;align-items:center;gap:14px;padding:10px 68px 10px 16px;
|
.vbar{flex:0 0 auto;display:flex;align-items:center;gap:14px;padding:10px 68px 10px 16px;
|
||||||
background:var(--panel-solid,#071a12);border-bottom:1px solid var(--line,rgba(67,232,195,.18));flex-wrap:wrap}
|
background:var(--panel-solid,#071a12);border-bottom:1px solid var(--line,rgba(67,232,195,.18));flex-wrap:wrap}
|
||||||
@@ -17,7 +16,7 @@
|
|||||||
.vbrand em{color:var(--mint,#43e8c3);font-style:normal}
|
.vbrand em{color:var(--mint,#43e8c3);font-style:normal}
|
||||||
.vtimer{font-family:var(--mono,monospace);font-weight:700;font-size:14px;border:1px solid var(--line-strong,rgba(67,232,195,.32));
|
.vtimer{font-family:var(--mono,monospace);font-weight:700;font-size:14px;border:1px solid var(--line-strong,rgba(67,232,195,.32));
|
||||||
border-radius:999px;padding:5px 14px;min-width:104px;text-align:center}
|
border-radius:999px;padding:5px 14px;min-width:104px;text-align:center}
|
||||||
.vtimer.paused{color:var(--amber,#ffb238);border-color:var(--amber-line)}
|
.vtimer.paused{color:var(--amber,#ffb238);border-color:rgba(255,178,56,.55)}
|
||||||
.vtimer.done{color:var(--mint,#43e8c3)}
|
.vtimer.done{color:var(--mint,#43e8c3)}
|
||||||
.vmsg{font-size:13px;color:var(--muted,#8ba69c);flex:1;min-width:140px}
|
.vmsg{font-size:13px;color:var(--muted,#8ba69c);flex:1;min-width:140px}
|
||||||
.vcheck{display:none;align-items:center;gap:8px;flex-wrap:wrap}
|
.vcheck{display:none;align-items:center;gap:8px;flex-wrap:wrap}
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Banner wall | InstantAdPay</title>
|
<title>Banner wall | InstantAdPay</title>
|
||||||
<!--OG-->
|
<!--OG-->
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260911w">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="nav"></div>
|
<div id="nav"></div>
|
||||||
@@ -48,7 +47,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/wall.js?v=20261030pp"></script>
|
<script src="/assets/wall.js?v=20260911v"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,32 +1,31 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Wallets and buying POL | InstantAdPay</title>
|
<title>Wallets and buying POL | InstantAdPay</title>
|
||||||
<meta name="description" content="Which wallets to use with InstantAdPay, how to set one up, and how to buy POL with a card through MoonPay. Member training.">
|
<meta name="description" content="Which wallets to use with InstantAdPay, how to set one up, and how to buy POL with a card through MoonPay. Member training.">
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
<meta name="theme-color" content="#043b2f">
|
<meta name="theme-color" content="#043b2f">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260910j">
|
||||||
<style>
|
<style>
|
||||||
.wl-rule{border-left:4px solid var(--gold-2);background:var(--gold-soft);padding:16px 20px;border-radius:0 12px 12px 0;margin:0 0 28px}
|
.wl-rule{border-left:4px solid #f2c94c;background:rgba(242,201,76,.08);padding:16px 20px;border-radius:0 12px 12px 0;margin:0 0 28px}
|
||||||
.wl-rule b{font-family:var(--disp);font-size:17px;display:block;margin-bottom:6px}
|
.wl-rule b{font-family:var(--disp);font-size:17px;display:block;margin-bottom:6px}
|
||||||
.wl-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 0 8px}
|
.wl-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 0 8px}
|
||||||
.wl-grid>div{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
|
.wl-grid>div{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
|
||||||
.wl-grid h3{margin:0 0 4px;font-size:18px}
|
.wl-grid h3{margin:0 0 4px;font-size:18px}
|
||||||
.wl-grid .tag{font-family:var(--mono);font-size:11px;color:var(--mint);border:1px solid var(--mint-line);border-radius:999px;padding:2px 9px;margin-left:8px;vertical-align:middle}
|
.wl-grid .tag{font-family:var(--mono);font-size:11px;color:var(--mint);border:1px solid rgba(67,232,195,.4);border-radius:999px;padding:2px 9px;margin-left:8px;vertical-align:middle}
|
||||||
.wl-grid .tag.warn{color:var(--gold-2);border-color:var(--gold-line)}
|
.wl-grid .tag.warn{color:#f2c94c;border-color:rgba(242,201,76,.5)}
|
||||||
.wl-grid p{margin:6px 0 0;font-size:14px;color:var(--muted)}
|
.wl-grid p{margin:6px 0 0;font-size:14px;color:var(--muted)}
|
||||||
.wl-grid .rec{border-color:var(--mint);box-shadow:0 0 40px rgba(67,232,195,.1)}
|
.wl-grid .rec{border-color:var(--mint);box-shadow:0 0 40px rgba(67,232,195,.1)}
|
||||||
.steps{counter-reset:s;margin:0;padding:0;list-style:none}
|
.steps{counter-reset:s;margin:0;padding:0;list-style:none}
|
||||||
.steps li{counter-increment:s;position:relative;padding:0 0 16px 46px;font-size:15px;line-height:1.5}
|
.steps li{counter-increment:s;position:relative;padding:0 0 16px 46px;font-size:15px;line-height:1.5}
|
||||||
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:var(--mint-soft-2);border:1px solid var(--mint-line);color:var(--mint);font-family:var(--disp);font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
|
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:rgba(67,232,195,.12);border:1px solid rgba(67,232,195,.45);color:var(--mint);font-family:var(--disp);font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
|
||||||
.steps li b{color:var(--ink)}
|
.steps li b{color:var(--ink)}
|
||||||
.wl-links{margin:10px 0 0;display:flex;gap:6px;flex-wrap:wrap}
|
.wl-links{margin:10px 0 0;display:flex;gap:6px;flex-wrap:wrap}
|
||||||
.wl-links .btn{margin-top:0}
|
.wl-links .btn{margin-top:0}
|
||||||
.note{background:var(--ground-soft);border:1px solid var(--line);border-radius:10px;padding:12px 16px;font-size:14px;color:var(--muted);margin:0 0 12px}
|
.note{background:rgba(4,8,7,.45);border:1px solid var(--line);border-radius:10px;padding:12px 16px;font-size:14px;color:var(--muted);margin:0 0 12px}
|
||||||
.note b{color:var(--ink)}
|
.note b{color:var(--ink)}
|
||||||
h2{margin:34px 0 10px;font-size:26px}
|
h2{margin:34px 0 10px;font-size:26px}
|
||||||
.faq details{margin:0 0 8px}
|
.faq details{margin:0 0 8px}
|
||||||
@@ -123,7 +122,7 @@
|
|||||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never share your recovery phrase.</div>
|
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never share your recovery phrase.</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/common.js?v=20261101th"></script><script src="/assets/welcome.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||||
<script src="/assets/wallets.js?v=20260911b"></script>
|
<script src="/assets/wallets.js?v=20260911b"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" data-theme-base="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Wired Wednesday: 25% bonus credits, wired in the second your pack settles | InstantAdPay</title>
|
<title>Wired Wednesday: 25% bonus credits, wired in the second your pack settles | InstantAdPay</title>
|
||||||
@@ -11,28 +11,27 @@
|
|||||||
<meta property="og:image" content="https://instantadpay.com/banners/iap-wired-wednesday-1200x630.jpg">
|
<meta property="og:image" content="https://instantadpay.com/banners/iap-wired-wednesday-1200x630.jpg">
|
||||||
<meta property="og:url" content="https://instantadpay.com/wednesday">
|
<meta property="og:url" content="https://instantadpay.com/wednesday">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||||
<link rel="icon" type="image/png" href="/logo-icon.png">
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
||||||
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
|
<link rel="stylesheet" href="/assets/site.css?v=20260912b">
|
||||||
<style>
|
<style>
|
||||||
.fr{max-width:860px}
|
.fr{max-width:860px}
|
||||||
.fr .hero{padding:44px 0 10px}
|
.fr .hero{padding:44px 0 10px}
|
||||||
.fr-banner{display:block;width:100%;height:auto;max-width:860px;border-radius:16px;border:1px solid var(--line);margin:18px 0 14px}
|
.fr-banner{display:block;width:100%;height:auto;max-width:860px;border-radius:16px;border:1px solid var(--line);margin:18px 0 14px}
|
||||||
.fr-state{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:14px 18px;border-radius:14px;border:1px solid var(--line);background:var(--mint-faint);margin:0 0 26px;font-size:15px}
|
.fr-state{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:14px 18px;border-radius:14px;border:1px solid var(--line);background:rgba(67,232,195,.06);margin:0 0 26px;font-size:15px}
|
||||||
.fr-state.live{border-color:var(--amber-line);background:var(--amber-soft)}
|
.fr-state.live{border-color:rgba(255,178,56,.55);background:rgba(255,178,56,.09)}
|
||||||
.fr-tag{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;padding:4px 9px;border-radius:999px;background:var(--mint);color:var(--mint-ink)}
|
.fr-tag{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;padding:4px 9px;border-radius:999px;background:var(--mint);color:#04120e}
|
||||||
.fr-state.live .fr-tag{background:var(--amber)}
|
.fr-state.live .fr-tag{background:#ffb238}
|
||||||
.fr-state b{font-family:var(--disp)}
|
.fr-state b{font-family:var(--disp)}
|
||||||
.fr-num{font-family:var(--mono);font-variant-numeric:tabular-nums}
|
.fr-num{font-family:var(--mono);font-variant-numeric:tabular-nums}
|
||||||
.fr-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:8px 0 26px}
|
.fr-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:8px 0 26px}
|
||||||
.fr-step{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:var(--ink-faint)}
|
.fr-step{border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:rgba(255,255,255,.02)}
|
||||||
.fr-step .n{font-family:var(--mono);font-size:11px;letter-spacing:.12em;color:var(--mint);text-transform:uppercase}
|
.fr-step .n{font-family:var(--mono);font-size:11px;letter-spacing:.12em;color:var(--mint);text-transform:uppercase}
|
||||||
.fr-step h3{font-family:var(--disp);font-size:17px;margin:6px 0 6px}
|
.fr-step h3{font-family:var(--disp);font-size:17px;margin:6px 0 6px}
|
||||||
.fr-step p{margin:0;font-size:14.5px;color:var(--muted)}
|
.fr-step p{margin:0;font-size:14.5px;color:var(--muted)}
|
||||||
.fr-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 30px}
|
.fr-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 30px}
|
||||||
.fr-cta .btn.big{font-size:17px;padding:14px 22px}
|
.fr-cta .btn.big{font-size:17px;padding:14px 22px}
|
||||||
.fr-rule{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:0 0 22px;font-size:14.5px}
|
.fr-rule{border-left:4px solid var(--mint);background:rgba(67,232,195,.07);padding:14px 18px;border-radius:0 12px 12px 0;margin:0 0 22px;font-size:14.5px}
|
||||||
.fr-share{border:1px dashed var(--line);border-radius:14px;padding:16px 18px;margin:0 0 30px;font-size:14.5px;color:var(--muted)}
|
.fr-share{border:1px dashed var(--line);border-radius:14px;padding:16px 18px;margin:0 0 30px;font-size:14.5px;color:var(--muted)}
|
||||||
.fr-share b{color:var(--ink)}
|
.fr-share b{color:var(--ink)}
|
||||||
</style>
|
</style>
|
||||||
@@ -65,6 +64,6 @@
|
|||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="/assets/wednesday.js?v=20260929c"></script>
|
<script src="/assets/wednesday.js?v=20260929c"></script>
|
||||||
<script src="/assets/common.js?v=20261101th"></script>
|
<script src="/assets/common.js?v=20261023ov"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,94 +0,0 @@
|
|||||||
// BixPay (bixpay.js, 2026-10-29): the partner-link validator, the sponsor-follows resolver (own / sponsor at level 3 / none ->
|
|
||||||
// company), the gate, the email + nudge lines and the click store. Fake accounts, throwaway data dir. Run: node qa/bixpay.test.cjs
|
|
||||||
'use strict';
|
|
||||||
const fs = require('fs');
|
|
||||||
const os = require('os');
|
|
||||||
const path = require('path');
|
|
||||||
const assert = require('assert');
|
|
||||||
|
|
||||||
const ROOT = path.join(__dirname, '..');
|
|
||||||
let fails = 0, n = 0;
|
|
||||||
async function t(name, fn) { n++; try { await fn(); console.log('ok', name); } catch (e) { fails++; console.log('FAIL', name, '::', e.message); } }
|
|
||||||
const bixpay = require(path.join(ROOT, 'bixpay.js'));
|
|
||||||
const walletnudge = require(path.join(ROOT, 'walletnudge.js'));
|
|
||||||
|
|
||||||
const PARTNER = 'https://bix.ibportal.io/auth/register?e=XqwU9T1aJ5N0UJ0yr9x0TGUiSQTsVCkTM01MIovVNnc&a=1';
|
|
||||||
const CUSTOMER = 'https://bix.ibportal.io/auth/register?e=boUGQ_dC9B472D9LGfzxPKvgfBw1iyqx-xffnx1kqPM&a=1&appId=3';
|
|
||||||
const L3 = 'https://bix.ibportal.io/auth/register?e=' + 'L3token_'.repeat(5) + '&a=1';
|
|
||||||
|
|
||||||
// a five-deep line: leaf -> s1 -> s2 -> s3 (has a link) -> s4 -> s5; plus a loop pair and an orphan
|
|
||||||
const A = {};
|
|
||||||
const mk = (email, sponsor, link, username) => { A[email] = { email, sponsorRef: sponsor || '', bixPartnerLink: link || null, username: username || null, code: email.split('@')[0] }; };
|
|
||||||
mk('leaf@x.test', 's1', null, 'leaf'); mk('s1@x.test', 's2', null, 's1'); mk('s2@x.test', 's3', null, 's2'); mk('s3@x.test', 's4', L3, 's3'); mk('s4@x.test', 's5', null, 's4'); mk('s5@x.test', '', null, 's5');
|
|
||||||
mk('own@x.test', 's1', PARTNER, 'own'); mk('orphan@x.test', '', null, 'orphan');
|
|
||||||
mk('loopa@x.test', 'loopb', null, 'loopa'); mk('loopb@x.test', 'loopa', null, 'loopb');
|
|
||||||
// twelve deep with the only link at level 11: must fall to the company (10-level walk)
|
|
||||||
let prev = ''; for (let i = 12; i >= 1; i--) { mk('d' + i + '@x.test', prev, i === 12 ? L3 : null, 'd' + i); prev = 'd' + i; }
|
|
||||||
mk('deep@x.test', 'd1', null, 'deep');
|
|
||||||
const accounts = { byEmail: async e => A[e] || null, sponsorOf: async e => { const a = A[e]; if (!a || !a.sponsorRef) return null; return Object.values(A).find(x => x.username === a.sponsorRef || x.code === a.sponsorRef) || null; } };
|
|
||||||
let site = { bixpayLive: '1', bixCompanyLink: '' };
|
|
||||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'bixpay-test-'));
|
|
||||||
bixpay.init({ dataDir: dir, accounts, siteConfig: () => site, refAccount: async tok => Object.values(A).find(x => x.username === tok || x.code === tok) || null });
|
|
||||||
|
|
||||||
(async () => {
|
|
||||||
await t('validator: the partner link passes and normalises', () => { const v = bixpay.validate(' ' + PARTNER + ' '); assert.ok(v.ok); assert.strictEqual(v.link, PARTNER); });
|
|
||||||
await t('validator: extra params are dropped, e= and a=1 kept', () => { const v = bixpay.validate(PARTNER + '&utm=x'); assert.ok(v.ok); assert.strictEqual(v.link, PARTNER); });
|
|
||||||
await t('validator: the appId=3 customer link is refused with the message', () => { const v = bixpay.validate(CUSTOMER); assert.ok(!v.ok); assert.strictEqual(v.error, bixpay.CUSTOMER_LINK_MSG); });
|
|
||||||
await t('validator: wrong host, wrong path, no e=, no a=1, too long, empty, http', () => {
|
|
||||||
assert.ok(bixpay.validate('https://bix.fi/r?code=ABCDEFGH').error);
|
|
||||||
assert.ok(bixpay.validate('https://bix.ibportal.io/auth/login?e=' + 'x'.repeat(40) + '&a=1').error);
|
|
||||||
assert.ok(bixpay.validate('https://bix.ibportal.io/auth/register?a=1').error);
|
|
||||||
assert.ok(bixpay.validate('https://bix.ibportal.io/auth/register?e=' + 'x'.repeat(40)).error);
|
|
||||||
assert.ok(bixpay.validate('https://bix.ibportal.io/auth/register?e=' + 'x'.repeat(40) + '&a=2').error);
|
|
||||||
assert.ok(bixpay.validate('https://bix.ibportal.io/auth/register?e=' + 'x'.repeat(300) + '&a=1').error);
|
|
||||||
assert.ok(bixpay.validate('').error); assert.ok(bixpay.validate(null).error);
|
|
||||||
assert.ok(bixpay.validate('http://bix.ibportal.io/auth/register?e=' + 'x'.repeat(40) + '&a=1').error);
|
|
||||||
assert.ok(bixpay.validate('javascript:alert(1)').error);
|
|
||||||
});
|
|
||||||
await t('resolver: own link wins', async () => { const r = await bixpay.resolve(A['own@x.test']); assert.strictEqual(r.whose, 'you'); assert.strictEqual(r.link, PARTNER); });
|
|
||||||
await t('resolver: no own link -> first sponsor up the chain with one (level 3)', async () => { const r = await bixpay.resolve(A['leaf@x.test']); assert.strictEqual(r.whose, 'sponsor'); assert.strictEqual(r.name, '@s3'); assert.strictEqual(r.email, 's3@x.test'); assert.ok(r.link.includes('L3token_')); });
|
|
||||||
await t('resolver: nobody up the chain -> company (default = Marty’s partner link)', async () => { const r = await bixpay.resolve(A['orphan@x.test']); assert.strictEqual(r.whose, 'network'); assert.strictEqual(r.link, bixpay.DEFAULT_COMPANY_LINK); assert.strictEqual(r.name, null); });
|
|
||||||
await t('resolver: null member -> company', async () => { const r = await bixpay.resolve(null); assert.strictEqual(r.whose, 'network'); });
|
|
||||||
await t('resolver: the walk stops at 10 levels (link at level 12 is not reached)', async () => { const r = await bixpay.resolve(A['deep@x.test']); assert.strictEqual(r.whose, 'network'); });
|
|
||||||
await t('resolver: a sponsor loop ends in the company link, no hang', async () => { const r = await bixpay.resolve(A['loopa@x.test']); assert.strictEqual(r.whose, 'network'); });
|
|
||||||
await t('resolver: site config bixCompanyLink overrides the default; a bad one falls back', async () => {
|
|
||||||
site.bixCompanyLink = L3; assert.strictEqual((await bixpay.resolve(null)).link, L3.replace(/&a=1$/, '&a=1'));
|
|
||||||
site.bixCompanyLink = 'https://evil.example/x'; assert.strictEqual((await bixpay.resolve(null)).link, bixpay.DEFAULT_COMPANY_LINK);
|
|
||||||
site.bixCompanyLink = '';
|
|
||||||
});
|
|
||||||
await t('resolveRef: a public page ?ref resolves like that member', async () => { const r = await bixpay.resolveRef('leaf'); assert.strictEqual(r.whose, 'sponsor'); const o = await bixpay.resolveRef('own'); assert.strictEqual(o.whose, 'you'); const u = await bixpay.resolveRef('nobody_zz'); assert.strictEqual(u.whose, 'network'); });
|
|
||||||
await t('usingLine: the three wordings', async () => {
|
|
||||||
assert.strictEqual(bixpay.usingLine(await bixpay.resolve(A['own@x.test'])), 'Using: your link.');
|
|
||||||
assert.strictEqual(bixpay.usingLine(await bixpay.resolve(A['leaf@x.test'])), "Using: @s3's link. Add yours in Profile.");
|
|
||||||
assert.strictEqual(bixpay.usingLine(await bixpay.resolve(null)), 'Using: the network link. Add yours in Profile.');
|
|
||||||
});
|
|
||||||
await t('gate: live/announcing follow site config; email and nudge lines are empty while off', () => {
|
|
||||||
assert.ok(bixpay.live()); assert.ok(bixpay.announcing());
|
|
||||||
site.bixpayLiveSince = new Date(Date.now() - 8 * 86400000).toISOString(); assert.ok(!bixpay.announcing()); site.bixpayLiveSince = '';
|
|
||||||
assert.ok(bixpay.emailLine('own').includes('/go/bixpay?s=email&m=own')); assert.ok(bixpay.nudgeLine('own').includes('s=nudge'));
|
|
||||||
assert.ok(!/—/.test(bixpay.emailLine('own')));
|
|
||||||
site.bixpayLive = '0'; assert.ok(!bixpay.live()); assert.strictEqual(bixpay.emailLine('own'), ''); assert.strictEqual(bixpay.nudgeLine('own'), ''); site.bixpayLive = '1';
|
|
||||||
});
|
|
||||||
await t('walletnudge copy carries the BixPay sentence only when given one', () => {
|
|
||||||
const c0 = walletnudge.copy([{ key: 'g', name: 'Gem Kingdom', unpaid: 1.5 }], 0, 'https://instantadpay.com/my#wallet', '');
|
|
||||||
assert.ok(!/BixPay/.test(c0.text) && !/BixPay/.test(c0.html));
|
|
||||||
const c1 = walletnudge.copy([{ key: 'g', name: 'Gem Kingdom', unpaid: 1.5 }], 0, 'https://instantadpay.com/my#wallet', bixpay.nudgeLine('own'));
|
|
||||||
assert.ok(/BixPay Visa card/.test(c1.text) && /go\/bixpay\?s=nudge/.test(c1.html));
|
|
||||||
assert.ok(c1.text.indexOf('Link your wallet:') < c1.text.indexOf('BixPay'), 'the wallet ask stays first');
|
|
||||||
});
|
|
||||||
await t('clicks: per surface, per member, per day; unknown surface -> other; bot-free store', () => {
|
|
||||||
bixpay.click('wallet', 'own@x.test'); bixpay.click('promo', 'own@x.test'); bixpay.click('promo', 'own@x.test'); bixpay.click('guide', null); bixpay.click('weird', 'leaf@x.test');
|
|
||||||
const m = bixpay.memberClicks('own@x.test'); assert.strictEqual(m.total, 3); assert.strictEqual(m.promo, 2); assert.strictEqual(m.wallet, 1);
|
|
||||||
const v = bixpay.adminView(30); assert.strictEqual(v.total, 5); assert.strictEqual(v.bySurface.promo, 2); assert.strictEqual(v.bySurface.other, 1); assert.strictEqual(v.members[0].email, 'own@x.test'); assert.strictEqual(v.daily.length, 1);
|
|
||||||
bixpay._reset(); assert.strictEqual(bixpay.memberClicks('own@x.test').total, 3, 'persisted to disk');
|
|
||||||
});
|
|
||||||
await t('copy rules: no em dashes in any BixPay copy shipped to members', () => {
|
|
||||||
const files = ['bixpay.js', 'public/assets/promo.js', 'public/assets/my.js', 'public/bixpay.html', 'public/assets/bixpay-guide.js', 'chatbot.js'];
|
|
||||||
for (const f of files) { const s = fs.readFileSync(path.join(ROOT, f), 'utf8'); const lines = s.split('\n').filter(l => /bix/i.test(l) && /—/.test(l)); assert.strictEqual(lines.length, 0, f + ' has an em dash on a BixPay line'); }
|
|
||||||
const pj = fs.readFileSync(path.join(ROOT, 'public/assets/promo.js'), 'utf8');
|
|
||||||
assert.ok(/no load fee/.test(pj) && !/in-app swap/i.test(pj.split('BIX_POSTS')[1].split('BIX_CDN')[0]), 'posts never promise the in-app swap');
|
|
||||||
});
|
|
||||||
fs.rmSync(dir, { recursive: true, force: true });
|
|
||||||
console.log('\nbixpay: ' + (n - fails) + '/' + n + ' passed');
|
|
||||||
process.exit(fails ? 1 : 0);
|
|
||||||
})();
|
|
||||||
@@ -1,231 +0,0 @@
|
|||||||
// Profile policy + link-farm scan (2026-10-30 incident: 106 free accounts used bios and socials as casino backlinks).
|
|
||||||
// Same file in both repos (InstantAdPay site/qa and LinkSpin site/qa); it works out which site it is in.
|
|
||||||
// node qa/profile-policy.test.cjs (also part of `bash qa/run.sh member`)
|
|
||||||
// Part A, no server: prohibited.js (URL bio refused, casino bio refused, clean bio accepted, Unicode terms, no false hit on
|
|
||||||
// "Essex"), spamscan.classify on a six-account fixture (3 farm patterns, a sponsored member with a link, a buyer with a
|
|
||||||
// link, an allowlisted farm), the quarantine rule, the 06:30 once-a-day claim, the Telegram text, and the byte-for-byte
|
|
||||||
// check of prohibited.js + spamscan.js against the sibling checkout when it is there.
|
|
||||||
// Part B, a LOCAL copy (throwaway DATA_DIR, JSON store, devCode sign-in, the other site pointed at a dead port):
|
|
||||||
// a fresh sponsorless account's first save with a link is quarantined (200 + notice) and never rendered; a clean bio saves;
|
|
||||||
// then a URL bio and a casino bio are refused; a free member's wall and JSON carry nothing from the profile and the fixed
|
|
||||||
// description; a buyer's JSON carries bio + socials and the wall still has the fixed description; a deleted or unknown name
|
|
||||||
// is a real 404 with X-Robots-Tag noindex; the line banner refuses a casino target; the admin scan lists the quarantined
|
|
||||||
// account, Allow removes it; the admin member card shows the flag. Exit code 1 on any failure.
|
|
||||||
'use strict';
|
|
||||||
const fs = require('fs');
|
|
||||||
const os = require('os');
|
|
||||||
const path = require('path');
|
|
||||||
const http = require('http');
|
|
||||||
const crypto = require('crypto');
|
|
||||||
const { spawn } = require('child_process');
|
|
||||||
|
|
||||||
const ROOT = path.join(__dirname, '..');
|
|
||||||
const isLS = fs.existsSync(path.join(ROOT, 'iapsync.js'));
|
|
||||||
const SITE = isLS ? 'LinkSpin' : 'InstantAdPay';
|
|
||||||
const SIBLING = isLS ? path.join(ROOT, '..', '..', 'onchain-ad-membership', 'site') : path.join(ROOT, '..', '..', 'linkspin', 'site');
|
|
||||||
delete process.env.DATABASE_URL;
|
|
||||||
let fails = 0, n = 0;
|
|
||||||
async function t(name, fn) { n++; try { await fn(); console.log('ok', name); } catch (e) { fails++; console.log('FAIL', name, '::', e.message); } }
|
|
||||||
const eq = (a, b, m) => { if (a !== b) throw new Error((m || '') + ' expected ' + JSON.stringify(b) + ' got ' + JSON.stringify(a)); };
|
|
||||||
const truthy = (v, m) => { if (!v) throw new Error(m || 'expected truthy'); };
|
|
||||||
|
|
||||||
const P = require(path.join(ROOT, 'prohibited.js'));
|
|
||||||
const spamscan = require(path.join(ROOT, 'spamscan.js'));
|
|
||||||
|
|
||||||
(async () => {
|
|
||||||
// ---------------- Part A ----------------
|
|
||||||
await t('bio with a URL is refused with the bio-link message', () => {
|
|
||||||
for (const b of ['Visit https://casino-vip.com now', 'see www.example.com', 'my site example.com/offers', 'best deals at nice-shop.xyz', 'mail bob@gmail.com']) {
|
|
||||||
const r = P.checkBio(b, SITE); eq(r.error, 'Links go in the social fields, not the bio.', b);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
await t('casino bio is refused with the Terms message', () => {
|
|
||||||
const r = P.checkBio('The best casino bonuses and slots in town', SITE);
|
|
||||||
eq(r.error, 'That content is not allowed on ' + SITE + ' profiles (see Terms).'); eq(r.reason, 'term:casino');
|
|
||||||
eq(P.checkBio('NỔ HŨ ĐỔI THƯỞNG uy tín', SITE).reason, 'term:nổ hũ', 'Vietnamese, upper case');
|
|
||||||
eq(P.checkBio('apostas online', SITE).reason, 'term:apostas');
|
|
||||||
eq(P.checkBio('we sell backlinks', SITE).reason, 'term:backlinks');
|
|
||||||
eq(P.checkBio('casino', SITE).reason, 'term:casino', 'zero-width joiner stripped');
|
|
||||||
});
|
|
||||||
await t('clean bio is accepted; Essex, Sussex and sloppy punctuation are not links or terms', () => {
|
|
||||||
for (const b of ['Building a team on Polygon, paid the moment a package clears.', 'Essex marketer, Middlesex born, Sussex raised', 'I love ads.One day I will win', 'Price $9.99 v2.0 Oct.30 no.1', 'e.g. this, i.e. that', ''])
|
|
||||||
eq(P.checkBio(b, SITE).ok, true, b);
|
|
||||||
});
|
|
||||||
await t('campaign fields and social URLs: prohibited terms only, with the field named', () => {
|
|
||||||
const r = P.checkFields({ name: 'Spring push', title: 'Free slots tonight', targetUrl: 'https://example.com' }, SITE);
|
|
||||||
eq(r.field, 'title'); eq(r.error, 'That content is not allowed on ' + SITE + ' (see Terms, Prohibited content).');
|
|
||||||
eq(P.checkFields({ website: 'https://my-casino.bet/' }, SITE, { profile: true }).error, 'That content is not allowed on ' + SITE + ' profiles (see Terms).');
|
|
||||||
eq(P.checkFields({ name: 'Spring push', targetUrl: 'https://example.com/landing' }, SITE).ok, true);
|
|
||||||
});
|
|
||||||
await t('cleanProfile drops a linked or prohibited bio and a prohibited social, keeps the rest', () => {
|
|
||||||
const c = P.cleanProfile({ avatarUrl: 'https://img.example.com/a.png', bio: 'see casino.com', socials: { website: 'https://good.example.com/', twitter: 'https://x.com/slots_king' } }, SITE);
|
|
||||||
eq(c.bio, null); eq(c.avatarUrl, 'https://img.example.com/a.png'); eq(c.socials.website, 'https://good.example.com/'); eq(c.socials.twitter, undefined);
|
|
||||||
truthy(c.dropped.includes('bio:url') && c.dropped.some(d => d.startsWith('socials.twitter:term')), c.dropped.join(','));
|
|
||||||
});
|
|
||||||
|
|
||||||
// the fixture: who the detector must and must not flag
|
|
||||||
const DAY = 86400000, now = Date.now();
|
|
||||||
const F = [
|
|
||||||
{ email: 'farm1@x.test', username: 'farm1', memberId: 0, address: null, sponsorRef: 'someone', created: now - 3 * DAY, lastSeen: now - 3 * DAY + 60 * 60000, bio: 'Best casino bonuses', socials: JSON.stringify({ website: 'https://casino-x.com/' }) },
|
|
||||||
{ email: 'farm2@x.test', username: 'farm2', memberId: 0, address: null, sponsorRef: 'someone', created: now - 2 * DAY, lastSeen: now - 2 * DAY + 4 * 60000, bio: 'Local plumber in Austin', socials: JSON.stringify({ website: 'https://austin-plumber.example/' }) },
|
|
||||||
{ email: 'farm3@x.test', username: 'farm3', memberId: 0, address: null, sponsorRef: '', created: now - 1 * DAY, lastSeen: now - 1 * DAY + 3 * 60 * 60000, bio: 'Read my blog at huvip-blog.com', socials: null },
|
|
||||||
{ email: 'real@x.test', username: 'real', memberId: 0, address: null, sponsorRef: 'someone', created: now - 10 * DAY, lastSeen: now - 60000, bio: 'Team builder, here to learn', socials: JSON.stringify({ website: 'https://real-member.example/' }) },
|
|
||||||
{ email: 'buyer@x.test', username: 'buyer', memberId: 44, address: null, sponsorRef: '', created: now - 5 * DAY, lastSeen: now - 5 * DAY + 60000, bio: 'see my-site.com', socials: JSON.stringify({ website: 'https://my-site.com/' }) },
|
|
||||||
{ email: 'cryptogoat76@gmail.com', username: 'goat', memberId: 0, address: null, sponsorRef: '', created: now - 1 * DAY, lastSeen: now - 1 * DAY + 60000, bio: 'poker nights', socials: JSON.stringify({ website: 'https://poker.example/' }) },
|
|
||||||
];
|
|
||||||
await t('classify: three farm patterns flagged, sponsored member and buyer not, allowlisted skipped', () => {
|
|
||||||
const allow = new Set(spamscan.DEFAULT_ALLOW);
|
|
||||||
const v = Object.fromEntries(F.map(a => [a.username, spamscan.classify(a, allow, now)]));
|
|
||||||
truthy(v.farm1.candidate && v.farm1.reasons[0] === 'prohibited:casino', 'farm1 ' + v.farm1.reasons);
|
|
||||||
truthy(v.farm2.candidate && v.farm2.reasons.includes('quick'), 'farm2 ' + v.farm2.reasons);
|
|
||||||
truthy(v.farm3.candidate && v.farm3.reasons.includes('no-sponsor') && v.farm3.links[0] === 'huvip-blog.com', 'farm3 ' + v.farm3.reasons + ' ' + v.farm3.links);
|
|
||||||
eq(v.real.candidate, false, 'real member with a link'); eq(v.real.reasons.length, 0);
|
|
||||||
eq(v.buyer.candidate, false, 'buyer with a link');
|
|
||||||
eq(v.goat.candidate, false, 'allowlisted'); eq(v.goat.allowlisted, true);
|
|
||||||
eq(v.farm1.links[0], 'https://casino-x.com/');
|
|
||||||
});
|
|
||||||
await t('quarantine rule: brand-new, sponsorless, walletless, first save with a link', () => {
|
|
||||||
const fresh = { memberId: 0, address: null, sponsorRef: '', created: now - 3600000, bio: null, socials: null };
|
|
||||||
eq(spamscan.shouldQuarantine(fresh, 'see my-blog.com', null, now), true, 'bio url');
|
|
||||||
eq(spamscan.shouldQuarantine(fresh, 'hello', { website: 'https://my-blog.com/' }, now), true, 'website social');
|
|
||||||
eq(spamscan.shouldQuarantine(fresh, 'hello', { twitter: 'https://x.com/me' }, now), true, 'X social');
|
|
||||||
eq(spamscan.shouldQuarantine(fresh, 'hello', { telegram: 'https://t.me/me' }, now), false, 'telegram is not a farm field');
|
|
||||||
eq(spamscan.shouldQuarantine(fresh, 'hello world', null, now), false, 'no link');
|
|
||||||
eq(spamscan.shouldQuarantine(Object.assign({}, fresh, { sponsorRef: 'marty' }), 'see my-blog.com', null, now), false, 'has a sponsor');
|
|
||||||
eq(spamscan.shouldQuarantine(Object.assign({}, fresh, { created: now - 25 * 3600000 }), 'see my-blog.com', null, now), false, 'older than 24 h');
|
|
||||||
eq(spamscan.shouldQuarantine(Object.assign({}, fresh, { bio: 'old bio' }), 'see my-blog.com', null, now), false, 'not the first save');
|
|
||||||
eq(spamscan.shouldQuarantine(Object.assign({}, fresh, { address: '0xabc' }), 'see my-blog.com', null, now), false, 'has a wallet');
|
|
||||||
eq(spamscan.shouldQuarantine(Object.assign({}, fresh, { memberId: 3 }), 'see my-blog.com', null, now), false, 'bought');
|
|
||||||
});
|
|
||||||
function bench(o) {
|
|
||||||
o = o || {}; const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'spamscan-'));
|
|
||||||
const sent = []; const site = { spamScanAllow: spamscan.DEFAULT_ALLOW.join(', ') }; const claims = o.claims || new Set();
|
|
||||||
spamscan.init({ dataDir: dir, site: SITE, siteUrl: 'https://' + SITE.toLowerCase() + '.test', otherSite: isLS ? 'InstantAdPay' : 'LinkSpin',
|
|
||||||
accounts: { listAll: async () => o.accounts || F }, siteConfig: () => site, saveSite: p => Object.assign(site, p), notify: async text => { sent.push(text); },
|
|
||||||
marks: { claim: async k => { if (o.claimFalse) return false; if (claims.has(k)) return false; claims.add(k); return true; } }, alsoOn: async e => e === 'farm1@x.test' ? true : false });
|
|
||||||
return { dir, sent, site, claims };
|
|
||||||
}
|
|
||||||
const at = (h, m) => { // a timestamp on today's Central date at h:m Central
|
|
||||||
const d = new Date(); const ct = new Date(d.toLocaleString('en-US', { timeZone: 'America/Chicago' })); const diff = d.getTime() - ct.getTime();
|
|
||||||
ct.setHours(h, m, 0, 0); return ct.getTime() + diff;
|
|
||||||
};
|
|
||||||
await t('tick: nothing before 06:30, one run from 06:30 on, never twice in a day, result file written, one Telegram with the site name', async () => {
|
|
||||||
const b = bench();
|
|
||||||
let r = await spamscan.tick(at(6, 0)); eq(r.skipped, true, 'before 06:30'); eq(b.sent.length, 0);
|
|
||||||
r = await spamscan.tick(at(6, 31)); truthy(r.candidates, 'ran'); eq(r.candidates.length, 3, 'three candidates'); eq(r.skipped, 1, 'one allowlisted');
|
|
||||||
eq(b.sent.length, 1, 'one telegram'); truthy(b.sent[0].startsWith(SITE + ' link-farm scan (') && /: 3 new, 0 still watched, 0 left the list$/.test(b.sent[0].split('\n')[0]), b.sent[0].split('\n')[0]);
|
|
||||||
truthy(b.sent[0].includes('Review in Admin > Members > Link-farm list'), 'review line'); truthy(b.sent[0].includes('@farm1 | joined ') && b.sent[0].includes('| https://casino-x.com/ | also on ' + (isLS ? 'InstantAdPay' : 'LinkSpin')), b.sent[0]);
|
|
||||||
r = await spamscan.tick(at(9, 0)); eq(r.skipped, true, 'second tick same day'); eq(b.sent.length, 1, 'still one telegram');
|
|
||||||
const file = JSON.parse(fs.readFileSync(path.join(b.dir, 'wall-spam-scan.json'), 'utf8'));
|
|
||||||
eq(file.candidates.length, 3); eq(file.candidates.find(c => c.email === 'farm1@x.test').alsoOn, true); eq(file.scanned, 6);
|
|
||||||
truthy(b.claims.has('spamscan:' + spamscan.dayOf(at(6, 31))), 'claim key is the Central day');
|
|
||||||
});
|
|
||||||
await t('tick: a second app copy that loses the claim does not run or notify', async () => {
|
|
||||||
const b = bench({ claimFalse: true });
|
|
||||||
const r = await spamscan.tick(at(7, 0)); eq(r.skipped, true); eq(r.claimedElsewhere, true); eq(b.sent.length, 0);
|
|
||||||
});
|
|
||||||
await t('run: no candidates means no Telegram; Allow removes a candidate on the next run', async () => {
|
|
||||||
const b = bench({ accounts: F.filter(a => a.username === 'real' || a.username === 'buyer') });
|
|
||||||
const r = await spamscan.run(); eq(r.candidates.length, 0); eq(b.sent.length, 0);
|
|
||||||
const b2 = bench(); await spamscan.run(); eq(spamscan.view().last.candidates.length, 3);
|
|
||||||
spamscan.setAllow('farm2@x.test', true); truthy(spamscan.allowlist().includes('farm2@x.test')); truthy(b2.site.spamScanAllow.includes('farm2@x.test'), 'saved to the site setting');
|
|
||||||
await spamscan.run({ quiet: true }); eq(spamscan.view().last.candidates.length, 2); eq(spamscan.view().last.skipped, 2);
|
|
||||||
spamscan.setAllow('farm2@x.test', false); eq(spamscan.allowlist().includes('farm2@x.test'), false);
|
|
||||||
});
|
|
||||||
await t('shared modules are byte-for-byte copies of the sibling checkout (prohibited.js, spamscan.js)', () => {
|
|
||||||
if (!fs.existsSync(SIBLING)) { console.log(' (sibling checkout not found at ' + SIBLING + ', skipped)'); return; }
|
|
||||||
for (const f of ['prohibited.js', 'spamscan.js', path.join('qa', 'profile-policy.test.cjs')]) {
|
|
||||||
const h = p => crypto.createHash('sha1').update(fs.readFileSync(p, 'utf8').replace(/\r\n/g, '\n')).digest('hex');
|
|
||||||
const a = path.join(ROOT, f), b = path.join(SIBLING, f);
|
|
||||||
if (!fs.existsSync(b)) throw new Error(f + ' missing in sibling');
|
|
||||||
eq(h(a), h(b), f + ' differs from the sibling copy');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// ---------------- Part B ----------------
|
|
||||||
const PORT = Number(process.env.PP_PORT || (isLS ? 8807 : 8806)); const ADMIN = 'localtest';
|
|
||||||
const DATA = fs.mkdtempSync(path.join(os.tmpdir(), 'pp-' + SITE.toLowerCase() + '-')); fs.mkdirSync(path.join(DATA, 'uploads'), { recursive: true });
|
|
||||||
// a paying member, seeded straight into the JSON store (memberId > 0): profile must render for them
|
|
||||||
const seed = { v: 2, byEmail: {}, byAddress: {}, byCode: {}, positions: {}, joins: 0 };
|
|
||||||
seed.byEmail['buyer@example.com'] = { email: 'buyer@example.com', code: 'buyr01', username: 'buyerwall', memberId: 7, sponsorRef: '', created: now - 30 * DAY, lastSeen: now - DAY,
|
|
||||||
bio: 'Clean bio from a paying member', socials: JSON.stringify({ website: 'https://example.com/', twitter: 'https://x.com/buyer' }), avatarUrl: 'https://example.com/a.png' };
|
|
||||||
seed.byCode.buyr01 = 'buyer@example.com';
|
|
||||||
fs.writeFileSync(path.join(DATA, 'accounts.json'), JSON.stringify(seed));
|
|
||||||
const env = Object.assign({}, process.env, { PORT: String(PORT), DATA_DIR: DATA, NODE_ENV: 'development', ADMIN_EMAIL: 'qa-admin@example.com', ADMIN_PASSWORD: ADMIN,
|
|
||||||
LS_URL: 'http://127.0.0.1:1', IAP_URL: 'http://127.0.0.1:1', LS_SYNC_SECRET: '' });
|
|
||||||
delete env.DATABASE_URL;
|
|
||||||
const srv = spawn(process.execPath, ['server.js'], { cwd: ROOT, env, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
||||||
let log = ''; srv.stdout.on('data', d => { log += d; }); srv.stderr.on('data', d => { log += d; });
|
|
||||||
const req = (method, p, o) => new Promise((resolve, reject) => { o = o || {};
|
|
||||||
const headers = Object.assign({ 'User-Agent': 'Mozilla/5.0 QA', 'X-Forwarded-For': o.ip || '10.9.0.1' }, o.headers || {}); if (o.cookie) headers.Cookie = o.cookie;
|
|
||||||
let body = o.body; if (body) { body = Buffer.from(JSON.stringify(body)); headers['Content-Type'] = 'application/json'; headers['Content-Length'] = body.length; }
|
|
||||||
const r = http.request({ host: '127.0.0.1', port: PORT, path: p, method, headers }, res => { const ch = []; res.on('data', c => ch.push(c)); res.on('end', () => { const text = Buffer.concat(ch).toString(); let json = null; try { json = JSON.parse(text); } catch (e) {} resolve({ status: res.statusCode, headers: res.headers, text, json }); }); });
|
|
||||||
r.on('error', reject); if (body) r.write(body); r.end(); });
|
|
||||||
const adminH = { Authorization: 'Bearer ' + ADMIN };
|
|
||||||
let ipn = 1;
|
|
||||||
async function signIn(email) {
|
|
||||||
const ip = '10.9.' + (ipn++) + '.7';
|
|
||||||
const s = await req('POST', '/api/auth/email/start', { ip, body: { email, fts: Date.now() - 8000, fage: 8000, hp_field_x9: '' } });
|
|
||||||
if (!s.json || !s.json.devCode) throw new Error('no devCode for ' + email + ': ' + s.text.slice(0, 200));
|
|
||||||
const v = await req('POST', '/api/auth/email/verify', { ip, body: { email, code: s.json.devCode } });
|
|
||||||
return [].concat(v.headers['set-cookie'] || []).map(x => x.split(';')[0]).join('; ');
|
|
||||||
}
|
|
||||||
const meta = (html, name) => { const m = new RegExp('<meta (?:name|property)="' + name + '" content="([^"]*)"').exec(html); return m ? m[1] : null; };
|
|
||||||
try {
|
|
||||||
let up = false; for (let i = 0; i < 60 && !up; i++) { try { up = (await req('GET', '/api/config')).status === 200; } catch (e) { await new Promise(r => setTimeout(r, 500)); } }
|
|
||||||
if (!up) throw new Error('local server did not come up:\n' + log.slice(-1500));
|
|
||||||
await req('PATCH', '/api/admin/site', { headers: adminH, body: { fraudMaxSignupsPerIpDay: 20 } });
|
|
||||||
const fixed = nm => nm + '’s ad wall on ' + SITE + ': the network’s member ads, paid out on Polygon the moment a package clears.';
|
|
||||||
|
|
||||||
await t('local: unknown or deleted wall name is a real 404 with X-Robots-Tag noindex', async () => {
|
|
||||||
const r = await req('GET', '/wall/huvipblog'); eq(r.status, 404); truthy(/noindex/.test(String(r.headers['x-robots-tag'])), 'x-robots-tag ' + r.headers['x-robots-tag']);
|
|
||||||
truthy(r.text.includes('No wall under that name'), 'body'); eq((await req('GET', '/api/wall/huvipblog')).status, 404);
|
|
||||||
});
|
|
||||||
await t('local: fresh sponsorless account, first save with a link: quarantined, saved, notice, nothing public', async () => {
|
|
||||||
const ck = await signIn('fresh@example.com');
|
|
||||||
eq((await req('POST', '/api/my/profile', { cookie: ck, body: { username: 'freshlink' } })).status, 200);
|
|
||||||
const r = await req('POST', '/api/my/profile-details', { cookie: ck, body: { bio: 'Read my blog at huvip-blog.com', socials: { website: 'https://huvip-blog.com/' } } });
|
|
||||||
eq(r.status, 200, r.text); eq(r.json.quarantined, true); eq(r.json.notice, 'Your profile links will appear after your first ad package.'); eq(r.json.account.profileQuarantined, true);
|
|
||||||
const w = await req('GET', '/api/wall/freshlink'); eq(w.status, 200); eq(w.json.bought, false); eq(w.json.bio, null); eq(w.json.socials, null); eq(w.json.avatarUrl, null);
|
|
||||||
const h = await req('GET', '/wall/freshlink'); eq(h.status, 200); eq(meta(h.text, 'description'), fixed('@freshlink')); eq(meta(h.text, 'og:description'), fixed('@freshlink'));
|
|
||||||
truthy(!h.text.includes('huvip-blog'), 'bio text must not be in the page'); truthy(!/noindex/i.test(h.text) && !r.headers['x-robots-tag'], 'wall stays indexable');
|
|
||||||
const m = await req('GET', '/api/admin/member?email=fresh@example.com', { headers: adminH }); eq(m.json.account.profileQuarantined, true, 'admin card flag');
|
|
||||||
});
|
|
||||||
await t('local: clean bio saves; then a URL bio and a casino bio are refused; a casino social is refused', async () => {
|
|
||||||
const ck = await signIn('clean@example.com');
|
|
||||||
await req('POST', '/api/my/profile', { cookie: ck, body: { username: 'cleanmember' } });
|
|
||||||
let r = await req('POST', '/api/my/profile-details', { cookie: ck, body: { bio: 'Team builder on Polygon, paid when a package clears.' } }); eq(r.status, 200, r.text); eq(r.json.quarantined, undefined);
|
|
||||||
r = await req('POST', '/api/my/profile-details', { cookie: ck, body: { bio: 'Visit https://my-shop.example.com for deals' } }); eq(r.status, 400); eq(r.json.error, 'Links go in the social fields, not the bio.');
|
|
||||||
r = await req('POST', '/api/my/profile-details', { cookie: ck, body: { bio: 'Best casino bonuses and slots' } }); eq(r.status, 400); eq(r.json.error, 'That content is not allowed on ' + SITE + ' profiles (see Terms).');
|
|
||||||
r = await req('POST', '/api/my/profile-details', { cookie: ck, body: { socials: { website: 'https://top-casino.bet/' } } }); eq(r.status, 400); eq(r.json.error, 'That content is not allowed on ' + SITE + ' profiles (see Terms).');
|
|
||||||
const w = await req('GET', '/api/wall/cleanmember'); eq(w.json.bought, false); eq(w.json.bio, null, 'free member: no bio on the public JSON');
|
|
||||||
const h = await req('GET', '/wall/cleanmember'); eq(h.status, 200); eq(meta(h.text, 'description'), fixed('@cleanmember')); truthy(!h.text.includes('Team builder on Polygon'), 'free member: no bio in the page');
|
|
||||||
r = await req('POST', '/api/my/linebanner', { cookie: ck, body: { targetUrl: 'https://casino-royale.example/' } }); eq(r.status, 400); truthy(/not allowed/.test(r.json.error), r.json.error);
|
|
||||||
});
|
|
||||||
await t('local: a paying member gets bio, socials and avatar in the JSON; the wall keeps the fixed description and title carries the handle', async () => {
|
|
||||||
const w = await req('GET', '/api/wall/buyerwall'); eq(w.status, 200, w.text); eq(w.json.bought, true); eq(w.json.bio, 'Clean bio from a paying member'); eq(w.json.socials.website, 'https://example.com/'); eq(w.json.avatarUrl, 'https://example.com/a.png');
|
|
||||||
const h = await req('GET', '/wall/buyerwall'); eq(h.status, 200); eq(meta(h.text, 'description'), fixed('@buyerwall')); eq(meta(h.text, 'og:image'), 'https://example.com/a.png');
|
|
||||||
truthy(/<title>@buyerwall’s ad wall \| /.test(h.text), 'title'); truthy(!h.text.includes('Clean bio from a paying member'), 'bio never in the meta');
|
|
||||||
const js = fs.readFileSync(path.join(ROOT, 'public', 'assets', 'wall.js'), 'utf8');
|
|
||||||
truthy(js.includes('rel="sponsored ugc noopener"') && !js.includes('rel="noopener nofollow me"'), 'outbound profile links are sponsored ugc');
|
|
||||||
truthy(/w\.bought && w\.socials/.test(js) && /\(w\.bought && w\.bio\)/.test(js), 'wall.js renders profile only when bought');
|
|
||||||
truthy(fs.readFileSync(path.join(ROOT, 'public', 'wall.html'), 'utf8').includes('wall.js?v=20261030pp'), 'wall.js version bumped');
|
|
||||||
});
|
|
||||||
await t('local: admin scan lists the quarantined account, not the buyer or the clean member; Allow removes it', async () => {
|
|
||||||
let r = await req('POST', '/api/admin/spamscan/run', { headers: adminH, body: {} }); eq(r.status, 200, r.text);
|
|
||||||
const emails = r.json.last.candidates.map(c => c.email); truthy(emails.includes('fresh@example.com'), emails.join(',')); truthy(!emails.includes('buyer@example.com') && !emails.includes('clean@example.com'), emails.join(','));
|
|
||||||
const c = r.json.last.candidates.find(x => x.email === 'fresh@example.com'); truthy(c.reasons.includes('quarantined') && c.reasons.includes('no-sponsor'), c.reasons.join(',')); eq(c.firstLink, 'https://huvip-blog.com/'); truthy('alsoOn' in c, 'also-on column present');
|
|
||||||
truthy(fs.existsSync(path.join(DATA, 'wall-spam-scan.json')), 'result file');
|
|
||||||
r = await req('POST', '/api/admin/spamscan/allow', { headers: adminH, body: { email: 'fresh@example.com' } }); truthy(r.json.allow.includes('fresh@example.com'));
|
|
||||||
r = await req('POST', '/api/admin/spamscan/run', { headers: adminH, body: {} }); truthy(!r.json.last.candidates.some(x => x.email === 'fresh@example.com'), 'allowed account gone');
|
|
||||||
r = await req('POST', '/api/admin/spamscan/allow', { headers: adminH, body: { email: 'fresh@example.com', remove: true } }); truthy(!r.json.allow.includes('fresh@example.com'));
|
|
||||||
r = await req('DELETE', '/api/admin/member?email=fresh@example.com', { headers: adminH }); eq(r.status, 200, r.text);
|
|
||||||
eq((await req('GET', '/wall/freshlink')).status, 404, 'deleted wall is a 404');
|
|
||||||
eq((await req('DELETE', '/api/admin/member?email=buyer@example.com', { headers: adminH })).status, 400, 'on-chain member refused');
|
|
||||||
});
|
|
||||||
} catch (e) { fails++; console.log('FAIL local copy ::', e.message); }
|
|
||||||
finally { try { srv.kill(); } catch (e) {} await new Promise(r => setTimeout(r, 300)); try { fs.rmSync(DATA, { recursive: true, force: true }); } catch (e) {} }
|
|
||||||
if (fails && /error|Error/.test(log)) console.log('--- server log tail ---\n' + log.slice(-2500));
|
|
||||||
console.log(fails ? fails + ' of ' + n + ' checks FAILED' : 'profile policy + link-farm scan: all ' + n + ' checks passed');
|
|
||||||
process.exit(fails ? 1 : 0);
|
|
||||||
})();
|
|
||||||
@@ -9,7 +9,6 @@
|
|||||||
# bash qa/run.sh tankhold # holding-tank activation hold, 24-hour safety net (mocked clock) and LinkSpin alignment: unit + local copy (also runs in member)
|
# bash qa/run.sh tankhold # holding-tank activation hold, 24-hour safety net (mocked clock) and LinkSpin alignment: unit + local copy (also runs in member)
|
||||||
# bash qa/run.sh sponsorfollow # sponsor follow rule + network tank unit tests and the two-server e2e (local IAP + local LinkSpin, throwaway data)
|
# bash qa/run.sh sponsorfollow # sponsor follow rule + network tank unit tests and the two-server e2e (local IAP + local LinkSpin, throwaway data)
|
||||||
# bash qa/run.sh door # Spooky Doors door + costume shop flows on their own local copy (qa/door.mjs boots it)
|
# bash qa/run.sh door # Spooky Doors door + costume shop flows on their own local copy (qa/door.mjs boots it)
|
||||||
# bash qa/run.sh warpwares # Warp & Wares: Games card gating, the hand-off, a sponsor dock on the refuel rail (visit kind dock + its cap), chatbot gating (qa/warpwares.mjs boots a local copy + a mock game)
|
|
||||||
# bash qa/run.sh gamepass # Game Pass buy flow + account-wide POL caps (polgrant) on their own local copy (qa/gamepass.mjs boots it)
|
# bash qa/run.sh gamepass # Game Pass buy flow + account-wide POL caps (polgrant) on their own local copy (qa/gamepass.mjs boots it)
|
||||||
# bash qa/run.sh sov-passes # pass tiers (Explorer/Champion/Sovereign/Legend): store unit checks + admin buys Explorer + Sovereign with seeded purchased credits on a local copy (screenshots D:/tmp/sov-passes)
|
# bash qa/run.sh sov-passes # pass tiers (Explorer/Champion/Sovereign/Legend): store unit checks + admin buys Explorer + Sovereign with seeded purchased credits on a local copy (screenshots D:/tmp/sov-passes)
|
||||||
# bash qa/run.sh nas # Network Ad Space billing: served-count trap, stopped-ad restart (no phantom delivery), the 1/N network rate + PassiveDrip partner visits (stubbed NAS, throwaway data)
|
# bash qa/run.sh nas # Network Ad Space billing: served-count trap, stopped-ad restart (no phantom delivery), the 1/N network rate + PassiveDrip partner visits (stubbed NAS, throwaway data)
|
||||||
@@ -18,10 +17,6 @@
|
|||||||
# bash qa/run.sh override # level-4 override: week math, hunt, house, dust carry, cap, balance, two concurrent payers (fake chain + signer, throwaway data)
|
# bash qa/run.sh override # level-4 override: week math, hunt, house, dust carry, cap, balance, two concurrent payers (fake chain + signer, throwaway data)
|
||||||
# bash qa/run.sh convpixel # conversion pixel: lsclk click ids on /api/ads/click, signed push to a MOCK LinkSpin, own-click self flag, Campaigns > Conversion tracking + cost per goal, LinkSpin down (local copy, throwaway data)
|
# bash qa/run.sh convpixel # conversion pixel: lsclk click ids on /api/ads/click, signed push to a MOCK LinkSpin, own-click self flag, Campaigns > Conversion tracking + cost per goal, LinkSpin down (local copy, throwaway data)
|
||||||
# bash qa/run.sh fuel # Fuel Your Offers: refill notices, refuel streak, Refuel Kit, Engine Room (unit + two-copy tests, throwaway data)
|
# bash qa/run.sh fuel # Fuel Your Offers: refill notices, refuel streak, Refuel Kit, Engine Room (unit + two-copy tests, throwaway data)
|
||||||
# bash qa/run.sh policy # profile policy + link-farm scan: prohibited list, bio links, quarantine, 06:30 claim, walls of free/paying members, 404 walls (unit + local copy; also runs in member)
|
|
||||||
# bash qa/run.sh bixpay # BixPay card: partner-link validator, sponsor-follows resolver (own / level 3 / company), gate, click store (unit, no server; also runs in member)
|
|
||||||
# bash qa/run.sh theme # light/dark themes: WCAG contrast of the main text/background pairs on the member area, admin and public pages, both themes (local copy)
|
|
||||||
# QA_THEME=dark bash qa/run.sh member # walk every pane in one theme; screenshots land as *-dark.png / *-light.png
|
|
||||||
# Each local run boots server.js on its own port with a throwaway data dir (JSON store, no DB, no
|
# Each local run boots server.js on its own port with a throwaway data dir (JSON store, no DB, no
|
||||||
# mail key, devCode sign-in), so nothing touches production data. Reports land in qa/out/.
|
# mail key, devCode sign-in), so nothing touches production data. Reports land in qa/out/.
|
||||||
set -u
|
set -u
|
||||||
@@ -43,19 +38,6 @@ stop_local() { # $1 = port
|
|||||||
rm -rf "$TMP-$1"
|
rm -rf "$TMP-$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Syntax gate, every mode (2026-10-29): LinkSpin's /traffic-guide shipped with a parse error in its page script (a // comment
|
|
||||||
# inside a one-liner) and rendered empty for everyone for a day. node --check costs nothing and catches it before any walk.
|
|
||||||
syntax_gate() {
|
|
||||||
local bad=0 f
|
|
||||||
for f in *.js lib/*.js public/*.js public/assets/*.js; do
|
|
||||||
[ -f "$f" ] || continue
|
|
||||||
node --check "$f" 2>"$OUT/syntax.err" || { echo "[bug] SYNTAX $f :: $(grep -m1 -E 'Error' "$OUT/syntax.err")"; bad=1; }
|
|
||||||
done
|
|
||||||
rm -f "$OUT/syntax.err"
|
|
||||||
[ "$bad" = 0 ] && echo "syntax gate: every script parses" || status=1
|
|
||||||
}
|
|
||||||
syntax_gate
|
|
||||||
|
|
||||||
if [ "$MODE" = "public" ]; then
|
if [ "$MODE" = "public" ]; then
|
||||||
node qa/walk.mjs public || status=1
|
node qa/walk.mjs public || status=1
|
||||||
node qa/chatbot-sync.mjs || status=1
|
node qa/chatbot-sync.mjs || status=1
|
||||||
@@ -63,14 +45,6 @@ elif [ "$MODE" = "member" ]; then
|
|||||||
start_local 8796 && { LOCAL=http://127.0.0.1:8796 node qa/walk.mjs member || status=1; }; stop_local 8796
|
start_local 8796 && { LOCAL=http://127.0.0.1:8796 node qa/walk.mjs member || status=1; }; stop_local 8796
|
||||||
node qa/tank-hold.mjs || status=1
|
node qa/tank-hold.mjs || status=1
|
||||||
node qa/walletnudge.test.cjs || status=1
|
node qa/walletnudge.test.cjs || status=1
|
||||||
node qa/bixpay.test.cjs || status=1
|
|
||||||
node qa/profile-policy.test.cjs || status=1
|
|
||||||
elif [ "$MODE" = "theme" ]; then
|
|
||||||
start_local 8797 && { LOCAL=http://127.0.0.1:8797 node qa/theme-contrast.mjs || status=1; }; stop_local 8797
|
|
||||||
elif [ "$MODE" = "policy" ]; then
|
|
||||||
node qa/profile-policy.test.cjs || status=1
|
|
||||||
elif [ "$MODE" = "bixpay" ]; then
|
|
||||||
node qa/bixpay.test.cjs || status=1
|
|
||||||
elif [ "$MODE" = "walletnudge" ]; then
|
elif [ "$MODE" = "walletnudge" ]; then
|
||||||
node qa/walletnudge.test.cjs || status=1
|
node qa/walletnudge.test.cjs || status=1
|
||||||
elif [ "$MODE" = "tankhold" ]; then
|
elif [ "$MODE" = "tankhold" ]; then
|
||||||
@@ -83,8 +57,6 @@ elif [ "$MODE" = "kb" ]; then
|
|||||||
node qa/kb-chat.mjs || status=1
|
node qa/kb-chat.mjs || status=1
|
||||||
elif [ "$MODE" = "door" ]; then
|
elif [ "$MODE" = "door" ]; then
|
||||||
node qa/door.mjs || status=1
|
node qa/door.mjs || status=1
|
||||||
elif [ "$MODE" = "warpwares" ]; then
|
|
||||||
node qa/warpwares.mjs || status=1
|
|
||||||
elif [ "$MODE" = "gamepass" ]; then
|
elif [ "$MODE" = "gamepass" ]; then
|
||||||
node qa/gamepass.mjs || status=1
|
node qa/gamepass.mjs || status=1
|
||||||
elif [ "$MODE" = "sov-passes" ]; then
|
elif [ "$MODE" = "sov-passes" ]; then
|
||||||
|
|||||||
@@ -1,159 +0,0 @@
|
|||||||
// Theme contrast check (2026-11-01, mirrored from LinkSpin's qa/theme-contrast.mjs): loads the public pages and the member
|
|
||||||
// area in both themes with Playwright, samples the main text/background pairs (body text, muted text, links, buttons, chips,
|
|
||||||
// badges, table text, card headings, stage pills, fields) with composited ancestor backgrounds and gradient averages, and
|
|
||||||
// reports the WCAG ratio per pair, pass/fail at 4.5:1 (3:1 for large text: 24px+, or 18.66px+ bold). Probes inject one
|
|
||||||
// element per variant so a pair is measured even when the page has no live example. Runs against a local copy:
|
|
||||||
// bash qa/run.sh theme (boots server.js on :8797 with throwaway data, signs in, walks both themes)
|
|
||||||
// Env: LOCAL (default http://127.0.0.1:8797), OUT (default qa/out), PW (playwright dir). Exit 1 when any pair fails.
|
|
||||||
import { pathToFileURL } from 'node:url';
|
|
||||||
import fs from 'node:fs';
|
|
||||||
const PW = process.env.PW || 'D:/Projects/MarketingAgent/qa-tester/node_modules/playwright';
|
|
||||||
const { chromium } = (await import(pathToFileURL(PW + '/index.js').href)).default;
|
|
||||||
const LOCAL = process.env.LOCAL || 'http://127.0.0.1:8797';
|
|
||||||
const OUT = process.env.OUT || 'qa/out';
|
|
||||||
fs.mkdirSync(OUT, { recursive: true });
|
|
||||||
|
|
||||||
// selectors sampled on every page (text element -> its effective background)
|
|
||||||
const SAMPLE = ['body', 'p', 'li', 'td', 'th', 'label', 'small', 'h1', 'h2', 'h3', 'h4', 'a', 'button', '.btn', '.muted', '.small', '.eyebrow', 'summary',
|
|
||||||
'.badge', '.chip', '.chip-t', '.pill', '.lchip', '.lin-chip', '.lin-verdict', '.tk-tier', '.tk-tier b', '.tk-tier .lock', '.angle-hook', '.angle-tag', '.pb-note', '.pb-size', '.promo-block', '.pb-net',
|
|
||||||
'.stat .n', '.stat .l', '.statx .nv', '.statx .lb', '.card h3', '.card-head .sub', '.cmp th', '.cmp td', '.tile .name', '.tile .price', '.tile .cr', '.tile .bonus', '.tile .pol', '.tile.hot::before',
|
|
||||||
'.feed .row', '.feed .when', '.ticker .inner span', '.hero .lead', '.hero-note', '.byline', 'nav .links a', '.bo-menu button', '.bo-menu a', '.bo-links a', '.bo-cap', '.bo-top h2', '.bo-pagefoot a',
|
|
||||||
'.subtab', '.subnav button', '.seg button', '.theme-seg button', '.gs-step', '.gs-step .n', '.nc-step .lb', '.nc-step .dot', '.lt-you', '.lt-node', '.lt-cap', '.lin-row .nm', '.lin-row .em', '.lin-row .id', '.lin-row .dt',
|
|
||||||
'.wall-pos', '.wc-check', '.wc-timer', '.bio-meta p', '.bio-socials a', '.chat-thread .ct-name', '.chat-thread .ct-last', '.ch-m', '.obj summary', '.obj .lab', '.spend-banner .lbl', '.spend-banner .sub', '.rehearsal',
|
|
||||||
'.checks li', '.platecard p', '.closer p', 'footer', 'footer a', '.fdf', '.fdf a', '.pgr-n', '.pgr-pg', '.pgr-btn', '.lst-chip', '.lst-sort', '.lst-n', '.pipe-col h4', '.pipe-col .hint', '.pipe-card .nm', '.pipe-card .sub',
|
|
||||||
'.rg-n', '.rg-chip', '.rg-box', '.rg-rule', '.rg-coach', '.cg-flow li', '.howbox', '.gcard .pays', '.wl-grid .tag', '.lw-rule', '.pl-rule', '.wl-rule', '.note', '.st', '.house-tag', '.sup-row', '.sup-st', 'input', 'textarea', 'select'];
|
|
||||||
// probes injected once per page so every variant gets a reading (class list, text)
|
|
||||||
const PROBES = [
|
|
||||||
['badge', 'Badge'], ['badge amber', 'Badge amber'], ['chip', 'Chip'], ['chip flat', 'Chip flat'], ['chip warm', 'Chip warm'], ['chip-t', 'Chip-t'], ['chip-t on', 'Chip-t on'], ['lchip', 'lchip'], ['lchip on', 'lchip on'], ['lchip warn', 'lchip warn'],
|
|
||||||
['lin-chip', 'lin chip'], ['lin-chip warn', 'lin chip warn'], ['lin-verdict', 'verdict'], ['lin-verdict on', 'verdict on'], ['tk-tier', 'tier'], ['tk-tier reached', 'tier reached'], ['tk-tier current', 'tier current'], ['angle-hook', 'hook'], ['angle-tag', 'angle tag'],
|
|
||||||
['btn', 'Button'], ['btn sec', 'Sec'], ['btn small sec', 'Small sec'], ['btn quiet', 'Quiet'], ['subtab', 'subtab'], ['subtab on', 'subtab on'], ['lst-chip', 'list chip'], ['lst-chip on', 'list chip on'], ['pgr-btn', 'Next'],
|
|
||||||
['muted', 'Muted text'], ['small muted', 'small muted'], ['hero-note', 'hero note'], ['bo-cap', 'cap'], ['wall-pos', 'position 1'], ['wc-check', 'check'], ['wc-timer', '0:12'], ['lt-you', 'You'], ['lt-node', 'node'], ['lt-node deep', 'deep'], ['lt-node qualified', 'qualified'], ['lt-node open', 'open'],
|
|
||||||
['gs-step', 'step'], ['gs-step done', 'step done'], ['gs-step now', 'step now'], ['fdf', 'Friday strip'], ['pgr-n', 'Showing 25'], ['pgr-pg', 'page 1 of 2'], ['promo-block', 'promo block'], ['pb-net', 'facebook'], ['rehearsal', 'rehearsal'],
|
|
||||||
['ch-m bot', 'bot bubble'], ['ch-m me', 'me bubble'], ['cbub them', 'them'], ['cbub me', 'me'], ['chat-day', 'today'], ['chat-empty', 'empty'], ['pipe-card nm', 'name'], ['pipe-card sub', 'sub'], ['pipe-col hint', 'hint'],
|
|
||||||
['st active', 'active'], ['st paused', 'paused'], ['st out', 'out'], ['house-tag', 'house'], ['sup-st open', 'open'], ['sup-st waiting_on_member', 'waiting'], ['sup-st closed', 'closed'],
|
|
||||||
['tile bonus', 'bonus'], ['tile pol', 'pol'], ['tile name', 'name'], ['spend-banner lbl', 'label'], ['split s50', '50%'], ['split sa', 'admin'], ['nc-step lb', 'step'], ['bo-rehearsal small', 'rehearsal'],
|
|
||||||
['theme-seg-probe', 'seg'], ['ok-probe', 'ok text'], ['warn-probe', 'warn text'], ['bad-probe', 'bad text'], ['gold-probe', 'gold text'], ['okbadge-probe', 'Ready to activate'], ['goldbadge-probe', 'Pass active'], ['amberpill-probe', '3'],
|
|
||||||
];
|
|
||||||
|
|
||||||
const browser = await chromium.launch();
|
|
||||||
const results = [];
|
|
||||||
async function sample(page, label) {
|
|
||||||
const rows = await page.evaluate(({ SAMPLE, PROBES }) => {
|
|
||||||
const parse = c => { const m = String(c).match(/rgba?\(([^)]+)\)/); if (!m) return null; const p = m[1].split(/[,\s/]+/).filter(Boolean).map(Number); return { r: p[0], g: p[1], b: p[2], a: p.length > 3 ? p[3] : 1 }; };
|
|
||||||
const over = (fg, bg) => ({ r: fg.r * fg.a + bg.r * (1 - fg.a), g: fg.g * fg.a + bg.g * (1 - fg.a), b: fg.b * fg.a + bg.b * (1 - fg.a), a: 1 });
|
|
||||||
const lum = c => { const f = v => { v /= 255; return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4); }; return 0.2126 * f(c.r) + 0.7152 * f(c.g) + 0.0722 * f(c.b); };
|
|
||||||
const ratio = (a, b) => { const l1 = lum(a), l2 = lum(b); return (Math.max(l1, l2) + 0.05) / (Math.min(l1, l2) + 0.05); };
|
|
||||||
const hex = c => '#' + [c.r, c.g, c.b].map(v => Math.round(v).toString(16).padStart(2, '0')).join('');
|
|
||||||
// gradients: average the non-transparent colour stops (a transparent stop is not a colour the text sits on)
|
|
||||||
const gradColour = img => { const stops = [...img.matchAll(/rgba?\([^)]+\)/g)].map(m => parse(m[0])).filter(c => c && c.a > 0); if (!stops.length) return null; const n = stops.length; return { r: stops.reduce((s, c) => s + c.r, 0) / n, g: stops.reduce((s, c) => s + c.g, 0) / n, b: stops.reduce((s, c) => s + c.b, 0) / n, a: stops.reduce((s, c) => s + c.a, 0) / n }; };
|
|
||||||
const bgOf = el => { // walk up, compositing translucent layers over what lies beneath
|
|
||||||
const layers = []; let e = el;
|
|
||||||
while (e && e !== document.documentElement.parentNode) {
|
|
||||||
const cs = getComputedStyle(e); const bc = parse(cs.backgroundColor); const bi = cs.backgroundImage;
|
|
||||||
let c = null;
|
|
||||||
if (bi && bi !== 'none' && /gradient/.test(bi) && !/radial-gradient\(/.test(bi)) c = gradColour(bi);
|
|
||||||
if (bc && bc.a > 0) c = c && c.a < 1 ? over(c, bc) : (c || bc);
|
|
||||||
if (c && c.a > 0) { layers.push(c); if (c.a >= 1) break; }
|
|
||||||
e = e.parentElement;
|
|
||||||
}
|
|
||||||
let out = { r: 255, g: 255, b: 255, a: 1 };
|
|
||||||
const body = parse(getComputedStyle(document.body).backgroundColor); if (body && body.a > 0 && !layers.some(l => l.a >= 1)) out = body;
|
|
||||||
for (let i = layers.length - 1; i >= 0; i--) out = over(layers[i], out);
|
|
||||||
return out;
|
|
||||||
};
|
|
||||||
const vis = el => { const r = el.getBoundingClientRect(); const cs = getComputedStyle(el); return r.width > 0 && r.height > 0 && cs.visibility !== 'hidden' && cs.display !== 'none' && el.closest('[hidden]') === null; };
|
|
||||||
const hasText = el => [...el.childNodes].some(n => n.nodeType === 3 && n.textContent.trim().length > 0) || /^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName);
|
|
||||||
// probes
|
|
||||||
const host = document.createElement('div'); host.id = 'contrastProbes'; host.style.cssText = 'position:absolute;left:0;top:0;padding:8px;display:flex;flex-wrap:wrap;gap:6px;z-index:9999;background:var(--panel,transparent)';
|
|
||||||
const panel = document.querySelector('.card,.stat,.tile,.wall-card') || document.body; panel.appendChild(host);
|
|
||||||
const hasSeg = !!document.querySelector('.theme-seg'); // the switch lives on the member area and admin
|
|
||||||
const SPECIAL = {
|
|
||||||
'theme-seg-probe': el => { el.className = 'seg theme-seg'; el.innerHTML = '<button data-theme="x" class="on">On</button><button data-theme="y">Off</button>'; },
|
|
||||||
'ok-probe': el => { el.className = 'small'; el.style.color = 'var(--ok)'; }, 'warn-probe': el => { el.className = 'small'; el.style.color = 'var(--warn)'; },
|
|
||||||
'bad-probe': el => { el.className = 'small'; el.style.color = 'var(--bad)'; }, 'gold-probe': el => { el.className = 'small'; el.style.color = 'var(--gold)'; },
|
|
||||||
'okbadge-probe': el => { el.className = 'badge'; el.style.cssText = 'background:var(--ok-soft);border-color:var(--ok);color:var(--ok)'; },
|
|
||||||
'goldbadge-probe': el => { el.className = 'badge'; el.style.cssText = 'background:var(--gold);color:var(--gold-ink)'; },
|
|
||||||
'amberpill-probe': el => { el.className = 'pill'; el.style.cssText = 'background:var(--amber);color:var(--amber-ink);font-size:11px;font-weight:800;border-radius:999px;padding:1px 8px'; },
|
|
||||||
};
|
|
||||||
for (const [cls, text] of PROBES) {
|
|
||||||
if (cls === 'theme-seg-probe' && !hasSeg) continue;
|
|
||||||
const el = document.createElement(cls.startsWith('btn') || cls.startsWith('subtab') || cls.startsWith('lst-chip') || cls.startsWith('pgr-btn') ? 'button' : 'span');
|
|
||||||
el.className = cls; el.textContent = text;
|
|
||||||
if (SPECIAL[cls]) SPECIAL[cls](el);
|
|
||||||
el.setAttribute('data-probe', cls); host.appendChild(el);
|
|
||||||
}
|
|
||||||
const out = []; const seen = new Set();
|
|
||||||
const els = [];
|
|
||||||
for (const sel of SAMPLE) { if (sel.includes('::')) continue; for (const el of document.querySelectorAll(sel)) els.push([sel, el]); }
|
|
||||||
for (const el of host.querySelectorAll('[data-probe],[data-theme]')) els.push(['probe ' + (el.getAttribute('data-probe') || el.parentElement.getAttribute('data-probe') + ' ' + el.className), el]);
|
|
||||||
for (const [sel, el] of els) {
|
|
||||||
if (!vis(el) || !hasText(el)) continue;
|
|
||||||
const cs = getComputedStyle(el); const fg = parse(cs.color); if (!fg) continue;
|
|
||||||
if (cs.opacity !== '' && parseFloat(cs.opacity) < 0.5) continue; // disabled / ghosted (the ghost wordmark is color:transparent)
|
|
||||||
if (fg.a === 0) continue;
|
|
||||||
let bg = bgOf(el);
|
|
||||||
const fgc = fg.a < 1 ? over(fg, bg) : fg;
|
|
||||||
const size = parseFloat(cs.fontSize), weight = parseInt(cs.fontWeight, 10) || 400;
|
|
||||||
const large = size >= 24 || (size >= 18.66 && weight >= 700);
|
|
||||||
const r = ratio(fgc, bg);
|
|
||||||
const key = sel + '|' + hex(fgc) + '|' + hex(bg) + '|' + large;
|
|
||||||
if (seen.has(key)) continue; seen.add(key);
|
|
||||||
out.push({ sel, text: (el.textContent || el.placeholder || '').trim().slice(0, 28), fg: hex(fgc), bg: hex(bg), ratio: Math.round(r * 100) / 100, size: Math.round(size * 10) / 10, weight, large, need: large ? 3 : 4.5 });
|
|
||||||
}
|
|
||||||
host.remove();
|
|
||||||
return out;
|
|
||||||
}, { SAMPLE, PROBES });
|
|
||||||
for (const r of rows) results.push(Object.assign({ page: label }, r));
|
|
||||||
}
|
|
||||||
|
|
||||||
const hide = page => page.evaluate(() => { document.querySelectorAll('.modal-back,.lgate,.iap-welcome').forEach(m => m.hidden = true); });
|
|
||||||
async function run(theme) {
|
|
||||||
const ctx = await browser.newContext({ viewport: { width: 1280, height: 950 } });
|
|
||||||
await ctx.addInitScript(t => { try { localStorage.setItem('iap.theme', t); sessionStorage.setItem('iap.welcome.v1', '1'); } catch (e) {} }, theme);
|
|
||||||
const page = await ctx.newPage(); page.on('dialog', d => d.accept());
|
|
||||||
const T = theme.toUpperCase() + ' ';
|
|
||||||
// member sign-in first, so the wall and join pages below have a real member to show
|
|
||||||
await page.goto(LOCAL + '/my', { waitUntil: 'networkidle' });
|
|
||||||
const user = 'qac' + theme; // one account per theme: the account value wins over the local one at sign-in
|
|
||||||
if (await page.$('#mcEmail')) {
|
|
||||||
await page.fill('#mcEmail', 'qa-contrast-' + theme + '@example.com'); await page.click('#mcSendBtn');
|
|
||||||
await page.waitForSelector('#mcVerifyBtn:not([hidden])', { timeout: 15000 }); await page.click('#mcVerifyBtn'); await page.waitForTimeout(2000);
|
|
||||||
if (await page.$('#onboardModal:not([hidden])')) { await page.fill('#obUsername', user); await page.click('#obSave'); await page.waitForTimeout(1500); }
|
|
||||||
await page.evaluate(t => fetch('/api/my/profile', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ theme: t }) }).then(r => r.json()), theme);
|
|
||||||
}
|
|
||||||
await hide(page);
|
|
||||||
const PANES = ['overview', 'line', 'pipeline', 'buy', 'campaigns', 'earn', 'earnings', 'promo', 'training', 'help', 'wallet', 'profile'];
|
|
||||||
for (const pn of PANES) {
|
|
||||||
await page.click('.bo-menu [data-pane="' + pn + '"]').catch(() => {}); await page.waitForTimeout(900); await hide(page);
|
|
||||||
const applied = await page.evaluate(() => document.documentElement.getAttribute('data-theme')); if (applied !== theme) results.push({ page: T + '/my#' + pn, sel: 'THEME', text: 'data-theme=' + applied, fg: '-', bg: '-', ratio: 0, size: 0, weight: 0, large: false, need: 1 });
|
|
||||||
await sample(page, T + '/my#' + pn);
|
|
||||||
}
|
|
||||||
await page.screenshot({ path: OUT + '/contrast-' + theme + '-my.png' }).catch(() => {});
|
|
||||||
// public pages (same browser, signed in: the nav shows the member)
|
|
||||||
for (const p of ['/', '/join/' + user, '/join/' + user + '?v=instant', '/wall/' + user, '/ledger', '/contract', '/games', '/wallets', '/support', '/leaderboard', '/whats-new', '/facts', '/terms', '/earning', '/friday', '/wednesday', '/refuel-guide', '/conversion-tracking', '/plays', '/launch', '/partners', '/presentation', '/shorts', '/blog']) {
|
|
||||||
await page.goto(LOCAL + p, { waitUntil: 'domcontentloaded' }).catch(() => {}); await page.waitForTimeout(1200); await hide(page);
|
|
||||||
await sample(page, T + p);
|
|
||||||
}
|
|
||||||
// admin
|
|
||||||
await page.goto(LOCAL + '/admin', { waitUntil: 'networkidle' });
|
|
||||||
if (await page.$('#adEmail')) {
|
|
||||||
await page.fill('#adEmail', process.env.ADMIN_EMAIL || 'martybostick@gmail.com'); await page.click('#adSend'); await page.waitForSelector('#adVerify:not([hidden])', { timeout: 15000 }); await page.click('#adVerify'); await page.waitForTimeout(1500);
|
|
||||||
}
|
|
||||||
for (const pn of ['overview', 'house', 'campaigns', 'members', 'support', 'reports', 'settings']) {
|
|
||||||
await page.click('.bo-menu [data-pane="' + pn + '"]').catch(() => {}); await page.waitForTimeout(900);
|
|
||||||
await sample(page, T + '/admin#' + pn);
|
|
||||||
}
|
|
||||||
await ctx.close();
|
|
||||||
}
|
|
||||||
await run('light');
|
|
||||||
await run('dark');
|
|
||||||
await browser.close();
|
|
||||||
|
|
||||||
const fails = results.filter(r => r.ratio < r.need);
|
|
||||||
const lines = ['===== THEME CONTRAST ' + new Date().toISOString() + ' =====', 'pairs: ' + results.length + ' | fail: ' + fails.length,
|
|
||||||
'', 'FAILS (ratio < need):', ...fails.sort((a, b) => a.ratio - b.ratio).map(f => `[fail] ${f.page} :: ${f.sel} "${f.text}" ${f.fg} on ${f.bg} = ${f.ratio}:1 (need ${f.need}, ${f.size}px/${f.weight})`),
|
|
||||||
'', 'WORST 25 OVERALL:', ...results.slice().sort((a, b) => a.ratio - b.ratio).slice(0, 25).map(f => `${f.ratio}:1 ${f.page} :: ${f.sel} "${f.text}" ${f.fg} on ${f.bg} (${f.size}px/${f.weight}${f.large ? ' large' : ''})`),
|
|
||||||
'', 'ALL PAIRS:', ...results.map(f => `${f.ratio < f.need ? 'FAIL' : 'ok '} ${f.ratio}:1 ${f.page} :: ${f.sel} "${f.text}" ${f.fg} on ${f.bg} (${f.size}px/${f.weight}${f.large ? ' large' : ''})`)];
|
|
||||||
fs.writeFileSync(OUT + '/theme-contrast.txt', lines.join('\n') + '\n');
|
|
||||||
console.log(lines.slice(0, Math.min(lines.length, 60 + fails.length)).join('\n'));
|
|
||||||
process.exit(fails.length ? 1 : 0);
|
|
||||||
@@ -14,11 +14,6 @@ const LIVE = process.env.LIVE || 'https://instantadpay.com';
|
|||||||
const LOCAL = process.env.LOCAL || 'http://127.0.0.1:8796';
|
const LOCAL = process.env.LOCAL || 'http://127.0.0.1:8796';
|
||||||
const OUT = process.env.OUT || 'qa/out';
|
const OUT = process.env.OUT || 'qa/out';
|
||||||
fs.mkdirSync(OUT, { recursive: true });
|
fs.mkdirSync(OUT, { recursive: true });
|
||||||
// QA_THEME=light|dark|auto (2026-11-01): set localStorage iap.theme before the first navigation so every pane is walked and
|
|
||||||
// screenshotted in that theme; screenshots get a -<theme> suffix so both sets survive in qa/out
|
|
||||||
const THEME = ['light', 'dark', 'auto'].includes(process.env.QA_THEME || '') ? process.env.QA_THEME : '';
|
|
||||||
const SUF = THEME ? '-' + THEME : '';
|
|
||||||
const themed = async ctx => { if (THEME) await ctx.addInitScript(t => { try { localStorage.setItem('iap.theme', t); } catch (e) {} }, THEME); return ctx; };
|
|
||||||
const findings = [];
|
const findings = [];
|
||||||
const note = (sev, where, what) => findings.push({ sev, where, what });
|
const note = (sev, where, what) => findings.push({ sev, where, what });
|
||||||
const NOISE = /walletconnect|reown|web3modal|coingecko|fonts\.|\/api\/feed\/live|\/api\/auth\/logout/;
|
const NOISE = /walletconnect|reown|web3modal|coingecko|fonts\.|\/api\/feed\/live|\/api\/auth\/logout/;
|
||||||
@@ -33,7 +28,7 @@ function watch(page, base) {
|
|||||||
if (/status of (400|401|404)/.test(m.text())) return; // expected API answers surface as console noise
|
if (/status of (400|401|404)/.test(m.text())) return; // expected API answers surface as console noise
|
||||||
bag.console.push(m.text());
|
bag.console.push(m.text());
|
||||||
});
|
});
|
||||||
page.on('requestfailed', r => { const u = r.url(); const err = (r.failure() && r.failure().errorText) || ''; if (err === 'net::ERR_ABORTED') return; /* a request the page cancelled by navigating away (a poll or a save still in flight): never a server failure (2026-11-01) */ if (u.startsWith(base) && !NOISE.test(u)) bag.failed.push(u + ' ' + err); });
|
page.on('requestfailed', r => { const u = r.url(); if (u.startsWith(base) && !NOISE.test(u)) bag.failed.push(u + ' ' + (r.failure() && r.failure().errorText)); });
|
||||||
page.on('response', r => { const st = r.status(); const u = r.url(); if (st >= 500 && u.startsWith(base)) bag.status.push(st + ' ' + u); });
|
page.on('response', r => { const st = r.status(); const u = r.url(); if (st >= 500 && u.startsWith(base)) bag.status.push(st + ' ' + u); });
|
||||||
return bag;
|
return bag;
|
||||||
}
|
}
|
||||||
@@ -51,8 +46,7 @@ async function domChecks(page, label) {
|
|||||||
const overflow = document.documentElement.scrollWidth > document.documentElement.clientWidth + 2;
|
const overflow = document.documentElement.scrollWidth > document.documentElement.clientWidth + 2;
|
||||||
return { brokenImgs, unfilled, overflow, title: document.title };
|
return { brokenImgs, unfilled, overflow, title: document.title };
|
||||||
});
|
});
|
||||||
const imgs = label.startsWith('LOCAL') ? r.brokenImgs.filter(s => !/\/api\/qr\?/.test(s)) : r.brokenImgs; // the qrcode module is not installed in a local checkout, so /api/qr answers 404 there (2026-11-01)
|
if (r.brokenImgs.length) note('bug', label, 'broken images: ' + r.brokenImgs.slice(0, 3).join(', '));
|
||||||
if (imgs.length) note('bug', label, 'broken images: ' + imgs.slice(0, 3).join(', '));
|
|
||||||
if (r.unfilled) note('warn', label, r.unfilled + ' element(s) still showing the loading ellipsis');
|
if (r.unfilled) note('warn', label, r.unfilled + ' element(s) still showing the loading ellipsis');
|
||||||
if (r.overflow) note('warn', label, 'page scrolls horizontally');
|
if (r.overflow) note('warn', label, 'page scrolls horizontally');
|
||||||
return r;
|
return r;
|
||||||
@@ -62,7 +56,7 @@ const hide = page => page.evaluate(() => { document.querySelectorAll('.modal-bac
|
|||||||
const browser = await chromium.launch();
|
const browser = await chromium.launch();
|
||||||
|
|
||||||
if (MODE === 'public' || MODE === 'all') {
|
if (MODE === 'public' || MODE === 'all') {
|
||||||
const ctx = await themed(await browser.newContext({ viewport: { width: 1280, height: 900 } }));
|
const ctx = await browser.newContext({ viewport: { width: 1280, height: 900 } });
|
||||||
await ctx.addInitScript(() => { try { sessionStorage.setItem('iap.welcome.v1', '1'); } catch (e) {} }); // the session pop-up would block every click in an automated run
|
await ctx.addInitScript(() => { try { sessionStorage.setItem('iap.welcome.v1', '1'); } catch (e) {} }); // the session pop-up would block every click in an automated run
|
||||||
const page = await ctx.newPage(); const bag = watch(page, LIVE);
|
const page = await ctx.newPage(); const bag = watch(page, LIVE);
|
||||||
const PUBLIC = ['/', '/ledger', '/contract', '/terms', '/privacy', '/disclaimer', '/wall/martbost', '/join/martbost',
|
const PUBLIC = ['/', '/ledger', '/contract', '/terms', '/privacy', '/disclaimer', '/wall/martbost', '/join/martbost',
|
||||||
@@ -85,19 +79,19 @@ if (MODE === 'public' || MODE === 'all') {
|
|||||||
flush(bag, label); console.log('ok', label, '|', d.title);
|
flush(bag, label); console.log('ok', label, '|', d.title);
|
||||||
} catch (e) { note('bug', label, 'navigation failed: ' + e.message.slice(0, 160)); flush(bag, label); }
|
} catch (e) { note('bug', label, 'navigation failed: ' + e.message.slice(0, 160)); flush(bag, label); }
|
||||||
}
|
}
|
||||||
const m = await themed(await browser.newContext({ viewport: { width: 390, height: 844 }, isMobile: true }));
|
const m = await browser.newContext({ viewport: { width: 390, height: 844 }, isMobile: true });
|
||||||
await m.addInitScript(() => { try { sessionStorage.setItem('iap.welcome.v1', '1'); } catch (e) {} }); // the session pop-up would block every click in an automated run
|
await m.addInitScript(() => { try { sessionStorage.setItem('iap.welcome.v1', '1'); } catch (e) {} }); // the session pop-up would block every click in an automated run
|
||||||
const mp = await m.newPage(); const mbag = watch(mp, LIVE);
|
const mp = await m.newPage(); const mbag = watch(mp, LIVE);
|
||||||
for (const p of ['/', '/join/martbost?v=instant', '/wall/martbost', '/my']) {
|
for (const p of ['/', '/join/martbost?v=instant', '/wall/martbost', '/my']) {
|
||||||
await mp.goto(LIVE + p, { waitUntil: 'domcontentloaded', timeout: 45000 }).catch(e => note('bug', 'LIVE mobile ' + p, e.message));
|
await mp.goto(LIVE + p, { waitUntil: 'domcontentloaded', timeout: 45000 }).catch(e => note('bug', 'LIVE mobile ' + p, e.message));
|
||||||
await mp.waitForTimeout(2000); await domChecks(mp, 'LIVE mobile ' + p); flush(mbag, 'LIVE mobile ' + p);
|
await mp.waitForTimeout(2000); await domChecks(mp, 'LIVE mobile ' + p); flush(mbag, 'LIVE mobile ' + p);
|
||||||
await mp.screenshot({ path: OUT + '/mobile' + p.replace(/[^a-z0-9]+/gi, '-') + SUF + '.png' }).catch(() => {});
|
await mp.screenshot({ path: OUT + '/mobile' + p.replace(/[^a-z0-9]+/gi, '-') + '.png' }).catch(() => {});
|
||||||
}
|
}
|
||||||
await ctx.close(); await m.close();
|
await ctx.close(); await m.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MODE === 'member' || MODE === 'all') {
|
if (MODE === 'member' || MODE === 'all') {
|
||||||
const ctx = await themed(await browser.newContext({ viewport: { width: 1280, height: 950 } }));
|
const ctx = await browser.newContext({ viewport: { width: 1280, height: 950 } });
|
||||||
await ctx.addInitScript(() => { try { sessionStorage.setItem('iap.welcome.v1', '1'); } catch (e) {} }); // the session pop-up would block every click in an automated run
|
await ctx.addInitScript(() => { try { sessionStorage.setItem('iap.welcome.v1', '1'); } catch (e) {} }); // the session pop-up would block every click in an automated run
|
||||||
const page = await ctx.newPage(); const bag = watch(page, LOCAL);
|
const page = await ctx.newPage(); const bag = watch(page, LOCAL);
|
||||||
page.on('dialog', d => d.accept());
|
page.on('dialog', d => d.accept());
|
||||||
@@ -118,7 +112,7 @@ if (MODE === 'member' || MODE === 'all') {
|
|||||||
for (const s of subs) { try { await s.click(); await page.waitForTimeout(500); } catch (e) {} }
|
for (const s of subs) { try { await s.click(); await page.waitForTimeout(500); } catch (e) {} }
|
||||||
if (subs.length) await domChecks(page, label + ' (sub-tabs)');
|
if (subs.length) await domChecks(page, label + ' (sub-tabs)');
|
||||||
flush(bag, label);
|
flush(bag, label);
|
||||||
await page.screenshot({ path: OUT + '/my-' + pn + SUF + '.png' }).catch(() => {});
|
await page.screenshot({ path: OUT + '/my-' + pn + '.png' }).catch(() => {});
|
||||||
console.log('ok', label, 'subtabs:', subs.length);
|
console.log('ok', label, 'subtabs:', subs.length);
|
||||||
}
|
}
|
||||||
// Game Pass card on the Games tab (2026-10-16): hidden while gamePassEnabled is off, rendered with its state and Buy button once on; /my#games?pass=1 highlights it
|
// Game Pass card on the Games tab (2026-10-16): hidden while gamePassEnabled is off, rendered with its state and Buy button once on; /my#games?pass=1 highlights it
|
||||||
@@ -131,67 +125,6 @@ if (MODE === 'member' || MODE === 'all') {
|
|||||||
await page.goto(LOCAL + '/my#games'); await page.reload({ waitUntil: 'load' }); await page.waitForTimeout(2500); await hide(page); // a hash-only goto would not reload the card
|
await page.goto(LOCAL + '/my#games'); await page.reload({ waitUntil: 'load' }); await page.waitForTimeout(2500); await hide(page); // a hash-only goto would not reload the card
|
||||||
if (await page.evaluate(() => { const c = document.getElementById('gpCard'); return !!(c && !c.hidden); })) note('bug', L + 'my#games/gamepass', 'Game Pass card shows while gamePassEnabled is off');
|
if (await page.evaluate(() => { const c = document.getElementById('gpCard'); return !!(c && !c.hidden); })) note('bug', L + 'my#games/gamepass', 'Game Pass card shows while gamePassEnabled is off');
|
||||||
flush(bag, L + 'my#games/gamepass');
|
flush(bag, L + 'my#games/gamepass');
|
||||||
// BixPay card (2026-10-29): nothing while bixpayLive is off; once on: Wallet card, Overview card, Profile field (customer link refused,
|
|
||||||
// partner link saved, "Using: your link"), the Promo tab with posts + 4 banners + the tracked link, /bixpay 200 with the CTA, /go/bixpay 302s
|
|
||||||
const ADM = { Authorization: 'Bearer ' + (process.env.ADMIN_PASSWORD || 'localtest'), 'Content-Type': 'application/json' };
|
|
||||||
{
|
|
||||||
const B = L + 'bixpay';
|
|
||||||
const me0 = await page.evaluate(() => fetch('/api/me').then(r => r.json())); const tok = me0.username || me0.refCode;
|
|
||||||
await page.click('.bo-menu [data-pane="wallet"]'); await page.waitForTimeout(800);
|
|
||||||
if (await page.evaluate(() => { const c = document.getElementById('bixWalletCard'); return !!(c && !c.hidden); })) note('bug', B + '/off', 'Wallet card shows while bixpayLive is off');
|
|
||||||
if ((await page.request.get(LOCAL + '/bixpay')).status() !== 404) note('bug', B + '/off', '/bixpay served while bixpayLive is off');
|
|
||||||
await page.request.patch(LOCAL + '/api/admin/site', { headers: ADM, data: { bixpayLive: '1' } }).catch(() => {});
|
|
||||||
await page.goto(LOCAL + '/my#wallet'); await page.reload({ waitUntil: 'load' }); await page.waitForTimeout(2500); await hide(page);
|
|
||||||
const wc = await page.evaluate(() => { const c = document.getElementById('bixWalletCard'); return c && !c.hidden ? c.textContent : ''; });
|
|
||||||
if (!/Spend your POL anywhere with a BixPay Visa card/.test(wc) || !/3% per purchase, no load fee/.test(wc) || !/31 US states/.test(wc) || !/Using: the network link/.test(wc)) note('bug', B + '/wallet', 'Wallet card missing or wrong copy: ' + wc.slice(0, 120));
|
|
||||||
const goHref = await page.$eval('#bixWalletGo', e => e.getAttribute('href')).catch(() => '');
|
|
||||||
if (!/\/go\/bixpay\?s=wallet/.test(goHref)) note('bug', B + '/wallet', 'button is not the counted /go link: ' + goHref);
|
|
||||||
await domChecks(page, B + '/wallet'); await page.screenshot({ path: OUT + '/my-wallet-bixpay.png' }).catch(() => {});
|
|
||||||
await page.click('.bo-menu [data-pane="overview"]'); await page.waitForTimeout(800);
|
|
||||||
if (!(await page.evaluate(() => { const c = document.getElementById('bixCard'); return !!(c && !c.hidden && /Visa card for your POL/.test(c.textContent) && c.querySelector('.card-x')); }))) note('bug', B + '/overview', 'announcement card missing or not dismissable');
|
|
||||||
// profile: the customer link is refused, the partner link saves, the wallet card switches to "your link"
|
|
||||||
await page.click('.bo-menu [data-pane="profile"]'); await page.waitForTimeout(800); await hide(page);
|
|
||||||
if (!(await page.$('#pfBixCard:not([hidden])'))) note('bug', B + '/profile', 'BixPay card section hidden while live');
|
|
||||||
await page.fill('#pfBixLink', 'https://bix.ibportal.io/auth/register?e=boUGQ_dC9B472D9LGfzxPKvgfBw1iyqx-xffnx1kqPM&a=1&appId=3'); await page.click('#pfBixSave'); await page.waitForTimeout(900);
|
|
||||||
if (!/card-customer link/.test(await page.$eval('#pfBixStatus', e => e.textContent).catch(() => ''))) note('bug', B + '/profile', 'customer link (appId=3) was not refused with the message');
|
|
||||||
await page.fill('#pfBixLink', 'https://bix.ibportal.io/auth/register?e=QAwalkTOKENqawalkTOKENqawalkTOKENqawalkTOK&a=1'); await page.click('#pfBixSave'); await page.waitForTimeout(1200);
|
|
||||||
if (!/Saved/.test(await page.$eval('#pfBixStatus', e => e.textContent).catch(() => ''))) note('bug', B + '/profile', 'partner link did not save');
|
|
||||||
await page.screenshot({ path: OUT + '/my-profile-bixpay.png' }).catch(() => {});
|
|
||||||
const me2 = await page.evaluate(() => fetch('/api/me').then(r => r.json()));
|
|
||||||
if (!me2.bix || me2.bix.whose !== 'you' || !/e=QAwalkTOKEN/.test(me2.bix.link)) note('bug', B + '/api/me', 'resolved link is not the member’s own after saving: ' + JSON.stringify(me2.bix || {}).slice(0, 160));
|
|
||||||
await page.click('.bo-menu [data-pane="wallet"]'); await page.waitForTimeout(600);
|
|
||||||
if (!/Using: your link/.test(await page.$eval('#bixWalletCard', e => e.textContent).catch(() => ''))) note('bug', B + '/wallet', 'Wallet card did not switch to "Using: your link"');
|
|
||||||
// promo tab
|
|
||||||
await page.click('.bo-menu [data-pane="promo"]'); await page.waitForTimeout(600);
|
|
||||||
const bpill = await page.$('.promo-pills [data-promo="bixpay"]:not([hidden])'); if (!bpill) note('bug', B + '/promo', 'BixPay pill hidden while live');
|
|
||||||
else { await bpill.click(); await page.waitForTimeout(900);
|
|
||||||
const sec = await page.evaluate(() => { const s = document.getElementById('promo-bixpay'); return s && !s.hidden ? { posts: s.querySelectorAll('#bixPromoPosts .promo-block').length, swipe: s.querySelectorAll('#bixPromoSwipe .promo-block').length, banners: s.querySelectorAll('#bixPromoBanners .promo-block').length, link: document.getElementById('bixPromoLink').textContent, go: document.getElementById('bixPromoGo').textContent, text: s.textContent } : null; });
|
|
||||||
if (!sec) note('bug', B + '/promo', 'BixPay section did not show');
|
|
||||||
else { if (sec.posts !== 3 || sec.swipe !== 1 || sec.banners !== 4) note('bug', B + '/promo', 'expected 3 posts, 1 swipe, 4 banners; got ' + sec.posts + '/' + sec.swipe + '/' + sec.banners);
|
|
||||||
if (!/e=QAwalkTOKEN/.test(sec.link)) note('bug', B + '/promo', 'partner link box is not the member’s own');
|
|
||||||
if (!/\/go\/bixpay\?s=promo&m=/.test(sec.go)) note('bug', B + '/promo', 'tracked link missing: ' + sec.go);
|
|
||||||
if (/—/.test(sec.text)) note('bug', B + '/promo', 'em dash in BixPay promo copy'); }
|
|
||||||
await domChecks(page, B + '/promo'); await page.screenshot({ path: OUT + '/my-promo-bixpay.png', fullPage: true }).catch(() => {}); }
|
|
||||||
// the counted redirect + the public guide
|
|
||||||
const go = await page.request.get(LOCAL + '/go/bixpay?s=promo&m=' + tok, { maxRedirects: 0 });
|
|
||||||
if (go.status() !== 302 || !/e=QAwalkTOKEN/.test(go.headers().location || '')) note('bug', B + '/go', 'expected a 302 to the member’s partner link, got ' + go.status() + ' ' + (go.headers().location || ''));
|
|
||||||
const me3 = await page.evaluate(() => fetch('/api/me').then(r => r.json()));
|
|
||||||
if (!me3.bix || !me3.bix.clicks || !(me3.bix.clicks.promo >= 1)) note('bug', B + '/go', 'promo click was not counted for the member');
|
|
||||||
const gp = await page.request.get(LOCAL + '/bixpay?ref=' + tok); const gb = await gp.text();
|
|
||||||
if (gp.status() !== 200 || !/Get your BixPay card/.test(gb) || !/BixPay is a separate company/.test(gb)) note('bug', B + '/guide', '/bixpay did not serve with the CTA and the compliance box: ' + gp.status());
|
|
||||||
const pub = await (await page.request.get(LOCAL + '/api/public/bixpay?ref=' + tok)).json();
|
|
||||||
if (!pub.live || pub.whose !== 'you' || !/\/go\/bixpay\?s=guide&m=/.test(pub.go || '')) note('bug', B + '/guide', 'public resolver did not resolve the ?ref member: ' + JSON.stringify(pub).slice(0, 160));
|
|
||||||
const gctx = await browser.newContext({ viewport: { width: 1280, height: 900 } }); const gpage = await gctx.newPage(); const gbag = watch(gpage, LOCAL);
|
|
||||||
await gpage.goto(LOCAL + '/bixpay?ref=' + tok, { waitUntil: 'networkidle' }); await gpage.waitForTimeout(800);
|
|
||||||
await domChecks(gpage, B + '/guide'); flush(gbag, B + '/guide'); await gpage.screenshot({ path: OUT + '/bixpay-guide.png', fullPage: true }).catch(() => {}); await gctx.close();
|
|
||||||
// clean up: link removed, switch back off, everything hidden again
|
|
||||||
await page.evaluate(() => fetch('/api/my/bixpay', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: '{"link":""}' }).then(r => r.json())); // read the body before navigating, or the walk logs its own aborted request
|
|
||||||
await page.request.patch(LOCAL + '/api/admin/site', { headers: ADM, data: { bixpayLive: '0' } }).catch(() => {});
|
|
||||||
if ((await page.request.get(LOCAL + '/bixpay')).status() !== 404) note('bug', B + '/off', '/bixpay still served after switching off');
|
|
||||||
await page.goto(LOCAL + '/my#promo'); await page.reload({ waitUntil: 'load' }); await page.waitForTimeout(2500); await hide(page);
|
|
||||||
if (await page.$('.promo-pills [data-promo="bixpay"]:not([hidden])')) note('bug', B + '/off', 'BixPay pill still shows after switching off');
|
|
||||||
flush(bag, B); console.log('ok BixPay: wallet card, overview card, profile field, promo tab, /go, /bixpay');
|
|
||||||
}
|
|
||||||
await page.click('.bo-menu [data-pane="promo"]'); await page.waitForTimeout(800);
|
await page.click('.bo-menu [data-pane="promo"]'); await page.waitForTimeout(800);
|
||||||
if (!(await page.$$('#promoPosts .promo-block')).length) note('bug', L + 'promo', 'no post cards rendered');
|
if (!(await page.$$('#promoPosts .promo-block')).length) note('bug', L + 'promo', 'no post cards rendered');
|
||||||
// viral links: the builder renders a ?ref= link; any page + ?ref=<member> redirects clean and sets the sponsor cookie; an unknown ref sets nothing
|
// viral links: the builder renders a ?ref= link; any page + ?ref=<member> redirects clean and sets the sponsor cookie; an unknown ref sets nothing
|
||||||
@@ -237,44 +170,6 @@ if (MODE === 'member' || MODE === 'all') {
|
|||||||
}
|
}
|
||||||
flush(bag, L + 'my#help (ticket)');
|
flush(bag, L + 'my#help (ticket)');
|
||||||
await page.screenshot({ path: OUT + '/my-help-ticket.png' }).catch(() => {});
|
await page.screenshot({ path: OUT + '/my-help-ticket.png' }).catch(() => {});
|
||||||
// theme switch (2026-11-01): the header control and the Profile card both exist, a click flips data-theme at once and saves to the account
|
|
||||||
{
|
|
||||||
const label = L + 'theme switch';
|
|
||||||
await page.evaluate(() => document.querySelectorAll('.chat-drawer,.modal-back,.lgate').forEach(m => m.hidden = true));
|
|
||||||
await page.click('.bo-menu [data-pane="profile"]'); await page.waitForTimeout(600); await hide(page);
|
|
||||||
const seg = await page.$('#boTheme [data-theme="dark"]'); const prof = await page.$('#pane-profile .theme-seg [data-theme="light"]');
|
|
||||||
if (!seg) note('bug', label, 'no Light/Dark/Auto control in the member-area header'); if (!prof) note('bug', label, 'no Light/Dark/Auto control on the Profile pane');
|
|
||||||
if (seg && prof) {
|
|
||||||
const saved1 = page.waitForResponse(r => r.url().includes('/api/my/profile'), { timeout: 10000 }).catch(() => null); await seg.click(); await saved1; await page.waitForTimeout(300);
|
|
||||||
const t1 = await page.evaluate(() => [document.documentElement.getAttribute('data-theme'), localStorage.getItem('iap.theme')]);
|
|
||||||
if (t1[0] !== 'dark' || t1[1] !== 'dark') note('bug', label, 'Dark did not apply (data-theme=' + t1[0] + ', iap.theme=' + t1[1] + ')');
|
|
||||||
await page.waitForTimeout(600); const acct = await (await page.request.get(LOCAL + '/api/me')).json();
|
|
||||||
if (acct.theme !== 'dark') note('bug', label, 'account did not store the theme (got ' + acct.theme + ')');
|
|
||||||
const onProfile = await page.evaluate(() => { const b = document.querySelector('#pane-profile .theme-seg [data-theme="dark"]'); return b && b.classList.contains('on'); });
|
|
||||||
if (!onProfile) note('bug', label, 'Profile control did not repaint after a header change');
|
|
||||||
const saved2 = page.waitForResponse(r => r.url().includes('/api/my/profile'), { timeout: 10000 }).catch(() => null); await prof.click(); await saved2; await page.waitForTimeout(300);
|
|
||||||
const t2 = await page.evaluate(() => document.documentElement.getAttribute('data-theme'));
|
|
||||||
if (t2 !== 'light') note('bug', label, 'Light from the Profile card did not apply (data-theme=' + t2 + ')');
|
|
||||||
const acct2 = await (await page.request.get(LOCAL + '/api/me')).json();
|
|
||||||
if (acct2.theme !== 'light') note('bug', label, 'account did not follow the Profile card (got ' + acct2.theme + ')');
|
|
||||||
if (acct2.username !== acct.username) note('bug', label, 'a theme save touched the username');
|
|
||||||
// restore the walk's theme so the remaining screenshots match the set
|
|
||||||
await page.evaluate(t => { if (t) window.IAPTheme.set(t); else { localStorage.removeItem('iap.theme'); window.IAPTheme.apply(); } }, THEME);
|
|
||||||
await page.evaluate(t => fetch('/api/my/profile', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ theme: t || null }) }).then(r => r.status), THEME); // awaited: a save still in flight would abort on the next navigation
|
|
||||||
await page.waitForTimeout(400);
|
|
||||||
}
|
|
||||||
await page.screenshot({ path: OUT + '/my-profile-theme' + SUF + '.png' }).catch(() => {});
|
|
||||||
flush(bag, label); console.log('ok', label);
|
|
||||||
}
|
|
||||||
// public home, the member's wall and a campaign (join) page on the local copy, in this theme
|
|
||||||
for (const p of ['/', '/wall/qawalker', '/join/qawalker', '/join/qawalker?v=instant']) {
|
|
||||||
const label = L + p;
|
|
||||||
await page.goto(LOCAL + p, { waitUntil: 'domcontentloaded' }).catch(e => note('bug', label, 'navigation failed: ' + e.message.slice(0, 120))); await page.waitForTimeout(1500); await hide(page);
|
|
||||||
await domChecks(page, label); flush(bag, label);
|
|
||||||
await page.screenshot({ path: OUT + '/public' + p.replace(/[^a-z0-9]+/gi, '-').replace(/-$/, '') + SUF + '.png', fullPage: p === '/' }).catch(() => {});
|
|
||||||
console.log('ok', label);
|
|
||||||
}
|
|
||||||
await page.goto(LOCAL + '/my', { waitUntil: 'load' }); await page.waitForTimeout(2500); await hide(page); // load, not networkidle: a signed-in member area keeps polling
|
|
||||||
const chat = await page.$('#chatMenuBtn'); if (chat) { await chat.click(); await page.waitForTimeout(800); await domChecks(page, L + 'messages'); flush(bag, L + 'messages'); }
|
const chat = await page.$('#chatMenuBtn'); if (chat) { await chat.click(); await page.waitForTimeout(800); await domChecks(page, L + 'messages'); flush(bag, L + 'messages'); }
|
||||||
const lo = await page.$('#logoutLink'); if (lo) { await lo.click(); await page.waitForTimeout(1000); }
|
const lo = await page.$('#logoutLink'); if (lo) { await lo.click(); await page.waitForTimeout(1000); }
|
||||||
if (!(await page.$('#authArea:not([hidden])'))) note('bug', L + 'logout', 'auth card not shown after log out');
|
if (!(await page.$('#authArea:not([hidden])'))) note('bug', L + 'logout', 'auth card not shown after log out');
|
||||||
@@ -288,7 +183,7 @@ if (MODE === 'member' || MODE === 'all') {
|
|||||||
const vis = await page.evaluate(id => { const el = document.getElementById('pane-' + id); return el && !el.hidden && el.offsetHeight > 40; }, pn);
|
const vis = await page.evaluate(id => { const el = document.getElementById('pane-' + id); return el && !el.hidden && el.offsetHeight > 40; }, pn);
|
||||||
if (!vis) note('bug', label, 'pane did not render');
|
if (!vis) note('bug', label, 'pane did not render');
|
||||||
await domChecks(page, label); flush(bag, label);
|
await domChecks(page, label); flush(bag, label);
|
||||||
await page.screenshot({ path: OUT + '/admin-' + pn + SUF + '.png' }).catch(() => {});
|
await page.screenshot({ path: OUT + '/admin-' + pn + '.png' }).catch(() => {});
|
||||||
console.log('ok', label);
|
console.log('ok', label);
|
||||||
}
|
}
|
||||||
// admin Support pane: the member's ticket is listed, opens, takes an internal note and a reply; the member then sees the reply and an unread badge
|
// admin Support pane: the member's ticket is listed, opens, takes an internal note and a reply; the member then sees the reply and an unread badge
|
||||||
|
|||||||
@@ -1,112 +0,0 @@
|
|||||||
// Warp & Wares integration, end to end against a LOCAL copy (2026-10-29).
|
|
||||||
// node qa/warpwares.mjs (or: bash qa/run.sh warpwares)
|
|
||||||
// Boots server.js on its own port with a throwaway DATA_DIR and throwaway WW/DR secrets, plus a mock Warp & Wares game server
|
|
||||||
// that records the signed dock callbacks. Nothing touches production: WW_URL and DR_URL point at the mock.
|
|
||||||
// Covers: the Games card hidden until gamesLive has 'warpwares' (then live with its season window), the hand-off (/api/my/warpwares
|
|
||||||
// signed out -> /my with the return cookie; signed in -> the game's /auth with a token signed by WW_SSO_SECRET), a sponsor dock on
|
|
||||||
// the refuel rail (open -> challenge -> done -> receipt kind ww-dock + callback), the dock cap (visit kind 'dock', separate from
|
|
||||||
// refuels), and the chatbot's canned answer following gamesLive. Exit code 1 on any failure.
|
|
||||||
import http from 'node:http';
|
|
||||||
import crypto from 'node:crypto';
|
|
||||||
import fs from 'node:fs';
|
|
||||||
import os from 'node:os';
|
|
||||||
import path from 'node:path';
|
|
||||||
import { spawn } from 'node:child_process';
|
|
||||||
|
|
||||||
const SITE = path.resolve(path.dirname(new URL(import.meta.url).pathname.replace(/^\/([A-Za-z]:)/, '$1')), '..');
|
|
||||||
const PORT = Number(process.env.WW_QA_PORT || 8803), MOCK = PORT + 100;
|
|
||||||
const B = 'http://127.0.0.1:' + PORT, WW = 'http://127.0.0.1:' + MOCK;
|
|
||||||
const SECRET = crypto.randomBytes(24).toString('hex'), DRSECRET = crypto.randomBytes(24).toString('hex'); // throwaway, never printed
|
|
||||||
const ADMIN = 'localtest', ADMIN_EMAIL = 'qa-admin@example.com';
|
|
||||||
const DATA = fs.mkdtempSync(path.join(os.tmpdir(), 'iap-ww-')); fs.mkdirSync(path.join(DATA, 'uploads'));
|
|
||||||
const CAP = { rocket: '\u{1F680}', 'lightning bolt': '⚡', key: '\u{1F511}', target: '\u{1F3AF}', wave: '\u{1F30A}', flame: '\u{1F525}', diamond: '\u{1F48E}', magnet: '\u{1F9F2}', bell: '\u{1F514}', moon: '\u{1F319}' };
|
|
||||||
let fails = 0; const ok = (cond, label, extra) => { console.log((cond ? 'PASS ' : 'FAIL ') + label + (extra ? ' ' + extra : '')); if (!cond) fails++; };
|
|
||||||
const sleep = ms => new Promise(r => setTimeout(r, ms));
|
|
||||||
const ctDay = (plus) => new Date(Date.now() + (plus || 0) * 86400000).toLocaleDateString('en-CA', { timeZone: 'America/Chicago' });
|
|
||||||
|
|
||||||
// -- the mock game: records dock callbacks, serves a page for the visit target
|
|
||||||
const callbacks = [];
|
|
||||||
const mock = http.createServer((req, res) => {
|
|
||||||
let raw = ''; req.on('data', c => raw += c); req.on('end', () => {
|
|
||||||
if (req.url === '/api/dock/callback' && req.method === 'POST') { callbacks.push(raw); res.writeHead(200, { 'Content-Type': 'application/json' }); return res.end('{"ok":true}'); }
|
|
||||||
res.writeHead(200, { 'Content-Type': 'text/html' }); res.end('<!doctype html><title>member page</title><p>hello</p>');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
await new Promise(r => mock.listen(MOCK, '127.0.0.1', r));
|
|
||||||
|
|
||||||
const b64u = b => Buffer.from(b).toString('base64').replace(/=+$/, '').replace(/\+/g, '-').replace(/\//g, '_');
|
|
||||||
const mint = (claims, secret, ttl) => { const p = JSON.stringify(Object.assign({ iat: Date.now(), exp: Date.now() + (ttl || 900000) }, claims)); return b64u(p) + '.' + b64u(crypto.createHmac('sha256', secret || SECRET).update(p).digest()); };
|
|
||||||
const verify = (tok, secret) => { const [p, s] = String(tok).split('.'); const payload = Buffer.from(p.replace(/-/g, '+').replace(/_/g, '/'), 'base64').toString('utf8'); return b64u(crypto.createHmac('sha256', secret || SECRET).update(payload).digest()) === s ? JSON.parse(payload) : null; };
|
|
||||||
|
|
||||||
const srv = spawn(process.execPath, ['server.js'], { cwd: SITE, stdio: ['ignore', 'pipe', 'pipe'],
|
|
||||||
env: Object.assign({}, process.env, { PORT: String(PORT), DATA_DIR: DATA, NODE_ENV: 'development', ADMIN_EMAIL, ADMIN_PASSWORD: ADMIN, WW_SSO_SECRET: SECRET, WW_URL: WW, WW_SEASON_START: ctDay(0), WW_SEASON_END: ctDay(30), DR_SSO_SECRET: DRSECRET, DR_URL: WW }) });
|
|
||||||
let srvLog = ''; srv.stdout.on('data', d => srvLog += d); srv.stderr.on('data', d => srvLog += d);
|
|
||||||
const cleanup = () => { try { srv.kill(); } catch (e) {} try { mock.close(); } catch (e) {} try { fs.rmSync(DATA, { recursive: true, force: true }); } catch (e) {} };
|
|
||||||
|
|
||||||
try {
|
|
||||||
let up = false; for (let i = 0; i < 30 && !up; i++) { try { up = (await fetch(B + '/api/config')).ok; } catch (e) { await sleep(500); } }
|
|
||||||
if (!up) throw new Error('local server did not come up:\n' + srvLog.slice(-2000));
|
|
||||||
const api = async (p, body, hdr) => { const r = await fetch(B + p, body ? { method: body.method || 'POST', headers: Object.assign({ 'Content-Type': 'application/json' }, hdr || {}), body: JSON.stringify(body.data || body), redirect: 'manual' } : { headers: hdr || {}, redirect: 'manual' }); let j = null; try { j = await r.json(); } catch (e) {} return { status: r.status, j, loc: r.headers.get('location'), cookies: r.headers.getSetCookie ? r.headers.getSetCookie() : [] }; };
|
|
||||||
const adminH = { Authorization: 'Bearer ' + ADMIN };
|
|
||||||
async function signIn(email, username) {
|
|
||||||
const s = await api('/api/auth/email/start', { email, fts: Date.now() - 5000 });
|
|
||||||
const v = await fetch(B + '/api/auth/email/verify', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ email, code: s.j && s.j.devCode }) });
|
|
||||||
const cookie = (v.headers.getSetCookie ? v.headers.getSetCookie() : [v.headers.get('set-cookie')]).map(c => String(c).split(';')[0]).join('; ');
|
|
||||||
if (username) await api('/api/my/profile', { username }, { Cookie: cookie });
|
|
||||||
return cookie;
|
|
||||||
}
|
|
||||||
await api('/api/admin/site', { method: 'PATCH', data: { fraudMaxSignupsPerIpDay: 10 } }, adminH);
|
|
||||||
await api('/api/admin/rates', { method: 'PATCH', data: { visitDwellSeconds: 2, dockCapPerDay: 1, refuelCapPerDay: 20 } }, adminH);
|
|
||||||
await signIn('house@instantadpay.com', 'househaunt');
|
|
||||||
let seed = await api('/api/admin/campaigns', { type: 'visits', name: 'QA dock', targetUrl: WW + '/member-page', title: 'A member page', count: 20 }, adminH);
|
|
||||||
if (!(seed.j && seed.j.ok)) seed = await api('/api/admin/campaigns', { type: 'visits', name: 'QA dock', targetUrl: 'https://rmcircle.team/contract', title: 'A member page', count: 20 }, adminH); // the URL check refuses custom ports
|
|
||||||
ok(seed.j && seed.j.ok, 'seed a visits pack', seed.j && seed.j.ok ? '#' + seed.j.campaign.id : JSON.stringify(seed.j));
|
|
||||||
const cid = seed.j && seed.j.campaign && seed.j.campaign.id;
|
|
||||||
|
|
||||||
// 1. hidden until gamesLive has it; the chatbot says coming soon
|
|
||||||
let g = (await api('/api/public/games')).j; ok(g && !(g.games || []).some(x => x.slug === 'warpwares'), 'Games list hides Warp & Wares before gamesLive');
|
|
||||||
let chat = (await api('/api/chat', { message: 'What is Warp & Wares?' })).j; ok(chat && /coming soon/i.test(chat.reply || '') && /Warp & Wares/.test(chat.reply || ''), 'chatbot: coming soon before gamesLive', chat && String(chat.reply).slice(0, 90));
|
|
||||||
await api('/api/admin/site', { method: 'PATCH', data: { gamesLive: 'polhunter,warpwares' } }, adminH);
|
|
||||||
g = (await api('/api/public/games')).j; const card = g && (g.games || []).find(x => x.slug === 'warpwares');
|
|
||||||
ok(card && /ends/i.test(card.tag) && card.seasonal === true && card.art === WW + '/og-warpwares.jpg', 'Games list shows the seasonal card once in gamesLive, the tag naming the season end', JSON.stringify(card));
|
|
||||||
const all = (await api('/api/public/games/all')).j; const cardAll = all && (all.games || []).find(x => x.slug === 'warpwares');
|
|
||||||
ok(!all || (cardAll && cardAll.live === true && cardAll.season && cardAll.season.ends && cardAll.open === WW + '/'), 'the full games list shows it live with its season window', JSON.stringify(cardAll && { live: cardAll.live, season: cardAll.season, open: cardAll.open }));
|
|
||||||
chat = (await api('/api/chat', { message: 'What is Warp & Wares?' })).j; ok(chat && /200 turns/.test(chat.reply || '') && !/coming soon/i.test(chat.reply || ''), 'chatbot: the canned answer once live', chat && String(chat.reply).slice(0, 90));
|
|
||||||
chat = (await api('/api/chat', { message: 'What is a sponsor dock?' })).j; ok(chat && /bonus turns/.test(chat.reply || ''), 'chatbot: sponsor dock question lands on the canned answer');
|
|
||||||
|
|
||||||
// 2. the hand-off
|
|
||||||
let h = await api('/api/my/warpwares'); ok(h.status === 302 && /^\/my/.test(h.loc || '') && h.cookies.some(c => /iap\.return=warpwares/.test(c)), 'signed out: /api/my/warpwares sends to /my with the return cookie', h.loc);
|
|
||||||
const player = 'qa-warpwares@example.com'; const playerCookie = await signIn(player, 'qaww');
|
|
||||||
h = await api('/api/my/warpwares', null, { Cookie: playerCookie }); ok(h.status === 302 && String(h.loc || '').startsWith(WW + '/auth?t='), 'signed in: the hand-off goes to the game /auth', h.loc);
|
|
||||||
const tok = h.loc && verify(decodeURIComponent(h.loc.split('t=')[1]));
|
|
||||||
ok(tok && tok.email === player && tok.username === 'qaww' && tok.nonce && tok.exp > Date.now() && !tok.kind, 'the token is signed with WW_SSO_SECRET and carries email, username, a nonce and no kind', JSON.stringify(tok && { email: tok.email, username: tok.username, memberId: tok.memberId }));
|
|
||||||
|
|
||||||
// 3. a sponsor dock on the refuel rail: open -> challenge -> done -> receipt + callback
|
|
||||||
const n1 = crypto.randomBytes(12).toString('hex'), ret1 = WW + '/play?dock=' + n1;
|
|
||||||
const t1 = mint({ aud: 'iap', kind: 'refuel', game: 'warpwares', nonce: n1, email: player, memberId: 77, username: 'qaww', ret: ret1, cb: WW + '/api/dock/callback' });
|
|
||||||
const o1 = (await api('/api/refuel/open?t=' + encodeURIComponent(t1))).j;
|
|
||||||
ok(o1 && o1.mode === 'visit' && o1.game === 'Warp & Wares' && o1.label === 'sponsor dock' && o1.dwell === 2 && o1.ret === ret1, 'open serves a visit as a sponsor dock', JSON.stringify(o1));
|
|
||||||
const bad = (await api('/api/refuel/open?t=' + encodeURIComponent(mint({ aud: 'iap', kind: 'refuel', game: 'warpwares', nonce: 'x', email: player, ret: 'https://evil.example/play', cb: WW + '/api/dock/callback' })))).j;
|
|
||||||
ok(bad && /Warp & Wares link/.test(bad.error || ''), 'a return address off the game is refused', bad && bad.error);
|
|
||||||
const early = (await api('/api/refuel/challenge?n=' + n1)).j; ok(early && early.early, 'challenge refuses before the dwell');
|
|
||||||
await sleep(2200);
|
|
||||||
let ch = (await api('/api/refuel/challenge?n=' + n1)).j; ok(ch && ch.prompt && ch.options.length === 5, 'challenge after the dwell', ch && ch.prompt);
|
|
||||||
const d1 = (await api('/api/refuel/done', { n: n1, answer: ch.options.indexOf(CAP[ch.prompt]) })).j;
|
|
||||||
ok(d1 && d1.ok && d1.posted === true && d1.game === 'Warp & Wares' && d1.label === 'sponsor dock' && String(d1.ret).startsWith(ret1 + '&ok=1&r='), 'done ok, callback posted, redirect ret&ok=1&r=<receipt>', JSON.stringify(d1 && { ok: d1.ok, posted: d1.posted, label: d1.label }));
|
|
||||||
const rc = d1 && verify(new URL(d1.ret).searchParams.get('r'));
|
|
||||||
ok(rc && rc.kind === 'ww-dock' && rc.nonce === n1 && rc.email === player && rc.campaignId === cid && Number.isFinite(rc.credits), 'receipt kind ww-dock with the nonce, email, campaign and credits (an admin pack is a house ad: 0 credits)', JSON.stringify(rc && { kind: rc.kind, campaignId: rc.campaignId, credits: rc.credits }));
|
|
||||||
const cb = callbacks[0] && JSON.parse(callbacks[0]); const cbc = cb && verify(cb.t);
|
|
||||||
ok(cbc && cbc.kind === 'ww-dock' && cbc.nonce === n1, 'the callback carried the same signed receipt');
|
|
||||||
const again = (await api('/api/refuel/open?t=' + encodeURIComponent(t1))).j; ok(again && again.done && again.ret === d1.ret, 're-open after done returns the same receipt redirect');
|
|
||||||
// 4. the dock cap (1 today) is its own kind: a second dock says cap, a Drip Runner refuel still opens
|
|
||||||
const n2 = crypto.randomBytes(12).toString('hex');
|
|
||||||
const o2 = (await api('/api/refuel/open?t=' + encodeURIComponent(mint({ aud: 'iap', kind: 'refuel', game: 'warpwares', nonce: n2, email: player, memberId: 77, username: 'qaww', ret: WW + '/play?dock=' + n2, cb: WW + '/api/dock/callback' })))).j;
|
|
||||||
ok(o2 && o2.none === true && o2.why === 'cap' && o2.game === 'Warp & Wares', 'the second dock of the day hits the dock cap (dockCapPerDay 1)', JSON.stringify(o2));
|
|
||||||
const n3 = crypto.randomBytes(12).toString('hex');
|
|
||||||
const o3 = (await api('/api/refuel/open?t=' + encodeURIComponent(mint({ aud: 'iap', kind: 'refuel', nonce: n3, email: player, memberId: 77, ret: WW + '/play?refuel=' + n3 }, DRSECRET)))).j;
|
|
||||||
ok(o3 && o3.why !== 'cap' && o3.game === 'Drip Runner', 'a Drip Runner refuel is not touched by the dock cap (separate kinds)', JSON.stringify(o3 && { mode: o3.mode, none: o3.none, why: o3.why, game: o3.game }));
|
|
||||||
const camps = (await api('/api/admin/campaigns', null, adminH)).j; const pack = camps && (camps.campaigns || []).find(x => x.id === cid);
|
|
||||||
ok(pack && pack.imps === 1, 'the dock counted one delivery on the advertiser pack', pack && String(pack.imps));
|
|
||||||
} catch (e) { ok(false, 'run', e.message); }
|
|
||||||
cleanup();
|
|
||||||
console.log(fails ? '\n' + fails + ' FAILED' : '\nall passed'); process.exit(fails ? 1 : 0);
|
|
||||||
@@ -3,7 +3,6 @@
|
|||||||
// Storage: DATA_DIR/releases.json { notes: [{id, date, title, body, tags[]}], roadmap: [{id, title, note, status, eta}] }
|
// Storage: DATA_DIR/releases.json { notes: [{id, date, title, body, tags[]}], roadmap: [{id, title, note, status, eta}] }
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const themehead = require('./themehead'); // light/dark theme head script (2026-11-01)
|
|
||||||
let FILE = null;
|
let FILE = null;
|
||||||
const SITE = 'https://instantadpay.com';
|
const SITE = 'https://instantadpay.com';
|
||||||
const TAGS = ['new', 'improved', 'fixed'];
|
const TAGS = ['new', 'improved', 'fixed'];
|
||||||
@@ -55,10 +54,10 @@ const tagChip = t => '<span class="tagc tag-' + t + '">' + t + '</span>';
|
|||||||
function renderPage() {
|
function renderPage() {
|
||||||
const v = publicView();
|
const v = publicView();
|
||||||
const desc = 'What changed on InstantAdPay and what is coming next: release notes and the roadmap, updated as things ship.';
|
const desc = 'What changed on InstantAdPay and what is coming next: release notes and the roadmap, updated as things ship.';
|
||||||
let h = '<!doctype html><html lang="en"' + themehead.htmlAttr('dark') + '><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>What\'s new | InstantAdPay</title>'
|
let h = '<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>What\'s new | InstantAdPay</title>'
|
||||||
+ '<meta name="description" content="' + esc(desc) + '"><link rel="canonical" href="' + SITE + '/whats-new"><meta property="og:title" content="What\'s new on InstantAdPay"><meta property="og:description" content="' + esc(desc) + '"><meta property="og:image" content="' + SITE + '/banners/iap-hero-1200x630.png"><meta name="twitter:card" content="summary_large_image">'
|
+ '<meta name="description" content="' + esc(desc) + '"><link rel="canonical" href="' + SITE + '/whats-new"><meta property="og:title" content="What\'s new on InstantAdPay"><meta property="og:description" content="' + esc(desc) + '"><meta property="og:image" content="' + SITE + '/banners/iap-hero-1200x630.png"><meta name="twitter:card" content="summary_large_image">'
|
||||||
+ '<link rel="icon" type="image/png" href="/logo-icon.png"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">' + themehead.tag() + '<link rel="stylesheet" href="/assets/site.css?v=20261101th">'
|
+ '<link rel="icon" type="image/png" href="/logo-icon.png"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap"><link rel="stylesheet" href="/assets/site.css?v=20260913a">'
|
||||||
+ '<style>.wn{max-width:820px}.wn h1{margin:10px 0 6px}.wn .lead{margin:0 0 26px}.note{border-left:3px solid var(--mint);padding:4px 0 4px 18px;margin:0 0 26px}.note h2{font-size:21px;margin:0 0 4px}.note .when{color:var(--muted);font-size:13px;margin:0 0 8px}.note p,.note li{max-width:68ch}.note ul{margin:6px 0 0 20px}.tagc{display:inline-block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:2px 9px;margin-left:8px;vertical-align:middle;border:1px solid var(--line);color:var(--muted)}.tag-new{color:var(--mint);border-color:var(--mint-line-2)}.tag-improved{color:var(--cyan);border-color:var(--cyan-line)}.tag-fixed{color:var(--gold);border-color:var(--gold-line)}.rm{display:grid;gap:10px;margin:0 0 30px}.rmi{display:flex;gap:14px;align-items:flex-start;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 16px}.rmi b{display:block}.rmi span{color:var(--muted);font-size:14px}.st{flex:0 0 auto;font-size:11px;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:3px 10px;border:1px solid var(--line);color:var(--muted);margin-top:3px}.st-building{color:var(--mint);border-color:var(--mint-line-2)}.st-planned{color:var(--cyan);border-color:var(--cyan-line)}</style></head><body><div class="wrap wn">'
|
+ '<style>.wn{max-width:820px}.wn h1{margin:10px 0 6px}.wn .lead{margin:0 0 26px}.note{border-left:3px solid var(--mint);padding:4px 0 4px 18px;margin:0 0 26px}.note h2{font-size:21px;margin:0 0 4px}.note .when{color:var(--muted);font-size:13px;margin:0 0 8px}.note p,.note li{max-width:68ch}.note ul{margin:6px 0 0 20px}.tagc{display:inline-block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:2px 9px;margin-left:8px;vertical-align:middle;border:1px solid var(--line);color:var(--muted)}.tag-new{color:var(--mint);border-color:rgba(67,232,195,.5)}.tag-improved{color:#8fd8f0;border-color:rgba(143,216,240,.5)}.tag-fixed{color:#ffd15c;border-color:rgba(255,209,92,.5)}.rm{display:grid;gap:10px;margin:0 0 30px}.rmi{display:flex;gap:14px;align-items:flex-start;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 16px}.rmi b{display:block}.rmi span{color:var(--muted);font-size:14px}.st{flex:0 0 auto;font-size:11px;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:3px 10px;border:1px solid var(--line);color:var(--muted);margin-top:3px}.st-building{color:var(--mint);border-color:rgba(67,232,195,.5)}.st-planned{color:#8fd8f0;border-color:rgba(143,216,240,.5)}</style></head><body><div class="wrap wn">'
|
||||||
+ '<section class="hero" style="padding:56px 0 8px"><p class="eyebrow">Release notes and roadmap</p><h1>What\'s new, <em>and what\'s next</em>.</h1><p class="lead">' + esc(desc) + '</p></section>';
|
+ '<section class="hero" style="padding:56px 0 8px"><p class="eyebrow">Release notes and roadmap</p><h1>What\'s new, <em>and what\'s next</em>.</h1><p class="lead">' + esc(desc) + '</p></section>';
|
||||||
h += '<h2 style="font-size:24px;margin:0 0 12px">On the roadmap</h2>';
|
h += '<h2 style="font-size:24px;margin:0 0 12px">On the roadmap</h2>';
|
||||||
h += v.roadmap.length ? '<div class="rm">' + v.roadmap.map(r => '<div class="rmi"><span class="st st-' + r.status + '">' + r.status + (r.eta ? ' · ' + esc(r.eta) : '') + '</span><div><b>' + esc(r.title) + '</b>' + (r.note ? '<span>' + esc(r.note) + '</span>' : '') + '</div></div>').join('') + '</div>' : '<p class="muted">Nothing queued right now.</p>';
|
h += v.roadmap.length ? '<div class="rm">' + v.roadmap.map(r => '<div class="rmi"><span class="st st-' + r.status + '">' + r.status + (r.eta ? ' · ' + esc(r.eta) : '') + '</span><div><b>' + esc(r.title) + '</b>' + (r.note ? '<span>' + esc(r.note) + '</span>' : '') + '</div></div>').join('') + '</div>' : '<p class="muted">Nothing queued right now.</p>';
|
||||||
|
|||||||
@@ -1,145 +0,0 @@
|
|||||||
// Link-farm scan (Marty, 2026-10-30). BYTE-FOR-BYTE COPY in both repos (InstantAdPay site/ and LinkSpin site/): the two
|
|
||||||
// sites must flag the same accounts by the same rule; qa/profile-policy.test.cjs on each side hashes this file and
|
|
||||||
// prohibited.js against the sibling checkout when it is present. Edit one, copy to the other, never fork.
|
|
||||||
//
|
|
||||||
// Why: an SEO backlink farm opened 106 free accounts with casino and local-business bios plus a website link, and the public
|
|
||||||
// walls put that text in front of Google. The accounts are gone; this job finds the next batch before the crawler does.
|
|
||||||
// What: an in-app daily job (checked every few minutes, claimOnce per Central day, runs at 06:30 Central; replaces a server
|
|
||||||
// cron) lists accounts with memberId 0 and no wallet that carry a link (URL in the bio, or any social set) AND at least
|
|
||||||
// one farm signal: a prohibited term in the bio or socials, a sign-in that stopped within 15 minutes of the sign-up, or
|
|
||||||
// no sponsor at all. Emails on the site's spamScanAllow setting are skipped. The result lands in DATA_DIR/wall-spam-scan.json
|
|
||||||
// and, only when there are candidates, ONE Telegram goes to the private admin chat. The admin pane "Link-farm list"
|
|
||||||
// (Admin > Members) shows the rows with delete (the existing DELETE /api/admin/member, which refuses on-chain members) and
|
|
||||||
// allow (adds the email to spamScanAllow). Nothing is deleted automatically, and nothing cascades to the other site.
|
|
||||||
'use strict';
|
|
||||||
const fs = require('fs');
|
|
||||||
const path = require('path');
|
|
||||||
const P = require('./prohibited');
|
|
||||||
|
|
||||||
const TZ = 'America/Chicago';
|
|
||||||
const dayOf = ts => new Date(ts).toLocaleDateString('en-CA', { timeZone: TZ });
|
|
||||||
const minuteOf = ts => { const [h, m] = new Date(ts).toLocaleTimeString('en-GB', { timeZone: TZ, hour: '2-digit', minute: '2-digit', hour12: false }).split(':').map(Number); return h * 60 + m; };
|
|
||||||
const RUN_AT = 6 * 60 + 30; // 06:30 Central
|
|
||||||
const QUICK_MS = 15 * 60 * 1000;
|
|
||||||
const DEFAULT_ALLOW = ['cryptogoat76@gmail.com', 'csicsokaren@gmail.com', 'osamedefe2026@gmail.com'];
|
|
||||||
const SOCIAL_KEYS = ['facebook', 'twitter', 'youtube', 'instagram', 'tiktok', 'telegram', 'linkedin', 'website', 'video'];
|
|
||||||
const LINK_KEYS = ['website', 'twitter', 'youtube']; // the fields a farm comes for (quarantine rule at profile save)
|
|
||||||
|
|
||||||
let X = null, FILE = null, S = null, running = false;
|
|
||||||
// opts: { dataDir, site, siteUrl, accounts, siteConfig(), saveSite(patch), notify(text) async, marks?, alsoOn?(email) async -> true|false|null, otherSite }
|
|
||||||
function init(opts) { X = opts; FILE = path.join(opts.dataDir, 'wall-spam-scan.json'); S = load(); }
|
|
||||||
function load() { try { return JSON.parse(fs.readFileSync(FILE, 'utf8')); } catch (e) { return { day: null, at: 0, candidates: [], scanned: 0, skipped: 0 }; } }
|
|
||||||
function save() { try { fs.writeFileSync(FILE, JSON.stringify(S, null, 2)); } catch (e) {} }
|
|
||||||
async function claimOnce(key) { try { return X.marks ? await X.marks.claim(key) : true; } catch (e) { return true; } }
|
|
||||||
const norm = e => String(e || '').trim().toLowerCase();
|
|
||||||
|
|
||||||
function parseSocials(v) { if (!v) return null; if (typeof v === 'object') return v; try { const o = JSON.parse(v); return o && typeof o === 'object' ? o : null; } catch (e) { return null; } }
|
|
||||||
// every link a profile carries, socials first, then URLs picked out of the bio
|
|
||||||
function linksOf(a) {
|
|
||||||
const out = []; const soc = parseSocials(a.socials) || {};
|
|
||||||
for (const k of SOCIAL_KEYS) { const v = String(soc[k] || '').trim(); if (v) out.push(v); }
|
|
||||||
const m = String(a.bio || '').match(/https?:\/\/[^\s<>"']+|(?:www\.)?[a-z0-9-]+(?:\.[a-z0-9-]+)*\.[a-z]{2,24}(?:\/[^\s<>"']*)?/gi);
|
|
||||||
if (m) for (const u of m) if (!out.includes(u)) out.push(u);
|
|
||||||
return out;
|
|
||||||
}
|
|
||||||
// Allowlist: the site setting (array or comma/space separated string) plus the seeded three.
|
|
||||||
function allowlist() {
|
|
||||||
const c = (X && X.siteConfig && X.siteConfig()) || {};
|
|
||||||
const raw = c.spamScanAllow == null ? DEFAULT_ALLOW : c.spamScanAllow;
|
|
||||||
const arr = Array.isArray(raw) ? raw : String(raw).split(/[\s,;]+/);
|
|
||||||
return [...new Set(arr.map(norm).filter(Boolean))];
|
|
||||||
}
|
|
||||||
function setAllow(email, on) {
|
|
||||||
const list = allowlist(); const e = norm(email); if (!e) return list;
|
|
||||||
const next = on ? [...new Set(list.concat(e))] : list.filter(x => x !== e);
|
|
||||||
if (X.saveSite) X.saveSite({ spamScanAllow: next.join(', ') });
|
|
||||||
return next;
|
|
||||||
}
|
|
||||||
|
|
||||||
// The detector. Pure: account in, verdict out. `allow` is a Set of lower-cased emails (defaults to the site allowlist).
|
|
||||||
function classify(a, allow, now) {
|
|
||||||
now = now || Date.now();
|
|
||||||
const r = { email: a.email, candidate: false, reasons: [], links: [] };
|
|
||||||
if (!a || !a.email) return r;
|
|
||||||
if (Number(a.memberId) > 0) return r; // a buyer is a member, never a candidate
|
|
||||||
if (a.address) return r; // a wallet means they came to earn, not to plant a link
|
|
||||||
const bioUrl = P.hasUrl(a.bio);
|
|
||||||
const soc = parseSocials(a.socials); const socialsPresent = !!(soc && SOCIAL_KEYS.some(k => String(soc[k] || '').trim()));
|
|
||||||
if (!bioUrl && !socialsPresent && !a.profileQuarantined) return r;
|
|
||||||
r.links = linksOf(a);
|
|
||||||
const term = P.match(a.bio) || (soc ? SOCIAL_KEYS.map(k => P.match(soc[k])).find(Boolean) : null);
|
|
||||||
if (term) r.reasons.push('prohibited:' + term);
|
|
||||||
const seen = Number(a.lastSeen) || Number(a.created) || now;
|
|
||||||
if (Number(a.created) && seen - Number(a.created) < QUICK_MS) r.reasons.push('quick');
|
|
||||||
if (!a.sponsorRef) r.reasons.push('no-sponsor');
|
|
||||||
if (a.profileQuarantined) r.reasons.push('quarantined');
|
|
||||||
if (!r.reasons.length) return r;
|
|
||||||
if ((allow || new Set(allowlist())).has(norm(a.email))) { r.allowlisted = true; return r; }
|
|
||||||
r.candidate = true;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
// Quarantine rule at profile save (Marty): a brand-new account (memberId 0, no wallet, no sponsor, younger than 24 h)
|
|
||||||
// whose FIRST profile save carries a URL in the bio or a website / X / YouTube social is saved with profileQuarantined.
|
|
||||||
function shouldQuarantine(acct, bio, socials, now) {
|
|
||||||
now = now || Date.now();
|
|
||||||
if (!acct || Number(acct.memberId) > 0 || acct.address || acct.sponsorRef) return false;
|
|
||||||
if (!(Number(acct.created) > 0) || now - Number(acct.created) >= 24 * 3600 * 1000) return false;
|
|
||||||
if (acct.bio || parseSocials(acct.socials)) return false; // not the first save
|
|
||||||
const soc = parseSocials(socials) || {};
|
|
||||||
return P.hasUrl(bio) || LINK_KEYS.some(k => String(soc[k] || '').trim());
|
|
||||||
}
|
|
||||||
const QUARANTINE_NOTICE = 'Your profile links will appear after your first ad package.';
|
|
||||||
|
|
||||||
// One pass over every account. Writes the result file; sends the Telegram when there is anything to review.
|
|
||||||
async function run(opts) {
|
|
||||||
if (running) return S; running = true;
|
|
||||||
try {
|
|
||||||
const now = Date.now(); const allow = new Set(allowlist());
|
|
||||||
const all = await X.accounts.listAll(50000, { shells: true });
|
|
||||||
const names = new Map(); for (const a of all) { if (a.username) names.set(norm(a.username), a); if (a.code) names.set(norm(a.code), a); }
|
|
||||||
const out = []; let skipped = 0;
|
|
||||||
for (const a of all) {
|
|
||||||
const c = classify(a, allow, now);
|
|
||||||
if (c.allowlisted) { skipped++; continue; }
|
|
||||||
if (!c.candidate) continue;
|
|
||||||
const sp = a.sponsorRef ? names.get(norm(a.sponsorRef)) : null;
|
|
||||||
let alsoOn = null; try { alsoOn = X.alsoOn ? await X.alsoOn(a.email, a) : null; } catch (e) { alsoOn = null; }
|
|
||||||
out.push({ email: a.email, username: a.username || null, created: Number(a.created) || 0, lastSeen: Number(a.lastSeen) || 0, sponsorRef: a.sponsorRef || '',
|
|
||||||
sponsorName: sp ? (sp.username ? '@' + sp.username : sp.email) : (a.sponsorRef || null), firstLink: c.links[0] || null, links: c.links.slice(0, 6), reasons: c.reasons,
|
|
||||||
bio: String(a.bio || '').slice(0, 160), quarantined: !!a.profileQuarantined, alsoOn });
|
|
||||||
}
|
|
||||||
out.sort((x, y) => y.created - x.created);
|
|
||||||
// watch list (Marty 2026-10-31: do not delete the candidates yet, watch whether they activate a wallet or do something real):
|
|
||||||
// every candidate carries firstSeen from the previous run; the Telegram goes out only when something CHANGED, listing the
|
|
||||||
// accounts that are new since the last run and the ones that left the list (linked a wallet, bought, or were deleted),
|
|
||||||
// with the count still being watched. A list that merely persists is silence.
|
|
||||||
const prev = new Map((S.candidates || []).map(c => [c.email, c]));
|
|
||||||
for (const c of out) { const p = prev.get(c.email); c.firstSeen = p && p.firstSeen ? p.firstSeen : (p ? p.created || now : now); }
|
|
||||||
const fresh = out.filter(c => !prev.has(c.email));
|
|
||||||
const nowSet = new Set(out.map(c => c.email));
|
|
||||||
const left = [...prev.values()].filter(c => !nowSet.has(c.email) && !allow.has(norm(c.email)));
|
|
||||||
S = { day: dayOf(now), at: now, candidates: out, scanned: all.length, skipped, manual: !!(opts && opts.manual), fresh: fresh.map(c => c.email), left: left.map(c => c.email) }; save();
|
|
||||||
if ((fresh.length || left.length) && !(opts && opts.quiet)) { try { await X.notify(telegramText(out, now, { fresh, left })); S.notified = now; save(); } catch (e) { console.error('spamscan notify', e.message); } }
|
|
||||||
console.log('spamscan', X.site, 'scanned', all.length, 'candidates', out.length, 'allowlisted', skipped);
|
|
||||||
return S;
|
|
||||||
} finally { running = false; }
|
|
||||||
}
|
|
||||||
function telegramText(out, now, changes) {
|
|
||||||
const row = c => (c.username ? '@' + c.username : c.email) + ' | joined ' + dayOf(c.created || now) + ' | sponsor ' + (c.sponsorName || 'none') + ' | ' + (c.firstLink || 'no link') + (c.alsoOn === true ? ' | also on ' + X.otherSite : '');
|
|
||||||
const fresh = changes && changes.fresh ? changes.fresh : out, left = changes && changes.left ? changes.left : [];
|
|
||||||
const watched = out.length - fresh.length;
|
|
||||||
const lines = [X.site + ' link-farm scan (' + dayOf(now) + ', ' + X.siteUrl.replace(/^https?:\/\//, '') + '): ' + fresh.length + ' new, ' + watched + ' still watched, ' + left.length + ' left the list'];
|
|
||||||
if (fresh.length) { lines.push('New since the last run:'); for (const c of fresh.slice(0, 15)) lines.push(row(c)); if (fresh.length > 15) lines.push('... and ' + (fresh.length - 15) + ' more'); }
|
|
||||||
if (left.length) { lines.push('Left the list (linked a wallet, bought, or were deleted):'); for (const c of left.slice(0, 10)) lines.push(c.username ? '@' + c.username : c.email); if (left.length > 10) lines.push('... and ' + (left.length - 10) + ' more'); }
|
|
||||||
lines.push('Review in Admin > Members > Link-farm list');
|
|
||||||
return lines.join('\n');
|
|
||||||
}
|
|
||||||
// checked every few minutes from server.js: once per Central day, from 06:30 on
|
|
||||||
async function tick(now) {
|
|
||||||
now = now || Date.now(); const day = dayOf(now);
|
|
||||||
if (minuteOf(now) < RUN_AT || S.day === day) return { skipped: true };
|
|
||||||
if (!await claimOnce('spamscan:' + day)) { S.day = day; save(); return { skipped: true, claimedElsewhere: true }; }
|
|
||||||
return run();
|
|
||||||
}
|
|
||||||
function view() { return { site: X ? X.site : null, otherSite: X ? X.otherSite : null, last: S, allow: allowlist(), running }; }
|
|
||||||
module.exports = { init, classify, shouldQuarantine, linksOf, allowlist, setAllow, run, tick, view, telegramText, QUARANTINE_NOTICE, DEFAULT_ALLOW, RUN_AT, QUICK_MS, dayOf, minuteOf };
|
|
||||||
@@ -474,10 +474,7 @@ async function readyTick() {
|
|||||||
if (await alignToNetwork(a).catch(() => null)) { aligned++; continue; }
|
if (await alignToNetwork(a).catch(() => null)) { aligned++; continue; }
|
||||||
if (remoteOpen(a.email)) continue;
|
if (remoteOpen(a.email)) continue;
|
||||||
const rec = markReady(a);
|
const rec = markReady(a);
|
||||||
// linkedNow: the member was on the site when they became ready, so they linked the wallet just now; otherwise the
|
if (rec && !rec.notified) { rec.notified = clock(); fresh.push({ email: a.email, name: nameOf(a), username: a.username || null, until: rec.readyAt + READY_MS }); }
|
||||||
// wallet predates this tank visit (e.g. a dormant member returned by a sponsor; Marty 2026-10-29: the notice read as a
|
|
||||||
// fresh link) and the notice says so, with their last sign-in
|
|
||||||
if (rec && !rec.notified) { rec.notified = clock(); fresh.push({ email: a.email, name: nameOf(a), username: a.username || null, until: rec.readyAt + READY_MS, lastSeen: a.lastSeen || 0, linkedNow: (a.lastSeen || 0) >= rec.readyAt - 15 * 60 * 1000 }); }
|
|
||||||
}
|
}
|
||||||
RS.save();
|
RS.save();
|
||||||
const auto = await autoAssign();
|
const auto = await autoAssign();
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
// Theme head script (2026-11-01). Marty approved light and dark themes for LinkSpin and said InstantAdPay gets the same
|
|
||||||
// treatment: some readers are vision impaired, some struggle with bright screens, some with dark ones. This is the ONE
|
|
||||||
// source of the tiny inline script every page carries in its <head>, before any stylesheet, so the first paint is already
|
|
||||||
// the chosen theme (no flash). LinkSpin's themehead.js is the reference; only the storage key, the global and the event
|
|
||||||
// name differ (iap.theme / window.IAPTheme / "iap-theme").
|
|
||||||
//
|
|
||||||
// theme value: auto | light | dark, stored in localStorage "iap.theme"; signed-in members also keep it on the
|
|
||||||
// account (accounts.theme) and the account value wins at sign-in (common.js IAP.themeSync).
|
|
||||||
// data-theme on <html> is always resolved to light or dark (auto follows prefers-color-scheme and tracks changes).
|
|
||||||
// data-theme-choice carries the raw choice for the switch UI. window.IAPTheme = { get, set, apply, base }.
|
|
||||||
//
|
|
||||||
// Nothing stored => the page keeps its current look: data-theme-base on <html> says what that is. Every InstantAdPay page
|
|
||||||
// is a site.css page, so the base is dark everywhere. AUTO_DEFAULT below is the one constant Marty decides later: set it
|
|
||||||
// to 1 and pages with nothing stored follow the device instead. After changing it, run `node tools/stamp-theme-head.cjs`
|
|
||||||
// so every static page carries the new copy (server-rendered pages read this module directly).
|
|
||||||
const AUTO_DEFAULT = 0;
|
|
||||||
|
|
||||||
const BODY = '(function(){var A=' + AUTO_DEFAULT + ',h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",'
|
|
||||||
+ 'm=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;'
|
|
||||||
+ 'function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}'
|
|
||||||
+ 'function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}'
|
|
||||||
+ 'ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);'
|
|
||||||
+ 'window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}'
|
|
||||||
+ 'ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()';
|
|
||||||
const SCRIPT = '<script>' + BODY + '</script>';
|
|
||||||
// The site CSP allows inline scripts by hash only (server.js CSP): one source, one hash. Changing BODY changes the hash,
|
|
||||||
// and the static pages must be re-stamped so they carry the same bytes.
|
|
||||||
const CSP_HASH = "'sha256-" + require('crypto').createHash('sha256').update(BODY).digest('base64') + "'";
|
|
||||||
|
|
||||||
// base: 'light' | 'dark' (the page's look when nothing is stored). Returns the attribute for the <html> tag and the script.
|
|
||||||
function htmlAttr(base) { return ' data-theme-base="' + (base === 'light' ? 'light' : 'dark') + '"'; }
|
|
||||||
function tag() { return SCRIPT; }
|
|
||||||
// whole-head helper for server-rendered pages: '<!doctype html><html lang="en"' + themehead.htmlAttr('dark') + '><head>' + themehead.tag() + ...
|
|
||||||
module.exports = { AUTO_DEFAULT, SCRIPT, CSP_HASH, htmlAttr, tag };
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
# BixPay promo banners (2026-10-29): four text-only sizes for Promo tools > BixPay. No BIX logo (brand rules not confirmed),
|
|
||||||
# the "crypto Visa card" angle in the game-banner style: deep green, mint accent, Sora-like bold display text, a card motif
|
|
||||||
# drawn with shapes. Run: python tools/gen-bixpay-banners.py <outdir> then upload to Spaces game-banners/bixpay/.
|
|
||||||
# Copy rules: no income promises, the one fee line, no em dashes.
|
|
||||||
import sys, os
|
|
||||||
from PIL import Image, ImageDraw, ImageFont
|
|
||||||
|
|
||||||
OUT = sys.argv[1] if len(sys.argv) > 1 else "D:/tmp/bixpay-banners"
|
|
||||||
os.makedirs(OUT, exist_ok=True)
|
|
||||||
GREEN = (4, 59, 47); DEEP = (3, 38, 31); MINT = (67, 232, 195); INK = (236, 248, 243); MUTED = (170, 205, 194); AMBER = (255, 178, 56)
|
|
||||||
FONTS = ["C:/Windows/Fonts/segoeuib.ttf", "C:/Windows/Fonts/arialbd.ttf"]
|
|
||||||
FONT_R = ["C:/Windows/Fonts/segoeui.ttf", "C:/Windows/Fonts/arial.ttf"]
|
|
||||||
def font(size, bold=True):
|
|
||||||
for p in (FONTS if bold else FONT_R):
|
|
||||||
if os.path.exists(p): return ImageFont.truetype(p, size)
|
|
||||||
return ImageFont.load_default()
|
|
||||||
|
|
||||||
def bg(w, h):
|
|
||||||
im = Image.new("RGB", (w, h), GREEN)
|
|
||||||
d = ImageDraw.Draw(im)
|
|
||||||
# soft diagonal band
|
|
||||||
for i in range(h):
|
|
||||||
t = i / max(1, h - 1)
|
|
||||||
c = tuple(int(GREEN[k] * (1 - t) + DEEP[k] * t) for k in range(3))
|
|
||||||
d.line([(0, i), (w, i)], fill=c)
|
|
||||||
return im
|
|
||||||
|
|
||||||
def card(d, x, y, w, h):
|
|
||||||
# a plain card shape: rounded rectangle, a chip, a stripe. No brand marks.
|
|
||||||
d.rounded_rectangle((x, y, x + w, y + h), radius=int(h * 0.12), fill=MINT)
|
|
||||||
d.rounded_rectangle((x + w * 0.08, y + h * 0.32, x + w * 0.26, y + h * 0.56), radius=int(h * 0.05), fill=(214, 182, 90))
|
|
||||||
d.rounded_rectangle((x + w * 0.08, y + h * 0.70, x + w * 0.62, y + h * 0.78), radius=int(h * 0.03), fill=(6, 60, 48))
|
|
||||||
d.ellipse((x + w * 0.70, y + h * 0.62, x + w * 0.84, y + h * 0.86), fill=(6, 60, 48))
|
|
||||||
d.ellipse((x + w * 0.79, y + h * 0.62, x + w * 0.93, y + h * 0.86), outline=(6, 60, 48), width=max(2, int(h * 0.03)))
|
|
||||||
|
|
||||||
def text_w(d, s, f):
|
|
||||||
b = d.textbbox((0, 0), s, font=f); return b[2] - b[0], b[3] - b[1]
|
|
||||||
|
|
||||||
def fit(d, s, maxw, start, bold=True, floor=10):
|
|
||||||
sz = start
|
|
||||||
while sz > floor:
|
|
||||||
f = font(sz, bold)
|
|
||||||
if text_w(d, s, f)[0] <= maxw: return f
|
|
||||||
sz -= 1
|
|
||||||
return font(floor, bold)
|
|
||||||
|
|
||||||
def pill(d, x, y, s, f, pad=10):
|
|
||||||
# the text's bbox offsets (Segoe sits a few px below the origin) are subtracted so the label is centred in the pill
|
|
||||||
b = d.textbbox((0, 0), s, font=f); tw, th = b[2] - b[0], b[3] - b[1]
|
|
||||||
d.rounded_rectangle((x, y, x + tw + pad * 2, y + th + pad * 2), radius=(th + pad * 2) // 2, fill=MINT)
|
|
||||||
d.text((x + pad - b[0], y + pad - b[1]), s, font=f, fill=(4, 30, 24))
|
|
||||||
return tw + pad * 2
|
|
||||||
def pill_size(d, s, f, pad=10):
|
|
||||||
b = d.textbbox((0, 0), s, font=f); return b[2] - b[0] + pad * 2, b[3] - b[1] + pad * 2
|
|
||||||
|
|
||||||
def leaderboard(w, h): # 728x90, 468x60
|
|
||||||
im = bg(w, h); d = ImageDraw.Draw(im)
|
|
||||||
ch = int(h * 0.62); cw = int(ch * 1.58); cx = int(h * 0.18); cy = (h - ch) // 2
|
|
||||||
card(d, cx, cy, cw, ch)
|
|
||||||
x = cx + cw + int(h * 0.22)
|
|
||||||
head = "A Visa card for your crypto"
|
|
||||||
f1 = fit(d, head, w * 0.52, int(h * 0.30)); d.text((x, int(h * 0.12)), head, font=f1, fill=INK)
|
|
||||||
sub = "Spend POL anywhere Visa is accepted. 3% per purchase, no load fee."
|
|
||||||
f2 = fit(d, sub, w * 0.55, int(h * 0.17), bold=False); d.text((x, int(h * 0.56)), sub, font=f2, fill=MUTED)
|
|
||||||
f3 = font(int(h * 0.19)); s = "Get the card"; pad = int(h * 0.09)
|
|
||||||
pw, ph = pill_size(d, s, f3, pad); pill(d, w - pw - int(h * 0.18), (h - ph) // 2, s, f3, pad=pad)
|
|
||||||
return im
|
|
||||||
|
|
||||||
def rectangle(w, h): # 300x250
|
|
||||||
im = bg(w, h); d = ImageDraw.Draw(im)
|
|
||||||
f0 = font(12); d.text((18, 16), "CRYPTO VISA CARD", font=f0, fill=MINT)
|
|
||||||
cw = 118; ch = 74; card(d, w - cw - 18, 14, cw, ch)
|
|
||||||
head = "Spend your POL\nanywhere"
|
|
||||||
f1 = font(26); d.multiline_text((18, 96), head, font=f1, fill=INK, spacing=0)
|
|
||||||
sub = "A self-custody wallet with a Visa card.\nApple Pay and Google Pay.\n3% per purchase, no load fee."
|
|
||||||
f2 = font(12, bold=False); d.multiline_text((18, 160), sub, font=f2, fill=MUTED, spacing=3)
|
|
||||||
f3 = font(14); s = "Get the card"; pw, ph = pill_size(d, s, f3, 9); pill(d, w - pw - 18, h - ph - 14, s, f3, pad=9)
|
|
||||||
return im
|
|
||||||
|
|
||||||
def splash(w, h): # 600x300
|
|
||||||
im = bg(w, h); d = ImageDraw.Draw(im)
|
|
||||||
f0 = font(15); d.text((30, 26), "CRYPTO VISA CARD", font=f0, fill=MINT)
|
|
||||||
card(d, w - 230, 36, 196, 122)
|
|
||||||
head = "Spend your POL\nanywhere Visa\nis accepted."
|
|
||||||
f1 = font(40); d.multiline_text((30, 54), head, font=f1, fill=INK, spacing=0)
|
|
||||||
sub = "A self-custody wallet with a Visa card. Virtual card from $9.99. 3% per purchase, no load fee."
|
|
||||||
f2 = fit(d, sub, w - 60, 17, bold=False); d.text((30, 218), sub, font=f2, fill=MUTED)
|
|
||||||
f3 = font(18); s = "Get your card"; pw, ph = pill_size(d, s, f3, 12); pill(d, w - pw - 30, h - ph - 24, s, f3, pad=12)
|
|
||||||
return im
|
|
||||||
|
|
||||||
SIZES = {"728x90": leaderboard, "468x60": leaderboard, "300x250": rectangle, "600x300": splash}
|
|
||||||
for s, fn in SIZES.items():
|
|
||||||
w, h = map(int, s.split("x"))
|
|
||||||
im = fn(w, h)
|
|
||||||
assert im.size == (w, h)
|
|
||||||
p = os.path.join(OUT, "bixpay-" + s + ".png"); im.save(p, optimize=True)
|
|
||||||
print(p, os.path.getsize(p), "bytes")
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
// Stamp the theme head script (themehead.js) into every static page under public/ that loads site.css, before the first
|
|
||||||
// stylesheet, and put data-theme-base on the <html> tag (dark: every InstantAdPay page is a site.css page). Re-runnable: an
|
|
||||||
// existing copy between the markers is replaced. Run after changing AUTO_DEFAULT in themehead.js:
|
|
||||||
// node tools/stamp-theme-head.cjs
|
|
||||||
// Pages without site.css (door.html, plan-lab.html, the Google verification file) are skipped: they carry their own look.
|
|
||||||
const fs = require('fs'), path = require('path');
|
|
||||||
const themehead = require(path.join(__dirname, '..', 'themehead.js'));
|
|
||||||
const dir = path.join(__dirname, '..', 'public');
|
|
||||||
const OPEN = '<!--theme-head-->', CLOSE = '<!--/theme-head-->';
|
|
||||||
let n = 0;
|
|
||||||
for (const f of fs.readdirSync(dir).filter(f => f.endsWith('.html'))) {
|
|
||||||
const p = path.join(dir, f);
|
|
||||||
let html = fs.readFileSync(p, 'utf8');
|
|
||||||
if (!/<link rel="stylesheet" href="\/assets\/site\.css/.test(html)) continue;
|
|
||||||
const base = 'dark';
|
|
||||||
// <html> attribute
|
|
||||||
html = html.replace(/<html([^>]*?)( data-theme-base="[a-z]+")?>/, (m, a) => '<html' + a + themehead.htmlAttr(base) + '>');
|
|
||||||
const block = OPEN + themehead.tag() + CLOSE;
|
|
||||||
if (html.includes(OPEN)) html = html.replace(new RegExp(OPEN + '[\\s\\S]*?' + CLOSE), block);
|
|
||||||
else html = html.replace(/<link rel="stylesheet"/, block + '\n<link rel="stylesheet"'); // before the first stylesheet (fonts included: the script must run before any CSS)
|
|
||||||
fs.writeFileSync(p, html);
|
|
||||||
n++; console.log('stamped', f, base);
|
|
||||||
}
|
|
||||||
console.log(n + ' pages');
|
|
||||||
@@ -35,7 +35,6 @@ function games() {
|
|||||||
{ key: 'roadagent', name: 'Road Agent', url: process.env.RA_URL, secret: process.env.RA_SSO_SECRET },
|
{ key: 'roadagent', name: 'Road Agent', url: process.env.RA_URL, secret: process.env.RA_SSO_SECRET },
|
||||||
{ key: 'polybreak', name: 'PolyBreak', url: process.env.PB_URL || 'https://polybreak.app', secret: process.env.PB_SSO_SECRET },
|
{ key: 'polybreak', name: 'PolyBreak', url: process.env.PB_URL || 'https://polybreak.app', secret: process.env.PB_SSO_SECRET },
|
||||||
{ key: 'polminer', name: 'POL Miner', url: process.env.POLMINER_URL || 'https://polminer.com', secret: process.env.POLMINER_SSO_SECRET }, // 2026-10-28: idle until POLMINER_SSO_SECRET is set
|
{ key: 'polminer', name: 'POL Miner', url: process.env.POLMINER_URL || 'https://polminer.com', secret: process.env.POLMINER_SSO_SECRET }, // 2026-10-28: idle until POLMINER_SSO_SECRET is set
|
||||||
{ key: 'warpwares', name: 'Warp & Wares', url: process.env.WW_URL || 'https://warpwares.saasy.top', secret: process.env.WW_SSO_SECRET }, // 2026-10-29: idle until WW_SSO_SECRET is set
|
|
||||||
{ key: 'turkeydrop', name: 'Turkey Drop', url: process.env.TD_URL || 'https://turkeydropgame.com', secret: process.env.TD_SSO_SECRET }, // 2026-10-28: idle until TD_SSO_SECRET is set
|
{ key: 'turkeydrop', name: 'Turkey Drop', url: process.env.TD_URL || 'https://turkeydropgame.com', secret: process.env.TD_SSO_SECRET }, // 2026-10-28: idle until TD_SSO_SECRET is set
|
||||||
{ key: 'spellwheel', name: 'SpellWheel', url: process.env.SW_URL || 'https://spellwheel.com', secret: process.env.SW_SSO_SECRET },
|
{ key: 'spellwheel', name: 'SpellWheel', url: process.env.SW_URL || 'https://spellwheel.com', secret: process.env.SW_SSO_SECRET },
|
||||||
{ key: 'polywarriors', name: 'PolyWarriors', url: process.env.PW_URL || 'https://polywarriors.com', secret: process.env.PW_SSO_SECRET }
|
{ key: 'polywarriors', name: 'PolyWarriors', url: process.env.PW_URL || 'https://polywarriors.com', secret: process.env.PW_SSO_SECRET }
|
||||||
@@ -76,7 +75,7 @@ function fetchRows(g) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
// copy (Marty, 2026-10-27): the ask is the LINK step only (one free signature), never "switch on payouts": a linked wallet is paid
|
// copy (Marty, 2026-10-27): the ask is the LINK step only (one free signature), never "switch on payouts": a linked wallet is paid
|
||||||
function copy(games, stage, link, bixLine) {
|
function copy(games, stage, link) {
|
||||||
const total = games.reduce((n, g) => n + g.unpaid, 0);
|
const total = games.reduce((n, g) => n + g.unpaid, 0);
|
||||||
const parts = games.map(g => g.unpaid.toFixed(2) + ' POL in ' + g.name);
|
const parts = games.map(g => g.unpaid.toFixed(2) + ' POL in ' + g.name);
|
||||||
const list = parts.length > 1 ? parts.slice(0, -1).join(', ') + ' and ' + parts[parts.length - 1] : parts[0];
|
const list = parts.length > 1 ? parts.slice(0, -1).join(', ') + ' and ' + parts[parts.length - 1] : parts[0];
|
||||||
@@ -84,11 +83,8 @@ function copy(games, stage, link, bixLine) {
|
|||||||
const p1 = "You've earned " + list + ". Link your wallet (one free signature) and it's sent automatically, including everything you've earned so far.";
|
const p1 = "You've earned " + list + ". Link your wallet (one free signature) and it's sent automatically, including everything you've earned so far.";
|
||||||
const p2 = 'It is not a transaction and it cannot move funds. Every game pays that same wallet from then on.';
|
const p2 = 'It is not a transaction and it cannot move funds. Every game pays that same wallet from then on.';
|
||||||
const p3 = stage >= 2 ? 'This is the last reminder about this balance. It stays yours; it just waits for a wallet.' : 'Not sure which wallet to use? SafePal is the one we recommend; MetaMask and Phantom work too. The Wallet tab has a short guide.';
|
const p3 = stage >= 2 ? 'This is the last reminder about this balance. It stays yours; it just waits for a wallet.' : 'Not sure which wallet to use? SafePal is the one we recommend; MetaMask and Phantom work too. The Wallet tab has a short guide.';
|
||||||
// BixPay (2026-10-29): one sentence after the wallet ask, the member's resolved partner link behind a counted /go link; '' while bixpayLive is off
|
const text = [p1, '', p2, '', 'Link your wallet: ' + link, '', p3].join('\n');
|
||||||
const bx = String(bixLine || '').trim();
|
const html = '<p>' + esc(p1).replace(esc(list), '<b>' + esc(list) + '</b>') + '</p><p>' + esc(p2) + '</p><p><a href="' + esc(link) + '"><b>Link your wallet</b></a></p><p>' + esc(p3) + '</p>';
|
||||||
const text = [p1, '', p2, '', 'Link your wallet: ' + link, '', p3].concat(bx ? ['', bx] : []).join('\n');
|
|
||||||
const bxHtml = bx ? '<p>' + esc(bx).replace(/(https:\/\/\S+)/, '<a href="$1">$1</a>') + '</p>' : '';
|
|
||||||
const html = '<p>' + esc(p1).replace(esc(list), '<b>' + esc(list) + '</b>') + '</p><p>' + esc(p2) + '</p><p><a href="' + esc(link) + '"><b>Link your wallet</b></a></p><p>' + esc(p3) + '</p>' + bxHtml;
|
|
||||||
return { subject, text, html, total };
|
return { subject, text, html, total };
|
||||||
}
|
}
|
||||||
async function tick() {
|
async function tick() {
|
||||||
@@ -137,7 +133,7 @@ async function tick() {
|
|||||||
const stage = p.sent.length; if (stage >= STAGES.length) continue;
|
const stage = p.sent.length; if (stage >= STAGES.length) continue;
|
||||||
if (now - p.first < STAGES[stage]) continue;
|
if (now - p.first < STAGES[stage]) continue;
|
||||||
const link = (R.site || 'https://instantadpay.com') + '/my#wallet';
|
const link = (R.site || 'https://instantadpay.com') + '/my#wallet';
|
||||||
const c = copy(gs, stage, link, R.bixLine ? R.bixLine(a) : '');
|
const c = copy(gs, stage, link);
|
||||||
let ok = false;
|
let ok = false;
|
||||||
try { await R.message(email, c.subject, c.html); ok = true; } catch (e) {}
|
try { await R.message(email, c.subject, c.html); ok = true; } catch (e) {}
|
||||||
if (R.mailer && R.mailer.hasKey && R.mailer.hasKey() && R.optedIn) { try { if (await R.optedIn(email)) { await R.mailer.send(email, c.subject, c.text, c.html); ok = true; } } catch (e) {} }
|
if (R.mailer && R.mailer.hasKey && R.mailer.hasKey() && R.optedIn) { try { if (await R.optedIn(email)) { await R.mailer.send(email, c.subject, c.text, c.html); ok = true; } } catch (e) {} }
|
||||||
@@ -159,4 +155,4 @@ function adminView() {
|
|||||||
return { stats: Object.assign({ pushed: 0 }, S.stats), lastRun: S.lastRun, lastRows: S.lastRows, games: games().map(g => ({ key: g.key, name: g.name, url: g.url, nudge: g.nudge !== false })),
|
return { stats: Object.assign({ pushed: 0 }, S.stats), lastRun: S.lastRun, lastRows: S.lastRows, games: games().map(g => ({ key: g.key, name: g.name, url: g.url, nudge: g.nudge !== false })),
|
||||||
pushed: (S.pushLog || []).slice(0, 100), pushRefused: Object.values(S.pushes || {}).filter(x => x.status !== 'ok').sort((a, b) => b.at - a.at).slice(0, 100), waiting: people.filter(p => !p.done), done: people.filter(p => p.done).slice(0, 100) };
|
pushed: (S.pushLog || []).slice(0, 100), pushRefused: Object.values(S.pushes || {}).filter(x => x.status !== 'ok').sort((a, b) => b.at - a.at).slice(0, 100), waiting: people.filter(p => !p.done), done: people.filter(p => p.done).slice(0, 100) };
|
||||||
}
|
}
|
||||||
module.exports = { init, tick, waitingFor, adminView, games, STAGES, copy };
|
module.exports = { init, tick, waitingFor, adminView, games, STAGES };
|
||||||
|
|||||||