✓ BLACKFRIDAY saved: +500 bonus credits are added automatically when you start your first paid plan · through Dec 2

İçerik bildir

window.KC_I18N_SEED={"Find my best moments (free)":"En iyi anlarımı bul (ücretsiz)","Try one clip free":"Bir klibi ücretsiz dene","Hide password":"Şifreyi gizle","Show password":"Şifreyi göster","Create your account":"Hesabını oluştur","Turn videos and product photos into ready-to-post Shorts and ads.":"Videoları ve ürün fotoğraflarını paylaşıma hazır Shorts'lara ve reklamlara dönüştür.","Create account":"Hesap oluştur","Get started":"Hemen başla","Long videos in, Shorts out.":"Uzun videolar girer, Shorts çıkar.","Reset your password":"Şifreni sıfırla","Enter your email and we'll send you a reset link.":"E-postanı gir, sana bir sıfırlama bağlantısı gönderelim.","Send reset link":"Sıfırlama bağlantısı gönder","Choose a new password":"Yeni bir şifre belirle","At least 8 characters.":"En az 8 karakter.","Save new password":"Yeni şifreyi kaydet","New password":"Yeni şifre","Create your account, then pay securely with Stripe.":"Hesabını oluştur, ardından Stripe ile güvenle öde.","No card needed to look around. You pay when you make your first video.":"Göz atmak için kart gerekmez. Yalnızca ilk videonu oluştururken ödeme yaparsın.","Try one free sample ad":"Ücretsiz bir deneme reklamı dene","Find your best moments,":"En iyi anlarını bul,","free.":"ücretsiz.","Free Moment Finder":"Ücretsiz an bulucu","One ad video from your store link, with a small watermark. No card needed. Make your account, then open Product ads.":"Mağaza bağlantından küçük filigranlı bir reklam videosu. Kart gerekmez. Hesabını oluştur, sonra Ürün reklamları'nı aç.","Your stream is ready":"Yayının hazır","Make your account and we scan it for your best moments. Your first scan is free, no card needed.":"Hesabını oluştur, en iyi anların için tarayalım. İlk taraman ücretsiz, kart gerekmez.","Make your account and we start on your clips. No card needed to look around.":"Hesabını oluştur, kliplerine başlayalım. Göz atmak için kart gerekmez.","TikTok":"TikTok","Facebook":"Facebook","Or tap the ••• menu (or the share icon) and choose Open in browser.":"Veya ••• menüsüne (ya da paylaş simgesine) dokunup Tarayıcıda aç'ı seç.","Link copied. Paste it in Safari or Chrome":"Bağlantı kopyalandı. Safari veya Chrome'a yapıştır","Free scan: paste a link or upload a video and get your top-moments list. Once per account, up to {0} minutes of video.":"Ücretsiz tarama: bir bağlantı yapıştır veya video yükle, en iyi anlar listeni al. Hesap başına bir kez, en fazla {0} dakika video.","We scan up to {0} minutes of your video.":"Videonun en fazla {0} dakikasını tararız.","Your first video is free: one upload gives you up to 5 clips or 5 photo-montage looks, with a small KairoCut mark. No card needed.":"İlk videon ücretsiz: tek bir yükleme sana en fazla 5 klip ya da 5 fotoğraf montajı görünümü verir, küçük bir KairoCut işaretiyle. Kart gerekmez.","Your first try is free, no card needed: a finished short video, or a best-moments scan of a long one. One free try per account.":"İlk denemen ücretsiz, kart gerekmez: bitmiş kısa bir video ya da uzun bir videonun en iyi anlar taraması. Hesap başına bir ücretsiz deneme.","Your Google sign-in timed out. Please try again.":"Google ile giriş zaman aşımına uğradı. Lütfen tekrar dene.","Google sign-in was cancelled.":"Google ile giriş iptal edildi.","KairoCut is invite-only right now. Use the Google account with the email your invite was sent to.":"KairoCut şu an yalnızca davetiyeyle kullanılabiliyor. Davetiyenin gönderildiği e-postaya ait Google hesabını kullan.","That Google account's email isn't verified yet. Verify it with Google, or use your email and a password.":"Bu Google hesabının e-posta adresi henüz doğrulanmamış. Google üzerinden doğrula veya e-posta ve şifrenle giriş yap.","We couldn't sign you in with Google. Please try again, or use your email.":"Google ile girişini sağlayamadık. Lütfen tekrar dene veya e-postanı kullan.","This account is suspended. Contact us if you think this is a mistake.":"Bu hesap askıya alındı. Bunun bir hata olduğunu düşünüyorsan bize ulaş.","Google sign-in doesn't work inside this app. Use your email below, or open this page in your browser.":"Google ile giriş bu uygulama içinde çalışmıyor. Aşağıdan e-postanı kullan veya bu sayfayı tarayıcında aç.","To create your account, tick the box to agree to the Terms of Service and Privacy Policy, then continue with Google.":"Hesabını oluşturmak için Hizmet Şartları ve Gizlilik Politikası'nı kabul eden kutuyu işaretle, ardından Google ile devam et.","Tick the box to agree to the Terms of Service and Privacy Policy first.":"Önce Hizmet Şartları ve Gizlilik Politikası'nı kabul etmek için kutuyu işaretle.","This reset link is missing its code. Request a new one.":"Bu sıfırlama bağlantısında kod eksik. Yenisini iste.","If that email has an account, a reset link is on its way. Check your inbox (and spam).":"Bu e-postaya ait bir hesap varsa, sıfırlama bağlantısı yola çıktı bile. Gelen kutunu (ve spam klasörünü) kontrol et.","Something went wrong":"Bir şeyler ters gitti","Network error":"Ağ hatası","streams":"stream","credits":"kredi","Skip to content":"İçeriğe geç","Delete my account":"Hesabımı sil","Your account is deleted. We sent a confirmation to your email.":"Hesabın silindi. E-posta adresine bir onay iletisi gönderdik.","Run your free scan":"Ücretsiz taramanı başlat","{0} streams":"{0} yayın","$4.99 first month":"İlk ay 4,99 $","Start free":"Ücretsiz başla","Try KairoCut":"KairoCut'ı dene","Your first video is free":"İlk videon ücretsiz","One upload, up to 5 clips or 5 looks.":"Tek yükleme, en fazla 5 klip ya da 5 görünüm.","5 videos":"5 video","Your first try is free.":"İlk denemen ücretsiz.","Short clips come back finished. Long videos get a free best-moments scan. No card needed.":"Kısa klipler bitmiş olarak gelir. Uzun videolar ücretsiz en iyi anlar taraması alır. Kart gerekmez.","$4.99 first month, then $9.99/mo.":"İlk ay $4.99, sonra $9.99/ay.","Cancel anytime.":"İstediğin zaman iptal et.","Close":"Kapat"}; pt> const mode = location.pathname.replace('/', '') || 'login'; // signup | login | forgot | reset const $ = id => document.getElementById(id); const Q = new URLSearchParams(location.search); const token = Q.get('t') || ''; const pick = /^((lite|creator|studio)(_yearly)?|studio_max|trial)$/.test(Q.get('plan') || '') ? Q.get('plan') : ''; // plan clicked on the home page const team = (Q.get('team') || '').replace(/[^A-Za-z0-9_-]/g, ''); // a team invite link: join after logging in const vod = /^https?:\/\/\S{4,400}$/i.test(Q.get('vod') || '') ? Q.get('vod') : ''; // a link pasted on the home page: the studio fills it in const free = /^(scan|sample|ad)$/.test(Q.get('free') || '') ? Q.get('free') : ''; // Oct 22: "Find my best moments (free)" / "Try one clip free"; Oct 27: the free sample ad const carry = team ? '?team=' + team : pick ? '?plan=' + pick + (vod ? '&vod=' + encodeURIComponent(vod) : '') : free ? '?free=' + free + (vod ? '&vod=' + encodeURIComponent(vod) : '') : vod ? '?vod=' + encodeURIComponent(vod) : ''; const evId = 'reg-' + Date.now().toString(36) + Math.random().toString(36).slice(2, 8); // shared with the server's copy (ads.py) $('codelink').addEventListener('click', () => { $('codelink').hidden = true; $('coderow').hidden = false; $('code').focus(); }); $('eye').addEventListener('click', () => { const show = $('pw').type === 'password'; $('pw').type = show ? 'text' : 'password'; $('eye').setAttribute('aria-label', show ? 'Hide password' : 'Show password'); $('eye').style.color = show ? 'var(--a2)' : ''; }); const M = { signup: {title: 'Create your account', sub: 'Turn videos and product photos into ready-to-post Shorts and ads.', go: 'Create account', eb: 'Get started', acc: 'Long videos in, Shorts out.', sw: `Already have an account? Log in`, api: '/api/signup'}, login: {title: 'Welcome back', sub: 'Log in to your KairoCut account.', go: 'Log in', eb: 'Log in', acc: 'Pick up where you left off.', sw: `New here? Create an account`, api: '/api/login'}, forgot: {title: 'Reset your password', sub: "Enter your email and we'll send you a reset link.", go: 'Send reset link', sw: 'Back to log in', api: '/api/forgot'}, reset: {title: 'Choose a new password', sub: 'At least 8 characters.', go: 'Save new password', sw: 'Back to log in', api: '/api/reset'}, }[mode] || {}; document.title = M.title + ' · KairoCut'; t.textContent = M.title; s.textContent = M.sub; go.textContent = M.go; sw.innerHTML = M.sw; document.body.classList.add('m-' + mode); $('eb').textContent = M.eb || ''; $('acc').textContent = M.acc || ''; // G4: the homepage headline system if (mode === 'forgot') { pwrow.hidden = true; pw.required = false; } if (mode === 'reset') { emailrow.hidden = true; email.required = false; pwl.textContent = 'New password'; } if (mode === 'login') fl.hidden = false; if (mode === 'login' && team) s.textContent = 'Log in with the email your invite was sent to, and you join the team.'; pw.autocomplete = mode === 'login' ? 'current-password' : 'new-password'; if (mode === 'signup') { // Oct 16: just email + password. Look around the app first; you pay when you make your first video. $('agree').hidden = false; $('countryrow').hidden = false; $('country').required = true; // Oct 19: geo block asks where you are (the server checks the edge + Stripe too) { const qc = (Q.get('code') || '').toUpperCase().replace(/[^A-Z0-9_-]/g, '').slice(0, 24); // ship-17: the creator card's ?code= if (qc) { $('coderow').hidden = false; $('code').value = qc; } else $('codelink').hidden = false; } try { const CC = 'AD AE AF AG AL AM AO AR AT AU AZ BA BB BD BE BF BG BH BI BJ BN BO BR BS BT BW BY BZ CA CD CF CG CH CI CL CM CN CO CR CU CV CY CZ DE DJ DK DM DO DZ EC EE EG ER ES ET FI FJ FR GA GB GD GE GH GM GN GQ GR GT GW GY HN HR HT HU ID IE IL IN IQ IR IS IT JM JO JP KE KG KH KI KM KN KP KR KW KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MG MK ML MM MN MR MT MU MV MW MX MY MZ NA NE NG NI NL NO NP NR NZ OM PA PE PG PH PK PL PT PY QA RO RS RU RW SA SB SC SD SE SG SI SK SL SM SN SO SR SS ST SV SY SZ TD TG TH TJ TL TM TN TO TR TT TV TZ UA UG US UY UZ VA VC VE VN VU WS YE ZA ZM ZW'.split(' '); // Oct 23 polish: country names in the reader's language (i18n.js loads after this script, so read its choice the // same way: ?lang=, then the kc_lang cookie, then the browser), not always English const ui = ((new URLSearchParams(location.search).get('lang') || (document.cookie.match(/(?:^|; )kc_lang=([a-z]{2})/) || [])[1] || navigator.language || 'en') + '').slice(0, 2).toLowerCase(); let dn; try { dn = new Intl.DisplayNames([ui, 'en'], {type: 'region'}); } catch (_) { dn = new Intl.DisplayNames(['en'], {type: 'region'}); } CC.map(c => [c, dn.of(c)]).sort((a, b) => a[1].localeCompare(b[1], ui)).forEach(([c, n]) => $('country').add(new Option(n, c))); const guess = (navigator.languages || [navigator.language]).map(l => ((l || '').split('-')[1] || '').toUpperCase()).find(c => CC.includes(c)); if (guess) $('country').value = guess; // pre-picked from the browser so most people never touch it } catch (_) { ['US', 'CA', 'AU', 'GB', 'DE', 'FR'].forEach(c => $('country').add(new Option(c, c))); } // Oct 29: clickwrap. The notice sits above both buttons; continuing is the agreement (the server still gets tos=1) $('consent').hidden = false; $('tos').checked = true; $('tos').addEventListener('change', () => { if ($('tos').checked) { $('tosrow').classList.remove('need'); if (err.dataset.terms) { err.textContent = ''; delete err.dataset.terms; } } }); $('s').textContent = pick && pick !== 'trial' ? 'Create your account, then pay securely with Stripe.' : 'No card needed to look around. You pay when you make your first video.'; if (pick === 'trial' && !free) $('deal').hidden = false; // Oct 22 (phone sign-up test): the free path must say "free"; a pasted link is acknowledged, not forgotten if (free) { $('t').textContent = free === 'ad' ? 'Try one free sample ad' : free === 'sample' ? 'Get one clip free' : 'Find your best moments,'; $('acc').textContent = free === 'sample' || free === 'ad' ? '' : 'free.'; $('eb').textContent = free === 'sample' || free === 'ad' ? 'Get started' : 'Free Moment Finder'; $('s').textContent = free === 'ad' ? 'One ad video from your store link, with a small watermark. No card needed. Make your account, then open Product ads.' : (free === 'sample' ? 'Your first clip is free.' : 'Your first scan is free.') + ' No card needed. Make your account and add your video.'; if (free === 'scan') $('freescan').hidden = false; // Oct 23 (overhaul A6): the terms, in plain words } if (vod && !team) { $('t').textContent = 'Your stream is ready'; $('acc').textContent = ''; $('s').textContent = free ? 'Make your account and we scan it for your best moments. Your first scan is free, no card needed.' : 'Make your account and we start on your clips. No card needed to look around.'; } f.addEventListener('focusin', () => window.kcEvent && kcEvent('signup_started', pick, true)); if (team) $('s').textContent = 'Create your account with the email your invite was sent to, and you join the team. Nothing to pay.'; } // TikTok / Instagram / Facebook / X (Nov 5: X's app says "Twitter" in its user agent) in-app browsers: Google refuses to sign in there (403 disallowed_useragent). // Hide the Google button, keep email sign-up, and offer to open the page in the real browser (P0-34). const INAPP = /FBAN|FBAV|FB_IAB|FBIOS|FB4A|Messenger|Instagram|BytedanceWebview|musical_ly|TikTok|trill_|Snapchat|Line\/|KAKAOTALK|Twitter/i.test(navigator.userAgent); if (INAPP && (mode === 'signup' || mode === 'login')) { inapp.hidden = false; inapp.classList.add('below'); f.after(inapp); // Oct 22: email sign-up first; the open-in-browser help sits under it const app = (navigator.userAgent.match(/Instagram|TikTok|musical_ly|Bytedance|FBAN|FBAV|FB_IAB|Messenger|Snapchat|Line\/|Twitter/i) || ['app'])[0]; // Nov 18 (ux-nov18): track.js loads at the end of the page, after this script, so kcEvent did not exist yet here and // production recorded 0 webview_detected ever. Send it once the page (and track.js) has loaded. const wvName = app.replace(/musical_ly|Bytedance/i, 'TikTok').replace(/FBAN|FBAV|FB_IAB/i, 'Facebook').replace(/Twitter/i, 'X'); const wvSend = () => { if (window.kcEvent) kcEvent('webview_detected', wvName, true); }; if (window.kcEvent) wvSend(); else window.addEventListener('load', wvSend, {once: true}); if (/Android/i.test(navigator.userAgent)) { // Android: hand the page to Chrome directly openchrome.href = 'intent://' + location.host + location.pathname + location.search + '#Intent;scheme=https;package=com.android.chrome;end'; openchrome.hidden = false; } else { inapphint.textContent = 'Or tap the ••• menu (or the share icon) and choose Open in browser.'; } copylink.addEventListener('click', async () => { const url = location.href; let done = false; try { await navigator.clipboard.writeText(url); done = true; } catch (_) {} if (!done) { // older webviews: select a hidden field and copy const t = document.createElement('textarea'); t.value = url; t.setAttribute('readonly', ''); t.style.cssText = 'position:fixed;top:0;left:0;opacity:0'; document.body.appendChild(t); t.select(); t.setSelectionRange(0, url.length); try { done = document.execCommand('copy'); } catch (_) {} t.remove(); } copylink.textContent = done ? 'Link copied. Paste it in Safari or Chrome' : url; }); } if (mode === 'signup') document.documentElement.setAttribute('data-kc-conv', '1'); // track.js: load the ad tags now if (mode === 'signup' || mode === 'login') { fetch('/api/config').then(r => r.json()).then(c => { if (mode === 'signup') { inv.hidden = !c.invite_only; // ship-17 A6: /signup?free=scan says what the offer is, only while the free scan is on (switch + daily budget), // with the limit from config (same sentence as the homepage's free-scan terms) if (free === 'scan' && c.free && c.free.scan) { const T = s => ((window.KCi18n || {}).t || (x => x))(s), mins = c.free.scan_minutes; $('fs-terms').textContent = T('Free scan: paste a link or upload a video and get your top-moments list. Once per account, up to {0} minutes of video.').replace('{0}', mins); $('fs-limit').textContent = T('We scan up to {0} minutes of your video.').replace('{0}', mins); $('freescan').hidden = false; if (c.free.five) $('s').textContent = T('Your first video is free: one upload gives you up to 5 clips or 5 photo-montage looks, with a small KairoCut mark. No card needed.'); } // Nov 2 (Scout funnel cliffs): the plain sign-up said "You pay when you make your first video" while the first // video is free. While the free first try is on, say so (same sentence as the studio's drop box). if (!free && !vod && !team && (!pick || pick === 'trial') && c.free && c.free.scan) { const T = s => ((window.KCi18n || {}).t || (x => x))(s); $('s').textContent = !c.free.five ? T('Your first try is free, no card needed: a finished short video, or a best-moments scan of a long one. One free try per account.') : T('Your first video is free: one upload gives you up to 5 clips or 5 photo-montage looks, with a small KairoCut mark. No card needed.'); // Nov 9: FREE_FIVE_ON } if (c.share_improve) { $('imprrow').hidden = false; $('impr').checked = false; } // never pre-ticked role.innerHTML = '' + Object.entries(c.roles || {}).map(([k, v]) => ``).join(''); } if (c.google && !INAPP) { // Continue with Google (hidden until the server has Google credentials; never in-app) const g = new URLSearchParams({mode, ev_id: evId}); if (pick) g.set('plan', pick); if (team) g.set('team', team); gbtn.href = '/auth/google?' + g; gwrap.hidden = false; } }).catch(() => {}); gbtn.addEventListener('click', e => { if (mode === 'signup' && !$('tos').checked) { e.preventDefault(); needTerms(); return; } { const u = new URL(gbtn.href); if (mode === 'signup') u.searchParams.set('tos', '1'); else u.searchParams.delete('tos'); if (mode === 'signup' && $('impr').checked && !$('imprrow').hidden) u.searchParams.set('improve', '1'); else u.searchParams.delete('improve'); if (window.KCi18n && KCi18n.lang !== 'en') u.searchParams.set('lang', KCi18n.lang); gbtn.href = u; } if (vod) try { sessionStorage.setItem('kc_vod', vod); } catch (_) {} // the studio picks the pasted link up after Google if (mode === 'signup' && window.kcEvent) kcEvent('signup_started', pick || free || 'google', true); }); const gerr = { expired: 'Your Google sign-in timed out. Please try again.', cancelled: 'Google sign-in was cancelled.', invite: 'KairoCut is invite-only right now. Use the Google account with the email your invite was sent to.', unverified: "That Google account's email isn't verified yet. Verify it with Google, or use your email and a password.", failed: "We couldn't sign you in with Google. Please try again, or use your email.", suspended: 'This account is suspended. Contact us if you think this is a mistake.', webview: "Google sign-in doesn't work inside this app. Use your email below, or open this page in your browser.", terms: 'To create your account, tick the box to agree to the Terms of Service and Privacy Policy, then continue with Google.', }[Q.get('gerr') || '']; if (gerr) err.textContent = gerr; if (gerr && Q.get('gerr') === 'terms' && mode === 'signup') { err.dataset.terms = '1'; $('tosrow').classList.add('need'); } } function needTerms(msg) { // the Terms box isn't ticked: say so next to it (never create the account) err.textContent = msg || 'Tick the box to agree to the Terms of Service and Privacy Policy first.'; err.dataset.terms = '1'; $('tosrow').classList.add('need'); $('tosrow').scrollIntoView({block: 'center', behavior: 'smooth'}); $('tos').focus({preventScroll: true}); } if (mode === 'reset' && !token) { err.textContent = 'This reset link is missing its code. Request a new one.'; go.disabled = true; } f.addEventListener('submit', async e => { e.preventDefault(); err.textContent = ''; ok.textContent = ''; if (mode === 'signup' && !$('tos').checked) { needTerms(); return; } go.disabled = true; const body = mode === 'reset' ? {token, password: pw.value} : mode === 'signup' ? {email: email.value, password: pw.value, ev_id: evId, plan: pick, tos: $('tos').checked, country: $('country').value, improve: !$('imprrow').hidden && $('impr').checked, code: ($('code').value || '').trim().toUpperCase(), lang: (window.KCi18n || {}).lang || 'en'} : {email: email.value, password: pw.value}; try { const r = await fetch(M.api, {method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify(body)}); const j = await r.json().catch(() => ({})); if (r.ok) { // Nov 6 2026 (Google counted ~9 of 57 sign-ups): wait until the ad networks have the sign-up (max 1.2 s) BEFORE // leaving for /app; firing and navigating at once lost most Google conversions. track.js loads the tags early here. if (mode === 'signup') try { if (window.kcTrackThen) await kcTrackThen('CompleteRegistration', {content_name: pick || 'signup'}, evId, 1200); else if (window.kcTrack) kcTrack('CompleteRegistration', {content_name: pick || 'signup'}, evId); } catch (_) {} if (mode === 'forgot') { ok.textContent = 'If that email has an account, a reset link is on its way. Check your inbox (and spam).'; return; } location.href = mode === 'reset' ? '/app' : '/app' + (team ? '?team=' + team : pick ? '?plan=' + pick + (vod ? '&vod=' + encodeURIComponent(vod) : '') : free === 'ad' ? '?free=ad' : vod ? '?vod=' + encodeURIComponent(vod) + (mode === 'signup' ? '&welcome=1' : '') : mode === 'signup' ? '?welcome=1' : ''); return; } if (j.geo) { location.href = '/unavailable'; return; } err.textContent = j.error || 'Something went wrong'; } catch (_) { err.textContent = 'Network error'; } go.disabled = false; });