// Promo tools content + rendering (Promo tools pane). Everything is personalized from the member's invite link; angle // links carry ?v= and open the matching hook on the join page (join.js knows: instant, adspend, free, ledger, two). // Copy rules: LinkSpin facts only (rewritten 2026-10-08, the earlier text was InstantAdPay's ladder with the name swapped): // packages $10 (door, does not qualify) · $25 · $50 · $100 · $250 · $500, one credit = one cent of delivery, no bonus credits; // a $25+ package makes a qualifying buyer (the $10 door does not), 2 open level 2, 5 open level 3; split 50 / 20 / 10 + 10 + 10 to the two admin wallets; // seven ad formats: banner, text, login, solo, video, featured, verified visits. No income promises, never a POL figure, // no em dashes. window.IAPPromo = (function () { const $ = id => document.getElementById(id); const esc = s => String(s == null ? '' : s).replace(/[&<>"']/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c])); const status = (m, c) => (window.IAP && IAP.status) ? IAP.status(m, c) : console.log(m); const angleLink = (link, angle) => angle ? link + '?v=' + angle : link; // ── social posts ── const POSTS = [ { net: 'X', label: 'X · Banner Spin', text: 'One banner slot on a traffic exchange, up to 25 banners rotating in it. LinkSpin Banner Spin: one image address, one click address, every click lands on the page of the banner that was shown, and the report tells you which banner wins. Free with your first $25 package: {{LINK:links}}' }, { net: 'X', label: 'X · one link', text: 'I stopped juggling six affiliate links. One LinkSpin link now rotates every page I promote, with weights, hours and a fallback, and a report by source, country and device. Free, no account needed to try the spin: {{LINK}}' }, { net: 'X', label: 'X · instant payout', text: 'No withdraw button. A verified contract on Polygon splits every ad package the second it sells: 50% to the sponsor, 20% to level 2, 10% to level 3, straight to wallets. Watch the ledger move: {{LINK}}' }, { net: 'X', label: 'X · advertiser', text: 'Marketers: you were buying traffic anyway. Here the ad spend in your line pays you, in the same transaction, on a public ledger. Packages from $10. Join free: {{LINK:zones}}' }, { net: 'X', label: 'X · zones', text: 'Got a website? One script tag puts an ad slot on it. Member ads show first, then network ads, and every viewable impression pays you ad credits. Nine sizes, free: {{LINK:stack}}' }, { net: 'Facebook', label: 'Facebook · story post', text: 'I got tired of two things: "your commission is pending", and a different link for every page I promote.\n\nLinkSpin fixes both. One link spins through every page you promote, in turn, with weights and a fallback. And when anyone in your line buys an ad package, a smart contract on Polygon splits it the moment it sells: half to the sponsor, then levels two and three, then the platform. It lands in your own wallet in seconds. No approval queue, no withdrawal button.\n\nYou are buying real advertising: banners, text ads, login ads, solo ads to member inboxes, video, featured links and verified visits. Members earn credits for their attention, so the ads actually get seen.\n\nJoin free, look around, check the public ledger before you spend a dollar: {{LINK}}\n\nNo income promises. It is advertising, not investing, and crypto carries risk.' }, { net: 'Facebook', label: 'Facebook · skeptic angle', text: 'Every online program I ever joined asked me to trust a back office. This one does not. Every payout is a public transaction on Polygon you can look up yourself, with the wallet addresses and amounts right there. The split is written in a verified smart contract nobody can quietly edit.\n\nFree to join with just an email. The wallet comes out only if you buy a package or switch on payouts. Packages run $10 to $500, and every one of them is ad delivery you can watch running.\n\nTake the tour: {{LINK}}' }, { net: 'LinkedIn', label: 'LinkedIn · professional', text: 'An experiment in transparent affiliate payouts: LinkSpin is a link rotator and page builder for marketers, funded by advertising packages ($10 to $500) whose referral commissions are settled by a verified smart contract on Polygon in the same transaction as the purchase. 50 / 20 / 10 across three levels, 20 percent to the platform, every payment public on the chain.\n\nWhat I find interesting is not the commission. It is that "pending payout" stops being a concept. If you rotate links or buy traffic for a living and want to see same-transaction settlement in practice, the tour is free: {{LINK:zones}}' }, { net: 'Telegram', label: 'Telegram or WhatsApp group', text: 'Quick one for the group. Link rotator plus ad network on Polygon where every package splits to sponsor wallets the second it sells. No withdrawals, no pending. Free to join by email, packages from $10, seven ad formats, and you earn credits for viewing. Tour here: {{LINK}}' }, { net: 'Telegram', label: 'Telegram or WhatsApp group · free angle', text: 'If you want a proper link rotator and a bridge-page builder without paying for either: LinkSpin gives you both free, plus an ad slot for your own site that pays you credits. Payouts are on the public Polygon ledger. {{LINK:stack}}' } ]; // ── text a friend (SMS-sized) ── const TEXTS = [ { angle: '', title: '"Thought of you"', text: 'Hey, found a link rotator that also pays your wallet the second someone in your line buys ads. No pending, no withdraw button. Free to look: {{LINK}}' }, { angle: 'links', title: '"One link for all of them"', text: 'Random thought. How many links are you juggling? This gives you one that rotates every page you promote, with weights and a fallback, free: {{LINK:links}}' }, { angle: 'zones', title: '"Your site has an empty slot"', text: 'Got a website? One script tag puts an ad slot on it that pays you ad credits for every viewable view. Two-minute look: {{LINK:zones}}' }, { angle: 'stack', title: '"Costs nothing to try"', text: 'Try this without spending a dollar: one link that spins all your pages, a bridge-page builder, and an ad slot for your site that earns credits. {{LINK:stack}}' }, { angle: '', title: '"No back office"', text: 'Remember waiting on payouts that never came? This one has no back office. Every payment is public on the blockchain. Check it yourself: {{LINK}}' } ]; // ── email swipes ── const SWIPES = [ { tier: 'Short', subject: 'One link, paid the second it sells', body: 'Quick one.\n\nI moved all my promo links into LinkSpin: one link that spins through every page I promote. It also sells ad packages, and every package splits to sponsor wallets in the same transaction as the sale. No pending payouts, no withdraw button. It is on Polygon, and every payment is public.\n\nJoin free, look at the ledger, decide later: {{LINK}}\n\nNo income promises. Advertising, not investing.' }, { tier: 'Standard', subject: 'Your wallet gets paid instantly', body: 'You know the usual drill. Someone buys on your link, you wait for a payout. Maybe days. Maybe an approval hold. Maybe a "your account is under review."\n\nLinkSpin does not work like that.\n\nA smart contract on the Polygon blockchain handles every purchase the second it happens. 50% to the sponsor. 20% to the next level. 10% to the one after that. 20% to the platform. Each split lands directly in the right wallet. No withdrawal button. No "request payout." No approval queue.\n\nThe money just shows up.\n\nAnd the free tools are worth the visit on their own: one link that rotates every page you promote, bridge and review pages built from any offer in a minute, and an ad slot for your own site that pays you credits.\n\nFree to join. Packages from $10 to $500. No income promises. It is advertising, not investing.\n\n{{LINK}}' }, { tier: 'Long', subject: 'A rotator, a page builder, and an ad network with no pending payouts', body: 'Let me tell you what you are actually looking at, because "crypto ad platform" can mean anything.\n\nLinkSpin starts as a tool. One short link that spins through every page you promote, in turn, with weights, hours of day, a fallback and a report by source, country and device. Point it at any offer and it writes you a bridge, review or squeeze page on your own link domain. Put one script tag on your site and you have an ad slot that pays you credits for every viewable impression. All of that is free.\n\nIt is funded by advertising. Six packages, $10 to $500. A package mints ad credits, and one credit is one cent of delivery across seven formats: display banners, text ads, full-screen login ads, solo ads delivered into member inboxes, video ads, featured links, and verified visits. Members earn credits for their attention, with a timer that pauses when they look away, so your ad is seen by a person, not a script.\n\nNow the part that made me join.\n\nWhen anyone in your line buys a package, a verified smart contract on Polygon splits the payment in that same transaction: 50 percent to their direct sponsor, 20 percent to level two, 10 percent to level three, 20 percent to the platform. It lands in real wallets in seconds. There is no balance to withdraw because nothing is ever held.\n\nEvery one of those payments is public. Open the ledger, click a transaction, read it on Polygonscan.\n\nJoining is free and only needs an email. Your wallet comes out when you buy a package or switch on payouts. If you never spend a dollar, you still get the rotator, the pages and the zone, and you can view ads to earn credits for a small campaign.\n\nHave a look: {{LINK}}\n\nOne honest line: nobody is promising you an income. Results depend on your effort, and crypto carries risk of loss.' }, { tier: 'Follow-up', subject: 'Did you see the ledger?', body: 'Following up on LinkSpin.\n\nIf you only look at one thing, look at the live ledger. Every purchase and every payout, with real wallet addresses, in the order they happened. That is the whole pitch: nothing to take on faith.\n\n{{LINK}}\n\nIf it is not for you, no worries at all. The free rotator is still yours to keep.' } ]; // ── objection bank (truth + say this) ── const OBJECTIONS = [ // Banner Spin (2026-10-20): the add-on that opens with the member's own $25 package { q: 'What is Banner Spin?', truth: 'One image address and one click address that rotate up to 25 banners, each with its own target page or spin link. The member pastes it once into a banner slot (traffic exchange, safelist, forum signature, their own site) and changes the banners from the Control Room. A click goes to the banner that visitor saw, unmatched clicks go to a fallback, and reports show views, clicks, click rate and conversions per banner and per placement, with a WINNER badge once two banners have 1,000 views each. It is a free add-on with the member\'s own package of $25 or more: Starter 2 Banner Spins x 5 banners, Builder (2 qualifying buyers) 5 x 15, Leader (5 qualifying buyers) 10 x 25. It does not rotate inside paid ad networks or Gmail, which keep their own copy of the image.', say: 'You know how every exchange gives you one banner slot? Banner Spin turns that slot into a rotation of up to 25 banners, each going to its own page, and tells you which one gets the clicks. Set it once, swap banners any time from your dashboard. It comes free with your first $25 package: {{LINK}}' }, { q: 'What is a spin link?', truth: 'One short link on a LinkSpin link domain that rotates visitors through a list of destination pages by weight. Each destination can be paused, limited to hours of the day, capped per day, or pointed at a fallback. Clicks are reported by source, country and device, and tracker macros are filled on the way through. The rotator is free and needs no package.', say: 'It is one link that stands in for all of yours. You give it the pages you promote and how often each should show, and it rotates visitors through them. Pause a page, cap it, give it hours. Free, and you can try a spin before you even sign up: {{LINK}}' }, { q: 'Which crypto do I get paid in?', truth: 'One coin, one network: POL, the native coin of Polygon. Packages are dollar-priced and settled in POL at the live Chainlink rate; every payout is sent as POL to the recipient\'s own Polygon wallet in the same transaction. No tokens, no other chains, no stablecoins.', say: 'You get paid in POL, which is Polygon\'s own coin, straight into your wallet the moment a package in your line sells. Any Polygon wallet works, SafePal, MetaMask, Phantom, and if you have never held crypto there is a card on-ramp inside the control room. {{LINK}}' }, { q: 'Is this a pyramid scheme?', truth: 'There is a real product with no referral needed: the rotator, the page builder and the zone script are free tools, and the paid product is ad delivery at one cent per credit across seven live formats that members can watch serving. Sponsor payments are referral commissions written as constants in a verified contract, paid only when a real package sells. Nobody has to recruit, and joining costs nothing.', say: 'Fair question. Here is the test I use: is there something people would use with no referral involved? Here there is, and most of it is free: a link rotator, a page builder, an ad slot for your site. The paid product is advertising you can watch run. The sponsor split is a referral commission on those sales, fixed in a public contract. Join free and never refer anyone if you like. {{LINK:stack}}' }, { q: 'I do not have a crypto wallet. I am not technical.', truth: 'Joining needs only an email and a 6-digit code. The wallet comes out only when someone buys a package or switches on payouts, and the control room walks them through it. A card on-ramp delivers POL straight to their own wallet. Email first, wallet second.', say: 'You do not need one to join. It is email only, no password even. The wallet shows up later, only if you decide to buy a package or want payouts, and the site walks you through it step by step. Start here and use the free tools first: {{LINK}}' }, { q: 'What am I actually buying?', truth: 'Ad credits minted on-chain the moment a package is bought, one credit per cent: $10 = 1,000, $25 = 2,500, $50 = 5,000, $100 = 10,000, $250 = 25,000, $500 = 50,000. Credits spend on banners, text ads, login ads, solo ads to member inboxes, video ads, featured links and verified visits, with live stats per campaign. The $10 door package buys ads but does not make the buyer a qualifying buyer; $25 and up do.', say: 'Advertising. A package mints credits, one credit is one cent of delivery, and you spend them on seven ad formats from your own control room with live stats. The $25 package is 2,500 credits, the $500 package is 50,000. You can see the formats before you spend anything: {{LINK:zones}}' }, { q: 'Who holds my money?', truth: 'Nobody. A purchase is one Polygon transaction that splits to the sponsor line and the platform wallets immediately. The site never holds balances, and the contract source is verified on Polygonscan. Overpayment refunds itself in the same transaction.', say: 'That is the part I like most: nobody holds it. The purchase is a single blockchain transaction that pays the sponsor line and the platform in the same moment. There is no balance sitting anywhere waiting for a withdrawal. The contract code is public and verified, and every payment is on the ledger: {{LINK}}' }, { q: 'What if POL drops?', truth: 'Packages are priced in dollars and settled in POL at the live Chainlink rate at the moment of purchase. Payouts arrive as POL in the recipient\'s own wallet immediately, so what they do with it is their call. This is advertising, not an investment, and POL is volatile like any crypto asset.', say: 'Packages are dollar priced, so $25 is $25 worth of POL at that moment. Payouts land in your wallet right away, and it is your money from that second. Crypto does move, so treat it as advertising you bought, not an investment. {{LINK}}' }, { q: 'Do I need my own website?', truth: 'No. The rotator and the pages live on LinkSpin\'s link domains, so a member with no site can promote any offer with a spin link and a bridge page. A zone (the ad slot that pays credits) is the one thing that needs a site of your own to paste the script on.', say: 'No site needed. Your spin link and your bridge pages live on LinkSpin\'s domains. If you do have a site, you can also drop in an ad slot that pays you credits, but that part is optional. {{LINK:stack}}' }, { q: 'Why would anyone buy ads here?', truth: 'The members are marketers who already buy traffic. Viewers earn credits only after a server-timed dwell, so impressions are real people. Solo ads reach member inboxes with a guaranteed delivery count, verified visits are one unique member per visit, and banner and text ads also run in member zones on real websites.', say: 'Because the people on it are marketers, and they get paid to actually look. Every view is dwell-timed on the server, solo ads land in real inboxes with a guaranteed count, and verified visits are one real person each. You can watch your own campaign serve: {{LINK:zones}}' }, { q: 'I do not know anyone to refer.', truth: 'Referrals are optional. Members can use the rotator, the pages and a zone, view ads, earn credits and advertise with no line at all. When they do refer, every direct buyer pays them 50 percent from the very first qualifying package.', say: 'You do not have to refer anyone. Join free, use the tools, earn credits by viewing, run ads. If one person ever joins through you and buys a $25 package, half of it hits your wallet in that transaction. That is the whole referral side, and it is optional. {{LINK:stack}}' }, { q: 'How much can I make?', truth: 'No income is guaranteed or implied. Sponsor commissions are 50 / 20 / 10 across three levels on packages that actually sell; level 2 needs 2 qualifying buyers ($25 or more) and level 3 needs 5. Results depend on the member\'s effort, and crypto carries risk of loss. Never quote a figure.', say: 'Nobody can tell you that, and I would not trust anyone who did. What I can tell you is exactly how it is split: 50 percent to the direct sponsor, 20 and 10 to the next two levels, paid the moment a package sells, all public. What that adds up to depends entirely on what you build. {{LINK}}' } ]; function fillLink(text, link) { return text.replace(/\{\{LINK(?::([a-z]+))?\}\}/g, (m, a) => angleLink(link, a)); } function copyBtn(text, label) { const b = document.createElement('button'); b.className = 'btn small sec'; b.type = 'button'; b.textContent = label || 'Copy'; b.addEventListener('click', async () => { try { await navigator.clipboard.writeText(text); status('Copied. Paste it anywhere.', 'ok'); } catch (e) { status('Copy failed. Select the text instead.', 'bad'); } }); return b; } function block(text, head, extraBtns) { const div = document.createElement('div'); div.className = 'promo-block'; if (head) { const h = document.createElement('div'); h.className = 'pb-head'; h.innerHTML = head; div.appendChild(h); } const pre = document.createElement('div'); pre.className = 'pb-text'; pre.textContent = text; div.appendChild(pre); const row = document.createElement('div'); row.className = 'pb-actions'; row.appendChild(copyBtn(text)); (extraBtns || []).forEach(b => row.appendChild(b)); div.appendChild(row); return div; } function linkBtn(href, label, cls) { const a = document.createElement('a'); a.className = 'btn small ' + (cls || 'sec'); a.href = href; a.textContent = label; if (!/^sms:/.test(href)) { a.target = '_blank'; a.rel = 'noopener'; } return a; } // hook videos: one per angle (16:9 + 9:16 + poster on DO Spaces, made 2026-10-08 with video-angles/); the matched link // continues the same hook on the join page const VID_BASE = 'https://coolify-saasytop.nyc3.digitaloceanspaces.com/linkspin/promo/'; const VIDEOS = [ { angle: 'links', title: 'Stop juggling links', hook: 'How many links are you juggling right now?', caption: 'How many links are you juggling right now? One LinkSpin link rotates every page you promote, with weights, hours and a fallback, and a report by source. Free, try a spin with no account: {{LINK:links}}' }, { angle: 'pages', title: 'A bridge page in a minute', hook: 'Cold traffic to someone else\'s sales page wastes most of it.', caption: 'Cold traffic to someone else\'s sales page wastes most of it. Point LinkSpin at any offer, add one line in your words, and get a bridge, review or squeeze page on a clean domain in a minute. Leads are yours. Free: {{LINK:pages}}' }, { angle: 'zones', title: 'Your site pays you', hook: 'Your website has ad space going unused right now.', caption: 'Your website has ad space going unused right now. One script tag puts a LinkSpin zone on it, and every viewable view pays you ad credits you spend on your own campaign. Nine sizes, free: {{LINK:zones}}' }, { angle: 'audiences', title: 'Retarget without renting an audience', hook: 'They read your page, did not buy, and left. Reach them again.', caption: 'They read your page, did not buy, and left. On LinkSpin everyone who sees your pages or zones is remembered for 30 days in an audience you own. Show a campaign only to them, or never to them. No Facebook, no Google: {{LINK:audiences}}' }, { angle: 'stack', title: 'Three tools, zero dollars', hook: 'A rotator, a page builder, an ad slot for your site. Free.', caption: 'A link rotator, a bridge-page builder and an ad slot for your own site. Most people pay for those three separately. On LinkSpin they are free, join by email: {{LINK:stack}}' } ]; // the six front doors: the plain invite link plus one page per hook angle (join.js renders these hooks) const ANGLES = [ { angle: '', name: 'General', hook: 'One link, every page you promote', use: 'What LinkSpin is: the rotator, the pages, the zones, the payment split, join free. Use it when you have not said anything specific yet.' }, { angle: 'links', name: 'Links', hook: 'Stop juggling links', use: 'For anyone promoting more than one page. Opens on the rotator: one link, weights, hours, a fallback, a report by source.' }, { angle: 'pages', name: 'Pages', hook: 'A bridge page in a minute', use: 'For people sending cold traffic straight to sales pages. Opens on the page builder: scan an offer, add one line, publish on a clean domain.' }, { angle: 'zones', name: 'Zones', hook: 'Your site pays you', use: 'For anyone with a website. Opens on zones: one script tag, ad credits for viewable views, spend them on your own campaign.' }, { angle: 'audiences', name: 'Audiences', hook: 'Retarget without renting an audience', use: 'For marketers who know what retargeting costs elsewhere. Opens on audiences: My visitors, pixels, show only to or never to.' }, { angle: 'stack', name: 'Free stack', hook: 'Three tools, zero dollars', use: 'For skeptics and beginners. The rotator, the pages and a zone are free; join by email, spend never until you want to.' } ]; function fill(link, me) { // invite strip if ($('promoLink')) $('promoLink').textContent = link; if ($('promoLinkCopy')) $('promoLinkCopy').onclick = async () => { try { await navigator.clipboard.writeText(link); status('Link copied.', 'ok'); } catch (e) { status('Copy failed.', 'bad'); } }; // angle links: one row per front door, copy + share const al = $('promoAngles'); if (al && al.dataset.filled !== link) { al.dataset.filled = link; al.innerHTML = ''; for (const a of ANGLES) { const url = angleLink(link, a.angle); const hasVideo = VIDEOS.some(v => v.angle === a.angle); const row = document.createElement('details'); row.className = 'angle-row pb-acc'; row.innerHTML = '' + esc(a.name) + ' ' + esc(a.hook) + '' + (hasVideo ? 'video' : '') + '' + '
' + '
' + esc(a.use) + '
' + '' + esc(url) + '
' + '
Open' + (navigator.share ? '' : '') + '
'; const [copyBtn2, shareBtn] = row.querySelectorAll('button'); copyBtn2.onclick = async () => { try { await navigator.clipboard.writeText(url); status((a.name === 'General' ? 'Invite' : a.name) + ' link copied.', 'ok'); } catch (e) { status('Copy failed.', 'bad'); } }; if (shareBtn) shareBtn.onclick = async () => { try { await navigator.share({ title: 'LinkSpin', text: a.hook, url }); } catch (e) { if (!(e && e.name === 'AbortError')) status('Could not open the share sheet.', 'bad'); } }; al.appendChild(row); } } // posts const posts = $('promoPosts'); if (posts && posts.dataset.filled !== link) { posts.dataset.filled = link; posts.innerHTML = ''; for (const p of POSTS) { const text = fillLink(p.text, link); const extras = []; const angle = (/\{\{LINK:([a-z]+)\}\}/.exec(p.text) || [])[1] || ''; if (p.net === 'X') extras.push(linkBtn('https://twitter.com/intent/tweet?text=' + encodeURIComponent(text), 'Post on X')); if (p.net === 'Facebook') extras.push(linkBtn('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(angleLink(link, angle)), 'Share on Facebook')); if (p.net === 'LinkedIn') extras.push(linkBtn('https://www.linkedin.com/sharing/share-offsite/?url=' + encodeURIComponent(angleLink(link, angle || 'adspend')), 'Share on LinkedIn')); if (p.net === 'Telegram') extras.push(linkBtn('https://t.me/share/url?url=' + encodeURIComponent(angleLink(link, angle)) + '&text=' + encodeURIComponent(text.replace(/\s*\{\{LINK[^}]*\}\}\s*$/, '').replace(/https?:\/\/\S+$/, '').trim()), 'Share on Telegram')); posts.appendChild(block(text, '' + esc(p.label) + '', extras)); } } // text a friend const texts = $('promoTexts'); if (texts && texts.dataset.filled !== link) { texts.dataset.filled = link; texts.innerHTML = ''; TEXTS.forEach((t, i) => { const text = fillLink(t.text, link); const enc = encodeURIComponent(text); const tgUrl = angleLink(link, t.angle); const tgLead = text.replace(/https?:\/\/\S+/, '').trim(); const extras = [ linkBtn('sms:?&body=' + enc, 'Text it', ''), linkBtn('https://wa.me/?text=' + enc, 'WhatsApp'), linkBtn('https://t.me/share/url?url=' + encodeURIComponent(tgUrl) + '&text=' + encodeURIComponent(tgLead), 'Telegram') ]; texts.appendChild(block(text, 'Text ' + (i + 1) + (t.angle ? ' · ' + esc(t.angle) + ' angle' : ' · general') + ' ' + esc(t.title) + '', extras)); }); } // swipes const sw = $('promoSwipeWrap'); if (sw && sw.dataset.filled !== link) { sw.dataset.filled = link; sw.innerHTML = ''; for (const s of SWIPES) { const text = 'Subject: ' + s.subject + '\n\n' + fillLink(s.body, link); sw.appendChild(block(text, '' + esc(s.tier) + ' ' + esc(s.subject) + '')); } } // hook videos const vw = $('promoVideos'); if (vw && vw.dataset.filled !== link) { vw.dataset.filled = link; vw.innerHTML = ''; if (!VIDEOS.length) vw.innerHTML = '
In production
LinkSpin\'s hook videos are being made now, one per angle, each with a matched invite link. They land here the day they are ready. Until then the posts, texts and swipes above carry every angle.
'; for (const v of VIDEOS) { const mlink = angleLink(link, v.angle); const card = document.createElement('div'); card.className = 'pv'; card.innerHTML = '
' + esc(v.angle) + ' angle ' + esc(v.title) + '
' + esc(v.hook) + '
' + '' + '

