← CatalogMasterkraftCazul tău

Script + SkillArena

Mesaj gata de trimis — sau antrenament pe scenarii

Dacă vrei să negociezi prețul și nu știi ce să scrii. Primești trei mesaje gata de trimis (deschidere, echilibrat, rezervă) și treptele de ofertă. Nota ta rămâne în PDF, separat, nu în mesaj. Poți exersa pe scenarii. Tu trimiți. 14 RON.

Ce primești, pe înțelesul tuturor

Trei mesaje pe email — deschidere, echilibrat, rezervă. Nota ta nu intră în textul de trimis.

Răspuns pe mesaj primit — lipești ce ți-a scris; vezi 3 variante (ferm / diplomatic / presiune). Tu trimiți.

Antrenament — scenarii scurte (presiune, avans, clauze) cu feedback.

Dacă ai verificat CUI-ul — pui același CUI; mesajul ține cont de semnalele de pe firmă.

1 credit = 1 mesaj sau 1 antrenament — același email ca la plată. Nu e evaluare oficială de preț.

Specimen Script

Deschide PDF exemplu

1. Generează scriptul PDF

2. Guardian — răspunde mesajului

Lipești mesajul primit. Primești 3 variante. Tu trimiți — noi nu trimitem. Dacă ai CUI/email de la Verificare CUI, ținem cont de semnalele pe firmă.

3. SkillArena — laborator

Același email / credit. 10 scenarii, feedback, badge intern (nu diplomă).

