// Telegram proof cards for Viral Banner Blitz (trust pack 2026-11-14): three 1200x630 images in the VBB pop-art look, rotated by // proof.js per purchase post (the live numbers go in the caption). Neutral file names (no "banner"/"ad"/size tokens). // node tools/proof-art.mjs -> public/art/proof/vbb-proof-{pink,blue,yellow}.png import { pathToFileURL } from 'url'; import fs from 'fs'; import path from 'path'; const PW = process.env.PLAYWRIGHT || 'D:/Projects/MarketingAgent/qa-tester/node_modules/playwright/index.js'; const pwm = await import(pathToFileURL(PW).href); const chromium = pwm.chromium || (pwm.default && pwm.default.chromium); const APP = path.resolve(path.dirname(new URL(import.meta.url).pathname.replace(/^\/([A-Z]:)/, '$1')), '..'); const OUT = path.join(APP, 'public', 'art', 'proof'); fs.mkdirSync(OUT, { recursive: true }); const mark = fs.readFileSync(path.join(APP, 'public', 'art', 'mark.svg'), 'utf8'); const V = { pink: ['#ff2d87', '#fff', '#ffd400'], blue: ['#2b59ff', '#fff', '#14d9a0'], yellow: ['#ffd400', '#14121f', '#ff2d87'] }; const COLORS = ['#ff2d87', '#2b59ff', '#ffd400', '#14d9a0', '#ffffff', '#ff2d87', '#14d9a0', '#2b59ff', '#ffd400']; const html = ([acc, accInk, acc2]) => `