PageSourceSearch

https://minerai.pro/js/i18n.js

js minerai.pro collected 2026-09-24 15:10:18 UTC 13,342 bytes, 197 lines download raw bytes

1'use strict';
2
3// ── Translation Dictionary ─────────────────────────────────────
4const translations = {
5  pt: {
6    navCta: 'Adicionar ao Chrome',
7    eyebrow: 'Grátis para começar',
8    heroTitle1: 'Encontre anúncios que vendem',
9    heroSub: 'Chega de abrir 50 abas no escuro ou minerar em swipefiles saturados. O MinerAI filtra o Facebook Ads Library por UTMify, Checkouts, VSL e preço real direto no seu navegador.',
10    heroCtaPrimary: 'Adicionar ao Chrome',
11    browserUrl: 'facebook.com/ads/library?minerai=active',
12    trustLabel: 'Detecta anúncios de',
13    featuresTitle: 'Tudo que importa. Nada que atrapalha.',
14    f1Title: 'Filtre o que vende. Ignore o lixo.',
15    f1Desc: 'Filtre anúncios com UTMify, Kiwify, Hotmart, CartPanda ou VSL com 1 clique e veja só operações profissionais que estão escalando.',
16    f2Title: 'Saiba o ticket antes de clicar.',
17    f2Desc: 'O MinerAI busca o checkout e mostra o preço real de venda na hora — sem você preencher quizzes longos ou assistir VSLs inteiras.',
18    f3Title: 'O funil completo sem cloakers.',
19    f3Desc: 'Descubra a página original, posts nativos e links de Upsell, Downsell e Backredirect sem precisar comprar o produto.',
20    f4Title: 'Timing exato da concorrência.',
21    f4Desc: 'O monitor inteligente avisa quando um concorrente está Testando, Escalando ou Mantendo o volume de anúncios.',
22    f5Title: 'Roteiro e copy em 1 clique.',
23    f5Desc: 'Extraia o áudio completo do anúncio em texto instantâneo para analisar a estrutura e modelar criativos no mesmo dia.',
24    f6Title: 'Sua IA minerando no automático.',
25    f6Desc: 'Peça no Claude ou Cursor: "me traga 10 ofertas de saúde com UTMify". A IA controla o Ads Library e entrega a lista filtrada.',
26    pricingTag: 'Investimento Transparente', pricingTitle: 'Escolha o plano ideal para sua operação',
27    pricingDesc: 'Comece grátis ou assine o Pro para buscas ilimitadas, transcrição de áudio e automações.',
28    saveDiscount: 'Economize 56%',
29    promoMonthly: 'Promoção',
30    oldPriceMonthly: 'De R$ 77 por',
31    oldPriceAnnual: 'De R$ 397 por',
32    planAnnualBadge: 'Melhor Oferta',
33    planMonthlyTitle: 'Plano Mensal', planAnnualTitle: 'Plano Anual',
34    featItem1: 'Buscas ilimitadas no Facebook Ads Library',
35    featItem2: 'Filtro de UTMify, Checkouts e VSLs',
36    featItem3: 'Extração de ticket e preço real',
37    featItem4: 'Desbloqueador de Upsell e Downsell',
38    featItem5: 'Servidor MCP para Claude e Cursor',
39    ctaAnnual: 'Assinar Plano Anual', ctaMonthly: 'Assinar Plano Mensal',
40    guaranteeText: 'Garantia incondicional de 7 dias. Risco zero.',
41    reviewsTitle: 'Quem usa, não volta para o método manual.',
42    reviewVerified: 'Verificado',
43    review1Text: '"Antes gastava 3 horas por dia na Ads Library abrindo abas vazias. Com o MinerAI faço em 15 minutos e já sei quais ofertas têm checkout real e estão escalando de verdade."',
44    review1Role: 'Gestor de Tráfego Direto',
45    review2Text: '"O desbloqueio de funil mudou tudo na minha operação. Vejo o upsell e downsell do concorrente sem precisar comprar ou ficar preso no WhatsApp."',
46    review2Role: 'Afiliada Profissional',
47    review3Text: '"Conectei o MCP no Cursor e a IA me entregou 20 ofertas validadas de saúde com UTMify em 3 minutos. Impossível voltar a fazer isso manualmente."',
48    review3Role: 'Produtor & Coprodutor',
49    faqTag: 'Tire suas Dúvidas',
50    faqTitle: 'Perguntas Frequentes',
51    faqQ1: 'Por que o MinerAI e não um swipefile convencional ou grupo de mineração?',
52    faqA1: 'Swipefiles públicos e grupos já estão saturados por centenas de afiliados e gestores que copiam os mesmos criativos. O MinerAI extrai inteligência em tempo real direto da fonte (Ads Library), permitindo encontrar ofertas em fase de escala antes de todo mundo.',
53    faqQ2: 'Como o MinerAI descobre o preço real do produto sem eu precisar assistir a VSL ou responder quizzes?',
54    faqA2: 'Nossa tecnologia analisa o tráfego da página e requisições de checkouts integrados (Kiwify, Hotmart, Shopify, Eduzz), exibindo o valor real do checkout direto no card do anúncio.',
55    faqQ3: 'O que é o desbloqueio de funil e como ele me ajuda?',
56    faqA3: 'Permite visualizar toda a rota de conversão do concorrente — incluindo links de Upsell, Downsell e páginas de Backredirect — sem você precisar passar o cartão ou ficar preso em redirecionamentos de WhatsApp.',
57    faqQ4: 'Como funciona a mineração automática via MCP no Claude e Cursor?',
58    faqA4: 'O MinerAI inclui um servidor MCP (Model Context Protocol). Você pode pedir no chat da sua IA favorita: "Encontre 10 ofertas de saúde com UTMify e checkout Kiwify", e a IA controla a busca e formata os dados para você.',
59    faqQ5: 'Como funciona o plano gratuito e a garantia do Pro?',
60    faqA5: 'Você pode começar a usar gratuitamente sem cartão de crédito. Se optar pelo Plano Pro, você conta com 7 dias de garantia incondicional: se não gostar, recebe 100% do seu dinheiro de volta 
60na Kiwify com 1 clique.',
61    ctaEyebrow: 'Sem cartão de crédito',
62    ctaFinalTitle: 'Comece grátis. Hoje.',
63    ctaFinalSub: 'Sem cartão de crédito. Instalação rápida em 30 segundos.',
64    ctaFinalButton: 'Adicionar ao Chrome',
65    ctaNote: 'Disponível para Google Chrome e navegadores Chromium',
66    footerPrivacy: 'Privacidade', footerTerms: 'Termos de Uso',
67    footerRights: '© 2026 MinerAI. Todos os direitos reservados.'
68  },
69  en: {
70    navCta: 'Add to Chrome',
71    eyebrow: 'Free to get started',
72    heroTitle1: 'Find winning ads that convert',
73    heroSub: 'Stop opening 50 tabs in the dark or mining saturated swipefiles. MinerAI filters Facebook Ads Library by UTMify, Active Checkouts, VSLs and real product price directly in your browser.',
74    heroCtaPrimary: 'Add to Chrome',
75    browserUrl: 'facebook.com/ads/library?minerai=active',
76    trustLabel: 'Detects ads from',
77    featuresTitle: 'Everything that matters. Zero clutter.',
78    f1Title: 'Filter winners. Skip the noise.',
79    f1Desc: 'Filter ads with UTMify, Kiwify, Hotmart or VSL in 1 click and inspect only scaled operations.',
80    f2Title: 'Know the ticket before clicking.',
81    f2Desc: 'MinerAI crawls the checkout and reveals the real sale price instantly — without completing quizzes or long VSLs.',
82    f3Title: 'Full funnel without cloakers.',
83    f3Desc: 'Uncover original landing pages, native posts, and raw Upsell, Downsell and Backredirect links without purchasing.',
84    f4Title: 'Competitor scaling timing.',
85    f4Desc: 'Smart monitor alerts whether a competitor is Testing, Scaling, or Maintaining ad volume.',
86    f5Title: '1-Click creative copy scripts.',
87    f5Desc: 'Extract complete ad audio into structured text in seconds to analyze angles and script new creatives on the same day.',
88    f6Title: 'Autonomous AI ad mining.',
89    f6Desc: 'Ask Claude or Cursor: "find 10 health offers with UTMify and Kiwify". The AI queries Ads Library autonomously.',
90    pricingTag: 'Transparent Pricing', pricingTitle: 'Choose the plan for your scale',
91    pricingDesc: 'Start free or upgrade to Pro for unlimited searches, audio transcription, and continuous monitoring.',
92    saveDiscount: 'Save 56%',
93    promoMonthly: 'Special Promo',
94    oldPriceMonthly: 'Was $ 15 now',
95    oldPriceAnnual: 'Was $ 76 now',
96    planAnnualBadge: 'Best Value · Promo',
97    planMonthlyTitle: 'Monthly Plan', planAnnualTitle: 'Annual Plan',
98    featItem1: 'Unlimited Facebook Ads Library searches',
99    featItem2: 'UTMify, Checkouts & VSL filters',
100    featItem3: 'Real ticket & price extraction',
101    featItem4: 'Upsell & Downsell unblocker',
102    featItem5: 'MCP Server for Claude Desktop & Cursor',
103    ctaAnnual: 'Get Annual Pro', ctaMonthly: 'Get Monthly Pro',
104    guaranteeText: '7-day unconditional money-back guarantee.',
105    reviewsTitle: 'Smart media buyers never go manual again.',
106    reviewVerified: 'Verified',
107    review1Text: '"I used to spend 3 hours a day in Ads Library opening empty tabs. With MinerAI, I do it in 15 minutes and instantly know which offers have real checkouts and are truly scaling."',
108    review1Role: 'Direct Response Media Buyer',
109    review2Text: '"Funnel unlocking changed everything in my business. I can see the competitor’s upsells and downsells without having to purchase or get stuck in WhatsApp loops."',
110    review2Role: 'Super Affiliate',
111    review3Text: '"I plugged the MCP into Cursor and the AI delivered 20 validated health offers with UTMify in 3 minutes. Going back to manual mining is out of the question."',
112    review3Role: 'Infoproduct Creator & Publisher',
113    faqTag: 'Got Questions?',
114    faqTitle: 'Frequently Asked Questions',
115    faqQ1: 'Why MinerAI instead of a conventional swipefile or spy groups?',
116    faqA1: 'Public swipefiles and spy groups are already saturated by hundreds of affiliates copying the same angles. MinerAI extracts real-time intelligence directly from the live Facebook Ads Library, letting you spot scaling offers before the market catches on.',
117    faqQ2: 'How does MinerAI reveal the real sale price without watching VSLs or taking quizzes?',
118    faqA2: 'Our intelligent scanner parses underlying checkout requests (Kiwify, Hotmart, Shopify, Eduzz), rendering the verified checkout ticket directly on the ad card.',
119    faqQ3: 'What is funnel unlocking and how does it help my operation?',
120    faqA3: 'It maps out the entire competitor funnel — uncovering Upsell, Downsell and Backredirect URLs without requiring you to buy the product or get routed through WhatsApp.',
121    faqQ4: 'How does autonomous AI mining work with MCP in Claude and Cursor?',
122    faqA4: 'MinerAI includes a native MCP (Model Context Protocol) server. Simply prompt your AI: "Find 10 health offers with UTMify and Kiwify checkout", and your AI executes the search and organizes the data.',
123    faqQ5: 'How does the free tier and the Pro guarantee work?',
124    faqA5: 'You can get started completely free with no credit card. If you upgrade to Pro, you are covered by an unconditional 7-day money-back guarantee on Kiwify with 1-click refund.',
125    ctaEyebrow: 'No credit card required',
126    ctaFinalTitle: 'Start free. Today.',
127    ctaFinalSub: 'No credit card required. Fast 30-second install.',
128    ctaFinalButton: 'Add to Chrome',
129    ctaNote: 'Available for Google Chrome and Chromium browsers',
130    footerPrivacy: 'Privacy Policy', footerTerms: 'Terms of Service',
131    footerRights: '© 2026 MinerAI. All rights reserved.'
132  }
133};
134
135const dynamicPhrases = {
136  pt: ['antes de todo mundo.', 'direto da fonte.', 'sem ofertas saturadas.', 'sem swipefiles públicos.', 'com o preço real.'],
137  en: ['before everyone else.', 'straight from the source.', 'without saturated offers.', 'without public swipefiles.', 'with verified sale price.']
138};
139
140let currentLang = localStorage.getItem('minerai_lp_lang') || 'pt';
141let usdBrlRate = 5.20;
142
143async function fetchUsdRate() {
144  try {
145    const res = await fetch('https://economia.awesomeapi.com.br/last/USD-BRL');
146    if (!res.ok) return;
147    const data = await res.json();
148    if (data?.USDBRL?.bid && parseFloat(data.USDBRL.bid) > 0) {
149      usdBrlRate = parseFloat(data.USDBRL.bid);
150      updatePricing(currentLang);
151    }
152  } catch (e) { /* fallback */ }
153}
154
155function updatePricing(lang) {
156  const mVal = document.getElementById('price-monthly-val'), mPer = document.getElementById('price-monthly-period');
157  const aVal = document.getElementById('price-annual-val'), aPer = document.getElementById('price-annual-period');
158  const mOld = document.getElementById('price-monthly-old'), aOld = document.getElementById('price-annual-old');
159
160  if (lang === 'en') {
161    const mUsd = Math.round(47 / usdBrlRate), mOldUsd = Math.round(77 / usdBrlRate);
162    const aUsd = Math.round(247 / usdBrlRate), aOldUsd = Math.round(397 / usdBrlRate);
163    if (mOld) mOld.textContent = `Was $ ${mOldUsd} now`;
164    if (mVal) mVal.innerHTML = `$ ${mUsd}<span class="plan-cents">/mo</span>`;
165    if (mPer) mPer.textContent = `Billed monthly (~$ ${mUsd}) · Cancel anytime`;
166    if (aOld) aOld.textContent = `Was $ ${aOldUsd} now`;
167    if (aVal) aVal.innerHTML = `$ ${aUsd}<span class="plan-cents">/yr</span>`;
168    if (aPer) aPer.textContent = `Billed $ ${aUsd} per year (Save 56%)`;
169  } else {
170    if (mOld) mOld.textContent = `De R$ 77 por`;
171    if (mVal) mVal.innerHTML = `R$ 47<span class="plan-cents">/mês</span>`;
172    if (mPer) mPer.textContent = `Cobrado mensalmente · Cancele quando quiser`;
173    if (aOld) aOld.textContent = `De R$ 397 por`;
174    if (aVal) aVal.innerHTML = `12x R$ 25<span class="plan-cents">,55</span>`;
175    if (aPer) aPer.textContent = `ou R$ 247 à vista (Economize 56%)`;
176  }
177}
178
179function setLanguage(lang) {
180  if (!translations[lang]) return;
181  currentLang = lang;
182  localStorage.setItem('minerai_lp_lang', lang);
183  document.documentElement.lang = lang === 'pt' ? 'pt-BR' : 'en';
184
185  document.querySelectorAll('[data-i18n]').forEach(el => {
186    const key = el.getAttribute('data-i18n');
187    if (translations[lang][key]) el.textContent = translations[lang][key];
188  });
189
190  document.querySelectorAll('.lang-btn').forEach(btn => {
191    btn.classList.toggle('active', btn.dataset.lang === lang);
192  });
193
194  updatePricing(lang);
195}
196
197fetchUsdRate();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.