Matched link: ' + esc(mlink) + '

'; const row = document.createElement('p'); row.className = 'pb-actions'; row.appendChild(copyBtn(mlink, 'Copy matched link')); row.appendChild(linkBtn(VID_BASE + v.angle + '.mp4', 'Download 16:9')); row.appendChild(linkBtn(VID_BASE + v.angle + '-portrait.mp4', 'Download 9:16')); card.appendChild(row); const cap = fillLink(v.caption, link); const extras = [ linkBtn('https://twitter.com/intent/tweet?text=' + encodeURIComponent(cap), 'Post on X'), linkBtn('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(mlink), 'Share on Facebook'), linkBtn('https://t.me/share/url?url=' + encodeURIComponent(mlink) + '&text=' + encodeURIComponent(cap.replace(/https?:\/\/\S+$/, '').trim()), 'Telegram'), linkBtn('https://wa.me/?text=' + encodeURIComponent(cap), 'WhatsApp') ]; card.appendChild(block(cap, 'Caption', extras)); vw.appendChild(card); } } // objections const ob = $('promoObjections'); if (ob && ob.dataset.filled !== link) { ob.dataset.filled = link; ob.innerHTML = ''; for (const o of OBJECTIONS) { const d = document.createElement('details'); d.className = 'obj'; const s = document.createElement('summary'); s.textContent = o.q; d.appendChild(s); const body = document.createElement('div'); body.className = 'obj-body'; const t = document.createElement('div'); t.className = 'obj-truth'; t.innerHTML = 'The truth

' + esc(o.truth) + '

'; body.appendChild(t); const say = fillLink(o.say, link); const sayEl = block(say, 'Say this'); sayEl.classList.add('obj-say'); body.appendChild(sayEl); d.appendChild(body); ob.appendChild(d); } } } return { fill, POSTS, TEXTS, SWIPES, OBJECTIONS, VIDEOS, ANGLES }; })();