Aleator
(function(){ const API='https://srv.n8n-go0-fxb-57n.hostico.dev/verdict-api'; let sessionId=''; function esc(s){return String(s==null?'':s).replace(/&/g,'&').replace(//g,'>').replace(/"/g,'"');} function sevClass(s){s=String(s||'info').toLowerCase();return 'sev-'+(s==='critical'||s==='major'||s==='minor'?s:'info');} function renderMll(mll, mkCert, opts){ if(!mll && !mkCert) return ''; opts=opts||{}; const check=mll&&mll.mk_check?mll.mk_check:(mkCert||null); const facts=(mll&&mll.risk_facts)||[]; const gaps=mll&&mll.gaps?mll.gaps:{}; const watch=mll&&mll.watch_flags?mll.watch_flags:{}; const scen=(mll&&mll.scenarios_preview)||[]; const tl=(mll&&mll.timeline_preview)||[]; const hist=(mll&&mll.history_preview)||[]; const tones=mll&&mll.tones?mll.tones:{}; const next=mll&&mll.continuity?mll.continuity:null; const integ=check&&check.integrity?check.integrity:{}; const cot=check&&check.chain_of_trust?check.chain_of_trust:{}; const flat=(gaps.flat||[]).slice(0,5); let html='
'; html+='Context firmă (MLL)'; if(mll&&mll.mk_id) html+='

MK-ID '+esc(mll.mk_id)+(mll.schema?' · '+esc(mll.schema):'')+'

'; if(check){ html+='

MK-CHECK '+(check.badge_short?esc(check.badge_short):esc(check.cert_id||'—')); if(integ.anaf||integ.just) html+=' · date fiscale '+esc(integ.anaf||'—')+' / Just '+esc(integ.just||'—'); else if(integ.status) html+=' · integritate '+esc(integ.status); if(check.hash||check.content_hash) html+=' · hash '+esc(String(check.hash||check.content_hash||'').slice(0,16))+'…'; html+='

'; if(cot.requested_by||cot.purpose) html+='

Cerut de '+esc(cot.requested_by||'—')+(cot.purpose?' · scop '+esc(cot.purpose):'')+'

'; if(check.verify_url) html+='

Verifica CERT

'; } html+='

Watch '+(watch.is_watched?'activ':'neactiv'); if(watch.watch_window_days||watch.window_days) html+=' · fereastra '+(watch.watch_window_days||watch.window_days)+' zile'; if(watch.critical_events!=null) html+=' · critice '+(watch.critical_events||0)+' / majore '+(watch.major_events||0)+' / minore '+(watch.minor_events||0); html+='

'; if(tones.default||tones.recommended) html+='

Ton recomandat '+esc(tones.default||tones.recommended)+'

'; if(facts.length){ html+='

Riscuri factuale

    '; facts.forEach(function(f){ const t=f.fact||f.text||''; html+='
  • '+esc(f.severity||'info')+': '+esc(t)+' ('+esc(f.source||'')+')
  • '; }); html+='
'; } if(flat.length||gaps.count){ html+='

Gaps'+(gaps.count!=null?' ('+gaps.count+')':'')+'

    '; if(flat.length){ flat.forEach(function(g){ const txt=typeof g==='string'?g:(g.gap||g.code||''); const zone=g&&g.zone?('['+g.zone+'] '):''; html+='
  • '+esc(zone+txt)+'
  • '; }); }else{ const v=gaps.verification||{}, st=gaps.stack||{}; if(v.missing_anaf) html+='
  • missing_anaf
  • '; if(v.missing_just) html+='
  • missing_just
  • '; if(st.missing_history) html+='
  • missing_history
  • '; if((gaps.dosar||{}).missing_dosar) html+='
  • missing_dosar
  • '; if((gaps.watch||{}).missing_watch) html+='
  • missing_watch
  • '; } html+='
'; } if(tl.length){ html+='

Timeline(slice · '+(watch.watch_window_days||watch.window_days||30)+' zile)

    '; tl.forEach(function(t){ html+='
  • '+esc(t.date||'—')+' · '+esc(t.type||'')+' · '+esc(t.label||'')+'
  • '; }); html+='
'; } if(hist.length){ html+='

History'+(mll&&mll.history_n!=null?' ('+esc(mll.history_n)+')':'')+'

    '; hist.forEach(function(h){ html+='
  • '+esc(h.date||'—')+' · '+esc(h.type||'')+' · '+esc(h.id||'')+(h.tone?' · '+esc(h.tone):'')+(h.summary?' — '+esc(h.summary):'')+'
  • '; }); html+='
'; }else if(mll&&mll.history_n!=null){ html+='

Istoric legat: '+esc(mll.history_n)+' evenimente

'; } if(scen.length){ html+='

Scenarii din verificare

    '; scen.forEach(function(s){ html+='
  • '+esc(s.title||s.id||'')+' ('+esc(s.source||'')+(s.tone?' · '+esc(s.tone):'')+')
  • '; }); html+='
'; } const qParts=[]; if(opts.email) qParts.push('email='+encodeURIComponent(opts.email)); if(opts.cui) qParts.push('cui='+encodeURIComponent(opts.cui)); const qs=qParts.length?('?'+qParts.join('&')):''; if(next&&next.href&&next.label){ html+='
'; html+='Pasul următor pe acest caz'; if(next.reason) html+='

'+esc(next.reason)+'

'; html+=''+esc(next.label)+''; if(next.secondary&&next.secondary.href){ html+=''+esc(next.secondary.label||'Alternativa')+''; } html+='
'; } html+='
'; return html; } function setStatus(ok,t){ const s=document.getElementById('status'); if(s){s.className=ok?'status ok':'status err';s.textContent=t;} const p=document.getElementById('pay-status'); if(p){p.className=ok?'pay-status ok':'pay-status err';p.textContent=t;} } async function credit(email){ const res=await fetch(API+'/verifica-email-produs',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({email:email,produs:'negociere'})}); const data=await res.json().catch(function(){return {};}); return {ok:!!(res.ok&&data.ok), ramase:data.ramase||0}; } window.deblocheaza=async function(){ const emailEl=document.getElementById('email'); const email=(emailEl&&emailEl.value||'').trim(); if(!email){ setStatus(false,'Introdu emailul din Stripe în formularul de mai jos, apoi apasă din nou „Am plătit”.'); if(emailEl){emailEl.scrollIntoView({behavior:'smooth',block:'center'});setTimeout(function(){emailEl.focus();},350);} return; } setStatus(true,'Verific plata…'); try{ const c=await credit(email); if(c.ok) setStatus(true,'Credit activ. Rămase: '+c.ramase+' (PDF sau lab)'); else setStatus(false,'Nu există plată pe acest email.'); }catch(e){setStatus(false,'Nu s-a putut verifica plata.');} }; document.getElementById('form-neg').addEventListener('submit',async function(ev){ ev.preventDefault(); const btn=document.getElementById('btn'); const box=document.getElementById('rezultat'); box.hidden=true; if(!document.getElementById('consent').checked){setStatus(false,'Bifează consimțământul.');return;} const email=document.getElementById('email').value.trim(); const cui=document.getElementById('cui').value.trim(); btn.disabled=true; setStatus(true,'Verific creditul…'); try{ const c=await credit(email); if(!c.ok){setStatus(false,'Plătește 14 RON, apoi același email.');btn.disabled=false;return;} setStatus(true,'Generez scriptul…'); const body={ email:email, cui:cui, tip:document.getElementById('tip').value, pret_cerut:document.getElementById('pret_cerut').value.trim(), context:document.getElementById('context').value, tinta_pct:document.getElementById('tinta_pct').value.trim(), style:document.getElementById('style').value, note:document.getElementById('note').value.trim(), consent:'true' }; const res=await fetch(API+'/api/v4/negociere/genereaza',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(body)}); const data=await res.json().catch(function(){return {};}); if(res.status===402){setStatus(false,data.error||'Fără credit.');btn.disabled=false;return;} if(!res.ok){setStatus(false,data.error||('HTTP '+res.status));btn.disabled=false;return;} setStatus(true,'Script generat. PDF '+(data.email_trimis?'trimis pe email.':'gata.')); const brain=data.brain||{}; const tones=brain.tones||{}; let brainHtml=''; if(brain.draft_final||tones.ferm||tones.calm){ brainHtml+='

Brain — draft preferat

'; brainHtml+='

'; if(tones.ferm) brainHtml+='

Ferm: '+esc(tones.ferm)+'

'; if(tones.calm) brainHtml+='

Calm: '+esc(tones.calm)+'

'; if(tones.presiune_inversa) brainHtml+='

Presiune inversă: '+esc(tones.presiune_inversa)+'

'; if(brain.note) brainHtml+='

'+esc(brain.note)+'

'; } box.hidden=false; box.innerHTML='

Script tip '+esc(data.tip||body.tip)+' · pret '+(data.pret_cerut||body.pret_cerut)+'

'+brainHtml+renderMll(data.mll, data.mk_cert, {email:email,cui:cui}); }catch(e){setStatus(false,'Nu s-a putut contacta serverul.');} btn.disabled=false; }); fetch(API+'/api/v4/skillarena/scenarios',{method:'POST',headers:{'Content-Type':'application/json'},body:'{}'}) .then(function(r){return r.json();}).then(function(d){ const sel=document.getElementById('sa-scenario'); (d.scenarios||[]).forEach(function(s){ const o=document.createElement('option'); o.value=s.id; o.textContent=s.title; sel.appendChild(o); }); }).catch(function(){}); document.getElementById('form-sa').addEventListener('submit',async function(e){ e.preventDefault(); const out=document.getElementById('sa-out'); const email=document.getElementById('email').value.trim(); if(!email){out.className='status err';out.textContent='Completează emailul de mai sus.';return;} if(!document.getElementById('sa-consent').checked){out.className='status err';out.textContent='Bifează consimțământul.';return;} out.className='status'; out.textContent='Pornesc…'; try{ const r=await fetch(API+'/api/v4/skillarena/start',{ method:'POST',headers:{'Content-Type':'application/json'}, body:JSON.stringify({email:email,cui:document.getElementById('cui').value.trim(),scenario_id:document.getElementById('sa-scenario').value,consent:'1'}) }); const d=await r.json(); if(!r.ok){out.className='status err';out.textContent=d.error||'Eroare';return;} sessionId=d.session_id; const box=document.getElementById('sa-setup'); box.style.display='block'; box.innerHTML=''+(d.scenario&&d.scenario.title||'')+'
'+(d.scenario&&d.scenario.setup||''); document.getElementById('form-turn').style.display='block'; out.className='status ok'; out.textContent='Sesiune activă · 1 credit consumat.'; }catch(err){out.className='status err';out.textContent='Rețea.';} }); document.getElementById('form-turn').addEventListener('submit',async function(e){ e.preventDefault(); const out=document.getElementById('sa-out'); out.textContent='Evaluez…'; try{ const r=await fetch(API+'/api/v4/skillarena/turn',{ method:'POST',headers:{'Content-Type':'application/json'}, body:JSON.stringify({session_id:sessionId,text:document.getElementById('reply').value}) }); const d=await r.json(); if(!r.ok){out.className='status err';out.textContent=d.error||'Eroare';return;} const sc=d.turn&&d.turn.scores||{}; const m=d.turn&&d.turn.modele||{}; const res=document.getElementById('sa-result'); res.style.display='block'; res.innerHTML='
Claritate: '+(sc.claritate||0)+'
Fermitate: '+(sc.fermitate||0)+'
Presiune: '+(sc.presiune||0)+'
Închidere: '+(sc.inchidere||0)+'
'+ '

Overall '+(sc.overall||0)+' · Badge: '+((d.badge&&d.badge.badges)||[]).join(', ')+' ('+(d.badge&&d.badge.sessions_done||0)+' sesiuni)

'+ '

Ferm: '+(m.ferm||'')+'

Diplomatic: '+(m.diplomatic||'')+'

Presiune inversă: '+(m.presiune_inversa||'')+'

'; out.className='status ok'; out.textContent='Sesiune închisă. Tu trimiți mesajul.'; }catch(err){out.className='status err';out.textContent='Rețea.';} }); document.getElementById('form-guardian').addEventListener('submit',async function(e){ e.preventDefault(); const st=document.getElementById('g-status'); const box=document.getElementById('g-out'); const btn=document.getElementById('g-btn'); if(!document.getElementById('g-consent').checked){st.className='status err';st.textContent='Bifează consimțământul.';return;} const text=document.getElementById('g-msg').value.trim(); if(!text){st.className='status err';st.textContent='Lipește mesajul.';return;} btn.disabled=true; st.className='status'; st.textContent='Analizez…'; box.hidden=true; try{ const email=document.getElementById('g-email').value.trim()||document.getElementById('email').value.trim(); const cui=document.getElementById('g-cui').value.trim()||document.getElementById('cui').value.trim(); const r=await fetch(API+'/api/v4/guardian/assist',{ method:'POST',headers:{'Content-Type':'application/json'}, body:JSON.stringify({email:email,cui:cui,text:text,consent:'1'}) }); const d=await r.json().catch(function(){return {};}); if(!r.ok){st.className='status err';st.textContent=d.error||('HTTP '+r.status);btn.disabled=false;return;} const vars=d.variante||{}; function toneBlock(label, txt, id){ if(!txt) return ''; return '

'+label+':

'+ '

'; } let html='

Presiune '+((d.presiune&&d.presiune.score)!=null?d.presiune.score:'—')+' ('+((d.presiune&&d.presiune.nivel)||'—')+') · optim: '+(d.raspuns_optim||'—')+'

'; if(d.draft) html+=toneBlock('Draft', d.draft, 'g-draft'); html+=toneBlock('Ferm', vars.ferm, 'g-ferm'); html+=toneBlock('Diplomatic', vars.diplomatic, 'g-dip'); html+=toneBlock('Presiune inversă', vars.presiune_inversa, 'g-pres'); if((d.riscuri||[]).length) html+='

Riscuri detectate

    '+(d.riscuri||[]).map(function(x){return '
  • '+esc(x)+'
  • ';}).join('')+'
'; if(d.mll) html+=renderMll(d.mll, null, {email:email,cui:cui}); if(d.nota) html+='

'+esc(d.nota)+'

'; box.hidden=false; box.innerHTML=html; st.className='status ok'; st.textContent='Gata. Copiază varianta — tu trimiți.'; }catch(err){st.className='status err';st.textContent='Rețea.';} btn.disabled=false; }); const p=new URLSearchParams(location.search); if(p.get('email')){ document.getElementById('email').value=p.get('email'); document.getElementById('g-email').value=p.get('email'); } if(p.get('cui')){ document.getElementById('cui').value=p.get('cui'); document.getElementById('g-cui').value=p.get('cui'); } if(p.get('session_id')){ fetch(API+'/verifica-sesiune-plata?session_id='+encodeURIComponent(p.get('session_id'))).then(function(r){return r.json();}).then(function(d){ if(d.email){ document.getElementById('email').value=d.email; document.getElementById('g-email').value=d.email; } setStatus(!!d.ok, d.ok?'Plată confirmată. Alege PDF, Guardian sau laborator.':(d.error||'Sesiune neconfirmată.')); }).catch(function(){}); } })();
Scroll to Top